sw.js
101 KB
!function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=75)}([function(e,t){var r=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(2),o=r(0),a=r(8),i=r(9),u=function(e,t,r){var s,c,f,l=e&u.F,h=e&u.G,d=e&u.S,p=e&u.P,v=e&u.B,g=e&u.W,m=h?o:o[t]||(o[t]={}),y=m.prototype,_=h?n:d?n[t]:(n[t]||{}).prototype;h&&(r=t);for(s in r)(c=!l&&_&&void 0!==_[s])&&s in m||(f=c?_[s]:r[s],m[s]=h&&"function"!=typeof _[s]?r[s]:v&&c?a(f,n):g&&_[s]==f?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):p&&"function"==typeof f?a(Function.call,f):f,p&&((m.virtual||(m.virtual={}))[s]=f,e&u.R&&y&&!y[s]&&i(y,s,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){var n=r(34)("wks"),o=r(26),a=r(2).Symbol,i="function"==typeof a;(e.exports=function(e){return n[e]||(n[e]=i&&a[e]||(i?a:o)("Symbol."+e))}).store=n},function(e,t,r){var n=r(6),o=r(51),a=r(32),i=Object.defineProperty;t.f=r(7)?Object.defineProperty:function(e,t,r){if(n(e),t=a(t,!0),n(r),o)try{return i(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){var n=r(5);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){e.exports=!r(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,r){var n=r(14);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(4),o=r(15);e.exports=r(7)?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(54),o=r(29);e.exports=function(e){return n(o(e))}},function(e,t,r){"use strict";var n=r(78)(!0);r(30)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){var n=r(4).f,o=r(10),a=r(3)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},function(e,t,r){var n=r(29);e.exports=function(e){return Object(n(e))}},function(e,t,r){r(87);for(var n=r(2),o=r(9),a=r(16),i=r(3)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var c=u[s],f=n[c],l=f&&f.prototype;l&&!l[i]&&o(l,i,c),a[c]=a.Array}},function(e,t,r){var n=r(8),o=r(57),a=r(58),i=r(6),u=r(25),s=r(36),c={},f={},t=e.exports=function(e,t,r,l,h){var d,p,v,g,m=h?function(){return e}:s(e),y=n(r,l,t?2:1),_=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(a(m)){for(d=u(e.length);d>_;_++)if((g=t?y(i(p=e[_])[0],p[1]):y(e[_]))===c||g===f)return g}else for(v=m.call(e);!(p=v.next()).done;)if((g=o(v,y,p.value,t))===c||g===f)return g};t.BREAK=c,t.RETURN=f},function(e,t){e.exports=!0},function(e,t,r){var n=r(6),o=r(80),a=r(35),i=r(33)("IE_PROTO"),u=function(){},s=function(){var e,t=r(31)("iframe"),n=a.length;for(t.style.display="none",r(55).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;n--;)delete s.prototype[a[n]];return s()};e.exports=Object.create||function(e,t){var r;return null!==e?(u.prototype=n(e),r=new u,u.prototype=null,r[i]=e):r=s(),void 0===t?r:o(r,t)}},function(e,t,r){var n=r(53),o=r(35);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t,r){var n=r(28),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t){},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){"use strict";var n=r(22),o=r(1),a=r(52),i=r(9),u=r(10),s=r(16),c=r(79),f=r(18),l=r(56),h=r(3)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,r,v,g,m,y){c(r,t,v);var _,w,x,b=function(e){if(!d&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},k=t+" Iterator",E="values"==g,L=!1,S=e.prototype,R=S[h]||S["@@iterator"]||g&&S[g],O=!d&&R||b(g),C=g?E?b("entries"):O:void 0,N="Array"==t?S.entries||R:R;if(N&&(x=l(N.call(new e)))!==Object.prototype&&x.next&&(f(x,k,!0),n||u(x,h)||i(x,h,p)),E&&R&&"values"!==R.name&&(L=!0,O=function(){return R.call(this)}),n&&!y||!d&&!L&&S[h]||i(S,h,O),s[t]=O,s[k]=p,g)if(_={values:E?O:b("values"),keys:m?O:b("keys"),entries:C},y)for(w in _)w in S||a(S,w,_[w]);else o(o.P+o.F*(d||L),t,_);return _}},function(e,t,r){var n=r(5),o=r(2).document,a=n(o)&&n(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,r){var n=r(5);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(34)("keys"),o=r(26);e.exports=function(e){return n[e]||(n[e]=o(e))}},function(e,t,r){var n=r(2),o=n["__core-js_shared__"]||(n["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(37),o=r(3)("iterator"),a=r(16);e.exports=r(0).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||a[n(e)]}},function(e,t,r){var n=r(17),o=r(3)("toStringTag"),a="Arguments"==n(function(){return arguments}()),i=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,r,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=i(t=Object(e),o))?r:a?n(t):"Object"==(u=n(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t,r){var n=r(9);e.exports=function(e,t,r){for(var o in t)r&&e[o]?e[o]=t[o]:n(e,o,t[o]);return e}},function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){var n=r(26)("meta"),o=r(5),a=r(10),i=r(4).f,u=0,s=Object.isExtensible||function(){return!0},c=!r(13)(function(){return s(Object.preventExtensions({}))}),f=function(e){i(e,n,{value:{i:"O"+ ++u,w:{}}})},l=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,n)){if(!s(e))return"F";if(!t)return"E";f(e)}return e[n].i},h=function(e,t){if(!a(e,n)){if(!s(e))return!0;if(!t)return!1;f(e)}return e[n].w},d=function(e){return c&&p.NEED&&s(e)&&!a(e,n)&&f(e),e},p=e.exports={KEY:n,NEED:!1,fastKey:l,getWeak:h,onFreeze:d}},function(e,t,r){var n=r(5);e.exports=function(e,t){if(!n(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,r){e.exports={default:r(98),__esModule:!0}},function(e,t,r){"use strict";function n(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=o(t),this.reject=o(r)}var o=r(14);e.exports.f=function(e){return new n(e)}},function(e,t,r){var n=r(1),o=r(0),a=r(13);e.exports=function(e,t){var r=(o.Object||{})[e]||Object[e],i={};i[e]=t(r),n(n.S+n.F*a(function(){r(1)}),"Object",i)}},function(e,t,r){var n=r(46),o=r(15),a=r(11),i=r(32),u=r(10),s=r(51),c=Object.getOwnPropertyDescriptor;t.f=r(7)?c:function(e,t){if(e=a(e),t=i(t,!0),s)try{return c(e,t)}catch(e){}if(u(e,t))return o(!n.f.call(e,t),e[t])}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(123),a=n(o),i=r(125),u=n(i),s="function"==typeof u.default&&"symbol"==typeof a.default?function(e){return typeof e}:function(e){return e&&"function"==typeof u.default&&e.constructor===u.default&&e!==u.default.prototype?"symbol":typeof e};t.default="function"==typeof u.default&&"symbol"===s(a.default)?function(e){return void 0===e?"undefined":s(e)}:function(e){return e&&"function"==typeof u.default&&e.constructor===u.default&&e!==u.default.prototype?"symbol":void 0===e?"undefined":s(e)}},function(e,t,r){t.f=r(3)},function(e,t,r){var n=r(2),o=r(0),a=r(22),i=r(48),u=r(4).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=a?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:i.f(e)})}},function(e,t,r){e.exports={default:r(77),__esModule:!0}},function(e,t,r){e.exports=!r(7)&&!r(13)(function(){return 7!=Object.defineProperty(r(31)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){e.exports=r(9)},function(e,t,r){var n=r(10),o=r(11),a=r(81)(!1),i=r(33)("IE_PROTO");e.exports=function(e,t){var r,u=o(e),s=0,c=[];for(r in u)r!=i&&n(u,r)&&c.push(r);for(;t.length>s;)n(u,r=t[s++])&&(~a(c,r)||c.push(r));return c}},function(e,t,r){var n=r(17);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){var n=r(2).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(10),o=r(19),a=r(33)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),n(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,r){var n=r(6);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var a=e.return;throw void 0!==a&&n(a.call(e)),t}}},function(e,t,r){var n=r(16),o=r(3)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||a[o]===e)}},function(e,t,r){var n=r(3)("iterator"),o=!1;try{var a=[7][n]();a.return=function(){o=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var a=[7],i=a[n]();i.next=function(){return{done:r=!0}},a[n]=function(){return i},e(a)}catch(e){}return r}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){"use strict";var n=r(4).f,o=r(23),a=r(38),i=r(8),u=r(39),s=r(21),c=r(30),f=r(60),l=r(62),h=r(7),d=r(40).fastKey,p=r(41),v=h?"_s":"size",g=function(e,t){var r,n=d(t);if("F"!==n)return e._i[n];for(r=e._f;r;r=r.n)if(r.k==t)return r};e.exports={getConstructor:function(e,t,r,c){var f=e(function(e,n){u(e,f,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[v]=0,void 0!=n&&s(n,r,e[c],e)});return a(f.prototype,{clear:function(){for(var e=p(this,t),r=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete r[n.i];e._f=e._l=void 0,e[v]=0},delete:function(e){var r=p(this,t),n=g(r,e);if(n){var o=n.n,a=n.p;delete r._i[n.i],n.r=!0,a&&(a.n=o),o&&(o.p=a),r._f==n&&(r._f=o),r._l==n&&(r._l=a),r[v]--}return!!n},forEach:function(e){p(this,t);for(var r,n=i(e,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(n(r.v,r.k,this);r&&r.r;)r=r.p},has:function(e){return!!g(p(this,t),e)}}),h&&n(f.prototype,"size",{get:function(){return p(this,t)[v]}}),f},def:function(e,t,r){var n,o,a=g(e,t);return a?a.v=r:(e._l=a={i:o=d(t,!0),k:t,v:r,p:n=e._l,n:void 0,r:!1},e._f||(e._f=a),n&&(n.n=a),e[v]++,"F"!==o&&(e._i[o]=a)),e},getEntry:g,setStrong:function(e,t,r){c(e,t,function(e,r){this._t=p(e,t),this._k=r,this._l=void 0},function(){for(var e=this,t=e._k,r=e._l;r&&r.r;)r=r.p;return e._t&&(e._l=r=r?r.n:e._t._f)?"keys"==t?f(0,r.k):"values"==t?f(0,r.v):f(0,[r.k,r.v]):(e._t=void 0,f(1))},r?"entries":"values",!r,!0),l(t)}}},function(e,t,r){"use strict";var n=r(2),o=r(0),a=r(4),i=r(7),u=r(3)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:n[e];i&&t&&!t[u]&&a.f(t,u,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var n=r(2),o=r(1),a=r(40),i=r(13),u=r(9),s=r(38),c=r(21),f=r(39),l=r(5),h=r(18),d=r(4).f,p=r(90)(0),v=r(7);e.exports=function(e,t,r,g,m,y){var _=n[e],w=_,x=m?"set":"add",b=w&&w.prototype,k={};return v&&"function"==typeof w&&(y||b.forEach&&!i(function(){(new w).entries().next()}))?(w=t(function(t,r){f(t,w,e,"_c"),t._c=new _,void 0!=r&&c(r,m,t[x],t)}),p("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(e){var t="add"==e||"set"==e;e in b&&(!y||"clear"!=e)&&u(w.prototype,e,function(r,n){if(f(this,w,e),!t&&y&&!l(r))return"get"==e&&void 0;var o=this._c[e](0===r?0:r,n);return t?this:o})}),y||d(w.prototype,"size",{get:function(){return this._c.size}})):(w=g.getConstructor(t,e,m,x),s(w.prototype,r),a.NEED=!0),h(w,e),k[e]=w,o(o.G+o.W+o.F,k),y||g.setStrong(w,e,m),w}},function(e,t,r){var n=r(17);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(37),o=r(94);e.exports=function(e){return function(){if(n(this)!=e)throw TypeError(e+"#toJSON isn't generic");return o(this)}}},function(e,t,r){"use strict";var n=r(1);e.exports=function(e){n(n.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,r){"use strict";var n=r(1),o=r(14),a=r(8),i=r(21);e.exports=function(e){n(n.S,e,{from:function(e){var t,r,n,u,s=arguments[1];return o(this),t=void 0!==s,t&&o(s),void 0==e?new this:(r=[],t?(n=0,u=a(s,arguments[2],2),i(e,!1,function(e){r.push(u(e,n++))})):i(e,!1,r.push,r),new this(r))}})}},function(e,t,r){var n=r(6),o=r(14),a=r(3)("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||void 0==(r=n(i)[a])?t:o(r)}},function(e,t,r){var n,o,a,i=r(8),u=r(106),s=r(55),c=r(31),f=r(2),l=f.process,h=f.setImmediate,d=f.clearImmediate,p=f.MessageChannel,v=f.Dispatch,g=0,m={},y=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},_=function(e){y.call(e.data)};h&&d||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return m[++g]=function(){u("function"==typeof e?e:Function(e),t)},n(g),g},d=function(e){delete m[e]},"process"==r(17)(l)?n=function(e){l.nextTick(i(y,e,1))}:v&&v.now?n=function(e){v.now(i(y,e,1))}:p?(o=new p,a=o.port2,o.port1.onmessage=_,n=i(a.postMessage,a,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(e){f.postMessage(e+"","*")},f.addEventListener("message",_,!1)):n="onreadystatechange"in c("script")?function(e){s.appendChild(c("script")).onreadystatechange=function(){s.removeChild(this),y.call(e)}}:function(e){setTimeout(i(y,e,1),0)}),e.exports={set:h,clear:d}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,r){var n=r(6),o=r(5),a=r(43);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},function(e,t,r){e.exports={default:r(111),__esModule:!0}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var n=r(53),o=r(35).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var o=r(76),a=n(o),i=r(151),u=n(i),s={customCacheUrl:[/^https:\/\/(.*)cdn\.yoho\.cn/i,/^https:\/\/(.*)static\.yhbimg\.com/i],precachePage:["/offline.html"],precacheStaticFile:["/index.css","/common.css","/libs.js"]},c=(0,u.default)(self.location.search.substr(1)),f=new a.default({clientsClaim:!0,skipWaiting:!0}),l=f.strategies.cacheFirst({cacheableResponse:{statuses:[0,200]},cacheExpiration:{maxEntries:1e3,maxAgeSeconds:604800}}),h=[{url:"/sw.js?t="+c.t+"&staticServer="+c.staticServer}].concat(s.precacheStaticFile.map(function(e){return{url:self.location.protocol+c.staticServer+e+"?t="+c.t}})).concat(s.precachePage.map(function(e){return{url:e}}));f.precache(h),s.customCacheUrl.forEach(function(e){f.router.registerRoute(e,l)}),f.router.registerRoute(/.*/,function(e){return f.strategies.networkFirst().handle(e).then(function(t){return t||"navigate"!==e.event.request.mode?t:caches.match("offline.html")})})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){return"ServiceWorkerGlobalScope"in self&&self instanceof ServiceWorkerGlobalScope}function a(){return!1}function i(){return!("localhost"!==location.hostname&&"[::1]"!==location.hostname&&!location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/))}function u(e){var t=(0,ae.default)(e);t.some(function(t){return void 0!==e[t]})||p("Please set at least one of the following parameters: "+t.map(function(e){return"'"+e+"'"}).join(", "))}function s(e,t){var r=(0,ae.default)(e).pop();"function"!=(0,ue.default)(e[r][t])&&p("The '"+r+"' parameter must be an object that exposes a\n '"+t+"' method.")}function c(e,t){var r=(0,ae.default)(e).pop();e[r]instanceof t||p("The '"+r+"' parameter must be an instance of\n '"+t.name+"'")}function f(e,t){var r=(0,ae.default)(e).pop();t.includes(e[r])||p("The '"+r+"' parameter must be set to one of the\n following: "+t)}function l(e,t){var r=(0,ae.default)(e).pop(),n=(0,ue.default)(e[r]);n!==t&&p("The '"+r+"' parameter has the wrong type. (Expected:\n "+t+", actual: "+n+")")}function h(e,t){var r=(0,ae.default)(e).pop(),n="The '"+r+"' parameter should be an array containing\n one or more '"+t+"' elements.";Array.isArray(e[r])||p(n);var o=!0,a=!1,i=void 0;try{for(var u,s=(0,ne.default)(e[r]);!(o=(u=s.next()).done);o=!0){var c=u.value;(void 0===c?"undefined":(0,ue.default)(c))!==t&&p(n)}}catch(e){a=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw i}}}function d(e,t){var r=(0,ae.default)(e).pop(),n="The '"+r+"' parameter should be an array containing\n one or more '"+t.name+"' instances.";Array.isArray(e[r])||p(n);var o=!0,a=!1,i=void 0;try{for(var u,s=(0,ne.default)(e[r]);!(o=(u=s.next()).done);o=!0){u.value instanceof t||p(n)}}catch(e){a=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw i}}}function p(e){e=e.replace(/\s+/g," ");var t=new Error(e);t.name="assertion-failed";var r=be.parse(t);throw 3<=r.length&&(t.message="Invalid call to "+r[2].functionName+"() — "+e),t}function v(e){return"object"==(void 0===e?"undefined":(0,ue.default)(e))?(s({handler:e},"handle"),e):(l({handler:e},"function"),{handle:e})}function g(e,t){for(var r,n=[],o=0,a=0,i="",u=t&&t.delimiter||"/";null!=(r=Pe.exec(e));){var s=r[0],c=r[1],f=r.index;if(i+=e.slice(a,f),a=f+s.length,c)i+=c[1];else{var l=e[a],h=r[2],d=r[3],p=r[4],v=r[5],g=r[6],m=r[7];i&&(n.push(i),i="");var y=r[2]||u,_=p||v;n.push({name:d||o++,prefix:h||"",delimiter:y,optional:"?"===g||"*"===g,repeat:"+"===g||"*"===g,partial:null!=h&&null!=l&&l!==h,asterisk:!!m,pattern:_?b(_):m?".*":"[^"+x(y)+"]+?"})}}return a<e.length&&(i+=e.substr(a)),i&&n.push(i),n}function m(e,t){return w(g(e,t))}function y(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function _(e){return encodeURI(e).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function w(e){for(var t=Array(e.length),r=0;r<e.length;r++)"object"==(0,ue.default)(e[r])&&(t[r]=new RegExp("^(?:"+e[r].pattern+")$"));return function(r,n){for(var o,a="",i=r||{},u=n||{},s=u.pretty?y:encodeURIComponent,c=0;c<e.length;c++)if("string"!=typeof(o=e[c])){var f,l=i[o.name];if(null==l){if(o.optional){o.partial&&(a+=o.prefix);continue}throw new TypeError('Expected "'+o.name+'" to be defined')}if(Le(l)){if(!o.repeat)throw new TypeError('Expected "'+o.name+'" to not repeat, but received `'+(0,te.default)(l)+"`");if(0===l.length){if(o.optional)continue;throw new TypeError('Expected "'+o.name+'" to not be empty')}for(var h=0;h<l.length;h++){if(f=s(l[h]),!t[c].test(f))throw new TypeError('Expected all "'+o.name+'" to match "'+o.pattern+'", but received `'+(0,te.default)(f)+"`");a+=(0===h?o.prefix:o.delimiter)+f}}else{if(f=o.asterisk?_(l):s(l),!t[c].test(f))throw new TypeError('Expected "'+o.name+'" to match "'+o.pattern+'", but received "'+f+'"');a+=o.prefix+f}}else a+=o;return a}}function x(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function b(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function k(e,t){return e.keys=t,e}function E(e){return e.sensitive?"":"i"}function L(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return k(e,t)}function S(e,t,r){for(var n=[],o=0;o<e.length;o++)n.push(C(e[o],t,r).source);return k(new RegExp("(?:"+n.join("|")+")",E(r)),t)}function R(e,t,r){return O(g(e,r),t,r)}function O(e,t,r){Le(t)||(r=t||r,t=[]),r=r||{};for(var n,o=r.strict,a=!1!==r.end,i="",u=0;u<e.length;u++)if("string"==typeof(n=e[u]))i+=x(n);else{var s=x(n.prefix),c="(?:"+n.pattern+")";t.push(n),n.repeat&&(c+="(?:"+s+c+")*"),c=n.optional?n.partial?s+"("+c+")?":"(?:"+s+"("+c+"))?":s+"("+c+")",i+=c}var f=x(r.delimiter||"/"),l=i.slice(-f.length)===f;return o||(i=(l?i.slice(0,-f.length):i)+"(?:"+f+"(?=$))?"),i+=a?"$":o&&l?"":"(?="+f+"|$)",k(new RegExp("^"+i,E(r)),t)}function C(e,t,r){return Le(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?L(e,t):Le(e)?S(e,t,r):R(e,t,r)}function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.channel,r=e.cacheName,n=e.url,o=e.source;c({channel:t},BroadcastChannel),l({cacheName:r},"string"),l({source:o},"string"),l({url:n},"string"),t.postMessage({type:ut,meta:o,payload:{cacheName:r,updatedUrl:n}})}function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.first,r=e.second,n=e.headersToCheck;if(!(t instanceof Response&&r instanceof Response&&n instanceof Array))throw it.createError("responses-are-same-parameters-required");return n.some(function(e){return t.headers.has(e)&&r.headers.has(e)})?n.every(function(e){return t.headers.has(e)===r.headers.has(e)&&t.headers.get(e)===r.headers.get(e)}):(_e.log({message:"Unable to determine whether the response has been updated\n because none of the headers that would be checked are present.",data:{"First Response":t,"Second Response":r,"Headers To Check":(0,te.default)(n)}}),!0)}Object.defineProperty(t,"__esModule",{value:!0});var j=r(50),T=n(j),q=r(85),M=n(q),D=r(97),A=n(D),F=r(42),I=n(F),U=r(100),W=n(U),G=r(103),B=n(G),V=r(110),H=n(V),K=r(116),J=n(K),$=r(72),z=n($),Y=r(122),Q=n(Y),Z=r(132),X=n(Z),ee=r(140),te=n(ee),re=r(142),ne=n(re),oe=r(145),ae=n(oe),ie=r(47),ue=n(ie),se=r(148),ce=n(se),fe=r(149),le=n(fe),he=r(150),de=n(he),pe=function(){function e(t){(0,le.default)(this,e),this._errors=t}return(0,de.default)(e,[{key:"createError",value:function(e,t){if(!(e in this._errors))throw new Error("Unable to generate error '"+e+"'.");var r=this._errors[e].replace(/\s+/g," "),n=null;t&&(r+=" ["+t.message+"]",n=t.stack);var o=new Error;return o.name=e,o.message=r,o.stack=n,o}}]),e}(),ve={"not-in-sw":"workbox-sw must be loaded in your service worker file.","unsupported-route-type":"The first parameter to registerRoute() should be either an Express-style path string, a RegExp, or a function.","empty-express-string":"The Express style route string must have some characters, an empty string is invalid.","bad-revisioned-cache-list":"The 'precache()' method expectsan array of revisioned urls like so: ['/example/hello.1234.txt', {path: 'hello.txt', revision: '1234'}]","navigation-route-url-string":"The registerNavigationRoute() method expects a URL string as its first parameter.","bad-cache-id":"The 'cacheId' parameter must be a string with at least one character","bad-skip-waiting":"The 'skipWaiting' parameter must be a boolean.","bad-clients-claim":"The 'clientsClaim' parameter must be a boolean.","bad-directory-index":"The 'directoryIndex' parameter must be a boolean."},ge=new pe(ve),me=function(){function e(){(0,le.default)(this,e),this._logs=[],this._childGroups=[],this._isFallbackMode=!1;var t=/Firefox\/(\d*)\.\d*/.exec(navigator.userAgent);if(t)try{55>parseInt(t[1],10)&&(this._isFallbackMode=!0)}catch(t){this._isFallbackMode=!0}/Edge\/\d*\.\d*/.exec(navigator.userAgent)&&(this._isFallbackMode=!0)}return(0,de.default)(e,[{key:"addPrimaryLog",value:function(e){this._primaryLog=e}},{key:"addLog",value:function(e){this._logs.push(e)}},{key:"addChildGroup",value:function(e){0===e._logs.length||this._childGroups.push(e)}},{key:"print",value:function(){var e,t=this;return 0===this._logs.length&&0===this._childGroups.length?void this._printLogDetails(this._primaryLog):(this._primaryLog&&(this._isFallbackMode?this._printLogDetails(this._primaryLog):(e=console).groupCollapsed.apply(e,(0,ce.default)(this._getLogContent(this._primaryLog)))),this._logs.forEach(function(e){t._printLogDetails(e)}),this._childGroups.forEach(function(e){e.print()}),void(this._primaryLog&&!this._isFallbackMode&&console.groupEnd()))}},{key:"_printLogDetails",value:function(e){(e.logFunc?e.logFunc:console.log).apply(void 0,(0,ce.default)(this._getLogContent(e)))}},{key:"_getLogContent",value:function(e){var t=e.message;this._isFallbackMode&&"string"==typeof t&&(t=t.replace(/%c/g,""));var r=[t];return!this._isFallbackMode&&e.colors&&(r=r.concat(e.colors)),e.args&&(r=r.concat(e.args)),r}}]),e}();self.workbox=self.workbox||{},self.workbox.LOG_LEVEL=self.workbox.LOG_LEVEL||{none:-1,verbose:0,debug:1,warn:2,error:3};var ye=function(){function e(){(0,le.default)(this,e),this._defaultLogLevel=a()?self.workbox.LOG_LEVEL.debug:self.workbox.LOG_LEVEL.warn}return(0,de.default)(e,[{key:"log",value:function(e){this._printMessage(self.workbox.LOG_LEVEL.verbose,e)}},{key:"debug",value:function(e){this._printMessage(self.workbox.LOG_LEVEL.debug,e)}},{key:"warn",value:function(e){this._printMessage(self.workbox.LOG_LEVEL.warn,e)}},{key:"error",value:function(e){this._printMessage(self.workbox.LOG_LEVEL.error,e)}},{key:"_printMessage",value:function(e,t){if(this._shouldLogMessage(e,t)){this._getAllLogGroups(e,t).print()}}},{key:"_getAllLogGroups",value:function(e,t){var r=this,n=new me,o=this._getPrimaryMessageDetails(e,t);if(n.addPrimaryLog(o),t.error){var a={message:t.error,logFunc:console.error};n.addLog(a)}var i=new me;if(t.that&&t.that.constructor&&t.that.constructor.name){var u=t.that.constructor.name;i.addLog(this._getKeyValueDetails("class",u))}return t.data&&("object"!=(0,ue.default)(t.data)||t.data instanceof Array?i.addLog(this._getKeyValueDetails("additionalData",t.data)):(0,ae.default)(t.data).forEach(function(e){i.addLog(r._getKeyValueDetails(e,t.data[e]))})),n.addChildGroup(i),n}},{key:"_getKeyValueDetails",value:function(e,t){return{message:"%c"+e+": ",colors:["color: #3498db"],args:t}}},{key:"_getPrimaryMessageDetails",value:function(e,t){var r=void 0,n=void 0;e===self.workbox.LOG_LEVEL.verbose?(r="Info",n="#bdc3c7"):e===self.workbox.LOG_LEVEL.debug?(r="Debug",n="#2ecc71"):e===self.workbox.LOG_LEVEL.warn?(r="Warn",n="#f1c40f"):e===self.workbox.LOG_LEVEL.error&&(r="Error",n="#e74c3c");var o="%c🔧 %c["+r+"]",a=["color: #bdc3c7","color: "+n],i=void 0;return"string"==typeof t?i=t:t.message&&(i=t.message),i&&(i=i.replace(/\s+/g," "),o+="%c "+i,a.push("color: #7f8c8d; font-weight: normal")),{message:o,colors:a}}},{key:"_shouldLogMessage",value:function(e,t){if(!t)return!1;var r=this._defaultLogLevel;return self&&self.workbox&&"number"==typeof self.workbox.logLevel&&(r=self.workbox.logLevel),!(r===self.workbox.LOG_LEVEL.none||e<r)}}]),e}(),_e=new ye,we={"express-route-invalid-path":"When using ExpressRoute, you must\n provide a path that starts with a '/' character (to match same-origin\n requests) or that starts with 'http' (to match cross-origin requests)"},xe=new pe(we),be={parse:function(){return[]}},ke=["DELETE","GET","HEAD","POST","PUT"],Ee=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.match,n=t.handler,o=t.method;(0,le.default)(this,e),this.handler=v(n),l({match:r},"function"),this.match=r,o?(f({method:o},ke),this.method=o):this.method="GET"},Le=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},Se=C,Re=g,Oe=m,Ce=w,Ne=O,Pe=new RegExp("(\\\\.)|([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))","g");Se.parse=Re,Se.compile=Oe,Se.tokensToFunction=Ce,Se.tokensToRegExp=Ne;var je=function(e){function t(e){var r=e.path,n=e.handler,o=e.method;if((0,le.default)(this,t),!r.startsWith("/")&&!r.startsWith("http"))throw xe.createError("express-route-invalid-path");var a=[],i=Se(r,a);return(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).call(this,{match:function(e){var t=e.url;if(r.startsWith("/")&&t.origin!==location.origin)return null;var n=r.startsWith("/")?t.pathname:t.href,o=n.match(i);if(!o)return null;var u={};return a.forEach(function(e,t){u[e.name]=o[t+1]}),u},handler:n,method:o}))}return(0,X.default)(t,e),t}(Ee),Te=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.whitelist,o=r.blacklist,a=r.handler;return(0,le.default)(this,t),d({whitelist:n},RegExp),o?d({blacklist:o},RegExp):o=[],e=(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).call(this,{match:function(t){var r=t.event,i=t.url,u=void 0,s=!1;if("navigate"===r.request.mode){var c=i.pathname+i.search;n.some(function(e){return e.test(c)})?o.some(function(e){return e.test(c)})?u="The navigation route is not being used, since the request URL matches both the whitelist and blacklist.":(u="The navigation route is being used.",s=!0):u="The navigation route is not being used, since the URL being navigated to doesn't match the whitelist.",_e.debug({that:e,message:u,data:{"request-url":i.href,whitelist:n,blacklist:o,handler:a}})}return s},handler:a,method:"GET"}))}return(0,X.default)(t,e),t}(Ee),qe=function(e){function t(e){var r,n=e.regExp,o=e.handler,a=e.method;return(0,le.default)(this,t),c({regExp:n},RegExp),r=(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).call(this,{match:function(e){var t=e.url,o=n.exec(t.href);return o?t.origin!==location.origin&&0!==o.index?(_e.debug({that:r,message:"Skipping route, because the RegExp match didn't occur at the start of the URL.",data:{url:t.href,regExp:n}}),null):o.slice(1):null},handler:o,method:a}))}return(0,X.default)(t,e),t}(Ee),Me=function(){function e(){(0,le.default)(this,e),this._routes=new J.default,this._isListenerRegistered=!1}return(0,de.default)(e,[{key:"addFetchListener",value:function(){var e=this;return this._isListenerRegistered?(_e.warn({that:this,message:"addFetchListener() has already been called for this Router."}),!1):(this._isListenerRegistered=!0,self.addEventListener("fetch",function(t){var r=e.handleRequest({event:t});r&&t.respondWith(r)}),!0)}},{key:"handleRequest",value:function(e){var t=this,r=e.event;c({event:r},FetchEvent);var n=new URL(r.request.url);if(!n.protocol.startsWith("http"))return void _e.log({that:this,message:"The URL does not start with HTTP, so it can't be handled.",data:{request:r.request}});var o=this._findHandlerAndParams({event:r,url:n}),a=o.handler,i=o.params;if(!a&&this.defaultHandler&&(a=this.defaultHandler),a){var u=a.handle({url:n,event:r,params:i});return this.catchHandler&&(u=u.catch(function(e){return t.catchHandler.handle({url:n,event:r,error:e})})),u}}},{key:"_findHandlerAndParams",value:function(e){var t=e.event,r=e.url,n=this._routes.get(t.request.method)||[],o=!0,a=!1,i=void 0;try{for(var u,s=(0,ne.default)(n);!(o=(u=s.next()).done);o=!0){var c=u.value,f=c.match({url:r,event:t});if(f)return _e.log({that:this,message:"The router found a matching route.",data:{route:c,request:t.request}}),Array.isArray(f)&&0===f.length?f=void 0:f.constructor===Object&&0===(0,ae.default)(f).length&&(f=void 0),{params:f,handler:c.handler}}}catch(e){a=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw i}}return{handler:void 0,params:void 0}}},{key:"setDefaultHandler",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.handler;this.defaultHandler=v(t)}},{key:"setCatchHandler",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.handler;this.catchHandler=v(t)}},{key:"registerRoutes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.routes;d({routes:t},Ee);var r=!0,n=!1,o=void 0;try{for(var a,i=(0,ne.default)(t);!(r=(a=i.next()).done);r=!0){var u=a.value;this._routes.has(u.method)||this._routes.set(u.method,[]),this._routes.get(u.method).unshift(u)}}catch(e){n=!0,o=e}finally{try{!r&&i.return&&i.return()}finally{if(n)throw o}}}},{key:"registerRoute",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.route;c({route:t},Ee),this.registerRoutes({routes:[t]})}},{key:"unregisterRoutes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.routes;d({routes:t},Ee);var r=!0,n=!1,o=void 0;try{for(var a,i=(0,ne.default)(t);!(r=(a=i.next()).done);r=!0){var u=a.value;this._routes.has(u.method)||_e.error({that:this,message:"Can't unregister route; there are no "+u.method+"\n routes registered.",data:{route:u}});var s=this._routes.get(u.method).indexOf(u);-1<s?this._routes.get(u.method).splice(s,1):_e.error({that:this,message:"Can't unregister route; the route wasn't previously\n registered.",data:{route:u}})}}catch(e){n=!0,o=e}finally{try{!r&&i.return&&i.return()}finally{if(n)throw o}}}},{key:"unregisterRoute",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.route;c({route:t},Ee),this.unregisterRoutes({routes:[t]})}}]),e}(),De=function(e){function t(e,r){var n;return(0,le.default)(this,t),n=(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).call(this,{handleFetch:r})),n._revisionedCacheName=e,n}return(0,X.default)(t,e),(0,de.default)(t,[{key:"registerRoute",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET";"function"==typeof r&&(r={handle:r});var o=void 0;if("string"==typeof e){if(0===e.length)throw ge.createError("empty-express-string");var a=e.startsWith("http")?new URL(e,location).pathname:e,i=a.match(/[*:?+]/);i&&_e.warn({message:"registerRoute() was called with a string containing an Express-style wildcard character. In the next version of Workbox, Express-style wildcards won't be supported, and strings will be treated a exact matches. Please switch to regular expressions for equivalent behavior.",data:{"Path String":e,"Wildcard Character":i[0],"Learn More":"https://goo.gl/xZMKEV"}}),o=new je({path:e,handler:r,method:n})}else if(e instanceof RegExp)o=new qe({regExp:e,handler:r,method:n});else{if("function"!=typeof e)throw ge.createError("unsupported-route-type");o=new Ee({match:e,handler:r,method:n})}return(0,H.default)(t.prototype.__proto__||(0,z.default)(t.prototype),"registerRoute",this).call(this,{route:o}),o}},{key:"registerNavigationRoute",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)throw ge.createError("navigation-route-url-string");var n="cacheName"in r?r.cacheName:this._revisionedCacheName;(0,H.default)(t.prototype.__proto__||(0,z.default)(t.prototype),"registerRoute",this).call(this,{route:new Te({handler:function(){return caches.match(e,{cacheName:n})},whitelist:r.whitelist||[/./],blacklist:r.blacklist||[]})})}}]),t}(Me),Ae={"multiple-cache-will-update-plugins":"You cannot register more than one plugin that implements cacheWillUpdate.","multiple-cached-response-will-be-used-plugins":"You cannot register more than one plugin that implements cachedResponseWillBeUsed.","invalid-response-for-caching":"The fetched response could not be cached due to an invalid response code.","no-response-received":"No response received; falling back to cache.","bad-cache-id":"The 'cacheId' parameter must be a string with at least one character."},Fe=new pe(Ae),Ie=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.statuses,n=t.headers;(0,le.default)(this,e),u({statuses:r,headers:n}),void 0!==r&&h({statuses:r},"number"),void 0!==n&&l({headers:n},"object"),this.statuses=r,this.headers=n}return(0,de.default)(e,[{key:"isResponseCacheable",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.request,n=t.response;c({response:n},Response);var o=!0;if(this.statuses&&(o=this.statuses.includes(n.status)),this.headers&&o&&(o=(0,ae.default)(this.headers).some(function(t){return n.headers.get(t)===e.headers[t]})),!o){var a={response:n};this.statuses&&(a["valid-status-codes"]=(0,te.default)(this.statuses)),this.headers&&(a["valid-headers"]=(0,te.default)(this.headers)),r&&(a.request=r),_e.debug({message:"The response does not meet the criteria for being added to the\n cache.",data:a})}return o}}]),e}(),Ue=function(e){function t(){return(0,le.default)(this,t),(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).apply(this,arguments))}return(0,X.default)(t,e),(0,de.default)(t,[{key:"cacheWillUpdate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.request,r=e.response;return this.isResponseCacheable({request:t,response:r})}}]),t}(Ie),We=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cacheId,r="workbox-runtime-caching";return t&&(r=t+"-"+r),self&&self.registration&&(r+="-"+self.registration.scope),r},Ge=["cacheDidUpdate","cachedResponseWillBeUsed","cacheWillUpdate","fetchDidFail","requestWillFetch"],Be=function(e){var t=e.response;c({response:t},Response);var r=t.clone();return("body"in r?B.default.resolve(r.body):r.blob()).then(function(e){return new Response(e,{headers:r.headers,status:r.status,statusText:r.statusText})})},Ve=function(e){return function(){var t=e.apply(this,arguments);return new B.default(function(e,r){function n(o,a){try{var i=t[o](a),u=i.value}catch(e){return void r(e)}if(!i.done)return B.default.resolve(u).then(function(e){n("next",e)},function(e){n("throw",e)});e(u)}return n("next")})}},He=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.cacheName,o=r.cacheId,a=r.plugins,i=r.fetchOptions,u=r.matchOptions;if((0,le.default)(this,e),o&&("string"!=typeof o||0===o.length))throw Fe.createError("bad-cache-id");n?(l({cacheName:n},"string"),this.cacheName=n,o&&(this.cacheName=o+"-"+this.cacheName)):this.cacheName=We({cacheId:o}),i&&(l({fetchOptions:i},"object"),this.fetchOptions=i),u&&(l({matchOptions:u},"object"),this.matchOptions=u),this.plugins=new J.default,a&&(h({plugins:a},"object"),a.forEach(function(e){var r=!0,n=!1,o=void 0;try{for(var a,i=(0,ne.default)(Ge);!(r=(a=i.next()).done);r=!0){var u=a.value;if("function"==typeof e[u]){if(t.plugins.has(u)){if("cacheWillUpdate"===u)throw Fe.createError("multiple-cache-will-update-plugins");if("cachedResponseWillBeUsed"===u)throw Fe.createError("multiple-cached-response-will-be-used-plugins")}else t.plugins.set(u,[]);t.plugins.get(u).push(e)}}}catch(e){n=!0,o=e}finally{try{!r&&i.return&&i.return()}finally{if(n)throw o}}})),this.plugins.has("cacheWillUpdate")&&(this._userSpecifiedCachableResponsePlugin=this.plugins.get("cacheWillUpdate")[0])}return(0,de.default)(e,[{key:"getDefaultCacheableResponsePlugin",value:function(){return this._defaultCacheableResponsePlugin||(this._defaultCacheableResponsePlugin=new Ue({statuses:[200]})),this._defaultCacheableResponsePlugin}},{key:"getCache",value:function(){var e=this;return Ve(W.default.mark(function t(){return W.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=e._cache,t.t0){t.next=5;break}return t.next=4,caches.open(e.cacheName);case 4:e._cache=t.sent;case 5:return t.abrupt("return",e._cache);case 6:case"end":return t.stop()}},t,this)}))()}},{key:"match",value:function(e){var t=e.request,r=this;return Ve(W.default.mark(function e(){var n,o,a;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u({request:t}),e.next=3,r.getCache();case 3:return n=e.sent,e.next=6,n.match(t,r.matchOptions);case 6:if(o=e.sent,!r.plugins.has("cachedResponseWillBeUsed")){e.next=12;break}return a=r.plugins.get("cachedResponseWillBeUsed")[0],e.next=11,a.cachedResponseWillBeUsed({request:t,cache:n,cachedResponse:o,matchOptions:r.matchOptions,cacheName:r.cacheName});case 11:o=e.sent;case 12:return e.abrupt("return",o);case 13:case"end":return e.stop()}},e,this)}))()}},{key:"fetch",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){var t=e.request,r=this;return Ve(W.default.mark(function e(){var n,o,a,i,u,s,f,l,h,d,p,v,g,m;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("string"==typeof t?t=new Request(t):c({request:t},Request),n=r.plugins.has("fetchDidFail")?t.clone():null,!r.plugins.has("requestWillFetch")){e.next=31;break}o=!0,a=!1,i=void 0,e.prev=6,u=(0,ne.default)(r.plugins.get("requestWillFetch"));case 8:if(o=(s=u.next()).done){e.next=17;break}return f=s.value,e.next=12,f.requestWillFetch({request:t});case 12:l=e.sent,c({returnedRequest:l},Request),t=l;case 14:o=!0,e.next=8;break;case 17:e.next=23;break;case 19:e.prev=19,e.t0=e.catch(6),a=!0,i=e.t0;case 23:e.prev=23,e.prev=24,!o&&u.return&&u.return();case 26:if(e.prev=26,!a){e.next=29;break}throw i;case 29:return e.finish(26);case 30:return e.finish(23);case 31:return e.prev=31,e.next=34,fetch(t,r.fetchOptions);case 34:return e.abrupt("return",e.sent);case 37:if(e.prev=37,e.t1=e.catch(31),!r.plugins.has("fetchDidFail")){e.next=66;break}h=!0,d=!1,p=void 0,e.prev=43,v=(0,ne.default)(r.plugins.get("fetchDidFail"));case 45:if(h=(g=v.next()).done){e.next=52;break}return m=g.value,e.next=49,m.fetchDidFail({request:n.clone()});case 49:h=!0,e.next=45;break;case 52:e.next=58;break;case 54:e.prev=54,e.t2=e.catch(43),d=!0,p=e.t2;case 58:e.prev=58,e.prev=59,!h&&v.return&&v.return();case 61:if(e.prev=61,!d){e.next=64;break}throw p;case 64:return e.finish(61);case 65:return e.finish(58);case 66:throw e.t1;case 67:case"end":return e.stop()}},e,this,[[6,19,23,31],[24,,26,30],[31,37],[43,54,58,66],[59,,61,65]])}))()})},{key:"fetchAndCache",value:function(e){var t=e.request,r=e.waitOnCache,n=e.cacheKey,o=e.cacheResponsePlugin,a=e.cleanRedirects,i=this;return Ve(W.default.mark(function e(){var s,c,f,l,h;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return u({request:t}),s=void 0,e.next=4,i.fetch({request:t});case 4:return c=e.sent,f=i._userSpecifiedCachableResponsePlugin||o||i.getDefaultCacheableResponsePlugin(),e.next=8,f.cacheWillUpdate({request:t,response:c});case 8:if(!(l=e.sent)){e.next=21;break}if(!a||!c.redirected){e.next=16;break}return e.next=13,Be({response:c});case 13:e.t0=e.sent,e.next=17;break;case 16:e.t0=c.clone();case 17:h=e.t0,s=i.getCache().then(function(){var e=Ve(W.default.mark(function e(r){var o,a,u,s,f,l,d,p;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=void 0,a=n||t,e.t0="opaque"!==c.type&&i.plugins.has("cacheDidUpdate"),!e.t0){e.next=7;break}return e.next=6,i.match({request:a});case 6:o=e.sent;case 7:return e.next=9,r.put(a,h);case 9:if(!i.plugins.has("cacheDidUpdate")){e.next=36;break}u=!0,s=!1,f=void 0,e.prev=13,l=(0,ne.default)(i.plugins.get("cacheDidUpdate"));case 15:if(u=(d=l.next()).done){e.next=22;break}return p=d.value,e.next=19,p.cacheDidUpdate({cacheName:i.cacheName,oldResponse:o,newResponse:h,url:"url"in a?a.url:a});case 19:u=!0,e.next=15;break;case 22:e.next=28;break;case 24:e.prev=24,e.t1=e.catch(13),s=!0,f=e.t1;case 28:e.prev=28,e.prev=29,!u&&l.return&&l.return();case 31:if(e.prev=31,!s){e.next=34;break}throw f;case 34:return e.finish(31);case 35:return e.finish(28);case 36:case"end":return e.stop()}},e,this,[[13,24,28,36],[29,,31,35]])}));return function(){return e.apply(this,arguments)}}()),e.next=23;break;case 21:if(l||!r){e.next=23;break}throw Fe.createError("invalid-response-for-caching");case 23:if(e.t1=r&&s,!e.t1){e.next=27;break}return e.next=27,s;case 27:return e.abrupt("return",c);case 28:case"end":return e.stop()}},e,this)}))()}}]),e}(),Ke=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.requestWrapper,n=t.waitOnCache;(0,le.default)(this,e),this.requestWrapper=r||new He,this.waitOnCache=!!n}return(0,de.default)(e,[{key:"handle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.event,e.params;throw Error("This abstract method must be implemented in a subclass.")}}]),e}(),Je=function(e){function t(){return(0,le.default)(this,t),(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).apply(this,arguments))}return(0,X.default)(t,e),(0,de.default)(t,[{key:"handle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event,r=this;return Ve(W.default.mark(function e(){var n;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c({event:t},FetchEvent),e.next=3,r.requestWrapper.match({request:t.request});case 3:if(n=e.sent,e.t0=n,e.t0){e.next=9;break}return e.next=8,r.requestWrapper.fetchAndCache({request:t.request,waitOnCache:r.waitOnCache});case 8:e.t0=e.sent;case 9:return e.abrupt("return",e.t0);case 10:case"end":return e.stop()}},e,this)}))()}}]),t}(Ke),$e=function(e){function t(){return(0,le.default)(this,t),(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).apply(this,arguments))}return(0,X.default)(t,e),(0,de.default)(t,[{key:"handle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event,r=this;return Ve(W.default.mark(function e(){return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c({event:t},FetchEvent),e.next=3,r.requestWrapper.match({request:t.request});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)}))()}}]),t}(Ke),ze=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,le.default)(this,t),e=(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).call(this,r)),e._cacheablePlugin=new Ue({statuses:[0,200]});var n=r.networkTimeoutSeconds;return n&&(l({networkTimeoutSeconds:n},"number"),e.networkTimeoutSeconds=n),e}return(0,X.default)(t,e),(0,de.default)(t,[{key:"handle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event,r=this;return Ve(W.default.mark(function e(){var n,o,a;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c({event:t},FetchEvent),n=[],o=void 0,r.networkTimeoutSeconds&&n.push(new B.default(function(e){o=setTimeout(function(){e(r.requestWrapper.match({request:t.request}))},1e3*r.networkTimeoutSeconds)})),a=r.requestWrapper.fetchAndCache({request:t.request,waitOnCache:r.waitOnCache,cacheResponsePlugin:r._cacheablePlugin}).then(function(e){return o&&clearTimeout(o),e||B.default.reject(Fe.createError("no-response-received"))}).catch(function(){return r.requestWrapper.match({request:t.request})}),e.abrupt("return",(n.push(a),B.default.race(n)));case 6:case"end":return e.stop()}},e,this)}))()}}]),t}(Ke),Ye=function(e){function t(){return(0,le.default)(this,t),(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).apply(this,arguments))}return(0,X.default)(t,e),(0,de.default)(t,[{key:"handle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event,r=this;return Ve(W.default.mark(function e(){return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c({event:t},FetchEvent),e.next=3,r.requestWrapper.fetch({request:t.request});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e,this)}))()}}]),t}(Ke),Qe=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,le.default)(this,t),e=(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).call(this,r)),e._cacheablePlugin=new Ue({statuses:[0,200]}),e}return(0,X.default)(t,e),(0,de.default)(t,[{key:"handle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event,r=this;return Ve(W.default.mark(function e(){var n,o;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c({event:t},FetchEvent),n=r.requestWrapper.fetchAndCache({request:t.request,waitOnCache:r.waitOnCache,cacheResponsePlugin:r._cacheablePlugin}).catch(function(){return Response.error()}),e.next=4,r.requestWrapper.match({request:t.request});case 4:if(o=e.sent,e.t0=o,e.t0){e.next=10;break}return e.next=9,n;case 9:e.t0=e.sent;case 10:return e.abrupt("return",e.t0);case 11:case"end":return e.stop()}},e,this)}))()}}]),t}(Ke),Ze="workbox-cache-expiration";self&&self.registration&&(Ze+="-"+self.registration.scope);var Xe=Ze,et=function(e,t){return t={exports:{}},e(t,t.exports),t.exports}(function(e){!function(){function t(e){return Array.prototype.slice.call(e)}function r(e){return new B.default(function(t,r){e.onsuccess=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function n(e,t,n){var o,a=new B.default(function(a,i){o=e[t].apply(e,n),r(o).then(a,i)});return a.request=o,a}function o(e,t,r){var o=n(e,t,r);return o.then(function(e){return e?new f(e,o.request):void 0})}function a(e,t,r){r.forEach(function(r){(0,I.default)(e.prototype,r,{get:function(){return this[t][r]},set:function(e){this[t][r]=e}})})}function i(e,t,r,o){o.forEach(function(o){o in r.prototype&&(e.prototype[o]=function(){return n(this[t],o,arguments)})})}function u(e,t,r,n){n.forEach(function(n){n in r.prototype&&(e.prototype[n]=function(){return this[t][n].apply(this[t],arguments)})})}function s(e,t,r,n){n.forEach(function(n){n in r.prototype&&(e.prototype[n]=function(){return o(this[t],n,arguments)})})}function c(e){this._index=e}function f(e,t){this._cursor=e,this._request=t}function l(e){this._store=e}function h(e){this._tx=e,this.complete=new B.default(function(t,r){e.oncomplete=function(){t()},e.onerror=function(){r(e.error)},e.onabort=function(){r(e.error)}})}function d(e,t,r){this._db=e,this.oldVersion=t,this.transaction=new h(r)}function p(e){this._db=e}a(c,"_index",["name","keyPath","multiEntry","unique"]),i(c,"_index",IDBIndex,["get","getKey","getAll","getAllKeys","count"]),s(c,"_index",IDBIndex,["openCursor","openKeyCursor"]),a(f,"_cursor",["direction","key","primaryKey","value"]),i(f,"_cursor",IDBCursor,["update","delete"]),["advance","continue","continuePrimaryKey"].forEach(function(e){e in IDBCursor.prototype&&(f.prototype[e]=function(){var t=this,n=arguments;return B.default.resolve().then(function(){return t._cursor[e].apply(t._cursor,n),r(t._request).then(function(e){return e?new f(e,t._request):void 0})})})}),l.prototype.createIndex=function(){return new c(this._store.createIndex.apply(this._store,arguments))},l.prototype.index=function(){return new c(this._store.index.apply(this._store,arguments))},a(l,"_store",["name","keyPath","indexNames","autoIncrement"]),i(l,"_store",IDBObjectStore,["put","add","delete","clear","get","getAll","getKey","getAllKeys","count"]),s(l,"_store",IDBObjectStore,["openCursor","openKeyCursor"]),u(l,"_store",IDBObjectStore,["deleteIndex"]),h.prototype.objectStore=function(){return new l(this._tx.objectStore.apply(this._tx,arguments))},a(h,"_tx",["objectStoreNames","mode"]),u(h,"_tx",IDBTransaction,["abort"]),d.prototype.createObjectStore=function(){return new l(this._db.createObjectStore.apply(this._db,arguments))},a(d,"_db",["name","version","objectStoreNames"]),u(d,"_db",IDBDatabase,["deleteObjectStore","close"]),p.prototype.transaction=function(){return new h(this._db.transaction.apply(this._db,arguments))},a(p,"_db",["name","version","objectStoreNames"]),u(p,"_db",IDBDatabase,["close"]),["openCursor","openKeyCursor"].forEach(function(e){[l,c].forEach(function(r){r.prototype[e.replace("open","iterate")]=function(){var r=t(arguments),n=r[r.length-1],o=this._store||this._index,a=o[e].apply(o,r.slice(0,-1));a.onsuccess=function(){n(a.result)}}})}),[c,l].forEach(function(e){e.prototype.getAll||(e.prototype.getAll=function(e,t){var r=this,n=[];return new B.default(function(o){r.iterateCursor(e,function(e){return e?(n.push(e.value),void 0!==t&&n.length==t?void o(n):void e.continue()):void o(n)})})})});var v={open:function(e,t,r){var o=n(indexedDB,"open",[e,t]),a=o.request;return a.onupgradeneeded=function(e){r&&r(new d(a.result,e.oldVersion,a.transaction))},o.then(function(e){return new p(e)})},delete:function(e){return n(indexedDB,"deleteDatabase",[e])}};e.exports=v,e.exports.default=e.exports}()}),tt={"max-entries-or-age-required":"Either the maxEntries or maxAgeSeconds\n parameters (or both) are required when constructing Plugin.","max-entries-must-be-number":"The maxEntries parameter to the Plugin\n constructor must either be a number or undefined.","max-age-seconds-must-be-number":"The maxAgeSeconds parameter to the Plugin\n constructor must either be a number or undefined."},rt=new pe(tt),nt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.maxEntries,n=t.maxAgeSeconds;if((0,le.default)(this,e),!r&&!n)throw rt.createError("max-entries-or-age-required");if(r&&"number"!=typeof r)throw rt.createError("max-entries-must-be-number");if(n&&"number"!=typeof n)throw rt.createError("max-age-seconds-must-be-number");this.maxEntries=r,this.maxAgeSeconds=n,this._dbs=new J.default,this._caches=new J.default,this._expirationMutex=!1,this._timestampForNextRun=null}return(0,de.default)(e,[{key:"getDB",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cacheName,r=this;return Ve(W.default.mark(function e(){var n,o;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l({cacheName:t},"string"),n=Xe+"-"+t,r._dbs.has(n)){e.next=7;break}return e.next=5,et.open(n,1,function(e){e.createObjectStore(t,{keyPath:"url"}).createIndex("timestamp","timestamp",{unique:!1})});case 5:o=e.sent,r._dbs.set(n,o);case 7:return e.abrupt("return",r._dbs.get(n));case 8:case"end":return e.stop()}},e,this)}))()}},{key:"getCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cacheName,r=this;return Ve(W.default.mark(function e(){var n;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l({cacheName:t},"string"),!!r._caches.has(t)){e.next=5;break}return e.next=3,caches.open(t);case 3:n=e.sent,r._caches.set(t,n);case 5:return e.abrupt("return",r._caches.get(t));case 6:case"end":return e.stop()}},e,this)}))()}},{key:"isResponseFresh",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cacheName,r=e.cachedResponse,n=e.now;if(r&&this.maxAgeSeconds){c({cachedResponse:r},Response);var o=r.headers.get("date");if(o){void 0===n&&(n=Date.now());var a=new Date(o),i=a.getTime();return!!isNaN(i)||i+1e3*this.maxAgeSeconds>n}return this.expireEntries({cacheName:t,now:n}),!0}return!0}},{key:"updateTimestamp",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cacheName,r=e.url,n=e.now,o=this;return Ve(W.default.mark(function e(){var a,i,u,s;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return l({url:r},"string"),l({cacheName:t},"string"),i=new URL(r,location),i.hash="",void 0===n&&(n=Date.now()),e.next=5,o.getDB({cacheName:t});case 5:return u=e.sent,s=u.transaction(t,"readwrite"),s.objectStore(t).put((a={},(0,A.default)(a,"timestamp",n),(0,A.default)(a,"url",i.href),a)),e.next=10,s.complete;case 10:case"end":return e.stop()}},e,this)}))()}},{key:"expireEntries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cacheName,r=e.now,n=this;return Ve(W.default.mark(function e(){var o,a,i,u;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!n._expirationMutex){e.next=2;break}return e.abrupt("return",void(n._timestampForNextRun=r));case 2:if(n._expirationMutex=!0,l({cacheName:t},"string"),void 0===r&&(r=Date.now()),!n.maxAgeSeconds){e.next=9;break}return e.next=6,n.findOldEntries({cacheName:t,now:r});case 6:e.t0=e.sent,e.next=10;break;case 9:e.t0=[];case 10:if(o=e.t0,!n.maxEntries){e.next=17;break}return e.next=14,n.findExtraEntries({cacheName:t});case 14:e.t1=e.sent,e.next=18;break;case 17:e.t1=[];case 18:return a=e.t1,i=[].concat((0,ce.default)(new M.default(o.concat(a)))),e.next=22,n.deleteFromCacheAndIDB({cacheName:t,urls:i});case 22:if(0<i.length&&_e.debug({that:n,message:"Expired entries have been removed from the cache.",data:{cacheName:t,urls:i}}),n._expirationMutex=!1,!n._timestampForNextRun){e.next=27;break}return u=n._timestampForNextRun,e.abrupt("return",(n._timestampForNextRun=null,n.expireEntries({cacheName:t,now:u})));case 27:case"end":return e.stop()}},e,this)}))()}},{key:"findOldEntries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cacheName,r=e.now,n=this;return Ve(W.default.mark(function e(){var o,a,i,u,s,c;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return l({cacheName:t},"string"),l({now:r},"number"),o=r-1e3*n.maxAgeSeconds,a=[],e.next=5,n.getDB({cacheName:t});case 5:return i=e.sent,u=i.transaction(t,"readonly"),s=u.objectStore(t),c=s.index("timestamp"),c.iterateCursor(function(e){e&&(e.value.timestamp<o&&a.push(e.value.url),e.continue())}),e.next=12,u.complete;case 12:return e.abrupt("return",a);case 13:case"end":return e.stop()}},e,this)}))()}},{key:"findExtraEntries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cacheName,r=this;return Ve(W.default.mark(function e(){var n,o,a,i,u,s;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return l({cacheName:t},"string"),n=[],e.next=4,r.getDB({cacheName:t});case 4:return o=e.sent,a=o.transaction(t,"readonly"),i=a.objectStore(t),u=i.index("timestamp"),e.next=8,u.count();case 8:return s=e.sent,s>r.maxEntries&&(a=o.transaction(t,"readonly"),i=a.objectStore(t),u=i.index("timestamp"),u.iterateCursor(function(e){e&&(n.push(e.value.url),s-n.length>r.maxEntries&&e.continue())})),e.next=12,a.complete;case 12:return e.abrupt("return",n);case 13:case"end":return e.stop()}},e,this)}))()}},{key:"deleteFromCacheAndIDB",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cacheName,r=e.urls,n=this;return Ve(W.default.mark(function e(){var o,a,i,u,s,c,f,d,p,v;return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l({cacheName:t},"string"),h({urls:r},"string"),!(0<r.length)){e.next=37;break}return e.next=3,n.getCache({cacheName:t});case 3:return o=e.sent,e.next=6,n.getDB({cacheName:t});case 6:a=e.sent,i=!0,u=!1,s=void 0,e.prev=10,c=(0,ne.default)(r);case 12:if(i=(f=c.next()).done){e.next=23;break}return d=f.value,e.next=16,o.delete(d);case 16:return p=a.transaction(t,"readwrite"),v=p.objectStore(t),v.delete(d),e.next=20,p.complete;case 20:i=!0,e.next=12;break;case 23:e.next=29;break;case 25:e.prev=25,e.t0=e.catch(10),u=!0,s=e.t0;case 29:e.prev=29,e.prev=30,!i&&c.return&&c.return();case 32:if(e.prev=32,!u){e.next=35;break}throw s;case 35:return e.finish(32);case 36:return e.finish(29);case 37:case"end":return e.stop()}},e,this,[[10,25,29,37],[30,,32,36]])}))()}}]),e}(),ot=function(e){function t(){return(0,le.default)(this,t),(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).apply(this,arguments))}return(0,X.default)(t,e),(0,de.default)(t,[{key:"cachedResponseWillBeUsed",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cacheName,r=e.cachedResponse,n=e.now;return this.isResponseFresh({cacheName:t,cachedResponse:r,now:n})?r:null}},{key:"cacheDidUpdate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.cacheName,r=e.newResponse,n=e.url,o=e.now,a=this;return Ve(W.default.mark(function e(){return W.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return l({cacheName:t},"string"),c({newResponse:r},Response),void 0===o&&(o=Date.now()),e.next=5,a.updateTimestamp({cacheName:t,url:n,now:o});case 5:return e.next=7,a.expireEntries({cacheName:t,now:o});case 7:case"end":return e.stop()}},e,this)}))()}}]),t}(nt),at={"channel-name-required":"The channelName parameter is required when\n constructing a new BroadcastCacheUpdate instance.","responses-are-same-parameters-required":"The first, second, and\n headersToCheck parameters must be valid when calling responsesAreSame()"},it=new pe(at),ut="CACHE_UPDATED",st=["content-length","etag","last-modified"],ct="workbox-broadcast-cache-update",ft=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.channelName,n=t.headersToCheck,o=t.source;if((0,le.default)(this,e),"string"!=typeof r||0===r.length)throw it.createError("channel-name-required");this.channelName=r,this.headersToCheck=n||st,this.source=o||ct}return(0,de.default)(e,[{key:"notifyIfUpdated",value:function(e){var t=e.first,r=e.second,n=e.cacheName,o=e.url;l({cacheName:n},"string"),P({first:t,second:r,headersToCheck:this.headersToCheck})||N({cacheName:n,url:o,channel:this.channel,source:this.source})}},{key:"channel",get:function(){return this._channel||(this._channel=new BroadcastChannel(this.channelName)),this._channel}}]),e}(),lt=function(e){function t(){return(0,le.default)(this,t),(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).apply(this,arguments))}return(0,X.default)(t,e),(0,de.default)(t,[{key:"cacheDidUpdate",value:function(e){var t=e.cacheName,r=e.oldResponse,n=e.newResponse,o=e.url;l({cacheName:t},"string"),c({newResponse:n},Response),r&&this.notifyIfUpdated({cacheName:t,first:r,second:n,url:o})}}]),t}(ft),ht=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.cacheId;(0,le.default)(this,e),this._cacheId=r}return(0,de.default)(e,[{key:"cacheFirst",value:function(e){return this._getCachingMechanism(Je,e)}},{key:"cacheOnly",value:function(e){return this._getCachingMechanism($e,e)}},{key:"networkFirst",value:function(e){return this._getCachingMechanism(ze,e)}},{key:"networkOnly",value:function(e){return this._getCachingMechanism(Ye,e)}},{key:"staleWhileRevalidate",value:function(e){return this._getCachingMechanism(Qe,e)}},{key:"_getCachingMechanism",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={cacheExpiration:ot,broadcastCacheUpdate:lt,cacheableResponse:Ue},n={plugins:[]};return t.excludeCacheId||(n.cacheId=this._cacheId),t.cacheName&&(n.cacheName=t.cacheName),(0,ae.default)(r).forEach(function(e){if(t[e]){var o=r[e],a=t[e];n.plugins.push(new o(a))}}),t.plugins&&t.plugins.forEach(function(e){n.plugins.push(e)}),t.requestWrapper=new He(n),new e(t)}}]),e}(),dt=function(e,t){var r="An error was thrown by workbox with error code: ;'"+e+"'";return t&&(r+=" with extras: '"+(0,te.default)(t)+"'"),r},pt=function(e){function t(e,r){var n;return(0,le.default)(this,t),n=(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).call(this)),n.name=e,n.message=dt(e,r),r&&(n.extras=r),n}return(0,X.default)(t,e),t}(Error),vt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.cacheName,n=t.cacheId,o=t.plugins;if((0,le.default)(this,e),n&&("string"!=typeof n||0===n.length))throw new pt("bad-cache-id",{cacheId:n});this._entriesToCache=new J.default,this._requestWrapper=new He({cacheName:r,cacheId:n,plugins:o,fetchOptions:{credentials:"same-origin"}})}return(0,de.default)(e,[{key:"_addEntries",value:function(e){var t=this;this._parsedCacheUrls=null,e.forEach(function(e){t._addEntryToInstallList(t._parseEntry(e))})}},{key:"getCacheName",value:function(){return this._requestWrapper.cacheName}},{key:"getCachedUrls",value:function(){return this._parsedCacheUrls||(this._parsedCacheUrls=(0,T.default)(this._entriesToCache.keys()).map(function(e){return new URL(e,location).href})),this._parsedCacheUrls}},{key:"_addEntryToInstallList",value:function(e){var t=e.entryID,r=this._entriesToCache.get(e.entryID);return r?void this._onDuplicateInstallEntryFound(e,r):void this._entriesToCache.set(t,e)}},{key:"install",value:function(){var e=this;return Ve(W.default.mark(function t(){var r;return W.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==e._entriesToCache.size){t.next=2;break}return t.abrupt("return",[]);case 2:return r=[],t.abrupt("return",(e._entriesToCache.forEach(function(t){r.push(e._cacheEntry(t))}),B.default.all(r)));case 4:case"end":return t.stop()}},t,this)}))()}},{key:"_cacheEntry",value:function(e){var t=this;return Ve(W.default.mark(function r(){var n,o;return W.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,t._isAlreadyCached(e);case 2:if(n=r.sent,o={url:e.request.url,revision:e.revision,wasUpdated:!n},!n){r.next=6;break}return r.abrupt("return",o);case 6:return r.prev=6,r.next=9,t._requestWrapper.fetchAndCache({request:e.getNetworkRequest(),waitOnCache:!0,cacheKey:e.request,cleanRedirects:!0});case 9:return r.next=11,t._onEntryCached(e);case 11:return r.abrupt("return",o);case 14:throw r.prev=14,r.t0=r.catch(6),new pt("request-not-cached",{url:e.request.url,error:r.t0});case 17:case"end":return r.stop()}},r,this,[[6,14]])}))()}},{key:"cleanup",value:function(){var e=this;return Ve(W.default.mark(function t(){var r,n,o,a;return W.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,caches.has(e.getCacheName());case 2:if(t.sent){t.next=4;break}return t.abrupt("return");case 4:return r=[],e._entriesToCache.forEach(function(e){r.push(e.request.url)}),t.next=8,e._getCache();case 8:return n=t.sent,t.next=11,n.keys();case 11:return o=t.sent,a=o.filter(function(e){return!r.includes(e.url)}),t.abrupt("return",B.default.all(a.map(function(){var t=Ve(W.default.mark(function t(r){return W.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.delete(r);case 2:return t.next=4,e._onEntryDeleted(r.url);case 4:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}())));case 14:case"end":return t.stop()}},t,this)}))()}},{key:"_getCache",value:function(){var e=this;return Ve(W.default.mark(function t(){return W.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=e._cache,t.t0){t.next=5;break}return t.next=4,caches.open(e.getCacheName());case 4:e._cache=t.sent;case 5:return t.abrupt("return",e._cache);case 6:case"end":return t.stop()}},t,this)}))()}},{key:"_parseEntry",value:function(){throw new pt("requires-overriding")}},{key:"_onDuplicateEntryFound",value:function(){throw new pt("requires-overriding")}},{key:"_isAlreadyCached",value:function(){throw new pt("requires-overriding")}},{key:"_onEntryCached",value:function(){throw new pt("requires-overriding")}},{key:"_onEntryDeleted",value:function(){throw new pt("requires-overriding")}}]),e}(),gt=function(){function e(t,r,n){if((0,le.default)(this,e),void 0==t||void 0==r||void 0==n)throw Error("name, version, storeName must be passed to the constructor.");this._name=t,this._version=r,this._storeName=n}return(0,de.default)(e,[{key:"_getDb",value:function(){var e=this;return this._dbPromise?this._dbPromise:(this._dbPromise=et.open(this._name,this._version,function(t){t.createObjectStore(e._storeName)}).then(function(e){return e}),this._dbPromise)}},{key:"close",value:function(){var e=this;return this._dbPromise?this._dbPromise.then(function(t){t.close(),e._dbPromise=null}):void 0}},{key:"put",value:function(e,t){var r=this;return this._getDb().then(function(n){var o=n.transaction(r._storeName,"readwrite");return o.objectStore(r._storeName).put(t,e),o.complete})}},{key:"delete",value:function(e){var t=this;return this._getDb().then(function(r){var n=r.transaction(t._storeName,"readwrite");return n.objectStore(t._storeName).delete(e),n.complete})}},{key:"get",value:function(e){var t=this;return this._getDb().then(function(r){return r.transaction(t._storeName).objectStore(t._storeName).get(e)})}},{key:"getAllValues",value:function(){var e=this;return this._getDb().then(function(t){return t.transaction(e._storeName).objectStore(e._storeName).getAll()})}},{key:"getAllKeys",value:function(){var e=this;return this._getDb().then(function(t){return t.transaction(e._storeName).objectStore(e._storeName).getAllKeys()})}}]),e}(),mt="workbox-precaching",yt="1",_t="asset-revisions",wt="workbox-precaching-revisioned-v1";self&&self.registration&&(wt+="-"+self.registration.scope);var xt=wt,bt=function(){function e(){(0,le.default)(this,e),this._idbHelper=new gt(mt,yt,_t)}return(0,de.default)(e,[{key:"get",value:function(e){return this._idbHelper.get(e)}},{key:"put",value:function(e,t){return this._idbHelper.put(e,t)}},{key:"delete",value:function(e){return this._idbHelper.delete(e)}},{key:"_close",value:function(){this._idbHelper.close()}}]),e}(),kt=function(){function e(t){var r=t.entryID,n=t.revision,o=t.request,a=t.cacheBust;(0,le.default)(this,e),this.entryID=r,this.revision=n,this.request=o,this.cacheBust=a}return(0,de.default)(e,[{key:"getNetworkRequest",value:function(){if(!0!==this.cacheBust)return this.request;var e=this.request.url,t={};if(!0===this.cacheBust)if("cache"in Request.prototype)t.cache="reload";else{var r=new URL(e,location);r.search+=(r.search?"&":"")+encodeURIComponent("_workbox-precaching")+"="+encodeURIComponent(this.revision),e=r.toString()}return new Request(e,t)}}]),e}(),Et=function(e){function t(e){if((0,le.default)(this,t),l({url:e},"string"),0===e.length)throw new pt("invalid-string-entry",{url:e});return(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).call(this,{entryID:e,revision:e,request:new Request(e),cacheBust:!1}))}return(0,X.default)(t,e),t}(kt),Lt=function(e){function t(e){var r=e.entryID,n=e.revision,o=e.url,a=e.cacheBust;if((0,le.default)(this,t),void 0!==n&&(l({revision:n},"string"),0===n.length))throw new pt("invalid-object-entry",{problemParam:"revision",problemValue:n});if(void 0===a&&(a=!!n),l({cacheBust:a},"boolean"),l({url:o},"string"),0===o.length)throw new pt("invalid-object-entry",{problemParam:"url",problemValue:o});if(void 0===r)r=new URL(o,location).toString();else if(0===r.length)throw new pt("invalid-object-entry",{problemParam:"entryID",problemValue:r});return(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).call(this,{entryID:r,revision:n||o,request:new Request(o),cacheBust:a}))}return(0,X.default)(t,e),t}(kt),St=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,le.default)(this,t),r.cacheName=r.cacheName||xt,e=(0,Q.default)(this,(t.__proto__||(0,z.default)(t)).call(this,r)),e._revisionDetailsModel=new bt,e}return(0,X.default)(t,e),(0,de.default)(t,[{key:"addToCacheList",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.revisionedFiles;c({revisionedFiles:r},Array),(0,H.default)(t.prototype.__proto__||(0,z.default)(t.prototype),"_addEntries",this).call(this,r);var n=r.filter(function(e){return"string"==typeof e||!e.revision});0<n.length&&_e.debug({that:this,message:"Some precache entries are URLs without separate revision\n fields. If the URLs themselves do not contain revisioning info,\n like a hash or a version number, your users won't receive updates.",data:{"URLs without revision fields":(0,te.default)(n),"Examples of safe, versioned URLs":"'/path/file.abcd1234.css' or '/v1.0.0/file.js'","Examples of dangerous, unversioned URLs":"'index.html' or '/path/file.css' or '/latest/file.js'"}})}},{key:"_parseEntry",value:function(e){if(null===e)throw new pt("unexpected-precache-entry",{input:e});var t=void 0;switch(void 0===e?"undefined":(0,ue.default)(e)){case"string":t=new Et(e);break;case"object":t=new Lt(e);break;default:throw new pt("unexpected-precache-entry",{input:e})}return t}},{key:"_onDuplicateInstallEntryFound",value:function(e,t){if(t.revision!==e.revision)throw new pt("duplicate-entry-diff-revisions",{firstEntry:{url:t.request.url,revision:t.revision},secondEntry:{url:e.request.url,revision:e.revision}})}},{key:"_isAlreadyCached",value:function(e){var t=this;return Ve(W.default.mark(function r(){var n,o,a;return W.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,t._revisionDetailsModel.get(e.entryID);case 2:if((n=r.sent)===e.revision){r.next=5;break}return r.abrupt("return",!1);case 5:return r.next=7,t._getCache();case 7:return o=r.sent,r.next=10,o.match(e.request);case 10:return a=r.sent,r.abrupt("return",!!a);case 12:case"end":return r.stop()}},r,this)}))()}},{key:"_onEntryCached",value:function(e){var t=this;return Ve(W.default.mark(function r(){return W.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,t._revisionDetailsModel.put(e.entryID,e.revision);case 2:case"end":return r.stop()}},r,this)}))()}},{key:"_onEntryDeleted",value:function(e){var t=this;return Ve(W.default.mark(function r(){return W.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,t._revisionDetailsModel.delete(e);case 2:case"end":return r.stop()}},r,this)}))()}},{key:"_close",value:function(){this._revisionDetailsModel._close()}},{key:"cleanup",value:function(){var e=this;return(0,H.default)(t.prototype.__proto__||(0,z.default)(t.prototype),"cleanup",this).call(this).then(function(){return e._close()})}},{key:"_createLogFriendlyString",value:function(e){var t="\n";return e.forEach(function(e){t+=" URL: '"+e.url+"' Revision: '"+e.revision+"'\n"}),t}},{key:"install",value:function(){var e=this;return(0,H.default)(t.prototype.__proto__||(0,z.default)(t.prototype),"install",this).call(this).then(function(t){var r=[],n=[];t.forEach(function(e){e.wasUpdated?r.push({url:e.url,revision:e.revision}):n.push({url:e.url,revision:e.revision})});var o={};return 0<r.length&&(o["New / Updated Precache URL's"]=e._createLogFriendlyString(r)),0<n.length&&(o["Up-to-date Precache URL's"]=e._createLogFriendlyString(n)),_e.log({message:"Precache Details: "+r.length+" requests were added or updated and "+n.length+" request are already cached and up-to-date.",data:o}),t})}}]),t}(vt);if(!o())throw new pt("not-in-sw");var Rt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.cacheId,n=t.skipWaiting,u=t.clientsClaim,s=t.handleFetch,c=void 0===s||s,f=t.directoryIndex,l=void 0===f?"index.html":f,h=t.precacheChannelName,d=void 0===h?"precache-updates":h,p=t.ignoreUrlParametersMatching,v=void 0===p?[/^utm_/]:p;if((0,le.default)(this,e),!o())throw ge.createError("not-in-sw");if(a()&&(i()?_e.debug({message:"Welcome to Workbox!",data:{"📖":"Read the guides and documentation\nhttps://workboxjs.org/","❓":"Use the [workbox] tag on StackOverflow to ask questions\nhttps://stackoverflow.com/questions/ask?tags=workbox","🐛":"Found a bug? Report it on GitHub\nhttps://github.com/GoogleChrome/workbox/issues/new"}}):_e.warn("This appears to be a production server. Please switch\n to the smaller, optimized production build of Workbox.")),r&&("string"!=typeof r||0===r.length))throw ge.createError("bad-cache-id");if(n&&"boolean"!=typeof n)throw ge.createError("bad-skip-waiting");if(u&&"boolean"!=typeof u)throw ge.createError("bad-clients-claim");if(void 0!==l)if(!1===l||null===l)l=!1;else if("string"!=typeof l||0===l.length)throw ge.createError("bad-directory-index");var g=[];d&&g.push(new lt({channelName:d,source:registration&®istration.scope?registration.scope:location})),this._runtimeCacheName=We({cacheId:r}),this._revisionedCacheManager=new St({cacheId:r,plugins:g}),this._strategies=new ht({cacheId:r}),this._precacheRouter=new De(this._revisionedCacheManager.getCacheName()),this._router=new De(this._revisionedCacheManager.getCacheName()),c&&(this._precacheRouter.addFetchListener(),this._router.addFetchListener()),this._registerInstallActivateEvents(n,u),this._registerDefaultRoutes(v,l)}return(0,de.default)(e,[{key:"precache",value:function(e){if(!Array.isArray(e))throw ge.createError("bad-revisioned-cache-list");this._revisionedCacheManager.addToCacheList({revisionedFiles:e})}},{key:"_registerInstallActivateEvents",value:function(e,t){var r=this;self.addEventListener("install",function(t){var n=r._revisionedCacheManager.getCachedUrls();0<n.length&&_e.debug({that:r,message:"The precached URLs will automatically be served using a\n cache-first strategy.",data:{"Precached URLs":(0,te.default)(n)}}),t.waitUntil(r._revisionedCacheManager.install().then(function(){if(e)return self.skipWaiting()}))}),self.addEventListener("activate",function(e){e.waitUntil(r._revisionedCacheManager.cleanup().then(function(){if(t)return self.clients.claim()}))})}},{key:"_registerDefaultRoutes",value:function(e,t){var r=this,n=[];(e||t)&&n.push(this._getCacheMatchPlugin(e,t));var o=this.strategies.cacheFirst({cacheName:this._revisionedCacheManager.getCacheName(),plugins:n,excludeCacheId:!0});this._precacheRouter.registerRoute(function(n){var o=n.url;o.hash="";var a=r._revisionedCacheManager.getCachedUrls();if(-1!==a.indexOf(o.href))return!0;var i=r._removeIgnoreUrlParams(o.href,e);return-1!==a.indexOf(i.href)||t&&i.pathname.endsWith("/")&&(i.pathname+=t,-1!==a.indexOf(i.href))},o)}},{key:"_getCacheMatchPlugin",value:function(e,t){var r=this;return{cachedResponseWillBeUsed:function(){var n=Ve(W.default.mark(function n(o){var a,i=o.request,u=o.cache,s=o.cachedResponse,c=o.matchOptions;return W.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!s){n.next=2;break}return n.abrupt("return",s);case 2:return a=r._removeIgnoreUrlParams(i.url,e),n.abrupt("return",u.match(a.toString(),c).then(function(e){return!e&&a.pathname.endsWith("/")?(a.pathname+=t,u.match(a.toString(),c)):e}));case 4:case"end":return n.stop()}},n,this)}));return function(){return n.apply(this,arguments)}}()}}},{key:"_removeIgnoreUrlParams",value:function(e,t){var r=new URL(e),n=r.search.slice(1),o=n.split("&"),a=o.map(function(e){return e.split("=")}),i=a.filter(function(e){return t.every(function(t){return!t.test(e[0])})}),u=i.map(function(e){return e.join("=")});return r.search=u.join("&"),r}},{key:"router",get:function(){return this._router}},{key:"strategies",get:function(){return this._strategies}},{key:"runtimeCacheName",get:function(){return this._runtimeCacheName}}]),e}();t.default=Rt},function(e,t,r){r(12),r(83),e.exports=r(0).Array.from},function(e,t,r){var n=r(28),o=r(29);e.exports=function(e){return function(t,r){var a,i,u=String(o(t)),s=n(r),c=u.length;return s<0||s>=c?e?"":void 0:(a=u.charCodeAt(s),a<55296||a>56319||s+1===c||(i=u.charCodeAt(s+1))<56320||i>57343?e?u.charAt(s):a:e?u.slice(s,s+2):i-56320+(a-55296<<10)+65536)}}},function(e,t,r){"use strict";var n=r(23),o=r(15),a=r(18),i={};r(9)(i,r(3)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(i,{next:o(1,r)}),a(e,t+" Iterator")}},function(e,t,r){var n=r(4),o=r(6),a=r(24);e.exports=r(7)?Object.defineProperties:function(e,t){o(e);for(var r,i=a(t),u=i.length,s=0;u>s;)n.f(e,r=i[s++],t[r]);return e}},function(e,t,r){var n=r(11),o=r(25),a=r(82);e.exports=function(e){return function(t,r,i){var u,s=n(t),c=o(s.length),f=a(i,c);if(e&&r!=r){for(;c>f;)if((u=s[f++])!=u)return!0}else for(;c>f;f++)if((e||f in s)&&s[f]===r)return e||f||0;return!e&&-1}}},function(e,t,r){var n=r(28),o=Math.max,a=Math.min;e.exports=function(e,t){return e=n(e),e<0?o(e+t,0):a(e,t)}},function(e,t,r){"use strict";var n=r(8),o=r(1),a=r(19),i=r(57),u=r(58),s=r(25),c=r(84),f=r(36);o(o.S+o.F*!r(59)(function(e){Array.from(e)}),"Array",{from:function(e){var t,r,o,l,h=a(e),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,m=0,y=f(h);if(g&&(v=n(v,p>2?arguments[2]:void 0,2)),void 0==y||d==Array&&u(y))for(t=s(h.length),r=new d(t);t>m;m++)c(r,m,g?v(h[m],m):h[m]);else for(l=y.call(h),r=new d;!(o=l.next()).done;m++)c(r,m,g?i(l,v,[o.value,m],!0):o.value);return r.length=m,r}})},function(e,t,r){"use strict";var n=r(4),o=r(15);e.exports=function(e,t,r){t in e?n.f(e,t,o(0,r)):e[t]=r}},function(e,t,r){e.exports={default:r(86),__esModule:!0}},function(e,t,r){r(27),r(12),r(20),r(89),r(93),r(95),r(96),e.exports=r(0).Set},function(e,t,r){"use strict";var n=r(88),o=r(60),a=r(16),i=r(11);e.exports=r(30)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,r):"values"==t?o(0,e[r]):o(0,[r,e[r]])},"values"),a.Arguments=a.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t,r){"use strict";var n=r(61),o=r(41);e.exports=r(63)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return n.def(o(this,"Set"),e=0===e?0:e,e)}},n)},function(e,t,r){var n=r(8),o=r(54),a=r(19),i=r(25),u=r(91);e.exports=function(e,t){var r=1==e,s=2==e,c=3==e,f=4==e,l=6==e,h=5==e||l,d=t||u;return function(t,u,p){for(var v,g,m=a(t),y=o(m),_=n(u,p,3),w=i(y.length),x=0,b=r?d(t,w):s?d(t,0):void 0;w>x;x++)if((h||x in y)&&(v=y[x],g=_(v,x,m),e))if(r)b[x]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return x;case 2:b.push(v)}else if(f)return!1;return l?-1:c||f?f:b}}},function(e,t,r){var n=r(92);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,r){var n=r(5),o=r(64),a=r(3)("species");e.exports=function(e){var t;return o(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!o(t.prototype)||(t=void 0),n(t)&&null===(t=t[a])&&(t=void 0)),void 0===t?Array:t}},function(e,t,r){var n=r(1);n(n.P+n.R,"Set",{toJSON:r(65)("Set")})},function(e,t,r){var n=r(21);e.exports=function(e,t){var r=[];return n(e,!1,r.push,r,t),r}},function(e,t,r){r(66)("Set")},function(e,t,r){r(67)("Set")},function(e,t,r){"use strict";t.__esModule=!0;var n=r(42),o=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=function(e,t,r){return t in e?(0,o.default)(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){r(99);var n=r(0).Object;e.exports=function(e,t,r){return n.defineProperty(e,t,r)}},function(e,t,r){var n=r(1);n(n.S+n.F*!r(7),"Object",{defineProperty:r(4).f})},function(e,t,r){e.exports=r(101)},function(e,t,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,a=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r(102),o)n.regeneratorRuntime=a;else try{delete n.regeneratorRuntime}catch(e){n.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function r(e,t,r,n){var a=t&&t.prototype instanceof o?t:o,i=Object.create(a.prototype),u=new d(n||[]);return i._invoke=c(e,r,u),i}function n(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function o(){}function a(){}function i(){}function u(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e){function t(r,o,a,i){var u=n(e[r],e,o);if("throw"!==u.type){var s=u.arg,c=s.value;return c&&"object"==typeof c&&y.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,a,i)},function(e){t("throw",e,a,i)}):Promise.resolve(c).then(function(e){s.value=e,a(s)},i)}i(u.arg)}function r(e,r){function n(){return new Promise(function(n,o){t(e,r,n,o)})}return o=o?o.then(n,n):n()}var o;this._invoke=r}function c(e,t,r){var o=L;return function(a,i){if(o===R)throw new Error("Generator is already running");if(o===O){if("throw"===a)throw i;return v()}for(r.method=a,r.arg=i;;){var u=r.delegate;if(u){var s=f(u,r);if(s){if(s===C)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===L)throw o=O,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=R;var c=n(e,t,r);if("normal"===c.type){if(o=r.done?O:S,c.arg===C)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=O,r.method="throw",r.arg=c.arg)}}}function f(e,t){var r=e.iterator[t.method];if(r===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,f(e,t),"throw"===t.method))return C;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return C}var o=n(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,C;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,C):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,C)}function l(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function h(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(l,this),this.reset(!0)}function p(e){if(e){var t=e[w];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(y.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=g,t.done=!0,t};return n.next=n}}return{next:v}}function v(){return{value:g,done:!0}}var g,m=Object.prototype,y=m.hasOwnProperty,_="function"==typeof Symbol?Symbol:{},w=_.iterator||"@@iterator",x=_.asyncIterator||"@@asyncIterator",b=_.toStringTag||"@@toStringTag",k="object"==typeof e,E=t.regeneratorRuntime;if(E)return void(k&&(e.exports=E));E=t.regeneratorRuntime=k?e.exports:{},E.wrap=r;var L="suspendedStart",S="suspendedYield",R="executing",O="completed",C={},N={};N[w]=function(){return this};var P=Object.getPrototypeOf,j=P&&P(P(p([])));j&&j!==m&&y.call(j,w)&&(N=j);var T=i.prototype=o.prototype=Object.create(N);a.prototype=T.constructor=i,i.constructor=a,i[b]=a.displayName="GeneratorFunction",E.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===a||"GeneratorFunction"===(t.displayName||t.name))},E.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,i):(e.__proto__=i,b in e||(e[b]="GeneratorFunction")),e.prototype=Object.create(T),e},E.awrap=function(e){return{__await:e}},u(s.prototype),s.prototype[x]=function(){return this},E.AsyncIterator=s,E.async=function(e,t,n,o){var a=new s(r(e,t,n,o));return E.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},u(T),T[b]="Generator",T[w]=function(){return this},T.toString=function(){return"[object Generator]"},E.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},E.values=p,d.prototype={constructor:d,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(h),!e)for(var t in this)"t"===t.charAt(0)&&y.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=g)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,n){return a.type="throw",a.arg=e,r.next=t,n&&(r.method="next",r.arg=g),!!n}if(this.done)throw e;for(var r=this,n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var i=y.call(o,"catchLoc"),u=y.call(o,"finallyLoc");if(i&&u){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&y.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,C):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),h(r),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;h(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:p(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=g),C}}}(function(){return this}()||Function("return this")())},function(e,t,r){e.exports={default:r(104),__esModule:!0}},function(e,t,r){r(27),r(12),r(20),r(105),r(108),r(109),e.exports=r(0).Promise},function(e,t,r){"use strict";var n,o,a,i,u=r(22),s=r(2),c=r(8),f=r(37),l=r(1),h=r(5),d=r(14),p=r(39),v=r(21),g=r(68),m=r(69).set,y=r(107)(),_=r(43),w=r(70),x=r(71),b=s.TypeError,k=s.process,E=s.Promise,L="process"==f(k),S=function(){},R=o=_.f,O=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[r(3)("species")]=function(e){e(S,S)};return(L||"function"==typeof PromiseRejectionEvent)&&e.then(S)instanceof t}catch(e){}}(),C=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},N=function(e,t){if(!e._n){e._n=!0;var r=e._c;y(function(){for(var n=e._v,o=1==e._s,a=0;r.length>a;)!function(t){var r,a,i=o?t.ok:t.fail,u=t.resolve,s=t.reject,c=t.domain;try{i?(o||(2==e._h&&T(e),e._h=1),!0===i?r=n:(c&&c.enter(),r=i(n),c&&c.exit()),r===t.promise?s(b("Promise-chain cycle")):(a=C(r))?a.call(r,u,s):u(r)):s(n)}catch(e){s(e)}}(r[a++]);e._c=[],e._n=!1,t&&!e._h&&P(e)})}},P=function(e){m.call(s,function(){var t,r,n,o=e._v,a=j(e);if(a&&(t=w(function(){L?k.emit("unhandledRejection",o,e):(r=s.onunhandledrejection)?r({promise:e,reason:o}):(n=s.console)&&n.error&&n.error("Unhandled promise rejection",o)}),e._h=L||j(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},T=function(e){m.call(s,function(){var t;L?k.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})})},q=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),N(t,!0))},M=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw b("Promise can't be resolved itself");(t=C(e))?y(function(){var n={_w:r,_d:!1};try{t.call(e,c(M,n,1),c(q,n,1))}catch(e){q.call(n,e)}}):(r._v=e,r._s=1,N(r,!1))}catch(e){q.call({_w:r,_d:!1},e)}}};O||(E=function(e){p(this,E,"Promise","_h"),d(e),n.call(this);try{e(c(M,this,1),c(q,this,1))}catch(e){q.call(this,e)}},n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(38)(E.prototype,{then:function(e,t){var r=R(g(this,E));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=L?k.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&N(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new n;this.promise=e,this.resolve=c(M,e,1),this.reject=c(q,e,1)},_.f=R=function(e){return e===E||e===i?new a(e):o(e)}),l(l.G+l.W+l.F*!O,{Promise:E}),r(18)(E,"Promise"),r(62)("Promise"),i=r(0).Promise,l(l.S+l.F*!O,"Promise",{reject:function(e){var t=R(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(u||!O),"Promise",{resolve:function(e){return x(u&&this===i?E:this,e)}}),l(l.S+l.F*!(O&&r(59)(function(e){E.all(e).catch(S)})),"Promise",{all:function(e){var t=this,r=R(t),n=r.resolve,o=r.reject,a=w(function(){var r=[],a=0,i=1;v(e,!1,function(e){var u=a++,s=!1;r.push(void 0),i++,t.resolve(e).then(function(e){s||(s=!0,r[u]=e,--i||n(r))},o)}),--i||n(r)});return a.e&&o(a.v),r.promise},race:function(e){var t=this,r=R(t),n=r.reject,o=w(function(){v(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},function(e,t,r){var n=r(2),o=r(69).set,a=n.MutationObserver||n.WebKitMutationObserver,i=n.process,u=n.Promise,s="process"==r(17)(i);e.exports=function(){var e,t,r,c=function(){var n,o;for(s&&(n=i.domain)&&n.exit();e;){o=e.fn,e=e.next;try{o()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(s)r=function(){i.nextTick(c)};else if(!a||n.navigator&&n.navigator.standalone)if(u&&u.resolve){var f=u.resolve();r=function(){f.then(c)}}else r=function(){o.call(n,c)};else{var l=!0,h=document.createTextNode("");new a(c).observe(h,{characterData:!0}),r=function(){h.data=l=!l}}return function(n){var o={fn:n,next:void 0};t&&(t.next=o),e||(e=o,r()),t=o}}},function(e,t,r){"use strict";var n=r(1),o=r(0),a=r(2),i=r(68),u=r(71);n(n.P+n.R,"Promise",{finally:function(e){var t=i(this,o.Promise||a.Promise),r="function"==typeof e;return this.then(r?function(r){return u(t,e()).then(function(){return r})}:e,r?function(r){return u(t,e()).then(function(){throw r})}:e)}})},function(e,t,r){"use strict";var n=r(1),o=r(43),a=r(70);n(n.S,"Promise",{try:function(e){var t=o.f(this),r=a(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(72),a=n(o),i=r(113),u=n(i);t.default=function e(t,r,n){null===t&&(t=Function.prototype);var o=(0,u.default)(t,r);if(void 0===o){var i=(0,a.default)(t);return null===i?void 0:e(i,r,n)}if("value"in o)return o.value;var s=o.get;if(void 0!==s)return s.call(n)}},function(e,t,r){r(112),e.exports=r(0).Object.getPrototypeOf},function(e,t,r){var n=r(19),o=r(56);r(44)("getPrototypeOf",function(){return function(e){return o(n(e))}})},function(e,t,r){e.exports={default:r(114),__esModule:!0}},function(e,t,r){r(115);var n=r(0).Object;e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)}},function(e,t,r){var n=r(11),o=r(45).f;r(44)("getOwnPropertyDescriptor",function(){return function(e,t){return o(n(e),t)}})},function(e,t,r){e.exports={default:r(117),__esModule:!0}},function(e,t,r){r(27),r(12),r(20),r(118),r(119),r(120),r(121),e.exports=r(0).Map},function(e,t,r){"use strict";var n=r(61),o=r(41);e.exports=r(63)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=n.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return n.def(o(this,"Map"),0===e?0:e,t)}},n,!0)},function(e,t,r){var n=r(1);n(n.P+n.R,"Map",{toJSON:r(65)("Map")})},function(e,t,r){r(66)("Map")},function(e,t,r){r(67)("Map")},function(e,t,r){"use strict";t.__esModule=!0;var n=r(47),o=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,r){e.exports={default:r(124),__esModule:!0}},function(e,t,r){r(12),r(20),e.exports=r(48).f("iterator")},function(e,t,r){e.exports={default:r(126),__esModule:!0}},function(e,t,r){r(127),r(27),r(130),r(131),e.exports=r(0).Symbol},function(e,t,r){"use strict";var n=r(2),o=r(10),a=r(7),i=r(1),u=r(52),s=r(40).KEY,c=r(13),f=r(34),l=r(18),h=r(26),d=r(3),p=r(48),v=r(49),g=r(128),m=r(64),y=r(6),_=r(5),w=r(11),x=r(32),b=r(15),k=r(23),E=r(129),L=r(45),S=r(4),R=r(24),O=L.f,C=S.f,N=E.f,P=n.Symbol,j=n.JSON,T=j&&j.stringify,q=d("_hidden"),M=d("toPrimitive"),D={}.propertyIsEnumerable,A=f("symbol-registry"),F=f("symbols"),I=f("op-symbols"),U=Object.prototype,W="function"==typeof P,G=n.QObject,B=!G||!G.prototype||!G.prototype.findChild,V=a&&c(function(){return 7!=k(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=O(U,t);n&&delete U[t],C(e,t,r),n&&e!==U&&C(U,t,n)}:C,H=function(e){var t=F[e]=k(P.prototype);return t._k=e,t},K=W&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},J=function(e,t,r){return e===U&&J(I,t,r),y(e),t=x(t,!0),y(r),o(F,t)?(r.enumerable?(o(e,q)&&e[q][t]&&(e[q][t]=!1),r=k(r,{enumerable:b(0,!1)})):(o(e,q)||C(e,q,b(1,{})),e[q][t]=!0),V(e,t,r)):C(e,t,r)},$=function(e,t){y(e);for(var r,n=g(t=w(t)),o=0,a=n.length;a>o;)J(e,r=n[o++],t[r]);return e},z=function(e,t){return void 0===t?k(e):$(k(e),t)},Y=function(e){var t=D.call(this,e=x(e,!0));return!(this===U&&o(F,e)&&!o(I,e))&&(!(t||!o(this,e)||!o(F,e)||o(this,q)&&this[q][e])||t)},Q=function(e,t){if(e=w(e),t=x(t,!0),e!==U||!o(F,t)||o(I,t)){var r=O(e,t);return!r||!o(F,t)||o(e,q)&&e[q][t]||(r.enumerable=!0),r}},Z=function(e){for(var t,r=N(w(e)),n=[],a=0;r.length>a;)o(F,t=r[a++])||t==q||t==s||n.push(t);return n},X=function(e){for(var t,r=e===U,n=N(r?I:w(e)),a=[],i=0;n.length>i;)!o(F,t=n[i++])||r&&!o(U,t)||a.push(F[t]);return a};W||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(r){this===U&&t.call(I,r),o(this,q)&&o(this[q],e)&&(this[q][e]=!1),V(this,e,b(1,r))};return a&&B&&V(U,e,{configurable:!0,set:t}),H(e)},u(P.prototype,"toString",function(){return this._k}),L.f=Q,S.f=J,r(74).f=E.f=Z,r(46).f=Y,r(73).f=X,a&&!r(22)&&u(U,"propertyIsEnumerable",Y,!0),p.f=function(e){return H(d(e))}),i(i.G+i.W+i.F*!W,{Symbol:P});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)d(ee[te++]);for(var re=R(d.store),ne=0;re.length>ne;)v(re[ne++]);i(i.S+i.F*!W,"Symbol",{for:function(e){return o(A,e+="")?A[e]:A[e]=P(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in A)if(A[t]===e)return t},useSetter:function(){B=!0},useSimple:function(){B=!1}}),i(i.S+i.F*!W,"Object",{create:z,defineProperty:J,defineProperties:$,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:X}),j&&i(i.S+i.F*(!W||c(function(){var e=P();return"[null]"!=T([e])||"{}"!=T({a:e})||"{}"!=T(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=t=n[1],(_(t)||void 0!==e)&&!K(e))return m(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!K(t))return t}),n[1]=t,T.apply(j,n)}}),P.prototype[M]||r(9)(P.prototype,M,P.prototype.valueOf),l(P,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},function(e,t,r){var n=r(24),o=r(73),a=r(46);e.exports=function(e){var t=n(e),r=o.f;if(r)for(var i,u=r(e),s=a.f,c=0;u.length>c;)s.call(e,i=u[c++])&&t.push(i);return t}},function(e,t,r){var n=r(11),o=r(74).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return o(e)}catch(e){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?u(e):o(n(e))}},function(e,t,r){r(49)("asyncIterator")},function(e,t,r){r(49)("observable")},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(133),a=n(o),i=r(137),u=n(i),s=r(47),c=n(s);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,c.default)(t)));e.prototype=(0,u.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(a.default?(0,a.default)(e,t):e.__proto__=t)}},function(e,t,r){e.exports={default:r(134),__esModule:!0}},function(e,t,r){r(135),e.exports=r(0).Object.setPrototypeOf},function(e,t,r){var n=r(1);n(n.S,"Object",{setPrototypeOf:r(136).set})},function(e,t,r){var n=r(5),o=r(6),a=function(e,t){if(o(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r(8)(Function.call,r(45).f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return a(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:a}},function(e,t,r){e.exports={default:r(138),__esModule:!0}},function(e,t,r){r(139);var n=r(0).Object;e.exports=function(e,t){return n.create(e,t)}},function(e,t,r){var n=r(1);n(n.S,"Object",{create:r(23)})},function(e,t,r){e.exports={default:r(141),__esModule:!0}},function(e,t,r){var n=r(0),o=n.JSON||(n.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,r){e.exports={default:r(143),__esModule:!0}},function(e,t,r){r(20),r(12),e.exports=r(144)},function(e,t,r){var n=r(6),o=r(36);e.exports=r(0).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,r){e.exports={default:r(146),__esModule:!0}},function(e,t,r){r(147),e.exports=r(0).Object.keys},function(e,t,r){var n=r(19),o=r(24);r(44)("keys",function(){return function(e){return o(n(e))}})},function(e,t,r){"use strict";t.__esModule=!0;var n=r(50),o=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return(0,o.default)(e)}},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){"use strict";t.__esModule=!0;var n=r(42),o=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,o.default)(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}()},function(e,t){e.exports=function(e){var t,r,n,o={};if(e=e||"")for(t=e.split("&"),n=0;n<t.length;n++)r=t[n].split("="),o[r[0]]=r[1];return o}}]);