@abtnode/blocklet-services 1.16.40-beta-20250305-010959-40fb1920 → 1.16.40-beta-20250305-115031-9569f29a
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/api/index.js +5 -4
- package/dist/assets/{Add-Cip-Q3Dt.js → Add-hDPhgcb8.js} +1 -1
- package/dist/assets/{ArrowDropDown-_ravVKaf.js → ArrowDropDown-S78kvSgg.js} +1 -1
- package/dist/assets/{CheckCircle-CFF65I7d.js → CheckCircle-KfKBnFRW.js} +1 -1
- package/dist/assets/{ChevronLeft-DyVK0SyV.js → ChevronLeft-CbtVFRMC.js} +1 -1
- package/dist/assets/{ChevronRight-CMCOlQoz.js → ChevronRight-WXIi0AqM.js} +1 -1
- package/dist/assets/{DeleteOutline-f6Nb7LK2.js → DeleteOutline-CDgHO4-2.js} +1 -1
- package/dist/assets/{Done-DcyOV4wB.js → Done-Ck5ymNM-.js} +1 -1
- package/dist/assets/{Download-BcZsjfbS.js → Download-BCt5_Xtj.js} +1 -1
- package/dist/assets/{Error-tDg6ei77.js → Error-DunMaBzN.js} +1 -1
- package/dist/assets/{ExpandLess-RenWdANb.js → ExpandLess-JQZdwBbU.js} +1 -1
- package/dist/assets/{Google-1jzD6KC8.js → Google-Bdmd8THj.js} +1 -1
- package/dist/assets/{InfoOutlined-B6WkOk1K.js → InfoOutlined-C4DBI2hZ.js} +1 -1
- package/dist/assets/{Launch-COjc0xnX.js → Launch-C-Inbjf1.js} +1 -1
- package/dist/assets/{LaunchOutlined-DnsoPOkc.js → LaunchOutlined-CMeuETnG.js} +1 -1
- package/dist/assets/{MoreHoriz-CdM4YEUS.js → MoreHoriz-SXaWAchr.js} +1 -1
- package/dist/assets/{PlayArrow-BtE24rss.js → PlayArrow-Drngi6DM.js} +1 -1
- package/dist/assets/{ViewList-BZ5ZAyNP.js → ViewList-CIudz6A1.js} +1 -1
- package/dist/assets/{access-control-CpGhPXTc.js → access-control-f3_Azppj.js} +1 -1
- package/dist/assets/{actions-B1PhmGqt.js → actions-BLxaYaFH.js} +1 -1
- package/dist/assets/{add-component-core-S6d--p5U.js → add-component-core-B7Gu6G9O.js} +1 -1
- package/dist/assets/{add-resource-D_6iTYzR.js → add-resource-Dod13n0P.js} +1 -1
- package/dist/assets/{addon-DQmVM60-.js → addon-D0oJMRF-.js} +1 -1
- package/dist/assets/{analytics-pgeQ2lfm.js → analytics-CgyKfOXs.js} +1 -1
- package/dist/assets/{audit-logs-BOSpHneW.js → audit-logs-D3uqnYW7.js} +1 -1
- package/dist/assets/{base32-BaFZoAVl.js → base32-BkXUMliK.js} +1 -1
- package/dist/assets/{branding-D2p8ih1v.js → branding-DNZx02j9.js} +2 -2
- package/dist/assets/{bundle-avatar-CVTHuIP8.js → bundle-avatar-CPxLfXrI.js} +1 -1
- package/dist/assets/{button-CtIW722z.js → button-B6x_cuep.js} +1 -1
- package/dist/assets/{click-to-copy-_PxhgXLr.js → click-to-copy-CGY-KfC1.js} +1 -1
- package/dist/assets/{complete-BFSGt4K4.js → complete-D578HSm9.js} +1 -1
- package/dist/assets/{component-603eG_Ew.js → component-DCe18oJu.js} +1 -1
- package/dist/assets/{config-Ds5GJ36d.js → config-AUN0KmC2.js} +1 -1
- package/dist/assets/{config-BvNIdp_5.js → config-BUwSAf4L.js} +1 -1
- package/dist/assets/{config-navigation-BUtxa8Ou.js → config-navigation-CaYhfgdu.js} +3 -3
- package/dist/assets/{config-space-B3O25LpN.js → config-space-CYs5vTpU.js} +1 -1
- package/dist/assets/{confirm-D_ecdoQ0.js → confirm-DysGsWlb.js} +1 -1
- package/dist/assets/{connect-DaOoGzaQ.js → connect-CGmwjDQl.js} +1 -1
- package/dist/assets/{connect-B7wGIOWV.js → connect-CswAw6jx.js} +1 -1
- package/dist/assets/{connect-to-LerzglbN.js → connect-to-BQCKg6lB.js} +1 -1
- package/dist/assets/{dashboard-BZdOWUNs.js → dashboard-BYP0lFc1.js} +3 -3
- package/dist/assets/{delete-confirm-CR0L8zBT.js → delete-confirm-CxJ_xq3P.js} +1 -1
- package/dist/assets/{did-address-nBrtfdFs.js → did-address-Bf8qM4uR.js} +1 -1
- package/dist/assets/{domain-CYdBsWKV.js → domain-DziiMtvO.js} +1 -1
- package/dist/assets/{domain-action-card-D5dunZOK.js → domain-action-card-BhI9_vPO.js} +1 -1
- package/dist/assets/domains-DQHyaAeW.js +1 -0
- package/dist/assets/{email-BNOvPY_j.js → email-KAJlxYPo.js} +1 -1
- package/dist/assets/{exchange-passport-CclpcVIv.js → exchange-passport-C3AhVaU1.js} +1 -1
- package/dist/assets/{form-text-input-Bq00oAAj.js → form-text-input-DGrWoQps.js} +1 -1
- package/dist/assets/{fuel-v5AwsfnY.js → fuel-DerZDNtI.js} +1 -1
- package/dist/assets/{fullpage-BcQv9PGo.js → fullpage-DasvZmzb.js} +1 -1
- package/dist/assets/{get-safe-url-COD6BqDE.js → get-safe-url-Cjj-SJ8P.js} +1 -1
- package/dist/assets/{get-safe-url-DnoVfY5w.js → get-safe-url-D4LuJrKT.js} +1 -1
- package/dist/assets/{home-D5ywxuTl.js → home-JWShj3xG.js} +1 -1
- package/dist/assets/{iframe-BW5fhB2Q.js → iframe-CaPZffPT.js} +1 -1
- package/dist/assets/index--xsUDxoE.js +138 -0
- package/dist/assets/{index-B38f1ha-.js → index-3unD3ckH.js} +1 -1
- package/dist/assets/{index-3ExNATkH.js → index-BLXh-rLN.js} +1 -1
- package/dist/assets/{index-D6A_8uFd.js → index-BVEhbxkj.js} +1 -1
- package/dist/assets/{index-CegE1eSc.js → index-BhSRK58N.js} +3 -3
- package/dist/assets/{index-DPFaqs63.js → index-Brx6-WRV.js} +1 -1
- package/dist/assets/{index-86588CYU.js → index-CQoDmhBj.js} +1 -1
- package/dist/assets/{index-W0vm1kUj.js → index-CikqCCcV.js} +4 -4
- package/dist/assets/{index-C8RdCD0h.js → index-CxSfbL8C.js} +1 -1
- package/dist/assets/{index-CrU_I4b0.js → index-D-_kJXEQ.js} +1 -1
- package/dist/assets/index-DBdIGGHk.js +5 -0
- package/dist/assets/{index-DCIt8i_c.js → index-DoNZBHNi.js} +3 -3
- package/dist/assets/{index-CNtFrfyH.js → index-Doq3Vtou.js} +1 -1
- package/dist/assets/{index-CT8lkhFB.js → index-KQ6M4B59.js} +1 -1
- package/dist/assets/{index-Dy27yrqk.js → index-dmAbWYEg.js} +1 -1
- package/dist/assets/{index-DpfMI2ro.js → index-javzz5zL.js} +1 -1
- package/dist/assets/{invitation-BtVGAz0R.js → invitation-C7DIKmu_.js} +1 -1
- package/dist/assets/{invite-S9BXR_t-.js → invite-BL1KzmsJ.js} +1 -1
- package/dist/assets/{issue-passport-DCSsJu5Z.js → issue-passport-00ieW7dP.js} +1 -1
- package/dist/assets/{item-D8UaCM_L.js → item-CZ7lE3uJ.js} +1 -1
- package/dist/assets/{layout-B4Roag3m.js → layout-C5Uy45Tb.js} +1 -1
- package/dist/assets/{list-CNds3TtZ.js → list-DS7ThX70.js} +1 -1
- package/dist/assets/{list-header-ZN_SAqiN.js → list-header-CIWer9RC.js} +1 -1
- package/dist/assets/localization-BqlHRVPq.js +1 -0
- package/dist/assets/{log-CepBQRTm.js → log-5sot6gUJ.js} +1 -1
- package/dist/assets/{login-BonwAWqJ.js → login-CGLjmpPa.js} +1 -1
- package/dist/assets/{login-oauth-callback-C0RSY-FN.js → login-oauth-callback-2BZORM7d.js} +1 -1
- package/dist/assets/{logo-uploader-BzeW71Xt.js → logo-uploader-BUbZey33.js} +3 -3
- package/dist/assets/{lost-passport-C0fUCj2g.js → lost-passport-CsnG9qDe.js} +1 -1
- package/dist/assets/{open-window-DFyxvWDW.js → open-window-OGNFGaoa.js} +1 -1
- package/dist/assets/overview-DMYIOaJ3.js +12 -0
- package/dist/assets/{page-header-Bqi4eBBo.js → page-header-BxFwzzsQ.js} +1 -1
- package/dist/assets/{permission-DfwAG69G.js → permission-CFzf76RO.js} +1 -1
- package/dist/assets/{preferences-CgrDODoo.js → preferences-BcS_Bi9F.js} +1 -1
- package/dist/assets/{publish-resource-D65TC4Ul.js → publish-resource-PsYRscNX.js} +1 -1
- package/dist/assets/{react-beautiful-dnd.esm-Drgsy606.js → react-beautiful-dnd.esm-iBp-yx3f.js} +1 -1
- package/dist/assets/{relative-time-DRojSOPl.js → relative-time-DKp6opcA.js} +1 -1
- package/dist/assets/sdk-cfSPGhz-.js +1 -0
- package/dist/assets/{session-BqpWYLN3.js → session-OA-ygaPp.js} +1 -1
- package/dist/assets/{setup-gUECRHwm.js → setup-58gBrv4L.js} +3 -3
- package/dist/assets/{start-CzuCtTit.js → start-A6ay_10_.js} +1 -1
- package/dist/assets/{status-DMC0j3SC.js → status-Ds_eN-NY.js} +1 -1
- package/dist/assets/{step-actions-CtZI7O-D.js → step-actions-DTx1d1Sw.js} +1 -1
- package/dist/assets/{studio-CMXW7rb0.js → studio-DfQNKV55.js} +1 -1
- package/dist/assets/{switch-control-DdM1x1I2.js → switch-control-BBeZvEAE.js} +1 -1
- package/dist/assets/{traffic-BMJATudS.js → traffic-Gc0h4-UU.js} +1 -1
- package/dist/assets/{transfer-Cjx9-UOe.js → transfer-DQE_fCzw.js} +1 -1
- package/dist/assets/{unsubscribe-BpHN3o0o.js → unsubscribe-CdrwBtFq.js} +1 -1
- package/dist/assets/{useAsync-HJBQVHgn.js → useAsync-DG6gLBRZ.js} +1 -1
- package/dist/assets/{useAsyncRetry-ru9OmM2c.js → useAsyncRetry-DGf8Nzkx.js} +1 -1
- package/dist/assets/{useLocalStorage-Cd_KRSFh.js → useLocalStorage-D_fQAujG.js} +1 -1
- package/dist/assets/{user-center-B942bZ7y.js → user-center-BDUUKdSj.js} +1 -1
- package/dist/assets/{util-CAO_sJvS.js → util-Ca9j-VTa.js} +1 -1
- package/dist/assets/{util-b7UGzXHn.js → util-x3peBGqE.js} +1 -1
- package/dist/assets/{vendor-arcblock-Bv04Mkff.js → vendor-arcblock-o7bY298v.js} +103 -101
- package/dist/assets/{vendor-hooks-DlxYXMPL.js → vendor-hooks-Bxo1qD_4.js} +1 -1
- package/dist/assets/{wrap-locale-DGhoaUE9.js → wrap-locale-DOh7YZzw.js} +1 -1
- package/dist/index.html +3 -3
- package/dist/service-worker.js +1 -1
- package/package.json +40 -40
- package/dist/assets/domains-BB6ArPT-.js +0 -1
- package/dist/assets/index-C58v-2Fi.js +0 -5
- package/dist/assets/index-C6gyB6f8.js +0 -138
- package/dist/assets/localization-CP5Fgk5j.js +0 -1
- package/dist/assets/overview-CDLHFxhp.js +0 -12
- package/dist/assets/sdk-BAIH7jDs.js +0 -1
|
@@ -4,4 +4,4 @@ import{g as be,r as v,a as Et}from"./vendor-react-DoD83n6N.js";import{d as Le,t
|
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
|
|
6
6
|
* Released under the MIT license
|
|
7
|
-
*/(function(e,t){(function(r){var n;if(e.exports=r(),n=!0,!n){var i=window.Cookies,a=window.Cookies=r();a.noConflict=function(){return window.Cookies=i,a}}})(function(){function r(){for(var a=0,o={};a<arguments.length;a++){var u=arguments[a];for(var f in u)o[f]=u[f]}return o}function n(a){return a.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function i(a){function o(){}function u(c,l,s){if(!(typeof document>"u")){s=r({path:"/"},o.defaults,s),typeof s.expires=="number"&&(s.expires=new Date(new Date*1+s.expires*864e5)),s.expires=s.expires?s.expires.toUTCString():"";try{var p=JSON.stringify(l);/^[\{\[]/.test(p)&&(l=p)}catch{}l=a.write?a.write(l,c):encodeURIComponent(String(l)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),c=encodeURIComponent(String(c)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var d="";for(var h in s)s[h]&&(d+="; "+h,s[h]!==!0&&(d+="="+s[h].split(";")[0]));return document.cookie=c+"="+l+d}}function f(c,l){if(!(typeof document>"u")){for(var s={},p=document.cookie?document.cookie.split("; "):[],d=0;d<p.length;d++){var h=p[d].split("="),m=h.slice(1).join("=");!l&&m.charAt(0)==='"'&&(m=m.slice(1,-1));try{var y=n(h[0]);if(m=(a.read||a)(m,y)||n(m),l)try{m=JSON.parse(m)}catch{}if(s[y]=m,c===y)break}catch{}}return c?s[c]:s}}return o.set=u,o.get=function(c){return f(c,!1)},o.getJSON=function(c){return f(c,!0)},o.remove=function(c,l){u(c,"",r(l,{expires:-1}))},o.defaults={},o.withConverter=i,o}return i(function(){})})})(Fe);var xt=Fe.exports;const tn=be(xt);var jt=function(e){return function(t,r){var n=v.useRef(!1);e(function(){return function(){n.current=!1}},[]),e(function(){if(!n.current)n.current=!0;else return t()},r)}},ve=function(e,t){return ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},ve(e,t)};function He(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ve(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var E=function(){return E=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},E.apply(this,arguments)};function re(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Be(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function Ie(e,t){return function(r,n){t(r,n,e)}}function We(e,t,r,n,i,a){function o(_){if(_!==void 0&&typeof _!="function")throw new TypeError("Function expected");return _}for(var u=n.kind,f=u==="getter"?"get":u==="setter"?"set":"value",c=!t&&e?n.static?e:e.prototype:null,l=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),s,p=!1,d=r.length-1;d>=0;d--){var h={};for(var m in n)h[m]=m==="access"?{}:n[m];for(var m in n.access)h.access[m]=n.access[m];h.addInitializer=function(_){if(p)throw new TypeError("Cannot add initializers after decoration has completed");a.push(o(_||null))};var y=(0,r[d])(u==="accessor"?{get:l.get,set:l.set}:l[f],h);if(u==="accessor"){if(y===void 0)continue;if(y===null||typeof y!="object")throw new TypeError("Object expected");(s=o(y.get))&&(l.get=s),(s=o(y.set))&&(l.set=s),(s=o(y.init))&&i.unshift(s)}else(s=o(y))&&(u==="field"?i.unshift(s):l[f]=s)}c&&Object.defineProperty(c,n.name,l),p=!0}function Ne(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function $e(e){return typeof e=="symbol"?e:"".concat(e)}function Ge(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function qe(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function k(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function u(l){try{c(n.next(l))}catch(s){o(s)}}function f(l){try{c(n.throw(l))}catch(s){o(s)}}function c(l){l.done?a(l.value):i(l.value).then(u,f)}c((n=n.apply(e,t||[])).next())})}function J(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=u(0),o.throw=u(1),o.return=u(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(c){return function(l){return f([c,l])}}function f(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(l){c=[6,l],i=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var ne=Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]};function Ue(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&ne(t,e,r)}function H(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(u){o={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function Ke(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function Ve(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var a=arguments[t],o=0,u=a.length;o<u;o++,i++)n[i]=a[o];return n}function w(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function $(e){return this instanceof $?(this.v=e,this):new $(e)}function ke(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",o),i[Symbol.asyncIterator]=function(){return this},i;function o(d){return function(h){return Promise.resolve(h).then(d,s)}}function u(d,h){n[d]&&(i[d]=function(m){return new Promise(function(y,_){a.push([d,m,y,_])>1||f(d,m)})},h&&(i[d]=h(i[d])))}function f(d,h){try{c(n[d](h))}catch(m){p(a[0][3],m)}}function c(d){d.value instanceof $?Promise.resolve(d.value.v).then(l,s):p(a[0][2],d)}function l(d){f("next",d)}function s(d){f("throw",d)}function p(d,h){d(h),a.shift(),a.length&&f(a[0][0],a[0][1])}}function Je(e){var t,r;return t={},n("next"),n("throw",function(i){throw i}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(i,a){t[i]=e[i]?function(o){return(r=!r)?{value:$(e[i](o)),done:!1}:a?a(o):o}:a}}function Ye(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof H=="function"?H(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=e[a]&&function(o){return new Promise(function(u,f){o=e[a](o),i(u,f,o.done,o.value)})}}function i(a,o,u,f){Promise.resolve(f).then(function(c){a({value:c,done:u})},o)}}function Xe(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var Dt=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},he=function(e){return he=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},he(e)};function Ze(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=he(e),n=0;n<r.length;n++)r[n]!=="default"&&ne(t,e,r[n]);return Dt(t,e),t}function Qe(e){return e&&e.__esModule?e:{default:e}}function et(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function tt(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}function rt(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function nt(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(a){return Promise.reject(a)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var Lt=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function it(e){function t(a){e.error=e.hasError?new Lt(a,e.error,"An error was suppressed during disposal."):a,e.hasError=!0}var r,n=0;function i(){for(;r=e.stack.pop();)try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var a=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(a).then(i,function(o){return t(o),i()})}else n|=1}catch(o){t(o)}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()}function at(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,a,o){return n?t?".jsx":".js":i&&(!a||!o)?r:i+a+"."+o.toLowerCase()+"js"}):e}const zt={__extends:He,__assign:E,__rest:re,__decorate:Be,__param:Ie,__esDecorate:We,__runInitializers:Ne,__propKey:$e,__setFunctionName:Ge,__metadata:qe,__awaiter:k,__generator:J,__createBinding:ne,__exportStar:Ue,__values:H,__read:g,__spread:Ke,__spreadArrays:Ve,__spreadArray:w,__await:$,__asyncGenerator:ke,__asyncDelegator:Je,__asyncValues:Ye,__makeTemplateObject:Xe,__importStar:Ze,__importDefault:Qe,__classPrivateFieldGet:et,__classPrivateFieldSet:tt,__classPrivateFieldIn:rt,__addDisposableResource:nt,__disposeResources:it,__rewriteRelativeImportExtension:at},Ft=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource:nt,get __assign(){return E},__asyncDelegator:Je,__asyncGenerator:ke,__asyncValues:Ye,__await:$,__awaiter:k,__classPrivateFieldGet:et,__classPrivateFieldIn:rt,__classPrivateFieldSet:tt,__createBinding:ne,__decorate:Be,__disposeResources:it,__esDecorate:We,__exportStar:Ue,__extends:He,__generator:J,__importDefault:Qe,__importStar:Ze,__makeTemplateObject:Xe,__metadata:qe,__param:Ie,__propKey:$e,__read:g,__rest:re,__rewriteRelativeImportExtension:at,__runInitializers:Ne,__setFunctionName:Ge,__spread:Ke,__spreadArray:w,__spreadArrays:Ve,__values:H,default:zt},Symbol.toStringTag,{value:"Module"}));var B=function(e){return typeof e=="function"},Ht=function(e){return typeof e=="string"},ie=function(e){return typeof e=="number"},Bt=function(e){return typeof e>"u"};function j(e){var t=v.useRef(e);t.current=v.useMemo(function(){return e},[e]);var r=v.useRef();return r.current||(r.current=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return t.current.apply(this,n)}),r.current}const V=jt(v.useEffect);var ot=function(e,t){var r=t.manual,n=t.ready,i=n===void 0?!0:n,a=t.defaultParams,o=a===void 0?[]:a,u=t.refreshDeps,f=u===void 0?[]:u,c=t.refreshDepsAction,l=v.useRef(!1);return l.current=!1,V(function(){!r&&i&&(l.current=!0,e.run.apply(e,w([],g(o),!1)))},[i]),V(function(){l.current||r||(l.current=!0,c?c():e.refresh())},w([],g(f),!1)),{onBefore:function(){if(!i)return{stopNow:!0}}}};ot.onInit=function(e){var t=e.ready,r=t===void 0?!0:t,n=e.manual;return{loading:!n&&r}};function pe(e,t){if(e===t)return!0;for(var r=0;r<e.length;r++)if(!Object.is(e[r],t[r]))return!1;return!0}function we(e,t){var r=v.useRef({deps:t,obj:void 0,initialized:!1}).current;return(r.initialized===!1||!pe(r.deps,t))&&(r.deps=t,r.obj=e(),r.initialized=!0),r.obj}function L(e){var t=v.useRef(e);return t.current=e,t}var W=function(e){var t=L(e);v.useEffect(function(){return function(){t.current()}},[])},Z=new Map,It=function(e,t,r){var n=Z.get(e);n!=null&&n.timer&&clearTimeout(n.timer);var i=void 0;t>-1&&(i=setTimeout(function(){Z.delete(e)},t)),Z.set(e,E(E({},r),{timer:i}))},Wt=function(e){return Z.get(e)},Q=new Map,Nt=function(e){return Q.get(e)},$t=function(e,t){Q.set(e,t),t.then(function(r){return Q.delete(e),r}).catch(function(){Q.delete(e)})},F={},Gt=function(e,t){F[e]&&F[e].forEach(function(r){return r(t)})},se=function(e,t){return F[e]||(F[e]=[]),F[e].push(t),function(){var n=F[e].indexOf(t);F[e].splice(n,1)}},qt=function(e,t){var r=t.cacheKey,n=t.cacheTime,i=n===void 0?5*60*1e3:n,a=t.staleTime,o=a===void 0?0:a,u=t.setCache,f=t.getCache,c=v.useRef(),l=v.useRef(),s=function(d,h){u?u(h):It(d,i,h),Gt(d,h.data)},p=function(d,h){return h===void 0&&(h=[]),f?f(h):Wt(d)};return we(function(){if(r){var d=p(r);d&&Object.hasOwnProperty.call(d,"data")&&(e.state.data=d.data,e.state.params=d.params,(o===-1||new Date().getTime()-d.time<=o)&&(e.state.loading=!1)),c.current=se(r,function(h){e.setState({data:h})})}},[]),W(function(){var d;(d=c.current)===null||d===void 0||d.call(c)}),r?{onBefore:function(d){var h=p(r,d);return!h||!Object.hasOwnProperty.call(h,"data")?{}:o===-1||new Date().getTime()-h.time<=o?{loading:!1,data:h==null?void 0:h.data,error:void 0,returnNow:!0}:{data:h==null?void 0:h.data,error:void 0}},onRequest:function(d,h){var m=Nt(r);return m&&m!==l.current?{servicePromise:m}:(m=d.apply(void 0,w([],g(h),!1)),l.current=m,$t(r,m),{servicePromise:m})},onSuccess:function(d,h){var m;r&&((m=c.current)===null||m===void 0||m.call(c),s(r,{data:d,params:h,time:new Date().getTime()}),c.current=se(r,function(y){e.setState({data:y})}))},onMutate:function(d){var h;r&&((h=c.current)===null||h===void 0||h.call(c),s(r,{data:d,params:e.state.params,time:new Date().getTime()}),c.current=se(r,function(m){e.setState({data:m})}))}}:{}},Ut=function(e,t){var r=t.debounceWait,n=t.debounceLeading,i=t.debounceTrailing,a=t.debounceMaxWait,o=v.useRef(),u=v.useMemo(function(){var f={};return n!==void 0&&(f.leading=n),i!==void 0&&(f.trailing=i),a!==void 0&&(f.maxWait=a),f},[n,i,a]);return v.useEffect(function(){if(r){var f=e.runAsync.bind(e);return o.current=Le(function(c){c()},r,u),e.runAsync=function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];return new Promise(function(s,p){var d;(d=o.current)===null||d===void 0||d.call(o,function(){f.apply(void 0,w([],g(c),!1)).then(s).catch(p)})})},function(){var c;(c=o.current)===null||c===void 0||c.cancel(),e.runAsync=f}}},[r,u]),r?{onCancel:function(){var f;(f=o.current)===null||f===void 0||f.cancel()}}:{}},Kt=function(e,t){var r=t.loadingDelay,n=t.ready,i=v.useRef();if(!r)return{};var a=function(){i.current&&clearTimeout(i.current)};return{onBefore:function(){return a(),n!==!1&&(i.current=setTimeout(function(){e.setState({loading:!0})},r)),{loading:!1}},onFinally:function(){a()},onCancel:function(){a()}}},z=!!(typeof window<"u"&&window.document&&window.document.createElement);function _e(){return z?document.visibilityState!=="hidden":!0}var U=[];function Vt(e){return U.push(e),function(){var r=U.indexOf(e);U.splice(r,1)}}if(z){var kt=function(){if(_e())for(var e=0;e<U.length;e++){var t=U[e];t()}};window.addEventListener("visibilitychange",kt,!1)}var Jt=function(e,t){var r=t.pollingInterval,n=t.pollingWhenHidden,i=n===void 0?!0:n,a=t.pollingErrorRetryCount,o=a===void 0?-1:a,u=v.useRef(),f=v.useRef(),c=v.useRef(0),l=function(){var s;u.current&&clearTimeout(u.current),(s=f.current)===null||s===void 0||s.call(f)};return V(function(){r||l()},[r]),r?{onBefore:function(){l()},onError:function(){c.current+=1},onSuccess:function(){c.current=0},onFinally:function(){o===-1||o!==-1&&c.current<=o?u.current=setTimeout(function(){!i&&!_e()?f.current=Vt(function(){e.refresh()}):e.refresh()},r):c.current=0},onCancel:function(){l()}}:{}};function Yt(e,t){var r=!1;return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r||(r=!0,e.apply(void 0,w([],g(n),!1)),setTimeout(function(){r=!1},t))}}function Xt(){return z&&typeof navigator.onLine<"u"?navigator.onLine:!0}var K=[];function Zt(e){return K.push(e),function(){var r=K.indexOf(e);r>-1&&K.splice(r,1)}}if(z){var Ce=function(){if(!(!_e()||!Xt()))for(var e=0;e<K.length;e++){var t=K[e];t()}};window.addEventListener("visibilitychange",Ce,!1),window.addEventListener("focus",Ce,!1)}var Qt=function(e,t){var r=t.refreshOnWindowFocus,n=t.focusTimespan,i=n===void 0?5e3:n,a=v.useRef(),o=function(){var u;(u=a.current)===null||u===void 0||u.call(a)};return v.useEffect(function(){if(r){var u=Yt(e.refresh.bind(e),i);a.current=Zt(function(){u()})}return function(){o()}},[r,i]),W(function(){o()}),{}},er=function(e,t){var r=t.retryInterval,n=t.retryCount,i=v.useRef(),a=v.useRef(0),o=v.useRef(!1);return n?{onBefore:function(){o.current||(a.current=0),o.current=!1,i.current&&clearTimeout(i.current)},onSuccess:function(){a.current=0},onError:function(){if(a.current+=1,n===-1||a.current<=n){var u=r??Math.min(1e3*Math.pow(2,a.current),3e4);i.current=setTimeout(function(){o.current=!0,e.refresh()},u)}else a.current=0},onCancel:function(){a.current=0,i.current&&clearTimeout(i.current)}}:{}},tr=function(e,t){var r=t.throttleWait,n=t.throttleLeading,i=t.throttleTrailing,a=v.useRef(),o={};return n!==void 0&&(o.leading=n),i!==void 0&&(o.trailing=i),v.useEffect(function(){if(r){var u=e.runAsync.bind(e);return a.current=ze(function(f){f()},r,o),e.runAsync=function(){for(var f=[],c=0;c<arguments.length;c++)f[c]=arguments[c];return new Promise(function(l,s){var p;(p=a.current)===null||p===void 0||p.call(a,function(){u.apply(void 0,w([],g(f),!1)).then(l).catch(s)})})},function(){var f;e.runAsync=u,(f=a.current)===null||f===void 0||f.cancel()}}},[r,n,i]),r?{onCancel:function(){var u;(u=a.current)===null||u===void 0||u.cancel()}}:{}},rr=function(e){v.useEffect(function(){e==null||e()},[])},ut=function(){var e=g(v.useState({}),2),t=e[1];return v.useCallback(function(){return t({})},[])},nr=function(){function e(t,r,n,i){i===void 0&&(i={}),this.serviceRef=t,this.options=r,this.subscribe=n,this.initState=i,this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=E(E(E({},this.state),{loading:!r.manual}),i)}return e.prototype.setState=function(t){t===void 0&&(t={}),this.state=E(E({},this.state),t),this.subscribe()},e.prototype.runPluginHandler=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=this.pluginImpls.map(function(a){var o;return(o=a[t])===null||o===void 0?void 0:o.call.apply(o,w([a],g(r),!1))}).filter(Boolean);return Object.assign.apply(Object,w([{}],g(i),!1))},e.prototype.runAsync=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return k(this,void 0,void 0,function(){var n,i,a,o,u,f,c,l,s,p,d,h,m,y,_,b,R,T,O,P,D;return J(this,function(C){switch(C.label){case 0:if(this.count+=1,n=this.count,i=this.runPluginHandler("onBefore",t),a=i.stopNow,o=a===void 0?!1:a,u=i.returnNow,f=u===void 0?!1:u,c=re(i,["stopNow","returnNow"]),o)return[2,new Promise(function(){})];if(this.setState(E({loading:!0,params:t},c)),f)return[2,Promise.resolve(c.data)];(m=(h=this.options).onBefore)===null||m===void 0||m.call(h,t),C.label=1;case 1:return C.trys.push([1,3,,4]),l=this.runPluginHandler("onRequest",this.serviceRef.current,t).servicePromise,l||(l=(d=this.serviceRef).current.apply(d,w([],g(t),!1))),[4,l];case 2:return s=C.sent(),n!==this.count?[2,new Promise(function(){})]:(this.setState({data:s,error:void 0,loading:!1}),(_=(y=this.options).onSuccess)===null||_===void 0||_.call(y,s,t),this.runPluginHandler("onSuccess",s,t),(R=(b=this.options).onFinally)===null||R===void 0||R.call(b,t,s,void 0),n===this.count&&this.runPluginHandler("onFinally",t,s,void 0),[2,s]);case 3:if(p=C.sent(),n!==this.count)return[2,new Promise(function(){})];throw this.setState({error:p,loading:!1}),(O=(T=this.options).onError)===null||O===void 0||O.call(T,p,t),this.runPluginHandler("onError",p,t),(D=(P=this.options).onFinally)===null||D===void 0||D.call(P,t,void 0,p),n===this.count&&this.runPluginHandler("onFinally",t,void 0,p),p;case 4:return[2]}})})},e.prototype.run=function(){for(var t=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];this.runAsync.apply(this,w([],g(r),!1)).catch(function(i){t.options.onError||console.error(i)})},e.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},e.prototype.refresh=function(){this.run.apply(this,w([],g(this.state.params||[]),!1))},e.prototype.refreshAsync=function(){return this.runAsync.apply(this,w([],g(this.state.params||[]),!1))},e.prototype.mutate=function(t){var r=B(t)?t(this.state.data):t;this.runPluginHandler("onMutate",r),this.setState({data:r})},e}();function ir(e,t,r){t===void 0&&(t={}),r===void 0&&(r=[]);var n=t.manual,i=n===void 0?!1:n,a=t.ready,o=a===void 0?!0:a,u=re(t,["manual","ready"]),f=E({manual:i,ready:o},u),c=L(e),l=ut(),s=we(function(){var p=r.map(function(d){var h;return(h=d==null?void 0:d.onInit)===null||h===void 0?void 0:h.call(d,f)}).filter(Boolean);return new nr(c,f,l,Object.assign.apply(Object,w([{}],g(p),!1)))},[]);return s.options=f,s.pluginImpls=r.map(function(p){return p(s,f)}),rr(function(){if(!i&&o){var p=s.state.params||t.defaultParams||[];s.run.apply(s,w([],g(p),!1))}}),W(function(){s.cancel()}),{loading:s.state.loading,data:s.state.data,error:s.state.error,params:s.state.params||[],cancel:j(s.cancel.bind(s)),refresh:j(s.refresh.bind(s)),refreshAsync:j(s.refreshAsync.bind(s)),run:j(s.run.bind(s)),runAsync:j(s.runAsync.bind(s)),mutate:j(s.mutate.bind(s))}}function ar(e,t,r){return ir(e,t,w(w([],g([]),!1),[Ut,Kt,Jt,Qt,tr,ot,qt,er],!1))}function or(e){return B(e[Symbol.asyncIterator])}function rn(e,t){v.useEffect(function(){var r=e(),n=!1;function i(){return k(this,void 0,void 0,function(){var a;return J(this,function(o){switch(o.label){case 0:if(!or(r))return[3,4];o.label=1;case 1:return[4,r.next()];case 2:return a=o.sent(),a.done||n?[3,3]:[3,1];case 3:return[3,6];case 4:return[4,r];case 5:o.sent(),o.label=6;case 6:return[2]}})})}return i(),function(){n=!0}},t)}function ur(e,t){var r=g(v.useState(e),2),n=r[0],i=r[1],a=v.useMemo(function(){var o=!e,u=function(){return i(function(s){return s===e?o:e})},f=function(s){return i(s)},c=function(){return i(e)},l=function(){return i(o)};return{toggle:u,set:f,setLeft:c,setRight:l}},[]);return[n,a]}function nn(e){var t=g(ur(!!e),2),r=t[0],n=t[1],i=n.toggle,a=n.set,o=v.useMemo(function(){var u=function(){return a(!0)},f=function(){return a(!1)};return{toggle:i,set:function(c){return a(!!c)},setTrue:u,setFalse:f}},[]);return[r,o]}function I(e,t){if(z){if(!e)return t;var r;return B(e)?r=e():"current"in e?r=e.current:r=e,r}}var ct=function(e){var t=function(r,n,i){var a=v.useRef(!1),o=v.useRef([]),u=v.useRef([]),f=v.useRef();e(function(){var c,l=Array.isArray(i)?i:[i],s=l.map(function(p){return I(p)});if(!a.current){a.current=!0,o.current=s,u.current=n,f.current=r();return}(s.length!==o.current.length||!pe(o.current,s)||!pe(u.current,n))&&((c=f.current)===null||c===void 0||c.call(f),o.current=s,u.current=n,f.current=r())}),W(function(){var c;(c=f.current)===null||c===void 0||c.call(f),a.current=!1})};return t},Ee=ct(v.useEffect),le=function(e){if(!e)return 0;var t=St(e).valueOf()-Date.now();return t<0?0:t},cr=function(e){return{days:Math.floor(e/864e5),hours:Math.floor(e/36e5)%24,minutes:Math.floor(e/6e4)%60,seconds:Math.floor(e/1e3)%60,milliseconds:Math.floor(e)%1e3}},an=function(e){e===void 0&&(e={});var t=e||{},r=t.leftTime,n=t.targetDate,i=t.interval,a=i===void 0?1e3:i,o=t.onEnd,u=v.useMemo(function(){return ie(r)&&r>0?Date.now()+r:void 0},[r]),f="leftTime"in e?u:n,c=g(v.useState(function(){return le(f)}),2),l=c[0],s=c[1],p=L(o);v.useEffect(function(){if(!f){s(0);return}s(le(f));var h=setInterval(function(){var m,y=le(f);s(y),y===0&&(clearInterval(h),(m=p.current)===null||m===void 0||m.call(p))},a);return function(){return clearInterval(h)}},[f,a]);var d=v.useMemo(function(){return cr(l)},[l]);return[l,d]};function fr(e,t){var r,n=L(e),i=(r=t==null?void 0:t.wait)!==null&&r!==void 0?r:1e3,a=v.useMemo(function(){return Le(function(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];return n.current.apply(n,w([],g(o),!1))},i,t)},[]);return W(function(){a.cancel()}),{run:a,cancel:a.cancel,flush:a.flush}}function on(e,t){var r=g(v.useState(e),2),n=r[0],i=r[1],a=fr(function(){i(e)},t).run;return v.useEffect(function(){a()},[e]),n}var sr=function(e,t){return e===void 0&&(e=[]),t===void 0&&(t=[]),Mt(e,t)};function me(e,t,r){r===void 0&&(r={});var n=r.enable,i=n===void 0?!0:n,a=L(t);Ee(function(){if(i){var o=I(r.target,window);if(o!=null&&o.addEventListener){var u=function(c){return a.current(c)},f=Array.isArray(e)?e:[e];return f.forEach(function(c){o.addEventListener(c,u,{capture:r.capture,once:r.once,passive:r.passive})}),function(){f.forEach(function(c){o.removeEventListener(c,u,{capture:r.capture})})}}}},[e,r.capture,r.once,r.passive,i],r.target)}function un(e){var t=g(v.useState(e),2),r=t[0],n=t[1],i=L(r),a=v.useCallback(function(){return i.current},[]);return[r,n,a]}var lr=function(e){return e===document||e===document.documentElement||e===document.body?Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},Te=function(e){return e.scrollHeight||Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)},dr=function(e){return e.clientHeight||Math.max(document.documentElement.clientHeight,document.body.clientHeight)},cn=function(e,t){t===void 0&&(t={});var r=t.target,n=t.isNoMore,i=t.threshold,a=i===void 0?100:i,o=t.direction,u=o===void 0?"bottom":o,f=t.reloadDeps,c=f===void 0?[]:f,l=t.manual,s=t.onBefore,p=t.onSuccess,d=t.onError,h=t.onFinally,m=g(v.useState(),2),y=m[0],_=m[1],b=g(v.useState(!1),2),R=b[0],T=b[1],O=u==="top",P=v.useRef(),D=v.useRef(0),C=v.useMemo(function(){return n?n(y):!1},[y]),A=ar(function(M){return k(void 0,void 0,void 0,function(){var S,x,N,q;return J(this,function(Oe){switch(Oe.label){case 0:return[4,e(M)];case 1:return S=Oe.sent(),_(M?E(E({},S),{list:O?w(w([],g(S.list),!1),g((N=M.list)!==null&&N!==void 0?N:[]),!1):w(w([],g((q=M.list)!==null&&q!==void 0?q:[]),!1),g(S.list),!1)}):E(E({},S),{list:w([],g((x=S.list)!==null&&x!==void 0?x:[]),!1)})),[2,S]}})})},{manual:l,onFinally:function(M,S,x){T(!1),h==null||h(S,x)},onBefore:function(){return s==null?void 0:s()},onSuccess:function(M){setTimeout(function(){if(O){var S=I(r);if(S=S===document?document.documentElement:S,S){var x=Te(S);S.scrollTo(0,x-D.current)}}else Re()}),p==null||p(M)},onError:function(M){return d==null?void 0:d(M)}}),Y=A.loading,oe=A.error,ue=A.run,Se=A.runAsync,gt=A.cancel,ce=j(function(){C||(T(!0),ue(y))}),bt=j(function(){return C?Promise.reject():(T(!0),Se(y))}),wt=function(){return T(!1),ue()},_t=function(){return T(!1),Se()},Re=function(){var M=I(r);if(M){var S=M===document?document.documentElement:M,x=lr(S),N=Te(S),q=dr(S);O?(P.current!==void 0&&P.current>x&&x<=a&&ce(),P.current=x,D.current=N-x):N-x<=q+a&&ce()}};return me("scroll",function(){Y||R||Re()},{target:r}),V(function(){ue()},w([],g(c),!1)),{data:y,loading:!R&&Y,error:oe,loadingMore:R,noMore:C,loadMore:ce,loadMoreAsync:bt,reload:j(wt),reloadAsync:j(_t),mutate:_,cancel:gt}},fn=function(e,t,r){r===void 0&&(r={});var n=j(e),i=v.useRef(null),a=v.useCallback(function(){i.current&&clearInterval(i.current)},[]);return v.useEffect(function(){if(!(!ie(t)||t<0))return r.immediate&&n(),i.current=setInterval(n,t),a},[t,r.immediate]),a},vr=function(e,t,r){var n=v.useRef(),i=v.useRef(0);sr(t,n.current)||(i.current+=1),n.current=t,Ee(e,[i.current],r)},hr=/(mac|iphone|ipod|ipad)/i.test(typeof navigator<"u"?navigator==null?void 0:navigator.platform:""),ft={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftwindowkey:91,rightwindowkey:92,meta:hr?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},ye={ctrl:function(e){return e.ctrlKey},shift:function(e){return e.shiftKey},alt:function(e){return e.altKey},meta:function(e){return e.type==="keyup"?ft.meta.includes(e.keyCode):e.metaKey}};function st(e){return Ht(e)||ie(e)}function pr(e){var t=Object.keys(ye).reduce(function(r,n){return ye[n](e)?r+1:r},0);return[16,17,18,91,92].includes(e.keyCode)?t:t+1}function Pe(e,t,r){var n,i;if(!e.key)return!1;if(ie(t))return e.keyCode===t?t:!1;var a=t.split("."),o=0;try{for(var u=H(a),f=u.next();!f.done;f=u.next()){var c=f.value,l=ye[c],s=ft[c.toLowerCase()];(l&&l(e)||s&&s===e.keyCode)&&o++}}catch(p){n={error:p}}finally{try{f&&!f.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return r?o===a.length&&pr(e)===a.length?t:!1:o===a.length?t:!1}function mr(e,t){return B(e)?e:st(e)?function(r){return Pe(r,e,t)}:Array.isArray(e)?function(r){return e.find(function(n){return Pe(r,n,t)})}:function(){return!!e}}var yr=["keydown"];function sn(e,t,r){var n=r||{},i=n.events,a=i===void 0?yr:i,o=n.target,u=n.exactMatch,f=u===void 0?!1:u,c=n.useCapture,l=c===void 0?!1:c,s=L(t),p=L(e);vr(function(){var d,h,m,y=I(o,window);if(y){var _=function(O){var P,D=mr(p.current,f),C=D(O),A=st(C)?C:O.key;if(C)return(P=s.current)===null||P===void 0?void 0:P.call(s,O,A)};try{for(var b=H(a),R=b.next();!R.done;R=b.next()){var T=R.value;(m=y==null?void 0:y.addEventListener)===null||m===void 0||m.call(y,T,_,l)}}catch(O){d={error:O}}finally{try{R&&!R.done&&(h=b.return)&&h.call(b)}finally{if(d)throw d.error}}return function(){var O,P,D;try{for(var C=H(a),A=C.next();!A.done;A=C.next()){var Y=A.value;(D=y==null?void 0:y.removeEventListener)===null||D===void 0||D.call(y,Y,_,l)}}catch(oe){O={error:oe}}finally{try{A&&!A.done&&(P=C.return)&&P.call(C)}finally{if(O)throw O.error}}}}},[a],o)}var Ae="AHOOKS_SYNC_STORAGE_EVENT_NAME";function lt(e){function t(r,n){n===void 0&&(n={});var i,a=n.listenStorageChange,o=a===void 0?!1:a,u=n.onError,f=u===void 0?function(b){console.error(b)}:u;try{i=e()}catch(b){f(b)}var c=function(b){return n.serializer?n.serializer(b):JSON.stringify(b)},l=function(b){return n.deserializer?n.deserializer(b):JSON.parse(b)};function s(){try{var b=i==null?void 0:i.getItem(r);if(b)return l(b)}catch(R){f(R)}return B(n.defaultValue)?n.defaultValue():n.defaultValue}var p=g(v.useState(s),2),d=p[0],h=p[1];V(function(){h(s())},[r]);var m=function(b){var R=B(b)?b(d):b;o||h(R);try{var T=void 0,O=i==null?void 0:i.getItem(r);Bt(R)?(T=null,i==null||i.removeItem(r)):(T=c(R),i==null||i.setItem(r,T)),dispatchEvent(new CustomEvent(Ae,{detail:{key:r,newValue:T,oldValue:O,storageArea:i}}))}catch(P){f(P)}},y=function(b){b.key!==r||b.storageArea!==i||h(s())},_=function(b){y(b.detail)};return me("storage",y,{enable:o}),me(Ae,_,{enable:o}),[d,j(m)]}return t}var ln=lt(function(){return z?localStorage:void 0});function gr(e){var t=v.useRef(0),r=g(v.useState(e),2),n=r[0],i=r[1],a=v.useCallback(function(o){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){i(o)})},[]);return W(function(){cancelAnimationFrame(t.current)}),[n,a]}var br=function(e,t){return!Object.is(e,t)};function dn(e,t){t===void 0&&(t=br);var r=v.useRef(),n=v.useRef();return t(n.current,e)&&(r.current=n.current,n.current=e),r.current}var Me=new WeakMap,xe=new WeakMap;function dt(e,t){var r=Me.get(e);if(r)return r;if(xe.has(e))return e;var n=new Proxy(e,{get:function(i,a,o){var u=Reflect.get(i,a,o),f=Reflect.getOwnPropertyDescriptor(i,a);return!(f!=null&&f.configurable)&&!(f!=null&&f.writable)?u:Rt(u)||Array.isArray(u)?dt(u,t):u},set:function(i,a,o){var u=Reflect.set(i,a,o);return t(),u},deleteProperty:function(i,a){var o=Reflect.deleteProperty(i,a);return t(),o}});return Me.set(e,n),xe.set(n,e),n}function vn(e){var t=ut(),r=v.useRef(e),n=we(function(){return dt(r.current,function(){t()})},[]);return n}var hn=lt(function(){return z?sessionStorage:void 0}),pn=function(e){var t=g(v.useState(e),2),r=t[0],n=t[1],i=j(function(a){n(function(o){var u=B(a)?a(o):a;return u?E(E({},o),u):o})});return[r,i]},vt=function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(i,a){return i[0]===r?(n=a,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(r,n){var i=e(this.__entries__,r);~i?this.__entries__[i][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,i=e(n,r);~i&&n.splice(i,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var i=0,a=this.__entries__;i<a.length;i++){var o=a[i];r.call(n,o[1],o[0])}},t}()}(),ge=typeof window<"u"&&typeof document<"u"&&window.document===document,ee=function(){return typeof fe<"u"&&fe.Math===Math?fe:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),wr=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(ee):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),_r=2;function Er(e,t){var r=!1,n=!1,i=0;function a(){r&&(r=!1,e()),n&&u()}function o(){wr(a)}function u(){var f=Date.now();if(r){if(f-i<_r)return;n=!0}else r=!0,n=!1,setTimeout(o,t);i=f}return u}var Sr=20,Rr=["top","right","bottom","left","width","height","size","weight"],Or=typeof MutationObserver<"u",Cr=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Er(this.refresh.bind(this),Sr)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,n=r.indexOf(t);~n&&r.splice(n,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!ge||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Or?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!ge||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,i=Rr.some(function(a){return!!~n.indexOf(a)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),ht=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},G=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||ee},pt=ae(0,0,0,0);function te(e){return parseFloat(e)||0}function je(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(n,i){var a=e["border-"+i+"-width"];return n+te(a)},0)}function Tr(e){for(var t=["top","right","bottom","left"],r={},n=0,i=t;n<i.length;n++){var a=i[n],o=e["padding-"+a];r[a]=te(o)}return r}function Pr(e){var t=e.getBBox();return ae(0,0,t.width,t.height)}function Ar(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return pt;var n=G(e).getComputedStyle(e),i=Tr(n),a=i.left+i.right,o=i.top+i.bottom,u=te(n.width),f=te(n.height);if(n.boxSizing==="border-box"&&(Math.round(u+a)!==t&&(u-=je(n,"left","right")+a),Math.round(f+o)!==r&&(f-=je(n,"top","bottom")+o)),!xr(e)){var c=Math.round(u+a)-t,l=Math.round(f+o)-r;Math.abs(c)!==1&&(u-=c),Math.abs(l)!==1&&(f-=l)}return ae(i.left,i.top,u,f)}var Mr=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof G(e).SVGGraphicsElement}:function(e){return e instanceof G(e).SVGElement&&typeof e.getBBox=="function"}}();function xr(e){return e===G(e).document.documentElement}function jr(e){return ge?Mr(e)?Pr(e):Ar(e):pt}function Dr(e){var t=e.x,r=e.y,n=e.width,i=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,o=Object.create(a.prototype);return ht(o,{x:t,y:r,width:n,height:i,top:r,right:t+n,bottom:i+r,left:t}),o}function ae(e,t,r,n){return{x:e,y:t,width:r,height:n}}var Lr=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ae(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=jr(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),zr=function(){function e(t,r){var n=Dr(r);ht(this,{target:t,contentRect:n})}return e}(),Fr=function(){function e(t,r,n){if(this.activeObservations_=[],this.observations_=new vt,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=n}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof G(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Lr(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof G(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new zr(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),mt=typeof WeakMap<"u"?new WeakMap:new vt,yt=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Cr.getInstance(),n=new Fr(t,r,this);mt.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){yt.prototype[e]=function(){var t;return(t=mt.get(this))[e].apply(t,arguments)}});var Hr=function(){return typeof ee.ResizeObserver<"u"?ee.ResizeObserver:yt}(),Br=ct(v.useLayoutEffect),Ir=z?Br:Ee;function mn(e){var t=g(gr(function(){var i=I(e);return i?{width:i.clientWidth,height:i.clientHeight}:void 0}),2),r=t[0],n=t[1];return Ir(function(){var i=I(e);if(i){var a=new Hr(function(o){o.forEach(function(u){var f=u.target,c=f.clientWidth,l=f.clientHeight;n({width:c,height:l})})});return a.observe(i),function(){a.disconnect()}}},[],e),r}function yn(e,t){var r,n=L(e),i=(r=t==null?void 0:t.wait)!==null&&r!==void 0?r:1e3,a=v.useMemo(function(){return ze(function(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];return n.current.apply(n,w([],g(o),!1))},i,t)},[]);return W(function(){a.cancel()}),{run:a,cancel:a.cancel,flush:a.flush}}var Wr=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(i){e.addRange(i)}),t&&t.focus()}},Nr=Wr,De={"text/plain":"Text","text/html":"Url",default:"Text"},$r="Copy to clipboard: #{key}, Enter";function Gr(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function qr(e,t){var r,n,i,a,o,u,f=!1;t||(t={}),r=t.debug||!1;try{i=Nr(),a=document.createRange(),o=document.getSelection(),u=document.createElement("span"),u.textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(l){if(l.stopPropagation(),t.format)if(l.preventDefault(),typeof l.clipboardData>"u"){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var s=De[t.format]||De.default;window.clipboardData.setData(s,e)}else l.clipboardData.clearData(),l.clipboardData.setData(t.format,e);t.onCopy&&(l.preventDefault(),t.onCopy(l.clipboardData))}),document.body.appendChild(u),a.selectNodeContents(u),o.addRange(a);var c=document.execCommand("copy");if(!c)throw new Error("copy command was unsuccessful");f=!0}catch(l){r&&console.error("unable to copy using execCommand: ",l),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(s){r&&console.error("unable to copy using clipboardData: ",s),r&&console.error("falling back to prompt"),n=Gr("message"in t?t.message:$r),window.prompt(n,e)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(a):o.removeAllRanges()),u&&document.body.removeChild(u),i()}return f}var Ur=qr;const gn=be(Ur),bn=Et(Ft);function Kr(){var e=v.useRef(!1),t=v.useCallback(function(){return e.current},[]);return v.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t}function Vr(e,t,r){t===void 0&&(t=[]),r===void 0&&(r={loading:!1});var n=v.useRef(0),i=Kr(),a=v.useState(r),o=a[0],u=a[1],f=v.useCallback(function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];var s=++n.current;return o.loading||u(function(p){return E(E({},p),{loading:!0})}),e.apply(void 0,c).then(function(p){return i()&&s===n.current&&u({value:p,loading:!1}),p},function(p){return i()&&s===n.current&&u({error:p,loading:!1}),p})},t);return[o,f]}function wn(e,t){t===void 0&&(t=[]);var r=Vr(e,t,{loading:!0}),n=r[0],i=r[1];return v.useEffect(function(){i()},[i]),n}function kr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function Jr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var de=typeof window<"u",Yr=function(e){v.useEffect(e,[])},Xr=function(e){var t=v.useRef(e);t.current=e,Yr(function(){return function(){return t.current()}})},Zr=function(e){var t=v.useRef(0),r=v.useState(e),n=r[0],i=r[1],a=v.useCallback(function(o){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){i(o)})},[]);return Xr(function(){cancelAnimationFrame(t.current)}),[n,a]},_n=function(e){var t={},r=t.initialWidth,n=r===void 0?1/0:r,i=t.initialHeight,a=i===void 0?1/0:i,o=t.onChange,u=Zr({width:de?window.innerWidth:n,height:de?window.innerHeight:a}),f=u[0],c=u[1];return v.useEffect(function(){if(de){var l=function(){var s=window.innerWidth,p=window.innerHeight;c({width:s,height:p}),o&&o(s,p)};return kr(window,"resize",l),function(){Jr(window,"resize",l)}}},[]),f};export{sn as A,nn as B,tn as C,un as D,Be as _,vn as a,mn as b,gn as c,L as d,we as e,fr as f,fn as g,on as h,Mt as i,rn as j,ln as k,rr as l,ar as m,dn as n,V as o,yn as p,_n as q,hn as r,W as s,an as t,j as u,pn as v,bn as w,cn as x,wn as y,ut as z};
|
|
7
|
+
*/(function(e,t){(function(r){var n;if(e.exports=r(),n=!0,!n){var i=window.Cookies,a=window.Cookies=r();a.noConflict=function(){return window.Cookies=i,a}}})(function(){function r(){for(var a=0,o={};a<arguments.length;a++){var u=arguments[a];for(var f in u)o[f]=u[f]}return o}function n(a){return a.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function i(a){function o(){}function u(c,l,s){if(!(typeof document>"u")){s=r({path:"/"},o.defaults,s),typeof s.expires=="number"&&(s.expires=new Date(new Date*1+s.expires*864e5)),s.expires=s.expires?s.expires.toUTCString():"";try{var p=JSON.stringify(l);/^[\{\[]/.test(p)&&(l=p)}catch{}l=a.write?a.write(l,c):encodeURIComponent(String(l)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),c=encodeURIComponent(String(c)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var d="";for(var h in s)s[h]&&(d+="; "+h,s[h]!==!0&&(d+="="+s[h].split(";")[0]));return document.cookie=c+"="+l+d}}function f(c,l){if(!(typeof document>"u")){for(var s={},p=document.cookie?document.cookie.split("; "):[],d=0;d<p.length;d++){var h=p[d].split("="),m=h.slice(1).join("=");!l&&m.charAt(0)==='"'&&(m=m.slice(1,-1));try{var y=n(h[0]);if(m=(a.read||a)(m,y)||n(m),l)try{m=JSON.parse(m)}catch{}if(s[y]=m,c===y)break}catch{}}return c?s[c]:s}}return o.set=u,o.get=function(c){return f(c,!1)},o.getJSON=function(c){return f(c,!0)},o.remove=function(c,l){u(c,"",r(l,{expires:-1}))},o.defaults={},o.withConverter=i,o}return i(function(){})})})(Fe);var xt=Fe.exports;const tn=be(xt);var jt=function(e){return function(t,r){var n=v.useRef(!1);e(function(){return function(){n.current=!1}},[]),e(function(){if(!n.current)n.current=!0;else return t()},r)}},ve=function(e,t){return ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},ve(e,t)};function He(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ve(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var E=function(){return E=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},E.apply(this,arguments)};function re(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Be(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}function Ie(e,t){return function(r,n){t(r,n,e)}}function We(e,t,r,n,i,a){function o(_){if(_!==void 0&&typeof _!="function")throw new TypeError("Function expected");return _}for(var u=n.kind,f=u==="getter"?"get":u==="setter"?"set":"value",c=!t&&e?n.static?e:e.prototype:null,l=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),s,p=!1,d=r.length-1;d>=0;d--){var h={};for(var m in n)h[m]=m==="access"?{}:n[m];for(var m in n.access)h.access[m]=n.access[m];h.addInitializer=function(_){if(p)throw new TypeError("Cannot add initializers after decoration has completed");a.push(o(_||null))};var y=(0,r[d])(u==="accessor"?{get:l.get,set:l.set}:l[f],h);if(u==="accessor"){if(y===void 0)continue;if(y===null||typeof y!="object")throw new TypeError("Object expected");(s=o(y.get))&&(l.get=s),(s=o(y.set))&&(l.set=s),(s=o(y.init))&&i.unshift(s)}else(s=o(y))&&(u==="field"?i.unshift(s):l[f]=s)}c&&Object.defineProperty(c,n.name,l),p=!0}function Ne(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function $e(e){return typeof e=="symbol"?e:"".concat(e)}function Ge(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function qe(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function k(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function u(l){try{c(n.next(l))}catch(s){o(s)}}function f(l){try{c(n.throw(l))}catch(s){o(s)}}function c(l){l.done?a(l.value):i(l.value).then(u,f)}c((n=n.apply(e,t||[])).next())})}function J(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=u(0),o.throw=u(1),o.return=u(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(c){return function(l){return f([c,l])}}function f(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(l){c=[6,l],i=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var ne=Object.create?function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]};function Ue(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&ne(t,e,r)}function H(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(u){o={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function Ke(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function Ve(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var a=arguments[t],o=0,u=a.length;o<u;o++,i++)n[i]=a[o];return n}function w(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function $(e){return this instanceof $?(this.v=e,this):new $(e)}function ke(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",o),i[Symbol.asyncIterator]=function(){return this},i;function o(d){return function(h){return Promise.resolve(h).then(d,s)}}function u(d,h){n[d]&&(i[d]=function(m){return new Promise(function(y,_){a.push([d,m,y,_])>1||f(d,m)})},h&&(i[d]=h(i[d])))}function f(d,h){try{c(n[d](h))}catch(m){p(a[0][3],m)}}function c(d){d.value instanceof $?Promise.resolve(d.value.v).then(l,s):p(a[0][2],d)}function l(d){f("next",d)}function s(d){f("throw",d)}function p(d,h){d(h),a.shift(),a.length&&f(a[0][0],a[0][1])}}function Je(e){var t,r;return t={},n("next"),n("throw",function(i){throw i}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(i,a){t[i]=e[i]?function(o){return(r=!r)?{value:$(e[i](o)),done:!1}:a?a(o):o}:a}}function Ye(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof H=="function"?H(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=e[a]&&function(o){return new Promise(function(u,f){o=e[a](o),i(u,f,o.done,o.value)})}}function i(a,o,u,f){Promise.resolve(f).then(function(c){a({value:c,done:u})},o)}}function Xe(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var Dt=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},he=function(e){return he=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},he(e)};function Ze(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=he(e),n=0;n<r.length;n++)r[n]!=="default"&&ne(t,e,r[n]);return Dt(t,e),t}function Qe(e){return e&&e.__esModule?e:{default:e}}function et(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function tt(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}function rt(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function nt(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(a){return Promise.reject(a)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var Lt=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function it(e){function t(a){e.error=e.hasError?new Lt(a,e.error,"An error was suppressed during disposal."):a,e.hasError=!0}var r,n=0;function i(){for(;r=e.stack.pop();)try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var a=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(a).then(i,function(o){return t(o),i()})}else n|=1}catch(o){t(o)}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()}function at(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,a,o){return n?t?".jsx":".js":i&&(!a||!o)?r:i+a+"."+o.toLowerCase()+"js"}):e}const zt={__extends:He,__assign:E,__rest:re,__decorate:Be,__param:Ie,__esDecorate:We,__runInitializers:Ne,__propKey:$e,__setFunctionName:Ge,__metadata:qe,__awaiter:k,__generator:J,__createBinding:ne,__exportStar:Ue,__values:H,__read:g,__spread:Ke,__spreadArrays:Ve,__spreadArray:w,__await:$,__asyncGenerator:ke,__asyncDelegator:Je,__asyncValues:Ye,__makeTemplateObject:Xe,__importStar:Ze,__importDefault:Qe,__classPrivateFieldGet:et,__classPrivateFieldSet:tt,__classPrivateFieldIn:rt,__addDisposableResource:nt,__disposeResources:it,__rewriteRelativeImportExtension:at},Ft=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource:nt,get __assign(){return E},__asyncDelegator:Je,__asyncGenerator:ke,__asyncValues:Ye,__await:$,__awaiter:k,__classPrivateFieldGet:et,__classPrivateFieldIn:rt,__classPrivateFieldSet:tt,__createBinding:ne,__decorate:Be,__disposeResources:it,__esDecorate:We,__exportStar:Ue,__extends:He,__generator:J,__importDefault:Qe,__importStar:Ze,__makeTemplateObject:Xe,__metadata:qe,__param:Ie,__propKey:$e,__read:g,__rest:re,__rewriteRelativeImportExtension:at,__runInitializers:Ne,__setFunctionName:Ge,__spread:Ke,__spreadArray:w,__spreadArrays:Ve,__values:H,default:zt},Symbol.toStringTag,{value:"Module"}));var B=function(e){return typeof e=="function"},Ht=function(e){return typeof e=="string"},ie=function(e){return typeof e=="number"},Bt=function(e){return typeof e>"u"};function j(e){var t=v.useRef(e);t.current=v.useMemo(function(){return e},[e]);var r=v.useRef();return r.current||(r.current=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return t.current.apply(this,n)}),r.current}const V=jt(v.useEffect);var ot=function(e,t){var r=t.manual,n=t.ready,i=n===void 0?!0:n,a=t.defaultParams,o=a===void 0?[]:a,u=t.refreshDeps,f=u===void 0?[]:u,c=t.refreshDepsAction,l=v.useRef(!1);return l.current=!1,V(function(){!r&&i&&(l.current=!0,e.run.apply(e,w([],g(o),!1)))},[i]),V(function(){l.current||r||(l.current=!0,c?c():e.refresh())},w([],g(f),!1)),{onBefore:function(){if(!i)return{stopNow:!0}}}};ot.onInit=function(e){var t=e.ready,r=t===void 0?!0:t,n=e.manual;return{loading:!n&&r}};function pe(e,t){if(e===t)return!0;for(var r=0;r<e.length;r++)if(!Object.is(e[r],t[r]))return!1;return!0}function we(e,t){var r=v.useRef({deps:t,obj:void 0,initialized:!1}).current;return(r.initialized===!1||!pe(r.deps,t))&&(r.deps=t,r.obj=e(),r.initialized=!0),r.obj}function L(e){var t=v.useRef(e);return t.current=e,t}var W=function(e){var t=L(e);v.useEffect(function(){return function(){t.current()}},[])},Z=new Map,It=function(e,t,r){var n=Z.get(e);n!=null&&n.timer&&clearTimeout(n.timer);var i=void 0;t>-1&&(i=setTimeout(function(){Z.delete(e)},t)),Z.set(e,E(E({},r),{timer:i}))},Wt=function(e){return Z.get(e)},Q=new Map,Nt=function(e){return Q.get(e)},$t=function(e,t){Q.set(e,t),t.then(function(r){return Q.delete(e),r}).catch(function(){Q.delete(e)})},F={},Gt=function(e,t){F[e]&&F[e].forEach(function(r){return r(t)})},se=function(e,t){return F[e]||(F[e]=[]),F[e].push(t),function(){var n=F[e].indexOf(t);F[e].splice(n,1)}},qt=function(e,t){var r=t.cacheKey,n=t.cacheTime,i=n===void 0?5*60*1e3:n,a=t.staleTime,o=a===void 0?0:a,u=t.setCache,f=t.getCache,c=v.useRef(),l=v.useRef(),s=function(d,h){u?u(h):It(d,i,h),Gt(d,h.data)},p=function(d,h){return h===void 0&&(h=[]),f?f(h):Wt(d)};return we(function(){if(r){var d=p(r);d&&Object.hasOwnProperty.call(d,"data")&&(e.state.data=d.data,e.state.params=d.params,(o===-1||new Date().getTime()-d.time<=o)&&(e.state.loading=!1)),c.current=se(r,function(h){e.setState({data:h})})}},[]),W(function(){var d;(d=c.current)===null||d===void 0||d.call(c)}),r?{onBefore:function(d){var h=p(r,d);return!h||!Object.hasOwnProperty.call(h,"data")?{}:o===-1||new Date().getTime()-h.time<=o?{loading:!1,data:h==null?void 0:h.data,error:void 0,returnNow:!0}:{data:h==null?void 0:h.data,error:void 0}},onRequest:function(d,h){var m=Nt(r);return m&&m!==l.current?{servicePromise:m}:(m=d.apply(void 0,w([],g(h),!1)),l.current=m,$t(r,m),{servicePromise:m})},onSuccess:function(d,h){var m;r&&((m=c.current)===null||m===void 0||m.call(c),s(r,{data:d,params:h,time:new Date().getTime()}),c.current=se(r,function(y){e.setState({data:y})}))},onMutate:function(d){var h;r&&((h=c.current)===null||h===void 0||h.call(c),s(r,{data:d,params:e.state.params,time:new Date().getTime()}),c.current=se(r,function(m){e.setState({data:m})}))}}:{}},Ut=function(e,t){var r=t.debounceWait,n=t.debounceLeading,i=t.debounceTrailing,a=t.debounceMaxWait,o=v.useRef(),u=v.useMemo(function(){var f={};return n!==void 0&&(f.leading=n),i!==void 0&&(f.trailing=i),a!==void 0&&(f.maxWait=a),f},[n,i,a]);return v.useEffect(function(){if(r){var f=e.runAsync.bind(e);return o.current=Le(function(c){c()},r,u),e.runAsync=function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];return new Promise(function(s,p){var d;(d=o.current)===null||d===void 0||d.call(o,function(){f.apply(void 0,w([],g(c),!1)).then(s).catch(p)})})},function(){var c;(c=o.current)===null||c===void 0||c.cancel(),e.runAsync=f}}},[r,u]),r?{onCancel:function(){var f;(f=o.current)===null||f===void 0||f.cancel()}}:{}},Kt=function(e,t){var r=t.loadingDelay,n=t.ready,i=v.useRef();if(!r)return{};var a=function(){i.current&&clearTimeout(i.current)};return{onBefore:function(){return a(),n!==!1&&(i.current=setTimeout(function(){e.setState({loading:!0})},r)),{loading:!1}},onFinally:function(){a()},onCancel:function(){a()}}},z=!!(typeof window<"u"&&window.document&&window.document.createElement);function _e(){return z?document.visibilityState!=="hidden":!0}var U=[];function Vt(e){return U.push(e),function(){var r=U.indexOf(e);U.splice(r,1)}}if(z){var kt=function(){if(_e())for(var e=0;e<U.length;e++){var t=U[e];t()}};window.addEventListener("visibilitychange",kt,!1)}var Jt=function(e,t){var r=t.pollingInterval,n=t.pollingWhenHidden,i=n===void 0?!0:n,a=t.pollingErrorRetryCount,o=a===void 0?-1:a,u=v.useRef(),f=v.useRef(),c=v.useRef(0),l=function(){var s;u.current&&clearTimeout(u.current),(s=f.current)===null||s===void 0||s.call(f)};return V(function(){r||l()},[r]),r?{onBefore:function(){l()},onError:function(){c.current+=1},onSuccess:function(){c.current=0},onFinally:function(){o===-1||o!==-1&&c.current<=o?u.current=setTimeout(function(){!i&&!_e()?f.current=Vt(function(){e.refresh()}):e.refresh()},r):c.current=0},onCancel:function(){l()}}:{}};function Yt(e,t){var r=!1;return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];r||(r=!0,e.apply(void 0,w([],g(n),!1)),setTimeout(function(){r=!1},t))}}function Xt(){return z&&typeof navigator.onLine<"u"?navigator.onLine:!0}var K=[];function Zt(e){return K.push(e),function(){var r=K.indexOf(e);r>-1&&K.splice(r,1)}}if(z){var Ce=function(){if(!(!_e()||!Xt()))for(var e=0;e<K.length;e++){var t=K[e];t()}};window.addEventListener("visibilitychange",Ce,!1),window.addEventListener("focus",Ce,!1)}var Qt=function(e,t){var r=t.refreshOnWindowFocus,n=t.focusTimespan,i=n===void 0?5e3:n,a=v.useRef(),o=function(){var u;(u=a.current)===null||u===void 0||u.call(a)};return v.useEffect(function(){if(r){var u=Yt(e.refresh.bind(e),i);a.current=Zt(function(){u()})}return function(){o()}},[r,i]),W(function(){o()}),{}},er=function(e,t){var r=t.retryInterval,n=t.retryCount,i=v.useRef(),a=v.useRef(0),o=v.useRef(!1);return n?{onBefore:function(){o.current||(a.current=0),o.current=!1,i.current&&clearTimeout(i.current)},onSuccess:function(){a.current=0},onError:function(){if(a.current+=1,n===-1||a.current<=n){var u=r??Math.min(1e3*Math.pow(2,a.current),3e4);i.current=setTimeout(function(){o.current=!0,e.refresh()},u)}else a.current=0},onCancel:function(){a.current=0,i.current&&clearTimeout(i.current)}}:{}},tr=function(e,t){var r=t.throttleWait,n=t.throttleLeading,i=t.throttleTrailing,a=v.useRef(),o={};return n!==void 0&&(o.leading=n),i!==void 0&&(o.trailing=i),v.useEffect(function(){if(r){var u=e.runAsync.bind(e);return a.current=ze(function(f){f()},r,o),e.runAsync=function(){for(var f=[],c=0;c<arguments.length;c++)f[c]=arguments[c];return new Promise(function(l,s){var p;(p=a.current)===null||p===void 0||p.call(a,function(){u.apply(void 0,w([],g(f),!1)).then(l).catch(s)})})},function(){var f;e.runAsync=u,(f=a.current)===null||f===void 0||f.cancel()}}},[r,n,i]),r?{onCancel:function(){var u;(u=a.current)===null||u===void 0||u.cancel()}}:{}},rr=function(e){v.useEffect(function(){e==null||e()},[])},ut=function(){var e=g(v.useState({}),2),t=e[1];return v.useCallback(function(){return t({})},[])},nr=function(){function e(t,r,n,i){i===void 0&&(i={}),this.serviceRef=t,this.options=r,this.subscribe=n,this.initState=i,this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=E(E(E({},this.state),{loading:!r.manual}),i)}return e.prototype.setState=function(t){t===void 0&&(t={}),this.state=E(E({},this.state),t),this.subscribe()},e.prototype.runPluginHandler=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=this.pluginImpls.map(function(a){var o;return(o=a[t])===null||o===void 0?void 0:o.call.apply(o,w([a],g(r),!1))}).filter(Boolean);return Object.assign.apply(Object,w([{}],g(i),!1))},e.prototype.runAsync=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return k(this,void 0,void 0,function(){var n,i,a,o,u,f,c,l,s,p,d,h,m,y,_,b,R,T,O,P,D;return J(this,function(C){switch(C.label){case 0:if(this.count+=1,n=this.count,i=this.runPluginHandler("onBefore",t),a=i.stopNow,o=a===void 0?!1:a,u=i.returnNow,f=u===void 0?!1:u,c=re(i,["stopNow","returnNow"]),o)return[2,new Promise(function(){})];if(this.setState(E({loading:!0,params:t},c)),f)return[2,Promise.resolve(c.data)];(m=(h=this.options).onBefore)===null||m===void 0||m.call(h,t),C.label=1;case 1:return C.trys.push([1,3,,4]),l=this.runPluginHandler("onRequest",this.serviceRef.current,t).servicePromise,l||(l=(d=this.serviceRef).current.apply(d,w([],g(t),!1))),[4,l];case 2:return s=C.sent(),n!==this.count?[2,new Promise(function(){})]:(this.setState({data:s,error:void 0,loading:!1}),(_=(y=this.options).onSuccess)===null||_===void 0||_.call(y,s,t),this.runPluginHandler("onSuccess",s,t),(R=(b=this.options).onFinally)===null||R===void 0||R.call(b,t,s,void 0),n===this.count&&this.runPluginHandler("onFinally",t,s,void 0),[2,s]);case 3:if(p=C.sent(),n!==this.count)return[2,new Promise(function(){})];throw this.setState({error:p,loading:!1}),(O=(T=this.options).onError)===null||O===void 0||O.call(T,p,t),this.runPluginHandler("onError",p,t),(D=(P=this.options).onFinally)===null||D===void 0||D.call(P,t,void 0,p),n===this.count&&this.runPluginHandler("onFinally",t,void 0,p),p;case 4:return[2]}})})},e.prototype.run=function(){for(var t=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];this.runAsync.apply(this,w([],g(r),!1)).catch(function(i){t.options.onError||console.error(i)})},e.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},e.prototype.refresh=function(){this.run.apply(this,w([],g(this.state.params||[]),!1))},e.prototype.refreshAsync=function(){return this.runAsync.apply(this,w([],g(this.state.params||[]),!1))},e.prototype.mutate=function(t){var r=B(t)?t(this.state.data):t;this.runPluginHandler("onMutate",r),this.setState({data:r})},e}();function ir(e,t,r){t===void 0&&(t={}),r===void 0&&(r=[]);var n=t.manual,i=n===void 0?!1:n,a=t.ready,o=a===void 0?!0:a,u=re(t,["manual","ready"]),f=E({manual:i,ready:o},u),c=L(e),l=ut(),s=we(function(){var p=r.map(function(d){var h;return(h=d==null?void 0:d.onInit)===null||h===void 0?void 0:h.call(d,f)}).filter(Boolean);return new nr(c,f,l,Object.assign.apply(Object,w([{}],g(p),!1)))},[]);return s.options=f,s.pluginImpls=r.map(function(p){return p(s,f)}),rr(function(){if(!i&&o){var p=s.state.params||t.defaultParams||[];s.run.apply(s,w([],g(p),!1))}}),W(function(){s.cancel()}),{loading:s.state.loading,data:s.state.data,error:s.state.error,params:s.state.params||[],cancel:j(s.cancel.bind(s)),refresh:j(s.refresh.bind(s)),refreshAsync:j(s.refreshAsync.bind(s)),run:j(s.run.bind(s)),runAsync:j(s.runAsync.bind(s)),mutate:j(s.mutate.bind(s))}}function ar(e,t,r){return ir(e,t,w(w([],g([]),!1),[Ut,Kt,Jt,Qt,tr,ot,qt,er],!1))}function or(e){return B(e[Symbol.asyncIterator])}function rn(e,t){v.useEffect(function(){var r=e(),n=!1;function i(){return k(this,void 0,void 0,function(){var a;return J(this,function(o){switch(o.label){case 0:if(!or(r))return[3,4];o.label=1;case 1:return[4,r.next()];case 2:return a=o.sent(),a.done||n?[3,3]:[3,1];case 3:return[3,6];case 4:return[4,r];case 5:o.sent(),o.label=6;case 6:return[2]}})})}return i(),function(){n=!0}},t)}function ur(e,t){var r=g(v.useState(e),2),n=r[0],i=r[1],a=v.useMemo(function(){var o=!e,u=function(){return i(function(s){return s===e?o:e})},f=function(s){return i(s)},c=function(){return i(e)},l=function(){return i(o)};return{toggle:u,set:f,setLeft:c,setRight:l}},[]);return[n,a]}function nn(e){var t=g(ur(!!e),2),r=t[0],n=t[1],i=n.toggle,a=n.set,o=v.useMemo(function(){var u=function(){return a(!0)},f=function(){return a(!1)};return{toggle:i,set:function(c){return a(!!c)},setTrue:u,setFalse:f}},[]);return[r,o]}function I(e,t){if(z){if(!e)return t;var r;return B(e)?r=e():"current"in e?r=e.current:r=e,r}}var ct=function(e){var t=function(r,n,i){var a=v.useRef(!1),o=v.useRef([]),u=v.useRef([]),f=v.useRef();e(function(){var c,l=Array.isArray(i)?i:[i],s=l.map(function(p){return I(p)});if(!a.current){a.current=!0,o.current=s,u.current=n,f.current=r();return}(s.length!==o.current.length||!pe(o.current,s)||!pe(u.current,n))&&((c=f.current)===null||c===void 0||c.call(f),o.current=s,u.current=n,f.current=r())}),W(function(){var c;(c=f.current)===null||c===void 0||c.call(f),a.current=!1})};return t},Ee=ct(v.useEffect),le=function(e){if(!e)return 0;var t=St(e).valueOf()-Date.now();return t<0?0:t},cr=function(e){return{days:Math.floor(e/864e5),hours:Math.floor(e/36e5)%24,minutes:Math.floor(e/6e4)%60,seconds:Math.floor(e/1e3)%60,milliseconds:Math.floor(e)%1e3}},an=function(e){e===void 0&&(e={});var t=e||{},r=t.leftTime,n=t.targetDate,i=t.interval,a=i===void 0?1e3:i,o=t.onEnd,u=v.useMemo(function(){return ie(r)&&r>0?Date.now()+r:void 0},[r]),f="leftTime"in e?u:n,c=g(v.useState(function(){return le(f)}),2),l=c[0],s=c[1],p=L(o);v.useEffect(function(){if(!f){s(0);return}s(le(f));var h=setInterval(function(){var m,y=le(f);s(y),y===0&&(clearInterval(h),(m=p.current)===null||m===void 0||m.call(p))},a);return function(){return clearInterval(h)}},[f,a]);var d=v.useMemo(function(){return cr(l)},[l]);return[l,d]};function fr(e,t){var r,n=L(e),i=(r=t==null?void 0:t.wait)!==null&&r!==void 0?r:1e3,a=v.useMemo(function(){return Le(function(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];return n.current.apply(n,w([],g(o),!1))},i,t)},[]);return W(function(){a.cancel()}),{run:a,cancel:a.cancel,flush:a.flush}}function on(e,t){var r=g(v.useState(e),2),n=r[0],i=r[1],a=fr(function(){i(e)},t).run;return v.useEffect(function(){a()},[e]),n}var sr=function(e,t){return e===void 0&&(e=[]),t===void 0&&(t=[]),Mt(e,t)};function me(e,t,r){r===void 0&&(r={});var n=r.enable,i=n===void 0?!0:n,a=L(t);Ee(function(){if(i){var o=I(r.target,window);if(o!=null&&o.addEventListener){var u=function(c){return a.current(c)},f=Array.isArray(e)?e:[e];return f.forEach(function(c){o.addEventListener(c,u,{capture:r.capture,once:r.once,passive:r.passive})}),function(){f.forEach(function(c){o.removeEventListener(c,u,{capture:r.capture})})}}}},[e,r.capture,r.once,r.passive,i],r.target)}function un(e){var t=g(v.useState(e),2),r=t[0],n=t[1],i=L(r),a=v.useCallback(function(){return i.current},[]);return[r,n,a]}var lr=function(e){return e===document||e===document.documentElement||e===document.body?Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},Te=function(e){return e.scrollHeight||Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)},dr=function(e){return e.clientHeight||Math.max(document.documentElement.clientHeight,document.body.clientHeight)},cn=function(e,t){t===void 0&&(t={});var r=t.target,n=t.isNoMore,i=t.threshold,a=i===void 0?100:i,o=t.direction,u=o===void 0?"bottom":o,f=t.reloadDeps,c=f===void 0?[]:f,l=t.manual,s=t.onBefore,p=t.onSuccess,d=t.onError,h=t.onFinally,m=g(v.useState(),2),y=m[0],_=m[1],b=g(v.useState(!1),2),R=b[0],T=b[1],O=u==="top",P=v.useRef(),D=v.useRef(0),C=v.useMemo(function(){return n?n(y):!1},[y]),A=ar(function(M){return k(void 0,void 0,void 0,function(){var S,x,N,q;return J(this,function(Oe){switch(Oe.label){case 0:return[4,e(M)];case 1:return S=Oe.sent(),_(M?E(E({},S),{list:O?w(w([],g(S.list),!1),g((N=M.list)!==null&&N!==void 0?N:[]),!1):w(w([],g((q=M.list)!==null&&q!==void 0?q:[]),!1),g(S.list),!1)}):E(E({},S),{list:w([],g((x=S.list)!==null&&x!==void 0?x:[]),!1)})),[2,S]}})})},{manual:l,onFinally:function(M,S,x){T(!1),h==null||h(S,x)},onBefore:function(){return s==null?void 0:s()},onSuccess:function(M){setTimeout(function(){if(O){var S=I(r);if(S=S===document?document.documentElement:S,S){var x=Te(S);S.scrollTo(0,x-D.current)}}else Re()}),p==null||p(M)},onError:function(M){return d==null?void 0:d(M)}}),Y=A.loading,oe=A.error,ue=A.run,Se=A.runAsync,gt=A.cancel,ce=j(function(){C||(T(!0),ue(y))}),bt=j(function(){return C?Promise.reject():(T(!0),Se(y))}),wt=function(){return T(!1),ue()},_t=function(){return T(!1),Se()},Re=function(){var M=I(r);if(M){var S=M===document?document.documentElement:M,x=lr(S),N=Te(S),q=dr(S);O?(P.current!==void 0&&P.current>x&&x<=a&&ce(),P.current=x,D.current=N-x):N-x<=q+a&&ce()}};return me("scroll",function(){Y||R||Re()},{target:r}),V(function(){ue()},w([],g(c),!1)),{data:y,loading:!R&&Y,error:oe,loadingMore:R,noMore:C,loadMore:ce,loadMoreAsync:bt,reload:j(wt),reloadAsync:j(_t),mutate:_,cancel:gt}},fn=function(e,t,r){r===void 0&&(r={});var n=j(e),i=v.useRef(null),a=v.useCallback(function(){i.current&&clearInterval(i.current)},[]);return v.useEffect(function(){if(!(!ie(t)||t<0))return r.immediate&&n(),i.current=setInterval(n,t),a},[t,r.immediate]),a},vr=function(e,t,r){var n=v.useRef(),i=v.useRef(0);sr(t,n.current)||(i.current+=1),n.current=t,Ee(e,[i.current],r)},hr=/(mac|iphone|ipod|ipad)/i.test(typeof navigator<"u"?navigator==null?void 0:navigator.platform:""),ft={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftwindowkey:91,rightwindowkey:92,meta:hr?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},ye={ctrl:function(e){return e.ctrlKey},shift:function(e){return e.shiftKey},alt:function(e){return e.altKey},meta:function(e){return e.type==="keyup"?ft.meta.includes(e.keyCode):e.metaKey}};function st(e){return Ht(e)||ie(e)}function pr(e){var t=Object.keys(ye).reduce(function(r,n){return ye[n](e)?r+1:r},0);return[16,17,18,91,92].includes(e.keyCode)?t:t+1}function Pe(e,t,r){var n,i;if(!e.key)return!1;if(ie(t))return e.keyCode===t?t:!1;var a=t.split("."),o=0;try{for(var u=H(a),f=u.next();!f.done;f=u.next()){var c=f.value,l=ye[c],s=ft[c.toLowerCase()];(l&&l(e)||s&&s===e.keyCode)&&o++}}catch(p){n={error:p}}finally{try{f&&!f.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return r?o===a.length&&pr(e)===a.length?t:!1:o===a.length?t:!1}function mr(e,t){return B(e)?e:st(e)?function(r){return Pe(r,e,t)}:Array.isArray(e)?function(r){return e.find(function(n){return Pe(r,n,t)})}:function(){return!!e}}var yr=["keydown"];function sn(e,t,r){var n=r||{},i=n.events,a=i===void 0?yr:i,o=n.target,u=n.exactMatch,f=u===void 0?!1:u,c=n.useCapture,l=c===void 0?!1:c,s=L(t),p=L(e);vr(function(){var d,h,m,y=I(o,window);if(y){var _=function(O){var P,D=mr(p.current,f),C=D(O),A=st(C)?C:O.key;if(C)return(P=s.current)===null||P===void 0?void 0:P.call(s,O,A)};try{for(var b=H(a),R=b.next();!R.done;R=b.next()){var T=R.value;(m=y==null?void 0:y.addEventListener)===null||m===void 0||m.call(y,T,_,l)}}catch(O){d={error:O}}finally{try{R&&!R.done&&(h=b.return)&&h.call(b)}finally{if(d)throw d.error}}return function(){var O,P,D;try{for(var C=H(a),A=C.next();!A.done;A=C.next()){var Y=A.value;(D=y==null?void 0:y.removeEventListener)===null||D===void 0||D.call(y,Y,_,l)}}catch(oe){O={error:oe}}finally{try{A&&!A.done&&(P=C.return)&&P.call(C)}finally{if(O)throw O.error}}}}},[a],o)}var Ae="AHOOKS_SYNC_STORAGE_EVENT_NAME";function lt(e){function t(r,n){n===void 0&&(n={});var i,a=n.listenStorageChange,o=a===void 0?!1:a,u=n.onError,f=u===void 0?function(b){console.error(b)}:u;try{i=e()}catch(b){f(b)}var c=function(b){return n.serializer?n.serializer(b):JSON.stringify(b)},l=function(b){return n.deserializer?n.deserializer(b):JSON.parse(b)};function s(){try{var b=i==null?void 0:i.getItem(r);if(b)return l(b)}catch(R){f(R)}return B(n.defaultValue)?n.defaultValue():n.defaultValue}var p=g(v.useState(s),2),d=p[0],h=p[1];V(function(){h(s())},[r]);var m=function(b){var R=B(b)?b(d):b;o||h(R);try{var T=void 0,O=i==null?void 0:i.getItem(r);Bt(R)?(T=null,i==null||i.removeItem(r)):(T=c(R),i==null||i.setItem(r,T)),dispatchEvent(new CustomEvent(Ae,{detail:{key:r,newValue:T,oldValue:O,storageArea:i}}))}catch(P){f(P)}},y=function(b){b.key!==r||b.storageArea!==i||h(s())},_=function(b){y(b.detail)};return me("storage",y,{enable:o}),me(Ae,_,{enable:o}),[d,j(m)]}return t}var ln=lt(function(){return z?localStorage:void 0});function gr(e){var t=v.useRef(0),r=g(v.useState(e),2),n=r[0],i=r[1],a=v.useCallback(function(o){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){i(o)})},[]);return W(function(){cancelAnimationFrame(t.current)}),[n,a]}var br=function(e,t){return!Object.is(e,t)};function dn(e,t){t===void 0&&(t=br);var r=v.useRef(),n=v.useRef();return t(n.current,e)&&(r.current=n.current,n.current=e),r.current}var Me=new WeakMap,xe=new WeakMap;function dt(e,t){var r=Me.get(e);if(r)return r;if(xe.has(e))return e;var n=new Proxy(e,{get:function(i,a,o){var u=Reflect.get(i,a,o),f=Reflect.getOwnPropertyDescriptor(i,a);return!(f!=null&&f.configurable)&&!(f!=null&&f.writable)?u:Rt(u)||Array.isArray(u)?dt(u,t):u},set:function(i,a,o){var u=Reflect.set(i,a,o);return t(),u},deleteProperty:function(i,a){var o=Reflect.deleteProperty(i,a);return t(),o}});return Me.set(e,n),xe.set(n,e),n}function vn(e){var t=ut(),r=v.useRef(e),n=we(function(){return dt(r.current,function(){t()})},[]);return n}var hn=lt(function(){return z?sessionStorage:void 0}),pn=function(e){var t=g(v.useState(e),2),r=t[0],n=t[1],i=j(function(a){n(function(o){var u=B(a)?a(o):a;return u?E(E({},o),u):o})});return[r,i]},vt=function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(i,a){return i[0]===r?(n=a,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(r,n){var i=e(this.__entries__,r);~i?this.__entries__[i][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,i=e(n,r);~i&&n.splice(i,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var i=0,a=this.__entries__;i<a.length;i++){var o=a[i];r.call(n,o[1],o[0])}},t}()}(),ge=typeof window<"u"&&typeof document<"u"&&window.document===document,ee=function(){return typeof fe<"u"&&fe.Math===Math?fe:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),wr=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(ee):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),_r=2;function Er(e,t){var r=!1,n=!1,i=0;function a(){r&&(r=!1,e()),n&&u()}function o(){wr(a)}function u(){var f=Date.now();if(r){if(f-i<_r)return;n=!0}else r=!0,n=!1,setTimeout(o,t);i=f}return u}var Sr=20,Rr=["top","right","bottom","left","width","height","size","weight"],Or=typeof MutationObserver<"u",Cr=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Er(this.refresh.bind(this),Sr)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,n=r.indexOf(t);~n&&r.splice(n,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!ge||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Or?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!ge||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,i=Rr.some(function(a){return!!~n.indexOf(a)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),ht=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},G=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||ee},pt=ae(0,0,0,0);function te(e){return parseFloat(e)||0}function je(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(n,i){var a=e["border-"+i+"-width"];return n+te(a)},0)}function Tr(e){for(var t=["top","right","bottom","left"],r={},n=0,i=t;n<i.length;n++){var a=i[n],o=e["padding-"+a];r[a]=te(o)}return r}function Pr(e){var t=e.getBBox();return ae(0,0,t.width,t.height)}function Ar(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return pt;var n=G(e).getComputedStyle(e),i=Tr(n),a=i.left+i.right,o=i.top+i.bottom,u=te(n.width),f=te(n.height);if(n.boxSizing==="border-box"&&(Math.round(u+a)!==t&&(u-=je(n,"left","right")+a),Math.round(f+o)!==r&&(f-=je(n,"top","bottom")+o)),!xr(e)){var c=Math.round(u+a)-t,l=Math.round(f+o)-r;Math.abs(c)!==1&&(u-=c),Math.abs(l)!==1&&(f-=l)}return ae(i.left,i.top,u,f)}var Mr=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof G(e).SVGGraphicsElement}:function(e){return e instanceof G(e).SVGElement&&typeof e.getBBox=="function"}}();function xr(e){return e===G(e).document.documentElement}function jr(e){return ge?Mr(e)?Pr(e):Ar(e):pt}function Dr(e){var t=e.x,r=e.y,n=e.width,i=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,o=Object.create(a.prototype);return ht(o,{x:t,y:r,width:n,height:i,top:r,right:t+n,bottom:i+r,left:t}),o}function ae(e,t,r,n){return{x:e,y:t,width:r,height:n}}var Lr=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ae(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=jr(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),zr=function(){function e(t,r){var n=Dr(r);ht(this,{target:t,contentRect:n})}return e}(),Fr=function(){function e(t,r,n){if(this.activeObservations_=[],this.observations_=new vt,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=n}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof G(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new Lr(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof G(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new zr(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),mt=typeof WeakMap<"u"?new WeakMap:new vt,yt=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Cr.getInstance(),n=new Fr(t,r,this);mt.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){yt.prototype[e]=function(){var t;return(t=mt.get(this))[e].apply(t,arguments)}});var Hr=function(){return typeof ee.ResizeObserver<"u"?ee.ResizeObserver:yt}(),Br=ct(v.useLayoutEffect),Ir=z?Br:Ee;function mn(e){var t=g(gr(function(){var i=I(e);return i?{width:i.clientWidth,height:i.clientHeight}:void 0}),2),r=t[0],n=t[1];return Ir(function(){var i=I(e);if(i){var a=new Hr(function(o){o.forEach(function(u){var f=u.target,c=f.clientWidth,l=f.clientHeight;n({width:c,height:l})})});return a.observe(i),function(){a.disconnect()}}},[],e),r}function yn(e,t){var r,n=L(e),i=(r=t==null?void 0:t.wait)!==null&&r!==void 0?r:1e3,a=v.useMemo(function(){return ze(function(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];return n.current.apply(n,w([],g(o),!1))},i,t)},[]);return W(function(){a.cancel()}),{run:a,cancel:a.cancel,flush:a.flush}}var Wr=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(i){e.addRange(i)}),t&&t.focus()}},Nr=Wr,De={"text/plain":"Text","text/html":"Url",default:"Text"},$r="Copy to clipboard: #{key}, Enter";function Gr(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function qr(e,t){var r,n,i,a,o,u,f=!1;t||(t={}),r=t.debug||!1;try{i=Nr(),a=document.createRange(),o=document.getSelection(),u=document.createElement("span"),u.textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(l){if(l.stopPropagation(),t.format)if(l.preventDefault(),typeof l.clipboardData>"u"){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var s=De[t.format]||De.default;window.clipboardData.setData(s,e)}else l.clipboardData.clearData(),l.clipboardData.setData(t.format,e);t.onCopy&&(l.preventDefault(),t.onCopy(l.clipboardData))}),document.body.appendChild(u),a.selectNodeContents(u),o.addRange(a);var c=document.execCommand("copy");if(!c)throw new Error("copy command was unsuccessful");f=!0}catch(l){r&&console.error("unable to copy using execCommand: ",l),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),f=!0}catch(s){r&&console.error("unable to copy using clipboardData: ",s),r&&console.error("falling back to prompt"),n=Gr("message"in t?t.message:$r),window.prompt(n,e)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(a):o.removeAllRanges()),u&&document.body.removeChild(u),i()}return f}var Ur=qr;const gn=be(Ur),bn=Et(Ft);function Kr(){var e=v.useRef(!1),t=v.useCallback(function(){return e.current},[]);return v.useEffect(function(){return e.current=!0,function(){e.current=!1}},[]),t}function Vr(e,t,r){t===void 0&&(t=[]),r===void 0&&(r={loading:!1});var n=v.useRef(0),i=Kr(),a=v.useState(r),o=a[0],u=a[1],f=v.useCallback(function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];var s=++n.current;return o.loading||u(function(p){return E(E({},p),{loading:!0})}),e.apply(void 0,c).then(function(p){return i()&&s===n.current&&u({value:p,loading:!1}),p},function(p){return i()&&s===n.current&&u({error:p,loading:!1}),p})},t);return[o,f]}function wn(e,t){t===void 0&&(t=[]);var r=Vr(e,t,{loading:!0}),n=r[0],i=r[1];return v.useEffect(function(){i()},[i]),n}function kr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function Jr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var de=typeof window<"u",Yr=function(e){v.useEffect(e,[])},Xr=function(e){var t=v.useRef(e);t.current=e,Yr(function(){return function(){return t.current()}})},Zr=function(e){var t=v.useRef(0),r=v.useState(e),n=r[0],i=r[1],a=v.useCallback(function(o){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){i(o)})},[]);return Xr(function(){cancelAnimationFrame(t.current)}),[n,a]},_n=function(e){var t={},r=t.initialWidth,n=r===void 0?1/0:r,i=t.initialHeight,a=i===void 0?1/0:i,o=t.onChange,u=Zr({width:de?window.innerWidth:n,height:de?window.innerHeight:a}),f=u[0],c=u[1];return v.useEffect(function(){if(de){var l=function(){var s=window.innerWidth,p=window.innerHeight;c({width:s,height:p}),o&&o(s,p)};return kr(window,"resize",l),function(){Jr(window,"resize",l)}}},[]),f};export{sn as A,nn as B,tn as C,un as D,Be as _,vn as a,mn as b,gn as c,L as d,fr as e,we as f,fn as g,on as h,Mt as i,rn as j,ln as k,rr as l,ar as m,dn as n,V as o,yn as p,_n as q,hn as r,W as s,an as t,j as u,pn as v,bn as w,cn as x,wn as y,ut as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as _,L as i}from"./vendor-arcblock-
|
|
1
|
+
import{f as _,L as i}from"./vendor-arcblock-o7bY298v.js";import{y as u,_ as e}from"./index-DoNZBHNi.js";import{j as r}from"./vendor-mui-core-Dh3XBxY7.js";const a={en:_(u),ar:()=>e(()=>import("./ar-BvRDrl-h.js"),[]).then(t=>_(t.default)),de:()=>e(()=>import("./de-D18LzkQY.js"),[]).then(t=>_(t.default)),es:()=>e(()=>import("./es-is1Q8RnK.js"),[]).then(t=>_(t.default)),fr:()=>e(()=>import("./fr-Buu4BG5m.js"),[]).then(t=>_(t.default)),hi:()=>e(()=>import("./hi-DGeeysYm.js"),[]).then(t=>_(t.default)),id:()=>e(()=>import("./id-NlIgbQ92.js"),[]).then(t=>_(t.default)),ja:()=>e(()=>import("./ja-ZWJjus9M.js"),[]).then(t=>_(t.default)),ko:()=>e(()=>import("./ko-BhHmR8oQ.js"),[]).then(t=>_(t.default)),pt:()=>e(()=>import("./pt-BhvKzxfK.js"),[]).then(t=>_(t.default)),ru:()=>e(()=>import("./ru-Cc01DBPA.js"),[]).then(t=>_(t.default)),th:()=>e(()=>import("./th-DMmvF5EW.js"),[]).then(t=>_(t.default)),vi:()=>e(()=>import("./vi-Bxs4l6dO.js"),[]).then(t=>_(t.default)),"zh-TW":()=>e(()=>import("./zh-tw-Dqct16yD.js"),[]).then(t=>_(t.default)),zh:()=>e(()=>import("./zh-Cw2E9SuI.js"),[]).then(t=>_(t.default))};function f(t){return function(o){return r.jsx(i,{translations:a,children:r.jsx(t,{...o})})}}export{f as w};
|
package/dist/index.html
CHANGED
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
background-color: transparent;
|
|
16
16
|
}
|
|
17
17
|
</style>
|
|
18
|
-
<script type="module" crossorigin src="/.well-known/service/static/assets/index-
|
|
18
|
+
<script type="module" crossorigin src="/.well-known/service/static/assets/index-DoNZBHNi.js"></script>
|
|
19
19
|
<link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-react-DoD83n6N.js">
|
|
20
20
|
<link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-mui-core-Dh3XBxY7.js">
|
|
21
21
|
<link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-utils-oUOK1Lc7.js">
|
|
22
|
-
<link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-hooks-
|
|
23
|
-
<link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-arcblock-
|
|
22
|
+
<link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-hooks-Bxo1qD_4.js">
|
|
23
|
+
<link rel="modulepreload" crossorigin href="/.well-known/service/static/assets/vendor-arcblock-o7bY298v.js">
|
|
24
24
|
<link rel="stylesheet" crossorigin href="/.well-known/service/static/assets/vendor-arcblock-DhgPdlEj.css">
|
|
25
25
|
<link rel="manifest" href="/.well-known/service/static/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/.well-known/service/static/registerSW.js"></script></head>
|
|
26
26
|
|
package/dist/service-worker.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
try{self["workbox:core:7.0.0"]&&_()}catch{}const ae=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},ne=ae;let y=class extends Error{constructor(e,t){const r=ne(e,t);super(r),this.name=e,this.details=t}};const ie=new Set,d={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},N=s=>[d.prefix,s,d.suffix].filter(e=>e&&e.length>0).join("-"),ce=s=>{for(const e of Object.keys(d))s(e)},oe={updateDetails:s=>{ce(e=>{typeof s[e]=="string"&&(d[e]=s[e])})},getGoogleAnalyticsName:s=>s||N(d.googleAnalytics),getPrecacheName:s=>s||N(d.precache),getPrefix:()=>d.prefix,getRuntimeName:s=>s||N(d.runtime),getSuffix:()=>d.suffix};function q(s,e){const t=new URL(s);for(const r of e)t.searchParams.delete(r);return t.href}async function le(s,e,t,r){const a=q(e.url,t);if(e.url===a)return s.match(e,r);const i=Object.assign(Object.assign({},r),{ignoreSearch:!0}),n=await s.keys(e,i);for(const c of n){const o=q(c.url,t);if(a===o)return s.match(c,r)}}let he=class{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};async function ue(){for(const s of ie)await s()}const fe=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function de(s){return new Promise(e=>setTimeout(e,s))}function pe(){self.addEventListener("activate",()=>self.clients.claim())}try{self["workbox:core:7.0.0"]&&_()}catch{}const ge=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},me=ge;let u=class extends Error{constructor(e,t){const r=me(e,t);super(r),this.name=e,this.details=t}};const p={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},M=s=>[p.prefix,s,p.suffix].filter(e=>e&&e.length>0).join("-"),we=s=>{for(const e of Object.keys(p))s(e)},j={updateDetails:s=>{we(e=>{typeof s[e]=="string"&&(p[e]=s[e])})},getGoogleAnalyticsName:s=>s||M(p.googleAnalytics),getPrecacheName:s=>s||M(p.precache),getPrefix:()=>p.prefix,getRuntimeName:s=>s||M(p.runtime),getSuffix:()=>p.suffix};function H(s,e){const t=e();return s.waitUntil(t),t}try{self["workbox:precaching:7.0.0"]&&_()}catch{}const ye="__WB_REVISION__";function _e(s){if(!s)throw new u("add-to-cache-list-unexpected-type",{entry:s});if(typeof s=="string"){const i=new URL(s,location.href);return{cacheKey:i.href,url:i.href}}const{revision:e,url:t}=s;if(!t)throw new u("add-to-cache-list-unexpected-type",{entry:s});if(!e){const i=new URL(t,location.href);return{cacheKey:i.href,url:i.href}}const r=new URL(t,location.href),a=new URL(t,location.href);return r.searchParams.set(ye,e),{cacheKey:r.href,url:a.href}}class Re{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:r})=>{if(e.type==="install"&&t&&t.originalRequest&&t.originalRequest instanceof Request){const a=t.originalRequest.url;r?this.notUpdatedURLs.push(a):this.updatedURLs.push(a)}return r}}}class be{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:r})=>{const a=(r==null?void 0:r.cacheKey)||this._precacheController.getCacheKeyForURL(t.url);return a?new Request(a,{headers:t.headers}):t},this._precacheController=e}}let b;function Ce(){if(b===void 0){const s=new Response("");if("body"in s)try{new Response(s.body),b=!0}catch{b=!1}b=!1}return b}async function xe(s,e){let t=null;if(s.url&&(t=new URL(s.url).origin),t!==self.location.origin)throw new u("cross-origin-copy-response",{origin:t});const r=s.clone(),i={headers:new Headers(r.headers),status:r.status,statusText:r.statusText},n=Ce()?r.body:await r.blob();return new Response(n,i)}const ke=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function B(s,e){const t=new URL(s);for(const r of e)t.searchParams.delete(r);return t.href}async function Ee(s,e,t,r){const a=B(e.url,t);if(e.url===a)return s.match(e,r);const i=Object.assign(Object.assign({},r),{ignoreSearch:!0}),n=await s.keys(e,i);for(const c of n){const o=B(c.url,t);if(a===o)return s.match(c,r)}}class De{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}const Ue=new Set;async function Le(){for(const s of Ue)await s()}function Pe(s){return new Promise(e=>setTimeout(e,s))}try{self["workbox:strategies:7.0.0"]&&_()}catch{}function D(s){return typeof s=="string"?new Request(s):s}let ve=class{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new De,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const r of this._plugins)this._pluginStateMap.set(r,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let r=D(e);if(r.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const n=await t.preloadResponse;if(n)return n}const a=this.hasCallback("fetchDidFail")?r.clone():null;try{for(const n of this.iterateCallbacks("requestWillFetch"))r=await n({request:r.clone(),event:t})}catch(n){if(n instanceof Error)throw new u("plugin-error-request-will-fetch",{thrownErrorMessage:n.message})}const i=r.clone();try{let n;n=await fetch(r,r.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))n=await c({event:t,request:i,response:n});return n}catch(n){throw a&&await this.runCallbacks("fetchDidFail",{error:n,event:t,originalRequest:a.clone(),request:i.clone()}),n}}async fetchAndCachePut(e){const t=await this.fetch(e),r=t.clone();return this.waitUntil(this.cachePut(e,r)),t}async cacheMatch(e){const t=D(e);let r;const{cacheName:a,matchOptions:i}=this._strategy,n=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},i),{cacheName:a});r=await caches.match(n,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))r=await o({cacheName:a,matchOptions:i,cachedResponse:r,request:n,event:this.event})||void 0;return r}async cachePut(e,t){const r=D(e);await Pe(0);const a=await this.getCacheKey(r,"write");if(!t)throw new u("cache-put-with-no-response",{url:ke(a.url)});const i=await this._ensureResponseSafeToCache(t);if(!i)return!1;const{cacheName:n,matchOptions:c}=this._strategy,o=await self.caches.open(n),l=this.hasCallback("cacheDidUpdate"),f=l?await Ee(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,l?i.clone():i)}catch(h){if(h instanceof Error)throw h.name==="QuotaExceededError"&&await Le(),h}for(const h of this.iterateCallbacks("cacheDidUpdate"))await h({cacheName:n,oldResponse:f,newResponse:i.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const r=`${e.url} | ${t}`;if(!this._cacheKeys[r]){let a=e;for(const i of this.iterateCallbacks("cacheKeyWillBeUsed"))a=D(await i({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[r]=a}return this._cacheKeys[r]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const r of this.iterateCallbacks(e))await r(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const r=this._pluginStateMap.get(t);yield i=>{const n=Object.assign(Object.assign({},i),{state:r});return t[e](n)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,r=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,r=!0,!t)break;return r||t&&t.status!==200&&(t=void 0),t}},Ne=class{constructor(e={}){this.cacheName=j.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,r=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,i=new ve(this,{event:t,request:r,params:a}),n=this._getResponse(i,r,t),c=this._awaitComplete(n,i,r,t);return[n,c]}async _getResponse(e,t,r){await e.runCallbacks("handlerWillStart",{event:r,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new u("no-response",{url:t.url})}catch(i){if(i instanceof Error){for(const n of e.iterateCallbacks("handlerDidError"))if(a=await n({error:i,event:r,request:t}),a)break}if(!a)throw i}for(const i of e.iterateCallbacks("handlerWillRespond"))a=await i({event:r,request:t,response:a});return a}async _awaitComplete(e,t,r,a){let i,n;try{i=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:r,response:i}),await t.doneWaiting()}catch(c){c instanceof Error&&(n=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:r,response:i,error:n}),t.destroy(),n)throw n}};class w extends Ne{constructor(e={}){e.cacheName=j.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(w.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const r=await t.cacheMatch(e);return r||(t.event&&t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let r;const a=t.params||{};if(this._fallbackToNetwork){const i=a.integrity,n=e.integrity,c=!n||n===i;r=await t.fetch(new Request(e,{integrity:e.mode!=="no-cors"?n||i:void 0})),i&&c&&e.mode!=="no-cors"&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,r.clone()))}else throw new u("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return r}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const r=await t.fetch(e);if(!await t.cachePut(e,r.clone()))throw new u("bad-precaching-response",{url:e.url,status:r.status});return r}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[r,a]of this.plugins.entries())a!==w.copyRedirectedCacheableResponsesPlugin&&(a===w.defaultPrecacheCacheabilityPlugin&&(e=r),a.cacheWillUpdate&&t++);t===0?this.plugins.push(w.defaultPrecacheCacheabilityPlugin):t>1&&e!==null&&this.plugins.splice(e,1)}}w.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:s}){return!s||s.status>=400?null:s}};w.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:s}){return s.redirected?await xe(s):s}};class Me{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:r=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new w({cacheName:j.getPrecacheName(e),plugins:[...t,new be({precacheController:this})],fallbackToNetwork:r}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const r of e){typeof r=="string"?t.push(r):r&&r.revision===void 0&&t.push(r.url);const{cacheKey:a,url:i}=_e(r),n=typeof r!="string"&&r.revision?"reload":"default";if(this._urlsToCacheKeys.has(i)&&this._urlsToCacheKeys.get(i)!==a)throw new u("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(i),secondEntry:a});if(typeof r!="string"&&r.integrity){if(this._cacheKeysToIntegrities.has(a)&&this._cacheKeysToIntegrities.get(a)!==r.integrity)throw new u("add-to-cache-list-conflicting-integrities",{url:i});this._cacheKeysToIntegrities.set(a,r.integrity)}if(this._urlsToCacheKeys.set(i,a),this._urlsToCacheModes.set(i,n),t.length>0){const c=`Workbox is precaching URLs without revision info: ${t.join(", ")}
|
|
2
|
-
This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(c)}}}install(e){return H(e,async()=>{const t=new Re;this.strategy.plugins.push(t);for(const[i,n]of this._urlsToCacheKeys){const c=this._cacheKeysToIntegrities.get(n),o=this._urlsToCacheModes.get(i),l=new Request(i,{integrity:c,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:n},request:l,event:e}))}const{updatedURLs:r,notUpdatedURLs:a}=t;return{updatedURLs:r,notUpdatedURLs:a}})}activate(e){return H(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),r=await t.keys(),a=new Set(this._urlsToCacheKeys.values()),i=[];for(const n of r)a.has(n.url)||(await t.delete(n),i.push(n.url));return{deletedURLs:i}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,r=this.getCacheKeyForURL(t);if(r)return(await self.caches.open(this.strategy.cacheName)).match(r)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new u("non-precached-url",{url:e});return r=>(r.request=new Request(e),r.params=Object.assign({cacheKey:t},r.params),this.strategy.handle(r))}}let T;const J=()=>(T||(T=new Me),T);try{self["workbox:routing:7.0.0"]&&_()}catch{}const z="GET",P=s=>s&&typeof s=="object"?s:{handle:s};let E=class{constructor(e,t,r=z){this.handler=P(t),this.match=e,this.method=r}setCatchHandler(e){this.catchHandler=P(e)}},Te=class extends E{constructor(e,t,r){const a=({url:i})=>{const n=e.exec(i.href);if(n&&!(i.origin!==location.origin&&n.index!==0))return n.slice(1)};super(a,t,r)}},Oe=class{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,r=this.handleRequest({request:t,event:e});r&&e.respondWith(r)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,r=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const i=new Request(...a);return this.handleRequest({request:i,event:e})}));e.waitUntil(r),e.ports&&e.ports[0]&&r.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const r=new URL(e.url,location.href);if(!r.protocol.startsWith("http"))return;const a=r.origin===location.origin,{params:i,route:n}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:r});let c=n&&n.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let l;try{l=c.handle({url:r,request:e,event:t,params:i})}catch(h){l=Promise.reject(h)}const f=n&&n.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(async h=>{if(f)try{return await f.handle({url:r,request:e,event:t,params:i})}catch(R){R instanceof Error&&(h=R)}if(this._catchHandler)return this._catchHandler.handle({url:r,request:e,event:t});throw h})),l}findMatchingRoute({url:e,sameOrigin:t,request:r,event:a}){const i=this._routes.get(r.method)||[];for(const n of i){let c;const o=n.match({url:e,sameOrigin:t,request:r,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:n,params:c}}return{}}setDefaultHandler(e,t=z){this._defaultHandlerMap.set(t,P(e))}setCatchHandler(e){this._catchHandler=P(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new u("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new u("unregister-route-route-not-registered")}},C;const Se=()=>(C||(C=new Oe,C.addFetchListener(),C.addCacheListener()),C);function Ae(s,e,t){let r;if(typeof s=="string"){const i=new URL(s,location.href),n=({url:c})=>c.href===i.href;r=new E(n,e,t)}else if(s instanceof RegExp)r=new Te(s,e,t);else if(typeof s=="function")r=new E(s,e,t);else if(s instanceof E)r=s;else throw new u("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return Se().registerRoute(r),r}function Ke(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(r=>r.test(t))&&s.searchParams.delete(t);return s}function*Ie(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:r=!0,urlManipulation:a}={}){const i=new URL(s,location.href);i.hash="",yield i.href;const n=Ke(i,e);if(yield n.href,t&&n.pathname.endsWith("/")){const c=new URL(n.href);c.pathname+=t,yield c.href}if(r){const c=new URL(n.href);c.pathname+=".html",yield c.href}if(a){const c=a({url:i});for(const o of c)yield o.href}}class We extends E{constructor(e,t){const r=({request:a})=>{const i=e.getURLsToCacheKeys();for(const n of Ie(a.url,t)){const c=i.get(n);if(c){const o=e.getIntegrityForCacheKey(c);return{cacheKey:c,integrity:o}}}};super(r,e.strategy)}}function je(s){const e=J(),t=new We(e,s);Ae(t)}function $e(s){J().precache(s)}function qe(s,e){$e(s),je(e)}try{self["workbox:core:7.0.0"]&&_()}catch{}const He=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},Be=He;class Fe extends Error{constructor(e,t){const r=Be(e,t);super(r),this.name=e,this.details=t}}function X(s){s.then(()=>{})}const Ve=(s,e)=>e.some(t=>s instanceof t);let F,V;function Ge(){return F||(F=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Qe(){return V||(V=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Y=new WeakMap,I=new WeakMap,Z=new WeakMap,O=new WeakMap,$=new WeakMap;function Je(s){const e=new Promise((t,r)=>{const a=()=>{s.removeEventListener("success",i),s.removeEventListener("error",n)},i=()=>{t(m(s.result)),a()},n=()=>{r(s.error),a()};s.addEventListener("success",i),s.addEventListener("error",n)});return e.then(t=>{t instanceof IDBCursor&&Y.set(t,s)}).catch(()=>{}),$.set(e,s),e}function ze(s){if(I.has(s))return;const e=new Promise((t,r)=>{const a=()=>{s.removeEventListener("complete",i),s.removeEventListener("error",n),s.removeEventListener("abort",n)},i=()=>{t(),a()},n=()=>{r(s.error||new DOMException("AbortError","AbortError")),a()};s.addEventListener("complete",i),s.addEventListener("error",n),s.addEventListener("abort",n)});I.set(s,e)}let W={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return I.get(s);if(e==="objectStoreNames")return s.objectStoreNames||Z.get(s);if(e==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return m(s[e])},set(s,e,t){return s[e]=t,!0},has(s,e){return s instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in s}};function Xe(s){W=s(W)}function Ye(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const r=s.call(S(this),e,...t);return Z.set(r,e.sort?e.sort():[e]),m(r)}:Qe().includes(s)?function(...e){return s.apply(S(this),e),m(Y.get(this))}:function(...e){return m(s.apply(S(this),e))}}function Ze(s){return typeof s=="function"?Ye(s):(s instanceof IDBTransaction&&ze(s),Ve(s,Ge())?new Proxy(s,W):s)}function m(s){if(s instanceof IDBRequest)return Je(s);if(O.has(s))return O.get(s);const e=Ze(s);return e!==s&&(O.set(s,e),$.set(e,s)),e}const S=s=>$.get(s);function et(s,e,{blocked:t,upgrade:r,blocking:a,terminated:i}={}){const n=indexedDB.open(s,e),c=m(n);return r&&n.addEventListener("upgradeneeded",o=>{r(m(n.result),o.oldVersion,o.newVersion,m(n.transaction),o)}),t&&n.addEventListener("blocked",o=>t(o.oldVersion,o.newVersion,o)),c.then(o=>{i&&o.addEventListener("close",()=>i()),a&&o.addEventListener("versionchange",l=>a(l.oldVersion,l.newVersion,l))}).catch(()=>{}),c}function tt(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",r=>e(r.oldVersion,r)),m(t).then(()=>{})}const st=["get","getKey","getAll","getAllKeys","count"],rt=["put","add","delete","clear"],A=new Map;function G(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(A.get(e))return A.get(e);const t=e.replace(/FromIndex$/,""),r=e!==t,a=rt.includes(t);if(!(t in(r?IDBIndex:IDBObjectStore).prototype)||!(a||st.includes(t)))return;const i=async function(n,...c){const o=this.transaction(n,a?"readwrite":"readonly");let l=o.store;return r&&(l=l.index(c.shift())),(await Promise.all([l[t](...c),a&&o.done]))[0]};return A.set(e,i),i}Xe(s=>({...s,get:(e,t,r)=>G(e,t)||s.get(e,t,r),has:(e,t)=>!!G(e,t)||s.has(e,t)}));try{self["workbox:expiration:7.0.0"]&&_()}catch{}const at="workbox-expiration",x="cache-entries",Q=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class nt{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(x,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&tt(this._cacheName)}async setTimestamp(e,t){e=Q(e);const r={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},i=(await this.getDb()).transaction(x,"readwrite",{durability:"relaxed"});await i.store.put(r),await i.done}async getTimestamp(e){const r=await(await this.getDb()).get(x,this._getId(e));return r==null?void 0:r.timestamp}async expireEntries(e,t){const r=await this.getDb();let a=await r.transaction(x).store.index("timestamp").openCursor(null,"prev");const i=[];let n=0;for(;a;){const o=a.value;o.cacheName===this._cacheName&&(e&&o.timestamp<e||t&&n>=t?i.push(a.value):n++),a=await a.continue()}const c=[];for(const o of i)await r.delete(x,o.id),c.push(o.url);return c}_getId(e){return this._cacheName+"|"+Q(e)}async getDb(){return this._db||(this._db=await et(at,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class it{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new nt(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),r=await self.caches.open(this._cacheName);for(const a of t)await r.delete(a,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,X(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),r=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t<r:!0}else return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}const g={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},K=s=>[g.prefix,s,g.suffix].filter(e=>e&&e.length>0).join("-"),ct=s=>{for(const e of Object.keys(g))s(e)},ot={updateDetails:s=>{ct(e=>{typeof s[e]=="string"&&(g[e]=s[e])})},getGoogleAnalyticsName:s=>s||K(g.googleAnalytics),getPrecacheName:s=>s||K(g.precache),getPrefix:()=>g.prefix,getRuntimeName:s=>s||K(g.runtime),getSuffix:()=>g.suffix},lt=new Set;function ht(s){lt.add(s)}class ut{constructor(e={}){this.cachedResponseWillBeUsed=async({event:t,request:r,cacheName:a,cachedResponse:i})=>{if(!i)return null;const n=this._isResponseDateFresh(i),c=this._getCacheExpiration(a);X(c.expireEntries());const o=c.updateTimestamp(r.url);if(t)try{t.waitUntil(o)}catch{}return n?i:null},this.cacheDidUpdate=async({cacheName:t,request:r})=>{const a=this._getCacheExpiration(t);await a.updateTimestamp(r.url),await a.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&ht(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===ot.getRuntimeName())throw new Fe("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new it(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(t===null)return!0;const r=Date.now();return t>=r-this._maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),a=new Date(t).getTime();return isNaN(a)?null:a}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}try{self["workbox:routing:7.0.0"]&&_()}catch{}const ee="GET",v=s=>s&&typeof s=="object"?s:{handle:s};class L{constructor(e,t,r=ee){this.handler=v(t),this.match=e,this.method=r}setCatchHandler(e){this.catchHandler=v(e)}}class ft extends L{constructor(e,t,r){const a=({url:i})=>{const n=e.exec(i.href);if(n&&!(i.origin!==location.origin&&n.index!==0))return n.slice(1)};super(a,t,r)}}class dt{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,r=this.handleRequest({request:t,event:e});r&&e.respondWith(r)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,r=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const i=new Request(...a);return this.handleRequest({request:i,event:e})}));e.waitUntil(r),e.ports&&e.ports[0]&&r.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const r=new URL(e.url,location.href);if(!r.protocol.startsWith("http"))return;const a=r.origin===location.origin,{params:i,route:n}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:r});let c=n&&n.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let l;try{l=c.handle({url:r,request:e,event:t,params:i})}catch(h){l=Promise.reject(h)}const f=n&&n.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(async h=>{if(f)try{return await f.handle({url:r,request:e,event:t,params:i})}catch(R){R instanceof Error&&(h=R)}if(this._catchHandler)return this._catchHandler.handle({url:r,request:e,event:t});throw h})),l}findMatchingRoute({url:e,sameOrigin:t,request:r,event:a}){const i=this._routes.get(r.method)||[];for(const n of i){let c;const o=n.match({url:e,sameOrigin:t,request:r,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:n,params:c}}return{}}setDefaultHandler(e,t=ee){this._defaultHandlerMap.set(t,v(e))}setCatchHandler(e){this._catchHandler=v(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new y("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new y("unregister-route-route-not-registered")}}let k;const pt=()=>(k||(k=new dt,k.addFetchListener(),k.addCacheListener()),k);function te(s,e,t){let r;if(typeof s=="string"){const i=new URL(s,location.href),n=({url:c})=>c.href===i.href;r=new L(n,e,t)}else if(s instanceof RegExp)r=new ft(s,e,t);else if(typeof s=="function")r=new L(s,e,t);else if(s instanceof L)r=s;else throw new y("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return pt().registerRoute(r),r}try{self["workbox:strategies:7.0.0"]&&_()}catch{}function U(s){return typeof s=="string"?new Request(s):s}class gt{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new he,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const r of this._plugins)this._pluginStateMap.set(r,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let r=U(e);if(r.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const n=await t.preloadResponse;if(n)return n}const a=this.hasCallback("fetchDidFail")?r.clone():null;try{for(const n of this.iterateCallbacks("requestWillFetch"))r=await n({request:r.clone(),event:t})}catch(n){if(n instanceof Error)throw new y("plugin-error-request-will-fetch",{thrownErrorMessage:n.message})}const i=r.clone();try{let n;n=await fetch(r,r.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))n=await c({event:t,request:i,response:n});return n}catch(n){throw a&&await this.runCallbacks("fetchDidFail",{error:n,event:t,originalRequest:a.clone(),request:i.clone()}),n}}async fetchAndCachePut(e){const t=await this.fetch(e),r=t.clone();return this.waitUntil(this.cachePut(e,r)),t}async cacheMatch(e){const t=U(e);let r;const{cacheName:a,matchOptions:i}=this._strategy,n=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},i),{cacheName:a});r=await caches.match(n,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))r=await o({cacheName:a,matchOptions:i,cachedResponse:r,request:n,event:this.event})||void 0;return r}async cachePut(e,t){const r=U(e);await de(0);const a=await this.getCacheKey(r,"write");if(!t)throw new y("cache-put-with-no-response",{url:fe(a.url)});const i=await this._ensureResponseSafeToCache(t);if(!i)return!1;const{cacheName:n,matchOptions:c}=this._strategy,o=await self.caches.open(n),l=this.hasCallback("cacheDidUpdate"),f=l?await le(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,l?i.clone():i)}catch(h){if(h instanceof Error)throw h.name==="QuotaExceededError"&&await ue(),h}for(const h of this.iterateCallbacks("cacheDidUpdate"))await h({cacheName:n,oldResponse:f,newResponse:i.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const r=`${e.url} | ${t}`;if(!this._cacheKeys[r]){let a=e;for(const i of this.iterateCallbacks("cacheKeyWillBeUsed"))a=U(await i({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[r]=a}return this._cacheKeys[r]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const r of this.iterateCallbacks(e))await r(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const r=this._pluginStateMap.get(t);yield i=>{const n=Object.assign(Object.assign({},i),{state:r});return t[e](n)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,r=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,r=!0,!t)break;return r||t&&t.status!==200&&(t=void 0),t}}class se{constructor(e={}){this.cacheName=oe.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,r=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,i=new gt(this,{event:t,request:r,params:a}),n=this._getResponse(i,r,t),c=this._awaitComplete(n,i,r,t);return[n,c]}async _getResponse(e,t,r){await e.runCallbacks("handlerWillStart",{event:r,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new y("no-response",{url:t.url})}catch(i){if(i instanceof Error){for(const n of e.iterateCallbacks("handlerDidError"))if(a=await n({error:i,event:r,request:t}),a)break}if(!a)throw i}for(const i of e.iterateCallbacks("handlerWillRespond"))a=await i({event:r,request:t,response:a});return a}async _awaitComplete(e,t,r,a){let i,n;try{i=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:r,response:i}),await t.doneWaiting()}catch(c){c instanceof Error&&(n=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:r,response:i,error:n}),t.destroy(),n)throw n}}class mt extends se{async _handle(e,t){let r=await t.cacheMatch(e),a;if(!r)try{r=await t.fetchAndCachePut(e)}catch(i){i instanceof Error&&(a=i)}if(!r)throw new y("no-response",{url:e.url,error:a});return r}}const wt={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class yt extends se{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(wt)}async _handle(e,t){const r=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(r);let a=await t.cacheMatch(e),i;if(!a)try{a=await r}catch(n){n instanceof Error&&(i=n)}if(!a)throw new y("no-response",{url:e.url,error:i});return a}}qe(([{"revision":null,"url":"assets/access-control-CpGhPXTc.js"},{"revision":null,"url":"assets/actions-B1PhmGqt.js"},{"revision":null,"url":"assets/Add-Cip-Q3Dt.js"},{"revision":null,"url":"assets/add-component-core-D-IRi6XF.css"},{"revision":null,"url":"assets/add-component-core-S6d--p5U.js"},{"revision":null,"url":"assets/add-resource-D_6iTYzR.js"},{"revision":null,"url":"assets/addon-DQmVM60-.js"},{"revision":null,"url":"assets/analytics-pgeQ2lfm.js"},{"revision":null,"url":"assets/api-C4EBZ3D8.js"},{"revision":null,"url":"assets/ar-BNajL_0Y.js"},{"revision":null,"url":"assets/ar-BvRDrl-h.js"},{"revision":null,"url":"assets/ArrowDropDown-_ravVKaf.js"},{"revision":null,"url":"assets/audit-logs-BOSpHneW.js"},{"revision":null,"url":"assets/base32-BaFZoAVl.js"},{"revision":null,"url":"assets/branding-D2p8ih1v.js"},{"revision":null,"url":"assets/bundle-avatar-CVTHuIP8.js"},{"revision":null,"url":"assets/button-CtIW722z.js"},{"revision":null,"url":"assets/CheckCircle-CFF65I7d.js"},{"revision":null,"url":"assets/ChevronLeft-DyVK0SyV.js"},{"revision":null,"url":"assets/ChevronRight-CMCOlQoz.js"},{"revision":null,"url":"assets/click-to-copy-_PxhgXLr.js"},{"revision":null,"url":"assets/cloneDeep-6qDcDoTp.js"},{"revision":null,"url":"assets/complete-BFSGt4K4.js"},{"revision":null,"url":"assets/component-603eG_Ew.js"},{"revision":null,"url":"assets/config-BvNIdp_5.js"},{"revision":null,"url":"assets/config-Ds5GJ36d.js"},{"revision":null,"url":"assets/config-navigation-BUtxa8Ou.js"},{"revision":null,"url":"assets/config-space-B3O25LpN.js"},{"revision":null,"url":"assets/confirm-D_ecdoQ0.js"},{"revision":null,"url":"assets/connect-B7wGIOWV.js"},{"revision":null,"url":"assets/connect-DaOoGzaQ.js"},{"revision":null,"url":"assets/connect-to-LerzglbN.js"},{"revision":null,"url":"assets/content-layout-B8euliPp.js"},{"revision":null,"url":"assets/dashboard-BZdOWUNs.js"},{"revision":null,"url":"assets/de-D18LzkQY.js"},{"revision":null,"url":"assets/de-Dxdjmndk.js"},{"revision":null,"url":"assets/delete-confirm-CR0L8zBT.js"},{"revision":null,"url":"assets/DeleteOutline-f6Nb7LK2.js"},{"revision":null,"url":"assets/did-address-nBrtfdFs.js"},{"revision":null,"url":"assets/domain-action-card-D5dunZOK.js"},{"revision":null,"url":"assets/domain-CYdBsWKV.js"},{"revision":null,"url":"assets/domains-BB6ArPT-.js"},{"revision":null,"url":"assets/Done-DcyOV4wB.js"},{"revision":null,"url":"assets/Download-BcZsjfbS.js"},{"revision":null,"url":"assets/EditIcon-CMs1pbEF.js"},{"revision":null,"url":"assets/email-BNOvPY_j.js"},{"revision":null,"url":"assets/Error-tDg6ei77.js"},{"revision":null,"url":"assets/es-60uy0uB_.js"},{"revision":null,"url":"assets/es-is1Q8RnK.js"},{"revision":null,"url":"assets/exchange-passport-CclpcVIv.js"},{"revision":null,"url":"assets/ExpandLess-RenWdANb.js"},{"revision":null,"url":"assets/form-text-input-Bq00oAAj.js"},{"revision":null,"url":"assets/format-error-LAoTjvJe.js"},{"revision":null,"url":"assets/fr-Buu4BG5m.js"},{"revision":null,"url":"assets/fr-D9jSqrTC.js"},{"revision":null,"url":"assets/fuel-v5AwsfnY.js"},{"revision":null,"url":"assets/fullpage-BcQv9PGo.js"},{"revision":null,"url":"assets/get-safe-url-COD6BqDE.js"},{"revision":null,"url":"assets/get-safe-url-DnoVfY5w.js"},{"revision":null,"url":"assets/Google-1jzD6KC8.js"},{"revision":null,"url":"assets/hi-DdzYMWTg.js"},{"revision":null,"url":"assets/hi-DGeeysYm.js"},{"revision":null,"url":"assets/home-D5ywxuTl.js"},{"revision":null,"url":"assets/id-BT_VHQbI.js"},{"revision":null,"url":"assets/id-NlIgbQ92.js"},{"revision":null,"url":"assets/iframe-BW5fhB2Q.js"},{"revision":null,"url":"assets/index-3ExNATkH.js"},{"revision":null,"url":"assets/index-86588CYU.js"},{"revision":null,"url":"assets/index-AgKpYdvC.css"},{"revision":null,"url":"assets/index-B38f1ha-.js"},{"revision":null,"url":"assets/index-BZu4MJFr.js"},{"revision":null,"url":"assets/index-C24CwgC5.js"},{"revision":null,"url":"assets/index-C58v-2Fi.js"},{"revision":null,"url":"assets/index-C6gyB6f8.js"},{"revision":null,"url":"assets/index-C8RdCD0h.js"},{"revision":null,"url":"assets/index-CegE1eSc.js"},{"revision":null,"url":"assets/index-CNtFrfyH.js"},{"revision":null,"url":"assets/index-CrU_I4b0.js"},{"revision":null,"url":"assets/index-CT8lkhFB.js"},{"revision":null,"url":"assets/index-D-W1QzOs.js"},{"revision":null,"url":"assets/index-D4PP6P2d.css"},{"revision":null,"url":"assets/index-D6A_8uFd.js"},{"revision":null,"url":"assets/index-DCIt8i_c.js"},{"revision":null,"url":"assets/index-DmFVT2Y_.js"},{"revision":null,"url":"assets/index-DPFaqs63.js"},{"revision":null,"url":"assets/index-DpfMI2ro.js"},{"revision":null,"url":"assets/index-Dy27yrqk.js"},{"revision":null,"url":"assets/index-Mj8Kilqv.js"},{"revision":null,"url":"assets/index-pV_0wOyY.js"},{"revision":null,"url":"assets/index-tUQxVYYQ.js"},{"revision":null,"url":"assets/index-W0vm1kUj.js"},{"revision":null,"url":"assets/index.esm-CWepf7I_.js"},{"revision":null,"url":"assets/InfoOutlined-B6WkOk1K.js"},{"revision":null,"url":"assets/invitation-BtVGAz0R.js"},{"revision":null,"url":"assets/invite-S9BXR_t-.js"},{"revision":null,"url":"assets/isEmail-DKEyei-O.js"},{"revision":null,"url":"assets/issue-passport-DCSsJu5Z.js"},{"revision":null,"url":"assets/item-D8UaCM_L.js"},{"revision":null,"url":"assets/ja-DbBQw4xE.js"},{"revision":null,"url":"assets/ja-ZWJjus9M.js"},{"revision":null,"url":"assets/ko-9PW6OpzF.js"},{"revision":null,"url":"assets/ko-BhHmR8oQ.js"},{"revision":null,"url":"assets/Launch-COjc0xnX.js"},{"revision":null,"url":"assets/launch-result-message-DgQUOIWL.js"},{"revision":null,"url":"assets/LaunchOutlined-DnsoPOkc.js"},{"revision":null,"url":"assets/layout-B4Roag3m.js"},{"revision":null,"url":"assets/list-CNds3TtZ.js"},{"revision":null,"url":"assets/list-header-ZN_SAqiN.js"},{"revision":null,"url":"assets/localization-CP5Fgk5j.js"},{"revision":null,"url":"assets/LockIcon-8k0MoCr8.js"},{"revision":null,"url":"assets/log-CepBQRTm.js"},{"revision":null,"url":"assets/log-D33dFtt_.css"},{"revision":null,"url":"assets/login-BonwAWqJ.js"},{"revision":null,"url":"assets/login-oauth-callback-C0RSY-FN.js"},{"revision":null,"url":"assets/logo-uploader-BzeW71Xt.js"},{"revision":null,"url":"assets/lost-passport-C0fUCj2g.js"},{"revision":null,"url":"assets/lottie-react.esm-CPHH620R.js"},{"revision":null,"url":"assets/MoreHoriz-CdM4YEUS.js"},{"revision":null,"url":"assets/omit-CxKFl3YR.js"},{"revision":null,"url":"assets/open-window-DFyxvWDW.js"},{"revision":null,"url":"assets/overview-CDLHFxhp.js"},{"revision":null,"url":"assets/page-header-Bqi4eBBo.js"},{"revision":null,"url":"assets/permission-DfwAG69G.js"},{"revision":null,"url":"assets/PlayArrow-BtE24rss.js"},{"revision":null,"url":"assets/preferences-CgrDODoo.js"},{"revision":null,"url":"assets/pt-BhvKzxfK.js"},{"revision":null,"url":"assets/pt-CyuvDZLt.js"},{"revision":null,"url":"assets/publish-resource-D65TC4Ul.js"},{"revision":null,"url":"assets/QuestionMarkCircle-DRDWkVkn.js"},{"revision":null,"url":"assets/raf-schd.esm-GV-XhwE0.js"},{"revision":null,"url":"assets/react-beautiful-dnd.esm-Drgsy606.js"},{"revision":null,"url":"assets/relative-time-DRojSOPl.js"},{"revision":null,"url":"assets/ru-Cc01DBPA.js"},{"revision":null,"url":"assets/ru-iFaprWdh.js"},{"revision":null,"url":"assets/sdk-BAIH7jDs.js"},{"revision":null,"url":"assets/ServerLogo-zTW7vice.js"},{"revision":null,"url":"assets/session-BqpWYLN3.js"},{"revision":null,"url":"assets/setup-gUECRHwm.js"},{"revision":null,"url":"assets/shorten-label-DXP5M5GB.js"},{"revision":null,"url":"assets/simple-select-NHdBjvAy.js"},{"revision":null,"url":"assets/slicedToArray-DPt500Gd.js"},{"revision":null,"url":"assets/start-CzuCtTit.js"},{"revision":null,"url":"assets/status-DMC0j3SC.js"},{"revision":null,"url":"assets/step-actions-CtZI7O-D.js"},{"revision":null,"url":"assets/studio-CMXW7rb0.js"},{"revision":null,"url":"assets/switch-control-DdM1x1I2.js"},{"revision":null,"url":"assets/th-B242zqWJ.js"},{"revision":null,"url":"assets/th-DMmvF5EW.js"},{"revision":null,"url":"assets/traffic-BMJATudS.js"},{"revision":null,"url":"assets/transfer-Cjx9-UOe.js"},{"revision":null,"url":"assets/unsubscribe-BpHN3o0o.js"},{"revision":null,"url":"assets/use-mobile-B-PzRAbm.js"},{"revision":null,"url":"assets/use-passport-id-B-b-_oYF.js"},{"revision":null,"url":"assets/useAsync-HJBQVHgn.js"},{"revision":null,"url":"assets/useAsyncRetry-ru9OmM2c.js"},{"revision":null,"url":"assets/useLocalStorage-Cd_KRSFh.js"},{"revision":null,"url":"assets/user-center-B942bZ7y.js"},{"revision":null,"url":"assets/useSetState-BL3ktMon.js"},{"revision":null,"url":"assets/util-b7UGzXHn.js"},{"revision":null,"url":"assets/util-CAO_sJvS.js"},{"revision":null,"url":"assets/vendor-arcblock-Bv04Mkff.js"},{"revision":null,"url":"assets/vendor-arcblock-DhgPdlEj.css"},{"revision":null,"url":"assets/vendor-hooks-DlxYXMPL.js"},{"revision":null,"url":"assets/vendor-mui-core-Dh3XBxY7.js"},{"revision":null,"url":"assets/vendor-mui-x-l1ezRCJc.js"},{"revision":null,"url":"assets/vendor-react-DoD83n6N.js"},{"revision":null,"url":"assets/vendor-utils-oUOK1Lc7.js"},{"revision":null,"url":"assets/vi-BQ0XJEjT.js"},{"revision":null,"url":"assets/vi-Bxs4l6dO.js"},{"revision":null,"url":"assets/ViewList-BZ5ZAyNP.js"},{"revision":null,"url":"assets/wrap-locale-DGhoaUE9.js"},{"revision":null,"url":"assets/zh-Cw2E9SuI.js"},{"revision":null,"url":"assets/zh-DqvUnM4F.js"},{"revision":null,"url":"assets/zh-tw-D6K-qXNE.js"},{"revision":null,"url":"assets/zh-tw-Dqct16yD.js"},{"revision":"3e798cba6b72bf4efbeb68548df1cd24","url":"index.html"},{"revision":"629a14a7e3397a134f5a30b5dc735183","url":"registerSW.js"},{"revision":"07a287e43ae8e959a20d6b367a581667","url":"router-template-styles/styles.css"},{"revision":"3c1549cff96a2d2baec44397663c083e","url":"share/shared-service-worker.js"},{"revision":"19d4c6a99cb8ed11e68209a612e7ec44","url":"share/workbox-v7.3.0/workbox-background-sync.prod.js"},{"revision":"d9d631014689e2b4b0e343c129671749","url":"share/workbox-v7.3.0/workbox-broadcast-update.prod.js"},{"revision":"bdb39ceb7380dcb1483c543e8856242b","url":"share/workbox-v7.3.0/workbox-cacheable-response.prod.js"},{"revision":"b84dd900eb18e8bc842666bbb740604e","url":"share/workbox-v7.3.0/workbox-core.prod.js"},{"revision":"c582a61c037234d8283eea0b97693b1b","url":"share/workbox-v7.3.0/workbox-expiration.prod.js"},{"revision":"866ba7d03bd871fa990976e4db312ab3","url":"share/workbox-v7.3.0/workbox-navigation-preload.prod.js"},{"revision":"0c55bb581ea7ce5ebfac1ce95cdda21f","url":"share/workbox-v7.3.0/workbox-offline-ga.prod.js"},{"revision":"770d183cf1f189a1ceb11ba8b5d808fa","url":"share/workbox-v7.3.0/workbox-precaching.prod.js"},{"revision":"295decbe1eb3b073a2a8d67cfbdf5692","url":"share/workbox-v7.3.0/workbox-range-requests.prod.js"},{"revision":"0bcb90677f3508ebc8a3571d14194478","url":"share/workbox-v7.3.0/workbox-recipes.prod.js"},{"revision":"4af96b70b2d20b041e2edd7ef1a8ef27","url":"share/workbox-v7.3.0/workbox-routing.prod.js"},{"revision":"c78c21b4058a1134ad3e12286c57cb2f","url":"share/workbox-v7.3.0/workbox-strategies.prod.js"},{"revision":"7eeb2d820d409221e076d31951fdcf79","url":"share/workbox-v7.3.0/workbox-streams.prod.js"},{"revision":"aa7368887577b9719a46b585d5dcc7a5","url":"share/workbox-v7.3.0/workbox-sw.js"},{"revision":"e768668db4eeefde11b58542900ab2ad","url":"share/workbox-v7.3.0/workbox-window.prod.umd.js"},{"revision":"f272d080151aa40322ce1603c6261ec1","url":"manifest.webmanifest"}]||[]).filter(s=>s.url!=="/"&&!s.url.includes("index.html")));pe();self.addEventListener("activate",()=>{console.log("Service Worker activated")});self.addEventListener("install",s=>{console.log("Service Worker installed"),s.waitUntil(self.skipWaiting())});const re=s=>!!(s.method!=="GET"||s.url.includes("/api")||s.url.includes("__meta__.js")||s.url.includes("__blocklet__.js"));te(({request:s})=>re(s)?!1:s.url.includes("/static/"),new mt({cacheName:`static-${self.registration.scope}`,plugins:[new ut({maxEntries:200})]}));te(({request:s})=>re(s)?!1:s.url.includes("/images/")||s.url.includes("/router/-template-styles/"),new yt({cacheName:`StaleWhileRevalidate-${self.registration.scope}`}));
|
|
2
|
+
This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(c)}}}install(e){return H(e,async()=>{const t=new Re;this.strategy.plugins.push(t);for(const[i,n]of this._urlsToCacheKeys){const c=this._cacheKeysToIntegrities.get(n),o=this._urlsToCacheModes.get(i),l=new Request(i,{integrity:c,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:n},request:l,event:e}))}const{updatedURLs:r,notUpdatedURLs:a}=t;return{updatedURLs:r,notUpdatedURLs:a}})}activate(e){return H(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),r=await t.keys(),a=new Set(this._urlsToCacheKeys.values()),i=[];for(const n of r)a.has(n.url)||(await t.delete(n),i.push(n.url));return{deletedURLs:i}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,r=this.getCacheKeyForURL(t);if(r)return(await self.caches.open(this.strategy.cacheName)).match(r)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new u("non-precached-url",{url:e});return r=>(r.request=new Request(e),r.params=Object.assign({cacheKey:t},r.params),this.strategy.handle(r))}}let T;const J=()=>(T||(T=new Me),T);try{self["workbox:routing:7.0.0"]&&_()}catch{}const z="GET",P=s=>s&&typeof s=="object"?s:{handle:s};let E=class{constructor(e,t,r=z){this.handler=P(t),this.match=e,this.method=r}setCatchHandler(e){this.catchHandler=P(e)}},Te=class extends E{constructor(e,t,r){const a=({url:i})=>{const n=e.exec(i.href);if(n&&!(i.origin!==location.origin&&n.index!==0))return n.slice(1)};super(a,t,r)}},Oe=class{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,r=this.handleRequest({request:t,event:e});r&&e.respondWith(r)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,r=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const i=new Request(...a);return this.handleRequest({request:i,event:e})}));e.waitUntil(r),e.ports&&e.ports[0]&&r.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const r=new URL(e.url,location.href);if(!r.protocol.startsWith("http"))return;const a=r.origin===location.origin,{params:i,route:n}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:r});let c=n&&n.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let l;try{l=c.handle({url:r,request:e,event:t,params:i})}catch(h){l=Promise.reject(h)}const f=n&&n.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(async h=>{if(f)try{return await f.handle({url:r,request:e,event:t,params:i})}catch(R){R instanceof Error&&(h=R)}if(this._catchHandler)return this._catchHandler.handle({url:r,request:e,event:t});throw h})),l}findMatchingRoute({url:e,sameOrigin:t,request:r,event:a}){const i=this._routes.get(r.method)||[];for(const n of i){let c;const o=n.match({url:e,sameOrigin:t,request:r,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:n,params:c}}return{}}setDefaultHandler(e,t=z){this._defaultHandlerMap.set(t,P(e))}setCatchHandler(e){this._catchHandler=P(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new u("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new u("unregister-route-route-not-registered")}},C;const Se=()=>(C||(C=new Oe,C.addFetchListener(),C.addCacheListener()),C);function Ae(s,e,t){let r;if(typeof s=="string"){const i=new URL(s,location.href),n=({url:c})=>c.href===i.href;r=new E(n,e,t)}else if(s instanceof RegExp)r=new Te(s,e,t);else if(typeof s=="function")r=new E(s,e,t);else if(s instanceof E)r=s;else throw new u("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return Se().registerRoute(r),r}function Ke(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(r=>r.test(t))&&s.searchParams.delete(t);return s}function*Ie(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:r=!0,urlManipulation:a}={}){const i=new URL(s,location.href);i.hash="",yield i.href;const n=Ke(i,e);if(yield n.href,t&&n.pathname.endsWith("/")){const c=new URL(n.href);c.pathname+=t,yield c.href}if(r){const c=new URL(n.href);c.pathname+=".html",yield c.href}if(a){const c=a({url:i});for(const o of c)yield o.href}}class We extends E{constructor(e,t){const r=({request:a})=>{const i=e.getURLsToCacheKeys();for(const n of Ie(a.url,t)){const c=i.get(n);if(c){const o=e.getIntegrityForCacheKey(c);return{cacheKey:c,integrity:o}}}};super(r,e.strategy)}}function je(s){const e=J(),t=new We(e,s);Ae(t)}function $e(s){J().precache(s)}function qe(s,e){$e(s),je(e)}try{self["workbox:core:7.0.0"]&&_()}catch{}const He=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},Be=He;class Fe extends Error{constructor(e,t){const r=Be(e,t);super(r),this.name=e,this.details=t}}function X(s){s.then(()=>{})}const Ve=(s,e)=>e.some(t=>s instanceof t);let F,V;function Ge(){return F||(F=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Qe(){return V||(V=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Y=new WeakMap,I=new WeakMap,Z=new WeakMap,O=new WeakMap,$=new WeakMap;function Je(s){const e=new Promise((t,r)=>{const a=()=>{s.removeEventListener("success",i),s.removeEventListener("error",n)},i=()=>{t(m(s.result)),a()},n=()=>{r(s.error),a()};s.addEventListener("success",i),s.addEventListener("error",n)});return e.then(t=>{t instanceof IDBCursor&&Y.set(t,s)}).catch(()=>{}),$.set(e,s),e}function ze(s){if(I.has(s))return;const e=new Promise((t,r)=>{const a=()=>{s.removeEventListener("complete",i),s.removeEventListener("error",n),s.removeEventListener("abort",n)},i=()=>{t(),a()},n=()=>{r(s.error||new DOMException("AbortError","AbortError")),a()};s.addEventListener("complete",i),s.addEventListener("error",n),s.addEventListener("abort",n)});I.set(s,e)}let W={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return I.get(s);if(e==="objectStoreNames")return s.objectStoreNames||Z.get(s);if(e==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return m(s[e])},set(s,e,t){return s[e]=t,!0},has(s,e){return s instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in s}};function Xe(s){W=s(W)}function Ye(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const r=s.call(S(this),e,...t);return Z.set(r,e.sort?e.sort():[e]),m(r)}:Qe().includes(s)?function(...e){return s.apply(S(this),e),m(Y.get(this))}:function(...e){return m(s.apply(S(this),e))}}function Ze(s){return typeof s=="function"?Ye(s):(s instanceof IDBTransaction&&ze(s),Ve(s,Ge())?new Proxy(s,W):s)}function m(s){if(s instanceof IDBRequest)return Je(s);if(O.has(s))return O.get(s);const e=Ze(s);return e!==s&&(O.set(s,e),$.set(e,s)),e}const S=s=>$.get(s);function et(s,e,{blocked:t,upgrade:r,blocking:a,terminated:i}={}){const n=indexedDB.open(s,e),c=m(n);return r&&n.addEventListener("upgradeneeded",o=>{r(m(n.result),o.oldVersion,o.newVersion,m(n.transaction),o)}),t&&n.addEventListener("blocked",o=>t(o.oldVersion,o.newVersion,o)),c.then(o=>{i&&o.addEventListener("close",()=>i()),a&&o.addEventListener("versionchange",l=>a(l.oldVersion,l.newVersion,l))}).catch(()=>{}),c}function tt(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",r=>e(r.oldVersion,r)),m(t).then(()=>{})}const st=["get","getKey","getAll","getAllKeys","count"],rt=["put","add","delete","clear"],A=new Map;function G(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(A.get(e))return A.get(e);const t=e.replace(/FromIndex$/,""),r=e!==t,a=rt.includes(t);if(!(t in(r?IDBIndex:IDBObjectStore).prototype)||!(a||st.includes(t)))return;const i=async function(n,...c){const o=this.transaction(n,a?"readwrite":"readonly");let l=o.store;return r&&(l=l.index(c.shift())),(await Promise.all([l[t](...c),a&&o.done]))[0]};return A.set(e,i),i}Xe(s=>({...s,get:(e,t,r)=>G(e,t)||s.get(e,t,r),has:(e,t)=>!!G(e,t)||s.has(e,t)}));try{self["workbox:expiration:7.0.0"]&&_()}catch{}const at="workbox-expiration",x="cache-entries",Q=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class nt{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(x,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&tt(this._cacheName)}async setTimestamp(e,t){e=Q(e);const r={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},i=(await this.getDb()).transaction(x,"readwrite",{durability:"relaxed"});await i.store.put(r),await i.done}async getTimestamp(e){const r=await(await this.getDb()).get(x,this._getId(e));return r==null?void 0:r.timestamp}async expireEntries(e,t){const r=await this.getDb();let a=await r.transaction(x).store.index("timestamp").openCursor(null,"prev");const i=[];let n=0;for(;a;){const o=a.value;o.cacheName===this._cacheName&&(e&&o.timestamp<e||t&&n>=t?i.push(a.value):n++),a=await a.continue()}const c=[];for(const o of i)await r.delete(x,o.id),c.push(o.url);return c}_getId(e){return this._cacheName+"|"+Q(e)}async getDb(){return this._db||(this._db=await et(at,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class it{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new nt(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),r=await self.caches.open(this._cacheName);for(const a of t)await r.delete(a,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,X(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),r=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t<r:!0}else return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}const g={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},K=s=>[g.prefix,s,g.suffix].filter(e=>e&&e.length>0).join("-"),ct=s=>{for(const e of Object.keys(g))s(e)},ot={updateDetails:s=>{ct(e=>{typeof s[e]=="string"&&(g[e]=s[e])})},getGoogleAnalyticsName:s=>s||K(g.googleAnalytics),getPrecacheName:s=>s||K(g.precache),getPrefix:()=>g.prefix,getRuntimeName:s=>s||K(g.runtime),getSuffix:()=>g.suffix},lt=new Set;function ht(s){lt.add(s)}class ut{constructor(e={}){this.cachedResponseWillBeUsed=async({event:t,request:r,cacheName:a,cachedResponse:i})=>{if(!i)return null;const n=this._isResponseDateFresh(i),c=this._getCacheExpiration(a);X(c.expireEntries());const o=c.updateTimestamp(r.url);if(t)try{t.waitUntil(o)}catch{}return n?i:null},this.cacheDidUpdate=async({cacheName:t,request:r})=>{const a=this._getCacheExpiration(t);await a.updateTimestamp(r.url),await a.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&ht(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===ot.getRuntimeName())throw new Fe("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new it(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(t===null)return!0;const r=Date.now();return t>=r-this._maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),a=new Date(t).getTime();return isNaN(a)?null:a}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}try{self["workbox:routing:7.0.0"]&&_()}catch{}const ee="GET",v=s=>s&&typeof s=="object"?s:{handle:s};class L{constructor(e,t,r=ee){this.handler=v(t),this.match=e,this.method=r}setCatchHandler(e){this.catchHandler=v(e)}}class ft extends L{constructor(e,t,r){const a=({url:i})=>{const n=e.exec(i.href);if(n&&!(i.origin!==location.origin&&n.index!==0))return n.slice(1)};super(a,t,r)}}class dt{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,r=this.handleRequest({request:t,event:e});r&&e.respondWith(r)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,r=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const i=new Request(...a);return this.handleRequest({request:i,event:e})}));e.waitUntil(r),e.ports&&e.ports[0]&&r.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const r=new URL(e.url,location.href);if(!r.protocol.startsWith("http"))return;const a=r.origin===location.origin,{params:i,route:n}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:r});let c=n&&n.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let l;try{l=c.handle({url:r,request:e,event:t,params:i})}catch(h){l=Promise.reject(h)}const f=n&&n.catchHandler;return l instanceof Promise&&(this._catchHandler||f)&&(l=l.catch(async h=>{if(f)try{return await f.handle({url:r,request:e,event:t,params:i})}catch(R){R instanceof Error&&(h=R)}if(this._catchHandler)return this._catchHandler.handle({url:r,request:e,event:t});throw h})),l}findMatchingRoute({url:e,sameOrigin:t,request:r,event:a}){const i=this._routes.get(r.method)||[];for(const n of i){let c;const o=n.match({url:e,sameOrigin:t,request:r,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:n,params:c}}return{}}setDefaultHandler(e,t=ee){this._defaultHandlerMap.set(t,v(e))}setCatchHandler(e){this._catchHandler=v(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new y("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new y("unregister-route-route-not-registered")}}let k;const pt=()=>(k||(k=new dt,k.addFetchListener(),k.addCacheListener()),k);function te(s,e,t){let r;if(typeof s=="string"){const i=new URL(s,location.href),n=({url:c})=>c.href===i.href;r=new L(n,e,t)}else if(s instanceof RegExp)r=new ft(s,e,t);else if(typeof s=="function")r=new L(s,e,t);else if(s instanceof L)r=s;else throw new y("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return pt().registerRoute(r),r}try{self["workbox:strategies:7.0.0"]&&_()}catch{}function U(s){return typeof s=="string"?new Request(s):s}class gt{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new he,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const r of this._plugins)this._pluginStateMap.set(r,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let r=U(e);if(r.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const n=await t.preloadResponse;if(n)return n}const a=this.hasCallback("fetchDidFail")?r.clone():null;try{for(const n of this.iterateCallbacks("requestWillFetch"))r=await n({request:r.clone(),event:t})}catch(n){if(n instanceof Error)throw new y("plugin-error-request-will-fetch",{thrownErrorMessage:n.message})}const i=r.clone();try{let n;n=await fetch(r,r.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))n=await c({event:t,request:i,response:n});return n}catch(n){throw a&&await this.runCallbacks("fetchDidFail",{error:n,event:t,originalRequest:a.clone(),request:i.clone()}),n}}async fetchAndCachePut(e){const t=await this.fetch(e),r=t.clone();return this.waitUntil(this.cachePut(e,r)),t}async cacheMatch(e){const t=U(e);let r;const{cacheName:a,matchOptions:i}=this._strategy,n=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},i),{cacheName:a});r=await caches.match(n,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))r=await o({cacheName:a,matchOptions:i,cachedResponse:r,request:n,event:this.event})||void 0;return r}async cachePut(e,t){const r=U(e);await de(0);const a=await this.getCacheKey(r,"write");if(!t)throw new y("cache-put-with-no-response",{url:fe(a.url)});const i=await this._ensureResponseSafeToCache(t);if(!i)return!1;const{cacheName:n,matchOptions:c}=this._strategy,o=await self.caches.open(n),l=this.hasCallback("cacheDidUpdate"),f=l?await le(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,l?i.clone():i)}catch(h){if(h instanceof Error)throw h.name==="QuotaExceededError"&&await ue(),h}for(const h of this.iterateCallbacks("cacheDidUpdate"))await h({cacheName:n,oldResponse:f,newResponse:i.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const r=`${e.url} | ${t}`;if(!this._cacheKeys[r]){let a=e;for(const i of this.iterateCallbacks("cacheKeyWillBeUsed"))a=U(await i({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[r]=a}return this._cacheKeys[r]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const r of this.iterateCallbacks(e))await r(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const r=this._pluginStateMap.get(t);yield i=>{const n=Object.assign(Object.assign({},i),{state:r});return t[e](n)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,r=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,r=!0,!t)break;return r||t&&t.status!==200&&(t=void 0),t}}class se{constructor(e={}){this.cacheName=oe.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,r=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,i=new gt(this,{event:t,request:r,params:a}),n=this._getResponse(i,r,t),c=this._awaitComplete(n,i,r,t);return[n,c]}async _getResponse(e,t,r){await e.runCallbacks("handlerWillStart",{event:r,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new y("no-response",{url:t.url})}catch(i){if(i instanceof Error){for(const n of e.iterateCallbacks("handlerDidError"))if(a=await n({error:i,event:r,request:t}),a)break}if(!a)throw i}for(const i of e.iterateCallbacks("handlerWillRespond"))a=await i({event:r,request:t,response:a});return a}async _awaitComplete(e,t,r,a){let i,n;try{i=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:r,response:i}),await t.doneWaiting()}catch(c){c instanceof Error&&(n=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:r,response:i,error:n}),t.destroy(),n)throw n}}class mt extends se{async _handle(e,t){let r=await t.cacheMatch(e),a;if(!r)try{r=await t.fetchAndCachePut(e)}catch(i){i instanceof Error&&(a=i)}if(!r)throw new y("no-response",{url:e.url,error:a});return r}}const wt={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class yt extends se{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(wt)}async _handle(e,t){const r=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(r);let a=await t.cacheMatch(e),i;if(!a)try{a=await r}catch(n){n instanceof Error&&(i=n)}if(!a)throw new y("no-response",{url:e.url,error:i});return a}}qe(([{"revision":null,"url":"assets/access-control-f3_Azppj.js"},{"revision":null,"url":"assets/actions-BLxaYaFH.js"},{"revision":null,"url":"assets/add-component-core-B7Gu6G9O.js"},{"revision":null,"url":"assets/add-component-core-D-IRi6XF.css"},{"revision":null,"url":"assets/Add-hDPhgcb8.js"},{"revision":null,"url":"assets/add-resource-Dod13n0P.js"},{"revision":null,"url":"assets/addon-D0oJMRF-.js"},{"revision":null,"url":"assets/analytics-CgyKfOXs.js"},{"revision":null,"url":"assets/api-C4EBZ3D8.js"},{"revision":null,"url":"assets/ar-BNajL_0Y.js"},{"revision":null,"url":"assets/ar-BvRDrl-h.js"},{"revision":null,"url":"assets/ArrowDropDown-S78kvSgg.js"},{"revision":null,"url":"assets/audit-logs-D3uqnYW7.js"},{"revision":null,"url":"assets/base32-BkXUMliK.js"},{"revision":null,"url":"assets/branding-DNZx02j9.js"},{"revision":null,"url":"assets/bundle-avatar-CPxLfXrI.js"},{"revision":null,"url":"assets/button-B6x_cuep.js"},{"revision":null,"url":"assets/CheckCircle-KfKBnFRW.js"},{"revision":null,"url":"assets/ChevronLeft-CbtVFRMC.js"},{"revision":null,"url":"assets/ChevronRight-WXIi0AqM.js"},{"revision":null,"url":"assets/click-to-copy-CGY-KfC1.js"},{"revision":null,"url":"assets/cloneDeep-6qDcDoTp.js"},{"revision":null,"url":"assets/complete-D578HSm9.js"},{"revision":null,"url":"assets/component-DCe18oJu.js"},{"revision":null,"url":"assets/config-AUN0KmC2.js"},{"revision":null,"url":"assets/config-BUwSAf4L.js"},{"revision":null,"url":"assets/config-navigation-CaYhfgdu.js"},{"revision":null,"url":"assets/config-space-CYs5vTpU.js"},{"revision":null,"url":"assets/confirm-DysGsWlb.js"},{"revision":null,"url":"assets/connect-CGmwjDQl.js"},{"revision":null,"url":"assets/connect-CswAw6jx.js"},{"revision":null,"url":"assets/connect-to-BQCKg6lB.js"},{"revision":null,"url":"assets/content-layout-B8euliPp.js"},{"revision":null,"url":"assets/dashboard-BYP0lFc1.js"},{"revision":null,"url":"assets/de-D18LzkQY.js"},{"revision":null,"url":"assets/de-Dxdjmndk.js"},{"revision":null,"url":"assets/delete-confirm-CxJ_xq3P.js"},{"revision":null,"url":"assets/DeleteOutline-CDgHO4-2.js"},{"revision":null,"url":"assets/did-address-Bf8qM4uR.js"},{"revision":null,"url":"assets/domain-action-card-BhI9_vPO.js"},{"revision":null,"url":"assets/domain-DziiMtvO.js"},{"revision":null,"url":"assets/domains-DQHyaAeW.js"},{"revision":null,"url":"assets/Done-Ck5ymNM-.js"},{"revision":null,"url":"assets/Download-BCt5_Xtj.js"},{"revision":null,"url":"assets/EditIcon-CMs1pbEF.js"},{"revision":null,"url":"assets/email-KAJlxYPo.js"},{"revision":null,"url":"assets/Error-DunMaBzN.js"},{"revision":null,"url":"assets/es-60uy0uB_.js"},{"revision":null,"url":"assets/es-is1Q8RnK.js"},{"revision":null,"url":"assets/exchange-passport-C3AhVaU1.js"},{"revision":null,"url":"assets/ExpandLess-JQZdwBbU.js"},{"revision":null,"url":"assets/form-text-input-DGrWoQps.js"},{"revision":null,"url":"assets/format-error-LAoTjvJe.js"},{"revision":null,"url":"assets/fr-Buu4BG5m.js"},{"revision":null,"url":"assets/fr-D9jSqrTC.js"},{"revision":null,"url":"assets/fuel-DerZDNtI.js"},{"revision":null,"url":"assets/fullpage-DasvZmzb.js"},{"revision":null,"url":"assets/get-safe-url-Cjj-SJ8P.js"},{"revision":null,"url":"assets/get-safe-url-D4LuJrKT.js"},{"revision":null,"url":"assets/Google-Bdmd8THj.js"},{"revision":null,"url":"assets/hi-DdzYMWTg.js"},{"revision":null,"url":"assets/hi-DGeeysYm.js"},{"revision":null,"url":"assets/home-JWShj3xG.js"},{"revision":null,"url":"assets/id-BT_VHQbI.js"},{"revision":null,"url":"assets/id-NlIgbQ92.js"},{"revision":null,"url":"assets/iframe-CaPZffPT.js"},{"revision":null,"url":"assets/index--xsUDxoE.js"},{"revision":null,"url":"assets/index-3unD3ckH.js"},{"revision":null,"url":"assets/index-AgKpYdvC.css"},{"revision":null,"url":"assets/index-BhSRK58N.js"},{"revision":null,"url":"assets/index-BLXh-rLN.js"},{"revision":null,"url":"assets/index-Brx6-WRV.js"},{"revision":null,"url":"assets/index-BVEhbxkj.js"},{"revision":null,"url":"assets/index-BZu4MJFr.js"},{"revision":null,"url":"assets/index-C24CwgC5.js"},{"revision":null,"url":"assets/index-CikqCCcV.js"},{"revision":null,"url":"assets/index-CQoDmhBj.js"},{"revision":null,"url":"assets/index-CxSfbL8C.js"},{"revision":null,"url":"assets/index-D-_kJXEQ.js"},{"revision":null,"url":"assets/index-D-W1QzOs.js"},{"revision":null,"url":"assets/index-D4PP6P2d.css"},{"revision":null,"url":"assets/index-DBdIGGHk.js"},{"revision":null,"url":"assets/index-dmAbWYEg.js"},{"revision":null,"url":"assets/index-DmFVT2Y_.js"},{"revision":null,"url":"assets/index-DoNZBHNi.js"},{"revision":null,"url":"assets/index-Doq3Vtou.js"},{"revision":null,"url":"assets/index-javzz5zL.js"},{"revision":null,"url":"assets/index-KQ6M4B59.js"},{"revision":null,"url":"assets/index-Mj8Kilqv.js"},{"revision":null,"url":"assets/index-pV_0wOyY.js"},{"revision":null,"url":"assets/index-tUQxVYYQ.js"},{"revision":null,"url":"assets/index.esm-CWepf7I_.js"},{"revision":null,"url":"assets/InfoOutlined-C4DBI2hZ.js"},{"revision":null,"url":"assets/invitation-C7DIKmu_.js"},{"revision":null,"url":"assets/invite-BL1KzmsJ.js"},{"revision":null,"url":"assets/isEmail-DKEyei-O.js"},{"revision":null,"url":"assets/issue-passport-00ieW7dP.js"},{"revision":null,"url":"assets/item-CZ7lE3uJ.js"},{"revision":null,"url":"assets/ja-DbBQw4xE.js"},{"revision":null,"url":"assets/ja-ZWJjus9M.js"},{"revision":null,"url":"assets/ko-9PW6OpzF.js"},{"revision":null,"url":"assets/ko-BhHmR8oQ.js"},{"revision":null,"url":"assets/Launch-C-Inbjf1.js"},{"revision":null,"url":"assets/launch-result-message-DgQUOIWL.js"},{"revision":null,"url":"assets/LaunchOutlined-CMeuETnG.js"},{"revision":null,"url":"assets/layout-C5Uy45Tb.js"},{"revision":null,"url":"assets/list-DS7ThX70.js"},{"revision":null,"url":"assets/list-header-CIWer9RC.js"},{"revision":null,"url":"assets/localization-BqlHRVPq.js"},{"revision":null,"url":"assets/LockIcon-8k0MoCr8.js"},{"revision":null,"url":"assets/log-5sot6gUJ.js"},{"revision":null,"url":"assets/log-D33dFtt_.css"},{"revision":null,"url":"assets/login-CGLjmpPa.js"},{"revision":null,"url":"assets/login-oauth-callback-2BZORM7d.js"},{"revision":null,"url":"assets/logo-uploader-BUbZey33.js"},{"revision":null,"url":"assets/lost-passport-CsnG9qDe.js"},{"revision":null,"url":"assets/lottie-react.esm-CPHH620R.js"},{"revision":null,"url":"assets/MoreHoriz-SXaWAchr.js"},{"revision":null,"url":"assets/omit-CxKFl3YR.js"},{"revision":null,"url":"assets/open-window-OGNFGaoa.js"},{"revision":null,"url":"assets/overview-DMYIOaJ3.js"},{"revision":null,"url":"assets/page-header-BxFwzzsQ.js"},{"revision":null,"url":"assets/permission-CFzf76RO.js"},{"revision":null,"url":"assets/PlayArrow-Drngi6DM.js"},{"revision":null,"url":"assets/preferences-BcS_Bi9F.js"},{"revision":null,"url":"assets/pt-BhvKzxfK.js"},{"revision":null,"url":"assets/pt-CyuvDZLt.js"},{"revision":null,"url":"assets/publish-resource-PsYRscNX.js"},{"revision":null,"url":"assets/QuestionMarkCircle-DRDWkVkn.js"},{"revision":null,"url":"assets/raf-schd.esm-GV-XhwE0.js"},{"revision":null,"url":"assets/react-beautiful-dnd.esm-iBp-yx3f.js"},{"revision":null,"url":"assets/relative-time-DKp6opcA.js"},{"revision":null,"url":"assets/ru-Cc01DBPA.js"},{"revision":null,"url":"assets/ru-iFaprWdh.js"},{"revision":null,"url":"assets/sdk-cfSPGhz-.js"},{"revision":null,"url":"assets/ServerLogo-zTW7vice.js"},{"revision":null,"url":"assets/session-OA-ygaPp.js"},{"revision":null,"url":"assets/setup-58gBrv4L.js"},{"revision":null,"url":"assets/shorten-label-DXP5M5GB.js"},{"revision":null,"url":"assets/simple-select-NHdBjvAy.js"},{"revision":null,"url":"assets/slicedToArray-DPt500Gd.js"},{"revision":null,"url":"assets/start-A6ay_10_.js"},{"revision":null,"url":"assets/status-Ds_eN-NY.js"},{"revision":null,"url":"assets/step-actions-DTx1d1Sw.js"},{"revision":null,"url":"assets/studio-DfQNKV55.js"},{"revision":null,"url":"assets/switch-control-BBeZvEAE.js"},{"revision":null,"url":"assets/th-B242zqWJ.js"},{"revision":null,"url":"assets/th-DMmvF5EW.js"},{"revision":null,"url":"assets/traffic-Gc0h4-UU.js"},{"revision":null,"url":"assets/transfer-DQE_fCzw.js"},{"revision":null,"url":"assets/unsubscribe-CdrwBtFq.js"},{"revision":null,"url":"assets/use-mobile-B-PzRAbm.js"},{"revision":null,"url":"assets/use-passport-id-B-b-_oYF.js"},{"revision":null,"url":"assets/useAsync-DG6gLBRZ.js"},{"revision":null,"url":"assets/useAsyncRetry-DGf8Nzkx.js"},{"revision":null,"url":"assets/useLocalStorage-D_fQAujG.js"},{"revision":null,"url":"assets/user-center-BDUUKdSj.js"},{"revision":null,"url":"assets/useSetState-BL3ktMon.js"},{"revision":null,"url":"assets/util-Ca9j-VTa.js"},{"revision":null,"url":"assets/util-x3peBGqE.js"},{"revision":null,"url":"assets/vendor-arcblock-DhgPdlEj.css"},{"revision":null,"url":"assets/vendor-arcblock-o7bY298v.js"},{"revision":null,"url":"assets/vendor-hooks-Bxo1qD_4.js"},{"revision":null,"url":"assets/vendor-mui-core-Dh3XBxY7.js"},{"revision":null,"url":"assets/vendor-mui-x-l1ezRCJc.js"},{"revision":null,"url":"assets/vendor-react-DoD83n6N.js"},{"revision":null,"url":"assets/vendor-utils-oUOK1Lc7.js"},{"revision":null,"url":"assets/vi-BQ0XJEjT.js"},{"revision":null,"url":"assets/vi-Bxs4l6dO.js"},{"revision":null,"url":"assets/ViewList-CIudz6A1.js"},{"revision":null,"url":"assets/wrap-locale-DOh7YZzw.js"},{"revision":null,"url":"assets/zh-Cw2E9SuI.js"},{"revision":null,"url":"assets/zh-DqvUnM4F.js"},{"revision":null,"url":"assets/zh-tw-D6K-qXNE.js"},{"revision":null,"url":"assets/zh-tw-Dqct16yD.js"},{"revision":"7fff25d9c813cd91f829ba8f2b6c0b5d","url":"index.html"},{"revision":"629a14a7e3397a134f5a30b5dc735183","url":"registerSW.js"},{"revision":"07a287e43ae8e959a20d6b367a581667","url":"router-template-styles/styles.css"},{"revision":"3c1549cff96a2d2baec44397663c083e","url":"share/shared-service-worker.js"},{"revision":"19d4c6a99cb8ed11e68209a612e7ec44","url":"share/workbox-v7.3.0/workbox-background-sync.prod.js"},{"revision":"d9d631014689e2b4b0e343c129671749","url":"share/workbox-v7.3.0/workbox-broadcast-update.prod.js"},{"revision":"bdb39ceb7380dcb1483c543e8856242b","url":"share/workbox-v7.3.0/workbox-cacheable-response.prod.js"},{"revision":"b84dd900eb18e8bc842666bbb740604e","url":"share/workbox-v7.3.0/workbox-core.prod.js"},{"revision":"c582a61c037234d8283eea0b97693b1b","url":"share/workbox-v7.3.0/workbox-expiration.prod.js"},{"revision":"866ba7d03bd871fa990976e4db312ab3","url":"share/workbox-v7.3.0/workbox-navigation-preload.prod.js"},{"revision":"0c55bb581ea7ce5ebfac1ce95cdda21f","url":"share/workbox-v7.3.0/workbox-offline-ga.prod.js"},{"revision":"770d183cf1f189a1ceb11ba8b5d808fa","url":"share/workbox-v7.3.0/workbox-precaching.prod.js"},{"revision":"295decbe1eb3b073a2a8d67cfbdf5692","url":"share/workbox-v7.3.0/workbox-range-requests.prod.js"},{"revision":"0bcb90677f3508ebc8a3571d14194478","url":"share/workbox-v7.3.0/workbox-recipes.prod.js"},{"revision":"4af96b70b2d20b041e2edd7ef1a8ef27","url":"share/workbox-v7.3.0/workbox-routing.prod.js"},{"revision":"c78c21b4058a1134ad3e12286c57cb2f","url":"share/workbox-v7.3.0/workbox-strategies.prod.js"},{"revision":"7eeb2d820d409221e076d31951fdcf79","url":"share/workbox-v7.3.0/workbox-streams.prod.js"},{"revision":"aa7368887577b9719a46b585d5dcc7a5","url":"share/workbox-v7.3.0/workbox-sw.js"},{"revision":"e768668db4eeefde11b58542900ab2ad","url":"share/workbox-v7.3.0/workbox-window.prod.umd.js"},{"revision":"f272d080151aa40322ce1603c6261ec1","url":"manifest.webmanifest"}]||[]).filter(s=>s.url!=="/"&&!s.url.includes("index.html")));pe();self.addEventListener("activate",()=>{console.log("Service Worker activated")});self.addEventListener("install",s=>{console.log("Service Worker installed"),s.waitUntil(self.skipWaiting())});const re=s=>!!(s.method!=="GET"||s.url.includes("/api")||s.url.includes("__meta__.js")||s.url.includes("__blocklet__.js"));te(({request:s})=>re(s)?!1:s.url.includes("/static/"),new mt({cacheName:`static-${self.registration.scope}`,plugins:[new ut({maxEntries:200})]}));te(({request:s})=>re(s)?!1:s.url.includes("/images/")||s.url.includes("/router/-template-styles/"),new yt({cacheName:`StaleWhileRevalidate-${self.registration.scope}`}));
|