@accounter/client 0.0.9-alpha-20260104102222-e571339977cc2dd822ff55e739af50010f3bdd68 → 0.0.9-alpha-20260104135522-913ec6f5ef0024c8026d0e7f36a9c6401fb5e3c3
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-BptHTrp6.js → Checkbox-CIjNLOvn.js} +1 -1
- package/dist/assets/{MultiSelect-CCFz7dfa.js → MultiSelect-E2FPCJdH.js} +1 -1
- package/dist/assets/{Progress-CIIlVMFY.js → Progress-DMJQvFdk.js} +1 -1
- package/dist/assets/{Table-C2uR0d-r.js → Table-0rvmS2wr.js} +1 -1
- package/dist/assets/{Typography-gGeYWQv1.js → Typography-4nqQ7puF.js} +1 -1
- package/dist/assets/{YearPickerInput-BeCyNuqF.js → YearPickerInput-XVeVR1Oa.js} +1 -1
- package/dist/assets/{accordion-11wRRi0x.js → accordion-L1IRyzyA.js} +1 -1
- package/dist/assets/{accountant-approvals-C_dCTQ-C.js → accountant-approvals-D3Rk9Awv.js} +1 -1
- package/dist/assets/{accounter-table-BvxAvKix.js → accounter-table-DO07S-Ok.js} +1 -1
- package/dist/assets/{addDays-D-0uf6RF.js → addDays-B1nYv7cD.js} +1 -1
- package/dist/assets/{all-charges-9I-_GAIh.js → all-charges-Bl4rmLPr.js} +1 -1
- package/dist/assets/{arrow-up-down-BVLozGlm.js → arrow-up-down-RAyr4F6x.js} +1 -1
- package/dist/assets/{building-2-B_mpjrvK.js → building-2-CJWjJWAd.js} +1 -1
- package/dist/assets/{business-D-wTt00H.js → business-CD7jRx3V.js} +1 -1
- package/dist/assets/{business-extended-info-Wd_Wc4u4.js → business-extended-info-CZ8kd93o.js} +1 -1
- package/dist/assets/{business-header-Di-Z4oXF.js → business-header-DnJ4wJTw.js} +1 -1
- package/dist/assets/{business-ledger-filters-HaxxyC-X.js → business-ledger-filters-b6ihKqcv.js} +1 -1
- package/dist/assets/{business-ledger-single-Cp78vuM_.js → business-ledger-single-CTJvfW-L.js} +1 -1
- package/dist/assets/{business-trip-D46oBUO8.js → business-trip-D71-CjJS.js} +1 -1
- package/dist/assets/{charge-BHf2jwQ2.js → charge-BKa3ocZT.js} +1 -1
- package/dist/assets/{charges-filters-DEeQYIha.js → charges-filters-f-g5zs9d.js} +1 -1
- package/dist/assets/{charges-ledger-validation-ByXyxoWy.js → charges-ledger-validation-C1uzo7m-.js} +1 -1
- package/dist/assets/{charges-table-DK9p--XT.js → charges-table-BlXyOjYT.js} +1 -1
- package/dist/assets/{chart-DaH6Aux_.js → chart-CVakbbuJ.js} +1 -1
- package/dist/assets/{contracts-CgKV5f7r.js → contracts-BEtzHuzD.js} +1 -1
- package/dist/assets/{data-table-column-header-DC5h_-av.js → data-table-column-header-Dm4KLrte.js} +1 -1
- package/dist/assets/{data-table-pagination-P-U7aHcc.js → data-table-pagination-DXDS4nhy.js} +1 -1
- package/dist/assets/{deposits-transactions-table-BKTzjJwt.js → deposits-transactions-table-CTYnxtJU.js} +1 -1
- package/dist/assets/{download-csv-button-quMFSliW.js → download-csv-button-BMcEBrSS.js} +1 -1
- package/dist/assets/{editable-business-trip-BTECLAeb.js → editable-business-trip-Bp6IxoxB.js} +1 -1
- package/dist/assets/{eye-off-CkPoWfOB.js → eye-off-CEEw38cP.js} +1 -1
- package/dist/assets/{funnel-B2QhRSFZ.js → funnel-wCPsNKWN.js} +1 -1
- package/dist/assets/{index-B8Qt1Fgi.js → index-B0iyn-mI.js} +1 -1
- package/dist/assets/{index-d09MJMS8.js → index-B8pw7b-t.js} +1 -1
- package/dist/assets/{index-BroY6W-A.js → index-BXce2cs4.js} +1 -1
- package/dist/assets/{index-Bj_rrl-m.js → index-B_RJNtUo.js} +1 -1
- package/dist/assets/{index-Bu2D5z4X.js → index-Bhwo2jRi.js} +1 -1
- package/dist/assets/{index-BLmoyKIU.js → index-Bnf9EGJh.js} +1 -1
- package/dist/assets/{index-BUXTlxWk.js → index-BwIk76Fe.js} +1 -1
- package/dist/assets/{index-D6FB0EwL.js → index-CDqlmlUs.js} +1 -1
- package/dist/assets/{index-BtnZq2Cc.js → index-CJQEWig2.js} +4 -4
- package/dist/assets/{index-D4dJ3h2S.js → index-CLejPZ03.js} +1 -1
- package/dist/assets/{index-BHmE2wk_.js → index-CeNpBiZt.js} +1 -1
- package/dist/assets/{index-CAZcTGkQ.js → index-CoZLNRyy.js} +1 -1
- package/dist/assets/{index-Ckdf2yUv.js → index-D740cLRg.js} +1 -1
- package/dist/assets/{index-DSS3T9dn.js → index-D9594uhM.js} +1 -1
- package/dist/assets/{index-B43PdIyK.js → index-DI-u7X-4.js} +1 -1
- package/dist/assets/{index--NYgYtAv.js → index-DKpeP7IO.js} +1 -1
- package/dist/assets/{index-BfGTZPUC.js → index-DM8ePwsN.js} +1 -1
- package/dist/assets/{index-CeaqxbmH.js → index-DMYTBz5s.js} +1 -1
- package/dist/assets/{index-BZ_zczs5.js → index-DSnmInPt.js} +1 -1
- package/dist/assets/{index-fgk1E-z6.js → index-Dc3RBoFY.js} +1 -1
- package/dist/assets/{index-DAAv5UIM.js → index-DpHMidPk.js} +1 -1
- package/dist/assets/{index-D9vc6sKF.js → index-Dtg9Ebru.js} +1 -1
- package/dist/assets/{index-DCbBZgW2.js → index-MwL919Y6.js} +1 -1
- package/dist/assets/{index-DQ7NOoGH.js → index-aKsfgLig.js} +1 -1
- package/dist/assets/{index-CaijA1Vx.js → index-oG-TuXTF.js} +1 -1
- package/dist/assets/{index-NZolqX0v.js → index-qmr8EzkY.js} +1 -1
- package/dist/assets/{index.es-C-OPtuEn.js → index.es-D5j_e-90.js} +1 -1
- package/dist/assets/{insert-business-trip-modal-n5HVT029.js → insert-business-trip-modal-DAddh4SL.js} +1 -1
- package/dist/assets/issue-document-DhsyLMjh.js +1 -0
- package/dist/assets/{list-plus-BRVySmdR.js → list-plus-D47DH24w.js} +1 -1
- package/dist/assets/{login-page-pio56Ae0.js → login-page-BrIhzx0o.js} +1 -1
- package/dist/assets/{match-document-modal-UVqmSHHi.js → match-document-modal-CIlUk8Ew.js} +1 -1
- package/dist/assets/{missing-info-charges-CtQIrLKU.js → missing-info-charges-D-yagKqj.js} +1 -1
- package/dist/assets/{modal-BHnxk960.js → modal-B-dHSlvi.js} +1 -1
- package/dist/assets/{modify-contract-dialog-CZXHQn-0.js → modify-contract-dialog-CPd5HePs.js} +1 -1
- package/dist/assets/{page-layout-Cn8g7UWd.js → page-layout-B2gYTWUz.js} +1 -1
- package/dist/assets/{page-not-found-BkvWAmrg.js → page-not-found-DNb-8ubr.js} +1 -1
- package/dist/assets/{panel-top-open-Deqi5z5C.js → panel-top-open-et1B6Qub.js} +1 -1
- package/dist/assets/{report-commentary-row-1E6ONNbx.js → report-commentary-row-BEtZ8QZo.js} +1 -1
- package/dist/assets/{save-CFv3bDxW.js → save-DYKKYhD4.js} +1 -1
- package/dist/assets/{similar-transactions-modal-DKWRkwuh.js → similar-transactions-modal-DPUwmIYc.js} +1 -1
- package/dist/assets/{sub-DqkWrvtB.js → sub-CP-0oRhw.js} +1 -1
- package/dist/assets/subMonths-Cu93C5UH.js +1 -0
- package/dist/assets/{summary-C-KYke0P.js → summary-CzvCns1x.js} +1 -1
- package/dist/assets/{toggle-expansion-button-CEY2zyON.js → toggle-expansion-button-CERf5wnd.js} +1 -1
- package/dist/assets/{use-issue-monthly-documents-vghFQG3j.js → use-issue-monthly-documents-BxcraBxY.js} +1 -1
- package/dist/assets/{use-url-query-CczMyJ8P.js → use-url-query-B4uMZFi3.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/issue-document-BIJf8MKa.js +0 -1
- package/dist/assets/subMonths-Cd5IR0kZ.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-Bl4rmLPr.js","assets/use-url-query-B4uMZFi3.js","assets/charges-filters-f-g5zs9d.js","assets/modal-B-dHSlvi.js","assets/funnel-wCPsNKWN.js","assets/sub-CP-0oRhw.js","assets/addDays-B1nYv7cD.js","assets/subMonths-Cu93C5UH.js","assets/MultiSelect-E2FPCJdH.js","assets/charges-table-BlXyOjYT.js","assets/toggle-expansion-button-CERf5wnd.js","assets/panel-top-open-et1B6Qub.js","assets/index-MwL919Y6.js","assets/similar-transactions-modal-DPUwmIYc.js","assets/list-plus-D47DH24w.js","assets/Table-0rvmS2wr.js","assets/summary-CzvCns1x.js","assets/deposits-transactions-table-CTYnxtJU.js","assets/Checkbox-CIjNLOvn.js","assets/accordion-L1IRyzyA.js","assets/data-table-column-header-Dm4KLrte.js","assets/eye-off-CEEw38cP.js","assets/match-document-modal-CIlUk8Ew.js","assets/YearPickerInput-XVeVR1Oa.js","assets/insert-business-trip-modal-DAddh4SL.js","assets/accounter-table-DO07S-Ok.js","assets/page-layout-B2gYTWUz.js","assets/missing-info-charges-D-yagKqj.js","assets/charge-BKa3ocZT.js","assets/charges-ledger-validation-C1uzo7m-.js","assets/Progress-DMJQvFdk.js","assets/index-B_RJNtUo.js","assets/business-header-DnJ4wJTw.js","assets/building-2-CJWjJWAd.js","assets/business-CD7jRx3V.js","assets/save-DYKKYhD4.js","assets/business-extended-info-CZ8kd93o.js","assets/download-csv-button-BMcEBrSS.js","assets/chart-CVakbbuJ.js","assets/sequential-CAnleQny.js","assets/modify-contract-dialog-CPd5HePs.js","assets/use-issue-monthly-documents-BxcraBxY.js","assets/index-aKsfgLig.js","assets/business-ledger-filters-b6ihKqcv.js","assets/business-ledger-single-CTJvfW-L.js","assets/contracts-BEtzHuzD.js","assets/index-BXce2cs4.js","assets/editable-business-trip-Bp6IxoxB.js","assets/business-trip-D71-CjJS.js","assets/index-Bnf9EGJh.js","assets/index-BwIk76Fe.js","assets/Typography-4nqQ7puF.js","assets/index-B8pw7b-t.js","assets/data-table-pagination-DXDS4nhy.js","assets/arrow-up-down-RAyr4F6x.js","assets/issue-document-DhsyLMjh.js","assets/index-DM8ePwsN.js","assets/index-D740cLRg.js","assets/index-DI-u7X-4.js","assets/index-DKpeP7IO.js","assets/graphql-document-dedupe-fragments-ByT8-wlV.js","assets/index-Bhwo2jRi.js","assets/report-commentary-row-BEtZ8QZo.js","assets/index-CoZLNRyy.js","assets/index-DMYTBz5s.js","assets/index-oG-TuXTF.js","assets/index-CLejPZ03.js","assets/index-CDqlmlUs.js","assets/index-qmr8EzkY.js","assets/index-DpHMidPk.js","assets/index-Dc3RBoFY.js","assets/accountant-approvals-D3Rk9Awv.js","assets/index-CeNpBiZt.js","assets/index-Dtg9Ebru.js","assets/index-B0iyn-mI.js","assets/index-DSnmInPt.js","assets/index-D9594uhM.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var i$=t=>{throw TypeError(t)};var gB=(t,e,n)=>e.has(t)||i$("Cannot "+n);var jr=(t,e,n)=>(gB(t,e,"read from private field"),n?n.call(t):e.get(t)),Kd=(t,e,n)=>e.has(t)?i$("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),Qs=(t,e,n,i)=>(gB(t,e,"write to private field"),i?i.call(t,n):e.set(t,n),n),Wd=(t,e,n)=>(gB(t,e,"access private method"),n);var r$=(t,e,n,i)=>({set _(r){Qs(t,e,r,n)},get _(){return jr(t,e,i)}});function R0e(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 bc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Jk(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function P0e(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 vB={exports:{}},Y0={};var a$;function L0e(){if(a$)return Y0;a$=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 Y0.Fragment=e,Y0.jsx=n,Y0.jsxs=n,Y0}var o$;function U0e(){return o$||(o$=1,vB.exports=L0e()),vB.exports}var y=U0e(),yB={exports:{}};function M0e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var fX={exports:{}},Da=fX.exports={},su,lu;function fI(){throw new Error("setTimeout has not been defined")}function mI(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?su=setTimeout:su=fI}catch{su=fI}try{typeof clearTimeout=="function"?lu=clearTimeout:lu=mI}catch{lu=mI}})();function mX(t){if(su===setTimeout)return setTimeout(t,0);if((su===fI||!su)&&setTimeout)return su=setTimeout,setTimeout(t,0);try{return su(t,0)}catch{try{return su.call(null,t,0)}catch{return su.call(this,t,0)}}}function $0e(t){if(lu===clearTimeout)return clearTimeout(t);if((lu===mI||!lu)&&clearTimeout)return lu=clearTimeout,clearTimeout(t);try{return lu(t)}catch{try{return lu.call(null,t)}catch{return lu.call(this,t)}}}var CA=[],Zg=!1,dh,Yw=-1;function j0e(){!Zg||!dh||(Zg=!1,dh.length?CA=dh.concat(CA):Yw=-1,CA.length&&hX())}function hX(){if(!Zg){var t=mX(j0e);Zg=!0;for(var e=CA.length;e;){for(dh=CA,CA=[];++Yw<e;)dh&&dh[Yw].run();Yw=-1,e=CA.length}dh=null,Zg=!1,$0e(t)}}Da.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];CA.push(new pX(t,e)),CA.length===1&&!Zg&&mX(hX)};function pX(t,e){this.fun=t,this.array=e}pX.prototype.run=function(){this.fun.apply(null,this.array)};Da.title="browser";Da.browser=!0;Da.env={};Da.argv=[];Da.version="";Da.versions={};function UA(){}Da.on=UA;Da.addListener=UA;Da.once=UA;Da.off=UA;Da.removeListener=UA;Da.removeAllListeners=UA;Da.emit=UA;Da.prependListener=UA;Da.prependOnceListener=UA;Da.listeners=function(t){return[]};Da.binding=function(t){throw new Error("process.binding is not supported")};Da.cwd=function(){return"/"};Da.chdir=function(t){throw new Error("process.chdir is not supported")};Da.umask=function(){return 0};var Q0e=fX.exports;const bn=M0e(Q0e);var qn={},s$;function H0e(){if(s$)return qn;s$=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"),A=Symbol.for("react.activity"),h=Symbol.iterator;function m(re){return re===null||typeof re!="object"?null:(re=h&&re[h]||re["@@iterator"],typeof re=="function"?re:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,b={};function k(re,L,j){this.props=re,this.context=L,this.refs=b,this.updater=j||g}k.prototype.isReactComponent={},k.prototype.setState=function(re,L){if(typeof re!="object"&&typeof re!="function"&&re!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,re,L,"setState")},k.prototype.forceUpdate=function(re){this.updater.enqueueForceUpdate(this,re,"forceUpdate")};function w(){}w.prototype=k.prototype;function x(re,L,j){this.props=re,this.context=L,this.refs=b,this.updater=j||g}var F=x.prototype=new w;F.constructor=x,v(F,k.prototype),F.isPureReactComponent=!0;var _=Array.isArray;function T(){}var B={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function P(re,L,j){var $=j.ref;return{$$typeof:t,type:re,key:L,ref:$!==void 0?$:null,props:j}}function G(re,L){return P(re.type,L,re.props)}function U(re){return typeof re=="object"&&re!==null&&re.$$typeof===t}function R(re){var L={"=":"=0",":":"=2"};return"$"+re.replace(/[=:]/g,function(j){return L[j]})}var ee=/\/+/g;function K(re,L){return typeof re=="object"&&re!==null&&re.key!=null?R(""+re.key):L.toString(36)}function le(re){switch(re.status){case"fulfilled":return re.value;case"rejected":throw re.reason;default:switch(typeof re.status=="string"?re.then(T,T):(re.status="pending",re.then(function(L){re.status==="pending"&&(re.status="fulfilled",re.value=L)},function(L){re.status==="pending"&&(re.status="rejected",re.reason=L)})),re.status){case"fulfilled":return re.value;case"rejected":throw re.reason}}throw re}function H(re,L,j,$,Y){var Z=typeof re;(Z==="undefined"||Z==="boolean")&&(re=null);var W=!1;if(re===null)W=!0;else switch(Z){case"bigint":case"string":case"number":W=!0;break;case"object":switch(re.$$typeof){case t:case e:W=!0;break;case d:return W=re._init,H(W(re._payload),L,j,$,Y)}}if(W)return Y=Y(re),W=$===""?"."+K(re,0):$,_(Y)?(j="",W!=null&&(j=W.replace(ee,"$&/")+"/"),H(Y,L,j,"",function(Se){return Se})):Y!=null&&(U(Y)&&(Y=G(Y,j+(Y.key==null||re&&re.key===Y.key?"":(""+Y.key).replace(ee,"$&/")+"/")+W)),L.push(Y)),1;W=0;var Ae=$===""?".":$+":";if(_(re))for(var ve=0;ve<re.length;ve++)$=re[ve],Z=Ae+K($,ve),W+=H($,L,j,Z,Y);else if(ve=m(re),typeof ve=="function")for(re=ve.call(re),ve=0;!($=re.next()).done;)$=$.value,Z=Ae+K($,ve++),W+=H($,L,j,Z,Y);else if(Z==="object"){if(typeof re.then=="function")return H(le(re),L,j,$,Y);throw L=String(re),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(re).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return W}function te(re,L,j){if(re==null)return re;var $=[],Y=0;return H(re,$,"","",function(Z){return L.call(j,Z,Y++)}),$}function X(re){if(re._status===-1){var L=re._result;L=L(),L.then(function(j){(re._status===0||re._status===-1)&&(re._status=1,re._result=j)},function(j){(re._status===0||re._status===-1)&&(re._status=2,re._result=j)}),re._status===-1&&(re._status=0,re._result=L)}if(re._status===1)return re._result.default;throw re._result}var de=typeof reportError=="function"?reportError:function(re){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof re=="object"&&re!==null&&typeof re.message=="string"?String(re.message):String(re),error:re});if(!window.dispatchEvent(L))return}else if(typeof bn=="object"&&typeof bn.emit=="function"){bn.emit("uncaughtException",re);return}console.error(re)},xe={map:te,forEach:function(re,L,j){te(re,function(){L.apply(this,arguments)},j)},count:function(re){var L=0;return te(re,function(){L++}),L},toArray:function(re){return te(re,function(L){return L})||[]},only:function(re){if(!U(re))throw Error("React.Children.only expected to receive a single React element child.");return re}};return qn.Activity=A,qn.Children=xe,qn.Component=k,qn.Fragment=n,qn.Profiler=r,qn.PureComponent=x,qn.StrictMode=i,qn.Suspense=l,qn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B,qn.__COMPILER_RUNTIME={__proto__:null,c:function(re){return B.H.useMemoCache(re)}},qn.cache=function(re){return function(){return re.apply(null,arguments)}},qn.cacheSignal=function(){return null},qn.cloneElement=function(re,L,j){if(re==null)throw Error("The argument must be a React element, but you passed "+re+".");var $=v({},re.props),Y=re.key;if(L!=null)for(Z in L.key!==void 0&&(Y=""+L.key),L)!O.call(L,Z)||Z==="key"||Z==="__self"||Z==="__source"||Z==="ref"&&L.ref===void 0||($[Z]=L[Z]);var Z=arguments.length-2;if(Z===1)$.children=j;else if(1<Z){for(var W=Array(Z),Ae=0;Ae<Z;Ae++)W[Ae]=arguments[Ae+2];$.children=W}return P(re.type,Y,$)},qn.createContext=function(re){return re={$$typeof:o,_currentValue:re,_currentValue2:re,_threadCount:0,Provider:null,Consumer:null},re.Provider=re,re.Consumer={$$typeof:a,_context:re},re},qn.createElement=function(re,L,j){var $,Y={},Z=null;if(L!=null)for($ in L.key!==void 0&&(Z=""+L.key),L)O.call(L,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(Y[$]=L[$]);var W=arguments.length-2;if(W===1)Y.children=j;else if(1<W){for(var Ae=Array(W),ve=0;ve<W;ve++)Ae[ve]=arguments[ve+2];Y.children=Ae}if(re&&re.defaultProps)for($ in W=re.defaultProps,W)Y[$]===void 0&&(Y[$]=W[$]);return P(re,Z,Y)},qn.createRef=function(){return{current:null}},qn.forwardRef=function(re){return{$$typeof:s,render:re}},qn.isValidElement=U,qn.lazy=function(re){return{$$typeof:d,_payload:{_status:-1,_result:re},_init:X}},qn.memo=function(re,L){return{$$typeof:c,type:re,compare:L===void 0?null:L}},qn.startTransition=function(re){var L=B.T,j={};B.T=j;try{var $=re(),Y=B.S;Y!==null&&Y(j,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(T,de)}catch(Z){de(Z)}finally{L!==null&&j.types!==null&&(L.types=j.types),B.T=L}},qn.unstable_useCacheRefresh=function(){return B.H.useCacheRefresh()},qn.use=function(re){return B.H.use(re)},qn.useActionState=function(re,L,j){return B.H.useActionState(re,L,j)},qn.useCallback=function(re,L){return B.H.useCallback(re,L)},qn.useContext=function(re){return B.H.useContext(re)},qn.useDebugValue=function(){},qn.useDeferredValue=function(re,L){return B.H.useDeferredValue(re,L)},qn.useEffect=function(re,L){return B.H.useEffect(re,L)},qn.useEffectEvent=function(re){return B.H.useEffectEvent(re)},qn.useId=function(){return B.H.useId()},qn.useImperativeHandle=function(re,L,j){return B.H.useImperativeHandle(re,L,j)},qn.useInsertionEffect=function(re,L){return B.H.useInsertionEffect(re,L)},qn.useLayoutEffect=function(re,L){return B.H.useLayoutEffect(re,L)},qn.useMemo=function(re,L){return B.H.useMemo(re,L)},qn.useOptimistic=function(re,L){return B.H.useOptimistic(re,L)},qn.useReducer=function(re,L,j){return B.H.useReducer(re,L,j)},qn.useRef=function(re){return B.H.useRef(re)},qn.useState=function(re){return B.H.useState(re)},qn.useSyncExternalStore=function(re,L,j){return B.H.useSyncExternalStore(re,L,j)},qn.useTransition=function(){return B.H.useTransition()},qn.version="19.2.3",qn}var l$;function m2(){return l$||(l$=1,yB.exports=H0e()),yB.exports}var N=m2();const se=Jk(N),TA=R0e({__proto__:null,default:se},[N]);var kB={exports:{}},X0={},bB={exports:{}},SB={};var c$;function z0e(){return c$||(c$=1,(function(t){function e(H,te){var X=H.length;H.push(te);e:for(;0<X;){var de=X-1>>>1,xe=H[de];if(0<r(xe,te))H[de]=te,H[X]=xe,X=de;else break e}}function n(H){return H.length===0?null:H[0]}function i(H){if(H.length===0)return null;var te=H[0],X=H.pop();if(X!==te){H[0]=X;e:for(var de=0,xe=H.length,re=xe>>>1;de<re;){var L=2*(de+1)-1,j=H[L],$=L+1,Y=H[$];if(0>r(j,X))$<xe&&0>r(Y,j)?(H[de]=Y,H[$]=X,de=$):(H[de]=j,H[L]=X,de=L);else if($<xe&&0>r(Y,X))H[de]=Y,H[$]=X,de=$;else break e}}return te}function r(H,te){var X=H.sortIndex-te.sortIndex;return X!==0?X:H.id-te.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();t.unstable_now=function(){return o.now()-s}}var l=[],c=[],d=1,A=null,h=3,m=!1,g=!1,v=!1,b=!1,k=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;function F(H){for(var te=n(c);te!==null;){if(te.callback===null)i(c);else if(te.startTime<=H)i(c),te.sortIndex=te.expirationTime,e(l,te);else break;te=n(c)}}function _(H){if(v=!1,F(H),!g)if(n(l)!==null)g=!0,T||(T=!0,R());else{var te=n(c);te!==null&&le(_,te.startTime-H)}}var T=!1,B=-1,O=5,P=-1;function G(){return b?!0:!(t.unstable_now()-P<O)}function U(){if(b=!1,T){var H=t.unstable_now();P=H;var te=!0;try{e:{g=!1,v&&(v=!1,w(B),B=-1),m=!0;var X=h;try{t:{for(F(H),A=n(l);A!==null&&!(A.expirationTime>H&&G());){var de=A.callback;if(typeof de=="function"){A.callback=null,h=A.priorityLevel;var xe=de(A.expirationTime<=H);if(H=t.unstable_now(),typeof xe=="function"){A.callback=xe,F(H),te=!0;break t}A===n(l)&&i(l),F(H)}else i(l);A=n(l)}if(A!==null)te=!0;else{var re=n(c);re!==null&&le(_,re.startTime-H),te=!1}}break e}finally{A=null,h=X,m=!1}te=void 0}}finally{te?R():T=!1}}}var R;if(typeof x=="function")R=function(){x(U)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,K=ee.port2;ee.port1.onmessage=U,R=function(){K.postMessage(null)}}else R=function(){k(U,0)};function le(H,te){B=k(function(){H(t.unstable_now())},te)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(H){H.callback=null},t.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<H?Math.floor(1e3/H):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_next=function(H){switch(h){case 1:case 2:case 3:var te=3;break;default:te=h}var X=h;h=te;try{return H()}finally{h=X}},t.unstable_requestPaint=function(){b=!0},t.unstable_runWithPriority=function(H,te){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var X=h;h=H;try{return te()}finally{h=X}},t.unstable_scheduleCallback=function(H,te,X){var de=t.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?de+X:de):X=de,H){case 1:var xe=-1;break;case 2:xe=250;break;case 5:xe=1073741823;break;case 4:xe=1e4;break;default:xe=5e3}return xe=X+xe,H={id:d++,callback:te,priorityLevel:H,startTime:X,expirationTime:xe,sortIndex:-1},X>de?(H.sortIndex=X,e(c,H),n(l)===null&&H===n(c)&&(v?(w(B),B=-1):v=!0,le(_,X-de))):(H.sortIndex=xe,e(l,H),g||m||(g=!0,T||(T=!0,R()))),H},t.unstable_shouldYield=G,t.unstable_wrapCallback=function(H){var te=h;return function(){var X=h;h=te;try{return H.apply(this,arguments)}finally{h=X}}}})(SB)),SB}var d$;function V0e(){return d$||(d$=1,bB.exports=z0e()),bB.exports}var wB={exports:{}},zo={};var u$;function G0e(){if(u$)return zo;u$=1;var t=m2();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 A=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:A==null?null:""+A,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 zo.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,zo.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)},zo.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()}},zo.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))},zo.prefetchDNS=function(l){typeof l=="string"&&i.d.D(l)},zo.preinit=function(l,c){if(typeof l=="string"&&c&&typeof c.as=="string"){var d=c.as,A=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:A,integrity:h,fetchPriority:m}):d==="script"&&i.d.X(l,{crossOrigin:A,integrity:h,fetchPriority:m,nonce:typeof c.nonce=="string"?c.nonce:void 0})}},zo.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)},zo.preload=function(l,c){if(typeof l=="string"&&typeof c=="object"&&c!==null&&typeof c.as=="string"){var d=c.as,A=s(d,c.crossOrigin);i.d.L(l,d,{crossOrigin:A,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})}},zo.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)},zo.requestFormReset=function(l){i.d.r(l)},zo.unstable_batchedUpdates=function(l,c){return l(c)},zo.useFormState=function(l,c,d){return o.H.useFormState(l,c,d)},zo.useFormStatus=function(){return o.H.useHostTransitionStatus()},zo.version="19.2.3",zo}var A$;function gX(){if(A$)return wB.exports;A$=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(),wB.exports=G0e(),wB.exports}var f$;function q0e(){if(f$)return X0;f$=1;var t=V0e(),e=m2(),n=gX();function i(u){var f="https://react.dev/errors/"+u;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)f+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+u+"; visit "+f+" 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 f=u,p=u;if(u.alternate)for(;f.return;)f=f.return;else{u=f;do f=u,(f.flags&4098)!==0&&(p=f.return),u=f.return;while(u)}return f.tag===3?p:null}function o(u){if(u.tag===13){var f=u.memoizedState;if(f===null&&(u=u.alternate,u!==null&&(f=u.memoizedState)),f!==null)return f.dehydrated}return null}function s(u){if(u.tag===31){var f=u.memoizedState;if(f===null&&(u=u.alternate,u!==null&&(f=u.memoizedState)),f!==null)return f.dehydrated}return null}function l(u){if(a(u)!==u)throw Error(i(188))}function c(u){var f=u.alternate;if(!f){if(f=a(u),f===null)throw Error(i(188));return f!==u?null:u}for(var p=u,S=f;;){var E=p.return;if(E===null)break;var I=E.alternate;if(I===null){if(S=E.return,S!==null){p=S;continue}break}if(E.child===I.child){for(I=E.child;I;){if(I===p)return l(E),u;if(I===S)return l(E),f;I=I.sibling}throw Error(i(188))}if(p.return!==S.return)p=E,S=I;else{for(var ce=!1,we=E.child;we;){if(we===p){ce=!0,p=E,S=I;break}if(we===S){ce=!0,S=E,p=I;break}we=we.sibling}if(!ce){for(we=I.child;we;){if(we===p){ce=!0,p=I,S=E;break}if(we===S){ce=!0,S=I,p=E;break}we=we.sibling}if(!ce)throw Error(i(189))}}if(p.alternate!==S)throw Error(i(190))}if(p.tag!==3)throw Error(i(188));return p.stateNode.current===p?u:f}function d(u){var f=u.tag;if(f===5||f===26||f===27||f===6)return u;for(u=u.child;u!==null;){if(f=d(u),f!==null)return f;u=u.sibling}return null}var A=Object.assign,h=Symbol.for("react.element"),m=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),x=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),P=Symbol.for("react.activity"),G=Symbol.for("react.memo_cache_sentinel"),U=Symbol.iterator;function R(u){return u===null||typeof u!="object"?null:(u=U&&u[U]||u["@@iterator"],typeof u=="function"?u:null)}var ee=Symbol.for("react.client.reference");function K(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===ee?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case v:return"Fragment";case k:return"Profiler";case b:return"StrictMode";case _:return"Suspense";case T:return"SuspenseList";case P:return"Activity"}if(typeof u=="object")switch(u.$$typeof){case g:return"Portal";case x:return u.displayName||"Context";case w:return(u._context.displayName||"Context")+".Consumer";case F:var f=u.render;return u=u.displayName,u||(u=f.displayName||f.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case B:return f=u.displayName||null,f!==null?f:K(u.type)||"Memo";case O:f=u._payload,u=u._init;try{return K(u(f))}catch{}}return null}var le=Array.isArray,H=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X={pending:!1,data:null,method:null,action:null},de=[],xe=-1;function re(u){return{current:u}}function L(u){0>xe||(u.current=de[xe],de[xe]=null,xe--)}function j(u,f){xe++,de[xe]=u.current,u.current=f}var $=re(null),Y=re(null),Z=re(null),W=re(null);function Ae(u,f){switch(j(Z,f),j(Y,u),j($,null),f.nodeType){case 9:case 11:u=(u=f.documentElement)&&(u=u.namespaceURI)?FM(u):0;break;default:if(u=f.tagName,f=f.namespaceURI)f=FM(f),u=_M(f,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}L($),j($,u)}function ve(){L($),L(Y),L(Z)}function Se(u){u.memoizedState!==null&&j(W,u);var f=$.current,p=_M(f,u.type);f!==p&&(j(Y,u),j($,p))}function ae(u){Y.current===u&&(L($),L(Y)),W.current===u&&(L(W),G0._currentValue=X)}var oe,Ee;function Me(u){if(oe===void 0)try{throw Error()}catch(p){var f=p.stack.trim().match(/\n( *(at )?)/);oe=f&&f[1]||"",Ee=-1<p.stack.indexOf(`
|
|
3
3
|
at`)?" (<anonymous>)":-1<p.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
4
4
|
`+oe+u+Ee}var ge=!1;function ue(u,f){if(!u||ge)return"";ge=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var S={DetermineComponentFrameRoot:function(){try{if(f){var wt=function(){throw Error()};if(Object.defineProperty(wt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(wt,[])}catch(ut){var st=ut}Reflect.construct(u,[],wt)}else{try{wt.call()}catch(ut){st=ut}u.call(wt.prototype)}}else{try{throw Error()}catch(ut){st=ut}(wt=u())&&typeof wt.catch=="function"&&wt.catch(function(){})}}catch(ut){if(ut&&st&&typeof ut.stack=="string")return[ut.stack,st.stack]}return[null,null]}};S.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var E=Object.getOwnPropertyDescriptor(S.DetermineComponentFrameRoot,"name");E&&E.configurable&&Object.defineProperty(S.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var I=S.DetermineComponentFrameRoot(),ce=I[0],we=I[1];if(ce&&we){var $e=ce.split(`
|
|
@@ -141,7 +141,7 @@ T* `):M.join(` Tj
|
|
|
141
141
|
endobj\r
|
|
142
142
|
`},n.outline.count_r=function(i,r){for(var a=0;a<r.children.length;a++)i.count++,this.count_r(i,r.children[a]);return i.count}}])})(gn.API),(function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(n,i,r,a,o,s){var l,c=this.decode.DCT_DECODE,d=null;if(typeof n=="string"||this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n)){switch(n=o||n,n=this.__addimage__.isArrayBuffer(n)?new Uint8Array(n):n,l=(function(A){for(var h,m=256*A.charCodeAt(4)+A.charCodeAt(5),g=A.length,v={width:0,height:0,numcomponents:1},b=4;b<g;b+=2){if(b+=m,e.indexOf(A.charCodeAt(b+1))!==-1){h=256*A.charCodeAt(b+5)+A.charCodeAt(b+6),v={width:256*A.charCodeAt(b+7)+A.charCodeAt(b+8),height:h,numcomponents:A.charCodeAt(b+9)};break}m=256*A.charCodeAt(b+2)+A.charCodeAt(b+3)}return v})(n=this.__addimage__.isArrayBufferView(n)?this.__addimage__.arrayBufferToBinaryString(n):n),l.numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}d={data:n,width:l.width,height:l.height,colorSpace:s,bitsPerComponent:8,filter:c,index:i,alias:r}}return d}})(gn.API),gn.API.processPNG=function(t,e,n,i){if(this.__addimage__.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.__addimage__.isArrayBufferView(t)){var r,a=uGe(t,{checkCrc:!0}),o=a.width,s=a.height,l=a.channels,c=a.palette,d=a.depth;r=c&&l===1?(function(O){for(var P=O.width,G=O.height,U=O.data,R=O.palette,ee=O.depth,K=!1,le=[],H=[],te=void 0,X=!1,de=0,xe=0;xe<R.length;xe++){var re=XG(R[xe],4),L=re[0],j=re[1],$=re[2],Y=re[3];le.push(L,j,$),Y!=null&&(Y===0?(de++,H.length<1&&H.push(xe)):Y<255&&(X=!0))}if(X||de>1){K=!0,H=void 0;var Z=P*G;te=new Uint8Array(Z);for(var W=new DataView(U.buffer),Ae=0;Ae<Z;Ae++){var ve=m4(W,Ae,ee),Se=XG(R[ve],4)[3];te[Ae]=Se}}else de===0&&(H=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:K?8:void 0,colorBytes:U,alphaBytes:te,needSMask:K,palette:le,mask:H}})(a):l===2||l===4?(function(O){for(var P=O.data,G=O.width,U=O.height,R=O.channels,ee=O.depth,K=R===2?"DeviceGray":"DeviceRGB",le=R-1,H=G*U,te=le,X=H*te,de=1*H,xe=Math.ceil(X*ee/8),re=Math.ceil(de*ee/8),L=new Uint8Array(xe),j=new Uint8Array(re),$=new DataView(P.buffer),Y=new DataView(L.buffer),Z=new DataView(j.buffer),W=!1,Ae=0;Ae<H;Ae++){for(var ve=Ae*R,Se=0;Se<te;Se++)nK(Y,m4($,ve+Se,ee),Ae*te+Se,ee);var ae=m4($,ve+te,ee);ae<(1<<ee)-1&&(W=!0),nK(Z,ae,1*Ae,ee)}return{colorSpace:K,colorsPerPixel:le,sMaskBitsPerComponent:W?ee:void 0,colorBytes:L,alphaBytes:j,needSMask:W}})(a):(function(O){var P=O.data,G=O.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:G,colorsPerPixel:G==="DeviceGray"?1:3,colorBytes:P instanceof Uint16Array?(function(U){for(var R=U.length,ee=new Uint8Array(2*R),K=new DataView(ee.buffer,ee.byteOffset,ee.byteLength),le=0;le<R;le++)K.setUint16(2*le,U[le],!1);return ee})(P):P,needSMask:!1}})(a);var A,h,m,g=r,v=g.colorSpace,b=g.colorsPerPixel,k=g.sMaskBitsPerComponent,w=g.colorBytes,x=g.alphaBytes,F=g.needSMask,_=g.palette,T=g.mask,B=null;return i!==gn.API.image_compression.NONE&&typeof xO=="function"?(B=(function(O){var P;switch(O){case gn.API.image_compression.FAST:P=11;break;case gn.API.image_compression.MEDIUM:P=13;break;case gn.API.image_compression.SLOW:P=14;break;default:P=12}return P})(i),A=this.decode.FLATE_DECODE,h="/Predictor ".concat(B," /Colors ").concat(b," /BitsPerComponent ").concat(d," /Columns ").concat(o),t=Xq(w,Math.ceil(o*b*d/8),b,d,i),F&&(m=Xq(x,Math.ceil(o*k/8),1,k,i))):(A=void 0,h=void 0,t=w,F&&(m=x)),(this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t))&&(t=this.__addimage__.arrayBufferToBinaryString(t)),(m&&this.__addimage__.isArrayBuffer(m)||this.__addimage__.isArrayBufferView(m))&&(m=this.__addimage__.arrayBufferToBinaryString(m)),{alias:n,data:t,index:e,filter:A,decodeParameters:h,transparency:T,palette:_,sMask:m,predictor:B,width:o,height:s,bitsPerComponent:d,sMaskBitsPerComponent:k,colorSpace:v}}},(function(t){t.processGIF89A=function(e,n,i,r){var a=new TGe(e),o=a.width,s=a.height,l=[];a.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:o,height:s},d=new h4(100).encode(c,100);return t.processJPEG.call(this,d,n,i,r)},t.processGIF87A=t.processGIF89A})(gn.API),rd.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)},rd.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){Sr.log("bit decode error:"+n)}},rd.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)}},rd.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)}},rd.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)}},rd.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}},rd.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}},rd.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}},rd.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}},rd.prototype.getData=function(){return this.data},(function(t){t.processBMP=function(e,n,i,r){var a=new rd(e,!1),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new h4(100).encode(l,100);return t.processJPEG.call(this,c,n,i,r)}})(gn.API),rK.prototype.getData=function(){return this.data},(function(t){t.processWEBP=function(e,n,i,r){var a=new rK(e),o=a.width,s=a.height,l={data:a.getData(),width:o,height:s},c=new h4(100).encode(l,100);return t.processJPEG.call(this,c,n,i,r)}})(gn.API),gn.API.processRGBA=function(t,e,n){for(var i=t.data,r=i.length,a=new Uint8Array(r/4*3),o=new Uint8Array(r/4),s=0,l=0,c=0;c<r;c+=4){var d=i[c],A=i[c+1],h=i[c+2],m=i[c+3];a[s++]=d,a[s++]=A,a[s++]=h,o[l++]=m}var g=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(o),data:g,index:e,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},gn.API.setLanguage=function(t){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},kg=gn.API,yw=kg.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,A=e.doKerning!==!1,h=0,m=t.length,g=0,v=s[0]||l,b=[];for(n=0;n<m;n++)i=t.charCodeAt(n),typeof r.metadata.widthOfString=="function"?b.push((r.metadata.widthOfGlyph(r.metadata.characterToGlyph(i))+o*(1e3/a)||0)/1e3):(h=A&&lr(c[i])==="object"&&!isNaN(parseInt(c[i][g],10))?c[i][g]/d:0,b.push((s[i]||v)/l+h)),g=i;return b},Kq=kg.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 kg.processArabic&&(t=kg.processArabic(t)),typeof i.metadata.widthOfString=="function"?i.metadata.widthOfString(t,n,r)/n:yw.apply(this,arguments).reduce(function(a,o){return a+o},0)},Wq=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},Yq=function(t,e,n){n||(n={});var i,r,a,o,s,l,c,d=[],A=[d],h=n.textIndent||0,m=0,g=0,v=t.split(" "),b=yw.apply(this,[" ",n])[0];if(l=n.lineIndent===-1?v[0].length+2:n.lineIndent||0){var k=Array(l).join(" "),w=[];v.map(function(F){(F=F.split(/\s*\n/)).length>1?w=w.concat(F.map(function(_,T){return(T&&_.length?`
|
|
143
143
|
`:"")+_})):w.push(F[0])}),v=w,l=Kq.apply(this,[k,n])}for(a=0,o=v.length;a<o;a++){var x=0;if(i=v[a],l&&i[0]==`
|
|
144
|
-
`&&(i=i.substr(1),x=1),h+m+(g=(r=yw.apply(this,[i,n])).reduce(function(F,_){return F+_},0))>e||x){if(g>e){for(s=Wq.apply(this,[i,r,e-(h+m),e]),d.push(s.shift()),d=[s.pop()];s.length;)A.push([s.shift()]);g=r.slice(i.length-(d[0]?d[0].length:0)).reduce(function(F,_){return F+_},0)}else d=[i];A.push(d),h=g+l,m=b}else d.push(i),h+=m+g,m=b}return c=l?function(F,_){return(_?k:"")+F.join(" ")}:function(F){return F.join(" ")},A.map(c)},kg.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 A=this.internal.getFont(d.fontName,d.fontStyle),h="Unicode";return A.metadata[h]?{widths:A.metadata[h].widths||{0:1},kerning:A.metadata[h].kerning||{}}:{font:A.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(Yq.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,g,v,b,k=["{"];for(var w in h){if(m=h[w],isNaN(parseInt(w,10))?g="'"+w+"'":(w=parseInt(w,10),g=(g=o(w).slice(2)).slice(0,-1)+r[g.slice(-1)]),typeof m=="number")m<0?(v=o(m).slice(3),b="-"):(v=o(m).slice(2),b=""),v=b+v.slice(0,-1)+r[v.slice(-1)];else{if(lr(m)!=="object")throw new Error("Don't know what to do with value type "+lr(m)+".");v=s(m)}k.push(g+v)}return k.push("}"),k.join("")},l=t.__fontmetrics__.uncompress=function(h){if(typeof h!="string")throw new Error("Invalid argument passed to uncompress.");for(var m,g,v,b,k={},w=1,x=k,F=[],_="",T="",B=h.length-1,O=1;O<B;O+=1)(b=h[O])=="'"?m?(v=m.join(""),m=void 0):m=[]:m?m.push(b):b=="{"?(F.push([x,v]),x={},v=void 0):b=="}"?((g=F.pop())[0][g[1]]=x,v=void 0,x=g[0]):b=="-"?w=-1:v===void 0?i.hasOwnProperty(b)?(_+=i[b],v=parseInt(_,16)*w,w=1,_=""):_+=b:i.hasOwnProperty(b)?(T+=i[b],x[v]=parseInt(T,16)*w,w=1,v=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}},A={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,g=A.Unicode[m.postScriptName];g&&(m.metadata.Unicode={},m.metadata.Unicode.widths=g.widths,m.metadata.Unicode.kerning=g.kerning);var v=d.Unicode[m.postScriptName];v&&(m.metadata.Unicode.encoding=v,m.encoding=v.codePages[0])}])})(gn.API),(function(t){var e=function(n){for(var i=n.length,r=new Uint8Array(i),a=0;a<i;a++)r[a]=n.charCodeAt(a);return r};t.API.events.push(["addFont",function(n){var i=void 0,r=n.font,a=n.instance;if(!r.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");if(typeof(i=a.existsFileInVFS(r.postScriptName)===!1?a.loadFile(r.postScriptName):a.getFileFromVFS(r.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");(function(o,s){s=/^\x00\x01\x00\x00/.test(s)?e(s):e(bN(s)),o.metadata=t.API.TTFFont.open(s),o.metadata.Unicode=o.metadata.Unicode||{encoding:{},kerning:{},widths:[]},o.metadata.glyIdsUsed=[0]})(r,i)}}])})(gn),gn.API.addSvgAsImage=function(t,e,n,i,r,a,o,s){if(isNaN(e)||isNaN(n))throw Sr.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(r))throw Sr.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},A=this;return(Qn.canvg?Promise.resolve(Qn.canvg):fi(()=>import("./index.es-C-OPtuEn.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(){A.addImage(l.toDataURL("image/jpeg",1),e,n,i,r,o,s)})},gn.API.putTotalPages=function(t){var e,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),n=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var i=1;i<=this.internal.getNumberOfPages();i++)for(var r=0;r<this.internal.pages[i].length;r++)this.internal.pages[i][r]=this.internal.pages[i][r].replace(e,n);return this},gn.API.viewerPreferences=function(t,e){var n;t=t||{},e=e||!1;var i,r,a,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(o),l=[],c=0,d=0,A=0;function h(g,v){var b,k=!1;for(b=0;b<g.length;b+=1)g[b]===v&&(k=!0);return k}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,t==="reset"||e===!0){var m=s.length;for(A=0;A<m;A+=1)n[s[A]].value=n[s[A]].defaultValue,n[s[A]].explicitSet=!1}if(lr(t)==="object"){for(r in t)if(a=t[r],h(s,r)&&a!==void 0){if(n[r].type==="boolean"&&typeof a=="boolean")n[r].value=a;else if(n[r].type==="name"&&h(n[r].valueSet,a))n[r].value=a;else if(n[r].type==="integer"&&Number.isInteger(a))n[r].value=a;else if(n[r].type==="array"){for(c=0;c<a.length;c+=1)if(i=!0,a[c].length===1&&typeof a[c][0]=="number")l.push(String(a[c]-1));else if(a[c].length>1){for(d=0;d<a[c].length;d+=1)typeof a[c][d]!="number"&&(i=!1);i===!0&&l.push([a[c][0]-1,a[c][1]-1].join(" "))}n[r].value="["+l.join(" ")+"]"}else n[r].value=n[r].defaultValue;n[r].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var g,v=[];for(g in n)n[g].explicitSet===!0&&(n[g].type==="name"?v.push("/"+g+" /"+n[g].value):v.push("/"+g+" "+n[g].value));v.length!==0&&this.internal.write(`/ViewerPreferences
|
|
144
|
+
`&&(i=i.substr(1),x=1),h+m+(g=(r=yw.apply(this,[i,n])).reduce(function(F,_){return F+_},0))>e||x){if(g>e){for(s=Wq.apply(this,[i,r,e-(h+m),e]),d.push(s.shift()),d=[s.pop()];s.length;)A.push([s.shift()]);g=r.slice(i.length-(d[0]?d[0].length:0)).reduce(function(F,_){return F+_},0)}else d=[i];A.push(d),h=g+l,m=b}else d.push(i),h+=m+g,m=b}return c=l?function(F,_){return(_?k:"")+F.join(" ")}:function(F){return F.join(" ")},A.map(c)},kg.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 A=this.internal.getFont(d.fontName,d.fontStyle),h="Unicode";return A.metadata[h]?{widths:A.metadata[h].widths||{0:1},kerning:A.metadata[h].kerning||{}}:{font:A.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(Yq.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,g,v,b,k=["{"];for(var w in h){if(m=h[w],isNaN(parseInt(w,10))?g="'"+w+"'":(w=parseInt(w,10),g=(g=o(w).slice(2)).slice(0,-1)+r[g.slice(-1)]),typeof m=="number")m<0?(v=o(m).slice(3),b="-"):(v=o(m).slice(2),b=""),v=b+v.slice(0,-1)+r[v.slice(-1)];else{if(lr(m)!=="object")throw new Error("Don't know what to do with value type "+lr(m)+".");v=s(m)}k.push(g+v)}return k.push("}"),k.join("")},l=t.__fontmetrics__.uncompress=function(h){if(typeof h!="string")throw new Error("Invalid argument passed to uncompress.");for(var m,g,v,b,k={},w=1,x=k,F=[],_="",T="",B=h.length-1,O=1;O<B;O+=1)(b=h[O])=="'"?m?(v=m.join(""),m=void 0):m=[]:m?m.push(b):b=="{"?(F.push([x,v]),x={},v=void 0):b=="}"?((g=F.pop())[0][g[1]]=x,v=void 0,x=g[0]):b=="-"?w=-1:v===void 0?i.hasOwnProperty(b)?(_+=i[b],v=parseInt(_,16)*w,w=1,_=""):_+=b:i.hasOwnProperty(b)?(T+=i[b],x[v]=parseInt(T,16)*w,w=1,v=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}},A={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,g=A.Unicode[m.postScriptName];g&&(m.metadata.Unicode={},m.metadata.Unicode.widths=g.widths,m.metadata.Unicode.kerning=g.kerning);var v=d.Unicode[m.postScriptName];v&&(m.metadata.Unicode.encoding=v,m.encoding=v.codePages[0])}])})(gn.API),(function(t){var e=function(n){for(var i=n.length,r=new Uint8Array(i),a=0;a<i;a++)r[a]=n.charCodeAt(a);return r};t.API.events.push(["addFont",function(n){var i=void 0,r=n.font,a=n.instance;if(!r.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");if(typeof(i=a.existsFileInVFS(r.postScriptName)===!1?a.loadFile(r.postScriptName):a.getFileFromVFS(r.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");(function(o,s){s=/^\x00\x01\x00\x00/.test(s)?e(s):e(bN(s)),o.metadata=t.API.TTFFont.open(s),o.metadata.Unicode=o.metadata.Unicode||{encoding:{},kerning:{},widths:[]},o.metadata.glyIdsUsed=[0]})(r,i)}}])})(gn),gn.API.addSvgAsImage=function(t,e,n,i,r,a,o,s){if(isNaN(e)||isNaN(n))throw Sr.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(r))throw Sr.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},A=this;return(Qn.canvg?Promise.resolve(Qn.canvg):fi(()=>import("./index.es-D5j_e-90.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(){A.addImage(l.toDataURL("image/jpeg",1),e,n,i,r,o,s)})},gn.API.putTotalPages=function(t){var e,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),n=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var i=1;i<=this.internal.getNumberOfPages();i++)for(var r=0;r<this.internal.pages[i].length;r++)this.internal.pages[i][r]=this.internal.pages[i][r].replace(e,n);return this},gn.API.viewerPreferences=function(t,e){var n;t=t||{},e=e||!1;var i,r,a,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(o),l=[],c=0,d=0,A=0;function h(g,v){var b,k=!1;for(b=0;b<g.length;b+=1)g[b]===v&&(k=!0);return k}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,t==="reset"||e===!0){var m=s.length;for(A=0;A<m;A+=1)n[s[A]].value=n[s[A]].defaultValue,n[s[A]].explicitSet=!1}if(lr(t)==="object"){for(r in t)if(a=t[r],h(s,r)&&a!==void 0){if(n[r].type==="boolean"&&typeof a=="boolean")n[r].value=a;else if(n[r].type==="name"&&h(n[r].valueSet,a))n[r].value=a;else if(n[r].type==="integer"&&Number.isInteger(a))n[r].value=a;else if(n[r].type==="array"){for(c=0;c<a.length;c+=1)if(i=!0,a[c].length===1&&typeof a[c][0]=="number")l.push(String(a[c]-1));else if(a[c].length>1){for(d=0;d<a[c].length;d+=1)typeof a[c][d]!="number"&&(i=!1);i===!0&&l.push([a[c][0]-1,a[c][1]-1].join(" "))}n[r].value="["+l.join(" ")+"]"}else n[r].value=n[r].defaultValue;n[r].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var g,v=[];for(g in n)n[g].explicitSet===!0&&(n[g].type==="name"?v.push("/"+g+" /"+n[g].value):v.push("/"+g+" "+n[g].value));v.length!==0&&this.internal.write(`/ViewerPreferences
|
|
145
145
|
<<
|
|
146
146
|
`+v.join(`
|
|
147
147
|
`)+`
|
|
@@ -194,7 +194,7 @@ end`};e.events.push(["putFont",function(a){(function(o){var s=o.font,l=o.out,c=o
|
|
|
194
194
|
`),a=!1),Object.assign(Object.assign({},t),{allowNegative:a})}function MJe(t){t=UJe(t),t.decimalSeparator,t.allowedDecimalSeparators,t.thousandsGroupStyle;var e=t.suffix,n=t.allowNegative,i=t.allowLeadingZeros,r=t.onKeyDown;r===void 0&&(r=Hf);var a=t.onBlur;a===void 0&&(a=Hf);var o=t.thousandSeparator,s=t.decimalScale,l=t.fixedDecimalScale,c=t.prefix;c===void 0&&(c="");var d=t.defaultValue,A=t.value,h=t.valueIsNumericString,m=t.onValueChange,g=ude(t,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),v=j_(t),b=v.decimalSeparator,k=v.allowedDecimalSeparators,w=function(H){return xW(H,t)},x=function(H,te){return PJe(H,te,t)},F=fv(A)?d:A,_=h??RJe(F,c,e);fv(A)?fv(d)||(_=_||typeof d=="number"):_=_||typeof A=="number";var T=function(H){return Ade(H)?H:(typeof H=="number"&&(H=hde(H)),_&&typeof s=="number"?wW(H,s,!!l):H)},B=gde(T(A),T(d),!!_,w,x,m),O=B[0],P=O.numAsString,G=O.formattedValue,U=B[1],R=function(H){var te=H.target,X=H.key,de=te.selectionStart,xe=te.selectionEnd,re=te.value;if(re===void 0&&(re=""),(X==="Backspace"||X==="Delete")&&xe<c.length){H.preventDefault();return}if(de!==xe){r(H);return}X==="Backspace"&&re[0]==="-"&&de===c.length+1&&n&&ch(te,1),s&&l&&(X==="Backspace"&&re[de-1]===b?(ch(te,de-1),H.preventDefault()):X==="Delete"&&re[de]===b&&H.preventDefault()),k?.includes(X)&&re[de]===b&&ch(te,de+1);var L=o===!0?",":o;X==="Backspace"&&re[de-1]===L&&ch(te,de-1),X==="Delete"&&re[de]===L&&ch(te,de+1),r(H)},ee=function(H){var te=P;if(te.match(/\d/g)||(te=""),i||(te=SJe(te)),l&&s&&(te=wW(te,s,l)),te!==P){var X=xW(te,t);U({formattedValue:X,value:te,floatValue:parseFloat(te)},{event:H,source:Pk.event})}a(H)},K=function(H){return H===b?!0:Lk(H)},le=function(H){var te=H.currentValue,X=H.lastValue,de=H.formattedValue,xe=H.currentValueIndex,re=H.formattedValueIndex,L=te[xe],j=de[re],$=pde(X,te),Y=$.to,Z=function(W){return x(W).indexOf(".")+c.length};return A===0&&l&&s&&te[Y.start]===b&&Z(te)<xe&&Z(de)>re?!1:xe>=Y.start&&xe<Y.end&&k&&k.includes(L)&&j===b?!0:L===j};return Object.assign(Object.assign({},g),{value:G,valueIsNumericString:!1,isValidInputCharacter:K,isCharacterSame:le,onValueChange:U,format:w,removeFormatting:x,getCaretBoundary:function(H){return LJe(H,t)},onKeyDown:R,onBlur:ee})}function $Je(t){var e=MJe(t);return se.createElement(TJe,Object.assign({},e))}const vde=N.forwardRef(function({stepper:e,thousandSeparator:n,placeholder:i,defaultValue:r,min:a=-1/0,max:o=1/0,onValueChange:s,fixedDecimalScale:l=!1,decimalScale:c=0,suffix:d,prefix:A,value:h,hideControls:m=!1,onChange:g,...v},b){const[k,w]=N.useState(h??r),x=N.useCallback(()=>{w(B=>B===void 0?e??1:Math.min(B+(e??1),o))},[e,o]),F=N.useCallback(()=>{w(B=>B===void 0?-(e??1):Math.max(B-(e??1),a))},[e,a]);N.useEffect(()=>{const B=O=>{document.activeElement===b?.current&&(O.key==="ArrowUp"?x():O.key==="ArrowDown"&&F())};return window.addEventListener("keydown",B),()=>{window.removeEventListener("keydown",B)}},[x,F,b]),N.useEffect(()=>{h!==void 0&&w(h)},[h]);const _=B=>{const O=B.floatValue===void 0?void 0:B.floatValue;w(O),s&&s(O),g?.(O??void 0)},T=()=>{k!==void 0&&(k<a?(w(a),b.current.value=String(a)):k>o&&(w(o),b.current.value=String(o)))};return y.jsxs("div",{className:"flex items-center",children:[y.jsx($Je,{value:k,onValueChange:_,thousandSeparator:n,decimalScale:c,fixedDecimalScale:l,allowNegative:a<0,valueIsNumericString:!0,onBlur:T,max:o,min:a,suffix:d,prefix:A,customInput:Pn,placeholder:i,className:`[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none relative ${m?"":" rounded-r-none"}`,getInputRef:b,...v}),m?null:y.jsxs("div",{className:"flex flex-col",children:[y.jsx(jt,{"aria-label":"Increase value",className:"px-2 h-5 rounded-l-none rounded-br-none border-input border-l-0 border-b-[0.5px] focus-visible:relative",variant:"outline",onClick:x,disabled:k===o,children:y.jsx(au,{size:15})}),y.jsx(jt,{"aria-label":"Decrease value",className:"px-2 h-5 rounded-l-none rounded-tr-none border-input border-l-0 border-t-[0.5px] focus-visible:relative",variant:"outline",onClick:F,disabled:k===a,children:y.jsx(Oo,{size:15})})]})]})});function Rb(t,e){if(t==null)return{};var n={},i=Object.keys(t),r,a;for(a=0;a<i.length;a++)r=i[a],!(e.indexOf(r)>=0)&&(n[r]=t[r]);return n}var jJe=["color"],QJe=N.forwardRef(function(t,e){var n=t.color,i=n===void 0?"currentColor":n,r=Rb(t,jJe);return N.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{ref:e}),N.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:i,fillRule:"evenodd",clipRule:"evenodd"}))}),HJe=["color"],zJe=N.forwardRef(function(t,e){var n=t.color,i=n===void 0?"currentColor":n,r=Rb(t,HJe);return N.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{ref:e}),N.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:i,fillRule:"evenodd",clipRule:"evenodd"}))}),VJe=["color"],GJe=N.forwardRef(function(t,e){var n=t.color,i=n===void 0?"currentColor":n,r=Rb(t,VJe);return N.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{ref:e}),N.createElement("path",{d:"M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z",fill:i,fillRule:"evenodd",clipRule:"evenodd"}))}),qJe=["color"],KJe=N.forwardRef(function(t,e){var n=t.color,i=n===void 0?"currentColor":n,r=Rb(t,qJe);return N.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{ref:e}),N.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:i,fillRule:"evenodd",clipRule:"evenodd"}))}),WJe=["color"],YJe=N.forwardRef(function(t,e){var n=t.color,i=n===void 0?"currentColor":n,r=Rb(t,WJe);return N.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r,{ref:e}),N.createElement("path",{d:"M3.625 7.5C3.625 8.12132 3.12132 8.625 2.5 8.625C1.87868 8.625 1.375 8.12132 1.375 7.5C1.375 6.87868 1.87868 6.375 2.5 6.375C3.12132 6.375 3.625 6.87868 3.625 7.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM12.5 8.625C13.1213 8.625 13.625 8.12132 13.625 7.5C13.625 6.87868 13.1213 6.375 12.5 6.375C11.8787 6.375 11.375 6.87868 11.375 7.5C11.375 8.12132 11.8787 8.625 12.5 8.625Z",fill:i,fillRule:"evenodd",clipRule:"evenodd"}))});function yde({options:t,value:e,onChange:n,search:i,onSearchChange:r,placeholder:a,empty:o}){const[s,l]=N.useState(!1),c=N.useMemo(()=>Object.fromEntries(t.map(d=>[d.value,d.label.toLowerCase()])),[t]);return y.jsx("div",{className:"space-y-2 w-[300px]",children:y.jsxs(n3,{open:s,onOpenChange:l,children:[y.jsx(i3,{asChild:!0,children:y.jsxs(jt,{variant:"outline",role:"combobox","aria-expanded":s,className:"w-full justify-between bg-white px-3 font-normal outline-offset-0 hover:bg-white focus-visible:border-gray-950 focus-visible:outline-[3px] focus-visible:outline-ring/20 dark:bg-gray-950 dark:hover:bg-gray-950 dark:focus-visible:border-gray-300",children:[y.jsx("span",{className:Lt("truncate",!e&&"text-gray-500 dark:text-gray-400"),children:e?t.find(d=>d.value===e)?.label:"Select"}),y.jsx(zJe,{strokeWidth:2,className:"shrink-0 text-gray-500/80 dark:text-gray-400/80 size-4","aria-hidden":"true"})]})}),y.jsx(r3,{className:"w-full min-w-[var(--radix-popper-anchor-width)] border-gray-200 p-0 dark:border-gray-800",align:"start",children:y.jsxs(K6,{filter:(d,A)=>{const h=A.toLowerCase();return c[d]?.includes(h)?1:0},children:[y.jsx(W6,{placeholder:a||"Search...",onValueChange:r,value:i||""}),y.jsxs(Y6,{children:[y.jsx(X6,{children:o}),y.jsx(YF,{children:t.map(d=>y.jsxs(Kg,{value:d.value,onSelect:A=>{n(A===e?null:A),l(!1)},children:[d.label,e===d.value&&y.jsx(QJe,{strokeWidth:2,className:"ml-auto size-4"})]},d.value))})]})]})})]})})}const kde=()=>{const[{data:t,fetching:e,error:n},i]=is({query:i2e});n&&(console.error(`Error fetching tags: ${n}`),un.error("Error",{description:"Unable to fetch tags"}));const r=N.useMemo(()=>x2e(t?.allTags??[]),[t]),a=N.useMemo(()=>r.map(o=>({value:o.id,label:o.name,description:o.namePath?`${o.namePath.join(" > ")} >`:void 0})),[r]);return{fetching:e,refresh:()=>i(),tags:r,selectableTags:a}};function Lgt({formManager:t,tagsPath:e,setFetching:n,label:i,required:r=!1}){const{selectableTags:a,fetching:o}=kde();a.push({label:"None",value:eJ,description:void 0});const{control:s}=t;return N.useEffect(()=>{n&&n(o)},[o,n]),y.jsx(sd,{control:s,name:e,rules:{required:r?"Required":void 0,minLength:{value:2,message:"Minimum 2 characters"}},render:({field:l,fieldState:c})=>y.jsx(Ph,{className:"w-full",...l,data:a,label:i,itemComponent:bde,value:l.value,disabled:o,placeholder:"Scroll to see all options",maxDropdownHeight:160,searchable:!0,error:c.error?.message,withinPortal:!0,allowDeselect:!r,filter:(d,A)=>A.label?.toLowerCase().includes(d.toLowerCase().trim())||A.description?.toLowerCase().includes(d.toLowerCase().trim())})})}const bde=N.forwardRef(({label:t,description:e,...n},i)=>y.jsx("div",{ref:i,...n,children:y.jsx(Vre,{noWrap:!0,children:y.jsxs("div",{children:[e&&y.jsx(im,{size:"xs",opacity:.65,children:e}),y.jsx(im,{size:"sm",children:t})]})})}));bde.displayName="SelectTagItem";const XJe=[{value:nN.Approved,label:"🟢",description:"Approved"},{value:nN.Pending,label:"🟠",description:"Pending"},{value:nN.Unapproved,label:"🔴",description:"Unapproved"}];function Ugt(t){const{onChange:e,value:n}=t,[i,r]=N.useState(n??nN.Unapproved);function a(o){r(o),e(o)}return N.useEffect(()=>{n&&r(n)},[n]),y.jsx(Ph,{className:"text-center",itemComponent:JJe,value:i,onChange:a,onClick:o=>(o.stopPropagation(),o),data:XJe,size:"xs",styles:{input:{textAlign:"center"}}})}const ZJe=({description:t,...e},n)=>y.jsx("div",{ref:n,...e,children:y.jsx(im,{className:"whitespace-nowrap",size:"xs",opacity:.65,children:t})}),JJe=N.forwardRef(ZJe),eet=()=>y.jsxs("div",{className:"flex flex-col justify-center items-center content-center h-screen",children:[y.jsx(UXe,{name:"logo",className:"max-w-xs"}),y.jsx(l_,{className:"flex self-center",color:"dark",size:"xl",variant:"dots"})]});function Q_({labels:t={cancel:"Cancel",confirm:"Confirm"},title:e,onConfirm:n,onClose:i,children:r}){const[a,o]=N.useState(!1);return y.jsxs(QA,{open:a,onOpenChange:o,children:[y.jsx(P2,{asChild:!0,onClick:s=>{s.stopPropagation(),o(l=>!l)},children:r}),y.jsxs(HA,{className:"sm:max-w-[425px]",children:[y.jsx(Du,{children:e&&y.jsx(Tu,{children:e})}),y.jsxs(Zh,{children:[y.jsx(jt,{onClick:()=>{o(!1),i?.()},variant:"secondary",children:t.cancel}),y.jsx(jt,{onClick:()=>{o(!1),n()},variant:"default",children:t.confirm})]})]})]})}const tet=({children:t,position:e,title:n,withOverlay:i=!1,withCloseButton:r=!0,opened:a=!1,onClose:o=()=>{}})=>y.jsx(J6,{direction:e,open:a,onClose:o,modal:!1,children:y.jsx(e3,{asChild:!0,withOverlay:i,children:y.jsxs("div",{children:[y.jsxs(HZe,{className:"flex flex-row justify-between",children:[n,r&&y.jsx(jt,{size:"icon",className:"size-6",variant:"ghost",onClick:o,children:y.jsx(OA,{className:"size-4 text-gray-500"})})]}),y.jsx("div",{className:"mx-auto w-full px-4 pb-4",children:t})]})})}),Sde=({onDone:t,onChange:e,documentId:n})=>n?y.jsx(tet,{modalSize:"fit-content",position:"bottom",opened:!!n,onClose:t,title:y.jsxs("div",{className:"flex flex-row mx-3 pt-3 sm:text-1xl gap-5",children:[y.jsx("h1",{className:"sm:text-2xl font-small text-gray-900",children:"Edit Document"}),y.jsxs("div",{className:"flex flex-row gap-2",children:["ID: ",n,y.jsx(gu,{content:"Copy ID",children:y.jsx(DMe,{content:n})}),y.jsx(WGe,{documentId:n}),y.jsx(OMe,{documentId:n})]})]}),children:y.jsx(pXe,{documentId:n,onDone:t,onChange:e})}):null,wde=Object.freeze({status:"aborted"});function et(t,e,n){function i(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:o,traits:new Set},enumerable:!1}),s._zod.traits.has(t))return;s._zod.traits.add(t),e(s,l);const c=o.prototype,d=Object.keys(c);for(let A=0;A<d.length;A++){const h=d[A];h in s||(s[h]=c[h].bind(s))}}const r=n?.Parent??Object;class a extends r{}Object.defineProperty(a,"name",{value:t});function o(s){var l;const c=n?.Parent?new a:this;i(c,s),(l=c._zod).deferred??(l.deferred=[]);for(const d of c._zod.deferred)d();return c}return Object.defineProperty(o,"init",{value:i}),Object.defineProperty(o,Symbol.hasInstance,{value:s=>n?.Parent&&s instanceof n.Parent?!0:s?._zod?.traits?.has(t)}),Object.defineProperty(o,"name",{value:t}),o}const Nde=Symbol("zod_brand");class Nh extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class H_ extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}const XF={};function rs(t){return t&&Object.assign(XF,t),XF}function net(t){return t}function iet(t){return t}function ret(t){}function aet(t){throw new Error("Unexpected value in exhaustive check")}function oet(t){}function o3(t){const e=Object.values(t).filter(i=>typeof i=="number");return Object.entries(t).filter(([i,r])=>e.indexOf(+i)===-1).map(([i,r])=>r)}function Ot(t,e="|"){return t.map(n=>Rn(n)).join(e)}function ZF(t,e){return typeof e=="bigint"?e.toString():e}function Pb(t){return{get value(){{const e=t();return Object.defineProperty(this,"value",{value:e}),e}}}}function cp(t){return t==null}function z_(t){const e=t.startsWith("^")?1:0,n=t.endsWith("$")?t.length-1:t.length;return t.slice(e,n)}function xde(t,e){const n=(t.toString().split(".")[1]||"").length,i=e.toString();let r=(i.split(".")[1]||"").length;if(r===0&&/\d?e-\d?/.test(i)){const l=i.match(/\d?e-(\d?)/);l?.[1]&&(r=Number.parseInt(l[1]))}const a=n>r?n:r,o=Number.parseInt(t.toFixed(a).replace(".","")),s=Number.parseInt(e.toFixed(a).replace(".",""));return o%s/10**a}const FW=Symbol("evaluating");function di(t,e,n){let i;Object.defineProperty(t,e,{get(){if(i!==FW)return i===void 0&&(i=FW,i=n()),i},set(r){Object.defineProperty(t,e,{value:r})},configurable:!0})}function set(t){return Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t))}function Nm(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Mu(...t){const e={};for(const n of t){const i=Object.getOwnPropertyDescriptors(n);Object.assign(e,i)}return Object.defineProperties({},e)}function cet(t){return Mu(t._zod.def)}function det(t,e){return e?e.reduce((n,i)=>n?.[i],t):t}function uet(t){const e=Object.keys(t),n=e.map(i=>t[i]);return Promise.all(n).then(i=>{const r={};for(let a=0;a<e.length;a++)r[e[a]]=i[a];return r})}function Aet(t=10){const e="abcdefghijklmnopqrstuvwxyz";let n="";for(let i=0;i<t;i++)n+=e[Math.floor(Math.random()*e.length)];return n}function WO(t){return JSON.stringify(t)}function Fde(t){return t.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const s3="captureStackTrace"in Error?Error.captureStackTrace:(...t)=>{};function Lv(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}const _de=Pb(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const t=Function;return new t(""),!0}catch{return!1}});function Hh(t){if(Lv(t)===!1)return!1;const e=t.constructor;if(e===void 0||typeof e!="function")return!0;const n=e.prototype;return!(Lv(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function V_(t){return Hh(t)?{...t}:Array.isArray(t)?[...t]:t}function fet(t){let e=0;for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&e++;return e}const met=t=>{const e=typeof t;switch(e){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(t)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(t)?"array":t===null?"null":t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?"promise":typeof Map<"u"&&t instanceof Map?"map":typeof Set<"u"&&t instanceof Set?"set":typeof Date<"u"&&t instanceof Date?"date":typeof File<"u"&&t instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${e}`)}},JF=new Set(["string","number","symbol"]),Cde=new Set(["string","number","bigint","boolean","symbol","undefined"]);function PA(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Dc(t,e,n){const i=new t._zod.constr(e??t._zod.def);return(!e||n?.parent)&&(i._zod.parent=t),i}function _t(t){const e=t;if(!e)return{};if(typeof e=="string")return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");e.error=e.message}return delete e.message,typeof e.error=="string"?{...e,error:()=>e.error}:e}function het(t){let e;return new Proxy({},{get(n,i,r){return e??(e=t()),Reflect.get(e,i,r)},set(n,i,r,a){return e??(e=t()),Reflect.set(e,i,r,a)},has(n,i){return e??(e=t()),Reflect.has(e,i)},deleteProperty(n,i){return e??(e=t()),Reflect.deleteProperty(e,i)},ownKeys(n){return e??(e=t()),Reflect.ownKeys(e)},getOwnPropertyDescriptor(n,i){return e??(e=t()),Reflect.getOwnPropertyDescriptor(e,i)},defineProperty(n,i,r){return e??(e=t()),Reflect.defineProperty(e,i,r)}})}function Rn(t){return typeof t=="bigint"?t.toString()+"n":typeof t=="string"?`"${t}"`:`${t}`}function Ede(t){return Object.keys(t).filter(e=>t[e]._zod.optin==="optional"&&t[e]._zod.optout==="optional")}const Bde={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Dde={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Tde(t,e){const n=t._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const a=Mu(t._zod.def,{get shape(){const o={};for(const s in e){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);e[s]&&(o[s]=n.shape[s])}return Nm(this,"shape",o),o},checks:[]});return Dc(t,a)}function Ide(t,e){const n=t._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const a=Mu(t._zod.def,{get shape(){const o={...t._zod.def.shape};for(const s in e){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);e[s]&&delete o[s]}return Nm(this,"shape",o),o},checks:[]});return Dc(t,a)}function Ode(t,e){if(!Hh(e))throw new Error("Invalid input to extend: expected a plain object");const n=t._zod.def.checks;if(n&&n.length>0){const a=t._zod.def.shape;for(const o in e)if(Object.getOwnPropertyDescriptor(a,o)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const r=Mu(t._zod.def,{get shape(){const a={...t._zod.def.shape,...e};return Nm(this,"shape",a),a}});return Dc(t,r)}function Rde(t,e){if(!Hh(e))throw new Error("Invalid input to safeExtend: expected a plain object");const n=Mu(t._zod.def,{get shape(){const i={...t._zod.def.shape,...e};return Nm(this,"shape",i),i}});return Dc(t,n)}function Pde(t,e){const n=Mu(t._zod.def,{get shape(){const i={...t._zod.def.shape,...e._zod.def.shape};return Nm(this,"shape",i),i},get catchall(){return e._zod.def.catchall},checks:[]});return Dc(t,n)}function Lde(t,e,n){const r=e._zod.def.checks;if(r&&r.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const o=Mu(e._zod.def,{get shape(){const s=e._zod.def.shape,l={...s};if(n)for(const c in n){if(!(c in s))throw new Error(`Unrecognized key: "${c}"`);n[c]&&(l[c]=t?new t({type:"optional",innerType:s[c]}):s[c])}else for(const c in s)l[c]=t?new t({type:"optional",innerType:s[c]}):s[c];return Nm(this,"shape",l),l},checks:[]});return Dc(e,o)}function Ude(t,e,n){const i=Mu(e._zod.def,{get shape(){const r=e._zod.def.shape,a={...r};if(n)for(const o in n){if(!(o in a))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(a[o]=new t({type:"nonoptional",innerType:r[o]}))}else for(const o in r)a[o]=new t({type:"nonoptional",innerType:r[o]});return Nm(this,"shape",a),a}});return Dc(e,i)}function mh(t,e=0){if(t.aborted===!0)return!0;for(let n=e;n<t.issues.length;n++)if(t.issues[n]?.continue!==!0)return!0;return!1}function md(t,e){return e.map(n=>{var i;return(i=n).path??(i.path=[]),n.path.unshift(t),n})}function Gy(t){return typeof t=="string"?t:t?.message}function Nc(t,e,n){const i={...t,path:t.path??[]};if(!t.message){const r=Gy(t.inst?._zod.def?.error?.(t))??Gy(e?.error?.(t))??Gy(n.customError?.(t))??Gy(n.localeError?.(t))??"Invalid input";i.message=r}return delete i.inst,delete i.continue,e?.reportInput||delete i.input,i}function G_(t){return t instanceof Set?"set":t instanceof Map?"map":t instanceof File?"file":"unknown"}function q_(t){return Array.isArray(t)?"array":typeof t=="string"?"string":"unknown"}function Un(t){const e=typeof t;switch(e){case"number":return Number.isNaN(t)?"nan":"number";case"object":{if(t===null)return"null";if(Array.isArray(t))return"array";const n=t;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return e}function Uv(...t){const[e,n,i]=t;return typeof e=="string"?{message:e,code:"custom",input:n,inst:i}:{...e}}function pet(t){return Object.entries(t).filter(([e,n])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])}function Mde(t){const e=atob(t),n=new Uint8Array(e.length);for(let i=0;i<e.length;i++)n[i]=e.charCodeAt(i);return n}function $de(t){let e="";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return btoa(e)}function get(t){const e=t.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-e.length%4)%4);return Mde(e+n)}function vet(t){return $de(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function yet(t){const e=t.replace(/^0x/,"");if(e.length%2!==0)throw new Error("Invalid hex string length");const n=new Uint8Array(e.length/2);for(let i=0;i<e.length;i+=2)n[i/2]=Number.parseInt(e.slice(i,i+2),16);return n}function ket(t){return Array.from(t).map(e=>e.toString(16).padStart(2,"0")).join("")}class bet{constructor(...e){}}const jde=Object.freeze(Object.defineProperty({__proto__:null,BIGINT_FORMAT_RANGES:Dde,Class:bet,NUMBER_FORMAT_RANGES:Bde,aborted:mh,allowsEval:_de,assert:oet,assertEqual:net,assertIs:ret,assertNever:aet,assertNotEqual:iet,assignProp:Nm,base64ToUint8Array:Mde,base64urlToUint8Array:get,cached:Pb,captureStackTrace:s3,cleanEnum:pet,cleanRegex:z_,clone:Dc,cloneDef:cet,createTransparentProxy:het,defineLazy:di,esc:WO,escapeRegex:PA,extend:Ode,finalizeIssue:Nc,floatSafeRemainder:xde,getElementAtPath:det,getEnumValues:o3,getLengthableOrigin:q_,getParsedType:met,getSizableOrigin:G_,hexToUint8Array:yet,isObject:Lv,isPlainObject:Hh,issue:Uv,joinValues:Ot,jsonStringifyReplacer:ZF,merge:Pde,mergeDefs:Mu,normalizeParams:_t,nullish:cp,numKeys:fet,objectClone:set,omit:Ide,optionalKeys:Ede,parsedType:Un,partial:Lde,pick:Tde,prefixIssues:md,primitiveTypes:Cde,promiseAllObject:uet,propertyKeyTypes:JF,randomString:Aet,required:Ude,safeExtend:Rde,shallowClone:V_,slugify:Fde,stringifyPrimitive:Rn,uint8ArrayToBase64:$de,uint8ArrayToBase64url:vet,uint8ArrayToHex:ket,unwrapMessage:Gy},Symbol.toStringTag,{value:"Module"})),Qde=(t,e)=>{t.name="$ZodError",Object.defineProperty(t,"_zod",{value:t._zod,enumerable:!1}),Object.defineProperty(t,"issues",{value:e,enumerable:!1}),t.message=JSON.stringify(e,ZF,2),Object.defineProperty(t,"toString",{value:()=>t.message,enumerable:!1})},K_=et("$ZodError",Qde),Ul=et("$ZodError",Qde,{Parent:Error});function l3(t,e=n=>n.message){const n={},i=[];for(const r of t.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(e(r))):i.push(e(r));return{formErrors:i,fieldErrors:n}}function c3(t,e=n=>n.message){const n={_errors:[]},i=r=>{for(const a of r.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(o=>i({issues:o}));else if(a.code==="invalid_key")i({issues:a.issues});else if(a.code==="invalid_element")i({issues:a.issues});else if(a.path.length===0)n._errors.push(e(a));else{let o=n,s=0;for(;s<a.path.length;){const l=a.path[s];s===a.path.length-1?(o[l]=o[l]||{_errors:[]},o[l]._errors.push(e(a))):o[l]=o[l]||{_errors:[]},o=o[l],s++}}};return i(t),n}function Hde(t,e=n=>n.message){const n={errors:[]},i=(r,a=[])=>{var o,s;for(const l of r.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map(c=>i({issues:c},l.path));else if(l.code==="invalid_key")i({issues:l.issues},l.path);else if(l.code==="invalid_element")i({issues:l.issues},l.path);else{const c=[...a,...l.path];if(c.length===0){n.errors.push(e(l));continue}let d=n,A=0;for(;A<c.length;){const h=c[A],m=A===c.length-1;typeof h=="string"?(d.properties??(d.properties={}),(o=d.properties)[h]??(o[h]={errors:[]}),d=d.properties[h]):(d.items??(d.items=[]),(s=d.items)[h]??(s[h]={errors:[]}),d=d.items[h]),m&&d.errors.push(e(l)),A++}}};return i(t),n}function zde(t){const e=[],n=t.map(i=>typeof i=="object"?i.key:i);for(const i of n)typeof i=="number"?e.push(`[${i}]`):typeof i=="symbol"?e.push(`[${JSON.stringify(String(i))}]`):/[^\w$]/.test(i)?e.push(`[${JSON.stringify(i)}]`):(e.length&&e.push("."),e.push(i));return e.join("")}function Vde(t){const e=[],n=[...t.issues].sort((i,r)=>(i.path??[]).length-(r.path??[]).length);for(const i of n)e.push(`✖ ${i.message}`),i.path?.length&&e.push(` → at ${zde(i.path)}`);return e.join(`
|
|
195
195
|
`)}const Lb=t=>(e,n,i,r)=>{const a=i?Object.assign(i,{async:!1}):{async:!1},o=e._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new Nh;if(o.issues.length){const s=new(r?.Err??t)(o.issues.map(l=>Nc(l,a,rs())));throw s3(s,r?.callee),s}return o.value},e2=Lb(Ul),Ub=t=>async(e,n,i,r)=>{const a=i?Object.assign(i,{async:!0}):{async:!0};let o=e._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){const s=new(r?.Err??t)(o.issues.map(l=>Nc(l,a,rs())));throw s3(s,r?.callee),s}return o.value},t2=Ub(Ul),Mb=t=>(e,n,i)=>{const r=i?{...i,async:!1}:{async:!1},a=e._zod.run({value:n,issues:[]},r);if(a instanceof Promise)throw new Nh;return a.issues.length?{success:!1,error:new(t??K_)(a.issues.map(o=>Nc(o,r,rs())))}:{success:!0,data:a.value}},Gde=Mb(Ul),$b=t=>async(e,n,i)=>{const r=i?Object.assign(i,{async:!0}):{async:!0};let a=e._zod.run({value:n,issues:[]},r);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new t(a.issues.map(o=>Nc(o,r,rs())))}:{success:!0,data:a.value}},qde=$b(Ul),d3=t=>(e,n,i)=>{const r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Lb(t)(e,n,r)},wet=d3(Ul),u3=t=>(e,n,i)=>Lb(t)(e,n,i),Net=u3(Ul),A3=t=>async(e,n,i)=>{const r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Ub(t)(e,n,r)},xet=A3(Ul),f3=t=>async(e,n,i)=>Ub(t)(e,n,i),Fet=f3(Ul),m3=t=>(e,n,i)=>{const r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return Mb(t)(e,n,r)},_et=m3(Ul),h3=t=>(e,n,i)=>Mb(t)(e,n,i),Cet=h3(Ul),p3=t=>async(e,n,i)=>{const r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return $b(t)(e,n,r)},Eet=p3(Ul),g3=t=>async(e,n,i)=>$b(t)(e,n,i),Bet=g3(Ul),Kde=/^[cC][^\s-]{8,}$/,Wde=/^[0-9a-z]+$/,Yde=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Xde=/^[0-9a-vA-V]{20}$/,Zde=/^[A-Za-z0-9]{27}$/,Jde=/^[a-zA-Z0-9_-]{21}$/,eue=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Det=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,tue=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Mv=t=>t?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${t}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Tet=Mv(4),Iet=Mv(6),Oet=Mv(7),nue=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Ret=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Pet=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,iue=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Let=iue,Uet=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Met="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function rue(){return new RegExp(Met,"u")}const aue=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,oue=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,sue=t=>{const e=PA(t??":");return new RegExp(`^(?:[0-9A-F]{2}${e}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${e}){5}[0-9a-f]{2}$`)},lue=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,cue=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,due=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,v3=/^[A-Za-z0-9_-]*$/,uue=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,Aue=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,fue=/^\+[1-9]\d{6,14}$/,mue="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",hue=new RegExp(`^${mue}$`);function pue(t){const e="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof t.precision=="number"?t.precision===-1?`${e}`:t.precision===0?`${e}:[0-5]\\d`:`${e}:[0-5]\\d\\.\\d{${t.precision}}`:`${e}(?::[0-5]\\d(?:\\.\\d+)?)?`}function gue(t){return new RegExp(`^${pue(t)}$`)}function vue(t){const e=pue({precision:t.precision}),n=["Z"];t.local&&n.push(""),t.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const i=`${e}(?:${n.join("|")})`;return new RegExp(`^${mue}T(?:${i})$`)}const yue=t=>{const e=t?`[\\s\\S]{${t?.minimum??0},${t?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${e}$`)},kue=/^-?\d+n?$/,bue=/^-?\d+$/,y3=/^-?\d+(?:\.\d+)?$/,Sue=/^(?:true|false)$/i,wue=/^null$/i,Nue=/^undefined$/i,xue=/^[^A-Z]*$/,Fue=/^[^a-z]*$/,_ue=/^[0-9a-fA-F]*$/;function jb(t,e){return new RegExp(`^[A-Za-z0-9+/]{${t}}${e}$`)}function Qb(t){return new RegExp(`^[A-Za-z0-9_-]{${t}}$`)}const $et=/^[0-9a-fA-F]{32}$/,jet=jb(22,"=="),Qet=Qb(22),Het=/^[0-9a-fA-F]{40}$/,zet=jb(27,"="),Vet=Qb(27),Get=/^[0-9a-fA-F]{64}$/,qet=jb(43,"="),Ket=Qb(43),Wet=/^[0-9a-fA-F]{96}$/,Yet=jb(64,""),Xet=Qb(64),Zet=/^[0-9a-fA-F]{128}$/,Jet=jb(86,"=="),ett=Qb(86),k3=Object.freeze(Object.defineProperty({__proto__:null,base64:due,base64url:v3,bigint:kue,boolean:Sue,browserEmail:Uet,cidrv4:lue,cidrv6:cue,cuid:Kde,cuid2:Wde,date:hue,datetime:vue,domain:Aue,duration:eue,e164:fue,email:nue,emoji:rue,extendedDuration:Det,guid:tue,hex:_ue,hostname:uue,html5Email:Ret,idnEmail:Let,integer:bue,ipv4:aue,ipv6:oue,ksuid:Zde,lowercase:xue,mac:sue,md5_base64:jet,md5_base64url:Qet,md5_hex:$et,nanoid:Jde,null:wue,number:y3,rfc5322Email:Pet,sha1_base64:zet,sha1_base64url:Vet,sha1_hex:Het,sha256_base64:qet,sha256_base64url:Ket,sha256_hex:Get,sha384_base64:Yet,sha384_base64url:Xet,sha384_hex:Wet,sha512_base64:Jet,sha512_base64url:ett,sha512_hex:Zet,string:yue,time:gue,ulid:Yde,undefined:Nue,unicodeEmail:iue,uppercase:Fue,uuid:Mv,uuid4:Tet,uuid6:Iet,uuid7:Oet,xid:Xde},Symbol.toStringTag,{value:"Module"})),Gr=et("$ZodCheck",(t,e)=>{var n;t._zod??(t._zod={}),t._zod.def=e,(n=t._zod).onattach??(n.onattach=[])}),Cue={number:"number",bigint:"bigint",object:"date"},b3=et("$ZodCheckLessThan",(t,e)=>{Gr.init(t,e);const n=Cue[typeof e.value];t._zod.onattach.push(i=>{const r=i._zod.bag,a=(e.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;e.value<a&&(e.inclusive?r.maximum=e.value:r.exclusiveMaximum=e.value)}),t._zod.check=i=>{(e.inclusive?i.value<=e.value:i.value<e.value)||i.issues.push({origin:n,code:"too_big",maximum:typeof e.value=="object"?e.value.getTime():e.value,input:i.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),S3=et("$ZodCheckGreaterThan",(t,e)=>{Gr.init(t,e);const n=Cue[typeof e.value];t._zod.onattach.push(i=>{const r=i._zod.bag,a=(e.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;e.value>a&&(e.inclusive?r.minimum=e.value:r.exclusiveMinimum=e.value)}),t._zod.check=i=>{(e.inclusive?i.value>=e.value:i.value>e.value)||i.issues.push({origin:n,code:"too_small",minimum:typeof e.value=="object"?e.value.getTime():e.value,input:i.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),Eue=et("$ZodCheckMultipleOf",(t,e)=>{Gr.init(t,e),t._zod.onattach.push(n=>{var i;(i=n._zod.bag).multipleOf??(i.multipleOf=e.value)}),t._zod.check=n=>{if(typeof n.value!=typeof e.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%e.value===BigInt(0):xde(n.value,e.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:e.value,input:n.value,inst:t,continue:!e.abort})}}),Bue=et("$ZodCheckNumberFormat",(t,e)=>{Gr.init(t,e),e.format=e.format||"float64";const n=e.format?.includes("int"),i=n?"int":"number",[r,a]=Bde[e.format];t._zod.onattach.push(o=>{const s=o._zod.bag;s.format=e.format,s.minimum=r,s.maximum=a,n&&(s.pattern=bue)}),t._zod.check=o=>{const s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:i,format:e.format,code:"invalid_type",continue:!1,input:s,inst:t});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:i,inclusive:!0,continue:!e.abort}):o.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:i,inclusive:!0,continue:!e.abort});return}}s<r&&o.issues.push({origin:"number",input:s,code:"too_small",minimum:r,inclusive:!0,inst:t,continue:!e.abort}),s>a&&o.issues.push({origin:"number",input:s,code:"too_big",maximum:a,inclusive:!0,inst:t,continue:!e.abort})}}),Due=et("$ZodCheckBigIntFormat",(t,e)=>{Gr.init(t,e);const[n,i]=Dde[e.format];t._zod.onattach.push(r=>{const a=r._zod.bag;a.format=e.format,a.minimum=n,a.maximum=i}),t._zod.check=r=>{const a=r.value;a<n&&r.issues.push({origin:"bigint",input:a,code:"too_small",minimum:n,inclusive:!0,inst:t,continue:!e.abort}),a>i&&r.issues.push({origin:"bigint",input:a,code:"too_big",maximum:i,inclusive:!0,inst:t,continue:!e.abort})}}),Tue=et("$ZodCheckMaxSize",(t,e)=>{var n;Gr.init(t,e),(n=t._zod.def).when??(n.when=i=>{const r=i.value;return!cp(r)&&r.size!==void 0}),t._zod.onattach.push(i=>{const r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;e.maximum<r&&(i._zod.bag.maximum=e.maximum)}),t._zod.check=i=>{const r=i.value;r.size<=e.maximum||i.issues.push({origin:G_(r),code:"too_big",maximum:e.maximum,inclusive:!0,input:r,inst:t,continue:!e.abort})}}),Iue=et("$ZodCheckMinSize",(t,e)=>{var n;Gr.init(t,e),(n=t._zod.def).when??(n.when=i=>{const r=i.value;return!cp(r)&&r.size!==void 0}),t._zod.onattach.push(i=>{const r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;e.minimum>r&&(i._zod.bag.minimum=e.minimum)}),t._zod.check=i=>{const r=i.value;r.size>=e.minimum||i.issues.push({origin:G_(r),code:"too_small",minimum:e.minimum,inclusive:!0,input:r,inst:t,continue:!e.abort})}}),Oue=et("$ZodCheckSizeEquals",(t,e)=>{var n;Gr.init(t,e),(n=t._zod.def).when??(n.when=i=>{const r=i.value;return!cp(r)&&r.size!==void 0}),t._zod.onattach.push(i=>{const r=i._zod.bag;r.minimum=e.size,r.maximum=e.size,r.size=e.size}),t._zod.check=i=>{const r=i.value,a=r.size;if(a===e.size)return;const o=a>e.size;i.issues.push({origin:G_(r),...o?{code:"too_big",maximum:e.size}:{code:"too_small",minimum:e.size},inclusive:!0,exact:!0,input:i.value,inst:t,continue:!e.abort})}}),Rue=et("$ZodCheckMaxLength",(t,e)=>{var n;Gr.init(t,e),(n=t._zod.def).when??(n.when=i=>{const r=i.value;return!cp(r)&&r.length!==void 0}),t._zod.onattach.push(i=>{const r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;e.maximum<r&&(i._zod.bag.maximum=e.maximum)}),t._zod.check=i=>{const r=i.value;if(r.length<=e.maximum)return;const o=q_(r);i.issues.push({origin:o,code:"too_big",maximum:e.maximum,inclusive:!0,input:r,inst:t,continue:!e.abort})}}),Pue=et("$ZodCheckMinLength",(t,e)=>{var n;Gr.init(t,e),(n=t._zod.def).when??(n.when=i=>{const r=i.value;return!cp(r)&&r.length!==void 0}),t._zod.onattach.push(i=>{const r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;e.minimum>r&&(i._zod.bag.minimum=e.minimum)}),t._zod.check=i=>{const r=i.value;if(r.length>=e.minimum)return;const o=q_(r);i.issues.push({origin:o,code:"too_small",minimum:e.minimum,inclusive:!0,input:r,inst:t,continue:!e.abort})}}),Lue=et("$ZodCheckLengthEquals",(t,e)=>{var n;Gr.init(t,e),(n=t._zod.def).when??(n.when=i=>{const r=i.value;return!cp(r)&&r.length!==void 0}),t._zod.onattach.push(i=>{const r=i._zod.bag;r.minimum=e.length,r.maximum=e.length,r.length=e.length}),t._zod.check=i=>{const r=i.value,a=r.length;if(a===e.length)return;const o=q_(r),s=a>e.length;i.issues.push({origin:o,...s?{code:"too_big",maximum:e.length}:{code:"too_small",minimum:e.length},inclusive:!0,exact:!0,input:i.value,inst:t,continue:!e.abort})}}),Hb=et("$ZodCheckStringFormat",(t,e)=>{var n,i;Gr.init(t,e),t._zod.onattach.push(r=>{const a=r._zod.bag;a.format=e.format,e.pattern&&(a.patterns??(a.patterns=new Set),a.patterns.add(e.pattern))}),e.pattern?(n=t._zod).check??(n.check=r=>{e.pattern.lastIndex=0,!e.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:e.format,input:r.value,...e.pattern?{pattern:e.pattern.toString()}:{},inst:t,continue:!e.abort})}):(i=t._zod).check??(i.check=()=>{})}),Uue=et("$ZodCheckRegex",(t,e)=>{Hb.init(t,e),t._zod.check=n=>{e.pattern.lastIndex=0,!e.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:e.pattern.toString(),inst:t,continue:!e.abort})}}),Mue=et("$ZodCheckLowerCase",(t,e)=>{e.pattern??(e.pattern=xue),Hb.init(t,e)}),$ue=et("$ZodCheckUpperCase",(t,e)=>{e.pattern??(e.pattern=Fue),Hb.init(t,e)}),jue=et("$ZodCheckIncludes",(t,e)=>{Gr.init(t,e);const n=PA(e.includes),i=new RegExp(typeof e.position=="number"?`^.{${e.position}}${n}`:n);e.pattern=i,t._zod.onattach.push(r=>{const a=r._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(i)}),t._zod.check=r=>{r.value.includes(e.includes,e.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:e.includes,input:r.value,inst:t,continue:!e.abort})}}),Que=et("$ZodCheckStartsWith",(t,e)=>{Gr.init(t,e);const n=new RegExp(`^${PA(e.prefix)}.*`);e.pattern??(e.pattern=n),t._zod.onattach.push(i=>{const r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),t._zod.check=i=>{i.value.startsWith(e.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:e.prefix,input:i.value,inst:t,continue:!e.abort})}}),Hue=et("$ZodCheckEndsWith",(t,e)=>{Gr.init(t,e);const n=new RegExp(`.*${PA(e.suffix)}$`);e.pattern??(e.pattern=n),t._zod.onattach.push(i=>{const r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),t._zod.check=i=>{i.value.endsWith(e.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:e.suffix,input:i.value,inst:t,continue:!e.abort})}});function _W(t,e,n){t.issues.length&&e.issues.push(...md(n,t.issues))}const zue=et("$ZodCheckProperty",(t,e)=>{Gr.init(t,e),t._zod.check=n=>{const i=e.schema._zod.run({value:n.value[e.property],issues:[]},{});if(i instanceof Promise)return i.then(r=>_W(r,n,e.property));_W(i,n,e.property)}}),Vue=et("$ZodCheckMimeType",(t,e)=>{Gr.init(t,e);const n=new Set(e.mime);t._zod.onattach.push(i=>{i._zod.bag.mime=e.mime}),t._zod.check=i=>{n.has(i.value.type)||i.issues.push({code:"invalid_value",values:e.mime,input:i.value.type,inst:t,continue:!e.abort})}}),Gue=et("$ZodCheckOverwrite",(t,e)=>{Gr.init(t,e),t._zod.check=n=>{n.value=e.tx(n.value)}});class que{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e=="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}const i=e.split(`
|
|
196
196
|
`).filter(o=>o),r=Math.min(...i.map(o=>o.length-o.trimStart().length)),a=i.map(o=>o.slice(r)).map(o=>" ".repeat(this.indent*2)+o);for(const o of a)this.content.push(o)}compile(){const e=Function,n=this?.args,r=[...(this?.content??[""]).map(a=>` ${a}`)];return new e(...n,r.join(`
|
|
197
|
-
`))}}const Kue={major:4,minor:3,patch:5},Xn=et("$ZodType",(t,e)=>{var n;t??(t={}),t._zod.def=e,t._zod.bag=t._zod.bag||{},t._zod.version=Kue;const i=[...t._zod.def.checks??[]];t._zod.traits.has("$ZodCheck")&&i.unshift(t);for(const r of i)for(const a of r._zod.onattach)a(t);if(i.length===0)(n=t._zod).deferred??(n.deferred=[]),t._zod.deferred?.push(()=>{t._zod.run=t._zod.parse});else{const r=(o,s,l)=>{let c=mh(o),d;for(const A of s){if(A._zod.def.when){if(!A._zod.def.when(o))continue}else if(c)continue;const h=o.issues.length,m=A._zod.check(o);if(m instanceof Promise&&l?.async===!1)throw new Nh;if(d||m instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await m,o.issues.length!==h&&(c||(c=mh(o,h)))});else{if(o.issues.length===h)continue;c||(c=mh(o,h))}}return d?d.then(()=>o):o},a=(o,s,l)=>{if(mh(o))return o.aborted=!0,o;const c=r(s,i,l);if(c instanceof Promise){if(l.async===!1)throw new Nh;return c.then(d=>t._zod.parse(d,l))}return t._zod.parse(c,l)};t._zod.run=(o,s)=>{if(s.skipChecks)return t._zod.parse(o,s);if(s.direction==="backward"){const c=t._zod.parse({value:o.value,issues:[]},{...s,skipChecks:!0});return c instanceof Promise?c.then(d=>a(d,o,s)):a(c,o,s)}const l=t._zod.parse(o,s);if(l instanceof Promise){if(s.async===!1)throw new Nh;return l.then(c=>r(c,i,s))}return r(l,i,s)}}di(t,"~standard",()=>({validate:r=>{try{const a=Gde(t,r);return a.success?{value:a.data}:{issues:a.error?.issues}}catch{return qde(t,r).then(o=>o.success?{value:o.data}:{issues:o.error?.issues})}},vendor:"zod",version:1}))}),zb=et("$ZodString",(t,e)=>{Xn.init(t,e),t._zod.pattern=[...t?._zod.bag?.patterns??[]].pop()??yue(t._zod.bag),t._zod.parse=(n,i)=>{if(e.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:t}),n}}),Nr=et("$ZodStringFormat",(t,e)=>{Hb.init(t,e),zb.init(t,e)}),Wue=et("$ZodGUID",(t,e)=>{e.pattern??(e.pattern=tue),Nr.init(t,e)}),Yue=et("$ZodUUID",(t,e)=>{if(e.version){const i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[e.version];if(i===void 0)throw new Error(`Invalid UUID version: "${e.version}"`);e.pattern??(e.pattern=Mv(i))}else e.pattern??(e.pattern=Mv());Nr.init(t,e)}),Xue=et("$ZodEmail",(t,e)=>{e.pattern??(e.pattern=nue),Nr.init(t,e)}),Zue=et("$ZodURL",(t,e)=>{Nr.init(t,e),t._zod.check=n=>{try{const i=n.value.trim(),r=new URL(i);e.hostname&&(e.hostname.lastIndex=0,e.hostname.test(r.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:e.hostname.source,input:n.value,inst:t,continue:!e.abort})),e.protocol&&(e.protocol.lastIndex=0,e.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:e.protocol.source,input:n.value,inst:t,continue:!e.abort})),e.normalize?n.value=r.href:n.value=i;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:t,continue:!e.abort})}}}),Jue=et("$ZodEmoji",(t,e)=>{e.pattern??(e.pattern=rue()),Nr.init(t,e)}),eAe=et("$ZodNanoID",(t,e)=>{e.pattern??(e.pattern=Jde),Nr.init(t,e)}),tAe=et("$ZodCUID",(t,e)=>{e.pattern??(e.pattern=Kde),Nr.init(t,e)}),nAe=et("$ZodCUID2",(t,e)=>{e.pattern??(e.pattern=Wde),Nr.init(t,e)}),iAe=et("$ZodULID",(t,e)=>{e.pattern??(e.pattern=Yde),Nr.init(t,e)}),rAe=et("$ZodXID",(t,e)=>{e.pattern??(e.pattern=Xde),Nr.init(t,e)}),aAe=et("$ZodKSUID",(t,e)=>{e.pattern??(e.pattern=Zde),Nr.init(t,e)}),oAe=et("$ZodISODateTime",(t,e)=>{e.pattern??(e.pattern=vue(e)),Nr.init(t,e)}),sAe=et("$ZodISODate",(t,e)=>{e.pattern??(e.pattern=hue),Nr.init(t,e)}),lAe=et("$ZodISOTime",(t,e)=>{e.pattern??(e.pattern=gue(e)),Nr.init(t,e)}),cAe=et("$ZodISODuration",(t,e)=>{e.pattern??(e.pattern=eue),Nr.init(t,e)}),dAe=et("$ZodIPv4",(t,e)=>{e.pattern??(e.pattern=aue),Nr.init(t,e),t._zod.bag.format="ipv4"}),uAe=et("$ZodIPv6",(t,e)=>{e.pattern??(e.pattern=oue),Nr.init(t,e),t._zod.bag.format="ipv6",t._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:t,continue:!e.abort})}}}),AAe=et("$ZodMAC",(t,e)=>{e.pattern??(e.pattern=sue(e.delimiter)),Nr.init(t,e),t._zod.bag.format="mac"}),fAe=et("$ZodCIDRv4",(t,e)=>{e.pattern??(e.pattern=lue),Nr.init(t,e)}),mAe=et("$ZodCIDRv6",(t,e)=>{e.pattern??(e.pattern=cue),Nr.init(t,e),t._zod.check=n=>{const i=n.value.split("/");try{if(i.length!==2)throw new Error;const[r,a]=i;if(!a)throw new Error;const o=Number(a);if(`${o}`!==a)throw new Error;if(o<0||o>128)throw new Error;new URL(`http://[${r}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:t,continue:!e.abort})}}});function w3(t){if(t==="")return!0;if(t.length%4!==0)return!1;try{return atob(t),!0}catch{return!1}}const hAe=et("$ZodBase64",(t,e)=>{e.pattern??(e.pattern=due),Nr.init(t,e),t._zod.bag.contentEncoding="base64",t._zod.check=n=>{w3(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:t,continue:!e.abort})}});function pAe(t){if(!v3.test(t))return!1;const e=t.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=e.padEnd(Math.ceil(e.length/4)*4,"=");return w3(n)}const gAe=et("$ZodBase64URL",(t,e)=>{e.pattern??(e.pattern=v3),Nr.init(t,e),t._zod.bag.contentEncoding="base64url",t._zod.check=n=>{pAe(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:t,continue:!e.abort})}}),vAe=et("$ZodE164",(t,e)=>{e.pattern??(e.pattern=fue),Nr.init(t,e)});function yAe(t,e=null){try{const n=t.split(".");if(n.length!==3)return!1;const[i]=n;if(!i)return!1;const r=JSON.parse(atob(i));return!("typ"in r&&r?.typ!=="JWT"||!r.alg||e&&(!("alg"in r)||r.alg!==e))}catch{return!1}}const kAe=et("$ZodJWT",(t,e)=>{Nr.init(t,e),t._zod.check=n=>{yAe(n.value,e.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:t,continue:!e.abort})}}),bAe=et("$ZodCustomStringFormat",(t,e)=>{Nr.init(t,e),t._zod.check=n=>{e.fn(n.value)||n.issues.push({code:"invalid_format",format:e.format,input:n.value,inst:t,continue:!e.abort})}}),N3=et("$ZodNumber",(t,e)=>{Xn.init(t,e),t._zod.pattern=t._zod.bag.pattern??y3,t._zod.parse=(n,i)=>{if(e.coerce)try{n.value=Number(n.value)}catch{}const r=n.value;if(typeof r=="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;const a=typeof r=="number"?Number.isNaN(r)?"NaN":Number.isFinite(r)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:t,...a?{received:a}:{}}),n}}),SAe=et("$ZodNumberFormat",(t,e)=>{Bue.init(t,e),N3.init(t,e)}),x3=et("$ZodBoolean",(t,e)=>{Xn.init(t,e),t._zod.pattern=Sue,t._zod.parse=(n,i)=>{if(e.coerce)try{n.value=!!n.value}catch{}const r=n.value;return typeof r=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:t}),n}}),F3=et("$ZodBigInt",(t,e)=>{Xn.init(t,e),t._zod.pattern=kue,t._zod.parse=(n,i)=>{if(e.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value=="bigint"||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:t}),n}}),wAe=et("$ZodBigIntFormat",(t,e)=>{Due.init(t,e),F3.init(t,e)}),NAe=et("$ZodSymbol",(t,e)=>{Xn.init(t,e),t._zod.parse=(n,i)=>{const r=n.value;return typeof r=="symbol"||n.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:t}),n}}),xAe=et("$ZodUndefined",(t,e)=>{Xn.init(t,e),t._zod.pattern=Nue,t._zod.values=new Set([void 0]),t._zod.optin="optional",t._zod.optout="optional",t._zod.parse=(n,i)=>{const r=n.value;return typeof r>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:t}),n}}),FAe=et("$ZodNull",(t,e)=>{Xn.init(t,e),t._zod.pattern=wue,t._zod.values=new Set([null]),t._zod.parse=(n,i)=>{const r=n.value;return r===null||n.issues.push({expected:"null",code:"invalid_type",input:r,inst:t}),n}}),_Ae=et("$ZodAny",(t,e)=>{Xn.init(t,e),t._zod.parse=n=>n}),CAe=et("$ZodUnknown",(t,e)=>{Xn.init(t,e),t._zod.parse=n=>n}),EAe=et("$ZodNever",(t,e)=>{Xn.init(t,e),t._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:t}),n)}),BAe=et("$ZodVoid",(t,e)=>{Xn.init(t,e),t._zod.parse=(n,i)=>{const r=n.value;return typeof r>"u"||n.issues.push({expected:"void",code:"invalid_type",input:r,inst:t}),n}}),DAe=et("$ZodDate",(t,e)=>{Xn.init(t,e),t._zod.parse=(n,i)=>{if(e.coerce)try{n.value=new Date(n.value)}catch{}const r=n.value,a=r instanceof Date;return a&&!Number.isNaN(r.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:r,...a?{received:"Invalid Date"}:{},inst:t}),n}});function CW(t,e,n){t.issues.length&&e.issues.push(...md(n,t.issues)),e.value[n]=t.value}const TAe=et("$ZodArray",(t,e)=>{Xn.init(t,e),t._zod.parse=(n,i)=>{const r=n.value;if(!Array.isArray(r))return n.issues.push({expected:"array",code:"invalid_type",input:r,inst:t}),n;n.value=Array(r.length);const a=[];for(let o=0;o<r.length;o++){const s=r[o],l=e.element._zod.run({value:s,issues:[]},i);l instanceof Promise?a.push(l.then(c=>CW(c,n,o))):CW(l,n,o)}return a.length?Promise.all(a).then(()=>n):n}});function n2(t,e,n,i,r){if(t.issues.length){if(r&&!(n in i))return;e.issues.push(...md(n,t.issues))}t.value===void 0?n in i&&(e.value[n]=void 0):e.value[n]=t.value}function IAe(t){const e=Object.keys(t.shape);for(const i of e)if(!t.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);const n=Ede(t.shape);return{...t,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(n)}}function OAe(t,e,n,i,r,a){const o=[],s=r.keySet,l=r.catchall._zod,c=l.def.type,d=l.optout==="optional";for(const A in e){if(s.has(A))continue;if(c==="never"){o.push(A);continue}const h=l.run({value:e[A],issues:[]},i);h instanceof Promise?t.push(h.then(m=>n2(m,n,A,e,d))):n2(h,n,A,e,d)}return o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:e,inst:a}),t.length?Promise.all(t).then(()=>n):n}const RAe=et("$ZodObject",(t,e)=>{if(Xn.init(t,e),!Object.getOwnPropertyDescriptor(e,"shape")?.get){const s=e.shape;Object.defineProperty(e,"shape",{get:()=>{const l={...s};return Object.defineProperty(e,"shape",{value:l}),l}})}const i=Pb(()=>IAe(e));di(t._zod,"propValues",()=>{const s=e.shape,l={};for(const c in s){const d=s[c]._zod;if(d.values){l[c]??(l[c]=new Set);for(const A of d.values)l[c].add(A)}}return l});const r=Lv,a=e.catchall;let o;t._zod.parse=(s,l)=>{o??(o=i.value);const c=s.value;if(!r(c))return s.issues.push({expected:"object",code:"invalid_type",input:c,inst:t}),s;s.value={};const d=[],A=o.shape;for(const h of o.keys){const m=A[h],g=m._zod.optout==="optional",v=m._zod.run({value:c[h],issues:[]},l);v instanceof Promise?d.push(v.then(b=>n2(b,s,h,c,g))):n2(v,s,h,c,g)}return a?OAe(d,c,s,l,i.value,t):d.length?Promise.all(d).then(()=>s):s}}),PAe=et("$ZodObjectJIT",(t,e)=>{RAe.init(t,e);const n=t._zod.parse,i=Pb(()=>IAe(e)),r=h=>{const m=new que(["shape","payload","ctx"]),g=i.value,v=x=>{const F=WO(x);return`shape[${F}]._zod.run({ value: input[${F}], issues: [] }, ctx)`};m.write("const input = payload.value;");const b=Object.create(null);let k=0;for(const x of g.keys)b[x]=`key_${k++}`;m.write("const newResult = {};");for(const x of g.keys){const F=b[x],_=WO(x),B=h[x]?._zod?.optout==="optional";m.write(`const ${F} = ${v(x)};`),B?m.write(`
|
|
197
|
+
`))}}const Kue={major:4,minor:3,patch:4},Xn=et("$ZodType",(t,e)=>{var n;t??(t={}),t._zod.def=e,t._zod.bag=t._zod.bag||{},t._zod.version=Kue;const i=[...t._zod.def.checks??[]];t._zod.traits.has("$ZodCheck")&&i.unshift(t);for(const r of i)for(const a of r._zod.onattach)a(t);if(i.length===0)(n=t._zod).deferred??(n.deferred=[]),t._zod.deferred?.push(()=>{t._zod.run=t._zod.parse});else{const r=(o,s,l)=>{let c=mh(o),d;for(const A of s){if(A._zod.def.when){if(!A._zod.def.when(o))continue}else if(c)continue;const h=o.issues.length,m=A._zod.check(o);if(m instanceof Promise&&l?.async===!1)throw new Nh;if(d||m instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await m,o.issues.length!==h&&(c||(c=mh(o,h)))});else{if(o.issues.length===h)continue;c||(c=mh(o,h))}}return d?d.then(()=>o):o},a=(o,s,l)=>{if(mh(o))return o.aborted=!0,o;const c=r(s,i,l);if(c instanceof Promise){if(l.async===!1)throw new Nh;return c.then(d=>t._zod.parse(d,l))}return t._zod.parse(c,l)};t._zod.run=(o,s)=>{if(s.skipChecks)return t._zod.parse(o,s);if(s.direction==="backward"){const c=t._zod.parse({value:o.value,issues:[]},{...s,skipChecks:!0});return c instanceof Promise?c.then(d=>a(d,o,s)):a(c,o,s)}const l=t._zod.parse(o,s);if(l instanceof Promise){if(s.async===!1)throw new Nh;return l.then(c=>r(c,i,s))}return r(l,i,s)}}di(t,"~standard",()=>({validate:r=>{try{const a=Gde(t,r);return a.success?{value:a.data}:{issues:a.error?.issues}}catch{return qde(t,r).then(o=>o.success?{value:o.data}:{issues:o.error?.issues})}},vendor:"zod",version:1}))}),zb=et("$ZodString",(t,e)=>{Xn.init(t,e),t._zod.pattern=[...t?._zod.bag?.patterns??[]].pop()??yue(t._zod.bag),t._zod.parse=(n,i)=>{if(e.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:t}),n}}),Nr=et("$ZodStringFormat",(t,e)=>{Hb.init(t,e),zb.init(t,e)}),Wue=et("$ZodGUID",(t,e)=>{e.pattern??(e.pattern=tue),Nr.init(t,e)}),Yue=et("$ZodUUID",(t,e)=>{if(e.version){const i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[e.version];if(i===void 0)throw new Error(`Invalid UUID version: "${e.version}"`);e.pattern??(e.pattern=Mv(i))}else e.pattern??(e.pattern=Mv());Nr.init(t,e)}),Xue=et("$ZodEmail",(t,e)=>{e.pattern??(e.pattern=nue),Nr.init(t,e)}),Zue=et("$ZodURL",(t,e)=>{Nr.init(t,e),t._zod.check=n=>{try{const i=n.value.trim(),r=new URL(i);e.hostname&&(e.hostname.lastIndex=0,e.hostname.test(r.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:e.hostname.source,input:n.value,inst:t,continue:!e.abort})),e.protocol&&(e.protocol.lastIndex=0,e.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:e.protocol.source,input:n.value,inst:t,continue:!e.abort})),e.normalize?n.value=r.href:n.value=i;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:t,continue:!e.abort})}}}),Jue=et("$ZodEmoji",(t,e)=>{e.pattern??(e.pattern=rue()),Nr.init(t,e)}),eAe=et("$ZodNanoID",(t,e)=>{e.pattern??(e.pattern=Jde),Nr.init(t,e)}),tAe=et("$ZodCUID",(t,e)=>{e.pattern??(e.pattern=Kde),Nr.init(t,e)}),nAe=et("$ZodCUID2",(t,e)=>{e.pattern??(e.pattern=Wde),Nr.init(t,e)}),iAe=et("$ZodULID",(t,e)=>{e.pattern??(e.pattern=Yde),Nr.init(t,e)}),rAe=et("$ZodXID",(t,e)=>{e.pattern??(e.pattern=Xde),Nr.init(t,e)}),aAe=et("$ZodKSUID",(t,e)=>{e.pattern??(e.pattern=Zde),Nr.init(t,e)}),oAe=et("$ZodISODateTime",(t,e)=>{e.pattern??(e.pattern=vue(e)),Nr.init(t,e)}),sAe=et("$ZodISODate",(t,e)=>{e.pattern??(e.pattern=hue),Nr.init(t,e)}),lAe=et("$ZodISOTime",(t,e)=>{e.pattern??(e.pattern=gue(e)),Nr.init(t,e)}),cAe=et("$ZodISODuration",(t,e)=>{e.pattern??(e.pattern=eue),Nr.init(t,e)}),dAe=et("$ZodIPv4",(t,e)=>{e.pattern??(e.pattern=aue),Nr.init(t,e),t._zod.bag.format="ipv4"}),uAe=et("$ZodIPv6",(t,e)=>{e.pattern??(e.pattern=oue),Nr.init(t,e),t._zod.bag.format="ipv6",t._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:t,continue:!e.abort})}}}),AAe=et("$ZodMAC",(t,e)=>{e.pattern??(e.pattern=sue(e.delimiter)),Nr.init(t,e),t._zod.bag.format="mac"}),fAe=et("$ZodCIDRv4",(t,e)=>{e.pattern??(e.pattern=lue),Nr.init(t,e)}),mAe=et("$ZodCIDRv6",(t,e)=>{e.pattern??(e.pattern=cue),Nr.init(t,e),t._zod.check=n=>{const i=n.value.split("/");try{if(i.length!==2)throw new Error;const[r,a]=i;if(!a)throw new Error;const o=Number(a);if(`${o}`!==a)throw new Error;if(o<0||o>128)throw new Error;new URL(`http://[${r}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:t,continue:!e.abort})}}});function w3(t){if(t==="")return!0;if(t.length%4!==0)return!1;try{return atob(t),!0}catch{return!1}}const hAe=et("$ZodBase64",(t,e)=>{e.pattern??(e.pattern=due),Nr.init(t,e),t._zod.bag.contentEncoding="base64",t._zod.check=n=>{w3(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:t,continue:!e.abort})}});function pAe(t){if(!v3.test(t))return!1;const e=t.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=e.padEnd(Math.ceil(e.length/4)*4,"=");return w3(n)}const gAe=et("$ZodBase64URL",(t,e)=>{e.pattern??(e.pattern=v3),Nr.init(t,e),t._zod.bag.contentEncoding="base64url",t._zod.check=n=>{pAe(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:t,continue:!e.abort})}}),vAe=et("$ZodE164",(t,e)=>{e.pattern??(e.pattern=fue),Nr.init(t,e)});function yAe(t,e=null){try{const n=t.split(".");if(n.length!==3)return!1;const[i]=n;if(!i)return!1;const r=JSON.parse(atob(i));return!("typ"in r&&r?.typ!=="JWT"||!r.alg||e&&(!("alg"in r)||r.alg!==e))}catch{return!1}}const kAe=et("$ZodJWT",(t,e)=>{Nr.init(t,e),t._zod.check=n=>{yAe(n.value,e.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:t,continue:!e.abort})}}),bAe=et("$ZodCustomStringFormat",(t,e)=>{Nr.init(t,e),t._zod.check=n=>{e.fn(n.value)||n.issues.push({code:"invalid_format",format:e.format,input:n.value,inst:t,continue:!e.abort})}}),N3=et("$ZodNumber",(t,e)=>{Xn.init(t,e),t._zod.pattern=t._zod.bag.pattern??y3,t._zod.parse=(n,i)=>{if(e.coerce)try{n.value=Number(n.value)}catch{}const r=n.value;if(typeof r=="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;const a=typeof r=="number"?Number.isNaN(r)?"NaN":Number.isFinite(r)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:t,...a?{received:a}:{}}),n}}),SAe=et("$ZodNumberFormat",(t,e)=>{Bue.init(t,e),N3.init(t,e)}),x3=et("$ZodBoolean",(t,e)=>{Xn.init(t,e),t._zod.pattern=Sue,t._zod.parse=(n,i)=>{if(e.coerce)try{n.value=!!n.value}catch{}const r=n.value;return typeof r=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:t}),n}}),F3=et("$ZodBigInt",(t,e)=>{Xn.init(t,e),t._zod.pattern=kue,t._zod.parse=(n,i)=>{if(e.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value=="bigint"||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:t}),n}}),wAe=et("$ZodBigIntFormat",(t,e)=>{Due.init(t,e),F3.init(t,e)}),NAe=et("$ZodSymbol",(t,e)=>{Xn.init(t,e),t._zod.parse=(n,i)=>{const r=n.value;return typeof r=="symbol"||n.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:t}),n}}),xAe=et("$ZodUndefined",(t,e)=>{Xn.init(t,e),t._zod.pattern=Nue,t._zod.values=new Set([void 0]),t._zod.optin="optional",t._zod.optout="optional",t._zod.parse=(n,i)=>{const r=n.value;return typeof r>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:t}),n}}),FAe=et("$ZodNull",(t,e)=>{Xn.init(t,e),t._zod.pattern=wue,t._zod.values=new Set([null]),t._zod.parse=(n,i)=>{const r=n.value;return r===null||n.issues.push({expected:"null",code:"invalid_type",input:r,inst:t}),n}}),_Ae=et("$ZodAny",(t,e)=>{Xn.init(t,e),t._zod.parse=n=>n}),CAe=et("$ZodUnknown",(t,e)=>{Xn.init(t,e),t._zod.parse=n=>n}),EAe=et("$ZodNever",(t,e)=>{Xn.init(t,e),t._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:t}),n)}),BAe=et("$ZodVoid",(t,e)=>{Xn.init(t,e),t._zod.parse=(n,i)=>{const r=n.value;return typeof r>"u"||n.issues.push({expected:"void",code:"invalid_type",input:r,inst:t}),n}}),DAe=et("$ZodDate",(t,e)=>{Xn.init(t,e),t._zod.parse=(n,i)=>{if(e.coerce)try{n.value=new Date(n.value)}catch{}const r=n.value,a=r instanceof Date;return a&&!Number.isNaN(r.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:r,...a?{received:"Invalid Date"}:{},inst:t}),n}});function CW(t,e,n){t.issues.length&&e.issues.push(...md(n,t.issues)),e.value[n]=t.value}const TAe=et("$ZodArray",(t,e)=>{Xn.init(t,e),t._zod.parse=(n,i)=>{const r=n.value;if(!Array.isArray(r))return n.issues.push({expected:"array",code:"invalid_type",input:r,inst:t}),n;n.value=Array(r.length);const a=[];for(let o=0;o<r.length;o++){const s=r[o],l=e.element._zod.run({value:s,issues:[]},i);l instanceof Promise?a.push(l.then(c=>CW(c,n,o))):CW(l,n,o)}return a.length?Promise.all(a).then(()=>n):n}});function n2(t,e,n,i,r){if(t.issues.length){if(r&&!(n in i))return;e.issues.push(...md(n,t.issues))}t.value===void 0?n in i&&(e.value[n]=void 0):e.value[n]=t.value}function IAe(t){const e=Object.keys(t.shape);for(const i of e)if(!t.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);const n=Ede(t.shape);return{...t,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(n)}}function OAe(t,e,n,i,r,a){const o=[],s=r.keySet,l=r.catchall._zod,c=l.def.type,d=l.optout==="optional";for(const A in e){if(s.has(A))continue;if(c==="never"){o.push(A);continue}const h=l.run({value:e[A],issues:[]},i);h instanceof Promise?t.push(h.then(m=>n2(m,n,A,e,d))):n2(h,n,A,e,d)}return o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:e,inst:a}),t.length?Promise.all(t).then(()=>n):n}const RAe=et("$ZodObject",(t,e)=>{if(Xn.init(t,e),!Object.getOwnPropertyDescriptor(e,"shape")?.get){const s=e.shape;Object.defineProperty(e,"shape",{get:()=>{const l={...s};return Object.defineProperty(e,"shape",{value:l}),l}})}const i=Pb(()=>IAe(e));di(t._zod,"propValues",()=>{const s=e.shape,l={};for(const c in s){const d=s[c]._zod;if(d.values){l[c]??(l[c]=new Set);for(const A of d.values)l[c].add(A)}}return l});const r=Lv,a=e.catchall;let o;t._zod.parse=(s,l)=>{o??(o=i.value);const c=s.value;if(!r(c))return s.issues.push({expected:"object",code:"invalid_type",input:c,inst:t}),s;s.value={};const d=[],A=o.shape;for(const h of o.keys){const m=A[h],g=m._zod.optout==="optional",v=m._zod.run({value:c[h],issues:[]},l);v instanceof Promise?d.push(v.then(b=>n2(b,s,h,c,g))):n2(v,s,h,c,g)}return a?OAe(d,c,s,l,i.value,t):d.length?Promise.all(d).then(()=>s):s}}),PAe=et("$ZodObjectJIT",(t,e)=>{RAe.init(t,e);const n=t._zod.parse,i=Pb(()=>IAe(e)),r=h=>{const m=new que(["shape","payload","ctx"]),g=i.value,v=x=>{const F=WO(x);return`shape[${F}]._zod.run({ value: input[${F}], issues: [] }, ctx)`};m.write("const input = payload.value;");const b=Object.create(null);let k=0;for(const x of g.keys)b[x]=`key_${k++}`;m.write("const newResult = {};");for(const x of g.keys){const F=b[x],_=WO(x),B=h[x]?._zod?.optout==="optional";m.write(`const ${F} = ${v(x)};`),B?m.write(`
|
|
198
198
|
if (${F}.issues.length) {
|
|
199
199
|
if (${_} in input) {
|
|
200
200
|
payload.issues = payload.issues.concat(${F}.issues.map(iss => ({
|
|
@@ -287,7 +287,7 @@ const theme = ${JSON.stringify(e,null,2)};
|
|
|
287
287
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
288
288
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
289
289
|
|
|
290
|
-
export default theme;`}function XY(t){return typeof t=="number"?`${(t*100).toFixed(0)}%`:`calc((${t}) * 100%)`}const Bdt=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 Ddt(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})`:ove(e,Bdt(n))},lighten(e,n){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${e}, #fff ${XY(n)})`:iE(e,n)},darken(e,n){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${e}, #000 ${XY(n)})`:nE(e,n)}})}function xR(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(Kh(20));const A=UU({...a,colorSpace:c}),h=nve(t);let m=Ol(h,{mixins:vdt(h.breakpoints,i),palette:A,shadows:wdt.slice(),typography:hve(A,s),transitions:_dt(o),zIndex:{...Cdt}});return m=Ol(m,d),m=e.reduce((g,v)=>Ol(g,v),m),m.unstable_sxConfig={...h1,...d?.unstable_sxConfig},m.unstable_sx=function(v){return p1({sx:v,theme:this})},m.toRuntimeSource=pve,Ddt(m),m}function Tdt(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 Idt=[...Array(25)].map((t,e)=>{if(e===0)return"none";const n=Tdt(e);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function gve(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function vve(t){return t==="dark"?Idt:[]}function Odt(t){const{palette:e={mode:"light"},opacity:n,overlays:i,colorSpace:r,...a}=t,o=UU({...e,colorSpace:r});return{palette:o,opacity:{...gve(o.mode),...n},overlays:i||vve(o.mode),...a}}function Rdt(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 Pdt=t=>[...[...Array(25)].map((e,n)=>`--${t?`${t}-`:""}overlays-${n}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],Ldt=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 Pdt(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 Udt(t,e){e.forEach(n=>{t[n]||(t[n]={})})}function vt(t,e,n){!t[e]&&n&&(t[e]=n)}function Zy(t){return typeof t!="string"||!t.startsWith("hsl")?t:ave(t)}function kA(t,e){`${e}Channel`in t||(t[`${e}Channel`]=Xy(Zy(t[e])))}function Mdt(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const nu=t=>{try{return t()}catch{}},$dt=(t="mui")=>adt(t);function AI(t,e,n,i,r){if(!n)return;n=n===!0?{}:n;const a=r==="dark"?"dark":"light";if(!i){e[r]=Odt({...n,palette:{mode:a,...n?.palette},colorSpace:t});return}const{palette:o,...s}=xR({...i,palette:{mode:a,...n?.palette},colorSpace:t});return e[r]={...n,palette:o,opacity:{...gve(a),...n?.opacity},overlays:n?.overlays||vve(a)},s}function jdt(t={},...e){const{colorSchemes:n={light:!0},defaultColorScheme:i,disableCssColorScheme:r=!1,cssVarPrefix:a="mui",nativeColor:o=!1,shouldSkipGeneratingVar:s=Rdt,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,rootSelector:c=":root",...d}=t,A=Object.keys(n)[0],h=i||(n.light&&A!=="light"?"light":A),m=$dt(a),{[h]:g,light:v,dark:b,...k}=n,w={...k};let x=g;if((h==="dark"&&!("dark"in n)||h==="light"&&!("light"in n))&&(x=!0),!x)throw new Error(Kh(21,h));let F;o&&(F="oklch");const _=AI(F,w,x,d,h);v&&!w.light&&AI(F,w,v,void 0,"light"),b&&!w.dark&&AI(F,w,b,void 0,"dark");let T={defaultColorScheme:h,..._,cssVarPrefix:a,colorSchemeSelector:l,rootSelector:c,getCssVar:m,colorSchemes:w,font:{...gdt(_.typography),..._.font},spacing:Mdt(d.spacing)};Object.keys(T.colorSchemes).forEach(U=>{const R=T.colorSchemes[U].palette,ee=le=>{const H=le.split("-"),te=H[1],X=H[2];return m(le,R[te][X])};R.mode==="light"&&(vt(R.common,"background","#fff"),vt(R.common,"onBackground","#000")),R.mode==="dark"&&(vt(R.common,"background","#000"),vt(R.common,"onBackground","#fff"));function K(le,H,te){if(F){let X;return le===nh&&(X=`transparent ${((1-te)*100).toFixed(0)}%`),le===ar&&(X=`#000 ${(te*100).toFixed(0)}%`),le===or&&(X=`#fff ${(te*100).toFixed(0)}%`),`color-mix(in ${F}, ${H}, ${X})`}return le(H,te)}if(Udt(R,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),R.mode==="light"){vt(R.Alert,"errorColor",K(ar,R.error.light,.6)),vt(R.Alert,"infoColor",K(ar,R.info.light,.6)),vt(R.Alert,"successColor",K(ar,R.success.light,.6)),vt(R.Alert,"warningColor",K(ar,R.warning.light,.6)),vt(R.Alert,"errorFilledBg",ee("palette-error-main")),vt(R.Alert,"infoFilledBg",ee("palette-info-main")),vt(R.Alert,"successFilledBg",ee("palette-success-main")),vt(R.Alert,"warningFilledBg",ee("palette-warning-main")),vt(R.Alert,"errorFilledColor",nu(()=>R.getContrastText(R.error.main))),vt(R.Alert,"infoFilledColor",nu(()=>R.getContrastText(R.info.main))),vt(R.Alert,"successFilledColor",nu(()=>R.getContrastText(R.success.main))),vt(R.Alert,"warningFilledColor",nu(()=>R.getContrastText(R.warning.main))),vt(R.Alert,"errorStandardBg",K(or,R.error.light,.9)),vt(R.Alert,"infoStandardBg",K(or,R.info.light,.9)),vt(R.Alert,"successStandardBg",K(or,R.success.light,.9)),vt(R.Alert,"warningStandardBg",K(or,R.warning.light,.9)),vt(R.Alert,"errorIconColor",ee("palette-error-main")),vt(R.Alert,"infoIconColor",ee("palette-info-main")),vt(R.Alert,"successIconColor",ee("palette-success-main")),vt(R.Alert,"warningIconColor",ee("palette-warning-main")),vt(R.AppBar,"defaultBg",ee("palette-grey-100")),vt(R.Avatar,"defaultBg",ee("palette-grey-400")),vt(R.Button,"inheritContainedBg",ee("palette-grey-300")),vt(R.Button,"inheritContainedHoverBg",ee("palette-grey-A100")),vt(R.Chip,"defaultBorder",ee("palette-grey-400")),vt(R.Chip,"defaultAvatarColor",ee("palette-grey-700")),vt(R.Chip,"defaultIconColor",ee("palette-grey-700")),vt(R.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),vt(R.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),vt(R.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),vt(R.LinearProgress,"primaryBg",K(or,R.primary.main,.62)),vt(R.LinearProgress,"secondaryBg",K(or,R.secondary.main,.62)),vt(R.LinearProgress,"errorBg",K(or,R.error.main,.62)),vt(R.LinearProgress,"infoBg",K(or,R.info.main,.62)),vt(R.LinearProgress,"successBg",K(or,R.success.main,.62)),vt(R.LinearProgress,"warningBg",K(or,R.warning.main,.62)),vt(R.Skeleton,"bg",F?K(nh,R.text.primary,.11):`rgba(${ee("palette-text-primaryChannel")} / 0.11)`),vt(R.Slider,"primaryTrack",K(or,R.primary.main,.62)),vt(R.Slider,"secondaryTrack",K(or,R.secondary.main,.62)),vt(R.Slider,"errorTrack",K(or,R.error.main,.62)),vt(R.Slider,"infoTrack",K(or,R.info.main,.62)),vt(R.Slider,"successTrack",K(or,R.success.main,.62)),vt(R.Slider,"warningTrack",K(or,R.warning.main,.62));const le=F?K(ar,R.background.default,.6825):Gw(R.background.default,.8);vt(R.SnackbarContent,"bg",le),vt(R.SnackbarContent,"color",nu(()=>F?NR.text.primary:R.getContrastText(le))),vt(R.SpeedDialAction,"fabHoverBg",Gw(R.background.paper,.15)),vt(R.StepConnector,"border",ee("palette-grey-400")),vt(R.StepContent,"border",ee("palette-grey-400")),vt(R.Switch,"defaultColor",ee("palette-common-white")),vt(R.Switch,"defaultDisabledColor",ee("palette-grey-100")),vt(R.Switch,"primaryDisabledColor",K(or,R.primary.main,.62)),vt(R.Switch,"secondaryDisabledColor",K(or,R.secondary.main,.62)),vt(R.Switch,"errorDisabledColor",K(or,R.error.main,.62)),vt(R.Switch,"infoDisabledColor",K(or,R.info.main,.62)),vt(R.Switch,"successDisabledColor",K(or,R.success.main,.62)),vt(R.Switch,"warningDisabledColor",K(or,R.warning.main,.62)),vt(R.TableCell,"border",K(or,K(nh,R.divider,1),.88)),vt(R.Tooltip,"bg",K(nh,R.grey[700],.92))}if(R.mode==="dark"){vt(R.Alert,"errorColor",K(or,R.error.light,.6)),vt(R.Alert,"infoColor",K(or,R.info.light,.6)),vt(R.Alert,"successColor",K(or,R.success.light,.6)),vt(R.Alert,"warningColor",K(or,R.warning.light,.6)),vt(R.Alert,"errorFilledBg",ee("palette-error-dark")),vt(R.Alert,"infoFilledBg",ee("palette-info-dark")),vt(R.Alert,"successFilledBg",ee("palette-success-dark")),vt(R.Alert,"warningFilledBg",ee("palette-warning-dark")),vt(R.Alert,"errorFilledColor",nu(()=>R.getContrastText(R.error.dark))),vt(R.Alert,"infoFilledColor",nu(()=>R.getContrastText(R.info.dark))),vt(R.Alert,"successFilledColor",nu(()=>R.getContrastText(R.success.dark))),vt(R.Alert,"warningFilledColor",nu(()=>R.getContrastText(R.warning.dark))),vt(R.Alert,"errorStandardBg",K(ar,R.error.light,.9)),vt(R.Alert,"infoStandardBg",K(ar,R.info.light,.9)),vt(R.Alert,"successStandardBg",K(ar,R.success.light,.9)),vt(R.Alert,"warningStandardBg",K(ar,R.warning.light,.9)),vt(R.Alert,"errorIconColor",ee("palette-error-main")),vt(R.Alert,"infoIconColor",ee("palette-info-main")),vt(R.Alert,"successIconColor",ee("palette-success-main")),vt(R.Alert,"warningIconColor",ee("palette-warning-main")),vt(R.AppBar,"defaultBg",ee("palette-grey-900")),vt(R.AppBar,"darkBg",ee("palette-background-paper")),vt(R.AppBar,"darkColor",ee("palette-text-primary")),vt(R.Avatar,"defaultBg",ee("palette-grey-600")),vt(R.Button,"inheritContainedBg",ee("palette-grey-800")),vt(R.Button,"inheritContainedHoverBg",ee("palette-grey-700")),vt(R.Chip,"defaultBorder",ee("palette-grey-700")),vt(R.Chip,"defaultAvatarColor",ee("palette-grey-300")),vt(R.Chip,"defaultIconColor",ee("palette-grey-300")),vt(R.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),vt(R.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),vt(R.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),vt(R.LinearProgress,"primaryBg",K(ar,R.primary.main,.5)),vt(R.LinearProgress,"secondaryBg",K(ar,R.secondary.main,.5)),vt(R.LinearProgress,"errorBg",K(ar,R.error.main,.5)),vt(R.LinearProgress,"infoBg",K(ar,R.info.main,.5)),vt(R.LinearProgress,"successBg",K(ar,R.success.main,.5)),vt(R.LinearProgress,"warningBg",K(ar,R.warning.main,.5)),vt(R.Skeleton,"bg",F?K(nh,R.text.primary,.13):`rgba(${ee("palette-text-primaryChannel")} / 0.13)`),vt(R.Slider,"primaryTrack",K(ar,R.primary.main,.5)),vt(R.Slider,"secondaryTrack",K(ar,R.secondary.main,.5)),vt(R.Slider,"errorTrack",K(ar,R.error.main,.5)),vt(R.Slider,"infoTrack",K(ar,R.info.main,.5)),vt(R.Slider,"successTrack",K(ar,R.success.main,.5)),vt(R.Slider,"warningTrack",K(ar,R.warning.main,.5));const le=F?K(or,R.background.default,.985):Gw(R.background.default,.98);vt(R.SnackbarContent,"bg",le),vt(R.SnackbarContent,"color",nu(()=>F?fve.text.primary:R.getContrastText(le))),vt(R.SpeedDialAction,"fabHoverBg",Gw(R.background.paper,.15)),vt(R.StepConnector,"border",ee("palette-grey-600")),vt(R.StepContent,"border",ee("palette-grey-600")),vt(R.Switch,"defaultColor",ee("palette-grey-300")),vt(R.Switch,"defaultDisabledColor",ee("palette-grey-600")),vt(R.Switch,"primaryDisabledColor",K(ar,R.primary.main,.55)),vt(R.Switch,"secondaryDisabledColor",K(ar,R.secondary.main,.55)),vt(R.Switch,"errorDisabledColor",K(ar,R.error.main,.55)),vt(R.Switch,"infoDisabledColor",K(ar,R.info.main,.55)),vt(R.Switch,"successDisabledColor",K(ar,R.success.main,.55)),vt(R.Switch,"warningDisabledColor",K(ar,R.warning.main,.55)),vt(R.TableCell,"border",K(ar,K(nh,R.divider,1),.68)),vt(R.Tooltip,"bg",K(nh,R.grey[700],.92))}kA(R.background,"default"),kA(R.background,"paper"),kA(R.common,"background"),kA(R.common,"onBackground"),kA(R,"divider"),Object.keys(R).forEach(le=>{const H=R[le];le!=="tonalOffset"&&H&&typeof H=="object"&&(H.main&&vt(R[le],"mainChannel",Xy(Zy(H.main))),H.light&&vt(R[le],"lightChannel",Xy(Zy(H.light))),H.dark&&vt(R[le],"darkChannel",Xy(Zy(H.dark))),H.contrastText&&vt(R[le],"contrastTextChannel",Xy(Zy(H.contrastText))),le==="text"&&(kA(R[le],"primary"),kA(R[le],"secondary")),le==="action"&&(H.active&&kA(R[le],"active"),H.selected&&kA(R[le],"selected")))})}),T=e.reduce((U,R)=>Ol(U,R),T);const B={prefix:a,disableCssColorScheme:r,shouldSkipGeneratingVar:s,getSelector:Ldt(T),enableContrastVars:o},{vars:O,generateThemeVars:P,generateStyleSheets:G}=ldt(T,B);return T.vars=O,Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([U,R])=>{T[U]=R}),T.generateThemeVars=P,T.generateStyleSheets=G,T.generateSpacing=function(){return tve(d.spacing,DU(this))},T.getColorSchemeSelector=cdt(l),T.spacing=T.generateSpacing(),T.shouldSkipGeneratingVar=s,T.unstable_sxConfig={...h1,...d?.unstable_sxConfig},T.unstable_sx=function(R){return p1({sx:R,theme:this})},T.toRuntimeSource=pve,T}function ZY(t,e,n){t.colorSchemes&&n&&(t.colorSchemes[e]={...n!==!0&&n,palette:UU({...n===!0?{}:n.palette,mode:e})})}function MU(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 xR(t,...e);let d=n;"palette"in t||c[s]&&(c[s]!==!0?d=c[s].palette:s==="dark"&&(d={mode:"dark"}));const A=xR({...t,palette:d},...e);return A.defaultColorScheme=s,A.colorSchemes=c,A.palette.mode==="light"&&(A.colorSchemes.light={...c.light!==!0&&c.light,palette:A.palette},ZY(A,"dark",c.dark)),A.palette.mode==="dark"&&(A.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:A.palette},ZY(A,"light",c.light)),A}return!n&&!("light"in c)&&s==="light"&&(c.light=!0),jdt({...o,colorSchemes:c,defaultColorScheme:s,...typeof i!="boolean"&&i},...e)}const Qdt=MU();function Hdt({theme:t,...e}){const n=xh in t?t[xh]:void 0;return y.jsx(dve,{...e,themeId:n?xh:void 0,theme:n||t})}const qw={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:zdt}=rdt({themeId:xh,theme:()=>MU({cssVariables:!0}),colorSchemeStorageKey:qw.colorSchemeStorageKey,modeStorageKey:qw.modeStorageKey,defaultColorScheme:{light:qw.defaultLightColorScheme,dark:qw.defaultDarkColorScheme},resolveTheme:t=>{const e={...t,typography:hve(t.palette,t.typography)};return e.unstable_sx=function(i){return p1({sx:i,theme:this})},e}}),Vdt=zdt;function Gdt({theme:t,...e}){const n=N.useMemo(()=>{if(typeof t=="function")return t;const i=xh in t?t[xh]:t;return"colorSchemes"in i?null:"vars"in i?t:{...t,vars:null}},[t]);return n?y.jsx(Hdt,{theme:n,...e}):y.jsx(Vdt,{theme:t,...e})}function qdt(t){return y.jsx(ive,{...t,defaultTheme:Qdt,themeId:xh})}function yve(t){return function(n){return y.jsx(qdt,{styles:typeof t=="function"?i=>t({theme:i,...n}):t})}}function qgt(){return Ict}function Kdt(t){return Gct(t)}const FR=typeof yve({})=="function",Wdt=(t,e)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...e&&!t.vars&&{colorScheme:t.palette.mode}}),Ydt=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}}),kve=(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:Wdt(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:{margin:0,...Ydt(t),"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}},...n};const r=t.components?.MuiCssBaseline?.styleOverrides;return r&&(i=[i,r]),i},TN="mui-ecs",Xdt=t=>{const e=kve(t,!1),n=Array.isArray(e)?e[0]:e;return!t.vars&&n&&(n.html[`:root:has(${TN})`]={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(.${TN}))`]:{colorScheme:r.palette?.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${TN}))`]:{colorScheme:r.palette?.mode}}}),e},Zdt=yve(FR?({theme:t,enableColorScheme:e})=>kve(t,e):({theme:t})=>Xdt(t));function Jdt(t){const e=Kdt({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:i=!1}=e;return y.jsxs(N.Fragment,{children:[FR&&y.jsx(Zdt,{enableColorScheme:i}),!FR&&!i&&y.jsx("span",{className:TN,style:{display:"none"}}),n]})}var rE=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(){}},eut={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},tut=class{#e=eut;#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)}},_R=new tut;function nut(t){setTimeout(t,0)}var aE=typeof window>"u"||"Deno"in globalThis;function cd(){}function iut(t,e){return typeof t=="function"?t(e):t}function rut(t){return typeof t=="number"&&t>=0&&t!==1/0}function aut(t,e){return Math.max(t+(e||0)-Date.now(),0)}function CR(t,e){return typeof t=="function"?t(e):t}function out(t,e){return typeof t=="function"?t(e):t}function JY(t,e){const{type:n="all",exact:i,fetchStatus:r,predicate:a,queryKey:o,stale:s}=t;if(o){if(i){if(e.queryHash!==$U(o,e.options))return!1}else if(!Zk(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 eX(t,e){const{exact:n,status:i,predicate:r,mutationKey:a}=t;if(a){if(!e.options.mutationKey)return!1;if(n){if(Xk(e.options.mutationKey)!==Xk(a))return!1}else if(!Zk(e.options.mutationKey,a))return!1}return!(i&&e.state.status!==i||r&&!r(e))}function $U(t,e){return(e?.queryKeyHashFn||Xk)(t)}function Xk(t){return JSON.stringify(t,(e,n)=>ER(n)?Object.keys(n).sort().reduce((i,r)=>(i[r]=n[r],i),{}):n)}function Zk(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>Zk(t[n],e[n])):!1}var sut=Object.prototype.hasOwnProperty;function bve(t,e){if(t===e)return t;const n=tX(t)&&tX(e);if(!n&&!(ER(t)&&ER(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],A=t[d],h=e[d];if(A===h){s[d]=A,(n?c<r:sut.call(t,d))&&l++;continue}if(A===null||h===null||typeof A!="object"||typeof h!="object"){s[d]=h;continue}const m=bve(A,h);s[d]=m,m===A&&l++}return r===o&&l===r?t:s}function tX(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function ER(t){if(!nX(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!nX(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function nX(t){return Object.prototype.toString.call(t)==="[object Object]"}function lut(t){return new Promise(e=>{_R.setTimeout(e,t)})}function cut(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?bve(t,e):e}function dut(t,e,n=0){const i=[...t,e];return n&&i.length>n?i.slice(1):i}function uut(t,e,n=0){const i=[e,...t];return n&&i.length>n?i.slice(0,-1):i}var jU=Symbol();function Sve(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===jU?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function Aut(t,e,n){let i=!1,r;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(r??=e(),i||(i=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),t}var fut=class extends rE{#e;#t;#n;constructor(){super(),this.#n=t=>{if(!aE&&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"}},wve=new fut;function mut(){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 hut=nut;function put(){let t=[],e=0,n=s=>{s()},i=s=>{s()},r=hut;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 gs=put(),gut=class extends rE{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(!aE&&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}},A2=new gut;function vut(t){return Math.min(1e3*2**t,3e4)}function Nve(t){return(t??"online")==="online"?A2.isOnline():!0}var BR=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function xve(t){let e=!1,n=0,i;const r=mut(),a=()=>r.status!=="pending",o=v=>{if(!a()){const b=new BR(v);h(b),t.onCancel?.(b)}},s=()=>{e=!0},l=()=>{e=!1},c=()=>wve.isFocused()&&(t.networkMode==="always"||A2.isOnline())&&t.canRun(),d=()=>Nve(t.networkMode)&&t.canRun(),A=v=>{a()||(i?.(),r.resolve(v))},h=v=>{a()||(i?.(),r.reject(v))},m=()=>new Promise(v=>{i=b=>{(a()||c())&&v(b)},t.onPause?.()}).then(()=>{i=void 0,a()||t.onContinue?.()}),g=()=>{if(a())return;let v;const b=n===0?t.initialPromise:void 0;try{v=b??t.fn()}catch(k){v=Promise.reject(k)}Promise.resolve(v).then(A).catch(k=>{if(a())return;const w=t.retry??(aE?0:3),x=t.retryDelay??vut,F=typeof x=="function"?x(n,k):x,_=w===!0||typeof w=="number"&&n<w||typeof w=="function"&&w(n,k);if(e||!_){h(k);return}n++,t.onFail?.(n,k),lut(F).then(()=>c()?void 0:m()).then(()=>{e?h(k):g()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(i?.(),r),cancelRetry:s,continueRetry:l,canStart:d,start:()=>(d()?g():m().then(g),r)}}var Fve=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),rut(this.gcTime)&&(this.#e=_R.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(aE?1/0:300*1e3))}clearGcTimeout(){this.#e&&(_R.clearTimeout(this.#e),this.#e=void 0)}},yut=class extends Fve{#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=rX(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=rX(this.options);e.data!==void 0&&(this.setState(iX(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,e){const n=cut(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(cd).catch(cd):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>out(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===jU||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>CR(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:!aut(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=Sve(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=xve({initialPromise:e?.initialPromise,fn:o.fetchFn,onCancel:s=>{s instanceof BR&&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 BR){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,...kut(n.data,this.options),fetchMeta:t.meta??null};case"success":const i={...n,...iX(t.data,t.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=t.manual?i:void 0,i;case"error":const r=t.error;return{...n,error:r,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=e(this.state),gs.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function kut(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Nve(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function iX(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function rX(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 aX(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 A=g=>{Aut(g,()=>e.signal,()=>d=!0)},h=Sve(e.options,e.fetchOptions),m=async(g,v,b)=>{if(d)return Promise.reject();if(v==null&&g.pages.length)return Promise.resolve(g);const w=(()=>{const T={client:e.client,queryKey:e.queryKey,pageParam:v,direction:b?"backward":"forward",meta:e.options.meta};return A(T),T})(),x=await h(w),{maxPages:F}=e.options,_=b?uut:dut;return{pages:_(g.pages,x,F),pageParams:_(g.pageParams,v,F)}};if(r&&a.length){const g=r==="backward",v=g?but:oX,b={pages:a,pageParams:o},k=v(i,b);s=await m(b,k,g)}else{const g=t??a.length;do{const v=l===0?o[0]??i.initialPageParam:oX(i,s);if(l>0&&v==null)break;s=await m(s,v),l++}while(l<g)}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 oX(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 but(t,{pages:e,pageParams:n}){return e.length>0?t.getPreviousPageParam?.(e[0],e,n[0],n):void 0}var Sut=class extends Fve{#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||wut(),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=xve({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{await this.#n.config.onError?.(a,t,this.state.context,this,n)}catch(o){Promise.reject(o)}try{await this.options.onError?.(a,t,this.state.context,n)}catch(o){Promise.reject(o)}try{await this.#n.config.onSettled?.(void 0,a,this.state.variables,this.state.context,this,n)}catch(o){Promise.reject(o)}try{await this.options.onSettled?.(void 0,a,t,this.state.context,n)}catch(o){Promise.reject(o)}throw this.#r({type:"error",error:a}),a}finally{this.#n.runNext(this)}}#r(t){const e=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),gs.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function wut(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Nut=class extends rE{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 Sut({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=Kw(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=Kw(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=Kw(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=Kw(t);return typeof e=="string"?this.#t.get(e)?.find(i=>i!==t&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){gs.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=>eX(e,n))}findAll(t={}){return this.getAll().filter(e=>eX(t,e))}notify(t){gs.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return gs.batch(()=>Promise.all(t.map(e=>e.continue().catch(cd))))}};function Kw(t){return t.options.scope?.id}var xut=class extends rE{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,e,n){const i=e.queryKey,r=e.queryHash??$U(i,e);let a=this.get(r);return a||(a=new yut({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(){gs.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=>JY(e,n))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(n=>JY(t,n)):e}notify(t){gs.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){gs.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){gs.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Fut=class{#e;#t;#n;#i;#r;#o;#a;#s;constructor(t={}){this.#e=t.queryCache||new xut,this.#t=t.mutationCache||new Nut,this.#n=t.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=wve.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=A2.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(CR(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=iut(e,a);if(o!==void 0)return this.#e.build(this,i).setData(o,{...n,manual:!0})}setQueriesData(t,e,n){return gs.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;gs.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=this.#e;return gs.batch(()=>(n.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},i=gs.batch(()=>this.#e.findAll(t).map(r=>r.cancel(n)));return Promise.all(i).then(cd).catch(cd)}invalidateQueries(t,e={}){return gs.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=gs.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(cd)),r.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(i).then(cd)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=this.#e.build(this,e);return n.isStaleByTime(CR(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(cd).catch(cd)}fetchInfiniteQuery(t){return t.behavior=aX(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(cd).catch(cd)}ensureInfiniteQueryData(t){return t.behavior=aX(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return A2.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(Xk(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#i.values()],n={};return e.forEach(i=>{Zk(t,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(t,e){this.#r.set(Xk(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#r.values()],n={};return e.forEach(i=>{Zk(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=$U(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===jU&&(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()}},_ut=N.createContext(void 0),Cut=({client:t,children:e})=>(N.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),y.jsx(_ut.Provider,{value:t,children:e}));function Eut(){const t=VX();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 But=(t,e,n,i,r,a,o,s)=>{let l=document.documentElement,c=["light","dark"];function d(m){(Array.isArray(t)?t:[t]).forEach(g=>{let v=g==="class",b=v&&a?r.map(k=>a[k]||k):r;v?(l.classList.remove(...b),l.classList.add(a&&a[m]?a[m]:m)):l.setAttribute(g,m)}),A(m)}function A(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,g=o&&m==="system"?h():m;d(g)}catch{}},Dut=N.createContext(void 0),Tut={setTheme:t=>{},themes:[]},Iut=()=>{var t;return(t=N.useContext(Dut))!=null?t:Tut};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:`(${But.toString()})(${d})`}})});const Out=({...t})=>{const{theme:e="system"}=Iut();return y.jsx(lTe,{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})},Rut=new Fut({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}}),Put=MU({palette:{primary:{main:"#556cd6"},secondary:{main:"#19857b"},error:{main:ah.A400}}});function Lut(){return y.jsx(Sne,{withGlobalStyles:!0,theme:{fontFamily:"Roboto, sans-serif",fontSizes:{md:"14"}},children:y.jsxs(Gdt,{theme:Put,children:[y.jsx(Jdt,{}),y.jsxs(RDe,{children:[y.jsx(Out,{}),y.jsx(cTe,{children:y.jsx(Cut,{client:Rut,children:y.jsxs(Ust,{children:[y.jsx(Eut,{}),y.jsx(Wge,{}),y.jsx(KX,{})]})})})]})]})})}function Uut(){if(!new pb().isLoggedIn())throw xX(jn.LOGIN);return null}function Mut(){if(new pb().isLoggedIn())throw xX(jn.HOME);return null}let Ww=null;function _ve(){if(Ww)return Ww;const t=new pb;let e;return e="https://accounter.onrender.com/graphql",Ww=YZ({url:e,exchanges:[WZ({onResult(n){Lte(n)}}),Pte(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()}})),KZ]}),Ww}function $ut(t){if(!t.chargeId)throw new Response("Charge ID is required",{status:400});return{chargeId:t.chargeId}}function jut(t){if(!t.businessId)throw new Response("Business ID is required",{status:400});return{businessId:t.businessId}}async function Qut({params:t}){const{chargeId:e}=$ut(t),i=await _ve().query(zFe,{chargeId:e}).toPromise();if(!i.data?.charge)throw new Response("Charge not found",{status:404});return i.data}async function Hut({params:t}){const{businessId:e}=jut(t),i=await _ve().query(HFe,{businessId:e}).toPromise();if(!i.data?.business)throw new Response("Business not found",{status:404});return i.data}const sX=N.lazy(()=>fi(()=>import("./all-charges-9I-_GAIh.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])).then(t=>({default:t.AllCharges}))),zut=N.lazy(()=>fi(()=>import("./missing-info-charges-CtQIrLKU.js"),__vite__mapDeps([27,1,9,10,11,12,13,6,14,15,16,17,18,19,20,21,22,23,24,25,3,26])).then(t=>({default:t.MissingInfoCharges}))),Vut=N.lazy(()=>fi(()=>import("./charge-BHf2jwQ2.js"),__vite__mapDeps([28,9,10,11,12,13,6,14,15,16,17,18,19,20,21,22,23,24,25,3])).then(t=>({default:t.Charge}))),Gut=N.lazy(()=>fi(()=>import("./charges-ledger-validation-ByXyxoWy.js"),__vite__mapDeps([29,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,30])).then(t=>({default:t.ChargesLedgerValidation}))),qut=N.lazy(()=>fi(()=>import("./index-Bj_rrl-m.js"),__vite__mapDeps([31,1,32,33,18,26])).then(t=>({default:t.Businesses}))),Kut=N.lazy(()=>fi(()=>import("./business-D-wTt00H.js"),__vite__mapDeps([34,35,33,36,20,21,37,32,9,10,11,12,13,6,14,15,16,17,18,19,38,39,40,41,7])).then(t=>({default:t.BusinessScreen}))),Wut=N.lazy(()=>fi(()=>import("./index-DQ7NOoGH.js"),__vite__mapDeps([42,1,25,15,26,36,20,21,37,43,3,4,8,11])).then(t=>({default:t.BusinessLedgerRecordsSummery}))),Yut=N.lazy(()=>fi(()=>import("./business-ledger-single-Cp78vuM_.js"),__vite__mapDeps([44,1,25,15,36,20,21,37,43,3,4,8])).then(t=>({default:t.BusinessLedgerRecordsSingle}))),Xut=N.lazy(()=>fi(()=>import("./contracts-CgKV5f7r.js"),__vite__mapDeps([45,40,20,21,4,41,7])).then(t=>({default:t.ContractsScreen}))),Zut=N.lazy(()=>fi(()=>import("./index-BroY6W-A.js"),__vite__mapDeps([46,47,14,16,15,10,11,8,13,24,26])).then(t=>({default:t.BusinessTrips}))),Jut=N.lazy(()=>fi(()=>import("./business-trip-D46oBUO8.js"),__vite__mapDeps([48,47,14,16,15,10,11,8,13,26])).then(t=>({default:t.BusinessTrip}))),eAt=N.lazy(()=>fi(()=>import("./index-BLmoyKIU.js"),__vite__mapDeps([49,1,26,3,4])).then(t=>({default:t.ChartPage}))),tAt=N.lazy(()=>fi(()=>import("./index-BUXTlxWk.js"),__vite__mapDeps([50,1,26,3,4,51,39,5,6,7])).then(t=>({default:t.MonthlyIncomeExpenseChart}))),nAt=N.lazy(()=>fi(()=>import("./index-d09MJMS8.js"),__vite__mapDeps([52,1,25,15,53,3,26,4,8,5,6,7,54])).then(t=>({default:t.DocumentsReport}))),iAt=N.lazy(()=>fi(()=>import("./issue-document-BIJf8MKa.js"),__vite__mapDeps([55,26])).then(t=>({default:t.IssueDocumentScreen}))),rAt=N.lazy(()=>fi(()=>import("./index-BfGTZPUC.js"),__vite__mapDeps([56,41,7])).then(t=>({default:t.IssueDocuments}))),aAt=N.lazy(()=>fi(()=>import("./index-Ckdf2yUv.js"),__vite__mapDeps([57,1,26,3,4,8,37,36,20,21,11,15])).then(t=>({default:t.TrialBalanceReport}))),oAt=N.lazy(()=>fi(()=>import("./index-B43PdIyK.js"),__vite__mapDeps([58,1,54,37,36,20,21,51,11,4,8])).then(t=>({default:t.ContoReport}))),sAt=N.lazy(()=>fi(()=>import("./index--NYgYtAv.js"),__vite__mapDeps([59,60,1,9,10,11,12,13,6,14,15,16,17,18,19,20,21,22,23,24,25,3,26,2,4,5,7,8])).then(t=>({default:t.VatMonthlyReport}))),lX=N.lazy(()=>fi(()=>import("./index-Bu2D5z4X.js"),__vite__mapDeps([61,60,26,62,10,11,15,3,23,4])).then(t=>({default:t.ProfitAndLossReport}))),cX=N.lazy(()=>fi(()=>import("./index-CAZcTGkQ.js"),__vite__mapDeps([63,60,26,62,10,11,15,3,23,4])).then(t=>({default:t.TaxReport}))),lAt=N.lazy(()=>fi(()=>import("./index-CeaqxbmH.js"),__vite__mapDeps([64,1,26,4])).then(t=>({default:t.DepreciationReport}))),cAt=N.lazy(()=>fi(()=>import("./index-CaijA1Vx.js"),__vite__mapDeps([65,26,23])).then(t=>({default:t.AnnualRevenueReport}))),dAt=N.lazy(()=>fi(()=>import("./index-D4dJ3h2S.js"),__vite__mapDeps([66,4,33,21,35])).then(t=>({default:t.Shaam6111Report}))),uAt=N.lazy(()=>fi(()=>import("./index-D6FB0EwL.js"),__vite__mapDeps([67,53,26,37,23])).then(t=>({default:t.YearlyLedgerReport}))),dX=N.lazy(()=>fi(()=>import("./index-NZolqX0v.js"),__vite__mapDeps([68,60,26,3,23,4,15])).then(t=>({default:t.CorporateTaxRulingComplianceReport}))),AAt=N.lazy(()=>fi(()=>import("./index-DAAv5UIM.js"),__vite__mapDeps([69,1,26,38,12,13,6,14,39,3,4,8,5,7])).then(t=>({default:t.BalanceReport}))),fAt=N.lazy(()=>fi(()=>import("./index-fgk1E-z6.js"),__vite__mapDeps([70,1,26,19,3,4])).then(t=>({default:t.ValidateReportsScreen}))),mAt=N.lazy(()=>fi(()=>import("./accountant-approvals-C_dCTQ-C.js"),__vite__mapDeps([71,1,2,3,4,5,6,7,8,26,30])).then(t=>({default:t.AccountantApprovals}))),hAt=N.lazy(()=>fi(()=>import("./index-BHmE2wk_.js"),__vite__mapDeps([72,1,26,3,4,8])).then(t=>({default:t.Salaries}))),pAt=N.lazy(()=>fi(()=>import("./index-D9vc6sKF.js"),__vite__mapDeps([73,26,14])).then(t=>({default:t.TagsManager}))),gAt=N.lazy(()=>fi(()=>import("./index-B8Qt1Fgi.js"),__vite__mapDeps([74,53,26,54])).then(t=>({default:t.TaxCategories}))),vAt=N.lazy(()=>fi(()=>import("./index-BZ_zczs5.js"),__vite__mapDeps([75,53,26,54])).then(t=>({default:t.SortCodes}))),yAt=N.lazy(()=>fi(()=>import("./index-DSS3T9dn.js"),__vite__mapDeps([76,17])).then(t=>({default:t.DepositsScreen}))),kAt=N.lazy(()=>fi(()=>import("./page-not-found-BkvWAmrg.js"),[]).then(t=>({default:t.PageNotFound}))),bAt=N.lazy(()=>fi(()=>import("./login-page-pio56Ae0.js"),[]).then(t=>({default:t.LoginPage})));function ci(t,e){return y.jsx(N.Suspense,{fallback:e||y.jsx(xwe,{}),children:y.jsx(t,{})})}const SAt=[{path:"/",element:y.jsx(Lut,{}),errorElement:y.jsx(dj,{}),children:[{path:jn.LOGIN,loader:Mut,element:ci(bAt),handle:{title:"Login"}},{path:"/",loader:Uut,element:y.jsx(Slt,{}),errorElement:y.jsx(dj,{}),children:[{index:!0,element:ci(sX,y.jsx(hl,{})),handle:{title:"All Charges",breadcrumb:"Charges"}},{path:"charges",handle:{breadcrumb:"Charges"},children:[{index:!0,element:ci(sX,y.jsx(hl,{})),handle:{title:"All Charges"}},{path:"missing-info",element:ci(zut,y.jsx(hl,{})),handle:{title:"Missing Info Charges",breadcrumb:"Missing Info"}},{path:"ledger-validation",element:ci(Gut,y.jsx(hl,{})),handle:{title:"Ledger Validation",breadcrumb:"Ledger Validation"}},{path:":chargeId",loader:Qut,element:ci(Vut),handle:{title:"Charge Details",breadcrumb:"Details"}}]},{path:"businesses",handle:{breadcrumb:"Businesses"},children:[{index:!0,element:ci(qut,y.jsx(hl,{})),handle:{title:"All Businesses"}},{path:"ledger",element:ci(Wut,y.jsx(hl,{})),handle:{title:"Business Ledger Records Summary",breadcrumb:"Ledger"}},{path:":businessId",loader:Hut,element:ci(Kut),handle:{title:"Business Details",breadcrumb:"Details"}},{path:":businessId/ledger",element:ci(Yut,y.jsx(hl,{})),handle:{title:"Business Ledger",breadcrumb:"Ledger"}},{path:"contracts",element:ci(Xut,y.jsx(hl,{})),handle:{title:"Clients Contracts",breadcrumb:"Contracts"}}]},{path:"business-trips",handle:{breadcrumb:"Business Trips"},children:[{index:!0,element:ci(Zut,y.jsx(hl,{})),handle:{title:"Business Trips"}},{path:":businessTripId",element:ci(Jut),handle:{title:"Business Trip Details",breadcrumb:"Details"}}]},{path:"charts",handle:{breadcrumb:"Charts"},children:[{index:!0,element:ci(eAt),handle:{title:"Charts"}},{path:"monthly-income-expense",element:ci(tAt),handle:{title:"Monthly Income/Expense",breadcrumb:"Income/Expense"}}]},{path:"documents",handle:{breadcrumb:"Documents"},children:[{index:!0,element:ci(nAt,y.jsx(hl,{})),handle:{title:"All Documents"}},{path:"issue-document",element:ci(iAt),handle:{title:"Issue Document",breadcrumb:"Issue Document"}},{path:"issue-documents",element:ci(rAt),handle:{title:"Issue Documents",breadcrumb:"Issue Documents"}}]},{path:"reports",handle:{breadcrumb:"Reports"},children:[{path:"trial-balance",element:ci(aAt,y.jsx(Hs,{})),handle:{title:"Trial Balance Report",breadcrumb:"Trial Balance"}},{path:"conto",element:ci(oAt,y.jsx(Hs,{})),handle:{title:"Conto Report",breadcrumb:"Conto"}},{path:"vat-monthly",element:ci(sAt,y.jsx(Hs,{})),handle:{title:"VAT Monthly Report",breadcrumb:"VAT Monthly"}},{path:"profit-and-loss",handle:{breadcrumb:"Profit & Loss"},children:[{index:!0,element:ci(lX,y.jsx(Hs,{})),handle:{title:"Profit & Loss Report"}},{path:":year",element:ci(lX,y.jsx(Hs,{})),handle:{title:"Profit & Loss Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"tax",handle:{breadcrumb:"Tax"},children:[{index:!0,element:ci(cX,y.jsx(Hs,{})),handle:{title:"Tax Report"}},{path:":year",element:ci(cX,y.jsx(Hs,{})),handle:{title:"Tax Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"depreciation",element:ci(lAt,y.jsx(Hs,{})),handle:{title:"Depreciation Report",breadcrumb:"Depreciation"}},{path:"annual-revenue",element:ci(cAt,y.jsx(Hs,{})),handle:{title:"Annual Revenue Report",breadcrumb:"Annual Revenue"}},{path:"shaam-6111",element:ci(dAt,y.jsx(Hs,{})),handle:{title:"Shaam 6111 Report",breadcrumb:"Shaam 6111"}},{path:"yearly-ledger",element:ci(uAt,y.jsx(Hs,{})),handle:{title:"Yearly Ledger Report",breadcrumb:"Yearly Ledger"}},{path:"corporate-tax-ruling-compliance",handle:{breadcrumb:"Tax Ruling"},children:[{index:!0,element:ci(dX,y.jsx(Hs,{})),handle:{title:"Corporate Tax Ruling Compliance Report"}},{path:":year",element:ci(dX,y.jsx(Hs,{})),handle:{title:"Corporate Tax Ruling Compliance Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"balance",element:ci(AAt,y.jsx(Hs,{})),handle:{title:"Balance Report",breadcrumb:"Balance"}},{path:"validate-reports",element:ci(fAt),handle:{title:"Validate Reports",breadcrumb:"Validate"}}]},{path:"bank-deposits",element:ci(yAt,y.jsx(hl,{})),handle:{title:"Bank Deposits",breadcrumb:"Bank Deposits"}},{path:"accountant-approvals",element:ci(mAt,y.jsx(hl,{})),handle:{title:"Accountant Approvals",breadcrumb:"Accountant Approvals"}},{path:"salaries",element:ci(hAt,y.jsx(hl,{})),handle:{title:"Salaries",breadcrumb:"Salaries"}},{path:"tags",element:ci(pAt),handle:{title:"Tags",breadcrumb:"Tags"}},{path:"tax-categories",element:ci(gAt),handle:{title:"Tax Categories",breadcrumb:"Tax Categories"}},{path:"sort-codes",element:ci(vAt),handle:{title:"Sort Codes",breadcrumb:"Sort Codes"}},{path:"*",element:ci(kAt),handle:{title:"Page Not Found"}}]}]}];var uX={},AX;function wAt(){if(AX)return uX;AX=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(A){return r.lastIndex=0,r.test(A)?'"'+A.replace(r,function(h){var m=s[h];return typeof m=="string"?m:"\\u"+("0000"+h.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+A+'"'}function d(A,h){var m,g,v,b,k=a,w,x=h[A];switch(x&&typeof x=="object"&&typeof x.toJSON=="function"&&(x=x.toJSON(A)),typeof l=="function"&&(x=l.call(h,A,x)),typeof x){case"string":return c(x);case"number":return isFinite(x)?String(x):"null";case"bigint":case"boolean":case"null":return String(x);case"object":if(!x)return"null";if(a+=o,w=[],Object.prototype.toString.apply(x)==="[object Array]"){for(b=x.length,m=0;m<b;m+=1)w[m]=d(m,x)||"null";return v=w.length===0?"[]":a?`[
|
|
290
|
+
export default theme;`}function XY(t){return typeof t=="number"?`${(t*100).toFixed(0)}%`:`calc((${t}) * 100%)`}const Bdt=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 Ddt(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})`:ove(e,Bdt(n))},lighten(e,n){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${e}, #fff ${XY(n)})`:iE(e,n)},darken(e,n){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${e}, #000 ${XY(n)})`:nE(e,n)}})}function xR(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(Kh(20));const A=UU({...a,colorSpace:c}),h=nve(t);let m=Ol(h,{mixins:vdt(h.breakpoints,i),palette:A,shadows:wdt.slice(),typography:hve(A,s),transitions:_dt(o),zIndex:{...Cdt}});return m=Ol(m,d),m=e.reduce((g,v)=>Ol(g,v),m),m.unstable_sxConfig={...h1,...d?.unstable_sxConfig},m.unstable_sx=function(v){return p1({sx:v,theme:this})},m.toRuntimeSource=pve,Ddt(m),m}function Tdt(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 Idt=[...Array(25)].map((t,e)=>{if(e===0)return"none";const n=Tdt(e);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function gve(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function vve(t){return t==="dark"?Idt:[]}function Odt(t){const{palette:e={mode:"light"},opacity:n,overlays:i,colorSpace:r,...a}=t,o=UU({...e,colorSpace:r});return{palette:o,opacity:{...gve(o.mode),...n},overlays:i||vve(o.mode),...a}}function Rdt(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 Pdt=t=>[...[...Array(25)].map((e,n)=>`--${t?`${t}-`:""}overlays-${n}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],Ldt=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 Pdt(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 Udt(t,e){e.forEach(n=>{t[n]||(t[n]={})})}function vt(t,e,n){!t[e]&&n&&(t[e]=n)}function Zy(t){return typeof t!="string"||!t.startsWith("hsl")?t:ave(t)}function kA(t,e){`${e}Channel`in t||(t[`${e}Channel`]=Xy(Zy(t[e])))}function Mdt(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const nu=t=>{try{return t()}catch{}},$dt=(t="mui")=>adt(t);function AI(t,e,n,i,r){if(!n)return;n=n===!0?{}:n;const a=r==="dark"?"dark":"light";if(!i){e[r]=Odt({...n,palette:{mode:a,...n?.palette},colorSpace:t});return}const{palette:o,...s}=xR({...i,palette:{mode:a,...n?.palette},colorSpace:t});return e[r]={...n,palette:o,opacity:{...gve(a),...n?.opacity},overlays:n?.overlays||vve(a)},s}function jdt(t={},...e){const{colorSchemes:n={light:!0},defaultColorScheme:i,disableCssColorScheme:r=!1,cssVarPrefix:a="mui",nativeColor:o=!1,shouldSkipGeneratingVar:s=Rdt,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,rootSelector:c=":root",...d}=t,A=Object.keys(n)[0],h=i||(n.light&&A!=="light"?"light":A),m=$dt(a),{[h]:g,light:v,dark:b,...k}=n,w={...k};let x=g;if((h==="dark"&&!("dark"in n)||h==="light"&&!("light"in n))&&(x=!0),!x)throw new Error(Kh(21,h));let F;o&&(F="oklch");const _=AI(F,w,x,d,h);v&&!w.light&&AI(F,w,v,void 0,"light"),b&&!w.dark&&AI(F,w,b,void 0,"dark");let T={defaultColorScheme:h,..._,cssVarPrefix:a,colorSchemeSelector:l,rootSelector:c,getCssVar:m,colorSchemes:w,font:{...gdt(_.typography),..._.font},spacing:Mdt(d.spacing)};Object.keys(T.colorSchemes).forEach(U=>{const R=T.colorSchemes[U].palette,ee=le=>{const H=le.split("-"),te=H[1],X=H[2];return m(le,R[te][X])};R.mode==="light"&&(vt(R.common,"background","#fff"),vt(R.common,"onBackground","#000")),R.mode==="dark"&&(vt(R.common,"background","#000"),vt(R.common,"onBackground","#fff"));function K(le,H,te){if(F){let X;return le===nh&&(X=`transparent ${((1-te)*100).toFixed(0)}%`),le===ar&&(X=`#000 ${(te*100).toFixed(0)}%`),le===or&&(X=`#fff ${(te*100).toFixed(0)}%`),`color-mix(in ${F}, ${H}, ${X})`}return le(H,te)}if(Udt(R,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),R.mode==="light"){vt(R.Alert,"errorColor",K(ar,R.error.light,.6)),vt(R.Alert,"infoColor",K(ar,R.info.light,.6)),vt(R.Alert,"successColor",K(ar,R.success.light,.6)),vt(R.Alert,"warningColor",K(ar,R.warning.light,.6)),vt(R.Alert,"errorFilledBg",ee("palette-error-main")),vt(R.Alert,"infoFilledBg",ee("palette-info-main")),vt(R.Alert,"successFilledBg",ee("palette-success-main")),vt(R.Alert,"warningFilledBg",ee("palette-warning-main")),vt(R.Alert,"errorFilledColor",nu(()=>R.getContrastText(R.error.main))),vt(R.Alert,"infoFilledColor",nu(()=>R.getContrastText(R.info.main))),vt(R.Alert,"successFilledColor",nu(()=>R.getContrastText(R.success.main))),vt(R.Alert,"warningFilledColor",nu(()=>R.getContrastText(R.warning.main))),vt(R.Alert,"errorStandardBg",K(or,R.error.light,.9)),vt(R.Alert,"infoStandardBg",K(or,R.info.light,.9)),vt(R.Alert,"successStandardBg",K(or,R.success.light,.9)),vt(R.Alert,"warningStandardBg",K(or,R.warning.light,.9)),vt(R.Alert,"errorIconColor",ee("palette-error-main")),vt(R.Alert,"infoIconColor",ee("palette-info-main")),vt(R.Alert,"successIconColor",ee("palette-success-main")),vt(R.Alert,"warningIconColor",ee("palette-warning-main")),vt(R.AppBar,"defaultBg",ee("palette-grey-100")),vt(R.Avatar,"defaultBg",ee("palette-grey-400")),vt(R.Button,"inheritContainedBg",ee("palette-grey-300")),vt(R.Button,"inheritContainedHoverBg",ee("palette-grey-A100")),vt(R.Chip,"defaultBorder",ee("palette-grey-400")),vt(R.Chip,"defaultAvatarColor",ee("palette-grey-700")),vt(R.Chip,"defaultIconColor",ee("palette-grey-700")),vt(R.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),vt(R.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),vt(R.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),vt(R.LinearProgress,"primaryBg",K(or,R.primary.main,.62)),vt(R.LinearProgress,"secondaryBg",K(or,R.secondary.main,.62)),vt(R.LinearProgress,"errorBg",K(or,R.error.main,.62)),vt(R.LinearProgress,"infoBg",K(or,R.info.main,.62)),vt(R.LinearProgress,"successBg",K(or,R.success.main,.62)),vt(R.LinearProgress,"warningBg",K(or,R.warning.main,.62)),vt(R.Skeleton,"bg",F?K(nh,R.text.primary,.11):`rgba(${ee("palette-text-primaryChannel")} / 0.11)`),vt(R.Slider,"primaryTrack",K(or,R.primary.main,.62)),vt(R.Slider,"secondaryTrack",K(or,R.secondary.main,.62)),vt(R.Slider,"errorTrack",K(or,R.error.main,.62)),vt(R.Slider,"infoTrack",K(or,R.info.main,.62)),vt(R.Slider,"successTrack",K(or,R.success.main,.62)),vt(R.Slider,"warningTrack",K(or,R.warning.main,.62));const le=F?K(ar,R.background.default,.6825):Gw(R.background.default,.8);vt(R.SnackbarContent,"bg",le),vt(R.SnackbarContent,"color",nu(()=>F?NR.text.primary:R.getContrastText(le))),vt(R.SpeedDialAction,"fabHoverBg",Gw(R.background.paper,.15)),vt(R.StepConnector,"border",ee("palette-grey-400")),vt(R.StepContent,"border",ee("palette-grey-400")),vt(R.Switch,"defaultColor",ee("palette-common-white")),vt(R.Switch,"defaultDisabledColor",ee("palette-grey-100")),vt(R.Switch,"primaryDisabledColor",K(or,R.primary.main,.62)),vt(R.Switch,"secondaryDisabledColor",K(or,R.secondary.main,.62)),vt(R.Switch,"errorDisabledColor",K(or,R.error.main,.62)),vt(R.Switch,"infoDisabledColor",K(or,R.info.main,.62)),vt(R.Switch,"successDisabledColor",K(or,R.success.main,.62)),vt(R.Switch,"warningDisabledColor",K(or,R.warning.main,.62)),vt(R.TableCell,"border",K(or,K(nh,R.divider,1),.88)),vt(R.Tooltip,"bg",K(nh,R.grey[700],.92))}if(R.mode==="dark"){vt(R.Alert,"errorColor",K(or,R.error.light,.6)),vt(R.Alert,"infoColor",K(or,R.info.light,.6)),vt(R.Alert,"successColor",K(or,R.success.light,.6)),vt(R.Alert,"warningColor",K(or,R.warning.light,.6)),vt(R.Alert,"errorFilledBg",ee("palette-error-dark")),vt(R.Alert,"infoFilledBg",ee("palette-info-dark")),vt(R.Alert,"successFilledBg",ee("palette-success-dark")),vt(R.Alert,"warningFilledBg",ee("palette-warning-dark")),vt(R.Alert,"errorFilledColor",nu(()=>R.getContrastText(R.error.dark))),vt(R.Alert,"infoFilledColor",nu(()=>R.getContrastText(R.info.dark))),vt(R.Alert,"successFilledColor",nu(()=>R.getContrastText(R.success.dark))),vt(R.Alert,"warningFilledColor",nu(()=>R.getContrastText(R.warning.dark))),vt(R.Alert,"errorStandardBg",K(ar,R.error.light,.9)),vt(R.Alert,"infoStandardBg",K(ar,R.info.light,.9)),vt(R.Alert,"successStandardBg",K(ar,R.success.light,.9)),vt(R.Alert,"warningStandardBg",K(ar,R.warning.light,.9)),vt(R.Alert,"errorIconColor",ee("palette-error-main")),vt(R.Alert,"infoIconColor",ee("palette-info-main")),vt(R.Alert,"successIconColor",ee("palette-success-main")),vt(R.Alert,"warningIconColor",ee("palette-warning-main")),vt(R.AppBar,"defaultBg",ee("palette-grey-900")),vt(R.AppBar,"darkBg",ee("palette-background-paper")),vt(R.AppBar,"darkColor",ee("palette-text-primary")),vt(R.Avatar,"defaultBg",ee("palette-grey-600")),vt(R.Button,"inheritContainedBg",ee("palette-grey-800")),vt(R.Button,"inheritContainedHoverBg",ee("palette-grey-700")),vt(R.Chip,"defaultBorder",ee("palette-grey-700")),vt(R.Chip,"defaultAvatarColor",ee("palette-grey-300")),vt(R.Chip,"defaultIconColor",ee("palette-grey-300")),vt(R.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),vt(R.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),vt(R.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),vt(R.LinearProgress,"primaryBg",K(ar,R.primary.main,.5)),vt(R.LinearProgress,"secondaryBg",K(ar,R.secondary.main,.5)),vt(R.LinearProgress,"errorBg",K(ar,R.error.main,.5)),vt(R.LinearProgress,"infoBg",K(ar,R.info.main,.5)),vt(R.LinearProgress,"successBg",K(ar,R.success.main,.5)),vt(R.LinearProgress,"warningBg",K(ar,R.warning.main,.5)),vt(R.Skeleton,"bg",F?K(nh,R.text.primary,.13):`rgba(${ee("palette-text-primaryChannel")} / 0.13)`),vt(R.Slider,"primaryTrack",K(ar,R.primary.main,.5)),vt(R.Slider,"secondaryTrack",K(ar,R.secondary.main,.5)),vt(R.Slider,"errorTrack",K(ar,R.error.main,.5)),vt(R.Slider,"infoTrack",K(ar,R.info.main,.5)),vt(R.Slider,"successTrack",K(ar,R.success.main,.5)),vt(R.Slider,"warningTrack",K(ar,R.warning.main,.5));const le=F?K(or,R.background.default,.985):Gw(R.background.default,.98);vt(R.SnackbarContent,"bg",le),vt(R.SnackbarContent,"color",nu(()=>F?fve.text.primary:R.getContrastText(le))),vt(R.SpeedDialAction,"fabHoverBg",Gw(R.background.paper,.15)),vt(R.StepConnector,"border",ee("palette-grey-600")),vt(R.StepContent,"border",ee("palette-grey-600")),vt(R.Switch,"defaultColor",ee("palette-grey-300")),vt(R.Switch,"defaultDisabledColor",ee("palette-grey-600")),vt(R.Switch,"primaryDisabledColor",K(ar,R.primary.main,.55)),vt(R.Switch,"secondaryDisabledColor",K(ar,R.secondary.main,.55)),vt(R.Switch,"errorDisabledColor",K(ar,R.error.main,.55)),vt(R.Switch,"infoDisabledColor",K(ar,R.info.main,.55)),vt(R.Switch,"successDisabledColor",K(ar,R.success.main,.55)),vt(R.Switch,"warningDisabledColor",K(ar,R.warning.main,.55)),vt(R.TableCell,"border",K(ar,K(nh,R.divider,1),.68)),vt(R.Tooltip,"bg",K(nh,R.grey[700],.92))}kA(R.background,"default"),kA(R.background,"paper"),kA(R.common,"background"),kA(R.common,"onBackground"),kA(R,"divider"),Object.keys(R).forEach(le=>{const H=R[le];le!=="tonalOffset"&&H&&typeof H=="object"&&(H.main&&vt(R[le],"mainChannel",Xy(Zy(H.main))),H.light&&vt(R[le],"lightChannel",Xy(Zy(H.light))),H.dark&&vt(R[le],"darkChannel",Xy(Zy(H.dark))),H.contrastText&&vt(R[le],"contrastTextChannel",Xy(Zy(H.contrastText))),le==="text"&&(kA(R[le],"primary"),kA(R[le],"secondary")),le==="action"&&(H.active&&kA(R[le],"active"),H.selected&&kA(R[le],"selected")))})}),T=e.reduce((U,R)=>Ol(U,R),T);const B={prefix:a,disableCssColorScheme:r,shouldSkipGeneratingVar:s,getSelector:Ldt(T),enableContrastVars:o},{vars:O,generateThemeVars:P,generateStyleSheets:G}=ldt(T,B);return T.vars=O,Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([U,R])=>{T[U]=R}),T.generateThemeVars=P,T.generateStyleSheets=G,T.generateSpacing=function(){return tve(d.spacing,DU(this))},T.getColorSchemeSelector=cdt(l),T.spacing=T.generateSpacing(),T.shouldSkipGeneratingVar=s,T.unstable_sxConfig={...h1,...d?.unstable_sxConfig},T.unstable_sx=function(R){return p1({sx:R,theme:this})},T.toRuntimeSource=pve,T}function ZY(t,e,n){t.colorSchemes&&n&&(t.colorSchemes[e]={...n!==!0&&n,palette:UU({...n===!0?{}:n.palette,mode:e})})}function MU(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 xR(t,...e);let d=n;"palette"in t||c[s]&&(c[s]!==!0?d=c[s].palette:s==="dark"&&(d={mode:"dark"}));const A=xR({...t,palette:d},...e);return A.defaultColorScheme=s,A.colorSchemes=c,A.palette.mode==="light"&&(A.colorSchemes.light={...c.light!==!0&&c.light,palette:A.palette},ZY(A,"dark",c.dark)),A.palette.mode==="dark"&&(A.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:A.palette},ZY(A,"light",c.light)),A}return!n&&!("light"in c)&&s==="light"&&(c.light=!0),jdt({...o,colorSchemes:c,defaultColorScheme:s,...typeof i!="boolean"&&i},...e)}const Qdt=MU();function Hdt({theme:t,...e}){const n=xh in t?t[xh]:void 0;return y.jsx(dve,{...e,themeId:n?xh:void 0,theme:n||t})}const qw={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:zdt}=rdt({themeId:xh,theme:()=>MU({cssVariables:!0}),colorSchemeStorageKey:qw.colorSchemeStorageKey,modeStorageKey:qw.modeStorageKey,defaultColorScheme:{light:qw.defaultLightColorScheme,dark:qw.defaultDarkColorScheme},resolveTheme:t=>{const e={...t,typography:hve(t.palette,t.typography)};return e.unstable_sx=function(i){return p1({sx:i,theme:this})},e}}),Vdt=zdt;function Gdt({theme:t,...e}){const n=N.useMemo(()=>{if(typeof t=="function")return t;const i=xh in t?t[xh]:t;return"colorSchemes"in i?null:"vars"in i?t:{...t,vars:null}},[t]);return n?y.jsx(Hdt,{theme:n,...e}):y.jsx(Vdt,{theme:t,...e})}function qdt(t){return y.jsx(ive,{...t,defaultTheme:Qdt,themeId:xh})}function yve(t){return function(n){return y.jsx(qdt,{styles:typeof t=="function"?i=>t({theme:i,...n}):t})}}function qgt(){return Ict}function Kdt(t){return Gct(t)}const FR=typeof yve({})=="function",Wdt=(t,e)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...e&&!t.vars&&{colorScheme:t.palette.mode}}),Ydt=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}}),kve=(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:Wdt(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:{margin:0,...Ydt(t),"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}},...n};const r=t.components?.MuiCssBaseline?.styleOverrides;return r&&(i=[i,r]),i},TN="mui-ecs",Xdt=t=>{const e=kve(t,!1),n=Array.isArray(e)?e[0]:e;return!t.vars&&n&&(n.html[`:root:has(${TN})`]={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(.${TN}))`]:{colorScheme:r.palette?.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${TN}))`]:{colorScheme:r.palette?.mode}}}),e},Zdt=yve(FR?({theme:t,enableColorScheme:e})=>kve(t,e):({theme:t})=>Xdt(t));function Jdt(t){const e=Kdt({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:i=!1}=e;return y.jsxs(N.Fragment,{children:[FR&&y.jsx(Zdt,{enableColorScheme:i}),!FR&&!i&&y.jsx("span",{className:TN,style:{display:"none"}}),n]})}var rE=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(){}},eut={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},tut=class{#e=eut;#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)}},_R=new tut;function nut(t){setTimeout(t,0)}var aE=typeof window>"u"||"Deno"in globalThis;function cd(){}function iut(t,e){return typeof t=="function"?t(e):t}function rut(t){return typeof t=="number"&&t>=0&&t!==1/0}function aut(t,e){return Math.max(t+(e||0)-Date.now(),0)}function CR(t,e){return typeof t=="function"?t(e):t}function out(t,e){return typeof t=="function"?t(e):t}function JY(t,e){const{type:n="all",exact:i,fetchStatus:r,predicate:a,queryKey:o,stale:s}=t;if(o){if(i){if(e.queryHash!==$U(o,e.options))return!1}else if(!Zk(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 eX(t,e){const{exact:n,status:i,predicate:r,mutationKey:a}=t;if(a){if(!e.options.mutationKey)return!1;if(n){if(Xk(e.options.mutationKey)!==Xk(a))return!1}else if(!Zk(e.options.mutationKey,a))return!1}return!(i&&e.state.status!==i||r&&!r(e))}function $U(t,e){return(e?.queryKeyHashFn||Xk)(t)}function Xk(t){return JSON.stringify(t,(e,n)=>ER(n)?Object.keys(n).sort().reduce((i,r)=>(i[r]=n[r],i),{}):n)}function Zk(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>Zk(t[n],e[n])):!1}var sut=Object.prototype.hasOwnProperty;function bve(t,e){if(t===e)return t;const n=tX(t)&&tX(e);if(!n&&!(ER(t)&&ER(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],A=t[d],h=e[d];if(A===h){s[d]=A,(n?c<r:sut.call(t,d))&&l++;continue}if(A===null||h===null||typeof A!="object"||typeof h!="object"){s[d]=h;continue}const m=bve(A,h);s[d]=m,m===A&&l++}return r===o&&l===r?t:s}function tX(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function ER(t){if(!nX(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!nX(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function nX(t){return Object.prototype.toString.call(t)==="[object Object]"}function lut(t){return new Promise(e=>{_R.setTimeout(e,t)})}function cut(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?bve(t,e):e}function dut(t,e,n=0){const i=[...t,e];return n&&i.length>n?i.slice(1):i}function uut(t,e,n=0){const i=[e,...t];return n&&i.length>n?i.slice(0,-1):i}var jU=Symbol();function Sve(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:!t.queryFn||t.queryFn===jU?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function Aut(t,e,n){let i=!1,r;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(r??=e(),i||(i=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),t}var fut=class extends rE{#e;#t;#n;constructor(){super(),this.#n=t=>{if(!aE&&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"}},wve=new fut;function mut(){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 hut=nut;function put(){let t=[],e=0,n=s=>{s()},i=s=>{s()},r=hut;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 gs=put(),gut=class extends rE{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(!aE&&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}},A2=new gut;function vut(t){return Math.min(1e3*2**t,3e4)}function Nve(t){return(t??"online")==="online"?A2.isOnline():!0}var BR=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function xve(t){let e=!1,n=0,i;const r=mut(),a=()=>r.status!=="pending",o=v=>{if(!a()){const b=new BR(v);h(b),t.onCancel?.(b)}},s=()=>{e=!0},l=()=>{e=!1},c=()=>wve.isFocused()&&(t.networkMode==="always"||A2.isOnline())&&t.canRun(),d=()=>Nve(t.networkMode)&&t.canRun(),A=v=>{a()||(i?.(),r.resolve(v))},h=v=>{a()||(i?.(),r.reject(v))},m=()=>new Promise(v=>{i=b=>{(a()||c())&&v(b)},t.onPause?.()}).then(()=>{i=void 0,a()||t.onContinue?.()}),g=()=>{if(a())return;let v;const b=n===0?t.initialPromise:void 0;try{v=b??t.fn()}catch(k){v=Promise.reject(k)}Promise.resolve(v).then(A).catch(k=>{if(a())return;const w=t.retry??(aE?0:3),x=t.retryDelay??vut,F=typeof x=="function"?x(n,k):x,_=w===!0||typeof w=="number"&&n<w||typeof w=="function"&&w(n,k);if(e||!_){h(k);return}n++,t.onFail?.(n,k),lut(F).then(()=>c()?void 0:m()).then(()=>{e?h(k):g()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(i?.(),r),cancelRetry:s,continueRetry:l,canStart:d,start:()=>(d()?g():m().then(g),r)}}var Fve=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),rut(this.gcTime)&&(this.#e=_R.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(aE?1/0:300*1e3))}clearGcTimeout(){this.#e&&(_R.clearTimeout(this.#e),this.#e=void 0)}},yut=class extends Fve{#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=rX(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=rX(this.options);e.data!==void 0&&(this.setState(iX(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,e){const n=cut(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(cd).catch(cd):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>out(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===jU||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>CR(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:!aut(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=Sve(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=xve({initialPromise:e?.initialPromise,fn:o.fetchFn,onCancel:s=>{s instanceof BR&&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 BR){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,...kut(n.data,this.options),fetchMeta:t.meta??null};case"success":const i={...n,...iX(t.data,t.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=t.manual?i:void 0,i;case"error":const r=t.error;return{...n,error:r,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=e(this.state),gs.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function kut(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Nve(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function iX(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function rX(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 aX(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 A=g=>{Aut(g,()=>e.signal,()=>d=!0)},h=Sve(e.options,e.fetchOptions),m=async(g,v,b)=>{if(d)return Promise.reject();if(v==null&&g.pages.length)return Promise.resolve(g);const w=(()=>{const T={client:e.client,queryKey:e.queryKey,pageParam:v,direction:b?"backward":"forward",meta:e.options.meta};return A(T),T})(),x=await h(w),{maxPages:F}=e.options,_=b?uut:dut;return{pages:_(g.pages,x,F),pageParams:_(g.pageParams,v,F)}};if(r&&a.length){const g=r==="backward",v=g?but:oX,b={pages:a,pageParams:o},k=v(i,b);s=await m(b,k,g)}else{const g=t??a.length;do{const v=l===0?o[0]??i.initialPageParam:oX(i,s);if(l>0&&v==null)break;s=await m(s,v),l++}while(l<g)}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 oX(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 but(t,{pages:e,pageParams:n}){return e.length>0?t.getPreviousPageParam?.(e[0],e,n[0],n):void 0}var Sut=class extends Fve{#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||wut(),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=xve({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{await this.#n.config.onError?.(a,t,this.state.context,this,n)}catch(o){Promise.reject(o)}try{await this.options.onError?.(a,t,this.state.context,n)}catch(o){Promise.reject(o)}try{await this.#n.config.onSettled?.(void 0,a,this.state.variables,this.state.context,this,n)}catch(o){Promise.reject(o)}try{await this.options.onSettled?.(void 0,a,t,this.state.context,n)}catch(o){Promise.reject(o)}throw this.#r({type:"error",error:a}),a}finally{this.#n.runNext(this)}}#r(t){const e=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),gs.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function wut(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Nut=class extends rE{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 Sut({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=Kw(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=Kw(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=Kw(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=Kw(t);return typeof e=="string"?this.#t.get(e)?.find(i=>i!==t&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){gs.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=>eX(e,n))}findAll(t={}){return this.getAll().filter(e=>eX(t,e))}notify(t){gs.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){const t=this.getAll().filter(e=>e.state.isPaused);return gs.batch(()=>Promise.all(t.map(e=>e.continue().catch(cd))))}};function Kw(t){return t.options.scope?.id}var xut=class extends rE{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,e,n){const i=e.queryKey,r=e.queryHash??$U(i,e);let a=this.get(r);return a||(a=new yut({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(){gs.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=>JY(e,n))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter(n=>JY(t,n)):e}notify(t){gs.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){gs.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){gs.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Fut=class{#e;#t;#n;#i;#r;#o;#a;#s;constructor(t={}){this.#e=t.queryCache||new xut,this.#t=t.mutationCache||new Nut,this.#n=t.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=wve.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=A2.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(CR(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=iut(e,a);if(o!==void 0)return this.#e.build(this,i).setData(o,{...n,manual:!0})}setQueriesData(t,e,n){return gs.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;gs.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=this.#e;return gs.batch(()=>(n.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},i=gs.batch(()=>this.#e.findAll(t).map(r=>r.cancel(n)));return Promise.all(i).then(cd).catch(cd)}invalidateQueries(t,e={}){return gs.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=gs.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(cd)),r.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(i).then(cd)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=this.#e.build(this,e);return n.isStaleByTime(CR(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(cd).catch(cd)}fetchInfiniteQuery(t){return t.behavior=aX(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(cd).catch(cd)}ensureInfiniteQueryData(t){return t.behavior=aX(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return A2.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(Xk(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...this.#i.values()],n={};return e.forEach(i=>{Zk(t,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(t,e){this.#r.set(Xk(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...this.#r.values()],n={};return e.forEach(i=>{Zk(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=$U(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===jU&&(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()}},_ut=N.createContext(void 0),Cut=({client:t,children:e})=>(N.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),y.jsx(_ut.Provider,{value:t,children:e}));function Eut(){const t=VX();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 But=(t,e,n,i,r,a,o,s)=>{let l=document.documentElement,c=["light","dark"];function d(m){(Array.isArray(t)?t:[t]).forEach(g=>{let v=g==="class",b=v&&a?r.map(k=>a[k]||k):r;v?(l.classList.remove(...b),l.classList.add(a&&a[m]?a[m]:m)):l.setAttribute(g,m)}),A(m)}function A(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,g=o&&m==="system"?h():m;d(g)}catch{}},Dut=N.createContext(void 0),Tut={setTheme:t=>{},themes:[]},Iut=()=>{var t;return(t=N.useContext(Dut))!=null?t:Tut};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:`(${But.toString()})(${d})`}})});const Out=({...t})=>{const{theme:e="system"}=Iut();return y.jsx(lTe,{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})},Rut=new Fut({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}}),Put=MU({palette:{primary:{main:"#556cd6"},secondary:{main:"#19857b"},error:{main:ah.A400}}});function Lut(){return y.jsx(Sne,{withGlobalStyles:!0,theme:{fontFamily:"Roboto, sans-serif",fontSizes:{md:"14"}},children:y.jsxs(Gdt,{theme:Put,children:[y.jsx(Jdt,{}),y.jsxs(RDe,{children:[y.jsx(Out,{}),y.jsx(cTe,{children:y.jsx(Cut,{client:Rut,children:y.jsxs(Ust,{children:[y.jsx(Eut,{}),y.jsx(Wge,{}),y.jsx(KX,{})]})})})]})]})})}function Uut(){if(!new pb().isLoggedIn())throw xX(jn.LOGIN);return null}function Mut(){if(new pb().isLoggedIn())throw xX(jn.HOME);return null}let Ww=null;function _ve(){if(Ww)return Ww;const t=new pb;let e;return e="https://accounter.onrender.com/graphql",Ww=YZ({url:e,exchanges:[WZ({onResult(n){Lte(n)}}),Pte(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()}})),KZ]}),Ww}function $ut(t){if(!t.chargeId)throw new Response("Charge ID is required",{status:400});return{chargeId:t.chargeId}}function jut(t){if(!t.businessId)throw new Response("Business ID is required",{status:400});return{businessId:t.businessId}}async function Qut({params:t}){const{chargeId:e}=$ut(t),i=await _ve().query(zFe,{chargeId:e}).toPromise();if(!i.data?.charge)throw new Response("Charge not found",{status:404});return i.data}async function Hut({params:t}){const{businessId:e}=jut(t),i=await _ve().query(HFe,{businessId:e}).toPromise();if(!i.data?.business)throw new Response("Business not found",{status:404});return i.data}const sX=N.lazy(()=>fi(()=>import("./all-charges-Bl4rmLPr.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])).then(t=>({default:t.AllCharges}))),zut=N.lazy(()=>fi(()=>import("./missing-info-charges-D-yagKqj.js"),__vite__mapDeps([27,1,9,10,11,12,13,6,14,15,16,17,18,19,20,21,22,23,24,25,3,26])).then(t=>({default:t.MissingInfoCharges}))),Vut=N.lazy(()=>fi(()=>import("./charge-BKa3ocZT.js"),__vite__mapDeps([28,9,10,11,12,13,6,14,15,16,17,18,19,20,21,22,23,24,25,3])).then(t=>({default:t.Charge}))),Gut=N.lazy(()=>fi(()=>import("./charges-ledger-validation-C1uzo7m-.js"),__vite__mapDeps([29,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,30])).then(t=>({default:t.ChargesLedgerValidation}))),qut=N.lazy(()=>fi(()=>import("./index-B_RJNtUo.js"),__vite__mapDeps([31,1,32,33,18,26])).then(t=>({default:t.Businesses}))),Kut=N.lazy(()=>fi(()=>import("./business-CD7jRx3V.js"),__vite__mapDeps([34,35,33,36,20,21,37,32,9,10,11,12,13,6,14,15,16,17,18,19,38,39,40,41,7])).then(t=>({default:t.BusinessScreen}))),Wut=N.lazy(()=>fi(()=>import("./index-aKsfgLig.js"),__vite__mapDeps([42,1,25,15,26,36,20,21,37,43,3,4,8,11])).then(t=>({default:t.BusinessLedgerRecordsSummery}))),Yut=N.lazy(()=>fi(()=>import("./business-ledger-single-CTJvfW-L.js"),__vite__mapDeps([44,1,25,15,36,20,21,37,43,3,4,8])).then(t=>({default:t.BusinessLedgerRecordsSingle}))),Xut=N.lazy(()=>fi(()=>import("./contracts-BEtzHuzD.js"),__vite__mapDeps([45,40,20,21,4,41,7])).then(t=>({default:t.ContractsScreen}))),Zut=N.lazy(()=>fi(()=>import("./index-BXce2cs4.js"),__vite__mapDeps([46,47,14,16,15,10,11,8,13,24,26])).then(t=>({default:t.BusinessTrips}))),Jut=N.lazy(()=>fi(()=>import("./business-trip-D71-CjJS.js"),__vite__mapDeps([48,47,14,16,15,10,11,8,13,26])).then(t=>({default:t.BusinessTrip}))),eAt=N.lazy(()=>fi(()=>import("./index-Bnf9EGJh.js"),__vite__mapDeps([49,1,26,3,4])).then(t=>({default:t.ChartPage}))),tAt=N.lazy(()=>fi(()=>import("./index-BwIk76Fe.js"),__vite__mapDeps([50,1,26,3,4,51,39,5,6,7])).then(t=>({default:t.MonthlyIncomeExpenseChart}))),nAt=N.lazy(()=>fi(()=>import("./index-B8pw7b-t.js"),__vite__mapDeps([52,1,25,15,53,3,26,4,8,5,6,7,54])).then(t=>({default:t.DocumentsReport}))),iAt=N.lazy(()=>fi(()=>import("./issue-document-DhsyLMjh.js"),__vite__mapDeps([55,26])).then(t=>({default:t.IssueDocumentScreen}))),rAt=N.lazy(()=>fi(()=>import("./index-DM8ePwsN.js"),__vite__mapDeps([56,41,7])).then(t=>({default:t.IssueDocuments}))),aAt=N.lazy(()=>fi(()=>import("./index-D740cLRg.js"),__vite__mapDeps([57,1,26,3,4,8,37,36,20,21,11,15])).then(t=>({default:t.TrialBalanceReport}))),oAt=N.lazy(()=>fi(()=>import("./index-DI-u7X-4.js"),__vite__mapDeps([58,1,54,37,36,20,21,51,11,4,8])).then(t=>({default:t.ContoReport}))),sAt=N.lazy(()=>fi(()=>import("./index-DKpeP7IO.js"),__vite__mapDeps([59,60,1,9,10,11,12,13,6,14,15,16,17,18,19,20,21,22,23,24,25,3,26,2,4,5,7,8])).then(t=>({default:t.VatMonthlyReport}))),lX=N.lazy(()=>fi(()=>import("./index-Bhwo2jRi.js"),__vite__mapDeps([61,60,26,62,10,11,15,3,23,4])).then(t=>({default:t.ProfitAndLossReport}))),cX=N.lazy(()=>fi(()=>import("./index-CoZLNRyy.js"),__vite__mapDeps([63,60,26,62,10,11,15,3,23,4])).then(t=>({default:t.TaxReport}))),lAt=N.lazy(()=>fi(()=>import("./index-DMYTBz5s.js"),__vite__mapDeps([64,1,26,4])).then(t=>({default:t.DepreciationReport}))),cAt=N.lazy(()=>fi(()=>import("./index-oG-TuXTF.js"),__vite__mapDeps([65,26,23])).then(t=>({default:t.AnnualRevenueReport}))),dAt=N.lazy(()=>fi(()=>import("./index-CLejPZ03.js"),__vite__mapDeps([66,4,33,21,35])).then(t=>({default:t.Shaam6111Report}))),uAt=N.lazy(()=>fi(()=>import("./index-CDqlmlUs.js"),__vite__mapDeps([67,53,26,37,23])).then(t=>({default:t.YearlyLedgerReport}))),dX=N.lazy(()=>fi(()=>import("./index-qmr8EzkY.js"),__vite__mapDeps([68,60,26,3,23,4,15])).then(t=>({default:t.CorporateTaxRulingComplianceReport}))),AAt=N.lazy(()=>fi(()=>import("./index-DpHMidPk.js"),__vite__mapDeps([69,1,26,38,12,13,6,14,39,3,4,8,5,7])).then(t=>({default:t.BalanceReport}))),fAt=N.lazy(()=>fi(()=>import("./index-Dc3RBoFY.js"),__vite__mapDeps([70,1,26,19,3,4])).then(t=>({default:t.ValidateReportsScreen}))),mAt=N.lazy(()=>fi(()=>import("./accountant-approvals-D3Rk9Awv.js"),__vite__mapDeps([71,1,2,3,4,5,6,7,8,26,30])).then(t=>({default:t.AccountantApprovals}))),hAt=N.lazy(()=>fi(()=>import("./index-CeNpBiZt.js"),__vite__mapDeps([72,1,26,3,4,8])).then(t=>({default:t.Salaries}))),pAt=N.lazy(()=>fi(()=>import("./index-Dtg9Ebru.js"),__vite__mapDeps([73,26,14])).then(t=>({default:t.TagsManager}))),gAt=N.lazy(()=>fi(()=>import("./index-B0iyn-mI.js"),__vite__mapDeps([74,53,26,54])).then(t=>({default:t.TaxCategories}))),vAt=N.lazy(()=>fi(()=>import("./index-DSnmInPt.js"),__vite__mapDeps([75,53,26,54])).then(t=>({default:t.SortCodes}))),yAt=N.lazy(()=>fi(()=>import("./index-D9594uhM.js"),__vite__mapDeps([76,17])).then(t=>({default:t.DepositsScreen}))),kAt=N.lazy(()=>fi(()=>import("./page-not-found-DNb-8ubr.js"),[]).then(t=>({default:t.PageNotFound}))),bAt=N.lazy(()=>fi(()=>import("./login-page-BrIhzx0o.js"),[]).then(t=>({default:t.LoginPage})));function ci(t,e){return y.jsx(N.Suspense,{fallback:e||y.jsx(xwe,{}),children:y.jsx(t,{})})}const SAt=[{path:"/",element:y.jsx(Lut,{}),errorElement:y.jsx(dj,{}),children:[{path:jn.LOGIN,loader:Mut,element:ci(bAt),handle:{title:"Login"}},{path:"/",loader:Uut,element:y.jsx(Slt,{}),errorElement:y.jsx(dj,{}),children:[{index:!0,element:ci(sX,y.jsx(hl,{})),handle:{title:"All Charges",breadcrumb:"Charges"}},{path:"charges",handle:{breadcrumb:"Charges"},children:[{index:!0,element:ci(sX,y.jsx(hl,{})),handle:{title:"All Charges"}},{path:"missing-info",element:ci(zut,y.jsx(hl,{})),handle:{title:"Missing Info Charges",breadcrumb:"Missing Info"}},{path:"ledger-validation",element:ci(Gut,y.jsx(hl,{})),handle:{title:"Ledger Validation",breadcrumb:"Ledger Validation"}},{path:":chargeId",loader:Qut,element:ci(Vut),handle:{title:"Charge Details",breadcrumb:"Details"}}]},{path:"businesses",handle:{breadcrumb:"Businesses"},children:[{index:!0,element:ci(qut,y.jsx(hl,{})),handle:{title:"All Businesses"}},{path:"ledger",element:ci(Wut,y.jsx(hl,{})),handle:{title:"Business Ledger Records Summary",breadcrumb:"Ledger"}},{path:":businessId",loader:Hut,element:ci(Kut),handle:{title:"Business Details",breadcrumb:"Details"}},{path:":businessId/ledger",element:ci(Yut,y.jsx(hl,{})),handle:{title:"Business Ledger",breadcrumb:"Ledger"}},{path:"contracts",element:ci(Xut,y.jsx(hl,{})),handle:{title:"Clients Contracts",breadcrumb:"Contracts"}}]},{path:"business-trips",handle:{breadcrumb:"Business Trips"},children:[{index:!0,element:ci(Zut,y.jsx(hl,{})),handle:{title:"Business Trips"}},{path:":businessTripId",element:ci(Jut),handle:{title:"Business Trip Details",breadcrumb:"Details"}}]},{path:"charts",handle:{breadcrumb:"Charts"},children:[{index:!0,element:ci(eAt),handle:{title:"Charts"}},{path:"monthly-income-expense",element:ci(tAt),handle:{title:"Monthly Income/Expense",breadcrumb:"Income/Expense"}}]},{path:"documents",handle:{breadcrumb:"Documents"},children:[{index:!0,element:ci(nAt,y.jsx(hl,{})),handle:{title:"All Documents"}},{path:"issue-document",element:ci(iAt),handle:{title:"Issue Document",breadcrumb:"Issue Document"}},{path:"issue-documents",element:ci(rAt),handle:{title:"Issue Documents",breadcrumb:"Issue Documents"}}]},{path:"reports",handle:{breadcrumb:"Reports"},children:[{path:"trial-balance",element:ci(aAt,y.jsx(Hs,{})),handle:{title:"Trial Balance Report",breadcrumb:"Trial Balance"}},{path:"conto",element:ci(oAt,y.jsx(Hs,{})),handle:{title:"Conto Report",breadcrumb:"Conto"}},{path:"vat-monthly",element:ci(sAt,y.jsx(Hs,{})),handle:{title:"VAT Monthly Report",breadcrumb:"VAT Monthly"}},{path:"profit-and-loss",handle:{breadcrumb:"Profit & Loss"},children:[{index:!0,element:ci(lX,y.jsx(Hs,{})),handle:{title:"Profit & Loss Report"}},{path:":year",element:ci(lX,y.jsx(Hs,{})),handle:{title:"Profit & Loss Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"tax",handle:{breadcrumb:"Tax"},children:[{index:!0,element:ci(cX,y.jsx(Hs,{})),handle:{title:"Tax Report"}},{path:":year",element:ci(cX,y.jsx(Hs,{})),handle:{title:"Tax Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"depreciation",element:ci(lAt,y.jsx(Hs,{})),handle:{title:"Depreciation Report",breadcrumb:"Depreciation"}},{path:"annual-revenue",element:ci(cAt,y.jsx(Hs,{})),handle:{title:"Annual Revenue Report",breadcrumb:"Annual Revenue"}},{path:"shaam-6111",element:ci(dAt,y.jsx(Hs,{})),handle:{title:"Shaam 6111 Report",breadcrumb:"Shaam 6111"}},{path:"yearly-ledger",element:ci(uAt,y.jsx(Hs,{})),handle:{title:"Yearly Ledger Report",breadcrumb:"Yearly Ledger"}},{path:"corporate-tax-ruling-compliance",handle:{breadcrumb:"Tax Ruling"},children:[{index:!0,element:ci(dX,y.jsx(Hs,{})),handle:{title:"Corporate Tax Ruling Compliance Report"}},{path:":year",element:ci(dX,y.jsx(Hs,{})),handle:{title:"Corporate Tax Ruling Compliance Report",breadcrumb:t=>t?.year||"Year"}}]},{path:"balance",element:ci(AAt,y.jsx(Hs,{})),handle:{title:"Balance Report",breadcrumb:"Balance"}},{path:"validate-reports",element:ci(fAt),handle:{title:"Validate Reports",breadcrumb:"Validate"}}]},{path:"bank-deposits",element:ci(yAt,y.jsx(hl,{})),handle:{title:"Bank Deposits",breadcrumb:"Bank Deposits"}},{path:"accountant-approvals",element:ci(mAt,y.jsx(hl,{})),handle:{title:"Accountant Approvals",breadcrumb:"Accountant Approvals"}},{path:"salaries",element:ci(hAt,y.jsx(hl,{})),handle:{title:"Salaries",breadcrumb:"Salaries"}},{path:"tags",element:ci(pAt),handle:{title:"Tags",breadcrumb:"Tags"}},{path:"tax-categories",element:ci(gAt),handle:{title:"Tax Categories",breadcrumb:"Tax Categories"}},{path:"sort-codes",element:ci(vAt),handle:{title:"Sort Codes",breadcrumb:"Sort Codes"}},{path:"*",element:ci(kAt),handle:{title:"Page Not Found"}}]}]}];var uX={},AX;function wAt(){if(AX)return uX;AX=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(A){return r.lastIndex=0,r.test(A)?'"'+A.replace(r,function(h){var m=s[h];return typeof m=="string"?m:"\\u"+("0000"+h.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+A+'"'}function d(A,h){var m,g,v,b,k=a,w,x=h[A];switch(x&&typeof x=="object"&&typeof x.toJSON=="function"&&(x=x.toJSON(A)),typeof l=="function"&&(x=l.call(h,A,x)),typeof x){case"string":return c(x);case"number":return isFinite(x)?String(x):"null";case"bigint":case"boolean":case"null":return String(x);case"object":if(!x)return"null";if(a+=o,w=[],Object.prototype.toString.apply(x)==="[object Array]"){for(b=x.length,m=0;m<b;m+=1)w[m]=d(m,x)||"null";return v=w.length===0?"[]":a?`[
|
|
291
291
|
`+a+w.join(`,
|
|
292
292
|
`+a)+`
|
|
293
293
|
`+k+"]":"["+w.join(",")+"]",a=k,v}if(l&&typeof l=="object")for(b=l.length,m=0;m<b;m+=1)typeof l[m]=="string"&&(g=l[m],v=d(g,x),v&&w.push(c(g)+(a?": ":":")+v));else Object.keys(x).forEach(function(F){var _=d(F,x);_&&w.push(c(F)+(a?": ":":")+_)});return v=w.length===0?"{}":a?`{
|