@accounter/client 0.0.9-alpha-20251209104231-5b2bda391432f505d4153f45a7a16b048432052c → 0.0.9-alpha-20251209104241-0b63b5609688348798c300b5ba636e03a9d0e991
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-BLRt_KKu.js → Checkbox--tXqHAXG.js} +1 -1
- package/dist/assets/{MultiSelect-Bd3apSs_.js → MultiSelect-Es8Qnpo2.js} +1 -1
- package/dist/assets/{Progress-BYqrsxrn.js → Progress-DMBDfcF0.js} +1 -1
- package/dist/assets/{Table-DBy_FInH.js → Table-CD24NmTO.js} +1 -1
- package/dist/assets/{Typography-CYgmhLWw.js → Typography-DwSJyDky.js} +1 -1
- package/dist/assets/{YearPickerInput-DhwaekfD.js → YearPickerInput-DFivZ0qn.js} +1 -1
- package/dist/assets/{accordion-DeZhxk_l.js → accordion-BwyEH1mb.js} +1 -1
- package/dist/assets/{accountant-approvals-DiXPSXAn.js → accountant-approvals-cklwgO8W.js} +1 -1
- package/dist/assets/{accounter-table-2XtMS86c.js → accounter-table-ByP6X89G.js} +1 -1
- package/dist/assets/{addDays-Dc61JWv1.js → addDays-Dp7X4Ryf.js} +1 -1
- package/dist/assets/{all-charges-CTCSdwEH.js → all-charges-Dr5ENWsA.js} +1 -1
- package/dist/assets/{arrow-up-down-DjT-Eoot.js → arrow-up-down-C_6HjdJX.js} +1 -1
- package/dist/assets/{building-2-CUCM6KOJ.js → building-2-DHN64NfI.js} +1 -1
- package/dist/assets/{business-D5G4XhGm.js → business-BNjTqAdV.js} +1 -1
- package/dist/assets/{business-extended-info-Dbj-tkfM.js → business-extended-info-hS5xPVqH.js} +1 -1
- package/dist/assets/{business-header-ctdOgm4u.js → business-header-Cfc_rS-O.js} +1 -1
- package/dist/assets/{business-ledger-filters-Bmuy2bsF.js → business-ledger-filters-BTZ0JQmZ.js} +1 -1
- package/dist/assets/{business-ledger-single-D_eh-TKZ.js → business-ledger-single-DgE_Gz6G.js} +1 -1
- package/dist/assets/{business-trip-LfIgR2mJ.js → business-trip-DC_U8fKL.js} +1 -1
- package/dist/assets/charge-brgEK80_.js +1 -0
- package/dist/assets/{charges-filters-wTVkn57g.js → charges-filters-BzT3CTyK.js} +1 -1
- package/dist/assets/{charges-ledger-validation-D7S-GKAz.js → charges-ledger-validation-DARq0FQ9.js} +1 -1
- package/dist/assets/{charges-table-CSBUejmC.js → charges-table-BoS4XHuH.js} +1 -1
- package/dist/assets/{chart-B-Utupss.js → chart-BcLvNzu6.js} +1 -1
- package/dist/assets/{contracts-C7hLtoUV.js → contracts-Uw0FxogT.js} +1 -1
- package/dist/assets/{data-table-column-header-FqJbxTUc.js → data-table-column-header-uE6cmVOR.js} +1 -1
- package/dist/assets/{data-table-pagination-zMBRvFRC.js → data-table-pagination-C1zkGqSX.js} +1 -1
- package/dist/assets/{deposits-transactions-table-D2mHRvor.js → deposits-transactions-table-ykiCLsLs.js} +1 -1
- package/dist/assets/{download-csv-button-BwgBwkym.js → download-csv-button-B8raybww.js} +1 -1
- package/dist/assets/{edit-issue-document-modal-DMmGgSNm.js → edit-issue-document-modal-B4QpTycz.js} +1 -1
- package/dist/assets/{editable-business-trip-B3H295Cd.js → editable-business-trip-Sud4RKfN.js} +1 -1
- package/dist/assets/{eye-off-DX0qBOvM.js → eye-off-3CrZkDln.js} +1 -1
- package/dist/assets/{funnel-Chi4RPzj.js → funnel-YdZMKUY9.js} +1 -1
- package/dist/assets/{index-DiytP5ES.js → index--QeVf9cD.js} +1 -1
- package/dist/assets/{index-CbAeaU5O.js → index-0eu2RufD.js} +1 -1
- package/dist/assets/{index-DNnPw8Dq.js → index-6Xf_ASUd.js} +1 -1
- package/dist/assets/{index-DtU8k0Rs.js → index-9y3dmHUs.js} +1 -1
- package/dist/assets/{index-fKPbj_QU.js → index-B6hWLgRv.js} +1 -1
- package/dist/assets/{index-Bhiq8TpB.js → index-BAoLlxx-.js} +1 -1
- package/dist/assets/{index-D5uymx_b.js → index-B_5x9bjJ.js} +1 -1
- package/dist/assets/{index-Dq_0OFpr.js → index-Bi2KBXq2.js} +1 -1
- package/dist/assets/{index-Bqk3--Z7.js → index-CAQRBv-8.js} +1 -1
- package/dist/assets/{index-mxG3trVw.js → index-CKopzDsq.js} +6 -6
- package/dist/assets/{index-IBm4Ursh.js → index-COvMBd3L.js} +1 -1
- package/dist/assets/{index-DqkTiflU.js → index-CPb6w231.js} +1 -1
- package/dist/assets/{index-jPIJugRH.js → index-CcYbbiSx.js} +1 -1
- package/dist/assets/{index-BT0bQ-FL.js → index-CdFabNp7.js} +1 -1
- package/dist/assets/{index-CvyV_aE0.js → index-CiBC6pG4.js} +1 -1
- package/dist/assets/{index-4IzUhDwE.js → index-Ci_63rqL.js} +1 -1
- package/dist/assets/{index-Hf0xrl2Z.js → index-CuIkpudE.js} +1 -1
- package/dist/assets/{index-h0DqWebR.js → index-DLkagn4q.js} +1 -1
- package/dist/assets/{index-GTPkjIlj.js → index-DXKrFDoH.js} +1 -1
- package/dist/assets/{index-BVjC-aH8.js → index-D_vzTErc.js} +1 -1
- package/dist/assets/{index-CcTJDt3m.js → index-DjzOp5r8.js} +1 -1
- package/dist/assets/{index-WGuJmgE0.js → index-DozMwbqc.js} +1 -1
- package/dist/assets/{index-B7aAVYVI.js → index-DxFmpIW1.js} +1 -1
- package/dist/assets/{index-bAy-i-WO.js → index-bc3kZO9W.js} +1 -1
- package/dist/assets/{index-DPk5MlBY.js → index-fj8vFlT4.js} +1 -1
- package/dist/assets/{index-DvaorAJa.js → index-z8wVx2GV.js} +1 -1
- package/dist/assets/{index.es-B38h3wVh.js → index.es-oIOHt8Mk.js} +1 -1
- package/dist/assets/{insert-business-trip-modal-kI9R5YMW.js → insert-business-trip-modal-BVFZo6H-.js} +1 -1
- package/dist/assets/issue-document-ip_Q-seA.js +1 -0
- package/dist/assets/{list-plus-BFzR0xCk.js → list-plus-sdT5hO7q.js} +1 -1
- package/dist/assets/{login-page-C_treqcL.js → login-page-B596WAvC.js} +1 -1
- package/dist/assets/{match-document-modal-aTCZMq3A.js → match-document-modal-ChyigW55.js} +1 -1
- package/dist/assets/{missing-info-charges-Bfw6XCf9.js → missing-info-charges-Bwf7omxm.js} +1 -1
- package/dist/assets/{modal-COWLg06g.js → modal-C6mSOEYC.js} +1 -1
- package/dist/assets/{modify-contract-dialog-Ceq5M6vV.js → modify-contract-dialog-E0i8Z6mz.js} +1 -1
- package/dist/assets/{page-layout-e5dcoG31.js → page-layout-ChV1KT_o.js} +1 -1
- package/dist/assets/{page-not-found-CSjjMHtO.js → page-not-found-CeekW98t.js} +1 -1
- package/dist/assets/{panel-top-open-C6S_S_l5.js → panel-top-open-ClqHdYH-.js} +1 -1
- package/dist/assets/{pencil-Ba3T8A4l.js → pencil-CCvHawGJ.js} +1 -1
- package/dist/assets/{report-commentary-row-Crj56FnY.js → report-commentary-row-DnrtHYvW.js} +1 -1
- package/dist/assets/{save-CMypQNow.js → save-CAV9TtkA.js} +1 -1
- package/dist/assets/{similar-transactions-modal-Dptc8s3r.js → similar-transactions-modal-C18586ao.js} +1 -1
- package/dist/assets/{sub-fkmgRadp.js → sub-C0WjhnPk.js} +1 -1
- package/dist/assets/subMonths-Br3HS8kW.js +1 -0
- package/dist/assets/{summary-ySM0WfQM.js → summary-Do-bDoUS.js} +1 -1
- package/dist/assets/{toggle-expansion-button-Ve1efFB2.js → toggle-expansion-button-BnN4hYQV.js} +1 -1
- package/dist/assets/tooltip-7afOtYPS.js +1 -0
- package/dist/assets/{use-url-query-ajxKL7cF.js → use-url-query-BWSeMxRs.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/charge-B9OrcpOy.js +0 -1
- package/dist/assets/issue-document-DtQ0jY3L.js +0 -1
- package/dist/assets/subMonths-MMuRoKuu.js +0 -1
- package/dist/assets/tooltip-DViqX6TG.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/all-charges-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/all-charges-Dr5ENWsA.js","assets/use-url-query-BWSeMxRs.js","assets/charges-filters-BzT3CTyK.js","assets/modal-C6mSOEYC.js","assets/funnel-YdZMKUY9.js","assets/sub-C0WjhnPk.js","assets/addDays-Dp7X4Ryf.js","assets/subMonths-Br3HS8kW.js","assets/MultiSelect-Es8Qnpo2.js","assets/charges-table-BoS4XHuH.js","assets/toggle-expansion-button-BnN4hYQV.js","assets/panel-top-open-ClqHdYH-.js","assets/index-CdFabNp7.js","assets/similar-transactions-modal-C18586ao.js","assets/list-plus-sdT5hO7q.js","assets/tooltip-7afOtYPS.js","assets/Table-CD24NmTO.js","assets/summary-Do-bDoUS.js","assets/deposits-transactions-table-ykiCLsLs.js","assets/Checkbox--tXqHAXG.js","assets/accordion-BwyEH1mb.js","assets/data-table-column-header-uE6cmVOR.js","assets/eye-off-3CrZkDln.js","assets/match-document-modal-ChyigW55.js","assets/YearPickerInput-DFivZ0qn.js","assets/insert-business-trip-modal-BVFZo6H-.js","assets/accounter-table-ByP6X89G.js","assets/page-layout-ChV1KT_o.js","assets/missing-info-charges-Bwf7omxm.js","assets/charge-brgEK80_.js","assets/charges-ledger-validation-DARq0FQ9.js","assets/Progress-DMBDfcF0.js","assets/index-D_vzTErc.js","assets/business-header-Cfc_rS-O.js","assets/building-2-DHN64NfI.js","assets/business-BNjTqAdV.js","assets/save-CAV9TtkA.js","assets/business-extended-info-hS5xPVqH.js","assets/download-csv-button-B8raybww.js","assets/chart-BcLvNzu6.js","assets/sequential-CAnleQny.js","assets/modify-contract-dialog-E0i8Z6mz.js","assets/pencil-CCvHawGJ.js","assets/index-BAoLlxx-.js","assets/business-ledger-filters-BTZ0JQmZ.js","assets/business-ledger-single-DgE_Gz6G.js","assets/contracts-Uw0FxogT.js","assets/edit-issue-document-modal-B4QpTycz.js","assets/index-B6hWLgRv.js","assets/editable-business-trip-Sud4RKfN.js","assets/business-trip-DC_U8fKL.js","assets/index-CcYbbiSx.js","assets/index-DxFmpIW1.js","assets/Typography-DwSJyDky.js","assets/index-0eu2RufD.js","assets/data-table-pagination-C1zkGqSX.js","assets/arrow-up-down-C_6HjdJX.js","assets/issue-document-ip_Q-seA.js","assets/index-DXKrFDoH.js","assets/index-DjzOp5r8.js","assets/index-CuIkpudE.js","assets/index-DozMwbqc.js","assets/graphql-document-dedupe-fragments-ByT8-wlV.js","assets/index-z8wVx2GV.js","assets/report-commentary-row-DnrtHYvW.js","assets/index-CPb6w231.js","assets/index-Ci_63rqL.js","assets/index-9y3dmHUs.js","assets/index-CiBC6pG4.js","assets/index-CAQRBv-8.js","assets/index-Bi2KBXq2.js","assets/index-DLkagn4q.js","assets/index-COvMBd3L.js","assets/accountant-approvals-cklwgO8W.js","assets/index-6Xf_ASUd.js","assets/index--QeVf9cD.js","assets/index-B_5x9bjJ.js","assets/index-fj8vFlT4.js","assets/index-bc3kZO9W.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var cM=t=>{throw TypeError(t)};var DE=(t,e,n)=>e.has(t)||cM("Cannot "+n);var Ur=(t,e,n)=>(DE(t,e,"read from private field"),n?n.call(t):e.get(t)),Gd=(t,e,n)=>e.has(t)?cM("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),Vs=(t,e,n,i)=>(DE(t,e,"write to private field"),i?i.call(t,n):e.set(t,n),n),qd=(t,e,n)=>(DE(t,e,"access private method"),n);var dM=(t,e,n,i)=>({set _(r){Vs(t,e,r,n)},get _(){return Ur(t,e,i)}});function Yge(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 Ac=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Rk(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Xge(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 IE={exports:{}},U0={};var uM;function Zge(){if(uM)return U0;uM=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 U0.Fragment=e,U0.jsx=n,U0.jsxs=n,U0}var fM;function Jge(){return fM||(fM=1,IE.exports=Zge()),IE.exports}var y=Jge(),OE={exports:{}};function eve(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var SY={exports:{}},Fa=SY.exports={},au,ou;function _4(){throw new Error("setTimeout has not been defined")}function E4(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?au=setTimeout:au=_4}catch{au=_4}try{typeof clearTimeout=="function"?ou=clearTimeout:ou=E4}catch{ou=E4}})();function wY(t){if(au===setTimeout)return setTimeout(t,0);if((au===_4||!au)&&setTimeout)return au=setTimeout,setTimeout(t,0);try{return au(t,0)}catch{try{return au.call(null,t,0)}catch{return au.call(this,t,0)}}}function tve(t){if(ou===clearTimeout)return clearTimeout(t);if((ou===E4||!ou)&&clearTimeout)return ou=clearTimeout,clearTimeout(t);try{return ou(t)}catch{try{return ou.call(null,t)}catch{return ou.call(this,t)}}}var Cf=[],Kg=!1,oh,Nw=-1;function nve(){!Kg||!oh||(Kg=!1,oh.length?Cf=oh.concat(Cf):Nw=-1,Cf.length&&NY())}function NY(){if(!Kg){var t=wY(nve);Kg=!0;for(var e=Cf.length;e;){for(oh=Cf,Cf=[];++Nw<e;)oh&&oh[Nw].run();Nw=-1,e=Cf.length}oh=null,Kg=!1,tve(t)}}Fa.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];Cf.push(new CY(t,e)),Cf.length===1&&!Kg&&wY(NY)};function CY(t,e){this.fun=t,this.array=e}CY.prototype.run=function(){this.fun.apply(null,this.array)};Fa.title="browser";Fa.browser=!0;Fa.env={};Fa.argv=[];Fa.version="";Fa.versions={};function Pf(){}Fa.on=Pf;Fa.addListener=Pf;Fa.once=Pf;Fa.off=Pf;Fa.removeListener=Pf;Fa.removeAllListeners=Pf;Fa.emit=Pf;Fa.prependListener=Pf;Fa.prependOnceListener=Pf;Fa.listeners=function(t){return[]};Fa.binding=function(t){throw new Error("process.binding is not supported")};Fa.cwd=function(){return"/"};Fa.chdir=function(t){throw new Error("process.chdir is not supported")};Fa.umask=function(){return 0};var ive=SY.exports;const bn=eve(ive);var Vn={},AM;function rve(){if(AM)return Vn;AM=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(ie){return ie===null||typeof ie!="object"?null:(ie=h&&ie[h]||ie["@@iterator"],typeof ie=="function"?ie:null)}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,b={};function k(ie,L,j){this.props=ie,this.context=L,this.refs=b,this.updater=j||p}k.prototype.isReactComponent={},k.prototype.setState=function(ie,L){if(typeof ie!="object"&&typeof ie!="function"&&ie!=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,ie,L,"setState")},k.prototype.forceUpdate=function(ie){this.updater.enqueueForceUpdate(this,ie,"forceUpdate")};function S(){}S.prototype=k.prototype;function C(ie,L,j){this.props=ie,this.context=L,this.refs=b,this.updater=j||p}var x=C.prototype=new S;x.constructor=C,g(x,k.prototype),x.isPureReactComponent=!0;var F=Array.isArray;function T(){}var E={H:null,A:null,T:null,S:null},I=Object.prototype.hasOwnProperty;function R(ie,L,j){var $=j.ref;return{$$typeof:t,type:ie,key:L,ref:$!==void 0?$:null,props:j}}function V(ie,L){return R(ie.type,L,ie.props)}function U(ie){return typeof ie=="object"&&ie!==null&&ie.$$typeof===t}function P(ie){var L={"=":"=0",":":"=2"};return"$"+ie.replace(/[=:]/g,function(j){return L[j]})}var Z=/\/+/g;function q(ie,L){return typeof ie=="object"&&ie!==null&&ie.key!=null?P(""+ie.key):L.toString(36)}function ae(ie){switch(ie.status){case"fulfilled":return ie.value;case"rejected":throw ie.reason;default:switch(typeof ie.status=="string"?ie.then(T,T):(ie.status="pending",ie.then(function(L){ie.status==="pending"&&(ie.status="fulfilled",ie.value=L)},function(L){ie.status==="pending"&&(ie.status="rejected",ie.reason=L)})),ie.status){case"fulfilled":return ie.value;case"rejected":throw ie.reason}}throw ie}function H(ie,L,j,$,W){var J=typeof ie;(J==="undefined"||J==="boolean")&&(ie=null);var K=!1;if(ie===null)K=!0;else switch(J){case"bigint":case"string":case"number":K=!0;break;case"object":switch(ie.$$typeof){case t:case e:K=!0;break;case d:return K=ie._init,H(K(ie._payload),L,j,$,W)}}if(K)return W=W(ie),K=$===""?"."+q(ie,0):$,F(W)?(j="",K!=null&&(j=K.replace(Z,"$&/")+"/"),H(W,L,j,"",function(Se){return Se})):W!=null&&(U(W)&&(W=V(W,j+(W.key==null||ie&&ie.key===W.key?"":(""+W.key).replace(Z,"$&/")+"/")+K)),L.push(W)),1;K=0;var fe=$===""?".":$+":";if(F(ie))for(var ge=0;ge<ie.length;ge++)$=ie[ge],J=fe+q($,ge),K+=H($,L,j,J,W);else if(ge=m(ie),typeof ge=="function")for(ie=ge.call(ie),ge=0;!($=ie.next()).done;)$=$.value,J=fe+q($,ge++),K+=H($,L,j,J,W);else if(J==="object"){if(typeof ie.then=="function")return H(ae(ie),L,j,$,W);throw L=String(ie),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(ie).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return K}function te(ie,L,j){if(ie==null)return ie;var $=[],W=0;return H(ie,$,"","",function(J){return L.call(j,J,W++)}),$}function Y(ie){if(ie._status===-1){var L=ie._result;L=L(),L.then(function(j){(ie._status===0||ie._status===-1)&&(ie._status=1,ie._result=j)},function(j){(ie._status===0||ie._status===-1)&&(ie._status=2,ie._result=j)}),ie._status===-1&&(ie._status=0,ie._result=L)}if(ie._status===1)return ie._result.default;throw ie._result}var ue=typeof reportError=="function"?reportError:function(ie){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof ie=="object"&&ie!==null&&typeof ie.message=="string"?String(ie.message):String(ie),error:ie});if(!window.dispatchEvent(L))return}else if(typeof bn=="object"&&typeof bn.emit=="function"){bn.emit("uncaughtException",ie);return}console.error(ie)},we={map:te,forEach:function(ie,L,j){te(ie,function(){L.apply(this,arguments)},j)},count:function(ie){var L=0;return te(ie,function(){L++}),L},toArray:function(ie){return te(ie,function(L){return L})||[]},only:function(ie){if(!U(ie))throw Error("React.Children.only expected to receive a single React element child.");return ie}};return Vn.Activity=f,Vn.Children=we,Vn.Component=k,Vn.Fragment=n,Vn.Profiler=r,Vn.PureComponent=C,Vn.StrictMode=i,Vn.Suspense=l,Vn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,Vn.__COMPILER_RUNTIME={__proto__:null,c:function(ie){return E.H.useMemoCache(ie)}},Vn.cache=function(ie){return function(){return ie.apply(null,arguments)}},Vn.cacheSignal=function(){return null},Vn.cloneElement=function(ie,L,j){if(ie==null)throw Error("The argument must be a React element, but you passed "+ie+".");var $=g({},ie.props),W=ie.key;if(L!=null)for(J in L.key!==void 0&&(W=""+L.key),L)!I.call(L,J)||J==="key"||J==="__self"||J==="__source"||J==="ref"&&L.ref===void 0||($[J]=L[J]);var J=arguments.length-2;if(J===1)$.children=j;else if(1<J){for(var K=Array(J),fe=0;fe<J;fe++)K[fe]=arguments[fe+2];$.children=K}return R(ie.type,W,$)},Vn.createContext=function(ie){return ie={$$typeof:o,_currentValue:ie,_currentValue2:ie,_threadCount:0,Provider:null,Consumer:null},ie.Provider=ie,ie.Consumer={$$typeof:a,_context:ie},ie},Vn.createElement=function(ie,L,j){var $,W={},J=null;if(L!=null)for($ in L.key!==void 0&&(J=""+L.key),L)I.call(L,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(W[$]=L[$]);var K=arguments.length-2;if(K===1)W.children=j;else if(1<K){for(var fe=Array(K),ge=0;ge<K;ge++)fe[ge]=arguments[ge+2];W.children=fe}if(ie&&ie.defaultProps)for($ in K=ie.defaultProps,K)W[$]===void 0&&(W[$]=K[$]);return R(ie,J,W)},Vn.createRef=function(){return{current:null}},Vn.forwardRef=function(ie){return{$$typeof:s,render:ie}},Vn.isValidElement=U,Vn.lazy=function(ie){return{$$typeof:d,_payload:{_status:-1,_result:ie},_init:Y}},Vn.memo=function(ie,L){return{$$typeof:c,type:ie,compare:L===void 0?null:L}},Vn.startTransition=function(ie){var L=E.T,j={};E.T=j;try{var $=ie(),W=E.S;W!==null&&W(j,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(T,ue)}catch(J){ue(J)}finally{L!==null&&j.types!==null&&(L.types=j.types),E.T=L}},Vn.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},Vn.use=function(ie){return E.H.use(ie)},Vn.useActionState=function(ie,L,j){return E.H.useActionState(ie,L,j)},Vn.useCallback=function(ie,L){return E.H.useCallback(ie,L)},Vn.useContext=function(ie){return E.H.useContext(ie)},Vn.useDebugValue=function(){},Vn.useDeferredValue=function(ie,L){return E.H.useDeferredValue(ie,L)},Vn.useEffect=function(ie,L){return E.H.useEffect(ie,L)},Vn.useEffectEvent=function(ie){return E.H.useEffectEvent(ie)},Vn.useId=function(){return E.H.useId()},Vn.useImperativeHandle=function(ie,L,j){return E.H.useImperativeHandle(ie,L,j)},Vn.useInsertionEffect=function(ie,L){return E.H.useInsertionEffect(ie,L)},Vn.useLayoutEffect=function(ie,L){return E.H.useLayoutEffect(ie,L)},Vn.useMemo=function(ie,L){return E.H.useMemo(ie,L)},Vn.useOptimistic=function(ie,L){return E.H.useOptimistic(ie,L)},Vn.useReducer=function(ie,L,j){return E.H.useReducer(ie,L,j)},Vn.useRef=function(ie){return E.H.useRef(ie)},Vn.useState=function(ie){return E.H.useState(ie)},Vn.useSyncExternalStore=function(ie,L,j){return E.H.useSyncExternalStore(ie,L,j)},Vn.useTransition=function(){return E.H.useTransition()},Vn.version="19.2.1",Vn}var mM;function Yx(){return mM||(mM=1,OE.exports=rve()),OE.exports}var N=Yx();const se=Rk(N),Bf=Yge({__proto__:null,default:se},[N]);var RE={exports:{}},M0={},PE={exports:{}},LE={};var hM;function ave(){return hM||(hM=1,(function(t){function e(H,te){var Y=H.length;H.push(te);e:for(;0<Y;){var ue=Y-1>>>1,we=H[ue];if(0<r(we,te))H[ue]=te,H[Y]=we,Y=ue;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],Y=H.pop();if(Y!==te){H[0]=Y;e:for(var ue=0,we=H.length,ie=we>>>1;ue<ie;){var L=2*(ue+1)-1,j=H[L],$=L+1,W=H[$];if(0>r(j,Y))$<we&&0>r(W,j)?(H[ue]=W,H[$]=Y,ue=$):(H[ue]=j,H[L]=Y,ue=L);else if($<we&&0>r(W,Y))H[ue]=W,H[$]=Y,ue=$;else break e}}return te}function r(H,te){var Y=H.sortIndex-te.sortIndex;return Y!==0?Y: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,p=!1,g=!1,b=!1,k=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;function x(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 F(H){if(g=!1,x(H),!p)if(n(l)!==null)p=!0,T||(T=!0,P());else{var te=n(c);te!==null&&ae(F,te.startTime-H)}}var T=!1,E=-1,I=5,R=-1;function V(){return b?!0:!(t.unstable_now()-R<I)}function U(){if(b=!1,T){var H=t.unstable_now();R=H;var te=!0;try{e:{p=!1,g&&(g=!1,S(E),E=-1),m=!0;var Y=h;try{t:{for(x(H),f=n(l);f!==null&&!(f.expirationTime>H&&V());){var ue=f.callback;if(typeof ue=="function"){f.callback=null,h=f.priorityLevel;var we=ue(f.expirationTime<=H);if(H=t.unstable_now(),typeof we=="function"){f.callback=we,x(H),te=!0;break t}f===n(l)&&i(l),x(H)}else i(l);f=n(l)}if(f!==null)te=!0;else{var ie=n(c);ie!==null&&ae(F,ie.startTime-H),te=!1}}break e}finally{f=null,h=Y,m=!1}te=void 0}}finally{te?P():T=!1}}}var P;if(typeof C=="function")P=function(){C(U)};else if(typeof MessageChannel<"u"){var Z=new MessageChannel,q=Z.port2;Z.port1.onmessage=U,P=function(){q.postMessage(null)}}else P=function(){k(U,0)};function ae(H,te){E=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"):I=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 Y=h;h=te;try{return H()}finally{h=Y}},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 Y=h;h=H;try{return te()}finally{h=Y}},t.unstable_scheduleCallback=function(H,te,Y){var ue=t.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?ue+Y:ue):Y=ue,H){case 1:var we=-1;break;case 2:we=250;break;case 5:we=1073741823;break;case 4:we=1e4;break;default:we=5e3}return we=Y+we,H={id:d++,callback:te,priorityLevel:H,startTime:Y,expirationTime:we,sortIndex:-1},Y>ue?(H.sortIndex=Y,e(c,H),n(l)===null&&H===n(c)&&(g?(S(E),E=-1):g=!0,ae(F,Y-ue))):(H.sortIndex=we,e(l,H),p||m||(p=!0,T||(T=!0,P()))),H},t.unstable_shouldYield=V,t.unstable_wrapCallback=function(H){var te=h;return function(){var Y=h;h=te;try{return H.apply(this,arguments)}finally{h=Y}}}})(LE)),LE}var pM;function ove(){return pM||(pM=1,PE.exports=ave()),PE.exports}var UE={exports:{}},qo={};var gM;function sve(){if(gM)return qo;gM=1;var t=Yx();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 qo.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,qo.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)},qo.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()}},qo.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))},qo.prefetchDNS=function(l){typeof l=="string"&&i.d.D(l)},qo.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})}},qo.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)},qo.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})}},qo.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)},qo.requestFormReset=function(l){i.d.r(l)},qo.unstable_batchedUpdates=function(l,c){return l(c)},qo.useFormState=function(l,c,d){return o.H.useFormState(l,c,d)},qo.useFormStatus=function(){return o.H.useHostTransitionStatus()},qo.version="19.2.1",qo}var vM;function xY(){if(vM)return UE.exports;vM=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(),UE.exports=sve(),UE.exports}var yM;function lve(){if(yM)return M0;yM=1;var t=ove(),e=Yx(),n=xY();function i(u){var A="https://react.dev/errors/"+u;if(1<arguments.length){A+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)A+="&args[]="+encodeURIComponent(arguments[v])}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,v=u;if(u.alternate)for(;A.return;)A=A.return;else{u=A;do A=u,(A.flags&4098)!==0&&(v=A.return),u=A.return;while(u)}return A.tag===3?v: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 v=u,w=A;;){var B=v.return;if(B===null)break;var O=B.alternate;if(O===null){if(w=B.return,w!==null){v=w;continue}break}if(B.child===O.child){for(O=B.child;O;){if(O===v)return l(B),u;if(O===w)return l(B),A;O=O.sibling}throw Error(i(188))}if(v.return!==w.return)v=B,w=O;else{for(var de=!1,Ce=B.child;Ce;){if(Ce===v){de=!0,v=B,w=O;break}if(Ce===w){de=!0,w=B,v=O;break}Ce=Ce.sibling}if(!de){for(Ce=O.child;Ce;){if(Ce===v){de=!0,v=O,w=B;break}if(Ce===w){de=!0,w=O,v=B;break}Ce=Ce.sibling}if(!de)throw Error(i(189))}}if(v.alternate!==w)throw Error(i(190))}if(v.tag!==3)throw Error(i(188));return v.stateNode.current===v?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"),p=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),C=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),R=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 Z=Symbol.for("react.client.reference");function q(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===Z?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case g:return"Fragment";case k:return"Profiler";case b:return"StrictMode";case F:return"Suspense";case T:return"SuspenseList";case R:return"Activity"}if(typeof u=="object")switch(u.$$typeof){case p:return"Portal";case C:return u.displayName||"Context";case S:return(u._context.displayName||"Context")+".Consumer";case x:var A=u.render;return u=u.displayName,u||(u=A.displayName||A.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case E:return A=u.displayName||null,A!==null?A:q(u.type)||"Memo";case I:A=u._payload,u=u._init;try{return q(u(A))}catch{}}return null}var ae=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,Y={pending:!1,data:null,method:null,action:null},ue=[],we=-1;function ie(u){return{current:u}}function L(u){0>we||(u.current=ue[we],ue[we]=null,we--)}function j(u,A){we++,ue[we]=u.current,u.current=A}var $=ie(null),W=ie(null),J=ie(null),K=ie(null);function fe(u,A){switch(j(J,A),j(W,u),j($,null),A.nodeType){case 9:case 11:u=(u=A.documentElement)&&(u=u.namespaceURI)?D8(u):0;break;default:if(u=A.tagName,A=A.namespaceURI)A=D8(A),u=I8(A,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}L($),j($,u)}function ge(){L($),L(W),L(J)}function Se(u){u.memoizedState!==null&&j(K,u);var A=$.current,v=I8(A,u.type);A!==v&&(j(W,u),j($,v))}function oe(u){W.current===u&&(L($),L(W)),K.current===u&&(L(K),O0._currentValue=Y)}var le,Ee;function Le(u){if(le===void 0)try{throw Error()}catch(v){var A=v.stack.trim().match(/\n( *(at )?)/);le=A&&A[1]||"",Ee=-1<v.stack.indexOf(`
|
|
3
3
|
at`)?" (<anonymous>)":-1<v.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
4
4
|
`+le+u+Ee}var ve=!1;function Ae(u,A){if(!u||ve)return"";ve=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var w={DetermineComponentFrameRoot:function(){try{if(A){var Nt=function(){throw Error()};if(Object.defineProperty(Nt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Nt,[])}catch(ft){var st=ft}Reflect.construct(u,[],Nt)}else{try{Nt.call()}catch(ft){st=ft}u.call(Nt.prototype)}}else{try{throw Error()}catch(ft){st=ft}(Nt=u())&&typeof Nt.catch=="function"&&Nt.catch(function(){})}}catch(ft){if(ft&&st&&typeof ft.stack=="string")return[ft.stack,st.stack]}return[null,null]}};w.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var B=Object.getOwnPropertyDescriptor(w.DetermineComponentFrameRoot,"name");B&&B.configurable&&Object.defineProperty(w.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var O=w.DetermineComponentFrameRoot(),de=O[0],Ce=O[1];if(de&&Ce){var je=de.split(`
|
|
@@ -10,7 +10,7 @@ Error generating stack: `+w.message+`
|
|
|
10
10
|
`).replace(vge,"")}function B8(u,A){return A=E8(A),E8(u)===A}function fr(u,A,v,w,B,O){switch(v){case"children":typeof w=="string"?A==="body"||A==="textarea"&&w===""||ol(u,w):(typeof w=="number"||typeof w=="bigint")&&A!=="body"&&ol(u,""+w);break;case"className":Ha(u,"class",w);break;case"tabIndex":Ha(u,"tabindex",w);break;case"dir":case"role":case"viewBox":case"width":case"height":Ha(u,v,w);break;case"style":cp(u,w,O);break;case"data":if(A!=="object"){Ha(u,"data",w);break}case"src":case"href":if(w===""&&(A!=="a"||v!=="href")){u.removeAttribute(v);break}if(w==null||typeof w=="function"||typeof w=="symbol"||typeof w=="boolean"){u.removeAttribute(v);break}w=zo(""+w),u.setAttribute(v,w);break;case"action":case"formAction":if(typeof w=="function"){u.setAttribute(v,"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 O=="function"&&(v==="formAction"?(A!=="input"&&fr(u,A,"name",B.name,B,null),fr(u,A,"formEncType",B.formEncType,B,null),fr(u,A,"formMethod",B.formMethod,B,null),fr(u,A,"formTarget",B.formTarget,B,null)):(fr(u,A,"encType",B.encType,B,null),fr(u,A,"method",B.method,B,null),fr(u,A,"target",B.target,B,null)));if(w==null||typeof w=="symbol"||typeof w=="boolean"){u.removeAttribute(v);break}w=zo(""+w),u.setAttribute(v,w);break;case"onClick":w!=null&&(u.onclick=sl);break;case"onScroll":w!=null&&gi("scroll",u);break;case"onScrollEnd":w!=null&&gi("scrollend",u);break;case"dangerouslySetInnerHTML":if(w!=null){if(typeof w!="object"||!("__html"in w))throw Error(i(61));if(v=w.__html,v!=null){if(B.children!=null)throw Error(i(60));u.innerHTML=v}}break;case"multiple":u.multiple=w&&typeof w!="function"&&typeof w!="symbol";break;case"muted":u.muted=w&&typeof w!="function"&&typeof w!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(w==null||typeof w=="function"||typeof w=="boolean"||typeof w=="symbol"){u.removeAttribute("xlink:href");break}v=zo(""+w),u.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",v);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":w!=null&&typeof w!="function"&&typeof w!="symbol"?u.setAttribute(v,""+w):u.removeAttribute(v);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":w&&typeof w!="function"&&typeof w!="symbol"?u.setAttribute(v,""):u.removeAttribute(v);break;case"capture":case"download":w===!0?u.setAttribute(v,""):w!==!1&&w!=null&&typeof w!="function"&&typeof w!="symbol"?u.setAttribute(v,w):u.removeAttribute(v);break;case"cols":case"rows":case"size":case"span":w!=null&&typeof w!="function"&&typeof w!="symbol"&&!isNaN(w)&&1<=w?u.setAttribute(v,w):u.removeAttribute(v);break;case"rowSpan":case"start":w==null||typeof w=="function"||typeof w=="symbol"||isNaN(w)?u.removeAttribute(v):u.setAttribute(v,w);break;case"popover":gi("beforetoggle",u),gi("toggle",u),ea(u,"popover",w);break;case"xlinkActuate":ki(u,"http://www.w3.org/1999/xlink","xlink:actuate",w);break;case"xlinkArcrole":ki(u,"http://www.w3.org/1999/xlink","xlink:arcrole",w);break;case"xlinkRole":ki(u,"http://www.w3.org/1999/xlink","xlink:role",w);break;case"xlinkShow":ki(u,"http://www.w3.org/1999/xlink","xlink:show",w);break;case"xlinkTitle":ki(u,"http://www.w3.org/1999/xlink","xlink:title",w);break;case"xlinkType":ki(u,"http://www.w3.org/1999/xlink","xlink:type",w);break;case"xmlBase":ki(u,"http://www.w3.org/XML/1998/namespace","xml:base",w);break;case"xmlLang":ki(u,"http://www.w3.org/XML/1998/namespace","xml:lang",w);break;case"xmlSpace":ki(u,"http://www.w3.org/XML/1998/namespace","xml:space",w);break;case"is":ea(u,"is",w);break;case"innerText":case"textContent":break;default:(!(2<v.length)||v[0]!=="o"&&v[0]!=="O"||v[1]!=="n"&&v[1]!=="N")&&(v=Cm.get(v)||v,ea(u,v,w))}}function mE(u,A,v,w,B,O){switch(v){case"style":cp(u,w,O);break;case"dangerouslySetInnerHTML":if(w!=null){if(typeof w!="object"||!("__html"in w))throw Error(i(61));if(v=w.__html,v!=null){if(B.children!=null)throw Error(i(60));u.innerHTML=v}}break;case"children":typeof w=="string"?ol(u,w):(typeof w=="number"||typeof w=="bigint")&&ol(u,""+w);break;case"onScroll":w!=null&&gi("scroll",u);break;case"onScrollEnd":w!=null&&gi("scrollend",u);break;case"onClick":w!=null&&(u.onclick=sl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!$a.hasOwnProperty(v))e:{if(v[0]==="o"&&v[1]==="n"&&(B=v.endsWith("Capture"),A=v.slice(2,B?v.length-7:void 0),O=u[Ft]||null,O=O!=null?O[v]:null,typeof O=="function"&&u.removeEventListener(A,O,B),typeof w=="function")){typeof O!="function"&&O!==null&&(v in u?u[v]=null:u.hasAttribute(v)&&u.removeAttribute(v)),u.addEventListener(A,w,B);break e}v in u?u[v]=w:w===!0?u.setAttribute(v,""):ea(u,v,w)}}}function Eo(u,A,v){switch(A){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":gi("error",u),gi("load",u);var w=!1,B=!1,O;for(O in v)if(v.hasOwnProperty(O)){var de=v[O];if(de!=null)switch(O){case"src":w=!0;break;case"srcSet":B=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,A));default:fr(u,A,O,de,v,null)}}B&&fr(u,A,"srcSet",v.srcSet,v,null),w&&fr(u,A,"src",v.src,v,null);return;case"input":gi("invalid",u);var Ce=O=de=B=null,je=null,at=null;for(w in v)if(v.hasOwnProperty(w)){var gt=v[w];if(gt!=null)switch(w){case"name":B=gt;break;case"type":de=gt;break;case"checked":je=gt;break;case"defaultChecked":at=gt;break;case"value":O=gt;break;case"defaultValue":Ce=gt;break;case"children":case"dangerouslySetInnerHTML":if(gt!=null)throw Error(i(137,A));break;default:fr(u,A,w,gt,v,null)}}sp(u,O,Ce,je,at,de,B,!1);return;case"select":gi("invalid",u),w=de=O=null;for(B in v)if(v.hasOwnProperty(B)&&(Ce=v[B],Ce!=null))switch(B){case"value":O=Ce;break;case"defaultValue":de=Ce;break;case"multiple":w=Ce;default:fr(u,A,B,Ce,v,null)}A=O,v=de,u.multiple=!!w,A!=null?wo(u,!!w,A,!1):v!=null&&wo(u,!!w,v,!0);return;case"textarea":gi("invalid",u),O=B=w=null;for(de in v)if(v.hasOwnProperty(de)&&(Ce=v[de],Ce!=null))switch(de){case"value":w=Ce;break;case"defaultValue":B=Ce;break;case"children":O=Ce;break;case"dangerouslySetInnerHTML":if(Ce!=null)throw Error(i(91));break;default:fr(u,A,de,Ce,v,null)}wm(u,w,B,O);return;case"option":for(je in v)if(v.hasOwnProperty(je)&&(w=v[je],w!=null))switch(je){case"selected":u.selected=w&&typeof w!="function"&&typeof w!="symbol";break;default:fr(u,A,je,w,v,null)}return;case"dialog":gi("beforetoggle",u),gi("toggle",u),gi("cancel",u),gi("close",u);break;case"iframe":case"object":gi("load",u);break;case"video":case"audio":for(w=0;w<E0.length;w++)gi(E0[w],u);break;case"image":gi("error",u),gi("load",u);break;case"details":gi("toggle",u);break;case"embed":case"source":case"link":gi("error",u),gi("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 v)if(v.hasOwnProperty(at)&&(w=v[at],w!=null))switch(at){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,A));default:fr(u,A,at,w,v,null)}return;default:if(Nm(A)){for(gt in v)v.hasOwnProperty(gt)&&(w=v[gt],w!==void 0&&mE(u,A,gt,w,v,void 0));return}}for(Ce in v)v.hasOwnProperty(Ce)&&(w=v[Ce],w!=null&&fr(u,A,Ce,w,v,null))}function yge(u,A,v,w){switch(A){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var B=null,O=null,de=null,Ce=null,je=null,at=null,gt=null;for(ft in v){var Nt=v[ft];if(v.hasOwnProperty(ft)&&Nt!=null)switch(ft){case"checked":break;case"value":break;case"defaultValue":je=Nt;default:w.hasOwnProperty(ft)||fr(u,A,ft,null,w,Nt)}}for(var st in w){var ft=w[st];if(Nt=v[st],w.hasOwnProperty(st)&&(ft!=null||Nt!=null))switch(st){case"type":O=ft;break;case"name":B=ft;break;case"checked":at=ft;break;case"defaultChecked":gt=ft;break;case"value":de=ft;break;case"defaultValue":Ce=ft;break;case"children":case"dangerouslySetInnerHTML":if(ft!=null)throw Error(i(137,A));break;default:ft!==Nt&&fr(u,A,st,ft,w,Nt)}}Vf(u,de,Ce,je,at,gt,O,B);return;case"select":ft=de=Ce=st=null;for(O in v)if(je=v[O],v.hasOwnProperty(O)&&je!=null)switch(O){case"value":break;case"multiple":ft=je;default:w.hasOwnProperty(O)||fr(u,A,O,null,w,je)}for(B in w)if(O=w[B],je=v[B],w.hasOwnProperty(B)&&(O!=null||je!=null))switch(B){case"value":st=O;break;case"defaultValue":Ce=O;break;case"multiple":de=O;default:O!==je&&fr(u,A,B,O,w,je)}A=Ce,v=de,w=ft,st!=null?wo(u,!!v,st,!1):!!w!=!!v&&(A!=null?wo(u,!!v,A,!0):wo(u,!!v,v?[]:"",!1));return;case"textarea":ft=st=null;for(Ce in v)if(B=v[Ce],v.hasOwnProperty(Ce)&&B!=null&&!w.hasOwnProperty(Ce))switch(Ce){case"value":break;case"children":break;default:fr(u,A,Ce,null,w,B)}for(de in w)if(B=w[de],O=v[de],w.hasOwnProperty(de)&&(B!=null||O!=null))switch(de){case"value":st=B;break;case"defaultValue":ft=B;break;case"children":break;case"dangerouslySetInnerHTML":if(B!=null)throw Error(i(91));break;default:B!==O&&fr(u,A,de,B,w,O)}Sm(u,st,ft);return;case"option":for(var rn in v)if(st=v[rn],v.hasOwnProperty(rn)&&st!=null&&!w.hasOwnProperty(rn))switch(rn){case"selected":u.selected=!1;break;default:fr(u,A,rn,null,w,st)}for(je in w)if(st=w[je],ft=v[je],w.hasOwnProperty(je)&&st!==ft&&(st!=null||ft!=null))switch(je){case"selected":u.selected=st&&typeof st!="function"&&typeof st!="symbol";break;default:fr(u,A,je,st,w,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 En in v)st=v[En],v.hasOwnProperty(En)&&st!=null&&!w.hasOwnProperty(En)&&fr(u,A,En,null,w,st);for(at in w)if(st=w[at],ft=v[at],w.hasOwnProperty(at)&&st!==ft&&(st!=null||ft!=null))switch(at){case"children":case"dangerouslySetInnerHTML":if(st!=null)throw Error(i(137,A));break;default:fr(u,A,at,st,w,ft)}return;default:if(Nm(A)){for(var Ar in v)st=v[Ar],v.hasOwnProperty(Ar)&&st!==void 0&&!w.hasOwnProperty(Ar)&&mE(u,A,Ar,void 0,w,st);for(gt in w)st=w[gt],ft=v[gt],!w.hasOwnProperty(gt)||st===ft||st===void 0&&ft===void 0||mE(u,A,gt,st,w,ft);return}}for(var Ze in v)st=v[Ze],v.hasOwnProperty(Ze)&&st!=null&&!w.hasOwnProperty(Ze)&&fr(u,A,Ze,null,w,st);for(Nt in w)st=w[Nt],ft=v[Nt],!w.hasOwnProperty(Nt)||st===ft||st==null&&ft==null||fr(u,A,Nt,st,w,ft)}function T8(u){switch(u){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function kge(){if(typeof performance.getEntriesByType=="function"){for(var u=0,A=0,v=performance.getEntriesByType("resource"),w=0;w<v.length;w++){var B=v[w],O=B.transferSize,de=B.initiatorType,Ce=B.duration;if(O&&Ce&&T8(de)){for(de=0,Ce=B.responseEnd,w+=1;w<v.length;w++){var je=v[w],at=je.startTime;if(at>Ce)break;var gt=je.transferSize,Nt=je.initiatorType;gt&&T8(Nt)&&(je=je.responseEnd,de+=gt*(je<Ce?1:(Ce-at)/(je-at)))}if(--w,A+=8*(O+de)/(B.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 hE=null,pE=null;function y1(u){return u.nodeType===9?u:u.ownerDocument}function D8(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 I8(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 gE(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 vE=null;function bge(){var u=window.event;return u&&u.type==="popstate"?u===vE?!1:(vE=u,!0):(vE=null,!1)}var O8=typeof setTimeout=="function"?setTimeout:void 0,Sge=typeof clearTimeout=="function"?clearTimeout:void 0,R8=typeof Promise=="function"?Promise:void 0,wge=typeof queueMicrotask=="function"?queueMicrotask:typeof R8<"u"?function(u){return R8.resolve(null).then(u).catch(Nge)}:O8;function Nge(u){setTimeout(function(){throw u})}function yA(u){return u==="head"}function P8(u,A){var v=A,w=0;do{var B=v.nextSibling;if(u.removeChild(v),B&&B.nodeType===8)if(v=B.data,v==="/$"||v==="/&"){if(w===0){u.removeChild(B),Wp(A);return}w--}else if(v==="$"||v==="$?"||v==="$~"||v==="$!"||v==="&")w++;else if(v==="html")T0(u.ownerDocument.documentElement);else if(v==="head"){v=u.ownerDocument.head,T0(v);for(var O=v.firstChild;O;){var de=O.nextSibling,Ce=O.nodeName;O[ci]||Ce==="SCRIPT"||Ce==="STYLE"||Ce==="LINK"&&O.rel.toLowerCase()==="stylesheet"||v.removeChild(O),O=de}}else v==="body"&&T0(u.ownerDocument.body);v=B}while(v);Wp(A)}function L8(u,A){var v=u;u=0;do{var w=v.nextSibling;if(v.nodeType===1?A?(v._stashedDisplay=v.style.display,v.style.display="none"):(v.style.display=v._stashedDisplay||"",v.getAttribute("style")===""&&v.removeAttribute("style")):v.nodeType===3&&(A?(v._stashedText=v.nodeValue,v.nodeValue=""):v.nodeValue=v._stashedText||""),w&&w.nodeType===8)if(v=w.data,v==="/$"){if(u===0)break;u--}else v!=="$"&&v!=="$?"&&v!=="$~"&&v!=="$!"||u++;v=w}while(v)}function yE(u){var A=u.firstChild;for(A&&A.nodeType===10&&(A=A.nextSibling);A;){var v=A;switch(A=A.nextSibling,v.nodeName){case"HTML":case"HEAD":case"BODY":yE(v),ji(v);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(v.rel.toLowerCase()==="stylesheet")continue}u.removeChild(v)}}function Cge(u,A,v,w){for(;u.nodeType===1;){var B=v;if(u.nodeName.toLowerCase()!==A.toLowerCase()){if(!w&&(u.nodeName!=="INPUT"||u.type!=="hidden"))break}else if(w){if(!u[ci])switch(A){case"meta":if(!u.hasAttribute("itemprop"))break;return u;case"link":if(O=u.getAttribute("rel"),O==="stylesheet"&&u.hasAttribute("data-precedence"))break;if(O!==B.rel||u.getAttribute("href")!==(B.href==null||B.href===""?null:B.href)||u.getAttribute("crossorigin")!==(B.crossOrigin==null?null:B.crossOrigin)||u.getAttribute("title")!==(B.title==null?null:B.title))break;return u;case"style":if(u.hasAttribute("data-precedence"))break;return u;case"script":if(O=u.getAttribute("src"),(O!==(B.src==null?null:B.src)||u.getAttribute("type")!==(B.type==null?null:B.type)||u.getAttribute("crossorigin")!==(B.crossOrigin==null?null:B.crossOrigin))&&O&&u.hasAttribute("async")&&!u.hasAttribute("itemprop"))break;return u;default:return u}}else if(A==="input"&&u.type==="hidden"){var O=B.name==null?null:""+B.name;if(B.type==="hidden"&&u.getAttribute("name")===O)return u}else return u;if(u=Xl(u.nextSibling),u===null)break}return null}function xge(u,A,v){if(A==="")return null;for(;u.nodeType!==3;)if((u.nodeType!==1||u.nodeName!=="INPUT"||u.type!=="hidden")&&!v||(u=Xl(u.nextSibling),u===null))return null;return u}function U8(u,A){for(;u.nodeType!==8;)if((u.nodeType!==1||u.nodeName!=="INPUT"||u.type!=="hidden")&&!A||(u=Xl(u.nextSibling),u===null))return null;return u}function kE(u){return u.data==="$?"||u.data==="$~"}function bE(u){return u.data==="$!"||u.data==="$?"&&u.ownerDocument.readyState!=="loading"}function Fge(u,A){var v=u.ownerDocument;if(u.data==="$~")u._reactRetry=A;else if(u.data!=="$?"||v.readyState!=="loading")A();else{var w=function(){A(),v.removeEventListener("DOMContentLoaded",w)};v.addEventListener("DOMContentLoaded",w),u._reactRetry=w}}function Xl(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 SE=null;function M8(u){u=u.nextSibling;for(var A=0;u;){if(u.nodeType===8){var v=u.data;if(v==="/$"||v==="/&"){if(A===0)return Xl(u.nextSibling);A--}else v!=="$"&&v!=="$!"&&v!=="$?"&&v!=="$~"&&v!=="&"||A++}u=u.nextSibling}return null}function $8(u){u=u.previousSibling;for(var A=0;u;){if(u.nodeType===8){var v=u.data;if(v==="$"||v==="$!"||v==="$?"||v==="$~"||v==="&"){if(A===0)return u;A--}else v!=="/$"&&v!=="/&"||A++}u=u.previousSibling}return null}function j8(u,A,v){switch(A=y1(v),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 T0(u){for(var A=u.attributes;A.length;)u.removeAttributeNode(A[0]);ji(u)}var Zl=new Map,Q8=new Set;function k1(u){return typeof u.getRootNode=="function"?u.getRootNode():u.nodeType===9?u:u.ownerDocument}var lf=te.d;te.d={f:_ge,r:Ege,D:Bge,C:Tge,L:Dge,m:Ige,X:Rge,S:Oge,M:Pge};function _ge(){var u=lf.f(),A=u1();return u||A}function Ege(u){var A=ai(u);A!==null&&A.tag===5&&A.type==="form"?aU(A):lf.r(u)}var Gp=typeof document>"u"?null:document;function H8(u,A,v){var w=Gp;if(w&&typeof A=="string"&&A){var B=ta(A);B='link[rel="'+u+'"][href="'+B+'"]',typeof v=="string"&&(B+='[crossorigin="'+v+'"]'),Q8.has(B)||(Q8.add(B),u={rel:u,crossOrigin:v,href:A},w.querySelector(B)===null&&(A=w.createElement("link"),Eo(A,"link",u),Ui(A),w.head.appendChild(A)))}}function Bge(u){lf.D(u),H8("dns-prefetch",u,null)}function Tge(u,A){lf.C(u,A),H8("preconnect",u,A)}function Dge(u,A,v){lf.L(u,A,v);var w=Gp;if(w&&u&&A){var B='link[rel="preload"][as="'+ta(A)+'"]';A==="image"&&v&&v.imageSrcSet?(B+='[imagesrcset="'+ta(v.imageSrcSet)+'"]',typeof v.imageSizes=="string"&&(B+='[imagesizes="'+ta(v.imageSizes)+'"]')):B+='[href="'+ta(u)+'"]';var O=B;switch(A){case"style":O=qp(u);break;case"script":O=Kp(u)}Zl.has(O)||(u=f({rel:"preload",href:A==="image"&&v&&v.imageSrcSet?void 0:u,as:A},v),Zl.set(O,u),w.querySelector(B)!==null||A==="style"&&w.querySelector(D0(O))||A==="script"&&w.querySelector(I0(O))||(A=w.createElement("link"),Eo(A,"link",u),Ui(A),w.head.appendChild(A)))}}function Ige(u,A){lf.m(u,A);var v=Gp;if(v&&u){var w=A&&typeof A.as=="string"?A.as:"script",B='link[rel="modulepreload"][as="'+ta(w)+'"][href="'+ta(u)+'"]',O=B;switch(w){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":O=Kp(u)}if(!Zl.has(O)&&(u=f({rel:"modulepreload",href:u},A),Zl.set(O,u),v.querySelector(B)===null)){switch(w){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(v.querySelector(I0(O)))return}w=v.createElement("link"),Eo(w,"link",u),Ui(w),v.head.appendChild(w)}}}function Oge(u,A,v){lf.S(u,A,v);var w=Gp;if(w&&u){var B=oo(w).hoistableStyles,O=qp(u);A=A||"default";var de=B.get(O);if(!de){var Ce={loading:0,preload:null};if(de=w.querySelector(D0(O)))Ce.loading=5;else{u=f({rel:"stylesheet",href:u,"data-precedence":A},v),(v=Zl.get(O))&&wE(u,v);var je=de=w.createElement("link");Ui(je),Eo(je,"link",u),je._p=new Promise(function(at,gt){je.onload=at,je.onerror=gt}),je.addEventListener("load",function(){Ce.loading|=1}),je.addEventListener("error",function(){Ce.loading|=2}),Ce.loading|=4,b1(de,A,w)}de={type:"stylesheet",instance:de,count:1,state:Ce},B.set(O,de)}}}function Rge(u,A){lf.X(u,A);var v=Gp;if(v&&u){var w=oo(v).hoistableScripts,B=Kp(u),O=w.get(B);O||(O=v.querySelector(I0(B)),O||(u=f({src:u,async:!0},A),(A=Zl.get(B))&&NE(u,A),O=v.createElement("script"),Ui(O),Eo(O,"link",u),v.head.appendChild(O)),O={type:"script",instance:O,count:1,state:null},w.set(B,O))}}function Pge(u,A){lf.M(u,A);var v=Gp;if(v&&u){var w=oo(v).hoistableScripts,B=Kp(u),O=w.get(B);O||(O=v.querySelector(I0(B)),O||(u=f({src:u,async:!0,type:"module"},A),(A=Zl.get(B))&&NE(u,A),O=v.createElement("script"),Ui(O),Eo(O,"link",u),v.head.appendChild(O)),O={type:"script",instance:O,count:1,state:null},w.set(B,O))}}function z8(u,A,v,w){var B=(B=J.current)?k1(B):null;if(!B)throw Error(i(446));switch(u){case"meta":case"title":return null;case"style":return typeof v.precedence=="string"&&typeof v.href=="string"?(A=qp(v.href),v=oo(B).hoistableStyles,w=v.get(A),w||(w={type:"style",instance:null,count:0,state:null},v.set(A,w)),w):{type:"void",instance:null,count:0,state:null};case"link":if(v.rel==="stylesheet"&&typeof v.href=="string"&&typeof v.precedence=="string"){u=qp(v.href);var O=oo(B).hoistableStyles,de=O.get(u);if(de||(B=B.ownerDocument||B,de={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},O.set(u,de),(O=B.querySelector(D0(u)))&&!O._p&&(de.instance=O,de.state.loading=5),Zl.has(u)||(v={rel:"preload",as:"style",href:v.href,crossOrigin:v.crossOrigin,integrity:v.integrity,media:v.media,hrefLang:v.hrefLang,referrerPolicy:v.referrerPolicy},Zl.set(u,v),O||Lge(B,u,v,de.state))),A&&w===null)throw Error(i(528,""));return de}if(A&&w!==null)throw Error(i(529,""));return null;case"script":return A=v.async,v=v.src,typeof v=="string"&&A&&typeof A!="function"&&typeof A!="symbol"?(A=Kp(v),v=oo(B).hoistableScripts,w=v.get(A),w||(w={type:"script",instance:null,count:0,state:null},v.set(A,w)),w):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,u))}}function qp(u){return'href="'+ta(u)+'"'}function D0(u){return'link[rel="stylesheet"]['+u+"]"}function V8(u){return f({},u,{"data-precedence":u.precedence,precedence:null})}function Lge(u,A,v,w){u.querySelector('link[rel="preload"][as="style"]['+A+"]")?w.loading=1:(A=u.createElement("link"),w.preload=A,A.addEventListener("load",function(){return w.loading|=1}),A.addEventListener("error",function(){return w.loading|=2}),Eo(A,"link",v),Ui(A),u.head.appendChild(A))}function Kp(u){return'[src="'+ta(u)+'"]'}function I0(u){return"script[async]"+u}function G8(u,A,v){if(A.count++,A.instance===null)switch(A.type){case"style":var w=u.querySelector('style[data-href~="'+ta(v.href)+'"]');if(w)return A.instance=w,Ui(w),w;var B=f({},v,{"data-href":v.href,"data-precedence":v.precedence,href:null,precedence:null});return w=(u.ownerDocument||u).createElement("style"),Ui(w),Eo(w,"style",B),b1(w,v.precedence,u),A.instance=w;case"stylesheet":B=qp(v.href);var O=u.querySelector(D0(B));if(O)return A.state.loading|=4,A.instance=O,Ui(O),O;w=V8(v),(B=Zl.get(B))&&wE(w,B),O=(u.ownerDocument||u).createElement("link"),Ui(O);var de=O;return de._p=new Promise(function(Ce,je){de.onload=Ce,de.onerror=je}),Eo(O,"link",w),A.state.loading|=4,b1(O,v.precedence,u),A.instance=O;case"script":return O=Kp(v.src),(B=u.querySelector(I0(O)))?(A.instance=B,Ui(B),B):(w=v,(B=Zl.get(O))&&(w=f({},v),NE(w,B)),u=u.ownerDocument||u,B=u.createElement("script"),Ui(B),Eo(B,"link",w),u.head.appendChild(B),A.instance=B);case"void":return null;default:throw Error(i(443,A.type))}else A.type==="stylesheet"&&(A.state.loading&4)===0&&(w=A.instance,A.state.loading|=4,b1(w,v.precedence,u));return A.instance}function b1(u,A,v){for(var w=v.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),B=w.length?w[w.length-1]:null,O=B,de=0;de<w.length;de++){var Ce=w[de];if(Ce.dataset.precedence===A)O=Ce;else if(O!==B)break}O?O.parentNode.insertBefore(u,O.nextSibling):(A=v.nodeType===9?v.head:v,A.insertBefore(u,A.firstChild))}function wE(u,A){u.crossOrigin==null&&(u.crossOrigin=A.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=A.referrerPolicy),u.title==null&&(u.title=A.title)}function NE(u,A){u.crossOrigin==null&&(u.crossOrigin=A.crossOrigin),u.referrerPolicy==null&&(u.referrerPolicy=A.referrerPolicy),u.integrity==null&&(u.integrity=A.integrity)}var S1=null;function q8(u,A,v){if(S1===null){var w=new Map,B=S1=new Map;B.set(v,w)}else B=S1,w=B.get(v),w||(w=new Map,B.set(v,w));if(w.has(u))return w;for(w.set(u,null),v=v.getElementsByTagName(u),B=0;B<v.length;B++){var O=v[B];if(!(O[ci]||O[lt]||u==="link"&&O.getAttribute("rel")==="stylesheet")&&O.namespaceURI!=="http://www.w3.org/2000/svg"){var de=O.getAttribute(A)||"";de=u+de;var Ce=w.get(de);Ce?Ce.push(O):w.set(de,[O])}}return w}function K8(u,A,v){u=u.ownerDocument||u,u.head.insertBefore(v,A==="title"?u.querySelector("head > title"):null)}function Uge(u,A,v){if(v===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;switch(A.rel){case"stylesheet":return u=A.disabled,typeof A.precedence=="string"&&u==null;default:return!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 W8(u){return!(u.type==="stylesheet"&&(u.state.loading&3)===0)}function Mge(u,A,v,w){if(v.type==="stylesheet"&&(typeof w.media!="string"||matchMedia(w.media).matches!==!1)&&(v.state.loading&4)===0){if(v.instance===null){var B=qp(w.href),O=A.querySelector(D0(B));if(O){A=O._p,A!==null&&typeof A=="object"&&typeof A.then=="function"&&(u.count++,u=w1.bind(u),A.then(u,u)),v.state.loading|=4,v.instance=O,Ui(O);return}O=A.ownerDocument||A,w=V8(w),(B=Zl.get(B))&&wE(w,B),O=O.createElement("link"),Ui(O);var de=O;de._p=new Promise(function(Ce,je){de.onload=Ce,de.onerror=je}),Eo(O,"link",w),v.instance=O}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(v,A),(A=v.state.preload)&&(v.state.loading&3)===0&&(u.count++,v=w1.bind(u),A.addEventListener("load",v),A.addEventListener("error",v))}}var CE=0;function $ge(u,A){return u.stylesheets&&u.count===0&&C1(u,u.stylesheets),0<u.count||0<u.imgCount?function(v){var w=setTimeout(function(){if(u.stylesheets&&C1(u,u.stylesheets),u.unsuspend){var O=u.unsuspend;u.unsuspend=null,O()}},6e4+A);0<u.imgBytes&&CE===0&&(CE=62500*kge());var B=setTimeout(function(){if(u.waitingForImages=!1,u.count===0&&(u.stylesheets&&C1(u,u.stylesheets),u.unsuspend)){var O=u.unsuspend;u.unsuspend=null,O()}},(u.imgBytes>CE?50:800)+A);return u.unsuspend=v,function(){u.unsuspend=null,clearTimeout(w),clearTimeout(B)}}:null}function w1(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)C1(this,this.stylesheets);else if(this.unsuspend){var u=this.unsuspend;this.unsuspend=null,u()}}}var N1=null;function C1(u,A){u.stylesheets=null,u.unsuspend!==null&&(u.count++,N1=new Map,A.forEach(jge,u),N1=null,w1.call(u))}function jge(u,A){if(!(A.state.loading&4)){var v=N1.get(u);if(v)var w=v.get(null);else{v=new Map,N1.set(u,v);for(var B=u.querySelectorAll("link[data-precedence],style[data-precedence]"),O=0;O<B.length;O++){var de=B[O];(de.nodeName==="LINK"||de.getAttribute("media")!=="not all")&&(v.set(de.dataset.precedence,de),w=de)}w&&v.set(null,w)}B=A.instance,de=B.getAttribute("data-precedence"),O=v.get(de)||w,O===w&&v.set(null,B),v.set(de,B),this.count++,w=w1.bind(this),B.addEventListener("load",w),B.addEventListener("error",w),O?O.parentNode.insertBefore(B,O.nextSibling):(u=u.nodeType===9?u.head:u,u.insertBefore(B,u.firstChild)),A.state.loading|=4}}var O0={$$typeof:C,Provider:null,Consumer:null,_currentValue:Y,_currentValue2:Y,_threadCount:0};function Qge(u,A,v,w,B,O,de,Ce,je){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=Pn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pn(0),this.hiddenUpdates=Pn(null),this.identifierPrefix=w,this.onUncaughtError=B,this.onCaughtError=O,this.onRecoverableError=de,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=je,this.incompleteTransitions=new Map}function Y8(u,A,v,w,B,O,de,Ce,je,at,gt,Nt){return u=new Qge(u,A,v,de,je,at,gt,Nt,Ce),A=1,O===!0&&(A|=24),O=uo(3,null,null,A),u.current=O,O.stateNode=u,A=sA(),A.refCount++,u.pooledCache=A,A.refCount++,O.memoizedState={element:w,isDehydrated:v,cache:A},$t(O),u}function X8(u){return u?(u=qa,u):qa}function Z8(u,A,v,w,B,O){B=X8(B),w.context===null?w.context=B:w.pendingContext=B,w=_n(A),w.payload={element:v},O=O===void 0?null:O,O!==null&&(w.callback=O),v=Yn(u,w,A),v!==null&&(zs(v,u,A),Qi(v,u,A))}function J8(u,A){if(u=u.memoizedState,u!==null&&u.dehydrated!==null){var v=u.retryLane;u.retryLane=v!==0&&v<A?v:A}}function xE(u,A){J8(u,A),(u=u.alternate)&&J8(u,A)}function eM(u){if(u.tag===13||u.tag===31){var A=Hc(u,67108864);A!==null&&zs(A,u,67108864),xE(u,67108864)}}function tM(u){if(u.tag===13||u.tag===31){var A=pl();A=Ye(A);var v=Hc(u,A);v!==null&&zs(v,u,A),xE(u,A)}}var x1=!0;function Hge(u,A,v,w){var B=H.T;H.T=null;var O=te.p;try{te.p=2,FE(u,A,v,w)}finally{te.p=O,H.T=B}}function zge(u,A,v,w){var B=H.T;H.T=null;var O=te.p;try{te.p=8,FE(u,A,v,w)}finally{te.p=O,H.T=B}}function FE(u,A,v,w){if(x1){var B=_E(w);if(B===null)AE(u,A,w,F1,v),iM(u,w);else if(Gge(B,u,A,v,w))w.stopPropagation();else if(iM(u,w),A&4&&-1<Vge.indexOf(u)){for(;B!==null;){var O=ai(B);if(O!==null)switch(O.tag){case 3:if(O=O.stateNode,O.current.memoizedState.isDehydrated){var de=It(O.pendingLanes);if(de!==0){var Ce=O;for(Ce.pendingLanes|=2,Ce.entangledLanes|=2;de;){var je=1<<31-_e(de);Ce.entanglements[1]|=je,de&=~je}Vd(O),(zi&6)===0&&(c1=Ge()+500,_0(0))}}break;case 31:case 13:Ce=Hc(O,2),Ce!==null&&zs(Ce,O,2),u1(),xE(O,2)}if(O=_E(w),O===null&&AE(u,A,w,F1,v),O===B)break;B=O}B!==null&&w.stopPropagation()}else AE(u,A,w,null,v)}}function _E(u){return u=Lu(u),EE(u)}var F1=null;function EE(u){if(F1=null,u=Zn(u),u!==null){var A=a(u);if(A===null)u=null;else{var v=A.tag;if(v===13){if(u=o(A),u!==null)return u;u=null}else if(v===31){if(u=s(A),u!==null)return u;u=null}else if(v===3){if(A.stateNode.current.memoizedState.isDehydrated)return A.tag===3?A.stateNode.containerInfo:null;u=null}else A!==u&&(u=null)}}return F1=u,null}function nM(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(He()){case We:return 2;case ct:return 8;case ut:case yt:return 32;case me:return 268435456;default:return 32}default:return 32}}var BE=!1,kA=null,bA=null,SA=null,R0=new Map,P0=new Map,wA=[],Vge="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 iM(u,A){switch(u){case"focusin":case"focusout":kA=null;break;case"dragenter":case"dragleave":bA=null;break;case"mouseover":case"mouseout":SA=null;break;case"pointerover":case"pointerout":R0.delete(A.pointerId);break;case"gotpointercapture":case"lostpointercapture":P0.delete(A.pointerId)}}function L0(u,A,v,w,B,O){return u===null||u.nativeEvent!==O?(u={blockedOn:A,domEventName:v,eventSystemFlags:w,nativeEvent:O,targetContainers:[B]},A!==null&&(A=ai(A),A!==null&&eM(A)),u):(u.eventSystemFlags|=w,A=u.targetContainers,B!==null&&A.indexOf(B)===-1&&A.push(B),u)}function Gge(u,A,v,w,B){switch(A){case"focusin":return kA=L0(kA,u,A,v,w,B),!0;case"dragenter":return bA=L0(bA,u,A,v,w,B),!0;case"mouseover":return SA=L0(SA,u,A,v,w,B),!0;case"pointerover":var O=B.pointerId;return R0.set(O,L0(R0.get(O)||null,u,A,v,w,B)),!0;case"gotpointercapture":return O=B.pointerId,P0.set(O,L0(P0.get(O)||null,u,A,v,w,B)),!0}return!1}function rM(u){var A=Zn(u.target);if(A!==null){var v=a(A);if(v!==null){if(A=v.tag,A===13){if(A=o(v),A!==null){u.blockedOn=A,Vt(u.priority,function(){tM(v)});return}}else if(A===31){if(A=s(v),A!==null){u.blockedOn=A,Vt(u.priority,function(){tM(v)});return}}else if(A===3&&v.stateNode.current.memoizedState.isDehydrated){u.blockedOn=v.tag===3?v.stateNode.containerInfo:null;return}}}u.blockedOn=null}function _1(u){if(u.blockedOn!==null)return!1;for(var A=u.targetContainers;0<A.length;){var v=_E(u.nativeEvent);if(v===null){v=u.nativeEvent;var w=new v.constructor(v.type,v);xc=w,v.target.dispatchEvent(w),xc=null}else return A=ai(v),A!==null&&eM(A),u.blockedOn=v,!1;A.shift()}return!0}function aM(u,A,v){_1(u)&&v.delete(A)}function qge(){BE=!1,kA!==null&&_1(kA)&&(kA=null),bA!==null&&_1(bA)&&(bA=null),SA!==null&&_1(SA)&&(SA=null),R0.forEach(aM),P0.forEach(aM)}function E1(u,A){u.blockedOn===A&&(u.blockedOn=null,BE||(BE=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,qge)))}var B1=null;function oM(u){B1!==u&&(B1=u,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){B1===u&&(B1=null);for(var A=0;A<u.length;A+=3){var v=u[A],w=u[A+1],B=u[A+2];if(typeof w!="function"){if(EE(w||v)===null)continue;break}var O=ai(v);O!==null&&(u.splice(A,3),A-=3,__(O,{pending:!0,data:B,method:v.method,action:w},w,B))}}))}function Wp(u){function A(je){return E1(je,u)}kA!==null&&E1(kA,u),bA!==null&&E1(bA,u),SA!==null&&E1(SA,u),R0.forEach(A),P0.forEach(A);for(var v=0;v<wA.length;v++){var w=wA[v];w.blockedOn===u&&(w.blockedOn=null)}for(;0<wA.length&&(v=wA[0],v.blockedOn===null);)rM(v),v.blockedOn===null&&wA.shift();if(v=(u.ownerDocument||u).$$reactFormReplay,v!=null)for(w=0;w<v.length;w+=3){var B=v[w],O=v[w+1],de=B[Ft]||null;if(typeof O=="function")de||oM(v);else if(de){var Ce=null;if(O&&O.hasAttribute("formAction")){if(B=O,de=O[Ft]||null)Ce=de.formAction;else if(EE(B)!==null)continue}else Ce=de.action;typeof Ce=="function"?v[w+1]=Ce:(v.splice(w,3),w-=3),oM(v)}}}function sM(){function u(O){O.canIntercept&&O.info==="react-transition"&&O.intercept({handler:function(){return new Promise(function(de){return B=de})},focusReset:"manual",scroll:"manual"})}function A(){B!==null&&(B(),B=null),w||setTimeout(v,20)}function v(){if(!w&&!navigation.transition){var O=navigation.currentEntry;O&&O.url!=null&&navigation.navigate(O.url,{state:O.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var w=!1,B=null;return navigation.addEventListener("navigate",u),navigation.addEventListener("navigatesuccess",A),navigation.addEventListener("navigateerror",A),setTimeout(v,100),function(){w=!0,navigation.removeEventListener("navigate",u),navigation.removeEventListener("navigatesuccess",A),navigation.removeEventListener("navigateerror",A),B!==null&&(B(),B=null)}}}function TE(u){this._internalRoot=u}T1.prototype.render=TE.prototype.render=function(u){var A=this._internalRoot;if(A===null)throw Error(i(409));var v=A.current,w=pl();Z8(v,w,u,A,null,null)},T1.prototype.unmount=TE.prototype.unmount=function(){var u=this._internalRoot;if(u!==null){this._internalRoot=null;var A=u.containerInfo;Z8(u.current,2,null,u,null,null),u1(),A[Pt]=null}};function T1(u){this._internalRoot=u}T1.prototype.unstable_scheduleHydration=function(u){if(u){var A=Bt();u={blockedOn:null,target:u,priority:A};for(var v=0;v<wA.length&&A!==0&&A<wA[v].priority;v++);wA.splice(v,0,u),v===0&&rM(u)}};var lM=e.version;if(lM!=="19.2.1")throw Error(i(527,lM,"19.2.1"));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 Kge={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:H,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var D1=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!D1.isDisabled&&D1.supportsFiber)try{xe=D1.inject(Kge),Be=D1}catch{}}return M0.createRoot=function(u,A){if(!r(u))throw Error(i(299));var v=!1,w="",B=hU,O=pU,de=gU;return A!=null&&(A.unstable_strictMode===!0&&(v=!0),A.identifierPrefix!==void 0&&(w=A.identifierPrefix),A.onUncaughtError!==void 0&&(B=A.onUncaughtError),A.onCaughtError!==void 0&&(O=A.onCaughtError),A.onRecoverableError!==void 0&&(de=A.onRecoverableError)),A=Y8(u,1,!1,null,null,v,w,null,B,O,de,sM),u[Pt]=A.current,fE(u),new TE(A)},M0.hydrateRoot=function(u,A,v){if(!r(u))throw Error(i(299));var w=!1,B="",O=hU,de=pU,Ce=gU,je=null;return v!=null&&(v.unstable_strictMode===!0&&(w=!0),v.identifierPrefix!==void 0&&(B=v.identifierPrefix),v.onUncaughtError!==void 0&&(O=v.onUncaughtError),v.onCaughtError!==void 0&&(de=v.onCaughtError),v.onRecoverableError!==void 0&&(Ce=v.onRecoverableError),v.formState!==void 0&&(je=v.formState)),A=Y8(u,1,!0,A,v??null,w,B,je,O,de,Ce,sM),A.context=X8(null),v=A.current,w=pl(),w=Ye(w),B=_n(w),B.callback=null,Yn(v,B,w),v=w,A.current.lanes=v,Ot(A,v),Vd(A),u[Pt]=A.current,fE(u),new T1(A)},M0.version="19.2.1",M0}var kM;function cve(){if(kM)return RE.exports;kM=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(),RE.exports=lve(),RE.exports}var dve=cve();const bM=globalThis||void 0||self;var FY=t=>{throw TypeError(t)},uve=(t,e,n)=>e.has(t)||FY("Cannot "+n),ME=(t,e,n)=>(uve(t,e,"read from private field"),n?n.call(t):e.get(t)),fve=(t,e,n)=>e.has(t)?FY("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),SM="popstate";function Ave(t={}){function e(i,r){let{pathname:a,search:o,hash:s}=i.location;return nk("",{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:ku(r)}return hve(e,n,null,t)}function si(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function Zr(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function mve(){return Math.random().toString(36).substring(2,10)}function wM(t,e){return{usr:t.state,key:t.key,idx:e}}function nk(t,e,n=null,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?lm(e):e,state:n,key:e&&e.key||i||mve()}}function ku({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 lm(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 hve(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:g.location,delta:k})}function h(b,k){s="PUSH";let S=nk(g.location,b,k);c=d()+1;let C=wM(S,c),x=g.createHref(S);try{o.pushState(C,"",x)}catch(F){if(F instanceof DOMException&&F.name==="DataCloneError")throw F;r.location.assign(x)}a&&l&&l({action:s,location:g.location,delta:1})}function m(b,k){s="REPLACE";let S=nk(g.location,b,k);c=d();let C=wM(S,c),x=g.createHref(S);o.replaceState(C,"",x),a&&l&&l({action:s,location:g.location,delta:0})}function p(b){return _Y(b)}let g={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(SM,f),l=b,()=>{r.removeEventListener(SM,f),l=null}},createHref(b){return e(r,b)},createURL:p,encodeLocation(b){let k=p(b);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:h,replace:m,go(b){return o.go(b)}};return g}function _Y(t,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),si(n,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:ku(t);return i=i.replace(/ $/,"%20"),!e&&i.startsWith("//")&&(i=n+i),new URL(i,n)}var wy,NM=class{constructor(t){if(fve(this,wy,new Map),t)for(let[e,n]of t)this.set(e,n)}get(t){if(ME(this,wy).has(t))return ME(this,wy).get(t);if(t.defaultValue!==void 0)return t.defaultValue;throw new Error("No value found for context")}set(t,e){ME(this,wy).set(t,e)}};wy=new WeakMap;var pve=new Set(["lazy","caseSensitive","path","id","index","children"]);function gve(t){return pve.has(t)}var vve=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function yve(t){return vve.has(t)}function kve(t){return t.index===!0}function ik(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(si(a.index!==!0||!a.children,"Cannot specify children on an index route"),si(r||!i[l],`Found a route id collision on id "${l}". Route id's must be globally unique within Data Router usages`),kve(a)){let c={...a,id:l};return i[l]=CM(c,e(c)),c}else{let c={...a,id:l,children:void 0};return i[l]=CM(c,e(c)),a.children&&(c.children=ik(a.children,e,s,i,r)),c}})}function CM(t,e){return Object.assign(t,{...e,...typeof e.lazy=="object"&&e.lazy!=null?{lazy:{...t.lazy,...e.lazy}}:{}})}function LA(t,e,n="/"){return Ny(t,e,n,!1)}function Ny(t,e,n,i){let r=typeof e=="string"?lm(e):e,a=mc(r.pathname||"/",n);if(a==null)return null;let o=BY(t);bve(o);let s=null;for(let l=0;s==null&&l<o.length;++l){let c=Dve(a);s=Bve(o[l],c,i)}return s}function EY(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 BY(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;si(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=pu([i,d.relativePath]),h=n.concat(d);o.children&&o.children.length>0&&(si(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),BY(o.children,e,h,f,l)),!(o.path==null&&!o.index)&&e.push({path:f,score:_ve(f,o.index),routesMeta:h})};return t.forEach((o,s)=>{if(o.path===""||!o.path?.includes("?"))a(o,s);else for(let l of TY(o.path))a(o,s,!0,l)}),e}function TY(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=TY(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 bve(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:Eve(e.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}var Sve=/^:[\w-]+$/,wve=3,Nve=2,Cve=1,xve=10,Fve=-2,xM=t=>t==="*";function _ve(t,e){let n=t.split("/"),i=n.length;return n.some(xM)&&(i+=Fve),e&&(i+=Nve),n.filter(r=>!xM(r)).reduce((r,a)=>r+(Sve.test(a)?wve:a===""?Cve:xve),i)}function Eve(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 Bve(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=sN({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},d),h=l.route;if(!f&&c&&n&&!i[i.length-1].route.index&&(f=sN({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!f)return null;Object.assign(r,f.params),o.push({params:r,pathname:pu([a,f.pathname]),pathnameBase:Pve(pu([a,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(a=pu([a,f.pathnameBase]))}return o}function sN(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,i]=Tve(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 p=s[h]||"";o=a.slice(0,a.length-p.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 Tve(t,e=!1,n=!0){Zr(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 Dve(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Zr(!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 mc(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 Ive({basename:t,pathname:e}){return e==="/"?t:pu([t,e])}var Ove=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Xx=t=>Ove.test(t);function Rve(t,e="/"){let{pathname:n,search:i="",hash:r=""}=typeof t=="string"?lm(t):t,a;if(n)if(Xx(n))a=n;else{if(n.includes("//")){let o=n;n=n.replace(/\/\/+/g,"/"),Zr(!1,`Pathnames cannot have embedded double slashes - normalizing ${o} -> ${n}`)}n.startsWith("/")?a=FM(n.substring(1),"/"):a=FM(n,e)}else a=e;return{pathname:a,search:Lve(i),hash:Uve(r)}}function FM(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 $E(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 DY(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Zx(t){let e=DY(t);return e.map((n,i)=>i===e.length-1?n.pathname:n.pathnameBase)}function Jx(t,e,n,i=!1){let r;typeof t=="string"?r=lm(t):(r={...t},si(!r.pathname||!r.pathname.includes("?"),$E("?","pathname","search",r)),si(!r.pathname||!r.pathname.includes("#"),$E("#","pathname","hash",r)),si(!r.search||!r.search.includes("#"),$E("#","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=Rve(r,s),c=o&&o!=="/"&&o.endsWith("/"),d=(a||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}var pu=t=>t.join("/").replace(/\/\/+/g,"/"),Pve=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Lve=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,Uve=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,IY=(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})},e2=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 pv(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function Pk(t){return t.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var HA=Symbol("Uninstrumented");function Mve(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=Mg(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=Mg(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[HA]??a,s=Mg(n[r],o,(...l)=>_M(l[0]));s&&(s[HA]=o,i[r]=s)}}),e.middleware&&e.middleware.length>0&&n.middleware.length>0&&(i.middleware=e.middleware.map(r=>{let a=r[HA]??r,o=Mg(n.middleware,a,(...s)=>_M(s[0]));return o?(o[HA]=a,o):r})),i}function $ve(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[HA]??t.navigate,r=Mg(n.navigate,i,(...a)=>{let[o,s]=a;return{to:typeof o=="number"||typeof o=="string"?o:o?ku(o):".",...EM(t,s??{})}});r&&(r[HA]=i,t.navigate=r)}if(n.fetch.length>0){let i=t.fetch[HA]??t.fetch,r=Mg(n.fetch,i,(...a)=>{let[o,,s,l]=a;return{href:s??".",fetcherKey:o,...EM(t,l??{})}});r&&(r[HA]=i,t.fetch=r)}return t}function Mg(t,e,n){return t.length===0?null:async(...i)=>{let r=await OY(t,n(...i),()=>e(...i),t.length-1);if(r.type==="error")throw r.value;return r.value}}async function OY(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=OY(t,e,n,i-1),a=await o,si(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 _M(t){let{request:e,context:n,params:i,unstable_pattern:r}=t;return{request:jve(e),params:{...i},unstable_pattern:r,context:Qve(n)}}function EM(t,e){return{currentUrl:ku(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 jve(t){return{method:t.method,url:t.url,headers:{get:(...e)=>t.headers.get(...e)}}}function Qve(t){if(zve(t)){let e={...t};return Object.freeze(e),e}else return{get:e=>t.get(e)}}var Hve=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function zve(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")===Hve}var RY=["POST","PUT","PATCH","DELETE"],Vve=new Set(RY),Gve=["GET",...RY],qve=new Set(Gve),Kve=new Set([301,302,303,307,308]),Wve=new Set([307,308]),jE={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Yve={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},$0={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Xve=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),PY="remix-router-transitions",LY=Symbol("ResetLoaderData");function Zve(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";si(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let i=t.hydrationRouteProperties||[],r=t.mapRouteProperties||Xve,a=r;if(t.unstable_instrumentations){let Re=t.unstable_instrumentations;a=ze=>({...r(ze),...Mve(Re.map(Ye=>Ye.route).filter(Boolean),ze)})}let o={},s=ik(t.routes,a,void 0,o),l,c=t.basename||"/";c.startsWith("/")||(c=`/${c}`);let d=t.dataStrategy||i0e,f={...t.future},h=null,m=new Set,p=null,g=null,b=null,k=t.hydrationData!=null,S=LA(s,t.history.location,c),C=!1,x=null,F;if(S==null&&!t.patchRoutesOnNavigation){let Re=ac(404,{pathname:t.history.location.pathname}),{matches:ze,route:Ye}=I1(s);F=!0,S=ze,x={[Ye.id]:Re}}else if(S&&!t.hydrationData&&Zt(S,s,t.history.location.pathname).active&&(S=null),S)if(S.some(Re=>Re.route.lazy))F=!1;else if(!S.some(Re=>WO(Re.route)))F=!0;else{let Re=t.hydrationData?t.hydrationData.loaderData:null,ze=t.hydrationData?t.hydrationData.errors:null;if(ze){let Ye=S.findIndex(ht=>ze[ht.route.id]!==void 0);F=S.slice(0,Ye+1).every(ht=>!T4(ht.route,Re,ze))}else F=S.every(Ye=>!T4(Ye.route,Re,ze))}else{F=!1,S=[];let Re=Zt(null,s,t.history.location.pathname);Re.active&&Re.matches&&(C=!0,S=Re.matches)}let T,E={historyAction:t.history.action,location:t.history.location,matches:S,initialized:F,navigation:jE,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||x,fetchers:new Map,blockers:new Map},I="POP",R=null,V=!1,U,P=!1,Z=new Map,q=null,ae=!1,H=!1,te=new Set,Y=new Map,ue=0,we=-1,ie=new Map,L=new Set,j=new Map,$=new Map,W=new Set,J=new Map,K,fe=null;function ge(){if(h=t.history.listen(({action:Re,location:ze,delta:Ye})=>{if(K){K(),K=void 0;return}Zr(J.size===0||Ye!=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 ht=dt({currentLocation:E.location,nextLocation:ze,historyAction:Re});if(ht&&Ye!=null){let Bt=new Promise(Vt=>{K=Vt});t.history.go(Ye*-1),ot(ht,{state:"blocked",location:ze,proceed(){ot(ht,{state:"proceeding",proceed:void 0,reset:void 0,location:ze}),Bt.then(()=>t.history.go(Ye))},reset(){let Vt=new Map(E.blockers);Vt.set(ht,$0),le({blockers:Vt})}}),R?.resolve(),R=null;return}return Ae(Re,ze)}),n){y0e(e,Z);let Re=()=>k0e(e,Z);e.addEventListener("pagehide",Re),q=()=>e.removeEventListener("pagehide",Re)}return E.initialized||Ae("POP",E.location,{initialHydration:!0}),T}function Se(){h&&h(),q&&q(),m.clear(),U&&U.abort(),E.fetchers.forEach((Re,ze)=>ee(ze)),E.blockers.forEach((Re,ze)=>Je(ze))}function oe(Re){return m.add(Re),()=>m.delete(Re)}function le(Re,ze={}){Re.matches&&(Re.matches=Re.matches.map(Bt=>{let Vt=o[Bt.route.id],zt=Bt.route;return zt.element!==Vt.element||zt.errorElement!==Vt.errorElement||zt.hydrateFallbackElement!==Vt.hydrateFallbackElement?{...Bt,route:Vt}:Bt})),E={...E,...Re};let Ye=[],ht=[];E.fetchers.forEach((Bt,Vt)=>{Bt.state==="idle"&&(W.has(Vt)?Ye.push(Vt):ht.push(Vt))}),W.forEach(Bt=>{!E.fetchers.has(Bt)&&!Y.has(Bt)&&Ye.push(Bt)}),[...m].forEach(Bt=>Bt(E,{deletedFetchers:Ye,newErrors:Re.errors??null,viewTransitionOpts:ze.viewTransitionOpts,flushSync:ze.flushSync===!0})),Ye.forEach(Bt=>ee(Bt)),ht.forEach(Bt=>E.fetchers.delete(Bt))}function Ee(Re,ze,{flushSync:Ye}={}){let ht=E.actionData!=null&&E.navigation.formMethod!=null&&gs(E.navigation.formMethod)&&E.navigation.state==="loading"&&Re.state?._isRedirect!==!0,Bt;ze.actionData?Object.keys(ze.actionData).length>0?Bt=ze.actionData:Bt=null:ht?Bt=E.actionData:Bt=null;let Vt=ze.loaderData?MM(E.loaderData,ze.loaderData,ze.matches||[],ze.errors):E.loaderData,zt=E.blockers;zt.size>0&&(zt=new Map(zt),zt.forEach((Mt,qt)=>zt.set(qt,$0)));let lt=ae?!1:yn(Re,ze.matches||E.matches),Ft=V===!0||E.navigation.formMethod!=null&&gs(E.navigation.formMethod)&&Re.state?._isRedirect!==!0;l&&(s=l,l=void 0),ae||I==="POP"||(I==="PUSH"?t.history.push(Re,Re.state):I==="REPLACE"&&t.history.replace(Re,Re.state));let Pt;if(I==="POP"){let Mt=Z.get(E.location.pathname);Mt&&Mt.has(Re.pathname)?Pt={currentLocation:E.location,nextLocation:Re}:Z.has(Re.pathname)&&(Pt={currentLocation:Re,nextLocation:E.location})}else if(P){let Mt=Z.get(E.location.pathname);Mt?Mt.add(Re.pathname):(Mt=new Set([Re.pathname]),Z.set(E.location.pathname,Mt)),Pt={currentLocation:E.location,nextLocation:Re}}le({...ze,actionData:Bt,loaderData:Vt,historyAction:I,location:Re,initialized:!0,navigation:jE,revalidation:"idle",restoreScrollPosition:lt,preventScrollReset:Ft,blockers:zt},{viewTransitionOpts:Pt,flushSync:Ye===!0}),I="POP",V=!1,P=!1,ae=!1,H=!1,R?.resolve(),R=null,fe?.resolve(),fe=null}async function Le(Re,ze){if(R?.resolve(),R=null,typeof Re=="number"){R||(R=HM());let Un=R.promise;return t.history.go(Re),Un}let Ye=B4(E.location,E.matches,c,Re,ze?.fromRouteId,ze?.relative),{path:ht,submission:Bt,error:Vt}=BM(!1,Ye,ze),zt=E.location,lt=nk(E.location,ht,ze&&ze.state);lt={...lt,...t.history.encodeLocation(lt)};let Ft=ze&&ze.replace!=null?ze.replace:void 0,Pt="PUSH";Ft===!0?Pt="REPLACE":Ft===!1||Bt!=null&&gs(Bt.formMethod)&&Bt.formAction===E.location.pathname+E.location.search&&(Pt="REPLACE");let Mt=ze&&"preventScrollReset"in ze?ze.preventScrollReset===!0:void 0,qt=(ze&&ze.flushSync)===!0,Ln=dt({currentLocation:zt,nextLocation:lt,historyAction:Pt});if(Ln){ot(Ln,{state:"blocked",location:lt,proceed(){ot(Ln,{state:"proceeding",proceed:void 0,reset:void 0,location:lt}),Le(Re,ze)},reset(){let Un=new Map(E.blockers);Un.set(Ln,$0),le({blockers:Un})}});return}await Ae(Pt,lt,{submission:Bt,pendingError:Vt,preventScrollReset:Mt,replace:ze&&ze.replace,enableViewTransition:ze&&ze.viewTransition,flushSync:qt})}function ve(){fe||(fe=HM()),ct(),le({revalidation:"loading"});let Re=fe.promise;return E.navigation.state==="submitting"?Re:E.navigation.state==="idle"?(Ae(E.historyAction,E.location,{startUninterruptedRevalidation:!0}),Re):(Ae(I||E.historyAction,E.navigation.location,{overrideNavigation:E.navigation,enableViewTransition:P===!0}),Re)}async function Ae(Re,ze,Ye){U&&U.abort(),U=null,I=Re,ae=(Ye&&Ye.startUninterruptedRevalidation)===!0,An(E.location,E.matches),V=(Ye&&Ye.preventScrollReset)===!0,P=(Ye&&Ye.enableViewTransition)===!0;let ht=l||s,Bt=Ye&&Ye.overrideNavigation,Vt=Ye?.initialHydration&&E.matches&&E.matches.length>0&&!C?E.matches:LA(ht,ze,c),zt=(Ye&&Ye.flushSync)===!0;if(Vt&&E.initialized&&!H&&u0e(E.location,ze)&&!(Ye&&Ye.submission&&gs(Ye.submission.formMethod))){Ee(ze,{matches:Vt},{flushSync:zt});return}let lt=Zt(Vt,ht,ze.pathname);if(lt.active&<.matches&&(Vt=lt.matches),!Vt){let{error:ji,notFoundMatches:Zn,route:ai}=Tt(ze.pathname);Ee(ze,{matches:Zn,loaderData:{},errors:{[ai.id]:ji}},{flushSync:zt});return}U=new AbortController;let Ft=Ng(t.history,ze,U.signal,Ye&&Ye.submission),Pt=t.getContext?await t.getContext():new NM,Mt;if(Ye&&Ye.pendingError)Mt=[UA(Vt).route.id,{type:"error",error:Ye.pendingError}];else if(Ye&&Ye.submission&&gs(Ye.submission.formMethod)){let ji=await Q(Ft,ze,Ye.submission,Vt,Pt,lt.active,Ye&&Ye.initialHydration===!0,{replace:Ye.replace,flushSync:zt});if(ji.shortCircuited)return;if(ji.pendingActionResult){let[Zn,ai]=ji.pendingActionResult;if(bl(ai)&&pv(ai.error)&&ai.error.status===404){U=null,Ee(ze,{matches:ji.matches,loaderData:{},errors:{[Zn]:ai.error}});return}}Vt=ji.matches||Vt,Mt=ji.pendingActionResult,Bt=QE(ze,Ye.submission),zt=!1,lt.active=!1,Ft=Ng(t.history,Ft.url,Ft.signal)}let{shortCircuited:qt,matches:Ln,loaderData:Un,errors:ci}=await X(Ft,ze,Vt,Pt,lt.active,Bt,Ye&&Ye.submission,Ye&&Ye.fetcherSubmission,Ye&&Ye.replace,Ye&&Ye.initialHydration===!0,zt,Mt);qt||(U=null,Ee(ze,{matches:Ln||Vt,...$M(Mt),loaderData:Un,errors:ci}))}async function Q(Re,ze,Ye,ht,Bt,Vt,zt,lt={}){ct();let Ft=g0e(ze,Ye);if(le({navigation:Ft},{flushSync:lt.flushSync===!0}),Vt){let qt=await Pn(ht,ze.pathname,Re.signal);if(qt.type==="aborted")return{shortCircuited:!0};if(qt.type==="error"){if(qt.partialMatches.length===0){let{matches:Un,route:ci}=I1(s);return{matches:Un,pendingActionResult:[ci.id,{type:"error",error:qt.error}]}}let Ln=UA(qt.partialMatches).route.id;return{matches:qt.partialMatches,pendingActionResult:[Ln,{type:"error",error:qt.error}]}}else if(qt.matches)ht=qt.matches;else{let{notFoundMatches:Ln,error:Un,route:ci}=Tt(ze.pathname);return{matches:Ln,pendingActionResult:[ci.id,{type:"error",error:Un}]}}}let Pt,Mt=Cw(ht,ze);if(!Mt.route.action&&!Mt.route.lazy)Pt={type:"error",error:ac(405,{method:Re.method,pathname:ze.pathname,routeId:Mt.route.id})};else{let qt=Wg(a,o,Re,ht,Mt,zt?[]:i,Bt),Ln=await He(Re,qt,Bt,null);if(Pt=Ln[Mt.route.id],!Pt){for(let Un of ht)if(Ln[Un.route.id]){Pt=Ln[Un.route.id];break}}if(Re.signal.aborted)return{shortCircuited:!0}}if(sh(Pt)){let qt;return lt&<.replace!=null?qt=lt.replace:qt=PM(Pt.response.headers.get("Location"),new URL(Re.url),c)===E.location.pathname+E.location.search,await Ge(Re,Pt,!0,{submission:Ye,replace:qt}),{shortCircuited:!0}}if(bl(Pt)){let qt=UA(ht,Mt.route.id);return(lt&<.replace)!==!0&&(I="PUSH"),{matches:ht,pendingActionResult:[qt.route.id,Pt,Mt.route.id]}}return{matches:ht,pendingActionResult:[Mt.route.id,Pt]}}async function X(Re,ze,Ye,ht,Bt,Vt,zt,lt,Ft,Pt,Mt,qt){let Ln=Vt||QE(ze,zt),Un=zt||lt||QM(Ln),ci=!ae&&!Pt;if(Bt){if(ci){let zr=ne(qt);le({navigation:Ln,...zr!==void 0?{actionData:zr}:{}},{flushSync:Mt})}let ei=await Pn(Ye,ze.pathname,Re.signal);if(ei.type==="aborted")return{shortCircuited:!0};if(ei.type==="error"){if(ei.partialMatches.length===0){let{matches:ea,route:Ha}=I1(s);return{matches:ea,loaderData:{},errors:{[Ha.id]:ei.error}}}let zr=UA(ei.partialMatches).route.id;return{matches:ei.partialMatches,loaderData:{},errors:{[zr]:ei.error}}}else if(ei.matches)Ye=ei.matches;else{let{error:zr,notFoundMatches:ea,route:Ha}=Tt(ze.pathname);return{matches:ea,loaderData:{},errors:{[Ha.id]:zr}}}}let ji=l||s,{dsMatches:Zn,revalidatingFetchers:ai}=TM(Re,ht,a,o,t.history,E,Ye,Un,ze,Pt?[]:i,Pt===!0,H,te,W,j,L,ji,c,t.patchRoutesOnNavigation!=null,qt);if(we=++ue,!t.dataStrategy&&!Zn.some(ei=>ei.shouldLoad)&&!Zn.some(ei=>ei.route.middleware&&ei.route.middleware.length>0)&&ai.length===0){let ei=_e();return Ee(ze,{matches:Ye,loaderData:{},errors:qt&&bl(qt[1])?{[qt[0]]:qt[1].error}:null,...$M(qt),...ei?{fetchers:new Map(E.fetchers)}:{}},{flushSync:Mt}),{shortCircuited:!0}}if(ci){let ei={};if(!Bt){ei.navigation=Ln;let zr=ne(qt);zr!==void 0&&(ei.actionData=zr)}ai.length>0&&(ei.fetchers=ce(ai)),le(ei,{flushSync:Mt})}ai.forEach(ei=>{Be(ei.key),ei.controller&&Y.set(ei.key,ei.controller)});let bo=()=>ai.forEach(ei=>Be(ei.key));U&&U.signal.addEventListener("abort",bo);let{loaderResults:oo,fetcherResults:Ui}=await We(Zn,ai,Re,ht);if(Re.signal.aborted)return{shortCircuited:!0};U&&U.signal.removeEventListener("abort",bo),ai.forEach(ei=>Y.delete(ei.key));let so=O1(oo);if(so)return await Ge(Re,so.result,!0,{replace:Ft}),{shortCircuited:!0};if(so=O1(Ui),so)return L.add(so.key),await Ge(Re,so.result,!0,{replace:Ft}),{shortCircuited:!0};let{loaderData:$a,errors:ja}=UM(E,Ye,oo,qt,ai,Ui);Pt&&E.errors&&(ja={...E.errors,...ja});let Qa=_e(),Pl=Pe(we),Ll=Qa||Pl||ai.length>0;return{matches:Ye,loaderData:$a,errors:ja,...Ll?{fetchers:new Map(E.fetchers)}:{}}}function ne(Re){if(Re&&!bl(Re[1]))return{[Re[0]]:Re[1].data};if(E.actionData)return Object.keys(E.actionData).length===0?null:E.actionData}function ce(Re){return Re.forEach(ze=>{let Ye=E.fetchers.get(ze.key),ht=j0(void 0,Ye?Ye.data:void 0);E.fetchers.set(ze.key,ht)}),new Map(E.fetchers)}async function ke(Re,ze,Ye,ht){Be(Re);let Bt=(ht&&ht.flushSync)===!0,Vt=l||s,zt=B4(E.location,E.matches,c,Ye,ze,ht?.relative),lt=LA(Vt,zt,c),Ft=Zt(lt,Vt,zt);if(Ft.active&&Ft.matches&&(lt=Ft.matches),!lt){yt(Re,ze,ac(404,{pathname:zt}),{flushSync:Bt});return}let{path:Pt,submission:Mt,error:qt}=BM(!0,zt,ht);if(qt){yt(Re,ze,qt,{flushSync:Bt});return}let Ln=t.getContext?await t.getContext():new NM,Un=(ht&&ht.preventScrollReset)===!0;if(Mt&&gs(Mt.formMethod)){await Ne(Re,ze,Pt,lt,Ln,Ft.active,Bt,Un,Mt);return}j.set(Re,{routeId:ze,path:Pt}),await $e(Re,ze,Pt,lt,Ln,Ft.active,Bt,Un,Mt)}async function Ne(Re,ze,Ye,ht,Bt,Vt,zt,lt,Ft){ct(),j.delete(Re);let Pt=E.fetchers.get(Re);ut(Re,v0e(Ft,Pt),{flushSync:zt});let Mt=new AbortController,qt=Ng(t.history,Ye,Mt.signal,Ft);if(Vt){let ki=await Pn(ht,new URL(qt.url).pathname,qt.signal,Re);if(ki.type==="aborted")return;if(ki.type==="error"){yt(Re,ze,ki.error,{flushSync:zt});return}else if(ki.matches)ht=ki.matches;else{yt(Re,ze,ac(404,{pathname:Ye}),{flushSync:zt});return}}let Ln=Cw(ht,Ye);if(!Ln.route.action&&!Ln.route.lazy){let ki=ac(405,{method:Ft.formMethod,pathname:Ye,routeId:ze});yt(Re,ze,ki,{flushSync:zt});return}Y.set(Re,Mt);let Un=ue,ci=Wg(a,o,qt,ht,Ln,i,Bt),ji=await He(qt,ci,Bt,Re),Zn=ji[Ln.route.id];if(!Zn){for(let ki of ci)if(ji[ki.route.id]){Zn=ji[ki.route.id];break}}if(qt.signal.aborted){Y.get(Re)===Mt&&Y.delete(Re);return}if(W.has(Re)){if(sh(Zn)||bl(Zn)){ut(Re,vf(void 0));return}}else{if(sh(Zn))if(Y.delete(Re),we>Un){ut(Re,vf(void 0));return}else return L.add(Re),ut(Re,j0(Ft)),Ge(qt,Zn,!1,{fetcherSubmission:Ft,preventScrollReset:lt});if(bl(Zn)){yt(Re,ze,Zn.error);return}}let ai=E.navigation.location||E.location,bo=Ng(t.history,ai,Mt.signal),oo=l||s,Ui=E.navigation.state!=="idle"?LA(oo,E.navigation.location,c):E.matches;si(Ui,"Didn't find any matches after fetcher action");let so=++ue;ie.set(Re,so);let $a=j0(Ft,Zn.data);E.fetchers.set(Re,$a);let{dsMatches:ja,revalidatingFetchers:Qa}=TM(bo,Bt,a,o,t.history,E,Ui,Ft,ai,i,!1,H,te,W,j,L,oo,c,t.patchRoutesOnNavigation!=null,[Ln.route.id,Zn]);Qa.filter(ki=>ki.key!==Re).forEach(ki=>{let di=ki.key,Fd=E.fetchers.get(di),Fs=j0(void 0,Fd?Fd.data:void 0);E.fetchers.set(di,Fs),Be(di),ki.controller&&Y.set(di,ki.controller)}),le({fetchers:new Map(E.fetchers)});let Pl=()=>Qa.forEach(ki=>Be(ki.key));Mt.signal.addEventListener("abort",Pl);let{loaderResults:Ll,fetcherResults:ei}=await We(ja,Qa,bo,Bt);if(Mt.signal.aborted)return;if(Mt.signal.removeEventListener("abort",Pl),ie.delete(Re),Y.delete(Re),Qa.forEach(ki=>Y.delete(ki.key)),E.fetchers.has(Re)){let ki=vf(Zn.data);E.fetchers.set(Re,ki)}let zr=O1(Ll);if(zr)return Ge(bo,zr.result,!1,{preventScrollReset:lt});if(zr=O1(ei),zr)return L.add(zr.key),Ge(bo,zr.result,!1,{preventScrollReset:lt});let{loaderData:ea,errors:Ha}=UM(E,Ui,Ll,void 0,Qa,ei);Pe(so),E.navigation.state==="loading"&&so>we?(si(I,"Expected pending action"),U&&U.abort(),Ee(E.navigation.location,{matches:Ui,loaderData:ea,errors:Ha,fetchers:new Map(E.fetchers)})):(le({errors:Ha,loaderData:MM(E.loaderData,ea,Ui,Ha),fetchers:new Map(E.fetchers)}),H=!1)}async function $e(Re,ze,Ye,ht,Bt,Vt,zt,lt,Ft){let Pt=E.fetchers.get(Re);ut(Re,j0(Ft,Pt?Pt.data:void 0),{flushSync:zt});let Mt=new AbortController,qt=Ng(t.history,Ye,Mt.signal);if(Vt){let ai=await Pn(ht,new URL(qt.url).pathname,qt.signal,Re);if(ai.type==="aborted")return;if(ai.type==="error"){yt(Re,ze,ai.error,{flushSync:zt});return}else if(ai.matches)ht=ai.matches;else{yt(Re,ze,ac(404,{pathname:Ye}),{flushSync:zt});return}}let Ln=Cw(ht,Ye);Y.set(Re,Mt);let Un=ue,ci=Wg(a,o,qt,ht,Ln,i,Bt),Zn=(await He(qt,ci,Bt,Re))[Ln.route.id];if(Y.get(Re)===Mt&&Y.delete(Re),!qt.signal.aborted){if(W.has(Re)){ut(Re,vf(void 0));return}if(sh(Zn))if(we>Un){ut(Re,vf(void 0));return}else{L.add(Re),await Ge(qt,Zn,!1,{preventScrollReset:lt});return}if(bl(Zn)){yt(Re,ze,Zn.error);return}ut(Re,vf(Zn.data))}}async function Ge(Re,ze,Ye,{submission:ht,fetcherSubmission:Bt,preventScrollReset:Vt,replace:zt}={}){Ye||(R?.resolve(),R=null),ze.response.headers.has("X-Remix-Revalidate")&&(H=!0);let lt=ze.response.headers.get("Location");si(lt,"Expected a Location header on the redirect Response"),lt=PM(lt,new URL(Re.url),c);let Ft=nk(E.location,lt,{_isRedirect:!0});if(n){let ci=!1;if(ze.response.headers.has("X-Remix-Reload-Document"))ci=!0;else if(Xx(lt)){const ji=_Y(lt,!0);ci=ji.origin!==e.location.origin||mc(ji.pathname,c)==null}if(ci){zt?e.location.replace(lt):e.location.assign(lt);return}}U=null;let Pt=zt===!0||ze.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Mt,formAction:qt,formEncType:Ln}=E.navigation;!ht&&!Bt&&Mt&&qt&&Ln&&(ht=QM(E.navigation));let Un=ht||Bt;if(Wve.has(ze.response.status)&&Un&&gs(Un.formMethod))await Ae(Pt,Ft,{submission:{...Un,formAction:lt},preventScrollReset:Vt||V,enableViewTransition:Ye?P:void 0});else{let ci=QE(Ft,ht);await Ae(Pt,Ft,{overrideNavigation:ci,fetcherSubmission:Bt,preventScrollReset:Vt||V,enableViewTransition:Ye?P:void 0})}}async function He(Re,ze,Ye,ht){let Bt,Vt={};try{Bt=await a0e(d,Re,ze,ht,Ye,!1)}catch(zt){return ze.filter(lt=>lt.shouldLoad).forEach(lt=>{Vt[lt.route.id]={type:"error",error:zt}}),Vt}if(Re.signal.aborted)return Vt;for(let[zt,lt]of Object.entries(Bt))if(h0e(lt)){let Ft=lt.result;Vt[zt]={type:"redirect",response:c0e(Ft,Re,zt,ze,c)}}else Vt[zt]=await l0e(lt);return Vt}async function We(Re,ze,Ye,ht){let Bt=He(Ye,Re,ht,null),Vt=Promise.all(ze.map(async Ft=>{if(Ft.matches&&Ft.match&&Ft.request&&Ft.controller){let Mt=(await He(Ft.request,Ft.matches,ht,Ft.key))[Ft.match.route.id];return{[Ft.key]:Mt}}else return Promise.resolve({[Ft.key]:{type:"error",error:ac(404,{pathname:Ft.path})}})})),zt=await Bt,lt=(await Vt).reduce((Ft,Pt)=>Object.assign(Ft,Pt),{});return{loaderResults:zt,fetcherResults:lt}}function ct(){H=!0,j.forEach((Re,ze)=>{Y.has(ze)&&te.add(ze),Be(ze)})}function ut(Re,ze,Ye={}){E.fetchers.set(Re,ze),le({fetchers:new Map(E.fetchers)},{flushSync:(Ye&&Ye.flushSync)===!0})}function yt(Re,ze,Ye,ht={}){let Bt=UA(E.matches,ze);ee(Re),le({errors:{[Bt.route.id]:Ye},fetchers:new Map(E.fetchers)},{flushSync:(ht&&ht.flushSync)===!0})}function me(Re){return $.set(Re,($.get(Re)||0)+1),W.has(Re)&&W.delete(Re),E.fetchers.get(Re)||Yve}function z(Re,ze){Be(Re,ze?.reason),ut(Re,vf(null))}function ee(Re){let ze=E.fetchers.get(Re);Y.has(Re)&&!(ze&&ze.state==="loading"&&ie.has(Re))&&Be(Re),j.delete(Re),ie.delete(Re),L.delete(Re),W.delete(Re),te.delete(Re),E.fetchers.delete(Re)}function xe(Re){let ze=($.get(Re)||0)-1;ze<=0?($.delete(Re),W.add(Re)):$.set(Re,ze),le({fetchers:new Map(E.fetchers)})}function Be(Re,ze){let Ye=Y.get(Re);Ye&&(Ye.abort(ze),Y.delete(Re))}function Ue(Re){for(let ze of Re){let Ye=me(ze),ht=vf(Ye.data);E.fetchers.set(ze,ht)}}function _e(){let Re=[],ze=!1;for(let Ye of L){let ht=E.fetchers.get(Ye);si(ht,`Expected fetcher: ${Ye}`),ht.state==="loading"&&(L.delete(Ye),Re.push(Ye),ze=!0)}return Ue(Re),ze}function Pe(Re){let ze=[];for(let[Ye,ht]of ie)if(ht<Re){let Bt=E.fetchers.get(Ye);si(Bt,`Expected fetcher: ${Ye}`),Bt.state==="loading"&&(Be(Ye),ie.delete(Ye),ze.push(Ye))}return Ue(ze),ze.length>0}function xt(Re,ze){let Ye=E.blockers.get(Re)||$0;return J.get(Re)!==ze&&J.set(Re,ze),Ye}function Je(Re){E.blockers.delete(Re),J.delete(Re)}function ot(Re,ze){let Ye=E.blockers.get(Re)||$0;si(Ye.state==="unblocked"&&ze.state==="blocked"||Ye.state==="blocked"&&ze.state==="blocked"||Ye.state==="blocked"&&ze.state==="proceeding"||Ye.state==="blocked"&&ze.state==="unblocked"||Ye.state==="proceeding"&&ze.state==="unblocked",`Invalid blocker state transition: ${Ye.state} -> ${ze.state}`);let ht=new Map(E.blockers);ht.set(Re,ze),le({blockers:ht})}function dt({currentLocation:Re,nextLocation:ze,historyAction:Ye}){if(J.size===0)return;J.size>1&&Zr(!1,"A router only supports one blocker at a time");let ht=Array.from(J.entries()),[Bt,Vt]=ht[ht.length-1],zt=E.blockers.get(Bt);if(!(zt&&zt.state==="proceeding")&&Vt({currentLocation:Re,nextLocation:ze,historyAction:Ye}))return Bt}function Tt(Re){let ze=ac(404,{pathname:Re}),Ye=l||s,{matches:ht,route:Bt}=I1(Ye);return{notFoundMatches:ht,route:Bt,error:ze}}function It(Re,ze,Ye){if(p=Re,b=ze,g=Ye||null,!k&&E.navigation===jE){k=!0;let ht=yn(E.location,E.matches);ht!=null&&le({restoreScrollPosition:ht})}return()=>{p=null,b=null,g=null}}function wt(Re,ze){return g&&g(Re,ze.map(ht=>EY(ht,E.loaderData)))||Re.key}function An(Re,ze){if(p&&b){let Ye=wt(Re,ze);p[Ye]=b()}}function yn(Re,ze){if(p){let Ye=wt(Re,ze),ht=p[Ye];if(typeof ht=="number")return ht}return null}function Zt(Re,ze,Ye){if(t.patchRoutesOnNavigation)if(Re){if(Object.keys(Re[0].params).length>0)return{active:!0,matches:Ny(ze,Ye,c,!0)}}else return{active:!0,matches:Ny(ze,Ye,c,!0)||[]};return{active:!1,matches:null}}async function Pn(Re,ze,Ye,ht){if(!t.patchRoutesOnNavigation)return{type:"success",matches:Re};let Bt=Re;for(;;){let Vt=l==null,zt=l||s,lt=o;try{await t.patchRoutesOnNavigation({signal:Ye,path:ze,matches:Bt,fetcherKey:ht,patch:(Mt,qt)=>{Ye.aborted||DM(Mt,qt,zt,lt,a,!1)}})}catch(Mt){return{type:"error",error:Mt,partialMatches:Bt}}finally{Vt&&!Ye.aborted&&(s=[...s])}if(Ye.aborted)return{type:"aborted"};let Ft=LA(zt,ze,c),Pt=null;if(Ft){if(Object.keys(Ft[0].params).length===0)return{type:"success",matches:Ft};if(Pt=Ny(zt,ze,c,!0),!(Pt&&Bt.length<Pt.length&&Ot(Bt,Pt.slice(0,Bt.length))))return{type:"success",matches:Ft}}if(Pt||(Pt=Ny(zt,ze,c,!0)),!Pt||Ot(Bt,Pt))return{type:"success",matches:null};Bt=Pt}}function Ot(Re,ze){return Re.length===ze.length&&Re.every((Ye,ht)=>Ye.route.id===ze[ht].route.id)}function xn(Re){o={},l=ik(Re,a,void 0,o)}function Yi(Re,ze,Ye=!1){let ht=l==null;DM(Re,ze,l||s,o,a,Ye),ht&&(s=[...s],le({}))}return T={get basename(){return c},get future(){return f},get state(){return E},get routes(){return s},get window(){return e},initialize:ge,subscribe:oe,enableScrollRestoration:It,navigate:Le,fetch:ke,revalidate:ve,createHref:Re=>t.history.createHref(Re),encodeLocation:Re=>t.history.encodeLocation(Re),getFetcher:me,resetFetcher:z,deleteFetcher:xe,dispose:Se,getBlocker:xt,deleteBlocker:Je,patchRoutes:Yi,_internalFetchControllers:Y,_internalSetRoutes:xn,_internalSetStateDoNotUseOrYouWillBreakYourApp(Re){le(Re)}},t.unstable_instrumentations&&(T=$ve(T,t.unstable_instrumentations.map(Re=>Re.router).filter(Boolean))),T}function Jve(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function B4(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=Jx(i||".",Zx(o),mc(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=YO(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=Ive({basename:n,pathname:l.pathname})),ku(l)}function BM(t,e,n){if(!n||!Jve(n))return{path:e};if(n.formMethod&&!p0e(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=HY(e);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!gs(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,p])=>`${h}${m}=${p}
|
|
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(!gs(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()}}}si(typeof FormData=="function","FormData is not available in this environment");let s,l;if(n.formData)s=I4(n.formData),l=n.formData;else if(n.body instanceof FormData)s=I4(n.body),l=n.body;else if(n.body instanceof URLSearchParams)s=n.body,l=LM(s);else if(n.body==null)s=new URLSearchParams,l=new FormData;else try{s=new URLSearchParams(n.body),l=LM(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(gs(c.formMethod))return{path:e,submission:c};let d=lm(e);return t&&d.search&&YO(d.search)&&s.append("index",""),d.search=`?${s}`,{path:ku(d),submission:c}}function TM(t,e,n,i,r,a,o,s,l,c,d,f,h,m,p,g,b,k,S,C){let x=C?bl(C[1])?C[1].error:C[1].data:void 0,F=r.createURL(a.location),T=r.createURL(l),E;if(d&&a.errors){let q=Object.keys(a.errors)[0];E=o.findIndex(ae=>ae.route.id===q)}else if(C&&bl(C[1])){let q=C[0];E=o.findIndex(ae=>ae.route.id===q)-1}let I=C?C[1].statusCode:void 0,R=I&&I>=400,V={currentUrl:F,currentParams:a.matches[0]?.params||{},nextUrl:T,nextParams:o[0].params,...s,actionResult:x,actionStatus:I},U=Pk(o),P=o.map((q,ae)=>{let{route:H}=q,te=null;if(E!=null&&ae>E?te=!1:H.lazy?te=!0:WO(H)?d?te=T4(H,a.loaderData,a.errors):e0e(a.loaderData,a.matches[ae],q)&&(te=!0):te=!1,te!==null)return D4(n,i,t,U,q,c,e,te);let Y=R?!1:f||F.pathname+F.search===T.pathname+T.search||F.search!==T.search||t0e(a.matches[ae],q),ue={...V,defaultShouldRevalidate:Y},we=lN(q,ue);return D4(n,i,t,U,q,c,e,we,ue)}),Z=[];return p.forEach((q,ae)=>{if(d||!o.some(j=>j.route.id===q.routeId)||m.has(ae))return;let H=a.fetchers.get(ae),te=H&&H.state!=="idle"&&H.data===void 0,Y=LA(b,q.path,k);if(!Y){if(S&&te)return;Z.push({key:ae,routeId:q.routeId,path:q.path,matches:null,match:null,request:null,controller:null});return}if(g.has(ae))return;let ue=Cw(Y,q.path),we=new AbortController,ie=Ng(r,q.path,we.signal),L=null;if(h.has(ae))h.delete(ae),L=Wg(n,i,ie,Y,ue,c,e);else if(te)f&&(L=Wg(n,i,ie,Y,ue,c,e));else{let j={...V,defaultShouldRevalidate:R?!1:f};lN(ue,j)&&(L=Wg(n,i,ie,Y,ue,c,e,j))}L&&Z.push({key:ae,routeId:q.routeId,path:q.path,matches:L,match:ue,request:ie,controller:we})}),{dsMatches:P,revalidatingFetchers:Z}}function WO(t){return t.loader!=null||t.middleware!=null&&t.middleware.length>0}function T4(t,e,n){if(t.lazy)return!0;if(!WO(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 e0e(t,e,n){let i=!e||n.route.id!==e.route.id,r=!t.hasOwnProperty(n.route.id);return i||r}function t0e(t,e){let n=t.route.path;return t.pathname!==e.pathname||n!=null&&n.endsWith("*")&&t.params["*"]!==e.params["*"]}function lN(t,e){if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate(e);if(typeof n=="boolean")return n}return e.defaultShouldRevalidate}function DM(t,e,n,i,r,a){let o;if(t){let c=i[t];si(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=>UY(c,f));d?l.push({existingRoute:d,newRoute:c}):s.push(c)}),s.length>0){let c=ik(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]=ik([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 UY(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=>UY(n,r))):!1}var IM=new WeakMap,MY=({key:t,route:e,manifest:n,mapRouteProperties:i})=>{let r=n[e.id];if(si(r,"No route found in manifest"),!r.lazy||typeof r.lazy!="object")return;let a=r.lazy[t];if(!a)return;let o=IM.get(r);o||(o={},IM.set(r,o));let s=o[t];if(s)return s;let l=(async()=>{let c=gve(t),f=r[t]!==void 0&&t!=="hasErrorBoundary";if(c)Zr(!c,"Route property "+t+" is not a supported lazy route property. This property will be ignored."),o[t]=Promise.resolve();else if(f)Zr(!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},OM=new WeakMap;function n0e(t,e,n,i,r){let a=n[t.id];if(si(a,"No route found in manifest"),!t.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof t.lazy=="function"){let d=OM.get(a);if(d)return{lazyRoutePromise:d,lazyHandlerPromise:d};let f=(async()=>{si(typeof t.lazy=="function","No lazy route function found");let h=await t.lazy(),m={};for(let p in h){let g=h[p];if(g===void 0)continue;let b=yve(p),S=a[p]!==void 0&&p!=="hasErrorBoundary";b?Zr(!b,"Route property "+p+" is not a supported property to be returned from a lazy route function. This property will be ignored."):S?Zr(!S,`Route "${a.id}" has a static property "${p}" defined but its lazy function is also returning a value for this property. The lazy route property "${p}" will be ignored.`):m[p]=g}Object.assign(a,m),Object.assign(a,{...i(a),lazy:void 0})})();return OM.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=MY({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 RM(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 i0e(t){return t.matches.some(e=>e.route.middleware)?$Y(t,()=>RM(t)):RM(t)}function $Y(t,e){return r0e(t,e,i=>i,A0e,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=UA(o,o[s].route.id).route.id;return Promise.resolve({[l]:{type:"error",result:i}})}}}async function r0e(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 jY({request:o,params:s,context:l,unstable_pattern:c},d,e,n,i,r)}async function jY(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 jY(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),p=m!=null?i(m):void 0;return r(p)?p:f?p??f.value:(f={value:await h()},f.value)}catch(m){return await a(m,c,f)}}function QY(t,e,n,i,r){let a=MY({key:"middleware",route:i.route,manifest:e,mapRouteProperties:t}),o=n0e(i.route,gs(n.method)?"action":"loader",e,t,r);return{middleware:a,route:o.lazyRoutePromise,handler:o.lazyHandlerPromise}}function D4(t,e,n,i,r,a,o,s,l=null){let c=!1,d=QY(t,e,n,r,a);return{...r,_lazyPromises:d,shouldLoad:s,shouldRevalidateArgs:l,shouldCallHandler(f){return c=!0,l?typeof f=="boolean"?lN(r,{...l,defaultShouldRevalidate:f}):lN(r,l):s},resolve(f){let{lazy:h,loader:m,middleware:p}=r.route,g=c||s||f&&!gs(n.method)&&(h||m),b=p&&p.length>0&&!m&&!h;return g&&(gs(n.method)||!b)?o0e({request:n,unstable_pattern:i,match:r,lazyHandlerPromise:d?.handler,lazyRoutePromise:d?.route,handlerOverride:f,scopedContext:o}):Promise.resolve({type:"data",result:void 0})}}}function Wg(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:QY(t,e,n,l,a),resolve:()=>Promise.resolve({type:"data",result:void 0})}:D4(t,e,n,Pk(i),l,a,o,!0,s))}async function a0e(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:Pk(n),params:n[0].params,context:r,matches:n},l=await t({...o,fetcherKey:i,runClientMiddleware:c=>{let d=o;return $Y(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 o0e({request:t,unstable_pattern:e,match:n,lazyHandlerPromise:i,lazyRoutePromise:r,handlerOverride:a,scopedContext:o}){let s,l,c=gs(t.method),d=c?"action":"loader",f=h=>{let m,p=new Promise((k,S)=>m=S);l=()=>m(),t.signal.addEventListener("abort",l);let g=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(S=>g(S)):g())}}catch(k){return{type:"error",result:k}}})();return Promise.race([b,p])};try{let h=c?n.route.action:n.route.loader;if(i||r)if(h){let m,[p]=await Promise.all([f(h).catch(g=>{m=g}),i,r]);if(m!==void 0)throw m;s=p}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 p=new URL(t.url),g=p.pathname+p.search;throw ac(405,{method:t.method,pathname:g,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),p=m.pathname+m.search;throw ac(404,{pathname:p})}}catch(h){return{type:"error",result:h}}finally{l&&t.signal.removeEventListener("abort",l)}return s}async function s0e(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 l0e(t){let{result:e,type:n}=t;if(zY(e)){let i;try{i=await s0e(e)}catch(r){return{type:"error",error:r}}return n==="error"?{type:"error",error:new e2(e.status,e.statusText,i),statusCode:e.status,headers:e.headers}:{type:"data",data:i,statusCode:e.status,headers:e.headers}}return n==="error"?jM(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:f0e(e),statusCode:pv(e)?e.status:void 0,headers:e.init?.headers?new Headers(e.init.headers):void 0}:{type:"error",error:e,statusCode:pv(e)?e.status:void 0}:jM(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 c0e(t,e,n,i,r){let a=t.headers.get("Location");if(si(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!Xx(a)){let o=i.slice(0,i.findIndex(s=>s.route.id===n)+1);a=B4(new URL(e.url),o,r,a),t.headers.set("Location",a)}return t}function PM(t,e,n){if(Xx(t)){let i=t,r=i.startsWith("//")?new URL(e.protocol+i):new URL(i),a=mc(r.pathname,n)!=null;if(r.origin===e.origin&&a)return r.pathname+r.search+r.hash}return t}function Ng(t,e,n,i){let r=t.createURL(HY(e)).toString(),a={signal:n};if(i&&gs(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=I4(i.formData):a.body=i.formData}return new Request(r,a)}function I4(t){let e=new URLSearchParams;for(let[n,i]of t.entries())e.append(n,typeof i=="string"?i:i.name);return e}function LM(t){let e=new FormData;for(let[n,i]of t.entries())e.append(n,i);return e}function d0e(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(si(!sh(m),"Cannot handle redirect results in processLoaderData"),bl(m)){let p=m.error;if(d!==void 0&&(p=d,d=void 0),o=o||{},r)o[h]=p;else{let g=UA(t,h);o[g.route.id]==null&&(o[g.route.id]=p)}i||(a[h]=LY),l||(l=!0,s=pv(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 UM(t,e,n,i,r,a){let{loaderData:o,errors:s}=d0e(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(si(h,"Did not find corresponding fetcher result"),bl(h)){let m=UA(t.matches,d?.route.id);s&&s[m.route.id]||(s={...s,[m.route.id]:h.error}),t.fetchers.delete(c)}else if(sh(h))si(!1,"Unhandled fetcher revalidation redirect");else{let m=vf(h.data);t.fetchers.set(c,m)}}),{loaderData:o,errors:s}}function MM(t,e,n,i){let r=Object.entries(e).filter(([,a])=>a!==LY).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 $M(t){return t?bl(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function UA(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 I1(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 e2(t||500,o,new Error(s),!0)}function O1(t){let e=Object.entries(t);for(let n=e.length-1;n>=0;n--){let[i,r]=e[n];if(sh(r))return{key:i,result:r}}}function HY(t){let e=typeof t=="string"?lm(t):t;return ku({...e,hash:""})}function u0e(t,e){return t.pathname!==e.pathname||t.search!==e.search?!1:t.hash===""?e.hash!=="":t.hash===e.hash?!0:e.hash!==""}function f0e(t){return new e2(t.init?.status??500,t.init?.statusText??"Internal Server Error",t.data)}function A0e(t){return t!=null&&typeof t=="object"&&Object.entries(t).every(([e,n])=>typeof e=="string"&&m0e(n))}function m0e(t){return t!=null&&typeof t=="object"&&"type"in t&&"result"in t&&(t.type==="data"||t.type==="error")}function h0e(t){return zY(t.result)&&Kve.has(t.result.status)}function bl(t){return t.type==="error"}function sh(t){return(t&&t.type)==="redirect"}function jM(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function zY(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function p0e(t){return qve.has(t.toUpperCase())}function gs(t){return Vve.has(t.toUpperCase())}function YO(t){return new URLSearchParams(t).getAll("index").some(e=>e==="")}function Cw(t,e){let n=typeof e=="string"?lm(e).search:e.search;if(t[t.length-1].route.index&&YO(n||""))return t[t.length-1];let i=DY(t);return i[i.length-1]}function QM(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 QE(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 g0e(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 j0(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 v0e(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 vf(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 y0e(t,e){try{let n=t.sessionStorage.getItem(PY);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 k0e(t,e){if(e.size>0){let n={};for(let[i,r]of e)n[i]=[...r];try{t.sessionStorage.setItem(PY,JSON.stringify(n))}catch(i){Zr(!1,`Failed to save applied view transitions in sessionStorage (${i}).`)}}}function HM(){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 Qh=N.createContext(null);Qh.displayName="DataRouter";var Lk=N.createContext(null);Lk.displayName="DataRouterState";N.createContext(!1);var XO=N.createContext({isTransitioning:!1});XO.displayName="ViewTransition";var VY=N.createContext(new Map);VY.displayName="Fetchers";var b0e=N.createContext(null);b0e.displayName="Await";var vc=N.createContext(null);vc.displayName="Navigation";var t2=N.createContext(null);t2.displayName="Location";var yc=N.createContext({outlet:null,matches:[],isDataRoute:!1});yc.displayName="Route";var ZO=N.createContext(null);ZO.displayName="RouteError";function S0e(t,{relative:e}={}){si(Lv(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:i}=N.useContext(vc),{hash:r,pathname:a,search:o}=Uv(t,{relative:e}),s=a;return n!=="/"&&(s=a==="/"?n:pu([n,a])),i.createHref({pathname:s,search:o,hash:r})}function Lv(){return N.useContext(t2)!=null}function Lf(){return si(Lv(),"useLocation() may be used only in the context of a <Router> component."),N.useContext(t2).location}var GY="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function qY(t){N.useContext(vc).static||N.useLayoutEffect(t)}function Uk(){let{isDataRoute:t}=N.useContext(yc);return t?P0e():w0e()}function w0e(){si(Lv(),"useNavigate() may be used only in the context of a <Router> component.");let t=N.useContext(Qh),{basename:e,navigator:n}=N.useContext(vc),{matches:i}=N.useContext(yc),{pathname:r}=Lf(),a=JSON.stringify(Zx(i)),o=N.useRef(!1);return qY(()=>{o.current=!0}),N.useCallback((l,c={})=>{if(Zr(o.current,GY),!o.current)return;if(typeof l=="number"){n.go(l);return}let d=Jx(l,JSON.parse(a),r,c.relative==="path");t==null&&e!=="/"&&(d.pathname=d.pathname==="/"?e:pu([e,d.pathname])),(c.replace?n.replace:n.push)(d,c.state,c)},[e,n,a,r,t])}var N0e=N.createContext(null);function C0e(t){let e=N.useContext(yc).outlet;return N.useMemo(()=>e&&N.createElement(N0e.Provider,{value:t},e),[e,t])}function rft(){let{matches:t}=N.useContext(yc),e=t[t.length-1];return e?e.params:{}}function Uv(t,{relative:e}={}){let{matches:n}=N.useContext(yc),{pathname:i}=Lf(),r=JSON.stringify(Zx(n));return N.useMemo(()=>Jx(t,JSON.parse(r),i,e==="path"),[t,r,i,e])}function x0e(t,e,n,i,r){si(Lv(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=N.useContext(vc),{matches:o}=N.useContext(yc),s=o[o.length-1],l=s?s.params:{},c=s?s.pathname:"/",d=s?s.pathnameBase:"/",f=s&&s.route;{let S=f&&f.path||"";YY(c,!f||S.endsWith("*")||S.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${S}">) 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
|
-
Please change the parent <Route path="${S}"> to <Route path="${S==="/"?"*":`${S}/*`}">.`)}let h=Lf(),m;m=h;let p=m.pathname||"/",g=p;if(d!=="/"){let S=d.replace(/^\//,"").split("/");g="/"+p.replace(/^\//,"").split("/").slice(S.length).join("/")}let b=LA(t,{pathname:g});return Zr(f||b!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),Zr(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.`),T0e(b&&b.map(S=>Object.assign({},S,{params:Object.assign({},l,S.params),pathname:pu([d,a.encodeLocation?a.encodeLocation(S.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?d:pu([d,a.encodeLocation?a.encodeLocation(S.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathnameBase])})),o,n,i,r)}function F0e(){let t=WY(),e=pv(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 _0e=N.createElement(F0e,null),E0e=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(){return this.state.error!==void 0?N.createElement(yc.Provider,{value:this.props.routeContext},N.createElement(ZO.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function B0e({routeContext:t,match:e,children:n}){let i=N.useContext(Qh);return i&&i.static&&i.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=e.route.id),N.createElement(yc.Provider,{value:t},n)}function T0e(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);si(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,p=f.route.loader&&!h.hasOwnProperty(f.route.id)&&(!m||m[f.route.id]===void 0);if(f.route.lazy||p){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:Pk(n.matches),errorInfo:f})}:void 0;return a.reduceRight((d,f,h)=>{let m,p=!1,g=null,b=null;n&&(m=o&&f.route.id?o[f.route.id]:void 0,g=f.route.errorElement||_0e,s&&(l<0&&h===0?(YY("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),p=!0,b=null):l===h&&(p=!0,b=f.route.hydrateFallbackElement||null)));let k=e.concat(a.slice(0,h+1)),S=()=>{let C;return m?C=g:p?C=b:f.route.Component?C=N.createElement(f.route.Component,null):f.route.element?C=f.route.element:C=d,N.createElement(B0e,{match:f,routeContext:{outlet:d,matches:k,isDataRoute:n!=null},children:C})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?N.createElement(E0e,{location:n.location,revalidation:n.revalidation,component:g,error:m,children:S(),routeContext:{outlet:null,matches:k,isDataRoute:!0},onError:c}):S()},null)}function JO(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function D0e(t){let e=N.useContext(Qh);return si(e,JO(t)),e}function n2(t){let e=N.useContext(Lk);return si(e,JO(t)),e}function I0e(t){let e=N.useContext(yc);return si(e,JO(t)),e}function i2(t){let e=I0e(t),n=e.matches[e.matches.length-1];return si(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function O0e(){return i2("useRouteId")}function R0e(){return n2("useNavigation").navigation}function KY(){let{matches:t,loaderData:e}=n2("useMatches");return N.useMemo(()=>t.map(n=>EY(n,e)),[t,e])}function aft(){let t=n2("useLoaderData"),e=i2("useLoaderData");return t.loaderData[e]}function WY(){let t=N.useContext(ZO),e=n2("useRouteError"),n=i2("useRouteError");return t!==void 0?t:e.errors?.[n]}function P0e(){let{router:t}=D0e("useNavigate"),e=i2("useNavigate"),n=N.useRef(!1);return qY(()=>{n.current=!0}),N.useCallback(async(r,a={})=>{Zr(n.current,GY),n.current&&(typeof r=="number"?await t.navigate(r):await t.navigate(r,{fromRouteId:e,...a}))},[t,e])}var zM={};function YY(t,e,n){!e&&!zM[t]&&(zM[t]=!0,Zr(!1,n))}var VM={};function GM(t,e){!t&&!VM[e]&&(VM[e]=!0,console.warn(e))}var L0e="useOptimistic",qM=Bf[L0e];function U0e(t){return qM?qM(t):[t,()=>{}]}function M0e(t){let e={hasErrorBoundary:t.hasErrorBoundary||t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&(t.element&&Zr(!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&&Zr(!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&&Zr(!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 $0e=["HydrateFallback","hydrateFallbackElement"],j0e=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 Q0e({router:t,flushSync:e,unstable_onError:n,unstable_useTransitions:i}){let[r,a]=N.useState(t.state),[o,s]=U0e(r),[l,c]=N.useState(),[d,f]=N.useState({isTransitioning:!1}),[h,m]=N.useState(),[p,g]=N.useState(),[b,k]=N.useState(),S=N.useRef(new Map),C=N.useCallback((E,{deletedFetchers:I,newErrors:R,flushSync:V,viewTransitionOpts:U})=>{R&&n&&Object.values(R).forEach(Z=>n(Z,{location:E.location,params:E.matches[0]?.params??{},unstable_pattern:Pk(E.matches)})),E.fetchers.forEach((Z,q)=>{Z.data!==void 0&&S.current.set(q,Z.data)}),I.forEach(Z=>S.current.delete(Z)),GM(V===!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 P=t.window!=null&&t.window.document!=null&&typeof t.window.document.startViewTransition=="function";if(GM(U==null||P,"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."),!U||!P){e&&V?e(()=>a(E)):i===!1?a(E):N.startTransition(()=>{i===!0&&s(Z=>KM(Z,E)),a(E)});return}if(e&&V){e(()=>{p&&(h?.resolve(),p.skipTransition()),f({isTransitioning:!0,flushSync:!0,currentLocation:U.currentLocation,nextLocation:U.nextLocation})});let Z=t.window.document.startViewTransition(()=>{e(()=>a(E))});Z.finished.finally(()=>{e(()=>{m(void 0),g(void 0),c(void 0),f({isTransitioning:!1})})}),e(()=>g(Z));return}p?(h?.resolve(),p.skipTransition(),k({state:E,currentLocation:U.currentLocation,nextLocation:U.nextLocation})):(c(E),f({isTransitioning:!0,flushSync:!1,currentLocation:U.currentLocation,nextLocation:U.nextLocation}))},[t.window,e,p,h,i,s,n]);N.useLayoutEffect(()=>t.subscribe(C),[t,C]),N.useEffect(()=>{d.isTransitioning&&!d.flushSync&&m(new j0e)},[d]),N.useEffect(()=>{if(h&&l&&t.window){let E=l,I=h.promise,R=t.window.document.startViewTransition(async()=>{i===!1?a(E):N.startTransition(()=>{i===!0&&s(V=>KM(V,E)),a(E)}),await I});R.finished.finally(()=>{m(void 0),g(void 0),c(void 0),f({isTransitioning:!1})}),g(R)}},[l,h,t.window,i,s]),N.useEffect(()=>{h&&l&&o.location.key===l.location.key&&h.resolve()},[h,p,o.location,l]),N.useEffect(()=>{!d.isTransitioning&&b&&(c(b.state),f({isTransitioning:!0,flushSync:!1,currentLocation:b.currentLocation,nextLocation:b.nextLocation}),k(void 0))},[d.isTransitioning,b]);let x=N.useMemo(()=>({createHref:t.createHref,encodeLocation:t.encodeLocation,go:E=>t.navigate(E),push:(E,I,R)=>t.navigate(E,{state:I,preventScrollReset:R?.preventScrollReset}),replace:(E,I,R)=>t.navigate(E,{replace:!0,state:I,preventScrollReset:R?.preventScrollReset})}),[t]),F=t.basename||"/",T=N.useMemo(()=>({router:t,navigator:x,static:!1,basename:F,unstable_onError:n}),[t,x,F,n]);return N.createElement(N.Fragment,null,N.createElement(Qh.Provider,{value:T},N.createElement(Lk.Provider,{value:o},N.createElement(VY.Provider,{value:S.current},N.createElement(XO.Provider,{value:d},N.createElement(G0e,{basename:F,location:o.location,navigationType:o.historyAction,navigator:x,unstable_useTransitions:i===!0},N.createElement(H0e,{routes:t.routes,future:t.future,state:o,unstable_onError:n})))))),null)}function KM(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 H0e=N.memo(z0e);function z0e({routes:t,future:e,state:n,unstable_onError:i}){return x0e(t,void 0,n,i,e)}function V0e({to:t,replace:e,state:n,relative:i}){si(Lv(),"<Navigate> may be used only in the context of a <Router> component.");let{static:r}=N.useContext(vc);Zr(!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(yc),{pathname:o}=Lf(),s=Uk(),l=Jx(t,Zx(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 XY(t){return C0e(t.context)}function G0e({basename:t="/",children:e=null,location:n,navigationType:i="POP",navigator:r,static:a=!1,unstable_useTransitions:o}){si(!Lv(),"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=lm(n));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:m="default"}=n,p=N.useMemo(()=>{let g=mc(c,s);return g==null?null:{location:{pathname:g,search:d,hash:f,state:h,key:m},navigationType:i}},[s,c,d,f,h,m,i]);return Zr(p!=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.`),p==null?null:N.createElement(vc.Provider,{value:l},N.createElement(t2.Provider,{children:e,value:p}))}var xw="get",Fw="application/x-www-form-urlencoded";function r2(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function q0e(t){return r2(t)&&t.tagName.toLowerCase()==="button"}function K0e(t){return r2(t)&&t.tagName.toLowerCase()==="form"}function W0e(t){return r2(t)&&t.tagName.toLowerCase()==="input"}function Y0e(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function X0e(t,e){return t.button===0&&(!e||e==="_self")&&!Y0e(t)}function O4(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 Z0e(t,e){let n=O4(t);return e&&e.forEach((i,r)=>{n.has(r)||e.getAll(r).forEach(a=>{n.append(r,a)})}),n}var R1=null;function J0e(){if(R1===null)try{new FormData(document.createElement("form"),0),R1=!1}catch{R1=!0}return R1}var eye=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function HE(t){return t!=null&&!eye.has(t)?(Zr(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Fw}"`),null):t}function tye(t,e){let n,i,r,a,o;if(K0e(t)){let s=t.getAttribute("action");i=s?mc(s,e):null,n=t.getAttribute("method")||xw,r=HE(t.getAttribute("enctype"))||Fw,a=new FormData(t)}else if(q0e(t)||W0e(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?mc(l,e):null,n=t.getAttribute("formmethod")||s.getAttribute("method")||xw,r=HE(t.getAttribute("formenctype"))||HE(s.getAttribute("enctype"))||Fw,a=new FormData(s,t),!J0e()){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(r2(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=xw,i=null,r=Fw,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 eR(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function nye(t,e,n){let i=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return i.pathname==="/"?i.pathname=`_root.${n}`:e&&mc(i.pathname,e)==="/"?i.pathname=`${e.replace(/\/$/,"")}/_root.${n}`:i.pathname=`${i.pathname.replace(/\/$/,"")}.${n}`,i}async function iye(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 rye(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 aye(t,e,n){let i=await Promise.all(t.map(async r=>{let a=e.routes[r.route.id];if(a){let o=await iye(a,n);return o.links?o.links():[]}return[]}));return cye(i.flat(1).filter(rye).filter(r=>r.rel==="stylesheet"||r.rel==="preload").map(r=>r.rel==="stylesheet"?{...r,rel:"prefetch",as:"style"}:{...r,rel:"prefetch"}))}function WM(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 oye(t,e,{includeHydrateFallback:n}={}){return sye(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 sye(t){return[...new Set(t)]}function lye(t){let e={},n=Object.keys(t).sort();for(let i of n)e[i]=t[i];return e}function cye(t,e){let n=new Set;return new Set(e),t.reduce((i,r)=>{let a=JSON.stringify(lye(r));return n.has(a)||(n.add(a),i.push({key:a,link:r})),i},[])}function ZY(){let t=N.useContext(Qh);return eR(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function dye(){let t=N.useContext(Lk);return eR(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var tR=N.createContext(void 0);tR.displayName="FrameworkContext";function JY(){let t=N.useContext(tR);return eR(t,"You must render this element inside a <HydratedRouter> element"),t}function uye(t,e){let n=N.useContext(tR),[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 g=k=>{k.forEach(S=>{o(S.isIntersecting)})},b=new IntersectionObserver(g,{threshold:.5});return h.current&&b.observe(h.current),()=>{b.disconnect()}}},[t]),N.useEffect(()=>{if(i){let g=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(g)}}},[i]);let m=()=>{r(!0)},p=()=>{r(!1),o(!1)};return n?t!=="intent"?[a,h,{}]:[a,h,{onFocus:Q0(s,m),onBlur:Q0(l,p),onMouseEnter:Q0(c,m),onMouseLeave:Q0(d,p),onTouchStart:Q0(f,m)}]:[!1,h,{}]}function Q0(t,e){return n=>{t&&t(n),n.defaultPrevented||e(n)}}function fye({page:t,...e}){let{router:n}=ZY(),i=N.useMemo(()=>LA(n.routes,t,n.basename),[n.routes,t,n.basename]);return i?N.createElement(mye,{page:t,matches:i,...e}):null}function Aye(t){let{manifest:e,routeModules:n}=JY(),[i,r]=N.useState([]);return N.useEffect(()=>{let a=!1;return aye(t,e,n).then(o=>{a||r(o)}),()=>{a=!0}},[t,e,n]),i}function mye({page:t,matches:e,...n}){let i=Lf(),{manifest:r,routeModules:a}=JY(),{basename:o}=ZY(),{loaderData:s,matches:l}=dye(),c=N.useMemo(()=>WM(t,e,l,r,i,"data"),[t,e,l,r,i]),d=N.useMemo(()=>WM(t,e,l,r,i,"assets"),[t,e,l,r,i]),f=N.useMemo(()=>{if(t===i.pathname+i.search+i.hash)return[];let p=new Set,g=!1;if(e.forEach(k=>{let S=r.routes[k.route.id];!S||!S.hasLoader||(!c.some(C=>C.route.id===k.route.id)&&k.route.id in s&&a[k.route.id]?.shouldRevalidate||S.hasClientLoader?g=!0:p.add(k.route.id))}),p.size===0)return[];let b=nye(t,o,"data");return g&&p.size>0&&b.searchParams.set("_routes",e.filter(k=>p.has(k.route.id)).map(k=>k.route.id).join(",")),[b.pathname+b.search]},[o,s,i,r,c,e,t,a]),h=N.useMemo(()=>oye(d,r),[d,r]),m=Aye(d);return N.createElement(N.Fragment,null,f.map(p=>N.createElement("link",{key:p,rel:"prefetch",as:"fetch",href:p,...n})),h.map(p=>N.createElement("link",{key:p,rel:"modulepreload",href:p,...n})),m.map(({key:p,link:g})=>N.createElement("link",{key:p,nonce:n.nonce,...g})))}function hye(...t){return e=>{t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}}var eX=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{eX&&(window.__reactRouterVersion="7.10.0")}catch{}function pye(t,e){return Zve({basename:e?.basename,getContext:e?.getContext,future:e?.future,history:Ave({window:e?.window}),hydrationData:gye(),routes:t,mapRouteProperties:M0e,hydrationRouteProperties:$0e,dataStrategy:e?.dataStrategy,patchRoutesOnNavigation:e?.patchRoutesOnNavigation,window:e?.window,unstable_instrumentations:e?.unstable_instrumentations}).initialize()}function gye(){let t=window?.__staticRouterHydrationData;return t&&t.errors&&(t={...t,errors:vye(t.errors)}),t}function vye(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 e2(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 tX=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,no=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,...h},m){let{basename:p,unstable_useTransitions:g}=N.useContext(vc),b=typeof c=="string"&&tX.test(c),k,S=!1;if(typeof c=="string"&&b&&(k=c,eX))try{let V=new URL(window.location.href),U=c.startsWith("//")?new URL(V.protocol+c):new URL(c),P=mc(U.pathname,p);U.origin===V.origin&&P!=null?c=P+U.search+U.hash:S=!0}catch{Zr(!1,`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let C=S0e(c,{relative:r}),[x,F,T]=uye(i,h),E=Sye(c,{replace:o,state:s,target:l,preventScrollReset:d,relative:r,viewTransition:f,unstable_useTransitions:g});function I(V){e&&e(V),V.defaultPrevented||E(V)}let R=N.createElement("a",{...h,...T,href:k||C,onClick:S||a?e:I,ref:hye(m,F),target:l,"data-discover":!b&&n==="render"?"true":void 0});return x&&!b?N.createElement(N.Fragment,null,R,N.createElement(fye,{page:C})):R});no.displayName="Link";var yye=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=Uv(o,{relative:c.relative}),h=Lf(),m=N.useContext(Lk),{navigator:p,basename:g}=N.useContext(vc),b=m!=null&&Fye(f)&&s===!0,k=p.encodeLocation?p.encodeLocation(f).pathname:f.pathname,S=h.pathname,C=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;n||(S=S.toLowerCase(),C=C?C.toLowerCase():null,k=k.toLowerCase()),C&&g&&(C=mc(C,g)||C);const x=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let F=S===k||!r&&S.startsWith(k)&&S.charAt(x)==="/",T=C!=null&&(C===k||!r&&C.startsWith(k)&&C.charAt(k.length)==="/"),E={isActive:F,isPending:T,isTransitioning:b},I=F?e:void 0,R;typeof i=="function"?R=i(E):R=[i,F?"active":null,T?"pending":null,b?"transitioning":null].filter(Boolean).join(" ");let V=typeof a=="function"?a(E):a;return N.createElement(no,{...c,"aria-current":I,className:R,ref:d,style:V,to:o,viewTransition:s},typeof l=="function"?l(E):l)});yye.displayName="NavLink";var kye=N.forwardRef(({discover:t="render",fetcherKey:e,navigate:n,reloadDocument:i,replace:r,state:a,method:o=xw,action:s,onSubmit:l,relative:c,preventScrollReset:d,viewTransition:f,...h},m)=>{let{unstable_useTransitions:p}=N.useContext(vc),g=Cye(),b=xye(s,{relative:c}),k=o.toLowerCase()==="get"?"get":"post",S=typeof s=="string"&&tX.test(s),C=x=>{if(l&&l(x),x.defaultPrevented)return;x.preventDefault();let F=x.nativeEvent.submitter,T=F?.getAttribute("formmethod")||o,E=()=>g(F||x.currentTarget,{fetcherKey:e,method:T,navigate:n,replace:r,state:a,relative:c,preventScrollReset:d,viewTransition:f});p&&n!==!1?N.startTransition(()=>E()):E()};return N.createElement("form",{ref:m,method:k,action:b,onSubmit:i?l:C,...h,"data-discover":!S&&t==="render"?"true":void 0})});kye.displayName="Form";function bye(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function nX(t){let e=N.useContext(Qh);return si(e,bye(t)),e}function Sye(t,{target:e,replace:n,state:i,preventScrollReset:r,relative:a,viewTransition:o,unstable_useTransitions:s}={}){let l=Uk(),c=Lf(),d=Uv(t,{relative:a});return N.useCallback(f=>{if(X0e(f,e)){f.preventDefault();let h=n!==void 0?n:ku(c)===ku(d),m=()=>l(t,{replace:h,state:i,preventScrollReset:r,relative:a,viewTransition:o});s?N.startTransition(()=>m()):m()}},[c,l,d,n,i,e,t,r,a,o,s])}function oft(t){Zr(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(O4(t)),n=N.useRef(!1),i=Lf(),r=N.useMemo(()=>Z0e(i.search,n.current?null:e.current),[i.search]),a=Uk(),o=N.useCallback((s,l)=>{const c=O4(typeof s=="function"?s(new URLSearchParams(r)):s);n.current=!0,a("?"+c,l)},[a,r]);return[r,o]}var wye=0,Nye=()=>`__${String(++wye)}__`;function Cye(){let{router:t}=nX("useSubmit"),{basename:e}=N.useContext(vc),n=O0e(),i=t.fetch,r=t.navigate;return N.useCallback(async(a,o={})=>{let{action:s,method:l,encType:c,formData:d,body:f}=tye(a,e);if(o.navigate===!1){let h=o.fetcherKey||Nye();await i(h,n,o.action||s,{preventScrollReset:o.preventScrollReset,formData:d,body:f,formMethod:o.method||l,formEncType:o.encType||c,flushSync:o.flushSync})}else await r(o.action||s,{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 xye(t,{relative:e}={}){let{basename:n}=N.useContext(vc),i=N.useContext(yc);si(i,"useFormAction must be used inside a RouteContext");let[r]=i.matches.slice(-1),a={...Uv(t||".",{relative:e})},o=Lf();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:pu([n,a.pathname])),ku(a)}function Fye(t,{relative:e}={}){let n=N.useContext(XO);si(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=nX("useViewTransitionState"),r=Uv(t,{relative:e});if(!n.isTransitioning)return!1;let a=mc(n.currentLocation.pathname,i)||n.currentLocation.pathname,o=mc(n.nextLocation.pathname,i)||n.nextLocation.pathname;return sN(r.pathname,o)!=null||sN(r.pathname,a)!=null}var Uf=xY();const iX=Rk(Uf);function _ye(t){return N.createElement(Q0e,{flushSync:Uf.flushSync,...t})}const Eye="modulepreload",Bye=function(t){return"/"+t},YM={},li=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=Bye(c),c in YM)return;YM[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":Eye,d||(h.as="script"),h.crossOrigin="",h.href=c,s&&h.setAttribute("nonce",s),document.head.appendChild(h),d)return new Promise((m,p)=>{h.addEventListener("load",m),h.addEventListener("error",()=>p(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 Tye=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Dye=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,i)=>i?i.toUpperCase():n.toLowerCase()),XM=t=>{const e=Dye(t);return e.charAt(0).toUpperCase()+e.slice(1)},rX=(...t)=>t.filter((e,n,i)=>!!e&&e.trim()!==""&&i.indexOf(e)===n).join(" ").trim(),Iye=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};var Oye={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 Rye=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,...Oye,width:e,height:e,stroke:t,strokeWidth:i?Number(n)*24/Number(e):n,className:rX("lucide",r),...!a&&!Iye(s)&&{"aria-hidden":"true"},...s},[...o.map(([c,d])=>N.createElement(c,d)),...Array.isArray(a)?a:[a]]));const Jt=(t,e)=>{const n=N.forwardRef(({className:i,...r},a)=>N.createElement(Rye,{ref:a,iconNode:e,className:rX(`lucide-${Tye(XM(t))}`,`lucide-${t}`,i),...r}));return n.displayName=XM(t),n};const Pye=[["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"}]],Lye=Jt("arrow-down-0-1",Pye);const Uye=[["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"}]],Mye=Jt("arrow-left-right",Uye);const $ye=[["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"}]],jye=Jt("badge-dollar-sign",$ye);const Qye=[["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"}]],Hye=Jt("book-open-check",Qye);const zye=[["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"}]],Vye=Jt("book",zye);const Gye=[["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"}]],qye=Jt("calculator",Gye);const Kye=[["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"}]],Wye=Jt("calendar",Kye);const Yye=[["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"}]],zE=Jt("chart-column-big",Yye);const Xye=[["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"}]],Zye=Jt("chart-column-decreasing",Xye);const Jye=[["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"}]],eke=Jt("chart-no-axes-combined",Jye);const tke=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],nke=Jt("check-check",tke);const ike=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Sh=Jt("check",ike);const rke=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ps=Jt("chevron-down",rke);const ake=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],oke=Jt("chevron-left",ake);const ske=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],lke=Jt("chevron-right",ske);const cke=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],iu=Jt("chevron-up",cke);const dke=[["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"}]],Yp=Jt("circle-alert",dke);const uke=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],fke=Jt("circle-check-big",uke);const Ake=[["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"}]],ZM=Jt("circle-x",Ake);const mke=[["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"}]],hke=Jt("copy",mke);const pke=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],gke=Jt("credit-card",pke);const vke=[["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"}]],aX=Jt("download",vke);const yke=[["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"}]],kke=Jt("eye",yke);const bke=[["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"}]],Ske=Jt("factory",bke);const wke=[["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"}]],Nke=Jt("file-down",wke);const Cke=[["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"}]],JM=Jt("file-pen",Cke);const xke=[["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"}]],Fke=Jt("file-text",xke);const _ke=[["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"}]],e$=Jt("file",_ke);const Eke=[["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"}]],t$=Jt("files",Eke);const Bke=[["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"}]],Tke=Jt("globe",Bke);const Dke=[["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"}]],n$=Jt("hand-coins",Dke);const Ike=[["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"}]],Cg=Jt("house",Ike);const Oke=[["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"}]],Rke=Jt("id-card",Oke);const Pke=[["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"}]],Lke=Jt("image",Pke);const Uke=[["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"}]],Mke=Jt("link",Uke);const $ke=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],rk=Jt("loader-circle",$ke);const jke=[["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"}]],oX=Jt("mail",jke);const Qke=[["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"}]],Hke=Jt("map-pin",Qke);const zke=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Vke=Jt("menu",zke);const Gke=[["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"}]],i$=Jt("parking-meter",Gke);const qke=[["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"}]],Kke=Jt("phone",qke);const Wke=[["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"}]],Yke=Jt("plane-takeoff",Wke);const Xke=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Tf=Jt("plus",Xke);const Zke=[["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"}]],Jke=Jt("puzzle",Zke);const ebe=[["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"}]],tbe=Jt("receipt-text",ebe);const nbe=[["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"}]],Qy=Jt("receipt",nbe);const ibe=[["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"}]],rbe=Jt("rectangle-ellipsis",ibe);const abe=[["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"}]],r$=Jt("refresh-cw",abe);const obe=[["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"}]],sbe=Jt("rows-4",obe);const lbe=[["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"}]],cbe=Jt("scale",lbe);const dbe=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],ube=Jt("search",dbe);const fbe=[["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"}]],sX=Jt("send",fbe);const Abe=[["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"}]],mbe=Jt("settings",Abe);const hbe=[["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"}]],pbe=Jt("shield",hbe);const gbe=[["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"}]],vbe=Jt("signature",gbe);const ybe=[["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"}]],kbe=Jt("square-pen",ybe);const bbe=[["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"}]],Sbe=Jt("tags",bbe);const wbe=[["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"}]],lX=Jt("trash-2",wbe);const Nbe=[["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"}]],Cbe=Jt("trash",Nbe);const xbe=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],a$=Jt("trending-up",xbe);const Fbe=[["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"}]],_be=Jt("unlink",Fbe);const Ebe=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],Bbe=Jt("user-round",Ebe);const Tbe=[["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"}]],Dbe=Jt("user",Tbe);const Ibe=[["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"}]],Obe=Jt("wand-sparkles",Ibe);const Rbe=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],ZA=Jt("x",Rbe);const Pbe=[["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"}]],o$=Jt("zoom-in",Pbe);const Lbe=[["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"}]],s$=Jt("zoom-out",Lbe),$n={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 cX(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=cX(t[e]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}function nR(){for(var t,e,n=0,i="",r=arguments.length;n<r;n++)(t=arguments[n])&&(e=cX(t))&&(i&&(i+=" "),i+=e);return i}const l$=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,c$=nR,iR=(t,e)=>n=>{var i;if(e?.variants==null)return c$(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=l$(d)||l$(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(p=>{let[g,b]=p;return Array.isArray(b)?b.includes({...a,...s}[g]):{...a,...s}[g]===b})?[...c,f,h]:c},[]);return c$(t,o,l,n?.class,n?.className)},Ube=(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},Mbe=(t,e)=>({classGroupId:t,validator:e}),dX=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),cN="-",d$=[],$be="arbitrary..",jbe=t=>{const e=Hbe(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return Qbe(o);const s=o.split(cN),l=s[0]===""&&s.length>1?1:0;return uX(s,l,e)},getConflictingClassGroupIds:(o,s)=>{if(s){const l=i[o],c=n[o];return l?c?Ube(c,l):l:c||d$}return n[o]||d$}}},uX=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const r=t[e],a=n.nextPart.get(r);if(a){const c=uX(t,e+1,a);if(c)return c}const o=n.validators;if(o===null)return;const s=e===0?t.join(cN):t.slice(e).join(cN),l=o.length;for(let c=0;c<l;c++){const d=o[c];if(d.validator(s))return d.classGroupId}},Qbe=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?$be+i:void 0})(),Hbe=t=>{const{theme:e,classGroups:n}=t;return zbe(n,e)},zbe=(t,e)=>{const n=dX();for(const i in t){const r=t[i];rR(r,n,i,e)}return n},rR=(t,e,n,i)=>{const r=t.length;for(let a=0;a<r;a++){const o=t[a];Vbe(o,e,n,i)}},Vbe=(t,e,n,i)=>{if(typeof t=="string"){Gbe(t,e,n);return}if(typeof t=="function"){qbe(t,e,n,i);return}Kbe(t,e,n,i)},Gbe=(t,e,n)=>{const i=t===""?e:fX(e,t);i.classGroupId=n},qbe=(t,e,n,i)=>{if(Wbe(t)){rR(t(i),e,n,i);return}e.validators===null&&(e.validators=[]),e.validators.push(Mbe(n,t))},Kbe=(t,e,n,i)=>{const r=Object.entries(t),a=r.length;for(let o=0;o<a;o++){const[s,l]=r[o];rR(l,fX(e,s),n,i)}},fX=(t,e)=>{let n=t;const i=e.split(cN),r=i.length;for(let a=0;a<r;a++){const o=i[a];let s=n.nextPart.get(o);s||(s=dX(),n.nextPart.set(o,s)),n=s}return n},Wbe=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,Ybe=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)}}},R4="!",u$=":",Xbe=[],f$=(t,e,n,i,r)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:i,isExternal:r}),Zbe=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 g=0;g<d;g++){const b=r[g];if(o===0&&s===0){if(b===u$){a.push(r.slice(l,g)),l=g+1;continue}if(b==="/"){c=g;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(R4)?(h=f.slice(0,-1),m=!0):f.startsWith(R4)&&(h=f.slice(1),m=!0);const p=c&&c>l?c-l:void 0;return f$(a,m,h,p)};if(e){const r=e+u$,a=i;i=o=>o.startsWith(r)?a(o.slice(r.length)):f$(Xbe,!1,o,void 0,!0)}if(n){const r=i;i=a=>n({className:a,parseClassName:r})}return i},Jbe=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}},e1e=t=>({cache:Ybe(t.cacheSize),parseClassName:Zbe(t),sortModifiers:Jbe(t),...jbe(t)}),t1e=/\s+/,n1e=(t,e)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:r,sortModifiers:a}=e,o=[],s=t.trim().split(t1e);let l="";for(let c=s.length-1;c>=0;c-=1){const d=s[c],{isExternal:f,modifiers:h,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:g}=n(d);if(f){l=d+(l.length>0?" "+l:l);continue}let b=!!g,k=i(b?p.substring(0,g):p);if(!k){if(!b){l=d+(l.length>0?" "+l:l);continue}if(k=i(p),!k){l=d+(l.length>0?" "+l:l);continue}b=!1}const S=h.length===0?"":h.length===1?h[0]:a(h).join(":"),C=m?S+R4:S,x=C+k;if(o.indexOf(x)>-1)continue;o.push(x);const F=r(k,b);for(let T=0;T<F.length;++T){const E=F[T];o.push(C+E)}l=d+(l.length>0?" "+l:l)}return l},i1e=(...t)=>{let e=0,n,i,r="";for(;e<t.length;)(n=t[e++])&&(i=AX(n))&&(r&&(r+=" "),r+=i);return r},AX=t=>{if(typeof t=="string")return t;let e,n="";for(let i=0;i<t.length;i++)t[i]&&(e=AX(t[i]))&&(n&&(n+=" "),n+=e);return n},r1e=(t,...e)=>{let n,i,r,a;const o=l=>{const c=e.reduce((d,f)=>f(d),t());return n=e1e(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=n1e(l,n);return r(l,d),d};return a=o,(...l)=>a(i1e(...l))},a1e=[],Ja=t=>{const e=n=>n[t]||a1e;return e.isThemeGetter=!0,e},mX=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,hX=/^\((?:(\w[\w-]*):)?(.+)\)$/i,o1e=/^\d+\/\d+$/,s1e=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,l1e=/\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$/,c1e=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,d1e=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,u1e=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xp=t=>o1e.test(t),oi=t=>!!t&&!Number.isNaN(Number(t)),CA=t=>!!t&&Number.isInteger(Number(t)),VE=t=>t.endsWith("%")&&oi(t.slice(0,-1)),cf=t=>s1e.test(t),f1e=()=>!0,A1e=t=>l1e.test(t)&&!c1e.test(t),pX=()=>!1,m1e=t=>d1e.test(t),h1e=t=>u1e.test(t),p1e=t=>!sn(t)&&!ln(t),g1e=t=>Mv(t,yX,pX),sn=t=>mX.test(t),qm=t=>Mv(t,kX,A1e),GE=t=>Mv(t,S1e,oi),A$=t=>Mv(t,gX,pX),v1e=t=>Mv(t,vX,h1e),P1=t=>Mv(t,bX,m1e),ln=t=>hX.test(t),H0=t=>$v(t,kX),y1e=t=>$v(t,w1e),m$=t=>$v(t,gX),k1e=t=>$v(t,yX),b1e=t=>$v(t,vX),L1=t=>$v(t,bX,!0),Mv=(t,e,n)=>{const i=mX.exec(t);return i?i[1]?e(i[1]):n(i[2]):!1},$v=(t,e,n=!1)=>{const i=hX.exec(t);return i?i[1]?e(i[1]):n:!1},gX=t=>t==="position"||t==="percentage",vX=t=>t==="image"||t==="url",yX=t=>t==="length"||t==="size"||t==="bg-size",kX=t=>t==="length",S1e=t=>t==="number",w1e=t=>t==="family-name",bX=t=>t==="shadow",N1e=()=>{const t=Ja("color"),e=Ja("font"),n=Ja("text"),i=Ja("font-weight"),r=Ja("tracking"),a=Ja("leading"),o=Ja("breakpoint"),s=Ja("container"),l=Ja("spacing"),c=Ja("radius"),d=Ja("shadow"),f=Ja("inset-shadow"),h=Ja("text-shadow"),m=Ja("drop-shadow"),p=Ja("blur"),g=Ja("perspective"),b=Ja("aspect"),k=Ja("ease"),S=Ja("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...x(),ln,sn],T=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],I=()=>[ln,sn,l],R=()=>[Xp,"full","auto",...I()],V=()=>[CA,"none","subgrid",ln,sn],U=()=>["auto",{span:["full",CA,ln,sn]},CA,ln,sn],P=()=>[CA,"auto",ln,sn],Z=()=>["auto","min","max","fr",ln,sn],q=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ae=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...I()],te=()=>[Xp,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],Y=()=>[t,ln,sn],ue=()=>[...x(),m$,A$,{position:[ln,sn]}],we=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ie=()=>["auto","cover","contain",k1e,g1e,{size:[ln,sn]}],L=()=>[VE,H0,qm],j=()=>["","none","full",c,ln,sn],$=()=>["",oi,H0,qm],W=()=>["solid","dashed","dotted","double"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>[oi,VE,m$,A$],fe=()=>["","none",p,ln,sn],ge=()=>["none",oi,ln,sn],Se=()=>["none",oi,ln,sn],oe=()=>[oi,ln,sn],le=()=>[Xp,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[cf],breakpoint:[cf],color:[f1e],container:[cf],"drop-shadow":[cf],ease:["in","out","in-out"],font:[p1e],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[cf],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[cf],shadow:[cf],spacing:["px",oi],text:[cf],"text-shadow":[cf],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Xp,sn,ln,b]}],container:["container"],columns:[{columns:[oi,sn,ln,s]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"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:F()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:R()}],"inset-x":[{"inset-x":R()}],"inset-y":[{"inset-y":R()}],start:[{start:R()}],end:[{end:R()}],top:[{top:R()}],right:[{right:R()}],bottom:[{bottom:R()}],left:[{left:R()}],visibility:["visible","invisible","collapse"],z:[{z:[CA,"auto",ln,sn]}],basis:[{basis:[Xp,"full","auto",s,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[oi,Xp,"auto","initial","none",sn]}],grow:[{grow:["",oi,ln,sn]}],shrink:[{shrink:["",oi,ln,sn]}],order:[{order:[CA,"first","last","none",ln,sn]}],"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":Z()}],"auto-rows":[{"auto-rows":Z()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:[...q(),"normal"]}],"justify-items":[{"justify-items":[...ae(),"normal"]}],"justify-self":[{"justify-self":["auto",...ae()]}],"align-content":[{content:["normal",...q()]}],"align-items":[{items:[...ae(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ae(),{baseline:["","last"]}]}],"place-content":[{"place-content":q()}],"place-items":[{"place-items":[...ae(),"baseline"]}],"place-self":[{"place-self":["auto",...ae()]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],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":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"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,H0,qm]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,ln,GE]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",VE,sn]}],"font-family":[{font:[y1e,sn,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,ln,sn]}],"line-clamp":[{"line-clamp":[oi,"none",ln,GE]}],leading:[{leading:[a,...I()]}],"list-image":[{"list-image":["none",ln,sn]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ln,sn]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Y()}],"text-color":[{text:Y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:[oi,"from-font","auto",ln,qm]}],"text-decoration-color":[{decoration:Y()}],"underline-offset":[{"underline-offset":[oi,"auto",ln,sn]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ln,sn]}],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",ln,sn]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ue()}],"bg-repeat":[{bg:we()}],"bg-size":[{bg:ie()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},CA,ln,sn],radial:["",ln,sn],conic:[CA,ln,sn]},b1e,v1e]}],"bg-color":[{bg:Y()}],"gradient-from-pos":[{from:L()}],"gradient-via-pos":[{via:L()}],"gradient-to-pos":[{to:L()}],"gradient-from":[{from:Y()}],"gradient-via":[{via:Y()}],"gradient-to":[{to:Y()}],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:[...W(),"hidden","none"]}],"divide-style":[{divide:[...W(),"hidden","none"]}],"border-color":[{border:Y()}],"border-color-x":[{"border-x":Y()}],"border-color-y":[{"border-y":Y()}],"border-color-s":[{"border-s":Y()}],"border-color-e":[{"border-e":Y()}],"border-color-t":[{"border-t":Y()}],"border-color-r":[{"border-r":Y()}],"border-color-b":[{"border-b":Y()}],"border-color-l":[{"border-l":Y()}],"divide-color":[{divide:Y()}],"outline-style":[{outline:[...W(),"none","hidden"]}],"outline-offset":[{"outline-offset":[oi,ln,sn]}],"outline-w":[{outline:["",oi,H0,qm]}],"outline-color":[{outline:Y()}],shadow:[{shadow:["","none",d,L1,P1]}],"shadow-color":[{shadow:Y()}],"inset-shadow":[{"inset-shadow":["none",f,L1,P1]}],"inset-shadow-color":[{"inset-shadow":Y()}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Y()}],"ring-offset-w":[{"ring-offset":[oi,qm]}],"ring-offset-color":[{"ring-offset":Y()}],"inset-ring-w":[{"inset-ring":$()}],"inset-ring-color":[{"inset-ring":Y()}],"text-shadow":[{"text-shadow":["none",h,L1,P1]}],"text-shadow-color":[{"text-shadow":Y()}],opacity:[{opacity:[oi,ln,sn]}],"mix-blend":[{"mix-blend":[...J(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":J()}],"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":[oi]}],"mask-image-linear-from-pos":[{"mask-linear-from":K()}],"mask-image-linear-to-pos":[{"mask-linear-to":K()}],"mask-image-linear-from-color":[{"mask-linear-from":Y()}],"mask-image-linear-to-color":[{"mask-linear-to":Y()}],"mask-image-t-from-pos":[{"mask-t-from":K()}],"mask-image-t-to-pos":[{"mask-t-to":K()}],"mask-image-t-from-color":[{"mask-t-from":Y()}],"mask-image-t-to-color":[{"mask-t-to":Y()}],"mask-image-r-from-pos":[{"mask-r-from":K()}],"mask-image-r-to-pos":[{"mask-r-to":K()}],"mask-image-r-from-color":[{"mask-r-from":Y()}],"mask-image-r-to-color":[{"mask-r-to":Y()}],"mask-image-b-from-pos":[{"mask-b-from":K()}],"mask-image-b-to-pos":[{"mask-b-to":K()}],"mask-image-b-from-color":[{"mask-b-from":Y()}],"mask-image-b-to-color":[{"mask-b-to":Y()}],"mask-image-l-from-pos":[{"mask-l-from":K()}],"mask-image-l-to-pos":[{"mask-l-to":K()}],"mask-image-l-from-color":[{"mask-l-from":Y()}],"mask-image-l-to-color":[{"mask-l-to":Y()}],"mask-image-x-from-pos":[{"mask-x-from":K()}],"mask-image-x-to-pos":[{"mask-x-to":K()}],"mask-image-x-from-color":[{"mask-x-from":Y()}],"mask-image-x-to-color":[{"mask-x-to":Y()}],"mask-image-y-from-pos":[{"mask-y-from":K()}],"mask-image-y-to-pos":[{"mask-y-to":K()}],"mask-image-y-from-color":[{"mask-y-from":Y()}],"mask-image-y-to-color":[{"mask-y-to":Y()}],"mask-image-radial":[{"mask-radial":[ln,sn]}],"mask-image-radial-from-pos":[{"mask-radial-from":K()}],"mask-image-radial-to-pos":[{"mask-radial-to":K()}],"mask-image-radial-from-color":[{"mask-radial-from":Y()}],"mask-image-radial-to-color":[{"mask-radial-to":Y()}],"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":x()}],"mask-image-conic-pos":[{"mask-conic":[oi]}],"mask-image-conic-from-pos":[{"mask-conic-from":K()}],"mask-image-conic-to-pos":[{"mask-conic-to":K()}],"mask-image-conic-from-color":[{"mask-conic-from":Y()}],"mask-image-conic-to-color":[{"mask-conic-to":Y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ue()}],"mask-repeat":[{mask:we()}],"mask-size":[{mask:ie()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ln,sn]}],filter:[{filter:["","none",ln,sn]}],blur:[{blur:fe()}],brightness:[{brightness:[oi,ln,sn]}],contrast:[{contrast:[oi,ln,sn]}],"drop-shadow":[{"drop-shadow":["","none",m,L1,P1]}],"drop-shadow-color":[{"drop-shadow":Y()}],grayscale:[{grayscale:["",oi,ln,sn]}],"hue-rotate":[{"hue-rotate":[oi,ln,sn]}],invert:[{invert:["",oi,ln,sn]}],saturate:[{saturate:[oi,ln,sn]}],sepia:[{sepia:["",oi,ln,sn]}],"backdrop-filter":[{"backdrop-filter":["","none",ln,sn]}],"backdrop-blur":[{"backdrop-blur":fe()}],"backdrop-brightness":[{"backdrop-brightness":[oi,ln,sn]}],"backdrop-contrast":[{"backdrop-contrast":[oi,ln,sn]}],"backdrop-grayscale":[{"backdrop-grayscale":["",oi,ln,sn]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[oi,ln,sn]}],"backdrop-invert":[{"backdrop-invert":["",oi,ln,sn]}],"backdrop-opacity":[{"backdrop-opacity":[oi,ln,sn]}],"backdrop-saturate":[{"backdrop-saturate":[oi,ln,sn]}],"backdrop-sepia":[{"backdrop-sepia":["",oi,ln,sn]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ln,sn]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[oi,"initial",ln,sn]}],ease:[{ease:["linear","initial",k,ln,sn]}],delay:[{delay:[oi,ln,sn]}],animate:[{animate:["none",S,ln,sn]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,ln,sn]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:ge()}],"rotate-x":[{"rotate-x":ge()}],"rotate-y":[{"rotate-y":ge()}],"rotate-z":[{"rotate-z":ge()}],scale:[{scale:Se()}],"scale-x":[{"scale-x":Se()}],"scale-y":[{"scale-y":Se()}],"scale-z":[{"scale-z":Se()}],"scale-3d":["scale-3d"],skew:[{skew:oe()}],"skew-x":[{"skew-x":oe()}],"skew-y":[{"skew-y":oe()}],transform:[{transform:[ln,sn,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:le()}],"translate-x":[{"translate-x":le()}],"translate-y":[{"translate-y":le()}],"translate-z":[{"translate-z":le()}],"translate-none":["translate-none"],accent:[{accent:Y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Y()}],"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",ln,sn]}],"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":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"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",ln,sn]}],fill:[{fill:["none",...Y()]}],"stroke-w":[{stroke:[oi,H0,qm,GE]}],stroke:[{stroke:["none",...Y()]}],"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"]}},C1e=r1e(N1e);function Ut(...t){return C1e(nR(t))}function h$(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function ws(...t){return e=>{let n=!1;const i=t.map(r=>{const a=h$(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():h$(t[r],null)}}}}function Jn(...t){return N.useCallback(ws(...t),t)}var x1e=Symbol.for("react.lazy"),dN=Bf[" use ".trim().toString()];function F1e(t){return typeof t=="object"&&t!==null&&"then"in t}function SX(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===x1e&&"_payload"in t&&F1e(t._payload)}function jv(t){const e=_1e(t),n=N.forwardRef((i,r)=>{let{children:a,...o}=i;SX(a)&&typeof dN=="function"&&(a=dN(a._payload));const s=N.Children.toArray(a),l=s.find(B1e);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 y.jsx(e,{...o,ref:r,children:N.isValidElement(c)?N.cloneElement(c,void 0,d):null})}return y.jsx(e,{...o,ref:r,children:a})});return n.displayName=`${t}.Slot`,n}var aR=jv("Slot");function _1e(t){const e=N.forwardRef((n,i)=>{let{children:r,...a}=n;if(SX(r)&&typeof dN=="function"&&(r=dN(r._payload)),N.isValidElement(r)){const o=D1e(r),s=T1e(a,r.props);return r.type!==N.Fragment&&(s.ref=i?ws(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 E1e=Symbol("radix.slottable");function B1e(t){return N.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===E1e}function T1e(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 D1e(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 wh=iR("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 Qt({className:t,variant:e,size:n,asChild:i=!1,...r}){const a=i?aR:"button";return y.jsx(a,{"data-slot":"button",className:Ut(wh({variant:e,size:n,className:t})),...r})}function fd({className:t,...e}){return y.jsx("div",{"data-slot":"card",className:Ut("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 bu({className:t,...e}){return y.jsx("div",{"data-slot":"card-header",className:Ut("@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 Su({className:t,...e}){return y.jsx("div",{"data-slot":"card-title",className:Ut("leading-none font-semibold",t),...e})}function P4({className:t,...e}){return y.jsx("div",{"data-slot":"card-description",className:Ut("text-gray-500 text-sm dark:text-gray-400",t),...e})}function Ad({className:t,...e}){return y.jsx("div",{"data-slot":"card-content",className:Ut("px-6",t),...e})}function sft({className:t,...e}){return y.jsx("div",{"data-slot":"card-footer",className:Ut("flex items-center px-6 [.border-t]:pt-6",t),...e})}function p$(){const t=WY();if(pv(t))switch(t.status){case 404:return y.jsx(Zp,{icon:y.jsx(Yp,{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:y.jsxs("div",{className:"flex gap-4",children:[y.jsx(no,{to:$n.HOME,children:y.jsxs(Qt,{variant:"default",children:[y.jsx(Cg,{className:"mr-2 h-4 w-4"}),"Go Home"]})}),y.jsx(Qt,{variant:"outline",onClick:()=>window.history.back(),children:"Go Back"})]})});case 401:return y.jsx(Zp,{icon:y.jsx(Yp,{className:"h-16 w-16 text-red-500"}),title:"Unauthorized",description:"You need to be logged in to access this page.",statusCode:401,children:y.jsx(no,{to:$n.LOGIN,children:y.jsx(Qt,{variant:"default",children:"Go to Login"})})});case 403:return y.jsx(Zp,{icon:y.jsx(Yp,{className:"h-16 w-16 text-red-500"}),title:"Forbidden",description:"You don't have permission to access this resource.",statusCode:403,children:y.jsx(no,{to:$n.HOME,children:y.jsxs(Qt,{variant:"default",children:[y.jsx(Cg,{className:"mr-2 h-4 w-4"}),"Go Home"]})})});case 500:return y.jsx(Zp,{icon:y.jsx(Yp,{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:y.jsxs("div",{className:"flex gap-4",children:[y.jsxs(Qt,{variant:"default",onClick:()=>window.location.reload(),children:[y.jsx(r$,{className:"mr-2 h-4 w-4"}),"Reload Page"]}),y.jsx(no,{to:$n.HOME,children:y.jsxs(Qt,{variant:"outline",children:[y.jsx(Cg,{className:"mr-2 h-4 w-4"}),"Go Home"]})})]})});default:return y.jsx(Zp,{icon:y.jsx(Yp,{className:"h-16 w-16 text-orange-500"}),title:`Error ${t.status}`,description:t.statusText||"An unexpected error occurred",statusCode:t.status,children:y.jsx(no,{to:$n.HOME,children:y.jsxs(Qt,{variant:"default",children:[y.jsx(Cg,{className:"mr-2 h-4 w-4"}),"Go Home"]})})})}return y.jsxs(Zp,{icon:y.jsx(Yp,{className:"h-16 w-16 text-red-500"}),title:"Unexpected Error",description:"An unexpected error occurred. Please try again.",children:[!1,y.jsxs("div",{className:"flex gap-4 mt-4",children:[y.jsxs(Qt,{variant:"default",onClick:()=>window.location.reload(),children:[y.jsx(r$,{className:"mr-2 h-4 w-4"}),"Reload Page"]}),y.jsx(no,{to:$n.HOME,children:y.jsxs(Qt,{variant:"outline",children:[y.jsx(Cg,{className:"mr-2 h-4 w-4"}),"Go Home"]})})]})]})}function Zp({icon:t,title:e,description:n,statusCode:i,children:r}){return y.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50 p-4",children:y.jsxs(fd,{className:"max-w-md w-full",children:[y.jsxs(bu,{className:"text-center space-y-4",children:[y.jsx("div",{className:"flex justify-center",children:t}),y.jsxs("div",{children:[y.jsxs(Su,{className:"text-2xl font-bold",children:[e,i&&y.jsxs("span",{className:"ml-2 text-sm text-muted-foreground",children:["(",i,")"]})]}),y.jsx(P4,{className:"mt-2",children:n})]})]}),y.jsx(Ad,{className:"flex flex-col items-center space-y-4",children:r})]})})}function fu({className:t,...e}){return y.jsx("div",{className:Ut("animate-pulse rounded-md bg-gray-900/10 dark:bg-gray-50/10",t),...e})}function I1e(){return y.jsxs("div",{className:"flex flex-col gap-4 p-4",children:[y.jsx(fu,{className:"h-12 w-64"})," ",y.jsxs("div",{className:"flex gap-4",children:[y.jsx(fu,{className:"h-10 w-32"})," ",y.jsx(fu,{className:"h-10 w-32"})]}),y.jsx(fu,{className:"h-96 w-full"})," "]})}function gl(){return y.jsxs("div",{className:"flex flex-col gap-2",children:[y.jsx(fu,{className:"h-12 w-full"})," ",Array.from({length:8}).map((t,e)=>y.jsx(fu,{className:"h-16 w-full"},e))]})}function Gs(){return y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsx(fu,{className:"h-16 w-96"})," ",y.jsxs("div",{className:"flex gap-4",children:[y.jsx(fu,{className:"h-10 w-48"})," ",y.jsx(fu,{className:"h-10 w-32"})," "]}),y.jsx(fu,{className:"h-[600px] w-full"})," "]})}const g$=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},O1e=(t=>t?g$(t):g$),R1e=t=>t;function P1e(t,e=R1e){const n=se.useSyncExternalStore(t.subscribe,se.useCallback(()=>e(t.getState()),[t,e]),se.useCallback(()=>e(t.getInitialState()),[t,e]));return se.useDebugValue(n),n}const v$=t=>{const e=O1e(t),n=i=>P1e(e,i);return Object.assign(n,e),n},L1e=(t=>t?v$(t):v$),wX=L1e(t=>({isMinimized:!0,toggle:()=>t(e=>({isMinimized:!e.isMinimized}))}));function U1e(){const e=KY().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?y.jsx("div",{className:"h-8"}):y.jsxs("nav",{"aria-label":"Breadcrumb",className:"flex items-center space-x-1 text-sm text-gray-600",children:[y.jsx(no,{to:"/",className:"flex items-center hover:text-gray-900 transition-colors","aria-label":"Home",children:y.jsx(Cg,{className:"h-4 w-4"})}),e.map((n,i)=>y.jsxs(N.Fragment,{children:[y.jsx(lke,{className:"h-4 w-4 text-gray-400"}),n.isLast?y.jsx("span",{className:"font-medium text-gray-900","aria-current":"page",children:n.title}):y.jsx(no,{to:n.path,className:"hover:text-gray-900 transition-colors",children:n.title})]},`${n.path}-${i}`))]})}function M1e({filtersContext:t}){return y.jsx("footer",{className:"fixed left-0 right-0 bottom-0 z-20 border-t bg-white/95 backdrop-blur-sm",children:y.jsx("div",{className:"flex h-14 flex-row items-center justify-center px-4",children:t})})}const NX=6048e5,$1e=864e5,y$=Symbol.for("constructDateFrom");function wu(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&y$ in t?t[y$](e):t instanceof Date?new t.constructor(e):new Date(e)}function Il(t,e){return wu(e||t,t)}function j1e(t,e,n){const i=Il(t,n?.in);if(isNaN(e))return wu(t,NaN);if(!e)return i;const r=i.getDate(),a=wu(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 Q1e={};function a2(){return Q1e}function ak(t,e){const n=a2(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=Il(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 uN(t,e){return ak(t,{...e,weekStartsOn:1})}function CX(t,e){const n=Il(t,e?.in),i=n.getFullYear(),r=wu(n,0);r.setFullYear(i+1,0,4),r.setHours(0,0,0,0);const a=uN(r),o=wu(n,0);o.setFullYear(i,0,4),o.setHours(0,0,0,0);const s=uN(o);return n.getTime()>=a.getTime()?i+1:n.getTime()>=s.getTime()?i:i-1}function k$(t){const e=Il(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 H1e(t,...e){const n=wu.bind(null,e.find(i=>typeof i=="object"));return e.map(n)}function b$(t,e){const n=Il(t,e?.in);return n.setHours(0,0,0,0),n}function z1e(t,e,n){const[i,r]=H1e(n?.in,t,e),a=b$(i),o=b$(r),s=+a-k$(a),l=+o-k$(o);return Math.round((s-l)/$1e)}function V1e(t,e){const n=CX(t,e),i=wu(t,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),uN(i)}function G1e(t,e,n){return j1e(t,e*12,n)}function q1e(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function K1e(t){return!(!q1e(t)&&typeof t!="number"||isNaN(+Il(t)))}function W1e(t,e){const n=Il(t,e?.in),i=n.getFullYear();return n.setFullYear(i+1,0,0),n.setHours(23,59,59,999),n}function xX(t,e){const n=Il(t,e?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const Y1e={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"}},X1e=(t,e,n)=>{let i;const r=Y1e[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 qE(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const Z1e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},J1e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},eSe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},tSe={date:qE({formats:Z1e,defaultWidth:"full"}),time:qE({formats:J1e,defaultWidth:"full"}),dateTime:qE({formats:eSe,defaultWidth:"full"})},nSe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},iSe=(t,e,n,i)=>nSe[t];function z0(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 rSe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},aSe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},oSe={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"]},sSe={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"]},lSe={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"}},cSe={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"}},dSe=(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"},uSe={ordinalNumber:dSe,era:z0({values:rSe,defaultWidth:"wide"}),quarter:z0({values:aSe,defaultWidth:"wide",argumentCallback:t=>t-1}),month:z0({values:oSe,defaultWidth:"wide"}),day:z0({values:sSe,defaultWidth:"wide"}),dayPeriod:z0({values:lSe,defaultWidth:"wide",formattingValues:cSe,defaultFormattingWidth:"wide"})};function V0(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)?ASe(s,f=>f.test(o)):fSe(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 fSe(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function ASe(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function mSe(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 hSe=/^(\d+)(th|st|nd|rd)?/i,pSe=/\d+/i,gSe={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},vSe={any:[/^b/i,/^(a|c)/i]},ySe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},kSe={any:[/1/i,/2/i,/3/i,/4/i]},bSe={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},SSe={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]},wSe={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},NSe={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]},CSe={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},xSe={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}},FSe={ordinalNumber:mSe({matchPattern:hSe,parsePattern:pSe,valueCallback:t=>parseInt(t,10)}),era:V0({matchPatterns:gSe,defaultMatchWidth:"wide",parsePatterns:vSe,defaultParseWidth:"any"}),quarter:V0({matchPatterns:ySe,defaultMatchWidth:"wide",parsePatterns:kSe,defaultParseWidth:"any",valueCallback:t=>t+1}),month:V0({matchPatterns:bSe,defaultMatchWidth:"wide",parsePatterns:SSe,defaultParseWidth:"any"}),day:V0({matchPatterns:wSe,defaultMatchWidth:"wide",parsePatterns:NSe,defaultParseWidth:"any"}),dayPeriod:V0({matchPatterns:CSe,defaultMatchWidth:"any",parsePatterns:xSe,defaultParseWidth:"any"})},_Se={code:"en-US",formatDistance:X1e,formatLong:tSe,formatRelative:iSe,localize:uSe,match:FSe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ESe(t,e){const n=Il(t,e?.in);return z1e(n,xX(n))+1}function BSe(t,e){const n=Il(t,e?.in),i=+uN(n)-+V1e(n);return Math.round(i/NX)+1}function FX(t,e){const n=Il(t,e?.in),i=n.getFullYear(),r=a2(),a=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=wu(e?.in||t,0);o.setFullYear(i+1,0,a),o.setHours(0,0,0,0);const s=ak(o,e),l=wu(e?.in||t,0);l.setFullYear(i,0,a),l.setHours(0,0,0,0);const c=ak(l,e);return+n>=+s?i+1:+n>=+c?i:i-1}function TSe(t,e){const n=a2(),i=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,r=FX(t,e),a=wu(e?.in||t,0);return a.setFullYear(r,0,i),a.setHours(0,0,0,0),ak(a,e)}function DSe(t,e){const n=Il(t,e?.in),i=+ak(n,e)-+TSe(n,e);return Math.round(i/NX)+1}function ar(t,e){const n=t<0?"-":"",i=Math.abs(t).toString().padStart(e,"0");return n+i}const xA={y(t,e){const n=t.getFullYear(),i=n>0?n:1-n;return ar(e==="yy"?i%100:i,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):ar(n+1,2)},d(t,e){return ar(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];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return ar(t.getHours()%12||12,e.length)},H(t,e){return ar(t.getHours(),e.length)},m(t,e){return ar(t.getMinutes(),e.length)},s(t,e){return ar(t.getSeconds(),e.length)},S(t,e){const n=e.length,i=t.getMilliseconds(),r=Math.trunc(i*Math.pow(10,n-3));return ar(r,e.length)}},Jp={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},S$={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"});case"GGGG":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 xA.y(t,e)},Y:function(t,e,n,i){const r=FX(t,i),a=r>0?r:1-r;if(e==="YY"){const o=a%100;return ar(o,2)}return e==="Yo"?n.ordinalNumber(a,{unit:"year"}):ar(a,e.length)},R:function(t,e){const n=CX(t);return ar(n,e.length)},u:function(t,e){const n=t.getFullYear();return ar(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 ar(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"});case"QQQQ":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 ar(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"});case"qqqq":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 xA.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"});case"MMMM":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 ar(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"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,e,n,i){const r=DSe(t,i);return e==="wo"?n.ordinalNumber(r,{unit:"week"}):ar(r,e.length)},I:function(t,e,n){const i=BSe(t);return e==="Io"?n.ordinalNumber(i,{unit:"week"}):ar(i,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):xA.d(t,e)},D:function(t,e,n){const i=ESe(t);return e==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):ar(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"});case"EEEE":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 ar(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"});case"eeee":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 ar(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"});case"cccc":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 ar(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"});case"iiii":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"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){const i=t.getHours();let r;switch(i===12?r=Jp.noon:i===0?r=Jp.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"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){const i=t.getHours();let r;switch(i>=17?r=Jp.evening:i>=12?r=Jp.afternoon:i>=4?r=Jp.morning:r=Jp.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"});case"BBBB":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 xA.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):xA.H(t,e)},K:function(t,e,n){const i=t.getHours()%12;return e==="Ko"?n.ordinalNumber(i,{unit:"hour"}):ar(i,e.length)},k:function(t,e,n){let i=t.getHours();return i===0&&(i=24),e==="ko"?n.ordinalNumber(i,{unit:"hour"}):ar(i,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):xA.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):xA.s(t,e)},S:function(t,e){return xA.S(t,e)},X:function(t,e,n){const i=t.getTimezoneOffset();if(i===0)return"Z";switch(e){case"X":return N$(i);case"XXXX":case"XX":return Jm(i);case"XXXXX":case"XXX":default:return Jm(i,":")}},x:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"x":return N$(i);case"xxxx":case"xx":return Jm(i);case"xxxxx":case"xxx":default:return Jm(i,":")}},O:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+w$(i,":");case"OOOO":default:return"GMT"+Jm(i,":")}},z:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+w$(i,":");case"zzzz":default:return"GMT"+Jm(i,":")}},t:function(t,e,n){const i=Math.trunc(+t/1e3);return ar(i,e.length)},T:function(t,e,n){return ar(+t,e.length)}};function w$(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+ar(a,2)}function N$(t,e){return t%60===0?(t>0?"-":"+")+ar(Math.abs(t)/60,2):Jm(t,e)}function Jm(t,e=""){const n=t>0?"-":"+",i=Math.abs(t),r=ar(Math.trunc(i/60),2),a=ar(i%60,2);return n+r+e+a}const C$=(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"});case"PPPP":default:return e.date({width:"full"})}},_X=(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"});case"pppp":default:return e.time({width:"full"})}},ISe=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],i=n[1],r=n[2];if(!r)return C$(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;case"PPPP":default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",C$(i,e)).replace("{{time}}",_X(r,e))},OSe={p:_X,P:ISe},RSe=/^D+$/,PSe=/^Y+$/,LSe=["D","DD","YY","YYYY"];function USe(t){return RSe.test(t)}function MSe(t){return PSe.test(t)}function $Se(t,e,n){const i=jSe(t,e,n);if(console.warn(i),LSe.includes(t))throw new RangeError(i)}function jSe(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 QSe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,HSe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,zSe=/^'([^]*?)'?$/,VSe=/''/g,GSe=/[a-zA-Z]/;function Nh(t,e,n){const i=a2(),r=n?.locale??i.locale??_Se,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=Il(t,n?.in);if(!K1e(s))throw new RangeError("Invalid time value");let l=e.match(HSe).map(d=>{const f=d[0];if(f==="p"||f==="P"){const h=OSe[f];return h(d,r.formatLong)}return d}).join("").match(QSe).map(d=>{if(d==="''")return{isToken:!1,value:"'"};const f=d[0];if(f==="'")return{isToken:!1,value:qSe(d)};if(S$[f])return{isToken:!0,value:d};if(f.match(GSe))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&&MSe(f)||!n?.useAdditionalDayOfYearTokens&&USe(f))&&$Se(f,e,String(t));const h=S$[f[0]];return h(s,f,r.localize,c)}).join("")}function qSe(t){const e=t.match(zSe);return e?e[1].replace(VSe,"'"):t}function KSe(t,e,n){return G1e(t,-1,n)}var KE={exports:{}},WE={},G0={},x$;function WSe(){if(x$)return G0;x$=1,G0.byteLength=s,G0.toByteArray=c,G0.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 p=m.length;if(p%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var g=m.indexOf("=");g===-1&&(g=p);var b=g===p?0:4-g%4;return[g,b]}function s(m){var p=o(m),g=p[0],b=p[1];return(g+b)*3/4-b}function l(m,p,g){return(p+g)*3/4-g}function c(m){var p,g=o(m),b=g[0],k=g[1],S=new n(l(m,b,k)),C=0,x=k>0?b-4:b,F;for(F=0;F<x;F+=4)p=e[m.charCodeAt(F)]<<18|e[m.charCodeAt(F+1)]<<12|e[m.charCodeAt(F+2)]<<6|e[m.charCodeAt(F+3)],S[C++]=p>>16&255,S[C++]=p>>8&255,S[C++]=p&255;return k===2&&(p=e[m.charCodeAt(F)]<<2|e[m.charCodeAt(F+1)]>>4,S[C++]=p&255),k===1&&(p=e[m.charCodeAt(F)]<<10|e[m.charCodeAt(F+1)]<<4|e[m.charCodeAt(F+2)]>>2,S[C++]=p>>8&255,S[C++]=p&255),S}function d(m){return t[m>>18&63]+t[m>>12&63]+t[m>>6&63]+t[m&63]}function f(m,p,g){for(var b,k=[],S=p;S<g;S+=3)b=(m[S]<<16&16711680)+(m[S+1]<<8&65280)+(m[S+2]&255),k.push(d(b));return k.join("")}function h(m){for(var p,g=m.length,b=g%3,k=[],S=16383,C=0,x=g-b;C<x;C+=S)k.push(f(m,C,C+S>x?x:C+S));return b===1?(p=m[g-1],k.push(t[p>>2]+t[p<<4&63]+"==")):b===2&&(p=(m[g-2]<<8)+m[g-1],k.push(t[p>>10]+t[p>>4&63]+t[p<<2&63]+"=")),k.join("")}return G0}var U1={};var F$;function YSe(){return F$||(F$=1,U1.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)},U1.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,p=i?1:-1,g=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+=p,s/=256,r-=8);for(o=o<<r|s,c+=r;c>0;t[n+m]=o&255,m+=p,o/=256,c-=8);t[n+m-p]|=g*128}),U1}var _$;function Mk(){return _$||(_$=1,(function(t){var e=WSe(),n=YSe(),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.SlowBuffer=S,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 Ae=new Uint8Array(1),Q={foo:function(){return 42}};return Object.setPrototypeOf(Q,Uint8Array.prototype),Object.setPrototypeOf(Ae,Q),Ae.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(Ae){if(Ae>r)throw new RangeError('The value "'+Ae+'" is invalid for option "size"');var Q=new Uint8Array(Ae);return Object.setPrototypeOf(Q,s.prototype),Q}function s(Ae,Q,X){if(typeof Ae=="number"){if(typeof Q=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(Ae)}return l(Ae,Q,X)}s.poolSize=8192;function l(Ae,Q,X){if(typeof Ae=="string")return h(Ae,Q);if(ArrayBuffer.isView(Ae))return p(Ae);if(Ae==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ae);if(Ee(Ae,ArrayBuffer)||Ae&&Ee(Ae.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ee(Ae,SharedArrayBuffer)||Ae&&Ee(Ae.buffer,SharedArrayBuffer)))return g(Ae,Q,X);if(typeof Ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ne=Ae.valueOf&&Ae.valueOf();if(ne!=null&&ne!==Ae)return s.from(ne,Q,X);var ce=b(Ae);if(ce)return ce;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ae[Symbol.toPrimitive]=="function")return s.from(Ae[Symbol.toPrimitive]("string"),Q,X);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ae)}s.from=function(Ae,Q,X){return l(Ae,Q,X)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function c(Ae){if(typeof Ae!="number")throw new TypeError('"size" argument must be of type number');if(Ae<0)throw new RangeError('The value "'+Ae+'" is invalid for option "size"')}function d(Ae,Q,X){return c(Ae),Ae<=0?o(Ae):Q!==void 0?typeof X=="string"?o(Ae).fill(Q,X):o(Ae).fill(Q):o(Ae)}s.alloc=function(Ae,Q,X){return d(Ae,Q,X)};function f(Ae){return c(Ae),o(Ae<0?0:k(Ae)|0)}s.allocUnsafe=function(Ae){return f(Ae)},s.allocUnsafeSlow=function(Ae){return f(Ae)};function h(Ae,Q){if((typeof Q!="string"||Q==="")&&(Q="utf8"),!s.isEncoding(Q))throw new TypeError("Unknown encoding: "+Q);var X=C(Ae,Q)|0,ne=o(X),ce=ne.write(Ae,Q);return ce!==X&&(ne=ne.slice(0,ce)),ne}function m(Ae){for(var Q=Ae.length<0?0:k(Ae.length)|0,X=o(Q),ne=0;ne<Q;ne+=1)X[ne]=Ae[ne]&255;return X}function p(Ae){if(Ee(Ae,Uint8Array)){var Q=new Uint8Array(Ae);return g(Q.buffer,Q.byteOffset,Q.byteLength)}return m(Ae)}function g(Ae,Q,X){if(Q<0||Ae.byteLength<Q)throw new RangeError('"offset" is outside of buffer bounds');if(Ae.byteLength<Q+(X||0))throw new RangeError('"length" is outside of buffer bounds');var ne;return Q===void 0&&X===void 0?ne=new Uint8Array(Ae):X===void 0?ne=new Uint8Array(Ae,Q):ne=new Uint8Array(Ae,Q,X),Object.setPrototypeOf(ne,s.prototype),ne}function b(Ae){if(s.isBuffer(Ae)){var Q=k(Ae.length)|0,X=o(Q);return X.length===0||Ae.copy(X,0,0,Q),X}if(Ae.length!==void 0)return typeof Ae.length!="number"||Le(Ae.length)?o(0):m(Ae);if(Ae.type==="Buffer"&&Array.isArray(Ae.data))return m(Ae.data)}function k(Ae){if(Ae>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return Ae|0}function S(Ae){return+Ae!=Ae&&(Ae=0),s.alloc(+Ae)}s.isBuffer=function(Q){return Q!=null&&Q._isBuffer===!0&&Q!==s.prototype},s.compare=function(Q,X){if(Ee(Q,Uint8Array)&&(Q=s.from(Q,Q.offset,Q.byteLength)),Ee(X,Uint8Array)&&(X=s.from(X,X.offset,X.byteLength)),!s.isBuffer(Q)||!s.isBuffer(X))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Q===X)return 0;for(var ne=Q.length,ce=X.length,ke=0,Ne=Math.min(ne,ce);ke<Ne;++ke)if(Q[ke]!==X[ke]){ne=Q[ke],ce=X[ke];break}return ne<ce?-1:ce<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,X){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(X===void 0)for(X=0,ne=0;ne<Q.length;++ne)X+=Q[ne].length;var ce=s.allocUnsafe(X),ke=0;for(ne=0;ne<Q.length;++ne){var Ne=Q[ne];if(Ee(Ne,Uint8Array))ke+Ne.length>ce.length?s.from(Ne).copy(ce,ke):Uint8Array.prototype.set.call(ce,Ne,ke);else if(s.isBuffer(Ne))Ne.copy(ce,ke);else throw new TypeError('"list" argument must be an Array of Buffers');ke+=Ne.length}return ce};function C(Ae,Q){if(s.isBuffer(Ae))return Ae.length;if(ArrayBuffer.isView(Ae)||Ee(Ae,ArrayBuffer))return Ae.byteLength;if(typeof Ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Ae);var X=Ae.length,ne=arguments.length>2&&arguments[2]===!0;if(!ne&&X===0)return 0;for(var ce=!1;;)switch(Q){case"ascii":case"latin1":case"binary":return X;case"utf8":case"utf-8":return fe(Ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return X*2;case"hex":return X>>>1;case"base64":return oe(Ae).length;default:if(ce)return ne?-1:fe(Ae).length;Q=(""+Q).toLowerCase(),ce=!0}}s.byteLength=C;function x(Ae,Q,X){var ne=!1;if((Q===void 0||Q<0)&&(Q=0),Q>this.length||((X===void 0||X>this.length)&&(X=this.length),X<=0)||(X>>>=0,Q>>>=0,X<=Q))return"";for(Ae||(Ae="utf8");;)switch(Ae){case"hex":return ue(this,Q,X);case"utf8":case"utf-8":return q(this,Q,X);case"ascii":return te(this,Q,X);case"latin1":case"binary":return Y(this,Q,X);case"base64":return Z(this,Q,X);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,Q,X);default:if(ne)throw new TypeError("Unknown encoding: "+Ae);Ae=(Ae+"").toLowerCase(),ne=!0}}s.prototype._isBuffer=!0;function F(Ae,Q,X){var ne=Ae[Q];Ae[Q]=Ae[X],Ae[X]=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 X=0;X<Q;X+=2)F(this,X,X+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 X=0;X<Q;X+=4)F(this,X,X+3),F(this,X+1,X+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 X=0;X<Q;X+=8)F(this,X,X+7),F(this,X+1,X+6),F(this,X+2,X+5),F(this,X+3,X+4);return this},s.prototype.toString=function(){var Q=this.length;return Q===0?"":arguments.length===0?q(this,0,Q):x.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="",X=t.INSPECT_MAX_BYTES;return Q=this.toString("hex",0,X).replace(/(.{2})/g,"$1 ").trim(),this.length>X&&(Q+=" ... "),"<Buffer "+Q+">"},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(Q,X,ne,ce,ke){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(X===void 0&&(X=0),ne===void 0&&(ne=Q?Q.length:0),ce===void 0&&(ce=0),ke===void 0&&(ke=this.length),X<0||ne>Q.length||ce<0||ke>this.length)throw new RangeError("out of range index");if(ce>=ke&&X>=ne)return 0;if(ce>=ke)return-1;if(X>=ne)return 1;if(X>>>=0,ne>>>=0,ce>>>=0,ke>>>=0,this===Q)return 0;for(var Ne=ke-ce,$e=ne-X,Ge=Math.min(Ne,$e),He=this.slice(ce,ke),We=Q.slice(X,ne),ct=0;ct<Ge;++ct)if(He[ct]!==We[ct]){Ne=He[ct],$e=We[ct];break}return Ne<$e?-1:$e<Ne?1:0};function T(Ae,Q,X,ne,ce){if(Ae.length===0)return-1;if(typeof X=="string"?(ne=X,X=0):X>2147483647?X=2147483647:X<-2147483648&&(X=-2147483648),X=+X,Le(X)&&(X=ce?0:Ae.length-1),X<0&&(X=Ae.length+X),X>=Ae.length){if(ce)return-1;X=Ae.length-1}else if(X<0)if(ce)X=0;else return-1;if(typeof Q=="string"&&(Q=s.from(Q,ne)),s.isBuffer(Q))return Q.length===0?-1:E(Ae,Q,X,ne,ce);if(typeof Q=="number")return Q=Q&255,typeof Uint8Array.prototype.indexOf=="function"?ce?Uint8Array.prototype.indexOf.call(Ae,Q,X):Uint8Array.prototype.lastIndexOf.call(Ae,Q,X):E(Ae,[Q],X,ne,ce);throw new TypeError("val must be string, number or Buffer")}function E(Ae,Q,X,ne,ce){var ke=1,Ne=Ae.length,$e=Q.length;if(ne!==void 0&&(ne=String(ne).toLowerCase(),ne==="ucs2"||ne==="ucs-2"||ne==="utf16le"||ne==="utf-16le")){if(Ae.length<2||Q.length<2)return-1;ke=2,Ne/=2,$e/=2,X/=2}function Ge(yt,me){return ke===1?yt[me]:yt.readUInt16BE(me*ke)}var He;if(ce){var We=-1;for(He=X;He<Ne;He++)if(Ge(Ae,He)===Ge(Q,We===-1?0:He-We)){if(We===-1&&(We=He),He-We+1===$e)return We*ke}else We!==-1&&(He-=He-We),We=-1}else for(X+$e>Ne&&(X=Ne-$e),He=X;He>=0;He--){for(var ct=!0,ut=0;ut<$e;ut++)if(Ge(Ae,He+ut)!==Ge(Q,ut)){ct=!1;break}if(ct)return He}return-1}s.prototype.includes=function(Q,X,ne){return this.indexOf(Q,X,ne)!==-1},s.prototype.indexOf=function(Q,X,ne){return T(this,Q,X,ne,!0)},s.prototype.lastIndexOf=function(Q,X,ne){return T(this,Q,X,ne,!1)};function I(Ae,Q,X,ne){X=Number(X)||0;var ce=Ae.length-X;ne?(ne=Number(ne),ne>ce&&(ne=ce)):ne=ce;var ke=Q.length;ne>ke/2&&(ne=ke/2);for(var Ne=0;Ne<ne;++Ne){var $e=parseInt(Q.substr(Ne*2,2),16);if(Le($e))return Ne;Ae[X+Ne]=$e}return Ne}function R(Ae,Q,X,ne){return le(fe(Q,Ae.length-X),Ae,X,ne)}function V(Ae,Q,X,ne){return le(ge(Q),Ae,X,ne)}function U(Ae,Q,X,ne){return le(oe(Q),Ae,X,ne)}function P(Ae,Q,X,ne){return le(Se(Q,Ae.length-X),Ae,X,ne)}s.prototype.write=function(Q,X,ne,ce){if(X===void 0)ce="utf8",ne=this.length,X=0;else if(ne===void 0&&typeof X=="string")ce=X,ne=this.length,X=0;else if(isFinite(X))X=X>>>0,isFinite(ne)?(ne=ne>>>0,ce===void 0&&(ce="utf8")):(ce=ne,ne=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ke=this.length-X;if((ne===void 0||ne>ke)&&(ne=ke),Q.length>0&&(ne<0||X<0)||X>this.length)throw new RangeError("Attempt to write outside buffer bounds");ce||(ce="utf8");for(var Ne=!1;;)switch(ce){case"hex":return I(this,Q,X,ne);case"utf8":case"utf-8":return R(this,Q,X,ne);case"ascii":case"latin1":case"binary":return V(this,Q,X,ne);case"base64":return U(this,Q,X,ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,Q,X,ne);default:if(Ne)throw new TypeError("Unknown encoding: "+ce);ce=(""+ce).toLowerCase(),Ne=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Z(Ae,Q,X){return Q===0&&X===Ae.length?e.fromByteArray(Ae):e.fromByteArray(Ae.slice(Q,X))}function q(Ae,Q,X){X=Math.min(Ae.length,X);for(var ne=[],ce=Q;ce<X;){var ke=Ae[ce],Ne=null,$e=ke>239?4:ke>223?3:ke>191?2:1;if(ce+$e<=X){var Ge,He,We,ct;switch($e){case 1:ke<128&&(Ne=ke);break;case 2:Ge=Ae[ce+1],(Ge&192)===128&&(ct=(ke&31)<<6|Ge&63,ct>127&&(Ne=ct));break;case 3:Ge=Ae[ce+1],He=Ae[ce+2],(Ge&192)===128&&(He&192)===128&&(ct=(ke&15)<<12|(Ge&63)<<6|He&63,ct>2047&&(ct<55296||ct>57343)&&(Ne=ct));break;case 4:Ge=Ae[ce+1],He=Ae[ce+2],We=Ae[ce+3],(Ge&192)===128&&(He&192)===128&&(We&192)===128&&(ct=(ke&15)<<18|(Ge&63)<<12|(He&63)<<6|We&63,ct>65535&&ct<1114112&&(Ne=ct))}}Ne===null?(Ne=65533,$e=1):Ne>65535&&(Ne-=65536,ne.push(Ne>>>10&1023|55296),Ne=56320|Ne&1023),ne.push(Ne),ce+=$e}return H(ne)}var ae=4096;function H(Ae){var Q=Ae.length;if(Q<=ae)return String.fromCharCode.apply(String,Ae);for(var X="",ne=0;ne<Q;)X+=String.fromCharCode.apply(String,Ae.slice(ne,ne+=ae));return X}function te(Ae,Q,X){var ne="";X=Math.min(Ae.length,X);for(var ce=Q;ce<X;++ce)ne+=String.fromCharCode(Ae[ce]&127);return ne}function Y(Ae,Q,X){var ne="";X=Math.min(Ae.length,X);for(var ce=Q;ce<X;++ce)ne+=String.fromCharCode(Ae[ce]);return ne}function ue(Ae,Q,X){var ne=Ae.length;(!Q||Q<0)&&(Q=0),(!X||X<0||X>ne)&&(X=ne);for(var ce="",ke=Q;ke<X;++ke)ce+=ve[Ae[ke]];return ce}function we(Ae,Q,X){for(var ne=Ae.slice(Q,X),ce="",ke=0;ke<ne.length-1;ke+=2)ce+=String.fromCharCode(ne[ke]+ne[ke+1]*256);return ce}s.prototype.slice=function(Q,X){var ne=this.length;Q=~~Q,X=X===void 0?ne:~~X,Q<0?(Q+=ne,Q<0&&(Q=0)):Q>ne&&(Q=ne),X<0?(X+=ne,X<0&&(X=0)):X>ne&&(X=ne),X<Q&&(X=Q);var ce=this.subarray(Q,X);return Object.setPrototypeOf(ce,s.prototype),ce};function ie(Ae,Q,X){if(Ae%1!==0||Ae<0)throw new RangeError("offset is not uint");if(Ae+Q>X)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(Q,X,ne){Q=Q>>>0,X=X>>>0,ne||ie(Q,X,this.length);for(var ce=this[Q],ke=1,Ne=0;++Ne<X&&(ke*=256);)ce+=this[Q+Ne]*ke;return ce},s.prototype.readUintBE=s.prototype.readUIntBE=function(Q,X,ne){Q=Q>>>0,X=X>>>0,ne||ie(Q,X,this.length);for(var ce=this[Q+--X],ke=1;X>0&&(ke*=256);)ce+=this[Q+--X]*ke;return ce},s.prototype.readUint8=s.prototype.readUInt8=function(Q,X){return Q=Q>>>0,X||ie(Q,1,this.length),this[Q]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(Q,X){return Q=Q>>>0,X||ie(Q,2,this.length),this[Q]|this[Q+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(Q,X){return Q=Q>>>0,X||ie(Q,2,this.length),this[Q]<<8|this[Q+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(Q,X){return Q=Q>>>0,X||ie(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,X){return Q=Q>>>0,X||ie(Q,4,this.length),this[Q]*16777216+(this[Q+1]<<16|this[Q+2]<<8|this[Q+3])},s.prototype.readIntLE=function(Q,X,ne){Q=Q>>>0,X=X>>>0,ne||ie(Q,X,this.length);for(var ce=this[Q],ke=1,Ne=0;++Ne<X&&(ke*=256);)ce+=this[Q+Ne]*ke;return ke*=128,ce>=ke&&(ce-=Math.pow(2,8*X)),ce},s.prototype.readIntBE=function(Q,X,ne){Q=Q>>>0,X=X>>>0,ne||ie(Q,X,this.length);for(var ce=X,ke=1,Ne=this[Q+--ce];ce>0&&(ke*=256);)Ne+=this[Q+--ce]*ke;return ke*=128,Ne>=ke&&(Ne-=Math.pow(2,8*X)),Ne},s.prototype.readInt8=function(Q,X){return Q=Q>>>0,X||ie(Q,1,this.length),this[Q]&128?(255-this[Q]+1)*-1:this[Q]},s.prototype.readInt16LE=function(Q,X){Q=Q>>>0,X||ie(Q,2,this.length);var ne=this[Q]|this[Q+1]<<8;return ne&32768?ne|4294901760:ne},s.prototype.readInt16BE=function(Q,X){Q=Q>>>0,X||ie(Q,2,this.length);var ne=this[Q+1]|this[Q]<<8;return ne&32768?ne|4294901760:ne},s.prototype.readInt32LE=function(Q,X){return Q=Q>>>0,X||ie(Q,4,this.length),this[Q]|this[Q+1]<<8|this[Q+2]<<16|this[Q+3]<<24},s.prototype.readInt32BE=function(Q,X){return Q=Q>>>0,X||ie(Q,4,this.length),this[Q]<<24|this[Q+1]<<16|this[Q+2]<<8|this[Q+3]},s.prototype.readFloatLE=function(Q,X){return Q=Q>>>0,X||ie(Q,4,this.length),n.read(this,Q,!0,23,4)},s.prototype.readFloatBE=function(Q,X){return Q=Q>>>0,X||ie(Q,4,this.length),n.read(this,Q,!1,23,4)},s.prototype.readDoubleLE=function(Q,X){return Q=Q>>>0,X||ie(Q,8,this.length),n.read(this,Q,!0,52,8)},s.prototype.readDoubleBE=function(Q,X){return Q=Q>>>0,X||ie(Q,8,this.length),n.read(this,Q,!1,52,8)};function L(Ae,Q,X,ne,ce,ke){if(!s.isBuffer(Ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(Q>ce||Q<ke)throw new RangeError('"value" argument is out of bounds');if(X+ne>Ae.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(Q,X,ne,ce){if(Q=+Q,X=X>>>0,ne=ne>>>0,!ce){var ke=Math.pow(2,8*ne)-1;L(this,Q,X,ne,ke,0)}var Ne=1,$e=0;for(this[X]=Q&255;++$e<ne&&(Ne*=256);)this[X+$e]=Q/Ne&255;return X+ne},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(Q,X,ne,ce){if(Q=+Q,X=X>>>0,ne=ne>>>0,!ce){var ke=Math.pow(2,8*ne)-1;L(this,Q,X,ne,ke,0)}var Ne=ne-1,$e=1;for(this[X+Ne]=Q&255;--Ne>=0&&($e*=256);)this[X+Ne]=Q/$e&255;return X+ne},s.prototype.writeUint8=s.prototype.writeUInt8=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,1,255,0),this[X]=Q&255,X+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,2,65535,0),this[X]=Q&255,this[X+1]=Q>>>8,X+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,2,65535,0),this[X]=Q>>>8,this[X+1]=Q&255,X+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,4,4294967295,0),this[X+3]=Q>>>24,this[X+2]=Q>>>16,this[X+1]=Q>>>8,this[X]=Q&255,X+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,4,4294967295,0),this[X]=Q>>>24,this[X+1]=Q>>>16,this[X+2]=Q>>>8,this[X+3]=Q&255,X+4},s.prototype.writeIntLE=function(Q,X,ne,ce){if(Q=+Q,X=X>>>0,!ce){var ke=Math.pow(2,8*ne-1);L(this,Q,X,ne,ke-1,-ke)}var Ne=0,$e=1,Ge=0;for(this[X]=Q&255;++Ne<ne&&($e*=256);)Q<0&&Ge===0&&this[X+Ne-1]!==0&&(Ge=1),this[X+Ne]=(Q/$e>>0)-Ge&255;return X+ne},s.prototype.writeIntBE=function(Q,X,ne,ce){if(Q=+Q,X=X>>>0,!ce){var ke=Math.pow(2,8*ne-1);L(this,Q,X,ne,ke-1,-ke)}var Ne=ne-1,$e=1,Ge=0;for(this[X+Ne]=Q&255;--Ne>=0&&($e*=256);)Q<0&&Ge===0&&this[X+Ne+1]!==0&&(Ge=1),this[X+Ne]=(Q/$e>>0)-Ge&255;return X+ne},s.prototype.writeInt8=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,1,127,-128),Q<0&&(Q=255+Q+1),this[X]=Q&255,X+1},s.prototype.writeInt16LE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,2,32767,-32768),this[X]=Q&255,this[X+1]=Q>>>8,X+2},s.prototype.writeInt16BE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,2,32767,-32768),this[X]=Q>>>8,this[X+1]=Q&255,X+2},s.prototype.writeInt32LE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,4,2147483647,-2147483648),this[X]=Q&255,this[X+1]=Q>>>8,this[X+2]=Q>>>16,this[X+3]=Q>>>24,X+4},s.prototype.writeInt32BE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,4,2147483647,-2147483648),Q<0&&(Q=4294967295+Q+1),this[X]=Q>>>24,this[X+1]=Q>>>16,this[X+2]=Q>>>8,this[X+3]=Q&255,X+4};function j(Ae,Q,X,ne,ce,ke){if(X+ne>Ae.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("Index out of range")}function $(Ae,Q,X,ne,ce){return Q=+Q,X=X>>>0,ce||j(Ae,Q,X,4),n.write(Ae,Q,X,ne,23,4),X+4}s.prototype.writeFloatLE=function(Q,X,ne){return $(this,Q,X,!0,ne)},s.prototype.writeFloatBE=function(Q,X,ne){return $(this,Q,X,!1,ne)};function W(Ae,Q,X,ne,ce){return Q=+Q,X=X>>>0,ce||j(Ae,Q,X,8),n.write(Ae,Q,X,ne,52,8),X+8}s.prototype.writeDoubleLE=function(Q,X,ne){return W(this,Q,X,!0,ne)},s.prototype.writeDoubleBE=function(Q,X,ne){return W(this,Q,X,!1,ne)},s.prototype.copy=function(Q,X,ne,ce){if(!s.isBuffer(Q))throw new TypeError("argument should be a Buffer");if(ne||(ne=0),!ce&&ce!==0&&(ce=this.length),X>=Q.length&&(X=Q.length),X||(X=0),ce>0&&ce<ne&&(ce=ne),ce===ne||Q.length===0||this.length===0)return 0;if(X<0)throw new RangeError("targetStart out of bounds");if(ne<0||ne>=this.length)throw new RangeError("Index out of range");if(ce<0)throw new RangeError("sourceEnd out of bounds");ce>this.length&&(ce=this.length),Q.length-X<ce-ne&&(ce=Q.length-X+ne);var ke=ce-ne;return this===Q&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(X,ne,ce):Uint8Array.prototype.set.call(Q,this.subarray(ne,ce),X),ke},s.prototype.fill=function(Q,X,ne,ce){if(typeof Q=="string"){if(typeof X=="string"?(ce=X,X=0,ne=this.length):typeof ne=="string"&&(ce=ne,ne=this.length),ce!==void 0&&typeof ce!="string")throw new TypeError("encoding must be a string");if(typeof ce=="string"&&!s.isEncoding(ce))throw new TypeError("Unknown encoding: "+ce);if(Q.length===1){var ke=Q.charCodeAt(0);(ce==="utf8"&&ke<128||ce==="latin1")&&(Q=ke)}}else typeof Q=="number"?Q=Q&255:typeof Q=="boolean"&&(Q=Number(Q));if(X<0||this.length<X||this.length<ne)throw new RangeError("Out of range index");if(ne<=X)return this;X=X>>>0,ne=ne===void 0?this.length:ne>>>0,Q||(Q=0);var Ne;if(typeof Q=="number")for(Ne=X;Ne<ne;++Ne)this[Ne]=Q;else{var $e=s.isBuffer(Q)?Q:s.from(Q,ce),Ge=$e.length;if(Ge===0)throw new TypeError('The value "'+Q+'" is invalid for argument "value"');for(Ne=0;Ne<ne-X;++Ne)this[Ne+X]=$e[Ne%Ge]}return this};var J=/[^+/0-9A-Za-z-_]/g;function K(Ae){if(Ae=Ae.split("=")[0],Ae=Ae.trim().replace(J,""),Ae.length<2)return"";for(;Ae.length%4!==0;)Ae=Ae+"=";return Ae}function fe(Ae,Q){Q=Q||1/0;for(var X,ne=Ae.length,ce=null,ke=[],Ne=0;Ne<ne;++Ne){if(X=Ae.charCodeAt(Ne),X>55295&&X<57344){if(!ce){if(X>56319){(Q-=3)>-1&&ke.push(239,191,189);continue}else if(Ne+1===ne){(Q-=3)>-1&&ke.push(239,191,189);continue}ce=X;continue}if(X<56320){(Q-=3)>-1&&ke.push(239,191,189),ce=X;continue}X=(ce-55296<<10|X-56320)+65536}else ce&&(Q-=3)>-1&&ke.push(239,191,189);if(ce=null,X<128){if((Q-=1)<0)break;ke.push(X)}else if(X<2048){if((Q-=2)<0)break;ke.push(X>>6|192,X&63|128)}else if(X<65536){if((Q-=3)<0)break;ke.push(X>>12|224,X>>6&63|128,X&63|128)}else if(X<1114112){if((Q-=4)<0)break;ke.push(X>>18|240,X>>12&63|128,X>>6&63|128,X&63|128)}else throw new Error("Invalid code point")}return ke}function ge(Ae){for(var Q=[],X=0;X<Ae.length;++X)Q.push(Ae.charCodeAt(X)&255);return Q}function Se(Ae,Q){for(var X,ne,ce,ke=[],Ne=0;Ne<Ae.length&&!((Q-=2)<0);++Ne)X=Ae.charCodeAt(Ne),ne=X>>8,ce=X%256,ke.push(ce),ke.push(ne);return ke}function oe(Ae){return e.toByteArray(K(Ae))}function le(Ae,Q,X,ne){for(var ce=0;ce<ne&&!(ce+X>=Q.length||ce>=Ae.length);++ce)Q[ce+X]=Ae[ce];return ce}function Ee(Ae,Q){return Ae instanceof Q||Ae!=null&&Ae.constructor!=null&&Ae.constructor.name!=null&&Ae.constructor.name===Q.name}function Le(Ae){return Ae!==Ae}var ve=(function(){for(var Ae="0123456789abcdef",Q=new Array(256),X=0;X<16;++X)for(var ne=X*16,ce=0;ce<16;++ce)Q[ne+ce]=Ae[X]+Ae[ce];return Q})()})(WE)),WE}var YE,E$;function cm(){if(E$)return YE;E$=1;var t=Mk(),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)),YE=n,YE}var M1={},B$;function XSe(){if(B$)return M1;B$=1;var t="\uFEFF";M1.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()},M1.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()},M1}var XE,T$;function EX(){if(T$)return XE;T$=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 XE=e,XE}var ZE={},JE={},$1={exports:{}};var D$;function ZSe(){return D$||(D$=1,(function(t,e){var n=Mk(),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)}})($1,$1.exports)),$1.exports}var I$;function L4(){if(I$)return JE;I$=1;var t=ZSe().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 S;;)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(S)return;k=(""+k).toLowerCase(),S=!0}}function i(k){var S=n(k);if(typeof S!="string"&&(t.isEncoding===e||!e(k)))throw new Error("Unknown encoding: "+k);return S||k}JE.StringDecoder=r;function r(k){this.encoding=i(k);var S;switch(this.encoding){case"utf16le":this.text=f,this.end=h,S=4;break;case"utf8":this.fillLast=l,S=4;break;case"base64":this.text=m,this.end=p,S=3;break;default:this.write=g,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(S)}r.prototype.write=function(k){if(k.length===0)return"";var S,C;if(this.lastNeed){if(S=this.fillLast(k),S===void 0)return"";C=this.lastNeed,this.lastNeed=0}else C=0;return C<k.length?S?S+this.text(k,C):this.text(k,C):S||""},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,S,C){var x=S.length-1;if(x<C)return 0;var F=a(S[x]);return F>=0?(F>0&&(k.lastNeed=F-1),F):--x<C||F===-2?0:(F=a(S[x]),F>=0?(F>0&&(k.lastNeed=F-2),F):--x<C||F===-2?0:(F=a(S[x]),F>=0?(F>0&&(F===2?F=0:k.lastNeed=F-3),F):0))}function s(k,S,C){if((S[0]&192)!==128)return k.lastNeed=0,"�";if(k.lastNeed>1&&S.length>1){if((S[1]&192)!==128)return k.lastNeed=1,"�";if(k.lastNeed>2&&S.length>2&&(S[2]&192)!==128)return k.lastNeed=2,"�"}}function l(k){var S=this.lastTotal-this.lastNeed,C=s(this,k);if(C!==void 0)return C;if(this.lastNeed<=k.length)return k.copy(this.lastChar,S,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);k.copy(this.lastChar,S,0,k.length),this.lastNeed-=k.length}function c(k,S){var C=o(this,k,S);if(!this.lastNeed)return k.toString("utf8",S);this.lastTotal=C;var x=k.length-(C-this.lastNeed);return k.copy(this.lastChar,0,x),k.toString("utf8",S,x)}function d(k){var S=k&&k.length?this.write(k):"";return this.lastNeed?S+"�":S}function f(k,S){if((k.length-S)%2===0){var C=k.toString("utf16le",S);if(C){var x=C.charCodeAt(C.length-1);if(x>=55296&&x<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=k[k.length-2],this.lastChar[1]=k[k.length-1],C.slice(0,-1)}return C}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=k[k.length-1],k.toString("utf16le",S,k.length-1)}function h(k){var S=k&&k.length?this.write(k):"";if(this.lastNeed){var C=this.lastTotal-this.lastNeed;return S+this.lastChar.toString("utf16le",0,C)}return S}function m(k,S){var C=(k.length-S)%3;return C===0?k.toString("base64",S):(this.lastNeed=3-C,this.lastTotal=3,C===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",S,k.length-C))}function p(k){var S=k&&k.length?this.write(k):"";return this.lastNeed?S+this.lastChar.toString("base64",0,3-this.lastNeed):S}function g(k){return k.toString(this.encoding)}function b(k){return k&&k.length?this.write(k):""}return JE}var eB,O$;function JSe(){if(O$)return eB;O$=1;var t=cm().Buffer;eB={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=L4().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="",p=0;p<c.length;p++){var g=c[p];(g&192)!==128?(f>0&&(m+=this.defaultCharUnicode,f=0),g<128?m+=String.fromCharCode(g):g<224?(d=g&31,f=1,h=1):g<240?(d=g&15,f=2,h=1):m+=this.defaultCharUnicode):f>0?(d=d<<6|g&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)}},eB}var df={},R$;function ewe(){if(R$)return df;R$=1;var t=cm().Buffer;df._utf32=e;function e(c,d){this.iconv=d,this.bomAware=!0,this.isLE=c.isLE}df.utf32le={type:"_utf32",isLE:!0},df.utf32be={type:"_utf32",isLE:!1},df.ucs4le="utf32le",df.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,p=0;p<d.length;p+=2){var g=d.readUInt16LE(p),b=g>=55296&&g<56320,k=g>=56320&&g<57344;if(this.highSurrogate)if(b||!k)h.call(f,this.highSurrogate,m),m+=4;else{var S=(this.highSurrogate-55296<<10|g-56320)+65536;h.call(f,S,m),m+=4,this.highSurrogate=0;continue}b?this.highSurrogate=g:(h.call(f,g,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,p=this.isLE,g=this.overflow,b=this.badChar;if(g.length>0){for(;d<c.length&&g.length<4;d++)g.push(c[d]);g.length===4&&(p?f=g[d]|g[d+1]<<8|g[d+2]<<16|g[d+3]<<24:f=g[d+3]|g[d+2]<<8|g[d+1]<<16|g[d]<<24,g.length=0,m=r(h,m,f,b))}for(;d<c.length-3;d+=4)p?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++)g.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},df.utf32=a,df.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,p=0,g=0,b=0;e:for(var k=0;k<c.length;k++)for(var S=c[k],C=0;C<S.length;C++)if(f.push(S[C]),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)&&p++,(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&&g++,f.length=0,h++,h>=100)break e}return b-p>g-m?"utf-32be":b-p<g-m?"utf-32le":d||"utf-32le"}return df}var j1={},P$;function twe(){if(P$)return j1;P$=1;var t=cm().Buffer;j1.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},j1.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 p=0;p<l.length;p++)for(var g=l[p],b=0;b<g.length;b++)if(d.push(g[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 j1}var q0={},L$;function nwe(){if(L$)return q0;L$=1;var t=cm().Buffer;q0.utf7=e,q0.unicode11utf7="utf7";function e(g,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(g,b){this.iconv=b.iconv}i.prototype.write=function(g){return t.from(g.replace(n,(function(b){return"+"+(b==="+"?"":this.iconv.encode(b,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}).bind(this)))},i.prototype.end=function(){};function r(g,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(g){for(var b="",k=0,S=this.inBase64,C=this.base64Accum,x=0;x<g.length;x++)if(!S)g[x]==l&&(b+=this.iconv.decode(g.slice(k,x),"ascii"),k=x+1,S=!0);else if(!o[g[x]]){if(x==k&&g[x]==c)b+="+";else{var F=C+this.iconv.decode(g.slice(k,x),"ascii");b+=this.iconv.decode(t.from(F,"base64"),"utf16-be")}g[x]!=c&&x--,k=x+1,S=!1,C=""}if(!S)b+=this.iconv.decode(g.slice(k),"ascii");else{var F=C+this.iconv.decode(g.slice(k),"ascii"),T=F.length-F.length%8;C=F.slice(T),F=F.slice(0,T),b+=this.iconv.decode(t.from(F,"base64"),"utf16-be")}return this.inBase64=S,this.base64Accum=C,b},r.prototype.end=function(){var g="";return this.inBase64&&this.base64Accum.length>0&&(g=this.iconv.decode(t.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",g},q0.utf7imap=f;function f(g,b){this.iconv=b}f.prototype.encoder=h,f.prototype.decoder=m,f.prototype.bomAware=!0;function h(g,b){this.iconv=b.iconv,this.inBase64=!1,this.base64Accum=t.alloc(6),this.base64AccumIdx=0}h.prototype.write=function(g){for(var b=this.inBase64,k=this.base64Accum,S=this.base64AccumIdx,C=t.alloc(g.length*5+10),x=0,F=0;F<g.length;F++){var T=g.charCodeAt(F);T>=32&&T<=126?(b&&(S>0&&(x+=C.write(k.slice(0,S).toString("base64").replace(/\//g,",").replace(/=+$/,""),x),S=0),C[x++]=c,b=!1),b||(C[x++]=T,T===d&&(C[x++]=c))):(b||(C[x++]=d,b=!0),b&&(k[S++]=T>>8,k[S++]=T&255,S==k.length&&(x+=C.write(k.toString("base64").replace(/\//g,","),x),S=0)))}return this.inBase64=b,this.base64AccumIdx=S,C.slice(0,x)},h.prototype.end=function(){var g=t.alloc(10),b=0;return this.inBase64&&(this.base64AccumIdx>0&&(b+=g.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),b),this.base64AccumIdx=0),g[b++]=c,this.inBase64=!1),g.slice(0,b)};function m(g,b){this.iconv=b.iconv,this.inBase64=!1,this.base64Accum=""}var p=o.slice();return p[44]=!0,m.prototype.write=function(g){for(var b="",k=0,S=this.inBase64,C=this.base64Accum,x=0;x<g.length;x++)if(!S)g[x]==d&&(b+=this.iconv.decode(g.slice(k,x),"ascii"),k=x+1,S=!0);else if(!p[g[x]]){if(x==k&&g[x]==c)b+="&";else{var F=C+this.iconv.decode(g.slice(k,x),"ascii").replace(/,/g,"/");b+=this.iconv.decode(t.from(F,"base64"),"utf16-be")}g[x]!=c&&x--,k=x+1,S=!1,C=""}if(!S)b+=this.iconv.decode(g.slice(k),"ascii");else{var F=C+this.iconv.decode(g.slice(k),"ascii").replace(/,/g,"/"),T=F.length-F.length%8;C=F.slice(T),F=F.slice(0,T),b+=this.iconv.decode(t.from(F,"base64"),"utf16-be")}return this.inBase64=S,this.base64Accum=C,b},m.prototype.end=function(){var g="";return this.inBase64&&this.base64Accum.length>0&&(g=this.iconv.decode(t.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",g},q0}var tB={},U$;function iwe(){if(U$)return tB;U$=1;var t=cm().Buffer;tB._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(){},tB}var nB,M$;function rwe(){return M$||(M$=1,nB={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"}),nB}var iB,$$;function awe(){return $$||($$=1,iB={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
|
|
13
|
+
Please change the parent <Route path="${S}"> to <Route path="${S==="/"?"*":`${S}/*`}">.`)}let h=Lf(),m;m=h;let p=m.pathname||"/",g=p;if(d!=="/"){let S=d.replace(/^\//,"").split("/");g="/"+p.replace(/^\//,"").split("/").slice(S.length).join("/")}let b=LA(t,{pathname:g});return Zr(f||b!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),Zr(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.`),T0e(b&&b.map(S=>Object.assign({},S,{params:Object.assign({},l,S.params),pathname:pu([d,a.encodeLocation?a.encodeLocation(S.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?d:pu([d,a.encodeLocation?a.encodeLocation(S.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathnameBase])})),o,n,i,r)}function F0e(){let t=WY(),e=pv(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 _0e=N.createElement(F0e,null),E0e=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(){return this.state.error!==void 0?N.createElement(yc.Provider,{value:this.props.routeContext},N.createElement(ZO.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function B0e({routeContext:t,match:e,children:n}){let i=N.useContext(Qh);return i&&i.static&&i.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=e.route.id),N.createElement(yc.Provider,{value:t},n)}function T0e(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);si(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,p=f.route.loader&&!h.hasOwnProperty(f.route.id)&&(!m||m[f.route.id]===void 0);if(f.route.lazy||p){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:Pk(n.matches),errorInfo:f})}:void 0;return a.reduceRight((d,f,h)=>{let m,p=!1,g=null,b=null;n&&(m=o&&f.route.id?o[f.route.id]:void 0,g=f.route.errorElement||_0e,s&&(l<0&&h===0?(YY("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),p=!0,b=null):l===h&&(p=!0,b=f.route.hydrateFallbackElement||null)));let k=e.concat(a.slice(0,h+1)),S=()=>{let C;return m?C=g:p?C=b:f.route.Component?C=N.createElement(f.route.Component,null):f.route.element?C=f.route.element:C=d,N.createElement(B0e,{match:f,routeContext:{outlet:d,matches:k,isDataRoute:n!=null},children:C})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?N.createElement(E0e,{location:n.location,revalidation:n.revalidation,component:g,error:m,children:S(),routeContext:{outlet:null,matches:k,isDataRoute:!0},onError:c}):S()},null)}function JO(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function D0e(t){let e=N.useContext(Qh);return si(e,JO(t)),e}function n2(t){let e=N.useContext(Lk);return si(e,JO(t)),e}function I0e(t){let e=N.useContext(yc);return si(e,JO(t)),e}function i2(t){let e=I0e(t),n=e.matches[e.matches.length-1];return si(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function O0e(){return i2("useRouteId")}function R0e(){return n2("useNavigation").navigation}function KY(){let{matches:t,loaderData:e}=n2("useMatches");return N.useMemo(()=>t.map(n=>EY(n,e)),[t,e])}function aft(){let t=n2("useLoaderData"),e=i2("useLoaderData");return t.loaderData[e]}function WY(){let t=N.useContext(ZO),e=n2("useRouteError"),n=i2("useRouteError");return t!==void 0?t:e.errors?.[n]}function P0e(){let{router:t}=D0e("useNavigate"),e=i2("useNavigate"),n=N.useRef(!1);return qY(()=>{n.current=!0}),N.useCallback(async(r,a={})=>{Zr(n.current,GY),n.current&&(typeof r=="number"?await t.navigate(r):await t.navigate(r,{fromRouteId:e,...a}))},[t,e])}var zM={};function YY(t,e,n){!e&&!zM[t]&&(zM[t]=!0,Zr(!1,n))}var VM={};function GM(t,e){!t&&!VM[e]&&(VM[e]=!0,console.warn(e))}var L0e="useOptimistic",qM=Bf[L0e];function U0e(t){return qM?qM(t):[t,()=>{}]}function M0e(t){let e={hasErrorBoundary:t.hasErrorBoundary||t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&(t.element&&Zr(!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&&Zr(!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&&Zr(!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 $0e=["HydrateFallback","hydrateFallbackElement"],j0e=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 Q0e({router:t,flushSync:e,unstable_onError:n,unstable_useTransitions:i}){let[r,a]=N.useState(t.state),[o,s]=U0e(r),[l,c]=N.useState(),[d,f]=N.useState({isTransitioning:!1}),[h,m]=N.useState(),[p,g]=N.useState(),[b,k]=N.useState(),S=N.useRef(new Map),C=N.useCallback((E,{deletedFetchers:I,newErrors:R,flushSync:V,viewTransitionOpts:U})=>{R&&n&&Object.values(R).forEach(Z=>n(Z,{location:E.location,params:E.matches[0]?.params??{},unstable_pattern:Pk(E.matches)})),E.fetchers.forEach((Z,q)=>{Z.data!==void 0&&S.current.set(q,Z.data)}),I.forEach(Z=>S.current.delete(Z)),GM(V===!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 P=t.window!=null&&t.window.document!=null&&typeof t.window.document.startViewTransition=="function";if(GM(U==null||P,"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."),!U||!P){e&&V?e(()=>a(E)):i===!1?a(E):N.startTransition(()=>{i===!0&&s(Z=>KM(Z,E)),a(E)});return}if(e&&V){e(()=>{p&&(h?.resolve(),p.skipTransition()),f({isTransitioning:!0,flushSync:!0,currentLocation:U.currentLocation,nextLocation:U.nextLocation})});let Z=t.window.document.startViewTransition(()=>{e(()=>a(E))});Z.finished.finally(()=>{e(()=>{m(void 0),g(void 0),c(void 0),f({isTransitioning:!1})})}),e(()=>g(Z));return}p?(h?.resolve(),p.skipTransition(),k({state:E,currentLocation:U.currentLocation,nextLocation:U.nextLocation})):(c(E),f({isTransitioning:!0,flushSync:!1,currentLocation:U.currentLocation,nextLocation:U.nextLocation}))},[t.window,e,p,h,i,s,n]);N.useLayoutEffect(()=>t.subscribe(C),[t,C]),N.useEffect(()=>{d.isTransitioning&&!d.flushSync&&m(new j0e)},[d]),N.useEffect(()=>{if(h&&l&&t.window){let E=l,I=h.promise,R=t.window.document.startViewTransition(async()=>{i===!1?a(E):N.startTransition(()=>{i===!0&&s(V=>KM(V,E)),a(E)}),await I});R.finished.finally(()=>{m(void 0),g(void 0),c(void 0),f({isTransitioning:!1})}),g(R)}},[l,h,t.window,i,s]),N.useEffect(()=>{h&&l&&o.location.key===l.location.key&&h.resolve()},[h,p,o.location,l]),N.useEffect(()=>{!d.isTransitioning&&b&&(c(b.state),f({isTransitioning:!0,flushSync:!1,currentLocation:b.currentLocation,nextLocation:b.nextLocation}),k(void 0))},[d.isTransitioning,b]);let x=N.useMemo(()=>({createHref:t.createHref,encodeLocation:t.encodeLocation,go:E=>t.navigate(E),push:(E,I,R)=>t.navigate(E,{state:I,preventScrollReset:R?.preventScrollReset}),replace:(E,I,R)=>t.navigate(E,{replace:!0,state:I,preventScrollReset:R?.preventScrollReset})}),[t]),F=t.basename||"/",T=N.useMemo(()=>({router:t,navigator:x,static:!1,basename:F,unstable_onError:n}),[t,x,F,n]);return N.createElement(N.Fragment,null,N.createElement(Qh.Provider,{value:T},N.createElement(Lk.Provider,{value:o},N.createElement(VY.Provider,{value:S.current},N.createElement(XO.Provider,{value:d},N.createElement(G0e,{basename:F,location:o.location,navigationType:o.historyAction,navigator:x,unstable_useTransitions:i===!0},N.createElement(H0e,{routes:t.routes,future:t.future,state:o,unstable_onError:n})))))),null)}function KM(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 H0e=N.memo(z0e);function z0e({routes:t,future:e,state:n,unstable_onError:i}){return x0e(t,void 0,n,i,e)}function V0e({to:t,replace:e,state:n,relative:i}){si(Lv(),"<Navigate> may be used only in the context of a <Router> component.");let{static:r}=N.useContext(vc);Zr(!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(yc),{pathname:o}=Lf(),s=Uk(),l=Jx(t,Zx(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 XY(t){return C0e(t.context)}function G0e({basename:t="/",children:e=null,location:n,navigationType:i="POP",navigator:r,static:a=!1,unstable_useTransitions:o}){si(!Lv(),"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=lm(n));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:m="default"}=n,p=N.useMemo(()=>{let g=mc(c,s);return g==null?null:{location:{pathname:g,search:d,hash:f,state:h,key:m},navigationType:i}},[s,c,d,f,h,m,i]);return Zr(p!=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.`),p==null?null:N.createElement(vc.Provider,{value:l},N.createElement(t2.Provider,{children:e,value:p}))}var xw="get",Fw="application/x-www-form-urlencoded";function r2(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function q0e(t){return r2(t)&&t.tagName.toLowerCase()==="button"}function K0e(t){return r2(t)&&t.tagName.toLowerCase()==="form"}function W0e(t){return r2(t)&&t.tagName.toLowerCase()==="input"}function Y0e(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function X0e(t,e){return t.button===0&&(!e||e==="_self")&&!Y0e(t)}function O4(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 Z0e(t,e){let n=O4(t);return e&&e.forEach((i,r)=>{n.has(r)||e.getAll(r).forEach(a=>{n.append(r,a)})}),n}var R1=null;function J0e(){if(R1===null)try{new FormData(document.createElement("form"),0),R1=!1}catch{R1=!0}return R1}var eye=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function HE(t){return t!=null&&!eye.has(t)?(Zr(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Fw}"`),null):t}function tye(t,e){let n,i,r,a,o;if(K0e(t)){let s=t.getAttribute("action");i=s?mc(s,e):null,n=t.getAttribute("method")||xw,r=HE(t.getAttribute("enctype"))||Fw,a=new FormData(t)}else if(q0e(t)||W0e(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?mc(l,e):null,n=t.getAttribute("formmethod")||s.getAttribute("method")||xw,r=HE(t.getAttribute("formenctype"))||HE(s.getAttribute("enctype"))||Fw,a=new FormData(s,t),!J0e()){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(r2(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=xw,i=null,r=Fw,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 eR(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function nye(t,e,n){let i=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return i.pathname==="/"?i.pathname=`_root.${n}`:e&&mc(i.pathname,e)==="/"?i.pathname=`${e.replace(/\/$/,"")}/_root.${n}`:i.pathname=`${i.pathname.replace(/\/$/,"")}.${n}`,i}async function iye(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 rye(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 aye(t,e,n){let i=await Promise.all(t.map(async r=>{let a=e.routes[r.route.id];if(a){let o=await iye(a,n);return o.links?o.links():[]}return[]}));return cye(i.flat(1).filter(rye).filter(r=>r.rel==="stylesheet"||r.rel==="preload").map(r=>r.rel==="stylesheet"?{...r,rel:"prefetch",as:"style"}:{...r,rel:"prefetch"}))}function WM(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 oye(t,e,{includeHydrateFallback:n}={}){return sye(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 sye(t){return[...new Set(t)]}function lye(t){let e={},n=Object.keys(t).sort();for(let i of n)e[i]=t[i];return e}function cye(t,e){let n=new Set;return new Set(e),t.reduce((i,r)=>{let a=JSON.stringify(lye(r));return n.has(a)||(n.add(a),i.push({key:a,link:r})),i},[])}function ZY(){let t=N.useContext(Qh);return eR(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function dye(){let t=N.useContext(Lk);return eR(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var tR=N.createContext(void 0);tR.displayName="FrameworkContext";function JY(){let t=N.useContext(tR);return eR(t,"You must render this element inside a <HydratedRouter> element"),t}function uye(t,e){let n=N.useContext(tR),[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 g=k=>{k.forEach(S=>{o(S.isIntersecting)})},b=new IntersectionObserver(g,{threshold:.5});return h.current&&b.observe(h.current),()=>{b.disconnect()}}},[t]),N.useEffect(()=>{if(i){let g=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(g)}}},[i]);let m=()=>{r(!0)},p=()=>{r(!1),o(!1)};return n?t!=="intent"?[a,h,{}]:[a,h,{onFocus:Q0(s,m),onBlur:Q0(l,p),onMouseEnter:Q0(c,m),onMouseLeave:Q0(d,p),onTouchStart:Q0(f,m)}]:[!1,h,{}]}function Q0(t,e){return n=>{t&&t(n),n.defaultPrevented||e(n)}}function fye({page:t,...e}){let{router:n}=ZY(),i=N.useMemo(()=>LA(n.routes,t,n.basename),[n.routes,t,n.basename]);return i?N.createElement(mye,{page:t,matches:i,...e}):null}function Aye(t){let{manifest:e,routeModules:n}=JY(),[i,r]=N.useState([]);return N.useEffect(()=>{let a=!1;return aye(t,e,n).then(o=>{a||r(o)}),()=>{a=!0}},[t,e,n]),i}function mye({page:t,matches:e,...n}){let i=Lf(),{manifest:r,routeModules:a}=JY(),{basename:o}=ZY(),{loaderData:s,matches:l}=dye(),c=N.useMemo(()=>WM(t,e,l,r,i,"data"),[t,e,l,r,i]),d=N.useMemo(()=>WM(t,e,l,r,i,"assets"),[t,e,l,r,i]),f=N.useMemo(()=>{if(t===i.pathname+i.search+i.hash)return[];let p=new Set,g=!1;if(e.forEach(k=>{let S=r.routes[k.route.id];!S||!S.hasLoader||(!c.some(C=>C.route.id===k.route.id)&&k.route.id in s&&a[k.route.id]?.shouldRevalidate||S.hasClientLoader?g=!0:p.add(k.route.id))}),p.size===0)return[];let b=nye(t,o,"data");return g&&p.size>0&&b.searchParams.set("_routes",e.filter(k=>p.has(k.route.id)).map(k=>k.route.id).join(",")),[b.pathname+b.search]},[o,s,i,r,c,e,t,a]),h=N.useMemo(()=>oye(d,r),[d,r]),m=Aye(d);return N.createElement(N.Fragment,null,f.map(p=>N.createElement("link",{key:p,rel:"prefetch",as:"fetch",href:p,...n})),h.map(p=>N.createElement("link",{key:p,rel:"modulepreload",href:p,...n})),m.map(({key:p,link:g})=>N.createElement("link",{key:p,nonce:n.nonce,...g})))}function hye(...t){return e=>{t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}}var eX=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{eX&&(window.__reactRouterVersion="7.10.0")}catch{}function pye(t,e){return Zve({basename:e?.basename,getContext:e?.getContext,future:e?.future,history:Ave({window:e?.window}),hydrationData:gye(),routes:t,mapRouteProperties:M0e,hydrationRouteProperties:$0e,dataStrategy:e?.dataStrategy,patchRoutesOnNavigation:e?.patchRoutesOnNavigation,window:e?.window,unstable_instrumentations:e?.unstable_instrumentations}).initialize()}function gye(){let t=window?.__staticRouterHydrationData;return t&&t.errors&&(t={...t,errors:vye(t.errors)}),t}function vye(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 e2(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 tX=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,no=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,...h},m){let{basename:p,unstable_useTransitions:g}=N.useContext(vc),b=typeof c=="string"&&tX.test(c),k,S=!1;if(typeof c=="string"&&b&&(k=c,eX))try{let V=new URL(window.location.href),U=c.startsWith("//")?new URL(V.protocol+c):new URL(c),P=mc(U.pathname,p);U.origin===V.origin&&P!=null?c=P+U.search+U.hash:S=!0}catch{Zr(!1,`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let C=S0e(c,{relative:r}),[x,F,T]=uye(i,h),E=Sye(c,{replace:o,state:s,target:l,preventScrollReset:d,relative:r,viewTransition:f,unstable_useTransitions:g});function I(V){e&&e(V),V.defaultPrevented||E(V)}let R=N.createElement("a",{...h,...T,href:k||C,onClick:S||a?e:I,ref:hye(m,F),target:l,"data-discover":!b&&n==="render"?"true":void 0});return x&&!b?N.createElement(N.Fragment,null,R,N.createElement(fye,{page:C})):R});no.displayName="Link";var yye=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=Uv(o,{relative:c.relative}),h=Lf(),m=N.useContext(Lk),{navigator:p,basename:g}=N.useContext(vc),b=m!=null&&Fye(f)&&s===!0,k=p.encodeLocation?p.encodeLocation(f).pathname:f.pathname,S=h.pathname,C=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;n||(S=S.toLowerCase(),C=C?C.toLowerCase():null,k=k.toLowerCase()),C&&g&&(C=mc(C,g)||C);const x=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let F=S===k||!r&&S.startsWith(k)&&S.charAt(x)==="/",T=C!=null&&(C===k||!r&&C.startsWith(k)&&C.charAt(k.length)==="/"),E={isActive:F,isPending:T,isTransitioning:b},I=F?e:void 0,R;typeof i=="function"?R=i(E):R=[i,F?"active":null,T?"pending":null,b?"transitioning":null].filter(Boolean).join(" ");let V=typeof a=="function"?a(E):a;return N.createElement(no,{...c,"aria-current":I,className:R,ref:d,style:V,to:o,viewTransition:s},typeof l=="function"?l(E):l)});yye.displayName="NavLink";var kye=N.forwardRef(({discover:t="render",fetcherKey:e,navigate:n,reloadDocument:i,replace:r,state:a,method:o=xw,action:s,onSubmit:l,relative:c,preventScrollReset:d,viewTransition:f,...h},m)=>{let{unstable_useTransitions:p}=N.useContext(vc),g=Cye(),b=xye(s,{relative:c}),k=o.toLowerCase()==="get"?"get":"post",S=typeof s=="string"&&tX.test(s),C=x=>{if(l&&l(x),x.defaultPrevented)return;x.preventDefault();let F=x.nativeEvent.submitter,T=F?.getAttribute("formmethod")||o,E=()=>g(F||x.currentTarget,{fetcherKey:e,method:T,navigate:n,replace:r,state:a,relative:c,preventScrollReset:d,viewTransition:f});p&&n!==!1?N.startTransition(()=>E()):E()};return N.createElement("form",{ref:m,method:k,action:b,onSubmit:i?l:C,...h,"data-discover":!S&&t==="render"?"true":void 0})});kye.displayName="Form";function bye(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function nX(t){let e=N.useContext(Qh);return si(e,bye(t)),e}function Sye(t,{target:e,replace:n,state:i,preventScrollReset:r,relative:a,viewTransition:o,unstable_useTransitions:s}={}){let l=Uk(),c=Lf(),d=Uv(t,{relative:a});return N.useCallback(f=>{if(X0e(f,e)){f.preventDefault();let h=n!==void 0?n:ku(c)===ku(d),m=()=>l(t,{replace:h,state:i,preventScrollReset:r,relative:a,viewTransition:o});s?N.startTransition(()=>m()):m()}},[c,l,d,n,i,e,t,r,a,o,s])}function oft(t){Zr(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(O4(t)),n=N.useRef(!1),i=Lf(),r=N.useMemo(()=>Z0e(i.search,n.current?null:e.current),[i.search]),a=Uk(),o=N.useCallback((s,l)=>{const c=O4(typeof s=="function"?s(new URLSearchParams(r)):s);n.current=!0,a("?"+c,l)},[a,r]);return[r,o]}var wye=0,Nye=()=>`__${String(++wye)}__`;function Cye(){let{router:t}=nX("useSubmit"),{basename:e}=N.useContext(vc),n=O0e(),i=t.fetch,r=t.navigate;return N.useCallback(async(a,o={})=>{let{action:s,method:l,encType:c,formData:d,body:f}=tye(a,e);if(o.navigate===!1){let h=o.fetcherKey||Nye();await i(h,n,o.action||s,{preventScrollReset:o.preventScrollReset,formData:d,body:f,formMethod:o.method||l,formEncType:o.encType||c,flushSync:o.flushSync})}else await r(o.action||s,{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 xye(t,{relative:e}={}){let{basename:n}=N.useContext(vc),i=N.useContext(yc);si(i,"useFormAction must be used inside a RouteContext");let[r]=i.matches.slice(-1),a={...Uv(t||".",{relative:e})},o=Lf();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:pu([n,a.pathname])),ku(a)}function Fye(t,{relative:e}={}){let n=N.useContext(XO);si(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=nX("useViewTransitionState"),r=Uv(t,{relative:e});if(!n.isTransitioning)return!1;let a=mc(n.currentLocation.pathname,i)||n.currentLocation.pathname,o=mc(n.nextLocation.pathname,i)||n.nextLocation.pathname;return sN(r.pathname,o)!=null||sN(r.pathname,a)!=null}var Uf=xY();const iX=Rk(Uf);function _ye(t){return N.createElement(Q0e,{flushSync:Uf.flushSync,...t})}const Eye="modulepreload",Bye=function(t){return"/"+t},YM={},li=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=Bye(c),c in YM)return;YM[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":Eye,d||(h.as="script"),h.crossOrigin="",h.href=c,s&&h.setAttribute("nonce",s),document.head.appendChild(h),d)return new Promise((m,p)=>{h.addEventListener("load",m),h.addEventListener("error",()=>p(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 Tye=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Dye=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,i)=>i?i.toUpperCase():n.toLowerCase()),XM=t=>{const e=Dye(t);return e.charAt(0).toUpperCase()+e.slice(1)},rX=(...t)=>t.filter((e,n,i)=>!!e&&e.trim()!==""&&i.indexOf(e)===n).join(" ").trim(),Iye=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};var Oye={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 Rye=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,...Oye,width:e,height:e,stroke:t,strokeWidth:i?Number(n)*24/Number(e):n,className:rX("lucide",r),...!a&&!Iye(s)&&{"aria-hidden":"true"},...s},[...o.map(([c,d])=>N.createElement(c,d)),...Array.isArray(a)?a:[a]]));const Jt=(t,e)=>{const n=N.forwardRef(({className:i,...r},a)=>N.createElement(Rye,{ref:a,iconNode:e,className:rX(`lucide-${Tye(XM(t))}`,`lucide-${t}`,i),...r}));return n.displayName=XM(t),n};const Pye=[["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"}]],Lye=Jt("arrow-down-0-1",Pye);const Uye=[["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"}]],Mye=Jt("arrow-left-right",Uye);const $ye=[["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"}]],jye=Jt("badge-dollar-sign",$ye);const Qye=[["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"}]],Hye=Jt("book-open-check",Qye);const zye=[["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"}]],Vye=Jt("book",zye);const Gye=[["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"}]],qye=Jt("calculator",Gye);const Kye=[["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"}]],Wye=Jt("calendar",Kye);const Yye=[["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"}]],zE=Jt("chart-column-big",Yye);const Xye=[["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"}]],Zye=Jt("chart-column-decreasing",Xye);const Jye=[["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"}]],eke=Jt("chart-no-axes-combined",Jye);const tke=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],nke=Jt("check-check",tke);const ike=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Sh=Jt("check",ike);const rke=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ps=Jt("chevron-down",rke);const ake=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],oke=Jt("chevron-right",ake);const ske=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],lke=Jt("chevron-left",ske);const cke=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],iu=Jt("chevron-up",cke);const dke=[["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"}]],Yp=Jt("circle-alert",dke);const uke=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],fke=Jt("circle-check-big",uke);const Ake=[["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"}]],ZM=Jt("circle-x",Ake);const mke=[["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"}]],hke=Jt("copy",mke);const pke=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],gke=Jt("credit-card",pke);const vke=[["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"}]],aX=Jt("download",vke);const yke=[["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"}]],kke=Jt("eye",yke);const bke=[["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"}]],Ske=Jt("factory",bke);const wke=[["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"}]],Nke=Jt("file-down",wke);const Cke=[["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"}]],JM=Jt("file-pen",Cke);const xke=[["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"}]],Fke=Jt("file-text",xke);const _ke=[["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"}]],e$=Jt("file",_ke);const Eke=[["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"}]],t$=Jt("files",Eke);const Bke=[["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"}]],Tke=Jt("globe",Bke);const Dke=[["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"}]],n$=Jt("hand-coins",Dke);const Ike=[["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"}]],Cg=Jt("house",Ike);const Oke=[["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"}]],Rke=Jt("id-card",Oke);const Pke=[["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"}]],Lke=Jt("image",Pke);const Uke=[["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"}]],Mke=Jt("link",Uke);const $ke=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],rk=Jt("loader-circle",$ke);const jke=[["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"}]],oX=Jt("mail",jke);const Qke=[["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"}]],Hke=Jt("map-pin",Qke);const zke=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Vke=Jt("menu",zke);const Gke=[["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"}]],i$=Jt("parking-meter",Gke);const qke=[["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"}]],Kke=Jt("phone",qke);const Wke=[["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"}]],Yke=Jt("plane-takeoff",Wke);const Xke=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Tf=Jt("plus",Xke);const Zke=[["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"}]],Jke=Jt("puzzle",Zke);const ebe=[["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"}]],tbe=Jt("receipt-text",ebe);const nbe=[["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"}]],Qy=Jt("receipt",nbe);const ibe=[["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"}]],rbe=Jt("rectangle-ellipsis",ibe);const abe=[["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"}]],r$=Jt("refresh-cw",abe);const obe=[["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"}]],sbe=Jt("rows-4",obe);const lbe=[["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"}]],cbe=Jt("scale",lbe);const dbe=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],ube=Jt("search",dbe);const fbe=[["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"}]],sX=Jt("send",fbe);const Abe=[["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"}]],mbe=Jt("settings",Abe);const hbe=[["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"}]],pbe=Jt("shield",hbe);const gbe=[["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"}]],vbe=Jt("signature",gbe);const ybe=[["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"}]],kbe=Jt("square-pen",ybe);const bbe=[["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"}]],Sbe=Jt("tags",bbe);const wbe=[["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"}]],lX=Jt("trash-2",wbe);const Nbe=[["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"}]],Cbe=Jt("trash",Nbe);const xbe=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],a$=Jt("trending-up",xbe);const Fbe=[["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"}]],_be=Jt("unlink",Fbe);const Ebe=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],Bbe=Jt("user-round",Ebe);const Tbe=[["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"}]],Dbe=Jt("user",Tbe);const Ibe=[["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"}]],Obe=Jt("wand-sparkles",Ibe);const Rbe=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],ZA=Jt("x",Rbe);const Pbe=[["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"}]],o$=Jt("zoom-in",Pbe);const Lbe=[["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"}]],s$=Jt("zoom-out",Lbe),$n={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 cX(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=cX(t[e]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}function nR(){for(var t,e,n=0,i="",r=arguments.length;n<r;n++)(t=arguments[n])&&(e=cX(t))&&(i&&(i+=" "),i+=e);return i}const l$=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,c$=nR,iR=(t,e)=>n=>{var i;if(e?.variants==null)return c$(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=l$(d)||l$(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(p=>{let[g,b]=p;return Array.isArray(b)?b.includes({...a,...s}[g]):{...a,...s}[g]===b})?[...c,f,h]:c},[]);return c$(t,o,l,n?.class,n?.className)},Ube=(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},Mbe=(t,e)=>({classGroupId:t,validator:e}),dX=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),cN="-",d$=[],$be="arbitrary..",jbe=t=>{const e=Hbe(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return Qbe(o);const s=o.split(cN),l=s[0]===""&&s.length>1?1:0;return uX(s,l,e)},getConflictingClassGroupIds:(o,s)=>{if(s){const l=i[o],c=n[o];return l?c?Ube(c,l):l:c||d$}return n[o]||d$}}},uX=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const r=t[e],a=n.nextPart.get(r);if(a){const c=uX(t,e+1,a);if(c)return c}const o=n.validators;if(o===null)return;const s=e===0?t.join(cN):t.slice(e).join(cN),l=o.length;for(let c=0;c<l;c++){const d=o[c];if(d.validator(s))return d.classGroupId}},Qbe=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?$be+i:void 0})(),Hbe=t=>{const{theme:e,classGroups:n}=t;return zbe(n,e)},zbe=(t,e)=>{const n=dX();for(const i in t){const r=t[i];rR(r,n,i,e)}return n},rR=(t,e,n,i)=>{const r=t.length;for(let a=0;a<r;a++){const o=t[a];Vbe(o,e,n,i)}},Vbe=(t,e,n,i)=>{if(typeof t=="string"){Gbe(t,e,n);return}if(typeof t=="function"){qbe(t,e,n,i);return}Kbe(t,e,n,i)},Gbe=(t,e,n)=>{const i=t===""?e:fX(e,t);i.classGroupId=n},qbe=(t,e,n,i)=>{if(Wbe(t)){rR(t(i),e,n,i);return}e.validators===null&&(e.validators=[]),e.validators.push(Mbe(n,t))},Kbe=(t,e,n,i)=>{const r=Object.entries(t),a=r.length;for(let o=0;o<a;o++){const[s,l]=r[o];rR(l,fX(e,s),n,i)}},fX=(t,e)=>{let n=t;const i=e.split(cN),r=i.length;for(let a=0;a<r;a++){const o=i[a];let s=n.nextPart.get(o);s||(s=dX(),n.nextPart.set(o,s)),n=s}return n},Wbe=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,Ybe=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)}}},R4="!",u$=":",Xbe=[],f$=(t,e,n,i,r)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:i,isExternal:r}),Zbe=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 g=0;g<d;g++){const b=r[g];if(o===0&&s===0){if(b===u$){a.push(r.slice(l,g)),l=g+1;continue}if(b==="/"){c=g;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(R4)?(h=f.slice(0,-1),m=!0):f.startsWith(R4)&&(h=f.slice(1),m=!0);const p=c&&c>l?c-l:void 0;return f$(a,m,h,p)};if(e){const r=e+u$,a=i;i=o=>o.startsWith(r)?a(o.slice(r.length)):f$(Xbe,!1,o,void 0,!0)}if(n){const r=i;i=a=>n({className:a,parseClassName:r})}return i},Jbe=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}},e1e=t=>({cache:Ybe(t.cacheSize),parseClassName:Zbe(t),sortModifiers:Jbe(t),...jbe(t)}),t1e=/\s+/,n1e=(t,e)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:r,sortModifiers:a}=e,o=[],s=t.trim().split(t1e);let l="";for(let c=s.length-1;c>=0;c-=1){const d=s[c],{isExternal:f,modifiers:h,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:g}=n(d);if(f){l=d+(l.length>0?" "+l:l);continue}let b=!!g,k=i(b?p.substring(0,g):p);if(!k){if(!b){l=d+(l.length>0?" "+l:l);continue}if(k=i(p),!k){l=d+(l.length>0?" "+l:l);continue}b=!1}const S=h.length===0?"":h.length===1?h[0]:a(h).join(":"),C=m?S+R4:S,x=C+k;if(o.indexOf(x)>-1)continue;o.push(x);const F=r(k,b);for(let T=0;T<F.length;++T){const E=F[T];o.push(C+E)}l=d+(l.length>0?" "+l:l)}return l},i1e=(...t)=>{let e=0,n,i,r="";for(;e<t.length;)(n=t[e++])&&(i=AX(n))&&(r&&(r+=" "),r+=i);return r},AX=t=>{if(typeof t=="string")return t;let e,n="";for(let i=0;i<t.length;i++)t[i]&&(e=AX(t[i]))&&(n&&(n+=" "),n+=e);return n},r1e=(t,...e)=>{let n,i,r,a;const o=l=>{const c=e.reduce((d,f)=>f(d),t());return n=e1e(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=n1e(l,n);return r(l,d),d};return a=o,(...l)=>a(i1e(...l))},a1e=[],Ja=t=>{const e=n=>n[t]||a1e;return e.isThemeGetter=!0,e},mX=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,hX=/^\((?:(\w[\w-]*):)?(.+)\)$/i,o1e=/^\d+\/\d+$/,s1e=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,l1e=/\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$/,c1e=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,d1e=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,u1e=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xp=t=>o1e.test(t),oi=t=>!!t&&!Number.isNaN(Number(t)),CA=t=>!!t&&Number.isInteger(Number(t)),VE=t=>t.endsWith("%")&&oi(t.slice(0,-1)),cf=t=>s1e.test(t),f1e=()=>!0,A1e=t=>l1e.test(t)&&!c1e.test(t),pX=()=>!1,m1e=t=>d1e.test(t),h1e=t=>u1e.test(t),p1e=t=>!sn(t)&&!ln(t),g1e=t=>Mv(t,yX,pX),sn=t=>mX.test(t),qm=t=>Mv(t,kX,A1e),GE=t=>Mv(t,S1e,oi),A$=t=>Mv(t,gX,pX),v1e=t=>Mv(t,vX,h1e),P1=t=>Mv(t,bX,m1e),ln=t=>hX.test(t),H0=t=>$v(t,kX),y1e=t=>$v(t,w1e),m$=t=>$v(t,gX),k1e=t=>$v(t,yX),b1e=t=>$v(t,vX),L1=t=>$v(t,bX,!0),Mv=(t,e,n)=>{const i=mX.exec(t);return i?i[1]?e(i[1]):n(i[2]):!1},$v=(t,e,n=!1)=>{const i=hX.exec(t);return i?i[1]?e(i[1]):n:!1},gX=t=>t==="position"||t==="percentage",vX=t=>t==="image"||t==="url",yX=t=>t==="length"||t==="size"||t==="bg-size",kX=t=>t==="length",S1e=t=>t==="number",w1e=t=>t==="family-name",bX=t=>t==="shadow",N1e=()=>{const t=Ja("color"),e=Ja("font"),n=Ja("text"),i=Ja("font-weight"),r=Ja("tracking"),a=Ja("leading"),o=Ja("breakpoint"),s=Ja("container"),l=Ja("spacing"),c=Ja("radius"),d=Ja("shadow"),f=Ja("inset-shadow"),h=Ja("text-shadow"),m=Ja("drop-shadow"),p=Ja("blur"),g=Ja("perspective"),b=Ja("aspect"),k=Ja("ease"),S=Ja("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...x(),ln,sn],T=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],I=()=>[ln,sn,l],R=()=>[Xp,"full","auto",...I()],V=()=>[CA,"none","subgrid",ln,sn],U=()=>["auto",{span:["full",CA,ln,sn]},CA,ln,sn],P=()=>[CA,"auto",ln,sn],Z=()=>["auto","min","max","fr",ln,sn],q=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ae=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...I()],te=()=>[Xp,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],Y=()=>[t,ln,sn],ue=()=>[...x(),m$,A$,{position:[ln,sn]}],we=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ie=()=>["auto","cover","contain",k1e,g1e,{size:[ln,sn]}],L=()=>[VE,H0,qm],j=()=>["","none","full",c,ln,sn],$=()=>["",oi,H0,qm],W=()=>["solid","dashed","dotted","double"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>[oi,VE,m$,A$],fe=()=>["","none",p,ln,sn],ge=()=>["none",oi,ln,sn],Se=()=>["none",oi,ln,sn],oe=()=>[oi,ln,sn],le=()=>[Xp,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[cf],breakpoint:[cf],color:[f1e],container:[cf],"drop-shadow":[cf],ease:["in","out","in-out"],font:[p1e],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[cf],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[cf],shadow:[cf],spacing:["px",oi],text:[cf],"text-shadow":[cf],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Xp,sn,ln,b]}],container:["container"],columns:[{columns:[oi,sn,ln,s]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"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:F()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:R()}],"inset-x":[{"inset-x":R()}],"inset-y":[{"inset-y":R()}],start:[{start:R()}],end:[{end:R()}],top:[{top:R()}],right:[{right:R()}],bottom:[{bottom:R()}],left:[{left:R()}],visibility:["visible","invisible","collapse"],z:[{z:[CA,"auto",ln,sn]}],basis:[{basis:[Xp,"full","auto",s,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[oi,Xp,"auto","initial","none",sn]}],grow:[{grow:["",oi,ln,sn]}],shrink:[{shrink:["",oi,ln,sn]}],order:[{order:[CA,"first","last","none",ln,sn]}],"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":Z()}],"auto-rows":[{"auto-rows":Z()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:[...q(),"normal"]}],"justify-items":[{"justify-items":[...ae(),"normal"]}],"justify-self":[{"justify-self":["auto",...ae()]}],"align-content":[{content:["normal",...q()]}],"align-items":[{items:[...ae(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ae(),{baseline:["","last"]}]}],"place-content":[{"place-content":q()}],"place-items":[{"place-items":[...ae(),"baseline"]}],"place-self":[{"place-self":["auto",...ae()]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],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":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"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,H0,qm]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,ln,GE]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",VE,sn]}],"font-family":[{font:[y1e,sn,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,ln,sn]}],"line-clamp":[{"line-clamp":[oi,"none",ln,GE]}],leading:[{leading:[a,...I()]}],"list-image":[{"list-image":["none",ln,sn]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ln,sn]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Y()}],"text-color":[{text:Y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:[oi,"from-font","auto",ln,qm]}],"text-decoration-color":[{decoration:Y()}],"underline-offset":[{"underline-offset":[oi,"auto",ln,sn]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ln,sn]}],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",ln,sn]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ue()}],"bg-repeat":[{bg:we()}],"bg-size":[{bg:ie()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},CA,ln,sn],radial:["",ln,sn],conic:[CA,ln,sn]},b1e,v1e]}],"bg-color":[{bg:Y()}],"gradient-from-pos":[{from:L()}],"gradient-via-pos":[{via:L()}],"gradient-to-pos":[{to:L()}],"gradient-from":[{from:Y()}],"gradient-via":[{via:Y()}],"gradient-to":[{to:Y()}],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:[...W(),"hidden","none"]}],"divide-style":[{divide:[...W(),"hidden","none"]}],"border-color":[{border:Y()}],"border-color-x":[{"border-x":Y()}],"border-color-y":[{"border-y":Y()}],"border-color-s":[{"border-s":Y()}],"border-color-e":[{"border-e":Y()}],"border-color-t":[{"border-t":Y()}],"border-color-r":[{"border-r":Y()}],"border-color-b":[{"border-b":Y()}],"border-color-l":[{"border-l":Y()}],"divide-color":[{divide:Y()}],"outline-style":[{outline:[...W(),"none","hidden"]}],"outline-offset":[{"outline-offset":[oi,ln,sn]}],"outline-w":[{outline:["",oi,H0,qm]}],"outline-color":[{outline:Y()}],shadow:[{shadow:["","none",d,L1,P1]}],"shadow-color":[{shadow:Y()}],"inset-shadow":[{"inset-shadow":["none",f,L1,P1]}],"inset-shadow-color":[{"inset-shadow":Y()}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Y()}],"ring-offset-w":[{"ring-offset":[oi,qm]}],"ring-offset-color":[{"ring-offset":Y()}],"inset-ring-w":[{"inset-ring":$()}],"inset-ring-color":[{"inset-ring":Y()}],"text-shadow":[{"text-shadow":["none",h,L1,P1]}],"text-shadow-color":[{"text-shadow":Y()}],opacity:[{opacity:[oi,ln,sn]}],"mix-blend":[{"mix-blend":[...J(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":J()}],"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":[oi]}],"mask-image-linear-from-pos":[{"mask-linear-from":K()}],"mask-image-linear-to-pos":[{"mask-linear-to":K()}],"mask-image-linear-from-color":[{"mask-linear-from":Y()}],"mask-image-linear-to-color":[{"mask-linear-to":Y()}],"mask-image-t-from-pos":[{"mask-t-from":K()}],"mask-image-t-to-pos":[{"mask-t-to":K()}],"mask-image-t-from-color":[{"mask-t-from":Y()}],"mask-image-t-to-color":[{"mask-t-to":Y()}],"mask-image-r-from-pos":[{"mask-r-from":K()}],"mask-image-r-to-pos":[{"mask-r-to":K()}],"mask-image-r-from-color":[{"mask-r-from":Y()}],"mask-image-r-to-color":[{"mask-r-to":Y()}],"mask-image-b-from-pos":[{"mask-b-from":K()}],"mask-image-b-to-pos":[{"mask-b-to":K()}],"mask-image-b-from-color":[{"mask-b-from":Y()}],"mask-image-b-to-color":[{"mask-b-to":Y()}],"mask-image-l-from-pos":[{"mask-l-from":K()}],"mask-image-l-to-pos":[{"mask-l-to":K()}],"mask-image-l-from-color":[{"mask-l-from":Y()}],"mask-image-l-to-color":[{"mask-l-to":Y()}],"mask-image-x-from-pos":[{"mask-x-from":K()}],"mask-image-x-to-pos":[{"mask-x-to":K()}],"mask-image-x-from-color":[{"mask-x-from":Y()}],"mask-image-x-to-color":[{"mask-x-to":Y()}],"mask-image-y-from-pos":[{"mask-y-from":K()}],"mask-image-y-to-pos":[{"mask-y-to":K()}],"mask-image-y-from-color":[{"mask-y-from":Y()}],"mask-image-y-to-color":[{"mask-y-to":Y()}],"mask-image-radial":[{"mask-radial":[ln,sn]}],"mask-image-radial-from-pos":[{"mask-radial-from":K()}],"mask-image-radial-to-pos":[{"mask-radial-to":K()}],"mask-image-radial-from-color":[{"mask-radial-from":Y()}],"mask-image-radial-to-color":[{"mask-radial-to":Y()}],"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":x()}],"mask-image-conic-pos":[{"mask-conic":[oi]}],"mask-image-conic-from-pos":[{"mask-conic-from":K()}],"mask-image-conic-to-pos":[{"mask-conic-to":K()}],"mask-image-conic-from-color":[{"mask-conic-from":Y()}],"mask-image-conic-to-color":[{"mask-conic-to":Y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ue()}],"mask-repeat":[{mask:we()}],"mask-size":[{mask:ie()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ln,sn]}],filter:[{filter:["","none",ln,sn]}],blur:[{blur:fe()}],brightness:[{brightness:[oi,ln,sn]}],contrast:[{contrast:[oi,ln,sn]}],"drop-shadow":[{"drop-shadow":["","none",m,L1,P1]}],"drop-shadow-color":[{"drop-shadow":Y()}],grayscale:[{grayscale:["",oi,ln,sn]}],"hue-rotate":[{"hue-rotate":[oi,ln,sn]}],invert:[{invert:["",oi,ln,sn]}],saturate:[{saturate:[oi,ln,sn]}],sepia:[{sepia:["",oi,ln,sn]}],"backdrop-filter":[{"backdrop-filter":["","none",ln,sn]}],"backdrop-blur":[{"backdrop-blur":fe()}],"backdrop-brightness":[{"backdrop-brightness":[oi,ln,sn]}],"backdrop-contrast":[{"backdrop-contrast":[oi,ln,sn]}],"backdrop-grayscale":[{"backdrop-grayscale":["",oi,ln,sn]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[oi,ln,sn]}],"backdrop-invert":[{"backdrop-invert":["",oi,ln,sn]}],"backdrop-opacity":[{"backdrop-opacity":[oi,ln,sn]}],"backdrop-saturate":[{"backdrop-saturate":[oi,ln,sn]}],"backdrop-sepia":[{"backdrop-sepia":["",oi,ln,sn]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ln,sn]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[oi,"initial",ln,sn]}],ease:[{ease:["linear","initial",k,ln,sn]}],delay:[{delay:[oi,ln,sn]}],animate:[{animate:["none",S,ln,sn]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,ln,sn]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:ge()}],"rotate-x":[{"rotate-x":ge()}],"rotate-y":[{"rotate-y":ge()}],"rotate-z":[{"rotate-z":ge()}],scale:[{scale:Se()}],"scale-x":[{"scale-x":Se()}],"scale-y":[{"scale-y":Se()}],"scale-z":[{"scale-z":Se()}],"scale-3d":["scale-3d"],skew:[{skew:oe()}],"skew-x":[{"skew-x":oe()}],"skew-y":[{"skew-y":oe()}],transform:[{transform:[ln,sn,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:le()}],"translate-x":[{"translate-x":le()}],"translate-y":[{"translate-y":le()}],"translate-z":[{"translate-z":le()}],"translate-none":["translate-none"],accent:[{accent:Y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Y()}],"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",ln,sn]}],"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":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"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",ln,sn]}],fill:[{fill:["none",...Y()]}],"stroke-w":[{stroke:[oi,H0,qm,GE]}],stroke:[{stroke:["none",...Y()]}],"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"]}},C1e=r1e(N1e);function Ut(...t){return C1e(nR(t))}function h$(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function ws(...t){return e=>{let n=!1;const i=t.map(r=>{const a=h$(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():h$(t[r],null)}}}}function Jn(...t){return N.useCallback(ws(...t),t)}var x1e=Symbol.for("react.lazy"),dN=Bf[" use ".trim().toString()];function F1e(t){return typeof t=="object"&&t!==null&&"then"in t}function SX(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===x1e&&"_payload"in t&&F1e(t._payload)}function jv(t){const e=_1e(t),n=N.forwardRef((i,r)=>{let{children:a,...o}=i;SX(a)&&typeof dN=="function"&&(a=dN(a._payload));const s=N.Children.toArray(a),l=s.find(B1e);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 y.jsx(e,{...o,ref:r,children:N.isValidElement(c)?N.cloneElement(c,void 0,d):null})}return y.jsx(e,{...o,ref:r,children:a})});return n.displayName=`${t}.Slot`,n}var aR=jv("Slot");function _1e(t){const e=N.forwardRef((n,i)=>{let{children:r,...a}=n;if(SX(r)&&typeof dN=="function"&&(r=dN(r._payload)),N.isValidElement(r)){const o=D1e(r),s=T1e(a,r.props);return r.type!==N.Fragment&&(s.ref=i?ws(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 E1e=Symbol("radix.slottable");function B1e(t){return N.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===E1e}function T1e(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 D1e(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 wh=iR("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 Qt({className:t,variant:e,size:n,asChild:i=!1,...r}){const a=i?aR:"button";return y.jsx(a,{"data-slot":"button",className:Ut(wh({variant:e,size:n,className:t})),...r})}function fd({className:t,...e}){return y.jsx("div",{"data-slot":"card",className:Ut("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 bu({className:t,...e}){return y.jsx("div",{"data-slot":"card-header",className:Ut("@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 Su({className:t,...e}){return y.jsx("div",{"data-slot":"card-title",className:Ut("leading-none font-semibold",t),...e})}function P4({className:t,...e}){return y.jsx("div",{"data-slot":"card-description",className:Ut("text-gray-500 text-sm dark:text-gray-400",t),...e})}function Ad({className:t,...e}){return y.jsx("div",{"data-slot":"card-content",className:Ut("px-6",t),...e})}function sft({className:t,...e}){return y.jsx("div",{"data-slot":"card-footer",className:Ut("flex items-center px-6 [.border-t]:pt-6",t),...e})}function p$(){const t=WY();if(pv(t))switch(t.status){case 404:return y.jsx(Zp,{icon:y.jsx(Yp,{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:y.jsxs("div",{className:"flex gap-4",children:[y.jsx(no,{to:$n.HOME,children:y.jsxs(Qt,{variant:"default",children:[y.jsx(Cg,{className:"mr-2 h-4 w-4"}),"Go Home"]})}),y.jsx(Qt,{variant:"outline",onClick:()=>window.history.back(),children:"Go Back"})]})});case 401:return y.jsx(Zp,{icon:y.jsx(Yp,{className:"h-16 w-16 text-red-500"}),title:"Unauthorized",description:"You need to be logged in to access this page.",statusCode:401,children:y.jsx(no,{to:$n.LOGIN,children:y.jsx(Qt,{variant:"default",children:"Go to Login"})})});case 403:return y.jsx(Zp,{icon:y.jsx(Yp,{className:"h-16 w-16 text-red-500"}),title:"Forbidden",description:"You don't have permission to access this resource.",statusCode:403,children:y.jsx(no,{to:$n.HOME,children:y.jsxs(Qt,{variant:"default",children:[y.jsx(Cg,{className:"mr-2 h-4 w-4"}),"Go Home"]})})});case 500:return y.jsx(Zp,{icon:y.jsx(Yp,{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:y.jsxs("div",{className:"flex gap-4",children:[y.jsxs(Qt,{variant:"default",onClick:()=>window.location.reload(),children:[y.jsx(r$,{className:"mr-2 h-4 w-4"}),"Reload Page"]}),y.jsx(no,{to:$n.HOME,children:y.jsxs(Qt,{variant:"outline",children:[y.jsx(Cg,{className:"mr-2 h-4 w-4"}),"Go Home"]})})]})});default:return y.jsx(Zp,{icon:y.jsx(Yp,{className:"h-16 w-16 text-orange-500"}),title:`Error ${t.status}`,description:t.statusText||"An unexpected error occurred",statusCode:t.status,children:y.jsx(no,{to:$n.HOME,children:y.jsxs(Qt,{variant:"default",children:[y.jsx(Cg,{className:"mr-2 h-4 w-4"}),"Go Home"]})})})}return y.jsxs(Zp,{icon:y.jsx(Yp,{className:"h-16 w-16 text-red-500"}),title:"Unexpected Error",description:"An unexpected error occurred. Please try again.",children:[!1,y.jsxs("div",{className:"flex gap-4 mt-4",children:[y.jsxs(Qt,{variant:"default",onClick:()=>window.location.reload(),children:[y.jsx(r$,{className:"mr-2 h-4 w-4"}),"Reload Page"]}),y.jsx(no,{to:$n.HOME,children:y.jsxs(Qt,{variant:"outline",children:[y.jsx(Cg,{className:"mr-2 h-4 w-4"}),"Go Home"]})})]})]})}function Zp({icon:t,title:e,description:n,statusCode:i,children:r}){return y.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50 p-4",children:y.jsxs(fd,{className:"max-w-md w-full",children:[y.jsxs(bu,{className:"text-center space-y-4",children:[y.jsx("div",{className:"flex justify-center",children:t}),y.jsxs("div",{children:[y.jsxs(Su,{className:"text-2xl font-bold",children:[e,i&&y.jsxs("span",{className:"ml-2 text-sm text-muted-foreground",children:["(",i,")"]})]}),y.jsx(P4,{className:"mt-2",children:n})]})]}),y.jsx(Ad,{className:"flex flex-col items-center space-y-4",children:r})]})})}function fu({className:t,...e}){return y.jsx("div",{className:Ut("animate-pulse rounded-md bg-gray-900/10 dark:bg-gray-50/10",t),...e})}function I1e(){return y.jsxs("div",{className:"flex flex-col gap-4 p-4",children:[y.jsx(fu,{className:"h-12 w-64"})," ",y.jsxs("div",{className:"flex gap-4",children:[y.jsx(fu,{className:"h-10 w-32"})," ",y.jsx(fu,{className:"h-10 w-32"})]}),y.jsx(fu,{className:"h-96 w-full"})," "]})}function gl(){return y.jsxs("div",{className:"flex flex-col gap-2",children:[y.jsx(fu,{className:"h-12 w-full"})," ",Array.from({length:8}).map((t,e)=>y.jsx(fu,{className:"h-16 w-full"},e))]})}function Gs(){return y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsx(fu,{className:"h-16 w-96"})," ",y.jsxs("div",{className:"flex gap-4",children:[y.jsx(fu,{className:"h-10 w-48"})," ",y.jsx(fu,{className:"h-10 w-32"})," "]}),y.jsx(fu,{className:"h-[600px] w-full"})," "]})}const g$=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},O1e=(t=>t?g$(t):g$),R1e=t=>t;function P1e(t,e=R1e){const n=se.useSyncExternalStore(t.subscribe,se.useCallback(()=>e(t.getState()),[t,e]),se.useCallback(()=>e(t.getInitialState()),[t,e]));return se.useDebugValue(n),n}const v$=t=>{const e=O1e(t),n=i=>P1e(e,i);return Object.assign(n,e),n},L1e=(t=>t?v$(t):v$),wX=L1e(t=>({isMinimized:!0,toggle:()=>t(e=>({isMinimized:!e.isMinimized}))}));function U1e(){const e=KY().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?y.jsx("div",{className:"h-8"}):y.jsxs("nav",{"aria-label":"Breadcrumb",className:"flex items-center space-x-1 text-sm text-gray-600",children:[y.jsx(no,{to:"/",className:"flex items-center hover:text-gray-900 transition-colors","aria-label":"Home",children:y.jsx(Cg,{className:"h-4 w-4"})}),e.map((n,i)=>y.jsxs(N.Fragment,{children:[y.jsx(oke,{className:"h-4 w-4 text-gray-400"}),n.isLast?y.jsx("span",{className:"font-medium text-gray-900","aria-current":"page",children:n.title}):y.jsx(no,{to:n.path,className:"hover:text-gray-900 transition-colors",children:n.title})]},`${n.path}-${i}`))]})}function M1e({filtersContext:t}){return y.jsx("footer",{className:"fixed left-0 right-0 bottom-0 z-20 border-t bg-white/95 backdrop-blur-sm",children:y.jsx("div",{className:"flex h-14 flex-row items-center justify-center px-4",children:t})})}const NX=6048e5,$1e=864e5,y$=Symbol.for("constructDateFrom");function wu(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&y$ in t?t[y$](e):t instanceof Date?new t.constructor(e):new Date(e)}function Il(t,e){return wu(e||t,t)}function j1e(t,e,n){const i=Il(t,n?.in);if(isNaN(e))return wu(t,NaN);if(!e)return i;const r=i.getDate(),a=wu(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 Q1e={};function a2(){return Q1e}function ak(t,e){const n=a2(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=Il(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 uN(t,e){return ak(t,{...e,weekStartsOn:1})}function CX(t,e){const n=Il(t,e?.in),i=n.getFullYear(),r=wu(n,0);r.setFullYear(i+1,0,4),r.setHours(0,0,0,0);const a=uN(r),o=wu(n,0);o.setFullYear(i,0,4),o.setHours(0,0,0,0);const s=uN(o);return n.getTime()>=a.getTime()?i+1:n.getTime()>=s.getTime()?i:i-1}function k$(t){const e=Il(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 H1e(t,...e){const n=wu.bind(null,e.find(i=>typeof i=="object"));return e.map(n)}function b$(t,e){const n=Il(t,e?.in);return n.setHours(0,0,0,0),n}function z1e(t,e,n){const[i,r]=H1e(n?.in,t,e),a=b$(i),o=b$(r),s=+a-k$(a),l=+o-k$(o);return Math.round((s-l)/$1e)}function V1e(t,e){const n=CX(t,e),i=wu(t,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),uN(i)}function G1e(t,e,n){return j1e(t,e*12,n)}function q1e(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function K1e(t){return!(!q1e(t)&&typeof t!="number"||isNaN(+Il(t)))}function W1e(t,e){const n=Il(t,e?.in),i=n.getFullYear();return n.setFullYear(i+1,0,0),n.setHours(23,59,59,999),n}function xX(t,e){const n=Il(t,e?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const Y1e={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"}},X1e=(t,e,n)=>{let i;const r=Y1e[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 qE(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const Z1e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},J1e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},eSe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},tSe={date:qE({formats:Z1e,defaultWidth:"full"}),time:qE({formats:J1e,defaultWidth:"full"}),dateTime:qE({formats:eSe,defaultWidth:"full"})},nSe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},iSe=(t,e,n,i)=>nSe[t];function z0(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 rSe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},aSe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},oSe={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"]},sSe={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"]},lSe={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"}},cSe={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"}},dSe=(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"},uSe={ordinalNumber:dSe,era:z0({values:rSe,defaultWidth:"wide"}),quarter:z0({values:aSe,defaultWidth:"wide",argumentCallback:t=>t-1}),month:z0({values:oSe,defaultWidth:"wide"}),day:z0({values:sSe,defaultWidth:"wide"}),dayPeriod:z0({values:lSe,defaultWidth:"wide",formattingValues:cSe,defaultFormattingWidth:"wide"})};function V0(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)?ASe(s,f=>f.test(o)):fSe(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 fSe(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function ASe(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function mSe(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 hSe=/^(\d+)(th|st|nd|rd)?/i,pSe=/\d+/i,gSe={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},vSe={any:[/^b/i,/^(a|c)/i]},ySe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},kSe={any:[/1/i,/2/i,/3/i,/4/i]},bSe={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},SSe={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]},wSe={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},NSe={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]},CSe={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},xSe={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}},FSe={ordinalNumber:mSe({matchPattern:hSe,parsePattern:pSe,valueCallback:t=>parseInt(t,10)}),era:V0({matchPatterns:gSe,defaultMatchWidth:"wide",parsePatterns:vSe,defaultParseWidth:"any"}),quarter:V0({matchPatterns:ySe,defaultMatchWidth:"wide",parsePatterns:kSe,defaultParseWidth:"any",valueCallback:t=>t+1}),month:V0({matchPatterns:bSe,defaultMatchWidth:"wide",parsePatterns:SSe,defaultParseWidth:"any"}),day:V0({matchPatterns:wSe,defaultMatchWidth:"wide",parsePatterns:NSe,defaultParseWidth:"any"}),dayPeriod:V0({matchPatterns:CSe,defaultMatchWidth:"any",parsePatterns:xSe,defaultParseWidth:"any"})},_Se={code:"en-US",formatDistance:X1e,formatLong:tSe,formatRelative:iSe,localize:uSe,match:FSe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ESe(t,e){const n=Il(t,e?.in);return z1e(n,xX(n))+1}function BSe(t,e){const n=Il(t,e?.in),i=+uN(n)-+V1e(n);return Math.round(i/NX)+1}function FX(t,e){const n=Il(t,e?.in),i=n.getFullYear(),r=a2(),a=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=wu(e?.in||t,0);o.setFullYear(i+1,0,a),o.setHours(0,0,0,0);const s=ak(o,e),l=wu(e?.in||t,0);l.setFullYear(i,0,a),l.setHours(0,0,0,0);const c=ak(l,e);return+n>=+s?i+1:+n>=+c?i:i-1}function TSe(t,e){const n=a2(),i=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,r=FX(t,e),a=wu(e?.in||t,0);return a.setFullYear(r,0,i),a.setHours(0,0,0,0),ak(a,e)}function DSe(t,e){const n=Il(t,e?.in),i=+ak(n,e)-+TSe(n,e);return Math.round(i/NX)+1}function ar(t,e){const n=t<0?"-":"",i=Math.abs(t).toString().padStart(e,"0");return n+i}const xA={y(t,e){const n=t.getFullYear(),i=n>0?n:1-n;return ar(e==="yy"?i%100:i,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):ar(n+1,2)},d(t,e){return ar(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];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return ar(t.getHours()%12||12,e.length)},H(t,e){return ar(t.getHours(),e.length)},m(t,e){return ar(t.getMinutes(),e.length)},s(t,e){return ar(t.getSeconds(),e.length)},S(t,e){const n=e.length,i=t.getMilliseconds(),r=Math.trunc(i*Math.pow(10,n-3));return ar(r,e.length)}},Jp={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},S$={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"});case"GGGG":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 xA.y(t,e)},Y:function(t,e,n,i){const r=FX(t,i),a=r>0?r:1-r;if(e==="YY"){const o=a%100;return ar(o,2)}return e==="Yo"?n.ordinalNumber(a,{unit:"year"}):ar(a,e.length)},R:function(t,e){const n=CX(t);return ar(n,e.length)},u:function(t,e){const n=t.getFullYear();return ar(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 ar(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"});case"QQQQ":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 ar(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"});case"qqqq":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 xA.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"});case"MMMM":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 ar(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"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,e,n,i){const r=DSe(t,i);return e==="wo"?n.ordinalNumber(r,{unit:"week"}):ar(r,e.length)},I:function(t,e,n){const i=BSe(t);return e==="Io"?n.ordinalNumber(i,{unit:"week"}):ar(i,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):xA.d(t,e)},D:function(t,e,n){const i=ESe(t);return e==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):ar(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"});case"EEEE":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 ar(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"});case"eeee":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 ar(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"});case"cccc":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 ar(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"});case"iiii":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"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){const i=t.getHours();let r;switch(i===12?r=Jp.noon:i===0?r=Jp.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"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){const i=t.getHours();let r;switch(i>=17?r=Jp.evening:i>=12?r=Jp.afternoon:i>=4?r=Jp.morning:r=Jp.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"});case"BBBB":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 xA.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):xA.H(t,e)},K:function(t,e,n){const i=t.getHours()%12;return e==="Ko"?n.ordinalNumber(i,{unit:"hour"}):ar(i,e.length)},k:function(t,e,n){let i=t.getHours();return i===0&&(i=24),e==="ko"?n.ordinalNumber(i,{unit:"hour"}):ar(i,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):xA.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):xA.s(t,e)},S:function(t,e){return xA.S(t,e)},X:function(t,e,n){const i=t.getTimezoneOffset();if(i===0)return"Z";switch(e){case"X":return N$(i);case"XXXX":case"XX":return Jm(i);case"XXXXX":case"XXX":default:return Jm(i,":")}},x:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"x":return N$(i);case"xxxx":case"xx":return Jm(i);case"xxxxx":case"xxx":default:return Jm(i,":")}},O:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+w$(i,":");case"OOOO":default:return"GMT"+Jm(i,":")}},z:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+w$(i,":");case"zzzz":default:return"GMT"+Jm(i,":")}},t:function(t,e,n){const i=Math.trunc(+t/1e3);return ar(i,e.length)},T:function(t,e,n){return ar(+t,e.length)}};function w$(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+ar(a,2)}function N$(t,e){return t%60===0?(t>0?"-":"+")+ar(Math.abs(t)/60,2):Jm(t,e)}function Jm(t,e=""){const n=t>0?"-":"+",i=Math.abs(t),r=ar(Math.trunc(i/60),2),a=ar(i%60,2);return n+r+e+a}const C$=(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"});case"PPPP":default:return e.date({width:"full"})}},_X=(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"});case"pppp":default:return e.time({width:"full"})}},ISe=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],i=n[1],r=n[2];if(!r)return C$(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;case"PPPP":default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",C$(i,e)).replace("{{time}}",_X(r,e))},OSe={p:_X,P:ISe},RSe=/^D+$/,PSe=/^Y+$/,LSe=["D","DD","YY","YYYY"];function USe(t){return RSe.test(t)}function MSe(t){return PSe.test(t)}function $Se(t,e,n){const i=jSe(t,e,n);if(console.warn(i),LSe.includes(t))throw new RangeError(i)}function jSe(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 QSe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,HSe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,zSe=/^'([^]*?)'?$/,VSe=/''/g,GSe=/[a-zA-Z]/;function Nh(t,e,n){const i=a2(),r=n?.locale??i.locale??_Se,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=Il(t,n?.in);if(!K1e(s))throw new RangeError("Invalid time value");let l=e.match(HSe).map(d=>{const f=d[0];if(f==="p"||f==="P"){const h=OSe[f];return h(d,r.formatLong)}return d}).join("").match(QSe).map(d=>{if(d==="''")return{isToken:!1,value:"'"};const f=d[0];if(f==="'")return{isToken:!1,value:qSe(d)};if(S$[f])return{isToken:!0,value:d};if(f.match(GSe))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&&MSe(f)||!n?.useAdditionalDayOfYearTokens&&USe(f))&&$Se(f,e,String(t));const h=S$[f[0]];return h(s,f,r.localize,c)}).join("")}function qSe(t){const e=t.match(zSe);return e?e[1].replace(VSe,"'"):t}function KSe(t,e,n){return G1e(t,-1,n)}var KE={exports:{}},WE={},G0={},x$;function WSe(){if(x$)return G0;x$=1,G0.byteLength=s,G0.toByteArray=c,G0.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 p=m.length;if(p%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var g=m.indexOf("=");g===-1&&(g=p);var b=g===p?0:4-g%4;return[g,b]}function s(m){var p=o(m),g=p[0],b=p[1];return(g+b)*3/4-b}function l(m,p,g){return(p+g)*3/4-g}function c(m){var p,g=o(m),b=g[0],k=g[1],S=new n(l(m,b,k)),C=0,x=k>0?b-4:b,F;for(F=0;F<x;F+=4)p=e[m.charCodeAt(F)]<<18|e[m.charCodeAt(F+1)]<<12|e[m.charCodeAt(F+2)]<<6|e[m.charCodeAt(F+3)],S[C++]=p>>16&255,S[C++]=p>>8&255,S[C++]=p&255;return k===2&&(p=e[m.charCodeAt(F)]<<2|e[m.charCodeAt(F+1)]>>4,S[C++]=p&255),k===1&&(p=e[m.charCodeAt(F)]<<10|e[m.charCodeAt(F+1)]<<4|e[m.charCodeAt(F+2)]>>2,S[C++]=p>>8&255,S[C++]=p&255),S}function d(m){return t[m>>18&63]+t[m>>12&63]+t[m>>6&63]+t[m&63]}function f(m,p,g){for(var b,k=[],S=p;S<g;S+=3)b=(m[S]<<16&16711680)+(m[S+1]<<8&65280)+(m[S+2]&255),k.push(d(b));return k.join("")}function h(m){for(var p,g=m.length,b=g%3,k=[],S=16383,C=0,x=g-b;C<x;C+=S)k.push(f(m,C,C+S>x?x:C+S));return b===1?(p=m[g-1],k.push(t[p>>2]+t[p<<4&63]+"==")):b===2&&(p=(m[g-2]<<8)+m[g-1],k.push(t[p>>10]+t[p>>4&63]+t[p<<2&63]+"=")),k.join("")}return G0}var U1={};var F$;function YSe(){return F$||(F$=1,U1.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)},U1.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,p=i?1:-1,g=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+=p,s/=256,r-=8);for(o=o<<r|s,c+=r;c>0;t[n+m]=o&255,m+=p,o/=256,c-=8);t[n+m-p]|=g*128}),U1}var _$;function Mk(){return _$||(_$=1,(function(t){var e=WSe(),n=YSe(),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.SlowBuffer=S,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 Ae=new Uint8Array(1),Q={foo:function(){return 42}};return Object.setPrototypeOf(Q,Uint8Array.prototype),Object.setPrototypeOf(Ae,Q),Ae.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(Ae){if(Ae>r)throw new RangeError('The value "'+Ae+'" is invalid for option "size"');var Q=new Uint8Array(Ae);return Object.setPrototypeOf(Q,s.prototype),Q}function s(Ae,Q,X){if(typeof Ae=="number"){if(typeof Q=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(Ae)}return l(Ae,Q,X)}s.poolSize=8192;function l(Ae,Q,X){if(typeof Ae=="string")return h(Ae,Q);if(ArrayBuffer.isView(Ae))return p(Ae);if(Ae==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ae);if(Ee(Ae,ArrayBuffer)||Ae&&Ee(Ae.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ee(Ae,SharedArrayBuffer)||Ae&&Ee(Ae.buffer,SharedArrayBuffer)))return g(Ae,Q,X);if(typeof Ae=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ne=Ae.valueOf&&Ae.valueOf();if(ne!=null&&ne!==Ae)return s.from(ne,Q,X);var ce=b(Ae);if(ce)return ce;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Ae[Symbol.toPrimitive]=="function")return s.from(Ae[Symbol.toPrimitive]("string"),Q,X);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ae)}s.from=function(Ae,Q,X){return l(Ae,Q,X)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function c(Ae){if(typeof Ae!="number")throw new TypeError('"size" argument must be of type number');if(Ae<0)throw new RangeError('The value "'+Ae+'" is invalid for option "size"')}function d(Ae,Q,X){return c(Ae),Ae<=0?o(Ae):Q!==void 0?typeof X=="string"?o(Ae).fill(Q,X):o(Ae).fill(Q):o(Ae)}s.alloc=function(Ae,Q,X){return d(Ae,Q,X)};function f(Ae){return c(Ae),o(Ae<0?0:k(Ae)|0)}s.allocUnsafe=function(Ae){return f(Ae)},s.allocUnsafeSlow=function(Ae){return f(Ae)};function h(Ae,Q){if((typeof Q!="string"||Q==="")&&(Q="utf8"),!s.isEncoding(Q))throw new TypeError("Unknown encoding: "+Q);var X=C(Ae,Q)|0,ne=o(X),ce=ne.write(Ae,Q);return ce!==X&&(ne=ne.slice(0,ce)),ne}function m(Ae){for(var Q=Ae.length<0?0:k(Ae.length)|0,X=o(Q),ne=0;ne<Q;ne+=1)X[ne]=Ae[ne]&255;return X}function p(Ae){if(Ee(Ae,Uint8Array)){var Q=new Uint8Array(Ae);return g(Q.buffer,Q.byteOffset,Q.byteLength)}return m(Ae)}function g(Ae,Q,X){if(Q<0||Ae.byteLength<Q)throw new RangeError('"offset" is outside of buffer bounds');if(Ae.byteLength<Q+(X||0))throw new RangeError('"length" is outside of buffer bounds');var ne;return Q===void 0&&X===void 0?ne=new Uint8Array(Ae):X===void 0?ne=new Uint8Array(Ae,Q):ne=new Uint8Array(Ae,Q,X),Object.setPrototypeOf(ne,s.prototype),ne}function b(Ae){if(s.isBuffer(Ae)){var Q=k(Ae.length)|0,X=o(Q);return X.length===0||Ae.copy(X,0,0,Q),X}if(Ae.length!==void 0)return typeof Ae.length!="number"||Le(Ae.length)?o(0):m(Ae);if(Ae.type==="Buffer"&&Array.isArray(Ae.data))return m(Ae.data)}function k(Ae){if(Ae>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return Ae|0}function S(Ae){return+Ae!=Ae&&(Ae=0),s.alloc(+Ae)}s.isBuffer=function(Q){return Q!=null&&Q._isBuffer===!0&&Q!==s.prototype},s.compare=function(Q,X){if(Ee(Q,Uint8Array)&&(Q=s.from(Q,Q.offset,Q.byteLength)),Ee(X,Uint8Array)&&(X=s.from(X,X.offset,X.byteLength)),!s.isBuffer(Q)||!s.isBuffer(X))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Q===X)return 0;for(var ne=Q.length,ce=X.length,ke=0,Ne=Math.min(ne,ce);ke<Ne;++ke)if(Q[ke]!==X[ke]){ne=Q[ke],ce=X[ke];break}return ne<ce?-1:ce<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,X){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(X===void 0)for(X=0,ne=0;ne<Q.length;++ne)X+=Q[ne].length;var ce=s.allocUnsafe(X),ke=0;for(ne=0;ne<Q.length;++ne){var Ne=Q[ne];if(Ee(Ne,Uint8Array))ke+Ne.length>ce.length?s.from(Ne).copy(ce,ke):Uint8Array.prototype.set.call(ce,Ne,ke);else if(s.isBuffer(Ne))Ne.copy(ce,ke);else throw new TypeError('"list" argument must be an Array of Buffers');ke+=Ne.length}return ce};function C(Ae,Q){if(s.isBuffer(Ae))return Ae.length;if(ArrayBuffer.isView(Ae)||Ee(Ae,ArrayBuffer))return Ae.byteLength;if(typeof Ae!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Ae);var X=Ae.length,ne=arguments.length>2&&arguments[2]===!0;if(!ne&&X===0)return 0;for(var ce=!1;;)switch(Q){case"ascii":case"latin1":case"binary":return X;case"utf8":case"utf-8":return fe(Ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return X*2;case"hex":return X>>>1;case"base64":return oe(Ae).length;default:if(ce)return ne?-1:fe(Ae).length;Q=(""+Q).toLowerCase(),ce=!0}}s.byteLength=C;function x(Ae,Q,X){var ne=!1;if((Q===void 0||Q<0)&&(Q=0),Q>this.length||((X===void 0||X>this.length)&&(X=this.length),X<=0)||(X>>>=0,Q>>>=0,X<=Q))return"";for(Ae||(Ae="utf8");;)switch(Ae){case"hex":return ue(this,Q,X);case"utf8":case"utf-8":return q(this,Q,X);case"ascii":return te(this,Q,X);case"latin1":case"binary":return Y(this,Q,X);case"base64":return Z(this,Q,X);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,Q,X);default:if(ne)throw new TypeError("Unknown encoding: "+Ae);Ae=(Ae+"").toLowerCase(),ne=!0}}s.prototype._isBuffer=!0;function F(Ae,Q,X){var ne=Ae[Q];Ae[Q]=Ae[X],Ae[X]=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 X=0;X<Q;X+=2)F(this,X,X+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 X=0;X<Q;X+=4)F(this,X,X+3),F(this,X+1,X+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 X=0;X<Q;X+=8)F(this,X,X+7),F(this,X+1,X+6),F(this,X+2,X+5),F(this,X+3,X+4);return this},s.prototype.toString=function(){var Q=this.length;return Q===0?"":arguments.length===0?q(this,0,Q):x.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="",X=t.INSPECT_MAX_BYTES;return Q=this.toString("hex",0,X).replace(/(.{2})/g,"$1 ").trim(),this.length>X&&(Q+=" ... "),"<Buffer "+Q+">"},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(Q,X,ne,ce,ke){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(X===void 0&&(X=0),ne===void 0&&(ne=Q?Q.length:0),ce===void 0&&(ce=0),ke===void 0&&(ke=this.length),X<0||ne>Q.length||ce<0||ke>this.length)throw new RangeError("out of range index");if(ce>=ke&&X>=ne)return 0;if(ce>=ke)return-1;if(X>=ne)return 1;if(X>>>=0,ne>>>=0,ce>>>=0,ke>>>=0,this===Q)return 0;for(var Ne=ke-ce,$e=ne-X,Ge=Math.min(Ne,$e),He=this.slice(ce,ke),We=Q.slice(X,ne),ct=0;ct<Ge;++ct)if(He[ct]!==We[ct]){Ne=He[ct],$e=We[ct];break}return Ne<$e?-1:$e<Ne?1:0};function T(Ae,Q,X,ne,ce){if(Ae.length===0)return-1;if(typeof X=="string"?(ne=X,X=0):X>2147483647?X=2147483647:X<-2147483648&&(X=-2147483648),X=+X,Le(X)&&(X=ce?0:Ae.length-1),X<0&&(X=Ae.length+X),X>=Ae.length){if(ce)return-1;X=Ae.length-1}else if(X<0)if(ce)X=0;else return-1;if(typeof Q=="string"&&(Q=s.from(Q,ne)),s.isBuffer(Q))return Q.length===0?-1:E(Ae,Q,X,ne,ce);if(typeof Q=="number")return Q=Q&255,typeof Uint8Array.prototype.indexOf=="function"?ce?Uint8Array.prototype.indexOf.call(Ae,Q,X):Uint8Array.prototype.lastIndexOf.call(Ae,Q,X):E(Ae,[Q],X,ne,ce);throw new TypeError("val must be string, number or Buffer")}function E(Ae,Q,X,ne,ce){var ke=1,Ne=Ae.length,$e=Q.length;if(ne!==void 0&&(ne=String(ne).toLowerCase(),ne==="ucs2"||ne==="ucs-2"||ne==="utf16le"||ne==="utf-16le")){if(Ae.length<2||Q.length<2)return-1;ke=2,Ne/=2,$e/=2,X/=2}function Ge(yt,me){return ke===1?yt[me]:yt.readUInt16BE(me*ke)}var He;if(ce){var We=-1;for(He=X;He<Ne;He++)if(Ge(Ae,He)===Ge(Q,We===-1?0:He-We)){if(We===-1&&(We=He),He-We+1===$e)return We*ke}else We!==-1&&(He-=He-We),We=-1}else for(X+$e>Ne&&(X=Ne-$e),He=X;He>=0;He--){for(var ct=!0,ut=0;ut<$e;ut++)if(Ge(Ae,He+ut)!==Ge(Q,ut)){ct=!1;break}if(ct)return He}return-1}s.prototype.includes=function(Q,X,ne){return this.indexOf(Q,X,ne)!==-1},s.prototype.indexOf=function(Q,X,ne){return T(this,Q,X,ne,!0)},s.prototype.lastIndexOf=function(Q,X,ne){return T(this,Q,X,ne,!1)};function I(Ae,Q,X,ne){X=Number(X)||0;var ce=Ae.length-X;ne?(ne=Number(ne),ne>ce&&(ne=ce)):ne=ce;var ke=Q.length;ne>ke/2&&(ne=ke/2);for(var Ne=0;Ne<ne;++Ne){var $e=parseInt(Q.substr(Ne*2,2),16);if(Le($e))return Ne;Ae[X+Ne]=$e}return Ne}function R(Ae,Q,X,ne){return le(fe(Q,Ae.length-X),Ae,X,ne)}function V(Ae,Q,X,ne){return le(ge(Q),Ae,X,ne)}function U(Ae,Q,X,ne){return le(oe(Q),Ae,X,ne)}function P(Ae,Q,X,ne){return le(Se(Q,Ae.length-X),Ae,X,ne)}s.prototype.write=function(Q,X,ne,ce){if(X===void 0)ce="utf8",ne=this.length,X=0;else if(ne===void 0&&typeof X=="string")ce=X,ne=this.length,X=0;else if(isFinite(X))X=X>>>0,isFinite(ne)?(ne=ne>>>0,ce===void 0&&(ce="utf8")):(ce=ne,ne=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ke=this.length-X;if((ne===void 0||ne>ke)&&(ne=ke),Q.length>0&&(ne<0||X<0)||X>this.length)throw new RangeError("Attempt to write outside buffer bounds");ce||(ce="utf8");for(var Ne=!1;;)switch(ce){case"hex":return I(this,Q,X,ne);case"utf8":case"utf-8":return R(this,Q,X,ne);case"ascii":case"latin1":case"binary":return V(this,Q,X,ne);case"base64":return U(this,Q,X,ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,Q,X,ne);default:if(Ne)throw new TypeError("Unknown encoding: "+ce);ce=(""+ce).toLowerCase(),Ne=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Z(Ae,Q,X){return Q===0&&X===Ae.length?e.fromByteArray(Ae):e.fromByteArray(Ae.slice(Q,X))}function q(Ae,Q,X){X=Math.min(Ae.length,X);for(var ne=[],ce=Q;ce<X;){var ke=Ae[ce],Ne=null,$e=ke>239?4:ke>223?3:ke>191?2:1;if(ce+$e<=X){var Ge,He,We,ct;switch($e){case 1:ke<128&&(Ne=ke);break;case 2:Ge=Ae[ce+1],(Ge&192)===128&&(ct=(ke&31)<<6|Ge&63,ct>127&&(Ne=ct));break;case 3:Ge=Ae[ce+1],He=Ae[ce+2],(Ge&192)===128&&(He&192)===128&&(ct=(ke&15)<<12|(Ge&63)<<6|He&63,ct>2047&&(ct<55296||ct>57343)&&(Ne=ct));break;case 4:Ge=Ae[ce+1],He=Ae[ce+2],We=Ae[ce+3],(Ge&192)===128&&(He&192)===128&&(We&192)===128&&(ct=(ke&15)<<18|(Ge&63)<<12|(He&63)<<6|We&63,ct>65535&&ct<1114112&&(Ne=ct))}}Ne===null?(Ne=65533,$e=1):Ne>65535&&(Ne-=65536,ne.push(Ne>>>10&1023|55296),Ne=56320|Ne&1023),ne.push(Ne),ce+=$e}return H(ne)}var ae=4096;function H(Ae){var Q=Ae.length;if(Q<=ae)return String.fromCharCode.apply(String,Ae);for(var X="",ne=0;ne<Q;)X+=String.fromCharCode.apply(String,Ae.slice(ne,ne+=ae));return X}function te(Ae,Q,X){var ne="";X=Math.min(Ae.length,X);for(var ce=Q;ce<X;++ce)ne+=String.fromCharCode(Ae[ce]&127);return ne}function Y(Ae,Q,X){var ne="";X=Math.min(Ae.length,X);for(var ce=Q;ce<X;++ce)ne+=String.fromCharCode(Ae[ce]);return ne}function ue(Ae,Q,X){var ne=Ae.length;(!Q||Q<0)&&(Q=0),(!X||X<0||X>ne)&&(X=ne);for(var ce="",ke=Q;ke<X;++ke)ce+=ve[Ae[ke]];return ce}function we(Ae,Q,X){for(var ne=Ae.slice(Q,X),ce="",ke=0;ke<ne.length-1;ke+=2)ce+=String.fromCharCode(ne[ke]+ne[ke+1]*256);return ce}s.prototype.slice=function(Q,X){var ne=this.length;Q=~~Q,X=X===void 0?ne:~~X,Q<0?(Q+=ne,Q<0&&(Q=0)):Q>ne&&(Q=ne),X<0?(X+=ne,X<0&&(X=0)):X>ne&&(X=ne),X<Q&&(X=Q);var ce=this.subarray(Q,X);return Object.setPrototypeOf(ce,s.prototype),ce};function ie(Ae,Q,X){if(Ae%1!==0||Ae<0)throw new RangeError("offset is not uint");if(Ae+Q>X)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(Q,X,ne){Q=Q>>>0,X=X>>>0,ne||ie(Q,X,this.length);for(var ce=this[Q],ke=1,Ne=0;++Ne<X&&(ke*=256);)ce+=this[Q+Ne]*ke;return ce},s.prototype.readUintBE=s.prototype.readUIntBE=function(Q,X,ne){Q=Q>>>0,X=X>>>0,ne||ie(Q,X,this.length);for(var ce=this[Q+--X],ke=1;X>0&&(ke*=256);)ce+=this[Q+--X]*ke;return ce},s.prototype.readUint8=s.prototype.readUInt8=function(Q,X){return Q=Q>>>0,X||ie(Q,1,this.length),this[Q]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(Q,X){return Q=Q>>>0,X||ie(Q,2,this.length),this[Q]|this[Q+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(Q,X){return Q=Q>>>0,X||ie(Q,2,this.length),this[Q]<<8|this[Q+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(Q,X){return Q=Q>>>0,X||ie(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,X){return Q=Q>>>0,X||ie(Q,4,this.length),this[Q]*16777216+(this[Q+1]<<16|this[Q+2]<<8|this[Q+3])},s.prototype.readIntLE=function(Q,X,ne){Q=Q>>>0,X=X>>>0,ne||ie(Q,X,this.length);for(var ce=this[Q],ke=1,Ne=0;++Ne<X&&(ke*=256);)ce+=this[Q+Ne]*ke;return ke*=128,ce>=ke&&(ce-=Math.pow(2,8*X)),ce},s.prototype.readIntBE=function(Q,X,ne){Q=Q>>>0,X=X>>>0,ne||ie(Q,X,this.length);for(var ce=X,ke=1,Ne=this[Q+--ce];ce>0&&(ke*=256);)Ne+=this[Q+--ce]*ke;return ke*=128,Ne>=ke&&(Ne-=Math.pow(2,8*X)),Ne},s.prototype.readInt8=function(Q,X){return Q=Q>>>0,X||ie(Q,1,this.length),this[Q]&128?(255-this[Q]+1)*-1:this[Q]},s.prototype.readInt16LE=function(Q,X){Q=Q>>>0,X||ie(Q,2,this.length);var ne=this[Q]|this[Q+1]<<8;return ne&32768?ne|4294901760:ne},s.prototype.readInt16BE=function(Q,X){Q=Q>>>0,X||ie(Q,2,this.length);var ne=this[Q+1]|this[Q]<<8;return ne&32768?ne|4294901760:ne},s.prototype.readInt32LE=function(Q,X){return Q=Q>>>0,X||ie(Q,4,this.length),this[Q]|this[Q+1]<<8|this[Q+2]<<16|this[Q+3]<<24},s.prototype.readInt32BE=function(Q,X){return Q=Q>>>0,X||ie(Q,4,this.length),this[Q]<<24|this[Q+1]<<16|this[Q+2]<<8|this[Q+3]},s.prototype.readFloatLE=function(Q,X){return Q=Q>>>0,X||ie(Q,4,this.length),n.read(this,Q,!0,23,4)},s.prototype.readFloatBE=function(Q,X){return Q=Q>>>0,X||ie(Q,4,this.length),n.read(this,Q,!1,23,4)},s.prototype.readDoubleLE=function(Q,X){return Q=Q>>>0,X||ie(Q,8,this.length),n.read(this,Q,!0,52,8)},s.prototype.readDoubleBE=function(Q,X){return Q=Q>>>0,X||ie(Q,8,this.length),n.read(this,Q,!1,52,8)};function L(Ae,Q,X,ne,ce,ke){if(!s.isBuffer(Ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(Q>ce||Q<ke)throw new RangeError('"value" argument is out of bounds');if(X+ne>Ae.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(Q,X,ne,ce){if(Q=+Q,X=X>>>0,ne=ne>>>0,!ce){var ke=Math.pow(2,8*ne)-1;L(this,Q,X,ne,ke,0)}var Ne=1,$e=0;for(this[X]=Q&255;++$e<ne&&(Ne*=256);)this[X+$e]=Q/Ne&255;return X+ne},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(Q,X,ne,ce){if(Q=+Q,X=X>>>0,ne=ne>>>0,!ce){var ke=Math.pow(2,8*ne)-1;L(this,Q,X,ne,ke,0)}var Ne=ne-1,$e=1;for(this[X+Ne]=Q&255;--Ne>=0&&($e*=256);)this[X+Ne]=Q/$e&255;return X+ne},s.prototype.writeUint8=s.prototype.writeUInt8=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,1,255,0),this[X]=Q&255,X+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,2,65535,0),this[X]=Q&255,this[X+1]=Q>>>8,X+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,2,65535,0),this[X]=Q>>>8,this[X+1]=Q&255,X+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,4,4294967295,0),this[X+3]=Q>>>24,this[X+2]=Q>>>16,this[X+1]=Q>>>8,this[X]=Q&255,X+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,4,4294967295,0),this[X]=Q>>>24,this[X+1]=Q>>>16,this[X+2]=Q>>>8,this[X+3]=Q&255,X+4},s.prototype.writeIntLE=function(Q,X,ne,ce){if(Q=+Q,X=X>>>0,!ce){var ke=Math.pow(2,8*ne-1);L(this,Q,X,ne,ke-1,-ke)}var Ne=0,$e=1,Ge=0;for(this[X]=Q&255;++Ne<ne&&($e*=256);)Q<0&&Ge===0&&this[X+Ne-1]!==0&&(Ge=1),this[X+Ne]=(Q/$e>>0)-Ge&255;return X+ne},s.prototype.writeIntBE=function(Q,X,ne,ce){if(Q=+Q,X=X>>>0,!ce){var ke=Math.pow(2,8*ne-1);L(this,Q,X,ne,ke-1,-ke)}var Ne=ne-1,$e=1,Ge=0;for(this[X+Ne]=Q&255;--Ne>=0&&($e*=256);)Q<0&&Ge===0&&this[X+Ne+1]!==0&&(Ge=1),this[X+Ne]=(Q/$e>>0)-Ge&255;return X+ne},s.prototype.writeInt8=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,1,127,-128),Q<0&&(Q=255+Q+1),this[X]=Q&255,X+1},s.prototype.writeInt16LE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,2,32767,-32768),this[X]=Q&255,this[X+1]=Q>>>8,X+2},s.prototype.writeInt16BE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,2,32767,-32768),this[X]=Q>>>8,this[X+1]=Q&255,X+2},s.prototype.writeInt32LE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,4,2147483647,-2147483648),this[X]=Q&255,this[X+1]=Q>>>8,this[X+2]=Q>>>16,this[X+3]=Q>>>24,X+4},s.prototype.writeInt32BE=function(Q,X,ne){return Q=+Q,X=X>>>0,ne||L(this,Q,X,4,2147483647,-2147483648),Q<0&&(Q=4294967295+Q+1),this[X]=Q>>>24,this[X+1]=Q>>>16,this[X+2]=Q>>>8,this[X+3]=Q&255,X+4};function j(Ae,Q,X,ne,ce,ke){if(X+ne>Ae.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("Index out of range")}function $(Ae,Q,X,ne,ce){return Q=+Q,X=X>>>0,ce||j(Ae,Q,X,4),n.write(Ae,Q,X,ne,23,4),X+4}s.prototype.writeFloatLE=function(Q,X,ne){return $(this,Q,X,!0,ne)},s.prototype.writeFloatBE=function(Q,X,ne){return $(this,Q,X,!1,ne)};function W(Ae,Q,X,ne,ce){return Q=+Q,X=X>>>0,ce||j(Ae,Q,X,8),n.write(Ae,Q,X,ne,52,8),X+8}s.prototype.writeDoubleLE=function(Q,X,ne){return W(this,Q,X,!0,ne)},s.prototype.writeDoubleBE=function(Q,X,ne){return W(this,Q,X,!1,ne)},s.prototype.copy=function(Q,X,ne,ce){if(!s.isBuffer(Q))throw new TypeError("argument should be a Buffer");if(ne||(ne=0),!ce&&ce!==0&&(ce=this.length),X>=Q.length&&(X=Q.length),X||(X=0),ce>0&&ce<ne&&(ce=ne),ce===ne||Q.length===0||this.length===0)return 0;if(X<0)throw new RangeError("targetStart out of bounds");if(ne<0||ne>=this.length)throw new RangeError("Index out of range");if(ce<0)throw new RangeError("sourceEnd out of bounds");ce>this.length&&(ce=this.length),Q.length-X<ce-ne&&(ce=Q.length-X+ne);var ke=ce-ne;return this===Q&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(X,ne,ce):Uint8Array.prototype.set.call(Q,this.subarray(ne,ce),X),ke},s.prototype.fill=function(Q,X,ne,ce){if(typeof Q=="string"){if(typeof X=="string"?(ce=X,X=0,ne=this.length):typeof ne=="string"&&(ce=ne,ne=this.length),ce!==void 0&&typeof ce!="string")throw new TypeError("encoding must be a string");if(typeof ce=="string"&&!s.isEncoding(ce))throw new TypeError("Unknown encoding: "+ce);if(Q.length===1){var ke=Q.charCodeAt(0);(ce==="utf8"&&ke<128||ce==="latin1")&&(Q=ke)}}else typeof Q=="number"?Q=Q&255:typeof Q=="boolean"&&(Q=Number(Q));if(X<0||this.length<X||this.length<ne)throw new RangeError("Out of range index");if(ne<=X)return this;X=X>>>0,ne=ne===void 0?this.length:ne>>>0,Q||(Q=0);var Ne;if(typeof Q=="number")for(Ne=X;Ne<ne;++Ne)this[Ne]=Q;else{var $e=s.isBuffer(Q)?Q:s.from(Q,ce),Ge=$e.length;if(Ge===0)throw new TypeError('The value "'+Q+'" is invalid for argument "value"');for(Ne=0;Ne<ne-X;++Ne)this[Ne+X]=$e[Ne%Ge]}return this};var J=/[^+/0-9A-Za-z-_]/g;function K(Ae){if(Ae=Ae.split("=")[0],Ae=Ae.trim().replace(J,""),Ae.length<2)return"";for(;Ae.length%4!==0;)Ae=Ae+"=";return Ae}function fe(Ae,Q){Q=Q||1/0;for(var X,ne=Ae.length,ce=null,ke=[],Ne=0;Ne<ne;++Ne){if(X=Ae.charCodeAt(Ne),X>55295&&X<57344){if(!ce){if(X>56319){(Q-=3)>-1&&ke.push(239,191,189);continue}else if(Ne+1===ne){(Q-=3)>-1&&ke.push(239,191,189);continue}ce=X;continue}if(X<56320){(Q-=3)>-1&&ke.push(239,191,189),ce=X;continue}X=(ce-55296<<10|X-56320)+65536}else ce&&(Q-=3)>-1&&ke.push(239,191,189);if(ce=null,X<128){if((Q-=1)<0)break;ke.push(X)}else if(X<2048){if((Q-=2)<0)break;ke.push(X>>6|192,X&63|128)}else if(X<65536){if((Q-=3)<0)break;ke.push(X>>12|224,X>>6&63|128,X&63|128)}else if(X<1114112){if((Q-=4)<0)break;ke.push(X>>18|240,X>>12&63|128,X>>6&63|128,X&63|128)}else throw new Error("Invalid code point")}return ke}function ge(Ae){for(var Q=[],X=0;X<Ae.length;++X)Q.push(Ae.charCodeAt(X)&255);return Q}function Se(Ae,Q){for(var X,ne,ce,ke=[],Ne=0;Ne<Ae.length&&!((Q-=2)<0);++Ne)X=Ae.charCodeAt(Ne),ne=X>>8,ce=X%256,ke.push(ce),ke.push(ne);return ke}function oe(Ae){return e.toByteArray(K(Ae))}function le(Ae,Q,X,ne){for(var ce=0;ce<ne&&!(ce+X>=Q.length||ce>=Ae.length);++ce)Q[ce+X]=Ae[ce];return ce}function Ee(Ae,Q){return Ae instanceof Q||Ae!=null&&Ae.constructor!=null&&Ae.constructor.name!=null&&Ae.constructor.name===Q.name}function Le(Ae){return Ae!==Ae}var ve=(function(){for(var Ae="0123456789abcdef",Q=new Array(256),X=0;X<16;++X)for(var ne=X*16,ce=0;ce<16;++ce)Q[ne+ce]=Ae[X]+Ae[ce];return Q})()})(WE)),WE}var YE,E$;function cm(){if(E$)return YE;E$=1;var t=Mk(),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)),YE=n,YE}var M1={},B$;function XSe(){if(B$)return M1;B$=1;var t="\uFEFF";M1.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()},M1.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()},M1}var XE,T$;function EX(){if(T$)return XE;T$=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 XE=e,XE}var ZE={},JE={},$1={exports:{}};var D$;function ZSe(){return D$||(D$=1,(function(t,e){var n=Mk(),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)}})($1,$1.exports)),$1.exports}var I$;function L4(){if(I$)return JE;I$=1;var t=ZSe().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 S;;)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(S)return;k=(""+k).toLowerCase(),S=!0}}function i(k){var S=n(k);if(typeof S!="string"&&(t.isEncoding===e||!e(k)))throw new Error("Unknown encoding: "+k);return S||k}JE.StringDecoder=r;function r(k){this.encoding=i(k);var S;switch(this.encoding){case"utf16le":this.text=f,this.end=h,S=4;break;case"utf8":this.fillLast=l,S=4;break;case"base64":this.text=m,this.end=p,S=3;break;default:this.write=g,this.end=b;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(S)}r.prototype.write=function(k){if(k.length===0)return"";var S,C;if(this.lastNeed){if(S=this.fillLast(k),S===void 0)return"";C=this.lastNeed,this.lastNeed=0}else C=0;return C<k.length?S?S+this.text(k,C):this.text(k,C):S||""},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,S,C){var x=S.length-1;if(x<C)return 0;var F=a(S[x]);return F>=0?(F>0&&(k.lastNeed=F-1),F):--x<C||F===-2?0:(F=a(S[x]),F>=0?(F>0&&(k.lastNeed=F-2),F):--x<C||F===-2?0:(F=a(S[x]),F>=0?(F>0&&(F===2?F=0:k.lastNeed=F-3),F):0))}function s(k,S,C){if((S[0]&192)!==128)return k.lastNeed=0,"�";if(k.lastNeed>1&&S.length>1){if((S[1]&192)!==128)return k.lastNeed=1,"�";if(k.lastNeed>2&&S.length>2&&(S[2]&192)!==128)return k.lastNeed=2,"�"}}function l(k){var S=this.lastTotal-this.lastNeed,C=s(this,k);if(C!==void 0)return C;if(this.lastNeed<=k.length)return k.copy(this.lastChar,S,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);k.copy(this.lastChar,S,0,k.length),this.lastNeed-=k.length}function c(k,S){var C=o(this,k,S);if(!this.lastNeed)return k.toString("utf8",S);this.lastTotal=C;var x=k.length-(C-this.lastNeed);return k.copy(this.lastChar,0,x),k.toString("utf8",S,x)}function d(k){var S=k&&k.length?this.write(k):"";return this.lastNeed?S+"�":S}function f(k,S){if((k.length-S)%2===0){var C=k.toString("utf16le",S);if(C){var x=C.charCodeAt(C.length-1);if(x>=55296&&x<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=k[k.length-2],this.lastChar[1]=k[k.length-1],C.slice(0,-1)}return C}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=k[k.length-1],k.toString("utf16le",S,k.length-1)}function h(k){var S=k&&k.length?this.write(k):"";if(this.lastNeed){var C=this.lastTotal-this.lastNeed;return S+this.lastChar.toString("utf16le",0,C)}return S}function m(k,S){var C=(k.length-S)%3;return C===0?k.toString("base64",S):(this.lastNeed=3-C,this.lastTotal=3,C===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",S,k.length-C))}function p(k){var S=k&&k.length?this.write(k):"";return this.lastNeed?S+this.lastChar.toString("base64",0,3-this.lastNeed):S}function g(k){return k.toString(this.encoding)}function b(k){return k&&k.length?this.write(k):""}return JE}var eB,O$;function JSe(){if(O$)return eB;O$=1;var t=cm().Buffer;eB={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=L4().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="",p=0;p<c.length;p++){var g=c[p];(g&192)!==128?(f>0&&(m+=this.defaultCharUnicode,f=0),g<128?m+=String.fromCharCode(g):g<224?(d=g&31,f=1,h=1):g<240?(d=g&15,f=2,h=1):m+=this.defaultCharUnicode):f>0?(d=d<<6|g&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)}},eB}var df={},R$;function ewe(){if(R$)return df;R$=1;var t=cm().Buffer;df._utf32=e;function e(c,d){this.iconv=d,this.bomAware=!0,this.isLE=c.isLE}df.utf32le={type:"_utf32",isLE:!0},df.utf32be={type:"_utf32",isLE:!1},df.ucs4le="utf32le",df.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,p=0;p<d.length;p+=2){var g=d.readUInt16LE(p),b=g>=55296&&g<56320,k=g>=56320&&g<57344;if(this.highSurrogate)if(b||!k)h.call(f,this.highSurrogate,m),m+=4;else{var S=(this.highSurrogate-55296<<10|g-56320)+65536;h.call(f,S,m),m+=4,this.highSurrogate=0;continue}b?this.highSurrogate=g:(h.call(f,g,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,p=this.isLE,g=this.overflow,b=this.badChar;if(g.length>0){for(;d<c.length&&g.length<4;d++)g.push(c[d]);g.length===4&&(p?f=g[d]|g[d+1]<<8|g[d+2]<<16|g[d+3]<<24:f=g[d+3]|g[d+2]<<8|g[d+1]<<16|g[d]<<24,g.length=0,m=r(h,m,f,b))}for(;d<c.length-3;d+=4)p?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++)g.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},df.utf32=a,df.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,p=0,g=0,b=0;e:for(var k=0;k<c.length;k++)for(var S=c[k],C=0;C<S.length;C++)if(f.push(S[C]),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)&&p++,(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&&g++,f.length=0,h++,h>=100)break e}return b-p>g-m?"utf-32be":b-p<g-m?"utf-32le":d||"utf-32le"}return df}var j1={},P$;function twe(){if(P$)return j1;P$=1;var t=cm().Buffer;j1.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},j1.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 p=0;p<l.length;p++)for(var g=l[p],b=0;b<g.length;b++)if(d.push(g[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 j1}var q0={},L$;function nwe(){if(L$)return q0;L$=1;var t=cm().Buffer;q0.utf7=e,q0.unicode11utf7="utf7";function e(g,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(g,b){this.iconv=b.iconv}i.prototype.write=function(g){return t.from(g.replace(n,(function(b){return"+"+(b==="+"?"":this.iconv.encode(b,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}).bind(this)))},i.prototype.end=function(){};function r(g,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(g){for(var b="",k=0,S=this.inBase64,C=this.base64Accum,x=0;x<g.length;x++)if(!S)g[x]==l&&(b+=this.iconv.decode(g.slice(k,x),"ascii"),k=x+1,S=!0);else if(!o[g[x]]){if(x==k&&g[x]==c)b+="+";else{var F=C+this.iconv.decode(g.slice(k,x),"ascii");b+=this.iconv.decode(t.from(F,"base64"),"utf16-be")}g[x]!=c&&x--,k=x+1,S=!1,C=""}if(!S)b+=this.iconv.decode(g.slice(k),"ascii");else{var F=C+this.iconv.decode(g.slice(k),"ascii"),T=F.length-F.length%8;C=F.slice(T),F=F.slice(0,T),b+=this.iconv.decode(t.from(F,"base64"),"utf16-be")}return this.inBase64=S,this.base64Accum=C,b},r.prototype.end=function(){var g="";return this.inBase64&&this.base64Accum.length>0&&(g=this.iconv.decode(t.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",g},q0.utf7imap=f;function f(g,b){this.iconv=b}f.prototype.encoder=h,f.prototype.decoder=m,f.prototype.bomAware=!0;function h(g,b){this.iconv=b.iconv,this.inBase64=!1,this.base64Accum=t.alloc(6),this.base64AccumIdx=0}h.prototype.write=function(g){for(var b=this.inBase64,k=this.base64Accum,S=this.base64AccumIdx,C=t.alloc(g.length*5+10),x=0,F=0;F<g.length;F++){var T=g.charCodeAt(F);T>=32&&T<=126?(b&&(S>0&&(x+=C.write(k.slice(0,S).toString("base64").replace(/\//g,",").replace(/=+$/,""),x),S=0),C[x++]=c,b=!1),b||(C[x++]=T,T===d&&(C[x++]=c))):(b||(C[x++]=d,b=!0),b&&(k[S++]=T>>8,k[S++]=T&255,S==k.length&&(x+=C.write(k.toString("base64").replace(/\//g,","),x),S=0)))}return this.inBase64=b,this.base64AccumIdx=S,C.slice(0,x)},h.prototype.end=function(){var g=t.alloc(10),b=0;return this.inBase64&&(this.base64AccumIdx>0&&(b+=g.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),b),this.base64AccumIdx=0),g[b++]=c,this.inBase64=!1),g.slice(0,b)};function m(g,b){this.iconv=b.iconv,this.inBase64=!1,this.base64Accum=""}var p=o.slice();return p[44]=!0,m.prototype.write=function(g){for(var b="",k=0,S=this.inBase64,C=this.base64Accum,x=0;x<g.length;x++)if(!S)g[x]==d&&(b+=this.iconv.decode(g.slice(k,x),"ascii"),k=x+1,S=!0);else if(!p[g[x]]){if(x==k&&g[x]==c)b+="&";else{var F=C+this.iconv.decode(g.slice(k,x),"ascii").replace(/,/g,"/");b+=this.iconv.decode(t.from(F,"base64"),"utf16-be")}g[x]!=c&&x--,k=x+1,S=!1,C=""}if(!S)b+=this.iconv.decode(g.slice(k),"ascii");else{var F=C+this.iconv.decode(g.slice(k),"ascii").replace(/,/g,"/"),T=F.length-F.length%8;C=F.slice(T),F=F.slice(0,T),b+=this.iconv.decode(t.from(F,"base64"),"utf16-be")}return this.inBase64=S,this.base64Accum=C,b},m.prototype.end=function(){var g="";return this.inBase64&&this.base64Accum.length>0&&(g=this.iconv.decode(t.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",g},q0}var tB={},U$;function iwe(){if(U$)return tB;U$=1;var t=cm().Buffer;tB._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(){},tB}var nB,M$;function rwe(){return M$||(M$=1,nB={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"}),nB}var iB,$$;function awe(){return $$||($$=1,iB={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
|
|
14
14
|
\v\f\r\x1B !"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�`},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"
¡¢£¤¥¦§¨©ª«¬®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"
ЁЂҐЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"
¡¢£¤¥¦§œ©ª«¬®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"
ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€…‘’“”•–— กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"
¡¢£€¥¦§œ©ª«¬®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\uFEFF–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"
�և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:`\0ÚỤỪỬỮ\x07\b
|
|
15
15
|
\v\f\rỨỰỲỶỸÝỴ\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ`},georgianacademy:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:`\0ẲẴẪ\x07\b
|
|
16
16
|
\v\f\rỶỸ\x1BỴ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ`},iso646cn:{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}}])})(vn.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),p=f.length,g={width:0,height:0,numcomponents:1},b=4;b<p;b+=2){if(b+=m,e.indexOf(f.charCodeAt(b+1))!==-1){h=256*f.charCodeAt(b+5)+f.charCodeAt(b+6),g={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 g})(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}})(vn.API),vn.API.processPNG=function(t,e,n,i){if(this.__addimage__.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.__addimage__.isArrayBufferView(t)){var r,a=Mze(t,{checkCrc:!0}),o=a.width,s=a.height,l=a.channels,c=a.palette,d=a.depth;r=c&&l===1?(function(I){for(var R=I.width,V=I.height,U=I.data,P=I.palette,Z=I.depth,q=!1,ae=[],H=[],te=void 0,Y=!1,ue=0,we=0;we<P.length;we++){var ie=sG(P[we],4),L=ie[0],j=ie[1],$=ie[2],W=ie[3];ae.push(L,j,$),W!=null&&(W===0?(ue++,H.length<1&&H.push(we)):W<255&&(Y=!0))}if(Y||ue>1){q=!0,H=void 0;var J=R*V;te=new Uint8Array(J);for(var K=new DataView(U.buffer),fe=0;fe<J;fe++){var ge=ED(K,fe,Z),Se=sG(P[ge],4)[3];te[fe]=Se}}else ue===0&&(H=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:q?8:void 0,colorBytes:U,alphaBytes:te,needSMask:q,palette:ae,mask:H}})(a):l===2||l===4?(function(I){for(var R=I.data,V=I.width,U=I.height,P=I.channels,Z=I.depth,q=P===2?"DeviceGray":"DeviceRGB",ae=P-1,H=V*U,te=ae,Y=H*te,ue=1*H,we=Math.ceil(Y*Z/8),ie=Math.ceil(ue*Z/8),L=new Uint8Array(we),j=new Uint8Array(ie),$=new DataView(R.buffer),W=new DataView(L.buffer),J=new DataView(j.buffer),K=!1,fe=0;fe<H;fe++){for(var ge=fe*P,Se=0;Se<te;Se++)fq(W,ED($,ge+Se,Z),fe*te+Se,Z);var oe=ED($,ge+te,Z);oe<(1<<Z)-1&&(K=!0),fq(J,oe,1*fe,Z)}return{colorSpace:q,colorsPerPixel:ae,sMaskBitsPerComponent:K?Z:void 0,colorBytes:L,alphaBytes:j,needSMask:K}})(a):(function(I){var R=I.data,V=I.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:V,colorsPerPixel:V==="DeviceGray"?1:3,colorBytes:R instanceof Uint16Array?(function(U){for(var P=U.length,Z=new Uint8Array(2*P),q=new DataView(Z.buffer,Z.byteOffset,Z.byteLength),ae=0;ae<P;ae++)q.setUint16(2*ae,U[ae],!1);return Z})(R):R,needSMask:!1}})(a);var f,h,m,p=r,g=p.colorSpace,b=p.colorsPerPixel,k=p.sMaskBitsPerComponent,S=p.colorBytes,C=p.alphaBytes,x=p.needSMask,F=p.palette,T=p.mask,E=null;return i!==vn.API.image_compression.NONE&&typeof HI=="function"?(E=(function(I){var R;switch(I){case vn.API.image_compression.FAST:R=11;break;case vn.API.image_compression.MEDIUM:R=13;break;case vn.API.image_compression.SLOW:R=14;break;default:R=12}return R})(i),f=this.decode.FLATE_DECODE,h="/Predictor ".concat(E," /Colors ").concat(b," /BitsPerComponent ").concat(d," /Columns ").concat(o),t=sq(S,Math.ceil(o*b*d/8),b,d,i),x&&(m=sq(C,Math.ceil(o*k/8),1,k,i))):(f=void 0,h=void 0,t=S,x&&(m=C)),(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:T,palette:F,sMask:m,predictor:E,width:o,height:s,bitsPerComponent:d,sMaskBitsPerComponent:k,colorSpace:g}}},(function(t){t.processGIF89A=function(e,n,i,r){var a=new oVe(e),o=a.width,s=a.height,l=[];a.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:o,height:s},d=new BD(100).encode(c,100);return t.processJPEG.call(this,d,n,i,r)},t.processGIF87A=t.processGIF89A})(vn.API),Xc.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)},Xc.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){kr.log("bit decode error:"+n)}},Xc.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)}},Xc.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)}},Xc.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)}},Xc.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}},Xc.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}},Xc.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}},Xc.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}},Xc.prototype.getData=function(){return this.data},(function(t){t.processBMP=function(e,n,i,r){var a=new Xc(e,!1),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new BD(100).encode(l,100);return t.processJPEG.call(this,c,n,i,r)}})(vn.API),mq.prototype.getData=function(){return this.data},(function(t){t.processWEBP=function(e,n,i,r){var a=new mq(e),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new BD(100).encode(l,100);return t.processJPEG.call(this,c,n,i,r)}})(vn.API),vn.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 p=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(o),data:p,index:e,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},vn.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},pg=vn.API,qS=pg.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,p=0,g=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&&or(c[i])==="object"&&!isNaN(parseInt(c[i][p],10))?c[i][p]/d:0,b.push((s[i]||g)/l+h)),p=i;return b},rq=pg.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 pg.processArabic&&(t=pg.processArabic(t)),typeof i.metadata.widthOfString=="function"?i.metadata.widthOfString(t,n,r)/n:qS.apply(this,arguments).reduce(function(a,o){return a+o},0)},aq=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},oq=function(t,e,n){n||(n={});var i,r,a,o,s,l,c,d=[],f=[d],h=n.textIndent||0,m=0,p=0,g=t.split(" "),b=qS.apply(this,[" ",n])[0];if(l=n.lineIndent===-1?g[0].length+2:n.lineIndent||0){var k=Array(l).join(" "),S=[];g.map(function(x){(x=x.split(/\s*\n/)).length>1?S=S.concat(x.map(function(F,T){return(T&&F.length?`
|
|
143
143
|
`:"")+F})):S.push(x[0])}),g=S,l=rq.apply(this,[k,n])}for(a=0,o=g.length;a<o;a++){var C=0;if(i=g[a],l&&i[0]==`
|
|
144
|
-
`&&(i=i.substr(1),C=1),h+m+(p=(r=qS.apply(this,[i,n])).reduce(function(x,F){return x+F},0))>e||C){if(p>e){for(s=aq.apply(this,[i,r,e-(h+m),e]),d.push(s.shift()),d=[s.pop()];s.length;)f.push([s.shift()]);p=r.slice(i.length-(d[0]?d[0].length:0)).reduce(function(x,F){return x+F},0)}else d=[i];f.push(d),h=p+l,m=b}else d.push(i),h+=m+p,m=b}return c=l?function(x,F){return(F?k:"")+x.join(" ")}:function(x){return x.join(" ")},f.map(c)},pg.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(oq.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,p,g,b,k=["{"];for(var S in h){if(m=h[S],isNaN(parseInt(S,10))?p="'"+S+"'":(S=parseInt(S,10),p=(p=o(S).slice(2)).slice(0,-1)+r[p.slice(-1)]),typeof m=="number")m<0?(g=o(m).slice(3),b="-"):(g=o(m).slice(2),b=""),g=b+g.slice(0,-1)+r[g.slice(-1)];else{if(or(m)!=="object")throw new Error("Don't know what to do with value type "+or(m)+".");g=s(m)}k.push(p+g)}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,p,g,b,k={},S=1,C=k,x=[],F="",T="",E=h.length-1,I=1;I<E;I+=1)(b=h[I])=="'"?m?(g=m.join(""),m=void 0):m=[]:m?m.push(b):b=="{"?(x.push([C,g]),C={},g=void 0):b=="}"?((p=x.pop())[0][p[1]]=C,g=void 0,C=p[0]):b=="-"?S=-1:g===void 0?i.hasOwnProperty(b)?(F+=i[b],g=parseInt(F,16)*S,S=1,F=""):F+=b:i.hasOwnProperty(b)?(T+=i[b],C[g]=parseInt(T,16)*S,S=1,g=void 0,T=""):T+=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,p=f.Unicode[m.postScriptName];p&&(m.metadata.Unicode={},m.metadata.Unicode.widths=p.widths,m.metadata.Unicode.kerning=p.kerning);var g=d.Unicode[m.postScriptName];g&&(m.metadata.Unicode.encoding=g,m.encoding=g.codePages[0])}])})(vn.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(Ww(s)),o.metadata=t.API.TTFFont.open(s),o.metadata.Unicode=o.metadata.Unicode||{encoding:{},kerning:{},widths:[]},o.metadata.glyIdsUsed=[0]})(r,i)}}])})(vn),vn.API.addSvgAsImage=function(t,e,n,i,r,a,o,s){if(isNaN(e)||isNaN(n))throw kr.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(r))throw kr.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(jn.canvg?Promise.resolve(jn.canvg):li(()=>import("./index.es-B38h3wVh.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)})},vn.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},vn.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(p,g){var b,k=!1;for(b=0;b<p.length;b+=1)p[b]===g&&(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(or(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 p,g=[];for(p in n)n[p].explicitSet===!0&&(n[p].type==="name"?g.push("/"+p+" /"+n[p].value):g.push("/"+p+" "+n[p].value));g.length!==0&&this.internal.write(`/ViewerPreferences
|
|
144
|
+
`&&(i=i.substr(1),C=1),h+m+(p=(r=qS.apply(this,[i,n])).reduce(function(x,F){return x+F},0))>e||C){if(p>e){for(s=aq.apply(this,[i,r,e-(h+m),e]),d.push(s.shift()),d=[s.pop()];s.length;)f.push([s.shift()]);p=r.slice(i.length-(d[0]?d[0].length:0)).reduce(function(x,F){return x+F},0)}else d=[i];f.push(d),h=p+l,m=b}else d.push(i),h+=m+p,m=b}return c=l?function(x,F){return(F?k:"")+x.join(" ")}:function(x){return x.join(" ")},f.map(c)},pg.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(oq.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,p,g,b,k=["{"];for(var S in h){if(m=h[S],isNaN(parseInt(S,10))?p="'"+S+"'":(S=parseInt(S,10),p=(p=o(S).slice(2)).slice(0,-1)+r[p.slice(-1)]),typeof m=="number")m<0?(g=o(m).slice(3),b="-"):(g=o(m).slice(2),b=""),g=b+g.slice(0,-1)+r[g.slice(-1)];else{if(or(m)!=="object")throw new Error("Don't know what to do with value type "+or(m)+".");g=s(m)}k.push(p+g)}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,p,g,b,k={},S=1,C=k,x=[],F="",T="",E=h.length-1,I=1;I<E;I+=1)(b=h[I])=="'"?m?(g=m.join(""),m=void 0):m=[]:m?m.push(b):b=="{"?(x.push([C,g]),C={},g=void 0):b=="}"?((p=x.pop())[0][p[1]]=C,g=void 0,C=p[0]):b=="-"?S=-1:g===void 0?i.hasOwnProperty(b)?(F+=i[b],g=parseInt(F,16)*S,S=1,F=""):F+=b:i.hasOwnProperty(b)?(T+=i[b],C[g]=parseInt(T,16)*S,S=1,g=void 0,T=""):T+=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,p=f.Unicode[m.postScriptName];p&&(m.metadata.Unicode={},m.metadata.Unicode.widths=p.widths,m.metadata.Unicode.kerning=p.kerning);var g=d.Unicode[m.postScriptName];g&&(m.metadata.Unicode.encoding=g,m.encoding=g.codePages[0])}])})(vn.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(Ww(s)),o.metadata=t.API.TTFFont.open(s),o.metadata.Unicode=o.metadata.Unicode||{encoding:{},kerning:{},widths:[]},o.metadata.glyIdsUsed=[0]})(r,i)}}])})(vn),vn.API.addSvgAsImage=function(t,e,n,i,r,a,o,s){if(isNaN(e)||isNaN(n))throw kr.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(r))throw kr.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(jn.canvg?Promise.resolve(jn.canvg):li(()=>import("./index.es-oIOHt8Mk.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)})},vn.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},vn.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(p,g){var b,k=!1;for(b=0;b<p.length;b+=1)p[b]===g&&(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(or(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 p,g=[];for(p in n)n[p].explicitSet===!0&&(n[p].type==="name"?g.push("/"+p+" /"+n[p].value):g.push("/"+p+" "+n[p].value));g.length!==0&&this.internal.write(`/ViewerPreferences
|
|
145
145
|
<<
|
|
146
146
|
`+g.join(`
|
|
147
147
|
`)+`
|
|
@@ -236,7 +236,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
236
236
|
- less than the value passed to \`max\` (or ${OL} if no \`max\` prop is set)
|
|
237
237
|
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
238
238
|
|
|
239
|
-
Defaulting to \`null\`.`}var lpe=rpe,Yst=ope;const cpe=N.forwardRef(({className:t,value:e,...n},i)=>y.jsx(lpe,{ref:i,className:Ut("relative h-2 w-full overflow-hidden rounded-full bg-gray-900/20 dark:bg-gray-50/20",t),...n,children:y.jsx(Yst,{className:"h-full w-full flex-1 bg-gray-900 transition-all dark:bg-gray-50",style:{transform:`translateX(-${100-(e||0)}%)`}})}));cpe.displayName=lpe.displayName;function dpe(){const t=R0e(),[e,n]=N.useState(0),i=t.state==="loading";return N.useEffect(()=>{if(i){n(20);const a=setInterval(()=>{n(o=>{const s=o+(90-o)*.1;return Math.min(s,90)})},300);return()=>clearInterval(a)}n(100);const r=setTimeout(()=>{n(0)},500);return()=>clearTimeout(r)},[i]),!i&&e===0?null:y.jsx("div",{className:"fixed top-0 left-0 right-0 z-50 h-1",children:y.jsx(cpe,{value:e,className:"h-1 rounded-none transition-all duration-300"})})}function Xst({className:t}){const{isMinimized:e,toggle:n}=wX(),[i,r]=N.useState(!1),[a,o]=N.useState(!1),s=()=>{r(!0),n(),setTimeout(()=>r(!1),300)},l=TN.map(c=>c.sub?{...c,sub:c.sub.map(d=>d.title==="Generate Uniform Files"?{...d,action:()=>{o(!0)}}:d)}:c);return y.jsxs(y.Fragment,{children:[y.jsxs("nav",{className:Ut("relative hidden h-screen flex-none border-r z-10 pt-10 md:block bg-white",i&&"duration-300",e?"w-[72px]":"w-[240px]",t),children:[y.jsx(oke,{className:Ut("absolute -right-3 top-20 cursor-pointer bg-gray-300 border-black/75 rounded-full border text-3xl text-foreground",e&&"rotate-180"),onClick:s}),y.jsx("div",{className:"px-3 py-2",children:y.jsx("div",{className:"mt-3 space-y-1",children:y.jsx(Tee,{links:l,isCollapsed:e,closeNav:s})})})]}),y.jsx(LZ,{open:a,onOpenChange:o})]})}function Zst({children:t,filtersContext:e}){const{isMinimized:n}=wX();return y.jsxs("main",{children:[y.jsx(dpe,{}),y.jsx($st,{}),y.jsxs("div",{className:"flex h-screen overflow-hidden bg-gray-100",children:[y.jsx(Xst,{}),y.jsxs("div",{className:`overflow-scroll flex flex-col justify-start gap-10 z-0 my-20 pl-10 flex-1 ${n?"pr-10":"pr-5"} transition-all`,children:[y.jsx(U1e,{}),t]})]}),y.jsx(M1e,{filtersContext:e})]})}function Jst(){const[t,e]=N.useState(null);return y.jsx(pst.Provider,{value:{filtersContext:t,setFiltersContext:e},children:y.jsx(Zst,{filtersContext:t,children:y.jsx(XY,{})})})}const Dk={black:"#000",white:"#fff"},th={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828",A400:"#ff1744"},kg={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},bg={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Sg={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},wg={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Sy={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},elt={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function jh(t,...e){const n=new URL(`https://mui.com/production-error/?code=${t}`);return e.forEach(i=>n.searchParams.append("args[]",i)),`Minified MUI error #${t}; visit ${n} for the full message.`}const bh="$$material";var tlt=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,nlt=cte(function(t){return tlt.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),ilt=nlt,rlt=function(e){return e!=="theme"},$W=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?ilt:rlt},jW=function(e,n,i){var r;if(n){var a=n.shouldForwardProp;r=e.__emotion_forwardProp&&a?function(o){return e.__emotion_forwardProp(o)&&a(o)}:a}return typeof r!="function"&&i&&(r=e.__emotion_forwardProp),r},alt=function(e){var n=e.cache,i=e.serialized,r=e.isStringTag;return mP(n,i,r),mte(function(){return K2(n,i,r)}),null},olt=function t(e,n){var i=e.__emotion_real===e,r=i&&e.__emotion_base||e,a,o;n!==void 0&&(a=n.label,o=n.target);var s=jW(e,n,i),l=s||$W(r),c=!l("as");return function(){var d=arguments,f=i&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(a!==void 0&&f.push("label:"+a+";"),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{var h=d[0];f.push(h[0]);for(var m=d.length,p=1;p<m;p++)f.push(d[p],h[p])}var g=hP(function(b,k,S){var C=c&&b.as||r,x="",F=[],T=b;if(b.theme==null){T={};for(var E in b)T[E]=b[E];T.theme=N.useContext(Fh)}typeof b.className=="string"?x=AP(k.registered,F,b.className):b.className!=null&&(x=b.className+" ");var I=Yv(f.concat(F),k.registered,T);x+=k.key+"-"+I.name,o!==void 0&&(x+=" "+o);var R=c&&s===void 0?$W(C):l,V={};for(var U in b)c&&U==="as"||R(U)&&(V[U]=b[U]);return V.className=x,S&&(V.ref=S),N.createElement(N.Fragment,null,N.createElement(alt,{cache:k,serialized:I,isStringTag:typeof C=="string"}),N.createElement(C,V))});return g.displayName=a!==void 0?a:"Styled("+(typeof r=="string"?r:r.displayName||r.name||"Component")+")",g.defaultProps=e.defaultProps,g.__emotion_real=g,g.__emotion_base=r,g.__emotion_styles=f,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(b,k){var S=t(b,Ir({},n,k,{shouldForwardProp:jW(g,k,!0)}));return S.apply(void 0,f)},g}},slt=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],MO=olt.bind(null);slt.forEach(function(t){MO[t]=MO(t)});function llt(t){return t==null||Object.keys(t).length===0}function upe(t){const{styles:e,defaultTheme:n={}}=t,i=typeof e=="function"?r=>e(llt(r)?n:r):e;return y.jsx(eb,{styles:i})}function Agt(t,e){return MO(t,e)}function mgt(t,e){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))}const QW=[];function clt(t){return QW[0]=t,Yv(QW)}var w4={exports:{}},mr={};var HW;function dlt(){if(HW)return mr;HW=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.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function p(g){if(typeof g=="object"&&g!==null){var b=g.$$typeof;switch(b){case t:switch(g=g.type,g){case n:case r:case i:case l:case c:case h:return g;default:switch(g=g&&g.$$typeof,g){case o:case s:case f:case d:return g;case a:return g;default:return b}}case e:return b}}}return mr.ContextConsumer=a,mr.ContextProvider=o,mr.Element=t,mr.ForwardRef=s,mr.Fragment=n,mr.Lazy=f,mr.Memo=d,mr.Portal=e,mr.Profiler=r,mr.StrictMode=i,mr.Suspense=l,mr.SuspenseList=c,mr.isContextConsumer=function(g){return p(g)===a},mr.isContextProvider=function(g){return p(g)===o},mr.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},mr.isForwardRef=function(g){return p(g)===s},mr.isFragment=function(g){return p(g)===n},mr.isLazy=function(g){return p(g)===f},mr.isMemo=function(g){return p(g)===d},mr.isPortal=function(g){return p(g)===e},mr.isProfiler=function(g){return p(g)===r},mr.isStrictMode=function(g){return p(g)===i},mr.isSuspense=function(g){return p(g)===l},mr.isSuspenseList=function(g){return p(g)===c},mr.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===r||g===i||g===l||g===c||typeof g=="object"&&g!==null&&(g.$$typeof===f||g.$$typeof===d||g.$$typeof===o||g.$$typeof===a||g.$$typeof===s||g.$$typeof===m||g.getModuleId!==void 0)},mr.typeOf=p,mr}var zW;function ult(){return zW||(zW=1,w4.exports=dlt()),w4.exports}var fpe=ult();function Nf(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Ape(t){if(N.isValidElement(t)||fpe.isValidElementType(t)||!Nf(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=Ape(t[n])}),e}function Tl(t,e,n={clone:!0}){const i=n.clone?{...t}:t;return Nf(t)&&Nf(e)&&Object.keys(e).forEach(r=>{N.isValidElement(e[r])||fpe.isValidElementType(e[r])?i[r]=e[r]:Nf(e[r])&&Object.prototype.hasOwnProperty.call(t,r)&&Nf(t[r])?i[r]=Tl(t[r],e[r],n):n.clone?i[r]=Nf(e[r])?Ape(e[r]):e[r]:i[r]=e[r]}),i}const flt=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,i)=>n.val-i.val),e.reduce((n,i)=>({...n,[i.key]:i.val}),{})};function Alt(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5,...r}=t,a=flt(e),o=Object.keys(a);function s(h){return`@media (min-width:${typeof e[h]=="number"?e[h]:h}${n})`}function l(h){return`@media (max-width:${(typeof e[h]=="number"?e[h]:h)-i/100}${n})`}function c(h,m){const p=o.indexOf(m);return`@media (min-width:${typeof e[h]=="number"?e[h]:h}${n}) and (max-width:${(p!==-1&&typeof e[o[p]]=="number"?e[o[p]]:m)-i/100}${n})`}function d(h){return o.indexOf(h)+1<o.length?c(h,o[o.indexOf(h)+1]):s(h)}function f(h){const m=o.indexOf(h);return m===0?s(o[1]):m===o.length-1?l(o[m]):c(h,o[o.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:o,values:a,up:s,down:l,between:c,only:d,not:f,unit:n,...r}}function VW(t,e){if(!t.containerQueries)return e;const n=Object.keys(e).filter(i=>i.startsWith("@container")).sort((i,r)=>{const a=/min-width:\s*([0-9.]+)/;return+(i.match(a)?.[1]||0)-+(r.match(a)?.[1]||0)});return n.length?n.reduce((i,r)=>{const a=e[r];return delete i[r],i[r]=a,i},{...e}):e}function mlt(t,e){return e==="@"||e.startsWith("@")&&(t.some(n=>e.startsWith(`@${n}`))||!!e.match(/^@\d/))}function hlt(t,e){const n=e.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,i,r]=n,a=Number.isNaN(+i)?i||0:+i;return t.containerQueries(r).up(a)}function plt(t){const e=(a,o)=>a.replace("@media",o?`@container ${o}`:"@container");function n(a,o){a.up=(...s)=>e(t.breakpoints.up(...s),o),a.down=(...s)=>e(t.breakpoints.down(...s),o),a.between=(...s)=>e(t.breakpoints.between(...s),o),a.only=(...s)=>e(t.breakpoints.only(...s),o),a.not=(...s)=>{const l=e(t.breakpoints.not(...s),o);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const i={},r=a=>(n(i,a),i);return n(r),{...t,containerQueries:r}}const glt={borderRadius:4};function tk(t,e){return e?Tl(t,e,{clone:!1}):t}const c_={xs:0,sm:600,md:900,lg:1200,xl:1536},GW={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${c_[t]}px)`},vlt={containerQueries:t=>({up:e=>{let n=typeof e=="number"?e:c_[e]||e;return typeof n=="number"&&(n=`${n}px`),t?`@container ${t} (min-width:${n})`:`@container (min-width:${n})`}})};function Rf(t,e,n){const i=t.theme||{};if(Array.isArray(e)){const a=i.breakpoints||GW;return e.reduce((o,s,l)=>(o[a.up(a.keys[l])]=n(e[l]),o),{})}if(typeof e=="object"){const a=i.breakpoints||GW;return Object.keys(e).reduce((o,s)=>{if(mlt(a.keys,s)){const l=hlt(i.containerQueries?i:vlt,s);l&&(o[l]=n(e[s],s))}else if(Object.keys(a.values||c_).includes(s)){const l=a.up(s);o[l]=n(e[s],s)}else{const l=s;o[l]=e[l]}return o},{})}return n(e)}function ylt(t={}){return t.keys?.reduce((n,i)=>{const r=t.up(i);return n[r]={},n},{})||{}}function qW(t,e){return t.reduce((n,i)=>{const r=n[i];return(!r||Object.keys(r).length===0)&&delete n[i],n},e)}function mpe(t){if(typeof t!="string")throw new Error(jh(7));return t.charAt(0).toUpperCase()+t.slice(1)}function d_(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const i=`vars.${e}`.split(".").reduce((r,a)=>r&&r[a]?r[a]:null,t);if(i!=null)return i}return e.split(".").reduce((i,r)=>i&&i[r]!=null?i[r]:null,t)}function qx(t,e,n,i=n){let r;return typeof t=="function"?r=t(n):Array.isArray(t)?r=t[n]||i:r=d_(t,n)||i,e&&(r=e(r,i,t)),r}function _a(t){const{prop:e,cssProperty:n=t.prop,themeKey:i,transform:r}=t,a=o=>{if(o[e]==null)return null;const s=o[e],l=o.theme,c=d_(l,i)||{};return Rf(o,s,f=>{let h=qx(c,r,f);return f===h&&typeof f=="string"&&(h=qx(c,r,`${e}${f==="default"?"":mpe(f)}`,f)),n===!1?h:{[n]:h}})};return a.propTypes={},a.filterProps=[e],a}function klt(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const blt={m:"margin",p:"padding"},Slt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},KW={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},wlt=klt(t=>{if(t.length>2)if(KW[t])t=KW[t];else return[t];const[e,n]=t.split(""),i=blt[e],r=Slt[n]||"";return Array.isArray(r)?r.map(a=>i+a):[i+r]}),RL=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],PL=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...RL,...PL];function Lb(t,e,n,i){const r=d_(t,e,!0)??n;return typeof r=="number"||typeof r=="string"?a=>typeof a=="string"?a:typeof r=="string"?r.startsWith("var(")&&a===0?0:r.startsWith("var(")&&a===1?r:`calc(${a} * ${r})`:r*a:Array.isArray(r)?a=>{if(typeof a=="string")return a;const o=Math.abs(a),s=r[o];return a>=0?s:typeof s=="number"?-s:typeof s=="string"&&s.startsWith("var(")?`calc(-1 * ${s})`:`-${s}`}:typeof r=="function"?r:()=>{}}function LL(t){return Lb(t,"spacing",8)}function Ub(t,e){return typeof e=="string"||e==null?e:t(e)}function Nlt(t,e){return n=>t.reduce((i,r)=>(i[r]=Ub(e,n),i),{})}function Clt(t,e,n,i){if(!e.includes(n))return null;const r=wlt(n),a=Nlt(r,i),o=t[n];return Rf(t,o,a)}function hpe(t,e){const n=LL(t.theme);return Object.keys(t).map(i=>Clt(t,e,i,n)).reduce(tk,{})}function ca(t){return hpe(t,RL)}ca.propTypes={};ca.filterProps=RL;function da(t){return hpe(t,PL)}da.propTypes={};da.filterProps=PL;function ppe(t=8,e=LL({spacing:t})){if(t.mui)return t;const n=(...i)=>(i.length===0?[1]:i).map(a=>{const o=e(a);return typeof o=="number"?`${o}px`:o}).join(" ");return n.mui=!0,n}function u_(...t){const e=t.reduce((i,r)=>(r.filterProps.forEach(a=>{i[a]=r}),i),{}),n=i=>Object.keys(i).reduce((r,a)=>e[a]?tk(r,e[a](i)):r,{});return n.propTypes={},n.filterProps=t.reduce((i,r)=>i.concat(r.filterProps),[]),n}function sc(t){return typeof t!="number"?t:`${t}px solid`}function Cc(t,e){return _a({prop:t,themeKey:"borders",transform:e})}const xlt=Cc("border",sc),Flt=Cc("borderTop",sc),_lt=Cc("borderRight",sc),Elt=Cc("borderBottom",sc),Blt=Cc("borderLeft",sc),Tlt=Cc("borderColor"),Dlt=Cc("borderTopColor"),Ilt=Cc("borderRightColor"),Olt=Cc("borderBottomColor"),Rlt=Cc("borderLeftColor"),Plt=Cc("outline",sc),Llt=Cc("outlineColor"),f_=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Lb(t.theme,"shape.borderRadius",4),n=i=>({borderRadius:Ub(e,i)});return Rf(t,t.borderRadius,n)}return null};f_.propTypes={};f_.filterProps=["borderRadius"];u_(xlt,Flt,_lt,Elt,Blt,Tlt,Dlt,Ilt,Olt,Rlt,f_,Plt,Llt);const A_=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Lb(t.theme,"spacing",8),n=i=>({gap:Ub(e,i)});return Rf(t,t.gap,n)}return null};A_.propTypes={};A_.filterProps=["gap"];const m_=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Lb(t.theme,"spacing",8),n=i=>({columnGap:Ub(e,i)});return Rf(t,t.columnGap,n)}return null};m_.propTypes={};m_.filterProps=["columnGap"];const h_=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Lb(t.theme,"spacing",8),n=i=>({rowGap:Ub(e,i)});return Rf(t,t.rowGap,n)}return null};h_.propTypes={};h_.filterProps=["rowGap"];const Ult=_a({prop:"gridColumn"}),Mlt=_a({prop:"gridRow"}),$lt=_a({prop:"gridAutoFlow"}),jlt=_a({prop:"gridAutoColumns"}),Qlt=_a({prop:"gridAutoRows"}),Hlt=_a({prop:"gridTemplateColumns"}),zlt=_a({prop:"gridTemplateRows"}),Vlt=_a({prop:"gridTemplateAreas"}),Glt=_a({prop:"gridArea"});u_(A_,m_,h_,Ult,Mlt,$lt,jlt,Qlt,Hlt,zlt,Vlt,Glt);function mv(t,e){return e==="grey"?e:t}const qlt=_a({prop:"color",themeKey:"palette",transform:mv}),Klt=_a({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mv}),Wlt=_a({prop:"backgroundColor",themeKey:"palette",transform:mv});u_(qlt,Klt,Wlt);function xl(t){return t<=1&&t!==0?`${t*100}%`:t}const Ylt=_a({prop:"width",transform:xl}),UL=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{const i=t.theme?.breakpoints?.values?.[n]||c_[n];return i?t.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${t.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:xl(n)}};return Rf(t,t.maxWidth,e)}return null};UL.filterProps=["maxWidth"];const Xlt=_a({prop:"minWidth",transform:xl}),Zlt=_a({prop:"height",transform:xl}),Jlt=_a({prop:"maxHeight",transform:xl}),ect=_a({prop:"minHeight",transform:xl});_a({prop:"size",cssProperty:"width",transform:xl});_a({prop:"size",cssProperty:"height",transform:xl});const tct=_a({prop:"boxSizing"});u_(Ylt,UL,Xlt,Zlt,Jlt,ect,tct);const Mb={border:{themeKey:"borders",transform:sc},borderTop:{themeKey:"borders",transform:sc},borderRight:{themeKey:"borders",transform:sc},borderBottom:{themeKey:"borders",transform:sc},borderLeft:{themeKey:"borders",transform:sc},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:sc},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:f_},color:{themeKey:"palette",transform:mv},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:mv},backgroundColor:{themeKey:"palette",transform:mv},p:{style:da},pt:{style:da},pr:{style:da},pb:{style:da},pl:{style:da},px:{style:da},py:{style:da},padding:{style:da},paddingTop:{style:da},paddingRight:{style:da},paddingBottom:{style:da},paddingLeft:{style:da},paddingX:{style:da},paddingY:{style:da},paddingInline:{style:da},paddingInlineStart:{style:da},paddingInlineEnd:{style:da},paddingBlock:{style:da},paddingBlockStart:{style:da},paddingBlockEnd:{style:da},m:{style:ca},mt:{style:ca},mr:{style:ca},mb:{style:ca},ml:{style:ca},mx:{style:ca},my:{style:ca},margin:{style:ca},marginTop:{style:ca},marginRight:{style:ca},marginBottom:{style:ca},marginLeft:{style:ca},marginX:{style:ca},marginY:{style:ca},marginInline:{style:ca},marginInlineStart:{style:ca},marginInlineEnd:{style:ca},marginBlock:{style:ca},marginBlockStart:{style:ca},marginBlockEnd:{style:ca},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:A_},rowGap:{style:h_},columnGap:{style:m_},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:xl},maxWidth:{style:UL},minWidth:{transform:xl},height:{transform:xl},maxHeight:{transform:xl},minHeight:{transform:xl},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function nct(...t){const e=t.reduce((i,r)=>i.concat(Object.keys(r)),[]),n=new Set(e);return t.every(i=>n.size===Object.keys(i).length)}function ict(t,e){return typeof t=="function"?t(e):t}function rct(){function t(n,i,r,a){const o={[n]:i,theme:r},s=a[n];if(!s)return{[n]:i};const{cssProperty:l=n,themeKey:c,transform:d,style:f}=s;if(i==null)return null;if(c==="typography"&&i==="inherit")return{[n]:i};const h=d_(r,c)||{};return f?f(o):Rf(o,i,p=>{let g=qx(h,d,p);return p===g&&typeof p=="string"&&(g=qx(h,d,`${n}${p==="default"?"":mpe(p)}`,p)),l===!1?g:{[l]:g}})}function e(n){const{sx:i,theme:r={},nested:a}=n||{};if(!i)return null;const o=r.unstable_sxConfig??Mb;function s(l){let c=l;if(typeof l=="function")c=l(r);else if(typeof l!="object")return l;if(!c)return null;const d=ylt(r.breakpoints),f=Object.keys(d);let h=d;return Object.keys(c).forEach(m=>{const p=ict(c[m],r);if(p!=null)if(typeof p=="object")if(o[m])h=tk(h,t(m,p,r,o));else{const g=Rf({theme:r},p,b=>({[m]:b}));nct(g,p)?h[m]=e({sx:p,theme:r,nested:!0}):h=tk(h,g)}else h=tk(h,t(m,p,r,o))}),!a&&r.modularCssLayers?{"@layer sx":VW(r,qW(f,h))}:VW(r,qW(f,h))}return Array.isArray(i)?i.map(s):s(i)}return e}const $b=rct();$b.filterProps=["sx"];function act(t,e){const n=this;if(n.vars){if(!n.colorSchemes?.[t]||typeof n.getColorSchemeSelector!="function")return{};let i=n.getColorSchemeSelector(t);return i==="&"?e:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:e})}return n.palette.mode===t?e:{}}function gpe(t={},...e){const{breakpoints:n={},palette:i={},spacing:r,shape:a={},...o}=t,s=Alt(n),l=ppe(r);let c=Tl({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:l,shape:{...glt,...a}},o);return c=plt(c),c.applyStyles=act,c=e.reduce((d,f)=>Tl(d,f),c),c.unstable_sxConfig={...Mb,...o?.unstable_sxConfig},c.unstable_sx=function(f){return $b({sx:f,theme:this})},c}function oct(t){return Object.keys(t).length===0}function ML(t=null){const e=N.useContext(Fh);return!e||oct(e)?t:e}const sct=gpe();function lct(t=sct){return ML(t)}function N4(t){const e=clt(t);return t!==e&&e.styles?(e.styles.match(/^@layer\s+[^{]*$/)||(e.styles=`@layer global{${e.styles}}`),e):t}function vpe({styles:t,themeId:e,defaultTheme:n={}}){const i=lct(n),r=e&&i[e]||i;let a=typeof t=="function"?t(r):t;return r.modularCssLayers&&(Array.isArray(a)?a=a.map(o=>N4(typeof o=="function"?o(r):o)):a=N4(a)),y.jsx(upe,{styles:a})}const cct=t=>{const e={systemProps:{},otherProps:{}},n=t?.theme?.unstable_sxConfig??Mb;return Object.keys(t).forEach(i=>{n[i]?e.systemProps[i]=t[i]:e.otherProps[i]=t[i]}),e};function dct(t){const{sx:e,...n}=t,{systemProps:i,otherProps:r}=cct(n);let a;return Array.isArray(e)?a=[i,...e]:typeof e=="function"?a=(...o)=>{const s=e(...o);return Nf(s)?{...i,...s}:i}:a={...i,...e},{...r,sx:a}}function $O(t,e,n=!1){const i={...e};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const a=r;if(a==="components"||a==="slots")i[a]={...t[a],...i[a]};else if(a==="componentsProps"||a==="slotProps"){const o=t[a],s=e[a];if(!s)i[a]=o||{};else if(!o)i[a]=s;else{i[a]={...s};for(const l in o)if(Object.prototype.hasOwnProperty.call(o,l)){const c=l;i[a][c]=$O(o[c],s[c],n)}}}else a==="className"&&n&&e.className?i.className=nR(t?.className,e?.className):a==="style"&&n&&e.style?i.style={...t?.style,...e?.style}:i[a]===void 0&&(i[a]=t[a])}return i}const ype=typeof window<"u"?N.useLayoutEffect:N.useEffect;function uct(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}function $L(t,e=0,n=1){return uct(t,e,n)}function fct(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,r)=>r<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function sm(t){if(t.type)return t;if(t.charAt(0)==="#")return sm(fct(t));const e=t.indexOf("("),n=t.substring(0,e);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(jh(9,t));let i=t.substring(e+1,t.length-1),r;if(n==="color"){if(i=i.split(" "),r=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(jh(10,r))}else i=i.split(",");return i=i.map(a=>parseFloat(a)),{type:n,values:i,colorSpace:r}}const Act=t=>{const e=sm(t);return e.values.slice(0,3).map((n,i)=>e.type.includes("hsl")&&i!==0?`${n}%`:n).join(" ")},$y=(t,e)=>{try{return Act(t)}catch{return t}};function p_(t){const{type:e,colorSpace:n}=t;let{values:i}=t;return e.includes("rgb")?i=i.map((r,a)=>a<3?parseInt(r,10):r):e.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),e.includes("color")?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${e}(${i})`}function kpe(t){t=sm(t);const{values:e}=t,n=e[0],i=e[1]/100,r=e[2]/100,a=i*Math.min(r,1-r),o=(c,d=(c+n/30)%12)=>r-a*Math.max(Math.min(d-3,9-d,1),-1);let s="rgb";const l=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return t.type==="hsla"&&(s+="a",l.push(e[3])),p_({type:s,values:l})}function jO(t){t=sm(t);let e=t.type==="hsl"||t.type==="hsla"?sm(kpe(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function mct(t,e){const n=jO(t),i=jO(e);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function bpe(t,e){return t=sm(t),e=$L(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,p_(t)}function Zm(t,e,n){try{return bpe(t,e)}catch{return t}}function g_(t,e){if(t=sm(t),e=$L(e),t.type.includes("hsl"))t.values[2]*=1-e;else if(t.type.includes("rgb")||t.type.includes("color"))for(let n=0;n<3;n+=1)t.values[n]*=1-e;return p_(t)}function ir(t,e,n){try{return g_(t,e)}catch{return t}}function v_(t,e){if(t=sm(t),e=$L(e),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*e;else if(t.type.includes("rgb"))for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.includes("color"))for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return p_(t)}function rr(t,e,n){try{return v_(t,e)}catch{return t}}function hct(t,e=.15){return jO(t)>.5?g_(t,e):v_(t,e)}function kw(t,e,n){try{return hct(t,e)}catch{return t}}const Spe=N.createContext(null);function jL(){return N.useContext(Spe)}const pct=typeof Symbol=="function"&&Symbol.for,gct=pct?Symbol.for("mui.nested"):"__THEME_NESTED__";function vct(t,e){return typeof e=="function"?e(t):{...t,...e}}function yct(t){const{children:e,theme:n}=t,i=jL(),r=N.useMemo(()=>{const a=i===null?{...n}:vct(i,n);return a!=null&&(a[gct]=i!==null),a},[n,i]);return y.jsx(Spe.Provider,{value:r,children:e})}const wpe=N.createContext();function kct({value:t,...e}){return y.jsx(wpe.Provider,{value:t??!0,...e})}const hgt=()=>N.useContext(wpe)??!1,Npe=N.createContext(void 0);function bct({value:t,children:e}){return y.jsx(Npe.Provider,{value:t,children:e})}function Sct(t){const{theme:e,name:n,props:i}=t;if(!e||!e.components||!e.components[n])return i;const r=e.components[n];return r.defaultProps?$O(r.defaultProps,i,e.components.mergeClassNameAndStyle):!r.styleOverrides&&!r.variants?$O(r,i,e.components.mergeClassNameAndStyle):i}function wct({props:t,name:e}){const n=N.useContext(Npe);return Sct({props:t,name:e,theme:{components:n}})}let WW=0;function Nct(t){const[e,n]=N.useState(t),i=t||e;return N.useEffect(()=>{e==null&&(WW+=1,n(`mui-${WW}`))},[e]),i}const Cct={...Bf},YW=Cct.useId;function xct(t){if(YW!==void 0){const e=YW();return t??e}return Nct(t)}function Fct(t){const e=ML(),n=xct()||"",{modularCssLayers:i}=t;let r="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!i||e!==null?r="":typeof i=="string"?r=i.replace(/mui(?!\.)/g,r):r=`@layer ${r};`,ype(()=>{const a=document.querySelector("head");if(!a)return;const o=a.firstChild;if(r){if(o&&o.hasAttribute?.("data-mui-layer-order")&&o.getAttribute("data-mui-layer-order")===n)return;const s=document.createElement("style");s.setAttribute("data-mui-layer-order",n),s.textContent=r,a.prepend(s)}else a.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[r,n]),r?y.jsx(vpe,{styles:r}):null}const XW={};function ZW(t,e,n,i=!1){return N.useMemo(()=>{const r=t&&e[t]||e;if(typeof n=="function"){const a=n(r),o=t?{...e,[t]:a}:a;return i?()=>o:o}return t?{...e,[t]:n}:{...e,...n}},[t,e,n,i])}function Cpe(t){const{children:e,theme:n,themeId:i}=t,r=ML(XW),a=jL()||XW,o=ZW(i,r,n),s=ZW(i,a,n,!0),l=(i?o[i]:o).direction==="rtl",c=Fct(o);return y.jsx(yct,{theme:s,children:y.jsx(Fh.Provider,{value:o,children:y.jsx(kct,{value:l,children:y.jsxs(bct,{value:i?o[i].components:o.components,children:[c,e]})})})})}const QL="mode",HL="color-scheme",_ct="data-color-scheme";function Ect(t){const{defaultMode:e="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:i="dark",modeStorageKey:r=QL,colorSchemeStorageKey:a=HL,attribute:o=_ct,colorSchemeNode:s="document.documentElement",nonce:l}=t||{};let c="",d=o;if(o==="class"&&(d=".%s"),o==="data"&&(d="[data-%s]"),d.startsWith(".")){const h=d.substring(1);c+=`${s}.classList.remove('${h}'.replace('%s', light), '${h}'.replace('%s', dark));
|
|
239
|
+
Defaulting to \`null\`.`}var lpe=rpe,Yst=ope;const cpe=N.forwardRef(({className:t,value:e,...n},i)=>y.jsx(lpe,{ref:i,className:Ut("relative h-2 w-full overflow-hidden rounded-full bg-gray-900/20 dark:bg-gray-50/20",t),...n,children:y.jsx(Yst,{className:"h-full w-full flex-1 bg-gray-900 transition-all dark:bg-gray-50",style:{transform:`translateX(-${100-(e||0)}%)`}})}));cpe.displayName=lpe.displayName;function dpe(){const t=R0e(),[e,n]=N.useState(0),i=t.state==="loading";return N.useEffect(()=>{if(i){n(20);const a=setInterval(()=>{n(o=>{const s=o+(90-o)*.1;return Math.min(s,90)})},300);return()=>clearInterval(a)}n(100);const r=setTimeout(()=>{n(0)},500);return()=>clearTimeout(r)},[i]),!i&&e===0?null:y.jsx("div",{className:"fixed top-0 left-0 right-0 z-50 h-1",children:y.jsx(cpe,{value:e,className:"h-1 rounded-none transition-all duration-300"})})}function Xst({className:t}){const{isMinimized:e,toggle:n}=wX(),[i,r]=N.useState(!1),[a,o]=N.useState(!1),s=()=>{r(!0),n(),setTimeout(()=>r(!1),300)},l=TN.map(c=>c.sub?{...c,sub:c.sub.map(d=>d.title==="Generate Uniform Files"?{...d,action:()=>{o(!0)}}:d)}:c);return y.jsxs(y.Fragment,{children:[y.jsxs("nav",{className:Ut("relative hidden h-screen flex-none border-r z-10 pt-10 md:block bg-white",i&&"duration-300",e?"w-[72px]":"w-[240px]",t),children:[y.jsx(lke,{className:Ut("absolute -right-3 top-20 cursor-pointer bg-gray-300 border-black/75 rounded-full border text-3xl text-foreground",e&&"rotate-180"),onClick:s}),y.jsx("div",{className:"px-3 py-2",children:y.jsx("div",{className:"mt-3 space-y-1",children:y.jsx(Tee,{links:l,isCollapsed:e,closeNav:s})})})]}),y.jsx(LZ,{open:a,onOpenChange:o})]})}function Zst({children:t,filtersContext:e}){const{isMinimized:n}=wX();return y.jsxs("main",{children:[y.jsx(dpe,{}),y.jsx($st,{}),y.jsxs("div",{className:"flex h-screen overflow-hidden bg-gray-100",children:[y.jsx(Xst,{}),y.jsxs("div",{className:`overflow-scroll flex flex-col justify-start gap-10 z-0 my-20 pl-10 flex-1 ${n?"pr-10":"pr-5"} transition-all`,children:[y.jsx(U1e,{}),t]})]}),y.jsx(M1e,{filtersContext:e})]})}function Jst(){const[t,e]=N.useState(null);return y.jsx(pst.Provider,{value:{filtersContext:t,setFiltersContext:e},children:y.jsx(Zst,{filtersContext:t,children:y.jsx(XY,{})})})}const Dk={black:"#000",white:"#fff"},th={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828",A400:"#ff1744"},kg={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},bg={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Sg={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},wg={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Sy={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},elt={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function jh(t,...e){const n=new URL(`https://mui.com/production-error/?code=${t}`);return e.forEach(i=>n.searchParams.append("args[]",i)),`Minified MUI error #${t}; visit ${n} for the full message.`}const bh="$$material";var tlt=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,nlt=cte(function(t){return tlt.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),ilt=nlt,rlt=function(e){return e!=="theme"},$W=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?ilt:rlt},jW=function(e,n,i){var r;if(n){var a=n.shouldForwardProp;r=e.__emotion_forwardProp&&a?function(o){return e.__emotion_forwardProp(o)&&a(o)}:a}return typeof r!="function"&&i&&(r=e.__emotion_forwardProp),r},alt=function(e){var n=e.cache,i=e.serialized,r=e.isStringTag;return mP(n,i,r),mte(function(){return K2(n,i,r)}),null},olt=function t(e,n){var i=e.__emotion_real===e,r=i&&e.__emotion_base||e,a,o;n!==void 0&&(a=n.label,o=n.target);var s=jW(e,n,i),l=s||$W(r),c=!l("as");return function(){var d=arguments,f=i&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(a!==void 0&&f.push("label:"+a+";"),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{var h=d[0];f.push(h[0]);for(var m=d.length,p=1;p<m;p++)f.push(d[p],h[p])}var g=hP(function(b,k,S){var C=c&&b.as||r,x="",F=[],T=b;if(b.theme==null){T={};for(var E in b)T[E]=b[E];T.theme=N.useContext(Fh)}typeof b.className=="string"?x=AP(k.registered,F,b.className):b.className!=null&&(x=b.className+" ");var I=Yv(f.concat(F),k.registered,T);x+=k.key+"-"+I.name,o!==void 0&&(x+=" "+o);var R=c&&s===void 0?$W(C):l,V={};for(var U in b)c&&U==="as"||R(U)&&(V[U]=b[U]);return V.className=x,S&&(V.ref=S),N.createElement(N.Fragment,null,N.createElement(alt,{cache:k,serialized:I,isStringTag:typeof C=="string"}),N.createElement(C,V))});return g.displayName=a!==void 0?a:"Styled("+(typeof r=="string"?r:r.displayName||r.name||"Component")+")",g.defaultProps=e.defaultProps,g.__emotion_real=g,g.__emotion_base=r,g.__emotion_styles=f,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(b,k){var S=t(b,Ir({},n,k,{shouldForwardProp:jW(g,k,!0)}));return S.apply(void 0,f)},g}},slt=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],MO=olt.bind(null);slt.forEach(function(t){MO[t]=MO(t)});function llt(t){return t==null||Object.keys(t).length===0}function upe(t){const{styles:e,defaultTheme:n={}}=t,i=typeof e=="function"?r=>e(llt(r)?n:r):e;return y.jsx(eb,{styles:i})}function Agt(t,e){return MO(t,e)}function mgt(t,e){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))}const QW=[];function clt(t){return QW[0]=t,Yv(QW)}var w4={exports:{}},mr={};var HW;function dlt(){if(HW)return mr;HW=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.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function p(g){if(typeof g=="object"&&g!==null){var b=g.$$typeof;switch(b){case t:switch(g=g.type,g){case n:case r:case i:case l:case c:case h:return g;default:switch(g=g&&g.$$typeof,g){case o:case s:case f:case d:return g;case a:return g;default:return b}}case e:return b}}}return mr.ContextConsumer=a,mr.ContextProvider=o,mr.Element=t,mr.ForwardRef=s,mr.Fragment=n,mr.Lazy=f,mr.Memo=d,mr.Portal=e,mr.Profiler=r,mr.StrictMode=i,mr.Suspense=l,mr.SuspenseList=c,mr.isContextConsumer=function(g){return p(g)===a},mr.isContextProvider=function(g){return p(g)===o},mr.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},mr.isForwardRef=function(g){return p(g)===s},mr.isFragment=function(g){return p(g)===n},mr.isLazy=function(g){return p(g)===f},mr.isMemo=function(g){return p(g)===d},mr.isPortal=function(g){return p(g)===e},mr.isProfiler=function(g){return p(g)===r},mr.isStrictMode=function(g){return p(g)===i},mr.isSuspense=function(g){return p(g)===l},mr.isSuspenseList=function(g){return p(g)===c},mr.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===r||g===i||g===l||g===c||typeof g=="object"&&g!==null&&(g.$$typeof===f||g.$$typeof===d||g.$$typeof===o||g.$$typeof===a||g.$$typeof===s||g.$$typeof===m||g.getModuleId!==void 0)},mr.typeOf=p,mr}var zW;function ult(){return zW||(zW=1,w4.exports=dlt()),w4.exports}var fpe=ult();function Nf(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Ape(t){if(N.isValidElement(t)||fpe.isValidElementType(t)||!Nf(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=Ape(t[n])}),e}function Tl(t,e,n={clone:!0}){const i=n.clone?{...t}:t;return Nf(t)&&Nf(e)&&Object.keys(e).forEach(r=>{N.isValidElement(e[r])||fpe.isValidElementType(e[r])?i[r]=e[r]:Nf(e[r])&&Object.prototype.hasOwnProperty.call(t,r)&&Nf(t[r])?i[r]=Tl(t[r],e[r],n):n.clone?i[r]=Nf(e[r])?Ape(e[r]):e[r]:i[r]=e[r]}),i}const flt=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,i)=>n.val-i.val),e.reduce((n,i)=>({...n,[i.key]:i.val}),{})};function Alt(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5,...r}=t,a=flt(e),o=Object.keys(a);function s(h){return`@media (min-width:${typeof e[h]=="number"?e[h]:h}${n})`}function l(h){return`@media (max-width:${(typeof e[h]=="number"?e[h]:h)-i/100}${n})`}function c(h,m){const p=o.indexOf(m);return`@media (min-width:${typeof e[h]=="number"?e[h]:h}${n}) and (max-width:${(p!==-1&&typeof e[o[p]]=="number"?e[o[p]]:m)-i/100}${n})`}function d(h){return o.indexOf(h)+1<o.length?c(h,o[o.indexOf(h)+1]):s(h)}function f(h){const m=o.indexOf(h);return m===0?s(o[1]):m===o.length-1?l(o[m]):c(h,o[o.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:o,values:a,up:s,down:l,between:c,only:d,not:f,unit:n,...r}}function VW(t,e){if(!t.containerQueries)return e;const n=Object.keys(e).filter(i=>i.startsWith("@container")).sort((i,r)=>{const a=/min-width:\s*([0-9.]+)/;return+(i.match(a)?.[1]||0)-+(r.match(a)?.[1]||0)});return n.length?n.reduce((i,r)=>{const a=e[r];return delete i[r],i[r]=a,i},{...e}):e}function mlt(t,e){return e==="@"||e.startsWith("@")&&(t.some(n=>e.startsWith(`@${n}`))||!!e.match(/^@\d/))}function hlt(t,e){const n=e.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,i,r]=n,a=Number.isNaN(+i)?i||0:+i;return t.containerQueries(r).up(a)}function plt(t){const e=(a,o)=>a.replace("@media",o?`@container ${o}`:"@container");function n(a,o){a.up=(...s)=>e(t.breakpoints.up(...s),o),a.down=(...s)=>e(t.breakpoints.down(...s),o),a.between=(...s)=>e(t.breakpoints.between(...s),o),a.only=(...s)=>e(t.breakpoints.only(...s),o),a.not=(...s)=>{const l=e(t.breakpoints.not(...s),o);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const i={},r=a=>(n(i,a),i);return n(r),{...t,containerQueries:r}}const glt={borderRadius:4};function tk(t,e){return e?Tl(t,e,{clone:!1}):t}const c_={xs:0,sm:600,md:900,lg:1200,xl:1536},GW={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${c_[t]}px)`},vlt={containerQueries:t=>({up:e=>{let n=typeof e=="number"?e:c_[e]||e;return typeof n=="number"&&(n=`${n}px`),t?`@container ${t} (min-width:${n})`:`@container (min-width:${n})`}})};function Rf(t,e,n){const i=t.theme||{};if(Array.isArray(e)){const a=i.breakpoints||GW;return e.reduce((o,s,l)=>(o[a.up(a.keys[l])]=n(e[l]),o),{})}if(typeof e=="object"){const a=i.breakpoints||GW;return Object.keys(e).reduce((o,s)=>{if(mlt(a.keys,s)){const l=hlt(i.containerQueries?i:vlt,s);l&&(o[l]=n(e[s],s))}else if(Object.keys(a.values||c_).includes(s)){const l=a.up(s);o[l]=n(e[s],s)}else{const l=s;o[l]=e[l]}return o},{})}return n(e)}function ylt(t={}){return t.keys?.reduce((n,i)=>{const r=t.up(i);return n[r]={},n},{})||{}}function qW(t,e){return t.reduce((n,i)=>{const r=n[i];return(!r||Object.keys(r).length===0)&&delete n[i],n},e)}function mpe(t){if(typeof t!="string")throw new Error(jh(7));return t.charAt(0).toUpperCase()+t.slice(1)}function d_(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const i=`vars.${e}`.split(".").reduce((r,a)=>r&&r[a]?r[a]:null,t);if(i!=null)return i}return e.split(".").reduce((i,r)=>i&&i[r]!=null?i[r]:null,t)}function qx(t,e,n,i=n){let r;return typeof t=="function"?r=t(n):Array.isArray(t)?r=t[n]||i:r=d_(t,n)||i,e&&(r=e(r,i,t)),r}function _a(t){const{prop:e,cssProperty:n=t.prop,themeKey:i,transform:r}=t,a=o=>{if(o[e]==null)return null;const s=o[e],l=o.theme,c=d_(l,i)||{};return Rf(o,s,f=>{let h=qx(c,r,f);return f===h&&typeof f=="string"&&(h=qx(c,r,`${e}${f==="default"?"":mpe(f)}`,f)),n===!1?h:{[n]:h}})};return a.propTypes={},a.filterProps=[e],a}function klt(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const blt={m:"margin",p:"padding"},Slt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},KW={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},wlt=klt(t=>{if(t.length>2)if(KW[t])t=KW[t];else return[t];const[e,n]=t.split(""),i=blt[e],r=Slt[n]||"";return Array.isArray(r)?r.map(a=>i+a):[i+r]}),RL=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],PL=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...RL,...PL];function Lb(t,e,n,i){const r=d_(t,e,!0)??n;return typeof r=="number"||typeof r=="string"?a=>typeof a=="string"?a:typeof r=="string"?r.startsWith("var(")&&a===0?0:r.startsWith("var(")&&a===1?r:`calc(${a} * ${r})`:r*a:Array.isArray(r)?a=>{if(typeof a=="string")return a;const o=Math.abs(a),s=r[o];return a>=0?s:typeof s=="number"?-s:typeof s=="string"&&s.startsWith("var(")?`calc(-1 * ${s})`:`-${s}`}:typeof r=="function"?r:()=>{}}function LL(t){return Lb(t,"spacing",8)}function Ub(t,e){return typeof e=="string"||e==null?e:t(e)}function Nlt(t,e){return n=>t.reduce((i,r)=>(i[r]=Ub(e,n),i),{})}function Clt(t,e,n,i){if(!e.includes(n))return null;const r=wlt(n),a=Nlt(r,i),o=t[n];return Rf(t,o,a)}function hpe(t,e){const n=LL(t.theme);return Object.keys(t).map(i=>Clt(t,e,i,n)).reduce(tk,{})}function ca(t){return hpe(t,RL)}ca.propTypes={};ca.filterProps=RL;function da(t){return hpe(t,PL)}da.propTypes={};da.filterProps=PL;function ppe(t=8,e=LL({spacing:t})){if(t.mui)return t;const n=(...i)=>(i.length===0?[1]:i).map(a=>{const o=e(a);return typeof o=="number"?`${o}px`:o}).join(" ");return n.mui=!0,n}function u_(...t){const e=t.reduce((i,r)=>(r.filterProps.forEach(a=>{i[a]=r}),i),{}),n=i=>Object.keys(i).reduce((r,a)=>e[a]?tk(r,e[a](i)):r,{});return n.propTypes={},n.filterProps=t.reduce((i,r)=>i.concat(r.filterProps),[]),n}function sc(t){return typeof t!="number"?t:`${t}px solid`}function Cc(t,e){return _a({prop:t,themeKey:"borders",transform:e})}const xlt=Cc("border",sc),Flt=Cc("borderTop",sc),_lt=Cc("borderRight",sc),Elt=Cc("borderBottom",sc),Blt=Cc("borderLeft",sc),Tlt=Cc("borderColor"),Dlt=Cc("borderTopColor"),Ilt=Cc("borderRightColor"),Olt=Cc("borderBottomColor"),Rlt=Cc("borderLeftColor"),Plt=Cc("outline",sc),Llt=Cc("outlineColor"),f_=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Lb(t.theme,"shape.borderRadius",4),n=i=>({borderRadius:Ub(e,i)});return Rf(t,t.borderRadius,n)}return null};f_.propTypes={};f_.filterProps=["borderRadius"];u_(xlt,Flt,_lt,Elt,Blt,Tlt,Dlt,Ilt,Olt,Rlt,f_,Plt,Llt);const A_=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Lb(t.theme,"spacing",8),n=i=>({gap:Ub(e,i)});return Rf(t,t.gap,n)}return null};A_.propTypes={};A_.filterProps=["gap"];const m_=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Lb(t.theme,"spacing",8),n=i=>({columnGap:Ub(e,i)});return Rf(t,t.columnGap,n)}return null};m_.propTypes={};m_.filterProps=["columnGap"];const h_=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Lb(t.theme,"spacing",8),n=i=>({rowGap:Ub(e,i)});return Rf(t,t.rowGap,n)}return null};h_.propTypes={};h_.filterProps=["rowGap"];const Ult=_a({prop:"gridColumn"}),Mlt=_a({prop:"gridRow"}),$lt=_a({prop:"gridAutoFlow"}),jlt=_a({prop:"gridAutoColumns"}),Qlt=_a({prop:"gridAutoRows"}),Hlt=_a({prop:"gridTemplateColumns"}),zlt=_a({prop:"gridTemplateRows"}),Vlt=_a({prop:"gridTemplateAreas"}),Glt=_a({prop:"gridArea"});u_(A_,m_,h_,Ult,Mlt,$lt,jlt,Qlt,Hlt,zlt,Vlt,Glt);function mv(t,e){return e==="grey"?e:t}const qlt=_a({prop:"color",themeKey:"palette",transform:mv}),Klt=_a({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mv}),Wlt=_a({prop:"backgroundColor",themeKey:"palette",transform:mv});u_(qlt,Klt,Wlt);function xl(t){return t<=1&&t!==0?`${t*100}%`:t}const Ylt=_a({prop:"width",transform:xl}),UL=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{const i=t.theme?.breakpoints?.values?.[n]||c_[n];return i?t.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${t.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:xl(n)}};return Rf(t,t.maxWidth,e)}return null};UL.filterProps=["maxWidth"];const Xlt=_a({prop:"minWidth",transform:xl}),Zlt=_a({prop:"height",transform:xl}),Jlt=_a({prop:"maxHeight",transform:xl}),ect=_a({prop:"minHeight",transform:xl});_a({prop:"size",cssProperty:"width",transform:xl});_a({prop:"size",cssProperty:"height",transform:xl});const tct=_a({prop:"boxSizing"});u_(Ylt,UL,Xlt,Zlt,Jlt,ect,tct);const Mb={border:{themeKey:"borders",transform:sc},borderTop:{themeKey:"borders",transform:sc},borderRight:{themeKey:"borders",transform:sc},borderBottom:{themeKey:"borders",transform:sc},borderLeft:{themeKey:"borders",transform:sc},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:sc},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:f_},color:{themeKey:"palette",transform:mv},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:mv},backgroundColor:{themeKey:"palette",transform:mv},p:{style:da},pt:{style:da},pr:{style:da},pb:{style:da},pl:{style:da},px:{style:da},py:{style:da},padding:{style:da},paddingTop:{style:da},paddingRight:{style:da},paddingBottom:{style:da},paddingLeft:{style:da},paddingX:{style:da},paddingY:{style:da},paddingInline:{style:da},paddingInlineStart:{style:da},paddingInlineEnd:{style:da},paddingBlock:{style:da},paddingBlockStart:{style:da},paddingBlockEnd:{style:da},m:{style:ca},mt:{style:ca},mr:{style:ca},mb:{style:ca},ml:{style:ca},mx:{style:ca},my:{style:ca},margin:{style:ca},marginTop:{style:ca},marginRight:{style:ca},marginBottom:{style:ca},marginLeft:{style:ca},marginX:{style:ca},marginY:{style:ca},marginInline:{style:ca},marginInlineStart:{style:ca},marginInlineEnd:{style:ca},marginBlock:{style:ca},marginBlockStart:{style:ca},marginBlockEnd:{style:ca},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:A_},rowGap:{style:h_},columnGap:{style:m_},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:xl},maxWidth:{style:UL},minWidth:{transform:xl},height:{transform:xl},maxHeight:{transform:xl},minHeight:{transform:xl},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function nct(...t){const e=t.reduce((i,r)=>i.concat(Object.keys(r)),[]),n=new Set(e);return t.every(i=>n.size===Object.keys(i).length)}function ict(t,e){return typeof t=="function"?t(e):t}function rct(){function t(n,i,r,a){const o={[n]:i,theme:r},s=a[n];if(!s)return{[n]:i};const{cssProperty:l=n,themeKey:c,transform:d,style:f}=s;if(i==null)return null;if(c==="typography"&&i==="inherit")return{[n]:i};const h=d_(r,c)||{};return f?f(o):Rf(o,i,p=>{let g=qx(h,d,p);return p===g&&typeof p=="string"&&(g=qx(h,d,`${n}${p==="default"?"":mpe(p)}`,p)),l===!1?g:{[l]:g}})}function e(n){const{sx:i,theme:r={},nested:a}=n||{};if(!i)return null;const o=r.unstable_sxConfig??Mb;function s(l){let c=l;if(typeof l=="function")c=l(r);else if(typeof l!="object")return l;if(!c)return null;const d=ylt(r.breakpoints),f=Object.keys(d);let h=d;return Object.keys(c).forEach(m=>{const p=ict(c[m],r);if(p!=null)if(typeof p=="object")if(o[m])h=tk(h,t(m,p,r,o));else{const g=Rf({theme:r},p,b=>({[m]:b}));nct(g,p)?h[m]=e({sx:p,theme:r,nested:!0}):h=tk(h,g)}else h=tk(h,t(m,p,r,o))}),!a&&r.modularCssLayers?{"@layer sx":VW(r,qW(f,h))}:VW(r,qW(f,h))}return Array.isArray(i)?i.map(s):s(i)}return e}const $b=rct();$b.filterProps=["sx"];function act(t,e){const n=this;if(n.vars){if(!n.colorSchemes?.[t]||typeof n.getColorSchemeSelector!="function")return{};let i=n.getColorSchemeSelector(t);return i==="&"?e:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:e})}return n.palette.mode===t?e:{}}function gpe(t={},...e){const{breakpoints:n={},palette:i={},spacing:r,shape:a={},...o}=t,s=Alt(n),l=ppe(r);let c=Tl({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:l,shape:{...glt,...a}},o);return c=plt(c),c.applyStyles=act,c=e.reduce((d,f)=>Tl(d,f),c),c.unstable_sxConfig={...Mb,...o?.unstable_sxConfig},c.unstable_sx=function(f){return $b({sx:f,theme:this})},c}function oct(t){return Object.keys(t).length===0}function ML(t=null){const e=N.useContext(Fh);return!e||oct(e)?t:e}const sct=gpe();function lct(t=sct){return ML(t)}function N4(t){const e=clt(t);return t!==e&&e.styles?(e.styles.match(/^@layer\s+[^{]*$/)||(e.styles=`@layer global{${e.styles}}`),e):t}function vpe({styles:t,themeId:e,defaultTheme:n={}}){const i=lct(n),r=e&&i[e]||i;let a=typeof t=="function"?t(r):t;return r.modularCssLayers&&(Array.isArray(a)?a=a.map(o=>N4(typeof o=="function"?o(r):o)):a=N4(a)),y.jsx(upe,{styles:a})}const cct=t=>{const e={systemProps:{},otherProps:{}},n=t?.theme?.unstable_sxConfig??Mb;return Object.keys(t).forEach(i=>{n[i]?e.systemProps[i]=t[i]:e.otherProps[i]=t[i]}),e};function dct(t){const{sx:e,...n}=t,{systemProps:i,otherProps:r}=cct(n);let a;return Array.isArray(e)?a=[i,...e]:typeof e=="function"?a=(...o)=>{const s=e(...o);return Nf(s)?{...i,...s}:i}:a={...i,...e},{...r,sx:a}}function $O(t,e,n=!1){const i={...e};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const a=r;if(a==="components"||a==="slots")i[a]={...t[a],...i[a]};else if(a==="componentsProps"||a==="slotProps"){const o=t[a],s=e[a];if(!s)i[a]=o||{};else if(!o)i[a]=s;else{i[a]={...s};for(const l in o)if(Object.prototype.hasOwnProperty.call(o,l)){const c=l;i[a][c]=$O(o[c],s[c],n)}}}else a==="className"&&n&&e.className?i.className=nR(t?.className,e?.className):a==="style"&&n&&e.style?i.style={...t?.style,...e?.style}:i[a]===void 0&&(i[a]=t[a])}return i}const ype=typeof window<"u"?N.useLayoutEffect:N.useEffect;function uct(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}function $L(t,e=0,n=1){return uct(t,e,n)}function fct(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,r)=>r<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function sm(t){if(t.type)return t;if(t.charAt(0)==="#")return sm(fct(t));const e=t.indexOf("("),n=t.substring(0,e);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(jh(9,t));let i=t.substring(e+1,t.length-1),r;if(n==="color"){if(i=i.split(" "),r=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(jh(10,r))}else i=i.split(",");return i=i.map(a=>parseFloat(a)),{type:n,values:i,colorSpace:r}}const Act=t=>{const e=sm(t);return e.values.slice(0,3).map((n,i)=>e.type.includes("hsl")&&i!==0?`${n}%`:n).join(" ")},$y=(t,e)=>{try{return Act(t)}catch{return t}};function p_(t){const{type:e,colorSpace:n}=t;let{values:i}=t;return e.includes("rgb")?i=i.map((r,a)=>a<3?parseInt(r,10):r):e.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),e.includes("color")?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${e}(${i})`}function kpe(t){t=sm(t);const{values:e}=t,n=e[0],i=e[1]/100,r=e[2]/100,a=i*Math.min(r,1-r),o=(c,d=(c+n/30)%12)=>r-a*Math.max(Math.min(d-3,9-d,1),-1);let s="rgb";const l=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return t.type==="hsla"&&(s+="a",l.push(e[3])),p_({type:s,values:l})}function jO(t){t=sm(t);let e=t.type==="hsl"||t.type==="hsla"?sm(kpe(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function mct(t,e){const n=jO(t),i=jO(e);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function bpe(t,e){return t=sm(t),e=$L(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,p_(t)}function Zm(t,e,n){try{return bpe(t,e)}catch{return t}}function g_(t,e){if(t=sm(t),e=$L(e),t.type.includes("hsl"))t.values[2]*=1-e;else if(t.type.includes("rgb")||t.type.includes("color"))for(let n=0;n<3;n+=1)t.values[n]*=1-e;return p_(t)}function ir(t,e,n){try{return g_(t,e)}catch{return t}}function v_(t,e){if(t=sm(t),e=$L(e),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*e;else if(t.type.includes("rgb"))for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.includes("color"))for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return p_(t)}function rr(t,e,n){try{return v_(t,e)}catch{return t}}function hct(t,e=.15){return jO(t)>.5?g_(t,e):v_(t,e)}function kw(t,e,n){try{return hct(t,e)}catch{return t}}const Spe=N.createContext(null);function jL(){return N.useContext(Spe)}const pct=typeof Symbol=="function"&&Symbol.for,gct=pct?Symbol.for("mui.nested"):"__THEME_NESTED__";function vct(t,e){return typeof e=="function"?e(t):{...t,...e}}function yct(t){const{children:e,theme:n}=t,i=jL(),r=N.useMemo(()=>{const a=i===null?{...n}:vct(i,n);return a!=null&&(a[gct]=i!==null),a},[n,i]);return y.jsx(Spe.Provider,{value:r,children:e})}const wpe=N.createContext();function kct({value:t,...e}){return y.jsx(wpe.Provider,{value:t??!0,...e})}const hgt=()=>N.useContext(wpe)??!1,Npe=N.createContext(void 0);function bct({value:t,children:e}){return y.jsx(Npe.Provider,{value:t,children:e})}function Sct(t){const{theme:e,name:n,props:i}=t;if(!e||!e.components||!e.components[n])return i;const r=e.components[n];return r.defaultProps?$O(r.defaultProps,i,e.components.mergeClassNameAndStyle):!r.styleOverrides&&!r.variants?$O(r,i,e.components.mergeClassNameAndStyle):i}function wct({props:t,name:e}){const n=N.useContext(Npe);return Sct({props:t,name:e,theme:{components:n}})}let WW=0;function Nct(t){const[e,n]=N.useState(t),i=t||e;return N.useEffect(()=>{e==null&&(WW+=1,n(`mui-${WW}`))},[e]),i}const Cct={...Bf},YW=Cct.useId;function xct(t){if(YW!==void 0){const e=YW();return t??e}return Nct(t)}function Fct(t){const e=ML(),n=xct()||"",{modularCssLayers:i}=t;let r="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!i||e!==null?r="":typeof i=="string"?r=i.replace(/mui(?!\.)/g,r):r=`@layer ${r};`,ype(()=>{const a=document.querySelector("head");if(!a)return;const o=a.firstChild;if(r){if(o&&o.hasAttribute?.("data-mui-layer-order")&&o.getAttribute("data-mui-layer-order")===n)return;const s=document.createElement("style");s.setAttribute("data-mui-layer-order",n),s.textContent=r,a.prepend(s)}else a.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[r,n]),r?y.jsx(vpe,{styles:r}):null}const XW={};function ZW(t,e,n,i=!1){return N.useMemo(()=>{const r=t&&e[t]||e;if(typeof n=="function"){const a=n(r),o=t?{...e,[t]:a}:a;return i?()=>o:o}return t?{...e,[t]:n}:{...e,...n}},[t,e,n,i])}function Cpe(t){const{children:e,theme:n,themeId:i}=t,r=ML(XW),a=jL()||XW,o=ZW(i,r,n),s=ZW(i,a,n,!0),l=(i?o[i]:o).direction==="rtl",c=Fct(o);return y.jsx(yct,{theme:s,children:y.jsx(Fh.Provider,{value:o,children:y.jsx(kct,{value:l,children:y.jsxs(bct,{value:i?o[i].components:o.components,children:[c,e]})})})})}const QL="mode",HL="color-scheme",_ct="data-color-scheme";function Ect(t){const{defaultMode:e="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:i="dark",modeStorageKey:r=QL,colorSchemeStorageKey:a=HL,attribute:o=_ct,colorSchemeNode:s="document.documentElement",nonce:l}=t||{};let c="",d=o;if(o==="class"&&(d=".%s"),o==="data"&&(d="[data-%s]"),d.startsWith(".")){const h=d.substring(1);c+=`${s}.classList.remove('${h}'.replace('%s', light), '${h}'.replace('%s', dark));
|
|
240
240
|
${s}.classList.add('${h}'.replace('%s', colorScheme));`}const f=d.match(/\[([^[\]]+)\]/);if(f){const[h,m]=f[1].split("=");m||(c+=`${s}.removeAttribute('${h}'.replace('%s', light));
|
|
241
241
|
${s}.removeAttribute('${h}'.replace('%s', dark));`),c+=`
|
|
242
242
|
${s}.setAttribute('${h}'.replace('%s', colorScheme), ${m?`${m}.replace('%s', colorScheme)`:'""'});`}else d!==".%s"&&(c+=`${s}.setAttribute('${d}', colorScheme);`);return y.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(function() {
|
|
@@ -270,11 +270,11 @@ const theme = ${JSON.stringify(e,null,2)};
|
|
|
270
270
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
271
271
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
272
272
|
|
|
273
|
-
export default theme;`}function oY(t){return typeof t=="number"?`${(t*100).toFixed(0)}%`:`calc((${t}) * 100%)`}const sdt=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 ldt(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})`:bpe(e,sdt(n))},lighten(e,n){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${e}, #fff ${oY(n)})`:v_(e,n)},darken(e,n){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${e}, #000 ${oY(n)})`:g_(e,n)}})}function HO(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(jh(20));const f=zL({...a,colorSpace:c}),h=gpe(t);let m=Tl(h,{mixins:Wct(h.breakpoints,i),palette:f,shadows:edt.slice(),typography:Bpe(f,s),transitions:rdt(o),zIndex:{...adt}});return m=Tl(m,d),m=e.reduce((p,g)=>Tl(p,g),m),m.unstable_sxConfig={...Mb,...d?.unstable_sxConfig},m.unstable_sx=function(g){return $b({sx:g,theme:this})},m.toRuntimeSource=Tpe,ldt(m),m}function cdt(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 ddt=[...Array(25)].map((t,e)=>{if(e===0)return"none";const n=cdt(e);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Dpe(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function Ipe(t){return t==="dark"?ddt:[]}function udt(t){const{palette:e={mode:"light"},opacity:n,overlays:i,colorSpace:r,...a}=t,o=zL({...e,colorSpace:r});return{palette:o,opacity:{...Dpe(o.mode),...n},overlays:i||Ipe(o.mode),...a}}function fdt(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 Adt=t=>[...[...Array(25)].map((e,n)=>`--${t?`${t}-`:""}overlays-${n}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],mdt=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 Adt(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 hdt(t,e){e.forEach(n=>{t[n]||(t[n]={})})}function vt(t,e,n){!t[e]&&n&&(t[e]=n)}function jy(t){return typeof t!="string"||!t.startsWith("hsl")?t:kpe(t)}function gf(t,e){`${e}Channel`in t||(t[`${e}Channel`]=$y(jy(t[e])))}function pdt(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const eu=t=>{try{return t()}catch{}},gdt=(t="mui")=>Pct(t);function F4(t,e,n,i,r){if(!n)return;n=n===!0?{}:n;const a=r==="dark"?"dark":"light";if(!i){e[r]=udt({...n,palette:{mode:a,...n?.palette},colorSpace:t});return}const{palette:o,...s}=HO({...i,palette:{mode:a,...n?.palette},colorSpace:t});return e[r]={...n,palette:o,opacity:{...Dpe(a),...n?.opacity},overlays:n?.overlays||Ipe(a)},s}function vdt(t={},...e){const{colorSchemes:n={light:!0},defaultColorScheme:i,disableCssColorScheme:r=!1,cssVarPrefix:a="mui",nativeColor:o=!1,shouldSkipGeneratingVar:s=fdt,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=gdt(a),{[h]:p,light:g,dark:b,...k}=n,S={...k};let C=p;if((h==="dark"&&!("dark"in n)||h==="light"&&!("light"in n))&&(C=!0),!C)throw new Error(jh(21,h));let x;o&&(x="oklch");const F=F4(x,S,C,d,h);g&&!S.light&&F4(x,S,g,void 0,"light"),b&&!S.dark&&F4(x,S,b,void 0,"dark");let T={defaultColorScheme:h,...F,cssVarPrefix:a,colorSchemeSelector:l,rootSelector:c,getCssVar:m,colorSchemes:S,font:{...Kct(F.typography),...F.font},spacing:pdt(d.spacing)};Object.keys(T.colorSchemes).forEach(U=>{const P=T.colorSchemes[U].palette,Z=ae=>{const H=ae.split("-"),te=H[1],Y=H[2];return m(ae,P[te][Y])};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 q(ae,H,te){if(x){let Y;return ae===Zm&&(Y=`transparent ${((1-te)*100).toFixed(0)}%`),ae===ir&&(Y=`#000 ${(te*100).toFixed(0)}%`),ae===rr&&(Y=`#fff ${(te*100).toFixed(0)}%`),`color-mix(in ${x}, ${H}, ${Y})`}return ae(H,te)}if(hdt(P,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),P.mode==="light"){vt(P.Alert,"errorColor",q(ir,P.error.light,.6)),vt(P.Alert,"infoColor",q(ir,P.info.light,.6)),vt(P.Alert,"successColor",q(ir,P.success.light,.6)),vt(P.Alert,"warningColor",q(ir,P.warning.light,.6)),vt(P.Alert,"errorFilledBg",Z("palette-error-main")),vt(P.Alert,"infoFilledBg",Z("palette-info-main")),vt(P.Alert,"successFilledBg",Z("palette-success-main")),vt(P.Alert,"warningFilledBg",Z("palette-warning-main")),vt(P.Alert,"errorFilledColor",eu(()=>P.getContrastText(P.error.main))),vt(P.Alert,"infoFilledColor",eu(()=>P.getContrastText(P.info.main))),vt(P.Alert,"successFilledColor",eu(()=>P.getContrastText(P.success.main))),vt(P.Alert,"warningFilledColor",eu(()=>P.getContrastText(P.warning.main))),vt(P.Alert,"errorStandardBg",q(rr,P.error.light,.9)),vt(P.Alert,"infoStandardBg",q(rr,P.info.light,.9)),vt(P.Alert,"successStandardBg",q(rr,P.success.light,.9)),vt(P.Alert,"warningStandardBg",q(rr,P.warning.light,.9)),vt(P.Alert,"errorIconColor",Z("palette-error-main")),vt(P.Alert,"infoIconColor",Z("palette-info-main")),vt(P.Alert,"successIconColor",Z("palette-success-main")),vt(P.Alert,"warningIconColor",Z("palette-warning-main")),vt(P.AppBar,"defaultBg",Z("palette-grey-100")),vt(P.Avatar,"defaultBg",Z("palette-grey-400")),vt(P.Button,"inheritContainedBg",Z("palette-grey-300")),vt(P.Button,"inheritContainedHoverBg",Z("palette-grey-A100")),vt(P.Chip,"defaultBorder",Z("palette-grey-400")),vt(P.Chip,"defaultAvatarColor",Z("palette-grey-700")),vt(P.Chip,"defaultIconColor",Z("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",q(rr,P.primary.main,.62)),vt(P.LinearProgress,"secondaryBg",q(rr,P.secondary.main,.62)),vt(P.LinearProgress,"errorBg",q(rr,P.error.main,.62)),vt(P.LinearProgress,"infoBg",q(rr,P.info.main,.62)),vt(P.LinearProgress,"successBg",q(rr,P.success.main,.62)),vt(P.LinearProgress,"warningBg",q(rr,P.warning.main,.62)),vt(P.Skeleton,"bg",x?q(Zm,P.text.primary,.11):`rgba(${Z("palette-text-primaryChannel")} / 0.11)`),vt(P.Slider,"primaryTrack",q(rr,P.primary.main,.62)),vt(P.Slider,"secondaryTrack",q(rr,P.secondary.main,.62)),vt(P.Slider,"errorTrack",q(rr,P.error.main,.62)),vt(P.Slider,"infoTrack",q(rr,P.info.main,.62)),vt(P.Slider,"successTrack",q(rr,P.success.main,.62)),vt(P.Slider,"warningTrack",q(rr,P.warning.main,.62));const ae=x?q(ir,P.background.default,.6825):kw(P.background.default,.8);vt(P.SnackbarContent,"bg",ae),vt(P.SnackbarContent,"color",eu(()=>x?QO.text.primary:P.getContrastText(ae))),vt(P.SpeedDialAction,"fabHoverBg",kw(P.background.paper,.15)),vt(P.StepConnector,"border",Z("palette-grey-400")),vt(P.StepContent,"border",Z("palette-grey-400")),vt(P.Switch,"defaultColor",Z("palette-common-white")),vt(P.Switch,"defaultDisabledColor",Z("palette-grey-100")),vt(P.Switch,"primaryDisabledColor",q(rr,P.primary.main,.62)),vt(P.Switch,"secondaryDisabledColor",q(rr,P.secondary.main,.62)),vt(P.Switch,"errorDisabledColor",q(rr,P.error.main,.62)),vt(P.Switch,"infoDisabledColor",q(rr,P.info.main,.62)),vt(P.Switch,"successDisabledColor",q(rr,P.success.main,.62)),vt(P.Switch,"warningDisabledColor",q(rr,P.warning.main,.62)),vt(P.TableCell,"border",q(rr,q(Zm,P.divider,1),.88)),vt(P.Tooltip,"bg",q(Zm,P.grey[700],.92))}if(P.mode==="dark"){vt(P.Alert,"errorColor",q(rr,P.error.light,.6)),vt(P.Alert,"infoColor",q(rr,P.info.light,.6)),vt(P.Alert,"successColor",q(rr,P.success.light,.6)),vt(P.Alert,"warningColor",q(rr,P.warning.light,.6)),vt(P.Alert,"errorFilledBg",Z("palette-error-dark")),vt(P.Alert,"infoFilledBg",Z("palette-info-dark")),vt(P.Alert,"successFilledBg",Z("palette-success-dark")),vt(P.Alert,"warningFilledBg",Z("palette-warning-dark")),vt(P.Alert,"errorFilledColor",eu(()=>P.getContrastText(P.error.dark))),vt(P.Alert,"infoFilledColor",eu(()=>P.getContrastText(P.info.dark))),vt(P.Alert,"successFilledColor",eu(()=>P.getContrastText(P.success.dark))),vt(P.Alert,"warningFilledColor",eu(()=>P.getContrastText(P.warning.dark))),vt(P.Alert,"errorStandardBg",q(ir,P.error.light,.9)),vt(P.Alert,"infoStandardBg",q(ir,P.info.light,.9)),vt(P.Alert,"successStandardBg",q(ir,P.success.light,.9)),vt(P.Alert,"warningStandardBg",q(ir,P.warning.light,.9)),vt(P.Alert,"errorIconColor",Z("palette-error-main")),vt(P.Alert,"infoIconColor",Z("palette-info-main")),vt(P.Alert,"successIconColor",Z("palette-success-main")),vt(P.Alert,"warningIconColor",Z("palette-warning-main")),vt(P.AppBar,"defaultBg",Z("palette-grey-900")),vt(P.AppBar,"darkBg",Z("palette-background-paper")),vt(P.AppBar,"darkColor",Z("palette-text-primary")),vt(P.Avatar,"defaultBg",Z("palette-grey-600")),vt(P.Button,"inheritContainedBg",Z("palette-grey-800")),vt(P.Button,"inheritContainedHoverBg",Z("palette-grey-700")),vt(P.Chip,"defaultBorder",Z("palette-grey-700")),vt(P.Chip,"defaultAvatarColor",Z("palette-grey-300")),vt(P.Chip,"defaultIconColor",Z("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",q(ir,P.primary.main,.5)),vt(P.LinearProgress,"secondaryBg",q(ir,P.secondary.main,.5)),vt(P.LinearProgress,"errorBg",q(ir,P.error.main,.5)),vt(P.LinearProgress,"infoBg",q(ir,P.info.main,.5)),vt(P.LinearProgress,"successBg",q(ir,P.success.main,.5)),vt(P.LinearProgress,"warningBg",q(ir,P.warning.main,.5)),vt(P.Skeleton,"bg",x?q(Zm,P.text.primary,.13):`rgba(${Z("palette-text-primaryChannel")} / 0.13)`),vt(P.Slider,"primaryTrack",q(ir,P.primary.main,.5)),vt(P.Slider,"secondaryTrack",q(ir,P.secondary.main,.5)),vt(P.Slider,"errorTrack",q(ir,P.error.main,.5)),vt(P.Slider,"infoTrack",q(ir,P.info.main,.5)),vt(P.Slider,"successTrack",q(ir,P.success.main,.5)),vt(P.Slider,"warningTrack",q(ir,P.warning.main,.5));const ae=x?q(rr,P.background.default,.985):kw(P.background.default,.98);vt(P.SnackbarContent,"bg",ae),vt(P.SnackbarContent,"color",eu(()=>x?_pe.text.primary:P.getContrastText(ae))),vt(P.SpeedDialAction,"fabHoverBg",kw(P.background.paper,.15)),vt(P.StepConnector,"border",Z("palette-grey-600")),vt(P.StepContent,"border",Z("palette-grey-600")),vt(P.Switch,"defaultColor",Z("palette-grey-300")),vt(P.Switch,"defaultDisabledColor",Z("palette-grey-600")),vt(P.Switch,"primaryDisabledColor",q(ir,P.primary.main,.55)),vt(P.Switch,"secondaryDisabledColor",q(ir,P.secondary.main,.55)),vt(P.Switch,"errorDisabledColor",q(ir,P.error.main,.55)),vt(P.Switch,"infoDisabledColor",q(ir,P.info.main,.55)),vt(P.Switch,"successDisabledColor",q(ir,P.success.main,.55)),vt(P.Switch,"warningDisabledColor",q(ir,P.warning.main,.55)),vt(P.TableCell,"border",q(ir,q(Zm,P.divider,1),.68)),vt(P.Tooltip,"bg",q(Zm,P.grey[700],.92))}gf(P.background,"default"),gf(P.background,"paper"),gf(P.common,"background"),gf(P.common,"onBackground"),gf(P,"divider"),Object.keys(P).forEach(ae=>{const H=P[ae];ae!=="tonalOffset"&&H&&typeof H=="object"&&(H.main&&vt(P[ae],"mainChannel",$y(jy(H.main))),H.light&&vt(P[ae],"lightChannel",$y(jy(H.light))),H.dark&&vt(P[ae],"darkChannel",$y(jy(H.dark))),H.contrastText&&vt(P[ae],"contrastTextChannel",$y(jy(H.contrastText))),ae==="text"&&(gf(P[ae],"primary"),gf(P[ae],"secondary")),ae==="action"&&(H.active&&gf(P[ae],"active"),H.selected&&gf(P[ae],"selected")))})}),T=e.reduce((U,P)=>Tl(U,P),T);const E={prefix:a,disableCssColorScheme:r,shouldSkipGeneratingVar:s,getSelector:mdt(T),enableContrastVars:o},{vars:I,generateThemeVars:R,generateStyleSheets:V}=Mct(T,E);return T.vars=I,Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([U,P])=>{T[U]=P}),T.generateThemeVars=R,T.generateStyleSheets=V,T.generateSpacing=function(){return ppe(d.spacing,LL(this))},T.getColorSchemeSelector=$ct(l),T.spacing=T.generateSpacing(),T.shouldSkipGeneratingVar=s,T.unstable_sxConfig={...Mb,...d?.unstable_sxConfig},T.unstable_sx=function(P){return $b({sx:P,theme:this})},T.toRuntimeSource=Tpe,T}function sY(t,e,n){t.colorSchemes&&n&&(t.colorSchemes[e]={...n!==!0&&n,palette:zL({...n===!0?{}:n.palette,mode:e})})}function VL(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 HO(t,...e);let d=n;"palette"in t||c[s]&&(c[s]!==!0?d=c[s].palette:s==="dark"&&(d={mode:"dark"}));const f=HO({...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},sY(f,"dark",c.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:f.palette},sY(f,"light",c.light)),f}return!n&&!("light"in c)&&s==="light"&&(c.light=!0),vdt({...o,colorSchemes:c,defaultColorScheme:s,...typeof i!="boolean"&&i},...e)}const ydt=VL();function kdt({theme:t,...e}){const n=bh in t?t[bh]:void 0;return y.jsx(Cpe,{...e,themeId:n?bh:void 0,theme:n||t})}const bw={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:bdt}=Rct({themeId:bh,theme:()=>VL({cssVariables:!0}),colorSchemeStorageKey:bw.colorSchemeStorageKey,modeStorageKey:bw.modeStorageKey,defaultColorScheme:{light:bw.defaultLightColorScheme,dark:bw.defaultDarkColorScheme},resolveTheme:t=>{const e={...t,typography:Bpe(t.palette,t.typography)};return e.unstable_sx=function(i){return $b({sx:i,theme:this})},e}}),Sdt=bdt;function wdt({theme:t,...e}){const n=N.useMemo(()=>{if(typeof t=="function")return t;const i=bh in t?t[bh]:t;return"colorSchemes"in i?null:"vars"in i?t:{...t,vars:null}},[t]);return n?y.jsx(kdt,{theme:n,...e}):y.jsx(Sdt,{theme:t,...e})}function Ndt(t){return y.jsx(vpe,{...t,defaultTheme:ydt,themeId:bh})}function Ope(t){return function(n){return y.jsx(Ndt,{styles:typeof t=="function"?i=>t({theme:i,...n}):t})}}function pgt(){return dct}function Cdt(t){return wct(t)}const zO=typeof Ope({})=="function",xdt=(t,e)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...e&&!t.vars&&{colorScheme:t.palette.mode}}),Fdt=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}}),Rpe=(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:xdt(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:{margin:0,...Fdt(t),"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}},...n};const r=t.components?.MuiCssBaseline?.styleOverrides;return r&&(i=[i,r]),i},oN="mui-ecs",_dt=t=>{const e=Rpe(t,!1),n=Array.isArray(e)?e[0]:e;return!t.vars&&n&&(n.html[`:root:has(${oN})`]={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(.${oN}))`]:{colorScheme:r.palette?.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${oN}))`]:{colorScheme:r.palette?.mode}}}),e},Edt=Ope(zO?({theme:t,enableColorScheme:e})=>Rpe(t,e):({theme:t})=>_dt(t));function Bdt(t){const e=Cdt({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:i=!1}=e;return y.jsxs(N.Fragment,{children:[zO&&y.jsx(Edt,{enableColorScheme:i}),!zO&&!i&&y.jsx("span",{className:oN,style:{display:"none"}}),n]})}var y_=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(){}},Tdt={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},Ddt=class{#e=Tdt;#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)}},VO=new Ddt;function Idt(t){setTimeout(t,0)}var k_=typeof window>"u"||"Deno"in globalThis;function nd(){}function Odt(t,e){return typeof t=="function"?t(e):t}function Rdt(t){return typeof t=="number"&&t>=0&&t!==1/0}function Pdt(t,e){return Math.max(t+(e||0)-Date.now(),0)}function GO(t,e){return typeof t=="function"?t(e):t}function Ldt(t,e){return typeof t=="function"?t(e):t}function lY(t,e){const{type:n="all",exact:i,fetchStatus:r,predicate:a,queryKey:o,stale:s}=t;if(o){if(i){if(e.queryHash!==GL(o,e.options))return!1}else if(!Ok(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 cY(t,e){const{exact:n,status:i,predicate:r,mutationKey:a}=t;if(a){if(!e.options.mutationKey)return!1;if(n){if(Ik(e.options.mutationKey)!==Ik(a))return!1}else if(!Ok(e.options.mutationKey,a))return!1}return!(i&&e.state.status!==i||r&&!r(e))}function GL(t,e){return(e?.queryKeyHashFn||Ik)(t)}function Ik(t){return JSON.stringify(t,(e,n)=>qO(n)?Object.keys(n).sort().reduce((i,r)=>(i[r]=n[r],i),{}):n)}function Ok(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>Ok(t[n],e[n])):!1}var Udt=Object.prototype.hasOwnProperty;function Ppe(t,e){if(t===e)return t;const n=dY(t)&&dY(e);if(!n&&!(qO(t)&&qO(e)))return e;const r=(n?t:Object.keys(t)).length,a=n?e:Object.keys(e),o=a.length,s=n?new Array(o):{};let l=0;for(let c=0;c<o;c++){const d=n?c:a[c],f=t[d],h=e[d];if(f===h){s[d]=f,(n?c<r:Udt.call(t,d))&&l++;continue}if(f===null||h===null||typeof f!="object"||typeof h!="object"){s[d]=h;continue}const m=Ppe(f,h);s[d]=m,m===f&&l++}return r===o&&l===r?t:s}function dY(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function qO(t){if(!uY(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!uY(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function uY(t){return Object.prototype.toString.call(t)==="[object Object]"}function Mdt(t){return new Promise(e=>{VO.setTimeout(e,t)})}function $dt(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?Ppe(t,e):e}function jdt(t,e,n=0){const i=[...t,e];return n&&i.length>n?i.slice(1):i}function Qdt(t,e,n=0){const i=[e,...t];return n&&i.length>n?i.slice(0,-1):i}var qL=Symbol();function Lpe(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===qL?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var Hdt=class extends y_{#e;#t;#n;constructor(){super(),this.#n=t=>{if(!k_&&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"}},Upe=new Hdt;function zdt(){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 Vdt=Idt;function Gdt(){let t=[],e=0,n=s=>{s()},i=s=>{s()},r=Vdt;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 vs=Gdt(),qdt=class extends y_{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(!k_&&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}},Kx=new qdt;function Kdt(t){return Math.min(1e3*2**t,3e4)}function Mpe(t){return(t??"online")==="online"?Kx.isOnline():!0}var KO=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function $pe(t){let e=!1,n=0,i;const r=zdt(),a=()=>r.status!=="pending",o=g=>{if(!a()){const b=new KO(g);h(b),t.onCancel?.(b)}},s=()=>{e=!0},l=()=>{e=!1},c=()=>Upe.isFocused()&&(t.networkMode==="always"||Kx.isOnline())&&t.canRun(),d=()=>Mpe(t.networkMode)&&t.canRun(),f=g=>{a()||(i?.(),r.resolve(g))},h=g=>{a()||(i?.(),r.reject(g))},m=()=>new Promise(g=>{i=b=>{(a()||c())&&g(b)},t.onPause?.()}).then(()=>{i=void 0,a()||t.onContinue?.()}),p=()=>{if(a())return;let g;const b=n===0?t.initialPromise:void 0;try{g=b??t.fn()}catch(k){g=Promise.reject(k)}Promise.resolve(g).then(f).catch(k=>{if(a())return;const S=t.retry??(k_?0:3),C=t.retryDelay??Kdt,x=typeof C=="function"?C(n,k):C,F=S===!0||typeof S=="number"&&n<S||typeof S=="function"&&S(n,k);if(e||!F){h(k);return}n++,t.onFail?.(n,k),Mdt(x).then(()=>c()?void 0:m()).then(()=>{e?h(k):p()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(i?.(),r),cancelRetry:s,continueRetry:l,canStart:d,start:()=>(d()?p():m().then(p),r)}}var jpe=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Rdt(this.gcTime)&&(this.#e=VO.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(k_?1/0:300*1e3))}clearGcTimeout(){this.#e&&(VO.clearTimeout(this.#e),this.#e=void 0)}},Wdt=class extends jpe{#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=AY(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=AY(this.options);e.data!==void 0&&(this.setState(fY(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,e){const n=$dt(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(nd).catch(nd):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>Ldt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===qL||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>GO(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:!Pdt(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=Lpe(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=$pe({initialPromise:e?.initialPromise,fn:o.fetchFn,onCancel:s=>{s instanceof KO&&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 KO){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,...Ydt(n.data,this.options),fetchMeta:t.meta??null};case"success":const i={...n,...fY(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"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=e(this.state),vs.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function Ydt(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Mpe(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function fY(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function AY(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 mY(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=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(e.signal.aborted?d=!0:e.signal.addEventListener("abort",()=>{d=!0}),e.signal)})},h=Lpe(e.options,e.fetchOptions),m=async(p,g,b)=>{if(d)return Promise.reject();if(g==null&&p.pages.length)return Promise.resolve(p);const S=(()=>{const T={client:e.client,queryKey:e.queryKey,pageParam:g,direction:b?"backward":"forward",meta:e.options.meta};return f(T),T})(),C=await h(S),{maxPages:x}=e.options,F=b?Qdt:jdt;return{pages:F(p.pages,C,x),pageParams:F(p.pageParams,g,x)}};if(r&&a.length){const p=r==="backward",g=p?Xdt:hY,b={pages:a,pageParams:o},k=g(i,b);s=await m(b,k,p)}else{const p=t??a.length;do{const g=l===0?o[0]??i.initialPageParam:hY(i,s);if(l>0&&g==null)break;s=await m(s,g),l++}while(l<p)}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 hY(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 Xdt(t,{pages:e,pageParams:n}){return e.length>0?t.getPreviousPageParam?.(e[0],e,n[0],n):void 0}var Zdt=class extends jpe{#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||Jdt(),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=$pe({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}),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{throw await this.#n.config.onError?.(a,t,this.state.context,this,n),await this.options.onError?.(a,t,this.state.context,n),await this.#n.config.onSettled?.(void 0,a,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,a,t,this.state.context,n),a}finally{this.#r({type:"error",error: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),vs.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function Jdt(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var eut=class extends y_{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 Zdt({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=Sw(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=Sw(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=Sw(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=Sw(t);return typeof e=="string"?this.#t.get(e)?.find(i=>i!==t&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){vs.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=>cY(e,n))}findAll(t={}){return this.getAll().filter(e=>cY(t,e))}notify(t){vs.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return vs.batch(()=>Promise.all(t.map(e=>e.continue().catch(nd))))}};function Sw(t){return t.options.scope?.id}var tut=class extends y_{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,e,n){const i=e.queryKey,r=e.queryHash??GL(i,e);let a=this.get(r);return a||(a=new Wdt({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(){vs.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=>lY(e,n))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(n=>lY(t,n)):e}notify(t){vs.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){vs.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){vs.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},nut=class{#e;#t;#n;#i;#r;#o;#a;#s;constructor(t={}){this.#e=t.queryCache||new tut,this.#t=t.mutationCache||new eut,this.#n=t.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=Upe.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=Kx.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(GO(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=Odt(e,a);if(o!==void 0)return this.#e.build(this,i).setData(o,{...n,manual:!0})}setQueriesData(t,e,n){return vs.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;vs.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=this.#e;return vs.batch(()=>(n.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},i=vs.batch(()=>this.#e.findAll(t).map(r=>r.cancel(n)));return Promise.all(i).then(nd).catch(nd)}invalidateQueries(t,e={}){return vs.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=vs.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(nd)),r.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(i).then(nd)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=this.#e.build(this,e);return n.isStaleByTime(GO(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(nd).catch(nd)}fetchInfiniteQuery(t){return t.behavior=mY(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(nd).catch(nd)}ensureInfiniteQueryData(t){return t.behavior=mY(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Kx.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(Ik(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#i.values()],n={};return e.forEach(i=>{Ok(t,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(t,e){this.#r.set(Ik(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#r.values()],n={};return e.forEach(i=>{Ok(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=GL(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===qL&&(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()}},iut=N.createContext(void 0),rut=({client:t,children:e})=>(N.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),y.jsx(iut.Provider,{value:t,children:e}));function aut(){const t=KY();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]),y.jsx("div",{style:{display:"none"}})}var out=(t,e,n,i,r,a,o,s)=>{let l=document.documentElement,c=["light","dark"];function d(m){(Array.isArray(t)?t:[t]).forEach(p=>{let g=p==="class",b=g&&a?r.map(k=>a[k]||k):r;g?(l.classList.remove(...b),l.classList.add(a&&a[m]?a[m]:m)):l.setAttribute(p,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,p=o&&m==="system"?h():m;d(p)}catch{}},sut=N.createContext(void 0),lut={setTheme:t=>{},themes:[]},cut=()=>{var t;return(t=N.useContext(sut))!=null?t:lut};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:`(${out.toString()})(${d})`}})});const dut=({...t})=>{const{theme:e="system"}=cut();return y.jsx(KBe,{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})},uut=new nut({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}}),fut=VL({palette:{primary:{main:"#556cd6"},secondary:{main:"#19857b"},error:{main:th.A400}}});function Aut(){return y.jsx(vte,{withGlobalStyles:!0,theme:{fontFamily:"Roboto, sans-serif",fontSizes:{md:"14"}},children:y.jsxs(wdt,{theme:fut,children:[y.jsx(Bdt,{}),y.jsxs(bBe,{children:[y.jsx(dut,{}),y.jsx(WBe,{children:y.jsx(rut,{client:uut,children:y.jsxs(hst,{children:[y.jsx(aut,{}),y.jsx(dpe,{}),y.jsx(XY,{})]})})})]})]})})}function mut(){if(!new Yk().isLoggedIn())throw IY($n.LOGIN);return null}function hut(){if(new Yk().isLoggedIn())throw IY($n.HOME);return null}let ww=null;function Qpe(){if(ww)return ww;const t=new Yk;let e;return e="https://accounter.onrender.com/graphql",ww=eZ({url:e,exchanges:[JX({onResult(n){Oee(n)}}),Iee(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()}})),ZX]}),ww}function put(t){if(!t.chargeId)throw new Response("Charge ID is required",{status:400});return{chargeId:t.chargeId}}function gut(t){if(!t.businessId)throw new Response("Business ID is required",{status:400});return{businessId:t.businessId}}async function vut({params:t}){const{chargeId:e}=put(t),i=await Qpe().query(ZNe,{chargeId:e}).toPromise();if(!i.data?.charge)throw new Response("Charge not found",{status:404});return i.data}async function yut({params:t}){const{businessId:e}=gut(t),i=await Qpe().query(XNe,{businessId:e}).toPromise();if(!i.data?.business)throw new Response("Business not found",{status:404});return i.data}const pY=N.lazy(()=>li(()=>import("./all-charges-CTCSdwEH.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,24,25,26,27])).then(t=>({default:t.AllCharges}))),kut=N.lazy(()=>li(()=>import("./missing-info-charges-Bfw6XCf9.js"),__vite__mapDeps([28,1,9,10,11,12,13,6,14,15,16,17,18,19,20,21,22,23,24,25,26,3,27])).then(t=>({default:t.MissingInfoCharges}))),but=N.lazy(()=>li(()=>import("./charge-B9OrcpOy.js"),__vite__mapDeps([29,9,10,11,12,13,6,14,15,16,17,18,19,20,21,22,23,24,25,26,3])).then(t=>({default:t.Charge}))),Sut=N.lazy(()=>li(()=>import("./charges-ledger-validation-D7S-GKAz.js"),__vite__mapDeps([30,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,31])).then(t=>({default:t.ChargesLedgerValidation}))),wut=N.lazy(()=>li(()=>import("./index-BVjC-aH8.js"),__vite__mapDeps([32,1,33,34,19,27,11])).then(t=>({default:t.Businesses}))),Nut=N.lazy(()=>li(()=>import("./business-D5G4XhGm.js"),__vite__mapDeps([35,36,34,37,21,22,38,33,9,10,11,12,13,6,14,15,16,17,18,19,20,39,40,41,42])).then(t=>({default:t.BusinessScreen}))),Cut=N.lazy(()=>li(()=>import("./index-Bhiq8TpB.js"),__vite__mapDeps([43,1,26,16,27,37,21,22,38,44,3,4,8,11])).then(t=>({default:t.BusinessLedgerRecordsSummery}))),xut=N.lazy(()=>li(()=>import("./business-ledger-single-D_eh-TKZ.js"),__vite__mapDeps([45,1,26,16,37,21,22,38,44,3,4,8])).then(t=>({default:t.BusinessLedgerRecordsSingle}))),Fut=N.lazy(()=>li(()=>import("./contracts-C7hLtoUV.js"),__vite__mapDeps([46,41,21,22,4,47,7])).then(t=>({default:t.ContractsScreen}))),_ut=N.lazy(()=>li(()=>import("./index-fKPbj_QU.js"),__vite__mapDeps([48,49,14,17,16,10,11,8,13,15,25,27])).then(t=>({default:t.BusinessTrips}))),Eut=N.lazy(()=>li(()=>import("./business-trip-LfIgR2mJ.js"),__vite__mapDeps([50,49,14,17,16,10,11,8,13,15,27])).then(t=>({default:t.BusinessTrip}))),But=N.lazy(()=>li(()=>import("./index-jPIJugRH.js"),__vite__mapDeps([51,1,27,3,4])).then(t=>({default:t.ChartPage}))),Tut=N.lazy(()=>li(()=>import("./index-B7aAVYVI.js"),__vite__mapDeps([52,1,27,3,4,53,40,5,6,7])).then(t=>({default:t.MonthlyIncomeExpenseChart}))),Dut=N.lazy(()=>li(()=>import("./index-CbAeaU5O.js"),__vite__mapDeps([54,1,26,16,55,3,27,4,8,5,6,7,56])).then(t=>({default:t.DocumentsReport}))),Iut=N.lazy(()=>li(()=>import("./issue-document-DtQ0jY3L.js"),__vite__mapDeps([57,27])).then(t=>({default:t.IssueDocumentScreen}))),Out=N.lazy(()=>li(()=>import("./index-GTPkjIlj.js"),__vite__mapDeps([58,47,7])).then(t=>({default:t.IssueDocuments}))),Rut=N.lazy(()=>li(()=>import("./index-CcTJDt3m.js"),__vite__mapDeps([59,1,27,3,4,8,38,37,21,22,11,16])).then(t=>({default:t.TrialBalanceReport}))),Put=N.lazy(()=>li(()=>import("./index-Hf0xrl2Z.js"),__vite__mapDeps([60,1,15,56,38,37,21,22,53,42,11,4,8])).then(t=>({default:t.ContoReport}))),Lut=N.lazy(()=>li(()=>import("./index-WGuJmgE0.js"),__vite__mapDeps([61,62,1,9,10,11,12,13,6,14,15,16,17,18,19,20,21,22,23,24,25,26,3,27,2,4,5,7,8])).then(t=>({default:t.VatMonthlyReport}))),gY=N.lazy(()=>li(()=>import("./index-DvaorAJa.js"),__vite__mapDeps([63,62,27,64,10,11,16,3,24,4])).then(t=>({default:t.ProfitAndLossReport}))),vY=N.lazy(()=>li(()=>import("./index-DqkTiflU.js"),__vite__mapDeps([65,62,27,64,10,11,16,3,24,4])).then(t=>({default:t.TaxReport}))),Uut=N.lazy(()=>li(()=>import("./index-4IzUhDwE.js"),__vite__mapDeps([66,1,27,4])).then(t=>({default:t.DepreciationReport}))),Mut=N.lazy(()=>li(()=>import("./index-DtU8k0Rs.js"),__vite__mapDeps([67,27,24])).then(t=>({default:t.AnnualRevenueReport}))),$ut=N.lazy(()=>li(()=>import("./index-CvyV_aE0.js"),__vite__mapDeps([68,4,34,22,36])).then(t=>({default:t.Shaam6111Report}))),jut=N.lazy(()=>li(()=>import("./index-Bqk3--Z7.js"),__vite__mapDeps([69,55,27,38,24])).then(t=>({default:t.YearlyLedgerReport}))),yY=N.lazy(()=>li(()=>import("./index-Dq_0OFpr.js"),__vite__mapDeps([70,62,27,3,24,4,16])).then(t=>({default:t.CorporateTaxRulingComplianceReport}))),Qut=N.lazy(()=>li(()=>import("./index-h0DqWebR.js"),__vite__mapDeps([71,1,27,39,12,13,6,14,15,40,3,4,8,5,7])).then(t=>({default:t.BalanceReport}))),Hut=N.lazy(()=>li(()=>import("./index-IBm4Ursh.js"),__vite__mapDeps([72,1,27,20,3,4])).then(t=>({default:t.ValidateReportsScreen}))),zut=N.lazy(()=>li(()=>import("./accountant-approvals-DiXPSXAn.js"),__vite__mapDeps([73,1,2,3,4,5,6,7,8,27,31])).then(t=>({default:t.AccountantApprovals}))),Vut=N.lazy(()=>li(()=>import("./index-DNnPw8Dq.js"),__vite__mapDeps([74,1,27,3,4,8])).then(t=>({default:t.Salaries}))),Gut=N.lazy(()=>li(()=>import("./index-DiytP5ES.js"),__vite__mapDeps([75,27,14])).then(t=>({default:t.TagsManager}))),qut=N.lazy(()=>li(()=>import("./index-D5uymx_b.js"),__vite__mapDeps([76,55,27,56])).then(t=>({default:t.TaxCategories}))),Kut=N.lazy(()=>li(()=>import("./index-DPk5MlBY.js"),__vite__mapDeps([77,55,27,56])).then(t=>({default:t.SortCodes}))),Wut=N.lazy(()=>li(()=>import("./index-bAy-i-WO.js"),__vite__mapDeps([78,18])).then(t=>({default:t.DepositsScreen}))),Yut=N.lazy(()=>li(()=>import("./page-not-found-CSjjMHtO.js"),[]).then(t=>({default:t.PageNotFound}))),Xut=N.lazy(()=>li(()=>import("./login-page-C_treqcL.js"),[]).then(t=>({default:t.LoginPage})));function ii(t,e){return y.jsx(N.Suspense,{fallback:e||y.jsx(I1e,{}),children:y.jsx(t,{})})}const Zut=[{path:"/",element:y.jsx(Aut,{}),errorElement:y.jsx(p$,{}),children:[{path:$n.LOGIN,loader:hut,element:ii(Xut),handle:{title:"Login"}},{path:"/",loader:mut,element:y.jsx(Jst,{}),errorElement:y.jsx(p$,{}),children:[{index:!0,element:ii(pY,y.jsx(gl,{})),handle:{title:"All Charges",breadcrumb:"Charges"}},{path:"charges",handle:{breadcrumb:"Charges"},children:[{index:!0,element:ii(pY,y.jsx(gl,{})),handle:{title:"All Charges"}},{path:"missing-info",element:ii(kut,y.jsx(gl,{})),handle:{title:"Missing Info Charges",breadcrumb:"Missing Info"}},{path:"ledger-validation",element:ii(Sut,y.jsx(gl,{})),handle:{title:"Ledger Validation",breadcrumb:"Ledger Validation"}},{path:":chargeId",loader:vut,element:ii(but),handle:{title:"Charge Details",breadcrumb:"Details"}}]},{path:"businesses",handle:{breadcrumb:"Businesses"},children:[{index:!0,element:ii(wut,y.jsx(gl,{})),handle:{title:"All Businesses"}},{path:"ledger",element:ii(Cut,y.jsx(gl,{})),handle:{title:"Business Ledger Records Summary",breadcrumb:"Ledger"}},{path:":businessId",loader:yut,element:ii(Nut),handle:{title:"Business Details",breadcrumb:"Details"}},{path:":businessId/ledger",element:ii(xut,y.jsx(gl,{})),handle:{title:"Business Ledger",breadcrumb:"Ledger"}},{path:"contracts",element:ii(Fut,y.jsx(gl,{})),handle:{title:"Clients Contracts",breadcrumb:"Contracts"}}]},{path:"business-trips",handle:{breadcrumb:"Business Trips"},children:[{index:!0,element:ii(_ut,y.jsx(gl,{})),handle:{title:"Business Trips"}},{path:":businessTripId",element:ii(Eut),handle:{title:"Business Trip Details",breadcrumb:"Details"}}]},{path:"charts",handle:{breadcrumb:"Charts"},children:[{index:!0,element:ii(But),handle:{title:"Charts"}},{path:"monthly-income-expense",element:ii(Tut),handle:{title:"Monthly Income/Expense",breadcrumb:"Income/Expense"}}]},{path:"documents",handle:{breadcrumb:"Documents"},children:[{index:!0,element:ii(Dut,y.jsx(gl,{})),handle:{title:"All Documents"}},{path:"issue-document",element:ii(Iut),handle:{title:"Issue Document",breadcrumb:"Issue Document"}},{path:"issue-documents",element:ii(Out),handle:{title:"Issue Documents",breadcrumb:"Issue Documents"}}]},{path:"reports",handle:{breadcrumb:"Reports"},children:[{path:"trial-balance",element:ii(Rut,y.jsx(Gs,{})),handle:{title:"Trial Balance Report",breadcrumb:"Trial Balance"}},{path:"conto",element:ii(Put,y.jsx(Gs,{})),handle:{title:"Conto Report",breadcrumb:"Conto"}},{path:"vat-monthly",element:ii(Lut,y.jsx(Gs,{})),handle:{title:"VAT Monthly Report",breadcrumb:"VAT Monthly"}},{path:"profit-and-loss",handle:{breadcrumb:"Profit & Loss"},children:[{index:!0,element:ii(gY,y.jsx(Gs,{})),handle:{title:"Profit & Loss Report"}},{path:":year",element:ii(gY,y.jsx(Gs,{})),handle:{title:"Profit & Loss Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"tax",handle:{breadcrumb:"Tax"},children:[{index:!0,element:ii(vY,y.jsx(Gs,{})),handle:{title:"Tax Report"}},{path:":year",element:ii(vY,y.jsx(Gs,{})),handle:{title:"Tax Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"depreciation",element:ii(Uut,y.jsx(Gs,{})),handle:{title:"Depreciation Report",breadcrumb:"Depreciation"}},{path:"annual-revenue",element:ii(Mut,y.jsx(Gs,{})),handle:{title:"Annual Revenue Report",breadcrumb:"Annual Revenue"}},{path:"shaam-6111",element:ii($ut,y.jsx(Gs,{})),handle:{title:"Shaam 6111 Report",breadcrumb:"Shaam 6111"}},{path:"yearly-ledger",element:ii(jut,y.jsx(Gs,{})),handle:{title:"Yearly Ledger Report",breadcrumb:"Yearly Ledger"}},{path:"corporate-tax-ruling-compliance",handle:{breadcrumb:"Tax Ruling"},children:[{index:!0,element:ii(yY,y.jsx(Gs,{})),handle:{title:"Corporate Tax Ruling Compliance Report"}},{path:":year",element:ii(yY,y.jsx(Gs,{})),handle:{title:"Corporate Tax Ruling Compliance Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"balance",element:ii(Qut,y.jsx(Gs,{})),handle:{title:"Balance Report",breadcrumb:"Balance"}},{path:"validate-reports",element:ii(Hut),handle:{title:"Validate Reports",breadcrumb:"Validate"}}]},{path:"bank-deposits",element:ii(Wut,y.jsx(gl,{})),handle:{title:"Bank Deposits",breadcrumb:"Bank Deposits"}},{path:"accountant-approvals",element:ii(zut,y.jsx(gl,{})),handle:{title:"Accountant Approvals",breadcrumb:"Accountant Approvals"}},{path:"salaries",element:ii(Vut,y.jsx(gl,{})),handle:{title:"Salaries",breadcrumb:"Salaries"}},{path:"tags",element:ii(Gut),handle:{title:"Tags",breadcrumb:"Tags"}},{path:"tax-categories",element:ii(qut),handle:{title:"Tax Categories",breadcrumb:"Tax Categories"}},{path:"sort-codes",element:ii(Kut),handle:{title:"Sort Codes",breadcrumb:"Sort Codes"}},{path:"*",element:ii(Yut),handle:{title:"Page Not Found"}}]}]}];var kY={},bY;function Jut(){if(bY)return kY;bY=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,p,g,b,k=a,S,C=h[f];switch(C&&typeof C=="object"&&typeof C.toJSON=="function"&&(C=C.toJSON(f)),typeof l=="function"&&(C=l.call(h,f,C)),typeof C){case"string":return c(C);case"number":return isFinite(C)?String(C):"null";case"bigint":case"boolean":case"null":return String(C);case"object":if(!C)return"null";if(a+=o,S=[],Object.prototype.toString.apply(C)==="[object Array]"){for(b=C.length,m=0;m<b;m+=1)S[m]=d(m,C)||"null";return g=S.length===0?"[]":a?`[
|
|
273
|
+
export default theme;`}function oY(t){return typeof t=="number"?`${(t*100).toFixed(0)}%`:`calc((${t}) * 100%)`}const sdt=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 ldt(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})`:bpe(e,sdt(n))},lighten(e,n){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${e}, #fff ${oY(n)})`:v_(e,n)},darken(e,n){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${e}, #000 ${oY(n)})`:g_(e,n)}})}function HO(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(jh(20));const f=zL({...a,colorSpace:c}),h=gpe(t);let m=Tl(h,{mixins:Wct(h.breakpoints,i),palette:f,shadows:edt.slice(),typography:Bpe(f,s),transitions:rdt(o),zIndex:{...adt}});return m=Tl(m,d),m=e.reduce((p,g)=>Tl(p,g),m),m.unstable_sxConfig={...Mb,...d?.unstable_sxConfig},m.unstable_sx=function(g){return $b({sx:g,theme:this})},m.toRuntimeSource=Tpe,ldt(m),m}function cdt(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 ddt=[...Array(25)].map((t,e)=>{if(e===0)return"none";const n=cdt(e);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Dpe(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function Ipe(t){return t==="dark"?ddt:[]}function udt(t){const{palette:e={mode:"light"},opacity:n,overlays:i,colorSpace:r,...a}=t,o=zL({...e,colorSpace:r});return{palette:o,opacity:{...Dpe(o.mode),...n},overlays:i||Ipe(o.mode),...a}}function fdt(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 Adt=t=>[...[...Array(25)].map((e,n)=>`--${t?`${t}-`:""}overlays-${n}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],mdt=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 Adt(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 hdt(t,e){e.forEach(n=>{t[n]||(t[n]={})})}function vt(t,e,n){!t[e]&&n&&(t[e]=n)}function jy(t){return typeof t!="string"||!t.startsWith("hsl")?t:kpe(t)}function gf(t,e){`${e}Channel`in t||(t[`${e}Channel`]=$y(jy(t[e])))}function pdt(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const eu=t=>{try{return t()}catch{}},gdt=(t="mui")=>Pct(t);function F4(t,e,n,i,r){if(!n)return;n=n===!0?{}:n;const a=r==="dark"?"dark":"light";if(!i){e[r]=udt({...n,palette:{mode:a,...n?.palette},colorSpace:t});return}const{palette:o,...s}=HO({...i,palette:{mode:a,...n?.palette},colorSpace:t});return e[r]={...n,palette:o,opacity:{...Dpe(a),...n?.opacity},overlays:n?.overlays||Ipe(a)},s}function vdt(t={},...e){const{colorSchemes:n={light:!0},defaultColorScheme:i,disableCssColorScheme:r=!1,cssVarPrefix:a="mui",nativeColor:o=!1,shouldSkipGeneratingVar:s=fdt,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=gdt(a),{[h]:p,light:g,dark:b,...k}=n,S={...k};let C=p;if((h==="dark"&&!("dark"in n)||h==="light"&&!("light"in n))&&(C=!0),!C)throw new Error(jh(21,h));let x;o&&(x="oklch");const F=F4(x,S,C,d,h);g&&!S.light&&F4(x,S,g,void 0,"light"),b&&!S.dark&&F4(x,S,b,void 0,"dark");let T={defaultColorScheme:h,...F,cssVarPrefix:a,colorSchemeSelector:l,rootSelector:c,getCssVar:m,colorSchemes:S,font:{...Kct(F.typography),...F.font},spacing:pdt(d.spacing)};Object.keys(T.colorSchemes).forEach(U=>{const P=T.colorSchemes[U].palette,Z=ae=>{const H=ae.split("-"),te=H[1],Y=H[2];return m(ae,P[te][Y])};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 q(ae,H,te){if(x){let Y;return ae===Zm&&(Y=`transparent ${((1-te)*100).toFixed(0)}%`),ae===ir&&(Y=`#000 ${(te*100).toFixed(0)}%`),ae===rr&&(Y=`#fff ${(te*100).toFixed(0)}%`),`color-mix(in ${x}, ${H}, ${Y})`}return ae(H,te)}if(hdt(P,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),P.mode==="light"){vt(P.Alert,"errorColor",q(ir,P.error.light,.6)),vt(P.Alert,"infoColor",q(ir,P.info.light,.6)),vt(P.Alert,"successColor",q(ir,P.success.light,.6)),vt(P.Alert,"warningColor",q(ir,P.warning.light,.6)),vt(P.Alert,"errorFilledBg",Z("palette-error-main")),vt(P.Alert,"infoFilledBg",Z("palette-info-main")),vt(P.Alert,"successFilledBg",Z("palette-success-main")),vt(P.Alert,"warningFilledBg",Z("palette-warning-main")),vt(P.Alert,"errorFilledColor",eu(()=>P.getContrastText(P.error.main))),vt(P.Alert,"infoFilledColor",eu(()=>P.getContrastText(P.info.main))),vt(P.Alert,"successFilledColor",eu(()=>P.getContrastText(P.success.main))),vt(P.Alert,"warningFilledColor",eu(()=>P.getContrastText(P.warning.main))),vt(P.Alert,"errorStandardBg",q(rr,P.error.light,.9)),vt(P.Alert,"infoStandardBg",q(rr,P.info.light,.9)),vt(P.Alert,"successStandardBg",q(rr,P.success.light,.9)),vt(P.Alert,"warningStandardBg",q(rr,P.warning.light,.9)),vt(P.Alert,"errorIconColor",Z("palette-error-main")),vt(P.Alert,"infoIconColor",Z("palette-info-main")),vt(P.Alert,"successIconColor",Z("palette-success-main")),vt(P.Alert,"warningIconColor",Z("palette-warning-main")),vt(P.AppBar,"defaultBg",Z("palette-grey-100")),vt(P.Avatar,"defaultBg",Z("palette-grey-400")),vt(P.Button,"inheritContainedBg",Z("palette-grey-300")),vt(P.Button,"inheritContainedHoverBg",Z("palette-grey-A100")),vt(P.Chip,"defaultBorder",Z("palette-grey-400")),vt(P.Chip,"defaultAvatarColor",Z("palette-grey-700")),vt(P.Chip,"defaultIconColor",Z("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",q(rr,P.primary.main,.62)),vt(P.LinearProgress,"secondaryBg",q(rr,P.secondary.main,.62)),vt(P.LinearProgress,"errorBg",q(rr,P.error.main,.62)),vt(P.LinearProgress,"infoBg",q(rr,P.info.main,.62)),vt(P.LinearProgress,"successBg",q(rr,P.success.main,.62)),vt(P.LinearProgress,"warningBg",q(rr,P.warning.main,.62)),vt(P.Skeleton,"bg",x?q(Zm,P.text.primary,.11):`rgba(${Z("palette-text-primaryChannel")} / 0.11)`),vt(P.Slider,"primaryTrack",q(rr,P.primary.main,.62)),vt(P.Slider,"secondaryTrack",q(rr,P.secondary.main,.62)),vt(P.Slider,"errorTrack",q(rr,P.error.main,.62)),vt(P.Slider,"infoTrack",q(rr,P.info.main,.62)),vt(P.Slider,"successTrack",q(rr,P.success.main,.62)),vt(P.Slider,"warningTrack",q(rr,P.warning.main,.62));const ae=x?q(ir,P.background.default,.6825):kw(P.background.default,.8);vt(P.SnackbarContent,"bg",ae),vt(P.SnackbarContent,"color",eu(()=>x?QO.text.primary:P.getContrastText(ae))),vt(P.SpeedDialAction,"fabHoverBg",kw(P.background.paper,.15)),vt(P.StepConnector,"border",Z("palette-grey-400")),vt(P.StepContent,"border",Z("palette-grey-400")),vt(P.Switch,"defaultColor",Z("palette-common-white")),vt(P.Switch,"defaultDisabledColor",Z("palette-grey-100")),vt(P.Switch,"primaryDisabledColor",q(rr,P.primary.main,.62)),vt(P.Switch,"secondaryDisabledColor",q(rr,P.secondary.main,.62)),vt(P.Switch,"errorDisabledColor",q(rr,P.error.main,.62)),vt(P.Switch,"infoDisabledColor",q(rr,P.info.main,.62)),vt(P.Switch,"successDisabledColor",q(rr,P.success.main,.62)),vt(P.Switch,"warningDisabledColor",q(rr,P.warning.main,.62)),vt(P.TableCell,"border",q(rr,q(Zm,P.divider,1),.88)),vt(P.Tooltip,"bg",q(Zm,P.grey[700],.92))}if(P.mode==="dark"){vt(P.Alert,"errorColor",q(rr,P.error.light,.6)),vt(P.Alert,"infoColor",q(rr,P.info.light,.6)),vt(P.Alert,"successColor",q(rr,P.success.light,.6)),vt(P.Alert,"warningColor",q(rr,P.warning.light,.6)),vt(P.Alert,"errorFilledBg",Z("palette-error-dark")),vt(P.Alert,"infoFilledBg",Z("palette-info-dark")),vt(P.Alert,"successFilledBg",Z("palette-success-dark")),vt(P.Alert,"warningFilledBg",Z("palette-warning-dark")),vt(P.Alert,"errorFilledColor",eu(()=>P.getContrastText(P.error.dark))),vt(P.Alert,"infoFilledColor",eu(()=>P.getContrastText(P.info.dark))),vt(P.Alert,"successFilledColor",eu(()=>P.getContrastText(P.success.dark))),vt(P.Alert,"warningFilledColor",eu(()=>P.getContrastText(P.warning.dark))),vt(P.Alert,"errorStandardBg",q(ir,P.error.light,.9)),vt(P.Alert,"infoStandardBg",q(ir,P.info.light,.9)),vt(P.Alert,"successStandardBg",q(ir,P.success.light,.9)),vt(P.Alert,"warningStandardBg",q(ir,P.warning.light,.9)),vt(P.Alert,"errorIconColor",Z("palette-error-main")),vt(P.Alert,"infoIconColor",Z("palette-info-main")),vt(P.Alert,"successIconColor",Z("palette-success-main")),vt(P.Alert,"warningIconColor",Z("palette-warning-main")),vt(P.AppBar,"defaultBg",Z("palette-grey-900")),vt(P.AppBar,"darkBg",Z("palette-background-paper")),vt(P.AppBar,"darkColor",Z("palette-text-primary")),vt(P.Avatar,"defaultBg",Z("palette-grey-600")),vt(P.Button,"inheritContainedBg",Z("palette-grey-800")),vt(P.Button,"inheritContainedHoverBg",Z("palette-grey-700")),vt(P.Chip,"defaultBorder",Z("palette-grey-700")),vt(P.Chip,"defaultAvatarColor",Z("palette-grey-300")),vt(P.Chip,"defaultIconColor",Z("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",q(ir,P.primary.main,.5)),vt(P.LinearProgress,"secondaryBg",q(ir,P.secondary.main,.5)),vt(P.LinearProgress,"errorBg",q(ir,P.error.main,.5)),vt(P.LinearProgress,"infoBg",q(ir,P.info.main,.5)),vt(P.LinearProgress,"successBg",q(ir,P.success.main,.5)),vt(P.LinearProgress,"warningBg",q(ir,P.warning.main,.5)),vt(P.Skeleton,"bg",x?q(Zm,P.text.primary,.13):`rgba(${Z("palette-text-primaryChannel")} / 0.13)`),vt(P.Slider,"primaryTrack",q(ir,P.primary.main,.5)),vt(P.Slider,"secondaryTrack",q(ir,P.secondary.main,.5)),vt(P.Slider,"errorTrack",q(ir,P.error.main,.5)),vt(P.Slider,"infoTrack",q(ir,P.info.main,.5)),vt(P.Slider,"successTrack",q(ir,P.success.main,.5)),vt(P.Slider,"warningTrack",q(ir,P.warning.main,.5));const ae=x?q(rr,P.background.default,.985):kw(P.background.default,.98);vt(P.SnackbarContent,"bg",ae),vt(P.SnackbarContent,"color",eu(()=>x?_pe.text.primary:P.getContrastText(ae))),vt(P.SpeedDialAction,"fabHoverBg",kw(P.background.paper,.15)),vt(P.StepConnector,"border",Z("palette-grey-600")),vt(P.StepContent,"border",Z("palette-grey-600")),vt(P.Switch,"defaultColor",Z("palette-grey-300")),vt(P.Switch,"defaultDisabledColor",Z("palette-grey-600")),vt(P.Switch,"primaryDisabledColor",q(ir,P.primary.main,.55)),vt(P.Switch,"secondaryDisabledColor",q(ir,P.secondary.main,.55)),vt(P.Switch,"errorDisabledColor",q(ir,P.error.main,.55)),vt(P.Switch,"infoDisabledColor",q(ir,P.info.main,.55)),vt(P.Switch,"successDisabledColor",q(ir,P.success.main,.55)),vt(P.Switch,"warningDisabledColor",q(ir,P.warning.main,.55)),vt(P.TableCell,"border",q(ir,q(Zm,P.divider,1),.68)),vt(P.Tooltip,"bg",q(Zm,P.grey[700],.92))}gf(P.background,"default"),gf(P.background,"paper"),gf(P.common,"background"),gf(P.common,"onBackground"),gf(P,"divider"),Object.keys(P).forEach(ae=>{const H=P[ae];ae!=="tonalOffset"&&H&&typeof H=="object"&&(H.main&&vt(P[ae],"mainChannel",$y(jy(H.main))),H.light&&vt(P[ae],"lightChannel",$y(jy(H.light))),H.dark&&vt(P[ae],"darkChannel",$y(jy(H.dark))),H.contrastText&&vt(P[ae],"contrastTextChannel",$y(jy(H.contrastText))),ae==="text"&&(gf(P[ae],"primary"),gf(P[ae],"secondary")),ae==="action"&&(H.active&&gf(P[ae],"active"),H.selected&&gf(P[ae],"selected")))})}),T=e.reduce((U,P)=>Tl(U,P),T);const E={prefix:a,disableCssColorScheme:r,shouldSkipGeneratingVar:s,getSelector:mdt(T),enableContrastVars:o},{vars:I,generateThemeVars:R,generateStyleSheets:V}=Mct(T,E);return T.vars=I,Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([U,P])=>{T[U]=P}),T.generateThemeVars=R,T.generateStyleSheets=V,T.generateSpacing=function(){return ppe(d.spacing,LL(this))},T.getColorSchemeSelector=$ct(l),T.spacing=T.generateSpacing(),T.shouldSkipGeneratingVar=s,T.unstable_sxConfig={...Mb,...d?.unstable_sxConfig},T.unstable_sx=function(P){return $b({sx:P,theme:this})},T.toRuntimeSource=Tpe,T}function sY(t,e,n){t.colorSchemes&&n&&(t.colorSchemes[e]={...n!==!0&&n,palette:zL({...n===!0?{}:n.palette,mode:e})})}function VL(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 HO(t,...e);let d=n;"palette"in t||c[s]&&(c[s]!==!0?d=c[s].palette:s==="dark"&&(d={mode:"dark"}));const f=HO({...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},sY(f,"dark",c.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:f.palette},sY(f,"light",c.light)),f}return!n&&!("light"in c)&&s==="light"&&(c.light=!0),vdt({...o,colorSchemes:c,defaultColorScheme:s,...typeof i!="boolean"&&i},...e)}const ydt=VL();function kdt({theme:t,...e}){const n=bh in t?t[bh]:void 0;return y.jsx(Cpe,{...e,themeId:n?bh:void 0,theme:n||t})}const bw={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:bdt}=Rct({themeId:bh,theme:()=>VL({cssVariables:!0}),colorSchemeStorageKey:bw.colorSchemeStorageKey,modeStorageKey:bw.modeStorageKey,defaultColorScheme:{light:bw.defaultLightColorScheme,dark:bw.defaultDarkColorScheme},resolveTheme:t=>{const e={...t,typography:Bpe(t.palette,t.typography)};return e.unstable_sx=function(i){return $b({sx:i,theme:this})},e}}),Sdt=bdt;function wdt({theme:t,...e}){const n=N.useMemo(()=>{if(typeof t=="function")return t;const i=bh in t?t[bh]:t;return"colorSchemes"in i?null:"vars"in i?t:{...t,vars:null}},[t]);return n?y.jsx(kdt,{theme:n,...e}):y.jsx(Sdt,{theme:t,...e})}function Ndt(t){return y.jsx(vpe,{...t,defaultTheme:ydt,themeId:bh})}function Ope(t){return function(n){return y.jsx(Ndt,{styles:typeof t=="function"?i=>t({theme:i,...n}):t})}}function pgt(){return dct}function Cdt(t){return wct(t)}const zO=typeof Ope({})=="function",xdt=(t,e)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...e&&!t.vars&&{colorScheme:t.palette.mode}}),Fdt=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}}),Rpe=(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:xdt(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:{margin:0,...Fdt(t),"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}},...n};const r=t.components?.MuiCssBaseline?.styleOverrides;return r&&(i=[i,r]),i},oN="mui-ecs",_dt=t=>{const e=Rpe(t,!1),n=Array.isArray(e)?e[0]:e;return!t.vars&&n&&(n.html[`:root:has(${oN})`]={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(.${oN}))`]:{colorScheme:r.palette?.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${oN}))`]:{colorScheme:r.palette?.mode}}}),e},Edt=Ope(zO?({theme:t,enableColorScheme:e})=>Rpe(t,e):({theme:t})=>_dt(t));function Bdt(t){const e=Cdt({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:i=!1}=e;return y.jsxs(N.Fragment,{children:[zO&&y.jsx(Edt,{enableColorScheme:i}),!zO&&!i&&y.jsx("span",{className:oN,style:{display:"none"}}),n]})}var y_=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(){}},Tdt={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},Ddt=class{#e=Tdt;#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)}},VO=new Ddt;function Idt(t){setTimeout(t,0)}var k_=typeof window>"u"||"Deno"in globalThis;function nd(){}function Odt(t,e){return typeof t=="function"?t(e):t}function Rdt(t){return typeof t=="number"&&t>=0&&t!==1/0}function Pdt(t,e){return Math.max(t+(e||0)-Date.now(),0)}function GO(t,e){return typeof t=="function"?t(e):t}function Ldt(t,e){return typeof t=="function"?t(e):t}function lY(t,e){const{type:n="all",exact:i,fetchStatus:r,predicate:a,queryKey:o,stale:s}=t;if(o){if(i){if(e.queryHash!==GL(o,e.options))return!1}else if(!Ok(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 cY(t,e){const{exact:n,status:i,predicate:r,mutationKey:a}=t;if(a){if(!e.options.mutationKey)return!1;if(n){if(Ik(e.options.mutationKey)!==Ik(a))return!1}else if(!Ok(e.options.mutationKey,a))return!1}return!(i&&e.state.status!==i||r&&!r(e))}function GL(t,e){return(e?.queryKeyHashFn||Ik)(t)}function Ik(t){return JSON.stringify(t,(e,n)=>qO(n)?Object.keys(n).sort().reduce((i,r)=>(i[r]=n[r],i),{}):n)}function Ok(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>Ok(t[n],e[n])):!1}var Udt=Object.prototype.hasOwnProperty;function Ppe(t,e){if(t===e)return t;const n=dY(t)&&dY(e);if(!n&&!(qO(t)&&qO(e)))return e;const r=(n?t:Object.keys(t)).length,a=n?e:Object.keys(e),o=a.length,s=n?new Array(o):{};let l=0;for(let c=0;c<o;c++){const d=n?c:a[c],f=t[d],h=e[d];if(f===h){s[d]=f,(n?c<r:Udt.call(t,d))&&l++;continue}if(f===null||h===null||typeof f!="object"||typeof h!="object"){s[d]=h;continue}const m=Ppe(f,h);s[d]=m,m===f&&l++}return r===o&&l===r?t:s}function dY(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function qO(t){if(!uY(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!uY(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function uY(t){return Object.prototype.toString.call(t)==="[object Object]"}function Mdt(t){return new Promise(e=>{VO.setTimeout(e,t)})}function $dt(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?Ppe(t,e):e}function jdt(t,e,n=0){const i=[...t,e];return n&&i.length>n?i.slice(1):i}function Qdt(t,e,n=0){const i=[e,...t];return n&&i.length>n?i.slice(0,-1):i}var qL=Symbol();function Lpe(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===qL?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var Hdt=class extends y_{#e;#t;#n;constructor(){super(),this.#n=t=>{if(!k_&&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"}},Upe=new Hdt;function zdt(){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 Vdt=Idt;function Gdt(){let t=[],e=0,n=s=>{s()},i=s=>{s()},r=Vdt;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 vs=Gdt(),qdt=class extends y_{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(!k_&&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}},Kx=new qdt;function Kdt(t){return Math.min(1e3*2**t,3e4)}function Mpe(t){return(t??"online")==="online"?Kx.isOnline():!0}var KO=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function $pe(t){let e=!1,n=0,i;const r=zdt(),a=()=>r.status!=="pending",o=g=>{if(!a()){const b=new KO(g);h(b),t.onCancel?.(b)}},s=()=>{e=!0},l=()=>{e=!1},c=()=>Upe.isFocused()&&(t.networkMode==="always"||Kx.isOnline())&&t.canRun(),d=()=>Mpe(t.networkMode)&&t.canRun(),f=g=>{a()||(i?.(),r.resolve(g))},h=g=>{a()||(i?.(),r.reject(g))},m=()=>new Promise(g=>{i=b=>{(a()||c())&&g(b)},t.onPause?.()}).then(()=>{i=void 0,a()||t.onContinue?.()}),p=()=>{if(a())return;let g;const b=n===0?t.initialPromise:void 0;try{g=b??t.fn()}catch(k){g=Promise.reject(k)}Promise.resolve(g).then(f).catch(k=>{if(a())return;const S=t.retry??(k_?0:3),C=t.retryDelay??Kdt,x=typeof C=="function"?C(n,k):C,F=S===!0||typeof S=="number"&&n<S||typeof S=="function"&&S(n,k);if(e||!F){h(k);return}n++,t.onFail?.(n,k),Mdt(x).then(()=>c()?void 0:m()).then(()=>{e?h(k):p()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(i?.(),r),cancelRetry:s,continueRetry:l,canStart:d,start:()=>(d()?p():m().then(p),r)}}var jpe=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Rdt(this.gcTime)&&(this.#e=VO.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(k_?1/0:300*1e3))}clearGcTimeout(){this.#e&&(VO.clearTimeout(this.#e),this.#e=void 0)}},Wdt=class extends jpe{#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=AY(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=AY(this.options);e.data!==void 0&&(this.setState(fY(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,e){const n=$dt(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(nd).catch(nd):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>Ldt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===qL||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>GO(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:!Pdt(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=Lpe(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=$pe({initialPromise:e?.initialPromise,fn:o.fetchFn,onCancel:s=>{s instanceof KO&&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 KO){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,...Ydt(n.data,this.options),fetchMeta:t.meta??null};case"success":const i={...n,...fY(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"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=e(this.state),vs.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function Ydt(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Mpe(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function fY(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function AY(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 mY(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=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(e.signal.aborted?d=!0:e.signal.addEventListener("abort",()=>{d=!0}),e.signal)})},h=Lpe(e.options,e.fetchOptions),m=async(p,g,b)=>{if(d)return Promise.reject();if(g==null&&p.pages.length)return Promise.resolve(p);const S=(()=>{const T={client:e.client,queryKey:e.queryKey,pageParam:g,direction:b?"backward":"forward",meta:e.options.meta};return f(T),T})(),C=await h(S),{maxPages:x}=e.options,F=b?Qdt:jdt;return{pages:F(p.pages,C,x),pageParams:F(p.pageParams,g,x)}};if(r&&a.length){const p=r==="backward",g=p?Xdt:hY,b={pages:a,pageParams:o},k=g(i,b);s=await m(b,k,p)}else{const p=t??a.length;do{const g=l===0?o[0]??i.initialPageParam:hY(i,s);if(l>0&&g==null)break;s=await m(s,g),l++}while(l<p)}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 hY(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 Xdt(t,{pages:e,pageParams:n}){return e.length>0?t.getPreviousPageParam?.(e[0],e,n[0],n):void 0}var Zdt=class extends jpe{#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||Jdt(),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=$pe({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}),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{throw await this.#n.config.onError?.(a,t,this.state.context,this,n),await this.options.onError?.(a,t,this.state.context,n),await this.#n.config.onSettled?.(void 0,a,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,a,t,this.state.context,n),a}finally{this.#r({type:"error",error: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),vs.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function Jdt(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var eut=class extends y_{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 Zdt({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=Sw(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=Sw(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=Sw(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=Sw(t);return typeof e=="string"?this.#t.get(e)?.find(i=>i!==t&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){vs.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=>cY(e,n))}findAll(t={}){return this.getAll().filter(e=>cY(t,e))}notify(t){vs.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return vs.batch(()=>Promise.all(t.map(e=>e.continue().catch(nd))))}};function Sw(t){return t.options.scope?.id}var tut=class extends y_{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,e,n){const i=e.queryKey,r=e.queryHash??GL(i,e);let a=this.get(r);return a||(a=new Wdt({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(){vs.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=>lY(e,n))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(n=>lY(t,n)):e}notify(t){vs.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){vs.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){vs.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},nut=class{#e;#t;#n;#i;#r;#o;#a;#s;constructor(t={}){this.#e=t.queryCache||new tut,this.#t=t.mutationCache||new eut,this.#n=t.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=Upe.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=Kx.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(GO(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=Odt(e,a);if(o!==void 0)return this.#e.build(this,i).setData(o,{...n,manual:!0})}setQueriesData(t,e,n){return vs.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;vs.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=this.#e;return vs.batch(()=>(n.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},i=vs.batch(()=>this.#e.findAll(t).map(r=>r.cancel(n)));return Promise.all(i).then(nd).catch(nd)}invalidateQueries(t,e={}){return vs.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=vs.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(nd)),r.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(i).then(nd)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=this.#e.build(this,e);return n.isStaleByTime(GO(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(nd).catch(nd)}fetchInfiniteQuery(t){return t.behavior=mY(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(nd).catch(nd)}ensureInfiniteQueryData(t){return t.behavior=mY(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Kx.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(Ik(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#i.values()],n={};return e.forEach(i=>{Ok(t,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(t,e){this.#r.set(Ik(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#r.values()],n={};return e.forEach(i=>{Ok(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=GL(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===qL&&(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()}},iut=N.createContext(void 0),rut=({client:t,children:e})=>(N.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),y.jsx(iut.Provider,{value:t,children:e}));function aut(){const t=KY();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]),y.jsx("div",{style:{display:"none"}})}var out=(t,e,n,i,r,a,o,s)=>{let l=document.documentElement,c=["light","dark"];function d(m){(Array.isArray(t)?t:[t]).forEach(p=>{let g=p==="class",b=g&&a?r.map(k=>a[k]||k):r;g?(l.classList.remove(...b),l.classList.add(a&&a[m]?a[m]:m)):l.setAttribute(p,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,p=o&&m==="system"?h():m;d(p)}catch{}},sut=N.createContext(void 0),lut={setTheme:t=>{},themes:[]},cut=()=>{var t;return(t=N.useContext(sut))!=null?t:lut};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:`(${out.toString()})(${d})`}})});const dut=({...t})=>{const{theme:e="system"}=cut();return y.jsx(KBe,{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})},uut=new nut({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}}),fut=VL({palette:{primary:{main:"#556cd6"},secondary:{main:"#19857b"},error:{main:th.A400}}});function Aut(){return y.jsx(vte,{withGlobalStyles:!0,theme:{fontFamily:"Roboto, sans-serif",fontSizes:{md:"14"}},children:y.jsxs(wdt,{theme:fut,children:[y.jsx(Bdt,{}),y.jsxs(bBe,{children:[y.jsx(dut,{}),y.jsx(WBe,{children:y.jsx(rut,{client:uut,children:y.jsxs(hst,{children:[y.jsx(aut,{}),y.jsx(dpe,{}),y.jsx(XY,{})]})})})]})]})})}function mut(){if(!new Yk().isLoggedIn())throw IY($n.LOGIN);return null}function hut(){if(new Yk().isLoggedIn())throw IY($n.HOME);return null}let ww=null;function Qpe(){if(ww)return ww;const t=new Yk;let e;return e="https://accounter.onrender.com/graphql",ww=eZ({url:e,exchanges:[JX({onResult(n){Oee(n)}}),Iee(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()}})),ZX]}),ww}function put(t){if(!t.chargeId)throw new Response("Charge ID is required",{status:400});return{chargeId:t.chargeId}}function gut(t){if(!t.businessId)throw new Response("Business ID is required",{status:400});return{businessId:t.businessId}}async function vut({params:t}){const{chargeId:e}=put(t),i=await Qpe().query(ZNe,{chargeId:e}).toPromise();if(!i.data?.charge)throw new Response("Charge not found",{status:404});return i.data}async function yut({params:t}){const{businessId:e}=gut(t),i=await Qpe().query(XNe,{businessId:e}).toPromise();if(!i.data?.business)throw new Response("Business not found",{status:404});return i.data}const pY=N.lazy(()=>li(()=>import("./all-charges-Dr5ENWsA.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,24,25,26,27])).then(t=>({default:t.AllCharges}))),kut=N.lazy(()=>li(()=>import("./missing-info-charges-Bwf7omxm.js"),__vite__mapDeps([28,1,9,10,11,12,13,6,14,15,16,17,18,19,20,21,22,23,24,25,26,3,27])).then(t=>({default:t.MissingInfoCharges}))),but=N.lazy(()=>li(()=>import("./charge-brgEK80_.js"),__vite__mapDeps([29,9,10,11,12,13,6,14,15,16,17,18,19,20,21,22,23,24,25,26,3])).then(t=>({default:t.Charge}))),Sut=N.lazy(()=>li(()=>import("./charges-ledger-validation-DARq0FQ9.js"),__vite__mapDeps([30,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,31])).then(t=>({default:t.ChargesLedgerValidation}))),wut=N.lazy(()=>li(()=>import("./index-D_vzTErc.js"),__vite__mapDeps([32,1,33,34,19,27,11])).then(t=>({default:t.Businesses}))),Nut=N.lazy(()=>li(()=>import("./business-BNjTqAdV.js"),__vite__mapDeps([35,36,34,37,21,22,38,33,9,10,11,12,13,6,14,15,16,17,18,19,20,39,40,41,42])).then(t=>({default:t.BusinessScreen}))),Cut=N.lazy(()=>li(()=>import("./index-BAoLlxx-.js"),__vite__mapDeps([43,1,26,16,27,37,21,22,38,44,3,4,8,11])).then(t=>({default:t.BusinessLedgerRecordsSummery}))),xut=N.lazy(()=>li(()=>import("./business-ledger-single-DgE_Gz6G.js"),__vite__mapDeps([45,1,26,16,37,21,22,38,44,3,4,8])).then(t=>({default:t.BusinessLedgerRecordsSingle}))),Fut=N.lazy(()=>li(()=>import("./contracts-Uw0FxogT.js"),__vite__mapDeps([46,41,21,22,4,47,7])).then(t=>({default:t.ContractsScreen}))),_ut=N.lazy(()=>li(()=>import("./index-B6hWLgRv.js"),__vite__mapDeps([48,49,14,17,16,10,11,8,13,15,25,27])).then(t=>({default:t.BusinessTrips}))),Eut=N.lazy(()=>li(()=>import("./business-trip-DC_U8fKL.js"),__vite__mapDeps([50,49,14,17,16,10,11,8,13,15,27])).then(t=>({default:t.BusinessTrip}))),But=N.lazy(()=>li(()=>import("./index-CcYbbiSx.js"),__vite__mapDeps([51,1,27,3,4])).then(t=>({default:t.ChartPage}))),Tut=N.lazy(()=>li(()=>import("./index-DxFmpIW1.js"),__vite__mapDeps([52,1,27,3,4,53,40,5,6,7])).then(t=>({default:t.MonthlyIncomeExpenseChart}))),Dut=N.lazy(()=>li(()=>import("./index-0eu2RufD.js"),__vite__mapDeps([54,1,26,16,55,3,27,4,8,5,6,7,56])).then(t=>({default:t.DocumentsReport}))),Iut=N.lazy(()=>li(()=>import("./issue-document-ip_Q-seA.js"),__vite__mapDeps([57,27])).then(t=>({default:t.IssueDocumentScreen}))),Out=N.lazy(()=>li(()=>import("./index-DXKrFDoH.js"),__vite__mapDeps([58,47,7])).then(t=>({default:t.IssueDocuments}))),Rut=N.lazy(()=>li(()=>import("./index-DjzOp5r8.js"),__vite__mapDeps([59,1,27,3,4,8,38,37,21,22,11,16])).then(t=>({default:t.TrialBalanceReport}))),Put=N.lazy(()=>li(()=>import("./index-CuIkpudE.js"),__vite__mapDeps([60,1,15,56,38,37,21,22,53,42,11,4,8])).then(t=>({default:t.ContoReport}))),Lut=N.lazy(()=>li(()=>import("./index-DozMwbqc.js"),__vite__mapDeps([61,62,1,9,10,11,12,13,6,14,15,16,17,18,19,20,21,22,23,24,25,26,3,27,2,4,5,7,8])).then(t=>({default:t.VatMonthlyReport}))),gY=N.lazy(()=>li(()=>import("./index-z8wVx2GV.js"),__vite__mapDeps([63,62,27,64,10,11,16,3,24,4])).then(t=>({default:t.ProfitAndLossReport}))),vY=N.lazy(()=>li(()=>import("./index-CPb6w231.js"),__vite__mapDeps([65,62,27,64,10,11,16,3,24,4])).then(t=>({default:t.TaxReport}))),Uut=N.lazy(()=>li(()=>import("./index-Ci_63rqL.js"),__vite__mapDeps([66,1,27,4])).then(t=>({default:t.DepreciationReport}))),Mut=N.lazy(()=>li(()=>import("./index-9y3dmHUs.js"),__vite__mapDeps([67,27,24])).then(t=>({default:t.AnnualRevenueReport}))),$ut=N.lazy(()=>li(()=>import("./index-CiBC6pG4.js"),__vite__mapDeps([68,4,34,22,36])).then(t=>({default:t.Shaam6111Report}))),jut=N.lazy(()=>li(()=>import("./index-CAQRBv-8.js"),__vite__mapDeps([69,55,27,38,24])).then(t=>({default:t.YearlyLedgerReport}))),yY=N.lazy(()=>li(()=>import("./index-Bi2KBXq2.js"),__vite__mapDeps([70,62,27,3,24,4,16])).then(t=>({default:t.CorporateTaxRulingComplianceReport}))),Qut=N.lazy(()=>li(()=>import("./index-DLkagn4q.js"),__vite__mapDeps([71,1,27,39,12,13,6,14,15,40,3,4,8,5,7])).then(t=>({default:t.BalanceReport}))),Hut=N.lazy(()=>li(()=>import("./index-COvMBd3L.js"),__vite__mapDeps([72,1,27,20,3,4])).then(t=>({default:t.ValidateReportsScreen}))),zut=N.lazy(()=>li(()=>import("./accountant-approvals-cklwgO8W.js"),__vite__mapDeps([73,1,2,3,4,5,6,7,8,27,31])).then(t=>({default:t.AccountantApprovals}))),Vut=N.lazy(()=>li(()=>import("./index-6Xf_ASUd.js"),__vite__mapDeps([74,1,27,3,4,8])).then(t=>({default:t.Salaries}))),Gut=N.lazy(()=>li(()=>import("./index--QeVf9cD.js"),__vite__mapDeps([75,27,14])).then(t=>({default:t.TagsManager}))),qut=N.lazy(()=>li(()=>import("./index-B_5x9bjJ.js"),__vite__mapDeps([76,55,27,56])).then(t=>({default:t.TaxCategories}))),Kut=N.lazy(()=>li(()=>import("./index-fj8vFlT4.js"),__vite__mapDeps([77,55,27,56])).then(t=>({default:t.SortCodes}))),Wut=N.lazy(()=>li(()=>import("./index-bc3kZO9W.js"),__vite__mapDeps([78,18])).then(t=>({default:t.DepositsScreen}))),Yut=N.lazy(()=>li(()=>import("./page-not-found-CeekW98t.js"),[]).then(t=>({default:t.PageNotFound}))),Xut=N.lazy(()=>li(()=>import("./login-page-B596WAvC.js"),[]).then(t=>({default:t.LoginPage})));function ii(t,e){return y.jsx(N.Suspense,{fallback:e||y.jsx(I1e,{}),children:y.jsx(t,{})})}const Zut=[{path:"/",element:y.jsx(Aut,{}),errorElement:y.jsx(p$,{}),children:[{path:$n.LOGIN,loader:hut,element:ii(Xut),handle:{title:"Login"}},{path:"/",loader:mut,element:y.jsx(Jst,{}),errorElement:y.jsx(p$,{}),children:[{index:!0,element:ii(pY,y.jsx(gl,{})),handle:{title:"All Charges",breadcrumb:"Charges"}},{path:"charges",handle:{breadcrumb:"Charges"},children:[{index:!0,element:ii(pY,y.jsx(gl,{})),handle:{title:"All Charges"}},{path:"missing-info",element:ii(kut,y.jsx(gl,{})),handle:{title:"Missing Info Charges",breadcrumb:"Missing Info"}},{path:"ledger-validation",element:ii(Sut,y.jsx(gl,{})),handle:{title:"Ledger Validation",breadcrumb:"Ledger Validation"}},{path:":chargeId",loader:vut,element:ii(but),handle:{title:"Charge Details",breadcrumb:"Details"}}]},{path:"businesses",handle:{breadcrumb:"Businesses"},children:[{index:!0,element:ii(wut,y.jsx(gl,{})),handle:{title:"All Businesses"}},{path:"ledger",element:ii(Cut,y.jsx(gl,{})),handle:{title:"Business Ledger Records Summary",breadcrumb:"Ledger"}},{path:":businessId",loader:yut,element:ii(Nut),handle:{title:"Business Details",breadcrumb:"Details"}},{path:":businessId/ledger",element:ii(xut,y.jsx(gl,{})),handle:{title:"Business Ledger",breadcrumb:"Ledger"}},{path:"contracts",element:ii(Fut,y.jsx(gl,{})),handle:{title:"Clients Contracts",breadcrumb:"Contracts"}}]},{path:"business-trips",handle:{breadcrumb:"Business Trips"},children:[{index:!0,element:ii(_ut,y.jsx(gl,{})),handle:{title:"Business Trips"}},{path:":businessTripId",element:ii(Eut),handle:{title:"Business Trip Details",breadcrumb:"Details"}}]},{path:"charts",handle:{breadcrumb:"Charts"},children:[{index:!0,element:ii(But),handle:{title:"Charts"}},{path:"monthly-income-expense",element:ii(Tut),handle:{title:"Monthly Income/Expense",breadcrumb:"Income/Expense"}}]},{path:"documents",handle:{breadcrumb:"Documents"},children:[{index:!0,element:ii(Dut,y.jsx(gl,{})),handle:{title:"All Documents"}},{path:"issue-document",element:ii(Iut),handle:{title:"Issue Document",breadcrumb:"Issue Document"}},{path:"issue-documents",element:ii(Out),handle:{title:"Issue Documents",breadcrumb:"Issue Documents"}}]},{path:"reports",handle:{breadcrumb:"Reports"},children:[{path:"trial-balance",element:ii(Rut,y.jsx(Gs,{})),handle:{title:"Trial Balance Report",breadcrumb:"Trial Balance"}},{path:"conto",element:ii(Put,y.jsx(Gs,{})),handle:{title:"Conto Report",breadcrumb:"Conto"}},{path:"vat-monthly",element:ii(Lut,y.jsx(Gs,{})),handle:{title:"VAT Monthly Report",breadcrumb:"VAT Monthly"}},{path:"profit-and-loss",handle:{breadcrumb:"Profit & Loss"},children:[{index:!0,element:ii(gY,y.jsx(Gs,{})),handle:{title:"Profit & Loss Report"}},{path:":year",element:ii(gY,y.jsx(Gs,{})),handle:{title:"Profit & Loss Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"tax",handle:{breadcrumb:"Tax"},children:[{index:!0,element:ii(vY,y.jsx(Gs,{})),handle:{title:"Tax Report"}},{path:":year",element:ii(vY,y.jsx(Gs,{})),handle:{title:"Tax Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"depreciation",element:ii(Uut,y.jsx(Gs,{})),handle:{title:"Depreciation Report",breadcrumb:"Depreciation"}},{path:"annual-revenue",element:ii(Mut,y.jsx(Gs,{})),handle:{title:"Annual Revenue Report",breadcrumb:"Annual Revenue"}},{path:"shaam-6111",element:ii($ut,y.jsx(Gs,{})),handle:{title:"Shaam 6111 Report",breadcrumb:"Shaam 6111"}},{path:"yearly-ledger",element:ii(jut,y.jsx(Gs,{})),handle:{title:"Yearly Ledger Report",breadcrumb:"Yearly Ledger"}},{path:"corporate-tax-ruling-compliance",handle:{breadcrumb:"Tax Ruling"},children:[{index:!0,element:ii(yY,y.jsx(Gs,{})),handle:{title:"Corporate Tax Ruling Compliance Report"}},{path:":year",element:ii(yY,y.jsx(Gs,{})),handle:{title:"Corporate Tax Ruling Compliance Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"balance",element:ii(Qut,y.jsx(Gs,{})),handle:{title:"Balance Report",breadcrumb:"Balance"}},{path:"validate-reports",element:ii(Hut),handle:{title:"Validate Reports",breadcrumb:"Validate"}}]},{path:"bank-deposits",element:ii(Wut,y.jsx(gl,{})),handle:{title:"Bank Deposits",breadcrumb:"Bank Deposits"}},{path:"accountant-approvals",element:ii(zut,y.jsx(gl,{})),handle:{title:"Accountant Approvals",breadcrumb:"Accountant Approvals"}},{path:"salaries",element:ii(Vut,y.jsx(gl,{})),handle:{title:"Salaries",breadcrumb:"Salaries"}},{path:"tags",element:ii(Gut),handle:{title:"Tags",breadcrumb:"Tags"}},{path:"tax-categories",element:ii(qut),handle:{title:"Tax Categories",breadcrumb:"Tax Categories"}},{path:"sort-codes",element:ii(Kut),handle:{title:"Sort Codes",breadcrumb:"Sort Codes"}},{path:"*",element:ii(Yut),handle:{title:"Page Not Found"}}]}]}];var kY={},bY;function Jut(){if(bY)return kY;bY=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,p,g,b,k=a,S,C=h[f];switch(C&&typeof C=="object"&&typeof C.toJSON=="function"&&(C=C.toJSON(f)),typeof l=="function"&&(C=l.call(h,f,C)),typeof C){case"string":return c(C);case"number":return isFinite(C)?String(C):"null";case"bigint":case"boolean":case"null":return String(C);case"object":if(!C)return"null";if(a+=o,S=[],Object.prototype.toString.apply(C)==="[object Array]"){for(b=C.length,m=0;m<b;m+=1)S[m]=d(m,C)||"null";return g=S.length===0?"[]":a?`[
|
|
274
274
|
`+a+S.join(`,
|
|
275
275
|
`+a)+`
|
|
276
276
|
`+k+"]":"["+S.join(",")+"]",a=k,g}if(l&&typeof l=="object")for(b=l.length,m=0;m<b;m+=1)typeof l[m]=="string"&&(p=l[m],g=d(p,C),g&&S.push(c(p)+(a?": ":":")+g));else Object.keys(C).forEach(function(x){var F=d(x,C);F&&S.push(c(x)+(a?": ":":")+F)});return g=S.length===0?"{}":a?`{
|
|
277
277
|
`+a+S.join(`,
|
|
278
278
|
`+a)+`
|
|
279
279
|
`+k+"}":"{"+S.join(",")+"}",a=k,g}}typeof t.stringify!="function"&&(t.stringify=function(f,h,m){var p;if(a="",o="",typeof m=="number")for(p=0;p<m;p+=1)o+=" ";else typeof m=="string"&&(o=m);if(l=h,h&&typeof h!="function"&&(typeof h!="object"||typeof h.length!="number"))throw new Error("JSON.stringify");return d("",{"":f})})})();function n(r){var a,o,s={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
|
|
280
|
-
`,r:"\r",t:" "},l,c=function(S){throw{name:"SyntaxError",message:S,at:a,text:l}},d=function(S){return S&&S!==o&&c("Expected '"+S+"' instead of '"+o+"'"),o=l.charAt(a),a+=1,o},f=function(){var S="";for(o==="-"&&(S="-",d("-"));o>="0"&&o<="9";)S+=o,d();if(o===".")for(S+=".";d()&&o>="0"&&o<="9";)S+=o;if(o==="e"||o==="E")for(S+=o,d(),(o==="-"||o==="+")&&(S+=o,d());o>="0"&&o<="9";)S+=o,d();if(!isFinite(Number(S)))c("Bad number");else{const C=Number(S);return Number.isInteger(C)&&!Number.isSafeInteger(C)?BigInt(S):C}},h=function(){var S,C,x="",F;if(o==='"')for(;d();){if(o==='"')return d(),x;if(o==="\\")if(d(),o==="u"){for(F=0,C=0;C<4&&(S=parseInt(d(),16),!!isFinite(S));C+=1)F=F*16+S;x+=String.fromCharCode(F)}else if(typeof s[o]=="string")x+=s[o];else break;else x+=o}c("Bad string")},m=function(){for(;o&&o<=" ";)d()},p=function(){switch(o){case"t":return d("t"),d("r"),d("u"),d("e"),!0;case"f":return d("f"),d("a"),d("l"),d("s"),d("e"),!1;case"n":return d("n"),d("u"),d("l"),d("l"),null}c("Unexpected '"+o+"'")},g,b=function(){var S=[];if(o==="["){if(d("["),m(),o==="]")return d("]"),S;for(;o;){if(S.push(g()),m(),o==="]")return d("]"),S;d(","),m()}}c("Bad array")},k=function(){var S,C={};if(o==="{"){if(d("{"),m(),o==="}")return d("}"),C;for(;o;){if(S=h(),m(),d(":"),C[S]=g(),m(),o==="}")return d("}"),C;d(","),m()}}c("Bad object")};return g=function(){switch(m(),o){case"{":return k();case"[":return b();case'"':return h();case"-":return f();default:return o>="0"&&o<="9"?f():p()}},function(S,C){var x;return l=S+"",a=0,o=" ",x=g(),m(),o&&c("Syntax error"),typeof C=="function"?(function F(T,E){var I,R=T[E];return R&&typeof R=="object"&&Object.keys(R).forEach(function(V){I=F(R,V),I!==void 0?R[V]=I:delete R[V]}),C.call(T,E,R)})({"":x},""):x}}let i;if(typeof globalThis<"u"?i=globalThis:typeof self<"u"?i=self:typeof window<"u"?i=window:typeof Ac<"u"&&(i=Ac),JSON.rawJSON){BigInt.prototype.toJSON=function(){return JSON.rawJSON(this.toString())};const r=i.JSON.parse;i.JSON.parse=function(o,s){return r(o,function(l,c,d){if(typeof c=="number"&&d.source!=c.toString())try{return BigInt(d.source)}catch{}return s?s(l,c):c})}}else i.BigInt.prototype.toJSON=function(){return this},i.JSON.stringify=e,i.JSON.parse=n();return kY}Jut();const eft=document.getElementById("root"),tft=dve.createRoot(eft),nft=pye(Zut);tft.render(y.jsx(N.StrictMode,{children:y.jsx(_ye,{router:nft})}));export{Li as $,Nht as A,Qt as B,ZNe as C,$f as D,Xot as E,pst as F,Bh as G,DGe as H,Qn as I,fd as J,bu as K,rk as L,Cht as M,pbe as N,Su as O,Ast as P,P4 as Q,$n as R,aht as S,sd as T,vpt as U,fb as V,Ad as W,BK as X,fi as Y,Ai as Z,Ji as _,rft as a,GWe as a$,zpt as a0,vi as a1,gn as a2,Tf as a3,ZA as a4,sft as a5,Dft as a6,KF as a7,Mke as a8,oZ as a9,LAe as aA,Cmt as aB,BL as aC,xmt as aD,mft as aE,se as aF,nR as aG,a$ as aH,Fmt as aI,Wye as aJ,Hpt as aK,bv as aL,fit as aM,_mt as aN,fu as aO,oX as aP,Kke as aQ,Hke as aR,_be as aS,_ft as aT,y2 as aU,mbe as aV,xpt as aW,git as aX,Tft as aY,OGe as aZ,IGe as a_,hu as aa,ts as ab,$Ae as ac,bAe as ad,vft as ae,gke as af,Bv as ag,kbe as ah,no as ai,Zht as aj,Tpt as ak,Eu as al,Bu as am,k2 as an,Po as ao,Uo as ap,Lo as aq,Mo as ar,yo as as,jGe as at,Vh as au,eit as av,Eb as aw,VF as ax,pr as ay,Sft as az,aft as b,dgt as b$,Rce as b0,bk as b1,TCe as b2,Ice as b3,Cce as b4,gft as b5,VWe as b6,xF as b7,Tke as b8,Bft as b9,bN as bA,f6 as bB,Eh as bC,F5e as bD,wft as bE,uft as bF,Cft as bG,lht as bH,E7 as bI,jle as bJ,Ihe as bK,Ohe as bL,Av as bM,Phe as bN,Rhe as bO,Vx as bP,U2 as bQ,M2 as bR,$2 as bS,BF as bT,The as bU,tee as bV,nee as bW,ps as bX,iee as bY,egt as bZ,zx as b_,UAe as ba,Rx as bb,ame as bc,Qot as bd,Emt as be,Bmt as bf,oft as bg,sst as bh,lst as bi,IW as bj,Mye as bk,Fke as bl,OW as bm,Ift as bn,XNe as bo,Eft as bp,em as bq,kmt as br,Qpt as bs,Rn as bt,pn as bu,mi as bv,ECe as bw,xu as bx,o6 as by,ed as bz,OZe as c,Kht as c$,ugt as c0,Eot as c1,Ehe as c2,xAt as c3,wht as c4,Yht as c5,Ept as c6,jmt as c7,In as c8,Cnt as c9,$ht as cA,yft as cB,wpt as cC,nAt as cD,iAt as cE,rAt as cF,aAt as cG,Mht as cH,Spt as cI,oAt as cJ,sAt as cK,lAt as cL,jht as cM,Npt as cN,cAt as cO,dAt as cP,Qht as cQ,Cpt as cR,uAt as cS,fAt as cT,mAt as cU,AAt as cV,hAt as cW,pAt as cX,gAt as cY,vAt as cZ,Oce as c_,Smt as ca,Fft as cb,Nmt as cc,bmt as cd,Xt as ce,At as cf,B9e as cg,vn as ch,Uht as ci,Xmt as cj,bre as ck,lX as cl,tN as cm,M6e as cn,ypt as co,Wht as cp,Qmt as cq,tpt as cr,Cbe as cs,Zft as ct,Jft as cu,eAt as cv,tAt as cw,spt as cx,bpt as cy,ept as cz,Y2 as d,Agt as d$,fft as d0,kAt as d1,yAt as d2,BCe as d3,_f as d4,Yp as d5,wmt as d6,C1e as d7,Mmt as d8,$O as d9,kke as dA,$at as dB,zot as dC,TAt as dD,iu as dE,pht as dF,eDe as dG,mpe as dH,JTe as dI,bn as dJ,bM as dK,Rk as dL,rpt as dM,dht as dN,ree as dO,aee as dP,Fg as dQ,dpt as dR,Rke as dS,jpt as dT,Jpt as dU,tgt as dV,uht as dW,fht as dX,clt as dY,gpe as dZ,mgt as d_,lct as da,ydt as db,bh as dc,ype as dd,Uf as de,hgt as df,Cdt as dg,Ir as dh,xct as di,qft as dj,wCe as dk,$mt as dl,Qle as dm,PP as dn,fgt as dp,OP as dq,xht as dr,Got as ds,Fht as dt,_ht as du,Eht as dv,mpt as dw,_it as dx,qot as dy,pYe as dz,Sh as e,Fpt as e$,$b as e0,Nf as e1,pgt as e2,ymt as e3,ube as e4,VAt as e5,GAt as e6,sgt as e7,m6e as e8,qAt as e9,Yh as eA,BP as eB,_h as eC,SP as eD,Ef as eE,Wh as eF,rb as eG,Xft as eH,npt as eI,gpt as eJ,_pt as eK,Dpt as eL,zft as eM,Mpt as eN,Vpt as eO,Gpt as eP,fxe as eQ,qpt as eR,H2 as eS,z2 as eT,tb as eU,vYe as eV,ppt as eW,Jmt as eX,qht as eY,CAt as eZ,oht as e_,KAt as ea,WAt as eb,YAt as ec,XAt as ed,ZAt as ee,B7 as ef,yht as eg,Aft as eh,vht as ei,Gmt as ej,rZ as ek,mst as el,cpt as em,HWe as en,Pce as eo,eht as ep,RZe as eq,o8e as er,wAt as es,cb as et,SAt as eu,zmt as ev,cbe as ew,Qy as ex,ngt as ey,Nte as ez,Imt as f,Il as f$,DAt as f0,IAt as f1,OAt as f2,LAt as f3,bft as f4,RAt as f5,LP as f6,PAt as f7,UAt as f8,MAt as f9,Dmt as fA,Hot as fB,Oft as fC,Umt as fD,jft as fE,Mft as fF,Qft as fG,Hft as fH,apt as fI,Vft as fJ,Gft as fK,Omt as fL,agt as fM,Pft as fN,Uft as fO,Lke as fP,HAt as fQ,Rmt as fR,d8e as fS,zAt as fT,w9 as fU,rgt as fV,W2 as fW,bP as fX,lpt as fY,H1e as fZ,z1e as f_,Wie as fa,$At as fb,jAt as fc,QAt as fd,Hht as fe,qmt as ff,Bpt as fg,ipt as fh,bAt as fi,Hmt as fj,pft as fk,Lhe as fl,qUe as fm,Df as fn,Lw as fo,ev as fp,j4e as fq,FAt as fr,PZe as fs,Lft as ft,Rft as fu,$ft as fv,Xht as fw,Pmt as fx,Sht as fy,Lmt as fz,bs as g,q1e as g$,hc as g0,n4e as g1,Sc as g2,yP as g3,igt as g4,Zk as g5,kpt as g6,Kft as g7,Jht as g8,n$ as g9,Oht as gA,JAt as gB,kht as gC,Nke as gD,_At as gE,Aht as gF,Sle as gG,c6 as gH,d6 as gI,Cle as gJ,CF as gK,lO as gL,Tht as gM,Dht as gN,Ac as gO,wu as gP,b$ as gQ,a2 as gR,Vmt as gS,upt as gT,Rle as gU,_Se as gV,j1e as gW,G1e as gX,W1e as gY,BSe as gZ,DSe as g_,Wft as ga,Yft as gb,mht as gc,hht as gd,EAt as ge,BAt as gf,umt as gg,Iht as gh,lmt as gi,
|
|
280
|
+
`,r:"\r",t:" "},l,c=function(S){throw{name:"SyntaxError",message:S,at:a,text:l}},d=function(S){return S&&S!==o&&c("Expected '"+S+"' instead of '"+o+"'"),o=l.charAt(a),a+=1,o},f=function(){var S="";for(o==="-"&&(S="-",d("-"));o>="0"&&o<="9";)S+=o,d();if(o===".")for(S+=".";d()&&o>="0"&&o<="9";)S+=o;if(o==="e"||o==="E")for(S+=o,d(),(o==="-"||o==="+")&&(S+=o,d());o>="0"&&o<="9";)S+=o,d();if(!isFinite(Number(S)))c("Bad number");else{const C=Number(S);return Number.isInteger(C)&&!Number.isSafeInteger(C)?BigInt(S):C}},h=function(){var S,C,x="",F;if(o==='"')for(;d();){if(o==='"')return d(),x;if(o==="\\")if(d(),o==="u"){for(F=0,C=0;C<4&&(S=parseInt(d(),16),!!isFinite(S));C+=1)F=F*16+S;x+=String.fromCharCode(F)}else if(typeof s[o]=="string")x+=s[o];else break;else x+=o}c("Bad string")},m=function(){for(;o&&o<=" ";)d()},p=function(){switch(o){case"t":return d("t"),d("r"),d("u"),d("e"),!0;case"f":return d("f"),d("a"),d("l"),d("s"),d("e"),!1;case"n":return d("n"),d("u"),d("l"),d("l"),null}c("Unexpected '"+o+"'")},g,b=function(){var S=[];if(o==="["){if(d("["),m(),o==="]")return d("]"),S;for(;o;){if(S.push(g()),m(),o==="]")return d("]"),S;d(","),m()}}c("Bad array")},k=function(){var S,C={};if(o==="{"){if(d("{"),m(),o==="}")return d("}"),C;for(;o;){if(S=h(),m(),d(":"),C[S]=g(),m(),o==="}")return d("}"),C;d(","),m()}}c("Bad object")};return g=function(){switch(m(),o){case"{":return k();case"[":return b();case'"':return h();case"-":return f();default:return o>="0"&&o<="9"?f():p()}},function(S,C){var x;return l=S+"",a=0,o=" ",x=g(),m(),o&&c("Syntax error"),typeof C=="function"?(function F(T,E){var I,R=T[E];return R&&typeof R=="object"&&Object.keys(R).forEach(function(V){I=F(R,V),I!==void 0?R[V]=I:delete R[V]}),C.call(T,E,R)})({"":x},""):x}}let i;if(typeof globalThis<"u"?i=globalThis:typeof self<"u"?i=self:typeof window<"u"?i=window:typeof Ac<"u"&&(i=Ac),JSON.rawJSON){BigInt.prototype.toJSON=function(){return JSON.rawJSON(this.toString())};const r=i.JSON.parse;i.JSON.parse=function(o,s){return r(o,function(l,c,d){if(typeof c=="number"&&d.source!=c.toString())try{return BigInt(d.source)}catch{}return s?s(l,c):c})}}else i.BigInt.prototype.toJSON=function(){return this},i.JSON.stringify=e,i.JSON.parse=n();return kY}Jut();const eft=document.getElementById("root"),tft=dve.createRoot(eft),nft=pye(Zut);tft.render(y.jsx(N.StrictMode,{children:y.jsx(_ye,{router:nft})}));export{Li as $,Nht as A,Qt as B,ZNe as C,$f as D,Xot as E,pst as F,Bh as G,DGe as H,Qn as I,fd as J,bu as K,rk as L,Cht as M,pbe as N,Su as O,Ast as P,P4 as Q,$n as R,aht as S,sd as T,vpt as U,fb as V,Ad as W,BK as X,fi as Y,Ai as Z,Ji as _,rft as a,GWe as a$,zpt as a0,vi as a1,gn as a2,Tf as a3,ZA as a4,sft as a5,Dft as a6,KF as a7,Mke as a8,oZ as a9,LAe as aA,Cmt as aB,BL as aC,xmt as aD,mft as aE,se as aF,nR as aG,a$ as aH,Fmt as aI,Wye as aJ,Hpt as aK,bv as aL,fit as aM,_mt as aN,fu as aO,oX as aP,Kke as aQ,Hke as aR,_be as aS,_ft as aT,y2 as aU,mbe as aV,xpt as aW,git as aX,Tft as aY,OGe as aZ,IGe as a_,hu as aa,ts as ab,$Ae as ac,bAe as ad,vft as ae,gke as af,Bv as ag,kbe as ah,no as ai,Zht as aj,Tpt as ak,Eu as al,Bu as am,k2 as an,Po as ao,Uo as ap,Lo as aq,Mo as ar,yo as as,jGe as at,Vh as au,eit as av,Eb as aw,VF as ax,pr as ay,Sft as az,aft as b,dgt as b$,Rce as b0,bk as b1,TCe as b2,Ice as b3,Cce as b4,gft as b5,VWe as b6,xF as b7,Tke as b8,Bft as b9,bN as bA,f6 as bB,Eh as bC,F5e as bD,wft as bE,uft as bF,Cft as bG,lht as bH,E7 as bI,jle as bJ,Ihe as bK,Ohe as bL,Av as bM,Phe as bN,Rhe as bO,Vx as bP,U2 as bQ,M2 as bR,$2 as bS,BF as bT,The as bU,tee as bV,nee as bW,ps as bX,iee as bY,egt as bZ,zx as b_,UAe as ba,Rx as bb,ame as bc,Qot as bd,Emt as be,Bmt as bf,oft as bg,sst as bh,lst as bi,IW as bj,Mye as bk,Fke as bl,OW as bm,Ift as bn,XNe as bo,Eft as bp,em as bq,kmt as br,Qpt as bs,Rn as bt,pn as bu,mi as bv,ECe as bw,xu as bx,o6 as by,ed as bz,OZe as c,Kht as c$,ugt as c0,Eot as c1,Ehe as c2,xAt as c3,wht as c4,Yht as c5,Ept as c6,jmt as c7,In as c8,Cnt as c9,$ht as cA,yft as cB,wpt as cC,nAt as cD,iAt as cE,rAt as cF,aAt as cG,Mht as cH,Spt as cI,oAt as cJ,sAt as cK,lAt as cL,jht as cM,Npt as cN,cAt as cO,dAt as cP,Qht as cQ,Cpt as cR,uAt as cS,fAt as cT,mAt as cU,AAt as cV,hAt as cW,pAt as cX,gAt as cY,vAt as cZ,Oce as c_,Smt as ca,Fft as cb,Nmt as cc,bmt as cd,Xt as ce,At as cf,B9e as cg,vn as ch,Uht as ci,Xmt as cj,bre as ck,lX as cl,tN as cm,M6e as cn,ypt as co,Wht as cp,Qmt as cq,tpt as cr,Cbe as cs,Zft as ct,Jft as cu,eAt as cv,tAt as cw,spt as cx,bpt as cy,ept as cz,Y2 as d,Agt as d$,fft as d0,kAt as d1,yAt as d2,BCe as d3,_f as d4,Yp as d5,wmt as d6,C1e as d7,Mmt as d8,$O as d9,kke as dA,$at as dB,zot as dC,TAt as dD,iu as dE,pht as dF,eDe as dG,mpe as dH,JTe as dI,bn as dJ,bM as dK,Rk as dL,rpt as dM,dht as dN,ree as dO,aee as dP,Fg as dQ,dpt as dR,Rke as dS,jpt as dT,Jpt as dU,tgt as dV,uht as dW,fht as dX,clt as dY,gpe as dZ,mgt as d_,lct as da,ydt as db,bh as dc,ype as dd,Uf as de,hgt as df,Cdt as dg,Ir as dh,xct as di,qft as dj,wCe as dk,$mt as dl,Qle as dm,PP as dn,fgt as dp,OP as dq,xht as dr,Got as ds,Fht as dt,_ht as du,Eht as dv,mpt as dw,_it as dx,qot as dy,pYe as dz,Sh as e,Fpt as e$,$b as e0,Nf as e1,pgt as e2,ymt as e3,ube as e4,VAt as e5,GAt as e6,sgt as e7,m6e as e8,qAt as e9,Yh as eA,BP as eB,_h as eC,SP as eD,Ef as eE,Wh as eF,rb as eG,Xft as eH,npt as eI,gpt as eJ,_pt as eK,Dpt as eL,zft as eM,Mpt as eN,Vpt as eO,Gpt as eP,fxe as eQ,qpt as eR,H2 as eS,z2 as eT,tb as eU,vYe as eV,ppt as eW,Jmt as eX,qht as eY,CAt as eZ,oht as e_,KAt as ea,WAt as eb,YAt as ec,XAt as ed,ZAt as ee,B7 as ef,yht as eg,Aft as eh,vht as ei,Gmt as ej,rZ as ek,mst as el,cpt as em,HWe as en,Pce as eo,eht as ep,RZe as eq,o8e as er,wAt as es,cb as et,SAt as eu,zmt as ev,cbe as ew,Qy as ex,ngt as ey,Nte as ez,Imt as f,Il as f$,DAt as f0,IAt as f1,OAt as f2,LAt as f3,bft as f4,RAt as f5,LP as f6,PAt as f7,UAt as f8,MAt as f9,Dmt as fA,Hot as fB,Oft as fC,Umt as fD,jft as fE,Mft as fF,Qft as fG,Hft as fH,apt as fI,Vft as fJ,Gft as fK,Omt as fL,agt as fM,Pft as fN,Uft as fO,Lke as fP,HAt as fQ,Rmt as fR,d8e as fS,zAt as fT,w9 as fU,rgt as fV,W2 as fW,bP as fX,lpt as fY,H1e as fZ,z1e as f_,Wie as fa,$At as fb,jAt as fc,QAt as fd,Hht as fe,qmt as ff,Bpt as fg,ipt as fh,bAt as fi,Hmt as fj,pft as fk,Lhe as fl,qUe as fm,Df as fn,Lw as fo,ev as fp,j4e as fq,FAt as fr,PZe as fs,Lft as ft,Rft as fu,$ft as fv,Xht as fw,Pmt as fx,Sht as fy,Lmt as fz,bs as g,q1e as g$,hc as g0,n4e as g1,Sc as g2,yP as g3,igt as g4,Zk as g5,kpt as g6,Kft as g7,Jht as g8,n$ as g9,Oht as gA,JAt as gB,kht as gC,Nke as gD,_At as gE,Aht as gF,Sle as gG,c6 as gH,d6 as gI,Cle as gJ,CF as gK,lO as gL,Tht as gM,Dht as gN,Ac as gO,wu as gP,b$ as gQ,a2 as gR,Vmt as gS,upt as gT,Rle as gU,_Se as gV,j1e as gW,G1e as gX,W1e as gY,BSe as gZ,DSe as g_,Wft as ga,Yft as gb,mht as gc,hht as gd,EAt as ge,BAt as gf,umt as gg,Iht as gh,lmt as gi,oke as gj,cmt as gk,dmt as gl,aX as gm,Bht as gn,pmt as go,Amt as gp,Nft as gq,fmt as gr,hft as gs,lft as gt,cft as gu,kft as gv,dft as gw,mmt as gx,hmt as gy,gmt as gz,hpt as h,xft as h$,uN as h0,ak as h1,xX as h2,lke as h3,wh as h4,S6 as h5,w6 as h6,N6 as h7,rht as h8,Lpt as h9,emt as hA,nmt as hB,imt as hC,tmt as hD,rmt as hE,amt as hF,omt as hG,smt as hH,bht as hI,tc as hJ,dne as hK,s4e as hL,B5e as hM,Gy as hN,JLe as hO,NP as hP,sne as hQ,Lf as hR,Rpt as hS,ogt as hT,NAt as hU,Vht as hV,opt as hW,DCe as hX,Pht as hY,Ght as hZ,vmt as h_,Upt as ha,sht as hb,aP as hc,ght as hd,KSe as he,OR as hf,rl as hg,Wpt as hh,ro as hi,_2e as hj,Cn as hk,Ypt as hl,Xpt as hm,md as hn,Jn as ho,Hk as hp,Ht as hq,cht as hr,TZe as hs,Wmt as ht,Ymt as hu,Kmt as hv,$pt as hw,Ipt as hx,tht as hy,fpt as hz,Ss as i,Apt as i0,Ppt as i1,iht as i2,Lht as i3,Opt as i4,nht as i5,zht as i6,Rht as i7,cgt as i8,j2 as i9,or as ia,y as j,Zmt as k,kP as l,Ut as m,fc as n,Uk as o,yO as p,_me as q,N as r,Tmt as s,fn as t,Ns as u,Jt as v,Nh as w,jf as x,t0 as y,YF as z};
|