!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/build/",r(r.s=102)}([function(e,t,r){"use strict";function n(){function e(e,t){return new Promise(function(r,n){e.remove(t,function(){chrome.runtime.lastError?n(new Error(chrome.runtime.lastError.message)):r()})})}function t(e,t){return new Promise(function(r,n){e.set(t,function(){chrome.runtime.lastError?n(chrome.runtime.lastError.message):r()})})}function r(e,t){return new Promise(function(r,n){e.get(t,function(e){chrome.runtime.lastError?n(chrome.runtime.lastError.message):r(e)})})}return{permissions:{contains:function(e){return new Promise(function(t,r){chrome.permissions.contains(e,function(e){e?t():chrome.runtime.lastError?r(new Error(chrome.runtime.lastError.message)):r(new Error("Requested permission not present"))})})},request:function(e){return new Promise(function(t,r){chrome.permissions.request(e,function(e){e?t():chrome.runtime.lastError?(console.error(chrome.runtime.lastError),r(new Error(chrome.runtime.lastError.message))):(console.error("Permissions request failed for an unknown reason"),r(new Error("Failed to grant permission")))})})},remove:function(e){return new Promise(function(t,r){chrome.permissions.remove(e,function(e){e?t():chrome.runtime.lastError?r(new Error(chrome.runtime.lastError.message)):r(new Error("Failed to remove permission"))})})},getAll:function(){return new Promise(function(e,t){chrome.permissions.getAll(function(r){chrome.runtime.lastError?t(new Error(chrome.runtime.lastError.message)):e(r)})})}},identity:{launchWebAuthFlow:function(e){return new Promise(function(t,r){chrome.identity.launchWebAuthFlow(e,function(e){chrome.runtime.lastError?r(new Error(chrome.runtime.lastError.message)):e?t(e):r(new Error("Unknown error in oauth2 web flow"))})})},getAuthToken:function(e){return new Promise(function(t,r){chrome.identity.getAuthToken(e,function(e){chrome.runtime.lastError?r(new Error(chrome.runtime.lastError.message)):e?t(e):r(new Error("Failed to retrieve Google login token"))})})},removeCachedAuthToken:function(e){return new Promise(function(t,r){chrome.identity.removeCachedAuthToken(e,function(){chrome.runtime.lastError?r(new Error(chrome.runtime.lastError.message)):t()})})}},storage:{sync:{set:function(e){return t(chrome.storage.sync,e)},get:function(e){return r(chrome.storage.sync,e)},remove:function(t){return e(chrome.storage.sync,t)}},local:{set:function(e){return t(chrome.storage.local,e)},get:function(e){return r(chrome.storage.local,e)},remove:function(t){return e(chrome.storage.local,t)}}},runtime:{getManifest:function(){return new Promise(function(e,t){var r=chrome.runtime.getManifest();void 0!==r?e(r):t("Uknown error while fetching manifest")})}}}}r.d(t,"a",function(){return n})},function(e,t){e.exports=function(e,t,r,n){var o,a=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(o=e,a=e.default);var s="function"==typeof a?a.options:a;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),r&&(s._scopeId=r),n){var c=Object.create(s.computed||null);Object.keys(n).forEach(function(e){var t=n[e];c[e]=function(){return t}}),s.computed=c}return{esModule:o,exports:a,options:s}}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var o=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(n),a=n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"});return[r].concat(a).concat([o]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},o=0;or.parts.length&&(n.parts.length=r.parts.length)}else{var i=[];for(o=0;o1}):[]},a=function(e){if(!e)return null;e&&0==!e.indexOf("http")&&(e="http://"+e);var t=document.createElement("a");return t.href=e,t},i=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},s=function(e){return e.offsetWidth>0&&e.offsetHeight>0&&parseFloat(window.getComputedStyle(e).getPropertyValue("opacity"))>.1},c=function(){return"browser"in window}},function(e,t,r){e.exports=r(5)(145)},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(0),o=r(4),a=Object(n.a)();function i(e,t){var r=t.accessTokenType,n={loggedIn:!1};function i(){return c().then(function(t){if(t)return e.getSetAccessToken(r).then(function(e){return e?(n.loggedIn=!0,e):l(!1)})})}function s(){return l(!0)}function c(){return a.permissions.contains({origins:t.origins}).then(function(){return!0}).catch(function(){return a.permissions.request({origins:t.origins}).then(function(){return!0}).catch(function(e){return!1})})}function l(e){e=!!e,console.info("Authenticating for ",t.accessTokenType,e);var r=function(e){return new Promise(function(r,n){a.runtime.getManifest().then(function(i){var s=o.encode(window.crypto.getRandomValues(new Uint8Array(16))),c=t.authUrl+"&client_id="+i.static_data[t.accessTokenType].client_id+"&state="+encodeURIComponent(s)+"&redirect_uri="+encodeURIComponent(chrome.identity.getRedirectURL(t.accessTokenType));console.info("Sending request for AUTH to",t.authUrl),a.identity.launchWebAuthFlow({url:c,interactive:e}).then(function(e){t.handleAuthRedirectURI(e,s,r,n)}).catch(function(e){console.error("Error from webauthflow for",t.accessTokenType,e),n(e)})})})};return r=void 0!==t.auth?t.auth:r,c().then(function(o){return r(e).then(function(e){return e&&(console.info("Successfully logged into",t.accessTokenType),n.loggedIn=!0),e})})}return{key:r,listDatabases:function(){return e.getSetAccessToken(r).then(function(e){return e?function e(r){return i().then(t.searchRequestFunction).then(t.searchRequestHandler).catch(function(t){var n=t.response.status;if((r=r||0)>0)throw new Error(t);if(n>=400&&n<=599){console.error("listDatabases failed with status code",n);var o=new Promise(function(e,t){var r=setTimeout(function(){clearTimeout(r),console.info("First attempt to listDatabases failed, waiting...."),e(!1)},400)});return o.then(l).then(function(t){return e(1)})}if(!n)throw new Error("Network Connection Error")})}():[]})},getDatabaseChoiceData:t.getDatabaseChoiceData,getChosenDatabaseFile:function e(r,n){return i().then(function(n){return t.fileRequestFunction(r,n).then(function(e){return e.data}).catch(function(n){return console.error("Get chosen file failure:",n),void 0===n.response?Promise.reject({message:"No network connection"}):401==n.response.status?(console.error("Stale token sent for "+t.accessTokenType+": trying passive Oauth Refresh."),l(!1).then(function(){return e(r)})):void 0})})},supportedFeatures:["ingognito","listDatabases"],title:t.title,icon:t.icon,permissions:t.permissions,chooseTitle:t.chooseTitle,chooseDescription:t.chooseDescription,interactiveLogin:s,ensureOriginPermissions:c,state:n,login:s,isLoggedIn:function(){return new Promise(function(e,t){e(n.loggedIn)})},logout:function(){return t.revokeAuth().then(function(){return e.getSetAccessToken(r,null).then(function(){n.loggedIn=!1})})}}}},function(e,t,r){"use strict";function n(){function e(e){var t=window.location.origin;chrome.tabs.create({url:t+e})}return{openOptions:function(){chrome.runtime.openOptionsPage()},openWebstore:function(){chrome.tabs.create({url:"https://chrome.google.com/webstore/detail/ckpx-chrome-keepass-exten/fmhmiaejopepamlcjkncpgpdjichnecm"})},openHomepage:function(){chrome.tabs.create({url:"https://subdavis.com/Tusk"})},openOptionsReauth:function(t){e("/options.html#/reauthorize/"+t)},openOptionsKeyfiles:function(){e("/options.html#/manage/keyfiles")},openOptionsDatabases:function(){e("/options.html#/manage/databases")},open:function(e){chrome.tabs.create({url:e})}}}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";r.d(t,"a",function(){return l});var n=r(0),o=r(9),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(4),s=Object(n.a)(),c=new o.a;function l(e){var t={upgrade:function(){t.getSetDatabaseUsages().then(function(e){Object.keys(e).forEach(function(t){void 0!==e[t].passwordKey&&chrome.storage.local.clear()})})},handleProviderError:function(e,r){t.getCurrentDatabaseChoice().then(function(t){var n=void 0===r?t.providerKey:r.key;(e.message||"").indexOf("interact")>=0&&c.openOptionsReauth(n)})},getKeyFiles:function(){return s.storage.local.get(["keyFiles"]).then(function(e){return e.keyFiles||[]})},deleteKeyFile:function(e){return t.getKeyFiles().then(function(t){return t.forEach(function(r,n){r.name===e&&t.splice(n,1)}),s.storage.local.set({keyFiles:t})})},deleteAllKeyFiles:function(){return s.storage.local.remove("keyFiles")},destroyLocalStorage:function(e){if(e.length)return s.storage.local.remove(e)},addKeyFile:function(e,r){return t.getKeyFiles().then(function(t){var n=t.filter(function(t){return t.name===e}),o=i.encode(r);return n.length?n[0].encodedKey=o:t.push({name:e,encodedKey:o}),s.storage.local.set({keyFiles:t})})},saveCurrentDatabaseChoice:function(e,t){var r=function(e){var t={};return t.prototype=e.prototype,Object.keys(e).forEach(function(r){t[r]=e[r]}),t}(e);return r.data=void 0,s.storage.local.set({selectedDatabase:{passwordFile:r,providerKey:t.key}})},getCurrentDatabaseChoice:function(){return s.storage.local.get(["selectedDatabase"]).then(function(e){return e.selectedDatabase?e.selectedDatabase:null})},disableDatabaseProvider:function(e){return s.storage.local.get(["selectedDatabase"]).then(function(t){return t.selectedDatabase&&t.selectedDatabase.providerKey===e.key?s.storage.local.remove("selectedDatabase"):Promise.resolve(!1)})},getCurrentMasterPasswordCacheKey:function(){return t.getCurrentDatabaseChoice().then(function(e){return null!==e?e.passwordFile.title+"__"+e.providerKey+".password":null})},cacheMasterPassword:function(r,n){return t.getCurrentMasterPasswordCacheKey().then(function(o){return e.save(o,r).then(function(e){var r=n.forgetTime;return t.setForgetTime(o,r)})})},setForgetTime:function(e,t){return s.storage.local.get("forgetTimes").then(function(r){var n={};return r.forgetTimes&&(n=r.forgetTimes),e in n||(n[e]=t),s.storage.local.set({forgetTimes:n})})},getForgetTime:function(e){return s.storage.local.get("forgetTimes").then(function(t){var r={};return t.forgetTimes&&(r=t.forgetTimes),r[e]})},getAllForgetTimes:function(){return s.storage.local.get("forgetTimes").then(function(e){var t={};return e.forgetTimes&&(t=e.forgetTimes),t})},clearForgetTimes:function(e){return s.storage.local.get("forgetTimes").then(function(t){var r={};return t.forgetTimes&&(r=t.forgetTimes),e.forEach(function(e){r[e]&&delete r[e]}),s.storage.local.set({forgetTimes:r})})},saveCurrentDatabaseUsage:function(e){return t.getCurrentDatabaseChoice().then(function(r){return t.getSetDatabaseUsages().then(function(n){return n[r.passwordFile.title+"__"+r.providerKey]=e,t.getSetDatabaseUsages(n)})})},getCurrentDatabaseUsage:function(){return t.getCurrentDatabaseChoice().then(function(r){return t.getSetDatabaseUsages().then(function(t){var n=r.passwordFile.title+"__"+r.providerKey,o=t[n]||{};return e.get(n+".password").then(function(e){return o.passwordKey=e,o})})})},getSharedUrlList:function(){return s.storage.local.get("sharedUrlList").then(function(e){return e||!1})}},r=function(e,t,r,n){var o={};return o[e]=t,void 0===t||(void 0===t?"undefined":a(t))!==n&&null!==t?s.storage.local.get(e).then(function(t){return void 0!==t[e]&&a(t[e])===n?t[e]:r}):s.storage.local.set(o).then(function(){return t})};return t.getSetClipboardExpireInterval=function(e){return r("expireInterval",e,2,"number")},t.getSetAccessToken=function(e,t){return r(e+"AccessToken",t,null,"string")},t.getSetDatabaseUsages=function(e){return r("databaseUsages",e,{},"object")},t.getSetDefaultRememberPeriod=function(e){return r("rememberPeriod",e,0,"number")},t.getSetWebdavServerList=function(e){return r("webdavServerList",e,[],"object")},t.getSetWebdavDirectoryMap=function(e){return r("webdavDirectoryMap",e,{},"object")},t.getSetHotkeyNavEnabled=function(e){return r("hotkeyNavEnabled",e,!1,"boolean")},t.getSetStrictModeEnabled=function(e){return r("strictMatchModeEnabled",e,!1,"boolean")},t.getSetNotificationsEnabled=function(e){return r("notificationsEnabled",e,["clipboard","expiration"],"object")},t.getSetOriginPermissionEnabled=function(e){return r("originPermissionsEnabled",e,!1,"boolean")},t}},function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=r(4);function a(){var e={getData:function(e){var n=t[e];return void 0===n||"string"!=typeof n?Promise.resolve(void 0):a.then(function(e){var t=o.decode(n);return window.crypto.subtle.decrypt(r,e,t)}).then(function(e){var t=(new TextDecoder).decode(new Uint8Array(e));return d(JSON.parse(t))})},setData:function(e,n){var i=l(n),s=(new TextEncoder).encode(JSON.stringify(i));return a.then(function(e){return window.crypto.subtle.encrypt(r,e,s)}).then(function(r){var n=o.encode(r);return t[e]=n,Promise.resolve()})},clearData:function(e){void 0!==e?delete t[e]:(t={},a=i());return a},serialize:function(e){var t=l(e),r=(new TextEncoder).encode(JSON.stringify(t));return o.encode(r)},deserialize:s,hydrate:s},t={},r={name:"AES-CBC",iv:window.crypto.getRandomValues(new Uint8Array(16))},a=i();function i(){return window.crypto.subtle.generateKey({name:"AES-CBC",length:256},!1,["encrypt","decrypt"])}function s(e){if(void 0!==e&&"string"==typeof e&&""!==e){var t=o.decode(e),r=(new TextDecoder).decode(new Uint8Array(t));return d(JSON.parse(r))}}var c="Ựៅ";function l(e){if(null===e||void 0===e||"object"!==(void 0===e?"undefined":n(e)))return e;if(e.constructor==ArrayBuffer||e.constructor==Uint8Array)return c+o.encode(e);if(e.constructor==Array){for(var t=new Array(e.length),r=0;r=1?e.routeStack[e.routeStack.length-1]:null},this.isActive=function(t){return e.routeStack.length>=1&&e.routeStack[e.routeStack.length-1]._path===t},this.parse=function(t){for(var r=e.routes,n=t.split("/"),o=0;o0){var r=chrome.runtime.connect({name:"tab"+e[0].id});t(r)}}),o.then(function(t){t.onMessage.addListener(function(t){var r=e.hydrate(t);n.shift()(r)}),t.onDisconnect.addListener(function(e){})}),r.get=function(e){return o.then(function(t){t.postMessage({action:"get",key:e})}),new Promise(function(e){n.push(e)})},r.clear=function(e){return o.then(function(t){t.postMessage({action:"clear",key:e})})},r.save=function(t,r){return o.then(function(n){var o=e.serialize(r);n.postMessage({action:"save",key:t,value:o})})},r.forgetStuff=function(){return o.then(function(e){e.postMessage({action:"forgetStuff"})})},r}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";function n(){for(var e={listFileManagers:function(e){return e?t.filter(function(t){return t.supportedFeatures.indexOf(e)>-1}):t},getChosenDatabaseFile:function(e){return e.getCurrentDatabaseChoice().then(function(e){var r=t.filter(function(t){return t.key==e.providerKey});if(1!==r.length)throw new Error("Unable to find file manager for key "+e.providerKey);return r[0].getChosenDatabaseFile(e.passwordFile)})}},t=[],r=0;r=t})})}return e}},function(e,t,r){"use strict";r.d(t,"a",function(){return s});var n=r(0),o=r(6),a=r(8),i=(r(4),r(7));Object(n.a)();function s(e){var t="gdrive",r={key:t,accessTokenType:t,supportedFeatures:["listDatabases"],authUrl:"https://accounts.google.com/o/oauth2/v2/auth?response_type=token&scope="+encodeURIComponent("https://www.googleapis.com/auth/drive.readonly"),origins:["https://www.googleapis.com/*","https://accounts.google.com/*","https://*.googleusercontent.com/*"],title:"Google Drive",icon:"icon-google",chooseTitle:"Google Drive",chooseDescription:"Access password files stored on Google Drive. Files will be fetched from Google Drive each time they are used."};r.searchRequestFunction=function(e){var t={method:"GET",url:"https://www.googleapis.com/drive/v2/files?q="+Object(o.f)("fileExtension = 'kdbx' and trashed=false"),headers:{Authorization:"Bearer "+e}};return i(t)},r.searchRequestHandler=function(e){return e.data.items.map(function(e){return{title:e.title,url:e.selfLink}})},r.getDatabaseChoiceData=function(e){return{title:e.title,url:e.url}},r.fileRequestFunction=function(e,t){return function r(n){var o={method:"GET",url:e.url,headers:{Authorization:"Bearer "+t}};return i(o).then(function(e){var o={method:"GET",url:e.data.downloadUrl,responseType:"arraybuffer",headers:{Authorization:"Bearer "+t}};return i(o).then(function(e){return e}).catch(function(e){return 0==(n=n||0)?r(1):Promise.reject(e)})})}(0)},r.revokeAuth=function(){return e.getSetAccessToken(t).then(function(e){return e?i({url:"https://accounts.google.com/o/oauth2/revoke?token="+e,responseType:"jsonp"}).catch(function(e){return console.error(e),Promise.resolve()}):Promise.resolve()})},r.handleAuthRedirectURI=function(r,n,o,a){var i=/access_token=([^&]+)/.exec(r),s=/state=([^&]+)/.exec(r);if(i&&s){var c=i[1];decodeURIComponent(s[1])===n?e.getSetAccessToken(t,c).then(function(){o(c)}):(a(r),console.error("Auth error with state",r))}else a(r),console.error("Auth Error",r)};try{void 0!==chrome.identity.getAuthToken1&&(r.auth=function(r){return r=!!r,new Promise(function(n,o){chrome.identity.getAuthToken({interactive:r},function(r){if(r)e.getSetAccessToken(t,r).then(function(){n(r)});else{var a=chrome.runtime.lastError;a||(a=new Error("Failed to authenticate.")),"OAuth2 not granted or revoked."==a.message?o(new Error("You must Authorize google drive access to continue.")):o(a)}})})})}catch(e){console.info("Firefox mobile detected.")}return Object(a.a)(e,r)}},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(0),o=r(8),a=(r(4),r(7));Object(n.a)();function i(e){var t={loggedIn:!1},r={accessTokenType:"dropbox",origins:["https://*.dropbox.com/"],authUrl:"https://www.dropbox.com/oauth2/authorize?response_type=token&force_reapprove=false",supportedFeatures:["incognito","listDatabases"],title:"Dropbox",icon:"icon-dropbox",chooseTitle:"Dropbox",chooseDescription:"Access password files stored on Dropbox. Files will be retrieved from Dropbox each time they are used.",searchRequestFunction:function(e){return a({method:"post",url:"https://api.dropbox.com/2/files/search",data:{path:"",query:"kdbx",start:0,max_results:100,mode:"filename"},headers:{Authorization:"Bearer "+e}})},searchRequestHandler:function(e){return e.data.matches.map(function(e){return{title:e.metadata.path_display}})},getDatabaseChoiceData:function(e){return{title:e.title}},fileRequestFunction:function(e,t){var r={path:e.title};return a({method:"post",url:"https://api-content.dropbox.com/2/files/download",responseType:"arraybuffer",headers:{Authorization:"Bearer "+t,"Dropbox-API-Arg":function(e){return JSON.stringify(e).replace(/[\u007f-\uffff]/g,function(e){return"\\u"+("000"+e.charCodeAt(0).toString(16)).slice(-4)})}(r)}})},revokeAuth:function(){return Promise.resolve()},handleAuthRedirectURI:function(r,n,o,a){var i=/access_token=([^&]+)/.exec(r),s=/state=([^&]+)/.exec(r),c=/uid=(\d+)/.exec(r);if(i&&s&&c){var l=i[1],d=decodeURIComponent(decodeURIComponent(s[1]));c[1];d===n?(t.loggedIn=!0,e.getSetAccessToken("dropbox",l).then(function(){o(l)})):(a(),console.error(r," - state was found invalid"))}else a(),console.error(r," - something was found invalid")}};return Object(o.a)(e,r)}},function(e,t,r){"use strict";r.d(t,"a",function(){return s});var n=r(0),o=r(8),a=r(7),i=Object(n.a)();function s(e){var t={key:"onedrive",accessTokenType:"onedrive",authUrl:"https://login.live.com/oauth20_authorize.srf?response_type=token&scope="+encodeURIComponent("onedrive.readonly"),supportedFeatures:["listDatabases"],origins:["https://login.live.com/"],title:"OneDrive",icon:"icon-onedrive",chooseTitle:"OneDrive",chooseDescription:"Access password files stored on OneDrive. Files will be retrieved from OneDrive each time they are used.",searchRequestFunction:function(e){var t=encodeURIComponent("file ne null");return a({method:"GET",url:"https://api.onedrive.com/v1.0/drive/root/view.search?q=kdbx&filter="+t,headers:{Authorization:"Bearer "+e}})},searchRequestHandler:function(e){return e?e.data.value?e.data.value.filter(function(e){return e.name&&/\.kdbx?$/.exec(e.name)}).map(function(e){var t="";if(e.parentReference){t=e.parentReference.path;var r=/:(.+)$/.exec(t);r&&(t=r[1]),/\/$/.exec(t)||(t+="/")}return{url:e["@content.downloadUrl"],title:t+e.name}}):Promise.reject("Unexpected response from OneDrive API"):Promise.reject("Unable to get a response from OneDrive")},getDatabaseChoiceData:function(e){return{url:e.url,title:e.title}},fileRequestFunction:function(e,t){return a({method:"GET",url:e.url,responseType:"arraybuffer",headers:{Authorization:"Bearer "+t}})},revokeAuth:function(){return i.runtime.getManifest().then(function(e){var t="https://login.live.com/oauth20_logout.srf?client_id="+e.static_data.onedrive.client_id;return a.get(t)})},handleAuthRedirectURI:function(t,r,n,o){var a=function(e){var t=/#(.+)$/.exec(e);return t?(t=t[1],JSON.parse('{"'+t.replace(/&/g,'","').replace(/=/g,'":"')+'"}',function(e,t){return""===e?t:decodeURIComponent(t)})):null}(t);null===a?o("Failed to extract authentication information from redirect url"):(e.getSetAccessToken("onedrive",a.access_token),n())}};return Object(o.a)(e,t)}},function(e,t,r){"use strict";r.d(t,"a",function(){return s});var n=r(25),o=r.n(n),a=r(0),i=r(8);r(4),Object(a.a)();function s(e){var t={key:"pcloud",accessTokenType:"pcloud",origins:["https://*.pcloud.com/"],authUrl:"https://my.pcloud.com/oauth2/authorize?response_type=token&force_reapprove=true",supportedFeatures:["incognito","listDatabases"],title:"pCloud",icon:"icon-pcloud",chooseTitle:"pCloud",chooseDescription:"Access password files stored on pCloud. Files will be retrieved from pCould each time they are used.",searchRequestFunction:function(e){return o()({method:"GET",url:"https://api.pcloud.com/listfolder",params:{folderid:0,recursive:1,showdeleted:0,nofiles:0,noshares:1,filtermeta:"isfolder,name,id,folderid,fileid,path"},headers:{Authorization:"Bearer "+e}})},searchRequestHandler:function(e){return function e(t,r,n){return r.forEach(function(r){r.isfolder?e(t,r.contents,n+r.name+"/"):(r.path=n+r.name,t.push(r))}),t}([],e.data.metadata.contents,"/").filter(function(e){return e.name&&/\.kdbx?$/.exec(e.name)}).map(function(e){return{title:e.path,id:e.fileid}})},getDatabaseChoiceData:function(e){return{title:e.title,id:e.id}},fileRequestFunction:function(e,t){return o()({method:"GET",url:"https://api.pcloud.com/getfilelink",params:{path:e.title},headers:{Authorization:"Bearer "+t}}).then(function(e){var t="https://"+e.data.hosts[0]+e.data.path;return o()({method:"GET",url:t,responseType:"arraybuffer"})})},revokeAuth:function(){return Promise.resolve()},handleAuthRedirectURI:function(t,r,n,o){var a=function(e){var t=/#(.+)$/.exec(e);return t?(t=t[1],JSON.parse('{"'+t.replace(/&/g,'","').replace(/=/g,'":"')+'"}',function(e,t){return""===e?t:decodeURIComponent(t)})):null}(t);null===a?o("Failed to extract authentication information from redirect url"):e.getSetAccessToken("pcloud",a.access_token).then(function(){n(a.access_token)})}};return Object(i.a)(e,t)}},function(e,t,r){(function(t){!function(t,r){e.exports=r()}(0,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){e.exports=r(1)},function(e,t,r){"use strict";function n(e){var t=new i(e),r=a(i.prototype.request,t);return o.extend(r,i.prototype,t),o.extend(r,t),r}var o=r(2),a=r(3),i=r(5),s=r(6),c=n(s);c.Axios=i,c.create=function(e){return n(o.merge(s,e))},c.Cancel=r(23),c.CancelToken=r(24),c.isCancel=r(20),c.all=function(e){return Promise.all(e)},c.spread=r(25),e.exports=c,e.exports.default=c},function(e,t,r){"use strict";function n(e){return"[object Array]"===l.call(e)}function o(e){return null!==e&&"object"==typeof e}function a(e){return"[object Function]"===l.call(e)}function i(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),n(e))for(var r=0,o=e.length;r * @license MIT */ e.exports=function(e){return null!=e&&(r(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,r){"use strict";function n(e){this.defaults=e,this.interceptors={request:new i,response:new i}}var o=r(6),a=r(2),i=r(17),s=r(18);n.prototype.request=function(e){"string"==typeof e&&(e=a.merge({url:arguments[0]},arguments[1])),(e=a.merge(o,this.defaults,{method:"get"},e)).method=e.method.toLowerCase();var t=[s,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)r=r.then(t.shift(),t.shift());return r},a.forEach(["delete","get","head","options"],function(e){n.prototype[e]=function(t,r){return this.request(a.merge(r||{},{method:e,url:t}))}}),a.forEach(["post","put","patch"],function(e){n.prototype[e]=function(t,r,n){return this.request(a.merge(n||{},{method:e,url:t,data:r}))}}),e.exports=n},function(e,r,n){"use strict";function o(e,t){!a.isUndefined(e)&&a.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a=n(2),i=n(7),s={"Content-Type":"application/x-www-form-urlencoded"},c={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=n(8):void 0!==t&&(e=n(8)),e}(),transformRequest:[function(e,t){return i(t,"Content-Type"),a.isFormData(e)||a.isArrayBuffer(e)||a.isBuffer(e)||a.isStream(e)||a.isFile(e)||a.isBlob(e)?e:a.isArrayBufferView(e)?e.buffer:a.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):a.isObject(e)?(o(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};a.forEach(["delete","get","head"],function(e){c.headers[e]={}}),a.forEach(["post","put","patch"],function(e){c.headers[e]=a.merge(s)}),e.exports=c},function(e,t,r){"use strict";var n=r(2);e.exports=function(e,t){n.forEach(e,function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])})}},function(e,t,r){"use strict";var n=r(2),o=r(9),a=r(12),i=r(13),s=r(14),c=r(10),l="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||r(15);e.exports=function(e){return new Promise(function(t,d){var u=e.data,p=e.headers;n.isFormData(u)&&delete p["Content-Type"];var f=new XMLHttpRequest,h="onreadystatechange",g=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in f||s(e.url)||(f=new window.XDomainRequest,h="onload",g=!0,f.onprogress=function(){},f.ontimeout=function(){}),e.auth){var b=e.auth.username||"",m=e.auth.password||"";p.Authorization="Basic "+l(b+":"+m)}if(f.open(e.method.toUpperCase(),a(e.url,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f[h]=function(){if(f&&(4===f.readyState||g)&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in f?i(f.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:1223===f.status?204:f.status,statusText:1223===f.status?"No Content":f.statusText,headers:r,config:e,request:f};o(t,d,n),f=null}},f.onerror=function(){d(c("Network Error",e,null,f)),f=null},f.ontimeout=function(){d(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var v=r(16),x=(e.withCredentials||s(e.url))&&e.xsrfCookieName?v.read(e.xsrfCookieName):void 0;x&&(p[e.xsrfHeaderName]=x)}if("setRequestHeader"in f&&n.forEach(p,function(e,t){void 0===u&&"content-type"===t.toLowerCase()?delete p[t]:f.setRequestHeader(t,e)}),e.withCredentials&&(f.withCredentials=!0),e.responseType)try{f.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),d(e),f=null)}),void 0===u&&(u=null),f.send(u)})}},function(e,t,r){"use strict";var n=r(10);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";var n=r(11);e.exports=function(e,t,r,o,a){var i=new Error(e);return n(i,t,r,o,a)}},function(e,t){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e}},function(e,t,r){"use strict";function n(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=r(2);e.exports=function(e,t,r){if(!t)return e;var a;if(r)a=r(t);else if(o.isURLSearchParams(t))a=t.toString();else{var i=[];o.forEach(t,function(e,t){null!==e&&void 0!==e&&(o.isArray(e)&&(t+="[]"),o.isArray(e)||(e=[e]),o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),i.push(n(t)+"="+n(e))}))}),a=i.join("&")}return a&&(e+=(-1===e.indexOf("?")?"?":"&")+a),e}},function(e,t,r){"use strict";var n=r(2),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,a,i={};return e?(n.forEach(e.split("\n"),function(e){if(a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),r=n.trim(e.substr(a+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([r]):i[t]?i[t]+", "+r:r}}),i):i}},function(e,t,r){"use strict";var n=r(2);e.exports=n.isStandardBrowserEnv()?function(){function e(e){var t=e;return r&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var t,r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return t=e(window.location.href),function(r){var o=n.isString(r)?e(r):r;return o.protocol===t.protocol&&o.host===t.host}}():function(){return!0}},function(e,t){"use strict";function r(){this.message="String contains an invalid character"}var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,o,a=String(e),i="",s=0,c=n;a.charAt(0|s)||(c="=",s%1);i+=c.charAt(63&t>>8-s%1*8)){if((o=a.charCodeAt(s+=.75))>255)throw new r;t=t<<8|o}return i}},function(e,t,r){"use strict";var n=r(2);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,a,i){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";function n(){this.handlers=[]}var o=r(2);n.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},n.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},n.prototype.forEach=function(e){o.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=n},function(e,t,r){"use strict";function n(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var o=r(2),a=r(19),i=r(20),s=r(6),c=r(21),l=r(22);e.exports=function(e){return n(e),e.baseURL&&!c(e.url)&&(e.url=l(e.baseURL,e.url)),e.headers=e.headers||{},e.data=a(e.data,e.headers,e.transformRequest),e.headers=o.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return n(e),t.data=a(t.data,t.headers,e.transformResponse),t},function(t){return i(t)||(n(e),t&&t.response&&(t.response.data=a(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,r){"use strict";var n=r(2);e.exports=function(e,t,r){return n.forEach(r,function(r){e=r(e,t)}),e}},function(e,t){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,r){"use strict";function n(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var r=this;e(function(e){r.reason||(r.reason=new o(e),t(r.reason))})}var o=r(23);n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var e;return{token:new n(function(t){e=t}),cancel:e}},e.exports=n},function(e,t){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}}])})}).call(t,r(26))},function(e,t,r){e.exports=r(5)(8)},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(0),o=r(7),a=Object(n.a)();function i(){function e(){return a.storage.local.get("sharedUrlsEnabled").then(function(e){return e.sharedUrlsEnabled||!1})}function t(){return a.storage.local.get("sharedUrlList").then(function(e){return!!e.hasOwnProperty("sharedUrlList")&&e.sharedUrlList})}return{key:"shared-url",listDatabases:function(){return e().then(function(e){return e?t().then(function(e){return e||[]}):Promise.resolve([])})},getDatabaseChoiceData:function(e){return{direct_link:e.direct_link,title:e.title}},getChosenDatabaseFile:function(e,t){return o({method:"GET",url:e.direct_link,responseType:"arraybuffer",cache:!0}).then(function(e){return e.data})},supportedFeatures:["incognito","listDatabases"],title:"Shared Link",icon:"icon-link",chooseTitle:"Shared Link",chooseDescription:"Rather than granting full access to your cloud storage provider, get a shared link and paste it in. Any direct HTTP link will do, and Dropbox and OwnCloud are supported.",setUrls:function(e){return e?a.storage.local.set({sharedUrlList:e}):a.storage.local.remove("sharedUrlList")},getUrls:t,login:function(){return a.storage.local.set({sharedUrlsEnabled:!0})},logout:function(){return a.storage.local.set({sharedUrlsEnabled:!1})},isLoggedIn:e}}},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(0),o=r(7),a=Object(n.a)();function i(){function e(e){return e?a.storage.local.set({useSampleDatabase:!0}):a.storage.local.remove("useSampleDatabase")}function t(){return a.storage.local.get("useSampleDatabase").then(function(e){return!!e.useSampleDatabase})}return{key:"sample",listDatabases:function(){return t().then(function(e){return e?[{title:"Sample.kdbx - password is 123"}]:[]})},getDatabaseChoiceData:function(e){return{title:e.title}},getChosenDatabaseFile:function(e){return o({method:"GET",url:chrome.extension.getURL("/assets/other/Sample123.kdbx"),responseType:"arraybuffer"}).then(function(e){return e.data})},supportedFeatures:["incognito","listDatabases"],title:"Sample",permissions:[],icon:"icon-flask",chooseTitle:"Sample Database",chooseDescription:"Sample database that you can use to try out the functionality. The master password is 123.",getActive:t,setActive:e,login:function(){return e(!0)},logout:function(){return e(!1)},isLoggedIn:t}}},function(e,t,r){"use strict";r.d(t,"a",function(){return u});var n=r(6),o=r(0),a=r(32);r.n(a);function i(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){return function n(o,a){try{var i=t[o](a),s=i.value}catch(e){return void r(e)}if(!i.done)return Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)});e(s)}("next")})}}r(4);var s=r(30),c=r(31),l=Object(o.a)(),d=5;function u(e){function t(){return l.storage.local.get("webdavEnabled").then(function(e){return e.webdavEnabled||!1})}function r(){return e.getSetWebdavServerList()}function o(e){return r().then(function(t){return t.filter(function(t,r,n){return t.serverId===e})}).then(function(e){return 1===e.length?e[0]:null})}return{key:"webdav",listDatabases:function(){return t().then(function(t){return t?e.getSetWebdavDirectoryMap().then(function(e){var t=[],r=function(r){e[r].forEach(function(e){t.push(function(e,t){return o(e).then(function(r){if(null===r)return[];var n=s(r.url,r.username,r.password);return s.setFetchMethod(window.fetch),n.getDirectoryContents(t,{credentials:"omit"}).then(function(t){return t.filter(function(e){return e.filename.indexOf(".kdbx")>=1}).map(function(t){return{title:t.basename,path:t.filename,serverId:e}})})})}(r,e.path))})};for(var n in e)r(n);return Promise.all(t).then(function(e){return[].concat.apply([],e)})}):Promise.resolve([])})},getDatabaseChoiceData:function(e){return{serverId:e.serverId,title:e.title,path:e.path}},getChosenDatabaseFile:function(e){return o(e.serverId).then(function(t){if(null===t)throw"Database no longer exists";var r=s(t.url,t.username,t.password);return s.setFetchMethod(window.fetch),r.getFileContents(e.path,{credentials:"omit"})})},supportedFeatures:["incognito","listDatabases"],title:"WebDAV (beta)",icon:"icon-folder",chooseTitle:"WebDAV (beta)",chooseDescription:"Choose a database from any WebDAV file server. Tusk will always keep your database in sync with the server and automatically pull new versions. WARNING: If you require username/password to use webdav, Tusk will store them unencrypted on disk.",login:function(){return l.storage.local.set({webdavEnabled:!0})},logout:function(){return l.storage.local.set({webdavEnabled:!1})},isLoggedIn:t,searchServer:function(){var t=i(c.mark(function t(r){var n,a,l,u,p;return c.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o(r);case 2:if(null!==(n=t.sent)){t.next=6;break}return console.error("serverInfo not found"),t.abrupt("return");case 6:return a=s(n.url,n.username,n.password),s.setFetchMethod(window.fetch),l=function(){var e=i(c.mark(function e(){var t,r,o,i=this;return c.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=["/"],r=[],o=c.mark(function e(){var o,s,l;return c.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!((o=t.shift()).split("/").length>d)){e.next=3;break}return e.abrupt("return","break");case 3:return e.next=5,a.getDirectoryContents(o,{credentials:"omit"});case 5:s=e.sent,l=!1,s.forEach(function(e){"directory"===e.type?t.push(e.filename):e.filename.indexOf(".kdbx")>=1&&!l&&(r.push({path:o,serverId:n.serverId}),l=!0)});case 8:case"end":return e.stop()}},e,i)});case 3:if(!t.length){e.next=10;break}return e.delegateYield(o(),"t0",5);case 5:if("break"!==e.t0){e.next=8;break}return e.abrupt("break",10);case 8:e.next=3;break;case 10:return e.abrupt("return",r);case 11:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),u=l(),p=e.getSetWebdavDirectoryMap(),t.abrupt("return",Promise.all([u,p]).then(function(t){var r=t[0],o=t[1];return o[n.serverId]=r,e.getSetWebdavDirectoryMap(o)}));case 12:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),addServer:function(t,r,o){var a=s(t,r,o);return s.setFetchMethod(function(e,t){return window.fetch(e,t)}),a.getDirectoryContents("/",{credentials:"omit"}).then(function(a){var i={url:t,username:r,password:o};return e.getSetWebdavServerList().then(function(t){var r=(t=t.length?t:[]).filter(function(e,t,r){return e.url==i.url&&e.username==i.username&&e.password==i.password});if(1==r.length)return r[0].serverId;var o=Object(n.b)();return i.serverId=o,t.push(i),e.getSetWebdavServerList(t).then(function(){return i})})})},removeServer:function(t){return e.getSetWebdavServerList().then(function(r){for(var n=0;nli{list-style-type:none}a{color:#039be5;-webkit-tap-highlight-color:transparent}.valign-wrapper{display:flex;align-items:center}.clearfix{clear:both}.z-depth-0{box-shadow:none!important}.btn,.btn-floating,.btn-large,.z-depth-1,nav{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2)}.btn-floating:hover,.btn-large:hover,.btn:hover,.z-depth-1-half{box-shadow:0 3px 3px 0 rgba(0,0,0,.14),0 1px 7px 0 rgba(0,0,0,.12),0 3px 1px -1px rgba(0,0,0,.2)}.z-depth-2{box-shadow:0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.3)}.z-depth-3{box-shadow:0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.3)}.z-depth-4{box-shadow:0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.3)}.z-depth-5{box-shadow:0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.3)}.hoverable{transition:box-shadow .25s}.hoverable:hover{box-shadow:0 8px 17px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)}.divider{height:1px;overflow:hidden;background-color:#e0e0e0}blockquote{margin:20px 0;padding-left:1.5rem;border-left:5px solid #ee6e73}i{line-height:inherit}i.left{float:left;margin-right:15px}i.right{float:right;margin-left:15px}i.tiny{font-size:1rem}i.small{font-size:2rem}i.medium{font-size:4rem}i.large{font-size:6rem}img.responsive-img,video.responsive-video{max-width:100%;height:auto}.pagination li{display:inline-block;border-radius:2px;text-align:center;vertical-align:top;height:30px}.pagination li a{color:#444;display:inline-block;font-size:1.2rem;padding:0 10px;line-height:30px}.pagination li.active a{color:#fff}.pagination li.active{background-color:#ee6e73}.pagination li.disabled a{cursor:default;color:#999}.pagination li i{font-size:2rem}.pagination li.pages ul li{display:inline-block;float:none}@media only screen and (max-width:992px){.pagination{width:100%}.pagination li.next,.pagination li.prev{width:10%}.pagination li.pages{width:80%;overflow:hidden;white-space:nowrap}}.breadcrumb{font-size:18px;color:hsla(0,0%,100%,.7)}.breadcrumb [class*=mdi-],.breadcrumb [class^=mdi-],.breadcrumb i,.breadcrumb i.material-icons{display:inline-block;float:left;font-size:24px}.breadcrumb:before{content:"\\E5CC";color:hsla(0,0%,100%,.7);vertical-align:top;display:inline-block;font-family:Material Icons;font-weight:400;font-style:normal;font-size:25px;margin:0 10px 0 8px;-webkit-font-smoothing:antialiased}.breadcrumb:first-child:before{display:none}.breadcrumb:last-child{color:#fff}.parallax-container{position:relative;overflow:hidden;height:500px}.parallax-container .parallax{position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1}.parallax-container .parallax img{display:none;position:absolute;left:50%;bottom:0;min-width:100%;min-height:100%;transform:translateZ(0);transform:translateX(-50%)}.pin-bottom,.pin-top{position:relative}.pinned{position:fixed!important}.fade-in,ul.staggered-list li{opacity:0}.fade-in{transform-origin:0 50%}@media only screen and (max-width:600px){.hide-on-small-and-down,.hide-on-small-only{display:none!important}}@media only screen and (max-width:992px){.hide-on-med-and-down{display:none!important}}@media only screen and (min-width:601px){.hide-on-med-and-up{display:none!important}}@media only screen and (min-width:600px) and (max-width:992px){.hide-on-med-only{display:none!important}}@media only screen and (min-width:993px){.hide-on-large-only{display:none!important}}@media only screen and (min-width:993px){.show-on-large{display:block!important}}@media only screen and (min-width:600px) and (max-width:992px){.show-on-medium{display:block!important}}@media only screen and (max-width:600px){.show-on-small{display:block!important}}@media only screen and (min-width:601px){.show-on-medium-and-up{display:block!important}}@media only screen and (max-width:992px){.show-on-medium-and-down{display:block!important}}@media only screen and (max-width:600px){.center-on-small-only{text-align:center}}.page-footer{padding-top:20px;color:#fff;background-color:#ee6e73}.page-footer .footer-copyright{overflow:hidden;min-height:50px;display:flex;align-items:center;padding:10px 0;color:hsla(0,0%,100%,.8);background-color:rgba(51,51,51,.08)}table,td,th{border:none}table{width:100%;display:table}table.bordered>tbody>tr,table.bordered>thead>tr{border-bottom:1px solid #d0d0d0}table.striped>tbody>tr:nth-child(odd){background-color:#f2f2f2}table.striped>tbody>tr>td{border-radius:0}table.highlight>tbody>tr{transition:background-color .25s ease}table.highlight>tbody>tr:hover{background-color:#f2f2f2}table.centered tbody tr td,table.centered thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}@media only screen and (max-width:992px){table.responsive-table{width:100%;border-collapse:collapse;border-spacing:0;display:block;position:relative}table.responsive-table td:empty:before{content:"\\A0"}table.responsive-table td,table.responsive-table th{margin:0;vertical-align:top}table.responsive-table th{text-align:left}table.responsive-table thead{display:block;float:left}table.responsive-table thead tr{display:block;padding:0 10px 0 0}table.responsive-table thead tr th:before{content:"\\A0"}table.responsive-table tbody{display:block;width:auto;position:relative;overflow-x:auto;white-space:nowrap}table.responsive-table tbody tr{display:inline-block;vertical-align:top}table.responsive-table th{display:block;text-align:right}table.responsive-table td{display:block;min-height:1.25em;text-align:left}table.responsive-table tr{padding:0 10px}table.responsive-table thead{border:0;border-right:1px solid #d0d0d0}table.responsive-table.bordered th{border-bottom:0;border-left:0}table.responsive-table.bordered td{border-left:0;border-right:0;border-bottom:0}table.responsive-table.bordered tr{border:0}table.responsive-table.bordered tbody tr{border-right:1px solid #d0d0d0}}.collection{margin:.5rem 0 1rem;border:1px solid #e0e0e0;border-radius:2px;overflow:hidden;position:relative}.collection .collection-item{background-color:#fff;line-height:1.5rem;padding:10px 20px;margin:0;border-bottom:1px solid #e0e0e0}.collection .collection-item.avatar{min-height:84px;padding-left:72px;position:relative}.collection .collection-item.avatar:not(.circle-clipper)>.circle,.collection .collection-item.avatar :not(.circle-clipper)>.circle{position:absolute;width:42px;height:42px;overflow:hidden;left:15px;display:inline-block;vertical-align:middle}.collection .collection-item.avatar i.circle{font-size:18px;line-height:42px;color:#fff;background-color:#999;text-align:center}.collection .collection-item.avatar .title{font-size:16px}.collection .collection-item.avatar p{margin:0}.collection .collection-item.avatar .secondary-content{position:absolute;top:16px;right:16px}.collection .collection-item:last-child{border-bottom:none}.collection .collection-item.active{background-color:#26a69a;color:#eafaf9}.collection .collection-item.active .secondary-content{color:#fff}.collection a.collection-item{display:block;transition:.25s;color:#26a69a}.collection a.collection-item:not(.active):hover{background-color:#ddd}.collection.with-header .collection-header{background-color:#fff;border-bottom:1px solid #e0e0e0;padding:10px 20px}.collection.with-header .collection-item{padding-left:30px}.collection.with-header .collection-item.avatar{padding-left:72px}.secondary-content{float:right;color:#26a69a}.collapsible .collection{margin:0;border:none}.video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.video-container embed,.video-container iframe,.video-container object{position:absolute;top:0;left:0;width:100%;height:100%}.progress{position:relative;height:4px;display:block;width:100%;background-color:#acece6;border-radius:2px;margin:.5rem 0 1rem;overflow:hidden}.progress .determinate{position:absolute;top:0;left:0;bottom:0;transition:width .3s linear}.progress .determinate,.progress .indeterminate{background-color:#26a69a}.progress .indeterminate:before{animation:indeterminate 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.progress .indeterminate:after,.progress .indeterminate:before{content:"";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right}.progress .indeterminate:after{animation:indeterminate-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation-delay:1.15s}@keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}.hide{display:none!important}.left-align{text-align:left}.right-align{text-align:right}.center,.center-align{text-align:center}.left{float:left!important}.right{float:right!important}.no-select{user-select:none}.circle{border-radius:50%}.center-block{display:block;margin-left:auto;margin-right:auto}.truncate{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.no-padding{padding:0!important}a{text-decoration:none}html{line-height:1.5;font-family:Roboto,sans-serif;font-weight:400;color:rgba(0,0,0,.87)}@media only screen and (min-width:0){html{font-size:14px}}@media only screen and (min-width:992px){html{font-size:14.5px}}@media only screen and (min-width:1200px){html{font-size:15px}}h1,h2,h3,h4,h5,h6{font-weight:400;line-height:1.1}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-weight:inherit}h1{font-size:4.2rem;margin:2.1rem 0 1.68rem}h1,h2{line-height:110%}h2{font-size:3.56rem;margin:1.78rem 0 1.424rem}h3{font-size:2.92rem;margin:1.46rem 0 1.168rem}h3,h4{line-height:110%}h4{font-size:2.28rem;margin:1.14rem 0 .912rem}h5{font-size:1.64rem;margin:.82rem 0 .656rem}h5,h6{line-height:110%}h6{font-size:1rem;margin:.5rem 0 .4rem}em{font-style:italic}strong{font-weight:500}small{font-size:75%}.light,.page-footer .footer-copyright{font-weight:300}.thin{font-weight:200}.flow-text{font-weight:300}@media only screen and (min-width:360px){.flow-text{font-size:1.2rem}}@media only screen and (min-width:390px){.flow-text{font-size:1.224rem}}@media only screen and (min-width:420px){.flow-text{font-size:1.248rem}}@media only screen and (min-width:450px){.flow-text{font-size:1.272rem}}@media only screen and (min-width:480px){.flow-text{font-size:1.296rem}}@media only screen and (min-width:510px){.flow-text{font-size:1.32rem}}@media only screen and (min-width:540px){.flow-text{font-size:1.344rem}}@media only screen and (min-width:570px){.flow-text{font-size:1.368rem}}@media only screen and (min-width:600px){.flow-text{font-size:1.392rem}}@media only screen and (min-width:630px){.flow-text{font-size:1.416rem}}@media only screen and (min-width:660px){.flow-text{font-size:1.44rem}}@media only screen and (min-width:690px){.flow-text{font-size:1.464rem}}@media only screen and (min-width:720px){.flow-text{font-size:1.488rem}}@media only screen and (min-width:750px){.flow-text{font-size:1.512rem}}@media only screen and (min-width:780px){.flow-text{font-size:1.536rem}}@media only screen and (min-width:810px){.flow-text{font-size:1.56rem}}@media only screen and (min-width:840px){.flow-text{font-size:1.584rem}}@media only screen and (min-width:870px){.flow-text{font-size:1.608rem}}@media only screen and (min-width:900px){.flow-text{font-size:1.632rem}}@media only screen and (min-width:930px){.flow-text{font-size:1.656rem}}@media only screen and (min-width:960px){.flow-text{font-size:1.68rem}}@media only screen and (max-width:360px){.flow-text{font-size:1.2rem}}.preloader-wrapper{display:inline-block;position:relative;width:50px;height:50px}.preloader-wrapper.small{width:36px;height:36px}.preloader-wrapper.big{width:64px;height:64px}.preloader-wrapper.active{-webkit-animation:container-rotate 1568ms linear infinite;animation:container-rotate 1568ms linear infinite}@-webkit-keyframes container-rotate{to{-webkit-transform:rotate(1turn)}}@keyframes container-rotate{to{transform:rotate(1turn)}}.spinner-layer{position:absolute;width:100%;height:100%;opacity:0;border-color:#26a69a}.spinner-blue,.spinner-blue-only{border-color:#4285f4}.spinner-red,.spinner-red-only{border-color:#db4437}.spinner-yellow,.spinner-yellow-only{border-color:#f4b400}.spinner-green,.spinner-green-only{border-color:#0f9d58}.active .spinner-layer.spinner-blue{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,blue-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,blue-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.active .spinner-layer.spinner-red{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,red-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,red-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.active .spinner-layer.spinner-yellow{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,yellow-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,yellow-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.active .spinner-layer.spinner-green{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,green-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,green-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.active .spinner-layer,.active .spinner-layer.spinner-blue-only,.active .spinner-layer.spinner-green-only,.active .spinner-layer.spinner-red-only,.active .spinner-layer.spinner-yellow-only{opacity:1;-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both}@-webkit-keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg)}to{-webkit-transform:rotate(3turn)}}@keyframes fill-unfill-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@-webkit-keyframes blue-fade-in-out{0%{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}to{opacity:1}}@keyframes blue-fade-in-out{0%{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}to{opacity:1}}@-webkit-keyframes red-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@keyframes red-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@-webkit-keyframes yellow-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@keyframes yellow-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@-webkit-keyframes green-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}to{opacity:0}}@keyframes green-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}to{opacity:0}}.gap-patch{position:absolute;top:0;left:45%;width:10%;height:100%;overflow:hidden;border-color:inherit}.gap-patch .circle{width:1000%;left:-450%}.circle-clipper{display:inline-block;position:relative;width:50%;height:100%;overflow:hidden;border-color:inherit}.circle-clipper .circle{width:200%;height:100%;border-width:3px;border-style:solid;border-color:inherit;border-bottom-color:transparent!important;border-radius:50%;-webkit-animation:none;animation:none;position:absolute;top:0;right:0;bottom:0}.circle-clipper.left .circle{left:0;border-right-color:transparent!important;-webkit-transform:rotate(129deg);transform:rotate(129deg)}.circle-clipper.right .circle{left:-100%;border-left-color:transparent!important;-webkit-transform:rotate(-129deg);transform:rotate(-129deg)}.active .circle-clipper.left .circle{-webkit-animation:left-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both;animation:left-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both}.active .circle-clipper.right .circle{-webkit-animation:right-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both;animation:right-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both}@-webkit-keyframes left-spin{0%{-webkit-transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg)}}@keyframes left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@-webkit-keyframes right-spin{0%{-webkit-transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg)}}@keyframes right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}#spinnerContainer.cooldown{-webkit-animation:container-rotate 1568ms linear infinite,fade-out .4s cubic-bezier(.4,0,.2,1);animation:container-rotate 1568ms linear infinite,fade-out .4s cubic-bezier(.4,0,.2,1)}@-webkit-keyframes fade-out{0%{opacity:1}to{opacity:0}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}.selectable{transition:all .3s ease}.selectable:hover{cursor:pointer}.selectable.flair:hover{padding-left:20px}.between{width:100%;justify-content:space-between;display:flex}.stack-item{box-sizing:border-box;width:100%}.error{border-left:4px solid #e19e97}.error.pill{border-left:0;background-color:#e19e97;border-radius:4px;padding:0 4px}.warn{border-left:4px solid #f8dd6b}.warn.pill{border-left:0;background-color:#f8dd6b;border-radius:4px;padding:0 4px}.success{border-left:4px solid #4caf50}button.action-button{background-color:#0089ec;color:#f7f9fa;font-size:18px;border-width:1px 0;width:100%;border-top:1px solid #e7e8ea;border-bottom:1px solid #e7e8ea;margin:0;padding:4px;box-sizing:border-box}button.action-button:hover{opacity:.7}.box-bar{width:100%;box-sizing:border-box;padding:8px 16px;border-bottom:2px solid #e7e8ea;font-size:18px}.box-bar.button{background-color:#f7f9fa}.box-bar.roomy{padding:16px 20px}.box-bar.roomy.small{padding:6px 20px;font-size:14px}.box-bar.small{padding:6px 16px;font-size:12px}.box-bar.medium{padding:8px 16px;font-size:14px}.box-bar.lighter{background-color:#fff}.box-bar.plain{border-bottom:0}.box-bar.nopad{padding:0}.unlockLogo{font-weight:700;font-size:20px;text-align:center;padding:20px 0}.unlockLogo img{width:48px;height:48px;vertical-align:middle}.tabs{position:relative;overflow-x:auto;overflow-y:hidden;height:48px;width:100%;background-color:#fff;margin:0 auto;white-space:nowrap}.tabs.tabs-transparent{background-color:transparent}.tabs.tabs-transparent .tab.disabled a,.tabs.tabs-transparent .tab.disabled a:hover,.tabs.tabs-transparent .tab a{color:hsla(0,0%,100%,.7)}.tabs.tabs-transparent .tab a.active,.tabs.tabs-transparent .tab a:hover{color:#fff}.tabs.tabs-transparent .indicator{background-color:#fff}.tabs.tabs-fixed-width{display:flex}.tabs.tabs-fixed-width .tab{flex-grow:1}.tabs .tab{display:inline-block;text-align:center;line-height:48px;height:48px;padding:0;margin:0;text-transform:uppercase}.tabs .tab a{color:rgba(238,110,115,.7);display:block;width:100%;height:100%;padding:0 24px;font-size:14px;text-overflow:ellipsis;overflow:hidden;transition:color .28s ease}.tabs .tab a.active,.tabs .tab a:hover{background-color:transparent;color:#ee6e73}.tabs .tab.disabled a,.tabs .tab.disabled a:hover{color:rgba(238,110,115,.7);cursor:default}.tabs .indicator{position:absolute;bottom:0;height:2px;background-color:#f6b2b5;will-change:left,right}@media only screen and (max-width:992px){.tabs{display:flex}.tabs .tab{flex-grow:1}.tabs .tab a{padding:0 12px}}.switch,.switch *{-webkit-tap-highlight-color:transparent;user-select:none}.switch label{cursor:pointer}.switch label input[type=checkbox]{opacity:0;width:0;height:0}.switch label input[type=checkbox]:checked+.lever{background-color:#84c7c1}.switch label input[type=checkbox]:checked+.lever:after,.switch label input[type=checkbox]:checked+.lever:before{left:18px}.switch label input[type=checkbox]:checked+.lever:after{background-color:#26a69a}.switch label .lever{content:"";display:inline-block;position:relative;width:36px;height:14px;background-color:rgba(0,0,0,.38);border-radius:15px;margin-right:10px;transition:background .3s ease;vertical-align:middle;margin:0 16px}.switch label .lever:after,.switch label .lever:before{content:"";position:absolute;display:inline-block;width:20px;height:20px;border-radius:50%;left:0;top:-3px;transition:left .3s ease,background .3s ease,box-shadow .1s ease,transform .1s ease}.switch label .lever:before{background-color:rgba(38,166,154,.15)}.switch label .lever:after{background-color:#f1f1f1;box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}input[type=checkbox]:checked:not(:disabled).tabbed:focus~.lever:before,input[type=checkbox]:checked:not(:disabled)~.lever:active:before{transform:scale(2.4);background-color:rgba(38,166,154,.15)}input[type=checkbox]:not(:disabled).tabbed:focus~.lever:before,input[type=checkbox]:not(:disabled)~.lever:active:before{transform:scale(2.4);background-color:rgba(0,0,0,.08)}.switch input[type=checkbox][disabled]+.lever{cursor:default;background-color:rgba(0,0,0,.12)}.switch label input[type=checkbox][disabled]+.lever:after,.switch label input[type=checkbox][disabled]:checked+.lever:after{background-color:#949494}nav{color:#fff;background-color:#ee6e73;width:100%;height:56px;line-height:56px}nav.nav-extended{height:auto}nav.nav-extended .nav-wrapper{min-height:56px;height:auto}nav.nav-extended .nav-content{position:relative;line-height:normal}nav a{color:#fff}nav [class*=mdi-],nav [class^=mdi-],nav i,nav i.material-icons{display:block;font-size:24px;height:56px;line-height:56px}nav .nav-wrapper{position:relative;height:100%}@media only screen and (min-width:993px){nav a.button-collapse{display:none}}nav .button-collapse{float:left;position:relative;z-index:1;height:56px;margin:0 18px}nav .button-collapse i{height:56px;line-height:56px}nav .brand-logo{position:absolute;color:#fff;display:inline-block;font-size:2.1rem;padding:0}nav .brand-logo.center{left:50%;transform:translateX(-50%)}@media only screen and (max-width:992px){nav .brand-logo{left:50%;transform:translateX(-50%)}nav .brand-logo.left,nav .brand-logo.right{padding:0;transform:none}nav .brand-logo.left{left:.5rem}nav .brand-logo.right{right:.5rem;left:auto}}nav .brand-logo.right{right:.5rem;padding:0}nav .brand-logo [class*=mdi-],nav .brand-logo [class^=mdi-],nav .brand-logo i,nav .brand-logo i.material-icons{float:left;margin-right:15px}nav .nav-title{display:inline-block;font-size:32px;padding:28px 0}nav ul{margin:0}nav ul li{transition:background-color .3s;float:left;padding:0}nav ul li.active{background-color:rgba(0,0,0,.1)}nav ul a{transition:background-color .3s;font-size:1rem;color:#fff;display:block;padding:0 15px;cursor:pointer}nav ul a.btn,nav ul a.btn-flat,nav ul a.btn-floating,nav ul a.btn-large{margin-top:-2px;margin-left:15px;margin-right:15px}nav ul a.btn-flat>.material-icons,nav ul a.btn-floating>.material-icons,nav ul a.btn-large>.material-icons,nav ul a.btn>.material-icons{height:inherit;line-height:inherit}nav ul a:hover{background-color:rgba(0,0,0,.1)}nav ul.left{float:left}nav form{height:100%}nav .input-field{margin:0;height:100%}nav .input-field input{height:100%;font-size:1.2rem;border:none;padding-left:2rem}nav .input-field input:focus,nav .input-field input[type=date]:valid,nav .input-field input[type=email]:valid,nav .input-field input[type=password]:valid,nav .input-field input[type=text]:valid,nav .input-field input[type=url]:valid{border:none;box-shadow:none}nav .input-field label{top:0;left:0}nav .input-field label i{color:hsla(0,0%,100%,.7);transition:color .3s}nav .input-field label.active i{color:#fff}.navbar-fixed{position:relative;height:56px;z-index:997}.navbar-fixed nav{position:fixed}@media only screen and (min-width:601px){nav.nav-extended .nav-wrapper{min-height:64px}nav,nav .nav-wrapper i,nav a.button-collapse,nav a.button-collapse i{height:64px;line-height:64px}.navbar-fixed{height:64px}}.chip{display:inline-block;height:32px;font-size:13px;font-weight:500;color:rgba(0,0,0,.6);line-height:32px;padding:0 12px;border-radius:16px;background-color:#e4e4e4;margin-bottom:5px;margin-right:5px}.chip>img{float:left;margin:0 8px 0 -12px;height:32px;width:32px;border-radius:50%}.chip .close{cursor:pointer;float:right;font-size:16px;line-height:32px;padding-left:8px}.chips{border:none;border-bottom:1px solid #9e9e9e;box-shadow:none;margin:0 0 20px;min-height:45px;outline:none;transition:all .3s}.chips.focus{border-bottom:1px solid #26a69a;box-shadow:0 1px 0 0 #26a69a}.chips:hover{cursor:text}.chips .chip.selected{background-color:#26a69a;color:#fff}.chips .input{background:none;border:0;color:rgba(0,0,0,.6);display:inline-block;font-size:1rem;height:3rem;line-height:32px;outline:0;margin:0;padding:0!important;width:120px!important}.chips .input:focus{border:0!important;box-shadow:none!important}.chips .autocomplete-content{margin-top:0;margin-bottom:0}.prefix~.chips{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.chips:empty~label{font-size:.8rem;transform:translateY(-140%)}.btn,.btn-flat,.btn-large{border:none;border-radius:2px;display:inline-block;height:36px;line-height:36px;padding:0 2rem;text-transform:uppercase;vertical-align:middle;-webkit-tap-highlight-color:transparent}.btn-flat.disabled,.btn-flat:disabled,.btn-flat[disabled],.btn-floating.disabled,.btn-floating:disabled,.btn-floating[disabled],.btn-large.disabled,.btn-large:disabled,.btn-large[disabled],.btn.disabled,.btn:disabled,.btn[disabled],.disabled.btn-large{pointer-events:none;background-color:#dfdfdf!important;box-shadow:none;color:#9f9f9f!important;cursor:default}.btn-flat.disabled:hover,.btn-flat:disabled:hover,.btn-flat[disabled]:hover,.btn-floating.disabled:hover,.btn-floating:disabled:hover,.btn-floating[disabled]:hover,.btn-large.disabled:hover,.btn-large:disabled:hover,.btn-large[disabled]:hover,.btn.disabled:hover,.btn:disabled:hover,.btn[disabled]:hover,.disabled.btn-large:hover{background-color:#dfdfdf!important;color:#9f9f9f!important}.btn,.btn-flat,.btn-floating,.btn-large{font-size:1rem;outline:0}.btn-flat i,.btn-floating i,.btn-large i,.btn i{font-size:1.3rem;line-height:inherit}.btn-floating:focus,.btn-large:focus,.btn:focus{background-color:#1d7d74}.btn,.btn-large{text-decoration:none;color:#fff;background-color:#26a69a;text-align:center;letter-spacing:.5px;transition:.2s ease-out;cursor:pointer}.btn-large:hover,.btn:hover{background-color:#2bbbad}.btn-floating{display:inline-block;color:#fff;position:relative;overflow:hidden;z-index:1;width:40px;height:40px;line-height:40px;padding:0;border-radius:50%;transition:.3s;cursor:pointer;vertical-align:middle}.btn-floating,.btn-floating:hover{background-color:#26a69a}.btn-floating:before{border-radius:0}.btn-floating.btn-large{width:56px;height:56px}.btn-floating.btn-large.halfway-fab{bottom:-28px}.btn-floating.btn-large i{line-height:56px}.btn-floating.halfway-fab{position:absolute;right:24px;bottom:-20px}.btn-floating.halfway-fab.left{right:auto;left:24px}.btn-floating i{width:inherit;display:inline-block;text-align:center;color:#fff;font-size:1.6rem;line-height:40px}button.btn-floating{border:none}.fixed-action-btn{position:fixed;right:23px;bottom:23px;padding-top:15px;margin-bottom:0;z-index:997}.fixed-action-btn.active ul{visibility:visible}.fixed-action-btn.horizontal{padding:0 0 0 15px}.fixed-action-btn.horizontal ul{text-align:right;right:64px;top:50%;transform:translateY(-50%);height:100%;left:auto;width:500px}.fixed-action-btn.horizontal ul li{display:inline-block;margin:15px 15px 0 0}.fixed-action-btn.toolbar{padding:0;height:56px}.fixed-action-btn.toolbar.active>a i{opacity:0}.fixed-action-btn.toolbar ul{display:flex;top:0;bottom:0;z-index:1}.fixed-action-btn.toolbar ul li{flex:1;display:inline-block;margin:0;height:100%;transition:none}.fixed-action-btn.toolbar ul li a{display:block;overflow:hidden;position:relative;width:100%;height:100%;background-color:transparent;box-shadow:none;color:#fff;line-height:56px;z-index:1}.fixed-action-btn.toolbar ul li a i{line-height:inherit}.fixed-action-btn ul{left:0;right:0;text-align:center;position:absolute;bottom:64px;margin:0;visibility:hidden}.fixed-action-btn ul li{margin-bottom:15px}.fixed-action-btn ul a.btn-floating{opacity:0}.fixed-action-btn .fab-backdrop{position:absolute;top:0;left:0;z-index:-1;width:40px;height:40px;background-color:#26a69a;border-radius:50%;transform:scale(0)}.btn-flat{background-color:transparent;color:#343434;cursor:pointer;transition:background-color .2s}.btn-flat,.btn-flat:focus,.btn-flat:hover{box-shadow:none}.btn-flat:focus{background-color:rgba(0,0,0,.1)}.btn-flat.disabled{background-color:transparent!important;color:#b3b3b3!important;cursor:default}.btn-large{height:54px;line-height:54px}.btn-large i{font-size:1.6rem}.btn-block{display:block}nav{background-color:#0089ec}.content-body{padding:0 20px}p{font-size:14px}a.btn,a.btn-large{background-color:#0089ec}a.btn-large:hover,a.btn:hover{background-color:#0089ec;opacity:.7}h3{margin:1.6rem 0 .8rem}.switch label input[type=checkbox]:checked+.lever{background-color:#4caf50}.switch label input[type=checkbox]:checked+.lever:after{background-color:#79ac93}.database-manager{background-color:#fff}.database-manager .error{font-size:12px}.database-manager svg{width:18px;vertical-align:middle}.database-manager .chip{height:24px;line-height:24px;font-size:11px}.database-manager .description{font-size:12px;font-color:#d1d3d5}.database-manager .between{line-height:36px}body{background-color:#f7f9fa}#overflowbox{overflow-y:auto;margin-top:60px}#contentbox{margin:0 auto;width:800px}',""])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r(0);var n=r(10),o=r(11),a=r(17),i=r(18),s=r(107),c=r(20),l=r(21),d=r(22),u=r(23),p=r(27),f=r(24),h=r(28),g=r(29),b=r(108),m=r.n(b),v=r(113),x=r.n(v),y=r(118),k=r.n(y),w=r(145),_=r.n(w),q=r(150),z=r.n(q),M=r(34),C=r.n(M),E=r(156),S=r.n(E),D=new o.a,F=new a.a(D),T=new n.a(F),A=new s.a,P=new c.a,O=new d.a(T),U=new l.a(T),R=new p.a,I=new u.a(T),j=new f.a(T),L=new h.a,B=new g.a(T);new i.a(P,O,U,R,L,I,j);t.default={name:"app",components:{OptionsNavbar:m.a,OptionsStartup:x.a,ManageDatabases:k.a,ManageKeyfiles:_.a,AdvancedSettings:z.a,SvgDefs:C.a,Reauthorize:S.a},data:function(){return{routes:[],initialTab:"/",services:{settings:T,dropboxFileManager:O,googleDrivePasswordFileManager:U,localChromePasswordFileManager:P,oneDriveFileManager:I,pCloudFileManager:j,sampleDatabaseFileManager:L,sharedUrlFileManager:R,keyFileParser:A,secureCacheMemory:F,webdavFileManager:B},show:{startup:{visible:!1},manageDatabases:{visible:!1},manageKeyfiles:{visible:!1},advanced:{visble:!1},reauthorize:{visible:!1}}}},mounted:function(){this.$router.registerRoutes([{route:"/",name:"Getting Started",var:this.show.startup},{route:"/manage/databases",name:"Manage Databases",var:this.show.manageDatabases},{route:"/manage/keyfiles",name:"Manage Keyfiles",var:this.show.manageKeyfiles},{route:"/advanced",name:"Advanced",var:this.show.advanced},{route:"/reauthorize/:provider",name:"Reauthorize",var:this.show.reauthorize,hidden_from_navbar:!0}]),this.routes=this.$router.routes;var e=this.$router.processHash(window.location.hash);e?this.$router.route(e):this.$router.route(this.initialTab)}}},function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r(4);function o(){var e={};return e.getKeyFromFile=function(e){var t=new Uint8Array(e);if(0==t.byteLength)return Promise.reject(new Error("The key file cannot be empty"));if(32==t.byteLength)return Promise.resolve(t);if(64==t.byteLength){var r=function(e){try{for(var t=[],r=0;r=0&&this.links.splice(e,1),this.providerManager.setUrls(this.links)},addLink:function(){var e=this,t=this,r=function(e,t){this.url=e,this.direct_link=e,this.title=t;var r=document.createElement("a");r.href=e,this.origin=r.hostname,this.processSpecialSources()};r.prototype.isValid=function(){if(this.direct_link&&this.title){var e=this.parseUrl(this.direct_link);if(e)return"/"!=this.direct_link.charAt(this.direct_link.length-1)&&1==e.pathname.length?(t.messages.error="URL must include file path. (eg. http://example.com is invalid, but http://example.com/file.ckp is valid.)",!1):e.pathname.length;t.messages.error="Link URL is not valid."}return t.messages.error="Link or Title Missing",!1},r.prototype.processSpecialSources=function(){var e={"drive.google.com":function(e){var t=getParameterByName("id",e);if(t)return"https://docs.google.com/uc?export=download&id="+t;throw"Invalid Google Drive Shared Link"},"www.dropbox.com":function(e){var t=e.split("/s/");if(2!=t.length)throw"Invalid Dropbox Shared Link";return"https://dl.dropboxusercontent.com/s/"+t[1]},"/[A-Za-z0-9]{15}/?":function(e){return 1===(e.match(/\/[A-Za-z0-9]{15}\/download/)||[]).length?e:e+"/download"}};for(var t in e){if((this.url.match(t)||[]).length){this.direct_link=e[t](this.url);break}}},r.prototype.parseUrl=function(){var e=document.createElement("a");return e.href=this.direct_link,!(!e.host||e.host==window.location.host)&&{host:e.host,hostname:e.hostname,pathname:e.pathname,port:e.port,protocol:e.protocol,search:e.search,hash:e.hash}};var n=new r(this.currentUrl,this.currentUrlTitle);n.isValid()&&(this.messages.error="",this.busy=!0,i.permissions.request({origins:[n.direct_link]}).then(function(t){e.busy=!1,e.links.push(n),e.providerManager.setUrls(e.links)},function(t){e.busy=!1,e.messages.error=t.message}))},getParameterByName:function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var r=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return r?r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):"":null}},mounted:function(){var e=this;this.providerManager.isLoggedIn().then(function(t){e.loggedIn=t}),this.providerManager.getUrls().then(function(t){!1!==t&&(e.links=t)})}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"box-bar roomy database-manager"},[r("generic-provider-ui",{attrs:{busy:e.busy,databases:e.links,loggedIn:e.loggedIn,error:e.messages.error,"provider-manager":e.providerManager,"toggle-login":e.toggleLogin,removeable:!0,"remove-function":e.removeLink}}),e._v(" "),e.loggedIn?r("div",{staticClass:"url-form shared-link-box"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentUrl,expression:"currentUrl"}],attrs:{id:"shared-link",type:"text",placeholder:"Shared Link URL"},domProps:{value:e.currentUrl},on:{input:function(t){t.target.composing||(e.currentUrl=t.target.value)}}}),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.currentUrlTitle,expression:"currentUrlTitle"}],attrs:{id:"shared-link-name",type:"text",placeholder:"Database Name"},domProps:{value:e.currentUrlTitle},on:{input:function(t){t.target.composing||(e.currentUrlTitle=t.target.value)}}}),e._v(" "),r("a",{staticClass:"waves-effect waves-light btn",on:{click:e.addLink}},[e._v("Add URL Source")])]):e._e()],1)},staticRenderFns:[]}},function(e,t,r){r(135);var n=r(1)(r(137),r(138),"data-v-38bd1486",null);e.exports=n.exports},function(e,t,r){var n=r(136);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);r(3)("c39df134",n,!0)},function(e,t,r){(e.exports=r(2)(!1)).push([e.i,"",""])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(13),o=r.n(n),a=r(4);t.default={data:function(){return{busy:!1,currentUrl:"",currentUrlTitle:"",databases:[],loggedIn:!1,messages:{error:""}}},components:{GenericProviderUi:o.a},props:{providerManager:Object,settings:Object},methods:{toggleLogin:function(e){var t=this;this.loggedIn?(this.settings.disableDatabaseProvider(this.providerManager),this.providerManager.logout().then(function(){t.loggedIn=!1})):(this.providerManager.login().then(function(){t.loggedIn=!0}),e.preventDefault())},selectFile:function(e){document.getElementById("file-selector").click()},removePasswordFile:function(e){var t=this;if(!(e>=this.databases.length||e<0)){var r=this.databases[e];this.providerManager.deleteDatabase(r).then(this.providerManager.listDatabases).then(function(e){t.databases=e})}},handleAdd:function(e){var t=this,r=e.target.files;this.messages.error="";for(var n=function(){var e=new FileReader,n=r[o];e.readAsArrayBuffer(n),e.onload=function(e){if(!(n.name.indexOf(".kdbx")<0||n.size<70)){var r={title:n.name,lastModified:n.lastModified,lastModifiedDate:n.lastModifiedDate,size:n.size,type:n.type,data:a.encode(e.target.result)},o=null;return t.databases.forEach(function(e,t){e.title==r.title&&(o=t)}),null==o?t.databases.push(r):t.databases[o]=r,t.providerManager.saveDatabase({title:r.title,data:r.data,lastModified:r.lastModified})}t.messages.error+=n.name+" is not a valid KeePass v2+ file. "}},o=0;o=0&&e-1:e.hotkeyNavEnabled},on:{change:function(t){var r=e.hotkeyNavEnabled,n=t.target,o=!!n.checked;if(Array.isArray(r)){var a=e._i(r,null);n.checked?a<0&&(e.hotkeyNavEnabled=r.concat([null])):a>-1&&(e.hotkeyNavEnabled=r.slice(0,a).concat(r.slice(a+1)))}else e.hotkeyNavEnabled=o}}}),e._v(" "),r("span",{staticClass:"lever"}),e._v("\n\t\t\t\t\tHotkey Navigation\n\t\t\t\t")])])])]),e._v(" "),e.isFirefox()?e._e():r("div",{staticClass:"box-bar roomy"},[r("h4",[e._v("Grant Permission on All Websites")]),e._v(" "),e._m(2)]),e._v(" "),e.isFirefox()?e._e():r("div",{staticClass:"box-bar roomy lighter"},[r("div",[r("div",{staticClass:"switch"},[r("label",{on:{click:e.toggleOriginPermissions}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.allOriginPermission,expression:"allOriginPermission"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.allOriginPermission)?e._i(e.allOriginPermission,null)>-1:e.allOriginPermission},on:{change:function(t){var r=e.allOriginPermission,n=t.target,o=!!n.checked;if(Array.isArray(r)){var a=e._i(r,null);n.checked?a<0&&(e.allOriginPermission=r.concat([null])):a>-1&&(e.allOriginPermission=r.slice(0,a).concat(r.slice(a+1)))}else e.allOriginPermission=o}}}),e._v(" "),r("span",{staticClass:"lever",on:{click:function(e){e.preventDefault()}}}),e._v("\n\t\t\t\t\tGrant All Permissions\n\t\t\t\t")])])])]),e._v(" "),e._m(3),e._v(" "),r("div",{staticClass:"box-bar roomy lighter"},[r("div",[r("div",{staticClass:"switch"},[r("label",[r("input",{directives:[{name:"model",rawName:"v-model",value:e.notificationsEnabled,expression:"notificationsEnabled"}],attrs:{type:"checkbox",value:"expiration"},domProps:{checked:Array.isArray(e.notificationsEnabled)?e._i(e.notificationsEnabled,"expiration")>-1:e.notificationsEnabled},on:{change:function(t){var r=e.notificationsEnabled,n=t.target,o=!!n.checked;if(Array.isArray(r)){var a="expiration",i=e._i(r,a);n.checked?i<0&&(e.notificationsEnabled=r.concat([a])):i>-1&&(e.notificationsEnabled=r.slice(0,i).concat(r.slice(i+1)))}else e.notificationsEnabled=o}}}),e._v(" "),r("span",{staticClass:"lever"}),e._v("\n\t\t\t\t\tPassword expiration\n\t\t\t\t")])]),e._v(" "),r("div",{staticClass:"switch"},[r("label",[r("input",{directives:[{name:"model",rawName:"v-model",value:e.notificationsEnabled,expression:"notificationsEnabled"}],attrs:{type:"checkbox",value:"clipboard"},domProps:{checked:Array.isArray(e.notificationsEnabled)?e._i(e.notificationsEnabled,"clipboard")>-1:e.notificationsEnabled},on:{change:function(t){var r=e.notificationsEnabled,n=t.target,o=!!n.checked;if(Array.isArray(r)){var a=e._i(r,"clipboard");n.checked?a<0&&(e.notificationsEnabled=r.concat(["clipboard"])):a>-1&&(e.notificationsEnabled=r.slice(0,a).concat(r.slice(a+1)))}else e.notificationsEnabled=o}}}),e._v(" "),r("span",{staticClass:"lever"}),e._v("\n\t\t\t\t\tClipboard events\n\t\t\t\t")])])])]),e._v(" "),e._m(4),e._v(" "),r("div",{staticClass:"box-bar roomy lighter"},[r("div",[r("div",{staticClass:"switch"},[r("label",[r("input",{directives:[{name:"model",rawName:"v-model",value:e.strictMatchEnabled,expression:"strictMatchEnabled"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.strictMatchEnabled)?e._i(e.strictMatchEnabled,null)>-1:e.strictMatchEnabled},on:{change:function(t){var r=e.strictMatchEnabled,n=t.target,o=!!n.checked;if(Array.isArray(r)){var a=e._i(r,null);n.checked?a<0&&(e.strictMatchEnabled=r.concat([null])):a>-1&&(e.strictMatchEnabled=r.slice(0,a).concat(r.slice(a+1)))}else e.strictMatchEnabled=o}}}),e._v(" "),r("span",{staticClass:"lever"}),e._v("\n\t\t\t\t\t\tStrict Matching\n\t\t\t\t")])])])]),e._v(" "),e._m(5),e._v(" "),e._l(e.jsonState,function(t){return r("div",{staticClass:"box-bar lighter roomy"},[r("p",[e._v(e._s(t.k))]),e._v(" "),r("div",{staticClass:"between"},[r("div",{staticClass:"json",attrs:{id:t.k}}),e._v(" "),void 0!==t.delete?r("a",{staticClass:"waves-effect waves-light btn",on:{click:function(r){t.delete.f(t.delete.arg),e.init()}}},[e._v(e._s(t.delete.op))]):e._e()])])})],2)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"box-bar roomy"},[t("h4",[this._v("Clipboard Expiration Time")]),this._v(" "),t("p",[this._v("When you copy a value to the clipboard, Tusk will set a timeout to automatically clear it again. You can choose how long this timeout will last.")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"box-bar roomy"},[t("h4",[this._v("Enable Hotkey Navigation")]),this._v(" "),t("p",[this._v("If enabled, you will be able to use [TAB] and [ENTER] to navigate and autofill your passwords when the tusk UI is open. By default, [CTRL]+[SHIFT]+[SPACE] will open the Tusk popup")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("p",[t("strong",{staticStyle:{color:"#d9534f"}},[this._v("Only proceed if you know what you're doing.")]),this._v(" If enabled, the extension prompts once for permission to access and change data on all websites which disables the permissions popup on each new website. This has "),t("a",{attrs:{href:"https://github.com/subdavis/Tusk/issues/168"}},[this._v("serious security implications")]),this._v(". Only applies to Chrome. Because of a Chrome bug, it is currently impossible to revoke this permission again after it is enabled. If you turn this ON, Tusk must be reinstalled to reset.")])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"box-bar roomy"},[t("h4",[this._v("Notification")]),this._v(" "),t("p",[this._v("Choose which type of notification do you want to receive from Tusk.")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"box-bar roomy"},[t("h4",[this._v("Enable Strict Matching")]),this._v(" "),t("p",[this._v("If enabled, only entries whose origins match exactly will be suggested for input. Titles and other tab information will not be considered in matching. For example, "),t("pre",[this._v("www.google.com")]),this._v(" will not match "),t("pre",[this._v("https://google.com")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"box-bar roomy"},[t("h4",[this._v("Stored Data")]),this._v(" "),t("p",[this._v("The following objects represent the current data cached in local storage. This data is only available to Tusk, and is never sent over any network connection.")])])}]}},function(e,t,r){r(157);var n=r(1)(r(159),r(160),null,null);e.exports=n.exports},function(e,t,r){var n=r(158);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);r(3)("4b4bb77e",n,!0)},function(e,t,r){(e.exports=r(2)(!1)).push([e.i,".json{font-size:12px}h4{font-size:24px}",""])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{settings:Object,providers:Array},data:function(){return{provider:{},done:!1,fail:!1}},methods:{launchAuth:function(){var e=this;this.provider.login().then(function(t){e.done=!0}).catch(function(t){e.fail=!0})}},mounted:function(){var e=this,t=this.$router.getRoute().provider;this.providers.forEach(function(r){r.key===t&&(e.provider=r)})}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"box-bar roomy"},[r("h4",[e._v("Reauthorize "+e._s(e.provider.title))]),e._v(" "),r("p",[e._v("The authorization token for "+e._s(e.provider.title)+" has expired and Tusk was unable to refresh it. Please reauthorize below to continue to use Tusk with your database from "+e._s(e.provider.title)+".")])]),e._v(" "),r("div",{staticClass:"box-bar roomy lighter"},[r("a",{staticClass:"waves-effect waves-light btn",on:{click:e.launchAuth}},[e._v("Authorize "+e._s(e.provider.title))])]),e._v(" "),e.done?r("div",{staticClass:"box-bar roomy plain"},[e._m(0),e._v(" "),e._m(1)]):e._e(),e._v(" "),e.fail&&!e.done?r("div",{staticClass:"box-bar roomy plain"},[e._m(2),e._v(" "),r("p",[e._v("It looks like something went wrong during the re-authorization process. Please try again.")])]):e._e()])},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("h4",[t("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}}),this._v(" Success\n\t\t")])},function(){var e=this.$createElement,t=this._self._c||e;return t("p",[this._v("You can\n\t\t\t"),t("b",[this._v("close this page")]),this._v(" and continue to use Tusk by clicking on the popup icon.")])},function(){var e=this.$createElement,t=this._self._c||e;return t("h4",[t("i",{staticClass:"fa fa-times",attrs:{"aria-hidden":"true"}}),this._v(" Error\n\t\t")])}]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"popup-view"}},[r("svg-defs"),e._v(" "),r("options-navbar",{attrs:{routes:e.routes,"initial-tab":e.initialTab}}),e._v(" "),r("div",{attrs:{id:"overflowbox"}},[r("div",{attrs:{id:"contentbox"}},[e.show.startup.visible?r("options-startup",{attrs:{id:"/",settings:e.services.settings}}):e._e(),e._v(" "),e.show.manageDatabases.visible?r("manage-databases",{attrs:{id:"/manage/databases","dropbox-file-manager":e.services.dropboxFileManager,"google-drive-manager":e.services.googleDrivePasswordFileManager,"local-file-manager":e.services.localChromePasswordFileManager,"onedrive-manager":e.services.oneDriveFileManager,"p-cloud-file-manager":e.services.pCloudFileManager,"sample-manager":e.services.sampleDatabaseFileManager,"shared-url-manager":e.services.sharedUrlFileManager,"webdav-manager":e.services.webdavFileManager,settings:e.services.settings}}):e._e(),e._v(" "),e.show.manageKeyfiles.visible?r("manage-keyfiles",{attrs:{id:"/manage/keyfiles",settings:e.services.settings,"key-file-parser":e.services.keyFileParser}}):e._e(),e._v(" "),e.show.advanced.visible?r("advanced-settings",{attrs:{id:"/advanced",settings:e.services.settings,"secure-cache-memory":e.services.secureCacheMemory}}):e._e(),e._v(" "),e.show.reauthorize.visible?r("reauthorize",{attrs:{id:"/reauthorize",settings:e.services.settings,providers:[e.services.dropboxFileManager,e.services.googleDrivePasswordFileManager,e.services.oneDriveFileManager,e.services.pCloudFileManager]}}):e._e()],1)])],1)},staticRenderFns:[]}}]);