vue-easteregg
Version:
Easter egg for vue js apps
1 lines • 122 kB
Plain Text
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("lodash"),require("dexie")):"function"==typeof define&&define.amd?define(["lodash","dexie"],n):"object"==typeof exports?exports.VueIdb=n(require("lodash"),require("dexie")):t.VueIdb=n(t.lodash,t.dexie)}(this,function(t,n){return function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=96)}([function(t,n,e){var r=e(2),i=e(22),o=e(12),u=e(13),c=e(19),a=function(t,n,e){var f,s,l,h,v=t&a.F,p=t&a.G,d=t&a.S,y=t&a.P,g=t&a.B,_=p?r:d?r[n]||(r[n]={}):(r[n]||{}).prototype,m=p?i:i[n]||(i[n]={}),S=m.prototype||(m.prototype={});p&&(e=n);for(f in e)s=!v&&_&&void 0!==_[f],l=(s?_:e)[f],h=g&&s?c(l,r):y&&"function"==typeof l?c(Function.call,l):l,_&&u(_,f,l,t&a.U),m[f]!=l&&o(m,f,h),y&&S[f]!=l&&(S[f]=l)};r.core=i,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(62)("wks"),i=e(41),o=e(2).Symbol,u="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=r},function(t,n,e){t.exports=!e(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(1),i=e(109),o=e(26),u=Object.defineProperty;n.f=e(6)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(25),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n,e){var r=e(23);t.exports=function(t){return Object(r(t))}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(7),i=e(37);t.exports=e(6)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(2),i=e(12),o=e(11),u=e(41)("src"),c=Function.toString,a=(""+c).split("toString");e(22).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,e,c){var f="function"==typeof e;f&&(o(e,"name")||i(e,"name",n)),t[n]!==e&&(f&&(o(e,u)||i(e,u,t[n]?""+t[n]:a.join(String(n)))),t===r?t[n]=e:c?t[n]?t[n]=e:i(t,n,e):(delete t[n],i(t,n,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(t,n,e){var r=e(0),i=e(3),o=e(23),u=/"/g,c=function(t,n,e,r){var i=String(o(t)),c="<"+n;return""!==e&&(c+=" "+e+'="'+String(r).replace(u,""")+'"'),c+">"+i+"</"+n+">"};t.exports=function(t,n){var e={};e[t]=n(c),r(r.P+r.F*i(function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}),"String",e)}},function(t,n,e){var r=e(48),i=e(23);t.exports=function(t){return r(i(t))}},function(t,n,e){var r=e(49),i=e(37),o=e(15),u=e(26),c=e(11),a=e(109),f=Object.getOwnPropertyDescriptor;n.f=e(6)?f:function(t,n){if(t=o(t),n=u(n,!0),a)try{return f(t,n)}catch(t){}if(c(t,n))return i(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(11),i=e(9),o=e(83)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(10);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){"use strict";var r=e(3);t.exports=function(t,n){return!!t&&r(function(){n?t.call(null,function(){},1):t.call(null)})}},function(t,n,e){var r=e(19),i=e(48),o=e(9),u=e(8),c=e(68);t.exports=function(t,n){var e=1==t,a=2==t,f=3==t,s=4==t,l=6==t,h=5==t||l,v=n||c;return function(n,c,p){for(var d,y,g=o(n),_=i(g),m=r(c,p,3),S=u(_.length),b=0,E=e?v(n,S):a?v(n,0):void 0;S>b;b++)if((h||b in _)&&(d=_[b],y=m(d,b,g),t))if(e)E[b]=y;else if(y)switch(t){case 3:return!0;case 5:return d;case 6:return b;case 2:E.push(d)}else if(s)return!1;return l?-1:f||s?s:E}}},function(t,n){var e=t.exports={version:"2.5.0"};"number"==typeof __e&&(__e=e)},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(0),i=e(22),o=e(3);t.exports=function(t,n){var e=(i.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*o(function(){e(1)}),"Object",u)}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(129),i=e(0),o=e(62)("metadata"),u=o.store||(o.store=new(e(132))),c=function(t,n,e){var i=u.get(t);if(!i){if(!e)return;u.set(t,i=new r)}var o=i.get(n);if(!o){if(!e)return;i.set(n,o=new r)}return o},a=function(t,n,e){var r=c(n,e,!1);return void 0!==r&&r.has(t)},f=function(t,n,e){var r=c(n,e,!1);return void 0===r?void 0:r.get(t)},s=function(t,n,e,r){c(e,r,!0).set(t,n)},l=function(t,n){var e=c(t,n,!1),r=[];return e&&e.forEach(function(t,n){r.push(n)}),r},h=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},v=function(t){i(i.S,"Reflect",t)};t.exports={store:u,map:c,has:a,get:f,set:s,keys:l,key:h,exp:v}},function(t,n,e){"use strict";if(e(6)){var r=e(34),i=e(2),o=e(3),u=e(0),c=e(64),a=e(89),f=e(19),s=e(32),l=e(37),h=e(12),v=e(38),p=e(25),d=e(8),y=e(127),g=e(40),_=e(26),m=e(11),S=e(47),b=e(4),E=e(9),w=e(75),x=e(35),O=e(17),P=e(36).f,T=e(91),A=e(41),I=e(5),M=e(21),L=e(50),F=e(63),j=e(92),N=e(43),D=e(57),k=e(39),C=e(67),R=e(101),B=e(7),U=e(16),G=B.f,V=U.f,W=i.RangeError,z=i.TypeError,Y=i.Uint8Array,K=Array.prototype,H=a.ArrayBuffer,q=a.DataView,J=M(0),X=M(2),$=M(3),Z=M(4),Q=M(5),tt=M(6),nt=L(!0),et=L(!1),rt=j.values,it=j.keys,ot=j.entries,ut=K.lastIndexOf,ct=K.reduce,at=K.reduceRight,ft=K.join,st=K.sort,lt=K.slice,ht=K.toString,vt=K.toLocaleString,pt=I("iterator"),dt=I("toStringTag"),yt=A("typed_constructor"),gt=A("def_constructor"),_t=c.CONSTR,mt=c.TYPED,St=c.VIEW,bt=M(1,function(t,n){return Pt(F(t,t[gt]),n)}),Et=o(function(){return 1===new Y(new Uint16Array([1]).buffer)[0]}),wt=!!Y&&!!Y.prototype.set&&o(function(){new Y(1).set({})}),xt=function(t,n){var e=p(t);if(e<0||e%n)throw W("Wrong offset!");return e},Ot=function(t){if(b(t)&&mt in t)return t;throw z(t+" is not a typed array!")},Pt=function(t,n){if(!(b(t)&&yt in t))throw z("It is not a typed array constructor!");return new t(n)},Tt=function(t,n){return At(F(t,t[gt]),n)},At=function(t,n){for(var e=0,r=n.length,i=Pt(t,r);r>e;)i[e]=n[e++];return i},It=function(t,n,e){G(t,n,{get:function(){return this._d[e]}})},Mt=function(t){var n,e,r,i,o,u,c=E(t),a=arguments.length,s=a>1?arguments[1]:void 0,l=void 0!==s,h=T(c);if(void 0!=h&&!w(h)){for(u=h.call(c),r=[],n=0;!(o=u.next()).done;n++)r.push(o.value);c=r}for(l&&a>2&&(s=f(s,arguments[2],2)),n=0,e=d(c.length),i=Pt(this,e);e>n;n++)i[n]=l?s(c[n],n):c[n];return i},Lt=function(){for(var t=0,n=arguments.length,e=Pt(this,n);n>t;)e[t]=arguments[t++];return e},Ft=!!Y&&o(function(){vt.call(new Y(1))}),jt=function(){return vt.apply(Ft?lt.call(Ot(this)):Ot(this),arguments)},Nt={copyWithin:function(t,n){return R.call(Ot(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return C.apply(Ot(this),arguments)},filter:function(t){return Tt(this,X(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){J(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(Ot(this),arguments)},lastIndexOf:function(t){return ut.apply(Ot(this),arguments)},map:function(t){return bt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ct.apply(Ot(this),arguments)},reduceRight:function(t){return at.apply(Ot(this),arguments)},reverse:function(){for(var t,n=this,e=Ot(n).length,r=Math.floor(e/2),i=0;i<r;)t=n[i],n[i++]=n[--e],n[e]=t;return n},some:function(t){return $(Ot(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return st.call(Ot(this),t)},subarray:function(t,n){var e=Ot(this),r=e.length,i=g(t,r);return new(F(e,e[gt]))(e.buffer,e.byteOffset+i*e.BYTES_PER_ELEMENT,d((void 0===n?r:g(n,r))-i))}},Dt=function(t,n){return Tt(this,lt.call(Ot(this),t,n))},kt=function(t){Ot(this);var n=xt(arguments[1],1),e=this.length,r=E(t),i=d(r.length),o=0;if(i+n>e)throw W("Wrong length!");for(;o<i;)this[n+o]=r[o++]},Ct={entries:function(){return ot.call(Ot(this))},keys:function(){return it.call(Ot(this))},values:function(){return rt.call(Ot(this))}},Rt=function(t,n){return b(t)&&t[mt]&&"symbol"!=typeof n&&n in t&&String(+n)==String(n)},Bt=function(t,n){return Rt(t,n=_(n,!0))?l(2,t[n]):V(t,n)},Ut=function(t,n,e){return!(Rt(t,n=_(n,!0))&&b(e)&&m(e,"value"))||m(e,"get")||m(e,"set")||e.configurable||m(e,"writable")&&!e.writable||m(e,"enumerable")&&!e.enumerable?G(t,n,e):(t[n]=e.value,t)};_t||(U.f=Bt,B.f=Ut),u(u.S+u.F*!_t,"Object",{getOwnPropertyDescriptor:Bt,defineProperty:Ut}),o(function(){ht.call({})})&&(ht=vt=function(){return ft.call(this)});var Gt=v({},Nt);v(Gt,Ct),h(Gt,pt,Ct.values),v(Gt,{slice:Dt,set:kt,constructor:function(){},toString:ht,toLocaleString:jt}),It(Gt,"buffer","b"),It(Gt,"byteOffset","o"),It(Gt,"byteLength","l"),It(Gt,"length","e"),G(Gt,dt,{get:function(){return this[mt]}}),t.exports=function(t,n,e,a){a=!!a;var f=t+(a?"Clamped":"")+"Array",l="get"+t,v="set"+t,p=i[f],g=p||{},_=p&&O(p),m=!p||!c.ABV,E={},w=p&&p.prototype,T=function(t,e){var r=t._d;return r.v[l](e*n+r.o,Et)},A=function(t,e,r){var i=t._d;a&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[v](e*n+i.o,r,Et)},I=function(t,n){G(t,n,{get:function(){return T(this,n)},set:function(t){return A(this,n,t)},enumerable:!0})};m?(p=e(function(t,e,r,i){s(t,p,f,"_d");var o,u,c,a,l=0,v=0;if(b(e)){if(!(e instanceof H||"ArrayBuffer"==(a=S(e))||"SharedArrayBuffer"==a))return mt in e?At(p,e):Mt.call(p,e);o=e,v=xt(r,n);var g=e.byteLength;if(void 0===i){if(g%n)throw W("Wrong length!");if((u=g-v)<0)throw W("Wrong length!")}else if((u=d(i)*n)+v>g)throw W("Wrong length!");c=u/n}else c=y(e),u=c*n,o=new H(u);for(h(t,"_d",{b:o,o:v,l:u,e:c,v:new q(o)});l<c;)I(t,l++)}),w=p.prototype=x(Gt),h(w,"constructor",p)):o(function(){p(1)})&&o(function(){new p(-1)})&&D(function(t){new p,new p(null),new p(1.5),new p(t)},!0)||(p=e(function(t,e,r,i){s(t,p,f);var o;return b(e)?e instanceof H||"ArrayBuffer"==(o=S(e))||"SharedArrayBuffer"==o?void 0!==i?new g(e,xt(r,n),i):void 0!==r?new g(e,xt(r,n)):new g(e):mt in e?At(p,e):Mt.call(p,e):new g(y(e))}),J(_!==Function.prototype?P(g).concat(P(_)):P(g),function(t){t in p||h(p,t,g[t])}),p.prototype=w,r||(w.constructor=p));var M=w[pt],L=!!M&&("values"==M.name||void 0==M.name),F=Ct.values;h(p,yt,!0),h(w,mt,f),h(w,St,!0),h(w,gt,p),(a?new p(1)[dt]==f:dt in w)||G(w,dt,{get:function(){return f}}),E[f]=p,u(u.G+u.W+u.F*(p!=g),E),u(u.S,f,{BYTES_PER_ELEMENT:n}),u(u.S+u.F*o(function(){g.of.call(p,1)}),f,{from:Mt,of:Lt}),"BYTES_PER_ELEMENT"in w||h(w,"BYTES_PER_ELEMENT",n),u(u.P,f,Nt),k(f),u(u.P+u.F*wt,f,{set:kt}),u(u.P+u.F*!L,f,Ct),r||w.toString==ht||(w.toString=ht),u(u.P+u.F*o(function(){new p(1).slice()}),f,{slice:Dt}),u(u.P+u.F*(o(function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()})||!o(function(){w.toLocaleString.call([1,2])})),f,{toLocaleString:jt}),N[f]=L?M:F,r||L||h(w,pt,F)}}else t.exports=function(){}},function(t,n,e){var r=e(5)("unscopables"),i=Array.prototype;void 0==i[r]&&e(12)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,n,e){var r=e(41)("meta"),i=e(4),o=e(11),u=e(7).f,c=0,a=Object.isExtensible||function(){return!0},f=!e(3)(function(){return a(Object.preventExtensions({}))}),s=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!a(t))return"F";if(!n)return"E";s(t)}return t[r].i},h=function(t,n){if(!o(t,r)){if(!a(t))return!0;if(!n)return!1;s(t)}return t[r].w},v=function(t){return f&&p.NEED&&a(t)&&!o(t,r)&&s(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:h,onFreeze:v}},function(t,n,e){var r=e(119),i=e(71);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){var r=e(19),i=e(111),o=e(75),u=e(1),c=e(8),a=e(91),f={},s={},n=t.exports=function(t,n,e,l,h){var v,p,d,y,g=h?function(){return t}:a(t),_=r(e,l,n?2:1),m=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(v=c(t.length);v>m;m++)if((y=n?_(u(p=t[m])[0],p[1]):_(t[m]))===f||y===s)return y}else for(d=g.call(t);!(p=d.next()).done;)if((y=i(d,_,p.value,n))===f||y===s)return y};n.BREAK=f,n.RETURN=s},function(t,n){t.exports=!1},function(t,n,e){var r=e(1),i=e(117),o=e(71),u=e(83)("IE_PROTO"),c=function(){},a=function(){var t,n=e(70)("iframe"),r=o.length;for(n.style.display="none",e(73).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[o[r]];return a()};t.exports=Object.create||function(t,n){var e;return null!==t?(c.prototype=r(t),e=new c,c.prototype=null,e[u]=t):e=a(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(119),i=e(71).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(13);t.exports=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}},function(t,n,e){"use strict";var r=e(2),i=e(7),o=e(6),u=e(5)("species");t.exports=function(t){var n=r[t];o&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,e){var r=e(25),i=Math.max,o=Math.min;t.exports=function(t,n){return t=r(t),t<0?i(t+n,0):o(t,n)}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){"use strict";function r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0}),n.VIDB=n.isEmpty=n.jsUcfirst=n.uuid=n.arrayMax=n.deepFreeze=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=e(93),u=function(t){return t&&t.__esModule?t:{default:t}}(o),c=n.deepFreeze=function t(n){return Object.getOwnPropertyNames(n).forEach(function(e){var r=n[e];"object"!=(void 0===r?"undefined":i(r))||null===r||Object.isFrozen(r)||t(r)}),Object.freeze(n)},a=(n.arrayMax=function(t){for(var n=t.length,e=-1/0;n--;)Number(t[n])>e&&(e=Number(t[n]));return e},n.uuid=function(){var t=(new Date).getTime();return window.performance&&"function"==typeof window.performance.now&&(t+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var e=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==n?e:3&e|8).toString(16)})},n.jsUcfirst=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},n.isEmpty=function(t){return u.default.isObject(t)?!u.default.some(t,function(t,n){return void 0!==t&&String(t).length}):u.default.isEmpty(t)},n.VIDB=function t(){r(this,t)});a.TYPE={LIST:"list",KEY_VALUE:"keyvalue",BIG_LIST:"biglist"},c(a)},function(t,n){t.exports={}},function(t,n,e){var r=e(7).f,i=e(11),o=e(5)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n,e){var r=e(0),i=e(23),o=e(3),u=e(87),c="["+u+"]",a="
",f=RegExp("^"+c+c+"*"),s=RegExp(c+c+"*$"),l=function(t,n,e){var i={},c=o(function(){return!!u[t]()||a[t]()!=a}),f=i[t]=c?n(h):u[t];e&&(i[e]=f),r(r.P+r.F*c,"String",i)},h=l.trim=function(t,n){return t=String(i(t)),1&n&&(t=t.replace(f,"")),2&n&&(t=t.replace(s,"")),t};t.exports=l},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},function(t,n,e){var r=e(18),i=e(5)("toStringTag"),o="Arguments"==r(function(){return arguments}()),u=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=u(n=Object(t),i))?e:o?r(n):"Object"==(c=r(n))&&"function"==typeof n.callee?"Arguments":c}},function(t,n,e){var r=e(18);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(15),i=e(8),o=e(40);t.exports=function(t){return function(n,e,u){var c,a=r(n),f=i(a.length),s=o(u,f);if(t&&e!=e){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===e)return t||s||0;return!t&&-1}}},function(t,n,e){"use strict";var r=e(2),i=e(0),o=e(13),u=e(38),c=e(30),a=e(33),f=e(32),s=e(4),l=e(3),h=e(57),v=e(44),p=e(74);t.exports=function(t,n,e,d,y,g){var _=r[t],m=_,S=y?"set":"add",b=m&&m.prototype,E={},w=function(t){var n=b[t];o(b,t,"delete"==t?function(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!s(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})};if("function"==typeof m&&(g||b.forEach&&!l(function(){(new m).entries().next()}))){var x=new m,O=x[S](g?{}:-0,1)!=x,P=l(function(){x.has(1)}),T=h(function(t){new m(t)}),A=!g&&l(function(){for(var t=new m,n=5;n--;)t[S](n,n);return!t.has(-0)});T||(m=n(function(n,e){f(n,m,t);var r=p(new _,n,m);return void 0!=e&&a(e,y,r[S],r),r}),m.prototype=b,b.constructor=m),(P||A)&&(w("delete"),w("has"),y&&w("get")),(A||O)&&w(S),g&&b.clear&&delete b.clear}else m=d.getConstructor(n,t,y,S),u(m.prototype,e),c.NEED=!0;return v(m,t),E[t]=m,i(i.G+i.W+i.F*(m!=_),E),g||d.setStrong(m,t,y),m}},function(t,n,e){"use strict";var r=e(12),i=e(13),o=e(3),u=e(23),c=e(5);t.exports=function(t,n,e){var a=c(t),f=e(u,a,""[t]),s=f[0],l=f[1];o(function(){var n={};return n[a]=function(){return 7},7!=""[t](n)})&&(i(String.prototype,t,s),r(RegExp.prototype,a,2==n?function(t,n){return l.call(t,this,n)}:function(t){return l.call(t,this)}))}},function(t,n,e){"use strict";var r=e(1);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){var r=e(18);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(4),i=e(18),o=e(5)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(t))}},function(t,n,e){var r=e(5)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o=[7],u=o[r]();u.next=function(){return{done:e=!0}},o[r]=function(){return u},t(o)}catch(t){}return e}},function(t,n,e){"use strict";t.exports=e(34)||!e(3)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete e(2)[t]})},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){"use strict";var r=e(0),i=e(10),o=e(19),u=e(33);t.exports=function(t){r(r.S,t,{from:function(t){var n,e,r,c,a=arguments[1];return i(this),n=void 0!==a,n&&i(a),void 0==t?new this:(e=[],n?(r=0,c=o(a,arguments[2],2),u(t,!1,function(t){e.push(c(t,r++))})):u(t,!1,e.push,e),new this(e))}})}},function(t,n,e){"use strict";var r=e(0);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,n=Array(t);t--;)n[t]=arguments[t];return new this(n)}})}},function(t,n,e){var r=e(2),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,n,e){var r=e(1),i=e(10),o=e(5)("species");t.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||void 0==(e=r(u)[o])?n:i(e)}},function(t,n,e){for(var r,i=e(2),o=e(12),u=e(41),c=u("typed_array"),a=u("view"),f=!(!i.ArrayBuffer||!i.DataView),s=f,l=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=i[h[l++]])?(o(r.prototype,c,!0),o(r.prototype,a,!0)):s=!1;t.exports={ABV:f,CONSTR:s,TYPED:c,VIEW:a}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(t){return"function"==typeof t?t():t},o=function(t){return function(n){return!t||t==n}},u=function(t){return!isNaN(parseInt(t,10))&&isFinite(t)},c=function(t){return t&&(t=(""+t).toLowerCase()),function(n){return!t||!!n&&-1!==String(n).toLowerCase().indexOf(t)}},a=function(t){return function(n){return Boolean(n)===t}},f=function t(n){return function(e){var u=void 0,f=void 0,s=void 0;for(var l in n){if(!e.hasOwnProperty(l)&&!Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),l))return!1;switch(f=i(e[l]),s=r(n[l]),u=!1,s){case"boolean":u=a(n[l])(f);break;case"string":u=c(n[l])(f);break;case"object":u=t(n[l])(f);break;default:u=o(n[l])(f)}if(!u)return!1}return!0}};n.default=function(t,n){var e=void 0===n?"undefined":r(n);if(!t)return t;switch(e){case"boolean":return t.filter(a(n));case"string":return u(n)?t.filter(o(n)):t.filter(c(n));case"object":return t.filter(f(n));default:return t.filter(o(n))}}},function(t,n,e){"use strict";function r(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n<t.length;n++)e[n]=t[n];return e}return Array.from(t)}Object.defineProperty(n,"__esModule",{value:!0});var i=function(t,n,e){var r=String(t).toLowerCase(),i=String(n).toLowerCase();return r<i?e?1:-1:r>i?e?-1:1:0};n.default=function(t,n,e){var o=void 0,u=void 0,c={},a=t?[].concat(r(t)):[];if(!n)return a;if("string"!=typeof n)a.sort(function(t,n){return i(t,n,e)});else{o=n.split(",");for(u in o)e&&"boolean"==typeof e[u]?c[u]=e[u]:c[u]=e;a.sort(function(t,n){for(var e in o)return u=o[e],i(t[u],n[u],c[e]);return 0})}return a}},function(t,n,e){"use strict";var r=e(9),i=e(40),o=e(8);t.exports=function(t){for(var n=r(this),e=o(n.length),u=arguments.length,c=i(u>1?arguments[1]:void 0,e),a=u>2?arguments[2]:void 0,f=void 0===a?e:i(a,e);f>c;)n[c++]=t;return n}},function(t,n,e){var r=e(149);t.exports=function(t,n){return new(r(t))(n)}},function(t,n,e){"use strict";var r=e(7),i=e(37);t.exports=function(t,n,e){n in t?r.f(t,n,i(0,e)):t[n]=e}},function(t,n,e){var r=e(4),i=e(2).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(5)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,!"/./"[t](n)}catch(t){}}return!0}},function(t,n,e){var r=e(2).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(4),i=e(82).set;t.exports=function(t,n,e){var o,u=n.constructor;return u!==e&&"function"==typeof u&&(o=u.prototype)!==e.prototype&&r(o)&&i&&i(t,o),t}},function(t,n,e){var r=e(43),i=e(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,n,e){"use strict";var r=e(35),i=e(37),o=e(44),u={};e(12)(u,e(5)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:i(1,e)}),o(t,n+" Iterator")}},function(t,n,e){"use strict";var r=e(34),i=e(0),o=e(13),u=e(12),c=e(11),a=e(43),f=e(76),s=e(44),l=e(17),h=e(5)("iterator"),v=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,n,e,d,y,g,_){f(e,n,d);var m,S,b,E=function(t){if(!v&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},w=n+" Iterator",x="values"==y,O=!1,P=t.prototype,T=P[h]||P["@@iterator"]||y&&P[y],A=T||E(y),I=y?x?E("entries"):A:void 0,M="Array"==n?P.entries||T:T;if(M&&(b=l(M.call(new t)))!==Object.prototype&&b.next&&(s(b,w,!0),r||c(b,h)||u(b,h,p)),x&&T&&"values"!==T.name&&(O=!0,A=function(){return T.call(this)}),r&&!_||!v&&!O&&P[h]||u(P,h,A),a[n]=A,a[w]=p,y)if(m={values:x?A:E("values"),keys:g?A:E("keys"),entries:I},_)for(S in m)S in P||o(P,S,m[S]);else i(i.P+i.F*(v||O),n,m);return m}},function(t,n){var e=Math.expm1;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:e},function(t,n){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,n,e){var r=e(2),i=e(88).set,o=r.MutationObserver||r.WebKitMutationObserver,u=r.process,c=r.Promise,a="process"==e(18)(u);t.exports=function(){var t,n,e,f=function(){var r,i;for(a&&(r=u.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(a)e=function(){u.nextTick(f)};else if(o){var s=!0,l=document.createTextNode("");new o(f).observe(l,{characterData:!0}),e=function(){l.data=s=!s}}else if(c&&c.resolve){var h=c.resolve();e=function(){h.then(f)}}else e=function(){i.call(r,f)};return function(r){var i={fn:r,next:void 0};n&&(n.next=i),t||(t=i,e()),n=i}}},function(t,n,e){"use strict";function r(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=i(n),this.reject=i(e)}var i=e(10);t.exports.f=function(t){return new r(t)}},function(t,n,e){var r=e(4),i=e(1),o=function(t,n){if(i(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e(19)(Function.call,e(16).f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:o}},function(t,n,e){var r=e(62)("keys"),i=e(41);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n,e){var r=e(25),i=e(23);t.exports=function(t){return function(n,e){var o,u,c=String(i(n)),a=r(e),f=c.length;return a<0||a>=f?t?"":void 0:(o=c.charCodeAt(a),o<55296||o>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):o:t?c.slice(a,a+2):u-56320+(o-55296<<10)+65536)}}},function(t,n,e){var r=e(56),i=e(23);t.exports=function(t,n,e){if(r(n))throw TypeError("String#"+e+" doesn't accept regex!");return String(i(t))}},function(t,n,e){"use strict";var r=e(25),i=e(23);t.exports=function(t){var n=String(i(this)),e="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(n+=n))1&o&&(e+=n);return e}},function(t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,n,e){var r,i,o,u=e(19),c=e(54),a=e(73),f=e(70),s=e(2),l=s.process,h=s.setImmediate,v=s.clearImmediate,p=s.MessageChannel,d=s.Dispatch,y=0,g={},_=function(){var t=+this;if(g.hasOwnProperty(t)){var n=g[t];delete g[t],n()}},m=function(t){_.call(t.data)};h&&v||(h=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return g[++y]=function(){c("function"==typeof t?t:Function(t),n)},r(y),y},v=function(t){delete g[t]},"process"==e(18)(l)?r=function(t){l.nextTick(u(_,t,1))}:d&&d.now?r=function(t){d.now(u(_,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=m,r=u(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(r=function(t){s.postMessage(t+"","*")},s.addEventListener("message",m,!1)):r="onreadystatechange"in f("script")?function(t){a.appendChild(f("script")).onreadystatechange=function(){a.removeChild(this),_.call(t)}}:function(t){setTimeout(u(_,t,1),0)}),t.exports={set:h,clear:v}},function(t,n,e){"use strict";function r(t,n,e){var r,i,o,u=Array(e),c=8*e-n-1,a=(1<<c)-1,f=a>>1,s=23===n?R(2,-24)-R(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for(t=C(t),t!=t||t===D?(i=t!=t?1:0,r=a):(r=B(U(t)/G),t*(o=R(2,-r))<1&&(r--,o*=2),t+=r+f>=1?s/o:s*R(2,1-f),t*o>=2&&(r++,o/=2),r+f>=a?(i=0,r=a):r+f>=1?(i=(t*o-1)*R(2,n),r+=f):(i=t*R(2,f-1)*R(2,n),r=0));n>=8;u[l++]=255&i,i/=256,n-=8);for(r=r<<n|i,c+=n;c>0;u[l++]=255&r,r/=256,c-=8);return u[--l]|=128*h,u}function i(t,n,e){var r,i=8*e-n-1,o=(1<<i)-1,u=o>>1,c=i-7,a=e-1,f=t[a--],s=127&f;for(f>>=7;c>0;s=256*s+t[a],a--,c-=8);for(r=s&(1<<-c)-1,s>>=-c,c+=n;c>0;r=256*r+t[a],a--,c-=8);if(0===s)s=1-u;else{if(s===o)return r?NaN:f?-D:D;r+=R(2,n),s-=u}return(f?-1:1)*r*R(2,s-n)}function o(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function u(t){return[255&t]}function c(t){return[255&t,t>>8&255]}function a(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function f(t){return r(t,52,8)}function s(t){return r(t,23,4)}function l(t,n,e){P(t[I],n,{get:function(){return this[e]}})}function h(t,n,e,r){var i=+e,o=x(i);if(o+n>t[W])throw N(M);var u=t[V]._b,c=o+t[z],a=u.slice(c,c+n);return r?a:a.reverse()}function v(t,n,e,r,i,o){var u=+e,c=x(u);if(c+n>t[W])throw N(M);for(var a=t[V]._b,f=c+t[z],s=r(+i),l=0;l<n;l++)a[f+l]=s[o?l:n-l-1]}var p=e(2),d=e(6),y=e(34),g=e(64),_=e(12),m=e(38),S=e(3),b=e(32),E=e(25),w=e(8),x=e(127),O=e(36).f,P=e(7).f,T=e(67),A=e(44),I="prototype",M="Wrong index!",L=p.ArrayBuffer,F=p.DataView,j=p.Math,N=p.RangeError,D=p.Infinity,k=L,C=j.abs,R=j.pow,B=j.floor,U=j.log,G=j.LN2,V=d?"_b":"buffer",W=d?"_l":"byteLength",z=d?"_o":"byteOffset";if(g.ABV){if(!S(function(){L(1)})||!S(function(){new L(-1)})||S(function(){return new L,new L(1.5),new L(NaN),"ArrayBuffer"!=L.name})){L=function(t){return b(this,L),new k(x(t))};for(var Y,K=L[I]=k[I],H=O(k),q=0;H.length>q;)(Y=H[q++])in L||_(L,Y,k[Y]);y||(K.constructor=L)}var J=new F(new L(2)),X=F[I].setInt8;J.setInt8(0,2147483648),J.setInt8(1,2147483649),!J.getInt8(0)&&J.getInt8(1)||m(F[I],{setInt8:function(t,n){X.call(this,t,n<<24>>24)},setUint8:function(t,n){X.call(this,t,n<<24>>24)}},!0)}else L=function(t){b(this,L,"ArrayBuffer");var n=x(t);this._b=T.call(Array(n),0),this[W]=n},F=function(t,n,e){b(this,F,"DataView"),b(t,L,"DataView");var r=t[W],i=E(n);if(i<0||i>r)throw N("Wrong offset!");if(e=void 0===e?r-i:w(e),i+e>r)throw N("Wrong length!");this[V]=t,this[z]=i,this[W]=e},d&&(l(L,"byteLength","_l"),l(F,"buffer","_b"),l(F,"byteLength","_l"),l(F,"byteOffset","_o")),m(F[I],{getInt8:function(t){return h(this,1,t)[0]<<24>>24},getUint8:function(t){return h(this,1,t)[0]},getInt16:function(t){var n=h(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=h(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return o(h(this,4,t,arguments[1]))},getUint32:function(t){return o(h(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return i(h(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return i(h(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){v(this,1,t,u,n)},setUint8:function(t,n){v(this,1,t,u,n)},setInt16:function(t,n){v(this,2,t,c,n,arguments[2])},setUint16:function(t,n){v(this,2,t,c,n,arguments[2])},setInt32:function(t,n){v(this,4,t,a,n,arguments[2])},setUint32:function(t,n){v(this,4,t,a,n,arguments[2])},setFloat32:function(t,n){v(this,4,t,s,n,arguments[2])},setFloat64:function(t,n){v(this,8,t,f,n,arguments[2])}});A(L,"ArrayBuffer"),A(F,"DataView"),_(F[I],g.VIEW,!0),n.ArrayBuffer=L,n.DataView=F},function(t,n,e){var r=e(2),i=e(22),o=e(34),u=e(128),c=e(7).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n,e){var r=e(47),i=e(5)("iterator"),o=e(43);t.exports=e(22).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){"use strict";var r=e(29),i=e(112),o=e(43),u=e(15);t.exports=e(77)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,i(1)):"keys"==n?i(0,e):"values"==n?i(0,t[e]):i(0,[e,t[e]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(n,e){n.exports=t},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t,n,e){var r=!0,i=!1,o=void 0;try{for(var u,c=n[Symbol.iterator]();!(r=(u=c.next()).done);r=!0){var a=u.value;console.log("Create DB schema"),t.version(e||1).stores(a)}}catch(t){i=!0,o=t}finally{try{!r&&c.return&&c.return()}finally{if(i)throw o}}t.isOpen()||(console.log("DB not open, opening..."),t.open().catch(function(t){console.error("A IndexedDB error occured",t)}))}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(352),i=function(t){return t&&t.__esModule?t:{default:t}}(r);window.URL=window.URL||window.webkitURL;var o;try{o=new Blob([i.default],{type:"application/javascript"})}catch(t){window.BlobBuilder=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,o=new BlobBuilder,o.append(i.default),o=o.getBlob()}var u=new Worker(URL.createObjectURL(o));n.default=function(t,n){var e=void 0,r=void 0;return new Promise(function(i,o){e=i,r=o,u.addEventListener("message",e),u.addEventListener("error",r),u.postMessage({array:t,filter:n})}).then(function(t){return u.removeEventListener("message",e),u.removeEventListener("error",r),t.data},function(t){console.error(t),u.removeEventListener("message",e),u.removeEventListener("error",r)})}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0}),n.jsUcfirst=n.uuid=n.arrayMax=n.deepFreeze=n.filterByThread=n.filterBy=n.orderBy=void 0;var o=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}(),u=e(42);Object.defineProperty(n,"deepFreeze",{enumerable:!0,get:function(){return u.deepFreeze}}),Object.defineProperty(n,"arrayMax",{enumerable:!0,get:function(){return u.arrayMax}}),Object.defineProperty(n,"uuid",{enumerable:!0,get:function(){return u.uuid}}),Object.defineProperty(n,"jsUcfirst",{enumerable:!0,get:function(){return u.jsUcfirst}});var c=e(135);Object.keys(c).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(n,t,{enumerable:!0,get:function(){return c[t]}})});var a=e(136),f=e(140),s=r(f),l=e(139),h=r(l),v=e(94),p=r(v),d=e(138),y=r(d),g=e(134),_=r(g),m=e(137),S=r(m),b=e(66),E=r(b),w=e(65),x=r(w),O=e(95),P=r(O),T=(n.orderBy=E.default,n.filterBy=x.default,n.filterByThread=P.default,function(){function t(n){i(this,t),this._initDB(n)}return o(t,[{key:"_initDB",value:function(n){t._options||(t._options=n),t._db||(n.schemas||console.error("VueIdb configuration error: schemas must be set"),t._db=new s.default(n.database?n.database:"database"),(0,p.default)(t._db,n.schemas,n.version?n.version:1))}},{key:"plugin",get:function(){return t._plugin||(t._options.mutations=(0,y.default)(t._options,t._db),t._options.hydrators=(0,_.default)(t._options,t._db),t._plugin=(0,h.default)(t._db,t._options)),t._plugin}},{key:"modules",get:function(){return(0,S.default)(t._options,t._db)}},{key:"db",get:function(){return t._db}}]),t}());n.default=T,T.install=a.install,T.version="__VERSION__","undefined"!=typeof window&&window.Vue&&window.Vue.use(T)},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n<t.length;n++)e[n]=t[n];return e}return Array.from(t)}function o(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}Object.defineProperty(n,"__esModule",{value:!0});var u=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},c=e(99),a=r(c),f=e(42),s=e(65),l=r(s),h=e(66),v=r(h);n.default=function(t,n,e,r){var c,s,h,p=(0,a.default)(t),d=(0,f.jsUcfirst)(t),y=t.toUpperCase(),g=n.primary?n.primary:"id",_=n.label?n.label:"label",m=n.updated_at?n.updated_at:"updated_at",S={collection:[],selection:[],loading:!1,loaded:!1,selected:null,filter:{},sort:_,reverse:!1,last:null},b=(c={},o(c,"is"+d+"Loading",function(t){return t.loading}),o(c,"is"+d+"Loaded",function(t){return t.loaded}),o(c,"get"+d+"Last",function(t){return t.last}),o(c,"get"+d+"Selection",function(t){return t.selection}),o(c,"get"+d+"SelectionCollection",function(t){return t.collection.filter(function(n){return t.selection.indexOf(n[g])>-1})}),o(c,"get"+d+"SelectionCount",function(t){return t.selection.length}),o(c,"is"+d+"InSelection",function(t){return function(n){return t.selection.indexOf(n)>-1}}),o(c,"get"+d,function(t){return(0,v.default)((0,l.default)(t.collection,t.filter),t.sort,t.reverse)}),o(c,"get"+d+"Sorted",function(t){return(0,v.default)(t.collection,t.sort,t.reverse)}),o(c,"get"+d+"Filtered",function(t){return(0,l.default)(t.collection,t.filter)}),o(c,"get"+d+"Original",function(t){return t.collection}),o(c,"get"+d+"Selected",function(t){return null!==t.selected?t.collection[t.selected]:null}),o(c,"get"+d+"Count",function(t){return function(n,e){return n?t.collection.filter(function(t){return t[n]===e}).length:t.collection.length}}),o(c,"get"+d+"Ids",function(t){return function(n,e){return n?t.collection.filter(function(t){return t[n]===e}).map(function(t){return t[g]}):t.collection.map(function(t){return t[g]})}}),o(c,"get"+d+"Selectable",function(t){return(0,v.default)(t.collection.map(function(t){return{label:t[_],value:t[g]}}),"label",!1)}),c),E=(s={},o(s,t+"Select",function(t,n){var e=t.commit,r=t.state,i=r.collection.findIndex(function(t){return t[g]===n[g]});e(p[y+"_SELECT"],i)}),o(s,t+"Load",function(t){var n=t.commit;return console.log("LOAD DATA"),n(p[y+"_LOAD"]),r&&r.all?r.all(S.last).then(function(t){return n(p[y+"_LOAD_SUCCESS"],t.data)},function(t){return n(p[y+"_LOAD_FAIL"],res.data)}):Promise.resolve()}),o(s,t+"Add",function(t,n){var e=t.commit,i=u({},n,{id:(0,f.uuid)()});return e(p[y+"_ADD"],i),r&&r.add?r.add(n).then(function(t){e(p[y+"_REMOVE"],i),e(p[y+"_ADD"],t.data)},function(t){return e(p[y+"_ADD_FAIL"],i)}):Promise.resolve()}),o(s,t+"Update",function(t,n){var e=t.commit;return e(p[y+"_UPDATE"],n),r&&r.update?r.update(n).then(function(t){return e(p[y+"_UPDATE_SUCCESS"],t.data)},function(t){return e(p[y+"_UPDATE_FAIL"],res.data)}):Promise.resolve()}),o(s,t+"Remove",function(t,n){var e=t.commit;return e(p[y+"_REMOVE"],n),r&&r.remove?r.remove(n).then(function(t){},function(t){return e(p[y+"_ADD"],n)}):Promise.resolve()}),o(s,t+"SetSort",function(t,n){var e=t.commit;console.log("SET SOTR",n),e(p[y+"_SET_SORT"],n)}),o(s,t+"SetFilter",function(t,n){(0,t.commit)(p[y+"_SET_FILTER"],n)}),o(s,t+"ToggleSelection",function(t,n){(0,t.commit)(p[y+"_TOGGLE_SELECTION"],n)}),s),w=(h={},o(h,p[y+"_SELECT"],function(t,n){t.selected=n>-1?n:null}),o(h,p[y+"_TOGGLE_SELECTION"],function(t,n){var e=t.selection.indexOf(n[g]);e>-1?t.selection=[].concat(i(t.selection.slice(0,e)),i(t.selection.slice(e+1))):t.selection.push(n[g])}),o(h,p[y+"_LOAD"],function(t){t.loading=!0}),o(h,p[y+"_LOAD_SUCCESS"],function(t,n){t.loading=!1,t.collection=n;var e=t.collection.map(function(t){return t[m]});t.last=(0,f.arrayMax)(e)}),o(h,p[y+"_LOAD_FAIL"],function(t){t.loading=!1,t.loaded=!1,t.collection=[]}),o(h,p[y+"_ADD"],function(t,n){t.collection=[].concat(i(t.collection),[n])}),o(h,p[y+"_ADD_SUCCESS"],function(t,n){var e=n.entity,r=n.vidbuuid;t.loading=!1;var o=t.collection.findIndex(function(t){return t.vidbuuid===r});o>-1&&(t.collection=[].concat(i(t.collection.slice(0,o)),[e],i(t.collection.slice(o+1))),e[m]>t.last&&(t.last=e[m]))}),o(h,p[y+"_ADD_FAIL"],function(t,n){t.loading=!1;var e=t.collection.findIndex(function(t){return t[g]==n[g]});e>-1&&(t.collection=[].concat(i(t.collection.slice(0,e)),i(t.collection.slice(e+1))))}),o(h,p[y+"_REMOVE"],function(t,n){t.collection=t.collection.filter(function(t){return t[g]!==n[g]})}),o(h,p[y+"_REMOVE_FAIL"],function(t,n){t.collection=[].concat(i(t.collection),[n])}),o(h,p[y+"_REMOVE_SUCCESS"],function(t,n){}),o(h,p[y+"_UPDATE"],function(t,n){var e=t.collection.findIndex(function(t){return t[g]==n[g]});e>-1&&(t.collection=[].concat(i(t.collection.slice(0,e)),[n],i(t.collection.slice(e+1)))),t.loading=!0}),o(h,p[y+"_UPDATE_SUCCESS"],function(t,n){t.loading=!1;var e=t.collection.findIndex(function(t){return t[g]==n[g]});e>-1&&(t.collection=[].concat(i(t.collection.slice(0,e)),[n],i(t.collection.slice(e+1))),n[m]>t.last&&(t.last=n[m]))}),o(h,p[y+"_UPDATE_FAIL"],function(t,n){t.loading=!1;var e=t.collection.findIndex(function(t){return t[g]==n[g]});e>-1&&(t.collection=[].concat(i(t.collection.slice(0,e)),[n],i(t.collection.slice(e+1))))}),o(h,p[y+"_SET_LAST"],function(t,n){t.last=n}),o(h,p[y+"_SET_SORT"],function(t,n){t.sort=n?n.sort:null,t.reverse=!!n&&n.reverse}),o(h,p[y+"_SET_FILTER"],function(t,n){t.filter=n}),h);return{state:S,getters:b,actions:E,mutations:w}}},function(t,n,e){"use strict";function r(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t,n,e){var i,o=function(n){return e[t].put(n)},u=n.primary?n.primary:"id",c=t.toUpperCase();return i={},r(i,c+"_LOAD_SUCCESS",function(n){e[t].bulkPut(n)}),r(i,c+"_ADD",o),r(i,c+"_ADD_FAIL",o),r(i,c+"_ADD_SUCCESS",o),r(i,c+"_UPDATE",o),r(i,c+"_UPDATE_FAIL",o),r(i,c+"_UPDATE_SUCCESS",o),r(i,c+"_UPDATES",o),r(i,c+"_UPDATES_FAIL",o),r(i,c+"_UPDATES_SUCCESS",o),r(i,c+"_REMOVE",function(n){e[t].where(u).equals(n[u]).delete()}),r(i,c+"_REMOVE_FAIL",o),i}},function(t,n,e){"use strict";function r(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){var n,e=t.toUpperCase();return n={},r(n,e+"_SELECT",e+"_SELECT"),r(n,e+"_TOGGLE_SELECTION",e+"_TOGGLE_SELECTION"),r(n,e+"_ADD",e+"_ADD"),r(n,e+"_ADD_SUCCESS",e+"_ADD_SUCCESS"),r(n,e+"_ADD_FAIL",e+"_ADD_FAIL"),r(n,e+"_REMOVE",e+"_REMOVE"),r(n,e+"_REMOVE_SUCCESS",e+"_REMOVE_SUCCESS"),r(n,e+"_REMOVE_FAIL",e+"_REMOVE_FAIL"),r(n,e+"_UPDATE",e+"_UPDATE"),r(n,e+"_UPDATE_SUCCESS",e+"_UPDATE_SUCCESS"),r(n,e+"_UPDATE_FAIL",e+"_UPDATE_FAIL"),r(n,e+"_LOAD",e+"_LOAD"),r(n,e+"_LOAD_SUCCESS",e+"_LOAD_SUCCESS"),r(n,e+"_LOAD_FAIL",e+"_LOAD_FAIL"),r(n,e+"_SET_LAST",e+"_SET_LAST"),r(n,e+"_SET_SORT",e+"_SET_SORT"),r(n,e+"_SET_FILTER",e+"_SET_FILTER"),n}},function(t,n,e){var r=e(18);t.exports=function(t,n){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(n);return+t}},function(t,n,e){"use strict";var r=e(9),i=e(40),o=e(8);t.exports=[].copyWithin||function(t,n){var e=r(this),u=o(e.length),c=i(t,u),a=i(n,u),f=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===f?u:i(f,u))-a,u-c),l=1;for(a<c&&c<a+s&&(l=-1,a+=s-1,c+=s-1);s-- >0;)a in e?e[c]=e[a]:delete e[c],c+=l,a+=l;return e}},function(t,n,e){var r=e(33);t.exports=function(t,n){var e=[];return r(t,!1,e.push,e,n),e}},function(t,n,e){var r=e(10),i=e(9),o=e(48),u=e(8);t.exports=function(t,n,e,c,a){r(n);var f=i(t),s=o(f),l=u(f.length),h=a?l-1:0,v=a?-1:1;if(e<2)for(;;){if(h in s){c=s[h],h+=v;break}if(h+=v,a?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;a?h>=0:l>h;h+=v)h in s&&(c=n(c,s[h],h,f));return c}},function(t,n,e){"use strict";var r=e(10),i=e(4),o=e(54),u=[].slice,c={},a=function(t,n,e){if(!(n in c)){for(var r=[],i=0;i<n;i++)r[i]="a["+i+"]";c[n]=Function("F,a","return new F("+r.join(",")+")")}return c[n](t,e)};t.exports=Function.bind||function(t){var n=r(this),e=u.call(arguments,1),c=function(){var r=e.concat(u.call(arguments));return this instanceof c?a(n,r.length,r):o(n,r,t)};return i(n.prototype)&&(c.prototype=n.prototype),c}},function(t,n,e){"use strict";var r=e(7).f,i=e(35),o=e(38),u=e(19),c=e(32),a=e(33),f=e(77),s=e(112),l=e(39),h=e(6),v=e(30).fastKey,p=e(46),d=h?"_s":"size",y=function(t,n){var e,r=v(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e};t.exports={getConstructor:function(t,n,e,f){var s=t(function(t,r){c(t,s,n,"_i"),t._t=n,t._i=i(null),t._f=void 0,t._l=void 0,t[d]=0,void 0!=r&&a(r,e,t[f],t)});return o(s.prototype,{clear:function(){for(var t=p(this,n),e=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete e[r.i];t._f=t._l=void 0,t[d]=0},delete:function(t){var e=p(this,n),r=y(e,t);if(r){var i=r.n,o=r.p;delete e._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),e._f==r&&(e._f=i),e._l==r&&(e._l=o),e[d]--}return!!r},forEach:function(t){p(this,n);for(var e,r=u(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(r(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!y(p(this,n),t)}}),h&&r(s.prototype,"size",{get:function(){return p(this,n)[d]}}),s},def:function(t,n,e){var r,i,o=y(t,n);return o?o.v=e:(t._l=o={i:i=v(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[d]++,"F"!==i&&(t._i[i]=o)),t},getEntry:y,setStrong:function(t,n,e){f(t,n,function(t,e){this._t=p(t,n),this._k=e,this._l=void 0},function(){for(var t=this,n=t._k,e=t._l;e&&e.r;)e=e.p;return t._t&&(t._l=e=e?e.n:t._t._f)?"keys"==n?s(0,e.k):"values"==n?s(0,e.v):s(0,[e.k,e.v]):(t._t=void 0,s(1))},e?"entries":"values",!e,!0),l(n)}}},function(t,n,e){var r=e(47),i=e(102);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},function(t,n,e){"use strict";var r=e(38),i=e(30).getWeak,o=e(1),u=e(4),c=e(32),a=e(33),f=e(21),s=e(11),l=e(46),h=f(5),v=f(6),p=0,d=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},g=function(t,n){return h(t.a,function(t){return t[0]===n})};y.prototype={get:function(t){var n=g(this,t);if(n)return n[1]},has:function(t){return!!g(this,t)},set:function(t,n){var e=g(this,t);e?e[1]=n:this.a.push([t,n])},delete:function(t){var n=v(this.a,function(n){return n[0]===t});return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,e,o){var f=t(function(t,r){c(t,f,n,"_i"),t._t=n,t._i=p++,t._l=void 0,void 0!=r&&a(r,e,t[o],t)});return r(f.prototype,{delete:function(t){if(!u(t))return!1;var e=i(t);return!0===e?d(l(this,n)).delete(t):e&&s(e,this._i)&&delete e[this._i]},has:function(t){if(!u(t))return!1;var e=i(t);return!0===e?d(l(this,n)).has(t):e&&s(e,this._i)}}),f},def:function(t,n,e){var r=i(o(n),!0);return!0===r?d(t).set(n,e):r[t._i]=e,t},ufstore:d}},function(t,n,e){"use strict";function r(t,n,e,f,s,l,h,v){for(var p,d,y=s,g=0,_=!!h&&c(h,v,3);g<f;){if(g in e){if(p=_?_(e[g],g,n):e[g],d=!1,o(p)&&(d=p[a],d=void 0!==d?!!d:i(p)),d&&l>0)y=r(t,n,p,u(p.length),y,l-1)-1;else{if(y>=9007199254740991)throw TypeError();t[y]=p}y++}g++}return y}var i=e(55),o=e(4),u=e(8),c=e(19),a=e(5)("isConcatSpreadable");t.exports=r},function(t,n,e){t.exports=!e(6)&&!e(3)(function(){return 7!=Object.defineProperty(e(70)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(4),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,n,e){var r=e(1);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(79),i=Math.pow,o=i(2,-52),u=i(2,-23),c=i(2,127)*(2-u),a=i(2,-126),f=function(t){return t+1/o-1/o};t.exports=Math.fround||function(t){var n,e,i=Math.abs(t),s=r(t);return i<a?s*f(i/a/u)*a*u:(n=(1+u/o)*i,e=n-(n-i),e>c||e!=e?s*(1/0):s*e)}},function(t,n){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,n){t.exports=Math.scale||function(t,n,e,r,i){return 0===arguments.length||t!=t||n!=n||e!=e||r!=r||i!=i?NaN:t===1/0||t===-1/0?t:(t-n)*(i-r)/(e-n)+r}},function(t,n,e){"use strict";var r=e(31),i=e(59),o=e(49),u=e(9),c=e(48),a=Object.assign;t.exports=!a||e(3)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=a({},t)[e]||Object.keys(a({},n)).join("")!=r})?function(t,n){for(var e=u(t),a=arguments.length,f=1,s=i.f,l=o.f;a>f;)for(var h,v=c(arguments[f++]),p=s?r(v).concat(s(v)):r(v),d=p.length,y=0;d>y;)l.call(v,h=p[y++])&&(e[h]=v[h]);return e}:a},function(t,n,e){var r=e(7),i=e(1),o=e