sw.js
109 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.1"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(2),o=r(0),i=r(8),a=r(9),s=function(e,t,r){var u,c,f,l=e&s.F,h=e&s.G,d=e&s.S,p=e&s.P,v=e&s.B,y=e&s.W,g=h?o:o[t]||(o[t]={}),m=g.prototype,_=h?n:d?n[t]:(n[t]||{}).prototype;h&&(r=t);for(u in r)(c=!l&&_&&void 0!==_[u])&&u in g||(f=c?_[u]:r[u],g[u]=h&&"function"!=typeof _[u]?r[u]:v&&c?i(f,n):y&&_[u]==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?i(Function.call,f):f,p&&((g.virtual||(g.virtual={}))[u]=f,e&s.R&&m&&!m[u]&&a(m,u,f)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},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),i=r(2).Symbol,a="function"==typeof i;(e.exports=function(e){return n[e]||(n[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=n},function(e,t,r){var n=r(5),o=r(51),i=r(32),a=Object.defineProperty;t.f=r(7)?Object.defineProperty:function(e,t,r){if(n(e),t=i(t,!0),n(r),o)try{return a(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,r){var n=r(6);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof 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(79)(!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),i=r(3)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{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(88);for(var n=r(2),o=r(9),i=r(16),a=r(3)("toStringTag"),s="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(","),u=0;u<s.length;u++){var c=s[u],f=n[c],l=f&&f.prototype;l&&!l[a]&&o(l,a,c),i[c]=i.Array}},function(e,t,r){var n=r(8),o=r(57),i=r(58),a=r(5),s=r(25),u=r(36),c={},f={},t=e.exports=function(e,t,r,l,h){var d,p,v,y,g=h?function(){return e}:u(e),m=n(r,l,t?2:1),_=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(d=s(e.length);d>_;_++)if((y=t?m(a(p=e[_])[0],p[1]):m(e[_]))===c||y===f)return y}else for(v=g.call(e);!(p=v.next()).done;)if((y=o(v,m,p.value,t))===c||y===f)return y};t.BREAK=c,t.RETURN=f},function(e,t){e.exports=!0},function(e,t,r){var n=r(5),o=r(81),i=r(35),a=r(33)("IE_PROTO"),s=function(){},u=function(){var e,t=r(31)("iframe"),n=i.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(),u=e.F;n--;)delete u.prototype[i[n]];return u()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[a]=e):r=u(),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),i=r(52),a=r(9),s=r(10),u=r(16),c=r(80),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,y,g,m){c(r,t,v);var _,b,w,x=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"==y,R=!1,S=e.prototype,O=S[h]||S["@@iterator"]||y&&S[y],L=O||x(y),C=y?E?x("entries"):L:void 0,P="Array"==t?S.entries||O:O;if(P&&(w=l(P.call(new e)))!==Object.prototype&&w.next&&(f(w,k,!0),n||s(w,h)||a(w,h,p)),E&&O&&"values"!==O.name&&(R=!0,L=function(){return O.call(this)}),n&&!m||!d&&!R&&S[h]||a(S,h,L),u[t]=L,u[k]=p,y)if(_={values:E?L:x("values"),keys:g?L:x("keys"),entries:C},m)for(b in _)b in S||i(S,b,_[b]);else o(o.P+o.F*(d||R),t,_);return _}},function(e,t,r){var n=r(6),o=r(2).document,i=n(o)&&n(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,r){var n=r(6);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"),i=r(16);e.exports=r(0).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[n(e)]}},function(e,t,r){var n=r(17),o=r(3)("toStringTag"),i="Arguments"==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=a(t=Object(e),o))?r:i?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},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(6),i=r(10),a=r(4).f,s=0,u=Object.isExtensible||function(){return!0},c=!r(13)(function(){return u(Object.preventExtensions({}))}),f=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},l=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,n)){if(!u(e))return"F";if(!t)return"E";f(e)}return e[n].i},h=function(e,t){if(!i(e,n)){if(!u(e))return!0;if(!t)return!1;f(e)}return e[n].w},d=function(e){return c&&p.NEED&&u(e)&&!i(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(6);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(99),__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),i=r(13);e.exports=function(e,t){var r=(o.Object||{})[e]||Object[e],a={};a[e]=t(r),n(n.S+n.F*i(function(){r(1)}),"Object",a)}},function(e,t,r){var n=r(46),o=r(15),i=r(11),a=r(32),s=r(10),u=r(51),c=Object.getOwnPropertyDescriptor;t.f=r(7)?c:function(e,t){if(e=i(e),t=a(t,!0),u)try{return c(e,t)}catch(e){}if(s(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(124),i=n(o),a=r(126),s=n(a),u="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(i.default)?function(e){return void 0===e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":void 0===e?"undefined":u(e)}},function(e,t,r){t.f=r(3)},function(e,t,r){var n=r(2),o=r(0),i=r(22),a=r(48),s=r(4).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,r){e.exports={default:r(78),__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),i=r(82)(!1),a=r(33)("IE_PROTO");e.exports=function(e,t){var r,s=o(e),u=0,c=[];for(r in s)r!=a&&n(s,r)&&c.push(r);for(;t.length>u;)n(s,r=t[u++])&&(~i(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),i=r(33)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),n(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){var n=r(5);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var i=e.return;throw void 0!==i&&n(i.call(e)),t}}},function(e,t,r){var n=r(16),o=r(3)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||i[o]===e)}},function(e,t,r){var n=r(3)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i=[7],a=i[n]();a.next=function(){return{done:r=!0}},i[n]=function(){return a},e(i)}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),i=r(38),a=r(8),s=r(39),u=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",y=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){s(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&&u(n,r,e[c],e)});return i(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=y(r,e);if(n){var o=n.n,i=n.p;delete r._i[n.i],n.r=!0,i&&(i.n=o),o&&(o.p=i),r._f==n&&(r._f=o),r._l==n&&(r._l=i),r[v]--}return!!n},forEach:function(e){p(this,t);for(var r,n=a(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!!y(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,i=y(e,t);return i?i.v=r:(e._l=i={i:o=d(t,!0),k:t,v:r,p:n=e._l,n:void 0,r:!1},e._f||(e._f=i),n&&(n.n=i),e[v]++,"F"!==o&&(e._i[o]=i)),e},getEntry:y,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),i=r(4),a=r(7),s=r(3)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:n[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var n=r(2),o=r(1),i=r(40),a=r(13),s=r(9),u=r(38),c=r(21),f=r(39),l=r(6),h=r(18),d=r(4).f,p=r(91)(0),v=r(7);e.exports=function(e,t,r,y,g,m){var _=n[e],b=_,w=g?"set":"add",x=b&&b.prototype,k={};return v&&"function"==typeof b&&(m||x.forEach&&!a(function(){(new b).entries().next()}))?(b=t(function(t,r){f(t,b,e,"_c"),t._c=new _,void 0!=r&&c(r,g,t[w],t)}),p("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(e){var t="add"==e||"set"==e;e in x&&(!m||"clear"!=e)&&s(b.prototype,e,function(r,n){if(f(this,b,e),!t&&m&&!l(r))return"get"==e&&void 0;var o=this._c[e](0===r?0:r,n);return t?this:o})}),m||d(b.prototype,"size",{get:function(){return this._c.size}})):(b=y.getConstructor(t,e,g,w),u(b.prototype,r),i.NEED=!0),h(b,e),k[e]=b,o(o.G+o.W+o.F,k),m||y.setStrong(b,e,g),b}},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(95);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=Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,r){"use strict";var n=r(1),o=r(14),i=r(8),a=r(21);e.exports=function(e){n(n.S,e,{from:function(e){var t,r,n,s,u=arguments[1];return o(this),t=void 0!==u,t&&o(u),void 0==e?new this:(r=[],t?(n=0,s=i(u,arguments[2],2),a(e,!1,function(e){r.push(s(e,n++))})):a(e,!1,r.push,r),new this(r))}})}},function(e,t,r){var n=r(5),o=r(14),i=r(3)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[i])?t:o(r)}},function(e,t,r){var n,o,i,a=r(8),s=r(107),u=r(55),c=r(31),f=r(2),l=f.process,h=f.setImmediate,d=f.clearImmediate,p=f.MessageChannel,v=f.Dispatch,y=0,g={},m=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},_=function(e){m.call(e.data)};h&&d||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return g[++y]=function(){s("function"==typeof e?e:Function(e),t)},n(y),y},d=function(e){delete g[e]},"process"==r(17)(l)?n=function(e){l.nextTick(a(m,e,1))}:v&&v.now?n=function(e){v.now(a(m,e,1))}:p?(o=new p,i=o.port2,o.port1.onmessage=_,n=a(i.postMessage,i,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){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),m.call(e)}}:function(e){setTimeout(a(m,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(5),o=r(6),i=r(43);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},function(e,t,r){e.exports={default:r(112),__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}}r(76);var o=r(77),i=n(o),a=r(152),s=n(a),u=["boys","girls","kids","lifestyle","cate","list","search","product","shop","guang"],c={customCacheUrl:[/^https:\/\/(.*)cdn\.yoho\.cn/i],precachePage:["/offline.html"],precacheStaticFile:["/index.css","/common.css","/libs.js","/font/iconfont.woff","/common.offline.js","/common.offline.css"],precacheCdnStaticFile:["https://cdn.yoho.cn/pwa/404.png"]},f=(0,s.default)(self.location.search.substr(1)),l=new i.default({clientsClaim:!0,skipWaiting:!0}),h=l.strategies.cacheFirst({cacheableResponse:{statuses:[0,200]},cacheExpiration:{maxEntries:1e3,maxAgeSeconds:604800}}),d=[{url:"/sw.js?t="+f.t+"&staticServer="+f.staticServer}].concat(c.precacheStaticFile.map(function(e){return{url:self.location.protocol+f.staticServer+e+"?t="+f.t}})).concat(c.precachePage.map(function(e){return{url:e}})).concat(c.precacheCdnStaticFile.map(function(e){return{url:e}}));l.precache(d),c.customCacheUrl.forEach(function(e){l.router.registerRoute(e,h)}),l.router.registerRoute(function(e){var t=!1,r=new RegExp("^/("+u.join("|")+")");return/^https:\/\/m.yohobuy.com/.test(e.url.href)&&(r.test(e.url.pathname)||"/"===e.url.pathname)&&(t=!0),"XMLHttpRequest"===e.event.request.headers.get("x-requested-with")&&(t=!1),t},function(e){return l.strategies.networkFirst({cacheExpiration:{maxEntries:300,maxAgeSeconds:43200}}).handle(e).then(function(t){return t||"navigate"!==e.event.request.mode?t:caches.match("offline.html")})}),l.router.registerRoute(function(e){var t=!1;return/image\/webp/i.test(e.event.request.headers.get("Accept"))?(/^https:\/\/(.*)static\.yhbimg\.com(.*)(png|jpg|jpeg)\?(imageView|imageMogr)(.*)/.test(e.url.href)&&/^(?!.*format\/).*/.test(e.url.href)&&(t=!0),t):t},function(e){return e.event=new FetchEvent(e.event.type,{request:new Request(e.event.request.url+"/format/webp"),clientId:e.event.clientId,isReload:e.event.isReload}),l.strategies.networkOnly().handle(e)})},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function r(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return g.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function i(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function a(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function s(e){var t=new FileReader,r=a(t);return t.readAsArrayBuffer(e),r}function u(e){var t=new FileReader,r=a(t);return t.readAsText(e),r}function c(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}function f(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function l(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(g.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(g.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(g.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(g.arrayBuffer&&g.blob&&_(e))this._bodyArrayBuffer=f(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!g.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!b(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=f(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},g.blob&&(this.blob=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return u(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(c(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},g.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(e){var t=e.toUpperCase();return w.indexOf(t)>-1?t:e}function d(e,t){t=t||{};var r=t.body;if(e instanceof d){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=h(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}}),t}function v(e){var t=new o;return e.split(/\r?\n/).forEach(function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var g={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(g.arrayBuffer)var m=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],_=function(e){return e&&DataView.prototype.isPrototypeOf(e)},b=ArrayBuffer.isView||function(e){return e&&m.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,n){e=t(e),n=r(n);var o=this.map[e];this.map[e]=o?o+","+n:n},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,n){this.map[t(e)]=r(n)},o.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),n(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),n(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),n(e)},g.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];d.prototype.clone=function(){return new d(this,{body:this._bodyInit})},l.call(d.prototype),l.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var x=[301,302,303,307,308];y.redirect=function(e,t){if(-1===x.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=d,e.Response=y,e.fetch=function(e,t){return new Promise(function(r,n){var o=new d(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:v(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;r(new y(t,e))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials&&(i.withCredentials=!0),"responseType"in i&&g.blob&&(i.responseType="blob"),o.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send(void 0===o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},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 i(){return!1}function a(){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 s(e){var t=(0,ie.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 u(e,t){var r=(0,ie.default)(e).pop();"function"!=(0,se.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,ie.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,ie.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,ie.default)(e).pop(),n=(0,se.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,ie.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,i=!1,a=void 0;try{for(var s,u=(0,ne.default)(e[r]);!(o=(s=u.next()).done);o=!0){var c=s.value;(void 0===c?"undefined":(0,se.default)(c))!==t&&p(n)}}catch(e){i=!0,a=e}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}}function d(e,t){var r=(0,ie.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,i=!1,a=void 0;try{for(var s,u=(0,ne.default)(e[r]);!(o=(s=u.next()).done);o=!0){s.value instanceof t||p(n)}}catch(e){i=!0,a=e}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}}function p(e){e=e.replace(/\s+/g," ");var t=new Error(e);t.name="assertion-failed";var r=xe.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,se.default)(e))?(u({handler:e},"handle"),e):(l({handler:e},"function"),{handle:e})}function y(e,t){for(var r,n=[],o=0,i=0,a="",s=t&&t.delimiter||"/";null!=(r=Te.exec(e));){var u=r[0],c=r[1],f=r.index;if(a+=e.slice(i,f),i=f+u.length,c)a+=c[1];else{var l=e[i],h=r[2],d=r[3],p=r[4],v=r[5],y=r[6],g=r[7];a&&(n.push(a),a="");var m=r[2]||s,_=p||v;n.push({name:d||o++,prefix:h||"",delimiter:m,optional:"?"===y||"*"===y,repeat:"+"===y||"*"===y,partial:null!=h&&null!=l&&l!==h,asterisk:!!g,pattern:_?x(_):g?".*":"[^"+w(m)+"]+?"})}}return i<e.length&&(a+=e.substr(i)),a&&n.push(a),n}function g(e,t){return b(y(e,t))}function m(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 b(e){for(var t=Array(e.length),r=0;r<e.length;r++)"object"==(0,se.default)(e[r])&&(t[r]=new RegExp("^(?:"+e[r].pattern+")$"));return function(r,n){for(var o,i="",a=r||{},s=n||{},u=s.pretty?m:encodeURIComponent,c=0;c<e.length;c++)if("string"!=typeof(o=e[c])){var f,l=a[o.name];if(null==l){if(o.optional){o.partial&&(i+=o.prefix);continue}throw new TypeError('Expected "'+o.name+'" to be defined')}if(Re(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=u(l[h]),!t[c].test(f))throw new TypeError('Expected all "'+o.name+'" to match "'+o.pattern+'", but received `'+(0,te.default)(f)+"`");i+=(0===h?o.prefix:o.delimiter)+f}}else{if(f=o.asterisk?_(l):u(l),!t[c].test(f))throw new TypeError('Expected "'+o.name+'" to match "'+o.pattern+'", but received "'+f+'"');i+=o.prefix+f}}else i+=o;return i}}function w(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function x(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function k(e,t){return e.keys=t,e}function E(e){return e.sensitive?"":"i"}function R(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 O(e,t,r){return L(y(e,r),t,r)}function L(e,t,r){Re(t)||(r=t||r,t=[]),r=r||{};for(var n,o=r.strict,i=!1!==r.end,a="",s=0;s<e.length;s++)if("string"==typeof(n=e[s]))a+=w(n);else{var u=w(n.prefix),c="(?:"+n.pattern+")";t.push(n),n.repeat&&(c+="(?:"+u+c+")*"),c=n.optional?n.partial?u+"("+c+")?":"(?:"+u+"("+c+"))?":u+"("+c+")",a+=c}var f=w(r.delimiter||"/"),l=a.slice(-f.length)===f;return o||(a=(l?a.slice(0,-f.length):a)+"(?:"+f+"(?=$))?"),a+=i?"$":o&&l?"":"(?="+f+"|$)",k(new RegExp("^"+a,E(r)),t)}function C(e,t,r){return Re(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?R(e,t):Re(e)?S(e,t,r):O(e,t,r)}function P(){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:st,meta:o,payload:{cacheName:r,updatedUrl:n}})}function T(){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 at.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 N=r(50),j=n(N),q=r(86),A=n(q),M=r(98),D=n(M),F=r(42),I=n(F),U=r(101),B=n(U),W=r(104),G=n(W),V=r(111),H=n(V),K=r(117),J=n(K),$=r(72),z=n($),Y=r(123),X=n(Y),Q=r(133),Z=n(Q),ee=r(141),te=n(ee),re=r(143),ne=n(re),oe=r(146),ie=n(oe),ae=r(47),se=n(ae),ue=r(149),ce=n(ue),fe=r(150),le=n(fe),he=r(151),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."},ye=new pe(ve),ge=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 me=function(){function e(){(0,le.default)(this,e),this._defaultLogLevel=i()?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 ge,o=this._getPrimaryMessageDetails(e,t);if(n.addPrimaryLog(o),t.error){var i={message:t.error,logFunc:console.error};n.addLog(i)}var a=new ge;if(t.that&&t.that.constructor&&t.that.constructor.name){var s=t.that.constructor.name;a.addLog(this._getKeyValueDetails("class",s))}return t.data&&("object"!=(0,se.default)(t.data)||t.data instanceof Array?a.addLog(this._getKeyValueDetails("additionalData",t.data)):(0,ie.default)(t.data).forEach(function(e){a.addLog(r._getKeyValueDetails(e,t.data[e]))})),n.addChildGroup(a),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+"]",i=["color: #bdc3c7","color: "+n],a=void 0;return"string"==typeof t?a=t:t.message&&(a=t.message),a&&(a=a.replace(/\s+/g," "),o+="%c "+a,i.push("color: #7f8c8d; font-weight: normal")),{message:o,colors:i}}},{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 me,be={"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)"},we=new pe(be),xe={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"},Re=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},Se=C,Oe=y,Le=g,Ce=b,Pe=L,Te=new RegExp("(\\\\.)|([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))","g");Se.parse=Oe,Se.compile=Le,Se.tokensToFunction=Ce,Se.tokensToRegExp=Pe;var Ne=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 we.createError("express-route-invalid-path");var i=[],a=Se(r,i);return(0,X.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(a);if(!o)return null;var s={};return i.forEach(function(e,t){s[e.name]=o[t+1]}),s},handler:n,method:o}))}return(0,Z.default)(t,e),t}(Ee),je=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.whitelist,o=r.blacklist,i=r.handler;return(0,le.default)(this,t),d({whitelist:n},RegExp),o?d({blacklist:o},RegExp):o=[],e=(0,X.default)(this,(t.__proto__||(0,z.default)(t)).call(this,{match:function(t){var r=t.event,a=t.url,s=void 0,u=!1;if("navigate"===r.request.mode){var c=a.pathname+a.search;n.some(function(e){return e.test(c)})?o.some(function(e){return e.test(c)})?s="The navigation route is not being used, since the request URL matches both the whitelist and blacklist.":(s="The navigation route is being used.",u=!0):s="The navigation route is not being used, since the URL being navigated to doesn't match the whitelist.",_e.debug({that:e,message:s,data:{"request-url":a.href,whitelist:n,blacklist:o,handler:i}})}return u},handler:i,method:"GET"}))}return(0,Z.default)(t,e),t}(Ee),qe=function(e){function t(e){var r,n=e.regExp,o=e.handler,i=e.method;return(0,le.default)(this,t),c({regExp:n},RegExp),r=(0,X.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:i}))}return(0,Z.default)(t,e),t}(Ee),Ae=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}),i=o.handler,a=o.params;if(!i&&this.defaultHandler&&(i=this.defaultHandler),i){var s=i.handle({url:n,event:r,params:a});return this.catchHandler&&(s=s.catch(function(e){return t.catchHandler.handle({url:n,event:r,error:e})})),s}}},{key:"_findHandlerAndParams",value:function(e){var t=e.event,r=e.url,n=this._routes.get(t.request.method)||[],o=!0,i=!1,a=void 0;try{for(var s,u=(0,ne.default)(n);!(o=(s=u.next()).done);o=!0){var c=s.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,ie.default)(f).length&&(f=void 0),{params:f,handler:c.handler}}}catch(e){i=!0,a=e}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}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 i,a=(0,ne.default)(t);!(r=(i=a.next()).done);r=!0){var s=i.value;this._routes.has(s.method)||this._routes.set(s.method,[]),this._routes.get(s.method).unshift(s)}}catch(e){n=!0,o=e}finally{try{!r&&a.return&&a.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 i,a=(0,ne.default)(t);!(r=(i=a.next()).done);r=!0){var s=i.value;this._routes.has(s.method)||_e.error({that:this,message:"Can't unregister route; there are no "+s.method+"\n routes registered.",data:{route:s}});var u=this._routes.get(s.method).indexOf(s);-1<u?this._routes.get(s.method).splice(u,1):_e.error({that:this,message:"Can't unregister route; the route wasn't previously\n registered.",data:{route:s}})}}catch(e){n=!0,o=e}finally{try{!r&&a.return&&a.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}(),Me=function(e){function t(e,r){var n;return(0,le.default)(this,t),n=(0,X.default)(this,(t.__proto__||(0,z.default)(t)).call(this,{handleFetch:r})),n._revisionedCacheName=e,n}return(0,Z.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 ye.createError("empty-express-string");var i=e.startsWith("http")?new URL(e,location).pathname:e,a=i.match(/[*:?+]/);a&&_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":a[0],"Learn More":"https://goo.gl/xZMKEV"}}),o=new Ne({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 ye.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 ye.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 je({handler:function(){return caches.match(e,{cacheName:n})},whitelist:r.whitelist||[/./],blacklist:r.blacklist||[]})})}}]),t}(Ae),De={"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(De),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),s({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,ie.default)(this.headers).some(function(t){return n.headers.get(t)===e.headers[t]})),!o){var i={response:n};this.statuses&&(i["valid-status-codes"]=(0,te.default)(this.statuses)),this.headers&&(i["valid-headers"]=(0,te.default)(this.headers)),r&&(i.request=r),_e.debug({message:"The response does not meet the criteria for being added to the\n cache.",data:i})}return o}}]),e}(),Ue=function(e){function t(){return(0,le.default)(this,t),(0,X.default)(this,(t.__proto__||(0,z.default)(t)).apply(this,arguments))}return(0,Z.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),Be=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},We=["cacheDidUpdate","cachedResponseWillBeUsed","cacheWillUpdate","fetchDidFail","requestWillFetch"],Ge=function(e){var t=e.response;c({response:t},Response);var r=t.clone();return("body"in r?G.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 G.default(function(e,r){function n(o,i){try{var a=t[o](i),s=a.value}catch(e){return void r(e)}if(!a.done)return G.default.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)});e(s)}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,i=r.plugins,a=r.fetchOptions,s=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=Be({cacheId:o}),a&&(l({fetchOptions:a},"object"),this.fetchOptions=a),s&&(l({matchOptions:s},"object"),this.matchOptions=s),this.plugins=new J.default,i&&(h({plugins:i},"object"),i.forEach(function(e){var r=!0,n=!1,o=void 0;try{for(var i,a=(0,ne.default)(We);!(r=(i=a.next()).done);r=!0){var s=i.value;if("function"==typeof e[s]){if(t.plugins.has(s)){if("cacheWillUpdate"===s)throw Fe.createError("multiple-cache-will-update-plugins");if("cachedResponseWillBeUsed"===s)throw Fe.createError("multiple-cached-response-will-be-used-plugins")}else t.plugins.set(s,[]);t.plugins.get(s).push(e)}}}catch(e){n=!0,o=e}finally{try{!r&&a.return&&a.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(B.default.mark(function t(){return B.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(B.default.mark(function e(){var n,o,i;return B.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s({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 i=r.plugins.get("cachedResponseWillBeUsed")[0],e.next=11,i.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(B.default.mark(function e(){var n,o,i,a,s,u,f,l,h,d,p,v,y,g;return B.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,i=!1,a=void 0,e.prev=6,s=(0,ne.default)(r.plugins.get("requestWillFetch"));case 8:if(o=(u=s.next()).done){e.next=17;break}return f=u.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),i=!0,a=e.t0;case 23:e.prev=23,e.prev=24,!o&&s.return&&s.return();case 26:if(e.prev=26,!i){e.next=29;break}throw a;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=(y=v.next()).done){e.next=52;break}return g=y.value,e.next=49,g.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,i=e.cleanRedirects,a=this;return Ve(B.default.mark(function e(){var u,c,f,l,h;return B.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s({request:t}),u=void 0,e.next=4,a.fetch({request:t});case 4:return c=e.sent,f=a._userSpecifiedCachableResponsePlugin||o||a.getDefaultCacheableResponsePlugin(),e.next=8,f.cacheWillUpdate({request:t,response:c});case 8:if(!(l=e.sent)){e.next=21;break}if(!i||!c.redirected){e.next=16;break}return e.next=13,Ge({response:c});case 13:e.t0=e.sent,e.next=17;break;case 16:e.t0=c.clone();case 17:h=e.t0,u=a.getCache().then(function(){var e=Ve(B.default.mark(function e(r){var o,i,s,u,f,l,d,p;return B.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=void 0,i=n||t,e.t0="opaque"!==c.type&&a.plugins.has("cacheDidUpdate"),!e.t0){e.next=7;break}return e.next=6,a.match({request:i});case 6:o=e.sent;case 7:return e.next=9,r.put(i,h);case 9:if(!a.plugins.has("cacheDidUpdate")){e.next=36;break}s=!0,u=!1,f=void 0,e.prev=13,l=(0,ne.default)(a.plugins.get("cacheDidUpdate"));case 15:if(s=(d=l.next()).done){e.next=22;break}return p=d.value,e.next=19,p.cacheDidUpdate({cacheName:a.cacheName,oldResponse:o,newResponse:h,url:"url"in i?i.url:i});case 19:s=!0,e.next=15;break;case 22:e.next=28;break;case 24:e.prev=24,e.t1=e.catch(13),u=!0,f=e.t1;case 28:e.prev=28,e.prev=29,!s&&l.return&&l.return();case 31:if(e.prev=31,!u){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&&u,!e.t1){e.next=27;break}return e.next=27,u;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,X.default)(this,(t.__proto__||(0,z.default)(t)).apply(this,arguments))}return(0,Z.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(B.default.mark(function e(){var n;return B.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,X.default)(this,(t.__proto__||(0,z.default)(t)).apply(this,arguments))}return(0,Z.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(B.default.mark(function e(){return B.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,X.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,Z.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(B.default.mark(function e(){var n,o,i;return B.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 G.default(function(e){o=setTimeout(function(){e(r.requestWrapper.match({request:t.request}))},1e3*r.networkTimeoutSeconds)})),i=r.requestWrapper.fetchAndCache({request:t.request,waitOnCache:r.waitOnCache,cacheResponsePlugin:r._cacheablePlugin}).then(function(e){return o&&clearTimeout(o),e||G.default.reject(Fe.createError("no-response-received"))}).catch(function(){return r.requestWrapper.match({request:t.request})}),e.abrupt("return",(n.push(i),G.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,X.default)(this,(t.__proto__||(0,z.default)(t)).apply(this,arguments))}return(0,Z.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(B.default.mark(function e(){return B.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),Xe=function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,le.default)(this,t),e=(0,X.default)(this,(t.__proto__||(0,z.default)(t)).call(this,r)),e._cacheablePlugin=new Ue({statuses:[0,200]}),e}return(0,Z.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(B.default.mark(function e(){var n,o;return B.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),Qe="workbox-cache-expiration";self&&self.registration&&(Qe+="-"+self.registration.scope);var Ze=Qe,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 G.default(function(t,r){e.onsuccess=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function n(e,t,n){var o,i=new G.default(function(i,a){o=e[t].apply(e,n),r(o).then(i,a)});return i.request=o,i}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 i(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 a(e,t,r,o){o.forEach(function(o){o in r.prototype&&(e.prototype[o]=function(){return n(this[t],o,arguments)})})}function s(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 u(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 G.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}i(c,"_index",["name","keyPath","multiEntry","unique"]),a(c,"_index",IDBIndex,["get","getKey","getAll","getAllKeys","count"]),u(c,"_index",IDBIndex,["openCursor","openKeyCursor"]),i(f,"_cursor",["direction","key","primaryKey","value"]),a(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 G.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))},i(l,"_store",["name","keyPath","indexNames","autoIncrement"]),a(l,"_store",IDBObjectStore,["put","add","delete","clear","get","getAll","getKey","getAllKeys","count"]),u(l,"_store",IDBObjectStore,["openCursor","openKeyCursor"]),s(l,"_store",IDBObjectStore,["deleteIndex"]),h.prototype.objectStore=function(){return new l(this._tx.objectStore.apply(this._tx,arguments))},i(h,"_tx",["objectStoreNames","mode"]),s(h,"_tx",IDBTransaction,["abort"]),d.prototype.createObjectStore=function(){return new l(this._db.createObjectStore.apply(this._db,arguments))},i(d,"_db",["name","version","objectStoreNames"]),s(d,"_db",IDBDatabase,["deleteObjectStore","close"]),p.prototype.transaction=function(){return new h(this._db.transaction.apply(this._db,arguments))},i(p,"_db",["name","version","objectStoreNames"]),s(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,i=o[e].apply(o,r.slice(0,-1));i.onsuccess=function(){n(i.result)}}})}),[c,l].forEach(function(e){e.prototype.getAll||(e.prototype.getAll=function(e,t){var r=this,n=[];return new G.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]),i=o.request;return i.onupgradeneeded=function(e){r&&r(new d(i.result,e.oldVersion,i.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(B.default.mark(function e(){var n,o;return B.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l({cacheName:t},"string"),n=Ze+"-"+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(B.default.mark(function e(){var n;return B.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 i=new Date(o),a=i.getTime();return!!isNaN(a)||a+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(B.default.mark(function e(){var i,a,s,u;return B.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return l({url:r},"string"),l({cacheName:t},"string"),a=new URL(r,location),a.hash="",void 0===n&&(n=Date.now()),e.next=5,o.getDB({cacheName:t});case 5:return s=e.sent,u=s.transaction(t,"readwrite"),u.objectStore(t).put((i={},(0,D.default)(i,"timestamp",n),(0,D.default)(i,"url",a.href),i)),e.next=10,u.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(B.default.mark(function e(){var o,i,a,s;return B.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 i=e.t1,a=[].concat((0,ce.default)(new A.default(o.concat(i)))),e.next=22,n.deleteFromCacheAndIDB({cacheName:t,urls:a});case 22:if(0<a.length&&_e.debug({that:n,message:"Expired entries have been removed from the cache.",data:{cacheName:t,urls:a}}),n._expirationMutex=!1,!n._timestampForNextRun){e.next=27;break}return s=n._timestampForNextRun,e.abrupt("return",(n._timestampForNextRun=null,n.expireEntries({cacheName:t,now:s})));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(B.default.mark(function e(){var o,i,a,s,u,c;return B.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,i=[],e.next=5,n.getDB({cacheName:t});case 5:return a=e.sent,s=a.transaction(t,"readonly"),u=s.objectStore(t),c=u.index("timestamp"),c.iterateCursor(function(e){e&&(e.value.timestamp<o&&i.push(e.value.url),e.continue())}),e.next=12,s.complete;case 12:return e.abrupt("return",i);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(B.default.mark(function e(){var n,o,i,a,s,u;return B.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,i=o.transaction(t,"readonly"),a=i.objectStore(t),s=a.index("timestamp"),e.next=8,s.count();case 8:return u=e.sent,u>r.maxEntries&&(i=o.transaction(t,"readonly"),a=i.objectStore(t),s=a.index("timestamp"),s.iterateCursor(function(e){e&&(n.push(e.value.url),u-n.length>r.maxEntries&&e.continue())})),e.next=12,i.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(B.default.mark(function e(){var o,i,a,s,u,c,f,d,p,v;return B.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:i=e.sent,a=!0,s=!1,u=void 0,e.prev=10,c=(0,ne.default)(r);case 12:if(a=(f=c.next()).done){e.next=23;break}return d=f.value,e.next=16,o.delete(d);case 16:return p=i.transaction(t,"readwrite"),v=p.objectStore(t),v.delete(d),e.next=20,p.complete;case 20:a=!0,e.next=12;break;case 23:e.next=29;break;case 25:e.prev=25,e.t0=e.catch(10),s=!0,u=e.t0;case 29:e.prev=29,e.prev=30,!a&&c.return&&c.return();case 32:if(e.prev=32,!s){e.next=35;break}throw u;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,X.default)(this,(t.__proto__||(0,z.default)(t)).apply(this,arguments))}return(0,Z.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,i=this;return Ve(B.default.mark(function e(){return B.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,i.updateTimestamp({cacheName:t,url:n,now:o});case 5:return e.next=7,i.expireEntries({cacheName:t,now:o});case 7:case"end":return e.stop()}},e,this)}))()}}]),t}(nt),it={"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()"},at=new pe(it),st="CACHE_UPDATED",ut=["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 at.createError("channel-name-required");this.channelName=r,this.headersToCheck=n||ut,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"),T({first:t,second:r,headersToCheck:this.headersToCheck})||P({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,X.default)(this,(t.__proto__||(0,z.default)(t)).apply(this,arguments))}return(0,Z.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(Xe,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,ie.default)(r).forEach(function(e){if(t[e]){var o=r[e],i=t[e];n.plugins.push(new o(i))}}),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,X.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,Z.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,j.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(B.default.mark(function t(){var r;return B.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))}),G.default.all(r)));case 4:case"end":return t.stop()}},t,this)}))()}},{key:"_cacheEntry",value:function(e){var t=this;return Ve(B.default.mark(function r(){var n,o;return B.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(B.default.mark(function t(){var r,n,o,i;return B.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,i=o.filter(function(e){return!r.includes(e.url)}),t.abrupt("return",G.default.all(i.map(function(){var t=Ve(B.default.mark(function t(r){return B.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(B.default.mark(function t(){return B.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}(),yt=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}(),gt="workbox-precaching",mt="1",_t="asset-revisions",bt="workbox-precaching-revisioned-v1";self&&self.registration&&(bt+="-"+self.registration.scope);var wt=bt,xt=function(){function e(){(0,le.default)(this,e),this._idbHelper=new yt(gt,mt,_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,i=t.cacheBust;(0,le.default)(this,e),this.entryID=r,this.revision=n,this.request=o,this.cacheBust=i}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,X.default)(this,(t.__proto__||(0,z.default)(t)).call(this,{entryID:e,revision:e,request:new Request(e),cacheBust:!1}))}return(0,Z.default)(t,e),t}(kt),Rt=function(e){function t(e){var r=e.entryID,n=e.revision,o=e.url,i=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===i&&(i=!!n),l({cacheBust:i},"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,X.default)(this,(t.__proto__||(0,z.default)(t)).call(this,{entryID:r,revision:n||o,request:new Request(o),cacheBust:i}))}return(0,Z.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||wt,e=(0,X.default)(this,(t.__proto__||(0,z.default)(t)).call(this,r)),e._revisionDetailsModel=new xt,e}return(0,Z.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,se.default)(e)){case"string":t=new Et(e);break;case"object":t=new Rt(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(B.default.mark(function r(){var n,o,i;return B.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 i=r.sent,r.abrupt("return",!!i);case 12:case"end":return r.stop()}},r,this)}))()}},{key:"_onEntryCached",value:function(e){var t=this;return Ve(B.default.mark(function r(){return B.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(B.default.mark(function r(){return B.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 Ot=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.cacheId,n=t.skipWaiting,s=t.clientsClaim,u=t.handleFetch,c=void 0===u||u,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 ye.createError("not-in-sw");if(i()&&(a()?_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 ye.createError("bad-cache-id");if(n&&"boolean"!=typeof n)throw ye.createError("bad-skip-waiting");if(s&&"boolean"!=typeof s)throw ye.createError("bad-clients-claim");if(void 0!==l)if(!1===l||null===l)l=!1;else if("string"!=typeof l||0===l.length)throw ye.createError("bad-directory-index");var y=[];d&&y.push(new lt({channelName:d,source:registration&®istration.scope?registration.scope:location})),this._runtimeCacheName=Be({cacheId:r}),this._revisionedCacheManager=new St({cacheId:r,plugins:y}),this._strategies=new ht({cacheId:r}),this._precacheRouter=new Me(this._revisionedCacheManager.getCacheName()),this._router=new Me(this._revisionedCacheManager.getCacheName()),c&&(this._precacheRouter.addFetchListener(),this._router.addFetchListener()),this._registerInstallActivateEvents(n,s),this._registerDefaultRoutes(v,l)}return(0,de.default)(e,[{key:"precache",value:function(e){if(!Array.isArray(e))throw ye.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 i=r._revisionedCacheManager.getCachedUrls();if(-1!==i.indexOf(o.href))return!0;var a=r._removeIgnoreUrlParams(o.href,e);return-1!==i.indexOf(a.href)||t&&a.pathname.endsWith("/")&&(a.pathname+=t,-1!==i.indexOf(a.href))},o)}},{key:"_getCacheMatchPlugin",value:function(e,t){var r=this;return{cachedResponseWillBeUsed:function(){var n=Ve(B.default.mark(function n(o){var i,a=o.request,s=o.cache,u=o.cachedResponse,c=o.matchOptions;return B.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!u){n.next=2;break}return n.abrupt("return",u);case 2:return i=r._removeIgnoreUrlParams(a.url,e),n.abrupt("return",s.match(i.toString(),c).then(function(e){return!e&&i.pathname.endsWith("/")?(i.pathname+=t,s.match(i.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("&"),i=o.map(function(e){return e.split("=")}),a=i.filter(function(e){return t.every(function(t){return!t.test(e[0])})}),s=a.map(function(e){return e.join("=")});return r.search=s.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=Ot},function(e,t,r){r(12),r(84),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 i,a,s=String(o(t)),u=n(r),c=s.length;return u<0||u>=c?e?"":void 0:(i=s.charCodeAt(u),i<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):i:e?s.slice(u,u+2):a-56320+(i-55296<<10)+65536)}}},function(e,t,r){"use strict";var n=r(23),o=r(15),i=r(18),a={};r(9)(a,r(3)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(a,{next:o(1,r)}),i(e,t+" Iterator")}},function(e,t,r){var n=r(4),o=r(5),i=r(24);e.exports=r(7)?Object.defineProperties:function(e,t){o(e);for(var r,a=i(t),s=a.length,u=0;s>u;)n.f(e,r=a[u++],t[r]);return e}},function(e,t,r){var n=r(11),o=r(25),i=r(83);e.exports=function(e){return function(t,r,a){var s,u=n(t),c=o(u.length),f=i(a,c);if(e&&r!=r){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((e||f in u)&&u[f]===r)return e||f||0;return!e&&-1}}},function(e,t,r){var n=r(28),o=Math.max,i=Math.min;e.exports=function(e,t){return e=n(e),e<0?o(e+t,0):i(e,t)}},function(e,t,r){"use strict";var n=r(8),o=r(1),i=r(19),a=r(57),s=r(58),u=r(25),c=r(85),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=i(e),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,y=void 0!==v,g=0,m=f(h);if(y&&(v=n(v,p>2?arguments[2]:void 0,2)),void 0==m||d==Array&&s(m))for(t=u(h.length),r=new d(t);t>g;g++)c(r,g,y?v(h[g],g):h[g]);else for(l=m.call(h),r=new d;!(o=l.next()).done;g++)c(r,g,y?a(l,v,[o.value,g],!0):o.value);return r.length=g,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(87),__esModule:!0}},function(e,t,r){r(27),r(12),r(20),r(90),r(94),r(96),r(97),e.exports=r(0).Set},function(e,t,r){"use strict";var n=r(89),o=r(60),i=r(16),a=r(11);e.exports=r(30)(Array,"Array",function(e,t){this._t=a(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"),i.Arguments=i.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),i=r(19),a=r(25),s=r(92);e.exports=function(e,t){var r=1==e,u=2==e,c=3==e,f=4==e,l=6==e,h=5==e||l,d=t||s;return function(t,s,p){for(var v,y,g=i(t),m=o(g),_=n(s,p,3),b=a(m.length),w=0,x=r?d(t,b):u?d(t,0):void 0;b>w;w++)if((h||w in m)&&(v=m[w],y=_(v,w,g),e))if(r)x[w]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:x.push(v)}else if(f)return!1;return l?-1:c||f?f:x}}},function(e,t,r){var n=r(93);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,r){var n=r(6),o=r(64),i=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[i])&&(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(100);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(102)},function(e,t,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r(103),o)n.regeneratorRuntime=i;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 i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new d(n||[]);return a._invoke=c(e,r,s),a}function n(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function o(){}function i(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function u(e){function t(r,o,i,a){var s=n(e[r],e,o);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&m.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(c).then(function(e){u.value=e,i(u)},a)}a(s.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=R;return function(i,a){if(o===O)throw new Error("Generator is already running");if(o===L){if("throw"===i)throw a;return v()}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var u=f(s,r);if(u){if(u===C)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===R)throw o=L,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=O;var c=n(e,t,r);if("normal"===c.type){if(o=r.done?L:S,c.arg===C)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=L,r.method="throw",r.arg=c.arg)}}}function f(e,t){var r=e.iterator[t.method];if(r===y){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=y,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 i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=y),t.delegate=null,C):i:(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[b];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(m.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=y,t.done=!0,t};return n.next=n}}return{next:v}}function v(){return{value:y,done:!0}}var y,g=Object.prototype,m=g.hasOwnProperty,_="function"==typeof Symbol?Symbol:{},b=_.iterator||"@@iterator",w=_.asyncIterator||"@@asyncIterator",x=_.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 R="suspendedStart",S="suspendedYield",O="executing",L="completed",C={},P={};P[b]=function(){return this};var T=Object.getPrototypeOf,N=T&&T(T(p([])));N&&N!==g&&m.call(N,b)&&(P=N);var j=a.prototype=o.prototype=Object.create(P);i.prototype=j.constructor=a,a.constructor=i,a[x]=i.displayName="GeneratorFunction",E.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},E.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,x in e||(e[x]="GeneratorFunction")),e.prototype=Object.create(j),e},E.awrap=function(e){return{__await:e}},s(u.prototype),u.prototype[w]=function(){return this},E.AsyncIterator=u,E.async=function(e,t,n,o){var i=new u(r(e,t,n,o));return E.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},s(j),j[x]="Generator",j[b]=function(){return this},j.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=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(h),!e)for(var t in this)"t"===t.charAt(0)&&m.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=y)},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 i.type="throw",i.arg=e,r.next=t,n&&(r.method="next",r.arg=y),!!n}if(this.done)throw e;for(var r=this,n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=m.call(o,"catchLoc"),s=m.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)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&&m.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 i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,C):this.complete(i)},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=y),C}}}(function(){return this}()||Function("return this")())},function(e,t,r){e.exports={default:r(105),__esModule:!0}},function(e,t,r){r(27),r(12),r(20),r(106),r(109),r(110),e.exports=r(0).Promise},function(e,t,r){"use strict";var n,o,i,a,s=r(22),u=r(2),c=r(8),f=r(37),l=r(1),h=r(6),d=r(14),p=r(39),v=r(21),y=r(68),g=r(69).set,m=r(108)(),_=r(43),b=r(70),w=r(71),x=u.TypeError,k=u.process,E=u.Promise,R="process"==f(k),S=function(){},O=o=_.f,L=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[r(3)("species")]=function(e){e(S,S)};return(R||"function"==typeof PromiseRejectionEvent)&&e.then(S)instanceof t}catch(e){}}(),C=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},P=function(e,t){if(!e._n){e._n=!0;var r=e._c;m(function(){for(var n=e._v,o=1==e._s,i=0;r.length>i;)!function(t){var r,i,a=o?t.ok:t.fail,s=t.resolve,u=t.reject,c=t.domain;try{a?(o||(2==e._h&&j(e),e._h=1),!0===a?r=n:(c&&c.enter(),r=a(n),c&&c.exit()),r===t.promise?u(x("Promise-chain cycle")):(i=C(r))?i.call(r,s,u):s(r)):u(n)}catch(e){u(e)}}(r[i++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,r,n,o=e._v,i=N(e);if(i&&(t=b(function(){R?k.emit("unhandledRejection",o,e):(r=u.onunhandledrejection)?r({promise:e,reason:o}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",o)}),e._h=R||N(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},N=function(e){if(1==e._h)return!1;for(var t,r=e._a||e._c,n=0;r.length>n;)if(t=r[n++],t.fail||!N(t.promise))return!1;return!0},j=function(e){g.call(u,function(){var t;R?k.emit("rejectionHandled",e):(t=u.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()),P(t,!0))},A=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw x("Promise can't be resolved itself");(t=C(e))?m(function(){var n={_w:r,_d:!1};try{t.call(e,c(A,n,1),c(q,n,1))}catch(e){q.call(n,e)}}):(r._v=e,r._s=1,P(r,!1))}catch(e){q.call({_w:r,_d:!1},e)}}};L||(E=function(e){p(this,E,"Promise","_h"),d(e),n.call(this);try{e(c(A,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=O(y(this,E));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=R?k.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&P(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n;this.promise=e,this.resolve=c(A,e,1),this.reject=c(q,e,1)},_.f=O=function(e){return e===E||e===a?new i(e):o(e)}),l(l.G+l.W+l.F*!L,{Promise:E}),r(18)(E,"Promise"),r(62)("Promise"),a=r(0).Promise,l(l.S+l.F*!L,"Promise",{reject:function(e){var t=O(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(s||!L),"Promise",{resolve:function(e){return w(s&&this===a?E:this,e)}}),l(l.S+l.F*!(L&&r(59)(function(e){E.all(e).catch(S)})),"Promise",{all:function(e){var t=this,r=O(t),n=r.resolve,o=r.reject,i=b(function(){var r=[],i=0,a=1;v(e,!1,function(e){var s=i++,u=!1;r.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,r[s]=e,--a||n(r))},o)}),--a||n(r)});return i.e&&o(i.v),r.promise},race:function(e){var t=this,r=O(t),n=r.reject,o=b(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,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,u="process"==r(17)(a);e.exports=function(){var e,t,r,c=function(){var n,o;for(u&&(n=a.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(u)r=function(){a.nextTick(c)};else if(i){var f=!0,l=document.createTextNode("");new i(c).observe(l,{characterData:!0}),r=function(){l.data=f=!f}}else if(s&&s.resolve){var h=s.resolve();r=function(){h.then(c)}}else r=function(){o.call(n,c)};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),i=r(2),a=r(68),s=r(71);n(n.P+n.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then(function(){return r})}:e,r?function(r){return s(t,e()).then(function(){throw r})}:e)}})},function(e,t,r){"use strict";var n=r(1),o=r(43),i=r(70);n(n.S,"Promise",{try:function(e){var t=o.f(this),r=i(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),i=n(o),a=r(114),s=n(a);t.default=function e(t,r,n){null===t&&(t=Function.prototype);var o=(0,s.default)(t,r);if(void 0===o){var a=(0,i.default)(t);return null===a?void 0:e(a,r,n)}if("value"in o)return o.value;var u=o.get;if(void 0!==u)return u.call(n)}},function(e,t,r){r(113),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(115),__esModule:!0}},function(e,t,r){r(116);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(118),__esModule:!0}},function(e,t,r){r(27),r(12),r(20),r(119),r(120),r(121),r(122),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(125),__esModule:!0}},function(e,t,r){r(12),r(20),e.exports=r(48).f("iterator")},function(e,t,r){e.exports={default:r(127),__esModule:!0}},function(e,t,r){r(128),r(27),r(131),r(132),e.exports=r(0).Symbol},function(e,t,r){"use strict";var n=r(2),o=r(10),i=r(7),a=r(1),s=r(52),u=r(40).KEY,c=r(13),f=r(34),l=r(18),h=r(26),d=r(3),p=r(48),v=r(49),y=r(129),g=r(64),m=r(5),_=r(11),b=r(32),w=r(15),x=r(23),k=r(130),E=r(45),R=r(4),S=r(24),O=E.f,L=R.f,C=k.f,P=n.Symbol,T=n.JSON,N=T&&T.stringify,j=d("_hidden"),q=d("toPrimitive"),A={}.propertyIsEnumerable,M=f("symbol-registry"),D=f("symbols"),F=f("op-symbols"),I=Object.prototype,U="function"==typeof P,B=n.QObject,W=!B||!B.prototype||!B.prototype.findChild,G=i&&c(function(){return 7!=x(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=O(I,t);n&&delete I[t],L(e,t,r),n&&e!==I&&L(I,t,n)}:L,V=function(e){var t=D[e]=x(P.prototype);return t._k=e,t},H=U&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},K=function(e,t,r){return e===I&&K(F,t,r),m(e),t=b(t,!0),m(r),o(D,t)?(r.enumerable?(o(e,j)&&e[j][t]&&(e[j][t]=!1),r=x(r,{enumerable:w(0,!1)})):(o(e,j)||L(e,j,w(1,{})),e[j][t]=!0),G(e,t,r)):L(e,t,r)},J=function(e,t){m(e);for(var r,n=y(t=_(t)),o=0,i=n.length;i>o;)K(e,r=n[o++],t[r]);return e},$=function(e,t){return void 0===t?x(e):J(x(e),t)},z=function(e){var t=A.call(this,e=b(e,!0));return!(this===I&&o(D,e)&&!o(F,e))&&(!(t||!o(this,e)||!o(D,e)||o(this,j)&&this[j][e])||t)},Y=function(e,t){if(e=_(e),t=b(t,!0),e!==I||!o(D,t)||o(F,t)){var r=O(e,t);return!r||!o(D,t)||o(e,j)&&e[j][t]||(r.enumerable=!0),r}},X=function(e){for(var t,r=C(_(e)),n=[],i=0;r.length>i;)o(D,t=r[i++])||t==j||t==u||n.push(t);return n},Q=function(e){for(var t,r=e===I,n=C(r?F:_(e)),i=[],a=0;n.length>a;)!o(D,t=n[a++])||r&&!o(I,t)||i.push(D[t]);return i};U||(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===I&&t.call(F,r),o(this,j)&&o(this[j],e)&&(this[j][e]=!1),G(this,e,w(1,r))};return i&&W&&G(I,e,{configurable:!0,set:t}),V(e)},s(P.prototype,"toString",function(){return this._k}),E.f=Y,R.f=K,r(74).f=k.f=X,r(46).f=z,r(73).f=Q,i&&!r(22)&&s(I,"propertyIsEnumerable",z,!0),p.f=function(e){return V(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:P});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Z.length>ee;)d(Z[ee++]);for(var te=S(d.store),re=0;te.length>re;)v(te[re++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(M,e+="")?M[e]:M[e]=P(e)},keyFor:function(e){if(!H(e))throw TypeError(e+" is not a symbol!");for(var t in M)if(M[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!U,"Object",{create:$,defineProperty:K,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:X,getOwnPropertySymbols:Q}),T&&a(a.S+a.F*(!U||c(function(){var e=P();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!H(e)){for(var t,r,n=[e],o=1;arguments.length>o;)n.push(arguments[o++]);return t=n[1],"function"==typeof t&&(r=t),!r&&g(t)||(t=function(e,t){if(r&&(t=r.call(this,e,t)),!H(t))return t}),n[1]=t,N.apply(T,n)}}}),P.prototype[q]||r(9)(P.prototype,q,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),i=r(46);e.exports=function(e){var t=n(e),r=o.f;if(r)for(var a,s=r(e),u=i.f,c=0;s.length>c;)u.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,r){var n=r(11),o=r(74).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(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(134),i=n(o),a=r(138),s=n(a),u=r(47),c=n(u);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,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,r){e.exports={default:r(135),__esModule:!0}},function(e,t,r){r(136),e.exports=r(0).Object.setPrototypeOf},function(e,t,r){var n=r(1);n(n.S,"Object",{setPrototypeOf:r(137).set})},function(e,t,r){var n=r(6),o=r(5),i=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 i(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:i}},function(e,t,r){e.exports={default:r(139),__esModule:!0}},function(e,t,r){r(140);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(142),__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(144),__esModule:!0}},function(e,t,r){r(20),r(12),e.exports=r(145)},function(e,t,r){var n=r(5),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(147),__esModule:!0}},function(e,t,r){r(148),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}}]);