diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8524235..0000000 --- a/.travis.yml +++ /dev/null @@ -1,3 +0,0 @@ -language: node_js -node_js: - - 4 diff --git a/dist/bundle.js b/dist/bundle.js deleted file mode 100644 index 7c5c782..0000000 --- a/dist/bundle.js +++ /dev/null @@ -1,17 +0,0 @@ -!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="/dist/",e(0)}(function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))switch(typeof t[e]){case"function":break;case"object":t[e]=function(e){var n=e.slice(1),r=t[e[0]];return function(t,e,i){r.apply(this,[t,e,i].concat(n))}}(t[e]);break;default:t[e]=t[t[e]]}return t}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}n(265);var i=n(151),o=r(i);n(508),n(509),n(510),n(511);var s=n(619),a=r(s);n(493);var u=n(264),c=r(u),l=n(263),f=r(l);new o["default"]({el:"#app",store:c["default"],router:f["default"],render:function(t){return t(a["default"])}})},function(t,e,n){var r=n(4),i=n(34),o=n(16),s=n(17),a=n(35),u="prototype",c=function(t,e,n){var l,f,d,h,p=t&c.F,v=t&c.G,g=t&c.S,m=t&c.P,y=t&c.B,_=v?r:g?r[e]||(r[e]={}):(r[e]||{})[u],w=v?i:i[e]||(i[e]={}),b=w[u]||(w[u]={});v&&(n=e);for(l in n)f=!p&&_&&void 0!==_[l],d=(f?_:n)[l],h=y&&f?a(d,r):m&&"function"==typeof d?a(Function.call,d):d,_&&s(_,l,d,t&c.U),w[l]!=d&&o(w,l,h),m&&b[l]!=d&&(b[l]=d)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r,i;r=[n(80),n(11),n(548),n(150),n(228),n(230),n(147),n(144),n(549),n(146),n(229),n(547),n(56),n(204)],i=function(t,e,n,r,i,o,s,a,u,c,l,f,d,h){"use strict";function p(t){var e=!!t&&"length"in t&&t.length,n=g.type(t);return"function"!==n&&!g.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}var v="3.1.1",g=function(t,e){return new g.fn.init(t,e)},m=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,y=/^-ms-/,_=/-([a-z])/g,w=function(t,e){return e.toUpperCase()};return g.fn=g.prototype={jquery:v,constructor:g,length:0,toArray:function(){return r.call(this)},get:function(t){return null==t?r.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=g.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return g.each(this,t)},map:function(t){return this.pushStack(g.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n"+i+""};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},[698,72,24],function(t,e,n){"use strict";function r(t){return"[object Array]"===E.call(t)}function i(t){return"[object ArrayBuffer]"===E.call(t)}function o(t){return"undefined"!=typeof FormData&&t instanceof FormData}function s(t){var e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function a(t){return"string"==typeof t}function u(t){return"number"==typeof t}function c(t){return"undefined"==typeof t}function l(t){return null!==t&&"object"==typeof t}function f(t){return"[object Date]"===E.call(t)}function d(t){return"[object File]"===E.call(t)}function h(t){return"[object Blob]"===E.call(t)}function p(t){return"[object Function]"===E.call(t)}function v(t){return l(t)&&p(t.pipe)}function g(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function m(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function y(){return"undefined"!=typeof window&&"undefined"!=typeof document&&"function"==typeof document.createElement}function _(t,e){if(null!==t&&"undefined"!=typeof t)if("object"==typeof t||r(t)||(t=[t]),r(t))for(var n=0,i=t.length;n)[^>]*|#([\w-]+))$/,o=t.fn.init=function(o,s,a){var u,c;if(!o)return this;if(a=a||r,"string"==typeof o){if(u="<"===o[0]&&">"===o[o.length-1]&&o.length>=3?[null,o,null]:i.exec(o),!u||!u[1]&&s)return!s||s.jquery?(s||a).find(o):this.constructor(s).find(o);if(u[1]){if(s=s instanceof t?s[0]:s,t.merge(this,t.parseHTML(u[1],s&&s.nodeType?s.ownerDocument||s:e,!0)),n.test(u[1])&&t.isPlainObject(s))for(u in s)t.isFunction(this[u])?this[u](s[u]):this.attr(u,s[u]);return this}return c=e.getElementById(u[2]),c&&(this[0]=c,this.length=1),this}return o.nodeType?(this[0]=o,this.length=1,this):t.isFunction(o)?void 0!==a.ready?a.ready(o):o(t):t.makeArray(o,this)};return o.prototype=t.fn,r=t(e),o}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r=n(35),i=n(72),o=n(12),s=n(10),a=n(268);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,f=6==t,d=5==t||f,h=e||a;return function(e,a,p){for(var v,g,m=o(e),y=i(m),_=r(a,p,3),w=s(y.length),b=0,x=n?h(e,w):u?h(e,0):void 0;w>b;b++)if((d||b in y)&&(v=y[b],g=_(v,b,m),t))if(n)x[b]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return b;case 2:x.push(v)}else if(l)return!1;return f?-1:c||l?l:x}}},[682,1,34,5],[704,6],function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},4,function(t,e,n){var r,i;r=[n(215)],i=function(t){"use strict";return new t}.apply(e,r),!(void 0!==i&&(t.exports=i))},31,[640,15],function(t,e,n){var r=n(182),i=n(1),o=n(91)("metadata"),s=o.store||(o.store=new(n(185))),a=function(t,e,n){var i=s.get(t);if(!i){if(!n)return;s.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o},u=function(t,e,n){var r=a(e,n,!1);return void 0!==r&&r.has(t)},c=function(t,e,n){var r=a(e,n,!1);return void 0===r?void 0:r.get(t)},l=function(t,e,n,r){a(n,r,!0).set(t,e)},f=function(t,e){var n=a(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},d=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},h=function(t){i(i.S,"Reflect",t)};t.exports={store:s,map:a,has:u,get:c,set:l,keys:f,key:d,exp:h}},function(t,e,n){"use strict";if(n(8)){var r=n(47),i=n(4),o=n(5),s=n(1),a=n(92),u=n(121),c=n(35),l=n(46),f=n(40),d=n(16),h=n(51),p=n(41),v=n(10),g=n(53),m=n(30),y=n(14),_=n(179),w=n(71),b=n(6),x=n(12),E=n(106),S=n(48),C=n(22),T=n(49).f,k=n(123),O=n(54),A=n(7),D=n(28),N=n(82),P=n(115),I=n(124),R=n(60),M=n(88),j=n(52),L=n(99),F=n(159),U=n(9),H=n(21),B=U.f,W=H.f,Y=i.RangeError,V=i.TypeError,$=i.Uint8Array,q="ArrayBuffer",G="Shared"+q,z="BYTES_PER_ELEMENT",K="prototype",X=Array[K],Q=u.ArrayBuffer,J=u.DataView,Z=D(0),tt=D(2),et=D(3),nt=D(4),rt=D(5),it=D(6),ot=N(!0),st=N(!1),at=I.values,ut=I.keys,ct=I.entries,lt=X.lastIndexOf,ft=X.reduce,dt=X.reduceRight,ht=X.join,pt=X.sort,vt=X.slice,gt=X.toString,mt=X.toLocaleString,yt=A("iterator"),_t=A("toStringTag"),wt=O("typed_constructor"),bt=O("def_constructor"),xt=a.CONSTR,Et=a.TYPED,St=a.VIEW,Ct="Wrong length!",Tt=D(1,function(t,e){return Pt(P(t,t[bt]),e)}),kt=o(function(){return 1===new $(new Uint16Array([1]).buffer)[0]}),Ot=!!$&&!!$[K].set&&o(function(){new $(1).set({})}),At=function(t,e){if(void 0===t)throw V(Ct);var n=+t,r=v(t);if(e&&!_(n,r))throw Y(Ct);return r},Dt=function(t,e){var n=p(t);if(n<0||n%e)throw Y("Wrong offset!");return n},Nt=function(t){if(b(t)&&Et in t)return t;throw V(t+" is not a typed array!")},Pt=function(t,e){if(!(b(t)&&wt in t))throw V("It is not a typed array constructor!");return new t(e)},It=function(t,e){return Rt(P(t,t[bt]),e)},Rt=function(t,e){for(var n=0,r=e.length,i=Pt(t,r);r>n;)i[n]=e[n++];return i},Mt=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},jt=function(t){var e,n,r,i,o,s,a=x(t),u=arguments.length,l=u>1?arguments[1]:void 0,f=void 0!==l,d=k(a);if(void 0!=d&&!E(d)){for(s=d.call(a),r=[],e=0;!(o=s.next()).done;e++)r.push(o.value);a=r}for(f&&u>2&&(l=c(l,arguments[2],2)),e=0,n=v(a.length),i=Pt(this,n);n>e;e++)i[e]=f?l(a[e],e):a[e];return i},Lt=function(){for(var t=0,e=arguments.length,n=Pt(this,e);e>t;)n[t]=arguments[t++];return n},Ft=!!$&&o(function(){mt.call(new $(1))}),Ut=function(){return mt.apply(Ft?vt.call(Nt(this)):Nt(this),arguments)},Ht={copyWithin:function(t,e){return F.call(Nt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(Nt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return L.apply(Nt(this),arguments)},filter:function(t){return It(this,tt(Nt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return rt(Nt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return it(Nt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Z(Nt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return st(Nt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return ot(Nt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ht.apply(Nt(this),arguments)},lastIndexOf:function(t){return lt.apply(Nt(this),arguments)},map:function(t){return Tt(Nt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ft.apply(Nt(this),arguments)},reduceRight:function(t){return dt.apply(Nt(this),arguments)},reverse:function(){for(var t,e=this,n=Nt(e).length,r=Math.floor(n/2),i=0;i1?arguments[1]:void 0)},sort:function(t){return pt.call(Nt(this),t)},subarray:function(t,e){var n=Nt(this),r=n.length,i=g(t,r);return new(P(n,n[bt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,v((void 0===e?r:g(e,r))-i))}},Bt=function(t,e){return It(this,vt.call(Nt(this),t,e))},Wt=function(t){Nt(this);var e=Dt(arguments[1],1),n=this.length,r=x(t),i=v(r.length),o=0;if(i+e>n)throw Y(Ct);for(;o255?255:255&r),i.v[p](n*e+i.o,r,kt)},A=function(t,e){B(t,e,{get:function(){return k(this,e)},set:function(t){return O(this,e,t)},enumerable:!0})};_?(g=n(function(t,n,r,i){l(t,g,c,"_d");var o,s,a,u,f=0,h=0;if(b(n)){if(!(n instanceof Q||(u=w(n))==q||u==G))return Et in n?Rt(g,n):jt.call(g,n);o=n,h=Dt(r,e);var p=n.byteLength;if(void 0===i){if(p%e)throw Y(Ct);if(s=p-h,s<0)throw Y(Ct)}else if(s=v(i)*e,s+h>p)throw Y(Ct);a=s/e}else a=At(n,!0),s=a*e,o=new Q(s);for(d(t,"_d",{b:o,o:h,l:s,e:a,v:new J(o)});f=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function g(e){return+e!=e&&(e=0),t.alloc(+e)}function m(e,n){if(t.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var i=!1;;)switch(n){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return $(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return z(e).length;default:if(i)return $(e).length;n=(""+n).toLowerCase(),i=!0}}function y(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return I(this,e,n);case"utf8":case"utf-8":return A(this,e,n);case"ascii":return N(this,e,n);case"latin1":case"binary":return P(this,e,n);case"base64":return O(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function _(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function w(e,n,r,i,o){if(0===e.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof n&&(n=t.from(n,i)),t.isBuffer(n))return 0===n.length?-1:b(e,n,r,i,o);if("number"==typeof n)return n=255&n,t.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,n,r):Uint8Array.prototype.lastIndexOf.call(e,n,r):b(e,[n],r,i,o);throw new TypeError("val must be string, number or Buffer")}function b(t,e,n,r,i){function o(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}var s=1,a=t.length,u=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,n/=2}var c;if(i){var l=-1;for(c=n;ca&&(n=a-u),c=n;c>=0;c--){for(var f=!0,d=0;di&&(r=i)):r=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s239?4:o>223?3:o>191?2:1;if(i+a<=n){var u,c,l,f;switch(a){case 1:o<128&&(s=o);break;case 2:u=t[i+1],128===(192&u)&&(f=(31&o)<<6|63&u,f>127&&(s=f));break;case 3:u=t[i+1],c=t[i+2],128===(192&u)&&128===(192&c)&&(f=(15&o)<<12|(63&u)<<6|63&c,f>2047&&(f<55296||f>57343)&&(s=f));break;case 4:u=t[i+1],c=t[i+2],l=t[i+3],128===(192&u)&&128===(192&c)&&128===(192&l)&&(f=(15&o)<<18|(63&u)<<12|(63&c)<<6|63&l,f>65535&&f<1114112&&(s=f))}}null===s?(s=65533,a=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),i+=a}return D(r)}function D(t){var e=t.length;if(e<=tt)return String.fromCharCode.apply(String,t);for(var n="",r=0;rr)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function j(e,n,r,i,o,s){if(!t.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>o||ne.length)throw new RangeError("Index out of range")}function L(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function F(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function U(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function H(t,e,n,r,i){return i||U(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(t,e,n,r,23,4),n+4}function B(t,e,n,r,i){return i||U(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(t,e,n,r,52,8),n+8}function W(t){if(t=Y(t).replace(et,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function Y(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function V(t){return t<16?"0"+t.toString(16):t.toString(16)}function $(t,e){e=e||1/0;for(var n,r=t.length,i=null,o=[],s=0;s55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function q(t){for(var e=[],n=0;n>8,i=n%256,o.push(i),o.push(r);return o}function z(t){return Q.toByteArray(W(t))}function K(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function X(t){return t!==t}var Q=n(590),J=n(591),Z=n(592);e.Buffer=t,e.SlowBuffer=g,e.INSPECT_MAX_BYTES=50,t.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:i(),e.kMaxLength=o(),t.poolSize=8192,t._augment=function(e){return e.__proto__=t.prototype,e},t.from=function(t,e,n){return a(null,t,e,n)},t.TYPED_ARRAY_SUPPORT&&(t.prototype.__proto__=Uint8Array.prototype,t.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&t[Symbol.species]===t&&Object.defineProperty(t,Symbol.species,{value:null,configurable:!0})),t.alloc=function(t,e,n){return c(null,t,e,n)},t.allocUnsafe=function(t){return l(null,t)},t.allocUnsafeSlow=function(t){return l(null,t)},t.isBuffer=function(t){return!(null==t||!t._isBuffer)},t.compare=function(e,n){if(!t.isBuffer(e)||!t.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(e===n)return 0;for(var r=e.length,i=n.length,o=0,s=Math.min(r,i);o0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},t.prototype.compare=function(e,n,r,i,o){if(!t.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===n&&(n=0),void 0===r&&(r=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),n<0||r>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&n>=r)return 0;if(i>=o)return-1;if(n>=r)return 1;if(n>>>=0,r>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var s=o-i,a=r-n,u=Math.min(s,a),c=this.slice(i,o),l=e.slice(n,r),f=0;fi)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return x(this,t,e,n);case"utf8":case"utf-8":return E(this,t,e,n);case"ascii":return S(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return T(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var tt=4096;t.prototype.slice=function(e,n){var r=this.length;e=~~e,n=void 0===n?r:~~n,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n0&&(i*=256);)r+=this[t+--e]*i;return r},t.prototype.readUInt8=function(t,e){return e||M(t,1,this.length),this[t]},t.prototype.readUInt16LE=function(t,e){return e||M(t,2,this.length),this[t]|this[t+1]<<8},t.prototype.readUInt16BE=function(t,e){return e||M(t,2,this.length),this[t]<<8|this[t+1]},t.prototype.readUInt32LE=function(t,e){return e||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},t.prototype.readUInt32BE=function(t,e){return e||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},t.prototype.readIntLE=function(t,e,n){t=0|t,e=0|e,n||M(t,e,this.length);for(var r=this[t],i=1,o=0;++o=i&&(r-=Math.pow(2,8*e)),r},t.prototype.readIntBE=function(t,e,n){t=0|t,e=0|e,n||M(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},t.prototype.readInt8=function(t,e){return e||M(t,1,this.length),128&this[t]?(255-this[t]+1)*-1:this[t]},t.prototype.readInt16LE=function(t,e){e||M(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt16BE=function(t,e){e||M(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt32LE=function(t,e){return e||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},t.prototype.readInt32BE=function(t,e){return e||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},t.prototype.readFloatLE=function(t,e){return e||M(t,4,this.length),J.read(this,t,!0,23,4)},t.prototype.readFloatBE=function(t,e){return e||M(t,4,this.length),J.read(this,t,!1,23,4)},t.prototype.readDoubleLE=function(t,e){return e||M(t,8,this.length),J.read(this,t,!0,52,8)},t.prototype.readDoubleBE=function(t,e){return e||M(t,8,this.length),J.read(this,t,!1,52,8)},t.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e=0|e,n=0|n,!r){var i=Math.pow(2,8*n)-1;j(this,t,e,n,i,0)}var o=1,s=0;for(this[e]=255&t;++s=0&&(s*=256);)this[e+o]=t/s&255;return e+n},t.prototype.writeUInt8=function(e,n,r){return e=+e,n=0|n,r||j(this,e,n,1,255,0),t.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[n]=255&e,n+1},t.prototype.writeUInt16LE=function(e,n,r){return e=+e,n=0|n,r||j(this,e,n,2,65535,0),t.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):L(this,e,n,!0),n+2},t.prototype.writeUInt16BE=function(e,n,r){return e=+e,n=0|n,r||j(this,e,n,2,65535,0),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=255&e):L(this,e,n,!1),n+2},t.prototype.writeUInt32LE=function(e,n,r){return e=+e,n=0|n,r||j(this,e,n,4,4294967295,0),t.TYPED_ARRAY_SUPPORT?(this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=255&e):F(this,e,n,!0),n+4},t.prototype.writeUInt32BE=function(e,n,r){return e=+e,n=0|n,r||j(this,e,n,4,4294967295,0),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):F(this,e,n,!1),n+4},t.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e=0|e,!r){var i=Math.pow(2,8*n-1);j(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o>0)-a&255;return e+n},t.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e=0|e,!r){var i=Math.pow(2,8*n-1);j(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},t.prototype.writeInt8=function(e,n,r){return e=+e,n=0|n,r||j(this,e,n,1,127,-128),t.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[n]=255&e,n+1},t.prototype.writeInt16LE=function(e,n,r){return e=+e,n=0|n,r||j(this,e,n,2,32767,-32768),t.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):L(this,e,n,!0),n+2},t.prototype.writeInt16BE=function(e,n,r){return e=+e,n=0|n,r||j(this,e,n,2,32767,-32768),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=255&e):L(this,e,n,!1),n+2},t.prototype.writeInt32LE=function(e,n,r){return e=+e,n=0|n,r||j(this,e,n,4,2147483647,-2147483648),t.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24):F(this,e,n,!0),n+4},t.prototype.writeInt32BE=function(e,n,r){return e=+e,n=0|n,r||j(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):F(this,e,n,!1),n+4},t.prototype.writeFloatLE=function(t,e,n){return H(this,t,e,!0,n)},t.prototype.writeFloatBE=function(t,e,n){return H(this,t,e,!1,n)},t.prototype.writeDoubleLE=function(t,e,n){return B(this,t,e,!0,n)},t.prototype.writeDoubleBE=function(t,e,n){return B(this,t,e,!1,n)},t.prototype.copy=function(e,n,r,i){if(r||(r=0),i||0===i||(i=this.length),n>=e.length&&(n=e.length),n||(n=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-n=0;--o)e[o+n]=this[o+r];else if(s<1e3||!t.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var s;if("number"==typeof e)for(s=n;s0?r:n)(t)}},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;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=l.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 l(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 f={},d=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},h=d(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),p=d(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,g=0,m=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=h()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var n=i(t);return r(n,e),function(t){for(var o=[],s=0;s=2){var r=t.config._lifecycleHooks.indexOf("init")>-1;t.mixin(r?{init:e}:{beforeCreate:e})}else{var i=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,i.call(this,t)}}}function n(t){var e={};return s(t).forEach(function(t){var n=t.key,r=t.val;e[n]=function(){return"function"==typeof r?r.call(this,this.$store.state,this.$store.getters):this.$store.state[r]}}),e}function r(t){var e={};return s(t).forEach(function(t){var n=t.key,r=t.val;e[n]=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return this.$store.commit.apply(this.$store,[r].concat(t))}}),e}function i(t){var e={};return s(t).forEach(function(t){var n=t.key,r=t.val;e[n]=function(){return r in this.$store.getters||console.error("[vuex] unknown getter: "+r),this.$store.getters[r]}}),e}function o(t){var e={};return s(t).forEach(function(t){var n=t.key,r=t.val;e[n]=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return this.$store.dispatch.apply(this.$store,[r].concat(t))}}),e}function s(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function a(t){return null!==t&&"object"==typeof t}function u(t){return t&&"function"==typeof t.then}function c(t,e){if(!t)throw new Error("[vuex] "+e)}function l(t,e){if(e.actions&&(t.actions=e.actions),e.mutations&&(t.mutations=e.mutations),e.getters&&(t.getters=e.getters),e.modules)for(var n in e.modules){if(!t.modules||!t.modules[n])return void console.warn("[vuex] trying to add a new module '"+n+"' on hot reloading, manual reload is needed");l(t.modules[n],e.modules[n])}}function f(t){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null);var e=t.state;h(t,e,[],t._options,!0),Object.keys(t._runtimeModules).forEach(function(n){h(t,e,n.split("."),t._runtimeModules[n],!0)}),d(t,e)}function d(t,e){var n=t._vm;t.getters={};var r=t._wrappedGetters,i={};Object.keys(r).forEach(function(e){var n=r[e];i[e]=function(){return n(t)},Object.defineProperty(t.getters,e,{get:function(){return t._vm[e]}})});var o=w.config.silent;w.config.silent=!0,t._vm=new w({data:{state:e},computed:i}),w.config.silent=o,t.strict&&m(t),n&&(t._withCommit(function(){n.state=null}),w.nextTick(function(){return n.$destroy()}))}function h(t,e,n,r,i){var o=!n.length,s=r.state,a=r.actions,u=r.mutations,c=r.getters,l=r.modules;if(!o&&!i){var f=y(e,n.slice(0,-1)),d=n[n.length-1];t._withCommit(function(){w.set(f,d,s||{})})}u&&Object.keys(u).forEach(function(e){p(t,e,u[e],n)}),a&&Object.keys(a).forEach(function(e){v(t,e,a[e],n)}),c&&g(t,c,n),l&&Object.keys(l).forEach(function(r){h(t,e,n.concat(r),l[r],i)})}function p(t,e,n,r){void 0===r&&(r=[]);var i=t._mutations[e]||(t._mutations[e]=[]);i.push(function(e){n(y(t.state,r),e)})}function v(t,e,n,r){void 0===r&&(r=[]);var i=t._actions[e]||(t._actions[e]=[]),o=t.dispatch,s=t.commit;i.push(function(e,i){var a=n({dispatch:o,commit:s,getters:t.getters,state:y(t.state,r),rootState:t.state},e,i);return u(a)||(a=Promise.resolve(a)),t._devtoolHook?a["catch"](function(e){throw t._devtoolHook.emit("vuex:error",e),e}):a})}function g(t,e,n){Object.keys(e).forEach(function(r){var i=e[r];return t._wrappedGetters[r]?void console.error("[vuex] duplicate getter key: "+r):void(t._wrappedGetters[r]=function(t){return i(y(t.state,n),t.getters,t.state)})})}function m(t){t._vm.$watch("state",function(){c(t._committing,"Do not mutate vuex store state outside mutation handlers.")},{deep:!0,sync:!0})}function y(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function _(t){return w?void console.error("[vuex] already installed. Vue.use(Vuex) should be called only once."):(w=t,void e(w))}var w,b="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,x=function(e){var n=this;void 0===e&&(e={}),c(w,"must call Vue.use(Vuex) before creating a store instance."),c("undefined"!=typeof Promise,"vuex requires a Promise polyfill in this browser.");var r=e.state;void 0===r&&(r={});var i=e.plugins;void 0===i&&(i=[]);var o=e.strict;void 0===o&&(o=!1),this._options=e,this._committing=!1,this._actions=Object.create(null),this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._runtimeModules=Object.create(null),this._subscribers=[],this._watcherVM=new w;var s=this,a=this,u=a.dispatch,l=a.commit;this.dispatch=function(t,e){return u.call(s,t,e)},this.commit=function(t,e,n){return l.call(s,t,e,n)},this.strict=o,h(this,r,[],e),d(this,r),i.concat(t).forEach(function(t){return t(n)})},E={state:{}};E.state.get=function(){return this._vm.state},E.state.set=function(t){c(!1,"Use store.replaceState() to explicit replace store state.")},x.prototype.commit=function(t,e,n){var r=this;a(t)&&t.type&&(n=e,e=t,t=t.type);var i={type:t,payload:e},o=this._mutations[t];return o?(this._withCommit(function(){o.forEach(function(t){t(e)})}),void(n&&n.silent||this._subscribers.forEach(function(t){return t(i,r.state)}))):void console.error("[vuex] unknown mutation type: "+t)},x.prototype.dispatch=function(t,e){a(t)&&t.type&&(e=t,t=t.type);var n=this._actions[t];return n?n.length>1?Promise.all(n.map(function(t){return t(e)})):n[0](e):void console.error("[vuex] unknown action type: "+t)},x.prototype.subscribe=function(t){var e=this._subscribers;return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}},x.prototype.watch=function(t,e,n){var r=this;return c("function"==typeof t,"store.watch only accepts a function."),this._watcherVM.$watch(function(){return t(r.state)},e,n)},x.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm.state=t})},x.prototype.registerModule=function(t,e){"string"==typeof t&&(t=[t]),c(Array.isArray(t),"module path must be a string or an Array."),this._runtimeModules[t.join(".")]=e,h(this,this.state,t,e),d(this,this.state)},x.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),c(Array.isArray(t),"module path must be a string or an Array."),delete this._runtimeModules[t.join(".")],this._withCommit(function(){var n=y(e.state,t.slice(0,-1));w["delete"](n,t[t.length-1])}),f(this)},x.prototype.hotUpdate=function(t){l(this._options,t),f(this)},x.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(x.prototype,E),"undefined"!=typeof window&&window.Vue&&_(window.Vue);var S={Store:x,install:_,mapState:n,mapMutations:r,mapGetters:i,mapActions:o};return S})},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e){t.exports=!1},[670,3,172,102,114,101,104],function(t,e,n){var r=n(174),i=n(102).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},[680,174,102],function(t,e,n){var r=n(17);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){"use strict";var r=n(4),i=n(9),o=n(8),s=n(7)("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},[695,41],function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r,i;r=[n(2)],i=function(t){"use strict";var e=function(n,r,i,o,s,a,u){var c=0,l=n.length,f=null==i;if("object"===t.type(i)){s=!0;for(c in i)e(n,r,c,i[c],!0,a,u)}else if(void 0!==o&&(s=!0,t.isFunction(o)||(u=!0),f&&(u?(r.call(n,o),r=null):(f=r,r=function(e,n,r){return f.call(t(e),r)})),r))for(;c0&&void 0!==arguments[0]?arguments[0]:window.localStorage;(0,f["default"])(this,t),this.storage=e}return(0,h["default"])(t,[{key:"_getLocalStorage",value:function(){return JSON.parse(this.storage.getItem(g)||"{}")}},{key:"json",value:function(){var t={baseURL:"https://lesspass.com"},e=this._getLocalStorage();return(0,c["default"])(t,e)}},{key:"save",value:function(t){var e=(0,c["default"])(this._getLocalStorage(),t);this.storage.setItem(g,(0,a["default"])(e))}},{key:"clear",value:function(){this.storage.clear()}},{key:"getToken",value:function(){var t=this.json();return m in t?new v["default"](t[m]):new v["default"]}},{key:"saveToken",value:function(t){this.save((0,o["default"])({},m,t))}}]),t}();e["default"]=y},function(t,e,n){var r=n(7)("unscopables"),i=Array.prototype;void 0==i[r]&&n(16)(i,r,{}),t.exports=function(t){i[r][t]=!0}},[645,35,168,106,3,10,123],function(t,e){t.exports={}},[684,9,14,7],function(t,e,n){var r=n(1),i=n(24),o=n(5),s=n(119),a="["+s+"]",u="​…",c=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),f=function(t,e,n){var i={},a=o(function(){return!!s[t]()||u[t]()!=u}),c=i[t]=a?e(d):s[t];n&&(i[n]=c),r(r.P+r.F*a,"String",i)},d=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},[634,97],[641,95],[648,78,194,64],function(t,e,n){var r,i;r=[n(2),n(11),n(43),n(517),n(201),n(202),n(27),n(515),n(142),n(67),n(225)],i=function(t,e,n,r,i,o){"use strict";function s(e){return function(r,i){"string"!=typeof r&&(i=r,r="*");var o,s=0,a=r.toLowerCase().match(n)||[];if(t.isFunction(i))for(;o=a[s++];)"+"===o[0]?(o=o.slice(1)||"*",(e[o]=e[o]||[]).unshift(i)):(e[o]=e[o]||[]).push(i)}}function a(e,n,r,i){function o(u){var c;return s[u]=!0,t.each(e[u]||[],function(t,e){var u=e(n,r,i);return"string"!=typeof u||a||s[u]?a?!(c=u):void 0:(n.dataTypes.unshift(u),o(u),!1)}),c}var s={},a=e===_;return o(n.dataTypes[0])||!s["*"]&&o("*")}function u(e,n){var r,i,o=t.ajaxSettings.flatOptions||{};for(r in n)void 0!==n[r]&&((o[r]?e:i||(i={}))[r]=n[r]);return i&&t.extend(!0,e,i),e}function c(t,e,n){for(var r,i,o,s,a=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||t.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}function l(t,e,n,r){var i,o,s,a,u,c={},l=t.dataTypes.slice();if(l[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(s=c[u+" "+o]||c["* "+o],!s)for(i in c)if(a=i.split(" "),a[1]===o&&(s=c[u+" "+a[0]]||c["* "+a[0]])){s===!0?s=c[i]:c[i]!==!0&&(o=a[0],l.unshift(a[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(f){return{state:"parsererror",error:s?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}var f=/%20/g,d=/#.*$/,h=/([?&])_=[^&]*/,p=/^(.*?):[ \t]*([^\r\n]*)$/gm,v=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,g=/^(?:GET|HEAD)$/,m=/^\/\//,y={},_={},w="*/".concat("*"),b=e.createElement("a");return b.href=r.href,t.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:r.href,type:"GET",isLocal:v.test(r.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":w,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":t.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,n){return n?u(u(e,t.ajaxSettings),n):u(t.ajaxSettings,e)},ajaxPrefilter:s(y),ajaxTransport:s(_),ajax:function(s,u){function v(e,n,r,i){var o,s,a,u,f,d=n;O||(O=!0,T&&window.clearTimeout(T),x=void 0,S=i||"",B.readyState=e>0?4:0,o=e>=200&&e<300||304===e,r&&(u=c(P,B,r)),u=l(P,u,B,o),o?(P.ifModified&&(f=B.getResponseHeader("Last-Modified"),f&&(t.lastModified[E]=f),f=B.getResponseHeader("etag"),f&&(t.etag[E]=f)),204===e||"HEAD"===P.type?d="nocontent":304===e?d="notmodified":(d=u.state,s=u.data,a=u.error,o=!a)):(a=d,!e&&d||(d="error",e<0&&(e=0))),B.status=e,B.statusText=(n||d)+"",o?M.resolveWith(I,[s,d,B]):M.rejectWith(I,[B,d,a]),B.statusCode(L),L=void 0,A&&R.trigger(o?"ajaxSuccess":"ajaxError",[B,P,o?s:a]),j.fireWith(I,[B,d]),A&&(R.trigger("ajaxComplete",[B,P]),--t.active||t.event.trigger("ajaxStop")))}"object"==typeof s&&(u=s,s=void 0),u=u||{};var x,E,S,C,T,k,O,A,D,N,P=t.ajaxSetup({},u),I=P.context||P,R=P.context&&(I.nodeType||I.jquery)?t(I):t.event,M=t.Deferred(),j=t.Callbacks("once memory"),L=P.statusCode||{},F={},U={},H="canceled",B={readyState:0,getResponseHeader:function(t){var e;if(O){if(!C)for(C={};e=p.exec(S);)C[e[1].toLowerCase()]=e[2];e=C[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return O?S:null},setRequestHeader:function(t,e){return null==O&&(t=U[t.toLowerCase()]=U[t.toLowerCase()]||t,F[t]=e),this},overrideMimeType:function(t){return null==O&&(P.mimeType=t),this},statusCode:function(t){var e;if(t)if(O)B.always(t[B.status]);else for(e in t)L[e]=[L[e],t[e]];return this},abort:function(t){var e=t||H;return x&&x.abort(e),v(0,e),this}};if(M.promise(B),P.url=((s||P.url||r.href)+"").replace(m,r.protocol+"//"),P.type=u.method||u.type||P.method||P.type,P.dataTypes=(P.dataType||"*").toLowerCase().match(n)||[""],null==P.crossDomain){k=e.createElement("a");try{k.href=P.url,k.href=k.href,P.crossDomain=b.protocol+"//"+b.host!=k.protocol+"//"+k.host}catch(W){P.crossDomain=!0}}if(P.data&&P.processData&&"string"!=typeof P.data&&(P.data=t.param(P.data,P.traditional)),a(y,P,u,B),O)return B;A=t.event&&P.global,A&&0===t.active++&&t.event.trigger("ajaxStart"),P.type=P.type.toUpperCase(),P.hasContent=!g.test(P.type),E=P.url.replace(d,""),P.hasContent?P.data&&P.processData&&0===(P.contentType||"").indexOf("application/x-www-form-urlencoded")&&(P.data=P.data.replace(f,"+")):(N=P.url.slice(E.length),P.data&&(E+=(o.test(E)?"&":"?")+P.data,delete P.data),P.cache===!1&&(E=E.replace(h,"$1"),N=(o.test(E)?"&":"?")+"_="+i++ +N),P.url=E+N),P.ifModified&&(t.lastModified[E]&&B.setRequestHeader("If-Modified-Since",t.lastModified[E]),t.etag[E]&&B.setRequestHeader("If-None-Match",t.etag[E])),(P.data&&P.hasContent&&P.contentType!==!1||u.contentType)&&B.setRequestHeader("Content-Type",P.contentType),B.setRequestHeader("Accept",P.dataTypes[0]&&P.accepts[P.dataTypes[0]]?P.accepts[P.dataTypes[0]]+("*"!==P.dataTypes[0]?", "+w+"; q=0.01":""):P.accepts["*"]);for(D in P.headers)B.setRequestHeader(D,P.headers[D]);if(P.beforeSend&&(P.beforeSend.call(I,B,P)===!1||O))return B.abort();if(H="abort",j.add(P.complete),B.done(P.success),B.fail(P.error),x=a(_,P,u,B)){if(B.readyState=1,A&&R.trigger("ajaxSend",[B,P]),O)return B;P.async&&P.timeout>0&&(T=window.setTimeout(function(){B.abort("timeout")},P.timeout));try{O=!1,x.send(F,v)}catch(W){if(O)throw W;v(-1,W)}}else v(-1,"No Transport");return B},getJSON:function(e,n,r){return t.get(e,n,r,"json")},getScript:function(e,n){return t.get(e,void 0,n,"script")}}),t.each(["get","post"],function(e,n){t[n]=function(e,r,i,o){return t.isFunction(r)&&(o=o||i,i=r,r=void 0),t.ajax(t.extend({url:e,type:n,dataType:o,data:r,success:i},t.isPlainObject(e)&&e))}}),t}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(2),n(150),n(136)],i=function(t,e){"use strict";function n(t){return t}function r(t){throw t}function i(e,n,r){var i;try{e&&t.isFunction(i=e.promise)?i.call(e).done(n).fail(r):e&&t.isFunction(i=e.then)?i.call(e,n,r):n.call(void 0,e)}catch(e){r.call(void 0,e)}}return t.extend({Deferred:function(e){var i=[["notify","progress",t.Callbacks("memory"),t.Callbacks("memory"),2],["resolve","done",t.Callbacks("once memory"),t.Callbacks("once memory"),0,"resolved"],["reject","fail",t.Callbacks("once memory"),t.Callbacks("once memory"),1,"rejected"]],o="pending",s={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},"catch":function(t){return s.then(null,t)},pipe:function(){var e=arguments;return t.Deferred(function(n){t.each(i,function(r,i){var o=t.isFunction(e[i[4]])&&e[i[4]];a[i[1]](function(){var e=o&&o.apply(this,arguments);e&&t.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,o,s){function a(e,i,o,s){return function(){var c=this,l=arguments,f=function(){var f,d;if(!(e=u&&(o!==r&&(c=void 0,l=[n]),i.rejectWith(c,l))}};e?d():(t.Deferred.getStackHook&&(d.stackTrace=t.Deferred.getStackHook()),window.setTimeout(d))}}var u=0;return t.Deferred(function(u){i[0][3].add(a(0,u,t.isFunction(s)?s:n,u.notifyWith)),i[1][3].add(a(0,u,t.isFunction(e)?e:n)),i[2][3].add(a(0,u,t.isFunction(o)?o:r))}).promise()},promise:function(e){return null!=e?t.extend(e,s):s}},a={};return t.each(i,function(t,e){var n=e[2],r=e[5];s[e[1]]=n.add,r&&n.add(function(){o=r},i[3-t][2].disable,i[0][2].lock),n.add(e[3].fire),a[e[0]]=function(){return a[e[0]+"With"](this===a?void 0:this,arguments),this},a[e[0]+"With"]=n.fireWith}),s.promise(a),e&&e.call(a,a),a},when:function(n){var r=arguments.length,o=r,s=Array(o),a=e.call(arguments),u=t.Deferred(),c=function(t){return function(n){s[t]=this,a[t]=arguments.length>1?e.call(arguments):n,--r||u.resolveWith(s,a)}};if(r<=1&&(i(n,u.done(c(o)).resolve,u.reject),"pending"===u.state()||t.isFunction(a[o]&&a[o].then)))return u.then();for(;o--;)i(a[o],c(o),u.reject);return u.promise()}}),t}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(2),n(11),n(145),n(43),n(150),n(33),n(27),n(13)],i=function(t,e,n,r,i,o){"use strict";function s(){return!0}function a(){return!1}function u(){try{return e.activeElement}catch(t){}}function c(e,n,r,i,o,s){var u,l;if("object"==typeof n){"string"!=typeof r&&(i=i||r,r=void 0);for(l in n)c(e,l,r,i,n[l],s);return e}if(null==i&&null==o?(o=r,i=r=void 0):null==o&&("string"==typeof r?(o=i,i=void 0):(o=i,i=r,r=void 0)),o===!1)o=a;else if(!o)return e;return 1===s&&(u=o,o=function(e){return t().off(e),u.apply(this,arguments)},o.guid=u.guid||(u.guid=t.guid++)),e.each(function(){t.event.add(this,n,o,i,r)})}var l=/^key/,f=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,d=/^([^.]*)(?:\.(.+)|)/;return t.event={global:{},add:function(e,i,s,a,u){var c,l,f,h,p,v,g,m,y,_,w,b=o.get(e);if(b)for(s.handler&&(c=s,s=c.handler,u=c.selector),u&&t.find.matchesSelector(n,u),s.guid||(s.guid=t.guid++),(h=b.events)||(h=b.events={}),(l=b.handle)||(l=b.handle=function(n){return"undefined"!=typeof t&&t.event.triggered!==n.type?t.event.dispatch.apply(e,arguments):void 0}),i=(i||"").match(r)||[""],p=i.length;p--;)f=d.exec(i[p])||[],y=w=f[1],_=(f[2]||"").split(".").sort(),y&&(g=t.event.special[y]||{},y=(u?g.delegateType:g.bindType)||y,g=t.event.special[y]||{},v=t.extend({type:y,origType:w,data:a,handler:s,guid:s.guid,selector:u,needsContext:u&&t.expr.match.needsContext.test(u),namespace:_.join(".")},c),(m=h[y])||(m=h[y]=[],m.delegateCount=0,g.setup&&g.setup.call(e,a,_,l)!==!1||e.addEventListener&&e.addEventListener(y,l)),g.add&&(g.add.call(e,v),v.handler.guid||(v.handler.guid=s.guid)),u?m.splice(m.delegateCount++,0,v):m.push(v),t.event.global[y]=!0)},remove:function(e,n,i,s,a){var u,c,l,f,h,p,v,g,m,y,_,w=o.hasData(e)&&o.get(e);if(w&&(f=w.events)){for(n=(n||"").match(r)||[""],h=n.length;h--;)if(l=d.exec(n[h])||[],m=_=l[1],y=(l[2]||"").split(".").sort(),m){for(v=t.event.special[m]||{},m=(s?v.delegateType:v.bindType)||m,g=f[m]||[],l=l[2]&&new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=u=g.length;u--;)p=g[u],!a&&_!==p.origType||i&&i.guid!==p.guid||l&&!l.test(p.namespace)||s&&s!==p.selector&&("**"!==s||!p.selector)||(g.splice(u,1),p.selector&&g.delegateCount--,v.remove&&v.remove.call(e,p));c&&!g.length&&(v.teardown&&v.teardown.call(e,y,w.handle)!==!1||t.removeEvent(e,m,w.handle),delete f[m])}else for(m in f)t.event.remove(e,m+n[h],i,s,!0);t.isEmptyObject(f)&&o.remove(e,"handle events")}},dispatch:function(e){var n,r,i,s,a,u,c=t.event.fix(e),l=new Array(arguments.length),f=(o.get(this,"events")||{})[c.type]||[],d=t.event.special[c.type]||{};for(l[0]=c,n=1;n=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||l.disabled!==!0)){for(s=[],a={},r=0;r-1:t.find(o,this,null,[l]).length),a[o]&&s.push(i);s.length&&u.push({elem:l,handlers:s})}return l=this,c-1:1===r.nodeType&&t.find.matchesSelector(r,e))){a.push(r);break}return this.pushStack(a.length>1?t.uniqueSort(a):a)},index:function(n){return n?"string"==typeof n?e.call(t(n),this[0]):e.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,n){return this.pushStack(t.uniqueSort(t.merge(this.get(),t(e,n))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),t.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return n(t,"parentNode")},parentsUntil:function(t,e,r){return n(t,"parentNode",r)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return n(t,"nextSibling")},prevAll:function(t){return n(t,"previousSibling")},nextUntil:function(t,e,r){return n(t,"nextSibling",r)},prevUntil:function(t,e,r){return n(t,"previousSibling",r)},siblings:function(t){return r((t.parentNode||{}).firstChild,t)},children:function(t){return r(t.firstChild)},contents:function(e){return e.contentDocument||t.merge([],e.childNodes)}},function(e,n){t.fn[e]=function(r,i){var o=t.map(this,n,r);return"Until"!==e.slice(-5)&&(i=r),i&&"string"==typeof i&&(o=t.filter(i,o)),this.length>1&&(a[e]||t.uniqueSort(o),s.test(e)&&o.reverse()),this.pushStack(o)}}),t}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(450),o=r(i),s=n(74),a=r(s),u=n(75),c=r(u),l=n(153),f=r(l),d=function(){function t(e){(0,a["default"])(this,t),this.user={authenticated:!1},this.storage=e}return(0,c["default"])(t,[{key:"isAuthenticated",value:function(){var t=this.storage.getToken();return t.stillValid()?(this.user.authenticated=!0,!0):(this.user.authenticated=!1,!1)}},{key:"isGuest",value:function(){return!this.isAuthenticated()}},{key:"logout",value:function(){var t=this;return new o["default"](function(e){t.storage.clear(),t.user.authenticated=!1,e()})}},{key:"login",value:function(e,n){var r=this,i=this.storage.json();return n&&(i.baseURL=n),t._requestToken(e,i).then(function(t){r.storage.saveToken(t)})}},{key:"refreshToken",value:function(){var e=this,n=this.storage.json(),r=this.storage.getToken();return t._requestNewToken({token:r.name},n).then(function(t){e.storage.saveToken(t)})}},{key:"register",value:function(t,e){var n=this.storage.json();return e&&(n.baseURL=e),f["default"].post("/api/auth/register/",t,n).then(function(t){return t.data})}},{key:"resetPassword",value:function(t,e){var n=this.storage.json();return e&&(n.baseURL=e),f["default"].post("/api/auth/password/reset/",t,n)}},{key:"confirmResetPassword",value:function(t,e){var n=this.storage.json();return e&&(n.baseURL=e),f["default"].post("/api/auth/password/reset/confirm/",t,n)}}],[{key:"_requestToken",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f["default"].post("/api/tokens/auth/",t,e).then(function(t){return t.data.token})}},{key:"_requestNewToken",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f["default"].post("/api/tokens/refresh/",t,e).then(function(t){return t.data.token})}}]),t}();e["default"]=d},[637,23,7],[653,23],function(t,e){e.f={}.propertyIsEnumerable},function(t,e){"use strict";e.__esModule=!0,e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=n(186),o=r(i);e["default"]=function(){function t(t,e){for(var n=0;n1)}}),t}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r;r=function(){"use strict";return[]}.call(e,n,e,t),!(void 0!==r&&(t.exports=r))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function s(){v&&h&&(v=!1,h.length?p=h.concat(p):g=-1,p.length&&a())}function a(){if(!v){var t=i(s);v=!0;for(var e=p.length;e;){for(h=p,p=[];++g1)for(var n=1;n1&&"string"==typeof S&&!f.checkClone&&C.test(S))return n.each(function(t){var e=n.eq(t);T&&(r[0]=S.call(this,t,e.html())),b(e,r,i,o)});if(x&&(a=l(r,n[0].ownerDocument,!1,n,o),c=a.firstChild,1===a.childNodes.length&&(a=c),c||o)){for(h=t.map(u(a,"script"),m),p=h.length;w\x20\t\r\n\f]*)[^>]*)\/>/gi,S=/\s*$/g;return t.extend({htmlPrefilter:function(t){return t.replace(E,"<$1>")},clone:function(e,n,r){var i,o,s,a,l=e.cloneNode(!0),d=t.contains(e.ownerDocument,e);if(!(f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||t.isXMLDoc(e)))for(a=u(l),s=u(e),i=0,o=s.length;i0&&c(a,!d&&u(e,"script")),l},cleanData:function(e){for(var n,r,i,o=t.event.special,s=0;void 0!==(r=e[s]);s++)if(p(r)){if(n=r[d.expando]){if(n.events)for(i in n.events)o[i]?t.event.remove(r,i):t.removeEvent(r,i,n.handle);r[d.expando]=void 0}r[h.expando]&&(r[h.expando]=void 0)}}}),t.fn.extend({detach:function(t){return x(this,t,!0)},remove:function(t){return x(this,t)},text:function(e){return r(this,function(e){return void 0===e?t.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return b(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=g(this,t);e.appendChild(t)}})},prepend:function(){return b(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=g(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return b(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return b(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var e,n=0;null!=(e=this[n]);n++)1===e.nodeType&&(t.cleanData(u(e,!1)),e.textContent="");return this},clone:function(e,n){return e=null!=e&&e,n=null==n?e:n,this.map(function(){return t.clone(this,e,n)})},html:function(e){return r(this,function(e){var n=this[0]||{},r=0,i=this.length;if(void 0===e&&1===n.nodeType)return n.innerHTML;if("string"==typeof e&&!S.test(e)&&!a[(o.exec(e)||["",""])[1].toLowerCase()]){e=t.htmlPrefilter(e);try{for(;r1?arguments[1]:void 0,n),u=s>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>a;)e[a++]=t;return e}},function(t,e,n){"use strict";var r=n(9),i=n(40);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},[644,6,4],function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(7)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(i){}}return!0}},[650,4],function(t,e,n){var r=n(6),i=n(113).set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},[656,60,7],function(t,e,n){var r=n(23);t.exports=Array.isArray||function(t){return"Array"==r(t)}},[660,48,40,61,16,7],[662,47,1,17,16,14,60,108,61,22,7],function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},[665,4,120,23],function(t,e,n){var r=n(6),i=n(3),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(35)(Function.call,n(21).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(i){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},[686,91,54],[689,3,15,7],[692,41,24],function(t,e,n){var r=n(87),i=n(24);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},function(t,e,n){"use strict";var r=n(41),i=n(24);t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e){t.exports="\t\n\x0B\f\r   ᠎              \u2028\u2029\ufeff"},[693,35,86,104,101,4,23],function(t,e,n){"use strict";var r=n(4),i=n(8),o=n(47),s=n(92),a=n(16),u=n(51),c=n(5),l=n(46),f=n(41),d=n(10),h=n(49).f,p=n(9).f,v=n(99),g=n(61),m="ArrayBuffer",y="DataView",_="prototype",w="Wrong length!",b="Wrong index!",x=r[m],E=r[y],S=r.Math,C=r.RangeError,T=r.Infinity,k=x,O=S.abs,A=S.pow,D=S.floor,N=S.log,P=S.LN2,I="buffer",R="byteLength",M="byteOffset",j=i?"_b":I,L=i?"_l":R,F=i?"_o":M,U=function(t,e,n){var r,i,o,s=Array(n),a=8*n-e-1,u=(1<>1,l=23===e?A(2,-24)-A(2,-77):0,f=0,d=t<0||0===t&&1/t<0?1:0;for(t=O(t),t!=t||t===T?(i=t!=t?1:0,r=u):(r=D(N(t)/P),t*(o=A(2,-r))<1&&(r--,o*=2),t+=r+c>=1?l/o:l*A(2,1-c),t*o>=2&&(r++,o/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(t*o-1)*A(2,e),r+=c):(i=t*A(2,c-1)*A(2,e),r=0));e>=8;s[f++]=255&i,i/=256,e-=8);for(r=r<0;s[f++]=255&r,r/=256,a-=8);return s[--f]|=128*d,s},H=function(t,e,n){var r,i=8*n-e-1,o=(1<>1,a=i-7,u=n-1,c=t[u--],l=127&c;for(c>>=7;a>0;l=256*l+t[u],u--,a-=8);for(r=l&(1<<-a)-1,l>>=-a,a+=e;a>0;r=256*r+t[u],u--,a-=8);if(0===l)l=1-s;else{if(l===o)return r?NaN:c?-T:T;r+=A(2,e),l-=s}return(c?-1:1)*r*A(2,l-e)},B=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},W=function(t){return[255&t]},Y=function(t){return[255&t,t>>8&255]},V=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},$=function(t){return U(t,52,8)},q=function(t){return U(t,23,4)},G=function(t,e,n){p(t[_],e,{get:function(){return this[n]}})},z=function(t,e,n,r){var i=+n,o=f(i);if(i!=o||o<0||o+e>t[L])throw C(b);var s=t[j]._b,a=o+t[F],u=s.slice(a,a+e);return r?u:u.reverse()},K=function(t,e,n,r,i,o){var s=+n,a=f(s);if(s!=a||a<0||a+e>t[L])throw C(b);for(var u=t[j]._b,c=a+t[F],l=r(+i),d=0;dtt;)(Q=Z[tt++])in x||a(x,Q,k[Q]);o||(J.constructor=x)}var et=new E(new x(2)),nt=E[_].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||u(E[_],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else x=function(t){var e=X(this,t);this._b=v.call(Array(e),0),this[L]=e},E=function(t,e,n){l(this,E,y),l(t,x,y);var r=t[L],i=f(e);if(i<0||i>r)throw C("Wrong offset!");if(n=void 0===n?r-i:d(n),i+n>r)throw C(w);this[j]=t,this[F]=i,this[L]=n},i&&(G(x,R,"_l"),G(E,I,"_b"),G(E,R,"_l"),G(E,M,"_o")),u(E[_],{getInt8:function(t){return z(this,1,t)[0]<<24>>24},getUint8:function(t){return z(this,1,t)[0]},getInt16:function(t){var e=z(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=z(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return B(z(this,4,t,arguments[1]))},getUint32:function(t){return B(z(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return H(z(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return H(z(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){K(this,1,t,W,e)},setUint8:function(t,e){K(this,1,t,W,e)},setInt16:function(t,e){K(this,2,t,Y,e,arguments[2])},setUint16:function(t,e){K(this,2,t,Y,e,arguments[2])},setInt32:function(t,e){K(this,4,t,V,e,arguments[2])},setUint32:function(t,e){K(this,4,t,V,e,arguments[2])},setFloat32:function(t,e){K(this,4,t,q,e,arguments[2])},setFloat64:function(t,e){K(this,8,t,$,e,arguments[2])}});g(x,m),g(E,y),a(E[_],s.VIEW,!0),e[m]=x,e[y]=E},function(t,e,n){var r=n(4),i=n(34),o=n(47),s=n(181),a=n(9).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},[708,71,7,60,34],[709,58,169,60,19,109],function(t,e,n){t.exports={"default":n(453),__esModule:!0}},15,24,[644,97,32],[680,474,189],[684,78,96,26],[686,195,198],41,[698,191,127],[702,127],function(t,e,n){var r,i;r=[n(11),n(56)],i=function(t,e){"use strict";return function(){var n=t.createElement("input"),r=t.createElement("select"),i=r.appendChild(t.createElement("option"));n.type="checkbox",e.checkOn=""!==n.value,e.optSelected=i.selected,n=t.createElement("input"),n.value="t",n.type="radio",e.radioValue="t"===n.value}(),e}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(2),n(43)],i=function(t,e){"use strict";function n(n){var r={};return t.each(n.match(e)||[],function(t,e){r[e]=!0}),r}return t.Callbacks=function(e){e="string"==typeof e?n(e):t.extend({},e);var r,i,o,s,a=[],u=[],c=-1,l=function(){for(s=e.once,o=r=!0;u.length;c=-1)for(i=u.shift();++c-1;)a.splice(r,1),r<=c&&c--}),this},has:function(e){return e?t.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return s=u=[],a=i="",this},disabled:function(){return!a},lock:function(){return s=u=[],i||r||(a=i=""),this},locked:function(){return!!s},fireWith:function(t,e){return s||(e=e||[],e=[t,e.slice?e.slice():e],u.push(e),r||l()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},t}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(43)],i=function(t){"use strict";function e(e){var n=e.match(t)||[];return n.join(" ")}return e}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(2),n(11),n(145),n(56)],i=function(t,e,n,r){"use strict";return function(){function i(){if(l){l.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",l.innerHTML="",n.appendChild(c);var t=window.getComputedStyle(l);o="1%"!==t.top,u="2px"===t.marginLeft,s="4px"===t.width,l.style.marginRight="50%",a="4px"===t.marginRight,n.removeChild(c),l=null}}var o,s,a,u,c=e.createElement("div"),l=e.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",r.clearCloneStyle="content-box"===l.style.backgroundClip,c.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",c.appendChild(l),t.extend(r,{pixelPosition:function(){return i(),o},boxSizingReliable:function(){return i(),s},pixelMarginRight:function(){return i(),a},reliableMarginLeft:function(){return i(),u}}))}(),r}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(148)],i=function(t){"use strict";return new RegExp("^("+t+")(?!px)[a-z%]+$","i")}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r;r=function(){"use strict";return function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType}}.call(e,n,e,t),!(void 0!==r&&(t.exports=r))},function(t,e,n){var r,i;r=[n(2),n(11),n(149),n(43),n(210),n(212),n(214),n(208),n(33),n(527),n(27),n(143),n(67),n(69),n(98),n(79),n(532)],i=function(t,e,n,r,i,o,s,a,u,c){"use strict";function l(){y&&(window.requestAnimationFrame(l),t.fx.tick())}function f(){return window.setTimeout(function(){m=void 0}),m=t.now()}function d(t,e){var n,r=0,o={height:t};for(e=e?1:0;r<4;r+=2-e)n=i[r],o["margin"+n]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function h(t,e,n){for(var r,i=(g.tweeners[e]||[]).concat(g.tweeners["*"]),o=0,s=i.length;o-1&&(_=y.split("."),y=_.shift(),_.sort()),p=y.indexOf(":")<0&&"on"+y,s=s[t.expando]?s:new t.Event(y,"object"==typeof s&&s),s.isTrigger=c?2:3,s.namespace=_.join("."),s.rnamespace=s.namespace?new RegExp("(^|\\.)"+_.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,s.result=void 0,s.target||(s.target=u),a=null==a?[s]:t.makeArray(a,[s]),g=t.event.special[y]||{},c||!g.trigger||g.trigger.apply(u,a)!==!1)){if(!c&&!g.noBubble&&!t.isWindow(u)){for(h=g.delegateType||y,o.test(h+y)||(f=f.parentNode);f;f=f.parentNode)m.push(f),d=f;d===(u.ownerDocument||e)&&m.push(d.defaultView||d.parentWindow||window)}for(l=0;(f=m[l++])&&!s.isPropagationStopped();)s.type=l>1?h:g.bindType||y,v=(n.get(f,"events")||{})[s.type]&&n.get(f,"handle"),v&&v.apply(f,a),v=p&&f[p],v&&v.apply&&r(f)&&(s.result=v.apply(f,a),s.result===!1&&s.preventDefault());return s.type=y,c||s.isDefaultPrevented()||g._default&&g._default.apply(m.pop(),a)!==!1||!r(u)||p&&t.isFunction(u[y])&&!t.isWindow(u)&&(d=u[p],d&&(u[p]=null),t.event.triggered=y,u[y](),t.event.triggered=void 0,d&&(u[p]=d)),s.result}},simulate:function(e,n,r){var i=t.extend(new t.Event,r,{type:e,isSimulated:!0});t.event.trigger(i,null,n)}}),t.fn.extend({trigger:function(e,n){return this.each(function(){t.event.trigger(e,n,this)})},triggerHandler:function(e,n){var r=this[0];if(r)return t.event.trigger(e,n,r,!0)}}),t}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(2),n(33),n(67),n(136)],i=function(t,e){"use strict";return t.extend({queue:function(n,r,i){var o;if(n)return r=(r||"fx")+"queue",o=e.get(n,r),i&&(!o||t.isArray(i)?o=e.access(n,r,t.makeArray(i)):o.push(i)),o||[]},dequeue:function(e,n){n=n||"fx";var r=t.queue(e,n),i=r.length,o=r.shift(),s=t._queueHooks(e,n),a=function(){t.dequeue(e,n)};"inprogress"===o&&(o=r.shift(),i--),o&&("fx"===n&&r.unshift("inprogress"),delete s.stop,o.call(e,a,s)),!i&&s&&s.empty.fire()},_queueHooks:function(n,r){var i=r+"queueHooks";return e.get(n,i)||e.access(n,i,{empty:t.Callbacks("once memory").add(function(){e.remove(n,[r+"queue",i])})})}}),t.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),arguments.length-1)return t.splice(n,1)}}function s(t,e){return rn.call(t,e)}function a(t){return"string"==typeof t||"number"==typeof t}function u(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function c(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 l(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function f(t,e){for(var n in e)t[n]=e[n];return t}function d(t){return null!==t&&"object"==typeof t}function h(t){return ln.call(t)===fn}function p(t){for(var e={},n=0;nhn._maxUpdateCount)){tr("You may have an infinite update loop "+(t.user?'in watcher with expression "'+t.expression+'"':"in a component render function."),t.vm);break}}En&&hn.devtools&&En.emit("flush"),C()}function k(t){var e=t.id;if(null==In[e]){if(In[e]=!0,jn){for(var n=Pn.length-1;n>=0&&Pn[n].id>t.id;)n--;Pn.splice(Math.max(n,Ln)+1,0,t)}else Pn.push(t);Mn||(Mn=!0,Sn(T))}}function O(t,e){var n,r;e||(e=Hn,e.clear());var i=Array.isArray(t),o=d(t);if((i||o)&&Object.isExtensible(t)){if(t.__ob__){var s=t.__ob__.dep.id;if(e.has(s))return;e.add(s)}if(i)for(n=t.length;n--;)O(t[n],e);else if(o)for(r=Object.keys(t),n=r.length;n--;)O(t[r[n]],e)}}function A(t,e){t.__proto__=e}function D(t,e,n){for(var r=0,i=n.length;r1?l(n):n;for(var r=l(arguments,1),i=0,o=n.length;i-1?wr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:wr[t]=/HTMLUnknownElement/.test(e.toString())}function Jt(t){if("string"==typeof t){var n=t;if(t=document.querySelector(t),!t)return"production"!==e.env.NODE_ENV&&tr("Cannot find element: "+n),document.createElement("div")}return t}function Zt(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&"multiple"in e.data.attrs&&n.setAttribute("multiple","multiple"),n)}function te(t,e){return document.createElementNS(gr[t],e)}function ee(t){return document.createTextNode(t)}function ne(t){return document.createComment(t)}function re(t,e,n){t.insertBefore(e,n)}function ie(t,e){t.removeChild(e)}function oe(t,e){t.appendChild(e)}function se(t){return t.parentNode}function ae(t){return t.nextSibling}function ue(t){return t.tagName}function ce(t,e){t.textContent=e}function le(t){return t.childNodes}function fe(t,e,n){t.setAttribute(e,n)}function de(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.child||t.elm,s=r.$refs;e?Array.isArray(s[n])?o(s[n],i):s[n]===i&&(s[n]=void 0):t.data.refInFor?Array.isArray(s[n])?s[n].push(i):s[n]=[i]:s[n]=i}}function he(t){return null==t}function pe(t){return null!=t}function ve(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function ge(t,e,n){var r,i,o={};for(r=e;r<=n;++r)i=t[r].key,pe(i)&&(o[i]=r);return o}function me(t){function r(t){return new Gn(T.tagName(t).toLowerCase(),{},[],(void 0),t)}function i(t,e){function n(){0===--n.listeners&&o(t)}return n.listeners=e,n}function o(t){var e=T.parentNode(t);T.removeChild(e,t)}function s(t,n,r){var i,o=t.data;if(t.isRootInsert=!r,pe(o)&&(pe(i=o.hook)&&pe(i=i.init)&&i(t),pe(i=t.child)))return f(t,n),t.elm;var s=t.children,a=t.tag;return pe(a)?("production"!==e.env.NODE_ENV&&(t.ns||hn.ignoredElements&&hn.ignoredElements.indexOf(a)>-1||!hn.isUnknownElement(a)||tr("Unknown custom element: <"+a+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',t.context)),t.elm=t.ns?T.createElementNS(t.ns,a):T.createElement(a,t),d(t),u(t,s,n),pe(o)&&l(t,n)):t.isComment?t.elm=T.createComment(t.text):t.elm=T.createTextNode(t.text),t.elm}function u(t,e,n){if(Array.isArray(e))for(var r=0;rp?(l=he(r[_+1])?null:r[_+1].elm,h(t,l,r,d,_,i)):d>_&&v(t,n,f,p)}function y(t,e,n,r){if(t!==e){if(e.isStatic&&t.isStatic&&e.key===t.key&&e.isCloned)return void(e.elm=t.elm);var i,o=e.data,s=pe(o);s&&pe(i=o.hook)&&pe(i=i.prepatch)&&i(t,e);var a=e.elm=t.elm,u=t.children,l=e.children;if(s&&c(e)){for(i=0;i, or missing . Bailing hydration and performing full client-side render.")}t=r(t)}if(a=t.elm,u=T.parentNode(a),s(n,f),n.parent&&(n.parent.elm=n.elm,c(n)))for(var h=0;h-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 Ae(t,e){if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+t.getAttribute("class")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function De(t){Wr(function(){Wr(t)})}function Ne(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),Oe(t,e)}function Pe(t,e){t._transitionClasses&&o(t._transitionClasses,e),Ae(t,e)}function Ie(t,e,n){var r=Re(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===jr?Ur:Br,u=0,c=function(){t.removeEventListener(a,l),n()},l=function(e){e.target===t&&++u>=s&&c()};setTimeout(function(){u0&&(n=jr,l=s,f=o.length):e===Lr?c>0&&(n=Lr,l=c,f=u.length):(l=Math.max(s,c),n=l>0?s>c?jr:Lr:null,f=n?n===jr?o.length:u.length:0);var d=n===jr&&Yr.test(r[Fr+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:d}}function Me(t,e){return Math.max.apply(null,e.map(function(e,n){return je(e)+je(t[n])}))}function je(t){return 1e3*Number(t.slice(0,-1))}function Le(t){var e=t.elm;e._leaveCb&&(e._leaveCb.cancelled=!0,e._leaveCb());var n=Ue(t.data.transition);if(n&&!e._enterCb&&1===e.nodeType){var r=n.css,i=n.type,o=n.enterClass,s=n.enterActiveClass,a=n.appearClass,u=n.appearActiveClass,c=n.beforeEnter,l=n.enter,f=n.afterEnter,d=n.enterCancelled,h=n.beforeAppear,p=n.appear,v=n.afterAppear,g=n.appearCancelled,m=Kn.$vnode,y=m&&m.parent?m.parent.context:Kn,_=!y._isMounted||!t.isRootInsert;if(!_||p||""===p){var w=_?a:o,b=_?u:s,x=_?h||c:c,E=_&&"function"==typeof p?p:l,S=_?v||f:f,C=_?g||d:d,T=r!==!1&&!_n,k=E&&(E._length||E.length)>1,O=e._enterCb=He(function(){T&&Pe(e,b),O.cancelled?(T&&Pe(e,w),C&&C(e)):S&&S(e),e._enterCb=null});t.data.show||z(t.data.hook||(t.data.hook={}),"insert",function(){var n=e.parentNode,r=n&&n._pending&&n._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),E&&E(e,O)},"transition-insert"),x&&x(e),T&&(Ne(e,w),Ne(e,b),De(function(){Pe(e,w),O.cancelled||k||Ie(e,i,O)})),t.data.show&&E&&E(e,O),T||k||O()}}}function Fe(t,e){function n(){g.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),c&&c(r),p&&(Ne(r,a),Ne(r,u),De(function(){Pe(r,a),g.cancelled||v||Ie(r,s,g)})),l&&l(r,g),p||v||g())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=Ue(t.data.transition);if(!i)return e();if(!r._leaveCb&&1===r.nodeType){var o=i.css,s=i.type,a=i.leaveClass,u=i.leaveActiveClass,c=i.beforeLeave,l=i.leave,f=i.afterLeave,d=i.leaveCancelled,h=i.delayLeave,p=o!==!1&&!_n,v=l&&(l._length||l.length)>1,g=r._leaveCb=He(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),p&&Pe(r,u),g.cancelled?(p&&Pe(r,a),d&&d(r)):(e(),f&&f(r)),r._leaveCb=null});h?h(n):n()}}function Ue(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&f(e,Vr(t.name||"v")),f(e,t),e}return"string"==typeof t?Vr(t):void 0}}function He(t){var e=!1;return function(){e||(e=!0,t())}}function Be(t,n,r){var i=n.value,o=t.multiple;if(o&&!Array.isArray(i))return void("production"!==e.env.NODE_ENV&&tr('",""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};return t.optgroup=t.option,t.tbody=t.tfoot=t.colgroup=t.caption=t.thead,t.th=t.td,t}.call(e,n,e,t),!(void 0!==r&&(t.exports=r))},function(t,e,n){var r,i;r=[n(2),n(221),n(27),n(69),n(203)],i=function(t,e){"use strict";function n(e,i,o,s){var a;if(t.isArray(i))t.each(i,function(t,i){o||r.test(e)?s(e,i):n(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,o,s)});else if(o||"object"!==t.type(i))s(e,i);else for(a in i)n(e+"["+a+"]",i[a],o,s)}var r=/\[\]$/,i=/\r?\n/g,o=/^(?:submit|button|image|reset|file)$/i,s=/^(?:input|select|textarea|keygen)/i;return t.param=function(e,r){var i,o=[],s=function(e,n){var r=t.isFunction(n)?n():n;o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(t.isArray(e)||e.jquery&&!t.isPlainObject(e))t.each(e,function(){s(this.name,this.value)});else for(i in e)n(i,e[i],r,s);return o.join("&")},t.fn.extend({serialize:function(){return t.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=t.prop(this,"elements");return e?t.makeArray(e):this}).filter(function(){var n=this.type;return this.name&&!t(this).is(":disabled")&&s.test(this.nodeName)&&!o.test(n)&&(this.checked||!e.test(n))}).map(function(e,n){var r=t(this).val();return null==r?null:t.isArray(r)?t.map(r,function(t){return{name:n.name,value:t.replace(i,"\r\n")}}):{name:n.name,value:r.replace(i,"\r\n")}}).get()}}),t}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(2),n(147),n(227),n(13)],i=function(t,e,n){"use strict";function r(n,r,o){return t.isFunction(r)?t.grep(n,function(t,e){return!!r.call(t,e,t)!==o}):r.nodeType?t.grep(n,function(t){return t===r!==o}):"string"!=typeof r?t.grep(n,function(t){return e.call(r,t)>-1!==o}):i.test(r)?t.filter(r,n,o):(r=t.filter(r,n),t.grep(n,function(t){return e.call(r,t)>-1!==o&&1===t.nodeType}))}var i=/^.[^:#\[\.,]*$/;t.filter=function(e,n,r){var i=n[0];return r&&(e=":not("+e+")"),1===n.length&&1===i.nodeType?t.find.matchesSelector(i,e)?[i]:[]:t.find.matches(e,t.grep(n,function(t){return 1===t.nodeType}))},t.fn.extend({find:function(e){var n,r,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(t(e).filter(function(){for(n=0;n1?t.uniqueSort(r):r},filter:function(t){return this.pushStack(r(this,t||[],!1))},not:function(t){return this.pushStack(r(this,t||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&n.test(e)?t(e):e||[],!1).length}})}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(2),n(13)],i=function(t){"use strict";return t.expr.match.needsContext}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(80)],i=function(t){"use strict";return t.concat}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(146)],i=function(t){"use strict";return t.toString}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(80)],i=function(t){"use strict";return t.push}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){(function(e){function r(t){return function(){var n=[],r={update:function(t,r){return e.isBuffer(t)||(t=new e(t,r)),n.push(t),this},digest:function(r){var i=e.concat(n),o=t(i);return n=null,r?o.toString(r):o}};return r}}var i=n(599),o=r(n(595)),s=r(n(597));t.exports=function(t){return"md5"===t?new o:"rmd160"===t?new s:i(t)}}).call(e,n(38).Buffer)},function(t,e,n){(function(t){function r(){var t=[].slice.call(arguments).join(" ");throw new Error([t,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}function i(t,e){for(var n in t)e(t[n],n)}var o=n(604);e.createHash=n(231),e.createHmac=n(593),e.randomBytes=function(e,n){if(!n||!n.call)return new t(o(e));try{n.call(this,void 0,new t(o(e)))}catch(r){n(r)}},e.getHashes=function(){return["sha1","sha256","sha512","md5","rmd160"]};var s=n(603)(e);e.pbkdf2=s.pbkdf2,e.pbkdf2Sync=s.pbkdf2Sync,i(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman"],function(t){e[t]=function(){r("sorry,",t,"is not implemented yet")}})}).call(e,n(38).Buffer)},function(t,e,n){"use strict";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(20),o=n(156),s=n(234),a=r();a.Axios=s,a.create=function(t){return r(t)},a.all=function(t){return Promise.all(t)},a.spread=n(249),t.exports=a,t.exports["default"]=a},function(t,e,n){"use strict";function r(t){this.defaults=o.merge(i,t),this.interceptors={request:new s,response:new s}}var i=n(240),o=n(20),s=n(235),a=n(236),u=n(245),c=n(243);r.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),t=o.merge(i,this.defaults,{method:"get"},t),t.baseURL&&!u(t.url)&&(t.url=c(t.baseURL,t.url));var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head"],function(t){r.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},function(t,e,n){"use strict";function r(){this.handlers=[]}var i=n(20);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(e){"use strict";var r=n(20),i=n(239);t.exports=function(t){t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]});var o;return"function"==typeof t.adapter?o=t.adapter:"undefined"!=typeof XMLHttpRequest?o=n(154):"undefined"!=typeof e&&(o=n(154)),Promise.resolve(t).then(o).then(function(e){return e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse)),Promise.reject(e)})}}).call(e,n(81))},function(t,e){"use strict";t.exports=function(t,e,n,r){return t.config=e,n&&(t.code=n),t.response=r,t}},function(t,e,n){"use strict";var r=n(155);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){"use strict";var r=n(20);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";function r(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var i=n(20),o=n(247),s=/^\)\]\}',?\n/,a={"Content-Type":"application/x-www-form-urlencoded"};t.exports={transformRequest:[function(t,e){return o(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(r(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t){t=t.replace(s,"");try{t=JSON.parse(t)}catch(e){}}return t}],headers:{common:{Accept:"application/json, text/plain, */*"},patch:i.merge(a),post:i.merge(a),put:i.merge(a)},timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}}},function(t,e){"use strict";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),r>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){"use strict";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(20);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&&"undefined"!=typeof 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+=(t.indexOf("?")===-1?"?":"&")+o),t}},function(t,e){"use strict";t.exports=function(t,e){return t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,"")}},function(t,e,n){"use strict";var r=n(20);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),s===!0&&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){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";var r=n(20);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,n){"use strict";var r=n(20);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){"use strict";var r=n(20);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){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={data:function(){return{pending:!1}},props:{action:{type:Function,required:!0},text:{type:String,required:!0},object:{type:Object,required:!0}},methods:{confirm:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){this.pending=!0;var t=confirm(this.text);1==t&&this.action(this.object)})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(232);e["default"]={data:function(){return{icon1:"",icon2:"",icon3:"",color1:"",color2:"",color3:""}},props:["fingerprint"],watch:{fingerprint:function(t){var e=r.createHmac("sha256",t).digest("hex"),n=e.substring(0,6),i=e.substring(6,12),o=e.substring(12,18);this.icon1=this.getIcon(n),this.icon2=this.getIcon(i),this.icon3=this.getIcon(o),this.color1=this.getColor(n),this.color2=this.getColor(i),this.color3=this.getColor(o)}},methods:{getColor:function(t){var e=["#000000","#074750","#009191","#FF6CB6","#FFB5DA","#490092","#006CDB","#B66DFF","#6DB5FE","#B5DAFE","#920000","#924900","#DB6D00","#24FE23"],n=parseInt(t,16)%e.length;return e[n]},getIcon:function(t){var e=["fa-hashtag","fa-heart","fa-hotel","fa-university","fa-plug","fa-ambulance","fa-bus","fa-car","fa-plane","fa-rocket","fa-ship","fa-subway","fa-truck","fa-jpy","fa-eur","fa-btc","fa-usd","fa-gbp","fa-archive","fa-area-chart","fa-bed","fa-beer","fa-bell","fa-binoculars","fa-birthday-cake","fa-bomb","fa-briefcase","fa-bug","fa-camera","fa-cart-plus","fa-certificate","fa-coffee","fa-cloud","fa-coffee","fa-comment","fa-cube","fa-cutlery","fa-database","fa-diamond","fa-exclamation-circle","fa-eye","fa-flag","fa-flask","fa-futbol-o","fa-gamepad","fa-graduation-cap"],n=parseInt(t,16)%e.length;return e[n]}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(563),o=r(i);e["default"]={name:"LessPass",components:{"lesspass-menu":o["default"]},created:function(){var t=this,e=3e5;this.$store.dispatch("REFRESH_TOKEN"),setInterval(function(){t.$store.dispatch("REFRESH_TOKEN")},e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(45);e["default"]={methods:{logout:function(){this.$store.dispatch("LOGOUT"),this.$router.push({name:"home"})},saveOrUpdatePassword:function(){this.$store.dispatch("SAVE_OR_UPDATE_PASSWORD")}},computed:(0,r.mapGetters)(["isAuthenticated","isGuest","email","passwordStatus"])}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(70),o=r(i),s=n(57),a=r(s),u=n(45);e["default"]={data:function(){var t=new a["default"],e=new o["default"](t);return{auth:e,storage:t,user:{email:"",password:""},errorMessage:"",showError:!1}},methods:{showErrorMessage:function(t){var e=this;this.errorMessage=t,this.showError=!0,setTimeout(function(){e.cleanErrors()},6e3)},cleanErrors:function(){this.showError=!1,this.errorMessage=""},login:function(){var t=this;this.cleanErrors();var e=this.baseURL,n=this.user.email;return n&&this.user.password&&e?void this.auth.login(this.user,e).then(function(){t.storage.save({baseURL:e,email:n}),t.$store.dispatch("USER_AUTHENTICATED",{email:n}),t.$router.push({name:"home"})})["catch"](function(n){void 0===n.response?"https://lesspass.com"===e?t.showErrorMessage("Oops! Something went wrong. Retry in a few minutes."):t.showErrorMessage("Your LessPass Database is not running"):400===n.response.status?t.showErrorMessage("Your login or password is not good. Do you have an account ?"):t.showErrorMessage("Oops! Something went wrong. Retry in a few minutes.")}):void this.showErrorMessage("email, password and url are mandatory")}},computed:(0,u.mapGetters)(["baseURL"])}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function i(t){return t.dispatch("FETCH_PASSWORDS")}Object.defineProperty(e,"__esModule",{value:!0});var o=n(187),s=r(o),a=n(45),u=n(564),c=r(u),l=n(561),f=r(l),d=n(554),h=r(d),p=n(495),v=r(p),g=n(555),m=r(g),y=n(262),_=n(157),w=r(_);e["default"]={name:"password-generator-view",components:{RemoveAutoComplete:c["default"],Fingerprint:f["default"]},computed:(0,s["default"])({},(0,a.mapGetters)(["passwords","password"]),{generatedPassword:function(){return this.encryptedLogin&&this.password.site?this.generatePassword():void(this.generatedPassword="")}}),preFetch:i,beforeMount:function(){var t=this.$route.params.id;t?this.$store.dispatch("FETCH_PASSWORD",{id:t}):(i(this.$store),this.$store.dispatch("LOAD_DEFAULT_PASSWORD"));var e=new v["default"]("#copyPasswordButton");e.on("success",function(t){t.text&&(0,y.showTooltip)(t.trigger,"copied !")})},data:function(){return{masterPassword:"",encryptedLogin:"",generatedPassword:"",cleanTimeout:null}},watch:{"password.site":function(t){var e=t.split(" | ");if(2===e.length){for(var n=e[0],r=e[1],i=this.passwords,o=0;o-1||e.login.indexOf(t.searchQuery)>-1})}}),preFetch:i,beforeMount:function(){i(this.$store)},methods:{deletePassword:function(t){return this.$store.dispatch("DELETE_PASSWORD",{id:t.id})}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(70),o=r(i),s=n(57),a=r(s);n(45);e["default"]={data:function(){var t=new a["default"],e=new o["default"](t);return{auth:e,storage:t,user:{email:"",password:""},userNameAlreadyExist:!1,emailRequired:!1,passwordRequired:!1,showError:!1}},methods:{cleanErrors:function(){this.userNameAlreadyExist=!1,this.emailRequired=!1,this.passwordRequired=!1,this.showError=!1},noErrors:function(){return!(this.userNameAlreadyExist||this.emailRequired||this.passwordRequired||this.showError)},register:function(){var t=this;return this.cleanErrors(),this.user.email?this.user.password?void this.auth.register(this.user,"https://lesspass.com").then(function(){t.$router.push({name:"login"})})["catch"](function(e){e.response&&e.response.data.email[0].indexOf("already exists")!==-1?t.userNameAlreadyExist=!0:t.showError=!0}):void(this.passwordRequired=!0):void(this.emailRequired=!0)}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(74),o=r(i),s=n(75),a=r(s),u=n(557),c=r(u),l=n(57),f=function(){function t(e,n){(0,o["default"])(this,t),this.storage=n,this.resource=(0,c["default"])(e)}return(0,a["default"])(t,[{key:"getRequestConfig",value:function(){var t=this.storage.json();return{baseURL:t.baseURL,headers:{Authorization:"JWT "+t[l.TOKEN_KEY]}}}},{key:"create",value:function(t){return this.resource.create(t,this.getRequestConfig())}},{key:"all",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.getRequestConfig();return e.params=t,this.resource.all(e)}},{key:"get",value:function(t){return this.resource.get(t,this.getRequestConfig())}},{key:"update",value:function(t){return this.resource.update({id:t.id},t,this.getRequestConfig())}},{key:"remove",value:function(t){return this.resource["delete"](t,this.getRequestConfig())}}]),t}();e["default"]=f},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.TOKEN_KEY=void 0;var i=n(74),o=r(i),s=n(75),a=r(s),u=n(556),c=r(u),l=n(553),f=r(l),d=(e.TOKEN_KEY="jwt",function(){function t(e){(0,o["default"])(this,t),this.name=e}return(0,a["default"])(t,[{key:"stillValid",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,c["default"])();try{return this._expirationDateSuperiorTo(t)}catch(e){return!1}}},{key:"expiresIn",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,c["default"])();try{var r=n.add(t,c["default"].normalizeUnits(e));return this._expirationDateInferiorTo(r)}catch(i){return!1}}},{key:"_expirationDateInferiorTo",value:function(t){var e=this._getTokenExpirationDate();return e.diff(t)<0}},{key:"_expirationDateSuperiorTo",value:function(t){return!this._expirationDateInferiorTo(t)}},{key:"_getTokenExpirationDate",value:function(){var t=(0,f["default"])(this.name);return(0,c["default"])(1e3*t.exp)}}]),t}());e["default"]=d},function(t,e){"use strict";function n(t,e){var n=t.className;t.setAttribute("class",n+" hint--top"),t.setAttribute("aria-label",e),setTimeout(function(){t.setAttribute("class",n)},2e3)}Object.defineProperty(e,"__esModule",{value:!0}),e.showTooltip=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(151),o=r(i),s=n(588),a=r(s),u=n(566),c=r(u),l=n(565),f=r(l),d=n(570),h=r(d),p=n(567),v=r(p),g=n(568),m=r(g),y=n(569),_=r(y);o["default"].use(a["default"]);var w=[{path:"/",name:"home",component:c["default"]},{path:"/login",name:"login",component:f["default"]},{path:"/register",name:"register",component:h["default"]},{path:"/passwords/",name:"passwords",component:_["default"]},{path:"/passwords/:id",name:"password",component:c["default"]},{path:"/password/reset",name:"passwordReset",component:v["default"]},{path:"/password/reset/confirm/:uid/:token",name:"passwordResetConfirm",component:m["default"]}],b=new a["default"]({routes:w});e["default"]=b},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(449),o=r(i),s=n(125),a=r(s),u=n(151),c=r(u),l=n(45),f=r(l),d=n(70),h=r(d),p=n(260),v=r(p),g=n(57),m=r(g),y=n(157),_=r(y);c["default"].use(f["default"]);var w=new m["default"],b=new h["default"](w),x=new v["default"]("passwords",w),E={id:"",site:"",login:"",uppercase:!0,lowercase:!0,numbers:!0,symbols:!0,length:12,counter:1},S={authenticated:b.isAuthenticated(),email:"",passwordStatus:"CLEAN",passwords:[],password:{}},C={LOGOUT:function(t){t.authenticated=!1},USER_AUTHENTICATED:function(t,e){t.authenticated=!0,t.email=e.email},SET_PASSWORDS:function(t,e){t.passwords=e},SET_PASSWORD:function(t,e){var n=e.password;t.password=n},DELETE_PASSWORD:function(t,e){var n=e.id,r=t.passwords;t.passwords=r.filter(function(t){return t.id!==n}),t.password.id===n&&(t.password=t.defaultPassword)},PASSWORD_CLEAN:function(t){setTimeout(function(){t.passwordStatus="CLEAN"},5e3)},CHANGE_PASSWORD_STATUS:function(t,e){t.passwordStatus=e},SET_DEFAULT_PASSWORD:function(t){t.password=(0,a["default"])({},E)}},T={USER_AUTHENTICATED:function(t,e){var n=t.commit;return n("USER_AUTHENTICATED",e)},LOGOUT:function(t){var e=t.commit;b.logout(),e("LOGOUT")},SAVE_OR_UPDATE_PASSWORD:function(t){var e=t.commit,n=t.state,r=t.dispatch,i=new _["default"](n.password);i.isNewPassword(n.passwords)?x.create(i.json()).then(function(){e("CHANGE_PASSWORD_STATUS","CREATED"),e("PASSWORD_CLEAN"),r("FETCH_PASSWORDS")}):x.update(i.json()).then(function(){e("CHANGE_PASSWORD_STATUS","UPDATED"),e("PASSWORD_CLEAN"),r("FETCH_PASSWORDS")})},REFRESH_TOKEN:function(t){var e=t.commit;b.isAuthenticated()&&b.refreshToken()["catch"](function(){e("LOGOUT")})},PASSWORD_CHANGE:function(t,e){var n=t.commit,r=e.password;n("SET_PASSWORD",{password:r})},PASSWORD_GENERATED:function(t){var e=t.commit;e("CHANGE_PASSWORD_STATUS","DIRTY")},FETCH_PASSWORDS:function(t){var e=t.commit;b.isAuthenticated()&&x.all().then(function(t){return e("SET_PASSWORDS",t.data.results)})},FETCH_PASSWORD:function(t,e){var n=t.commit,r=e.id;x.get({id:r}).then(function(t){return n("SET_PASSWORD",{password:t.data})})},DELETE_PASSWORD:function(t,e){var n=t.commit,r=e.id;x.remove({id:r}).then(function(){n("DELETE_PASSWORD",{id:r})})},LOAD_DEFAULT_PASSWORD:function(t){var e=t.commit;e("SET_DEFAULT_PASSWORD")}},k={passwords:function(t){return t.passwords},password:function O(t){var O=t.password;return 0===(0,o["default"])(O).length?t.defaultPassword:O},isAuthenticated:function(t){return t.authenticated},isGuest:function(t){return!t.authenticated},passwordStatus:function(t){return t.passwordStatus},email:function(t){return t.email},baseURL:function(t){return t.baseURL}};e["default"]=new f["default"].Store({state:(0,a["default"])(S,w.json()),getters:k,actions:T,mutations:C})},function(t,e,n){(function(t){"use strict";function e(t,e,n){t[e]||Object[r](t,e,{writable:!0,configurable:!0,value:n})}if(n(446),n(447),n(266),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var r="defineProperty";e(String.prototype,"padLeft","".padStart),e(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&e(Array,t,Function.call.bind([][t]))})}).call(e,function(){return this}())},function(t,e,n){n(275),t.exports=n(34).RegExp.escape},function(t,e,n){var r=n(6),i=n(107),o=n(7)("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},function(t,e,n){var r=n(267);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){"use strict";var r=n(3),i=n(30),o="number";t.exports=function(t){if("string"!==t&&t!==o&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),t!=o)}},function(t,e,n){var r=n(50),i=n(90),o=n(73);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),u=o.f,c=0;a.length>c;)u.call(t,s=a[c++])&&e.push(s);return e}},function(t,e,n){var r=n(50),i=n(19);t.exports=function(t,e){for(var n,o=i(t),s=r(o),a=s.length,u=0;a>u;)if(o[n=s[u++]]===e)return n}},function(t,e,n){"use strict";var r=n(273),i=n(86),o=n(15);t.exports=function(){for(var t=o(this),e=arguments.length,n=Array(e),s=0,a=r._,u=!1;e>s;)(n[s]=arguments[s++])===a&&(u=!0);return function(){var r,o=this,s=arguments.length,c=0,l=0;if(!u&&!s)return i(t,n,o);if(r=n.slice(),u)for(;e>c;c++)r[c]===a&&(r[c]=arguments[l++]);for(;s>l;)r.push(arguments[l++]);return i(t,r,o)}}},function(t,e,n){t.exports=n(4)},function(t,e){t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,n)}}},function(t,e,n){var r=n(1),i=n(274)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(t){return i(t)}})},function(t,e,n){var r=n(1);r(r.P,"Array",{copyWithin:n(159)}),n(58)("copyWithin")},function(t,e,n){"use strict";var r=n(1),i=n(28)(4);r(r.P+r.F*!n(25)([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},function(t,e,n){var r=n(1);r(r.P,"Array",{fill:n(99)}),n(58)("fill")},function(t,e,n){"use strict";var r=n(1),i=n(28)(2);r(r.P+r.F*!n(25)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(1),i=n(28)(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r(r.P+r.F*s,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(58)(o)},function(t,e,n){"use strict";var r=n(1),i=n(28)(5),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r(r.P+r.F*s,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(58)(o)},function(t,e,n){"use strict";var r=n(1),i=n(28)(0),o=n(25)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(35),i=n(1),o=n(12),s=n(168),a=n(106),u=n(10),c=n(100),l=n(123);i(i.S+i.F*!n(88)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,f,d=o(t),h="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,m=0,y=l(d);if(g&&(v=r(v,p>2?arguments[2]:void 0,2)),void 0==y||h==Array&&a(y))for(e=u(d.length),n=new h(e);e>m;m++)c(n,m,g?v(d[m],m):d[m]);else for(f=y.call(d),n=new h;!(i=f.next()).done;m++)c(n,m,g?s(f,v,[i.value,m],!0):i.value);return n.length=m,n}})},function(t,e,n){"use strict";var r=n(1),i=n(82)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(s||!n(25)(o)),"Array",{indexOf:function(t){return s?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},function(t,e,n){var r=n(1);r(r.S,"Array",{isArray:n(107)})},function(t,e,n){"use strict";var r=n(1),i=n(19),o=[].join;r(r.P+r.F*(n(72)!=Object||!n(25)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(1),i=n(19),o=n(41),s=n(10),a=[].lastIndexOf,u=!!a&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(u||!n(25)(a)),"Array",{lastIndexOf:function(t){if(u)return a.apply(this,arguments)||0;var e=i(this),n=s(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){"use strict";var r=n(1),i=n(28)(1);r(r.P+r.F*!n(25)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(1),i=n(100);r(r.S+r.F*n(5)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(1),i=n(161);r(r.P+r.F*!n(25)([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(1),i=n(161);r(r.P+r.F*!n(25)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(1),i=n(104),o=n(23),s=n(53),a=n(10),u=[].slice;r(r.P+r.F*n(5)(function(){i&&u.call(i)}),"Array",{slice:function(t,e){var n=a(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return u.call(this,t,e);for(var i=s(t,n),c=s(e,n),l=a(c-i),f=Array(l),d=0;d9?t:"0"+t};r(r.P+r.F*(i(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!i(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(n>99?n:"0"+s(n))+"Z"}})},function(t,e,n){"use strict";var r=n(1),i=n(12),o=n(30);r(r.P+r.F*n(5)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(7)("toPrimitive"),i=Date.prototype;r in i||n(16)(i,r,n(269))},function(t,e,n){var r=Date.prototype,i="Invalid Date",o="toString",s=r[o],a=r.getTime;new Date(NaN)+""!=i&&n(17)(r,o,function(){var t=a.call(this);return t===t?s.call(this):i})},function(t,e,n){var r=n(1);r(r.P,"Function",{bind:n(162)})},function(t,e,n){"use strict";var r=n(6),i=n(22),o=n(7)("hasInstance"),s=Function.prototype;o in s||n(9).f(s,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(9).f,i=n(40),o=n(14),s=Function.prototype,a=/^\s*function ([^ (]*)/,u="name",c=Object.isExtensible||function(){return!0};u in s||n(8)&&r(s,u,{configurable:!0,get:function(){try{var t=this,e=(""+t).match(a)[1];return o(t,u)||!c(t)||r(t,u,i(5,e)),e}catch(n){return""}}})},function(t,e,n){var r=n(1),i=n(170),o=Math.sqrt,s=Math.acosh;r(r.S+r.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))&&s(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,e,n){function r(t){return isFinite(t=+t)&&0!=t?t<0?-r(-t):Math.log(t+Math.sqrt(t*t+1)):t}var i=n(1),o=Math.asinh;i(i.S+i.F*!(o&&1/o(0)>0),"Math",{asinh:r})},function(t,e,n){var r=n(1),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(1),i=n(111);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(1);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(1),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){var r=n(1),i=n(110);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,e,n){var r=n(1),i=n(111),o=Math.pow,s=o(2,-52),a=o(2,-23),u=o(2,127)*(2-a),c=o(2,-126),l=function(t){return t+1/s-1/s};r(r.S,"Math",{fround:function(t){var e,n,r=Math.abs(t),o=i(t);return ru||n!=n?o*(1/0):o*n)}})},function(t,e,n){var r=n(1),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,o=0,s=0,a=arguments.length,u=0;s0?(r=n/u,o+=r*r):o+=n;return u===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,n){var r=n(1),i=Math.imul;r(r.S+r.F*n(5)(function(){return i(4294967295,5)!=-5||2!=i.length}),"Math",{imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,s=n&i;return 0|o*s+((n&r>>>16)*s+o*(n&i>>>16)<<16>>>0)}})},function(t,e,n){var r=n(1);r(r.S,"Math",{log10:function(t){return Math.log(t)/Math.LN10}})},function(t,e,n){var r=n(1);r(r.S,"Math",{log1p:n(170)})},function(t,e,n){var r=n(1);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(1);r(r.S,"Math",{sign:n(111)})},function(t,e,n){var r=n(1),i=n(110),o=Math.exp;r(r.S+r.F*n(5)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(1),i=n(110),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var r=n(1);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){"use strict";var r=n(4),i=n(14),o=n(23),s=n(105),a=n(30),u=n(5),c=n(49).f,l=n(21).f,f=n(9).f,d=n(62).trim,h="Number",p=r[h],v=p,g=p.prototype,m=o(n(48)(g))==h,y="trim"in String.prototype,_=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():d(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var s,u=e.slice(2),c=0,l=u.length;ci)return NaN;return parseInt(u,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(m?u(function(){g.valueOf.call(n)}):o(n)!=h)?s(new v(_(e)),n,p):_(e)};for(var w,b=n(8)?c(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;b.length>x;x++)i(v,w=b[x])&&!i(p,w)&&f(p,w,l(v,w)); -p.prototype=g,g.constructor=p,n(17)(r,h,p)}},function(t,e,n){var r=n(1);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(1),i=n(4).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,e,n){var r=n(1);r(r.S,"Number",{isInteger:n(167)})},function(t,e,n){var r=n(1);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(1),i=n(167),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,n){var r=n(1);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(1);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(1),i=n(177);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,e,n){var r=n(1),i=n(178);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,e,n){"use strict";var r=n(1),i=n(41),o=n(158),s=n(118),a=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f="0",d=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=u(r/1e7)},h=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=u(n/t),n=n%t*1e7},p=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+s.call(f,7-n.length)+n}return e},v=function(t,e,n){return 0===e?n:e%2===1?v(t,e-1,n*t):v(t*t,e/2,n)},g=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e};r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(5)(function(){a.call({})})),"Number",{toFixed:function(t){var e,n,r,a,u=o(this,l),c=i(t),m="",y=f;if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(m="-",u=-u),u>1e-21)if(e=g(u*v(2,69,1))-69,n=e<0?u*v(2,-e,1):u/v(2,e,1),n*=4503599627370496,e=52-e,e>0){for(d(0,n),r=c;r>=7;)d(1e7,0),r-=7;for(d(v(10,r,1),0),r=e-1;r>=23;)h(1<<23),r-=23;h(1<0?(a=y.length,y=m+(a<=c?"0."+s.call(f,c-a)+y:y.slice(0,a-c)+"."+y.slice(a-c))):y=m+y,y}})},function(t,e,n){"use strict";var r=n(1),i=n(5),o=n(158),s=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==s.call(1,void 0)})||!i(function(){s.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?s.call(e):s.call(e,t)}})},[712,1,171],function(t,e,n){var r=n(1);r(r.S,"Object",{create:n(48)})},function(t,e,n){var r=n(1);r(r.S+r.F*!n(8),"Object",{defineProperties:n(172)})},[714,1,8,9],function(t,e,n){var r=n(6),i=n(39).onFreeze;n(29)("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(19),i=n(21).f;n(29)("getOwnPropertyDescriptor",function(){return function(t,e){return i(r(t),e)}})},function(t,e,n){n(29)("getOwnPropertyNames",function(){return n(173).f})},function(t,e,n){var r=n(12),i=n(22);n(29)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(6);n(29)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(6);n(29)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(6);n(29)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(1);r(r.S,"Object",{is:n(179)})},[716,12,50,29],function(t,e,n){var r=n(6),i=n(39).onFreeze;n(29)("preventExtensions",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(6),i=n(39).onFreeze;n(29)("seal",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(1);r(r.S,"Object",{setPrototypeOf:n(113).set})},function(t,e,n){"use strict";var r=n(71),i={};i[n(7)("toStringTag")]="z",i+""!="[object z]"&&n(17)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(1),i=n(177);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,e,n){var r=n(1),i=n(178);r(r.G+r.F*(parseInt!=i),{parseInt:i})},[718,47,4,35,71,1,6,15,46,59,115,120,112,7,51,61,52,34,88],function(t,e,n){var r=n(1),i=n(15),o=n(3),s=(n(4).Reflect||{}).apply,a=Function.apply;r(r.S+r.F*!n(5)(function(){s(function(){})}),"Reflect",{apply:function(t,e,n){var r=i(t),u=o(n);return s?s(r,e,u):a.call(r,e,u)}})},function(t,e,n){var r=n(1),i=n(48),o=n(15),s=n(3),a=n(6),u=n(5),c=n(162),l=(n(4).Reflect||{}).construct,f=u(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),d=!u(function(){l(function(){})});r(r.S+r.F*(f||d),"Reflect",{construct:function(t,e){o(t),s(e);var n=arguments.length<3?t:o(arguments[2]);if(d&&!f)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var u=n.prototype,h=i(a(u)?u:Object.prototype),p=Function.apply.call(t,h,e);return a(p)?p:h}})},function(t,e,n){var r=n(9),i=n(1),o=n(3),s=n(30);i(i.S+i.F*n(5)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=s(e,!0),o(n);try{return r.f(t,e,n),!0}catch(i){return!1}}})},function(t,e,n){var r=n(1),i=n(21).f,o=n(3);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(1),i=n(3),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(108)(o,"Object",function(){var t,e=this,n=e._k;do if(e._i>=n.length)return{value:void 0,done:!0};while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){var r=n(21),i=n(1),o=n(3);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},function(t,e,n){var r=n(1),i=n(22),o=n(3);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){function r(t,e){var n,a,l=arguments.length<3?t:arguments[2];return c(t)===l?t[e]:(n=i.f(t,e))?s(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:u(a=o(t))?r(a,e,l):void 0}var i=n(21),o=n(22),s=n(14),a=n(1),u=n(6),c=n(3);a(a.S,"Reflect",{get:r})},function(t,e,n){var r=n(1);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(1),i=n(3),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,e,n){var r=n(1);r(r.S,"Reflect",{ownKeys:n(176)})},function(t,e,n){var r=n(1),i=n(3),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(e){return!1}}})},function(t,e,n){var r=n(1),i=n(113);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(n){return!1}}})},function(t,e,n){function r(t,e,n){var u,d,h=arguments.length<4?t:arguments[3],p=o.f(l(t),e);if(!p){if(f(d=s(t)))return r(d,e,n,h);p=c(0)}return a(p,"value")?!(p.writable===!1||!f(h))&&(u=o.f(h,e)||c(0),u.value=n,i.f(h,e,u),!0):void 0!==p.set&&(p.set.call(h,n),!0)}var i=n(9),o=n(21),s=n(22),a=n(14),u=n(1),c=n(40),l=n(3),f=n(6);u(u.S,"Reflect",{set:r})},function(t,e,n){var r=n(4),i=n(105),o=n(9).f,s=n(49).f,a=n(87),u=n(85),c=r.RegExp,l=c,f=c.prototype,d=/a/g,h=/a/g,p=new c(d)!==d;if(n(8)&&(!p||n(5)(function(){return h[n(7)("match")]=!1,c(d)!=d||c(h)==h||"/a/i"!=c(d,"i")}))){c=function(t,e){var n=this instanceof c,r=a(t),o=void 0===e;return!n&&r&&t.constructor===c&&o?t:i(p?new l(r&&!o?t.source:t,e):l((r=t instanceof c)?t.source:t,r&&o?u.call(t):e),n?this:f,c)};for(var v=(function(t){t in c||o(c,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})}),g=s(l),m=0;g.length>m;)v(g[m++]);f.constructor=c,c.prototype=f,n(17)(r,"RegExp",c)}n(52)("RegExp")},function(t,e,n){n(84)("match",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(84)("replace",2,function(t,e,n){return[function(r,i){"use strict";var o=t(this),s=void 0==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},n]})},function(t,e,n){n(84)("search",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(84)("split",2,function(t,e,r){"use strict";var i=n(87),o=r,s=[].push,a="split",u="length",c="lastIndex";if("c"=="abbc"[a](/(b)*/)[1]||4!="test"[a](/(?:)/,-1)[u]||2!="ab"[a](/(?:ab)*/)[u]||4!="."[a](/(.?)(.?)/)[u]||"."[a](/()()/)[u]>1||""[a](/.?/)[u]){var l=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!i(t))return o.call(n,t,e);var r,a,f,d,h,p=[],v=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,m=void 0===e?4294967295:e>>>0,y=new RegExp(t.source,v+"g");for(l||(r=new RegExp("^"+y.source+"$(?!\\s)",v));(a=y.exec(n))&&(f=a.index+a[0][u],!(f>g&&(p.push(n.slice(g,a.index)),!l&&a[u]>1&&a[0].replace(r,function(){for(h=1;h1&&a.index=m)));)y[c]===a.index&&y[c]++;return g===n[u]?!d&&y.test("")||p.push(""):p.push(n.slice(g)),p[u]>m?p.slice(0,m):p}}else"0"[a](void 0,0)[u]&&(r=function(t,e){return void 0===t&&0===e?[]:o.call(this,t,e)});return[function(n,i){var o=t(this),s=void 0==n?void 0:n[e];return void 0!==s?s.call(n,o,i):r.call(String(o),n,i)},r]})},function(t,e,n){"use strict";n(183);var r=n(3),i=n(85),o=n(8),s="toString",a=/./[s],u=function(t){n(17)(RegExp.prototype,s,t,!0)};n(5)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?u(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):a.name!=s&&u(function(){return a.call(this)})},function(t,e,n){"use strict";n(18)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(18)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(18)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(18)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";var r=n(1),i=n(116)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(1),i=n(10),o=n(117),s="endsWith",a=""[s];r(r.P+r.F*n(103)(s),"String",{endsWith:function(t){var e=o(this,t,s),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),u=void 0===n?r:Math.min(i(n),r),c=String(t);return a?a.call(e,c,u):e.slice(u-c.length,u)===c}})},function(t,e,n){"use strict";n(18)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(18)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(18)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){var r=n(1),i=n(53),o=String.fromCharCode,s=String.fromCodePoint;r(r.S+r.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,s=0;r>s;){if(e=+arguments[s++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(((e-=65536)>>10)+55296,e%1024+56320))}return n.join("")}})},function(t,e,n){"use strict";var r=n(1),i=n(117),o="includes";r(r.P+r.F*n(103)(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";n(18)("italics",function(t){return function(){return t(this,"i","","")}})},[719,116,109],function(t,e,n){"use strict";n(18)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){var r=n(1),i=n(19),o=n(10);r(r.S,"String",{raw:function(t){for(var e=i(t.raw),n=o(e.length),r=arguments.length,s=[],a=0;n>a;)s.push(String(e[a++])),a1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(18)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(18)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(18)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){"use strict";n(62)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var r=n(4),i=n(14),o=n(8),s=n(1),a=n(17),u=n(39).KEY,c=n(5),l=n(91),f=n(61),d=n(54),h=n(7),p=n(181),v=n(122),g=n(271),m=n(270),y=n(107),_=n(3),w=n(19),b=n(30),x=n(40),E=n(48),S=n(173),C=n(21),T=n(9),k=n(50),O=C.f,A=T.f,D=S.f,N=r.Symbol,P=r.JSON,I=P&&P.stringify,R="prototype",M=h("_hidden"),j=h("toPrimitive"),L={}.propertyIsEnumerable,F=l("symbol-registry"),U=l("symbols"),H=l("op-symbols"),B=Object[R],W="function"==typeof N,Y=r.QObject,V=!Y||!Y[R]||!Y[R].findChild,$=o&&c(function(){return 7!=E(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=O(B,e);r&&delete B[e],A(t,e,n),r&&t!==B&&A(B,e,r)}:A,q=function(t){var e=U[t]=E(N[R]);return e._k=t,e},G=W&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},z=function(t,e,n){return t===B&&z(H,e,n),_(t),e=b(e,!0),_(n),i(U,e)?(n.enumerable?(i(t,M)&&t[M][e]&&(t[M][e]=!1),n=E(n,{enumerable:x(0,!1)})):(i(t,M)||A(t,M,x(1,{})),t[M][e]=!0),$(t,e,n)):A(t,e,n)},K=function(t,e){_(t);for(var n,r=m(e=w(e)),i=0,o=r.length;o>i;)z(t,n=r[i++],e[n]);return t},X=function(t,e){return void 0===e?E(t):K(E(t),e)},Q=function(t){var e=L.call(this,t=b(t,!0));return!(this===B&&i(U,t)&&!i(H,t))&&(!(e||!i(this,t)||!i(U,t)||i(this,M)&&this[M][t])||e)},J=function(t,e){if(t=w(t),e=b(e,!0),t!==B||!i(U,e)||i(H,e)){var n=O(t,e);return!n||!i(U,e)||i(t,M)&&t[M][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=D(w(t)),r=[],o=0;n.length>o;)i(U,e=n[o++])||e==M||e==u||r.push(e);return r},tt=function(t){for(var e,n=t===B,r=D(n?H:w(t)),o=[],s=0;r.length>s;)!i(U,e=r[s++])||n&&!i(B,e)||o.push(U[e]);return o};W||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(H,n),i(this,M)&&i(this[M],t)&&(this[M][t]=!1),$(this,t,x(1,n))};return o&&V&&$(B,t,{configurable:!0,set:e}),q(t)},a(N[R],"toString",function(){return this._k}),C.f=J,T.f=z,n(49).f=S.f=Z,n(73).f=Q,n(90).f=tt,o&&!n(47)&&a(B,"propertyIsEnumerable",Q,!0),p.f=function(t){return q(h(t))}),s(s.G+s.W+s.F*!W,{Symbol:N});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)h(et[nt++]);for(var et=k(h.store),nt=0;et.length>nt;)v(et[nt++]);s(s.S+s.F*!W,"Symbol",{"for":function(t){return i(F,t+="")?F[t]:F[t]=N(t)},keyFor:function(t){if(G(t))return g(F,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){V=!0},useSimple:function(){V=!1}}),s(s.S+s.F*!W,"Object",{create:X,defineProperty:z,defineProperties:K,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:tt}),P&&s(s.S+s.F*(!W||c(function(){var t=N();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!G(t)){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);return e=r[1],"function"==typeof e&&(n=e),!n&&y(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!G(e))return e}),r[1]=e,I.apply(P,r)}}}),N[R][j]||n(16)(N[R],j,N[R].valueOf),f(N,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){"use strict";var r=n(1),i=n(92),o=n(121),s=n(3),a=n(53),u=n(10),c=n(6),l=n(4).ArrayBuffer,f=n(115),d=o.ArrayBuffer,h=o.DataView,p=i.ABV&&l.isView,v=d.prototype.slice,g=i.VIEW,m="ArrayBuffer";r(r.G+r.W+r.F*(l!==d),{ArrayBuffer:d}),r(r.S+r.F*!i.CONSTR,m,{isView:function(t){return p&&p(t)||c(t)&&g in t}}),r(r.P+r.U+r.F*n(5)(function(){return!new d(2).slice(1,void 0).byteLength}),m,{slice:function(t,e){if(void 0!==v&&void 0===e)return v.call(s(this),t);for(var n=s(this).byteLength,r=a(t,n),i=a(void 0===e?n:e,n),o=new(f(this,d))(u(i-r)),c=new h(this),l=new h(o),p=0;r0?arguments[0]:void 0)}},{add:function(t){return r.def(this,t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(1),i=n(82)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(58)("includes")},function(t,e,n){var r=n(1),i=n(112)(),o=n(4).process,s="process"==n(23)(o);r(r.G,{asap:function(t){var e=s&&o.domain;i(e?e.bind(t):t)}})},function(t,e,n){var r=n(1),i=n(23);r(r.S,"Error",{isError:function(t){return"Error"===i(t)}})},function(t,e,n){var r=n(1);r(r.P+r.R,"Map",{toJSON:n(164)("Map")})},function(t,e,n){var r=n(1);r(r.S,"Math",{iaddh:function(t,e,n,r){var i=t>>>0,o=e>>>0,s=n>>>0;return o+(r>>>0)+((i&s|(i|s)&~(i+s>>>0))>>>31)|0}})},function(t,e,n){var r=n(1);r(r.S,"Math",{imulh:function(t,e){var n=65535,r=+t,i=+e,o=r&n,s=i&n,a=r>>16,u=i>>16,c=(a*s>>>0)+(o*s>>>16);return a*u+(c>>16)+((o*u>>>0)+(c&n)>>16)}})},function(t,e,n){var r=n(1);r(r.S,"Math",{isubh:function(t,e,n,r){var i=t>>>0,o=e>>>0,s=n>>>0;return o-(r>>>0)-((~i&s|~(i^s)&i-s>>>0)>>>31)|0}})},function(t,e,n){var r=n(1);r(r.S,"Math",{umulh:function(t,e){var n=65535,r=+t,i=+e,o=r&n,s=i&n,a=r>>>16,u=i>>>16,c=(a*s>>>0)+(o*s>>>16);return a*u+(c>>>16)+((o*u>>>0)+(c&n)>>>16)}})},function(t,e,n){"use strict";var r=n(1),i=n(12),o=n(15),s=n(9);n(8)&&r(r.P+n(89),"Object",{__defineGetter__:function(t,e){s.f(i(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(1),i=n(12),o=n(15),s=n(9);n(8)&&r(r.P+n(89),"Object",{__defineSetter__:function(t,e){s.f(i(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var r=n(1),i=n(175)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,e,n){var r=n(1),i=n(176),o=n(19),s=n(21),a=n(100);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n=o(t),r=s.f,u=i(n),c={},l=0;u.length>l;)a(c,e=u[l++],r(n,e));return c}})},function(t,e,n){"use strict";var r=n(1),i=n(12),o=n(30),s=n(22),a=n(21).f;n(8)&&r(r.P+n(89),"Object",{__lookupGetter__:function(t){var e,n=i(this),r=o(t,!0);do if(e=a(n,r))return e.get;while(n=s(n))}})},function(t,e,n){"use strict";var r=n(1),i=n(12),o=n(30),s=n(22),a=n(21).f;n(8)&&r(r.P+n(89),"Object",{__lookupSetter__:function(t){var e,n=i(this),r=o(t,!0);do if(e=a(n,r))return e.set;while(n=s(n))}})},function(t,e,n){var r=n(1),i=n(175)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,e,n){"use strict";var r=n(1),i=n(4),o=n(34),s=n(112)(),a=n(7)("observable"),u=n(15),c=n(3),l=n(46),f=n(51),d=n(16),h=n(59),p=h.RETURN,v=function(t){return null==t?void 0:u(t)},g=function(t){var e=t._c;e&&(t._c=void 0,e())},m=function(t){return void 0===t._o},y=function(t){m(t)||(t._o=void 0,g(t))},_=function(t,e){c(t),this._c=void 0,this._o=t,t=new w(this);try{var n=e(t),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:u(n),this._c=n)}catch(i){return void t.error(i)}m(this)&&g(this)};_.prototype=f({},{unsubscribe:function(){y(this)}});var w=function(t){this._s=t};w.prototype=f({},{next:function(t){var e=this._s;if(!m(e)){var n=e._o;try{var r=v(n.next);if(r)return r.call(n,t)}catch(i){try{y(e)}finally{throw i}}}},error:function(t){var e=this._s;if(m(e))throw t;var n=e._o;e._o=void 0;try{var r=v(n.error);if(!r)throw t;t=r.call(n,t)}catch(i){try{g(e)}finally{throw i}}return g(e),t},complete:function(t){var e=this._s;if(!m(e)){var n=e._o;e._o=void 0;try{var r=v(n.complete);t=r?r.call(n,t):void 0}catch(i){try{g(e)}finally{throw i}}return g(e),t}}});var b=function(t){l(this,b,"Observable","_f")._f=u(t)};f(b.prototype,{subscribe:function(t){return new _(t,this._f)},forEach:function(t){var e=this;return new(o.Promise||i.Promise)(function(n,r){u(t);var i=e.subscribe({next:function(e){try{return t(e)}catch(n){r(n),i.unsubscribe()}},error:r,complete:n})})}}),f(b,{from:function(t){var e="function"==typeof this?this:b,n=v(c(t)[a]);if(n){var r=c(n.call(t));return r.constructor===e?r:new e(function(t){return r.subscribe(t)})}return new e(function(e){var n=!1;return s(function(){if(!n){try{if(h(t,!1,function(t){if(e.next(t),n)return p})===p)return}catch(r){if(n)throw r;return void e.error(r)}e.complete()}}),function(){n=!0}})},of:function(){for(var t=0,e=arguments.length,n=Array(e);t1?arguments[1]:void 0,!1)}})},function(t,e,n){"use strict";var r=n(1),i=n(180);r(r.P,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){"use strict";n(62)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,n){"use strict";n(62)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,n){n(122)("asyncIterator")},function(t,e,n){n(122)("observable")},function(t,e,n){var r=n(1);r(r.S,"System",{global:n(4)})},function(t,e,n){for(var r=n(124),i=n(17),o=n(4),s=n(16),a=n(60),u=n(7),c=u("iterator"),l=u("toStringTag"),f=a.Array,d=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],h=0;h<5;h++){var p,v=d[h],g=o[v],m=g&&g.prototype;if(m){m[c]||s(m,c,f),m[l]||s(m,l,v),a[v]=f;for(p in r)m[p]||i(m,p,r[p],!0)}}},function(t,e,n){var r=n(1),i=n(120);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,e,n){var r=n(4),i=n(1),o=n(86),s=n(272),a=r.navigator,u=!!a&&/MSIE .\./.test(a.userAgent),c=function(t){return u?function(e,n){return t(o(s,[].slice.call(arguments,2),"function"==typeof e?e:Function(e)),n)}:t};i(i.G+i.B+i.F*u,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(t,e,n){n(395),n(334),n(336),n(335),n(338),n(340),n(345),n(339),n(337),n(347),n(346),n(342),n(343),n(341),n(333),n(344),n(348),n(349),n(301),n(303),n(302),n(351),n(350),n(321),n(331),n(332),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(382),n(387),n(394),n(385),n(377),n(378),n(383),n(388),n(390),n(373),n(374),n(375),n(376),n(379),n(380),n(381),n(384),n(386),n(389),n(391),n(392),n(393),n(296),n(298),n(297),n(300),n(299),n(285),n(283),n(289),n(286),n(292),n(294),n(282),n(288),n(279),n(293),n(277),n(291),n(290),n(284),n(287),n(276),n(278),n(281),n(280),n(295),n(124),n(367),n(372),n(183),n(368),n(369),n(370),n(371),n(352),n(182),n(184),n(185),n(407),n(396),n(397),n(402),n(405),n(406),n(400),n(403),n(401),n(404),n(398),n(399),n(353),n(354),n(355),n(356),n(357),n(360),n(358),n(359),n(361),n(362),n(363),n(364),n(366),n(365),n(408),n(434),n(437),n(436),n(438),n(439),n(435),n(440),n(441),n(419),n(422),n(418),n(416),n(417),n(420),n(421),n(411),n(433),n(442),n(410),n(412),n(414),n(413),n(415),n(424),n(425),n(427),n(426),n(429),n(428),n(430),n(431),n(432),n(409),n(423),n(445),n(444),n(443),t.exports=n(34)},function(t,e,n){(function(e,n){!function(e){"use strict";function r(t,e,n,r){var i=Object.create((e||o).prototype),s=new p(r||[]);return i._invoke=f(t,n,s),i}function i(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}function o(){}function s(){}function a(){}function u(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function c(t){this.arg=t}function l(t){function e(n,r,o,s){var a=i(t[n],t,r);if("throw"!==a.type){var u=a.arg,l=u.value;return l instanceof c?Promise.resolve(l.arg).then(function(t){e("next",t,o,s)},function(t){e("throw",t,o,s)}):Promise.resolve(l).then(function(t){u.value=t,o(u)},s)}s(a.arg)}function r(t,n){function r(){return new Promise(function(r,i){e(t,n,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof n&&n.domain&&(e=n.domain.bind(e));var o;this._invoke=r}function f(t,e,n){var r=S;return function(o,s){if(r===T)throw new Error("Generator is already running");if(r===k){if("throw"===o)throw s;return g()}for(;;){var a=n.delegate;if(a){if("return"===o||"throw"===o&&a.iterator[o]===m){n.delegate=null;var u=a.iterator["return"];if(u){var c=i(u,a.iterator,s);if("throw"===c.type){o="throw",s=c.arg;continue}}if("return"===o)continue}var c=i(a.iterator[o],a.iterator,s);if("throw"===c.type){n.delegate=null,o="throw",s=c.arg;continue}o="next",s=m;var l=c.arg;if(!l.done)return r=C,l;n[a.resultName]=l.value,n.next=a.nextLoc,n.delegate=null}if("next"===o)n.sent=n._sent=s;else if("throw"===o){if(r===S)throw r=k,s;n.dispatchException(s)&&(o="next",s=m)}else"return"===o&&n.abrupt("return",s);r=T;var c=i(t,e,n);if("normal"===c.type){r=n.done?k:C;var l={value:c.arg,done:n.done};if(c.arg!==O)return l;n.delegate&&"next"===o&&(s=m)}else"throw"===c.type&&(r=k,o="throw",s=c.arg)}}}function d(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function h(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function p(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(d,this),this.reset(!0)}function v(t){if(t){var e=t[w];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function i(){for(;++n=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var s=y.call(i,"catchLoc"),a=y.call(i,"finallyLoc");if(s&&a){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),h(n),O}},"catch":function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;h(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:v(t),resultName:e,nextLoc:n},O}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(e,function(){return this}(),n(81))},function(t,e,n){t.exports={"default":n(452),__esModule:!0}},function(t,e,n){t.exports={"default":n(455),__esModule:!0}},function(t,e,n){t.exports={"default":n(456),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var i=n(186),o=r(i);e["default"]=function(t,e,n){return e in t?(0,o["default"])(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){var r=n(31),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},function(t,e,n){n(486),t.exports=n(31).Object.assign},function(t,e,n){n(487);var r=n(31).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){n(488),t.exports=n(31).Object.keys},function(t,e,n){n(489),n(491),n(492),n(490),t.exports=n(31).Promise},function(t,e){t.exports=function(){}},46,[635,133,197,482],[645,94,464,463,63,197,484],[651,64,95,128],86,[656,77,26],[658,63],[660,470,194,130,65,26],[664,26],169,[665,32,196,93],[667,129,472,475,134,191,95],[670,63,471,189,131,128,190],[674,78,63,129,64],90,[675,96,134,131],[678,96,133,459,131],73,[682,76,31,95],function(t,e,n){var r=n(65);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},function(t,e,n){t.exports=n(65)},function(t,e,n){"use strict";var r=n(32),i=n(31),o=n(78),s=n(64),a=n(26)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},[689,63,126,26],[692,132,127],[695,132],[704,97],[708,188,26,77,31],[709,457,467,77,133,192],[712,76,469],[714,76,64,78],[716,134,129,476],function(t,e){},[718,193,32,94,188,76,97,126,458,460,480,196,468,26,477,130,479,31,466],[719,481,192],function(t,e,n){n(485);for(var r=n(32),i=n(65),o=n(77),s=n(26)("toStringTag"),a=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],u=0;u<5;u++){var c=a[u],l=r[c],f=l&&l.prototype;f&&!f[s]&&i(f,s,c),o[c]=o.Array}},function(t,e,n){(function(t,e){if("undefined"==typeof t)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(t),+function(n){"use strict";function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=function(t,e,n){for(var r=!0;r;){var i=t,o=e,s=n;r=!1,null===i&&(i=Function.prototype);var a=Object.getOwnPropertyDescriptor(i,o);if(void 0!==a){if("value"in a)return a.value;var u=a.get;if(void 0===u)return;return u.call(s)}var c=Object.getPrototypeOf(i);if(null===c)return;t=c,e=o,n=s,r=!0,a=c=void 0}},s=function(){function t(t,e){for(var n=0;nthis._items.length-1||e<0)){if(this._isSliding)return void t(this._element).one(g.SLID,function(){return n.to(e)});if(r===e)return this.pause(),void this.cycle();var i=e>r?v.NEXT:v.PREVIOUS;this._slide(i,this._items[e])}}},{key:"dispose",value:function(){t(this._element).off(o),t.removeData(this._element,r),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null}},{key:"_getConfig",value:function(n){return n=t.extend({},h,n),a.typeCheckConfig(e,n,p),n}},{key:"_addEventListeners",value:function(){this._config.keyboard&&t(this._element).on(g.KEYDOWN,t.proxy(this._keydown,this)),"hover"!==this._config.pause||"ontouchstart"in document.documentElement||t(this._element).on(g.MOUSEENTER,t.proxy(this.pause,this)).on(g.MOUSELEAVE,t.proxy(this.cycle,this))}},{key:"_keydown",value:function(t){if(t.preventDefault(),!/input|textarea/i.test(t.target.tagName))switch(t.which){case f:this.prev();break;case d:this.next();break;default:return}}},{key:"_getItemIndex",value:function(e){return this._items=t.makeArray(t(e).parent().find(y.ITEM)),this._items.indexOf(e)}},{key:"_getItemByDirection",value:function(t,e){var n=t===v.NEXT,r=t===v.PREVIOUS,i=this._getItemIndex(e),o=this._items.length-1,s=r&&0===i||n&&i===o;if(s&&!this._config.wrap)return e;var a=t===v.PREVIOUS?-1:1,u=(i+a)%this._items.length;return u===-1?this._items[this._items.length-1]:this._items[u]}},{key:"_triggerSlideEvent",value:function(e,n){var r=t.Event(g.SLIDE,{relatedTarget:e,direction:n});return t(this._element).trigger(r),r}},{key:"_setActiveIndicatorElement",value:function(e){if(this._indicatorsElement){t(this._indicatorsElement).find(y.ACTIVE).removeClass(m.ACTIVE);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&t(n).addClass(m.ACTIVE)}}},{key:"_slide",value:function(e,n){var r=this,i=t(this._element).find(y.ACTIVE_ITEM)[0],o=n||i&&this._getItemByDirection(e,i),s=Boolean(this._interval),u=e===v.NEXT?m.LEFT:m.RIGHT;if(o&&t(o).hasClass(m.ACTIVE))return void(this._isSliding=!1);var c=this._triggerSlideEvent(o,u);if(!c.isDefaultPrevented()&&i&&o){this._isSliding=!0,s&&this.pause(),this._setActiveIndicatorElement(o);var f=t.Event(g.SLID,{relatedTarget:o,direction:u});a.supportsTransitionEnd()&&t(this._element).hasClass(m.SLIDE)?(t(o).addClass(e),a.reflow(o),t(i).addClass(u),t(o).addClass(u),t(i).one(a.TRANSITION_END,function(){t(o).removeClass(u).removeClass(e),t(o).addClass(m.ACTIVE),t(i).removeClass(m.ACTIVE).removeClass(e).removeClass(u),r._isSliding=!1,setTimeout(function(){return t(r._element).trigger(f)},0)}).emulateTransitionEnd(l)):(t(i).removeClass(m.ACTIVE),t(o).addClass(m.ACTIVE),this._isSliding=!1,t(this._element).trigger(f)),s&&this.cycle()}}}],[{key:"_jQueryInterface",value:function(e){return this.each(function(){var n=t(this).data(r),i=t.extend({},h,t(this).data());"object"==typeof e&&t.extend(i,e);var o="string"==typeof e?e:i.slide;if(n||(n=new u(this,i),t(this).data(r,n)),"number"==typeof e)n.to(e);else if("string"==typeof o){if(void 0===n[o])throw new Error('No method named "'+o+'"');n[o]()}else i.interval&&(n.pause(),n.cycle())})}},{key:"_dataApiClickHandler",value:function(e){var n=a.getSelectorFromElement(this);if(n){var i=t(n)[0];if(i&&t(i).hasClass(m.CAROUSEL)){var o=t.extend({},t(i).data(),t(this).data()),s=this.getAttribute("data-slide-to");s&&(o.interval=!1),u._jQueryInterface.call(t(i),o),s&&t(i).data(r).to(s),e.preventDefault()}}}},{key:"VERSION",get:function(){return n}},{key:"Default",get:function(){return h}}]),u}();return t(document).on(g.CLICK_DATA_API,y.DATA_SLIDE,_._dataApiClickHandler),t(window).on(g.LOAD_DATA_API,function(){t(y.DATA_RIDE).each(function(){var e=t(this);_._jQueryInterface.call(e,e.data())})}),t.fn[e]=_._jQueryInterface,t.fn[e].Constructor=_,t.fn[e].noConflict=function(){return t.fn[e]=c,_._jQueryInterface},_}(t),function(t){var e="collapse",n="4.0.0-alpha.4",r="bs.collapse",o="."+r,u=".data-api",c=t.fn[e],l=600,f={toggle:!0,parent:""},d={toggle:"boolean",parent:"string"},h={SHOW:"show"+o,SHOWN:"shown"+o,HIDE:"hide"+o,HIDDEN:"hidden"+o,CLICK_DATA_API:"click"+o+u},p={IN:"in",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},v={WIDTH:"width",HEIGHT:"height"},g={ACTIVES:".panel > .in, .panel > .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},m=function(){function o(e,n){i(this,o),this._isTransitioning=!1,this._element=e,this._config=this._getConfig(n),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+e.id+'"],'+('[data-toggle="collapse"][data-target="#'+e.id+'"]'))),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}return s(o,[{key:"toggle",value:function(){t(this._element).hasClass(p.IN)?this.hide():this.show()}},{key:"show",value:function(){var e=this;if(!this._isTransitioning&&!t(this._element).hasClass(p.IN)){var n=void 0,i=void 0;if(this._parent&&(n=t.makeArray(t(g.ACTIVES)),n.length||(n=null)),!(n&&(i=t(n).data(r),i&&i._isTransitioning))){var s=t.Event(h.SHOW);if(t(this._element).trigger(s),!s.isDefaultPrevented()){n&&(o._jQueryInterface.call(t(n),"hide"),i||t(n).data(r,null));var u=this._getDimension();t(this._element).removeClass(p.COLLAPSE).addClass(p.COLLAPSING),this._element.style[u]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&t(this._triggerArray).removeClass(p.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var c=function(){t(e._element).removeClass(p.COLLAPSING).addClass(p.COLLAPSE).addClass(p.IN),e._element.style[u]="",e.setTransitioning(!1),t(e._element).trigger(h.SHOWN)};if(!a.supportsTransitionEnd())return void c();var f=u[0].toUpperCase()+u.slice(1),d="scroll"+f;t(this._element).one(a.TRANSITION_END,c).emulateTransitionEnd(l),this._element.style[u]=this._element[d]+"px"}}}}},{key:"hide",value:function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(p.IN)){var n=t.Event(h.HIDE);if(t(this._element).trigger(n),!n.isDefaultPrevented()){var r=this._getDimension(),i=r===v.WIDTH?"offsetWidth":"offsetHeight";this._element.style[r]=this._element[i]+"px",a.reflow(this._element),t(this._element).addClass(p.COLLAPSING).removeClass(p.COLLAPSE).removeClass(p.IN),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&t(this._triggerArray).addClass(p.COLLAPSED).attr("aria-expanded",!1),this.setTransitioning(!0);var o=function(){e.setTransitioning(!1),t(e._element).removeClass(p.COLLAPSING).addClass(p.COLLAPSE).trigger(h.HIDDEN)};return this._element.style[r]=0,a.supportsTransitionEnd()?void t(this._element).one(a.TRANSITION_END,o).emulateTransitionEnd(l):void o()}}}},{key:"setTransitioning",value:function(t){this._isTransitioning=t}},{key:"dispose",value:function(){t.removeData(this._element,r),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null}},{key:"_getConfig",value:function(n){return n=t.extend({},f,n),n.toggle=Boolean(n.toggle),a.typeCheckConfig(e,n,d),n}},{key:"_getDimension",value:function(){var e=t(this._element).hasClass(v.WIDTH);return e?v.WIDTH:v.HEIGHT}},{key:"_getParent",value:function(){var e=this,n=t(this._config.parent)[0],r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return t(n).find(r).each(function(t,n){e._addAriaAndCollapsedClass(o._getTargetFromElement(n),[n])}),n}},{key:"_addAriaAndCollapsedClass",value:function(e,n){if(e){var r=t(e).hasClass(p.IN);e.setAttribute("aria-expanded",r),n.length&&t(n).toggleClass(p.COLLAPSED,!r).attr("aria-expanded",r)}}}],[{key:"_getTargetFromElement",value:function(e){var n=a.getSelectorFromElement(e);return n?t(n)[0]:null}},{key:"_jQueryInterface",value:function(e){return this.each(function(){var n=t(this),i=n.data(r),s=t.extend({},f,n.data(),"object"==typeof e&&e);if(!i&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),i||(i=new o(this,s),n.data(r,i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e]()}})}},{key:"VERSION",get:function(){return n}},{key:"Default",get:function(){return f}}]),o}();return t(document).on(h.CLICK_DATA_API,g.DATA_TOGGLE,function(e){e.preventDefault();var n=m._getTargetFromElement(this),i=t(n).data(r),o=i?"toggle":t(this).data();m._jQueryInterface.call(t(n),o)}),t.fn[e]=m._jQueryInterface,t.fn[e].Constructor=m,t.fn[e].noConflict=function(){return t.fn[e]=c,m._jQueryInterface},m}(t),function(t){var e="dropdown",n="4.0.0-alpha.4",r="bs.dropdown",o="."+r,u=".data-api",c=t.fn[e],l=27,f=38,d=40,h=3,p={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,CLICK:"click"+o,CLICK_DATA_API:"click"+o+u,KEYDOWN_DATA_API:"keydown"+o+u},v={BACKDROP:"dropdown-backdrop",DISABLED:"disabled",OPEN:"open"},g={BACKDROP:".dropdown-backdrop",DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",ROLE_MENU:'[role="menu"]',ROLE_LISTBOX:'[role="listbox"]',NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:'[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a'},m=function(){function e(t){i(this,e),this._element=t,this._addEventListeners()}return s(e,[{key:"toggle",value:function(){if(this.disabled||t(this).hasClass(v.DISABLED))return!1;var n=e._getParentFromElement(this),r=t(n).hasClass(v.OPEN);if(e._clearMenus(),r)return!1;if("ontouchstart"in document.documentElement&&!t(n).closest(g.NAVBAR_NAV).length){var i=document.createElement("div");i.className=v.BACKDROP,t(i).insertBefore(this),t(i).on("click",e._clearMenus)}var o={relatedTarget:this},s=t.Event(p.SHOW,o);return t(n).trigger(s),!s.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded","true"),t(n).toggleClass(v.OPEN),t(n).trigger(t.Event(p.SHOWN,o)),!1)}},{key:"dispose",value:function(){t.removeData(this._element,r),t(this._element).off(o),this._element=null}},{key:"_addEventListeners",value:function(){t(this._element).on(p.CLICK,this.toggle)}}],[{key:"_jQueryInterface",value:function(n){return this.each(function(){var i=t(this).data(r);if(i||t(this).data(r,i=new e(this)),"string"==typeof n){if(void 0===i[n])throw new Error('No method named "'+n+'"');i[n].call(this)}})}},{key:"_clearMenus",value:function(n){if(!n||n.which!==h){var r=t(g.BACKDROP)[0];r&&r.parentNode.removeChild(r);for(var i=t.makeArray(t(g.DATA_TOGGLE)),o=0;o0&&a--,n.which===d&&adocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")}},{key:"_resetAdjustments",value:function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}},{key:"_checkScrollbar",value:function(){this._isBodyOverflowing=document.body.clientWidth=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}if(this._activeTarget&&t=this._offsets[i]&&(void 0===this._offsets[i+1]||t .nav-item .fade, > .fade",ACTIVE:".active",ACTIVE_CHILD:"> .nav-item > .active, > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},p=function(){function e(t){i(this,e),this._element=t}return s(e,[{key:"show",value:function(){var e=this;if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!t(this._element).hasClass(d.ACTIVE)){var n=void 0,r=void 0,i=t(this._element).closest(h.UL)[0],o=a.getSelectorFromElement(this._element);i&&(r=t.makeArray(t(i).find(h.ACTIVE)),r=r[r.length-1]);var s=t.Event(f.HIDE,{relatedTarget:this._element}),u=t.Event(f.SHOW,{relatedTarget:r});if(r&&t(r).trigger(s),t(this._element).trigger(u),!u.isDefaultPrevented()&&!s.isDefaultPrevented()){o&&(n=t(o)[0]),this._activate(this._element,i);var c=function(){var n=t.Event(f.HIDDEN,{relatedTarget:e._element}),i=t.Event(f.SHOWN,{relatedTarget:r});t(r).trigger(n),t(e._element).trigger(i)};n?this._activate(n,n.parentNode,c):c()}}}},{key:"dispose",value:function(){t.removeClass(this._element,r),this._element=null}},{key:"_activate",value:function(e,n,r){var i=t(n).find(h.ACTIVE_CHILD)[0],o=r&&a.supportsTransitionEnd()&&(i&&t(i).hasClass(d.FADE)||Boolean(t(n).find(h.FADE_CHILD)[0])),s=t.proxy(this._transitionComplete,this,e,i,o,r);i&&o?t(i).one(a.TRANSITION_END,s).emulateTransitionEnd(l):s(),i&&t(i).removeClass(d.IN)}},{key:"_transitionComplete",value:function(e,n,r,i){if(n){t(n).removeClass(d.ACTIVE);var o=t(n).find(h.DROPDOWN_ACTIVE_CHILD)[0];o&&t(o).removeClass(d.ACTIVE),n.setAttribute("aria-expanded",!1)}if(t(e).addClass(d.ACTIVE),e.setAttribute("aria-expanded",!0),r?(a.reflow(e),t(e).addClass(d.IN)):t(e).removeClass(d.FADE),e.parentNode&&t(e.parentNode).hasClass(d.DROPDOWN_MENU)){var s=t(e).closest(h.DROPDOWN)[0];s&&t(s).find(h.DROPDOWN_TOGGLE).addClass(d.ACTIVE),e.setAttribute("aria-expanded",!0)}i&&i()}}],[{key:"_jQueryInterface",value:function(n){return this.each(function(){var i=t(this),o=i.data(r);if(o||(o=o=new e(this),i.data(r,o)),"string"==typeof n){if(void 0===o[n])throw new Error('No method named "'+n+'"');o[n]()}})}},{key:"VERSION",get:function(){return n}}]),e}();return t(document).on(f.CLICK_DATA_API,h.DATA_TOGGLE,function(e){e.preventDefault(),p._jQueryInterface.call(t(this),"show")}),t.fn[e]=p._jQueryInterface,t.fn[e].Constructor=p,t.fn[e].noConflict=function(){return t.fn[e]=c,p._jQueryInterface},p}(t),function(t){if(void 0===e)throw new Error("Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)");var n="tooltip",r="4.0.0-alpha.4",o="bs.tooltip",u="."+o,c=t.fn[n],l=150,f="bs-tether",d={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[]},h={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array"},p={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},v={IN:"in",OUT:"out"},g={HIDE:"hide"+u,HIDDEN:"hidden"+u,SHOW:"show"+u,SHOWN:"shown"+u,INSERTED:"inserted"+u,CLICK:"click"+u,FOCUSIN:"focusin"+u,FOCUSOUT:"focusout"+u,MOUSEENTER:"mouseenter"+u,MOUSELEAVE:"mouseleave"+u},m={FADE:"fade",IN:"in"},y={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner"},_={element:!1,enabled:!1},w={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},b=function(){function e(t,n){i(this,e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._tether=null,this.element=t,this.config=this._getConfig(n),this.tip=null,this._setListeners()}return s(e,[{key:"enable",value:function(){this._isEnabled=!0}},{key:"disable",value:function(){this._isEnabled=!1}},{key:"toggleEnabled",value:function(){this._isEnabled=!this._isEnabled}},{key:"toggle",value:function(e){if(e){var n=this.constructor.DATA_KEY,r=t(e.currentTarget).data(n);r||(r=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,r)),r._activeTrigger.click=!r._activeTrigger.click,r._isWithActiveTrigger()?r._enter(null,r):r._leave(null,r)}else{if(t(this.getTipElement()).hasClass(m.IN))return void this._leave(null,this);this._enter(null,this)}}},{key:"dispose",value:function(){clearTimeout(this._timeout),this.cleanupTether(),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._tether=null,this.element=null,this.config=null,this.tip=null}},{key:"show",value:function(){var n=this,r=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(r);var i=t.contains(this.element.ownerDocument.documentElement,this.element);if(r.isDefaultPrevented()||!i)return;var o=this.getTipElement(),s=a.getUID(this.constructor.NAME);o.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&t(o).addClass(m.FADE);var u="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,c=this._getAttachment(u);t(o).data(this.constructor.DATA_KEY,this).appendTo(document.body),t(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:c,element:o,target:this.element,classes:_,classPrefix:f,offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),a.reflow(o),this._tether.position(),t(o).addClass(m.IN);var l=function(){var e=n._hoverState;n._hoverState=null,t(n.element).trigger(n.constructor.Event.SHOWN),e===v.OUT&&n._leave(null,n)};if(a.supportsTransitionEnd()&&t(this.tip).hasClass(m.FADE))return void t(this.tip).one(a.TRANSITION_END,l).emulateTransitionEnd(e._TRANSITION_DURATION);l()}}},{key:"hide",value:function(e){var n=this,r=this.getTipElement(),i=t.Event(this.constructor.Event.HIDE),o=function(){n._hoverState!==v.IN&&r.parentNode&&r.parentNode.removeChild(r),n.element.removeAttribute("aria-describedby"),t(n.element).trigger(n.constructor.Event.HIDDEN),n.cleanupTether(),e&&e()};t(this.element).trigger(i),i.isDefaultPrevented()||(t(r).removeClass(m.IN),a.supportsTransitionEnd()&&t(this.tip).hasClass(m.FADE)?t(r).one(a.TRANSITION_END,o).emulateTransitionEnd(l):o(),this._hoverState="")}},{key:"isWithContent",value:function(){return Boolean(this.getTitle())}},{key:"getTipElement",value:function(){return this.tip=this.tip||t(this.config.template)[0]}},{key:"setContent",value:function(){var e=t(this.getTipElement());this.setElementContent(e.find(y.TOOLTIP_INNER),this.getTitle()),e.removeClass(m.FADE).removeClass(m.IN),this.cleanupTether()}},{key:"setElementContent",value:function(e,n){var r=this.config.html;"object"==typeof n&&(n.nodeType||n.jquery)?r?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text()):e[r?"html":"text"](n)}},{key:"getTitle",value:function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t}},{key:"cleanupTether",value:function(){this._tether&&this._tether.destroy()}},{key:"_getAttachment",value:function(t){return p[t.toUpperCase()]}},{key:"_setListeners",value:function(){var e=this,n=this.config.trigger.split(" ");n.forEach(function(n){if("click"===n)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,t.proxy(e.toggle,e));else if(n!==w.MANUAL){var r=n===w.HOVER?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,i=n===w.HOVER?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(r,e.config.selector,t.proxy(e._enter,e)).on(i,e.config.selector,t.proxy(e._leave,e))}}),this.config.selector?this.config=t.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()}},{key:"_fixTitle",value:function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))}},{key:"_enter",value:function(e,n){var r=this.constructor.DATA_KEY;return n=n||t(e.currentTarget).data(r),n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(r,n)),e&&(n._activeTrigger["focusin"===e.type?w.FOCUS:w.HOVER]=!0),t(n.getTipElement()).hasClass(m.IN)||n._hoverState===v.IN?void(n._hoverState=v.IN):(clearTimeout(n._timeout),n._hoverState=v.IN,n.config.delay&&n.config.delay.show?void(n._timeout=setTimeout(function(){n._hoverState===v.IN&&n.show()},n.config.delay.show)):void n.show())}},{key:"_leave",value:function(e,n){var r=this.constructor.DATA_KEY;if(n=n||t(e.currentTarget).data(r),n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(r,n)),e&&(n._activeTrigger["focusout"===e.type?w.FOCUS:w.HOVER]=!1),!n._isWithActiveTrigger())return clearTimeout(n._timeout),n._hoverState=v.OUT,n.config.delay&&n.config.delay.hide?void(n._timeout=setTimeout(function(){n._hoverState===v.OUT&&n.hide()},n.config.delay.hide)):void n.hide()}},{key:"_isWithActiveTrigger",value:function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}},{key:"_getConfig",value:function(e){return e=t.extend({},this.constructor.Default,t(this.element).data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),a.typeCheckConfig(n,e,this.constructor.DefaultType),e}},{key:"_getDelegateConfig",value:function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t}}],[{key:"_jQueryInterface",value:function(n){return this.each(function(){var r=t(this).data(o),i="object"==typeof n?n:null;if((r||!/destroy|hide/.test(n))&&(r||(r=new e(this,i),t(this).data(o,r)),"string"==typeof n)){if(void 0===r[n])throw new Error('No method named "'+n+'"');r[n]()}})}},{key:"VERSION",get:function(){return r}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return n}},{key:"DATA_KEY",get:function(){return o}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return u}},{key:"DefaultType",get:function(){return h}}]),e}();return t.fn[n]=b._jQueryInterface,t.fn[n].Constructor=b,t.fn[n].noConflict=function(){return t.fn[n]=c,b._jQueryInterface},b}(t));(function(t){var e="popover",n="4.0.0-alpha.4",a="bs.popover",c="."+a,l=t.fn[e],f=t.extend({},u.Default,{placement:"right",trigger:"click",content:"",template:''}),d=t.extend({},u.DefaultType,{content:"(string|element|function)"}),h={FADE:"fade",IN:"in"},p={TITLE:".popover-title",CONTENT:".popover-content",ARROW:".popover-arrow"},v={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,INSERTED:"inserted"+c,CLICK:"click"+c,FOCUSIN:"focusin"+c,FOCUSOUT:"focusout"+c,MOUSEENTER:"mouseenter"+c,MOUSELEAVE:"mouseleave"+c},g=function(u){function l(){i(this,l),o(Object.getPrototypeOf(l.prototype),"constructor",this).apply(this,arguments)}return r(l,u),s(l,[{key:"isWithContent",value:function(){return this.getTitle()||this._getContent()}},{key:"getTipElement",value:function(){return this.tip=this.tip||t(this.config.template)[0]}},{key:"setContent",value:function(){var e=t(this.getTipElement());this.setElementContent(e.find(p.TITLE),this.getTitle()),this.setElementContent(e.find(p.CONTENT),this._getContent()),e.removeClass(h.FADE).removeClass(h.IN),this.cleanupTether()}},{key:"_getContent",value:function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)}}],[{key:"_jQueryInterface",value:function(e){return this.each(function(){var n=t(this).data(a),r="object"==typeof e?e:null;if((n||!/destroy|hide/.test(e))&&(n||(n=new l(this,r),t(this).data(a,n)),"string"==typeof e)){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})}},{key:"VERSION",get:function(){return n}},{key:"Default",get:function(){return f}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return a}},{key:"Event",get:function(){return v}},{key:"EVENT_KEY",get:function(){return c}},{key:"DefaultType",get:function(){return d}}]),l}(u);return t.fn[e]=g._jQueryInterface,t.fn[e].Constructor=g,t.fn[e].noConflict=function(){return t.fn[e]=l,g._jQueryInterface},g})(t)}(t)}).call(e,n(217),n(559))},function(t,e,n){var r,i,o;!function(s,a){i=[t,n(500)],r=a,o="function"==typeof r?r.apply(e,i):r,!(void 0!==o&&(t.exports=o))}(this,function(t,e){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(e),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},s=function(){function t(t,e){for(var n=0;nk.cacheLength&&delete t[e.shift()],t[n+" "]=r}var e=[];return t}function a(t){return t[V]=!0,t}function u(t){var e=L.createElement("fieldset");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function c(t,e){for(var n=t.split("|"),r=n.length;r--;)k.attrHandle[n[r]]=e}function l(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function f(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function d(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function h(t){return function(e){return"form"in e?e.parentNode&&e.disabled===!1?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Ot(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function p(t){return a(function(e){return e=+e,a(function(n,r){for(var i,o=t([],n.length,e),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function v(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function g(){}function m(t){for(var e=0,n=t.length,r="";e1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function w(t,e,n){for(var r=0,i=e.length;r-1&&(o[c]=!(s[c]=f))}}else m=b(m===s?m.splice(p,m.length):m),i?i(null,s,m,u):nt.apply(s,m)})}function E(t){for(var e,n,r,i=t.length,o=k.relative[t[0].type],s=o||k.relative[" "],a=o?1:0,u=y(function(t){return t===e},s,!0),c=y(function(t){return it(e,t)>-1},s,!0),l=[function(t,n,r){var i=!o&&(r||n!==I)||((e=n).nodeType?u(t,n,r):c(t,n,r));return e=null,i}];a1&&_(l),a>1&&m(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(ft,"$1"),n,a0,r=t.length>0,i=function(i,s,a,u,c){var l,f,d,h=0,p="0",v=i&&[],g=[],m=I,y=i||r&&k.find.TAG("*",c),_=q+=null==m?1:Math.random()||.1,w=y.length;for(c&&(I=s===L||s||c);p!==w&&null!=(l=y[p]);p++){if(r&&l){for(f=0,s||l.ownerDocument===L||(j(l),a=!U);d=t[f++];)if(d(l,s||L,a)){u.push(l);break}c&&(q=_)}n&&((l=!d&&l)&&h--,i&&v.push(l))}if(h+=p,n&&p!==h){for(f=0;d=e[f++];)d(v,g,s,a);if(i){if(h>0)for(;p--;)v[p]||g[p]||(g[p]=tt.call(u));g=b(g)}nt.apply(u,g),c&&!i&&g.length>0&&h+e.length>1&&o.uniqueSort(u)}return c&&(q=_,I=m),v};return n?a(i):i}var C,T,k,O,A,D,N,P,I,R,M,j,L,F,U,H,B,W,Y,V="sizzle"+1*new Date,$=i.document,q=0,G=0,z=s(),K=s(),X=s(),Q=function(t,e){return t===e&&(M=!0),0},J={}.hasOwnProperty,Z=[],tt=Z.pop,et=Z.push,nt=Z.push,rt=Z.slice,it=function(t,e){for(var n=0,r=t.length;n+~]|"+st+")"+st+"*"),pt=new RegExp("="+st+"*([^\\]'\"]*?)"+st+"*\\]","g"),vt=new RegExp(ct),gt=new RegExp("^"+at+"$"),mt={ID:new RegExp("^#("+at+")"),CLASS:new RegExp("^\\.("+at+")"),TAG:new RegExp("^("+at+"|[*])"),ATTR:new RegExp("^"+ut),PSEUDO:new RegExp("^"+ct),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+st+"*(even|odd|(([+-]|)(\\d*)n|)"+st+"*(?:([+-]|)"+st+"*(\\d+)|))"+st+"*\\)|)","i"),bool:new RegExp("^(?:"+ot+")$","i"),needsContext:new RegExp("^"+st+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+st+"*((?:-\\d)?\\d*)"+st+"*\\)|)(?=[^-]|$)","i")},yt=/^(?:input|select|textarea|button)$/i,_t=/^h\d$/i,wt=/^[^{]+\{\s*\[native \w/,bt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,xt=/[+~]/,Et=new RegExp("\\\\([\\da-f]{1,6}"+st+"?|("+st+")|.)","ig"),St=function(t,e,n){var r="0x"+e-65536;return r!==r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320); -},Ct=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Tt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},kt=function(){j()},Ot=y(function(t){return t.disabled===!0&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{nt.apply(Z=rt.call($.childNodes),$.childNodes),Z[$.childNodes.length].nodeType}catch(At){nt={apply:Z.length?function(t,e){et.apply(t,rt.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}T=o.support={},A=o.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},j=o.setDocument=function(t){var e,n,r=t?t.ownerDocument||t:$;return r!==L&&9===r.nodeType&&r.documentElement?(L=r,F=L.documentElement,U=!A(L),$!==L&&(n=L.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",kt,!1):n.attachEvent&&n.attachEvent("onunload",kt)),T.attributes=u(function(t){return t.className="i",!t.getAttribute("className")}),T.getElementsByTagName=u(function(t){return t.appendChild(L.createComment("")),!t.getElementsByTagName("*").length}),T.getElementsByClassName=wt.test(L.getElementsByClassName),T.getById=u(function(t){return F.appendChild(t).id=V,!L.getElementsByName||!L.getElementsByName(V).length}),T.getById?(k.filter.ID=function(t){var e=t.replace(Et,St);return function(t){return t.getAttribute("id")===e}},k.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&U){var n=e.getElementById(t);return n?[n]:[]}}):(k.filter.ID=function(t){var e=t.replace(Et,St);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},k.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&U){var n,r,i,o=e.getElementById(t);if(o){if(n=o.getAttributeNode("id"),n&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if(n=o.getAttributeNode("id"),n&&n.value===t)return[o]}return[]}}),k.find.TAG=T.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):T.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},k.find.CLASS=T.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&U)return e.getElementsByClassName(t)},B=[],H=[],(T.qsa=wt.test(L.querySelectorAll))&&(u(function(t){F.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&H.push("[*^$]="+st+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||H.push("\\["+st+"*(?:value|"+ot+")"),t.querySelectorAll("[id~="+V+"-]").length||H.push("~="),t.querySelectorAll(":checked").length||H.push(":checked"),t.querySelectorAll("a#"+V+"+*").length||H.push(".#.+[+~]")}),u(function(t){t.innerHTML="";var e=L.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&H.push("name"+st+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&H.push(":enabled",":disabled"),F.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&H.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),H.push(",.*:")})),(T.matchesSelector=wt.test(W=F.matches||F.webkitMatchesSelector||F.mozMatchesSelector||F.oMatchesSelector||F.msMatchesSelector))&&u(function(t){T.disconnectedMatch=W.call(t,"*"),W.call(t,"[s!='']:x"),B.push("!=",ct)}),H=H.length&&new RegExp(H.join("|")),B=B.length&&new RegExp(B.join("|")),e=wt.test(F.compareDocumentPosition),Y=e||wt.test(F.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},Q=e?function(t,e){if(t===e)return M=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!T.sortDetached&&e.compareDocumentPosition(t)===n?t===L||t.ownerDocument===$&&Y($,t)?-1:e===L||e.ownerDocument===$&&Y($,e)?1:R?it(R,t)-it(R,e):0:4&n?-1:1)}:function(t,e){if(t===e)return M=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,s=[t],a=[e];if(!i||!o)return t===L?-1:e===L?1:i?-1:o?1:R?it(R,t)-it(R,e):0;if(i===o)return l(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?l(s[r],a[r]):s[r]===$?-1:a[r]===$?1:0},L):L},o.matches=function(t,e){return o(t,null,null,e)},o.matchesSelector=function(t,e){if((t.ownerDocument||t)!==L&&j(t),e=e.replace(pt,"='$1']"),T.matchesSelector&&U&&!X[e+" "]&&(!B||!B.test(e))&&(!H||!H.test(e)))try{var n=W.call(t,e);if(n||T.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(r){}return o(e,L,null,[t]).length>0},o.contains=function(t,e){return(t.ownerDocument||t)!==L&&j(t),Y(t,e)},o.attr=function(t,e){(t.ownerDocument||t)!==L&&j(t);var n=k.attrHandle[e.toLowerCase()],r=n&&J.call(k.attrHandle,e.toLowerCase())?n(t,e,!U):void 0;return void 0!==r?r:T.attributes||!U?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},o.escape=function(t){return(t+"").replace(Ct,Tt)},o.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},o.uniqueSort=function(t){var e,n=[],r=0,i=0;if(M=!T.detectDuplicates,R=!T.sortStable&&t.slice(0),t.sort(Q),M){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return R=null,t},O=o.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=O(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=O(e);return n},k=o.selectors={cacheLength:50,createPseudo:a,match:mt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Et,St),t[3]=(t[3]||t[4]||t[5]||"").replace(Et,St),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||o.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&o.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return mt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&vt.test(n)&&(e=D(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Et,St).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=z[t+" "];return e||(e=new RegExp("(^|"+st+")"+t+"("+st+"|$)"))&&z(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(r){var i=o.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(lt," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,u){var c,l,f,d,h,p,v=o!==s?"nextSibling":"previousSibling",g=e.parentNode,m=a&&e.nodeName.toLowerCase(),y=!u&&!a,_=!1;if(g){if(o){for(;v;){for(d=e;d=d[v];)if(a?d.nodeName.toLowerCase()===m:1===d.nodeType)return!1;p=v="only"===t&&!p&&"nextSibling"}return!0}if(p=[s?g.firstChild:g.lastChild],s&&y){for(d=g,f=d[V]||(d[V]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),c=l[t]||[],h=c[0]===q&&c[1],_=h&&c[2],d=h&&g.childNodes[h];d=++h&&d&&d[v]||(_=h=0)||p.pop();)if(1===d.nodeType&&++_&&d===e){l[t]=[q,h,_];break}}else if(y&&(d=e,f=d[V]||(d[V]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),c=l[t]||[],h=c[0]===q&&c[1],_=h),_===!1)for(;(d=++h&&d&&d[v]||(_=h=0)||p.pop())&&((a?d.nodeName.toLowerCase()!==m:1!==d.nodeType)||!++_||(y&&(f=d[V]||(d[V]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),l[t]=[q,_]),d!==e)););return _-=i,_===r||_%r===0&&_/r>=0}}},PSEUDO:function(t,e){var n,r=k.pseudos[t]||k.setFilters[t.toLowerCase()]||o.error("unsupported pseudo: "+t);return r[V]?r(e):r.length>1?(n=[t,t,"",e],k.setFilters.hasOwnProperty(t.toLowerCase())?a(function(t,n){for(var i,o=r(t,e),s=o.length;s--;)i=it(t,o[s]),t[i]=!(n[i]=o[s])}):function(t){return r(t,0,n)}):r}},pseudos:{not:a(function(t){var e=[],n=[],r=N(t.replace(ft,"$1"));return r[V]?a(function(t,e,n,i){for(var o,s=r(t,null,i,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:a(function(t){return function(e){return o(t,e).length>0}}),contains:a(function(t){return t=t.replace(Et,St),function(e){return(e.textContent||e.innerText||O(e)).indexOf(t)>-1}}),lang:a(function(t){return gt.test(t||"")||o.error("unsupported lang: "+t),t=t.replace(Et,St).toLowerCase(),function(e){var n;do if(n=U?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===F},focus:function(t){return t===L.activeElement&&(!L.hasFocus||L.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:h(!1),disabled:h(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!k.pseudos.empty(t)},header:function(t){return _t.test(t.nodeName)},input:function(t){return yt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:p(function(){return[0]}),last:p(function(t,e){return[e-1]}),eq:p(function(t,e,n){return[n<0?n+e:n]}),even:p(function(t,e){for(var n=0;n=0;)t.push(r);return t}),gt:p(function(t,e,n){for(var r=n<0?n+e:n;++r2&&"ID"===(s=o[0]).type&&9===e.nodeType&&U&&k.relative[o[1].type]){if(e=(k.find.ID(s.matches[0].replace(Et,St),e)||[])[0],!e)return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=mt.needsContext.test(t)?0:o.length;i--&&(s=o[i],!k.relative[a=s.type]);)if((u=k.find[a])&&(r=u(s.matches[0].replace(Et,St),xt.test(o[0].type)&&v(e.parentNode)||e))){if(o.splice(i,1),t=r.length&&m(o),!t)return nt.apply(n,r),n;break}}return(c||N(t,l))(r,e,!U,n,!e||xt.test(t)&&v(e.parentNode)||e),n},T.sortStable=V.split("").sort(Q).join("")===V,T.detectDuplicates=!!M,j(),T.sortDetached=u(function(t){return 1&t.compareDocumentPosition(L.createElement("fieldset"))}),u(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||c("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),T.attributes&&u(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||c("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),u(function(t){return null==t.getAttribute("disabled")})||c(ot,function(t,e,n){var r;if(!n)return t[e]===!0?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null});var Dt=i.Sizzle;o.noConflict=function(){return i.Sizzle===o&&(i.Sizzle=Dt),o},r=function(){return o}.call(e,n,e,t),!(void 0!==r&&(t.exports=r))}(window)},function(t,e,n){var r,i;r=[n(2),n(201),n(202),n(66)],i=function(t,e,n){"use strict";var r=[],i=/(=)\?(?=&|$)|\?\?/;t.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=r.pop()||t.expando+"_"+e++;return this[n]=!0,n}}),t.ajaxPrefilter("json jsonp",function(e,o,s){var a,u,c,l=e.jsonp!==!1&&(i.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&i.test(e.data)&&"data");if(l||"jsonp"===e.dataTypes[0])return a=e.jsonpCallback=t.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,l?e[l]=e[l].replace(i,"$1"+a):e.jsonp!==!1&&(e.url+=(n.test(e.url)?"&":"?")+e.jsonp+"="+a),e.converters["script json"]=function(){return c||t.error(a+" was not called"),c[0]},e.dataTypes[0]="json",u=window[a],window[a]=function(){c=arguments},s.always(function(){void 0===u?t(window).removeProp(a):window[a]=u,e[a]&&(e.jsonpCallback=o.jsonpCallback,r.push(a)),c&&t.isFunction(u)&&u(c[0]),c=u=void 0}),"script"})}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(2),n(137),n(523),n(66),n(69),n(98),n(13)],i=function(t,e){"use strict";t.fn.load=function(n,r,i){var o,s,a,u=this,c=n.indexOf(" ");return c>-1&&(o=e(n.slice(c)),n=n.slice(0,c)),t.isFunction(r)?(i=r,r=void 0):r&&"object"==typeof r&&(s="POST"),u.length>0&&t.ajax({url:n,type:s||"GET",dataType:"html",data:r}).done(function(e){a=arguments,u.html(o?t("
").append(t.parseHTML(e)).find(o):e)}).always(i&&function(t,e){u.each(function(){i.apply(this,a||[t.responseText,e,t])})}),this}}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(2)],i=function(t){"use strict";return t.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new window.DOMParser).parseFromString(e,"text/xml")}catch(r){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||t.error("Invalid XML: "+e),n},t.parseXML}.apply(e,r),!(void 0!==i&&(t.exports=i))},function(t,e,n){var r,i;r=[n(2),n(11),n(66)],i=function(t,e){"use strict";t.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),t.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return t.globalEval(e),e}}}),t.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),t.ajaxTransport("script",function(n){if(n.crossDomain){var r,i;return{send:function(o,s){r=t(" + +
+
+
+
+
+
+
+

Next-Gen Open Source Password Manager

+

+ Stop wasting time synchronize your encrypted vault. + Remember one master password to access your passwords, anywhere, anytime. + No sync needed. +

+

+ +

+
+
+
+
+
+
+
+
+
+ Available far and wide +
+
+

Available everywhere

+

+ LessPass is a web application and works on all devices + (computer, smartphone, tablet and your smartTV) +

+
+
+
+
+
+
+ No Cloud +
+
+

No storage

+

+ LessPass regenerates your passwords when you need them. No cloud storage is required +

+
+
+
+
+
+
+ + Open Source + +
+

Open Source

+

+ LessPass is open-source. So its security can be audited. + Source code is available on + Github +

+
+
+
+
+
+
+ Free +
+
+

Free

+

+ LessPass is free
and always will be +

+
+
+
+
+
+
+
+
+ + Copyright LessPass
+ Created by Guillaume Vincent +
+
+
+
+ diff --git a/lesspass.html b/lesspass.html deleted file mode 100644 index 99515fc..0000000 --- a/lesspass.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - LessPass - - - - - -
- - - diff --git a/package.json b/package.json index 79a7d22..ec9fc78 100644 --- a/package.json +++ b/package.json @@ -7,63 +7,13 @@ "homepage": "https://github.com/lesspass/frontend#readme", "bugs": "https://github.com/lesspass/frontend/issues", "scripts": { - "dev": "npm install && webpack-dev-server --inline --hot --host 0.0.0.0", - "build": "rm -rf dist && NODE_ENV=production webpack --display-error-details --progress --hide-modules", - "test": "ava test --compilers js:babel-register" + "build": "rm -rf dist && gulp" }, "dependencies": { - "express": "^4.14.0" + "express": "^4.14.0", + "lesspass-pure": "^2.0.1" }, "devDependencies": { - "ava": "^0.16.0", - "axios": "^0.14.0", - "babel-core": "^6.17.0", - "babel-loader": "^6.2.5", - "babel-plugin-transform-runtime": "^6.15.0", - "babel-polyfill": "^6.16.0", - "babel-preset-es2015": "^6.16.0", - "babel-preset-stage-2": "^6.17.0", - "babel-register": "^6.16.3", - "babel-runtime": "^6.11.6", - "bootstrap": "^4.0.0-alpha.4", - "clipboard": "^1.5.12", - "css-loader": "^0.25.0", - "extract-text-webpack-plugin": "^1.0.1", - "file-loader": "^0.9.0", - "font-awesome": "^4.6.3", - "hint.css": "^2.3.2", - "jquery": "^3.1.1", - "json-loader": "^0.5.4", - "jwt-decode": "^2.1.0", - "lesspass": "^4.0.4", - "lodash.debounce": "^4.0.8", - "moment": "^2.15.0", - "nock": "^8.1.0", - "pilou": "^0.1.4", - "style-loader": "^0.13.1", - "tether": "^1.3.7", - "url-loader": "^0.5.7", - "vue": "^2.0.1", - "vue-loader": "^9.5.1", - "vue-router": "^2.0.0", - "vuex": "^2.0.0", - "webpack": "^1.13.2", - "webpack-dev-server": "^1.16.2" - }, - "babel": { - "presets": [ - "es2015", - "stage-2" - ], - "plugins": [ - "transform-runtime" - ], - "comments": false - }, - "ava": { - "require": [ - "babel-register" - ], - "babel": "inherit" + "gulp": "^3.9.1" } } diff --git a/readme.md b/readme.md index b8bdf57..1075cd2 100644 --- a/readme.md +++ b/readme.md @@ -1,29 +1,6 @@ -[![Build Status](https://travis-ci.org/lesspass/frontend.svg?branch=master)](https://travis-ci.org/lesspass/frontend) - # LessPass frontend -frontend application for [lesspass.com](https://lesspass.com) - - - - vuejs - - vue-router - - vue-i18n - - ava and xo for tests - - webpack - - ES6 - - -## Tests - -run frontend tests - - cd frontend - npm install - npm test - - -## Build +Frontend application for [lesspass.com](https://lesspass.com) - npm run build see [LessPass](https://github.com/lesspass/lesspass) project diff --git a/src/App.css b/src/App.css deleted file mode 100644 index ef435c6..0000000 --- a/src/App.css +++ /dev/null @@ -1,10 +0,0 @@ -html, body { - height: 100%; - width: 100%; -} - -body { - background: #008ed6 fixed top; - background-size: cover; - margin: 0; -} \ No newline at end of file diff --git a/src/App.vue b/src/App.vue deleted file mode 100644 index ae2d1d6..0000000 --- a/src/App.vue +++ /dev/null @@ -1,23 +0,0 @@ - - diff --git a/src/api/auth.js b/src/api/auth.js deleted file mode 100644 index 82880ff..0000000 --- a/src/api/auth.js +++ /dev/null @@ -1,88 +0,0 @@ -import axios from 'axios'; - -export default class Auth { - constructor(storage) { - this.user = { - authenticated: false - }; - this.storage = storage; - } - - isAuthenticated() { - const token = this.storage.getToken(); - if (token.stillValid()) { - this.user.authenticated = true; - return true; - } - this.user.authenticated = false; - return false; - } - - isGuest() { - return !this.isAuthenticated() - } - - logout() { - return new Promise(resolve => { - this.storage.clear(); - this.user.authenticated = false; - resolve(); - }); - } - - login(user, baseURL) { - const config = this.storage.json(); - if (baseURL) { - config.baseURL = baseURL; - } - return Auth._requestToken(user, config).then(token => { - this.storage.saveToken(token) - }) - } - - static _requestToken(user, config = {}) { - return axios.post('/api/tokens/auth/', user, config).then(response => { - return response.data.token; - }); - } - - refreshToken() { - const config = this.storage.json(); - const token = this.storage.getToken(); - return Auth._requestNewToken({token: token.name}, config).then(token => { - this.storage.saveToken(token) - }); - } - - static _requestNewToken(token, config = {}) { - return axios.post('/api/tokens/refresh/', token, config).then(response => { - return response.data.token; - }); - } - - register(user, baseURL) { - const config = this.storage.json(); - if (baseURL) { - config.baseURL = baseURL; - } - return axios.post('/api/auth/register/', user, config).then(response => { - return response.data; - }); - } - - resetPassword(email, baseURL) { - const config = this.storage.json(); - if (baseURL) { - config.baseURL = baseURL; - } - return axios.post('/api/auth/password/reset/', email, config); - } - - confirmResetPassword(password, baseURL) { - const config = this.storage.json(); - if (baseURL) { - config.baseURL = baseURL; - } - return axios.post('/api/auth/password/reset/confirm/', password, config); - } -} diff --git a/src/api/http.js b/src/api/http.js deleted file mode 100644 index 38cf153..0000000 --- a/src/api/http.js +++ /dev/null @@ -1,40 +0,0 @@ -import pilou from 'pilou'; -import {TOKEN_KEY} from './storage'; - - -export default class HTTP { - constructor(resourceName, storage) { - this.storage = storage; - this.resource = pilou(resourceName); - } - - getRequestConfig() { - const config = this.storage.json(); - return { - baseURL: config.baseURL, - headers: {Authorization: `JWT ${config[TOKEN_KEY]}`} - }; - } - - create(resource) { - return this.resource.create(resource, this.getRequestConfig()); - } - - all(params = {}) { - const config = this.getRequestConfig(); - config.params = params; - return this.resource.all(config); - } - - get(resource) { - return this.resource.get(resource, this.getRequestConfig()); - } - - update(resource) { - return this.resource.update({id: resource.id}, resource, this.getRequestConfig()); - } - - remove(resource) { - return this.resource.delete(resource, this.getRequestConfig()); - } -} diff --git a/src/api/storage.js b/src/api/storage.js deleted file mode 100644 index 490d478..0000000 --- a/src/api/storage.js +++ /dev/null @@ -1,42 +0,0 @@ -export const LOCAL_STORAGE_KEY = 'lesspass'; -export const TOKEN_KEY = 'jwt'; -import Token from './token'; - -export default class Storage { - constructor(storage = window.localStorage) { - this.storage = storage; - } - - _getLocalStorage() { - return JSON.parse(this.storage.getItem(LOCAL_STORAGE_KEY) || '{}') - } - - json() { - const defaultStorage = { - baseURL: 'https://lesspass.com' - }; - const localStorage = this._getLocalStorage(); - return Object.assign(defaultStorage, localStorage); - } - - save(data) { - const newData = Object.assign(this._getLocalStorage(), data); - this.storage.setItem(LOCAL_STORAGE_KEY, JSON.stringify(newData)); - } - - clear() { - this.storage.clear(); - } - - getToken() { - const storage = this.json(); - if (TOKEN_KEY in storage) { - return new Token(storage[TOKEN_KEY]); - } - return new Token(); - } - - saveToken(token) { - this.save({[TOKEN_KEY]: token}) - } -} diff --git a/src/api/token.js b/src/api/token.js deleted file mode 100644 index cae6468..0000000 --- a/src/api/token.js +++ /dev/null @@ -1,43 +0,0 @@ -import moment from 'moment'; -import jwtDecode from 'jwt-decode'; - -export const TOKEN_KEY = 'jwt'; - -export default class Token { - constructor(tokenName) { - this.name = tokenName - } - - stillValid(now = moment()) { - try { - return this._expirationDateSuperiorTo(now); - } - catch (err) { - return false; - } - } - - expiresIn(duration, unit, now = moment()) { - try { - const nowPlusDuration = now.add(duration, moment.normalizeUnits(unit)); - return this._expirationDateInferiorTo(nowPlusDuration); - } - catch (err) { - return false; - } - } - - _expirationDateInferiorTo(date) { - const expireDate = this._getTokenExpirationDate(); - return expireDate.diff(date) < 0; - } - - _expirationDateSuperiorTo(date) { - return !this._expirationDateInferiorTo(date) - } - - _getTokenExpirationDate() { - const decodedToken = jwtDecode(this.name); - return moment(decodedToken.exp * 1000); - } -} diff --git a/src/api/tooltip.js b/src/api/tooltip.js deleted file mode 100644 index 041def9..0000000 --- a/src/api/tooltip.js +++ /dev/null @@ -1,8 +0,0 @@ -export function showTooltip(elem, msg) { - var classNames = elem.className; - elem.setAttribute('class', classNames + ' hint--top'); - elem.setAttribute('aria-label', msg); - setTimeout(function () { - elem.setAttribute('class', classNames); - }, 2000); -} \ No newline at end of file diff --git a/src/components/DeleteButton.vue b/src/components/DeleteButton.vue deleted file mode 100644 index ea6b82d..0000000 --- a/src/components/DeleteButton.vue +++ /dev/null @@ -1,35 +0,0 @@ - - - diff --git a/src/components/Features.vue b/src/components/Features.vue deleted file mode 100644 index be4486b..0000000 --- a/src/components/Features.vue +++ /dev/null @@ -1,80 +0,0 @@ - - \ No newline at end of file diff --git a/src/components/Fingerprint.vue b/src/components/Fingerprint.vue deleted file mode 100644 index 2d089a8..0000000 --- a/src/components/Fingerprint.vue +++ /dev/null @@ -1,71 +0,0 @@ - - - - diff --git a/src/components/Footer.vue b/src/components/Footer.vue deleted file mode 100644 index bc1dc98..0000000 --- a/src/components/Footer.vue +++ /dev/null @@ -1,26 +0,0 @@ - - \ No newline at end of file diff --git a/src/components/Hero.vue b/src/components/Hero.vue deleted file mode 100644 index cb1d98a..0000000 --- a/src/components/Hero.vue +++ /dev/null @@ -1,53 +0,0 @@ - - - diff --git a/src/components/LessPass.vue b/src/components/LessPass.vue deleted file mode 100644 index 572b583..0000000 --- a/src/components/LessPass.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - diff --git a/src/components/Menu.vue b/src/components/Menu.vue deleted file mode 100644 index ee367e6..0000000 --- a/src/components/Menu.vue +++ /dev/null @@ -1,100 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/NavigationBar.vue b/src/components/NavigationBar.vue deleted file mode 100644 index 8501238..0000000 --- a/src/components/NavigationBar.vue +++ /dev/null @@ -1,26 +0,0 @@ - - \ No newline at end of file diff --git a/src/components/RemoveAutoComplete.vue b/src/components/RemoveAutoComplete.vue deleted file mode 100644 index b4086f7..0000000 --- a/src/components/RemoveAutoComplete.vue +++ /dev/null @@ -1,10 +0,0 @@ - \ No newline at end of file diff --git a/src/domain/password.js b/src/domain/password.js deleted file mode 100644 index 4b766d0..0000000 --- a/src/domain/password.js +++ /dev/null @@ -1,27 +0,0 @@ -export default class Password { - constructor(password) { - this.password = password; - this.options = { - uppercase: password.uppercase, - lowercase: password.lowercase, - numbers: password.numbers, - symbols: password.symbols, - length: password.length, - counter: password.counter, - } - } - - isNewPassword(passwords) { - let isNew = true; - passwords.forEach(pwd => { - if (pwd.site === this.password.site && pwd.login === this.password.login) { - isNew = false; - } - }); - return isNew; - } - - json() { - return this.password - } -} diff --git a/src/lesspass.js b/src/lesspass.js deleted file mode 100644 index 053d7bd..0000000 --- a/src/lesspass.js +++ /dev/null @@ -1,17 +0,0 @@ -import 'babel-polyfill'; -import Vue from 'vue'; -import 'bootstrap/dist/css/bootstrap.css'; -import 'font-awesome/css/font-awesome.css'; -import 'hint.css/hint.css'; -import './App.css'; -import LessPass from './components/LessPass'; -import 'bootstrap/dist/js/bootstrap'; -import store from './store'; -import router from './router'; - -new Vue({ - el: '#app', - store, - router, - render: h => h(LessPass) -}); diff --git a/src/main.js b/src/main.js deleted file mode 100644 index 1707486..0000000 --- a/src/main.js +++ /dev/null @@ -1,17 +0,0 @@ -import 'babel-polyfill'; -import Vue from 'vue'; -import 'bootstrap/dist/css/bootstrap.css'; -import 'font-awesome/css/font-awesome.css'; -import 'hint.css/hint.css'; -import './App.css'; -import App from './App'; -import 'bootstrap/dist/js/bootstrap'; -import store from './store'; -import router from './router'; - -new Vue({ - el: '#app', - store, - router, - render: h => h(App) -}); diff --git a/src/router.js b/src/router.js deleted file mode 100644 index 84e2913..0000000 --- a/src/router.js +++ /dev/null @@ -1,27 +0,0 @@ -import Vue from 'vue'; -import VueRouter from 'vue-router'; - -import PasswordGenerator from './views/PasswordGenerator'; -import Login from './views/Login'; -import Register from './views/Register'; -import PasswordReset from './views/PasswordReset'; -import PasswordResetConfirm from './views/PasswordResetConfirm'; -import Passwords from './views/Passwords'; - -Vue.use(VueRouter); - -const routes = [ - {path: '/', name: 'home', component: PasswordGenerator}, - {path: '/login', name: 'login', component: Login}, - {path: '/register', name: 'register', component: Register}, - {path: '/passwords/', name: 'passwords', component: Passwords}, - {path: '/passwords/:id', name: 'password', component: PasswordGenerator}, - {path: '/password/reset', name: 'passwordReset', component: PasswordReset}, - {path: '/password/reset/confirm/:uid/:token', name: 'passwordResetConfirm', component: PasswordResetConfirm}, -]; - -const router = new VueRouter({ - routes -}); - -export default router; \ No newline at end of file diff --git a/src/store.js b/src/store.js deleted file mode 100644 index 19fe0cb..0000000 --- a/src/store.js +++ /dev/null @@ -1,146 +0,0 @@ -import Vue from 'vue' -import Vuex from 'vuex' -import Auth from './api/auth'; -import HTTP from './api/http'; -import Storage from './api/storage'; -import Password from './domain/password'; - -Vue.use(Vuex); - -const storage = new Storage(); -const auth = new Auth(storage); -const PasswordsAPI = new HTTP('passwords', storage); - -const defaultPassword = { - id: '', - site: '', - login: '', - uppercase: true, - lowercase: true, - numbers: true, - symbols: true, - length: 12, - counter: 1, -}; - -const state = { - authenticated: auth.isAuthenticated(), - email: '', - passwordStatus: 'CLEAN', - passwords: [], - password: {} -}; - -const mutations = { - LOGOUT(state){ - state.authenticated = false; - }, - USER_AUTHENTICATED(state, user){ - state.authenticated = true; - state.email = user.email; - }, - SET_PASSWORDS(state, passwords){ - state.passwords = passwords; - }, - SET_PASSWORD(state, {password}){ - state.password = password; - }, - DELETE_PASSWORD(state, {id}){ - var passwords = state.passwords; - state.passwords = passwords.filter(password => { - return password.id !== id; - }); - - if (state.password.id === id) { - state.password = state.defaultPassword; - } - }, - PASSWORD_CLEAN(state){ - setTimeout(()=> { - state.passwordStatus = 'CLEAN'; - }, 5000); - }, - CHANGE_PASSWORD_STATUS(state, status){ - state.passwordStatus = status; - }, - SET_DEFAULT_PASSWORD(state){ - state.password = Object.assign({}, defaultPassword) - } -}; - -const actions = { - USER_AUTHENTICATED: ({commit}, user) => commit('USER_AUTHENTICATED', user), - LOGOUT: ({commit}) => { - auth.logout(); - commit('LOGOUT'); - }, - SAVE_OR_UPDATE_PASSWORD: ({commit, state, dispatch}) => { - const password = new Password(state.password); - - if (password.isNewPassword(state.passwords)) { - PasswordsAPI.create(password.json()).then(() => { - commit('CHANGE_PASSWORD_STATUS', 'CREATED'); - commit('PASSWORD_CLEAN'); - dispatch('FETCH_PASSWORDS'); - }) - } else { - PasswordsAPI.update(password.json()).then(() => { - commit('CHANGE_PASSWORD_STATUS', 'UPDATED'); - commit('PASSWORD_CLEAN'); - dispatch('FETCH_PASSWORDS'); - }) - } - }, - REFRESH_TOKEN: ({commit}) => { - if (auth.isAuthenticated()) { - auth.refreshToken().catch(() => { - commit('LOGOUT'); - }); - } - }, - PASSWORD_CHANGE({commit}, {password}){ - commit('SET_PASSWORD', {password}); - }, - PASSWORD_GENERATED: ({commit}) => { - commit('CHANGE_PASSWORD_STATUS', 'DIRTY'); - }, - FETCH_PASSWORDS: ({commit}) => { - if (auth.isAuthenticated()) { - PasswordsAPI.all().then(response => commit('SET_PASSWORDS', response.data.results)); - } - }, - FETCH_PASSWORD: ({commit}, {id}) => { - PasswordsAPI.get({id}).then(response => commit('SET_PASSWORD', {password: response.data})); - }, - DELETE_PASSWORD: ({commit}, {id}) => { - PasswordsAPI.remove({id}).then(()=> { - commit('DELETE_PASSWORD', {id}); - }); - }, - LOAD_DEFAULT_PASSWORD: ({commit})=> { - commit('SET_DEFAULT_PASSWORD'); - } -}; - -const getters = { - passwords: state => state.passwords, - password: state => { - var password = state.password; - if (Object.keys(password).length === 0) { - return state.defaultPassword; - } - return password; - }, - isAuthenticated: state => state.authenticated, - isGuest: state => !state.authenticated, - passwordStatus: state => state.passwordStatus, - email: state => state.email, - baseURL: state => state.baseURL -}; - -export default new Vuex.Store({ - state: Object.assign(state, storage.json()), - getters, - actions, - mutations -}); \ No newline at end of file diff --git a/src/views/Login.vue b/src/views/Login.vue deleted file mode 100644 index 6abbd38..0000000 --- a/src/views/Login.vue +++ /dev/null @@ -1,131 +0,0 @@ - - - diff --git a/src/views/PasswordGenerator.vue b/src/views/PasswordGenerator.vue deleted file mode 100644 index 3376dab..0000000 --- a/src/views/PasswordGenerator.vue +++ /dev/null @@ -1,277 +0,0 @@ - - - - diff --git a/src/views/PasswordReset.vue b/src/views/PasswordReset.vue deleted file mode 100644 index e61be3e..0000000 --- a/src/views/PasswordReset.vue +++ /dev/null @@ -1,80 +0,0 @@ - - - diff --git a/src/views/PasswordResetConfirm.vue b/src/views/PasswordResetConfirm.vue deleted file mode 100644 index 466c172..0000000 --- a/src/views/PasswordResetConfirm.vue +++ /dev/null @@ -1,89 +0,0 @@ - - \ No newline at end of file diff --git a/src/views/Passwords.vue b/src/views/Passwords.vue deleted file mode 100644 index b5cfec1..0000000 --- a/src/views/Passwords.vue +++ /dev/null @@ -1,85 +0,0 @@ - - - diff --git a/src/views/Register.vue b/src/views/Register.vue deleted file mode 100644 index 2f7626a..0000000 --- a/src/views/Register.vue +++ /dev/null @@ -1,108 +0,0 @@ - - - diff --git a/test/_helpers.js b/test/_helpers.js deleted file mode 100644 index 5201289..0000000 --- a/test/_helpers.js +++ /dev/null @@ -1,26 +0,0 @@ -export class LocalStorageMock { - constructor(storage = {}) { - this.storage = storage; - } - - setItem(key, value) { - this.storage[key] = value || ''; - } - - getItem(key) { - return this.storage[key] || null; - } - - removeItem(key) { - delete this.storage[key]; - } - - key(i) { - const keys = Object.keys(this.storage); - return keys[i] || null; - } - - clear() { - this.storage = {}; - } -} diff --git a/test/auth.js b/test/auth.js deleted file mode 100644 index d0c53c2..0000000 --- a/test/auth.js +++ /dev/null @@ -1,133 +0,0 @@ -import test from 'ava'; -import {LocalStorageMock} from './_helpers'; -import Auth from '../src/api/auth'; -import Storage, {LOCAL_STORAGE_KEY} from '../src/api/storage'; -import nock from 'nock'; - - -function AuthFactory(token, localStorage = new LocalStorageMock()) { - const storage = new Storage(localStorage); - storage.saveToken(token); - return new Auth(storage); -} - -test('request token', t => { - const token = '5e0651'; - const user = {email: 'test@example.org', password: 'password'}; - nock('https://lesspass.com').post('/api/tokens/auth/', user).reply(201, {token}); - return Auth._requestToken(user, {baseURL: 'https://lesspass.com'}).then(requestedToken => { - t.is(requestedToken, token); - }); -}); - -test('request new token', t => { - const token = '3e3231'; - const newToken = 'wibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9eyJzdWIiOiIxMjM0NTY3ODkwIi'; - nock('https://lesspass.com').post('/api/tokens/refresh/', {token}).reply(200, {token: newToken}); - return Auth._requestNewToken({token}, {baseURL: 'https://lesspass.com'}).then(refreshedToken => { - t.is(refreshedToken, newToken); - }); -}); - -test('user first connection is guest', t => { - const storage = new Storage(new LocalStorageMock()); - const auth = new Auth(storage); - t.true(auth.isGuest()); -}); - -test('user return on site before token expire', t => { - const auth = AuthFactory('eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmb28iOiJiYXIiLCJpYXQiOjE0MzcwMTg1ODIsImV4cCI6MTc1NzkyODQzNH0.KzEBhVgm3xa51jsBklB0Ib9DDwAkvynOnkwLLJoD5AU'); - t.true(auth.isAuthenticated()); - t.false(auth.isGuest()); -}); - -test('user return on site after token expiration', t => { - const auth = AuthFactory('eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmb28iOiJiYXIiLCJpYXQiOjE0MzcwMTg1ODIsImV4cCI6MTQzNzAxODU4M30.NmMv7sXjM1dW0eALNXud8LoXknZ0mH14GtnFclwJv0s'); - t.false(auth.isAuthenticated()); - t.true(auth.isGuest()); - t.false(auth.user.authenticated); -}); - -test('login save token', t => { - const token = '3e3231'; - const storage = new LocalStorageMock(); - const auth = AuthFactory(token, storage); - const user = { - email: 'test@lesspass.com', - password: 'password' - }; - nock('https://lesspass.com').post('/api/tokens/auth/', user).reply(201, {token}); - return auth.login(user).then(() => { - t.is(JSON.parse(storage.getItem(LOCAL_STORAGE_KEY)).jwt, token); - }); -}); - -test('logout user remove token and unauthenticate user', t => { - const token = '3e3231'; - const storage = new LocalStorageMock(); - const auth = AuthFactory(token, storage); - return auth.logout().then(() => { - t.falsy(storage.getItem(LOCAL_STORAGE_KEY)); - }); -}); - -test('login custom endpoint', t => { - const token = '3e3231'; - const storage = new LocalStorageMock(); - const auth = AuthFactory(token, storage); - const user = { - email: 'test@lesspass.com', - password: 'password' - }; - nock('https://test.example.org').post('/api/tokens/auth/', user).reply(201, {token}); - return auth.login(user, 'https://test.example.org').then(() => { - t.is(JSON.parse(storage.getItem(LOCAL_STORAGE_KEY)).jwt, token); - }); -}); - -test('refresh token', t => { - const token = '3e3231'; - const storage = new LocalStorageMock(); - const auth = AuthFactory(token, storage); - const newToken = 'wibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9eyJzdWIiOiIxMjM0NTY3ODkwIi'; - nock('https://lesspass.com').post('/api/tokens/refresh/', {token}).reply(200, {token: newToken}); - return auth.refreshToken().then(() => { - t.is(JSON.parse(storage.getItem(LOCAL_STORAGE_KEY)).jwt, newToken); - }); -}); - -test('should register a user', t => { - const user = { - email: 'test@lesspass.com', - password: 'password' - }; - const localStorage = new LocalStorageMock(); - const storage = new Storage(localStorage); - const auth = new Auth(storage); - nock('https://lesspass.com').post('/api/auth/register/', user).reply(201, {email: user.email, pk: 1}); - return auth.register(user).then(newUser => { - t.is(newUser.email, user.email); - }); -}); - -test('should reset a password', t => { - var email = 'test@lesspass.com'; - const localStorage = new LocalStorageMock(); - const storage = new Storage(localStorage); - const auth = new Auth(storage); - nock('https://lesspass.com').post('/api/auth/password/reset/', {email}).reply(204); - t.notThrows(auth.resetPassword({email})); -}); - -test('should confirm reset password', t => { - var newPassword ={ - uid: 'MQ', - token: '5g1-2bd69bd6f6dcd73f8124', - new_password: 'password1' - }; - const localStorage = new LocalStorageMock(); - const storage = new Storage(localStorage); - const auth = new Auth(storage); - nock('https://lesspass.com').post('/api/auth/password/reset/confirm/', newPassword).reply(204); - t.notThrows(auth.confirmResetPassword(newPassword)); -}); \ No newline at end of file diff --git a/test/http.js b/test/http.js deleted file mode 100644 index 5ef8f88..0000000 --- a/test/http.js +++ /dev/null @@ -1,54 +0,0 @@ -import test from 'ava'; -import nock from 'nock'; -import HTTP from '../src/api/http'; -import {TOKEN_KEY} from '../src/api/token'; -import {LOCAL_STORAGE_KEY} from '../src/api/storage'; -import Storage from '../src/api/storage'; -import {LocalStorageMock} from './_helpers'; - - -const storage = new Storage(new LocalStorageMock()); -const passwords = new HTTP('passwords', storage); - - -const token = 'ZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFt'; -storage.save({baseURL: 'https://lesspass.com', [TOKEN_KEY]: token}); -/* eslint camelcase: 0 */ -const foo = { - name: 'foo' -}; - -test('should send requests with Authorization header', t => { - const headers = {reqheaders: {Authorization: `JWT ${token}`}}; - nock('https://lesspass.com', headers).get('/api/passwords/').query(true).reply(200, {}); - return passwords.all().then(response => { - t.is(response.status, 200); - }); -}); - -test('should create a foo', t => { - nock('https://lesspass.com').post('/api/passwords/', foo).reply(201, foo); - return passwords.create(foo).then(response => { - const newIncident = response.data; - t.is(foo.login, newIncident.login); - }); -}); - -test('should send requests with Authorization header updated', t => { - const newToken = 'WV9eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRyd'; - storage.save({baseURL: 'https://lesspass.com', [TOKEN_KEY]: newToken}); - const headers = {reqheaders: {Authorization: `JWT ${newToken}`}}; - nock('https://lesspass.com', headers).get('/api/passwords/').query(true).reply(200, {}); - return passwords.all().then(response => { - t.is(response.status, 200); - }); -}); - -test('should get all foo with parameters', t => { - nock('https://lesspass.com').get('/api/passwords/?limit=100&offset=0&search=query&ordering=-created') - .reply(200, {}); - const params = {limit: 100, offset: 0, search: 'query', ordering: '-created'}; - return passwords.all(params).then(response => { - t.is(response.status, 200); - }); -}); diff --git a/test/password.js b/test/password.js deleted file mode 100644 index e9fa44c..0000000 --- a/test/password.js +++ /dev/null @@ -1,65 +0,0 @@ -import test from 'ava'; -import Password from '../src/domain/password'; - -test('password is new if no passwords', t => { - const password = new Password({site: 'example.org'}); - t.true(password.isNewPassword([])) -}); - -test('password is new if no site matching', t => { - const password = new Password({site: 'example.org'}); - t.true(password.isNewPassword([{site: 'ubuntu.org'}])) -}); - -test('password is new if site match but no login', t => { - const password = new Password({site: 'example.org', login: 'test'}); - t.true(password.isNewPassword([{site: 'example.org', login: 'test@example.org'}])) -}); - -test('password is not new if site and login matching', t => { - const password = new Password({site: 'example.org', login: 'test'}); - t.false(password.isNewPassword([{site: 'example.org', login: 'test'}])) -}); - -test('password options default', t => { - const password = new Password({ - site: 'example.org', - login: 'test', - uppercase: true, - lowercase: true, - numbers: true, - symbols: true, - length: 12, - counter: 1, - }); - t.deepEqual(password.options, { - uppercase: true, - lowercase: true, - numbers: true, - symbols: true, - length: 12, - counter: 1, - }) -}); - -test('password options', t => { - const password = new Password({ - site: 'example.org', - login: 'test', - uppercase: false, - lowercase: true, - numbers: false, - symbols: true, - length: 14, - counter: 3, - }); - t.deepEqual(password.options, { - uppercase: false, - lowercase: true, - numbers: false, - symbols: true, - length: 14, - counter: 3, - }) -}); - diff --git a/test/storage.js b/test/storage.js deleted file mode 100644 index 1ed0d3b..0000000 --- a/test/storage.js +++ /dev/null @@ -1,39 +0,0 @@ -import test from 'ava'; -import {LocalStorageMock} from './_helpers'; -import Storage, {LOCAL_STORAGE_KEY} from '../src/api/storage'; - -const localStorage = new LocalStorageMock(); -const storage = new Storage(localStorage); - -test('get default storage', t => { - t.is(storage.json().baseURL, 'https://lesspass.com'); -}); - -test('get storage saved in local storage', t => { - localStorage.setItem(LOCAL_STORAGE_KEY, JSON.stringify({baseURL: 'https://example.org'})); - t.is(storage.json().baseURL, 'https://example.org'); -}); - -test('save storage in local storage', t => { - storage.save({baseURL: 'https://example.org'}); - t.is(localStorage.getItem(LOCAL_STORAGE_KEY), '{"baseURL":"https://example.org"}'); -}); - -test('save storage in local storage', t => { - storage.save({baseURL: 'https://example.org'}); - t.is(localStorage.getItem(LOCAL_STORAGE_KEY), '{"baseURL":"https://example.org"}'); -}); - -test('save storage in local storage merge', t => { - localStorage.clear(); - storage.save({a: 'a'}); - storage.save({b: 'b'}); - t.is(localStorage.getItem(LOCAL_STORAGE_KEY), '{"a":"a","b":"b"}'); -}); - -test('storage clear local storage', t => { - storage.save({a: 'a'}); - storage.clear(); - t.is(localStorage.getItem(LOCAL_STORAGE_KEY), null); -}); - diff --git a/test/token.js b/test/token.js deleted file mode 100644 index 9fa12de..0000000 --- a/test/token.js +++ /dev/null @@ -1,29 +0,0 @@ -import test from 'ava'; -import moment from 'moment'; -import Token from '../src/api/token'; - -test('token is near the end', t => { - const token = new Token('eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmb28iOiJiYXIiLCJpYXQiOjE0MzcwMTg1ODIsImV4cCI6MTQzNzAxODU4M30.NmMv7sXjM1dW0eALNXud8LoXknZ0mH14GtnFclwJv0s'); - t.true(token.expiresIn(15, 'minutes', moment(1437018283 * 1000))); - t.false(token.expiresIn(5, 'minutes', moment(1437018283 * 1000))); -}); - -test('token still valid', t => { - const token = new Token('eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmb28iOiJiYXIiLCJpYXQiOjE0MzcwMTg1ODIsImV4cCI6MTc1NzkyODQzNH0.KzEBhVgm3xa51jsBklB0Ib9DDwAkvynOnkwLLJoD5AU'); - t.true(token.stillValid()); -}); - -test('token still valid check payload date', t => { - const token = new Token('eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmb28iOiJiYXIiLCJpYXQiOjE0MzcwMTg1ODIsImV4cCI6MTQzNzAxODU4M30.NmMv7sXjM1dW0eALNXud8LoXknZ0mH14GtnFclwJv0s'); - t.true(token.stillValid(moment(1437018283 * 1000))); -}); - -test('token expired', t => { - const token = new Token('eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmb28iOiJiYXIiLCJpYXQiOjE0MzcwMTg1ODIsImV4cCI6MTQzNzAxODU4M30.NmMv7sXjM1dW0eALNXud8LoXknZ0mH14GtnFclwJv0s'); - t.false(token.stillValid()); -}); - -test('token invalid does not raise an error', t => { - const token = new Token('eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9'); - t.false(token.stillValid()); -}); diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index f5cf1e3..0000000 --- a/webpack.config.js +++ /dev/null @@ -1,68 +0,0 @@ -var webpack = require('webpack'); -var path = require('path'); -var ExtractTextPlugin = require('extract-text-webpack-plugin'); - -module.exports = { - entry: { - bundle: './src/main.js', - lesspass: './src/lesspass.js', - }, - output: { - path: path.resolve(__dirname, './dist'), - publicPath: '/dist/', - filename: '[name].js' - }, - resolve: { - extensions: ['', '.js', '.vue'], - fallback: [path.join(__dirname, 'node_modules')], - alias: { - src: path.resolve(__dirname, './src'), - jquery: 'jquery/src/jquery' - } - }, - resolveLoader: { - root: path.join(__dirname, 'node_modules') - }, - module: { - loaders: [ - {test: /\.vue$/, loader: 'vue-loader'}, - {test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader'}, - {test: /\.(png|jpg|jpeg|gif)$/, loader: 'file-loader?name=[name].[ext]',}, - {test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader')}, - {test: /\.woff(\?v=\d+\.\d+\.\d+)?$/, loader: "url-loader?limit=8192&mimetype=application/font-woff"}, - {test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/, loader: "url-loader?limit=8192&mimetype=application/font-woff"}, - {test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, loader: "url-loader?limit=8192&mimetype=application/octet-stream"}, - {test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, loader: "file-loader"}, - {test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, loader: "url-loader?limit=8192&mimetype=image/svg+xml"}, - ] - }, - plugins: [ - new ExtractTextPlugin('styles.css'), - new webpack.ProvidePlugin({ - $: 'jquery', - jQuery: 'jquery', - 'window.jQuery': 'jquery', - 'window.Tether': 'tether' - }) - ], - devtool: '#eval-source-map' -}; - -if (process.env.NODE_ENV === 'production') { - module.exports.devtool = false; - module.exports.plugins = (module.exports.plugins || []).concat([ - new webpack.optimize.DedupePlugin(), - new webpack.optimize.OccurrenceOrderPlugin(), - new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/), - new webpack.optimize.UglifyJsPlugin({ - compress: { - warnings: true - }, - output: { - comments: false - }, - sourceMap: false - }) - ]); -} -