Tryag File Manager
Home
||
Turbo Force
||
B-F Config_Cpanel
Current none :
/
proc
/
self
/
root
/
var
/
www
/
html
/
tpid-aden
/
react
/
Or
Select Your none :
Upload File :
New :
File
Dir
//proc/self/root/var/www/html/tpid-aden/react/service-worker.js
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=7)}([function(e,t,r){e.exports=r(6)},function(e,t,r){"use strict";try{self["workbox:core:5.1.4"]&&_()}catch(n){}},function(e,t,r){"use strict";try{self["workbox:precaching:5.1.4"]&&_()}catch(n){}},function(e,t,r){"use strict";try{self["workbox:routing:5.1.4"]&&_()}catch(n){}},function(e,t,r){"use strict";try{self["workbox:strategies:5.1.4"]&&_()}catch(n){}},function(e,t,r){"use strict";try{self["workbox:expiration:5.1.4"]&&_()}catch(n){}},function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,a="function"===typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",o=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(S){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,i=Object.create(a.prototype),c=new T(n||[]);return i._invoke=function(e,t,r){var n=h;return function(a,i){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===a)throw i;return U()}for(r.method=a,r.arg=i;;){var c=r.delegate;if(c){var o=E(c,r);if(o){if(o===d)continue;return o}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===h)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=f(e,t,r);if("normal"===u.type){if(n=r.done?v:l,u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=v,r.method="throw",r.arg=u.arg)}}}(e,r,c),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(S){return{type:"throw",arg:S}}}e.wrap=s;var h="suspendedStart",l="suspendedYield",p="executing",v="completed",d={};function y(){}function m(){}function g(){}var x={};u(x,i,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(O([])));b&&b!==r&&n.call(b,i)&&(x=b);var k=g.prototype=y.prototype=Object.create(x);function _(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function R(e,t){function r(a,i,c,o){var u=f(e[a],e,i);if("throw"!==u.type){var s=u.arg,h=s.value;return h&&"object"===typeof h&&n.call(h,"__await")?t.resolve(h.__await).then((function(e){r("next",e,c,o)}),(function(e){r("throw",e,c,o)})):t.resolve(h).then((function(e){s.value=e,c(s)}),(function(e){return r("throw",e,c,o)}))}o(u.arg)}var a;this._invoke=function(e,n){function i(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(i,i):i()}}function E(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var a=f(n,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,d;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}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 q(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function O(e){if(e){var r=e[i];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var a=-1,c=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return c.next=c}}return{next:U}}function U(){return{value:t,done:!0}}return m.prototype=g,u(k,"constructor",g),u(g,"constructor",m),m.displayName=u(g,o,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,o,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},_(R.prototype),u(R.prototype,c,(function(){return this})),e.AsyncIterator=R,e.async=function(t,r,n,a,i){void 0===i&&(i=Promise);var c=new R(s(t,r,n,a),i);return e.isGeneratorFunction(r)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},_(k),u(k,o,"Generator"),u(k,i,(function(){return this})),u(k,"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=O,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(q),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return o.type="throw",o.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],o=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(u&&s){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=e,c.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(c)},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),d},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),q(r),d}},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 a=n.arg;q(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:O(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=n}catch(a){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function i(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.r(t);r(1);function c(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=a(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,o=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){u=!0,c=e},f:function(){try{o||null==r.return||r.return()}finally{if(u)throw c}}}}function o(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),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function p(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function d(e,t){if(t&&("object"===v(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){var t=p();return function(){var r,n=l(e);if(t){var a=l(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d(this,r)}}function m(e,t,r){return m=p()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&f(a,r.prototype),a},m.apply(null,arguments)}function g(e){var t="function"===typeof Map?new Map:void 0;return g=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return m(e,arguments,l(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,e)},g(e)}var x=function(e){for(var t=e,r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return n.length>0&&(t+=" :: ".concat(JSON.stringify(n))),t},w=function(e){h(r,e);var t=y(r);function r(e,n){var a;s(this,r);var i=x(e,n);return(a=t.call(this,i)).name=e,a.details=n,a}return u(r)}(g(Error)),b=new Set;function k(e){b.add(e)}var _={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!==typeof registration?registration.scope:""},R=function(e){return[_.prefix,e,_.suffix].filter((function(e){return e&&e.length>0})).join("-")},E=function(e){return e||R(_.precache)},L=function(e){return e||R(_.runtime)};function q(e,t,r,n,a,i,c){try{var o=e[i](c),u=o.value}catch(s){return void r(s)}o.done?t(u):Promise.resolve(u).then(n,a)}function T(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function c(e){q(i,n,a,c,o,"next",e)}function o(e){q(i,n,a,c,o,"throw",e)}c(void 0)}))}}var O=r(0),U=r.n(O);function S(){return N.apply(this,arguments)}function N(){return(N=T(U.a.mark((function e(){var t,r,n;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:0,t=c(b),e.prev=2,t.s();case 4:if((r=t.n()).done){e.next=11;break}return n=r.value,e.next=8,n();case 8:0;case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(2),t.e(e.t0);case 16:return e.prev=16,t.f(),e.finish(16);case 19:0;case 20:case"end":return e.stop()}}),e,null,[[2,13,16,19]])})))).apply(this,arguments)}var j,A=function(e){return new URL(String(e),location.href).href.replace(new RegExp("^".concat(location.origin)),"")},M=function(e,t){return e.filter((function(e){return t in e}))},P=function(){var e=T(U.a.mark((function e(t){var r,n,a,i,o,u,s,f;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.request,n=t.mode,a=t.plugins,i=M(void 0===a?[]:a,"cacheKeyWillBeUsed"),o=r,u=c(i),e.prev=4,u.s();case 6:if((s=u.n()).done){e.next=15;break}return f=s.value,e.next=10,f.cacheKeyWillBeUsed.call(f,{mode:n,request:o});case 10:"string"===typeof(o=e.sent)&&(o=new Request(o));case 13:e.next=6;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(4),u.e(e.t0);case 20:return e.prev=20,u.f(),e.finish(20);case 23:return e.abrupt("return",o);case 24:case"end":return e.stop()}}),e,null,[[4,17,20,23]])})));return function(t){return e.apply(this,arguments)}}(),C=function(){var e=T(U.a.mark((function e(t){var r,n,a,i,o,u,s,f,h,l;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.request,n=t.response,a=t.event,i=t.plugins,o=n,u=!1,s=c(void 0===i?[]:i),e.prev=4,s.s();case 6:if((f=s.n()).done){e.next=19;break}if(!("cacheWillUpdate"in(h=f.value))){e.next=17;break}return u=!0,l=h.cacheWillUpdate,e.next=13,l.call(h,{request:r,response:o,event:a});case 13:if(o=e.sent){e.next=17;break}return e.abrupt("break",19);case 17:e.next=6;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(4),s.e(e.t0);case 24:return e.prev=24,s.f(),e.finish(24);case 27:return u||(o=o&&200===o.status?o:void 0),e.abrupt("return",o||null);case 29:case"end":return e.stop()}}),e,null,[[4,21,24,27]])})));return function(t){return e.apply(this,arguments)}}(),K=function(){var e=T(U.a.mark((function e(t){var r,n,a,i,o,u,s,f,h,l,p,v,d;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.cacheName,n=t.request,a=t.event,i=t.matchOptions,o=t.plugins,u=void 0===o?[]:o,e.next=3,self.caches.open(r);case 3:return s=e.sent,e.next=6,P({plugins:u,request:n,mode:"read"});case 6:return f=e.sent,e.next=9,s.match(f,i);case 9:h=e.sent,l=c(u),e.prev=12,l.s();case 14:if((p=l.n()).done){e.next=24;break}if(!("cachedResponseWillBeUsed"in(v=p.value))){e.next=22;break}return d=v.cachedResponseWillBeUsed,e.next=20,d.call(v,{cacheName:r,event:a,matchOptions:i,cachedResponse:h,request:f});case 20:h=e.sent;case 22:e.next=14;break;case 24:e.next=29;break;case 26:e.prev=26,e.t0=e.catch(12),l.e(e.t0);case 29:return e.prev=29,l.f(),e.finish(29);case 32:return e.abrupt("return",h);case 33:case"end":return e.stop()}}),e,null,[[12,26,29,32]])})));return function(t){return e.apply(this,arguments)}}(),I=function(){var e=T(U.a.mark((function e(t){var r,n,a,i,o,u,s,f,h,l,p,v,d,y,m;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.cacheName,n=t.request,a=t.response,i=t.event,o=t.plugins,u=void 0===o?[]:o,s=t.matchOptions,e.next=4;break;case 4:return e.next=6,P({plugins:u,request:n,mode:"write"});case 6:if(f=e.sent,a){e.next=10;break}throw new w("cache-put-with-no-response",{url:A(f.url)});case 10:return e.next=12,C({event:i,plugins:u,response:a,request:f});case 12:if(h=e.sent){e.next=16;break}return e.abrupt("return");case 16:return e.next=18,self.caches.open(r);case 18:if(l=e.sent,!((p=M(u,"cacheDidUpdate")).length>0)){e.next=26;break}return e.next=23,K({cacheName:r,matchOptions:s,request:f});case 23:e.t0=e.sent,e.next=27;break;case 26:e.t0=null;case 27:return v=e.t0,e.prev=29,e.next=32,l.put(f,h);case 32:e.next=40;break;case 34:if(e.prev=34,e.t1=e.catch(29),"QuotaExceededError"!==e.t1.name){e.next=39;break}return e.next=39,S();case 39:throw e.t1;case 40:d=c(p),e.prev=41,d.s();case 43:if((y=d.n()).done){e.next=49;break}return m=y.value,e.next=47,m.cacheDidUpdate.call(m,{cacheName:r,event:i,oldResponse:v,newResponse:h,request:f});case 47:e.next=43;break;case 49:e.next=54;break;case 51:e.prev=51,e.t2=e.catch(41),d.e(e.t2);case 54:return e.prev=54,d.f(),e.finish(54);case 57:case"end":return e.stop()}}),e,null,[[29,34],[41,51,54,57]])})));return function(t){return e.apply(this,arguments)}}(),W={put:I,match:K};function D(){if(void 0===j){var e=new Response("");if("body"in e)try{new Response(e.body),j=!0}catch(t){j=!1}j=!1}return j}function F(e){e.then((function(){}))}function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i=[],c=!0,o=!1;try{for(r=r.call(e);!(c=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);c=!0);}catch(u){o=!0,a=u}finally{try{c||null==r.return||r.return()}finally{if(o)throw a}}return i}}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var B=function(){function e(t,r){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=a.onupgradeneeded,c=a.onversionchange;s(this,e),this._db=null,this._name=t,this._version=r,this._onupgradeneeded=i,this._onversionchange=c||function(){return n.close()}}return u(e,[{key:"db",get:function(){return this._db}},{key:"open",value:function(){var e=T(U.a.mark((function e(){var t=this;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._db){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,new Promise((function(e,r){var n=!1;setTimeout((function(){n=!0,r(new Error("The open request was blocked and timed out"))}),t.OPEN_TIMEOUT);var a=indexedDB.open(t._name,t._version);a.onerror=function(){return r(a.error)},a.onupgradeneeded=function(e){n?(a.transaction.abort(),a.result.close()):"function"===typeof t._onupgradeneeded&&t._onupgradeneeded(e)},a.onsuccess=function(){var r=a.result;n?r.close():(r.onversionchange=t._onversionchange.bind(t),e(r))}}));case 4:return this._db=e.sent,e.abrupt("return",this);case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"getKey",value:function(){var e=T(U.a.mark((function e(t,r){return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getAllKeys(t,r,1);case 2:return e.abrupt("return",e.sent[0]);case 3:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"getAll",value:function(){var e=T(U.a.mark((function e(t,r,n){return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getAllMatching(t,{query:r,count:n});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t,r,n){return e.apply(this,arguments)}}()},{key:"getAllKeys",value:function(){var e=T(U.a.mark((function e(t,r,n){var a;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getAllMatching(t,{query:r,count:n,includeKeys:!0});case 2:return a=e.sent,e.abrupt("return",a.map((function(e){return e.key})));case 4:case"end":return e.stop()}}),e,this)})));return function(t,r,n){return e.apply(this,arguments)}}()},{key:"getAllMatching",value:function(){var e=T(U.a.mark((function e(t){var r,n,a,i,c,o,u,s,f,h=arguments;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=h.length>1&&void 0!==h[1]?h[1]:{},n=r.index,a=r.query,i=void 0===a?null:a,c=r.direction,o=void 0===c?"next":c,u=r.count,s=r.includeKeys,f=void 0!==s&&s,e.next=3,this.transaction([t],"readonly",(function(e,r){var a=e.objectStore(t),c=n?a.index(n):a,s=[],h=c.openCursor(i,o);h.onsuccess=function(){var e=h.result;e?(s.push(f?e:e.value),u&&s.length>=u?r(s):e.continue()):r(s)}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"transaction",value:function(){var e=T(U.a.mark((function e(t,r,n){var a=this;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.open();case 2:return e.next=4,new Promise((function(e,i){var c=a._db.transaction(t,r);c.onabort=function(){return i(c.error)},c.oncomplete=function(){return e()},n(c,(function(t){return e(t)}))}));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e,this)})));return function(t,r,n){return e.apply(this,arguments)}}()},{key:"_call",value:function(){var e=T(U.a.mark((function e(t,r,n){var a,i,c,o,u=arguments;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(a=u.length,i=new Array(a>3?a-3:0),c=3;c<a;c++)i[c-3]=u[c];return o=function(e,n){var a=e.objectStore(r),c=a[t].apply(a,i);c.onsuccess=function(){return n(c.result)}},e.next=4,this.transaction([r],n,o);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e,this)})));return function(t,r,n){return e.apply(this,arguments)}}()},{key:"close",value:function(){this._db&&(this._db.close(),this._db=null)}}]),e}();B.prototype.OPEN_TIMEOUT=2e3;for(var G=function(){var e,t=H(Y[Q],2),r=t[0],n=c(t[1]);try{var a=function(){var t=e.value;t in IDBObjectStore.prototype&&(B.prototype[t]=function(){var e=T(U.a.mark((function e(n){var a,i,c,o=arguments;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(a=o.length,i=new Array(a>1?a-1:0),c=1;c<a;c++)i[c-1]=o[c];return e.next=3,this._call.apply(this,[t,n,r].concat(i));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}())};for(n.s();!(e=n.n()).done;)a()}catch(i){n.e(i)}finally{n.f()}},Q=0,Y=Object.entries({readonly:["get","count","getKey","getAll","getAllKeys"],readwrite:["add","put","clear","delete"]});Q<Y.length;Q++)G();var $=function(){var e=T(U.a.mark((function e(t){return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise((function(e,r){var n=indexedDB.deleteDatabase(t);n.onerror=function(){r(n.error)},n.onblocked=function(){r(new Error("Delete blocked"))},n.onsuccess=function(){e()}}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),J=function(){var e=T(U.a.mark((function e(t){var r,n,a,i,o,u,s,f,h,l,p,v,d,y,m,g,x,b,k,_,R;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.request,n=t.fetchOptions,a=t.event,i=t.plugins,o=void 0===i?[]:i,"string"===typeof r&&(r=new Request(r)),!(a instanceof FetchEvent&&a.preloadResponse)){e.next=9;break}return e.next=5,a.preloadResponse;case 5:if(!(u=e.sent)){e.next=9;break}return e.abrupt("return",u);case 9:0,s=M(o,"fetchDidFail"),f=s.length>0?r.clone():null,e.prev=12,h=c(o),e.prev=14,h.s();case 16:if((l=h.n()).done){e.next=27;break}if(!("requestWillFetch"in(p=l.value))){e.next=25;break}return v=p.requestWillFetch,d=r.clone(),e.next=23,v.call(p,{request:d,event:a});case 23:r=e.sent;case 25:e.next=16;break;case 27:e.next=32;break;case 29:e.prev=29,e.t0=e.catch(14),h.e(e.t0);case 32:return e.prev=32,h.f(),e.finish(32);case 35:e.next=40;break;case 37:throw e.prev=37,e.t1=e.catch(12),new w("plugin-error-request-will-fetch",{thrownError:e.t1});case 40:if(y=r.clone(),e.prev=41,"navigate"!==r.mode){e.next=48;break}return e.next=45,fetch(r);case 45:m=e.sent,e.next=51;break;case 48:return e.next=50,fetch(r,n);case 50:m=e.sent;case 51:0,g=c(o),e.prev=53,g.s();case 55:if((x=g.n()).done){e.next=64;break}if(!("fetchDidSucceed"in(b=x.value))){e.next=62;break}return e.next=60,b.fetchDidSucceed.call(b,{event:a,request:y,response:m});case 60:m=e.sent;case 62:e.next=55;break;case 64:e.next=69;break;case 66:e.prev=66,e.t2=e.catch(53),g.e(e.t2);case 69:return e.prev=69,g.f(),e.finish(69);case 72:return e.abrupt("return",m);case 75:e.prev=75,e.t3=e.catch(41),k=c(s),e.prev=79,k.s();case 81:if((_=k.n()).done){e.next=87;break}return R=_.value,e.next=85,R.fetchDidFail.call(R,{error:e.t3,event:a,originalRequest:f.clone(),request:y.clone()});case 85:e.next=81;break;case 87:e.next=92;break;case 89:e.prev=89,e.t4=e.catch(79),k.e(e.t4);case 92:return e.prev=92,k.f(),e.finish(92);case 95:throw e.t3;case 96:case"end":return e.stop()}}),e,null,[[12,37],[14,29,32,35],[41,75],[53,66,69,72],[79,89,92,95]])})));return function(t){return e.apply(this,arguments)}}(),V={fetch:J};function z(e,t){return X.apply(this,arguments)}function X(){return(X=T(U.a.mark((function e(t,r){var n,a,i,c;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.clone(),a={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},i=r?r(a):a,!D()){e.next=7;break}e.t0=n.body,e.next=10;break;case 7:return e.next=9,n.blob();case 9:e.t0=e.sent;case 10:return c=e.t0,e.abrupt("return",new Response(c,i));case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}r(5);var Z="cache-entries",ee=function(e){var t=new URL(e,location.href);return t.hash="",t.href},te=function(){function e(t){var r=this;s(this,e),this._cacheName=t,this._db=new B("workbox-expiration",1,{onupgradeneeded:function(e){return r._handleUpgrade(e)}})}return u(e,[{key:"_handleUpgrade",value:function(e){var t=e.target.result.createObjectStore(Z,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1}),$(this._cacheName)}},{key:"setTimestamp",value:function(){var e=T(U.a.mark((function e(t,r){var n;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=ee(t),n={url:t,timestamp:r,cacheName:this._cacheName,id:this._getId(t)},e.next=4,this._db.put(Z,n);case 4:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"getTimestamp",value:function(){var e=T(U.a.mark((function e(t){var r;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._db.get(Z,this._getId(t));case 2:return r=e.sent,e.abrupt("return",r.timestamp);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"expireEntries",value:function(){var e=T(U.a.mark((function e(t,r){var n,a,i,o,u,s=this;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._db.transaction(Z,"readwrite",(function(e,n){var a=e.objectStore(Z).index("timestamp").openCursor(null,"prev"),i=[],c=0;a.onsuccess=function(){var e=a.result;if(e){var o=e.value;o.cacheName===s._cacheName&&(t&&o.timestamp<t||r&&c>=r?i.push(e.value):c++),e.continue()}else n(i)}}));case 2:n=e.sent,a=[],i=c(n),e.prev=5,i.s();case 7:if((o=i.n()).done){e.next=14;break}return u=o.value,e.next=11,this._db.delete(Z,u.id);case 11:a.push(u.url);case 12:e.next=7;break;case 14:e.next=19;break;case 16:e.prev=16,e.t0=e.catch(5),i.e(e.t0);case 19:return e.prev=19,i.f(),e.finish(19);case 22:return e.abrupt("return",a);case 23:case"end":return e.stop()}}),e,this,[[5,16,19,22]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_getId",value:function(e){return this._cacheName+"|"+ee(e)}}]),e}(),re=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s(this,e),this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=r.maxEntries,this._maxAgeSeconds=r.maxAgeSeconds,this._cacheName=t,this._timestampModel=new te(t)}return u(e,[{key:"expireEntries",value:function(){var e=T(U.a.mark((function e(){var t,r,n,a,i,o;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._isRunning){e.next=3;break}return this._rerunRequested=!0,e.abrupt("return");case 3:return this._isRunning=!0,t=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,e.next=7,this._timestampModel.expireEntries(t,this._maxEntries);case 7:return r=e.sent,e.next=10,self.caches.open(this._cacheName);case 10:n=e.sent,a=c(r),e.prev=12,a.s();case 14:if((i=a.n()).done){e.next=20;break}return o=i.value,e.next=18,n.delete(o);case 18:e.next=14;break;case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(12),a.e(e.t0);case 25:return e.prev=25,a.f(),e.finish(25);case 28:0,this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,F(this.expireEntries()));case 31:case"end":return e.stop()}}),e,this,[[12,22,25,28]])})));return function(){return e.apply(this,arguments)}}()},{key:"updateTimestamp",value:function(){var e=T(U.a.mark((function e(t){return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,this._timestampModel.setTimestamp(t,Date.now());case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"isURLExpired",value:function(){var e=T(U.a.mark((function e(t){var r,n;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._maxAgeSeconds){e.next=6;break}e.next=3;break;case 3:return e.abrupt("return",!1);case 6:return e.next=8,this._timestampModel.getTimestamp(t);case 8:return r=e.sent,n=Date.now()-1e3*this._maxAgeSeconds,e.abrupt("return",r<n);case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"delete",value:function(){var e=T(U.a.mark((function e(){return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._rerunRequested=!1,e.next=3,this._timestampModel.expireEntries(1/0);case 3:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}(),ne=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,e),this.cachedResponseWillBeUsed=function(){var e=T(U.a.mark((function e(r){var n,a,i,c,o,u,s;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.event,a=r.request,i=r.cacheName,c=r.cachedResponse){e.next=3;break}return e.abrupt("return",null);case 3:if(o=t._isResponseDateFresh(c),F((u=t._getCacheExpiration(i)).expireEntries()),s=u.updateTimestamp(a.url),n)try{n.waitUntil(s)}catch(f){0}return e.abrupt("return",o?c:null);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.cacheDidUpdate=function(){var e=T(U.a.mark((function e(r){var n,a,i;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.cacheName,a=r.request,i=t._getCacheExpiration(n),e.next=5,i.updateTimestamp(a.url);case 5:return e.next=7,i.expireEntries();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this._config=r,this._maxAgeSeconds=r.maxAgeSeconds,this._cacheExpirations=new Map,r.purgeOnQuotaError&&k((function(){return t.deleteCacheAndMetadata()}))}return u(e,[{key:"_getCacheExpiration",value:function(e){if(e===L())throw new w("expire-custom-caches-only");var t=this._cacheExpirations.get(e);return t||(t=new re(e,this._config),this._cacheExpirations.set(e,t)),t}},{key:"_isResponseDateFresh",value:function(e){if(!this._maxAgeSeconds)return!0;var t=this._getDateHeaderTimestamp(e);return null===t||t>=Date.now()-1e3*this._maxAgeSeconds}},{key:"_getDateHeaderTimestamp",value:function(e){if(!e.headers.has("date"))return null;var t=e.headers.get("date"),r=new Date(t).getTime();return isNaN(r)?null:r}},{key:"deleteCacheAndMetadata",value:function(){var e=T(U.a.mark((function e(){var t,r,n,a,i;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=c(this._cacheExpirations),e.prev=1,t.s();case 3:if((r=t.n()).done){e.next=11;break}return n=H(r.value,2),a=n[0],i=n[1],e.next=7,self.caches.delete(a);case 7:return e.next=9,i.delete();case 9:e.next=3;break;case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(1),t.e(e.t0);case 16:return e.prev=16,t.f(),e.finish(16);case 19:this._cacheExpirations=new Map;case 20:case"end":return e.stop()}}),e,this,[[1,13,16,19]])})));return function(){return e.apply(this,arguments)}}()}]),e}(),ae=(r(2),[]),ie=function(){return ae};function ce(e){if(!e)throw new w("add-to-cache-list-unexpected-type",{entry:e});if("string"===typeof e){var t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}var r=e.revision,n=e.url;if(!n)throw new w("add-to-cache-list-unexpected-type",{entry:e});if(!r){var a=new URL(n,location.href);return{cacheKey:a.href,url:a.href}}var i=new URL(n,location.href),c=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",r),{cacheKey:i.href,url:c.href}}var oe,ue=function(){function e(t){s(this,e),this._cacheName=E(t),this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map}return u(e,[{key:"addToCacheList",value:function(e){var t,r=[],n=c(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;"string"===typeof a?r.push(a):a&&void 0===a.revision&&r.push(a.url);var i=ce(a),o=i.cacheKey,u=i.url,s="string"!==typeof a&&a.revision?"reload":"default";if(this._urlsToCacheKeys.has(u)&&this._urlsToCacheKeys.get(u)!==o)throw new w("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(u),secondEntry:o});if("string"!==typeof a&&a.integrity){if(this._cacheKeysToIntegrities.has(o)&&this._cacheKeysToIntegrities.get(o)!==a.integrity)throw new w("add-to-cache-list-conflicting-integrities",{url:u});this._cacheKeysToIntegrities.set(o,a.integrity)}if(this._urlsToCacheKeys.set(u,o),this._urlsToCacheModes.set(u,s),r.length>0){var f="Workbox is precaching URLs without revision "+"info: ".concat(r.join(", "),"\nThis is generally NOT safe. ")+"Learn more at https://bit.ly/wb-precache";console.warn(f)}}}catch(h){n.e(h)}finally{n.f()}}},{key:"install",value:function(){var e=T(U.a.mark((function e(){var t,r,n,a,i,o,u,s,f,h,l,p,v,d,y,m=this,g=arguments;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=g.length>0&&void 0!==g[0]?g[0]:{},r=t.event,n=t.plugins,a=[],i=[],e.next=6,self.caches.open(this._cacheName);case 6:return o=e.sent,e.next=9,o.keys();case 9:u=e.sent,s=new Set(u.map((function(e){return e.url}))),f=c(this._urlsToCacheKeys);try{for(f.s();!(h=f.n()).done;)l=H(h.value,2),p=l[0],v=l[1],s.has(v)?i.push(p):a.push({cacheKey:v,url:p})}catch(x){f.e(x)}finally{f.f()}return d=a.map((function(e){var t=e.cacheKey,a=e.url,i=m._cacheKeysToIntegrities.get(t),c=m._urlsToCacheModes.get(a);return m._addURLToCache({cacheKey:t,cacheMode:c,event:r,integrity:i,plugins:n,url:a})})),e.next=16,Promise.all(d);case 16:return y=a.map((function(e){return e.url})),e.abrupt("return",{updatedURLs:y,notUpdatedURLs:i});case 19:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"activate",value:function(){var e=T(U.a.mark((function e(){var t,r,n,a,i,o,u;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,self.caches.open(this._cacheName);case 2:return t=e.sent,e.next=5,t.keys();case 5:r=e.sent,n=new Set(this._urlsToCacheKeys.values()),a=[],i=c(r),e.prev=9,i.s();case 11:if((o=i.n()).done){e.next=19;break}if(u=o.value,n.has(u.url)){e.next=17;break}return e.next=16,t.delete(u);case 16:a.push(u.url);case 17:e.next=11;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(9),i.e(e.t0);case 24:return e.prev=24,i.f(),e.finish(24);case 27:return e.abrupt("return",{deletedURLs:a});case 29:case"end":return e.stop()}}),e,this,[[9,21,24,27]])})));return function(){return e.apply(this,arguments)}}()},{key:"_addURLToCache",value:function(){var e=T(U.a.mark((function e(t){var r,n,a,i,o,u,s,f,h,l,p,v;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.cacheKey,n=t.url,a=t.cacheMode,i=t.event,o=t.plugins,u=t.integrity,s=new Request(n,{integrity:u,cache:a,credentials:"same-origin"}),e.next=4,V.fetch({event:i,plugins:o,request:s});case 4:f=e.sent,l=c(o||[]);try{for(l.s();!(p=l.n()).done;)"cacheWillUpdate"in(v=p.value)&&(h=v)}catch(d){l.e(d)}finally{l.f()}if(!h){e.next=13;break}return e.next=10,h.cacheWillUpdate({event:i,request:s,response:f});case 10:e.t0=e.sent,e.next=14;break;case 13:e.t0=f.status<400;case 14:if(e.t0){e.next=17;break}throw new w("bad-precaching-response",{url:n,status:f.status});case 17:if(!f.redirected){e.next=21;break}return e.next=20,z(f);case 20:f=e.sent;case 21:return e.next=23,W.put({event:i,plugins:o,response:f,request:r===n?s:new Request(r),cacheName:this._cacheName,matchOptions:{ignoreSearch:!0}});case 23:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getURLsToCacheKeys",value:function(){return this._urlsToCacheKeys}},{key:"getCachedURLs",value:function(){return i(this._urlsToCacheKeys.keys())}},{key:"getCacheKeyForURL",value:function(e){var t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}},{key:"matchPrecache",value:function(){var e=T(U.a.mark((function e(t){var r,n,a;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t instanceof Request?t.url:t,!(n=this.getCacheKeyForURL(r))){e.next=7;break}return e.next=5,self.caches.open(this._cacheName);case 5:return a=e.sent,e.abrupt("return",a.match(n));case 7:return e.abrupt("return",void 0);case 8:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"createHandler",value:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(){var r=T(U.a.mark((function r(n){var a,i;return U.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=n.request,r.prev=1,r.next=4,e.matchPrecache(a);case 4:if(!(i=r.sent)){r.next=7;break}return r.abrupt("return",i);case 7:throw new w("missing-precache-entry",{cacheName:e._cacheName,url:a instanceof Request?a.url:a});case 10:if(r.prev=10,r.t0=r.catch(1),!t){r.next=15;break}return r.abrupt("return",fetch(a));case 15:throw r.t0;case 16:case"end":return r.stop()}}),r,null,[[1,10]])})));return function(e){return r.apply(this,arguments)}}()}},{key:"createHandlerBoundToURL",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.getCacheKeyForURL(e);if(!r)throw new w("non-precached-url",{url:e});var n=this.createHandler(t),a=new Request(e);return function(){return n({request:a})}}}]),e}(),se=function(){return oe||(oe=new ue),oe};function fe(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=function(){var r=a[n];t.some((function(e){return e.test(r)}))&&e.searchParams.delete(r)},n=0,a=i(e.searchParams.keys());n<a.length;n++)r();return e}var he=U.a.mark(le);function le(e){var t,r,n,a,i,o,u,s,f,h,l,p,v,d=arguments;return U.a.wrap((function(y){for(;;)switch(y.prev=y.next){case 0:return t=d.length>1&&void 0!==d[1]?d[1]:{},r=t.ignoreURLParametersMatching,n=t.directoryIndex,a=t.cleanURLs,i=t.urlManipulation,(o=new URL(e,location.href)).hash="",y.next=5,o.href;case 5:return u=fe(o,r),y.next=8,u.href;case 8:if(!n||!u.pathname.endsWith("/")){y.next=13;break}return(s=new URL(u.href)).pathname+=n,y.next=13,s.href;case 13:if(!a){y.next=18;break}return(f=new URL(u.href)).pathname+=".html",y.next=18,f.href;case 18:if(!i){y.next=37;break}h=i({url:o}),l=c(h),y.prev=21,l.s();case 23:if((p=l.n()).done){y.next=29;break}return v=p.value,y.next=27,v.href;case 27:y.next=23;break;case 29:y.next=34;break;case 31:y.prev=31,y.t0=y.catch(21),l.e(y.t0);case 34:return y.prev=34,l.f(),y.finish(34);case 37:case"end":return y.stop()}}),he,null,[[21,31,34,37]])}var pe=function(e,t){var r,n=se().getURLsToCacheKeys(),a=c(le(e,t));try{for(a.s();!(r=a.n()).done;){var i=r.value,o=n.get(i);if(o)return o}}catch(u){a.e(u)}finally{a.f()}},ve=!1;function de(e){ve||(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ignoreURLParametersMatching,r=void 0===t?[/^utm_/]:t,n=e.directoryIndex,a=void 0===n?"index.html":n,i=e.cleanURLs,c=void 0===i||i,o=e.urlManipulation,u=E();self.addEventListener("fetch",(function(e){var t=pe(e.request.url,{cleanURLs:c,directoryIndex:a,ignoreURLParametersMatching:r,urlManipulation:o});if(t){var n=self.caches.open(u).then((function(e){return e.match(t)})).then((function(e){return e||fetch(t)}));e.respondWith(n)}}))}(e),ve=!0)}var ye=function(e){var t=se(),r=ie();e.waitUntil(t.install({event:e,plugins:r}).catch((function(e){throw e})))},me=function(e){var t=se();e.waitUntil(t.activate())};r(3);var ge,xe=function(e){return e&&"object"===typeof e?e:{handle:e}},we=u((function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET";s(this,e),this.handler=xe(r),this.match=t,this.method=n})),be=function(e){h(r,e);var t=y(r);function r(e,n,a){s(this,r);return t.call(this,(function(t){var r=t.url,n=e.exec(r.href);if(n&&(r.origin===location.origin||0===n.index))return n.slice(1)}),n,a)}return u(r)}(we),ke=function(){function e(){s(this,e),this._routes=new Map}return u(e,[{key:"routes",get:function(){return this._routes}},{key:"addFetchListener",value:function(){var e=this;self.addEventListener("fetch",(function(t){var r=t.request,n=e.handleRequest({request:r,event:t});n&&t.respondWith(n)}))}},{key:"addCacheListener",value:function(){var e=this;self.addEventListener("message",(function(t){if(t.data&&"CACHE_URLS"===t.data.type){var r=t.data.payload;0;var n=Promise.all(r.urlsToCache.map((function(t){"string"===typeof t&&(t=[t]);var r=m(Request,i(t));return e.handleRequest({request:r})})));t.waitUntil(n),t.ports&&t.ports[0]&&n.then((function(){return t.ports[0].postMessage(!0)}))}}))}},{key:"handleRequest",value:function(e){var t=this,r=e.request,n=e.event;var a=new URL(r.url,location.href);if(a.protocol.startsWith("http")){var i=this.findMatchingRoute({url:a,request:r,event:n}),c=i.params,o=i.route,u=o&&o.handler;if(!u&&this._defaultHandler&&(u=this._defaultHandler),u){var s;0;try{s=u.handle({url:a,request:r,event:n,params:c})}catch(f){s=Promise.reject(f)}return s instanceof Promise&&this._catchHandler&&(s=s.catch((function(e){return t._catchHandler.handle({url:a,request:r,event:n})}))),s}}}},{key:"findMatchingRoute",value:function(e){var t=e.url,r=e.request,n=e.event;var a,i=c(this._routes.get(r.method)||[]);try{for(i.s();!(a=i.n()).done;){var o=a.value,u=void 0,s=o.match({url:t,request:r,event:n});if(s)return u=s,(Array.isArray(s)&&0===s.length||s.constructor===Object&&0===Object.keys(s).length||"boolean"===typeof s)&&(u=void 0),{route:o,params:u}}}catch(f){i.e(f)}finally{i.f()}return{}}},{key:"setDefaultHandler",value:function(e){this._defaultHandler=xe(e)}},{key:"setCatchHandler",value:function(e){this._catchHandler=xe(e)}},{key:"registerRoute",value:function(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}},{key:"unregisterRoute",value:function(e){if(!this._routes.has(e.method))throw new w("unregister-route-but-not-found-with-method",{method:e.method});var t=this._routes.get(e.method).indexOf(e);if(!(t>-1))throw new w("unregister-route-route-not-registered");this._routes.get(e.method).splice(t,1)}}]),e}(),_e=function(){return ge||((ge=new ke).addFetchListener(),ge.addCacheListener()),ge};function Re(e,t,r){var n;if("string"===typeof e){var a=new URL(e,location.href);n=new we((function(e){return e.url.href===a.href}),t,r)}else if(e instanceof RegExp)n=new be(e,t,r);else if("function"===typeof e)n=new we(e,t,r);else{if(!(e instanceof we))throw new w("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});n=e}return _e().registerRoute(n),n}r(4);var Ee,Le={cacheWillUpdate:function(){var e=T(U.a.mark((function e(t){var r;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(200!==(r=t.response).status&&0!==r.status){e.next=3;break}return e.abrupt("return",r);case 3:return e.abrupt("return",null);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},qe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(s(this,e),this._cacheName=L(t.cacheName),this._plugins=t.plugins||[],t.plugins){var r=t.plugins.some((function(e){return!!e.cacheWillUpdate}));this._plugins=r?t.plugins:[Le].concat(i(t.plugins))}else this._plugins=[Le];this._fetchOptions=t.fetchOptions,this._matchOptions=t.matchOptions}return u(e,[{key:"handle",value:function(){var e=T(U.a.mark((function e(t){var r,n,a,i,c;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.event,n=t.request,[],"string"===typeof n&&(n=new Request(n)),a=this._getFromNetwork({request:n,event:r}),e.next=7,W.match({cacheName:this._cacheName,request:n,event:r,matchOptions:this._matchOptions,plugins:this._plugins});case 7:if(!(i=e.sent)){e.next=13;break}if(r)try{r.waitUntil(a)}catch(c){0}e.next=23;break;case 13:return e.prev=14,e.next=17,a;case 17:i=e.sent,e.next=23;break;case 20:e.prev=20,e.t0=e.catch(14),c=e.t0;case 23:if(i){e.next=26;break}throw new w("no-response",{url:n.url,error:c});case 26:return e.abrupt("return",i);case 27:case"end":return e.stop()}}),e,this,[[14,20]])})));return function(t){return e.apply(this,arguments)}}()},{key:"_getFromNetwork",value:function(){var e=T(U.a.mark((function e(t){var r,n,a,i;return U.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.request,n=t.event,e.next=3,V.fetch({request:r,event:n,fetchOptions:this._fetchOptions,plugins:this._plugins});case 3:if(a=e.sent,i=W.put({cacheName:this._cacheName,request:r,response:a.clone(),event:n,plugins:this._plugins}),n)try{n.waitUntil(i)}catch(c){0}return e.abrupt("return",a);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),e}();self.addEventListener("activate",(function(){return self.clients.claim()})),function(e){se().addToCacheList(e),e.length>0&&(self.addEventListener("install",ye),self.addEventListener("activate",me))}([{'revision':'89fa8e6078c88e7a00d2ce7b3c416c15','url':'/index.html'},{'revision':null,'url':'/static/css/2.e1e29677.chunk.css'},{'revision':null,'url':'/static/css/main.12e565c0.chunk.css'},{'revision':null,'url':'/static/js/2.378ead8d.chunk.js'},{'revision':null,'url':'/static/js/3.5f4c2dbd.chunk.js'},{'revision':null,'url':'/static/js/main.d46b12b7.chunk.js'},{'revision':null,'url':'/static/js/runtime-main.084ee844.js'},{'revision':null,'url':'/static/media/Nunito-Bold.7ddd6722.ttf'},{'revision':null,'url':'/static/media/Nunito-Light.abdadce6.ttf'},{'revision':null,'url':'/static/media/Nunito-Regular.e4eb7682.ttf'},{'revision':null,'url':'/static/media/Nunito-SemiBold.06337b2e.ttf'},{'revision':null,'url':'/static/media/Raleway-Bold.d1a96e2a.ttf'},{'revision':null,'url':'/static/media/Raleway-SemiBold.243af299.ttf'},{'revision':null,'url':'/static/media/calender.a698953f.png'},{'revision':null,'url':'/static/media/folder_failed.e690f17e.png'},{'revision':null,'url':'/static/media/ic_default_product.1a295fe5.jpg'},{'revision':null,'url':'/static/media/ic_empty_cart.9c1ad49a.png'},{'revision':null,'url':'/static/media/ic_empty_history.aa501b08.png'},{'revision':null,'url':'/static/media/ic_empty_invoice.2949eeb9.png'},{'revision':null,'url':'/static/media/ic_empty_product.cb1d0b28.png'},{'revision':null,'url':'/static/media/ic_error.80afb188.png'},{'revision':null,'url':'/static/media/ic_po_default.951d6e69.png'},{'revision':null,'url':'/static/media/img1.6e83aa93.png'},{'revision':null,'url':'/static/media/img1_crop.02cd5a9b.png'},{'revision':null,'url':'/static/media/img2.bae961ed.png'},{'revision':null,'url':'/static/media/img2_crop.45326068.png'},{'revision':null,'url':'/static/media/img3.0959af32.png'},{'revision':null,'url':'/static/media/img3_crop.bb6fab67.png'},{'revision':null,'url':'/static/media/img4.5f66d056.png'},{'revision':null,'url':'/static/media/img4_crop.ff6fa474.png'},{'revision':null,'url':'/static/media/img5.fe860913.png'},{'revision':null,'url':'/static/media/img5_crop.9410d04c.png'},{'revision':null,'url':'/static/media/img6_crop.d528da9a.png'},{'revision':null,'url':'/static/media/img_background.b8558c67.png'},{'revision':null,'url':'/static/media/img_pd_1.1630b553.png'},{'revision':null,'url':'/static/media/img_po_item.06e25701.png'},{'revision':null,'url':'/static/media/ktp.9f59c0d1.png'},{'revision':null,'url':'/static/media/logo_aden.7eb85b85.png'},{'revision':null,'url':'/static/media/logo_bca_klik2.5ef42b81.png'},{'revision':null,'url':'/static/media/logo_fauz.e4eeb4e2.png'},{'revision':null,'url':'/static/media/market_place.53770ee0.png'},{'revision':null,'url':'/static/media/search_folder.ba1dd1ff.png'}]),de(Ee);var Te,Oe=new RegExp("/[^/?]+\\.[^/]+$");Re((function(e){var t=e.request,r=e.url;return"navigate"===t.mode&&(!r.pathname.startsWith("/_")&&!r.pathname.match(Oe))}),(Te="/index.html",se().createHandlerBoundToURL(Te))),Re((function(e){var t=e.url;return t.origin===self.location.origin&&t.pathname.endsWith(".png")}),new qe({cacheName:"images",plugins:[new ne({maxEntries:50})]})),self.addEventListener("message",(function(e){e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}))}]);