@abtnode/webapp 1.16.17-beta-1cab4b42 → 1.16.17-beta-5d4664f8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blocklet.yml +1 -1
- package/build/asset-manifest.json +7 -7
- package/build/index.html +1 -1
- package/build/service-worker.js +1 -1
- package/build/static/js/{5953.b007743c.chunk.js → 5953.f4570f61.chunk.js} +1 -1
- package/build/static/js/{6950.4bdf0605.chunk.js → 6950.e0b7db0a.chunk.js} +1 -1
- package/build/static/js/7126.57231bf3.chunk.js +1 -0
- package/build/static/js/8059.cf139637.chunk.js +1 -0
- package/build/static/js/9662.a4767850.chunk.js +1 -0
- package/build/static/js/main.cc381a49.js +2 -0
- package/build/static/js/{main.cc6ed6b1.js.LICENSE.txt → main.cc381a49.js.LICENSE.txt} +1 -1
- package/package.json +1 -1
- package/build/static/js/7126.ea4d31e8.chunk.js +0 -1
- package/build/static/js/8059.2c8c4cf8.chunk.js +0 -1
- package/build/static/js/9662.31e1a4b5.chunk.js +0 -1
- package/build/static/js/main.cc6ed6b1.js +0 -2
package/blocklet.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
3
|
"main.css": "./static/css/main.c9e90622.css",
|
|
4
|
-
"main.js": "./static/js/main.
|
|
4
|
+
"main.js": "./static/js/main.cc381a49.js",
|
|
5
5
|
"static/js/9041.0f1c9ac4.chunk.js": "./static/js/9041.0f1c9ac4.chunk.js",
|
|
6
6
|
"static/js/7327.a90bf973.chunk.js": "./static/js/7327.a90bf973.chunk.js",
|
|
7
7
|
"static/js/3389.8d232eb3.chunk.js": "./static/js/3389.8d232eb3.chunk.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"static/js/7913.8561e15c.chunk.js": "./static/js/7913.8561e15c.chunk.js",
|
|
19
19
|
"static/js/6960.ae50a2e7.chunk.js": "./static/js/6960.ae50a2e7.chunk.js",
|
|
20
20
|
"static/js/5074.c3560023.chunk.js": "./static/js/5074.c3560023.chunk.js",
|
|
21
|
-
"static/js/6950.
|
|
21
|
+
"static/js/6950.e0b7db0a.chunk.js": "./static/js/6950.e0b7db0a.chunk.js",
|
|
22
22
|
"static/js/1366.4c0caad2.chunk.js": "./static/js/1366.4c0caad2.chunk.js",
|
|
23
23
|
"static/js/6580.486d1bdd.chunk.js": "./static/js/6580.486d1bdd.chunk.js",
|
|
24
24
|
"static/js/2365.a3571172.chunk.js": "./static/js/2365.a3571172.chunk.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"static/js/2537.0e8b4b3c.chunk.js": "./static/js/2537.0e8b4b3c.chunk.js",
|
|
31
31
|
"static/js/3216.9194d385.chunk.js": "./static/js/3216.9194d385.chunk.js",
|
|
32
32
|
"static/js/5555.46ed37f5.chunk.js": "./static/js/5555.46ed37f5.chunk.js",
|
|
33
|
-
"static/js/7126.
|
|
33
|
+
"static/js/7126.57231bf3.chunk.js": "./static/js/7126.57231bf3.chunk.js",
|
|
34
34
|
"static/css/8219.f696fdbf.chunk.css": "./static/css/8219.f696fdbf.chunk.css",
|
|
35
35
|
"static/js/8219.ba146cab.chunk.js": "./static/js/8219.ba146cab.chunk.js",
|
|
36
36
|
"static/js/7534.15f431d9.chunk.js": "./static/js/7534.15f431d9.chunk.js",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"static/js/1237.a2ae247a.chunk.js": "./static/js/1237.a2ae247a.chunk.js",
|
|
78
78
|
"static/js/3633.67f1416e.chunk.js": "./static/js/3633.67f1416e.chunk.js",
|
|
79
79
|
"static/js/7638.f7d773c5.chunk.js": "./static/js/7638.f7d773c5.chunk.js",
|
|
80
|
-
"static/js/9662.
|
|
80
|
+
"static/js/9662.a4767850.chunk.js": "./static/js/9662.a4767850.chunk.js",
|
|
81
81
|
"static/css/7676.5ade355d.chunk.css": "./static/css/7676.5ade355d.chunk.css",
|
|
82
82
|
"static/js/7676.bc69ead5.chunk.js": "./static/js/7676.bc69ead5.chunk.js",
|
|
83
83
|
"static/js/1685.9865eee2.chunk.js": "./static/js/1685.9865eee2.chunk.js",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"static/js/4407.8d6ca5cb.chunk.js": "./static/js/4407.8d6ca5cb.chunk.js",
|
|
88
88
|
"static/js/2305.06d230ea.chunk.js": "./static/js/2305.06d230ea.chunk.js",
|
|
89
89
|
"static/js/2452.2a023741.chunk.js": "./static/js/2452.2a023741.chunk.js",
|
|
90
|
-
"static/js/5953.
|
|
91
|
-
"static/js/8059.
|
|
90
|
+
"static/js/5953.f4570f61.chunk.js": "./static/js/5953.f4570f61.chunk.js",
|
|
91
|
+
"static/js/8059.cf139637.chunk.js": "./static/js/8059.cf139637.chunk.js",
|
|
92
92
|
"static/js/2657.0656dc7c.chunk.js": "./static/js/2657.0656dc7c.chunk.js",
|
|
93
93
|
"static/js/3137.163b6824.chunk.js": "./static/js/3137.163b6824.chunk.js",
|
|
94
94
|
"static/js/3135.ab6ac0d1.chunk.js": "./static/js/3135.ab6ac0d1.chunk.js",
|
|
@@ -132,6 +132,6 @@
|
|
|
132
132
|
},
|
|
133
133
|
"entrypoints": [
|
|
134
134
|
"static/css/main.c9e90622.css",
|
|
135
|
-
"static/js/main.
|
|
135
|
+
"static/js/main.cc381a49.js"
|
|
136
136
|
]
|
|
137
137
|
}
|
package/build/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><base href="/"/><meta charset="utf-8"/><link rel="shortcut icon" href="favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"/><meta name="theme-color" content="#000000"/><script>"https:"===window.location.protocol&&document.write('<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />')</script><link rel="manifest" href="manifest.json"/><link rel="stylesheet" href="icons/css/all.css"/><title>Blocklet Server</title><script src="api/env"></script><script defer="defer" src="./static/js/main.
|
|
1
|
+
<!doctype html><html lang="en"><head><base href="/"/><meta charset="utf-8"/><link rel="shortcut icon" href="favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"/><meta name="theme-color" content="#000000"/><script>"https:"===window.location.protocol&&document.write('<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />')</script><link rel="manifest" href="manifest.json"/><link rel="stylesheet" href="icons/css/all.css"/><title>Blocklet Server</title><script src="api/env"></script><script defer="defer" src="./static/js/main.cc381a49.js"></script><link href="./static/css/main.c9e90622.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
package/build/service-worker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see service-worker.js.LICENSE.txt */
|
|
2
|
-
!function(){"use strict";var e={522:function(){try{self["workbox:core:6.5.3"]&&_()}catch(e){}},434:function(){try{self["workbox:expiration:6.5.3"]&&_()}catch(e){}},290:function(){try{self["workbox:precaching:6.5.3"]&&_()}catch(e){}},92:function(){try{self["workbox:routing:6.5.3"]&&_()}catch(e){}},559:function(){try{self["workbox:strategies:6.5.3"]&&_()}catch(e){}}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}!function(){r(522);var e=null;function t(e){return t="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},t(e)}function n(e){var r=function(e,r){if("object"!==t(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,r||"default");if("object"!==t(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"===t(r)?r:String(r)}function a(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,n(a.key),a)}}function i(e,t,r){return t&&a(e.prototype,t),r&&a(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 c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function o(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&&c(e,t)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function h(){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 l(e,r){if(r&&("object"===t(r)||"function"===typeof r))return r;if(void 0!==r)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 f(e){var t=h();return function(){var r,n=u(e);if(t){var a=u(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return l(this,r)}}function p(e,t,r){return p=h()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&c(a,r.prototype),a},p.apply(null,arguments)}function v(e){var t="function"===typeof Map?new Map:void 0;return v=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 p(e,arguments,u(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),c(n,e)},v(e)}var d=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},y=function(e){o(r,e);var t=f(r);function r(e,n){var a;s(this,r);var i=d(e,n);return(a=t.call(this,i)).name=e,a.details=n,a}return i(r)}(v(Error)),b=new Set;var g,x={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!==typeof registration?registration.scope:""},m=function(e){return[x.prefix,e,x.suffix].filter((function(e){return e&&e.length>0})).join("-")},w=function(e){return e||m(x.precache)},k=function(e){return e||m(x.runtime)};function _(){_=function(){return r};var e,r={},n=Object.prototype,a=n.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",o=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function h(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(e){h=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var a=t&&t.prototype instanceof g?t:g,s=Object.create(a.prototype),c=new P(n||[]);return i(s,"_invoke",{value:O(e,r,c)}),s}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=l;var p="suspendedStart",v="suspendedYield",d="executing",y="completed",b={};function g(){}function x(){}function m(){}var w={};h(w,c,(function(){return this}));var k=Object.getPrototypeOf,E=k&&k(k(q([])));E&&E!==n&&a.call(E,c)&&(w=E);var R=m.prototype=g.prototype=Object.create(w);function L(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,r){function n(i,s,c,o){var u=f(e[i],e,s);if("throw"!==u.type){var h=u.arg,l=h.value;return l&&"object"==t(l)&&a.call(l,"__await")?r.resolve(l.__await).then((function(e){n("next",e,c,o)}),(function(e){n("throw",e,c,o)})):r.resolve(l).then((function(e){h.value=e,c(h)}),(function(e){return n("throw",e,c,o)}))}o(u.arg)}var s;i(this,"_invoke",{value:function(e,t){function a(){return new r((function(r,a){n(e,t,r,a)}))}return s=s?s.then(a,a):a()}})}function O(t,r,n){var a=p;return function(i,s){if(a===d)throw new Error("Generator is already running");if(a===y){if("throw"===i)throw s;return{value:e,done:!0}}for(n.method=i,n.arg=s;;){var c=n.delegate;if(c){var o=j(c,n);if(o){if(o===b)continue;return o}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=f(t,r,n);if("normal"===u.type){if(a=n.done?y:v,u.arg===b)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=y,n.method="throw",n.arg=u.arg)}}}function j(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,j(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=f(a,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var s=i.arg;return s?s.done?(r[t.resultName]=s.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):s:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function S(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function q(r){if(r||""===r){var n=r[c];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var i=-1,s=function t(){for(;++i<r.length;)if(a.call(r,i))return t.value=r[i],t.done=!1,t;return t.value=e,t.done=!0,t};return s.next=s}}throw new TypeError(t(r)+" is not iterable")}return x.prototype=m,i(R,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:x,configurable:!0}),x.displayName=h(m,u,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,h(e,u,"GeneratorFunction")),e.prototype=Object.create(R),e},r.awrap=function(e){return{__await:e}},L(C.prototype),h(C.prototype,o,(function(){return this})),r.AsyncIterator=C,r.async=function(e,t,n,a,i){void 0===i&&(i=Promise);var s=new C(l(e,t,n,a),i);return r.isGeneratorFunction(t)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},L(R),h(R,u,"Generator"),h(R,c,(function(){return this})),h(R,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=q,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i],c=s.completion;if("root"===s.tryLoc)return n("end");if(s.tryLoc<=this.prev){var o=a.call(s,"catchLoc"),u=a.call(s,"finallyLoc");if(o&&u){if(this.prev<s.catchLoc)return n(s.catchLoc,!0);if(this.prev<s.finallyLoc)return n(s.finallyLoc)}else if(o){if(this.prev<s.catchLoc)return n(s.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return n(s.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&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(s)},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),b},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),T(r),b}},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;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:q(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},r}function E(e,t,r,n,a,i,s){try{var c=e[i](s),o=c.value}catch(u){return void r(u)}c.done?t(o):Promise.resolve(o).then(n,a)}function R(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function s(e){E(i,n,a,s,c,"next",e)}function c(e){E(i,n,a,s,c,"throw",e)}s(void 0)}))}}function L(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 C(e,t){if(e){if("string"===typeof e)return L(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)?L(e,t):void 0}}function O(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=C(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw i}}}}function j(e,t){var r,n=new URL(e),a=O(t);try{for(a.s();!(r=a.n()).done;){var i=r.value;n.searchParams.delete(i)}}catch(s){a.e(s)}finally{a.f()}return n.href}function S(e,t,r,n){return T.apply(this,arguments)}function T(){return(T=R(_().mark((function e(t,r,n,a){var i,s,c,o,u,h,l;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=j(r.url,n),r.url!==i){e.next=3;break}return e.abrupt("return",t.match(r,a));case 3:return s=Object.assign(Object.assign({},a),{ignoreSearch:!0}),e.next=6,t.keys(r,s);case 6:c=e.sent,o=O(c),e.prev=8,o.s();case 10:if((u=o.n()).done){e.next=17;break}if(h=u.value,l=j(h.url,n),i!==l){e.next=15;break}return e.abrupt("return",t.match(h,a));case 15:e.next=10;break;case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(8),o.e(e.t0);case 22:return e.prev=22,o.f(),e.finish(22);case 25:return e.abrupt("return");case 26:case"end":return e.stop()}}),e,null,[[8,19,22,25]])})))).apply(this,arguments)}function P(){if(void 0===g){var e=new Response("");if("body"in e)try{new Response(e.body),g=!0}catch(t){g=!1}g=!1}return g}function q(e){e.then((function(){}))}var D=i((function e(){var t=this;s(this,e),this.promise=new Promise((function(e,r){t.resolve=e,t.reject=r}))}));function U(){return N.apply(this,arguments)}function N(){return(N=R(_().mark((function e(){var t,r,n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:0,t=O(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 I=function(e){return new URL(String(e),location.href).href.replace(new RegExp("^".concat(location.origin)),"")};function A(e){return new Promise((function(t){return setTimeout(t,e)}))}function M(e,t){var r=t();return e.waitUntil(r),r}function K(e,t){return W.apply(this,arguments)}function W(){return(W=R(_().mark((function e(t,r){var n,a,i,s,c,o;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=null,t.url&&(a=new URL(t.url),n=a.origin),n===self.location.origin){e.next=4;break}throw new y("cross-origin-copy-response",{origin:n});case 4:if(i=t.clone(),s={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},c=r?r(s):s,!P()){e.next=11;break}e.t0=i.body,e.next=14;break;case 11:return e.next=13,i.blob();case 13:e.t0=e.sent;case 14:return o=e.t0,e.abrupt("return",new Response(o,c));case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function B(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,s,c=[],o=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;o=!1}else for(;!(o=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);o=!0);}catch(e){u=!0,a=e}finally{try{if(!o&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw a}}return c}}(e,t)||C(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.")}()}function F(e){return function(e){if(Array.isArray(e))return L(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||C(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(290);function H(e){if(!e)throw new y("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 y("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),s=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",r),{cacheKey:i.href,url:s.href}}var V=i((function e(){var t=this;s(this,e),this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=function(){var e=R(_().mark((function e(t){var r,n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.request,(n=t.state)&&(n.originalRequest=r);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.cachedResponseWillBeUsed=function(){var e=R(_().mark((function e(r){var n,a,i,s;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.event,a=r.state,i=r.cachedResponse,"install"===n.type&&a&&a.originalRequest&&a.originalRequest instanceof Request&&(s=a.originalRequest.url,i?t.notUpdatedURLs.push(s):t.updatedURLs.push(s)),e.abrupt("return",i);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()})),G=i((function e(t){var r=this,n=t.precacheController;s(this,e),this.cacheKeyWillBeUsed=function(){var e=R(_().mark((function e(t){var n,a,i;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.request,a=t.params,i=(null===a||void 0===a?void 0:a.cacheKey)||r._precacheController.getCacheKeyForURL(n.url),e.abrupt("return",i?new Request(i,{headers:n.headers}):n);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this._precacheController=n}));r(559);function Y(e){return"string"===typeof e?new Request(e):e}var $=function(){function t(e,r){s(this,t),this._cacheKeys={},Object.assign(this,r),this.event=r.event,this._strategy=e,this._handlerDeferred=new D,this._extendLifetimePromises=[],this._plugins=F(e.plugins),this._pluginStateMap=new Map;var n,a=O(this._plugins);try{for(a.s();!(n=a.n()).done;){var i=n.value;this._pluginStateMap.set(i,{})}}catch(c){a.e(c)}finally{a.f()}this.event.waitUntil(this._handlerDeferred.promise)}return i(t,[{key:"fetch",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=R(_().mark((function e(t){var r,n,a,i,s,c,o,u,h,l,f,p;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.event,!("navigate"===(n=Y(t)).mode&&r instanceof FetchEvent&&r.preloadResponse)){e.next=9;break}return e.next=5,r.preloadResponse;case 5:if(!(a=e.sent)){e.next=9;break}return e.abrupt("return",a);case 9:i=this.hasCallback("fetchDidFail")?n.clone():null,e.prev=10,s=O(this.iterateCallbacks("requestWillFetch")),e.prev=12,s.s();case 14:if((c=s.n()).done){e.next=21;break}return o=c.value,e.next=18,o({request:n.clone(),event:r});case 18:n=e.sent;case 19:e.next=14;break;case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(12),s.e(e.t0);case 26:return e.prev=26,s.f(),e.finish(26);case 29:e.next=35;break;case 31:if(e.prev=31,e.t1=e.catch(10),!(e.t1 instanceof Error)){e.next=35;break}throw new y("plugin-error-request-will-fetch",{thrownErrorMessage:e.t1.message});case 35:return u=n.clone(),e.prev=36,e.next=39,fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);case 39:h=e.sent,l=O(this.iterateCallbacks("fetchDidSucceed")),e.prev=42,l.s();case 44:if((f=l.n()).done){e.next=51;break}return p=f.value,e.next=48,p({event:r,request:u,response:h});case 48:h=e.sent;case 49:e.next=44;break;case 51:e.next=56;break;case 53:e.prev=53,e.t2=e.catch(42),l.e(e.t2);case 56:return e.prev=56,l.f(),e.finish(56);case 59:return e.abrupt("return",h);case 62:if(e.prev=62,e.t3=e.catch(36),!i){e.next=68;break}return e.next=68,this.runCallbacks("fetchDidFail",{error:e.t3,event:r,originalRequest:i.clone(),request:u.clone()});case 68:throw e.t3;case 69:case"end":return e.stop()}}),e,this,[[10,31],[12,23,26,29],[36,62],[42,53,56,59]])})));return function(t){return e.apply(this,arguments)}}())},{key:"fetchAndCachePut",value:function(){var e=R(_().mark((function e(t){var r,n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetch(t);case 2:return r=e.sent,n=r.clone(),this.waitUntil(this.cachePut(t,n)),e.abrupt("return",r);case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"cacheMatch",value:function(){var e=R(_().mark((function e(t){var r,n,a,i,s,c,o,u,h,l;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Y(t),a=this._strategy,i=a.cacheName,s=a.matchOptions,e.next=4,this.getCacheKey(r,"read");case 4:return c=e.sent,o=Object.assign(Object.assign({},s),{cacheName:i}),e.next=8,caches.match(c,o);case 8:n=e.sent,u=O(this.iterateCallbacks("cachedResponseWillBeUsed")),e.prev=11,u.s();case 13:if((h=u.n()).done){e.next=23;break}return l=h.value,e.next=17,l({cacheName:i,matchOptions:s,cachedResponse:n,request:c,event:this.event});case 17:if(e.t0=e.sent,e.t0){e.next=20;break}e.t0=void 0;case 20:n=e.t0;case 21:e.next=13;break;case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(11),u.e(e.t1);case 28:return e.prev=28,u.f(),e.finish(28);case 31:return e.abrupt("return",n);case 32:case"end":return e.stop()}}),e,this,[[11,25,28,31]])})));return function(t){return e.apply(this,arguments)}}()},{key:"cachePut",value:function(){var t=R(_().mark((function t(r,n){var a,i,s,c,o,u,h,l,f,p,v,d,b;return _().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=Y(r),t.next=3,A(0);case 3:return t.next=5,this.getCacheKey(a,"write");case 5:i=t.sent,t.next=11;break;case 9:(s=n.headers.get("Vary"))&&e.debug("The response for ".concat(I(i.url)," ")+"has a 'Vary: ".concat(s,"' header. ")+"Consider setting the {ignoreVary: true} option on your strategy to ensure cache matching and deletion works as expected.");case 11:if(n){t.next=14;break}throw new y("cache-put-with-no-response",{url:I(i.url)});case 14:return t.next=16,this._ensureResponseSafeToCache(n);case 16:if(c=t.sent){t.next=20;break}return t.abrupt("return",!1);case 20:return o=this._strategy,u=o.cacheName,h=o.matchOptions,t.next=23,self.caches.open(u);case 23:if(l=t.sent,!(f=this.hasCallback("cacheDidUpdate"))){t.next=31;break}return t.next=28,S(l,i.clone(),["__WB_REVISION__"],h);case 28:t.t0=t.sent,t.next=32;break;case 31:t.t0=null;case 32:return p=t.t0,t.prev=34,t.next=37,l.put(i,f?c.clone():c);case 37:t.next=46;break;case 39:if(t.prev=39,t.t1=t.catch(34),!(t.t1 instanceof Error)){t.next=46;break}if("QuotaExceededError"!==t.t1.name){t.next=45;break}return t.next=45,U();case 45:throw t.t1;case 46:v=O(this.iterateCallbacks("cacheDidUpdate")),t.prev=47,v.s();case 49:if((d=v.n()).done){t.next=55;break}return b=d.value,t.next=53,b({cacheName:u,oldResponse:p,newResponse:c.clone(),request:i,event:this.event});case 53:t.next=49;break;case 55:t.next=60;break;case 57:t.prev=57,t.t2=t.catch(47),v.e(t.t2);case 60:return t.prev=60,v.f(),t.finish(60);case 63:return t.abrupt("return",!0);case 64:case"end":return t.stop()}}),t,this,[[34,39],[47,57,60,63]])})));return function(e,r){return t.apply(this,arguments)}}()},{key:"getCacheKey",value:function(){var e=R(_().mark((function e(t,r){var n,a,i,s,c;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n="".concat(t.url," | ").concat(r),this._cacheKeys[n]){e.next=24;break}a=t,i=O(this.iterateCallbacks("cacheKeyWillBeUsed")),e.prev=4,i.s();case 6:if((s=i.n()).done){e.next=15;break}return c=s.value,e.t0=Y,e.next=11,c({mode:r,request:a,event:this.event,params:this.params});case 11:e.t1=e.sent,a=(0,e.t0)(e.t1);case 13:e.next=6;break;case 15:e.next=20;break;case 17:e.prev=17,e.t2=e.catch(4),i.e(e.t2);case 20:return e.prev=20,i.f(),e.finish(20);case 23:this._cacheKeys[n]=a;case 24:return e.abrupt("return",this._cacheKeys[n]);case 25:case"end":return e.stop()}}),e,this,[[4,17,20,23]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"hasCallback",value:function(e){var t,r=O(this._strategy.plugins);try{for(r.s();!(t=r.n()).done;){if(e in t.value)return!0}}catch(n){r.e(n)}finally{r.f()}return!1}},{key:"runCallbacks",value:function(){var e=R(_().mark((function e(t,r){var n,a,i;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=O(this.iterateCallbacks(t)),e.prev=1,n.s();case 3:if((a=n.n()).done){e.next=9;break}return i=a.value,e.next=7,i(r);case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.e(e.t0);case 14:return e.prev=14,n.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"iterateCallbacks",value:_().mark((function e(t){var r,n,a,i=this;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=O(this._strategy.plugins),e.prev=1,a=_().mark((function e(){var r,a,s;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!==typeof(r=n.value)[t]){e.next=6;break}return a=i._pluginStateMap.get(r),s=function(e){var n=Object.assign(Object.assign({},e),{state:a});return r[t](n)},e.next=6,s;case 6:case"end":return e.stop()}}),e)})),r.s();case 4:if((n=r.n()).done){e.next=8;break}return e.delegateYield(a(),"t0",6);case 6:e.next=4;break;case 8:e.next=13;break;case 10:e.prev=10,e.t1=e.catch(1),r.e(e.t1);case 13:return e.prev=13,r.f(),e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,10,13,16]])}))},{key:"waitUntil",value:function(e){return this._extendLifetimePromises.push(e),e}},{key:"doneWaiting",value:function(){var e=R(_().mark((function e(){var t;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=this._extendLifetimePromises.shift())){e.next=5;break}return e.next=3,t;case 3:e.next=0;break;case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"destroy",value:function(){this._handlerDeferred.resolve(null)}},{key:"_ensureResponseSafeToCache",value:function(){var e=R(_().mark((function e(t){var r,n,a,i,s;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t,n=!1,a=O(this.iterateCallbacks("cacheWillUpdate")),e.prev=3,a.s();case 5:if((i=a.n()).done){e.next=18;break}return s=i.value,e.next=9,s({request:this.request,response:r,event:this.event});case 9:if(e.t0=e.sent,e.t0){e.next=12;break}e.t0=void 0;case 12:if(r=e.t0,n=!0,r){e.next=16;break}return e.abrupt("break",18);case 16:e.next=5;break;case 18:e.next=23;break;case 20:e.prev=20,e.t1=e.catch(3),a.e(e.t1);case 23:return e.prev=23,a.f(),e.finish(23);case 26:return n||r&&200!==r.status&&(r=void 0),e.abrupt("return",r);case 28:case"end":return e.stop()}}),e,this,[[3,20,23,26]])})));return function(t){return e.apply(this,arguments)}}()}]),t}(),Q=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,e),this.cacheName=k(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}return i(e,[{key:"handle",value:function(e){return B(this.handleAll(e),1)[0]}},{key:"handleAll",value:function(e){e instanceof FetchEvent&&(e={event:e,request:e.request});var t=e.event,r="string"===typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new $(this,{event:t,request:r,params:n}),i=this._getResponse(a,r,t);return[i,this._awaitComplete(i,a,r,t)]}},{key:"_getResponse",value:function(){var e=R(_().mark((function e(t,r,n){var a,i,s,c,o,u,h;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.runCallbacks("handlerWillStart",{event:n,request:r});case 2:return a=void 0,e.prev=3,e.next=6,this._handle(r,t);case 6:if((a=e.sent)&&"error"!==a.type){e.next=9;break}throw new y("no-response",{url:r.url});case 9:e.next=39;break;case 11:if(e.prev=11,e.t0=e.catch(3),!(e.t0 instanceof Error)){e.next=34;break}i=O(t.iterateCallbacks("handlerDidError")),e.prev=15,i.s();case 17:if((s=i.n()).done){e.next=26;break}return c=s.value,e.next=21,c({error:e.t0,event:n,request:r});case 21:if(!(a=e.sent)){e.next=24;break}return e.abrupt("break",26);case 24:e.next=17;break;case 26:e.next=31;break;case 28:e.prev=28,e.t1=e.catch(15),i.e(e.t1);case 31:return e.prev=31,i.f(),e.finish(31);case 34:if(a){e.next=38;break}throw e.t0;case 38:0;case 39:o=O(t.iterateCallbacks("handlerWillRespond")),e.prev=40,o.s();case 42:if((u=o.n()).done){e.next=49;break}return h=u.value,e.next=46,h({event:n,request:r,response:a});case 46:a=e.sent;case 47:e.next=42;break;case 49:e.next=54;break;case 51:e.prev=51,e.t2=e.catch(40),o.e(e.t2);case 54:return e.prev=54,o.f(),e.finish(54);case 57:return e.abrupt("return",a);case 58:case"end":return e.stop()}}),e,this,[[3,11],[15,28,31,34],[40,51,54,57]])})));return function(t,r,n){return e.apply(this,arguments)}}()},{key:"_awaitComplete",value:function(){var e=R(_().mark((function e(t,r,n,a){var i,s;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t;case 3:i=e.sent,e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:return e.prev=8,e.next=11,r.runCallbacks("handlerDidRespond",{event:a,request:n,response:i});case 11:return e.next=13,r.doneWaiting();case 13:e.next=18;break;case 15:e.prev=15,e.t1=e.catch(8),e.t1 instanceof Error&&(s=e.t1);case 18:return e.next=20,r.runCallbacks("handlerDidComplete",{event:a,request:n,response:i,error:s});case 20:if(r.destroy(),!s){e.next=23;break}throw s;case 23:case"end":return e.stop()}}),e,null,[[0,6],[8,15]])})));return function(t,r,n,a){return e.apply(this,arguments)}}()}]),e}(),J=function(t){o(n,t);var r=f(n);function n(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,n),t.cacheName=w(t.cacheName),(e=r.call(this,t))._fallbackToNetwork=!1!==t.fallbackToNetwork,e.plugins.push(n.copyRedirectedCacheableResponsesPlugin),e}return i(n,[{key:"_handle",value:function(){var e=R(_().mark((function e(t,r){var n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.cacheMatch(t);case 2:if(!(n=e.sent)){e.next=5;break}return e.abrupt("return",n);case 5:if(!r.event||"install"!==r.event.type){e.next=9;break}return e.next=8,this._handleInstall(t,r);case 8:case 11:return e.abrupt("return",e.sent);case 9:return e.next=11,this._handleFetch(t,r);case 12:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_handleFetch",value:function(){var t=R(_().mark((function t(r,n){var a,i,s,c,o,u;return _().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=n.params||{},!this._fallbackToNetwork){t.next=17;break}return s=i.integrity,c=r.integrity,o=!c||c===s,t.next=8,n.fetch(new Request(r,{integrity:"no-cors"!==r.mode?c||s:void 0}));case 8:if(a=t.sent,!s||!o||"no-cors"===r.mode){t.next=15;break}return this._useDefaultCacheabilityPluginIfNeeded(),t.next=13,n.cachePut(r,a.clone());case 13:t.sent;case 15:t.next=18;break;case 17:throw new y("missing-precache-entry",{cacheName:this.cacheName,url:r.url});case 18:t.next=34;break;case 23:t.t0=t.sent;case 24:u=t.t0,e.groupCollapsed("Precaching is responding to: "+I(r.url)),e.log("Serving the precached url: ".concat(I(u instanceof Request?u.url:u))),e.groupCollapsed("View request details here."),e.log(r),e.groupEnd(),e.groupCollapsed("View response details here."),e.log(a),e.groupEnd(),e.groupEnd();case 34:return t.abrupt("return",a);case 35:case"end":return t.stop()}}),t,this)})));return function(e,r){return t.apply(this,arguments)}}()},{key:"_handleInstall",value:function(){var e=R(_().mark((function e(t,r){var n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._useDefaultCacheabilityPluginIfNeeded(),e.next=3,r.fetch(t);case 3:return n=e.sent,e.next=6,r.cachePut(t,n.clone());case 6:if(e.sent){e.next=9;break}throw new y("bad-precaching-response",{url:t.url,status:n.status});case 9:return e.abrupt("return",n);case 10:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_useDefaultCacheabilityPluginIfNeeded",value:function(){var e,t=null,r=0,a=O(this.plugins.entries());try{for(a.s();!(e=a.n()).done;){var i=B(e.value,2),s=i[0],c=i[1];c!==n.copyRedirectedCacheableResponsesPlugin&&(c===n.defaultPrecacheCacheabilityPlugin&&(t=s),c.cacheWillUpdate&&r++)}}catch(o){a.e(o)}finally{a.f()}0===r?this.plugins.push(n.defaultPrecacheCacheabilityPlugin):r>1&&null!==t&&this.plugins.splice(t,1)}}]),n}(Q);J.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:function(e){return R(_().mark((function t(){var r;return _().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=e.response)&&!(r.status>=400)){t.next=3;break}return t.abrupt("return",null);case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})))()}},J.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:function(e){return R(_().mark((function t(){var r;return _().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=e.response).redirected){t.next=7;break}return t.next=4,K(r);case 4:t.t0=t.sent,t.next=8;break;case 7:t.t0=r;case 8:return t.abrupt("return",t.t0);case 9:case"end":return t.stop()}}),t)})))()}};var z,X=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.cacheName,n=t.plugins,a=void 0===n?[]:n,i=t.fallbackToNetwork,c=void 0===i||i;s(this,e),this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new J({cacheName:w(r),plugins:[].concat(F(a),[new G({precacheController:this})]),fallbackToNetwork:c}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}return i(e,[{key:"strategy",get:function(){return this._strategy}},{key:"precache",value:function(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}},{key:"addToCacheList",value:function(e){var t,r=[],n=O(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=H(a),s=i.cacheKey,c=i.url,o="string"!==typeof a&&a.revision?"reload":"default";if(this._urlsToCacheKeys.has(c)&&this._urlsToCacheKeys.get(c)!==s)throw new y("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(c),secondEntry:s});if("string"!==typeof a&&a.integrity){if(this._cacheKeysToIntegrities.has(s)&&this._cacheKeysToIntegrities.get(s)!==a.integrity)throw new y("add-to-cache-list-conflicting-integrities",{url:c});this._cacheKeysToIntegrities.set(s,a.integrity)}if(this._urlsToCacheKeys.set(c,s),this._urlsToCacheModes.set(c,o),r.length>0){var u="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(u)}}}catch(h){n.e(h)}finally{n.f()}}},{key:"install",value:function(e){var t=this;return M(e,R(_().mark((function r(){var n,a,i,s,c,o,u,h,l,f,p;return _().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=new V,t.strategy.plugins.push(n),a=O(t._urlsToCacheKeys),r.prev=3,a.s();case 5:if((i=a.n()).done){r.next=14;break}return s=B(i.value,2),c=s[0],o=s[1],u=t._cacheKeysToIntegrities.get(o),h=t._urlsToCacheModes.get(c),l=new Request(c,{integrity:u,cache:h,credentials:"same-origin"}),r.next=12,Promise.all(t.strategy.handleAll({params:{cacheKey:o},request:l,event:e}));case 12:r.next=5;break;case 14:r.next=19;break;case 16:r.prev=16,r.t0=r.catch(3),a.e(r.t0);case 19:return r.prev=19,a.f(),r.finish(19);case 22:return f=n.updatedURLs,p=n.notUpdatedURLs,r.abrupt("return",{updatedURLs:f,notUpdatedURLs:p});case 25:case"end":return r.stop()}}),r,null,[[3,16,19,22]])}))))}},{key:"activate",value:function(e){var t=this;return M(e,R(_().mark((function e(){var r,n,a,i,s,c,o;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,self.caches.open(t.strategy.cacheName);case 2:return r=e.sent,e.next=5,r.keys();case 5:n=e.sent,a=new Set(t._urlsToCacheKeys.values()),i=[],s=O(n),e.prev=9,s.s();case 11:if((c=s.n()).done){e.next=19;break}if(o=c.value,a.has(o.url)){e.next=17;break}return e.next=16,r.delete(o);case 16:i.push(o.url);case 17:e.next=11;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(9),s.e(e.t0);case 24:return e.prev=24,s.f(),e.finish(24);case 27:return e.abrupt("return",{deletedURLs:i});case 29:case"end":return e.stop()}}),e,null,[[9,21,24,27]])}))))}},{key:"getURLsToCacheKeys",value:function(){return this._urlsToCacheKeys}},{key:"getCachedURLs",value:function(){return F(this._urlsToCacheKeys.keys())}},{key:"getCacheKeyForURL",value:function(e){var t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}},{key:"getIntegrityForCacheKey",value:function(e){return this._cacheKeysToIntegrities.get(e)}},{key:"matchPrecache",value:function(){var e=R(_().mark((function e(t){var r,n,a;return _().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.strategy.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:"createHandlerBoundToURL",value:function(e){var t=this,r=this.getCacheKeyForURL(e);if(!r)throw new y("non-precached-url",{url:e});return function(n){return n.request=new Request(e),n.params=Object.assign({cacheKey:r},n.params),t.strategy.handle(n)}}}]),e}(),Z=function(){return z||(z=new X),z};r(92);var ee,te=function(e){return e&&"object"===typeof e?e:{handle:e}},re=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET";s(this,e),this.handler=te(r),this.match=t,this.method=n}return i(e,[{key:"setCatchHandler",value:function(e){this.catchHandler=te(e)}}]),e}(),ne=function(e){o(r,e);var t=f(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 i(r)}(re),ae=function(){function e(){s(this,e),this._routes=new Map,this._defaultHandlerMap=new Map}return i(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(r){"string"===typeof r&&(r=[r]);var n=p(Request,F(r));return e.handleRequest({request:n,event:t})})));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=a.origin===location.origin,s=this.findMatchingRoute({event:n,request:r,sameOrigin:i,url:a}),c=s.params,o=s.route,u=o&&o.handler;0;var h=r.method;if(!u&&this._defaultHandlerMap.has(h)&&(u=this._defaultHandlerMap.get(h)),u){var l;0;try{l=u.handle({url:a,request:r,event:n,params:c})}catch(p){l=Promise.reject(p)}var f=o&&o.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(function(){var e=R(_().mark((function e(i){return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!f){e.next=11;break}return e.prev=2,e.next=5,f.handle({url:a,request:r,event:n,params:c});case 5:return e.abrupt("return",e.sent);case 8:e.prev=8,e.t0=e.catch(2),e.t0 instanceof Error&&(i=e.t0);case 11:if(!t._catchHandler){e.next=14;break}return e.abrupt("return",t._catchHandler.handle({url:a,request:r,event:n}));case 14:throw i;case 15:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(t){return e.apply(this,arguments)}}())),l}}}},{key:"findMatchingRoute",value:function(e){var t,r=e.url,n=e.sameOrigin,a=e.request,i=e.event,s=O(this._routes.get(a.method)||[]);try{for(s.s();!(t=s.n()).done;){var c=t.value,o=void 0,u=c.match({url:r,sameOrigin:n,request:a,event:i});if(u)return o=u,(Array.isArray(o)&&0===o.length||u.constructor===Object&&0===Object.keys(u).length||"boolean"===typeof u)&&(o=void 0),{route:c,params:o}}}catch(h){s.e(h)}finally{s.f()}return{}}},{key:"setDefaultHandler",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";this._defaultHandlerMap.set(t,te(e))}},{key:"setCatchHandler",value:function(e){this._catchHandler=te(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 y("unregister-route-but-not-found-with-method",{method:e.method});var t=this._routes.get(e.method).indexOf(e);if(!(t>-1))throw new y("unregister-route-route-not-registered");this._routes.get(e.method).splice(t,1)}}]),e}(),ie=function(){return ee||((ee=new ae).addFetchListener(),ee.addCacheListener()),ee};function se(e,t,r){var n;if("string"===typeof e){var a=new URL(e,location.href);n=new re((function(e){return e.url.href===a.href}),t,r)}else if(e instanceof RegExp)n=new ne(e,t,r);else if("function"===typeof e)n=new re(e,t,r);else{if(!(e instanceof re))throw new y("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});n=e}return ie().registerRoute(n),n}function ce(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=F(e.searchParams.keys());n<a.length;n++)r();return e}var oe=function(e){o(r,e);var t=f(r);function r(e,n){s(this,r);return t.call(this,(function(t){var r,a=t.request,i=e.getURLsToCacheKeys(),s=O(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.ignoreURLParametersMatching,n=void 0===r?[/^utm_/,/^fbclid$/]:r,a=t.directoryIndex,i=void 0===a?"index.html":a,s=t.cleanURLs,c=void 0===s||s,o=t.urlManipulation;return _().mark((function t(){var r,a,s,u,h,l,f,p;return _().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=new URL(e,location.href)).hash="",t.next=4,r.href;case 4:return a=ce(r,n),t.next=7,a.href;case 7:if(!i||!a.pathname.endsWith("/")){t.next=12;break}return(s=new URL(a.href)).pathname+=i,t.next=12,s.href;case 12:if(!c){t.next=17;break}return(u=new URL(a.href)).pathname+=".html",t.next=17,u.href;case 17:if(!o){t.next=36;break}h=o({url:r}),l=O(h),t.prev=20,l.s();case 22:if((f=l.n()).done){t.next=28;break}return p=f.value,t.next=26,p.href;case 26:t.next=22;break;case 28:t.next=33;break;case 30:t.prev=30,t.t0=t.catch(20),l.e(t.t0);case 33:return t.prev=33,l.f(),t.finish(33);case 36:case"end":return t.stop()}}),t,null,[[20,30,33,36]])}))()}(a.url,n));try{for(s.s();!(r=s.n()).done;){var c=r.value,o=i.get(c);if(o)return{cacheKey:o,integrity:e.getIntegrityForCacheKey(o)}}}catch(u){s.e(u)}finally{s.f()}}),e.strategy)}return i(r)}(re);function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function he(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(r),!0).forEach((function(t){var a,i,s;a=e,i=t,s=r[t],(i=n(i))in a?Object.defineProperty(a,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[i]=s})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var le,fe,pe=function(e,t){return t.some((function(t){return e instanceof t}))};var ve=new WeakMap,de=new WeakMap,ye=new WeakMap,be=new WeakMap,ge=new WeakMap;var xe={get:function(e,t,r){if(e instanceof IDBTransaction){if("done"===t)return de.get(e);if("objectStoreNames"===t)return e.objectStoreNames||ye.get(e);if("store"===t)return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return ke(e[t])},set:function(e,t,r){return e[t]=r,!0},has:function(e,t){return e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e}};function me(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(fe||(fe=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.apply(_e(this),r),ke(ve.get(this))}:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return ke(e.apply(_e(this),r))}:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];var i=e.call.apply(e,[_e(this),t].concat(n));return ye.set(i,t.sort?t.sort():[t]),ke(i)}}function we(e){return"function"===typeof e?me(e):(e instanceof IDBTransaction&&function(e){if(!de.has(e)){var t=new Promise((function(t,r){var n=function(){e.removeEventListener("complete",a),e.removeEventListener("error",i),e.removeEventListener("abort",i)},a=function(){t(),n()},i=function(){r(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",i),e.addEventListener("abort",i)}));de.set(e,t)}}(e),pe(e,le||(le=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,xe):e)}function ke(e){if(e instanceof IDBRequest)return function(e){var t=new Promise((function(t,r){var n=function(){e.removeEventListener("success",a),e.removeEventListener("error",i)},a=function(){t(ke(e.result)),n()},i=function(){r(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",i)}));return t.then((function(t){t instanceof IDBCursor&&ve.set(t,e)})).catch((function(){})),ge.set(t,e),t}(e);if(be.has(e))return be.get(e);var t=we(e);return t!==e&&(be.set(e,t),ge.set(t,e)),t}var _e=function(e){return ge.get(e)};function Ee(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.blocked,a=r.upgrade,i=r.blocking,s=r.terminated,c=indexedDB.open(e,t),o=ke(c);return a&&c.addEventListener("upgradeneeded",(function(e){a(ke(c.result),e.oldVersion,e.newVersion,ke(c.transaction),e)})),n&&c.addEventListener("blocked",(function(e){return n(e.oldVersion,e.newVersion,e)})),o.then((function(e){s&&e.addEventListener("close",(function(){return s()})),i&&e.addEventListener("versionchange",(function(e){return i(e.oldVersion,e.newVersion,e)}))})).catch((function(){})),o}var Re=["get","getKey","getAll","getAllKeys","count"],Le=["put","add","delete","clear"],Ce=new Map;function Oe(e,t){if(e instanceof IDBDatabase&&!(t in e)&&"string"===typeof t){if(Ce.get(t))return Ce.get(t);var r=t.replace(/FromIndex$/,""),n=t!==r,a=Le.includes(r);if(r in(n?IDBIndex:IDBObjectStore).prototype&&(a||Re.includes(r))){var i=function(){var e=R(_().mark((function e(t){var i,s,c,o,u,h,l=arguments;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(s=this.transaction(t,a?"readwrite":"readonly"),c=s.store,o=l.length,u=new Array(o>1?o-1:0),h=1;h<o;h++)u[h-1]=l[h];return n&&(c=c.index(u.shift())),e.next=6,Promise.all([(i=c)[r].apply(i,u),a&&s.done]);case 6:return e.abrupt("return",e.sent[0]);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}();return Ce.set(t,i),i}}}xe=function(e){return he(he({},e),{},{get:function(t,r,n){return Oe(t,r)||e.get(t,r,n)},has:function(t,r){return!!Oe(t,r)||e.has(t,r)}})}(xe);r(434);var je="cache-entries",Se=function(e){var t=new URL(e,location.href);return t.hash="",t.href},Te=function(){function e(t){s(this,e),this._db=null,this._cacheName=t}return i(e,[{key:"_upgradeDb",value:function(e){var t=e.createObjectStore(je,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}},{key:"_upgradeDbAndDeleteOldDbs",value:function(e){this._upgradeDb(e),this._cacheName&&function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).blocked,r=indexedDB.deleteDatabase(e);t&&r.addEventListener("blocked",(function(e){return t(e.oldVersion,e)})),ke(r).then((function(){}))}(this._cacheName)}},{key:"setTimestamp",value:function(){var e=R(_().mark((function e(t,r){var n,a,i;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Se(t),n={url:t,timestamp:r,cacheName:this._cacheName,id:this._getId(t)},e.next=4,this.getDb();case 4:return a=e.sent,i=a.transaction(je,"readwrite",{durability:"relaxed"}),e.next=8,i.store.put(n);case 8:return e.next=10,i.done;case 10:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"getTimestamp",value:function(){var e=R(_().mark((function e(t){var r,n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getDb();case 2:return r=e.sent,e.next=5,r.get(je,this._getId(t));case 5:return n=e.sent,e.abrupt("return",null===n||void 0===n?void 0:n.timestamp);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"expireEntries",value:function(){var e=R(_().mark((function e(t,r){var n,a,i,s,c,o,u,h,l;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getDb();case 2:return n=e.sent,e.next=5,n.transaction(je).store.index("timestamp").openCursor(null,"prev");case 5:a=e.sent,i=[],s=0;case 8:if(!a){e.next=16;break}return(c=a.value).cacheName===this._cacheName&&(t&&c.timestamp<t||r&&s>=r?i.push(a.value):s++),e.next=13,a.continue();case 13:a=e.sent,e.next=8;break;case 16:o=[],u=0,h=i;case 18:if(!(u<h.length)){e.next=26;break}return l=h[u],e.next=22,n.delete(je,l.id);case 22:o.push(l.url);case 23:u++,e.next=18;break;case 26:return e.abrupt("return",o);case 27:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_getId",value:function(e){return this._cacheName+"|"+Se(e)}},{key:"getDb",value:function(){var e=R(_().mark((function e(){return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._db){e.next=4;break}return e.next=3,Ee("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)});case 3:this._db=e.sent;case 4:return e.abrupt("return",this._db);case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}(),Pe=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._matchOptions=r.matchOptions,this._cacheName=t,this._timestampModel=new Te(t)}return i(e,[{key:"expireEntries",value:function(){var e=R(_().mark((function e(){var t,r,n,a,i,s;return _().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=O(r),e.prev=12,a.s();case 14:if((i=a.n()).done){e.next=20;break}return s=i.value,e.next=18,n.delete(s,this._matchOptions);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,q(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=R(_().mark((function e(t){return _().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=R(_().mark((function e(t){var r,n;return _().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",void 0===r||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=R(_().mark((function e(){return _().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}(),qe=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,e),this.cachedResponseWillBeUsed=function(){var e=R(_().mark((function e(r){var n,a,i,s,c,o,u;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.event,a=r.request,i=r.cacheName,s=r.cachedResponse){e.next=3;break}return e.abrupt("return",null);case 3:if(c=t._isResponseDateFresh(s),q((o=t._getCacheExpiration(i)).expireEntries()),u=o.updateTimestamp(a.url),n)try{n.waitUntil(u)}catch(h){0}return e.abrupt("return",c?s:null);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.cacheDidUpdate=function(){var e=R(_().mark((function e(r){var n,a,i;return _().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&&function(e){b.add(e)}((function(){return t.deleteCacheAndMetadata()}))}return i(e,[{key:"_getCacheExpiration",value:function(e){if(e===k())throw new y("expire-custom-caches-only");var t=this._cacheExpirations.get(e);return t||(t=new Pe(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=R(_().mark((function e(){var t,r,n,a,i;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=O(this._cacheExpirations),e.prev=1,t.s();case 3:if((r=t.n()).done){e.next=11;break}return n=B(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}();var De,Ue=function(e){o(r,e);var t=f(r);function r(){return s(this,r),t.apply(this,arguments)}return i(r,[{key:"_handle",value:function(){var e=R(_().mark((function e(t,r){var n,a;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return[],e.next=4,r.cacheMatch(t);case 4:if(n=e.sent,a=void 0,n){e.next=20;break}return e.prev=8,e.next=11,r.fetchAndCachePut(t);case 11:n=e.sent,e.next=17;break;case 14:e.prev=14,e.t0=e.catch(8),e.t0 instanceof Error&&(a=e.t0);case 17:0,e.next=21;break;case 20:0;case 21:if(n){e.next=24;break}throw new y("no-response",{url:t.url,error:a});case 24:return e.abrupt("return",n);case 25:case"end":return e.stop()}}),e,this,[[8,14]])})));return function(t,r){return e.apply(this,arguments)}}()}]),r}(Q),Ne={cacheWillUpdate:function(){var e=R(_().mark((function e(t){var r;return _().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)}}()},Ie=function(e){o(r,e);var t=f(r);function r(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,r),(e=t.call(this,n)).plugins.some((function(e){return"cacheWillUpdate"in e}))||e.plugins.unshift(Ne),e}return i(r,[{key:"_handle",value:function(){var e=R(_().mark((function e(t,r){var n,a,i;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return[],n=r.fetchAndCachePut(t).catch((function(){})),r.waitUntil(n),e.next=6,r.cacheMatch(t);case 6:if(!(a=e.sent)){e.next=11;break}0,e.next=21;break;case 11:return e.prev=12,e.next=15,n;case 15:a=e.sent,e.next=21;break;case 18:e.prev=18,e.t0=e.catch(12),e.t0 instanceof Error&&(i=e.t0);case 21:if(a){e.next=24;break}throw new y("no-response",{url:t.url,error:i});case 24:return e.abrupt("return",a);case 25:case"end":return e.stop()}}),e,this,[[12,18]])})));return function(t,r){return e.apply(this,arguments)}}()}]),r}(Q);(function(e){Z().precache(e)})(([{'revision':'dd9d7f620358e766fe7a090640d46ebb','url':'./index.html'},{'revision':null,'url':'./static/css/1371.f696fdbf.chunk.css'},{'revision':null,'url':'./static/css/4407.cc1ab277.chunk.css'},{'revision':null,'url':'./static/css/4665.5d6e9197.chunk.css'},{'revision':null,'url':'./static/css/7676.5ade355d.chunk.css'},{'revision':null,'url':'./static/css/8219.f696fdbf.chunk.css'},{'revision':null,'url':'./static/css/8973.9cab926a.chunk.css'},{'revision':null,'url':'./static/css/main.c9e90622.css'},{'revision':null,'url':'./static/js/1035.c851de07.chunk.js'},{'revision':null,'url':'./static/js/105.a96da900.chunk.js'},{'revision':null,'url':'./static/js/1237.a2ae247a.chunk.js'},{'revision':null,'url':'./static/js/1361.85e46159.chunk.js'},{'revision':null,'url':'./static/js/1366.4c0caad2.chunk.js'},{'revision':null,'url':'./static/js/1371.1d65afc2.chunk.js'},{'revision':null,'url':'./static/js/1685.9865eee2.chunk.js'},{'revision':null,'url':'./static/js/1826.07c285de.chunk.js'},{'revision':null,'url':'./static/js/2129.120e36ae.chunk.js'},{'revision':null,'url':'./static/js/2264.da57cd26.chunk.js'},{'revision':null,'url':'./static/js/2291.d6517626.chunk.js'},{'revision':null,'url':'./static/js/2294.2173fa5e.chunk.js'},{'revision':null,'url':'./static/js/2305.06d230ea.chunk.js'},{'revision':null,'url':'./static/js/2334.255d59b6.chunk.js'},{'revision':null,'url':'./static/js/2365.a3571172.chunk.js'},{'revision':null,'url':'./static/js/2452.2a023741.chunk.js'},{'revision':null,'url':'./static/js/2529.cc831e53.chunk.js'},{'revision':null,'url':'./static/js/2537.0e8b4b3c.chunk.js'},{'revision':null,'url':'./static/js/2564.eef717f3.chunk.js'},{'revision':null,'url':'./static/js/2611.8f413026.chunk.js'},{'revision':null,'url':'./static/js/2657.0656dc7c.chunk.js'},{'revision':null,'url':'./static/js/2720.26eb1788.chunk.js'},{'revision':null,'url':'./static/js/2743.4720ad36.chunk.js'},{'revision':null,'url':'./static/js/2828.4f318970.chunk.js'},{'revision':null,'url':'./static/js/2842.d560c730.chunk.js'},{'revision':null,'url':'./static/js/3111.84e02823.chunk.js'},{'revision':null,'url':'./static/js/3135.ab6ac0d1.chunk.js'},{'revision':null,'url':'./static/js/3137.163b6824.chunk.js'},{'revision':null,'url':'./static/js/3216.9194d385.chunk.js'},{'revision':null,'url':'./static/js/3389.8d232eb3.chunk.js'},{'revision':null,'url':'./static/js/3476.c0b3411b.chunk.js'},{'revision':null,'url':'./static/js/3633.67f1416e.chunk.js'},{'revision':null,'url':'./static/js/3704.bd195d3e.chunk.js'},{'revision':null,'url':'./static/js/3716.7e2fd5ac.chunk.js'},{'revision':null,'url':'./static/js/373.9d72a636.chunk.js'},{'revision':null,'url':'./static/js/3732.f5d8b39b.chunk.js'},{'revision':null,'url':'./static/js/3829.b6d6cf45.chunk.js'},{'revision':null,'url':'./static/js/4074.19db40ec.chunk.js'},{'revision':null,'url':'./static/js/4104.b47ae0e1.chunk.js'},{'revision':null,'url':'./static/js/4241.83e4f741.chunk.js'},{'revision':null,'url':'./static/js/4274.22984e96.chunk.js'},{'revision':null,'url':'./static/js/4349.7c2f6507.chunk.js'},{'revision':null,'url':'./static/js/4362.fdb74d3c.chunk.js'},{'revision':null,'url':'./static/js/4407.8d6ca5cb.chunk.js'},{'revision':null,'url':'./static/js/442.ed7bae8d.chunk.js'},{'revision':null,'url':'./static/js/4448.240f547f.chunk.js'},{'revision':null,'url':'./static/js/4471.caa42ecd.chunk.js'},{'revision':null,'url':'./static/js/4590.5a14012c.chunk.js'},{'revision':null,'url':'./static/js/4718.d80adf8d.chunk.js'},{'revision':null,'url':'./static/js/4775.488b5fef.chunk.js'},{'revision':null,'url':'./static/js/4901.6b52436e.chunk.js'},{'revision':null,'url':'./static/js/4906.d14fcb6e.chunk.js'},{'revision':null,'url':'./static/js/5074.c3560023.chunk.js'},{'revision':null,'url':'./static/js/5509.6c906749.chunk.js'},{'revision':null,'url':'./static/js/5526.c5d6afb5.chunk.js'},{'revision':null,'url':'./static/js/5555.46ed37f5.chunk.js'},{'revision':null,'url':'./static/js/556.381dcbd8.chunk.js'},{'revision':null,'url':'./static/js/5760.c3cc572f.chunk.js'},{'revision':null,'url':'./static/js/5804.911e6040.chunk.js'},{'revision':null,'url':'./static/js/5808.af4433c9.chunk.js'},{'revision':null,'url':'./static/js/5873.e467bcef.chunk.js'},{'revision':null,'url':'./static/js/5953.b007743c.chunk.js'},{'revision':null,'url':'./static/js/5979.d89e3302.chunk.js'},{'revision':null,'url':'./static/js/6412.ceaf0f1d.chunk.js'},{'revision':null,'url':'./static/js/6457.280fd1c8.chunk.js'},{'revision':null,'url':'./static/js/6511.e7dbd80c.chunk.js'},{'revision':null,'url':'./static/js/6547.c3f83d14.chunk.js'},{'revision':null,'url':'./static/js/6580.486d1bdd.chunk.js'},{'revision':null,'url':'./static/js/6591.0ca8afd5.chunk.js'},{'revision':null,'url':'./static/js/6602.c417a217.chunk.js'},{'revision':null,'url':'./static/js/6780.c6efc1ec.chunk.js'},{'revision':null,'url':'./static/js/6830.88b993a0.chunk.js'},{'revision':null,'url':'./static/js/6931.5f06c0c1.chunk.js'},{'revision':null,'url':'./static/js/6950.4bdf0605.chunk.js'},{'revision':null,'url':'./static/js/6960.ae50a2e7.chunk.js'},{'revision':null,'url':'./static/js/7020.325760ed.chunk.js'},{'revision':null,'url':'./static/js/7022.53e6fae9.chunk.js'},{'revision':null,'url':'./static/js/7126.ea4d31e8.chunk.js'},{'revision':null,'url':'./static/js/7327.a90bf973.chunk.js'},{'revision':null,'url':'./static/js/744.f4da0c57.chunk.js'},{'revision':null,'url':'./static/js/7534.15f431d9.chunk.js'},{'revision':null,'url':'./static/js/7638.f7d773c5.chunk.js'},{'revision':null,'url':'./static/js/7676.bc69ead5.chunk.js'},{'revision':null,'url':'./static/js/7718.01196791.chunk.js'},{'revision':null,'url':'./static/js/7913.8561e15c.chunk.js'},{'revision':null,'url':'./static/js/8059.2c8c4cf8.chunk.js'},{'revision':null,'url':'./static/js/8212.06eb9697.chunk.js'},{'revision':null,'url':'./static/js/8219.ba146cab.chunk.js'},{'revision':null,'url':'./static/js/8249.63c55b3a.chunk.js'},{'revision':null,'url':'./static/js/8262.869cc799.chunk.js'},{'revision':null,'url':'./static/js/8382.bb5c2a49.chunk.js'},{'revision':null,'url':'./static/js/8537.900927ac.chunk.js'},{'revision':null,'url':'./static/js/8606.66db67e2.chunk.js'},{'revision':null,'url':'./static/js/875.af5cb0ea.chunk.js'},{'revision':null,'url':'./static/js/8973.8d079dd3.chunk.js'},{'revision':null,'url':'./static/js/8986.b2c42433.chunk.js'},{'revision':null,'url':'./static/js/9038.d4d5c249.chunk.js'},{'revision':null,'url':'./static/js/9041.0f1c9ac4.chunk.js'},{'revision':null,'url':'./static/js/9249.9f167db8.chunk.js'},{'revision':null,'url':'./static/js/9327.77d4d1d8.chunk.js'},{'revision':null,'url':'./static/js/9354.eb85d6e0.chunk.js'},{'revision':null,'url':'./static/js/9366.f160471a.chunk.js'},{'revision':null,'url':'./static/js/9662.31e1a4b5.chunk.js'},{'revision':null,'url':'./static/js/984.cdeeebfc.chunk.js'},{'revision':null,'url':'./static/js/9875.bd7a86c6.chunk.js'},{'revision':null,'url':'./static/js/main.cc6ed6b1.js'},{'revision':null,'url':'./static/media/lato-all-400-normal.3dc1eff492ab1f598560.woff'},{'revision':null,'url':'./static/media/lato-all-700-normal.1e7707c9ec98d9b97e7f.woff'},{'revision':null,'url':'./static/media/lato-latin-400-normal.be36596da218e1eec01c.woff2'},{'revision':null,'url':'./static/media/lato-latin-700-normal.8f28e0e1fdb195149f1c.woff2'},{'revision':null,'url':'./static/media/lato-latin-ext-400-normal.361f3dbb9db6a5980326.woff2'},{'revision':null,'url':'./static/media/lato-latin-ext-700-normal.9c8812eaec45956201e1.woff2'},{'revision':'3f75f5574309bf1ab1a642cae6cec338','url':'./static/media/logo.60f66bbe1ce9674a4df4e374c9d97fc4.svg'},{'revision':null,'url':'./static/media/ubuntu-mono-all-400-normal.c879328bc62e9c68268f.woff'},{'revision':null,'url':'./static/media/ubuntu-mono-cyrillic-400-normal.c367f416832eb8f1b846.woff2'},{'revision':null,'url':'./static/media/ubuntu-mono-cyrillic-ext-400-normal.eda1c4946b1f7bf58386.woff2'},{'revision':null,'url':'./static/media/ubuntu-mono-greek-400-normal.22f3bfc91f79c342bdf4.woff2'},{'revision':null,'url':'./static/media/ubuntu-mono-greek-ext-400-normal.b3459900ea8a25d1f7c2.woff2'},{'revision':null,'url':'./static/media/ubuntu-mono-latin-400-normal.18e32d9d743af28f913e.woff2'},{'revision':null,'url':'./static/media/ubuntu-mono-latin-ext-400-normal.b56e2315611d10838ad5.woff2'}]||[]).filter((function(e){return"/"!==e.url&&!e.url.includes("index.html")}))),function(e){var t=Z();se(new oe(t,e))}(De),self.addEventListener("activate",(function(){return self.clients.claim()})),self.addEventListener("activate",(function(){console.log("Service Worker activated")})),self.addEventListener("install",(function(e){console.log("Service Worker installed"),e.waitUntil(self.skipWaiting())}));var Ae=function(e){return"GET"!==e.method||(!!e.url.includes("/api")||(!!e.url.includes("__meta__.js")||!!e.url.includes("__blocklet__.js")))};se((function(e){var t=e.request;return!Ae(t)&&t.url.includes("/static/")}),new Ue({cacheName:"static",plugins:[new qe({maxEntries:200})]})),se((function(e){var t=e.request;return!Ae(t)&&(t.url.includes("/images/")||t.url.includes("/icons/"))}),new Ie)}()}();
|
|
2
|
+
!function(){"use strict";var e={522:function(){try{self["workbox:core:6.5.3"]&&_()}catch(e){}},434:function(){try{self["workbox:expiration:6.5.3"]&&_()}catch(e){}},290:function(){try{self["workbox:precaching:6.5.3"]&&_()}catch(e){}},92:function(){try{self["workbox:routing:6.5.3"]&&_()}catch(e){}},559:function(){try{self["workbox:strategies:6.5.3"]&&_()}catch(e){}}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}!function(){r(522);var e=null;function t(e){return t="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},t(e)}function n(e){var r=function(e,r){if("object"!==t(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,r||"default");if("object"!==t(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"===t(r)?r:String(r)}function a(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,n(a.key),a)}}function i(e,t,r){return t&&a(e.prototype,t),r&&a(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 c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function o(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&&c(e,t)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function h(){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 l(e,r){if(r&&("object"===t(r)||"function"===typeof r))return r;if(void 0!==r)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 f(e){var t=h();return function(){var r,n=u(e);if(t){var a=u(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return l(this,r)}}function p(e,t,r){return p=h()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&c(a,r.prototype),a},p.apply(null,arguments)}function v(e){var t="function"===typeof Map?new Map:void 0;return v=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 p(e,arguments,u(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),c(n,e)},v(e)}var d=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},y=function(e){o(r,e);var t=f(r);function r(e,n){var a;s(this,r);var i=d(e,n);return(a=t.call(this,i)).name=e,a.details=n,a}return i(r)}(v(Error)),b=new Set;var g,x={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!==typeof registration?registration.scope:""},m=function(e){return[x.prefix,e,x.suffix].filter((function(e){return e&&e.length>0})).join("-")},w=function(e){return e||m(x.precache)},k=function(e){return e||m(x.runtime)};function _(){_=function(){return r};var e,r={},n=Object.prototype,a=n.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",o=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function h(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{h({},"")}catch(e){h=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var a=t&&t.prototype instanceof g?t:g,s=Object.create(a.prototype),c=new P(n||[]);return i(s,"_invoke",{value:O(e,r,c)}),s}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=l;var p="suspendedStart",v="suspendedYield",d="executing",y="completed",b={};function g(){}function x(){}function m(){}var w={};h(w,c,(function(){return this}));var k=Object.getPrototypeOf,E=k&&k(k(q([])));E&&E!==n&&a.call(E,c)&&(w=E);var R=m.prototype=g.prototype=Object.create(w);function L(e){["next","throw","return"].forEach((function(t){h(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,r){function n(i,s,c,o){var u=f(e[i],e,s);if("throw"!==u.type){var h=u.arg,l=h.value;return l&&"object"==t(l)&&a.call(l,"__await")?r.resolve(l.__await).then((function(e){n("next",e,c,o)}),(function(e){n("throw",e,c,o)})):r.resolve(l).then((function(e){h.value=e,c(h)}),(function(e){return n("throw",e,c,o)}))}o(u.arg)}var s;i(this,"_invoke",{value:function(e,t){function a(){return new r((function(r,a){n(e,t,r,a)}))}return s=s?s.then(a,a):a()}})}function O(t,r,n){var a=p;return function(i,s){if(a===d)throw new Error("Generator is already running");if(a===y){if("throw"===i)throw s;return{value:e,done:!0}}for(n.method=i,n.arg=s;;){var c=n.delegate;if(c){var o=j(c,n);if(o){if(o===b)continue;return o}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===p)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=f(t,r,n);if("normal"===u.type){if(a=n.done?y:v,u.arg===b)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=y,n.method="throw",n.arg=u.arg)}}}function j(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,j(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var i=f(a,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,b;var s=i.arg;return s?s.done?(r[t.resultName]=s.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,b):s:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,b)}function S(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function q(r){if(r||""===r){var n=r[c];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var i=-1,s=function t(){for(;++i<r.length;)if(a.call(r,i))return t.value=r[i],t.done=!1,t;return t.value=e,t.done=!0,t};return s.next=s}}throw new TypeError(t(r)+" is not iterable")}return x.prototype=m,i(R,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:x,configurable:!0}),x.displayName=h(m,u,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,h(e,u,"GeneratorFunction")),e.prototype=Object.create(R),e},r.awrap=function(e){return{__await:e}},L(C.prototype),h(C.prototype,o,(function(){return this})),r.AsyncIterator=C,r.async=function(e,t,n,a,i){void 0===i&&(i=Promise);var s=new C(l(e,t,n,a),i);return r.isGeneratorFunction(t)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},L(R),h(R,u,"Generator"),h(R,c,(function(){return this})),h(R,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=q,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i],c=s.completion;if("root"===s.tryLoc)return n("end");if(s.tryLoc<=this.prev){var o=a.call(s,"catchLoc"),u=a.call(s,"finallyLoc");if(o&&u){if(this.prev<s.catchLoc)return n(s.catchLoc,!0);if(this.prev<s.finallyLoc)return n(s.finallyLoc)}else if(o){if(this.prev<s.catchLoc)return n(s.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return n(s.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&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(s)},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),b},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),T(r),b}},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;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:q(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},r}function E(e,t,r,n,a,i,s){try{var c=e[i](s),o=c.value}catch(u){return void r(u)}c.done?t(o):Promise.resolve(o).then(n,a)}function R(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function s(e){E(i,n,a,s,c,"next",e)}function c(e){E(i,n,a,s,c,"throw",e)}s(void 0)}))}}function L(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 C(e,t){if(e){if("string"===typeof e)return L(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)?L(e,t):void 0}}function O(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=C(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw i}}}}function j(e,t){var r,n=new URL(e),a=O(t);try{for(a.s();!(r=a.n()).done;){var i=r.value;n.searchParams.delete(i)}}catch(s){a.e(s)}finally{a.f()}return n.href}function S(e,t,r,n){return T.apply(this,arguments)}function T(){return(T=R(_().mark((function e(t,r,n,a){var i,s,c,o,u,h,l;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=j(r.url,n),r.url!==i){e.next=3;break}return e.abrupt("return",t.match(r,a));case 3:return s=Object.assign(Object.assign({},a),{ignoreSearch:!0}),e.next=6,t.keys(r,s);case 6:c=e.sent,o=O(c),e.prev=8,o.s();case 10:if((u=o.n()).done){e.next=17;break}if(h=u.value,l=j(h.url,n),i!==l){e.next=15;break}return e.abrupt("return",t.match(h,a));case 15:e.next=10;break;case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(8),o.e(e.t0);case 22:return e.prev=22,o.f(),e.finish(22);case 25:return e.abrupt("return");case 26:case"end":return e.stop()}}),e,null,[[8,19,22,25]])})))).apply(this,arguments)}function P(){if(void 0===g){var e=new Response("");if("body"in e)try{new Response(e.body),g=!0}catch(t){g=!1}g=!1}return g}function q(e){e.then((function(){}))}var D=i((function e(){var t=this;s(this,e),this.promise=new Promise((function(e,r){t.resolve=e,t.reject=r}))}));function U(){return N.apply(this,arguments)}function N(){return(N=R(_().mark((function e(){var t,r,n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:0,t=O(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 I=function(e){return new URL(String(e),location.href).href.replace(new RegExp("^".concat(location.origin)),"")};function A(e){return new Promise((function(t){return setTimeout(t,e)}))}function M(e,t){var r=t();return e.waitUntil(r),r}function K(e,t){return W.apply(this,arguments)}function W(){return(W=R(_().mark((function e(t,r){var n,a,i,s,c,o;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=null,t.url&&(a=new URL(t.url),n=a.origin),n===self.location.origin){e.next=4;break}throw new y("cross-origin-copy-response",{origin:n});case 4:if(i=t.clone(),s={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},c=r?r(s):s,!P()){e.next=11;break}e.t0=i.body,e.next=14;break;case 11:return e.next=13,i.blob();case 13:e.t0=e.sent;case 14:return o=e.t0,e.abrupt("return",new Response(o,c));case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function B(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,s,c=[],o=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;o=!1}else for(;!(o=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);o=!0);}catch(e){u=!0,a=e}finally{try{if(!o&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw a}}return c}}(e,t)||C(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.")}()}function F(e){return function(e){if(Array.isArray(e))return L(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||C(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(290);function H(e){if(!e)throw new y("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 y("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),s=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",r),{cacheKey:i.href,url:s.href}}var V=i((function e(){var t=this;s(this,e),this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=function(){var e=R(_().mark((function e(t){var r,n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.request,(n=t.state)&&(n.originalRequest=r);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.cachedResponseWillBeUsed=function(){var e=R(_().mark((function e(r){var n,a,i,s;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.event,a=r.state,i=r.cachedResponse,"install"===n.type&&a&&a.originalRequest&&a.originalRequest instanceof Request&&(s=a.originalRequest.url,i?t.notUpdatedURLs.push(s):t.updatedURLs.push(s)),e.abrupt("return",i);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()})),G=i((function e(t){var r=this,n=t.precacheController;s(this,e),this.cacheKeyWillBeUsed=function(){var e=R(_().mark((function e(t){var n,a,i;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.request,a=t.params,i=(null===a||void 0===a?void 0:a.cacheKey)||r._precacheController.getCacheKeyForURL(n.url),e.abrupt("return",i?new Request(i,{headers:n.headers}):n);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this._precacheController=n}));r(559);function Y(e){return"string"===typeof e?new Request(e):e}var $=function(){function t(e,r){s(this,t),this._cacheKeys={},Object.assign(this,r),this.event=r.event,this._strategy=e,this._handlerDeferred=new D,this._extendLifetimePromises=[],this._plugins=F(e.plugins),this._pluginStateMap=new Map;var n,a=O(this._plugins);try{for(a.s();!(n=a.n()).done;){var i=n.value;this._pluginStateMap.set(i,{})}}catch(c){a.e(c)}finally{a.f()}this.event.waitUntil(this._handlerDeferred.promise)}return i(t,[{key:"fetch",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=R(_().mark((function e(t){var r,n,a,i,s,c,o,u,h,l,f,p;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.event,!("navigate"===(n=Y(t)).mode&&r instanceof FetchEvent&&r.preloadResponse)){e.next=9;break}return e.next=5,r.preloadResponse;case 5:if(!(a=e.sent)){e.next=9;break}return e.abrupt("return",a);case 9:i=this.hasCallback("fetchDidFail")?n.clone():null,e.prev=10,s=O(this.iterateCallbacks("requestWillFetch")),e.prev=12,s.s();case 14:if((c=s.n()).done){e.next=21;break}return o=c.value,e.next=18,o({request:n.clone(),event:r});case 18:n=e.sent;case 19:e.next=14;break;case 21:e.next=26;break;case 23:e.prev=23,e.t0=e.catch(12),s.e(e.t0);case 26:return e.prev=26,s.f(),e.finish(26);case 29:e.next=35;break;case 31:if(e.prev=31,e.t1=e.catch(10),!(e.t1 instanceof Error)){e.next=35;break}throw new y("plugin-error-request-will-fetch",{thrownErrorMessage:e.t1.message});case 35:return u=n.clone(),e.prev=36,e.next=39,fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);case 39:h=e.sent,l=O(this.iterateCallbacks("fetchDidSucceed")),e.prev=42,l.s();case 44:if((f=l.n()).done){e.next=51;break}return p=f.value,e.next=48,p({event:r,request:u,response:h});case 48:h=e.sent;case 49:e.next=44;break;case 51:e.next=56;break;case 53:e.prev=53,e.t2=e.catch(42),l.e(e.t2);case 56:return e.prev=56,l.f(),e.finish(56);case 59:return e.abrupt("return",h);case 62:if(e.prev=62,e.t3=e.catch(36),!i){e.next=68;break}return e.next=68,this.runCallbacks("fetchDidFail",{error:e.t3,event:r,originalRequest:i.clone(),request:u.clone()});case 68:throw e.t3;case 69:case"end":return e.stop()}}),e,this,[[10,31],[12,23,26,29],[36,62],[42,53,56,59]])})));return function(t){return e.apply(this,arguments)}}())},{key:"fetchAndCachePut",value:function(){var e=R(_().mark((function e(t){var r,n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.fetch(t);case 2:return r=e.sent,n=r.clone(),this.waitUntil(this.cachePut(t,n)),e.abrupt("return",r);case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"cacheMatch",value:function(){var e=R(_().mark((function e(t){var r,n,a,i,s,c,o,u,h,l;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Y(t),a=this._strategy,i=a.cacheName,s=a.matchOptions,e.next=4,this.getCacheKey(r,"read");case 4:return c=e.sent,o=Object.assign(Object.assign({},s),{cacheName:i}),e.next=8,caches.match(c,o);case 8:n=e.sent,u=O(this.iterateCallbacks("cachedResponseWillBeUsed")),e.prev=11,u.s();case 13:if((h=u.n()).done){e.next=23;break}return l=h.value,e.next=17,l({cacheName:i,matchOptions:s,cachedResponse:n,request:c,event:this.event});case 17:if(e.t0=e.sent,e.t0){e.next=20;break}e.t0=void 0;case 20:n=e.t0;case 21:e.next=13;break;case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(11),u.e(e.t1);case 28:return e.prev=28,u.f(),e.finish(28);case 31:return e.abrupt("return",n);case 32:case"end":return e.stop()}}),e,this,[[11,25,28,31]])})));return function(t){return e.apply(this,arguments)}}()},{key:"cachePut",value:function(){var t=R(_().mark((function t(r,n){var a,i,s,c,o,u,h,l,f,p,v,d,b;return _().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=Y(r),t.next=3,A(0);case 3:return t.next=5,this.getCacheKey(a,"write");case 5:i=t.sent,t.next=11;break;case 9:(s=n.headers.get("Vary"))&&e.debug("The response for ".concat(I(i.url)," ")+"has a 'Vary: ".concat(s,"' header. ")+"Consider setting the {ignoreVary: true} option on your strategy to ensure cache matching and deletion works as expected.");case 11:if(n){t.next=14;break}throw new y("cache-put-with-no-response",{url:I(i.url)});case 14:return t.next=16,this._ensureResponseSafeToCache(n);case 16:if(c=t.sent){t.next=20;break}return t.abrupt("return",!1);case 20:return o=this._strategy,u=o.cacheName,h=o.matchOptions,t.next=23,self.caches.open(u);case 23:if(l=t.sent,!(f=this.hasCallback("cacheDidUpdate"))){t.next=31;break}return t.next=28,S(l,i.clone(),["__WB_REVISION__"],h);case 28:t.t0=t.sent,t.next=32;break;case 31:t.t0=null;case 32:return p=t.t0,t.prev=34,t.next=37,l.put(i,f?c.clone():c);case 37:t.next=46;break;case 39:if(t.prev=39,t.t1=t.catch(34),!(t.t1 instanceof Error)){t.next=46;break}if("QuotaExceededError"!==t.t1.name){t.next=45;break}return t.next=45,U();case 45:throw t.t1;case 46:v=O(this.iterateCallbacks("cacheDidUpdate")),t.prev=47,v.s();case 49:if((d=v.n()).done){t.next=55;break}return b=d.value,t.next=53,b({cacheName:u,oldResponse:p,newResponse:c.clone(),request:i,event:this.event});case 53:t.next=49;break;case 55:t.next=60;break;case 57:t.prev=57,t.t2=t.catch(47),v.e(t.t2);case 60:return t.prev=60,v.f(),t.finish(60);case 63:return t.abrupt("return",!0);case 64:case"end":return t.stop()}}),t,this,[[34,39],[47,57,60,63]])})));return function(e,r){return t.apply(this,arguments)}}()},{key:"getCacheKey",value:function(){var e=R(_().mark((function e(t,r){var n,a,i,s,c;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n="".concat(t.url," | ").concat(r),this._cacheKeys[n]){e.next=24;break}a=t,i=O(this.iterateCallbacks("cacheKeyWillBeUsed")),e.prev=4,i.s();case 6:if((s=i.n()).done){e.next=15;break}return c=s.value,e.t0=Y,e.next=11,c({mode:r,request:a,event:this.event,params:this.params});case 11:e.t1=e.sent,a=(0,e.t0)(e.t1);case 13:e.next=6;break;case 15:e.next=20;break;case 17:e.prev=17,e.t2=e.catch(4),i.e(e.t2);case 20:return e.prev=20,i.f(),e.finish(20);case 23:this._cacheKeys[n]=a;case 24:return e.abrupt("return",this._cacheKeys[n]);case 25:case"end":return e.stop()}}),e,this,[[4,17,20,23]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"hasCallback",value:function(e){var t,r=O(this._strategy.plugins);try{for(r.s();!(t=r.n()).done;){if(e in t.value)return!0}}catch(n){r.e(n)}finally{r.f()}return!1}},{key:"runCallbacks",value:function(){var e=R(_().mark((function e(t,r){var n,a,i;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=O(this.iterateCallbacks(t)),e.prev=1,n.s();case 3:if((a=n.n()).done){e.next=9;break}return i=a.value,e.next=7,i(r);case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.e(e.t0);case 14:return e.prev=14,n.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"iterateCallbacks",value:_().mark((function e(t){var r,n,a,i=this;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=O(this._strategy.plugins),e.prev=1,a=_().mark((function e(){var r,a,s;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!==typeof(r=n.value)[t]){e.next=6;break}return a=i._pluginStateMap.get(r),s=function(e){var n=Object.assign(Object.assign({},e),{state:a});return r[t](n)},e.next=6,s;case 6:case"end":return e.stop()}}),e)})),r.s();case 4:if((n=r.n()).done){e.next=8;break}return e.delegateYield(a(),"t0",6);case 6:e.next=4;break;case 8:e.next=13;break;case 10:e.prev=10,e.t1=e.catch(1),r.e(e.t1);case 13:return e.prev=13,r.f(),e.finish(13);case 16:case"end":return e.stop()}}),e,this,[[1,10,13,16]])}))},{key:"waitUntil",value:function(e){return this._extendLifetimePromises.push(e),e}},{key:"doneWaiting",value:function(){var e=R(_().mark((function e(){var t;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=this._extendLifetimePromises.shift())){e.next=5;break}return e.next=3,t;case 3:e.next=0;break;case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"destroy",value:function(){this._handlerDeferred.resolve(null)}},{key:"_ensureResponseSafeToCache",value:function(){var e=R(_().mark((function e(t){var r,n,a,i,s;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t,n=!1,a=O(this.iterateCallbacks("cacheWillUpdate")),e.prev=3,a.s();case 5:if((i=a.n()).done){e.next=18;break}return s=i.value,e.next=9,s({request:this.request,response:r,event:this.event});case 9:if(e.t0=e.sent,e.t0){e.next=12;break}e.t0=void 0;case 12:if(r=e.t0,n=!0,r){e.next=16;break}return e.abrupt("break",18);case 16:e.next=5;break;case 18:e.next=23;break;case 20:e.prev=20,e.t1=e.catch(3),a.e(e.t1);case 23:return e.prev=23,a.f(),e.finish(23);case 26:return n||r&&200!==r.status&&(r=void 0),e.abrupt("return",r);case 28:case"end":return e.stop()}}),e,this,[[3,20,23,26]])})));return function(t){return e.apply(this,arguments)}}()}]),t}(),Q=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,e),this.cacheName=k(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}return i(e,[{key:"handle",value:function(e){return B(this.handleAll(e),1)[0]}},{key:"handleAll",value:function(e){e instanceof FetchEvent&&(e={event:e,request:e.request});var t=e.event,r="string"===typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new $(this,{event:t,request:r,params:n}),i=this._getResponse(a,r,t);return[i,this._awaitComplete(i,a,r,t)]}},{key:"_getResponse",value:function(){var e=R(_().mark((function e(t,r,n){var a,i,s,c,o,u,h;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.runCallbacks("handlerWillStart",{event:n,request:r});case 2:return a=void 0,e.prev=3,e.next=6,this._handle(r,t);case 6:if((a=e.sent)&&"error"!==a.type){e.next=9;break}throw new y("no-response",{url:r.url});case 9:e.next=39;break;case 11:if(e.prev=11,e.t0=e.catch(3),!(e.t0 instanceof Error)){e.next=34;break}i=O(t.iterateCallbacks("handlerDidError")),e.prev=15,i.s();case 17:if((s=i.n()).done){e.next=26;break}return c=s.value,e.next=21,c({error:e.t0,event:n,request:r});case 21:if(!(a=e.sent)){e.next=24;break}return e.abrupt("break",26);case 24:e.next=17;break;case 26:e.next=31;break;case 28:e.prev=28,e.t1=e.catch(15),i.e(e.t1);case 31:return e.prev=31,i.f(),e.finish(31);case 34:if(a){e.next=38;break}throw e.t0;case 38:0;case 39:o=O(t.iterateCallbacks("handlerWillRespond")),e.prev=40,o.s();case 42:if((u=o.n()).done){e.next=49;break}return h=u.value,e.next=46,h({event:n,request:r,response:a});case 46:a=e.sent;case 47:e.next=42;break;case 49:e.next=54;break;case 51:e.prev=51,e.t2=e.catch(40),o.e(e.t2);case 54:return e.prev=54,o.f(),e.finish(54);case 57:return e.abrupt("return",a);case 58:case"end":return e.stop()}}),e,this,[[3,11],[15,28,31,34],[40,51,54,57]])})));return function(t,r,n){return e.apply(this,arguments)}}()},{key:"_awaitComplete",value:function(){var e=R(_().mark((function e(t,r,n,a){var i,s;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t;case 3:i=e.sent,e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:return e.prev=8,e.next=11,r.runCallbacks("handlerDidRespond",{event:a,request:n,response:i});case 11:return e.next=13,r.doneWaiting();case 13:e.next=18;break;case 15:e.prev=15,e.t1=e.catch(8),e.t1 instanceof Error&&(s=e.t1);case 18:return e.next=20,r.runCallbacks("handlerDidComplete",{event:a,request:n,response:i,error:s});case 20:if(r.destroy(),!s){e.next=23;break}throw s;case 23:case"end":return e.stop()}}),e,null,[[0,6],[8,15]])})));return function(t,r,n,a){return e.apply(this,arguments)}}()}]),e}(),J=function(t){o(n,t);var r=f(n);function n(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,n),t.cacheName=w(t.cacheName),(e=r.call(this,t))._fallbackToNetwork=!1!==t.fallbackToNetwork,e.plugins.push(n.copyRedirectedCacheableResponsesPlugin),e}return i(n,[{key:"_handle",value:function(){var e=R(_().mark((function e(t,r){var n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.cacheMatch(t);case 2:if(!(n=e.sent)){e.next=5;break}return e.abrupt("return",n);case 5:if(!r.event||"install"!==r.event.type){e.next=9;break}return e.next=8,this._handleInstall(t,r);case 8:case 11:return e.abrupt("return",e.sent);case 9:return e.next=11,this._handleFetch(t,r);case 12:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_handleFetch",value:function(){var t=R(_().mark((function t(r,n){var a,i,s,c,o,u;return _().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=n.params||{},!this._fallbackToNetwork){t.next=17;break}return s=i.integrity,c=r.integrity,o=!c||c===s,t.next=8,n.fetch(new Request(r,{integrity:"no-cors"!==r.mode?c||s:void 0}));case 8:if(a=t.sent,!s||!o||"no-cors"===r.mode){t.next=15;break}return this._useDefaultCacheabilityPluginIfNeeded(),t.next=13,n.cachePut(r,a.clone());case 13:t.sent;case 15:t.next=18;break;case 17:throw new y("missing-precache-entry",{cacheName:this.cacheName,url:r.url});case 18:t.next=34;break;case 23:t.t0=t.sent;case 24:u=t.t0,e.groupCollapsed("Precaching is responding to: "+I(r.url)),e.log("Serving the precached url: ".concat(I(u instanceof Request?u.url:u))),e.groupCollapsed("View request details here."),e.log(r),e.groupEnd(),e.groupCollapsed("View response details here."),e.log(a),e.groupEnd(),e.groupEnd();case 34:return t.abrupt("return",a);case 35:case"end":return t.stop()}}),t,this)})));return function(e,r){return t.apply(this,arguments)}}()},{key:"_handleInstall",value:function(){var e=R(_().mark((function e(t,r){var n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._useDefaultCacheabilityPluginIfNeeded(),e.next=3,r.fetch(t);case 3:return n=e.sent,e.next=6,r.cachePut(t,n.clone());case 6:if(e.sent){e.next=9;break}throw new y("bad-precaching-response",{url:t.url,status:n.status});case 9:return e.abrupt("return",n);case 10:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_useDefaultCacheabilityPluginIfNeeded",value:function(){var e,t=null,r=0,a=O(this.plugins.entries());try{for(a.s();!(e=a.n()).done;){var i=B(e.value,2),s=i[0],c=i[1];c!==n.copyRedirectedCacheableResponsesPlugin&&(c===n.defaultPrecacheCacheabilityPlugin&&(t=s),c.cacheWillUpdate&&r++)}}catch(o){a.e(o)}finally{a.f()}0===r?this.plugins.push(n.defaultPrecacheCacheabilityPlugin):r>1&&null!==t&&this.plugins.splice(t,1)}}]),n}(Q);J.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:function(e){return R(_().mark((function t(){var r;return _().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=e.response)&&!(r.status>=400)){t.next=3;break}return t.abrupt("return",null);case 3:return t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})))()}},J.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:function(e){return R(_().mark((function t(){var r;return _().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=e.response).redirected){t.next=7;break}return t.next=4,K(r);case 4:t.t0=t.sent,t.next=8;break;case 7:t.t0=r;case 8:return t.abrupt("return",t.t0);case 9:case"end":return t.stop()}}),t)})))()}};var z,X=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.cacheName,n=t.plugins,a=void 0===n?[]:n,i=t.fallbackToNetwork,c=void 0===i||i;s(this,e),this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new J({cacheName:w(r),plugins:[].concat(F(a),[new G({precacheController:this})]),fallbackToNetwork:c}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}return i(e,[{key:"strategy",get:function(){return this._strategy}},{key:"precache",value:function(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}},{key:"addToCacheList",value:function(e){var t,r=[],n=O(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=H(a),s=i.cacheKey,c=i.url,o="string"!==typeof a&&a.revision?"reload":"default";if(this._urlsToCacheKeys.has(c)&&this._urlsToCacheKeys.get(c)!==s)throw new y("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(c),secondEntry:s});if("string"!==typeof a&&a.integrity){if(this._cacheKeysToIntegrities.has(s)&&this._cacheKeysToIntegrities.get(s)!==a.integrity)throw new y("add-to-cache-list-conflicting-integrities",{url:c});this._cacheKeysToIntegrities.set(s,a.integrity)}if(this._urlsToCacheKeys.set(c,s),this._urlsToCacheModes.set(c,o),r.length>0){var u="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(u)}}}catch(h){n.e(h)}finally{n.f()}}},{key:"install",value:function(e){var t=this;return M(e,R(_().mark((function r(){var n,a,i,s,c,o,u,h,l,f,p;return _().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=new V,t.strategy.plugins.push(n),a=O(t._urlsToCacheKeys),r.prev=3,a.s();case 5:if((i=a.n()).done){r.next=14;break}return s=B(i.value,2),c=s[0],o=s[1],u=t._cacheKeysToIntegrities.get(o),h=t._urlsToCacheModes.get(c),l=new Request(c,{integrity:u,cache:h,credentials:"same-origin"}),r.next=12,Promise.all(t.strategy.handleAll({params:{cacheKey:o},request:l,event:e}));case 12:r.next=5;break;case 14:r.next=19;break;case 16:r.prev=16,r.t0=r.catch(3),a.e(r.t0);case 19:return r.prev=19,a.f(),r.finish(19);case 22:return f=n.updatedURLs,p=n.notUpdatedURLs,r.abrupt("return",{updatedURLs:f,notUpdatedURLs:p});case 25:case"end":return r.stop()}}),r,null,[[3,16,19,22]])}))))}},{key:"activate",value:function(e){var t=this;return M(e,R(_().mark((function e(){var r,n,a,i,s,c,o;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,self.caches.open(t.strategy.cacheName);case 2:return r=e.sent,e.next=5,r.keys();case 5:n=e.sent,a=new Set(t._urlsToCacheKeys.values()),i=[],s=O(n),e.prev=9,s.s();case 11:if((c=s.n()).done){e.next=19;break}if(o=c.value,a.has(o.url)){e.next=17;break}return e.next=16,r.delete(o);case 16:i.push(o.url);case 17:e.next=11;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(9),s.e(e.t0);case 24:return e.prev=24,s.f(),e.finish(24);case 27:return e.abrupt("return",{deletedURLs:i});case 29:case"end":return e.stop()}}),e,null,[[9,21,24,27]])}))))}},{key:"getURLsToCacheKeys",value:function(){return this._urlsToCacheKeys}},{key:"getCachedURLs",value:function(){return F(this._urlsToCacheKeys.keys())}},{key:"getCacheKeyForURL",value:function(e){var t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}},{key:"getIntegrityForCacheKey",value:function(e){return this._cacheKeysToIntegrities.get(e)}},{key:"matchPrecache",value:function(){var e=R(_().mark((function e(t){var r,n,a;return _().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.strategy.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:"createHandlerBoundToURL",value:function(e){var t=this,r=this.getCacheKeyForURL(e);if(!r)throw new y("non-precached-url",{url:e});return function(n){return n.request=new Request(e),n.params=Object.assign({cacheKey:r},n.params),t.strategy.handle(n)}}}]),e}(),Z=function(){return z||(z=new X),z};r(92);var ee,te=function(e){return e&&"object"===typeof e?e:{handle:e}},re=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET";s(this,e),this.handler=te(r),this.match=t,this.method=n}return i(e,[{key:"setCatchHandler",value:function(e){this.catchHandler=te(e)}}]),e}(),ne=function(e){o(r,e);var t=f(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 i(r)}(re),ae=function(){function e(){s(this,e),this._routes=new Map,this._defaultHandlerMap=new Map}return i(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(r){"string"===typeof r&&(r=[r]);var n=p(Request,F(r));return e.handleRequest({request:n,event:t})})));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=a.origin===location.origin,s=this.findMatchingRoute({event:n,request:r,sameOrigin:i,url:a}),c=s.params,o=s.route,u=o&&o.handler;0;var h=r.method;if(!u&&this._defaultHandlerMap.has(h)&&(u=this._defaultHandlerMap.get(h)),u){var l;0;try{l=u.handle({url:a,request:r,event:n,params:c})}catch(p){l=Promise.reject(p)}var f=o&&o.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(function(){var e=R(_().mark((function e(i){return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!f){e.next=11;break}return e.prev=2,e.next=5,f.handle({url:a,request:r,event:n,params:c});case 5:return e.abrupt("return",e.sent);case 8:e.prev=8,e.t0=e.catch(2),e.t0 instanceof Error&&(i=e.t0);case 11:if(!t._catchHandler){e.next=14;break}return e.abrupt("return",t._catchHandler.handle({url:a,request:r,event:n}));case 14:throw i;case 15:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(t){return e.apply(this,arguments)}}())),l}}}},{key:"findMatchingRoute",value:function(e){var t,r=e.url,n=e.sameOrigin,a=e.request,i=e.event,s=O(this._routes.get(a.method)||[]);try{for(s.s();!(t=s.n()).done;){var c=t.value,o=void 0,u=c.match({url:r,sameOrigin:n,request:a,event:i});if(u)return o=u,(Array.isArray(o)&&0===o.length||u.constructor===Object&&0===Object.keys(u).length||"boolean"===typeof u)&&(o=void 0),{route:c,params:o}}}catch(h){s.e(h)}finally{s.f()}return{}}},{key:"setDefaultHandler",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";this._defaultHandlerMap.set(t,te(e))}},{key:"setCatchHandler",value:function(e){this._catchHandler=te(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 y("unregister-route-but-not-found-with-method",{method:e.method});var t=this._routes.get(e.method).indexOf(e);if(!(t>-1))throw new y("unregister-route-route-not-registered");this._routes.get(e.method).splice(t,1)}}]),e}(),ie=function(){return ee||((ee=new ae).addFetchListener(),ee.addCacheListener()),ee};function se(e,t,r){var n;if("string"===typeof e){var a=new URL(e,location.href);n=new re((function(e){return e.url.href===a.href}),t,r)}else if(e instanceof RegExp)n=new ne(e,t,r);else if("function"===typeof e)n=new re(e,t,r);else{if(!(e instanceof re))throw new y("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});n=e}return ie().registerRoute(n),n}function ce(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=F(e.searchParams.keys());n<a.length;n++)r();return e}var oe=function(e){o(r,e);var t=f(r);function r(e,n){s(this,r);return t.call(this,(function(t){var r,a=t.request,i=e.getURLsToCacheKeys(),s=O(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.ignoreURLParametersMatching,n=void 0===r?[/^utm_/,/^fbclid$/]:r,a=t.directoryIndex,i=void 0===a?"index.html":a,s=t.cleanURLs,c=void 0===s||s,o=t.urlManipulation;return _().mark((function t(){var r,a,s,u,h,l,f,p;return _().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=new URL(e,location.href)).hash="",t.next=4,r.href;case 4:return a=ce(r,n),t.next=7,a.href;case 7:if(!i||!a.pathname.endsWith("/")){t.next=12;break}return(s=new URL(a.href)).pathname+=i,t.next=12,s.href;case 12:if(!c){t.next=17;break}return(u=new URL(a.href)).pathname+=".html",t.next=17,u.href;case 17:if(!o){t.next=36;break}h=o({url:r}),l=O(h),t.prev=20,l.s();case 22:if((f=l.n()).done){t.next=28;break}return p=f.value,t.next=26,p.href;case 26:t.next=22;break;case 28:t.next=33;break;case 30:t.prev=30,t.t0=t.catch(20),l.e(t.t0);case 33:return t.prev=33,l.f(),t.finish(33);case 36:case"end":return t.stop()}}),t,null,[[20,30,33,36]])}))()}(a.url,n));try{for(s.s();!(r=s.n()).done;){var c=r.value,o=i.get(c);if(o)return{cacheKey:o,integrity:e.getIntegrityForCacheKey(o)}}}catch(u){s.e(u)}finally{s.f()}}),e.strategy)}return i(r)}(re);function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function he(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(r),!0).forEach((function(t){var a,i,s;a=e,i=t,s=r[t],(i=n(i))in a?Object.defineProperty(a,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[i]=s})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var le,fe,pe=function(e,t){return t.some((function(t){return e instanceof t}))};var ve=new WeakMap,de=new WeakMap,ye=new WeakMap,be=new WeakMap,ge=new WeakMap;var xe={get:function(e,t,r){if(e instanceof IDBTransaction){if("done"===t)return de.get(e);if("objectStoreNames"===t)return e.objectStoreNames||ye.get(e);if("store"===t)return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return ke(e[t])},set:function(e,t,r){return e[t]=r,!0},has:function(e,t){return e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e}};function me(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(fe||(fe=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.apply(_e(this),r),ke(ve.get(this))}:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return ke(e.apply(_e(this),r))}:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];var i=e.call.apply(e,[_e(this),t].concat(n));return ye.set(i,t.sort?t.sort():[t]),ke(i)}}function we(e){return"function"===typeof e?me(e):(e instanceof IDBTransaction&&function(e){if(!de.has(e)){var t=new Promise((function(t,r){var n=function(){e.removeEventListener("complete",a),e.removeEventListener("error",i),e.removeEventListener("abort",i)},a=function(){t(),n()},i=function(){r(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",i),e.addEventListener("abort",i)}));de.set(e,t)}}(e),pe(e,le||(le=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,xe):e)}function ke(e){if(e instanceof IDBRequest)return function(e){var t=new Promise((function(t,r){var n=function(){e.removeEventListener("success",a),e.removeEventListener("error",i)},a=function(){t(ke(e.result)),n()},i=function(){r(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",i)}));return t.then((function(t){t instanceof IDBCursor&&ve.set(t,e)})).catch((function(){})),ge.set(t,e),t}(e);if(be.has(e))return be.get(e);var t=we(e);return t!==e&&(be.set(e,t),ge.set(t,e)),t}var _e=function(e){return ge.get(e)};function Ee(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.blocked,a=r.upgrade,i=r.blocking,s=r.terminated,c=indexedDB.open(e,t),o=ke(c);return a&&c.addEventListener("upgradeneeded",(function(e){a(ke(c.result),e.oldVersion,e.newVersion,ke(c.transaction),e)})),n&&c.addEventListener("blocked",(function(e){return n(e.oldVersion,e.newVersion,e)})),o.then((function(e){s&&e.addEventListener("close",(function(){return s()})),i&&e.addEventListener("versionchange",(function(e){return i(e.oldVersion,e.newVersion,e)}))})).catch((function(){})),o}var Re=["get","getKey","getAll","getAllKeys","count"],Le=["put","add","delete","clear"],Ce=new Map;function Oe(e,t){if(e instanceof IDBDatabase&&!(t in e)&&"string"===typeof t){if(Ce.get(t))return Ce.get(t);var r=t.replace(/FromIndex$/,""),n=t!==r,a=Le.includes(r);if(r in(n?IDBIndex:IDBObjectStore).prototype&&(a||Re.includes(r))){var i=function(){var e=R(_().mark((function e(t){var i,s,c,o,u,h,l=arguments;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(s=this.transaction(t,a?"readwrite":"readonly"),c=s.store,o=l.length,u=new Array(o>1?o-1:0),h=1;h<o;h++)u[h-1]=l[h];return n&&(c=c.index(u.shift())),e.next=6,Promise.all([(i=c)[r].apply(i,u),a&&s.done]);case 6:return e.abrupt("return",e.sent[0]);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}();return Ce.set(t,i),i}}}xe=function(e){return he(he({},e),{},{get:function(t,r,n){return Oe(t,r)||e.get(t,r,n)},has:function(t,r){return!!Oe(t,r)||e.has(t,r)}})}(xe);r(434);var je="cache-entries",Se=function(e){var t=new URL(e,location.href);return t.hash="",t.href},Te=function(){function e(t){s(this,e),this._db=null,this._cacheName=t}return i(e,[{key:"_upgradeDb",value:function(e){var t=e.createObjectStore(je,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}},{key:"_upgradeDbAndDeleteOldDbs",value:function(e){this._upgradeDb(e),this._cacheName&&function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).blocked,r=indexedDB.deleteDatabase(e);t&&r.addEventListener("blocked",(function(e){return t(e.oldVersion,e)})),ke(r).then((function(){}))}(this._cacheName)}},{key:"setTimestamp",value:function(){var e=R(_().mark((function e(t,r){var n,a,i;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Se(t),n={url:t,timestamp:r,cacheName:this._cacheName,id:this._getId(t)},e.next=4,this.getDb();case 4:return a=e.sent,i=a.transaction(je,"readwrite",{durability:"relaxed"}),e.next=8,i.store.put(n);case 8:return e.next=10,i.done;case 10:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"getTimestamp",value:function(){var e=R(_().mark((function e(t){var r,n;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getDb();case 2:return r=e.sent,e.next=5,r.get(je,this._getId(t));case 5:return n=e.sent,e.abrupt("return",null===n||void 0===n?void 0:n.timestamp);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"expireEntries",value:function(){var e=R(_().mark((function e(t,r){var n,a,i,s,c,o,u,h,l;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getDb();case 2:return n=e.sent,e.next=5,n.transaction(je).store.index("timestamp").openCursor(null,"prev");case 5:a=e.sent,i=[],s=0;case 8:if(!a){e.next=16;break}return(c=a.value).cacheName===this._cacheName&&(t&&c.timestamp<t||r&&s>=r?i.push(a.value):s++),e.next=13,a.continue();case 13:a=e.sent,e.next=8;break;case 16:o=[],u=0,h=i;case 18:if(!(u<h.length)){e.next=26;break}return l=h[u],e.next=22,n.delete(je,l.id);case 22:o.push(l.url);case 23:u++,e.next=18;break;case 26:return e.abrupt("return",o);case 27:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_getId",value:function(e){return this._cacheName+"|"+Se(e)}},{key:"getDb",value:function(){var e=R(_().mark((function e(){return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._db){e.next=4;break}return e.next=3,Ee("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)});case 3:this._db=e.sent;case 4:return e.abrupt("return",this._db);case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}(),Pe=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._matchOptions=r.matchOptions,this._cacheName=t,this._timestampModel=new Te(t)}return i(e,[{key:"expireEntries",value:function(){var e=R(_().mark((function e(){var t,r,n,a,i,s;return _().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=O(r),e.prev=12,a.s();case 14:if((i=a.n()).done){e.next=20;break}return s=i.value,e.next=18,n.delete(s,this._matchOptions);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,q(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=R(_().mark((function e(t){return _().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=R(_().mark((function e(t){var r,n;return _().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",void 0===r||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=R(_().mark((function e(){return _().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}(),qe=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s(this,e),this.cachedResponseWillBeUsed=function(){var e=R(_().mark((function e(r){var n,a,i,s,c,o,u;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=r.event,a=r.request,i=r.cacheName,s=r.cachedResponse){e.next=3;break}return e.abrupt("return",null);case 3:if(c=t._isResponseDateFresh(s),q((o=t._getCacheExpiration(i)).expireEntries()),u=o.updateTimestamp(a.url),n)try{n.waitUntil(u)}catch(h){0}return e.abrupt("return",c?s:null);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.cacheDidUpdate=function(){var e=R(_().mark((function e(r){var n,a,i;return _().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&&function(e){b.add(e)}((function(){return t.deleteCacheAndMetadata()}))}return i(e,[{key:"_getCacheExpiration",value:function(e){if(e===k())throw new y("expire-custom-caches-only");var t=this._cacheExpirations.get(e);return t||(t=new Pe(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=R(_().mark((function e(){var t,r,n,a,i;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=O(this._cacheExpirations),e.prev=1,t.s();case 3:if((r=t.n()).done){e.next=11;break}return n=B(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}();var De,Ue=function(e){o(r,e);var t=f(r);function r(){return s(this,r),t.apply(this,arguments)}return i(r,[{key:"_handle",value:function(){var e=R(_().mark((function e(t,r){var n,a;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return[],e.next=4,r.cacheMatch(t);case 4:if(n=e.sent,a=void 0,n){e.next=20;break}return e.prev=8,e.next=11,r.fetchAndCachePut(t);case 11:n=e.sent,e.next=17;break;case 14:e.prev=14,e.t0=e.catch(8),e.t0 instanceof Error&&(a=e.t0);case 17:0,e.next=21;break;case 20:0;case 21:if(n){e.next=24;break}throw new y("no-response",{url:t.url,error:a});case 24:return e.abrupt("return",n);case 25:case"end":return e.stop()}}),e,this,[[8,14]])})));return function(t,r){return e.apply(this,arguments)}}()}]),r}(Q),Ne={cacheWillUpdate:function(){var e=R(_().mark((function e(t){var r;return _().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)}}()},Ie=function(e){o(r,e);var t=f(r);function r(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,r),(e=t.call(this,n)).plugins.some((function(e){return"cacheWillUpdate"in e}))||e.plugins.unshift(Ne),e}return i(r,[{key:"_handle",value:function(){var e=R(_().mark((function e(t,r){var n,a,i;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return[],n=r.fetchAndCachePut(t).catch((function(){})),r.waitUntil(n),e.next=6,r.cacheMatch(t);case 6:if(!(a=e.sent)){e.next=11;break}0,e.next=21;break;case 11:return e.prev=12,e.next=15,n;case 15:a=e.sent,e.next=21;break;case 18:e.prev=18,e.t0=e.catch(12),e.t0 instanceof Error&&(i=e.t0);case 21:if(a){e.next=24;break}throw new y("no-response",{url:t.url,error:i});case 24:return e.abrupt("return",a);case 25:case"end":return e.stop()}}),e,this,[[12,18]])})));return function(t,r){return e.apply(this,arguments)}}()}]),r}(Q);(function(e){Z().precache(e)})(([{'revision':'cd2a23a16856df6190df355e6cc01807','url':'./index.html'},{'revision':null,'url':'./static/css/1371.f696fdbf.chunk.css'},{'revision':null,'url':'./static/css/4407.cc1ab277.chunk.css'},{'revision':null,'url':'./static/css/4665.5d6e9197.chunk.css'},{'revision':null,'url':'./static/css/7676.5ade355d.chunk.css'},{'revision':null,'url':'./static/css/8219.f696fdbf.chunk.css'},{'revision':null,'url':'./static/css/8973.9cab926a.chunk.css'},{'revision':null,'url':'./static/css/main.c9e90622.css'},{'revision':null,'url':'./static/js/1035.c851de07.chunk.js'},{'revision':null,'url':'./static/js/105.a96da900.chunk.js'},{'revision':null,'url':'./static/js/1237.a2ae247a.chunk.js'},{'revision':null,'url':'./static/js/1361.85e46159.chunk.js'},{'revision':null,'url':'./static/js/1366.4c0caad2.chunk.js'},{'revision':null,'url':'./static/js/1371.1d65afc2.chunk.js'},{'revision':null,'url':'./static/js/1685.9865eee2.chunk.js'},{'revision':null,'url':'./static/js/1826.07c285de.chunk.js'},{'revision':null,'url':'./static/js/2129.120e36ae.chunk.js'},{'revision':null,'url':'./static/js/2264.da57cd26.chunk.js'},{'revision':null,'url':'./static/js/2291.d6517626.chunk.js'},{'revision':null,'url':'./static/js/2294.2173fa5e.chunk.js'},{'revision':null,'url':'./static/js/2305.06d230ea.chunk.js'},{'revision':null,'url':'./static/js/2334.255d59b6.chunk.js'},{'revision':null,'url':'./static/js/2365.a3571172.chunk.js'},{'revision':null,'url':'./static/js/2452.2a023741.chunk.js'},{'revision':null,'url':'./static/js/2529.cc831e53.chunk.js'},{'revision':null,'url':'./static/js/2537.0e8b4b3c.chunk.js'},{'revision':null,'url':'./static/js/2564.eef717f3.chunk.js'},{'revision':null,'url':'./static/js/2611.8f413026.chunk.js'},{'revision':null,'url':'./static/js/2657.0656dc7c.chunk.js'},{'revision':null,'url':'./static/js/2720.26eb1788.chunk.js'},{'revision':null,'url':'./static/js/2743.4720ad36.chunk.js'},{'revision':null,'url':'./static/js/2828.4f318970.chunk.js'},{'revision':null,'url':'./static/js/2842.d560c730.chunk.js'},{'revision':null,'url':'./static/js/3111.84e02823.chunk.js'},{'revision':null,'url':'./static/js/3135.ab6ac0d1.chunk.js'},{'revision':null,'url':'./static/js/3137.163b6824.chunk.js'},{'revision':null,'url':'./static/js/3216.9194d385.chunk.js'},{'revision':null,'url':'./static/js/3389.8d232eb3.chunk.js'},{'revision':null,'url':'./static/js/3476.c0b3411b.chunk.js'},{'revision':null,'url':'./static/js/3633.67f1416e.chunk.js'},{'revision':null,'url':'./static/js/3704.bd195d3e.chunk.js'},{'revision':null,'url':'./static/js/3716.7e2fd5ac.chunk.js'},{'revision':null,'url':'./static/js/373.9d72a636.chunk.js'},{'revision':null,'url':'./static/js/3732.f5d8b39b.chunk.js'},{'revision':null,'url':'./static/js/3829.b6d6cf45.chunk.js'},{'revision':null,'url':'./static/js/4074.19db40ec.chunk.js'},{'revision':null,'url':'./static/js/4104.b47ae0e1.chunk.js'},{'revision':null,'url':'./static/js/4241.83e4f741.chunk.js'},{'revision':null,'url':'./static/js/4274.22984e96.chunk.js'},{'revision':null,'url':'./static/js/4349.7c2f6507.chunk.js'},{'revision':null,'url':'./static/js/4362.fdb74d3c.chunk.js'},{'revision':null,'url':'./static/js/4407.8d6ca5cb.chunk.js'},{'revision':null,'url':'./static/js/442.ed7bae8d.chunk.js'},{'revision':null,'url':'./static/js/4448.240f547f.chunk.js'},{'revision':null,'url':'./static/js/4471.caa42ecd.chunk.js'},{'revision':null,'url':'./static/js/4590.5a14012c.chunk.js'},{'revision':null,'url':'./static/js/4718.d80adf8d.chunk.js'},{'revision':null,'url':'./static/js/4775.488b5fef.chunk.js'},{'revision':null,'url':'./static/js/4901.6b52436e.chunk.js'},{'revision':null,'url':'./static/js/4906.d14fcb6e.chunk.js'},{'revision':null,'url':'./static/js/5074.c3560023.chunk.js'},{'revision':null,'url':'./static/js/5509.6c906749.chunk.js'},{'revision':null,'url':'./static/js/5526.c5d6afb5.chunk.js'},{'revision':null,'url':'./static/js/5555.46ed37f5.chunk.js'},{'revision':null,'url':'./static/js/556.381dcbd8.chunk.js'},{'revision':null,'url':'./static/js/5760.c3cc572f.chunk.js'},{'revision':null,'url':'./static/js/5804.911e6040.chunk.js'},{'revision':null,'url':'./static/js/5808.af4433c9.chunk.js'},{'revision':null,'url':'./static/js/5873.e467bcef.chunk.js'},{'revision':null,'url':'./static/js/5953.f4570f61.chunk.js'},{'revision':null,'url':'./static/js/5979.d89e3302.chunk.js'},{'revision':null,'url':'./static/js/6412.ceaf0f1d.chunk.js'},{'revision':null,'url':'./static/js/6457.280fd1c8.chunk.js'},{'revision':null,'url':'./static/js/6511.e7dbd80c.chunk.js'},{'revision':null,'url':'./static/js/6547.c3f83d14.chunk.js'},{'revision':null,'url':'./static/js/6580.486d1bdd.chunk.js'},{'revision':null,'url':'./static/js/6591.0ca8afd5.chunk.js'},{'revision':null,'url':'./static/js/6602.c417a217.chunk.js'},{'revision':null,'url':'./static/js/6780.c6efc1ec.chunk.js'},{'revision':null,'url':'./static/js/6830.88b993a0.chunk.js'},{'revision':null,'url':'./static/js/6931.5f06c0c1.chunk.js'},{'revision':null,'url':'./static/js/6950.e0b7db0a.chunk.js'},{'revision':null,'url':'./static/js/6960.ae50a2e7.chunk.js'},{'revision':null,'url':'./static/js/7020.325760ed.chunk.js'},{'revision':null,'url':'./static/js/7022.53e6fae9.chunk.js'},{'revision':null,'url':'./static/js/7126.57231bf3.chunk.js'},{'revision':null,'url':'./static/js/7327.a90bf973.chunk.js'},{'revision':null,'url':'./static/js/744.f4da0c57.chunk.js'},{'revision':null,'url':'./static/js/7534.15f431d9.chunk.js'},{'revision':null,'url':'./static/js/7638.f7d773c5.chunk.js'},{'revision':null,'url':'./static/js/7676.bc69ead5.chunk.js'},{'revision':null,'url':'./static/js/7718.01196791.chunk.js'},{'revision':null,'url':'./static/js/7913.8561e15c.chunk.js'},{'revision':null,'url':'./static/js/8059.cf139637.chunk.js'},{'revision':null,'url':'./static/js/8212.06eb9697.chunk.js'},{'revision':null,'url':'./static/js/8219.ba146cab.chunk.js'},{'revision':null,'url':'./static/js/8249.63c55b3a.chunk.js'},{'revision':null,'url':'./static/js/8262.869cc799.chunk.js'},{'revision':null,'url':'./static/js/8382.bb5c2a49.chunk.js'},{'revision':null,'url':'./static/js/8537.900927ac.chunk.js'},{'revision':null,'url':'./static/js/8606.66db67e2.chunk.js'},{'revision':null,'url':'./static/js/875.af5cb0ea.chunk.js'},{'revision':null,'url':'./static/js/8973.8d079dd3.chunk.js'},{'revision':null,'url':'./static/js/8986.b2c42433.chunk.js'},{'revision':null,'url':'./static/js/9038.d4d5c249.chunk.js'},{'revision':null,'url':'./static/js/9041.0f1c9ac4.chunk.js'},{'revision':null,'url':'./static/js/9249.9f167db8.chunk.js'},{'revision':null,'url':'./static/js/9327.77d4d1d8.chunk.js'},{'revision':null,'url':'./static/js/9354.eb85d6e0.chunk.js'},{'revision':null,'url':'./static/js/9366.f160471a.chunk.js'},{'revision':null,'url':'./static/js/9662.a4767850.chunk.js'},{'revision':null,'url':'./static/js/984.cdeeebfc.chunk.js'},{'revision':null,'url':'./static/js/9875.bd7a86c6.chunk.js'},{'revision':null,'url':'./static/js/main.cc381a49.js'},{'revision':null,'url':'./static/media/lato-all-400-normal.3dc1eff492ab1f598560.woff'},{'revision':null,'url':'./static/media/lato-all-700-normal.1e7707c9ec98d9b97e7f.woff'},{'revision':null,'url':'./static/media/lato-latin-400-normal.be36596da218e1eec01c.woff2'},{'revision':null,'url':'./static/media/lato-latin-700-normal.8f28e0e1fdb195149f1c.woff2'},{'revision':null,'url':'./static/media/lato-latin-ext-400-normal.361f3dbb9db6a5980326.woff2'},{'revision':null,'url':'./static/media/lato-latin-ext-700-normal.9c8812eaec45956201e1.woff2'},{'revision':'3f75f5574309bf1ab1a642cae6cec338','url':'./static/media/logo.60f66bbe1ce9674a4df4e374c9d97fc4.svg'},{'revision':null,'url':'./static/media/ubuntu-mono-all-400-normal.c879328bc62e9c68268f.woff'},{'revision':null,'url':'./static/media/ubuntu-mono-cyrillic-400-normal.c367f416832eb8f1b846.woff2'},{'revision':null,'url':'./static/media/ubuntu-mono-cyrillic-ext-400-normal.eda1c4946b1f7bf58386.woff2'},{'revision':null,'url':'./static/media/ubuntu-mono-greek-400-normal.22f3bfc91f79c342bdf4.woff2'},{'revision':null,'url':'./static/media/ubuntu-mono-greek-ext-400-normal.b3459900ea8a25d1f7c2.woff2'},{'revision':null,'url':'./static/media/ubuntu-mono-latin-400-normal.18e32d9d743af28f913e.woff2'},{'revision':null,'url':'./static/media/ubuntu-mono-latin-ext-400-normal.b56e2315611d10838ad5.woff2'}]||[]).filter((function(e){return"/"!==e.url&&!e.url.includes("index.html")}))),function(e){var t=Z();se(new oe(t,e))}(De),self.addEventListener("activate",(function(){return self.clients.claim()})),self.addEventListener("activate",(function(){console.log("Service Worker activated")})),self.addEventListener("install",(function(e){console.log("Service Worker installed"),e.waitUntil(self.skipWaiting())}));var Ae=function(e){return"GET"!==e.method||(!!e.url.includes("/api")||(!!e.url.includes("__meta__.js")||!!e.url.includes("__blocklet__.js")))};se((function(e){var t=e.request;return!Ae(t)&&t.url.includes("/static/")}),new Ue({cacheName:"static",plugins:[new qe({maxEntries:200})]})),se((function(e){var t=e.request;return!Ae(t)&&(t.url.includes("/images/")||t.url.includes("/icons/"))}),new Ie)}()}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[5953],{75953:function(e,t,n){n.d(t,{Z:function(){return Q}});var o=n(56666),r=n(31461),a=n(7896),i=n(5057),l=n(9978),c=n(91213),u=n(3182),s=n(66685),p=n(24202),d=n(62773),f=n(42908),v=n(6285),g=n(31821),h=n(18561);function m(e){return(0,h.Z)("MuiListSubheader",e)}(0,g.Z)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var b=n(96266),Z=["className","color","component","disableGutters","disableSticky","inset"],x=(0,d.ZP)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat((0,v.Z)(n.color))],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},"primary"===n.color&&{color:(t.vars||t).palette.primary.main},"inherit"===n.color&&{color:"inherit"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.inset&&{paddingLeft:72},!n.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper})})),y=i.forwardRef((function(e,t){var n=(0,f.Z)({props:e,name:"MuiListSubheader"}),o=n.className,i=n.color,u=void 0===i?"default":i,s=n.component,p=void 0===s?"li":s,d=n.disableGutters,g=void 0!==d&&d,h=n.disableSticky,y=void 0!==h&&h,O=n.inset,I=void 0!==O&&O,S=(0,r.Z)(n,Z),P=(0,a.Z)({},n,{color:u,component:p,disableGutters:g,disableSticky:y,inset:I}),C=function(e){var t=e.classes,n=e.color,o=e.disableGutters,r=e.inset,a=e.disableSticky,i={root:["root","default"!==n&&"color".concat((0,v.Z)(n)),!o&&"gutters",r&&"inset",!a&&"sticky"]};return(0,c.Z)(i,m,t)}(P);return(0,b.jsx)(x,(0,a.Z)({as:p,className:(0,l.Z)(C.root,o),ref:t,ownerState:P},S))}));y.muiSkipListHighlight=!0;var O=y,I=n(25228),S=n(67680),P=n(19654),C=n(46234),k=n(9243),w=n(82226),L=n(75623),A=n(74235),T=n(60473);function R(e){return(0,h.Z)("MuiAutocomplete",e)}var N,M,D=(0,g.Z)("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]),z=n(2286),E=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],F=["ref"],H=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.fullWidth,a=n.hasClearIcon,i=n.hasPopupIcon,l=n.inputFocused,c=n.size;return[(0,o.Z)({},"& .".concat(D.tag),t.tag),(0,o.Z)({},"& .".concat(D.tag),t["tagSize".concat((0,v.Z)(c))]),(0,o.Z)({},"& .".concat(D.inputRoot),t.inputRoot),(0,o.Z)({},"& .".concat(D.input),t.input),(0,o.Z)({},"& .".concat(D.input),l&&t.inputFocused),t.root,r&&t.fullWidth,i&&t.hasPopupIcon,a&&t.hasClearIcon]}})((function(e){var t,n,r,i,l,c=e.ownerState;return(0,a.Z)((t={},(0,o.Z)(t,"&.".concat(D.focused," .").concat(D.clearIndicator),{visibility:"visible"}),(0,o.Z)(t,"@media (pointer: fine)",(0,o.Z)({},"&:hover .".concat(D.clearIndicator),{visibility:"visible"})),t),c.fullWidth&&{width:"100%"},(l={},(0,o.Z)(l,"& .".concat(D.tag),(0,a.Z)({margin:3,maxWidth:"calc(100% - 6px)"},"small"===c.size&&{margin:2,maxWidth:"calc(100% - 4px)"})),(0,o.Z)(l,"& .".concat(D.inputRoot),(n={flexWrap:"wrap"},(0,o.Z)(n,".".concat(D.hasPopupIcon,"&, .").concat(D.hasClearIcon,"&"),{paddingRight:30}),(0,o.Z)(n,".".concat(D.hasPopupIcon,".").concat(D.hasClearIcon,"&"),{paddingRight:56}),(0,o.Z)(n,"& .".concat(D.input),{width:0,minWidth:30}),n)),(0,o.Z)(l,"& .".concat(C.Z.root),{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}}),(0,o.Z)(l,"& .".concat(C.Z.root,".").concat(k.Z.sizeSmall),(0,o.Z)({},"& .".concat(C.Z.input),{padding:"2px 4px 3px 0"})),(0,o.Z)(l,"& .".concat(w.Z.root),(r={padding:9},(0,o.Z)(r,".".concat(D.hasPopupIcon,"&, .").concat(D.hasClearIcon,"&"),{paddingRight:39}),(0,o.Z)(r,".".concat(D.hasPopupIcon,".").concat(D.hasClearIcon,"&"),{paddingRight:65}),(0,o.Z)(r,"& .".concat(D.input),{padding:"7.5px 4px 7.5px 5px"}),(0,o.Z)(r,"& .".concat(D.endAdornment),{right:9}),r)),(0,o.Z)(l,"& .".concat(w.Z.root,".").concat(k.Z.sizeSmall),(0,o.Z)({paddingTop:6,paddingBottom:6,paddingLeft:6},"& .".concat(D.input),{padding:"2.5px 4px 2.5px 8px"})),(0,o.Z)(l,"& .".concat(L.Z.root),(i={paddingTop:19,paddingLeft:8},(0,o.Z)(i,".".concat(D.hasPopupIcon,"&, .").concat(D.hasClearIcon,"&"),{paddingRight:39}),(0,o.Z)(i,".".concat(D.hasPopupIcon,".").concat(D.hasClearIcon,"&"),{paddingRight:65}),(0,o.Z)(i,"& .".concat(L.Z.input),{padding:"7px 4px"}),(0,o.Z)(i,"& .".concat(D.endAdornment),{right:9}),i)),(0,o.Z)(l,"& .".concat(L.Z.root,".").concat(k.Z.sizeSmall),(0,o.Z)({paddingBottom:1},"& .".concat(L.Z.input),{padding:"2.5px 4px"})),(0,o.Z)(l,"& .".concat(k.Z.hiddenLabel),{paddingTop:8}),(0,o.Z)(l,"& .".concat(L.Z.root,".").concat(k.Z.hiddenLabel),(0,o.Z)({paddingTop:0,paddingBottom:0},"& .".concat(D.input),{paddingTop:16,paddingBottom:17})),(0,o.Z)(l,"& .".concat(L.Z.root,".").concat(k.Z.hiddenLabel,".").concat(k.Z.sizeSmall),(0,o.Z)({},"& .".concat(D.input),{paddingTop:8,paddingBottom:9})),(0,o.Z)(l,"& .".concat(D.input),(0,a.Z)({flexGrow:1,textOverflow:"ellipsis",opacity:0},c.inputFocused&&{opacity:1})),l))})),W=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:function(e,t){return t.endAdornment}})({position:"absolute",right:0,top:"calc(50% - 14px)"}),j=(0,d.ZP)(S.Z,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:function(e,t){return t.clearIndicator}})({marginRight:-2,padding:4,visibility:"hidden"}),V=(0,d.ZP)(S.Z,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:function(e,t){var n=e.ownerState;return(0,a.Z)({},t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen)}})((function(e){var t=e.ownerState;return(0,a.Z)({padding:2,marginRight:-2},t.popupOpen&&{transform:"rotate(180deg)"})})),B=(0,d.ZP)(p.Z,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:function(e,t){var n=e.ownerState;return[(0,o.Z)({},"& .".concat(D.option),t.option),t.popper,n.disablePortal&&t.popperDisablePortal]}})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({zIndex:(t.vars||t).zIndex.modal},n.disablePortal&&{position:"absolute"})})),q=(0,d.ZP)(I.Z,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:function(e,t){return t.paper}})((function(e){var t=e.theme;return(0,a.Z)({},t.typography.body1,{overflow:"auto"})})),G=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:function(e,t){return t.loading}})((function(e){var t=e.theme;return{color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}})),K=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:function(e,t){return t.noOptions}})((function(e){var t=e.theme;return{color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}})),U=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:function(e,t){return t.listbox}})((function(e){var t,n,r=e.theme;return(0,o.Z)({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative"},"& .".concat(D.option),(n={minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16},(0,o.Z)(n,r.breakpoints.up("sm"),{minHeight:"auto"}),(0,o.Z)(n,"&.".concat(D.focused),{backgroundColor:(r.vars||r).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}),(0,o.Z)(n,'&[aria-disabled="true"]',{opacity:(r.vars||r).palette.action.disabledOpacity,pointerEvents:"none"}),(0,o.Z)(n,"&.".concat(D.focusVisible),{backgroundColor:(r.vars||r).palette.action.focus}),(0,o.Z)(n,'&[aria-selected="true"]',(t={backgroundColor:r.vars?"rgba(".concat(r.vars.palette.primary.mainChannel," / ").concat(r.vars.palette.action.selectedOpacity,")"):(0,s.Fq)(r.palette.primary.main,r.palette.action.selectedOpacity)},(0,o.Z)(t,"&.".concat(D.focused),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette.primary.mainChannel," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.hoverOpacity,"))"):(0,s.Fq)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(r.vars||r).palette.action.selected}}),(0,o.Z)(t,"&.".concat(D.focusVisible),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette.primary.mainChannel," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.focusOpacity,"))"):(0,s.Fq)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.focusOpacity)}),t)),n))})),_=(0,d.ZP)(O,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:function(e,t){return t.groupLabel}})((function(e){var t=e.theme;return{backgroundColor:(t.vars||t).palette.background.paper,top:-8}})),J=(0,d.ZP)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:function(e,t){return t.groupUl}})((0,o.Z)({padding:0},"& .".concat(D.option),{paddingLeft:24})),Q=i.forwardRef((function(e,t){var n,o,s,d,g,h=(0,f.Z)({props:e,name:"MuiAutocomplete"}),m=(h.autoComplete,h.autoHighlight,h.autoSelect,h.blurOnSelect,h.ChipProps),Z=h.className,x=h.clearIcon,y=void 0===x?N||(N=(0,b.jsx)(A.Z,{fontSize:"small"})):x,O=h.clearOnBlur,S=(void 0===O&&h.freeSolo,h.clearOnEscape,h.clearText),C=void 0===S?"Clear":S,k=h.closeText,w=void 0===k?"Close":k,L=h.componentsProps,D=void 0===L?{}:L,Q=h.defaultValue,X=(void 0===Q&&h.multiple,h.disableClearable),Y=void 0!==X&&X,$=(h.disableCloseOnSelect,h.disabled),ee=void 0!==$&&$,te=(h.disabledItemsFocusable,h.disableListWrap,h.disablePortal),ne=void 0!==te&&te,oe=(h.filterSelectedOptions,h.forcePopupIcon),re=void 0===oe?"auto":oe,ae=h.freeSolo,ie=void 0!==ae&&ae,le=h.fullWidth,ce=void 0!==le&&le,ue=h.getLimitTagsText,se=void 0===ue?function(e){return"+".concat(e)}:ue,pe=h.getOptionLabel,de=h.groupBy,fe=h.handleHomeEndKeys,ve=(void 0===fe&&h.freeSolo,h.includeInputInList,h.limitTags),ge=void 0===ve?-1:ve,he=h.ListboxComponent,me=void 0===he?"ul":he,be=h.ListboxProps,Ze=h.loading,xe=void 0!==Ze&&Ze,ye=h.loadingText,Oe=void 0===ye?"Loading\u2026":ye,Ie=h.multiple,Se=void 0!==Ie&&Ie,Pe=h.noOptionsText,Ce=void 0===Pe?"No options":Pe,ke=(h.openOnFocus,h.openText),we=void 0===ke?"Open":ke,Le=h.PaperComponent,Ae=void 0===Le?I.Z:Le,Te=h.PopperComponent,Re=void 0===Te?p.Z:Te,Ne=h.popupIcon,Me=void 0===Ne?M||(M=(0,b.jsx)(T.Z,{})):Ne,De=h.readOnly,ze=void 0!==De&&De,Ee=h.renderGroup,Fe=h.renderInput,He=h.renderOption,We=h.renderTags,je=h.selectOnFocus,Ve=(void 0===je&&h.freeSolo,h.size),Be=void 0===Ve?"medium":Ve,qe=h.slotProps,Ge=void 0===qe?{}:qe,Ke=(0,r.Z)(h,E),Ue=(0,u.o)((0,a.Z)({},h,{componentName:"Autocomplete"})),_e=Ue.getRootProps,Je=Ue.getInputProps,Qe=Ue.getInputLabelProps,Xe=Ue.getPopupIndicatorProps,Ye=Ue.getClearProps,$e=Ue.getTagProps,et=Ue.getListboxProps,tt=Ue.getOptionProps,nt=Ue.value,ot=Ue.dirty,rt=Ue.expanded,at=Ue.id,it=Ue.popupOpen,lt=Ue.focused,ct=Ue.focusedTag,ut=Ue.anchorEl,st=Ue.setAnchorEl,pt=Ue.inputValue,dt=Ue.groupedOptions,ft=!Y&&!ee&&ot&&!ze,vt=(!ie||!0===re)&&!1!==re,gt=Je().onMouseDown,ht=(null!=be?be:{}).ref,mt=et(),bt=mt.ref,Zt=(0,r.Z)(mt,F),xt=(0,z.Z)(bt,ht),yt=pe||function(e){var t;return null!=(t=e.label)?t:e},Ot=(0,a.Z)({},h,{disablePortal:ne,expanded:rt,focused:lt,fullWidth:ce,getOptionLabel:yt,hasClearIcon:ft,hasPopupIcon:vt,inputFocused:-1===ct,popupOpen:it,size:Be}),It=function(e){var t=e.classes,n=e.disablePortal,o=e.expanded,r=e.focused,a=e.fullWidth,i=e.hasClearIcon,l=e.hasPopupIcon,u=e.inputFocused,s=e.popupOpen,p=e.size,d={root:["root",o&&"expanded",r&&"focused",a&&"fullWidth",i&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",u&&"inputFocused"],tag:["tag","tagSize".concat((0,v.Z)(p))],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",s&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,c.Z)(d,R,t)}(Ot);if(Se&&nt.length>0){var St=function(e){return(0,a.Z)({className:It.tag,disabled:ee},$e(e))};g=We?We(nt,St,Ot):nt.map((function(e,t){return(0,b.jsx)(P.Z,(0,a.Z)({label:yt(e),size:Be},St({index:t}),m))}))}if(ge>-1&&Array.isArray(g)){var Pt=g.length-ge;!lt&&Pt>0&&(g=g.splice(0,ge)).push((0,b.jsx)("span",{className:It.tag,children:se(Pt)},g.length))}var Ct=Ee||function(e){return(0,b.jsxs)("li",{children:[(0,b.jsx)(_,{className:It.groupLabel,ownerState:Ot,component:"div",children:e.group}),(0,b.jsx)(J,{className:It.groupUl,ownerState:Ot,children:e.children})]},e.key)},kt=He||function(e,t){return(0,b.jsx)("li",(0,a.Z)({},e,{children:yt(t)}))},wt=function(e,t){var n=tt({option:e,index:t});return kt((0,a.Z)({},n,{className:It.option}),e,{selected:n["aria-selected"],index:t,inputValue:pt},Ot)},Lt=null!=(n=Ge.clearIndicator)?n:D.clearIndicator,At=null!=(o=Ge.paper)?o:D.paper,Tt=null!=(s=Ge.popper)?s:D.popper,Rt=null!=(d=Ge.popupIndicator)?d:D.popupIndicator;return(0,b.jsxs)(i.Fragment,{children:[(0,b.jsx)(H,(0,a.Z)({ref:t,className:(0,l.Z)(It.root,Z),ownerState:Ot},_e(Ke),{children:Fe({id:at,disabled:ee,fullWidth:!0,size:"small"===Be?"small":void 0,InputLabelProps:Qe(),InputProps:(0,a.Z)({ref:st,className:It.inputRoot,startAdornment:g,onClick:function(e){e.target===e.currentTarget&>(e)}},(ft||vt)&&{endAdornment:(0,b.jsxs)(W,{className:It.endAdornment,ownerState:Ot,children:[ft?(0,b.jsx)(j,(0,a.Z)({},Ye(),{"aria-label":C,title:C,ownerState:Ot},Lt,{className:(0,l.Z)(It.clearIndicator,null==Lt?void 0:Lt.className),children:y})):null,vt?(0,b.jsx)(V,(0,a.Z)({},Xe(),{disabled:ee,"aria-label":it?w:we,title:it?w:we,ownerState:Ot},Rt,{className:(0,l.Z)(It.popupIndicator,null==Rt?void 0:Rt.className),children:Me})):null]})}),inputProps:(0,a.Z)({className:It.input,disabled:ee,readOnly:ze},Je())})})),ut?(0,b.jsx)(B,(0,a.Z)({as:Re,disablePortal:ne,style:{width:ut?ut.clientWidth:null},ownerState:Ot,role:"presentation",anchorEl:ut,open:it},Tt,{className:(0,l.Z)(It.popper,null==Tt?void 0:Tt.className),children:(0,b.jsxs)(q,(0,a.Z)({ownerState:Ot,as:Ae},At,{className:(0,l.Z)(It.paper,null==At?void 0:At.className),children:[xe&&0===dt.length?(0,b.jsx)(G,{className:It.loading,ownerState:Ot,children:Oe}):null,0!==dt.length||ie||xe?null:(0,b.jsx)(K,{className:It.noOptions,ownerState:Ot,role:"presentation",onMouseDown:function(e){e.preventDefault()},children:Ce}),dt.length>0?(0,b.jsx)(U,(0,a.Z)({as:me,className:It.listbox,ownerState:Ot},Zt,be,{ref:xt,children:dt.map((function(e,t){return de?Ct({key:e.key,group:e.group,children:e.options.map((function(t,n){return wt(t,e.index+n)}))}):wt(e,t)}))})):null]}))})):null]})}))},3182:function(e,t,n){n.d(t,{D:function(){return d},o:function(){return m}});var o=n(96234),r=n(7896),a=n(5057),i=n(32852),l=n(62663),c=n(77590),u=n(2534),s=n(98038);function p(e){return"undefined"!==typeof e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ignoreAccents,n=void 0===t||t,o=e.ignoreCase,r=void 0===o||o,a=e.limit,i=e.matchFrom,l=void 0===i?"any":i,c=e.stringify,u=e.trim,s=void 0!==u&&u;return function(e,t){var o=t.inputValue,i=t.getOptionLabel,u=s?o.trim():o;r&&(u=u.toLowerCase()),n&&(u=p(u));var d=u?e.filter((function(e){var t=(c||i)(e);return r&&(t=t.toLowerCase()),n&&(t=p(t)),"start"===l?0===t.indexOf(u):t.indexOf(u)>-1})):e;return"number"===typeof a?d.slice(0,a):d}}function f(e,t){for(var n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}var v=d(),g=5,h=function(e){var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};function m(e){var t,n=e.unstable_isActiveElementInListbox,p=void 0===n?h:n,d=e.unstable_classNamePrefix,m=void 0===d?"Mui":d,b=e.autoComplete,Z=void 0!==b&&b,x=e.autoHighlight,y=void 0!==x&&x,O=e.autoSelect,I=void 0!==O&&O,S=e.blurOnSelect,P=void 0!==S&&S,C=e.clearOnBlur,k=void 0===C?!e.freeSolo:C,w=e.clearOnEscape,L=void 0!==w&&w,A=e.componentName,T=void 0===A?"useAutocomplete":A,R=e.defaultValue,N=void 0===R?e.multiple?[]:null:R,M=e.disableClearable,D=void 0!==M&&M,z=e.disableCloseOnSelect,E=void 0!==z&&z,F=e.disabled,H=e.disabledItemsFocusable,W=void 0!==H&&H,j=e.disableListWrap,V=void 0!==j&&j,B=e.filterOptions,q=void 0===B?v:B,G=e.filterSelectedOptions,K=void 0!==G&&G,U=e.freeSolo,_=void 0!==U&&U,J=e.getOptionDisabled,Q=e.getOptionLabel,X=void 0===Q?function(e){var t;return null!=(t=e.label)?t:e}:Q,Y=e.groupBy,$=e.handleHomeEndKeys,ee=void 0===$?!e.freeSolo:$,te=e.id,ne=e.includeInputInList,oe=void 0!==ne&&ne,re=e.inputValue,ae=e.isOptionEqualToValue,ie=void 0===ae?function(e,t){return e===t}:ae,le=e.multiple,ce=void 0!==le&&le,ue=e.onChange,se=e.onClose,pe=e.onHighlightChange,de=e.onInputChange,fe=e.onOpen,ve=e.open,ge=e.openOnFocus,he=void 0!==ge&&ge,me=e.options,be=e.readOnly,Ze=void 0!==be&&be,xe=e.selectOnFocus,ye=void 0===xe?!e.freeSolo:xe,Oe=e.value,Ie=(0,i.Z)(te);t=function(e){var t=X(e);return"string"!==typeof t?String(t):t};var Se=a.useRef(!1),Pe=a.useRef(!0),Ce=a.useRef(null),ke=a.useRef(null),we=a.useState(null),Le=(0,o.Z)(we,2),Ae=Le[0],Te=Le[1],Re=a.useState(-1),Ne=(0,o.Z)(Re,2),Me=Ne[0],De=Ne[1],ze=y?0:-1,Ee=a.useRef(ze),Fe=(0,l.Z)({controlled:Oe,default:N,name:T}),He=(0,o.Z)(Fe,2),We=He[0],je=He[1],Ve=(0,l.Z)({controlled:re,default:"",name:T,state:"inputValue"}),Be=(0,o.Z)(Ve,2),qe=Be[0],Ge=Be[1],Ke=a.useState(!1),Ue=(0,o.Z)(Ke,2),_e=Ue[0],Je=Ue[1],Qe=a.useCallback((function(e,n){if((ce?We.length<n.length:null!==n)||k){var o;if(ce)o="";else if(null==n)o="";else{var r=t(n);o="string"===typeof r?r:""}qe!==o&&(Ge(o),de&&de(e,o,"reset"))}}),[t,qe,ce,de,Ge,k,We]),Xe=(0,l.Z)({controlled:ve,default:!1,name:T,state:"open"}),Ye=(0,o.Z)(Xe,2),$e=Ye[0],et=Ye[1],tt=a.useState(!0),nt=(0,o.Z)(tt,2),ot=nt[0],rt=nt[1],at=!ce&&null!=We&&qe===t(We),it=$e&&!Ze,lt=it?q(me.filter((function(e){return!K||!(ce?We:[We]).some((function(t){return null!==t&&ie(e,t)}))})),{inputValue:at&&ot?"":qe,getOptionLabel:t}):[],ct=(0,c.Z)({filteredOptions:lt,value:We,inputValue:qe});a.useEffect((function(){var e=We!==ct.value;_e&&!e||_&&!e||Qe(null,We)}),[We,Qe,_e,ct.value,_]);var ut=$e&<.length>0&&!Ze,st=(0,u.Z)((function(e){-1===e?Ce.current.focus():Ae.querySelector('[data-tag-index="'.concat(e,'"]')).focus()}));a.useEffect((function(){ce&&Me>We.length-1&&(De(-1),st(-1))}),[We,ce,Me,st]);var pt=(0,u.Z)((function(e){var t=e.event,n=e.index,o=e.reason,r=void 0===o?"auto":o;if(Ee.current=n,-1===n?Ce.current.removeAttribute("aria-activedescendant"):Ce.current.setAttribute("aria-activedescendant","".concat(Ie,"-option-").concat(n)),pe&&pe(t,-1===n?null:lt[n],r),ke.current){var a=ke.current.querySelector('[role="option"].'.concat(m,"-focused"));a&&(a.classList.remove("".concat(m,"-focused")),a.classList.remove("".concat(m,"-focusVisible")));var i=ke.current;if("listbox"!==ke.current.getAttribute("role")&&(i=ke.current.parentElement.querySelector('[role="listbox"]')),i)if(-1!==n){var l=ke.current.querySelector('[data-option-index="'.concat(n,'"]'));if(l&&(l.classList.add("".concat(m,"-focused")),"keyboard"===r&&l.classList.add("".concat(m,"-focusVisible")),i.scrollHeight>i.clientHeight&&"mouse"!==r&&"touch"!==r)){var c=l,u=i.clientHeight+i.scrollTop,s=c.offsetTop+c.offsetHeight;s>u?i.scrollTop=s-i.clientHeight:c.offsetTop-c.offsetHeight*(Y?1.3:0)<i.scrollTop&&(i.scrollTop=c.offsetTop-c.offsetHeight*(Y?1.3:0))}}else i.scrollTop=0}})),dt=(0,u.Z)((function(e){var n=e.event,o=e.diff,r=e.direction,a=void 0===r?"next":r,i=e.reason,l=void 0===i?"auto":i;if(it){var c=function(e,t){if(!ke.current||-1===e)return-1;for(var n=e;;){if("next"===t&&n===lt.length||"previous"===t&&-1===n)return-1;var o=ke.current.querySelector('[data-option-index="'.concat(n,'"]')),r=!W&&(!o||o.disabled||"true"===o.getAttribute("aria-disabled"));if(!(o&&!o.hasAttribute("tabindex")||r))return n;n+="next"===t?1:-1}}(function(){var e=lt.length-1;if("reset"===o)return ze;if("start"===o)return 0;if("end"===o)return e;var t=Ee.current+o;return t<0?-1===t&&oe?-1:V&&-1!==Ee.current||Math.abs(o)>1?0:e:t>e?t===e+1&&oe?-1:V||Math.abs(o)>1?e:0:t}(),a);if(pt({index:c,reason:l,event:n}),Z&&"reset"!==o)if(-1===c)Ce.current.value=qe;else{var u=t(lt[c]);Ce.current.value=u,0===u.toLowerCase().indexOf(qe.toLowerCase())&&qe.length>0&&Ce.current.setSelectionRange(qe.length,u.length)}}})),ft=a.useCallback((function(){if(it&&!function(){var e,n;if(-1!==Ee.current&&ct.filteredOptions&&ct.filteredOptions.length!==lt.length&&ct.inputValue===qe&&(ce?We.length===ct.value.length&&ct.value.every((function(e,n){return t(We[n])===t(e)})):(e=ct.value,n=We,(e?t(e):"")===(n?t(n):"")))){var o=ct.filteredOptions[Ee.current];if(o&<.some((function(e){return t(e)===t(o)})))return!0}return!1}()){var e=ce?We[0]:We;if(0!==lt.length&&null!=e){if(ke.current)if(null==e)Ee.current>=lt.length-1?pt({index:lt.length-1}):pt({index:Ee.current});else{var n=lt[Ee.current];if(ce&&n&&-1!==f(We,(function(e){return ie(n,e)})))return;var o=f(lt,(function(t){return ie(t,e)}));-1===o?dt({diff:"reset"}):pt({index:o})}}else dt({diff:"reset"})}}),[lt.length,!ce&&We,K,dt,pt,it,qe,ce]),vt=(0,u.Z)((function(e){(0,s.Z)(ke,e),e&&ft()}));a.useEffect((function(){ft()}),[ft]);var gt=function(e){$e||(et(!0),rt(!0),fe&&fe(e))},ht=function(e,t){$e&&(et(!1),se&&se(e,t))},mt=function(e,t,n,o){if(ce){if(We.length===t.length&&We.every((function(e,n){return e===t[n]})))return}else if(We===t)return;ue&&ue(e,t,n,o),je(t)},bt=a.useRef(!1),Zt=function(e,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"options",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"selectOption",r=t;if(ce){var a=f(r=Array.isArray(We)?We.slice():[],(function(e){return ie(t,e)}));-1===a?r.push(t):"freeSolo"!==n&&(r.splice(a,1),o="removeOption")}Qe(e,r),mt(e,r,o,{option:t}),E||e&&(e.ctrlKey||e.metaKey)||ht(e,o),(!0===P||"touch"===P&&bt.current||"mouse"===P&&!bt.current)&&Ce.current.blur()};var xt=function(e,t){if(ce){""===qe&&ht(e,"toggleInput");var n=Me;-1===Me?""===qe&&"previous"===t&&(n=We.length-1):((n+="next"===t?1:-1)<0&&(n=0),n===We.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;for(var n=e;;){if("next"===t&&n===We.length||"previous"===t&&-1===n)return-1;var o=Ae.querySelector('[data-tag-index="'.concat(n,'"]'));if(o&&o.hasAttribute("tabindex")&&!o.disabled&&"true"!==o.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),De(n),st(n)}},yt=function(e){Se.current=!0,Ge(""),de&&de(e,"","clear"),mt(e,ce?[]:null,"clear")},Ot=function(e){return function(t){if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==Me&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(De(-1),st(-1)),229!==t.which))switch(t.key){case"Home":it&&ee&&(t.preventDefault(),dt({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":it&&ee&&(t.preventDefault(),dt({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),dt({diff:-g,direction:"previous",reason:"keyboard",event:t}),gt(t);break;case"PageDown":t.preventDefault(),dt({diff:g,direction:"next",reason:"keyboard",event:t}),gt(t);break;case"ArrowDown":t.preventDefault(),dt({diff:1,direction:"next",reason:"keyboard",event:t}),gt(t);break;case"ArrowUp":t.preventDefault(),dt({diff:-1,direction:"previous",reason:"keyboard",event:t}),gt(t);break;case"ArrowLeft":xt(t,"previous");break;case"ArrowRight":xt(t,"next");break;case"Enter":if(-1!==Ee.current&&it){var n=lt[Ee.current],o=!!J&&J(n);if(t.preventDefault(),o)return;Zt(t,n,"selectOption"),Z&&Ce.current.setSelectionRange(Ce.current.value.length,Ce.current.value.length)}else _&&""!==qe&&!1===at&&(ce&&t.preventDefault(),Zt(t,qe,"createOption","freeSolo"));break;case"Escape":it?(t.preventDefault(),t.stopPropagation(),ht(t,"escape")):L&&(""!==qe||ce&&We.length>0)&&(t.preventDefault(),t.stopPropagation(),yt(t));break;case"Backspace":if(ce&&!Ze&&""===qe&&We.length>0){var r=-1===Me?We.length-1:Me,a=We.slice();a.splice(r,1),mt(t,a,"removeOption",{option:We[r]})}break;case"Delete":if(ce&&!Ze&&""===qe&&We.length>0&&-1!==Me){var i=Me,l=We.slice();l.splice(i,1),mt(t,l,"removeOption",{option:We[i]})}}}},It=function(e){Je(!0),he&&!Se.current&>(e)},St=function(e){p(ke)?Ce.current.focus():(Je(!1),Pe.current=!0,Se.current=!1,I&&-1!==Ee.current&&it?Zt(e,lt[Ee.current],"blur"):I&&_&&""!==qe?Zt(e,qe,"blur","freeSolo"):k&&Qe(e,We),ht(e,"blur"))},Pt=function(e){var t=e.target.value;qe!==t&&(Ge(t),rt(!1),de&&de(e,t,"input")),""===t?D||ce||mt(e,null,"clear"):gt(e)},Ct=function(e){var t=Number(e.currentTarget.getAttribute("data-option-index"));Ee.current!==t&&pt({event:e,index:t,reason:"mouse"})},kt=function(e){pt({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),bt.current=!0},wt=function(e){var t=Number(e.currentTarget.getAttribute("data-option-index"));Zt(e,lt[t],"selectOption"),bt.current=!1},Lt=function(e){return function(t){var n=We.slice();n.splice(e,1),mt(t,n,"removeOption",{option:We[e]})}},At=function(e){$e?ht(e,"toggleInput"):gt(e)},Tt=function(e){e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==Ie&&e.preventDefault()},Rt=function(e){e.currentTarget.contains(e.target)&&(Ce.current.focus(),ye&&Pe.current&&Ce.current.selectionEnd-Ce.current.selectionStart===0&&Ce.current.select(),Pe.current=!1)},Nt=function(e){F||""!==qe&&$e||At(e)},Mt=_&&qe.length>0;Mt=Mt||(ce?We.length>0:null!==We);var Dt=lt;if(Y){new Map;Dt=lt.reduce((function(e,t,n){var o=Y(t);return e.length>0&&e[e.length-1].group===o?e[e.length-1].options.push(t):e.push({key:n,index:n,group:o,options:[t]}),e}),[])}return F&&_e&&St(),{getRootProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.Z)({"aria-owns":ut?"".concat(Ie,"-listbox"):null},e,{onKeyDown:Ot(e),onMouseDown:Tt,onClick:Rt})},getInputLabelProps:function(){return{id:"".concat(Ie,"-label"),htmlFor:Ie}},getInputProps:function(){return{id:Ie,value:qe,onBlur:St,onFocus:It,onChange:Pt,onMouseDown:Nt,"aria-activedescendant":it?"":null,"aria-autocomplete":Z?"both":"list","aria-controls":ut?"".concat(Ie,"-listbox"):void 0,"aria-expanded":ut,autoComplete:"off",ref:Ce,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:F}},getClearProps:function(){return{tabIndex:-1,onClick:yt}},getPopupIndicatorProps:function(){return{tabIndex:-1,onClick:At}},getTagProps:function(e){var t=e.index;return(0,r.Z)({key:t,"data-tag-index":t,tabIndex:-1},!Ze&&{onDelete:Lt(t)})},getListboxProps:function(){return{role:"listbox",id:"".concat(Ie,"-listbox"),"aria-labelledby":"".concat(Ie,"-label"),ref:vt,onMouseDown:function(e){e.preventDefault()}}},getOptionProps:function(e){var n=e.index,o=e.option,r=(ce?We:[We]).some((function(e){return null!=e&&ie(o,e)})),a=!!J&&J(o);return{key:t(o),tabIndex:-1,role:"option",id:"".concat(Ie,"-option-").concat(n),onMouseMove:Ct,onClick:wt,onTouchStart:kt,"data-option-index":n,"aria-disabled":a,"aria-selected":r}},id:Ie,inputValue:qe,value:We,dirty:Mt,expanded:it&&Ae,popupOpen:it,focused:_e||-1!==Me,anchorEl:Ae,setAnchorEl:Te,focusedTag:Me,groupedOptions:Dt}}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_abtnode_webapp=self.webpackChunk_abtnode_webapp||[]).push([[5953],{75953:function(e,t,n){n.d(t,{Z:function(){return Q}});var o=n(56666),r=n(31461),a=n(7896),i=n(5057),l=n(9978),c=n(91213),u=n(3182),p=n(66685),s=n(24202),d=n(62773),f=n(42908),v=n(6285),g=n(31821),h=n(18561);function m(e){return(0,h.Z)("MuiListSubheader",e)}(0,g.Z)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var b=n(96266),Z=["className","color","component","disableGutters","disableSticky","inset"],x=(0,d.ZP)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat((0,v.Z)(n.color))],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},"primary"===n.color&&{color:(t.vars||t).palette.primary.main},"inherit"===n.color&&{color:"inherit"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.inset&&{paddingLeft:72},!n.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper})})),y=i.forwardRef((function(e,t){var n=(0,f.Z)({props:e,name:"MuiListSubheader"}),o=n.className,i=n.color,u=void 0===i?"default":i,p=n.component,s=void 0===p?"li":p,d=n.disableGutters,g=void 0!==d&&d,h=n.disableSticky,y=void 0!==h&&h,O=n.inset,I=void 0!==O&&O,S=(0,r.Z)(n,Z),P=(0,a.Z)({},n,{color:u,component:s,disableGutters:g,disableSticky:y,inset:I}),C=function(e){var t=e.classes,n=e.color,o=e.disableGutters,r=e.inset,a=e.disableSticky,i={root:["root","default"!==n&&"color".concat((0,v.Z)(n)),!o&&"gutters",r&&"inset",!a&&"sticky"]};return(0,c.Z)(i,m,t)}(P);return(0,b.jsx)(x,(0,a.Z)({as:s,className:(0,l.Z)(C.root,o),ref:t,ownerState:P},S))}));y.muiSkipListHighlight=!0;var O=y,I=n(25228),S=n(67680),P=n(19654),C=n(46234),k=n(9243),w=n(82226),L=n(75623),A=n(74235),T=n(60473);function R(e){return(0,h.Z)("MuiAutocomplete",e)}var N,M,D=(0,g.Z)("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]),z=n(2286),E=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],F=["ref"],H=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.fullWidth,a=n.hasClearIcon,i=n.hasPopupIcon,l=n.inputFocused,c=n.size;return[(0,o.Z)({},"& .".concat(D.tag),t.tag),(0,o.Z)({},"& .".concat(D.tag),t["tagSize".concat((0,v.Z)(c))]),(0,o.Z)({},"& .".concat(D.inputRoot),t.inputRoot),(0,o.Z)({},"& .".concat(D.input),t.input),(0,o.Z)({},"& .".concat(D.input),l&&t.inputFocused),t.root,r&&t.fullWidth,i&&t.hasPopupIcon,a&&t.hasClearIcon]}})((function(e){var t,n,r,i,l,c=e.ownerState;return(0,a.Z)((t={},(0,o.Z)(t,"&.".concat(D.focused," .").concat(D.clearIndicator),{visibility:"visible"}),(0,o.Z)(t,"@media (pointer: fine)",(0,o.Z)({},"&:hover .".concat(D.clearIndicator),{visibility:"visible"})),t),c.fullWidth&&{width:"100%"},(l={},(0,o.Z)(l,"& .".concat(D.tag),(0,a.Z)({margin:3,maxWidth:"calc(100% - 6px)"},"small"===c.size&&{margin:2,maxWidth:"calc(100% - 4px)"})),(0,o.Z)(l,"& .".concat(D.inputRoot),(n={flexWrap:"wrap"},(0,o.Z)(n,".".concat(D.hasPopupIcon,"&, .").concat(D.hasClearIcon,"&"),{paddingRight:30}),(0,o.Z)(n,".".concat(D.hasPopupIcon,".").concat(D.hasClearIcon,"&"),{paddingRight:56}),(0,o.Z)(n,"& .".concat(D.input),{width:0,minWidth:30}),n)),(0,o.Z)(l,"& .".concat(C.Z.root),{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}}),(0,o.Z)(l,"& .".concat(C.Z.root,".").concat(k.Z.sizeSmall),(0,o.Z)({},"& .".concat(C.Z.input),{padding:"2px 4px 3px 0"})),(0,o.Z)(l,"& .".concat(w.Z.root),(r={padding:9},(0,o.Z)(r,".".concat(D.hasPopupIcon,"&, .").concat(D.hasClearIcon,"&"),{paddingRight:39}),(0,o.Z)(r,".".concat(D.hasPopupIcon,".").concat(D.hasClearIcon,"&"),{paddingRight:65}),(0,o.Z)(r,"& .".concat(D.input),{padding:"7.5px 4px 7.5px 5px"}),(0,o.Z)(r,"& .".concat(D.endAdornment),{right:9}),r)),(0,o.Z)(l,"& .".concat(w.Z.root,".").concat(k.Z.sizeSmall),(0,o.Z)({paddingTop:6,paddingBottom:6,paddingLeft:6},"& .".concat(D.input),{padding:"2.5px 4px 2.5px 8px"})),(0,o.Z)(l,"& .".concat(L.Z.root),(i={paddingTop:19,paddingLeft:8},(0,o.Z)(i,".".concat(D.hasPopupIcon,"&, .").concat(D.hasClearIcon,"&"),{paddingRight:39}),(0,o.Z)(i,".".concat(D.hasPopupIcon,".").concat(D.hasClearIcon,"&"),{paddingRight:65}),(0,o.Z)(i,"& .".concat(L.Z.input),{padding:"7px 4px"}),(0,o.Z)(i,"& .".concat(D.endAdornment),{right:9}),i)),(0,o.Z)(l,"& .".concat(L.Z.root,".").concat(k.Z.sizeSmall),(0,o.Z)({paddingBottom:1},"& .".concat(L.Z.input),{padding:"2.5px 4px"})),(0,o.Z)(l,"& .".concat(k.Z.hiddenLabel),{paddingTop:8}),(0,o.Z)(l,"& .".concat(L.Z.root,".").concat(k.Z.hiddenLabel),(0,o.Z)({paddingTop:0,paddingBottom:0},"& .".concat(D.input),{paddingTop:16,paddingBottom:17})),(0,o.Z)(l,"& .".concat(L.Z.root,".").concat(k.Z.hiddenLabel,".").concat(k.Z.sizeSmall),(0,o.Z)({},"& .".concat(D.input),{paddingTop:8,paddingBottom:9})),(0,o.Z)(l,"& .".concat(D.input),(0,a.Z)({flexGrow:1,textOverflow:"ellipsis",opacity:0},c.inputFocused&&{opacity:1})),l))})),W=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:function(e,t){return t.endAdornment}})({position:"absolute",right:0,top:"calc(50% - 14px)"}),j=(0,d.ZP)(S.Z,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:function(e,t){return t.clearIndicator}})({marginRight:-2,padding:4,visibility:"hidden"}),V=(0,d.ZP)(S.Z,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:function(e,t){var n=e.ownerState;return(0,a.Z)({},t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen)}})((function(e){var t=e.ownerState;return(0,a.Z)({padding:2,marginRight:-2},t.popupOpen&&{transform:"rotate(180deg)"})})),B=(0,d.ZP)(s.Z,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:function(e,t){var n=e.ownerState;return[(0,o.Z)({},"& .".concat(D.option),t.option),t.popper,n.disablePortal&&t.popperDisablePortal]}})((function(e){var t=e.theme,n=e.ownerState;return(0,a.Z)({zIndex:(t.vars||t).zIndex.modal},n.disablePortal&&{position:"absolute"})})),q=(0,d.ZP)(I.Z,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:function(e,t){return t.paper}})((function(e){var t=e.theme;return(0,a.Z)({},t.typography.body1,{overflow:"auto"})})),G=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:function(e,t){return t.loading}})((function(e){var t=e.theme;return{color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}})),K=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:function(e,t){return t.noOptions}})((function(e){var t=e.theme;return{color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}})),U=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:function(e,t){return t.listbox}})((function(e){var t,n,r=e.theme;return(0,o.Z)({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative"},"& .".concat(D.option),(n={minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16},(0,o.Z)(n,r.breakpoints.up("sm"),{minHeight:"auto"}),(0,o.Z)(n,"&.".concat(D.focused),{backgroundColor:(r.vars||r).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}),(0,o.Z)(n,'&[aria-disabled="true"]',{opacity:(r.vars||r).palette.action.disabledOpacity,pointerEvents:"none"}),(0,o.Z)(n,"&.".concat(D.focusVisible),{backgroundColor:(r.vars||r).palette.action.focus}),(0,o.Z)(n,'&[aria-selected="true"]',(t={backgroundColor:r.vars?"rgba(".concat(r.vars.palette.primary.mainChannel," / ").concat(r.vars.palette.action.selectedOpacity,")"):(0,p.Fq)(r.palette.primary.main,r.palette.action.selectedOpacity)},(0,o.Z)(t,"&.".concat(D.focused),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette.primary.mainChannel," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.hoverOpacity,"))"):(0,p.Fq)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(r.vars||r).palette.action.selected}}),(0,o.Z)(t,"&.".concat(D.focusVisible),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette.primary.mainChannel," / calc(").concat(r.vars.palette.action.selectedOpacity," + ").concat(r.vars.palette.action.focusOpacity,"))"):(0,p.Fq)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.focusOpacity)}),t)),n))})),_=(0,d.ZP)(O,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:function(e,t){return t.groupLabel}})((function(e){var t=e.theme;return{backgroundColor:(t.vars||t).palette.background.paper,top:-8}})),J=(0,d.ZP)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:function(e,t){return t.groupUl}})((0,o.Z)({padding:0},"& .".concat(D.option),{paddingLeft:24})),Q=i.forwardRef((function(e,t){var n,o,p,d,g,h=(0,f.Z)({props:e,name:"MuiAutocomplete"}),m=(h.autoComplete,h.autoHighlight,h.autoSelect,h.blurOnSelect,h.ChipProps),Z=h.className,x=h.clearIcon,y=void 0===x?N||(N=(0,b.jsx)(A.Z,{fontSize:"small"})):x,O=h.clearOnBlur,S=(void 0===O&&h.freeSolo,h.clearOnEscape,h.clearText),C=void 0===S?"Clear":S,k=h.closeText,w=void 0===k?"Close":k,L=h.componentsProps,D=void 0===L?{}:L,Q=h.defaultValue,X=(void 0===Q&&h.multiple,h.disableClearable),Y=void 0!==X&&X,$=(h.disableCloseOnSelect,h.disabled),ee=void 0!==$&&$,te=(h.disabledItemsFocusable,h.disableListWrap,h.disablePortal),ne=void 0!==te&&te,oe=(h.filterSelectedOptions,h.forcePopupIcon),re=void 0===oe?"auto":oe,ae=h.freeSolo,ie=void 0!==ae&&ae,le=h.fullWidth,ce=void 0!==le&&le,ue=h.getLimitTagsText,pe=void 0===ue?function(e){return"+".concat(e)}:ue,se=h.getOptionLabel,de=h.groupBy,fe=h.handleHomeEndKeys,ve=(void 0===fe&&h.freeSolo,h.includeInputInList,h.limitTags),ge=void 0===ve?-1:ve,he=h.ListboxComponent,me=void 0===he?"ul":he,be=h.ListboxProps,Ze=h.loading,xe=void 0!==Ze&&Ze,ye=h.loadingText,Oe=void 0===ye?"Loading\u2026":ye,Ie=h.multiple,Se=void 0!==Ie&&Ie,Pe=h.noOptionsText,Ce=void 0===Pe?"No options":Pe,ke=(h.openOnFocus,h.openText),we=void 0===ke?"Open":ke,Le=h.PaperComponent,Ae=void 0===Le?I.Z:Le,Te=h.PopperComponent,Re=void 0===Te?s.Z:Te,Ne=h.popupIcon,Me=void 0===Ne?M||(M=(0,b.jsx)(T.Z,{})):Ne,De=h.readOnly,ze=void 0!==De&&De,Ee=h.renderGroup,Fe=h.renderInput,He=h.renderOption,We=h.renderTags,je=h.selectOnFocus,Ve=(void 0===je&&h.freeSolo,h.size),Be=void 0===Ve?"medium":Ve,qe=h.slotProps,Ge=void 0===qe?{}:qe,Ke=(0,r.Z)(h,E),Ue=(0,u.o)((0,a.Z)({},h,{componentName:"Autocomplete"})),_e=Ue.getRootProps,Je=Ue.getInputProps,Qe=Ue.getInputLabelProps,Xe=Ue.getPopupIndicatorProps,Ye=Ue.getClearProps,$e=Ue.getTagProps,et=Ue.getListboxProps,tt=Ue.getOptionProps,nt=Ue.value,ot=Ue.dirty,rt=Ue.expanded,at=Ue.id,it=Ue.popupOpen,lt=Ue.focused,ct=Ue.focusedTag,ut=Ue.anchorEl,pt=Ue.setAnchorEl,st=Ue.inputValue,dt=Ue.groupedOptions,ft=!Y&&!ee&&ot&&!ze,vt=(!ie||!0===re)&&!1!==re,gt=Je().onMouseDown,ht=(null!=be?be:{}).ref,mt=et(),bt=mt.ref,Zt=(0,r.Z)(mt,F),xt=(0,z.Z)(bt,ht),yt=se||function(e){var t;return null!=(t=e.label)?t:e},Ot=(0,a.Z)({},h,{disablePortal:ne,expanded:rt,focused:lt,fullWidth:ce,getOptionLabel:yt,hasClearIcon:ft,hasPopupIcon:vt,inputFocused:-1===ct,popupOpen:it,size:Be}),It=function(e){var t=e.classes,n=e.disablePortal,o=e.expanded,r=e.focused,a=e.fullWidth,i=e.hasClearIcon,l=e.hasPopupIcon,u=e.inputFocused,p=e.popupOpen,s=e.size,d={root:["root",o&&"expanded",r&&"focused",a&&"fullWidth",i&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",u&&"inputFocused"],tag:["tag","tagSize".concat((0,v.Z)(s))],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",p&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,c.Z)(d,R,t)}(Ot);if(Se&&nt.length>0){var St=function(e){return(0,a.Z)({className:It.tag,disabled:ee},$e(e))};g=We?We(nt,St,Ot):nt.map((function(e,t){return(0,b.jsx)(P.Z,(0,a.Z)({label:yt(e),size:Be},St({index:t}),m))}))}if(ge>-1&&Array.isArray(g)){var Pt=g.length-ge;!lt&&Pt>0&&(g=g.splice(0,ge)).push((0,b.jsx)("span",{className:It.tag,children:pe(Pt)},g.length))}var Ct=Ee||function(e){return(0,b.jsxs)("li",{children:[(0,b.jsx)(_,{className:It.groupLabel,ownerState:Ot,component:"div",children:e.group}),(0,b.jsx)(J,{className:It.groupUl,ownerState:Ot,children:e.children})]},e.key)},kt=He||function(e,t){return(0,b.jsx)("li",(0,a.Z)({},e,{children:yt(t)}))},wt=function(e,t){var n=tt({option:e,index:t});return kt((0,a.Z)({},n,{className:It.option}),e,{selected:n["aria-selected"],index:t,inputValue:st},Ot)},Lt=null!=(n=Ge.clearIndicator)?n:D.clearIndicator,At=null!=(o=Ge.paper)?o:D.paper,Tt=null!=(p=Ge.popper)?p:D.popper,Rt=null!=(d=Ge.popupIndicator)?d:D.popupIndicator;return(0,b.jsxs)(i.Fragment,{children:[(0,b.jsx)(H,(0,a.Z)({ref:t,className:(0,l.Z)(It.root,Z),ownerState:Ot},_e(Ke),{children:Fe({id:at,disabled:ee,fullWidth:!0,size:"small"===Be?"small":void 0,InputLabelProps:Qe(),InputProps:(0,a.Z)({ref:pt,className:It.inputRoot,startAdornment:g,onClick:function(e){e.target===e.currentTarget&>(e)}},(ft||vt)&&{endAdornment:(0,b.jsxs)(W,{className:It.endAdornment,ownerState:Ot,children:[ft?(0,b.jsx)(j,(0,a.Z)({},Ye(),{"aria-label":C,title:C,ownerState:Ot},Lt,{className:(0,l.Z)(It.clearIndicator,null==Lt?void 0:Lt.className),children:y})):null,vt?(0,b.jsx)(V,(0,a.Z)({},Xe(),{disabled:ee,"aria-label":it?w:we,title:it?w:we,ownerState:Ot},Rt,{className:(0,l.Z)(It.popupIndicator,null==Rt?void 0:Rt.className),children:Me})):null]})}),inputProps:(0,a.Z)({className:It.input,disabled:ee,readOnly:ze},Je())})})),ut?(0,b.jsx)(B,(0,a.Z)({as:Re,disablePortal:ne,style:{width:ut?ut.clientWidth:null},ownerState:Ot,role:"presentation",anchorEl:ut,open:it},Tt,{className:(0,l.Z)(It.popper,null==Tt?void 0:Tt.className),children:(0,b.jsxs)(q,(0,a.Z)({ownerState:Ot,as:Ae},At,{className:(0,l.Z)(It.paper,null==At?void 0:At.className),children:[xe&&0===dt.length?(0,b.jsx)(G,{className:It.loading,ownerState:Ot,children:Oe}):null,0!==dt.length||ie||xe?null:(0,b.jsx)(K,{className:It.noOptions,ownerState:Ot,role:"presentation",onMouseDown:function(e){e.preventDefault()},children:Ce}),dt.length>0?(0,b.jsx)(U,(0,a.Z)({as:me,className:It.listbox,ownerState:Ot},Zt,be,{ref:xt,children:dt.map((function(e,t){return de?Ct({key:e.key,group:e.group,children:e.options.map((function(t,n){return wt(t,e.index+n)}))}):wt(e,t)}))})):null]}))})):null]})}))},3182:function(e,t,n){n.d(t,{D:function(){return d},o:function(){return m}});var o=n(96234),r=n(7896),a=n(5057),i=n(32852),l=n(62663),c=n(77590),u=n(2534),p=n(98038);function s(e){return"undefined"!==typeof e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ignoreAccents,n=void 0===t||t,o=e.ignoreCase,r=void 0===o||o,a=e.limit,i=e.matchFrom,l=void 0===i?"any":i,c=e.stringify,u=e.trim,p=void 0!==u&&u;return function(e,t){var o=t.inputValue,i=t.getOptionLabel,u=p?o.trim():o;r&&(u=u.toLowerCase()),n&&(u=s(u));var d=u?e.filter((function(e){var t=(c||i)(e);return r&&(t=t.toLowerCase()),n&&(t=s(t)),"start"===l?0===t.indexOf(u):t.indexOf(u)>-1})):e;return"number"===typeof a?d.slice(0,a):d}}function f(e,t){for(var n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}var v=d(),g=5,h=function(e){var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};function m(e){var t,n=e.unstable_isActiveElementInListbox,s=void 0===n?h:n,d=e.unstable_classNamePrefix,m=void 0===d?"Mui":d,b=e.autoComplete,Z=void 0!==b&&b,x=e.autoHighlight,y=void 0!==x&&x,O=e.autoSelect,I=void 0!==O&&O,S=e.blurOnSelect,P=void 0!==S&&S,C=e.clearOnBlur,k=void 0===C?!e.freeSolo:C,w=e.clearOnEscape,L=void 0!==w&&w,A=e.componentName,T=void 0===A?"useAutocomplete":A,R=e.defaultValue,N=void 0===R?e.multiple?[]:null:R,M=e.disableClearable,D=void 0!==M&&M,z=e.disableCloseOnSelect,E=void 0!==z&&z,F=e.disabled,H=e.disabledItemsFocusable,W=void 0!==H&&H,j=e.disableListWrap,V=void 0!==j&&j,B=e.filterOptions,q=void 0===B?v:B,G=e.filterSelectedOptions,K=void 0!==G&&G,U=e.freeSolo,_=void 0!==U&&U,J=e.getOptionDisabled,Q=e.getOptionLabel,X=void 0===Q?function(e){var t;return null!=(t=e.label)?t:e}:Q,Y=e.groupBy,$=e.handleHomeEndKeys,ee=void 0===$?!e.freeSolo:$,te=e.id,ne=e.includeInputInList,oe=void 0!==ne&&ne,re=e.inputValue,ae=e.isOptionEqualToValue,ie=void 0===ae?function(e,t){return e===t}:ae,le=e.multiple,ce=void 0!==le&&le,ue=e.onChange,pe=e.onClose,se=e.onHighlightChange,de=e.onInputChange,fe=e.onOpen,ve=e.open,ge=e.openOnFocus,he=void 0!==ge&&ge,me=e.options,be=e.readOnly,Ze=void 0!==be&&be,xe=e.selectOnFocus,ye=void 0===xe?!e.freeSolo:xe,Oe=e.value,Ie=(0,i.Z)(te);t=function(e){var t=X(e);return"string"!==typeof t?String(t):t};var Se=a.useRef(!1),Pe=a.useRef(!0),Ce=a.useRef(null),ke=a.useRef(null),we=a.useState(null),Le=(0,o.Z)(we,2),Ae=Le[0],Te=Le[1],Re=a.useState(-1),Ne=(0,o.Z)(Re,2),Me=Ne[0],De=Ne[1],ze=y?0:-1,Ee=a.useRef(ze),Fe=(0,l.Z)({controlled:Oe,default:N,name:T}),He=(0,o.Z)(Fe,2),We=He[0],je=He[1],Ve=(0,l.Z)({controlled:re,default:"",name:T,state:"inputValue"}),Be=(0,o.Z)(Ve,2),qe=Be[0],Ge=Be[1],Ke=a.useState(!1),Ue=(0,o.Z)(Ke,2),_e=Ue[0],Je=Ue[1],Qe=a.useCallback((function(e,n){if((ce?We.length<n.length:null!==n)||k){var o;if(ce)o="";else if(null==n)o="";else{var r=t(n);o="string"===typeof r?r:""}qe!==o&&(Ge(o),de&&de(e,o,"reset"))}}),[t,qe,ce,de,Ge,k,We]),Xe=(0,l.Z)({controlled:ve,default:!1,name:T,state:"open"}),Ye=(0,o.Z)(Xe,2),$e=Ye[0],et=Ye[1],tt=a.useState(!0),nt=(0,o.Z)(tt,2),ot=nt[0],rt=nt[1],at=!ce&&null!=We&&qe===t(We),it=$e&&!Ze,lt=it?q(me.filter((function(e){return!K||!(ce?We:[We]).some((function(t){return null!==t&&ie(e,t)}))})),{inputValue:at&&ot?"":qe,getOptionLabel:t}):[],ct=(0,c.Z)({filteredOptions:lt,value:We,inputValue:qe});a.useEffect((function(){var e=We!==ct.value;_e&&!e||_&&!e||Qe(null,We)}),[We,Qe,_e,ct.value,_]);var ut=$e&<.length>0&&!Ze,pt=(0,u.Z)((function(e){-1===e?Ce.current.focus():Ae.querySelector('[data-tag-index="'.concat(e,'"]')).focus()}));a.useEffect((function(){ce&&Me>We.length-1&&(De(-1),pt(-1))}),[We,ce,Me,pt]);var st=(0,u.Z)((function(e){var t=e.event,n=e.index,o=e.reason,r=void 0===o?"auto":o;if(Ee.current=n,-1===n?Ce.current.removeAttribute("aria-activedescendant"):Ce.current.setAttribute("aria-activedescendant","".concat(Ie,"-option-").concat(n)),se&&se(t,-1===n?null:lt[n],r),ke.current){var a=ke.current.querySelector('[role="option"].'.concat(m,"-focused"));a&&(a.classList.remove("".concat(m,"-focused")),a.classList.remove("".concat(m,"-focusVisible")));var i=ke.current;if("listbox"!==ke.current.getAttribute("role")&&(i=ke.current.parentElement.querySelector('[role="listbox"]')),i)if(-1!==n){var l=ke.current.querySelector('[data-option-index="'.concat(n,'"]'));if(l&&(l.classList.add("".concat(m,"-focused")),"keyboard"===r&&l.classList.add("".concat(m,"-focusVisible")),i.scrollHeight>i.clientHeight&&"mouse"!==r&&"touch"!==r)){var c=l,u=i.clientHeight+i.scrollTop,p=c.offsetTop+c.offsetHeight;p>u?i.scrollTop=p-i.clientHeight:c.offsetTop-c.offsetHeight*(Y?1.3:0)<i.scrollTop&&(i.scrollTop=c.offsetTop-c.offsetHeight*(Y?1.3:0))}}else i.scrollTop=0}})),dt=(0,u.Z)((function(e){var n=e.event,o=e.diff,r=e.direction,a=void 0===r?"next":r,i=e.reason,l=void 0===i?"auto":i;if(it){var c=function(e,t){if(!ke.current||-1===e)return-1;for(var n=e;;){if("next"===t&&n===lt.length||"previous"===t&&-1===n)return-1;var o=ke.current.querySelector('[data-option-index="'.concat(n,'"]')),r=!W&&(!o||o.disabled||"true"===o.getAttribute("aria-disabled"));if(!(o&&!o.hasAttribute("tabindex")||r))return n;n+="next"===t?1:-1}}(function(){var e=lt.length-1;if("reset"===o)return ze;if("start"===o)return 0;if("end"===o)return e;var t=Ee.current+o;return t<0?-1===t&&oe?-1:V&&-1!==Ee.current||Math.abs(o)>1?0:e:t>e?t===e+1&&oe?-1:V||Math.abs(o)>1?e:0:t}(),a);if(st({index:c,reason:l,event:n}),Z&&"reset"!==o)if(-1===c)Ce.current.value=qe;else{var u=t(lt[c]);Ce.current.value=u,0===u.toLowerCase().indexOf(qe.toLowerCase())&&qe.length>0&&Ce.current.setSelectionRange(qe.length,u.length)}}})),ft=a.useCallback((function(){if(it&&!function(){var e,n;if(-1!==Ee.current&&ct.filteredOptions&&ct.filteredOptions.length!==lt.length&&ct.inputValue===qe&&(ce?We.length===ct.value.length&&ct.value.every((function(e,n){return t(We[n])===t(e)})):(e=ct.value,n=We,(e?t(e):"")===(n?t(n):"")))){var o=ct.filteredOptions[Ee.current];if(o&<.some((function(e){return t(e)===t(o)})))return!0}return!1}()){var e=ce?We[0]:We;if(0!==lt.length&&null!=e){if(ke.current)if(null==e)Ee.current>=lt.length-1?st({index:lt.length-1}):st({index:Ee.current});else{var n=lt[Ee.current];if(ce&&n&&-1!==f(We,(function(e){return ie(n,e)})))return;var o=f(lt,(function(t){return ie(t,e)}));-1===o?dt({diff:"reset"}):st({index:o})}}else dt({diff:"reset"})}}),[lt.length,!ce&&We,K,dt,st,it,qe,ce]),vt=(0,u.Z)((function(e){(0,p.Z)(ke,e),e&&ft()}));a.useEffect((function(){ft()}),[ft]);var gt=function(e){$e||(et(!0),rt(!0),fe&&fe(e))},ht=function(e,t){$e&&(et(!1),pe&&pe(e,t))},mt=function(e,t,n,o){if(ce){if(We.length===t.length&&We.every((function(e,n){return e===t[n]})))return}else if(We===t)return;ue&&ue(e,t,n,o),je(t)},bt=a.useRef(!1),Zt=function(e,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"options",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"selectOption",r=t;if(ce){var a=f(r=Array.isArray(We)?We.slice():[],(function(e){return ie(t,e)}));-1===a?r.push(t):"freeSolo"!==n&&(r.splice(a,1),o="removeOption")}Qe(e,r),mt(e,r,o,{option:t}),E||e&&(e.ctrlKey||e.metaKey)||ht(e,o),(!0===P||"touch"===P&&bt.current||"mouse"===P&&!bt.current)&&Ce.current.blur()};var xt=function(e,t){if(ce){""===qe&&ht(e,"toggleInput");var n=Me;-1===Me?""===qe&&"previous"===t&&(n=We.length-1):((n+="next"===t?1:-1)<0&&(n=0),n===We.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;for(var n=e;;){if("next"===t&&n===We.length||"previous"===t&&-1===n)return-1;var o=Ae.querySelector('[data-tag-index="'.concat(n,'"]'));if(o&&o.hasAttribute("tabindex")&&!o.disabled&&"true"!==o.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),De(n),pt(n)}},yt=function(e){Se.current=!0,Ge(""),de&&de(e,"","clear"),mt(e,ce?[]:null,"clear")},Ot=function(e){return function(t){if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==Me&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(De(-1),pt(-1)),229!==t.which))switch(t.key){case"Home":it&&ee&&(t.preventDefault(),dt({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":it&&ee&&(t.preventDefault(),dt({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),dt({diff:-g,direction:"previous",reason:"keyboard",event:t}),gt(t);break;case"PageDown":t.preventDefault(),dt({diff:g,direction:"next",reason:"keyboard",event:t}),gt(t);break;case"ArrowDown":t.preventDefault(),dt({diff:1,direction:"next",reason:"keyboard",event:t}),gt(t);break;case"ArrowUp":t.preventDefault(),dt({diff:-1,direction:"previous",reason:"keyboard",event:t}),gt(t);break;case"ArrowLeft":xt(t,"previous");break;case"ArrowRight":xt(t,"next");break;case"Enter":if(-1!==Ee.current&&it){var n=lt[Ee.current],o=!!J&&J(n);if(t.preventDefault(),o)return;Zt(t,n,"selectOption"),Z&&Ce.current.setSelectionRange(Ce.current.value.length,Ce.current.value.length)}else _&&""!==qe&&!1===at&&(ce&&t.preventDefault(),Zt(t,qe,"createOption","freeSolo"));break;case"Escape":it?(t.preventDefault(),t.stopPropagation(),ht(t,"escape")):L&&(""!==qe||ce&&We.length>0)&&(t.preventDefault(),t.stopPropagation(),yt(t));break;case"Backspace":if(ce&&!Ze&&""===qe&&We.length>0){var r=-1===Me?We.length-1:Me,a=We.slice();a.splice(r,1),mt(t,a,"removeOption",{option:We[r]})}break;case"Delete":if(ce&&!Ze&&""===qe&&We.length>0&&-1!==Me){var i=Me,l=We.slice();l.splice(i,1),mt(t,l,"removeOption",{option:We[i]})}}}},It=function(e){Je(!0),he&&!Se.current&>(e)},St=function(e){s(ke)?Ce.current.focus():(Je(!1),Pe.current=!0,Se.current=!1,I&&-1!==Ee.current&&it?Zt(e,lt[Ee.current],"blur"):I&&_&&""!==qe?Zt(e,qe,"blur","freeSolo"):k&&Qe(e,We),ht(e,"blur"))},Pt=function(e){var t=e.target.value;qe!==t&&(Ge(t),rt(!1),de&&de(e,t,"input")),""===t?D||ce||mt(e,null,"clear"):gt(e)},Ct=function(e){var t=Number(e.currentTarget.getAttribute("data-option-index"));Ee.current!==t&&st({event:e,index:t,reason:"mouse"})},kt=function(e){st({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),bt.current=!0},wt=function(e){var t=Number(e.currentTarget.getAttribute("data-option-index"));Zt(e,lt[t],"selectOption"),bt.current=!1},Lt=function(e){return function(t){var n=We.slice();n.splice(e,1),mt(t,n,"removeOption",{option:We[e]})}},At=function(e){$e?ht(e,"toggleInput"):gt(e)},Tt=function(e){e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==Ie&&e.preventDefault()},Rt=function(e){e.currentTarget.contains(e.target)&&(Ce.current.focus(),ye&&Pe.current&&Ce.current.selectionEnd-Ce.current.selectionStart===0&&Ce.current.select(),Pe.current=!1)},Nt=function(e){F||""!==qe&&$e||At(e)},Mt=_&&qe.length>0;Mt=Mt||(ce?We.length>0:null!==We);var Dt=lt;if(Y){new Map;Dt=lt.reduce((function(e,t,n){var o=Y(t);return e.length>0&&e[e.length-1].group===o?e[e.length-1].options.push(t):e.push({key:n,index:n,group:o,options:[t]}),e}),[])}return F&&_e&&St(),{getRootProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.Z)({"aria-owns":ut?"".concat(Ie,"-listbox"):null},e,{onKeyDown:Ot(e),onMouseDown:Tt,onClick:Rt})},getInputLabelProps:function(){return{id:"".concat(Ie,"-label"),htmlFor:Ie}},getInputProps:function(){return{id:Ie,value:qe,onBlur:St,onFocus:It,onChange:Pt,onMouseDown:Nt,"aria-activedescendant":it?"":null,"aria-autocomplete":Z?"both":"list","aria-controls":ut?"".concat(Ie,"-listbox"):void 0,"aria-expanded":ut,autoComplete:"off",ref:Ce,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:F}},getClearProps:function(){return{tabIndex:-1,type:"button",onClick:yt}},getPopupIndicatorProps:function(){return{tabIndex:-1,type:"button",onClick:At}},getTagProps:function(e){var t=e.index;return(0,r.Z)({key:t,"data-tag-index":t,tabIndex:-1},!Ze&&{onDelete:Lt(t)})},getListboxProps:function(){return{role:"listbox",id:"".concat(Ie,"-listbox"),"aria-labelledby":"".concat(Ie,"-label"),ref:vt,onMouseDown:function(e){e.preventDefault()}}},getOptionProps:function(e){var n=e.index,o=e.option,r=(ce?We:[We]).some((function(e){return null!=e&&ie(o,e)})),a=!!J&&J(o);return{key:t(o),tabIndex:-1,role:"option",id:"".concat(Ie,"-option-").concat(n),onMouseMove:Ct,onClick:wt,onTouchStart:kt,"data-option-index":n,"aria-disabled":a,"aria-selected":r}},id:Ie,inputValue:qe,value:We,dirty:Mt,expanded:it&&Ae,popupOpen:it,focused:_e||-1!==Me,anchorEl:Ae,setAnchorEl:Te,focusedTag:Me,groupedOptions:Dt}}}}]);
|