diff --git a/dist/lesspass.min.js b/dist/lesspass.min.js index 9bd1578..c2b863b 100644 --- a/dist/lesspass.min.js +++ b/dist/lesspass.min.js @@ -14,7 +14,7 @@ var C=function(t){function e(){var t=this.$options;t.store?this.$store=t.store:t * (c) 2014-2017 Evan You * Released under the MIT License. */ -function n(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function i(t){return!0===t}function o(t){return!1===t}function s(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function a(t){return null!==t&&"object"==typeof t}function u(t){return"[object Object]"===er.call(t)}function c(t){return"[object RegExp]"===er.call(t)}function f(t){var e=parseFloat(t);return e>=0&&Math.floor(e)===e&&isFinite(t)}function l(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}function v(t,e){return rr.call(t,e)}function g(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function m(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function y(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function _(t,e){for(var n in e)t[n]=e[n];return t}function b(t){for(var e={},n=0;nri&&Zr[n].id>t.id;)n--;Zr.splice(n+1,0,t)}else Zr.push(t);ei||(ei=!0,$r(kt))}}function Mt(t){si.clear(),$t(t,si)}function $t(t,e){var n,r,i=Array.isArray(t);if((i||a(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)$t(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)$t(t[r[n]],e)}}function Bt(t,e,n){ai.get=function(){return this[e][n]},ai.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ai)}function It(t){t._watchers=[];var e=t.$options;e.props&&Ut(t,e.props),e.methods&&Ht(t,e.methods),e.data?Dt(t):M(t._data={},!0),e.computed&&Ft(t,e.computed),e.watch&&e.watch!==Or&&Gt(t,e.watch)}function Ut(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;qr.shouldConvert=o;for(var s in e)!function(o){i.push(o);var s=Y(o,e,n,t);$(r,o,s),o in t||Bt(t,"_props",o)}(s);qr.shouldConvert=!0}function Dt(t){var e=t.$options.data;e=t._data="function"==typeof e?Nt(e,t):e||{},u(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);i--;){var o=n[i];r&&v(r,o)||S(o)||Bt(t,"_data",o)}M(e,!0)}function Nt(t,e){try{return t.call(e)}catch(t){return P(t,e,"data()"),{}}}function Ft(t,e){var n=t._computedWatchers=Object.create(null);for(var r in e){var i=e[r],o="function"==typeof i?i:i.get;n[r]=new oi(t,o||w,w,ui),r in t||qt(t,r,i)}}function qt(t,e,n){"function"==typeof n?(ai.get=zt(e),ai.set=w):(ai.get=n.get?!1!==n.cache?zt(e):n.get:w,ai.set=n.set?n.set:w),Object.defineProperty(t,e,ai)}function zt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Ir.target&&e.depend(),e.value}}function Ht(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?w:m(e[n],t)}function Gt(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function we(t){this._init(t)}function xe(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=y(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Ee(t){t.mixin=function(t){return this.options=W(this.options,t),this}}function Ce(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name,s=function(t){this._init(t)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=W(n.options,t),s.super=n,s.options.props&&Se(s),s.options.computed&&Ae(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,pr.forEach(function(t){s[t]=n[t]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=_({},s.options),i[r]=s,s}}function Se(t){var e=t.options.props;for(var n in e)Bt(t.prototype,"_props",n)}function Ae(t){var e=t.options.computed;for(var n in e)qt(t.prototype,n,e[n])}function Oe(t){pr.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Pe(t){return t&&(t.Ctor.options.name||t.tag)}function ke(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!c(t)&&t.test(e)}function Te(t,e,n){for(var r in t){var i=t[r];if(i){var o=Pe(i.componentOptions);o&&!n(o)&&(i!==e&&Re(i),t[r]=null)}}}function Re(t){t&&t.componentInstance.$destroy()}function je(t){for(var e=t.data,n=t,i=t;r(i.componentInstance);)i=i.componentInstance._vnode,i.data&&(e=Le(i.data,e));for(;r(n=n.parent);)n.data&&(e=Le(e,n.data));return Me(e.staticClass,e.class)}function Le(t,e){return{staticClass:$e(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Me(t,e){return r(t)||r(e)?$e(t,Be(e)):""}function $e(t,e){return t?e?t+" "+e:t:e||""}function Be(t){return Array.isArray(t)?Ie(t):a(t)?Ue(t):"string"==typeof t?t:""}function Ie(t){for(var e,n="",i=0,o=t.length;i-1?ji[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ji[t]=/HTMLUnknownElement/.test(e.toString())}function Fe(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function qe(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function ze(t,e){return document.createElementNS(Pi[t],e)}function He(t){return document.createTextNode(t)}function Ge(t){return document.createComment(t)}function We(t,e,n){t.insertBefore(e,n)}function Ve(t,e){t.removeChild(e)}function Ye(t,e){t.appendChild(e)}function Ke(t){return t.parentNode}function Xe(t){return t.nextSibling}function Je(t){return t.tagName}function Ze(t,e){t.textContent=e}function Qe(t,e,n){t.setAttribute(e,n)}function tn(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.componentInstance||t.elm,o=r.$refs;e?Array.isArray(o[n])?h(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}function en(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&nn(t,e)||i(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&n(e.asyncFactory.error))}function nn(t,e){if("input"!==t.tag)return!0;var n;return(r(n=t.data)&&r(n=n.attrs)&&n.type)===(r(n=e.data)&&r(n=n.attrs)&&n.type)}function rn(t,e,n){var i,o,s={};for(i=e;i<=n;++i)o=t[i].key,r(o)&&(s[o]=i);return s}function on(t,e){(t.data.directives||e.data.directives)&&sn(t,e)}function sn(t,e){var n,r,i,o=t===$i,s=e===$i,a=an(t.data.directives,t.context),u=an(e.data.directives,e.context),c=[],f=[];for(n in u)r=a[n],i=u[n],r?(i.oldValue=r.value,cn(i,"update",e,t),i.def&&i.def.componentUpdated&&f.push(i)):(cn(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var l=function(){for(var n=0;n-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function An(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function On(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&_(e,Qi(t.name||"v")),_(e,t),e}return"string"==typeof t?Qi(t):void 0}}function Pn(t){ao(function(){ao(t)})}function kn(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Sn(t,e))}function Tn(t,e){t._transitionClasses&&h(t._transitionClasses,e),An(t,e)}function Rn(t,e,n){var r=jn(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===eo?io:so,u=0,c=function(){t.removeEventListener(a,f),n()},f=function(e){e.target===t&&++u>=s&&c()};setTimeout(function(){u0&&(n=eo,f=s,l=o.length):e===no?c>0&&(n=no,f=c,l=u.length):(f=Math.max(s,c),n=f>0?s>c?eo:no:null,l=n?n===eo?o.length:u.length:0),{type:n,timeout:f,propCount:l,hasTransform:n===eo&&uo.test(r[ro+"Property"])}}function Ln(t,e){for(;t.length1}function Dn(t,e){!0!==e.data.show&&$n(e)}function Nn(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,u=t.options.length;a-1,s.selected!==o&&(s.selected=o);else if(x(Fn(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function Fn(t){return"_value"in t?t._value:t.value}function qn(t){t.target.composing=!0}function zn(t){t.target.composing&&(t.target.composing=!1,Hn(t.target,"input"))}function Hn(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Gn(t){return!t.componentInstance||t.data&&t.data.transition?t:Gn(t.componentInstance._vnode)}function Wn(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Wn(dt(e.children)):t}function Vn(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[or(o)]=i[o];return e}function Yn(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Kn(t){for(;t=t.parent;)if(t.data.transition)return!0}function Xn(t,e){return e.key===t.key&&e.tag===t.tag}function Jn(t){return t.isComment&&t.asyncFactory}function Zn(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Qn(t){t.data.newPos=t.elm.getBoundingClientRect()}function tr(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var er=Object.prototype.toString,nr=(d("slot,component",!0),d("key,ref,slot,is")),rr=Object.prototype.hasOwnProperty,ir=/-(\w)/g,or=g(function(t){return t.replace(ir,function(t,e){return e?e.toUpperCase():""})}),sr=g(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),ar=/([^-])([A-Z])/g,ur=g(function(t){return t.replace(ar,"$1-$2").replace(ar,"$1-$2").toLowerCase()}),cr=function(t,e,n){return!1},fr=function(t){return t},lr="data-server-rendered",pr=["component","directive","filter"],dr=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],hr={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:cr,isReservedAttr:cr,isUnknownElement:cr,getTagNamespace:w,parsePlatformTagName:fr,mustUseProp:cr,_lifecycleHooks:dr},vr=Object.freeze({}),gr=/[^\w.$]/,mr=w,yr="__proto__"in{},_r="undefined"!=typeof window,br=_r&&window.navigator.userAgent.toLowerCase(),wr=br&&/msie|trident/.test(br),xr=br&&br.indexOf("msie 9.0")>0,Er=br&&br.indexOf("edge/")>0,Cr=br&&br.indexOf("android")>0,Sr=br&&/iphone|ipad|ipod|ios/.test(br),Ar=br&&/chrome\/\d+/.test(br)&&!Er,Or={}.watch,Pr=!1;if(_r)try{var kr={};Object.defineProperty(kr,"passive",{get:function(){Pr=!0}}),window.addEventListener("test-passive",null,kr)}catch(t){}var Tr,Rr,jr=function(){return void 0===Tr&&(Tr=!_r&&void 0!==t&&"server"===t.process.env.VUE_ENV),Tr},Lr=_r&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Mr="undefined"!=typeof Symbol&&k(Symbol)&&"undefined"!=typeof Reflect&&k(Reflect.ownKeys),$r=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e1?y(n):n;for(var r=y(arguments,1),i=0,o=n.length;i1&&(e[n[0].trim()]=n[1].trim())}}),e}),Vi=/^--/,Yi=/\s*!important$/,Ki=function(t,e,n){if(Vi.test(e))t.style.setProperty(e,n);else if(Yi.test(n))t.style.setProperty(e,n.replace(Yi,""),"important");else{var r=Ji(e);if(Array.isArray(n))for(var i=0,o=n.length;ih?(l=n(i[m+1])?null:i[m+1].elm,y(t,l,i,d,m,o)):d>m&&b(t,e,p,h)}function E(t,e,o,s){if(t!==e){var a=e.elm=t.elm;if(i(t.isAsyncPlaceholder))return void(r(e.asyncFactory.resolved)?S(t.elm,e,o):e.isAsyncPlaceholder=!0);if(i(e.isStatic)&&i(t.isStatic)&&e.key===t.key&&(i(e.isCloned)||i(e.isOnce)))return void(e.componentInstance=t.componentInstance);var u,c=e.data;r(c)&&r(u=c.hook)&&r(u=u.prepatch)&&u(t,e);var f=t.children,l=e.children;if(r(c)&&v(e)){for(u=0;u=200&&t<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){a.headers[t]={}}),i.forEach(["post","put","patch"],function(t){a.headers[t]=i.merge(s)}),t.exports=a}).call(e,n(8))},function(t,e,n){"use strict";function r(t){n(101)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(103),o=n.n(i),s=n(131),a=n(2),u=r,c=a(o.a,s.a,u,null,null);e.default=c.exports},function(t,e,n){(function(e){function r(t,n,r,i,o){var s={sha1:"SHA-1","sha-1":"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha512:"SHA-512","sha-512":"SHA-512"};return window.crypto.subtle.importKey("raw",new e(t),"PBKDF2",!1,["deriveKey"]).then(function(t){var a={name:"PBKDF2",salt:new e(n),iterations:r,hash:s[o.toLowerCase()]};return window.crypto.subtle.deriveKey(a,t,{name:"AES-CTR",length:8*i},!0,["encrypt","decrypt"])}).then(function(t){return window.crypto.subtle.exportKey("raw",t).then(function(t){return new e(t).toString("hex")})})}function i(t,e,n,r,i){return new s(function(s,a){o.pbkdf2(t,e,n,r,i,function(t,e){t?a("error in pbkdf2"):s(e.toString("hex"))})})}var o=n(107),s=n(50);t.exports=function(){return!("undefined"==typeof window||!window.crypto||!window.crypto.subtle)}()?r:i}).call(e,n(1).Buffer)},function(t,e){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(t){return"function"==typeof t}function i(t){return"number"==typeof t}function o(t){return"object"==typeof t&&null!==t}function s(t){return void 0===t}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if(!i(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,n,i,a,u,c;if(this._events||(this._events={}),"error"===t&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var f=new Error('Uncaught, unspecified "error" event. ('+e+")");throw f.context=e,f}if(n=this._events[t],s(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),n.apply(this,a)}else if(o(n))for(a=Array.prototype.slice.call(arguments,1),c=n.slice(),i=c.length,u=0;u0&&this._events[t].length>i&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){function n(){this.removeListener(t,n),i||(i=!0,e.apply(this,arguments))}if(!r(e))throw TypeError("listener must be a function");var i=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,i,s,a;if(!r(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],s=n.length,i=-1,n===e||r(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(o(n)){for(a=s;a-- >0;)if(n[a]===e||n[a].listener&&n[a].listener===e){i=a;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[t],r(n))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){return this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,n){e=t.exports=n(42),e.Stream=e,e.Readable=e,e.Writable=n(22),e.Duplex=n(11),e.Transform=n(46),e.PassThrough=n(115)},function(t,e,n){"use strict";(function(e,r,i){function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){O(e,t)}}function s(t){return M.from(t)}function a(t){return M.isBuffer(t)||t instanceof $}function u(){}function c(t,e){k=k||n(11),t=t||{},this.objectMode=!!t.objectMode,e instanceof k&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){y(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function f(t){if(k=k||n(11),!(I.call(f,this)||this instanceof k))return new f(t);this._writableState=new c(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),L.call(this)}function l(t,e){var n=new Error("write after end");t.emit("error",n),P(e,n)}function p(t,e,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),P(r,o),i=!1),i}function d(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=M.from(e,n)),e}function h(t,e,n,r,i,o){if(!n){var s=d(e,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=e.objectMode?1:r.length;e.length+=a;var u=e.length-1?r:P;f.WritableState=c;var R=n(13);R.inherits=n(0);var j={deprecate:n(114)},L=n(43),M=n(10).Buffer,$=i.Uint8Array||function(){},B=n(44);R.inherits(f,L),c.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(c.prototype,"buffer",{get:j.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}();var I;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(I=Function.prototype[Symbol.hasInstance],Object.defineProperty(f,Symbol.hasInstance,{value:function(t){return!!I.call(this,t)||t&&t._writableState instanceof c}})):I=function(t){return t instanceof this},f.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},f.prototype.write=function(t,e,n){var r=this._writableState,i=!1,o=a(t)&&!r.objectMode;return o&&!M.isBuffer(t)&&(t=s(t)),"function"==typeof e&&(n=e,e=null),o?e="buffer":e||(e=r.defaultEncoding),"function"!=typeof n&&(n=u),r.ended?l(this,n):(o||p(this,r,t,n))&&(r.pendingcb++,i=h(this,r,o,t,e,n)),i},f.prototype.cork=function(){this._writableState.corked++},f.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||w(this,t))},f.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},f.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},f.prototype._writev=null,f.prototype.end=function(t,e,n){var r=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||A(this,r,n)},Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),f.prototype.destroy=B.destroy,f.prototype._undestroy=B.undestroy,f.prototype._destroy=function(t,e){this.end(),e(t)}}).call(e,n(8),n(45).setImmediate,n(4))},function(t,e,n){function r(t){if(t&&!u(t))throw new Error("Unknown encoding: "+t)}function i(t){return t.toString(this.encoding)}function o(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function s(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}var a=n(1).Buffer,u=a.isEncoding||function(t){switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},c=e.StringDecoder=function(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),r(t),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=s;break;default:return void(this.write=i)}this.charBuffer=new a(6),this.charReceived=0,this.charLength=0};c.prototype.write=function(t){for(var e="";this.charLength;){var n=t.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&r<=56319)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var i=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,i),i-=this.charReceived),e+=t.toString(this.encoding,0,i);var i=e.length-1,r=e.charCodeAt(i);if(r>=55296&&r<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),t.copy(this.charBuffer,0,0,o),e.substring(0,i)}return e},c.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var n=t[t.length-e];if(1==e&&n>>5==6){this.charLength=2;break}if(e<=2&&n>>4==14){this.charLength=3;break}if(e<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=e},c.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;e+=r.slice(0,n).toString(i)}return e}},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(16),s=i(o),a=n(7),u=i(a),c=n(66),f=r(c),l=n(87),p=r(l),d=n(88),h=i(d),v=n(89),g=i(v),m=n(32),y=i(m);s.default.use(u.default);var _={authenticated:!1,password:y.default,passwords:[],defaultPassword:y.default,lastUse:null,showOptions:!1,token:null,baseURL:"https://lesspass.com"};e.default=new u.default.Store({state:_,getters:p,actions:f,mutations:h.default,plugins:[(0,g.default)({key:"lesspass"})],strict:!0})},function(t,e,n){t.exports=n(68)},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;rn||e!==e)throw new TypeError("Bad key length")}},function(t,e,n){(function(e){var n;if(e.browser)n="utf-8";else{n=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}t.exports=n}).call(e,n(8))},function(t,e,n){function r(t,e,n){var r=i(t),o="sha512"===t||"sha384"===t?128:64;e.length>o?e=r(e):e.length>5]|=128<>>9<<4)]=e;for(var n=1732584193,r=-271733879,i=-1732584194,f=271733878,l=0;l>16)+(e>>16)+(n>>16)<<16|65535&n}function f(t,e){return t<>>32-e}var l=n(109);t.exports=function(t){return l(t,r)}},function(t,e,n){"use strict";(function(e){function r(){l.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function i(t,e){return t<>>32-e}function o(t,e,n,r,o,s,a,u){return i(t+(e^n^r)+s+a|0,u)+o|0}function s(t,e,n,r,o,s,a,u){return i(t+(e&n|~e&r)+s+a|0,u)+o|0}function a(t,e,n,r,o,s,a,u){return i(t+((e|~n)^r)+s+a|0,u)+o|0}function u(t,e,n,r,o,s,a,u){return i(t+(e&r|n&~r)+s+a|0,u)+o|0}function c(t,e,n,r,o,s,a,u){return i(t+(e^(n|~r))+s+a|0,u)+o|0}var f=n(0),l=n(110);f(r,l),r.prototype._update=function(){for(var t=new Array(16),e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var n=this._a,r=this._b,f=this._c,l=this._d,p=this._e;n=o(n,r,f,l,p,t[0],0,11),f=i(f,10),p=o(p,n,r,f,l,t[1],0,14),r=i(r,10),l=o(l,p,n,r,f,t[2],0,15),n=i(n,10),f=o(f,l,p,n,r,t[3],0,12),p=i(p,10),r=o(r,f,l,p,n,t[4],0,5),l=i(l,10),n=o(n,r,f,l,p,t[5],0,8),f=i(f,10),p=o(p,n,r,f,l,t[6],0,7),r=i(r,10),l=o(l,p,n,r,f,t[7],0,9),n=i(n,10),f=o(f,l,p,n,r,t[8],0,11),p=i(p,10),r=o(r,f,l,p,n,t[9],0,13),l=i(l,10),n=o(n,r,f,l,p,t[10],0,14),f=i(f,10),p=o(p,n,r,f,l,t[11],0,15),r=i(r,10),l=o(l,p,n,r,f,t[12],0,6),n=i(n,10),f=o(f,l,p,n,r,t[13],0,7),p=i(p,10),r=o(r,f,l,p,n,t[14],0,9),l=i(l,10),n=o(n,r,f,l,p,t[15],0,8),f=i(f,10),p=s(p,n,r,f,l,t[7],1518500249,7),r=i(r,10),l=s(l,p,n,r,f,t[4],1518500249,6),n=i(n,10),f=s(f,l,p,n,r,t[13],1518500249,8),p=i(p,10),r=s(r,f,l,p,n,t[1],1518500249,13),l=i(l,10),n=s(n,r,f,l,p,t[10],1518500249,11),f=i(f,10),p=s(p,n,r,f,l,t[6],1518500249,9),r=i(r,10),l=s(l,p,n,r,f,t[15],1518500249,7),n=i(n,10),f=s(f,l,p,n,r,t[3],1518500249,15),p=i(p,10),r=s(r,f,l,p,n,t[12],1518500249,7),l=i(l,10),n=s(n,r,f,l,p,t[0],1518500249,12),f=i(f,10),p=s(p,n,r,f,l,t[9],1518500249,15),r=i(r,10),l=s(l,p,n,r,f,t[5],1518500249,9),n=i(n,10),f=s(f,l,p,n,r,t[2],1518500249,11),p=i(p,10),r=s(r,f,l,p,n,t[14],1518500249,7),l=i(l,10),n=s(n,r,f,l,p,t[11],1518500249,13),f=i(f,10),p=s(p,n,r,f,l,t[8],1518500249,12),r=i(r,10),l=a(l,p,n,r,f,t[3],1859775393,11),n=i(n,10),f=a(f,l,p,n,r,t[10],1859775393,13),p=i(p,10),r=a(r,f,l,p,n,t[14],1859775393,6),l=i(l,10),n=a(n,r,f,l,p,t[4],1859775393,7),f=i(f,10),p=a(p,n,r,f,l,t[9],1859775393,14),r=i(r,10),l=a(l,p,n,r,f,t[15],1859775393,9),n=i(n,10),f=a(f,l,p,n,r,t[8],1859775393,13),p=i(p,10),r=a(r,f,l,p,n,t[1],1859775393,15),l=i(l,10),n=a(n,r,f,l,p,t[2],1859775393,14),f=i(f,10),p=a(p,n,r,f,l,t[7],1859775393,8),r=i(r,10),l=a(l,p,n,r,f,t[0],1859775393,13),n=i(n,10),f=a(f,l,p,n,r,t[6],1859775393,6),p=i(p,10),r=a(r,f,l,p,n,t[13],1859775393,5),l=i(l,10),n=a(n,r,f,l,p,t[11],1859775393,12),f=i(f,10),p=a(p,n,r,f,l,t[5],1859775393,7),r=i(r,10),l=a(l,p,n,r,f,t[12],1859775393,5),n=i(n,10),f=u(f,l,p,n,r,t[1],2400959708,11),p=i(p,10),r=u(r,f,l,p,n,t[9],2400959708,12),l=i(l,10),n=u(n,r,f,l,p,t[11],2400959708,14),f=i(f,10),p=u(p,n,r,f,l,t[10],2400959708,15),r=i(r,10),l=u(l,p,n,r,f,t[0],2400959708,14),n=i(n,10),f=u(f,l,p,n,r,t[8],2400959708,15),p=i(p,10),r=u(r,f,l,p,n,t[12],2400959708,9),l=i(l,10),n=u(n,r,f,l,p,t[4],2400959708,8),f=i(f,10),p=u(p,n,r,f,l,t[13],2400959708,9),r=i(r,10),l=u(l,p,n,r,f,t[3],2400959708,14),n=i(n,10),f=u(f,l,p,n,r,t[7],2400959708,5),p=i(p,10),r=u(r,f,l,p,n,t[15],2400959708,6),l=i(l,10),n=u(n,r,f,l,p,t[14],2400959708,8),f=i(f,10),p=u(p,n,r,f,l,t[5],2400959708,6),r=i(r,10),l=u(l,p,n,r,f,t[6],2400959708,5),n=i(n,10),f=u(f,l,p,n,r,t[2],2400959708,12),p=i(p,10),r=c(r,f,l,p,n,t[4],2840853838,9),l=i(l,10),n=c(n,r,f,l,p,t[0],2840853838,15),f=i(f,10),p=c(p,n,r,f,l,t[5],2840853838,5),r=i(r,10),l=c(l,p,n,r,f,t[9],2840853838,11),n=i(n,10),f=c(f,l,p,n,r,t[7],2840853838,6),p=i(p,10),r=c(r,f,l,p,n,t[12],2840853838,8),l=i(l,10),n=c(n,r,f,l,p,t[2],2840853838,13),f=i(f,10),p=c(p,n,r,f,l,t[10],2840853838,12),r=i(r,10),l=c(l,p,n,r,f,t[14],2840853838,5),n=i(n,10),f=c(f,l,p,n,r,t[1],2840853838,12),p=i(p,10),r=c(r,f,l,p,n,t[3],2840853838,13),l=i(l,10),n=c(n,r,f,l,p,t[8],2840853838,14),f=i(f,10),p=c(p,n,r,f,l,t[11],2840853838,11),r=i(r,10),l=c(l,p,n,r,f,t[6],2840853838,8),n=i(n,10),f=c(f,l,p,n,r,t[15],2840853838,5),p=i(p,10),r=c(r,f,l,p,n,t[13],2840853838,6),l=i(l,10);var d=this._a,h=this._b,v=this._c,g=this._d,m=this._e;d=c(d,h,v,g,m,t[5],1352829926,8),v=i(v,10),m=c(m,d,h,v,g,t[14],1352829926,9),h=i(h,10),g=c(g,m,d,h,v,t[7],1352829926,9),d=i(d,10),v=c(v,g,m,d,h,t[0],1352829926,11),m=i(m,10),h=c(h,v,g,m,d,t[9],1352829926,13),g=i(g,10),d=c(d,h,v,g,m,t[2],1352829926,15),v=i(v,10),m=c(m,d,h,v,g,t[11],1352829926,15),h=i(h,10),g=c(g,m,d,h,v,t[4],1352829926,5),d=i(d,10),v=c(v,g,m,d,h,t[13],1352829926,7),m=i(m,10),h=c(h,v,g,m,d,t[6],1352829926,7),g=i(g,10),d=c(d,h,v,g,m,t[15],1352829926,8),v=i(v,10),m=c(m,d,h,v,g,t[8],1352829926,11),h=i(h,10),g=c(g,m,d,h,v,t[1],1352829926,14),d=i(d,10),v=c(v,g,m,d,h,t[10],1352829926,14),m=i(m,10),h=c(h,v,g,m,d,t[3],1352829926,12),g=i(g,10),d=c(d,h,v,g,m,t[12],1352829926,6),v=i(v,10),m=u(m,d,h,v,g,t[6],1548603684,9),h=i(h,10),g=u(g,m,d,h,v,t[11],1548603684,13),d=i(d,10),v=u(v,g,m,d,h,t[3],1548603684,15),m=i(m,10),h=u(h,v,g,m,d,t[7],1548603684,7),g=i(g,10),d=u(d,h,v,g,m,t[0],1548603684,12),v=i(v,10),m=u(m,d,h,v,g,t[13],1548603684,8),h=i(h,10),g=u(g,m,d,h,v,t[5],1548603684,9),d=i(d,10),v=u(v,g,m,d,h,t[10],1548603684,11),m=i(m,10),h=u(h,v,g,m,d,t[14],1548603684,7),g=i(g,10),d=u(d,h,v,g,m,t[15],1548603684,7),v=i(v,10),m=u(m,d,h,v,g,t[8],1548603684,12),h=i(h,10),g=u(g,m,d,h,v,t[12],1548603684,7),d=i(d,10),v=u(v,g,m,d,h,t[4],1548603684,6),m=i(m,10),h=u(h,v,g,m,d,t[9],1548603684,15),g=i(g,10),d=u(d,h,v,g,m,t[1],1548603684,13),v=i(v,10),m=u(m,d,h,v,g,t[2],1548603684,11),h=i(h,10),g=a(g,m,d,h,v,t[15],1836072691,9),d=i(d,10),v=a(v,g,m,d,h,t[5],1836072691,7),m=i(m,10),h=a(h,v,g,m,d,t[1],1836072691,15),g=i(g,10),d=a(d,h,v,g,m,t[3],1836072691,11),v=i(v,10),m=a(m,d,h,v,g,t[7],1836072691,8),h=i(h,10),g=a(g,m,d,h,v,t[14],1836072691,6),d=i(d,10),v=a(v,g,m,d,h,t[6],1836072691,6),m=i(m,10),h=a(h,v,g,m,d,t[9],1836072691,14),g=i(g,10),d=a(d,h,v,g,m,t[11],1836072691,12),v=i(v,10),m=a(m,d,h,v,g,t[8],1836072691,13),h=i(h,10),g=a(g,m,d,h,v,t[12],1836072691,5),d=i(d,10),v=a(v,g,m,d,h,t[2],1836072691,14),m=i(m,10),h=a(h,v,g,m,d,t[10],1836072691,13),g=i(g,10),d=a(d,h,v,g,m,t[0],1836072691,13),v=i(v,10),m=a(m,d,h,v,g,t[4],1836072691,7),h=i(h,10),g=a(g,m,d,h,v,t[13],1836072691,5),d=i(d,10),v=s(v,g,m,d,h,t[8],2053994217,15),m=i(m,10),h=s(h,v,g,m,d,t[6],2053994217,5),g=i(g,10),d=s(d,h,v,g,m,t[4],2053994217,8),v=i(v,10),m=s(m,d,h,v,g,t[1],2053994217,11),h=i(h,10),g=s(g,m,d,h,v,t[3],2053994217,14),d=i(d,10),v=s(v,g,m,d,h,t[11],2053994217,14),m=i(m,10),h=s(h,v,g,m,d,t[15],2053994217,6),g=i(g,10),d=s(d,h,v,g,m,t[0],2053994217,14),v=i(v,10),m=s(m,d,h,v,g,t[5],2053994217,6),h=i(h,10),g=s(g,m,d,h,v,t[12],2053994217,9),d=i(d,10),v=s(v,g,m,d,h,t[2],2053994217,12),m=i(m,10),h=s(h,v,g,m,d,t[13],2053994217,9),g=i(g,10),d=s(d,h,v,g,m,t[9],2053994217,12),v=i(v,10),m=s(m,d,h,v,g,t[7],2053994217,5),h=i(h,10),g=s(g,m,d,h,v,t[10],2053994217,15),d=i(d,10),v=s(v,g,m,d,h,t[14],2053994217,8),m=i(m,10),h=o(h,v,g,m,d,t[12],0,8),g=i(g,10),d=o(d,h,v,g,m,t[15],0,5),v=i(v,10),m=o(m,d,h,v,g,t[10],0,12),h=i(h,10),g=o(g,m,d,h,v,t[4],0,9),d=i(d,10),v=o(v,g,m,d,h,t[1],0,12),m=i(m,10),h=o(h,v,g,m,d,t[5],0,5),g=i(g,10),d=o(d,h,v,g,m,t[8],0,14),v=i(v,10),m=o(m,d,h,v,g,t[7],0,6),h=i(h,10),g=o(g,m,d,h,v,t[6],0,8),d=i(d,10),v=o(v,g,m,d,h,t[2],0,13),m=i(m,10),h=o(h,v,g,m,d,t[13],0,6),g=i(g,10),d=o(d,h,v,g,m,t[14],0,5),v=i(v,10),m=o(m,d,h,v,g,t[0],0,15),h=i(h,10),g=o(g,m,d,h,v,t[3],0,13),d=i(d,10),v=o(v,g,m,d,h,t[9],0,11),m=i(m,10),h=o(h,v,g,m,d,t[11],0,11),g=i(g,10);var y=this._b+f+g|0;this._b=this._c+l+m|0,this._c=this._d+p+d|0,this._d=this._e+n+h|0,this._e=this._a+r+v|0,this._a=y},r.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=new e(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){function r(){i.call(this)}t.exports=r;var i=n(20).EventEmitter;n(0)(r,i),r.Readable=n(21),r.Writable=n(116),r.Duplex=n(117),r.Transform=n(118),r.PassThrough=n(119),r.Stream=r,r.prototype.pipe=function(t,e){function n(e){t.writable&&!1===t.write(e)&&c.pause&&c.pause()}function r(){c.readable&&c.resume&&c.resume()}function o(){f||(f=!0,t.end())}function s(){f||(f=!0,"function"==typeof t.destroy&&t.destroy())}function a(t){if(u(),0===i.listenerCount(this,"error"))throw t}function u(){c.removeListener("data",n),t.removeListener("drain",r),c.removeListener("end",o),c.removeListener("close",s),c.removeListener("error",a),t.removeListener("error",a),c.removeListener("end",u),c.removeListener("close",u),t.removeListener("close",u)}var c=this;c.on("data",n),t.on("drain",r),t._isStdio||e&&!1===e.end||(c.on("end",o),c.on("close",s));var f=!1;return c.on("error",a),t.on("error",a),c.on("end",u),c.on("close",u),t.on("close",u),t.emit("pipe",c),t}},function(t,e,n){"use strict";(function(e,r){function i(t){return I.from(t)}function o(t){return I.isBuffer(t)||t instanceof U}function s(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?M(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}function a(t,e){L=L||n(11),t=t||{},this.objectMode=!!t.objectMode,e instanceof L&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new z,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(q||(q=n(23).StringDecoder),this.decoder=new q(t.encoding),this.encoding=t.encoding)}function u(t){if(L=L||n(11),!(this instanceof u))return new u(t);this._readableState=new a(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),B.call(this)}function c(t,e,n,r,o){var s=t._readableState;if(null===e)s.reading=!1,v(t,s);else{var a;o||(a=l(s,e)),a?t.emit("error",a):s.objectMode||e&&e.length>0?("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===I.prototype||(e=i(e)),r?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):f(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(e=s.decoder.write(e),s.objectMode||0!==e.length?f(t,s,e,!1):y(t,s)):f(t,s,e,!1))):r||(s.reading=!1)}return p(s)}function f(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&g(t)),y(t,e)}function l(t,e){var n;return o(e)||"string"==typeof e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function p(t){return!t.ended&&(t.needReadable||t.length=W?t=W:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function h(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=d(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function v(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,g(t)}}function g(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(F("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?j(m,t):m(t))}function m(t){F("emit readable"),t.emit("readable"),C(t)}function y(t,e){e.readingMore||(e.readingMore=!0,j(_,t,e))}function _(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=A(t,e.buffer,e.decoder),n}function A(t,e,n){var r;return to.length?o.length:t;if(s===o.length?i+=o:i+=o.slice(0,t),0===(t-=s)){s===o.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(s));break}++r}return e.length-=r,i}function P(t,e){var n=I.allocUnsafe(t),r=e.head,i=1;for(r.data.copy(n),t-=r.data.length;r=r.next;){var o=r.data,s=t>o.length?o.length:t;if(o.copy(n,n.length-t,0,s),0===(t-=s)){s===o.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(s));break}++i}return e.length-=i,n}function k(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,j(T,e,t))}function T(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function R(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return F("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?k(this):g(this),null;if(0===(t=h(t,e))&&e.ended)return 0===e.length&&k(this),null;var r=e.needReadable;F("need readable",r),(0===e.length||e.length-t0?S(t,e):null,null===i?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&k(this)),null!==i&&this.emit("data",i),i},u.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},u.prototype.pipe=function(t,e){function n(t,e){F("onunpipe"),t===p&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,o())}function i(){F("onend"),t.end()}function o(){F("cleanup"),t.removeListener("close",c),t.removeListener("finish",f),t.removeListener("drain",g),t.removeListener("error",u),t.removeListener("unpipe",n),p.removeListener("end",i),p.removeListener("end",l),p.removeListener("data",a),m=!0,!d.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}function a(e){F("ondata"),y=!1,!1!==t.write(e)||y||((1===d.pipesCount&&d.pipes===t||d.pipesCount>1&&-1!==R(d.pipes,t))&&!m&&(F("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,y=!0),p.pause())}function u(e){F("onerror",e),l(),t.removeListener("error",u),0===$(t,"error")&&t.emit("error",e)}function c(){t.removeListener("finish",f),l()}function f(){F("onfinish"),t.removeListener("close",c),l()}function l(){F("unpipe"),p.unpipe(t)}var p=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=t;break;case 1:d.pipes=[d.pipes,t];break;default:d.pipes.push(t)}d.pipesCount+=1,F("pipe count=%d opts=%j",d.pipesCount,e);var h=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr,v=h?i:l;d.endEmitted?j(v):p.once("end",v),t.on("unpipe",n);var g=b(p);t.on("drain",g);var m=!1,y=!1;return p.on("data",a),s(t,"error",u),t.once("close",c),t.once("finish",f),t.emit("pipe",p),d.flowing||(F("pipe resume"),p.resume()),t},u.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n),this);if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(113),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){"use strict";function r(t){this.afterTransform=function(e,n){return i(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function i(t,e,n){var r=t._transformState;r.transforming=!1;var i=r.writecb;if(!i)return t.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&t.push(n),i(e);var o=t._readableState;o.reading=!1,(o.needReadable||o.length>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function a(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function u(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function c(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}var f=n(0),l=n(12),p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],d=new Array(64);f(r,l),r.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,f=0|this._c,l=0|this._d,d=0|this._e,h=0|this._f,v=0|this._g,g=0|this._h,m=0;m<16;++m)e[m]=t.readInt32BE(4*m);for(;m<64;++m)e[m]=c(e[m-2])+e[m-7]+u(e[m-15])+e[m-16]|0;for(var y=0;y<64;++y){var _=g+a(d)+i(d,h,v)+p[y]+e[y]|0,b=s(n)+o(n,r,f)|0;g=v,v=h,h=d,d=l+_|0,l=f,f=r,r=n,n=_+b|0}this._a=n+this._a|0,this._b=r+this._b|0,this._c=f+this._c|0,this._d=l+this._d|0,this._e=d+this._e|0,this._f=h+this._f|0,this._g=v+this._g|0,this._h=g+this._h|0},r.prototype._hash=function(){var t=new e(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=g,h.call(this,128,112)}function i(t,e,n){return n^t&(e^n)}function o(t,e,n){return t&e|n&(t|e)}function s(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function a(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function u(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function c(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function f(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function l(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function p(t,e){return t>>>0>>0?1:0}var d=n(0),h=n(12),v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],g=new Array(160);d(r,h),r.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,d=0|this._ch,h=0|this._dh,g=0|this._eh,m=0|this._fh,y=0|this._gh,_=0|this._hh,b=0|this._al,w=0|this._bl,x=0|this._cl,E=0|this._dl,C=0|this._el,S=0|this._fl,A=0|this._gl,O=0|this._hl,P=0;P<32;P+=2)e[P]=t.readInt32BE(4*P),e[P+1]=t.readInt32BE(4*P+4);for(;P<160;P+=2){var k=e[P-30],T=e[P-30+1],R=u(k,T),j=c(T,k);k=e[P-4],T=e[P-4+1];var L=f(k,T),M=l(T,k),$=e[P-14],B=e[P-14+1],I=e[P-32],U=e[P-32+1],D=j+B|0,N=R+$+p(D,j)|0;D=D+M|0,N=N+L+p(D,M)|0,D=D+U|0,N=N+I+p(D,U)|0,e[P]=N,e[P+1]=D}for(var F=0;F<160;F+=2){N=e[F],D=e[F+1];var q=o(n,r,d),z=o(b,w,x),H=s(n,b),G=s(b,n),W=a(g,C),V=a(C,g),Y=v[F],K=v[F+1],X=i(g,m,y),J=i(C,S,A),Z=O+V|0,Q=_+W+p(Z,O)|0;Z=Z+J|0,Q=Q+X+p(Z,J)|0,Z=Z+K|0,Q=Q+Y+p(Z,K)|0,Z=Z+D|0,Q=Q+N+p(Z,D)|0;var tt=G+z|0,et=H+q+p(tt,G)|0;_=y,O=A,y=m,A=S,m=g,S=C,C=E+Z|0,g=h+Q+p(C,E)|0,h=d,E=x,d=r,x=w,r=n,w=b,b=Z+tt|0,n=Q+et+p(b,Z)|0}this._al=this._al+b|0,this._bl=this._bl+w|0,this._cl=this._cl+x|0,this._dl=this._dl+E|0,this._el=this._el+C|0,this._fl=this._fl+S|0,this._gl=this._gl+A|0,this._hl=this._hl+O|0,this._ah=this._ah+n+p(this._al,b)|0,this._bh=this._bh+r+p(this._bl,w)|0,this._ch=this._ch+d+p(this._cl,x)|0,this._dh=this._dh+h+p(this._dl,E)|0,this._eh=this._eh+g+p(this._el,C)|0,this._fh=this._fh+m+p(this._fl,S)|0,this._gh=this._gh+y+p(this._gl,A)|0,this._hh=this._hh+_+p(this._hl,O)|0},r.prototype._hash=function(){function t(t,e,r){n.writeInt32BE(t,r),n.writeInt32BE(e,r+4)}var n=new e(64);return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),n},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){"use strict";t.exports="function"==typeof Promise?Promise:n(124)},function(t,e,n){(function(e){function r(t){i.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._decoder=null,this._encoding=null}var i=n(41).Transform,o=n(0),s=n(23).StringDecoder;t.exports=r,o(r,i),r.prototype.update=function(t,n,r){"string"==typeof t&&(t=new e(t,n));var i=this._update(t);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},r.prototype.setAutoPadding=function(){},r.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},r.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},r.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},r.prototype._transform=function(t,e,n){var r;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){r=t}finally{n(r)}},r.prototype._flush=function(t){var e;try{this.push(this._final())}catch(t){e=t}finally{t(e)}},r.prototype._finalOrDigest=function(t){var n=this._final()||new e("");return t&&(n=this._toString(n,t,!0)),n},r.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new s(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var r=this._decoder.write(t);return n&&(r+=this._decoder.end()),r}}).call(e,n(1).Buffer)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i=n(16),o=r(i),s=n(53),a=r(s),u=n(94),c=n(24),f=r(c),l=n(95),p=r(l),d=n(171),h=r(d);o.default.use(h.default,{defaultLanguage:"en",languagesAvailable:["fr","es","de","zh","zh-CN"]}),(0,u.sync)(f.default,p.default),new o.default({el:"#lesspass",beforeCreate:function(){this.$polyglot.getLocale({baseURL:"dist/i18n",lang:"auto"})},store:f.default,router:p.default,render:function(t){return t(a.default)}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(54),i=n.n(r),o=n(93),s=n(2),a=s(i.a,o.a,null,null,null);e.default=a.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),n(55);var i=n(56),o=r(i),s=n(62),a=r(s),u=n(7);e.default={name:"LessPass",components:{"lesspass-menu":o.default,"lesspass-message":a.default},computed:(0,u.mapGetters)(["version"]),created:function(){this.$store.dispatch("cleanMessage"),this.$store.dispatch("refreshToken")}}},function(t,e){},function(t,e,n){"use strict";function r(t){n(57)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(60),o=n.n(i),s=n(61),a=n(2),u=r,c=a(o.a,s.a,u,null,null);e.default=c.exports},function(t,e,n){var r=n(58);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("081bb21e",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#menu .text-white,#menu .white-link{color:inherit}#menu .white-link:active,#menu .white-link:focus,#menu .white-link:hover{text-decoration:none;color:inherit}.card-inverse{background-color:#333;border-color:#333}",""])},function(t,e){t.exports=function(t,e){for(var n=[],r={},i=0;i=9){var i=f.getPasswordFromUrlQuery(r);n(p.SET_PASSWORD,{password:i})}},e.savePassword=function(t,e){(0,t.commit)(p.SET_PASSWORD,e)}),v=(e.saveVersion=function(t,e){(0,t.commit)(p.SET_VERSION,e)},e.getSite=function(t){var e=t.commit;f.getSite().then(function(t){t&&e(p.SET_SITE,{site:t})})},e.login=function(t,e){var n=t.commit;n(p.SET_BASE_URL,e),n(p.SET_TOKEN,e),n(p.LOGIN)},e.logout=function(t){(0,t.commit)(p.LOGOUT)},e.getPasswords=function(t){var e=t.commit,n=t.state;n.authenticated&&s.default.all(n).then(function(t){e(p.SET_PASSWORDS,{passwords:t.data.results})}).then(function(){return d({commit:e})})});e.saveOrUpdatePassword=function(t){var e=t.commit,n=t.state;if(n.password&&void 0===n.password.id){var r=n.password.site,i=n.password.login;(r||i)&&s.default.create(n.password,n).then(function(t){h({commit:e},{password:t.data}),v({commit:e,state:n})})}else s.default.update(n.password,n).then(function(){v({commit:e,state:n})})},e.deletePassword=function(t,e){var n=t.commit,r=t.state;s.default.delete(e,r).then(function(){n(p.DELETE_PASSWORD,e)})},e.displayMessage=function(t,e){(0,t.commit)(p.SET_MESSAGE,e)},e.cleanMessage=function(t){(0,t.commit)(p.CLEAN_MESSAGE)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e=0&&Math.floor(e)===e&&isFinite(t)}function l(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}function v(t,e){return rr.call(t,e)}function g(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function m(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function y(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function _(t,e){for(var n in e)t[n]=e[n];return t}function b(t){for(var e={},n=0;nri&&Zr[n].id>t.id;)n--;Zr.splice(n+1,0,t)}else Zr.push(t);ei||(ei=!0,$r(kt))}}function Mt(t){si.clear(),$t(t,si)}function $t(t,e){var n,r,i=Array.isArray(t);if((i||a(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)$t(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)$t(t[r[n]],e)}}function Bt(t,e,n){ai.get=function(){return this[e][n]},ai.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ai)}function It(t){t._watchers=[];var e=t.$options;e.props&&Ut(t,e.props),e.methods&&Ht(t,e.methods),e.data?Dt(t):M(t._data={},!0),e.computed&&Ft(t,e.computed),e.watch&&e.watch!==Or&&Gt(t,e.watch)}function Ut(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;qr.shouldConvert=o;for(var s in e)!function(o){i.push(o);var s=Y(o,e,n,t);$(r,o,s),o in t||Bt(t,"_props",o)}(s);qr.shouldConvert=!0}function Dt(t){var e=t.$options.data;e=t._data="function"==typeof e?Nt(e,t):e||{},u(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);i--;){var o=n[i];r&&v(r,o)||S(o)||Bt(t,"_data",o)}M(e,!0)}function Nt(t,e){try{return t.call(e)}catch(t){return P(t,e,"data()"),{}}}function Ft(t,e){var n=t._computedWatchers=Object.create(null);for(var r in e){var i=e[r],o="function"==typeof i?i:i.get;n[r]=new oi(t,o||w,w,ui),r in t||qt(t,r,i)}}function qt(t,e,n){"function"==typeof n?(ai.get=zt(e),ai.set=w):(ai.get=n.get?!1!==n.cache?zt(e):n.get:w,ai.set=n.set?n.set:w),Object.defineProperty(t,e,ai)}function zt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Ir.target&&e.depend(),e.value}}function Ht(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?w:m(e[n],t)}function Gt(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function we(t){this._init(t)}function xe(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=y(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Ee(t){t.mixin=function(t){return this.options=W(this.options,t),this}}function Ce(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name,s=function(t){this._init(t)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=W(n.options,t),s.super=n,s.options.props&&Se(s),s.options.computed&&Ae(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,pr.forEach(function(t){s[t]=n[t]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=_({},s.options),i[r]=s,s}}function Se(t){var e=t.options.props;for(var n in e)Bt(t.prototype,"_props",n)}function Ae(t){var e=t.options.computed;for(var n in e)qt(t.prototype,n,e[n])}function Oe(t){pr.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Pe(t){return t&&(t.Ctor.options.name||t.tag)}function ke(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!c(t)&&t.test(e)}function Te(t,e,n){for(var r in t){var i=t[r];if(i){var o=Pe(i.componentOptions);o&&!n(o)&&(i!==e&&Re(i),t[r]=null)}}}function Re(t){t&&t.componentInstance.$destroy()}function je(t){for(var e=t.data,n=t,i=t;r(i.componentInstance);)i=i.componentInstance._vnode,i.data&&(e=Le(i.data,e));for(;r(n=n.parent);)n.data&&(e=Le(e,n.data));return Me(e.staticClass,e.class)}function Le(t,e){return{staticClass:$e(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Me(t,e){return r(t)||r(e)?$e(t,Be(e)):""}function $e(t,e){return t?e?t+" "+e:t:e||""}function Be(t){return Array.isArray(t)?Ie(t):a(t)?Ue(t):"string"==typeof t?t:""}function Ie(t){for(var e,n="",i=0,o=t.length;i-1?ji[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ji[t]=/HTMLUnknownElement/.test(e.toString())}function Fe(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function qe(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function ze(t,e){return document.createElementNS(Pi[t],e)}function He(t){return document.createTextNode(t)}function Ge(t){return document.createComment(t)}function We(t,e,n){t.insertBefore(e,n)}function Ve(t,e){t.removeChild(e)}function Ye(t,e){t.appendChild(e)}function Ke(t){return t.parentNode}function Xe(t){return t.nextSibling}function Je(t){return t.tagName}function Ze(t,e){t.textContent=e}function Qe(t,e,n){t.setAttribute(e,n)}function tn(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.componentInstance||t.elm,o=r.$refs;e?Array.isArray(o[n])?h(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}function en(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&nn(t,e)||i(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&n(e.asyncFactory.error))}function nn(t,e){if("input"!==t.tag)return!0;var n;return(r(n=t.data)&&r(n=n.attrs)&&n.type)===(r(n=e.data)&&r(n=n.attrs)&&n.type)}function rn(t,e,n){var i,o,s={};for(i=e;i<=n;++i)o=t[i].key,r(o)&&(s[o]=i);return s}function on(t,e){(t.data.directives||e.data.directives)&&sn(t,e)}function sn(t,e){var n,r,i,o=t===$i,s=e===$i,a=an(t.data.directives,t.context),u=an(e.data.directives,e.context),c=[],f=[];for(n in u)r=a[n],i=u[n],r?(i.oldValue=r.value,cn(i,"update",e,t),i.def&&i.def.componentUpdated&&f.push(i)):(cn(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var l=function(){for(var n=0;n-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function An(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function On(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&_(e,Qi(t.name||"v")),_(e,t),e}return"string"==typeof t?Qi(t):void 0}}function Pn(t){ao(function(){ao(t)})}function kn(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Sn(t,e))}function Tn(t,e){t._transitionClasses&&h(t._transitionClasses,e),An(t,e)}function Rn(t,e,n){var r=jn(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===eo?io:so,u=0,c=function(){t.removeEventListener(a,f),n()},f=function(e){e.target===t&&++u>=s&&c()};setTimeout(function(){u0&&(n=eo,f=s,l=o.length):e===no?c>0&&(n=no,f=c,l=u.length):(f=Math.max(s,c),n=f>0?s>c?eo:no:null,l=n?n===eo?o.length:u.length:0),{type:n,timeout:f,propCount:l,hasTransform:n===eo&&uo.test(r[ro+"Property"])}}function Ln(t,e){for(;t.length1}function Dn(t,e){!0!==e.data.show&&$n(e)}function Nn(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,u=t.options.length;a-1,s.selected!==o&&(s.selected=o);else if(x(Fn(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function Fn(t){return"_value"in t?t._value:t.value}function qn(t){t.target.composing=!0}function zn(t){t.target.composing&&(t.target.composing=!1,Hn(t.target,"input"))}function Hn(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Gn(t){return!t.componentInstance||t.data&&t.data.transition?t:Gn(t.componentInstance._vnode)}function Wn(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Wn(dt(e.children)):t}function Vn(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[or(o)]=i[o];return e}function Yn(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Kn(t){for(;t=t.parent;)if(t.data.transition)return!0}function Xn(t,e){return e.key===t.key&&e.tag===t.tag}function Jn(t){return t.isComment&&t.asyncFactory}function Zn(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Qn(t){t.data.newPos=t.elm.getBoundingClientRect()}function tr(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var er=Object.prototype.toString,nr=(d("slot,component",!0),d("key,ref,slot,is")),rr=Object.prototype.hasOwnProperty,ir=/-(\w)/g,or=g(function(t){return t.replace(ir,function(t,e){return e?e.toUpperCase():""})}),sr=g(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),ar=/([^-])([A-Z])/g,ur=g(function(t){return t.replace(ar,"$1-$2").replace(ar,"$1-$2").toLowerCase()}),cr=function(t,e,n){return!1},fr=function(t){return t},lr="data-server-rendered",pr=["component","directive","filter"],dr=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],hr={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:cr,isReservedAttr:cr,isUnknownElement:cr,getTagNamespace:w,parsePlatformTagName:fr,mustUseProp:cr,_lifecycleHooks:dr},vr=Object.freeze({}),gr=/[^\w.$]/,mr=w,yr="__proto__"in{},_r="undefined"!=typeof window,br=_r&&window.navigator.userAgent.toLowerCase(),wr=br&&/msie|trident/.test(br),xr=br&&br.indexOf("msie 9.0")>0,Er=br&&br.indexOf("edge/")>0,Cr=br&&br.indexOf("android")>0,Sr=br&&/iphone|ipad|ipod|ios/.test(br),Ar=br&&/chrome\/\d+/.test(br)&&!Er,Or={}.watch,Pr=!1;if(_r)try{var kr={};Object.defineProperty(kr,"passive",{get:function(){Pr=!0}}),window.addEventListener("test-passive",null,kr)}catch(t){}var Tr,Rr,jr=function(){return void 0===Tr&&(Tr=!_r&&void 0!==t&&"server"===t.process.env.VUE_ENV),Tr},Lr=_r&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Mr="undefined"!=typeof Symbol&&k(Symbol)&&"undefined"!=typeof Reflect&&k(Reflect.ownKeys),$r=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e1?y(n):n;for(var r=y(arguments,1),i=0,o=n.length;i1&&(e[n[0].trim()]=n[1].trim())}}),e}),Vi=/^--/,Yi=/\s*!important$/,Ki=function(t,e,n){if(Vi.test(e))t.style.setProperty(e,n);else if(Yi.test(n))t.style.setProperty(e,n.replace(Yi,""),"important");else{var r=Ji(e);if(Array.isArray(n))for(var i=0,o=n.length;ih?(l=n(i[m+1])?null:i[m+1].elm,y(t,l,i,d,m,o)):d>m&&b(t,e,p,h)}function E(t,e,o,s){if(t!==e){var a=e.elm=t.elm;if(i(t.isAsyncPlaceholder))return void(r(e.asyncFactory.resolved)?S(t.elm,e,o):e.isAsyncPlaceholder=!0);if(i(e.isStatic)&&i(t.isStatic)&&e.key===t.key&&(i(e.isCloned)||i(e.isOnce)))return void(e.componentInstance=t.componentInstance);var u,c=e.data;r(c)&&r(u=c.hook)&&r(u=u.prepatch)&&u(t,e);var f=t.children,l=e.children;if(r(c)&&v(e)){for(u=0;u=200&&t<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){a.headers[t]={}}),i.forEach(["post","put","patch"],function(t){a.headers[t]=i.merge(s)}),t.exports=a}).call(e,n(8))},function(t,e,n){"use strict";function r(t){n(101)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(103),o=n.n(i),s=n(131),a=n(2),u=r,c=a(o.a,s.a,u,null,null);e.default=c.exports},function(t,e,n){(function(e){function r(t,n,r,i,o){var s={sha1:"SHA-1","sha-1":"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha512:"SHA-512","sha-512":"SHA-512"};return window.crypto.subtle.importKey("raw",new e(t),"PBKDF2",!1,["deriveKey"]).then(function(t){var a={name:"PBKDF2",salt:new e(n),iterations:r,hash:s[o.toLowerCase()]};return window.crypto.subtle.deriveKey(a,t,{name:"AES-CTR",length:8*i},!0,["encrypt","decrypt"])}).then(function(t){return window.crypto.subtle.exportKey("raw",t).then(function(t){return new e(t).toString("hex")})})}function i(t,e,n,r,i){return new s(function(s,a){o.pbkdf2(t,e,n,r,i,function(t,e){t?a("error in pbkdf2"):s(e.toString("hex"))})})}var o=n(107),s=n(50);t.exports=function(){return!("undefined"==typeof window||!window.crypto||!window.crypto.subtle)}()?r:i}).call(e,n(1).Buffer)},function(t,e){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(t){return"function"==typeof t}function i(t){return"number"==typeof t}function o(t){return"object"==typeof t&&null!==t}function s(t){return void 0===t}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if(!i(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,n,i,a,u,c;if(this._events||(this._events={}),"error"===t&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var f=new Error('Uncaught, unspecified "error" event. ('+e+")");throw f.context=e,f}if(n=this._events[t],s(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),n.apply(this,a)}else if(o(n))for(a=Array.prototype.slice.call(arguments,1),c=n.slice(),i=c.length,u=0;u0&&this._events[t].length>i&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){function n(){this.removeListener(t,n),i||(i=!0,e.apply(this,arguments))}if(!r(e))throw TypeError("listener must be a function");var i=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,i,s,a;if(!r(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],s=n.length,i=-1,n===e||r(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(o(n)){for(a=s;a-- >0;)if(n[a]===e||n[a].listener&&n[a].listener===e){i=a;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[t],r(n))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){return this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,n){e=t.exports=n(42),e.Stream=e,e.Readable=e,e.Writable=n(22),e.Duplex=n(11),e.Transform=n(46),e.PassThrough=n(115)},function(t,e,n){"use strict";(function(e,r,i){function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){O(e,t)}}function s(t){return M.from(t)}function a(t){return M.isBuffer(t)||t instanceof $}function u(){}function c(t,e){k=k||n(11),t=t||{},this.objectMode=!!t.objectMode,e instanceof k&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){y(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function f(t){if(k=k||n(11),!(I.call(f,this)||this instanceof k))return new f(t);this._writableState=new c(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),L.call(this)}function l(t,e){var n=new Error("write after end");t.emit("error",n),P(e,n)}function p(t,e,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),P(r,o),i=!1),i}function d(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=M.from(e,n)),e}function h(t,e,n,r,i,o){if(!n){var s=d(e,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=e.objectMode?1:r.length;e.length+=a;var u=e.length-1?r:P;f.WritableState=c;var R=n(13);R.inherits=n(0);var j={deprecate:n(114)},L=n(43),M=n(10).Buffer,$=i.Uint8Array||function(){},B=n(44);R.inherits(f,L),c.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(c.prototype,"buffer",{get:j.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}();var I;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(I=Function.prototype[Symbol.hasInstance],Object.defineProperty(f,Symbol.hasInstance,{value:function(t){return!!I.call(this,t)||t&&t._writableState instanceof c}})):I=function(t){return t instanceof this},f.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},f.prototype.write=function(t,e,n){var r=this._writableState,i=!1,o=a(t)&&!r.objectMode;return o&&!M.isBuffer(t)&&(t=s(t)),"function"==typeof e&&(n=e,e=null),o?e="buffer":e||(e=r.defaultEncoding),"function"!=typeof n&&(n=u),r.ended?l(this,n):(o||p(this,r,t,n))&&(r.pendingcb++,i=h(this,r,o,t,e,n)),i},f.prototype.cork=function(){this._writableState.corked++},f.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||w(this,t))},f.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},f.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},f.prototype._writev=null,f.prototype.end=function(t,e,n){var r=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||A(this,r,n)},Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),f.prototype.destroy=B.destroy,f.prototype._undestroy=B.undestroy,f.prototype._destroy=function(t,e){this.end(),e(t)}}).call(e,n(8),n(45).setImmediate,n(4))},function(t,e,n){function r(t){if(t&&!u(t))throw new Error("Unknown encoding: "+t)}function i(t){return t.toString(this.encoding)}function o(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function s(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}var a=n(1).Buffer,u=a.isEncoding||function(t){switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},c=e.StringDecoder=function(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),r(t),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=s;break;default:return void(this.write=i)}this.charBuffer=new a(6),this.charReceived=0,this.charLength=0};c.prototype.write=function(t){for(var e="";this.charLength;){var n=t.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&r<=56319)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var i=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,i),i-=this.charReceived),e+=t.toString(this.encoding,0,i);var i=e.length-1,r=e.charCodeAt(i);if(r>=55296&&r<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),t.copy(this.charBuffer,0,0,o),e.substring(0,i)}return e},c.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var n=t[t.length-e];if(1==e&&n>>5==6){this.charLength=2;break}if(e<=2&&n>>4==14){this.charLength=3;break}if(e<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=e},c.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;e+=r.slice(0,n).toString(i)}return e}},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(16),s=i(o),a=n(7),u=i(a),c=n(66),f=r(c),l=n(87),p=r(l),d=n(88),h=i(d),v=n(89),g=i(v),m=n(32),y=i(m);s.default.use(u.default);var _={authenticated:!1,password:y.default,passwords:[],defaultPassword:y.default,lastUse:null,showOptions:!1,token:null,baseURL:"https://lesspass.com"};e.default=new u.default.Store({state:_,getters:p,actions:f,mutations:h.default,plugins:[(0,g.default)({key:"lesspass"})]})},function(t,e,n){t.exports=n(68)},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;rn||e!==e)throw new TypeError("Bad key length")}},function(t,e,n){(function(e){var n;if(e.browser)n="utf-8";else{n=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}t.exports=n}).call(e,n(8))},function(t,e,n){function r(t,e,n){var r=i(t),o="sha512"===t||"sha384"===t?128:64;e.length>o?e=r(e):e.length>5]|=128<>>9<<4)]=e;for(var n=1732584193,r=-271733879,i=-1732584194,f=271733878,l=0;l>16)+(e>>16)+(n>>16)<<16|65535&n}function f(t,e){return t<>>32-e}var l=n(109);t.exports=function(t){return l(t,r)}},function(t,e,n){"use strict";(function(e){function r(){l.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function i(t,e){return t<>>32-e}function o(t,e,n,r,o,s,a,u){return i(t+(e^n^r)+s+a|0,u)+o|0}function s(t,e,n,r,o,s,a,u){return i(t+(e&n|~e&r)+s+a|0,u)+o|0}function a(t,e,n,r,o,s,a,u){return i(t+((e|~n)^r)+s+a|0,u)+o|0}function u(t,e,n,r,o,s,a,u){return i(t+(e&r|n&~r)+s+a|0,u)+o|0}function c(t,e,n,r,o,s,a,u){return i(t+(e^(n|~r))+s+a|0,u)+o|0}var f=n(0),l=n(110);f(r,l),r.prototype._update=function(){for(var t=new Array(16),e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var n=this._a,r=this._b,f=this._c,l=this._d,p=this._e;n=o(n,r,f,l,p,t[0],0,11),f=i(f,10),p=o(p,n,r,f,l,t[1],0,14),r=i(r,10),l=o(l,p,n,r,f,t[2],0,15),n=i(n,10),f=o(f,l,p,n,r,t[3],0,12),p=i(p,10),r=o(r,f,l,p,n,t[4],0,5),l=i(l,10),n=o(n,r,f,l,p,t[5],0,8),f=i(f,10),p=o(p,n,r,f,l,t[6],0,7),r=i(r,10),l=o(l,p,n,r,f,t[7],0,9),n=i(n,10),f=o(f,l,p,n,r,t[8],0,11),p=i(p,10),r=o(r,f,l,p,n,t[9],0,13),l=i(l,10),n=o(n,r,f,l,p,t[10],0,14),f=i(f,10),p=o(p,n,r,f,l,t[11],0,15),r=i(r,10),l=o(l,p,n,r,f,t[12],0,6),n=i(n,10),f=o(f,l,p,n,r,t[13],0,7),p=i(p,10),r=o(r,f,l,p,n,t[14],0,9),l=i(l,10),n=o(n,r,f,l,p,t[15],0,8),f=i(f,10),p=s(p,n,r,f,l,t[7],1518500249,7),r=i(r,10),l=s(l,p,n,r,f,t[4],1518500249,6),n=i(n,10),f=s(f,l,p,n,r,t[13],1518500249,8),p=i(p,10),r=s(r,f,l,p,n,t[1],1518500249,13),l=i(l,10),n=s(n,r,f,l,p,t[10],1518500249,11),f=i(f,10),p=s(p,n,r,f,l,t[6],1518500249,9),r=i(r,10),l=s(l,p,n,r,f,t[15],1518500249,7),n=i(n,10),f=s(f,l,p,n,r,t[3],1518500249,15),p=i(p,10),r=s(r,f,l,p,n,t[12],1518500249,7),l=i(l,10),n=s(n,r,f,l,p,t[0],1518500249,12),f=i(f,10),p=s(p,n,r,f,l,t[9],1518500249,15),r=i(r,10),l=s(l,p,n,r,f,t[5],1518500249,9),n=i(n,10),f=s(f,l,p,n,r,t[2],1518500249,11),p=i(p,10),r=s(r,f,l,p,n,t[14],1518500249,7),l=i(l,10),n=s(n,r,f,l,p,t[11],1518500249,13),f=i(f,10),p=s(p,n,r,f,l,t[8],1518500249,12),r=i(r,10),l=a(l,p,n,r,f,t[3],1859775393,11),n=i(n,10),f=a(f,l,p,n,r,t[10],1859775393,13),p=i(p,10),r=a(r,f,l,p,n,t[14],1859775393,6),l=i(l,10),n=a(n,r,f,l,p,t[4],1859775393,7),f=i(f,10),p=a(p,n,r,f,l,t[9],1859775393,14),r=i(r,10),l=a(l,p,n,r,f,t[15],1859775393,9),n=i(n,10),f=a(f,l,p,n,r,t[8],1859775393,13),p=i(p,10),r=a(r,f,l,p,n,t[1],1859775393,15),l=i(l,10),n=a(n,r,f,l,p,t[2],1859775393,14),f=i(f,10),p=a(p,n,r,f,l,t[7],1859775393,8),r=i(r,10),l=a(l,p,n,r,f,t[0],1859775393,13),n=i(n,10),f=a(f,l,p,n,r,t[6],1859775393,6),p=i(p,10),r=a(r,f,l,p,n,t[13],1859775393,5),l=i(l,10),n=a(n,r,f,l,p,t[11],1859775393,12),f=i(f,10),p=a(p,n,r,f,l,t[5],1859775393,7),r=i(r,10),l=a(l,p,n,r,f,t[12],1859775393,5),n=i(n,10),f=u(f,l,p,n,r,t[1],2400959708,11),p=i(p,10),r=u(r,f,l,p,n,t[9],2400959708,12),l=i(l,10),n=u(n,r,f,l,p,t[11],2400959708,14),f=i(f,10),p=u(p,n,r,f,l,t[10],2400959708,15),r=i(r,10),l=u(l,p,n,r,f,t[0],2400959708,14),n=i(n,10),f=u(f,l,p,n,r,t[8],2400959708,15),p=i(p,10),r=u(r,f,l,p,n,t[12],2400959708,9),l=i(l,10),n=u(n,r,f,l,p,t[4],2400959708,8),f=i(f,10),p=u(p,n,r,f,l,t[13],2400959708,9),r=i(r,10),l=u(l,p,n,r,f,t[3],2400959708,14),n=i(n,10),f=u(f,l,p,n,r,t[7],2400959708,5),p=i(p,10),r=u(r,f,l,p,n,t[15],2400959708,6),l=i(l,10),n=u(n,r,f,l,p,t[14],2400959708,8),f=i(f,10),p=u(p,n,r,f,l,t[5],2400959708,6),r=i(r,10),l=u(l,p,n,r,f,t[6],2400959708,5),n=i(n,10),f=u(f,l,p,n,r,t[2],2400959708,12),p=i(p,10),r=c(r,f,l,p,n,t[4],2840853838,9),l=i(l,10),n=c(n,r,f,l,p,t[0],2840853838,15),f=i(f,10),p=c(p,n,r,f,l,t[5],2840853838,5),r=i(r,10),l=c(l,p,n,r,f,t[9],2840853838,11),n=i(n,10),f=c(f,l,p,n,r,t[7],2840853838,6),p=i(p,10),r=c(r,f,l,p,n,t[12],2840853838,8),l=i(l,10),n=c(n,r,f,l,p,t[2],2840853838,13),f=i(f,10),p=c(p,n,r,f,l,t[10],2840853838,12),r=i(r,10),l=c(l,p,n,r,f,t[14],2840853838,5),n=i(n,10),f=c(f,l,p,n,r,t[1],2840853838,12),p=i(p,10),r=c(r,f,l,p,n,t[3],2840853838,13),l=i(l,10),n=c(n,r,f,l,p,t[8],2840853838,14),f=i(f,10),p=c(p,n,r,f,l,t[11],2840853838,11),r=i(r,10),l=c(l,p,n,r,f,t[6],2840853838,8),n=i(n,10),f=c(f,l,p,n,r,t[15],2840853838,5),p=i(p,10),r=c(r,f,l,p,n,t[13],2840853838,6),l=i(l,10);var d=this._a,h=this._b,v=this._c,g=this._d,m=this._e;d=c(d,h,v,g,m,t[5],1352829926,8),v=i(v,10),m=c(m,d,h,v,g,t[14],1352829926,9),h=i(h,10),g=c(g,m,d,h,v,t[7],1352829926,9),d=i(d,10),v=c(v,g,m,d,h,t[0],1352829926,11),m=i(m,10),h=c(h,v,g,m,d,t[9],1352829926,13),g=i(g,10),d=c(d,h,v,g,m,t[2],1352829926,15),v=i(v,10),m=c(m,d,h,v,g,t[11],1352829926,15),h=i(h,10),g=c(g,m,d,h,v,t[4],1352829926,5),d=i(d,10),v=c(v,g,m,d,h,t[13],1352829926,7),m=i(m,10),h=c(h,v,g,m,d,t[6],1352829926,7),g=i(g,10),d=c(d,h,v,g,m,t[15],1352829926,8),v=i(v,10),m=c(m,d,h,v,g,t[8],1352829926,11),h=i(h,10),g=c(g,m,d,h,v,t[1],1352829926,14),d=i(d,10),v=c(v,g,m,d,h,t[10],1352829926,14),m=i(m,10),h=c(h,v,g,m,d,t[3],1352829926,12),g=i(g,10),d=c(d,h,v,g,m,t[12],1352829926,6),v=i(v,10),m=u(m,d,h,v,g,t[6],1548603684,9),h=i(h,10),g=u(g,m,d,h,v,t[11],1548603684,13),d=i(d,10),v=u(v,g,m,d,h,t[3],1548603684,15),m=i(m,10),h=u(h,v,g,m,d,t[7],1548603684,7),g=i(g,10),d=u(d,h,v,g,m,t[0],1548603684,12),v=i(v,10),m=u(m,d,h,v,g,t[13],1548603684,8),h=i(h,10),g=u(g,m,d,h,v,t[5],1548603684,9),d=i(d,10),v=u(v,g,m,d,h,t[10],1548603684,11),m=i(m,10),h=u(h,v,g,m,d,t[14],1548603684,7),g=i(g,10),d=u(d,h,v,g,m,t[15],1548603684,7),v=i(v,10),m=u(m,d,h,v,g,t[8],1548603684,12),h=i(h,10),g=u(g,m,d,h,v,t[12],1548603684,7),d=i(d,10),v=u(v,g,m,d,h,t[4],1548603684,6),m=i(m,10),h=u(h,v,g,m,d,t[9],1548603684,15),g=i(g,10),d=u(d,h,v,g,m,t[1],1548603684,13),v=i(v,10),m=u(m,d,h,v,g,t[2],1548603684,11),h=i(h,10),g=a(g,m,d,h,v,t[15],1836072691,9),d=i(d,10),v=a(v,g,m,d,h,t[5],1836072691,7),m=i(m,10),h=a(h,v,g,m,d,t[1],1836072691,15),g=i(g,10),d=a(d,h,v,g,m,t[3],1836072691,11),v=i(v,10),m=a(m,d,h,v,g,t[7],1836072691,8),h=i(h,10),g=a(g,m,d,h,v,t[14],1836072691,6),d=i(d,10),v=a(v,g,m,d,h,t[6],1836072691,6),m=i(m,10),h=a(h,v,g,m,d,t[9],1836072691,14),g=i(g,10),d=a(d,h,v,g,m,t[11],1836072691,12),v=i(v,10),m=a(m,d,h,v,g,t[8],1836072691,13),h=i(h,10),g=a(g,m,d,h,v,t[12],1836072691,5),d=i(d,10),v=a(v,g,m,d,h,t[2],1836072691,14),m=i(m,10),h=a(h,v,g,m,d,t[10],1836072691,13),g=i(g,10),d=a(d,h,v,g,m,t[0],1836072691,13),v=i(v,10),m=a(m,d,h,v,g,t[4],1836072691,7),h=i(h,10),g=a(g,m,d,h,v,t[13],1836072691,5),d=i(d,10),v=s(v,g,m,d,h,t[8],2053994217,15),m=i(m,10),h=s(h,v,g,m,d,t[6],2053994217,5),g=i(g,10),d=s(d,h,v,g,m,t[4],2053994217,8),v=i(v,10),m=s(m,d,h,v,g,t[1],2053994217,11),h=i(h,10),g=s(g,m,d,h,v,t[3],2053994217,14),d=i(d,10),v=s(v,g,m,d,h,t[11],2053994217,14),m=i(m,10),h=s(h,v,g,m,d,t[15],2053994217,6),g=i(g,10),d=s(d,h,v,g,m,t[0],2053994217,14),v=i(v,10),m=s(m,d,h,v,g,t[5],2053994217,6),h=i(h,10),g=s(g,m,d,h,v,t[12],2053994217,9),d=i(d,10),v=s(v,g,m,d,h,t[2],2053994217,12),m=i(m,10),h=s(h,v,g,m,d,t[13],2053994217,9),g=i(g,10),d=s(d,h,v,g,m,t[9],2053994217,12),v=i(v,10),m=s(m,d,h,v,g,t[7],2053994217,5),h=i(h,10),g=s(g,m,d,h,v,t[10],2053994217,15),d=i(d,10),v=s(v,g,m,d,h,t[14],2053994217,8),m=i(m,10),h=o(h,v,g,m,d,t[12],0,8),g=i(g,10),d=o(d,h,v,g,m,t[15],0,5),v=i(v,10),m=o(m,d,h,v,g,t[10],0,12),h=i(h,10),g=o(g,m,d,h,v,t[4],0,9),d=i(d,10),v=o(v,g,m,d,h,t[1],0,12),m=i(m,10),h=o(h,v,g,m,d,t[5],0,5),g=i(g,10),d=o(d,h,v,g,m,t[8],0,14),v=i(v,10),m=o(m,d,h,v,g,t[7],0,6),h=i(h,10),g=o(g,m,d,h,v,t[6],0,8),d=i(d,10),v=o(v,g,m,d,h,t[2],0,13),m=i(m,10),h=o(h,v,g,m,d,t[13],0,6),g=i(g,10),d=o(d,h,v,g,m,t[14],0,5),v=i(v,10),m=o(m,d,h,v,g,t[0],0,15),h=i(h,10),g=o(g,m,d,h,v,t[3],0,13),d=i(d,10),v=o(v,g,m,d,h,t[9],0,11),m=i(m,10),h=o(h,v,g,m,d,t[11],0,11),g=i(g,10);var y=this._b+f+g|0;this._b=this._c+l+m|0,this._c=this._d+p+d|0,this._d=this._e+n+h|0,this._e=this._a+r+v|0,this._a=y},r.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=new e(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){function r(){i.call(this)}t.exports=r;var i=n(20).EventEmitter;n(0)(r,i),r.Readable=n(21),r.Writable=n(116),r.Duplex=n(117),r.Transform=n(118),r.PassThrough=n(119),r.Stream=r,r.prototype.pipe=function(t,e){function n(e){t.writable&&!1===t.write(e)&&c.pause&&c.pause()}function r(){c.readable&&c.resume&&c.resume()}function o(){f||(f=!0,t.end())}function s(){f||(f=!0,"function"==typeof t.destroy&&t.destroy())}function a(t){if(u(),0===i.listenerCount(this,"error"))throw t}function u(){c.removeListener("data",n),t.removeListener("drain",r),c.removeListener("end",o),c.removeListener("close",s),c.removeListener("error",a),t.removeListener("error",a),c.removeListener("end",u),c.removeListener("close",u),t.removeListener("close",u)}var c=this;c.on("data",n),t.on("drain",r),t._isStdio||e&&!1===e.end||(c.on("end",o),c.on("close",s));var f=!1;return c.on("error",a),t.on("error",a),c.on("end",u),c.on("close",u),t.on("close",u),t.emit("pipe",c),t}},function(t,e,n){"use strict";(function(e,r){function i(t){return I.from(t)}function o(t){return I.isBuffer(t)||t instanceof U}function s(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?M(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}function a(t,e){L=L||n(11),t=t||{},this.objectMode=!!t.objectMode,e instanceof L&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new z,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(q||(q=n(23).StringDecoder),this.decoder=new q(t.encoding),this.encoding=t.encoding)}function u(t){if(L=L||n(11),!(this instanceof u))return new u(t);this._readableState=new a(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),B.call(this)}function c(t,e,n,r,o){var s=t._readableState;if(null===e)s.reading=!1,v(t,s);else{var a;o||(a=l(s,e)),a?t.emit("error",a):s.objectMode||e&&e.length>0?("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===I.prototype||(e=i(e)),r?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):f(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(e=s.decoder.write(e),s.objectMode||0!==e.length?f(t,s,e,!1):y(t,s)):f(t,s,e,!1))):r||(s.reading=!1)}return p(s)}function f(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&g(t)),y(t,e)}function l(t,e){var n;return o(e)||"string"==typeof e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function p(t){return!t.ended&&(t.needReadable||t.length=W?t=W:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function h(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=d(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function v(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,g(t)}}function g(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(F("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?j(m,t):m(t))}function m(t){F("emit readable"),t.emit("readable"),C(t)}function y(t,e){e.readingMore||(e.readingMore=!0,j(_,t,e))}function _(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=A(t,e.buffer,e.decoder),n}function A(t,e,n){var r;return to.length?o.length:t;if(s===o.length?i+=o:i+=o.slice(0,t),0===(t-=s)){s===o.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(s));break}++r}return e.length-=r,i}function P(t,e){var n=I.allocUnsafe(t),r=e.head,i=1;for(r.data.copy(n),t-=r.data.length;r=r.next;){var o=r.data,s=t>o.length?o.length:t;if(o.copy(n,n.length-t,0,s),0===(t-=s)){s===o.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(s));break}++i}return e.length-=i,n}function k(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,j(T,e,t))}function T(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function R(t,e){for(var n=0,r=t.length;n=e.highWaterMark||e.ended))return F("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?k(this):g(this),null;if(0===(t=h(t,e))&&e.ended)return 0===e.length&&k(this),null;var r=e.needReadable;F("need readable",r),(0===e.length||e.length-t0?S(t,e):null,null===i?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&k(this)),null!==i&&this.emit("data",i),i},u.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},u.prototype.pipe=function(t,e){function n(t,e){F("onunpipe"),t===p&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,o())}function i(){F("onend"),t.end()}function o(){F("cleanup"),t.removeListener("close",c),t.removeListener("finish",f),t.removeListener("drain",g),t.removeListener("error",u),t.removeListener("unpipe",n),p.removeListener("end",i),p.removeListener("end",l),p.removeListener("data",a),m=!0,!d.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}function a(e){F("ondata"),y=!1,!1!==t.write(e)||y||((1===d.pipesCount&&d.pipes===t||d.pipesCount>1&&-1!==R(d.pipes,t))&&!m&&(F("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,y=!0),p.pause())}function u(e){F("onerror",e),l(),t.removeListener("error",u),0===$(t,"error")&&t.emit("error",e)}function c(){t.removeListener("finish",f),l()}function f(){F("onfinish"),t.removeListener("close",c),l()}function l(){F("unpipe"),p.unpipe(t)}var p=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=t;break;case 1:d.pipes=[d.pipes,t];break;default:d.pipes.push(t)}d.pipesCount+=1,F("pipe count=%d opts=%j",d.pipesCount,e);var h=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr,v=h?i:l;d.endEmitted?j(v):p.once("end",v),t.on("unpipe",n);var g=b(p);t.on("drain",g);var m=!1,y=!1;return p.on("data",a),s(t,"error",u),t.once("close",c),t.once("finish",f),t.emit("pipe",p),d.flowing||(F("pipe resume"),p.resume()),t},u.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n),this);if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(113),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){"use strict";function r(t){this.afterTransform=function(e,n){return i(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function i(t,e,n){var r=t._transformState;r.transforming=!1;var i=r.writecb;if(!i)return t.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&t.push(n),i(e);var o=t._readableState;o.reading=!1,(o.needReadable||o.length>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function a(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function u(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function c(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}var f=n(0),l=n(12),p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],d=new Array(64);f(r,l),r.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._a,r=0|this._b,f=0|this._c,l=0|this._d,d=0|this._e,h=0|this._f,v=0|this._g,g=0|this._h,m=0;m<16;++m)e[m]=t.readInt32BE(4*m);for(;m<64;++m)e[m]=c(e[m-2])+e[m-7]+u(e[m-15])+e[m-16]|0;for(var y=0;y<64;++y){var _=g+a(d)+i(d,h,v)+p[y]+e[y]|0,b=s(n)+o(n,r,f)|0;g=v,v=h,h=d,d=l+_|0,l=f,f=r,r=n,n=_+b|0}this._a=n+this._a|0,this._b=r+this._b|0,this._c=f+this._c|0,this._d=l+this._d|0,this._e=d+this._e|0,this._f=h+this._f|0,this._g=v+this._g|0,this._h=g+this._h|0},r.prototype._hash=function(){var t=new e(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){(function(e){function r(){this.init(),this._w=g,h.call(this,128,112)}function i(t,e,n){return n^t&(e^n)}function o(t,e,n){return t&e|n&(t|e)}function s(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function a(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function u(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function c(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function f(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function l(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function p(t,e){return t>>>0>>0?1:0}var d=n(0),h=n(12),v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],g=new Array(160);d(r,h),r.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},r.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,d=0|this._ch,h=0|this._dh,g=0|this._eh,m=0|this._fh,y=0|this._gh,_=0|this._hh,b=0|this._al,w=0|this._bl,x=0|this._cl,E=0|this._dl,C=0|this._el,S=0|this._fl,A=0|this._gl,O=0|this._hl,P=0;P<32;P+=2)e[P]=t.readInt32BE(4*P),e[P+1]=t.readInt32BE(4*P+4);for(;P<160;P+=2){var k=e[P-30],T=e[P-30+1],R=u(k,T),j=c(T,k);k=e[P-4],T=e[P-4+1];var L=f(k,T),M=l(T,k),$=e[P-14],B=e[P-14+1],I=e[P-32],U=e[P-32+1],D=j+B|0,N=R+$+p(D,j)|0;D=D+M|0,N=N+L+p(D,M)|0,D=D+U|0,N=N+I+p(D,U)|0,e[P]=N,e[P+1]=D}for(var F=0;F<160;F+=2){N=e[F],D=e[F+1];var q=o(n,r,d),z=o(b,w,x),H=s(n,b),G=s(b,n),W=a(g,C),V=a(C,g),Y=v[F],K=v[F+1],X=i(g,m,y),J=i(C,S,A),Z=O+V|0,Q=_+W+p(Z,O)|0;Z=Z+J|0,Q=Q+X+p(Z,J)|0,Z=Z+K|0,Q=Q+Y+p(Z,K)|0,Z=Z+D|0,Q=Q+N+p(Z,D)|0;var tt=G+z|0,et=H+q+p(tt,G)|0;_=y,O=A,y=m,A=S,m=g,S=C,C=E+Z|0,g=h+Q+p(C,E)|0,h=d,E=x,d=r,x=w,r=n,w=b,b=Z+tt|0,n=Q+et+p(b,Z)|0}this._al=this._al+b|0,this._bl=this._bl+w|0,this._cl=this._cl+x|0,this._dl=this._dl+E|0,this._el=this._el+C|0,this._fl=this._fl+S|0,this._gl=this._gl+A|0,this._hl=this._hl+O|0,this._ah=this._ah+n+p(this._al,b)|0,this._bh=this._bh+r+p(this._bl,w)|0,this._ch=this._ch+d+p(this._cl,x)|0,this._dh=this._dh+h+p(this._dl,E)|0,this._eh=this._eh+g+p(this._el,C)|0,this._fh=this._fh+m+p(this._fl,S)|0,this._gh=this._gh+y+p(this._gl,A)|0,this._hh=this._hh+_+p(this._hl,O)|0},r.prototype._hash=function(){function t(t,e,r){n.writeInt32BE(t,r),n.writeInt32BE(e,r+4)}var n=new e(64);return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),n},t.exports=r}).call(e,n(1).Buffer)},function(t,e,n){"use strict";t.exports="function"==typeof Promise?Promise:n(124)},function(t,e,n){(function(e){function r(t){i.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._decoder=null,this._encoding=null}var i=n(41).Transform,o=n(0),s=n(23).StringDecoder;t.exports=r,o(r,i),r.prototype.update=function(t,n,r){"string"==typeof t&&(t=new e(t,n));var i=this._update(t);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},r.prototype.setAutoPadding=function(){},r.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},r.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},r.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},r.prototype._transform=function(t,e,n){var r;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){r=t}finally{n(r)}},r.prototype._flush=function(t){var e;try{this.push(this._final())}catch(t){e=t}finally{t(e)}},r.prototype._finalOrDigest=function(t){var n=this._final()||new e("");return t&&(n=this._toString(n,t,!0)),n},r.prototype._toString=function(t,e,n){if(this._decoder||(this._decoder=new s(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var r=this._decoder.write(t);return n&&(r+=this._decoder.end()),r}}).call(e,n(1).Buffer)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i=n(16),o=r(i),s=n(53),a=r(s),u=n(94),c=n(24),f=r(c),l=n(95),p=r(l),d=n(171),h=r(d);o.default.use(h.default,{defaultLanguage:"en",languagesAvailable:["fr","es","de","zh","zh-CN"]}),(0,u.sync)(f.default,p.default),new o.default({el:"#lesspass",beforeCreate:function(){this.$polyglot.getLocale({baseURL:"dist/i18n",lang:"auto"})},store:f.default,router:p.default,render:function(t){return t(a.default)}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(54),i=n.n(r),o=n(93),s=n(2),a=s(i.a,o.a,null,null,null);e.default=a.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),n(55);var i=n(56),o=r(i),s=n(62),a=r(s),u=n(7);e.default={name:"LessPass",components:{"lesspass-menu":o.default,"lesspass-message":a.default},computed:(0,u.mapGetters)(["version"]),created:function(){this.$store.dispatch("cleanMessage"),this.$store.dispatch("refreshToken")}}},function(t,e){},function(t,e,n){"use strict";function r(t){n(57)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(60),o=n.n(i),s=n(61),a=n(2),u=r,c=a(o.a,s.a,u,null,null);e.default=c.exports},function(t,e,n){var r=n(58);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("081bb21e",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#menu .text-white,#menu .white-link{color:inherit}#menu .white-link:active,#menu .white-link:focus,#menu .white-link:hover{text-decoration:none;color:inherit}.card-inverse{background-color:#333;border-color:#333}",""])},function(t,e){t.exports=function(t,e){for(var n=[],r={},i=0;i=9){var i=f.getPasswordFromUrlQuery(r);n(p.SET_PASSWORD,{password:i})}},e.savePassword=function(t,e){(0,t.commit)(p.SET_PASSWORD,e)}),v=(e.saveVersion=function(t,e){(0,t.commit)(p.SET_VERSION,e)},e.getSite=function(t){var e=t.commit;f.getSite().then(function(t){t&&e(p.SET_SITE,{site:t})})},e.login=function(t,e){var n=t.commit;n(p.SET_BASE_URL,e),n(p.SET_TOKEN,e),n(p.LOGIN)},e.logout=function(t){(0,t.commit)(p.LOGOUT)},e.getPasswords=function(t){var e=t.commit,n=t.state;n.authenticated&&s.default.all(n).then(function(t){e(p.SET_PASSWORDS,{passwords:t.data.results})}).then(function(){return d({commit:e})})});e.saveOrUpdatePassword=function(t){var e=t.commit,n=t.state;if(n.password&&void 0===n.password.id){var r=n.password.site,i=n.password.login;(r||i)&&s.default.create(n.password,n).then(function(t){h({commit:e},{password:t.data}),v({commit:e,state:n})})}else s.default.update(n.password,n).then(function(){v({commit:e,state:n})})},e.deletePassword=function(t,e){var n=t.commit,r=t.state;s.default.delete(e,r).then(function(){n(p.DELETE_PASSWORD,e)})},e.displayMessage=function(t,e){(0,t.commit)(p.SET_MESSAGE,e)},e.cleanMessage=function(t){(0,t.commit)(p.CLEAN_MESSAGE)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e @@ -35,4 +35,4 @@ object-assign (c) Sindre Sorhus @license MIT */ -var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,u=r(t),c=1;c=e||n<0||A&&r>=m}function f(){var t=x();if(c(t))return l(t);_=setTimeout(f,u(t))}function l(t){return _=void 0,O&&v?i(t):(v=g=void 0,y)}function p(){void 0!==_&&clearTimeout(_),C=0,v=E=g=_=void 0}function d(){return void 0===_?y:l(x())}function h(){var t=x(),n=c(t);if(v=arguments,g=this,E=t,n){if(void 0===_)return o(E);if(A)return _=setTimeout(f,e),i(E)}return void 0===_&&(_=setTimeout(f,e)),y}var v,g,m,y,_,E,C=0,S=!1,A=!1,O=!0;if("function"!=typeof t)throw new TypeError(a);return e=s(e)||0,r(n)&&(S=!!n.leading,A="maxWait"in n,m=A?b(s(n.maxWait)||0,e):m,O="trailing"in n?!!n.trailing:O),h.cancel=p,h.flush=d,h}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function i(t){return!!t&&"object"==typeof t}function o(t){return"symbol"==typeof t||i(t)&&_.call(t)==c}function s(t){if("number"==typeof t)return t;if(o(t))return u;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(f,"");var n=p.test(t);return n||d.test(t)?h(t.slice(2),n?2:8):l.test(t)?u:+t}var a="Expected a function",u=NaN,c="[object Symbol]",f=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt,v="object"==typeof e&&e&&e.Object===Object&&e,g="object"==typeof self&&self&&self.Object===Object&&self,m=v||g||Function("return this")(),y=Object.prototype,_=y.toString,b=Math.max,w=Math.min,x=function(){return m.Date.now()};t.exports=n}).call(e,n(4))},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"masterPassword"},[n("div",{staticClass:"input-group inner-addon left-addon"},[n("label",{staticClass:"sr-only",attrs:{for:"passwordField"}},[t._v("\n "+t._s(t.label)+"\n ")]),t._v(" "),n("i",{staticClass:"fa fa-lock"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],ref:"passwordField",staticClass:"form-control",attrs:{id:"passwordField",name:"passwordField",type:"password",autocorrect:"off",autocapitalize:"off",placeholder:t.label},domProps:{value:t.password},on:{blur:function(e){t.hidePassword(t.$refs.passwordField)},input:function(e){e.target.composing||(t.password=e.target.value)}}}),t._v(" "),t.fingerprint&&t.password?n("span",{staticClass:"input-group-btn",on:{click:function(e){t.togglePasswordType(t.$refs.passwordField)}}},[n("button",{staticClass:"btn",attrs:{id:"fingerprint",type:"button",tabindex:"-1"}},[n("small",{staticClass:"hint--left"},[n("i",{staticClass:"fa fa-fw",class:[t.icon1],style:{color:t.color1}}),t._v(" "),n("i",{staticClass:"fa fa-fw",class:[t.icon2],style:{color:t.color2}}),t._v(" "),n("i",{staticClass:"fa fa-fw",class:[t.icon3],style:{color:t.color3}})])])]):t._e()]),t._v(" "),t.showEncryptButton?n("button",{staticClass:"btn btn-link btn-sm p-0",class:{disabled:""===t.email,"hint--top hint--medium":""!==t.email},attrs:{id:"encryptMasterPassword__btn",type:"button"},on:{click:function(e){t.encryptMasterPassword(t.$refs.passwordField.value)}}},[n("small",[t._v(t._s(t.EncryptButtonText))])]):t._e()])},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{on:{submit:function(e){e.preventDefault(),t.signIn(e)}}},[n("div",{staticClass:"form-group"},[n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-globe"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseURL,expression:"baseURL"}],staticClass:"form-control",attrs:{id:"baseURL",autocapitalize:"none",placeholder:t.$t("LessPass Database Url")},domProps:{value:t.baseURL},on:{input:function(e){e.target.composing||(t.baseURL=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-user"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"form-control",attrs:{id:"email",name:"username",type:"email",autocapitalize:"none",placeholder:t.$t("Email"),required:""},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}})])])]),t._v(" "),n("div",{staticClass:"form-group mb-2"},[n("master-password",{attrs:{label:t.$t("Master Password"),email:t.email,showEncryptButton:!0,EncryptButtonText:t.$t("Encrypt my master password")},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}})],1),t._v(" "),n("div",{staticClass:"form-group row no-gutters mb-0"},[n("div",{staticClass:"col"},[n("button",{staticClass:"btn btn-block",class:{"btn-warning":1===t.version,"btn-primary":2===t.version},attrs:{id:"signInButton"}},[t._v("\n "+t._s(t.$t("Sign In"))+"\n ")])]),t._v(" "),n("div",{staticClass:"col"},[n("button",{staticClass:"btn btn-secondary btn-block",attrs:{id:"registerButton",type:"button"},on:{click:t.register}},[t._v("\n "+t._s(t.$t("Register"))+"\n ")])])]),t._v(" "),n("div",{staticClass:"form-group mb-0"},[n("button",{staticClass:"btn btn-link btn-sm p-0",attrs:{type:"button"},on:{click:function(e){t.$router.push({name:"passwordReset"})}}},[n("small",[t._v(t._s(t.$t("ForgotPassword","Forgot your password?")))])])])])},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";function r(t){n(134)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(136),o=n.n(i),s=n(148),a=n(2),u=r,c=a(o.a,s.a,u,null,null);e.default=c.exports},function(t,e,n){var r=n(135);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("1fff9582",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#generated-password{font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif}div.awesomplete{display:block}div.awesomplete>ul{z-index:11}",""])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e0&&new b.default(e,{list:t.map(function(t){return{label:t.site+" "+t.login,value:t}}),replace:function(t){n.$store.dispatch("savePassword",{password:t.value}),this.input.value=t.value.site,n.focusBestInputField()}})},password:{handler:function(){this.cleanErrors()},deep:!0},passwordGenerated:function(){this.cleanFormInSeconds(30)},masterPassword:function(){this.cleanErrors(),this.cleanFormInSeconds(30)}},methods:{togglePasswordType:function(t){"password"===t.type?t.type="text":t.type="password"},cleanErrors:function(){clearTimeout(this.cleanTimeout),this.passwordGenerated=""},cleanFormInSeconds:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:15;clearTimeout(this.cleanTimeout),this.cleanTimeout=setTimeout(function(){t.masterPassword="",t.passwordGenerated="",t.fingerprint=""},1e3*e)},generatePassword:function(){var t=this,e=this.password.site,n=this.password.login,r=this.masterPassword;if(!e&&!n||!r)return void y.default.error(this.$t("SiteLoginMasterPasswordMandatory","Site, login, and master password fields are mandatory."));this.cleanErrors(),this.fingerprint=this.masterPassword;var i={lowercase:this.password.lowercase,uppercase:this.password.uppercase,numbers:this.password.numbers,symbols:this.password.symbols,length:this.password.length,counter:this.password.counter,version:this.password.version};return s.default.generatePassword(e,n,r,i).then(function(e){t.passwordGenerated=e,t.$store.dispatch("savePassword",{password:t.password}),t.$store.dispatch("passwordGenerated")})},focusBestInputField:function(){var t=this.$refs.site,e=this.$refs.login,n=this.$refs.masterPassword;t.value?e.value?n.$refs.passwordField.focus():e.focus():t.focus()},copyPassword:function(){var t=this;(0,c.default)(this.passwordGenerated)?((0,g.showTooltip)(document.getElementById("copyPasswordButton"),this.$t("Copied","copied !")),setTimeout(function(){t.cleanFormInSeconds()},2e3)):y.default.warning(this.$t("SorryCopy","We are sorry the copy only works on modern browsers"))},sharePasswordProfile:function(){var t=this;if((0,c.default)(this.passwordURL)){var e=this.$t("PasswordProfileCopied","Your password profile has been copied");(0,g.showTooltip)(document.getElementById("sharePasswordProfileButton"),e,"hint--top-left"),setTimeout(function(){t.cleanFormInSeconds()},2e3)}else y.default.warning(this.$t("SorryCopy","We are sorry the copy only works on modern browsers"))}}}},function(t,e,n){"use strict";t.exports=function(t){var e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.contain="strict",e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="12pt";var n=getSelection(),r=!1;n.rangeCount>0&&(r=n.getRangeAt(0)),document.body.appendChild(e),e.select();var i=!1;try{i=document.execCommand("copy")}catch(t){}return document.body.removeChild(e),r&&(n.removeAllRanges(),n.addRange(r)),i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(139),i=n(2),o=i(null,r.a,null,null,null);e.default=o.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{display:"none"}},[n("label",{attrs:{for:"username"}},[n("input",{attrs:{type:"text",id:"username",name:"username",autocomplete:"username"}})]),t._v(" "),n("label",{attrs:{for:"password"}},[n("input",{attrs:{type:"password",id:"password",name:"password",autocomplete:"current-password"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";function r(t){n(141)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(143),o=n.n(i),s=n(145),a=n(2),u=r,c=a(o.a,s.a,u,null,null);e.default=c.exports},function(t,e,n){var r=n(142);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("15e23426",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#options input[type=number]{-moz-appearance:textfield}#options input[type=number]::-webkit-inner-spin-button,#options input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}",""])},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(9),i=function(t){return t&&t.__esModule?t:{default:t}}(r),o=n(144);e.default={name:"options",props:{options:Object},watch:{options:{handler:function(t){this.$emit("update:options",t)},deep:!0}},methods:{decrement:o.decrement,increment:o.increment,setVersion:function(t){1===t&&i.default.error(this.$t("WarningV1Deprecated","Version 1 is deprecated and will be deleted soon. We strongly advise you to migrate your passwords to version 2.")),this.options=Object.assign({},this.options,{length:1===t?12:16,version:t}),this.$store.dispatch("saveVersion",{version:t})},saveDefaultOptions:function(){this.$store.dispatch("saveDefaultOptions",{options:this.options}),i.default.success(this.$t("Your options have been saved successfully"))}}}},function(t,e,n){"use strict";function r(t,e){var n=e.min,r=e.max;return t>r?r:t2&&void 0!==arguments[2]?arguments[2]:"hint--top",r=t.className;t.setAttribute("class",r+" "+n),t.setAttribute("aria-label",e),setTimeout(function(){t.setAttribute("class",r),t.setAttribute("aria-label","")},2e3)}Object.defineProperty(e,"__esModule",{value:!0}),e.showTooltip=r},function(t,e){!function(){function e(t){var e=Array.isArray(t)?{label:t[0],value:t[1]}:"object"==typeof t&&"label"in t&&"value"in t?t:{label:t,value:t};this.label=e.label||e.value,this.value=e.value}function n(t,e,n){for(var r in e){var i=e[r],o=t.input.getAttribute("data-"+r.toLowerCase());"number"==typeof i?t[r]=parseInt(o):!1===i?t[r]=null!==o:i instanceof Function?t[r]=null:t[r]=o,t[r]||0===t[r]||(t[r]=r in n?n[r]:i)}}function r(t,e){return"string"==typeof t?(e||document).querySelector(t):t||null}function i(t,e){return a.call((e||document).querySelectorAll(t))}function o(){i("input.awesomplete").forEach(function(t){new s(t)})}var s=function(t,e){var i=this;this.isOpened=!1,this.input=r(t),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-autocomplete","list"),e=e||{},n(this,{minChars:2,maxItems:10,autoFirst:!1,data:s.DATA,filter:s.FILTER_CONTAINS,sort:!1!==e.sort&&s.SORT_BYLENGTH,item:s.ITEM,replace:s.REPLACE},e),this.index=-1,this.container=r.create("div",{className:"awesomplete",around:t}),this.ul=r.create("ul",{hidden:"hidden",inside:this.container}),this.status=r.create("span",{className:"visually-hidden",role:"status","aria-live":"assertive","aria-relevant":"additions",inside:this.container}),this._events={input:{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(t){var e=t.keyCode;i.opened&&(13===e&&i.selected?(t.preventDefault(),i.select()):27===e?i.close({reason:"esc"}):38!==e&&40!==e||(t.preventDefault(),i[38===e?"previous":"next"]()))}},form:{submit:this.close.bind(this,{reason:"submit"})},ul:{mousedown:function(t){var e=t.target;if(e!==this){for(;e&&!/li/i.test(e.nodeName);)e=e.parentNode;e&&0===t.button&&(t.preventDefault(),i.select(e,t.target))}}}},r.bind(this.input,this._events.input),r.bind(this.input.form,this._events.form),r.bind(this.ul,this._events.ul),this.input.hasAttribute("list")?(this.list="#"+this.input.getAttribute("list"),this.input.removeAttribute("list")):this.list=this.input.getAttribute("data-list")||e.list||[],s.all.push(this)};s.prototype={set list(t){if(Array.isArray(t))this._list=t;else if("string"==typeof t&&t.indexOf(",")>-1)this._list=t.split(/\s*,\s*/);else if((t=r(t))&&t.children){var e=[];a.apply(t.children).forEach(function(t){if(!t.disabled){var n=t.textContent.trim(),r=t.value||n,i=t.label||n;""!==r&&e.push({label:i,value:r})}}),this._list=e}document.activeElement===this.input&&this.evaluate()},get selected(){return this.index>-1},get opened(){return this.isOpened},close:function(t){this.opened&&(this.ul.setAttribute("hidden",""),this.isOpened=!1,this.index=-1,r.fire(this.input,"awesomplete-close",t||{}))},open:function(){this.ul.removeAttribute("hidden"),this.isOpened=!0,this.autoFirst&&-1===this.index&&this.goto(0),r.fire(this.input,"awesomplete-open")},destroy:function(){r.unbind(this.input,this._events.input),r.unbind(this.input.form,this._events.form);var t=this.container.parentNode;t.insertBefore(this.input,this.container),t.removeChild(this.container),this.input.removeAttribute("autocomplete"),this.input.removeAttribute("aria-autocomplete");var e=s.all.indexOf(this);-1!==e&&s.all.splice(e,1)},next:function(){var t=this.ul.children.length;this.goto(this.index-1&&e.length>0&&(e[t].setAttribute("aria-selected","true"),this.status.textContent=e[t].textContent,this.ul.scrollTop=e[t].offsetTop-this.ul.clientHeight+e[t].clientHeight,r.fire(this.input,"awesomplete-highlight",{text:this.suggestions[this.index]}))},select:function(t,e){if(t?this.index=r.siblingIndex(t):t=this.ul.children[this.index],t){var n=this.suggestions[this.index];r.fire(this.input,"awesomplete-select",{text:n,origin:e||t})&&(this.replace(n),this.close({reason:"select"}),r.fire(this.input,"awesomplete-selectcomplete",{text:n}))}},evaluate:function(){var t=this,n=this.input.value;n.length>=this.minChars&&this._list.length>0?(this.index=-1,this.ul.innerHTML="",this.suggestions=this._list.map(function(r){return new e(t.data(r,n))}).filter(function(e){return t.filter(e,n)}),!1!==this.sort&&(this.suggestions=this.suggestions.sort(this.sort)),this.suggestions=this.suggestions.slice(0,this.maxItems),this.suggestions.forEach(function(e){t.ul.appendChild(t.item(e,n))}),0===this.ul.children.length?this.close({reason:"nomatches"}):this.open()):this.close({reason:"nomatches"})}},s.all=[],s.FILTER_CONTAINS=function(t,e){return RegExp(r.regExpEscape(e.trim()),"i").test(t)},s.FILTER_STARTSWITH=function(t,e){return RegExp("^"+r.regExpEscape(e.trim()),"i").test(t)},s.SORT_BYLENGTH=function(t,e){return t.length!==e.length?t.length-e.length:t$&"),"aria-selected":"false"})},s.REPLACE=function(t){this.input.value=t.value},s.DATA=function(t){return t},Object.defineProperty(e.prototype=Object.create(String.prototype),"length",{get:function(){return this.label.length}}),e.prototype.toString=e.prototype.valueOf=function(){return""+this.label};var a=Array.prototype.slice;r.create=function(t,e){var n=document.createElement(t);for(var i in e){var o=e[i];if("inside"===i)r(o).appendChild(n);else if("around"===i){var s=r(o);s.parentNode.insertBefore(n,s),n.appendChild(s)}else i in n?n[i]=o:n.setAttribute(i,o)}return n},r.bind=function(t,e){if(t)for(var n in e){var r=e[n];n.split(/\s+/).forEach(function(e){t.addEventListener(e,r)})}},r.unbind=function(t,e){if(t)for(var n in e){var r=e[n];n.split(/\s+/).forEach(function(e){t.removeEventListener(e,r)})}},r.fire=function(t,e,n){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0);for(var i in n)r[i]=n[i];return t.dispatchEvent(r)},r.regExpEscape=function(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")},r.siblingIndex=function(t){for(var e=0;t=t.previousElementSibling;e++);return e},"undefined"!=typeof Document&&("loading"!==document.readyState?o():document.addEventListener("DOMContentLoaded",o)),s.$=r,s.$$=i,"undefined"!=typeof self&&(self.Awesomplete=s),"object"==typeof t&&t.exports&&(t.exports=s)}()},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{attrs:{id:"password-generator"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"sr-only",attrs:{for:"site"}},[t._v(t._s(t.$t("Site")))]),t._v(" "),n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-globe"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password.site,expression:"password.site"}],ref:"site",staticClass:"form-control awesomplete",attrs:{id:"site",name:"site",autocorrect:"off",autocapitalize:"none",placeholder:t.$t("Site")},domProps:{value:t.password.site},on:{input:function(e){e.target.composing||(t.password.site=e.target.value)}}})])]),t._v(" "),n("remove-auto-complete"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"sr-only",attrs:{for:"login"}},[t._v(t._s(t.$t("Login")))]),t._v(" "),n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-user"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password.login,expression:"password.login"}],ref:"login",staticClass:"form-control",attrs:{id:"login",name:"login",autocomplete:"off",autocorrect:"off",autocapitalize:"none",placeholder:t.$t("Login")},domProps:{value:t.password.login},on:{input:function(e){e.target.composing||(t.password.login=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group"},[n("master-password",{ref:"masterPassword",attrs:{keyupEnter:t.generatePassword,label:t.$t("Master Password")},model:{value:t.masterPassword,callback:function(e){t.masterPassword=e},expression:"masterPassword"}})],1),t._v(" "),n("div",{staticClass:"form-group",class:{"mb-0":!t.showOptions}},[t.passwordGenerated?t._e():n("div",[n("button",{staticClass:"btn",class:{"btn-warning":1===t.password.version,"btn-primary":2===t.password.version},attrs:{id:"generatePassword__btn",type:"button"},on:{click:t.generatePassword}},[t._v("\n "+t._s(t.$t("Generate"))+"\n ")]),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:!t.passwordGenerated,expression:"!passwordGenerated"}],staticClass:"btn btn-secondary pull-right showOptions__btn",attrs:{type:"button"},on:{click:function(e){t.showOptions=!t.showOptions}}},[n("i",{staticClass:"fa fa-sliders"})])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.passwordGenerated,expression:"passwordGenerated"}],staticClass:"btn-group"},[n("div",{staticClass:"input-group"},[n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn",class:{"btn-warning":1===t.password.version,"btn-primary":2===t.password.version},attrs:{id:"copyPasswordButton",type:"button"},on:{click:function(e){t.copyPassword()}}},[n("i",{staticClass:"fa fa-clipboard"})])]),t._v(" "),n("input",{ref:"passwordGenerated",staticClass:"form-control",attrs:{id:"generated-password",type:"password",tabindex:"-1"},domProps:{value:t.passwordGenerated}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-secondary",attrs:{id:"revealGeneratedPassword",type:"button"},on:{click:function(e){t.togglePasswordType(t.$refs.passwordGenerated)}}},[n("i",{staticClass:"fa fa-eye"})])]),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-secondary",attrs:{id:"sharePasswordProfileButton",type:"button"},on:{click:function(e){t.sharePasswordProfile()}}},[n("i",{staticClass:"fa fa-share-alt pointer"})])]),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-secondary showOptions__btn",attrs:{type:"button"},on:{click:function(e){t.showOptions=!t.showOptions}}},[n("i",{staticClass:"fa fa-sliders"})])])])])]),t._v(" "),t.showOptions||!t.isDefaultProfile?n("options",{attrs:{options:t.password},on:{"update:options":function(e){t.password=e}}}):t._e()],1)},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(150),i=n.n(r),o=n(151),s=n(2),a=s(i.a,o.a,null,null,null);e.default=a.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e=0&&m.splice(e,1)}function a(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function u(t,e){var n,r,i;if(e.singleton){var o=g++;n=v||(v=a(e)),r=c.bind(null,n,o,!1),i=c.bind(null,n,o,!0)}else n=a(e),r=f.bind(null,n),i=function(){s(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}function c(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function f(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var l={},p=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}},d=p(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=p(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,g=0,m=[];t.exports=function(t,e){e=e||{},void 0===e.singleton&&(e.singleton=d()),void 0===e.insertAt&&(e.insertAt="bottom");var n=i(t);return r(n,e),function(t){for(var o=[],s=0;st.pageCount-t.pageRange/2&&(r=t.pageCount-t.selected,n=t.pageRange-r);for(var i=function(i){var o={index:i,content:i+1,selected:i===t.selected};if(i<=t.marginPages-1||i>=t.pageCount-t.marginPages)return void(e[i]=o);var s={content:"...",disabled:!0};t.selected-n>t.marginPages&&e[t.marginPages]!==s&&(e[t.marginPages]=s),t.selected+r0&&i===t.selected-n-a&&(e[i]=o),i>=t.selected-n&&i<=t.selected+r?void(e[i]=o):void 0},o=0;o=t.pageCount-t.marginPages;s--)i(s);var a=0;t.selected-t.pageRange>0&&(a=t.selected-t.pageRange);var u=t.pageCount;t.selected+t.pageRange=this.pageCount-1||(this.selected++,this.clickHandler(this.selected+1))},firstPageSelected:function(){return 0===this.selected},lastPageSelected:function(){return this.selected===this.pageCount-1||0===this.pageCount}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.noLiSurround?n("div",{class:t.containerClass},[n("a",{class:[t.prevLinkClass,{disabled:t.firstPageSelected()}],attrs:{tabindex:"0"},on:{click:function(e){t.prevPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.prevPage():null}}},[t._v(t._s(t.prevText))]),t._v(" "),t._l(t.pages,function(e){return[e.disabled?n("a",{class:[t.pageLinkClass,{active:e.selected,disabled:e.disabled}],attrs:{tabindex:"0"}},[t._v(t._s(e.content))]):n("a",{class:[t.pageLinkClass,{active:e.selected,disabled:e.disabled}],attrs:{tabindex:"0"},on:{click:function(n){t.handlePageSelected(e.index)},keyup:function(n){return"button"in n||!t._k(n.keyCode,"enter",13)?void t.handlePageSelected(e.index):null}}},[t._v("\n "+t._s(e.content)+"\n ")])]}),t._v(" "),n("a",{class:[t.nextLinkClass,{disabled:t.lastPageSelected()}],attrs:{tabindex:"0"},on:{click:function(e){t.nextPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.nextPage():null}}},[t._v(t._s(t.nextText))])],2):n("ul",{class:t.containerClass},[n("li",{class:[t.prevClass,{disabled:t.firstPageSelected()}]},[n("a",{class:t.prevLinkClass,attrs:{tabindex:"0"},on:{click:function(e){t.prevPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.prevPage():null}}},[t._v(t._s(t.prevText))])]),t._v(" "),t._l(t.pages,function(e){return n("li",{class:[t.pageClass,{active:e.selected,disabled:e.disabled}]},[e.disabled?n("a",{class:t.pageLinkClass,attrs:{tabindex:"0"}},[t._v(t._s(e.content))]):n("a",{class:t.pageLinkClass,attrs:{tabindex:"0"},on:{click:function(n){t.handlePageSelected(e.index)},keyup:function(n){return"button"in n||!t._k(n.keyCode,"enter",13)?void t.handlePageSelected(e.index):null}}},[t._v(t._s(e.content))])])}),t._v(" "),n("li",{class:[t.nextClass,{disabled:t.lastPageSelected()}]},[n("a",{class:t.nextLinkClass,attrs:{tabindex:"0"},on:{click:function(e){t.nextPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.nextPage():null}}},[t._v(t._s(t.nextText))])])],2)},staticRenderFns:[]}}])})},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"passwords"}},[n("div",{staticClass:"pb-3",attrs:{id:"passwords__search"}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-search"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchQuery,expression:"searchQuery"}],staticClass:"form-control",attrs:{name:"search",placeholder:"Search"},domProps:{value:t.searchQuery},on:{input:function(e){e.target.composing||(t.searchQuery=e.target.value)}}})])])])]),t._v(" "),n("div",{attrs:{id:"passwords__list"}},[0===t.passwords.length?n("div",[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[t._v("\n "+t._s(t.$t("NoPassword","You don't have any password profile saved in your database."))+"\n "),n("router-link",{attrs:{to:{name:"home"}}},[t._v(t._s(t.$t("CreatePassword","Would you like to create one?")))])],1)])]):t._e(),t._v(" "),0===t.filteredPasswords.length&&t.passwords.length>0?n("div",[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[t._v("\n "+t._s(t.$t("NoMatchFor","Oops! There are no matches for"))+' "'+t._s(t.searchQuery)+'".\n '+t._s(t.$t("UpdateYourSearch","Please try broadening your search."))+"\n ")])])]):t._e(),t._v(" "),t._l(t.filteredPasswords,function(e){return n("password-profile",{key:e.id,staticClass:"passwords__profile",attrs:{password:e},on:{deleted:function(e){t.pagination.currentPage=1}}})})],2),t._v(" "),t.pagination.pageCount>1?n("div",{attrs:{id:"passwords__pagination"}},[n("paginate",{attrs:{"page-count":t.pagination.pageCount,"click-handler":t.setCurrentPage,containerClass:"pagination pagination-sm","page-class":"page-item","prev-class":"page-item","next-class":"page-item","page-link-class":"page-link","prev-link-class":"page-link","next-link-class":"page-link","prev-text":t.$t("Previous"),"next-text":t.$t("Next")}})],1):t._e()])},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){(function(e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var r=("undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self,"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}),i=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t,e){!function(e,n){t.exports=n()}(0,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){function r(t){var e=new s(t),n=o(s.prototype.request,e);return i.extend(n,s.prototype,e),i.extend(n,e),n}var i=n(2),o=n(3),s=n(4),a=n(5),u=r(a);u.Axios=s,u.create=function(t){return r(i.merge(a,t))},u.Cancel=n(22),u.CancelToken=n(23),u.isCancel=n(19),u.all=function(t){return Promise.all(t)},u.spread=n(24),t.exports=u,t.exports.default=u},function(t,e,n){function i(t){return"[object Array]"===C.call(t)}function o(t){return"[object ArrayBuffer]"===C.call(t)}function s(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function u(t){return"string"==typeof t}function c(t){return"number"==typeof t}function f(t){return void 0===t}function l(t){return null!==t&&"object"===(void 0===t?"undefined":r(t))}function p(t){return"[object Date]"===C.call(t)}function d(t){return"[object File]"===C.call(t)}function h(t){return"[object Blob]"===C.call(t)}function v(t){return"[object Function]"===C.call(t)}function g(t){return l(t)&&v(t.pipe)}function m(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function y(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function _(){return"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof document.createElement}function b(t,e){if(null!==t&&void 0!==t)if("object"===(void 0===t?"undefined":r(t))||i(t)||(t=[t]),i(t))for(var n=0,o=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){c.headers[t]={}}),o.forEach(["post","put","patch"],function(t){c.headers[t]=o.merge(u)}),t.exports=c},function(t,e,n){var r=n(2);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){var r=n(2),i=n(8),o=n(11),s=n(12),a=n(13),u=n(9),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(14);t.exports=function(t){return new Promise(function(e,f){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||a(t.url)||(d=new window.XDomainRequest,h="onload",v=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var g=t.auth.username||"",m=t.auth.password||"";p.Authorization="Basic "+c(g+":"+m)}if(d.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[h]=function(){if(d&&(4===d.readyState||v)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?s(d.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?d.response:d.responseText,o={data:r,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:t,request:d};i(e,f,o),d=null}},d.onerror=function(){f(u("Network Error",t)),d=null},d.ontimeout=function(){f(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),d=null},r.isStandardBrowserEnv()){var y=n(15),_=(t.withCredentials||a(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;_&&(p[t.xsrfHeaderName]=_)}if("setRequestHeader"in d&&r.forEach(p,function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(t){if("json"!==d.responseType)throw t}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),f(t),d=null)}),void 0===l&&(l=null),d.send(l)})}},function(t,e,n){var r=n(9);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n)):t(n)}},function(t,e,n){var r=n(10);t.exports=function(t,e,n,i){var o=new Error(t);return r(o,e,n,i)}},function(t,e){t.exports=function(t,e,n,r){return t.config=e,n&&(t.code=n),t.response=r,t}},function(t,e,n){function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n(2);t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var s=[];i.forEach(e,function(t,e){null!==t&&void 0!==t&&(i.isArray(t)&&(e+="[]"),i.isArray(t)||(t=[t]),i.forEach(t,function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),s.push(r(e)+"="+r(t))}))}),o=s.join("&")}return o&&(t+=(-1===t.indexOf("?")?"?":"&")+o),t}},function(t,e,n){var r=n(2);t.exports=function(t){var e,n,i,o={};return t?(r.forEach(t.split("\n"),function(t){i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e&&(o[e]=o[e]?o[e]+", "+n:n)}),o):o}},function(t,e,n){var r=n(2);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(i.setAttribute("href",e),e=i.href),i.setAttribute("href",e),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return e=t(window.location.href),function(n){var i=r.isString(n)?t(n):n;return i.protocol===e.protocol&&i.host===e.host}}():function(){return function(){return!0}}()},function(t,e){function n(){this.message="String contains an invalid character"}function r(t){for(var e,r,o=String(t),s="",a=0,u=i;o.charAt(0|a)||(u="=",a%1);s+=u.charAt(63&e>>8-a%1*8)){if((r=o.charCodeAt(a+=.75))>255)throw new n;e=e<<8|r}return s}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",t.exports=r},function(t,e,n){var r=n(2);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,n){function r(){this.handlers=[]}var i=n(2);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},function(t,e,n){function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var i=n(2),o=n(18),s=n(19),a=n(5);t.exports=function(t){return r(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return r(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return s(e)||(r(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){var r=n(2);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e){t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e){t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e){t.exports=function(t,e){return t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,"")}},function(t,e){function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t,e,n){function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new i(t),e(n.reason))})}var i=n(22);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},function(t,e){t.exports=function(t){return function(e){return t.apply(null,e)}}}])})}),o={translate:function(t,e,n,r){return t&&e in t?this.compile(t[e],r):n?this.compile(n,r):e},compile:function(t,e){return e?t.replace(/{(\w*)}/g,function(t,n){return e.hasOwnProperty(n)?e[n]:""}):t},getBestLanguage:function(t,e,n){if(void 0===e)return n;for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{languagesAvailable:[],defaultLanguage:"en-US"};s||(s=new e({data:function(){return{languagesAvailable:n.languagesAvailable,defaultLanguage:n.defaultLanguage,lang:this.getLang(),locales:{}}},computed:{locale:function(){return this.locales[this.lang]?this.locales[this.lang]:null}},methods:{setLang:function(t){var e=t.lang;this.lang=e},addLangInLanguagesAvailable:function(t){var e=t.lang;-1===this.languagesAvailable.indexOf(e)&&this.languagesAvailable.push(e)},setLocale:function(e){var n=e.lang,r=e.locale;this.locales=Object.assign({},this.locales,t({},n,r))},extendLocales:function(t){var e=this;Object.keys(t).forEach(function(n){var r=e.locales.hasOwnProperty(n)?Object.assign({},e.locales[n],t[n]):t[n];e.setLocale({lang:n,locale:r})})},getLang:function(){var t=n.languagesAvailable,e=window.navigator.userLanguage||window.navigator.language,r=n.defaultLanguage;return o.getBestLanguage(t,e,r)},getLocale:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.baseURL,o=void 0===r?"i18n":r,s=e.lang,a=void 0===s?"auto":s,u=e.ext,c=void 0===u?".json":u;(a="auto"===a?this.getLang():a)!==n.defaultLanguage&&i.get(o+"/"+a+c).then(function(e){var n=e.data;t.setLocale({lang:a,locale:n}),t.setLang({lang:a}),t.addLangInLanguagesAvailable({lang:a})})},_t:function(t,e,n){return o.translate(this.locale,t,e,n)}}}),e.prototype.$polyglot=s),e.mixin({methods:{$t:function(t,e,n){return this.$polyglot._t(t,e,n)}}}),e.locales=function(t){Object.keys(t).forEach(function(e){s.$polyglot.setLocale({lang:e,locale:t[e]})})}}}})}).call(e,n(4),n(8))}]); \ No newline at end of file +var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,u=r(t),c=1;c=e||n<0||A&&r>=m}function f(){var t=x();if(c(t))return l(t);_=setTimeout(f,u(t))}function l(t){return _=void 0,O&&v?i(t):(v=g=void 0,y)}function p(){void 0!==_&&clearTimeout(_),C=0,v=E=g=_=void 0}function d(){return void 0===_?y:l(x())}function h(){var t=x(),n=c(t);if(v=arguments,g=this,E=t,n){if(void 0===_)return o(E);if(A)return _=setTimeout(f,e),i(E)}return void 0===_&&(_=setTimeout(f,e)),y}var v,g,m,y,_,E,C=0,S=!1,A=!1,O=!0;if("function"!=typeof t)throw new TypeError(a);return e=s(e)||0,r(n)&&(S=!!n.leading,A="maxWait"in n,m=A?b(s(n.maxWait)||0,e):m,O="trailing"in n?!!n.trailing:O),h.cancel=p,h.flush=d,h}function r(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function i(t){return!!t&&"object"==typeof t}function o(t){return"symbol"==typeof t||i(t)&&_.call(t)==c}function s(t){if("number"==typeof t)return t;if(o(t))return u;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(f,"");var n=p.test(t);return n||d.test(t)?h(t.slice(2),n?2:8):l.test(t)?u:+t}var a="Expected a function",u=NaN,c="[object Symbol]",f=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt,v="object"==typeof e&&e&&e.Object===Object&&e,g="object"==typeof self&&self&&self.Object===Object&&self,m=v||g||Function("return this")(),y=Object.prototype,_=y.toString,b=Math.max,w=Math.min,x=function(){return m.Date.now()};t.exports=n}).call(e,n(4))},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"masterPassword"},[n("div",{staticClass:"input-group inner-addon left-addon"},[n("label",{staticClass:"sr-only",attrs:{for:"passwordField"}},[t._v("\n "+t._s(t.label)+"\n ")]),t._v(" "),n("i",{staticClass:"fa fa-lock"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],ref:"passwordField",staticClass:"form-control",attrs:{id:"passwordField",name:"passwordField",type:"password",autocorrect:"off",autocapitalize:"off",placeholder:t.label},domProps:{value:t.password},on:{blur:function(e){t.hidePassword(t.$refs.passwordField)},input:function(e){e.target.composing||(t.password=e.target.value)}}}),t._v(" "),t.fingerprint&&t.password?n("span",{staticClass:"input-group-btn",on:{click:function(e){t.togglePasswordType(t.$refs.passwordField)}}},[n("button",{staticClass:"btn",attrs:{id:"fingerprint",type:"button",tabindex:"-1"}},[n("small",{staticClass:"hint--left"},[n("i",{staticClass:"fa fa-fw",class:[t.icon1],style:{color:t.color1}}),t._v(" "),n("i",{staticClass:"fa fa-fw",class:[t.icon2],style:{color:t.color2}}),t._v(" "),n("i",{staticClass:"fa fa-fw",class:[t.icon3],style:{color:t.color3}})])])]):t._e()]),t._v(" "),t.showEncryptButton?n("button",{staticClass:"btn btn-link btn-sm p-0",class:{disabled:""===t.email,"hint--top hint--medium":""!==t.email},attrs:{id:"encryptMasterPassword__btn",type:"button"},on:{click:function(e){t.encryptMasterPassword(t.$refs.passwordField.value)}}},[n("small",[t._v(t._s(t.EncryptButtonText))])]):t._e()])},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{on:{submit:function(e){e.preventDefault(),t.signIn(e)}}},[n("div",{staticClass:"form-group"},[n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-globe"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseURL,expression:"baseURL"}],staticClass:"form-control",attrs:{id:"baseURL",autocapitalize:"none",placeholder:t.$t("LessPass Database Url")},domProps:{value:t.baseURL},on:{input:function(e){e.target.composing||(t.baseURL=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-user"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"form-control",attrs:{id:"email",name:"username",type:"email",autocapitalize:"none",placeholder:t.$t("Email"),required:""},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}})])])]),t._v(" "),n("div",{staticClass:"form-group mb-2"},[n("master-password",{attrs:{label:t.$t("Master Password"),email:t.email,showEncryptButton:!0,EncryptButtonText:t.$t("Encrypt my master password")},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}})],1),t._v(" "),n("div",{staticClass:"form-group row no-gutters mb-0"},[n("div",{staticClass:"col"},[n("button",{staticClass:"btn btn-block",class:{"btn-warning":1===t.version,"btn-primary":2===t.version},attrs:{id:"signInButton"}},[t._v("\n "+t._s(t.$t("Sign In"))+"\n ")])]),t._v(" "),n("div",{staticClass:"col"},[n("button",{staticClass:"btn btn-secondary btn-block",attrs:{id:"registerButton",type:"button"},on:{click:t.register}},[t._v("\n "+t._s(t.$t("Register"))+"\n ")])])]),t._v(" "),n("div",{staticClass:"form-group mb-0"},[n("button",{staticClass:"btn btn-link btn-sm p-0",attrs:{type:"button"},on:{click:function(e){t.$router.push({name:"passwordReset"})}}},[n("small",[t._v(t._s(t.$t("ForgotPassword","Forgot your password?")))])])])])},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";function r(t){n(134)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(136),o=n.n(i),s=n(148),a=n(2),u=r,c=a(o.a,s.a,u,null,null);e.default=c.exports},function(t,e,n){var r=n(135);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("1fff9582",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#generated-password{font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif}div.awesomplete{display:block}div.awesomplete>ul{z-index:11}",""])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e0&&new b.default(e,{list:t.map(function(t){return{label:t.site+" "+t.login,value:t}}),replace:function(t){n.$store.dispatch("savePassword",{password:t.value}),this.input.value=t.value.site,n.focusBestInputField()}})},password:{handler:function(){this.cleanErrors()},deep:!0},passwordGenerated:function(){this.cleanFormInSeconds(30)},masterPassword:function(){this.cleanErrors(),this.cleanFormInSeconds(30)}},methods:{togglePasswordType:function(t){"password"===t.type?t.type="text":t.type="password"},cleanErrors:function(){clearTimeout(this.cleanTimeout),this.passwordGenerated=""},cleanFormInSeconds:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:15;clearTimeout(this.cleanTimeout),this.cleanTimeout=setTimeout(function(){t.masterPassword="",t.passwordGenerated="",t.fingerprint=""},1e3*e)},generatePassword:function(){var t=this,e=this.password.site,n=this.password.login,r=this.masterPassword;if(!e&&!n||!r)return void y.default.error(this.$t("SiteLoginMasterPasswordMandatory","Site, login, and master password fields are mandatory."));this.cleanErrors(),this.fingerprint=this.masterPassword;var i={lowercase:this.password.lowercase,uppercase:this.password.uppercase,numbers:this.password.numbers,symbols:this.password.symbols,length:this.password.length,counter:this.password.counter,version:this.password.version};return s.default.generatePassword(e,n,r,i).then(function(e){t.passwordGenerated=e,t.$store.dispatch("passwordGenerated")})},focusBestInputField:function(){var t=this.$refs.site,e=this.$refs.login,n=this.$refs.masterPassword;t.value?e.value?n.$refs.passwordField.focus():e.focus():t.focus()},copyPassword:function(){var t=this;(0,c.default)(this.passwordGenerated)?((0,g.showTooltip)(document.getElementById("copyPasswordButton"),this.$t("Copied","copied !")),setTimeout(function(){t.cleanFormInSeconds()},2e3)):y.default.warning(this.$t("SorryCopy","We are sorry the copy only works on modern browsers"))},sharePasswordProfile:function(){var t=this;if((0,c.default)(this.passwordURL)){var e=this.$t("PasswordProfileCopied","Your password profile has been copied");(0,g.showTooltip)(document.getElementById("sharePasswordProfileButton"),e,"hint--top-left"),setTimeout(function(){t.cleanFormInSeconds()},2e3)}else y.default.warning(this.$t("SorryCopy","We are sorry the copy only works on modern browsers"))}}}},function(t,e,n){"use strict";t.exports=function(t){var e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.contain="strict",e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="12pt";var n=getSelection(),r=!1;n.rangeCount>0&&(r=n.getRangeAt(0)),document.body.appendChild(e),e.select();var i=!1;try{i=document.execCommand("copy")}catch(t){}return document.body.removeChild(e),r&&(n.removeAllRanges(),n.addRange(r)),i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(139),i=n(2),o=i(null,r.a,null,null,null);e.default=o.exports},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{display:"none"}},[n("label",{attrs:{for:"username"}},[n("input",{attrs:{type:"text",id:"username",name:"username",autocomplete:"username"}})]),t._v(" "),n("label",{attrs:{for:"password"}},[n("input",{attrs:{type:"password",id:"password",name:"password",autocomplete:"current-password"}})])])}],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";function r(t){n(141)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(143),o=n.n(i),s=n(145),a=n(2),u=r,c=a(o.a,s.a,u,null,null);e.default=c.exports},function(t,e,n){var r=n(142);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n(6)("15e23426",r,!0)},function(t,e,n){e=t.exports=n(5)(void 0),e.push([t.i,"#options input[type=number]{-moz-appearance:textfield}#options input[type=number]::-webkit-inner-spin-button,#options input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}",""])},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(9),i=function(t){return t&&t.__esModule?t:{default:t}}(r),o=n(144);e.default={name:"options",props:{options:Object},watch:{options:{handler:function(t){this.$emit("update:options",t)},deep:!0}},methods:{decrement:o.decrement,increment:o.increment,setVersion:function(t){1===t&&i.default.error(this.$t("WarningV1Deprecated","Version 1 is deprecated and will be deleted soon. We strongly advise you to migrate your passwords to version 2.")),this.options=Object.assign({},this.options,{length:1===t?12:16,version:t}),this.$store.dispatch("saveVersion",{version:t})},saveDefaultOptions:function(){this.$store.dispatch("saveDefaultOptions",{options:this.options}),i.default.success(this.$t("Your options have been saved successfully"))}}}},function(t,e,n){"use strict";function r(t,e){var n=e.min,r=e.max;return t>r?r:t2&&void 0!==arguments[2]?arguments[2]:"hint--top",r=t.className;t.setAttribute("class",r+" "+n),t.setAttribute("aria-label",e),setTimeout(function(){t.setAttribute("class",r),t.setAttribute("aria-label","")},2e3)}Object.defineProperty(e,"__esModule",{value:!0}),e.showTooltip=r},function(t,e){!function(){function e(t){var e=Array.isArray(t)?{label:t[0],value:t[1]}:"object"==typeof t&&"label"in t&&"value"in t?t:{label:t,value:t};this.label=e.label||e.value,this.value=e.value}function n(t,e,n){for(var r in e){var i=e[r],o=t.input.getAttribute("data-"+r.toLowerCase());"number"==typeof i?t[r]=parseInt(o):!1===i?t[r]=null!==o:i instanceof Function?t[r]=null:t[r]=o,t[r]||0===t[r]||(t[r]=r in n?n[r]:i)}}function r(t,e){return"string"==typeof t?(e||document).querySelector(t):t||null}function i(t,e){return a.call((e||document).querySelectorAll(t))}function o(){i("input.awesomplete").forEach(function(t){new s(t)})}var s=function(t,e){var i=this;this.isOpened=!1,this.input=r(t),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-autocomplete","list"),e=e||{},n(this,{minChars:2,maxItems:10,autoFirst:!1,data:s.DATA,filter:s.FILTER_CONTAINS,sort:!1!==e.sort&&s.SORT_BYLENGTH,item:s.ITEM,replace:s.REPLACE},e),this.index=-1,this.container=r.create("div",{className:"awesomplete",around:t}),this.ul=r.create("ul",{hidden:"hidden",inside:this.container}),this.status=r.create("span",{className:"visually-hidden",role:"status","aria-live":"assertive","aria-relevant":"additions",inside:this.container}),this._events={input:{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(t){var e=t.keyCode;i.opened&&(13===e&&i.selected?(t.preventDefault(),i.select()):27===e?i.close({reason:"esc"}):38!==e&&40!==e||(t.preventDefault(),i[38===e?"previous":"next"]()))}},form:{submit:this.close.bind(this,{reason:"submit"})},ul:{mousedown:function(t){var e=t.target;if(e!==this){for(;e&&!/li/i.test(e.nodeName);)e=e.parentNode;e&&0===t.button&&(t.preventDefault(),i.select(e,t.target))}}}},r.bind(this.input,this._events.input),r.bind(this.input.form,this._events.form),r.bind(this.ul,this._events.ul),this.input.hasAttribute("list")?(this.list="#"+this.input.getAttribute("list"),this.input.removeAttribute("list")):this.list=this.input.getAttribute("data-list")||e.list||[],s.all.push(this)};s.prototype={set list(t){if(Array.isArray(t))this._list=t;else if("string"==typeof t&&t.indexOf(",")>-1)this._list=t.split(/\s*,\s*/);else if((t=r(t))&&t.children){var e=[];a.apply(t.children).forEach(function(t){if(!t.disabled){var n=t.textContent.trim(),r=t.value||n,i=t.label||n;""!==r&&e.push({label:i,value:r})}}),this._list=e}document.activeElement===this.input&&this.evaluate()},get selected(){return this.index>-1},get opened(){return this.isOpened},close:function(t){this.opened&&(this.ul.setAttribute("hidden",""),this.isOpened=!1,this.index=-1,r.fire(this.input,"awesomplete-close",t||{}))},open:function(){this.ul.removeAttribute("hidden"),this.isOpened=!0,this.autoFirst&&-1===this.index&&this.goto(0),r.fire(this.input,"awesomplete-open")},destroy:function(){r.unbind(this.input,this._events.input),r.unbind(this.input.form,this._events.form);var t=this.container.parentNode;t.insertBefore(this.input,this.container),t.removeChild(this.container),this.input.removeAttribute("autocomplete"),this.input.removeAttribute("aria-autocomplete");var e=s.all.indexOf(this);-1!==e&&s.all.splice(e,1)},next:function(){var t=this.ul.children.length;this.goto(this.index-1&&e.length>0&&(e[t].setAttribute("aria-selected","true"),this.status.textContent=e[t].textContent,this.ul.scrollTop=e[t].offsetTop-this.ul.clientHeight+e[t].clientHeight,r.fire(this.input,"awesomplete-highlight",{text:this.suggestions[this.index]}))},select:function(t,e){if(t?this.index=r.siblingIndex(t):t=this.ul.children[this.index],t){var n=this.suggestions[this.index];r.fire(this.input,"awesomplete-select",{text:n,origin:e||t})&&(this.replace(n),this.close({reason:"select"}),r.fire(this.input,"awesomplete-selectcomplete",{text:n}))}},evaluate:function(){var t=this,n=this.input.value;n.length>=this.minChars&&this._list.length>0?(this.index=-1,this.ul.innerHTML="",this.suggestions=this._list.map(function(r){return new e(t.data(r,n))}).filter(function(e){return t.filter(e,n)}),!1!==this.sort&&(this.suggestions=this.suggestions.sort(this.sort)),this.suggestions=this.suggestions.slice(0,this.maxItems),this.suggestions.forEach(function(e){t.ul.appendChild(t.item(e,n))}),0===this.ul.children.length?this.close({reason:"nomatches"}):this.open()):this.close({reason:"nomatches"})}},s.all=[],s.FILTER_CONTAINS=function(t,e){return RegExp(r.regExpEscape(e.trim()),"i").test(t)},s.FILTER_STARTSWITH=function(t,e){return RegExp("^"+r.regExpEscape(e.trim()),"i").test(t)},s.SORT_BYLENGTH=function(t,e){return t.length!==e.length?t.length-e.length:t$&"),"aria-selected":"false"})},s.REPLACE=function(t){this.input.value=t.value},s.DATA=function(t){return t},Object.defineProperty(e.prototype=Object.create(String.prototype),"length",{get:function(){return this.label.length}}),e.prototype.toString=e.prototype.valueOf=function(){return""+this.label};var a=Array.prototype.slice;r.create=function(t,e){var n=document.createElement(t);for(var i in e){var o=e[i];if("inside"===i)r(o).appendChild(n);else if("around"===i){var s=r(o);s.parentNode.insertBefore(n,s),n.appendChild(s)}else i in n?n[i]=o:n.setAttribute(i,o)}return n},r.bind=function(t,e){if(t)for(var n in e){var r=e[n];n.split(/\s+/).forEach(function(e){t.addEventListener(e,r)})}},r.unbind=function(t,e){if(t)for(var n in e){var r=e[n];n.split(/\s+/).forEach(function(e){t.removeEventListener(e,r)})}},r.fire=function(t,e,n){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0);for(var i in n)r[i]=n[i];return t.dispatchEvent(r)},r.regExpEscape=function(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")},r.siblingIndex=function(t){for(var e=0;t=t.previousElementSibling;e++);return e},"undefined"!=typeof Document&&("loading"!==document.readyState?o():document.addEventListener("DOMContentLoaded",o)),s.$=r,s.$$=i,"undefined"!=typeof self&&(self.Awesomplete=s),"object"==typeof t&&t.exports&&(t.exports=s)}()},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("form",{attrs:{id:"password-generator"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"sr-only",attrs:{for:"site"}},[t._v(t._s(t.$t("Site")))]),t._v(" "),n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-globe"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password.site,expression:"password.site"}],ref:"site",staticClass:"form-control awesomplete",attrs:{id:"site",name:"site",autocorrect:"off",autocapitalize:"none",placeholder:t.$t("Site")},domProps:{value:t.password.site},on:{input:function(e){e.target.composing||(t.password.site=e.target.value)}}})])]),t._v(" "),n("remove-auto-complete"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"sr-only",attrs:{for:"login"}},[t._v(t._s(t.$t("Login")))]),t._v(" "),n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-user"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password.login,expression:"password.login"}],ref:"login",staticClass:"form-control",attrs:{id:"login",name:"login",autocomplete:"off",autocorrect:"off",autocapitalize:"none",placeholder:t.$t("Login")},domProps:{value:t.password.login},on:{input:function(e){e.target.composing||(t.password.login=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group"},[n("master-password",{ref:"masterPassword",attrs:{keyupEnter:t.generatePassword,label:t.$t("Master Password")},model:{value:t.masterPassword,callback:function(e){t.masterPassword=e},expression:"masterPassword"}})],1),t._v(" "),n("div",{staticClass:"form-group",class:{"mb-0":!t.showOptions}},[t.passwordGenerated?t._e():n("div",[n("button",{staticClass:"btn",class:{"btn-warning":1===t.password.version,"btn-primary":2===t.password.version},attrs:{id:"generatePassword__btn",type:"button"},on:{click:t.generatePassword}},[t._v("\n "+t._s(t.$t("Generate"))+"\n ")]),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:!t.passwordGenerated,expression:"!passwordGenerated"}],staticClass:"btn btn-secondary pull-right showOptions__btn",attrs:{type:"button"},on:{click:function(e){t.showOptions=!t.showOptions}}},[n("i",{staticClass:"fa fa-sliders"})])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.passwordGenerated,expression:"passwordGenerated"}],staticClass:"btn-group"},[n("div",{staticClass:"input-group"},[n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn",class:{"btn-warning":1===t.password.version,"btn-primary":2===t.password.version},attrs:{id:"copyPasswordButton",type:"button"},on:{click:function(e){t.copyPassword()}}},[n("i",{staticClass:"fa fa-clipboard"})])]),t._v(" "),n("input",{ref:"passwordGenerated",staticClass:"form-control",attrs:{id:"generated-password",type:"password",tabindex:"-1"},domProps:{value:t.passwordGenerated}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-secondary",attrs:{id:"revealGeneratedPassword",type:"button"},on:{click:function(e){t.togglePasswordType(t.$refs.passwordGenerated)}}},[n("i",{staticClass:"fa fa-eye"})])]),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-secondary",attrs:{id:"sharePasswordProfileButton",type:"button"},on:{click:function(e){t.sharePasswordProfile()}}},[n("i",{staticClass:"fa fa-share-alt pointer"})])]),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-secondary showOptions__btn",attrs:{type:"button"},on:{click:function(e){t.showOptions=!t.showOptions}}},[n("i",{staticClass:"fa fa-sliders"})])])])])]),t._v(" "),t.showOptions||!t.isDefaultProfile?n("options",{attrs:{options:t.password},on:{"update:options":function(e){t.password=e}}}):t._e()],1)},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(150),i=n.n(r),o=n(151),s=n(2),a=s(i.a,o.a,null,null,null);e.default=a.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e=0&&m.splice(e,1)}function a(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function u(t,e){var n,r,i;if(e.singleton){var o=g++;n=v||(v=a(e)),r=c.bind(null,n,o,!1),i=c.bind(null,n,o,!0)}else n=a(e),r=f.bind(null,n),i=function(){s(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}function c(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function f(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var l={},p=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}},d=p(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=p(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,g=0,m=[];t.exports=function(t,e){e=e||{},void 0===e.singleton&&(e.singleton=d()),void 0===e.insertAt&&(e.insertAt="bottom");var n=i(t);return r(n,e),function(t){for(var o=[],s=0;st.pageCount-t.pageRange/2&&(r=t.pageCount-t.selected,n=t.pageRange-r);for(var i=function(i){var o={index:i,content:i+1,selected:i===t.selected};if(i<=t.marginPages-1||i>=t.pageCount-t.marginPages)return void(e[i]=o);var s={content:"...",disabled:!0};t.selected-n>t.marginPages&&e[t.marginPages]!==s&&(e[t.marginPages]=s),t.selected+r0&&i===t.selected-n-a&&(e[i]=o),i>=t.selected-n&&i<=t.selected+r?void(e[i]=o):void 0},o=0;o=t.pageCount-t.marginPages;s--)i(s);var a=0;t.selected-t.pageRange>0&&(a=t.selected-t.pageRange);var u=t.pageCount;t.selected+t.pageRange=this.pageCount-1||(this.selected++,this.clickHandler(this.selected+1))},firstPageSelected:function(){return 0===this.selected},lastPageSelected:function(){return this.selected===this.pageCount-1||0===this.pageCount}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.noLiSurround?n("div",{class:t.containerClass},[n("a",{class:[t.prevLinkClass,{disabled:t.firstPageSelected()}],attrs:{tabindex:"0"},on:{click:function(e){t.prevPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.prevPage():null}}},[t._t("prevContent",[t._v(t._s(t.prevText))])],2),t._v(" "),t._l(t.pages,function(e){return[e.disabled?n("a",{class:[t.pageLinkClass,{active:e.selected,disabled:e.disabled}],attrs:{tabindex:"0"}},[t._v(t._s(e.content))]):n("a",{class:[t.pageLinkClass,{active:e.selected,disabled:e.disabled}],attrs:{tabindex:"0"},on:{click:function(n){t.handlePageSelected(e.index)},keyup:function(n){return"button"in n||!t._k(n.keyCode,"enter",13)?void t.handlePageSelected(e.index):null}}},[t._v("\n "+t._s(e.content)+"\n ")])]}),t._v(" "),n("a",{class:[t.nextLinkClass,{disabled:t.lastPageSelected()}],attrs:{tabindex:"0"},on:{click:function(e){t.nextPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.nextPage():null}}},[t._t("nextContent",[t._v(t._s(t.nextText))])],2)],2):n("ul",{class:t.containerClass},[n("li",{class:[t.prevClass,{disabled:t.firstPageSelected()}]},[n("a",{class:t.prevLinkClass,attrs:{tabindex:"0"},on:{click:function(e){t.prevPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.prevPage():null}}},[t._t("prevContent",[t._v(t._s(t.prevText))])],2)]),t._v(" "),t._l(t.pages,function(e){return n("li",{class:[t.pageClass,{active:e.selected,disabled:e.disabled}]},[e.disabled?n("a",{class:t.pageLinkClass,attrs:{tabindex:"0"}},[t._v(t._s(e.content))]):n("a",{class:t.pageLinkClass,attrs:{tabindex:"0"},on:{click:function(n){t.handlePageSelected(e.index)},keyup:function(n){return"button"in n||!t._k(n.keyCode,"enter",13)?void t.handlePageSelected(e.index):null}}},[t._v(t._s(e.content))])])}),t._v(" "),n("li",{class:[t.nextClass,{disabled:t.lastPageSelected()}]},[n("a",{class:t.nextLinkClass,attrs:{tabindex:"0"},on:{click:function(e){t.nextPage()},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.nextPage():null}}},[t._t("nextContent",[t._v(t._s(t.nextText))])],2)])],2)},staticRenderFns:[]}}])})},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"passwords"}},[n("div",{staticClass:"pb-3",attrs:{id:"passwords__search"}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[n("div",{staticClass:"inner-addon left-addon"},[n("i",{staticClass:"fa fa-search"}),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchQuery,expression:"searchQuery"}],staticClass:"form-control",attrs:{name:"search",placeholder:"Search"},domProps:{value:t.searchQuery},on:{input:function(e){e.target.composing||(t.searchQuery=e.target.value)}}})])])])]),t._v(" "),n("div",{attrs:{id:"passwords__list"}},[0===t.passwords.length?n("div",[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[t._v("\n "+t._s(t.$t("NoPassword","You don't have any password profile saved in your database."))+"\n "),n("router-link",{attrs:{to:{name:"home"}}},[t._v(t._s(t.$t("CreatePassword","Would you like to create one?")))])],1)])]):t._e(),t._v(" "),0===t.filteredPasswords.length&&t.passwords.length>0?n("div",[n("div",{staticClass:"row"},[n("div",{staticClass:"col"},[t._v("\n "+t._s(t.$t("NoMatchFor","Oops! There are no matches for"))+' "'+t._s(t.searchQuery)+'".\n '+t._s(t.$t("UpdateYourSearch","Please try broadening your search."))+"\n ")])])]):t._e(),t._v(" "),t._l(t.filteredPasswords,function(e){return n("password-profile",{key:e.id,staticClass:"passwords__profile",attrs:{password:e},on:{deleted:function(e){t.pagination.currentPage=1}}})})],2),t._v(" "),t.pagination.pageCount>1?n("div",{attrs:{id:"passwords__pagination"}},[n("paginate",{attrs:{"page-count":t.pagination.pageCount,"click-handler":t.setCurrentPage,containerClass:"pagination pagination-sm","page-class":"page-item","prev-class":"page-item","next-class":"page-item","page-link-class":"page-link","prev-link-class":"page-link","next-link-class":"page-link","prev-text":t.$t("Previous"),"next-text":t.$t("Next")}})],1):t._e()])},i=[],o={render:r,staticRenderFns:i};e.a=o},function(t,e,n){(function(e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var r=("undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self,"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}),i=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t,e){!function(e,n){t.exports=n()}(0,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){function r(t){var e=new s(t),n=o(s.prototype.request,e);return i.extend(n,s.prototype,e),i.extend(n,e),n}var i=n(2),o=n(3),s=n(4),a=n(5),u=r(a);u.Axios=s,u.create=function(t){return r(i.merge(a,t))},u.Cancel=n(22),u.CancelToken=n(23),u.isCancel=n(19),u.all=function(t){return Promise.all(t)},u.spread=n(24),t.exports=u,t.exports.default=u},function(t,e,n){function i(t){return"[object Array]"===C.call(t)}function o(t){return"[object ArrayBuffer]"===C.call(t)}function s(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function u(t){return"string"==typeof t}function c(t){return"number"==typeof t}function f(t){return void 0===t}function l(t){return null!==t&&"object"===(void 0===t?"undefined":r(t))}function p(t){return"[object Date]"===C.call(t)}function d(t){return"[object File]"===C.call(t)}function h(t){return"[object Blob]"===C.call(t)}function v(t){return"[object Function]"===C.call(t)}function g(t){return l(t)&&v(t.pipe)}function m(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function y(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function _(){return"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof document.createElement}function b(t,e){if(null!==t&&void 0!==t)if("object"===(void 0===t?"undefined":r(t))||i(t)||(t=[t]),i(t))for(var n=0,o=t.length;n=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){c.headers[t]={}}),o.forEach(["post","put","patch"],function(t){c.headers[t]=o.merge(u)}),t.exports=c},function(t,e,n){var r=n(2);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){var r=n(2),i=n(8),o=n(11),s=n(12),a=n(13),u=n(9),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(14);t.exports=function(t){return new Promise(function(e,f){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||a(t.url)||(d=new window.XDomainRequest,h="onload",v=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var g=t.auth.username||"",m=t.auth.password||"";p.Authorization="Basic "+c(g+":"+m)}if(d.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[h]=function(){if(d&&(4===d.readyState||v)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?s(d.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?d.response:d.responseText,o={data:r,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:t,request:d};i(e,f,o),d=null}},d.onerror=function(){f(u("Network Error",t)),d=null},d.ontimeout=function(){f(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),d=null},r.isStandardBrowserEnv()){var y=n(15),_=(t.withCredentials||a(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;_&&(p[t.xsrfHeaderName]=_)}if("setRequestHeader"in d&&r.forEach(p,function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(t){if("json"!==d.responseType)throw t}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),f(t),d=null)}),void 0===l&&(l=null),d.send(l)})}},function(t,e,n){var r=n(9);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n)):t(n)}},function(t,e,n){var r=n(10);t.exports=function(t,e,n,i){var o=new Error(t);return r(o,e,n,i)}},function(t,e){t.exports=function(t,e,n,r){return t.config=e,n&&(t.code=n),t.response=r,t}},function(t,e,n){function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n(2);t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var s=[];i.forEach(e,function(t,e){null!==t&&void 0!==t&&(i.isArray(t)&&(e+="[]"),i.isArray(t)||(t=[t]),i.forEach(t,function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),s.push(r(e)+"="+r(t))}))}),o=s.join("&")}return o&&(t+=(-1===t.indexOf("?")?"?":"&")+o),t}},function(t,e,n){var r=n(2);t.exports=function(t){var e,n,i,o={};return t?(r.forEach(t.split("\n"),function(t){i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e&&(o[e]=o[e]?o[e]+", "+n:n)}),o):o}},function(t,e,n){var r=n(2);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(i.setAttribute("href",e),e=i.href),i.setAttribute("href",e),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var e,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return e=t(window.location.href),function(n){var i=r.isString(n)?t(n):n;return i.protocol===e.protocol&&i.host===e.host}}():function(){return function(){return!0}}()},function(t,e){function n(){this.message="String contains an invalid character"}function r(t){for(var e,r,o=String(t),s="",a=0,u=i;o.charAt(0|a)||(u="=",a%1);s+=u.charAt(63&e>>8-a%1*8)){if((r=o.charCodeAt(a+=.75))>255)throw new n;e=e<<8|r}return s}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",t.exports=r},function(t,e,n){var r=n(2);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(t,e,n){function r(){this.handlers=[]}var i=n(2);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},function(t,e,n){function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var i=n(2),o=n(18),s=n(19),a=n(5);t.exports=function(t){return r(t),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return r(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return s(e)||(r(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){var r=n(2);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e){t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e){t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e){t.exports=function(t,e){return t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,"")}},function(t,e){function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t,e,n){function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new i(t),e(n.reason))})}var i=n(22);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},function(t,e){t.exports=function(t){return function(e){return t.apply(null,e)}}}])})}),o={translate:function(t,e,n,r){return t&&e in t?this.compile(t[e],r):n?this.compile(n,r):e},compile:function(t,e){return e?t.replace(/{(\w*)}/g,function(t,n){return e.hasOwnProperty(n)?e[n]:""}):t},getBestLanguage:function(t,e,n){if(void 0===e)return n;for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{languagesAvailable:[],defaultLanguage:"en-US"};s||(s=new e({data:function(){return{languagesAvailable:n.languagesAvailable,defaultLanguage:n.defaultLanguage,lang:this.getLang(),locales:{}}},computed:{locale:function(){return this.locales[this.lang]?this.locales[this.lang]:null}},methods:{setLang:function(t){var e=t.lang;this.lang=e},addLangInLanguagesAvailable:function(t){var e=t.lang;-1===this.languagesAvailable.indexOf(e)&&this.languagesAvailable.push(e)},setLocale:function(e){var n=e.lang,r=e.locale;this.locales=Object.assign({},this.locales,t({},n,r))},extendLocales:function(t){var e=this;Object.keys(t).forEach(function(n){var r=e.locales.hasOwnProperty(n)?Object.assign({},e.locales[n],t[n]):t[n];e.setLocale({lang:n,locale:r})})},getLang:function(){var t=n.languagesAvailable,e=window.navigator.userLanguage||window.navigator.language,r=n.defaultLanguage;return o.getBestLanguage(t,e,r)},getLocale:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.baseURL,o=void 0===r?"i18n":r,s=e.lang,a=void 0===s?"auto":s,u=e.ext,c=void 0===u?".json":u;(a="auto"===a?this.getLang():a)!==n.defaultLanguage&&i.get(o+"/"+a+c).then(function(e){var n=e.data;t.setLocale({lang:a,locale:n}),t.setLang({lang:a}),t.addLangInLanguagesAvailable({lang:a})})},_t:function(t,e,n){return o.translate(this.locale,t,e,n)}}}),e.prototype.$polyglot=s),e.mixin({methods:{$t:function(t,e,n){return this.$polyglot._t(t,e,n)}}}),e.locales=function(t){Object.keys(t).forEach(function(e){s.$polyglot.setLocale({lang:e,locale:t[e]})})}}}})}).call(e,n(4),n(8))}]); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 94db600..feef83f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "lesspass-pure", - "version": "4.5.17", + "version": "4.6.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 63cd203..7a678c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lesspass-pure", - "version": "4.5.17", + "version": "4.6.0", "description": "pure LessPass component for LessPass with vuejs", "license": "GPL-3.0", "author": "Guillaume Vincent ",