@accounter/client 0.0.11-alpha-20260126203116-e4ae2d445da89ef2194deb61fef02975089397cb → 0.0.11-alpha-20260127003049-645fd098953496e479b2e254667627ca632506b6
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/CHANGELOG.md +1 -1
- package/dist/assets/{Checkbox-De6ghCZT.js → Checkbox-D5PsdcQv.js} +1 -1
- package/dist/assets/{MultiSelect-Ca6lO0tL.js → MultiSelect-C5wjF9jC.js} +1 -1
- package/dist/assets/{Progress-26V_Zxr-.js → Progress-CUpt9lUI.js} +1 -1
- package/dist/assets/{Table-8-ldSKpC.js → Table-pGQWLQ8H.js} +1 -1
- package/dist/assets/{Typography-DyOGysfv.js → Typography-B3aRT5ej.js} +1 -1
- package/dist/assets/{accordion-DP7ZozTk.js → accordion-Bd6kAhfN.js} +1 -1
- package/dist/assets/{accountant-approvals-DKeksuRo.js → accountant-approvals-BJGkKn8O.js} +1 -1
- package/dist/assets/{accounter-table-D91AAtb3.js → accounter-table-CioecC_Y.js} +1 -1
- package/dist/assets/{addDays-DbQpcl70.js → addDays-DhQZBfTq.js} +1 -1
- package/dist/assets/{all-charges-C25sw4Vw.js → all-charges-UjLePnh5.js} +1 -1
- package/dist/assets/{arrow-up-down-Du86WmzT.js → arrow-up-down-YhPbp1Ud.js} +1 -1
- package/dist/assets/{building-2-BgbaTAJm.js → building-2-Df516nsd.js} +1 -1
- package/dist/assets/{business-B_k5j_ba.js → business-CryBsRqy.js} +1 -1
- package/dist/assets/{business-extended-info-Dn8Jjrlr.js → business-extended-info-zz1obrFs.js} +1 -1
- package/dist/assets/{business-header-CVNY-ll1.js → business-header-DL-hzsQ4.js} +1 -1
- package/dist/assets/{business-ledger-filters-Ctqgcwo5.js → business-ledger-filters-Dh6IJIbe.js} +1 -1
- package/dist/assets/{business-ledger-single-B2zYi6oe.js → business-ledger-single-ebXw596v.js} +1 -1
- package/dist/assets/business-trip-Bn5hm1D5.js +1 -0
- package/dist/assets/charge-DhvD1RST.js +1 -0
- package/dist/assets/{charges-filters-Ss76EpGY.js → charges-filters-BLSfy08K.js} +1 -1
- package/dist/assets/{charges-ledger-validation-829LsQIR.js → charges-ledger-validation-BOn22w9P.js} +1 -1
- package/dist/assets/{charges-table-CmHxXzVR.js → charges-table-Bjk5Mz--.js} +1 -1
- package/dist/assets/{contracts-CoybM2nI.js → contracts-iKKpsNnL.js} +1 -1
- package/dist/assets/{data-table-column-header-_ZrN0Vs6.js → data-table-column-header--gzXkv5r.js} +1 -1
- package/dist/assets/{data-table-pagination-DAvY_qBU.js → data-table-pagination-CLXUcmJJ.js} +1 -1
- package/dist/assets/{deposits-transactions-table-DGuOHsiS.js → deposits-transactions-table-CV-YceTW.js} +1 -1
- package/dist/assets/{download-csv-button-C12VYNQh.js → download-csv-button-DVLHjMAB.js} +1 -1
- package/dist/assets/{download-csv-CI8CQmZN.js → download-csv-weF1Lwst.js} +1 -1
- package/dist/assets/{editable-business-trip-DEIjhoGd.js → editable-business-trip-DRSlJ54m.js} +1 -1
- package/dist/assets/{eye-off-DPLQFIHz.js → eye-off-DWYC0Eax.js} +1 -1
- package/dist/assets/{funnel-DrbTHWGk.js → funnel-0IvwyZBf.js} +1 -1
- package/dist/assets/{index-Y8bTnSrF.js → index-1oajNqKA.js} +1 -1
- package/dist/assets/{index-DAU5uvX5.js → index-AI_GyykK.js} +1 -1
- package/dist/assets/{index-SeZ6e2IY.js → index-B6VKQBtu.js} +1 -1
- package/dist/assets/{index-CPWGn2pz.js → index-BA-I_zCt.js} +1 -1
- package/dist/assets/{index-DiURoW7Y.js → index-BESPuoZl.js} +1 -1
- package/dist/assets/{index-Tbw04SMm.js → index-BFEE5U-A.js} +1 -1
- package/dist/assets/{index-CTwMeBqF.js → index-BINmUTjA.js} +1 -1
- package/dist/assets/{index-xFXxtg2C.js → index-BoVSybOL.js} +1 -1
- package/dist/assets/{index-DLG-Can3.js → index-BrgWieYs.js} +1 -1
- package/dist/assets/{index-Ci6HaxoD.js → index-Bw_9Tifu.js} +1 -1
- package/dist/assets/{index-D3BVMctX.js → index-CAAL0SGN.js} +1 -1
- package/dist/assets/{index-B6dfuYIx.js → index-CGpiJ6wl.js} +1 -1
- package/dist/assets/{index-BmpxpR0w.js → index-CHzieg87.js} +1 -1
- package/dist/assets/{index-BFXVaxb0.js → index-CVefTdZ8.js} +1 -1
- package/dist/assets/{index-HzW6tFXv.js → index-CYLoUT7S.js} +1 -1
- package/dist/assets/{index-CWB4GuES.js → index-CgvjLFyG.js} +1 -1
- package/dist/assets/{index-ZKG76s7Z.js → index-CkPv0ZF8.js} +1 -1
- package/dist/assets/{index-B48UbZgd.js → index-Cm0VDoDd.js} +1 -1
- package/dist/assets/{index-llwTvhRi.js → index-D1_HHRLX.js} +5 -5
- package/dist/assets/{index-BWVeSaVH.js → index-DSAS0BpU.js} +1 -1
- package/dist/assets/{index-DT0MsOt-.js → index-DZFQ92ui.js} +1 -1
- package/dist/assets/{index-Cl0HzH8n.js → index-D_XfDEW8.js} +1 -1
- package/dist/assets/{index-BfmxxMgF.js → index-DaDghnaZ.js} +1 -1
- package/dist/assets/{index-EUnNrMjG.js → index-MPZl3TTq.js} +1 -1
- package/dist/assets/{index-6voPIuBc.js → index-ajJcMQms.js} +1 -1
- package/dist/assets/{index-DJdqwTB-.js → index-v8SIf-h9.js} +1 -1
- package/dist/assets/{index.es-CFgf-VWh.js → index.es-Dkm1W8bL.js} +1 -1
- package/dist/assets/issue-document-yi3XXbpe.js +1 -0
- package/dist/assets/{login-page-BUNJ0vL_.js → login-page-B5bqhOTx.js} +1 -1
- package/dist/assets/{missing-info-charges-Dsy5oUHu.js → missing-info-charges-DiIM7lBQ.js} +1 -1
- package/dist/assets/{modal-B0cCJdW9.js → modal-CNW2FGYc.js} +1 -1
- package/dist/assets/{modify-contract-dialog-DNQYpsqS.js → modify-contract-dialog-BBPR_IL8.js} +1 -1
- package/dist/assets/{page-layout-ClvcCJfx.js → page-layout-BOjYoqoi.js} +1 -1
- package/dist/assets/{page-not-found-zY3WEMae.js → page-not-found-UQZi0ekr.js} +1 -1
- package/dist/assets/{panel-top-open-pJuuLeLe.js → panel-top-open-Bxnxp1BU.js} +1 -1
- package/dist/assets/{report-commentary-row-CuMCzc7C.js → report-commentary-row-BtmSnv64.js} +1 -1
- package/dist/assets/{save-Dlfry6XY.js → save-BHNOV5fu.js} +1 -1
- package/dist/assets/{similar-transactions-modal-DjIjqO-0.js → similar-transactions-modal-BTidmv0G.js} +1 -1
- package/dist/assets/{sub-D5WK8Yq6.js → sub-6-HnNA3H.js} +1 -1
- package/dist/assets/subMonths-nC9-M0qS.js +1 -0
- package/dist/assets/{summary-yl9MRbvK.js → summary-C5TvRXn1.js} +1 -1
- package/dist/assets/{toggle-expansion-button-CGwmL9mo.js → toggle-expansion-button-Dg_XsE6y.js} +1 -1
- package/dist/assets/{update-accountant-status-QJ1upFTt.js → update-accountant-status-CU6mIJqS.js} +1 -1
- package/dist/assets/{use-issue-monthly-documents-pV0tTZGQ.js → use-issue-monthly-documents-CdxtNiuP.js} +1 -1
- package/dist/assets/{use-url-query-C70bqR6l.js → use-url-query-RoURh24O.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/business-trip-BTFVFqTb.js +0 -1
- package/dist/assets/charge-BiCrKZ5S.js +0 -1
- package/dist/assets/issue-document-DVCemcvP.js +0 -1
- package/dist/assets/subMonths-Ft6EDjKW.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/all-charges-
|
|
2
|
-
var N$=t=>{throw TypeError(t)};var FB=(t,e,n)=>e.has(t)||N$("Cannot "+n);var Qr=(t,e,n)=>(FB(t,e,"read from private field"),n?n.call(t):e.get(t)),Zd=(t,e,n)=>e.has(t)?N$("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),Hs=(t,e,n,i)=>(FB(t,e,"write to private field"),i?i.call(t,n):e.set(t,n),n),Jd=(t,e,n)=>(FB(t,e,"access private method"),n);var x$=(t,e,n,i)=>({set _(r){Hs(t,e,r,n)},get _(){return Qr(t,e,i)}});function fye(t,e){for(var n=0;n<e.length;n++){const i=e[n];if(typeof i!="string"&&!Array.isArray(i)){for(const r in i)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(i,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>i[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerPolicy&&(a.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?a.credentials="include":r.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(r){if(r.ep)return;r.ep=!0;const a=n(r);fetch(r.href,a)}})();var Sc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function db(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Aye(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function i(){var r=!1;try{r=this instanceof i}catch{}return r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var r=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(n,i,r.get?r:{enumerable:!0,get:function(){return t[i]}})}),n}var CB={exports:{}},ny={};var F$;function mye(){if(F$)return ny;F$=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(i,r,a){var o=null;if(a!==void 0&&(o=""+a),r.key!==void 0&&(o=""+r.key),"key"in r){a={};for(var s in r)s!=="key"&&(a[s]=r[s])}else a=r;return r=a.ref,{$$typeof:t,type:i,key:o,ref:r!==void 0?r:null,props:a}}return ny.Fragment=e,ny.jsx=n,ny.jsxs=n,ny}var C$;function hye(){return C$||(C$=1,CB.exports=mye()),CB.exports}var g=hye(),_B={exports:{}};function pye(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var UX={exports:{}},Ia=UX.exports={},fu,Au;function SI(){throw new Error("setTimeout has not been defined")}function wI(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?fu=setTimeout:fu=SI}catch{fu=SI}try{typeof clearTimeout=="function"?Au=clearTimeout:Au=wI}catch{Au=wI}})();function MX(t){if(fu===setTimeout)return setTimeout(t,0);if((fu===SI||!fu)&&setTimeout)return fu=setTimeout,setTimeout(t,0);try{return fu(t,0)}catch{try{return fu.call(null,t,0)}catch{return fu.call(this,t,0)}}}function gye(t){if(Au===clearTimeout)return clearTimeout(t);if((Au===wI||!Au)&&clearTimeout)return Au=clearTimeout,clearTimeout(t);try{return Au(t)}catch{try{return Au.call(null,t)}catch{return Au.call(this,t)}}}var Rf=[],iv=!1,ph,oN=-1;function vye(){!iv||!ph||(iv=!1,ph.length?Rf=ph.concat(Rf):oN=-1,Rf.length&&$X())}function $X(){if(!iv){var t=MX(vye);iv=!0;for(var e=Rf.length;e;){for(ph=Rf,Rf=[];++oN<e;)ph&&ph[oN].run();oN=-1,e=Rf.length}ph=null,iv=!1,gye(t)}}Ia.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];Rf.push(new jX(t,e)),Rf.length===1&&!iv&&MX($X)};function jX(t,e){this.fun=t,this.array=e}jX.prototype.run=function(){this.fun.apply(null,this.array)};Ia.title="browser";Ia.browser=!0;Ia.env={};Ia.argv=[];Ia.version="";Ia.versions={};function Vf(){}Ia.on=Vf;Ia.addListener=Vf;Ia.once=Vf;Ia.off=Vf;Ia.removeListener=Vf;Ia.removeAllListeners=Vf;Ia.emit=Vf;Ia.prependListener=Vf;Ia.prependOnceListener=Vf;Ia.listeners=function(t){return[]};Ia.binding=function(t){throw new Error("process.binding is not supported")};Ia.cwd=function(){return"/"};Ia.chdir=function(t){throw new Error("process.chdir is not supported")};Ia.umask=function(){return 0};var yye=UX.exports;const bn=pye(yye);var Wn={},_$;function kye(){if(_$)return Wn;_$=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),h=Symbol.iterator;function m(re){return re===null||typeof re!="object"?null:(re=h&&re[h]||re["@@iterator"],typeof re=="function"?re:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,b={};function k(re,L,j){this.props=re,this.context=L,this.refs=b,this.updater=j||y}k.prototype.isReactComponent={},k.prototype.setState=function(re,L){if(typeof re!="object"&&typeof re!="function"&&re!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,re,L,"setState")},k.prototype.forceUpdate=function(re){this.updater.enqueueForceUpdate(this,re,"forceUpdate")};function w(){}w.prototype=k.prototype;function x(re,L,j){this.props=re,this.context=L,this.refs=b,this.updater=j||y}var F=x.prototype=new w;F.constructor=x,v(F,k.prototype),F.isPureReactComponent=!0;var C=Array.isArray;function D(){}var B={H:null,A:null,T:null,S:null},R=Object.prototype.hasOwnProperty;function O(re,L,j){var $=j.ref;return{$$typeof:t,type:re,key:L,ref:$!==void 0?$:null,props:j}}function V(re,L){return O(re.type,L,re.props)}function U(re){return typeof re=="object"&&re!==null&&re.$$typeof===t}function P(re){var L={"=":"=0",":":"=2"};return"$"+re.replace(/[=:]/g,function(j){return L[j]})}var ee=/\/+/g;function K(re,L){return typeof re=="object"&&re!==null&&re.key!=null?P(""+re.key):L.toString(36)}function le(re){switch(re.status){case"fulfilled":return re.value;case"rejected":throw re.reason;default:switch(typeof re.status=="string"?re.then(D,D):(re.status="pending",re.then(function(L){re.status==="pending"&&(re.status="fulfilled",re.value=L)},function(L){re.status==="pending"&&(re.status="rejected",re.reason=L)})),re.status){case"fulfilled":return re.value;case"rejected":throw re.reason}}throw re}function H(re,L,j,$,Y){var Z=typeof re;(Z==="undefined"||Z==="boolean")&&(re=null);var W=!1;if(re===null)W=!0;else switch(Z){case"bigint":case"string":case"number":W=!0;break;case"object":switch(re.$$typeof){case t:case e:W=!0;break;case d:return W=re._init,H(W(re._payload),L,j,$,Y)}}if(W)return Y=Y(re),W=$===""?"."+K(re,0):$,C(Y)?(j="",W!=null&&(j=W.replace(ee,"$&/")+"/"),H(Y,L,j,"",function(Se){return Se})):Y!=null&&(U(Y)&&(Y=V(Y,j+(Y.key==null||re&&re.key===Y.key?"":(""+Y.key).replace(ee,"$&/")+"/")+W)),L.push(Y)),1;W=0;var fe=$===""?".":$+":";if(C(re))for(var ve=0;ve<re.length;ve++)$=re[ve],Z=fe+K($,ve),W+=H($,L,j,Z,Y);else if(ve=m(re),typeof ve=="function")for(re=ve.call(re),ve=0;!($=re.next()).done;)$=$.value,Z=fe+K($,ve++),W+=H($,L,j,Z,Y);else if(Z==="object"){if(typeof re.then=="function")return H(le(re),L,j,$,Y);throw L=String(re),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(re).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return W}function te(re,L,j){if(re==null)return re;var $=[],Y=0;return H(re,$,"","",function(Z){return L.call(j,Z,Y++)}),$}function X(re){if(re._status===-1){var L=re._result;L=L(),L.then(function(j){(re._status===0||re._status===-1)&&(re._status=1,re._result=j)},function(j){(re._status===0||re._status===-1)&&(re._status=2,re._result=j)}),re._status===-1&&(re._status=0,re._result=L)}if(re._status===1)return re._result.default;throw re._result}var de=typeof reportError=="function"?reportError:function(re){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof re=="object"&&re!==null&&typeof re.message=="string"?String(re.message):String(re),error:re});if(!window.dispatchEvent(L))return}else if(typeof bn=="object"&&typeof bn.emit=="function"){bn.emit("uncaughtException",re);return}console.error(re)},xe={map:te,forEach:function(re,L,j){te(re,function(){L.apply(this,arguments)},j)},count:function(re){var L=0;return te(re,function(){L++}),L},toArray:function(re){return te(re,function(L){return L})||[]},only:function(re){if(!U(re))throw Error("React.Children.only expected to receive a single React element child.");return re}};return Wn.Activity=f,Wn.Children=xe,Wn.Component=k,Wn.Fragment=n,Wn.Profiler=r,Wn.PureComponent=x,Wn.StrictMode=i,Wn.Suspense=l,Wn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B,Wn.__COMPILER_RUNTIME={__proto__:null,c:function(re){return B.H.useMemoCache(re)}},Wn.cache=function(re){return function(){return re.apply(null,arguments)}},Wn.cacheSignal=function(){return null},Wn.cloneElement=function(re,L,j){if(re==null)throw Error("The argument must be a React element, but you passed "+re+".");var $=v({},re.props),Y=re.key;if(L!=null)for(Z in L.key!==void 0&&(Y=""+L.key),L)!R.call(L,Z)||Z==="key"||Z==="__self"||Z==="__source"||Z==="ref"&&L.ref===void 0||($[Z]=L[Z]);var Z=arguments.length-2;if(Z===1)$.children=j;else if(1<Z){for(var W=Array(Z),fe=0;fe<Z;fe++)W[fe]=arguments[fe+2];$.children=W}return O(re.type,Y,$)},Wn.createContext=function(re){return re={$$typeof:o,_currentValue:re,_currentValue2:re,_threadCount:0,Provider:null,Consumer:null},re.Provider=re,re.Consumer={$$typeof:a,_context:re},re},Wn.createElement=function(re,L,j){var $,Y={},Z=null;if(L!=null)for($ in L.key!==void 0&&(Z=""+L.key),L)R.call(L,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(Y[$]=L[$]);var W=arguments.length-2;if(W===1)Y.children=j;else if(1<W){for(var fe=Array(W),ve=0;ve<W;ve++)fe[ve]=arguments[ve+2];Y.children=fe}if(re&&re.defaultProps)for($ in W=re.defaultProps,W)Y[$]===void 0&&(Y[$]=W[$]);return O(re,Z,Y)},Wn.createRef=function(){return{current:null}},Wn.forwardRef=function(re){return{$$typeof:s,render:re}},Wn.isValidElement=U,Wn.lazy=function(re){return{$$typeof:d,_payload:{_status:-1,_result:re},_init:X}},Wn.memo=function(re,L){return{$$typeof:c,type:re,compare:L===void 0?null:L}},Wn.startTransition=function(re){var L=B.T,j={};B.T=j;try{var $=re(),Y=B.S;Y!==null&&Y(j,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(D,de)}catch(Z){de(Z)}finally{L!==null&&j.types!==null&&(L.types=j.types),B.T=L}},Wn.unstable_useCacheRefresh=function(){return B.H.useCacheRefresh()},Wn.use=function(re){return B.H.use(re)},Wn.useActionState=function(re,L,j){return B.H.useActionState(re,L,j)},Wn.useCallback=function(re,L){return B.H.useCallback(re,L)},Wn.useContext=function(re){return B.H.useContext(re)},Wn.useDebugValue=function(){},Wn.useDeferredValue=function(re,L){return B.H.useDeferredValue(re,L)},Wn.useEffect=function(re,L){return B.H.useEffect(re,L)},Wn.useEffectEvent=function(re){return B.H.useEffectEvent(re)},Wn.useId=function(){return B.H.useId()},Wn.useImperativeHandle=function(re,L,j){return B.H.useImperativeHandle(re,L,j)},Wn.useInsertionEffect=function(re,L){return B.H.useInsertionEffect(re,L)},Wn.useLayoutEffect=function(re,L){return B.H.useLayoutEffect(re,L)},Wn.useMemo=function(re,L){return B.H.useMemo(re,L)},Wn.useOptimistic=function(re,L){return B.H.useOptimistic(re,L)},Wn.useReducer=function(re,L,j){return B.H.useReducer(re,L,j)},Wn.useRef=function(re){return B.H.useRef(re)},Wn.useState=function(re){return B.H.useState(re)},Wn.useSyncExternalStore=function(re,L,j){return B.H.useSyncExternalStore(re,L,j)},Wn.useTransition=function(){return B.H.useTransition()},Wn.version="19.2.4",Wn}var E$;function bC(){return E$||(E$=1,_B.exports=kye()),_B.exports}var N=bC();const oe=db(N),Mf=fye({__proto__:null,default:oe},[N]);var EB={exports:{}},iy={},BB={exports:{}},TB={};var B$;function bye(){return B$||(B$=1,(function(t){function e(H,te){var X=H.length;H.push(te);e:for(;0<X;){var de=X-1>>>1,xe=H[de];if(0<r(xe,te))H[de]=te,H[X]=xe,X=de;else break e}}function n(H){return H.length===0?null:H[0]}function i(H){if(H.length===0)return null;var te=H[0],X=H.pop();if(X!==te){H[0]=X;e:for(var de=0,xe=H.length,re=xe>>>1;de<re;){var L=2*(de+1)-1,j=H[L],$=L+1,Y=H[$];if(0>r(j,X))$<xe&&0>r(Y,j)?(H[de]=Y,H[$]=X,de=$):(H[de]=j,H[L]=X,de=L);else if($<xe&&0>r(Y,X))H[de]=Y,H[$]=X,de=$;else break e}}return te}function r(H,te){var X=H.sortIndex-te.sortIndex;return X!==0?X:H.id-te.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();t.unstable_now=function(){return o.now()-s}}var l=[],c=[],d=1,f=null,h=3,m=!1,y=!1,v=!1,b=!1,k=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;function F(H){for(var te=n(c);te!==null;){if(te.callback===null)i(c);else if(te.startTime<=H)i(c),te.sortIndex=te.expirationTime,e(l,te);else break;te=n(c)}}function C(H){if(v=!1,F(H),!y)if(n(l)!==null)y=!0,D||(D=!0,P());else{var te=n(c);te!==null&&le(C,te.startTime-H)}}var D=!1,B=-1,R=5,O=-1;function V(){return b?!0:!(t.unstable_now()-O<R)}function U(){if(b=!1,D){var H=t.unstable_now();O=H;var te=!0;try{e:{y=!1,v&&(v=!1,w(B),B=-1),m=!0;var X=h;try{t:{for(F(H),f=n(l);f!==null&&!(f.expirationTime>H&&V());){var de=f.callback;if(typeof de=="function"){f.callback=null,h=f.priorityLevel;var xe=de(f.expirationTime<=H);if(H=t.unstable_now(),typeof xe=="function"){f.callback=xe,F(H),te=!0;break t}f===n(l)&&i(l),F(H)}else i(l);f=n(l)}if(f!==null)te=!0;else{var re=n(c);re!==null&&le(C,re.startTime-H),te=!1}}break e}finally{f=null,h=X,m=!1}te=void 0}}finally{te?P():D=!1}}}var P;if(typeof x=="function")P=function(){x(U)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,K=ee.port2;ee.port1.onmessage=U,P=function(){K.postMessage(null)}}else P=function(){k(U,0)};function le(H,te){B=k(function(){H(t.unstable_now())},te)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(H){H.callback=null},t.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<H?Math.floor(1e3/H):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_next=function(H){switch(h){case 1:case 2:case 3:var te=3;break;default:te=h}var X=h;h=te;try{return H()}finally{h=X}},t.unstable_requestPaint=function(){b=!0},t.unstable_runWithPriority=function(H,te){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var X=h;h=H;try{return te()}finally{h=X}},t.unstable_scheduleCallback=function(H,te,X){var de=t.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?de+X:de):X=de,H){case 1:var xe=-1;break;case 2:xe=250;break;case 5:xe=1073741823;break;case 4:xe=1e4;break;default:xe=5e3}return xe=X+xe,H={id:d++,callback:te,priorityLevel:H,startTime:X,expirationTime:xe,sortIndex:-1},X>de?(H.sortIndex=X,e(c,H),n(l)===null&&H===n(c)&&(v?(w(B),B=-1):v=!0,le(C,X-de))):(H.sortIndex=xe,e(l,H),y||m||(y=!0,D||(D=!0,P()))),H},t.unstable_shouldYield=V,t.unstable_wrapCallback=function(H){var te=h;return function(){var X=h;h=te;try{return H.apply(this,arguments)}finally{h=X}}}})(TB)),TB}var T$;function Sye(){return T$||(T$=1,BB.exports=bye()),BB.exports}var DB={exports:{}},Ko={};var D$;function wye(){if(D$)return Ko;D$=1;var t=bC();function e(l){var c="https://react.dev/errors/"+l;if(1<arguments.length){c+="?args[]="+encodeURIComponent(arguments[1]);for(var d=2;d<arguments.length;d++)c+="&args[]="+encodeURIComponent(arguments[d])}return"Minified React error #"+l+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var i={d:{f:n,r:function(){throw Error(e(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},r=Symbol.for("react.portal");function a(l,c,d){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:f==null?null:""+f,children:l,containerInfo:c,implementation:d}}var o=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function s(l,c){if(l==="font")return"";if(typeof c=="string")return c==="use-credentials"?c:""}return Ko.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,Ko.createPortal=function(l,c){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!c||c.nodeType!==1&&c.nodeType!==9&&c.nodeType!==11)throw Error(e(299));return a(l,c,null,d)},Ko.flushSync=function(l){var c=o.T,d=i.p;try{if(o.T=null,i.p=2,l)return l()}finally{o.T=c,i.p=d,i.d.f()}},Ko.preconnect=function(l,c){typeof l=="string"&&(c?(c=c.crossOrigin,c=typeof c=="string"?c==="use-credentials"?c:"":void 0):c=null,i.d.C(l,c))},Ko.prefetchDNS=function(l){typeof l=="string"&&i.d.D(l)},Ko.preinit=function(l,c){if(typeof l=="string"&&c&&typeof c.as=="string"){var d=c.as,f=s(d,c.crossOrigin),h=typeof c.integrity=="string"?c.integrity:void 0,m=typeof c.fetchPriority=="string"?c.fetchPriority:void 0;d==="style"?i.d.S(l,typeof c.precedence=="string"?c.precedence:void 0,{crossOrigin:f,integrity:h,fetchPriority:m}):d==="script"&&i.d.X(l,{crossOrigin:f,integrity:h,fetchPriority:m,nonce:typeof c.nonce=="string"?c.nonce:void 0})}},Ko.preinitModule=function(l,c){if(typeof l=="string")if(typeof c=="object"&&c!==null){if(c.as==null||c.as==="script"){var d=s(c.as,c.crossOrigin);i.d.M(l,{crossOrigin:d,integrity:typeof c.integrity=="string"?c.integrity:void 0,nonce:typeof c.nonce=="string"?c.nonce:void 0})}}else c==null&&i.d.M(l)},Ko.preload=function(l,c){if(typeof l=="string"&&typeof c=="object"&&c!==null&&typeof c.as=="string"){var d=c.as,f=s(d,c.crossOrigin);i.d.L(l,d,{crossOrigin:f,integrity:typeof c.integrity=="string"?c.integrity:void 0,nonce:typeof c.nonce=="string"?c.nonce:void 0,type:typeof c.type=="string"?c.type:void 0,fetchPriority:typeof c.fetchPriority=="string"?c.fetchPriority:void 0,referrerPolicy:typeof c.referrerPolicy=="string"?c.referrerPolicy:void 0,imageSrcSet:typeof c.imageSrcSet=="string"?c.imageSrcSet:void 0,imageSizes:typeof c.imageSizes=="string"?c.imageSizes:void 0,media:typeof c.media=="string"?c.media:void 0})}},Ko.preloadModule=function(l,c){if(typeof l=="string")if(c){var d=s(c.as,c.crossOrigin);i.d.m(l,{as:typeof c.as=="string"&&c.as!=="script"?c.as:void 0,crossOrigin:d,integrity:typeof c.integrity=="string"?c.integrity:void 0})}else i.d.m(l)},Ko.requestFormReset=function(l){i.d.r(l)},Ko.unstable_batchedUpdates=function(l,c){return l(c)},Ko.useFormState=function(l,c,d){return o.H.useFormState(l,c,d)},Ko.useFormStatus=function(){return o.H.useHostTransitionStatus()},Ko.version="19.2.4",Ko}var I$;function QX(){if(I$)return DB.exports;I$=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),DB.exports=wye(),DB.exports}var O$;function Nye(){if(O$)return iy;O$=1;var t=Sye(),e=bC(),n=QX();function i(u){var A="https://react.dev/errors/"+u;if(1<arguments.length){A+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)A+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+u+"; visit "+A+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function a(u){var A=u,p=u;if(u.alternate)for(;A.return;)A=A.return;else{u=A;do A=u,(A.flags&4098)!==0&&(p=A.return),u=A.return;while(u)}return A.tag===3?p:null}function o(u){if(u.tag===13){var A=u.memoizedState;if(A===null&&(u=u.alternate,u!==null&&(A=u.memoizedState)),A!==null)return A.dehydrated}return null}function s(u){if(u.tag===31){var A=u.memoizedState;if(A===null&&(u=u.alternate,u!==null&&(A=u.memoizedState)),A!==null)return A.dehydrated}return null}function l(u){if(a(u)!==u)throw Error(i(188))}function c(u){var A=u.alternate;if(!A){if(A=a(u),A===null)throw Error(i(188));return A!==u?null:u}for(var p=u,S=A;;){var E=p.return;if(E===null)break;var I=E.alternate;if(I===null){if(S=E.return,S!==null){p=S;continue}break}if(E.child===I.child){for(I=E.child;I;){if(I===p)return l(E),u;if(I===S)return l(E),A;I=I.sibling}throw Error(i(188))}if(p.return!==S.return)p=E,S=I;else{for(var ce=!1,we=E.child;we;){if(we===p){ce=!0,p=E,S=I;break}if(we===S){ce=!0,S=E,p=I;break}we=we.sibling}if(!ce){for(we=I.child;we;){if(we===p){ce=!0,p=I,S=E;break}if(we===S){ce=!0,S=I,p=E;break}we=we.sibling}if(!ce)throw Error(i(189))}}if(p.alternate!==S)throw Error(i(190))}if(p.tag!==3)throw Error(i(188));return p.stateNode.current===p?u:A}function d(u){var A=u.tag;if(A===5||A===26||A===27||A===6)return u;for(u=u.child;u!==null;){if(A=d(u),A!==null)return A;u=u.sibling}return null}var f=Object.assign,h=Symbol.for("react.element"),m=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),x=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),V=Symbol.for("react.memo_cache_sentinel"),U=Symbol.iterator;function P(u){return u===null||typeof u!="object"?null:(u=U&&u[U]||u["@@iterator"],typeof u=="function"?u:null)}var ee=Symbol.for("react.client.reference");function K(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===ee?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case v:return"Fragment";case k:return"Profiler";case b:return"StrictMode";case C:return"Suspense";case D:return"SuspenseList";case O:return"Activity"}if(typeof u=="object")switch(u.$$typeof){case y:return"Portal";case x:return u.displayName||"Context";case w:return(u._context.displayName||"Context")+".Consumer";case F:var A=u.render;return u=u.displayName,u||(u=A.displayName||A.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case B:return A=u.displayName||null,A!==null?A:K(u.type)||"Memo";case R:A=u._payload,u=u._init;try{return K(u(A))}catch{}}return null}var le=Array.isArray,H=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X={pending:!1,data:null,method:null,action:null},de=[],xe=-1;function re(u){return{current:u}}function L(u){0>xe||(u.current=de[xe],de[xe]=null,xe--)}function j(u,A){xe++,de[xe]=u.current,u.current=A}var $=re(null),Y=re(null),Z=re(null),W=re(null);function fe(u,A){switch(j(Z,A),j(Y,u),j($,null),A.nodeType){case 9:case 11:u=(u=A.documentElement)&&(u=u.namespaceURI)?qM(u):0;break;default:if(u=A.tagName,A=A.namespaceURI)A=qM(A),u=KM(A,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}L($),j($,u)}function ve(){L($),L(Y),L(Z)}function Se(u){u.memoizedState!==null&&j(W,u);var A=$.current,p=KM(A,u.type);A!==p&&(j(Y,u),j($,p))}function ae(u){Y.current===u&&(L($),L(Y)),W.current===u&&(L(W),Z0._currentValue=X)}var se,Ee;function Me(u){if(se===void 0)try{throw Error()}catch(p){var A=p.stack.trim().match(/\n( *(at )?)/);se=A&&A[1]||"",Ee=-1<p.stack.indexOf(`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/all-charges-UjLePnh5.js","assets/use-url-query-RoURh24O.js","assets/charges-filters-BLSfy08K.js","assets/update-accountant-status-CU6mIJqS.js","assets/modal-CNW2FGYc.js","assets/funnel-0IvwyZBf.js","assets/sub-6-HnNA3H.js","assets/addDays-DhQZBfTq.js","assets/subMonths-nC9-M0qS.js","assets/MultiSelect-C5wjF9jC.js","assets/charges-table-Bjk5Mz--.js","assets/toggle-expansion-button-Dg_XsE6y.js","assets/panel-top-open-Bxnxp1BU.js","assets/index-BrgWieYs.js","assets/similar-transactions-modal-BTidmv0G.js","assets/building-2-Df516nsd.js","assets/Table-pGQWLQ8H.js","assets/summary-C5TvRXn1.js","assets/accordion-Bd6kAhfN.js","assets/deposits-transactions-table-CV-YceTW.js","assets/Checkbox-D5PsdcQv.js","assets/data-table-column-header--gzXkv5r.js","assets/eye-off-DWYC0Eax.js","assets/page-layout-BOjYoqoi.js","assets/missing-info-charges-DiIM7lBQ.js","assets/charge-DhvD1RST.js","assets/charges-ledger-validation-BOn22w9P.js","assets/Progress-CUpt9lUI.js","assets/index-CYLoUT7S.js","assets/business-header-DL-hzsQ4.js","assets/business-CryBsRqy.js","assets/save-BHNOV5fu.js","assets/business-extended-info-zz1obrFs.js","assets/download-csv-button-DVLHjMAB.js","assets/download-csv-weF1Lwst.js","assets/sequential-CjOfRLtc.js","assets/modify-contract-dialog-BBPR_IL8.js","assets/use-issue-monthly-documents-CdxtNiuP.js","assets/index-ajJcMQms.js","assets/accounter-table-CioecC_Y.js","assets/business-ledger-filters-Dh6IJIbe.js","assets/business-ledger-single-ebXw596v.js","assets/contracts-iKKpsNnL.js","assets/index-AI_GyykK.js","assets/editable-business-trip-DRSlJ54m.js","assets/business-trip-Bn5hm1D5.js","assets/index-BESPuoZl.js","assets/index-BFEE5U-A.js","assets/Typography-B3aRT5ej.js","assets/index-Cm0VDoDd.js","assets/data-table-pagination-CLXUcmJJ.js","assets/arrow-up-down-YhPbp1Ud.js","assets/issue-document-yi3XXbpe.js","assets/index-DSAS0BpU.js","assets/index-CAAL0SGN.js","assets/index-B6VKQBtu.js","assets/index-CVefTdZ8.js","assets/graphql-document-dedupe-fragments-ByT8-wlV.js","assets/index-CGpiJ6wl.js","assets/report-commentary-row-BtmSnv64.js","assets/index-BoVSybOL.js","assets/index-BINmUTjA.js","assets/index-v8SIf-h9.js","assets/index-CgvjLFyG.js","assets/index-MPZl3TTq.js","assets/index-D_XfDEW8.js","assets/index-Bw_9Tifu.js","assets/index-DZFQ92ui.js","assets/accountant-approvals-BJGkKn8O.js","assets/index-CkPv0ZF8.js","assets/index-DaDghnaZ.js","assets/index-BA-I_zCt.js","assets/index-CHzieg87.js","assets/index-1oajNqKA.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var N$=t=>{throw TypeError(t)};var FB=(t,e,n)=>e.has(t)||N$("Cannot "+n);var Qr=(t,e,n)=>(FB(t,e,"read from private field"),n?n.call(t):e.get(t)),Zd=(t,e,n)=>e.has(t)?N$("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),Hs=(t,e,n,i)=>(FB(t,e,"write to private field"),i?i.call(t,n):e.set(t,n),n),Jd=(t,e,n)=>(FB(t,e,"access private method"),n);var x$=(t,e,n,i)=>({set _(r){Hs(t,e,r,n)},get _(){return Qr(t,e,i)}});function fye(t,e){for(var n=0;n<e.length;n++){const i=e[n];if(typeof i!="string"&&!Array.isArray(i)){for(const r in i)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(i,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>i[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerPolicy&&(a.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?a.credentials="include":r.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(r){if(r.ep)return;r.ep=!0;const a=n(r);fetch(r.href,a)}})();var Sc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function db(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Aye(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function i(){var r=!1;try{r=this instanceof i}catch{}return r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var r=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(n,i,r.get?r:{enumerable:!0,get:function(){return t[i]}})}),n}var CB={exports:{}},ny={};var F$;function mye(){if(F$)return ny;F$=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(i,r,a){var o=null;if(a!==void 0&&(o=""+a),r.key!==void 0&&(o=""+r.key),"key"in r){a={};for(var s in r)s!=="key"&&(a[s]=r[s])}else a=r;return r=a.ref,{$$typeof:t,type:i,key:o,ref:r!==void 0?r:null,props:a}}return ny.Fragment=e,ny.jsx=n,ny.jsxs=n,ny}var C$;function hye(){return C$||(C$=1,CB.exports=mye()),CB.exports}var g=hye(),_B={exports:{}};function pye(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var UX={exports:{}},Ia=UX.exports={},fu,Au;function SI(){throw new Error("setTimeout has not been defined")}function wI(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?fu=setTimeout:fu=SI}catch{fu=SI}try{typeof clearTimeout=="function"?Au=clearTimeout:Au=wI}catch{Au=wI}})();function MX(t){if(fu===setTimeout)return setTimeout(t,0);if((fu===SI||!fu)&&setTimeout)return fu=setTimeout,setTimeout(t,0);try{return fu(t,0)}catch{try{return fu.call(null,t,0)}catch{return fu.call(this,t,0)}}}function gye(t){if(Au===clearTimeout)return clearTimeout(t);if((Au===wI||!Au)&&clearTimeout)return Au=clearTimeout,clearTimeout(t);try{return Au(t)}catch{try{return Au.call(null,t)}catch{return Au.call(this,t)}}}var Rf=[],iv=!1,ph,oN=-1;function vye(){!iv||!ph||(iv=!1,ph.length?Rf=ph.concat(Rf):oN=-1,Rf.length&&$X())}function $X(){if(!iv){var t=MX(vye);iv=!0;for(var e=Rf.length;e;){for(ph=Rf,Rf=[];++oN<e;)ph&&ph[oN].run();oN=-1,e=Rf.length}ph=null,iv=!1,gye(t)}}Ia.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];Rf.push(new jX(t,e)),Rf.length===1&&!iv&&MX($X)};function jX(t,e){this.fun=t,this.array=e}jX.prototype.run=function(){this.fun.apply(null,this.array)};Ia.title="browser";Ia.browser=!0;Ia.env={};Ia.argv=[];Ia.version="";Ia.versions={};function Vf(){}Ia.on=Vf;Ia.addListener=Vf;Ia.once=Vf;Ia.off=Vf;Ia.removeListener=Vf;Ia.removeAllListeners=Vf;Ia.emit=Vf;Ia.prependListener=Vf;Ia.prependOnceListener=Vf;Ia.listeners=function(t){return[]};Ia.binding=function(t){throw new Error("process.binding is not supported")};Ia.cwd=function(){return"/"};Ia.chdir=function(t){throw new Error("process.chdir is not supported")};Ia.umask=function(){return 0};var yye=UX.exports;const bn=pye(yye);var Wn={},_$;function kye(){if(_$)return Wn;_$=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),h=Symbol.iterator;function m(re){return re===null||typeof re!="object"?null:(re=h&&re[h]||re["@@iterator"],typeof re=="function"?re:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,b={};function k(re,L,j){this.props=re,this.context=L,this.refs=b,this.updater=j||y}k.prototype.isReactComponent={},k.prototype.setState=function(re,L){if(typeof re!="object"&&typeof re!="function"&&re!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,re,L,"setState")},k.prototype.forceUpdate=function(re){this.updater.enqueueForceUpdate(this,re,"forceUpdate")};function w(){}w.prototype=k.prototype;function x(re,L,j){this.props=re,this.context=L,this.refs=b,this.updater=j||y}var F=x.prototype=new w;F.constructor=x,v(F,k.prototype),F.isPureReactComponent=!0;var C=Array.isArray;function D(){}var B={H:null,A:null,T:null,S:null},R=Object.prototype.hasOwnProperty;function O(re,L,j){var $=j.ref;return{$$typeof:t,type:re,key:L,ref:$!==void 0?$:null,props:j}}function V(re,L){return O(re.type,L,re.props)}function U(re){return typeof re=="object"&&re!==null&&re.$$typeof===t}function P(re){var L={"=":"=0",":":"=2"};return"$"+re.replace(/[=:]/g,function(j){return L[j]})}var ee=/\/+/g;function K(re,L){return typeof re=="object"&&re!==null&&re.key!=null?P(""+re.key):L.toString(36)}function le(re){switch(re.status){case"fulfilled":return re.value;case"rejected":throw re.reason;default:switch(typeof re.status=="string"?re.then(D,D):(re.status="pending",re.then(function(L){re.status==="pending"&&(re.status="fulfilled",re.value=L)},function(L){re.status==="pending"&&(re.status="rejected",re.reason=L)})),re.status){case"fulfilled":return re.value;case"rejected":throw re.reason}}throw re}function H(re,L,j,$,Y){var Z=typeof re;(Z==="undefined"||Z==="boolean")&&(re=null);var W=!1;if(re===null)W=!0;else switch(Z){case"bigint":case"string":case"number":W=!0;break;case"object":switch(re.$$typeof){case t:case e:W=!0;break;case d:return W=re._init,H(W(re._payload),L,j,$,Y)}}if(W)return Y=Y(re),W=$===""?"."+K(re,0):$,C(Y)?(j="",W!=null&&(j=W.replace(ee,"$&/")+"/"),H(Y,L,j,"",function(Se){return Se})):Y!=null&&(U(Y)&&(Y=V(Y,j+(Y.key==null||re&&re.key===Y.key?"":(""+Y.key).replace(ee,"$&/")+"/")+W)),L.push(Y)),1;W=0;var fe=$===""?".":$+":";if(C(re))for(var ve=0;ve<re.length;ve++)$=re[ve],Z=fe+K($,ve),W+=H($,L,j,Z,Y);else if(ve=m(re),typeof ve=="function")for(re=ve.call(re),ve=0;!($=re.next()).done;)$=$.value,Z=fe+K($,ve++),W+=H($,L,j,Z,Y);else if(Z==="object"){if(typeof re.then=="function")return H(le(re),L,j,$,Y);throw L=String(re),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(re).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return W}function te(re,L,j){if(re==null)return re;var $=[],Y=0;return H(re,$,"","",function(Z){return L.call(j,Z,Y++)}),$}function X(re){if(re._status===-1){var L=re._result;L=L(),L.then(function(j){(re._status===0||re._status===-1)&&(re._status=1,re._result=j)},function(j){(re._status===0||re._status===-1)&&(re._status=2,re._result=j)}),re._status===-1&&(re._status=0,re._result=L)}if(re._status===1)return re._result.default;throw re._result}var de=typeof reportError=="function"?reportError:function(re){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof re=="object"&&re!==null&&typeof re.message=="string"?String(re.message):String(re),error:re});if(!window.dispatchEvent(L))return}else if(typeof bn=="object"&&typeof bn.emit=="function"){bn.emit("uncaughtException",re);return}console.error(re)},xe={map:te,forEach:function(re,L,j){te(re,function(){L.apply(this,arguments)},j)},count:function(re){var L=0;return te(re,function(){L++}),L},toArray:function(re){return te(re,function(L){return L})||[]},only:function(re){if(!U(re))throw Error("React.Children.only expected to receive a single React element child.");return re}};return Wn.Activity=f,Wn.Children=xe,Wn.Component=k,Wn.Fragment=n,Wn.Profiler=r,Wn.PureComponent=x,Wn.StrictMode=i,Wn.Suspense=l,Wn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B,Wn.__COMPILER_RUNTIME={__proto__:null,c:function(re){return B.H.useMemoCache(re)}},Wn.cache=function(re){return function(){return re.apply(null,arguments)}},Wn.cacheSignal=function(){return null},Wn.cloneElement=function(re,L,j){if(re==null)throw Error("The argument must be a React element, but you passed "+re+".");var $=v({},re.props),Y=re.key;if(L!=null)for(Z in L.key!==void 0&&(Y=""+L.key),L)!R.call(L,Z)||Z==="key"||Z==="__self"||Z==="__source"||Z==="ref"&&L.ref===void 0||($[Z]=L[Z]);var Z=arguments.length-2;if(Z===1)$.children=j;else if(1<Z){for(var W=Array(Z),fe=0;fe<Z;fe++)W[fe]=arguments[fe+2];$.children=W}return O(re.type,Y,$)},Wn.createContext=function(re){return re={$$typeof:o,_currentValue:re,_currentValue2:re,_threadCount:0,Provider:null,Consumer:null},re.Provider=re,re.Consumer={$$typeof:a,_context:re},re},Wn.createElement=function(re,L,j){var $,Y={},Z=null;if(L!=null)for($ in L.key!==void 0&&(Z=""+L.key),L)R.call(L,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(Y[$]=L[$]);var W=arguments.length-2;if(W===1)Y.children=j;else if(1<W){for(var fe=Array(W),ve=0;ve<W;ve++)fe[ve]=arguments[ve+2];Y.children=fe}if(re&&re.defaultProps)for($ in W=re.defaultProps,W)Y[$]===void 0&&(Y[$]=W[$]);return O(re,Z,Y)},Wn.createRef=function(){return{current:null}},Wn.forwardRef=function(re){return{$$typeof:s,render:re}},Wn.isValidElement=U,Wn.lazy=function(re){return{$$typeof:d,_payload:{_status:-1,_result:re},_init:X}},Wn.memo=function(re,L){return{$$typeof:c,type:re,compare:L===void 0?null:L}},Wn.startTransition=function(re){var L=B.T,j={};B.T=j;try{var $=re(),Y=B.S;Y!==null&&Y(j,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(D,de)}catch(Z){de(Z)}finally{L!==null&&j.types!==null&&(L.types=j.types),B.T=L}},Wn.unstable_useCacheRefresh=function(){return B.H.useCacheRefresh()},Wn.use=function(re){return B.H.use(re)},Wn.useActionState=function(re,L,j){return B.H.useActionState(re,L,j)},Wn.useCallback=function(re,L){return B.H.useCallback(re,L)},Wn.useContext=function(re){return B.H.useContext(re)},Wn.useDebugValue=function(){},Wn.useDeferredValue=function(re,L){return B.H.useDeferredValue(re,L)},Wn.useEffect=function(re,L){return B.H.useEffect(re,L)},Wn.useEffectEvent=function(re){return B.H.useEffectEvent(re)},Wn.useId=function(){return B.H.useId()},Wn.useImperativeHandle=function(re,L,j){return B.H.useImperativeHandle(re,L,j)},Wn.useInsertionEffect=function(re,L){return B.H.useInsertionEffect(re,L)},Wn.useLayoutEffect=function(re,L){return B.H.useLayoutEffect(re,L)},Wn.useMemo=function(re,L){return B.H.useMemo(re,L)},Wn.useOptimistic=function(re,L){return B.H.useOptimistic(re,L)},Wn.useReducer=function(re,L,j){return B.H.useReducer(re,L,j)},Wn.useRef=function(re){return B.H.useRef(re)},Wn.useState=function(re){return B.H.useState(re)},Wn.useSyncExternalStore=function(re,L,j){return B.H.useSyncExternalStore(re,L,j)},Wn.useTransition=function(){return B.H.useTransition()},Wn.version="19.2.3",Wn}var E$;function bC(){return E$||(E$=1,_B.exports=kye()),_B.exports}var N=bC();const oe=db(N),Mf=fye({__proto__:null,default:oe},[N]);var EB={exports:{}},iy={},BB={exports:{}},TB={};var B$;function bye(){return B$||(B$=1,(function(t){function e(H,te){var X=H.length;H.push(te);e:for(;0<X;){var de=X-1>>>1,xe=H[de];if(0<r(xe,te))H[de]=te,H[X]=xe,X=de;else break e}}function n(H){return H.length===0?null:H[0]}function i(H){if(H.length===0)return null;var te=H[0],X=H.pop();if(X!==te){H[0]=X;e:for(var de=0,xe=H.length,re=xe>>>1;de<re;){var L=2*(de+1)-1,j=H[L],$=L+1,Y=H[$];if(0>r(j,X))$<xe&&0>r(Y,j)?(H[de]=Y,H[$]=X,de=$):(H[de]=j,H[L]=X,de=L);else if($<xe&&0>r(Y,X))H[de]=Y,H[$]=X,de=$;else break e}}return te}function r(H,te){var X=H.sortIndex-te.sortIndex;return X!==0?X:H.id-te.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();t.unstable_now=function(){return o.now()-s}}var l=[],c=[],d=1,f=null,h=3,m=!1,y=!1,v=!1,b=!1,k=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;function F(H){for(var te=n(c);te!==null;){if(te.callback===null)i(c);else if(te.startTime<=H)i(c),te.sortIndex=te.expirationTime,e(l,te);else break;te=n(c)}}function C(H){if(v=!1,F(H),!y)if(n(l)!==null)y=!0,D||(D=!0,P());else{var te=n(c);te!==null&&le(C,te.startTime-H)}}var D=!1,B=-1,R=5,O=-1;function V(){return b?!0:!(t.unstable_now()-O<R)}function U(){if(b=!1,D){var H=t.unstable_now();O=H;var te=!0;try{e:{y=!1,v&&(v=!1,w(B),B=-1),m=!0;var X=h;try{t:{for(F(H),f=n(l);f!==null&&!(f.expirationTime>H&&V());){var de=f.callback;if(typeof de=="function"){f.callback=null,h=f.priorityLevel;var xe=de(f.expirationTime<=H);if(H=t.unstable_now(),typeof xe=="function"){f.callback=xe,F(H),te=!0;break t}f===n(l)&&i(l),F(H)}else i(l);f=n(l)}if(f!==null)te=!0;else{var re=n(c);re!==null&&le(C,re.startTime-H),te=!1}}break e}finally{f=null,h=X,m=!1}te=void 0}}finally{te?P():D=!1}}}var P;if(typeof x=="function")P=function(){x(U)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,K=ee.port2;ee.port1.onmessage=U,P=function(){K.postMessage(null)}}else P=function(){k(U,0)};function le(H,te){B=k(function(){H(t.unstable_now())},te)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(H){H.callback=null},t.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<H?Math.floor(1e3/H):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_next=function(H){switch(h){case 1:case 2:case 3:var te=3;break;default:te=h}var X=h;h=te;try{return H()}finally{h=X}},t.unstable_requestPaint=function(){b=!0},t.unstable_runWithPriority=function(H,te){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var X=h;h=H;try{return te()}finally{h=X}},t.unstable_scheduleCallback=function(H,te,X){var de=t.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?de+X:de):X=de,H){case 1:var xe=-1;break;case 2:xe=250;break;case 5:xe=1073741823;break;case 4:xe=1e4;break;default:xe=5e3}return xe=X+xe,H={id:d++,callback:te,priorityLevel:H,startTime:X,expirationTime:xe,sortIndex:-1},X>de?(H.sortIndex=X,e(c,H),n(l)===null&&H===n(c)&&(v?(w(B),B=-1):v=!0,le(C,X-de))):(H.sortIndex=xe,e(l,H),y||m||(y=!0,D||(D=!0,P()))),H},t.unstable_shouldYield=V,t.unstable_wrapCallback=function(H){var te=h;return function(){var X=h;h=te;try{return H.apply(this,arguments)}finally{h=X}}}})(TB)),TB}var T$;function Sye(){return T$||(T$=1,BB.exports=bye()),BB.exports}var DB={exports:{}},Ko={};var D$;function wye(){if(D$)return Ko;D$=1;var t=bC();function e(l){var c="https://react.dev/errors/"+l;if(1<arguments.length){c+="?args[]="+encodeURIComponent(arguments[1]);for(var d=2;d<arguments.length;d++)c+="&args[]="+encodeURIComponent(arguments[d])}return"Minified React error #"+l+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var i={d:{f:n,r:function(){throw Error(e(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},r=Symbol.for("react.portal");function a(l,c,d){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:f==null?null:""+f,children:l,containerInfo:c,implementation:d}}var o=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function s(l,c){if(l==="font")return"";if(typeof c=="string")return c==="use-credentials"?c:""}return Ko.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,Ko.createPortal=function(l,c){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!c||c.nodeType!==1&&c.nodeType!==9&&c.nodeType!==11)throw Error(e(299));return a(l,c,null,d)},Ko.flushSync=function(l){var c=o.T,d=i.p;try{if(o.T=null,i.p=2,l)return l()}finally{o.T=c,i.p=d,i.d.f()}},Ko.preconnect=function(l,c){typeof l=="string"&&(c?(c=c.crossOrigin,c=typeof c=="string"?c==="use-credentials"?c:"":void 0):c=null,i.d.C(l,c))},Ko.prefetchDNS=function(l){typeof l=="string"&&i.d.D(l)},Ko.preinit=function(l,c){if(typeof l=="string"&&c&&typeof c.as=="string"){var d=c.as,f=s(d,c.crossOrigin),h=typeof c.integrity=="string"?c.integrity:void 0,m=typeof c.fetchPriority=="string"?c.fetchPriority:void 0;d==="style"?i.d.S(l,typeof c.precedence=="string"?c.precedence:void 0,{crossOrigin:f,integrity:h,fetchPriority:m}):d==="script"&&i.d.X(l,{crossOrigin:f,integrity:h,fetchPriority:m,nonce:typeof c.nonce=="string"?c.nonce:void 0})}},Ko.preinitModule=function(l,c){if(typeof l=="string")if(typeof c=="object"&&c!==null){if(c.as==null||c.as==="script"){var d=s(c.as,c.crossOrigin);i.d.M(l,{crossOrigin:d,integrity:typeof c.integrity=="string"?c.integrity:void 0,nonce:typeof c.nonce=="string"?c.nonce:void 0})}}else c==null&&i.d.M(l)},Ko.preload=function(l,c){if(typeof l=="string"&&typeof c=="object"&&c!==null&&typeof c.as=="string"){var d=c.as,f=s(d,c.crossOrigin);i.d.L(l,d,{crossOrigin:f,integrity:typeof c.integrity=="string"?c.integrity:void 0,nonce:typeof c.nonce=="string"?c.nonce:void 0,type:typeof c.type=="string"?c.type:void 0,fetchPriority:typeof c.fetchPriority=="string"?c.fetchPriority:void 0,referrerPolicy:typeof c.referrerPolicy=="string"?c.referrerPolicy:void 0,imageSrcSet:typeof c.imageSrcSet=="string"?c.imageSrcSet:void 0,imageSizes:typeof c.imageSizes=="string"?c.imageSizes:void 0,media:typeof c.media=="string"?c.media:void 0})}},Ko.preloadModule=function(l,c){if(typeof l=="string")if(c){var d=s(c.as,c.crossOrigin);i.d.m(l,{as:typeof c.as=="string"&&c.as!=="script"?c.as:void 0,crossOrigin:d,integrity:typeof c.integrity=="string"?c.integrity:void 0})}else i.d.m(l)},Ko.requestFormReset=function(l){i.d.r(l)},Ko.unstable_batchedUpdates=function(l,c){return l(c)},Ko.useFormState=function(l,c,d){return o.H.useFormState(l,c,d)},Ko.useFormStatus=function(){return o.H.useHostTransitionStatus()},Ko.version="19.2.3",Ko}var I$;function QX(){if(I$)return DB.exports;I$=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),DB.exports=wye(),DB.exports}var O$;function Nye(){if(O$)return iy;O$=1;var t=Sye(),e=bC(),n=QX();function i(u){var A="https://react.dev/errors/"+u;if(1<arguments.length){A+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)A+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+u+"; visit "+A+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function a(u){var A=u,p=u;if(u.alternate)for(;A.return;)A=A.return;else{u=A;do A=u,(A.flags&4098)!==0&&(p=A.return),u=A.return;while(u)}return A.tag===3?p:null}function o(u){if(u.tag===13){var A=u.memoizedState;if(A===null&&(u=u.alternate,u!==null&&(A=u.memoizedState)),A!==null)return A.dehydrated}return null}function s(u){if(u.tag===31){var A=u.memoizedState;if(A===null&&(u=u.alternate,u!==null&&(A=u.memoizedState)),A!==null)return A.dehydrated}return null}function l(u){if(a(u)!==u)throw Error(i(188))}function c(u){var A=u.alternate;if(!A){if(A=a(u),A===null)throw Error(i(188));return A!==u?null:u}for(var p=u,S=A;;){var E=p.return;if(E===null)break;var I=E.alternate;if(I===null){if(S=E.return,S!==null){p=S;continue}break}if(E.child===I.child){for(I=E.child;I;){if(I===p)return l(E),u;if(I===S)return l(E),A;I=I.sibling}throw Error(i(188))}if(p.return!==S.return)p=E,S=I;else{for(var ce=!1,we=E.child;we;){if(we===p){ce=!0,p=E,S=I;break}if(we===S){ce=!0,S=E,p=I;break}we=we.sibling}if(!ce){for(we=I.child;we;){if(we===p){ce=!0,p=I,S=E;break}if(we===S){ce=!0,S=I,p=E;break}we=we.sibling}if(!ce)throw Error(i(189))}}if(p.alternate!==S)throw Error(i(190))}if(p.tag!==3)throw Error(i(188));return p.stateNode.current===p?u:A}function d(u){var A=u.tag;if(A===5||A===26||A===27||A===6)return u;for(u=u.child;u!==null;){if(A=d(u),A!==null)return A;u=u.sibling}return null}var f=Object.assign,h=Symbol.for("react.element"),m=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),x=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),V=Symbol.for("react.memo_cache_sentinel"),U=Symbol.iterator;function P(u){return u===null||typeof u!="object"?null:(u=U&&u[U]||u["@@iterator"],typeof u=="function"?u:null)}var ee=Symbol.for("react.client.reference");function K(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===ee?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case v:return"Fragment";case k:return"Profiler";case b:return"StrictMode";case C:return"Suspense";case D:return"SuspenseList";case O:return"Activity"}if(typeof u=="object")switch(u.$$typeof){case y:return"Portal";case x:return u.displayName||"Context";case w:return(u._context.displayName||"Context")+".Consumer";case F:var A=u.render;return u=u.displayName,u||(u=A.displayName||A.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case B:return A=u.displayName||null,A!==null?A:K(u.type)||"Memo";case R:A=u._payload,u=u._init;try{return K(u(A))}catch{}}return null}var le=Array.isArray,H=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X={pending:!1,data:null,method:null,action:null},de=[],xe=-1;function re(u){return{current:u}}function L(u){0>xe||(u.current=de[xe],de[xe]=null,xe--)}function j(u,A){xe++,de[xe]=u.current,u.current=A}var $=re(null),Y=re(null),Z=re(null),W=re(null);function fe(u,A){switch(j(Z,A),j(Y,u),j($,null),A.nodeType){case 9:case 11:u=(u=A.documentElement)&&(u=u.namespaceURI)?qM(u):0;break;default:if(u=A.tagName,A=A.namespaceURI)A=qM(A),u=KM(A,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}L($),j($,u)}function ve(){L($),L(Y),L(Z)}function Se(u){u.memoizedState!==null&&j(W,u);var A=$.current,p=KM(A,u.type);A!==p&&(j(Y,u),j($,p))}function ae(u){Y.current===u&&(L($),L(Y)),W.current===u&&(L(W),Z0._currentValue=X)}var se,Ee;function Me(u){if(se===void 0)try{throw Error()}catch(p){var A=p.stack.trim().match(/\n( *(at )?)/);se=A&&A[1]||"",Ee=-1<p.stack.indexOf(`
|
|
3
3
|
at`)?" (<anonymous>)":-1<p.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
4
4
|
`+se+u+Ee}var ge=!1;function ue(u,A){if(!u||ge)return"";ge=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var S={DetermineComponentFrameRoot:function(){try{if(A){var wt=function(){throw Error()};if(Object.defineProperty(wt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(wt,[])}catch(ft){var st=ft}Reflect.construct(u,[],wt)}else{try{wt.call()}catch(ft){st=ft}u.call(wt.prototype)}}else{try{throw Error()}catch(ft){st=ft}(wt=u())&&typeof wt.catch=="function"&&wt.catch(function(){})}}catch(ft){if(ft&&st&&typeof ft.stack=="string")return[ft.stack,st.stack]}return[null,null]}};S.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var E=Object.getOwnPropertyDescriptor(S.DetermineComponentFrameRoot,"name");E&&E.configurable&&Object.defineProperty(S.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var I=S.DetermineComponentFrameRoot(),ce=I[0],we=I[1];if(ce&&we){var $e=ce.split(`
|
|
5
5
|
`),at=we.split(`
|
|
@@ -7,7 +7,7 @@ var N$=t=>{throw TypeError(t)};var FB=(t,e,n)=>e.has(t)||N$("Cannot "+n);var Qr=
|
|
|
7
7
|
`+$e[S].replace(" at new "," at ");return u.displayName&>.includes("<anonymous>")&&(gt=gt.replace("<anonymous>",u.displayName)),gt}while(1<=S&&0<=E);break}}}finally{ge=!1,Error.prepareStackTrace=p}return(p=u?u.displayName||u.name:"")?Me(p):""}function Q(u,A){switch(u.tag){case 26:case 27:case 5:return Me(u.type);case 16:return Me("Lazy");case 13:return u.child!==A&&A!==null?Me("Suspense Fallback"):Me("Suspense");case 19:return Me("SuspenseList");case 0:case 15:return ue(u.type,!1);case 11:return ue(u.type.render,!1);case 1:return ue(u.type,!0);case 31:return Me("Activity");default:return""}}function q(u){try{var A="",p=null;do A+=Q(u,p),p=u,u=u.return;while(u);return A}catch(S){return`
|
|
8
8
|
Error generating stack: `+S.message+`
|
|
9
9
|
`+S.stack}}var ne=Object.prototype.hasOwnProperty,Te=t.unstable_scheduleCallback,me=t.unstable_cancelCallback,ye=t.unstable_shouldYield,De=t.unstable_requestPaint,qe=t.unstable_now,Ve=t.unstable_getCurrentPriorityLevel,Qe=t.unstable_ImmediatePriority,Je=t.unstable_UserBlockingPriority,dt=t.unstable_NormalPriority,ut=t.unstable_LowPriority,Ae=t.unstable_IdlePriority,z=t.log,J=t.unstable_setDisableYieldValue,Ne=null,_e=null;function Ue(u){if(typeof z=="function"&&J(u),_e&&typeof _e.setStrictMode=="function")try{_e.setStrictMode(Ne,u)}catch{}}var Ce=Math.clz32?Math.clz32:Ze,Le=Math.log,xt=Math.LN2;function Ze(u){return u>>>=0,u===0?32:31-(Le(u)/xt|0)|0}var ot=256,ct=262144,Bt=4194304;function Dt(u){var A=u&42;if(A!==0)return A;switch(u&-u){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return u&261888;case 262144:case 524288:case 1048576:case 2097152:return u&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return u&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return u}}function St(u,A,p){var S=u.pendingLanes;if(S===0)return 0;var E=0,I=u.suspendedLanes,ce=u.pingedLanes;u=u.warmLanes;var we=S&134217727;return we!==0?(S=we&~I,S!==0?E=Dt(S):(ce&=we,ce!==0?E=Dt(ce):p||(p=we&~u,p!==0&&(E=Dt(p))))):(we=S&~I,we!==0?E=Dt(we):ce!==0?E=Dt(ce):p||(p=S&~u,p!==0&&(E=Dt(p)))),E===0?0:A!==0&&A!==E&&(A&I)===0&&(I=E&-E,p=A&-A,I>=p||I===32&&(p&4194048)!==0)?A:E}function An(u,A){return(u.pendingLanes&~(u.suspendedLanes&~u.pingedLanes)&A)===0}function vn(u,A){switch(u){case 1:case 2:case 4:case 8:case 64:return A+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return A+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function tn(){var u=Bt;return Bt<<=1,(Bt&62914560)===0&&(Bt=4194304),u}function jn(u){for(var A=[],p=0;31>p;p++)A.push(u);return A}function It(u,A){u.pendingLanes|=A,A!==268435456&&(u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0)}function _n(u,A,p,S,E,I){var ce=u.pendingLanes;u.pendingLanes=p,u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0,u.expiredLanes&=p,u.entangledLanes&=p,u.errorRecoveryDisabledLanes&=p,u.shellSuspendCounter=0;var we=u.entanglements,$e=u.expirationTimes,at=u.hiddenUpdates;for(p=ce&~p;0<p;){var gt=31-Ce(p),wt=1<<gt;we[gt]=0,$e[gt]=-1;var st=at[gt];if(st!==null)for(at[gt]=null,gt=0;gt<st.length;gt++){var ft=st[gt];ft!==null&&(ft.lane&=-536870913)}p&=~wt}S!==0&&Zi(u,S,0),I!==0&&E===0&&u.tag!==0&&(u.suspendedLanes|=I&~(ce&~A))}function Zi(u,A,p){u.pendingLanes|=A,u.suspendedLanes&=~A;var S=31-Ce(A);u.entangledLanes|=A,u.entanglements[S]=u.entanglements[S]|1073741824|p&261930}function Pe(u,A){var p=u.entangledLanes|=A;for(u=u.entanglements;p;){var S=31-Ce(p),E=1<<S;E&A|u[S]&A&&(u[S]|=A),p&=~E}}function He(u,A){var p=A&-A;return p=(p&42)!==0?1:We(p),(p&(u.suspendedLanes|A))!==0?0:p}function We(u){switch(u){case 2:u=1;break;case 8:u=4;break;case 32:u=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:u=128;break;case 268435456:u=134217728;break;default:u=0}return u}function mt(u){return u&=-u,2<u?8<u?(u&134217727)!==0?32:268435456:8:2}function _t(){var u=te.p;return u!==0?u:(u=window.event,u===void 0?32:g$(u.type))}function Wt(u,A){var p=te.p;try{return te.p=u,A()}finally{te.p=p}}var Mt=Math.random().toString(36).slice(2),lt="__reactFiber$"+Mt,Ft="__reactProps$"+Mt,Lt="__reactContainer$"+Mt,Qt="__reactEvents$"+Mt,Yt="__reactListeners$"+Mt,Gn="__reactHandles$"+Mt,Cn="__reactResources$"+Mt,bi="__reactMarker$"+Mt;function Hi(u){delete u[lt],delete u[Ft],delete u[Qt],delete u[Yt],delete u[Gn]}function Mi(u){var A=u[lt];if(A)return A;for(var p=u.parentNode;p;){if(A=p[Lt]||p[lt]){if(p=A.alternate,A.child!==null||p!==null&&p.child!==null)for(u=t$(u);u!==null;){if(p=u[lt])return p;u=t$(u)}return A}u=p,p=u.parentNode}return null}function ri(u){if(u=u[lt]||u[Lt]){var A=u.tag;if(A===5||A===6||A===13||A===31||A===26||A===27||A===3)return u}return null}function ia(u){var A=u.tag;if(A===5||A===26||A===27||A===6)return u.stateNode;throw Error(i(33))}function Ra(u){var A=u[Cn];return A||(A=u[Cn]={hoistableStyles:new Map,hoistableScripts:new Map}),A}function tr(u){u[bi]=!0}var zo=new Set,Cr={};function Fo(u,A){Co(u,A),Co(u+"Capture",A)}function Co(u,A){for(Cr[u]=A,u=0;u<A.length;u++)zo.add(A[u])}var ls=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ql={},Hl={};function ci(u){return ne.call(Hl,u)?!0:ne.call(Ql,u)?!1:ls.test(u)?Hl[u]=!0:(Ql[u]=!0,!1)}function $i(u,A,p){if(ci(A))if(p===null)u.removeAttribute(A);else{switch(typeof p){case"undefined":case"function":case"symbol":u.removeAttribute(A);return;case"boolean":var S=A.toLowerCase().slice(0,5);if(S!=="data-"&&S!=="aria-"){u.removeAttribute(A);return}}u.setAttribute(A,""+p)}}function fo(u,A,p){if(p===null)u.removeAttribute(A);else{switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":u.removeAttribute(A);return}u.setAttribute(A,""+p)}}function ya(u,A,p,S){if(S===null)u.removeAttribute(p);else{switch(typeof S){case"undefined":case"function":case"symbol":case"boolean":u.removeAttribute(p);return}u.setAttributeNS(A,p,""+S)}}function yn(u){switch(typeof u){case"bigint":case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function zl(u){var A=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(A==="checkbox"||A==="radio")}function cs(u,A,p){var S=Object.getOwnPropertyDescriptor(u.constructor.prototype,A);if(!u.hasOwnProperty(A)&&typeof S<"u"&&typeof S.get=="function"&&typeof S.set=="function"){var E=S.get,I=S.set;return Object.defineProperty(u,A,{configurable:!0,get:function(){return E.call(this)},set:function(ce){p=""+ce,I.call(this,ce)}}),Object.defineProperty(u,A,{enumerable:S.enumerable}),{getValue:function(){return p},setValue:function(ce){p=""+ce},stopTracking:function(){u._valueTracker=null,delete u[A]}}}}function Vl(u){if(!u._valueTracker){var A=zl(u)?"checked":"value";u._valueTracker=cs(u,A,""+u[A])}}function Tm(u){if(!u)return!1;var A=u._valueTracker;if(!A)return!0;var p=A.getValue(),S="";return u&&(S=zl(u)?u.checked?"true":"false":u.value),u=S,u!==p?(A.setValue(u),!0):!1}function _o(u){if(u=u||(typeof document<"u"?document:void 0),typeof u>"u")return null;try{return u.activeElement||u.body}catch{return u.body}}var ka=/[\n"\\]/g;function ra(u){return u.replace(ka,function(A){return"\\"+A.charCodeAt(0).toString(16)+" "})}function Zf(u,A,p,S,E,I,ce,we){u.name="",ce!=null&&typeof ce!="function"&&typeof ce!="symbol"&&typeof ce!="boolean"?u.type=ce:u.removeAttribute("type"),A!=null?ce==="number"?(A===0&&u.value===""||u.value!=A)&&(u.value=""+yn(A)):u.value!==""+yn(A)&&(u.value=""+yn(A)):ce!=="submit"&&ce!=="reset"||u.removeAttribute("value"),A!=null?Dm(u,ce,yn(A)):p!=null?Dm(u,ce,yn(p)):S!=null&&u.removeAttribute("value"),E==null&&I!=null&&(u.defaultChecked=!!I),E!=null&&(u.checked=E&&typeof E!="function"&&typeof E!="symbol"),we!=null&&typeof we!="function"&&typeof we!="symbol"&&typeof we!="boolean"?u.name=""+yn(we):u.removeAttribute("name")}function vp(u,A,p,S,E,I,ce,we){if(I!=null&&typeof I!="function"&&typeof I!="symbol"&&typeof I!="boolean"&&(u.type=I),A!=null||p!=null){if(!(I!=="submit"&&I!=="reset"||A!=null)){Vl(u);return}p=p!=null?""+yn(p):"",A=A!=null?""+yn(A):p,we||A===u.value||(u.value=A),u.defaultValue=A}S=S??E,S=typeof S!="function"&&typeof S!="symbol"&&!!S,u.checked=we?u.checked:!!S,u.defaultChecked=!!S,ce!=null&&typeof ce!="function"&&typeof ce!="symbol"&&typeof ce!="boolean"&&(u.name=ce),Vl(u)}function Dm(u,A,p){A==="number"&&_o(u.ownerDocument)===u||u.defaultValue===""+p||(u.defaultValue=""+p)}function Eo(u,A,p,S){if(u=u.options,A){A={};for(var E=0;E<p.length;E++)A["$"+p[E]]=!0;for(p=0;p<u.length;p++)E=A.hasOwnProperty("$"+u[p].value),u[p].selected!==E&&(u[p].selected=E),E&&S&&(u[p].defaultSelected=!0)}else{for(p=""+yn(p),A=null,E=0;E<u.length;E++){if(u[E].value===p){u[E].selected=!0,S&&(u[E].defaultSelected=!0);return}A!==null||u[E].disabled||(A=u[E])}A!==null&&(A.selected=!0)}}function Im(u,A,p){if(A!=null&&(A=""+yn(A),A!==u.value&&(u.value=A),p==null)){u.defaultValue!==A&&(u.defaultValue=A);return}u.defaultValue=p!=null?""+yn(p):""}function Om(u,A,p,S){if(A==null){if(S!=null){if(p!=null)throw Error(i(92));if(le(S)){if(1<S.length)throw Error(i(93));S=S[0]}p=S}p==null&&(p=""),A=p}p=yn(A),u.defaultValue=p,S=u.textContent,S===p&&S!==""&&S!==null&&(u.value=S),Vl(u)}function al(u,A){if(A){var p=u.firstChild;if(p&&p===u.lastChild&&p.nodeType===3){p.nodeValue=A;return}}u.textContent=A}var Gu=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function yp(u,A,p){var S=A.indexOf("--")===0;p==null||typeof p=="boolean"||p===""?S?u.setProperty(A,""):A==="float"?u.cssFloat="":u[A]="":S?u.setProperty(A,p):typeof p!="number"||p===0||Gu.has(A)?A==="float"?u.cssFloat=p:u[A]=(""+p).trim():u[A]=p+"px"}function kp(u,A,p){if(A!=null&&typeof A!="object")throw Error(i(62));if(u=u.style,p!=null){for(var S in p)!p.hasOwnProperty(S)||A!=null&&A.hasOwnProperty(S)||(S.indexOf("--")===0?u.setProperty(S,""):S==="float"?u.cssFloat="":u[S]="");for(var E in A)S=A[E],A.hasOwnProperty(E)&&p[E]!==S&&yp(u,E,S)}else for(var I in A)A.hasOwnProperty(I)&&yp(u,I,A[I])}function Rm(u){if(u.indexOf("-")===-1)return!1;switch(u){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Pm=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),bp=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Vo(u){return bp.test(""+u)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":u}function ol(){}var Rc=null;function qu(u){return u=u.target||u.srcElement||window,u.correspondingUseElement&&(u=u.correspondingUseElement),u.nodeType===3?u.parentNode:u}var Rd=null,En=null;function Sp(u){var A=ri(u);if(A&&(u=A.stateNode)){var p=u[Ft]||null;e:switch(u=A.stateNode,A.type){case"input":if(Zf(u,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name),A=p.name,p.type==="radio"&&A!=null){for(p=u;p.parentNode;)p=p.parentNode;for(p=p.querySelectorAll('input[name="'+ra(""+A)+'"][type="radio"]'),A=0;A<p.length;A++){var S=p[A];if(S!==u&&S.form===u.form){var E=S[Ft]||null;if(!E)throw Error(i(90));Zf(S,E.value,E.defaultValue,E.defaultValue,E.checked,E.defaultChecked,E.type,E.name)}}for(A=0;A<p.length;A++)S=p[A],S.form===u.form&&Tm(S)}break e;case"textarea":Im(u,p.value,p.defaultValue);break e;case"select":A=p.value,A!=null&&Eo(u,!!p.multiple,A,!1)}}}var Lm=!1;function wp(u,A,p){if(Lm)return u(A,p);Lm=!0;try{var S=u(A);return S}finally{if(Lm=!1,(Rd!==null||En!==null)&&(X1(),Rd&&(A=Rd,u=En,En=Rd=null,Sp(A),u)))for(A=0;A<u.length;A++)Sp(u[A])}}function ds(u,A){var p=u.stateNode;if(p===null)return null;var S=p[Ft]||null;if(S===null)return null;p=S[A];e:switch(A){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(S=!S.disabled)||(u=u.type,S=!(u==="button"||u==="input"||u==="select"||u==="textarea")),u=!S;break e;default:u=!1}if(u)return null;if(p&&typeof p!="function")throw Error(i(231,A,typeof p));return p}var qa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Um=!1;if(qa)try{var Ku={};Object.defineProperty(Ku,"passive",{get:function(){Um=!0}}),window.addEventListener("test",Ku,Ku),window.removeEventListener("test",Ku,Ku)}catch{Um=!1}var us=null,Wu=null,Gl=null;function Np(){if(Gl)return Gl;var u,A=Wu,p=A.length,S,E="value"in us?us.value:us.textContent,I=E.length;for(u=0;u<p&&A[u]===E[u];u++);var ce=p-u;for(S=1;S<=ce&&A[p-S]===E[I-S];S++);return Gl=E.slice(u,1<S?1-S:void 0)}function Fs(u){var A=u.keyCode;return"charCode"in u?(u=u.charCode,u===0&&A===13&&(u=13)):u=A,u===10&&(u=13),32<=u||u===13?u:0}function Jf(){return!0}function eA(){return!1}function Pa(u){function A(p,S,E,I,ce){this._reactName=p,this._targetInst=E,this.type=S,this.nativeEvent=I,this.target=ce,this.currentTarget=null;for(var we in u)u.hasOwnProperty(we)&&(p=u[we],this[we]=p?p(I):I[we]);return this.isDefaultPrevented=(I.defaultPrevented!=null?I.defaultPrevented:I.returnValue===!1)?Jf:eA,this.isPropagationStopped=eA,this}return f(A.prototype,{preventDefault:function(){this.defaultPrevented=!0;var p=this.nativeEvent;p&&(p.preventDefault?p.preventDefault():typeof p.returnValue!="unknown"&&(p.returnValue=!1),this.isDefaultPrevented=Jf)},stopPropagation:function(){var p=this.nativeEvent;p&&(p.stopPropagation?p.stopPropagation():typeof p.cancelBubble!="unknown"&&(p.cancelBubble=!0),this.isPropagationStopped=Jf)},persist:function(){},isPersistent:Jf}),A}var ql={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(u){return u.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cs=Pa(ql),Pc=f({},ql,{view:0,detail:0}),tA=Pa(Pc),Yu,Lc,Uc,Xu=f({},Pc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Rn,button:0,buttons:0,relatedTarget:function(u){return u.relatedTarget===void 0?u.fromElement===u.srcElement?u.toElement:u.fromElement:u.relatedTarget},movementX:function(u){return"movementX"in u?u.movementX:(u!==Uc&&(Uc&&u.type==="mousemove"?(Yu=u.screenX-Uc.screenX,Lc=u.screenY-Uc.screenY):Lc=Yu=0,Uc=u),Yu)},movementY:function(u){return"movementY"in u?u.movementY:Lc}}),Mm=Pa(Xu),Mc=f({},Xu,{dataTransfer:0}),$c=Pa(Mc),xp=f({},Pc,{relatedTarget:0}),jc=Pa(xp),Fp=f({},ql,{animationName:0,elapsedTime:0,pseudoElement:0}),M=Pa(Fp),he=f({},ql,{clipboardData:function(u){return"clipboardData"in u?u.clipboardData:window.clipboardData}}),Re=Pa(he),je=f({},ql,{data:0}),Ye=Pa(je),yt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Et={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},an={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mn(u){var A=this.nativeEvent;return A.getModifierState?A.getModifierState(u):(u=an[u])?!!A[u]:!1}function Rn(){return mn}var qn=f({},Pc,{key:function(u){if(u.key){var A=yt[u.key]||u.key;if(A!=="Unidentified")return A}return u.type==="keypress"?(u=Fs(u),u===13?"Enter":String.fromCharCode(u)):u.type==="keydown"||u.type==="keyup"?Et[u.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rn,charCode:function(u){return u.type==="keypress"?Fs(u):0},keyCode:function(u){return u.type==="keydown"||u.type==="keyup"?u.keyCode:0},which:function(u){return u.type==="keypress"?Fs(u):u.type==="keydown"||u.type==="keyup"?u.keyCode:0}}),Fi=Pa(qn),Br=f({},Xu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kr=Pa(Br),cr=f({},Pc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rn}),ba=Pa(cr),aa=f({},ql,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ka=Pa(aa),Qc=f({},Xu,{deltaX:function(u){return"deltaX"in u?u.deltaX:"wheelDeltaX"in u?-u.wheelDeltaX:0},deltaY:function(u){return"deltaY"in u?u.deltaY:"wheelDeltaY"in u?-u.wheelDeltaY:"wheelDelta"in u?-u.wheelDelta:0},deltaZ:0,deltaMode:0}),sl=Pa(Qc),Hc=f({},ql,{newState:0,oldState:0}),$m=Pa(Hc),nA=[9,13,27,32],Kl=qa&&"CompositionEvent"in window,ll=null;qa&&"documentMode"in document&&(ll=document.documentMode);var Zu=qa&&"TextEvent"in window&&!ll,zc=qa&&(!Kl||ll&&8<ll&&11>=ll),La=" ",Pd=!1;function Ld(u,A){switch(u){case"keyup":return nA.indexOf(A.keyCode)!==-1;case"keydown":return A.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function iA(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var Wl=!1;function Bo(u,A){switch(u){case"compositionend":return iA(A);case"keypress":return A.which!==32?null:(Pd=!0,La);case"textInput":return u=A.data,u===La&&Pd?null:u;default:return null}}function Vc(u,A){if(Wl)return u==="compositionend"||!Kl&&Ld(u,A)?(u=Np(),Gl=Wu=us=null,Wl=!1,u):null;switch(u){case"paste":return null;case"keypress":if(!(A.ctrlKey||A.altKey||A.metaKey)||A.ctrlKey&&A.altKey){if(A.char&&1<A.char.length)return A.char;if(A.which)return String.fromCharCode(A.which)}return null;case"compositionend":return zc&&A.locale!=="ko"?null:A.data;default:return null}}var rA={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function jm(u){var A=u&&u.nodeName&&u.nodeName.toLowerCase();return A==="input"?!!rA[u.type]:A==="textarea"}function fs(u,A,p,S){Rd?En?En.push(S):En=[S]:Rd=S,A=rS(A,"onChange"),0<A.length&&(p=new Cs("onChange","change",null,p,S),u.push({event:p,listeners:A}))}var cl=null,Gc=null;function Qm(u){jM(u,0)}function dl(u){var A=ia(u);if(Tm(A))return u}function Ud(u,A){if(u==="change")return A}var Go=!1;if(qa){var To;if(qa){var Yl="oninput"in document;if(!Yl){var Xl=document.createElement("div");Xl.setAttribute("oninput","return;"),Yl=typeof Xl.oninput=="function"}To=Yl}else To=!1;Go=To&&(!document.documentMode||9<document.documentMode)}function qc(){cl&&(cl.detachEvent("onpropertychange",aA),Gc=cl=null)}function aA(u){if(u.propertyName==="value"&&dl(Gc)){var A=[];fs(A,Gc,u,qu(u)),wp(Qm,A)}}function oA(u,A,p){u==="focusin"?(qc(),cl=A,Gc=p,cl.attachEvent("onpropertychange",aA)):u==="focusout"&&qc()}function Wr(u){if(u==="selectionchange"||u==="keyup"||u==="keydown")return dl(Gc)}function Cp(u,A){if(u==="click")return dl(A)}function Zl(u,A){if(u==="input"||u==="change")return dl(A)}function Jl(u,A){return u===A&&(u!==0||1/u===1/A)||u!==u&&A!==A}var Wa=typeof Object.is=="function"?Object.is:Jl;function Kc(u,A){if(Wa(u,A))return!0;if(typeof u!="object"||u===null||typeof A!="object"||A===null)return!1;var p=Object.keys(u),S=Object.keys(A);if(p.length!==S.length)return!1;for(S=0;S<p.length;S++){var E=p[S];if(!ne.call(A,E)||!Wa(u[E],A[E]))return!1}return!0}function sA(u){for(;u&&u.firstChild;)u=u.firstChild;return u}function lA(u,A){var p=sA(u);u=0;for(var S;p;){if(p.nodeType===3){if(S=u+p.textContent.length,u<=A&&S>=A)return{node:p,offset:A-u};u=S}e:{for(;p;){if(p.nextSibling){p=p.nextSibling;break e}p=p.parentNode}p=void 0}p=sA(p)}}function Wc(u,A){return u&&A?u===A?!0:u&&u.nodeType===3?!1:A&&A.nodeType===3?Wc(u,A.parentNode):"contains"in u?u.contains(A):u.compareDocumentPosition?!!(u.compareDocumentPosition(A)&16):!1:!1}function Yc(u){u=u!=null&&u.ownerDocument!=null&&u.ownerDocument.defaultView!=null?u.ownerDocument.defaultView:window;for(var A=_o(u.document);A instanceof u.HTMLIFrameElement;){try{var p=typeof A.contentWindow.location.href=="string"}catch{p=!1}if(p)u=A.contentWindow;else break;A=_o(u.document)}return A}function ec(u){var A=u&&u.nodeName&&u.nodeName.toLowerCase();return A&&(A==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||A==="textarea"||u.contentEditable==="true")}var Ju=qa&&"documentMode"in document&&11>=document.documentMode,As=null,Xc=null,Ao=null,_s=!1;function Li(u,A,p){var S=p.window===p?p.document:p.nodeType===9?p:p.ownerDocument;_s||As==null||As!==_o(S)||(S=As,"selectionStart"in S&&ec(S)?S={start:S.selectionStart,end:S.selectionEnd}:(S=(S.ownerDocument&&S.ownerDocument.defaultView||window).getSelection(),S={anchorNode:S.anchorNode,anchorOffset:S.anchorOffset,focusNode:S.focusNode,focusOffset:S.focusOffset}),Ao&&Kc(Ao,S)||(Ao=S,S=rS(Xc,"onSelect"),0<S.length&&(A=new Cs("onSelect","select",null,A,p),u.push({event:A,listeners:S}),A.target=As)))}function Ci(u,A){var p={};return p[u.toLowerCase()]=A.toLowerCase(),p["Webkit"+u]="webkit"+A,p["Moz"+u]="moz"+A,p}var dr={animationend:Ci("Animation","AnimationEnd"),animationiteration:Ci("Animation","AnimationIteration"),animationstart:Ci("Animation","AnimationStart"),transitionrun:Ci("Transition","TransitionRun"),transitionstart:Ci("Transition","TransitionStart"),transitioncancel:Ci("Transition","TransitionCancel"),transitionend:Ci("Transition","TransitionEnd")},Yr={},tc={};qa&&(tc=document.createElement("div").style,"AnimationEvent"in window||(delete dr.animationend.animation,delete dr.animationiteration.animation,delete dr.animationstart.animation),"TransitionEvent"in window||delete dr.transitionend.transition);function ul(u){if(Yr[u])return Yr[u];if(!dr[u])return u;var A=dr[u],p;for(p in A)if(A.hasOwnProperty(p)&&p in tc)return Yr[u]=A[p];return u}var ef=ul("animationend"),Hm=ul("animationiteration"),b0=ul("animationstart"),C1=ul("transitionrun"),_1=ul("transitionstart"),E1=ul("transitioncancel"),S0=ul("transitionend"),w0=new Map,tf="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");tf.push("scrollEnd");function Es(u,A){w0.set(u,A),Fo(A,[u])}var zm=typeof reportError=="function"?reportError:function(u){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var A=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof u=="object"&&u!==null&&typeof u.message=="string"?String(u.message):String(u),error:u});if(!window.dispatchEvent(A))return}else if(typeof bn=="object"&&typeof bn.emit=="function"){bn.emit("uncaughtException",u);return}console.error(u)},ms=[],nf=0,_p=0;function Vm(){for(var u=nf,A=_p=nf=0;A<u;){var p=ms[A];ms[A++]=null;var S=ms[A];ms[A++]=null;var E=ms[A];ms[A++]=null;var I=ms[A];if(ms[A++]=null,S!==null&&E!==null){var ce=S.pending;ce===null?E.next=E:(E.next=ce.next,ce.next=E),S.pending=E}I!==0&&qm(p,E,I)}}function Gm(u,A,p,S){ms[nf++]=u,ms[nf++]=A,ms[nf++]=p,ms[nf++]=S,_p|=S,u.lanes|=S,u=u.alternate,u!==null&&(u.lanes|=S)}function Ep(u,A,p,S){return Gm(u,A,p,S),mo(u)}function Zc(u,A){return Gm(u,null,null,A),mo(u)}function qm(u,A,p){u.lanes|=p;var S=u.alternate;S!==null&&(S.lanes|=p);for(var E=!1,I=u.return;I!==null;)I.childLanes|=p,S=I.alternate,S!==null&&(S.childLanes|=p),I.tag===22&&(u=I.stateNode,u===null||u._visibility&1||(E=!0)),u=I,I=I.return;return u.tag===3?(I=u.stateNode,E&&A!==null&&(E=31-Ce(p),u=I.hiddenUpdates,S=u[E],S===null?u[E]=[A]:S.push(A),A.lane=p|536870912),I):null}function mo(u){if(50<V0)throw V0=0,YE=null,Error(i(185));for(var A=u.return;A!==null;)u=A,A=u.return;return u.tag===3?u.stateNode:null}var Ya={};function Bp(u,A,p,S){this.tag=u,this.key=p,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=A,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=S,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ho(u,A,p,S){return new Bp(u,A,p,S)}function Tp(u){return u=u.prototype,!(!u||!u.isReactComponent)}function Bs(u,A){var p=u.alternate;return p===null?(p=ho(u.tag,A,u.key,u.mode),p.elementType=u.elementType,p.type=u.type,p.stateNode=u.stateNode,p.alternate=u,u.alternate=p):(p.pendingProps=A,p.type=u.type,p.flags=0,p.subtreeFlags=0,p.deletions=null),p.flags=u.flags&65011712,p.childLanes=u.childLanes,p.lanes=u.lanes,p.child=u.child,p.memoizedProps=u.memoizedProps,p.memoizedState=u.memoizedState,p.updateQueue=u.updateQueue,A=u.dependencies,p.dependencies=A===null?null:{lanes:A.lanes,firstContext:A.firstContext},p.sibling=u.sibling,p.index=u.index,p.ref=u.ref,p.refCleanup=u.refCleanup,p}function Km(u,A){u.flags&=65011714;var p=u.alternate;return p===null?(u.childLanes=0,u.lanes=A,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=p.childLanes,u.lanes=p.lanes,u.child=p.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=p.memoizedProps,u.memoizedState=p.memoizedState,u.updateQueue=p.updateQueue,u.type=p.type,A=p.dependencies,u.dependencies=A===null?null:{lanes:A.lanes,firstContext:A.firstContext}),u}function cA(u,A,p,S,E,I){var ce=0;if(S=u,typeof u=="function")Tp(u)&&(ce=1);else if(typeof u=="string")ce=eye(u,p,$.current)?26:u==="html"||u==="head"||u==="body"?27:5;else e:switch(u){case O:return u=ho(31,p,A,E),u.elementType=O,u.lanes=I,u;case v:return Md(p.children,E,I,A);case b:ce=8,E|=24;break;case k:return u=ho(12,p,A,E|2),u.elementType=k,u.lanes=I,u;case C:return u=ho(13,p,A,E),u.elementType=C,u.lanes=I,u;case D:return u=ho(19,p,A,E),u.elementType=D,u.lanes=I,u;default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case x:ce=10;break e;case w:ce=9;break e;case F:ce=11;break e;case B:ce=14;break e;case R:ce=16,S=null;break e}ce=29,p=Error(i(130,u===null?"null":typeof u,"")),S=null}return A=ho(ce,p,A,E),A.elementType=u,A.type=S,A.lanes=I,A}function Md(u,A,p,S){return u=ho(7,u,S,A),u.lanes=p,u}function Wm(u,A,p){return u=ho(6,u,null,A),u.lanes=p,u}function Dp(u){var A=ho(18,null,null,0);return A.stateNode=u,A}function dA(u,A,p){return A=ho(4,u.children!==null?u.children:[],u.key,A),A.lanes=p,A.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},A}var Ip=new WeakMap;function Ts(u,A){if(typeof u=="object"&&u!==null){var p=Ip.get(u);return p!==void 0?p:(A={value:u,source:A,stack:q(A)},Ip.set(u,A),A)}return{value:u,source:A,stack:q(A)}}var uA=[],rf=0,Op=null,Ym=0,Ds=[],Is=0,$d=null,Os=1,Rs="";function hs(u,A){uA[rf++]=Ym,uA[rf++]=Op,Op=u,Ym=A}function B1(u,A,p){Ds[Is++]=Os,Ds[Is++]=Rs,Ds[Is++]=$d,$d=u;var S=Os;u=Rs;var E=32-Ce(S)-1;S&=~(1<<E),p+=1;var I=32-Ce(A)+E;if(30<I){var ce=E-E%5;I=(S&(1<<ce)-1).toString(32),S>>=ce,E-=ce,Os=1<<32-Ce(A)+E|p<<E|S,Rs=I+u}else Os=1<<I|p<<E|S,Rs=u}function N0(u){u.return!==null&&(hs(u,1),B1(u,1,0))}function Rp(u){for(;u===Op;)Op=uA[--rf],uA[rf]=null,Ym=uA[--rf],uA[rf]=null;for(;u===$d;)$d=Ds[--Is],Ds[Is]=null,Rs=Ds[--Is],Ds[Is]=null,Os=Ds[--Is],Ds[Is]=null}function T1(u,A){Ds[Is++]=Os,Ds[Is++]=Rs,Ds[Is++]=$d,Os=A.id,Rs=A.overflow,$d=u}var Xa=null,kr=null,gi=!1,Do=null,Ur=!1,fl=Error(i(519));function jd(u){var A=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw fA(Ts(A,u)),fl}function x0(u){var A=u.stateNode,p=u.type,S=u.memoizedProps;switch(A[lt]=u,A[Ft]=S,p){case"dialog":yi("cancel",A),yi("close",A);break;case"iframe":case"object":case"embed":yi("load",A);break;case"video":case"audio":for(p=0;p<q0.length;p++)yi(q0[p],A);break;case"source":yi("error",A);break;case"img":case"image":case"link":yi("error",A),yi("load",A);break;case"details":yi("toggle",A);break;case"input":yi("invalid",A),vp(A,S.value,S.defaultValue,S.checked,S.defaultChecked,S.type,S.name,!0);break;case"select":yi("invalid",A);break;case"textarea":yi("invalid",A),Om(A,S.value,S.defaultValue,S.children)}p=S.children,typeof p!="string"&&typeof p!="number"&&typeof p!="bigint"||A.textContent===""+p||S.suppressHydrationWarning===!0||VM(A.textContent,p)?(S.popover!=null&&(yi("beforetoggle",A),yi("toggle",A)),S.onScroll!=null&&yi("scroll",A),S.onScrollEnd!=null&&yi("scrollend",A),S.onClick!=null&&(A.onclick=ol),A=!0):A=!1,A||jd(u,!0)}function Jc(u){for(Xa=u.return;Xa;)switch(Xa.tag){case 5:case 31:case 13:Ur=!1;return;case 27:case 3:Ur=!0;return;default:Xa=Xa.return}}function Za(u){if(u!==Xa)return!1;if(!gi)return Jc(u),gi=!0,!1;var A=u.tag,p;if((p=A!==3&&A!==27)&&((p=A===5)&&(p=u.type,p=!(p!=="form"&&p!=="button")||uB(u.type,u.memoizedProps)),p=!p),p&&kr&&jd(u),Jc(u),A===13){if(u=u.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(i(317));kr=e$(u)}else if(A===31){if(u=u.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(i(317));kr=e$(u)}else A===27?(A=kr,FA(u.type)?(u=pB,pB=null,kr=u):kr=A):kr=Xa?ac(u.stateNode.nextSibling):null;return!0}function af(){kr=Xa=null,gi=!1}function F0(){var u=Do;return u!==null&&(js===null?js=u:js.push.apply(js,u),Do=null),u}function fA(u){Do===null?Do=[u]:Do.push(u)}var Pp=re(null),Qd=null,nc=null;function Hd(u,A,p){j(Pp,A._currentValue),A._currentValue=p}function Ps(u){u._currentValue=Pp.current,L(Pp)}function AA(u,A,p){for(;u!==null;){var S=u.alternate;if((u.childLanes&A)!==A?(u.childLanes|=A,S!==null&&(S.childLanes|=A)):S!==null&&(S.childLanes&A)!==A&&(S.childLanes|=A),u===p)break;u=u.return}}function of(u,A,p,S){var E=u.child;for(E!==null&&(E.return=u);E!==null;){var I=E.dependencies;if(I!==null){var ce=E.child;I=I.firstContext;e:for(;I!==null;){var we=I;I=E;for(var $e=0;$e<A.length;$e++)if(we.context===A[$e]){I.lanes|=p,we=I.alternate,we!==null&&(we.lanes|=p),AA(I.return,p,u),S||(ce=null);break e}I=we.next}}else if(E.tag===18){if(ce=E.return,ce===null)throw Error(i(341));ce.lanes|=p,I=ce.alternate,I!==null&&(I.lanes|=p),AA(ce,p,u),ce=null}else ce=E.child;if(ce!==null)ce.return=E;else for(ce=E;ce!==null;){if(ce===u){ce=null;break}if(E=ce.sibling,E!==null){E.return=ce.return,ce=E;break}ce=ce.return}E=ce}}function zd(u,A,p,S){u=null;for(var E=A,I=!1;E!==null;){if(!I){if((E.flags&524288)!==0)I=!0;else if((E.flags&262144)!==0)break}if(E.tag===10){var ce=E.alternate;if(ce===null)throw Error(i(387));if(ce=ce.memoizedProps,ce!==null){var we=E.type;Wa(E.pendingProps.value,ce.value)||(u!==null?u.push(we):u=[we])}}else if(E===W.current){if(ce=E.alternate,ce===null)throw Error(i(387));ce.memoizedState.memoizedState!==E.memoizedState.memoizedState&&(u!==null?u.push(Z0):u=[Z0])}E=E.return}u!==null&&of(A,u,p,S),A.flags|=262144}function Lp(u){for(u=u.firstContext;u!==null;){if(!Wa(u.context._currentValue,u.memoizedValue))return!0;u=u.next}return!1}function Vd(u){Qd=u,nc=null,u=u.dependencies,u!==null&&(u.firstContext=null)}function Ja(u){return D1(Qd,u)}function Up(u,A){return Qd===null&&Vd(u),D1(u,A)}function D1(u,A){var p=A._currentValue;if(A={context:A,memoizedValue:p,next:null},nc===null){if(u===null)throw Error(i(308));nc=A,u.dependencies={lanes:0,firstContext:A},u.flags|=524288}else nc=nc.next=A;return p}var hE=typeof AbortController<"u"?AbortController:function(){var u=[],A=this.signal={aborted:!1,addEventListener:function(p,S){u.push(S)}};this.abort=function(){A.aborted=!0,u.forEach(function(p){return p()})}},pE=t.unstable_scheduleCallback,gE=t.unstable_NormalPriority,Xr={$$typeof:x,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mA(){return{controller:new hE,data:new Map,refCount:0}}function Xm(u){u.refCount--,u.refCount===0&&pE(gE,function(){u.controller.abort()})}var Zm=null,Mp=0,_=0,T=null;function G(u,A){if(Zm===null){var p=Zm=[];Mp=0,_=nB(),T={status:"pending",value:void 0,then:function(S){p.push(S)}}}return Mp++,A.then(ie,ie),A}function ie(){if(--Mp===0&&Zm!==null){T!==null&&(T.status="fulfilled");var u=Zm;Zm=null,_=0,T=null;for(var A=0;A<u.length;A++)(0,u[A])()}}function pe(u,A){var p=[],S={status:"pending",value:null,reason:null,then:function(E){p.push(E)}};return u.then(function(){S.status="fulfilled",S.value=A;for(var E=0;E<p.length;E++)(0,p[E])(A)},function(E){for(S.status="rejected",S.reason=E,E=0;E<p.length;E++)(0,p[E])(void 0)}),S}var ke=H.S;H.S=function(u,A){hM=qe(),typeof A=="object"&&A!==null&&typeof A.then=="function"&&G(u,A),ke!==null&&ke(u,A)};var be=re(null);function Fe(){var u=be.current;return u!==null?u:Sr.pooledCache}function Be(u,A){A===null?j(be,be.current):j(be,A.pool)}function Oe(){var u=Fe();return u===null?null:{parent:Xr._currentValue,pool:u}}var ze=Error(i(460)),it=Error(i(474)),Ie=Error(i(542)),Ke={then:function(){}};function tt(u){return u=u.status,u==="fulfilled"||u==="rejected"}function pt(u,A,p){switch(p=u[p],p===void 0?u.push(A):p!==A&&(A.then(ol,ol),A=p),A.status){case"fulfilled":return A.value;case"rejected":throw u=A.reason,Tt(u),u;default:if(typeof A.status=="string")A.then(ol,ol);else{if(u=Sr,u!==null&&100<u.shellSuspendCounter)throw Error(i(482));u=A,u.status="pending",u.then(function(S){if(A.status==="pending"){var E=A;E.status="fulfilled",E.value=S}},function(S){if(A.status==="pending"){var E=A;E.status="rejected",E.reason=S}})}switch(A.status){case"fulfilled":return A.value;case"rejected":throw u=A.reason,Tt(u),u}throw ht=A,ze}}function nt(u){try{var A=u._init;return A(u._payload)}catch(p){throw p!==null&&typeof p=="object"&&typeof p.then=="function"?(ht=p,ze):p}}var ht=null;function kt(){if(ht===null)throw Error(i(459));var u=ht;return ht=null,u}function Tt(u){if(u===ze||u===Ie)throw Error(i(483))}var Nt=null,sn=0;function Xt(u){var A=sn;return sn+=1,Nt===null&&(Nt=[]),pt(Nt,u,A)}function Qn(u,A){A=A.props.ref,u.ref=A!==void 0?A:null}function nn(u,A){throw A.$$typeof===h?Error(i(525)):(u=Object.prototype.toString.call(A),Error(i(31,u==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":u)))}function pi(u){function A(Xe,Ge){if(u){var rt=Xe.deletions;rt===null?(Xe.deletions=[Ge],Xe.flags|=16):rt.push(Ge)}}function p(Xe,Ge){if(!u)return null;for(;Ge!==null;)A(Xe,Ge),Ge=Ge.sibling;return null}function S(Xe){for(var Ge=new Map;Xe!==null;)Xe.key!==null?Ge.set(Xe.key,Xe):Ge.set(Xe.index,Xe),Xe=Xe.sibling;return Ge}function E(Xe,Ge){return Xe=Bs(Xe,Ge),Xe.index=0,Xe.sibling=null,Xe}function I(Xe,Ge,rt){return Xe.index=rt,u?(rt=Xe.alternate,rt!==null?(rt=rt.index,rt<Ge?(Xe.flags|=67108866,Ge):rt):(Xe.flags|=67108866,Ge)):(Xe.flags|=1048576,Ge)}function ce(Xe){return u&&Xe.alternate===null&&(Xe.flags|=67108866),Xe}function we(Xe,Ge,rt,bt){return Ge===null||Ge.tag!==6?(Ge=Wm(rt,Xe.mode,bt),Ge.return=Xe,Ge):(Ge=E(Ge,rt),Ge.return=Xe,Ge)}function $e(Xe,Ge,rt,bt){var wn=rt.type;return wn===v?gt(Xe,Ge,rt.props.children,bt,rt.key):Ge!==null&&(Ge.elementType===wn||typeof wn=="object"&&wn!==null&&wn.$$typeof===R&&nt(wn)===Ge.type)?(Ge=E(Ge,rt.props),Qn(Ge,rt),Ge.return=Xe,Ge):(Ge=cA(rt.type,rt.key,rt.props,null,Xe.mode,bt),Qn(Ge,rt),Ge.return=Xe,Ge)}function at(Xe,Ge,rt,bt){return Ge===null||Ge.tag!==4||Ge.stateNode.containerInfo!==rt.containerInfo||Ge.stateNode.implementation!==rt.implementation?(Ge=dA(rt,Xe.mode,bt),Ge.return=Xe,Ge):(Ge=E(Ge,rt.children||[]),Ge.return=Xe,Ge)}function gt(Xe,Ge,rt,bt,wn){return Ge===null||Ge.tag!==7?(Ge=Md(rt,Xe.mode,bt,wn),Ge.return=Xe,Ge):(Ge=E(Ge,rt),Ge.return=Xe,Ge)}function wt(Xe,Ge,rt){if(typeof Ge=="string"&&Ge!==""||typeof Ge=="number"||typeof Ge=="bigint")return Ge=Wm(""+Ge,Xe.mode,rt),Ge.return=Xe,Ge;if(typeof Ge=="object"&&Ge!==null){switch(Ge.$$typeof){case m:return rt=cA(Ge.type,Ge.key,Ge.props,null,Xe.mode,rt),Qn(rt,Ge),rt.return=Xe,rt;case y:return Ge=dA(Ge,Xe.mode,rt),Ge.return=Xe,Ge;case R:return Ge=nt(Ge),wt(Xe,Ge,rt)}if(le(Ge)||P(Ge))return Ge=Md(Ge,Xe.mode,rt,null),Ge.return=Xe,Ge;if(typeof Ge.then=="function")return wt(Xe,Xt(Ge),rt);if(Ge.$$typeof===x)return wt(Xe,Up(Xe,Ge),rt);nn(Xe,Ge)}return null}function st(Xe,Ge,rt,bt){var wn=Ge!==null?Ge.key:null;if(typeof rt=="string"&&rt!==""||typeof rt=="number"||typeof rt=="bigint")return wn!==null?null:we(Xe,Ge,""+rt,bt);if(typeof rt=="object"&&rt!==null){switch(rt.$$typeof){case m:return rt.key===wn?$e(Xe,Ge,rt,bt):null;case y:return rt.key===wn?at(Xe,Ge,rt,bt):null;case R:return rt=nt(rt),st(Xe,Ge,rt,bt)}if(le(rt)||P(rt))return wn!==null?null:gt(Xe,Ge,rt,bt,null);if(typeof rt.then=="function")return st(Xe,Ge,Xt(rt),bt);if(rt.$$typeof===x)return st(Xe,Ge,Up(Xe,rt),bt);nn(Xe,rt)}return null}function ft(Xe,Ge,rt,bt,wn){if(typeof bt=="string"&&bt!==""||typeof bt=="number"||typeof bt=="bigint")return Xe=Xe.get(rt)||null,we(Ge,Xe,""+bt,wn);if(typeof bt=="object"&&bt!==null){switch(bt.$$typeof){case m:return Xe=Xe.get(bt.key===null?rt:bt.key)||null,$e(Ge,Xe,bt,wn);case y:return Xe=Xe.get(bt.key===null?rt:bt.key)||null,at(Ge,Xe,bt,wn);case R:return bt=nt(bt),ft(Xe,Ge,rt,bt,wn)}if(le(bt)||P(bt))return Xe=Xe.get(rt)||null,gt(Ge,Xe,bt,wn,null);if(typeof bt.then=="function")return ft(Xe,Ge,rt,Xt(bt),wn);if(bt.$$typeof===x)return ft(Xe,Ge,rt,Up(Ge,bt),wn);nn(Ge,bt)}return null}function on(Xe,Ge,rt,bt){for(var wn=null,ji=null,hn=Ge,si=Ge=0,wi=null;hn!==null&&si<rt.length;si++){hn.index>si?(wi=hn,hn=null):wi=hn.sibling;var Qi=st(Xe,hn,rt[si],bt);if(Qi===null){hn===null&&(hn=wi);break}u&&hn&&Qi.alternate===null&&A(Xe,hn),Ge=I(Qi,Ge,si),ji===null?wn=Qi:ji.sibling=Qi,ji=Qi,hn=wi}if(si===rt.length)return p(Xe,hn),gi&&hs(Xe,si),wn;if(hn===null){for(;si<rt.length;si++)hn=wt(Xe,rt[si],bt),hn!==null&&(Ge=I(hn,Ge,si),ji===null?wn=hn:ji.sibling=hn,ji=hn);return gi&&hs(Xe,si),wn}for(hn=S(hn);si<rt.length;si++)wi=ft(hn,Xe,si,rt[si],bt),wi!==null&&(u&&wi.alternate!==null&&hn.delete(wi.key===null?si:wi.key),Ge=I(wi,Ge,si),ji===null?wn=wi:ji.sibling=wi,ji=wi);return u&&hn.forEach(function(TA){return A(Xe,TA)}),gi&&hs(Xe,si),wn}function Tn(Xe,Ge,rt,bt){if(rt==null)throw Error(i(151));for(var wn=null,ji=null,hn=Ge,si=Ge=0,wi=null,Qi=rt.next();hn!==null&&!Qi.done;si++,Qi=rt.next()){hn.index>si?(wi=hn,hn=null):wi=hn.sibling;var TA=st(Xe,hn,Qi.value,bt);if(TA===null){hn===null&&(hn=wi);break}u&&hn&&TA.alternate===null&&A(Xe,hn),Ge=I(TA,Ge,si),ji===null?wn=TA:ji.sibling=TA,ji=TA,hn=wi}if(Qi.done)return p(Xe,hn),gi&&hs(Xe,si),wn;if(hn===null){for(;!Qi.done;si++,Qi=rt.next())Qi=wt(Xe,Qi.value,bt),Qi!==null&&(Ge=I(Qi,Ge,si),ji===null?wn=Qi:ji.sibling=Qi,ji=Qi);return gi&&hs(Xe,si),wn}for(hn=S(hn);!Qi.done;si++,Qi=rt.next())Qi=ft(hn,Xe,si,Qi.value,bt),Qi!==null&&(u&&Qi.alternate!==null&&hn.delete(Qi.key===null?si:Qi.key),Ge=I(Qi,Ge,si),ji===null?wn=Qi:ji.sibling=Qi,ji=Qi);return u&&hn.forEach(function(uye){return A(Xe,uye)}),gi&&hs(Xe,si),wn}function mr(Xe,Ge,rt,bt){if(typeof rt=="object"&&rt!==null&&rt.type===v&&rt.key===null&&(rt=rt.props.children),typeof rt=="object"&&rt!==null){switch(rt.$$typeof){case m:e:{for(var wn=rt.key;Ge!==null;){if(Ge.key===wn){if(wn=rt.type,wn===v){if(Ge.tag===7){p(Xe,Ge.sibling),bt=E(Ge,rt.props.children),bt.return=Xe,Xe=bt;break e}}else if(Ge.elementType===wn||typeof wn=="object"&&wn!==null&&wn.$$typeof===R&&nt(wn)===Ge.type){p(Xe,Ge.sibling),bt=E(Ge,rt.props),Qn(bt,rt),bt.return=Xe,Xe=bt;break e}p(Xe,Ge);break}else A(Xe,Ge);Ge=Ge.sibling}rt.type===v?(bt=Md(rt.props.children,Xe.mode,bt,rt.key),bt.return=Xe,Xe=bt):(bt=cA(rt.type,rt.key,rt.props,null,Xe.mode,bt),Qn(bt,rt),bt.return=Xe,Xe=bt)}return ce(Xe);case y:e:{for(wn=rt.key;Ge!==null;){if(Ge.key===wn)if(Ge.tag===4&&Ge.stateNode.containerInfo===rt.containerInfo&&Ge.stateNode.implementation===rt.implementation){p(Xe,Ge.sibling),bt=E(Ge,rt.children||[]),bt.return=Xe,Xe=bt;break e}else{p(Xe,Ge);break}else A(Xe,Ge);Ge=Ge.sibling}bt=dA(rt,Xe.mode,bt),bt.return=Xe,Xe=bt}return ce(Xe);case R:return rt=nt(rt),mr(Xe,Ge,rt,bt)}if(le(rt))return on(Xe,Ge,rt,bt);if(P(rt)){if(wn=P(rt),typeof wn!="function")throw Error(i(150));return rt=wn.call(rt),Tn(Xe,Ge,rt,bt)}if(typeof rt.then=="function")return mr(Xe,Ge,Xt(rt),bt);if(rt.$$typeof===x)return mr(Xe,Ge,Up(Xe,rt),bt);nn(Xe,rt)}return typeof rt=="string"&&rt!==""||typeof rt=="number"||typeof rt=="bigint"?(rt=""+rt,Ge!==null&&Ge.tag===6?(p(Xe,Ge.sibling),bt=E(Ge,rt),bt.return=Xe,Xe=bt):(p(Xe,Ge),bt=Wm(rt,Xe.mode,bt),bt.return=Xe,Xe=bt),ce(Xe)):p(Xe,Ge)}return function(Xe,Ge,rt,bt){try{sn=0;var wn=mr(Xe,Ge,rt,bt);return Nt=null,wn}catch(hn){if(hn===ze||hn===Ie)throw hn;var ji=ho(29,hn,null,Xe.mode);return ji.lanes=bt,ji.return=Xe,ji}}}var br=pi(!0),Kn=pi(!1),Zt=!1;function $t(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Tr(u,A){u=u.updateQueue,A.updateQueue===u&&(A.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,callbacks:null})}function Bn(u){return{lane:u,tag:0,payload:null,callback:null,next:null}}function ni(u,A,p){var S=u.updateQueue;if(S===null)return null;if(S=S.shared,(Gi&2)!==0){var E=S.pending;return E===null?A.next=A:(A.next=E.next,E.next=A),S.pending=A,A=mo(u),qm(u,null,p),A}return Gm(u,S,A,p),mo(u)}function zi(u,A,p){if(A=A.updateQueue,A!==null&&(A=A.shared,(p&4194048)!==0)){var S=A.lanes;S&=u.pendingLanes,p|=S,A.lanes=p,Pe(u,p)}}function Sa(u,A){var p=u.updateQueue,S=u.alternate;if(S!==null&&(S=S.updateQueue,p===S)){var E=null,I=null;if(p=p.firstBaseUpdate,p!==null){do{var ce={lane:p.lane,tag:p.tag,payload:p.payload,callback:null,next:null};I===null?E=I=ce:I=I.next=ce,p=p.next}while(p!==null);I===null?E=I=A:I=I.next=A}else E=I=A;p={baseState:S.baseState,firstBaseUpdate:E,lastBaseUpdate:I,shared:S.shared,callbacks:S.callbacks},u.updateQueue=p;return}u=p.lastBaseUpdate,u===null?p.firstBaseUpdate=A:u.next=A,p.lastBaseUpdate=A}var eo=!1;function ur(){if(eo){var u=T;if(u!==null)throw u}}function oa(u,A,p,S){eo=!1;var E=u.updateQueue;Zt=!1;var I=E.firstBaseUpdate,ce=E.lastBaseUpdate,we=E.shared.pending;if(we!==null){E.shared.pending=null;var $e=we,at=$e.next;$e.next=null,ce===null?I=at:ce.next=at,ce=$e;var gt=u.alternate;gt!==null&&(gt=gt.updateQueue,we=gt.lastBaseUpdate,we!==ce&&(we===null?gt.firstBaseUpdate=at:we.next=at,gt.lastBaseUpdate=$e))}if(I!==null){var wt=E.baseState;ce=0,gt=at=$e=null,we=I;do{var st=we.lane&-536870913,ft=st!==we.lane;if(ft?(Si&st)===st:(S&st)===st){st!==0&&st===_&&(eo=!0),gt!==null&&(gt=gt.next={lane:0,tag:we.tag,payload:we.payload,callback:null,next:null});e:{var on=u,Tn=we;st=A;var mr=p;switch(Tn.tag){case 1:if(on=Tn.payload,typeof on=="function"){wt=on.call(mr,wt,st);break e}wt=on;break e;case 3:on.flags=on.flags&-65537|128;case 0:if(on=Tn.payload,st=typeof on=="function"?on.call(mr,wt,st):on,st==null)break e;wt=f({},wt,st);break e;case 2:Zt=!0}}st=we.callback,st!==null&&(u.flags|=64,ft&&(u.flags|=8192),ft=E.callbacks,ft===null?E.callbacks=[st]:ft.push(st))}else ft={lane:st,tag:we.tag,payload:we.payload,callback:we.callback,next:null},gt===null?(at=gt=ft,$e=wt):gt=gt.next=ft,ce|=st;if(we=we.next,we===null){if(we=E.shared.pending,we===null)break;ft=we,we=ft.next,ft.next=null,E.lastBaseUpdate=ft,E.shared.pending=null}}while(!0);gt===null&&($e=wt),E.baseState=$e,E.firstBaseUpdate=at,E.lastBaseUpdate=gt,I===null&&(E.shared.lanes=0),bA|=ce,u.lanes=ce,u.memoizedState=wt}}function po(u,A){if(typeof u!="function")throw Error(i(191,u));u.call(A)}function sa(u,A){var p=u.callbacks;if(p!==null)for(u.callbacks=null,u=0;u<p.length;u++)po(p[u],A)}var di=re(null),Ii=re(0);function Dr(u,A){u=pf,j(Ii,u),j(di,A),pf=u|A.baseLanes}function Ui(){j(Ii,pf),j(di,di.current)}function wa(){pf=Ii.current,L(di),L(Ii)}var Ir=re(null),Oi=null;function Zr(u){var A=u.alternate;j(_i,_i.current&1),j(Ir,u),Oi===null&&(A===null||di.current!==null||A.memoizedState!==null)&&(Oi=u)}function Vi(u){j(_i,_i.current),j(Ir,u),Oi===null&&(Oi=u)}function la(u){u.tag===22?(j(_i,_i.current),j(Ir,u),Oi===null&&(Oi=u)):ca()}function ca(){j(_i,_i.current),j(Ir,Ir.current)}function nr(u){L(Ir),Oi===u&&(Oi=null),L(_i)}var _i=re(0);function go(u){for(var A=u;A!==null;){if(A.tag===13){var p=A.memoizedState;if(p!==null&&(p=p.dehydrated,p===null||mB(p)||hB(p)))return A}else if(A.tag===19&&(A.memoizedProps.revealOrder==="forwards"||A.memoizedProps.revealOrder==="backwards"||A.memoizedProps.revealOrder==="unstable_legacy-backwards"||A.memoizedProps.revealOrder==="together")){if((A.flags&128)!==0)return A}else if(A.child!==null){A.child.return=A,A=A.child;continue}if(A===u)break;for(;A.sibling===null;){if(A.return===null||A.return===u)return null;A=A.return}A.sibling.return=A.return,A=A.sibling}return null}var Mr=0,kn=null,Sn=null,Ri=null,qo=!1,Ls=!1,Io=!1,da=0,Gd=0,qd=null,$p=0;function fr(){throw Error(i(321))}function C0(u,A){if(A===null)return!1;for(var p=0;p<A.length&&p<u.length;p++)if(!Wa(u[p],A[p]))return!1;return!0}function _0(u,A,p,S,E,I){return Mr=I,kn=A,A.memoizedState=null,A.updateQueue=null,A.lanes=0,H.H=u===null||u.memoizedState===null?F8:xE,Io=!1,I=p(S,E),Io=!1,Ls&&(I=ed(A,p,S,E)),jp(u),I}function jp(u){H.H=P0;var A=Sn!==null&&Sn.next!==null;if(Mr=0,Ri=Sn=kn=null,qo=!1,Gd=0,qd=null,A)throw Error(i(300));u===null||Ma||(u=u.dependencies,u!==null&&Lp(u)&&(Ma=!0))}function ed(u,A,p,S){kn=u;var E=0;do{if(Ls&&(qd=null),Gd=0,Ls=!1,25<=E)throw Error(i(301));if(E+=1,Ri=Sn=null,u.updateQueue!=null){var I=u.updateQueue;I.lastEffect=null,I.events=null,I.stores=null,I.memoCache!=null&&(I.memoCache.index=0)}H.H=C8,I=A(p,S)}while(Ls);return I}function vE(){var u=H.H,A=u.useState()[0];return A=typeof A.then=="function"?Kd(A):A,u=u.useState()[0],(Sn!==null?Sn.memoizedState:null)!==u&&(kn.flags|=1024),A}function E0(){var u=da!==0;return da=0,u}function B0(u,A,p){A.updateQueue=u.updateQueue,A.flags&=-2053,u.lanes&=~p}function Qp(u){if(qo){for(u=u.memoizedState;u!==null;){var A=u.queue;A!==null&&(A.pending=null),u=u.next}qo=!1}Mr=0,Ri=Sn=kn=null,Ls=!1,Gd=da=0,qd=null}function Ua(){var u={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ri===null?kn.memoizedState=Ri=u:Ri=Ri.next=u,Ri}function $r(){if(Sn===null){var u=kn.alternate;u=u!==null?u.memoizedState:null}else u=Sn.next;var A=Ri===null?kn.memoizedState:Ri.next;if(A!==null)Ri=A,Sn=u;else{if(u===null)throw kn.alternate===null?Error(i(467)):Error(i(310));Sn=u,u={memoizedState:Sn.memoizedState,baseState:Sn.baseState,baseQueue:Sn.baseQueue,queue:Sn.queue,next:null},Ri===null?kn.memoizedState=Ri=u:Ri=Ri.next=u}return Ri}function Jm(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Kd(u){var A=Gd;return Gd+=1,qd===null&&(qd=[]),u=pt(qd,u,A),A=kn,(Ri===null?A.memoizedState:Ri.next)===null&&(A=A.alternate,H.H=A===null||A.memoizedState===null?F8:xE),u}function hA(u){if(u!==null&&typeof u=="object"){if(typeof u.then=="function")return Kd(u);if(u.$$typeof===x)return Ja(u)}throw Error(i(438,String(u)))}function sf(u){var A=null,p=kn.updateQueue;if(p!==null&&(A=p.memoCache),A==null){var S=kn.alternate;S!==null&&(S=S.updateQueue,S!==null&&(S=S.memoCache,S!=null&&(A={data:S.data.map(function(E){return E.slice()}),index:0})))}if(A==null&&(A={data:[],index:0}),p===null&&(p=Jm(),kn.updateQueue=p),p.memoCache=A,p=A.data[A.index],p===void 0)for(p=A.data[A.index]=Array(u),S=0;S<u;S++)p[S]=V;return A.index++,p}function ic(u,A){return typeof A=="function"?A(u):A}function Hp(u){var A=$r();return pA(A,Sn,u)}function pA(u,A,p){var S=u.queue;if(S===null)throw Error(i(311));S.lastRenderedReducer=p;var E=u.baseQueue,I=S.pending;if(I!==null){if(E!==null){var ce=E.next;E.next=I.next,I.next=ce}A.baseQueue=E=I,S.pending=null}if(I=u.baseState,E===null)u.memoizedState=I;else{A=E.next;var we=ce=null,$e=null,at=A,gt=!1;do{var wt=at.lane&-536870913;if(wt!==at.lane?(Si&wt)===wt:(Mr&wt)===wt){var st=at.revertLane;if(st===0)$e!==null&&($e=$e.next={lane:0,revertLane:0,gesture:null,action:at.action,hasEagerState:at.hasEagerState,eagerState:at.eagerState,next:null}),wt===_&&(gt=!0);else if((Mr&st)===st){at=at.next,st===_&&(gt=!0);continue}else wt={lane:0,revertLane:at.revertLane,gesture:null,action:at.action,hasEagerState:at.hasEagerState,eagerState:at.eagerState,next:null},$e===null?(we=$e=wt,ce=I):$e=$e.next=wt,kn.lanes|=st,bA|=st;wt=at.action,Io&&p(I,wt),I=at.hasEagerState?at.eagerState:p(I,wt)}else st={lane:wt,revertLane:at.revertLane,gesture:at.gesture,action:at.action,hasEagerState:at.hasEagerState,eagerState:at.eagerState,next:null},$e===null?(we=$e=st,ce=I):$e=$e.next=st,kn.lanes|=wt,bA|=wt;at=at.next}while(at!==null&&at!==A);if($e===null?ce=I:$e.next=we,!Wa(I,u.memoizedState)&&(Ma=!0,gt&&(p=T,p!==null)))throw p;u.memoizedState=I,u.baseState=ce,u.baseQueue=$e,S.lastRenderedState=I}return E===null&&(S.lanes=0),[u.memoizedState,S.dispatch]}function zp(u){var A=$r(),p=A.queue;if(p===null)throw Error(i(311));p.lastRenderedReducer=u;var S=p.dispatch,E=p.pending,I=A.memoizedState;if(E!==null){p.pending=null;var ce=E=E.next;do I=u(I,ce.action),ce=ce.next;while(ce!==E);Wa(I,A.memoizedState)||(Ma=!0),A.memoizedState=I,A.baseQueue===null&&(A.baseState=I),p.lastRenderedState=I}return[I,S]}function Vp(u,A,p){var S=kn,E=$r(),I=gi;if(I){if(p===void 0)throw Error(i(407));p=p()}else p=A();var ce=!Wa((Sn||E).memoizedState,p);if(ce&&(E.memoizedState=p,Ma=!0),E=E.queue,yE(D0.bind(null,S,E,u),[u]),E.getSnapshot!==A||ce||Ri!==null&&Ri.memoizedState.tag&1){if(S.flags|=2048,cf(9,{destroy:void 0},T0.bind(null,S,E,p,A),null),Sr===null)throw Error(i(349));I||(Mr&127)!==0||td(S,A,p)}return p}function td(u,A,p){u.flags|=16384,u={getSnapshot:A,value:p},A=kn.updateQueue,A===null?(A=Jm(),kn.updateQueue=A,A.stores=[u]):(p=A.stores,p===null?A.stores=[u]:p.push(u))}function T0(u,A,p,S){A.value=p,A.getSnapshot=S,I1(A)&&I0(u)}function D0(u,A,p){return p(function(){I1(A)&&I0(u)})}function I1(u){var A=u.getSnapshot;u=u.value;try{var p=A();return!Wa(u,p)}catch{return!0}}function I0(u){var A=Zc(u,2);A!==null&&Qs(A,u,2)}function Wd(u){var A=Ua();if(typeof u=="function"){var p=u;if(u=p(),Io){Ue(!0);try{p()}finally{Ue(!1)}}}return A.memoizedState=A.baseState=u,A.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ic,lastRenderedState:u},A}function O1(u,A,p,S){return u.baseState=p,pA(u,Sn,typeof S=="function"?S:ic)}function R1(u,A,p,S,E){if(M1(u))throw Error(i(485));if(u=A.action,u!==null){var I={payload:E,action:u,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(ce){I.listeners.push(ce)}};H.T!==null?p(!0):I.isTransition=!1,S(I),p=A.pending,p===null?(I.next=A.pending=I,P1(A,I)):(I.next=p.next,A.pending=p.next=I)}}function P1(u,A){var p=A.action,S=A.payload,E=u.state;if(A.isTransition){var I=H.T,ce={};H.T=ce;try{var we=p(E,S),$e=H.S;$e!==null&&$e(ce,we),O0(u,A,we)}catch(at){lf(u,A,at)}finally{I!==null&&ce.types!==null&&(I.types=ce.types),H.T=I}}else try{I=p(E,S),O0(u,A,I)}catch(at){lf(u,A,at)}}function O0(u,A,p){p!==null&&typeof p=="object"&&typeof p.then=="function"?p.then(function(S){L1(u,A,S)},function(S){return lf(u,A,S)}):L1(u,A,p)}function L1(u,A,p){A.status="fulfilled",A.value=p,Gp(A),u.state=p,A=u.pending,A!==null&&(p=A.next,p===A?u.pending=null:(p=p.next,A.next=p,P1(u,p)))}function lf(u,A,p){var S=u.pending;if(u.pending=null,S!==null){S=S.next;do A.status="rejected",A.reason=p,Gp(A),A=A.next;while(A!==S)}u.action=null}function Gp(u){u=u.listeners;for(var A=0;A<u.length;A++)(0,u[A])()}function eh(u,A){return A}function rc(u,A){if(gi){var p=Sr.formState;if(p!==null){e:{var S=kn;if(gi){if(kr){t:{for(var E=kr,I=Ur;E.nodeType!==8;){if(!I){E=null;break t}if(E=ac(E.nextSibling),E===null){E=null;break t}}I=E.data,E=I==="F!"||I==="F"?E:null}if(E){kr=ac(E.nextSibling),S=E.data==="F!";break e}}jd(S)}S=!1}S&&(A=p[0])}}return p=Ua(),p.memoizedState=p.baseState=A,S={pending:null,lanes:0,dispatch:null,lastRenderedReducer:eh,lastRenderedState:A},p.queue=S,p=w8.bind(null,kn,S),S.dispatch=p,S=Wd(!1),I=NE.bind(null,kn,!1,S.queue),S=Ua(),E={state:A,dispatch:null,action:u,pending:null},S.queue=E,p=R1.bind(null,kn,E,I,p),E.dispatch=p,S.memoizedState=u,[A,p,!1]}function nd(u){var A=$r();return id(A,Sn,u)}function id(u,A,p){if(A=pA(u,A,eh)[0],u=Hp(ic)[0],typeof A=="object"&&A!==null&&typeof A.then=="function")try{var S=Kd(A)}catch(ce){throw ce===ze?Ie:ce}else S=A;A=$r();var E=A.queue,I=E.dispatch;return p!==A.memoizedState&&(kn.flags|=2048,cf(9,{destroy:void 0},qp.bind(null,E,p),null)),[S,I,u]}function qp(u,A){u.action=A}function Kp(u){var A=$r(),p=Sn;if(p!==null)return id(A,p,u);$r(),A=A.memoizedState,p=$r();var S=p.queue.dispatch;return p.memoizedState=u,[A,S,!1]}function cf(u,A,p,S){return u={tag:u,create:p,deps:S,inst:A,next:null},A=kn.updateQueue,A===null&&(A=Jm(),kn.updateQueue=A),p=A.lastEffect,p===null?A.lastEffect=u.next=u:(S=p.next,p.next=u,u.next=S,A.lastEffect=u),u}function U1(){return $r().memoizedState}function gA(u,A,p,S){var E=Ua();kn.flags|=u,E.memoizedState=cf(1|A,{destroy:void 0},p,S===void 0?null:S)}function vA(u,A,p,S){var E=$r();S=S===void 0?null:S;var I=E.memoizedState.inst;Sn!==null&&S!==null&&C0(S,Sn.memoizedState.deps)?E.memoizedState=cf(A,I,p,S):(kn.flags|=u,E.memoizedState=cf(1|A,I,p,S))}function c8(u,A){gA(8390656,8,u,A)}function yE(u,A){vA(2048,8,u,A)}function a0e(u){kn.flags|=4;var A=kn.updateQueue;if(A===null)A=Jm(),kn.updateQueue=A,A.events=[u];else{var p=A.events;p===null?A.events=[u]:p.push(u)}}function d8(u){var A=$r().memoizedState;return a0e({ref:A,nextImpl:u}),function(){if((Gi&2)!==0)throw Error(i(440));return A.impl.apply(void 0,arguments)}}function u8(u,A){return vA(4,2,u,A)}function f8(u,A){return vA(4,4,u,A)}function A8(u,A){if(typeof A=="function"){u=u();var p=A(u);return function(){typeof p=="function"?p():A(null)}}if(A!=null)return u=u(),A.current=u,function(){A.current=null}}function m8(u,A,p){p=p!=null?p.concat([u]):null,vA(4,4,A8.bind(null,A,u),p)}function kE(){}function h8(u,A){var p=$r();A=A===void 0?null:A;var S=p.memoizedState;return A!==null&&C0(A,S[1])?S[0]:(p.memoizedState=[u,A],u)}function p8(u,A){var p=$r();A=A===void 0?null:A;var S=p.memoizedState;if(A!==null&&C0(A,S[1]))return S[0];if(S=u(),Io){Ue(!0);try{u()}finally{Ue(!1)}}return p.memoizedState=[S,A],S}function bE(u,A,p){return p===void 0||(Mr&1073741824)!==0&&(Si&261930)===0?u.memoizedState=A:(u.memoizedState=p,u=gM(),kn.lanes|=u,bA|=u,p)}function g8(u,A,p,S){return Wa(p,A)?p:di.current!==null?(u=bE(u,p,S),Wa(u,A)||(Ma=!0),u):(Mr&42)===0||(Mr&1073741824)!==0&&(Si&261930)===0?(Ma=!0,u.memoizedState=p):(u=gM(),kn.lanes|=u,bA|=u,A)}function v8(u,A,p,S,E){var I=te.p;te.p=I!==0&&8>I?I:8;var ce=H.T,we={};H.T=we,NE(u,!1,A,p);try{var $e=E(),at=H.S;if(at!==null&&at(we,$e),$e!==null&&typeof $e=="object"&&typeof $e.then=="function"){var gt=pe($e,S);R0(u,A,gt,hl(u))}else R0(u,A,S,hl(u))}catch(wt){R0(u,A,{then:function(){},status:"rejected",reason:wt},hl())}finally{te.p=I,ce!==null&&we.types!==null&&(ce.types=we.types),H.T=ce}}function o0e(){}function SE(u,A,p,S){if(u.tag!==5)throw Error(i(476));var E=y8(u).queue;v8(u,E,A,X,p===null?o0e:function(){return k8(u),p(S)})}function y8(u){var A=u.memoizedState;if(A!==null)return A;A={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ic,lastRenderedState:X},next:null};var p={};return A.next={memoizedState:p,baseState:p,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ic,lastRenderedState:p},next:null},u.memoizedState=A,u=u.alternate,u!==null&&(u.memoizedState=A),A}function k8(u){var A=y8(u);A.next===null&&(A=u.alternate.memoizedState),R0(u,A.next.queue,{},hl())}function wE(){return Ja(Z0)}function b8(){return $r().memoizedState}function S8(){return $r().memoizedState}function s0e(u){for(var A=u.return;A!==null;){switch(A.tag){case 24:case 3:var p=hl();u=Bn(p);var S=ni(A,u,p);S!==null&&(Qs(S,A,p),zi(S,A,p)),A={cache:mA()},u.payload=A;return}A=A.return}}function l0e(u,A,p){var S=hl();p={lane:S,revertLane:0,gesture:null,action:p,hasEagerState:!1,eagerState:null,next:null},M1(u)?N8(A,p):(p=Ep(u,A,p,S),p!==null&&(Qs(p,u,S),x8(p,A,S)))}function w8(u,A,p){var S=hl();R0(u,A,p,S)}function R0(u,A,p,S){var E={lane:S,revertLane:0,gesture:null,action:p,hasEagerState:!1,eagerState:null,next:null};if(M1(u))N8(A,E);else{var I=u.alternate;if(u.lanes===0&&(I===null||I.lanes===0)&&(I=A.lastRenderedReducer,I!==null))try{var ce=A.lastRenderedState,we=I(ce,p);if(E.hasEagerState=!0,E.eagerState=we,Wa(we,ce))return Gm(u,A,E,0),Sr===null&&Vm(),!1}catch{}if(p=Ep(u,A,E,S),p!==null)return Qs(p,u,S),x8(p,A,S),!0}return!1}function NE(u,A,p,S){if(S={lane:2,revertLane:nB(),gesture:null,action:S,hasEagerState:!1,eagerState:null,next:null},M1(u)){if(A)throw Error(i(479))}else A=Ep(u,p,S,2),A!==null&&Qs(A,u,2)}function M1(u){var A=u.alternate;return u===kn||A!==null&&A===kn}function N8(u,A){Ls=qo=!0;var p=u.pending;p===null?A.next=A:(A.next=p.next,p.next=A),u.pending=A}function x8(u,A,p){if((p&4194048)!==0){var S=A.lanes;S&=u.pendingLanes,p|=S,A.lanes=p,Pe(u,p)}}var P0={readContext:Ja,use:hA,useCallback:fr,useContext:fr,useEffect:fr,useImperativeHandle:fr,useLayoutEffect:fr,useInsertionEffect:fr,useMemo:fr,useReducer:fr,useRef:fr,useState:fr,useDebugValue:fr,useDeferredValue:fr,useTransition:fr,useSyncExternalStore:fr,useId:fr,useHostTransitionStatus:fr,useFormState:fr,useActionState:fr,useOptimistic:fr,useMemoCache:fr,useCacheRefresh:fr};P0.useEffectEvent=fr;var F8={readContext:Ja,use:hA,useCallback:function(u,A){return Ua().memoizedState=[u,A===void 0?null:A],u},useContext:Ja,useEffect:c8,useImperativeHandle:function(u,A,p){p=p!=null?p.concat([u]):null,gA(4194308,4,A8.bind(null,A,u),p)},useLayoutEffect:function(u,A){return gA(4194308,4,u,A)},useInsertionEffect:function(u,A){gA(4,2,u,A)},useMemo:function(u,A){var p=Ua();A=A===void 0?null:A;var S=u();if(Io){Ue(!0);try{u()}finally{Ue(!1)}}return p.memoizedState=[S,A],S},useReducer:function(u,A,p){var S=Ua();if(p!==void 0){var E=p(A);if(Io){Ue(!0);try{p(A)}finally{Ue(!1)}}}else E=A;return S.memoizedState=S.baseState=E,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:E},S.queue=u,u=u.dispatch=l0e.bind(null,kn,u),[S.memoizedState,u]},useRef:function(u){var A=Ua();return u={current:u},A.memoizedState=u},useState:function(u){u=Wd(u);var A=u.queue,p=w8.bind(null,kn,A);return A.dispatch=p,[u.memoizedState,p]},useDebugValue:kE,useDeferredValue:function(u,A){var p=Ua();return bE(p,u,A)},useTransition:function(){var u=Wd(!1);return u=v8.bind(null,kn,u.queue,!0,!1),Ua().memoizedState=u,[!1,u]},useSyncExternalStore:function(u,A,p){var S=kn,E=Ua();if(gi){if(p===void 0)throw Error(i(407));p=p()}else{if(p=A(),Sr===null)throw Error(i(349));(Si&127)!==0||td(S,A,p)}E.memoizedState=p;var I={value:p,getSnapshot:A};return E.queue=I,c8(D0.bind(null,S,I,u),[u]),S.flags|=2048,cf(9,{destroy:void 0},T0.bind(null,S,I,p,A),null),p},useId:function(){var u=Ua(),A=Sr.identifierPrefix;if(gi){var p=Rs,S=Os;p=(S&~(1<<32-Ce(S)-1)).toString(32)+p,A="_"+A+"R_"+p,p=da++,0<p&&(A+="H"+p.toString(32)),A+="_"}else p=$p++,A="_"+A+"r_"+p.toString(32)+"_";return u.memoizedState=A},useHostTransitionStatus:wE,useFormState:rc,useActionState:rc,useOptimistic:function(u){var A=Ua();A.memoizedState=A.baseState=u;var p={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return A.queue=p,A=NE.bind(null,kn,!0,p),p.dispatch=A,[u,A]},useMemoCache:sf,useCacheRefresh:function(){return Ua().memoizedState=s0e.bind(null,kn)},useEffectEvent:function(u){var A=Ua(),p={impl:u};return A.memoizedState=p,function(){if((Gi&2)!==0)throw Error(i(440));return p.impl.apply(void 0,arguments)}}},xE={readContext:Ja,use:hA,useCallback:h8,useContext:Ja,useEffect:yE,useImperativeHandle:m8,useInsertionEffect:u8,useLayoutEffect:f8,useMemo:p8,useReducer:Hp,useRef:U1,useState:function(){return Hp(ic)},useDebugValue:kE,useDeferredValue:function(u,A){var p=$r();return g8(p,Sn.memoizedState,u,A)},useTransition:function(){var u=Hp(ic)[0],A=$r().memoizedState;return[typeof u=="boolean"?u:Kd(u),A]},useSyncExternalStore:Vp,useId:b8,useHostTransitionStatus:wE,useFormState:nd,useActionState:nd,useOptimistic:function(u,A){var p=$r();return O1(p,Sn,u,A)},useMemoCache:sf,useCacheRefresh:S8};xE.useEffectEvent=d8;var C8={readContext:Ja,use:hA,useCallback:h8,useContext:Ja,useEffect:yE,useImperativeHandle:m8,useInsertionEffect:u8,useLayoutEffect:f8,useMemo:p8,useReducer:zp,useRef:U1,useState:function(){return zp(ic)},useDebugValue:kE,useDeferredValue:function(u,A){var p=$r();return Sn===null?bE(p,u,A):g8(p,Sn.memoizedState,u,A)},useTransition:function(){var u=zp(ic)[0],A=$r().memoizedState;return[typeof u=="boolean"?u:Kd(u),A]},useSyncExternalStore:Vp,useId:b8,useHostTransitionStatus:wE,useFormState:Kp,useActionState:Kp,useOptimistic:function(u,A){var p=$r();return Sn!==null?O1(p,Sn,u,A):(p.baseState=u,[u,p.queue.dispatch])},useMemoCache:sf,useCacheRefresh:S8};C8.useEffectEvent=d8;function FE(u,A,p,S){A=u.memoizedState,p=p(S,A),p=p==null?A:f({},A,p),u.memoizedState=p,u.lanes===0&&(u.updateQueue.baseState=p)}var CE={enqueueSetState:function(u,A,p){u=u._reactInternals;var S=hl(),E=Bn(S);E.payload=A,p!=null&&(E.callback=p),A=ni(u,E,S),A!==null&&(Qs(A,u,S),zi(A,u,S))},enqueueReplaceState:function(u,A,p){u=u._reactInternals;var S=hl(),E=Bn(S);E.tag=1,E.payload=A,p!=null&&(E.callback=p),A=ni(u,E,S),A!==null&&(Qs(A,u,S),zi(A,u,S))},enqueueForceUpdate:function(u,A){u=u._reactInternals;var p=hl(),S=Bn(p);S.tag=2,A!=null&&(S.callback=A),A=ni(u,S,p),A!==null&&(Qs(A,u,p),zi(A,u,p))}};function _8(u,A,p,S,E,I,ce){return u=u.stateNode,typeof u.shouldComponentUpdate=="function"?u.shouldComponentUpdate(S,I,ce):A.prototype&&A.prototype.isPureReactComponent?!Kc(p,S)||!Kc(E,I):!0}function E8(u,A,p,S){u=A.state,typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps(p,S),typeof A.UNSAFE_componentWillReceiveProps=="function"&&A.UNSAFE_componentWillReceiveProps(p,S),A.state!==u&&CE.enqueueReplaceState(A,A.state,null)}function th(u,A){var p=A;if("ref"in A){p={};for(var S in A)S!=="ref"&&(p[S]=A[S])}if(u=u.defaultProps){p===A&&(p=f({},p));for(var E in u)p[E]===void 0&&(p[E]=u[E])}return p}function B8(u){zm(u)}function T8(u){console.error(u)}function D8(u){zm(u)}function $1(u,A){try{var p=u.onUncaughtError;p(A.value,{componentStack:A.stack})}catch(S){setTimeout(function(){throw S})}}function I8(u,A,p){try{var S=u.onCaughtError;S(p.value,{componentStack:p.stack,errorBoundary:A.tag===1?A.stateNode:null})}catch(E){setTimeout(function(){throw E})}}function _E(u,A,p){return p=Bn(p),p.tag=3,p.payload={element:null},p.callback=function(){$1(u,A)},p}function O8(u){return u=Bn(u),u.tag=3,u}function R8(u,A,p,S){var E=p.type.getDerivedStateFromError;if(typeof E=="function"){var I=S.value;u.payload=function(){return E(I)},u.callback=function(){I8(A,p,S)}}var ce=p.stateNode;ce!==null&&typeof ce.componentDidCatch=="function"&&(u.callback=function(){I8(A,p,S),typeof E!="function"&&(SA===null?SA=new Set([this]):SA.add(this));var we=S.stack;this.componentDidCatch(S.value,{componentStack:we!==null?we:""})})}function c0e(u,A,p,S,E){if(p.flags|=32768,S!==null&&typeof S=="object"&&typeof S.then=="function"){if(A=p.alternate,A!==null&&zd(A,p,E,!0),p=Ir.current,p!==null){switch(p.tag){case 31:case 13:return Oi===null?Z1():p.alternate===null&&ua===0&&(ua=3),p.flags&=-257,p.flags|=65536,p.lanes=E,S===Ke?p.flags|=16384:(A=p.updateQueue,A===null?p.updateQueue=new Set([S]):A.add(S),JE(u,S,E)),!1;case 22:return p.flags|=65536,S===Ke?p.flags|=16384:(A=p.updateQueue,A===null?(A={transitions:null,markerInstances:null,retryQueue:new Set([S])},p.updateQueue=A):(p=A.retryQueue,p===null?A.retryQueue=new Set([S]):p.add(S)),JE(u,S,E)),!1}throw Error(i(435,p.tag))}return JE(u,S,E),Z1(),!1}if(gi)return A=Ir.current,A!==null?((A.flags&65536)===0&&(A.flags|=256),A.flags|=65536,A.lanes=E,S!==fl&&(u=Error(i(422),{cause:S}),fA(Ts(u,p)))):(S!==fl&&(A=Error(i(423),{cause:S}),fA(Ts(A,p))),u=u.current.alternate,u.flags|=65536,E&=-E,u.lanes|=E,S=Ts(S,p),E=_E(u.stateNode,S,E),Sa(u,E),ua!==4&&(ua=2)),!1;var I=Error(i(520),{cause:S});if(I=Ts(I,p),z0===null?z0=[I]:z0.push(I),ua!==4&&(ua=2),A===null)return!0;S=Ts(S,p),p=A;do{switch(p.tag){case 3:return p.flags|=65536,u=E&-E,p.lanes|=u,u=_E(p.stateNode,S,u),Sa(p,u),!1;case 1:if(A=p.type,I=p.stateNode,(p.flags&128)===0&&(typeof A.getDerivedStateFromError=="function"||I!==null&&typeof I.componentDidCatch=="function"&&(SA===null||!SA.has(I))))return p.flags|=65536,E&=-E,p.lanes|=E,E=O8(E),R8(E,u,p,S),Sa(p,E),!1}p=p.return}while(p!==null);return!1}var EE=Error(i(461)),Ma=!1;function Oo(u,A,p,S){A.child=u===null?Kn(A,null,p,S):br(A,u.child,p,S)}function P8(u,A,p,S,E){p=p.render;var I=A.ref;if("ref"in S){var ce={};for(var we in S)we!=="ref"&&(ce[we]=S[we])}else ce=S;return Vd(A),S=_0(u,A,p,ce,I,E),we=E0(),u!==null&&!Ma?(B0(u,A,E),df(u,A,E)):(gi&&we&&N0(A),A.flags|=1,Oo(u,A,S,E),A.child)}function L8(u,A,p,S,E){if(u===null){var I=p.type;return typeof I=="function"&&!Tp(I)&&I.defaultProps===void 0&&p.compare===null?(A.tag=15,A.type=I,U8(u,A,I,S,E)):(u=cA(p.type,null,S,A,A.mode,E),u.ref=A.ref,u.return=A,A.child=u)}if(I=u.child,!LE(u,E)){var ce=I.memoizedProps;if(p=p.compare,p=p!==null?p:Kc,p(ce,S)&&u.ref===A.ref)return df(u,A,E)}return A.flags|=1,u=Bs(I,S),u.ref=A.ref,u.return=A,A.child=u}function U8(u,A,p,S,E){if(u!==null){var I=u.memoizedProps;if(Kc(I,S)&&u.ref===A.ref)if(Ma=!1,A.pendingProps=S=I,LE(u,E))(u.flags&131072)!==0&&(Ma=!0);else return A.lanes=u.lanes,df(u,A,E)}return BE(u,A,p,S,E)}function M8(u,A,p,S){var E=S.children,I=u!==null?u.memoizedState:null;if(u===null&&A.stateNode===null&&(A.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),S.mode==="hidden"){if((A.flags&128)!==0){if(I=I!==null?I.baseLanes|p:p,u!==null){for(S=A.child=u.child,E=0;S!==null;)E=E|S.lanes|S.childLanes,S=S.sibling;S=E&~I}else S=0,A.child=null;return $8(u,A,I,p,S)}if((p&536870912)!==0)A.memoizedState={baseLanes:0,cachePool:null},u!==null&&Be(A,I!==null?I.cachePool:null),I!==null?Dr(A,I):Ui(),la(A);else return S=A.lanes=536870912,$8(u,A,I!==null?I.baseLanes|p:p,p,S)}else I!==null?(Be(A,I.cachePool),Dr(A,I),ca(),A.memoizedState=null):(u!==null&&Be(A,null),Ui(),ca());return Oo(u,A,E,p),A.child}function L0(u,A){return u!==null&&u.tag===22||A.stateNode!==null||(A.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),A.sibling}function $8(u,A,p,S,E){var I=Fe();return I=I===null?null:{parent:Xr._currentValue,pool:I},A.memoizedState={baseLanes:p,cachePool:I},u!==null&&Be(A,null),Ui(),la(A),u!==null&&zd(u,A,S,!0),A.childLanes=E,null}function j1(u,A){return A=H1({mode:A.mode,children:A.children},u.mode),A.ref=u.ref,u.child=A,A.return=u,A}function j8(u,A,p){return br(A,u.child,null,p),u=j1(A,A.pendingProps),u.flags|=2,nr(A),A.memoizedState=null,u}function d0e(u,A,p){var S=A.pendingProps,E=(A.flags&128)!==0;if(A.flags&=-129,u===null){if(gi){if(S.mode==="hidden")return u=j1(A,S),A.lanes=536870912,L0(null,u);if(Vi(A),(u=kr)?(u=JM(u,Ur),u=u!==null&&u.data==="&"?u:null,u!==null&&(A.memoizedState={dehydrated:u,treeContext:$d!==null?{id:Os,overflow:Rs}:null,retryLane:536870912,hydrationErrors:null},p=Dp(u),p.return=A,A.child=p,Xa=A,kr=null)):u=null,u===null)throw jd(A);return A.lanes=536870912,null}return j1(A,S)}var I=u.memoizedState;if(I!==null){var ce=I.dehydrated;if(Vi(A),E)if(A.flags&256)A.flags&=-257,A=j8(u,A,p);else if(A.memoizedState!==null)A.child=u.child,A.flags|=128,A=null;else throw Error(i(558));else if(Ma||zd(u,A,p,!1),E=(p&u.childLanes)!==0,Ma||E){if(S=Sr,S!==null&&(ce=He(S,p),ce!==0&&ce!==I.retryLane))throw I.retryLane=ce,Zc(u,ce),Qs(S,u,ce),EE;Z1(),A=j8(u,A,p)}else u=I.treeContext,kr=ac(ce.nextSibling),Xa=A,gi=!0,Do=null,Ur=!1,u!==null&&T1(A,u),A=j1(A,S),A.flags|=4096;return A}return u=Bs(u.child,{mode:S.mode,children:S.children}),u.ref=A.ref,A.child=u,u.return=A,u}function Q1(u,A){var p=A.ref;if(p===null)u!==null&&u.ref!==null&&(A.flags|=4194816);else{if(typeof p!="function"&&typeof p!="object")throw Error(i(284));(u===null||u.ref!==p)&&(A.flags|=4194816)}}function BE(u,A,p,S,E){return Vd(A),p=_0(u,A,p,S,void 0,E),S=E0(),u!==null&&!Ma?(B0(u,A,E),df(u,A,E)):(gi&&S&&N0(A),A.flags|=1,Oo(u,A,p,E),A.child)}function Q8(u,A,p,S,E,I){return Vd(A),A.updateQueue=null,p=ed(A,S,p,E),jp(u),S=E0(),u!==null&&!Ma?(B0(u,A,I),df(u,A,I)):(gi&&S&&N0(A),A.flags|=1,Oo(u,A,p,I),A.child)}function H8(u,A,p,S,E){if(Vd(A),A.stateNode===null){var I=Ya,ce=p.contextType;typeof ce=="object"&&ce!==null&&(I=Ja(ce)),I=new p(S,I),A.memoizedState=I.state!==null&&I.state!==void 0?I.state:null,I.updater=CE,A.stateNode=I,I._reactInternals=A,I=A.stateNode,I.props=S,I.state=A.memoizedState,I.refs={},$t(A),ce=p.contextType,I.context=typeof ce=="object"&&ce!==null?Ja(ce):Ya,I.state=A.memoizedState,ce=p.getDerivedStateFromProps,typeof ce=="function"&&(FE(A,p,ce,S),I.state=A.memoizedState),typeof p.getDerivedStateFromProps=="function"||typeof I.getSnapshotBeforeUpdate=="function"||typeof I.UNSAFE_componentWillMount!="function"&&typeof I.componentWillMount!="function"||(ce=I.state,typeof I.componentWillMount=="function"&&I.componentWillMount(),typeof I.UNSAFE_componentWillMount=="function"&&I.UNSAFE_componentWillMount(),ce!==I.state&&CE.enqueueReplaceState(I,I.state,null),oa(A,S,I,E),ur(),I.state=A.memoizedState),typeof I.componentDidMount=="function"&&(A.flags|=4194308),S=!0}else if(u===null){I=A.stateNode;var we=A.memoizedProps,$e=th(p,we);I.props=$e;var at=I.context,gt=p.contextType;ce=Ya,typeof gt=="object"&>!==null&&(ce=Ja(gt));var wt=p.getDerivedStateFromProps;gt=typeof wt=="function"||typeof I.getSnapshotBeforeUpdate=="function",we=A.pendingProps!==we,gt||typeof I.UNSAFE_componentWillReceiveProps!="function"&&typeof I.componentWillReceiveProps!="function"||(we||at!==ce)&&E8(A,I,S,ce),Zt=!1;var st=A.memoizedState;I.state=st,oa(A,S,I,E),ur(),at=A.memoizedState,we||st!==at||Zt?(typeof wt=="function"&&(FE(A,p,wt,S),at=A.memoizedState),($e=Zt||_8(A,p,$e,S,st,at,ce))?(gt||typeof I.UNSAFE_componentWillMount!="function"&&typeof I.componentWillMount!="function"||(typeof I.componentWillMount=="function"&&I.componentWillMount(),typeof I.UNSAFE_componentWillMount=="function"&&I.UNSAFE_componentWillMount()),typeof I.componentDidMount=="function"&&(A.flags|=4194308)):(typeof I.componentDidMount=="function"&&(A.flags|=4194308),A.memoizedProps=S,A.memoizedState=at),I.props=S,I.state=at,I.context=ce,S=$e):(typeof I.componentDidMount=="function"&&(A.flags|=4194308),S=!1)}else{I=A.stateNode,Tr(u,A),ce=A.memoizedProps,gt=th(p,ce),I.props=gt,wt=A.pendingProps,st=I.context,at=p.contextType,$e=Ya,typeof at=="object"&&at!==null&&($e=Ja(at)),we=p.getDerivedStateFromProps,(at=typeof we=="function"||typeof I.getSnapshotBeforeUpdate=="function")||typeof I.UNSAFE_componentWillReceiveProps!="function"&&typeof I.componentWillReceiveProps!="function"||(ce!==wt||st!==$e)&&E8(A,I,S,$e),Zt=!1,st=A.memoizedState,I.state=st,oa(A,S,I,E),ur();var ft=A.memoizedState;ce!==wt||st!==ft||Zt||u!==null&&u.dependencies!==null&&Lp(u.dependencies)?(typeof we=="function"&&(FE(A,p,we,S),ft=A.memoizedState),(gt=Zt||_8(A,p,gt,S,st,ft,$e)||u!==null&&u.dependencies!==null&&Lp(u.dependencies))?(at||typeof I.UNSAFE_componentWillUpdate!="function"&&typeof I.componentWillUpdate!="function"||(typeof I.componentWillUpdate=="function"&&I.componentWillUpdate(S,ft,$e),typeof I.UNSAFE_componentWillUpdate=="function"&&I.UNSAFE_componentWillUpdate(S,ft,$e)),typeof I.componentDidUpdate=="function"&&(A.flags|=4),typeof I.getSnapshotBeforeUpdate=="function"&&(A.flags|=1024)):(typeof I.componentDidUpdate!="function"||ce===u.memoizedProps&&st===u.memoizedState||(A.flags|=4),typeof I.getSnapshotBeforeUpdate!="function"||ce===u.memoizedProps&&st===u.memoizedState||(A.flags|=1024),A.memoizedProps=S,A.memoizedState=ft),I.props=S,I.state=ft,I.context=$e,S=gt):(typeof I.componentDidUpdate!="function"||ce===u.memoizedProps&&st===u.memoizedState||(A.flags|=4),typeof I.getSnapshotBeforeUpdate!="function"||ce===u.memoizedProps&&st===u.memoizedState||(A.flags|=1024),S=!1)}return I=S,Q1(u,A),S=(A.flags&128)!==0,I||S?(I=A.stateNode,p=S&&typeof p.getDerivedStateFromError!="function"?null:I.render(),A.flags|=1,u!==null&&S?(A.child=br(A,u.child,null,E),A.child=br(A,null,p,E)):Oo(u,A,p,E),A.memoizedState=I.state,u=A.child):u=df(u,A,E),u}function z8(u,A,p,S){return af(),A.flags|=256,Oo(u,A,p,S),A.child}var TE={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function DE(u){return{baseLanes:u,cachePool:Oe()}}function IE(u,A,p){return u=u!==null?u.childLanes&~p:0,A&&(u|=ml),u}function V8(u,A,p){var S=A.pendingProps,E=!1,I=(A.flags&128)!==0,ce;if((ce=I)||(ce=u!==null&&u.memoizedState===null?!1:(_i.current&2)!==0),ce&&(E=!0,A.flags&=-129),ce=(A.flags&32)!==0,A.flags&=-33,u===null){if(gi){if(E?Zr(A):ca(),(u=kr)?(u=JM(u,Ur),u=u!==null&&u.data!=="&"?u:null,u!==null&&(A.memoizedState={dehydrated:u,treeContext:$d!==null?{id:Os,overflow:Rs}:null,retryLane:536870912,hydrationErrors:null},p=Dp(u),p.return=A,A.child=p,Xa=A,kr=null)):u=null,u===null)throw jd(A);return hB(u)?A.lanes=32:A.lanes=536870912,null}var we=S.children;return S=S.fallback,E?(ca(),E=A.mode,we=H1({mode:"hidden",children:we},E),S=Md(S,E,p,null),we.return=A,S.return=A,we.sibling=S,A.child=we,S=A.child,S.memoizedState=DE(p),S.childLanes=IE(u,ce,p),A.memoizedState=TE,L0(null,S)):(Zr(A),OE(A,we))}var $e=u.memoizedState;if($e!==null&&(we=$e.dehydrated,we!==null)){if(I)A.flags&256?(Zr(A),A.flags&=-257,A=RE(u,A,p)):A.memoizedState!==null?(ca(),A.child=u.child,A.flags|=128,A=null):(ca(),we=S.fallback,E=A.mode,S=H1({mode:"visible",children:S.children},E),we=Md(we,E,p,null),we.flags|=2,S.return=A,we.return=A,S.sibling=we,A.child=S,br(A,u.child,null,p),S=A.child,S.memoizedState=DE(p),S.childLanes=IE(u,ce,p),A.memoizedState=TE,A=L0(null,S));else if(Zr(A),hB(we)){if(ce=we.nextSibling&&we.nextSibling.dataset,ce)var at=ce.dgst;ce=at,S=Error(i(419)),S.stack="",S.digest=ce,fA({value:S,source:null,stack:null}),A=RE(u,A,p)}else if(Ma||zd(u,A,p,!1),ce=(p&u.childLanes)!==0,Ma||ce){if(ce=Sr,ce!==null&&(S=He(ce,p),S!==0&&S!==$e.retryLane))throw $e.retryLane=S,Zc(u,S),Qs(ce,u,S),EE;mB(we)||Z1(),A=RE(u,A,p)}else mB(we)?(A.flags|=192,A.child=u.child,A=null):(u=$e.treeContext,kr=ac(we.nextSibling),Xa=A,gi=!0,Do=null,Ur=!1,u!==null&&T1(A,u),A=OE(A,S.children),A.flags|=4096);return A}return E?(ca(),we=S.fallback,E=A.mode,$e=u.child,at=$e.sibling,S=Bs($e,{mode:"hidden",children:S.children}),S.subtreeFlags=$e.subtreeFlags&65011712,at!==null?we=Bs(at,we):(we=Md(we,E,p,null),we.flags|=2),we.return=A,S.return=A,S.sibling=we,A.child=S,L0(null,S),S=A.child,we=u.child.memoizedState,we===null?we=DE(p):(E=we.cachePool,E!==null?($e=Xr._currentValue,E=E.parent!==$e?{parent:$e,pool:$e}:E):E=Oe(),we={baseLanes:we.baseLanes|p,cachePool:E}),S.memoizedState=we,S.childLanes=IE(u,ce,p),A.memoizedState=TE,L0(u.child,S)):(Zr(A),p=u.child,u=p.sibling,p=Bs(p,{mode:"visible",children:S.children}),p.return=A,p.sibling=null,u!==null&&(ce=A.deletions,ce===null?(A.deletions=[u],A.flags|=16):ce.push(u)),A.child=p,A.memoizedState=null,p)}function OE(u,A){return A=H1({mode:"visible",children:A},u.mode),A.return=u,u.child=A}function H1(u,A){return u=ho(22,u,null,A),u.lanes=0,u}function RE(u,A,p){return br(A,u.child,null,p),u=OE(A,A.pendingProps.children),u.flags|=2,A.memoizedState=null,u}function G8(u,A,p){u.lanes|=A;var S=u.alternate;S!==null&&(S.lanes|=A),AA(u.return,A,p)}function PE(u,A,p,S,E,I){var ce=u.memoizedState;ce===null?u.memoizedState={isBackwards:A,rendering:null,renderingStartTime:0,last:S,tail:p,tailMode:E,treeForkCount:I}:(ce.isBackwards=A,ce.rendering=null,ce.renderingStartTime=0,ce.last=S,ce.tail=p,ce.tailMode=E,ce.treeForkCount=I)}function q8(u,A,p){var S=A.pendingProps,E=S.revealOrder,I=S.tail;S=S.children;var ce=_i.current,we=(ce&2)!==0;if(we?(ce=ce&1|2,A.flags|=128):ce&=1,j(_i,ce),Oo(u,A,S,p),S=gi?Ym:0,!we&&u!==null&&(u.flags&128)!==0)e:for(u=A.child;u!==null;){if(u.tag===13)u.memoizedState!==null&&G8(u,p,A);else if(u.tag===19)G8(u,p,A);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===A)break e;for(;u.sibling===null;){if(u.return===null||u.return===A)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}switch(E){case"forwards":for(p=A.child,E=null;p!==null;)u=p.alternate,u!==null&&go(u)===null&&(E=p),p=p.sibling;p=E,p===null?(E=A.child,A.child=null):(E=p.sibling,p.sibling=null),PE(A,!1,E,p,I,S);break;case"backwards":case"unstable_legacy-backwards":for(p=null,E=A.child,A.child=null;E!==null;){if(u=E.alternate,u!==null&&go(u)===null){A.child=E;break}u=E.sibling,E.sibling=p,p=E,E=u}PE(A,!0,p,null,I,S);break;case"together":PE(A,!1,null,null,void 0,S);break;default:A.memoizedState=null}return A.child}function df(u,A,p){if(u!==null&&(A.dependencies=u.dependencies),bA|=A.lanes,(p&A.childLanes)===0)if(u!==null){if(zd(u,A,p,!1),(p&A.childLanes)===0)return null}else return null;if(u!==null&&A.child!==u.child)throw Error(i(153));if(A.child!==null){for(u=A.child,p=Bs(u,u.pendingProps),A.child=p,p.return=A;u.sibling!==null;)u=u.sibling,p=p.sibling=Bs(u,u.pendingProps),p.return=A;p.sibling=null}return A.child}function LE(u,A){return(u.lanes&A)!==0?!0:(u=u.dependencies,!!(u!==null&&Lp(u)))}function u0e(u,A,p){switch(A.tag){case 3:fe(A,A.stateNode.containerInfo),Hd(A,Xr,u.memoizedState.cache),af();break;case 27:case 5:Se(A);break;case 4:fe(A,A.stateNode.containerInfo);break;case 10:Hd(A,A.type,A.memoizedProps.value);break;case 31:if(A.memoizedState!==null)return A.flags|=128,Vi(A),null;break;case 13:var S=A.memoizedState;if(S!==null)return S.dehydrated!==null?(Zr(A),A.flags|=128,null):(p&A.child.childLanes)!==0?V8(u,A,p):(Zr(A),u=df(u,A,p),u!==null?u.sibling:null);Zr(A);break;case 19:var E=(u.flags&128)!==0;if(S=(p&A.childLanes)!==0,S||(zd(u,A,p,!1),S=(p&A.childLanes)!==0),E){if(S)return q8(u,A,p);A.flags|=128}if(E=A.memoizedState,E!==null&&(E.rendering=null,E.tail=null,E.lastEffect=null),j(_i,_i.current),S)break;return null;case 22:return A.lanes=0,M8(u,A,p,A.pendingProps);case 24:Hd(A,Xr,u.memoizedState.cache)}return df(u,A,p)}function K8(u,A,p){if(u!==null)if(u.memoizedProps!==A.pendingProps)Ma=!0;else{if(!LE(u,p)&&(A.flags&128)===0)return Ma=!1,u0e(u,A,p);Ma=(u.flags&131072)!==0}else Ma=!1,gi&&(A.flags&1048576)!==0&&B1(A,Ym,A.index);switch(A.lanes=0,A.tag){case 16:e:{var S=A.pendingProps;if(u=nt(A.elementType),A.type=u,typeof u=="function")Tp(u)?(S=th(u,S),A.tag=1,A=H8(null,A,u,S,p)):(A.tag=0,A=BE(null,A,u,S,p));else{if(u!=null){var E=u.$$typeof;if(E===F){A.tag=11,A=P8(null,A,u,S,p);break e}else if(E===B){A.tag=14,A=L8(null,A,u,S,p);break e}}throw A=K(u)||u,Error(i(306,A,""))}}return A;case 0:return BE(u,A,A.type,A.pendingProps,p);case 1:return S=A.type,E=th(S,A.pendingProps),H8(u,A,S,E,p);case 3:e:{if(fe(A,A.stateNode.containerInfo),u===null)throw Error(i(387));S=A.pendingProps;var I=A.memoizedState;E=I.element,Tr(u,A),oa(A,S,null,p);var ce=A.memoizedState;if(S=ce.cache,Hd(A,Xr,S),S!==I.cache&&of(A,[Xr],p,!0),ur(),S=ce.element,I.isDehydrated)if(I={element:S,isDehydrated:!1,cache:ce.cache},A.updateQueue.baseState=I,A.memoizedState=I,A.flags&256){A=z8(u,A,S,p);break e}else if(S!==E){E=Ts(Error(i(424)),A),fA(E),A=z8(u,A,S,p);break e}else for(u=A.stateNode.containerInfo,u.nodeType===9?u=u.body:u=u.nodeName==="HTML"?u.ownerDocument.body:u,kr=ac(u.firstChild),Xa=A,gi=!0,Do=null,Ur=!0,p=Kn(A,null,S,p),A.child=p;p;)p.flags=p.flags&-3|4096,p=p.sibling;else{if(af(),S===E){A=df(u,A,p);break e}Oo(u,A,S,p)}A=A.child}return A;case 26:return Q1(u,A),u===null?(p=a$(A.type,null,A.pendingProps,null))?A.memoizedState=p:gi||(p=A.type,u=A.pendingProps,S=aS(Z.current).createElement(p),S[lt]=A,S[Ft]=u,Ro(S,p,u),tr(S),A.stateNode=S):A.memoizedState=a$(A.type,u.memoizedProps,A.pendingProps,u.memoizedState),null;case 27:return Se(A),u===null&&gi&&(S=A.stateNode=n$(A.type,A.pendingProps,Z.current),Xa=A,Ur=!0,E=kr,FA(A.type)?(pB=E,kr=ac(S.firstChild)):kr=E),Oo(u,A,A.pendingProps.children,p),Q1(u,A),u===null&&(A.flags|=4194304),A.child;case 5:return u===null&&gi&&((E=S=kr)&&(S=j0e(S,A.type,A.pendingProps,Ur),S!==null?(A.stateNode=S,Xa=A,kr=ac(S.firstChild),Ur=!1,E=!0):E=!1),E||jd(A)),Se(A),E=A.type,I=A.pendingProps,ce=u!==null?u.memoizedProps:null,S=I.children,uB(E,I)?S=null:ce!==null&&uB(E,ce)&&(A.flags|=32),A.memoizedState!==null&&(E=_0(u,A,vE,null,null,p),Z0._currentValue=E),Q1(u,A),Oo(u,A,S,p),A.child;case 6:return u===null&&gi&&((u=p=kr)&&(p=Q0e(p,A.pendingProps,Ur),p!==null?(A.stateNode=p,Xa=A,kr=null,u=!0):u=!1),u||jd(A)),null;case 13:return V8(u,A,p);case 4:return fe(A,A.stateNode.containerInfo),S=A.pendingProps,u===null?A.child=br(A,null,S,p):Oo(u,A,S,p),A.child;case 11:return P8(u,A,A.type,A.pendingProps,p);case 7:return Oo(u,A,A.pendingProps,p),A.child;case 8:return Oo(u,A,A.pendingProps.children,p),A.child;case 12:return Oo(u,A,A.pendingProps.children,p),A.child;case 10:return S=A.pendingProps,Hd(A,A.type,S.value),Oo(u,A,S.children,p),A.child;case 9:return E=A.type._context,S=A.pendingProps.children,Vd(A),E=Ja(E),S=S(E),A.flags|=1,Oo(u,A,S,p),A.child;case 14:return L8(u,A,A.type,A.pendingProps,p);case 15:return U8(u,A,A.type,A.pendingProps,p);case 19:return q8(u,A,p);case 31:return d0e(u,A,p);case 22:return M8(u,A,p,A.pendingProps);case 24:return Vd(A),S=Ja(Xr),u===null?(E=Fe(),E===null&&(E=Sr,I=mA(),E.pooledCache=I,I.refCount++,I!==null&&(E.pooledCacheLanes|=p),E=I),A.memoizedState={parent:S,cache:E},$t(A),Hd(A,Xr,E)):((u.lanes&p)!==0&&(Tr(u,A),oa(A,null,null,p),ur()),E=u.memoizedState,I=A.memoizedState,E.parent!==S?(E={parent:S,cache:S},A.memoizedState=E,A.lanes===0&&(A.memoizedState=A.updateQueue.baseState=E),Hd(A,Xr,S)):(S=I.cache,Hd(A,Xr,S),S!==E.cache&&of(A,[Xr],p,!0))),Oo(u,A,A.pendingProps.children,p),A.child;case 29:throw A.pendingProps}throw Error(i(156,A.tag))}function uf(u){u.flags|=4}function UE(u,A,p,S,E){if((A=(u.mode&32)!==0)&&(A=!1),A){if(u.flags|=16777216,(E&335544128)===E)if(u.stateNode.complete)u.flags|=8192;else if(bM())u.flags|=8192;else throw ht=Ke,it}else u.flags&=-16777217}function W8(u,A){if(A.type!=="stylesheet"||(A.state.loading&4)!==0)u.flags&=-16777217;else if(u.flags|=16777216,!d$(A))if(bM())u.flags|=8192;else throw ht=Ke,it}function z1(u,A){A!==null&&(u.flags|=4),u.flags&16384&&(A=u.tag!==22?tn():536870912,u.lanes|=A,Zp|=A)}function U0(u,A){if(!gi)switch(u.tailMode){case"hidden":A=u.tail;for(var p=null;A!==null;)A.alternate!==null&&(p=A),A=A.sibling;p===null?u.tail=null:p.sibling=null;break;case"collapsed":p=u.tail;for(var S=null;p!==null;)p.alternate!==null&&(S=p),p=p.sibling;S===null?A||u.tail===null?u.tail=null:u.tail.sibling=null:S.sibling=null}}function Or(u){var A=u.alternate!==null&&u.alternate.child===u.child,p=0,S=0;if(A)for(var E=u.child;E!==null;)p|=E.lanes|E.childLanes,S|=E.subtreeFlags&65011712,S|=E.flags&65011712,E.return=u,E=E.sibling;else for(E=u.child;E!==null;)p|=E.lanes|E.childLanes,S|=E.subtreeFlags,S|=E.flags,E.return=u,E=E.sibling;return u.subtreeFlags|=S,u.childLanes=p,A}function f0e(u,A,p){var S=A.pendingProps;switch(Rp(A),A.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Or(A),null;case 1:return Or(A),null;case 3:return p=A.stateNode,S=null,u!==null&&(S=u.memoizedState.cache),A.memoizedState.cache!==S&&(A.flags|=2048),Ps(Xr),ve(),p.pendingContext&&(p.context=p.pendingContext,p.pendingContext=null),(u===null||u.child===null)&&(Za(A)?uf(A):u===null||u.memoizedState.isDehydrated&&(A.flags&256)===0||(A.flags|=1024,F0())),Or(A),null;case 26:var E=A.type,I=A.memoizedState;return u===null?(uf(A),I!==null?(Or(A),W8(A,I)):(Or(A),UE(A,E,null,S,p))):I?I!==u.memoizedState?(uf(A),Or(A),W8(A,I)):(Or(A),A.flags&=-16777217):(u=u.memoizedProps,u!==S&&uf(A),Or(A),UE(A,E,u,S,p)),null;case 27:if(ae(A),p=Z.current,E=A.type,u!==null&&A.stateNode!=null)u.memoizedProps!==S&&uf(A);else{if(!S){if(A.stateNode===null)throw Error(i(166));return Or(A),null}u=$.current,Za(A)?x0(A):(u=n$(E,S,p),A.stateNode=u,uf(A))}return Or(A),null;case 5:if(ae(A),E=A.type,u!==null&&A.stateNode!=null)u.memoizedProps!==S&&uf(A);else{if(!S){if(A.stateNode===null)throw Error(i(166));return Or(A),null}if(I=$.current,Za(A))x0(A);else{var ce=aS(Z.current);switch(I){case 1:I=ce.createElementNS("http://www.w3.org/2000/svg",E);break;case 2:I=ce.createElementNS("http://www.w3.org/1998/Math/MathML",E);break;default:switch(E){case"svg":I=ce.createElementNS("http://www.w3.org/2000/svg",E);break;case"math":I=ce.createElementNS("http://www.w3.org/1998/Math/MathML",E);break;case"script":I=ce.createElement("div"),I.innerHTML="<script><\/script>",I=I.removeChild(I.firstChild);break;case"select":I=typeof S.is=="string"?ce.createElement("select",{is:S.is}):ce.createElement("select"),S.multiple?I.multiple=!0:S.size&&(I.size=S.size);break;default:I=typeof S.is=="string"?ce.createElement(E,{is:S.is}):ce.createElement(E)}}I[lt]=A,I[Ft]=S;e:for(ce=A.child;ce!==null;){if(ce.tag===5||ce.tag===6)I.appendChild(ce.stateNode);else if(ce.tag!==4&&ce.tag!==27&&ce.child!==null){ce.child.return=ce,ce=ce.child;continue}if(ce===A)break e;for(;ce.sibling===null;){if(ce.return===null||ce.return===A)break e;ce=ce.return}ce.sibling.return=ce.return,ce=ce.sibling}A.stateNode=I;e:switch(Ro(I,E,S),E){case"button":case"input":case"select":case"textarea":S=!!S.autoFocus;break e;case"img":S=!0;break e;default:S=!1}S&&uf(A)}}return Or(A),UE(A,A.type,u===null?null:u.memoizedProps,A.pendingProps,p),null;case 6:if(u&&A.stateNode!=null)u.memoizedProps!==S&&uf(A);else{if(typeof S!="string"&&A.stateNode===null)throw Error(i(166));if(u=Z.current,Za(A)){if(u=A.stateNode,p=A.memoizedProps,S=null,E=Xa,E!==null)switch(E.tag){case 27:case 5:S=E.memoizedProps}u[lt]=A,u=!!(u.nodeValue===p||S!==null&&S.suppressHydrationWarning===!0||VM(u.nodeValue,p)),u||jd(A,!0)}else u=aS(u).createTextNode(S),u[lt]=A,A.stateNode=u}return Or(A),null;case 31:if(p=A.memoizedState,u===null||u.memoizedState!==null){if(S=Za(A),p!==null){if(u===null){if(!S)throw Error(i(318));if(u=A.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(i(557));u[lt]=A}else af(),(A.flags&128)===0&&(A.memoizedState=null),A.flags|=4;Or(A),u=!1}else p=F0(),u!==null&&u.memoizedState!==null&&(u.memoizedState.hydrationErrors=p),u=!0;if(!u)return A.flags&256?(nr(A),A):(nr(A),null);if((A.flags&128)!==0)throw Error(i(558))}return Or(A),null;case 13:if(S=A.memoizedState,u===null||u.memoizedState!==null&&u.memoizedState.dehydrated!==null){if(E=Za(A),S!==null&&S.dehydrated!==null){if(u===null){if(!E)throw Error(i(318));if(E=A.memoizedState,E=E!==null?E.dehydrated:null,!E)throw Error(i(317));E[lt]=A}else af(),(A.flags&128)===0&&(A.memoizedState=null),A.flags|=4;Or(A),E=!1}else E=F0(),u!==null&&u.memoizedState!==null&&(u.memoizedState.hydrationErrors=E),E=!0;if(!E)return A.flags&256?(nr(A),A):(nr(A),null)}return nr(A),(A.flags&128)!==0?(A.lanes=p,A):(p=S!==null,u=u!==null&&u.memoizedState!==null,p&&(S=A.child,E=null,S.alternate!==null&&S.alternate.memoizedState!==null&&S.alternate.memoizedState.cachePool!==null&&(E=S.alternate.memoizedState.cachePool.pool),I=null,S.memoizedState!==null&&S.memoizedState.cachePool!==null&&(I=S.memoizedState.cachePool.pool),I!==E&&(S.flags|=2048)),p!==u&&p&&(A.child.flags|=8192),z1(A,A.updateQueue),Or(A),null);case 4:return ve(),u===null&&oB(A.stateNode.containerInfo),Or(A),null;case 10:return Ps(A.type),Or(A),null;case 19:if(L(_i),S=A.memoizedState,S===null)return Or(A),null;if(E=(A.flags&128)!==0,I=S.rendering,I===null)if(E)U0(S,!1);else{if(ua!==0||u!==null&&(u.flags&128)!==0)for(u=A.child;u!==null;){if(I=go(u),I!==null){for(A.flags|=128,U0(S,!1),u=I.updateQueue,A.updateQueue=u,z1(A,u),A.subtreeFlags=0,u=p,p=A.child;p!==null;)Km(p,u),p=p.sibling;return j(_i,_i.current&1|2),gi&&hs(A,S.treeForkCount),A.child}u=u.sibling}S.tail!==null&&qe()>W1&&(A.flags|=128,E=!0,U0(S,!1),A.lanes=4194304)}else{if(!E)if(u=go(I),u!==null){if(A.flags|=128,E=!0,u=u.updateQueue,A.updateQueue=u,z1(A,u),U0(S,!0),S.tail===null&&S.tailMode==="hidden"&&!I.alternate&&!gi)return Or(A),null}else 2*qe()-S.renderingStartTime>W1&&p!==536870912&&(A.flags|=128,E=!0,U0(S,!1),A.lanes=4194304);S.isBackwards?(I.sibling=A.child,A.child=I):(u=S.last,u!==null?u.sibling=I:A.child=I,S.last=I)}return S.tail!==null?(u=S.tail,S.rendering=u,S.tail=u.sibling,S.renderingStartTime=qe(),u.sibling=null,p=_i.current,j(_i,E?p&1|2:p&1),gi&&hs(A,S.treeForkCount),u):(Or(A),null);case 22:case 23:return nr(A),wa(),S=A.memoizedState!==null,u!==null?u.memoizedState!==null!==S&&(A.flags|=8192):S&&(A.flags|=8192),S?(p&536870912)!==0&&(A.flags&128)===0&&(Or(A),A.subtreeFlags&6&&(A.flags|=8192)):Or(A),p=A.updateQueue,p!==null&&z1(A,p.retryQueue),p=null,u!==null&&u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(p=u.memoizedState.cachePool.pool),S=null,A.memoizedState!==null&&A.memoizedState.cachePool!==null&&(S=A.memoizedState.cachePool.pool),S!==p&&(A.flags|=2048),u!==null&&L(be),null;case 24:return p=null,u!==null&&(p=u.memoizedState.cache),A.memoizedState.cache!==p&&(A.flags|=2048),Ps(Xr),Or(A),null;case 25:return null;case 30:return null}throw Error(i(156,A.tag))}function A0e(u,A){switch(Rp(A),A.tag){case 1:return u=A.flags,u&65536?(A.flags=u&-65537|128,A):null;case 3:return Ps(Xr),ve(),u=A.flags,(u&65536)!==0&&(u&128)===0?(A.flags=u&-65537|128,A):null;case 26:case 27:case 5:return ae(A),null;case 31:if(A.memoizedState!==null){if(nr(A),A.alternate===null)throw Error(i(340));af()}return u=A.flags,u&65536?(A.flags=u&-65537|128,A):null;case 13:if(nr(A),u=A.memoizedState,u!==null&&u.dehydrated!==null){if(A.alternate===null)throw Error(i(340));af()}return u=A.flags,u&65536?(A.flags=u&-65537|128,A):null;case 19:return L(_i),null;case 4:return ve(),null;case 10:return Ps(A.type),null;case 22:case 23:return nr(A),wa(),u!==null&&L(be),u=A.flags,u&65536?(A.flags=u&-65537|128,A):null;case 24:return Ps(Xr),null;case 25:return null;default:return null}}function Y8(u,A){switch(Rp(A),A.tag){case 3:Ps(Xr),ve();break;case 26:case 27:case 5:ae(A);break;case 4:ve();break;case 31:A.memoizedState!==null&&nr(A);break;case 13:nr(A);break;case 19:L(_i);break;case 10:Ps(A.type);break;case 22:case 23:nr(A),wa(),u!==null&&L(be);break;case 24:Ps(Xr)}}function M0(u,A){try{var p=A.updateQueue,S=p!==null?p.lastEffect:null;if(S!==null){var E=S.next;p=E;do{if((p.tag&u)===u){S=void 0;var I=p.create,ce=p.inst;S=I(),ce.destroy=S}p=p.next}while(p!==E)}}catch(we){rr(A,A.return,we)}}function yA(u,A,p){try{var S=A.updateQueue,E=S!==null?S.lastEffect:null;if(E!==null){var I=E.next;S=I;do{if((S.tag&u)===u){var ce=S.inst,we=ce.destroy;if(we!==void 0){ce.destroy=void 0,E=A;var $e=p,at=we;try{at()}catch(gt){rr(E,$e,gt)}}}S=S.next}while(S!==I)}}catch(gt){rr(A,A.return,gt)}}function X8(u){var A=u.updateQueue;if(A!==null){var p=u.stateNode;try{sa(A,p)}catch(S){rr(u,u.return,S)}}}function Z8(u,A,p){p.props=th(u.type,u.memoizedProps),p.state=u.memoizedState;try{p.componentWillUnmount()}catch(S){rr(u,A,S)}}function $0(u,A){try{var p=u.ref;if(p!==null){switch(u.tag){case 26:case 27:case 5:var S=u.stateNode;break;case 30:S=u.stateNode;break;default:S=u.stateNode}typeof p=="function"?u.refCleanup=p(S):p.current=S}}catch(E){rr(u,A,E)}}function Yd(u,A){var p=u.ref,S=u.refCleanup;if(p!==null)if(typeof S=="function")try{S()}catch(E){rr(u,A,E)}finally{u.refCleanup=null,u=u.alternate,u!=null&&(u.refCleanup=null)}else if(typeof p=="function")try{p(null)}catch(E){rr(u,A,E)}else p.current=null}function J8(u){var A=u.type,p=u.memoizedProps,S=u.stateNode;try{e:switch(A){case"button":case"input":case"select":case"textarea":p.autoFocus&&S.focus();break e;case"img":p.src?S.src=p.src:p.srcSet&&(S.srcset=p.srcSet)}}catch(E){rr(u,u.return,E)}}function ME(u,A,p){try{var S=u.stateNode;R0e(S,u.type,p,A),S[Ft]=A}catch(E){rr(u,u.return,E)}}function eM(u){return u.tag===5||u.tag===3||u.tag===26||u.tag===27&&FA(u.type)||u.tag===4}function $E(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||eM(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.tag===27&&FA(u.type)||u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function jE(u,A,p){var S=u.tag;if(S===5||S===6)u=u.stateNode,A?(p.nodeType===9?p.body:p.nodeName==="HTML"?p.ownerDocument.body:p).insertBefore(u,A):(A=p.nodeType===9?p.body:p.nodeName==="HTML"?p.ownerDocument.body:p,A.appendChild(u),p=p._reactRootContainer,p!=null||A.onclick!==null||(A.onclick=ol));else if(S!==4&&(S===27&&FA(u.type)&&(p=u.stateNode,A=null),u=u.child,u!==null))for(jE(u,A,p),u=u.sibling;u!==null;)jE(u,A,p),u=u.sibling}function V1(u,A,p){var S=u.tag;if(S===5||S===6)u=u.stateNode,A?p.insertBefore(u,A):p.appendChild(u);else if(S!==4&&(S===27&&FA(u.type)&&(p=u.stateNode),u=u.child,u!==null))for(V1(u,A,p),u=u.sibling;u!==null;)V1(u,A,p),u=u.sibling}function tM(u){var A=u.stateNode,p=u.memoizedProps;try{for(var S=u.type,E=A.attributes;E.length;)A.removeAttributeNode(E[0]);Ro(A,S,p),A[lt]=u,A[Ft]=p}catch(I){rr(u,u.return,I)}}var ff=!1,$a=!1,QE=!1,nM=typeof WeakSet=="function"?WeakSet:Set,vo=null;function m0e(u,A){if(u=u.containerInfo,cB=fS,u=Yc(u),ec(u)){if("selectionStart"in u)var p={start:u.selectionStart,end:u.selectionEnd};else e:{p=(p=u.ownerDocument)&&p.defaultView||window;var S=p.getSelection&&p.getSelection();if(S&&S.rangeCount!==0){p=S.anchorNode;var E=S.anchorOffset,I=S.focusNode;S=S.focusOffset;try{p.nodeType,I.nodeType}catch{p=null;break e}var ce=0,we=-1,$e=-1,at=0,gt=0,wt=u,st=null;t:for(;;){for(var ft;wt!==p||E!==0&&wt.nodeType!==3||(we=ce+E),wt!==I||S!==0&&wt.nodeType!==3||($e=ce+S),wt.nodeType===3&&(ce+=wt.nodeValue.length),(ft=wt.firstChild)!==null;)st=wt,wt=ft;for(;;){if(wt===u)break t;if(st===p&&++at===E&&(we=ce),st===I&&++gt===S&&($e=ce),(ft=wt.nextSibling)!==null)break;wt=st,st=wt.parentNode}wt=ft}p=we===-1||$e===-1?null:{start:we,end:$e}}else p=null}p=p||{start:0,end:0}}else p=null;for(dB={focusedElem:u,selectionRange:p},fS=!1,vo=A;vo!==null;)if(A=vo,u=A.child,(A.subtreeFlags&1028)!==0&&u!==null)u.return=A,vo=u;else for(;vo!==null;){switch(A=vo,I=A.alternate,u=A.flags,A.tag){case 0:if((u&4)!==0&&(u=A.updateQueue,u=u!==null?u.events:null,u!==null))for(p=0;p<u.length;p++)E=u[p],E.ref.impl=E.nextImpl;break;case 11:case 15:break;case 1:if((u&1024)!==0&&I!==null){u=void 0,p=A,E=I.memoizedProps,I=I.memoizedState,S=p.stateNode;try{var on=th(p.type,E);u=S.getSnapshotBeforeUpdate(on,I),S.__reactInternalSnapshotBeforeUpdate=u}catch(Tn){rr(p,p.return,Tn)}}break;case 3:if((u&1024)!==0){if(u=A.stateNode.containerInfo,p=u.nodeType,p===9)AB(u);else if(p===1)switch(u.nodeName){case"HEAD":case"HTML":case"BODY":AB(u);break;default:u.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((u&1024)!==0)throw Error(i(163))}if(u=A.sibling,u!==null){u.return=A.return,vo=u;break}vo=A.return}}function iM(u,A,p){var S=p.flags;switch(p.tag){case 0:case 11:case 15:mf(u,p),S&4&&M0(5,p);break;case 1:if(mf(u,p),S&4)if(u=p.stateNode,A===null)try{u.componentDidMount()}catch(ce){rr(p,p.return,ce)}else{var E=th(p.type,A.memoizedProps);A=A.memoizedState;try{u.componentDidUpdate(E,A,u.__reactInternalSnapshotBeforeUpdate)}catch(ce){rr(p,p.return,ce)}}S&64&&X8(p),S&512&&$0(p,p.return);break;case 3:if(mf(u,p),S&64&&(u=p.updateQueue,u!==null)){if(A=null,p.child!==null)switch(p.child.tag){case 27:case 5:A=p.child.stateNode;break;case 1:A=p.child.stateNode}try{sa(u,A)}catch(ce){rr(p,p.return,ce)}}break;case 27:A===null&&S&4&&tM(p);case 26:case 5:mf(u,p),A===null&&S&4&&J8(p),S&512&&$0(p,p.return);break;case 12:mf(u,p);break;case 31:mf(u,p),S&4&&oM(u,p);break;case 13:mf(u,p),S&4&&sM(u,p),S&64&&(u=p.memoizedState,u!==null&&(u=u.dehydrated,u!==null&&(p=w0e.bind(null,p),H0e(u,p))));break;case 22:if(S=p.memoizedState!==null||ff,!S){A=A!==null&&A.memoizedState!==null||$a,E=ff;var I=$a;ff=S,($a=A)&&!I?hf(u,p,(p.subtreeFlags&8772)!==0):mf(u,p),ff=E,$a=I}break;case 30:break;default:mf(u,p)}}function rM(u){var A=u.alternate;A!==null&&(u.alternate=null,rM(A)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(A=u.stateNode,A!==null&&Hi(A)),u.stateNode=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}var jr=null,Us=!1;function Af(u,A,p){for(p=p.child;p!==null;)aM(u,A,p),p=p.sibling}function aM(u,A,p){if(_e&&typeof _e.onCommitFiberUnmount=="function")try{_e.onCommitFiberUnmount(Ne,p)}catch{}switch(p.tag){case 26:$a||Yd(p,A),Af(u,A,p),p.memoizedState?p.memoizedState.count--:p.stateNode&&(p=p.stateNode,p.parentNode.removeChild(p));break;case 27:$a||Yd(p,A);var S=jr,E=Us;FA(p.type)&&(jr=p.stateNode,Us=!1),Af(u,A,p),W0(p.stateNode),jr=S,Us=E;break;case 5:$a||Yd(p,A);case 6:if(S=jr,E=Us,jr=null,Af(u,A,p),jr=S,Us=E,jr!==null)if(Us)try{(jr.nodeType===9?jr.body:jr.nodeName==="HTML"?jr.ownerDocument.body:jr).removeChild(p.stateNode)}catch(I){rr(p,A,I)}else try{jr.removeChild(p.stateNode)}catch(I){rr(p,A,I)}break;case 18:jr!==null&&(Us?(u=jr,XM(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,p.stateNode),og(u)):XM(jr,p.stateNode));break;case 4:S=jr,E=Us,jr=p.stateNode.containerInfo,Us=!0,Af(u,A,p),jr=S,Us=E;break;case 0:case 11:case 14:case 15:yA(2,p,A),$a||yA(4,p,A),Af(u,A,p);break;case 1:$a||(Yd(p,A),S=p.stateNode,typeof S.componentWillUnmount=="function"&&Z8(p,A,S)),Af(u,A,p);break;case 21:Af(u,A,p);break;case 22:$a=(S=$a)||p.memoizedState!==null,Af(u,A,p),$a=S;break;default:Af(u,A,p)}}function oM(u,A){if(A.memoizedState===null&&(u=A.alternate,u!==null&&(u=u.memoizedState,u!==null))){u=u.dehydrated;try{og(u)}catch(p){rr(A,A.return,p)}}}function sM(u,A){if(A.memoizedState===null&&(u=A.alternate,u!==null&&(u=u.memoizedState,u!==null&&(u=u.dehydrated,u!==null))))try{og(u)}catch(p){rr(A,A.return,p)}}function h0e(u){switch(u.tag){case 31:case 13:case 19:var A=u.stateNode;return A===null&&(A=u.stateNode=new nM),A;case 22:return u=u.stateNode,A=u._retryCache,A===null&&(A=u._retryCache=new nM),A;default:throw Error(i(435,u.tag))}}function G1(u,A){var p=h0e(u);A.forEach(function(S){if(!p.has(S)){p.add(S);var E=N0e.bind(null,u,S);S.then(E,E)}})}function Ms(u,A){var p=A.deletions;if(p!==null)for(var S=0;S<p.length;S++){var E=p[S],I=u,ce=A,we=ce;e:for(;we!==null;){switch(we.tag){case 27:if(FA(we.type)){jr=we.stateNode,Us=!1;break e}break;case 5:jr=we.stateNode,Us=!1;break e;case 3:case 4:jr=we.stateNode.containerInfo,Us=!0;break e}we=we.return}if(jr===null)throw Error(i(160));aM(I,ce,E),jr=null,Us=!1,I=E.alternate,I!==null&&(I.return=null),E.return=null}if(A.subtreeFlags&13886)for(A=A.child;A!==null;)lM(A,u),A=A.sibling}var rd=null;function lM(u,A){var p=u.alternate,S=u.flags;switch(u.tag){case 0:case 11:case 14:case 15:Ms(A,u),$s(u),S&4&&(yA(3,u,u.return),M0(3,u),yA(5,u,u.return));break;case 1:Ms(A,u),$s(u),S&512&&($a||p===null||Yd(p,p.return)),S&64&&ff&&(u=u.updateQueue,u!==null&&(S=u.callbacks,S!==null&&(p=u.shared.hiddenCallbacks,u.shared.hiddenCallbacks=p===null?S:p.concat(S))));break;case 26:var E=rd;if(Ms(A,u),$s(u),S&512&&($a||p===null||Yd(p,p.return)),S&4){var I=p!==null?p.memoizedState:null;if(S=u.memoizedState,p===null)if(S===null)if(u.stateNode===null){e:{S=u.type,p=u.memoizedProps,E=E.ownerDocument||E;t:switch(S){case"title":I=E.getElementsByTagName("title")[0],(!I||I[bi]||I[lt]||I.namespaceURI==="http://www.w3.org/2000/svg"||I.hasAttribute("itemprop"))&&(I=E.createElement(S),E.head.insertBefore(I,E.querySelector("head > title"))),Ro(I,S,p),I[lt]=u,tr(I),S=I;break e;case"link":var ce=l$("link","href",E).get(S+(p.href||""));if(ce){for(var we=0;we<ce.length;we++)if(I=ce[we],I.getAttribute("href")===(p.href==null||p.href===""?null:p.href)&&I.getAttribute("rel")===(p.rel==null?null:p.rel)&&I.getAttribute("title")===(p.title==null?null:p.title)&&I.getAttribute("crossorigin")===(p.crossOrigin==null?null:p.crossOrigin)){ce.splice(we,1);break t}}I=E.createElement(S),Ro(I,S,p),E.head.appendChild(I);break;case"meta":if(ce=l$("meta","content",E).get(S+(p.content||""))){for(we=0;we<ce.length;we++)if(I=ce[we],I.getAttribute("content")===(p.content==null?null:""+p.content)&&I.getAttribute("name")===(p.name==null?null:p.name)&&I.getAttribute("property")===(p.property==null?null:p.property)&&I.getAttribute("http-equiv")===(p.httpEquiv==null?null:p.httpEquiv)&&I.getAttribute("charset")===(p.charSet==null?null:p.charSet)){ce.splice(we,1);break t}}I=E.createElement(S),Ro(I,S,p),E.head.appendChild(I);break;default:throw Error(i(468,S))}I[lt]=u,tr(I),S=I}u.stateNode=S}else c$(E,u.type,u.stateNode);else u.stateNode=s$(E,S,u.memoizedProps);else I!==S?(I===null?p.stateNode!==null&&(p=p.stateNode,p.parentNode.removeChild(p)):I.count--,S===null?c$(E,u.type,u.stateNode):s$(E,S,u.memoizedProps)):S===null&&u.stateNode!==null&&ME(u,u.memoizedProps,p.memoizedProps)}break;case 27:Ms(A,u),$s(u),S&512&&($a||p===null||Yd(p,p.return)),p!==null&&S&4&&ME(u,u.memoizedProps,p.memoizedProps);break;case 5:if(Ms(A,u),$s(u),S&512&&($a||p===null||Yd(p,p.return)),u.flags&32){E=u.stateNode;try{al(E,"")}catch(on){rr(u,u.return,on)}}S&4&&u.stateNode!=null&&(E=u.memoizedProps,ME(u,E,p!==null?p.memoizedProps:E)),S&1024&&(QE=!0);break;case 6:if(Ms(A,u),$s(u),S&4){if(u.stateNode===null)throw Error(i(162));S=u.memoizedProps,p=u.stateNode;try{p.nodeValue=S}catch(on){rr(u,u.return,on)}}break;case 3:if(lS=null,E=rd,rd=oS(A.containerInfo),Ms(A,u),rd=E,$s(u),S&4&&p!==null&&p.memoizedState.isDehydrated)try{og(A.containerInfo)}catch(on){rr(u,u.return,on)}QE&&(QE=!1,cM(u));break;case 4:S=rd,rd=oS(u.stateNode.containerInfo),Ms(A,u),$s(u),rd=S;break;case 12:Ms(A,u),$s(u);break;case 31:Ms(A,u),$s(u),S&4&&(S=u.updateQueue,S!==null&&(u.updateQueue=null,G1(u,S)));break;case 13:Ms(A,u),$s(u),u.child.flags&8192&&u.memoizedState!==null!=(p!==null&&p.memoizedState!==null)&&(K1=qe()),S&4&&(S=u.updateQueue,S!==null&&(u.updateQueue=null,G1(u,S)));break;case 22:E=u.memoizedState!==null;var $e=p!==null&&p.memoizedState!==null,at=ff,gt=$a;if(ff=at||E,$a=gt||$e,Ms(A,u),$a=gt,ff=at,$s(u),S&8192)e:for(A=u.stateNode,A._visibility=E?A._visibility&-2:A._visibility|1,E&&(p===null||$e||ff||$a||nh(u)),p=null,A=u;;){if(A.tag===5||A.tag===26){if(p===null){$e=p=A;try{if(I=$e.stateNode,E)ce=I.style,typeof ce.setProperty=="function"?ce.setProperty("display","none","important"):ce.display="none";else{we=$e.stateNode;var wt=$e.memoizedProps.style,st=wt!=null&&wt.hasOwnProperty("display")?wt.display:null;we.style.display=st==null||typeof st=="boolean"?"":(""+st).trim()}}catch(on){rr($e,$e.return,on)}}}else if(A.tag===6){if(p===null){$e=A;try{$e.stateNode.nodeValue=E?"":$e.memoizedProps}catch(on){rr($e,$e.return,on)}}}else if(A.tag===18){if(p===null){$e=A;try{var ft=$e.stateNode;E?ZM(ft,!0):ZM($e.stateNode,!1)}catch(on){rr($e,$e.return,on)}}}else if((A.tag!==22&&A.tag!==23||A.memoizedState===null||A===u)&&A.child!==null){A.child.return=A,A=A.child;continue}if(A===u)break e;for(;A.sibling===null;){if(A.return===null||A.return===u)break e;p===A&&(p=null),A=A.return}p===A&&(p=null),A.sibling.return=A.return,A=A.sibling}S&4&&(S=u.updateQueue,S!==null&&(p=S.retryQueue,p!==null&&(S.retryQueue=null,G1(u,p))));break;case 19:Ms(A,u),$s(u),S&4&&(S=u.updateQueue,S!==null&&(u.updateQueue=null,G1(u,S)));break;case 30:break;case 21:break;default:Ms(A,u),$s(u)}}function $s(u){var A=u.flags;if(A&2){try{for(var p,S=u.return;S!==null;){if(eM(S)){p=S;break}S=S.return}if(p==null)throw Error(i(160));switch(p.tag){case 27:var E=p.stateNode,I=$E(u);V1(u,I,E);break;case 5:var ce=p.stateNode;p.flags&32&&(al(ce,""),p.flags&=-33);var we=$E(u);V1(u,we,ce);break;case 3:case 4:var $e=p.stateNode.containerInfo,at=$E(u);jE(u,at,$e);break;default:throw Error(i(161))}}catch(gt){rr(u,u.return,gt)}u.flags&=-3}A&4096&&(u.flags&=-4097)}function cM(u){if(u.subtreeFlags&1024)for(u=u.child;u!==null;){var A=u;cM(A),A.tag===5&&A.flags&1024&&A.stateNode.reset(),u=u.sibling}}function mf(u,A){if(A.subtreeFlags&8772)for(A=A.child;A!==null;)iM(u,A.alternate,A),A=A.sibling}function nh(u){for(u=u.child;u!==null;){var A=u;switch(A.tag){case 0:case 11:case 14:case 15:yA(4,A,A.return),nh(A);break;case 1:Yd(A,A.return);var p=A.stateNode;typeof p.componentWillUnmount=="function"&&Z8(A,A.return,p),nh(A);break;case 27:W0(A.stateNode);case 26:case 5:Yd(A,A.return),nh(A);break;case 22:A.memoizedState===null&&nh(A);break;case 30:nh(A);break;default:nh(A)}u=u.sibling}}function hf(u,A,p){for(p=p&&(A.subtreeFlags&8772)!==0,A=A.child;A!==null;){var S=A.alternate,E=u,I=A,ce=I.flags;switch(I.tag){case 0:case 11:case 15:hf(E,I,p),M0(4,I);break;case 1:if(hf(E,I,p),S=I,E=S.stateNode,typeof E.componentDidMount=="function")try{E.componentDidMount()}catch(at){rr(S,S.return,at)}if(S=I,E=S.updateQueue,E!==null){var we=S.stateNode;try{var $e=E.shared.hiddenCallbacks;if($e!==null)for(E.shared.hiddenCallbacks=null,E=0;E<$e.length;E++)po($e[E],we)}catch(at){rr(S,S.return,at)}}p&&ce&64&&X8(I),$0(I,I.return);break;case 27:tM(I);case 26:case 5:hf(E,I,p),p&&S===null&&ce&4&&J8(I),$0(I,I.return);break;case 12:hf(E,I,p);break;case 31:hf(E,I,p),p&&ce&4&&oM(E,I);break;case 13:hf(E,I,p),p&&ce&4&&sM(E,I);break;case 22:I.memoizedState===null&&hf(E,I,p),$0(I,I.return);break;case 30:break;default:hf(E,I,p)}A=A.sibling}}function HE(u,A){var p=null;u!==null&&u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(p=u.memoizedState.cachePool.pool),u=null,A.memoizedState!==null&&A.memoizedState.cachePool!==null&&(u=A.memoizedState.cachePool.pool),u!==p&&(u!=null&&u.refCount++,p!=null&&Xm(p))}function zE(u,A){u=null,A.alternate!==null&&(u=A.alternate.memoizedState.cache),A=A.memoizedState.cache,A!==u&&(A.refCount++,u!=null&&Xm(u))}function ad(u,A,p,S){if(A.subtreeFlags&10256)for(A=A.child;A!==null;)dM(u,A,p,S),A=A.sibling}function dM(u,A,p,S){var E=A.flags;switch(A.tag){case 0:case 11:case 15:ad(u,A,p,S),E&2048&&M0(9,A);break;case 1:ad(u,A,p,S);break;case 3:ad(u,A,p,S),E&2048&&(u=null,A.alternate!==null&&(u=A.alternate.memoizedState.cache),A=A.memoizedState.cache,A!==u&&(A.refCount++,u!=null&&Xm(u)));break;case 12:if(E&2048){ad(u,A,p,S),u=A.stateNode;try{var I=A.memoizedProps,ce=I.id,we=I.onPostCommit;typeof we=="function"&&we(ce,A.alternate===null?"mount":"update",u.passiveEffectDuration,-0)}catch($e){rr(A,A.return,$e)}}else ad(u,A,p,S);break;case 31:ad(u,A,p,S);break;case 13:ad(u,A,p,S);break;case 23:break;case 22:I=A.stateNode,ce=A.alternate,A.memoizedState!==null?I._visibility&2?ad(u,A,p,S):j0(u,A):I._visibility&2?ad(u,A,p,S):(I._visibility|=2,Wp(u,A,p,S,(A.subtreeFlags&10256)!==0||!1)),E&2048&&HE(ce,A);break;case 24:ad(u,A,p,S),E&2048&&zE(A.alternate,A);break;default:ad(u,A,p,S)}}function Wp(u,A,p,S,E){for(E=E&&((A.subtreeFlags&10256)!==0||!1),A=A.child;A!==null;){var I=u,ce=A,we=p,$e=S,at=ce.flags;switch(ce.tag){case 0:case 11:case 15:Wp(I,ce,we,$e,E),M0(8,ce);break;case 23:break;case 22:var gt=ce.stateNode;ce.memoizedState!==null?gt._visibility&2?Wp(I,ce,we,$e,E):j0(I,ce):(gt._visibility|=2,Wp(I,ce,we,$e,E)),E&&at&2048&&HE(ce.alternate,ce);break;case 24:Wp(I,ce,we,$e,E),E&&at&2048&&zE(ce.alternate,ce);break;default:Wp(I,ce,we,$e,E)}A=A.sibling}}function j0(u,A){if(A.subtreeFlags&10256)for(A=A.child;A!==null;){var p=u,S=A,E=S.flags;switch(S.tag){case 22:j0(p,S),E&2048&&HE(S.alternate,S);break;case 24:j0(p,S),E&2048&&zE(S.alternate,S);break;default:j0(p,S)}A=A.sibling}}var Q0=8192;function Yp(u,A,p){if(u.subtreeFlags&Q0)for(u=u.child;u!==null;)uM(u,A,p),u=u.sibling}function uM(u,A,p){switch(u.tag){case 26:Yp(u,A,p),u.flags&Q0&&u.memoizedState!==null&&tye(p,rd,u.memoizedState,u.memoizedProps);break;case 5:Yp(u,A,p);break;case 3:case 4:var S=rd;rd=oS(u.stateNode.containerInfo),Yp(u,A,p),rd=S;break;case 22:u.memoizedState===null&&(S=u.alternate,S!==null&&S.memoizedState!==null?(S=Q0,Q0=16777216,Yp(u,A,p),Q0=S):Yp(u,A,p));break;default:Yp(u,A,p)}}function fM(u){var A=u.alternate;if(A!==null&&(u=A.child,u!==null)){A.child=null;do A=u.sibling,u.sibling=null,u=A;while(u!==null)}}function H0(u){var A=u.deletions;if((u.flags&16)!==0){if(A!==null)for(var p=0;p<A.length;p++){var S=A[p];vo=S,mM(S,u)}fM(u)}if(u.subtreeFlags&10256)for(u=u.child;u!==null;)AM(u),u=u.sibling}function AM(u){switch(u.tag){case 0:case 11:case 15:H0(u),u.flags&2048&&yA(9,u,u.return);break;case 3:H0(u);break;case 12:H0(u);break;case 22:var A=u.stateNode;u.memoizedState!==null&&A._visibility&2&&(u.return===null||u.return.tag!==13)?(A._visibility&=-3,q1(u)):H0(u);break;default:H0(u)}}function q1(u){var A=u.deletions;if((u.flags&16)!==0){if(A!==null)for(var p=0;p<A.length;p++){var S=A[p];vo=S,mM(S,u)}fM(u)}for(u=u.child;u!==null;){switch(A=u,A.tag){case 0:case 11:case 15:yA(8,A,A.return),q1(A);break;case 22:p=A.stateNode,p._visibility&2&&(p._visibility&=-3,q1(A));break;default:q1(A)}u=u.sibling}}function mM(u,A){for(;vo!==null;){var p=vo;switch(p.tag){case 0:case 11:case 15:yA(8,p,A);break;case 23:case 22:if(p.memoizedState!==null&&p.memoizedState.cachePool!==null){var S=p.memoizedState.cachePool.pool;S!=null&&S.refCount++}break;case 24:Xm(p.memoizedState.cache)}if(S=p.child,S!==null)S.return=p,vo=S;else e:for(p=u;vo!==null;){S=vo;var E=S.sibling,I=S.return;if(rM(S),S===p){vo=null;break e}if(E!==null){E.return=I,vo=E;break e}vo=I}}}var p0e={getCacheForType:function(u){var A=Ja(Xr),p=A.data.get(u);return p===void 0&&(p=u(),A.data.set(u,p)),p},cacheSignal:function(){return Ja(Xr).controller.signal}},g0e=typeof WeakMap=="function"?WeakMap:Map,Gi=0,Sr=null,vi=null,Si=0,ir=0,Al=null,kA=!1,Xp=!1,VE=!1,pf=0,ua=0,bA=0,ih=0,GE=0,ml=0,Zp=0,z0=null,js=null,qE=!1,K1=0,hM=0,W1=1/0,Y1=null,SA=null,to=0,wA=null,Jp=null,gf=0,KE=0,WE=null,pM=null,V0=0,YE=null;function hl(){return(Gi&2)!==0&&Si!==0?Si&-Si:H.T!==null?nB():_t()}function gM(){if(ml===0)if((Si&536870912)===0||gi){var u=ct;ct<<=1,(ct&3932160)===0&&(ct=262144),ml=u}else ml=536870912;return u=Ir.current,u!==null&&(u.flags|=32),ml}function Qs(u,A,p){(u===Sr&&(ir===2||ir===9)||u.cancelPendingCommit!==null)&&(eg(u,0),NA(u,Si,ml,!1)),It(u,p),((Gi&2)===0||u!==Sr)&&(u===Sr&&((Gi&2)===0&&(ih|=p),ua===4&&NA(u,Si,ml,!1)),Xd(u))}function vM(u,A,p){if((Gi&6)!==0)throw Error(i(327));var S=!p&&(A&127)===0&&(A&u.expiredLanes)===0||An(u,A),E=S?k0e(u,A):ZE(u,A,!0),I=S;do{if(E===0){Xp&&!S&&NA(u,A,0,!1);break}else{if(p=u.current.alternate,I&&!v0e(p)){E=ZE(u,A,!1),I=!1;continue}if(E===2){if(I=A,u.errorRecoveryDisabledLanes&I)var ce=0;else ce=u.pendingLanes&-536870913,ce=ce!==0?ce:ce&536870912?536870912:0;if(ce!==0){A=ce;e:{var we=u;E=z0;var $e=we.current.memoizedState.isDehydrated;if($e&&(eg(we,ce).flags|=256),ce=ZE(we,ce,!1),ce!==2){if(VE&&!$e){we.errorRecoveryDisabledLanes|=I,ih|=I,E=4;break e}I=js,js=E,I!==null&&(js===null?js=I:js.push.apply(js,I))}E=ce}if(I=!1,E!==2)continue}}if(E===1){eg(u,0),NA(u,A,0,!0);break}e:{switch(S=u,I=E,I){case 0:case 1:throw Error(i(345));case 4:if((A&4194048)!==A)break;case 6:NA(S,A,ml,!kA);break e;case 2:js=null;break;case 3:case 5:break;default:throw Error(i(329))}if((A&62914560)===A&&(E=K1+300-qe(),10<E)){if(NA(S,A,ml,!kA),St(S,0,!0)!==0)break e;gf=A,S.timeoutHandle=WM(yM.bind(null,S,p,js,Y1,qE,A,ml,ih,Zp,kA,I,"Throttled",-0,0),E);break e}yM(S,p,js,Y1,qE,A,ml,ih,Zp,kA,I,null,-0,0)}}break}while(!0);Xd(u)}function yM(u,A,p,S,E,I,ce,we,$e,at,gt,wt,st,ft){if(u.timeoutHandle=-1,wt=A.subtreeFlags,wt&8192||(wt&16785408)===16785408){wt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ol},uM(A,I,wt);var on=(I&62914560)===I?K1-qe():(I&4194048)===I?hM-qe():0;if(on=nye(wt,on),on!==null){gf=I,u.cancelPendingCommit=on(CM.bind(null,u,A,I,p,S,E,ce,we,$e,gt,wt,null,st,ft)),NA(u,I,ce,!at);return}}CM(u,A,I,p,S,E,ce,we,$e)}function v0e(u){for(var A=u;;){var p=A.tag;if((p===0||p===11||p===15)&&A.flags&16384&&(p=A.updateQueue,p!==null&&(p=p.stores,p!==null)))for(var S=0;S<p.length;S++){var E=p[S],I=E.getSnapshot;E=E.value;try{if(!Wa(I(),E))return!1}catch{return!1}}if(p=A.child,A.subtreeFlags&16384&&p!==null)p.return=A,A=p;else{if(A===u)break;for(;A.sibling===null;){if(A.return===null||A.return===u)return!0;A=A.return}A.sibling.return=A.return,A=A.sibling}}return!0}function NA(u,A,p,S){A&=~GE,A&=~ih,u.suspendedLanes|=A,u.pingedLanes&=~A,S&&(u.warmLanes|=A),S=u.expirationTimes;for(var E=A;0<E;){var I=31-Ce(E),ce=1<<I;S[I]=-1,E&=~ce}p!==0&&Zi(u,p,A)}function X1(){return(Gi&6)===0?(G0(0),!1):!0}function XE(){if(vi!==null){if(ir===0)var u=vi.return;else u=vi,nc=Qd=null,Qp(u),Nt=null,sn=0,u=vi;for(;u!==null;)Y8(u.alternate,u),u=u.return;vi=null}}function eg(u,A){var p=u.timeoutHandle;p!==-1&&(u.timeoutHandle=-1,U0e(p)),p=u.cancelPendingCommit,p!==null&&(u.cancelPendingCommit=null,p()),gf=0,XE(),Sr=u,vi=p=Bs(u.current,null),Si=A,ir=0,Al=null,kA=!1,Xp=An(u,A),VE=!1,Zp=ml=GE=ih=bA=ua=0,js=z0=null,qE=!1,(A&8)!==0&&(A|=A&32);var S=u.entangledLanes;if(S!==0)for(u=u.entanglements,S&=A;0<S;){var E=31-Ce(S),I=1<<E;A|=u[E],S&=~I}return pf=A,Vm(),p}function kM(u,A){kn=null,H.H=P0,A===ze||A===Ie?(A=kt(),ir=3):A===it?(A=kt(),ir=4):ir=A===EE?8:A!==null&&typeof A=="object"&&typeof A.then=="function"?6:1,Al=A,vi===null&&(ua=1,$1(u,Ts(A,u.current)))}function bM(){var u=Ir.current;return u===null?!0:(Si&4194048)===Si?Oi===null:(Si&62914560)===Si||(Si&536870912)!==0?u===Oi:!1}function SM(){var u=H.H;return H.H=P0,u===null?P0:u}function wM(){var u=H.A;return H.A=p0e,u}function Z1(){ua=4,kA||(Si&4194048)!==Si&&Ir.current!==null||(Xp=!0),(bA&134217727)===0&&(ih&134217727)===0||Sr===null||NA(Sr,Si,ml,!1)}function ZE(u,A,p){var S=Gi;Gi|=2;var E=SM(),I=wM();(Sr!==u||Si!==A)&&(Y1=null,eg(u,A)),A=!1;var ce=ua;e:do try{if(ir!==0&&vi!==null){var we=vi,$e=Al;switch(ir){case 8:XE(),ce=6;break e;case 3:case 2:case 9:case 6:Ir.current===null&&(A=!0);var at=ir;if(ir=0,Al=null,tg(u,we,$e,at),p&&Xp){ce=0;break e}break;default:at=ir,ir=0,Al=null,tg(u,we,$e,at)}}y0e(),ce=ua;break}catch(gt){kM(u,gt)}while(!0);return A&&u.shellSuspendCounter++,nc=Qd=null,Gi=S,H.H=E,H.A=I,vi===null&&(Sr=null,Si=0,Vm()),ce}function y0e(){for(;vi!==null;)NM(vi)}function k0e(u,A){var p=Gi;Gi|=2;var S=SM(),E=wM();Sr!==u||Si!==A?(Y1=null,W1=qe()+500,eg(u,A)):Xp=An(u,A);e:do try{if(ir!==0&&vi!==null){A=vi;var I=Al;t:switch(ir){case 1:ir=0,Al=null,tg(u,A,I,1);break;case 2:case 9:if(tt(I)){ir=0,Al=null,xM(A);break}A=function(){ir!==2&&ir!==9||Sr!==u||(ir=7),Xd(u)},I.then(A,A);break e;case 3:ir=7;break e;case 4:ir=5;break e;case 7:tt(I)?(ir=0,Al=null,xM(A)):(ir=0,Al=null,tg(u,A,I,7));break;case 5:var ce=null;switch(vi.tag){case 26:ce=vi.memoizedState;case 5:case 27:var we=vi;if(ce?d$(ce):we.stateNode.complete){ir=0,Al=null;var $e=we.sibling;if($e!==null)vi=$e;else{var at=we.return;at!==null?(vi=at,J1(at)):vi=null}break t}}ir=0,Al=null,tg(u,A,I,5);break;case 6:ir=0,Al=null,tg(u,A,I,6);break;case 8:XE(),ua=6;break e;default:throw Error(i(462))}}b0e();break}catch(gt){kM(u,gt)}while(!0);return nc=Qd=null,H.H=S,H.A=E,Gi=p,vi!==null?0:(Sr=null,Si=0,Vm(),ua)}function b0e(){for(;vi!==null&&!ye();)NM(vi)}function NM(u){var A=K8(u.alternate,u,pf);u.memoizedProps=u.pendingProps,A===null?J1(u):vi=A}function xM(u){var A=u,p=A.alternate;switch(A.tag){case 15:case 0:A=Q8(p,A,A.pendingProps,A.type,void 0,Si);break;case 11:A=Q8(p,A,A.pendingProps,A.type.render,A.ref,Si);break;case 5:Qp(A);default:Y8(p,A),A=vi=Km(A,pf),A=K8(p,A,pf)}u.memoizedProps=u.pendingProps,A===null?J1(u):vi=A}function tg(u,A,p,S){nc=Qd=null,Qp(A),Nt=null,sn=0;var E=A.return;try{if(c0e(u,E,A,p,Si)){ua=1,$1(u,Ts(p,u.current)),vi=null;return}}catch(I){if(E!==null)throw vi=E,I;ua=1,$1(u,Ts(p,u.current)),vi=null;return}A.flags&32768?(gi||S===1?u=!0:Xp||(Si&536870912)!==0?u=!1:(kA=u=!0,(S===2||S===9||S===3||S===6)&&(S=Ir.current,S!==null&&S.tag===13&&(S.flags|=16384))),FM(A,u)):J1(A)}function J1(u){var A=u;do{if((A.flags&32768)!==0){FM(A,kA);return}u=A.return;var p=f0e(A.alternate,A,pf);if(p!==null){vi=p;return}if(A=A.sibling,A!==null){vi=A;return}vi=A=u}while(A!==null);ua===0&&(ua=5)}function FM(u,A){do{var p=A0e(u.alternate,u);if(p!==null){p.flags&=32767,vi=p;return}if(p=u.return,p!==null&&(p.flags|=32768,p.subtreeFlags=0,p.deletions=null),!A&&(u=u.sibling,u!==null)){vi=u;return}vi=u=p}while(u!==null);ua=6,vi=null}function CM(u,A,p,S,E,I,ce,we,$e){u.cancelPendingCommit=null;do eS();while(to!==0);if((Gi&6)!==0)throw Error(i(327));if(A!==null){if(A===u.current)throw Error(i(177));if(I=A.lanes|A.childLanes,I|=_p,_n(u,p,I,ce,we,$e),u===Sr&&(vi=Sr=null,Si=0),Jp=A,wA=u,gf=p,KE=I,WE=E,pM=S,(A.subtreeFlags&10256)!==0||(A.flags&10256)!==0?(u.callbackNode=null,u.callbackPriority=0,x0e(dt,function(){return DM(),null})):(u.callbackNode=null,u.callbackPriority=0),S=(A.flags&13878)!==0,(A.subtreeFlags&13878)!==0||S){S=H.T,H.T=null,E=te.p,te.p=2,ce=Gi,Gi|=4;try{m0e(u,A,p)}finally{Gi=ce,te.p=E,H.T=S}}to=1,_M(),EM(),BM()}}function _M(){if(to===1){to=0;var u=wA,A=Jp,p=(A.flags&13878)!==0;if((A.subtreeFlags&13878)!==0||p){p=H.T,H.T=null;var S=te.p;te.p=2;var E=Gi;Gi|=4;try{lM(A,u);var I=dB,ce=Yc(u.containerInfo),we=I.focusedElem,$e=I.selectionRange;if(ce!==we&&we&&we.ownerDocument&&Wc(we.ownerDocument.documentElement,we)){if($e!==null&&ec(we)){var at=$e.start,gt=$e.end;if(gt===void 0&&(gt=at),"selectionStart"in we)we.selectionStart=at,we.selectionEnd=Math.min(gt,we.value.length);else{var wt=we.ownerDocument||document,st=wt&&wt.defaultView||window;if(st.getSelection){var ft=st.getSelection(),on=we.textContent.length,Tn=Math.min($e.start,on),mr=$e.end===void 0?Tn:Math.min($e.end,on);!ft.extend&&Tn>mr&&(ce=mr,mr=Tn,Tn=ce);var Xe=lA(we,Tn),Ge=lA(we,mr);if(Xe&&Ge&&(ft.rangeCount!==1||ft.anchorNode!==Xe.node||ft.anchorOffset!==Xe.offset||ft.focusNode!==Ge.node||ft.focusOffset!==Ge.offset)){var rt=wt.createRange();rt.setStart(Xe.node,Xe.offset),ft.removeAllRanges(),Tn>mr?(ft.addRange(rt),ft.extend(Ge.node,Ge.offset)):(rt.setEnd(Ge.node,Ge.offset),ft.addRange(rt))}}}}for(wt=[],ft=we;ft=ft.parentNode;)ft.nodeType===1&&wt.push({element:ft,left:ft.scrollLeft,top:ft.scrollTop});for(typeof we.focus=="function"&&we.focus(),we=0;we<wt.length;we++){var bt=wt[we];bt.element.scrollLeft=bt.left,bt.element.scrollTop=bt.top}}fS=!!cB,dB=cB=null}finally{Gi=E,te.p=S,H.T=p}}u.current=A,to=2}}function EM(){if(to===2){to=0;var u=wA,A=Jp,p=(A.flags&8772)!==0;if((A.subtreeFlags&8772)!==0||p){p=H.T,H.T=null;var S=te.p;te.p=2;var E=Gi;Gi|=4;try{iM(u,A.alternate,A)}finally{Gi=E,te.p=S,H.T=p}}to=3}}function BM(){if(to===4||to===3){to=0,De();var u=wA,A=Jp,p=gf,S=pM;(A.subtreeFlags&10256)!==0||(A.flags&10256)!==0?to=5:(to=0,Jp=wA=null,TM(u,u.pendingLanes));var E=u.pendingLanes;if(E===0&&(SA=null),mt(p),A=A.stateNode,_e&&typeof _e.onCommitFiberRoot=="function")try{_e.onCommitFiberRoot(Ne,A,void 0,(A.current.flags&128)===128)}catch{}if(S!==null){A=H.T,E=te.p,te.p=2,H.T=null;try{for(var I=u.onRecoverableError,ce=0;ce<S.length;ce++){var we=S[ce];I(we.value,{componentStack:we.stack})}}finally{H.T=A,te.p=E}}(gf&3)!==0&&eS(),Xd(u),E=u.pendingLanes,(p&261930)!==0&&(E&42)!==0?u===YE?V0++:(V0=0,YE=u):V0=0,G0(0)}}function TM(u,A){(u.pooledCacheLanes&=A)===0&&(A=u.pooledCache,A!=null&&(u.pooledCache=null,Xm(A)))}function eS(){return _M(),EM(),BM(),DM()}function DM(){if(to!==5)return!1;var u=wA,A=KE;KE=0;var p=mt(gf),S=H.T,E=te.p;try{te.p=32>p?32:p,H.T=null,p=WE,WE=null;var I=wA,ce=gf;if(to=0,Jp=wA=null,gf=0,(Gi&6)!==0)throw Error(i(331));var we=Gi;if(Gi|=4,AM(I.current),dM(I,I.current,ce,p),Gi=we,G0(0,!1),_e&&typeof _e.onPostCommitFiberRoot=="function")try{_e.onPostCommitFiberRoot(Ne,I)}catch{}return!0}finally{te.p=E,H.T=S,TM(u,A)}}function IM(u,A,p){A=Ts(p,A),A=_E(u.stateNode,A,2),u=ni(u,A,2),u!==null&&(It(u,2),Xd(u))}function rr(u,A,p){if(u.tag===3)IM(u,u,p);else for(;A!==null;){if(A.tag===3){IM(A,u,p);break}else if(A.tag===1){var S=A.stateNode;if(typeof A.type.getDerivedStateFromError=="function"||typeof S.componentDidCatch=="function"&&(SA===null||!SA.has(S))){u=Ts(p,u),p=O8(2),S=ni(A,p,2),S!==null&&(R8(p,S,A,u),It(S,2),Xd(S));break}}A=A.return}}function JE(u,A,p){var S=u.pingCache;if(S===null){S=u.pingCache=new g0e;var E=new Set;S.set(A,E)}else E=S.get(A),E===void 0&&(E=new Set,S.set(A,E));E.has(p)||(VE=!0,E.add(p),u=S0e.bind(null,u,A,p),A.then(u,u))}function S0e(u,A,p){var S=u.pingCache;S!==null&&S.delete(A),u.pingedLanes|=u.suspendedLanes&p,u.warmLanes&=~p,Sr===u&&(Si&p)===p&&(ua===4||ua===3&&(Si&62914560)===Si&&300>qe()-K1?(Gi&2)===0&&eg(u,0):GE|=p,Zp===Si&&(Zp=0)),Xd(u)}function OM(u,A){A===0&&(A=tn()),u=Zc(u,A),u!==null&&(It(u,A),Xd(u))}function w0e(u){var A=u.memoizedState,p=0;A!==null&&(p=A.retryLane),OM(u,p)}function N0e(u,A){var p=0;switch(u.tag){case 31:case 13:var S=u.stateNode,E=u.memoizedState;E!==null&&(p=E.retryLane);break;case 19:S=u.stateNode;break;case 22:S=u.stateNode._retryCache;break;default:throw Error(i(314))}S!==null&&S.delete(A),OM(u,p)}function x0e(u,A){return Te(u,A)}var tS=null,ng=null,eB=!1,nS=!1,tB=!1,xA=0;function Xd(u){u!==ng&&u.next===null&&(ng===null?tS=ng=u:ng=ng.next=u),nS=!0,eB||(eB=!0,C0e())}function G0(u,A){if(!tB&&nS){tB=!0;do for(var p=!1,S=tS;S!==null;){if(u!==0){var E=S.pendingLanes;if(E===0)var I=0;else{var ce=S.suspendedLanes,we=S.pingedLanes;I=(1<<31-Ce(42|u)+1)-1,I&=E&~(ce&~we),I=I&201326741?I&201326741|1:I?I|2:0}I!==0&&(p=!0,UM(S,I))}else I=Si,I=St(S,S===Sr?I:0,S.cancelPendingCommit!==null||S.timeoutHandle!==-1),(I&3)===0||An(S,I)||(p=!0,UM(S,I));S=S.next}while(p);tB=!1}}function F0e(){RM()}function RM(){nS=eB=!1;var u=0;xA!==0&&L0e()&&(u=xA);for(var A=qe(),p=null,S=tS;S!==null;){var E=S.next,I=PM(S,A);I===0?(S.next=null,p===null?tS=E:p.next=E,E===null&&(ng=p)):(p=S,(u!==0||(I&3)!==0)&&(nS=!0)),S=E}to!==0&&to!==5||G0(u),xA!==0&&(xA=0)}function PM(u,A){for(var p=u.suspendedLanes,S=u.pingedLanes,E=u.expirationTimes,I=u.pendingLanes&-62914561;0<I;){var ce=31-Ce(I),we=1<<ce,$e=E[ce];$e===-1?((we&p)===0||(we&S)!==0)&&(E[ce]=vn(we,A)):$e<=A&&(u.expiredLanes|=we),I&=~we}if(A=Sr,p=Si,p=St(u,u===A?p:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),S=u.callbackNode,p===0||u===A&&(ir===2||ir===9)||u.cancelPendingCommit!==null)return S!==null&&S!==null&&me(S),u.callbackNode=null,u.callbackPriority=0;if((p&3)===0||An(u,p)){if(A=p&-p,A===u.callbackPriority)return A;switch(S!==null&&me(S),mt(p)){case 2:case 8:p=Je;break;case 32:p=dt;break;case 268435456:p=Ae;break;default:p=dt}return S=LM.bind(null,u),p=Te(p,S),u.callbackPriority=A,u.callbackNode=p,A}return S!==null&&S!==null&&me(S),u.callbackPriority=2,u.callbackNode=null,2}function LM(u,A){if(to!==0&&to!==5)return u.callbackNode=null,u.callbackPriority=0,null;var p=u.callbackNode;if(eS()&&u.callbackNode!==p)return null;var S=Si;return S=St(u,u===Sr?S:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),S===0?null:(vM(u,S,A),PM(u,qe()),u.callbackNode!=null&&u.callbackNode===p?LM.bind(null,u):null)}function UM(u,A){if(eS())return null;vM(u,A,!0)}function C0e(){M0e(function(){(Gi&6)!==0?Te(Qe,F0e):RM()})}function nB(){if(xA===0){var u=_;u===0&&(u=ot,ot<<=1,(ot&261888)===0&&(ot=256)),xA=u}return xA}function MM(u){return u==null||typeof u=="symbol"||typeof u=="boolean"?null:typeof u=="function"?u:Vo(""+u)}function $M(u,A){var p=A.ownerDocument.createElement("input");return p.name=A.name,p.value=A.value,u.id&&p.setAttribute("form",u.id),A.parentNode.insertBefore(p,A),u=new FormData(u),p.parentNode.removeChild(p),u}function _0e(u,A,p,S,E){if(A==="submit"&&p&&p.stateNode===E){var I=MM((E[Ft]||null).action),ce=S.submitter;ce&&(A=(A=ce[Ft]||null)?MM(A.formAction):ce.getAttribute("formAction"),A!==null&&(I=A,ce=null));var we=new Cs("action","action",null,S,E);u.push({event:we,listeners:[{instance:null,listener:function(){if(S.defaultPrevented){if(xA!==0){var $e=ce?$M(E,ce):new FormData(E);SE(p,{pending:!0,data:$e,method:E.method,action:I},null,$e)}}else typeof I=="function"&&(we.preventDefault(),$e=ce?$M(E,ce):new FormData(E),SE(p,{pending:!0,data:$e,method:E.method,action:I},I,$e))},currentTarget:E}]})}}for(var iB=0;iB<tf.length;iB++){var rB=tf[iB],E0e=rB.toLowerCase(),B0e=rB[0].toUpperCase()+rB.slice(1);Es(E0e,"on"+B0e)}Es(ef,"onAnimationEnd"),Es(Hm,"onAnimationIteration"),Es(b0,"onAnimationStart"),Es("dblclick","onDoubleClick"),Es("focusin","onFocus"),Es("focusout","onBlur"),Es(C1,"onTransitionRun"),Es(_1,"onTransitionStart"),Es(E1,"onTransitionCancel"),Es(S0,"onTransitionEnd"),Co("onMouseEnter",["mouseout","mouseover"]),Co("onMouseLeave",["mouseout","mouseover"]),Co("onPointerEnter",["pointerout","pointerover"]),Co("onPointerLeave",["pointerout","pointerover"]),Fo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Fo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Fo("onBeforeInput",["compositionend","keypress","textInput","paste"]),Fo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Fo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Fo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var q0="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),T0e=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(q0));function jM(u,A){A=(A&4)!==0;for(var p=0;p<u.length;p++){var S=u[p],E=S.event;S=S.listeners;e:{var I=void 0;if(A)for(var ce=S.length-1;0<=ce;ce--){var we=S[ce],$e=we.instance,at=we.currentTarget;if(we=we.listener,$e!==I&&E.isPropagationStopped())break e;I=we,E.currentTarget=at;try{I(E)}catch(gt){zm(gt)}E.currentTarget=null,I=$e}else for(ce=0;ce<S.length;ce++){if(we=S[ce],$e=we.instance,at=we.currentTarget,we=we.listener,$e!==I&&E.isPropagationStopped())break e;I=we,E.currentTarget=at;try{I(E)}catch(gt){zm(gt)}E.currentTarget=null,I=$e}}}}function yi(u,A){var p=A[Qt];p===void 0&&(p=A[Qt]=new Set);var S=u+"__bubble";p.has(S)||(QM(A,u,2,!1),p.add(S))}function aB(u,A,p){var S=0;A&&(S|=4),QM(p,u,S,A)}var iS="_reactListening"+Math.random().toString(36).slice(2);function oB(u){if(!u[iS]){u[iS]=!0,zo.forEach(function(p){p!=="selectionchange"&&(T0e.has(p)||aB(p,!1,u),aB(p,!0,u))});var A=u.nodeType===9?u:u.ownerDocument;A===null||A[iS]||(A[iS]=!0,aB("selectionchange",!1,A))}}function QM(u,A,p,S){switch(g$(A)){case 2:var E=aye;break;case 8:E=oye;break;default:E=bB}p=E.bind(null,A,p,u),E=void 0,!Um||A!=="touchstart"&&A!=="touchmove"&&A!=="wheel"||(E=!0),S?E!==void 0?u.addEventListener(A,p,{capture:!0,passive:E}):u.addEventListener(A,p,!0):E!==void 0?u.addEventListener(A,p,{passive:E}):u.addEventListener(A,p,!1)}function sB(u,A,p,S,E){var I=S;if((A&1)===0&&(A&2)===0&&S!==null)e:for(;;){if(S===null)return;var ce=S.tag;if(ce===3||ce===4){var we=S.stateNode.containerInfo;if(we===E)break;if(ce===4)for(ce=S.return;ce!==null;){var $e=ce.tag;if(($e===3||$e===4)&&ce.stateNode.containerInfo===E)return;ce=ce.return}for(;we!==null;){if(ce=Mi(we),ce===null)return;if($e=ce.tag,$e===5||$e===6||$e===26||$e===27){S=I=ce;continue e}we=we.parentNode}}S=S.return}wp(function(){var at=I,gt=qu(p),wt=[];e:{var st=w0.get(u);if(st!==void 0){var ft=Cs,on=u;switch(u){case"keypress":if(Fs(p)===0)break e;case"keydown":case"keyup":ft=Fi;break;case"focusin":on="focus",ft=jc;break;case"focusout":on="blur",ft=jc;break;case"beforeblur":case"afterblur":ft=jc;break;case"click":if(p.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ft=Mm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ft=$c;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ft=ba;break;case ef:case Hm:case b0:ft=M;break;case S0:ft=Ka;break;case"scroll":case"scrollend":ft=tA;break;case"wheel":ft=sl;break;case"copy":case"cut":case"paste":ft=Re;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ft=Kr;break;case"toggle":case"beforetoggle":ft=$m}var Tn=(A&4)!==0,mr=!Tn&&(u==="scroll"||u==="scrollend"),Xe=Tn?st!==null?st+"Capture":null:st;Tn=[];for(var Ge=at,rt;Ge!==null;){var bt=Ge;if(rt=bt.stateNode,bt=bt.tag,bt!==5&&bt!==26&&bt!==27||rt===null||Xe===null||(bt=ds(Ge,Xe),bt!=null&&Tn.push(K0(Ge,bt,rt))),mr)break;Ge=Ge.return}0<Tn.length&&(st=new ft(st,on,null,p,gt),wt.push({event:st,listeners:Tn}))}}if((A&7)===0){e:{if(st=u==="mouseover"||u==="pointerover",ft=u==="mouseout"||u==="pointerout",st&&p!==Rc&&(on=p.relatedTarget||p.fromElement)&&(Mi(on)||on[Lt]))break e;if((ft||st)&&(st=gt.window===gt?gt:(st=gt.ownerDocument)?st.defaultView||st.parentWindow:window,ft?(on=p.relatedTarget||p.toElement,ft=at,on=on?Mi(on):null,on!==null&&(mr=a(on),Tn=on.tag,on!==mr||Tn!==5&&Tn!==27&&Tn!==6)&&(on=null)):(ft=null,on=at),ft!==on)){if(Tn=Mm,bt="onMouseLeave",Xe="onMouseEnter",Ge="mouse",(u==="pointerout"||u==="pointerover")&&(Tn=Kr,bt="onPointerLeave",Xe="onPointerEnter",Ge="pointer"),mr=ft==null?st:ia(ft),rt=on==null?st:ia(on),st=new Tn(bt,Ge+"leave",ft,p,gt),st.target=mr,st.relatedTarget=rt,bt=null,Mi(gt)===at&&(Tn=new Tn(Xe,Ge+"enter",on,p,gt),Tn.target=rt,Tn.relatedTarget=mr,bt=Tn),mr=bt,ft&&on)t:{for(Tn=D0e,Xe=ft,Ge=on,rt=0,bt=Xe;bt;bt=Tn(bt))rt++;bt=0;for(var wn=Ge;wn;wn=Tn(wn))bt++;for(;0<rt-bt;)Xe=Tn(Xe),rt--;for(;0<bt-rt;)Ge=Tn(Ge),bt--;for(;rt--;){if(Xe===Ge||Ge!==null&&Xe===Ge.alternate){Tn=Xe;break t}Xe=Tn(Xe),Ge=Tn(Ge)}Tn=null}else Tn=null;ft!==null&&HM(wt,st,ft,Tn,!1),on!==null&&mr!==null&&HM(wt,mr,on,Tn,!0)}}e:{if(st=at?ia(at):window,ft=st.nodeName&&st.nodeName.toLowerCase(),ft==="select"||ft==="input"&&st.type==="file")var ji=Ud;else if(jm(st))if(Go)ji=Zl;else{ji=Wr;var hn=oA}else ft=st.nodeName,!ft||ft.toLowerCase()!=="input"||st.type!=="checkbox"&&st.type!=="radio"?at&&Rm(at.elementType)&&(ji=Ud):ji=Cp;if(ji&&(ji=ji(u,at))){fs(wt,ji,p,gt);break e}hn&&hn(u,st,at),u==="focusout"&&at&&st.type==="number"&&at.memoizedProps.value!=null&&Dm(st,"number",st.value)}switch(hn=at?ia(at):window,u){case"focusin":(jm(hn)||hn.contentEditable==="true")&&(As=hn,Xc=at,Ao=null);break;case"focusout":Ao=Xc=As=null;break;case"mousedown":_s=!0;break;case"contextmenu":case"mouseup":case"dragend":_s=!1,Li(wt,p,gt);break;case"selectionchange":if(Ju)break;case"keydown":case"keyup":Li(wt,p,gt)}var si;if(Kl)e:{switch(u){case"compositionstart":var wi="onCompositionStart";break e;case"compositionend":wi="onCompositionEnd";break e;case"compositionupdate":wi="onCompositionUpdate";break e}wi=void 0}else Wl?Ld(u,p)&&(wi="onCompositionEnd"):u==="keydown"&&p.keyCode===229&&(wi="onCompositionStart");wi&&(zc&&p.locale!=="ko"&&(Wl||wi!=="onCompositionStart"?wi==="onCompositionEnd"&&Wl&&(si=Np()):(us=gt,Wu="value"in us?us.value:us.textContent,Wl=!0)),hn=rS(at,wi),0<hn.length&&(wi=new Ye(wi,u,null,p,gt),wt.push({event:wi,listeners:hn}),si?wi.data=si:(si=iA(p),si!==null&&(wi.data=si)))),(si=Zu?Bo(u,p):Vc(u,p))&&(wi=rS(at,"onBeforeInput"),0<wi.length&&(hn=new Ye("onBeforeInput","beforeinput",null,p,gt),wt.push({event:hn,listeners:wi}),hn.data=si)),_0e(wt,u,at,p,gt)}jM(wt,A)})}function K0(u,A,p){return{instance:u,listener:A,currentTarget:p}}function rS(u,A){for(var p=A+"Capture",S=[];u!==null;){var E=u,I=E.stateNode;if(E=E.tag,E!==5&&E!==26&&E!==27||I===null||(E=ds(u,p),E!=null&&S.unshift(K0(u,E,I)),E=ds(u,A),E!=null&&S.push(K0(u,E,I))),u.tag===3)return S;u=u.return}return[]}function D0e(u){if(u===null)return null;do u=u.return;while(u&&u.tag!==5&&u.tag!==27);return u||null}function HM(u,A,p,S,E){for(var I=A._reactName,ce=[];p!==null&&p!==S;){var we=p,$e=we.alternate,at=we.stateNode;if(we=we.tag,$e!==null&&$e===S)break;we!==5&&we!==26&&we!==27||at===null||($e=at,E?(at=ds(p,I),at!=null&&ce.unshift(K0(p,at,$e))):E||(at=ds(p,I),at!=null&&ce.push(K0(p,at,$e)))),p=p.return}ce.length!==0&&u.push({event:A,listeners:ce})}var I0e=/\r\n?/g,O0e=/\u0000|\uFFFD/g;function zM(u){return(typeof u=="string"?u:""+u).replace(I0e,`
|
|
10
|
-
`).replace(O0e,"")}function VM(u,A){return A=zM(A),zM(u)===A}function Ar(u,A,p,S,E,I){switch(p){case"children":typeof S=="string"?A==="body"||A==="textarea"&&S===""||al(u,S):(typeof S=="number"||typeof S=="bigint")&&A!=="body"&&al(u,""+S);break;case"className":fo(u,"class",S);break;case"tabIndex":fo(u,"tabindex",S);break;case"dir":case"role":case"viewBox":case"width":case"height":fo(u,p,S);break;case"style":kp(u,S,I);break;case"data":if(A!=="object"){fo(u,"data",S);break}case"src":case"href":if(S===""&&(A!=="a"||p!=="href")){u.removeAttribute(p);break}if(S==null||typeof S=="function"||typeof S=="symbol"||typeof S=="boolean"){u.removeAttribute(p);break}S=Vo(""+S),u.setAttribute(p,S);break;case"action":case"formAction":if(typeof S=="function"){u.setAttribute(p,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof I=="function"&&(p==="formAction"?(A!=="input"&&Ar(u,A,"name",E.name,E,null),Ar(u,A,"formEncType",E.formEncType,E,null),Ar(u,A,"formMethod",E.formMethod,E,null),Ar(u,A,"formTarget",E.formTarget,E,null)):(Ar(u,A,"encType",E.encType,E,null),Ar(u,A,"method",E.method,E,null),Ar(u,A,"target",E.target,E,null)));if(S==null||typeof S=="symbol"||typeof S=="boolean"){u.removeAttribute(p);break}S=Vo(""+S),u.setAttribute(p,S);break;case"onClick":S!=null&&(u.onclick=ol);break;case"onScroll":S!=null&&yi("scroll",u);break;case"onScrollEnd":S!=null&&yi("scrollend",u);break;case"dangerouslySetInnerHTML":if(S!=null){if(typeof S!="object"||!("__html"in S))throw Error(i(61));if(p=S.__html,p!=null){if(E.children!=null)throw Error(i(60));u.innerHTML=p}}break;case"multiple":u.multiple=S&&typeof S!="function"&&typeof S!="symbol";break;case"muted":u.muted=S&&typeof S!="function"&&typeof S!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(S==null||typeof S=="function"||typeof S=="boolean"||typeof S=="symbol"){u.removeAttribute("xlink:href");break}p=Vo(""+S),u.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",p);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":S!=null&&typeof S!="function"&&typeof S!="symbol"?u.setAttribute(p,""+S):u.removeAttribute(p);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":S&&typeof S!="function"&&typeof S!="symbol"?u.setAttribute(p,""):u.removeAttribute(p);break;case"capture":case"download":S===!0?u.setAttribute(p,""):S!==!1&&S!=null&&typeof S!="function"&&typeof S!="symbol"?u.setAttribute(p,S):u.removeAttribute(p);break;case"cols":case"rows":case"size":case"span":S!=null&&typeof S!="function"&&typeof S!="symbol"&&!isNaN(S)&&1<=S?u.setAttribute(p,S):u.removeAttribute(p);break;case"rowSpan":case"start":S==null||typeof S=="function"||typeof S=="symbol"||isNaN(S)?u.removeAttribute(p):u.setAttribute(p,S);break;case"popover":yi("beforetoggle",u),yi("toggle",u),$i(u,"popover",S);break;case"xlinkActuate":ya(u,"http://www.w3.org/1999/xlink","xlink:actuate",S);break;case"xlinkArcrole":ya(u,"http://www.w3.org/1999/xlink","xlink:arcrole",S);break;case"xlinkRole":ya(u,"http://www.w3.org/1999/xlink","xlink:role",S);break;case"xlinkShow":ya(u,"http://www.w3.org/1999/xlink","xlink:show",S);break;case"xlinkTitle":ya(u,"http://www.w3.org/1999/xlink","xlink:title",S);break;case"xlinkType":ya(u,"http://www.w3.org/1999/xlink","xlink:type",S);break;case"xmlBase":ya(u,"http://www.w3.org/XML/1998/namespace","xml:base",S);break;case"xmlLang":ya(u,"http://www.w3.org/XML/1998/namespace","xml:lang",S);break;case"xmlSpace":ya(u,"http://www.w3.org/XML/1998/namespace","xml:space",S);break;case"is":$i(u,"is",S);break;case"innerText":case"textContent":break;default:(!(2<p.length)||p[0]!=="o"&&p[0]!=="O"||p[1]!=="n"&&p[1]!=="N")&&(p=Pm.get(p)||p,$i(u,p,S))}}function lB(u,A,p,S,E,I){switch(p){case"style":kp(u,S,I);break;case"dangerouslySetInnerHTML":if(S!=null){if(typeof S!="object"||!("__html"in S))throw Error(i(61));if(p=S.__html,p!=null){if(E.children!=null)throw Error(i(60));u.innerHTML=p}}break;case"children":typeof S=="string"?al(u,S):(typeof S=="number"||typeof S=="bigint")&&al(u,""+S);break;case"onScroll":S!=null&&yi("scroll",u);break;case"onScrollEnd":S!=null&&yi("scrollend",u);break;case"onClick":S!=null&&(u.onclick=ol);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Cr.hasOwnProperty(p))e:{if(p[0]==="o"&&p[1]==="n"&&(E=p.endsWith("Capture"),A=p.slice(2,E?p.length-7:void 0),I=u[Ft]||null,I=I!=null?I[p]:null,typeof I=="function"&&u.removeEventListener(A,I,E),typeof S=="function")){typeof I!="function"&&I!==null&&(p in u?u[p]=null:u.hasAttribute(p)&&u.removeAttribute(p)),u.addEventListener(A,S,E);break e}p in u?u[p]=S:S===!0?u.setAttribute(p,""):$i(u,p,S)}}}function Ro(u,A,p){switch(A){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":yi("error",u),yi("load",u);var S=!1,E=!1,I;for(I in p)if(p.hasOwnProperty(I)){var ce=p[I];if(ce!=null)switch(I){case"src":S=!0;break;case"srcSet":E=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,A));default:Ar(u,A,I,ce,p,null)}}E&&Ar(u,A,"srcSet",p.srcSet,p,null),S&&Ar(u,A,"src",p.src,p,null);return;case"input":yi("invalid",u);var we=I=ce=E=null,$e=null,at=null;for(S in p)if(p.hasOwnProperty(S)){var gt=p[S];if(gt!=null)switch(S){case"name":E=gt;break;case"type":ce=gt;break;case"checked":$e=gt;break;case"defaultChecked":at=gt;break;case"value":I=gt;break;case"defaultValue":we=gt;break;case"children":case"dangerouslySetInnerHTML":if(gt!=null)throw Error(i(137,A));break;default:Ar(u,A,S,gt,p,null)}}vp(u,I,we,$e,at,ce,E,!1);return;case"select":yi("invalid",u),S=ce=I=null;for(E in p)if(p.hasOwnProperty(E)&&(we=p[E],we!=null))switch(E){case"value":I=we;break;case"defaultValue":ce=we;break;case"multiple":S=we;default:Ar(u,A,E,we,p,null)}A=I,p=ce,u.multiple=!!S,A!=null?Eo(u,!!S,A,!1):p!=null&&Eo(u,!!S,p,!0);return;case"textarea":yi("invalid",u),I=E=S=null;for(ce in p)if(p.hasOwnProperty(ce)&&(we=p[ce],we!=null))switch(ce){case"value":S=we;break;case"defaultValue":E=we;break;case"children":I=we;break;case"dangerouslySetInnerHTML":if(we!=null)throw Error(i(91));break;default:Ar(u,A,ce,we,p,null)}Om(u,S,E,I);return;case"option":for($e in p)p.hasOwnProperty($e)&&(S=p[$e],S!=null)&&($e==="selected"?u.selected=S&&typeof S!="function"&&typeof S!="symbol":Ar(u,A,$e,S,p,null));return;case"dialog":yi("beforetoggle",u),yi("toggle",u),yi("cancel",u),yi("close",u);break;case"iframe":case"object":yi("load",u);break;case"video":case"audio":for(S=0;S<q0.length;S++)yi(q0[S],u);break;case"image":yi("error",u),yi("load",u);break;case"details":yi("toggle",u);break;case"embed":case"source":case"link":yi("error",u),yi("load",u);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(at in p)if(p.hasOwnProperty(at)&&(S=p[at],S!=null))switch(at){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,A));default:Ar(u,A,at,S,p,null)}return;default:if(Rm(A)){for(gt in p)p.hasOwnProperty(gt)&&(S=p[gt],S!==void 0&&lB(u,A,gt,S,p,void 0));return}}for(we in p)p.hasOwnProperty(we)&&(S=p[we],S!=null&&Ar(u,A,we,S,p,null))}function R0e(u,A,p,S){switch(A){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var E=null,I=null,ce=null,we=null,$e=null,at=null,gt=null;for(ft in p){var wt=p[ft];if(p.hasOwnProperty(ft)&&wt!=null)switch(ft){case"checked":break;case"value":break;case"defaultValue":$e=wt;default:S.hasOwnProperty(ft)||Ar(u,A,ft,null,S,wt)}}for(var st in S){var ft=S[st];if(wt=p[st],S.hasOwnProperty(st)&&(ft!=null||wt!=null))switch(st){case"type":I=ft;break;case"name":E=ft;break;case"checked":at=ft;break;case"defaultChecked":gt=ft;break;case"value":ce=ft;break;case"defaultValue":we=ft;break;case"children":case"dangerouslySetInnerHTML":if(ft!=null)throw Error(i(137,A));break;default:ft!==wt&&Ar(u,A,st,ft,S,wt)}}Zf(u,ce,we,$e,at,gt,I,E);return;case"select":ft=ce=we=st=null;for(I in p)if($e=p[I],p.hasOwnProperty(I)&&$e!=null)switch(I){case"value":break;case"multiple":ft=$e;default:S.hasOwnProperty(I)||Ar(u,A,I,null,S,$e)}for(E in S)if(I=S[E],$e=p[E],S.hasOwnProperty(E)&&(I!=null||$e!=null))switch(E){case"value":st=I;break;case"defaultValue":we=I;break;case"multiple":ce=I;default:I!==$e&&Ar(u,A,E,I,S,$e)}A=we,p=ce,S=ft,st!=null?Eo(u,!!p,st,!1):!!S!=!!p&&(A!=null?Eo(u,!!p,A,!0):Eo(u,!!p,p?[]:"",!1));return;case"textarea":ft=st=null;for(we in p)if(E=p[we],p.hasOwnProperty(we)&&E!=null&&!S.hasOwnProperty(we))switch(we){case"value":break;case"children":break;default:Ar(u,A,we,null,S,E)}for(ce in S)if(E=S[ce],I=p[ce],S.hasOwnProperty(ce)&&(E!=null||I!=null))switch(ce){case"value":st=E;break;case"defaultValue":ft=E;break;case"children":break;case"dangerouslySetInnerHTML":if(E!=null)throw Error(i(91));break;default:E!==I&&Ar(u,A,ce,E,S,I)}Im(u,st,ft);return;case"option":for(var on in p)st=p[on],p.hasOwnProperty(on)&&st!=null&&!S.hasOwnProperty(on)&&(on==="selected"?u.selected=!1:Ar(u,A,on,null,S,st));for($e in S)st=S[$e],ft=p[$e],S.hasOwnProperty($e)&&st!==ft&&(st!=null||ft!=null)&&($e==="selected"?u.selected=st&&typeof st!="function"&&typeof st!="symbol":Ar(u,A,$e,st,S,ft));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Tn in p)st=p[Tn],p.hasOwnProperty(Tn)&&st!=null&&!S.hasOwnProperty(Tn)&&Ar(u,A,Tn,null,S,st);for(at in S)if(st=S[at],ft=p[at],S.hasOwnProperty(at)&&st!==ft&&(st!=null||ft!=null))switch(at){case"children":case"dangerouslySetInnerHTML":if(st!=null)throw Error(i(137,A));break;default:Ar(u,A,at,st,S,ft)}return;default:if(Rm(A)){for(var mr in p)st=p[mr],p.hasOwnProperty(mr)&&st!==void 0&&!S.hasOwnProperty(mr)&&lB(u,A,mr,void 0,S,st);for(gt in S)st=S[gt],ft=p[gt],!S.hasOwnProperty(gt)||st===ft||st===void 0&&ft===void 0||lB(u,A,gt,st,S,ft);return}}for(var Xe in p)st=p[Xe],p.hasOwnProperty(Xe)&&st!=null&&!S.hasOwnProperty(Xe)&&Ar(u,A,Xe,null,S,st);for(wt in S)st=S[wt],ft=p[wt],!S.hasOwnProperty(wt)||st===ft||st==null&&ft==null||Ar(u,A,wt,st,S,ft)}function GM(u){switch(u){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function P0e(){if(typeof performance.getEntriesByType=="function"){for(var u=0,A=0,p=performance.getEntriesByType("resource"),S=0;S<p.length;S++){var E=p[S],I=E.transferSize,ce=E.initiatorType,we=E.duration;if(I&&we&&GM(ce)){for(ce=0,we=E.responseEnd,S+=1;S<p.length;S++){var $e=p[S],at=$e.startTime;if(at>we)break;var gt=$e.transferSize,wt=$e.initiatorType;gt&&GM(wt)&&($e=$e.responseEnd,ce+=gt*($e<we?1:(we-at)/($e-at)))}if(--S,A+=8*(I+ce)/(E.duration/1e3),u++,10<u)break}}if(0<u)return A/u/1e6}return navigator.connection&&(u=navigator.connection.downlink,typeof u=="number")?u:5}var cB=null,dB=null;function aS(u){return u.nodeType===9?u:u.ownerDocument}function qM(u){switch(u){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function KM(u,A){if(u===0)switch(A){case"svg":return 1;case"math":return 2;default:return 0}return u===1&&A==="foreignObject"?0:u}function uB(u,A){return u==="textarea"||u==="noscript"||typeof A.children=="string"||typeof A.children=="number"||typeof A.children=="bigint"||typeof A.dangerouslySetInnerHTML=="object"&&A.dangerouslySetInnerHTML!==null&&A.dangerouslySetInnerHTML.__html!=null}var fB=null;function L0e(){var u=window.event;return u&&u.type==="popstate"?u===fB?!1:(fB=u,!0):(fB=null,!1)}var WM=typeof setTimeout=="function"?setTimeout:void 0,U0e=typeof clearTimeout=="function"?clearTimeout:void 0,YM=typeof Promise=="function"?Promise:void 0,M0e=typeof queueMicrotask=="function"?queueMicrotask:typeof YM<"u"?function(u){return YM.resolve(null).then(u).catch($0e)}:WM;function $0e(u){setTimeout(function(){throw u})}function FA(u){return u==="head"}function XM(u,A){var p=A,S=0;do{var E=p.nextSibling;if(u.removeChild(p),E&&E.nodeType===8)if(p=E.data,p==="/$"||p==="/&"){if(S===0){u.removeChild(E),og(A);return}S--}else if(p==="$"||p==="$?"||p==="$~"||p==="$!"||p==="&")S++;else if(p==="html")W0(u.ownerDocument.documentElement);else if(p==="head"){p=u.ownerDocument.head,W0(p);for(var I=p.firstChild;I;){var ce=I.nextSibling,we=I.nodeName;I[bi]||we==="SCRIPT"||we==="STYLE"||we==="LINK"&&I.rel.toLowerCase()==="stylesheet"||p.removeChild(I),I=ce}}else p==="body"&&W0(u.ownerDocument.body);p=E}while(p);og(A)}function ZM(u,A){var p=u;u=0;do{var S=p.nextSibling;if(p.nodeType===1?A?(p._stashedDisplay=p.style.display,p.style.display="none"):(p.style.display=p._stashedDisplay||"",p.getAttribute("style")===""&&p.removeAttribute("style")):p.nodeType===3&&(A?(p._stashedText=p.nodeValue,p.nodeValue=""):p.nodeValue=p._stashedText||""),S&&S.nodeType===8)if(p=S.data,p==="/$"){if(u===0)break;u--}else p!=="$"&&p!=="$?"&&p!=="$~"&&p!=="$!"||u++;p=S}while(p)}function AB(u){var A=u.firstChild;for(A&&A.nodeType===10&&(A=A.nextSibling);A;){var p=A;switch(A=A.nextSibling,p.nodeName){case"HTML":case"HEAD":case"BODY":AB(p),Hi(p);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(p.rel.toLowerCase()==="stylesheet")continue}u.removeChild(p)}}function j0e(u,A,p,S){for(;u.nodeType===1;){var E=p;if(u.nodeName.toLowerCase()!==A.toLowerCase()){if(!S&&(u.nodeName!=="INPUT"||u.type!=="hidden"))break}else if(S){if(!u[bi])switch(A){case"meta":if(!u.hasAttribute("itemprop"))break;return u;case"link":if(I=u.getAttribute("rel"),I==="stylesheet"&&u.hasAttribute("data-precedence"))break;if(I!==E.rel||u.getAttribute("href")!==(E.href==null||E.href===""?null:E.href)||u.getAttribute("crossorigin")!==(E.crossOrigin==null?null:E.crossOrigin)||u.getAttribute("title")!==(E.title==null?null:E.title))break;return u;case"style":if(u.hasAttribute("data-precedence"))break;return u;case"script":if(I=u.getAttribute("src"),(I!==(E.src==null?null:E.src)||u.getAttribute("type")!==(E.type==null?null:E.type)||u.getAttribute("crossorigin")!==(E.crossOrigin==null?null:E.crossOrigin))&&I&&u.hasAttribute("async")&&!u.hasAttribute("itemprop"))break;return u;default:return u}}else if(A==="input"&&u.type==="hidden"){var I=E.name==null?null:""+E.name;if(E.type==="hidden"&&u.getAttribute("name")===I)return u}else return u;if(u=ac(u.nextSibling),u===null)break}return null}function Q0e(u,A,p){if(A==="")return null;for(;u.nodeType!==3;)if((u.nodeType!==1||u.nodeName!=="INPUT"||u.type!=="hidden")&&!p||(u=ac(u.nextSibling),u===null))return null;return u}function JM(u,A){for(;u.nodeType!==8;)if((u.nodeType!==1||u.nodeName!=="INPUT"||u.type!=="hidden")&&!A||(u=ac(u.nextSibling),u===null))return null;return u}function mB(u){return u.data==="$?"||u.data==="$~"}function hB(u){return u.data==="$!"||u.data==="$?"&&u.ownerDocument.readyState!=="loading"}function H0e(u,A){var p=u.ownerDocument;if(u.data==="$~")u._reactRetry=A;else if(u.data!=="$?"||p.readyState!=="loading")A();else{var S=function(){A(),p.removeEventListener("DOMContentLoaded",S)};p.addEventListener("DOMContentLoaded",S),u._reactRetry=S}}function ac(u){for(;u!=null;u=u.nextSibling){var A=u.nodeType;if(A===1||A===3)break;if(A===8){if(A=u.data,A==="$"||A==="$!"||A==="$?"||A==="$~"||A==="&"||A==="F!"||A==="F")break;if(A==="/$"||A==="/&")return null}}return u}var pB=null;function e$(u){u=u.nextSibling;for(var A=0;u;){if(u.nodeType===8){var p=u.data;if(p==="/$"||p==="/&"){if(A===0)return ac(u.nextSibling);A--}else p!=="$"&&p!=="$!"&&p!=="$?"&&p!=="$~"&&p!=="&"||A++}u=u.nextSibling}return null}function t$(u){u=u.previousSibling;for(var A=0;u;){if(u.nodeType===8){var p=u.data;if(p==="$"||p==="$!"||p==="$?"||p==="$~"||p==="&"){if(A===0)return u;A--}else p!=="/$"&&p!=="/&"||A++}u=u.previousSibling}return null}function n$(u,A,p){switch(A=aS(p),u){case"html":if(u=A.documentElement,!u)throw Error(i(452));return u;case"head":if(u=A.head,!u)throw Error(i(453));return u;case"body":if(u=A.body,!u)throw Error(i(454));return u;default:throw Error(i(451))}}function W0(u){for(var A=u.attributes;A.length;)u.removeAttributeNode(A[0]);Hi(u)}var oc=new Map,i$=new Set;function oS(u){return typeof u.getRootNode=="function"?u.getRootNode():u.nodeType===9?u:u.ownerDocument}var vf=te.d;te.d={f:z0e,r:V0e,D:G0e,C:q0e,L:K0e,m:W0e,X:X0e,S:Y0e,M:Z0e};function z0e(){var u=vf.f(),A=X1();return u||A}function V0e(u){var A=ri(u);A!==null&&A.tag===5&&A.type==="form"?k8(A):vf.r(u)}var ig=typeof document>"u"?null:document;function r$(u,A,p){var S=ig;if(S&&typeof A=="string"&&A){var E=ra(A);E='link[rel="'+u+'"][href="'+E+'"]',typeof p=="string"&&(E+='[crossorigin="'+p+'"]'),i$.has(E)||(i$.add(E),u={rel:u,crossOrigin:p,href:A},S.querySelector(E)===null&&(A=S.createElement("link"),Ro(A,"link",u),tr(A),S.head.appendChild(A)))}}function G0e(u){vf.D(u),r$("dns-prefetch",u,null)}function q0e(u,A){vf.C(u,A),r$("preconnect",u,A)}function K0e(u,A,p){vf.L(u,A,p);var S=ig;if(S&&u&&A){var E='link[rel="preload"][as="'+ra(A)+'"]';A==="image"&&p&&p.imageSrcSet?(E+='[imagesrcset="'+ra(p.imageSrcSet)+'"]',typeof p.imageSizes=="string"&&(E+='[imagesizes="'+ra(p.imageSizes)+'"]')):E+='[href="'+ra(u)+'"]';var I=E;switch(A){case"style":I=rg(u);break;case"script":I=ag(u)}oc.has(I)||(u=f({rel:"preload",href:A==="image"&&p&&p.imageSrcSet?void 0:u,as:A},p),oc.set(I,u),S.querySelector(E)!==null||A==="style"&&S.querySelector(Y0(I))||A==="script"&&S.querySelector(X0(I))||(A=S.createElement("link"),Ro(A,"link",u),tr(A),S.head.appendChild(A)))}}function W0e(u,A){vf.m(u,A);var p=ig;if(p&&u){var S=A&&typeof A.as=="string"?A.as:"script",E='link[rel="modulepreload"][as="'+ra(S)+'"][href="'+ra(u)+'"]',I=E;switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":I=ag(u)}if(!oc.has(I)&&(u=f({rel:"modulepreload",href:u},A),oc.set(I,u),p.querySelector(E)===null)){switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(p.querySelector(X0(I)))return}S=p.createElement("link"),Ro(S,"link",u),tr(S),p.head.appendChild(S)}}}function Y0e(u,A,p){vf.S(u,A,p);var S=ig;if(S&&u){var E=Ra(S).hoistableStyles,I=rg(u);A=A||"default";var ce=E.get(I);if(!ce){var we={loading:0,preload:null};if(ce=S.querySelector(Y0(I)))we.loading=5;else{u=f({rel:"stylesheet",href:u,"data-precedence":A},p),(p=oc.get(I))&&gB(u,p);var $e=ce=S.createElement("link");tr($e),Ro($e,"link",u),$e._p=new Promise(function(at,gt){$e.onload=at,$e.onerror=gt}),$e.addEventListener("load",function(){we.loading|=1}),$e.addEventListener("error",function(){we.loading|=2}),we.loading|=4,sS(ce,A,S)}ce={type:"stylesheet",instance:ce,count:1,state:we},E.set(I,ce)}}}function X0e(u,A){vf.X(u,A);var p=ig;if(p&&u){var S=Ra(p).hoistableScripts,E=ag(u),I=S.get(E);I||(I=p.querySelector(X0(E)),I||(u=f({src:u,async:!0},A),(A=oc.get(E))&&vB(u,A),I=p.createElement("script"),tr(I),Ro(I,"link",u),p.head.appendChild(I)),I={type:"script",instance:I,count:1,state:null},S.set(E,I))}}function Z0e(u,A){vf.M(u,A);var p=ig;if(p&&u){var S=Ra(p).hoistableScripts,E=ag(u),I=S.get(E);I||(I=p.querySelector(X0(E)),I||(u=f({src:u,async:!0,type:"module"},A),(A=oc.get(E))&&vB(u,A),I=p.createElement("script"),tr(I),Ro(I,"link",u),p.head.appendChild(I)),I={type:"script",instance:I,count:1,state:null},S.set(E,I))}}function a$(u,A,p,S){var E=(E=Z.current)?oS(E):null;if(!E)throw Error(i(446));switch(u){case"meta":case"title":return null;case"style":return typeof p.precedence=="string"&&typeof p.href=="string"?(A=rg(p.href),p=Ra(E).hoistableStyles,S=p.get(A),S||(S={type:"style",instance:null,count:0,state:null},p.set(A,S)),S):{type:"void",instance:null,count:0,state:null};case"link":if(p.rel==="stylesheet"&&typeof p.href=="string"&&typeof p.precedence=="string"){u=rg(p.href);var I=Ra(E).hoistableStyles,ce=I.get(u);if(ce||(E=E.ownerDocument||E,ce={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},I.set(u,ce),(I=E.querySelector(Y0(u)))&&!I._p&&(ce.instance=I,ce.state.loading=5),oc.has(u)||(p={rel:"preload",as:"style",href:p.href,crossOrigin:p.crossOrigin,integrity:p.integrity,media:p.media,hrefLang:p.hrefLang,referrerPolicy:p.referrerPolicy},oc.set(u,p),I||J0e(E,u,p,ce.state))),A&&S===null)throw Error(i(528,""));return ce}if(A&&S!==null)throw Error(i(529,""));return null;case"script":return A=p.async,p=p.src,typeof p=="string"&&A&&typeof A!="function"&&typeof A!="symbol"?(A=ag(p),p=Ra(E).hoistableScripts,S=p.get(A),S||(S={type:"script",instance:null,count:0,state:null},p.set(A,S)),S):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,u))}}function rg(u){return'href="'+ra(u)+'"'}function Y0(u){return'link[rel="stylesheet"]['+u+"]"}function o$(u){return f({},u,{"data-precedence":u.precedence,precedence:null})}function J0e(u,A,p,S){u.querySelector('link[rel="preload"][as="style"]['+A+"]")?S.loading=1:(A=u.createElement("link"),S.preload=A,A.addEventListener("load",function(){return S.loading|=1}),A.addEventListener("error",function(){return S.loading|=2}),Ro(A,"link",p),tr(A),u.head.appendChild(A))}function ag(u){return'[src="'+ra(u)+'"]'}function X0(u){return"script[async]"+u}function s$(u,A,p){if(A.count++,A.instance===null)switch(A.type){case"style":var S=u.querySelector('style[data-href~="'+ra(p.href)+'"]');if(S)return A.instance=S,tr(S),S;var E=f({},p,{"data-href":p.href,"data-precedence":p.precedence,href:null,precedence:null});return S=(u.ownerDocument||u).createElement("style"),tr(S),Ro(S,"style",E),sS(S,p.precedence,u),A.instance=S;case"stylesheet":E=rg(p.href);var I=u.querySelector(Y0(E));if(I)return A.state.loading|=4,A.instance=I,tr(I),I;S=o$(p),(E=oc.get(E))&&gB(S,E),I=(u.ownerDocument||u).createElement("link"),tr(I);var ce=I;return ce._p=new Promise(function(we,$e){ce.onload=we,ce.onerror=$e}),Ro(I,"link",S),A.state.loading|=4,sS(I,p.precedence,u),A.instance=I;case"script":return I=ag(p.src),(E=u.querySelector(X0(I)))?(A.instance=E,tr(E),E):(S=p,(E=oc.get(I))&&(S=f({},p),vB(S,E)),u=u.ownerDocument||u,E=u.createElement("script"),tr(E),Ro(E,"link",S),u.head.appendChild(E),A.instance=E);case"void":return null;default:throw Error(i(443,A.type))}else A.type==="stylesheet"&&(A.state.loading&4)===0&&(S=A.instance,A.state.loading|=4,sS(S,p.precedence,u));return A.instance}function sS(u,A,p){for(var S=p.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),E=S.length?S[S.length-1]:null,I=E,ce=0;ce<S.length;ce++){var we=S[ce];if(we.dataset.precedence===A)I=we;else if(I!==E)break}I?I.parentNode.insertBefore(u,I.nextSibling):(A=p.nodeType===9?p.head:p,A.insertBefore(u,A.firstChild))}function gB(u,A){u.crossOrigin==null&&(u.crossOrigin=A.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=A.referrerPolicy),u.title==null&&(u.title=A.title)}function vB(u,A){u.crossOrigin==null&&(u.crossOrigin=A.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=A.referrerPolicy),u.integrity==null&&(u.integrity=A.integrity)}var lS=null;function l$(u,A,p){if(lS===null){var S=new Map,E=lS=new Map;E.set(p,S)}else E=lS,S=E.get(p),S||(S=new Map,E.set(p,S));if(S.has(u))return S;for(S.set(u,null),p=p.getElementsByTagName(u),E=0;E<p.length;E++){var I=p[E];if(!(I[bi]||I[lt]||u==="link"&&I.getAttribute("rel")==="stylesheet")&&I.namespaceURI!=="http://www.w3.org/2000/svg"){var ce=I.getAttribute(A)||"";ce=u+ce;var we=S.get(ce);we?we.push(I):S.set(ce,[I])}}return S}function c$(u,A,p){u=u.ownerDocument||u,u.head.insertBefore(p,A==="title"?u.querySelector("head > title"):null)}function eye(u,A,p){if(p===1||A.itemProp!=null)return!1;switch(u){case"meta":case"title":return!0;case"style":if(typeof A.precedence!="string"||typeof A.href!="string"||A.href==="")break;return!0;case"link":if(typeof A.rel!="string"||typeof A.href!="string"||A.href===""||A.onLoad||A.onError)break;return A.rel==="stylesheet"?(u=A.disabled,typeof A.precedence=="string"&&u==null):!0;case"script":if(A.async&&typeof A.async!="function"&&typeof A.async!="symbol"&&!A.onLoad&&!A.onError&&A.src&&typeof A.src=="string")return!0}return!1}function d$(u){return!(u.type==="stylesheet"&&(u.state.loading&3)===0)}function tye(u,A,p,S){if(p.type==="stylesheet"&&(typeof S.media!="string"||matchMedia(S.media).matches!==!1)&&(p.state.loading&4)===0){if(p.instance===null){var E=rg(S.href),I=A.querySelector(Y0(E));if(I){A=I._p,A!==null&&typeof A=="object"&&typeof A.then=="function"&&(u.count++,u=cS.bind(u),A.then(u,u)),p.state.loading|=4,p.instance=I,tr(I);return}I=A.ownerDocument||A,S=o$(S),(E=oc.get(E))&&gB(S,E),I=I.createElement("link"),tr(I);var ce=I;ce._p=new Promise(function(we,$e){ce.onload=we,ce.onerror=$e}),Ro(I,"link",S),p.instance=I}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(p,A),(A=p.state.preload)&&(p.state.loading&3)===0&&(u.count++,p=cS.bind(u),A.addEventListener("load",p),A.addEventListener("error",p))}}var yB=0;function nye(u,A){return u.stylesheets&&u.count===0&&uS(u,u.stylesheets),0<u.count||0<u.imgCount?function(p){var S=setTimeout(function(){if(u.stylesheets&&uS(u,u.stylesheets),u.unsuspend){var I=u.unsuspend;u.unsuspend=null,I()}},6e4+A);0<u.imgBytes&&yB===0&&(yB=62500*P0e());var E=setTimeout(function(){if(u.waitingForImages=!1,u.count===0&&(u.stylesheets&&uS(u,u.stylesheets),u.unsuspend)){var I=u.unsuspend;u.unsuspend=null,I()}},(u.imgBytes>yB?50:800)+A);return u.unsuspend=p,function(){u.unsuspend=null,clearTimeout(S),clearTimeout(E)}}:null}function cS(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)uS(this,this.stylesheets);else if(this.unsuspend){var u=this.unsuspend;this.unsuspend=null,u()}}}var dS=null;function uS(u,A){u.stylesheets=null,u.unsuspend!==null&&(u.count++,dS=new Map,A.forEach(iye,u),dS=null,cS.call(u))}function iye(u,A){if(!(A.state.loading&4)){var p=dS.get(u);if(p)var S=p.get(null);else{p=new Map,dS.set(u,p);for(var E=u.querySelectorAll("link[data-precedence],style[data-precedence]"),I=0;I<E.length;I++){var ce=E[I];(ce.nodeName==="LINK"||ce.getAttribute("media")!=="not all")&&(p.set(ce.dataset.precedence,ce),S=ce)}S&&p.set(null,S)}E=A.instance,ce=E.getAttribute("data-precedence"),I=p.get(ce)||S,I===S&&p.set(null,E),p.set(ce,E),this.count++,S=cS.bind(this),E.addEventListener("load",S),E.addEventListener("error",S),I?I.parentNode.insertBefore(E,I.nextSibling):(u=u.nodeType===9?u.head:u,u.insertBefore(E,u.firstChild)),A.state.loading|=4}}var Z0={$$typeof:x,Provider:null,Consumer:null,_currentValue:X,_currentValue2:X,_threadCount:0};function rye(u,A,p,S,E,I,ce,we,$e){this.tag=1,this.containerInfo=u,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=jn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jn(0),this.hiddenUpdates=jn(null),this.identifierPrefix=S,this.onUncaughtError=E,this.onCaughtError=I,this.onRecoverableError=ce,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=$e,this.incompleteTransitions=new Map}function u$(u,A,p,S,E,I,ce,we,$e,at,gt,wt){return u=new rye(u,A,p,ce,$e,at,gt,wt,we),A=1,I===!0&&(A|=24),I=ho(3,null,null,A),u.current=I,I.stateNode=u,A=mA(),A.refCount++,u.pooledCache=A,A.refCount++,I.memoizedState={element:S,isDehydrated:p,cache:A},$t(I),u}function f$(u){return u?(u=Ya,u):Ya}function A$(u,A,p,S,E,I){E=f$(E),S.context===null?S.context=E:S.pendingContext=E,S=Bn(A),S.payload={element:p},I=I===void 0?null:I,I!==null&&(S.callback=I),p=ni(u,S,A),p!==null&&(Qs(p,u,A),zi(p,u,A))}function m$(u,A){if(u=u.memoizedState,u!==null&&u.dehydrated!==null){var p=u.retryLane;u.retryLane=p!==0&&p<A?p:A}}function kB(u,A){m$(u,A),(u=u.alternate)&&m$(u,A)}function h$(u){if(u.tag===13||u.tag===31){var A=Zc(u,67108864);A!==null&&Qs(A,u,67108864),kB(u,67108864)}}function p$(u){if(u.tag===13||u.tag===31){var A=hl();A=We(A);var p=Zc(u,A);p!==null&&Qs(p,u,A),kB(u,A)}}var fS=!0;function aye(u,A,p,S){var E=H.T;H.T=null;var I=te.p;try{te.p=2,bB(u,A,p,S)}finally{te.p=I,H.T=E}}function oye(u,A,p,S){var E=H.T;H.T=null;var I=te.p;try{te.p=8,bB(u,A,p,S)}finally{te.p=I,H.T=E}}function bB(u,A,p,S){if(fS){var E=SB(S);if(E===null)sB(u,A,S,AS,p),v$(u,S);else if(lye(E,u,A,p,S))S.stopPropagation();else if(v$(u,S),A&4&&-1<sye.indexOf(u)){for(;E!==null;){var I=ri(E);if(I!==null)switch(I.tag){case 3:if(I=I.stateNode,I.current.memoizedState.isDehydrated){var ce=Dt(I.pendingLanes);if(ce!==0){var we=I;for(we.pendingLanes|=2,we.entangledLanes|=2;ce;){var $e=1<<31-Ce(ce);we.entanglements[1]|=$e,ce&=~$e}Xd(I),(Gi&6)===0&&(W1=qe()+500,G0(0))}}break;case 31:case 13:we=Zc(I,2),we!==null&&Qs(we,I,2),X1(),kB(I,2)}if(I=SB(S),I===null&&sB(u,A,S,AS,p),I===E)break;E=I}E!==null&&S.stopPropagation()}else sB(u,A,S,null,p)}}function SB(u){return u=qu(u),wB(u)}var AS=null;function wB(u){if(AS=null,u=Mi(u),u!==null){var A=a(u);if(A===null)u=null;else{var p=A.tag;if(p===13){if(u=o(A),u!==null)return u;u=null}else if(p===31){if(u=s(A),u!==null)return u;u=null}else if(p===3){if(A.stateNode.current.memoizedState.isDehydrated)return A.tag===3?A.stateNode.containerInfo:null;u=null}else A!==u&&(u=null)}}return AS=u,null}function g$(u){switch(u){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ve()){case Qe:return 2;case Je:return 8;case dt:case ut:return 32;case Ae:return 268435456;default:return 32}default:return 32}}var NB=!1,CA=null,_A=null,EA=null,J0=new Map,ey=new Map,BA=[],sye="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function v$(u,A){switch(u){case"focusin":case"focusout":CA=null;break;case"dragenter":case"dragleave":_A=null;break;case"mouseover":case"mouseout":EA=null;break;case"pointerover":case"pointerout":J0.delete(A.pointerId);break;case"gotpointercapture":case"lostpointercapture":ey.delete(A.pointerId)}}function ty(u,A,p,S,E,I){return u===null||u.nativeEvent!==I?(u={blockedOn:A,domEventName:p,eventSystemFlags:S,nativeEvent:I,targetContainers:[E]},A!==null&&(A=ri(A),A!==null&&h$(A)),u):(u.eventSystemFlags|=S,A=u.targetContainers,E!==null&&A.indexOf(E)===-1&&A.push(E),u)}function lye(u,A,p,S,E){switch(A){case"focusin":return CA=ty(CA,u,A,p,S,E),!0;case"dragenter":return _A=ty(_A,u,A,p,S,E),!0;case"mouseover":return EA=ty(EA,u,A,p,S,E),!0;case"pointerover":var I=E.pointerId;return J0.set(I,ty(J0.get(I)||null,u,A,p,S,E)),!0;case"gotpointercapture":return I=E.pointerId,ey.set(I,ty(ey.get(I)||null,u,A,p,S,E)),!0}return!1}function y$(u){var A=Mi(u.target);if(A!==null){var p=a(A);if(p!==null){if(A=p.tag,A===13){if(A=o(p),A!==null){u.blockedOn=A,Wt(u.priority,function(){p$(p)});return}}else if(A===31){if(A=s(p),A!==null){u.blockedOn=A,Wt(u.priority,function(){p$(p)});return}}else if(A===3&&p.stateNode.current.memoizedState.isDehydrated){u.blockedOn=p.tag===3?p.stateNode.containerInfo:null;return}}}u.blockedOn=null}function mS(u){if(u.blockedOn!==null)return!1;for(var A=u.targetContainers;0<A.length;){var p=SB(u.nativeEvent);if(p===null){p=u.nativeEvent;var S=new p.constructor(p.type,p);Rc=S,p.target.dispatchEvent(S),Rc=null}else return A=ri(p),A!==null&&h$(A),u.blockedOn=p,!1;A.shift()}return!0}function k$(u,A,p){mS(u)&&p.delete(A)}function cye(){NB=!1,CA!==null&&mS(CA)&&(CA=null),_A!==null&&mS(_A)&&(_A=null),EA!==null&&mS(EA)&&(EA=null),J0.forEach(k$),ey.forEach(k$)}function hS(u,A){u.blockedOn===A&&(u.blockedOn=null,NB||(NB=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,cye)))}var pS=null;function b$(u){pS!==u&&(pS=u,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){pS===u&&(pS=null);for(var A=0;A<u.length;A+=3){var p=u[A],S=u[A+1],E=u[A+2];if(typeof S!="function"){if(wB(S||p)===null)continue;break}var I=ri(p);I!==null&&(u.splice(A,3),A-=3,SE(I,{pending:!0,data:E,method:p.method,action:S},S,E))}}))}function og(u){function A($e){return hS($e,u)}CA!==null&&hS(CA,u),_A!==null&&hS(_A,u),EA!==null&&hS(EA,u),J0.forEach(A),ey.forEach(A);for(var p=0;p<BA.length;p++){var S=BA[p];S.blockedOn===u&&(S.blockedOn=null)}for(;0<BA.length&&(p=BA[0],p.blockedOn===null);)y$(p),p.blockedOn===null&&BA.shift();if(p=(u.ownerDocument||u).$$reactFormReplay,p!=null)for(S=0;S<p.length;S+=3){var E=p[S],I=p[S+1],ce=E[Ft]||null;if(typeof I=="function")ce||b$(p);else if(ce){var we=null;if(I&&I.hasAttribute("formAction")){if(E=I,ce=I[Ft]||null)we=ce.formAction;else if(wB(E)!==null)continue}else we=ce.action;typeof we=="function"?p[S+1]=we:(p.splice(S,3),S-=3),b$(p)}}}function S$(){function u(I){I.canIntercept&&I.info==="react-transition"&&I.intercept({handler:function(){return new Promise(function(ce){return E=ce})},focusReset:"manual",scroll:"manual"})}function A(){E!==null&&(E(),E=null),S||setTimeout(p,20)}function p(){if(!S&&!navigation.transition){var I=navigation.currentEntry;I&&I.url!=null&&navigation.navigate(I.url,{state:I.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var S=!1,E=null;return navigation.addEventListener("navigate",u),navigation.addEventListener("navigatesuccess",A),navigation.addEventListener("navigateerror",A),setTimeout(p,100),function(){S=!0,navigation.removeEventListener("navigate",u),navigation.removeEventListener("navigatesuccess",A),navigation.removeEventListener("navigateerror",A),E!==null&&(E(),E=null)}}}function xB(u){this._internalRoot=u}gS.prototype.render=xB.prototype.render=function(u){var A=this._internalRoot;if(A===null)throw Error(i(409));var p=A.current,S=hl();A$(p,S,u,A,null,null)},gS.prototype.unmount=xB.prototype.unmount=function(){var u=this._internalRoot;if(u!==null){this._internalRoot=null;var A=u.containerInfo;A$(u.current,2,null,u,null,null),X1(),A[Lt]=null}};function gS(u){this._internalRoot=u}gS.prototype.unstable_scheduleHydration=function(u){if(u){var A=_t();u={blockedOn:null,target:u,priority:A};for(var p=0;p<BA.length&&A!==0&&A<BA[p].priority;p++);BA.splice(p,0,u),p===0&&y$(u)}};var w$=e.version;if(w$!=="19.2.4")throw Error(i(527,w$,"19.2.4"));te.findDOMNode=function(u){var A=u._reactInternals;if(A===void 0)throw typeof u.render=="function"?Error(i(188)):(u=Object.keys(u).join(","),Error(i(268,u)));return u=c(A),u=u!==null?d(u):null,u=u===null?null:u.stateNode,u};var dye={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var vS=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vS.isDisabled&&vS.supportsFiber)try{Ne=vS.inject(dye),_e=vS}catch{}}return iy.createRoot=function(u,A){if(!r(u))throw Error(i(299));var p=!1,S="",E=B8,I=T8,ce=D8;return A!=null&&(A.unstable_strictMode===!0&&(p=!0),A.identifierPrefix!==void 0&&(S=A.identifierPrefix),A.onUncaughtError!==void 0&&(E=A.onUncaughtError),A.onCaughtError!==void 0&&(I=A.onCaughtError),A.onRecoverableError!==void 0&&(ce=A.onRecoverableError)),A=u$(u,1,!1,null,null,p,S,null,E,I,ce,S$),u[Lt]=A.current,oB(u),new xB(A)},iy.hydrateRoot=function(u,A,p){if(!r(u))throw Error(i(299));var S=!1,E="",I=B8,ce=T8,we=D8,$e=null;return p!=null&&(p.unstable_strictMode===!0&&(S=!0),p.identifierPrefix!==void 0&&(E=p.identifierPrefix),p.onUncaughtError!==void 0&&(I=p.onUncaughtError),p.onCaughtError!==void 0&&(ce=p.onCaughtError),p.onRecoverableError!==void 0&&(we=p.onRecoverableError),p.formState!==void 0&&($e=p.formState)),A=u$(u,1,!0,A,p??null,S,E,$e,I,ce,we,S$),A.context=f$(null),p=A.current,S=hl(),S=We(S),E=Bn(S),E.callback=null,ni(p,E,S),p=S,A.current.lanes=p,It(A,p),Xd(A),u[Lt]=A.current,oB(u),new gS(A)},iy.version="19.2.4",iy}var R$;function xye(){if(R$)return EB.exports;R$=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),EB.exports=Nye(),EB.exports}var Fye=xye();const P$=globalThis||void 0||self;var HX=t=>{throw TypeError(t)},Cye=(t,e,n)=>e.has(t)||HX("Cannot "+n),IB=(t,e,n)=>(Cye(t,e,"read from private field"),n?n.call(t):e.get(t)),_ye=(t,e,n)=>e.has(t)?HX("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),L$="popstate";function Eye(t={}){function e(i,r){let{pathname:a,search:o,hash:s}=i.location;return wk("",{pathname:a,search:o,hash:s},r.state&&r.state.usr||null,r.state&&r.state.key||"default")}function n(i,r){return typeof r=="string"?r:_u(r)}return Tye(e,n,null,t)}function mi(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function va(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Bye(){return Math.random().toString(36).substring(2,10)}function U$(t,e){return{usr:t.state,key:t.key,idx:e}}function wk(t,e,n=null,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?km(e):e,state:n,key:e&&e.key||i||Bye()}}function _u({pathname:t="/",search:e="",hash:n=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function km(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substring(n),t=t.substring(0,n));let i=t.indexOf("?");i>=0&&(e.search=t.substring(i),t=t.substring(0,i)),t&&(e.pathname=t)}return e}function Tye(t,e,n,i={}){let{window:r=document.defaultView,v5Compat:a=!1}=i,o=r.history,s="POP",l=null,c=d();c==null&&(c=0,o.replaceState({...o.state,idx:c},""));function d(){return(o.state||{idx:null}).idx}function f(){s="POP";let b=d(),k=b==null?null:b-c;c=b,l&&l({action:s,location:v.location,delta:k})}function h(b,k){s="PUSH";let w=wk(v.location,b,k);c=d()+1;let x=U$(w,c),F=v.createHref(w);try{o.pushState(x,"",F)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;r.location.assign(F)}a&&l&&l({action:s,location:v.location,delta:1})}function m(b,k){s="REPLACE";let w=wk(v.location,b,k);c=d();let x=U$(w,c),F=v.createHref(w);o.replaceState(x,"",F),a&&l&&l({action:s,location:v.location,delta:0})}function y(b){return zX(b)}let v={get action(){return s},get location(){return t(r,o)},listen(b){if(l)throw new Error("A history only accepts one active listener");return r.addEventListener(L$,f),l=b,()=>{r.removeEventListener(L$,f),l=null}},createHref(b){return e(r,b)},createURL:y,encodeLocation(b){let k=y(b);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:h,replace:m,go(b){return o.go(b)}};return v}function zX(t,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),mi(n,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:_u(t);return i=i.replace(/ $/,"%20"),!e&&i.startsWith("//")&&(i=n+i),new URL(i,n)}var jy,M$=class{constructor(t){if(_ye(this,jy,new Map),t)for(let[e,n]of t)this.set(e,n)}get(t){if(IB(this,jy).has(t))return IB(this,jy).get(t);if(t.defaultValue!==void 0)return t.defaultValue;throw new Error("No value found for context")}set(t,e){IB(this,jy).set(t,e)}};jy=new WeakMap;var Dye=new Set(["lazy","caseSensitive","path","id","index","children"]);function Iye(t){return Dye.has(t)}var Oye=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function Rye(t){return Oye.has(t)}function Pye(t){return t.index===!0}function Nk(t,e,n=[],i={},r=!1){return t.map((a,o)=>{let s=[...n,String(o)],l=typeof a.id=="string"?a.id:s.join("-");if(mi(a.index!==!0||!a.children,"Cannot specify children on an index route"),mi(r||!i[l],`Found a route id collision on id "${l}". Route id's must be globally unique within Data Router usages`),Pye(a)){let c={...a,id:l};return i[l]=$$(c,e(c)),c}else{let c={...a,id:l,children:void 0};return i[l]=$$(c,e(c)),a.children&&(c.children=Nk(a.children,e,s,i,r)),c}})}function $$(t,e){return Object.assign(t,{...e,...typeof e.lazy=="object"&&e.lazy!=null?{lazy:{...t.lazy,...e.lazy}}:{}})}function zA(t,e,n="/"){return Qy(t,e,n,!1)}function Qy(t,e,n,i){let r=typeof e=="string"?km(e):e,a=wc(r.pathname||"/",n);if(a==null)return null;let o=GX(t);Lye(o);let s=null;for(let l=0;s==null&&l<o.length;++l){let c=Kye(a);s=Gye(o[l],c,i)}return s}function VX(t,e){let{route:n,pathname:i,params:r}=t;return{id:n.id,pathname:i,params:r,data:e[n.id],loaderData:e[n.id],handle:n.handle}}function GX(t,e=[],n=[],i="",r=!1){let a=(o,s,l=r,c)=>{let d={relativePath:c===void 0?o.path||"":c,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};if(d.relativePath.startsWith("/")){if(!d.relativePath.startsWith(i)&&l)return;mi(d.relativePath.startsWith(i),`Absolute route path "${d.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(i.length)}let f=Nu([i,d.relativePath]),h=n.concat(d);o.children&&o.children.length>0&&(mi(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),GX(o.children,e,h,f,l)),!(o.path==null&&!o.index)&&e.push({path:f,score:zye(f,o.index),routesMeta:h})};return t.forEach((o,s)=>{if(o.path===""||!o.path?.includes("?"))a(o,s);else for(let l of qX(o.path))a(o,s,!0,l)}),e}function qX(t){let e=t.split("/");if(e.length===0)return[];let[n,...i]=e,r=n.endsWith("?"),a=n.replace(/\?$/,"");if(i.length===0)return r?[a,""]:[a];let o=qX(i.join("/")),s=[];return s.push(...o.map(l=>l===""?a:[a,l].join("/"))),r&&s.push(...o),s.map(l=>t.startsWith("/")&&l===""?"/":l)}function Lye(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:Vye(e.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}var Uye=/^:[\w-]+$/,Mye=3,$ye=2,jye=1,Qye=10,Hye=-2,j$=t=>t==="*";function zye(t,e){let n=t.split("/"),i=n.length;return n.some(j$)&&(i+=Hye),e&&(i+=$ye),n.filter(r=>!j$(r)).reduce((r,a)=>r+(Uye.test(a)?Mye:a===""?jye:Qye),i)}function Vye(t,e){return t.length===e.length&&t.slice(0,-1).every((i,r)=>i===e[r])?t[t.length-1]-e[e.length-1]:0}function Gye(t,e,n=!1){let{routesMeta:i}=t,r={},a="/",o=[];for(let s=0;s<i.length;++s){let l=i[s],c=s===i.length-1,d=a==="/"?e:e.slice(a.length)||"/",f=HN({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},d),h=l.route;if(!f&&c&&n&&!i[i.length-1].route.index&&(f=HN({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!f)return null;Object.assign(r,f.params),o.push({params:r,pathname:Nu([a,f.pathname]),pathnameBase:Xye(Nu([a,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(a=Nu([a,f.pathnameBase]))}return o}function HN(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,i]=qye(t.path,t.caseSensitive,t.end),r=e.match(n);if(!r)return null;let a=r[0],o=a.replace(/(.)\/+$/,"$1"),s=r.slice(1);return{params:i.reduce((c,{paramName:d,isOptional:f},h)=>{if(d==="*"){let y=s[h]||"";o=a.slice(0,a.length-y.length).replace(/(.)\/+$/,"$1")}const m=s[h];return f&&!m?c[d]=void 0:c[d]=(m||"").replace(/%2F/g,"/"),c},{}),pathname:a,pathnameBase:o,pattern:t}}function qye(t,e=!1,n=!0){va(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let i=[],r="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l)=>(i.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(i.push({paramName:"*"}),r+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":t!==""&&t!=="/"&&(r+="(?:(?=\\/|$))"),[new RegExp(r,e?void 0:"i"),i]}function Kye(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return va(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function wc(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,i=t.charAt(n);return i&&i!=="/"?null:t.slice(n)||"/"}function Wye({basename:t,pathname:e}){return e==="/"?t:Nu([t,e])}var KX=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$R=t=>KX.test(t);function Yye(t,e="/"){let{pathname:n,search:i="",hash:r=""}=typeof t=="string"?km(t):t,a;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?a=Q$(n.substring(1),"/"):a=Q$(n,e)):a=e,{pathname:a,search:Zye(i),hash:Jye(r)}}function Q$(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(r=>{r===".."?n.length>1&&n.pop():r!=="."&&n.push(r)}),n.length>1?n.join("/"):"/"}function OB(t,e,n,i){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function WX(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function SC(t){let e=WX(t);return e.map((n,i)=>i===e.length-1?n.pathname:n.pathnameBase)}function wC(t,e,n,i=!1){let r;typeof t=="string"?r=km(t):(r={...t},mi(!r.pathname||!r.pathname.includes("?"),OB("?","pathname","search",r)),mi(!r.pathname||!r.pathname.includes("#"),OB("#","pathname","hash",r)),mi(!r.search||!r.search.includes("#"),OB("#","search","hash",r)));let a=t===""||r.pathname==="",o=a?"/":r.pathname,s;if(o==null)s=n;else{let f=e.length-1;if(!i&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),f-=1;r.pathname=h.join("/")}s=f>=0?e[f]:"/"}let l=Yye(r,s),c=o&&o!=="/"&&o.endsWith("/"),d=(a||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}var Nu=t=>t.join("/").replace(/\/\/+/g,"/"),Xye=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Zye=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Jye=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,YX=(t,e=302)=>{let n=e;typeof n=="number"?n={status:n}:typeof n.status>"u"&&(n.status=302);let i=new Headers(n.headers);return i.set("Location",t),new Response(null,{...n,headers:i})},ub=class{constructor(t,e,n,i=!1){this.status=t,this.statusText=e||"",this.internal=i,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Fv(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function fb(t){return t.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var XX=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ZX(t,e){let n=t;if(typeof n!="string"||!KX.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let i=n,r=!1;if(XX)try{let a=new URL(window.location.href),o=n.startsWith("//")?new URL(a.protocol+n):new URL(n),s=wc(o.pathname,e);o.origin===a.origin&&s!=null?n=s+o.search+o.hash:r=!0}catch{va(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:r,to:n}}var YA=Symbol("Uninstrumented");function eke(t,e){let n={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};t.forEach(r=>r({id:e.id,index:e.index,path:e.path,instrument(a){let o=Object.keys(n);for(let s of o)a[s]&&n[s].push(a[s])}}));let i={};if(typeof e.lazy=="function"&&n.lazy.length>0){let r=Wg(n.lazy,e.lazy,()=>{});r&&(i.lazy=r)}if(typeof e.lazy=="object"){let r=e.lazy;["middleware","loader","action"].forEach(a=>{let o=r[a],s=n[`lazy.${a}`];if(typeof o=="function"&&s.length>0){let l=Wg(s,o,()=>{});l&&(i.lazy=Object.assign(i.lazy||{},{[a]:l}))}})}return["loader","action"].forEach(r=>{let a=e[r];if(typeof a=="function"&&n[r].length>0){let o=a[YA]??a,s=Wg(n[r],o,(...l)=>H$(l[0]));s&&(r==="loader"&&o.hydrate===!0&&(s.hydrate=!0),s[YA]=o,i[r]=s)}}),e.middleware&&e.middleware.length>0&&n.middleware.length>0&&(i.middleware=e.middleware.map(r=>{let a=r[YA]??r,o=Wg(n.middleware,a,(...s)=>H$(s[0]));return o?(o[YA]=a,o):r})),i}function tke(t,e){let n={navigate:[],fetch:[]};if(e.forEach(i=>i({instrument(r){let a=Object.keys(r);for(let o of a)r[o]&&n[o].push(r[o])}})),n.navigate.length>0){let i=t.navigate[YA]??t.navigate,r=Wg(n.navigate,i,(...a)=>{let[o,s]=a;return{to:typeof o=="number"||typeof o=="string"?o:o?_u(o):".",...z$(t,s??{})}});r&&(r[YA]=i,t.navigate=r)}if(n.fetch.length>0){let i=t.fetch[YA]??t.fetch,r=Wg(n.fetch,i,(...a)=>{let[o,,s,l]=a;return{href:s??".",fetcherKey:o,...z$(t,l??{})}});r&&(r[YA]=i,t.fetch=r)}return t}function Wg(t,e,n){return t.length===0?null:async(...i)=>{let r=await JX(t,n(...i),()=>e(...i),t.length-1);if(r.type==="error")throw r.value;return r.value}}async function JX(t,e,n,i){let r=t[i],a;if(r){let o,s=async()=>(o?console.error("You cannot call instrumented handlers more than once"):o=JX(t,e,n,i-1),a=await o,mi(a,"Expected a result"),a.type==="error"&&a.value instanceof Error?{status:"error",error:a.value}:{status:"success",error:void 0});try{await r(s,e)}catch(l){console.error("An instrumentation function threw an error:",l)}o||await s(),await o}else try{a={type:"success",value:await n()}}catch(o){a={type:"error",value:o}}return a||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function H$(t){let{request:e,context:n,params:i,unstable_pattern:r}=t;return{request:nke(e),params:{...i},unstable_pattern:r,context:ike(n)}}function z$(t,e){return{currentUrl:_u(t.state.location),..."formMethod"in e?{formMethod:e.formMethod}:{},..."formEncType"in e?{formEncType:e.formEncType}:{},..."formData"in e?{formData:e.formData}:{},..."body"in e?{body:e.body}:{}}}function nke(t){return{method:t.method,url:t.url,headers:{get:(...e)=>t.headers.get(...e)}}}function ike(t){if(ake(t)){let e={...t};return Object.freeze(e),e}else return{get:e=>t.get(e)}}var rke=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ake(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e===Object.prototype||e===null||Object.getOwnPropertyNames(e).sort().join("\0")===rke}var eZ=["POST","PUT","PATCH","DELETE"],oke=new Set(eZ),ske=["GET",...eZ],lke=new Set(ske),tZ=new Set([301,302,303,307,308]),cke=new Set([307,308]),RB={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},dke={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ry={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},uke=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),nZ="remix-router-transitions",iZ=Symbol("ResetLoaderData");function fke(t){const e=t.window?t.window:typeof window<"u"?window:void 0,n=typeof e<"u"&&typeof e.document<"u"&&typeof e.document.createElement<"u";mi(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let i=t.hydrationRouteProperties||[],r=t.mapRouteProperties||uke,a=r;if(t.unstable_instrumentations){let Pe=t.unstable_instrumentations;a=He=>({...r(He),...eke(Pe.map(We=>We.route).filter(Boolean),He)})}let o={},s=Nk(t.routes,a,void 0,o),l,c=t.basename||"/";c.startsWith("/")||(c=`/${c}`);let d=t.dataStrategy||gke,f={...t.future},h=null,m=new Set,y=null,v=null,b=null,k=t.hydrationData!=null,w=zA(s,t.history.location,c),x=!1,F=null,C;if(w==null&&!t.patchRoutesOnNavigation){let Pe=Ac(404,{pathname:t.history.location.pathname}),{matches:He,route:We}=yS(s);C=!0,w=He,F={[We.id]:Pe}}else if(w&&!t.hydrationData&&tn(w,s,t.history.location.pathname).active&&(w=null),w)if(w.some(Pe=>Pe.route.lazy))C=!1;else if(!w.some(Pe=>jR(Pe.route)))C=!0;else{let Pe=t.hydrationData?t.hydrationData.loaderData:null,He=t.hydrationData?t.hydrationData.errors:null;if(He){let We=w.findIndex(mt=>He[mt.route.id]!==void 0);C=w.slice(0,We+1).every(mt=>!xI(mt.route,Pe,He))}else C=w.every(We=>!xI(We.route,Pe,He))}else{C=!1,w=[];let Pe=tn(null,s,t.history.location.pathname);Pe.active&&Pe.matches&&(x=!0,w=Pe.matches)}let D,B={historyAction:t.history.action,location:t.history.location,matches:w,initialized:C,navigation:RB,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||F,fetchers:new Map,blockers:new Map},R="POP",O=null,V=!1,U,P=!1,ee=new Map,K=null,le=!1,H=!1,te=new Set,X=new Map,de=0,xe=-1,re=new Map,L=new Set,j=new Map,$=new Map,Y=new Set,Z=new Map,W,fe=null;function ve(){if(h=t.history.listen(({action:Pe,location:He,delta:We})=>{if(W){W(),W=void 0;return}va(Z.size===0||We!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let mt=ct({currentLocation:B.location,nextLocation:He,historyAction:Pe});if(mt&&We!=null){let _t=new Promise(Wt=>{W=Wt});t.history.go(We*-1),ot(mt,{state:"blocked",location:He,proceed(){ot(mt,{state:"proceeding",proceed:void 0,reset:void 0,location:He}),_t.then(()=>t.history.go(We))},reset(){let Wt=new Map(B.blockers);Wt.set(mt,ry),se({blockers:Wt})}}),O?.resolve(),O=null;return}return ue(Pe,He)}),n){Rke(e,ee);let Pe=()=>Pke(e,ee);e.addEventListener("pagehide",Pe),K=()=>e.removeEventListener("pagehide",Pe)}return B.initialized||ue("POP",B.location,{initialHydration:!0}),D}function Se(){h&&h(),K&&K(),m.clear(),U&&U.abort(),B.fetchers.forEach((Pe,He)=>J(He)),B.blockers.forEach((Pe,He)=>Ze(He))}function ae(Pe){return m.add(Pe),()=>m.delete(Pe)}function se(Pe,He={}){Pe.matches&&(Pe.matches=Pe.matches.map(_t=>{let Wt=o[_t.route.id],Mt=_t.route;return Mt.element!==Wt.element||Mt.errorElement!==Wt.errorElement||Mt.hydrateFallbackElement!==Wt.hydrateFallbackElement?{..._t,route:Wt}:_t})),B={...B,...Pe};let We=[],mt=[];B.fetchers.forEach((_t,Wt)=>{_t.state==="idle"&&(Y.has(Wt)?We.push(Wt):mt.push(Wt))}),Y.forEach(_t=>{!B.fetchers.has(_t)&&!X.has(_t)&&We.push(_t)}),[...m].forEach(_t=>_t(B,{deletedFetchers:We,newErrors:Pe.errors??null,viewTransitionOpts:He.viewTransitionOpts,flushSync:He.flushSync===!0})),We.forEach(_t=>J(_t)),mt.forEach(_t=>B.fetchers.delete(_t))}function Ee(Pe,He,{flushSync:We}={}){let mt=B.actionData!=null&&B.navigation.formMethod!=null&&is(B.navigation.formMethod)&&B.navigation.state==="loading"&&Pe.state?._isRedirect!==!0,_t;He.actionData?Object.keys(He.actionData).length>0?_t=He.actionData:_t=null:mt?_t=B.actionData:_t=null;let Wt=He.loaderData?ej(B.loaderData,He.loaderData,He.matches||[],He.errors):B.loaderData,Mt=B.blockers;Mt.size>0&&(Mt=new Map(Mt),Mt.forEach((Qt,Yt)=>Mt.set(Yt,ry)));let lt=le?!1:vn(Pe,He.matches||B.matches),Ft=V===!0||B.navigation.formMethod!=null&&is(B.navigation.formMethod)&&Pe.state?._isRedirect!==!0;l&&(s=l,l=void 0),le||R==="POP"||(R==="PUSH"?t.history.push(Pe,Pe.state):R==="REPLACE"&&t.history.replace(Pe,Pe.state));let Lt;if(R==="POP"){let Qt=ee.get(B.location.pathname);Qt&&Qt.has(Pe.pathname)?Lt={currentLocation:B.location,nextLocation:Pe}:ee.has(Pe.pathname)&&(Lt={currentLocation:Pe,nextLocation:B.location})}else if(P){let Qt=ee.get(B.location.pathname);Qt?Qt.add(Pe.pathname):(Qt=new Set([Pe.pathname]),ee.set(B.location.pathname,Qt)),Lt={currentLocation:B.location,nextLocation:Pe}}se({...He,actionData:_t,loaderData:Wt,historyAction:R,location:Pe,initialized:!0,navigation:RB,revalidation:"idle",restoreScrollPosition:lt,preventScrollReset:Ft,blockers:Mt},{viewTransitionOpts:Lt,flushSync:We===!0}),R="POP",V=!1,P=!1,le=!1,H=!1,O?.resolve(),O=null,fe?.resolve(),fe=null}async function Me(Pe,He){if(O?.resolve(),O=null,typeof Pe=="number"){O||(O=rj());let Cn=O.promise;return t.history.go(Pe),Cn}let We=NI(B.location,B.matches,c,Pe,He?.fromRouteId,He?.relative),{path:mt,submission:_t,error:Wt}=V$(!1,We,He),Mt=B.location,lt=wk(B.location,mt,He&&He.state);lt={...lt,...t.history.encodeLocation(lt)};let Ft=He&&He.replace!=null?He.replace:void 0,Lt="PUSH";Ft===!0?Lt="REPLACE":Ft===!1||_t!=null&&is(_t.formMethod)&&_t.formAction===B.location.pathname+B.location.search&&(Lt="REPLACE");let Qt=He&&"preventScrollReset"in He?He.preventScrollReset===!0:void 0,Yt=(He&&He.flushSync)===!0,Gn=ct({currentLocation:Mt,nextLocation:lt,historyAction:Lt});if(Gn){ot(Gn,{state:"blocked",location:lt,proceed(){ot(Gn,{state:"proceeding",proceed:void 0,reset:void 0,location:lt}),Me(Pe,He)},reset(){let Cn=new Map(B.blockers);Cn.set(Gn,ry),se({blockers:Cn})}});return}await ue(Lt,lt,{submission:_t,pendingError:Wt,preventScrollReset:Qt,replace:He&&He.replace,enableViewTransition:He&&He.viewTransition,flushSync:Yt,callSiteDefaultShouldRevalidate:He&&He.unstable_defaultShouldRevalidate})}function ge(){fe||(fe=rj()),Je(),se({revalidation:"loading"});let Pe=fe.promise;return B.navigation.state==="submitting"?Pe:B.navigation.state==="idle"?(ue(B.historyAction,B.location,{startUninterruptedRevalidation:!0}),Pe):(ue(R||B.historyAction,B.navigation.location,{overrideNavigation:B.navigation,enableViewTransition:P===!0}),Pe)}async function ue(Pe,He,We){U&&U.abort(),U=null,R=Pe,le=(We&&We.startUninterruptedRevalidation)===!0,An(B.location,B.matches),V=(We&&We.preventScrollReset)===!0,P=(We&&We.enableViewTransition)===!0;let mt=l||s,_t=We&&We.overrideNavigation,Wt=We?.initialHydration&&B.matches&&B.matches.length>0&&!x?B.matches:zA(mt,He,c),Mt=(We&&We.flushSync)===!0;if(Wt&&B.initialized&&!H&&xke(B.location,He)&&!(We&&We.submission&&is(We.submission.formMethod))){Ee(He,{matches:Wt},{flushSync:Mt});return}let lt=tn(Wt,mt,He.pathname);if(lt.active&<.matches&&(Wt=lt.matches),!Wt){let{error:Hi,notFoundMatches:Mi,route:ri}=Bt(He.pathname);Ee(He,{matches:Mi,loaderData:{},errors:{[ri.id]:Hi}},{flushSync:Mt});return}U=new AbortController;let Ft=Og(t.history,He,U.signal,We&&We.submission),Lt=t.getContext?await t.getContext():new M$,Qt;if(We&&We.pendingError)Qt=[VA(Wt).route.id,{type:"error",error:We.pendingError}];else if(We&&We.submission&&is(We.submission.formMethod)){let Hi=await Q(Ft,He,We.submission,Wt,Lt,lt.active,We&&We.initialHydration===!0,{replace:We.replace,flushSync:Mt});if(Hi.shortCircuited)return;if(Hi.pendingActionResult){let[Mi,ri]=Hi.pendingActionResult;if(bl(ri)&&Fv(ri.error)&&ri.error.status===404){U=null,Ee(He,{matches:Hi.matches,loaderData:{},errors:{[Mi]:ri.error}});return}}Wt=Hi.matches||Wt,Qt=Hi.pendingActionResult,_t=PB(He,We.submission),Mt=!1,lt.active=!1,Ft=Og(t.history,Ft.url,Ft.signal)}let{shortCircuited:Yt,matches:Gn,loaderData:Cn,errors:bi}=await q(Ft,He,Wt,Lt,lt.active,_t,We&&We.submission,We&&We.fetcherSubmission,We&&We.replace,We&&We.initialHydration===!0,Mt,Qt,We&&We.callSiteDefaultShouldRevalidate);Yt||(U=null,Ee(He,{matches:Gn||Wt,...tj(Qt),loaderData:Cn,errors:bi}))}async function Q(Pe,He,We,mt,_t,Wt,Mt,lt={}){Je();let Ft=Ike(He,We);if(se({navigation:Ft},{flushSync:lt.flushSync===!0}),Wt){let Yt=await jn(mt,He.pathname,Pe.signal);if(Yt.type==="aborted")return{shortCircuited:!0};if(Yt.type==="error"){if(Yt.partialMatches.length===0){let{matches:Cn,route:bi}=yS(s);return{matches:Cn,pendingActionResult:[bi.id,{type:"error",error:Yt.error}]}}let Gn=VA(Yt.partialMatches).route.id;return{matches:Yt.partialMatches,pendingActionResult:[Gn,{type:"error",error:Yt.error}]}}else if(Yt.matches)mt=Yt.matches;else{let{notFoundMatches:Gn,error:Cn,route:bi}=Bt(He.pathname);return{matches:Gn,pendingActionResult:[bi.id,{type:"error",error:Cn}]}}}let Lt,Qt=sN(mt,He);if(!Qt.route.action&&!Qt.route.lazy)Lt={type:"error",error:Ac(405,{method:Pe.method,pathname:He.pathname,routeId:Qt.route.id})};else{let Yt=rv(a,o,Pe,mt,Qt,Mt?[]:i,_t),Gn=await Ve(Pe,Yt,_t,null);if(Lt=Gn[Qt.route.id],!Lt){for(let Cn of mt)if(Gn[Cn.route.id]){Lt=Gn[Cn.route.id];break}}if(Pe.signal.aborted)return{shortCircuited:!0}}if(gh(Lt)){let Yt;return lt&<.replace!=null?Yt=lt.replace:Yt=X$(Lt.response.headers.get("Location"),new URL(Pe.url),c,t.history)===B.location.pathname+B.location.search,await qe(Pe,Lt,!0,{submission:We,replace:Yt}),{shortCircuited:!0}}if(bl(Lt)){let Yt=VA(mt,Qt.route.id);return(lt&<.replace)!==!0&&(R="PUSH"),{matches:mt,pendingActionResult:[Yt.route.id,Lt,Qt.route.id]}}return{matches:mt,pendingActionResult:[Qt.route.id,Lt]}}async function q(Pe,He,We,mt,_t,Wt,Mt,lt,Ft,Lt,Qt,Yt,Gn){let Cn=Wt||PB(He,Mt),bi=Mt||lt||ij(Cn),Hi=!le&&!Lt;if(_t){if(Hi){let $i=ne(Yt);se({navigation:Cn,...$i!==void 0?{actionData:$i}:{}},{flushSync:Qt})}let ci=await jn(We,He.pathname,Pe.signal);if(ci.type==="aborted")return{shortCircuited:!0};if(ci.type==="error"){if(ci.partialMatches.length===0){let{matches:fo,route:ya}=yS(s);return{matches:fo,loaderData:{},errors:{[ya.id]:ci.error}}}let $i=VA(ci.partialMatches).route.id;return{matches:ci.partialMatches,loaderData:{},errors:{[$i]:ci.error}}}else if(ci.matches)We=ci.matches;else{let{error:$i,notFoundMatches:fo,route:ya}=Bt(He.pathname);return{matches:fo,loaderData:{},errors:{[ya.id]:$i}}}}let Mi=l||s,{dsMatches:ri,revalidatingFetchers:ia}=G$(Pe,mt,a,o,t.history,B,We,bi,He,Lt?[]:i,Lt===!0,H,te,Y,j,L,Mi,c,t.patchRoutesOnNavigation!=null,Yt,Gn);if(xe=++de,!t.dataStrategy&&!ri.some(ci=>ci.shouldLoad)&&!ri.some(ci=>ci.route.middleware&&ci.route.middleware.length>0)&&ia.length===0){let ci=Ce();return Ee(He,{matches:We,loaderData:{},errors:Yt&&bl(Yt[1])?{[Yt[0]]:Yt[1].error}:null,...tj(Yt),...ci?{fetchers:new Map(B.fetchers)}:{}},{flushSync:Qt}),{shortCircuited:!0}}if(Hi){let ci={};if(!_t){ci.navigation=Cn;let $i=ne(Yt);$i!==void 0&&(ci.actionData=$i)}ia.length>0&&(ci.fetchers=Te(ia)),se(ci,{flushSync:Qt})}ia.forEach(ci=>{_e(ci.key),ci.controller&&X.set(ci.key,ci.controller)});let Ra=()=>ia.forEach(ci=>_e(ci.key));U&&U.signal.addEventListener("abort",Ra);let{loaderResults:tr,fetcherResults:zo}=await Qe(ri,ia,Pe,mt);if(Pe.signal.aborted)return{shortCircuited:!0};U&&U.signal.removeEventListener("abort",Ra),ia.forEach(ci=>X.delete(ci.key));let Cr=kS(tr);if(Cr)return await qe(Pe,Cr.result,!0,{replace:Ft}),{shortCircuited:!0};if(Cr=kS(zo),Cr)return L.add(Cr.key),await qe(Pe,Cr.result,!0,{replace:Ft}),{shortCircuited:!0};let{loaderData:Fo,errors:Co}=J$(B,We,tr,Yt,ia,zo);Lt&&B.errors&&(Co={...B.errors,...Co});let ls=Ce(),Ql=Le(xe),Hl=ls||Ql||ia.length>0;return{matches:We,loaderData:Fo,errors:Co,...Hl?{fetchers:new Map(B.fetchers)}:{}}}function ne(Pe){if(Pe&&!bl(Pe[1]))return{[Pe[0]]:Pe[1].data};if(B.actionData)return Object.keys(B.actionData).length===0?null:B.actionData}function Te(Pe){return Pe.forEach(He=>{let We=B.fetchers.get(He.key),mt=ay(void 0,We?We.data:void 0);B.fetchers.set(He.key,mt)}),new Map(B.fetchers)}async function me(Pe,He,We,mt){_e(Pe);let _t=(mt&&mt.flushSync)===!0,Wt=l||s,Mt=NI(B.location,B.matches,c,We,He,mt?.relative),lt=zA(Wt,Mt,c),Ft=tn(lt,Wt,Mt);if(Ft.active&&Ft.matches&&(lt=Ft.matches),!lt){ut(Pe,He,Ac(404,{pathname:Mt}),{flushSync:_t});return}let{path:Lt,submission:Qt,error:Yt}=V$(!0,Mt,mt);if(Yt){ut(Pe,He,Yt,{flushSync:_t});return}let Gn=t.getContext?await t.getContext():new M$,Cn=(mt&&mt.preventScrollReset)===!0;if(Qt&&is(Qt.formMethod)){await ye(Pe,He,Lt,lt,Gn,Ft.active,_t,Cn,Qt,mt&&mt.unstable_defaultShouldRevalidate);return}j.set(Pe,{routeId:He,path:Lt}),await De(Pe,He,Lt,lt,Gn,Ft.active,_t,Cn,Qt)}async function ye(Pe,He,We,mt,_t,Wt,Mt,lt,Ft,Lt){Je(),j.delete(Pe);let Qt=B.fetchers.get(Pe);dt(Pe,Oke(Ft,Qt),{flushSync:Mt});let Yt=new AbortController,Gn=Og(t.history,We,Yt.signal,Ft);if(Wt){let yn=await jn(mt,new URL(Gn.url).pathname,Gn.signal,Pe);if(yn.type==="aborted")return;if(yn.type==="error"){ut(Pe,He,yn.error,{flushSync:Mt});return}else if(yn.matches)mt=yn.matches;else{ut(Pe,He,Ac(404,{pathname:We}),{flushSync:Mt});return}}let Cn=sN(mt,We);if(!Cn.route.action&&!Cn.route.lazy){let yn=Ac(405,{method:Ft.formMethod,pathname:We,routeId:He});ut(Pe,He,yn,{flushSync:Mt});return}X.set(Pe,Yt);let bi=de,Hi=rv(a,o,Gn,mt,Cn,i,_t),Mi=await Ve(Gn,Hi,_t,Pe),ri=Mi[Cn.route.id];if(!ri){for(let yn of Hi)if(Mi[yn.route.id]){ri=Mi[yn.route.id];break}}if(Gn.signal.aborted){X.get(Pe)===Yt&&X.delete(Pe);return}if(Y.has(Pe)){if(gh(ri)||bl(ri)){dt(Pe,_f(void 0));return}}else{if(gh(ri))if(X.delete(Pe),xe>bi){dt(Pe,_f(void 0));return}else return L.add(Pe),dt(Pe,ay(Ft)),qe(Gn,ri,!1,{fetcherSubmission:Ft,preventScrollReset:lt});if(bl(ri)){ut(Pe,He,ri.error);return}}let ia=B.navigation.location||B.location,Ra=Og(t.history,ia,Yt.signal),tr=l||s,zo=B.navigation.state!=="idle"?zA(tr,B.navigation.location,c):B.matches;mi(zo,"Didn't find any matches after fetcher action");let Cr=++de;re.set(Pe,Cr);let Fo=ay(Ft,ri.data);B.fetchers.set(Pe,Fo);let{dsMatches:Co,revalidatingFetchers:ls}=G$(Ra,_t,a,o,t.history,B,zo,Ft,ia,i,!1,H,te,Y,j,L,tr,c,t.patchRoutesOnNavigation!=null,[Cn.route.id,ri],Lt);ls.filter(yn=>yn.key!==Pe).forEach(yn=>{let zl=yn.key,cs=B.fetchers.get(zl),Vl=ay(void 0,cs?cs.data:void 0);B.fetchers.set(zl,Vl),_e(zl),yn.controller&&X.set(zl,yn.controller)}),se({fetchers:new Map(B.fetchers)});let Ql=()=>ls.forEach(yn=>_e(yn.key));Yt.signal.addEventListener("abort",Ql);let{loaderResults:Hl,fetcherResults:ci}=await Qe(Co,ls,Ra,_t);if(Yt.signal.aborted)return;if(Yt.signal.removeEventListener("abort",Ql),re.delete(Pe),X.delete(Pe),ls.forEach(yn=>X.delete(yn.key)),B.fetchers.has(Pe)){let yn=_f(ri.data);B.fetchers.set(Pe,yn)}let $i=kS(Hl);if($i)return qe(Ra,$i.result,!1,{preventScrollReset:lt});if($i=kS(ci),$i)return L.add($i.key),qe(Ra,$i.result,!1,{preventScrollReset:lt});let{loaderData:fo,errors:ya}=J$(B,zo,Hl,void 0,ls,ci);Le(Cr),B.navigation.state==="loading"&&Cr>xe?(mi(R,"Expected pending action"),U&&U.abort(),Ee(B.navigation.location,{matches:zo,loaderData:fo,errors:ya,fetchers:new Map(B.fetchers)})):(se({errors:ya,loaderData:ej(B.loaderData,fo,zo,ya),fetchers:new Map(B.fetchers)}),H=!1)}async function De(Pe,He,We,mt,_t,Wt,Mt,lt,Ft){let Lt=B.fetchers.get(Pe);dt(Pe,ay(Ft,Lt?Lt.data:void 0),{flushSync:Mt});let Qt=new AbortController,Yt=Og(t.history,We,Qt.signal);if(Wt){let ri=await jn(mt,new URL(Yt.url).pathname,Yt.signal,Pe);if(ri.type==="aborted")return;if(ri.type==="error"){ut(Pe,He,ri.error,{flushSync:Mt});return}else if(ri.matches)mt=ri.matches;else{ut(Pe,He,Ac(404,{pathname:We}),{flushSync:Mt});return}}let Gn=sN(mt,We);X.set(Pe,Qt);let Cn=de,bi=rv(a,o,Yt,mt,Gn,i,_t),Mi=(await Ve(Yt,bi,_t,Pe))[Gn.route.id];if(X.get(Pe)===Qt&&X.delete(Pe),!Yt.signal.aborted){if(Y.has(Pe)){dt(Pe,_f(void 0));return}if(gh(Mi))if(xe>Cn){dt(Pe,_f(void 0));return}else{L.add(Pe),await qe(Yt,Mi,!1,{preventScrollReset:lt});return}if(bl(Mi)){ut(Pe,He,Mi.error);return}dt(Pe,_f(Mi.data))}}async function qe(Pe,He,We,{submission:mt,fetcherSubmission:_t,preventScrollReset:Wt,replace:Mt}={}){We||(O?.resolve(),O=null),He.response.headers.has("X-Remix-Revalidate")&&(H=!0);let lt=He.response.headers.get("Location");mi(lt,"Expected a Location header on the redirect Response"),lt=X$(lt,new URL(Pe.url),c,t.history);let Ft=wk(B.location,lt,{_isRedirect:!0});if(n){let bi=!1;if(He.response.headers.has("X-Remix-Reload-Document"))bi=!0;else if($R(lt)){const Hi=zX(lt,!0);bi=Hi.origin!==e.location.origin||wc(Hi.pathname,c)==null}if(bi){Mt?e.location.replace(lt):e.location.assign(lt);return}}U=null;let Lt=Mt===!0||He.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Qt,formAction:Yt,formEncType:Gn}=B.navigation;!mt&&!_t&&Qt&&Yt&&Gn&&(mt=ij(B.navigation));let Cn=mt||_t;if(cke.has(He.response.status)&&Cn&&is(Cn.formMethod))await ue(Lt,Ft,{submission:{...Cn,formAction:lt},preventScrollReset:Wt||V,enableViewTransition:We?P:void 0});else{let bi=PB(Ft,mt);await ue(Lt,Ft,{overrideNavigation:bi,fetcherSubmission:_t,preventScrollReset:Wt||V,enableViewTransition:We?P:void 0})}}async function Ve(Pe,He,We,mt){let _t,Wt={};try{_t=await yke(d,Pe,He,mt,We,!1)}catch(Mt){return He.filter(lt=>lt.shouldLoad).forEach(lt=>{Wt[lt.route.id]={type:"error",error:Mt}}),Wt}if(Pe.signal.aborted)return Wt;if(!is(Pe.method))for(let Mt of He){if(_t[Mt.route.id]?.type==="error")break;!_t.hasOwnProperty(Mt.route.id)&&!B.loaderData.hasOwnProperty(Mt.route.id)&&(!B.errors||!B.errors.hasOwnProperty(Mt.route.id))&&Mt.shouldCallHandler()&&(_t[Mt.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${Mt.route.id}`)})}for(let[Mt,lt]of Object.entries(_t))if(Eke(lt)){let Ft=lt.result;Wt[Mt]={type:"redirect",response:wke(Ft,Pe,Mt,He,c)}}else Wt[Mt]=await Ske(lt);return Wt}async function Qe(Pe,He,We,mt){let _t=Ve(We,Pe,mt,null),Wt=Promise.all(He.map(async Ft=>{if(Ft.matches&&Ft.match&&Ft.request&&Ft.controller){let Qt=(await Ve(Ft.request,Ft.matches,mt,Ft.key))[Ft.match.route.id];return{[Ft.key]:Qt}}else return Promise.resolve({[Ft.key]:{type:"error",error:Ac(404,{pathname:Ft.path})}})})),Mt=await _t,lt=(await Wt).reduce((Ft,Lt)=>Object.assign(Ft,Lt),{});return{loaderResults:Mt,fetcherResults:lt}}function Je(){H=!0,j.forEach((Pe,He)=>{X.has(He)&&te.add(He),_e(He)})}function dt(Pe,He,We={}){B.fetchers.set(Pe,He),se({fetchers:new Map(B.fetchers)},{flushSync:(We&&We.flushSync)===!0})}function ut(Pe,He,We,mt={}){let _t=VA(B.matches,He);J(Pe),se({errors:{[_t.route.id]:We},fetchers:new Map(B.fetchers)},{flushSync:(mt&&mt.flushSync)===!0})}function Ae(Pe){return $.set(Pe,($.get(Pe)||0)+1),Y.has(Pe)&&Y.delete(Pe),B.fetchers.get(Pe)||dke}function z(Pe,He){_e(Pe,He?.reason),dt(Pe,_f(null))}function J(Pe){let He=B.fetchers.get(Pe);X.has(Pe)&&!(He&&He.state==="loading"&&re.has(Pe))&&_e(Pe),j.delete(Pe),re.delete(Pe),L.delete(Pe),Y.delete(Pe),te.delete(Pe),B.fetchers.delete(Pe)}function Ne(Pe){let He=($.get(Pe)||0)-1;He<=0?($.delete(Pe),Y.add(Pe)):$.set(Pe,He),se({fetchers:new Map(B.fetchers)})}function _e(Pe,He){let We=X.get(Pe);We&&(We.abort(He),X.delete(Pe))}function Ue(Pe){for(let He of Pe){let We=Ae(He),mt=_f(We.data);B.fetchers.set(He,mt)}}function Ce(){let Pe=[],He=!1;for(let We of L){let mt=B.fetchers.get(We);mi(mt,`Expected fetcher: ${We}`),mt.state==="loading"&&(L.delete(We),Pe.push(We),He=!0)}return Ue(Pe),He}function Le(Pe){let He=[];for(let[We,mt]of re)if(mt<Pe){let _t=B.fetchers.get(We);mi(_t,`Expected fetcher: ${We}`),_t.state==="loading"&&(_e(We),re.delete(We),He.push(We))}return Ue(He),He.length>0}function xt(Pe,He){let We=B.blockers.get(Pe)||ry;return Z.get(Pe)!==He&&Z.set(Pe,He),We}function Ze(Pe){B.blockers.delete(Pe),Z.delete(Pe)}function ot(Pe,He){let We=B.blockers.get(Pe)||ry;mi(We.state==="unblocked"&&He.state==="blocked"||We.state==="blocked"&&He.state==="blocked"||We.state==="blocked"&&He.state==="proceeding"||We.state==="blocked"&&He.state==="unblocked"||We.state==="proceeding"&&He.state==="unblocked",`Invalid blocker state transition: ${We.state} -> ${He.state}`);let mt=new Map(B.blockers);mt.set(Pe,He),se({blockers:mt})}function ct({currentLocation:Pe,nextLocation:He,historyAction:We}){if(Z.size===0)return;Z.size>1&&va(!1,"A router only supports one blocker at a time");let mt=Array.from(Z.entries()),[_t,Wt]=mt[mt.length-1],Mt=B.blockers.get(_t);if(!(Mt&&Mt.state==="proceeding")&&Wt({currentLocation:Pe,nextLocation:He,historyAction:We}))return _t}function Bt(Pe){let He=Ac(404,{pathname:Pe}),We=l||s,{matches:mt,route:_t}=yS(We);return{notFoundMatches:mt,route:_t,error:He}}function Dt(Pe,He,We){if(y=Pe,b=He,v=We||null,!k&&B.navigation===RB){k=!0;let mt=vn(B.location,B.matches);mt!=null&&se({restoreScrollPosition:mt})}return()=>{y=null,b=null,v=null}}function St(Pe,He){return v&&v(Pe,He.map(mt=>VX(mt,B.loaderData)))||Pe.key}function An(Pe,He){if(y&&b){let We=St(Pe,He);y[We]=b()}}function vn(Pe,He){if(y){let We=St(Pe,He),mt=y[We];if(typeof mt=="number")return mt}return null}function tn(Pe,He,We){if(t.patchRoutesOnNavigation)if(Pe){if(Object.keys(Pe[0].params).length>0)return{active:!0,matches:Qy(He,We,c,!0)}}else return{active:!0,matches:Qy(He,We,c,!0)||[]};return{active:!1,matches:null}}async function jn(Pe,He,We,mt){if(!t.patchRoutesOnNavigation)return{type:"success",matches:Pe};let _t=Pe;for(;;){let Wt=l==null,Mt=l||s,lt=o;try{await t.patchRoutesOnNavigation({signal:We,path:He,matches:_t,fetcherKey:mt,patch:(Qt,Yt)=>{We.aborted||q$(Qt,Yt,Mt,lt,a,!1)}})}catch(Qt){return{type:"error",error:Qt,partialMatches:_t}}finally{Wt&&!We.aborted&&(s=[...s])}if(We.aborted)return{type:"aborted"};let Ft=zA(Mt,He,c),Lt=null;if(Ft){if(Object.keys(Ft[0].params).length===0)return{type:"success",matches:Ft};if(Lt=Qy(Mt,He,c,!0),!(Lt&&_t.length<Lt.length&&It(_t,Lt.slice(0,_t.length))))return{type:"success",matches:Ft}}if(Lt||(Lt=Qy(Mt,He,c,!0)),!Lt||It(_t,Lt))return{type:"success",matches:null};_t=Lt}}function It(Pe,He){return Pe.length===He.length&&Pe.every((We,mt)=>We.route.id===He[mt].route.id)}function _n(Pe){o={},l=Nk(Pe,a,void 0,o)}function Zi(Pe,He,We=!1){let mt=l==null;q$(Pe,He,l||s,o,a,We),mt&&(s=[...s],se({}))}return D={get basename(){return c},get future(){return f},get state(){return B},get routes(){return s},get window(){return e},initialize:ve,subscribe:ae,enableScrollRestoration:Dt,navigate:Me,fetch:me,revalidate:ge,createHref:Pe=>t.history.createHref(Pe),encodeLocation:Pe=>t.history.encodeLocation(Pe),getFetcher:Ae,resetFetcher:z,deleteFetcher:Ne,dispose:Se,getBlocker:xt,deleteBlocker:Ze,patchRoutes:Zi,_internalFetchControllers:X,_internalSetRoutes:_n,_internalSetStateDoNotUseOrYouWillBreakYourApp(Pe){se(Pe)}},t.unstable_instrumentations&&(D=tke(D,t.unstable_instrumentations.map(Pe=>Pe.router).filter(Boolean))),D}function Ake(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function NI(t,e,n,i,r,a){let o,s;if(r){o=[];for(let c of e)if(o.push(c),c.route.id===r){s=c;break}}else o=e,s=e[e.length-1];let l=wC(i||".",SC(o),wc(t.pathname,n)||t.pathname,a==="path");if(i==null&&(l.search=t.search,l.hash=t.hash),(i==null||i===""||i===".")&&s){let c=HR(l.search);if(s.route.index&&!c)l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index";else if(!s.route.index&&c){let d=new URLSearchParams(l.search),f=d.getAll("index");d.delete("index"),f.filter(m=>m).forEach(m=>d.append("index",m));let h=d.toString();l.search=h?`?${h}`:""}}return n!=="/"&&(l.pathname=Wye({basename:n,pathname:l.pathname})),_u(l)}function V$(t,e,n){if(!n||!Ake(n))return{path:e};if(n.formMethod&&!Dke(n.formMethod))return{path:e,error:Ac(405,{method:n.formMethod})};let i=()=>({path:e,error:Ac(400,{type:"invalid-body"})}),a=(n.formMethod||"get").toUpperCase(),o=cZ(e);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!is(a))return i();let f=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((h,[m,y])=>`${h}${m}=${y}
|
|
10
|
+
`).replace(O0e,"")}function VM(u,A){return A=zM(A),zM(u)===A}function Ar(u,A,p,S,E,I){switch(p){case"children":typeof S=="string"?A==="body"||A==="textarea"&&S===""||al(u,S):(typeof S=="number"||typeof S=="bigint")&&A!=="body"&&al(u,""+S);break;case"className":fo(u,"class",S);break;case"tabIndex":fo(u,"tabindex",S);break;case"dir":case"role":case"viewBox":case"width":case"height":fo(u,p,S);break;case"style":kp(u,S,I);break;case"data":if(A!=="object"){fo(u,"data",S);break}case"src":case"href":if(S===""&&(A!=="a"||p!=="href")){u.removeAttribute(p);break}if(S==null||typeof S=="function"||typeof S=="symbol"||typeof S=="boolean"){u.removeAttribute(p);break}S=Vo(""+S),u.setAttribute(p,S);break;case"action":case"formAction":if(typeof S=="function"){u.setAttribute(p,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof I=="function"&&(p==="formAction"?(A!=="input"&&Ar(u,A,"name",E.name,E,null),Ar(u,A,"formEncType",E.formEncType,E,null),Ar(u,A,"formMethod",E.formMethod,E,null),Ar(u,A,"formTarget",E.formTarget,E,null)):(Ar(u,A,"encType",E.encType,E,null),Ar(u,A,"method",E.method,E,null),Ar(u,A,"target",E.target,E,null)));if(S==null||typeof S=="symbol"||typeof S=="boolean"){u.removeAttribute(p);break}S=Vo(""+S),u.setAttribute(p,S);break;case"onClick":S!=null&&(u.onclick=ol);break;case"onScroll":S!=null&&yi("scroll",u);break;case"onScrollEnd":S!=null&&yi("scrollend",u);break;case"dangerouslySetInnerHTML":if(S!=null){if(typeof S!="object"||!("__html"in S))throw Error(i(61));if(p=S.__html,p!=null){if(E.children!=null)throw Error(i(60));u.innerHTML=p}}break;case"multiple":u.multiple=S&&typeof S!="function"&&typeof S!="symbol";break;case"muted":u.muted=S&&typeof S!="function"&&typeof S!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(S==null||typeof S=="function"||typeof S=="boolean"||typeof S=="symbol"){u.removeAttribute("xlink:href");break}p=Vo(""+S),u.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",p);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":S!=null&&typeof S!="function"&&typeof S!="symbol"?u.setAttribute(p,""+S):u.removeAttribute(p);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":S&&typeof S!="function"&&typeof S!="symbol"?u.setAttribute(p,""):u.removeAttribute(p);break;case"capture":case"download":S===!0?u.setAttribute(p,""):S!==!1&&S!=null&&typeof S!="function"&&typeof S!="symbol"?u.setAttribute(p,S):u.removeAttribute(p);break;case"cols":case"rows":case"size":case"span":S!=null&&typeof S!="function"&&typeof S!="symbol"&&!isNaN(S)&&1<=S?u.setAttribute(p,S):u.removeAttribute(p);break;case"rowSpan":case"start":S==null||typeof S=="function"||typeof S=="symbol"||isNaN(S)?u.removeAttribute(p):u.setAttribute(p,S);break;case"popover":yi("beforetoggle",u),yi("toggle",u),$i(u,"popover",S);break;case"xlinkActuate":ya(u,"http://www.w3.org/1999/xlink","xlink:actuate",S);break;case"xlinkArcrole":ya(u,"http://www.w3.org/1999/xlink","xlink:arcrole",S);break;case"xlinkRole":ya(u,"http://www.w3.org/1999/xlink","xlink:role",S);break;case"xlinkShow":ya(u,"http://www.w3.org/1999/xlink","xlink:show",S);break;case"xlinkTitle":ya(u,"http://www.w3.org/1999/xlink","xlink:title",S);break;case"xlinkType":ya(u,"http://www.w3.org/1999/xlink","xlink:type",S);break;case"xmlBase":ya(u,"http://www.w3.org/XML/1998/namespace","xml:base",S);break;case"xmlLang":ya(u,"http://www.w3.org/XML/1998/namespace","xml:lang",S);break;case"xmlSpace":ya(u,"http://www.w3.org/XML/1998/namespace","xml:space",S);break;case"is":$i(u,"is",S);break;case"innerText":case"textContent":break;default:(!(2<p.length)||p[0]!=="o"&&p[0]!=="O"||p[1]!=="n"&&p[1]!=="N")&&(p=Pm.get(p)||p,$i(u,p,S))}}function lB(u,A,p,S,E,I){switch(p){case"style":kp(u,S,I);break;case"dangerouslySetInnerHTML":if(S!=null){if(typeof S!="object"||!("__html"in S))throw Error(i(61));if(p=S.__html,p!=null){if(E.children!=null)throw Error(i(60));u.innerHTML=p}}break;case"children":typeof S=="string"?al(u,S):(typeof S=="number"||typeof S=="bigint")&&al(u,""+S);break;case"onScroll":S!=null&&yi("scroll",u);break;case"onScrollEnd":S!=null&&yi("scrollend",u);break;case"onClick":S!=null&&(u.onclick=ol);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Cr.hasOwnProperty(p))e:{if(p[0]==="o"&&p[1]==="n"&&(E=p.endsWith("Capture"),A=p.slice(2,E?p.length-7:void 0),I=u[Ft]||null,I=I!=null?I[p]:null,typeof I=="function"&&u.removeEventListener(A,I,E),typeof S=="function")){typeof I!="function"&&I!==null&&(p in u?u[p]=null:u.hasAttribute(p)&&u.removeAttribute(p)),u.addEventListener(A,S,E);break e}p in u?u[p]=S:S===!0?u.setAttribute(p,""):$i(u,p,S)}}}function Ro(u,A,p){switch(A){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":yi("error",u),yi("load",u);var S=!1,E=!1,I;for(I in p)if(p.hasOwnProperty(I)){var ce=p[I];if(ce!=null)switch(I){case"src":S=!0;break;case"srcSet":E=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,A));default:Ar(u,A,I,ce,p,null)}}E&&Ar(u,A,"srcSet",p.srcSet,p,null),S&&Ar(u,A,"src",p.src,p,null);return;case"input":yi("invalid",u);var we=I=ce=E=null,$e=null,at=null;for(S in p)if(p.hasOwnProperty(S)){var gt=p[S];if(gt!=null)switch(S){case"name":E=gt;break;case"type":ce=gt;break;case"checked":$e=gt;break;case"defaultChecked":at=gt;break;case"value":I=gt;break;case"defaultValue":we=gt;break;case"children":case"dangerouslySetInnerHTML":if(gt!=null)throw Error(i(137,A));break;default:Ar(u,A,S,gt,p,null)}}vp(u,I,we,$e,at,ce,E,!1);return;case"select":yi("invalid",u),S=ce=I=null;for(E in p)if(p.hasOwnProperty(E)&&(we=p[E],we!=null))switch(E){case"value":I=we;break;case"defaultValue":ce=we;break;case"multiple":S=we;default:Ar(u,A,E,we,p,null)}A=I,p=ce,u.multiple=!!S,A!=null?Eo(u,!!S,A,!1):p!=null&&Eo(u,!!S,p,!0);return;case"textarea":yi("invalid",u),I=E=S=null;for(ce in p)if(p.hasOwnProperty(ce)&&(we=p[ce],we!=null))switch(ce){case"value":S=we;break;case"defaultValue":E=we;break;case"children":I=we;break;case"dangerouslySetInnerHTML":if(we!=null)throw Error(i(91));break;default:Ar(u,A,ce,we,p,null)}Om(u,S,E,I);return;case"option":for($e in p)p.hasOwnProperty($e)&&(S=p[$e],S!=null)&&($e==="selected"?u.selected=S&&typeof S!="function"&&typeof S!="symbol":Ar(u,A,$e,S,p,null));return;case"dialog":yi("beforetoggle",u),yi("toggle",u),yi("cancel",u),yi("close",u);break;case"iframe":case"object":yi("load",u);break;case"video":case"audio":for(S=0;S<q0.length;S++)yi(q0[S],u);break;case"image":yi("error",u),yi("load",u);break;case"details":yi("toggle",u);break;case"embed":case"source":case"link":yi("error",u),yi("load",u);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(at in p)if(p.hasOwnProperty(at)&&(S=p[at],S!=null))switch(at){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,A));default:Ar(u,A,at,S,p,null)}return;default:if(Rm(A)){for(gt in p)p.hasOwnProperty(gt)&&(S=p[gt],S!==void 0&&lB(u,A,gt,S,p,void 0));return}}for(we in p)p.hasOwnProperty(we)&&(S=p[we],S!=null&&Ar(u,A,we,S,p,null))}function R0e(u,A,p,S){switch(A){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var E=null,I=null,ce=null,we=null,$e=null,at=null,gt=null;for(ft in p){var wt=p[ft];if(p.hasOwnProperty(ft)&&wt!=null)switch(ft){case"checked":break;case"value":break;case"defaultValue":$e=wt;default:S.hasOwnProperty(ft)||Ar(u,A,ft,null,S,wt)}}for(var st in S){var ft=S[st];if(wt=p[st],S.hasOwnProperty(st)&&(ft!=null||wt!=null))switch(st){case"type":I=ft;break;case"name":E=ft;break;case"checked":at=ft;break;case"defaultChecked":gt=ft;break;case"value":ce=ft;break;case"defaultValue":we=ft;break;case"children":case"dangerouslySetInnerHTML":if(ft!=null)throw Error(i(137,A));break;default:ft!==wt&&Ar(u,A,st,ft,S,wt)}}Zf(u,ce,we,$e,at,gt,I,E);return;case"select":ft=ce=we=st=null;for(I in p)if($e=p[I],p.hasOwnProperty(I)&&$e!=null)switch(I){case"value":break;case"multiple":ft=$e;default:S.hasOwnProperty(I)||Ar(u,A,I,null,S,$e)}for(E in S)if(I=S[E],$e=p[E],S.hasOwnProperty(E)&&(I!=null||$e!=null))switch(E){case"value":st=I;break;case"defaultValue":we=I;break;case"multiple":ce=I;default:I!==$e&&Ar(u,A,E,I,S,$e)}A=we,p=ce,S=ft,st!=null?Eo(u,!!p,st,!1):!!S!=!!p&&(A!=null?Eo(u,!!p,A,!0):Eo(u,!!p,p?[]:"",!1));return;case"textarea":ft=st=null;for(we in p)if(E=p[we],p.hasOwnProperty(we)&&E!=null&&!S.hasOwnProperty(we))switch(we){case"value":break;case"children":break;default:Ar(u,A,we,null,S,E)}for(ce in S)if(E=S[ce],I=p[ce],S.hasOwnProperty(ce)&&(E!=null||I!=null))switch(ce){case"value":st=E;break;case"defaultValue":ft=E;break;case"children":break;case"dangerouslySetInnerHTML":if(E!=null)throw Error(i(91));break;default:E!==I&&Ar(u,A,ce,E,S,I)}Im(u,st,ft);return;case"option":for(var on in p)st=p[on],p.hasOwnProperty(on)&&st!=null&&!S.hasOwnProperty(on)&&(on==="selected"?u.selected=!1:Ar(u,A,on,null,S,st));for($e in S)st=S[$e],ft=p[$e],S.hasOwnProperty($e)&&st!==ft&&(st!=null||ft!=null)&&($e==="selected"?u.selected=st&&typeof st!="function"&&typeof st!="symbol":Ar(u,A,$e,st,S,ft));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Tn in p)st=p[Tn],p.hasOwnProperty(Tn)&&st!=null&&!S.hasOwnProperty(Tn)&&Ar(u,A,Tn,null,S,st);for(at in S)if(st=S[at],ft=p[at],S.hasOwnProperty(at)&&st!==ft&&(st!=null||ft!=null))switch(at){case"children":case"dangerouslySetInnerHTML":if(st!=null)throw Error(i(137,A));break;default:Ar(u,A,at,st,S,ft)}return;default:if(Rm(A)){for(var mr in p)st=p[mr],p.hasOwnProperty(mr)&&st!==void 0&&!S.hasOwnProperty(mr)&&lB(u,A,mr,void 0,S,st);for(gt in S)st=S[gt],ft=p[gt],!S.hasOwnProperty(gt)||st===ft||st===void 0&&ft===void 0||lB(u,A,gt,st,S,ft);return}}for(var Xe in p)st=p[Xe],p.hasOwnProperty(Xe)&&st!=null&&!S.hasOwnProperty(Xe)&&Ar(u,A,Xe,null,S,st);for(wt in S)st=S[wt],ft=p[wt],!S.hasOwnProperty(wt)||st===ft||st==null&&ft==null||Ar(u,A,wt,st,S,ft)}function GM(u){switch(u){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function P0e(){if(typeof performance.getEntriesByType=="function"){for(var u=0,A=0,p=performance.getEntriesByType("resource"),S=0;S<p.length;S++){var E=p[S],I=E.transferSize,ce=E.initiatorType,we=E.duration;if(I&&we&&GM(ce)){for(ce=0,we=E.responseEnd,S+=1;S<p.length;S++){var $e=p[S],at=$e.startTime;if(at>we)break;var gt=$e.transferSize,wt=$e.initiatorType;gt&&GM(wt)&&($e=$e.responseEnd,ce+=gt*($e<we?1:(we-at)/($e-at)))}if(--S,A+=8*(I+ce)/(E.duration/1e3),u++,10<u)break}}if(0<u)return A/u/1e6}return navigator.connection&&(u=navigator.connection.downlink,typeof u=="number")?u:5}var cB=null,dB=null;function aS(u){return u.nodeType===9?u:u.ownerDocument}function qM(u){switch(u){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function KM(u,A){if(u===0)switch(A){case"svg":return 1;case"math":return 2;default:return 0}return u===1&&A==="foreignObject"?0:u}function uB(u,A){return u==="textarea"||u==="noscript"||typeof A.children=="string"||typeof A.children=="number"||typeof A.children=="bigint"||typeof A.dangerouslySetInnerHTML=="object"&&A.dangerouslySetInnerHTML!==null&&A.dangerouslySetInnerHTML.__html!=null}var fB=null;function L0e(){var u=window.event;return u&&u.type==="popstate"?u===fB?!1:(fB=u,!0):(fB=null,!1)}var WM=typeof setTimeout=="function"?setTimeout:void 0,U0e=typeof clearTimeout=="function"?clearTimeout:void 0,YM=typeof Promise=="function"?Promise:void 0,M0e=typeof queueMicrotask=="function"?queueMicrotask:typeof YM<"u"?function(u){return YM.resolve(null).then(u).catch($0e)}:WM;function $0e(u){setTimeout(function(){throw u})}function FA(u){return u==="head"}function XM(u,A){var p=A,S=0;do{var E=p.nextSibling;if(u.removeChild(p),E&&E.nodeType===8)if(p=E.data,p==="/$"||p==="/&"){if(S===0){u.removeChild(E),og(A);return}S--}else if(p==="$"||p==="$?"||p==="$~"||p==="$!"||p==="&")S++;else if(p==="html")W0(u.ownerDocument.documentElement);else if(p==="head"){p=u.ownerDocument.head,W0(p);for(var I=p.firstChild;I;){var ce=I.nextSibling,we=I.nodeName;I[bi]||we==="SCRIPT"||we==="STYLE"||we==="LINK"&&I.rel.toLowerCase()==="stylesheet"||p.removeChild(I),I=ce}}else p==="body"&&W0(u.ownerDocument.body);p=E}while(p);og(A)}function ZM(u,A){var p=u;u=0;do{var S=p.nextSibling;if(p.nodeType===1?A?(p._stashedDisplay=p.style.display,p.style.display="none"):(p.style.display=p._stashedDisplay||"",p.getAttribute("style")===""&&p.removeAttribute("style")):p.nodeType===3&&(A?(p._stashedText=p.nodeValue,p.nodeValue=""):p.nodeValue=p._stashedText||""),S&&S.nodeType===8)if(p=S.data,p==="/$"){if(u===0)break;u--}else p!=="$"&&p!=="$?"&&p!=="$~"&&p!=="$!"||u++;p=S}while(p)}function AB(u){var A=u.firstChild;for(A&&A.nodeType===10&&(A=A.nextSibling);A;){var p=A;switch(A=A.nextSibling,p.nodeName){case"HTML":case"HEAD":case"BODY":AB(p),Hi(p);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(p.rel.toLowerCase()==="stylesheet")continue}u.removeChild(p)}}function j0e(u,A,p,S){for(;u.nodeType===1;){var E=p;if(u.nodeName.toLowerCase()!==A.toLowerCase()){if(!S&&(u.nodeName!=="INPUT"||u.type!=="hidden"))break}else if(S){if(!u[bi])switch(A){case"meta":if(!u.hasAttribute("itemprop"))break;return u;case"link":if(I=u.getAttribute("rel"),I==="stylesheet"&&u.hasAttribute("data-precedence"))break;if(I!==E.rel||u.getAttribute("href")!==(E.href==null||E.href===""?null:E.href)||u.getAttribute("crossorigin")!==(E.crossOrigin==null?null:E.crossOrigin)||u.getAttribute("title")!==(E.title==null?null:E.title))break;return u;case"style":if(u.hasAttribute("data-precedence"))break;return u;case"script":if(I=u.getAttribute("src"),(I!==(E.src==null?null:E.src)||u.getAttribute("type")!==(E.type==null?null:E.type)||u.getAttribute("crossorigin")!==(E.crossOrigin==null?null:E.crossOrigin))&&I&&u.hasAttribute("async")&&!u.hasAttribute("itemprop"))break;return u;default:return u}}else if(A==="input"&&u.type==="hidden"){var I=E.name==null?null:""+E.name;if(E.type==="hidden"&&u.getAttribute("name")===I)return u}else return u;if(u=ac(u.nextSibling),u===null)break}return null}function Q0e(u,A,p){if(A==="")return null;for(;u.nodeType!==3;)if((u.nodeType!==1||u.nodeName!=="INPUT"||u.type!=="hidden")&&!p||(u=ac(u.nextSibling),u===null))return null;return u}function JM(u,A){for(;u.nodeType!==8;)if((u.nodeType!==1||u.nodeName!=="INPUT"||u.type!=="hidden")&&!A||(u=ac(u.nextSibling),u===null))return null;return u}function mB(u){return u.data==="$?"||u.data==="$~"}function hB(u){return u.data==="$!"||u.data==="$?"&&u.ownerDocument.readyState!=="loading"}function H0e(u,A){var p=u.ownerDocument;if(u.data==="$~")u._reactRetry=A;else if(u.data!=="$?"||p.readyState!=="loading")A();else{var S=function(){A(),p.removeEventListener("DOMContentLoaded",S)};p.addEventListener("DOMContentLoaded",S),u._reactRetry=S}}function ac(u){for(;u!=null;u=u.nextSibling){var A=u.nodeType;if(A===1||A===3)break;if(A===8){if(A=u.data,A==="$"||A==="$!"||A==="$?"||A==="$~"||A==="&"||A==="F!"||A==="F")break;if(A==="/$"||A==="/&")return null}}return u}var pB=null;function e$(u){u=u.nextSibling;for(var A=0;u;){if(u.nodeType===8){var p=u.data;if(p==="/$"||p==="/&"){if(A===0)return ac(u.nextSibling);A--}else p!=="$"&&p!=="$!"&&p!=="$?"&&p!=="$~"&&p!=="&"||A++}u=u.nextSibling}return null}function t$(u){u=u.previousSibling;for(var A=0;u;){if(u.nodeType===8){var p=u.data;if(p==="$"||p==="$!"||p==="$?"||p==="$~"||p==="&"){if(A===0)return u;A--}else p!=="/$"&&p!=="/&"||A++}u=u.previousSibling}return null}function n$(u,A,p){switch(A=aS(p),u){case"html":if(u=A.documentElement,!u)throw Error(i(452));return u;case"head":if(u=A.head,!u)throw Error(i(453));return u;case"body":if(u=A.body,!u)throw Error(i(454));return u;default:throw Error(i(451))}}function W0(u){for(var A=u.attributes;A.length;)u.removeAttributeNode(A[0]);Hi(u)}var oc=new Map,i$=new Set;function oS(u){return typeof u.getRootNode=="function"?u.getRootNode():u.nodeType===9?u:u.ownerDocument}var vf=te.d;te.d={f:z0e,r:V0e,D:G0e,C:q0e,L:K0e,m:W0e,X:X0e,S:Y0e,M:Z0e};function z0e(){var u=vf.f(),A=X1();return u||A}function V0e(u){var A=ri(u);A!==null&&A.tag===5&&A.type==="form"?k8(A):vf.r(u)}var ig=typeof document>"u"?null:document;function r$(u,A,p){var S=ig;if(S&&typeof A=="string"&&A){var E=ra(A);E='link[rel="'+u+'"][href="'+E+'"]',typeof p=="string"&&(E+='[crossorigin="'+p+'"]'),i$.has(E)||(i$.add(E),u={rel:u,crossOrigin:p,href:A},S.querySelector(E)===null&&(A=S.createElement("link"),Ro(A,"link",u),tr(A),S.head.appendChild(A)))}}function G0e(u){vf.D(u),r$("dns-prefetch",u,null)}function q0e(u,A){vf.C(u,A),r$("preconnect",u,A)}function K0e(u,A,p){vf.L(u,A,p);var S=ig;if(S&&u&&A){var E='link[rel="preload"][as="'+ra(A)+'"]';A==="image"&&p&&p.imageSrcSet?(E+='[imagesrcset="'+ra(p.imageSrcSet)+'"]',typeof p.imageSizes=="string"&&(E+='[imagesizes="'+ra(p.imageSizes)+'"]')):E+='[href="'+ra(u)+'"]';var I=E;switch(A){case"style":I=rg(u);break;case"script":I=ag(u)}oc.has(I)||(u=f({rel:"preload",href:A==="image"&&p&&p.imageSrcSet?void 0:u,as:A},p),oc.set(I,u),S.querySelector(E)!==null||A==="style"&&S.querySelector(Y0(I))||A==="script"&&S.querySelector(X0(I))||(A=S.createElement("link"),Ro(A,"link",u),tr(A),S.head.appendChild(A)))}}function W0e(u,A){vf.m(u,A);var p=ig;if(p&&u){var S=A&&typeof A.as=="string"?A.as:"script",E='link[rel="modulepreload"][as="'+ra(S)+'"][href="'+ra(u)+'"]',I=E;switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":I=ag(u)}if(!oc.has(I)&&(u=f({rel:"modulepreload",href:u},A),oc.set(I,u),p.querySelector(E)===null)){switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(p.querySelector(X0(I)))return}S=p.createElement("link"),Ro(S,"link",u),tr(S),p.head.appendChild(S)}}}function Y0e(u,A,p){vf.S(u,A,p);var S=ig;if(S&&u){var E=Ra(S).hoistableStyles,I=rg(u);A=A||"default";var ce=E.get(I);if(!ce){var we={loading:0,preload:null};if(ce=S.querySelector(Y0(I)))we.loading=5;else{u=f({rel:"stylesheet",href:u,"data-precedence":A},p),(p=oc.get(I))&&gB(u,p);var $e=ce=S.createElement("link");tr($e),Ro($e,"link",u),$e._p=new Promise(function(at,gt){$e.onload=at,$e.onerror=gt}),$e.addEventListener("load",function(){we.loading|=1}),$e.addEventListener("error",function(){we.loading|=2}),we.loading|=4,sS(ce,A,S)}ce={type:"stylesheet",instance:ce,count:1,state:we},E.set(I,ce)}}}function X0e(u,A){vf.X(u,A);var p=ig;if(p&&u){var S=Ra(p).hoistableScripts,E=ag(u),I=S.get(E);I||(I=p.querySelector(X0(E)),I||(u=f({src:u,async:!0},A),(A=oc.get(E))&&vB(u,A),I=p.createElement("script"),tr(I),Ro(I,"link",u),p.head.appendChild(I)),I={type:"script",instance:I,count:1,state:null},S.set(E,I))}}function Z0e(u,A){vf.M(u,A);var p=ig;if(p&&u){var S=Ra(p).hoistableScripts,E=ag(u),I=S.get(E);I||(I=p.querySelector(X0(E)),I||(u=f({src:u,async:!0,type:"module"},A),(A=oc.get(E))&&vB(u,A),I=p.createElement("script"),tr(I),Ro(I,"link",u),p.head.appendChild(I)),I={type:"script",instance:I,count:1,state:null},S.set(E,I))}}function a$(u,A,p,S){var E=(E=Z.current)?oS(E):null;if(!E)throw Error(i(446));switch(u){case"meta":case"title":return null;case"style":return typeof p.precedence=="string"&&typeof p.href=="string"?(A=rg(p.href),p=Ra(E).hoistableStyles,S=p.get(A),S||(S={type:"style",instance:null,count:0,state:null},p.set(A,S)),S):{type:"void",instance:null,count:0,state:null};case"link":if(p.rel==="stylesheet"&&typeof p.href=="string"&&typeof p.precedence=="string"){u=rg(p.href);var I=Ra(E).hoistableStyles,ce=I.get(u);if(ce||(E=E.ownerDocument||E,ce={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},I.set(u,ce),(I=E.querySelector(Y0(u)))&&!I._p&&(ce.instance=I,ce.state.loading=5),oc.has(u)||(p={rel:"preload",as:"style",href:p.href,crossOrigin:p.crossOrigin,integrity:p.integrity,media:p.media,hrefLang:p.hrefLang,referrerPolicy:p.referrerPolicy},oc.set(u,p),I||J0e(E,u,p,ce.state))),A&&S===null)throw Error(i(528,""));return ce}if(A&&S!==null)throw Error(i(529,""));return null;case"script":return A=p.async,p=p.src,typeof p=="string"&&A&&typeof A!="function"&&typeof A!="symbol"?(A=ag(p),p=Ra(E).hoistableScripts,S=p.get(A),S||(S={type:"script",instance:null,count:0,state:null},p.set(A,S)),S):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,u))}}function rg(u){return'href="'+ra(u)+'"'}function Y0(u){return'link[rel="stylesheet"]['+u+"]"}function o$(u){return f({},u,{"data-precedence":u.precedence,precedence:null})}function J0e(u,A,p,S){u.querySelector('link[rel="preload"][as="style"]['+A+"]")?S.loading=1:(A=u.createElement("link"),S.preload=A,A.addEventListener("load",function(){return S.loading|=1}),A.addEventListener("error",function(){return S.loading|=2}),Ro(A,"link",p),tr(A),u.head.appendChild(A))}function ag(u){return'[src="'+ra(u)+'"]'}function X0(u){return"script[async]"+u}function s$(u,A,p){if(A.count++,A.instance===null)switch(A.type){case"style":var S=u.querySelector('style[data-href~="'+ra(p.href)+'"]');if(S)return A.instance=S,tr(S),S;var E=f({},p,{"data-href":p.href,"data-precedence":p.precedence,href:null,precedence:null});return S=(u.ownerDocument||u).createElement("style"),tr(S),Ro(S,"style",E),sS(S,p.precedence,u),A.instance=S;case"stylesheet":E=rg(p.href);var I=u.querySelector(Y0(E));if(I)return A.state.loading|=4,A.instance=I,tr(I),I;S=o$(p),(E=oc.get(E))&&gB(S,E),I=(u.ownerDocument||u).createElement("link"),tr(I);var ce=I;return ce._p=new Promise(function(we,$e){ce.onload=we,ce.onerror=$e}),Ro(I,"link",S),A.state.loading|=4,sS(I,p.precedence,u),A.instance=I;case"script":return I=ag(p.src),(E=u.querySelector(X0(I)))?(A.instance=E,tr(E),E):(S=p,(E=oc.get(I))&&(S=f({},p),vB(S,E)),u=u.ownerDocument||u,E=u.createElement("script"),tr(E),Ro(E,"link",S),u.head.appendChild(E),A.instance=E);case"void":return null;default:throw Error(i(443,A.type))}else A.type==="stylesheet"&&(A.state.loading&4)===0&&(S=A.instance,A.state.loading|=4,sS(S,p.precedence,u));return A.instance}function sS(u,A,p){for(var S=p.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),E=S.length?S[S.length-1]:null,I=E,ce=0;ce<S.length;ce++){var we=S[ce];if(we.dataset.precedence===A)I=we;else if(I!==E)break}I?I.parentNode.insertBefore(u,I.nextSibling):(A=p.nodeType===9?p.head:p,A.insertBefore(u,A.firstChild))}function gB(u,A){u.crossOrigin==null&&(u.crossOrigin=A.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=A.referrerPolicy),u.title==null&&(u.title=A.title)}function vB(u,A){u.crossOrigin==null&&(u.crossOrigin=A.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=A.referrerPolicy),u.integrity==null&&(u.integrity=A.integrity)}var lS=null;function l$(u,A,p){if(lS===null){var S=new Map,E=lS=new Map;E.set(p,S)}else E=lS,S=E.get(p),S||(S=new Map,E.set(p,S));if(S.has(u))return S;for(S.set(u,null),p=p.getElementsByTagName(u),E=0;E<p.length;E++){var I=p[E];if(!(I[bi]||I[lt]||u==="link"&&I.getAttribute("rel")==="stylesheet")&&I.namespaceURI!=="http://www.w3.org/2000/svg"){var ce=I.getAttribute(A)||"";ce=u+ce;var we=S.get(ce);we?we.push(I):S.set(ce,[I])}}return S}function c$(u,A,p){u=u.ownerDocument||u,u.head.insertBefore(p,A==="title"?u.querySelector("head > title"):null)}function eye(u,A,p){if(p===1||A.itemProp!=null)return!1;switch(u){case"meta":case"title":return!0;case"style":if(typeof A.precedence!="string"||typeof A.href!="string"||A.href==="")break;return!0;case"link":if(typeof A.rel!="string"||typeof A.href!="string"||A.href===""||A.onLoad||A.onError)break;return A.rel==="stylesheet"?(u=A.disabled,typeof A.precedence=="string"&&u==null):!0;case"script":if(A.async&&typeof A.async!="function"&&typeof A.async!="symbol"&&!A.onLoad&&!A.onError&&A.src&&typeof A.src=="string")return!0}return!1}function d$(u){return!(u.type==="stylesheet"&&(u.state.loading&3)===0)}function tye(u,A,p,S){if(p.type==="stylesheet"&&(typeof S.media!="string"||matchMedia(S.media).matches!==!1)&&(p.state.loading&4)===0){if(p.instance===null){var E=rg(S.href),I=A.querySelector(Y0(E));if(I){A=I._p,A!==null&&typeof A=="object"&&typeof A.then=="function"&&(u.count++,u=cS.bind(u),A.then(u,u)),p.state.loading|=4,p.instance=I,tr(I);return}I=A.ownerDocument||A,S=o$(S),(E=oc.get(E))&&gB(S,E),I=I.createElement("link"),tr(I);var ce=I;ce._p=new Promise(function(we,$e){ce.onload=we,ce.onerror=$e}),Ro(I,"link",S),p.instance=I}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(p,A),(A=p.state.preload)&&(p.state.loading&3)===0&&(u.count++,p=cS.bind(u),A.addEventListener("load",p),A.addEventListener("error",p))}}var yB=0;function nye(u,A){return u.stylesheets&&u.count===0&&uS(u,u.stylesheets),0<u.count||0<u.imgCount?function(p){var S=setTimeout(function(){if(u.stylesheets&&uS(u,u.stylesheets),u.unsuspend){var I=u.unsuspend;u.unsuspend=null,I()}},6e4+A);0<u.imgBytes&&yB===0&&(yB=62500*P0e());var E=setTimeout(function(){if(u.waitingForImages=!1,u.count===0&&(u.stylesheets&&uS(u,u.stylesheets),u.unsuspend)){var I=u.unsuspend;u.unsuspend=null,I()}},(u.imgBytes>yB?50:800)+A);return u.unsuspend=p,function(){u.unsuspend=null,clearTimeout(S),clearTimeout(E)}}:null}function cS(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)uS(this,this.stylesheets);else if(this.unsuspend){var u=this.unsuspend;this.unsuspend=null,u()}}}var dS=null;function uS(u,A){u.stylesheets=null,u.unsuspend!==null&&(u.count++,dS=new Map,A.forEach(iye,u),dS=null,cS.call(u))}function iye(u,A){if(!(A.state.loading&4)){var p=dS.get(u);if(p)var S=p.get(null);else{p=new Map,dS.set(u,p);for(var E=u.querySelectorAll("link[data-precedence],style[data-precedence]"),I=0;I<E.length;I++){var ce=E[I];(ce.nodeName==="LINK"||ce.getAttribute("media")!=="not all")&&(p.set(ce.dataset.precedence,ce),S=ce)}S&&p.set(null,S)}E=A.instance,ce=E.getAttribute("data-precedence"),I=p.get(ce)||S,I===S&&p.set(null,E),p.set(ce,E),this.count++,S=cS.bind(this),E.addEventListener("load",S),E.addEventListener("error",S),I?I.parentNode.insertBefore(E,I.nextSibling):(u=u.nodeType===9?u.head:u,u.insertBefore(E,u.firstChild)),A.state.loading|=4}}var Z0={$$typeof:x,Provider:null,Consumer:null,_currentValue:X,_currentValue2:X,_threadCount:0};function rye(u,A,p,S,E,I,ce,we,$e){this.tag=1,this.containerInfo=u,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=jn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jn(0),this.hiddenUpdates=jn(null),this.identifierPrefix=S,this.onUncaughtError=E,this.onCaughtError=I,this.onRecoverableError=ce,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=$e,this.incompleteTransitions=new Map}function u$(u,A,p,S,E,I,ce,we,$e,at,gt,wt){return u=new rye(u,A,p,ce,$e,at,gt,wt,we),A=1,I===!0&&(A|=24),I=ho(3,null,null,A),u.current=I,I.stateNode=u,A=mA(),A.refCount++,u.pooledCache=A,A.refCount++,I.memoizedState={element:S,isDehydrated:p,cache:A},$t(I),u}function f$(u){return u?(u=Ya,u):Ya}function A$(u,A,p,S,E,I){E=f$(E),S.context===null?S.context=E:S.pendingContext=E,S=Bn(A),S.payload={element:p},I=I===void 0?null:I,I!==null&&(S.callback=I),p=ni(u,S,A),p!==null&&(Qs(p,u,A),zi(p,u,A))}function m$(u,A){if(u=u.memoizedState,u!==null&&u.dehydrated!==null){var p=u.retryLane;u.retryLane=p!==0&&p<A?p:A}}function kB(u,A){m$(u,A),(u=u.alternate)&&m$(u,A)}function h$(u){if(u.tag===13||u.tag===31){var A=Zc(u,67108864);A!==null&&Qs(A,u,67108864),kB(u,67108864)}}function p$(u){if(u.tag===13||u.tag===31){var A=hl();A=We(A);var p=Zc(u,A);p!==null&&Qs(p,u,A),kB(u,A)}}var fS=!0;function aye(u,A,p,S){var E=H.T;H.T=null;var I=te.p;try{te.p=2,bB(u,A,p,S)}finally{te.p=I,H.T=E}}function oye(u,A,p,S){var E=H.T;H.T=null;var I=te.p;try{te.p=8,bB(u,A,p,S)}finally{te.p=I,H.T=E}}function bB(u,A,p,S){if(fS){var E=SB(S);if(E===null)sB(u,A,S,AS,p),v$(u,S);else if(lye(E,u,A,p,S))S.stopPropagation();else if(v$(u,S),A&4&&-1<sye.indexOf(u)){for(;E!==null;){var I=ri(E);if(I!==null)switch(I.tag){case 3:if(I=I.stateNode,I.current.memoizedState.isDehydrated){var ce=Dt(I.pendingLanes);if(ce!==0){var we=I;for(we.pendingLanes|=2,we.entangledLanes|=2;ce;){var $e=1<<31-Ce(ce);we.entanglements[1]|=$e,ce&=~$e}Xd(I),(Gi&6)===0&&(W1=qe()+500,G0(0))}}break;case 31:case 13:we=Zc(I,2),we!==null&&Qs(we,I,2),X1(),kB(I,2)}if(I=SB(S),I===null&&sB(u,A,S,AS,p),I===E)break;E=I}E!==null&&S.stopPropagation()}else sB(u,A,S,null,p)}}function SB(u){return u=qu(u),wB(u)}var AS=null;function wB(u){if(AS=null,u=Mi(u),u!==null){var A=a(u);if(A===null)u=null;else{var p=A.tag;if(p===13){if(u=o(A),u!==null)return u;u=null}else if(p===31){if(u=s(A),u!==null)return u;u=null}else if(p===3){if(A.stateNode.current.memoizedState.isDehydrated)return A.tag===3?A.stateNode.containerInfo:null;u=null}else A!==u&&(u=null)}}return AS=u,null}function g$(u){switch(u){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ve()){case Qe:return 2;case Je:return 8;case dt:case ut:return 32;case Ae:return 268435456;default:return 32}default:return 32}}var NB=!1,CA=null,_A=null,EA=null,J0=new Map,ey=new Map,BA=[],sye="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function v$(u,A){switch(u){case"focusin":case"focusout":CA=null;break;case"dragenter":case"dragleave":_A=null;break;case"mouseover":case"mouseout":EA=null;break;case"pointerover":case"pointerout":J0.delete(A.pointerId);break;case"gotpointercapture":case"lostpointercapture":ey.delete(A.pointerId)}}function ty(u,A,p,S,E,I){return u===null||u.nativeEvent!==I?(u={blockedOn:A,domEventName:p,eventSystemFlags:S,nativeEvent:I,targetContainers:[E]},A!==null&&(A=ri(A),A!==null&&h$(A)),u):(u.eventSystemFlags|=S,A=u.targetContainers,E!==null&&A.indexOf(E)===-1&&A.push(E),u)}function lye(u,A,p,S,E){switch(A){case"focusin":return CA=ty(CA,u,A,p,S,E),!0;case"dragenter":return _A=ty(_A,u,A,p,S,E),!0;case"mouseover":return EA=ty(EA,u,A,p,S,E),!0;case"pointerover":var I=E.pointerId;return J0.set(I,ty(J0.get(I)||null,u,A,p,S,E)),!0;case"gotpointercapture":return I=E.pointerId,ey.set(I,ty(ey.get(I)||null,u,A,p,S,E)),!0}return!1}function y$(u){var A=Mi(u.target);if(A!==null){var p=a(A);if(p!==null){if(A=p.tag,A===13){if(A=o(p),A!==null){u.blockedOn=A,Wt(u.priority,function(){p$(p)});return}}else if(A===31){if(A=s(p),A!==null){u.blockedOn=A,Wt(u.priority,function(){p$(p)});return}}else if(A===3&&p.stateNode.current.memoizedState.isDehydrated){u.blockedOn=p.tag===3?p.stateNode.containerInfo:null;return}}}u.blockedOn=null}function mS(u){if(u.blockedOn!==null)return!1;for(var A=u.targetContainers;0<A.length;){var p=SB(u.nativeEvent);if(p===null){p=u.nativeEvent;var S=new p.constructor(p.type,p);Rc=S,p.target.dispatchEvent(S),Rc=null}else return A=ri(p),A!==null&&h$(A),u.blockedOn=p,!1;A.shift()}return!0}function k$(u,A,p){mS(u)&&p.delete(A)}function cye(){NB=!1,CA!==null&&mS(CA)&&(CA=null),_A!==null&&mS(_A)&&(_A=null),EA!==null&&mS(EA)&&(EA=null),J0.forEach(k$),ey.forEach(k$)}function hS(u,A){u.blockedOn===A&&(u.blockedOn=null,NB||(NB=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,cye)))}var pS=null;function b$(u){pS!==u&&(pS=u,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){pS===u&&(pS=null);for(var A=0;A<u.length;A+=3){var p=u[A],S=u[A+1],E=u[A+2];if(typeof S!="function"){if(wB(S||p)===null)continue;break}var I=ri(p);I!==null&&(u.splice(A,3),A-=3,SE(I,{pending:!0,data:E,method:p.method,action:S},S,E))}}))}function og(u){function A($e){return hS($e,u)}CA!==null&&hS(CA,u),_A!==null&&hS(_A,u),EA!==null&&hS(EA,u),J0.forEach(A),ey.forEach(A);for(var p=0;p<BA.length;p++){var S=BA[p];S.blockedOn===u&&(S.blockedOn=null)}for(;0<BA.length&&(p=BA[0],p.blockedOn===null);)y$(p),p.blockedOn===null&&BA.shift();if(p=(u.ownerDocument||u).$$reactFormReplay,p!=null)for(S=0;S<p.length;S+=3){var E=p[S],I=p[S+1],ce=E[Ft]||null;if(typeof I=="function")ce||b$(p);else if(ce){var we=null;if(I&&I.hasAttribute("formAction")){if(E=I,ce=I[Ft]||null)we=ce.formAction;else if(wB(E)!==null)continue}else we=ce.action;typeof we=="function"?p[S+1]=we:(p.splice(S,3),S-=3),b$(p)}}}function S$(){function u(I){I.canIntercept&&I.info==="react-transition"&&I.intercept({handler:function(){return new Promise(function(ce){return E=ce})},focusReset:"manual",scroll:"manual"})}function A(){E!==null&&(E(),E=null),S||setTimeout(p,20)}function p(){if(!S&&!navigation.transition){var I=navigation.currentEntry;I&&I.url!=null&&navigation.navigate(I.url,{state:I.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var S=!1,E=null;return navigation.addEventListener("navigate",u),navigation.addEventListener("navigatesuccess",A),navigation.addEventListener("navigateerror",A),setTimeout(p,100),function(){S=!0,navigation.removeEventListener("navigate",u),navigation.removeEventListener("navigatesuccess",A),navigation.removeEventListener("navigateerror",A),E!==null&&(E(),E=null)}}}function xB(u){this._internalRoot=u}gS.prototype.render=xB.prototype.render=function(u){var A=this._internalRoot;if(A===null)throw Error(i(409));var p=A.current,S=hl();A$(p,S,u,A,null,null)},gS.prototype.unmount=xB.prototype.unmount=function(){var u=this._internalRoot;if(u!==null){this._internalRoot=null;var A=u.containerInfo;A$(u.current,2,null,u,null,null),X1(),A[Lt]=null}};function gS(u){this._internalRoot=u}gS.prototype.unstable_scheduleHydration=function(u){if(u){var A=_t();u={blockedOn:null,target:u,priority:A};for(var p=0;p<BA.length&&A!==0&&A<BA[p].priority;p++);BA.splice(p,0,u),p===0&&y$(u)}};var w$=e.version;if(w$!=="19.2.3")throw Error(i(527,w$,"19.2.3"));te.findDOMNode=function(u){var A=u._reactInternals;if(A===void 0)throw typeof u.render=="function"?Error(i(188)):(u=Object.keys(u).join(","),Error(i(268,u)));return u=c(A),u=u!==null?d(u):null,u=u===null?null:u.stateNode,u};var dye={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var vS=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vS.isDisabled&&vS.supportsFiber)try{Ne=vS.inject(dye),_e=vS}catch{}}return iy.createRoot=function(u,A){if(!r(u))throw Error(i(299));var p=!1,S="",E=B8,I=T8,ce=D8;return A!=null&&(A.unstable_strictMode===!0&&(p=!0),A.identifierPrefix!==void 0&&(S=A.identifierPrefix),A.onUncaughtError!==void 0&&(E=A.onUncaughtError),A.onCaughtError!==void 0&&(I=A.onCaughtError),A.onRecoverableError!==void 0&&(ce=A.onRecoverableError)),A=u$(u,1,!1,null,null,p,S,null,E,I,ce,S$),u[Lt]=A.current,oB(u),new xB(A)},iy.hydrateRoot=function(u,A,p){if(!r(u))throw Error(i(299));var S=!1,E="",I=B8,ce=T8,we=D8,$e=null;return p!=null&&(p.unstable_strictMode===!0&&(S=!0),p.identifierPrefix!==void 0&&(E=p.identifierPrefix),p.onUncaughtError!==void 0&&(I=p.onUncaughtError),p.onCaughtError!==void 0&&(ce=p.onCaughtError),p.onRecoverableError!==void 0&&(we=p.onRecoverableError),p.formState!==void 0&&($e=p.formState)),A=u$(u,1,!0,A,p??null,S,E,$e,I,ce,we,S$),A.context=f$(null),p=A.current,S=hl(),S=We(S),E=Bn(S),E.callback=null,ni(p,E,S),p=S,A.current.lanes=p,It(A,p),Xd(A),u[Lt]=A.current,oB(u),new gS(A)},iy.version="19.2.3",iy}var R$;function xye(){if(R$)return EB.exports;R$=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),EB.exports=Nye(),EB.exports}var Fye=xye();const P$=globalThis||void 0||self;var HX=t=>{throw TypeError(t)},Cye=(t,e,n)=>e.has(t)||HX("Cannot "+n),IB=(t,e,n)=>(Cye(t,e,"read from private field"),n?n.call(t):e.get(t)),_ye=(t,e,n)=>e.has(t)?HX("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),L$="popstate";function Eye(t={}){function e(i,r){let{pathname:a,search:o,hash:s}=i.location;return wk("",{pathname:a,search:o,hash:s},r.state&&r.state.usr||null,r.state&&r.state.key||"default")}function n(i,r){return typeof r=="string"?r:_u(r)}return Tye(e,n,null,t)}function mi(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function va(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Bye(){return Math.random().toString(36).substring(2,10)}function U$(t,e){return{usr:t.state,key:t.key,idx:e}}function wk(t,e,n=null,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?km(e):e,state:n,key:e&&e.key||i||Bye()}}function _u({pathname:t="/",search:e="",hash:n=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function km(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substring(n),t=t.substring(0,n));let i=t.indexOf("?");i>=0&&(e.search=t.substring(i),t=t.substring(0,i)),t&&(e.pathname=t)}return e}function Tye(t,e,n,i={}){let{window:r=document.defaultView,v5Compat:a=!1}=i,o=r.history,s="POP",l=null,c=d();c==null&&(c=0,o.replaceState({...o.state,idx:c},""));function d(){return(o.state||{idx:null}).idx}function f(){s="POP";let b=d(),k=b==null?null:b-c;c=b,l&&l({action:s,location:v.location,delta:k})}function h(b,k){s="PUSH";let w=wk(v.location,b,k);c=d()+1;let x=U$(w,c),F=v.createHref(w);try{o.pushState(x,"",F)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;r.location.assign(F)}a&&l&&l({action:s,location:v.location,delta:1})}function m(b,k){s="REPLACE";let w=wk(v.location,b,k);c=d();let x=U$(w,c),F=v.createHref(w);o.replaceState(x,"",F),a&&l&&l({action:s,location:v.location,delta:0})}function y(b){return zX(b)}let v={get action(){return s},get location(){return t(r,o)},listen(b){if(l)throw new Error("A history only accepts one active listener");return r.addEventListener(L$,f),l=b,()=>{r.removeEventListener(L$,f),l=null}},createHref(b){return e(r,b)},createURL:y,encodeLocation(b){let k=y(b);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:h,replace:m,go(b){return o.go(b)}};return v}function zX(t,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),mi(n,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:_u(t);return i=i.replace(/ $/,"%20"),!e&&i.startsWith("//")&&(i=n+i),new URL(i,n)}var jy,M$=class{constructor(t){if(_ye(this,jy,new Map),t)for(let[e,n]of t)this.set(e,n)}get(t){if(IB(this,jy).has(t))return IB(this,jy).get(t);if(t.defaultValue!==void 0)return t.defaultValue;throw new Error("No value found for context")}set(t,e){IB(this,jy).set(t,e)}};jy=new WeakMap;var Dye=new Set(["lazy","caseSensitive","path","id","index","children"]);function Iye(t){return Dye.has(t)}var Oye=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function Rye(t){return Oye.has(t)}function Pye(t){return t.index===!0}function Nk(t,e,n=[],i={},r=!1){return t.map((a,o)=>{let s=[...n,String(o)],l=typeof a.id=="string"?a.id:s.join("-");if(mi(a.index!==!0||!a.children,"Cannot specify children on an index route"),mi(r||!i[l],`Found a route id collision on id "${l}". Route id's must be globally unique within Data Router usages`),Pye(a)){let c={...a,id:l};return i[l]=$$(c,e(c)),c}else{let c={...a,id:l,children:void 0};return i[l]=$$(c,e(c)),a.children&&(c.children=Nk(a.children,e,s,i,r)),c}})}function $$(t,e){return Object.assign(t,{...e,...typeof e.lazy=="object"&&e.lazy!=null?{lazy:{...t.lazy,...e.lazy}}:{}})}function zA(t,e,n="/"){return Qy(t,e,n,!1)}function Qy(t,e,n,i){let r=typeof e=="string"?km(e):e,a=wc(r.pathname||"/",n);if(a==null)return null;let o=GX(t);Lye(o);let s=null;for(let l=0;s==null&&l<o.length;++l){let c=Kye(a);s=Gye(o[l],c,i)}return s}function VX(t,e){let{route:n,pathname:i,params:r}=t;return{id:n.id,pathname:i,params:r,data:e[n.id],loaderData:e[n.id],handle:n.handle}}function GX(t,e=[],n=[],i="",r=!1){let a=(o,s,l=r,c)=>{let d={relativePath:c===void 0?o.path||"":c,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};if(d.relativePath.startsWith("/")){if(!d.relativePath.startsWith(i)&&l)return;mi(d.relativePath.startsWith(i),`Absolute route path "${d.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(i.length)}let f=Nu([i,d.relativePath]),h=n.concat(d);o.children&&o.children.length>0&&(mi(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),GX(o.children,e,h,f,l)),!(o.path==null&&!o.index)&&e.push({path:f,score:zye(f,o.index),routesMeta:h})};return t.forEach((o,s)=>{if(o.path===""||!o.path?.includes("?"))a(o,s);else for(let l of qX(o.path))a(o,s,!0,l)}),e}function qX(t){let e=t.split("/");if(e.length===0)return[];let[n,...i]=e,r=n.endsWith("?"),a=n.replace(/\?$/,"");if(i.length===0)return r?[a,""]:[a];let o=qX(i.join("/")),s=[];return s.push(...o.map(l=>l===""?a:[a,l].join("/"))),r&&s.push(...o),s.map(l=>t.startsWith("/")&&l===""?"/":l)}function Lye(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:Vye(e.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}var Uye=/^:[\w-]+$/,Mye=3,$ye=2,jye=1,Qye=10,Hye=-2,j$=t=>t==="*";function zye(t,e){let n=t.split("/"),i=n.length;return n.some(j$)&&(i+=Hye),e&&(i+=$ye),n.filter(r=>!j$(r)).reduce((r,a)=>r+(Uye.test(a)?Mye:a===""?jye:Qye),i)}function Vye(t,e){return t.length===e.length&&t.slice(0,-1).every((i,r)=>i===e[r])?t[t.length-1]-e[e.length-1]:0}function Gye(t,e,n=!1){let{routesMeta:i}=t,r={},a="/",o=[];for(let s=0;s<i.length;++s){let l=i[s],c=s===i.length-1,d=a==="/"?e:e.slice(a.length)||"/",f=HN({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},d),h=l.route;if(!f&&c&&n&&!i[i.length-1].route.index&&(f=HN({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!f)return null;Object.assign(r,f.params),o.push({params:r,pathname:Nu([a,f.pathname]),pathnameBase:Xye(Nu([a,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(a=Nu([a,f.pathnameBase]))}return o}function HN(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,i]=qye(t.path,t.caseSensitive,t.end),r=e.match(n);if(!r)return null;let a=r[0],o=a.replace(/(.)\/+$/,"$1"),s=r.slice(1);return{params:i.reduce((c,{paramName:d,isOptional:f},h)=>{if(d==="*"){let y=s[h]||"";o=a.slice(0,a.length-y.length).replace(/(.)\/+$/,"$1")}const m=s[h];return f&&!m?c[d]=void 0:c[d]=(m||"").replace(/%2F/g,"/"),c},{}),pathname:a,pathnameBase:o,pattern:t}}function qye(t,e=!1,n=!0){va(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let i=[],r="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l)=>(i.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(i.push({paramName:"*"}),r+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":t!==""&&t!=="/"&&(r+="(?:(?=\\/|$))"),[new RegExp(r,e?void 0:"i"),i]}function Kye(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return va(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function wc(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,i=t.charAt(n);return i&&i!=="/"?null:t.slice(n)||"/"}function Wye({basename:t,pathname:e}){return e==="/"?t:Nu([t,e])}var KX=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$R=t=>KX.test(t);function Yye(t,e="/"){let{pathname:n,search:i="",hash:r=""}=typeof t=="string"?km(t):t,a;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?a=Q$(n.substring(1),"/"):a=Q$(n,e)):a=e,{pathname:a,search:Zye(i),hash:Jye(r)}}function Q$(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(r=>{r===".."?n.length>1&&n.pop():r!=="."&&n.push(r)}),n.length>1?n.join("/"):"/"}function OB(t,e,n,i){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function WX(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function SC(t){let e=WX(t);return e.map((n,i)=>i===e.length-1?n.pathname:n.pathnameBase)}function wC(t,e,n,i=!1){let r;typeof t=="string"?r=km(t):(r={...t},mi(!r.pathname||!r.pathname.includes("?"),OB("?","pathname","search",r)),mi(!r.pathname||!r.pathname.includes("#"),OB("#","pathname","hash",r)),mi(!r.search||!r.search.includes("#"),OB("#","search","hash",r)));let a=t===""||r.pathname==="",o=a?"/":r.pathname,s;if(o==null)s=n;else{let f=e.length-1;if(!i&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),f-=1;r.pathname=h.join("/")}s=f>=0?e[f]:"/"}let l=Yye(r,s),c=o&&o!=="/"&&o.endsWith("/"),d=(a||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}var Nu=t=>t.join("/").replace(/\/\/+/g,"/"),Xye=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Zye=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Jye=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,YX=(t,e=302)=>{let n=e;typeof n=="number"?n={status:n}:typeof n.status>"u"&&(n.status=302);let i=new Headers(n.headers);return i.set("Location",t),new Response(null,{...n,headers:i})},ub=class{constructor(t,e,n,i=!1){this.status=t,this.statusText=e||"",this.internal=i,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Fv(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function fb(t){return t.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var XX=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ZX(t,e){let n=t;if(typeof n!="string"||!KX.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let i=n,r=!1;if(XX)try{let a=new URL(window.location.href),o=n.startsWith("//")?new URL(a.protocol+n):new URL(n),s=wc(o.pathname,e);o.origin===a.origin&&s!=null?n=s+o.search+o.hash:r=!0}catch{va(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:r,to:n}}var YA=Symbol("Uninstrumented");function eke(t,e){let n={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};t.forEach(r=>r({id:e.id,index:e.index,path:e.path,instrument(a){let o=Object.keys(n);for(let s of o)a[s]&&n[s].push(a[s])}}));let i={};if(typeof e.lazy=="function"&&n.lazy.length>0){let r=Wg(n.lazy,e.lazy,()=>{});r&&(i.lazy=r)}if(typeof e.lazy=="object"){let r=e.lazy;["middleware","loader","action"].forEach(a=>{let o=r[a],s=n[`lazy.${a}`];if(typeof o=="function"&&s.length>0){let l=Wg(s,o,()=>{});l&&(i.lazy=Object.assign(i.lazy||{},{[a]:l}))}})}return["loader","action"].forEach(r=>{let a=e[r];if(typeof a=="function"&&n[r].length>0){let o=a[YA]??a,s=Wg(n[r],o,(...l)=>H$(l[0]));s&&(r==="loader"&&o.hydrate===!0&&(s.hydrate=!0),s[YA]=o,i[r]=s)}}),e.middleware&&e.middleware.length>0&&n.middleware.length>0&&(i.middleware=e.middleware.map(r=>{let a=r[YA]??r,o=Wg(n.middleware,a,(...s)=>H$(s[0]));return o?(o[YA]=a,o):r})),i}function tke(t,e){let n={navigate:[],fetch:[]};if(e.forEach(i=>i({instrument(r){let a=Object.keys(r);for(let o of a)r[o]&&n[o].push(r[o])}})),n.navigate.length>0){let i=t.navigate[YA]??t.navigate,r=Wg(n.navigate,i,(...a)=>{let[o,s]=a;return{to:typeof o=="number"||typeof o=="string"?o:o?_u(o):".",...z$(t,s??{})}});r&&(r[YA]=i,t.navigate=r)}if(n.fetch.length>0){let i=t.fetch[YA]??t.fetch,r=Wg(n.fetch,i,(...a)=>{let[o,,s,l]=a;return{href:s??".",fetcherKey:o,...z$(t,l??{})}});r&&(r[YA]=i,t.fetch=r)}return t}function Wg(t,e,n){return t.length===0?null:async(...i)=>{let r=await JX(t,n(...i),()=>e(...i),t.length-1);if(r.type==="error")throw r.value;return r.value}}async function JX(t,e,n,i){let r=t[i],a;if(r){let o,s=async()=>(o?console.error("You cannot call instrumented handlers more than once"):o=JX(t,e,n,i-1),a=await o,mi(a,"Expected a result"),a.type==="error"&&a.value instanceof Error?{status:"error",error:a.value}:{status:"success",error:void 0});try{await r(s,e)}catch(l){console.error("An instrumentation function threw an error:",l)}o||await s(),await o}else try{a={type:"success",value:await n()}}catch(o){a={type:"error",value:o}}return a||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function H$(t){let{request:e,context:n,params:i,unstable_pattern:r}=t;return{request:nke(e),params:{...i},unstable_pattern:r,context:ike(n)}}function z$(t,e){return{currentUrl:_u(t.state.location),..."formMethod"in e?{formMethod:e.formMethod}:{},..."formEncType"in e?{formEncType:e.formEncType}:{},..."formData"in e?{formData:e.formData}:{},..."body"in e?{body:e.body}:{}}}function nke(t){return{method:t.method,url:t.url,headers:{get:(...e)=>t.headers.get(...e)}}}function ike(t){if(ake(t)){let e={...t};return Object.freeze(e),e}else return{get:e=>t.get(e)}}var rke=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ake(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e===Object.prototype||e===null||Object.getOwnPropertyNames(e).sort().join("\0")===rke}var eZ=["POST","PUT","PATCH","DELETE"],oke=new Set(eZ),ske=["GET",...eZ],lke=new Set(ske),tZ=new Set([301,302,303,307,308]),cke=new Set([307,308]),RB={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},dke={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ry={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},uke=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),nZ="remix-router-transitions",iZ=Symbol("ResetLoaderData");function fke(t){const e=t.window?t.window:typeof window<"u"?window:void 0,n=typeof e<"u"&&typeof e.document<"u"&&typeof e.document.createElement<"u";mi(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let i=t.hydrationRouteProperties||[],r=t.mapRouteProperties||uke,a=r;if(t.unstable_instrumentations){let Pe=t.unstable_instrumentations;a=He=>({...r(He),...eke(Pe.map(We=>We.route).filter(Boolean),He)})}let o={},s=Nk(t.routes,a,void 0,o),l,c=t.basename||"/";c.startsWith("/")||(c=`/${c}`);let d=t.dataStrategy||gke,f={...t.future},h=null,m=new Set,y=null,v=null,b=null,k=t.hydrationData!=null,w=zA(s,t.history.location,c),x=!1,F=null,C;if(w==null&&!t.patchRoutesOnNavigation){let Pe=Ac(404,{pathname:t.history.location.pathname}),{matches:He,route:We}=yS(s);C=!0,w=He,F={[We.id]:Pe}}else if(w&&!t.hydrationData&&tn(w,s,t.history.location.pathname).active&&(w=null),w)if(w.some(Pe=>Pe.route.lazy))C=!1;else if(!w.some(Pe=>jR(Pe.route)))C=!0;else{let Pe=t.hydrationData?t.hydrationData.loaderData:null,He=t.hydrationData?t.hydrationData.errors:null;if(He){let We=w.findIndex(mt=>He[mt.route.id]!==void 0);C=w.slice(0,We+1).every(mt=>!xI(mt.route,Pe,He))}else C=w.every(We=>!xI(We.route,Pe,He))}else{C=!1,w=[];let Pe=tn(null,s,t.history.location.pathname);Pe.active&&Pe.matches&&(x=!0,w=Pe.matches)}let D,B={historyAction:t.history.action,location:t.history.location,matches:w,initialized:C,navigation:RB,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||F,fetchers:new Map,blockers:new Map},R="POP",O=null,V=!1,U,P=!1,ee=new Map,K=null,le=!1,H=!1,te=new Set,X=new Map,de=0,xe=-1,re=new Map,L=new Set,j=new Map,$=new Map,Y=new Set,Z=new Map,W,fe=null;function ve(){if(h=t.history.listen(({action:Pe,location:He,delta:We})=>{if(W){W(),W=void 0;return}va(Z.size===0||We!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let mt=ct({currentLocation:B.location,nextLocation:He,historyAction:Pe});if(mt&&We!=null){let _t=new Promise(Wt=>{W=Wt});t.history.go(We*-1),ot(mt,{state:"blocked",location:He,proceed(){ot(mt,{state:"proceeding",proceed:void 0,reset:void 0,location:He}),_t.then(()=>t.history.go(We))},reset(){let Wt=new Map(B.blockers);Wt.set(mt,ry),se({blockers:Wt})}}),O?.resolve(),O=null;return}return ue(Pe,He)}),n){Rke(e,ee);let Pe=()=>Pke(e,ee);e.addEventListener("pagehide",Pe),K=()=>e.removeEventListener("pagehide",Pe)}return B.initialized||ue("POP",B.location,{initialHydration:!0}),D}function Se(){h&&h(),K&&K(),m.clear(),U&&U.abort(),B.fetchers.forEach((Pe,He)=>J(He)),B.blockers.forEach((Pe,He)=>Ze(He))}function ae(Pe){return m.add(Pe),()=>m.delete(Pe)}function se(Pe,He={}){Pe.matches&&(Pe.matches=Pe.matches.map(_t=>{let Wt=o[_t.route.id],Mt=_t.route;return Mt.element!==Wt.element||Mt.errorElement!==Wt.errorElement||Mt.hydrateFallbackElement!==Wt.hydrateFallbackElement?{..._t,route:Wt}:_t})),B={...B,...Pe};let We=[],mt=[];B.fetchers.forEach((_t,Wt)=>{_t.state==="idle"&&(Y.has(Wt)?We.push(Wt):mt.push(Wt))}),Y.forEach(_t=>{!B.fetchers.has(_t)&&!X.has(_t)&&We.push(_t)}),[...m].forEach(_t=>_t(B,{deletedFetchers:We,newErrors:Pe.errors??null,viewTransitionOpts:He.viewTransitionOpts,flushSync:He.flushSync===!0})),We.forEach(_t=>J(_t)),mt.forEach(_t=>B.fetchers.delete(_t))}function Ee(Pe,He,{flushSync:We}={}){let mt=B.actionData!=null&&B.navigation.formMethod!=null&&is(B.navigation.formMethod)&&B.navigation.state==="loading"&&Pe.state?._isRedirect!==!0,_t;He.actionData?Object.keys(He.actionData).length>0?_t=He.actionData:_t=null:mt?_t=B.actionData:_t=null;let Wt=He.loaderData?ej(B.loaderData,He.loaderData,He.matches||[],He.errors):B.loaderData,Mt=B.blockers;Mt.size>0&&(Mt=new Map(Mt),Mt.forEach((Qt,Yt)=>Mt.set(Yt,ry)));let lt=le?!1:vn(Pe,He.matches||B.matches),Ft=V===!0||B.navigation.formMethod!=null&&is(B.navigation.formMethod)&&Pe.state?._isRedirect!==!0;l&&(s=l,l=void 0),le||R==="POP"||(R==="PUSH"?t.history.push(Pe,Pe.state):R==="REPLACE"&&t.history.replace(Pe,Pe.state));let Lt;if(R==="POP"){let Qt=ee.get(B.location.pathname);Qt&&Qt.has(Pe.pathname)?Lt={currentLocation:B.location,nextLocation:Pe}:ee.has(Pe.pathname)&&(Lt={currentLocation:Pe,nextLocation:B.location})}else if(P){let Qt=ee.get(B.location.pathname);Qt?Qt.add(Pe.pathname):(Qt=new Set([Pe.pathname]),ee.set(B.location.pathname,Qt)),Lt={currentLocation:B.location,nextLocation:Pe}}se({...He,actionData:_t,loaderData:Wt,historyAction:R,location:Pe,initialized:!0,navigation:RB,revalidation:"idle",restoreScrollPosition:lt,preventScrollReset:Ft,blockers:Mt},{viewTransitionOpts:Lt,flushSync:We===!0}),R="POP",V=!1,P=!1,le=!1,H=!1,O?.resolve(),O=null,fe?.resolve(),fe=null}async function Me(Pe,He){if(O?.resolve(),O=null,typeof Pe=="number"){O||(O=rj());let Cn=O.promise;return t.history.go(Pe),Cn}let We=NI(B.location,B.matches,c,Pe,He?.fromRouteId,He?.relative),{path:mt,submission:_t,error:Wt}=V$(!1,We,He),Mt=B.location,lt=wk(B.location,mt,He&&He.state);lt={...lt,...t.history.encodeLocation(lt)};let Ft=He&&He.replace!=null?He.replace:void 0,Lt="PUSH";Ft===!0?Lt="REPLACE":Ft===!1||_t!=null&&is(_t.formMethod)&&_t.formAction===B.location.pathname+B.location.search&&(Lt="REPLACE");let Qt=He&&"preventScrollReset"in He?He.preventScrollReset===!0:void 0,Yt=(He&&He.flushSync)===!0,Gn=ct({currentLocation:Mt,nextLocation:lt,historyAction:Lt});if(Gn){ot(Gn,{state:"blocked",location:lt,proceed(){ot(Gn,{state:"proceeding",proceed:void 0,reset:void 0,location:lt}),Me(Pe,He)},reset(){let Cn=new Map(B.blockers);Cn.set(Gn,ry),se({blockers:Cn})}});return}await ue(Lt,lt,{submission:_t,pendingError:Wt,preventScrollReset:Qt,replace:He&&He.replace,enableViewTransition:He&&He.viewTransition,flushSync:Yt,callSiteDefaultShouldRevalidate:He&&He.unstable_defaultShouldRevalidate})}function ge(){fe||(fe=rj()),Je(),se({revalidation:"loading"});let Pe=fe.promise;return B.navigation.state==="submitting"?Pe:B.navigation.state==="idle"?(ue(B.historyAction,B.location,{startUninterruptedRevalidation:!0}),Pe):(ue(R||B.historyAction,B.navigation.location,{overrideNavigation:B.navigation,enableViewTransition:P===!0}),Pe)}async function ue(Pe,He,We){U&&U.abort(),U=null,R=Pe,le=(We&&We.startUninterruptedRevalidation)===!0,An(B.location,B.matches),V=(We&&We.preventScrollReset)===!0,P=(We&&We.enableViewTransition)===!0;let mt=l||s,_t=We&&We.overrideNavigation,Wt=We?.initialHydration&&B.matches&&B.matches.length>0&&!x?B.matches:zA(mt,He,c),Mt=(We&&We.flushSync)===!0;if(Wt&&B.initialized&&!H&&xke(B.location,He)&&!(We&&We.submission&&is(We.submission.formMethod))){Ee(He,{matches:Wt},{flushSync:Mt});return}let lt=tn(Wt,mt,He.pathname);if(lt.active&<.matches&&(Wt=lt.matches),!Wt){let{error:Hi,notFoundMatches:Mi,route:ri}=Bt(He.pathname);Ee(He,{matches:Mi,loaderData:{},errors:{[ri.id]:Hi}},{flushSync:Mt});return}U=new AbortController;let Ft=Og(t.history,He,U.signal,We&&We.submission),Lt=t.getContext?await t.getContext():new M$,Qt;if(We&&We.pendingError)Qt=[VA(Wt).route.id,{type:"error",error:We.pendingError}];else if(We&&We.submission&&is(We.submission.formMethod)){let Hi=await Q(Ft,He,We.submission,Wt,Lt,lt.active,We&&We.initialHydration===!0,{replace:We.replace,flushSync:Mt});if(Hi.shortCircuited)return;if(Hi.pendingActionResult){let[Mi,ri]=Hi.pendingActionResult;if(bl(ri)&&Fv(ri.error)&&ri.error.status===404){U=null,Ee(He,{matches:Hi.matches,loaderData:{},errors:{[Mi]:ri.error}});return}}Wt=Hi.matches||Wt,Qt=Hi.pendingActionResult,_t=PB(He,We.submission),Mt=!1,lt.active=!1,Ft=Og(t.history,Ft.url,Ft.signal)}let{shortCircuited:Yt,matches:Gn,loaderData:Cn,errors:bi}=await q(Ft,He,Wt,Lt,lt.active,_t,We&&We.submission,We&&We.fetcherSubmission,We&&We.replace,We&&We.initialHydration===!0,Mt,Qt,We&&We.callSiteDefaultShouldRevalidate);Yt||(U=null,Ee(He,{matches:Gn||Wt,...tj(Qt),loaderData:Cn,errors:bi}))}async function Q(Pe,He,We,mt,_t,Wt,Mt,lt={}){Je();let Ft=Ike(He,We);if(se({navigation:Ft},{flushSync:lt.flushSync===!0}),Wt){let Yt=await jn(mt,He.pathname,Pe.signal);if(Yt.type==="aborted")return{shortCircuited:!0};if(Yt.type==="error"){if(Yt.partialMatches.length===0){let{matches:Cn,route:bi}=yS(s);return{matches:Cn,pendingActionResult:[bi.id,{type:"error",error:Yt.error}]}}let Gn=VA(Yt.partialMatches).route.id;return{matches:Yt.partialMatches,pendingActionResult:[Gn,{type:"error",error:Yt.error}]}}else if(Yt.matches)mt=Yt.matches;else{let{notFoundMatches:Gn,error:Cn,route:bi}=Bt(He.pathname);return{matches:Gn,pendingActionResult:[bi.id,{type:"error",error:Cn}]}}}let Lt,Qt=sN(mt,He);if(!Qt.route.action&&!Qt.route.lazy)Lt={type:"error",error:Ac(405,{method:Pe.method,pathname:He.pathname,routeId:Qt.route.id})};else{let Yt=rv(a,o,Pe,mt,Qt,Mt?[]:i,_t),Gn=await Ve(Pe,Yt,_t,null);if(Lt=Gn[Qt.route.id],!Lt){for(let Cn of mt)if(Gn[Cn.route.id]){Lt=Gn[Cn.route.id];break}}if(Pe.signal.aborted)return{shortCircuited:!0}}if(gh(Lt)){let Yt;return lt&<.replace!=null?Yt=lt.replace:Yt=X$(Lt.response.headers.get("Location"),new URL(Pe.url),c,t.history)===B.location.pathname+B.location.search,await qe(Pe,Lt,!0,{submission:We,replace:Yt}),{shortCircuited:!0}}if(bl(Lt)){let Yt=VA(mt,Qt.route.id);return(lt&<.replace)!==!0&&(R="PUSH"),{matches:mt,pendingActionResult:[Yt.route.id,Lt,Qt.route.id]}}return{matches:mt,pendingActionResult:[Qt.route.id,Lt]}}async function q(Pe,He,We,mt,_t,Wt,Mt,lt,Ft,Lt,Qt,Yt,Gn){let Cn=Wt||PB(He,Mt),bi=Mt||lt||ij(Cn),Hi=!le&&!Lt;if(_t){if(Hi){let $i=ne(Yt);se({navigation:Cn,...$i!==void 0?{actionData:$i}:{}},{flushSync:Qt})}let ci=await jn(We,He.pathname,Pe.signal);if(ci.type==="aborted")return{shortCircuited:!0};if(ci.type==="error"){if(ci.partialMatches.length===0){let{matches:fo,route:ya}=yS(s);return{matches:fo,loaderData:{},errors:{[ya.id]:ci.error}}}let $i=VA(ci.partialMatches).route.id;return{matches:ci.partialMatches,loaderData:{},errors:{[$i]:ci.error}}}else if(ci.matches)We=ci.matches;else{let{error:$i,notFoundMatches:fo,route:ya}=Bt(He.pathname);return{matches:fo,loaderData:{},errors:{[ya.id]:$i}}}}let Mi=l||s,{dsMatches:ri,revalidatingFetchers:ia}=G$(Pe,mt,a,o,t.history,B,We,bi,He,Lt?[]:i,Lt===!0,H,te,Y,j,L,Mi,c,t.patchRoutesOnNavigation!=null,Yt,Gn);if(xe=++de,!t.dataStrategy&&!ri.some(ci=>ci.shouldLoad)&&!ri.some(ci=>ci.route.middleware&&ci.route.middleware.length>0)&&ia.length===0){let ci=Ce();return Ee(He,{matches:We,loaderData:{},errors:Yt&&bl(Yt[1])?{[Yt[0]]:Yt[1].error}:null,...tj(Yt),...ci?{fetchers:new Map(B.fetchers)}:{}},{flushSync:Qt}),{shortCircuited:!0}}if(Hi){let ci={};if(!_t){ci.navigation=Cn;let $i=ne(Yt);$i!==void 0&&(ci.actionData=$i)}ia.length>0&&(ci.fetchers=Te(ia)),se(ci,{flushSync:Qt})}ia.forEach(ci=>{_e(ci.key),ci.controller&&X.set(ci.key,ci.controller)});let Ra=()=>ia.forEach(ci=>_e(ci.key));U&&U.signal.addEventListener("abort",Ra);let{loaderResults:tr,fetcherResults:zo}=await Qe(ri,ia,Pe,mt);if(Pe.signal.aborted)return{shortCircuited:!0};U&&U.signal.removeEventListener("abort",Ra),ia.forEach(ci=>X.delete(ci.key));let Cr=kS(tr);if(Cr)return await qe(Pe,Cr.result,!0,{replace:Ft}),{shortCircuited:!0};if(Cr=kS(zo),Cr)return L.add(Cr.key),await qe(Pe,Cr.result,!0,{replace:Ft}),{shortCircuited:!0};let{loaderData:Fo,errors:Co}=J$(B,We,tr,Yt,ia,zo);Lt&&B.errors&&(Co={...B.errors,...Co});let ls=Ce(),Ql=Le(xe),Hl=ls||Ql||ia.length>0;return{matches:We,loaderData:Fo,errors:Co,...Hl?{fetchers:new Map(B.fetchers)}:{}}}function ne(Pe){if(Pe&&!bl(Pe[1]))return{[Pe[0]]:Pe[1].data};if(B.actionData)return Object.keys(B.actionData).length===0?null:B.actionData}function Te(Pe){return Pe.forEach(He=>{let We=B.fetchers.get(He.key),mt=ay(void 0,We?We.data:void 0);B.fetchers.set(He.key,mt)}),new Map(B.fetchers)}async function me(Pe,He,We,mt){_e(Pe);let _t=(mt&&mt.flushSync)===!0,Wt=l||s,Mt=NI(B.location,B.matches,c,We,He,mt?.relative),lt=zA(Wt,Mt,c),Ft=tn(lt,Wt,Mt);if(Ft.active&&Ft.matches&&(lt=Ft.matches),!lt){ut(Pe,He,Ac(404,{pathname:Mt}),{flushSync:_t});return}let{path:Lt,submission:Qt,error:Yt}=V$(!0,Mt,mt);if(Yt){ut(Pe,He,Yt,{flushSync:_t});return}let Gn=t.getContext?await t.getContext():new M$,Cn=(mt&&mt.preventScrollReset)===!0;if(Qt&&is(Qt.formMethod)){await ye(Pe,He,Lt,lt,Gn,Ft.active,_t,Cn,Qt,mt&&mt.unstable_defaultShouldRevalidate);return}j.set(Pe,{routeId:He,path:Lt}),await De(Pe,He,Lt,lt,Gn,Ft.active,_t,Cn,Qt)}async function ye(Pe,He,We,mt,_t,Wt,Mt,lt,Ft,Lt){Je(),j.delete(Pe);let Qt=B.fetchers.get(Pe);dt(Pe,Oke(Ft,Qt),{flushSync:Mt});let Yt=new AbortController,Gn=Og(t.history,We,Yt.signal,Ft);if(Wt){let yn=await jn(mt,new URL(Gn.url).pathname,Gn.signal,Pe);if(yn.type==="aborted")return;if(yn.type==="error"){ut(Pe,He,yn.error,{flushSync:Mt});return}else if(yn.matches)mt=yn.matches;else{ut(Pe,He,Ac(404,{pathname:We}),{flushSync:Mt});return}}let Cn=sN(mt,We);if(!Cn.route.action&&!Cn.route.lazy){let yn=Ac(405,{method:Ft.formMethod,pathname:We,routeId:He});ut(Pe,He,yn,{flushSync:Mt});return}X.set(Pe,Yt);let bi=de,Hi=rv(a,o,Gn,mt,Cn,i,_t),Mi=await Ve(Gn,Hi,_t,Pe),ri=Mi[Cn.route.id];if(!ri){for(let yn of Hi)if(Mi[yn.route.id]){ri=Mi[yn.route.id];break}}if(Gn.signal.aborted){X.get(Pe)===Yt&&X.delete(Pe);return}if(Y.has(Pe)){if(gh(ri)||bl(ri)){dt(Pe,_f(void 0));return}}else{if(gh(ri))if(X.delete(Pe),xe>bi){dt(Pe,_f(void 0));return}else return L.add(Pe),dt(Pe,ay(Ft)),qe(Gn,ri,!1,{fetcherSubmission:Ft,preventScrollReset:lt});if(bl(ri)){ut(Pe,He,ri.error);return}}let ia=B.navigation.location||B.location,Ra=Og(t.history,ia,Yt.signal),tr=l||s,zo=B.navigation.state!=="idle"?zA(tr,B.navigation.location,c):B.matches;mi(zo,"Didn't find any matches after fetcher action");let Cr=++de;re.set(Pe,Cr);let Fo=ay(Ft,ri.data);B.fetchers.set(Pe,Fo);let{dsMatches:Co,revalidatingFetchers:ls}=G$(Ra,_t,a,o,t.history,B,zo,Ft,ia,i,!1,H,te,Y,j,L,tr,c,t.patchRoutesOnNavigation!=null,[Cn.route.id,ri],Lt);ls.filter(yn=>yn.key!==Pe).forEach(yn=>{let zl=yn.key,cs=B.fetchers.get(zl),Vl=ay(void 0,cs?cs.data:void 0);B.fetchers.set(zl,Vl),_e(zl),yn.controller&&X.set(zl,yn.controller)}),se({fetchers:new Map(B.fetchers)});let Ql=()=>ls.forEach(yn=>_e(yn.key));Yt.signal.addEventListener("abort",Ql);let{loaderResults:Hl,fetcherResults:ci}=await Qe(Co,ls,Ra,_t);if(Yt.signal.aborted)return;if(Yt.signal.removeEventListener("abort",Ql),re.delete(Pe),X.delete(Pe),ls.forEach(yn=>X.delete(yn.key)),B.fetchers.has(Pe)){let yn=_f(ri.data);B.fetchers.set(Pe,yn)}let $i=kS(Hl);if($i)return qe(Ra,$i.result,!1,{preventScrollReset:lt});if($i=kS(ci),$i)return L.add($i.key),qe(Ra,$i.result,!1,{preventScrollReset:lt});let{loaderData:fo,errors:ya}=J$(B,zo,Hl,void 0,ls,ci);Le(Cr),B.navigation.state==="loading"&&Cr>xe?(mi(R,"Expected pending action"),U&&U.abort(),Ee(B.navigation.location,{matches:zo,loaderData:fo,errors:ya,fetchers:new Map(B.fetchers)})):(se({errors:ya,loaderData:ej(B.loaderData,fo,zo,ya),fetchers:new Map(B.fetchers)}),H=!1)}async function De(Pe,He,We,mt,_t,Wt,Mt,lt,Ft){let Lt=B.fetchers.get(Pe);dt(Pe,ay(Ft,Lt?Lt.data:void 0),{flushSync:Mt});let Qt=new AbortController,Yt=Og(t.history,We,Qt.signal);if(Wt){let ri=await jn(mt,new URL(Yt.url).pathname,Yt.signal,Pe);if(ri.type==="aborted")return;if(ri.type==="error"){ut(Pe,He,ri.error,{flushSync:Mt});return}else if(ri.matches)mt=ri.matches;else{ut(Pe,He,Ac(404,{pathname:We}),{flushSync:Mt});return}}let Gn=sN(mt,We);X.set(Pe,Qt);let Cn=de,bi=rv(a,o,Yt,mt,Gn,i,_t),Mi=(await Ve(Yt,bi,_t,Pe))[Gn.route.id];if(X.get(Pe)===Qt&&X.delete(Pe),!Yt.signal.aborted){if(Y.has(Pe)){dt(Pe,_f(void 0));return}if(gh(Mi))if(xe>Cn){dt(Pe,_f(void 0));return}else{L.add(Pe),await qe(Yt,Mi,!1,{preventScrollReset:lt});return}if(bl(Mi)){ut(Pe,He,Mi.error);return}dt(Pe,_f(Mi.data))}}async function qe(Pe,He,We,{submission:mt,fetcherSubmission:_t,preventScrollReset:Wt,replace:Mt}={}){We||(O?.resolve(),O=null),He.response.headers.has("X-Remix-Revalidate")&&(H=!0);let lt=He.response.headers.get("Location");mi(lt,"Expected a Location header on the redirect Response"),lt=X$(lt,new URL(Pe.url),c,t.history);let Ft=wk(B.location,lt,{_isRedirect:!0});if(n){let bi=!1;if(He.response.headers.has("X-Remix-Reload-Document"))bi=!0;else if($R(lt)){const Hi=zX(lt,!0);bi=Hi.origin!==e.location.origin||wc(Hi.pathname,c)==null}if(bi){Mt?e.location.replace(lt):e.location.assign(lt);return}}U=null;let Lt=Mt===!0||He.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Qt,formAction:Yt,formEncType:Gn}=B.navigation;!mt&&!_t&&Qt&&Yt&&Gn&&(mt=ij(B.navigation));let Cn=mt||_t;if(cke.has(He.response.status)&&Cn&&is(Cn.formMethod))await ue(Lt,Ft,{submission:{...Cn,formAction:lt},preventScrollReset:Wt||V,enableViewTransition:We?P:void 0});else{let bi=PB(Ft,mt);await ue(Lt,Ft,{overrideNavigation:bi,fetcherSubmission:_t,preventScrollReset:Wt||V,enableViewTransition:We?P:void 0})}}async function Ve(Pe,He,We,mt){let _t,Wt={};try{_t=await yke(d,Pe,He,mt,We,!1)}catch(Mt){return He.filter(lt=>lt.shouldLoad).forEach(lt=>{Wt[lt.route.id]={type:"error",error:Mt}}),Wt}if(Pe.signal.aborted)return Wt;if(!is(Pe.method))for(let Mt of He){if(_t[Mt.route.id]?.type==="error")break;!_t.hasOwnProperty(Mt.route.id)&&!B.loaderData.hasOwnProperty(Mt.route.id)&&(!B.errors||!B.errors.hasOwnProperty(Mt.route.id))&&Mt.shouldCallHandler()&&(_t[Mt.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${Mt.route.id}`)})}for(let[Mt,lt]of Object.entries(_t))if(Eke(lt)){let Ft=lt.result;Wt[Mt]={type:"redirect",response:wke(Ft,Pe,Mt,He,c)}}else Wt[Mt]=await Ske(lt);return Wt}async function Qe(Pe,He,We,mt){let _t=Ve(We,Pe,mt,null),Wt=Promise.all(He.map(async Ft=>{if(Ft.matches&&Ft.match&&Ft.request&&Ft.controller){let Qt=(await Ve(Ft.request,Ft.matches,mt,Ft.key))[Ft.match.route.id];return{[Ft.key]:Qt}}else return Promise.resolve({[Ft.key]:{type:"error",error:Ac(404,{pathname:Ft.path})}})})),Mt=await _t,lt=(await Wt).reduce((Ft,Lt)=>Object.assign(Ft,Lt),{});return{loaderResults:Mt,fetcherResults:lt}}function Je(){H=!0,j.forEach((Pe,He)=>{X.has(He)&&te.add(He),_e(He)})}function dt(Pe,He,We={}){B.fetchers.set(Pe,He),se({fetchers:new Map(B.fetchers)},{flushSync:(We&&We.flushSync)===!0})}function ut(Pe,He,We,mt={}){let _t=VA(B.matches,He);J(Pe),se({errors:{[_t.route.id]:We},fetchers:new Map(B.fetchers)},{flushSync:(mt&&mt.flushSync)===!0})}function Ae(Pe){return $.set(Pe,($.get(Pe)||0)+1),Y.has(Pe)&&Y.delete(Pe),B.fetchers.get(Pe)||dke}function z(Pe,He){_e(Pe,He?.reason),dt(Pe,_f(null))}function J(Pe){let He=B.fetchers.get(Pe);X.has(Pe)&&!(He&&He.state==="loading"&&re.has(Pe))&&_e(Pe),j.delete(Pe),re.delete(Pe),L.delete(Pe),Y.delete(Pe),te.delete(Pe),B.fetchers.delete(Pe)}function Ne(Pe){let He=($.get(Pe)||0)-1;He<=0?($.delete(Pe),Y.add(Pe)):$.set(Pe,He),se({fetchers:new Map(B.fetchers)})}function _e(Pe,He){let We=X.get(Pe);We&&(We.abort(He),X.delete(Pe))}function Ue(Pe){for(let He of Pe){let We=Ae(He),mt=_f(We.data);B.fetchers.set(He,mt)}}function Ce(){let Pe=[],He=!1;for(let We of L){let mt=B.fetchers.get(We);mi(mt,`Expected fetcher: ${We}`),mt.state==="loading"&&(L.delete(We),Pe.push(We),He=!0)}return Ue(Pe),He}function Le(Pe){let He=[];for(let[We,mt]of re)if(mt<Pe){let _t=B.fetchers.get(We);mi(_t,`Expected fetcher: ${We}`),_t.state==="loading"&&(_e(We),re.delete(We),He.push(We))}return Ue(He),He.length>0}function xt(Pe,He){let We=B.blockers.get(Pe)||ry;return Z.get(Pe)!==He&&Z.set(Pe,He),We}function Ze(Pe){B.blockers.delete(Pe),Z.delete(Pe)}function ot(Pe,He){let We=B.blockers.get(Pe)||ry;mi(We.state==="unblocked"&&He.state==="blocked"||We.state==="blocked"&&He.state==="blocked"||We.state==="blocked"&&He.state==="proceeding"||We.state==="blocked"&&He.state==="unblocked"||We.state==="proceeding"&&He.state==="unblocked",`Invalid blocker state transition: ${We.state} -> ${He.state}`);let mt=new Map(B.blockers);mt.set(Pe,He),se({blockers:mt})}function ct({currentLocation:Pe,nextLocation:He,historyAction:We}){if(Z.size===0)return;Z.size>1&&va(!1,"A router only supports one blocker at a time");let mt=Array.from(Z.entries()),[_t,Wt]=mt[mt.length-1],Mt=B.blockers.get(_t);if(!(Mt&&Mt.state==="proceeding")&&Wt({currentLocation:Pe,nextLocation:He,historyAction:We}))return _t}function Bt(Pe){let He=Ac(404,{pathname:Pe}),We=l||s,{matches:mt,route:_t}=yS(We);return{notFoundMatches:mt,route:_t,error:He}}function Dt(Pe,He,We){if(y=Pe,b=He,v=We||null,!k&&B.navigation===RB){k=!0;let mt=vn(B.location,B.matches);mt!=null&&se({restoreScrollPosition:mt})}return()=>{y=null,b=null,v=null}}function St(Pe,He){return v&&v(Pe,He.map(mt=>VX(mt,B.loaderData)))||Pe.key}function An(Pe,He){if(y&&b){let We=St(Pe,He);y[We]=b()}}function vn(Pe,He){if(y){let We=St(Pe,He),mt=y[We];if(typeof mt=="number")return mt}return null}function tn(Pe,He,We){if(t.patchRoutesOnNavigation)if(Pe){if(Object.keys(Pe[0].params).length>0)return{active:!0,matches:Qy(He,We,c,!0)}}else return{active:!0,matches:Qy(He,We,c,!0)||[]};return{active:!1,matches:null}}async function jn(Pe,He,We,mt){if(!t.patchRoutesOnNavigation)return{type:"success",matches:Pe};let _t=Pe;for(;;){let Wt=l==null,Mt=l||s,lt=o;try{await t.patchRoutesOnNavigation({signal:We,path:He,matches:_t,fetcherKey:mt,patch:(Qt,Yt)=>{We.aborted||q$(Qt,Yt,Mt,lt,a,!1)}})}catch(Qt){return{type:"error",error:Qt,partialMatches:_t}}finally{Wt&&!We.aborted&&(s=[...s])}if(We.aborted)return{type:"aborted"};let Ft=zA(Mt,He,c),Lt=null;if(Ft){if(Object.keys(Ft[0].params).length===0)return{type:"success",matches:Ft};if(Lt=Qy(Mt,He,c,!0),!(Lt&&_t.length<Lt.length&&It(_t,Lt.slice(0,_t.length))))return{type:"success",matches:Ft}}if(Lt||(Lt=Qy(Mt,He,c,!0)),!Lt||It(_t,Lt))return{type:"success",matches:null};_t=Lt}}function It(Pe,He){return Pe.length===He.length&&Pe.every((We,mt)=>We.route.id===He[mt].route.id)}function _n(Pe){o={},l=Nk(Pe,a,void 0,o)}function Zi(Pe,He,We=!1){let mt=l==null;q$(Pe,He,l||s,o,a,We),mt&&(s=[...s],se({}))}return D={get basename(){return c},get future(){return f},get state(){return B},get routes(){return s},get window(){return e},initialize:ve,subscribe:ae,enableScrollRestoration:Dt,navigate:Me,fetch:me,revalidate:ge,createHref:Pe=>t.history.createHref(Pe),encodeLocation:Pe=>t.history.encodeLocation(Pe),getFetcher:Ae,resetFetcher:z,deleteFetcher:Ne,dispose:Se,getBlocker:xt,deleteBlocker:Ze,patchRoutes:Zi,_internalFetchControllers:X,_internalSetRoutes:_n,_internalSetStateDoNotUseOrYouWillBreakYourApp(Pe){se(Pe)}},t.unstable_instrumentations&&(D=tke(D,t.unstable_instrumentations.map(Pe=>Pe.router).filter(Boolean))),D}function Ake(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function NI(t,e,n,i,r,a){let o,s;if(r){o=[];for(let c of e)if(o.push(c),c.route.id===r){s=c;break}}else o=e,s=e[e.length-1];let l=wC(i||".",SC(o),wc(t.pathname,n)||t.pathname,a==="path");if(i==null&&(l.search=t.search,l.hash=t.hash),(i==null||i===""||i===".")&&s){let c=HR(l.search);if(s.route.index&&!c)l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index";else if(!s.route.index&&c){let d=new URLSearchParams(l.search),f=d.getAll("index");d.delete("index"),f.filter(m=>m).forEach(m=>d.append("index",m));let h=d.toString();l.search=h?`?${h}`:""}}return n!=="/"&&(l.pathname=Wye({basename:n,pathname:l.pathname})),_u(l)}function V$(t,e,n){if(!n||!Ake(n))return{path:e};if(n.formMethod&&!Dke(n.formMethod))return{path:e,error:Ac(405,{method:n.formMethod})};let i=()=>({path:e,error:Ac(400,{type:"invalid-body"})}),a=(n.formMethod||"get").toUpperCase(),o=cZ(e);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!is(a))return i();let f=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((h,[m,y])=>`${h}${m}=${y}
|
|
11
11
|
`,""):String(n.body);return{path:e,submission:{formMethod:a,formAction:o,formEncType:n.formEncType,formData:void 0,json:void 0,text:f}}}else if(n.formEncType==="application/json"){if(!is(a))return i();try{let f=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:e,submission:{formMethod:a,formAction:o,formEncType:n.formEncType,formData:void 0,json:f,text:void 0}}}catch{return i()}}}mi(typeof FormData=="function","FormData is not available in this environment");let s,l;if(n.formData)s=CI(n.formData),l=n.formData;else if(n.body instanceof FormData)s=CI(n.body),l=n.body;else if(n.body instanceof URLSearchParams)s=n.body,l=Z$(s);else if(n.body==null)s=new URLSearchParams,l=new FormData;else try{s=new URLSearchParams(n.body),l=Z$(s)}catch{return i()}let c={formMethod:a,formAction:o,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:l,json:void 0,text:void 0};if(is(c.formMethod))return{path:e,submission:c};let d=km(e);return t&&d.search&&HR(d.search)&&s.append("index",""),d.search=`?${s}`,{path:_u(d),submission:c}}function G$(t,e,n,i,r,a,o,s,l,c,d,f,h,m,y,v,b,k,w,x,F){let C=x?bl(x[1])?x[1].error:x[1].data:void 0,D=r.createURL(a.location),B=r.createURL(l),R;if(d&&a.errors){let le=Object.keys(a.errors)[0];R=o.findIndex(H=>H.route.id===le)}else if(x&&bl(x[1])){let le=x[0];R=o.findIndex(H=>H.route.id===le)-1}let O=x?x[1].statusCode:void 0,V=O&&O>=400,U={currentUrl:D,currentParams:a.matches[0]?.params||{},nextUrl:B,nextParams:o[0].params,...s,actionResult:C,actionStatus:O},P=fb(o),ee=o.map((le,H)=>{let{route:te}=le,X=null;if(R!=null&&H>R?X=!1:te.lazy?X=!0:jR(te)?d?X=xI(te,a.loaderData,a.errors):mke(a.loaderData,a.matches[H],le)&&(X=!0):X=!1,X!==null)return FI(n,i,t,P,le,c,e,X);let de=!1;typeof F=="boolean"?de=F:V?de=!1:(f||D.pathname+D.search===B.pathname+B.search||D.search!==B.search||hke(a.matches[H],le))&&(de=!0);let xe={...U,defaultShouldRevalidate:de},re=ok(le,xe);return FI(n,i,t,P,le,c,e,re,xe,F)}),K=[];return y.forEach((le,H)=>{if(d||!o.some($=>$.route.id===le.routeId)||m.has(H))return;let te=a.fetchers.get(H),X=te&&te.state!=="idle"&&te.data===void 0,de=zA(b,le.path,k);if(!de){if(w&&X)return;K.push({key:H,routeId:le.routeId,path:le.path,matches:null,match:null,request:null,controller:null});return}if(v.has(H))return;let xe=sN(de,le.path),re=new AbortController,L=Og(r,le.path,re.signal),j=null;if(h.has(H))h.delete(H),j=rv(n,i,L,de,xe,c,e);else if(X)f&&(j=rv(n,i,L,de,xe,c,e));else{let $;typeof F=="boolean"?$=F:V?$=!1:$=f;let Y={...U,defaultShouldRevalidate:$};ok(xe,Y)&&(j=rv(n,i,L,de,xe,c,e,Y))}j&&K.push({key:H,routeId:le.routeId,path:le.path,matches:j,match:xe,request:L,controller:re})}),{dsMatches:ee,revalidatingFetchers:K}}function jR(t){return t.loader!=null||t.middleware!=null&&t.middleware.length>0}function xI(t,e,n){if(t.lazy)return!0;if(!jR(t))return!1;let i=e!=null&&t.id in e,r=n!=null&&n[t.id]!==void 0;return!i&&r?!1:typeof t.loader=="function"&&t.loader.hydrate===!0?!0:!i&&!r}function mke(t,e,n){let i=!e||n.route.id!==e.route.id,r=!t.hasOwnProperty(n.route.id);return i||r}function hke(t,e){let n=t.route.path;return t.pathname!==e.pathname||n!=null&&n.endsWith("*")&&t.params["*"]!==e.params["*"]}function ok(t,e){if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate(e);if(typeof n=="boolean")return n}return e.defaultShouldRevalidate}function q$(t,e,n,i,r,a){let o;if(t){let c=i[t];mi(c,`No route found to patch children into: routeId = ${t}`),c.children||(c.children=[]),o=c.children}else o=n;let s=[],l=[];if(e.forEach(c=>{let d=o.find(f=>rZ(c,f));d?l.push({existingRoute:d,newRoute:c}):s.push(c)}),s.length>0){let c=Nk(s,r,[t||"_","patch",String(o?.length||"0")],i);o.push(...c)}if(a&&l.length>0)for(let c=0;c<l.length;c++){let{existingRoute:d,newRoute:f}=l[c],h=d,[m]=Nk([f],r,[],{},!0);Object.assign(h,{element:m.element?m.element:h.element,errorElement:m.errorElement?m.errorElement:h.errorElement,hydrateFallbackElement:m.hydrateFallbackElement?m.hydrateFallbackElement:h.hydrateFallbackElement})}}function rZ(t,e){return"id"in t&&"id"in e&&t.id===e.id?!0:t.index===e.index&&t.path===e.path&&t.caseSensitive===e.caseSensitive?(!t.children||t.children.length===0)&&(!e.children||e.children.length===0)?!0:t.children.every((n,i)=>e.children?.some(r=>rZ(n,r))):!1}var K$=new WeakMap,aZ=({key:t,route:e,manifest:n,mapRouteProperties:i})=>{let r=n[e.id];if(mi(r,"No route found in manifest"),!r.lazy||typeof r.lazy!="object")return;let a=r.lazy[t];if(!a)return;let o=K$.get(r);o||(o={},K$.set(r,o));let s=o[t];if(s)return s;let l=(async()=>{let c=Iye(t),f=r[t]!==void 0&&t!=="hasErrorBoundary";if(c)va(!c,"Route property "+t+" is not a supported lazy route property. This property will be ignored."),o[t]=Promise.resolve();else if(f)va(!1,`Route "${r.id}" has a static property "${t}" defined. The lazy property will be ignored.`);else{let h=await a();h!=null&&(Object.assign(r,{[t]:h}),Object.assign(r,i(r)))}typeof r.lazy=="object"&&(r.lazy[t]=void 0,Object.values(r.lazy).every(h=>h===void 0)&&(r.lazy=void 0))})();return o[t]=l,l},W$=new WeakMap;function pke(t,e,n,i,r){let a=n[t.id];if(mi(a,"No route found in manifest"),!t.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof t.lazy=="function"){let d=W$.get(a);if(d)return{lazyRoutePromise:d,lazyHandlerPromise:d};let f=(async()=>{mi(typeof t.lazy=="function","No lazy route function found");let h=await t.lazy(),m={};for(let y in h){let v=h[y];if(v===void 0)continue;let b=Rye(y),w=a[y]!==void 0&&y!=="hasErrorBoundary";b?va(!b,"Route property "+y+" is not a supported property to be returned from a lazy route function. This property will be ignored."):w?va(!w,`Route "${a.id}" has a static property "${y}" defined but its lazy function is also returning a value for this property. The lazy route property "${y}" will be ignored.`):m[y]=v}Object.assign(a,m),Object.assign(a,{...i(a),lazy:void 0})})();return W$.set(a,f),f.catch(()=>{}),{lazyRoutePromise:f,lazyHandlerPromise:f}}let o=Object.keys(t.lazy),s=[],l;for(let d of o){if(r&&r.includes(d))continue;let f=aZ({key:d,route:t,manifest:n,mapRouteProperties:i});f&&(s.push(f),d===e&&(l=f))}let c=s.length>0?Promise.all(s).then(()=>{}):void 0;return c?.catch(()=>{}),l?.catch(()=>{}),{lazyRoutePromise:c,lazyHandlerPromise:l}}async function Y$(t){let e=t.matches.filter(r=>r.shouldLoad),n={};return(await Promise.all(e.map(r=>r.resolve()))).forEach((r,a)=>{n[e[a].route.id]=r}),n}async function gke(t){return t.matches.some(e=>e.route.middleware)?oZ(t,()=>Y$(t)):Y$(t)}function oZ(t,e){return vke(t,e,i=>{if(Tke(i))throw i;return i},Cke,n);function n(i,r,a){if(a)return Promise.resolve(Object.assign(a.value,{[r]:{type:"error",result:i}}));{let{matches:o}=t,s=Math.min(Math.max(o.findIndex(c=>c.route.id===r),0),Math.max(o.findIndex(c=>c.shouldCallHandler()),0)),l=VA(o,o[s].route.id).route.id;return Promise.resolve({[l]:{type:"error",result:i}})}}}async function vke(t,e,n,i,r){let{matches:a,request:o,params:s,context:l,unstable_pattern:c}=t,d=a.flatMap(h=>h.route.middleware?h.route.middleware.map(m=>[h.route.id,m]):[]);return await sZ({request:o,params:s,context:l,unstable_pattern:c},d,e,n,i,r)}async function sZ(t,e,n,i,r,a,o=0){let{request:s}=t;if(s.signal.aborted)throw s.signal.reason??new Error(`Request aborted: ${s.method} ${s.url}`);let l=e[o];if(!l)return await n();let[c,d]=l,f,h=async()=>{if(f)throw new Error("You may only call `next()` once per middleware");try{return f={value:await sZ(t,e,n,i,r,a,o+1)},f.value}catch(m){return f={value:await a(m,c,f)},f.value}};try{let m=await d(t,h),y=m!=null?i(m):void 0;return r(y)?y:f?y??f.value:(f={value:await h()},f.value)}catch(m){return await a(m,c,f)}}function lZ(t,e,n,i,r){let a=aZ({key:"middleware",route:i.route,manifest:e,mapRouteProperties:t}),o=pke(i.route,is(n.method)?"action":"loader",e,t,r);return{middleware:a,route:o.lazyRoutePromise,handler:o.lazyHandlerPromise}}function FI(t,e,n,i,r,a,o,s,l=null,c){let d=!1,f=lZ(t,e,n,r,a);return{...r,_lazyPromises:f,shouldLoad:s,shouldRevalidateArgs:l,shouldCallHandler(h){return d=!0,l?typeof c=="boolean"?ok(r,{...l,defaultShouldRevalidate:c}):typeof h=="boolean"?ok(r,{...l,defaultShouldRevalidate:h}):ok(r,l):s},resolve(h){let{lazy:m,loader:y,middleware:v}=r.route,b=d||s||h&&!is(n.method)&&(m||y),k=v&&v.length>0&&!y&&!m;return b&&(is(n.method)||!k)?kke({request:n,unstable_pattern:i,match:r,lazyHandlerPromise:f?.handler,lazyRoutePromise:f?.route,handlerOverride:h,scopedContext:o}):Promise.resolve({type:"data",result:void 0})}}}function rv(t,e,n,i,r,a,o,s=null){return i.map(l=>l.route.id!==r.route.id?{...l,shouldLoad:!1,shouldRevalidateArgs:s,shouldCallHandler:()=>!1,_lazyPromises:lZ(t,e,n,l,a),resolve:()=>Promise.resolve({type:"data",result:void 0})}:FI(t,e,n,fb(i),l,a,o,!0,s))}async function yke(t,e,n,i,r,a){n.some(c=>c._lazyPromises?.middleware)&&await Promise.all(n.map(c=>c._lazyPromises?.middleware));let o={request:e,unstable_pattern:fb(n),params:n[0].params,context:r,matches:n},l=await t({...o,fetcherKey:i,runClientMiddleware:c=>{let d=o;return oZ(d,()=>c({...d,fetcherKey:i,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(n.flatMap(c=>[c._lazyPromises?.handler,c._lazyPromises?.route]))}catch{}return l}async function kke({request:t,unstable_pattern:e,match:n,lazyHandlerPromise:i,lazyRoutePromise:r,handlerOverride:a,scopedContext:o}){let s,l,c=is(t.method),d=c?"action":"loader",f=h=>{let m,y=new Promise((k,w)=>m=w);l=()=>m(),t.signal.addEventListener("abort",l);let v=k=>typeof h!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${d}" [routeId: ${n.route.id}]`)):h({request:t,unstable_pattern:e,params:n.params,context:o},...k!==void 0?[k]:[]),b=(async()=>{try{return{type:"data",result:await(a?a(w=>v(w)):v())}}catch(k){return{type:"error",result:k}}})();return Promise.race([b,y])};try{let h=c?n.route.action:n.route.loader;if(i||r)if(h){let m,[y]=await Promise.all([f(h).catch(v=>{m=v}),i,r]);if(m!==void 0)throw m;s=y}else{await i;let m=c?n.route.action:n.route.loader;if(m)[s]=await Promise.all([f(m),r]);else if(d==="action"){let y=new URL(t.url),v=y.pathname+y.search;throw Ac(405,{method:t.method,pathname:v,routeId:n.route.id})}else return{type:"data",result:void 0}}else if(h)s=await f(h);else{let m=new URL(t.url),y=m.pathname+m.search;throw Ac(404,{pathname:y})}}catch(h){return{type:"error",result:h}}finally{l&&t.signal.removeEventListener("abort",l)}return s}async function bke(t){let e=t.headers.get("Content-Type");return e&&/\bapplication\/json\b/.test(e)?t.body==null?null:t.json():t.text()}async function Ske(t){let{result:e,type:n}=t;if(QR(e)){let i;try{i=await bke(e)}catch(r){return{type:"error",error:r}}return n==="error"?{type:"error",error:new ub(e.status,e.statusText,i),statusCode:e.status,headers:e.headers}:{type:"data",data:i,statusCode:e.status,headers:e.headers}}return n==="error"?nj(e)?e.data instanceof Error?{type:"error",error:e.data,statusCode:e.init?.status,headers:e.init?.headers?new Headers(e.init.headers):void 0}:{type:"error",error:Fke(e),statusCode:Fv(e)?e.status:void 0,headers:e.init?.headers?new Headers(e.init.headers):void 0}:{type:"error",error:e,statusCode:Fv(e)?e.status:void 0}:nj(e)?{type:"data",data:e.data,statusCode:e.init?.status,headers:e.init?.headers?new Headers(e.init.headers):void 0}:{type:"data",data:e}}function wke(t,e,n,i,r){let a=t.headers.get("Location");if(mi(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!$R(a)){let o=i.slice(0,i.findIndex(s=>s.route.id===n)+1);a=NI(new URL(e.url),o,r,a),t.headers.set("Location",a)}return t}function X$(t,e,n,i){let r=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if($R(t)){let a=t,o=a.startsWith("//")?new URL(e.protocol+a):new URL(a);if(r.includes(o.protocol))throw new Error("Invalid redirect location");let s=wc(o.pathname,n)!=null;if(o.origin===e.origin&&s)return o.pathname+o.search+o.hash}try{let a=i.createURL(t);if(r.includes(a.protocol))throw new Error("Invalid redirect location")}catch{}return t}function Og(t,e,n,i){let r=t.createURL(cZ(e)).toString(),a={signal:n};if(i&&is(i.formMethod)){let{formMethod:o,formEncType:s}=i;a.method=o.toUpperCase(),s==="application/json"?(a.headers=new Headers({"Content-Type":s}),a.body=JSON.stringify(i.json)):s==="text/plain"?a.body=i.text:s==="application/x-www-form-urlencoded"&&i.formData?a.body=CI(i.formData):a.body=i.formData}return new Request(r,a)}function CI(t){let e=new URLSearchParams;for(let[n,i]of t.entries())e.append(n,typeof i=="string"?i:i.name);return e}function Z$(t){let e=new FormData;for(let[n,i]of t.entries())e.append(n,i);return e}function Nke(t,e,n,i=!1,r=!1){let a={},o=null,s,l=!1,c={},d=n&&bl(n[1])?n[1].error:void 0;return t.forEach(f=>{if(!(f.route.id in e))return;let h=f.route.id,m=e[h];if(mi(!gh(m),"Cannot handle redirect results in processLoaderData"),bl(m)){let y=m.error;if(d!==void 0&&(y=d,d=void 0),o=o||{},r)o[h]=y;else{let v=VA(t,h);o[v.route.id]==null&&(o[v.route.id]=y)}i||(a[h]=iZ),l||(l=!0,s=Fv(m.error)?m.error.status:500),m.headers&&(c[h]=m.headers)}else a[h]=m.data,m.statusCode&&m.statusCode!==200&&!l&&(s=m.statusCode),m.headers&&(c[h]=m.headers)}),d!==void 0&&n&&(o={[n[0]]:d},n[2]&&(a[n[2]]=void 0)),{loaderData:a,errors:o,statusCode:s||200,loaderHeaders:c}}function J$(t,e,n,i,r,a){let{loaderData:o,errors:s}=Nke(e,n,i);return r.filter(l=>!l.matches||l.matches.some(c=>c.shouldLoad)).forEach(l=>{let{key:c,match:d,controller:f}=l;if(f&&f.signal.aborted)return;let h=a[c];if(mi(h,"Did not find corresponding fetcher result"),bl(h)){let m=VA(t.matches,d?.route.id);s&&s[m.route.id]||(s={...s,[m.route.id]:h.error}),t.fetchers.delete(c)}else if(gh(h))mi(!1,"Unhandled fetcher revalidation redirect");else{let m=_f(h.data);t.fetchers.set(c,m)}}),{loaderData:o,errors:s}}function ej(t,e,n,i){let r=Object.entries(e).filter(([,a])=>a!==iZ).reduce((a,[o,s])=>(a[o]=s,a),{});for(let a of n){let o=a.route.id;if(!e.hasOwnProperty(o)&&t.hasOwnProperty(o)&&a.route.loader&&(r[o]=t[o]),i&&i.hasOwnProperty(o))break}return r}function tj(t){return t?bl(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function VA(t,e){return(e?t.slice(0,t.findIndex(i=>i.route.id===e)+1):[...t]).reverse().find(i=>i.route.hasErrorBoundary===!0)||t[0]}function yS(t){let e=t.length===1?t[0]:t.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:e}],route:e}}function Ac(t,{pathname:e,routeId:n,method:i,type:r,message:a}={}){let o="Unknown Server Error",s="Unknown @remix-run/router error";return t===400?(o="Bad Request",i&&e&&n?s=`You made a ${i} request to "${e}" but did not provide a \`loader\` for route "${n}", so there is no way to handle the request.`:r==="invalid-body"&&(s="Unable to encode submission body")):t===403?(o="Forbidden",s=`Route "${n}" does not match URL "${e}"`):t===404?(o="Not Found",s=`No route matches URL "${e}"`):t===405&&(o="Method Not Allowed",i&&e&&n?s=`You made a ${i.toUpperCase()} request to "${e}" but did not provide an \`action\` for route "${n}", so there is no way to handle the request.`:i&&(s=`Invalid request method "${i.toUpperCase()}"`)),new ub(t||500,o,new Error(s),!0)}function kS(t){let e=Object.entries(t);for(let n=e.length-1;n>=0;n--){let[i,r]=e[n];if(gh(r))return{key:i,result:r}}}function cZ(t){let e=typeof t=="string"?km(t):t;return _u({...e,hash:""})}function xke(t,e){return t.pathname!==e.pathname||t.search!==e.search?!1:t.hash===""?e.hash!=="":t.hash===e.hash?!0:e.hash!==""}function Fke(t){return new ub(t.init?.status??500,t.init?.statusText??"Internal Server Error",t.data)}function Cke(t){return t!=null&&typeof t=="object"&&Object.entries(t).every(([e,n])=>typeof e=="string"&&_ke(n))}function _ke(t){return t!=null&&typeof t=="object"&&"type"in t&&"result"in t&&(t.type==="data"||t.type==="error")}function Eke(t){return QR(t.result)&&tZ.has(t.result.status)}function bl(t){return t.type==="error"}function gh(t){return(t&&t.type)==="redirect"}function nj(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function QR(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function Bke(t){return tZ.has(t)}function Tke(t){return QR(t)&&Bke(t.status)&&t.headers.has("Location")}function Dke(t){return lke.has(t.toUpperCase())}function is(t){return oke.has(t.toUpperCase())}function HR(t){return new URLSearchParams(t).getAll("index").some(e=>e==="")}function sN(t,e){let n=typeof e=="string"?km(e).search:e.search;if(t[t.length-1].route.index&&HR(n||""))return t[t.length-1];let i=WX(t);return i[i.length-1]}function ij(t){let{formMethod:e,formAction:n,formEncType:i,text:r,formData:a,json:o}=t;if(!(!e||!n||!i)){if(r!=null)return{formMethod:e,formAction:n,formEncType:i,formData:void 0,json:void 0,text:r};if(a!=null)return{formMethod:e,formAction:n,formEncType:i,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:e,formAction:n,formEncType:i,formData:void 0,json:o,text:void 0}}}function PB(t,e){return e?{state:"loading",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Ike(t,e){return{state:"submitting",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}}function ay(t,e){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Oke(t,e){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e?e.data:void 0}}function _f(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Rke(t,e){try{let n=t.sessionStorage.getItem(nZ);if(n){let i=JSON.parse(n);for(let[r,a]of Object.entries(i||{}))a&&Array.isArray(a)&&e.set(r,new Set(a||[]))}}catch{}}function Pke(t,e){if(e.size>0){let n={};for(let[i,r]of e)n[i]=[...r];try{t.sessionStorage.setItem(nZ,JSON.stringify(n))}catch(i){va(!1,`Failed to save applied view transitions in sessionStorage (${i}).`)}}}function rj(){let t,e,n=new Promise((i,r)=>{t=async a=>{i(a);try{await n}catch{}},e=async a=>{r(a);try{await n}catch{}}});return{promise:n,resolve:t,reject:e}}var Jh=N.createContext(null);Jh.displayName="DataRouter";var Ab=N.createContext(null);Ab.displayName="DataRouterState";var dZ=N.createContext(!1);function Lke(){return N.useContext(dZ)}var zR=N.createContext({isTransitioning:!1});zR.displayName="ViewTransition";var uZ=N.createContext(new Map);uZ.displayName="Fetchers";var Uke=N.createContext(null);Uke.displayName="Await";var Ul=N.createContext(null);Ul.displayName="Navigation";var NC=N.createContext(null);NC.displayName="Location";var _c=N.createContext({outlet:null,matches:[],isDataRoute:!1});_c.displayName="Route";var VR=N.createContext(null);VR.displayName="RouteError";var fZ="REACT_ROUTER_ERROR",Mke="REDIRECT",$ke="ROUTE_ERROR_RESPONSE";function jke(t){if(t.startsWith(`${fZ}:${Mke}:{`))try{let e=JSON.parse(t.slice(28));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.location=="string"&&typeof e.reloadDocument=="boolean"&&typeof e.replace=="boolean")return e}catch{}}function Qke(t){if(t.startsWith(`${fZ}:${$ke}:{`))try{let e=JSON.parse(t.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new ub(e.status,e.statusText,e.data)}catch{}}function Hke(t,{relative:e}={}){mi(Zv(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:i}=N.useContext(Ul),{hash:r,pathname:a,search:o}=Jv(t,{relative:e}),s=a;return n!=="/"&&(s=a==="/"?n:Nu([n,a])),i.createHref({pathname:s,search:o,hash:r})}function Zv(){return N.useContext(NC)!=null}function Gf(){return mi(Zv(),"useLocation() may be used only in the context of a <Router> component."),N.useContext(NC).location}var AZ="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function mZ(t){N.useContext(Ul).static||N.useLayoutEffect(t)}function mb(){let{isDataRoute:t}=N.useContext(_c);return t?ibe():zke()}function zke(){mi(Zv(),"useNavigate() may be used only in the context of a <Router> component.");let t=N.useContext(Jh),{basename:e,navigator:n}=N.useContext(Ul),{matches:i}=N.useContext(_c),{pathname:r}=Gf(),a=JSON.stringify(SC(i)),o=N.useRef(!1);return mZ(()=>{o.current=!0}),N.useCallback((l,c={})=>{if(va(o.current,AZ),!o.current)return;if(typeof l=="number"){n.go(l);return}let d=wC(l,JSON.parse(a),r,c.relative==="path");t==null&&e!=="/"&&(d.pathname=d.pathname==="/"?e:Nu([e,d.pathname])),(c.replace?n.replace:n.push)(d,c.state,c)},[e,n,a,r,t])}var Vke=N.createContext(null);function Gke(t){let e=N.useContext(_c).outlet;return N.useMemo(()=>e&&N.createElement(Vke.Provider,{value:t},e),[e,t])}function VAt(){let{matches:t}=N.useContext(_c),e=t[t.length-1];return e?e.params:{}}function Jv(t,{relative:e}={}){let{matches:n}=N.useContext(_c),{pathname:i}=Gf(),r=JSON.stringify(SC(n));return N.useMemo(()=>wC(t,JSON.parse(r),i,e==="path"),[t,r,i,e])}function qke(t,e,n,i,r){mi(Zv(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=N.useContext(Ul),{matches:o}=N.useContext(_c),s=o[o.length-1],l=s?s.params:{},c=s?s.pathname:"/",d=s?s.pathnameBase:"/",f=s&&s.route;{let w=f&&f.path||"";vZ(c,!f||w.endsWith("*")||w.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${w}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
12
12
|
|
|
13
13
|
Please change the parent <Route path="${w}"> to <Route path="${w==="/"?"*":`${w}/*`}">.`)}let h=Gf(),m;m=h;let y=m.pathname||"/",v=y;if(d!=="/"){let w=d.replace(/^\//,"").split("/");v="/"+y.replace(/^\//,"").split("/").slice(w.length).join("/")}let b=zA(t,{pathname:v});return va(f||b!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),va(b==null||b[b.length-1].route.element!==void 0||b[b.length-1].route.Component!==void 0||b[b.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),Zke(b&&b.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:Nu([d,a.encodeLocation?a.encodeLocation(w.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?d:Nu([d,a.encodeLocation?a.encodeLocation(w.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathnameBase])})),o,n,i,r)}function Kke(){let t=gZ(),e=Fv(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,i="rgba(200,200,200, 0.5)",r={padding:"0.5rem",backgroundColor:i},a={padding:"2px 4px",backgroundColor:i},o=null;return console.error("Error handled by React Router default ErrorBoundary:",t),o=N.createElement(N.Fragment,null,N.createElement("p",null,"💿 Hey developer 👋"),N.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",N.createElement("code",{style:a},"ErrorBoundary")," or"," ",N.createElement("code",{style:a},"errorElement")," prop on your route.")),N.createElement(N.Fragment,null,N.createElement("h2",null,"Unexpected Application Error!"),N.createElement("h3",{style:{fontStyle:"italic"}},e),n?N.createElement("pre",{style:r},n):null,o)}var Wke=N.createElement(Kke,null),hZ=class extends N.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.onError?this.props.onError(t,e):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const n=Qke(t.digest);n&&(t=n)}let e=t!==void 0?N.createElement(_c.Provider,{value:this.props.routeContext},N.createElement(VR.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?N.createElement(Yke,{error:t},e):e}};hZ.contextType=dZ;var LB=new WeakMap;function Yke({children:t,error:e}){let{basename:n}=N.useContext(Ul);if(typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){let i=jke(e.digest);if(i){let r=LB.get(e);if(r)throw r;let a=ZX(i.location,n);if(XX&&!LB.get(e))if(a.isExternal||i.reloadDocument)window.location.href=a.absoluteURL||a.to;else{const o=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:i.replace}));throw LB.set(e,o),o}return N.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a.absoluteURL||a.to}`})}}return t}function Xke({routeContext:t,match:e,children:n}){let i=N.useContext(Jh);return i&&i.static&&i.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=e.route.id),N.createElement(_c.Provider,{value:t},n)}function Zke(t,e=[],n=null,i=null,r=null){if(t==null){if(!n)return null;if(n.errors)t=n.matches;else if(e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let a=t,o=n?.errors;if(o!=null){let d=a.findIndex(f=>f.route.id&&o?.[f.route.id]!==void 0);mi(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),a=a.slice(0,Math.min(a.length,d+1))}let s=!1,l=-1;if(n)for(let d=0;d<a.length;d++){let f=a[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(l=d),f.route.id){let{loaderData:h,errors:m}=n,y=f.route.loader&&!h.hasOwnProperty(f.route.id)&&(!m||m[f.route.id]===void 0);if(f.route.lazy||y){s=!0,l>=0?a=a.slice(0,l+1):a=[a[0]];break}}}let c=n&&i?(d,f)=>{i(d,{location:n.location,params:n.matches?.[0]?.params??{},unstable_pattern:fb(n.matches),errorInfo:f})}:void 0;return a.reduceRight((d,f,h)=>{let m,y=!1,v=null,b=null;n&&(m=o&&f.route.id?o[f.route.id]:void 0,v=f.route.errorElement||Wke,s&&(l<0&&h===0?(vZ("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,b=null):l===h&&(y=!0,b=f.route.hydrateFallbackElement||null)));let k=e.concat(a.slice(0,h+1)),w=()=>{let x;return m?x=v:y?x=b:f.route.Component?x=N.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=d,N.createElement(Xke,{match:f,routeContext:{outlet:d,matches:k,isDataRoute:n!=null},children:x})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?N.createElement(hZ,{location:n.location,revalidation:n.revalidation,component:v,error:m,children:w(),routeContext:{outlet:null,matches:k,isDataRoute:!0},onError:c}):w()},null)}function GR(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Jke(t){let e=N.useContext(Jh);return mi(e,GR(t)),e}function xC(t){let e=N.useContext(Ab);return mi(e,GR(t)),e}function ebe(t){let e=N.useContext(_c);return mi(e,GR(t)),e}function FC(t){let e=ebe(t),n=e.matches[e.matches.length-1];return mi(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function tbe(){return FC("useRouteId")}function nbe(){return xC("useNavigation").navigation}function pZ(){let{matches:t,loaderData:e}=xC("useMatches");return N.useMemo(()=>t.map(n=>VX(n,e)),[t,e])}function GAt(){let t=xC("useLoaderData"),e=FC("useLoaderData");return t.loaderData[e]}function gZ(){let t=N.useContext(VR),e=xC("useRouteError"),n=FC("useRouteError");return t!==void 0?t:e.errors?.[n]}function ibe(){let{router:t}=Jke("useNavigate"),e=FC("useNavigate"),n=N.useRef(!1);return mZ(()=>{n.current=!0}),N.useCallback(async(r,a={})=>{va(n.current,AZ),n.current&&(typeof r=="number"?await t.navigate(r):await t.navigate(r,{fromRouteId:e,...a}))},[t,e])}var aj={};function vZ(t,e,n){!e&&!aj[t]&&(aj[t]=!0,va(!1,n))}var oj={};function sj(t,e){!t&&!oj[e]&&(oj[e]=!0,console.warn(e))}var rbe="useOptimistic",lj=Mf[rbe],abe=()=>{};function obe(t){return lj?lj(t):[t,abe]}function sbe(t){let e={hasErrorBoundary:t.hasErrorBoundary||t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&(t.element&&va(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(e,{element:N.createElement(t.Component),Component:void 0})),t.HydrateFallback&&(t.hydrateFallbackElement&&va(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(e,{hydrateFallbackElement:N.createElement(t.HydrateFallback),HydrateFallback:void 0})),t.ErrorBoundary&&(t.errorElement&&va(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(e,{errorElement:N.createElement(t.ErrorBoundary),ErrorBoundary:void 0})),e}var lbe=["HydrateFallback","hydrateFallbackElement"],cbe=class{constructor(){this.status="pending",this.promise=new Promise((t,e)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",t(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",e(n))}})}};function dbe({router:t,flushSync:e,onError:n,unstable_useTransitions:i}){i=Lke()||i;let[a,o]=N.useState(t.state),[s,l]=obe(a),[c,d]=N.useState(),[f,h]=N.useState({isTransitioning:!1}),[m,y]=N.useState(),[v,b]=N.useState(),[k,w]=N.useState(),x=N.useRef(new Map),F=N.useCallback((R,{deletedFetchers:O,newErrors:V,flushSync:U,viewTransitionOpts:P})=>{V&&n&&Object.values(V).forEach(K=>n(K,{location:R.location,params:R.matches[0]?.params??{},unstable_pattern:fb(R.matches)})),R.fetchers.forEach((K,le)=>{K.data!==void 0&&x.current.set(le,K.data)}),O.forEach(K=>x.current.delete(K)),sj(U===!1||e!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let ee=t.window!=null&&t.window.document!=null&&typeof t.window.document.startViewTransition=="function";if(sj(P==null||ee,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!P||!ee){e&&U?e(()=>o(R)):i===!1?o(R):N.startTransition(()=>{i===!0&&l(K=>cj(K,R)),o(R)});return}if(e&&U){e(()=>{v&&(m?.resolve(),v.skipTransition()),h({isTransitioning:!0,flushSync:!0,currentLocation:P.currentLocation,nextLocation:P.nextLocation})});let K=t.window.document.startViewTransition(()=>{e(()=>o(R))});K.finished.finally(()=>{e(()=>{y(void 0),b(void 0),d(void 0),h({isTransitioning:!1})})}),e(()=>b(K));return}v?(m?.resolve(),v.skipTransition(),w({state:R,currentLocation:P.currentLocation,nextLocation:P.nextLocation})):(d(R),h({isTransitioning:!0,flushSync:!1,currentLocation:P.currentLocation,nextLocation:P.nextLocation}))},[t.window,e,v,m,i,l,n]);N.useLayoutEffect(()=>t.subscribe(F),[t,F]),N.useEffect(()=>{f.isTransitioning&&!f.flushSync&&y(new cbe)},[f]),N.useEffect(()=>{if(m&&c&&t.window){let R=c,O=m.promise,V=t.window.document.startViewTransition(async()=>{i===!1?o(R):N.startTransition(()=>{i===!0&&l(U=>cj(U,R)),o(R)}),await O});V.finished.finally(()=>{y(void 0),b(void 0),d(void 0),h({isTransitioning:!1})}),b(V)}},[c,m,t.window,i,l]),N.useEffect(()=>{m&&c&&s.location.key===c.location.key&&m.resolve()},[m,v,s.location,c]),N.useEffect(()=>{!f.isTransitioning&&k&&(d(k.state),h({isTransitioning:!0,flushSync:!1,currentLocation:k.currentLocation,nextLocation:k.nextLocation}),w(void 0))},[f.isTransitioning,k]);let C=N.useMemo(()=>({createHref:t.createHref,encodeLocation:t.encodeLocation,go:R=>t.navigate(R),push:(R,O,V)=>t.navigate(R,{state:O,preventScrollReset:V?.preventScrollReset}),replace:(R,O,V)=>t.navigate(R,{replace:!0,state:O,preventScrollReset:V?.preventScrollReset})}),[t]),D=t.basename||"/",B=N.useMemo(()=>({router:t,navigator:C,static:!1,basename:D,onError:n}),[t,C,D,n]);return N.createElement(N.Fragment,null,N.createElement(Jh.Provider,{value:B},N.createElement(Ab.Provider,{value:s},N.createElement(uZ.Provider,{value:x.current},N.createElement(zR.Provider,{value:f},N.createElement(mbe,{basename:D,location:s.location,navigationType:s.historyAction,navigator:C,unstable_useTransitions:i},N.createElement(ube,{routes:t.routes,future:t.future,state:s,onError:n})))))),null)}function cj(t,e){return{...t,navigation:e.navigation.state!=="idle"?e.navigation:t.navigation,revalidation:e.revalidation!=="idle"?e.revalidation:t.revalidation,actionData:e.navigation.state!=="submitting"?e.actionData:t.actionData,fetchers:e.fetchers}}var ube=N.memo(fbe);function fbe({routes:t,future:e,state:n,onError:i}){return qke(t,void 0,n,i,e)}function Abe({to:t,replace:e,state:n,relative:i}){mi(Zv(),"<Navigate> may be used only in the context of a <Router> component.");let{static:r}=N.useContext(Ul);va(!r,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=N.useContext(_c),{pathname:o}=Gf(),s=mb(),l=wC(t,SC(a),o,i==="path"),c=JSON.stringify(l);return N.useEffect(()=>{s(JSON.parse(c),{replace:e,state:n,relative:i})},[s,c,i,e,n]),null}function yZ(t){return Gke(t.context)}function mbe({basename:t="/",children:e=null,location:n,navigationType:i="POP",navigator:r,static:a=!1,unstable_useTransitions:o}){mi(!Zv(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=t.replace(/^\/*/,"/"),l=N.useMemo(()=>({basename:s,navigator:r,static:a,unstable_useTransitions:o,future:{}}),[s,r,a,o]);typeof n=="string"&&(n=km(n));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:m="default"}=n,y=N.useMemo(()=>{let v=wc(c,s);return v==null?null:{location:{pathname:v,search:d,hash:f,state:h,key:m},navigationType:i}},[s,c,d,f,h,m,i]);return va(y!=null,`<Router basename="${s}"> is not able to match the URL "${c}${d}${f}" because it does not start with the basename, so the <Router> won't render anything.`),y==null?null:N.createElement(Ul.Provider,{value:l},N.createElement(NC.Provider,{children:e,value:y}))}var lN="get",cN="application/x-www-form-urlencoded";function CC(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function hbe(t){return CC(t)&&t.tagName.toLowerCase()==="button"}function pbe(t){return CC(t)&&t.tagName.toLowerCase()==="form"}function gbe(t){return CC(t)&&t.tagName.toLowerCase()==="input"}function vbe(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function ybe(t,e){return t.button===0&&(!e||e==="_self")&&!vbe(t)}function _I(t=""){return new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,n)=>{let i=t[n];return e.concat(Array.isArray(i)?i.map(r=>[n,r]):[[n,i]])},[]))}function kbe(t,e){let n=_I(t);return e&&e.forEach((i,r)=>{n.has(r)||e.getAll(r).forEach(a=>{n.append(r,a)})}),n}var bS=null;function bbe(){if(bS===null)try{new FormData(document.createElement("form"),0),bS=!1}catch{bS=!0}return bS}var Sbe=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function UB(t){return t!=null&&!Sbe.has(t)?(va(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${cN}"`),null):t}function wbe(t,e){let n,i,r,a,o;if(pbe(t)){let s=t.getAttribute("action");i=s?wc(s,e):null,n=t.getAttribute("method")||lN,r=UB(t.getAttribute("enctype"))||cN,a=new FormData(t)}else if(hbe(t)||gbe(t)&&(t.type==="submit"||t.type==="image")){let s=t.form;if(s==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=t.getAttribute("formaction")||s.getAttribute("action");if(i=l?wc(l,e):null,n=t.getAttribute("formmethod")||s.getAttribute("method")||lN,r=UB(t.getAttribute("formenctype"))||UB(s.getAttribute("enctype"))||cN,a=new FormData(s,t),!bbe()){let{name:c,type:d,value:f}=t;if(d==="image"){let h=c?`${c}.`:"";a.append(`${h}x`,"0"),a.append(`${h}y`,"0")}else c&&a.append(c,f)}}else{if(CC(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=lN,i=null,r=cN,o=t}return a&&r==="text/plain"&&(o=a,a=void 0),{action:i,method:n.toLowerCase(),encType:r,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function qR(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function Nbe(t,e,n,i){let r=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return n?r.pathname.endsWith("/")?r.pathname=`${r.pathname}_.${i}`:r.pathname=`${r.pathname}.${i}`:r.pathname==="/"?r.pathname=`_root.${i}`:e&&wc(r.pathname,e)==="/"?r.pathname=`${e.replace(/\/$/,"")}/_root.${i}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${i}`,r}async function xbe(t,e){if(t.id in e)return e[t.id];try{let n=await import(t.module);return e[t.id]=n,n}catch(n){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Fbe(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function Cbe(t,e,n){let i=await Promise.all(t.map(async r=>{let a=e.routes[r.route.id];if(a){let o=await xbe(a,n);return o.links?o.links():[]}return[]}));return Tbe(i.flat(1).filter(Fbe).filter(r=>r.rel==="stylesheet"||r.rel==="preload").map(r=>r.rel==="stylesheet"?{...r,rel:"prefetch",as:"style"}:{...r,rel:"prefetch"}))}function dj(t,e,n,i,r,a){let o=(l,c)=>n[c]?l.route.id!==n[c].route.id:!0,s=(l,c)=>n[c].pathname!==l.pathname||n[c].route.path?.endsWith("*")&&n[c].params["*"]!==l.params["*"];return a==="assets"?e.filter((l,c)=>o(l,c)||s(l,c)):a==="data"?e.filter((l,c)=>{let d=i.routes[l.route.id];if(!d||!d.hasLoader)return!1;if(o(l,c)||s(l,c))return!0;if(l.route.shouldRevalidate){let f=l.route.shouldRevalidate({currentUrl:new URL(r.pathname+r.search+r.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:l.params,defaultShouldRevalidate:!0});if(typeof f=="boolean")return f}return!0}):[]}function _be(t,e,{includeHydrateFallback:n}={}){return Ebe(t.map(i=>{let r=e.routes[i.route.id];if(!r)return[];let a=[r.module];return r.clientActionModule&&(a=a.concat(r.clientActionModule)),r.clientLoaderModule&&(a=a.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(a=a.concat(r.hydrateFallbackModule)),r.imports&&(a=a.concat(r.imports)),a}).flat(1))}function Ebe(t){return[...new Set(t)]}function Bbe(t){let e={},n=Object.keys(t).sort();for(let i of n)e[i]=t[i];return e}function Tbe(t,e){let n=new Set;return new Set(e),t.reduce((i,r)=>{let a=JSON.stringify(Bbe(r));return n.has(a)||(n.add(a),i.push({key:a,link:r})),i},[])}function kZ(){let t=N.useContext(Jh);return qR(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function Dbe(){let t=N.useContext(Ab);return qR(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var KR=N.createContext(void 0);KR.displayName="FrameworkContext";function bZ(){let t=N.useContext(KR);return qR(t,"You must render this element inside a <HydratedRouter> element"),t}function Ibe(t,e){let n=N.useContext(KR),[i,r]=N.useState(!1),[a,o]=N.useState(!1),{onFocus:s,onBlur:l,onMouseEnter:c,onMouseLeave:d,onTouchStart:f}=e,h=N.useRef(null);N.useEffect(()=>{if(t==="render"&&o(!0),t==="viewport"){let v=k=>{k.forEach(w=>{o(w.isIntersecting)})},b=new IntersectionObserver(v,{threshold:.5});return h.current&&b.observe(h.current),()=>{b.disconnect()}}},[t]),N.useEffect(()=>{if(i){let v=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(v)}}},[i]);let m=()=>{r(!0)},y=()=>{r(!1),o(!1)};return n?t!=="intent"?[a,h,{}]:[a,h,{onFocus:oy(s,m),onBlur:oy(l,y),onMouseEnter:oy(c,m),onMouseLeave:oy(d,y),onTouchStart:oy(f,m)}]:[!1,h,{}]}function oy(t,e){return n=>{t&&t(n),n.defaultPrevented||e(n)}}function Obe({page:t,...e}){let{router:n}=kZ(),i=N.useMemo(()=>zA(n.routes,t,n.basename),[n.routes,t,n.basename]);return i?N.createElement(Pbe,{page:t,matches:i,...e}):null}function Rbe(t){let{manifest:e,routeModules:n}=bZ(),[i,r]=N.useState([]);return N.useEffect(()=>{let a=!1;return Cbe(t,e,n).then(o=>{a||r(o)}),()=>{a=!0}},[t,e,n]),i}function Pbe({page:t,matches:e,...n}){let i=Gf(),{future:r,manifest:a,routeModules:o}=bZ(),{basename:s}=kZ(),{loaderData:l,matches:c}=Dbe(),d=N.useMemo(()=>dj(t,e,c,a,i,"data"),[t,e,c,a,i]),f=N.useMemo(()=>dj(t,e,c,a,i,"assets"),[t,e,c,a,i]),h=N.useMemo(()=>{if(t===i.pathname+i.search+i.hash)return[];let v=new Set,b=!1;if(e.forEach(w=>{let x=a.routes[w.route.id];!x||!x.hasLoader||(!d.some(F=>F.route.id===w.route.id)&&w.route.id in l&&o[w.route.id]?.shouldRevalidate||x.hasClientLoader?b=!0:v.add(w.route.id))}),v.size===0)return[];let k=Nbe(t,s,r.unstable_trailingSlashAwareDataRequests,"data");return b&&v.size>0&&k.searchParams.set("_routes",e.filter(w=>v.has(w.route.id)).map(w=>w.route.id).join(",")),[k.pathname+k.search]},[s,r.unstable_trailingSlashAwareDataRequests,l,i,a,d,e,t,o]),m=N.useMemo(()=>_be(f,a),[f,a]),y=Rbe(f);return N.createElement(N.Fragment,null,h.map(v=>N.createElement("link",{key:v,rel:"prefetch",as:"fetch",href:v,...n})),m.map(v=>N.createElement("link",{key:v,rel:"modulepreload",href:v,...n})),y.map(({key:v,link:b})=>N.createElement("link",{key:v,nonce:n.nonce,...b,crossOrigin:b.crossOrigin??n.crossOrigin})))}function Lbe(...t){return e=>{t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}}var Ube=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Ube&&(window.__reactRouterVersion="7.13.0")}catch{}function Mbe(t,e){return fke({basename:e?.basename,getContext:e?.getContext,future:e?.future,history:Eye({window:e?.window}),hydrationData:$be(),routes:t,mapRouteProperties:sbe,hydrationRouteProperties:lbe,dataStrategy:e?.dataStrategy,patchRoutesOnNavigation:e?.patchRoutesOnNavigation,window:e?.window,unstable_instrumentations:e?.unstable_instrumentations}).initialize()}function $be(){let t=window?.__staticRouterHydrationData;return t&&t.errors&&(t={...t,errors:jbe(t.errors)}),t}function jbe(t){if(!t)return null;let e=Object.entries(t),n={};for(let[i,r]of e)if(r&&r.__type==="RouteErrorResponse")n[i]=new ub(r.status,r.statusText,r.data,r.internal===!0);else if(r&&r.__type==="Error"){if(r.__subType){let a=window[r.__subType];if(typeof a=="function")try{let o=new a(r.message);o.stack="",n[i]=o}catch{}}if(n[i]==null){let a=new Error(r.message);a.stack="",n[i]=a}}else n[i]=r;return n}var SZ=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,so=N.forwardRef(function({onClick:e,discover:n="render",prefetch:i="none",relative:r,reloadDocument:a,replace:o,state:s,target:l,to:c,preventScrollReset:d,viewTransition:f,unstable_defaultShouldRevalidate:h,...m},y){let{basename:v,unstable_useTransitions:b}=N.useContext(Ul),k=typeof c=="string"&&SZ.test(c),w=ZX(c,v);c=w.to;let x=Hke(c,{relative:r}),[F,C,D]=Ibe(i,m),B=Vbe(c,{replace:o,state:s,target:l,preventScrollReset:d,relative:r,viewTransition:f,unstable_defaultShouldRevalidate:h,unstable_useTransitions:b});function R(V){e&&e(V),V.defaultPrevented||B(V)}let O=N.createElement("a",{...m,...D,href:w.absoluteURL||x,onClick:w.isExternal||a?e:R,ref:Lbe(y,C),target:l,"data-discover":!k&&n==="render"?"true":void 0});return F&&!k?N.createElement(N.Fragment,null,O,N.createElement(Obe,{page:x})):O});so.displayName="Link";var Qbe=N.forwardRef(function({"aria-current":e="page",caseSensitive:n=!1,className:i="",end:r=!1,style:a,to:o,viewTransition:s,children:l,...c},d){let f=Jv(o,{relative:c.relative}),h=Gf(),m=N.useContext(Ab),{navigator:y,basename:v}=N.useContext(Ul),b=m!=null&&Ybe(f)&&s===!0,k=y.encodeLocation?y.encodeLocation(f).pathname:f.pathname,w=h.pathname,x=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;n||(w=w.toLowerCase(),x=x?x.toLowerCase():null,k=k.toLowerCase()),x&&v&&(x=wc(x,v)||x);const F=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let C=w===k||!r&&w.startsWith(k)&&w.charAt(F)==="/",D=x!=null&&(x===k||!r&&x.startsWith(k)&&x.charAt(k.length)==="/"),B={isActive:C,isPending:D,isTransitioning:b},R=C?e:void 0,O;typeof i=="function"?O=i(B):O=[i,C?"active":null,D?"pending":null,b?"transitioning":null].filter(Boolean).join(" ");let V=typeof a=="function"?a(B):a;return N.createElement(so,{...c,"aria-current":R,className:O,ref:d,style:V,to:o,viewTransition:s},typeof l=="function"?l(B):l)});Qbe.displayName="NavLink";var Hbe=N.forwardRef(({discover:t="render",fetcherKey:e,navigate:n,reloadDocument:i,replace:r,state:a,method:o=lN,action:s,onSubmit:l,relative:c,preventScrollReset:d,viewTransition:f,unstable_defaultShouldRevalidate:h,...m},y)=>{let{unstable_useTransitions:v}=N.useContext(Ul),b=Kbe(),k=Wbe(s,{relative:c}),w=o.toLowerCase()==="get"?"get":"post",x=typeof s=="string"&&SZ.test(s),F=C=>{if(l&&l(C),C.defaultPrevented)return;C.preventDefault();let D=C.nativeEvent.submitter,B=D?.getAttribute("formmethod")||o,R=()=>b(D||C.currentTarget,{fetcherKey:e,method:B,navigate:n,replace:r,state:a,relative:c,preventScrollReset:d,viewTransition:f,unstable_defaultShouldRevalidate:h});v&&n!==!1?N.startTransition(()=>R()):R()};return N.createElement("form",{ref:y,method:w,action:k,onSubmit:i?l:F,...m,"data-discover":!x&&t==="render"?"true":void 0})});Hbe.displayName="Form";function zbe(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function wZ(t){let e=N.useContext(Jh);return mi(e,zbe(t)),e}function Vbe(t,{target:e,replace:n,state:i,preventScrollReset:r,relative:a,viewTransition:o,unstable_defaultShouldRevalidate:s,unstable_useTransitions:l}={}){let c=mb(),d=Gf(),f=Jv(t,{relative:a});return N.useCallback(h=>{if(ybe(h,e)){h.preventDefault();let m=n!==void 0?n:_u(d)===_u(f),y=()=>c(t,{replace:m,state:i,preventScrollReset:r,relative:a,viewTransition:o,unstable_defaultShouldRevalidate:s});l?N.startTransition(()=>y()):y()}},[d,c,f,n,i,e,t,r,a,o,s,l])}function qAt(t){va(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let e=N.useRef(_I(t)),n=N.useRef(!1),i=Gf(),r=N.useMemo(()=>kbe(i.search,n.current?null:e.current),[i.search]),a=mb(),o=N.useCallback((s,l)=>{const c=_I(typeof s=="function"?s(new URLSearchParams(r)):s);n.current=!0,a("?"+c,l)},[a,r]);return[r,o]}var Gbe=0,qbe=()=>`__${String(++Gbe)}__`;function Kbe(){let{router:t}=wZ("useSubmit"),{basename:e}=N.useContext(Ul),n=tbe(),i=t.fetch,r=t.navigate;return N.useCallback(async(a,o={})=>{let{action:s,method:l,encType:c,formData:d,body:f}=wbe(a,e);if(o.navigate===!1){let h=o.fetcherKey||qbe();await i(h,n,o.action||s,{unstable_defaultShouldRevalidate:o.unstable_defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:d,body:f,formMethod:o.method||l,formEncType:o.encType||c,flushSync:o.flushSync})}else await r(o.action||s,{unstable_defaultShouldRevalidate:o.unstable_defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:d,body:f,formMethod:o.method||l,formEncType:o.encType||c,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[i,r,e,n])}function Wbe(t,{relative:e}={}){let{basename:n}=N.useContext(Ul),i=N.useContext(_c);mi(i,"useFormAction must be used inside a RouteContext");let[r]=i.matches.slice(-1),a={...Jv(t||".",{relative:e})},o=Gf();if(t==null){a.search=o.search;let s=new URLSearchParams(a.search),l=s.getAll("index");if(l.some(d=>d==="")){s.delete("index"),l.filter(f=>f).forEach(f=>s.append("index",f));let d=s.toString();a.search=d?`?${d}`:""}}return(!t||t===".")&&r.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(a.pathname=a.pathname==="/"?n:Nu([n,a.pathname])),_u(a)}function Ybe(t,{relative:e}={}){let n=N.useContext(zR);mi(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=wZ("useViewTransitionState"),r=Jv(t,{relative:e});if(!n.isTransitioning)return!1;let a=wc(n.currentLocation.pathname,i)||n.currentLocation.pathname,o=wc(n.nextLocation.pathname,i)||n.nextLocation.pathname;return HN(r.pathname,o)!=null||HN(r.pathname,a)!=null}var qf=QX();const NZ=db(qf);function Xbe(t){return N.createElement(dbe,{flushSync:qf.flushSync,...t})}const Zbe="modulepreload",Jbe=function(t){return"/"+t},uj={},hi=function(e,n,i){let r=Promise.resolve();if(n&&n.length>0){let l=function(c){return Promise.all(c.map(d=>Promise.resolve(d).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=o?.nonce||o?.getAttribute("nonce");r=l(n.map(c=>{if(c=Jbe(c),c in uj)return;uj[c]=!0;const d=c.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const h=document.createElement("link");if(h.rel=d?"stylesheet":Zbe,d||(h.as="script"),h.crossOrigin="",h.href=c,s&&h.setAttribute("nonce",s),document.head.appendChild(h),d)return new Promise((m,y)=>{h.addEventListener("load",m),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${c}`)))})}))}function a(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return r.then(o=>{for(const s of o||[])s.status==="rejected"&&a(s.reason);return e().catch(a)})};const xZ=(...t)=>t.filter((e,n,i)=>!!e&&e.trim()!==""&&i.indexOf(e)===n).join(" ").trim();const e1e=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const t1e=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,i)=>i?i.toUpperCase():n.toLowerCase());const fj=t=>{const e=t1e(t);return e.charAt(0).toUpperCase()+e.slice(1)};var n1e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const i1e=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0;return!1};const r1e=N.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:r="",children:a,iconNode:o,...s},l)=>N.createElement("svg",{ref:l,...n1e,width:e,height:e,stroke:t,strokeWidth:i?Number(n)*24/Number(e):n,className:xZ("lucide",r),...!a&&!i1e(s)&&{"aria-hidden":"true"},...s},[...o.map(([c,d])=>N.createElement(c,d)),...Array.isArray(a)?a:[a]]));const Vt=(t,e)=>{const n=N.forwardRef(({className:i,...r},a)=>N.createElement(r1e,{ref:a,iconNode:e,className:xZ(`lucide-${e1e(fj(t))}`,`lucide-${t}`,i),...r}));return n.displayName=fj(t),n};const a1e=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["rect",{x:"15",y:"4",width:"4",height:"6",ry:"2",key:"1bwicg"}],["path",{d:"M17 20v-6h-2",key:"1qp1so"}],["path",{d:"M15 20h4",key:"1j968p"}]],o1e=Vt("arrow-down-0-1",a1e);const s1e=[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]],l1e=Vt("arrow-left-right",s1e);const c1e=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],d1e=Vt("arrow-right-left",c1e);const u1e=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]],f1e=Vt("badge-dollar-sign",u1e);const A1e=[["path",{d:"M12 21V7",key:"gj6g52"}],["path",{d:"m16 12 2 2 4-4",key:"mdajum"}],["path",{d:"M22 6V4a1 1 0 0 0-1-1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h6a3 3 0 0 1 3 3 3 3 0 0 1 3-3h6a1 1 0 0 0 1-1v-1.3",key:"8arnkb"}]],m1e=Vt("book-open-check",A1e);const h1e=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],p1e=Vt("book",h1e);const g1e=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]],v1e=Vt("calculator",g1e);const y1e=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],k1e=Vt("calendar",y1e);const b1e=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["rect",{x:"15",y:"5",width:"4",height:"12",rx:"1",key:"q8uenq"}],["rect",{x:"7",y:"8",width:"4",height:"9",rx:"1",key:"sr5ea"}]],MB=Vt("chart-column-big",b1e);const S1e=[["path",{d:"M13 17V9",key:"1fwyjl"}],["path",{d:"M18 17v-3",key:"1sqioe"}],["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M8 17V5",key:"1wzmnc"}]],w1e=Vt("chart-column-decreasing",S1e);const N1e=[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14v7",key:"1g90b9"}],["path",{d:"M20 10v11",key:"1iqoj0"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18v3",key:"1yp0dc"}],["path",{d:"M8 14v7",key:"n3cwzv"}]],x1e=Vt("chart-no-axes-combined",N1e);const F1e=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],C1e=Vt("check-check",F1e);const _1e=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Dh=Vt("check",_1e);const E1e=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Uo=Vt("chevron-down",E1e);const B1e=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],T1e=Vt("chevron-left",B1e);const D1e=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],I1e=Vt("chevron-right",D1e);const O1e=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],cu=Vt("chevron-up",O1e);const R1e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],sg=Vt("circle-alert",R1e);const P1e=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],L1e=Vt("circle-check-big",P1e);const U1e=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Aj=Vt("circle-x",U1e);const M1e=[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]],FZ=Vt("coins",M1e);const $1e=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],j1e=Vt("copy",$1e);const Q1e=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],CZ=Vt("credit-card",Q1e);const H1e=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],_Z=Vt("download",H1e);const z1e=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],V1e=Vt("eye",z1e);const G1e=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],q1e=Vt("factory",G1e);const K1e=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]],W1e=Vt("file-down",K1e);const Y1e=[["path",{d:"M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34",key:"o6klzx"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z",key:"zhnas1"}]],mj=Vt("file-pen",Y1e);const X1e=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Z1e=Vt("file-text",X1e);const J1e=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],hj=Vt("file",J1e);const eSe=[["path",{d:"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"14sh0y"}],["path",{d:"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z",key:"1970lx"}],["path",{d:"M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1",key:"l4dndm"}]],pj=Vt("files",eSe);const tSe=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],nSe=Vt("gift",tSe);const iSe=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],EZ=Vt("globe",iSe);const rSe=[["path",{d:"M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17",key:"geh8rc"}],["path",{d:"m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"1fto5m"}],["path",{d:"m2 16 6 6",key:"1pfhp9"}],["circle",{cx:"16",cy:"9",r:"2.9",key:"1n0dlu"}],["circle",{cx:"6",cy:"5",r:"3",key:"151irh"}]],gj=Vt("hand-coins",rSe);const aSe=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],Rg=Vt("house",aSe);const oSe=[["path",{d:"M16 10h2",key:"8sgtl7"}],["path",{d:"M16 14h2",key:"epxaof"}],["path",{d:"M6.17 15a3 3 0 0 1 5.66 0",key:"n6f512"}],["circle",{cx:"9",cy:"11",r:"2",key:"yxgjnd"}],["rect",{x:"2",y:"5",width:"20",height:"14",rx:"2",key:"qneu4z"}]],sSe=Vt("id-card",oSe);const lSe=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],cSe=Vt("image",lSe);const dSe=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],uSe=Vt("link",dSe);const fSe=[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"M18 9v6",key:"1twb98"}],["path",{d:"M21 12h-6",key:"bt1uis"}]],BZ=Vt("list-plus",fSe);const ASe=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],xk=Vt("loader-circle",ASe);const mSe=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],TZ=Vt("mail",mSe);const hSe=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],pSe=Vt("map-pin",hSe);const gSe=[["path",{d:"m11 19-1.106-.552a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0l4.212 2.106a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619V12",key:"svfegj"}],["path",{d:"M15 5.764V12",key:"1ocw4k"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],vSe=Vt("map-plus",gSe);const ySe=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],kSe=Vt("menu",ySe);const bSe=[["path",{d:"M11 15h2",key:"199qp6"}],["path",{d:"M12 12v3",key:"158kv8"}],["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15.282 19a1 1 0 0 0 .948-.68l2.37-6.988a7 7 0 1 0-13.2 0l2.37 6.988a1 1 0 0 0 .948.68z",key:"1jofit"}],["path",{d:"M9 9a3 3 0 1 1 6 0",key:"jdoeu8"}]],vj=Vt("parking-meter",bSe);const SSe=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],wSe=Vt("phone",SSe);const NSe=[["path",{d:"M11 17h3v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a3.16 3.16 0 0 0 2-2h1a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-1a5 5 0 0 0-2-4V3a4 4 0 0 0-3.2 1.6l-.3.4H11a6 6 0 0 0-6 6v1a5 5 0 0 0 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1z",key:"1piglc"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M2 8v1a2 2 0 0 0 2 2h1",key:"1env43"}]],xSe=Vt("piggy-bank",NSe);const FSe=[["path",{d:"M2 22h20",key:"272qi7"}],["path",{d:"M6.36 17.4 4 17l-2-4 1.1-.55a2 2 0 0 1 1.8 0l.17.1a2 2 0 0 0 1.8 0L8 12 5 6l.9-.45a2 2 0 0 1 2.09.2l4.02 3a2 2 0 0 0 2.1.2l4.19-2.06a2.41 2.41 0 0 1 1.73-.17L21 7a1.4 1.4 0 0 1 .87 1.99l-.38.76c-.23.46-.6.84-1.07 1.08L7.58 17.2a2 2 0 0 1-1.22.18Z",key:"fkigj9"}]],CSe=Vt("plane-takeoff",FSe);const _Se=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],ESe=Vt("plane",_Se);const BSe=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],$f=Vt("plus",BSe);const TSe=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],DSe=Vt("puzzle",TSe);const ISe=[["path",{d:"M13 16H8",key:"wsln4y"}],["path",{d:"M14 8H8",key:"1l3xfs"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z",key:"ycz6yz"}]],OSe=Vt("receipt-text",ISe);const RSe=[["path",{d:"M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z",key:"q3az6g"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 17.5v-11",key:"1jc1ny"}]],av=Vt("receipt",RSe);const PSe=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M7 12h.01",key:"eqddd0"}]],LSe=Vt("rectangle-ellipsis",PSe);const USe=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],yj=Vt("refresh-cw",USe);const MSe=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 7.5H3",key:"1hm9pq"}],["path",{d:"M21 12H3",key:"2avoz0"}],["path",{d:"M21 16.5H3",key:"n7jzkj"}]],$Se=Vt("rows-4",MSe);const jSe=[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"m19 8 3 8a5 5 0 0 1-6 0zV7",key:"zcdpyk"}],["path",{d:"M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1",key:"1yorad"}],["path",{d:"m5 8 3 8a5 5 0 0 1-6 0zV7",key:"eua70x"}],["path",{d:"M7 21h10",key:"1b0cd5"}]],DZ=Vt("scale",jSe);const QSe=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],HSe=Vt("search",QSe);const zSe=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],IZ=Vt("send",zSe);const VSe=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],GSe=Vt("settings",VSe);const qSe=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],KSe=Vt("shield",qSe);const WSe=[["path",{d:"m21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284",key:"y32ogt"}],["path",{d:"M3 21h18",key:"itz85i"}]],YSe=Vt("signature",WSe);const XSe=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],ZSe=Vt("square-pen",XSe);const JSe=[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]],ewe=Vt("tags",JSe);const twe=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],_C=Vt("trash-2",twe);const nwe=[["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],iwe=Vt("trash",nwe);const rwe=[["path",{d:"M14.828 14.828 21 21",key:"ar5fw7"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"m21 3-9 9-4-4-6 6",key:"1h02xo"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}]],awe=Vt("trending-up-down",rwe);const owe=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],kj=Vt("trending-up",owe);const swe=[["path",{d:"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",key:"yqzxt4"}],["path",{d:"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",key:"4qinb0"}],["line",{x1:"8",x2:"8",y1:"2",y2:"5",key:"1041cp"}],["line",{x1:"2",x2:"5",y1:"8",y2:"8",key:"14m1p5"}],["line",{x1:"16",x2:"16",y1:"19",y2:"22",key:"rzdirn"}],["line",{x1:"19",x2:"22",y1:"16",y2:"16",key:"ox905f"}]],lwe=Vt("unlink",swe);const cwe=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],dwe=Vt("user-round",cwe);const uwe=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],fwe=Vt("user",uwe);const Awe=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],mwe=Vt("wallet",Awe);const hwe=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],pwe=Vt("wand-sparkles",hwe);const gwe=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],jf=Vt("x",gwe);const vwe=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],bj=Vt("zoom-in",vwe);const ywe=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],Sj=Vt("zoom-out",ywe),Hn={HOME:"/",LOGIN:"/login",NETWORK_ERROR:"/network-error",CHARGES:{ROOT:"/charges",ALL:"/charges",MISSING_INFO:"/charges/missing-info",LEDGER_VALIDATION:"/charges/ledger-validation",DETAIL:t=>`/charges/${t}`},BUSINESSES:{ROOT:"/businesses",ALL:"/businesses",LEDGER:"/businesses/ledger",CONTRACTS:"/businesses/contracts",DETAIL:t=>`/businesses/${t}`,DETAIL_LEDGER:t=>`/businesses/${t}/ledger`},BUSINESS_TRIPS:{ROOT:"/business-trips",ALL:"/business-trips",DETAIL:t=>`/business-trips/${t}`},CHARTS:{ROOT:"/charts",MAIN:"/charts",MONTHLY_INCOME_EXPENSE:"/charts/monthly-income-expense"},DOCUMENTS:{ROOT:"/documents",ALL:"/documents",ISSUE_DOCUMENT:"/documents/issue-document",ISSUE_DOCUMENTS:"/documents/issue-documents"},REPORTS:{ROOT:"/reports",TRIAL_BALANCE:"/reports/trial-balance",CONTO:"/reports/conto",VAT_MONTHLY:"/reports/vat-monthly",PROFIT_AND_LOSS:t=>t?`/reports/profit-and-loss/${t}`:"/reports/profit-and-loss",TAX:t=>t?`/reports/tax/${t}`:"/reports/tax",DEPRECIATION:"/reports/depreciation",SHAAM_6111:"/reports/shaam6111",YEARLY_LEDGER:"/reports/yearly-ledger",ANNUAL_REVENUE:"/reports/annual-revenue",CORPORATE_TAX_RULING_COMPLIANCE:t=>t?`/reports/corporate-tax-ruling-compliance/${t}`:"/reports/corporate-tax-ruling-compliance",BALANCE:"/reports/balance",VALIDATE_REPORTS:"/reports/validate-reports"},BANK_DEPOSITS:{ROOT:"/bank-deposits",ALL:"/bank-deposits"},ACCOUNTANT_APPROVALS:"/accountant-approvals",SALARIES:"/salaries",TAGS:"/tags",TAX_CATEGORIES:"/tax-categories",SORT_CODES:"/sort-codes"};function OZ(t){var e,n,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var r=t.length;for(e=0;e<r;e++)t[e]&&(n=OZ(t[e]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}function WR(){for(var t,e,n=0,i="",r=arguments.length;n<r;n++)(t=arguments[n])&&(e=OZ(t))&&(i&&(i+=" "),i+=e);return i}const wj=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Nj=WR,YR=(t,e)=>n=>{var i;if(e?.variants==null)return Nj(t,n?.class,n?.className);const{variants:r,defaultVariants:a}=e,o=Object.keys(r).map(c=>{const d=n?.[c],f=a?.[c];if(d===null)return null;const h=wj(d)||wj(f);return r[c][h]}),s=n&&Object.entries(n).reduce((c,d)=>{let[f,h]=d;return h===void 0||(c[f]=h),c},{}),l=e==null||(i=e.compoundVariants)===null||i===void 0?void 0:i.reduce((c,d)=>{let{class:f,className:h,...m}=d;return Object.entries(m).every(y=>{let[v,b]=y;return Array.isArray(b)?b.includes({...a,...s}[v]):{...a,...s}[v]===b})?[...c,f,h]:c},[]);return Nj(t,o,l,n?.class,n?.className)};function xj(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Ns(...t){return e=>{let n=!1;const i=t.map(r=>{const a=xj(r,e);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let r=0;r<i.length;r++){const a=i[r];typeof a=="function"?a():xj(t[r],null)}}}}function ai(...t){return N.useCallback(Ns(...t),t)}var kwe=Symbol.for("react.lazy"),zN=Mf[" use ".trim().toString()];function bwe(t){return typeof t=="object"&&t!==null&&"then"in t}function RZ(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===kwe&&"_payload"in t&&bwe(t._payload)}function e0(t){const e=Swe(t),n=N.forwardRef((i,r)=>{let{children:a,...o}=i;RZ(a)&&typeof zN=="function"&&(a=zN(a._payload));const s=N.Children.toArray(a),l=s.find(Nwe);if(l){const c=l.props.children,d=s.map(f=>f===l?N.Children.count(c)>1?N.Children.only(null):N.isValidElement(c)?c.props.children:null:f);return g.jsx(e,{...o,ref:r,children:N.isValidElement(c)?N.cloneElement(c,void 0,d):null})}return g.jsx(e,{...o,ref:r,children:a})});return n.displayName=`${t}.Slot`,n}var XR=e0("Slot");function Swe(t){const e=N.forwardRef((n,i)=>{let{children:r,...a}=n;if(RZ(r)&&typeof zN=="function"&&(r=zN(r._payload)),N.isValidElement(r)){const o=Fwe(r),s=xwe(a,r.props);return r.type!==N.Fragment&&(s.ref=i?Ns(i,o):o),N.cloneElement(r,s)}return N.Children.count(r)>1?N.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var wwe=Symbol("radix.slottable");function Nwe(t){return N.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===wwe}function xwe(t,e){const n={...e};for(const i in e){const r=t[i],a=e[i];/^on[A-Z]/.test(i)?r&&a?n[i]=(...s)=>{const l=a(...s);return r(...s),l}:r&&(n[i]=r):i==="style"?n[i]={...r,...a}:i==="className"&&(n[i]=[r,a].filter(Boolean).join(" "))}return{...t,...n}}function Fwe(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const Cwe=(t,e)=>{const n=new Array(t.length+e.length);for(let i=0;i<t.length;i++)n[i]=t[i];for(let i=0;i<e.length;i++)n[t.length+i]=e[i];return n},_we=(t,e)=>({classGroupId:t,validator:e}),PZ=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),VN="-",Fj=[],Ewe="arbitrary..",Bwe=t=>{const e=Dwe(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return Twe(o);const s=o.split(VN),l=s[0]===""&&s.length>1?1:0;return LZ(s,l,e)},getConflictingClassGroupIds:(o,s)=>{if(s){const l=i[o],c=n[o];return l?c?Cwe(c,l):l:c||Fj}return n[o]||Fj}}},LZ=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const r=t[e],a=n.nextPart.get(r);if(a){const c=LZ(t,e+1,a);if(c)return c}const o=n.validators;if(o===null)return;const s=e===0?t.join(VN):t.slice(e).join(VN),l=o.length;for(let c=0;c<l;c++){const d=o[c];if(d.validator(s))return d.classGroupId}},Twe=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),i=e.slice(0,n);return i?Ewe+i:void 0})(),Dwe=t=>{const{theme:e,classGroups:n}=t;return Iwe(n,e)},Iwe=(t,e)=>{const n=PZ();for(const i in t){const r=t[i];ZR(r,n,i,e)}return n},ZR=(t,e,n,i)=>{const r=t.length;for(let a=0;a<r;a++){const o=t[a];Owe(o,e,n,i)}},Owe=(t,e,n,i)=>{if(typeof t=="string"){Rwe(t,e,n);return}if(typeof t=="function"){Pwe(t,e,n,i);return}Lwe(t,e,n,i)},Rwe=(t,e,n)=>{const i=t===""?e:UZ(e,t);i.classGroupId=n},Pwe=(t,e,n,i)=>{if(Uwe(t)){ZR(t(i),e,n,i);return}e.validators===null&&(e.validators=[]),e.validators.push(_we(n,t))},Lwe=(t,e,n,i)=>{const r=Object.entries(t),a=r.length;for(let o=0;o<a;o++){const[s,l]=r[o];ZR(l,UZ(e,s),n,i)}},UZ=(t,e)=>{let n=t;const i=e.split(VN),r=i.length;for(let a=0;a<r;a++){const o=i[a];let s=n.nextPart.get(o);s||(s=PZ(),n.nextPart.set(o,s)),n=s}return n},Uwe=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,Mwe=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),i=Object.create(null);const r=(a,o)=>{n[a]=o,e++,e>t&&(e=0,i=n,n=Object.create(null))};return{get(a){let o=n[a];if(o!==void 0)return o;if((o=i[a])!==void 0)return r(a,o),o},set(a,o){a in n?n[a]=o:r(a,o)}}},EI="!",Cj=":",$we=[],_j=(t,e,n,i,r)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:i,isExternal:r}),jwe=t=>{const{prefix:e,experimentalParseClassName:n}=t;let i=r=>{const a=[];let o=0,s=0,l=0,c;const d=r.length;for(let v=0;v<d;v++){const b=r[v];if(o===0&&s===0){if(b===Cj){a.push(r.slice(l,v)),l=v+1;continue}if(b==="/"){c=v;continue}}b==="["?o++:b==="]"?o--:b==="("?s++:b===")"&&s--}const f=a.length===0?r:r.slice(l);let h=f,m=!1;f.endsWith(EI)?(h=f.slice(0,-1),m=!0):f.startsWith(EI)&&(h=f.slice(1),m=!0);const y=c&&c>l?c-l:void 0;return _j(a,m,h,y)};if(e){const r=e+Cj,a=i;i=o=>o.startsWith(r)?a(o.slice(r.length)):_j($we,!1,o,void 0,!0)}if(n){const r=i;i=a=>n({className:a,parseClassName:r})}return i},Qwe=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,i)=>{e.set(n,1e6+i)}),n=>{const i=[];let r=[];for(let a=0;a<n.length;a++){const o=n[a],s=o[0]==="[",l=e.has(o);s||l?(r.length>0&&(r.sort(),i.push(...r),r=[]),i.push(o)):r.push(o)}return r.length>0&&(r.sort(),i.push(...r)),i}},Hwe=t=>({cache:Mwe(t.cacheSize),parseClassName:jwe(t),sortModifiers:Qwe(t),...Bwe(t)}),zwe=/\s+/,Vwe=(t,e)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:r,sortModifiers:a}=e,o=[],s=t.trim().split(zwe);let l="";for(let c=s.length-1;c>=0;c-=1){const d=s[c],{isExternal:f,modifiers:h,hasImportantModifier:m,baseClassName:y,maybePostfixModifierPosition:v}=n(d);if(f){l=d+(l.length>0?" "+l:l);continue}let b=!!v,k=i(b?y.substring(0,v):y);if(!k){if(!b){l=d+(l.length>0?" "+l:l);continue}if(k=i(y),!k){l=d+(l.length>0?" "+l:l);continue}b=!1}const w=h.length===0?"":h.length===1?h[0]:a(h).join(":"),x=m?w+EI:w,F=x+k;if(o.indexOf(F)>-1)continue;o.push(F);const C=r(k,b);for(let D=0;D<C.length;++D){const B=C[D];o.push(x+B)}l=d+(l.length>0?" "+l:l)}return l},Gwe=(...t)=>{let e=0,n,i,r="";for(;e<t.length;)(n=t[e++])&&(i=MZ(n))&&(r&&(r+=" "),r+=i);return r},MZ=t=>{if(typeof t=="string")return t;let e,n="";for(let i=0;i<t.length;i++)t[i]&&(e=MZ(t[i]))&&(n&&(n+=" "),n+=e);return n},qwe=(t,...e)=>{let n,i,r,a;const o=l=>{const c=e.reduce((d,f)=>f(d),t());return n=Hwe(c),i=n.cache.get,r=n.cache.set,a=s,s(l)},s=l=>{const c=i(l);if(c)return c;const d=Vwe(l,n);return r(l,d),d};return a=o,(...l)=>a(Gwe(...l))},Kwe=[],no=t=>{const e=n=>n[t]||Kwe;return e.isThemeGetter=!0,e},$Z=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,jZ=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Wwe=/^\d+\/\d+$/,Ywe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xwe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Zwe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Jwe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eNe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,lg=t=>Wwe.test(t),Ai=t=>!!t&&!Number.isNaN(Number(t)),DA=t=>!!t&&Number.isInteger(Number(t)),$B=t=>t.endsWith("%")&&Ai(t.slice(0,-1)),yf=t=>Ywe.test(t),tNe=()=>!0,nNe=t=>Xwe.test(t)&&!Zwe.test(t),QZ=()=>!1,iNe=t=>Jwe.test(t),rNe=t=>eNe.test(t),aNe=t=>!ln(t)&&!cn(t),oNe=t=>t0(t,VZ,QZ),ln=t=>$Z.test(t),rh=t=>t0(t,GZ,nNe),jB=t=>t0(t,uNe,Ai),Ej=t=>t0(t,HZ,QZ),sNe=t=>t0(t,zZ,rNe),SS=t=>t0(t,qZ,iNe),cn=t=>jZ.test(t),sy=t=>n0(t,GZ),lNe=t=>n0(t,fNe),Bj=t=>n0(t,HZ),cNe=t=>n0(t,VZ),dNe=t=>n0(t,zZ),wS=t=>n0(t,qZ,!0),t0=(t,e,n)=>{const i=$Z.exec(t);return i?i[1]?e(i[1]):n(i[2]):!1},n0=(t,e,n=!1)=>{const i=jZ.exec(t);return i?i[1]?e(i[1]):n:!1},HZ=t=>t==="position"||t==="percentage",zZ=t=>t==="image"||t==="url",VZ=t=>t==="length"||t==="size"||t==="bg-size",GZ=t=>t==="length",uNe=t=>t==="number",fNe=t=>t==="family-name",qZ=t=>t==="shadow",ANe=()=>{const t=no("color"),e=no("font"),n=no("text"),i=no("font-weight"),r=no("tracking"),a=no("leading"),o=no("breakpoint"),s=no("container"),l=no("spacing"),c=no("radius"),d=no("shadow"),f=no("inset-shadow"),h=no("text-shadow"),m=no("drop-shadow"),y=no("blur"),v=no("perspective"),b=no("aspect"),k=no("ease"),w=no("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...F(),cn,ln],D=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto","contain","none"],R=()=>[cn,ln,l],O=()=>[lg,"full","auto",...R()],V=()=>[DA,"none","subgrid",cn,ln],U=()=>["auto",{span:["full",DA,cn,ln]},DA,cn,ln],P=()=>[DA,"auto",cn,ln],ee=()=>["auto","min","max","fr",cn,ln],K=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],le=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...R()],te=()=>[lg,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...R()],X=()=>[t,cn,ln],de=()=>[...F(),Bj,Ej,{position:[cn,ln]}],xe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],re=()=>["auto","cover","contain",cNe,oNe,{size:[cn,ln]}],L=()=>[$B,sy,rh],j=()=>["","none","full",c,cn,ln],$=()=>["",Ai,sy,rh],Y=()=>["solid","dashed","dotted","double"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],W=()=>[Ai,$B,Bj,Ej],fe=()=>["","none",y,cn,ln],ve=()=>["none",Ai,cn,ln],Se=()=>["none",Ai,cn,ln],ae=()=>[Ai,cn,ln],se=()=>[lg,"full",...R()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[yf],breakpoint:[yf],color:[tNe],container:[yf],"drop-shadow":[yf],ease:["in","out","in-out"],font:[aNe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[yf],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[yf],shadow:[yf],spacing:["px",Ai],text:[yf],"text-shadow":[yf],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",lg,ln,cn,b]}],container:["container"],columns:[{columns:[Ai,ln,cn,s]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:C()}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:O()}],"inset-x":[{"inset-x":O()}],"inset-y":[{"inset-y":O()}],start:[{start:O()}],end:[{end:O()}],top:[{top:O()}],right:[{right:O()}],bottom:[{bottom:O()}],left:[{left:O()}],visibility:["visible","invisible","collapse"],z:[{z:[DA,"auto",cn,ln]}],basis:[{basis:[lg,"full","auto",s,...R()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ai,lg,"auto","initial","none",ln]}],grow:[{grow:["",Ai,cn,ln]}],shrink:[{shrink:["",Ai,cn,ln]}],order:[{order:[DA,"first","last","none",cn,ln]}],"grid-cols":[{"grid-cols":V()}],"col-start-end":[{col:U()}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":V()}],"row-start-end":[{row:U()}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ee()}],"auto-rows":[{"auto-rows":ee()}],gap:[{gap:R()}],"gap-x":[{"gap-x":R()}],"gap-y":[{"gap-y":R()}],"justify-content":[{justify:[...K(),"normal"]}],"justify-items":[{"justify-items":[...le(),"normal"]}],"justify-self":[{"justify-self":["auto",...le()]}],"align-content":[{content:["normal",...K()]}],"align-items":[{items:[...le(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...le(),{baseline:["","last"]}]}],"place-content":[{"place-content":K()}],"place-items":[{"place-items":[...le(),"baseline"]}],"place-self":[{"place-self":["auto",...le()]}],p:[{p:R()}],px:[{px:R()}],py:[{py:R()}],ps:[{ps:R()}],pe:[{pe:R()}],pt:[{pt:R()}],pr:[{pr:R()}],pb:[{pb:R()}],pl:[{pl:R()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":R()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":R()}],"space-y-reverse":["space-y-reverse"],size:[{size:te()}],w:[{w:[s,"screen",...te()]}],"min-w":[{"min-w":[s,"screen","none",...te()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...te()]}],h:[{h:["screen","lh",...te()]}],"min-h":[{"min-h":["screen","lh","none",...te()]}],"max-h":[{"max-h":["screen","lh",...te()]}],"font-size":[{text:["base",n,sy,rh]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,cn,jB]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",$B,ln]}],"font-family":[{font:[lNe,ln,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,cn,ln]}],"line-clamp":[{"line-clamp":[Ai,"none",cn,jB]}],leading:[{leading:[a,...R()]}],"list-image":[{"list-image":["none",cn,ln]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",cn,ln]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:X()}],"text-color":[{text:X()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ai,"from-font","auto",cn,rh]}],"text-decoration-color":[{decoration:X()}],"underline-offset":[{"underline-offset":[Ai,"auto",cn,ln]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",cn,ln]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",cn,ln]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:de()}],"bg-repeat":[{bg:xe()}],"bg-size":[{bg:re()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},DA,cn,ln],radial:["",cn,ln],conic:[DA,cn,ln]},dNe,sNe]}],"bg-color":[{bg:X()}],"gradient-from-pos":[{from:L()}],"gradient-via-pos":[{via:L()}],"gradient-to-pos":[{to:L()}],"gradient-from":[{from:X()}],"gradient-via":[{via:X()}],"gradient-to":[{to:X()}],rounded:[{rounded:j()}],"rounded-s":[{"rounded-s":j()}],"rounded-e":[{"rounded-e":j()}],"rounded-t":[{"rounded-t":j()}],"rounded-r":[{"rounded-r":j()}],"rounded-b":[{"rounded-b":j()}],"rounded-l":[{"rounded-l":j()}],"rounded-ss":[{"rounded-ss":j()}],"rounded-se":[{"rounded-se":j()}],"rounded-ee":[{"rounded-ee":j()}],"rounded-es":[{"rounded-es":j()}],"rounded-tl":[{"rounded-tl":j()}],"rounded-tr":[{"rounded-tr":j()}],"rounded-br":[{"rounded-br":j()}],"rounded-bl":[{"rounded-bl":j()}],"border-w":[{border:$()}],"border-w-x":[{"border-x":$()}],"border-w-y":[{"border-y":$()}],"border-w-s":[{"border-s":$()}],"border-w-e":[{"border-e":$()}],"border-w-t":[{"border-t":$()}],"border-w-r":[{"border-r":$()}],"border-w-b":[{"border-b":$()}],"border-w-l":[{"border-l":$()}],"divide-x":[{"divide-x":$()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":$()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Y(),"hidden","none"]}],"divide-style":[{divide:[...Y(),"hidden","none"]}],"border-color":[{border:X()}],"border-color-x":[{"border-x":X()}],"border-color-y":[{"border-y":X()}],"border-color-s":[{"border-s":X()}],"border-color-e":[{"border-e":X()}],"border-color-t":[{"border-t":X()}],"border-color-r":[{"border-r":X()}],"border-color-b":[{"border-b":X()}],"border-color-l":[{"border-l":X()}],"divide-color":[{divide:X()}],"outline-style":[{outline:[...Y(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ai,cn,ln]}],"outline-w":[{outline:["",Ai,sy,rh]}],"outline-color":[{outline:X()}],shadow:[{shadow:["","none",d,wS,SS]}],"shadow-color":[{shadow:X()}],"inset-shadow":[{"inset-shadow":["none",f,wS,SS]}],"inset-shadow-color":[{"inset-shadow":X()}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:X()}],"ring-offset-w":[{"ring-offset":[Ai,rh]}],"ring-offset-color":[{"ring-offset":X()}],"inset-ring-w":[{"inset-ring":$()}],"inset-ring-color":[{"inset-ring":X()}],"text-shadow":[{"text-shadow":["none",h,wS,SS]}],"text-shadow-color":[{"text-shadow":X()}],opacity:[{opacity:[Ai,cn,ln]}],"mix-blend":[{"mix-blend":[...Z(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Z()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ai]}],"mask-image-linear-from-pos":[{"mask-linear-from":W()}],"mask-image-linear-to-pos":[{"mask-linear-to":W()}],"mask-image-linear-from-color":[{"mask-linear-from":X()}],"mask-image-linear-to-color":[{"mask-linear-to":X()}],"mask-image-t-from-pos":[{"mask-t-from":W()}],"mask-image-t-to-pos":[{"mask-t-to":W()}],"mask-image-t-from-color":[{"mask-t-from":X()}],"mask-image-t-to-color":[{"mask-t-to":X()}],"mask-image-r-from-pos":[{"mask-r-from":W()}],"mask-image-r-to-pos":[{"mask-r-to":W()}],"mask-image-r-from-color":[{"mask-r-from":X()}],"mask-image-r-to-color":[{"mask-r-to":X()}],"mask-image-b-from-pos":[{"mask-b-from":W()}],"mask-image-b-to-pos":[{"mask-b-to":W()}],"mask-image-b-from-color":[{"mask-b-from":X()}],"mask-image-b-to-color":[{"mask-b-to":X()}],"mask-image-l-from-pos":[{"mask-l-from":W()}],"mask-image-l-to-pos":[{"mask-l-to":W()}],"mask-image-l-from-color":[{"mask-l-from":X()}],"mask-image-l-to-color":[{"mask-l-to":X()}],"mask-image-x-from-pos":[{"mask-x-from":W()}],"mask-image-x-to-pos":[{"mask-x-to":W()}],"mask-image-x-from-color":[{"mask-x-from":X()}],"mask-image-x-to-color":[{"mask-x-to":X()}],"mask-image-y-from-pos":[{"mask-y-from":W()}],"mask-image-y-to-pos":[{"mask-y-to":W()}],"mask-image-y-from-color":[{"mask-y-from":X()}],"mask-image-y-to-color":[{"mask-y-to":X()}],"mask-image-radial":[{"mask-radial":[cn,ln]}],"mask-image-radial-from-pos":[{"mask-radial-from":W()}],"mask-image-radial-to-pos":[{"mask-radial-to":W()}],"mask-image-radial-from-color":[{"mask-radial-from":X()}],"mask-image-radial-to-color":[{"mask-radial-to":X()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":F()}],"mask-image-conic-pos":[{"mask-conic":[Ai]}],"mask-image-conic-from-pos":[{"mask-conic-from":W()}],"mask-image-conic-to-pos":[{"mask-conic-to":W()}],"mask-image-conic-from-color":[{"mask-conic-from":X()}],"mask-image-conic-to-color":[{"mask-conic-to":X()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:de()}],"mask-repeat":[{mask:xe()}],"mask-size":[{mask:re()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",cn,ln]}],filter:[{filter:["","none",cn,ln]}],blur:[{blur:fe()}],brightness:[{brightness:[Ai,cn,ln]}],contrast:[{contrast:[Ai,cn,ln]}],"drop-shadow":[{"drop-shadow":["","none",m,wS,SS]}],"drop-shadow-color":[{"drop-shadow":X()}],grayscale:[{grayscale:["",Ai,cn,ln]}],"hue-rotate":[{"hue-rotate":[Ai,cn,ln]}],invert:[{invert:["",Ai,cn,ln]}],saturate:[{saturate:[Ai,cn,ln]}],sepia:[{sepia:["",Ai,cn,ln]}],"backdrop-filter":[{"backdrop-filter":["","none",cn,ln]}],"backdrop-blur":[{"backdrop-blur":fe()}],"backdrop-brightness":[{"backdrop-brightness":[Ai,cn,ln]}],"backdrop-contrast":[{"backdrop-contrast":[Ai,cn,ln]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ai,cn,ln]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ai,cn,ln]}],"backdrop-invert":[{"backdrop-invert":["",Ai,cn,ln]}],"backdrop-opacity":[{"backdrop-opacity":[Ai,cn,ln]}],"backdrop-saturate":[{"backdrop-saturate":[Ai,cn,ln]}],"backdrop-sepia":[{"backdrop-sepia":["",Ai,cn,ln]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":R()}],"border-spacing-x":[{"border-spacing-x":R()}],"border-spacing-y":[{"border-spacing-y":R()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",cn,ln]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ai,"initial",cn,ln]}],ease:[{ease:["linear","initial",k,cn,ln]}],delay:[{delay:[Ai,cn,ln]}],animate:[{animate:["none",w,cn,ln]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,cn,ln]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:ve()}],"rotate-x":[{"rotate-x":ve()}],"rotate-y":[{"rotate-y":ve()}],"rotate-z":[{"rotate-z":ve()}],scale:[{scale:Se()}],"scale-x":[{"scale-x":Se()}],"scale-y":[{"scale-y":Se()}],"scale-z":[{"scale-z":Se()}],"scale-3d":["scale-3d"],skew:[{skew:ae()}],"skew-x":[{"skew-x":ae()}],"skew-y":[{"skew-y":ae()}],transform:[{transform:[cn,ln,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:X()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:X()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",cn,ln]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",cn,ln]}],fill:[{fill:["none",...X()]}],"stroke-w":[{stroke:[Ai,sy,rh,jB]}],stroke:[{stroke:["none",...X()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},mNe=qwe(ANe);function Pt(...t){return mNe(WR(t))}const Ih=YR("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-gray-950 focus-visible:ring-gray-950/50 focus-visible:ring-[3px] aria-invalid:ring-red-500/20 dark:aria-invalid:ring-red-500/40 aria-invalid:border-red-500 dark:focus-visible:border-gray-300 dark:focus-visible:ring-gray-300/50 dark:aria-invalid:ring-red-900/20 dark:dark:aria-invalid:ring-red-900/40 dark:aria-invalid:border-red-900",{variants:{variant:{default:"bg-gray-900 text-gray-50 shadow-xs hover:bg-gray-900/90 dark:bg-gray-50 dark:text-gray-900 dark:hover:bg-gray-50/90",destructive:"bg-red-500 text-white shadow-xs hover:bg-red-500/90 focus-visible:ring-red-500/20 dark:focus-visible:ring-red-500/40 dark:bg-red-500/60 dark:bg-red-900 dark:hover:bg-red-900/90 dark:focus-visible:ring-red-900/20 dark:dark:focus-visible:ring-red-900/40 dark:dark:bg-red-900/60",outline:"border bg-white shadow-xs hover:bg-gray-100 hover:text-gray-900 dark:bg-gray-200/30 dark:border-gray-200 dark:hover:bg-gray-200/50 dark:bg-gray-950 dark:hover:bg-gray-800 dark:hover:text-gray-50 dark:dark:bg-gray-800/30 dark:dark:border-gray-800 dark:dark:hover:bg-gray-800/50",secondary:"bg-gray-100 text-gray-900 shadow-xs hover:bg-gray-100/80 dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-800/80",ghost:"hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-100/50 dark:hover:bg-gray-800 dark:hover:text-gray-50 dark:dark:hover:bg-gray-800/50",link:"text-gray-900 underline-offset-4 hover:underline dark:text-gray-50"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function Ut({className:t,variant:e,size:n,asChild:i=!1,...r}){const a=i?XR:"button";return g.jsx(a,{"data-slot":"button",className:Pt(Ih({variant:e,size:n,className:t})),...r})}function Nc({className:t,...e}){return g.jsx("div",{"data-slot":"card",className:Pt("bg-white text-gray-950 flex flex-col gap-6 rounded-xl border border-gray-200 py-6 shadow-sm dark:bg-gray-950 dark:text-gray-50 dark:border-gray-800",t),...e})}function Eu({className:t,...e}){return g.jsx("div",{"data-slot":"card-header",className:Pt("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-[data-slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",t),...e})}function Bu({className:t,...e}){return g.jsx("div",{"data-slot":"card-title",className:Pt("leading-none font-semibold",t),...e})}function BI({className:t,...e}){return g.jsx("div",{"data-slot":"card-description",className:Pt("text-gray-500 text-sm dark:text-gray-400",t),...e})}function kd({className:t,...e}){return g.jsx("div",{"data-slot":"card-content",className:Pt("px-6",t),...e})}function KAt({className:t,...e}){return g.jsx("div",{"data-slot":"card-footer",className:Pt("flex items-center px-6 [.border-t]:pt-6",t),...e})}function Tj(){const t=gZ();if(Fv(t))switch(t.status){case 404:return g.jsx(cg,{icon:g.jsx(sg,{className:"h-16 w-16 text-yellow-500"}),title:"Page Not Found",description:"The page you're looking for doesn't exist.",statusCode:404,children:g.jsxs("div",{className:"flex gap-4",children:[g.jsx(so,{to:Hn.HOME,children:g.jsxs(Ut,{variant:"default",children:[g.jsx(Rg,{className:"mr-2 h-4 w-4"}),"Go Home"]})}),g.jsx(Ut,{variant:"outline",onClick:()=>window.history.back(),children:"Go Back"})]})});case 401:return g.jsx(cg,{icon:g.jsx(sg,{className:"h-16 w-16 text-red-500"}),title:"Unauthorized",description:"You need to be logged in to access this page.",statusCode:401,children:g.jsx(so,{to:Hn.LOGIN,children:g.jsx(Ut,{variant:"default",children:"Go to Login"})})});case 403:return g.jsx(cg,{icon:g.jsx(sg,{className:"h-16 w-16 text-red-500"}),title:"Forbidden",description:"You don't have permission to access this resource.",statusCode:403,children:g.jsx(so,{to:Hn.HOME,children:g.jsxs(Ut,{variant:"default",children:[g.jsx(Rg,{className:"mr-2 h-4 w-4"}),"Go Home"]})})});case 500:return g.jsx(cg,{icon:g.jsx(sg,{className:"h-16 w-16 text-red-500"}),title:"Server Error",description:"Something went wrong on our end. We're working to fix it.",statusCode:500,children:g.jsxs("div",{className:"flex gap-4",children:[g.jsxs(Ut,{variant:"default",onClick:()=>window.location.reload(),children:[g.jsx(yj,{className:"mr-2 h-4 w-4"}),"Reload Page"]}),g.jsx(so,{to:Hn.HOME,children:g.jsxs(Ut,{variant:"outline",children:[g.jsx(Rg,{className:"mr-2 h-4 w-4"}),"Go Home"]})})]})});default:return g.jsx(cg,{icon:g.jsx(sg,{className:"h-16 w-16 text-orange-500"}),title:`Error ${t.status}`,description:t.statusText||"An unexpected error occurred",statusCode:t.status,children:g.jsx(so,{to:Hn.HOME,children:g.jsxs(Ut,{variant:"default",children:[g.jsx(Rg,{className:"mr-2 h-4 w-4"}),"Go Home"]})})})}return g.jsxs(cg,{icon:g.jsx(sg,{className:"h-16 w-16 text-red-500"}),title:"Unexpected Error",description:"An unexpected error occurred. Please try again.",children:[!1,g.jsxs("div",{className:"flex gap-4 mt-4",children:[g.jsxs(Ut,{variant:"default",onClick:()=>window.location.reload(),children:[g.jsx(yj,{className:"mr-2 h-4 w-4"}),"Reload Page"]}),g.jsx(so,{to:Hn.HOME,children:g.jsxs(Ut,{variant:"outline",children:[g.jsx(Rg,{className:"mr-2 h-4 w-4"}),"Go Home"]})})]})]})}function cg({icon:t,title:e,description:n,statusCode:i,children:r}){return g.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50 p-4",children:g.jsxs(Nc,{className:"max-w-md w-full",children:[g.jsxs(Eu,{className:"text-center space-y-4",children:[g.jsx("div",{className:"flex justify-center",children:t}),g.jsxs("div",{children:[g.jsxs(Bu,{className:"text-2xl font-bold",children:[e,i&&g.jsxs("span",{className:"ml-2 text-sm text-muted-foreground",children:["(",i,")"]})]}),g.jsx(BI,{className:"mt-2",children:n})]})]}),g.jsx(kd,{className:"flex flex-col items-center space-y-4",children:r})]})})}function yu({className:t,...e}){return g.jsx("div",{className:Pt("animate-pulse rounded-md bg-gray-900/10 dark:bg-gray-50/10",t),...e})}function hNe(){return g.jsxs("div",{className:"flex flex-col gap-4 p-4",children:[g.jsx(yu,{className:"h-12 w-64"})," ",g.jsxs("div",{className:"flex gap-4",children:[g.jsx(yu,{className:"h-10 w-32"})," ",g.jsx(yu,{className:"h-10 w-32"})]}),g.jsx(yu,{className:"h-96 w-full"})," "]})}function pl(){return g.jsxs("div",{className:"flex flex-col gap-2",children:[g.jsx(yu,{className:"h-12 w-full"})," ",Array.from({length:8}).map((t,e)=>g.jsx(yu,{className:"h-16 w-full"},e))]})}function zs(){return g.jsxs("div",{className:"flex flex-col gap-6",children:[g.jsx(yu,{className:"h-16 w-96"})," ",g.jsxs("div",{className:"flex gap-4",children:[g.jsx(yu,{className:"h-10 w-48"})," ",g.jsx(yu,{className:"h-10 w-32"})," "]}),g.jsx(yu,{className:"h-[600px] w-full"})," "]})}const Dj=t=>{let e;const n=new Set,i=(c,d)=>{const f=typeof c=="function"?c(e):c;if(!Object.is(f,e)){const h=e;e=d??(typeof f!="object"||f===null)?f:Object.assign({},e,f),n.forEach(m=>m(e,h))}},r=()=>e,s={setState:i,getState:r,getInitialState:()=>l,subscribe:c=>(n.add(c),()=>n.delete(c))},l=e=t(i,r,s);return s},pNe=(t=>t?Dj(t):Dj),gNe=t=>t;function vNe(t,e=gNe){const n=oe.useSyncExternalStore(t.subscribe,oe.useCallback(()=>e(t.getState()),[t,e]),oe.useCallback(()=>e(t.getInitialState()),[t,e]));return oe.useDebugValue(n),n}const Ij=t=>{const e=pNe(t),n=i=>vNe(e,i);return Object.assign(n,e),n},yNe=(t=>t?Ij(t):Ij),KZ=yNe(t=>({isMinimized:!0,toggle:()=>t(e=>({isMinimized:!e.isMinimized}))}));function kNe(){const e=pZ().filter(n=>n.handle?.breadcrumb).map((n,i,r)=>{const a=n.handle;return{title:typeof a.breadcrumb=="function"?a.breadcrumb(n.data):a.breadcrumb||"Page",path:n.pathname,isLast:i===r.length-1}});return e.length===0?g.jsx("div",{className:"h-8"}):g.jsxs("nav",{"aria-label":"Breadcrumb",className:"flex items-center space-x-1 text-sm text-gray-600",children:[g.jsx(so,{to:"/",className:"flex items-center hover:text-gray-900 transition-colors","aria-label":"Home",children:g.jsx(Rg,{className:"h-4 w-4"})}),e.map((n,i)=>g.jsxs(N.Fragment,{children:[g.jsx(I1e,{className:"h-4 w-4 text-gray-400"}),n.isLast?g.jsx("span",{className:"font-medium text-gray-900","aria-current":"page",children:n.title}):g.jsx(so,{to:n.path,className:"hover:text-gray-900 transition-colors",children:n.title})]},`${n.path}-${i}`))]})}function bNe({filtersContext:t}){return g.jsx("footer",{className:"fixed left-0 right-0 bottom-0 z-20 border-t bg-white/95 backdrop-blur-sm",children:g.jsx("div",{className:"flex h-14 flex-row items-center justify-center px-4",children:t})})}const WZ=6048e5,SNe=864e5,Oj=Symbol.for("constructDateFrom");function Tu(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&Oj in t?t[Oj](e):t instanceof Date?new t.constructor(e):new Date(e)}function Ml(t,e){return Tu(e||t,t)}function wNe(t,e,n){const i=Ml(t,n?.in);if(isNaN(e))return Tu(t,NaN);if(!e)return i;const r=i.getDate(),a=Tu(t,i.getTime());a.setMonth(i.getMonth()+e+1,0);const o=a.getDate();return r>=o?a:(i.setFullYear(a.getFullYear(),a.getMonth(),r),i)}let NNe={};function EC(){return NNe}function Fk(t,e){const n=EC(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=Ml(t,e?.in),a=r.getDay(),o=(a<i?7:0)+a-i;return r.setDate(r.getDate()-o),r.setHours(0,0,0,0),r}function GN(t,e){return Fk(t,{...e,weekStartsOn:1})}function YZ(t,e){const n=Ml(t,e?.in),i=n.getFullYear(),r=Tu(n,0);r.setFullYear(i+1,0,4),r.setHours(0,0,0,0);const a=GN(r),o=Tu(n,0);o.setFullYear(i,0,4),o.setHours(0,0,0,0);const s=GN(o);return n.getTime()>=a.getTime()?i+1:n.getTime()>=s.getTime()?i:i-1}function Rj(t){const e=Ml(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function xNe(t,...e){const n=Tu.bind(null,e.find(i=>typeof i=="object"));return e.map(n)}function Pj(t,e){const n=Ml(t,e?.in);return n.setHours(0,0,0,0),n}function FNe(t,e,n){const[i,r]=xNe(n?.in,t,e),a=Pj(i),o=Pj(r),s=+a-Rj(a),l=+o-Rj(o);return Math.round((s-l)/SNe)}function CNe(t,e){const n=YZ(t,e),i=Tu(t,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),GN(i)}function _Ne(t,e,n){return wNe(t,e*12,n)}function ENe(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function BNe(t){return!(!ENe(t)&&typeof t!="number"||isNaN(+Ml(t)))}function TNe(t,e){const n=Ml(t,e?.in),i=n.getFullYear();return n.setFullYear(i+1,0,0),n.setHours(23,59,59,999),n}function XZ(t,e){const n=Ml(t,e?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const DNe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},INe=(t,e,n)=>{let i;const r=DNe[t];return typeof r=="string"?i=r:e===1?i=r.one:i=r.other.replace("{{count}}",e.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function QB(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const ONe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},RNe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},PNe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},LNe={date:QB({formats:ONe,defaultWidth:"full"}),time:QB({formats:RNe,defaultWidth:"full"}),dateTime:QB({formats:PNe,defaultWidth:"full"})},UNe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},MNe=(t,e,n,i)=>UNe[t];function ly(t){return(e,n)=>{const i=n?.context?String(n.context):"standalone";let r;if(i==="formatting"&&t.formattingValues){const o=t.defaultFormattingWidth||t.defaultWidth,s=n?.width?String(n.width):o;r=t.formattingValues[s]||t.formattingValues[o]}else{const o=t.defaultWidth,s=n?.width?String(n.width):t.defaultWidth;r=t.values[s]||t.values[o]}const a=t.argumentCallback?t.argumentCallback(e):e;return r[a]}}const $Ne={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},jNe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},QNe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},HNe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},zNe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},VNe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},GNe=(t,e)=>{const n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},qNe={ordinalNumber:GNe,era:ly({values:$Ne,defaultWidth:"wide"}),quarter:ly({values:jNe,defaultWidth:"wide",argumentCallback:t=>t-1}),month:ly({values:QNe,defaultWidth:"wide"}),day:ly({values:HNe,defaultWidth:"wide"}),dayPeriod:ly({values:zNe,defaultWidth:"wide",formattingValues:VNe,defaultFormattingWidth:"wide"})};function cy(t){return(e,n={})=>{const i=n.width,r=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],a=e.match(r);if(!a)return null;const o=a[0],s=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(s)?WNe(s,f=>f.test(o)):KNe(s,f=>f.test(o));let c;c=t.valueCallback?t.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const d=e.slice(o.length);return{value:c,rest:d}}}function KNe(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function WNe(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function YNe(t){return(e,n={})=>{const i=e.match(t.matchPattern);if(!i)return null;const r=i[0],a=e.match(t.parsePattern);if(!a)return null;let o=t.valueCallback?t.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;const s=e.slice(r.length);return{value:o,rest:s}}}const XNe=/^(\d+)(th|st|nd|rd)?/i,ZNe=/\d+/i,JNe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},exe={any:[/^b/i,/^(a|c)/i]},txe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},nxe={any:[/1/i,/2/i,/3/i,/4/i]},ixe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},rxe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},axe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},oxe={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},sxe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},lxe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},cxe={ordinalNumber:YNe({matchPattern:XNe,parsePattern:ZNe,valueCallback:t=>parseInt(t,10)}),era:cy({matchPatterns:JNe,defaultMatchWidth:"wide",parsePatterns:exe,defaultParseWidth:"any"}),quarter:cy({matchPatterns:txe,defaultMatchWidth:"wide",parsePatterns:nxe,defaultParseWidth:"any",valueCallback:t=>t+1}),month:cy({matchPatterns:ixe,defaultMatchWidth:"wide",parsePatterns:rxe,defaultParseWidth:"any"}),day:cy({matchPatterns:axe,defaultMatchWidth:"wide",parsePatterns:oxe,defaultParseWidth:"any"}),dayPeriod:cy({matchPatterns:sxe,defaultMatchWidth:"any",parsePatterns:lxe,defaultParseWidth:"any"})},dxe={code:"en-US",formatDistance:INe,formatLong:LNe,formatRelative:MNe,localize:qNe,match:cxe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function uxe(t,e){const n=Ml(t,e?.in);return FNe(n,XZ(n))+1}function fxe(t,e){const n=Ml(t,e?.in),i=+GN(n)-+CNe(n);return Math.round(i/WZ)+1}function ZZ(t,e){const n=Ml(t,e?.in),i=n.getFullYear(),r=EC(),a=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=Tu(e?.in||t,0);o.setFullYear(i+1,0,a),o.setHours(0,0,0,0);const s=Fk(o,e),l=Tu(e?.in||t,0);l.setFullYear(i,0,a),l.setHours(0,0,0,0);const c=Fk(l,e);return+n>=+s?i+1:+n>=+c?i:i-1}function Axe(t,e){const n=EC(),i=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,r=ZZ(t,e),a=Tu(e?.in||t,0);return a.setFullYear(r,0,i),a.setHours(0,0,0,0),Fk(a,e)}function mxe(t,e){const n=Ml(t,e?.in),i=+Fk(n,e)-+Axe(n,e);return Math.round(i/WZ)+1}function sr(t,e){const n=t<0?"-":"",i=Math.abs(t).toString().padStart(e,"0");return n+i}const IA={y(t,e){const n=t.getFullYear(),i=n>0?n:1-n;return sr(e==="yy"?i%100:i,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):sr(n+1,2)},d(t,e){return sr(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(t,e){return sr(t.getHours()%12||12,e.length)},H(t,e){return sr(t.getHours(),e.length)},m(t,e){return sr(t.getMinutes(),e.length)},s(t,e){return sr(t.getSeconds(),e.length)},S(t,e){const n=e.length,i=t.getMilliseconds(),r=Math.trunc(i*Math.pow(10,n-3));return sr(r,e.length)}},dg={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Lj={G:function(t,e,n){const i=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const i=t.getFullYear(),r=i>0?i:1-i;return n.ordinalNumber(r,{unit:"year"})}return IA.y(t,e)},Y:function(t,e,n,i){const r=ZZ(t,i),a=r>0?r:1-r;if(e==="YY"){const o=a%100;return sr(o,2)}return e==="Yo"?n.ordinalNumber(a,{unit:"year"}):sr(a,e.length)},R:function(t,e){const n=YZ(t);return sr(n,e.length)},u:function(t,e){const n=t.getFullYear();return sr(n,e.length)},Q:function(t,e,n){const i=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(i);case"QQ":return sr(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,e,n){const i=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(i);case"qq":return sr(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,e,n){const i=t.getMonth();switch(e){case"M":case"MM":return IA.M(t,e);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,e,n){const i=t.getMonth();switch(e){case"L":return String(i+1);case"LL":return sr(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,e,n,i){const r=mxe(t,i);return e==="wo"?n.ordinalNumber(r,{unit:"week"}):sr(r,e.length)},I:function(t,e,n){const i=fxe(t);return e==="Io"?n.ordinalNumber(i,{unit:"week"}):sr(i,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):IA.d(t,e)},D:function(t,e,n){const i=uxe(t);return e==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):sr(i,e.length)},E:function(t,e,n){const i=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,e,n,i){const r=t.getDay(),a=(r-i.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return sr(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,n,i){const r=t.getDay(),a=(r-i.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return sr(a,e.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,n){const i=t.getDay(),r=i===0?7:i;switch(e){case"i":return String(r);case"ii":return sr(r,e.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,e,n){const r=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){const i=t.getHours();let r;switch(i===12?r=dg.noon:i===0?r=dg.midnight:r=i/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){const i=t.getHours();let r;switch(i>=17?r=dg.evening:i>=12?r=dg.afternoon:i>=4?r=dg.morning:r=dg.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let i=t.getHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return IA.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):IA.H(t,e)},K:function(t,e,n){const i=t.getHours()%12;return e==="Ko"?n.ordinalNumber(i,{unit:"hour"}):sr(i,e.length)},k:function(t,e,n){let i=t.getHours();return i===0&&(i=24),e==="ko"?n.ordinalNumber(i,{unit:"hour"}):sr(i,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):IA.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):IA.s(t,e)},S:function(t,e){return IA.S(t,e)},X:function(t,e,n){const i=t.getTimezoneOffset();if(i===0)return"Z";switch(e){case"X":return Mj(i);case"XXXX":case"XX":return ch(i);default:return ch(i,":")}},x:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"x":return Mj(i);case"xxxx":case"xx":return ch(i);default:return ch(i,":")}},O:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Uj(i,":");default:return"GMT"+ch(i,":")}},z:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Uj(i,":");default:return"GMT"+ch(i,":")}},t:function(t,e,n){const i=Math.trunc(+t/1e3);return sr(i,e.length)},T:function(t,e,n){return sr(+t,e.length)}};function Uj(t,e=""){const n=t>0?"-":"+",i=Math.abs(t),r=Math.trunc(i/60),a=i%60;return a===0?n+String(r):n+String(r)+e+sr(a,2)}function Mj(t,e){return t%60===0?(t>0?"-":"+")+sr(Math.abs(t)/60,2):ch(t,e)}function ch(t,e=""){const n=t>0?"-":"+",i=Math.abs(t),r=sr(Math.trunc(i/60),2),a=sr(i%60,2);return n+r+e+a}const $j=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},JZ=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},hxe=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],i=n[1],r=n[2];if(!r)return $j(t,e);let a;switch(i){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",$j(i,e)).replace("{{time}}",JZ(r,e))},pxe={p:JZ,P:hxe},gxe=/^D+$/,vxe=/^Y+$/,yxe=["D","DD","YY","YYYY"];function kxe(t){return gxe.test(t)}function bxe(t){return vxe.test(t)}function Sxe(t,e,n){const i=wxe(t,e,n);if(console.warn(i),yxe.includes(t))throw new RangeError(i)}function wxe(t,e,n){const i=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Nxe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xxe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Fxe=/^'([^]*?)'?$/,Cxe=/''/g,_xe=/[a-zA-Z]/;function bd(t,e,n){const i=EC(),r=n?.locale??i.locale??dxe,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,s=Ml(t,n?.in);if(!BNe(s))throw new RangeError("Invalid time value");let l=e.match(xxe).map(d=>{const f=d[0];if(f==="p"||f==="P"){const h=pxe[f];return h(d,r.formatLong)}return d}).join("").match(Nxe).map(d=>{if(d==="''")return{isToken:!1,value:"'"};const f=d[0];if(f==="'")return{isToken:!1,value:Exe(d)};if(Lj[f])return{isToken:!0,value:d};if(f.match(_xe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:d}});r.localize.preprocessor&&(l=r.localize.preprocessor(s,l));const c={firstWeekContainsDate:a,weekStartsOn:o,locale:r};return l.map(d=>{if(!d.isToken)return d.value;const f=d.value;(!n?.useAdditionalWeekYearTokens&&bxe(f)||!n?.useAdditionalDayOfYearTokens&&kxe(f))&&Sxe(f,e,String(t));const h=Lj[f[0]];return h(s,f,r.localize,c)}).join("")}function Exe(t){const e=t.match(Fxe);return e?e[1].replace(Cxe,"'"):t}function Bxe(t,e,n){return _Ne(t,-1,n)}var dN={exports:{}},HB={},dy={},jj;function Txe(){if(jj)return dy;jj=1,dy.byteLength=s,dy.toByteArray=c,dy.fromByteArray=h;for(var t=[],e=[],n=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,a=i.length;r<a;++r)t[r]=i[r],e[i.charCodeAt(r)]=r;e[45]=62,e[95]=63;function o(m){var y=m.length;if(y%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var v=m.indexOf("=");v===-1&&(v=y);var b=v===y?0:4-v%4;return[v,b]}function s(m){var y=o(m),v=y[0],b=y[1];return(v+b)*3/4-b}function l(m,y,v){return(y+v)*3/4-v}function c(m){var y,v=o(m),b=v[0],k=v[1],w=new n(l(m,b,k)),x=0,F=k>0?b-4:b,C;for(C=0;C<F;C+=4)y=e[m.charCodeAt(C)]<<18|e[m.charCodeAt(C+1)]<<12|e[m.charCodeAt(C+2)]<<6|e[m.charCodeAt(C+3)],w[x++]=y>>16&255,w[x++]=y>>8&255,w[x++]=y&255;return k===2&&(y=e[m.charCodeAt(C)]<<2|e[m.charCodeAt(C+1)]>>4,w[x++]=y&255),k===1&&(y=e[m.charCodeAt(C)]<<10|e[m.charCodeAt(C+1)]<<4|e[m.charCodeAt(C+2)]>>2,w[x++]=y>>8&255,w[x++]=y&255),w}function d(m){return t[m>>18&63]+t[m>>12&63]+t[m>>6&63]+t[m&63]}function f(m,y,v){for(var b,k=[],w=y;w<v;w+=3)b=(m[w]<<16&16711680)+(m[w+1]<<8&65280)+(m[w+2]&255),k.push(d(b));return k.join("")}function h(m){for(var y,v=m.length,b=v%3,k=[],w=16383,x=0,F=v-b;x<F;x+=w)k.push(f(m,x,x+w>F?F:x+w));return b===1?(y=m[v-1],k.push(t[y>>2]+t[y<<4&63]+"==")):b===2&&(y=(m[v-2]<<8)+m[v-1],k.push(t[y>>10]+t[y>>4&63]+t[y<<2&63]+"=")),k.join("")}return dy}var NS={};var Qj;function Dxe(){return Qj||(Qj=1,NS.read=function(t,e,n,i,r){var a,o,s=r*8-i-1,l=(1<<s)-1,c=l>>1,d=-7,f=n?r-1:0,h=n?-1:1,m=t[e+f];for(f+=h,a=m&(1<<-d)-1,m>>=-d,d+=s;d>0;a=a*256+t[e+f],f+=h,d-=8);for(o=a&(1<<-d)-1,a>>=-d,d+=i;d>0;o=o*256+t[e+f],f+=h,d-=8);if(a===0)a=1-c;else{if(a===l)return o?NaN:(m?-1:1)*(1/0);o=o+Math.pow(2,i),a=a-c}return(m?-1:1)*o*Math.pow(2,a-i)},NS.write=function(t,e,n,i,r,a){var o,s,l,c=a*8-r-1,d=(1<<c)-1,f=d>>1,h=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:a-1,y=i?1:-1,v=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=d):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+f>=1?e+=h/l:e+=h*Math.pow(2,1-f),e*l>=2&&(o++,l/=2),o+f>=d?(s=0,o=d):o+f>=1?(s=(e*l-1)*Math.pow(2,r),o=o+f):(s=e*Math.pow(2,f-1)*Math.pow(2,r),o=0));r>=8;t[n+m]=s&255,m+=y,s/=256,r-=8);for(o=o<<r|s,c+=r;c>0;t[n+m]=o&255,m+=y,o/=256,c-=8);t[n+m-y]|=v*128}),NS}var Hj;function hb(){return Hj||(Hj=1,(function(t){var e=Txe(),n=Dxe(),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.SlowBuffer=w,t.INSPECT_MAX_BYTES=50;var r=2147483647;t.kMaxLength=r,s.TYPED_ARRAY_SUPPORT=a(),!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{var ue=new Uint8Array(1),Q={foo:function(){return 42}};return Object.setPrototypeOf(Q,Uint8Array.prototype),Object.setPrototypeOf(ue,Q),ue.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function o(ue){if(ue>r)throw new RangeError('The value "'+ue+'" is invalid for option "size"');var Q=new Uint8Array(ue);return Object.setPrototypeOf(Q,s.prototype),Q}function s(ue,Q,q){if(typeof ue=="number"){if(typeof Q=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(ue)}return l(ue,Q,q)}s.poolSize=8192;function l(ue,Q,q){if(typeof ue=="string")return h(ue,Q);if(ArrayBuffer.isView(ue))return y(ue);if(ue==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ue);if(Ee(ue,ArrayBuffer)||ue&&Ee(ue.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ee(ue,SharedArrayBuffer)||ue&&Ee(ue.buffer,SharedArrayBuffer)))return v(ue,Q,q);if(typeof ue=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ne=ue.valueOf&&ue.valueOf();if(ne!=null&&ne!==ue)return s.from(ne,Q,q);var Te=b(ue);if(Te)return Te;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ue[Symbol.toPrimitive]=="function")return s.from(ue[Symbol.toPrimitive]("string"),Q,q);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ue)}s.from=function(ue,Q,q){return l(ue,Q,q)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function c(ue){if(typeof ue!="number")throw new TypeError('"size" argument must be of type number');if(ue<0)throw new RangeError('The value "'+ue+'" is invalid for option "size"')}function d(ue,Q,q){return c(ue),ue<=0?o(ue):Q!==void 0?typeof q=="string"?o(ue).fill(Q,q):o(ue).fill(Q):o(ue)}s.alloc=function(ue,Q,q){return d(ue,Q,q)};function f(ue){return c(ue),o(ue<0?0:k(ue)|0)}s.allocUnsafe=function(ue){return f(ue)},s.allocUnsafeSlow=function(ue){return f(ue)};function h(ue,Q){if((typeof Q!="string"||Q==="")&&(Q="utf8"),!s.isEncoding(Q))throw new TypeError("Unknown encoding: "+Q);var q=x(ue,Q)|0,ne=o(q),Te=ne.write(ue,Q);return Te!==q&&(ne=ne.slice(0,Te)),ne}function m(ue){for(var Q=ue.length<0?0:k(ue.length)|0,q=o(Q),ne=0;ne<Q;ne+=1)q[ne]=ue[ne]&255;return q}function y(ue){if(Ee(ue,Uint8Array)){var Q=new Uint8Array(ue);return v(Q.buffer,Q.byteOffset,Q.byteLength)}return m(ue)}function v(ue,Q,q){if(Q<0||ue.byteLength<Q)throw new RangeError('"offset" is outside of buffer bounds');if(ue.byteLength<Q+(q||0))throw new RangeError('"length" is outside of buffer bounds');var ne;return Q===void 0&&q===void 0?ne=new Uint8Array(ue):q===void 0?ne=new Uint8Array(ue,Q):ne=new Uint8Array(ue,Q,q),Object.setPrototypeOf(ne,s.prototype),ne}function b(ue){if(s.isBuffer(ue)){var Q=k(ue.length)|0,q=o(Q);return q.length===0||ue.copy(q,0,0,Q),q}if(ue.length!==void 0)return typeof ue.length!="number"||Me(ue.length)?o(0):m(ue);if(ue.type==="Buffer"&&Array.isArray(ue.data))return m(ue.data)}function k(ue){if(ue>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return ue|0}function w(ue){return+ue!=ue&&(ue=0),s.alloc(+ue)}s.isBuffer=function(Q){return Q!=null&&Q._isBuffer===!0&&Q!==s.prototype},s.compare=function(Q,q){if(Ee(Q,Uint8Array)&&(Q=s.from(Q,Q.offset,Q.byteLength)),Ee(q,Uint8Array)&&(q=s.from(q,q.offset,q.byteLength)),!s.isBuffer(Q)||!s.isBuffer(q))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Q===q)return 0;for(var ne=Q.length,Te=q.length,me=0,ye=Math.min(ne,Te);me<ye;++me)if(Q[me]!==q[me]){ne=Q[me],Te=q[me];break}return ne<Te?-1:Te<ne?1:0},s.isEncoding=function(Q){switch(String(Q).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(Q,q){if(!Array.isArray(Q))throw new TypeError('"list" argument must be an Array of Buffers');if(Q.length===0)return s.alloc(0);var ne;if(q===void 0)for(q=0,ne=0;ne<Q.length;++ne)q+=Q[ne].length;var Te=s.allocUnsafe(q),me=0;for(ne=0;ne<Q.length;++ne){var ye=Q[ne];if(Ee(ye,Uint8Array))me+ye.length>Te.length?s.from(ye).copy(Te,me):Uint8Array.prototype.set.call(Te,ye,me);else if(s.isBuffer(ye))ye.copy(Te,me);else throw new TypeError('"list" argument must be an Array of Buffers');me+=ye.length}return Te};function x(ue,Q){if(s.isBuffer(ue))return ue.length;if(ArrayBuffer.isView(ue)||Ee(ue,ArrayBuffer))return ue.byteLength;if(typeof ue!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ue);var q=ue.length,ne=arguments.length>2&&arguments[2]===!0;if(!ne&&q===0)return 0;for(var Te=!1;;)switch(Q){case"ascii":case"latin1":case"binary":return q;case"utf8":case"utf-8":return fe(ue).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q*2;case"hex":return q>>>1;case"base64":return ae(ue).length;default:if(Te)return ne?-1:fe(ue).length;Q=(""+Q).toLowerCase(),Te=!0}}s.byteLength=x;function F(ue,Q,q){var ne=!1;if((Q===void 0||Q<0)&&(Q=0),Q>this.length||((q===void 0||q>this.length)&&(q=this.length),q<=0)||(q>>>=0,Q>>>=0,q<=Q))return"";for(ue||(ue="utf8");;)switch(ue){case"hex":return de(this,Q,q);case"utf8":case"utf-8":return K(this,Q,q);case"ascii":return te(this,Q,q);case"latin1":case"binary":return X(this,Q,q);case"base64":return ee(this,Q,q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xe(this,Q,q);default:if(ne)throw new TypeError("Unknown encoding: "+ue);ue=(ue+"").toLowerCase(),ne=!0}}s.prototype._isBuffer=!0;function C(ue,Q,q){var ne=ue[Q];ue[Q]=ue[q],ue[q]=ne}s.prototype.swap16=function(){var Q=this.length;if(Q%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var q=0;q<Q;q+=2)C(this,q,q+1);return this},s.prototype.swap32=function(){var Q=this.length;if(Q%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var q=0;q<Q;q+=4)C(this,q,q+3),C(this,q+1,q+2);return this},s.prototype.swap64=function(){var Q=this.length;if(Q%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var q=0;q<Q;q+=8)C(this,q,q+7),C(this,q+1,q+6),C(this,q+2,q+5),C(this,q+3,q+4);return this},s.prototype.toString=function(){var Q=this.length;return Q===0?"":arguments.length===0?K(this,0,Q):F.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(Q){if(!s.isBuffer(Q))throw new TypeError("Argument must be a Buffer");return this===Q?!0:s.compare(this,Q)===0},s.prototype.inspect=function(){var Q="",q=t.INSPECT_MAX_BYTES;return Q=this.toString("hex",0,q).replace(/(.{2})/g,"$1 ").trim(),this.length>q&&(Q+=" ... "),"<Buffer "+Q+">"},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(Q,q,ne,Te,me){if(Ee(Q,Uint8Array)&&(Q=s.from(Q,Q.offset,Q.byteLength)),!s.isBuffer(Q))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Q);if(q===void 0&&(q=0),ne===void 0&&(ne=Q?Q.length:0),Te===void 0&&(Te=0),me===void 0&&(me=this.length),q<0||ne>Q.length||Te<0||me>this.length)throw new RangeError("out of range index");if(Te>=me&&q>=ne)return 0;if(Te>=me)return-1;if(q>=ne)return 1;if(q>>>=0,ne>>>=0,Te>>>=0,me>>>=0,this===Q)return 0;for(var ye=me-Te,De=ne-q,qe=Math.min(ye,De),Ve=this.slice(Te,me),Qe=Q.slice(q,ne),Je=0;Je<qe;++Je)if(Ve[Je]!==Qe[Je]){ye=Ve[Je],De=Qe[Je];break}return ye<De?-1:De<ye?1:0};function D(ue,Q,q,ne,Te){if(ue.length===0)return-1;if(typeof q=="string"?(ne=q,q=0):q>2147483647?q=2147483647:q<-2147483648&&(q=-2147483648),q=+q,Me(q)&&(q=Te?0:ue.length-1),q<0&&(q=ue.length+q),q>=ue.length){if(Te)return-1;q=ue.length-1}else if(q<0)if(Te)q=0;else return-1;if(typeof Q=="string"&&(Q=s.from(Q,ne)),s.isBuffer(Q))return Q.length===0?-1:B(ue,Q,q,ne,Te);if(typeof Q=="number")return Q=Q&255,typeof Uint8Array.prototype.indexOf=="function"?Te?Uint8Array.prototype.indexOf.call(ue,Q,q):Uint8Array.prototype.lastIndexOf.call(ue,Q,q):B(ue,[Q],q,ne,Te);throw new TypeError("val must be string, number or Buffer")}function B(ue,Q,q,ne,Te){var me=1,ye=ue.length,De=Q.length;if(ne!==void 0&&(ne=String(ne).toLowerCase(),ne==="ucs2"||ne==="ucs-2"||ne==="utf16le"||ne==="utf-16le")){if(ue.length<2||Q.length<2)return-1;me=2,ye/=2,De/=2,q/=2}function qe(ut,Ae){return me===1?ut[Ae]:ut.readUInt16BE(Ae*me)}var Ve;if(Te){var Qe=-1;for(Ve=q;Ve<ye;Ve++)if(qe(ue,Ve)===qe(Q,Qe===-1?0:Ve-Qe)){if(Qe===-1&&(Qe=Ve),Ve-Qe+1===De)return Qe*me}else Qe!==-1&&(Ve-=Ve-Qe),Qe=-1}else for(q+De>ye&&(q=ye-De),Ve=q;Ve>=0;Ve--){for(var Je=!0,dt=0;dt<De;dt++)if(qe(ue,Ve+dt)!==qe(Q,dt)){Je=!1;break}if(Je)return Ve}return-1}s.prototype.includes=function(Q,q,ne){return this.indexOf(Q,q,ne)!==-1},s.prototype.indexOf=function(Q,q,ne){return D(this,Q,q,ne,!0)},s.prototype.lastIndexOf=function(Q,q,ne){return D(this,Q,q,ne,!1)};function R(ue,Q,q,ne){q=Number(q)||0;var Te=ue.length-q;ne?(ne=Number(ne),ne>Te&&(ne=Te)):ne=Te;var me=Q.length;ne>me/2&&(ne=me/2);for(var ye=0;ye<ne;++ye){var De=parseInt(Q.substr(ye*2,2),16);if(Me(De))return ye;ue[q+ye]=De}return ye}function O(ue,Q,q,ne){return se(fe(Q,ue.length-q),ue,q,ne)}function V(ue,Q,q,ne){return se(ve(Q),ue,q,ne)}function U(ue,Q,q,ne){return se(ae(Q),ue,q,ne)}function P(ue,Q,q,ne){return se(Se(Q,ue.length-q),ue,q,ne)}s.prototype.write=function(Q,q,ne,Te){if(q===void 0)Te="utf8",ne=this.length,q=0;else if(ne===void 0&&typeof q=="string")Te=q,ne=this.length,q=0;else if(isFinite(q))q=q>>>0,isFinite(ne)?(ne=ne>>>0,Te===void 0&&(Te="utf8")):(Te=ne,ne=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var me=this.length-q;if((ne===void 0||ne>me)&&(ne=me),Q.length>0&&(ne<0||q<0)||q>this.length)throw new RangeError("Attempt to write outside buffer bounds");Te||(Te="utf8");for(var ye=!1;;)switch(Te){case"hex":return R(this,Q,q,ne);case"utf8":case"utf-8":return O(this,Q,q,ne);case"ascii":case"latin1":case"binary":return V(this,Q,q,ne);case"base64":return U(this,Q,q,ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,Q,q,ne);default:if(ye)throw new TypeError("Unknown encoding: "+Te);Te=(""+Te).toLowerCase(),ye=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ee(ue,Q,q){return Q===0&&q===ue.length?e.fromByteArray(ue):e.fromByteArray(ue.slice(Q,q))}function K(ue,Q,q){q=Math.min(ue.length,q);for(var ne=[],Te=Q;Te<q;){var me=ue[Te],ye=null,De=me>239?4:me>223?3:me>191?2:1;if(Te+De<=q){var qe,Ve,Qe,Je;switch(De){case 1:me<128&&(ye=me);break;case 2:qe=ue[Te+1],(qe&192)===128&&(Je=(me&31)<<6|qe&63,Je>127&&(ye=Je));break;case 3:qe=ue[Te+1],Ve=ue[Te+2],(qe&192)===128&&(Ve&192)===128&&(Je=(me&15)<<12|(qe&63)<<6|Ve&63,Je>2047&&(Je<55296||Je>57343)&&(ye=Je));break;case 4:qe=ue[Te+1],Ve=ue[Te+2],Qe=ue[Te+3],(qe&192)===128&&(Ve&192)===128&&(Qe&192)===128&&(Je=(me&15)<<18|(qe&63)<<12|(Ve&63)<<6|Qe&63,Je>65535&&Je<1114112&&(ye=Je))}}ye===null?(ye=65533,De=1):ye>65535&&(ye-=65536,ne.push(ye>>>10&1023|55296),ye=56320|ye&1023),ne.push(ye),Te+=De}return H(ne)}var le=4096;function H(ue){var Q=ue.length;if(Q<=le)return String.fromCharCode.apply(String,ue);for(var q="",ne=0;ne<Q;)q+=String.fromCharCode.apply(String,ue.slice(ne,ne+=le));return q}function te(ue,Q,q){var ne="";q=Math.min(ue.length,q);for(var Te=Q;Te<q;++Te)ne+=String.fromCharCode(ue[Te]&127);return ne}function X(ue,Q,q){var ne="";q=Math.min(ue.length,q);for(var Te=Q;Te<q;++Te)ne+=String.fromCharCode(ue[Te]);return ne}function de(ue,Q,q){var ne=ue.length;(!Q||Q<0)&&(Q=0),(!q||q<0||q>ne)&&(q=ne);for(var Te="",me=Q;me<q;++me)Te+=ge[ue[me]];return Te}function xe(ue,Q,q){for(var ne=ue.slice(Q,q),Te="",me=0;me<ne.length-1;me+=2)Te+=String.fromCharCode(ne[me]+ne[me+1]*256);return Te}s.prototype.slice=function(Q,q){var ne=this.length;Q=~~Q,q=q===void 0?ne:~~q,Q<0?(Q+=ne,Q<0&&(Q=0)):Q>ne&&(Q=ne),q<0?(q+=ne,q<0&&(q=0)):q>ne&&(q=ne),q<Q&&(q=Q);var Te=this.subarray(Q,q);return Object.setPrototypeOf(Te,s.prototype),Te};function re(ue,Q,q){if(ue%1!==0||ue<0)throw new RangeError("offset is not uint");if(ue+Q>q)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(Q,q,ne){Q=Q>>>0,q=q>>>0,ne||re(Q,q,this.length);for(var Te=this[Q],me=1,ye=0;++ye<q&&(me*=256);)Te+=this[Q+ye]*me;return Te},s.prototype.readUintBE=s.prototype.readUIntBE=function(Q,q,ne){Q=Q>>>0,q=q>>>0,ne||re(Q,q,this.length);for(var Te=this[Q+--q],me=1;q>0&&(me*=256);)Te+=this[Q+--q]*me;return Te},s.prototype.readUint8=s.prototype.readUInt8=function(Q,q){return Q=Q>>>0,q||re(Q,1,this.length),this[Q]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(Q,q){return Q=Q>>>0,q||re(Q,2,this.length),this[Q]|this[Q+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(Q,q){return Q=Q>>>0,q||re(Q,2,this.length),this[Q]<<8|this[Q+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(Q,q){return Q=Q>>>0,q||re(Q,4,this.length),(this[Q]|this[Q+1]<<8|this[Q+2]<<16)+this[Q+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(Q,q){return Q=Q>>>0,q||re(Q,4,this.length),this[Q]*16777216+(this[Q+1]<<16|this[Q+2]<<8|this[Q+3])},s.prototype.readIntLE=function(Q,q,ne){Q=Q>>>0,q=q>>>0,ne||re(Q,q,this.length);for(var Te=this[Q],me=1,ye=0;++ye<q&&(me*=256);)Te+=this[Q+ye]*me;return me*=128,Te>=me&&(Te-=Math.pow(2,8*q)),Te},s.prototype.readIntBE=function(Q,q,ne){Q=Q>>>0,q=q>>>0,ne||re(Q,q,this.length);for(var Te=q,me=1,ye=this[Q+--Te];Te>0&&(me*=256);)ye+=this[Q+--Te]*me;return me*=128,ye>=me&&(ye-=Math.pow(2,8*q)),ye},s.prototype.readInt8=function(Q,q){return Q=Q>>>0,q||re(Q,1,this.length),this[Q]&128?(255-this[Q]+1)*-1:this[Q]},s.prototype.readInt16LE=function(Q,q){Q=Q>>>0,q||re(Q,2,this.length);var ne=this[Q]|this[Q+1]<<8;return ne&32768?ne|4294901760:ne},s.prototype.readInt16BE=function(Q,q){Q=Q>>>0,q||re(Q,2,this.length);var ne=this[Q+1]|this[Q]<<8;return ne&32768?ne|4294901760:ne},s.prototype.readInt32LE=function(Q,q){return Q=Q>>>0,q||re(Q,4,this.length),this[Q]|this[Q+1]<<8|this[Q+2]<<16|this[Q+3]<<24},s.prototype.readInt32BE=function(Q,q){return Q=Q>>>0,q||re(Q,4,this.length),this[Q]<<24|this[Q+1]<<16|this[Q+2]<<8|this[Q+3]},s.prototype.readFloatLE=function(Q,q){return Q=Q>>>0,q||re(Q,4,this.length),n.read(this,Q,!0,23,4)},s.prototype.readFloatBE=function(Q,q){return Q=Q>>>0,q||re(Q,4,this.length),n.read(this,Q,!1,23,4)},s.prototype.readDoubleLE=function(Q,q){return Q=Q>>>0,q||re(Q,8,this.length),n.read(this,Q,!0,52,8)},s.prototype.readDoubleBE=function(Q,q){return Q=Q>>>0,q||re(Q,8,this.length),n.read(this,Q,!1,52,8)};function L(ue,Q,q,ne,Te,me){if(!s.isBuffer(ue))throw new TypeError('"buffer" argument must be a Buffer instance');if(Q>Te||Q<me)throw new RangeError('"value" argument is out of bounds');if(q+ne>ue.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(Q,q,ne,Te){if(Q=+Q,q=q>>>0,ne=ne>>>0,!Te){var me=Math.pow(2,8*ne)-1;L(this,Q,q,ne,me,0)}var ye=1,De=0;for(this[q]=Q&255;++De<ne&&(ye*=256);)this[q+De]=Q/ye&255;return q+ne},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(Q,q,ne,Te){if(Q=+Q,q=q>>>0,ne=ne>>>0,!Te){var me=Math.pow(2,8*ne)-1;L(this,Q,q,ne,me,0)}var ye=ne-1,De=1;for(this[q+ye]=Q&255;--ye>=0&&(De*=256);)this[q+ye]=Q/De&255;return q+ne},s.prototype.writeUint8=s.prototype.writeUInt8=function(Q,q,ne){return Q=+Q,q=q>>>0,ne||L(this,Q,q,1,255,0),this[q]=Q&255,q+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(Q,q,ne){return Q=+Q,q=q>>>0,ne||L(this,Q,q,2,65535,0),this[q]=Q&255,this[q+1]=Q>>>8,q+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(Q,q,ne){return Q=+Q,q=q>>>0,ne||L(this,Q,q,2,65535,0),this[q]=Q>>>8,this[q+1]=Q&255,q+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(Q,q,ne){return Q=+Q,q=q>>>0,ne||L(this,Q,q,4,4294967295,0),this[q+3]=Q>>>24,this[q+2]=Q>>>16,this[q+1]=Q>>>8,this[q]=Q&255,q+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(Q,q,ne){return Q=+Q,q=q>>>0,ne||L(this,Q,q,4,4294967295,0),this[q]=Q>>>24,this[q+1]=Q>>>16,this[q+2]=Q>>>8,this[q+3]=Q&255,q+4},s.prototype.writeIntLE=function(Q,q,ne,Te){if(Q=+Q,q=q>>>0,!Te){var me=Math.pow(2,8*ne-1);L(this,Q,q,ne,me-1,-me)}var ye=0,De=1,qe=0;for(this[q]=Q&255;++ye<ne&&(De*=256);)Q<0&&qe===0&&this[q+ye-1]!==0&&(qe=1),this[q+ye]=(Q/De>>0)-qe&255;return q+ne},s.prototype.writeIntBE=function(Q,q,ne,Te){if(Q=+Q,q=q>>>0,!Te){var me=Math.pow(2,8*ne-1);L(this,Q,q,ne,me-1,-me)}var ye=ne-1,De=1,qe=0;for(this[q+ye]=Q&255;--ye>=0&&(De*=256);)Q<0&&qe===0&&this[q+ye+1]!==0&&(qe=1),this[q+ye]=(Q/De>>0)-qe&255;return q+ne},s.prototype.writeInt8=function(Q,q,ne){return Q=+Q,q=q>>>0,ne||L(this,Q,q,1,127,-128),Q<0&&(Q=255+Q+1),this[q]=Q&255,q+1},s.prototype.writeInt16LE=function(Q,q,ne){return Q=+Q,q=q>>>0,ne||L(this,Q,q,2,32767,-32768),this[q]=Q&255,this[q+1]=Q>>>8,q+2},s.prototype.writeInt16BE=function(Q,q,ne){return Q=+Q,q=q>>>0,ne||L(this,Q,q,2,32767,-32768),this[q]=Q>>>8,this[q+1]=Q&255,q+2},s.prototype.writeInt32LE=function(Q,q,ne){return Q=+Q,q=q>>>0,ne||L(this,Q,q,4,2147483647,-2147483648),this[q]=Q&255,this[q+1]=Q>>>8,this[q+2]=Q>>>16,this[q+3]=Q>>>24,q+4},s.prototype.writeInt32BE=function(Q,q,ne){return Q=+Q,q=q>>>0,ne||L(this,Q,q,4,2147483647,-2147483648),Q<0&&(Q=4294967295+Q+1),this[q]=Q>>>24,this[q+1]=Q>>>16,this[q+2]=Q>>>8,this[q+3]=Q&255,q+4};function j(ue,Q,q,ne,Te,me){if(q+ne>ue.length)throw new RangeError("Index out of range");if(q<0)throw new RangeError("Index out of range")}function $(ue,Q,q,ne,Te){return Q=+Q,q=q>>>0,Te||j(ue,Q,q,4),n.write(ue,Q,q,ne,23,4),q+4}s.prototype.writeFloatLE=function(Q,q,ne){return $(this,Q,q,!0,ne)},s.prototype.writeFloatBE=function(Q,q,ne){return $(this,Q,q,!1,ne)};function Y(ue,Q,q,ne,Te){return Q=+Q,q=q>>>0,Te||j(ue,Q,q,8),n.write(ue,Q,q,ne,52,8),q+8}s.prototype.writeDoubleLE=function(Q,q,ne){return Y(this,Q,q,!0,ne)},s.prototype.writeDoubleBE=function(Q,q,ne){return Y(this,Q,q,!1,ne)},s.prototype.copy=function(Q,q,ne,Te){if(!s.isBuffer(Q))throw new TypeError("argument should be a Buffer");if(ne||(ne=0),!Te&&Te!==0&&(Te=this.length),q>=Q.length&&(q=Q.length),q||(q=0),Te>0&&Te<ne&&(Te=ne),Te===ne||Q.length===0||this.length===0)return 0;if(q<0)throw new RangeError("targetStart out of bounds");if(ne<0||ne>=this.length)throw new RangeError("Index out of range");if(Te<0)throw new RangeError("sourceEnd out of bounds");Te>this.length&&(Te=this.length),Q.length-q<Te-ne&&(Te=Q.length-q+ne);var me=Te-ne;return this===Q&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(q,ne,Te):Uint8Array.prototype.set.call(Q,this.subarray(ne,Te),q),me},s.prototype.fill=function(Q,q,ne,Te){if(typeof Q=="string"){if(typeof q=="string"?(Te=q,q=0,ne=this.length):typeof ne=="string"&&(Te=ne,ne=this.length),Te!==void 0&&typeof Te!="string")throw new TypeError("encoding must be a string");if(typeof Te=="string"&&!s.isEncoding(Te))throw new TypeError("Unknown encoding: "+Te);if(Q.length===1){var me=Q.charCodeAt(0);(Te==="utf8"&&me<128||Te==="latin1")&&(Q=me)}}else typeof Q=="number"?Q=Q&255:typeof Q=="boolean"&&(Q=Number(Q));if(q<0||this.length<q||this.length<ne)throw new RangeError("Out of range index");if(ne<=q)return this;q=q>>>0,ne=ne===void 0?this.length:ne>>>0,Q||(Q=0);var ye;if(typeof Q=="number")for(ye=q;ye<ne;++ye)this[ye]=Q;else{var De=s.isBuffer(Q)?Q:s.from(Q,Te),qe=De.length;if(qe===0)throw new TypeError('The value "'+Q+'" is invalid for argument "value"');for(ye=0;ye<ne-q;++ye)this[ye+q]=De[ye%qe]}return this};var Z=/[^+/0-9A-Za-z-_]/g;function W(ue){if(ue=ue.split("=")[0],ue=ue.trim().replace(Z,""),ue.length<2)return"";for(;ue.length%4!==0;)ue=ue+"=";return ue}function fe(ue,Q){Q=Q||1/0;for(var q,ne=ue.length,Te=null,me=[],ye=0;ye<ne;++ye){if(q=ue.charCodeAt(ye),q>55295&&q<57344){if(!Te){if(q>56319){(Q-=3)>-1&&me.push(239,191,189);continue}else if(ye+1===ne){(Q-=3)>-1&&me.push(239,191,189);continue}Te=q;continue}if(q<56320){(Q-=3)>-1&&me.push(239,191,189),Te=q;continue}q=(Te-55296<<10|q-56320)+65536}else Te&&(Q-=3)>-1&&me.push(239,191,189);if(Te=null,q<128){if((Q-=1)<0)break;me.push(q)}else if(q<2048){if((Q-=2)<0)break;me.push(q>>6|192,q&63|128)}else if(q<65536){if((Q-=3)<0)break;me.push(q>>12|224,q>>6&63|128,q&63|128)}else if(q<1114112){if((Q-=4)<0)break;me.push(q>>18|240,q>>12&63|128,q>>6&63|128,q&63|128)}else throw new Error("Invalid code point")}return me}function ve(ue){for(var Q=[],q=0;q<ue.length;++q)Q.push(ue.charCodeAt(q)&255);return Q}function Se(ue,Q){for(var q,ne,Te,me=[],ye=0;ye<ue.length&&!((Q-=2)<0);++ye)q=ue.charCodeAt(ye),ne=q>>8,Te=q%256,me.push(Te),me.push(ne);return me}function ae(ue){return e.toByteArray(W(ue))}function se(ue,Q,q,ne){for(var Te=0;Te<ne&&!(Te+q>=Q.length||Te>=ue.length);++Te)Q[Te+q]=ue[Te];return Te}function Ee(ue,Q){return ue instanceof Q||ue!=null&&ue.constructor!=null&&ue.constructor.name!=null&&ue.constructor.name===Q.name}function Me(ue){return ue!==ue}var ge=(function(){for(var ue="0123456789abcdef",Q=new Array(256),q=0;q<16;++q)for(var ne=q*16,Te=0;Te<16;++Te)Q[ne+Te]=ue[q]+ue[Te];return Q})()})(HB)),HB}var zB,zj;function bm(){if(zj)return zB;zj=1;var t=hb(),e=t.Buffer,n={},i;for(i in t)t.hasOwnProperty(i)&&(i==="SlowBuffer"||i==="Buffer"||(n[i]=t[i]));var r=n.Buffer={};for(i in e)e.hasOwnProperty(i)&&(i==="allocUnsafe"||i==="allocUnsafeSlow"||(r[i]=e[i]));if(n.Buffer.prototype=e.prototype,(!r.from||r.from===Uint8Array.from)&&(r.from=function(a,o,s){if(typeof a=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof a);if(a&&typeof a.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof a);return e(a,o,s)}),r.alloc||(r.alloc=function(a,o,s){if(typeof a!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof a);if(a<0||a>=2*(1<<30))throw new RangeError('The value "'+a+'" is invalid for option "size"');var l=e(a);return!o||o.length===0?l.fill(0):typeof s=="string"?l.fill(o,s):l.fill(o),l}),!n.kStringMaxLength)try{n.kStringMaxLength=bn.binding("buffer").kStringMaxLength}catch{}return n.constants||(n.constants={MAX_LENGTH:n.kMaxLength},n.kStringMaxLength&&(n.constants.MAX_STRING_LENGTH=n.kStringMaxLength)),zB=n,zB}var xS={},Vj;function Ixe(){if(Vj)return xS;Vj=1;var t="\uFEFF";xS.PrependBOM=e;function e(i,r){this.encoder=i,this.addBOM=!0}e.prototype.write=function(i){return this.addBOM&&(i=t+i,this.addBOM=!1),this.encoder.write(i)},e.prototype.end=function(){return this.encoder.end()},xS.StripBOM=n;function n(i,r){this.decoder=i,this.pass=!1,this.options=r||{}}return n.prototype.write=function(i){var r=this.decoder.write(i);return this.pass||!r||(r[0]===t&&(r=r.slice(1),typeof this.options.stripBOM=="function"&&this.options.stripBOM()),this.pass=!0),r},n.prototype.end=function(){return this.decoder.end()},xS}var VB,Gj;function eJ(){if(Gj)return VB;Gj=1;var t=typeof Object.hasOwn>"u"?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;function e(n,i){for(var r in i)t(i,r)&&(n[r]=i[r])}return VB=e,VB}var GB={},qB={},FS={exports:{}};var qj;function Oxe(){return qj||(qj=1,(function(t,e){var n=hb(),i=n.Buffer;function r(o,s){for(var l in o)s[l]=o[l]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(r(n,e),e.Buffer=a);function a(o,s,l){return i(o,s,l)}a.prototype=Object.create(i.prototype),r(i,a),a.from=function(o,s,l){if(typeof o=="number")throw new TypeError("Argument must not be a number");return i(o,s,l)},a.alloc=function(o,s,l){if(typeof o!="number")throw new TypeError("Argument must be a number");var c=i(o);return s!==void 0?typeof l=="string"?c.fill(s,l):c.fill(s):c.fill(0),c},a.allocUnsafe=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return i(o)},a.allocUnsafeSlow=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(o)}})(FS,FS.exports)),FS.exports}var Kj;function TI(){if(Kj)return qB;Kj=1;var t=Oxe().Buffer,e=t.isEncoding||function(k){switch(k=""+k,k&&k.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(k){if(!k)return"utf8";for(var w;;)switch(k){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return k;default:if(w)return;k=(""+k).toLowerCase(),w=!0}}function i(k){var w=n(k);if(typeof w!="string"&&(t.isEncoding===e||!e(k)))throw new Error("Unknown encoding: "+k);return w||k}qB.StringDecoder=r;function r(k){this.encoding=i(k);var w;switch(this.encoding){case"utf16le":this.text=f,this.end=h,w=4;break;case"utf8":this.fillLast=l,w=4;break;case"base64":this.text=m,this.end=y,w=3;break;default:this.write=v,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(w)}r.prototype.write=function(k){if(k.length===0)return"";var w,x;if(this.lastNeed){if(w=this.fillLast(k),w===void 0)return"";x=this.lastNeed,this.lastNeed=0}else x=0;return x<k.length?w?w+this.text(k,x):this.text(k,x):w||""},r.prototype.end=d,r.prototype.text=c,r.prototype.fillLast=function(k){if(this.lastNeed<=k.length)return k.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);k.copy(this.lastChar,this.lastTotal-this.lastNeed,0,k.length),this.lastNeed-=k.length};function a(k){return k<=127?0:k>>5===6?2:k>>4===14?3:k>>3===30?4:k>>6===2?-1:-2}function o(k,w,x){var F=w.length-1;if(F<x)return 0;var C=a(w[F]);return C>=0?(C>0&&(k.lastNeed=C-1),C):--F<x||C===-2?0:(C=a(w[F]),C>=0?(C>0&&(k.lastNeed=C-2),C):--F<x||C===-2?0:(C=a(w[F]),C>=0?(C>0&&(C===2?C=0:k.lastNeed=C-3),C):0))}function s(k,w,x){if((w[0]&192)!==128)return k.lastNeed=0,"�";if(k.lastNeed>1&&w.length>1){if((w[1]&192)!==128)return k.lastNeed=1,"�";if(k.lastNeed>2&&w.length>2&&(w[2]&192)!==128)return k.lastNeed=2,"�"}}function l(k){var w=this.lastTotal-this.lastNeed,x=s(this,k);if(x!==void 0)return x;if(this.lastNeed<=k.length)return k.copy(this.lastChar,w,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);k.copy(this.lastChar,w,0,k.length),this.lastNeed-=k.length}function c(k,w){var x=o(this,k,w);if(!this.lastNeed)return k.toString("utf8",w);this.lastTotal=x;var F=k.length-(x-this.lastNeed);return k.copy(this.lastChar,0,F),k.toString("utf8",w,F)}function d(k){var w=k&&k.length?this.write(k):"";return this.lastNeed?w+"�":w}function f(k,w){if((k.length-w)%2===0){var x=k.toString("utf16le",w);if(x){var F=x.charCodeAt(x.length-1);if(F>=55296&&F<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=k[k.length-2],this.lastChar[1]=k[k.length-1],x.slice(0,-1)}return x}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=k[k.length-1],k.toString("utf16le",w,k.length-1)}function h(k){var w=k&&k.length?this.write(k):"";if(this.lastNeed){var x=this.lastTotal-this.lastNeed;return w+this.lastChar.toString("utf16le",0,x)}return w}function m(k,w){var x=(k.length-w)%3;return x===0?k.toString("base64",w):(this.lastNeed=3-x,this.lastTotal=3,x===1?this.lastChar[0]=k[k.length-1]:(this.lastChar[0]=k[k.length-2],this.lastChar[1]=k[k.length-1]),k.toString("base64",w,k.length-x))}function y(k){var w=k&&k.length?this.write(k):"";return this.lastNeed?w+this.lastChar.toString("base64",0,3-this.lastNeed):w}function v(k){return k.toString(this.encoding)}function b(k){return k&&k.length?this.write(k):""}return qB}var KB,Wj;function Rxe(){if(Wj)return KB;Wj=1;var t=bm().Buffer;KB={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:e};function e(c,d){this.enc=c.encodingName,this.bomAware=c.bomAware,this.enc==="base64"?this.encoder=a:this.enc==="utf8"?this.encoder=l:this.enc==="cesu8"&&(this.enc="utf8",this.encoder=o,t.from("eda0bdedb2a9","hex").toString()!=="💩"&&(this.decoder=s,this.defaultCharUnicode=d.defaultCharUnicode))}e.prototype.encoder=r,e.prototype.decoder=i;var n=TI().StringDecoder;function i(c,d){this.decoder=new n(d.enc)}i.prototype.write=function(c){return t.isBuffer(c)||(c=t.from(c)),this.decoder.write(c)},i.prototype.end=function(){return this.decoder.end()};function r(c,d){this.enc=d.enc}r.prototype.write=function(c){return t.from(c,this.enc)},r.prototype.end=function(){};function a(c,d){this.prevStr=""}a.prototype.write=function(c){c=this.prevStr+c;var d=c.length-c.length%4;return this.prevStr=c.slice(d),c=c.slice(0,d),t.from(c,"base64")},a.prototype.end=function(){return t.from(this.prevStr,"base64")};function o(c,d){}o.prototype.write=function(c){for(var d=t.alloc(c.length*3),f=0,h=0;h<c.length;h++){var m=c.charCodeAt(h);m<128?d[f++]=m:m<2048?(d[f++]=192+(m>>>6),d[f++]=128+(m&63)):(d[f++]=224+(m>>>12),d[f++]=128+(m>>>6&63),d[f++]=128+(m&63))}return d.slice(0,f)},o.prototype.end=function(){};function s(c,d){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=d.defaultCharUnicode}s.prototype.write=function(c){for(var d=this.acc,f=this.contBytes,h=this.accBytes,m="",y=0;y<c.length;y++){var v=c[y];(v&192)!==128?(f>0&&(m+=this.defaultCharUnicode,f=0),v<128?m+=String.fromCharCode(v):v<224?(d=v&31,f=1,h=1):v<240?(d=v&15,f=2,h=1):m+=this.defaultCharUnicode):f>0?(d=d<<6|v&63,f--,h++,f===0&&(h===2&&d<128&&d>0?m+=this.defaultCharUnicode:h===3&&d<2048?m+=this.defaultCharUnicode:m+=String.fromCharCode(d))):m+=this.defaultCharUnicode}return this.acc=d,this.contBytes=f,this.accBytes=h,m},s.prototype.end=function(){var c=0;return this.contBytes>0&&(c+=this.defaultCharUnicode),c};function l(c,d){this.highSurrogate=""}return l.prototype.write=function(c){if(this.highSurrogate&&(c=this.highSurrogate+c,this.highSurrogate=""),c.length>0){var d=c.charCodeAt(c.length-1);d>=55296&&d<56320&&(this.highSurrogate=c[c.length-1],c=c.slice(0,c.length-1))}return t.from(c,this.enc)},l.prototype.end=function(){if(this.highSurrogate){var c=this.highSurrogate;return this.highSurrogate="",t.from(c,this.enc)}},KB}var kf={},Yj;function Pxe(){if(Yj)return kf;Yj=1;var t=bm().Buffer;kf._utf32=e;function e(c,d){this.iconv=d,this.bomAware=!0,this.isLE=c.isLE}kf.utf32le={type:"_utf32",isLE:!0},kf.utf32be={type:"_utf32",isLE:!1},kf.ucs4le="utf32le",kf.ucs4be="utf32be",e.prototype.encoder=n,e.prototype.decoder=i;function n(c,d){this.isLE=d.isLE,this.highSurrogate=0}n.prototype.write=function(c){for(var d=t.from(c,"ucs2"),f=t.alloc(d.length*2),h=this.isLE?f.writeUInt32LE:f.writeUInt32BE,m=0,y=0;y<d.length;y+=2){var v=d.readUInt16LE(y),b=v>=55296&&v<56320,k=v>=56320&&v<57344;if(this.highSurrogate)if(b||!k)h.call(f,this.highSurrogate,m),m+=4;else{var w=(this.highSurrogate-55296<<10|v-56320)+65536;h.call(f,w,m),m+=4,this.highSurrogate=0;continue}b?this.highSurrogate=v:(h.call(f,v,m),m+=4,this.highSurrogate=0)}return m<f.length&&(f=f.slice(0,m)),f},n.prototype.end=function(){if(this.highSurrogate){var c=t.alloc(4);return this.isLE?c.writeUInt32LE(this.highSurrogate,0):c.writeUInt32BE(this.highSurrogate,0),this.highSurrogate=0,c}};function i(c,d){this.isLE=d.isLE,this.badChar=d.iconv.defaultCharUnicode.charCodeAt(0),this.overflow=[]}i.prototype.write=function(c){if(c.length===0)return"";var d=0,f=0,h=t.alloc(c.length+4),m=0,y=this.isLE,v=this.overflow,b=this.badChar;if(v.length>0){for(;d<c.length&&v.length<4;d++)v.push(c[d]);v.length===4&&(y?f=v[d]|v[d+1]<<8|v[d+2]<<16|v[d+3]<<24:f=v[d+3]|v[d+2]<<8|v[d+1]<<16|v[d]<<24,v.length=0,m=r(h,m,f,b))}for(;d<c.length-3;d+=4)y?f=c[d]|c[d+1]<<8|c[d+2]<<16|c[d+3]<<24:f=c[d+3]|c[d+2]<<8|c[d+1]<<16|c[d]<<24,m=r(h,m,f,b);for(;d<c.length;d++)v.push(c[d]);return h.slice(0,m).toString("ucs2")};function r(c,d,f,h){if((f<0||f>1114111)&&(f=h),f>=65536){f-=65536;var m=55296|f>>10;c[d++]=m&255,c[d++]=m>>8;var f=56320|f&1023}return c[d++]=f&255,c[d++]=f>>8,d}i.prototype.end=function(){this.overflow.length=0},kf.utf32=a,kf.ucs4="utf32";function a(c,d){this.iconv=d}a.prototype.encoder=o,a.prototype.decoder=s;function o(c,d){c=c||{},c.addBOM===void 0&&(c.addBOM=!0),this.encoder=d.iconv.getEncoder(c.defaultEncoding||"utf-32le",c)}o.prototype.write=function(c){return this.encoder.write(c)},o.prototype.end=function(){return this.encoder.end()};function s(c,d){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=c||{},this.iconv=d.iconv}s.prototype.write=function(c){if(!this.decoder){if(this.initialBufs.push(c),this.initialBufsLen+=c.length,this.initialBufsLen<32)return"";var d=l(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(d,this.options);for(var f="",h=0;h<this.initialBufs.length;h++)f+=this.decoder.write(this.initialBufs[h]);return this.initialBufs.length=this.initialBufsLen=0,f}return this.decoder.write(c)},s.prototype.end=function(){if(!this.decoder){var c=l(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(c,this.options);for(var d="",f=0;f<this.initialBufs.length;f++)d+=this.decoder.write(this.initialBufs[f]);var h=this.decoder.end();return h&&(d+=h),this.initialBufs.length=this.initialBufsLen=0,d}return this.decoder.end()};function l(c,d){var f=[],h=0,m=0,y=0,v=0,b=0;e:for(var k=0;k<c.length;k++)for(var w=c[k],x=0;x<w.length;x++)if(f.push(w[x]),f.length===4){if(h===0){if(f[0]===255&&f[1]===254&&f[2]===0&&f[3]===0)return"utf-32le";if(f[0]===0&&f[1]===0&&f[2]===254&&f[3]===255)return"utf-32be"}if((f[0]!==0||f[1]>16)&&y++,(f[3]!==0||f[2]>16)&&m++,f[0]===0&&f[1]===0&&(f[2]!==0||f[3]!==0)&&b++,(f[0]!==0||f[1]!==0)&&f[2]===0&&f[3]===0&&v++,f.length=0,h++,h>=100)break e}return b-y>v-m?"utf-32be":b-y<v-m?"utf-32le":d||"utf-32le"}return kf}var CS={},Xj;function Lxe(){if(Xj)return CS;Xj=1;var t=bm().Buffer;CS.utf16be=e;function e(){}e.prototype.encoder=n,e.prototype.decoder=i,e.prototype.bomAware=!0;function n(){}n.prototype.write=function(l){for(var c=t.from(l,"ucs2"),d=0;d<c.length;d+=2){var f=c[d];c[d]=c[d+1],c[d+1]=f}return c},n.prototype.end=function(){};function i(){this.overflowByte=-1}i.prototype.write=function(l){if(l.length==0)return"";var c=t.alloc(l.length+1),d=0,f=0;for(this.overflowByte!==-1&&(c[0]=l[0],c[1]=this.overflowByte,d=1,f=2);d<l.length-1;d+=2,f+=2)c[f]=l[d+1],c[f+1]=l[d];return this.overflowByte=d==l.length-1?l[l.length-1]:-1,c.slice(0,f).toString("ucs2")},i.prototype.end=function(){this.overflowByte=-1},CS.utf16=r;function r(l,c){this.iconv=c}r.prototype.encoder=a,r.prototype.decoder=o;function a(l,c){l=l||{},l.addBOM===void 0&&(l.addBOM=!0),this.encoder=c.iconv.getEncoder("utf-16le",l)}a.prototype.write=function(l){return this.encoder.write(l)},a.prototype.end=function(){return this.encoder.end()};function o(l,c){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=l||{},this.iconv=c.iconv}o.prototype.write=function(l){if(!this.decoder){if(this.initialBufs.push(l),this.initialBufsLen+=l.length,this.initialBufsLen<16)return"";var c=s(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(c,this.options);for(var d="",f=0;f<this.initialBufs.length;f++)d+=this.decoder.write(this.initialBufs[f]);return this.initialBufs.length=this.initialBufsLen=0,d}return this.decoder.write(l)},o.prototype.end=function(){if(!this.decoder){var l=s(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(l,this.options);for(var c="",d=0;d<this.initialBufs.length;d++)c+=this.decoder.write(this.initialBufs[d]);var f=this.decoder.end();return f&&(c+=f),this.initialBufs.length=this.initialBufsLen=0,c}return this.decoder.end()};function s(l,c){var d=[],f=0,h=0,m=0;e:for(var y=0;y<l.length;y++)for(var v=l[y],b=0;b<v.length;b++)if(d.push(v[b]),d.length===2){if(f===0){if(d[0]===255&&d[1]===254)return"utf-16le";if(d[0]===254&&d[1]===255)return"utf-16be"}if(d[0]===0&&d[1]!==0&&m++,d[0]!==0&&d[1]===0&&h++,d.length=0,f++,f>=100)break e}return m>h?"utf-16be":m<h?"utf-16le":c||"utf-16le"}return CS}var uy={},Zj;function Uxe(){if(Zj)return uy;Zj=1;var t=bm().Buffer;uy.utf7=e,uy.unicode11utf7="utf7";function e(v,b){this.iconv=b}e.prototype.encoder=i,e.prototype.decoder=r,e.prototype.bomAware=!0;var n=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function i(v,b){this.iconv=b.iconv}i.prototype.write=function(v){return t.from(v.replace(n,(function(b){return"+"+(b==="+"?"":this.iconv.encode(b,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}).bind(this)))},i.prototype.end=function(){};function r(v,b){this.iconv=b.iconv,this.inBase64=!1,this.base64Accum=""}for(var a=/[A-Za-z0-9\/+]/,o=[],s=0;s<256;s++)o[s]=a.test(String.fromCharCode(s));var l=43,c=45,d=38;r.prototype.write=function(v){for(var b="",k=0,w=this.inBase64,x=this.base64Accum,F=0;F<v.length;F++)if(!w)v[F]==l&&(b+=this.iconv.decode(v.slice(k,F),"ascii"),k=F+1,w=!0);else if(!o[v[F]]){if(F==k&&v[F]==c)b+="+";else{var C=x+this.iconv.decode(v.slice(k,F),"ascii");b+=this.iconv.decode(t.from(C,"base64"),"utf16-be")}v[F]!=c&&F--,k=F+1,w=!1,x=""}if(!w)b+=this.iconv.decode(v.slice(k),"ascii");else{var C=x+this.iconv.decode(v.slice(k),"ascii"),D=C.length-C.length%8;x=C.slice(D),C=C.slice(0,D),b+=this.iconv.decode(t.from(C,"base64"),"utf16-be")}return this.inBase64=w,this.base64Accum=x,b},r.prototype.end=function(){var v="";return this.inBase64&&this.base64Accum.length>0&&(v=this.iconv.decode(t.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",v},uy.utf7imap=f;function f(v,b){this.iconv=b}f.prototype.encoder=h,f.prototype.decoder=m,f.prototype.bomAware=!0;function h(v,b){this.iconv=b.iconv,this.inBase64=!1,this.base64Accum=t.alloc(6),this.base64AccumIdx=0}h.prototype.write=function(v){for(var b=this.inBase64,k=this.base64Accum,w=this.base64AccumIdx,x=t.alloc(v.length*5+10),F=0,C=0;C<v.length;C++){var D=v.charCodeAt(C);D>=32&&D<=126?(b&&(w>0&&(F+=x.write(k.slice(0,w).toString("base64").replace(/\//g,",").replace(/=+$/,""),F),w=0),x[F++]=c,b=!1),b||(x[F++]=D,D===d&&(x[F++]=c))):(b||(x[F++]=d,b=!0),b&&(k[w++]=D>>8,k[w++]=D&255,w==k.length&&(F+=x.write(k.toString("base64").replace(/\//g,","),F),w=0)))}return this.inBase64=b,this.base64AccumIdx=w,x.slice(0,F)},h.prototype.end=function(){var v=t.alloc(10),b=0;return this.inBase64&&(this.base64AccumIdx>0&&(b+=v.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),b),this.base64AccumIdx=0),v[b++]=c,this.inBase64=!1),v.slice(0,b)};function m(v,b){this.iconv=b.iconv,this.inBase64=!1,this.base64Accum=""}var y=o.slice();return y[44]=!0,m.prototype.write=function(v){for(var b="",k=0,w=this.inBase64,x=this.base64Accum,F=0;F<v.length;F++)if(!w)v[F]==d&&(b+=this.iconv.decode(v.slice(k,F),"ascii"),k=F+1,w=!0);else if(!y[v[F]]){if(F==k&&v[F]==c)b+="&";else{var C=x+this.iconv.decode(v.slice(k,F),"ascii").replace(/,/g,"/");b+=this.iconv.decode(t.from(C,"base64"),"utf16-be")}v[F]!=c&&F--,k=F+1,w=!1,x=""}if(!w)b+=this.iconv.decode(v.slice(k),"ascii");else{var C=x+this.iconv.decode(v.slice(k),"ascii").replace(/,/g,"/"),D=C.length-C.length%8;x=C.slice(D),C=C.slice(0,D),b+=this.iconv.decode(t.from(C,"base64"),"utf16-be")}return this.inBase64=w,this.base64Accum=x,b},m.prototype.end=function(){var v="";return this.inBase64&&this.base64Accum.length>0&&(v=this.iconv.decode(t.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",v},uy}var WB={},Jj;function Mxe(){if(Jj)return WB;Jj=1;var t=bm().Buffer;WB._sbcs=e;function e(r,a){if(!r)throw new Error("SBCS codec is called without the data.");if(!r.chars||r.chars.length!==128&&r.chars.length!==256)throw new Error("Encoding '"+r.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(r.chars.length===128){for(var o="",s=0;s<128;s++)o+=String.fromCharCode(s);r.chars=o+r.chars}this.decodeBuf=t.from(r.chars,"ucs2");for(var l=t.alloc(65536,a.defaultCharSingleByte.charCodeAt(0)),s=0;s<r.chars.length;s++)l[r.chars.charCodeAt(s)]=s;this.encodeBuf=l}e.prototype.encoder=n,e.prototype.decoder=i;function n(r,a){this.encodeBuf=a.encodeBuf}n.prototype.write=function(r){for(var a=t.alloc(r.length),o=0;o<r.length;o++)a[o]=this.encodeBuf[r.charCodeAt(o)];return a},n.prototype.end=function(){};function i(r,a){this.decodeBuf=a.decodeBuf}return i.prototype.write=function(r){for(var a=this.decodeBuf,o=t.alloc(r.length*2),s=0,l=0,c=0;c<r.length;c++)s=r[c]*2,l=c*2,o[l]=a[s],o[l+1]=a[s+1];return o.toString("ucs2")},i.prototype.end=function(){},WB}var YB,e7;function $xe(){return e7||(e7=1,YB={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"éâàçêëèïîّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}),YB}var XB,t7;function jxe(){return t7||(t7=1,XB={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת���"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œں ،¢£¤¥¦§¨©ھ«¬®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûüے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"
¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"
Ą˘Ł¤ĽŚ§¨ŠŞŤŹŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"
Ħ˘£¤�Ĥ§¨İŞĞĴ�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"
ĄĸŖ¤Ĩϧ¨ŠĒĢŦޝ°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"
ЁЂЃЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"
���¤�������،�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"
‘’£€₯¦§¨©ͺ«¬�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"
�¢£¤¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת���"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"
¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"
ĄĒĢĪĨͧĻĐŠŦŽŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"
กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"
”¢£¤„¦§Ø©Ŗ«¬®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"
Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"
¡¢£€¥Š§š©ª«¬®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"
ĄąŁ€„Чš©Ș«ŹźŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\0\x07\b
|
|
@@ -141,7 +141,7 @@ T* `):M.join(` Tj
|
|
|
141
141
|
endobj\r
|
|
142
142
|
`},n.outline.count_r=function(i,r){for(var a=0;a<r.children.length;a++)i.count++,this.count_r(i,r.children[a]);return i.count}}])})(gn.API),(function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(n,i,r,a,o,s){var l,c=this.decode.DCT_DECODE,d=null;if(typeof n=="string"||this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n)){switch(n=o||n,n=this.__addimage__.isArrayBuffer(n)?new Uint8Array(n):n,l=(function(f){for(var h,m=256*f.charCodeAt(4)+f.charCodeAt(5),y=f.length,v={width:0,height:0,numcomponents:1},b=4;b<y;b+=2){if(b+=m,e.indexOf(f.charCodeAt(b+1))!==-1){h=256*f.charCodeAt(b+5)+f.charCodeAt(b+6),v={width:256*f.charCodeAt(b+7)+f.charCodeAt(b+8),height:h,numcomponents:f.charCodeAt(b+9)};break}m=256*f.charCodeAt(b+2)+f.charCodeAt(b+3)}return v})(n=this.__addimage__.isArrayBufferView(n)?this.__addimage__.arrayBufferToBinaryString(n):n),l.numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}d={data:n,width:l.width,height:l.height,colorSpace:s,bitsPerComponent:8,filter:c,index:i,alias:r}}return d}})(gn.API),gn.API.processPNG=function(t,e,n,i){if(this.__addimage__.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.__addimage__.isArrayBufferView(t)){var r,a=fqe(t,{checkCrc:!0}),o=a.width,s=a.height,l=a.channels,c=a.palette,d=a.depth;r=c&&l===1?(function(R){for(var O=R.width,V=R.height,U=R.data,P=R.palette,ee=R.depth,K=!1,le=[],H=[],te=void 0,X=!1,de=0,xe=0;xe<P.length;xe++){var re=yq(P[xe],4),L=re[0],j=re[1],$=re[2],Y=re[3];le.push(L,j,$),Y!=null&&(Y===0?(de++,H.length<1&&H.push(xe)):Y<255&&(X=!0))}if(X||de>1){K=!0,H=void 0;var Z=O*V;te=new Uint8Array(Z);for(var W=new DataView(U.buffer),fe=0;fe<Z;fe++){var ve=S4(W,fe,ee),Se=yq(P[ve],4)[3];te[fe]=Se}}else de===0&&(H=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:K?8:void 0,colorBytes:U,alphaBytes:te,needSMask:K,palette:le,mask:H}})(a):l===2||l===4?(function(R){for(var O=R.data,V=R.width,U=R.height,P=R.channels,ee=R.depth,K=P===2?"DeviceGray":"DeviceRGB",le=P-1,H=V*U,te=le,X=H*te,de=1*H,xe=Math.ceil(X*ee/8),re=Math.ceil(de*ee/8),L=new Uint8Array(xe),j=new Uint8Array(re),$=new DataView(O.buffer),Y=new DataView(L.buffer),Z=new DataView(j.buffer),W=!1,fe=0;fe<H;fe++){for(var ve=fe*P,Se=0;Se<te;Se++)NK(Y,S4($,ve+Se,ee),fe*te+Se,ee);var ae=S4($,ve+te,ee);ae<(1<<ee)-1&&(W=!0),NK(Z,ae,1*fe,ee)}return{colorSpace:K,colorsPerPixel:le,sMaskBitsPerComponent:W?ee:void 0,colorBytes:L,alphaBytes:j,needSMask:W}})(a):(function(R){var O=R.data,V=R.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:V,colorsPerPixel:V==="DeviceGray"?1:3,colorBytes:O instanceof Uint16Array?(function(U){for(var P=U.length,ee=new Uint8Array(2*P),K=new DataView(ee.buffer,ee.byteOffset,ee.byteLength),le=0;le<P;le++)K.setUint16(2*le,U[le],!1);return ee})(O):O,needSMask:!1}})(a);var f,h,m,y=r,v=y.colorSpace,b=y.colorsPerPixel,k=y.sMaskBitsPerComponent,w=y.colorBytes,x=y.alphaBytes,F=y.needSMask,C=y.palette,D=y.mask,B=null;return i!==gn.API.image_compression.NONE&&typeof PO=="function"?(B=(function(R){var O;switch(R){case gn.API.image_compression.FAST:O=11;break;case gn.API.image_compression.MEDIUM:O=13;break;case gn.API.image_compression.SLOW:O=14;break;default:O=12}return O})(i),f=this.decode.FLATE_DECODE,h="/Predictor ".concat(B," /Colors ").concat(b," /BitsPerComponent ").concat(d," /Columns ").concat(o),t=yK(w,Math.ceil(o*b*d/8),b,d,i),F&&(m=yK(x,Math.ceil(o*k/8),1,k,i))):(f=void 0,h=void 0,t=w,F&&(m=x)),(this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t))&&(t=this.__addimage__.arrayBufferToBinaryString(t)),(m&&this.__addimage__.isArrayBuffer(m)||this.__addimage__.isArrayBufferView(m))&&(m=this.__addimage__.arrayBufferToBinaryString(m)),{alias:n,data:t,index:e,filter:f,decodeParameters:h,transparency:D,palette:C,sMask:m,predictor:B,width:o,height:s,bitsPerComponent:d,sMaskBitsPerComponent:k,colorSpace:v}}},(function(t){t.processGIF89A=function(e,n,i,r){var a=new Iqe(e),o=a.width,s=a.height,l=[];a.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:o,height:s},d=new w4(100).encode(c,100);return t.processJPEG.call(this,d,n,i,r)},t.processGIF87A=t.processGIF89A})(gn.API),od.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var e=0;e<t;e++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:r,green:i,blue:n,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},od.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,e=this.width*this.height*4;this.data=new Uint8Array(e),this[t]()}catch(n){wr.log("bit decode error:"+n)}},od.prototype.bit1=function(){var t,e=Math.ceil(this.width/8),n=e%4;for(t=this.height-1;t>=0;t--){for(var i=this.bottom_up?t:this.height-1-t,r=0;r<e;r++)for(var a=this.datav.getUint8(this.pos++,!0),o=i*this.width*4+8*r*4,s=0;s<8&&8*r+s<this.width;s++){var l=this.palette[a>>7-s&1];this.data[o+4*s]=l.blue,this.data[o+4*s+1]=l.green,this.data[o+4*s+2]=l.red,this.data[o+4*s+3]=255}n!==0&&(this.pos+=4-n)}},od.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,r=0;r<t;r++){var a=this.datav.getUint8(this.pos++,!0),o=i*this.width*4+2*r*4,s=a>>4,l=15&a,c=this.palette[s];if(this.data[o]=c.blue,this.data[o+1]=c.green,this.data[o+2]=c.red,this.data[o+3]=255,2*r+1>=this.width)break;c=this.palette[l],this.data[o+4]=c.blue,this.data[o+4+1]=c.green,this.data[o+4+2]=c.red,this.data[o+4+3]=255}e!==0&&(this.pos+=4-e)}},od.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var n=this.bottom_up?e:this.height-1-e,i=0;i<this.width;i++){var r=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+4*i;if(r<this.palette.length){var o=this.palette[r];this.data[a]=o.red,this.data[a+1]=o.green,this.data[a+2]=o.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}t!==0&&(this.pos+=4-t)}},od.prototype.bit15=function(){for(var t=this.width%3,e=parseInt("11111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,r=0;r<this.width;r++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(a&e)/e*255|0,s=(a>>5&e)/e*255|0,l=(a>>10&e)/e*255|0,c=a>>15?255:0,d=i*this.width*4+4*r;this.data[d]=l,this.data[d+1]=s,this.data[d+2]=o,this.data[d+3]=c}this.pos+=t}},od.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),n=parseInt("111111",2),i=this.height-1;i>=0;i--){for(var r=this.bottom_up?i:this.height-1-i,a=0;a<this.width;a++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(o&e)/e*255|0,l=(o>>5&n)/n*255|0,c=(o>>11)/e*255|0,d=r*this.width*4+4*a;this.data[d]=c,this.data[d+1]=l,this.data[d+2]=s,this.data[d+3]=255}this.pos+=t}},od.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=e*this.width*4+4*n;this.data[o]=a,this.data[o+1]=r,this.data[o+2]=i,this.data[o+3]=255}this.pos+=this.width%4}},od.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var e=this.bottom_up?t:this.height-1-t,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+4*n;this.data[s]=a,this.data[s+1]=r,this.data[s+2]=i,this.data[s+3]=o}},od.prototype.getData=function(){return this.data},(function(t){t.processBMP=function(e,n,i,r){var a=new od(e,!1),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new w4(100).encode(l,100);return t.processJPEG.call(this,c,n,i,r)}})(gn.API),FK.prototype.getData=function(){return this.data},(function(t){t.processWEBP=function(e,n,i,r){var a=new FK(e),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new w4(100).encode(l,100);return t.processJPEG.call(this,c,n,i,r)}})(gn.API),gn.API.processRGBA=function(t,e,n){for(var i=t.data,r=i.length,a=new Uint8Array(r/4*3),o=new Uint8Array(r/4),s=0,l=0,c=0;c<r;c+=4){var d=i[c],f=i[c+1],h=i[c+2],m=i[c+3];a[s++]=d,a[s++]=f,a[s++]=h,o[l++]=m}var y=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(o),data:y,index:e,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},gn.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},xg=gn.API,Ew=xg.getCharWidthsArray=function(t,e){var n,i,r=(e=e||{}).font||this.internal.getFont(),a=e.fontSize||this.internal.getFontSize(),o=e.charSpace||this.internal.getCharSpace(),s=e.widths?e.widths:r.metadata.Unicode.widths,l=s.fof?s.fof:1,c=e.kerning?e.kerning:r.metadata.Unicode.kerning,d=c.fof?c.fof:1,f=e.doKerning!==!1,h=0,m=t.length,y=0,v=s[0]||l,b=[];for(n=0;n<m;n++)i=t.charCodeAt(n),typeof r.metadata.widthOfString=="function"?b.push((r.metadata.widthOfGlyph(r.metadata.characterToGlyph(i))+o*(1e3/a)||0)/1e3):(h=f&&lr(c[i])==="object"&&!isNaN(parseInt(c[i][y],10))?c[i][y]/d:0,b.push((s[i]||v)/l+h)),y=i;return b},pK=xg.getStringUnitWidth=function(t,e){var n=(e=e||{}).fontSize||this.internal.getFontSize(),i=e.font||this.internal.getFont(),r=e.charSpace||this.internal.getCharSpace();return xg.processArabic&&(t=xg.processArabic(t)),typeof i.metadata.widthOfString=="function"?i.metadata.widthOfString(t,n,r)/n:Ew.apply(this,arguments).reduce(function(a,o){return a+o},0)},gK=function(t,e,n,i){for(var r=[],a=0,o=t.length,s=0;a!==o&&s+e[a]<n;)s+=e[a],a++;r.push(t.slice(0,a));var l=a;for(s=0;a!==o;)s+e[a]>i&&(r.push(t.slice(l,a)),s=0,l=a),s+=e[a],a++;return l!==a&&r.push(t.slice(l,a)),r},vK=function(t,e,n){n||(n={});var i,r,a,o,s,l,c,d=[],f=[d],h=n.textIndent||0,m=0,y=0,v=t.split(" "),b=Ew.apply(this,[" ",n])[0];if(l=n.lineIndent===-1?v[0].length+2:n.lineIndent||0){var k=Array(l).join(" "),w=[];v.map(function(F){(F=F.split(/\s*\n/)).length>1?w=w.concat(F.map(function(C,D){return(D&&C.length?`
|
|
143
143
|
`:"")+C})):w.push(F[0])}),v=w,l=pK.apply(this,[k,n])}for(a=0,o=v.length;a<o;a++){var x=0;if(i=v[a],l&&i[0]==`
|
|
144
|
-
`&&(i=i.substr(1),x=1),h+m+(y=(r=Ew.apply(this,[i,n])).reduce(function(F,C){return F+C},0))>e||x){if(y>e){for(s=gK.apply(this,[i,r,e-(h+m),e]),d.push(s.shift()),d=[s.pop()];s.length;)f.push([s.shift()]);y=r.slice(i.length-(d[0]?d[0].length:0)).reduce(function(F,C){return F+C},0)}else d=[i];f.push(d),h=y+l,m=b}else d.push(i),h+=m+y,m=b}return c=l?function(F,C){return(C?k:"")+F.join(" ")}:function(F){return F.join(" ")},f.map(c)},xg.splitTextToSize=function(t,e,n){var i,r=(n=n||{}).fontSize||this.internal.getFontSize(),a=(function(d){if(d.widths&&d.kerning)return{widths:d.widths,kerning:d.kerning};var f=this.internal.getFont(d.fontName,d.fontStyle),h="Unicode";return f.metadata[h]?{widths:f.metadata[h].widths||{0:1},kerning:f.metadata[h].kerning||{}}:{font:f.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,n);i=Array.isArray(t)?t:String(t).split(/\r?\n/);var o=1*this.internal.scaleFactor*e/r;a.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/r:0,a.lineIndent=n.lineIndent;var s,l,c=[];for(s=0,l=i.length;s<l;s++)c=c.concat(vK.apply(this,[i[s],o,a]));return c},(function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="0123456789abcdef",n="klmnopqrstuvwxyz",i={},r={},a=0;a<16;a++)i[n[a]]=e[a],r[e[a]]=n[a];var o=function(h){return"0x"+parseInt(h,10).toString(16)},s=t.__fontmetrics__.compress=function(h){var m,y,v,b,k=["{"];for(var w in h){if(m=h[w],isNaN(parseInt(w,10))?y="'"+w+"'":(w=parseInt(w,10),y=(y=o(w).slice(2)).slice(0,-1)+r[y.slice(-1)]),typeof m=="number")m<0?(v=o(m).slice(3),b="-"):(v=o(m).slice(2),b=""),v=b+v.slice(0,-1)+r[v.slice(-1)];else{if(lr(m)!=="object")throw new Error("Don't know what to do with value type "+lr(m)+".");v=s(m)}k.push(y+v)}return k.push("}"),k.join("")},l=t.__fontmetrics__.uncompress=function(h){if(typeof h!="string")throw new Error("Invalid argument passed to uncompress.");for(var m,y,v,b,k={},w=1,x=k,F=[],C="",D="",B=h.length-1,R=1;R<B;R+=1)(b=h[R])=="'"?m?(v=m.join(""),m=void 0):m=[]:m?m.push(b):b=="{"?(F.push([x,v]),x={},v=void 0):b=="}"?((y=F.pop())[0][y[1]]=x,v=void 0,x=y[0]):b=="-"?w=-1:v===void 0?i.hasOwnProperty(b)?(C+=i[b],v=parseInt(C,16)*w,w=1,C=""):C+=b:i.hasOwnProperty(b)?(D+=i[b],x[v]=parseInt(D,16)*w,w=1,v=void 0,D=""):D+=b;return k},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},d={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},f={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(h){var m=h.font,y=f.Unicode[m.postScriptName];y&&(m.metadata.Unicode={},m.metadata.Unicode.widths=y.widths,m.metadata.Unicode.kerning=y.kerning);var v=d.Unicode[m.postScriptName];v&&(m.metadata.Unicode.encoding=v,m.encoding=v.codePages[0])}])})(gn.API),(function(t){var e=function(n){for(var i=n.length,r=new Uint8Array(i),a=0;a<i;a++)r[a]=n.charCodeAt(a);return r};t.API.events.push(["addFont",function(n){var i=void 0,r=n.font,a=n.instance;if(!r.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");if(typeof(i=a.existsFileInVFS(r.postScriptName)===!1?a.loadFile(r.postScriptName):a.getFileFromVFS(r.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");(function(o,s){s=/^\x00\x01\x00\x00/.test(s)?e(s):e(TN(s)),o.metadata=t.API.TTFFont.open(s),o.metadata.Unicode=o.metadata.Unicode||{encoding:{},kerning:{},widths:[]},o.metadata.glyIdsUsed=[0]})(r,i)}}])})(gn),gn.API.addSvgAsImage=function(t,e,n,i,r,a,o,s){if(isNaN(e)||isNaN(n))throw wr.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(r))throw wr.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=i,l.height=r;var c=l.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,l.width,l.height);var d={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return(zn.canvg?Promise.resolve(zn.canvg):hi(()=>import("./index.es-CFgf-VWh.js"),[])).catch(function(h){return Promise.reject(new Error("Could not load canvg: "+h))}).then(function(h){return h.default?h.default:h}).then(function(h){return h.fromString(c,t,d)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(h){return h.render(d)}).then(function(){f.addImage(l.toDataURL("image/jpeg",1),e,n,i,r,o,s)})},gn.API.putTotalPages=function(t){var e,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),n=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var i=1;i<=this.internal.getNumberOfPages();i++)for(var r=0;r<this.internal.pages[i].length;r++)this.internal.pages[i][r]=this.internal.pages[i][r].replace(e,n);return this},gn.API.viewerPreferences=function(t,e){var n;t=t||{},e=e||!1;var i,r,a,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(o),l=[],c=0,d=0,f=0;function h(y,v){var b,k=!1;for(b=0;b<y.length;b+=1)y[b]===v&&(k=!0);return k}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,t==="reset"||e===!0){var m=s.length;for(f=0;f<m;f+=1)n[s[f]].value=n[s[f]].defaultValue,n[s[f]].explicitSet=!1}if(lr(t)==="object"){for(r in t)if(a=t[r],h(s,r)&&a!==void 0){if(n[r].type==="boolean"&&typeof a=="boolean")n[r].value=a;else if(n[r].type==="name"&&h(n[r].valueSet,a))n[r].value=a;else if(n[r].type==="integer"&&Number.isInteger(a))n[r].value=a;else if(n[r].type==="array"){for(c=0;c<a.length;c+=1)if(i=!0,a[c].length===1&&typeof a[c][0]=="number")l.push(String(a[c]-1));else if(a[c].length>1){for(d=0;d<a[c].length;d+=1)typeof a[c][d]!="number"&&(i=!1);i===!0&&l.push([a[c][0]-1,a[c][1]-1].join(" "))}n[r].value="["+l.join(" ")+"]"}else n[r].value=n[r].defaultValue;n[r].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var y,v=[];for(y in n)n[y].explicitSet===!0&&(n[y].type==="name"?v.push("/"+y+" /"+n[y].value):v.push("/"+y+" "+n[y].value));v.length!==0&&this.internal.write(`/ViewerPreferences
|
|
144
|
+
`&&(i=i.substr(1),x=1),h+m+(y=(r=Ew.apply(this,[i,n])).reduce(function(F,C){return F+C},0))>e||x){if(y>e){for(s=gK.apply(this,[i,r,e-(h+m),e]),d.push(s.shift()),d=[s.pop()];s.length;)f.push([s.shift()]);y=r.slice(i.length-(d[0]?d[0].length:0)).reduce(function(F,C){return F+C},0)}else d=[i];f.push(d),h=y+l,m=b}else d.push(i),h+=m+y,m=b}return c=l?function(F,C){return(C?k:"")+F.join(" ")}:function(F){return F.join(" ")},f.map(c)},xg.splitTextToSize=function(t,e,n){var i,r=(n=n||{}).fontSize||this.internal.getFontSize(),a=(function(d){if(d.widths&&d.kerning)return{widths:d.widths,kerning:d.kerning};var f=this.internal.getFont(d.fontName,d.fontStyle),h="Unicode";return f.metadata[h]?{widths:f.metadata[h].widths||{0:1},kerning:f.metadata[h].kerning||{}}:{font:f.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,n);i=Array.isArray(t)?t:String(t).split(/\r?\n/);var o=1*this.internal.scaleFactor*e/r;a.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/r:0,a.lineIndent=n.lineIndent;var s,l,c=[];for(s=0,l=i.length;s<l;s++)c=c.concat(vK.apply(this,[i[s],o,a]));return c},(function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="0123456789abcdef",n="klmnopqrstuvwxyz",i={},r={},a=0;a<16;a++)i[n[a]]=e[a],r[e[a]]=n[a];var o=function(h){return"0x"+parseInt(h,10).toString(16)},s=t.__fontmetrics__.compress=function(h){var m,y,v,b,k=["{"];for(var w in h){if(m=h[w],isNaN(parseInt(w,10))?y="'"+w+"'":(w=parseInt(w,10),y=(y=o(w).slice(2)).slice(0,-1)+r[y.slice(-1)]),typeof m=="number")m<0?(v=o(m).slice(3),b="-"):(v=o(m).slice(2),b=""),v=b+v.slice(0,-1)+r[v.slice(-1)];else{if(lr(m)!=="object")throw new Error("Don't know what to do with value type "+lr(m)+".");v=s(m)}k.push(y+v)}return k.push("}"),k.join("")},l=t.__fontmetrics__.uncompress=function(h){if(typeof h!="string")throw new Error("Invalid argument passed to uncompress.");for(var m,y,v,b,k={},w=1,x=k,F=[],C="",D="",B=h.length-1,R=1;R<B;R+=1)(b=h[R])=="'"?m?(v=m.join(""),m=void 0):m=[]:m?m.push(b):b=="{"?(F.push([x,v]),x={},v=void 0):b=="}"?((y=F.pop())[0][y[1]]=x,v=void 0,x=y[0]):b=="-"?w=-1:v===void 0?i.hasOwnProperty(b)?(C+=i[b],v=parseInt(C,16)*w,w=1,C=""):C+=b:i.hasOwnProperty(b)?(D+=i[b],x[v]=parseInt(D,16)*w,w=1,v=void 0,D=""):D+=b;return k},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},d={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},f={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":l("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":l("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":l("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(h){var m=h.font,y=f.Unicode[m.postScriptName];y&&(m.metadata.Unicode={},m.metadata.Unicode.widths=y.widths,m.metadata.Unicode.kerning=y.kerning);var v=d.Unicode[m.postScriptName];v&&(m.metadata.Unicode.encoding=v,m.encoding=v.codePages[0])}])})(gn.API),(function(t){var e=function(n){for(var i=n.length,r=new Uint8Array(i),a=0;a<i;a++)r[a]=n.charCodeAt(a);return r};t.API.events.push(["addFont",function(n){var i=void 0,r=n.font,a=n.instance;if(!r.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");if(typeof(i=a.existsFileInVFS(r.postScriptName)===!1?a.loadFile(r.postScriptName):a.getFileFromVFS(r.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");(function(o,s){s=/^\x00\x01\x00\x00/.test(s)?e(s):e(TN(s)),o.metadata=t.API.TTFFont.open(s),o.metadata.Unicode=o.metadata.Unicode||{encoding:{},kerning:{},widths:[]},o.metadata.glyIdsUsed=[0]})(r,i)}}])})(gn),gn.API.addSvgAsImage=function(t,e,n,i,r,a,o,s){if(isNaN(e)||isNaN(n))throw wr.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(r))throw wr.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=i,l.height=r;var c=l.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,l.width,l.height);var d={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return(zn.canvg?Promise.resolve(zn.canvg):hi(()=>import("./index.es-Dkm1W8bL.js"),[])).catch(function(h){return Promise.reject(new Error("Could not load canvg: "+h))}).then(function(h){return h.default?h.default:h}).then(function(h){return h.fromString(c,t,d)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(h){return h.render(d)}).then(function(){f.addImage(l.toDataURL("image/jpeg",1),e,n,i,r,o,s)})},gn.API.putTotalPages=function(t){var e,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),n=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var i=1;i<=this.internal.getNumberOfPages();i++)for(var r=0;r<this.internal.pages[i].length;r++)this.internal.pages[i][r]=this.internal.pages[i][r].replace(e,n);return this},gn.API.viewerPreferences=function(t,e){var n;t=t||{},e=e||!1;var i,r,a,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(o),l=[],c=0,d=0,f=0;function h(y,v){var b,k=!1;for(b=0;b<y.length;b+=1)y[b]===v&&(k=!0);return k}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,t==="reset"||e===!0){var m=s.length;for(f=0;f<m;f+=1)n[s[f]].value=n[s[f]].defaultValue,n[s[f]].explicitSet=!1}if(lr(t)==="object"){for(r in t)if(a=t[r],h(s,r)&&a!==void 0){if(n[r].type==="boolean"&&typeof a=="boolean")n[r].value=a;else if(n[r].type==="name"&&h(n[r].valueSet,a))n[r].value=a;else if(n[r].type==="integer"&&Number.isInteger(a))n[r].value=a;else if(n[r].type==="array"){for(c=0;c<a.length;c+=1)if(i=!0,a[c].length===1&&typeof a[c][0]=="number")l.push(String(a[c]-1));else if(a[c].length>1){for(d=0;d<a[c].length;d+=1)typeof a[c][d]!="number"&&(i=!1);i===!0&&l.push([a[c][0]-1,a[c][1]-1].join(" "))}n[r].value="["+l.join(" ")+"]"}else n[r].value=n[r].defaultValue;n[r].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var y,v=[];for(y in n)n[y].explicitSet===!0&&(n[y].type==="name"?v.push("/"+y+" /"+n[y].value):v.push("/"+y+" "+n[y].value));v.length!==0&&this.internal.write(`/ViewerPreferences
|
|
145
145
|
<<
|
|
146
146
|
`+v.join(`
|
|
147
147
|
`)+`
|
|
@@ -287,7 +287,7 @@ const theme = ${JSON.stringify(e,null,2)};
|
|
|
287
287
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
288
288
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
289
289
|
|
|
290
|
-
export default theme;`}function SX(t){return typeof t=="number"?`${(t*100).toFixed(0)}%`:`calc((${t}) * 100%)`}const qut=t=>{if(!Number.isNaN(+t))return+t;const e=t.match(/\d*\.?\d+/g);if(!e)return 0;let n=0;for(let i=0;i<e.length;i+=1)n+=+e[i];return n};function Kut(t){Object.assign(t,{alpha(e,n){const i=this||t;return i.colorSpace?`oklch(from ${e} l c h / ${typeof n=="string"?`calc(${n})`:n})`:i.vars?`rgba(${e.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof n=="string"?`calc(${n})`:n})`:Lve(e,qut(n))},lighten(e,n){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${e}, #fff ${SX(n)})`:fE(e,n)},darken(e,n){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${e}, #000 ${SX(n)})`:uE(e,n)}})}function OR(t={},...e){const{breakpoints:n,mixins:i={},spacing:r,palette:a={},transitions:o={},typography:s={},shape:l,colorSpace:c,...d}=t;if(t.vars&&t.generateThemeVars===void 0)throw new Error(Zh(20));const f=a8({...a,colorSpace:c}),h=Ive(t);let m=Pl(h,{mixins:Rut(h.breakpoints,i),palette:f,shadows:$ut.slice(),typography:Gve(f,s),transitions:zut(o),zIndex:{...Vut}});return m=Pl(m,d),m=e.reduce((y,v)=>Pl(y,v),m),m.unstable_sxConfig={...x1,...d?.unstable_sxConfig},m.unstable_sx=function(v){return F1({sx:v,theme:this})},m.toRuntimeSource=qve,Kut(m),m}function Wut(t){let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,Math.round(e*10)/1e3}const Yut=[...Array(25)].map((t,e)=>{if(e===0)return"none";const n=Wut(e);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Kve(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function Wve(t){return t==="dark"?Yut:[]}function Xut(t){const{palette:e={mode:"light"},opacity:n,overlays:i,colorSpace:r,...a}=t,o=a8({...e,colorSpace:r});return{palette:o,opacity:{...Kve(o.mode),...n},overlays:i||Wve(o.mode),...a}}function Zut(t){return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!t[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const Jut=t=>[...[...Array(25)].map((e,n)=>`--${t?`${t}-`:""}overlays-${n}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],eft=t=>(e,n)=>{const i=t.rootSelector||":root",r=t.colorSchemeSelector;let a=r;if(r==="class"&&(a=".%s"),r==="data"&&(a="[data-%s]"),r?.startsWith("data-")&&!r.includes("%s")&&(a=`[${r}="%s"]`),t.defaultColorScheme===e){if(e==="dark"){const o={};return Jut(t.cssVarPrefix).forEach(s=>{o[s]=n[s],delete n[s]}),a==="media"?{[i]:n,"@media (prefers-color-scheme: dark)":{[i]:o}}:a?{[a.replace("%s",e)]:o,[`${i}, ${a.replace("%s",e)}`]:n}:{[i]:{...n,...o}}}if(a&&a!=="media")return`${i}, ${a.replace("%s",String(e))}`}else if(e){if(a==="media")return{[`@media (prefers-color-scheme: ${String(e)})`]:{[i]:n}};if(a)return a.replace("%s",String(e))}return i};function tft(t,e){e.forEach(n=>{t[n]||(t[n]={})})}function vt(t,e,n){!t[e]&&n&&(t[e]=n)}function ak(t){return typeof t!="string"||!t.startsWith("hsl")?t:Pve(t)}function Cf(t,e){`${e}Channel`in t||(t[`${e}Channel`]=rk(ak(t[e])))}function nft(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const ou=t=>{try{return t()}catch{}},ift=(t="mui")=>Sut(t);function bI(t,e,n,i,r){if(!n)return;n=n===!0?{}:n;const a=r==="dark"?"dark":"light";if(!i){e[r]=Xut({...n,palette:{mode:a,...n?.palette},colorSpace:t});return}const{palette:o,...s}=OR({...i,palette:{mode:a,...n?.palette},colorSpace:t});return e[r]={...n,palette:o,opacity:{...Kve(a),...n?.opacity},overlays:n?.overlays||Wve(a)},s}function rft(t={},...e){const{colorSchemes:n={light:!0},defaultColorScheme:i,disableCssColorScheme:r=!1,cssVarPrefix:a="mui",nativeColor:o=!1,shouldSkipGeneratingVar:s=Zut,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,rootSelector:c=":root",...d}=t,f=Object.keys(n)[0],h=i||(n.light&&f!=="light"?"light":f),m=ift(a),{[h]:y,light:v,dark:b,...k}=n,w={...k};let x=y;if((h==="dark"&&!("dark"in n)||h==="light"&&!("light"in n))&&(x=!0),!x)throw new Error(Zh(21,h));let F;o&&(F="oklch");const C=bI(F,w,x,d,h);v&&!w.light&&bI(F,w,v,void 0,"light"),b&&!w.dark&&bI(F,w,b,void 0,"dark");let D={defaultColorScheme:h,...C,cssVarPrefix:a,colorSchemeSelector:l,rootSelector:c,getCssVar:m,colorSchemes:w,font:{...Out(C.typography),...C.font},spacing:nft(d.spacing)};Object.keys(D.colorSchemes).forEach(U=>{const P=D.colorSchemes[U].palette,ee=le=>{const H=le.split("-"),te=H[1],X=H[2];return m(le,P[te][X])};P.mode==="light"&&(vt(P.common,"background","#fff"),vt(P.common,"onBackground","#000")),P.mode==="dark"&&(vt(P.common,"background","#000"),vt(P.common,"onBackground","#fff"));function K(le,H,te){if(F){let X;return le===lh&&(X=`transparent ${((1-te)*100).toFixed(0)}%`),le===ar&&(X=`#000 ${(te*100).toFixed(0)}%`),le===or&&(X=`#fff ${(te*100).toFixed(0)}%`),`color-mix(in ${F}, ${H}, ${X})`}return le(H,te)}if(tft(P,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),P.mode==="light"){vt(P.Alert,"errorColor",K(ar,P.error.light,.6)),vt(P.Alert,"infoColor",K(ar,P.info.light,.6)),vt(P.Alert,"successColor",K(ar,P.success.light,.6)),vt(P.Alert,"warningColor",K(ar,P.warning.light,.6)),vt(P.Alert,"errorFilledBg",ee("palette-error-main")),vt(P.Alert,"infoFilledBg",ee("palette-info-main")),vt(P.Alert,"successFilledBg",ee("palette-success-main")),vt(P.Alert,"warningFilledBg",ee("palette-warning-main")),vt(P.Alert,"errorFilledColor",ou(()=>P.getContrastText(P.error.main))),vt(P.Alert,"infoFilledColor",ou(()=>P.getContrastText(P.info.main))),vt(P.Alert,"successFilledColor",ou(()=>P.getContrastText(P.success.main))),vt(P.Alert,"warningFilledColor",ou(()=>P.getContrastText(P.warning.main))),vt(P.Alert,"errorStandardBg",K(or,P.error.light,.9)),vt(P.Alert,"infoStandardBg",K(or,P.info.light,.9)),vt(P.Alert,"successStandardBg",K(or,P.success.light,.9)),vt(P.Alert,"warningStandardBg",K(or,P.warning.light,.9)),vt(P.Alert,"errorIconColor",ee("palette-error-main")),vt(P.Alert,"infoIconColor",ee("palette-info-main")),vt(P.Alert,"successIconColor",ee("palette-success-main")),vt(P.Alert,"warningIconColor",ee("palette-warning-main")),vt(P.AppBar,"defaultBg",ee("palette-grey-100")),vt(P.Avatar,"defaultBg",ee("palette-grey-400")),vt(P.Button,"inheritContainedBg",ee("palette-grey-300")),vt(P.Button,"inheritContainedHoverBg",ee("palette-grey-A100")),vt(P.Chip,"defaultBorder",ee("palette-grey-400")),vt(P.Chip,"defaultAvatarColor",ee("palette-grey-700")),vt(P.Chip,"defaultIconColor",ee("palette-grey-700")),vt(P.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),vt(P.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),vt(P.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),vt(P.LinearProgress,"primaryBg",K(or,P.primary.main,.62)),vt(P.LinearProgress,"secondaryBg",K(or,P.secondary.main,.62)),vt(P.LinearProgress,"errorBg",K(or,P.error.main,.62)),vt(P.LinearProgress,"infoBg",K(or,P.info.main,.62)),vt(P.LinearProgress,"successBg",K(or,P.success.main,.62)),vt(P.LinearProgress,"warningBg",K(or,P.warning.main,.62)),vt(P.Skeleton,"bg",F?K(lh,P.text.primary,.11):`rgba(${ee("palette-text-primaryChannel")} / 0.11)`),vt(P.Slider,"primaryTrack",K(or,P.primary.main,.62)),vt(P.Slider,"secondaryTrack",K(or,P.secondary.main,.62)),vt(P.Slider,"errorTrack",K(or,P.error.main,.62)),vt(P.Slider,"infoTrack",K(or,P.info.main,.62)),vt(P.Slider,"successTrack",K(or,P.success.main,.62)),vt(P.Slider,"warningTrack",K(or,P.warning.main,.62));const le=F?K(ar,P.background.default,.6825):nN(P.background.default,.8);vt(P.SnackbarContent,"bg",le),vt(P.SnackbarContent,"color",ou(()=>F?IR.text.primary:P.getContrastText(le))),vt(P.SpeedDialAction,"fabHoverBg",nN(P.background.paper,.15)),vt(P.StepConnector,"border",ee("palette-grey-400")),vt(P.StepContent,"border",ee("palette-grey-400")),vt(P.Switch,"defaultColor",ee("palette-common-white")),vt(P.Switch,"defaultDisabledColor",ee("palette-grey-100")),vt(P.Switch,"primaryDisabledColor",K(or,P.primary.main,.62)),vt(P.Switch,"secondaryDisabledColor",K(or,P.secondary.main,.62)),vt(P.Switch,"errorDisabledColor",K(or,P.error.main,.62)),vt(P.Switch,"infoDisabledColor",K(or,P.info.main,.62)),vt(P.Switch,"successDisabledColor",K(or,P.success.main,.62)),vt(P.Switch,"warningDisabledColor",K(or,P.warning.main,.62)),vt(P.TableCell,"border",K(or,K(lh,P.divider,1),.88)),vt(P.Tooltip,"bg",K(lh,P.grey[700],.92))}if(P.mode==="dark"){vt(P.Alert,"errorColor",K(or,P.error.light,.6)),vt(P.Alert,"infoColor",K(or,P.info.light,.6)),vt(P.Alert,"successColor",K(or,P.success.light,.6)),vt(P.Alert,"warningColor",K(or,P.warning.light,.6)),vt(P.Alert,"errorFilledBg",ee("palette-error-dark")),vt(P.Alert,"infoFilledBg",ee("palette-info-dark")),vt(P.Alert,"successFilledBg",ee("palette-success-dark")),vt(P.Alert,"warningFilledBg",ee("palette-warning-dark")),vt(P.Alert,"errorFilledColor",ou(()=>P.getContrastText(P.error.dark))),vt(P.Alert,"infoFilledColor",ou(()=>P.getContrastText(P.info.dark))),vt(P.Alert,"successFilledColor",ou(()=>P.getContrastText(P.success.dark))),vt(P.Alert,"warningFilledColor",ou(()=>P.getContrastText(P.warning.dark))),vt(P.Alert,"errorStandardBg",K(ar,P.error.light,.9)),vt(P.Alert,"infoStandardBg",K(ar,P.info.light,.9)),vt(P.Alert,"successStandardBg",K(ar,P.success.light,.9)),vt(P.Alert,"warningStandardBg",K(ar,P.warning.light,.9)),vt(P.Alert,"errorIconColor",ee("palette-error-main")),vt(P.Alert,"infoIconColor",ee("palette-info-main")),vt(P.Alert,"successIconColor",ee("palette-success-main")),vt(P.Alert,"warningIconColor",ee("palette-warning-main")),vt(P.AppBar,"defaultBg",ee("palette-grey-900")),vt(P.AppBar,"darkBg",ee("palette-background-paper")),vt(P.AppBar,"darkColor",ee("palette-text-primary")),vt(P.Avatar,"defaultBg",ee("palette-grey-600")),vt(P.Button,"inheritContainedBg",ee("palette-grey-800")),vt(P.Button,"inheritContainedHoverBg",ee("palette-grey-700")),vt(P.Chip,"defaultBorder",ee("palette-grey-700")),vt(P.Chip,"defaultAvatarColor",ee("palette-grey-300")),vt(P.Chip,"defaultIconColor",ee("palette-grey-300")),vt(P.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),vt(P.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),vt(P.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),vt(P.LinearProgress,"primaryBg",K(ar,P.primary.main,.5)),vt(P.LinearProgress,"secondaryBg",K(ar,P.secondary.main,.5)),vt(P.LinearProgress,"errorBg",K(ar,P.error.main,.5)),vt(P.LinearProgress,"infoBg",K(ar,P.info.main,.5)),vt(P.LinearProgress,"successBg",K(ar,P.success.main,.5)),vt(P.LinearProgress,"warningBg",K(ar,P.warning.main,.5)),vt(P.Skeleton,"bg",F?K(lh,P.text.primary,.13):`rgba(${ee("palette-text-primaryChannel")} / 0.13)`),vt(P.Slider,"primaryTrack",K(ar,P.primary.main,.5)),vt(P.Slider,"secondaryTrack",K(ar,P.secondary.main,.5)),vt(P.Slider,"errorTrack",K(ar,P.error.main,.5)),vt(P.Slider,"infoTrack",K(ar,P.info.main,.5)),vt(P.Slider,"successTrack",K(ar,P.success.main,.5)),vt(P.Slider,"warningTrack",K(ar,P.warning.main,.5));const le=F?K(or,P.background.default,.985):nN(P.background.default,.98);vt(P.SnackbarContent,"bg",le),vt(P.SnackbarContent,"color",ou(()=>F?zve.text.primary:P.getContrastText(le))),vt(P.SpeedDialAction,"fabHoverBg",nN(P.background.paper,.15)),vt(P.StepConnector,"border",ee("palette-grey-600")),vt(P.StepContent,"border",ee("palette-grey-600")),vt(P.Switch,"defaultColor",ee("palette-grey-300")),vt(P.Switch,"defaultDisabledColor",ee("palette-grey-600")),vt(P.Switch,"primaryDisabledColor",K(ar,P.primary.main,.55)),vt(P.Switch,"secondaryDisabledColor",K(ar,P.secondary.main,.55)),vt(P.Switch,"errorDisabledColor",K(ar,P.error.main,.55)),vt(P.Switch,"infoDisabledColor",K(ar,P.info.main,.55)),vt(P.Switch,"successDisabledColor",K(ar,P.success.main,.55)),vt(P.Switch,"warningDisabledColor",K(ar,P.warning.main,.55)),vt(P.TableCell,"border",K(ar,K(lh,P.divider,1),.68)),vt(P.Tooltip,"bg",K(lh,P.grey[700],.92))}Cf(P.background,"default"),Cf(P.background,"paper"),Cf(P.common,"background"),Cf(P.common,"onBackground"),Cf(P,"divider"),Object.keys(P).forEach(le=>{const H=P[le];le!=="tonalOffset"&&H&&typeof H=="object"&&(H.main&&vt(P[le],"mainChannel",rk(ak(H.main))),H.light&&vt(P[le],"lightChannel",rk(ak(H.light))),H.dark&&vt(P[le],"darkChannel",rk(ak(H.dark))),H.contrastText&&vt(P[le],"contrastTextChannel",rk(ak(H.contrastText))),le==="text"&&(Cf(P[le],"primary"),Cf(P[le],"secondary")),le==="action"&&(H.active&&Cf(P[le],"active"),H.selected&&Cf(P[le],"selected")))})}),D=e.reduce((U,P)=>Pl(U,P),D);const B={prefix:a,disableCssColorScheme:r,shouldSkipGeneratingVar:s,getSelector:eft(D),enableContrastVars:o},{vars:R,generateThemeVars:O,generateStyleSheets:V}=xut(D,B);return D.vars=R,Object.entries(D.colorSchemes[D.defaultColorScheme]).forEach(([U,P])=>{D[U]=P}),D.generateThemeVars=O,D.generateStyleSheets=V,D.generateSpacing=function(){return Dve(d.spacing,ZU(this))},D.getColorSchemeSelector=Fut(l),D.spacing=D.generateSpacing(),D.shouldSkipGeneratingVar=s,D.unstable_sxConfig={...x1,...d?.unstable_sxConfig},D.unstable_sx=function(P){return F1({sx:P,theme:this})},D.toRuntimeSource=qve,D}function wX(t,e,n){t.colorSchemes&&n&&(t.colorSchemes[e]={...n!==!0&&n,palette:a8({...n===!0?{}:n.palette,mode:e})})}function o8(t={},...e){const{palette:n,cssVariables:i=!1,colorSchemes:r=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=t,s=a||"light",l=r?.[s],c={...r,...n?{[s]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(i===!1){if(!("colorSchemes"in t))return OR(t,...e);let d=n;"palette"in t||c[s]&&(c[s]!==!0?d=c[s].palette:s==="dark"&&(d={mode:"dark"}));const f=OR({...t,palette:d},...e);return f.defaultColorScheme=s,f.colorSchemes=c,f.palette.mode==="light"&&(f.colorSchemes.light={...c.light!==!0&&c.light,palette:f.palette},wX(f,"dark",c.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:f.palette},wX(f,"light",c.light)),f}return!n&&!("light"in c)&&s==="light"&&(c.light=!0),rft({...o,colorSchemes:c,defaultColorScheme:s,...typeof i!="boolean"&&i},...e)}const aft=o8();function oft({theme:t,...e}){const n=Th in t?t[Th]:void 0;return g.jsx(jve,{...e,themeId:n?Th:void 0,theme:n||t})}const iN={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:sft}=but({themeId:Th,theme:()=>o8({cssVariables:!0}),colorSchemeStorageKey:iN.colorSchemeStorageKey,modeStorageKey:iN.modeStorageKey,defaultColorScheme:{light:iN.defaultLightColorScheme,dark:iN.defaultDarkColorScheme},resolveTheme:t=>{const e={...t,typography:Gve(t.palette,t.typography)};return e.unstable_sx=function(i){return F1({sx:i,theme:this})},e}}),lft=sft;function cft({theme:t,...e}){const n=N.useMemo(()=>{if(typeof t=="function")return t;const i=Th in t?t[Th]:t;return"colorSchemes"in i?null:"vars"in i?t:{...t,vars:null}},[t]);return n?g.jsx(oft,{theme:n,...e}):g.jsx(lft,{theme:t,...e})}function dft(t){return g.jsx(Ove,{...t,defaultTheme:aft,themeId:Th})}function Yve(t){return function(n){return g.jsx(dft,{styles:typeof t=="function"?i=>t({theme:i,...n}):t})}}function o0t(){return Ydt}function uft(t){return cut(t)}const RR=typeof Yve({})=="function",fft=(t,e)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...e&&!t.vars&&{colorScheme:t.palette.mode}}),Aft=t=>({color:(t.vars||t).palette.text.primary,...t.typography.body1,backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),Xve=(t,e=!1)=>{const n={};e&&t.colorSchemes&&typeof t.getColorSchemeSelector=="function"&&Object.entries(t.colorSchemes).forEach(([a,o])=>{const s=t.getColorSchemeSelector(a);s.startsWith("@")?n[s]={":root":{colorScheme:o.palette?.mode}}:n[s.replace(/\s*&/,"")]={colorScheme:o.palette?.mode}});let i={html:fft(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:{margin:0,...Aft(t),"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}},...n};const r=t.components?.MuiCssBaseline?.styleOverrides;return r&&(i=[i,r]),i},QN="mui-ecs",mft=t=>{const e=Xve(t,!1),n=Array.isArray(e)?e[0]:e;return!t.vars&&n&&(n.html[`:root:has(${QN})`]={colorScheme:t.palette.mode}),t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([i,r])=>{const a=t.getColorSchemeSelector(i);a.startsWith("@")?n[a]={[`:root:not(:has(.${QN}))`]:{colorScheme:r.palette?.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${QN}))`]:{colorScheme:r.palette?.mode}}}),e},hft=Yve(RR?({theme:t,enableColorScheme:e})=>Xve(t,e):({theme:t})=>mft(t));function pft(t){const e=uft({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:i=!1}=e;return g.jsxs(N.Fragment,{children:[RR&&g.jsx(hft,{enableColorScheme:i}),!RR&&!i&&g.jsx("span",{className:QN,style:{display:"none"}}),n]})}var AE=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},gft={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},vft=class{#e=gft;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,e){return this.#e.setTimeout(t,e)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,e){return this.#e.setInterval(t,e)}clearInterval(t){this.#e.clearInterval(t)}},PR=new vft;function yft(t){setTimeout(t,0)}var mE=typeof window>"u"||"Deno"in globalThis;function dd(){}function kft(t,e){return typeof t=="function"?t(e):t}function bft(t){return typeof t=="number"&&t>=0&&t!==1/0}function Sft(t,e){return Math.max(t+(e||0)-Date.now(),0)}function LR(t,e){return typeof t=="function"?t(e):t}function wft(t,e){return typeof t=="function"?t(e):t}function NX(t,e){const{type:n="all",exact:i,fetchStatus:r,predicate:a,queryKey:o,stale:s}=t;if(o){if(i){if(e.queryHash!==s8(o,e.options))return!1}else if(!cb(e.queryKey,o))return!1}if(n!=="all"){const l=e.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&e.isStale()!==s||r&&r!==e.state.fetchStatus||a&&!a(e))}function xX(t,e){const{exact:n,status:i,predicate:r,mutationKey:a}=t;if(a){if(!e.options.mutationKey)return!1;if(n){if(lb(e.options.mutationKey)!==lb(a))return!1}else if(!cb(e.options.mutationKey,a))return!1}return!(i&&e.state.status!==i||r&&!r(e))}function s8(t,e){return(e?.queryKeyHashFn||lb)(t)}function lb(t){return JSON.stringify(t,(e,n)=>UR(n)?Object.keys(n).sort().reduce((i,r)=>(i[r]=n[r],i),{}):n)}function cb(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>cb(t[n],e[n])):!1}var Nft=Object.prototype.hasOwnProperty;function Zve(t,e,n=0){if(t===e)return t;if(n>500)return e;const i=FX(t)&&FX(e);if(!i&&!(UR(t)&&UR(e)))return e;const a=(i?t:Object.keys(t)).length,o=i?e:Object.keys(e),s=o.length,l=i?new Array(s):{};let c=0;for(let d=0;d<s;d++){const f=i?d:o[d],h=t[f],m=e[f];if(h===m){l[f]=h,(i?d<a:Nft.call(t,f))&&c++;continue}if(h===null||m===null||typeof h!="object"||typeof m!="object"){l[f]=m;continue}const y=Zve(h,m,n+1);l[f]=y,y===h&&c++}return a===s&&c===a?t:l}function FX(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function UR(t){if(!CX(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!CX(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function CX(t){return Object.prototype.toString.call(t)==="[object Object]"}function xft(t){return new Promise(e=>{PR.setTimeout(e,t)})}function Fft(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?Zve(t,e):e}function Cft(t,e,n=0){const i=[...t,e];return n&&i.length>n?i.slice(1):i}function _ft(t,e,n=0){const i=[e,...t];return n&&i.length>n?i.slice(0,-1):i}var l8=Symbol();function Jve(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===l8?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function Eft(t,e,n){let i=!1,r;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(r??=e(),i||(i=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),t}var Bft=class extends AE{#e;#t;#n;constructor(){super(),this.#n=t=>{if(!mE&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(e=>{typeof e=="boolean"?this.setFocused(e):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},e0e=new Bft;function Tft(){let t,e;const n=new Promise((r,a)=>{t=r,e=a});n.status="pending",n.catch(()=>{});function i(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{i({status:"fulfilled",value:r}),t(r)},n.reject=r=>{i({status:"rejected",reason:r}),e(r)},n}var Dft=yft;function Ift(){let t=[],e=0,n=s=>{s()},i=s=>{s()},r=Dft;const a=s=>{e?t.push(s):r(()=>{n(s)})},o=()=>{const s=t;t=[],s.length&&r(()=>{i(()=>{s.forEach(l=>{n(l)})})})};return{batch:s=>{let l;e++;try{l=s()}finally{e--,e||o()}return l},batchCalls:s=>(...l)=>{a(()=>{s(...l)})},schedule:a,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{i=s},setScheduler:s=>{r=s}}}var ks=Ift(),Oft=class extends AE{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(!mE&&window.addEventListener){const e=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(n=>{n(t)}))}isOnline(){return this.#e}},yC=new Oft;function Rft(t){return Math.min(1e3*2**t,3e4)}function t0e(t){return(t??"online")==="online"?yC.isOnline():!0}var MR=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function n0e(t){let e=!1,n=0,i;const r=Tft(),a=()=>r.status!=="pending",o=v=>{if(!a()){const b=new MR(v);h(b),t.onCancel?.(b)}},s=()=>{e=!0},l=()=>{e=!1},c=()=>e0e.isFocused()&&(t.networkMode==="always"||yC.isOnline())&&t.canRun(),d=()=>t0e(t.networkMode)&&t.canRun(),f=v=>{a()||(i?.(),r.resolve(v))},h=v=>{a()||(i?.(),r.reject(v))},m=()=>new Promise(v=>{i=b=>{(a()||c())&&v(b)},t.onPause?.()}).then(()=>{i=void 0,a()||t.onContinue?.()}),y=()=>{if(a())return;let v;const b=n===0?t.initialPromise:void 0;try{v=b??t.fn()}catch(k){v=Promise.reject(k)}Promise.resolve(v).then(f).catch(k=>{if(a())return;const w=t.retry??(mE?0:3),x=t.retryDelay??Rft,F=typeof x=="function"?x(n,k):x,C=w===!0||typeof w=="number"&&n<w||typeof w=="function"&&w(n,k);if(e||!C){h(k);return}n++,t.onFail?.(n,k),xft(F).then(()=>c()?void 0:m()).then(()=>{e?h(k):y()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(i?.(),r),cancelRetry:s,continueRetry:l,canStart:d,start:()=>(d()?y():m().then(y),r)}}var i0e=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),bft(this.gcTime)&&(this.#e=PR.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(mE?1/0:300*1e3))}clearGcTimeout(){this.#e&&(PR.clearTimeout(this.#e),this.#e=void 0)}},Pft=class extends i0e{#e;#t;#n;#i;#r;#o;#a;constructor(t){super(),this.#a=!1,this.#o=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#i=t.client,this.#n=this.#i.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=EX(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(t){if(this.options={...this.#o,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const e=EX(this.options);e.data!==void 0&&(this.setState(_X(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,e){const n=Fft(this.state.data,t,this.options);return this.#s({data:n,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),n}setState(t,e){this.#s({type:"setState",state:t,setStateOptions:e})}cancel(t){const e=this.#r?.promise;return this.#r?.cancel(t),e?e.then(dd).catch(dd):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>wft(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===l8||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>LR(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Sft(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#r&&(this.#a?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}async fetch(t,e){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(t&&this.setOptions(t),!this.options.queryFn){const s=this.observers.find(l=>l.options.queryFn);s&&this.setOptions(s.options)}const n=new AbortController,i=s=>{Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(this.#a=!0,n.signal)})},r=()=>{const s=Jve(this.options,e),c=(()=>{const d={client:this.#i,queryKey:this.queryKey,meta:this.meta};return i(d),d})();return this.#a=!1,this.options.persister?this.options.persister(s,c,this):s(c)},o=(()=>{const s={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:r};return i(s),s})();this.options.behavior?.onFetch(o,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#s({type:"fetch",meta:o.fetchOptions?.meta}),this.#r=n0e({initialPromise:e?.initialPromise,fn:o.fetchFn,onCancel:s=>{s instanceof MR&&s.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(s,l)=>{this.#s({type:"failed",failureCount:s,error:l})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{const s=await this.#r.start();if(s===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(s),this.#n.config.onSuccess?.(s,this),this.#n.config.onSettled?.(s,this.state.error,this),s}catch(s){if(s instanceof MR){if(s.silent)return this.#r.promise;if(s.revert){if(this.state.data===void 0)throw s;return this.state.data}}throw this.#s({type:"error",error:s}),this.#n.config.onError?.(s,this),this.#n.config.onSettled?.(this.state.data,s,this),s}finally{this.scheduleGc()}}#s(t){const e=n=>{switch(t.type){case"failed":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...Lft(n.data,this.options),fetchMeta:t.meta??null};case"success":const i={...n,..._X(t.data,t.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=t.manual?i:void 0,i;case"error":const r=t.error;return{...n,error:r,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=e(this.state),ks.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function Lft(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:t0e(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function _X(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function EX(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,n=e!==void 0,i=n?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}function BX(t){return{onFetch:(e,n)=>{const i=e.options,r=e.fetchOptions?.meta?.fetchMore?.direction,a=e.state.data?.pages||[],o=e.state.data?.pageParams||[];let s={pages:[],pageParams:[]},l=0;const c=async()=>{let d=!1;const f=y=>{Eft(y,()=>e.signal,()=>d=!0)},h=Jve(e.options,e.fetchOptions),m=async(y,v,b)=>{if(d)return Promise.reject();if(v==null&&y.pages.length)return Promise.resolve(y);const w=(()=>{const D={client:e.client,queryKey:e.queryKey,pageParam:v,direction:b?"backward":"forward",meta:e.options.meta};return f(D),D})(),x=await h(w),{maxPages:F}=e.options,C=b?_ft:Cft;return{pages:C(y.pages,x,F),pageParams:C(y.pageParams,v,F)}};if(r&&a.length){const y=r==="backward",v=y?Uft:TX,b={pages:a,pageParams:o},k=v(i,b);s=await m(b,k,y)}else{const y=t??a.length;do{const v=l===0?o[0]??i.initialPageParam:TX(i,s);if(l>0&&v==null)break;s=await m(s,v),l++}while(l<y)}return s};e.options.persister?e.fetchFn=()=>e.options.persister?.(c,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n):e.fetchFn=c}}}function TX(t,{pages:e,pageParams:n}){const i=e.length-1;return e.length>0?t.getNextPageParam(e[i],e,n[i],n):void 0}function Uft(t,{pages:e,pageParams:n}){return e.length>0?t.getPreviousPageParam?.(e[0],e,n[0],n):void 0}var Mft=class extends i0e{#e;#t;#n;#i;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#t=[],this.state=t.state||$ft(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(e=>e!==t),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(t){const e=()=>{this.#r({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=n0e({fn:()=>this.options.mutationFn?this.options.mutationFn(t,n):Promise.reject(new Error("No mutationFn found")),onFail:(a,o)=>{this.#r({type:"failed",failureCount:a,error:o})},onPause:()=>{this.#r({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const i=this.state.status==="pending",r=!this.#i.canStart();try{if(i)e();else{this.#r({type:"pending",variables:t,isPaused:r}),this.#n.config.onMutate&&await this.#n.config.onMutate(t,this,n);const o=await this.options.onMutate?.(t,n);o!==this.state.context&&this.#r({type:"pending",context:o,variables:t,isPaused:r})}const a=await this.#i.start();return await this.#n.config.onSuccess?.(a,t,this.state.context,this,n),await this.options.onSuccess?.(a,t,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,t,this.state.context,n),this.#r({type:"success",data:a}),a}catch(a){try{await this.#n.config.onError?.(a,t,this.state.context,this,n)}catch(o){Promise.reject(o)}try{await this.options.onError?.(a,t,this.state.context,n)}catch(o){Promise.reject(o)}try{await this.#n.config.onSettled?.(void 0,a,this.state.variables,this.state.context,this,n)}catch(o){Promise.reject(o)}try{await this.options.onSettled?.(void 0,a,t,this.state.context,n)}catch(o){Promise.reject(o)}throw this.#r({type:"error",error:a}),a}finally{this.#n.runNext(this)}}#r(t){const e=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),ks.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function $ft(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var jft=class extends AE{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,e,n){const i=new Mft({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(e),state:n});return this.add(i),i}add(t){this.#e.add(t);const e=rN(t);if(typeof e=="string"){const n=this.#t.get(e);n?n.push(t):this.#t.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const e=rN(t);if(typeof e=="string"){const n=this.#t.get(e);if(n)if(n.length>1){const i=n.indexOf(t);i!==-1&&n.splice(i,1)}else n[0]===t&&this.#t.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){const e=rN(t);if(typeof e=="string"){const i=this.#t.get(e)?.find(r=>r.state.status==="pending");return!i||i===t}else return!0}runNext(t){const e=rN(t);return typeof e=="string"?this.#t.get(e)?.find(i=>i!==t&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){ks.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const e={exact:!0,...t};return this.getAll().find(n=>xX(e,n))}findAll(t={}){return this.getAll().filter(e=>xX(t,e))}notify(t){ks.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return ks.batch(()=>Promise.all(t.map(e=>e.continue().catch(dd))))}};function rN(t){return t.options.scope?.id}var Qft=class extends AE{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,e,n){const i=e.queryKey,r=e.queryHash??s8(i,e);let a=this.get(r);return a||(a=new Pft({client:t,queryKey:i,queryHash:r,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(i)}),this.add(a)),a}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=this.#e.get(t.queryHash);e&&(t.destroy(),e===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ks.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const e={exact:!0,...t};return this.getAll().find(n=>NX(e,n))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(n=>NX(t,n)):e}notify(t){ks.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){ks.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ks.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Hft=class{#e;#t;#n;#i;#r;#o;#a;#s;constructor(t={}){this.#e=t.queryCache||new Qft,this.#t=t.mutationCache||new jft,this.#n=t.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=e0e.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=yC.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#a?.(),this.#a=void 0,this.#s?.(),this.#s=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),n=this.#e.build(this,e),i=n.state.data;return i===void 0?this.fetchQuery(t):(t.revalidateIfStale&&n.isStaleByTime(LR(e.staleTime,n))&&this.prefetchQuery(e),Promise.resolve(i))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:e,state:n})=>{const i=n.data;return[e,i]})}setQueryData(t,e,n){const i=this.defaultQueryOptions({queryKey:t}),a=this.#e.get(i.queryHash)?.state.data,o=kft(e,a);if(o!==void 0)return this.#e.build(this,i).setData(o,{...n,manual:!0})}setQueriesData(t,e,n){return ks.batch(()=>this.#e.findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,e,n)]))}getQueryState(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state}removeQueries(t){const e=this.#e;ks.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=this.#e;return ks.batch(()=>(n.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},i=ks.batch(()=>this.#e.findAll(t).map(r=>r.cancel(n)));return Promise.all(i).then(dd).catch(dd)}invalidateQueries(t,e={}){return ks.batch(()=>(this.#e.findAll(t).forEach(n=>{n.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e)))}refetchQueries(t,e={}){const n={...e,cancelRefetch:e.cancelRefetch??!0},i=ks.batch(()=>this.#e.findAll(t).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let a=r.fetch(void 0,n);return n.throwOnError||(a=a.catch(dd)),r.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(i).then(dd)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=this.#e.build(this,e);return n.isStaleByTime(LR(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(dd).catch(dd)}fetchInfiniteQuery(t){return t.behavior=BX(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(dd).catch(dd)}ensureInfiniteQueryData(t){return t.behavior=BX(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return yC.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,e){this.#i.set(lb(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#i.values()],n={};return e.forEach(i=>{cb(t,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(t,e){this.#r.set(lb(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#r.values()],n={};return e.forEach(i=>{cb(t,i.mutationKey)&&Object.assign(n,i.defaultOptions)}),n}defaultQueryOptions(t){if(t._defaulted)return t;const e={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=s8(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===l8&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},zft=N.createContext(void 0),Vft=({client:t,children:e})=>(N.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),g.jsx(zft.Provider,{value:t,children:e}));function Gft(){const t=pZ();return N.useEffect(()=>{const e=t[t.length-1],n=e?.handle;if(n?.title){const i=typeof n.title=="function"?n.title(e.data):n.title;document.title=`${i} - Accounter`}else document.title="Accounter"},[t]),g.jsx("div",{style:{display:"none"}})}var qft=(t,e,n,i,r,a,o,s)=>{let l=document.documentElement,c=["light","dark"];function d(m){(Array.isArray(t)?t:[t]).forEach(y=>{let v=y==="class",b=v&&a?r.map(k=>a[k]||k):r;v?(l.classList.remove(...b),l.classList.add(a&&a[m]?a[m]:m)):l.setAttribute(y,m)}),f(m)}function f(m){s&&c.includes(m)&&(l.style.colorScheme=m)}function h(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(i)d(i);else try{let m=localStorage.getItem(e)||n,y=o&&m==="system"?h():m;d(y)}catch{}},Kft=N.createContext(void 0),Wft={setTheme:t=>{},themes:[]},Yft=()=>{var t;return(t=N.useContext(Kft))!=null?t:Wft};N.memo(({forcedTheme:t,storageKey:e,attribute:n,enableSystem:i,enableColorScheme:r,defaultTheme:a,value:o,themes:s,nonce:l,scriptProps:c})=>{let d=JSON.stringify([n,e,a,t,s,o,i,r]).slice(1,-1);return N.createElement("script",{...c,suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(${qft.toString()})(${d})`}})});const Xft=({...t})=>{const{theme:e="system"}=Yft();return g.jsx(r4e,{theme:e,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-white group-[.toaster]:text-gray-950 group-[.toaster]:border-gray-200 group-[.toaster]:shadow-lg dark:group-[.toaster]:bg-gray-950 dark:group-[.toaster]:text-gray-50 dark:group-[.toaster]:border-gray-800",description:"group-[.toast]:text-gray-500 dark:group-[.toast]:text-gray-400",actionButton:"group-[.toast]:bg-gray-900 group-[.toast]:text-gray-50 font-medium dark:group-[.toast]:bg-gray-50 dark:group-[.toast]:text-gray-900",cancelButton:"group-[.toast]:bg-gray-100 group-[.toast]:text-gray-500 font-medium dark:group-[.toast]:bg-gray-800 dark:group-[.toast]:text-gray-400"}},...t})},Zft=new Hft({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}}),Jft=o8({palette:{primary:{main:"#556cd6"},secondary:{main:"#19857b"},error:{main:uh.A400}}});function eAt(){return g.jsx(Xne,{withGlobalStyles:!0,theme:{fontFamily:"Roboto, sans-serif",fontSizes:{md:"14"}},children:g.jsxs(cft,{theme:Jft,children:[g.jsx(pft,{}),g.jsxs(TDe,{children:[g.jsx(Xft,{}),g.jsx(a4e,{children:g.jsx(Vft,{client:Zft,children:g.jsxs(tct,{children:[g.jsx(Gft,{}),g.jsx(Fve,{}),g.jsx(yZ,{})]})})})]})]})})}function tAt(){if(!new Cb().isLoggedIn())throw YX(Hn.LOGIN);return null}function nAt(){if(new Cb().isLoggedIn())throw YX(Hn.HOME);return null}let aN=null;function r0e(){if(aN)return aN;const t=new Cb;let e;return e="https://accounter.onrender.com/graphql",aN=xJ({url:e,exchanges:[NJ({onResult(n){fne(n)}}),une(async n=>({addAuthToOperation(i){const r=t.authToken();return r?n.appendHeaders(i,{Authorization:r}):i},didAuthError(i,r){return i?.response?.status===401||i?.graphQLErrors?.some(a=>a.extensions?.code==="FORBIDDEN")},async refreshAuth(){t.logout()}})),wJ]}),aN}function iAt(t){if(!t.chargeId)throw new Response("Charge ID is required",{status:400});return{chargeId:t.chargeId}}function rAt(t){if(!t.businessId)throw new Response("Business ID is required",{status:400});return{businessId:t.businessId}}async function aAt({params:t}){const{chargeId:e}=iAt(t),i=await r0e().query(LCe,{chargeId:e}).toPromise();if(!i.data?.charge)throw new Response("Charge not found",{status:404});return i.data}async function oAt({params:t}){const{businessId:e}=rAt(t),i=await r0e().query(PCe,{businessId:e}).toPromise();if(!i.data?.business)throw new Response("Business not found",{status:404});return i.data}const DX=N.lazy(()=>hi(()=>import("./all-charges-C25sw4Vw.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23])).then(t=>({default:t.AllCharges}))),sAt=N.lazy(()=>hi(()=>import("./missing-info-charges-Dsy5oUHu.js"),__vite__mapDeps([24,1,10,11,12,3,13,14,15,7,16,17,18,19,20,21,22,23])).then(t=>({default:t.MissingInfoCharges}))),lAt=N.lazy(()=>hi(()=>import("./charge-BiCrKZ5S.js"),__vite__mapDeps([25,10,11,12,3,13,14,15,7,16,17,18,19,20,21,22])).then(t=>({default:t.Charge}))),cAt=N.lazy(()=>hi(()=>import("./charges-ledger-validation-829LsQIR.js"),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,27])).then(t=>({default:t.ChargesLedgerValidation}))),dAt=N.lazy(()=>hi(()=>import("./index-HzW6tFXv.js"),__vite__mapDeps([28,1,29,15,20,23])).then(t=>({default:t.Businesses}))),uAt=N.lazy(()=>hi(()=>import("./business-B_k5j_ba.js"),__vite__mapDeps([30,31,14,15,32,21,22,33,29,10,11,12,3,13,7,16,17,18,19,20,34,35,36,37,8])).then(t=>({default:t.BusinessScreen}))),fAt=N.lazy(()=>hi(()=>import("./index-6voPIuBc.js"),__vite__mapDeps([38,1,39,16,23,32,21,22,33,40,4,5,9,12])).then(t=>({default:t.BusinessLedgerRecordsSummery}))),AAt=N.lazy(()=>hi(()=>import("./business-ledger-single-B2zYi6oe.js"),__vite__mapDeps([41,1,39,16,32,21,22,33,40,4,5,9])).then(t=>({default:t.BusinessLedgerRecordsSingle}))),mAt=N.lazy(()=>hi(()=>import("./contracts-CoybM2nI.js"),__vite__mapDeps([42,36,21,22,5,37,8])).then(t=>({default:t.ContractsScreen}))),hAt=N.lazy(()=>hi(()=>import("./index-DAU5uvX5.js"),__vite__mapDeps([43,44,17,3,16,11,12,9,14,15,18,23])).then(t=>({default:t.BusinessTrips}))),pAt=N.lazy(()=>hi(()=>import("./business-trip-BTFVFqTb.js"),__vite__mapDeps([45,44,17,3,16,11,12,9,14,15,18,23])).then(t=>({default:t.BusinessTrip}))),gAt=N.lazy(()=>hi(()=>import("./index-DiURoW7Y.js"),__vite__mapDeps([46,1,23,4,5])).then(t=>({default:t.ChartPage}))),vAt=N.lazy(()=>hi(()=>import("./index-Tbw04SMm.js"),__vite__mapDeps([47,1,23,4,5,48,35,6,7,8])).then(t=>({default:t.MonthlyIncomeExpenseChart}))),yAt=N.lazy(()=>hi(()=>import("./index-B48UbZgd.js"),__vite__mapDeps([49,1,39,16,50,4,23,5,9,6,7,8,51])).then(t=>({default:t.DocumentsReport}))),kAt=N.lazy(()=>hi(()=>import("./issue-document-DVCemcvP.js"),__vite__mapDeps([52,23])).then(t=>({default:t.IssueDocumentScreen}))),bAt=N.lazy(()=>hi(()=>import("./index-BWVeSaVH.js"),__vite__mapDeps([53,37,8])).then(t=>({default:t.IssueDocuments}))),SAt=N.lazy(()=>hi(()=>import("./index-D3BVMctX.js"),__vite__mapDeps([54,1,23,4,5,9,33,32,21,22,12,16])).then(t=>({default:t.TrialBalanceReport}))),wAt=N.lazy(()=>hi(()=>import("./index-SeZ6e2IY.js"),__vite__mapDeps([55,1,51,33,32,21,22,48,12,5,9])).then(t=>({default:t.ContoReport}))),NAt=N.lazy(()=>hi(()=>import("./index-BFXVaxb0.js"),__vite__mapDeps([56,57,1,10,11,12,3,13,14,15,7,16,17,18,19,20,21,22,23,2,4,5,6,8,9])).then(t=>({default:t.VatMonthlyReport}))),IX=N.lazy(()=>hi(()=>import("./index-B6dfuYIx.js"),__vite__mapDeps([58,57,23,59,11,12,16,4,5])).then(t=>({default:t.ProfitAndLossReport}))),OX=N.lazy(()=>hi(()=>import("./index-xFXxtg2C.js"),__vite__mapDeps([60,57,23,59,11,12,16,4,5])).then(t=>({default:t.TaxReport}))),xAt=N.lazy(()=>hi(()=>import("./index-CTwMeBqF.js"),__vite__mapDeps([61,1,23,5])).then(t=>({default:t.DepreciationReport}))),FAt=N.lazy(()=>hi(()=>import("./index-DJdqwTB-.js"),__vite__mapDeps([62,23])).then(t=>({default:t.AnnualRevenueReport}))),CAt=N.lazy(()=>hi(()=>import("./index-CWB4GuES.js"),__vite__mapDeps([63,5,15,22,31])).then(t=>({default:t.Shaam6111Report}))),_At=N.lazy(()=>hi(()=>import("./index-EUnNrMjG.js"),__vite__mapDeps([64,50,23,33])).then(t=>({default:t.YearlyLedgerReport}))),RX=N.lazy(()=>hi(()=>import("./index-Cl0HzH8n.js"),__vite__mapDeps([65,57,23,4,5,16])).then(t=>({default:t.CorporateTaxRulingComplianceReport}))),EAt=N.lazy(()=>hi(()=>import("./index-Ci6HaxoD.js"),__vite__mapDeps([66,1,23,34,13,14,15,7,35,33,4,5,9,6,8])).then(t=>({default:t.BalanceReport}))),BAt=N.lazy(()=>hi(()=>import("./index-DT0MsOt-.js"),__vite__mapDeps([67,1,23,18,4,5])).then(t=>({default:t.ValidateReportsScreen}))),TAt=N.lazy(()=>hi(()=>import("./accountant-approvals-DKeksuRo.js"),__vite__mapDeps([68,1,2,3,4,5,6,7,8,9,23,27])).then(t=>({default:t.AccountantApprovals}))),DAt=N.lazy(()=>hi(()=>import("./index-ZKG76s7Z.js"),__vite__mapDeps([69,1,23,4,5,9])).then(t=>({default:t.Salaries}))),IAt=N.lazy(()=>hi(()=>import("./index-BfmxxMgF.js"),__vite__mapDeps([70,23])).then(t=>({default:t.TagsManager}))),OAt=N.lazy(()=>hi(()=>import("./index-CPWGn2pz.js"),__vite__mapDeps([71,50,23,51])).then(t=>({default:t.TaxCategories}))),RAt=N.lazy(()=>hi(()=>import("./index-BmpxpR0w.js"),__vite__mapDeps([72,50,23,51])).then(t=>({default:t.SortCodes}))),PAt=N.lazy(()=>hi(()=>import("./index-Y8bTnSrF.js"),__vite__mapDeps([73,19])).then(t=>({default:t.DepositsScreen}))),LAt=N.lazy(()=>hi(()=>import("./page-not-found-zY3WEMae.js"),[]).then(t=>({default:t.PageNotFound}))),UAt=N.lazy(()=>hi(()=>import("./login-page-BUNJ0vL_.js"),[]).then(t=>({default:t.LoginPage})));function ui(t,e){return g.jsx(N.Suspense,{fallback:e||g.jsx(hNe,{}),children:g.jsx(t,{})})}const MAt=[{path:"/",element:g.jsx(eAt,{}),errorElement:g.jsx(Tj,{}),children:[{path:Hn.LOGIN,loader:nAt,element:ui(UAt),handle:{title:"Login"}},{path:"/",loader:tAt,element:g.jsx(Mct,{}),errorElement:g.jsx(Tj,{}),children:[{index:!0,element:ui(DX,g.jsx(pl,{})),handle:{title:"All Charges",breadcrumb:"Charges"}},{path:"charges",handle:{breadcrumb:"Charges"},children:[{index:!0,element:ui(DX,g.jsx(pl,{})),handle:{title:"All Charges"}},{path:"missing-info",element:ui(sAt,g.jsx(pl,{})),handle:{title:"Missing Info Charges",breadcrumb:"Missing Info"}},{path:"ledger-validation",element:ui(cAt,g.jsx(pl,{})),handle:{title:"Ledger Validation",breadcrumb:"Ledger Validation"}},{path:":chargeId",loader:aAt,element:ui(lAt),handle:{title:"Charge Details",breadcrumb:"Details"}}]},{path:"businesses",handle:{breadcrumb:"Businesses"},children:[{index:!0,element:ui(dAt,g.jsx(pl,{})),handle:{title:"All Businesses"}},{path:"ledger",element:ui(fAt,g.jsx(pl,{})),handle:{title:"Business Ledger Records Summary",breadcrumb:"Ledger"}},{path:":businessId",loader:oAt,element:ui(uAt),handle:{title:"Business Details",breadcrumb:"Details"}},{path:":businessId/ledger",element:ui(AAt,g.jsx(pl,{})),handle:{title:"Business Ledger",breadcrumb:"Ledger"}},{path:"contracts",element:ui(mAt,g.jsx(pl,{})),handle:{title:"Clients Contracts",breadcrumb:"Contracts"}}]},{path:"business-trips",handle:{breadcrumb:"Business Trips"},children:[{index:!0,element:ui(hAt,g.jsx(pl,{})),handle:{title:"Business Trips"}},{path:":businessTripId",element:ui(pAt),handle:{title:"Business Trip Details",breadcrumb:"Details"}}]},{path:"charts",handle:{breadcrumb:"Charts"},children:[{index:!0,element:ui(gAt),handle:{title:"Charts"}},{path:"monthly-income-expense",element:ui(vAt),handle:{title:"Monthly Income/Expense",breadcrumb:"Income/Expense"}}]},{path:"documents",handle:{breadcrumb:"Documents"},children:[{index:!0,element:ui(yAt,g.jsx(pl,{})),handle:{title:"All Documents"}},{path:"issue-document",element:ui(kAt),handle:{title:"Issue Document",breadcrumb:"Issue Document"}},{path:"issue-documents",element:ui(bAt),handle:{title:"Issue Documents",breadcrumb:"Issue Documents"}}]},{path:"reports",handle:{breadcrumb:"Reports"},children:[{path:"trial-balance",element:ui(SAt,g.jsx(zs,{})),handle:{title:"Trial Balance Report",breadcrumb:"Trial Balance"}},{path:"conto",element:ui(wAt,g.jsx(zs,{})),handle:{title:"Conto Report",breadcrumb:"Conto"}},{path:"vat-monthly",element:ui(NAt,g.jsx(zs,{})),handle:{title:"VAT Monthly Report",breadcrumb:"VAT Monthly"}},{path:"profit-and-loss",handle:{breadcrumb:"Profit & Loss"},children:[{index:!0,element:ui(IX,g.jsx(zs,{})),handle:{title:"Profit & Loss Report"}},{path:":year",element:ui(IX,g.jsx(zs,{})),handle:{title:"Profit & Loss Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"tax",handle:{breadcrumb:"Tax"},children:[{index:!0,element:ui(OX,g.jsx(zs,{})),handle:{title:"Tax Report"}},{path:":year",element:ui(OX,g.jsx(zs,{})),handle:{title:"Tax Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"depreciation",element:ui(xAt,g.jsx(zs,{})),handle:{title:"Depreciation Report",breadcrumb:"Depreciation"}},{path:"annual-revenue",element:ui(FAt,g.jsx(zs,{})),handle:{title:"Annual Revenue Report",breadcrumb:"Annual Revenue"}},{path:"shaam-6111",element:ui(CAt,g.jsx(zs,{})),handle:{title:"Shaam 6111 Report",breadcrumb:"Shaam 6111"}},{path:"yearly-ledger",element:ui(_At,g.jsx(zs,{})),handle:{title:"Yearly Ledger Report",breadcrumb:"Yearly Ledger"}},{path:"corporate-tax-ruling-compliance",handle:{breadcrumb:"Tax Ruling"},children:[{index:!0,element:ui(RX,g.jsx(zs,{})),handle:{title:"Corporate Tax Ruling Compliance Report"}},{path:":year",element:ui(RX,g.jsx(zs,{})),handle:{title:"Corporate Tax Ruling Compliance Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"balance",element:ui(EAt,g.jsx(zs,{})),handle:{title:"Balance Report",breadcrumb:"Balance"}},{path:"validate-reports",element:ui(BAt),handle:{title:"Validate Reports",breadcrumb:"Validate"}}]},{path:"bank-deposits",element:ui(PAt,g.jsx(pl,{})),handle:{title:"Bank Deposits",breadcrumb:"Bank Deposits"}},{path:"accountant-approvals",element:ui(TAt,g.jsx(pl,{})),handle:{title:"Accountant Approvals",breadcrumb:"Accountant Approvals"}},{path:"salaries",element:ui(DAt,g.jsx(pl,{})),handle:{title:"Salaries",breadcrumb:"Salaries"}},{path:"tags",element:ui(IAt),handle:{title:"Tags",breadcrumb:"Tags"}},{path:"tax-categories",element:ui(OAt),handle:{title:"Tax Categories",breadcrumb:"Tax Categories"}},{path:"sort-codes",element:ui(RAt),handle:{title:"Sort Codes",breadcrumb:"Sort Codes"}},{path:"*",element:ui(LAt),handle:{title:"Page Not Found"}}]}]}];var PX={},LX;function $At(){if(LX)return PX;LX=1;var t={};const e=(...r)=>t.stringify(...r);(function(){var r=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a,o,s={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},l;function c(f){return r.lastIndex=0,r.test(f)?'"'+f.replace(r,function(h){var m=s[h];return typeof m=="string"?m:"\\u"+("0000"+h.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+f+'"'}function d(f,h){var m,y,v,b,k=a,w,x=h[f];switch(x&&typeof x=="object"&&typeof x.toJSON=="function"&&(x=x.toJSON(f)),typeof l=="function"&&(x=l.call(h,f,x)),typeof x){case"string":return c(x);case"number":return isFinite(x)?String(x):"null";case"bigint":case"boolean":case"null":return String(x);case"object":if(!x)return"null";if(a+=o,w=[],Object.prototype.toString.apply(x)==="[object Array]"){for(b=x.length,m=0;m<b;m+=1)w[m]=d(m,x)||"null";return v=w.length===0?"[]":a?`[
|
|
290
|
+
export default theme;`}function SX(t){return typeof t=="number"?`${(t*100).toFixed(0)}%`:`calc((${t}) * 100%)`}const qut=t=>{if(!Number.isNaN(+t))return+t;const e=t.match(/\d*\.?\d+/g);if(!e)return 0;let n=0;for(let i=0;i<e.length;i+=1)n+=+e[i];return n};function Kut(t){Object.assign(t,{alpha(e,n){const i=this||t;return i.colorSpace?`oklch(from ${e} l c h / ${typeof n=="string"?`calc(${n})`:n})`:i.vars?`rgba(${e.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof n=="string"?`calc(${n})`:n})`:Lve(e,qut(n))},lighten(e,n){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${e}, #fff ${SX(n)})`:fE(e,n)},darken(e,n){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${e}, #000 ${SX(n)})`:uE(e,n)}})}function OR(t={},...e){const{breakpoints:n,mixins:i={},spacing:r,palette:a={},transitions:o={},typography:s={},shape:l,colorSpace:c,...d}=t;if(t.vars&&t.generateThemeVars===void 0)throw new Error(Zh(20));const f=a8({...a,colorSpace:c}),h=Ive(t);let m=Pl(h,{mixins:Rut(h.breakpoints,i),palette:f,shadows:$ut.slice(),typography:Gve(f,s),transitions:zut(o),zIndex:{...Vut}});return m=Pl(m,d),m=e.reduce((y,v)=>Pl(y,v),m),m.unstable_sxConfig={...x1,...d?.unstable_sxConfig},m.unstable_sx=function(v){return F1({sx:v,theme:this})},m.toRuntimeSource=qve,Kut(m),m}function Wut(t){let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,Math.round(e*10)/1e3}const Yut=[...Array(25)].map((t,e)=>{if(e===0)return"none";const n=Wut(e);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Kve(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function Wve(t){return t==="dark"?Yut:[]}function Xut(t){const{palette:e={mode:"light"},opacity:n,overlays:i,colorSpace:r,...a}=t,o=a8({...e,colorSpace:r});return{palette:o,opacity:{...Kve(o.mode),...n},overlays:i||Wve(o.mode),...a}}function Zut(t){return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!t[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const Jut=t=>[...[...Array(25)].map((e,n)=>`--${t?`${t}-`:""}overlays-${n}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],eft=t=>(e,n)=>{const i=t.rootSelector||":root",r=t.colorSchemeSelector;let a=r;if(r==="class"&&(a=".%s"),r==="data"&&(a="[data-%s]"),r?.startsWith("data-")&&!r.includes("%s")&&(a=`[${r}="%s"]`),t.defaultColorScheme===e){if(e==="dark"){const o={};return Jut(t.cssVarPrefix).forEach(s=>{o[s]=n[s],delete n[s]}),a==="media"?{[i]:n,"@media (prefers-color-scheme: dark)":{[i]:o}}:a?{[a.replace("%s",e)]:o,[`${i}, ${a.replace("%s",e)}`]:n}:{[i]:{...n,...o}}}if(a&&a!=="media")return`${i}, ${a.replace("%s",String(e))}`}else if(e){if(a==="media")return{[`@media (prefers-color-scheme: ${String(e)})`]:{[i]:n}};if(a)return a.replace("%s",String(e))}return i};function tft(t,e){e.forEach(n=>{t[n]||(t[n]={})})}function vt(t,e,n){!t[e]&&n&&(t[e]=n)}function ak(t){return typeof t!="string"||!t.startsWith("hsl")?t:Pve(t)}function Cf(t,e){`${e}Channel`in t||(t[`${e}Channel`]=rk(ak(t[e])))}function nft(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const ou=t=>{try{return t()}catch{}},ift=(t="mui")=>Sut(t);function bI(t,e,n,i,r){if(!n)return;n=n===!0?{}:n;const a=r==="dark"?"dark":"light";if(!i){e[r]=Xut({...n,palette:{mode:a,...n?.palette},colorSpace:t});return}const{palette:o,...s}=OR({...i,palette:{mode:a,...n?.palette},colorSpace:t});return e[r]={...n,palette:o,opacity:{...Kve(a),...n?.opacity},overlays:n?.overlays||Wve(a)},s}function rft(t={},...e){const{colorSchemes:n={light:!0},defaultColorScheme:i,disableCssColorScheme:r=!1,cssVarPrefix:a="mui",nativeColor:o=!1,shouldSkipGeneratingVar:s=Zut,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,rootSelector:c=":root",...d}=t,f=Object.keys(n)[0],h=i||(n.light&&f!=="light"?"light":f),m=ift(a),{[h]:y,light:v,dark:b,...k}=n,w={...k};let x=y;if((h==="dark"&&!("dark"in n)||h==="light"&&!("light"in n))&&(x=!0),!x)throw new Error(Zh(21,h));let F;o&&(F="oklch");const C=bI(F,w,x,d,h);v&&!w.light&&bI(F,w,v,void 0,"light"),b&&!w.dark&&bI(F,w,b,void 0,"dark");let D={defaultColorScheme:h,...C,cssVarPrefix:a,colorSchemeSelector:l,rootSelector:c,getCssVar:m,colorSchemes:w,font:{...Out(C.typography),...C.font},spacing:nft(d.spacing)};Object.keys(D.colorSchemes).forEach(U=>{const P=D.colorSchemes[U].palette,ee=le=>{const H=le.split("-"),te=H[1],X=H[2];return m(le,P[te][X])};P.mode==="light"&&(vt(P.common,"background","#fff"),vt(P.common,"onBackground","#000")),P.mode==="dark"&&(vt(P.common,"background","#000"),vt(P.common,"onBackground","#fff"));function K(le,H,te){if(F){let X;return le===lh&&(X=`transparent ${((1-te)*100).toFixed(0)}%`),le===ar&&(X=`#000 ${(te*100).toFixed(0)}%`),le===or&&(X=`#fff ${(te*100).toFixed(0)}%`),`color-mix(in ${F}, ${H}, ${X})`}return le(H,te)}if(tft(P,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),P.mode==="light"){vt(P.Alert,"errorColor",K(ar,P.error.light,.6)),vt(P.Alert,"infoColor",K(ar,P.info.light,.6)),vt(P.Alert,"successColor",K(ar,P.success.light,.6)),vt(P.Alert,"warningColor",K(ar,P.warning.light,.6)),vt(P.Alert,"errorFilledBg",ee("palette-error-main")),vt(P.Alert,"infoFilledBg",ee("palette-info-main")),vt(P.Alert,"successFilledBg",ee("palette-success-main")),vt(P.Alert,"warningFilledBg",ee("palette-warning-main")),vt(P.Alert,"errorFilledColor",ou(()=>P.getContrastText(P.error.main))),vt(P.Alert,"infoFilledColor",ou(()=>P.getContrastText(P.info.main))),vt(P.Alert,"successFilledColor",ou(()=>P.getContrastText(P.success.main))),vt(P.Alert,"warningFilledColor",ou(()=>P.getContrastText(P.warning.main))),vt(P.Alert,"errorStandardBg",K(or,P.error.light,.9)),vt(P.Alert,"infoStandardBg",K(or,P.info.light,.9)),vt(P.Alert,"successStandardBg",K(or,P.success.light,.9)),vt(P.Alert,"warningStandardBg",K(or,P.warning.light,.9)),vt(P.Alert,"errorIconColor",ee("palette-error-main")),vt(P.Alert,"infoIconColor",ee("palette-info-main")),vt(P.Alert,"successIconColor",ee("palette-success-main")),vt(P.Alert,"warningIconColor",ee("palette-warning-main")),vt(P.AppBar,"defaultBg",ee("palette-grey-100")),vt(P.Avatar,"defaultBg",ee("palette-grey-400")),vt(P.Button,"inheritContainedBg",ee("palette-grey-300")),vt(P.Button,"inheritContainedHoverBg",ee("palette-grey-A100")),vt(P.Chip,"defaultBorder",ee("palette-grey-400")),vt(P.Chip,"defaultAvatarColor",ee("palette-grey-700")),vt(P.Chip,"defaultIconColor",ee("palette-grey-700")),vt(P.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),vt(P.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),vt(P.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),vt(P.LinearProgress,"primaryBg",K(or,P.primary.main,.62)),vt(P.LinearProgress,"secondaryBg",K(or,P.secondary.main,.62)),vt(P.LinearProgress,"errorBg",K(or,P.error.main,.62)),vt(P.LinearProgress,"infoBg",K(or,P.info.main,.62)),vt(P.LinearProgress,"successBg",K(or,P.success.main,.62)),vt(P.LinearProgress,"warningBg",K(or,P.warning.main,.62)),vt(P.Skeleton,"bg",F?K(lh,P.text.primary,.11):`rgba(${ee("palette-text-primaryChannel")} / 0.11)`),vt(P.Slider,"primaryTrack",K(or,P.primary.main,.62)),vt(P.Slider,"secondaryTrack",K(or,P.secondary.main,.62)),vt(P.Slider,"errorTrack",K(or,P.error.main,.62)),vt(P.Slider,"infoTrack",K(or,P.info.main,.62)),vt(P.Slider,"successTrack",K(or,P.success.main,.62)),vt(P.Slider,"warningTrack",K(or,P.warning.main,.62));const le=F?K(ar,P.background.default,.6825):nN(P.background.default,.8);vt(P.SnackbarContent,"bg",le),vt(P.SnackbarContent,"color",ou(()=>F?IR.text.primary:P.getContrastText(le))),vt(P.SpeedDialAction,"fabHoverBg",nN(P.background.paper,.15)),vt(P.StepConnector,"border",ee("palette-grey-400")),vt(P.StepContent,"border",ee("palette-grey-400")),vt(P.Switch,"defaultColor",ee("palette-common-white")),vt(P.Switch,"defaultDisabledColor",ee("palette-grey-100")),vt(P.Switch,"primaryDisabledColor",K(or,P.primary.main,.62)),vt(P.Switch,"secondaryDisabledColor",K(or,P.secondary.main,.62)),vt(P.Switch,"errorDisabledColor",K(or,P.error.main,.62)),vt(P.Switch,"infoDisabledColor",K(or,P.info.main,.62)),vt(P.Switch,"successDisabledColor",K(or,P.success.main,.62)),vt(P.Switch,"warningDisabledColor",K(or,P.warning.main,.62)),vt(P.TableCell,"border",K(or,K(lh,P.divider,1),.88)),vt(P.Tooltip,"bg",K(lh,P.grey[700],.92))}if(P.mode==="dark"){vt(P.Alert,"errorColor",K(or,P.error.light,.6)),vt(P.Alert,"infoColor",K(or,P.info.light,.6)),vt(P.Alert,"successColor",K(or,P.success.light,.6)),vt(P.Alert,"warningColor",K(or,P.warning.light,.6)),vt(P.Alert,"errorFilledBg",ee("palette-error-dark")),vt(P.Alert,"infoFilledBg",ee("palette-info-dark")),vt(P.Alert,"successFilledBg",ee("palette-success-dark")),vt(P.Alert,"warningFilledBg",ee("palette-warning-dark")),vt(P.Alert,"errorFilledColor",ou(()=>P.getContrastText(P.error.dark))),vt(P.Alert,"infoFilledColor",ou(()=>P.getContrastText(P.info.dark))),vt(P.Alert,"successFilledColor",ou(()=>P.getContrastText(P.success.dark))),vt(P.Alert,"warningFilledColor",ou(()=>P.getContrastText(P.warning.dark))),vt(P.Alert,"errorStandardBg",K(ar,P.error.light,.9)),vt(P.Alert,"infoStandardBg",K(ar,P.info.light,.9)),vt(P.Alert,"successStandardBg",K(ar,P.success.light,.9)),vt(P.Alert,"warningStandardBg",K(ar,P.warning.light,.9)),vt(P.Alert,"errorIconColor",ee("palette-error-main")),vt(P.Alert,"infoIconColor",ee("palette-info-main")),vt(P.Alert,"successIconColor",ee("palette-success-main")),vt(P.Alert,"warningIconColor",ee("palette-warning-main")),vt(P.AppBar,"defaultBg",ee("palette-grey-900")),vt(P.AppBar,"darkBg",ee("palette-background-paper")),vt(P.AppBar,"darkColor",ee("palette-text-primary")),vt(P.Avatar,"defaultBg",ee("palette-grey-600")),vt(P.Button,"inheritContainedBg",ee("palette-grey-800")),vt(P.Button,"inheritContainedHoverBg",ee("palette-grey-700")),vt(P.Chip,"defaultBorder",ee("palette-grey-700")),vt(P.Chip,"defaultAvatarColor",ee("palette-grey-300")),vt(P.Chip,"defaultIconColor",ee("palette-grey-300")),vt(P.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),vt(P.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),vt(P.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),vt(P.LinearProgress,"primaryBg",K(ar,P.primary.main,.5)),vt(P.LinearProgress,"secondaryBg",K(ar,P.secondary.main,.5)),vt(P.LinearProgress,"errorBg",K(ar,P.error.main,.5)),vt(P.LinearProgress,"infoBg",K(ar,P.info.main,.5)),vt(P.LinearProgress,"successBg",K(ar,P.success.main,.5)),vt(P.LinearProgress,"warningBg",K(ar,P.warning.main,.5)),vt(P.Skeleton,"bg",F?K(lh,P.text.primary,.13):`rgba(${ee("palette-text-primaryChannel")} / 0.13)`),vt(P.Slider,"primaryTrack",K(ar,P.primary.main,.5)),vt(P.Slider,"secondaryTrack",K(ar,P.secondary.main,.5)),vt(P.Slider,"errorTrack",K(ar,P.error.main,.5)),vt(P.Slider,"infoTrack",K(ar,P.info.main,.5)),vt(P.Slider,"successTrack",K(ar,P.success.main,.5)),vt(P.Slider,"warningTrack",K(ar,P.warning.main,.5));const le=F?K(or,P.background.default,.985):nN(P.background.default,.98);vt(P.SnackbarContent,"bg",le),vt(P.SnackbarContent,"color",ou(()=>F?zve.text.primary:P.getContrastText(le))),vt(P.SpeedDialAction,"fabHoverBg",nN(P.background.paper,.15)),vt(P.StepConnector,"border",ee("palette-grey-600")),vt(P.StepContent,"border",ee("palette-grey-600")),vt(P.Switch,"defaultColor",ee("palette-grey-300")),vt(P.Switch,"defaultDisabledColor",ee("palette-grey-600")),vt(P.Switch,"primaryDisabledColor",K(ar,P.primary.main,.55)),vt(P.Switch,"secondaryDisabledColor",K(ar,P.secondary.main,.55)),vt(P.Switch,"errorDisabledColor",K(ar,P.error.main,.55)),vt(P.Switch,"infoDisabledColor",K(ar,P.info.main,.55)),vt(P.Switch,"successDisabledColor",K(ar,P.success.main,.55)),vt(P.Switch,"warningDisabledColor",K(ar,P.warning.main,.55)),vt(P.TableCell,"border",K(ar,K(lh,P.divider,1),.68)),vt(P.Tooltip,"bg",K(lh,P.grey[700],.92))}Cf(P.background,"default"),Cf(P.background,"paper"),Cf(P.common,"background"),Cf(P.common,"onBackground"),Cf(P,"divider"),Object.keys(P).forEach(le=>{const H=P[le];le!=="tonalOffset"&&H&&typeof H=="object"&&(H.main&&vt(P[le],"mainChannel",rk(ak(H.main))),H.light&&vt(P[le],"lightChannel",rk(ak(H.light))),H.dark&&vt(P[le],"darkChannel",rk(ak(H.dark))),H.contrastText&&vt(P[le],"contrastTextChannel",rk(ak(H.contrastText))),le==="text"&&(Cf(P[le],"primary"),Cf(P[le],"secondary")),le==="action"&&(H.active&&Cf(P[le],"active"),H.selected&&Cf(P[le],"selected")))})}),D=e.reduce((U,P)=>Pl(U,P),D);const B={prefix:a,disableCssColorScheme:r,shouldSkipGeneratingVar:s,getSelector:eft(D),enableContrastVars:o},{vars:R,generateThemeVars:O,generateStyleSheets:V}=xut(D,B);return D.vars=R,Object.entries(D.colorSchemes[D.defaultColorScheme]).forEach(([U,P])=>{D[U]=P}),D.generateThemeVars=O,D.generateStyleSheets=V,D.generateSpacing=function(){return Dve(d.spacing,ZU(this))},D.getColorSchemeSelector=Fut(l),D.spacing=D.generateSpacing(),D.shouldSkipGeneratingVar=s,D.unstable_sxConfig={...x1,...d?.unstable_sxConfig},D.unstable_sx=function(P){return F1({sx:P,theme:this})},D.toRuntimeSource=qve,D}function wX(t,e,n){t.colorSchemes&&n&&(t.colorSchemes[e]={...n!==!0&&n,palette:a8({...n===!0?{}:n.palette,mode:e})})}function o8(t={},...e){const{palette:n,cssVariables:i=!1,colorSchemes:r=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=t,s=a||"light",l=r?.[s],c={...r,...n?{[s]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(i===!1){if(!("colorSchemes"in t))return OR(t,...e);let d=n;"palette"in t||c[s]&&(c[s]!==!0?d=c[s].palette:s==="dark"&&(d={mode:"dark"}));const f=OR({...t,palette:d},...e);return f.defaultColorScheme=s,f.colorSchemes=c,f.palette.mode==="light"&&(f.colorSchemes.light={...c.light!==!0&&c.light,palette:f.palette},wX(f,"dark",c.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:f.palette},wX(f,"light",c.light)),f}return!n&&!("light"in c)&&s==="light"&&(c.light=!0),rft({...o,colorSchemes:c,defaultColorScheme:s,...typeof i!="boolean"&&i},...e)}const aft=o8();function oft({theme:t,...e}){const n=Th in t?t[Th]:void 0;return g.jsx(jve,{...e,themeId:n?Th:void 0,theme:n||t})}const iN={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:sft}=but({themeId:Th,theme:()=>o8({cssVariables:!0}),colorSchemeStorageKey:iN.colorSchemeStorageKey,modeStorageKey:iN.modeStorageKey,defaultColorScheme:{light:iN.defaultLightColorScheme,dark:iN.defaultDarkColorScheme},resolveTheme:t=>{const e={...t,typography:Gve(t.palette,t.typography)};return e.unstable_sx=function(i){return F1({sx:i,theme:this})},e}}),lft=sft;function cft({theme:t,...e}){const n=N.useMemo(()=>{if(typeof t=="function")return t;const i=Th in t?t[Th]:t;return"colorSchemes"in i?null:"vars"in i?t:{...t,vars:null}},[t]);return n?g.jsx(oft,{theme:n,...e}):g.jsx(lft,{theme:t,...e})}function dft(t){return g.jsx(Ove,{...t,defaultTheme:aft,themeId:Th})}function Yve(t){return function(n){return g.jsx(dft,{styles:typeof t=="function"?i=>t({theme:i,...n}):t})}}function o0t(){return Ydt}function uft(t){return cut(t)}const RR=typeof Yve({})=="function",fft=(t,e)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...e&&!t.vars&&{colorScheme:t.palette.mode}}),Aft=t=>({color:(t.vars||t).palette.text.primary,...t.typography.body1,backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),Xve=(t,e=!1)=>{const n={};e&&t.colorSchemes&&typeof t.getColorSchemeSelector=="function"&&Object.entries(t.colorSchemes).forEach(([a,o])=>{const s=t.getColorSchemeSelector(a);s.startsWith("@")?n[s]={":root":{colorScheme:o.palette?.mode}}:n[s.replace(/\s*&/,"")]={colorScheme:o.palette?.mode}});let i={html:fft(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:{margin:0,...Aft(t),"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}},...n};const r=t.components?.MuiCssBaseline?.styleOverrides;return r&&(i=[i,r]),i},QN="mui-ecs",mft=t=>{const e=Xve(t,!1),n=Array.isArray(e)?e[0]:e;return!t.vars&&n&&(n.html[`:root:has(${QN})`]={colorScheme:t.palette.mode}),t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([i,r])=>{const a=t.getColorSchemeSelector(i);a.startsWith("@")?n[a]={[`:root:not(:has(.${QN}))`]:{colorScheme:r.palette?.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${QN}))`]:{colorScheme:r.palette?.mode}}}),e},hft=Yve(RR?({theme:t,enableColorScheme:e})=>Xve(t,e):({theme:t})=>mft(t));function pft(t){const e=uft({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:i=!1}=e;return g.jsxs(N.Fragment,{children:[RR&&g.jsx(hft,{enableColorScheme:i}),!RR&&!i&&g.jsx("span",{className:QN,style:{display:"none"}}),n]})}var AE=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},gft={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},vft=class{#e=gft;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,e){return this.#e.setTimeout(t,e)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,e){return this.#e.setInterval(t,e)}clearInterval(t){this.#e.clearInterval(t)}},PR=new vft;function yft(t){setTimeout(t,0)}var mE=typeof window>"u"||"Deno"in globalThis;function dd(){}function kft(t,e){return typeof t=="function"?t(e):t}function bft(t){return typeof t=="number"&&t>=0&&t!==1/0}function Sft(t,e){return Math.max(t+(e||0)-Date.now(),0)}function LR(t,e){return typeof t=="function"?t(e):t}function wft(t,e){return typeof t=="function"?t(e):t}function NX(t,e){const{type:n="all",exact:i,fetchStatus:r,predicate:a,queryKey:o,stale:s}=t;if(o){if(i){if(e.queryHash!==s8(o,e.options))return!1}else if(!cb(e.queryKey,o))return!1}if(n!=="all"){const l=e.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&e.isStale()!==s||r&&r!==e.state.fetchStatus||a&&!a(e))}function xX(t,e){const{exact:n,status:i,predicate:r,mutationKey:a}=t;if(a){if(!e.options.mutationKey)return!1;if(n){if(lb(e.options.mutationKey)!==lb(a))return!1}else if(!cb(e.options.mutationKey,a))return!1}return!(i&&e.state.status!==i||r&&!r(e))}function s8(t,e){return(e?.queryKeyHashFn||lb)(t)}function lb(t){return JSON.stringify(t,(e,n)=>UR(n)?Object.keys(n).sort().reduce((i,r)=>(i[r]=n[r],i),{}):n)}function cb(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>cb(t[n],e[n])):!1}var Nft=Object.prototype.hasOwnProperty;function Zve(t,e,n=0){if(t===e)return t;if(n>500)return e;const i=FX(t)&&FX(e);if(!i&&!(UR(t)&&UR(e)))return e;const a=(i?t:Object.keys(t)).length,o=i?e:Object.keys(e),s=o.length,l=i?new Array(s):{};let c=0;for(let d=0;d<s;d++){const f=i?d:o[d],h=t[f],m=e[f];if(h===m){l[f]=h,(i?d<a:Nft.call(t,f))&&c++;continue}if(h===null||m===null||typeof h!="object"||typeof m!="object"){l[f]=m;continue}const y=Zve(h,m,n+1);l[f]=y,y===h&&c++}return a===s&&c===a?t:l}function FX(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function UR(t){if(!CX(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!CX(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function CX(t){return Object.prototype.toString.call(t)==="[object Object]"}function xft(t){return new Promise(e=>{PR.setTimeout(e,t)})}function Fft(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?Zve(t,e):e}function Cft(t,e,n=0){const i=[...t,e];return n&&i.length>n?i.slice(1):i}function _ft(t,e,n=0){const i=[e,...t];return n&&i.length>n?i.slice(0,-1):i}var l8=Symbol();function Jve(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===l8?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function Eft(t,e,n){let i=!1,r;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(r??=e(),i||(i=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),t}var Bft=class extends AE{#e;#t;#n;constructor(){super(),this.#n=t=>{if(!mE&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(e=>{typeof e=="boolean"?this.setFocused(e):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},e0e=new Bft;function Tft(){let t,e;const n=new Promise((r,a)=>{t=r,e=a});n.status="pending",n.catch(()=>{});function i(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{i({status:"fulfilled",value:r}),t(r)},n.reject=r=>{i({status:"rejected",reason:r}),e(r)},n}var Dft=yft;function Ift(){let t=[],e=0,n=s=>{s()},i=s=>{s()},r=Dft;const a=s=>{e?t.push(s):r(()=>{n(s)})},o=()=>{const s=t;t=[],s.length&&r(()=>{i(()=>{s.forEach(l=>{n(l)})})})};return{batch:s=>{let l;e++;try{l=s()}finally{e--,e||o()}return l},batchCalls:s=>(...l)=>{a(()=>{s(...l)})},schedule:a,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{i=s},setScheduler:s=>{r=s}}}var ks=Ift(),Oft=class extends AE{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(!mE&&window.addEventListener){const e=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(n=>{n(t)}))}isOnline(){return this.#e}},yC=new Oft;function Rft(t){return Math.min(1e3*2**t,3e4)}function t0e(t){return(t??"online")==="online"?yC.isOnline():!0}var MR=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function n0e(t){let e=!1,n=0,i;const r=Tft(),a=()=>r.status!=="pending",o=v=>{if(!a()){const b=new MR(v);h(b),t.onCancel?.(b)}},s=()=>{e=!0},l=()=>{e=!1},c=()=>e0e.isFocused()&&(t.networkMode==="always"||yC.isOnline())&&t.canRun(),d=()=>t0e(t.networkMode)&&t.canRun(),f=v=>{a()||(i?.(),r.resolve(v))},h=v=>{a()||(i?.(),r.reject(v))},m=()=>new Promise(v=>{i=b=>{(a()||c())&&v(b)},t.onPause?.()}).then(()=>{i=void 0,a()||t.onContinue?.()}),y=()=>{if(a())return;let v;const b=n===0?t.initialPromise:void 0;try{v=b??t.fn()}catch(k){v=Promise.reject(k)}Promise.resolve(v).then(f).catch(k=>{if(a())return;const w=t.retry??(mE?0:3),x=t.retryDelay??Rft,F=typeof x=="function"?x(n,k):x,C=w===!0||typeof w=="number"&&n<w||typeof w=="function"&&w(n,k);if(e||!C){h(k);return}n++,t.onFail?.(n,k),xft(F).then(()=>c()?void 0:m()).then(()=>{e?h(k):y()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(i?.(),r),cancelRetry:s,continueRetry:l,canStart:d,start:()=>(d()?y():m().then(y),r)}}var i0e=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),bft(this.gcTime)&&(this.#e=PR.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(mE?1/0:300*1e3))}clearGcTimeout(){this.#e&&(PR.clearTimeout(this.#e),this.#e=void 0)}},Pft=class extends i0e{#e;#t;#n;#i;#r;#o;#a;constructor(t){super(),this.#a=!1,this.#o=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#i=t.client,this.#n=this.#i.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=EX(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(t){if(this.options={...this.#o,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const e=EX(this.options);e.data!==void 0&&(this.setState(_X(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,e){const n=Fft(this.state.data,t,this.options);return this.#s({data:n,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),n}setState(t,e){this.#s({type:"setState",state:t,setStateOptions:e})}cancel(t){const e=this.#r?.promise;return this.#r?.cancel(t),e?e.then(dd).catch(dd):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>wft(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===l8||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>LR(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Sft(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#r&&(this.#a?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}async fetch(t,e){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(t&&this.setOptions(t),!this.options.queryFn){const s=this.observers.find(l=>l.options.queryFn);s&&this.setOptions(s.options)}const n=new AbortController,i=s=>{Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(this.#a=!0,n.signal)})},r=()=>{const s=Jve(this.options,e),c=(()=>{const d={client:this.#i,queryKey:this.queryKey,meta:this.meta};return i(d),d})();return this.#a=!1,this.options.persister?this.options.persister(s,c,this):s(c)},o=(()=>{const s={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:r};return i(s),s})();this.options.behavior?.onFetch(o,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#s({type:"fetch",meta:o.fetchOptions?.meta}),this.#r=n0e({initialPromise:e?.initialPromise,fn:o.fetchFn,onCancel:s=>{s instanceof MR&&s.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(s,l)=>{this.#s({type:"failed",failureCount:s,error:l})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{const s=await this.#r.start();if(s===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(s),this.#n.config.onSuccess?.(s,this),this.#n.config.onSettled?.(s,this.state.error,this),s}catch(s){if(s instanceof MR){if(s.silent)return this.#r.promise;if(s.revert){if(this.state.data===void 0)throw s;return this.state.data}}throw this.#s({type:"error",error:s}),this.#n.config.onError?.(s,this),this.#n.config.onSettled?.(this.state.data,s,this),s}finally{this.scheduleGc()}}#s(t){const e=n=>{switch(t.type){case"failed":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...Lft(n.data,this.options),fetchMeta:t.meta??null};case"success":const i={...n,..._X(t.data,t.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=t.manual?i:void 0,i;case"error":const r=t.error;return{...n,error:r,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=e(this.state),ks.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function Lft(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:t0e(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function _X(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function EX(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,n=e!==void 0,i=n?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}function BX(t){return{onFetch:(e,n)=>{const i=e.options,r=e.fetchOptions?.meta?.fetchMore?.direction,a=e.state.data?.pages||[],o=e.state.data?.pageParams||[];let s={pages:[],pageParams:[]},l=0;const c=async()=>{let d=!1;const f=y=>{Eft(y,()=>e.signal,()=>d=!0)},h=Jve(e.options,e.fetchOptions),m=async(y,v,b)=>{if(d)return Promise.reject();if(v==null&&y.pages.length)return Promise.resolve(y);const w=(()=>{const D={client:e.client,queryKey:e.queryKey,pageParam:v,direction:b?"backward":"forward",meta:e.options.meta};return f(D),D})(),x=await h(w),{maxPages:F}=e.options,C=b?_ft:Cft;return{pages:C(y.pages,x,F),pageParams:C(y.pageParams,v,F)}};if(r&&a.length){const y=r==="backward",v=y?Uft:TX,b={pages:a,pageParams:o},k=v(i,b);s=await m(b,k,y)}else{const y=t??a.length;do{const v=l===0?o[0]??i.initialPageParam:TX(i,s);if(l>0&&v==null)break;s=await m(s,v),l++}while(l<y)}return s};e.options.persister?e.fetchFn=()=>e.options.persister?.(c,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n):e.fetchFn=c}}}function TX(t,{pages:e,pageParams:n}){const i=e.length-1;return e.length>0?t.getNextPageParam(e[i],e,n[i],n):void 0}function Uft(t,{pages:e,pageParams:n}){return e.length>0?t.getPreviousPageParam?.(e[0],e,n[0],n):void 0}var Mft=class extends i0e{#e;#t;#n;#i;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#t=[],this.state=t.state||$ft(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(e=>e!==t),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(t){const e=()=>{this.#r({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=n0e({fn:()=>this.options.mutationFn?this.options.mutationFn(t,n):Promise.reject(new Error("No mutationFn found")),onFail:(a,o)=>{this.#r({type:"failed",failureCount:a,error:o})},onPause:()=>{this.#r({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const i=this.state.status==="pending",r=!this.#i.canStart();try{if(i)e();else{this.#r({type:"pending",variables:t,isPaused:r}),this.#n.config.onMutate&&await this.#n.config.onMutate(t,this,n);const o=await this.options.onMutate?.(t,n);o!==this.state.context&&this.#r({type:"pending",context:o,variables:t,isPaused:r})}const a=await this.#i.start();return await this.#n.config.onSuccess?.(a,t,this.state.context,this,n),await this.options.onSuccess?.(a,t,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,t,this.state.context,n),this.#r({type:"success",data:a}),a}catch(a){try{await this.#n.config.onError?.(a,t,this.state.context,this,n)}catch(o){Promise.reject(o)}try{await this.options.onError?.(a,t,this.state.context,n)}catch(o){Promise.reject(o)}try{await this.#n.config.onSettled?.(void 0,a,this.state.variables,this.state.context,this,n)}catch(o){Promise.reject(o)}try{await this.options.onSettled?.(void 0,a,t,this.state.context,n)}catch(o){Promise.reject(o)}throw this.#r({type:"error",error:a}),a}finally{this.#n.runNext(this)}}#r(t){const e=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),ks.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function $ft(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var jft=class extends AE{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,e,n){const i=new Mft({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(e),state:n});return this.add(i),i}add(t){this.#e.add(t);const e=rN(t);if(typeof e=="string"){const n=this.#t.get(e);n?n.push(t):this.#t.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const e=rN(t);if(typeof e=="string"){const n=this.#t.get(e);if(n)if(n.length>1){const i=n.indexOf(t);i!==-1&&n.splice(i,1)}else n[0]===t&&this.#t.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){const e=rN(t);if(typeof e=="string"){const i=this.#t.get(e)?.find(r=>r.state.status==="pending");return!i||i===t}else return!0}runNext(t){const e=rN(t);return typeof e=="string"?this.#t.get(e)?.find(i=>i!==t&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){ks.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const e={exact:!0,...t};return this.getAll().find(n=>xX(e,n))}findAll(t={}){return this.getAll().filter(e=>xX(t,e))}notify(t){ks.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return ks.batch(()=>Promise.all(t.map(e=>e.continue().catch(dd))))}};function rN(t){return t.options.scope?.id}var Qft=class extends AE{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,e,n){const i=e.queryKey,r=e.queryHash??s8(i,e);let a=this.get(r);return a||(a=new Pft({client:t,queryKey:i,queryHash:r,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(i)}),this.add(a)),a}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=this.#e.get(t.queryHash);e&&(t.destroy(),e===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ks.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const e={exact:!0,...t};return this.getAll().find(n=>NX(e,n))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(n=>NX(t,n)):e}notify(t){ks.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){ks.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ks.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Hft=class{#e;#t;#n;#i;#r;#o;#a;#s;constructor(t={}){this.#e=t.queryCache||new Qft,this.#t=t.mutationCache||new jft,this.#n=t.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=e0e.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=yC.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#a?.(),this.#a=void 0,this.#s?.(),this.#s=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),n=this.#e.build(this,e),i=n.state.data;return i===void 0?this.fetchQuery(t):(t.revalidateIfStale&&n.isStaleByTime(LR(e.staleTime,n))&&this.prefetchQuery(e),Promise.resolve(i))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:e,state:n})=>{const i=n.data;return[e,i]})}setQueryData(t,e,n){const i=this.defaultQueryOptions({queryKey:t}),a=this.#e.get(i.queryHash)?.state.data,o=kft(e,a);if(o!==void 0)return this.#e.build(this,i).setData(o,{...n,manual:!0})}setQueriesData(t,e,n){return ks.batch(()=>this.#e.findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,e,n)]))}getQueryState(t){const e=this.defaultQueryOptions({queryKey:t});return this.#e.get(e.queryHash)?.state}removeQueries(t){const e=this.#e;ks.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=this.#e;return ks.batch(()=>(n.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},i=ks.batch(()=>this.#e.findAll(t).map(r=>r.cancel(n)));return Promise.all(i).then(dd).catch(dd)}invalidateQueries(t,e={}){return ks.batch(()=>(this.#e.findAll(t).forEach(n=>{n.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e)))}refetchQueries(t,e={}){const n={...e,cancelRefetch:e.cancelRefetch??!0},i=ks.batch(()=>this.#e.findAll(t).filter(r=>!r.isDisabled()&&!r.isStatic()).map(r=>{let a=r.fetch(void 0,n);return n.throwOnError||(a=a.catch(dd)),r.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(i).then(dd)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=this.#e.build(this,e);return n.isStaleByTime(LR(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(dd).catch(dd)}fetchInfiniteQuery(t){return t.behavior=BX(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(dd).catch(dd)}ensureInfiniteQueryData(t){return t.behavior=BX(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return yC.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,e){this.#i.set(lb(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#i.values()],n={};return e.forEach(i=>{cb(t,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(t,e){this.#r.set(lb(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#r.values()],n={};return e.forEach(i=>{cb(t,i.mutationKey)&&Object.assign(n,i.defaultOptions)}),n}defaultQueryOptions(t){if(t._defaulted)return t;const e={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=s8(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===l8&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},zft=N.createContext(void 0),Vft=({client:t,children:e})=>(N.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),g.jsx(zft.Provider,{value:t,children:e}));function Gft(){const t=pZ();return N.useEffect(()=>{const e=t[t.length-1],n=e?.handle;if(n?.title){const i=typeof n.title=="function"?n.title(e.data):n.title;document.title=`${i} - Accounter`}else document.title="Accounter"},[t]),g.jsx("div",{style:{display:"none"}})}var qft=(t,e,n,i,r,a,o,s)=>{let l=document.documentElement,c=["light","dark"];function d(m){(Array.isArray(t)?t:[t]).forEach(y=>{let v=y==="class",b=v&&a?r.map(k=>a[k]||k):r;v?(l.classList.remove(...b),l.classList.add(a&&a[m]?a[m]:m)):l.setAttribute(y,m)}),f(m)}function f(m){s&&c.includes(m)&&(l.style.colorScheme=m)}function h(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(i)d(i);else try{let m=localStorage.getItem(e)||n,y=o&&m==="system"?h():m;d(y)}catch{}},Kft=N.createContext(void 0),Wft={setTheme:t=>{},themes:[]},Yft=()=>{var t;return(t=N.useContext(Kft))!=null?t:Wft};N.memo(({forcedTheme:t,storageKey:e,attribute:n,enableSystem:i,enableColorScheme:r,defaultTheme:a,value:o,themes:s,nonce:l,scriptProps:c})=>{let d=JSON.stringify([n,e,a,t,s,o,i,r]).slice(1,-1);return N.createElement("script",{...c,suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(${qft.toString()})(${d})`}})});const Xft=({...t})=>{const{theme:e="system"}=Yft();return g.jsx(r4e,{theme:e,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-white group-[.toaster]:text-gray-950 group-[.toaster]:border-gray-200 group-[.toaster]:shadow-lg dark:group-[.toaster]:bg-gray-950 dark:group-[.toaster]:text-gray-50 dark:group-[.toaster]:border-gray-800",description:"group-[.toast]:text-gray-500 dark:group-[.toast]:text-gray-400",actionButton:"group-[.toast]:bg-gray-900 group-[.toast]:text-gray-50 font-medium dark:group-[.toast]:bg-gray-50 dark:group-[.toast]:text-gray-900",cancelButton:"group-[.toast]:bg-gray-100 group-[.toast]:text-gray-500 font-medium dark:group-[.toast]:bg-gray-800 dark:group-[.toast]:text-gray-400"}},...t})},Zft=new Hft({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}}),Jft=o8({palette:{primary:{main:"#556cd6"},secondary:{main:"#19857b"},error:{main:uh.A400}}});function eAt(){return g.jsx(Xne,{withGlobalStyles:!0,theme:{fontFamily:"Roboto, sans-serif",fontSizes:{md:"14"}},children:g.jsxs(cft,{theme:Jft,children:[g.jsx(pft,{}),g.jsxs(TDe,{children:[g.jsx(Xft,{}),g.jsx(a4e,{children:g.jsx(Vft,{client:Zft,children:g.jsxs(tct,{children:[g.jsx(Gft,{}),g.jsx(Fve,{}),g.jsx(yZ,{})]})})})]})]})})}function tAt(){if(!new Cb().isLoggedIn())throw YX(Hn.LOGIN);return null}function nAt(){if(new Cb().isLoggedIn())throw YX(Hn.HOME);return null}let aN=null;function r0e(){if(aN)return aN;const t=new Cb;let e;return e="https://accounter.onrender.com/graphql",aN=xJ({url:e,exchanges:[NJ({onResult(n){fne(n)}}),une(async n=>({addAuthToOperation(i){const r=t.authToken();return r?n.appendHeaders(i,{Authorization:r}):i},didAuthError(i,r){return i?.response?.status===401||i?.graphQLErrors?.some(a=>a.extensions?.code==="FORBIDDEN")},async refreshAuth(){t.logout()}})),wJ]}),aN}function iAt(t){if(!t.chargeId)throw new Response("Charge ID is required",{status:400});return{chargeId:t.chargeId}}function rAt(t){if(!t.businessId)throw new Response("Business ID is required",{status:400});return{businessId:t.businessId}}async function aAt({params:t}){const{chargeId:e}=iAt(t),i=await r0e().query(LCe,{chargeId:e}).toPromise();if(!i.data?.charge)throw new Response("Charge not found",{status:404});return i.data}async function oAt({params:t}){const{businessId:e}=rAt(t),i=await r0e().query(PCe,{businessId:e}).toPromise();if(!i.data?.business)throw new Response("Business not found",{status:404});return i.data}const DX=N.lazy(()=>hi(()=>import("./all-charges-UjLePnh5.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23])).then(t=>({default:t.AllCharges}))),sAt=N.lazy(()=>hi(()=>import("./missing-info-charges-DiIM7lBQ.js"),__vite__mapDeps([24,1,10,11,12,3,13,14,15,7,16,17,18,19,20,21,22,23])).then(t=>({default:t.MissingInfoCharges}))),lAt=N.lazy(()=>hi(()=>import("./charge-DhvD1RST.js"),__vite__mapDeps([25,10,11,12,3,13,14,15,7,16,17,18,19,20,21,22])).then(t=>({default:t.Charge}))),cAt=N.lazy(()=>hi(()=>import("./charges-ledger-validation-BOn22w9P.js"),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,27])).then(t=>({default:t.ChargesLedgerValidation}))),dAt=N.lazy(()=>hi(()=>import("./index-CYLoUT7S.js"),__vite__mapDeps([28,1,29,15,20,23])).then(t=>({default:t.Businesses}))),uAt=N.lazy(()=>hi(()=>import("./business-CryBsRqy.js"),__vite__mapDeps([30,31,14,15,32,21,22,33,29,10,11,12,3,13,7,16,17,18,19,20,34,35,36,37,8])).then(t=>({default:t.BusinessScreen}))),fAt=N.lazy(()=>hi(()=>import("./index-ajJcMQms.js"),__vite__mapDeps([38,1,39,16,23,32,21,22,33,40,4,5,9,12])).then(t=>({default:t.BusinessLedgerRecordsSummery}))),AAt=N.lazy(()=>hi(()=>import("./business-ledger-single-ebXw596v.js"),__vite__mapDeps([41,1,39,16,32,21,22,33,40,4,5,9])).then(t=>({default:t.BusinessLedgerRecordsSingle}))),mAt=N.lazy(()=>hi(()=>import("./contracts-iKKpsNnL.js"),__vite__mapDeps([42,36,21,22,5,37,8])).then(t=>({default:t.ContractsScreen}))),hAt=N.lazy(()=>hi(()=>import("./index-AI_GyykK.js"),__vite__mapDeps([43,44,17,3,16,11,12,9,14,15,18,23])).then(t=>({default:t.BusinessTrips}))),pAt=N.lazy(()=>hi(()=>import("./business-trip-Bn5hm1D5.js"),__vite__mapDeps([45,44,17,3,16,11,12,9,14,15,18,23])).then(t=>({default:t.BusinessTrip}))),gAt=N.lazy(()=>hi(()=>import("./index-BESPuoZl.js"),__vite__mapDeps([46,1,23,4,5])).then(t=>({default:t.ChartPage}))),vAt=N.lazy(()=>hi(()=>import("./index-BFEE5U-A.js"),__vite__mapDeps([47,1,23,4,5,48,35,6,7,8])).then(t=>({default:t.MonthlyIncomeExpenseChart}))),yAt=N.lazy(()=>hi(()=>import("./index-Cm0VDoDd.js"),__vite__mapDeps([49,1,39,16,50,4,23,5,9,6,7,8,51])).then(t=>({default:t.DocumentsReport}))),kAt=N.lazy(()=>hi(()=>import("./issue-document-yi3XXbpe.js"),__vite__mapDeps([52,23])).then(t=>({default:t.IssueDocumentScreen}))),bAt=N.lazy(()=>hi(()=>import("./index-DSAS0BpU.js"),__vite__mapDeps([53,37,8])).then(t=>({default:t.IssueDocuments}))),SAt=N.lazy(()=>hi(()=>import("./index-CAAL0SGN.js"),__vite__mapDeps([54,1,23,4,5,9,33,32,21,22,12,16])).then(t=>({default:t.TrialBalanceReport}))),wAt=N.lazy(()=>hi(()=>import("./index-B6VKQBtu.js"),__vite__mapDeps([55,1,51,33,32,21,22,48,12,5,9])).then(t=>({default:t.ContoReport}))),NAt=N.lazy(()=>hi(()=>import("./index-CVefTdZ8.js"),__vite__mapDeps([56,57,1,10,11,12,3,13,14,15,7,16,17,18,19,20,21,22,23,2,4,5,6,8,9])).then(t=>({default:t.VatMonthlyReport}))),IX=N.lazy(()=>hi(()=>import("./index-CGpiJ6wl.js"),__vite__mapDeps([58,57,23,59,11,12,16,4,5])).then(t=>({default:t.ProfitAndLossReport}))),OX=N.lazy(()=>hi(()=>import("./index-BoVSybOL.js"),__vite__mapDeps([60,57,23,59,11,12,16,4,5])).then(t=>({default:t.TaxReport}))),xAt=N.lazy(()=>hi(()=>import("./index-BINmUTjA.js"),__vite__mapDeps([61,1,23,5])).then(t=>({default:t.DepreciationReport}))),FAt=N.lazy(()=>hi(()=>import("./index-v8SIf-h9.js"),__vite__mapDeps([62,23])).then(t=>({default:t.AnnualRevenueReport}))),CAt=N.lazy(()=>hi(()=>import("./index-CgvjLFyG.js"),__vite__mapDeps([63,5,15,22,31])).then(t=>({default:t.Shaam6111Report}))),_At=N.lazy(()=>hi(()=>import("./index-MPZl3TTq.js"),__vite__mapDeps([64,50,23,33])).then(t=>({default:t.YearlyLedgerReport}))),RX=N.lazy(()=>hi(()=>import("./index-D_XfDEW8.js"),__vite__mapDeps([65,57,23,4,5,16])).then(t=>({default:t.CorporateTaxRulingComplianceReport}))),EAt=N.lazy(()=>hi(()=>import("./index-Bw_9Tifu.js"),__vite__mapDeps([66,1,23,34,13,14,15,7,35,33,4,5,9,6,8])).then(t=>({default:t.BalanceReport}))),BAt=N.lazy(()=>hi(()=>import("./index-DZFQ92ui.js"),__vite__mapDeps([67,1,23,18,4,5])).then(t=>({default:t.ValidateReportsScreen}))),TAt=N.lazy(()=>hi(()=>import("./accountant-approvals-BJGkKn8O.js"),__vite__mapDeps([68,1,2,3,4,5,6,7,8,9,23,27])).then(t=>({default:t.AccountantApprovals}))),DAt=N.lazy(()=>hi(()=>import("./index-CkPv0ZF8.js"),__vite__mapDeps([69,1,23,4,5,9])).then(t=>({default:t.Salaries}))),IAt=N.lazy(()=>hi(()=>import("./index-DaDghnaZ.js"),__vite__mapDeps([70,23])).then(t=>({default:t.TagsManager}))),OAt=N.lazy(()=>hi(()=>import("./index-BA-I_zCt.js"),__vite__mapDeps([71,50,23,51])).then(t=>({default:t.TaxCategories}))),RAt=N.lazy(()=>hi(()=>import("./index-CHzieg87.js"),__vite__mapDeps([72,50,23,51])).then(t=>({default:t.SortCodes}))),PAt=N.lazy(()=>hi(()=>import("./index-1oajNqKA.js"),__vite__mapDeps([73,19])).then(t=>({default:t.DepositsScreen}))),LAt=N.lazy(()=>hi(()=>import("./page-not-found-UQZi0ekr.js"),[]).then(t=>({default:t.PageNotFound}))),UAt=N.lazy(()=>hi(()=>import("./login-page-B5bqhOTx.js"),[]).then(t=>({default:t.LoginPage})));function ui(t,e){return g.jsx(N.Suspense,{fallback:e||g.jsx(hNe,{}),children:g.jsx(t,{})})}const MAt=[{path:"/",element:g.jsx(eAt,{}),errorElement:g.jsx(Tj,{}),children:[{path:Hn.LOGIN,loader:nAt,element:ui(UAt),handle:{title:"Login"}},{path:"/",loader:tAt,element:g.jsx(Mct,{}),errorElement:g.jsx(Tj,{}),children:[{index:!0,element:ui(DX,g.jsx(pl,{})),handle:{title:"All Charges",breadcrumb:"Charges"}},{path:"charges",handle:{breadcrumb:"Charges"},children:[{index:!0,element:ui(DX,g.jsx(pl,{})),handle:{title:"All Charges"}},{path:"missing-info",element:ui(sAt,g.jsx(pl,{})),handle:{title:"Missing Info Charges",breadcrumb:"Missing Info"}},{path:"ledger-validation",element:ui(cAt,g.jsx(pl,{})),handle:{title:"Ledger Validation",breadcrumb:"Ledger Validation"}},{path:":chargeId",loader:aAt,element:ui(lAt),handle:{title:"Charge Details",breadcrumb:"Details"}}]},{path:"businesses",handle:{breadcrumb:"Businesses"},children:[{index:!0,element:ui(dAt,g.jsx(pl,{})),handle:{title:"All Businesses"}},{path:"ledger",element:ui(fAt,g.jsx(pl,{})),handle:{title:"Business Ledger Records Summary",breadcrumb:"Ledger"}},{path:":businessId",loader:oAt,element:ui(uAt),handle:{title:"Business Details",breadcrumb:"Details"}},{path:":businessId/ledger",element:ui(AAt,g.jsx(pl,{})),handle:{title:"Business Ledger",breadcrumb:"Ledger"}},{path:"contracts",element:ui(mAt,g.jsx(pl,{})),handle:{title:"Clients Contracts",breadcrumb:"Contracts"}}]},{path:"business-trips",handle:{breadcrumb:"Business Trips"},children:[{index:!0,element:ui(hAt,g.jsx(pl,{})),handle:{title:"Business Trips"}},{path:":businessTripId",element:ui(pAt),handle:{title:"Business Trip Details",breadcrumb:"Details"}}]},{path:"charts",handle:{breadcrumb:"Charts"},children:[{index:!0,element:ui(gAt),handle:{title:"Charts"}},{path:"monthly-income-expense",element:ui(vAt),handle:{title:"Monthly Income/Expense",breadcrumb:"Income/Expense"}}]},{path:"documents",handle:{breadcrumb:"Documents"},children:[{index:!0,element:ui(yAt,g.jsx(pl,{})),handle:{title:"All Documents"}},{path:"issue-document",element:ui(kAt),handle:{title:"Issue Document",breadcrumb:"Issue Document"}},{path:"issue-documents",element:ui(bAt),handle:{title:"Issue Documents",breadcrumb:"Issue Documents"}}]},{path:"reports",handle:{breadcrumb:"Reports"},children:[{path:"trial-balance",element:ui(SAt,g.jsx(zs,{})),handle:{title:"Trial Balance Report",breadcrumb:"Trial Balance"}},{path:"conto",element:ui(wAt,g.jsx(zs,{})),handle:{title:"Conto Report",breadcrumb:"Conto"}},{path:"vat-monthly",element:ui(NAt,g.jsx(zs,{})),handle:{title:"VAT Monthly Report",breadcrumb:"VAT Monthly"}},{path:"profit-and-loss",handle:{breadcrumb:"Profit & Loss"},children:[{index:!0,element:ui(IX,g.jsx(zs,{})),handle:{title:"Profit & Loss Report"}},{path:":year",element:ui(IX,g.jsx(zs,{})),handle:{title:"Profit & Loss Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"tax",handle:{breadcrumb:"Tax"},children:[{index:!0,element:ui(OX,g.jsx(zs,{})),handle:{title:"Tax Report"}},{path:":year",element:ui(OX,g.jsx(zs,{})),handle:{title:"Tax Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"depreciation",element:ui(xAt,g.jsx(zs,{})),handle:{title:"Depreciation Report",breadcrumb:"Depreciation"}},{path:"annual-revenue",element:ui(FAt,g.jsx(zs,{})),handle:{title:"Annual Revenue Report",breadcrumb:"Annual Revenue"}},{path:"shaam-6111",element:ui(CAt,g.jsx(zs,{})),handle:{title:"Shaam 6111 Report",breadcrumb:"Shaam 6111"}},{path:"yearly-ledger",element:ui(_At,g.jsx(zs,{})),handle:{title:"Yearly Ledger Report",breadcrumb:"Yearly Ledger"}},{path:"corporate-tax-ruling-compliance",handle:{breadcrumb:"Tax Ruling"},children:[{index:!0,element:ui(RX,g.jsx(zs,{})),handle:{title:"Corporate Tax Ruling Compliance Report"}},{path:":year",element:ui(RX,g.jsx(zs,{})),handle:{title:"Corporate Tax Ruling Compliance Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"balance",element:ui(EAt,g.jsx(zs,{})),handle:{title:"Balance Report",breadcrumb:"Balance"}},{path:"validate-reports",element:ui(BAt),handle:{title:"Validate Reports",breadcrumb:"Validate"}}]},{path:"bank-deposits",element:ui(PAt,g.jsx(pl,{})),handle:{title:"Bank Deposits",breadcrumb:"Bank Deposits"}},{path:"accountant-approvals",element:ui(TAt,g.jsx(pl,{})),handle:{title:"Accountant Approvals",breadcrumb:"Accountant Approvals"}},{path:"salaries",element:ui(DAt,g.jsx(pl,{})),handle:{title:"Salaries",breadcrumb:"Salaries"}},{path:"tags",element:ui(IAt),handle:{title:"Tags",breadcrumb:"Tags"}},{path:"tax-categories",element:ui(OAt),handle:{title:"Tax Categories",breadcrumb:"Tax Categories"}},{path:"sort-codes",element:ui(RAt),handle:{title:"Sort Codes",breadcrumb:"Sort Codes"}},{path:"*",element:ui(LAt),handle:{title:"Page Not Found"}}]}]}];var PX={},LX;function $At(){if(LX)return PX;LX=1;var t={};const e=(...r)=>t.stringify(...r);(function(){var r=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a,o,s={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},l;function c(f){return r.lastIndex=0,r.test(f)?'"'+f.replace(r,function(h){var m=s[h];return typeof m=="string"?m:"\\u"+("0000"+h.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+f+'"'}function d(f,h){var m,y,v,b,k=a,w,x=h[f];switch(x&&typeof x=="object"&&typeof x.toJSON=="function"&&(x=x.toJSON(f)),typeof l=="function"&&(x=l.call(h,f,x)),typeof x){case"string":return c(x);case"number":return isFinite(x)?String(x):"null";case"bigint":case"boolean":case"null":return String(x);case"object":if(!x)return"null";if(a+=o,w=[],Object.prototype.toString.apply(x)==="[object Array]"){for(b=x.length,m=0;m<b;m+=1)w[m]=d(m,x)||"null";return v=w.length===0?"[]":a?`[
|
|
291
291
|
`+a+w.join(`,
|
|
292
292
|
`+a)+`
|
|
293
293
|
`+k+"]":"["+w.join(",")+"]",a=k,v}if(l&&typeof l=="object")for(b=l.length,m=0;m<b;m+=1)typeof l[m]=="string"&&(y=l[m],v=d(y,x),v&&w.push(c(y)+(a?": ":":")+v));else Object.keys(x).forEach(function(F){var C=d(F,x);C&&w.push(c(F)+(a?": ":":")+C)});return v=w.length===0?"{}":a?`{
|