var Y1e=Object.defineProperty;var KL=e=>{throw TypeError(e)};var G1e=(e,t,n)=>t in e?Y1e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var u_=(e,t,n)=>G1e(e,typeof t!="symbol"?t+"":t,n),gw=(e,t,n)=>t.has(e)||KL("Cannot "+n);var bt=(e,t,n)=>(gw(e,t,"read from private field"),n?n.call(e):t.get(e)),Vi=(e,t,n)=>t.has(e)?KL("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),wn=(e,t,n,r)=>(gw(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Un=(e,t,n)=>(gw(e,t,"access private method"),n);import{W as K1e,R as W1e,O as IO,P as LO,S as J1e,a as vw,b as ebe,c as tbe,B as nbe,C as rbe,L as ibe,d as fW,N as abe,A as ube,e as WL,f as q$,g as lbe,U as obe,V as ui,h as Gl,i as sbe,T as cbe,D as fbe,j as dbe,k as hbe,l as pbe,m as JL,Q as eB,M as tO,n as nO,o as mbe,p as gbe,I as vbe,F as y7,q as b7,r as wO,s as ybe,t as XM,u as dW,v as bbe,w as tB,x as nB,y as Obe,z as w3,E as Sbe,G as xbe,H as hW,J as _be,K as Ebe,X as Dbe,Y as $be}from"./vendor-three-BtCyLs1w.js";function Cbe(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const a=Object.getOwnPropertyDescriptor(r,i);a&&Object.defineProperty(e,i,a.get?a:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var jd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function oa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wbe(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var yw={exports:{}},A4={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var rB;function Rbe(){if(rB)return A4;rB=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,a){var u=null;if(a!==void 0&&(u=""+a),i.key!==void 0&&(u=""+i.key),"key"in i){a={};for(var l in i)l!=="key"&&(a[l]=i[l])}else a=i;return i=a.ref,{$$typeof:e,type:r,key:u,ref:i!==void 0?i:null,props:a}}return A4.Fragment=t,A4.jsx=n,A4.jsxs=n,A4}var iB;function Abe(){return iB||(iB=1,yw.exports=Rbe()),yw.exports}var kr=Abe(),bw={exports:{}},rr={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var aB;function Tbe(){if(aB)return rr;aB=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),o=Symbol.for("react.suspense"),s=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),d=Symbol.for("react.activity"),h=Symbol.iterator;function m(K){return K===null||typeof K!="object"?null:(K=h&&K[h]||K["@@iterator"],typeof K=="function"?K:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,_={};function x(K,Y,B){this.props=K,this.context=Y,this.refs=_,this.updater=B||y}x.prototype.isReactComponent={},x.prototype.setState=function(K,Y){if(typeof K!="object"&&typeof K!="function"&&K!=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,K,Y,"setState")},x.prototype.forceUpdate=function(K){this.updater.enqueueForceUpdate(this,K,"forceUpdate")};function E(){}E.prototype=x.prototype;function w(K,Y,B){this.props=K,this.context=Y,this.refs=_,this.updater=B||y}var T=w.prototype=new E;T.constructor=w,v(T,x.prototype),T.isPureReactComponent=!0;var R=Array.isArray;function C(){}var k={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function z(K,Y,B){var ne=B.ref;return{$$typeof:e,type:K,key:Y,ref:ne!==void 0?ne:null,props:B}}function Z(K,Y){return z(K.type,Y,K.props)}function q(K){return typeof K=="object"&&K!==null&&K.$$typeof===e}function j(K){var Y={"=":"=0",":":"=2"};return"$"+K.replace(/[=:]/g,function(B){return Y[B]})}var N=/\/+/g;function V(K,Y){return typeof K=="object"&&K!==null&&K.key!=null?j(""+K.key):Y.toString(36)}function W(K){switch(K.status){case"fulfilled":return K.value;case"rejected":throw K.reason;default:switch(typeof K.status=="string"?K.then(C,C):(K.status="pending",K.then(function(Y){K.status==="pending"&&(K.status="fulfilled",K.value=Y)},function(Y){K.status==="pending"&&(K.status="rejected",K.reason=Y)})),K.status){case"fulfilled":return K.value;case"rejected":throw K.reason}}throw K}function G(K,Y,B,ne,oe){var ae=typeof K;(ae==="undefined"||ae==="boolean")&&(K=null);var de=!1;if(K===null)de=!0;else switch(ae){case"bigint":case"string":case"number":de=!0;break;case"object":switch(K.$$typeof){case e:case t:de=!0;break;case c:return de=K._init,G(de(K._payload),Y,B,ne,oe)}}if(de)return oe=oe(K),de=ne===""?"."+V(K,0):ne,R(oe)?(B="",de!=null&&(B=de.replace(N,"$&/")+"/"),G(oe,Y,B,"",function(pe){return pe})):oe!=null&&(q(oe)&&(oe=Z(oe,B+(oe.key==null||K&&K.key===oe.key?"":(""+oe.key).replace(N,"$&/")+"/")+de)),Y.push(oe)),1;de=0;var be=ne===""?".":ne+":";if(R(K))for(var ye=0;ye<K.length;ye++)ne=K[ye],ae=be+V(ne,ye),de+=G(ne,Y,B,ae,oe);else if(ye=m(K),typeof ye=="function")for(K=ye.call(K),ye=0;!(ne=K.next()).done;)ne=ne.value,ae=be+V(ne,ye++),de+=G(ne,Y,B,ae,oe);else if(ae==="object"){if(typeof K.then=="function")return G(W(K),Y,B,ne,oe);throw Y=String(K),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(K).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return de}function J(K,Y,B){if(K==null)return K;var ne=[],oe=0;return G(K,ne,"","",function(ae){return Y.call(B,ae,oe++)}),ne}function te(K){if(K._status===-1){var Y=K._result;Y=Y(),Y.then(function(B){(K._status===0||K._status===-1)&&(K._status=1,K._result=B)},function(B){(K._status===0||K._status===-1)&&(K._status=2,K._result=B)}),K._status===-1&&(K._status=0,K._result=Y)}if(K._status===1)return K._result.default;throw K._result}var X=typeof reportError=="function"?reportError:function(K){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof K=="object"&&K!==null&&typeof K.message=="string"?String(K.message):String(K),error:K});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",K);return}console.error(K)},M={map:J,forEach:function(K,Y,B){J(K,function(){Y.apply(this,arguments)},B)},count:function(K){var Y=0;return J(K,function(){Y++}),Y},toArray:function(K){return J(K,function(Y){return Y})||[]},only:function(K){if(!q(K))throw Error("React.Children.only expected to receive a single React element child.");return K}};return rr.Activity=d,rr.Children=M,rr.Component=x,rr.Fragment=n,rr.Profiler=i,rr.PureComponent=w,rr.StrictMode=r,rr.Suspense=o,rr.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,rr.__COMPILER_RUNTIME={__proto__:null,c:function(K){return k.H.useMemoCache(K)}},rr.cache=function(K){return function(){return K.apply(null,arguments)}},rr.cacheSignal=function(){return null},rr.cloneElement=function(K,Y,B){if(K==null)throw Error("The argument must be a React element, but you passed "+K+".");var ne=v({},K.props),oe=K.key;if(Y!=null)for(ae in Y.key!==void 0&&(oe=""+Y.key),Y)!F.call(Y,ae)||ae==="key"||ae==="__self"||ae==="__source"||ae==="ref"&&Y.ref===void 0||(ne[ae]=Y[ae]);var ae=arguments.length-2;if(ae===1)ne.children=B;else if(1<ae){for(var de=Array(ae),be=0;be<ae;be++)de[be]=arguments[be+2];ne.children=de}return z(K.type,oe,ne)},rr.createContext=function(K){return K={$$typeof:u,_currentValue:K,_currentValue2:K,_threadCount:0,Provider:null,Consumer:null},K.Provider=K,K.Consumer={$$typeof:a,_context:K},K},rr.createElement=function(K,Y,B){var ne,oe={},ae=null;if(Y!=null)for(ne in Y.key!==void 0&&(ae=""+Y.key),Y)F.call(Y,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(oe[ne]=Y[ne]);var de=arguments.length-2;if(de===1)oe.children=B;else if(1<de){for(var be=Array(de),ye=0;ye<de;ye++)be[ye]=arguments[ye+2];oe.children=be}if(K&&K.defaultProps)for(ne in de=K.defaultProps,de)oe[ne]===void 0&&(oe[ne]=de[ne]);return z(K,ae,oe)},rr.createRef=function(){return{current:null}},rr.forwardRef=function(K){return{$$typeof:l,render:K}},rr.isValidElement=q,rr.lazy=function(K){return{$$typeof:c,_payload:{_status:-1,_result:K},_init:te}},rr.memo=function(K,Y){return{$$typeof:s,type:K,compare:Y===void 0?null:Y}},rr.startTransition=function(K){var Y=k.T,B={};k.T=B;try{var ne=K(),oe=k.S;oe!==null&&oe(B,ne),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"&&ne.then(C,X)}catch(ae){X(ae)}finally{Y!==null&&B.types!==null&&(Y.types=B.types),k.T=Y}},rr.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},rr.use=function(K){return k.H.use(K)},rr.useActionState=function(K,Y,B){return k.H.useActionState(K,Y,B)},rr.useCallback=function(K,Y){return k.H.useCallback(K,Y)},rr.useContext=function(K){return k.H.useContext(K)},rr.useDebugValue=function(){},rr.useDeferredValue=function(K,Y){return k.H.useDeferredValue(K,Y)},rr.useEffect=function(K,Y){return k.H.useEffect(K,Y)},rr.useEffectEvent=function(K){return k.H.useEffectEvent(K)},rr.useId=function(){return k.H.useId()},rr.useImperativeHandle=function(K,Y,B){return k.H.useImperativeHandle(K,Y,B)},rr.useInsertionEffect=function(K,Y){return k.H.useInsertionEffect(K,Y)},rr.useLayoutEffect=function(K,Y){return k.H.useLayoutEffect(K,Y)},rr.useMemo=function(K,Y){return k.H.useMemo(K,Y)},rr.useOptimistic=function(K,Y){return k.H.useOptimistic(K,Y)},rr.useReducer=function(K,Y,B){return k.H.useReducer(K,Y,B)},rr.useRef=function(K){return k.H.useRef(K)},rr.useState=function(K){return k.H.useState(K)},rr.useSyncExternalStore=function(K,Y,B){return k.H.useSyncExternalStore(K,Y,B)},rr.useTransition=function(){return k.H.useTransition()},rr.version="19.2.0",rr}var uB;function tr(){return uB||(uB=1,bw.exports=Tbe()),bw.exports}var P=tr();const ve=oa(P),O7=Cbe({__proto__:null,default:ve},[P]);function kbe(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Pbe(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Mbe=(function(){function e(n){var r=this;this._insertTag=function(i){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,a),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Pbe(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=kbe(i);try{a.insertRule(r,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e})(),ss="-ms-",YE="-moz-",wi="-webkit-",pW="comm",YM="rule",GM="decl",Fbe="@import",mW="@keyframes",Nbe="@layer",Ibe=Math.abs,V$=String.fromCharCode,Lbe=Object.assign;function Bbe(e,t){return Ro(e,0)^45?(((t<<2^Ro(e,0))<<2^Ro(e,1))<<2^Ro(e,2))<<2^Ro(e,3):0}function gW(e){return e.trim()}function Qbe(e,t){return(e=t.exec(e))?e[0]:e}function Ri(e,t,n){return e.replace(t,n)}function S7(e,t){return e.indexOf(t)}function Ro(e,t){return e.charCodeAt(t)|0}function q2(e,t,n){return e.slice(t,n)}function o0(e){return e.length}function KM(e){return e.length}function l_(e,t){return t.push(e),e}function zbe(e,t){return e.map(t).join("")}var U$=1,o3=1,vW=0,af=0,hl=0,R3="";function j$(e,t,n,r,i,a,u){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:U$,column:o3,length:u,return:""}}function T4(e,t){return Lbe(j$("",null,null,"",null,null,0),e,{length:-e.length},t)}function qbe(){return hl}function Vbe(){return hl=af>0?Ro(R3,--af):0,o3--,hl===10&&(o3=1,U$--),hl}function qf(){return hl=af<vW?Ro(R3,af++):0,o3++,hl===10&&(o3=1,U$++),hl}function O0(){return Ro(R3,af)}function pE(){return af}function NS(e,t){return q2(R3,e,t)}function V2(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function yW(e){return U$=o3=1,vW=o0(R3=e),af=0,[]}function bW(e){return R3="",e}function mE(e){return gW(NS(af-1,x7(e===91?e+2:e===40?e+1:e)))}function Ube(e){for(;(hl=O0())&&hl<33;)qf();return V2(e)>2||V2(hl)>3?"":" "}function jbe(e,t){for(;--t&&qf()&&!(hl<48||hl>102||hl>57&&hl<65||hl>70&&hl<97););return NS(e,pE()+(t<6&&O0()==32&&qf()==32))}function x7(e){for(;qf();)switch(hl){case e:return af;case 34:case 39:e!==34&&e!==39&&x7(hl);break;case 40:e===41&&x7(e);break;case 92:qf();break}return af}function Zbe(e,t){for(;qf()&&e+hl!==57;)if(e+hl===84&&O0()===47)break;return"/*"+NS(t,af-1)+"*"+V$(e===47?e:qf())}function Hbe(e){for(;!V2(O0());)qf();return NS(e,af)}function Xbe(e){return bW(gE("",null,null,null,[""],e=yW(e),0,[0],e))}function gE(e,t,n,r,i,a,u,l,o){for(var s=0,c=0,d=u,h=0,m=0,y=0,v=1,_=1,x=1,E=0,w="",T=i,R=a,C=r,k=w;_;)switch(y=E,E=qf()){case 40:if(y!=108&&Ro(k,d-1)==58){S7(k+=Ri(mE(E),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:k+=mE(E);break;case 9:case 10:case 13:case 32:k+=Ube(y);break;case 92:k+=jbe(pE()-1,7);continue;case 47:switch(O0()){case 42:case 47:l_(Ybe(Zbe(qf(),pE()),t,n),o);break;default:k+="/"}break;case 123*v:l[s++]=o0(k)*x;case 125*v:case 59:case 0:switch(E){case 0:case 125:_=0;case 59+c:x==-1&&(k=Ri(k,/\f/g,"")),m>0&&o0(k)-d&&l_(m>32?oB(k+";",r,n,d-1):oB(Ri(k," ","")+";",r,n,d-2),o);break;case 59:k+=";";default:if(l_(C=lB(k,t,n,s,c,i,l,w,T=[],R=[],d),a),E===123)if(c===0)gE(k,t,C,C,T,a,d,l,R);else switch(h===99&&Ro(k,3)===110?100:h){case 100:case 108:case 109:case 115:gE(e,C,C,r&&l_(lB(e,C,C,0,0,i,l,w,i,T=[],d),R),i,R,d,l,r?T:R);break;default:gE(k,C,C,C,[""],R,0,l,R)}}s=c=m=0,v=x=1,w=k="",d=u;break;case 58:d=1+o0(k),m=y;default:if(v<1){if(E==123)--v;else if(E==125&&v++==0&&Vbe()==125)continue}switch(k+=V$(E),E*v){case 38:x=c>0?1:(k+="\f",-1);break;case 44:l[s++]=(o0(k)-1)*x,x=1;break;case 64:O0()===45&&(k+=mE(qf())),h=O0(),c=d=o0(w=k+=Hbe(pE())),E++;break;case 45:y===45&&o0(k)==2&&(v=0)}}return a}function lB(e,t,n,r,i,a,u,l,o,s,c){for(var d=i-1,h=i===0?a:[""],m=KM(h),y=0,v=0,_=0;y<r;++y)for(var x=0,E=q2(e,d+1,d=Ibe(v=u[y])),w=e;x<m;++x)(w=gW(v>0?h[x]+" "+E:Ri(E,/&\f/g,h[x])))&&(o[_++]=w);return j$(e,t,n,i===0?YM:l,o,s,c)}function Ybe(e,t,n){return j$(e,t,n,pW,V$(qbe()),q2(e,2,-2),0)}function oB(e,t,n,r){return j$(e,t,n,GM,q2(e,0,r),q2(e,r+1,-1),r)}function BO(e,t){for(var n="",r=KM(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Gbe(e,t,n,r){switch(e.type){case Nbe:if(e.children.length)break;case Fbe:case GM:return e.return=e.return||e.value;case pW:return"";case mW:return e.return=e.value+"{"+BO(e.children,r)+"}";case YM:e.value=e.props.join(",")}return o0(n=BO(e.children,r))?e.return=e.value+"{"+n+"}":""}function Kbe(e){var t=KM(e);return function(n,r,i,a){for(var u="",l=0;l<t;l++)u+=e[l](n,r,i,a)||"";return u}}function Wbe(e){return function(t){t.root||(t=t.return)&&e(t)}}function Jbe(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var eOe=function(t,n,r){for(var i=0,a=0;i=a,a=O0(),i===38&&a===12&&(n[r]=1),!V2(a);)qf();return NS(t,af)},tOe=function(t,n){var r=-1,i=44;do switch(V2(i)){case 0:i===38&&O0()===12&&(n[r]=1),t[r]+=eOe(af-1,n,r);break;case 2:t[r]+=mE(i);break;case 4:if(i===44){t[++r]=O0()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=V$(i)}while(i=qf());return t},nOe=function(t,n){return bW(tOe(yW(t),n))},sB=new WeakMap,rOe=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!sB.get(r))&&!i){sB.set(t,!0);for(var a=[],u=nOe(n,a),l=r.props,o=0,s=0;o<u.length;o++)for(var c=0;c<l.length;c++,s++)t.props[s]=a[o]?u[o].replace(/&\f/g,l[c]):l[c]+" "+u[o]}}},iOe=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function OW(e,t){switch(Bbe(e,t)){case 5103:return wi+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return wi+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return wi+e+YE+e+ss+e+e;case 6828:case 4268:return wi+e+ss+e+e;case 6165:return wi+e+ss+"flex-"+e+e;case 5187:return wi+e+Ri(e,/(\w+).+(:[^]+)/,wi+"box-$1$2"+ss+"flex-$1$2")+e;case 5443:return wi+e+ss+"flex-item-"+Ri(e,/flex-|-self/,"")+e;case 4675:return wi+e+ss+"flex-line-pack"+Ri(e,/align-content|flex-|-self/,"")+e;case 5548:return wi+e+ss+Ri(e,"shrink","negative")+e;case 5292:return wi+e+ss+Ri(e,"basis","preferred-size")+e;case 6060:return wi+"box-"+Ri(e,"-grow","")+wi+e+ss+Ri(e,"grow","positive")+e;case 4554:return wi+Ri(e,/([^-])(transform)/g,"$1"+wi+"$2")+e;case 6187:return Ri(Ri(Ri(e,/(zoom-|grab)/,wi+"$1"),/(image-set)/,wi+"$1"),e,"")+e;case 5495:case 3959:return Ri(e,/(image-set\([^]*)/,wi+"$1$`$1");case 4968:return Ri(Ri(e,/(.+:)(flex-)?(.*)/,wi+"box-pack:$3"+ss+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+wi+e+e;case 4095:case 3583:case 4068:case 2532:return Ri(e,/(.+)-inline(.+)/,wi+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(o0(e)-1-t>6)switch(Ro(e,t+1)){case 109:if(Ro(e,t+4)!==45)break;case 102:return Ri(e,/(.+:)(.+)-([^]+)/,"$1"+wi+"$2-$3$1"+YE+(Ro(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~S7(e,"stretch")?OW(Ri(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ro(e,t+1)!==115)break;case 6444:switch(Ro(e,o0(e)-3-(~S7(e,"!important")&&10))){case 107:return Ri(e,":",":"+wi)+e;case 101:return Ri(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+wi+(Ro(e,14)===45?"inline-":"")+"box$3$1"+wi+"$2$3$1"+ss+"$2box$3")+e}break;case 5936:switch(Ro(e,t+11)){case 114:return wi+e+ss+Ri(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return wi+e+ss+Ri(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return wi+e+ss+Ri(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return wi+e+ss+e+e}return e}var aOe=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case GM:t.return=OW(t.value,t.length);break;case mW:return BO([T4(t,{value:Ri(t.value,"@","@"+wi)})],i);case YM:if(t.length)return zbe(t.props,function(a){switch(Qbe(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return BO([T4(t,{props:[Ri(a,/:(read-\w+)/,":"+YE+"$1")]})],i);case"::placeholder":return BO([T4(t,{props:[Ri(a,/:(plac\w+)/,":"+wi+"input-$1")]}),T4(t,{props:[Ri(a,/:(plac\w+)/,":"+YE+"$1")]}),T4(t,{props:[Ri(a,/:(plac\w+)/,ss+"input-$1")]})],i)}return""})}},uOe=[aOe],lOe=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var _=v.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var i=t.stylisPlugins||uOe,a={},u,l=[];u=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var _=v.getAttribute("data-emotion").split(" "),x=1;x<_.length;x++)a[_[x]]=!0;l.push(v)});var o,s=[rOe,iOe];{var c,d=[Gbe,Wbe(function(v){c.insert(v)})],h=Kbe(s.concat(i,d)),m=function(_){return BO(Xbe(_),h)};o=function(_,x,E,w){c=E,m(_?_+"{"+x.styles+"}":x.styles),w&&(y.inserted[x.name]=!0)}}var y={key:n,sheet:new Mbe({key:n,container:u,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:o};return y.sheet.hydrate(l),y};function uf(){return uf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uf.apply(null,arguments)}var Ow={exports:{}},Li={};/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var cB;function oOe(){if(cB)return Li;cB=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,o=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,_=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function w(R){if(typeof R=="object"&&R!==null){var C=R.$$typeof;switch(C){case t:switch(R=R.type,R){case o:case s:case r:case a:case i:case d:return R;default:switch(R=R&&R.$$typeof,R){case l:case c:case y:case m:case u:return R;default:return C}}case n:return C}}}function T(R){return w(R)===s}return Li.AsyncMode=o,Li.ConcurrentMode=s,Li.ContextConsumer=l,Li.ContextProvider=u,Li.Element=t,Li.ForwardRef=c,Li.Fragment=r,Li.Lazy=y,Li.Memo=m,Li.Portal=n,Li.Profiler=a,Li.StrictMode=i,Li.Suspense=d,Li.isAsyncMode=function(R){return T(R)||w(R)===o},Li.isConcurrentMode=T,Li.isContextConsumer=function(R){return w(R)===l},Li.isContextProvider=function(R){return w(R)===u},Li.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===t},Li.isForwardRef=function(R){return w(R)===c},Li.isFragment=function(R){return w(R)===r},Li.isLazy=function(R){return w(R)===y},Li.isMemo=function(R){return w(R)===m},Li.isPortal=function(R){return w(R)===n},Li.isProfiler=function(R){return w(R)===a},Li.isStrictMode=function(R){return w(R)===i},Li.isSuspense=function(R){return w(R)===d},Li.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===r||R===s||R===a||R===i||R===d||R===h||typeof R=="object"&&R!==null&&(R.$$typeof===y||R.$$typeof===m||R.$$typeof===u||R.$$typeof===l||R.$$typeof===c||R.$$typeof===_||R.$$typeof===x||R.$$typeof===E||R.$$typeof===v)},Li.typeOf=w,Li}var fB;function sOe(){return fB||(fB=1,Ow.exports=oOe()),Ow.exports}var Sw,dB;function cOe(){if(dB)return Sw;dB=1;var e=sOe(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=r,a[e.Memo]=i;function u(y){return e.isMemo(y)?i:a[y.$$typeof]||t}var l=Object.defineProperty,o=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;function m(y,v,_){if(typeof v!="string"){if(h){var x=d(v);x&&x!==h&&m(y,x,_)}var E=o(v);s&&(E=E.concat(s(v)));for(var w=u(y),T=u(v),R=0;R<E.length;++R){var C=E[R];if(!n[C]&&!(_&&_[C])&&!(T&&T[C])&&!(w&&w[C])){var k=c(v,C);try{l(y,C,k)}catch{}}}}return y}return Sw=m,Sw}cOe();var fOe=!0;function dOe(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var SW=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||fOe===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},xW=function(t,n,r){SW(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function hOe(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var pOe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},mOe=/[A-Z]|^ms/g,gOe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_W=function(t){return t.charCodeAt(1)===45},hB=function(t){return t!=null&&typeof t!="boolean"},xw=Jbe(function(e){return _W(e)?e:e.replace(mOe,"-$&").toLowerCase()}),pB=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(gOe,function(r,i,a){return s0={name:i,styles:a,next:s0},i})}return pOe[t]!==1&&!_W(t)&&typeof n=="number"&&n!==0?n+"px":n};function U2(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return s0={name:i.name,styles:i.styles,next:s0},i.name;var a=n;if(a.styles!==void 0){var u=a.next;if(u!==void 0)for(;u!==void 0;)s0={name:u.name,styles:u.styles,next:s0},u=u.next;var l=a.styles+";";return l}return vOe(e,t,n)}case"function":{if(e!==void 0){var o=s0,s=n(e);return s0=o,U2(e,t,s)}break}}var c=n;return c}function vOe(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=U2(e,t,n[i])+";";else for(var a in n){var u=n[a];if(typeof u!="object"){var l=u;hB(l)&&(r+=xw(a)+":"+pB(a,l)+";")}else if(Array.isArray(u)&&typeof u[0]=="string"&&t==null)for(var o=0;o<u.length;o++)hB(u[o])&&(r+=xw(a)+":"+pB(a,u[o])+";");else{var s=U2(e,t,u);switch(a){case"animation":case"animationName":{r+=xw(a)+":"+s+";";break}default:r+=a+"{"+s+"}"}}}return r}var mB=/label:\s*([^\s;{]+)\s*(;|$)/g,s0;function WM(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i="";s0=void 0;var a=e[0];if(a==null||a.raw===void 0)r=!1,i+=U2(n,t,a);else{var u=a;i+=u[0]}for(var l=1;l<e.length;l++)if(i+=U2(n,t,e[l]),r){var o=a;i+=o[l]}mB.lastIndex=0;for(var s="",c;(c=mB.exec(i))!==null;)s+="-"+c[1];var d=hOe(i)+s;return{name:d,styles:i,next:s0}}var yOe=function(t){return t()},EW=O7.useInsertionEffect?O7.useInsertionEffect:!1,bOe=EW||yOe,gB=EW||P.useLayoutEffect,DW=P.createContext(typeof HTMLElement<"u"?lOe({key:"css"}):null);DW.Provider;var $W=function(t){return P.forwardRef(function(n,r){var i=P.useContext(DW);return t(n,i,r)})},CW=P.createContext({}),IS={}.hasOwnProperty,_7="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",JM=function(t,n){var r={};for(var i in n)IS.call(n,i)&&(r[i]=n[i]);return r[_7]=t,r},OOe=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return SW(n,r,i),bOe(function(){return xW(n,r,i)}),null},SOe=$W(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[_7],a=[r],u="";typeof e.className=="string"?u=dOe(t.registered,a,e.className):e.className!=null&&(u=e.className+" ");var l=WM(a,void 0,P.useContext(CW));u+=t.key+"-"+l.name;var o={};for(var s in e)IS.call(e,s)&&s!=="css"&&s!==_7&&(o[s]=e[s]);return o.className=u,n&&(o.ref=n),P.createElement(P.Fragment,null,P.createElement(OOe,{cache:t,serialized:l,isStringTag:typeof i=="string"}),P.createElement(i,o))}),eF=SOe,xtt=kr.Fragment,_tt=function(t,n,r){return IS.call(n,"css")?kr.jsx(eF,JM(t,n),r):kr.jsx(t,n,r)},Ett=function(t,n,r){return IS.call(n,"css")?kr.jsxs(eF,JM(t,n),r):kr.jsxs(t,n,r)},_w={exports:{}},k4={},Ew={exports:{}},Dw={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var vB;function xOe(){return vB||(vB=1,(function(e){function t(G,J){var te=G.length;G.push(J);e:for(;0<te;){var X=te-1>>>1,M=G[X];if(0<i(M,J))G[X]=J,G[te]=M,te=X;else break e}}function n(G){return G.length===0?null:G[0]}function r(G){if(G.length===0)return null;var J=G[0],te=G.pop();if(te!==J){G[0]=te;e:for(var X=0,M=G.length,K=M>>>1;X<K;){var Y=2*(X+1)-1,B=G[Y],ne=Y+1,oe=G[ne];if(0>i(B,te))ne<M&&0>i(oe,B)?(G[X]=oe,G[ne]=te,X=ne):(G[X]=B,G[Y]=te,X=Y);else if(ne<M&&0>i(oe,te))G[X]=oe,G[ne]=te,X=ne;else break e}}return J}function i(G,J){var te=G.sortIndex-J.sortIndex;return te!==0?te:G.id-J.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var u=Date,l=u.now();e.unstable_now=function(){return u.now()-l}}var o=[],s=[],c=1,d=null,h=3,m=!1,y=!1,v=!1,_=!1,x=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,w=typeof setImmediate<"u"?setImmediate:null;function T(G){for(var J=n(s);J!==null;){if(J.callback===null)r(s);else if(J.startTime<=G)r(s),J.sortIndex=J.expirationTime,t(o,J);else break;J=n(s)}}function R(G){if(v=!1,T(G),!y)if(n(o)!==null)y=!0,C||(C=!0,j());else{var J=n(s);J!==null&&W(R,J.startTime-G)}}var C=!1,k=-1,F=5,z=-1;function Z(){return _?!0:!(e.unstable_now()-z<F)}function q(){if(_=!1,C){var G=e.unstable_now();z=G;var J=!0;try{e:{y=!1,v&&(v=!1,E(k),k=-1),m=!0;var te=h;try{t:{for(T(G),d=n(o);d!==null&&!(d.expirationTime>G&&Z());){var X=d.callback;if(typeof X=="function"){d.callback=null,h=d.priorityLevel;var M=X(d.expirationTime<=G);if(G=e.unstable_now(),typeof M=="function"){d.callback=M,T(G),J=!0;break t}d===n(o)&&r(o),T(G)}else r(o);d=n(o)}if(d!==null)J=!0;else{var K=n(s);K!==null&&W(R,K.startTime-G),J=!1}}break e}finally{d=null,h=te,m=!1}J=void 0}}finally{J?j():C=!1}}}var j;if(typeof w=="function")j=function(){w(q)};else if(typeof MessageChannel<"u"){var N=new MessageChannel,V=N.port2;N.port1.onmessage=q,j=function(){V.postMessage(null)}}else j=function(){x(q,0)};function W(G,J){k=x(function(){G(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(G){G.callback=null},e.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<G?Math.floor(1e3/G):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_next=function(G){switch(h){case 1:case 2:case 3:var J=3;break;default:J=h}var te=h;h=J;try{return G()}finally{h=te}},e.unstable_requestPaint=function(){_=!0},e.unstable_runWithPriority=function(G,J){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var te=h;h=G;try{return J()}finally{h=te}},e.unstable_scheduleCallback=function(G,J,te){var X=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?X+te:X):te=X,G){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=te+M,G={id:c++,callback:J,priorityLevel:G,startTime:te,expirationTime:M,sortIndex:-1},te>X?(G.sortIndex=te,t(s,G),n(o)===null&&G===n(s)&&(v?(E(k),k=-1):v=!0,W(R,te-X))):(G.sortIndex=M,t(o,G),y||m||(y=!0,C||(C=!0,j()))),G},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(G){var J=h;return function(){var te=h;h=J;try{return G.apply(this,arguments)}finally{h=te}}}})(Dw)),Dw}var yB;function _Oe(){return yB||(yB=1,Ew.exports=xOe()),Ew.exports}var $w={exports:{}},ls={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var bB;function EOe(){if(bB)return ls;bB=1;var e=tr();function t(o){var s="https://react.dev/errors/"+o;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)s+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+o+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},i=Symbol.for("react.portal");function a(o,s,c){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:d==null?null:""+d,children:o,containerInfo:s,implementation:c}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(o,s){if(o==="font")return"";if(typeof s=="string")return s==="use-credentials"?s:""}return ls.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ls.createPortal=function(o,s){var c=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)throw Error(t(299));return a(o,s,null,c)},ls.flushSync=function(o){var s=u.T,c=r.p;try{if(u.T=null,r.p=2,o)return o()}finally{u.T=s,r.p=c,r.d.f()}},ls.preconnect=function(o,s){typeof o=="string"&&(s?(s=s.crossOrigin,s=typeof s=="string"?s==="use-credentials"?s:"":void 0):s=null,r.d.C(o,s))},ls.prefetchDNS=function(o){typeof o=="string"&&r.d.D(o)},ls.preinit=function(o,s){if(typeof o=="string"&&s&&typeof s.as=="string"){var c=s.as,d=l(c,s.crossOrigin),h=typeof s.integrity=="string"?s.integrity:void 0,m=typeof s.fetchPriority=="string"?s.fetchPriority:void 0;c==="style"?r.d.S(o,typeof s.precedence=="string"?s.precedence:void 0,{crossOrigin:d,integrity:h,fetchPriority:m}):c==="script"&&r.d.X(o,{crossOrigin:d,integrity:h,fetchPriority:m,nonce:typeof s.nonce=="string"?s.nonce:void 0})}},ls.preinitModule=function(o,s){if(typeof o=="string")if(typeof s=="object"&&s!==null){if(s.as==null||s.as==="script"){var c=l(s.as,s.crossOrigin);r.d.M(o,{crossOrigin:c,integrity:typeof s.integrity=="string"?s.integrity:void 0,nonce:typeof s.nonce=="string"?s.nonce:void 0})}}else s==null&&r.d.M(o)},ls.preload=function(o,s){if(typeof o=="string"&&typeof s=="object"&&s!==null&&typeof s.as=="string"){var c=s.as,d=l(c,s.crossOrigin);r.d.L(o,c,{crossOrigin:d,integrity:typeof s.integrity=="string"?s.integrity:void 0,nonce:typeof s.nonce=="string"?s.nonce:void 0,type:typeof s.type=="string"?s.type:void 0,fetchPriority:typeof s.fetchPriority=="string"?s.fetchPriority:void 0,referrerPolicy:typeof s.referrerPolicy=="string"?s.referrerPolicy:void 0,imageSrcSet:typeof s.imageSrcSet=="string"?s.imageSrcSet:void 0,imageSizes:typeof s.imageSizes=="string"?s.imageSizes:void 0,media:typeof s.media=="string"?s.media:void 0})}},ls.preloadModule=function(o,s){if(typeof o=="string")if(s){var c=l(s.as,s.crossOrigin);r.d.m(o,{as:typeof s.as=="string"&&s.as!=="script"?s.as:void 0,crossOrigin:c,integrity:typeof s.integrity=="string"?s.integrity:void 0})}else r.d.m(o)},ls.requestFormReset=function(o){r.d.r(o)},ls.unstable_batchedUpdates=function(o,s){return o(s)},ls.useFormState=function(o,s,c){return u.H.useFormState(o,s,c)},ls.useFormStatus=function(){return u.H.useHostTransitionStatus()},ls.version="19.2.0",ls}var OB;function wW(){if(OB)return $w.exports;OB=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),$w.exports=EOe(),$w.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var SB;function DOe(){if(SB)return k4;SB=1;var e=_Oe(),t=tr(),n=wW();function r(f){var p="https://react.dev/errors/"+f;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var O=2;O<arguments.length;O++)p+="&args[]="+encodeURIComponent(arguments[O])}return"Minified React error #"+f+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(f){return!(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)}function a(f){var p=f,O=f;if(f.alternate)for(;p.return;)p=p.return;else{f=p;do p=f,(p.flags&4098)!==0&&(O=p.return),f=p.return;while(f)}return p.tag===3?O:null}function u(f){if(f.tag===13){var p=f.memoizedState;if(p===null&&(f=f.alternate,f!==null&&(p=f.memoizedState)),p!==null)return p.dehydrated}return null}function l(f){if(f.tag===31){var p=f.memoizedState;if(p===null&&(f=f.alternate,f!==null&&(p=f.memoizedState)),p!==null)return p.dehydrated}return null}function o(f){if(a(f)!==f)throw Error(r(188))}function s(f){var p=f.alternate;if(!p){if(p=a(f),p===null)throw Error(r(188));return p!==f?null:f}for(var O=f,D=p;;){var L=O.return;if(L===null)break;var H=L.alternate;if(H===null){if(D=L.return,D!==null){O=D;continue}break}if(L.child===H.child){for(H=L.child;H;){if(H===O)return o(L),f;if(H===D)return o(L),p;H=H.sibling}throw Error(r(188))}if(O.return!==D.return)O=L,D=H;else{for(var ce=!1,Ee=L.child;Ee;){if(Ee===O){ce=!0,O=L,D=H;break}if(Ee===D){ce=!0,D=L,O=H;break}Ee=Ee.sibling}if(!ce){for(Ee=H.child;Ee;){if(Ee===O){ce=!0,O=H,D=L;break}if(Ee===D){ce=!0,D=H,O=L;break}Ee=Ee.sibling}if(!ce)throw Error(r(189))}}if(O.alternate!==D)throw Error(r(190))}if(O.tag!==3)throw Error(r(188));return O.stateNode.current===O?f:p}function c(f){var p=f.tag;if(p===5||p===26||p===27||p===6)return f;for(f=f.child;f!==null;){if(p=c(f),p!==null)return p;f=f.sibling}return null}var d=Object.assign,h=Symbol.for("react.element"),m=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),w=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),z=Symbol.for("react.activity"),Z=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function j(f){return f===null||typeof f!="object"?null:(f=q&&f[q]||f["@@iterator"],typeof f=="function"?f:null)}var N=Symbol.for("react.client.reference");function V(f){if(f==null)return null;if(typeof f=="function")return f.$$typeof===N?null:f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case v:return"Fragment";case x:return"Profiler";case _:return"StrictMode";case R:return"Suspense";case C:return"SuspenseList";case z:return"Activity"}if(typeof f=="object")switch(f.$$typeof){case y:return"Portal";case w:return f.displayName||"Context";case E:return(f._context.displayName||"Context")+".Consumer";case T:var p=f.render;return f=f.displayName,f||(f=p.displayName||p.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case k:return p=f.displayName||null,p!==null?p:V(f.type)||"Memo";case F:p=f._payload,f=f._init;try{return V(f(p))}catch{}}return null}var W=Array.isArray,G=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},X=[],M=-1;function K(f){return{current:f}}function Y(f){0>M||(f.current=X[M],X[M]=null,M--)}function B(f,p){M++,X[M]=f.current,f.current=p}var ne=K(null),oe=K(null),ae=K(null),de=K(null);function be(f,p){switch(B(ae,p),B(oe,f),B(ne,null),p.nodeType){case 9:case 11:f=(f=p.documentElement)&&(f=f.namespaceURI)?Yy(f):0;break;default:if(f=p.tagName,p=p.namespaceURI)p=Yy(p),f=as(p,f);else switch(f){case"svg":f=1;break;case"math":f=2;break;default:f=0}}Y(ne),B(ne,f)}function ye(){Y(ne),Y(oe),Y(ae)}function pe(f){f.memoizedState!==null&&B(de,f);var p=ne.current,O=as(p,f.type);p!==O&&(B(oe,f),B(ne,O))}function _e(f){oe.current===f&&(Y(ne),Y(oe)),de.current===f&&(Y(de),Jg._currentValue=te)}var se,me;function ge(f){if(se===void 0)try{throw Error()}catch(O){var p=O.stack.trim().match(/\n( *(at )?)/);se=p&&p[1]||"",me=-1<O.stack.indexOf(`
    at`)?" (<anonymous>)":-1<O.stack.indexOf("@")?"@unknown:0:0":""}return`
`+se+f+me}var we=!1;function Ne(f,p){if(!f||we)return"";we=!0;var O=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var D={DetermineComponentFrameRoot:function(){try{if(p){var St=function(){throw Error()};if(Object.defineProperty(St.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(St,[])}catch(ft){var lt=ft}Reflect.construct(f,[],St)}else{try{St.call()}catch(ft){lt=ft}f.call(St.prototype)}}else{try{throw Error()}catch(ft){lt=ft}(St=f())&&typeof St.catch=="function"&&St.catch(function(){})}}catch(ft){if(ft&&lt&&typeof ft.stack=="string")return[ft.stack,lt.stack]}return[null,null]}};D.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var L=Object.getOwnPropertyDescriptor(D.DetermineComponentFrameRoot,"name");L&&L.configurable&&Object.defineProperty(D.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var H=D.DetermineComponentFrameRoot(),ce=H[0],Ee=H[1];if(ce&&Ee){var Le=ce.split(`
`),at=Ee.split(`
`);for(L=D=0;D<Le.length&&!Le[D].includes("DetermineComponentFrameRoot");)D++;for(;L<at.length&&!at[L].includes("DetermineComponentFrameRoot");)L++;if(D===Le.length||L===at.length)for(D=Le.length-1,L=at.length-1;1<=D&&0<=L&&Le[D]!==at[L];)L--;for(;1<=D&&0<=L;D--,L--)if(Le[D]!==at[L]){if(D!==1||L!==1)do if(D--,L--,0>L||Le[D]!==at[L]){var mt=`
`+Le[D].replace(" at new "," at ");return f.displayName&&mt.includes("<anonymous>")&&(mt=mt.replace("<anonymous>",f.displayName)),mt}while(1<=D&&0<=L);break}}}finally{we=!1,Error.prepareStackTrace=O}return(O=f?f.displayName||f.name:"")?ge(O):""}function Re(f,p){switch(f.tag){case 26:case 27:case 5:return ge(f.type);case 16:return ge("Lazy");case 13:return f.child!==p&&p!==null?ge("Suspense Fallback"):ge("Suspense");case 19:return ge("SuspenseList");case 0:case 15:return Ne(f.type,!1);case 11:return Ne(f.type.render,!1);case 1:return Ne(f.type,!0);case 31:return ge("Activity");default:return""}}function et(f){try{var p="",O=null;do p+=Re(f,O),O=f,f=f.return;while(f);return p}catch(D){return`
Error generating stack: `+D.message+`
`+D.stack}}var tt=Object.prototype.hasOwnProperty,Oe=e.unstable_scheduleCallback,$e=e.unstable_cancelCallback,Ae=e.unstable_shouldYield,Ue=e.unstable_requestPaint,Ze=e.unstable_now,Ye=e.unstable_getCurrentPriorityLevel,Me=e.unstable_ImmediatePriority,ze=e.unstable_UserBlockingPriority,st=e.unstable_NormalPriority,Ot=e.unstable_LowPriority,Nt=e.unstable_IdlePriority,gt=e.log,qt=e.unstable_setDisableYieldValue,zt=null,rn=null;function nn(f){if(typeof gt=="function"&&qt(f),rn&&typeof rn.setStrictMode=="function")try{rn.setStrictMode(zt,f)}catch{}}var Fe=Math.clz32?Math.clz32:Qt,ht=Math.log,Tt=Math.LN2;function Qt(f){return f>>>=0,f===0?32:31-(ht(f)/Tt|0)|0}var an=256,In=262144,un=4194304;function jn(f){var p=f&42;if(p!==0)return p;switch(f&-f){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return f&261888;case 262144:case 524288:case 1048576:case 2097152:return f&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return f&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return f}}function sr(f,p,O){var D=f.pendingLanes;if(D===0)return 0;var L=0,H=f.suspendedLanes,ce=f.pingedLanes;f=f.warmLanes;var Ee=D&134217727;return Ee!==0?(D=Ee&~H,D!==0?L=jn(D):(ce&=Ee,ce!==0?L=jn(ce):O||(O=Ee&~f,O!==0&&(L=jn(O))))):(Ee=D&~H,Ee!==0?L=jn(Ee):ce!==0?L=jn(ce):O||(O=D&~f,O!==0&&(L=jn(O)))),L===0?0:p!==0&&p!==L&&(p&H)===0&&(H=L&-L,O=p&-p,H>=O||H===32&&(O&4194048)!==0)?p:L}function ar(f,p){return(f.pendingLanes&~(f.suspendedLanes&~f.pingedLanes)&p)===0}function Dr(f,p){switch(f){case 1:case 2:case 4:case 8:case 64:return p+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return p+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function zr(){var f=un;return un<<=1,(un&62914560)===0&&(un=4194304),f}function ke(f){for(var p=[],O=0;31>O;O++)p.push(f);return p}function He(f,p){f.pendingLanes|=p,p!==268435456&&(f.suspendedLanes=0,f.pingedLanes=0,f.warmLanes=0)}function nt(f,p,O,D,L,H){var ce=f.pendingLanes;f.pendingLanes=O,f.suspendedLanes=0,f.pingedLanes=0,f.warmLanes=0,f.expiredLanes&=O,f.entangledLanes&=O,f.errorRecoveryDisabledLanes&=O,f.shellSuspendCounter=0;var Ee=f.entanglements,Le=f.expirationTimes,at=f.hiddenUpdates;for(O=ce&~O;0<O;){var mt=31-Fe(O),St=1<<mt;Ee[mt]=0,Le[mt]=-1;var lt=at[mt];if(lt!==null)for(at[mt]=null,mt=0;mt<lt.length;mt++){var ft=lt[mt];ft!==null&&(ft.lane&=-536870913)}O&=~St}D!==0&&dt(f,D,0),H!==0&&L===0&&f.tag!==0&&(f.suspendedLanes|=H&~(ce&~p))}function dt(f,p,O){f.pendingLanes|=p,f.suspendedLanes&=~p;var D=31-Fe(p);f.entangledLanes|=p,f.entanglements[D]=f.entanglements[D]|1073741824|O&261930}function $t(f,p){var O=f.entangledLanes|=p;for(f=f.entanglements;O;){var D=31-Fe(O),L=1<<D;L&p|f[D]&p&&(f[D]|=p),O&=~L}}function Ut(f,p){var O=p&-p;return O=(O&42)!==0?1:Zt(O),(O&(f.suspendedLanes|p))!==0?0:O}function Zt(f){switch(f){case 2:f=1;break;case 8:f=4;break;case 32:f=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:f=128;break;case 268435456:f=134217728;break;default:f=0}return f}function Lt(f){return f&=-f,2<f?8<f?(f&134217727)!==0?32:268435456:8:2}function Vt(){var f=J.p;return f!==0?f:(f=window.event,f===void 0?32:e_(f.type))}function en(f,p){var O=J.p;try{return J.p=f,p()}finally{J.p=O}}var tn=Math.random().toString(36).slice(2),Rt="__reactFiber$"+tn,on="__reactProps$"+tn,mr="__reactContainer$"+tn,ki="__reactEvents$"+tn,_a="__reactListeners$"+tn,pi="__reactHandles$"+tn,qr="__reactResources$"+tn,Du="__reactMarker$"+tn;function Cl(f){delete f[Rt],delete f[on],delete f[ki],delete f[_a],delete f[pi]}function Zr(f){var p=f[Rt];if(p)return p;for(var O=f.parentNode;O;){if(p=O[mr]||O[Rt]){if(O=p.alternate,p.child!==null||O!==null&&O.child!==null)for(f=Ix(f);f!==null;){if(O=f[Rt])return O;f=Ix(f)}return p}f=O,O=f.parentNode}return null}function Pt(f){if(f=f[Rt]||f[mr]){var p=f.tag;if(p===5||p===6||p===13||p===31||p===26||p===27||p===3)return f}return null}function sa(f){var p=f.tag;if(p===5||p===26||p===27||p===6)return f.stateNode;throw Error(r(33))}function Ki(f){var p=f[qr];return p||(p=f[qr]={hoistableStyles:new Map,hoistableScripts:new Map}),p}function ei(f){f[Du]=!0}var $u=new Set,ro={};function Hn(f,p){mi(f,p),mi(f+"Capture",p)}function mi(f,p){for(ro[f]=p,f=0;f<p.length;f++)$u.add(p[f])}var vs=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ys={},ti={};function bs(f){return tt.call(ti,f)?!0:tt.call(ys,f)?!1:vs.test(f)?ti[f]=!0:(ys[f]=!0,!1)}function Ea(f,p,O){if(bs(p))if(O===null)f.removeAttribute(p);else{switch(typeof O){case"undefined":case"function":case"symbol":f.removeAttribute(p);return;case"boolean":var D=p.toLowerCase().slice(0,5);if(D!=="data-"&&D!=="aria-"){f.removeAttribute(p);return}}f.setAttribute(p,""+O)}}function cc(f,p,O){if(O===null)f.removeAttribute(p);else{switch(typeof O){case"undefined":case"function":case"symbol":case"boolean":f.removeAttribute(p);return}f.setAttribute(p,""+O)}}function Pr(f,p,O,D){if(D===null)f.removeAttribute(O);else{switch(typeof D){case"undefined":case"function":case"symbol":case"boolean":f.removeAttribute(O);return}f.setAttributeNS(p,O,""+D)}}function Wi(f){switch(typeof f){case"bigint":case"boolean":case"number":case"string":case"undefined":return f;case"object":return f;default:return""}}function Mo(f){var p=f.type;return(f=f.nodeName)&&f.toLowerCase()==="input"&&(p==="checkbox"||p==="radio")}function vp(f,p,O){var D=Object.getOwnPropertyDescriptor(f.constructor.prototype,p);if(!f.hasOwnProperty(p)&&typeof D<"u"&&typeof D.get=="function"&&typeof D.set=="function"){var L=D.get,H=D.set;return Object.defineProperty(f,p,{configurable:!0,get:function(){return L.call(this)},set:function(ce){O=""+ce,H.call(this,ce)}}),Object.defineProperty(f,p,{enumerable:D.enumerable}),{getValue:function(){return O},setValue:function(ce){O=""+ce},stopTracking:function(){f._valueTracker=null,delete f[p]}}}}function hf(f){if(!f._valueTracker){var p=Mo(f)?"checked":"value";f._valueTracker=vp(f,p,""+f[p])}}function Fo(f){if(!f)return!1;var p=f._valueTracker;if(!p)return!0;var O=p.getValue(),D="";return f&&(D=Mo(f)?f.checked?"true":"false":f.value),f=D,f!==O?(p.setValue(f),!0):!1}function wl(f){if(f=f||(typeof document<"u"?document:void 0),typeof f>"u")return null;try{return f.activeElement||f.body}catch{return f.body}}var uh=/[\n"\\]/g;function ja(f){return f.replace(uh,function(p){return"\\"+p.charCodeAt(0).toString(16)+" "})}function Jf(f,p,O,D,L,H,ce,Ee){f.name="",ce!=null&&typeof ce!="function"&&typeof ce!="symbol"&&typeof ce!="boolean"?f.type=ce:f.removeAttribute("type"),p!=null?ce==="number"?(p===0&&f.value===""||f.value!=p)&&(f.value=""+Wi(p)):f.value!==""+Wi(p)&&(f.value=""+Wi(p)):ce!=="submit"&&ce!=="reset"||f.removeAttribute("value"),p!=null?ed(f,ce,Wi(p)):O!=null?ed(f,ce,Wi(O)):D!=null&&f.removeAttribute("value"),L==null&&H!=null&&(f.defaultChecked=!!H),L!=null&&(f.checked=L&&typeof L!="function"&&typeof L!="symbol"),Ee!=null&&typeof Ee!="function"&&typeof Ee!="symbol"&&typeof Ee!="boolean"?f.name=""+Wi(Ee):f.removeAttribute("name")}function Os(f,p,O,D,L,H,ce,Ee){if(H!=null&&typeof H!="function"&&typeof H!="symbol"&&typeof H!="boolean"&&(f.type=H),p!=null||O!=null){if(!(H!=="submit"&&H!=="reset"||p!=null)){hf(f);return}O=O!=null?""+Wi(O):"",p=p!=null?""+Wi(p):O,Ee||p===f.value||(f.value=p),f.defaultValue=p}D=D??L,D=typeof D!="function"&&typeof D!="symbol"&&!!D,f.checked=Ee?f.checked:!!D,f.defaultChecked=!!D,ce!=null&&typeof ce!="function"&&typeof ce!="symbol"&&typeof ce!="boolean"&&(f.name=ce),hf(f)}function ed(f,p,O){p==="number"&&wl(f.ownerDocument)===f||f.defaultValue===""+O||(f.defaultValue=""+O)}function fc(f,p,O,D){if(f=f.options,p){p={};for(var L=0;L<O.length;L++)p["$"+O[L]]=!0;for(O=0;O<f.length;O++)L=p.hasOwnProperty("$"+f[O].value),f[O].selected!==L&&(f[O].selected=L),L&&D&&(f[O].defaultSelected=!0)}else{for(O=""+Wi(O),p=null,L=0;L<f.length;L++){if(f[L].value===O){f[L].selected=!0,D&&(f[L].defaultSelected=!0);return}p!==null||f[L].disabled||(p=f[L])}p!==null&&(p.selected=!0)}}function dc(f,p,O){if(p!=null&&(p=""+Wi(p),p!==f.value&&(f.value=p),O==null)){f.defaultValue!==p&&(f.defaultValue=p);return}f.defaultValue=O!=null?""+Wi(O):""}function No(f,p,O,D){if(p==null){if(D!=null){if(O!=null)throw Error(r(92));if(W(D)){if(1<D.length)throw Error(r(93));D=D[0]}O=D}O==null&&(O=""),p=O}O=Wi(p),f.defaultValue=O,D=f.textContent,D===O&&D!==""&&D!==null&&(f.value=D),hf(f)}function Cu(f,p){if(p){var O=f.firstChild;if(O&&O===f.lastChild&&O.nodeType===3){O.nodeValue=p;return}}f.textContent=p}var Ss=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function xs(f,p,O){var D=p.indexOf("--")===0;O==null||typeof O=="boolean"||O===""?D?f.setProperty(p,""):p==="float"?f.cssFloat="":f[p]="":D?f.setProperty(p,O):typeof O!="number"||O===0||Ss.has(p)?p==="float"?f.cssFloat=O:f[p]=(""+O).trim():f[p]=O+"px"}function B0(f,p,O){if(p!=null&&typeof p!="object")throw Error(r(62));if(f=f.style,O!=null){for(var D in O)!O.hasOwnProperty(D)||p!=null&&p.hasOwnProperty(D)||(D.indexOf("--")===0?f.setProperty(D,""):D==="float"?f.cssFloat="":f[D]="");for(var L in p)D=p[L],p.hasOwnProperty(L)&&O[L]!==D&&xs(f,L,D)}else for(var H in p)p.hasOwnProperty(H)&&xs(f,H,p[H])}function pf(f){if(f.indexOf("-")===-1)return!1;switch(f){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Q0=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),yp=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function mf(f){return yp.test(""+f)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":f}function io(){}var lh=null;function oh(f){return f=f.target||f.srcElement||window,f.correspondingUseElement&&(f=f.correspondingUseElement),f.nodeType===3?f.parentNode:f}var _s=null,hc=null;function z0(f){var p=Pt(f);if(p&&(f=p.stateNode)){var O=f[on]||null;e:switch(f=p.stateNode,p.type){case"input":if(Jf(f,O.value,O.defaultValue,O.defaultValue,O.checked,O.defaultChecked,O.type,O.name),p=O.name,O.type==="radio"&&p!=null){for(O=f;O.parentNode;)O=O.parentNode;for(O=O.querySelectorAll('input[name="'+ja(""+p)+'"][type="radio"]'),p=0;p<O.length;p++){var D=O[p];if(D!==f&&D.form===f.form){var L=D[on]||null;if(!L)throw Error(r(90));Jf(D,L.value,L.defaultValue,L.defaultValue,L.checked,L.defaultChecked,L.type,L.name)}}for(p=0;p<O.length;p++)D=O[p],D.form===f.form&&Fo(D)}break e;case"textarea":dc(f,O.value,O.defaultValue);break e;case"select":p=O.value,p!=null&&fc(f,!!O.multiple,p,!1)}}}var bp=!1;function Op(f,p,O){if(bp)return f(p,O);bp=!0;try{var D=f(p);return D}finally{if(bp=!1,(_s!==null||hc!==null)&&(De(),_s&&(p=_s,f=hc,hc=_s=null,z0(p),f)))for(p=0;p<f.length;p++)z0(f[p])}}function Es(f,p){var O=f.stateNode;if(O===null)return null;var D=O[on]||null;if(D===null)return null;O=D[p];e:switch(p){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(D=!D.disabled)||(f=f.type,D=!(f==="button"||f==="input"||f==="select"||f==="textarea")),f=!D;break e;default:f=!1}if(f)return null;if(O&&typeof O!="function")throw Error(r(231,p,typeof O));return O}var Io=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Sp=!1;if(Io)try{var sh={};Object.defineProperty(sh,"passive",{get:function(){Sp=!0}}),window.addEventListener("test",sh,sh),window.removeEventListener("test",sh,sh)}catch{Sp=!1}var pc=null,ch=null,$r=null;function Ln(){if($r)return $r;var f,p=ch,O=p.length,D,L="value"in pc?pc.value:pc.textContent,H=L.length;for(f=0;f<O&&p[f]===L[f];f++);var ce=O-f;for(D=1;D<=ce&&p[O-D]===L[H-D];D++);return $r=L.slice(f,1<D?1-D:void 0)}function mc(f){var p=f.keyCode;return"charCode"in f?(f=f.charCode,f===0&&p===13&&(f=13)):f=p,f===10&&(f=13),32<=f||f===13?f:0}function Lo(){return!0}function gc(){return!1}function Ji(f){function p(O,D,L,H,ce){this._reactName=O,this._targetInst=L,this.type=D,this.nativeEvent=H,this.target=ce,this.currentTarget=null;for(var Ee in f)f.hasOwnProperty(Ee)&&(O=f[Ee],this[Ee]=O?O(H):H[Ee]);return this.isDefaultPrevented=(H.defaultPrevented!=null?H.defaultPrevented:H.returnValue===!1)?Lo:gc,this.isPropagationStopped=gc,this}return d(p.prototype,{preventDefault:function(){this.defaultPrevented=!0;var O=this.nativeEvent;O&&(O.preventDefault?O.preventDefault():typeof O.returnValue!="unknown"&&(O.returnValue=!1),this.isDefaultPrevented=Lo)},stopPropagation:function(){var O=this.nativeEvent;O&&(O.stopPropagation?O.stopPropagation():typeof O.cancelBubble!="unknown"&&(O.cancelBubble=!0),this.isPropagationStopped=Lo)},persist:function(){},isPersistent:Lo}),p}var Ds={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(f){return f.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=Ji(Ds),Rl=d({},Ds,{view:0,detail:0}),nd=Ji(Rl),ea,$s,Al,rd=d({},Rl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cs,button:0,buttons:0,relatedTarget:function(f){return f.relatedTarget===void 0?f.fromElement===f.srcElement?f.toElement:f.fromElement:f.relatedTarget},movementX:function(f){return"movementX"in f?f.movementX:(f!==Al&&(Al&&f.type==="mousemove"?(ea=f.screenX-Al.screenX,$s=f.screenY-Al.screenY):$s=ea=0,Al=f),ea)},movementY:function(f){return"movementY"in f?f.movementY:$s}}),xp=Ji(rd),ni=d({},rd,{dataTransfer:0}),q0=Ji(ni),V0=d({},Rl,{relatedTarget:0}),id=Ji(V0),U0=d({},Ds,{animationName:0,elapsedTime:0,pseudoElement:0}),vc=Ji(U0),ad=d({},Ds,{clipboardData:function(f){return"clipboardData"in f?f.clipboardData:window.clipboardData}}),ca=Ji(ad),ud=d({},Ds,{data:0}),Na=Ji(ud),hg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_p={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Bo={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function fh(f){var p=this.nativeEvent;return p.getModifierState?p.getModifierState(f):(f=Bo[f])?!!p[f]:!1}function Cs(){return fh}var gi=d({},Rl,{key:function(f){if(f.key){var p=hg[f.key]||f.key;if(p!=="Unidentified")return p}return f.type==="keypress"?(f=mc(f),f===13?"Enter":String.fromCharCode(f)):f.type==="keydown"||f.type==="keyup"?_p[f.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cs,charCode:function(f){return f.type==="keypress"?mc(f):0},keyCode:function(f){return f.type==="keydown"||f.type==="keyup"?f.keyCode:0},which:function(f){return f.type==="keypress"?mc(f):f.type==="keydown"||f.type==="keyup"?f.keyCode:0}}),Qo=Ji(gi),Ep=d({},rd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Dp=Ji(Ep),$p=d({},Rl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cs}),ws=Ji($p),Cp=d({},Ds,{propertyName:0,elapsedTime:0,pseudoElement:0}),dy=Ji(Cp),j0=d({},rd,{deltaX:function(f){return"deltaX"in f?f.deltaX:"wheelDeltaX"in f?-f.wheelDeltaX:0},deltaY:function(f){return"deltaY"in f?f.deltaY:"wheelDeltaY"in f?-f.wheelDeltaY:"wheelDelta"in f?-f.wheelDelta:0},deltaZ:0,deltaMode:0}),ao=Ji(j0),ju=d({},Ds,{newState:0,oldState:0}),Z0=Ji(ju),dh=[9,13,27,32],yc=Io&&"CompositionEvent"in window,zo=null;Io&&"documentMode"in document&&(zo=document.documentMode);var Rs=Io&&"TextEvent"in window&&!zo,Ia=Io&&(!yc||zo&&8<zo&&11>=zo),hh=" ",ph=!1;function ld(f,p){switch(f){case"keyup":return dh.indexOf(p.keyCode)!==-1;case"keydown":return p.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function od(f){return f=f.detail,typeof f=="object"&&"data"in f?f.data:null}var As=!1;function ou(f,p){switch(f){case"compositionend":return od(p);case"keypress":return p.which!==32?null:(ph=!0,hh);case"textInput":return f=p.data,f===hh&&ph?null:f;default:return null}}function wp(f,p){if(As)return f==="compositionend"||!yc&&ld(f,p)?(f=Ln(),$r=ch=pc=null,As=!1,f):null;switch(f){case"paste":return null;case"keypress":if(!(p.ctrlKey||p.altKey||p.metaKey)||p.ctrlKey&&p.altKey){if(p.char&&1<p.char.length)return p.char;if(p.which)return String.fromCharCode(p.which)}return null;case"compositionend":return Ia&&p.locale!=="ko"?null:p.data;default:return null}}var Za={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Rp(f){var p=f&&f.nodeName&&f.nodeName.toLowerCase();return p==="input"?!!Za[f.type]:p==="textarea"}function sd(f,p,O,D){_s?hc?hc.push(D):hc=[D]:_s=D,p=jy(p,"onChange"),0<p.length&&(O=new td("onChange","change",null,O,D),f.push({event:O,listeners:p}))}var gf=null,cd=null;function Zu(f){wx(f,0)}function uo(f){var p=sa(f);if(Fo(p))return f}function H0(f,p){if(f==="change")return p}var su=!1;if(Io){var vf;if(Io){var Sr="oninput"in document;if(!Sr){var mh=document.createElement("div");mh.setAttribute("oninput","return;"),Sr=typeof mh.oninput=="function"}vf=Sr}else vf=!1;su=vf&&(!document.documentMode||9<document.documentMode)}function Ap(){gf&&(gf.detachEvent("onpropertychange",lo),cd=gf=null)}function lo(f){if(f.propertyName==="value"&&uo(cd)){var p=[];sd(p,cd,f,oh(f)),Op(Zu,p)}}function Gn(f,p,O){f==="focusin"?(Ap(),gf=p,cd=O,gf.attachEvent("onpropertychange",lo)):f==="focusout"&&Ap()}function ml(f){if(f==="selectionchange"||f==="keyup"||f==="keydown")return uo(cd)}function pg(f,p){if(f==="click")return uo(p)}function Pi(f,p){if(f==="input"||f==="change")return uo(p)}function cu(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var cr=typeof Object.is=="function"?Object.is:cu;function yf(f,p){if(cr(f,p))return!0;if(typeof f!="object"||f===null||typeof p!="object"||p===null)return!1;var O=Object.keys(f),D=Object.keys(p);if(O.length!==D.length)return!1;for(D=0;D<O.length;D++){var L=O[D];if(!tt.call(p,L)||!cr(f[L],p[L]))return!1}return!0}function X0(f){for(;f&&f.firstChild;)f=f.firstChild;return f}function Y0(f,p){var O=X0(f);f=0;for(var D;O;){if(O.nodeType===3){if(D=f+O.textContent.length,f<=p&&D>=p)return{node:O,offset:p-f};f=D}e:{for(;O;){if(O.nextSibling){O=O.nextSibling;break e}O=O.parentNode}O=void 0}O=X0(O)}}function gr(f,p){return f&&p?f===p?!0:f&&f.nodeType===3?!1:p&&p.nodeType===3?gr(f,p.parentNode):"contains"in f?f.contains(p):f.compareDocumentPosition?!!(f.compareDocumentPosition(p)&16):!1:!1}function G0(f){f=f!=null&&f.ownerDocument!=null&&f.ownerDocument.defaultView!=null?f.ownerDocument.defaultView:window;for(var p=wl(f.document);p instanceof f.HTMLIFrameElement;){try{var O=typeof p.contentWindow.location.href=="string"}catch{O=!1}if(O)f=p.contentWindow;else break;p=wl(f.document)}return p}function bf(f){var p=f&&f.nodeName&&f.nodeName.toLowerCase();return p&&(p==="input"&&(f.type==="text"||f.type==="search"||f.type==="tel"||f.type==="url"||f.type==="password")||p==="textarea"||f.contentEditable==="true")}var bc=Io&&"documentMode"in document&&11>=document.documentMode,Xe=null,pt=null,rt=null,Bt=!1;function En(f,p,O){var D=O.window===O?O.document:O.nodeType===9?O:O.ownerDocument;Bt||Xe==null||Xe!==wl(D)||(D=Xe,"selectionStart"in D&&bf(D)?D={start:D.selectionStart,end:D.selectionEnd}:(D=(D.ownerDocument&&D.ownerDocument.defaultView||window).getSelection(),D={anchorNode:D.anchorNode,anchorOffset:D.anchorOffset,focusNode:D.focusNode,focusOffset:D.focusOffset}),rt&&yf(rt,D)||(rt=D,D=jy(pt,"onSelect"),0<D.length&&(p=new td("onSelect","select",null,p,O),f.push({event:p,listeners:D}),p.target=Xe)))}function nr(f,p){var O={};return O[f.toLowerCase()]=p.toLowerCase(),O["Webkit"+f]="webkit"+p,O["Moz"+f]="moz"+p,O}var Mi={animationend:nr("Animation","AnimationEnd"),animationiteration:nr("Animation","AnimationIteration"),animationstart:nr("Animation","AnimationStart"),transitionrun:nr("Transition","TransitionRun"),transitionstart:nr("Transition","TransitionStart"),transitioncancel:nr("Transition","TransitionCancel"),transitionend:nr("Transition","TransitionEnd")},Mr={},Ha={};Io&&(Ha=document.createElement("div").style,"AnimationEvent"in window||(delete Mi.animationend.animation,delete Mi.animationiteration.animation,delete Mi.animationstart.animation),"TransitionEvent"in window||delete Mi.transitionend.transition);function Oc(f){if(Mr[f])return Mr[f];if(!Mi[f])return f;var p=Mi[f],O;for(O in p)if(p.hasOwnProperty(O)&&O in Ha)return Mr[f]=p[O];return f}var xi=Oc("animationend"),fd=Oc("animationiteration"),Tl=Oc("animationstart"),oo=Oc("transitionrun"),so=Oc("transitionstart"),Of=Oc("transitioncancel"),xr=Oc("transitionend"),qo=new Map,gh="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");gh.push("scrollEnd");function fa(f,p){qo.set(f,p),Hn(p,[f])}var Vo=typeof reportError=="function"?reportError:function(f){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var p=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof f=="object"&&f!==null&&typeof f.message=="string"?String(f.message):String(f),error:f});if(!window.dispatchEvent(p))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",f);return}console.error(f)},Da=[],co=0,Ts=0;function Xa(){for(var f=co,p=Ts=co=0;p<f;){var O=Da[p];Da[p++]=null;var D=Da[p];Da[p++]=null;var L=Da[p];Da[p++]=null;var H=Da[p];if(Da[p++]=null,D!==null&&L!==null){var ce=D.pending;ce===null?L.next=L:(L.next=ce.next,ce.next=L),D.pending=L}H!==0&&xc(O,L,H)}}function Hu(f,p,O,D){Da[co++]=f,Da[co++]=p,Da[co++]=O,Da[co++]=D,Ts|=D,f.lanes|=D,f=f.alternate,f!==null&&(f.lanes|=D)}function Sc(f,p,O,D){return Hu(f,p,O,D),_c(f)}function Xu(f,p){return Hu(f,null,null,p),_c(f)}function xc(f,p,O){f.lanes|=O;var D=f.alternate;D!==null&&(D.lanes|=O);for(var L=!1,H=f.return;H!==null;)H.childLanes|=O,D=H.alternate,D!==null&&(D.childLanes|=O),H.tag===22&&(f=H.stateNode,f===null||f._visibility&1||(L=!0)),f=H,H=H.return;return f.tag===3?(H=f.stateNode,L&&p!==null&&(L=31-Fe(O),f=H.hiddenUpdates,D=f[L],D===null?f[L]=[p]:D.push(p),p.lane=O|536870912),H):null}function _c(f){if(50<Nh)throw Nh=0,Ih=null,Error(r(185));for(var p=f.return;p!==null;)f=p,p=f.return;return f.tag===3?f.stateNode:null}var fu={};function dd(f,p,O,D){this.tag=f,this.key=O,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=p,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=D,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ta(f,p,O,D){return new dd(f,p,O,D)}function Hi(f){return f=f.prototype,!(!f||!f.isReactComponent)}function Yu(f,p){var O=f.alternate;return O===null?(O=ta(f.tag,p,f.key,f.mode),O.elementType=f.elementType,O.type=f.type,O.stateNode=f.stateNode,O.alternate=f,f.alternate=O):(O.pendingProps=p,O.type=f.type,O.flags=0,O.subtreeFlags=0,O.deletions=null),O.flags=f.flags&65011712,O.childLanes=f.childLanes,O.lanes=f.lanes,O.child=f.child,O.memoizedProps=f.memoizedProps,O.memoizedState=f.memoizedState,O.updateQueue=f.updateQueue,p=f.dependencies,O.dependencies=p===null?null:{lanes:p.lanes,firstContext:p.firstContext},O.sibling=f.sibling,O.index=f.index,O.ref=f.ref,O.refCleanup=f.refCleanup,O}function du(f,p){f.flags&=65011714;var O=f.alternate;return O===null?(f.childLanes=0,f.lanes=p,f.child=null,f.subtreeFlags=0,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=O.childLanes,f.lanes=O.lanes,f.child=O.child,f.subtreeFlags=0,f.deletions=null,f.memoizedProps=O.memoizedProps,f.memoizedState=O.memoizedState,f.updateQueue=O.updateQueue,f.type=O.type,p=O.dependencies,f.dependencies=p===null?null:{lanes:p.lanes,firstContext:p.firstContext}),f}function vh(f,p,O,D,L,H){var ce=0;if(D=f,typeof f=="function")Hi(f)&&(ce=1);else if(typeof f=="string")ce=lw(f,O,ne.current)?26:f==="html"||f==="head"||f==="body"?27:5;else e:switch(f){case z:return f=ta(31,O,p,L),f.elementType=z,f.lanes=H,f;case v:return kl(O.children,L,H,p);case _:ce=8,L|=24;break;case x:return f=ta(12,O,p,L|2),f.elementType=x,f.lanes=H,f;case R:return f=ta(13,O,p,L),f.elementType=R,f.lanes=H,f;case C:return f=ta(19,O,p,L),f.elementType=C,f.lanes=H,f;default:if(typeof f=="object"&&f!==null)switch(f.$$typeof){case w:ce=10;break e;case E:ce=9;break e;case T:ce=11;break e;case k:ce=14;break e;case F:ce=16,D=null;break e}ce=29,O=Error(r(130,f===null?"null":typeof f,"")),D=null}return p=ta(ce,O,p,L),p.elementType=f,p.type=D,p.lanes=H,p}function kl(f,p,O,D){return f=ta(7,f,D,p),f.lanes=O,f}function Sf(f,p,O){return f=ta(6,f,null,p),f.lanes=O,f}function yh(f){var p=ta(18,null,null,0);return p.stateNode=f,p}function hu(f,p,O){return p=ta(4,f.children!==null?f.children:[],f.key,p),p.lanes=O,p.stateNode={containerInfo:f.containerInfo,pendingChildren:null,implementation:f.implementation},p}var Tp=new WeakMap;function wu(f,p){if(typeof f=="object"&&f!==null){var O=Tp.get(f);return O!==void 0?O:(p={value:f,source:p,stack:et(p)},Tp.set(f,p),p)}return{value:f,source:p,stack:et(p)}}var Pl=[],Ec=0,Fi=null,_i=0,Ru=[],hn=0,Au=null,Uo=1,ue="";function I(f,p){Pl[Ec++]=_i,Pl[Ec++]=Fi,Fi=f,_i=p}function re(f,p,O){Ru[hn++]=Uo,Ru[hn++]=ue,Ru[hn++]=Au,Au=f;var D=Uo;f=ue;var L=32-Fe(D)-1;D&=~(1<<L),O+=1;var H=32-Fe(p)+L;if(30<H){var ce=L-L%5;H=(D&(1<<ce)-1).toString(32),D>>=ce,L-=ce,Uo=1<<32-Fe(p)+L|O<<L|D,ue=H+f}else Uo=1<<H|O<<L|D,ue=f}function fe(f){f.return!==null&&(I(f,1),re(f,1,0))}function Se(f){for(;f===Fi;)Fi=Pl[--Ec],Pl[Ec]=null,_i=Pl[--Ec],Pl[Ec]=null;for(;f===Au;)Au=Ru[--hn],Ru[hn]=null,ue=Ru[--hn],Ru[hn]=null,Uo=Ru[--hn],Ru[hn]=null}function Te(f,p){Ru[hn++]=Uo,Ru[hn++]=ue,Ru[hn++]=Au,Uo=p.id,ue=p.overflow,Au=f}var Qe=null,Be=null,je=!1,Ct=null,Gt=!1,Bn=Error(r(519));function sn(f){var p=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ml(wu(p,f)),Bn}function gn(f){var p=f.stateNode,O=f.type,D=f.memoizedProps;switch(p[Rt]=f,p[on]=D,O){case"dialog":Er("cancel",p),Er("close",p);break;case"iframe":case"object":case"embed":Er("load",p);break;case"video":case"audio":for(O=0;O<Uy.length;O++)Er(Uy[O],p);break;case"source":Er("error",p);break;case"img":case"image":case"link":Er("error",p),Er("load",p);break;case"details":Er("toggle",p);break;case"input":Er("invalid",p),Os(p,D.value,D.defaultValue,D.checked,D.defaultChecked,D.type,D.name,!0);break;case"select":Er("invalid",p);break;case"textarea":Er("invalid",p),No(p,D.value,D.defaultValue,D.children)}O=D.children,typeof O!="string"&&typeof O!="number"&&typeof O!="bigint"||p.textContent===""+O||D.suppressHydrationWarning===!0||Tx(p.textContent,O)?(D.popover!=null&&(Er("beforetoggle",p),Er("toggle",p)),D.onScroll!=null&&Er("scroll",p),D.onScrollEnd!=null&&Er("scrollend",p),D.onClick!=null&&(p.onclick=io),p=!0):p=!1,p||sn(f,!0)}function Ei(f){for(Qe=f.return;Qe;)switch(Qe.tag){case 5:case 31:case 13:Gt=!1;return;case 27:case 3:Gt=!0;return;default:Qe=Qe.return}}function La(f){if(f!==Qe)return!1;if(!je)return Ei(f),je=!0,!1;var p=f.tag,O;if((O=p!==3&&p!==27)&&((O=p===5)&&(O=f.type,O=!(O!=="form"&&O!=="button")||Xp(f.type,f.memoizedProps)),O=!O),O&&Be&&sn(f),Ei(f),p===13){if(f=f.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(r(317));Be=Nx(f)}else if(p===31){if(f=f.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(r(317));Be=Nx(f)}else p===27?(p=Be,zn(f.type)?(f=O4,O4=null,Be=f):Be=p):Be=Qe?Qc(f.stateNode.nextSibling):null;return!0}function xe(){Be=Qe=null,je=!1}function gl(){var f=Ct;return f!==null&&(ul===null?ul=f:ul.push.apply(ul,f),Ct=null),f}function Ml(f){Ct===null?Ct=[f]:Ct.push(f)}var Tu=K(null),Qn=null,Ya=null;function ks(f,p,O){B(Tu,p._currentValue),p._currentValue=O}function Fl(f){f._currentValue=Tu.current,Y(Tu)}function ku(f,p,O){for(;f!==null;){var D=f.alternate;if((f.childLanes&p)!==p?(f.childLanes|=p,D!==null&&(D.childLanes|=p)):D!==null&&(D.childLanes&p)!==p&&(D.childLanes|=p),f===O)break;f=f.return}}function Dc(f,p,O,D){var L=f.child;for(L!==null&&(L.return=f);L!==null;){var H=L.dependencies;if(H!==null){var ce=L.child;H=H.firstContext;e:for(;H!==null;){var Ee=H;H=L;for(var Le=0;Le<p.length;Le++)if(Ee.context===p[Le]){H.lanes|=O,Ee=H.alternate,Ee!==null&&(Ee.lanes|=O),ku(H.return,O,f),D||(ce=null);break e}H=Ee.next}}else if(L.tag===18){if(ce=L.return,ce===null)throw Error(r(341));ce.lanes|=O,H=ce.alternate,H!==null&&(H.lanes|=O),ku(ce,O,f),ce=null}else ce=L.child;if(ce!==null)ce.return=L;else for(ce=L;ce!==null;){if(ce===f){ce=null;break}if(L=ce.sibling,L!==null){L.return=ce.return,ce=L;break}ce=ce.return}L=ce}}function Nl(f,p,O,D){f=null;for(var L=p,H=!1;L!==null;){if(!H){if((L.flags&524288)!==0)H=!0;else if((L.flags&262144)!==0)break}if(L.tag===10){var ce=L.alternate;if(ce===null)throw Error(r(387));if(ce=ce.memoizedProps,ce!==null){var Ee=L.type;cr(L.pendingProps.value,ce.value)||(f!==null?f.push(Ee):f=[Ee])}}else if(L===de.current){if(ce=L.alternate,ce===null)throw Error(r(387));ce.memoizedState.memoizedState!==L.memoizedState.memoizedState&&(f!==null?f.push(Jg):f=[Jg])}L=L.return}f!==null&&Dc(p,f,O,D),p.flags|=262144}function hd(f){for(f=f.firstContext;f!==null;){if(!cr(f.context._currentValue,f.memoizedValue))return!0;f=f.next}return!1}function bh(f){Qn=f,Ya=null,f=f.dependencies,f!==null&&(f.firstContext=null)}function pu(f){return hy(Qn,f)}function fo(f,p){return Qn===null&&bh(f),hy(f,p)}function hy(f,p){var O=p._currentValue;if(p={context:p,memoizedValue:O,next:null},Ya===null){if(f===null)throw Error(r(308));Ya=p,f.dependencies={lanes:0,firstContext:p},f.flags|=524288}else Ya=Ya.next=p;return O}var xb=typeof AbortController<"u"?AbortController:function(){var f=[],p=this.signal={aborted:!1,addEventListener:function(O,D){f.push(D)}};this.abort=function(){p.aborted=!0,f.forEach(function(O){return O()})}},_b=e.unstable_scheduleCallback,py=e.unstable_NormalPriority,vn={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ps(){return{controller:new xb,data:new Map,refCount:0}}function Pu(f){f.refCount--,f.refCount===0&&_b(py,function(){f.controller.abort()})}var Oh=null,my=0,xf=0,Ms=null;function jo(f,p){if(Oh===null){var O=Oh=[];my=0,xf=Zs(),Ms={status:"pending",value:void 0,then:function(D){O.push(D)}}}return my++,p.then(gy,gy),p}function gy(){if(--my===0&&Oh!==null){Ms!==null&&(Ms.status="fulfilled");var f=Oh;Oh=null,xf=0,Ms=null;for(var p=0;p<f.length;p++)(0,f[p])()}}function vy(f,p){var O=[],D={status:"pending",value:null,reason:null,then:function(L){O.push(L)}};return f.then(function(){D.status="fulfilled",D.value=p;for(var L=0;L<O.length;L++)(0,O[L])(p)},function(L){for(D.status="rejected",D.reason=L,L=0;L<O.length;L++)(0,O[L])(void 0)}),D}var Zo=G.S;G.S=function(f,p){Up=Ze(),typeof p=="object"&&p!==null&&typeof p.then=="function"&&jo(f,p),Zo!==null&&Zo(f,p)};var pd=K(null);function $c(){var f=pd.current;return f!==null?f:ri.pooledCache}function kp(f,p){p===null?B(pd,pd.current):B(pd,p.pool)}function mg(){var f=$c();return f===null?null:{parent:vn._currentValue,pool:f}}var md=Error(r(460)),Pp=Error(r(474)),Ho=Error(r(542)),K0={then:function(){}};function Eb(f){return f=f.status,f==="fulfilled"||f==="rejected"}function W0(f,p,O){switch(O=f[O],O===void 0?f.push(p):O!==p&&(p.then(io,io),p=O),p.status){case"fulfilled":return p.value;case"rejected":throw f=p.reason,vg(f),f;default:if(typeof p.status=="string")p.then(io,io);else{if(f=ri,f!==null&&100<f.shellSuspendCounter)throw Error(r(482));f=p,f.status="pending",f.then(function(D){if(p.status==="pending"){var L=p;L.status="fulfilled",L.value=D}},function(D){if(p.status==="pending"){var L=p;L.status="rejected",L.reason=D}})}switch(p.status){case"fulfilled":return p.value;case"rejected":throw f=p.reason,vg(f),f}throw xn=p,md}}function Fs(f){try{var p=f._init;return p(f._payload)}catch(O){throw O!==null&&typeof O=="object"&&typeof O.then=="function"?(xn=O,md):O}}var xn=null;function gg(){if(xn===null)throw Error(r(459));var f=xn;return xn=null,f}function vg(f){if(f===md||f===Ho)throw Error(r(483))}var gd=null,Gu=0;function Mp(f){var p=Gu;return Gu+=1,gd===null&&(gd=[]),W0(gd,f,p)}function Ns(f,p){p=p.props.ref,f.ref=p!==void 0?p:null}function Ku(f,p){throw p.$$typeof===h?Error(r(525)):(f=Object.prototype.toString.call(p),Error(r(31,f==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":f)))}function Fp(f){function p(Ke,Ve){if(f){var it=Ke.deletions;it===null?(Ke.deletions=[Ve],Ke.flags|=16):it.push(Ve)}}function O(Ke,Ve){if(!f)return null;for(;Ve!==null;)p(Ke,Ve),Ve=Ve.sibling;return null}function D(Ke){for(var Ve=new Map;Ke!==null;)Ke.key!==null?Ve.set(Ke.key,Ke):Ve.set(Ke.index,Ke),Ke=Ke.sibling;return Ve}function L(Ke,Ve){return Ke=Yu(Ke,Ve),Ke.index=0,Ke.sibling=null,Ke}function H(Ke,Ve,it){return Ke.index=it,f?(it=Ke.alternate,it!==null?(it=it.index,it<Ve?(Ke.flags|=67108866,Ve):it):(Ke.flags|=67108866,Ve)):(Ke.flags|=1048576,Ve)}function ce(Ke){return f&&Ke.alternate===null&&(Ke.flags|=67108866),Ke}function Ee(Ke,Ve,it,yt){return Ve===null||Ve.tag!==6?(Ve=Sf(it,Ke.mode,yt),Ve.return=Ke,Ve):(Ve=L(Ve,it),Ve.return=Ke,Ve)}function Le(Ke,Ve,it,yt){var _n=it.type;return _n===v?mt(Ke,Ve,it.props.children,yt,it.key):Ve!==null&&(Ve.elementType===_n||typeof _n=="object"&&_n!==null&&_n.$$typeof===F&&Fs(_n)===Ve.type)?(Ve=L(Ve,it.props),Ns(Ve,it),Ve.return=Ke,Ve):(Ve=vh(it.type,it.key,it.props,null,Ke.mode,yt),Ns(Ve,it),Ve.return=Ke,Ve)}function at(Ke,Ve,it,yt){return Ve===null||Ve.tag!==4||Ve.stateNode.containerInfo!==it.containerInfo||Ve.stateNode.implementation!==it.implementation?(Ve=hu(it,Ke.mode,yt),Ve.return=Ke,Ve):(Ve=L(Ve,it.children||[]),Ve.return=Ke,Ve)}function mt(Ke,Ve,it,yt,_n){return Ve===null||Ve.tag!==7?(Ve=kl(it,Ke.mode,yt,_n),Ve.return=Ke,Ve):(Ve=L(Ve,it),Ve.return=Ke,Ve)}function St(Ke,Ve,it){if(typeof Ve=="string"&&Ve!==""||typeof Ve=="number"||typeof Ve=="bigint")return Ve=Sf(""+Ve,Ke.mode,it),Ve.return=Ke,Ve;if(typeof Ve=="object"&&Ve!==null){switch(Ve.$$typeof){case m:return it=vh(Ve.type,Ve.key,Ve.props,null,Ke.mode,it),Ns(it,Ve),it.return=Ke,it;case y:return Ve=hu(Ve,Ke.mode,it),Ve.return=Ke,Ve;case F:return Ve=Fs(Ve),St(Ke,Ve,it)}if(W(Ve)||j(Ve))return Ve=kl(Ve,Ke.mode,it,null),Ve.return=Ke,Ve;if(typeof Ve.then=="function")return St(Ke,Mp(Ve),it);if(Ve.$$typeof===w)return St(Ke,fo(Ke,Ve),it);Ku(Ke,Ve)}return null}function lt(Ke,Ve,it,yt){var _n=Ve!==null?Ve.key:null;if(typeof it=="string"&&it!==""||typeof it=="number"||typeof it=="bigint")return _n!==null?null:Ee(Ke,Ve,""+it,yt);if(typeof it=="object"&&it!==null){switch(it.$$typeof){case m:return it.key===_n?Le(Ke,Ve,it,yt):null;case y:return it.key===_n?at(Ke,Ve,it,yt):null;case F:return it=Fs(it),lt(Ke,Ve,it,yt)}if(W(it)||j(it))return _n!==null?null:mt(Ke,Ve,it,yt,null);if(typeof it.then=="function")return lt(Ke,Ve,Mp(it),yt);if(it.$$typeof===w)return lt(Ke,Ve,fo(Ke,it),yt);Ku(Ke,it)}return null}function ft(Ke,Ve,it,yt,_n){if(typeof yt=="string"&&yt!==""||typeof yt=="number"||typeof yt=="bigint")return Ke=Ke.get(it)||null,Ee(Ve,Ke,""+yt,_n);if(typeof yt=="object"&&yt!==null){switch(yt.$$typeof){case m:return Ke=Ke.get(yt.key===null?it:yt.key)||null,Le(Ve,Ke,yt,_n);case y:return Ke=Ke.get(yt.key===null?it:yt.key)||null,at(Ve,Ke,yt,_n);case F:return yt=Fs(yt),ft(Ke,Ve,it,yt,_n)}if(W(yt)||j(yt))return Ke=Ke.get(it)||null,mt(Ve,Ke,yt,_n,null);if(typeof yt.then=="function")return ft(Ke,Ve,it,Mp(yt),_n);if(yt.$$typeof===w)return ft(Ke,Ve,it,fo(Ve,yt),_n);Ku(Ve,yt)}return null}function cn(Ke,Ve,it,yt){for(var _n=null,ii=null,pn=Ve,lr=Ve=0,Tr=null;pn!==null&&lr<it.length;lr++){pn.index>lr?(Tr=pn,pn=null):Tr=pn.sibling;var ai=lt(Ke,pn,it[lr],yt);if(ai===null){pn===null&&(pn=Tr);break}f&&pn&&ai.alternate===null&&p(Ke,pn),Ve=H(ai,Ve,lr),ii===null?_n=ai:ii.sibling=ai,ii=ai,pn=Tr}if(lr===it.length)return O(Ke,pn),je&&I(Ke,lr),_n;if(pn===null){for(;lr<it.length;lr++)pn=St(Ke,it[lr],yt),pn!==null&&(Ve=H(pn,Ve,lr),ii===null?_n=pn:ii.sibling=pn,ii=pn);return je&&I(Ke,lr),_n}for(pn=D(pn);lr<it.length;lr++)Tr=ft(pn,Ke,lr,it[lr],yt),Tr!==null&&(f&&Tr.alternate!==null&&pn.delete(Tr.key===null?lr:Tr.key),Ve=H(Tr,Ve,lr),ii===null?_n=Tr:ii.sibling=Tr,ii=Tr);return f&&pn.forEach(function(e0){return p(Ke,e0)}),je&&I(Ke,lr),_n}function Rn(Ke,Ve,it,yt){if(it==null)throw Error(r(151));for(var _n=null,ii=null,pn=Ve,lr=Ve=0,Tr=null,ai=it.next();pn!==null&&!ai.done;lr++,ai=it.next()){pn.index>lr?(Tr=pn,pn=null):Tr=pn.sibling;var e0=lt(Ke,pn,ai.value,yt);if(e0===null){pn===null&&(pn=Tr);break}f&&pn&&e0.alternate===null&&p(Ke,pn),Ve=H(e0,Ve,lr),ii===null?_n=e0:ii.sibling=e0,ii=e0,pn=Tr}if(ai.done)return O(Ke,pn),je&&I(Ke,lr),_n;if(pn===null){for(;!ai.done;lr++,ai=it.next())ai=St(Ke,ai.value,yt),ai!==null&&(Ve=H(ai,Ve,lr),ii===null?_n=ai:ii.sibling=ai,ii=ai);return je&&I(Ke,lr),_n}for(pn=D(pn);!ai.done;lr++,ai=it.next())ai=ft(pn,Ke,lr,ai.value,yt),ai!==null&&(f&&ai.alternate!==null&&pn.delete(ai.key===null?lr:ai.key),Ve=H(ai,Ve,lr),ii===null?_n=ai:ii.sibling=ai,ii=ai);return f&&pn.forEach(function(mw){return p(Ke,mw)}),je&&I(Ke,lr),_n}function Ii(Ke,Ve,it,yt){if(typeof it=="object"&&it!==null&&it.type===v&&it.key===null&&(it=it.props.children),typeof it=="object"&&it!==null){switch(it.$$typeof){case m:e:{for(var _n=it.key;Ve!==null;){if(Ve.key===_n){if(_n=it.type,_n===v){if(Ve.tag===7){O(Ke,Ve.sibling),yt=L(Ve,it.props.children),yt.return=Ke,Ke=yt;break e}}else if(Ve.elementType===_n||typeof _n=="object"&&_n!==null&&_n.$$typeof===F&&Fs(_n)===Ve.type){O(Ke,Ve.sibling),yt=L(Ve,it.props),Ns(yt,it),yt.return=Ke,Ke=yt;break e}O(Ke,Ve);break}else p(Ke,Ve);Ve=Ve.sibling}it.type===v?(yt=kl(it.props.children,Ke.mode,yt,it.key),yt.return=Ke,Ke=yt):(yt=vh(it.type,it.key,it.props,null,Ke.mode,yt),Ns(yt,it),yt.return=Ke,Ke=yt)}return ce(Ke);case y:e:{for(_n=it.key;Ve!==null;){if(Ve.key===_n)if(Ve.tag===4&&Ve.stateNode.containerInfo===it.containerInfo&&Ve.stateNode.implementation===it.implementation){O(Ke,Ve.sibling),yt=L(Ve,it.children||[]),yt.return=Ke,Ke=yt;break e}else{O(Ke,Ve);break}else p(Ke,Ve);Ve=Ve.sibling}yt=hu(it,Ke.mode,yt),yt.return=Ke,Ke=yt}return ce(Ke);case F:return it=Fs(it),Ii(Ke,Ve,it,yt)}if(W(it))return cn(Ke,Ve,it,yt);if(j(it)){if(_n=j(it),typeof _n!="function")throw Error(r(150));return it=_n.call(it),Rn(Ke,Ve,it,yt)}if(typeof it.then=="function")return Ii(Ke,Ve,Mp(it),yt);if(it.$$typeof===w)return Ii(Ke,Ve,fo(Ke,it),yt);Ku(Ke,it)}return typeof it=="string"&&it!==""||typeof it=="number"||typeof it=="bigint"?(it=""+it,Ve!==null&&Ve.tag===6?(O(Ke,Ve.sibling),yt=L(Ve,it),yt.return=Ke,Ke=yt):(O(Ke,Ve),yt=Sf(it,Ke.mode,yt),yt.return=Ke,Ke=yt),ce(Ke)):O(Ke,Ve)}return function(Ke,Ve,it,yt){try{Gu=0;var _n=Ii(Ke,Ve,it,yt);return gd=null,_n}catch(pn){if(pn===md||pn===Ho)throw pn;var ii=ta(29,pn,null,Ke.mode);return ii.lanes=yt,ii.return=Ke,ii}finally{}}}var vd=Fp(!0),yy=Fp(!1),Xo=!1;function Cc(f){f.updateQueue={baseState:f.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yg(f,p){f=f.updateQueue,p.updateQueue===f&&(p.updateQueue={baseState:f.baseState,firstBaseUpdate:f.firstBaseUpdate,lastBaseUpdate:f.lastBaseUpdate,shared:f.shared,callbacks:null})}function wc(f){return{lane:f,tag:0,payload:null,callback:null,next:null}}function Yo(f,p,O){var D=f.updateQueue;if(D===null)return null;if(D=D.shared,(wr&2)!==0){var L=D.pending;return L===null?p.next=p:(p.next=L.next,L.next=p),D.pending=p,p=_c(f),xc(f,null,O),p}return Hu(f,D,p,O),_c(f)}function yd(f,p,O){if(p=p.updateQueue,p!==null&&(p=p.shared,(O&4194048)!==0)){var D=p.lanes;D&=f.pendingLanes,O|=D,p.lanes=O,$t(f,O)}}function J0(f,p){var O=f.updateQueue,D=f.alternate;if(D!==null&&(D=D.updateQueue,O===D)){var L=null,H=null;if(O=O.firstBaseUpdate,O!==null){do{var ce={lane:O.lane,tag:O.tag,payload:O.payload,callback:null,next:null};H===null?L=H=ce:H=H.next=ce,O=O.next}while(O!==null);H===null?L=H=p:H=H.next=p}else L=H=p;O={baseState:D.baseState,firstBaseUpdate:L,lastBaseUpdate:H,shared:D.shared,callbacks:D.callbacks},f.updateQueue=O;return}f=O.lastBaseUpdate,f===null?O.firstBaseUpdate=p:f.next=p,O.lastBaseUpdate=p}var Ga=!1;function Sh(){if(Ga){var f=Ms;if(f!==null)throw f}}function bd(f,p,O,D){Ga=!1;var L=f.updateQueue;Xo=!1;var H=L.firstBaseUpdate,ce=L.lastBaseUpdate,Ee=L.shared.pending;if(Ee!==null){L.shared.pending=null;var Le=Ee,at=Le.next;Le.next=null,ce===null?H=at:ce.next=at,ce=Le;var mt=f.alternate;mt!==null&&(mt=mt.updateQueue,Ee=mt.lastBaseUpdate,Ee!==ce&&(Ee===null?mt.firstBaseUpdate=at:Ee.next=at,mt.lastBaseUpdate=Le))}if(H!==null){var St=L.baseState;ce=0,mt=at=Le=null,Ee=H;do{var lt=Ee.lane&-536870913,ft=lt!==Ee.lane;if(ft?(vr&lt)===lt:(D&lt)===lt){lt!==0&&lt===xf&&(Ga=!0),mt!==null&&(mt=mt.next={lane:0,tag:Ee.tag,payload:Ee.payload,callback:null,next:null});e:{var cn=f,Rn=Ee;lt=p;var Ii=O;switch(Rn.tag){case 1:if(cn=Rn.payload,typeof cn=="function"){St=cn.call(Ii,St,lt);break e}St=cn;break e;case 3:cn.flags=cn.flags&-65537|128;case 0:if(cn=Rn.payload,lt=typeof cn=="function"?cn.call(Ii,St,lt):cn,lt==null)break e;St=d({},St,lt);break e;case 2:Xo=!0}}lt=Ee.callback,lt!==null&&(f.flags|=64,ft&&(f.flags|=8192),ft=L.callbacks,ft===null?L.callbacks=[lt]:ft.push(lt))}else ft={lane:lt,tag:Ee.tag,payload:Ee.payload,callback:Ee.callback,next:null},mt===null?(at=mt=ft,Le=St):mt=mt.next=ft,ce|=lt;if(Ee=Ee.next,Ee===null){if(Ee=L.shared.pending,Ee===null)break;ft=Ee,Ee=ft.next,ft.next=null,L.lastBaseUpdate=ft,L.shared.pending=null}}while(!0);mt===null&&(Le=St),L.baseState=Le,L.firstBaseUpdate=at,L.lastBaseUpdate=mt,H===null&&(L.shared.lanes=0),So|=ce,f.lanes=ce,f.memoizedState=St}}function Ka(f,p){if(typeof f!="function")throw Error(r(191,f));f.call(p)}function Wa(f,p){var O=f.callbacks;if(O!==null)for(f.callbacks=null,f=0;f<O.length;f++)Ka(O[f],p)}var Wu=K(null),$a=K(0);function bg(f,p){f=ra,B($a,f),B(Wu,p),ra=f|p.baseLanes}function Mu(){B($a,ra),B(Wu,Wu.current)}function mu(){ra=$a.current,Y(Wu),Y($a)}var Ja=K(null),Go=null;function Od(f){var p=f.alternate;B(da,da.current&1),B(Ja,f),Go===null&&(p===null||Wu.current!==null||p.memoizedState!==null)&&(Go=f)}function em(f){B(da,da.current),B(Ja,f),Go===null&&(Go=f)}function Db(f){f.tag===22?(B(da,da.current),B(Ja,f),Go===null&&(Go=f)):ho()}function ho(){B(da,da.current),B(Ja,Ja.current)}function Il(f){Y(Ja),Go===f&&(Go=null),Y(da)}var da=K(0);function Og(f){for(var p=f;p!==null;){if(p.tag===13){var O=p.memoizedState;if(O!==null&&(O=O.dehydrated,O===null||qb(O)||Hg(O)))return p}else if(p.tag===19&&(p.memoizedProps.revealOrder==="forwards"||p.memoizedProps.revealOrder==="backwards"||p.memoizedProps.revealOrder==="unstable_legacy-backwards"||p.memoizedProps.revealOrder==="together")){if((p.flags&128)!==0)return p}else if(p.child!==null){p.child.return=p,p=p.child;continue}if(p===f)break;for(;p.sibling===null;){if(p.return===null||p.return===f)return null;p=p.return}p.sibling.return=p.return,p=p.sibling}return null}var gu=0,An=null,vi=null,ha=null,tm=!1,Rc=!1,xh=!1,Sg=0,Np=0,Ko=null,r4=0;function Xi(){throw Error(r(321))}function xg(f,p){if(p===null)return!1;for(var O=0;O<p.length&&O<f.length;O++)if(!cr(f[O],p[O]))return!1;return!0}function _g(f,p,O,D,L,H){return gu=H,An=p,p.memoizedState=null,p.updateQueue=null,p.lanes=0,G.H=f===null||f.memoizedState===null?Tb:$h,xh=!1,H=O(D,L),xh=!1,Rc&&(H=nm(p,O,D,L)),by(f),H}function by(f){G.H=Dd;var p=vi!==null&&vi.next!==null;if(gu=0,ha=vi=An=null,tm=!1,Np=0,Ko=null,p)throw Error(r(300));f===null||yi||(f=f.dependencies,f!==null&&hd(f)&&(yi=!0))}function nm(f,p,O,D){An=f;var L=0;do{if(Rc&&(Ko=null),Np=0,Rc=!1,25<=L)throw Error(r(301));if(L+=1,ha=vi=null,f.updateQueue!=null){var H=f.updateQueue;H.lastEffect=null,H.events=null,H.stores=null,H.memoCache!=null&&(H.memoCache.index=0)}G.H=$d,H=p(O,D)}while(Rc);return H}function i4(){var f=G.H,p=f.useState()[0];return p=typeof p.then=="function"?Ip(p):p,f=f.useState()[0],(vi!==null?vi.memoizedState:null)!==f&&(An.flags|=1024),p}function Eg(){var f=Sg!==0;return Sg=0,f}function Dg(f,p,O){p.updateQueue=f.updateQueue,p.flags&=-2053,f.lanes&=~O}function Oy(f){if(tm){for(f=f.memoizedState;f!==null;){var p=f.queue;p!==null&&(p.pending=null),f=f.next}tm=!1}gu=0,ha=vi=An=null,Rc=!1,Np=Sg=0,Ko=null}function Ju(){var f={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ha===null?An.memoizedState=ha=f:ha=ha.next=f,ha}function Ca(){if(vi===null){var f=An.alternate;f=f!==null?f.memoizedState:null}else f=vi.next;var p=ha===null?An.memoizedState:ha.next;if(p!==null)ha=p,vi=f;else{if(f===null)throw An.alternate===null?Error(r(467)):Error(r(310));vi=f,f={memoizedState:vi.memoizedState,baseState:vi.baseState,baseQueue:vi.baseQueue,queue:vi.queue,next:null},ha===null?An.memoizedState=ha=f:ha=ha.next=f}return ha}function _h(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ip(f){var p=Np;return Np+=1,Ko===null&&(Ko=[]),f=W0(Ko,f,p),p=An,(ha===null?p.memoizedState:ha.next)===null&&(p=p.alternate,G.H=p===null||p.memoizedState===null?Tb:$h),f}function Lp(f){if(f!==null&&typeof f=="object"){if(typeof f.then=="function")return Ip(f);if(f.$$typeof===w)return pu(f)}throw Error(r(438,String(f)))}function Sy(f){var p=null,O=An.updateQueue;if(O!==null&&(p=O.memoCache),p==null){var D=An.alternate;D!==null&&(D=D.updateQueue,D!==null&&(D=D.memoCache,D!=null&&(p={data:D.data.map(function(L){return L.slice()}),index:0})))}if(p==null&&(p={data:[],index:0}),O===null&&(O=_h(),An.updateQueue=O),O.memoCache=p,O=p.data[p.index],O===void 0)for(O=p.data[p.index]=Array(f),D=0;D<f;D++)O[D]=Z;return p.index++,O}function Is(f,p){return typeof p=="function"?p(f):p}function Wn(f){var p=Ca();return xy(p,vi,f)}function xy(f,p,O){var D=f.queue;if(D===null)throw Error(r(311));D.lastRenderedReducer=O;var L=f.baseQueue,H=D.pending;if(H!==null){if(L!==null){var ce=L.next;L.next=H.next,H.next=ce}p.baseQueue=L=H,D.pending=null}if(H=f.baseState,L===null)f.memoizedState=H;else{p=L.next;var Ee=ce=null,Le=null,at=p,mt=!1;do{var St=at.lane&-536870913;if(St!==at.lane?(vr&St)===St:(gu&St)===St){var lt=at.revertLane;if(lt===0)Le!==null&&(Le=Le.next={lane:0,revertLane:0,gesture:null,action:at.action,hasEagerState:at.hasEagerState,eagerState:at.eagerState,next:null}),St===xf&&(mt=!0);else if((gu&lt)===lt){at=at.next,lt===xf&&(mt=!0);continue}else St={lane:0,revertLane:at.revertLane,gesture:null,action:at.action,hasEagerState:at.hasEagerState,eagerState:at.eagerState,next:null},Le===null?(Ee=Le=St,ce=H):Le=Le.next=St,An.lanes|=lt,So|=lt;St=at.action,xh&&O(H,St),H=at.hasEagerState?at.eagerState:O(H,St)}else lt={lane:St,revertLane:at.revertLane,gesture:at.gesture,action:at.action,hasEagerState:at.hasEagerState,eagerState:at.eagerState,next:null},Le===null?(Ee=Le=lt,ce=H):Le=Le.next=lt,An.lanes|=St,So|=St;at=at.next}while(at!==null&&at!==p);if(Le===null?ce=H:Le.next=Ee,!cr(H,f.memoizedState)&&(yi=!0,mt&&(O=Ms,O!==null)))throw O;f.memoizedState=H,f.baseState=ce,f.baseQueue=Le,D.lastRenderedState=H}return L===null&&(D.lanes=0),[f.memoizedState,D.dispatch]}function $g(f){var p=Ca(),O=p.queue;if(O===null)throw Error(r(311));O.lastRenderedReducer=f;var D=O.dispatch,L=O.pending,H=p.memoizedState;if(L!==null){O.pending=null;var ce=L=L.next;do H=f(H,ce.action),ce=ce.next;while(ce!==L);cr(H,p.memoizedState)||(yi=!0),p.memoizedState=H,p.baseQueue===null&&(p.baseState=H),O.lastRenderedState=H}return[H,D]}function Eh(f,p,O){var D=An,L=Ca(),H=je;if(H){if(O===void 0)throw Error(r(407));O=O()}else O=p();var ce=!cr((vi||L).memoizedState,O);if(ce&&(L.memoizedState=O,yi=!0),L=L.queue,am(Dy.bind(null,D,L,f),[f]),L.getSnapshot!==p||ce||ha!==null&&ha.memoizedState.tag&1){if(D.flags|=2048,po(9,{destroy:void 0},Ey.bind(null,D,L,O,p),null),ri===null)throw Error(r(349));H||(gu&127)!==0||_y(D,p,O)}return O}function _y(f,p,O){f.flags|=16384,f={getSnapshot:p,value:O},p=An.updateQueue,p===null?(p=_h(),An.updateQueue=p,p.stores=[f]):(O=p.stores,O===null?p.stores=[f]:O.push(f))}function Ey(f,p,O,D){p.value=O,p.getSnapshot=D,Ll(p)&&Cg(f)}function Dy(f,p,O){return O(function(){Ll(p)&&Cg(f)})}function Ll(f){var p=f.getSnapshot;f=f.value;try{var O=p();return!cr(f,O)}catch{return!0}}function Cg(f){var p=Xu(f,2);p!==null&&b(p,f,2)}function Sd(f){var p=Ju();if(typeof f=="function"){var O=f;if(f=O(),xh){nn(!0);try{O()}finally{nn(!1)}}}return p.memoizedState=p.baseState=f,p.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Is,lastRenderedState:f},p}function wg(f,p,O,D){return f.baseState=O,xy(f,vi,typeof D=="function"?D:Is)}function $b(f,p,O,D,L){if(Tc(f))throw Error(r(485));if(f=p.action,f!==null){var H={payload:L,action:f,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(ce){H.listeners.push(ce)}};G.T!==null?O(!0):H.isTransition=!1,D(H),O=p.pending,O===null?(H.next=p.pending=H,$y(p,H)):(H.next=O.next,p.pending=O.next=H)}}function $y(f,p){var O=p.action,D=p.payload,L=f.state;if(p.isTransition){var H=G.T,ce={};G.T=ce;try{var Ee=O(L,D),Le=G.S;Le!==null&&Le(ce,Ee),Bl(f,p,Ee)}catch(at){Bp(f,p,at)}finally{H!==null&&ce.types!==null&&(H.types=ce.types),G.T=H}}else try{H=O(L,D),Bl(f,p,H)}catch(at){Bp(f,p,at)}}function Bl(f,p,O){O!==null&&typeof O=="object"&&typeof O.then=="function"?O.then(function(D){Ac(f,p,D)},function(D){return Bp(f,p,D)}):Ac(f,p,O)}function Ac(f,p,O){p.status="fulfilled",p.value=O,Cy(p),f.state=O,p=f.pending,p!==null&&(O=p.next,O===p?f.pending=null:(O=O.next,p.next=O,$y(f,O)))}function Bp(f,p,O){var D=f.pending;if(f.pending=null,D!==null){D=D.next;do p.status="rejected",p.reason=O,Cy(p),p=p.next;while(p!==D)}f.action=null}function Cy(f){f=f.listeners;for(var p=0;p<f.length;p++)(0,f[p])()}function rm(f,p){return p}function wy(f,p){if(je){var O=ri.formState;if(O!==null){e:{var D=An;if(je){if(Be){t:{for(var L=Be,H=Gt;L.nodeType!==8;){if(!H){L=null;break t}if(L=Qc(L.nextSibling),L===null){L=null;break t}}H=L.data,L=H==="F!"||H==="F"?L:null}if(L){Be=Qc(L.nextSibling),D=L.data==="F!";break e}}sn(D)}D=!1}D&&(p=O[0])}}return O=Ju(),O.memoizedState=O.baseState=p,D={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rm,lastRenderedState:p},O.queue=D,O=Ny.bind(null,An,D),D.dispatch=O,D=Sd(!1),H=Ed.bind(null,An,!1,D.queue),D=Ju(),L={state:p,dispatch:null,action:f,pending:null},D.queue=L,O=$b.bind(null,An,L,H,O),L.dispatch=O,D.memoizedState=f,[p,O,!1]}function Rg(f){var p=Ca();return Ry(p,vi,f)}function Ry(f,p,O){if(p=xy(f,p,rm)[0],f=Wn(Is)[0],typeof p=="object"&&p!==null&&typeof p.then=="function")try{var D=Ip(p)}catch(ce){throw ce===md?Ho:ce}else D=p;p=Ca();var L=p.queue,H=L.dispatch;return O!==p.memoizedState&&(An.flags|=2048,po(9,{destroy:void 0},Ay.bind(null,L,O),null)),[D,H,f]}function Ay(f,p){f.action=p}function Ag(f){var p=Ca(),O=vi;if(O!==null)return Ry(p,O,f);Ca(),p=p.memoizedState,O=Ca();var D=O.queue.dispatch;return O.memoizedState=f,[p,D,!1]}function po(f,p,O,D){return f={tag:f,create:O,deps:D,inst:p,next:null},p=An.updateQueue,p===null&&(p=_h(),An.updateQueue=p),O=p.lastEffect,O===null?p.lastEffect=f.next=f:(D=O.next,O.next=f,f.next=D,p.lastEffect=f),f}function Cb(){return Ca().memoizedState}function Ls(f,p,O,D){var L=Ju();An.flags|=f,L.memoizedState=po(1|p,{destroy:void 0},O,D===void 0?null:D)}function im(f,p,O,D){var L=Ca();D=D===void 0?null:D;var H=L.memoizedState.inst;vi!==null&&D!==null&&xg(D,vi.memoizedState.deps)?L.memoizedState=po(p,H,O,D):(An.flags|=f,L.memoizedState=po(1|p,H,O,D))}function Ty(f,p){Ls(8390656,8,f,p)}function am(f,p){im(2048,8,f,p)}function wb(f){An.flags|=4;var p=An.updateQueue;if(p===null)p=_h(),An.updateQueue=p,p.events=[f];else{var O=p.events;O===null?p.events=[f]:O.push(f)}}function Rb(f){var p=Ca().memoizedState;return wb({ref:p,nextImpl:f}),function(){if((wr&2)!==0)throw Error(r(440));return p.impl.apply(void 0,arguments)}}function Ab(f,p){return im(4,2,f,p)}function Ql(f,p){return im(4,4,f,p)}function Tg(f,p){if(typeof p=="function"){f=f();var O=p(f);return function(){typeof O=="function"?O():p(null)}}if(p!=null)return f=f(),p.current=f,function(){p.current=null}}function kg(f,p,O){O=O!=null?O.concat([f]):null,im(4,4,Tg.bind(null,p,f),O)}function um(){}function Pg(f,p){var O=Ca();p=p===void 0?null:p;var D=O.memoizedState;return p!==null&&xg(p,D[1])?D[0]:(O.memoizedState=[f,p],f)}function el(f,p){var O=Ca();p=p===void 0?null:p;var D=O.memoizedState;if(p!==null&&xg(p,D[1]))return D[0];if(D=f(),xh){nn(!0);try{f()}finally{nn(!1)}}return O.memoizedState=[D,p],D}function Wo(f,p,O){return O===void 0||(gu&1073741824)!==0&&(vr&261930)===0?f.memoizedState=p:(f.memoizedState=O,f=g(),An.lanes|=f,So|=f,O)}function ky(f,p,O,D){return cr(O,p)?O:Wu.current!==null?(f=Wo(f,O,D),cr(f,p)||(yi=!0),f):(gu&42)===0||(gu&1073741824)!==0&&(vr&261930)===0?(yi=!0,f.memoizedState=O):(f=g(),An.lanes|=f,So|=f,p)}function Py(f,p,O,D,L){var H=J.p;J.p=H!==0&&8>H?H:8;var ce=G.T,Ee={};G.T=Ee,Ed(f,!1,p,O);try{var Le=L(),at=G.S;if(at!==null&&at(Ee,Le),Le!==null&&typeof Le=="object"&&typeof Le.then=="function"){var mt=vy(Le,D);Dh(f,p,mt,Ol(f))}else Dh(f,p,D,Ol(f))}catch(St){Dh(f,p,{then:function(){},status:"rejected",reason:St},Ol())}finally{J.p=H,ce!==null&&Ee.types!==null&&(ce.types=Ee.types),G.T=ce}}function Mg(){}function xd(f,p,O,D){if(f.tag!==5)throw Error(r(476));var L=My(f).queue;Py(f,L,p,te,O===null?Mg:function(){return Fg(f),O(D)})}function My(f){var p=f.memoizedState;if(p!==null)return p;p={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Is,lastRenderedState:te},next:null};var O={};return p.next={memoizedState:O,baseState:O,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Is,lastRenderedState:O},next:null},f.memoizedState=p,f=f.alternate,f!==null&&(f.memoizedState=p),p}function Fg(f){var p=My(f);p.next===null&&(p=f.alternate.memoizedState),Dh(f,p.next.queue,{},Ol())}function Fy(){return pu(Jg)}function vu(){return Ca().memoizedState}function _d(){return Ca().memoizedState}function lm(f){for(var p=f.return;p!==null;){switch(p.tag){case 24:case 3:var O=Ol();f=wc(O);var D=Yo(p,f,O);D!==null&&(b(D,p,O),yd(D,p,O)),p={cache:Ps()},f.payload=p;return}p=p.return}}function a4(f,p,O){var D=Ol();O={lane:D,revertLane:0,gesture:null,action:O,hasEagerState:!1,eagerState:null,next:null},Tc(f)?kc(p,O):(O=Sc(f,p,O,D),O!==null&&(b(O,f,D),tl(O,p,D)))}function Ny(f,p,O){var D=Ol();Dh(f,p,O,D)}function Dh(f,p,O,D){var L={lane:D,revertLane:0,gesture:null,action:O,hasEagerState:!1,eagerState:null,next:null};if(Tc(f))kc(p,L);else{var H=f.alternate;if(f.lanes===0&&(H===null||H.lanes===0)&&(H=p.lastRenderedReducer,H!==null))try{var ce=p.lastRenderedState,Ee=H(ce,O);if(L.hasEagerState=!0,L.eagerState=Ee,cr(Ee,ce))return Hu(f,p,L,0),ri===null&&Xa(),!1}catch{}finally{}if(O=Sc(f,p,L,D),O!==null)return b(O,f,D),tl(O,p,D),!0}return!1}function Ed(f,p,O,D){if(D={lane:2,revertLane:Zs(),gesture:null,action:D,hasEagerState:!1,eagerState:null,next:null},Tc(f)){if(p)throw Error(r(479))}else p=Sc(f,O,D,2),p!==null&&b(p,f,2)}function Tc(f){var p=f.alternate;return f===An||p!==null&&p===An}function kc(f,p){Rc=tm=!0;var O=f.pending;O===null?p.next=p:(p.next=O.next,O.next=p),f.pending=p}function tl(f,p,O){if((O&4194048)!==0){var D=p.lanes;D&=f.pendingLanes,O|=D,p.lanes=O,$t(f,O)}}var Dd={readContext:pu,use:Lp,useCallback:Xi,useContext:Xi,useEffect:Xi,useImperativeHandle:Xi,useLayoutEffect:Xi,useInsertionEffect:Xi,useMemo:Xi,useReducer:Xi,useRef:Xi,useState:Xi,useDebugValue:Xi,useDeferredValue:Xi,useTransition:Xi,useSyncExternalStore:Xi,useId:Xi,useHostTransitionStatus:Xi,useFormState:Xi,useActionState:Xi,useOptimistic:Xi,useMemoCache:Xi,useCacheRefresh:Xi};Dd.useEffectEvent=Xi;var Tb={readContext:pu,use:Lp,useCallback:function(f,p){return Ju().memoizedState=[f,p===void 0?null:p],f},useContext:pu,useEffect:Ty,useImperativeHandle:function(f,p,O){O=O!=null?O.concat([f]):null,Ls(4194308,4,Tg.bind(null,p,f),O)},useLayoutEffect:function(f,p){return Ls(4194308,4,f,p)},useInsertionEffect:function(f,p){Ls(4,2,f,p)},useMemo:function(f,p){var O=Ju();p=p===void 0?null:p;var D=f();if(xh){nn(!0);try{f()}finally{nn(!1)}}return O.memoizedState=[D,p],D},useReducer:function(f,p,O){var D=Ju();if(O!==void 0){var L=O(p);if(xh){nn(!0);try{O(p)}finally{nn(!1)}}}else L=p;return D.memoizedState=D.baseState=L,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:f,lastRenderedState:L},D.queue=f,f=f.dispatch=a4.bind(null,An,f),[D.memoizedState,f]},useRef:function(f){var p=Ju();return f={current:f},p.memoizedState=f},useState:function(f){f=Sd(f);var p=f.queue,O=Ny.bind(null,An,p);return p.dispatch=O,[f.memoizedState,O]},useDebugValue:um,useDeferredValue:function(f,p){var O=Ju();return Wo(O,f,p)},useTransition:function(){var f=Sd(!1);return f=Py.bind(null,An,f.queue,!0,!1),Ju().memoizedState=f,[!1,f]},useSyncExternalStore:function(f,p,O){var D=An,L=Ju();if(je){if(O===void 0)throw Error(r(407));O=O()}else{if(O=p(),ri===null)throw Error(r(349));(vr&127)!==0||_y(D,p,O)}L.memoizedState=O;var H={value:O,getSnapshot:p};return L.queue=H,Ty(Dy.bind(null,D,H,f),[f]),D.flags|=2048,po(9,{destroy:void 0},Ey.bind(null,D,H,O,p),null),O},useId:function(){var f=Ju(),p=ri.identifierPrefix;if(je){var O=ue,D=Uo;O=(D&~(1<<32-Fe(D)-1)).toString(32)+O,p="_"+p+"R_"+O,O=Sg++,0<O&&(p+="H"+O.toString(32)),p+="_"}else O=r4++,p="_"+p+"r_"+O.toString(32)+"_";return f.memoizedState=p},useHostTransitionStatus:Fy,useFormState:wy,useActionState:wy,useOptimistic:function(f){var p=Ju();p.memoizedState=p.baseState=f;var O={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return p.queue=O,p=Ed.bind(null,An,!0,O),O.dispatch=p,[f,p]},useMemoCache:Sy,useCacheRefresh:function(){return Ju().memoizedState=lm.bind(null,An)},useEffectEvent:function(f){var p=Ju(),O={impl:f};return p.memoizedState=O,function(){if((wr&2)!==0)throw Error(r(440));return O.impl.apply(void 0,arguments)}}},$h={readContext:pu,use:Lp,useCallback:Pg,useContext:pu,useEffect:am,useImperativeHandle:kg,useInsertionEffect:Ab,useLayoutEffect:Ql,useMemo:el,useReducer:Wn,useRef:Cb,useState:function(){return Wn(Is)},useDebugValue:um,useDeferredValue:function(f,p){var O=Ca();return ky(O,vi.memoizedState,f,p)},useTransition:function(){var f=Wn(Is)[0],p=Ca().memoizedState;return[typeof f=="boolean"?f:Ip(f),p]},useSyncExternalStore:Eh,useId:vu,useHostTransitionStatus:Fy,useFormState:Rg,useActionState:Rg,useOptimistic:function(f,p){var O=Ca();return wg(O,vi,f,p)},useMemoCache:Sy,useCacheRefresh:_d};$h.useEffectEvent=Rb;var $d={readContext:pu,use:Lp,useCallback:Pg,useContext:pu,useEffect:am,useImperativeHandle:kg,useInsertionEffect:Ab,useLayoutEffect:Ql,useMemo:el,useReducer:$g,useRef:Cb,useState:function(){return $g(Is)},useDebugValue:um,useDeferredValue:function(f,p){var O=Ca();return vi===null?Wo(O,f,p):ky(O,vi.memoizedState,f,p)},useTransition:function(){var f=$g(Is)[0],p=Ca().memoizedState;return[typeof f=="boolean"?f:Ip(f),p]},useSyncExternalStore:Eh,useId:vu,useHostTransitionStatus:Fy,useFormState:Ag,useActionState:Ag,useOptimistic:function(f,p){var O=Ca();return vi!==null?wg(O,vi,f,p):(O.baseState=f,[f,O.queue.dispatch])},useMemoCache:Sy,useCacheRefresh:_d};$d.useEffectEvent=Rb;function Ch(f,p,O,D){p=f.memoizedState,O=O(D,p),O=O==null?p:d({},p,O),f.memoizedState=O,f.lanes===0&&(f.updateQueue.baseState=O)}var wh={enqueueSetState:function(f,p,O){f=f._reactInternals;var D=Ol(),L=wc(D);L.payload=p,O!=null&&(L.callback=O),p=Yo(f,L,D),p!==null&&(b(p,f,D),yd(p,f,D))},enqueueReplaceState:function(f,p,O){f=f._reactInternals;var D=Ol(),L=wc(D);L.tag=1,L.payload=p,O!=null&&(L.callback=O),p=Yo(f,L,D),p!==null&&(b(p,f,D),yd(p,f,D))},enqueueForceUpdate:function(f,p){f=f._reactInternals;var O=Ol(),D=wc(O);D.tag=2,p!=null&&(D.callback=p),p=Yo(f,D,O),p!==null&&(b(p,f,O),yd(p,f,O))}};function kb(f,p,O,D,L,H,ce){return f=f.stateNode,typeof f.shouldComponentUpdate=="function"?f.shouldComponentUpdate(D,H,ce):p.prototype&&p.prototype.isPureReactComponent?!yf(O,D)||!yf(L,H):!0}function Iy(f,p,O,D){f=p.state,typeof p.componentWillReceiveProps=="function"&&p.componentWillReceiveProps(O,D),typeof p.UNSAFE_componentWillReceiveProps=="function"&&p.UNSAFE_componentWillReceiveProps(O,D),p.state!==f&&wh.enqueueReplaceState(p,p.state,null)}function zi(f,p){var O=p;if("ref"in p){O={};for(var D in p)D!=="ref"&&(O[D]=p[D])}if(f=f.defaultProps){O===p&&(O=d({},O));for(var L in f)O[L]===void 0&&(O[L]=f[L])}return O}function Ng(f){Vo(f)}function Ly(f){console.error(f)}function Ig(f){Vo(f)}function om(f,p){try{var O=f.onUncaughtError;O(p.value,{componentStack:p.stack})}catch(D){setTimeout(function(){throw D})}}function Pb(f,p,O){try{var D=f.onCaughtError;D(O.value,{componentStack:O.stack,errorBoundary:p.tag===1?p.stateNode:null})}catch(L){setTimeout(function(){throw L})}}function By(f,p,O){return O=wc(O),O.tag=3,O.payload={element:null},O.callback=function(){om(f,p)},O}function zl(f){return f=wc(f),f.tag=3,f}function nl(f,p,O,D){var L=O.type.getDerivedStateFromError;if(typeof L=="function"){var H=D.value;f.payload=function(){return L(H)},f.callback=function(){Pb(p,O,D)}}var ce=O.stateNode;ce!==null&&typeof ce.componentDidCatch=="function"&&(f.callback=function(){Pb(p,O,D),typeof L!="function"&&(Lc===null?Lc=new Set([this]):Lc.add(this));var Ee=D.stack;this.componentDidCatch(D.value,{componentStack:Ee!==null?Ee:""})})}function vl(f,p,O,D,L){if(O.flags|=32768,D!==null&&typeof D=="object"&&typeof D.then=="function"){if(p=O.alternate,p!==null&&Nl(p,O,L,!0),O=Ja.current,O!==null){switch(O.tag){case 31:case 13:return Go===null?Zn():O.alternate===null&&Gr===0&&(Gr=3),O.flags&=-257,O.flags|=65536,O.lanes=L,D===K0?O.flags|=16384:(p=O.updateQueue,p===null?O.updateQueue=new Set([D]):p.add(D),o4(f,D,L)),!1;case 22:return O.flags|=65536,D===K0?O.flags|=16384:(p=O.updateQueue,p===null?(p={transitions:null,markerInstances:null,retryQueue:new Set([D])},O.updateQueue=p):(O=p.retryQueue,O===null?p.retryQueue=new Set([D]):O.add(D)),o4(f,D,L)),!1}throw Error(r(435,O.tag))}return o4(f,D,L),Zn(),!1}if(je)return p=Ja.current,p!==null?((p.flags&65536)===0&&(p.flags|=256),p.flags|=65536,p.lanes=L,D!==Bn&&(f=Error(r(422),{cause:D}),Ml(wu(f,O)))):(D!==Bn&&(p=Error(r(423),{cause:D}),Ml(wu(p,O))),f=f.current.alternate,f.flags|=65536,L&=-L,f.lanes|=L,D=wu(D,O),L=By(f.stateNode,D,L),J0(f,L),Gr!==4&&(Gr=2)),!1;var H=Error(r(520),{cause:D});if(H=wu(H,O),Us===null?Us=[H]:Us.push(H),Gr!==4&&(Gr=2),p===null)return!0;D=wu(D,O),O=p;do{switch(O.tag){case 3:return O.flags|=65536,f=L&-L,O.lanes|=f,f=By(O.stateNode,D,f),J0(O,f),!1;case 1:if(p=O.type,H=O.stateNode,(O.flags&128)===0&&(typeof p.getDerivedStateFromError=="function"||H!==null&&typeof H.componentDidCatch=="function"&&(Lc===null||!Lc.has(H))))return O.flags|=65536,L&=-L,O.lanes|=L,L=zl(L),nl(L,f,O,D),J0(O,L),!1}O=O.return}while(O!==null);return!1}var Qp=Error(r(461)),yi=!1;function Di(f,p,O,D){p.child=f===null?yy(p,null,O,D):vd(p,f.child,O,D)}function Sn(f,p,O,D,L){O=O.render;var H=p.ref;if("ref"in D){var ce={};for(var Ee in D)Ee!=="ref"&&(ce[Ee]=D[Ee])}else ce=D;return bh(p),D=_g(f,p,O,ce,H,L),Ee=Eg(),f!==null&&!yi?(Dg(f,p,L),ts(f,p,L)):(je&&Ee&&fe(p),p.flags|=1,Di(f,p,D,L),p.child)}function Cd(f,p,O,D,L){if(f===null){var H=O.type;return typeof H=="function"&&!Hi(H)&&H.defaultProps===void 0&&O.compare===null?(p.tag=15,p.type=H,yl(f,p,H,D,L)):(f=vh(O.type,null,D,p,p.mode,L),f.ref=p.ref,f.return=p,p.child=f)}if(H=f.child,!Ef(f,L)){var ce=H.memoizedProps;if(O=O.compare,O=O!==null?O:yf,O(ce,D)&&f.ref===p.ref)return ts(f,p,L)}return p.flags|=1,f=Yu(H,D),f.ref=p.ref,f.return=p,p.child=f}function yl(f,p,O,D,L){if(f!==null){var H=f.memoizedProps;if(yf(H,D)&&f.ref===p.ref)if(yi=!1,p.pendingProps=D=H,Ef(f,L))(f.flags&131072)!==0&&(yi=!0);else return p.lanes=f.lanes,ts(f,p,L)}return Rh(f,p,O,D,L)}function eu(f,p,O,D){var L=D.children,H=f!==null?f.memoizedState:null;if(f===null&&p.stateNode===null&&(p.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),D.mode==="hidden"){if((p.flags&128)!==0){if(H=H!==null?H.baseLanes|O:O,f!==null){for(D=p.child=f.child,L=0;D!==null;)L=L|D.lanes|D.childLanes,D=D.sibling;D=L&~H}else D=0,p.child=null;return Jo(f,p,H,O,D)}if((O&536870912)!==0)p.memoizedState={baseLanes:0,cachePool:null},f!==null&&kp(p,H!==null?H.cachePool:null),H!==null?bg(p,H):Mu(),Db(p);else return D=p.lanes=536870912,Jo(f,p,H!==null?H.baseLanes|O:O,O,D)}else H!==null?(kp(p,H.cachePool),bg(p,H),ho(),p.memoizedState=null):(f!==null&&kp(p,null),Mu(),ho());return Di(f,p,L,O),p.child}function Bs(f,p){return f!==null&&f.tag===22||p.stateNode!==null||(p.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),p.sibling}function Jo(f,p,O,D,L){var H=$c();return H=H===null?null:{parent:vn._currentValue,pool:H},p.memoizedState={baseLanes:O,cachePool:H},f!==null&&kp(p,null),Mu(),Db(p),f!==null&&Nl(f,p,D,!0),p.childLanes=L,null}function mo(f,p){return p=zp({mode:p.mode,children:p.children},f.mode),p.ref=f.ref,f.child=p,p.return=f,p}function Fr(f,p,O){return vd(p,f.child,null,O),f=mo(p,p.pendingProps),f.flags|=2,Il(p),p.memoizedState=null,f}function sm(f,p,O){var D=p.pendingProps,L=(p.flags&128)!==0;if(p.flags&=-129,f===null){if(je){if(D.mode==="hidden")return f=mo(p,D),p.lanes=536870912,Bs(null,f);if(em(p),(f=Be)?(f=Fx(f,Gt),f=f!==null&&f.data==="&"?f:null,f!==null&&(p.memoizedState={dehydrated:f,treeContext:Au!==null?{id:Uo,overflow:ue}:null,retryLane:536870912,hydrationErrors:null},O=yh(f),O.return=p,p.child=O,Qe=p,Be=null)):f=null,f===null)throw sn(p);return p.lanes=536870912,null}return mo(p,D)}var H=f.memoizedState;if(H!==null){var ce=H.dehydrated;if(em(p),L)if(p.flags&256)p.flags&=-257,p=Fr(f,p,O);else if(p.memoizedState!==null)p.child=f.child,p.flags|=128,p=null;else throw Error(r(558));else if(yi||Nl(f,p,O,!1),L=(O&f.childLanes)!==0,yi||L){if(D=ri,D!==null&&(ce=Ut(D,O),ce!==0&&ce!==H.retryLane))throw H.retryLane=ce,Xu(f,ce),b(D,f,ce),Qp;Zn(),p=Fr(f,p,O)}else f=H.treeContext,Be=Qc(ce.nextSibling),Qe=p,je=!0,Ct=null,Gt=!1,f!==null&&Te(p,f),p=mo(p,D),p.flags|=4096;return p}return f=Yu(f.child,{mode:D.mode,children:D.children}),f.ref=p.ref,p.child=f,f.return=p,f}function Qs(f,p){var O=p.ref;if(O===null)f!==null&&f.ref!==null&&(p.flags|=4194816);else{if(typeof O!="function"&&typeof O!="object")throw Error(r(284));(f===null||f.ref!==O)&&(p.flags|=4194816)}}function Rh(f,p,O,D,L){return bh(p),O=_g(f,p,O,D,void 0,L),D=Eg(),f!==null&&!yi?(Dg(f,p,L),ts(f,p,L)):(je&&D&&fe(p),p.flags|=1,Di(f,p,O,L),p.child)}function rl(f,p,O,D,L,H){return bh(p),p.updateQueue=null,O=nm(p,D,O,L),by(f),D=Eg(),f!==null&&!yi?(Dg(f,p,H),ts(f,p,H)):(je&&D&&fe(p),p.flags|=1,Di(f,p,O,H),p.child)}function yu(f,p,O,D,L){if(bh(p),p.stateNode===null){var H=fu,ce=O.contextType;typeof ce=="object"&&ce!==null&&(H=pu(ce)),H=new O(D,H),p.memoizedState=H.state!==null&&H.state!==void 0?H.state:null,H.updater=wh,p.stateNode=H,H._reactInternals=p,H=p.stateNode,H.props=D,H.state=p.memoizedState,H.refs={},Cc(p),ce=O.contextType,H.context=typeof ce=="object"&&ce!==null?pu(ce):fu,H.state=p.memoizedState,ce=O.getDerivedStateFromProps,typeof ce=="function"&&(Ch(p,O,ce,D),H.state=p.memoizedState),typeof O.getDerivedStateFromProps=="function"||typeof H.getSnapshotBeforeUpdate=="function"||typeof H.UNSAFE_componentWillMount!="function"&&typeof H.componentWillMount!="function"||(ce=H.state,typeof H.componentWillMount=="function"&&H.componentWillMount(),typeof H.UNSAFE_componentWillMount=="function"&&H.UNSAFE_componentWillMount(),ce!==H.state&&wh.enqueueReplaceState(H,H.state,null),bd(p,D,H,L),Sh(),H.state=p.memoizedState),typeof H.componentDidMount=="function"&&(p.flags|=4194308),D=!0}else if(f===null){H=p.stateNode;var Ee=p.memoizedProps,Le=zi(O,Ee);H.props=Le;var at=H.context,mt=O.contextType;ce=fu,typeof mt=="object"&&mt!==null&&(ce=pu(mt));var St=O.getDerivedStateFromProps;mt=typeof St=="function"||typeof H.getSnapshotBeforeUpdate=="function",Ee=p.pendingProps!==Ee,mt||typeof H.UNSAFE_componentWillReceiveProps!="function"&&typeof H.componentWillReceiveProps!="function"||(Ee||at!==ce)&&Iy(p,H,D,ce),Xo=!1;var lt=p.memoizedState;H.state=lt,bd(p,D,H,L),Sh(),at=p.memoizedState,Ee||lt!==at||Xo?(typeof St=="function"&&(Ch(p,O,St,D),at=p.memoizedState),(Le=Xo||kb(p,O,Le,D,lt,at,ce))?(mt||typeof H.UNSAFE_componentWillMount!="function"&&typeof H.componentWillMount!="function"||(typeof H.componentWillMount=="function"&&H.componentWillMount(),typeof H.UNSAFE_componentWillMount=="function"&&H.UNSAFE_componentWillMount()),typeof H.componentDidMount=="function"&&(p.flags|=4194308)):(typeof H.componentDidMount=="function"&&(p.flags|=4194308),p.memoizedProps=D,p.memoizedState=at),H.props=D,H.state=at,H.context=ce,D=Le):(typeof H.componentDidMount=="function"&&(p.flags|=4194308),D=!1)}else{H=p.stateNode,yg(f,p),ce=p.memoizedProps,mt=zi(O,ce),H.props=mt,St=p.pendingProps,lt=H.context,at=O.contextType,Le=fu,typeof at=="object"&&at!==null&&(Le=pu(at)),Ee=O.getDerivedStateFromProps,(at=typeof Ee=="function"||typeof H.getSnapshotBeforeUpdate=="function")||typeof H.UNSAFE_componentWillReceiveProps!="function"&&typeof H.componentWillReceiveProps!="function"||(ce!==St||lt!==Le)&&Iy(p,H,D,Le),Xo=!1,lt=p.memoizedState,H.state=lt,bd(p,D,H,L),Sh();var ft=p.memoizedState;ce!==St||lt!==ft||Xo||f!==null&&f.dependencies!==null&&hd(f.dependencies)?(typeof Ee=="function"&&(Ch(p,O,Ee,D),ft=p.memoizedState),(mt=Xo||kb(p,O,mt,D,lt,ft,Le)||f!==null&&f.dependencies!==null&&hd(f.dependencies))?(at||typeof H.UNSAFE_componentWillUpdate!="function"&&typeof H.componentWillUpdate!="function"||(typeof H.componentWillUpdate=="function"&&H.componentWillUpdate(D,ft,Le),typeof H.UNSAFE_componentWillUpdate=="function"&&H.UNSAFE_componentWillUpdate(D,ft,Le)),typeof H.componentDidUpdate=="function"&&(p.flags|=4),typeof H.getSnapshotBeforeUpdate=="function"&&(p.flags|=1024)):(typeof H.componentDidUpdate!="function"||ce===f.memoizedProps&&lt===f.memoizedState||(p.flags|=4),typeof H.getSnapshotBeforeUpdate!="function"||ce===f.memoizedProps&&lt===f.memoizedState||(p.flags|=1024),p.memoizedProps=D,p.memoizedState=ft),H.props=D,H.state=ft,H.context=Le,D=mt):(typeof H.componentDidUpdate!="function"||ce===f.memoizedProps&&lt===f.memoizedState||(p.flags|=4),typeof H.getSnapshotBeforeUpdate!="function"||ce===f.memoizedProps&&lt===f.memoizedState||(p.flags|=1024),D=!1)}return H=D,Qs(f,p),D=(p.flags&128)!==0,H||D?(H=p.stateNode,O=D&&typeof O.getDerivedStateFromError!="function"?null:H.render(),p.flags|=1,f!==null&&D?(p.child=vd(p,f.child,null,L),p.child=vd(p,null,O,L)):Di(f,p,O,L),p.memoizedState=H.state,f=p.child):f=ts(f,p,L),f}function Nr(f,p,O,D){return xe(),p.flags|=256,Di(f,p,O,D),p.child}var go={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function es(f){return{baseLanes:f,cachePool:mg()}}function vo(f,p,O){return f=f!==null?f.childLanes&~O:0,p&&(f|=Rr),f}function $i(f,p,O){var D=p.pendingProps,L=!1,H=(p.flags&128)!==0,ce;if((ce=H)||(ce=f!==null&&f.memoizedState===null?!1:(da.current&2)!==0),ce&&(L=!0,p.flags&=-129),ce=(p.flags&32)!==0,p.flags&=-33,f===null){if(je){if(L?Od(p):ho(),(f=Be)?(f=Fx(f,Gt),f=f!==null&&f.data!=="&"?f:null,f!==null&&(p.memoizedState={dehydrated:f,treeContext:Au!==null?{id:Uo,overflow:ue}:null,retryLane:536870912,hydrationErrors:null},O=yh(f),O.return=p,p.child=O,Qe=p,Be=null)):f=null,f===null)throw sn(p);return Hg(f)?p.lanes=32:p.lanes=536870912,null}var Ee=D.children;return D=D.fallback,L?(ho(),L=p.mode,Ee=zp({mode:"hidden",children:Ee},L),D=kl(D,L,O,null),Ee.return=p,D.return=p,Ee.sibling=D,p.child=Ee,D=p.child,D.memoizedState=es(O),D.childLanes=vo(f,ce,O),p.memoizedState=go,Bs(null,D)):(Od(p),Pc(p,Ee))}var Le=f.memoizedState;if(Le!==null&&(Ee=Le.dehydrated,Ee!==null)){if(H)p.flags&256?(Od(p),p.flags&=-257,p=wd(f,p,O)):p.memoizedState!==null?(ho(),p.child=f.child,p.flags|=128,p=null):(ho(),Ee=D.fallback,L=p.mode,D=zp({mode:"visible",children:D.children},L),Ee=kl(Ee,L,O,null),Ee.flags|=2,D.return=p,Ee.return=p,D.sibling=Ee,p.child=D,vd(p,f.child,null,O),D=p.child,D.memoizedState=es(O),D.childLanes=vo(f,ce,O),p.memoizedState=go,p=Bs(null,D));else if(Od(p),Hg(Ee)){if(ce=Ee.nextSibling&&Ee.nextSibling.dataset,ce)var at=ce.dgst;ce=at,D=Error(r(419)),D.stack="",D.digest=ce,Ml({value:D,source:null,stack:null}),p=wd(f,p,O)}else if(yi||Nl(f,p,O,!1),ce=(O&f.childLanes)!==0,yi||ce){if(ce=ri,ce!==null&&(D=Ut(ce,O),D!==0&&D!==Le.retryLane))throw Le.retryLane=D,Xu(f,D),b(ce,f,D),Qp;qb(Ee)||Zn(),p=wd(f,p,O)}else qb(Ee)?(p.flags|=192,p.child=f.child,p=null):(f=Le.treeContext,Be=Qc(Ee.nextSibling),Qe=p,je=!0,Ct=null,Gt=!1,f!==null&&Te(p,f),p=Pc(p,D.children),p.flags|=4096);return p}return L?(ho(),Ee=D.fallback,L=p.mode,Le=f.child,at=Le.sibling,D=Yu(Le,{mode:"hidden",children:D.children}),D.subtreeFlags=Le.subtreeFlags&65011712,at!==null?Ee=Yu(at,Ee):(Ee=kl(Ee,L,O,null),Ee.flags|=2),Ee.return=p,D.return=p,D.sibling=Ee,p.child=D,Bs(null,D),D=p.child,Ee=f.child.memoizedState,Ee===null?Ee=es(O):(L=Ee.cachePool,L!==null?(Le=vn._currentValue,L=L.parent!==Le?{parent:Le,pool:Le}:L):L=mg(),Ee={baseLanes:Ee.baseLanes|O,cachePool:L}),D.memoizedState=Ee,D.childLanes=vo(f,ce,O),p.memoizedState=go,Bs(f.child,D)):(Od(p),O=f.child,f=O.sibling,O=Yu(O,{mode:"visible",children:D.children}),O.return=p,O.sibling=null,f!==null&&(ce=p.deletions,ce===null?(p.deletions=[f],p.flags|=16):ce.push(f)),p.child=O,p.memoizedState=null,O)}function Pc(f,p){return p=zp({mode:"visible",children:p},f.mode),p.return=f,f.child=p}function zp(f,p){return f=ta(22,f,null,p),f.lanes=0,f}function wd(f,p,O){return vd(p,f.child,null,O),f=Pc(p,p.pendingProps.children),f.flags|=2,p.memoizedState=null,f}function Ah(f,p,O){f.lanes|=p;var D=f.alternate;D!==null&&(D.lanes|=p),ku(f.return,p,O)}function cm(f,p,O,D,L,H){var ce=f.memoizedState;ce===null?f.memoizedState={isBackwards:p,rendering:null,renderingStartTime:0,last:D,tail:O,tailMode:L,treeForkCount:H}:(ce.isBackwards=p,ce.rendering=null,ce.renderingStartTime=0,ce.last=D,ce.tail=O,ce.tailMode=L,ce.treeForkCount=H)}function _f(f,p,O){var D=p.pendingProps,L=D.revealOrder,H=D.tail;D=D.children;var ce=da.current,Ee=(ce&2)!==0;if(Ee?(ce=ce&1|2,p.flags|=128):ce&=1,B(da,ce),Di(f,p,D,O),D=je?_i:0,!Ee&&f!==null&&(f.flags&128)!==0)e:for(f=p.child;f!==null;){if(f.tag===13)f.memoizedState!==null&&Ah(f,O,p);else if(f.tag===19)Ah(f,O,p);else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===p)break e;for(;f.sibling===null;){if(f.return===null||f.return===p)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}switch(L){case"forwards":for(O=p.child,L=null;O!==null;)f=O.alternate,f!==null&&Og(f)===null&&(L=O),O=O.sibling;O=L,O===null?(L=p.child,p.child=null):(L=O.sibling,O.sibling=null),cm(p,!1,L,O,H,D);break;case"backwards":case"unstable_legacy-backwards":for(O=null,L=p.child,p.child=null;L!==null;){if(f=L.alternate,f!==null&&Og(f)===null){p.child=L;break}f=L.sibling,L.sibling=O,O=L,L=f}cm(p,!0,O,null,H,D);break;case"together":cm(p,!1,null,null,void 0,D);break;default:p.memoizedState=null}return p.child}function ts(f,p,O){if(f!==null&&(p.dependencies=f.dependencies),So|=p.lanes,(O&p.childLanes)===0)if(f!==null){if(Nl(f,p,O,!1),(O&p.childLanes)===0)return null}else return null;if(f!==null&&p.child!==f.child)throw Error(r(153));if(p.child!==null){for(f=p.child,O=Yu(f,f.pendingProps),p.child=O,O.return=p;f.sibling!==null;)f=f.sibling,O=O.sibling=Yu(f,f.pendingProps),O.return=p;O.sibling=null}return p.child}function Ef(f,p){return(f.lanes&p)!==0?!0:(f=f.dependencies,!!(f!==null&&hd(f)))}function fm(f,p,O){switch(p.tag){case 3:be(p,p.stateNode.containerInfo),ks(p,vn,f.memoizedState.cache),xe();break;case 27:case 5:pe(p);break;case 4:be(p,p.stateNode.containerInfo);break;case 10:ks(p,p.type,p.memoizedProps.value);break;case 31:if(p.memoizedState!==null)return p.flags|=128,em(p),null;break;case 13:var D=p.memoizedState;if(D!==null)return D.dehydrated!==null?(Od(p),p.flags|=128,null):(O&p.child.childLanes)!==0?$i(f,p,O):(Od(p),f=ts(f,p,O),f!==null?f.sibling:null);Od(p);break;case 19:var L=(f.flags&128)!==0;if(D=(O&p.childLanes)!==0,D||(Nl(f,p,O,!1),D=(O&p.childLanes)!==0),L){if(D)return _f(f,p,O);p.flags|=128}if(L=p.memoizedState,L!==null&&(L.rendering=null,L.tail=null,L.lastEffect=null),B(da,da.current),D)break;return null;case 22:return p.lanes=0,eu(f,p,O,p.pendingProps);case 24:ks(p,vn,f.memoizedState.cache)}return ts(f,p,O)}function Lg(f,p,O){if(f!==null)if(f.memoizedProps!==p.pendingProps)yi=!0;else{if(!Ef(f,O)&&(p.flags&128)===0)return yi=!1,fm(f,p,O);yi=(f.flags&131072)!==0}else yi=!1,je&&(p.flags&1048576)!==0&&re(p,_i,p.index);switch(p.lanes=0,p.tag){case 16:e:{var D=p.pendingProps;if(f=Fs(p.elementType),p.type=f,typeof f=="function")Hi(f)?(D=zi(f,D),p.tag=1,p=yu(null,p,f,D,O)):(p.tag=0,p=Rh(null,p,f,D,O));else{if(f!=null){var L=f.$$typeof;if(L===T){p.tag=11,p=Sn(null,p,f,D,O);break e}else if(L===k){p.tag=14,p=Cd(null,p,f,D,O);break e}}throw p=V(f)||f,Error(r(306,p,""))}}return p;case 0:return Rh(f,p,p.type,p.pendingProps,O);case 1:return D=p.type,L=zi(D,p.pendingProps),yu(f,p,D,L,O);case 3:e:{if(be(p,p.stateNode.containerInfo),f===null)throw Error(r(387));D=p.pendingProps;var H=p.memoizedState;L=H.element,yg(f,p),bd(p,D,null,O);var ce=p.memoizedState;if(D=ce.cache,ks(p,vn,D),D!==H.cache&&Dc(p,[vn],O,!0),Sh(),D=ce.element,H.isDehydrated)if(H={element:D,isDehydrated:!1,cache:ce.cache},p.updateQueue.baseState=H,p.memoizedState=H,p.flags&256){p=Nr(f,p,D,O);break e}else if(D!==L){L=wu(Error(r(424)),p),Ml(L),p=Nr(f,p,D,O);break e}else{switch(f=p.stateNode.containerInfo,f.nodeType){case 9:f=f.body;break;default:f=f.nodeName==="HTML"?f.ownerDocument.body:f}for(Be=Qc(f.firstChild),Qe=p,je=!0,Ct=null,Gt=!0,O=yy(p,null,D,O),p.child=O;O;)O.flags=O.flags&-3|4096,O=O.sibling}else{if(xe(),D===L){p=ts(f,p,O);break e}Di(f,p,D,O)}p=p.child}return p;case 26:return Qs(f,p),f===null?(O=zx(p.type,null,p.pendingProps,null))?p.memoizedState=O:je||(O=p.type,f=p.pendingProps,D=Xy(ae.current).createElement(O),D[Rt]=p,D[on]=f,Sl(D,O,f),ei(D),p.stateNode=D):p.memoizedState=zx(p.type,f.memoizedProps,p.pendingProps,f.memoizedState),null;case 27:return pe(p),f===null&&je&&(D=p.stateNode=Lx(p.type,p.pendingProps,ae.current),Qe=p,Gt=!0,L=Be,zn(p.type)?(O4=L,Be=Qc(D.firstChild)):Be=L),Di(f,p,p.pendingProps.children,O),Qs(f,p),f===null&&(p.flags|=4194304),p.child;case 5:return f===null&&je&&((L=D=Be)&&(D=W5(D,p.type,p.pendingProps,Gt),D!==null?(p.stateNode=D,Qe=p,Be=Qc(D.firstChild),Gt=!1,L=!0):L=!1),L||sn(p)),pe(p),L=p.type,H=p.pendingProps,ce=f!==null?f.memoizedProps:null,D=H.children,Xp(L,H)?D=null:ce!==null&&Xp(L,ce)&&(p.flags|=32),p.memoizedState!==null&&(L=_g(f,p,i4,null,null,O),Jg._currentValue=L),Qs(f,p),Di(f,p,D,O),p.child;case 6:return f===null&&je&&((f=O=Be)&&(O=Oi(O,p.pendingProps,Gt),O!==null?(p.stateNode=O,Qe=p,Be=null,f=!0):f=!1),f||sn(p)),null;case 13:return $i(f,p,O);case 4:return be(p,p.stateNode.containerInfo),D=p.pendingProps,f===null?p.child=vd(p,null,D,O):Di(f,p,D,O),p.child;case 11:return Sn(f,p,p.type,p.pendingProps,O);case 7:return Di(f,p,p.pendingProps,O),p.child;case 8:return Di(f,p,p.pendingProps.children,O),p.child;case 12:return Di(f,p,p.pendingProps.children,O),p.child;case 10:return D=p.pendingProps,ks(p,p.type,D.value),Di(f,p,D.children,O),p.child;case 9:return L=p.type._context,D=p.pendingProps.children,bh(p),L=pu(L),D=D(L),p.flags|=1,Di(f,p,D,O),p.child;case 14:return Cd(f,p,p.type,p.pendingProps,O);case 15:return yl(f,p,p.type,p.pendingProps,O);case 19:return _f(f,p,O);case 31:return sm(f,p,O);case 22:return eu(f,p,O,p.pendingProps);case 24:return bh(p),D=pu(vn),f===null?(L=$c(),L===null&&(L=ri,H=Ps(),L.pooledCache=H,H.refCount++,H!==null&&(L.pooledCacheLanes|=O),L=H),p.memoizedState={parent:D,cache:L},Cc(p),ks(p,vn,L)):((f.lanes&O)!==0&&(yg(f,p),bd(p,null,null,O),Sh()),L=f.memoizedState,H=p.memoizedState,L.parent!==D?(L={parent:D,cache:D},p.memoizedState=L,p.lanes===0&&(p.memoizedState=p.updateQueue.baseState=L),ks(p,vn,D)):(D=H.cache,ks(p,vn,D),D!==L.cache&&Dc(p,[vn],O,!0))),Di(f,p,p.pendingProps.children,O),p.child;case 29:throw p.pendingProps}throw Error(r(156,p.tag))}function ql(f){f.flags|=4}function Rd(f,p,O,D,L){if((p=(f.mode&32)!==0)&&(p=!1),p){if(f.flags|=16777216,(L&335544128)===L)if(f.stateNode.complete)f.flags|=8192;else if(kt())f.flags|=8192;else throw xn=K0,Pp}else f.flags&=-16777217}function Mc(f,p){if(p.type!=="stylesheet"||(p.state.loading&4)!==0)f.flags&=-16777217;else if(f.flags|=16777216,!Zx(p))if(kt())f.flags|=8192;else throw xn=K0,Pp}function Th(f,p){p!==null&&(f.flags|=4),f.flags&16384&&(p=f.tag!==22?zr():536870912,f.lanes|=p,xo|=p)}function dm(f,p){if(!je)switch(f.tailMode){case"hidden":p=f.tail;for(var O=null;p!==null;)p.alternate!==null&&(O=p),p=p.sibling;O===null?f.tail=null:O.sibling=null;break;case"collapsed":O=f.tail;for(var D=null;O!==null;)O.alternate!==null&&(D=O),O=O.sibling;D===null?p||f.tail===null?f.tail=null:f.tail.sibling=null:D.sibling=null}}function Hr(f){var p=f.alternate!==null&&f.alternate.child===f.child,O=0,D=0;if(p)for(var L=f.child;L!==null;)O|=L.lanes|L.childLanes,D|=L.subtreeFlags&65011712,D|=L.flags&65011712,L.return=f,L=L.sibling;else for(L=f.child;L!==null;)O|=L.lanes|L.childLanes,D|=L.subtreeFlags,D|=L.flags,L.return=f,L=L.sibling;return f.subtreeFlags|=D,f.childLanes=O,p}function Bg(f,p,O){var D=p.pendingProps;switch(Se(p),p.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Hr(p),null;case 1:return Hr(p),null;case 3:return O=p.stateNode,D=null,f!==null&&(D=f.memoizedState.cache),p.memoizedState.cache!==D&&(p.flags|=2048),Fl(vn),ye(),O.pendingContext&&(O.context=O.pendingContext,O.pendingContext=null),(f===null||f.child===null)&&(La(p)?ql(p):f===null||f.memoizedState.isDehydrated&&(p.flags&256)===0||(p.flags|=1024,gl())),Hr(p),null;case 26:var L=p.type,H=p.memoizedState;return f===null?(ql(p),H!==null?(Hr(p),Mc(p,H)):(Hr(p),Rd(p,L,null,D,O))):H?H!==f.memoizedState?(ql(p),Hr(p),Mc(p,H)):(Hr(p),p.flags&=-16777217):(f=f.memoizedProps,f!==D&&ql(p),Hr(p),Rd(p,L,f,D,O)),null;case 27:if(_e(p),O=ae.current,L=p.type,f!==null&&p.stateNode!=null)f.memoizedProps!==D&&ql(p);else{if(!D){if(p.stateNode===null)throw Error(r(166));return Hr(p),null}f=ne.current,La(p)?gn(p):(f=Lx(L,D,O),p.stateNode=f,ql(p))}return Hr(p),null;case 5:if(_e(p),L=p.type,f!==null&&p.stateNode!=null)f.memoizedProps!==D&&ql(p);else{if(!D){if(p.stateNode===null)throw Error(r(166));return Hr(p),null}if(H=ne.current,La(p))gn(p);else{var ce=Xy(ae.current);switch(H){case 1:H=ce.createElementNS("http://www.w3.org/2000/svg",L);break;case 2:H=ce.createElementNS("http://www.w3.org/1998/Math/MathML",L);break;default:switch(L){case"svg":H=ce.createElementNS("http://www.w3.org/2000/svg",L);break;case"math":H=ce.createElementNS("http://www.w3.org/1998/Math/MathML",L);break;case"script":H=ce.createElement("div"),H.innerHTML="<script><\/script>",H=H.removeChild(H.firstChild);break;case"select":H=typeof D.is=="string"?ce.createElement("select",{is:D.is}):ce.createElement("select"),D.multiple?H.multiple=!0:D.size&&(H.size=D.size);break;default:H=typeof D.is=="string"?ce.createElement(L,{is:D.is}):ce.createElement(L)}}H[Rt]=p,H[on]=D;e:for(ce=p.child;ce!==null;){if(ce.tag===5||ce.tag===6)H.appendChild(ce.stateNode);else if(ce.tag!==4&&ce.tag!==27&&ce.child!==null){ce.child.return=ce,ce=ce.child;continue}if(ce===p)break e;for(;ce.sibling===null;){if(ce.return===null||ce.return===p)break e;ce=ce.return}ce.sibling.return=ce.return,ce=ce.sibling}p.stateNode=H;e:switch(Sl(H,L,D),L){case"button":case"input":case"select":case"textarea":D=!!D.autoFocus;break e;case"img":D=!0;break e;default:D=!1}D&&ql(p)}}return Hr(p),Rd(p,p.type,f===null?null:f.memoizedProps,p.pendingProps,O),null;case 6:if(f&&p.stateNode!=null)f.memoizedProps!==D&&ql(p);else{if(typeof D!="string"&&p.stateNode===null)throw Error(r(166));if(f=ae.current,La(p)){if(f=p.stateNode,O=p.memoizedProps,D=null,L=Qe,L!==null)switch(L.tag){case 27:case 5:D=L.memoizedProps}f[Rt]=p,f=!!(f.nodeValue===O||D!==null&&D.suppressHydrationWarning===!0||Tx(f.nodeValue,O)),f||sn(p,!0)}else f=Xy(f).createTextNode(D),f[Rt]=p,p.stateNode=f}return Hr(p),null;case 31:if(O=p.memoizedState,f===null||f.memoizedState!==null){if(D=La(p),O!==null){if(f===null){if(!D)throw Error(r(318));if(f=p.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(r(557));f[Rt]=p}else xe(),(p.flags&128)===0&&(p.memoizedState=null),p.flags|=4;Hr(p),f=!1}else O=gl(),f!==null&&f.memoizedState!==null&&(f.memoizedState.hydrationErrors=O),f=!0;if(!f)return p.flags&256?(Il(p),p):(Il(p),null);if((p.flags&128)!==0)throw Error(r(558))}return Hr(p),null;case 13:if(D=p.memoizedState,f===null||f.memoizedState!==null&&f.memoizedState.dehydrated!==null){if(L=La(p),D!==null&&D.dehydrated!==null){if(f===null){if(!L)throw Error(r(318));if(L=p.memoizedState,L=L!==null?L.dehydrated:null,!L)throw Error(r(317));L[Rt]=p}else xe(),(p.flags&128)===0&&(p.memoizedState=null),p.flags|=4;Hr(p),L=!1}else L=gl(),f!==null&&f.memoizedState!==null&&(f.memoizedState.hydrationErrors=L),L=!0;if(!L)return p.flags&256?(Il(p),p):(Il(p),null)}return Il(p),(p.flags&128)!==0?(p.lanes=O,p):(O=D!==null,f=f!==null&&f.memoizedState!==null,O&&(D=p.child,L=null,D.alternate!==null&&D.alternate.memoizedState!==null&&D.alternate.memoizedState.cachePool!==null&&(L=D.alternate.memoizedState.cachePool.pool),H=null,D.memoizedState!==null&&D.memoizedState.cachePool!==null&&(H=D.memoizedState.cachePool.pool),H!==L&&(D.flags|=2048)),O!==f&&O&&(p.child.flags|=8192),Th(p,p.updateQueue),Hr(p),null);case 4:return ye(),f===null&&h4(p.stateNode.containerInfo),Hr(p),null;case 10:return Fl(p.type),Hr(p),null;case 19:if(Y(da),D=p.memoizedState,D===null)return Hr(p),null;if(L=(p.flags&128)!==0,H=D.rendering,H===null)if(L)dm(D,!1);else{if(Gr!==0||f!==null&&(f.flags&128)!==0)for(f=p.child;f!==null;){if(H=Og(f),H!==null){for(p.flags|=128,dm(D,!1),f=H.updateQueue,p.updateQueue=f,Th(p,f),p.subtreeFlags=0,f=O,O=p.child;O!==null;)du(O,f),O=O.sibling;return B(da,da.current&1|2),je&&I(p,D.treeForkCount),p.child}f=f.sibling}D.tail!==null&&Ze()>ll&&(p.flags|=128,L=!0,dm(D,!1),p.lanes=4194304)}else{if(!L)if(f=Og(H),f!==null){if(p.flags|=128,L=!0,f=f.updateQueue,p.updateQueue=f,Th(p,f),dm(D,!0),D.tail===null&&D.tailMode==="hidden"&&!H.alternate&&!je)return Hr(p),null}else 2*Ze()-D.renderingStartTime>ll&&O!==536870912&&(p.flags|=128,L=!0,dm(D,!1),p.lanes=4194304);D.isBackwards?(H.sibling=p.child,p.child=H):(f=D.last,f!==null?f.sibling=H:p.child=H,D.last=H)}return D.tail!==null?(f=D.tail,D.rendering=f,D.tail=f.sibling,D.renderingStartTime=Ze(),f.sibling=null,O=da.current,B(da,L?O&1|2:O&1),je&&I(p,D.treeForkCount),f):(Hr(p),null);case 22:case 23:return Il(p),mu(),D=p.memoizedState!==null,f!==null?f.memoizedState!==null!==D&&(p.flags|=8192):D&&(p.flags|=8192),D?(O&536870912)!==0&&(p.flags&128)===0&&(Hr(p),p.subtreeFlags&6&&(p.flags|=8192)):Hr(p),O=p.updateQueue,O!==null&&Th(p,O.retryQueue),O=null,f!==null&&f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(O=f.memoizedState.cachePool.pool),D=null,p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(D=p.memoizedState.cachePool.pool),D!==O&&(p.flags|=2048),f!==null&&Y(pd),null;case 24:return O=null,f!==null&&(O=f.memoizedState.cache),p.memoizedState.cache!==O&&(p.flags|=2048),Fl(vn),Hr(p),null;case 25:return null;case 30:return null}throw Error(r(156,p.tag))}function Ad(f,p){switch(Se(p),p.tag){case 1:return f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 3:return Fl(vn),ye(),f=p.flags,(f&65536)!==0&&(f&128)===0?(p.flags=f&-65537|128,p):null;case 26:case 27:case 5:return _e(p),null;case 31:if(p.memoizedState!==null){if(Il(p),p.alternate===null)throw Error(r(340));xe()}return f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 13:if(Il(p),f=p.memoizedState,f!==null&&f.dehydrated!==null){if(p.alternate===null)throw Error(r(340));xe()}return f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 19:return Y(da),null;case 4:return ye(),null;case 10:return Fl(p.type),null;case 22:case 23:return Il(p),mu(),f!==null&&Y(pd),f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 24:return Fl(vn),null;case 25:return null;default:return null}}function Df(f,p){switch(Se(p),p.tag){case 3:Fl(vn),ye();break;case 26:case 27:case 5:_e(p);break;case 4:ye();break;case 31:p.memoizedState!==null&&Il(p);break;case 13:Il(p);break;case 19:Y(da);break;case 10:Fl(p.type);break;case 22:case 23:Il(p),mu(),f!==null&&Y(pd);break;case 24:Fl(vn)}}function zs(f,p){try{var O=p.updateQueue,D=O!==null?O.lastEffect:null;if(D!==null){var L=D.next;O=L;do{if((O.tag&f)===f){D=void 0;var H=O.create,ce=O.inst;D=H(),ce.destroy=D}O=O.next}while(O!==L)}}catch(Ee){Ci(p,p.return,Ee)}}function yo(f,p,O){try{var D=p.updateQueue,L=D!==null?D.lastEffect:null;if(L!==null){var H=L.next;D=H;do{if((D.tag&f)===f){var ce=D.inst,Ee=ce.destroy;if(Ee!==void 0){ce.destroy=void 0,L=p;var Le=O,at=Ee;try{at()}catch(mt){Ci(L,Le,mt)}}}D=D.next}while(D!==H)}}catch(mt){Ci(p,p.return,mt)}}function qs(f){var p=f.updateQueue;if(p!==null){var O=f.stateNode;try{Wa(p,O)}catch(D){Ci(f,f.return,D)}}}function Qg(f,p,O){O.props=zi(f.type,f.memoizedProps),O.state=f.memoizedState;try{O.componentWillUnmount()}catch(D){Ci(f,p,D)}}function tu(f,p){try{var O=f.ref;if(O!==null){switch(f.tag){case 26:case 27:case 5:var D=f.stateNode;break;case 30:D=f.stateNode;break;default:D=f.stateNode}typeof O=="function"?f.refCleanup=O(D):O.current=D}}catch(L){Ci(f,p,L)}}function nu(f,p){var O=f.ref,D=f.refCleanup;if(O!==null)if(typeof D=="function")try{D()}catch(L){Ci(f,p,L)}finally{f.refCleanup=null,f=f.alternate,f!=null&&(f.refCleanup=null)}else if(typeof O=="function")try{O(null)}catch(L){Ci(f,p,L)}else O.current=null}function bo(f){var p=f.type,O=f.memoizedProps,D=f.stateNode;try{e:switch(p){case"button":case"input":case"select":case"textarea":O.autoFocus&&D.focus();break e;case"img":O.src?D.src=O.src:O.srcSet&&(D.srcset=O.srcSet)}}catch(L){Ci(f,f.return,L)}}function Oo(f,p,O){try{var D=f.stateNode;Y5(D,f.type,O,p),D[on]=p}catch(L){Ci(f,f.return,L)}}function Ba(f){return f.tag===5||f.tag===3||f.tag===26||f.tag===27&&zn(f.type)||f.tag===4}function Fc(f){e:for(;;){for(;f.sibling===null;){if(f.return===null||Ba(f.return))return null;f=f.return}for(f.sibling.return=f.return,f=f.sibling;f.tag!==5&&f.tag!==6&&f.tag!==18;){if(f.tag===27&&zn(f.type)||f.flags&2||f.child===null||f.tag===4)continue e;f.child.return=f,f=f.child}if(!(f.flags&2))return f.stateNode}}function Jn(f,p,O){var D=f.tag;if(D===5||D===6)f=f.stateNode,p?(O.nodeType===9?O.body:O.nodeName==="HTML"?O.ownerDocument.body:O).insertBefore(f,p):(p=O.nodeType===9?O.body:O.nodeName==="HTML"?O.ownerDocument.body:O,p.appendChild(f),O=O._reactRootContainer,O!=null||p.onclick!==null||(p.onclick=io));else if(D!==4&&(D===27&&zn(f.type)&&(O=f.stateNode,p=null),f=f.child,f!==null))for(Jn(f,p,O),f=f.sibling;f!==null;)Jn(f,p,O),f=f.sibling}function Xr(f,p,O){var D=f.tag;if(D===5||D===6)f=f.stateNode,p?O.insertBefore(f,p):O.appendChild(f);else if(D!==4&&(D===27&&zn(f.type)&&(O=f.stateNode),f=f.child,f!==null))for(Xr(f,p,O),f=f.sibling;f!==null;)Xr(f,p,O),f=f.sibling}function wa(f){var p=f.stateNode,O=f.memoizedProps;try{for(var D=f.type,L=p.attributes;L.length;)p.removeAttributeNode(L[0]);Sl(p,D,O),p[Rt]=f,p[on]=O}catch(H){Ci(f,f.return,H)}}var ns=!1,qi=!1,$f=!1,hm=typeof WeakSet=="function"?WeakSet:Set,pa=null;function qp(f,p){if(f=f.containerInfo,Hy=Yb,f=G0(f),bf(f)){if("selectionStart"in f)var O={start:f.selectionStart,end:f.selectionEnd};else e:{O=(O=f.ownerDocument)&&O.defaultView||window;var D=O.getSelection&&O.getSelection();if(D&&D.rangeCount!==0){O=D.anchorNode;var L=D.anchorOffset,H=D.focusNode;D=D.focusOffset;try{O.nodeType,H.nodeType}catch{O=null;break e}var ce=0,Ee=-1,Le=-1,at=0,mt=0,St=f,lt=null;t:for(;;){for(var ft;St!==O||L!==0&&St.nodeType!==3||(Ee=ce+L),St!==H||D!==0&&St.nodeType!==3||(Le=ce+D),St.nodeType===3&&(ce+=St.nodeValue.length),(ft=St.firstChild)!==null;)lt=St,St=ft;for(;;){if(St===f)break t;if(lt===O&&++at===L&&(Ee=ce),lt===H&&++mt===D&&(Le=ce),(ft=St.nextSibling)!==null)break;St=lt,lt=St.parentNode}St=ft}O=Ee===-1||Le===-1?null:{start:Ee,end:Le}}else O=null}O=O||{start:0,end:0}}else O=null;for(v4={focusedElem:f,selectionRange:O},Yb=!1,pa=p;pa!==null;)if(p=pa,f=p.child,(p.subtreeFlags&1028)!==0&&f!==null)f.return=p,pa=f;else for(;pa!==null;){switch(p=pa,H=p.alternate,f=p.flags,p.tag){case 0:if((f&4)!==0&&(f=p.updateQueue,f=f!==null?f.events:null,f!==null))for(O=0;O<f.length;O++)L=f[O],L.ref.impl=L.nextImpl;break;case 11:case 15:break;case 1:if((f&1024)!==0&&H!==null){f=void 0,O=p,L=H.memoizedProps,H=H.memoizedState,D=O.stateNode;try{var cn=zi(O.type,L);f=D.getSnapshotBeforeUpdate(cn,H),D.__reactInternalSnapshotBeforeUpdate=f}catch(Rn){Ci(O,O.return,Rn)}}break;case 3:if((f&1024)!==0){if(f=p.stateNode.containerInfo,O=f.nodeType,O===9)zb(f);else if(O===1)switch(f.nodeName){case"HEAD":case"HTML":case"BODY":zb(f);break;default:f.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((f&1024)!==0)throw Error(r(163))}if(f=p.sibling,f!==null){f.return=p.return,pa=f;break}pa=p.return}}function Qy(f,p,O){var D=O.flags;switch(O.tag){case 0:case 11:case 15:Cf(f,O),D&4&&zs(5,O);break;case 1:if(Cf(f,O),D&4)if(f=O.stateNode,p===null)try{f.componentDidMount()}catch(ce){Ci(O,O.return,ce)}else{var L=zi(O.type,p.memoizedProps);p=p.memoizedState;try{f.componentDidUpdate(L,p,f.__reactInternalSnapshotBeforeUpdate)}catch(ce){Ci(O,O.return,ce)}}D&64&&qs(O),D&512&&tu(O,O.return);break;case 3:if(Cf(f,O),D&64&&(f=O.updateQueue,f!==null)){if(p=null,O.child!==null)switch(O.child.tag){case 27:case 5:p=O.child.stateNode;break;case 1:p=O.child.stateNode}try{Wa(f,p)}catch(ce){Ci(O,O.return,ce)}}break;case 27:p===null&&D&4&&wa(O);case 26:case 5:Cf(f,O),p===null&&D&4&&bo(O),D&512&&tu(O,O.return);break;case 12:Cf(f,O);break;case 31:Cf(f,O),D&4&&mm(f,O);break;case 13:Cf(f,O),D&4&&zy(f,O),D&64&&(f=O.memoizedState,f!==null&&(f=f.dehydrated,f!==null&&(O=Nb.bind(null,O),J5(f,O))));break;case 22:if(D=O.memoizedState!==null||ns,!D){p=p!==null&&p.memoizedState!==null||qi,L=ns;var H=qi;ns=D,(qi=p)&&!H?Yr(f,O,(O.subtreeFlags&8772)!==0):Cf(f,O),ns=L,qi=H}break;case 30:break;default:Cf(f,O)}}function pm(f){var p=f.alternate;p!==null&&(f.alternate=null,pm(p)),f.child=null,f.deletions=null,f.sibling=null,f.tag===5&&(p=f.stateNode,p!==null&&Cl(p)),f.stateNode=null,f.return=null,f.dependencies=null,f.memoizedProps=null,f.memoizedState=null,f.pendingProps=null,f.stateNode=null,f.updateQueue=null}var Cr=null,Qa=!1;function il(f,p,O){for(O=O.child;O!==null;)Td(f,p,O),O=O.sibling}function Td(f,p,O){if(rn&&typeof rn.onCommitFiberUnmount=="function")try{rn.onCommitFiberUnmount(zt,O)}catch{}switch(O.tag){case 26:qi||nu(O,p),il(f,p,O),O.memoizedState?O.memoizedState.count--:O.stateNode&&(O=O.stateNode,O.parentNode.removeChild(O));break;case 27:qi||nu(O,p);var D=Cr,L=Qa;zn(O.type)&&(Cr=O.stateNode,Qa=!1),il(f,p,O),Gy(O.stateNode),Cr=D,Qa=L;break;case 5:qi||nu(O,p);case 6:if(D=Cr,L=Qa,Cr=null,il(f,p,O),Cr=D,Qa=L,Cr!==null)if(Qa)try{(Cr.nodeType===9?Cr.body:Cr.nodeName==="HTML"?Cr.ownerDocument.body:Cr).removeChild(O.stateNode)}catch(H){Ci(O,p,H)}else try{Cr.removeChild(O.stateNode)}catch(H){Ci(O,p,H)}break;case 18:Cr!==null&&(Qa?(f=Cr,b4(f.nodeType===9?f.body:f.nodeName==="HTML"?f.ownerDocument.body:f,O.stateNode),tv(f)):b4(Cr,O.stateNode));break;case 4:D=Cr,L=Qa,Cr=O.stateNode.containerInfo,Qa=!0,il(f,p,O),Cr=D,Qa=L;break;case 0:case 11:case 14:case 15:yo(2,O,p),qi||yo(4,O,p),il(f,p,O);break;case 1:qi||(nu(O,p),D=O.stateNode,typeof D.componentWillUnmount=="function"&&Qg(O,p,D)),il(f,p,O);break;case 21:il(f,p,O);break;case 22:qi=(D=qi)||O.memoizedState!==null,il(f,p,O),qi=D;break;default:il(f,p,O)}}function mm(f,p){if(p.memoizedState===null&&(f=p.alternate,f!==null&&(f=f.memoizedState,f!==null))){f=f.dehydrated;try{tv(f)}catch(O){Ci(p,p.return,O)}}}function zy(f,p){if(p.memoizedState===null&&(f=p.alternate,f!==null&&(f=f.memoizedState,f!==null&&(f=f.dehydrated,f!==null))))try{tv(f)}catch(O){Ci(p,p.return,O)}}function Mb(f){switch(f.tag){case 31:case 13:case 19:var p=f.stateNode;return p===null&&(p=f.stateNode=new hm),p;case 22:return f=f.stateNode,p=f._retryCache,p===null&&(p=f._retryCache=new hm),p;default:throw Error(r(435,f.tag))}}function Ra(f,p){var O=Mb(f);p.forEach(function(D){if(!O.has(D)){O.add(D);var L=j5.bind(null,f,D);D.then(L,L)}})}function al(f,p){var O=p.deletions;if(O!==null)for(var D=0;D<O.length;D++){var L=O[D],H=f,ce=p,Ee=ce;e:for(;Ee!==null;){switch(Ee.tag){case 27:if(zn(Ee.type)){Cr=Ee.stateNode,Qa=!1;break e}break;case 5:Cr=Ee.stateNode,Qa=!1;break e;case 3:case 4:Cr=Ee.stateNode.containerInfo,Qa=!0;break e}Ee=Ee.return}if(Cr===null)throw Error(r(160));Td(H,ce,L),Cr=null,Qa=!1,H=L.alternate,H!==null&&(H.return=null),L.return=null}if(p.subtreeFlags&13886)for(p=p.child;p!==null;)kd(p,f),p=p.sibling}var Vl=null;function kd(f,p){var O=f.alternate,D=f.flags;switch(f.tag){case 0:case 11:case 14:case 15:al(p,f),Ir(f),D&4&&(yo(3,f,f.return),zs(3,f),yo(5,f,f.return));break;case 1:al(p,f),Ir(f),D&512&&(qi||O===null||nu(O,O.return)),D&64&&ns&&(f=f.updateQueue,f!==null&&(D=f.callbacks,D!==null&&(O=f.shared.hiddenCallbacks,f.shared.hiddenCallbacks=O===null?D:O.concat(D))));break;case 26:var L=Vl;if(al(p,f),Ir(f),D&512&&(qi||O===null||nu(O,O.return)),D&4){var H=O!==null?O.memoizedState:null;if(D=f.memoizedState,O===null)if(D===null)if(f.stateNode===null){e:{D=f.type,O=f.memoizedProps,L=L.ownerDocument||L;t:switch(D){case"title":H=L.getElementsByTagName("title")[0],(!H||H[Du]||H[Rt]||H.namespaceURI==="http://www.w3.org/2000/svg"||H.hasAttribute("itemprop"))&&(H=L.createElement(D),L.head.insertBefore(H,L.querySelector("head > title"))),Sl(H,D,O),H[Rt]=f,ei(H),D=H;break e;case"link":var ce=Ux("link","href",L).get(D+(O.href||""));if(ce){for(var Ee=0;Ee<ce.length;Ee++)if(H=ce[Ee],H.getAttribute("href")===(O.href==null||O.href===""?null:O.href)&&H.getAttribute("rel")===(O.rel==null?null:O.rel)&&H.getAttribute("title")===(O.title==null?null:O.title)&&H.getAttribute("crossorigin")===(O.crossOrigin==null?null:O.crossOrigin)){ce.splice(Ee,1);break t}}H=L.createElement(D),Sl(H,D,O),L.head.appendChild(H);break;case"meta":if(ce=Ux("meta","content",L).get(D+(O.content||""))){for(Ee=0;Ee<ce.length;Ee++)if(H=ce[Ee],H.getAttribute("content")===(O.content==null?null:""+O.content)&&H.getAttribute("name")===(O.name==null?null:O.name)&&H.getAttribute("property")===(O.property==null?null:O.property)&&H.getAttribute("http-equiv")===(O.httpEquiv==null?null:O.httpEquiv)&&H.getAttribute("charset")===(O.charSet==null?null:O.charSet)){ce.splice(Ee,1);break t}}H=L.createElement(D),Sl(H,D,O),L.head.appendChild(H);break;default:throw Error(r(468,D))}H[Rt]=f,ei(H),D=H}f.stateNode=D}else jx(L,f.type,f.stateNode);else f.stateNode=Vx(L,D,f.memoizedProps);else H!==D?(H===null?O.stateNode!==null&&(O=O.stateNode,O.parentNode.removeChild(O)):H.count--,D===null?jx(L,f.type,f.stateNode):Vx(L,D,f.memoizedProps)):D===null&&f.stateNode!==null&&Oo(f,f.memoizedProps,O.memoizedProps)}break;case 27:al(p,f),Ir(f),D&512&&(qi||O===null||nu(O,O.return)),O!==null&&D&4&&Oo(f,f.memoizedProps,O.memoizedProps);break;case 5:if(al(p,f),Ir(f),D&512&&(qi||O===null||nu(O,O.return)),f.flags&32){L=f.stateNode;try{Cu(L,"")}catch(cn){Ci(f,f.return,cn)}}D&4&&f.stateNode!=null&&(L=f.memoizedProps,Oo(f,L,O!==null?O.memoizedProps:L)),D&1024&&($f=!0);break;case 6:if(al(p,f),Ir(f),D&4){if(f.stateNode===null)throw Error(r(162));D=f.memoizedProps,O=f.stateNode;try{O.nodeValue=D}catch(cn){Ci(f,f.return,cn)}}break;case 3:if(Ky=null,L=Vl,Vl=Vb(p.containerInfo),al(p,f),Vl=L,Ir(f),D&4&&O!==null&&O.memoizedState.isDehydrated)try{tv(p.containerInfo)}catch(cn){Ci(f,f.return,cn)}$f&&($f=!1,Fb(f));break;case 4:D=Vl,Vl=Vb(f.stateNode.containerInfo),al(p,f),Ir(f),Vl=D;break;case 12:al(p,f),Ir(f);break;case 31:al(p,f),Ir(f),D&4&&(D=f.updateQueue,D!==null&&(f.updateQueue=null,Ra(f,D)));break;case 13:al(p,f),Ir(f),f.child.flags&8192&&f.memoizedState!==null!=(O!==null&&O.memoizedState!==null)&&(Ic=Ze()),D&4&&(D=f.updateQueue,D!==null&&(f.updateQueue=null,Ra(f,D)));break;case 22:L=f.memoizedState!==null;var Le=O!==null&&O.memoizedState!==null,at=ns,mt=qi;if(ns=at||L,qi=mt||Le,al(p,f),qi=mt,ns=at,Ir(f),D&8192)e:for(p=f.stateNode,p._visibility=L?p._visibility&-2:p._visibility|1,L&&(O===null||Le||ns||qi||kh(f)),O=null,p=f;;){if(p.tag===5||p.tag===26){if(O===null){Le=O=p;try{if(H=Le.stateNode,L)ce=H.style,typeof ce.setProperty=="function"?ce.setProperty("display","none","important"):ce.display="none";else{Ee=Le.stateNode;var St=Le.memoizedProps.style,lt=St!=null&&St.hasOwnProperty("display")?St.display:null;Ee.style.display=lt==null||typeof lt=="boolean"?"":(""+lt).trim()}}catch(cn){Ci(Le,Le.return,cn)}}}else if(p.tag===6){if(O===null){Le=p;try{Le.stateNode.nodeValue=L?"":Le.memoizedProps}catch(cn){Ci(Le,Le.return,cn)}}}else if(p.tag===18){if(O===null){Le=p;try{var ft=Le.stateNode;L?Xs(ft,!0):Xs(Le.stateNode,!1)}catch(cn){Ci(Le,Le.return,cn)}}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===f)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===f)break e;for(;p.sibling===null;){if(p.return===null||p.return===f)break e;O===p&&(O=null),p=p.return}O===p&&(O=null),p.sibling.return=p.return,p=p.sibling}D&4&&(D=f.updateQueue,D!==null&&(O=D.retryQueue,O!==null&&(D.retryQueue=null,Ra(f,O))));break;case 19:al(p,f),Ir(f),D&4&&(D=f.updateQueue,D!==null&&(f.updateQueue=null,Ra(f,D)));break;case 30:break;case 21:break;default:al(p,f),Ir(f)}}function Ir(f){var p=f.flags;if(p&2){try{for(var O,D=f.return;D!==null;){if(Ba(D)){O=D;break}D=D.return}if(O==null)throw Error(r(160));switch(O.tag){case 27:var L=O.stateNode,H=Fc(f);Xr(f,H,L);break;case 5:var ce=O.stateNode;O.flags&32&&(Cu(ce,""),O.flags&=-33);var Ee=Fc(f);Xr(f,Ee,ce);break;case 3:case 4:var Le=O.stateNode.containerInfo,at=Fc(f);Jn(f,at,Le);break;default:throw Error(r(161))}}catch(mt){Ci(f,f.return,mt)}f.flags&=-3}p&4096&&(f.flags&=-4097)}function Fb(f){if(f.subtreeFlags&1024)for(f=f.child;f!==null;){var p=f;Fb(p),p.tag===5&&p.flags&1024&&p.stateNode.reset(),f=f.sibling}}function Cf(f,p){if(p.subtreeFlags&8772)for(p=p.child;p!==null;)Qy(f,p.alternate,p),p=p.sibling}function kh(f){for(f=f.child;f!==null;){var p=f;switch(p.tag){case 0:case 11:case 14:case 15:yo(4,p,p.return),kh(p);break;case 1:nu(p,p.return);var O=p.stateNode;typeof O.componentWillUnmount=="function"&&Qg(p,p.return,O),kh(p);break;case 27:Gy(p.stateNode);case 26:case 5:nu(p,p.return),kh(p);break;case 22:p.memoizedState===null&&kh(p);break;case 30:kh(p);break;default:kh(p)}f=f.sibling}}function Yr(f,p,O){for(O=O&&(p.subtreeFlags&8772)!==0,p=p.child;p!==null;){var D=p.alternate,L=f,H=p,ce=H.flags;switch(H.tag){case 0:case 11:case 15:Yr(L,H,O),zs(4,H);break;case 1:if(Yr(L,H,O),D=H,L=D.stateNode,typeof L.componentDidMount=="function")try{L.componentDidMount()}catch(at){Ci(D,D.return,at)}if(D=H,L=D.updateQueue,L!==null){var Ee=D.stateNode;try{var Le=L.shared.hiddenCallbacks;if(Le!==null)for(L.shared.hiddenCallbacks=null,L=0;L<Le.length;L++)Ka(Le[L],Ee)}catch(at){Ci(D,D.return,at)}}O&&ce&64&&qs(H),tu(H,H.return);break;case 27:wa(H);case 26:case 5:Yr(L,H,O),O&&D===null&&ce&4&&bo(H),tu(H,H.return);break;case 12:Yr(L,H,O);break;case 31:Yr(L,H,O),O&&ce&4&&mm(L,H);break;case 13:Yr(L,H,O),O&&ce&4&&zy(L,H);break;case 22:H.memoizedState===null&&Yr(L,H,O),tu(H,H.return);break;case 30:break;default:Yr(L,H,O)}p=p.sibling}}function zg(f,p){var O=null;f!==null&&f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(O=f.memoizedState.cachePool.pool),f=null,p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(f=p.memoizedState.cachePool.pool),f!==O&&(f!=null&&f.refCount++,O!=null&&Pu(O))}function wf(f,p){f=null,p.alternate!==null&&(f=p.alternate.memoizedState.cache),p=p.memoizedState.cache,p!==f&&(p.refCount++,f!=null&&Pu(f))}function ru(f,p,O,D){if(p.subtreeFlags&10256)for(p=p.child;p!==null;)na(f,p,O,D),p=p.sibling}function na(f,p,O,D){var L=p.flags;switch(p.tag){case 0:case 11:case 15:ru(f,p,O,D),L&2048&&zs(9,p);break;case 1:ru(f,p,O,D);break;case 3:ru(f,p,O,D),L&2048&&(f=null,p.alternate!==null&&(f=p.alternate.memoizedState.cache),p=p.memoizedState.cache,p!==f&&(p.refCount++,f!=null&&Pu(f)));break;case 12:if(L&2048){ru(f,p,O,D),f=p.stateNode;try{var H=p.memoizedProps,ce=H.id,Ee=H.onPostCommit;typeof Ee=="function"&&Ee(ce,p.alternate===null?"mount":"update",f.passiveEffectDuration,-0)}catch(Le){Ci(p,p.return,Le)}}else ru(f,p,O,D);break;case 31:ru(f,p,O,D);break;case 13:ru(f,p,O,D);break;case 23:break;case 22:H=p.stateNode,ce=p.alternate,p.memoizedState!==null?H._visibility&2?ru(f,p,O,D):Vp(f,p):H._visibility&2?ru(f,p,O,D):(H._visibility|=2,Nc(f,p,O,D,(p.subtreeFlags&10256)!==0||!1)),L&2048&&zg(ce,p);break;case 24:ru(f,p,O,D),L&2048&&wf(p.alternate,p);break;default:ru(f,p,O,D)}}function Nc(f,p,O,D,L){for(L=L&&((p.subtreeFlags&10256)!==0||!1),p=p.child;p!==null;){var H=f,ce=p,Ee=O,Le=D,at=ce.flags;switch(ce.tag){case 0:case 11:case 15:Nc(H,ce,Ee,Le,L),zs(8,ce);break;case 23:break;case 22:var mt=ce.stateNode;ce.memoizedState!==null?mt._visibility&2?Nc(H,ce,Ee,Le,L):Vp(H,ce):(mt._visibility|=2,Nc(H,ce,Ee,Le,L)),L&&at&2048&&zg(ce.alternate,ce);break;case 24:Nc(H,ce,Ee,Le,L),L&&at&2048&&wf(ce.alternate,ce);break;default:Nc(H,ce,Ee,Le,L)}p=p.sibling}}function Vp(f,p){if(p.subtreeFlags&10256)for(p=p.child;p!==null;){var O=f,D=p,L=D.flags;switch(D.tag){case 22:Vp(O,D),L&2048&&zg(D.alternate,D);break;case 24:Vp(O,D),L&2048&&wf(D.alternate,D);break;default:Vp(O,D)}p=p.sibling}}var ma=8192;function Ph(f,p,O){if(f.subtreeFlags&ma)for(f=f.child;f!==null;)Aa(f,p,O),f=f.sibling}function Aa(f,p,O){switch(f.tag){case 26:Ph(f,p,O),f.flags&ma&&f.memoizedState!==null&&Wg(O,Vl,f.memoizedState,f.memoizedProps);break;case 5:Ph(f,p,O);break;case 3:case 4:var D=Vl;Vl=Vb(f.stateNode.containerInfo),Ph(f,p,O),Vl=D;break;case 22:f.memoizedState===null&&(D=f.alternate,D!==null&&D.memoizedState!==null?(D=ma,ma=16777216,Ph(f,p,O),ma=D):Ph(f,p,O));break;default:Ph(f,p,O)}}function Ul(f){var p=f.alternate;if(p!==null&&(f=p.child,f!==null)){p.child=null;do p=f.sibling,f.sibling=null,f=p;while(f!==null)}}function bl(f){var p=f.deletions;if((f.flags&16)!==0){if(p!==null)for(var O=0;O<p.length;O++){var D=p[O];pa=D,gm(D,f)}Ul(f)}if(f.subtreeFlags&10256)for(f=f.child;f!==null;)Mh(f),f=f.sibling}function Mh(f){switch(f.tag){case 0:case 11:case 15:bl(f),f.flags&2048&&yo(9,f,f.return);break;case 3:bl(f);break;case 12:bl(f);break;case 22:var p=f.stateNode;f.memoizedState!==null&&p._visibility&2&&(f.return===null||f.return.tag!==13)?(p._visibility&=-3,qg(f)):bl(f);break;default:bl(f)}}function qg(f){var p=f.deletions;if((f.flags&16)!==0){if(p!==null)for(var O=0;O<p.length;O++){var D=p[O];pa=D,gm(D,f)}Ul(f)}for(f=f.child;f!==null;){switch(p=f,p.tag){case 0:case 11:case 15:yo(8,p,p.return),qg(p);break;case 22:O=p.stateNode,O._visibility&2&&(O._visibility&=-3,qg(p));break;default:qg(p)}f=f.sibling}}function gm(f,p){for(;pa!==null;){var O=pa;switch(O.tag){case 0:case 11:case 15:yo(8,O,p);break;case 23:case 22:if(O.memoizedState!==null&&O.memoizedState.cachePool!==null){var D=O.memoizedState.cachePool.pool;D!=null&&D.refCount++}break;case 24:Pu(O.memoizedState.cache)}if(D=O.child,D!==null)D.return=O,pa=D;else e:for(O=f;pa!==null;){D=pa;var L=D.sibling,H=D.return;if(pm(D),D===O){pa=null;break e}if(L!==null){L.return=H,pa=L;break e}pa=H}}}var Vg={getCacheForType:function(f){var p=pu(vn),O=p.data.get(f);return O===void 0&&(O=f(),p.data.set(f,O)),O},cacheSignal:function(){return pu(vn).controller.signal}},Ug=typeof WeakMap=="function"?WeakMap:Map,wr=0,ri=null,er=null,vr=0,yn=0,fr=null,Xn=!1,ur=!1,bi=!1,ra=0,Gr=0,So=0,Rf=0,Vs=0,Rr=0,xo=0,Us=null,ul=null,jl=!1,Ic=0,Up=0,ll=1/0,jp=null,Lc=null,ia=0,js=null,_o=null,rs=0,Af=0,Fh=null,jg=null,Nh=0,Ih=null;function Ol(){return(wr&2)!==0&&vr!==0?vr&-vr:G.T!==null?Zs():Vt()}function g(){if(Rr===0)if((vr&536870912)===0||je){var f=In;In<<=1,(In&3932160)===0&&(In=262144),Rr=f}else Rr=536870912;return f=Ja.current,f!==null&&(f.flags|=32),Rr}function b(f,p,O){(f===ri&&(yn===2||yn===9)||f.cancelPendingCommit!==null)&&(We(f,0),le(f,vr,Rr,!1)),He(f,O),((wr&2)===0||f!==ri)&&(f===ri&&((wr&2)===0&&(Rf|=O),Gr===4&&le(f,vr,Rr,!1)),Pd(f))}function A(f,p,O){if((wr&6)!==0)throw Error(r(327));var D=!O&&(p&127)===0&&(p&f.expiredLanes)===0||ar(f,p),L=D?Lh(f,p):Zl(f,p,!0),H=D;do{if(L===0){ur&&!D&&le(f,p,0,!1);break}else{if(O=f.current.alternate,H&&!ee(O)){L=Zl(f,p,!1),H=!1;continue}if(L===2){if(H=p,f.errorRecoveryDisabledLanes&H)var ce=0;else ce=f.pendingLanes&-536870913,ce=ce!==0?ce:ce&536870912?536870912:0;if(ce!==0){p=ce;e:{var Ee=f;L=Us;var Le=Ee.current.memoizedState.isDehydrated;if(Le&&(We(Ee,ce).flags|=256),ce=Zl(Ee,ce,!1),ce!==2){if(bi&&!Le){Ee.errorRecoveryDisabledLanes|=H,Rf|=H,L=4;break e}H=ul,ul=L,H!==null&&(ul===null?ul=H:ul.push.apply(ul,H))}L=ce}if(H=!1,L!==2)continue}}if(L===1){We(f,0),le(f,p,0,!0);break}e:{switch(D=f,H=L,H){case 0:case 1:throw Error(r(345));case 4:if((p&4194048)!==p)break;case 6:le(D,p,Rr,!Xn);break e;case 2:ul=null;break;case 3:case 5:break;default:throw Error(r(329))}if((p&62914560)===p&&(L=Ic+0-Ze(),10<L)){if(le(D,p,Rr,!Xn),sr(D,0,!0)!==0)break e;rs=p,D.timeoutHandle=kx(Q.bind(null,D,O,ul,jp,jl,p,Rr,Rf,xo,Xn,H,"Throttled",-0,0),L);break e}Q(D,O,ul,jp,jl,p,Rr,Rf,xo,Xn,H,null,-0,0)}}break}while(!0);Pd(f)}function Q(f,p,O,D,L,H,ce,Ee,Le,at,mt,St,lt,ft){if(f.timeoutHandle=-1,St=p.subtreeFlags,St&8192||(St&16785408)===16785408){St={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:io},Aa(p,H,St);var cn=(H&62914560)===H?Ic-Ze():(H&4194048)===H?Up-Ze():0;if(cn=ow(St,cn),cn!==null){rs=H,f.cancelPendingCommit=cn(Tn.bind(null,f,p,H,O,D,L,ce,Ee,Le,mt,St,null,lt,ft)),le(f,H,ce,!at);return}}Tn(f,p,H,O,D,L,ce,Ee,Le)}function ee(f){for(var p=f;;){var O=p.tag;if((O===0||O===11||O===15)&&p.flags&16384&&(O=p.updateQueue,O!==null&&(O=O.stores,O!==null)))for(var D=0;D<O.length;D++){var L=O[D],H=L.getSnapshot;L=L.value;try{if(!cr(H(),L))return!1}catch{return!1}}if(O=p.child,p.subtreeFlags&16384&&O!==null)O.return=p,p=O;else{if(p===f)break;for(;p.sibling===null;){if(p.return===null||p.return===f)return!0;p=p.return}p.sibling.return=p.return,p=p.sibling}}return!0}function le(f,p,O,D){p&=~Vs,p&=~Rf,f.suspendedLanes|=p,f.pingedLanes&=~p,D&&(f.warmLanes|=p),D=f.expirationTimes;for(var L=p;0<L;){var H=31-Fe(L),ce=1<<H;D[H]=-1,L&=~ce}O!==0&&dt(f,O,p)}function De(){return(wr&6)===0?(Vy(0),!1):!0}function Ie(){if(er!==null){if(yn===0)var f=er.return;else f=er,Ya=Qn=null,Oy(f),gd=null,Gu=0,f=er;for(;f!==null;)Df(f.alternate,f),f=f.return;er=null}}function We(f,p){var O=f.timeoutHandle;O!==-1&&(f.timeoutHandle=-1,K5(O)),O=f.cancelPendingCommit,O!==null&&(f.cancelPendingCommit=null,O()),rs=0,Ie(),ri=f,er=O=Yu(f.current,null),vr=p,yn=0,fr=null,Xn=!1,ur=ar(f,p),bi=!1,xo=Rr=Vs=Rf=So=Gr=0,ul=Us=null,jl=!1,(p&8)!==0&&(p|=p&32);var D=f.entangledLanes;if(D!==0)for(f=f.entanglements,D&=p;0<D;){var L=31-Fe(D),H=1<<L;p|=f[L],D&=~H}return ra=p,Xa(),O}function vt(f,p){An=null,G.H=Dd,p===md||p===Ho?(p=gg(),yn=3):p===Pp?(p=gg(),yn=4):yn=p===Qp?8:p!==null&&typeof p=="object"&&typeof p.then=="function"?6:1,fr=p,er===null&&(Gr=1,om(f,wu(p,f.current)))}function kt(){var f=Ja.current;return f===null?!0:(vr&4194048)===vr?Go===null:(vr&62914560)===vr||(vr&536870912)!==0?f===Go:!1}function Ht(){var f=G.H;return G.H=Dd,f===null?Dd:f}function Kt(){var f=G.A;return G.A=Vg,f}function Zn(){Gr=4,Xn||(vr&4194048)!==vr&&Ja.current!==null||(ur=!0),(So&134217727)===0&&(Rf&134217727)===0||ri===null||le(ri,vr,Rr,!1)}function Zl(f,p,O){var D=wr;wr|=2;var L=Ht(),H=Kt();(ri!==f||vr!==p)&&(jp=null,We(f,p)),p=!1;var ce=Gr;e:do try{if(yn!==0&&er!==null){var Ee=er,Le=fr;switch(yn){case 8:Ie(),ce=6;break e;case 3:case 2:case 9:case 6:Ja.current===null&&(p=!0);var at=yn;if(yn=0,fr=null,At(f,Ee,Le,at),O&&ur){ce=0;break e}break;default:at=yn,yn=0,fr=null,At(f,Ee,Le,at)}}vm(),ce=Gr;break}catch(mt){vt(f,mt)}while(!0);return p&&f.shellSuspendCounter++,Ya=Qn=null,wr=D,G.H=L,G.A=H,er===null&&(ri=null,vr=0,Xa()),ce}function vm(){for(;er!==null;)Ge(er)}function Lh(f,p){var O=wr;wr|=2;var D=Ht(),L=Kt();ri!==f||vr!==p?(jp=null,ll=Ze()+500,We(f,p)):ur=ar(f,p);e:do try{if(yn!==0&&er!==null){p=er;var H=fr;t:switch(yn){case 1:yn=0,fr=null,At(f,p,H,1);break;case 2:case 9:if(Eb(H)){yn=0,fr=null,ct(p);break}p=function(){yn!==2&&yn!==9||ri!==f||(yn=7),Pd(f)},H.then(p,p);break e;case 3:yn=7;break e;case 4:yn=5;break e;case 7:Eb(H)?(yn=0,fr=null,ct(p)):(yn=0,fr=null,At(f,p,H,7));break;case 5:var ce=null;switch(er.tag){case 26:ce=er.memoizedState;case 5:case 27:var Ee=er;if(ce?Zx(ce):Ee.stateNode.complete){yn=0,fr=null;var Le=Ee.sibling;if(Le!==null)er=Le;else{var at=Ee.return;at!==null?(er=at,mn(at)):er=null}break t}}yn=0,fr=null,At(f,p,H,5);break;case 6:yn=0,fr=null,At(f,p,H,6);break;case 8:Ie(),Gr=6;break e;default:throw Error(r(462))}}ut();break}catch(mt){vt(f,mt)}while(!0);return Ya=Qn=null,G.H=D,G.A=L,wr=O,er!==null?0:(ri=null,vr=0,Xa(),Gr)}function ut(){for(;er!==null&&!Ae();)Ge(er)}function Ge(f){var p=Lg(f.alternate,f,ra);f.memoizedProps=f.pendingProps,p===null?mn(f):er=p}function ct(f){var p=f,O=p.alternate;switch(p.tag){case 15:case 0:p=rl(O,p,p.pendingProps,p.type,void 0,vr);break;case 11:p=rl(O,p,p.pendingProps,p.type.render,p.ref,vr);break;case 5:Oy(p);default:Df(O,p),p=er=du(p,ra),p=Lg(O,p,ra)}f.memoizedProps=f.pendingProps,p===null?mn(f):er=p}function At(f,p,O,D){Ya=Qn=null,Oy(p),gd=null,Gu=0;var L=p.return;try{if(vl(f,L,p,O,vr)){Gr=1,om(f,wu(O,f.current)),er=null;return}}catch(H){if(L!==null)throw er=L,H;Gr=1,om(f,wu(O,f.current)),er=null;return}p.flags&32768?(je||D===1?f=!0:ur||(vr&536870912)!==0?f=!1:(Xn=f=!0,(D===2||D===9||D===3||D===6)&&(D=Ja.current,D!==null&&D.tag===13&&(D.flags|=16384))),ci(p,f)):mn(p)}function mn(f){var p=f;do{if((p.flags&32768)!==0){ci(p,Xn);return}f=p.return;var O=Bg(p.alternate,p,ra);if(O!==null){er=O;return}if(p=p.sibling,p!==null){er=p;return}er=p=f}while(p!==null);Gr===0&&(Gr=5)}function ci(f,p){do{var O=Ad(f.alternate,f);if(O!==null){O.flags&=32767,er=O;return}if(O=f.return,O!==null&&(O.flags|=32768,O.subtreeFlags=0,O.deletions=null),!p&&(f=f.sibling,f!==null)){er=f;return}er=f=O}while(f!==null);Gr=6,er=null}function Tn(f,p,O,D,L,H,ce,Ee,Le){f.cancelPendingCommit=null;do ym();while(ia!==0);if((wr&6)!==0)throw Error(r(327));if(p!==null){if(p===f.current)throw Error(r(177));if(H=p.lanes|p.childLanes,H|=Ts,nt(f,O,H,ce,Ee,Le),f===ri&&(er=ri=null,vr=0),_o=p,js=f,rs=O,Af=H,Fh=L,jg=D,(p.subtreeFlags&10256)!==0||(p.flags&10256)!==0?(f.callbackNode=null,f.callbackPriority=0,Z5(st,function(){return u4(),null})):(f.callbackNode=null,f.callbackPriority=0),D=(p.flags&13878)!==0,(p.subtreeFlags&13878)!==0||D){D=G.T,G.T=null,L=J.p,J.p=2,ce=wr,wr|=4;try{qp(f,p,O)}finally{wr=ce,J.p=L,G.T=D}}ia=1,Ar(),za(),_r()}}function Ar(){if(ia===1){ia=0;var f=js,p=_o,O=(p.flags&13878)!==0;if((p.subtreeFlags&13878)!==0||O){O=G.T,G.T=null;var D=J.p;J.p=2;var L=wr;wr|=4;try{kd(p,f);var H=v4,ce=G0(f.containerInfo),Ee=H.focusedElem,Le=H.selectionRange;if(ce!==Ee&&Ee&&Ee.ownerDocument&&gr(Ee.ownerDocument.documentElement,Ee)){if(Le!==null&&bf(Ee)){var at=Le.start,mt=Le.end;if(mt===void 0&&(mt=at),"selectionStart"in Ee)Ee.selectionStart=at,Ee.selectionEnd=Math.min(mt,Ee.value.length);else{var St=Ee.ownerDocument||document,lt=St&&St.defaultView||window;if(lt.getSelection){var ft=lt.getSelection(),cn=Ee.textContent.length,Rn=Math.min(Le.start,cn),Ii=Le.end===void 0?Rn:Math.min(Le.end,cn);!ft.extend&&Rn>Ii&&(ce=Ii,Ii=Rn,Rn=ce);var Ke=Y0(Ee,Rn),Ve=Y0(Ee,Ii);if(Ke&&Ve&&(ft.rangeCount!==1||ft.anchorNode!==Ke.node||ft.anchorOffset!==Ke.offset||ft.focusNode!==Ve.node||ft.focusOffset!==Ve.offset)){var it=St.createRange();it.setStart(Ke.node,Ke.offset),ft.removeAllRanges(),Rn>Ii?(ft.addRange(it),ft.extend(Ve.node,Ve.offset)):(it.setEnd(Ve.node,Ve.offset),ft.addRange(it))}}}}for(St=[],ft=Ee;ft=ft.parentNode;)ft.nodeType===1&&St.push({element:ft,left:ft.scrollLeft,top:ft.scrollTop});for(typeof Ee.focus=="function"&&Ee.focus(),Ee=0;Ee<St.length;Ee++){var yt=St[Ee];yt.element.scrollLeft=yt.left,yt.element.scrollTop=yt.top}}Yb=!!Hy,v4=Hy=null}finally{wr=L,J.p=D,G.T=O}}f.current=p,ia=2}}function za(){if(ia===2){ia=0;var f=js,p=_o,O=(p.flags&8772)!==0;if((p.subtreeFlags&8772)!==0||O){O=G.T,G.T=null;var D=J.p;J.p=2;var L=wr;wr|=4;try{Qy(f,p.alternate,p)}finally{wr=L,J.p=D,G.T=O}}ia=3}}function _r(){if(ia===4||ia===3){ia=0,Ue();var f=js,p=_o,O=rs,D=jg;(p.subtreeFlags&10256)!==0||(p.flags&10256)!==0?ia=5:(ia=0,_o=js=null,Bc(f,f.pendingLanes));var L=f.pendingLanes;if(L===0&&(Lc=null),Lt(O),p=p.stateNode,rn&&typeof rn.onCommitFiberRoot=="function")try{rn.onCommitFiberRoot(zt,p,void 0,(p.current.flags&128)===128)}catch{}if(D!==null){p=G.T,L=J.p,J.p=2,G.T=null;try{for(var H=f.onRecoverableError,ce=0;ce<D.length;ce++){var Ee=D[ce];H(Ee.value,{componentStack:Ee.stack})}}finally{G.T=p,J.p=L}}(rs&3)!==0&&ym(),Pd(f),L=f.pendingLanes,(O&261930)!==0&&(L&42)!==0?f===Ih?Nh++:(Nh=0,Ih=f):Nh=0,Vy(0)}}function Bc(f,p){(f.pooledCacheLanes&=p)===0&&(p=f.pooledCache,p!=null&&(f.pooledCache=null,Pu(p)))}function ym(){return Ar(),za(),_r(),u4()}function u4(){if(ia!==5)return!1;var f=js,p=Af;Af=0;var O=Lt(rs),D=G.T,L=J.p;try{J.p=32>O?32:O,G.T=null,O=Fh,Fh=null;var H=js,ce=rs;if(ia=0,_o=js=null,rs=0,(wr&6)!==0)throw Error(r(331));var Ee=wr;if(wr|=4,Mh(H.current),na(H,H.current,ce,O),wr=Ee,Vy(0,!1),rn&&typeof rn.onPostCommitFiberRoot=="function")try{rn.onPostCommitFiberRoot(zt,H)}catch{}return!0}finally{J.p=L,G.T=D,Bc(f,p)}}function l4(f,p,O){p=wu(O,p),p=By(f.stateNode,p,2),f=Yo(f,p,2),f!==null&&(He(f,2),Pd(f))}function Ci(f,p,O){if(f.tag===3)l4(f,f,O);else for(;p!==null;){if(p.tag===3){l4(p,f,O);break}else if(p.tag===1){var D=p.stateNode;if(typeof p.type.getDerivedStateFromError=="function"||typeof D.componentDidCatch=="function"&&(Lc===null||!Lc.has(D))){f=wu(O,f),O=zl(2),D=Yo(p,O,2),D!==null&&(nl(O,D,p,f),He(D,2),Pd(D));break}}p=p.return}}function o4(f,p,O){var D=f.pingCache;if(D===null){D=f.pingCache=new Ug;var L=new Set;D.set(p,L)}else L=D.get(p),L===void 0&&(L=new Set,D.set(p,L));L.has(O)||(bi=!0,L.add(O),f=U5.bind(null,f,p,O),p.then(f,f))}function U5(f,p,O){var D=f.pingCache;D!==null&&D.delete(p),f.pingedLanes|=f.suspendedLanes&O,f.warmLanes&=~O,ri===f&&(vr&O)===O&&(Gr===4||Gr===3&&(vr&62914560)===vr&&0>Ze()-Ic?(wr&2)===0&&We(f,0):Vs|=O,xo===vr&&(xo=0)),Pd(f)}function qy(f,p){p===0&&(p=zr()),f=Xu(f,p),f!==null&&(He(f,p),Pd(f))}function Nb(f){var p=f.memoizedState,O=0;p!==null&&(O=p.retryLane),qy(f,O)}function j5(f,p){var O=0;switch(f.tag){case 31:case 13:var D=f.stateNode,L=f.memoizedState;L!==null&&(O=L.retryLane);break;case 19:D=f.stateNode;break;case 22:D=f.stateNode._retryCache;break;default:throw Error(r(314))}D!==null&&D.delete(p),qy(f,O)}function Z5(f,p){return Oe(f,p)}var Zg=null,bm=null,s4=!1,Ib=!1,c4=!1,Zp=0;function Pd(f){f!==bm&&f.next===null&&(bm===null?Zg=bm=f:bm=bm.next=f),Ib=!0,s4||(s4=!0,X5())}function Vy(f,p){if(!c4&&Ib){c4=!0;do for(var O=!1,D=Zg;D!==null;){if(f!==0){var L=D.pendingLanes;if(L===0)var H=0;else{var ce=D.suspendedLanes,Ee=D.pingedLanes;H=(1<<31-Fe(42|f)+1)-1,H&=L&~(ce&~Ee),H=H&201326741?H&201326741|1:H?H|2:0}H!==0&&(O=!0,Dx(D,H))}else H=vr,H=sr(D,D===ri?H:0,D.cancelPendingCommit!==null||D.timeoutHandle!==-1),(H&3)===0||ar(D,H)||(O=!0,Dx(D,H));D=D.next}while(O);c4=!1}}function H5(){xx()}function xx(){Ib=s4=!1;var f=0;Zp!==0&&G5()&&(f=Zp);for(var p=Ze(),O=null,D=Zg;D!==null;){var L=D.next,H=_x(D,p);H===0?(D.next=null,O===null?Zg=L:O.next=L,L===null&&(bm=O)):(O=D,(f!==0||(H&3)!==0)&&(Ib=!0)),D=L}ia!==0&&ia!==5||Vy(f),Zp!==0&&(Zp=0)}function _x(f,p){for(var O=f.suspendedLanes,D=f.pingedLanes,L=f.expirationTimes,H=f.pendingLanes&-62914561;0<H;){var ce=31-Fe(H),Ee=1<<ce,Le=L[ce];Le===-1?((Ee&O)===0||(Ee&D)!==0)&&(L[ce]=Dr(Ee,p)):Le<=p&&(f.expiredLanes|=Ee),H&=~Ee}if(p=ri,O=vr,O=sr(f,f===p?O:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),D=f.callbackNode,O===0||f===p&&(yn===2||yn===9)||f.cancelPendingCommit!==null)return D!==null&&D!==null&&$e(D),f.callbackNode=null,f.callbackPriority=0;if((O&3)===0||ar(f,O)){if(p=O&-O,p===f.callbackPriority)return p;switch(D!==null&&$e(D),Lt(O)){case 2:case 8:O=ze;break;case 32:O=st;break;case 268435456:O=Nt;break;default:O=st}return D=Ex.bind(null,f),O=Oe(O,D),f.callbackPriority=p,f.callbackNode=O,p}return D!==null&&D!==null&&$e(D),f.callbackPriority=2,f.callbackNode=null,2}function Ex(f,p){if(ia!==0&&ia!==5)return f.callbackNode=null,f.callbackPriority=0,null;var O=f.callbackNode;if(ym()&&f.callbackNode!==O)return null;var D=vr;return D=sr(f,f===ri?D:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),D===0?null:(A(f,D,p),_x(f,Ze()),f.callbackNode!=null&&f.callbackNode===O?Ex.bind(null,f):null)}function Dx(f,p){if(ym())return null;A(f,p,!0)}function X5(){Mx(function(){(wr&6)!==0?Oe(Me,H5):xx()})}function Zs(){if(Zp===0){var f=xf;f===0&&(f=an,an<<=1,(an&261888)===0&&(an=256)),Zp=f}return Zp}function $x(f){return f==null||typeof f=="symbol"||typeof f=="boolean"?null:typeof f=="function"?f:mf(""+f)}function Cx(f,p){var O=p.ownerDocument.createElement("input");return O.name=p.name,O.value=p.value,f.id&&O.setAttribute("form",f.id),p.parentNode.insertBefore(O,p),f=new FormData(f),O.parentNode.removeChild(O),f}function Om(f,p,O,D,L){if(p==="submit"&&O&&O.stateNode===L){var H=$x((L[on]||null).action),ce=D.submitter;ce&&(p=(p=ce[on]||null)?$x(p.formAction):ce.getAttribute("formAction"),p!==null&&(H=p,ce=null));var Ee=new td("action","action",null,D,L);f.push({event:Ee,listeners:[{instance:null,listener:function(){if(D.defaultPrevented){if(Zp!==0){var Le=ce?Cx(L,ce):new FormData(L);xd(O,{pending:!0,data:Le,method:L.method,action:H},null,Le)}}else typeof H=="function"&&(Ee.preventDefault(),Le=ce?Cx(L,ce):new FormData(L),xd(O,{pending:!0,data:Le,method:L.method,action:H},H,Le))},currentTarget:L}]})}}for(var Kn=0;Kn<gh.length;Kn++){var f4=gh[Kn],is=f4.toLowerCase(),iu=f4[0].toUpperCase()+f4.slice(1);fa(is,"on"+iu)}fa(xi,"onAnimationEnd"),fa(fd,"onAnimationIteration"),fa(Tl,"onAnimationStart"),fa("dblclick","onDoubleClick"),fa("focusin","onFocus"),fa("focusout","onBlur"),fa(oo,"onTransitionRun"),fa(so,"onTransitionStart"),fa(Of,"onTransitionCancel"),fa(xr,"onTransitionEnd"),mi("onMouseEnter",["mouseout","mouseover"]),mi("onMouseLeave",["mouseout","mouseover"]),mi("onPointerEnter",["pointerout","pointerover"]),mi("onPointerLeave",["pointerout","pointerover"]),Hn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Hn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Hn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Hn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Hn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Hn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Uy="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Hp=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Uy));function wx(f,p){p=(p&4)!==0;for(var O=0;O<f.length;O++){var D=f[O],L=D.event;D=D.listeners;e:{var H=void 0;if(p)for(var ce=D.length-1;0<=ce;ce--){var Ee=D[ce],Le=Ee.instance,at=Ee.currentTarget;if(Ee=Ee.listener,Le!==H&&L.isPropagationStopped())break e;H=Ee,L.currentTarget=at;try{H(L)}catch(mt){Vo(mt)}L.currentTarget=null,H=Le}else for(ce=0;ce<D.length;ce++){if(Ee=D[ce],Le=Ee.instance,at=Ee.currentTarget,Ee=Ee.listener,Le!==H&&L.isPropagationStopped())break e;H=Ee,L.currentTarget=at;try{H(L)}catch(mt){Vo(mt)}L.currentTarget=null,H=Le}}}}function Er(f,p){var O=p[ki];O===void 0&&(O=p[ki]=new Set);var D=f+"__bubble";O.has(D)||(Bb(p,f,2,!1),O.add(D))}function d4(f,p,O){var D=0;p&&(D|=4),Bb(O,f,D,p)}var Lb="_reactListening"+Math.random().toString(36).slice(2);function h4(f){if(!f[Lb]){f[Lb]=!0,$u.forEach(function(O){O!=="selectionchange"&&(Hp.has(O)||d4(O,!1,f),d4(O,!0,f))});var p=f.nodeType===9?f:f.ownerDocument;p===null||p[Lb]||(p[Lb]=!0,d4("selectionchange",!1,p))}}function Bb(f,p,O,D){switch(e_(p)){case 2:var L=cw;break;case 8:L=fw;break;default:L=D4}O=L.bind(null,p,O,f),L=void 0,!Sp||p!=="touchstart"&&p!=="touchmove"&&p!=="wheel"||(L=!0),D?L!==void 0?f.addEventListener(p,O,{capture:!0,passive:L}):f.addEventListener(p,O,!0):L!==void 0?f.addEventListener(p,O,{passive:L}):f.addEventListener(p,O,!1)}function p4(f,p,O,D,L){var H=D;if((p&1)===0&&(p&2)===0&&D!==null)e:for(;;){if(D===null)return;var ce=D.tag;if(ce===3||ce===4){var Ee=D.stateNode.containerInfo;if(Ee===L)break;if(ce===4)for(ce=D.return;ce!==null;){var Le=ce.tag;if((Le===3||Le===4)&&ce.stateNode.containerInfo===L)return;ce=ce.return}for(;Ee!==null;){if(ce=Zr(Ee),ce===null)return;if(Le=ce.tag,Le===5||Le===6||Le===26||Le===27){D=H=ce;continue e}Ee=Ee.parentNode}}D=D.return}Op(function(){var at=H,mt=oh(O),St=[];e:{var lt=qo.get(f);if(lt!==void 0){var ft=td,cn=f;switch(f){case"keypress":if(mc(O)===0)break e;case"keydown":case"keyup":ft=Qo;break;case"focusin":cn="focus",ft=id;break;case"focusout":cn="blur",ft=id;break;case"beforeblur":case"afterblur":ft=id;break;case"click":if(O.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ft=xp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ft=q0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ft=ws;break;case xi:case fd:case Tl:ft=vc;break;case xr:ft=dy;break;case"scroll":case"scrollend":ft=nd;break;case"wheel":ft=ao;break;case"copy":case"cut":case"paste":ft=ca;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ft=Dp;break;case"toggle":case"beforetoggle":ft=Z0}var Rn=(p&4)!==0,Ii=!Rn&&(f==="scroll"||f==="scrollend"),Ke=Rn?lt!==null?lt+"Capture":null:lt;Rn=[];for(var Ve=at,it;Ve!==null;){var yt=Ve;if(it=yt.stateNode,yt=yt.tag,yt!==5&&yt!==26&&yt!==27||it===null||Ke===null||(yt=Es(Ve,Ke),yt!=null&&Rn.push(Hs(Ve,yt,it))),Ii)break;Ve=Ve.return}0<Rn.length&&(lt=new ft(lt,cn,null,O,mt),St.push({event:lt,listeners:Rn}))}}if((p&7)===0){e:{if(lt=f==="mouseover"||f==="pointerover",ft=f==="mouseout"||f==="pointerout",lt&&O!==lh&&(cn=O.relatedTarget||O.fromElement)&&(Zr(cn)||cn[mr]))break e;if((ft||lt)&&(lt=mt.window===mt?mt:(lt=mt.ownerDocument)?lt.defaultView||lt.parentWindow:window,ft?(cn=O.relatedTarget||O.toElement,ft=at,cn=cn?Zr(cn):null,cn!==null&&(Ii=a(cn),Rn=cn.tag,cn!==Ii||Rn!==5&&Rn!==27&&Rn!==6)&&(cn=null)):(ft=null,cn=at),ft!==cn)){if(Rn=xp,yt="onMouseLeave",Ke="onMouseEnter",Ve="mouse",(f==="pointerout"||f==="pointerover")&&(Rn=Dp,yt="onPointerLeave",Ke="onPointerEnter",Ve="pointer"),Ii=ft==null?lt:sa(ft),it=cn==null?lt:sa(cn),lt=new Rn(yt,Ve+"leave",ft,O,mt),lt.target=Ii,lt.relatedTarget=it,yt=null,Zr(mt)===at&&(Rn=new Rn(Ke,Ve+"enter",cn,O,mt),Rn.target=it,Rn.relatedTarget=Ii,yt=Rn),Ii=yt,ft&&cn)t:{for(Rn=Qb,Ke=ft,Ve=cn,it=0,yt=Ke;yt;yt=Rn(yt))it++;yt=0;for(var _n=Ve;_n;_n=Rn(_n))yt++;for(;0<it-yt;)Ke=Rn(Ke),it--;for(;0<yt-it;)Ve=Rn(Ve),yt--;for(;it--;){if(Ke===Ve||Ve!==null&&Ke===Ve.alternate){Rn=Ke;break t}Ke=Rn(Ke),Ve=Rn(Ve)}Rn=null}else Rn=null;ft!==null&&ga(St,lt,ft,Rn,!1),cn!==null&&Ii!==null&&ga(St,Ii,cn,Rn,!0)}}e:{if(lt=at?sa(at):window,ft=lt.nodeName&&lt.nodeName.toLowerCase(),ft==="select"||ft==="input"&&lt.type==="file")var ii=H0;else if(Rp(lt))if(su)ii=Pi;else{ii=ml;var pn=Gn}else ft=lt.nodeName,!ft||ft.toLowerCase()!=="input"||lt.type!=="checkbox"&&lt.type!=="radio"?at&&pf(at.elementType)&&(ii=H0):ii=pg;if(ii&&(ii=ii(f,at))){sd(St,ii,O,mt);break e}pn&&pn(f,lt,at),f==="focusout"&&at&&lt.type==="number"&&at.memoizedProps.value!=null&&ed(lt,"number",lt.value)}switch(pn=at?sa(at):window,f){case"focusin":(Rp(pn)||pn.contentEditable==="true")&&(Xe=pn,pt=at,rt=null);break;case"focusout":rt=pt=Xe=null;break;case"mousedown":Bt=!0;break;case"contextmenu":case"mouseup":case"dragend":Bt=!1,En(St,O,mt);break;case"selectionchange":if(bc)break;case"keydown":case"keyup":En(St,O,mt)}var lr;if(yc)e:{switch(f){case"compositionstart":var Tr="onCompositionStart";break e;case"compositionend":Tr="onCompositionEnd";break e;case"compositionupdate":Tr="onCompositionUpdate";break e}Tr=void 0}else As?ld(f,O)&&(Tr="onCompositionEnd"):f==="keydown"&&O.keyCode===229&&(Tr="onCompositionStart");Tr&&(Ia&&O.locale!=="ko"&&(As||Tr!=="onCompositionStart"?Tr==="onCompositionEnd"&&As&&(lr=Ln()):(pc=mt,ch="value"in pc?pc.value:pc.textContent,As=!0)),pn=jy(at,Tr),0<pn.length&&(Tr=new Na(Tr,f,null,O,mt),St.push({event:Tr,listeners:pn}),lr?Tr.data=lr:(lr=od(O),lr!==null&&(Tr.data=lr)))),(lr=Rs?ou(f,O):wp(f,O))&&(Tr=jy(at,"onBeforeInput"),0<Tr.length&&(pn=new Na("onBeforeInput","beforeinput",null,O,mt),St.push({event:pn,listeners:Tr}),pn.data=lr)),Om(St,f,at,O,mt)}wx(St,p)})}function Hs(f,p,O){return{instance:f,listener:p,currentTarget:O}}function jy(f,p){for(var O=p+"Capture",D=[];f!==null;){var L=f,H=L.stateNode;if(L=L.tag,L!==5&&L!==26&&L!==27||H===null||(L=Es(f,O),L!=null&&D.unshift(Hs(f,L,H)),L=Es(f,p),L!=null&&D.push(Hs(f,L,H))),f.tag===3)return D;f=f.return}return[]}function Qb(f){if(f===null)return null;do f=f.return;while(f&&f.tag!==5&&f.tag!==27);return f||null}function ga(f,p,O,D,L){for(var H=p._reactName,ce=[];O!==null&&O!==D;){var Ee=O,Le=Ee.alternate,at=Ee.stateNode;if(Ee=Ee.tag,Le!==null&&Le===D)break;Ee!==5&&Ee!==26&&Ee!==27||at===null||(Le=at,L?(at=Es(O,H),at!=null&&ce.unshift(Hs(O,at,Le))):L||(at=Es(O,H),at!=null&&ce.push(Hs(O,at,Le)))),O=O.return}ce.length!==0&&f.push({event:p,listeners:ce})}var qa=/\r\n?/g,Rx=/\u0000|\uFFFD/g;function Ax(f){return(typeof f=="string"?f:""+f).replace(qa,`
`).replace(Rx,"")}function Tx(f,p){return p=Ax(p),Ax(f)===p}function Ni(f,p,O,D,L,H){switch(O){case"children":typeof D=="string"?p==="body"||p==="textarea"&&D===""||Cu(f,D):(typeof D=="number"||typeof D=="bigint")&&p!=="body"&&Cu(f,""+D);break;case"className":cc(f,"class",D);break;case"tabIndex":cc(f,"tabindex",D);break;case"dir":case"role":case"viewBox":case"width":case"height":cc(f,O,D);break;case"style":B0(f,D,H);break;case"data":if(p!=="object"){cc(f,"data",D);break}case"src":case"href":if(D===""&&(p!=="a"||O!=="href")){f.removeAttribute(O);break}if(D==null||typeof D=="function"||typeof D=="symbol"||typeof D=="boolean"){f.removeAttribute(O);break}D=mf(""+D),f.setAttribute(O,D);break;case"action":case"formAction":if(typeof D=="function"){f.setAttribute(O,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof H=="function"&&(O==="formAction"?(p!=="input"&&Ni(f,p,"name",L.name,L,null),Ni(f,p,"formEncType",L.formEncType,L,null),Ni(f,p,"formMethod",L.formMethod,L,null),Ni(f,p,"formTarget",L.formTarget,L,null)):(Ni(f,p,"encType",L.encType,L,null),Ni(f,p,"method",L.method,L,null),Ni(f,p,"target",L.target,L,null)));if(D==null||typeof D=="symbol"||typeof D=="boolean"){f.removeAttribute(O);break}D=mf(""+D),f.setAttribute(O,D);break;case"onClick":D!=null&&(f.onclick=io);break;case"onScroll":D!=null&&Er("scroll",f);break;case"onScrollEnd":D!=null&&Er("scrollend",f);break;case"dangerouslySetInnerHTML":if(D!=null){if(typeof D!="object"||!("__html"in D))throw Error(r(61));if(O=D.__html,O!=null){if(L.children!=null)throw Error(r(60));f.innerHTML=O}}break;case"multiple":f.multiple=D&&typeof D!="function"&&typeof D!="symbol";break;case"muted":f.muted=D&&typeof D!="function"&&typeof D!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(D==null||typeof D=="function"||typeof D=="boolean"||typeof D=="symbol"){f.removeAttribute("xlink:href");break}O=mf(""+D),f.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",O);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":D!=null&&typeof D!="function"&&typeof D!="symbol"?f.setAttribute(O,""+D):f.removeAttribute(O);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":D&&typeof D!="function"&&typeof D!="symbol"?f.setAttribute(O,""):f.removeAttribute(O);break;case"capture":case"download":D===!0?f.setAttribute(O,""):D!==!1&&D!=null&&typeof D!="function"&&typeof D!="symbol"?f.setAttribute(O,D):f.removeAttribute(O);break;case"cols":case"rows":case"size":case"span":D!=null&&typeof D!="function"&&typeof D!="symbol"&&!isNaN(D)&&1<=D?f.setAttribute(O,D):f.removeAttribute(O);break;case"rowSpan":case"start":D==null||typeof D=="function"||typeof D=="symbol"||isNaN(D)?f.removeAttribute(O):f.setAttribute(O,D);break;case"popover":Er("beforetoggle",f),Er("toggle",f),Ea(f,"popover",D);break;case"xlinkActuate":Pr(f,"http://www.w3.org/1999/xlink","xlink:actuate",D);break;case"xlinkArcrole":Pr(f,"http://www.w3.org/1999/xlink","xlink:arcrole",D);break;case"xlinkRole":Pr(f,"http://www.w3.org/1999/xlink","xlink:role",D);break;case"xlinkShow":Pr(f,"http://www.w3.org/1999/xlink","xlink:show",D);break;case"xlinkTitle":Pr(f,"http://www.w3.org/1999/xlink","xlink:title",D);break;case"xlinkType":Pr(f,"http://www.w3.org/1999/xlink","xlink:type",D);break;case"xmlBase":Pr(f,"http://www.w3.org/XML/1998/namespace","xml:base",D);break;case"xmlLang":Pr(f,"http://www.w3.org/XML/1998/namespace","xml:lang",D);break;case"xmlSpace":Pr(f,"http://www.w3.org/XML/1998/namespace","xml:space",D);break;case"is":Ea(f,"is",D);break;case"innerText":case"textContent":break;default:(!(2<O.length)||O[0]!=="o"&&O[0]!=="O"||O[1]!=="n"&&O[1]!=="N")&&(O=Q0.get(O)||O,Ea(f,O,D))}}function m4(f,p,O,D,L,H){switch(O){case"style":B0(f,D,H);break;case"dangerouslySetInnerHTML":if(D!=null){if(typeof D!="object"||!("__html"in D))throw Error(r(61));if(O=D.__html,O!=null){if(L.children!=null)throw Error(r(60));f.innerHTML=O}}break;case"children":typeof D=="string"?Cu(f,D):(typeof D=="number"||typeof D=="bigint")&&Cu(f,""+D);break;case"onScroll":D!=null&&Er("scroll",f);break;case"onScrollEnd":D!=null&&Er("scrollend",f);break;case"onClick":D!=null&&(f.onclick=io);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ro.hasOwnProperty(O))e:{if(O[0]==="o"&&O[1]==="n"&&(L=O.endsWith("Capture"),p=O.slice(2,L?O.length-7:void 0),H=f[on]||null,H=H!=null?H[O]:null,typeof H=="function"&&f.removeEventListener(p,H,L),typeof D=="function")){typeof H!="function"&&H!==null&&(O in f?f[O]=null:f.hasAttribute(O)&&f.removeAttribute(O)),f.addEventListener(p,D,L);break e}O in f?f[O]=D:D===!0?f.setAttribute(O,""):Ea(f,O,D)}}}function Sl(f,p,O){switch(p){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Er("error",f),Er("load",f);var D=!1,L=!1,H;for(H in O)if(O.hasOwnProperty(H)){var ce=O[H];if(ce!=null)switch(H){case"src":D=!0;break;case"srcSet":L=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,p));default:Ni(f,p,H,ce,O,null)}}L&&Ni(f,p,"srcSet",O.srcSet,O,null),D&&Ni(f,p,"src",O.src,O,null);return;case"input":Er("invalid",f);var Ee=H=ce=L=null,Le=null,at=null;for(D in O)if(O.hasOwnProperty(D)){var mt=O[D];if(mt!=null)switch(D){case"name":L=mt;break;case"type":ce=mt;break;case"checked":Le=mt;break;case"defaultChecked":at=mt;break;case"value":H=mt;break;case"defaultValue":Ee=mt;break;case"children":case"dangerouslySetInnerHTML":if(mt!=null)throw Error(r(137,p));break;default:Ni(f,p,D,mt,O,null)}}Os(f,H,Ee,Le,at,ce,L,!1);return;case"select":Er("invalid",f),D=ce=H=null;for(L in O)if(O.hasOwnProperty(L)&&(Ee=O[L],Ee!=null))switch(L){case"value":H=Ee;break;case"defaultValue":ce=Ee;break;case"multiple":D=Ee;default:Ni(f,p,L,Ee,O,null)}p=H,O=ce,f.multiple=!!D,p!=null?fc(f,!!D,p,!1):O!=null&&fc(f,!!D,O,!0);return;case"textarea":Er("invalid",f),H=L=D=null;for(ce in O)if(O.hasOwnProperty(ce)&&(Ee=O[ce],Ee!=null))switch(ce){case"value":D=Ee;break;case"defaultValue":L=Ee;break;case"children":H=Ee;break;case"dangerouslySetInnerHTML":if(Ee!=null)throw Error(r(91));break;default:Ni(f,p,ce,Ee,O,null)}No(f,D,L,H);return;case"option":for(Le in O)if(O.hasOwnProperty(Le)&&(D=O[Le],D!=null))switch(Le){case"selected":f.selected=D&&typeof D!="function"&&typeof D!="symbol";break;default:Ni(f,p,Le,D,O,null)}return;case"dialog":Er("beforetoggle",f),Er("toggle",f),Er("cancel",f),Er("close",f);break;case"iframe":case"object":Er("load",f);break;case"video":case"audio":for(D=0;D<Uy.length;D++)Er(Uy[D],f);break;case"image":Er("error",f),Er("load",f);break;case"details":Er("toggle",f);break;case"embed":case"source":case"link":Er("error",f),Er("load",f);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(at in O)if(O.hasOwnProperty(at)&&(D=O[at],D!=null))switch(at){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,p));default:Ni(f,p,at,D,O,null)}return;default:if(pf(p)){for(mt in O)O.hasOwnProperty(mt)&&(D=O[mt],D!==void 0&&m4(f,p,mt,D,O,void 0));return}}for(Ee in O)O.hasOwnProperty(Ee)&&(D=O[Ee],D!=null&&Ni(f,p,Ee,D,O,null))}function Y5(f,p,O,D){switch(p){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var L=null,H=null,ce=null,Ee=null,Le=null,at=null,mt=null;for(ft in O){var St=O[ft];if(O.hasOwnProperty(ft)&&St!=null)switch(ft){case"checked":break;case"value":break;case"defaultValue":Le=St;default:D.hasOwnProperty(ft)||Ni(f,p,ft,null,D,St)}}for(var lt in D){var ft=D[lt];if(St=O[lt],D.hasOwnProperty(lt)&&(ft!=null||St!=null))switch(lt){case"type":H=ft;break;case"name":L=ft;break;case"checked":at=ft;break;case"defaultChecked":mt=ft;break;case"value":ce=ft;break;case"defaultValue":Ee=ft;break;case"children":case"dangerouslySetInnerHTML":if(ft!=null)throw Error(r(137,p));break;default:ft!==St&&Ni(f,p,lt,ft,D,St)}}Jf(f,ce,Ee,Le,at,mt,H,L);return;case"select":ft=ce=Ee=lt=null;for(H in O)if(Le=O[H],O.hasOwnProperty(H)&&Le!=null)switch(H){case"value":break;case"multiple":ft=Le;default:D.hasOwnProperty(H)||Ni(f,p,H,null,D,Le)}for(L in D)if(H=D[L],Le=O[L],D.hasOwnProperty(L)&&(H!=null||Le!=null))switch(L){case"value":lt=H;break;case"defaultValue":Ee=H;break;case"multiple":ce=H;default:H!==Le&&Ni(f,p,L,H,D,Le)}p=Ee,O=ce,D=ft,lt!=null?fc(f,!!O,lt,!1):!!D!=!!O&&(p!=null?fc(f,!!O,p,!0):fc(f,!!O,O?[]:"",!1));return;case"textarea":ft=lt=null;for(Ee in O)if(L=O[Ee],O.hasOwnProperty(Ee)&&L!=null&&!D.hasOwnProperty(Ee))switch(Ee){case"value":break;case"children":break;default:Ni(f,p,Ee,null,D,L)}for(ce in D)if(L=D[ce],H=O[ce],D.hasOwnProperty(ce)&&(L!=null||H!=null))switch(ce){case"value":lt=L;break;case"defaultValue":ft=L;break;case"children":break;case"dangerouslySetInnerHTML":if(L!=null)throw Error(r(91));break;default:L!==H&&Ni(f,p,ce,L,D,H)}dc(f,lt,ft);return;case"option":for(var cn in O)if(lt=O[cn],O.hasOwnProperty(cn)&&lt!=null&&!D.hasOwnProperty(cn))switch(cn){case"selected":f.selected=!1;break;default:Ni(f,p,cn,null,D,lt)}for(Le in D)if(lt=D[Le],ft=O[Le],D.hasOwnProperty(Le)&&lt!==ft&&(lt!=null||ft!=null))switch(Le){case"selected":f.selected=lt&&typeof lt!="function"&&typeof lt!="symbol";break;default:Ni(f,p,Le,lt,D,ft)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Rn in O)lt=O[Rn],O.hasOwnProperty(Rn)&&lt!=null&&!D.hasOwnProperty(Rn)&&Ni(f,p,Rn,null,D,lt);for(at in D)if(lt=D[at],ft=O[at],D.hasOwnProperty(at)&&lt!==ft&&(lt!=null||ft!=null))switch(at){case"children":case"dangerouslySetInnerHTML":if(lt!=null)throw Error(r(137,p));break;default:Ni(f,p,at,lt,D,ft)}return;default:if(pf(p)){for(var Ii in O)lt=O[Ii],O.hasOwnProperty(Ii)&&lt!==void 0&&!D.hasOwnProperty(Ii)&&m4(f,p,Ii,void 0,D,lt);for(mt in D)lt=D[mt],ft=O[mt],!D.hasOwnProperty(mt)||lt===ft||lt===void 0&&ft===void 0||m4(f,p,mt,lt,D,ft);return}}for(var Ke in O)lt=O[Ke],O.hasOwnProperty(Ke)&&lt!=null&&!D.hasOwnProperty(Ke)&&Ni(f,p,Ke,null,D,lt);for(St in D)lt=D[St],ft=O[St],!D.hasOwnProperty(St)||lt===ft||lt==null&&ft==null||Ni(f,p,St,lt,D,ft)}function g4(f){switch(f){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Zy(){if(typeof performance.getEntriesByType=="function"){for(var f=0,p=0,O=performance.getEntriesByType("resource"),D=0;D<O.length;D++){var L=O[D],H=L.transferSize,ce=L.initiatorType,Ee=L.duration;if(H&&Ee&&g4(ce)){for(ce=0,Ee=L.responseEnd,D+=1;D<O.length;D++){var Le=O[D],at=Le.startTime;if(at>Ee)break;var mt=Le.transferSize,St=Le.initiatorType;mt&&g4(St)&&(Le=Le.responseEnd,ce+=mt*(Le<Ee?1:(Ee-at)/(Le-at)))}if(--D,p+=8*(H+ce)/(L.duration/1e3),f++,10<f)break}}if(0<f)return p/f/1e6}return navigator.connection&&(f=navigator.connection.downlink,typeof f=="number")?f:5}var Hy=null,v4=null;function Xy(f){return f.nodeType===9?f:f.ownerDocument}function Yy(f){switch(f){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function as(f,p){if(f===0)switch(p){case"svg":return 1;case"math":return 2;default:return 0}return f===1&&p==="foreignObject"?0:f}function Xp(f,p){return f==="textarea"||f==="noscript"||typeof p.children=="string"||typeof p.children=="number"||typeof p.children=="bigint"||typeof p.dangerouslySetInnerHTML=="object"&&p.dangerouslySetInnerHTML!==null&&p.dangerouslySetInnerHTML.__html!=null}var y4=null;function G5(){var f=window.event;return f&&f.type==="popstate"?f===y4?!1:(y4=f,!0):(y4=null,!1)}var kx=typeof setTimeout=="function"?setTimeout:void 0,K5=typeof clearTimeout=="function"?clearTimeout:void 0,Px=typeof Promise=="function"?Promise:void 0,Mx=typeof queueMicrotask=="function"?queueMicrotask:typeof Px<"u"?function(f){return Px.resolve(null).then(f).catch(Bh)}:kx;function Bh(f){setTimeout(function(){throw f})}function zn(f){return f==="head"}function b4(f,p){var O=p,D=0;do{var L=O.nextSibling;if(f.removeChild(O),L&&L.nodeType===8)if(O=L.data,O==="/$"||O==="/&"){if(D===0){f.removeChild(L),tv(p);return}D--}else if(O==="$"||O==="$?"||O==="$~"||O==="$!"||O==="&")D++;else if(O==="html")Gy(f.ownerDocument.documentElement);else if(O==="head"){O=f.ownerDocument.head,Gy(O);for(var H=O.firstChild;H;){var ce=H.nextSibling,Ee=H.nodeName;H[Du]||Ee==="SCRIPT"||Ee==="STYLE"||Ee==="LINK"&&H.rel.toLowerCase()==="stylesheet"||O.removeChild(H),H=ce}}else O==="body"&&Gy(f.ownerDocument.body);O=L}while(O);tv(p)}function Xs(f,p){var O=f;f=0;do{var D=O.nextSibling;if(O.nodeType===1?p?(O._stashedDisplay=O.style.display,O.style.display="none"):(O.style.display=O._stashedDisplay||"",O.getAttribute("style")===""&&O.removeAttribute("style")):O.nodeType===3&&(p?(O._stashedText=O.nodeValue,O.nodeValue=""):O.nodeValue=O._stashedText||""),D&&D.nodeType===8)if(O=D.data,O==="/$"){if(f===0)break;f--}else O!=="$"&&O!=="$?"&&O!=="$~"&&O!=="$!"||f++;O=D}while(O)}function zb(f){var p=f.firstChild;for(p&&p.nodeType===10&&(p=p.nextSibling);p;){var O=p;switch(p=p.nextSibling,O.nodeName){case"HTML":case"HEAD":case"BODY":zb(O),Cl(O);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(O.rel.toLowerCase()==="stylesheet")continue}f.removeChild(O)}}function W5(f,p,O,D){for(;f.nodeType===1;){var L=O;if(f.nodeName.toLowerCase()!==p.toLowerCase()){if(!D&&(f.nodeName!=="INPUT"||f.type!=="hidden"))break}else if(D){if(!f[Du])switch(p){case"meta":if(!f.hasAttribute("itemprop"))break;return f;case"link":if(H=f.getAttribute("rel"),H==="stylesheet"&&f.hasAttribute("data-precedence"))break;if(H!==L.rel||f.getAttribute("href")!==(L.href==null||L.href===""?null:L.href)||f.getAttribute("crossorigin")!==(L.crossOrigin==null?null:L.crossOrigin)||f.getAttribute("title")!==(L.title==null?null:L.title))break;return f;case"style":if(f.hasAttribute("data-precedence"))break;return f;case"script":if(H=f.getAttribute("src"),(H!==(L.src==null?null:L.src)||f.getAttribute("type")!==(L.type==null?null:L.type)||f.getAttribute("crossorigin")!==(L.crossOrigin==null?null:L.crossOrigin))&&H&&f.hasAttribute("async")&&!f.hasAttribute("itemprop"))break;return f;default:return f}}else if(p==="input"&&f.type==="hidden"){var H=L.name==null?null:""+L.name;if(L.type==="hidden"&&f.getAttribute("name")===H)return f}else return f;if(f=Qc(f.nextSibling),f===null)break}return null}function Oi(f,p,O){if(p==="")return null;for(;f.nodeType!==3;)if((f.nodeType!==1||f.nodeName!=="INPUT"||f.type!=="hidden")&&!O||(f=Qc(f.nextSibling),f===null))return null;return f}function Fx(f,p){for(;f.nodeType!==8;)if((f.nodeType!==1||f.nodeName!=="INPUT"||f.type!=="hidden")&&!p||(f=Qc(f.nextSibling),f===null))return null;return f}function qb(f){return f.data==="$?"||f.data==="$~"}function Hg(f){return f.data==="$!"||f.data==="$?"&&f.ownerDocument.readyState!=="loading"}function J5(f,p){var O=f.ownerDocument;if(f.data==="$~")f._reactRetry=p;else if(f.data!=="$?"||O.readyState!=="loading")p();else{var D=function(){p(),O.removeEventListener("DOMContentLoaded",D)};O.addEventListener("DOMContentLoaded",D),f._reactRetry=D}}function Qc(f){for(;f!=null;f=f.nextSibling){var p=f.nodeType;if(p===1||p===3)break;if(p===8){if(p=f.data,p==="$"||p==="$!"||p==="$?"||p==="$~"||p==="&"||p==="F!"||p==="F")break;if(p==="/$"||p==="/&")return null}}return f}var O4=null;function Nx(f){f=f.nextSibling;for(var p=0;f;){if(f.nodeType===8){var O=f.data;if(O==="/$"||O==="/&"){if(p===0)return Qc(f.nextSibling);p--}else O!=="$"&&O!=="$!"&&O!=="$?"&&O!=="$~"&&O!=="&"||p++}f=f.nextSibling}return null}function Ix(f){f=f.previousSibling;for(var p=0;f;){if(f.nodeType===8){var O=f.data;if(O==="$"||O==="$!"||O==="$?"||O==="$~"||O==="&"){if(p===0)return f;p--}else O!=="/$"&&O!=="/&"||p++}f=f.previousSibling}return null}function Lx(f,p,O){switch(p=Xy(O),f){case"html":if(f=p.documentElement,!f)throw Error(r(452));return f;case"head":if(f=p.head,!f)throw Error(r(453));return f;case"body":if(f=p.body,!f)throw Error(r(454));return f;default:throw Error(r(451))}}function Gy(f){for(var p=f.attributes;p.length;)f.removeAttributeNode(p[0]);Cl(f)}var zc=new Map,Bx=new Set;function Vb(f){return typeof f.getRootNode=="function"?f.getRootNode():f.nodeType===9?f:f.ownerDocument}var Qh=J.d;J.d={f:ew,r:tw,D:S4,C:nw,L:rw,m:iw,X:us,S:ol,M:aw};function ew(){var f=Qh.f(),p=De();return f||p}function tw(f){var p=Pt(f);p!==null&&p.tag===5&&p.type==="form"?Fg(p):Qh.r(f)}var Yp=typeof document>"u"?null:document;function Qx(f,p,O){var D=Yp;if(D&&typeof p=="string"&&p){var L=ja(p);L='link[rel="'+f+'"][href="'+L+'"]',typeof O=="string"&&(L+='[crossorigin="'+O+'"]'),Bx.has(L)||(Bx.add(L),f={rel:f,crossOrigin:O,href:p},D.querySelector(L)===null&&(p=D.createElement("link"),Sl(p,"link",f),ei(p),D.head.appendChild(p)))}}function S4(f){Qh.D(f),Qx("dns-prefetch",f,null)}function nw(f,p){Qh.C(f,p),Qx("preconnect",f,p)}function rw(f,p,O){Qh.L(f,p,O);var D=Yp;if(D&&f&&p){var L='link[rel="preload"][as="'+ja(p)+'"]';p==="image"&&O&&O.imageSrcSet?(L+='[imagesrcset="'+ja(O.imageSrcSet)+'"]',typeof O.imageSizes=="string"&&(L+='[imagesizes="'+ja(O.imageSizes)+'"]')):L+='[href="'+ja(f)+'"]';var H=L;switch(p){case"style":H=Xg(f);break;case"script":H=Gg(f)}zc.has(H)||(f=d({rel:"preload",href:p==="image"&&O&&O.imageSrcSet?void 0:f,as:p},O),zc.set(H,f),D.querySelector(L)!==null||p==="style"&&D.querySelector(Yg(H))||p==="script"&&D.querySelector(Kg(H))||(p=D.createElement("link"),Sl(p,"link",f),ei(p),D.head.appendChild(p)))}}function iw(f,p){Qh.m(f,p);var O=Yp;if(O&&f){var D=p&&typeof p.as=="string"?p.as:"script",L='link[rel="modulepreload"][as="'+ja(D)+'"][href="'+ja(f)+'"]',H=L;switch(D){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":H=Gg(f)}if(!zc.has(H)&&(f=d({rel:"modulepreload",href:f},p),zc.set(H,f),O.querySelector(L)===null)){switch(D){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(O.querySelector(Kg(H)))return}D=O.createElement("link"),Sl(D,"link",f),ei(D),O.head.appendChild(D)}}}function ol(f,p,O){Qh.S(f,p,O);var D=Yp;if(D&&f){var L=Ki(D).hoistableStyles,H=Xg(f);p=p||"default";var ce=L.get(H);if(!ce){var Ee={loading:0,preload:null};if(ce=D.querySelector(Yg(H)))Ee.loading=5;else{f=d({rel:"stylesheet",href:f,"data-precedence":p},O),(O=zc.get(H))&&x4(f,O);var Le=ce=D.createElement("link");ei(Le),Sl(Le,"link",f),Le._p=new Promise(function(at,mt){Le.onload=at,Le.onerror=mt}),Le.addEventListener("load",function(){Ee.loading|=1}),Le.addEventListener("error",function(){Ee.loading|=2}),Ee.loading|=4,Ub(ce,p,D)}ce={type:"stylesheet",instance:ce,count:1,state:Ee},L.set(H,ce)}}}function us(f,p){Qh.X(f,p);var O=Yp;if(O&&f){var D=Ki(O).hoistableScripts,L=Gg(f),H=D.get(L);H||(H=O.querySelector(Kg(L)),H||(f=d({src:f,async:!0},p),(p=zc.get(L))&&jb(f,p),H=O.createElement("script"),ei(H),Sl(H,"link",f),O.head.appendChild(H)),H={type:"script",instance:H,count:1,state:null},D.set(L,H))}}function aw(f,p){Qh.M(f,p);var O=Yp;if(O&&f){var D=Ki(O).hoistableScripts,L=Gg(f),H=D.get(L);H||(H=O.querySelector(Kg(L)),H||(f=d({src:f,async:!0,type:"module"},p),(p=zc.get(L))&&jb(f,p),H=O.createElement("script"),ei(H),Sl(H,"link",f),O.head.appendChild(H)),H={type:"script",instance:H,count:1,state:null},D.set(L,H))}}function zx(f,p,O,D){var L=(L=ae.current)?Vb(L):null;if(!L)throw Error(r(446));switch(f){case"meta":case"title":return null;case"style":return typeof O.precedence=="string"&&typeof O.href=="string"?(p=Xg(O.href),O=Ki(L).hoistableStyles,D=O.get(p),D||(D={type:"style",instance:null,count:0,state:null},O.set(p,D)),D):{type:"void",instance:null,count:0,state:null};case"link":if(O.rel==="stylesheet"&&typeof O.href=="string"&&typeof O.precedence=="string"){f=Xg(O.href);var H=Ki(L).hoistableStyles,ce=H.get(f);if(ce||(L=L.ownerDocument||L,ce={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},H.set(f,ce),(H=L.querySelector(Yg(f)))&&!H._p&&(ce.instance=H,ce.state.loading=5),zc.has(f)||(O={rel:"preload",as:"style",href:O.href,crossOrigin:O.crossOrigin,integrity:O.integrity,media:O.media,hrefLang:O.hrefLang,referrerPolicy:O.referrerPolicy},zc.set(f,O),H||uw(L,f,O,ce.state))),p&&D===null)throw Error(r(528,""));return ce}if(p&&D!==null)throw Error(r(529,""));return null;case"script":return p=O.async,O=O.src,typeof O=="string"&&p&&typeof p!="function"&&typeof p!="symbol"?(p=Gg(O),O=Ki(L).hoistableScripts,D=O.get(p),D||(D={type:"script",instance:null,count:0,state:null},O.set(p,D)),D):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,f))}}function Xg(f){return'href="'+ja(f)+'"'}function Yg(f){return'link[rel="stylesheet"]['+f+"]"}function qx(f){return d({},f,{"data-precedence":f.precedence,precedence:null})}function uw(f,p,O,D){f.querySelector('link[rel="preload"][as="style"]['+p+"]")?D.loading=1:(p=f.createElement("link"),D.preload=p,p.addEventListener("load",function(){return D.loading|=1}),p.addEventListener("error",function(){return D.loading|=2}),Sl(p,"link",O),ei(p),f.head.appendChild(p))}function Gg(f){return'[src="'+ja(f)+'"]'}function Kg(f){return"script[async]"+f}function Vx(f,p,O){if(p.count++,p.instance===null)switch(p.type){case"style":var D=f.querySelector('style[data-href~="'+ja(O.href)+'"]');if(D)return p.instance=D,ei(D),D;var L=d({},O,{"data-href":O.href,"data-precedence":O.precedence,href:null,precedence:null});return D=(f.ownerDocument||f).createElement("style"),ei(D),Sl(D,"style",L),Ub(D,O.precedence,f),p.instance=D;case"stylesheet":L=Xg(O.href);var H=f.querySelector(Yg(L));if(H)return p.state.loading|=4,p.instance=H,ei(H),H;D=qx(O),(L=zc.get(L))&&x4(D,L),H=(f.ownerDocument||f).createElement("link"),ei(H);var ce=H;return ce._p=new Promise(function(Ee,Le){ce.onload=Ee,ce.onerror=Le}),Sl(H,"link",D),p.state.loading|=4,Ub(H,O.precedence,f),p.instance=H;case"script":return H=Gg(O.src),(L=f.querySelector(Kg(H)))?(p.instance=L,ei(L),L):(D=O,(L=zc.get(H))&&(D=d({},O),jb(D,L)),f=f.ownerDocument||f,L=f.createElement("script"),ei(L),Sl(L,"link",D),f.head.appendChild(L),p.instance=L);case"void":return null;default:throw Error(r(443,p.type))}else p.type==="stylesheet"&&(p.state.loading&4)===0&&(D=p.instance,p.state.loading|=4,Ub(D,O.precedence,f));return p.instance}function Ub(f,p,O){for(var D=O.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),L=D.length?D[D.length-1]:null,H=L,ce=0;ce<D.length;ce++){var Ee=D[ce];if(Ee.dataset.precedence===p)H=Ee;else if(H!==L)break}H?H.parentNode.insertBefore(f,H.nextSibling):(p=O.nodeType===9?O.head:O,p.insertBefore(f,p.firstChild))}function x4(f,p){f.crossOrigin==null&&(f.crossOrigin=p.crossOrigin),f.referrerPolicy==null&&(f.referrerPolicy=p.referrerPolicy),f.title==null&&(f.title=p.title)}function jb(f,p){f.crossOrigin==null&&(f.crossOrigin=p.crossOrigin),f.referrerPolicy==null&&(f.referrerPolicy=p.referrerPolicy),f.integrity==null&&(f.integrity=p.integrity)}var Ky=null;function Ux(f,p,O){if(Ky===null){var D=new Map,L=Ky=new Map;L.set(O,D)}else L=Ky,D=L.get(O),D||(D=new Map,L.set(O,D));if(D.has(f))return D;for(D.set(f,null),O=O.getElementsByTagName(f),L=0;L<O.length;L++){var H=O[L];if(!(H[Du]||H[Rt]||f==="link"&&H.getAttribute("rel")==="stylesheet")&&H.namespaceURI!=="http://www.w3.org/2000/svg"){var ce=H.getAttribute(p)||"";ce=f+ce;var Ee=D.get(ce);Ee?Ee.push(H):D.set(ce,[H])}}return D}function jx(f,p,O){f=f.ownerDocument||f,f.head.insertBefore(O,p==="title"?f.querySelector("head > title"):null)}function lw(f,p,O){if(O===1||p.itemProp!=null)return!1;switch(f){case"meta":case"title":return!0;case"style":if(typeof p.precedence!="string"||typeof p.href!="string"||p.href==="")break;return!0;case"link":if(typeof p.rel!="string"||typeof p.href!="string"||p.href===""||p.onLoad||p.onError)break;switch(p.rel){case"stylesheet":return f=p.disabled,typeof p.precedence=="string"&&f==null;default:return!0}case"script":if(p.async&&typeof p.async!="function"&&typeof p.async!="symbol"&&!p.onLoad&&!p.onError&&p.src&&typeof p.src=="string")return!0}return!1}function Zx(f){return!(f.type==="stylesheet"&&(f.state.loading&3)===0)}function Wg(f,p,O,D){if(O.type==="stylesheet"&&(typeof D.media!="string"||matchMedia(D.media).matches!==!1)&&(O.state.loading&4)===0){if(O.instance===null){var L=Xg(D.href),H=p.querySelector(Yg(L));if(H){p=H._p,p!==null&&typeof p=="object"&&typeof p.then=="function"&&(f.count++,f=Zb.bind(f),p.then(f,f)),O.state.loading|=4,O.instance=H,ei(H);return}H=p.ownerDocument||p,D=qx(D),(L=zc.get(L))&&x4(D,L),H=H.createElement("link"),ei(H);var ce=H;ce._p=new Promise(function(Ee,Le){ce.onload=Ee,ce.onerror=Le}),Sl(H,"link",D),O.instance=H}f.stylesheets===null&&(f.stylesheets=new Map),f.stylesheets.set(O,p),(p=O.state.preload)&&(O.state.loading&3)===0&&(f.count++,O=Zb.bind(f),p.addEventListener("load",O),p.addEventListener("error",O))}}var _4=0;function ow(f,p){return f.stylesheets&&f.count===0&&Xb(f,f.stylesheets),0<f.count||0<f.imgCount?function(O){var D=setTimeout(function(){if(f.stylesheets&&Xb(f,f.stylesheets),f.unsuspend){var H=f.unsuspend;f.unsuspend=null,H()}},6e4+p);0<f.imgBytes&&_4===0&&(_4=62500*Zy());var L=setTimeout(function(){if(f.waitingForImages=!1,f.count===0&&(f.stylesheets&&Xb(f,f.stylesheets),f.unsuspend)){var H=f.unsuspend;f.unsuspend=null,H()}},(f.imgBytes>_4?50:800)+p);return f.unsuspend=O,function(){f.unsuspend=null,clearTimeout(D),clearTimeout(L)}}:null}function Zb(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xb(this,this.stylesheets);else if(this.unsuspend){var f=this.unsuspend;this.unsuspend=null,f()}}}var Hb=null;function Xb(f,p){f.stylesheets=null,f.unsuspend!==null&&(f.count++,Hb=new Map,p.forEach(Hx,f),Hb=null,Zb.call(f))}function Hx(f,p){if(!(p.state.loading&4)){var O=Hb.get(f);if(O)var D=O.get(null);else{O=new Map,Hb.set(f,O);for(var L=f.querySelectorAll("link[data-precedence],style[data-precedence]"),H=0;H<L.length;H++){var ce=L[H];(ce.nodeName==="LINK"||ce.getAttribute("media")!=="not all")&&(O.set(ce.dataset.precedence,ce),D=ce)}D&&O.set(null,D)}L=p.instance,ce=L.getAttribute("data-precedence"),H=O.get(ce)||D,H===D&&O.set(null,L),O.set(ce,L),this.count++,D=Zb.bind(this),L.addEventListener("load",D),L.addEventListener("error",D),H?H.parentNode.insertBefore(L,H.nextSibling):(f=f.nodeType===9?f.head:f,f.insertBefore(L,f.firstChild)),p.state.loading|=4}}var Jg={$$typeof:w,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function sw(f,p,O,D,L,H,ce,Ee,Le){this.tag=1,this.containerInfo=f,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ke(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ke(0),this.hiddenUpdates=ke(null),this.identifierPrefix=D,this.onUncaughtError=L,this.onCaughtError=H,this.onRecoverableError=ce,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Le,this.incompleteTransitions=new Map}function Xx(f,p,O,D,L,H,ce,Ee,Le,at,mt,St){return f=new sw(f,p,O,ce,Le,at,mt,St,Ee),p=1,H===!0&&(p|=24),H=ta(3,null,null,p),f.current=H,H.stateNode=f,p=Ps(),p.refCount++,f.pooledCache=p,p.refCount++,H.memoizedState={element:D,isDehydrated:O,cache:p},Cc(H),f}function Yx(f){return f?(f=fu,f):fu}function Gx(f,p,O,D,L,H){L=Yx(L),D.context===null?D.context=L:D.pendingContext=L,D=wc(p),D.payload={element:O},H=H===void 0?null:H,H!==null&&(D.callback=H),O=Yo(f,D,p),O!==null&&(b(O,f,p),yd(O,f,p))}function Kx(f,p){if(f=f.memoizedState,f!==null&&f.dehydrated!==null){var O=f.retryLane;f.retryLane=O!==0&&O<p?O:p}}function E4(f,p){Kx(f,p),(f=f.alternate)&&Kx(f,p)}function Wx(f){if(f.tag===13||f.tag===31){var p=Xu(f,67108864);p!==null&&b(p,f,67108864),E4(f,67108864)}}function Jx(f){if(f.tag===13||f.tag===31){var p=Ol();p=Zt(p);var O=Xu(f,p);O!==null&&b(O,f,p),E4(f,p)}}var Yb=!0;function cw(f,p,O,D){var L=G.T;G.T=null;var H=J.p;try{J.p=2,D4(f,p,O,D)}finally{J.p=H,G.T=L}}function fw(f,p,O,D){var L=G.T;G.T=null;var H=J.p;try{J.p=8,D4(f,p,O,D)}finally{J.p=H,G.T=L}}function D4(f,p,O,D){if(Yb){var L=$4(D);if(L===null)p4(f,p,D,Gb,O),t_(f,D);else if(n_(L,f,p,O,D))D.stopPropagation();else if(t_(f,D),p&4&&-1<dw.indexOf(f)){for(;L!==null;){var H=Pt(L);if(H!==null)switch(H.tag){case 3:if(H=H.stateNode,H.current.memoizedState.isDehydrated){var ce=jn(H.pendingLanes);if(ce!==0){var Ee=H;for(Ee.pendingLanes|=2,Ee.entangledLanes|=2;ce;){var Le=1<<31-Fe(ce);Ee.entanglements[1]|=Le,ce&=~Le}Pd(H),(wr&6)===0&&(ll=Ze()+500,Vy(0))}}break;case 31:case 13:Ee=Xu(H,2),Ee!==null&&b(Ee,H,2),De(),E4(H,2)}if(H=$4(D),H===null&&p4(f,p,D,Gb,O),H===L)break;L=H}L!==null&&D.stopPropagation()}else p4(f,p,D,null,O)}}function $4(f){return f=oh(f),C4(f)}var Gb=null;function C4(f){if(Gb=null,f=Zr(f),f!==null){var p=a(f);if(p===null)f=null;else{var O=p.tag;if(O===13){if(f=u(p),f!==null)return f;f=null}else if(O===31){if(f=l(p),f!==null)return f;f=null}else if(O===3){if(p.stateNode.current.memoizedState.isDehydrated)return p.tag===3?p.stateNode.containerInfo:null;f=null}else p!==f&&(f=null)}}return Gb=f,null}function e_(f){switch(f){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ye()){case Me:return 2;case ze:return 8;case st:case Ot:return 32;case Nt:return 268435456;default:return 32}default:return 32}}var w4=!1,Gp=null,Kp=null,Wp=null,Wy=new Map,Jy=new Map,Jp=[],dw="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function t_(f,p){switch(f){case"focusin":case"focusout":Gp=null;break;case"dragenter":case"dragleave":Kp=null;break;case"mouseover":case"mouseout":Wp=null;break;case"pointerover":case"pointerout":Wy.delete(p.pointerId);break;case"gotpointercapture":case"lostpointercapture":Jy.delete(p.pointerId)}}function Sm(f,p,O,D,L,H){return f===null||f.nativeEvent!==H?(f={blockedOn:p,domEventName:O,eventSystemFlags:D,nativeEvent:H,targetContainers:[L]},p!==null&&(p=Pt(p),p!==null&&Wx(p)),f):(f.eventSystemFlags|=D,p=f.targetContainers,L!==null&&p.indexOf(L)===-1&&p.push(L),f)}function n_(f,p,O,D,L){switch(p){case"focusin":return Gp=Sm(Gp,f,p,O,D,L),!0;case"dragenter":return Kp=Sm(Kp,f,p,O,D,L),!0;case"mouseover":return Wp=Sm(Wp,f,p,O,D,L),!0;case"pointerover":var H=L.pointerId;return Wy.set(H,Sm(Wy.get(H)||null,f,p,O,D,L)),!0;case"gotpointercapture":return H=L.pointerId,Jy.set(H,Sm(Jy.get(H)||null,f,p,O,D,L)),!0}return!1}function R4(f){var p=Zr(f.target);if(p!==null){var O=a(p);if(O!==null){if(p=O.tag,p===13){if(p=u(O),p!==null){f.blockedOn=p,en(f.priority,function(){Jx(O)});return}}else if(p===31){if(p=l(O),p!==null){f.blockedOn=p,en(f.priority,function(){Jx(O)});return}}else if(p===3&&O.stateNode.current.memoizedState.isDehydrated){f.blockedOn=O.tag===3?O.stateNode.containerInfo:null;return}}}f.blockedOn=null}function Kb(f){if(f.blockedOn!==null)return!1;for(var p=f.targetContainers;0<p.length;){var O=$4(f.nativeEvent);if(O===null){O=f.nativeEvent;var D=new O.constructor(O.type,O);lh=D,O.target.dispatchEvent(D),lh=null}else return p=Pt(O),p!==null&&Wx(p),f.blockedOn=O,!1;p.shift()}return!0}function r_(f,p,O){Kb(f)&&O.delete(p)}function hw(){w4=!1,Gp!==null&&Kb(Gp)&&(Gp=null),Kp!==null&&Kb(Kp)&&(Kp=null),Wp!==null&&Kb(Wp)&&(Wp=null),Wy.forEach(r_),Jy.forEach(r_)}function ev(f,p){f.blockedOn===p&&(f.blockedOn=null,w4||(w4=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,hw)))}var Wb=null;function i_(f){Wb!==f&&(Wb=f,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Wb===f&&(Wb=null);for(var p=0;p<f.length;p+=3){var O=f[p],D=f[p+1],L=f[p+2];if(typeof D!="function"){if(C4(D||O)===null)continue;break}var H=Pt(O);H!==null&&(f.splice(p,3),p-=3,xd(H,{pending:!0,data:L,method:O.method,action:D},D,L))}}))}function tv(f){function p(Le){return ev(Le,f)}Gp!==null&&ev(Gp,f),Kp!==null&&ev(Kp,f),Wp!==null&&ev(Wp,f),Wy.forEach(p),Jy.forEach(p);for(var O=0;O<Jp.length;O++){var D=Jp[O];D.blockedOn===f&&(D.blockedOn=null)}for(;0<Jp.length&&(O=Jp[0],O.blockedOn===null);)R4(O),O.blockedOn===null&&Jp.shift();if(O=(f.ownerDocument||f).$$reactFormReplay,O!=null)for(D=0;D<O.length;D+=3){var L=O[D],H=O[D+1],ce=L[on]||null;if(typeof H=="function")ce||i_(O);else if(ce){var Ee=null;if(H&&H.hasAttribute("formAction")){if(L=H,ce=H[on]||null)Ee=ce.formAction;else if(C4(L)!==null)continue}else Ee=ce.action;typeof Ee=="function"?O[D+1]=Ee:(O.splice(D,3),D-=3),i_(O)}}}function Eo(){function f(H){H.canIntercept&&H.info==="react-transition"&&H.intercept({handler:function(){return new Promise(function(ce){return L=ce})},focusReset:"manual",scroll:"manual"})}function p(){L!==null&&(L(),L=null),D||setTimeout(O,20)}function O(){if(!D&&!navigation.transition){var H=navigation.currentEntry;H&&H.url!=null&&navigation.navigate(H.url,{state:H.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var D=!1,L=null;return navigation.addEventListener("navigate",f),navigation.addEventListener("navigatesuccess",p),navigation.addEventListener("navigateerror",p),setTimeout(O,100),function(){D=!0,navigation.removeEventListener("navigate",f),navigation.removeEventListener("navigatesuccess",p),navigation.removeEventListener("navigateerror",p),L!==null&&(L(),L=null)}}}function e1(f){this._internalRoot=f}Jb.prototype.render=e1.prototype.render=function(f){var p=this._internalRoot;if(p===null)throw Error(r(409));var O=p.current,D=Ol();Gx(O,D,f,p,null,null)},Jb.prototype.unmount=e1.prototype.unmount=function(){var f=this._internalRoot;if(f!==null){this._internalRoot=null;var p=f.containerInfo;Gx(f.current,2,null,f,null,null),De(),p[mr]=null}};function Jb(f){this._internalRoot=f}Jb.prototype.unstable_scheduleHydration=function(f){if(f){var p=Vt();f={blockedOn:null,target:f,priority:p};for(var O=0;O<Jp.length&&p!==0&&p<Jp[O].priority;O++);Jp.splice(O,0,f),O===0&&R4(f)}};var a_=t.version;if(a_!=="19.2.0")throw Error(r(527,a_,"19.2.0"));J.findDOMNode=function(f){var p=f._reactInternals;if(p===void 0)throw typeof f.render=="function"?Error(r(188)):(f=Object.keys(f).join(","),Error(r(268,f)));return f=s(p),f=f!==null?c(f):null,f=f===null?null:f.stateNode,f};var pw={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var eO=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!eO.isDisabled&&eO.supportsFiber)try{zt=eO.inject(pw),rn=eO}catch{}}return k4.createRoot=function(f,p){if(!i(f))throw Error(r(299));var O=!1,D="",L=Ng,H=Ly,ce=Ig;return p!=null&&(p.unstable_strictMode===!0&&(O=!0),p.identifierPrefix!==void 0&&(D=p.identifierPrefix),p.onUncaughtError!==void 0&&(L=p.onUncaughtError),p.onCaughtError!==void 0&&(H=p.onCaughtError),p.onRecoverableError!==void 0&&(ce=p.onRecoverableError)),p=Xx(f,1,!1,null,null,O,D,null,L,H,ce,Eo),f[mr]=p.current,h4(f),new e1(p)},k4.hydrateRoot=function(f,p,O){if(!i(f))throw Error(r(299));var D=!1,L="",H=Ng,ce=Ly,Ee=Ig,Le=null;return O!=null&&(O.unstable_strictMode===!0&&(D=!0),O.identifierPrefix!==void 0&&(L=O.identifierPrefix),O.onUncaughtError!==void 0&&(H=O.onUncaughtError),O.onCaughtError!==void 0&&(ce=O.onCaughtError),O.onRecoverableError!==void 0&&(Ee=O.onRecoverableError),O.formState!==void 0&&(Le=O.formState)),p=Xx(f,1,!0,p,O??null,D,L,Le,H,ce,Ee,Eo),p.context=Yx(null),O=p.current,D=Ol(),D=Zt(D),L=wc(D),L.callback=null,Yo(O,L,D),O=D,p.current.lanes=O,He(p,O),Pd(p),f[mr]=p.current,h4(f),new Jb(p)},k4.version="19.2.0",k4}var xB;function $Oe(){if(xB)return _w.exports;xB=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),_w.exports=DOe(),_w.exports}var RW=$Oe();const Dtt=oa(RW);var Cw,_B;function Yv(){if(_B)return Cw;_B=1;var e={ACTOR_CHANGE:"ActorChange",CATCH_FIELD:"CatchField",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",CLIENT_EDGE_TO_SERVER_OBJECT:"ClientEdgeToServerObject",CLIENT_EDGE_TO_CLIENT_OBJECT:"ClientEdgeToClientObject",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",ALIASED_FRAGMENT_SPREAD:"AliasedFragmentSpread",ALIASED_INLINE_FRAGMENT_SPREAD:"AliasedInlineFragmentSpread",RELAY_RESOLVER:"RelayResolver",RELAY_LIVE_RESOLVER:"RelayLiveResolver",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",UPDATABLE_QUERY:"UpdatableQuery",VARIABLE:"Variable"};return Cw=e,Cw}var ww,EB;function ln(){if(EB)return ww;EB=1;var e=function(t,n,r,i,a,u,l,o){if(!t){var s;if(n===void 0)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,i,a,u,l,o],d=0;s=new Error(n.replace(/%s/g,function(){return c[d++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};return ww=e,ww}var Rw,DB;function COe(){if(DB)return Rw;DB=1;function e(n){return function(){return n}}var t=function(){};return t.thatReturns=e,t.thatReturnsFalse=e(!1),t.thatReturnsTrue=e(!0),t.thatReturnsNull=e(null),t.thatReturnsThis=function(){return this},t.thatReturnsArgument=function(n){return n},Rw=t,Rw}var Aw,$B;function Bi(){if($B)return Aw;$B=1;var e=COe(),t=e;return Aw=t,Aw}var Tw,CB;function sp(){if(CB)return Tw;CB=1;var e=Yv(),t=ln();Bi();function n(y){t(!1)}function r(y){var v=y;return typeof v=="function"?v=v():v.default&&(v=v.default),v}function i(y){var v=r(y);return typeof v=="object"&&v!==null&&v.kind===e.FRAGMENT}function a(y){var v=r(y);return typeof v=="object"&&v!==null&&v.kind===e.REQUEST}function u(y){var v=r(y);return typeof v=="object"&&v!==null&&v.kind===e.UPDATABLE_QUERY}function l(y){var v=r(y);return typeof v=="object"&&v!==null&&v.kind===e.INLINE_DATA_FRAGMENT}function o(y){var v=r(y);return i(v)||t(!1),v}function s(y){var v,_=o(y),x=(v=_.metadata)===null||v===void 0?void 0:v.refetch,E=x==null?void 0:x.connection;return x===null||typeof x!="object"||E===null||typeof E!="object"?null:_}function c(y){var v,_=o(y),x=(v=_.metadata)===null||v===void 0?void 0:v.refetch;return x===null||typeof x!="object"?null:_}function d(y){var v=r(y);return a(v)||t(!1),v}function h(y){var v=r(y);return u(v)||t(!1),v}function m(y){var v=r(y);return l(v)||t(!1),v}return Tw={getFragment:o,getNode:r,getPaginationFragment:s,getRefetchableFragment:c,getRequest:d,getUpdatableQuery:h,getInlineDataFragment:m,graphql:n,isFragment:i,isRequest:a,isUpdatableQuery:u,isInlineDataFragment:l},Tw}var kw={exports:{}},wB;function $n(){return wB||(wB=1,(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(kw)),kw.exports}var Pw={exports:{}},Mw={exports:{}},Fw={exports:{}},Nw={exports:{}},RB;function AW(){return RB||(RB=1,(function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Nw)),Nw.exports}var Iw={exports:{}},AB;function wOe(){return AB||(AB=1,(function(e){var t=AW().default;function n(r,i){if(t(r)!="object"||!r)return r;var a=r[Symbol.toPrimitive];if(a!==void 0){var u=a.call(r,i||"default");if(t(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Iw)),Iw.exports}var TB;function TW(){return TB||(TB=1,(function(e){var t=AW().default,n=wOe();function r(i){var a=n(i,"string");return t(a)=="symbol"?a:a+""}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Fw)),Fw.exports}var kB;function sc(){return kB||(kB=1,(function(e){var t=TW();function n(r,i,a){return(i=t(i))in r?Object.defineProperty(r,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[i]=a,r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Mw)),Mw.exports}var PB;function Qi(){return PB||(PB=1,(function(e){var t=sc();function n(i,a){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(i);a&&(l=l.filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable})),u.push.apply(u,l)}return u}function r(i){for(var a=1;a<arguments.length;a++){var u=arguments[a]!=null?arguments[a]:{};a%2?n(Object(u),!0).forEach(function(l){t(i,l,u[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):n(Object(u)).forEach(function(l){Object.defineProperty(i,l,Object.getOwnPropertyDescriptor(u,l))})}return i}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Pw)),Pw.exports}var Lw={exports:{}},Bw={exports:{}},Qw={exports:{}},MB;function kW(){return MB||(MB=1,(function(e){function t(n,r){(r==null||r>n.length)&&(r=n.length);for(var i=0,a=Array(r);i<r;i++)a[i]=n[i];return a}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Qw)),Qw.exports}var FB;function PW(){return FB||(FB=1,(function(e){var t=kW();function n(r,i){if(r){if(typeof r=="string")return t(r,i);var a={}.toString.call(r).slice(8,-1);return a==="Object"&&r.constructor&&(a=r.constructor.name),a==="Map"||a==="Set"?Array.from(r):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?t(r,i):void 0}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Bw)),Bw.exports}var NB;function xu(){return NB||(NB=1,(function(e){var t=PW();function n(r,i){var a=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(!a){if(Array.isArray(r)||(a=t(r))||i&&r&&typeof r.length=="number"){a&&(r=a);var u=0,l=function(){};return{s:l,n:function(){return u>=r.length?{done:!0}:{done:!1,value:r[u++]}},e:function(h){throw h},f:l}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,s=!0,c=!1;return{s:function(){a=a.call(r)},n:function(){var h=a.next();return s=h.done,h},e:function(h){c=!0,o=h},f:function(){try{s||a.return==null||a.return()}finally{if(c)throw o}}}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Lw)),Lw.exports}var zw,IB;function LS(){if(IB)return zw;IB=1;var e=$n().default,t=e(Qi()),n=e(xu()),r=ln();function i(l,o,s){var c=(0,n.default)(o),d;try{for(c.s();!(d=c.n()).done;){var h=d.value;l.relayFieldLogger((0,t.default)((0,t.default)({},h),{},{uiContext:s}))}}catch(_){c.e(_)}finally{c.f()}var m=(0,n.default)(o),y;try{for(m.s();!(y=m.n()).done;){var v=y.value;if(a(v))switch(v.kind){case"relay_resolver.error":throw new Error("Relay: Resolver error at path '".concat(v.fieldPath,"' in '").concat(v.owner,"'. Message: ").concat(v.error.message));case"relay_field_payload.error":throw new Error("Relay: Unexpected response payload - check server logs for details.");case"missing_expected_data.throw":throw new Error("Relay: Missing expected data at path '".concat(v.fieldPath,"' in '").concat(v.owner,"'."));case"missing_required_field.throw":throw new Error("Relay: Missing @required value at path '".concat(v.fieldPath,"' in '").concat(v.owner,"'."));case"missing_required_field.log":case"missing_expected_data.log":break;default:v.kind,r(!1)}}}catch(_){m.e(_)}finally{m.f()}}function a(l){switch(l.kind){case"relay_resolver.error":case"relay_field_payload.error":return l.shouldThrow&&!l.handled;case"missing_expected_data.throw":case"missing_required_field.throw":return!l.handled;case"missing_required_field.log":case"missing_expected_data.log":return!1;default:throw l.kind,new Error("Relay: Unexpected event kind")}}function u(l,o,s){o!=null&&i(l,o,s)}return zw={handlePotentialSnapshotErrors:u,eventShouldThrow:a},zw}var qw={exports:{}},Vw={exports:{}},LB;function ROe(){return LB||(LB=1,(function(e){var t=kW();function n(r){if(Array.isArray(r))return t(r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Vw)),Vw.exports}var Uw={exports:{}},BB;function AOe(){return BB||(BB=1,(function(e){function t(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Uw)),Uw.exports}var jw={exports:{}},QB;function TOe(){return QB||(QB=1,(function(e){function t(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(jw)),jw.exports}var zB;function Gv(){return zB||(zB=1,(function(e){var t=ROe(),n=AOe(),r=PW(),i=TOe();function a(u){return t(u)||n(u)||r(u)||i()}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports})(qw)),qw.exports}var Zw,qB;function MW(){return qB||(qB=1,Zw={DEFAULT_HANDLE_KEY:""}),Zw}var Hw,VB;function tF(){if(VB)return Hw;VB=1;var e=MW(),t=e.DEFAULT_HANDLE_KEY,n=ln();function r(i,a,u){return a&&a!==t?"__".concat(a,"_").concat(i):(u==null&&n(!1),"__".concat(u,"_").concat(i))}return Hw=r,Hw}var Xw,UB;function Wd(){if(UB)return Xw;UB=1;var e={ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_RELAY_RESOLVERS:!1,ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION:!1,ENABLE_FRIENDLY_QUERY_NAME_GQL_URL:!1,ENABLE_DO_NOT_WRAP_LIVE_QUERY:!1,ENABLE_NOTIFY_SUBSCRIPTION:!1,BATCH_ASYNC_MODULE_UPDATES_FN:null,ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT:!1,MAX_DATA_ID_LENGTH:null,STRING_INTERN_LEVEL:0,LOG_MISSING_RECORDS_IN_PROD:!1,ENABLE_STORE_ID_COLLISION_LOGGING:!1,ENABLE_NONCOMPLIANT_ERROR_HANDLING_ON_LISTS:!1,ENABLE_LOOSE_SUBSCRIPTION_ATTRIBUTION:!1,ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES:!1,ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE:!1,PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION:!1,MARK_RESOLVER_VALUES_AS_CLEAN_AFTER_FRAGMENT_REREAD:!1,ENABLE_CYLE_DETECTION_IN_VARIABLES:!1,ENABLE_ACTIVITY_COMPATIBILITY:!1,ENABLE_READ_TIME_RESOLVER_STORAGE_KEY_PREFIX:!0,ENABLE_USE_PAGINATION_IS_LOADING_FIX:!1,DISALLOW_NESTED_UPDATES:!1,ENABLE_TYPENAME_PREFIXED_DATA_ID:!1,ENABLE_UI_CONTEXT_ON_RELAY_LOGGER:!1,CHECK_ALL_FRAGMENTS_FOR_MISSING_CLIENT_EDGES:!1};return Xw=e,Xw}var Yw,jB;function ob(){if(jB)return Yw;jB=1;function e(n){if(!n||typeof n!="object")return n;if(Array.isArray(n))return n.map(e);for(var r=Object.keys(n).sort(),i={},a=0;a<r.length;a++)i[r[a]]=e(n[r[a]]);return i}function t(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;if(!n||typeof n!="object")return!1;if(r.has(n))return!0;var i=new Set(r);i.add(n);var a=Array.isArray(n)?n:Object.values(n);return a.some(function(u){return t(u,i)})}return Yw={stableCopy:e,hasCycle:t},Yw}var Gw,ZB;function xa(){if(ZB)return Gw;ZB=1;var e=$n().default,t=e(Gv()),n=tF(),r=Yv(),i=Wd(),a=ob(),u=a.stableCopy,l=ln(),o=r.VARIABLE,s=r.LITERAL,c=r.OBJECT_VALUE,d=r.LIST_VALUE,h="__errors",m="__module_component_",y="__module_operation_",v="$r:";function _(j,N){if(j.kind===o)return F(j.variableName,N);if(j.kind===s)return j.value;if(j.kind===c){var V={};return j.fields.forEach(function(G){V[G.name]=_(G,N)}),V}else if(j.kind===d){var W=[];return j.items.forEach(function(G){G!=null&&W.push(_(G,N))}),W}}function x(j,N,V){var W={};return V&&(W[q.FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT]=!0),j&&j.forEach(function(G){W[G.name]=_(G,N)}),W}function E(j,N){var V=j.dynamicKey,W=j.handle,G=j.key,J=j.name,te=j.args,X=j.filters,M=n(W,G,J),K=null;return te&&X&&te.length!==0&&X.length!==0&&(K=te.filter(function(Y){return X.indexOf(Y.name)>-1})),V&&(K=K!=null?[V].concat((0,t.default)(K)):[V]),K===null?M:k(M,x(K,N))}function w(j,N){if(j.storageKey)return j.storageKey;var V=R(j),W=j.name;return V&&V.length!==0?k(W,x(V,N)):W}function T(j,N){var V=w(j,N);return i.ENABLE_READ_TIME_RESOLVER_STORAGE_KEY_PREFIX?"$r:"+V:V}function R(j){if(j.kind==="RelayResolver"||j.kind==="RelayLiveResolver"){var N;if(j.args==null){var V;return(V=j.fragment)===null||V===void 0?void 0:V.args}return((N=j.fragment)===null||N===void 0?void 0:N.args)==null?j.args:j.args.concat(j.fragment.args)}var W=typeof j.args>"u"?void 0:j.args;return W}function C(j,N){return k(j,u(N))}function k(j,N){if(!N)return j;var V=[];for(var W in N)if(N.hasOwnProperty(W)){var G=N[W];if(G!=null){var J;V.push(W+":"+((J=JSON.stringify(G))!==null&&J!==void 0?J:"undefined"))}}return V.length===0?j:j+"(".concat(V.join(","),")")}function F(j,N){return N.hasOwnProperty(j)||l(!1),u(N[j])}function z(j){return"".concat(m).concat(j)}function Z(j){return"".concat(y).concat(j)}var q={ACTOR_IDENTIFIER_KEY:"__actorIdentifier",CLIENT_EDGE_TRAVERSAL_PATH:"__clientEdgeTraversalPath",FRAGMENTS_KEY:"__fragments",FRAGMENT_OWNER_KEY:"__fragmentOwner",FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT:"$isWithinUnmatchedTypeRefinement",FRAGMENT_PROP_NAME_KEY:"__fragmentPropName",MODULE_COMPONENT_KEY:"__module_component",ERRORS_KEY:h,ID_KEY:"__id",REF_KEY:"__ref",REFS_KEY:"__refs",ROOT_ID:"client:root",ROOT_TYPE:"__Root",TYPENAME_KEY:"__typename",INVALIDATED_AT_KEY:"__invalidated_at",RELAY_RESOLVER_VALUE_KEY:"__resolverValue",RELAY_RESOLVER_INVALIDATION_KEY:"__resolverValueMayBeInvalid",RELAY_RESOLVER_SNAPSHOT_KEY:"__resolverSnapshot",RELAY_RESOLVER_ERROR_KEY:"__resolverError",RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS:"__resolverOutputTypeRecordIDs",RELAY_READ_TIME_RESOLVER_KEY_PREFIX:v,formatStorageKey:k,getArgumentValue:_,getArgumentValues:x,getHandleStorageKey:E,getStorageKey:w,getReadTimeResolverStorageKey:T,getStableStorageKey:C,getModuleComponentKey:z,getModuleOperationKey:Z};return Gw=q,Gw}var Kw,HB;function Kv(){if(HB)return Kw;HB=1;var e=$n().default,t=e(Qi()),n=xa(),r=n.getArgumentValues,i=ln();function a(o,s,c){if(o.argumentDefinitions==null)return c;var d;return o.argumentDefinitions.forEach(function(h){if(!c.hasOwnProperty(h.name))switch(d=d||(0,t.default)({},c),h.kind){case"LocalArgument":d[h.name]=h.defaultValue;break;case"RootArgument":if(!s.hasOwnProperty(h.name)){d[h.name]=void 0;break}d[h.name]=s[h.name];break;default:i(!1)}}),d||c}function u(o,s,c){var d={};return o.argumentDefinitions.forEach(function(h){var m=h.defaultValue;c[h.name]!=null&&(m=c[h.name]),d[h.name]=m}),s!=null&&Object.keys(s).forEach(function(h){d[h]=s[h].get()}),d}function l(o,s,c){if(s==null)return o;var d=(0,t.default)({},o),h=c?r(c,o):{};return s.forEach(function(m){var y,v=(y=h[m.name])!==null&&y!==void 0?y:m.defaultValue;d[m.name]=v}),d}return Kw={getLocalVariables:l,getFragmentVariables:a,getOperationVariables:u},Kw}var Ww,XB;function Kf(){if(XB)return Ww;XB=1;var e=[],t=[];/**
 * Checks if two values are equal. Values may be primitives, arrays, or objects.
 * Returns true if both arguments have the same keys and values.
 *
 * @see http://underscorejs.org
 * @copyright 2009-2013 Jeremy Ashkenas, DocumentCloud Inc.
 * @license MIT
 */function n(i,a){var u=e.length?e.pop():[],l=t.length?t.pop():[],o=r(i,a,u,l);return u.length=0,l.length=0,e.push(u),t.push(l),o}function r(i,a,u,l){if(i===a)return i!==0||1/i==1/a;if(i==null||a==null||typeof i!="object"||typeof a!="object")return!1;var o=Object.prototype.toString,s=o.call(i);if(s!=o.call(a))return!1;switch(s){case"[object String]":return i==String(a);case"[object Number]":return isNaN(i)||isNaN(a)?!1:i==Number(a);case"[object Date]":case"[object Boolean]":return+i==+a;case"[object RegExp]":return i.source==a.source&&i.global==a.global&&i.multiline==a.multiline&&i.ignoreCase==a.ignoreCase}for(var c=u.length;c--;)if(u[c]==i)return l[c]==a;u.push(i),l.push(a);var d=0;if(s==="[object Array]"){if(d=i.length,d!==a.length)return!1;for(;d--;)if(!r(i[d],a[d],u,l))return!1}else{if(i.constructor!==a.constructor)return!1;if(i.hasOwnProperty("valueOf")&&a.hasOwnProperty("valueOf"))return i.valueOf()==a.valueOf();var h=Object.keys(i);if(h.length!=Object.keys(a).length)return!1;for(var m=0;m<h.length;m++)if(!r(i[h[m]],a[h[m]],u,l))return!1}return u.pop(),l.pop(),!0}return Ww=n,Ww}var Jw,YB;function cp(){if(YB)return Jw;YB=1;var e=Kv(),t=e.getFragmentVariables,n=xa(),r=n.CLIENT_EDGE_TRAVERSAL_PATH,i=n.FRAGMENT_OWNER_KEY,a=n.FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,u=n.FRAGMENTS_KEY,l=n.ID_KEY,o=Kf(),s=ln();Bi();function c(j,N){typeof N=="object"&&N!==null&&!Array.isArray(N)||s(!1);var V=N[l],W=N[u],G=N[i],J=N[r];if(typeof V=="string"&&typeof W=="object"&&W!==null&&typeof W[j.name]=="object"&&W[j.name]!==null&&typeof G=="object"&&G!==null&&(J==null||Array.isArray(J))){var te=G,X=J,M=W[j.name],K=t(j,te.variables,M),Y=M[a]===!0;return Z(j,V,K,te,Y,X)}return null}function d(j,N){var V=null;return N.forEach(function(W,G){var J=W!=null?c(j,W):null;J!=null&&(V=V||[],V.push(J))}),V==null?null:{kind:"PluralReaderSelector",selectors:V}}function h(j,N){return N==null?N:j.metadata&&j.metadata.plural===!0?(Array.isArray(N)||s(!1),d(j,N)):(Array.isArray(N)&&s(!1),c(j,N))}function m(j,N){var V={};for(var W in j)if(j.hasOwnProperty(W)){var G=j[W],J=N[W];V[W]=h(G,J)}return V}function y(j,N){var V={};for(var W in j)if(j.hasOwnProperty(W)){var G=j[W],J=N[W];V[W]=v(G,J)}return V}function v(j,N){return N==null?N:j.metadata&&j.metadata.plural===!0?(Array.isArray(N)||s(!1),_(j,N)):(Array.isArray(N)&&s(!1),x(j,N))}function _(j,N){var V=null;return N.forEach(function(W){var G=W!=null?x(j,W):null;G!=null&&(V=V||[],V.push(G))}),V}function x(j,N){typeof N=="object"&&N!==null&&!Array.isArray(N)||s(!1);var V=N[l];return typeof V=="string"?V:null}function E(j,N){var V={};for(var W in j)if(j.hasOwnProperty(W)){var G=j[W],J=N[W],te=w(G,J);Object.assign(V,te)}return V}function w(j,N){var V;return N==null?{}:((V=j.metadata)===null||V===void 0?void 0:V.plural)===!0?(Array.isArray(N)||s(!1),R(j,N)):(Array.isArray(N)&&s(!1),T(j,N)||{})}function T(j,N){var V=c(j,N);return V?V.variables:null}function R(j,N){var V={};return N.forEach(function(W,G){if(W!=null){var J=T(j,W);J!=null&&Object.assign(V,J)}}),V}function C(j,N){return j.dataID===N.dataID&&j.node===N.node&&o(j.variables,N.variables)&&k(j.owner,N.owner)&&j.isWithinUnmatchedTypeRefinement===N.isWithinUnmatchedTypeRefinement&&F(j.clientEdgeTraversalPath,N.clientEdgeTraversalPath)}function k(j,N){return j===N?!0:j.identifier===N.identifier&&o(j.cacheConfig,N.cacheConfig)}function F(j,N){if(j===N)return!0;if(j==null||N==null||j.length!==N.length)return!1;for(var V=j.length;V--;){var W=j[V],G=N[V];if(W!==G&&(W==null||G==null||W.clientEdgeDestinationID!==G.clientEdgeDestinationID||W.readerClientEdge!==G.readerClientEdge))return!1}return!0}function z(j,N){return j===N?!0:j==null?N==null:N==null?j==null:j.kind==="SingularReaderSelector"&&N.kind==="SingularReaderSelector"?C(j,N):j.kind==="PluralReaderSelector"&&N.kind==="PluralReaderSelector"?j.selectors.length===N.selectors.length&&j.selectors.every(function(V,W){return C(V,N.selectors[W])}):!1}function Z(j,N,V,W){var G=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,J=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:N,isWithinUnmatchedTypeRefinement:G,clientEdgeTraversalPath:J??null,node:j,variables:V,owner:W}}function q(j,N,V){return{dataID:N,node:j,variables:V}}return Jw={areEqualSelectors:z,createReaderSelector:Z,createNormalizationSelector:q,getDataIDsFromFragment:v,getDataIDsFromObject:y,getSingularSelector:c,getPluralSelector:d,getSelector:h,getSelectorsFromObject:m,getVariablesFromSingularFragment:T,getVariablesFromPluralFragment:R,getVariablesFromFragment:w,getVariablesFromObject:E},Jw}var e6,GB;function nF(){if(GB)return e6;GB=1;var e=sp(),t=e.getFragment,n=LS(),r=n.eventShouldThrow,i=cp(),a=i.getSelector,u=ln(),l=[];function o(d,h){l.push(d);try{return h()}finally{l.pop()}}function s(d,h){if(!l.length)throw new Error("readFragment should be called only from within a Relay Resolver function.");var m=l[l.length-1],y=t(d),v=a(y,h);v==null&&u(!1),v.kind!=="SingularReaderSelector"&&u(!1);var _=m.getDataForResolverFragment(v,h),x=_.data,E=_.isMissingData,w=_.fieldErrors;if(E||w!=null&&w.some(r))throw c;return x}var c={};return e6={readFragment:s,withResolverContext:o,RESOLVER_FRAGMENT_ERRORED_SENTINEL:c},e6}var t6,KB;function kOe(){if(KB)return t6;KB=1;var e=nF(),t=e.readFragment,n=ln();function r(i,a,u,l){var o=a;return function(s,c,d){var h=t(i,s);if(u!=null){if(h==null)if(l===!0)n(!1);else return o(null,c,d);if(u in h)return l===!0&&h[u]==null&&n(!1),o(h[u],c,d);n(!1)}else return o(null,c,d)}}return t6=r,t6}var n6={exports:{}},WB;function FW(){return WB||(WB=1,(function(e){function t(r,i,a,u,l,o,s){try{var c=r[o](s),d=c.value}catch(h){return void a(h)}c.done?i(d):Promise.resolve(d).then(u,l)}function n(r){return function(){var i=this,a=arguments;return new Promise(function(u,l){var o=r.apply(i,a);function s(d){t(o,u,l,s,c,"next",d)}function c(d){t(o,u,l,s,c,"throw",d)}s(void 0)})}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(n6)),n6.exports}var r6,JB;function NW(){if(JB)return r6;JB=1;function e(t){return t!=null&&typeof t=="object"&&typeof t.then=="function"}return r6=e,r6}var i6,eQ;function Wv(){if(eQ)return i6;eQ=1;var e=NW(),t=o,n=(function(){s.create=function(h){return new s(h)};function s(d){this._source=d}s.onUnhandledError=function(h){t=h},s.from=function(h){return r(h)?i(h):e(h)?a(h):u(h)};var c=s.prototype;return c.catch=function(h){var m=this;return s.create(function(y){var v;return m.subscribe({start:function(x){v=x},next:y.next,complete:y.complete,error:function(x){try{h(x).subscribe({start:function(w){v=w},next:y.next,complete:y.complete,error:y.error})}catch(E){y.error(E,!0)}}}),function(){return v.unsubscribe()}})},c.concat=function(h){var m=this;return s.create(function(y){var v;return m.subscribe({start:function(x){v=x},next:y.next,error:y.error,complete:function(){v=h.subscribe(y)}}),function(){v&&v.unsubscribe()}})},c.do=function(h){var m=this;return s.create(function(y){var v=function(x){return function(){try{h[x]&&h[x].apply(h,arguments)}catch(E){t(E,!0)}y[x]&&y[x].apply(y,arguments)}};return m.subscribe({start:v("start"),next:v("next"),error:v("error"),complete:v("complete"),unsubscribe:v("unsubscribe")})})},c.finally=function(h){var m=this;return s.create(function(y){var v=m.subscribe(y);return function(){v.unsubscribe(),h()}})},c.ifEmpty=function(h){var m=this;return s.create(function(y){var v=!1,_;return _=m.subscribe({next:function(E){v=!0,y.next(E)},error:y.error,complete:function(){v?y.complete():_=h.subscribe(y)}}),function(){_&&_.unsubscribe()}})},c.subscribe=function(h){return l(this._source,h)},c.map=function(h){var m=this;return s.create(function(y){var v=m.subscribe({complete:y.complete,error:y.error,next:function(x){try{var E=h(x);y.next(E)}catch(w){y.error(w,!0)}}});return function(){v.unsubscribe()}})},c.mergeMap=function(h){var m=this;return s.create(function(y){var v=[];function _(E){this._sub=E,v.push(E)}function x(){v.splice(v.indexOf(this._sub),1),v.length===0&&y.complete()}return m.subscribe({start:_,next:function(w){try{y.closed||s.from(h(w)).subscribe({start:_,next:y.next,error:y.error,complete:x})}catch(T){y.error(T,!0)}},error:y.error,complete:x}),function(){v.forEach(function(E){return E.unsubscribe()}),v.length=0}})},c.poll=function(h){var m=this;return s.create(function(y){var v,_,x=function E(){v=m.subscribe({next:y.next,error:y.error,complete:function(){_=setTimeout(E,h)}})};return x(),function(){clearTimeout(_),v.unsubscribe()}})},c.toPromise=function(){var h=this;return new Promise(function(m,y){var v=!1;h.subscribe({next:function(x){v||(v=!0,m(x))},error:y,complete:m})})},s})();function r(s){return typeof s=="object"&&s!==null&&typeof s.subscribe=="function"}function i(s){return s instanceof n?s:n.create(function(c){return s.subscribe(c)})}function a(s){return n.create(function(c){s.then(function(d){c.next(d),c.complete()},c.error)})}function u(s){return n.create(function(c){c.next(s),c.complete()})}function l(s,c){var d=!1,h,m=function(E){return Object.defineProperty(E,"closed",{get:function(){return d}})};function y(){if(h){if(h.unsubscribe)h.unsubscribe();else try{h()}catch(x){t(x,!0)}h=void 0}}var v=m({unsubscribe:function(){if(!d){d=!0;try{c.unsubscribe&&c.unsubscribe(v)}catch(E){t(E,!0)}finally{y()}}}});try{c.start&&c.start(v)}catch(x){t(x,!0)}if(d)return v;var _=m({next:function(E){if(!d&&c.next)try{c.next(E)}catch(w){t(w,!0)}},error:function(E,w){if(d||!c.error)d=!0,t(E,w||!1),y();else{d=!0;try{c.error(E)}catch(T){t(T,!0)}finally{y()}}},complete:function(){if(!d){d=!0;try{c.complete&&c.complete()}catch(E){t(E,!0)}finally{y()}}}});try{h=s(_)}catch(x){_.error(x,!0)}return d&&y(),v}function o(s,c){}return i6=n,i6}var a6,tQ;function IW(){if(tQ)return a6;tQ=1;var e=$n().default,t=e(xu()),n=e(sc()),r=Wv(),i=ln(),a=(function(){function u(){var o=this;(0,n.default)(this,"_complete",!1),(0,n.default)(this,"_events",[]),(0,n.default)(this,"_sinks",new Set),(0,n.default)(this,"_subscription",[]),this._observable=r.create(function(s){o._sinks.add(s);for(var c=o._events,d=0;d<c.length&&!s.closed;d++){var h=c[d];switch(h.kind){case"complete":s.complete();break;case"error":s.error(h.error);break;case"next":s.next(h.data);break;default:h.kind,i(!1)}}return function(){o._sinks.delete(s)}})}var l=u.prototype;return l.complete=function(){this._complete!==!0&&(this._complete=!0,this._events.push({kind:"complete"}),this._sinks.forEach(function(s){return s.complete()}))},l.error=function(s){this._complete!==!0&&(this._complete=!0,this._events.push({kind:"error",error:s}),this._sinks.forEach(function(c){return c.error(s)}))},l.next=function(s){this._complete!==!0&&(this._events.push({kind:"next",data:s}),this._sinks.forEach(function(c){return c.next(s)}))},l.subscribe=function(s){var c=this._observable.subscribe(s);return this._subscription.push(c),c},l.unsubscribe=function(){var s=(0,t.default)(this._subscription),c;try{for(s.s();!(c=s.n()).done;){var d=c.value;d.unsubscribe()}}catch(h){s.e(h)}finally{s.f()}this._subscription=[]},l.getObserverCount=function(){return this._sinks.size},u})();return a6=a,a6}var u6,nQ;function Z$(){if(nQ)return u6;nQ=1;var e=Wv(),t=IW(),n=ln(),r=typeof WeakMap=="function",i=r?new WeakMap:new Map;function a(m,y){return u(m,y.request.identifier,function(){return m.execute({operation:y})})}function u(m,y,v){return e.create(function(_){var x=d(m),E=x.get(y);return E||v().finally(function(){return x.delete(y)}).subscribe({start:function(T){E={identifier:y,subject:new t,subjectForInFlightStatus:new t,subscription:T,promise:null},x.set(y,E)},next:function(T){var R=h(x,y);R.subject.next(T),R.subjectForInFlightStatus.next(T)},error:function(T){var R=h(x,y);R.subject.error(T),R.subjectForInFlightStatus.error(T)},complete:function(){var T=h(x,y);T.subject.complete(),T.subjectForInFlightStatus.complete()},unsubscribe:function(T){var R=h(x,y);R.subject.unsubscribe(),R.subjectForInFlightStatus.unsubscribe()}}),E==null&&n(!1),l(x,E).subscribe(_)})}function l(m,y){return e.create(function(v){var _=y.subject.subscribe(v);return function(){_.unsubscribe();var x=m.get(y.identifier);if(x){var E=x.subscription;E!=null&&x.subject.getObserverCount()===0&&(E.unsubscribe(),m.delete(y.identifier))}}})}function o(m,y,v){return e.create(function(_){var x=v.subjectForInFlightStatus.subscribe({error:_.error,next:function(w){if(!m.isRequestActive(v.identifier)){_.complete();return}_.next()},complete:_.complete,unsubscribe:_.complete});return function(){x.unsubscribe()}})}function s(m,y){var v=d(m),_=v.get(y.identifier);if(!_||!m.isRequestActive(_.identifier))return null;var x=new Promise(function(E,w){var T=!1;o(m,v,_).subscribe({complete:E,error:w,next:function(C){T&&E(C)}}),T=!0});return x}function c(m,y){var v=d(m),_=v.get(y.identifier);return!_||!m.isRequestActive(_.identifier)?null:o(m,v,_)}function d(m){var y=i.get(m);if(y!=null)return y;var v=new Map;return i.set(m,v),v}function h(m,y){var v=m.get(y);return v==null&&n(!1),v}return u6={fetchQuery:a,fetchQueryDeduped:u,getPromiseForActiveRequest:s,getObservableForActiveRequest:c},u6}var l6,rQ;function rF(){if(rQ)return l6;rQ=1;var e=$n().default,t=FW().default,n=e(xu()),r=Wv(),i=Z$(),a=i.getObservableForActiveRequest,u=sp(),l=u.getFragment,o=LS(),s=o.handlePotentialSnapshotErrors,c=cp(),d=c.getSelector,h=ln();function m(T,R,C){return y.apply(this,arguments)}function y(){return y=t(function*(T,R,C){var k;try{var F,z=yield new Promise(function(q,j){k=v(T,R,C).subscribe({next:function(V){V.state==="ok"?q(V.value):V.state==="error"&&j(V.error)}})});return(F=k)===null||F===void 0||F.unsubscribe(),z}catch(q){var Z;throw(Z=k)===null||Z===void 0||Z.unsubscribe(),q}}),y.apply(this,arguments)}function v(T,R,C){var k,F=l(R),z=d(F,C);switch(((k=F.metadata)===null||k===void 0?void 0:k.hasClientEdges)!=null&&h(!1),z==null&&h(!1),z.kind){case"SingularReaderSelector":return _(T,R,z);case"PluralReaderSelector":return x(T,R,z)}h(!1)}function _(T,R,C){var k=T.lookup(C);return r.create(function(F){F.next(E(T,R,C.owner,k));var z=T.subscribe(k,function(Z){F.next(E(T,R,C.owner,Z))});return function(){return z.dispose()}})}function x(T,R,C){var k=C.selectors.map(function(F){return T.lookup(F)});return r.create(function(F){var z=k.map(function(q,j){return E(T,R,C.selectors[j].owner,q)});F.next(w(z));var Z=k.map(function(q,j){return T.subscribe(q,function(N){z[j]=E(T,R,C.selectors[j].owner,N),F.next(w(z))})});return function(){return Z.forEach(function(q){return q.dispose()})}})}function E(T,R,C,k){var F=k.missingLiveResolverFields!=null&&k.missingLiveResolverFields.length>0,z=k.missingClientEdges!=null&&k.missingClientEdges.length>0;if(F||z)return{state:"loading"};if(k.isMissingData&&(a(T,C)!=null||T.getOperationTracker().getPendingOperationsAffectingOwner(C)!=null))return{state:"loading"};try{s(T,k.fieldErrors)}catch(Z){return{error:Z,state:"error"}}return k.data==null&&h(!1),{state:"ok",value:k.data}}function w(T){var R=[],C=(0,n.default)(T),k;try{for(C.s();!(k=C.n()).done;){var F=k.value;if(F.state==="ok")R.push(F.value);else return F}}catch(z){C.e(z)}finally{C.f()}return{state:"ok",value:R}}return l6={observeFragment:v,waitForFragmentData:m},l6}var o6,iQ;function BS(){if(iQ)return o6;iQ=1;function e(n){return t(n)&&(Object.freeze(n),Object.getOwnPropertyNames(n).forEach(function(r){var i=n[r];i&&typeof i=="object"&&!Object.isFrozen(i)&&e(i)})),n}function t(n){return n!=null&&(Array.isArray(n)||typeof n=="object"&&n.constructor===Object)}return o6=e,o6}var s6,aQ;function LW(){if(aQ)return s6;aQ=1;var e=ob(),t=e.stableCopy,n=ln();function r(i,a){var u=i.cacheID!=null?i.cacheID:i.id;return u==null&&n(!1),u+JSON.stringify(t(a))}return s6=r,s6}var c6,uQ;function Jv(){if(uQ)return c6;uQ=1,BS();var e=LW(),t=Wd(),n=ob(),r=n.hasCycle,i=Kv(),a=i.getOperationVariables,u=cp(),l=u.createNormalizationSelector,o=u.createReaderSelector,s=xa(),c=s.ROOT_ID,d=ln();function h(y,v,_){var x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:c,E=y.operation,w=a(E,y.params.providedVariables,v);t.ENABLE_CYLE_DETECTION_IN_VARIABLES&&r(w)&&d(!1);var T=m(y,w,_),R={fragment:o(y.fragment,x,w,T),request:T,root:l(E,x,w)};return R}function m(y,v,_){var x={identifier:e(y.params,v),node:y,variables:v,cacheConfig:_};return x}return c6={createOperationDescriptor:h,createRequestDescriptor:m},c6}var f6,lQ;function POe(){if(lQ)return f6;lQ=1;var e=$n().default,t=e(sc()),n=rF(),r=n.observeFragment,i=Jv(),a=i.createOperationDescriptor;function u(l,o,s){var c=a(o,s),d={__id:c.fragment.dataID,__fragments:(0,t.default)({},c.fragment.node.name,c.request.variables),__fragmentOwner:c.request},h=c.request.node.fragment;return r(l,h,d)}return f6={observeQuery:u},f6}var d6,oQ;function MOe(){if(oQ)return d6;oQ=1;var e=FW().default,t=rF(),n=t.observeFragment;function r(a,u,l){return i.apply(this,arguments)}function i(){return i=e(function*(a,u,l){var o;try{var s,c=yield new Promise(function(h,m){o=n(a,u,l).subscribe({next:function(v){v.state==="ok"?h(v.value):v.state==="error"&&m(v.error)}})});return(s=o)===null||s===void 0||s.unsubscribe(),c}catch(h){var d;throw(d=o)===null||d===void 0||d.unsubscribe(),h}}),i.apply(this,arguments)}return d6={waitForFragmentData:r},d6}var h6,sQ;function FOe(){if(sQ)return h6;sQ=1;var e=kOe(),t=rF(),n=t.observeFragment,r=POe(),i=r.observeQuery,a=MOe(),u=a.waitForFragmentData;function l(s){return s.ok===!0}function o(s){return s.ok===!1}return h6={resolverDataInjector:e,isValueResult:l,isErrorResult:o,observeQuery:i,observeFragment:n,waitForFragmentData:u},h6}var p6,cQ;function BW(){if(cQ)return p6;cQ=1;var e=new Map,t=1,n=a(),r="	",i="\v";function a(){for(var o=new Set,s=0;s<10;++s)o.add(s.toString());return o}function u(o){return o[0]===r&&n.has(o[1])||o[0]===i?i+o:o}function l(o,s){if(s==null||o.length<s)return u(o);var c=e.get(o);return c!=null||(c=r+t++,e.set(o,c)),c}return p6={intern:l},p6}var m6,fQ;function A0(){if(fQ)return m6;fQ=1;var e=Wd(),t=BW(),n=t.intern,r="client:";function i(s,c,d){var h=e.STRING_INTERN_LEVEL<=0?s:n(s,e.MAX_DATA_ID_LENGTH),m=h+":"+c;return d!=null&&(m+=":"+d),m.indexOf(r)!==0&&(m=r+m),m}function a(s){return s.indexOf(r)===0}var u=0;function l(){return"".concat(r,"local:").concat(u++)}function o(s,c,d){var h="".concat(r).concat(s,":").concat(c);return d!=null&&(h+=":"+d),h}return m6={generateClientID:i,generateClientObjectClientID:o,generateUniqueClientID:l,isClientID:a},m6}var g6,dQ;function iF(){if(dQ)return g6;dQ=1;var e={after:!0,before:!0,find:!0,first:!0,last:!0,surrounds:!0},t={CURSOR:"cursor",EDGES:"edges",END_CURSOR:"endCursor",HAS_NEXT_PAGE:"hasNextPage",HAS_PREV_PAGE:"hasPreviousPage",NODE:"node",PAGE_INFO_TYPE:"PageInfo",PAGE_INFO:"pageInfo",START_CURSOR:"startCursor"},n={inject:function(i){t=i},get:function(){return t},isConnectionCall:function(i){return e.hasOwnProperty(i.name)}};return g6=n,g6}var v6,hQ;function H$(){if(hQ)return v6;hQ=1;var e=A0(),t=e.generateClientID,n=xa(),r=n.getStableStorageKey,i=tF(),a=iF(),u=ln();Bi();var l="connection",o="__connection_next_edge_index";function s(E,w){var T=E.get(w.dataID);if(T){var R=a.get(),C=R.EDGES,k=R.END_CURSOR,F=R.HAS_NEXT_PAGE,z=R.HAS_PREV_PAGE,Z=R.PAGE_INFO,q=R.PAGE_INFO_TYPE,j=R.START_CURSOR,N=T.getLinkedRecord(w.fieldKey),V=N&&N.getLinkedRecord(Z);if(!N){T.setValue(null,w.handleKey,void 0,T.getErrors(w.fieldKey));return}var W=t(T.getDataID(),w.handleKey),G=T.getLinkedRecord(w.handleKey),J=G??E.get(W),te=J&&J.getLinkedRecord(Z);if(J){G==null&&T.setLinkedRecord(J,w.handleKey);var K=J,Y=N.getLinkedRecords(C);Y&&(Y=Y.map(function(Ne){return _(E,K,Ne)}));var B=K.getLinkedRecords(C),ne=K.getLinkedRecord(Z);K.copyFieldsFrom(N),B&&K.setLinkedRecords(B,C),ne&&K.setLinkedRecord(ne,Z);var oe=[],ae=w.args;if(B&&Y)if(ae.after!=null){var de,be=(de=te)===null||de===void 0?void 0:de.getValue(k),ye=V==null?void 0:V.getValue(k),pe=te&&ae.after===be,_e=te&&be===ye;if(pe||_e){var se=new Set;x(B,oe,se),x(Y,oe,se)}else return}else if(ae.before!=null)if(te&&ae.before===te.getValue(j)){var me=new Set;x(Y,oe,me),x(B,oe,me)}else return;else oe=Y;else Y?oe=Y:oe=B;if(oe!=null&&oe!==B&&K.setLinkedRecords(oe,C),te&&V){if(ae.after==null&&ae.before==null)te.copyFieldsFrom(V);else if(ae.before!=null||ae.after==null&&ae.last){te.setValue(!!V.getValue(z),z);var ge=V.getValue(j);typeof ge=="string"&&te.setValue(ge,j)}else if(ae.after!=null||ae.before==null&&ae.first){te.setValue(!!V.getValue(F),F);var we=V.getValue(k);typeof we=="string"&&te.setValue(we,k)}}}else{var X=E.create(W,N.getType());X.setValue(0,o),X.copyFieldsFrom(N);var M=N.getLinkedRecords(C);M&&(M=M.map(function(Ne){return _(E,X,Ne)}),X.setLinkedRecords(M,C)),T.setLinkedRecord(X,w.handleKey),te=E.create(t(X.getDataID(),Z),q),te.setValue(!1,F),te.setValue(!1,z),te.setValue(null,k),te.setValue(null,j),V&&te.copyFieldsFrom(V),X.setLinkedRecord(te,Z)}}}function c(E,w,T){var R=i(l,w,null);return E.getLinkedRecord(R,T)}function d(E,w,T){var R=i(l,w,null),C=r(R,T);return t(E,C)}function h(E,w,T){var R=a.get(),C=R.CURSOR,k=R.EDGES,F=E.getLinkedRecords(k);if(!F){E.setLinkedRecords([w],k);return}var z;if(T==null)z=F.concat(w);else{z=[];for(var Z=!1,q=0;q<F.length;q++){var j=F[q];if(z.push(j),j!=null){var N=j.getValue(C);T===N&&(z.push(w),Z=!0)}}Z||z.push(w)}E.setLinkedRecords(z,k)}function m(E,w,T,R){var C=a.get(),k=C.NODE,F=t(w.getDataID(),T.getDataID()),z=E.get(F);return z||(z=E.create(F,R)),z.setLinkedRecord(T,k),z.getValue("cursor")==null&&z.setValue(null,"cursor"),z}function y(E,w,T){var R=a.get(),C=R.CURSOR,k=R.EDGES,F=E.getLinkedRecords(k);if(!F){E.setLinkedRecords([w],k);return}var z;if(T==null)z=[w].concat(F);else{z=[];for(var Z=!1,q=0;q<F.length;q++){var j=F[q];if(j!=null){var N=j.getValue(C);T===N&&(z.push(w),Z=!0)}z.push(j)}Z||z.unshift(w)}E.setLinkedRecords(z,k)}function v(E,w){var T=a.get(),R=T.EDGES,C=T.NODE,k=E.getLinkedRecords(R);if(k){for(var F,z=0;z<k.length;z++){var Z=k[z],q=Z&&Z.getLinkedRecord(C);q!=null&&q.getDataID()===w?F===void 0&&(F=k.slice(0,z)):F!==void 0&&F.push(Z)}F!==void 0&&E.setLinkedRecords(F,R)}}function _(E,w,T){if(T==null)return T;var R=a.get(),C=R.EDGES,k=w.getValue(o);typeof k!="number"&&u(!1);var F=t(w.getDataID(),C,k),z=E.create(F,T.getType());return z.copyFieldsFrom(T),z.getValue("cursor")==null&&z.setValue(null,"cursor"),w.setValue(k+1,o),z}function x(E,w,T){for(var R=a.get(),C=R.NODE,k=0;k<E.length;k++){var F=E[k];if(F){var z=F.getLinkedRecord(C),Z=z&&z.getDataID();if(Z){if(T.has(Z))continue;T.add(Z)}w.push(F)}}}return v6={buildConnectionEdge:_,createEdge:m,deleteNode:v,getConnection:c,getConnectionID:d,insertEdgeAfter:h,insertEdgeBefore:y,update:s},v6}var y6,pQ;function QW(){if(pQ)return y6;pQ=1;var e=$n().default,t=e(xu()),n=H$(),r=iF(),i=ln(),a=Bi(),u={update:function(v,_){var x=v.get(_.dataID);if(x!=null){var E=x.getValue(_.fieldKey);typeof E=="string"?v.delete(E):Array.isArray(E)&&E.forEach(function(w){typeof w=="string"&&v.delete(w)})}}},l={update:function(v,_){var x=v.get(_.dataID);if(x!=null){var E=_.handleArgs.connections;E==null&&i(!1);var w=x.getValue(_.fieldKey),T=Array.isArray(w)?w:[w];T.forEach(function(R){if(typeof R=="string"){var C=(0,t.default)(E),k;try{for(C.s();!(k=C.n()).done;){var F=k.value,z=v.get(F);z!=null&&n.deleteNode(z,R)}}catch(Z){C.e(Z)}finally{C.f()}}})}}},o={update:h(n.insertEdgeAfter)},s={update:h(n.insertEdgeBefore)},c={update:m(n.insertEdgeAfter)},d={update:m(n.insertEdgeBefore)};function h(y){return function(v,_){var x,E=v.get(_.dataID);if(E!=null){var w=_.handleArgs.connections;w==null&&i(!1);var T,R;try{T=E.getLinkedRecord(_.fieldKey)}catch{}if(!T)try{R=E.getLinkedRecords(_.fieldKey)}catch{}if(!(T==null&&R==null)){var C=r.get(),k=C.NODE,F=C.EDGES,z=(x=R)!==null&&x!==void 0?x:[T],Z=(0,t.default)(z),q;try{var j=function(){var G=q.value;if(G==null)return"continue";var J=G.getLinkedRecord("node");if(!J)return"continue";var te=J.getDataID(),X=(0,t.default)(w),M;try{for(X.s();!(M=X.n()).done;){var K=M.value,Y=v.get(K);if(Y!=null){var B=(N=Y.getLinkedRecords(F))===null||N===void 0?void 0:N.some(function(oe){var ae;return(oe==null||(ae=oe.getLinkedRecord(k))===null||ae===void 0?void 0:ae.getDataID())===te});if(!B){var ne=n.buildConnectionEdge(v,Y,G);ne==null&&i(!1),y(Y,ne)}}}}catch(oe){X.e(oe)}finally{X.f()}};for(Z.s();!(q=Z.n()).done;)var N,V=j()}catch(W){Z.e(W)}finally{Z.f()}}}}}function m(y){return function(v,_){var x,E=v.get(_.dataID);if(E!=null){var w=_.handleArgs,T=w.connections,R=w.edgeTypeName;T==null&&i(!1),R==null&&i(!1);var C,k;try{C=E.getLinkedRecord(_.fieldKey)}catch{}if(!C)try{k=E.getLinkedRecords(_.fieldKey)}catch{}if(!(C==null&&k==null)){var F=r.get(),z=F.NODE,Z=F.EDGES,q=(x=k)!==null&&x!==void 0?x:[C],j=(0,t.default)(q),N;try{var V=function(){var te=N.value;if(te==null)return"continue";var X=te.getDataID(),M=(0,t.default)(T),K;try{for(M.s();!(K=M.n()).done;){var Y=K.value,B=v.get(Y);if(B!=null){var ne=(W=B.getLinkedRecords(Z))===null||W===void 0?void 0:W.some(function(ae){var de;return(ae==null||(de=ae.getLinkedRecord(z))===null||de===void 0?void 0:de.getDataID())===X});if(!ne){var oe=n.createEdge(v,B,te,R);oe==null&&i(!1),y(B,oe)}}}}catch(ae){M.e(ae)}finally{M.f()}};for(j.s();!(N=j.n()).done;)var W,G=V()}catch(J){j.e(J)}finally{j.f()}}}}}return y6={AppendEdgeHandler:o,DeleteRecordHandler:u,PrependEdgeHandler:s,AppendNodeHandler:c,PrependNodeHandler:d,DeleteEdgeHandler:l},y6}var b6,mQ;function zW(){if(mQ)return b6;mQ=1;var e=H$(),t=QW(),n=ln();function r(i){switch(i){case"connection":return e;case"deleteRecord":return t.DeleteRecordHandler;case"deleteEdge":return t.DeleteEdgeHandler;case"appendEdge":return t.AppendEdgeHandler;case"prependEdge":return t.PrependEdgeHandler;case"appendNode":return t.AppendNodeHandler;case"prependNode":return t.PrependNodeHandler}n(!1)}return b6=r,b6}var O6,gQ;function aF(){if(gQ)return O6;gQ=1;function e(t){return!!(t&&t["@@RelayModernEnvironment"])}return O6=e,O6}var S6,vQ;function X$(){if(vQ)return S6;vQ=1;var e=$n().default,t=e(xu()),n=H$(),r=Bi(),i=Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE"}),a=Object.freeze({APPEND:"append",PREPEND:"prepend"});function u(h,m,y,v){var _=y?[y]:[],x=v?[v]:[];return h.forEach(function(E){switch(E.type){case"NODE_DELETE":var w=l(E,m);w&&(_.push(w),x.push(w));break;case"RANGE_ADD":var T=o(E,m);T&&(_.push(T),x.push(T));break;case"RANGE_DELETE":var R=s(E,m);R&&(_.push(R),x.push(R));break}}),{optimisticUpdater:function(w,T){_.forEach(function(R){R(w,T)})},updater:function(w,T){x.forEach(function(R){R(w,T)})}}}function l(h,m){var y=h.deletedIDFieldName,v=d(m);return v?function(_,x){var E=_.getRootField(v);if(E){var w=E.getValue(y),T=Array.isArray(w)?w:[w];T.forEach(function(R){R&&typeof R=="string"&&_.delete(R)})}}:null}function o(h,m){var y=h.parentID,v=h.connectionInfo,_=h.edgeName;if(!y)return null;var x=d(m);return!v||!x?null:function(E,w){var T=E.get(y);if(T){var R=E.getRootField(x);if(R){var C=R.getLinkedRecord(_),k=(0,t.default)(v),F;try{for(k.s();!(F=k.n()).done;){var z=F.value;if(C){var Z=n.getConnection(T,z.key,z.filters);if(Z){var q=n.buildConnectionEdge(E,Z,C);if(q)switch(z.rangeBehavior){case"append":n.insertEdgeAfter(Z,q);break;case"prepend":n.insertEdgeBefore(Z,q);break;default:break}}}}}catch(j){k.e(j)}finally{k.f()}}}}}function s(h,m){var y=h.parentID,v=h.connectionKeys,_=h.pathToConnection,x=h.deletedIDFieldName;if(!y)return null;var E=d(m);return E?function(w,T){if(T){var R=[],C=T[E];if(C&&Array.isArray(x)){var k=(0,t.default)(x),F;try{for(k.s();!(F=k.n()).done;){var z=F.value;C&&typeof C=="object"&&(C=C[z])}}catch(Z){k.e(Z)}finally{k.f()}Array.isArray(C)?C.forEach(function(Z){Z&&Z.id&&typeof Z=="object"&&typeof Z.id=="string"&&R.push(Z.id)}):C&&C.id&&typeof C.id=="string"&&R.push(C.id)}else C&&typeof x=="string"&&typeof C=="object"&&(C=C[x],typeof C=="string"?R.push(C):Array.isArray(C)&&C.forEach(function(Z){typeof Z=="string"&&R.push(Z)}));c(y,v,_,w,R)}}:null}function c(h,m,y,v,_){var x=v.get(h);if(x&&!(y.length<2)){for(var E=x,w=1;w<y.length-1;w++)E&&(E=E.getLinkedRecord(y[w]));if(!(!m||!E)){var T=(0,t.default)(m),R;try{var C=function(){var F=R.value,z=n.getConnection(E,F.key,F.filters);z&&_.forEach(function(Z){n.deleteNode(z,Z)})};for(T.s();!(R=T.n()).done;)C()}catch(k){T.e(k)}finally{T.f()}}}}function d(h){return h.fragment.selections&&h.fragment.selections.length>0&&h.fragment.selections[0].kind==="LinkedField"?h.fragment.selections[0].name:null}return S6={MutationTypes:i,RangeOperations:a,convert:u},S6}var x6,yQ;function NOe(){if(yQ)return x6;yQ=1;var e=sp(),t=e.getRequest,n=aF(),r=Jv(),i=r.createOperationDescriptor,a=X$(),u=ln();function l(o,s){n(o)||u(!1);var c=t(s.mutation);if(c.params.operationKind!=="mutation")throw new Error("commitMutation: Expected mutation operation");var d=s.optimisticUpdater,h=s.configs,m=s.optimisticResponse,y=s.variables,v=i(c,y);if(h){var _=a.convert(h,c,d);d=_.optimisticUpdater}return o.applyMutation({operation:v,response:m,updater:d})}return x6=l,x6}var _6,bQ;function IOe(){if(bQ)return _6;bQ=1;function e(t,n){t.commitUpdate(n)}return _6=e,_6}var E6,OQ;function LOe(){if(OQ)return E6;OQ=1;var e=$n().default;e(Qi()),Bi();var t=function(){};return E6=t,E6}var D6,SQ;function BOe(){if(SQ)return D6;SQ=1;var e=$n().default,t=e(Gv()),n=sp(),r=n.getRequest,i=A0(),a=i.generateUniqueClientID,u=aF(),l=Jv(),o=l.createOperationDescriptor,s=X$();LOe();var c=ln();Bi();function d(h,m){u(h)||c(!1);var y=r(m.mutation);if(y.params.operationKind!=="mutation")throw new Error("commitMutation: Expected mutation operation");if(y.kind!=="Request")throw new Error("commitMutation: Expected mutation to be of type request");var v=m.optimisticResponse,_=m.optimisticUpdater,x=m.updater,E=m.configs,w=m.cacheConfig,T=m.onError,R=m.onUnsubscribe,C=m.variables,k=m.uploadables,F=o(y,C,w,a());if(typeof v=="function"&&(v=v()),E){var z=s.convert(E,y,_,x);_=z.optimisticUpdater,x=z.updater}var Z=[],q=h.executeMutation({operation:F,optimisticResponse:v,optimisticUpdater:_,updater:x,uploadables:k}).subscribe({next:function(N){var V;Array.isArray(N)?N.forEach(function(W){W.errors&&Z.push.apply(Z,(0,t.default)(W.errors))}):N.errors&&Z.push.apply(Z,(0,t.default)(N.errors)),(V=m.onNext)===null||V===void 0||V.call(m)},complete:function(){var N=m.onCompleted;if(N){var V=h.lookup(F.fragment);N(V.data,Z.length!==0?Z:null)}},error:T,unsubscribe:R});return{dispose:q.unsubscribe}}return D6=d,D6}var $6,xQ;function qW(){if(xQ)return $6;xQ=1,Kf(),Bi();var e=typeof WeakMap=="function",t=e?new WeakMap:new Map;function n(r,i){if(i!=null){var a={};return Object.assign(a,r),Object.keys(i).forEach(function(u){var l=i[u].get,o=l();if(!t.has(l))t.set(l,o),a[u]=o;else{var s=t.get(l);a[u]=s}}),a}else return r}return n.tests_only_resetDebugCache=void 0,$6=n,$6}var C6,_Q;function QOe(){if(_Q)return C6;_Q=1;var e=Wv();function t(n){return function(i,a,u,l,o){var s=n(i,a,u,l,o);return s instanceof Error?e.create(function(c){return c.error(s)}):e.from(s)}}return C6={convertFetch:t},C6}var w6,EQ;function zOe(){if(EQ)return w6;EQ=1;var e=qW(),t=QOe(),n=t.convertFetch,r=ln();function i(a,u){var l=n(a);function o(s,c,d,h,m){var y=e(c,s.providedVariables);if(s.operationKind==="subscription")return u||r(!1),h&&r(!1),u(s,y,d);var v=d.poll;return v!=null?(h&&r(!1),l(s,y,{force:!0}).poll(v)):l(s,y,d,h,m)}return{execute:o}}return w6={create:i},w6}var R6,DQ;function qOe(){if(DQ)return R6;DQ=1;var e=$n().default,t=e(Qi()),n=ob(),r=n.stableCopy,i=ln(),a=(function(){function o(c){var d=c.size,h=c.ttl;d>0||i(!1),h>0||i(!1),this._responses=new Map,this._size=d,this._ttl=h}var s=o.prototype;return s.clear=function(){this._responses.clear()},s.get=function(d,h){var m=this,y=u(d,h);this._responses.forEach(function(_,x){l(_.fetchTime,m._ttl)||m._responses.delete(x)});var v=this._responses.get(y);return v==null?null:Array.isArray(v.payload)?v.payload.map(function(_){return(0,t.default)((0,t.default)({},_),{},{extensions:(0,t.default)((0,t.default)({},_.extensions),{},{cacheTimestamp:v.fetchTime})})}):(0,t.default)((0,t.default)({},v.payload),{},{extensions:(0,t.default)((0,t.default)({},v.payload.extensions),{},{cacheTimestamp:v.fetchTime})})},s.set=function(d,h,m){var y=Date.now(),v=u(d,h);if(this._responses.delete(v),this._responses.set(v,{fetchTime:y,payload:m}),this._responses.size>this._size){var _=this._responses.keys().next();_.done||this._responses.delete(_.value)}},o})();function u(o,s){return JSON.stringify(r({queryID:o,variables:s}))}function l(o,s){return o+s>=Date.now()}return R6=a,R6}var A6,$Q;function VOe(){if($Q)return A6;$Q=1;var e=$n().default,t=e(Qi()),n=Wv(),r=Jv(),i=r.createOperationDescriptor,a=LS(),u=a.handlePotentialSnapshotErrors,l=Z$(),o=sp(),s=o.getRequest,c=ln();function d(m,y,v,_){var x,E=s(y);E.params.operationKind!=="query"&&c(!1);var w=(0,t.default)({force:!0},_==null?void 0:_.networkCacheConfig),T=i(E,v,w),R=(x=_==null?void 0:_.fetchPolicy)!==null&&x!==void 0?x:"network-only";function C(k){return u(m,k.fieldErrors),k.data}switch(R){case"network-only":return h(m,T).map(C);case"store-or-network":return m.check(T).status==="available"?n.from(m.lookup(T.fragment)).map(C):h(m,T).map(C);default:throw new Error("fetchQuery: Invalid fetchPolicy "+R)}}function h(m,y){return l.fetchQuery(m,y).map(function(){return m.lookup(y.fragment)})}return A6=d,A6}var T6,CQ;function UOe(){if(CQ)return T6;CQ=1;var e=Jv(),t=e.createOperationDescriptor,n=sp(),r=n.getRequest;function i(a,u,l,o){var s=r(u);if(s.params.operationKind!=="query")throw new Error("fetchQuery: Expected query operation");var c=t(s,l,o);return a.execute({operation:c}).map(function(){return a.lookup(c.fragment).data}).toPromise()}return T6=i,T6}var k6,wQ;function jOe(){if(wQ)return k6;wQ=1;var e=(function(){function n(){this._preloadableQueries=new Map,this._callbacks=new Map}var r=n.prototype;return r.set=function(a,u){this._preloadableQueries.set(a,u);var l=this._callbacks.get(a);l!=null&&l.forEach(function(o){try{o(u)}catch(s){setTimeout(function(){throw s},0)}})},r.get=function(a){return this._preloadableQueries.get(a)},r.onLoad=function(a,u){var l,o=(l=this._callbacks.get(a))!==null&&l!==void 0?l:new Set;o.add(u);var s=function(){o.delete(u)};return this._callbacks.set(a,o),{dispose:s}},r.clear=function(){this._preloadableQueries.clear()},n})(),t=new e;return k6=t,k6}var P6,RQ;function VW(){if(RQ)return P6;RQ=1;var e=Z$(),t=e.getPromiseForActiveRequest;function n(r,i,a){var u,l,o=[],s=t(r,a);if(s!=null)o=[a];else{var c,d,h=r.getOperationTracker(),m=h.getPendingOperationsAffectingOwner(a);o=(c=m==null?void 0:m.pendingOperations)!==null&&c!==void 0?c:[],s=(d=m==null?void 0:m.promise)!==null&&d!==void 0?d:null}if(!s)return null;var y=(u=(l=o)===null||l===void 0?void 0:l.map(function(x){return x.node.params.name}).join(","))!==null&&u!==void 0?u:null;(y==null||y.length===0)&&(y="Unknown pending operation");var v=i.name,_=y===v?"Relay(".concat(y,")"):"Relay(".concat(y,":").concat(v,")");return s.displayName=_,r.__log({name:"pendingoperation.found",fragment:i,fragmentOwner:a,pendingOperations:o}),{promise:s,pendingOperations:o}}return P6=n,P6}var M6,AQ;function UW(){if(AQ)return M6;AQ=1;function e(t,n){return t===n&&(t===null||typeof t!="object")}return M6=e,M6}var F6,TQ;function Y$(){if(TQ)return F6;TQ=1;function e(n,r){return t(n,r,!0)}function t(n,r,i){if(n===r||typeof n!="object"||!n||n.constructor!==Object&&!Array.isArray(n)||typeof r!="object"||!r||r.constructor!==Object&&!Array.isArray(r))return r;var a=!1,u=Array.isArray(n)?n:null,l=Array.isArray(r)?r:null;if(u&&l){var o=i&&!Object.isFrozen(l);a=l.reduce(function(y,v,_){var x=u[_],E=t(x,v,o);return E!==l[_]&&o&&(l[_]=E),y&&E===u[_]},!0)&&u.length===l.length}else if(!u&&!l){var s=n,c=r,d=Object.keys(s),h=Object.keys(c),m=i&&!Object.isFrozen(c);a=h.reduce(function(y,v){var _=s[v],x=t(_,c[v],m);return x!==c[v]&&m&&(c[v]=x),y&&x===s[v]},!0)&&d.length===h.length}return a?n:r}return F6=e,F6}var N6,kQ;function ZOe(){if(kQ)return N6;kQ=1;var e=$n().default,t=e(Qi()),n=e(sc()),r=VW(),i=LS(),a=i.handlePotentialSnapshotErrors,u=UW(),l=Y$(),o=Wd(),s=Jv(),c=s.createRequestDescriptor,d=cp(),h=d.areEqualSelectors,m=d.createReaderSelector,y=d.getSelectorsFromObject,v=Kf(),_=ln();Bi();var x=(function(){function R(k,F,z,Z,q){var j=this;(0,n.default)(this,"_onChange",function(){j._stale=!0,typeof j._callback=="function"&&j._callback()}),this._callback=Z,this._context=k,this._data={},this._fragments=F,this._props={},this._resolvers={},this._stale=!1,this._rootIsQueryRenderer=q,this.setProps(z)}var C=R.prototype;return C.dispose=function(){for(var F in this._resolvers)this._resolvers.hasOwnProperty(F)&&T(this._resolvers[F])},C.resolve=function(){if(this._stale){var F=this._data,z;for(var Z in this._resolvers)if(this._resolvers.hasOwnProperty(Z)){var q=this._resolvers[Z],j=F[Z];if(q){var N=q.resolve();(z||N!==j)&&(z=z||(0,t.default)({},F),z[Z]=N)}else{var V=this._props[Z],W=V!==void 0?V:null;(z||!u(W,j))&&(z=z||(0,t.default)({},F),z[Z]=W)}}this._data=z||F,this._stale=!1}return this._data},C.setCallback=function(F,z){this._callback=z,o.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0&&this.setProps(F)},C.setProps=function(F){this._props={};var z=y(this._fragments,F);for(var Z in z)if(z.hasOwnProperty(Z)){var q=z[Z],j=this._resolvers[Z];q==null?(j!=null&&j.dispose(),j=null):q.kind==="PluralReaderSelector"?j==null?j=new w(this._context.environment,this._rootIsQueryRenderer,q,this._callback!=null,this._onChange):(j instanceof w||_(!1),j.setSelector(q)):j==null?j=new E(this._context.environment,this._rootIsQueryRenderer,q,this._callback!=null,this._onChange):(j instanceof E||_(!1),j.setSelector(q)),this._props[Z]=F[Z],this._resolvers[Z]=j}this._stale=!0},C.setVariables=function(F,z){for(var Z in this._resolvers)if(this._resolvers.hasOwnProperty(Z)){var q=this._resolvers[Z];q&&q.setVariables(F,z)}this._stale=!0},R})(),E=(function(){function R(k,F,z,Z,q){var j=this;(0,n.default)(this,"_onChange",function(V){j._data=V.data,j._isMissingData=V.isMissingData,j._fieldErrors=V.fieldErrors,j._callback()});var N=k.lookup(z);this._callback=q,this._data=N.data,this._isMissingData=N.isMissingData,this._fieldErrors=N.fieldErrors,this._environment=k,this._rootIsQueryRenderer=F,this._selector=z,o.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0?Z&&(this._subscription=k.subscribe(N,this._onChange)):this._subscription=k.subscribe(N,this._onChange)}var C=R.prototype;return C.dispose=function(){this._subscription&&(this._subscription.dispose(),this._subscription=null)},C.resolve=function(){if(this._isMissingData===!0){var F=r(this._environment,this._selector.node,this._selector.owner),z=F==null?void 0:F.promise;if(z!=null&&!this._rootIsQueryRenderer){var Z,q=(Z=F==null?void 0:F.pendingOperations)!==null&&Z!==void 0?Z:[];throw this._environment.__log({name:"suspense.fragment",data:this._data,fragment:this._selector.node,isRelayHooks:!1,isMissingData:this._isMissingData,isPromiseCached:!1,pendingOperations:q}),z}}return a(this._environment,this._fieldErrors),this._data},C.setSelector=function(F){if(!(this._subscription!=null&&h(F,this._selector))){this.dispose();var z=this._environment.lookup(F);this._data=l(this._data,z.data),this._isMissingData=z.isMissingData,this._fieldErrors=z.fieldErrors,this._selector=F,this._subscription=this._environment.subscribe(z,this._onChange)}},C.setVariables=function(F,z){if(!v(F,this._selector.variables)){var Z=c(z,F),q=m(this._selector.node,this._selector.dataID,F,Z);this.setSelector(q)}},R})(),w=(function(){function R(k,F,z,Z,q){var j=this;(0,n.default)(this,"_onChange",function(N){j._stale=!0,j._callback()}),this._callback=q,this._data=[],this._environment=k,this._resolvers=[],this._stale=!0,this._rootIsQueryRenderer=F,this._subscribeOnConstruction=Z,this.setSelector(z)}var C=R.prototype;return C.dispose=function(){this._resolvers.forEach(T)},C.resolve=function(){if(this._stale){for(var F=this._data,z,Z=0;Z<this._resolvers.length;Z++){var q=F[Z],j=this._resolvers[Z].resolve();(z||j!==q)&&(z=z||F.slice(0,Z),z.push(j))}!z&&this._resolvers.length!==F.length&&(z=F.slice(0,this._resolvers.length)),this._data=z||F,this._stale=!1}return this._data},C.setSelector=function(F){for(var z=F.selectors;this._resolvers.length>z.length;){var Z=this._resolvers.pop();Z.dispose()}for(var q=0;q<z.length;q++)q<this._resolvers.length?this._resolvers[q].setSelector(z[q]):this._resolvers[q]=new E(this._environment,this._rootIsQueryRenderer,z[q],this._subscribeOnConstruction,this._onChange);this._stale=!0},C.setVariables=function(F,z){this._resolvers.forEach(function(Z){return Z.setVariables(F,z)}),this._stale=!0},R})();function T(R){R&&R.dispose()}return N6=x,N6}var I6,PQ;function HOe(){if(PQ)return I6;PQ=1;var e=ZOe();Bi();function t(n,r,i,a,u,l){return new e(n,i,a,l,u)}return I6=t,I6}var L6,MQ;function XOe(){if(MQ)return L6;MQ=1;var e=ln(),t,n;function r(i){return t||(t=i.createContext(null),n=i),i!==n&&e(!1),t}return L6=r,L6}var B6,FQ;function YOe(){if(FQ)return B6;FQ=1;var e=ln(),t,n;function r(i){return t||(t=i.createContext(null),n=i),i!==n&&e(!1),t}return B6=r,B6}var Q6,NQ;function G$(){if(NQ)return Q6;NQ=1;var e=Object.freeze({__LIVE_RESOLVER_SUSPENSE_SENTINEL:!0});function t(){return e}function n(r){return r===e}return Q6={isSuspenseSentinel:n,suspenseSentinel:t},Q6}var z6={exports:{}},IQ;function A3(){return IQ||(IQ=1,(function(e){function t(n,r){if(n==null)return{};var i={};for(var a in n)if({}.hasOwnProperty.call(n,a)){if(r.indexOf(a)!==-1)continue;i[a]=n[a]}return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(z6)),z6.exports}var q6,LQ;function cf(){if(LQ)return q6;LQ=1;var e=$n().default,t=e(sc()),n=e(A3()),r=e(TW()),i=e(Qi()),a=BS(),u=A0(),l=u.generateClientObjectClientID;u.isClientID;var o=G$(),s=o.isSuspenseSentinel,c=xa(),d=c.ACTOR_IDENTIFIER_KEY,h=c.ERRORS_KEY,m=c.ID_KEY,y=c.INVALIDATED_AT_KEY,v=c.REF_KEY,_=c.REFS_KEY,x=c.RELAY_RESOLVER_VALUE_KEY;c.ROOT_ID;var E=c.TYPENAME_KEY,w=Kf(),T=ln();Bi();function R(se){return(0,i.default)({},se)}function C(se,me){for(var ge in se)se.hasOwnProperty(ge)&&ge!==m&&ge!==E&&(me[ge]=se[ge])}function k(se,me){var ge={};return ge[m]=se,ge[E]=me,ge}function F(se){return se}function z(se){return se[m]}function Z(se){return h in se?Object.keys(se).filter(function(me){return me!==h}):Object.keys(se)}function q(se){return se[E]}function j(se,me){var ge;return(ge=se[h])===null||ge===void 0?void 0:ge[me]}function N(se,me){var ge=se[me];return ge&&typeof ge=="object"&&(!ge.hasOwnProperty(v)&&!ge.hasOwnProperty(_)||T(!1)),ge}function V(se,me){return me in se}function W(se,me){var ge=se[me];if(ge==null)return ge;var we=ge;return typeof we=="object"&&we&&typeof we[v]=="string"||T(!1),we[v]}function G(se,me){var ge=se[me];if(ge==null)return!1;var we=ge;return typeof we=="object"&&we&&typeof we[v]=="string"}function J(se,me){var ge=se[me];return ge==null?ge:(typeof ge=="object"&&Array.isArray(ge[_])||T(!1),ge[_])}function te(se,me){var ge=se[me];return ge==null?!1:typeof ge=="object"&&Array.isArray(ge[_])&&ge[_].every(function(we){return typeof we=="string"})}function X(se){if(se==null)return null;var me=se[y];return typeof me!="number"?null:me}function M(se,me){var ge,we=se[h],Ne=me[h],Re=null;if(we==null&&Ne==null){var et;for(var tt in me)(Re||!w(se[tt],me[tt]))&&(Re=Re!==null?Re:(0,i.default)({},se),Re[tt]=me[tt]);return(et=Re)!==null&&et!==void 0?et:se}for(var Oe in me)if(Oe!==h){var $e=me[Oe],Ae=Ne==null?void 0:Ne[Oe];if(Re==null){var Ue=se[Oe],Ze=we==null?void 0:we[Oe];if(w(Ue,$e)&&w(Ze,Ae))continue;Re=(0,i.default)({},se),we!=null&&(Re[h]=(0,i.default)({},we))}ne(Re,Oe,$e),B(Re,Oe,Ae)}return(ge=Re)!==null&&ge!==void 0?ge:se}function K(se,me){if(h in se||h in me){var ge=se[h],we=(0,n.default)(se,[h].map(r.default)),Ne=me[h],Re=(0,n.default)(me,[h].map(r.default)),et=(0,i.default)((0,i.default)({},we),Re);if(ge==null&&Ne==null)return et;var tt={};for(var Oe in ge)Re.hasOwnProperty(Oe)||(tt[Oe]=ge[Oe]);for(var $e in Ne)tt[$e]=Ne[$e];for(var Ae in tt){et[h]=tt;break}return et}else return(0,i.default)((0,i.default)({},se),me)}function Y(se){a(se)}function B(se,me,ge){var we=se[h];if(ge!=null&&ge.length>0)we==null?se[h]=(0,t.default)({},me,ge):we[me]=ge;else if(we!=null&&delete we[me]){for(var Ne in we)if(we.hasOwnProperty(Ne))return;delete se[h]}}function ne(se,me,ge){se[me]=ge}function oe(se,me,ge){var we={};we[v]=ge,se[me]=we}function ae(se,me,ge){var we={};we[_]=ge,se[me]=we}function de(se,me,ge,we){var Ne={};Ne[v]=we,Ne[d]=ge,se[me]=Ne}function be(se,me){var ge=se[me];return ge==null?ge:(typeof ge=="object"&&typeof ge[v]=="string"&&ge[d]!=null||T(!1),[ge[d],ge[v]])}function ye(se,me){var ge=N(se,x);return ge==null||s(ge)?null:(typeof ge=="object"&&(ge=ge.id),typeof ge!="string"&&T(!1),l(me,ge))}function pe(se,me){var ge=N(se,x);return ge==null||s(ge)?null:(Array.isArray(ge)||T(!1),ge.map(function(we){return we==null?null:(typeof we=="object"&&(we=we.id),typeof we!="string"&&T(!1),l(me,we))}))}function _e(se){return se}return q6={clone:R,copyFields:C,create:k,freeze:Y,fromObject:F,getDataID:z,getErrors:j,getFields:Z,getInvalidationEpoch:X,getLinkedRecordID:W,getLinkedRecordIDs:J,getType:q,getValue:N,hasValue:V,hasLinkedRecordID:G,hasLinkedRecordIDs:te,merge:K,setErrors:B,setValue:ne,setLinkedRecordID:oe,setLinkedRecordIDs:ae,update:M,getActorLinkedRecordID:be,setActorLinkedRecordID:de,getResolverLinkedRecordID:ye,getResolverLinkedRecordIDs:pe,toJSON:_e},q6}var V6,BQ;function K$(){if(BQ)return V6;BQ=1;var e={EXISTENT:"EXISTENT",NONEXISTENT:"NONEXISTENT",UNKNOWN:"UNKNOWN"};return V6=e,V6}var U6,QQ;function sb(){if(QQ)return U6;QQ=1;var e=$n().default,t=e(xu()),n=cf(),r=K$(),i=r.EXISTENT,a=r.NONEXISTENT,u=r.UNKNOWN,l=(function(){function o(c){var d=this;this._records=new Map,c!=null&&Object.keys(c).forEach(function(h){var m=c[h],y=n.fromObject(m);d._records.set(h,y)})}o.create=function(d){return new o(d)};var s=o.prototype;return s.clear=function(){this._records=new Map},s.delete=function(d){this._records.set(d,null)},s.get=function(d){return this._records.get(d)},s.getRecordIDs=function(){return Array.from(this._records.keys())},s.getStatus=function(d){return this._records.has(d)?this._records.get(d)==null?a:i:u},s.has=function(d){return this._records.has(d)},s.remove=function(d){this._records.delete(d)},s.set=function(d,h){this._records.set(d,h)},s.size=function(){return this._records.size},s.toJSON=function(){var d={},h=(0,t.default)(this._records),m;try{for(h.s();!(m=h.n()).done;){var y=m.value,v=y[0],_=y[1];d[v]=n.toJSON(_)}}catch(x){h.e(x)}finally{h.f()}return d},o})();return U6=l,U6}var j6,zQ;function uF(){if(zQ)return j6;zQ=1;var e=ln(),t="INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE";function n(r){r!==t&&e(!1)}return j6={assertInternalActorIdentifier:n,getActorIdentifier:function(i){return i},getDefaultActorIdentifier:function(){throw new Error("Not Implemented")},INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE:t},j6}var Z6,qQ;function GOe(){if(qQ)return Z6;qQ=1;var e="actor_key",t=uF(),n=t.getActorIdentifier;function r(i){if(i!=null&&typeof i=="object"&&typeof i[e]=="string")return n(i[e])}return Z6={ACTOR_IDENTIFIER_FIELD_NAME:e,getActorIdentifierFromPayload:r},Z6}var H6,VQ;function KOe(){if(VQ)return H6;VQ=1;var e=$n().default,t=e(Qi()),n=e(A3()),r=e(xu()),i=e(Gv()),a=["path","locations"],u=Symbol("$SELF");function l(d){if(d==null)return null;var h=new Map,m=(0,r.default)(d),y;try{for(m.s();!(y=m.n()).done;){var v=y.value,_=v.path,x=v.locations,E=(0,n.default)(v,a);if(_!=null){var w=_.length;if(w!==0){for(var T=w-1,R=h,C=0;C<T;C++){var k=_[C],F=R.get(k);if(F instanceof Map){R=F;continue}var z=new Map;Array.isArray(F)&&z.set(u,F),R.set(k,z),R=z}var Z=_[T],q=R.get(Z);q instanceof Map&&(R=q,q=R.get(Z),Z=u),Array.isArray(q)?q.push(E):R.set(Z,[E])}}}}catch(j){m.e(j)}finally{m.f()}return h}function o(d,h){var m=d.get(h);if(m==null)return null;if(Array.isArray(m))return m;var y=[];return s(m,y),y}function s(d,h){var m=(0,r.default)(d),y;try{for(m.s();!(y=m.n()).done;){var v=y.value,_=v[0],x=v[1],E=h.length;if(Array.isArray(x)?h.push.apply(h,(0,i.default)(x)):s(x,h),_!==u)for(var w=h.length,T=E;T<w;T++){var R=h[T];R.path==null?h[T]=(0,t.default)((0,t.default)({},R),{},{path:[_]}):R.path.unshift(_)}}}catch(C){m.e(C)}finally{m.f()}}function c(d,h){var m=d.get(h);return m instanceof Map?m:null}return H6={SELF:u,buildErrorTrie:l,getNestedErrorTrieByKey:c,getErrorsByKey:o},H6}var X6,UQ;function W$(){if(UQ)return X6;UQ=1;var e="client:__type:",t="__TypeSchema";function n(i){return e+i}function r(i){return i.indexOf(e)===0}return X6={generateTypeID:n,isTypeID:r,TYPE_SCHEMA_TYPE:t},X6}var Y6,jQ;function jW(){if(jQ)return Y6;jQ=1;var e=$n().default,t=e(xu()),n=e(Gv()),r=GOe();r.ACTOR_IDENTIFIER_FIELD_NAME;var i=r.getActorIdentifierFromPayload,a=Wd(),u=A0(),l=u.generateClientID,o=u.isClientID,s=Kv(),c=s.getLocalVariables,d=KOe(),h=d.buildErrorTrie,m=d.getErrorsByKey,y=d.getNestedErrorTrieByKey,v=cf(),_=cp(),x=_.createNormalizationSelector,E=xa(),w=E.ROOT_ID,T=E.TYPENAME_KEY,R=E.getArgumentValues,C=E.getHandleStorageKey,k=E.getModuleComponentKey,F=E.getModuleOperationKey,z=E.getStorageKey,Z=W$(),q=Z.TYPE_SCHEMA_TYPE,j=Z.generateTypeID;Kf();var N=ln();Bi();function V(G,J,te,X,M,K){var Y=J.dataID,B=J.node,ne=J.variables,oe=new W(G,ne,X,K??!1);return oe.normalizeResponse(B,Y,te,M)}var W=(function(){function G(te,X,M,K){this._actorIdentifier=M.actorIdentifier,this._getDataId=M.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=M.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._useExecTimeResolvers=K,this._followupPayloads=[],this._path=M.path?(0,n.default)(M.path):[],this._recordSource=te,this._variables=X,this._shouldProcessClientComponents=M.shouldProcessClientComponents,this._log=M.log}var J=G.prototype;return J.normalizeResponse=function(X,M,K,Y){var B=this._recordSource.get(M);return B||N(!1),this._assignClientAbstractTypes(X),this._errorTrie=h(Y),this._traverseSelections(X,B,K),{errors:Y,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,followupPayloads:this._followupPayloads,source:this._recordSource,isFinal:!1}},J._assignClientAbstractTypes=function(X){var M=X.clientAbstractTypes;if(M!=null)for(var K=0,Y=Object.keys(M);K<Y.length;K++){var B=Y[K],ne=(0,t.default)(M[B]),oe;try{for(ne.s();!(oe=ne.n()).done;){var ae=oe.value,de=j(ae),be=this._recordSource.get(de);be==null&&(be=v.create(de,q),this._recordSource.set(de,be)),v.setValue(be,B,!0)}}catch(ye){ne.e(ye)}finally{ne.f()}}},J._getVariableValue=function(X){return this._variables.hasOwnProperty(X)||N(!1),this._variables[X]},J._getRecordType=function(X){var M=X[T];return M==null&&N(!1),M},J._traverseSelections=function(X,M,K){for(var Y=0;Y<X.selections.length;Y++){var B=X.selections[Y];switch(B.kind){case"ScalarField":case"LinkedField":this._normalizeField(B,M,K);break;case"Condition":var ne=!!this._getVariableValue(B.condition);ne===B.passingValue&&this._traverseSelections(B,M,K);break;case"FragmentSpread":{var oe=this._variables;this._variables=c(this._variables,B.fragment.argumentDefinitions,B.args),this._traverseSelections(B.fragment,M,K),this._variables=oe;break}case"InlineFragment":{var ae=B.abstractKey;if(ae==null){var de=v.getType(M);de===B.type&&this._traverseSelections(B,M,K)}else{var be=Object.prototype.hasOwnProperty.call(K,ae),ye=v.getType(M),pe=j(ye),_e=this._recordSource.get(pe);_e==null&&(_e=v.create(pe,q),this._recordSource.set(pe,_e)),v.setValue(_e,ae,be),be&&this._traverseSelections(B,M,K)}break}case"TypeDiscriminator":{var se=B.abstractKey,me=Object.prototype.hasOwnProperty.call(K,se),ge=v.getType(M),we=j(ge),Ne=this._recordSource.get(we);Ne==null&&(Ne=v.create(we,q),this._recordSource.set(we,Ne)),v.setValue(Ne,se,me);break}case"LinkedHandle":case"ScalarHandle":var Re=B.args?R(B.args,this._variables):{},et=z(B,this._variables),tt=C(B,this._variables);this._handleFieldPayloads.push({args:Re,dataID:v.getDataID(M),fieldKey:et,handle:B.handle,handleKey:tt,handleArgs:B.handleArgs?R(B.handleArgs,this._variables):{}});break;case"ModuleImport":this._normalizeModuleImport(B,M,K);break;case"Defer":this._normalizeDefer(B,M,K);break;case"Stream":this._normalizeStream(B,M,K);break;case"ClientExtension":var Oe=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(B,M,K),this._isClientExtension=Oe;break;case"ClientComponent":if(this._shouldProcessClientComponents===!1)break;this._traverseSelections(B.fragment,M,K);break;case"ActorChange":this._normalizeActorChange(B,M,K);break;case"RelayResolver":case"RelayLiveResolver":this._useExecTimeResolvers||this._normalizeResolver(B,M,K);break;case"ClientEdgeToClientObject":this._useExecTimeResolvers||this._normalizeResolver(B.backingField,M,K);break;default:N(!1)}}},J._normalizeResolver=function(X,M,K){X.fragment!=null&&this._traverseSelections(X.fragment,M,K)},J._normalizeDefer=function(X,M,K){var Y=X.if===null||this._getVariableValue(X.if);Y===!1?this._traverseSelections(X,M,K):this._incrementalPlaceholders.push({kind:"defer",data:K,label:X.label,path:(0,n.default)(this._path),selector:x(X,v.getDataID(M),this._variables),typeName:v.getType(M),actorIdentifier:this._actorIdentifier})},J._normalizeStream=function(X,M,K){this._traverseSelections(X,M,K);var Y=X.if===null||this._getVariableValue(X.if);Y===!0&&this._incrementalPlaceholders.push({kind:"stream",label:X.label,path:(0,n.default)(this._path),parentID:v.getDataID(M),node:X,variables:this._variables,actorIdentifier:this._actorIdentifier})},J._normalizeModuleImport=function(X,M,K){typeof K=="object"&&K||N(!1);var Y=v.getType(M),B=k(X.documentName),ne=X.componentModuleProvider||K[B];v.setValue(M,B,ne??null);var oe=F(X.documentName),ae=X.operationModuleProvider||K[oe];v.setValue(M,oe,ae??null),ae!=null&&this._followupPayloads.push({kind:"ModuleImportPayload",args:X.args,data:K,dataID:v.getDataID(M),operationReference:ae,path:(0,n.default)(this._path),typeName:Y,variables:this._variables,actorIdentifier:this._actorIdentifier})},J._normalizeField=function(X,M,K){typeof K=="object"&&K||N(!1);var Y=X.alias||X.name,B=z(X,this._variables),ne=K[Y],oe=a.ENABLE_NONCOMPLIANT_ERROR_HANDLING_ON_LISTS&&Array.isArray(ne)&&ne.length===0;if(ne==null||oe){if(ne===void 0){var ae=this._isClientExtension||this._isUnmatchedAbstractType;if(ae)return;if(!this._treatMissingFieldsAsNull)return}X.kind==="ScalarField"&&this._validateConflictingFieldsWithIdenticalId(M,B,null),oe?X.kind==="LinkedField"?v.setLinkedRecordIDs(M,B,[]):v.setValue(M,B,[]):v.setValue(M,B,null);var de=this._errorTrie;if(de!=null){var be=m(de,Y);be!=null&&v.setErrors(M,B,be)}return}if(X.kind==="ScalarField")this._validateConflictingFieldsWithIdenticalId(M,B,ne),v.setValue(M,B,ne);else if(X.kind==="LinkedField"){this._path.push(Y);var ye=this._errorTrie;this._errorTrie=ye==null?null:y(ye,Y),X.plural?this._normalizePluralLink(X,M,B,ne):this._normalizeLink(X,M,B,ne),this._errorTrie=ye,this._path.pop()}else N(!1)},J._normalizeActorChange=function(X,M,K){var Y,B=X.linkedField;typeof K=="object"&&K||N(!1);var ne=B.alias||B.name,oe=z(B,this._variables),ae=K[ne];if(ae==null){if(ae===void 0){var de=this._isClientExtension||this._isUnmatchedAbstractType;if(de)return;if(!this._treatMissingFieldsAsNull)return}v.setValue(M,oe,null);return}var be=i(ae);if(be==null){v.setValue(M,oe,null);return}var ye=(Y=B.concreteType)!==null&&Y!==void 0?Y:this._getRecordType(ae),pe=this._getDataId(ae,ye)||v.getLinkedRecordID(M,oe)||l(v.getDataID(M),oe);typeof pe!="string"&&N(!1),v.setActorLinkedRecordID(M,oe,be,pe),this._followupPayloads.push({kind:"ActorPayload",data:ae,dataID:pe,path:[].concat((0,n.default)(this._path),[ne]),typeName:ye,variables:this._variables,node:B,actorIdentifier:be})},J._normalizeLink=function(X,M,K,Y){var B;typeof Y=="object"&&Y||N(!1);var ne=this._getDataId(Y,(B=X.concreteType)!==null&&B!==void 0?B:this._getRecordType(Y))||v.getLinkedRecordID(M,K)||l(v.getDataID(M),K);typeof ne!="string"&&N(!1),this._validateConflictingLinkedFieldsWithIdenticalId(v.getLinkedRecordID(M,K),ne,K),v.setLinkedRecordID(M,K,ne);var oe=this._recordSource.get(ne);if(oe)this._validateRecordType(oe,X,Y);else{var ae=X.concreteType||this._getRecordType(Y);oe=v.create(ne,ae),this._recordSource.set(ne,oe)}this._traverseSelections(X,oe,Y)},J._normalizePluralLink=function(X,M,K,Y){var B=this;Array.isArray(Y)||N(!1);var ne=v.getLinkedRecordIDs(M,K),oe=[];Y.forEach(function(ae,de){var be;if(ae==null){oe.push(ae);return}B._path.push(String(de));var ye=B._errorTrie;B._errorTrie=ye==null?null:y(ye,de),typeof ae!="object"&&N(!1);var pe=B._getDataId(ae,(be=X.concreteType)!==null&&be!==void 0?be:B._getRecordType(ae))||ne&&ne[de]||l(v.getDataID(M),K,de);typeof pe!="string"&&N(!1),oe.push(pe);var _e=B._recordSource.get(pe);if(_e)B._validateRecordType(_e,X,ae);else{var se=X.concreteType||B._getRecordType(ae);_e=v.create(pe,se),B._recordSource.set(pe,_e)}ne&&B._validateConflictingLinkedFieldsWithIdenticalId(ne[de],pe,K),B._traverseSelections(X,_e,ae),B._errorTrie=ye,B._path.pop()}),v.setLinkedRecordIDs(M,K,oe)},J._validateRecordType=function(X,M,K){if(a.ENABLE_STORE_ID_COLLISION_LOGGING){var Y,B=(Y=M.concreteType)!==null&&Y!==void 0?Y:this._getRecordType(K),ne=v.getDataID(X),oe=o(ne)&&ne!==w||v.getType(X)===B;if(!oe){var ae={name:"idCollision.typename",previous_typename:v.getType(X),new_typename:B};this._log!=null&&this._log(ae)}}},J._validateConflictingFieldsWithIdenticalId=function(X,M,K){},J._validateConflictingLinkedFieldsWithIdenticalId=function(X,M,K){},G})();return Y6={normalize:V},Y6}var G6,ZQ;function ZW(){if(ZQ)return G6;ZQ=1;var e=$n().default,t=e(Qi()),n=e(cf()),r=e(sb()),i=e(jW());function a(u,l,o,s,c){var d,h=u.data,m=u.errors,y=r.default.create(),v=n.default.create(l.dataID,o);y.set(l.dataID,v);var _=i.default.normalize(y,l,h,s,m,c);return(0,t.default)((0,t.default)({},_),{},{isFinal:((d=u.extensions)===null||d===void 0?void 0:d.is_final)===!0})}return G6=a,G6}var K6,HQ;function WOe(){if(HQ)return K6;HQ=1;var e=sp(),t=e.getInlineDataFragment,n=xa(),r=n.FRAGMENTS_KEY,i=ln();function a(u,l){var o,s=t(u);if(l==null)return l;typeof l!="object"&&i(!1);var c=(o=l[r])===null||o===void 0?void 0:o[s.name];return c==null&&i(!1),c}return K6=a,K6}var W6,XQ;function HW(){if(XQ)return W6;XQ=1;var e=1e5;function t(){return e++}return W6=t,W6}var J6,YQ;function JOe(){if(YQ)return J6;YQ=1;var e=HW();function t(n,r){return{execute:function(a,u,l,o,s,c,d,h){var m=e(),y={start:function(x){n.__log({name:"network.start",networkRequestId:m,params:a,variables:u,cacheConfig:l})},next:function(x){n.__log({name:"network.next",networkRequestId:m,response:x})},error:function(x){n.__log({name:"network.error",networkRequestId:m,error:x})},complete:function(){n.__log({name:"network.complete",networkRequestId:m})},unsubscribe:function(){n.__log({name:"network.unsubscribe",networkRequestId:m})}},v=function(x){n.__log({name:"network.info",networkRequestId:m,info:x})};return r.execute(a,u,l,o,v,c,d,h).do(y)}}}return J6=t,J6}var eR,GQ;function XW(){if(GQ)return eR;GQ=1;var e=$n().default,t=e(xu()),n=ln(),r=(function(){function i(){this._ownersToPendingOperations=new Map,this._pendingOperationsToOwners=new Map,this._ownersToPendingPromise=new Map}var a=i.prototype;return a.update=function(l,o){if(o.size!==0){var s=l.identifier,c=new Set,d=(0,t.default)(o),h;try{for(d.s();!(h=d.n()).done;){var m=h.value,y=m.identifier,v=this._ownersToPendingOperations.get(y);v!=null?v.has(s)||(v.set(s,l),c.add(y)):(this._ownersToPendingOperations.set(y,new Map([[s,l]])),c.add(y))}}catch(T){d.e(T)}finally{d.f()}if(c.size!==0){var _=this._pendingOperationsToOwners.get(s)||new Set,x=(0,t.default)(c),E;try{for(x.s();!(E=x.n()).done;){var w=E.value;this._resolveOwnerResolvers(w),_.add(w)}}catch(T){x.e(T)}finally{x.f()}this._pendingOperationsToOwners.set(s,_)}}},a.complete=function(l){var o=l.identifier,s=this._pendingOperationsToOwners.get(o);if(s!=null){var c=new Set,d=new Set,h=(0,t.default)(s),m;try{for(h.s();!(m=h.n()).done;){var y=m.value,v=this._ownersToPendingOperations.get(y);v&&(v.delete(o),v.size>0?d.add(y):c.add(y))}}catch(C){h.e(C)}finally{h.f()}var _=(0,t.default)(c),x;try{for(_.s();!(x=_.n()).done;){var E=x.value;this._resolveOwnerResolvers(E),this._ownersToPendingOperations.delete(E)}}catch(C){_.e(C)}finally{_.f()}var w=(0,t.default)(d),T;try{for(w.s();!(T=w.n()).done;){var R=T.value;this._resolveOwnerResolvers(R)}}catch(C){w.e(C)}finally{w.f()}this._pendingOperationsToOwners.delete(o)}},a._resolveOwnerResolvers=function(l){var o=this._ownersToPendingPromise.get(l);o!=null&&o.resolve(),this._ownersToPendingPromise.delete(l)},a.getPendingOperationsAffectingOwner=function(l){var o=l.identifier,s=this._ownersToPendingOperations.get(o);if(s==null||s.size===0)return null;var c=this._ownersToPendingPromise.get(o);if(c!=null)return{promise:c.promise,pendingOperations:c.pendingOperations};var d,h=new Promise(function(y){d=y});d==null&&n(!1);var m=Array.from(s.values());return this._ownersToPendingPromise.set(o,{promise:h,resolve:d,pendingOperations:m}),{promise:h,pendingOperations:m}},i})();return eR=r,eR}var tR,KQ;function e3e(){if(KQ)return tR;KQ=1;function e(t){var n=typeof jd<"u"?jd:typeof window<"u"?window:void 0,r=n&&n.__RELAY_DEVTOOLS_HOOK__;r&&r.registerEnvironment(t)}return tR=e,tR}var nR,WQ;function lF(){if(WQ)return nR;WQ=1;var e=A0(),t=e.generateClientID,n=xa(),r=n.ROOT_ID,i=t(r,"viewer"),a="Viewer";return nR={VIEWER_ID:i,VIEWER_TYPE:a},nR}var rR,JQ;function YW(){if(JQ)return rR;JQ=1;var e=lF(),t=e.VIEWER_ID,n=e.VIEWER_TYPE;function r(i,a){return a===n&&i.id==null?t:i.id}return rR=r,rR}var iR,ez;function t3e(){if(ez)return iR;ez=1;var e=function(n){};return iR=e,iR}var aR,tz;function oF(){if(tz)return aR;tz=1;var e=Yv(),t=e.REQUEST,n=e.SPLIT_OPERATION;function r(i){switch(i.kind){case t:return i.operation;case n:default:return i}}return aR=r,aR}var uR,nz;function GW(){if(nz)return uR;nz=1;function e(t,n,r){for(var i=arguments.length,a=new Array(i>3?i-3:0),u=3;u<i;u++)a[u-3]=arguments[u];var l=0,o=r.replace(/%s/g,function(){return String(a[l++])}),s=new Error(o),c=Object.assign(s,{name:n,messageFormat:r,messageParams:a,type:t,taalOpcodes:[2,2]});if(c.stack===void 0)try{throw c}catch{}return c}return uR={create:function(n,r){for(var i=arguments.length,a=new Array(i>2?i-2:0),u=2;u<i;u++)a[u-2]=arguments[u];return e.apply(void 0,["error",n,r].concat(a))},createWarning:function(n,r){for(var i=arguments.length,a=new Array(i>2?i-2:0),u=2;u<i;u++)a[u-2]=arguments[u];return e.apply(void 0,["warn",n,r].concat(a))}},uR}var lR,rz;function n3e(){if(rz)return lR;rz=1;var e,t,n=typeof window<"u"&&typeof((e=window)===null||e===void 0||(t=e.performance)===null||t===void 0?void 0:t.now)=="function";function r(){return n?window.performance.now():Date.now()}function i(a){var u=r(),l=a();return[u,r()-u,l]}return lR=i,lR}var oR,iz;function r3e(){if(iz)return oR;iz=1;var e=$n().default,t=e(xu()),n=e(Gv()),r=Wv(),i=HW(),a=oF(),u=GW(),l=Wd(),o=ob(),s=o.stableCopy,c=n3e(),d=A0(),h=d.generateClientID,m=d.generateUniqueClientID,y=Kv(),v=y.getLocalVariables,_=cf(),x=cp(),E=x.createNormalizationSelector,w=x.createReaderSelector,T=sb(),R=xa(),C=R.ROOT_TYPE,k=R.TYPENAME_KEY,F=R.getStorageKey,z=ln(),Z=Bi();function q(G){return new j(G)}var j=(function(){function G(te){var X=this,M,K,Y,B=te.actorIdentifier,ne=te.getDataID,oe=te.getPublishQueue,ae=te.getStore,de=te.isClientPayload,be=te.operation,ye=te.operationExecutions,pe=te.operationLoader,_e=te.operationTracker,se=te.optimisticConfig,me=te.scheduler,ge=te.shouldProcessClientComponents,we=te.sink,Ne=te.source,Re=te.treatMissingFieldsAsNull,et=te.updater,tt=te.log,Oe=te.normalizeResponse;this._actorIdentifier=B,this._getDataID=ne,this._treatMissingFieldsAsNull=Re,this._incrementalPayloadsPending=!1,this._incrementalResults=new Map,this._log=tt,this._executeId=i(),this._nextSubscriptionId=0,this._operation=be,this._operationExecutions=ye,this._operationLoader=pe,this._operationTracker=_e,this._operationUpdateEpochs=new Map,this._optimisticUpdates=null,this._useExecTimeResolvers=(M=(K=this._operation.request.node.operation.use_exec_time_resolvers)!==null&&K!==void 0?K:((Y=this._operation.request.node.operation.exec_time_resolvers_enabled_provider)===null||Y===void 0?void 0:Y.get())===!0)!==null&&M!==void 0?M:!1,this._execTimeResolverResponseComplete=!1,this._pendingModulePayloadsCount=0,this._getPublishQueue=oe,this._scheduler=me,this._sink=we,this._source=new Map,this._state="started",this._getStore=ae,this._subscriptions=new Map,this._updater=et,this._isClientPayload=de===!0,this._isSubscriptionOperation=this._operation.request.node.params.operationKind==="subscription",this._shouldProcessClientComponents=ge,this._retainDisposables=new Map,this._seenActors=new Set,this._completeFns=[],this._normalizeResponse=Oe;var $e=this._nextSubscriptionId++;l.PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION&&se!=null&&this._processOptimisticResponse(se.response!=null?{data:se.response}:null,se.updater,!1),Ne.subscribe({complete:function(){return X._complete($e)},error:function(Ue){return X._error(Ue)},next:function(Ue){try{X._next($e,Ue)}catch(Ze){we.error(Ze)}},start:function(Ue){var Ze;X._start($e,Ue),X._log({name:"execute.start",executeId:X._executeId,params:X._operation.request.node.params,variables:X._operation.request.variables,cacheConfig:(Ze=X._operation.request.cacheConfig)!==null&&Ze!==void 0?Ze:{}})},unsubscribe:function(){X._log({name:"execute.unsubscribe",executeId:X._executeId})}}),!l.PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION&&se!=null&&this._processOptimisticResponse(se.response!=null?{data:se.response}:null,se.updater,!1)}var J=G.prototype;return J.cancel=function(){var X=this;if(this._state!=="completed"){this._state="completed",this._operationExecutions.delete(this._operation.request.identifier),this._subscriptions.size!==0&&(this._subscriptions.forEach(function(K){return K.unsubscribe()}),this._subscriptions.clear());var M=this._optimisticUpdates;M!==null&&(this._optimisticUpdates=null,M.forEach(function(K){return X._getPublishQueueAndSaveActor().revertUpdate(K)}),this._runPublishQueue()),this._incrementalResults.clear(),this._asyncStoreUpdateDisposable!=null&&(this._asyncStoreUpdateDisposable.dispose(),this._asyncStoreUpdateDisposable=null),this._completeFns=[],this._completeOperationTracker(),this._disposeRetainedData()}},J._updateActiveState=function(){var X;switch(this._state){case"started":{X="active";break}case"loading_incremental":{X="active";break}case"completed":{X="inactive";break}case"loading_final":{X=this._pendingModulePayloadsCount>0||this._useExecTimeResolvers&&!this._execTimeResolverResponseComplete?"active":"inactive";break}default:this._state,z(!1)}this._operationExecutions.set(this._operation.request.identifier,X)},J._schedule=function(X,M){var K=this,Y=this._scheduler;if(Y!=null){var B=this._nextSubscriptionId++;r.create(function(ne){var oe=Y.schedule(function(){try{X(),ne.complete()}catch(ae){ne.error(ae)}},M);return function(){return Y.cancel(oe)}}).subscribe({complete:function(){return K._complete(B)},error:function(oe){return K._error(oe)},start:function(oe){return K._start(B,oe)}})}else X()},J._complete=function(X){this._subscriptions.delete(X),this._subscriptions.size===0&&(this.cancel(),this._sink.complete(),this._log({name:"execute.complete",executeId:this._executeId}))},J._error=function(X){this.cancel(),this._sink.error(X),this._log({name:"execute.error",executeId:this._executeId,error:X})},J._start=function(X,M){this._subscriptions.set(X,M),this._updateActiveState()},J._next=function(X,M){var K=this,Y=this._state==="loading_incremental"?"low":"default";this._schedule(function(){K._log({name:"execute.next.start",executeId:K._executeId,response:M,operation:K._operation}),K._handleNext(M),K._maybeCompleteSubscriptionOperationTracking(),K._log({name:"execute.next.end",executeId:K._executeId,response:M,operation:K._operation})},Y)},J._handleErrorResponse=function(X){var M=this,K=[];return X.forEach(function(Y){if(!(Y.data===null&&Y.extensions!=null&&!Y.hasOwnProperty("errors")))if(Y.data==null){var B=Y.hasOwnProperty("errors")&&Y.errors!=null?Y.errors:null,ne=B?B.map(function(de){var be=de.message;return be}).join(`
`):"(No errors)",oe=u.create("RelayNetwork","No data returned for operation `"+M._operation.request.node.params.name+"`, got error(s):\n"+ne+"\n\nSee the error `source` property for more information.");throw oe.source={errors:B,operation:M._operation.request.node,variables:M._operation.request.variables},oe.stack,oe}else{var ae=Y;K.push(ae)}}),K},J._handleOptimisticResponses=function(X){var M;if(X.length>1)return X.some(function(B){var ne;return((ne=B.extensions)===null||ne===void 0?void 0:ne.isOptimistic)===!0})&&z(!1),!1;var K=X[0],Y=((M=K.extensions)===null||M===void 0?void 0:M.isOptimistic)===!0;return Y&&this._state!=="started"&&z(!1),Y?(this._processOptimisticResponse(K,null,this._treatMissingFieldsAsNull),this._sink.next(K),!0):!1},J._handleNext=function(X){if(this._state!=="completed"){this._seenActors.clear();var M=Array.isArray(X)?X:[X],K=this._handleErrorResponse(M);if(K.length===0){var Y=M.some(function(Oe){var $e;return(($e=Oe.extensions)===null||$e===void 0?void 0:$e.is_final)===!0});Y&&(this._state="loading_final",this._updateActiveState(),this._incrementalPayloadsPending=!1),this._sink.next(X);return}var B=this._handleOptimisticResponses(K);if(!B){var ne=N(K),oe=ne[0],ae=ne[1],de=ne[2],be=oe.length>0,ye=de.length>0;if(be){if(this._isSubscriptionOperation){var pe=m();this._operation={request:this._operation.request,fragment:w(this._operation.fragment.node,pe,this._operation.fragment.variables,this._operation.fragment.owner),root:E(this._operation.root.node,pe,this._operation.root.variables)}}var _e=this._processResponses(oe);this._processPayloadFollowups(_e)}if(ye)for(var se=[],me=0;me<de.length;me++){var ge,we=de[me],Ne=new T(we.data),Y=((ge=we.extensions)===null||ge===void 0?void 0:ge.is_final)===!0,Re={errors:[],fieldPayloads:[],followupPayloads:[],incrementalPlaceholders:[],isFinal:Y,source:Ne};this._getPublishQueueAndSaveActor().commitPayload(this._operation,Re,this._updater),se.push(Re),this._execTimeResolverResponseComplete=Y,Y&&this._updateActiveState()}if(ae.length>0){var et=this._processIncrementalResponses(ae);this._processPayloadFollowups(et)}this._isSubscriptionOperation&&(K[0].extensions==null?K[0].extensions={__relay_subscription_root_id:this._operation.fragment.dataID}:K[0].extensions.__relay_subscription_root_id=this._operation.fragment.dataID);var tt=this._runPublishQueue(be||ye?this._operation:void 0);be&&this._incrementalPayloadsPending&&this._retainData(),this._updateOperationTracker(tt),this._sink.next(X)}}},J._processOptimisticResponse=function(X,M,K){var Y=this;if(this._optimisticUpdates!==null&&z(!1),!(X==null&&M==null)){var B=[];if(X){var ne=this._normalizeResponse(X,this._operation.root,C,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,log:this._log,path:[],shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:K},this._useExecTimeResolvers);W(ne),B.push({operation:this._operation,payload:ne,updater:M}),this._processOptimisticFollowups(ne,B)}else M&&B.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,followupPayloads:null,source:T.create(),isFinal:!1},updater:M});this._optimisticUpdates=B,B.forEach(function(ae){return Y._getPublishQueueAndSaveActor().applyUpdate(ae)});var oe=this._runPublishQueue();l.ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES&&this._updateOperationTracker(oe)}},J._processOptimisticFollowups=function(X,M){if(X.followupPayloads&&X.followupPayloads.length){var K=X.followupPayloads,Y=(0,t.default)(K),B;try{for(Y.s();!(B=Y.n()).done;){var ne=B.value;switch(ne.kind){case"ModuleImportPayload":var oe=this._expectOperationLoader(),ae=oe.get(ne.operationReference);if(ae==null)this._processAsyncOptimisticModuleImport(ne);else{var de=this._processOptimisticModuleImport(ae,ne);M.push.apply(M,(0,n.default)(de))}break;case"ActorPayload":break;default:z(!1)}}}catch(be){Y.e(be)}finally{Y.f()}}},J._normalizeFollowupPayload=function(X,M){var K;M.kind==="SplitOperation"&&X.kind==="ModuleImportPayload"?K=v(X.variables,M.argumentDefinitions,X.args):K=X.variables;var Y=E(M,X.dataID,K),B={data:X.data,extensions:this._state==="loading_final"?{is_final:!0}:void 0};return this._normalizeResponse(B,Y,X.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,log:this._log,path:X.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents},this._useExecTimeResolvers)},J._processOptimisticModuleImport=function(X,M){var K=a(X),Y=[],B=this._normalizeFollowupPayload(M,K);return W(B),Y.push({operation:this._operation,payload:B,updater:null}),this._processOptimisticFollowups(B,Y),Y},J._processAsyncOptimisticModuleImport=function(X){var M=this;this._expectOperationLoader().load(X.operationReference).then(function(K){if(!(K==null||M._state!=="started")){var Y=M._processOptimisticModuleImport(K,X);if(Y.forEach(function(ne){return M._getPublishQueueAndSaveActor().applyUpdate(ne)}),M._optimisticUpdates!=null){var B;(B=M._optimisticUpdates).push.apply(B,(0,n.default)(Y)),M._runPublishQueue()}}})},J._processResponses=function(X){var M=this;return this._log({name:"execute.normalize.start",operation:this._operation}),this._optimisticUpdates!==null&&(this._optimisticUpdates.forEach(function(K){M._getPublishQueueAndSaveActor().revertUpdate(K)}),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),X.map(function(K){var Y=M._normalizeResponse(K,M._operation.root,C,{actorIdentifier:M._actorIdentifier,getDataID:M._getDataID,log:M._log,path:[],treatMissingFieldsAsNull:M._treatMissingFieldsAsNull,shouldProcessClientComponents:M._shouldProcessClientComponents},M._useExecTimeResolvers);return M._getPublishQueueAndSaveActor().commitPayload(M._operation,Y,M._updater),M._log({name:"execute.normalize.end",operation:M._operation}),Y})},J._processPayloadFollowups=function(X){var M=this;this._state!=="completed"&&X.forEach(function(K){var Y=K.incrementalPlaceholders,B=K.followupPayloads,ne=K.isFinal;if(M._state=ne?"loading_final":"loading_incremental",M._updateActiveState(),ne&&(M._incrementalPayloadsPending=!1),B&&B.length!==0&&B.forEach(function(ae){var de,be=M._actorIdentifier;M._actorIdentifier=(de=ae.actorIdentifier)!==null&&de!==void 0?de:M._actorIdentifier,M._processFollowupPayload(ae),M._actorIdentifier=be}),Y&&Y.length!==0&&(M._incrementalPayloadsPending=M._state!=="loading_final",Y.forEach(function(ae){var de,be=M._actorIdentifier;M._actorIdentifier=(de=ae.actorIdentifier)!==null&&de!==void 0?de:M._actorIdentifier,M._processIncrementalPlaceholder(K,ae),M._actorIdentifier=be}),M._isClientPayload||M._state==="loading_final")){var oe=[];Y.forEach(function(ae){ae.kind==="defer"&&oe.push(M._processDeferResponse(ae.label,ae.path,ae,{data:ae.data,extensions:{is_final:!0}}))}),oe.length>0&&M._processPayloadFollowups(oe)}})},J._maybeCompleteSubscriptionOperationTracking=function(){!this._isSubscriptionOperation&&!(this._useExecTimeResolvers&&this._execTimeResolverResponseComplete&&this._state==="loading_final")||this._pendingModulePayloadsCount===0&&this._incrementalPayloadsPending===!1&&this._completeOperationTracker()},J._processFollowupPayload=function(X){var M=this;switch(X.kind){case"ModuleImportPayload":var K=this._expectOperationLoader(),Y=K.get(X.operationReference);if(Y!=null)this._processFollowupPayloadWithNormalizationNode(X,a(Y));else{var B=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var ne=function(){M._pendingModulePayloadsCount--,M._maybeCompleteSubscriptionOperationTracking()},oe=r.from(new Promise(function(ae,de){K.load(X.operationReference).then(ae,de)}));r.create(function(ae){var de,be=oe.subscribe({next:function(pe){if(pe!=null){var _e=function(){try{var ge=a(pe),we=l.BATCH_ASYNC_MODULE_UPDATES_FN,Ne=we!=null&&M._pendingModulePayloadsCount>1,Re=c(function(){if(M._handleFollowupPayload(X,ge),Ne)M._scheduleAsyncStoreUpdate(we,ae.complete);else{var Oe=M._runPublishQueue();M._updateOperationTracker(Oe)}}),et=Re[0],tt=Re[1];M._log({name:"execute.async.module",executeId:M._executeId,operationName:ge.name,duration:tt}),Ne||ae.complete()}catch(Oe){ae.error(Oe)}},se=M._scheduler;se==null?_e():de=se.schedule(_e)}else ae.complete()},error:ae.error});return function(){be.unsubscribe(),M._scheduler!=null&&de!=null&&M._scheduler.cancel(de)}}).subscribe({complete:function(){M._complete(B),ne()},error:function(de){M._error(de),ne()},start:function(de){return M._start(B,de)}})}break;case"ActorPayload":this._processFollowupPayloadWithNormalizationNode(X,X.node);break;default:z(!1)}},J._processFollowupPayloadWithNormalizationNode=function(X,M){this._handleFollowupPayload(X,M),this._maybeCompleteSubscriptionOperationTracking()},J._handleFollowupPayload=function(X,M){var K=this._normalizeFollowupPayload(X,M);this._getPublishQueueAndSaveActor().commitPayload(this._operation,K),this._processPayloadFollowups([K])},J._processIncrementalPlaceholder=function(X,M){var K,Y=M.label,B=M.path,ne=B.map(String).join("."),oe=this._incrementalResults.get(Y);oe==null&&(oe=new Map,this._incrementalResults.set(Y,oe));var ae=oe.get(ne),de=ae!=null&&ae.kind==="response"?ae.responses:null;oe.set(ne,{kind:"placeholder",placeholder:M});var be;M.kind==="stream"?be=M.parentID:M.kind==="defer"?be=M.selector.dataID:z(!1);var ye=X.source.get(be),pe=((K=X.fieldPayloads)!==null&&K!==void 0?K:[]).filter(function(Re){var et=h(Re.dataID,Re.fieldKey);return Re.dataID===be||et===be});ye==null&&z(!1);var _e,se,me=this._source.get(be);if(me!=null){_e=_.update(me.record,ye);var ge=new Map,we=function(et){var tt=V(et);ge.set(tt,et)};me.fieldPayloads.forEach(we),pe.forEach(we),se=Array.from(ge.values())}else _e=ye,se=pe;if(this._source.set(be,{record:_e,fieldPayloads:se}),de!=null){var Ne=this._processIncrementalResponses(de);this._processPayloadFollowups(Ne)}},J._processIncrementalResponses=function(X){var M=this,K=[];return X.forEach(function(Y){var B=Y.label,ne=Y.path,oe=Y.response,ae=M._incrementalResults.get(B);if(ae==null&&(ae=new Map,M._incrementalResults.set(B,ae)),B.indexOf("$defer$")!==-1){var de=ne.map(String).join("."),be=ae.get(de);if(be==null){be={kind:"response",responses:[Y]},ae.set(de,be);return}else if(be.kind==="response"){be.responses.push(Y);return}var ye=be.placeholder;ye.kind!=="defer"&&z(!1),K.push(M._processDeferResponse(B,ne,ye,oe))}else{var pe=ne.slice(0,-2).map(String).join("."),_e=ae.get(pe);if(_e==null){_e={kind:"response",responses:[Y]},ae.set(pe,_e);return}else if(_e.kind==="response"){_e.responses.push(Y);return}var se=_e.placeholder;se.kind!=="stream"&&z(!1),K.push(M._processStreamResponse(B,ne,se,oe))}}),K},J._processDeferResponse=function(X,M,K,Y){var B,ne=K.selector.dataID,oe=this._actorIdentifier;this._actorIdentifier=(B=K.actorIdentifier)!==null&&B!==void 0?B:this._actorIdentifier;var ae=this._normalizeResponse(Y,K.selector,K.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,log:this._log,path:K.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents},this._useExecTimeResolvers);this._getPublishQueueAndSaveActor().commitPayload(this._operation,ae);var de=this._source.get(ne);de==null&&z(!1);var be=de.fieldPayloads;if(be.length!==0){var ye,pe={errors:null,fieldPayloads:be,incrementalPlaceholders:null,followupPayloads:null,source:T.create(),isFinal:((ye=Y.extensions)===null||ye===void 0?void 0:ye.is_final)===!0};this._getPublishQueueAndSaveActor().commitPayload(this._operation,pe)}return this._actorIdentifier=oe,ae},J._processStreamResponse=function(X,M,K,Y){var B=K.parentID,ne=K.node,oe=K.variables,ae=K.actorIdentifier,de=this._actorIdentifier;this._actorIdentifier=ae??this._actorIdentifier;var be=ne.selections[0];be!=null&&be.kind==="LinkedField"&&be.plural===!0||z(!1);var ye=this._normalizeStreamItem(Y,B,be,oe,M,K.path),pe=ye.fieldPayloads,_e=ye.itemID,se=ye.itemIndex,me=ye.prevIDs,ge=ye.relayPayload,we=ye.storageKey;if(this._getPublishQueueAndSaveActor().commitPayload(this._operation,ge,function(Re){var et=Re.get(B);if(et!=null){var tt=et.getLinkedRecords(we);if(tt!=null&&!(tt.length!==me.length||tt.some(function($e,Ae){return me[Ae]!==($e&&$e.getDataID())}))){var Oe=(0,n.default)(tt);Oe[se]=Re.get(_e),et.setLinkedRecords(Oe,we)}}}),pe.length!==0){var Ne={errors:null,fieldPayloads:pe,incrementalPlaceholders:null,followupPayloads:null,source:T.create(),isFinal:!1};this._getPublishQueueAndSaveActor().commitPayload(this._operation,Ne)}return this._actorIdentifier=de,ge},J._normalizeStreamItem=function(X,M,K,Y,B,ne){var oe,ae,de,be,ye=X.data;typeof ye!="object"&&z(!1);var pe=(oe=K.alias)!==null&&oe!==void 0?oe:K.name,_e=F(K,Y),se=this._source.get(M);se==null&&z(!1);var me=se.record,ge=se.fieldPayloads,we=_.getLinkedRecordIDs(me,_e);we==null&&z(!1);var Ne=B[B.length-1],Re=parseInt(Ne,10);Re===Ne&&Re>=0||z(!1);var et=(ae=K.concreteType)!==null&&ae!==void 0?ae:ye[k];typeof et!="string"&&z(!1);var tt=(de=(be=this._getDataID(ye,et))!==null&&be!==void 0?be:we==null?void 0:we[Re])!==null&&de!==void 0?de:h(M,_e,Re);typeof tt!="string"&&z(!1);var Oe=E(K,tt,Y),$e=_.clone(me),Ae=(0,n.default)(we);Ae[Re]=tt,_.setLinkedRecordIDs($e,_e,Ae),this._source.set(M,{record:$e,fieldPayloads:ge});var Ue=this._normalizeResponse(X,Oe,et,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,log:this._log,path:[].concat((0,n.default)(ne),[pe,String(Re)]),treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents},this._useExecTimeResolvers);return{fieldPayloads:ge,itemID:tt,itemIndex:Re,prevIDs:we,relayPayload:Ue,storageKey:_e}},J._scheduleAsyncStoreUpdate=function(X,M){var K=this;this._completeFns.push(M),this._asyncStoreUpdateDisposable==null&&(this._asyncStoreUpdateDisposable=X(function(){K._asyncStoreUpdateDisposable=null;var Y=K._runPublishQueue();K._updateOperationTracker(Y);var B=(0,t.default)(K._completeFns),ne;try{for(B.s();!(ne=B.n()).done;){var oe=ne.value;oe()}}catch(ae){B.e(ae)}finally{B.f()}K._completeFns=[]}))},J._updateOperationTracker=function(X){X!=null&&X.length>0&&this._operationTracker.update(this._operation.request,new Set(X))},J._completeOperationTracker=function(){this._operationTracker.complete(this._operation.request)},J._getPublishQueueAndSaveActor=function(){return this._seenActors.add(this._actorIdentifier),this._getPublishQueue(this._actorIdentifier)},J._getActorsToVisit=function(){return this._seenActors.size===0?new Set([this._actorIdentifier]):this._seenActors},J._runPublishQueue=function(X){var M=new Set,K=(0,t.default)(this._getActorsToVisit()),Y;try{for(K.s();!(Y=K.n()).done;){var B=Y.value,ne=this._getPublishQueue(B).run(X);ne.forEach(function(oe){return M.add(oe)})}}catch(oe){K.e(oe)}finally{K.f()}return Array.from(M)},J._retainData=function(){var X=(0,t.default)(this._getActorsToVisit()),M;try{for(X.s();!(M=X.n()).done;){var K=M.value;this._retainDisposables.has(K)||this._retainDisposables.set(K,this._getStore(K).retain(this._operation))}}catch(Y){X.e(Y)}finally{X.f()}},J._disposeRetainedData=function(){var X=(0,t.default)(this._retainDisposables.values()),M;try{for(X.s();!(M=X.n()).done;){var K=M.value;K.dispose()}}catch(Y){X.e(Y)}finally{X.f()}this._retainDisposables.clear()},J._expectOperationLoader=function(){var X=this._operationLoader;return X||z(!1),X},G})();function N(G){var J=[],te=[],X=[];return G.forEach(function(M){var K;if(M.path!=null||M.label!=null){var Y=M.label,B=M.path;(Y==null||B==null)&&z(!1),te.push({label:Y,path:B,response:M})}else((K=M.extensions)===null||K===void 0?void 0:K.is_normalized)===!0?X.push(M):J.push(M)}),[J,te,X]}function V(G){var J;return(J=JSON.stringify(s(G)))!==null&&J!==void 0?J:""}function W(G){var J=G.incrementalPlaceholders;J!=null&&J.length!==0&&z(!1)}return oR={execute:q},oR}var sR,az;function i3e(){if(az)return sR;az=1;var e=Promise.resolve();function t(r){e.then(r).catch(n)}function n(r){setTimeout(function(){throw r},0)}return sR=t,sR}var cR,uz;function KW(){if(uz)return cR;uz=1;var e=cf(),t=K$(),n=t.EXISTENT,r=ln(),i=(function(){function a(l,o){this.__sources=[o,l],this._base=l,this._sink=o}var u=a.prototype;return u.unstable_getRawRecordWithChanges=function(o){var s=this._base.get(o),c=this._sink.get(o);if(c===void 0){if(s==null)return s;var d=e.clone(s);return d}else{if(c===null)return null;if(s!=null){var h=e.update(s,c);return h}else{var m=e.clone(c);return m}}},u._getSinkRecord=function(o){var s=this._sink.get(o);if(!s){var c=this._base.get(o);c||r(!1),s=e.create(o,e.getType(c)),this._sink.set(o,s)}return s},u.copyFields=function(o,s){var c=this._sink.get(o),d=this._base.get(o);c||d||r(!1);var h=this._getSinkRecord(s);d&&e.copyFields(d,h),c&&e.copyFields(c,h)},u.copyFieldsFromRecord=function(o,s){var c=this._getSinkRecord(s);e.copyFields(o,c)},u.create=function(o,s){this._base.getStatus(o)!==n&&this._sink.getStatus(o)!==n||r(!1);var c=e.create(o,s);this._sink.set(o,c)},u.delete=function(o){this._sink.delete(o)},u.getStatus=function(o){return this._sink.has(o)?this._sink.getStatus(o):this._base.getStatus(o)},u.getType=function(o){for(var s=0;s<this.__sources.length;s++){var c=this.__sources[s].get(o);if(c)return e.getType(c);if(c===null)return null}},u.getValue=function(o,s){for(var c=0;c<this.__sources.length;c++){var d=this.__sources[c].get(o);if(d){var h=e.getValue(d,s);if(h!==void 0)return h}else if(d===null)return null}},u.setValue=function(o,s,c){var d=this._getSinkRecord(o);e.setValue(d,s,c)},u.getErrors=function(o,s){for(var c=0;c<this.__sources.length;c++){var d=this.__sources[c].get(o);if(d){var h=e.getErrors(d,s);if(h!==void 0)return h}else if(d===null)return null}},u.setErrors=function(o,s,c){var d=this._getSinkRecord(o);e.setErrors(d,s,c)},u.getLinkedRecordID=function(o,s){for(var c=0;c<this.__sources.length;c++){var d=this.__sources[c].get(o);if(d){var h=e.getLinkedRecordID(d,s);if(h!==void 0)return h}else if(d===null)return null}},u.setLinkedRecordID=function(o,s,c){var d=this._getSinkRecord(o);e.setLinkedRecordID(d,s,c)},u.getLinkedRecordIDs=function(o,s){for(var c=0;c<this.__sources.length;c++){var d=this.__sources[c].get(o);if(d){var h=e.getLinkedRecordIDs(d,s);if(h!==void 0)return h}else if(d===null)return null}},u.setLinkedRecordIDs=function(o,s,c){var d=this._getSinkRecord(o);e.setLinkedRecordIDs(d,s,c)},a})();return cR=i,cR}var fR,lz;function WW(){if(lz)return fR;lz=1;var e=$n().default,t=e(xu()),n=xa(),r=n.getArgumentValues,i=["id","__id","__typename","js"];function a(y,v,_,x,E){var w={};return u(w,y,v,_,x,E),w}function u(y,v,_,x,E,w){var T,R=(0,t.default)(x),C;try{var k=function(){var q=C.value;switch(q.kind){case"LinkedField":q.plural?Object.defineProperty(y,(F=q.alias)!==null&&F!==void 0?F:q.name,{get:s(q,_,v,E,w),set:l(q,_,v,E)}):Object.defineProperty(y,(z=q.alias)!==null&&z!==void 0?z:q.name,{get:c(q,_,v,E,w),set:o(q,_,v,E)});break;case"ScalarField":var j=(T=q.alias)!==null&&T!==void 0?T:q.name;Object.defineProperty(y,j,{get:function(){var V,W=r((V=q.args)!==null&&V!==void 0?V:[],_),G=v.getValue(q.name,W);return G==null&&(G=m(q,W,v,E,w)),G},set:i.includes(q.name)?void 0:function(N){var V,W=r((V=q.args)!==null&&V!==void 0?V:[],_);v.setValue__UNSAFE(N,q.name,W)}});break;case"InlineFragment":v.getType()===q.type&&u(y,v,_,q.selections,E,w);break;case"ClientExtension":u(y,v,_,q.selections,E,w);break;case"FragmentSpread":break;case"Condition":case"ActorChange":case"InlineDataFragmentSpread":case"AliasedInlineFragmentSpread":case"ClientEdgeToClientObject":case"ClientEdgeToServerObject":case"Defer":case"ModuleImport":case"RequiredField":case"CatchField":case"Stream":case"RelayResolver":case"RelayLiveResolver":throw new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.");default:throw q.kind,new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.")}};for(R.s();!(C=R.n()).done;){var F,z;k()}}catch(Z){R.e(Z)}finally{R.f()}}function l(y,v,_,x){return function(w){var T,R=r((T=y.args)!==null&&T!==void 0?T:[],v);if(w==null)throw new Error("Do not assign null to plural linked fields; assign an empty array instead.");var C=w.map(function(k){if(k==null)throw new Error("When assigning an array of items, none of the items should be null or undefined.");var F=k.__id;if(F==null)throw new Error("The __id field must be present on each item passed to the setter. This indicates a bug in Relay.");var z=x.get(F);if(z==null)throw new Error("Did not find item with data id ".concat(F," in the store."));return z});_.setLinkedRecords(C,y.name,R)}}function o(y,v,_,x){return function(w){var T,R=r((T=y.args)!==null&&T!==void 0?T:[],v);if(w==null)_.setValue(w,y.name,R);else{var C=w.__id;if(C==null)throw new Error("The __id field must be present on the argument. This indicates a bug in Relay.");var k=x.get(C);if(k==null)throw new Error("Did not find item with data id ".concat(C," in the store."));_.setLinkedRecord(k,y.name,R)}}}function s(y,v,_,x,E){return function(){var w,T=r((w=y.args)!==null&&w!==void 0?w:[],v),R=_.getLinkedRecords(y.name,T);return R===void 0&&(R=h(y,T,_,x,E)),R!=null?R.map(function(C){if(C!=null){var k={};return u(k,C,v,y.selections,x,E),k}else return C}):R}}function c(y,v,_,x,E){return function(){var w,T=r((w=y.args)!==null&&w!==void 0?w:[],v),R=_.getLinkedRecord(y.name,T);if(R===void 0&&(R=d(y,T,_,x,E)),R!=null){var C={};return u(C,R,v,y.selections,x,E),C}else return R}}function d(y,v,_,x,E){var w=(0,t.default)(E),T;try{for(w.s();!(T=w.n()).done;){var R=T.value;if(R.kind==="linked"){var C=R.handle(y,_,v,x);if(C!=null)return x.get(C)}}}catch(k){w.e(k)}finally{w.f()}}function h(y,v,_,x,E){var w=(0,t.default)(E),T;try{for(w.s();!(T=w.n()).done;){var R=T.value;if(R.kind==="pluralLinked"){var C=R.handle(y,_,v,x);if(C!=null)return C.map(function(k){if(k!=null)return x.get(k)})}}}catch(k){w.e(k)}finally{w.f()}}function m(y,v,_,x,E){var w=(0,t.default)(E),T;try{for(w.s();!(T=w.n()).done;){var R=T.value;if(R.kind==="scalar"){var C=R.handle(y,_,v,x);if(C!==void 0)return C}}}catch(k){w.e(k)}finally{w.f()}}return fR={createUpdatableProxy:a},fR}var dR,oz;function JW(){if(oz)return dR;oz=1;var e=sp(),t=e.getFragment,n=cp(),r=n.getVariablesFromFragment,i=xa(),a=i.ID_KEY,u=WW(),l=u.createUpdatableProxy,o=ln();function s(c,d,h,m){var y=t(c),v=r(y,d),_=d[a],x=h.get(_);return x==null&&o(!1),{updatableData:l(x,v,y.selections,h,m)}}return dR={readUpdatableFragment:s},dR}var hR,sz;function eJ(){if(sz)return hR;sz=1;var e=sp(),t=e.getUpdatableQuery,n=WW(),r=n.createUpdatableProxy;function i(a,u,l,o){var s=t(a);return{updatableData:r(l.getRoot(),u,s.fragment.selections,l,o)}}return hR={readUpdatableQuery:i},hR}var pR,cz;function a3e(){if(cz)return pR;cz=1;var e=A0(),t=e.generateClientID,n=xa(),r=n.getStableStorageKey,i=ln(),a=(function(){function l(s,c,d){this._dataID=d,this._mutator=c,this._source=s}var o=l.prototype;return o.copyFieldsFrom=function(c){this._mutator.copyFields(c.getDataID(),this._dataID)},o.getDataID=function(){return this._dataID},o.getType=function(){var c=this._mutator.getType(this._dataID);return c==null&&i(!1),c},o.getValue=function(c,d){var h=r(c,d);return this._mutator.getValue(this._dataID,h)},o.setValue=function(c,d,h,m){return u(c)||i(!1),this.setValue__UNSAFE(c,d,h,m)},o.getErrors=function(c,d){var h=r(c,d);return this._mutator.getErrors(this._dataID,h)},o.setValue__UNSAFE=function(c,d,h,m){var y=r(d,h);return this._mutator.setValue(this._dataID,y,c),m!=null&&(m.length===0?this._mutator.setErrors(this._dataID,y):this._mutator.setErrors(this._dataID,y,m)),this},o.getLinkedRecord=function(c,d){var h=r(c,d),m=this._mutator.getLinkedRecordID(this._dataID,h);return m!=null?this._source.get(m):m},o.setLinkedRecord=function(c,d,h){c instanceof l||i(!1);var m=r(d,h),y=c.getDataID();return this._mutator.setLinkedRecordID(this._dataID,m,y),this},o.getOrCreateLinkedRecord=function(c,d,h){var m=this.getLinkedRecord(c,h);if(!m){var y,v=r(c,h),_=t(this.getDataID(),v);m=(y=this._source.get(_))!==null&&y!==void 0?y:this._source.create(_,d),this.setLinkedRecord(m,c,h)}return m},o.getLinkedRecords=function(c,d){var h=this,m=r(c,d),y=this._mutator.getLinkedRecordIDs(this._dataID,m);return y==null?y:y.map(function(v){return v!=null?h._source.get(v):v})},o.setLinkedRecords=function(c,d,h){Array.isArray(c)||i(!1);var m=r(d,h),y=c.map(function(v){return v&&v.getDataID()});return this._mutator.setLinkedRecordIDs(this._dataID,m,y),this},o.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},l})();function u(l){return l==null||typeof l!="object"||Array.isArray(l)&&l.every(u)}return pR=a,pR}var mR,fz;function tJ(){if(fz)return mR;fz=1;var e=cf(),t=K$(),n=t.EXISTENT,r=t.NONEXISTENT,i=xa(),a=i.ROOT_ID,u=i.ROOT_TYPE,l=JW(),o=l.readUpdatableFragment,s=eJ(),c=s.readUpdatableQuery,d=a3e(),h=ln(),m=(function(){function y(_,x,E,w,T){this.__mutator=_,this._handlerProvider=E||null,this._proxies={},this._getDataID=x,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set,this._missingFieldHandlers=w,this._log=T??function(R){}}var v=y.prototype;return v.publishSource=function(x,E){var w=this,T=x.getRecordIDs();T.forEach(function(R){var C=x.getStatus(R);if(C===n){var k=x.get(R);k&&(w.__mutator.getStatus(R)!==n&&w.create(R,e.getType(k)),w.__mutator.copyFieldsFromRecord(k,R))}else C===r&&w.delete(R)}),E&&E.length&&E.forEach(function(R){var C=w._handlerProvider&&w._handlerProvider(R.handle);C||h(!1),C.update(w,R)})},v.create=function(x,E){this.__mutator.create(x,E),delete this._proxies[x];var w=this.get(x);return w||h(!1),w},v.delete=function(x){x===a&&h(!1),delete this._proxies[x],this.__mutator.delete(x)},v.get=function(x){if(!this._proxies.hasOwnProperty(x)){var E=this.__mutator.getStatus(x);E===n?this._proxies[x]=new d(this,this.__mutator,x):this._proxies[x]=E===r?null:void 0}return this._proxies[x]},v.getRoot=function(){var x=this.get(a);return x||(x=this.create(a,u)),x&&x.getType()===u||h(!1),x},v.invalidateStore=function(){this._invalidatedStore=!0},v.isStoreMarkedForInvalidation=function(){return this._invalidatedStore},v.markIDForInvalidation=function(x){this._idsMarkedForInvalidation.add(x)},v.getIDsMarkedForInvalidation=function(){return this._idsMarkedForInvalidation},v.readUpdatableQuery=function(x,E){return c(x,E,this,this._missingFieldHandlers)},v.readUpdatableFragment=function(x,E){return o(x,E,this,this._missingFieldHandlers)},y})();return mR=m,mR}var gR,dz;function nJ(){if(dz)return gR;dz=1;var e=Yv(),t=e.LINKED_FIELD,n=xa(),r=n.getHandleStorageKey,i=Kf(),a=ln();function u(l,o,s){var c=o.find(function(h){return h.kind===t&&h.name===l.name&&h.alias===l.alias&&i(h.args,l.args)});c&&c.kind===t||a(!1);var d=r(l,s);return{kind:"LinkedField",alias:c.alias,name:d,storageKey:d,args:null,concreteType:c.concreteType,plural:c.plural,selections:c.selections}}return gR=u,gR}var vR,hz;function u3e(){if(hz)return vR;hz=1;var e=Yv(),t=e.SCALAR_FIELD,n=xa(),r=n.getHandleStorageKey,i=Kf(),a=ln();function u(l,o,s){var c=o.find(function(h){return h.kind===t&&h.name===l.name&&h.alias===l.alias&&i(h.args,l.args)});c&&c.kind===t||a(!1);var d=r(l,s);return{kind:"ScalarField",alias:c.alias,name:d,storageKey:d,args:null}}return vR=u,vR}var yR,pz;function l3e(){if(pz)return yR;pz=1;var e=$n().default,t=e(xu()),n=KW(),r=tJ(),i=oF(),a=A0(),u=a.isClientID,l=nJ(),o=u3e(),s=Kv(),c=s.getLocalVariables,d=cf(),h=K$(),m=h.EXISTENT,y=h.UNKNOWN,v=xa(),_=W$(),x=_.TYPE_SCHEMA_TYPE,E=_.generateTypeID,w=ln(),T=v.getModuleOperationKey,R=v.getStorageKey,C=v.getArgumentValues;function k(z,Z,q,j,N,V,W,G,J,te){J!=null&&J({name:"store.datachecker.start",selector:j});var X=j.dataID,M=j.node,K=j.variables,Y=new F(z,Z,q,K,N,V,W,G,J,te),B=Y.check(M,X);return J!=null&&J({name:"store.datachecker.end",selector:j}),B}var F=(function(){function z(q,j,N,V,W,G,J,te,X,M){this._getSourceForActor=q,this._getTargetForActor=j,this._getDataID=J,this._source=q(N),this._mutatorRecordSourceProxyCache=new Map;var K=this._getMutatorAndRecordProxyForActor(N),Y=K[0],B=K[1];this._useExecTimeResolvers=M??!1,this._mostRecentlyInvalidatedAt=null,this._handlers=W,this._mutator=Y,this._operationLoader=G??null,this._recordSourceProxy=B,this._recordWasMissing=!1,this._variables=V,this._shouldProcessClientComponents=te,this._log=X}var Z=z.prototype;return Z._getMutatorAndRecordProxyForActor=function(j){var N=this._mutatorRecordSourceProxyCache.get(j);if(N==null){var V=this._getTargetForActor(j),W=new n(this._getSourceForActor(j),V),G=new r(W,this._getDataID,void 0,this._handlers,this._log);N=[W,G],this._mutatorRecordSourceProxyCache.set(j,N)}return N},Z.check=function(j,N){return this._assignClientAbstractTypes(j),this._traverse(j,N),this._recordWasMissing===!0?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},Z._getVariableValue=function(j){return this._variables.hasOwnProperty(j)||w(!1),this._variables[j]},Z._handleMissing=function(){this._recordWasMissing=!0},Z._handleMissingScalarField=function(j,N){if(!(j.name==="id"&&j.alias==null&&u(N))){var V=j.args!=null?C(j.args,this._variables):{},W=(0,t.default)(this._handlers),G;try{for(W.s();!(G=W.n()).done;){var J=G.value;if(J.kind==="scalar"){var te=J.handle(j,this._recordSourceProxy.get(N),V,this._recordSourceProxy);if(te!==void 0)return te}}}catch(X){W.e(X)}finally{W.f()}this._handleMissing()}},Z._handleMissingLinkField=function(j,N){var V=j.args!=null?C(j.args,this._variables):{},W=(0,t.default)(this._handlers),G;try{for(W.s();!(G=W.n()).done;){var J=G.value;if(J.kind==="linked"){var te=J.handle(j,this._recordSourceProxy.get(N),V,this._recordSourceProxy);if(te!==void 0&&(te===null||this._mutator.getStatus(te)===m))return te}}}catch(X){W.e(X)}finally{W.f()}this._handleMissing()},Z._handleMissingPluralLinkField=function(j,N){var V=this,W=j.args!=null?C(j.args,this._variables):{},G=(0,t.default)(this._handlers),J;try{for(G.s();!(J=G.n()).done;){var te=J.value;if(te.kind==="pluralLinked"){var X=te.handle(j,this._recordSourceProxy.get(N),W,this._recordSourceProxy);if(X!=null){var M=X.every(function(K){return K!=null&&V._mutator.getStatus(K)===m});if(M)return X}else if(X===null)return null}}}catch(K){G.e(K)}finally{G.f()}this._handleMissing()},Z._traverse=function(j,N){var V=this._mutator.getStatus(N);if(V===y&&this._handleMissing(),V===m){var W=this._source.get(N),G=d.getInvalidationEpoch(W);G!=null&&(this._mostRecentlyInvalidatedAt=this._mostRecentlyInvalidatedAt!=null?Math.max(this._mostRecentlyInvalidatedAt,G):G),this._traverseSelections(j.selections,N)}},Z._traverseSelections=function(j,N){var V=this;j.forEach(function(W){switch(W.kind){case"ScalarField":V._checkScalar(W,N);break;case"LinkedField":W.plural?V._checkPluralLink(W,N):V._checkLink(W,N);break;case"ActorChange":V._checkActorChange(W.linkedField,N);break;case"Condition":var G=!!V._getVariableValue(W.condition);G===W.passingValue&&V._traverseSelections(W.selections,N);break;case"InlineFragment":{var J=W.abstractKey;if(J==null){var te=V._mutator.getType(N);te===W.type&&V._traverseSelections(W.selections,N)}else{var X=V._mutator.getType(N);X==null&&w(!1);var M=E(X),K=V._mutator.getValue(M,J);K===!0?V._traverseSelections(W.selections,N):K==null&&V._handleMissing()}break}case"LinkedHandle":{var Y=l(W,j,V._variables);Y.plural?V._checkPluralLink(Y,N):V._checkLink(Y,N);break}case"ScalarHandle":{var B=o(W,j,V._variables);V._checkScalar(B,N);break}case"ModuleImport":V._checkModuleImport(W,N);break;case"Defer":case"Stream":V._traverseSelections(W.selections,N);break;case"FragmentSpread":var ne=V._variables;V._variables=c(V._variables,W.fragment.argumentDefinitions,W.args),V._traverseSelections(W.fragment.selections,N),V._variables=ne;break;case"ClientExtension":var oe=V._recordWasMissing;V._traverseSelections(W.selections,N),V._recordWasMissing=oe;break;case"TypeDiscriminator":var ae=W.abstractKey,de=V._mutator.getType(N);de==null&&w(!1);var be=E(de),ye=V._mutator.getValue(be,ae);ye==null&&V._handleMissing();break;case"ClientComponent":if(V._shouldProcessClientComponents===!1)break;V._traverseSelections(W.fragment.selections,N);break;case"RelayResolver":case"RelayLiveResolver":V._useExecTimeResolvers||V._checkResolver(W,N);break;case"ClientEdgeToClientObject":V._useExecTimeResolvers||V._checkResolver(W.backingField,N);break;default:w(!1)}})},Z._checkResolver=function(j,N){j.fragment&&this._traverseSelections([j.fragment],N)},Z._checkModuleImport=function(j,N){var V=this._operationLoader;V===null&&w(!1);var W=T(j.documentName),G=this._mutator.getValue(N,W);if(G==null){G===void 0&&this._handleMissing();return}var J=V.get(G);if(J!=null){var te=i(J),X=this._variables;this._variables=c(this._variables,te.argumentDefinitions,j.args),this._traverse(te,N),this._variables=X}else this._handleMissing()},Z._checkScalar=function(j,N){var V=R(j,this._variables),W=this._mutator.getValue(N,V);W===void 0&&(W=this._handleMissingScalarField(j,N),W!==void 0&&this._mutator.setValue(N,V,W))},Z._checkLink=function(j,N){var V=R(j,this._variables),W=this._mutator.getLinkedRecordID(N,V);W===void 0&&(W=this._handleMissingLinkField(j,N),W!=null?this._mutator.setLinkedRecordID(N,V,W):W===null&&this._mutator.setValue(N,V,null)),W!=null&&this._traverse(j,W)},Z._checkPluralLink=function(j,N){var V=this,W=R(j,this._variables),G=this._mutator.getLinkedRecordIDs(N,W);G===void 0&&(G=this._handleMissingPluralLinkField(j,N),G!=null?this._mutator.setLinkedRecordIDs(N,W,G):G===null&&this._mutator.setValue(N,W,null)),G&&G.forEach(function(J){J!=null&&V._traverse(j,J)})},Z._checkActorChange=function(j,N){var V=R(j,this._variables),W=this._source.get(N),G=W!=null?d.getActorLinkedRecordID(W,V):W;if(G==null)G===void 0&&this._handleMissing();else{var J=G[0],te=G[1],X=this._source,M=this._mutator,K=this._recordSourceProxy,Y=this._getMutatorAndRecordProxyForActor(J),B=Y[0],ne=Y[1];this._source=this._getSourceForActor(J),this._mutator=B,this._recordSourceProxy=ne,this._assignClientAbstractTypes(j),this._traverse(j,te),this._source=X,this._mutator=M,this._recordSourceProxy=K}},Z._assignClientAbstractTypes=function(j){var N=j.clientAbstractTypes;if(N!=null)for(var V=0,W=Object.keys(N);V<W.length;V++){var G=W[V],J=(0,t.default)(N[G]),te;try{for(J.s();!(te=J.n()).done;){var X=te.value,M=E(X);this._source.get(M)==null&&this._mutator.create(M,x),this._mutator.getValue(M,G)==null&&this._mutator.setValue(M,G,!0)}}catch(K){J.e(K)}finally{J.f()}}},z})();return yR={check:k},yR}var bR,mz;function o3e(){return mz||(mz=1,bR=function(t){typeof t=="object"&&t!=null&&(Array.isArray(t)||t.constructor===Object)&&Object.freeze(t)}),bR}var OR,gz;function rJ(){if(gz)return OR;gz=1;var e=cf(),t=xa(),n=t.RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,r=ln();function i(a){var u=e.getValue(a,n);return u==null?null:(u instanceof Set||r(!1),u)}return OR=i,OR}var SR,vz;function s3e(){if(vz)return SR;vz=1;function e(t){return t!=null&&typeof t=="object"&&typeof t.read=="function"&&typeof t.subscribe=="function"}return SR=e,SR}var xR,yz;function c3e(){if(yz)return xR;yz=1;var e=$n().default,t=e(xu()),n=Y$(),r=Yv(),i=r.RELAY_LIVE_RESOLVER,a=Wd(),u=o3e(),l=A0(),o=l.generateClientID,s=l.generateClientObjectClientID,c=cf(),d=cp(),h=d.createNormalizationSelector,m=sb(),y=jW(),v=y.normalize,_=xa(),x=_.RELAY_RESOLVER_ERROR_KEY,E=_.RELAY_RESOLVER_INVALIDATION_KEY,w=_.RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,T=_.RELAY_RESOLVER_SNAPSHOT_KEY,R=_.RELAY_RESOLVER_VALUE_KEY,C=_.getReadTimeResolverStorageKey,k=_.getStorageKey,F=rJ(),z=s3e(),Z=G$(),q=Z.isSuspenseSentinel,j=ln();Bi();var N="__resolverLiveStateSubscription",V="__resolverLiveStateValue",W="__resolverLiveStateDirty",G="__RELAY_RESOLVER__",J="__relay_model_instance";function te(pe,_e,se){var me=pe.get(_e);me||(me=new Set,pe.set(_e,me)),me.add(se)}var X=(function(){function pe(se,me){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=se,this._store=me,this._handlingBatch=!1,this._liveResolverBatchRecordSource=null}var _e=pe.prototype;return _e.readFromCacheOrEvaluate=function(me,ge,we,Ne,Re){var et=this._getRecordSource(),tt=de(et,me),Oe=C(ge,we),$e=c.getLinkedRecordID(tt,Oe),Ae=$e==null?null:et.get($e),Ue;if(Ae==null||this._isInvalid(Ae,Re)){var Ze;Ae!=null&&ae(Ae),$e=(Ze=$e)!==null&&Ze!==void 0?Ze:o(me,Oe),Ae=c.create($e,G);var Ye=Ne();if(c.setValue(Ae,T,Ye.snapshot),c.setValue(Ae,x,Ye.error),ge.kind===i){if(Ye.resolverResult!=null){Ye.error!=null&&j(!1);var Me=Ye.resolverResult;Ue=this._setLiveStateValue(Ae,$e,Me,ge,we)}}else Ue=this._setResolverValue(Ae,Ye.resolverResult,ge,we);et.set($e,Ae);var ze=de(et,me),st=c.clone(ze);if(c.setLinkedRecordID(st,Oe,$e),et.set(me,st),ge.fragment!=null){var Ot,Nt=k(ge.fragment,we),gt=o(me,Nt);te(this._resolverIDToRecordIDs,gt,$e),te(this._recordIDToResolverIDs,me,gt);var qt=(Ot=Ye.snapshot)===null||Ot===void 0?void 0:Ot.seenRecords;if(qt!=null){var zt=(0,t.default)(qt),rn;try{for(zt.s();!(rn=zt.n()).done;){var nn=rn.value;te(this._recordIDToResolverIDs,nn,gt)}}catch(jn){zt.e(jn)}finally{zt.f()}}}}else if(ge.kind===i&&c.getValue(Ae,W)){var Fe;$e=(Fe=$e)!==null&&Fe!==void 0?Fe:o(me,Oe),Ae=c.clone(Ae);var ht=c.getValue(Ae,V);z(ht)||j(!1),Ue=this._setLiveResolverValue(Ae,ht,ge,we),c.setValue(Ae,W,!1),et.set($e,Ae)}var Tt=this._getResolverValue(Ae),Qt=c.getValue(Ae,T),an=c.getValue(Ae,x),In=null;if(q(Tt)){var un;In=(un=$e)!==null&&un!==void 0?un:o(me,Oe)}return[Tt,$e,an,Qt,In,Ue]},_e.getLiveResolverPromise=function(me){var ge=this._getRecordSource(),we=ge.get(me);we==null&&j(!1);var Ne=c.getValue(we,V);return new Promise(function(Re){var et=Ne.subscribe(function(){et(),Re()})})},_e._setLiveStateValue=function(me,ge,we,Ne,Re){var et=this._makeLiveStateHandler(ge),tt=we.subscribe(et);c.setValue(me,V,we);var Oe=this._setLiveResolverValue(me,we,Ne,Re);return c.setValue(me,W,!1),c.setValue(me,N,tt),Oe},_e._makeLiveStateHandler=function(me){var ge=this;return function(){var we=ge._getRecordSource(),Ne=we.get(me);if(Ne&&c.hasValue(Ne,V)){var Re=c.clone(Ne);c.setValue(Re,W,!0),ge._setLiveResolverUpdate(me,Re)}}},_e._setLiveResolverUpdate=function(me,ge){if(this._handlingBatch)this._liveResolverBatchRecordSource==null&&(this._liveResolverBatchRecordSource=m.create()),this._liveResolverBatchRecordSource.set(me,ge);else{var we=m.create();we.set(me,ge),this._store.publish(we),this._store.notify()}},_e.batchLiveStateUpdates=function(me){this._handlingBatch&&j(!1),this._handlingBatch=!0;try{me()}finally{this._liveResolverBatchRecordSource!=null&&(this._store.publish(this._liveResolverBatchRecordSource),this._store.notify()),this._liveResolverBatchRecordSource=null,this._handlingBatch=!1}},_e._setLiveResolverValue=function(me,ge,we,Ne){var Re=null,et=null;try{Re=ge.read()}catch(tt){et=tt}return c.setValue(me,x,et),this._setResolverValue(me,Re,we,Ne)},_e._setResolverValue=function(me,ge,we,Ne){var Re=we.normalizationInfo,et=null;if(ge!=null&&Re!=null&&!q(ge)){var tt,Oe=F(me),$e=new Set,Ae=this._getRecordSource();if(Re.plural){Array.isArray(ge)||j(!1),tt=[];for(var Ue=m.create(),Ze=0;Ze<ge.length;Ze++){var Ye=ge[Ze];if(Ye!=null){typeof Ye!="object"&&j(!1);var Me=ye(Re,Ye),ze=s(Me,c.getDataID(me),Ze),st=this._normalizeOutputTypeValue(ze,Ye,Ne,Re,[we.path,String(Ze)],Me),Ot=(0,t.default)(st.getRecordIDs()),Nt;try{for(Ot.s();!(Nt=Ot.n()).done;){var gt=Nt.value;Ue.set(gt,de(st,gt)),$e.add(gt)}}catch(Tt){Ot.e(Tt)}finally{Ot.f()}tt.push(ze)}}et=M(Ae,Ue,Oe)}else{typeof ge!="object"&&j(!1);var qt=ye(Re,ge),zt=s(qt,c.getDataID(me)),rn=this._normalizeOutputTypeValue(zt,ge,Ne,Re,[we.path],qt),nn=(0,t.default)(rn.getRecordIDs()),Fe;try{for(nn.s();!(Fe=nn.n()).done;){var ht=Fe.value;$e.add(ht)}}catch(Tt){nn.e(Tt)}finally{nn.f()}tt=zt,et=M(Ae,rn,Oe)}c.setValue(me,w,$e),u(tt),c.setValue(me,R,tt)}else u(ge),c.setValue(me,R,ge);return et},_e.notifyUpdatedSubscribers=function(me){this._store.__notifyUpdatedSubscribers(me)},_e._getResolverValue=function(me){return c.getValue(me,R)},_e.invalidateDataIDs=function(me){for(var ge=this._getRecordSource(),we=new Set,Ne=Array.from(me);Ne.length;){var Re=Ne.pop();we.add(Re),me.add(Re);var et=this._recordIDToResolverIDs.get(Re);if(et!=null){var tt=(0,t.default)(et),Oe;try{for(tt.s();!(Oe=tt.n()).done;){var $e=Oe.value;if(!we.has($e)){we.add($e);var Ae=this._resolverIDToRecordIDs.get($e);if(Ae==null)continue;var Ue=(0,t.default)(Ae),Ze;try{for(Ue.s();!(Ze=Ue.n()).done;){var Ye=Ze.value;Y(Ye,ge),we.has(Ye)||(we.add(Ye),Ne.push(Ye))}}catch(Me){Ue.e(Me)}finally{Ue.f()}}}}catch(Me){tt.e(Me)}finally{tt.f()}}}},_e._isInvalid=function(me,ge){if(!c.getValue(me,E))return!1;var we=c.getValue(me,T),Ne=we==null?void 0:we.data,Re=we==null?void 0:we.selector;if(Ne==null||Re==null)return!0;var et=ge(Re),tt=et.data,Oe=n(Ne,tt);if(Oe!==Ne)return!0;if(a.MARK_RESOLVER_VALUES_AS_CLEAN_AFTER_FRAGMENT_REREAD){var $e=c.clone(me);c.setValue($e,E,!1);var Ae=this._getRecordSource();Ae.set(c.getDataID(me),$e)}return!1},_e._normalizeOutputTypeValue=function(me,ge,we,Ne,Re,et){var tt=m.create();switch(Ne.kind){case"OutputType":{var Oe=c.create(me,et);tt.set(me,Oe);var $e=h(Ne.normalizationNode,me,we),Ae=!1,Ue=this._store.__getNormalizationOptions(Re);return v(tt,$e,ge,Ue,void 0,Ae).source}case"WeakModel":{var Ze=c.create(me,et);return c.setValue(Ze,J,ge),tt.set(me,Ze),tt}default:Ne.kind,j(!1)}},_e.ensureClientRecord=function(me,ge){var we=s(ge,me),Ne=this._getRecordSource();if(!Ne.has(we)){var Re=c.create(we,ge);c.setValue(Re,"id",me),Ne.set(we,Re)}return we},_e.unsubscribeFromLiveResolverRecords=function(me){return ne(this._getRecordSource(),me)},_e.invalidateResolverRecords=function(me){if(me.size!==0){var ge=(0,t.default)(me),we;try{for(ge.s();!(we=ge.n()).done;){var Ne=we.value,Re=this._getRecordSource().get(Ne);Re!=null&&oe(Re)&&this._getRecordSource().delete(Ne)}}catch(et){ge.e(et)}finally{ge.f()}}},pe})();function M(pe,_e,se){var me=new Set;if(se!=null){var ge=(0,t.default)(se),we;try{for(ge.s();!(we=ge.n()).done;){var Ne=we.value;_e.has(Ne)||(me.add(Ne),pe.remove(Ne))}}catch(Ue){ge.e(Ue)}finally{ge.f()}}var Re=(0,t.default)(_e.getRecordIDs()),et;try{for(Re.s();!(et=Re.n()).done;){var tt=et.value,Oe=de(_e,tt);if(pe.has(tt)){var $e=de(pe,tt),Ae=c.update($e,Oe);Ae!==$e&&(me.add(tt),pe.set(tt,Ae),B($e,pe))}else pe.set(tt,Oe)}}catch(Ue){Re.e(Ue)}finally{Re.f()}return me}function K(pe){var _e=new Set;return c.getFields(pe).forEach(function(se){if(c.hasLinkedRecordID(pe,se)){var me=c.getLinkedRecordID(pe,se);me!=null&&_e.add(me)}else if(c.hasLinkedRecordIDs(pe,se)){var ge;(ge=c.getLinkedRecordIDs(pe,se))===null||ge===void 0||ge.forEach(function(we){we!=null&&_e.add(we)})}}),_e}function Y(pe,_e){var se=_e.get(pe);if(se){var me=c.clone(se);c.setValue(me,E,!0),_e.set(pe,me)}}function B(pe,_e){var se=K(pe),me=(0,t.default)(se),ge;try{for(me.s();!(ge=me.n()).done;){var we=ge.value,Ne=_e.get(we);Ne!=null&&oe(Ne)&&Y(we,_e)}}catch(Re){me.e(Re)}finally{me.f()}}function ne(pe,_e){if(_e.size!==0){var se=(0,t.default)(_e),me;try{for(se.s();!(me=se.n()).done;){var ge=me.value,we=pe.get(ge);we!=null&&oe(we)&&ae(we)}}catch(Ne){se.e(Ne)}finally{se.f()}}}function oe(pe){return c.getType(pe)===G}function ae(pe){var _e=c.getValue(pe,N);_e!=null&&_e()}function de(pe,_e){var se=pe.get(_e);return se==null&&j(!1),se}function be(pe){return pe}function ye(pe,_e){var se,me=(se=pe.concreteType)!==null&&se!==void 0?se:_e.__typename;return me==null&&j(!1),me}return xR={LiveResolverCache:X,getUpdatedDataIDs:be,RELAY_RESOLVER_LIVE_STATE_SUBSCRIPTION_KEY:N},xR}var _R,bz;function f3e(){if(bz)return _R;bz=1;var e=$n().default,t=e(Qi()),n=cf(),r=sb(),i=ln(),a=n.fromObject(Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0})),u=(function(){function s(d){this._base=d,this._sink=r.create()}var c=s.prototype;return c.has=function(h){if(this._sink.has(h)){var m=this._sink.get(h);return m!==a}else return this._base.has(h)},c.get=function(h){if(this._sink.has(h)){var m=this._sink.get(h);return m===a?void 0:m}else return this._base.get(h)},c.getStatus=function(h){var m=this.get(h);return m===void 0?"UNKNOWN":m===null?"NONEXISTENT":"EXISTENT"},c.clear=function(){this._base=r.create(),this._sink.clear()},c.delete=function(h){this._sink.delete(h)},c.remove=function(h){this._sink.set(h,a)},c.set=function(h,m){this._sink.set(h,m)},c.getRecordIDs=function(){return Object.keys(this.toJSON())},c.size=function(){return Object.keys(this.toJSON()).length},c.toJSON=function(){var h=this,m=(0,t.default)({},this._base.toJSON());return this._sink.getRecordIDs().forEach(function(y){var v=h.get(y);v===void 0?delete m[y]:m[y]=n.toJSON(v)}),m},c.getOptimisticRecordIDs=function(){return new Set(this._sink.getRecordIDs())},s})();function l(s){return new u(s)}function o(s){return s instanceof u||i(!1),s.getOptimisticRecordIDs()}return _R={create:l,getOptimisticRecordIDs:o},_R}var ER,Oz;function d3e(){if(Oz)return ER;Oz=1;var e=Yv(),t=e.RELAY_LIVE_RESOLVER,n=ln(),r=(function(){function i(){}var a=i.prototype;return a.readFromCacheOrEvaluate=function(l,o,s,c,d){o.kind===t&&n(!1);var h=c(),m=h.resolverResult,y=h.snapshot,v=h.error;return[m,void 0,v,y,void 0,void 0]},a.invalidateDataIDs=function(l){},a.ensureClientRecord=function(l,o){n(!1)},a.notifyUpdatedSubscribers=function(l){},i})();return ER={NoopResolverCache:r},ER}var DR,Sz;function sF(){if(Sz)return DR;Sz=1;var e=$n().default,t=e(Qi()),n=e(sc()),r=e(A3()),i=e(Gv()),a=["message"],u=Wd(),l=G$(),o=l.isSuspenseSentinel,s=Kv(),c=cf(),d=xa(),h=d.CLIENT_EDGE_TRAVERSAL_PATH,m=d.FRAGMENT_OWNER_KEY,y=d.FRAGMENT_PROP_NAME_KEY,v=d.FRAGMENTS_KEY,_=d.ID_KEY,x=d.MODULE_COMPONENT_KEY,E=d.ROOT_ID,w=d.getArgumentValues,T=d.getModuleComponentKey,R=d.getStorageKey,C=d3e(),k=C.NoopResolverCache,F=nF(),z=F.RESOLVER_FRAGMENT_ERRORED_SENTINEL,Z=F.withResolverContext,q=W$(),j=q.generateTypeID,N=ln();function V(X,M,K,Y){var B=new W(X,M,K??new k,Y);return B.read()}var W=(function(){function X(K,Y,B,ne){var oe,ae,de,be;this._clientEdgeTraversalPath=(oe=Y.clientEdgeTraversalPath)!==null&&oe!==void 0&&oe.length?(0,i.default)(Y.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._missingLiveResolverFields=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._fieldErrors=null,this._owner=Y.owner,this._useExecTimeResolvers=(ae=(de=this._owner.node.operation.use_exec_time_resolvers)!==null&&de!==void 0?de:((be=this._owner.node.operation.exec_time_resolvers_enabled_provider)===null||be===void 0?void 0:be.get())===!0)!==null&&ae!==void 0?ae:!1,this._recordSource=K,this._seenRecords=new Set,this._selector=Y,this._variables=Y.variables,this._resolverCache=B,this._fragmentName=Y.node.name,this._updatedDataIDs=new Set,this._resolverContext=ne}var M=X.prototype;return M.read=function(){var Y,B=this._selector,ne=B.node,oe=B.dataID,ae=B.isWithinUnmatchedTypeRefinement,de=ne.abstractKey,be=this._recordSource.get(oe),ye=!ae;if(ye&&de==null&&be!=null&&(this._recordMatchesTypeCondition(be,ne.type)||(ye=!1)),ye&&de!=null&&be!=null){var pe=this._implementsInterface(be,de);pe===!1&&(ye=!1)}this._isWithinUnmatchedTypeRefinement=!ye;var _e=this._traverse(ne,oe,null),se=(Y=this._selector.node.metadata)===null||Y===void 0?void 0:Y.catchTo;return se!=null&&(_e=this._catchErrors(_e,se,null)),this._updatedDataIDs.size>0&&(this._resolverCache.notifyUpdatedSubscribers(this._updatedDataIDs),this._updatedDataIDs.clear()),{data:_e,isMissingData:this._isMissingData&&ye,missingClientEdges:this._missingClientEdges.length?this._missingClientEdges:null,missingLiveResolverFields:this._missingLiveResolverFields,seenRecords:this._seenRecords,selector:this._selector,fieldErrors:this._fieldErrors}},M._maybeAddFieldErrors=function(Y,B){var ne=c.getErrors(Y,B);if(ne!=null){var oe=this._fragmentName;this._fieldErrors==null&&(this._fieldErrors=[]);for(var ae=0;ae<ne.length;ae++){var de,be,ye,pe=ne[ae];this._fieldErrors.push({kind:"relay_field_payload.error",owner:oe,fieldPath:((de=pe.path)!==null&&de!==void 0?de:[]).join("."),error:pe,shouldThrow:(be=(ye=this._selector.node.metadata)===null||ye===void 0?void 0:ye.throwOnFieldError)!==null&&be!==void 0?be:!1,handled:!1,uiContext:void 0})}}},M._markDataAsMissing=function(Y){var B,ne;if(!this._isWithinUnmatchedTypeRefinement){this._fieldErrors==null&&(this._fieldErrors=[]);var oe=this._fragmentName;if(this._fieldErrors.push((B=(ne=this._selector.node.metadata)===null||ne===void 0?void 0:ne.throwOnFieldError)!==null&&B!==void 0&&B?{kind:"missing_expected_data.throw",owner:oe,fieldPath:Y,handled:!1,uiContext:void 0}:{kind:"missing_expected_data.log",owner:oe,fieldPath:Y,uiContext:void 0}),this._isMissingData=!0,this._clientEdgeTraversalPath.length){var ae=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];ae!==null&&this._missingClientEdges.push({request:ae.readerClientEdge.operation,clientEdgeDestinationID:ae.clientEdgeDestinationID})}}},M._traverse=function(Y,B,ne){var oe=this._recordSource.get(B);if(this._seenRecords.add(B),oe==null)return oe===void 0&&this._markDataAsMissing("<record>"),oe;var ae=ne||{},de=this._traverseSelections(Y.selections,oe,ae);return de?ae:null},M._getVariableValue=function(Y){return this._variables.hasOwnProperty(Y)||N(!1),this._variables[Y]},M._maybeReportUnexpectedNull=function(Y){if(Y.action!=="NONE"){var B=this._fragmentName;this._fieldErrors==null&&(this._fieldErrors=[]);var ne;if(Y.field.linkedField!=null){var oe;ne=(oe=Y.field.linkedField.alias)!==null&&oe!==void 0?oe:Y.field.linkedField.name}else{var ae;ne=(ae=Y.field.alias)!==null&&ae!==void 0?ae:Y.field.name}switch(Y.action){case"THROW":this._fieldErrors.push({kind:"missing_required_field.throw",fieldPath:ne,owner:B,handled:!1,uiContext:void 0});return;case"LOG":this._fieldErrors.push({kind:"missing_required_field.log",fieldPath:ne,owner:B,uiContext:void 0});return;default:Y.action}}},M._handleRequiredFieldValue=function(Y,B){return B==null?(this._maybeReportUnexpectedNull(Y),!1):!0},M._catchErrors=function(Y,B,ne){var oe=Y;switch(B){case"RESULT":oe=this._asResult(Y);break;case"NULL":this._fieldErrors!=null&&this._fieldErrors.length>0&&(oe=null);break}var ae=this._fieldErrors;if(this._fieldErrors=ne,ae!=null){this._fieldErrors==null&&(this._fieldErrors=[]);for(var de=0;de<ae.length;de++)this._fieldErrors.push(G(ae[de]))}return oe},M._asResult=function(Y){if(this._fieldErrors==null||this._fieldErrors.length===0)return{ok:!0,value:Y};var B=this._fieldErrors.map(function(ne){switch(ne.kind){case"relay_field_payload.error":var oe=ne.error;oe.message;var ae=(0,r.default)(oe,a);return ae;case"missing_expected_data.throw":case"missing_expected_data.log":return{path:ne.fieldPath.split(".")};case"relay_resolver.error":return{message:"Relay: Error in resolver for field at ".concat(ne.fieldPath," in ").concat(ne.owner)};case"missing_required_field.throw":return{message:"Relay: Missing @required value at path '".concat(ne.fieldPath,"' in '").concat(ne.owner,"'.")};case"missing_required_field.log":return null;default:ne.kind,N(!1)}}).filter(Boolean);return{ok:!1,errors:B}},M._traverseSelections=function(Y,B,ne){for(var oe=0;oe<Y.length;oe++){var ae=Y[oe];switch(ae.kind){case"RequiredField":var de=this._readClientSideDirectiveField(ae,B,ne);if(!this._handleRequiredFieldValue(ae,de))return!1;break;case"CatchField":{var be,ye,pe,_e=this._fieldErrors;this._fieldErrors=null;var se=this._readClientSideDirectiveField(ae,B,ne),me=(be=(ye=ae.field)===null||ye===void 0?void 0:ye.backingField)!==null&&be!==void 0?be:ae.field,ge=(pe=me==null?void 0:me.alias)!==null&&pe!==void 0?pe:me==null?void 0:me.name;ge==null&&N(!1),ne[ge]=this._catchErrors(se,ae.to,_e);break}case"ScalarField":this._readScalar(ae,B,ne);break;case"LinkedField":ae.plural?this._readPluralLink(ae,B,ne):this._readLink(ae,B,ne);break;case"Condition":var we=!!this._getVariableValue(ae.condition);if(we===ae.passingValue){var Ne=this._traverseSelections(ae.selections,B,ne);if(!Ne)return!1}break;case"InlineFragment":{var Re=this._readInlineFragment(ae,B,ne,!1);if(Re===!1)return!1;break}case"RelayLiveResolver":case"RelayResolver":{this._useExecTimeResolvers?this._readScalar(ae,B,ne):this._readResolverField(ae,B,ne);break}case"FragmentSpread":this._createFragmentPointer(ae,B,ne);break;case"AliasedInlineFragmentSpread":{this._readAliasedInlineFragment(ae,B,ne);break}case"ModuleImport":this._readModuleImport(ae,B,ne);break;case"InlineDataFragmentSpread":this._createInlineDataOrResolverFragmentPointer(ae,B,ne);break;case"Defer":case"ClientExtension":{var et=this._isMissingData,tt=this._missingClientEdges.length;this._clientEdgeTraversalPath.push(null);var Oe=this._traverseSelections(ae.selections,B,ne);if(this._isMissingData=et||this._missingClientEdges.length>tt||this._missingLiveResolverFields.length>0,this._clientEdgeTraversalPath.pop(),!Oe)return!1;break}case"Stream":{var $e=this._traverseSelections(ae.selections,B,ne);if(!$e)return!1;break}case"ActorChange":this._readActorChange(ae,B,ne);break;case"ClientEdgeToClientObject":case"ClientEdgeToServerObject":if(this._useExecTimeResolvers&&(ae.backingField.kind==="RelayResolver"||ae.backingField.kind==="RelayLiveResolver")){var Ae=ae.linkedField;Ae.plural?this._readPluralLink(Ae,B,ne):this._readLink(Ae,B,ne)}else this._readClientEdge(ae,B,ne);break;default:N(!1)}}return!0},M._readClientSideDirectiveField=function(Y,B,ne){switch(Y.field.kind){case"ScalarField":return this._readScalar(Y.field,B,ne);case"LinkedField":return Y.field.plural?this._readPluralLink(Y.field,B,ne):this._readLink(Y.field,B,ne);case"RelayResolver":case"RelayLiveResolver":return this._useExecTimeResolvers?this._readScalar(Y.field,B,ne):this._readResolverField(Y.field,B,ne);case"ClientEdgeToClientObject":case"ClientEdgeToServerObject":if(this._useExecTimeResolvers&&(Y.field.backingField.kind==="RelayResolver"||Y.field.backingField.kind==="RelayLiveResolver")){var oe=Y.field;return oe.linkedField.plural?this._readPluralLink(oe.linkedField,B,ne):this._readLink(oe.linkedField,B,ne)}else return this._readClientEdge(Y.field,B,ne);case"AliasedInlineFragmentSpread":return this._readAliasedInlineFragment(Y.field,B,ne);default:Y.field.kind,N(!1)}},M._readResolverField=function(Y,B,ne){var oe,ae=c.getDataID(B),de=this._fieldErrors;this._fieldErrors=null;var be=this._readResolverFieldImpl(Y,ae),ye=(oe=Y.alias)!==null&&oe!==void 0?oe:Y.name;return this._prependPreviousErrors(de,ye),ne[ye]=be,be},M._readResolverFieldImpl=function(Y,B){var ne=this,oe=Y.fragment,ae,de=function(Re){return ae!=null?{data:ae.data,isMissingData:ae.isMissingData,fieldErrors:ae.fieldErrors}:(ae=V(ne._recordSource,Re,ne._resolverCache),{data:ae.data,isMissingData:ae.isMissingData,fieldErrors:ae.fieldErrors})},be=function(){if(oe!=null){var Re={__id:B,__fragmentOwner:ne._owner,__fragments:(0,n.default)({},oe.name,oe.args?w(oe.args,ne._variables):{})};ne._clientEdgeTraversalPath.length>0&&ne._clientEdgeTraversalPath[ne._clientEdgeTraversalPath.length-1]!==null&&(Re[h]=(0,i.default)(ne._clientEdgeTraversalPath));var et={getDataForResolverFragment:de};return Z(et,function(){var Ae=J(Y,ne._variables,Re,ne._resolverContext),Ue=Ae[0],Ze=Ae[1];return{resolverResult:Ue,snapshot:ae,error:Ze}})}else{var tt=J(Y,ne._variables,null,ne._resolverContext),Oe=tt[0],$e=tt[1];return{resolverResult:Oe,snapshot:void 0,error:$e}}},ye=this._resolverCache.readFromCacheOrEvaluate(B,Y,this._variables,be,de),pe=ye[0],_e=ye[1],se=ye[2],me=ye[3],ge=ye[4],we=ye[5];return this._propagateResolverMetadata(Y.path,me,se,_e,ge,we),pe},M._propagateResolverMetadata=function(Y,B,ne,oe,ae,de){var be=this;if(B!=null){if(B.missingClientEdges!=null)for(var ye=0;ye<B.missingClientEdges.length;ye++){var pe=B.missingClientEdges[ye];this._missingClientEdges.push(pe)}if(B.missingLiveResolverFields!=null){this._isMissingData=this._isMissingData||B.missingLiveResolverFields.length>0;for(var _e=0;_e<B.missingLiveResolverFields.length;_e++){var se=B.missingLiveResolverFields[_e];this._missingLiveResolverFields.push(se)}}if(B.fieldErrors!=null){this._fieldErrors==null&&(this._fieldErrors=[]);for(var me=0;me<B.fieldErrors.length;me++){var ge,we=B.fieldErrors[me];((ge=this._selector.node.metadata)===null||ge===void 0?void 0:ge.throwOnFieldError)===!0?this._fieldErrors.push(we):this._fieldErrors.push(G(we))}}this._isMissingData=this._isMissingData||B.isMissingData}if(ne){var Ne,Re,et={kind:"relay_resolver.error",fieldPath:Y,owner:this._fragmentName,error:ne,shouldThrow:(Ne=(Re=this._selector.node.metadata)===null||Re===void 0?void 0:Re.throwOnFieldError)!==null&&Ne!==void 0?Ne:!1,handled:!1,uiContext:void 0};this._fieldErrors==null?this._fieldErrors=[et]:this._fieldErrors.push(et)}oe!=null&&this._seenRecords.add(oe),ae!=null&&(this._isMissingData=!0,this._missingLiveResolverFields.push(ae)),de!=null&&de.forEach(function(tt){be._updatedDataIDs.add(tt)})},M._readClientEdge=function(Y,B,ne){var oe=this,ae,de=Y.backingField;de.kind==="ClientExtension"&&N(!1);var be=(ae=de.alias)!==null&&ae!==void 0?ae:de.name,ye={};this._traverseSelections([de],B,ye);var pe=ye[be];if(pe==null||o(pe))return ne[be]=pe,pe;if(Y.linkedField.plural){Array.isArray(pe)||N(!1);var _e;Y.kind!=="ClientEdgeToClientObject"&&N(!1),Y.backingField.normalizationInfo==null?_e=pe.map(function(Ze){var Ye,Me=(Ye=Y.concreteType)!==null&&Ye!==void 0?Ye:Ze.__typename;typeof Me!="string"&&N(!1);var ze=te(Ze,de.path,oe._owner.identifier),st=oe._resolverCache.ensureClientRecord(ze,Me),Ot=Y.modelResolvers;if(Ot!=null){var Nt=Ot[Me];Nt===void 0&&N(!1);var gt=oe._readResolverFieldImpl(Nt,st);return gt!=null?st:null}return st}):_e=pe.map(function(Ze){return te(Ze,de.path,oe._owner.identifier)}),this._clientEdgeTraversalPath.push(null);var se=this._readLinkedIds(Y.linkedField,_e,B,ne);return this._clientEdgeTraversalPath.pop(),ne[be]=se,se}else{var me,ge=te(pe,de.path,this._owner.identifier),we,Ne=(me=Y.concreteType)!==null&&me!==void 0?me:pe.__typename,Re;Y.kind==="ClientEdgeToClientObject"?Y.backingField.normalizationInfo==null?(typeof Ne!="string"&&N(!1),we=this._resolverCache.ensureClientRecord(ge,Ne),Re=null):(we=ge,Re=null):(we=ge,Re={readerClientEdge:Y,clientEdgeDestinationID:ge});var et=Y.modelResolvers;if(et!=null){typeof Ne!="string"&&N(!1);var tt=et[Ne];tt===void 0&&N(!1);var Oe=this._readResolverFieldImpl(tt,we);if(Oe==null)return ne[be]=null,null}this._clientEdgeTraversalPath.push(Re);var $e=ne[be];$e==null||typeof $e=="object"||N(!1);var Ae=this._fieldErrors;this._fieldErrors=null;var Ue=this._traverse(Y.linkedField,we,$e);return this._prependPreviousErrors(Ae,be),this._clientEdgeTraversalPath.pop(),ne[be]=Ue,Ue}},M._readScalar=function(Y,B,ne){var oe,ae=(oe=Y.alias)!==null&&oe!==void 0?oe:Y.name,de=R(Y,this._variables),be=c.getValue(B,de);return be===null||u.ENABLE_NONCOMPLIANT_ERROR_HANDLING_ON_LISTS&&Array.isArray(be)&&be.length===0?this._maybeAddFieldErrors(B,de):be===void 0&&this._markDataAsMissing(ae),ne[ae]=be,be},M._readLink=function(Y,B,ne){var oe,ae=(oe=Y.alias)!==null&&oe!==void 0?oe:Y.name,de=R(Y,this._variables),be=c.getLinkedRecordID(B,de);if(be==null)return ne[ae]=be,be===null?this._maybeAddFieldErrors(B,de):be===void 0&&this._markDataAsMissing(ae),be;var ye=ne[ae];ye==null||typeof ye=="object"||N(!1);var pe=this._fieldErrors;this._fieldErrors=null;var _e=this._traverse(Y,be,ye);return this._prependPreviousErrors(pe,ae),ne[ae]=_e,_e},M._prependPreviousErrors=function(Y,B){if(this._fieldErrors!=null){for(var ne=0;ne<this._fieldErrors.length;ne++){var oe=this._fieldErrors[ne];oe.owner===this._fragmentName&&(oe.kind==="missing_expected_data.throw"||oe.kind==="missing_expected_data.log"||oe.kind==="missing_required_field.throw"||oe.kind==="missing_required_field.log")&&(oe.fieldPath="".concat(B,".").concat(oe.fieldPath))}if(Y!=null){for(var ae=this._fieldErrors.length-1;ae>=0;ae--)Y.push(this._fieldErrors[ae]);this._fieldErrors=Y}}else this._fieldErrors=Y},M._readActorChange=function(Y,B,ne){var oe,ae=(oe=Y.alias)!==null&&oe!==void 0?oe:Y.name,de=R(Y,this._variables),be=c.getActorLinkedRecordID(B,de);if(be==null)return ne[ae]=be,be===void 0?this._markDataAsMissing(ae):be===null&&this._maybeAddFieldErrors(B,de),ne[ae];var ye=be[0],pe=be[1],_e={};return this._createFragmentPointer(Y.fragmentSpread,c.fromObject({__id:pe}),_e),ne[ae]={__fragmentRef:_e,__viewer:ye},ne[ae]},M._readPluralLink=function(Y,B,ne){var oe=R(Y,this._variables),ae=c.getLinkedRecordIDs(B,oe);return(ae===null||u.ENABLE_NONCOMPLIANT_ERROR_HANDLING_ON_LISTS&&Array.isArray(ae)&&ae.length===0)&&this._maybeAddFieldErrors(B,oe),this._readLinkedIds(Y,ae,B,ne)},M._readLinkedIds=function(Y,B,ne,oe){var ae=this,de,be=(de=Y.alias)!==null&&de!==void 0?de:Y.name;if(B==null)return oe[be]=B,B===void 0&&this._markDataAsMissing(be),B;var ye=oe[be];ye==null||Array.isArray(ye)||N(!1);var pe=this._fieldErrors;this._fieldErrors=null;var _e=ye||[];return B.forEach(function(se,me){if(se==null){se===void 0&&ae._markDataAsMissing(String(me)),_e[me]=se;return}var ge=_e[me];ge==null||typeof ge=="object"||N(!1);var we=ae._fieldErrors;ae._fieldErrors=null,_e[me]=ae._traverse(Y,se,ge),ae._prependPreviousErrors(we,me)}),this._prependPreviousErrors(pe,be),oe[be]=_e,_e},M._readModuleImport=function(Y,B,ne){var oe=T(Y.documentName),ae=c.getValue(B,oe),de=ae!==void 0?ae:Y.componentModuleProvider;if(de==null){de===void 0&&this._markDataAsMissing("<module-import>");return}this._createFragmentPointer({kind:"FragmentSpread",name:Y.fragmentName,args:Y.args},B,ne),ne[y]=Y.fragmentPropName,ne[x]=de},M._readAliasedInlineFragment=function(Y,B,ne){var oe=this._fieldErrors;this._fieldErrors=null;var ae=this._readInlineFragment(Y.fragment,B,{},!0);this._prependPreviousErrors(oe,Y.name),ae===!1&&(ae=null),ne[Y.name]=ae},M._readInlineFragment=function(Y,B,ne,oe){if(Y.type==null){var ae=this._traverseSelections(Y.selections,B,ne);return ae===!1?!1:ne}var de=Y.abstractKey;if(de==null)if(this._recordMatchesTypeCondition(B,Y.type)){var ae=this._traverseSelections(Y.selections,B,ne);if(!ae)return!1}else return null;else{var be=this._implementsInterface(B,de);if(be===!1&&oe)return null;var ye=this._isMissingData,pe=this._isWithinUnmatchedTypeRefinement;this._isWithinUnmatchedTypeRefinement=pe||be===!1;var _e=this._traverseSelections(Y.selections,B,ne);if(this._isWithinUnmatchedTypeRefinement=pe,be===!1)return this._isMissingData=ye,null;if(be==null)return;if(_e===!1)return!1}return ne},M._recordMatchesTypeCondition=function(Y,B){var ne=c.getType(Y);return ne!=null&&ne===B||c.getDataID(Y)===E},M._createFragmentPointer=function(Y,B,ne){var oe=ne[v];oe==null&&(oe=ne[v]={}),typeof oe=="object"&&oe!=null||N(!1),ne[_]==null&&(ne[_]=c.getDataID(B)),oe[Y.name]=w(Y.args,this._variables,this._isWithinUnmatchedTypeRefinement),ne[m]=this._owner,this._clientEdgeTraversalPath.length>0&&this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]!==null&&(ne[h]=(0,i.default)(this._clientEdgeTraversalPath))},M._createInlineDataOrResolverFragmentPointer=function(Y,B,ne){var oe=ne[v];oe==null&&(oe=ne[v]={}),typeof oe=="object"&&oe!=null||N(!1),ne[_]==null&&(ne[_]=c.getDataID(B));var ae={},de=this._fragmentName;this._fragmentName=Y.name;var be=this._variables,ye=Y.args?w(Y.args,this._variables):{};this._variables=s.getFragmentVariables(Y,this._owner.variables,ye),this._traverseSelections(Y.selections,B,ae),this._variables=be,this._fragmentName=de,oe[Y.name]=ae},M._implementsInterface=function(Y,B){var ne=c.getType(Y),oe=this._recordSource.get(j(ne)),ae=oe!=null?c.getValue(oe,B):null;return ae==null&&this._markDataAsMissing("<abstract-type-hint>"),ae},X})();function G(X){switch(X.kind){case"missing_expected_data.throw":case"missing_required_field.throw":case"relay_field_payload.error":case"relay_resolver.error":return(0,t.default)((0,t.default)({},X),{},{handled:!0});case"missing_expected_data.log":case"missing_required_field.log":return X;default:X.kind,N(!1)}}function J(X,M,K,Y){var B=typeof X.resolverModule=="function"?X.resolverModule:X.resolverModule.default,ne=null,oe=null;try{var ae=[];X.fragment!=null&&ae.push(K);var de=X.args?w(X.args,M):void 0;ae.push(de),ae.push(Y),ne=B.apply(null,ae)}catch(be){ne=null,be!==z&&(oe=be)}return[ne,oe]}function te(X,M,K){if(typeof X=="string")return X;if(typeof X=="object"&&X!=null&&typeof X.id=="string")return X.id;N(!1)}return DR={read:V},DR}var $R,xz;function h3e(){if(xz)return $R;xz=1;var e=$n().default,t=e(xu()),n=oF(),r=nJ(),i=rJ(),a=Kv(),u=a.getLocalVariables,l=cf(),o=xa(),s=W$(),c=s.generateTypeID,d=ln(),h=o.getReadTimeResolverStorageKey,m=o.getStorageKey,y=o.getModuleOperationKey;function v(x,E,w,T,R,C){var k=E.dataID,F=E.node,z=E.variables,Z=new _(x,z,w,T,R,C);Z.mark(F,k)}var _=(function(){function x(w,T,R,C,k,F){this._operationLoader=C??null,this._operationName=null,this._useExecTimeResolvers=F??!1,this._recordSource=w,this._references=R,this._variables=T,this._shouldProcessClientComponents=k}var E=x.prototype;return E.mark=function(T,R){(T.kind==="Operation"||T.kind==="SplitOperation")&&(this._operationName=T.name),this._traverse(T,R)},E._traverse=function(T,R){this._references.add(R);var C=this._recordSource.get(R);C!=null&&this._traverseSelections(T.selections,C)},E._getVariableValue=function(T){return this._variables.hasOwnProperty(T)||d(!1),this._variables[T]},E._traverseSelections=function(T,R){var C=this;T.forEach(function(k){switch(k.kind){case"ActorChange":C._traverseLink(k.linkedField,R);break;case"LinkedField":k.plural?C._traversePluralLink(k,R):C._traverseLink(k,R);break;case"Condition":var F=!!C._getVariableValue(k.condition);F===k.passingValue&&C._traverseSelections(k.selections,R);break;case"InlineFragment":if(k.abstractKey==null){var z=l.getType(R);(z!=null&&z===k.type||z===o.ROOT_TYPE)&&C._traverseSelections(k.selections,R)}else{var Z=l.getType(R),q=c(Z);C._references.add(q),C._traverseSelections(k.selections,R)}break;case"FragmentSpread":var j=C._variables;C._variables=u(C._variables,k.fragment.argumentDefinitions,k.args),C._traverseSelections(k.fragment.selections,R),C._variables=j;break;case"LinkedHandle":var N=r(k,T,C._variables);N.plural?C._traversePluralLink(N,R):C._traverseLink(N,R);break;case"Defer":case"Stream":C._traverseSelections(k.selections,R);break;case"ScalarField":case"ScalarHandle":break;case"TypeDiscriminator":{var V=l.getType(R),W=c(V);C._references.add(W);break}case"ModuleImport":C._traverseModuleImport(k,R);break;case"ClientExtension":C._traverseSelections(k.selections,R);break;case"ClientComponent":if(C._shouldProcessClientComponents===!1)break;C._traverseSelections(k.fragment.selections,R);break;case"RelayResolver":case"RelayLiveResolver":C._traverseResolverField(k,R);break;case"ClientEdgeToClientObject":C._traverseClientEdgeToClientObject(k,R);break;default:d(!1)}})},E._traverseClientEdgeToClientObject=function(T,R){if(this._useExecTimeResolvers){this._traverseLink(T.linkedField,R);return}var C=this._traverseResolverField(T.backingField,R);if(C!=null){var k=this._recordSource.get(C);if(k!=null)if(T.backingField.isOutputType){var F=i(k);if(F!=null){var z=(0,t.default)(F),Z;try{for(z.s();!(Z=z.n()).done;){var q=Z.value;this._references.add(q)}}catch(X){z.e(X)}finally{z.f()}}}else{var j=T.linkedField,N=j.concreteType;if(N==null)return;if(j.plural){var V=l.getResolverLinkedRecordIDs(k,N);if(V!=null){var W=(0,t.default)(V),G;try{for(W.s();!(G=W.n()).done;){var J=G.value;J!=null&&this._traverse(j,J)}}catch(X){W.e(X)}finally{W.f()}}}else{var te=l.getResolverLinkedRecordID(k,N);te!=null&&this._traverse(j,te)}}}},E._traverseResolverField=function(T,R){if(!this._useExecTimeResolvers){var C=h(T,this._variables),k=l.getLinkedRecordID(R,C);k!=null&&this._references.add(k);var F=T.fragment;return F!=null&&this._traverseSelections([F],R),k}},E._traverseModuleImport=function(T,R){var C=this._operationLoader;C===null&&d(!1);var k=y(T.documentName),F=l.getValue(R,k);if(F!=null){var z=C.get(F);if(z!=null){var Z=n(z),q=this._variables;this._variables=u(this._variables,Z.argumentDefinitions,T.args),this._traverseSelections(Z.selections,R),this._variables=q}}},E._traverseLink=function(T,R){var C=m(T,this._variables),k=l.getLinkedRecordID(R,C);k!=null&&this._traverse(T,k)},E._traversePluralLink=function(T,R){var C=this,k=m(T,this._variables),F=l.getLinkedRecordIDs(R,k);F!=null&&F.forEach(function(z){z!=null&&C._traverse(T,z)})},x})();return $R={mark:v},$R}var CR,_z;function p3e(){if(_z)return CR;_z=1;var e=Symbol.iterator;function t(n,r){for(var i=n[e](),a=i.next();!a.done;){var u=a.value;if(r.has(u))return!0;a=i.next()}return!1}return CR=t,CR}var wR,Ez;function m3e(){if(Ez)return wR;Ez=1;var e=xa(),t=e.ROOT_ID,n=lF(),r=n.VIEWER_ID,i=Symbol.iterator;function a(u,l){for(var o=u[i](),s=o.next();!s.done;){var c=s.value;if(l.has(c)&&c!==t&&c!==r)return!0;s=o.next()}return!1}return wR=a,wR}var RR,Dz;function g3e(){if(Dz)return RR;Dz=1,BS();var e=Y$(),t=Wd(),n=p3e(),r=m3e(),i=sF(),a=(function(){function u(o,s,c){this._subscriptions=new Set,this.__log=o,this._resolverCache=s,this._resolverContext=c}var l=u.prototype;return l.subscribe=function(s,c){var d=this,h={backup:null,callback:c,snapshot:s,stale:!1},m=function(){d._subscriptions.delete(h)};return this._subscriptions.add(h),{dispose:m}},l.snapshotSubscriptions=function(s){var c=this;this._subscriptions.forEach(function(d){if(!d.stale){d.backup=d.snapshot;return}var h=d.snapshot,m=i.read(s,h.selector,c._resolverCache,c._resolverContext),y=e(h.data,m.data);m.data=y,d.backup=m})},l.restoreSubscriptions=function(){this._subscriptions.forEach(function(s){var c=s.backup;s.backup=null,c?(c.data!==s.snapshot.data&&(s.stale=!0),s.snapshot={data:s.snapshot.data,isMissingData:c.isMissingData,missingClientEdges:c.missingClientEdges,missingLiveResolverFields:c.missingLiveResolverFields,seenRecords:c.seenRecords,selector:c.selector,fieldErrors:c.fieldErrors}):s.stale=!0})},l.updateSubscriptions=function(s,c,d,h){var m=this,y=c.size!==0;this._subscriptions.forEach(function(v){var _=m._updateSubscription(s,v,c,y,h);_!=null&&d.push(_)})},l._updateSubscription=function(s,c,d,h,m){var y=c.backup,v=c.callback,_=c.snapshot,x=c.stale,E=h&&n(_.seenRecords,d);if(!(!x&&!E)){var w=E||!y?i.read(s,_.selector,this._resolverCache,this._resolverContext):y,T=e(_.data,w.data);if(w={data:T,isMissingData:w.isMissingData,missingClientEdges:w.missingClientEdges,missingLiveResolverFields:w.missingLiveResolverFields,seenRecords:w.seenRecords,selector:w.selector,fieldErrors:w.fieldErrors},c.snapshot=w,c.stale=!1,w.data!==_.data)return this.__log&&t.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:"store.notify.subscription",sourceOperation:m,snapshot:_,nextSnapshot:w}),v(w),_.selector.owner;if(t.ENABLE_LOOSE_SUBSCRIPTION_ATTRIBUTION&&(x||r(_.seenRecords,d)))return _.selector.owner}},l.size=function(){return this._subscriptions.size},u})();return RR=a,RR}var AR,$z;function iJ(){if($z)return AR;$z=1;var e=$n().default,t=e(xu()),n=e(sc()),r=uF(),i=r.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,a=r.assertInternalActorIdentifier;BS();var u=i3e(),l=l3e(),o=YW(),s=c3e(),c=s.LiveResolverCache,d=s.RELAY_RESOLVER_LIVE_STATE_SUBSCRIPTION_KEY,h=s.getUpdatedDataIDs,m=cf(),y=f3e(),v=sF(),_=h3e(),x=g3e(),E=xa(),w=xa(),T=w.ROOT_ID,R=w.ROOT_TYPE,C=ln(),k=10,F=(function(){function j(V,W){var G=this,J,te,X,M,K,Y,B,ne;(0,n.default)(this,"_gcStep",function(){G._gcRun&&(G._gcRun.next().done?G._gcRun=null:G._gcScheduler(G._gcStep))}),this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=(J=W==null?void 0:W.gcReleaseBufferSize)!==null&&J!==void 0?J:k,this._shouldRetainWithinTTL_EXPERIMENTAL=(te=W==null?void 0:W.shouldRetainWithinTTL_EXPERIMENTAL)!==null&&te!==void 0?te:!1,this._gcRun=null,this._gcScheduler=(X=W==null?void 0:W.gcScheduler)!==null&&X!==void 0?X:u,this._getDataID=(M=W==null?void 0:W.getDataID)!==null&&M!==void 0?M:o,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=(K=W==null?void 0:W.log)!==null&&K!==void 0?K:null,this._queryCacheExpirationTime=W==null?void 0:W.queryCacheExpirationTime,this._operationLoader=(Y=W==null?void 0:W.operationLoader)!==null&&Y!==void 0?Y:null,this._optimisticSource=null,this._recordSource=V,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new c(function(){return G._getMutableRecordSource()},this),this._resolverContext=W==null?void 0:W.resolverContext,this._storeSubscriptions=new x(W==null?void 0:W.log,this._resolverCache,this._resolverContext),this._updatedRecordIDs=new Set,this._shouldProcessClientComponents=(B=W==null?void 0:W.shouldProcessClientComponents)!==null&&B!==void 0?B:!1,this._treatMissingFieldsAsNull=(ne=W==null?void 0:W.treatMissingFieldsAsNull)!==null&&ne!==void 0?ne:!1,this._actorIdentifier=W==null?void 0:W.actorIdentifier,z(this._recordSource)}var N=j.prototype;return N.getSource=function(){var W;return(W=this._optimisticSource)!==null&&W!==void 0?W:this._recordSource},N.getOperationLoader=function(){return this._operationLoader},N._getMutableRecordSource=function(){var W;return(W=this._optimisticSource)!==null&&W!==void 0?W:this._recordSource},N.getLiveResolverPromise=function(W){return this._resolverCache.getLiveResolverPromise(W)},N.batchLiveStateUpdates=function(W){this.__log!=null&&this.__log({name:"liveresolver.batch.start"});try{this._resolverCache.batchLiveStateUpdates(W)}finally{this.__log!=null&&this.__log({name:"liveresolver.batch.end"})}},N.check=function(W,G){var J,te,X,M,K,Y,B,ne=W.root,oe=this._getMutableRecordSource(),ae=this._globalInvalidationEpoch,de=(J=(te=W.request.node.operation.use_exec_time_resolvers)!==null&&te!==void 0?te:((X=W.request.node.operation.exec_time_resolvers_enabled_provider)===null||X===void 0?void 0:X.get())===!0)!==null&&J!==void 0?J:!1,be=this._roots.get(W.request.identifier),ye=be!=null?be.epoch:null;if(ae!=null&&(ye==null||ye<=ae))return{status:"stale"};var pe=(M=G==null?void 0:G.handlers)!==null&&M!==void 0?M:[],_e=(K=G==null?void 0:G.getSourceForActor)!==null&&K!==void 0?K:function(ge){return a(ge),oe},se=(Y=G==null?void 0:G.getTargetForActor)!==null&&Y!==void 0?Y:function(ge){return a(ge),oe},me=l.check(_e,se,(B=G==null?void 0:G.defaultActorIdentifier)!==null&&B!==void 0?B:i,ne,pe,this._operationLoader,this._getDataID,this._shouldProcessClientComponents,this.__log,de);return q(me,ye,be==null?void 0:be.fetchTime,this._queryCacheExpirationTime)},N.retain=function(W){var G=this,J=W.request.identifier,te=!1,X=function(){if(!te){te=!0;var Y=G._roots.get(J);if(Y!=null&&(Y.refCount--,Y.refCount===0)){var B=G._queryCacheExpirationTime,ne=Y.fetchTime!=null&&B!=null&&Y.fetchTime<=Date.now()-B;if(ne)G._shouldRetainWithinTTL_EXPERIMENTAL||G._roots.delete(J),G.scheduleGC();else if(G._releaseBuffer.push(J),G._releaseBuffer.length>G._gcReleaseBufferSize){var oe=G._releaseBuffer.shift();G._shouldRetainWithinTTL_EXPERIMENTAL||G._roots.delete(oe),G.scheduleGC()}}}},M=this._roots.get(J);return M!=null?(M.refCount===0&&(this._releaseBuffer=this._releaseBuffer.filter(function(K){return K!==J})),M.refCount+=1):this._roots.set(J,{operation:W,refCount:1,epoch:null,fetchTime:null}),{dispose:X}},N.lookup=function(W){var G=this.__log;G!=null&&G({name:"store.lookup.start",selector:W});var J=this.getSource(),te=v.read(J,W,this._resolverCache,this._resolverContext);return G!=null&&G({name:"store.lookup.end",selector:W}),te},N.notify=function(W,G){var J=this,te=this.__log;te!=null&&te({name:"store.notify.start",sourceOperation:W}),this._currentWriteEpoch++,G===!0&&(this._globalInvalidationEpoch=this._currentWriteEpoch),this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var X=this.getSource(),M=[];if(this._storeSubscriptions.updateSubscriptions(X,this._updatedRecordIDs,M,W),this._invalidationSubscriptions.forEach(function(ne){J._updateInvalidationSubscription(ne,G===!0)}),W!=null){var K=W.request.identifier,Y=this._roots.get(K);if(Y!=null)Y.epoch=this._currentWriteEpoch,Y.fetchTime=Date.now();else if(W.request.node.params.operationKind==="query"&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length<this._gcReleaseBufferSize){var B={operation:W,refCount:0,epoch:this._currentWriteEpoch,fetchTime:Date.now()};this._releaseBuffer.push(K),this._roots.set(K,B)}}return te!=null&&te({name:"store.notify.complete",sourceOperation:W,updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs,subscriptionsSize:this._storeSubscriptions.size(),updatedOwners:M}),this._updatedRecordIDs.clear(),this._invalidatedRecordIDs.clear(),M},N.publish=function(W,G){var J=this._getMutableRecordSource();Z(J,W,this._currentWriteEpoch+1,G,this._updatedRecordIDs,this._invalidatedRecordIDs);var te=this.__log;te!=null&&te({name:"store.publish",source:W,optimistic:J===this._optimisticSource})},N.subscribe=function(W,G){return this._storeSubscriptions.subscribe(W,G)},N.holdGC=function(){var W=this;this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._gcHoldCounter++;var G=function(){W._gcHoldCounter>0&&(W._gcHoldCounter--,W._gcHoldCounter===0&&W._shouldScheduleGC&&(W.scheduleGC(),W._shouldScheduleGC=!1))};return{dispose:G}},N.toJSON=function(){return"RelayModernStore()"},N.getEpoch=function(){return this._currentWriteEpoch},N.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},N.lookupInvalidationState=function(W){var G=this,J=new Map;return W.forEach(function(te){var X,M=G.getSource().get(te);J.set(te,(X=m.getInvalidationEpoch(M))!==null&&X!==void 0?X:null)}),J.set("global",this._globalInvalidationEpoch),{dataIDs:W,invalidations:J}},N.checkInvalidationState=function(W){var G=this.lookupInvalidationState(W.dataIDs),J=G.invalidations,te=W.invalidations;if(J.get("global")!==te.get("global"))return!0;var X=(0,t.default)(W.dataIDs),M;try{for(X.s();!(M=X.n()).done;){var K=M.value;if(J.get(K)!==te.get(K))return!0}}catch(Y){X.e(Y)}finally{X.f()}return!1},N.subscribeToInvalidationState=function(W,G){var J=this,te={callback:G,invalidationState:W},X=function(){J._invalidationSubscriptions.delete(te)};return this._invalidationSubscriptions.add(te),{dispose:X}},N._updateInvalidationSubscription=function(W,G){var J=this,te=W.callback,X=W.invalidationState,M=X.dataIDs,K=G||M.some(function(Y){return J._invalidatedRecordIDs.has(Y)});K&&te()},N.snapshot=function(){this._optimisticSource!=null&&C(!1);var W=this.__log;W!=null&&W({name:"store.snapshot"}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=y.create(this.getSource())},N.restore=function(){var W=this._optimisticSource;W||C(!1);var G=this.__log;G!=null&&G({name:"store.restore"});var J=y.getOptimisticRecordIDs(W);this._resolverCache.unsubscribeFromLiveResolverRecords(J),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions(),this._resolverCache.invalidateResolverRecords(J)},N.scheduleGC=function(){if(this._gcHoldCounter>0){this._shouldScheduleGC=!0;return}this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},N.__gc=function(){if(this._optimisticSource==null)for(var W=this._collect();!W.next().done;);},N._collect=function*(){if(!(this._shouldRetainWithinTTL_EXPERIMENTAL&&this._queryCacheExpirationTime==null)){var W=this.__log;e:for(;;){W!=null&&W({name:"store.gc.start"});var G=this._currentWriteEpoch,J=new Set,te=(0,t.default)(this._roots.entries()),X;try{for(te.s();!(X=te.n()).done;){var M,K,Y,B=X.value,ne=B[0],oe=B[1],ae=oe.operation,de=oe.refCount,be=oe.fetchTime;if(this._shouldRetainWithinTTL_EXPERIMENTAL){var ye=this._queryCacheExpirationTime;ye==null&&C(!1);var pe=be==null||be<=Date.now()-ye,_e=pe&&de===0&&!this._releaseBuffer.includes(ne);if(_e)continue}var se=ae.root,me=(M=(K=ae.request.node.operation.use_exec_time_resolvers)!==null&&K!==void 0?K:((Y=ae.request.node.operation.exec_time_resolvers_enabled_provider)===null||Y===void 0?void 0:Y.get())===!0)!==null&&M!==void 0?M:!1;if(_.mark(this._recordSource,se,J,this._operationLoader,this._shouldProcessClientComponents,me),yield,G!==this._currentWriteEpoch){W!=null&&W({name:"store.gc.interrupted"});continue e}}}catch(tt){te.e(tt)}finally{te.f()}for(var ge=this._recordSource.getRecordIDs(),we=0;we<ge.length;we++){var Ne=ge[we];if(!J.has(Ne)){var Re=this._recordSource.get(Ne);if(Re!=null){var et=m.getValue(Re,d);et!=null&&et()}this._recordSource.remove(Ne),this._shouldRetainWithinTTL_EXPERIMENTAL&&this._roots.delete(Ne)}}W!=null&&W({name:"store.gc.end",references:J});return}}},N.__getNormalizationOptions=function(W){return{path:W,getDataID:this._getDataID,log:this.__log,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents,actorIdentifier:this._actorIdentifier}},N.__notifyUpdatedSubscribers=function(W){var G=h(W),J=this._updatedRecordIDs;this._updatedRecordIDs=G,this.notify(),this._updatedRecordIDs=J},j})();function z(j){if(!j.has(T)){var N=m.create(T,R);j.set(T,N)}}function Z(j,N,V,W,G,J){W&&W.forEach(function(ne){var oe=j.get(ne),ae=N.get(ne);if(ae!==null){var de;oe!=null?de=m.clone(oe):de=ae!=null?m.clone(ae):null,de&&(m.setValue(de,E.INVALIDATED_AT_KEY,V),J.add(ne),j.set(ne,de))}});for(var te=N.getRecordIDs(),X=0;X<te.length;X++){var M=te[X],K=N.get(M),Y=j.get(M);if(K&&Y){var B=m.update(Y,K);B!==Y&&(G.add(M),j.set(M,B))}else K===null?(j.delete(M),Y!==null&&G.add(M)):K&&(j.set(M,K),G.add(M))}}function q(j,N,V,W){var G=j.mostRecentlyInvalidatedAt,J=j.status;if(typeof G=="number"&&(N==null||G>N))return{status:"stale"};if(J==="missing")return{status:"missing"};if(V!=null&&W!=null){var te=V<=Date.now()-W;if(te)return{status:"stale"}}return{status:"available",fetchTime:V??null}}return AR=F,AR}var TR,Cz;function v3e(){if(Cz)return TR;Cz=1;var e=xa(),t=e.ROOT_TYPE,n=e.getStorageKey,r=JW(),i=r.readUpdatableFragment,a=eJ(),u=a.readUpdatableQuery,l=ln(),o=(function(){function s(d,h,m,y){this.__mutator=d,this.__recordSource=h,this._readSelector=m,this._missingFieldHandlers=y}var c=s.prototype;return c.create=function(h,m){return this.__recordSource.create(h,m)},c.delete=function(h){this.__recordSource.delete(h)},c.get=function(h){return this.__recordSource.get(h)},c.getRoot=function(){return this.__recordSource.getRoot()},c.getOperationRoot=function(){var h=this.__recordSource.get(this._readSelector.dataID);return h||(h=this.__recordSource.create(this._readSelector.dataID,t)),h},c._getRootField=function(h,m,y){var v=h.node.selections.find(function(_){return _.kind==="LinkedField"&&_.name===m||_.kind==="RequiredField"&&_.field.name===m});return v&&v.kind==="RequiredField"&&(v=v.field),v&&v.kind==="LinkedField"||l(!1),v.plural!==y&&l(!1),v},c.getRootField=function(h){var m=this._getRootField(this._readSelector,h,!1),y=n(m,this._readSelector.variables);return this.getOperationRoot().getLinkedRecord(y)},c.getPluralRootField=function(h){var m=this._getRootField(this._readSelector,h,!0),y=n(m,this._readSelector.variables);return this.getOperationRoot().getLinkedRecords(y)},c.invalidateStore=function(){this.__recordSource.invalidateStore()},c.readUpdatableQuery=function(h,m){return u(h,m,this,this._missingFieldHandlers)},c.readUpdatableFragment=function(h,m){return i(h,m,this,this._missingFieldHandlers)},s})();return TR=o,TR}var kR,wz;function y3e(){if(wz)return kR;wz=1;var e,t,n=KW(),r=tJ(),i=v3e(),a=Wd(),u=sF(),l=sb(),o=ln();Bi();var s=typeof jd<"u"?jd:typeof window<"u"?window:void 0,c=(e=s==null||(t=s.ErrorUtils)===null||t===void 0?void 0:t.applyWithGuard)!==null&&e!==void 0?e:function(m,y,v,_,x){return m.apply(y,v)},d=(function(){function m(v,_,x,E,w){this._hasStoreSnapshot=!1,this._handlerProvider=_||null,this._pendingBackupRebase=!1,this._pendingData=new Set,this._pendingOptimisticUpdates=new Set,this._store=v,this._appliedOptimisticUpdates=new Set,this._gcHold=null,this._getDataID=x,this._missingFieldHandlers=E,this._log=w}var y=m.prototype;return y.applyUpdate=function(_){!this._appliedOptimisticUpdates.has(_)&&!this._pendingOptimisticUpdates.has(_)||o(!1),this._pendingOptimisticUpdates.add(_)},y.revertUpdate=function(_){this._pendingOptimisticUpdates.has(_)?this._pendingOptimisticUpdates.delete(_):this._appliedOptimisticUpdates.has(_)&&(this._pendingBackupRebase=!0,this._appliedOptimisticUpdates.delete(_))},y.revertAll=function(){this._pendingBackupRebase=!0,this._pendingOptimisticUpdates.clear(),this._appliedOptimisticUpdates.clear()},y.commitPayload=function(_,x,E){this._pendingBackupRebase=!0,this._pendingData.add({kind:"payload",operation:_,payload:x,updater:E})},y.commitUpdate=function(_){this._pendingBackupRebase=!0,this._pendingData.add({kind:"updater",updater:_})},y.commitSource=function(_){this._pendingBackupRebase=!0,this._pendingData.add({kind:"source",source:_})},y.run=function(_){var x=this._appliedOptimisticUpdates===0&&!!this._gcHold,E=!this._pendingBackupRebase&&this._pendingOptimisticUpdates.size===0&&!x;if(a.DISALLOW_NESTED_UPDATES&&this._isRunning===!0&&o(!1),this._isRunning=!0,E)return this._isRunning=!1,[];this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var w=this._commitData();return(this._pendingOptimisticUpdates.size||this._pendingBackupRebase&&this._appliedOptimisticUpdates.size)&&(this._hasStoreSnapshot||(this._store.snapshot(),this._hasStoreSnapshot=!0),this._applyUpdates()),this._pendingBackupRebase=!1,this._appliedOptimisticUpdates.size>0?this._gcHold||(this._gcHold=this._store.holdGC()):this._gcHold&&(this._gcHold.dispose(),this._gcHold=null),this._isRunning=!1,this._store.notify(_,w)},y._publishSourceFromPayload=function(_){var x=this,E=_.payload,w=_.operation,T=_.updater,R=E.source,C=E.fieldPayloads,k=new n(this._store.getSource(),R),F=new r(k,this._getDataID,this._handlerProvider,this._missingFieldHandlers,this._log);if(C&&C.length&&C.forEach(function(N){var V=x._handlerProvider&&x._handlerProvider(N.handle);V||o(!1),V.update(F,N)}),T){var z=w.fragment;z==null&&o(!1);var Z=new i(k,F,z,this._missingFieldHandlers),q=h(R,z);T(Z,q)}var j=F.getIDsMarkedForInvalidation();return this._store.publish(R,j),F.isStoreMarkedForInvalidation()},y._commitData=function(){var _=this;if(!this._pendingData.size)return!1;var x=!1;return this._pendingData.forEach(function(E){if(E.kind==="payload"){var w=_._publishSourceFromPayload(E);x=x||w}else if(E.kind==="source"){var T=E.source;_._store.publish(T)}else{var R=E.updater,C=l.create(),k=new n(_._store.getSource(),C),F=new r(k,_._getDataID,_._handlerProvider,_._missingFieldHandlers,_._log);c(R,null,[F],null,"RelayPublishQueue:commitData"),x=x||F.isStoreMarkedForInvalidation();var z=F.getIDsMarkedForInvalidation();_._store.publish(C,z)}}),this._pendingData.clear(),x},y._applyUpdates=function(){var _=this,x=l.create(),E=new n(this._store.getSource(),x),w=new r(E,this._getDataID,this._handlerProvider,this._missingFieldHandlers,this._log),T=function(C){if(C.storeUpdater){var k=C.storeUpdater;c(k,null,[w],null,"RelayPublishQueue:applyUpdates")}else{var F=C.operation,z=C.payload,Z=C.updater,q=z.source,j=z.fieldPayloads;if(q&&w.publishSource(q,j),Z){var N;q&&(N=h(q,F.fragment));var V=new i(E,w,F.fragment,_._missingFieldHandlers);c(Z,null,[V,N],null,"RelayPublishQueue:applyUpdates")}}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(T),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach(function(R){T(R),_._appliedOptimisticUpdates.add(R)}),this._pendingOptimisticUpdates.clear()),this._store.publish(x)},m})();function h(m,y){var v=u.read(m,y).data;return v}return kR=d,kR}var PR,Rz;function b3e(){if(Rz)return PR;Rz=1;var e=$n().default,t=e(Qi()),n=zW(),r=uF(),i=r.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,a=r.assertInternalActorIdentifier,u=Wv(),l=JOe(),o=XW(),s=e3e(),c=YW(),d=t3e(),h=ZW(),m=r3e(),y=iJ(),v=y3e(),_=sb();ln();var x=(function(){function T(C){var k=this,F,z,Z,q,j,N,V,W,G,J,te;this.configName=C.configName,this._treatMissingFieldsAsNull=C.treatMissingFieldsAsNull===!0;var X=C.operationLoader,M=(F=C.store)!==null&&F!==void 0?F:new y(new _,{log:C.log,operationLoader:C.operationLoader,getDataID:C.getDataID,shouldProcessClientComponents:C.shouldProcessClientComponents});this.__log=(z=C.log)!==null&&z!==void 0?z:w,this.relayFieldLogger=(Z=C.relayFieldLogger)!==null&&Z!==void 0?Z:d,this._defaultRenderPolicy=(q=C.UNSTABLE_defaultRenderPolicy)!==null&&q!==void 0?q:"partial",this._operationLoader=X,this._operationExecutions=new Map,this._network=l(this,C.network),this._getDataID=(j=C.getDataID)!==null&&j!==void 0?j:c,this._missingFieldHandlers=(N=C.missingFieldHandlers)!==null&&N!==void 0?N:[],this._publishQueue=new v(M,(V=C.handlerProvider)!==null&&V!==void 0?V:n,this._getDataID,this._missingFieldHandlers,this.__log),this._scheduler=(W=C.scheduler)!==null&&W!==void 0?W:null,this._store=M,this.options=C.options,this._isServer=(G=C.isServer)!==null&&G!==void 0?G:!1,this._normalizeResponse=(J=C.normalizeResponse)!==null&&J!==void 0?J:h,this.__setNet=function(K){return k._network=l(k,K)},this._operationTracker=(te=C.operationTracker)!==null&&te!==void 0?te:new o,this._shouldProcessClientComponents=C.shouldProcessClientComponents,s(this)}var R=T.prototype;return R.getStore=function(){return this._store},R.getNetwork=function(){return this._network},R.getOperationTracker=function(){return this._operationTracker},R.getScheduler=function(){return this._scheduler},R.isRequestActive=function(k){var F=this._operationExecutions.get(k);return F==="active"},R.UNSTABLE_getDefaultRenderPolicy=function(){return this._defaultRenderPolicy},R.applyUpdate=function(k){var F=this,z=function(){F._scheduleUpdates(function(){F._publishQueue.revertUpdate(k),F._publishQueue.run()})};return this._scheduleUpdates(function(){F._publishQueue.applyUpdate(k),F._publishQueue.run()}),{dispose:z}},R.revertUpdate=function(k){var F=this;this._scheduleUpdates(function(){F._publishQueue.revertUpdate(k),F._publishQueue.run()})},R.replaceUpdate=function(k,F){var z=this;this._scheduleUpdates(function(){z._publishQueue.revertUpdate(k),z._publishQueue.applyUpdate(F),z._publishQueue.run()})},R.applyMutation=function(k){var F=this._execute({createSource:function(){return u.create(function(Z){})},isClientPayload:!1,operation:k.operation,optimisticConfig:k,updater:null}).subscribe({});return{dispose:function(){return F.unsubscribe()}}},R.check=function(k){return this._missingFieldHandlers.length===0&&!E(k)?this._store.check(k):this._checkSelectorAndHandleMissingFields(k,this._missingFieldHandlers)},R.commitPayload=function(k,F){this._execute({createSource:function(){return u.from({data:F})},isClientPayload:!0,operation:k,optimisticConfig:null,updater:null}).subscribe({})},R.commitUpdate=function(k){var F=this;this._scheduleUpdates(function(){F._publishQueue.commitUpdate(k),F._publishQueue.run()})},R.lookup=function(k){return this._store.lookup(k)},R.subscribe=function(k,F){return this._store.subscribe(k,F)},R.retain=function(k){return this._store.retain(k)},R.isServer=function(){return this._isServer},R._checkSelectorAndHandleMissingFields=function(k,F){var z=this,Z=_.create(),q=this._store.getSource(),j=this._store.check(k,{handlers:F,defaultActorIdentifier:i,getSourceForActor:function(V){return a(V),q},getTargetForActor:function(V){return a(V),Z}});return Z.size()>0&&this._scheduleUpdates(function(){z._publishQueue.commitSource(Z),z._publishQueue.run()}),j},R._scheduleUpdates=function(k){var F=this._scheduler;F!=null?F.schedule(k):k()},R.execute=function(k){var F=this,z=k.operation;return this._execute({createSource:function(){return F.getNetwork().execute(z.request.node.params,z.request.variables,z.request.cacheConfig||{},null,void 0,void 0,void 0,function(){return F.check(z)})},isClientPayload:!1,operation:z,optimisticConfig:null,updater:null})},R.executeSubscription=function(k){var F=this,z=k.operation,Z=k.updater;return this._execute({createSource:function(){return F.getNetwork().execute(z.request.node.params,z.request.variables,z.request.cacheConfig||{},null)},isClientPayload:!1,operation:z,optimisticConfig:null,updater:Z})},R.executeMutation=function(k){var F=this,z=k.operation,Z=k.optimisticResponse,q=k.optimisticUpdater,j=k.updater,N=k.uploadables,V;return(Z||q)&&(V={operation:z,response:Z,updater:q}),this._execute({createSource:function(){return F.getNetwork().execute(z.request.node.params,z.request.variables,(0,t.default)((0,t.default)({},z.request.cacheConfig),{},{force:!0}),N)},isClientPayload:!1,operation:z,optimisticConfig:V,updater:j})},R.executeWithSource=function(k){var F=k.operation,z=k.source;return this._execute({createSource:function(){return z},isClientPayload:!1,operation:F,optimisticConfig:null,updater:null})},R.toJSON=function(){var k;return"RelayModernEnvironment(".concat((k=this.configName)!==null&&k!==void 0?k:"",")")},R._execute=function(k){var F=this,z=k.createSource,Z=k.isClientPayload,q=k.operation,j=k.optimisticConfig,N=k.updater,V=this._publishQueue,W=this._store;return u.create(function(G){var J=m.execute({actorIdentifier:i,getDataID:F._getDataID,isClientPayload:Z,log:F.__log,operation:q,operationExecutions:F._operationExecutions,operationLoader:F._operationLoader,operationTracker:F._operationTracker,optimisticConfig:j,getPublishQueue:function(X){return a(X),V},scheduler:F._scheduler,shouldProcessClientComponents:F._shouldProcessClientComponents,sink:G,source:z(),getStore:function(X){return a(X),W},treatMissingFieldsAsNull:F._treatMissingFieldsAsNull,updater:N,normalizeResponse:F._normalizeResponse});return function(){return J.cancel()}})},T})();function E(T){return T.root.node.kind==="Operation"&&T.root.node.clientAbstractTypes!=null}x.prototype["@@RelayModernEnvironment"]=!0;function w(){}return PR=x,PR}var MR,Az;function O3e(){if(Az)return MR;Az=1;var e=X$(),t=sp(),n=t.getRequest,r=Jv(),i=r.createOperationDescriptor,a=cp(),u=a.createReaderSelector;Bi();function l(o,s){var c=n(s.subscription);if(c.params.operationKind!=="subscription")throw new Error("requestSubscription: Must use Subscription operation");var d=s.configs,h=s.onCompleted,m=s.onError,y=s.onNext,v=s.variables,_=s.cacheConfig,x=i(c,v,_),E=d?e.convert(d,c,null,s.updater):s,w=E.updater,T=o.executeSubscription({operation:x,updater:w}).subscribe({next:function(C){if(y!=null){var k=x.fragment,F;if(Array.isArray(C)){var z,Z;F=(z=C[0])===null||z===void 0||(Z=z.extensions)===null||Z===void 0?void 0:Z.__relay_subscription_root_id}else{var q;F=(q=C.extensions)===null||q===void 0?void 0:q.__relay_subscription_root_id}typeof F=="string"&&(k=u(k.node,F,k.variables,k.owner));var j=o.lookup(k).data;y(j)}},error:m,complete:h});return{dispose:T.unsubscribe}}return MR=l,MR}var FR,Tz;function S3e(){if(Tz)return FR;Tz=1;var e=$n().default,t=e(Qi()),n=xa(),r=n.getModuleComponentKey,i=n.getModuleOperationKey;function a(u,l,o,s){var c=(0,t.default)({},s);return c[r(u)]=o,c[i(u)]=l,c}return FR=a,FR}var NR,kz;function x3e(){if(kz)return NR;kz=1;var e=Object.prototype.hasOwnProperty;function t(n){for(var r in n)if(e.call(n,r))return!1;return!0}return NR=t,NR}var IR,Pz;function _3e(){if(Pz)return IR;Pz=1;var e=cp(),t=e.getDataIDsFromFragment,n=e.getSelector,r=e.getVariablesFromFragment,i=x3e(),a=Wd(),u=ob(),l=u.stableCopy,o=BW(),s=o.intern;function c(d,h){var m=n(d,h),y=m==null?"null":m.kind==="SingularReaderSelector"?m.owner.identifier:"["+m.selectors.map(function(T){return T.owner.identifier}).join(",")+"]",v=r(d,h),_=t(d,h);if(a.ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION){var x=typeof _>"u"?"missing":_==null?"null":Array.isArray(_)?"["+_.join(",")+"]":_;return x=a.STRING_INTERN_LEVEL<=1?x:s(x,a.MAX_DATA_ID_LENGTH),y+"/"+d.name+"/"+(v==null||i(v)?"{}":JSON.stringify(l(v)))+"/"+x}else{var E,w=(E=JSON.stringify(_))!==null&&E!==void 0?E:"missing";return w=a.STRING_INTERN_LEVEL<=1?w:s(w,a.MAX_DATA_ID_LENGTH),y+"/"+d.name+"/"+JSON.stringify(l(v))+"/"+w}}return IR=c,IR}var LR,Mz;function aJ(){if(Mz)return LR;Mz=1;var e=ln();function t(n,r){var i,a;((i=n.metadata)===null||i===void 0?void 0:i.plural)===!0&&e(!1);var u=(a=n.metadata)===null||a===void 0?void 0:a.refetch;u==null&&e(!1);var l=u.operation.default?u.operation.default:u.operation,o=u.fragmentPathInResult;typeof l=="string"&&e(!1);var s=u.identifierInfo;return s!=null&&(s.identifierField==null||typeof s.identifierField=="string"||e(!1),s.identifierQueryVariableName==null||typeof s.identifierQueryVariableName=="string"||e(!1)),{fragmentRefPathInResponse:o,identifierInfo:s,refetchableRequest:l,refetchMetadata:u}}return LR=t,LR}var BR,Fz;function E3e(){if(Fz)return BR;Fz=1;var e=aJ(),t=ln();function n(r,i){var a,u,l=e(r,i),o=l.refetchableRequest,s=l.refetchMetadata,c=s.connection;c==null&&t(!1);var d=c.path,h=((a=(u=r.metadata)===null||u===void 0?void 0:u.connection)!==null&&a!==void 0?a:[])[0];h==null&&t(!1);var m=s.identifierInfo;return(m==null?void 0:m.identifierField)==null||typeof m.identifierField=="string"||t(!1),{connectionPathInFragmentData:d,identifierField:m==null?void 0:m.identifierField,paginationRequest:o,paginationMetadata:c,stream:h.stream===!0}}return BR=n,BR}var QR,Nz;function D3e(){if(Nz)return QR;Nz=1;var e=$n().default,t=e(sc()),n=e(Qi()),r=ln();Bi();function i(a,u,l,o,s,c){var d,h=c.backward,m=c.forward;if(a==="backward"){var y;h!=null&&h.count!=null&&h.cursor!=null||r(!1);var v=(0,n.default)((0,n.default)((0,n.default)({},o),s),{},(y={},(0,t.default)(y,h.cursor,l),(0,t.default)(y,h.count,u),y));return m&&m.cursor&&(v[m.cursor]=null),m&&m.count&&(v[m.count]=null),v}m!=null&&m.count!=null&&m.cursor!=null||r(!1);var _=(0,n.default)((0,n.default)((0,n.default)({},o),s),{},(d={},(0,t.default)(d,m.cursor,l),(0,t.default)(d,m.count,u),d));return h&&h.cursor&&(_[h.cursor]=null),h&&h.count&&(_[h.count]=null),_}return QR=i,QR}var zR,Iz;function $3e(){if(Iz)return zR;Iz=1;var e=$n().default,t=e(xu()),n=ln();function r(i,a){var u=i,l=(0,t.default)(a),o;try{for(l.s();!(o=l.n()).done;){var s=o.value;if(u==null)return null;typeof s=="number"?(Array.isArray(u)||n(!1),u=u[s]):(typeof u=="object"&&!Array.isArray(u)||n(!1),u=u[s])}}catch(c){l.e(c)}finally{l.f()}return u}return zR=r,zR}var qR,Lz;function C3e(){if(Lz)return qR;Lz=1;var e={},t={stop:function(){}},n={profile:function(a,u){var l=e[a];if(l&&l.length>0){for(var o=[],s=l.length-1;s>=0;s--){var c=l[s](a,u);o.unshift(c)}return{stop:function(h){o.forEach(function(m){return m(h)})}}}return t},attachProfileHandler:function(a,u){e.hasOwnProperty(a)||(e[a]=[]),e[a].push(u)},detachProfileHandler:function(a,u){e.hasOwnProperty(a)&&r(e[a],u)}};function r(i,a){var u=i.indexOf(a);u!==-1&&i.splice(u,1)}return qR=n,qR}var VR,Bz;function w3e(){if(Bz)return VR;Bz=1;var e=FOe(),t=e.isErrorResult,n=e.isValueResult,r=H$(),i=iF(),a=QW(),u=zW(),l=NOe(),o=IOe(),s=BOe(),c=X$(),d=zOe(),h=Wv(),m=qOe(),y=VOe(),v=UOe(),_=Z$(),x=sp(),E=jOe(),w=A0(),T=w.generateClientID,R=w.generateUniqueClientID,C=w.isClientID,k=HOe(),F=XOe(),z=YOe(),Z=aF(),q=G$(),j=q.isSuspenseSentinel,N=q.suspenseSentinel,V=ZW(),W=WOe(),G=Kv(),J=b3e(),te=Jv(),X=cf(),M=cp(),K=iJ(),Y=XW(),B=sb(),ne=xa(),oe=nF(),ae=lF(),de=O3e(),be=S3e(),ye=BS(),pe=_3e(),_e=E3e(),se=D3e(),me=VW(),ge=aJ(),we=tF(),Ne=LW(),Re=$3e(),et=LS(),tt=et.handlePotentialSnapshotErrors,Oe=NW(),$e=UW(),Ae=Y$(),Ue=Yv(),Ze=MW(),Ye=GW(),Me=Wd(),ze=C3e(),st=IW(),Ot=ob(),Nt=Ot.hasCycle,gt=Ot.stableCopy,qt=qW();return VR={Environment:J,Network:d,Observable:h,QueryResponseCache:m,RecordSource:B,Record:X,ReplaySubject:st,Store:K,areEqualSelectors:M.areEqualSelectors,createFragmentSpecResolver:k,createNormalizationSelector:M.createNormalizationSelector,createOperationDescriptor:te.createOperationDescriptor,createReaderSelector:M.createReaderSelector,createRequestDescriptor:te.createRequestDescriptor,getArgumentValues:ne.getArgumentValues,getDataIDsFromFragment:M.getDataIDsFromFragment,getDataIDsFromObject:M.getDataIDsFromObject,getNode:x.getNode,getFragment:x.getFragment,getInlineDataFragment:x.getInlineDataFragment,getModuleComponentKey:ne.getModuleComponentKey,getModuleOperationKey:ne.getModuleOperationKey,getPaginationFragment:x.getPaginationFragment,getPluralSelector:M.getPluralSelector,getRefetchableFragment:x.getRefetchableFragment,getRequest:x.getRequest,getRequestIdentifier:Ne,getSelector:M.getSelector,getSelectorsFromObject:M.getSelectorsFromObject,getSingularSelector:M.getSingularSelector,getStorageKey:ne.getStorageKey,getVariablesFromFragment:M.getVariablesFromFragment,getVariablesFromObject:M.getVariablesFromObject,getVariablesFromPluralFragment:M.getVariablesFromPluralFragment,getVariablesFromSingularFragment:M.getVariablesFromSingularFragment,handlePotentialSnapshotErrors:tt,graphql:x.graphql,isErrorResult:t,isValueResult:n,isFragment:x.isFragment,isInlineDataFragment:x.isInlineDataFragment,isSuspenseSentinel:j,suspenseSentinel:N,isRequest:x.isRequest,readInlineData:W,readFragment:oe.readFragment,MutationTypes:c.MutationTypes,RangeOperations:c.RangeOperations,DefaultHandlerProvider:u,ConnectionHandler:r,MutationHandlers:a,VIEWER_ID:ae.VIEWER_ID,VIEWER_TYPE:ae.VIEWER_TYPE,applyOptimisticMutation:l,commitLocalUpdate:o,commitMutation:s,fetchQuery:y,fetchQuery_DEPRECATED:v,isRelayModernEnvironment:Z,requestSubscription:de,ConnectionInterface:i,PreloadableQueryRegistry:E,RelayProfiler:ze,createPayloadFor3DField:be,RelayConcreteNode:Ue,RelayError:Ye,RelayFeatureFlags:Me,DEFAULT_HANDLE_KEY:Ze.DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:ne.FRAGMENTS_KEY,FRAGMENT_OWNER_KEY:ne.FRAGMENT_OWNER_KEY,ID_KEY:ne.ID_KEY,REF_KEY:ne.REF_KEY,REFS_KEY:ne.REFS_KEY,ROOT_ID:ne.ROOT_ID,ROOT_TYPE:ne.ROOT_TYPE,TYPENAME_KEY:ne.TYPENAME_KEY,deepFreeze:ye,generateClientID:T,generateUniqueClientID:R,getRelayHandleKey:we,isClientID:C,isPromise:Oe,isScalarAndEqual:$e,recycleNodesInto:Ae,stableCopy:gt,hasCycle:Nt,getFragmentIdentifier:pe,getRefetchMetadata:ge,getPaginationMetadata:_e,getPaginationVariables:se,getPendingOperationsForFragment:me,getValueAtPath:Re,__internal:{ResolverFragments:oe,OperationTracker:Y,createRelayContext:F,createRelayLoggingContext:z,getOperationVariables:G.getOperationVariables,getLocalVariables:G.getLocalVariables,fetchQuery:_.fetchQuery,fetchQueryDeduped:_.fetchQueryDeduped,getPromiseForActiveRequest:_.getPromiseForActiveRequest,getObservableForActiveRequest:_.getObservableForActiveRequest,normalizeResponse:V,withProvidedVariables:qt}},VR}var UR,Qz;function Jr(){return Qz||(Qz=1,UR=w3e()),UR}var jR,zz;function ey(){if(zz)return jR;zz=1;var e=tr(),t=Jr(),n=t.__internal.createRelayContext;return jR=n(e),jR}var ZR={exports:{}},qz;function J$(){return qz||(qz=1,(function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var a in i)({}).hasOwnProperty.call(i,a)&&(n[a]=i[a])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(ZR)),ZR.exports}var HR={exports:{}},Vz;function eC(){return Vz||(Vz=1,(function(e){function t(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(HR)),HR.exports}var XR={exports:{}},YR={exports:{}},Uz;function R3e(){return Uz||(Uz=1,(function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,a){return i.__proto__=a,i},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(YR)),YR.exports}var jz;function tC(){return jz||(jz=1,(function(e){var t=R3e();function n(r,i){r.prototype=Object.create(i.prototype),r.prototype.constructor=r,t(r,i)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(XR)),XR.exports}var GR,Zz;function A3e(){if(Zz)return GR;Zz=1;var e=ln();function t(n,r){r&&typeof r=="object"||e(!1);for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];a&&(typeof a=="object"||typeof a=="function")||e(!1)}}return GR=t,GR}var KR,Hz;function nC(){if(Hz)return KR;Hz=1;function e(n){return n.displayName||n.name||"Component"}function t(n){return"Relay("+e(n)+")"}return KR={getComponentName:e,getContainerName:t},KR}var WR,Xz;function cF(){if(Xz)return WR;Xz=1;var e=tr();return WR=e.createContext({rootIsQueryRenderer:!1}),WR}var JR,Yz;function fF(){if(Yz)return JR;Yz=1;var e=$n().default,t=e(J$()),n=A3e(),r=nC(),i=r.getComponentName,a=r.getContainerName,u=ey(),l=cF(),o=ln(),s=tr(),c=Jr(),d=c.getFragment,h=s.useContext;function m(y,v,_){var x=a(y);n(i(y),v);var E={};for(var w in v)E[w]=d(v[w]);var T=_(y,E);T.displayName=x;function R(k,F){var z,Z=h(u);Z==null&&o(!1);var q=h(l);return s.createElement(T,(0,t.default)({},k,{__relayContext:Z,__rootIsQueryRenderer:(z=q==null?void 0:q.rootIsQueryRenderer)!==null&&z!==void 0?z:!1,componentRef:k.componentRef||F}))}R.displayName=x;var C=s.forwardRef(R);return C}return JR=m,JR}var eA,Gz;function T3e(){if(Gz)return eA;Gz=1;function e(t){return typeof t=="object"&&t!==null&&typeof t.check=="function"&&typeof t.lookup=="function"&&typeof t.retain=="function"&&typeof t.execute=="function"&&typeof t.subscribe=="function"}return eA=e,eA}var tA,Kz;function dF(){if(Kz)return tA;Kz=1;var e=T3e(),t=ln();function n(i){return r(i)||t(!1),i}function r(i){return typeof i=="object"&&i!==null&&!Array.isArray(i)&&e(i.environment)}return tA={assertRelayContext:n,isRelayContext:r},tA}var nA,Wz;function k3e(){if(Wz)return nA;Wz=1;var e=$n().default,t=e(J$()),n=e(A3()),r=e(eC()),i=e(tC()),a=e(sc()),u=["componentRef","__relayContext","__rootIsQueryRenderer"],l=fF(),o=nC(),s=o.getContainerName,c=dF(),d=c.assertRelayContext,h=Kf(),m=tr(),y=Jr(),v=y.createFragmentSpecResolver,_=y.getDataIDsFromObject,x=y.isScalarAndEqual;function E(R,C){var k,F=s(R);return k=(function(z){(0,i.default)(Z,z);function Z(j){var N,V;V=z.call(this,j)||this,(0,a.default)((0,r.default)(V),"_handleFragmentDataUpdate",function(){var te=V.state.resolver;V.setState(function(X){return te===X.resolver?{data:X.resolver.resolve(),relayProp:w(X.relayProp.environment)}:null})});var W=d(j.__relayContext),G=(N=j.__rootIsQueryRenderer)!==null&&N!==void 0?N:!1,J=v(W,F,C,j,G);return V.state={data:J.resolve(),prevProps:j,prevPropsContext:W,relayProp:w(W.environment),resolver:J},V}Z.getDerivedStateFromProps=function(N,V){var W,G=V.prevProps,J=d(N.__relayContext),te=(W=N.__rootIsQueryRenderer)!==null&&W!==void 0?W:!1,X=_(C,G),M=_(C,N),K=V.resolver;if(V.prevPropsContext.environment!==J.environment||!h(X,M))return K=v(J,F,C,N,te),{data:K.resolve(),prevPropsContext:J,prevProps:N,relayProp:w(J.environment),resolver:K};K.setProps(N);var Y=K.resolve();return Y!==V.data?{data:Y,prevProps:N,prevPropsContext:J,relayProp:w(J.environment)}:null};var q=Z.prototype;return q.componentDidMount=function(){this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},q.componentDidUpdate=function(N,V){this.state.resolver!==V.resolver?(V.resolver.dispose(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},q.componentWillUnmount=function(){this.state.resolver.dispose()},q.shouldComponentUpdate=function(N,V){if(V.data!==this.state.data)return!0;for(var W=Object.keys(N),G=0;G<W.length;G++){var J=W[G];if(J==="__relayContext"){if(V.prevPropsContext.environment!==this.state.prevPropsContext.environment)return!0}else if(!C.hasOwnProperty(J)&&!x(N[J],this.props[J]))return!0}return!1},q._rerenderIfStoreHasChanged=function(){var N=this.state,V=N.data,W=N.resolver,G=W.resolve();V!==G&&this.setState({data:G})},q._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var N=this.state,V=N.data,W=N.resolver,G=W.resolve();W.setCallback(this.props,this._handleFragmentDataUpdate),V!==G&&this.setState({data:G})},q.render=function(){var N=this.props,V=N.componentRef;N.__relayContext,N.__rootIsQueryRenderer;var W=(0,n.default)(N,u);return m.createElement(R,(0,t.default)({},W,this.state.data,{ref:V,relay:this.state.relayProp}))},Z})(m.Component),(0,a.default)(k,"displayName",F),k}function w(R){return{environment:R}}function T(R,C){return l(R,C,E)}return nA={createContainer:T},nA}var rA,Jz;function P3e(){if(Jz)return rA;Jz=1;var e=ey(),t=cF(),n=Kf(),r=tr(),i=Jr(),a=i.createOperationDescriptor;i.deepFreeze;var u=i.getRequest,l=r.useLayoutEffect,o=r.useState,s=r.useRef,c=r.useMemo,d={rootIsQueryRenderer:!0};function h(y){var v=r.useRef(y);return n(v.current,y)||(v.current=y),v.current}function m(y){var v=y.environment,_=y.query,x=y.variables,E=y.render,w=h(x),T=c(function(){var q=u(_);return a(q,w)},[_,w]),R=c(function(){return{environment:v}},[v]),C=s(null),k=o(null),F=k[1],z=s(null),Z=c(function(){v.check(T);var q=v.lookup(T.fragment);C.current=q.data;var j=v.retain(T),N=v.subscribe(q,function(G){C.current=G.data,F(C.current)}),V=!1;function W(){V||(V=!0,z.current=null,j.dispose(),N.dispose())}return z.current&&z.current(),z.current=W,q},[v,T]);return l(function(){var q=z.current;return function(){q&&q()}},[Z]),r.createElement(e.Provider,{value:R},r.createElement(t.Provider,{value:d},E({props:C.current})))}return rA=m,rA}var iA,eq;function uJ(){if(eq)return iA;eq=1;var e=$n().default,t=e(Qi()),n=Jr(),r=n.getSelector;function i(a,u){var l={};return Object.keys(a).forEach(function(o){var s,c,d,h=a[o],m=u[o],y=r(h,m),v=y!=null&&y.kind==="PluralReaderSelector"?(s=(c=y.selectors[0])===null||c===void 0?void 0:c.owner.variables)!==null&&s!==void 0?s:{}:(d=y==null?void 0:y.owner.variables)!==null&&d!==void 0?d:{};l=(0,t.default)((0,t.default)({},l),v)}),l}return iA=i,iA}var aA,tq;function hF(){if(tq)return aA;tq=1;var e=$n().default,t=e(sc()),n=ln(),r=Jr(),i=r.__internal.fetchQuery,a=r.createOperationDescriptor,u=r.isRelayModernEnvironment,l=(function(){function o(c){(0,t.default)(this,"_selectionReferences",[]),(0,t.default)(this,"_didFetchFinish",!1),c!=null&&(this._cacheSelectionReference=c.cacheSelectionReference,this._selectionReferences=c.selectionReferences)}var s=o.prototype;return s.getSelectionReferences=function(){return{cacheSelectionReference:this._cacheSelectionReference,selectionReferences:this._selectionReferences}},s.lookupInStore=function(d,h,m){return(m==="store-and-network"||m==="store-or-network")&&d.check(h).status==="available"?(this._retainCachedOperation(d,h),d.lookup(h.fragment)):null},s.getFetchResult=function(){if(this._didFetchFinish){if(this._error!=null)return{error:this._error};if(this._snapshot!=null)return{snapshot:this._snapshot}}else return null},s.execute=function(d){var h=this,m=d.environment,y=d.operation,v=d.preservePreviousReferences,_=v===void 0?!1:v,x=m.retain(y),E=function(){h._selectionReferences=h._selectionReferences.concat(x)},w=function(){_||h.disposeSelectionReferences(),h._selectionReferences=h._selectionReferences.concat(x)},T=function(){h._selectionReferences=h._selectionReferences.concat(x)};return u(m)?i(m,y).do({error:E,complete:w,unsubscribe:T}):m.execute({operation:y}).do({error:E,complete:w,unsubscribe:T})},s.setOnDataChange=function(d){this._fetchOptions||n(!1),typeof d=="function"&&(this._fetchOptions.onDataChangeCallbacks=this._fetchOptions.onDataChangeCallbacks||[],this._fetchOptions.onDataChangeCallbacks.push(d),this._didFetchFinish&&(this._error!=null?d({error:this._error}):this._snapshot!=null&&d({snapshot:this._snapshot})))},s.fetch=function(d,h){var m=this,y=d.environment,v=d.operation,_=d.onDataChange,x=!1,E;this.disposeRequest();var w=this._fetchOptions&&this._fetchOptions.onDataChangeCallbacks;this._fetchOptions={environment:y,onDataChangeCallbacks:w||[],operation:v},_&&this._fetchOptions.onDataChangeCallbacks.indexOf(_)===-1&&this._fetchOptions.onDataChangeCallbacks.push(_);var T=h?a(v.request.node,v.request.variables,h):v,R=this.execute({environment:y,operation:T}).finally(function(){m._pendingRequest=null}).subscribe({next:function(){m._didFetchFinish=!0,m._error=null,m._onQueryDataAvailable({notifyFirstResult:x})},error:function(k){m._didFetchFinish=!0,m._error=k,m._snapshot=null;var F=m._fetchOptions&&m._fetchOptions.onDataChangeCallbacks;x?F&&F.forEach(function(z){z({error:k})}):E=k}});if(this._pendingRequest={dispose:function(){R.unsubscribe()}},x=!0,E)throw E;return this._snapshot},s.retry=function(d){return this._fetchOptions||n(!1),this.fetch({environment:this._fetchOptions.environment,operation:this._fetchOptions.operation,onDataChange:null},d)},s.dispose=function(){this.disposeRequest(),this.disposeSelectionReferences()},s.disposeRequest=function(){this._error=null,this._snapshot=null,this._pendingRequest&&this._pendingRequest.dispose(),this._rootSubscription&&(this._rootSubscription.dispose(),this._rootSubscription=null)},s._retainCachedOperation=function(d,h){this._disposeCacheSelectionReference(),this._cacheSelectionReference=d.retain(h)},s._disposeCacheSelectionReference=function(){this._cacheSelectionReference&&this._cacheSelectionReference.dispose(),this._cacheSelectionReference=null},s.disposeSelectionReferences=function(){this._disposeCacheSelectionReference(),this._selectionReferences.forEach(function(d){return d.dispose()}),this._selectionReferences=[]},s._onQueryDataAvailable=function(d){var h=this,m=d.notifyFirstResult;this._fetchOptions||n(!1);var y=this._fetchOptions,v=y.environment,_=y.onDataChangeCallbacks,x=y.operation;if(!this._snapshot&&(this._snapshot=v.lookup(x.fragment),this._rootSubscription=v.subscribe(this._snapshot,function(w){if(h._fetchOptions!=null){var T=h._fetchOptions.onDataChangeCallbacks;Array.isArray(T)&&T.forEach(function(R){return R({snapshot:w})})}}),this._snapshot&&m&&Array.isArray(_))){var E=this._snapshot;_.forEach(function(w){return w({snapshot:E})})}},o})();return aA=l,aA}var uA,nq;function M3e(){if(nq)return uA;nq=1;var e=$n().default,t=e(J$()),n=e(A3()),r=e(eC()),i=e(tC()),a=e(sc()),u=e(Qi()),l=["componentRef"],o=["componentRef","__relayContext","__rootIsQueryRenderer"],s=["componentRef","__relayContext","__rootIsQueryRenderer"],c=fF(),d=uJ(),h=nC(),m=h.getComponentName,y=h.getContainerName,v=ey(),_=hF(),x=dF(),E=x.assertRelayContext,w=Kf(),T=ln(),R=tr(),C=Jr(),k=C.ConnectionInterface,F=C.Observable,z=C.RelayFeatureFlags,Z=C.createFragmentSpecResolver,q=C.createOperationDescriptor,j=C.getDataIDsFromObject,N=C.getRequest,V=C.getVariablesFromObject,W=C.isScalarAndEqual;Bi();var G="forward";function J(B){var ne=B.path;return ne||T(!1),function(oe){for(var ae=oe[B.fragmentName],de=0;de<ne.length;de++){if(!ae||typeof ae!="object")return null;ae=ae[ne[de]]}return ae}}function te(B){var ne=B.count;return ne||T(!1),function(oe,ae){return(0,u.default)((0,u.default)({},oe),{},(0,a.default)({},ne,ae))}}function X(B){var ne=null,oe=!1;for(var ae in B){var de=B[ae],be=de.metadata&&de.metadata.connection;de.metadata!==void 0&&(oe=!0),be&&(be.length!==1&&T(!1),ne&&T(!1),ne=(0,u.default)((0,u.default)({},be[0]),{},{fragmentName:ae}))}return!oe||ne!==null||T(!1),ne||{}}function M(B){return typeof B=="function"?{error:B,complete:B,unsubscribe:function(oe){typeof B=="function"&&B()}}:B||{}}function K(B,ne,oe){var ae;m(B);var de=y(B),be=X(ne),ye=oe.getConnectionFromProps||J(be),pe=oe.direction||be.direction;pe||T(!1);var _e=oe.getFragmentVariables||te(be);return ae=(function(se){(0,i.default)(me,se);function me(we){var Ne,Re;Re=se.call(this,we)||this,(0,a.default)((0,r.default)(Re),"_handleFragmentDataUpdate",function(){Re.setState({data:Re._resolver.resolve()})}),(0,a.default)((0,r.default)(Re),"_hasMore",function(){var Oe=Re._getConnectionData();return!!(Oe&&Oe.hasMore&&Oe.cursor)}),(0,a.default)((0,r.default)(Re),"_isLoading",function(){return!!Re._refetchSubscription}),(0,a.default)((0,r.default)(Re),"_refetchConnection",function(Oe,$e,Ae){if(!Re._canFetchPage("refetchConnection"))return{dispose:function(){}};Re._refetchVariables=Ae;var Ue={count:Oe,cursor:null,totalCount:Oe},Ze=Re._fetchPage(Ue,M($e),{force:!0});return{dispose:Ze.unsubscribe}}),(0,a.default)((0,r.default)(Re),"_loadMore",function(Oe,$e,Ae){if(!Re._canFetchPage("loadMore"))return{dispose:function(){}};var Ue=M($e),Ze=Re._getConnectionData();if(!Ze)return F.create(function(Nt){return Nt.complete()}).subscribe(Ue),null;var Ye=Ze.edgeCount+Oe;if(Ae&&Ae.force)return Re._refetchConnection(Ye,$e);var Me=k.get();Me.END_CURSOR,Me.START_CURSOR;var ze=Ze.cursor,st={count:Oe,cursor:ze,totalCount:Ye},Ot=Re._fetchPage(st,Ue,Ae);return{dispose:Ot.unsubscribe}});var et=E(we.__relayContext),tt=(Ne=we.__rootIsQueryRenderer)!==null&&Ne!==void 0?Ne:!1;return Re._isARequestInFlight=!1,Re._refetchSubscription=null,Re._refetchVariables=null,z.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0?Re._resolver=Z(et,de,ne,we,tt):Re._resolver=Z(et,de,ne,we,tt,Re._handleFragmentDataUpdate),Re.state={data:Re._resolver.resolve(),prevContext:et,contextForChildren:et,relayProp:Re._buildRelayProp(et),resolverGeneration:0},Re._isUnmounted=!1,Re._hasFetched=!1,Re}var ge=me.prototype;return ge.componentDidMount=function(){this._isUnmounted=!1,z.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0&&this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},ge.componentDidUpdate=function(Ne,Re){z.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0&&(Re.resolverGeneration!==this.state.resolverGeneration?this._subscribeToNewResolverAndRerenderIfStoreHasChanged():this._rerenderIfStoreHasChanged())},ge.UNSAFE_componentWillReceiveProps=function(Ne){var Re=this,et,tt=E(Ne.__relayContext),Oe=(et=Ne.__rootIsQueryRenderer)!==null&&et!==void 0?et:!1,$e=j(ne,this.props),Ae=j(ne,Ne),Ue=d(ne,this.props),Ze=d(ne,Ne);tt.environment!==this.state.prevContext.environment||!w(Ue,Ze)||!w($e,Ae)?(this._cleanup(),z.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0?this._resolver=Z(tt,de,ne,Ne,Oe):this._resolver=Z(tt,de,ne,Ne,Oe,this._handleFragmentDataUpdate),this.setState(function(Me){return{prevContext:tt,contextForChildren:tt,relayProp:Re._buildRelayProp(tt),resolverGeneration:Me.resolverGeneration+1}})):this._hasFetched||this._resolver.setProps(Ne);var Ye=this._resolver.resolve();Ye!==this.state.data&&this.setState({data:Ye})},ge.componentWillUnmount=function(){this._isUnmounted=!0,this._cleanup()},ge.shouldComponentUpdate=function(Ne,Re){if(Re.data!==this.state.data||Re.relayProp!==this.state.relayProp||Re.resolverGeneration!==this.state.resolverGeneration)return!0;for(var et=Object.keys(Ne),tt=0;tt<et.length;tt++){var Oe=et[tt];if(Oe==="__relayContext"){if(Re.prevContext.environment!==this.state.prevContext.environment)return!0}else if(!ne.hasOwnProperty(Oe)&&!W(Ne[Oe],this.props[Oe]))return!0}return!1},ge._buildRelayProp=function(Ne){return{hasMore:this._hasMore,isLoading:this._isLoading,loadMore:this._loadMore,refetchConnection:this._refetchConnection,environment:Ne.environment}},ge._rerenderIfStoreHasChanged=function(){var Ne=this.state.data,Re=this._resolver.resolve();Ne!==Re&&this.setState({data:Re})},ge._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var Ne=this.state.data,Re=this._resolver.resolve();this._resolver.setCallback(this.props,this._handleFragmentDataUpdate),Ne!==Re&&this.setState({data:Re})},ge._getConnectionData=function(){var Ne=this.props;Ne.componentRef;var Re=(0,n.default)(Ne,l),et=(0,u.default)((0,u.default)({},Re),this.state.data),tt=ye(et);if(tt==null)return null;var Oe=k.get(),$e=Oe.EDGES,Ae=Oe.PAGE_INFO,Ue=Oe.HAS_NEXT_PAGE,Ze=Oe.HAS_PREV_PAGE,Ye=Oe.END_CURSOR,Me=Oe.START_CURSOR;typeof tt!="object"&&T(!1);var ze=tt[$e],st=tt[Ae];if(ze==null||st==null)return null;Array.isArray(ze)||T(!1),typeof st!="object"&&T(!1);var Ot=pe===G?st[Ue]:st[Ze],Nt=pe===G?st[Ye]:st[Me];return typeof Ot!="boolean"||ze.length!==0&&typeof Nt>"u"?null:{cursor:Nt,edgeCount:ze.length,hasMore:Ot}},ge._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new _),this._queryFetcher},ge._canFetchPage=function(Ne){return!this._isUnmounted},ge._fetchPage=function(Ne,Re,et){var tt=this,Oe=E(this.props.__relayContext),$e=Oe.environment,Ae=this.props;Ae.componentRef,Ae.__relayContext,Ae.__rootIsQueryRenderer;var Ue=(0,n.default)(Ae,o),Ze=(0,u.default)((0,u.default)({},Ue),this.state.data),Ye,Me=d(ne,Ue);Ye=V(ne,Ue),Ye=(0,u.default)((0,u.default)((0,u.default)({},Me),Ye),this._refetchVariables);var ze=oe.getVariables(Ze,{count:Ne.count,cursor:Ne.cursor},Ye);typeof ze=="object"&&ze!==null||T(!1),ze=(0,u.default)((0,u.default)({},ze),this._refetchVariables),Ye=(0,u.default)((0,u.default)({},ze),Ye);var st=et?{force:!!et.force}:void 0;st!=null&&(et==null?void 0:et.metadata)!=null&&(st.metadata=et==null?void 0:et.metadata);var Ot=N(oe.query),Nt=q(Ot,ze,st),gt=null;this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._hasFetched=!0;var qt=function(nn,Fe){var ht=tt._resolver.resolve();tt._resolver.setVariables(_e(Ye,Ne.totalCount),Nt.request.node);var Tt=tt._resolver.resolve();w(ht,Tt)?Fe():tt.setState({data:Tt,contextForChildren:{environment:tt.props.__relayContext.environment}},Fe)},zt=function(){tt._refetchSubscription===gt&&(tt._refetchSubscription=null,tt._isARequestInFlight=!1)};return this._isARequestInFlight=!0,gt=this._getQueryFetcher().execute({environment:$e,operation:Nt,preservePreviousReferences:!0}).mergeMap(function(rn){return F.create(function(nn){qt(rn,function(){nn.next(),nn.complete()})})}).do({error:zt,complete:zt,unsubscribe:zt}).subscribe(Re||{}),this._refetchSubscription=this._isARequestInFlight?gt:null,gt},ge._cleanup=function(){this._resolver.dispose(),this._refetchVariables=null,this._hasFetched=!1,this._refetchSubscription&&(this._refetchSubscription.unsubscribe(),this._refetchSubscription=null,this._isARequestInFlight=!1),this._queryFetcher&&this._queryFetcher.dispose()},ge.render=function(){var Ne=this.props,Re=Ne.componentRef;Ne.__relayContext,Ne.__rootIsQueryRenderer;var et=(0,n.default)(Ne,s);return R.createElement(v.Provider,{value:this.state.contextForChildren},R.createElement(B,(0,t.default)({},et,this.state.data,{ref:Re,relay:this.state.relayProp})))},me})(R.Component),(0,a.default)(ae,"displayName",de),ae}function Y(B,ne,oe){return c(B,ne,function(ae,de){return K(ae,de,oe)})}return uA={createContainer:Y},uA}var lA,rq;function F3e(){if(rq)return lA;rq=1;var e=$n().default,t=e(Qi()),n=e(eC()),r=e(tC()),i=e(sc()),a=ey(),u=hF(),l=cF(),o=Kf(),s=tr(),c=Jr(),d=c.createOperationDescriptor;c.deepFreeze;var h=c.getRequest,m={},y={rootIsQueryRenderer:!0},v=(function(C){(0,r.default)(k,C);function k(z){var Z;Z=C.call(this,z)||this,(0,i.default)((0,n.default)(Z),"_handleDataChange",function(G){var J=G.error==null?null:G.error,te=G.snapshot==null?null:G.snapshot;Z.setState(function(X){var M=X.requestCacheKey;return M&&delete m[M],te===X.snapshot&&J===X.error?null:{renderProps:E(J,te,X.queryFetcher,X.retryCallbacks),snapshot:te,requestCacheKey:null}})});var q={handleDataChange:null,handleRetryAfterError:null},j,N;if(z.query){var V=z.query,W=h(V);N=w(W.params,z.variables),j=m[N]?m[N].queryFetcher:new u}else j=new u;return Z._maybeHiddenOrFastRefresh=!1,Z.state=(0,t.default)({prevPropsEnvironment:z.environment,prevPropsVariables:z.variables,prevQuery:z.query,queryFetcher:j,retryCallbacks:q},R(z,j,q,N)),Z}k.getDerivedStateFromProps=function(Z,q){return q.prevQuery!==Z.query||q.prevPropsEnvironment!==Z.environment||!o(q.prevPropsVariables,Z.variables)?T(Z,q):null};var F=k.prototype;return F.componentDidMount=function(){var Z=this;if(this._maybeHiddenOrFastRefresh===!0){this._maybeHiddenOrFastRefresh=!1,this.setState(function(W){var G=T(Z.props,W),J=G.requestCacheKey,te=G.queryFetcher;return J!=null&&m[J]!=null&&te.setOnDataChange(Z._handleDataChange),G});return}var q=this.state,j=q.retryCallbacks,N=q.queryFetcher,V=q.requestCacheKey;V&&delete m[V],j.handleDataChange=this._handleDataChange,j.handleRetryAfterError=function(W){return Z.setState(function(G){var J=G.requestCacheKey;return J&&delete m[J],{renderProps:_(),requestCacheKey:null}})},this.props.query&&N.setOnDataChange(this._handleDataChange)},F.componentDidUpdate=function(Z,q){var j=this.state,N=j.queryFetcher,V=j.requestCacheKey;V&&(delete m[V],delete this.state.requestCacheKey),this.props.query&&N!==q.queryFetcher&&N.setOnDataChange(this._handleDataChange)},F.componentWillUnmount=function(){this.state.queryFetcher.dispose(),this._maybeHiddenOrFastRefresh=!0},F.shouldComponentUpdate=function(Z,q){return Z.render!==this.props.render||q.renderProps!==this.state.renderProps},F.render=function(){var Z=this.state,q=Z.renderProps,j=Z.relayContext;return s.createElement(a.Provider,{value:j},s.createElement(l.Provider,{value:y},this.props.render(q)))},k})(s.Component);function _(){return{error:null,props:null,retry:null}}function x(){return{error:null,props:{},retry:null}}function E(C,k,F,z){return{error:C||null,props:k?k.data:null,retry:function(q){var j=F.retry(q);j&&typeof z.handleDataChange=="function"?z.handleDataChange({snapshot:j}):C&&typeof z.handleRetryAfterError=="function"&&z.handleRetryAfterError(C)}}}function w(C,k){return JSON.stringify({id:C.cacheID?C.cacheID:C.id,variables:k})}function T(C,k){var F=C.query,z=k.queryFetcher.getSelectionReferences();k.queryFetcher.disposeRequest();var Z;if(F){var q=h(F),j=w(q.params,C.variables);Z=m[j]?m[j].queryFetcher:new u(z)}else Z=new u(z);return(0,t.default)({prevQuery:C.query,prevPropsEnvironment:C.environment,prevPropsVariables:C.variables,queryFetcher:Z},R(C,Z,k.retryCallbacks))}function R(C,k,F,z){var Z=C.environment,q=C.query,j=C.variables,N=C.cacheConfig,V=Z;if(q){var W=h(q),G=d(W,j,N),J={environment:V};if(typeof z=="string"&&m[z]){var te=m[z].snapshot;return te?{error:null,relayContext:J,renderProps:E(null,te,k,F),snapshot:te,requestCacheKey:z}:{error:null,relayContext:J,renderProps:_(),snapshot:null,requestCacheKey:z}}try{var X=k.lookupInStore(V,G,C.fetchPolicy),M=k.fetch({environment:V,onDataChange:null,operation:G}),K=M||X;return z=z||w(W.params,C.variables),m[z]={queryFetcher:k,snapshot:K},K?{error:null,relayContext:J,renderProps:E(null,K,k,F),snapshot:K,requestCacheKey:z}:{error:null,relayContext:J,renderProps:_(),snapshot:null,requestCacheKey:z}}catch(B){return{error:B,relayContext:J,renderProps:E(B,null,k,F),snapshot:null,requestCacheKey:z}}}else{k.dispose();var Y={environment:V};return{error:null,relayContext:Y,renderProps:x(),requestCacheKey:null}}}return lA=v,lA}var oA,iq;function N3e(){if(iq)return oA;iq=1;var e=$n().default,t=e(J$()),n=e(A3()),r=e(Qi()),i=e(eC()),a=e(tC()),u=e(sc()),l=["componentRef","__relayContext","__rootIsQueryRenderer"],o=fF(),s=uJ(),c=nC(),d=c.getContainerName,h=ey(),m=hF(),y=dF(),v=y.assertRelayContext,_=Kf(),x=tr(),E=Jr(),w=E.Observable,T=E.createFragmentSpecResolver,R=E.createOperationDescriptor,C=E.getDataIDsFromObject,k=E.getRequest,F=E.getVariablesFromObject,z=E.isScalarAndEqual;Bi();function Z(N,V,W){var G,J=d(N);return G=(function(te){(0,a.default)(X,te);function X(K){var Y,B;B=te.call(this,K)||this,(0,u.default)((0,i.default)(B),"_handleFragmentDataUpdate",function(){var de=B.state.resolver;B.setState(function(be){return de===be.resolver?{data:be.resolver.resolve()}:null})}),(0,u.default)((0,i.default)(B),"_refetch",function(de,be,ye,pe){if(B._isUnmounted)return{dispose:function(){}};var _e=v(B.props.__relayContext),se=_e.environment,me=s(V,B.props),ge=typeof de=="function"?de(B._getFragmentVariables()):de;ge=(0,r.default)((0,r.default)({},me),ge);var we=be?(0,r.default)((0,r.default)({},ge),be):ge,Ne=pe?{force:!!pe.force}:void 0;Ne!=null&&(pe==null?void 0:pe.metadata)!=null&&(Ne.metadata=pe==null?void 0:pe.metadata);var Re=typeof ye=="function"?{next:ye,error:ye}:ye||{},et=k(W),tt=R(et,ge,Ne);B.state.localVariables=ge,B._refetchSubscription&&B._refetchSubscription.unsubscribe();var Oe,$e=B._getQueryFetcher().lookupInStore(se,tt,pe==null?void 0:pe.fetchPolicy);return $e!=null?(B.state.resolver.setVariables(we,tt.request.node),B.setState(function(Ae){return{data:Ae.resolver.resolve(),contextForChildren:{environment:B.props.__relayContext.environment}}},function(){Re.next&&Re.next(),Re.complete&&Re.complete()}),{dispose:function(){}}):(B._getQueryFetcher().execute({environment:se,operation:tt,preservePreviousReferences:!0}).mergeMap(function(Ae){return B.state.resolver.setVariables(we,tt.request.node),w.create(function(Ue){return B.setState(function(Ze){return{data:Ze.resolver.resolve(),contextForChildren:{environment:B.props.__relayContext.environment}}},function(){Ue.next(),Ue.complete()})})}).finally(function(){B._refetchSubscription===Oe&&(B._refetchSubscription=null)}).subscribe((0,r.default)((0,r.default)({},Re),{},{start:function(Ue){B._refetchSubscription=Oe=Ue,Re.start&&Re.start(Ue)}})),{dispose:function(){Oe&&Oe.unsubscribe()}})});var ne=v(K.__relayContext),oe=(Y=K.__rootIsQueryRenderer)!==null&&Y!==void 0?Y:!1;B._refetchSubscription=null;var ae=T(ne,J,V,K,oe);return B.state={data:ae.resolve(),localVariables:null,prevProps:K,prevPropsContext:ne,contextForChildren:ne,relayProp:q(ne.environment,B._refetch),resolver:ae},B._isUnmounted=!1,B}var M=X.prototype;return M.componentDidMount=function(){this._isUnmounted=!1,this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},M.componentDidUpdate=function(Y,B){this.state.resolver!==B.resolver?(B.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},X.getDerivedStateFromProps=function(Y,B){var ne,oe=B.prevProps,ae=v(Y.__relayContext),de=(ne=Y.__rootIsQueryRenderer)!==null&&ne!==void 0?ne:!1,be=C(V,oe),ye=C(V,Y),pe=s(V,oe),_e=s(V,Y),se=B.resolver;if(B.prevPropsContext.environment!==ae.environment||!_(pe,_e)||!_(be,ye))return se=T(ae,J,V,Y,de),{data:se.resolve(),localVariables:null,prevProps:Y,prevPropsContext:ae,contextForChildren:ae,relayProp:q(ae.environment,B.relayProp.refetch),resolver:se};B.localVariables||se.setProps(Y);var me=se.resolve();return me!==B.data?{data:me,prevProps:Y}:null},M.componentWillUnmount=function(){this._isUnmounted=!0,this.state.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe()},M.shouldComponentUpdate=function(Y,B){if(B.data!==this.state.data||B.relayProp!==this.state.relayProp)return!0;for(var ne=Object.keys(Y),oe=0;oe<ne.length;oe++){var ae=ne[oe];if(ae==="__relayContext"){if(this.state.prevPropsContext.environment!==B.prevPropsContext.environment)return!0}else if(!V.hasOwnProperty(ae)&&!z(Y[ae],this.props[ae]))return!0}return!1},M._rerenderIfStoreHasChanged=function(){var Y=this.state,B=Y.data,ne=Y.resolver,oe=ne.resolve();B!==oe&&this.setState({data:oe})},M._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var Y=this.state,B=Y.data,ne=Y.resolver,oe=ne.resolve();ne.setCallback(this.props,this._handleFragmentDataUpdate),B!==oe&&this.setState({data:oe})},M._getFragmentVariables=function(){return F(V,this.props)},M._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new m),this._queryFetcher},M.render=function(){var Y=this.props,B=Y.componentRef;Y.__relayContext,Y.__rootIsQueryRenderer;var ne=(0,n.default)(Y,l),oe=this.state,ae=oe.relayProp,de=oe.contextForChildren;return x.createElement(h.Provider,{value:de},x.createElement(N,(0,t.default)({},ne,this.state.data,{ref:B,relay:ae})))},X})(x.Component),(0,u.default)(G,"displayName",J),G}function q(N,V){return{environment:N,refetch:V}}function j(N,V,W){return o(N,V,function(G,J){return Z(G,J,W)})}return oA={createContainer:j},oA}var sA,aq;function rC(){if(aq)return sA;aq=1;var e=tr(),t=e.createContext({wrapPrepareQueryResource:function(r){return r()}});return sA=t,sA}var cA,uq;function to(){if(uq)return cA;uq=1;var e=ey(),t=ln(),n=tr(),r=n.useContext;function i(){var a=r(e);return a==null&&t(!1),a.environment}return cA=i,cA}var fA,lq;function I3e(){if(lq)return fA;lq=1;var e=rC(),t=to(),n=tr(),r=tr(),i=r.useContext,a=r.useEffect;Bi();function u(l){var o=l.entryPointReference,s=l.props,c=o.getComponent,d=o.queries,h=o.entryPoints,m=o.extraProps,y=o.rootModuleID,v=c(),_=i(e),x=t();return a(function(){x.__log({name:"entrypoint.root.consume",profilerContext:_,rootModuleID:y})},[x,_,y]),n.createElement(v,{entryPoints:h,extraProps:m,props:s,queries:d})}return fA=u,fA}var dA,oq;function iC(){if(oq)return dA;oq=1;var e=$n().default,t=e(Qi()),n=ln(),r=Jr(),i=r.__internal.fetchQueryDeduped,a=r.Observable,u=r.PreloadableQueryRegistry,l=r.ReplaySubject,o=r.createOperationDescriptor,s=r.getRequest,c=r.getRequestIdentifier,d=100001;function h(m,y,v,_,x){var E;d++;var w=(E=_==null?void 0:_.fetchPolicy)!==null&&E!==void 0?E:"store-or-network",T=(0,t.default)((0,t.default)({},_==null?void 0:_.networkCacheConfig),{},{force:!0}),R,C=!1,k=function(me,ge){return C=!0,m.executeWithSource({operation:me,source:ge})},F=new l,z=a.create(function(se){return F.subscribe(se)}),Z,q=null,j=!1,N=function(me,ge){j=!0;var we=new l,Ne="raw-network-request-"+c(me,v),Re=i(m,Ne,function(){var Oe=m.getNetwork();return Oe.execute(me,v,T,void 0,void 0,void 0,void 0,ge)}),et=Re.subscribe({error:function($e){q=$e,we.error($e)},next:function($e){we.next($e)},complete:function(){we.complete()}}),tt=et.unsubscribe;return Z=tt,a.create(function(Oe){var $e=we.subscribe(Oe);return function(){$e.unsubscribe(),Z()}})},V,W=function(me,ge){j=!0;var we=i(m,me.request.identifier,ge).subscribe({error:function(Re){F.error(Re)},next:function(Re){F.next(Re)},complete:function(){F.complete()}});V=we.unsubscribe},G=function(me){var ge=o(me,v,T);if(R=m.retain(ge),w!=="store-only"){var we=w!=="store-or-network"||m.check(ge).status!=="available";we&&W(ge,function(){var Ne=N(me.params,function(){return m.check(ge)}),Re=k(ge,Ne);return Re})}},J,te,X;if(y.kind==="PreloadableConcreteRequest"){var M=y;J=M.params;var K=J;X=K.id,X===null&&n(!1);var Y=u.get(X);if(Y!=null)G(Y);else{var B=w==="store-only"?null:N(J),ne=u.onLoad(X,function(se){te();var me=o(se,v,T);R=m.retain(me),B!=null&&W(me,function(){return k(me,B)})});te=ne.dispose}}else{var oe=y,ae=s(oe);J=ae.params,X=J.cacheID!=null?J.cacheID:J.id,G(ae)}var de=!1,be=!1,ye=!1,pe=function(){be||(R&&R.dispose(),be=!0)},_e=function(){ye||(C?V&&V():Z&&Z(),te&&te(),ye=!0)};return{kind:"PreloadedQuery",environment:m,environmentProviderOptions:x,dispose:function(){de||(pe(),_e(),de=!0)},releaseQuery:pe,cancelNetworkRequest:_e,fetchKey:d,id:X,get isDisposed(){return de||be},get networkError(){return q},name:J.name,networkCacheConfig:T,fetchPolicy:w,source:j?z:void 0,variables:v}}return dA={loadQuery:h},dA}var hA,sq;function lJ(){if(sq)return hA;sq=1;var e=iC(),t=e.loadQuery;function n(r,i,a){var u=null;i.root.getModuleIfRequired()==null&&(u=i.root.load());var l=i.getPreloadProps(a),o=l.queries,s=l.entryPoints,c=l.extraProps,d={},h={};if(o!=null){var m=Object.keys(o);m.forEach(function(_){var x=o[_];if(x!=null){var E=x.environmentProviderOptions,w=x.options,T=x.parameters,R=x.variables;if((w==null?void 0:w.includeIf)!==!1){var C=r.getEnvironment(E);d[_]=t(C,T,R,{fetchPolicy:w==null?void 0:w.fetchPolicy,networkCacheConfig:w==null?void 0:w.networkCacheConfig,__nameForWarning:"loadEntryPoint"},E)}}})}if(s!=null){var y=Object.keys(s);y.forEach(function(_){var x=s[_];if(x!=null){var E=x.entryPoint,w=x.entryPointParams;h[_]=n(r,E,w)}})}var v=!1;return{dispose:function(){v||(d!=null&&Object.values(d).forEach(function(x){var E=x.dispose;E()}),h!=null&&Object.values(h).forEach(function(x){var E=x.dispose;E()}),v=!0)},entryPoints:h,extraProps:c??null,getComponent:function(){var x=i.root.getModuleIfRequired();if(x==null){var E;throw u=(E=u)!==null&&E!==void 0?E:i.root.load(),u}var w=x.default!=null?x.default:x;return w},get isDisposed(){return v},queries:d,rootModuleID:i.root.getModuleId()}}return hA=n,hA}var pA,cq;function L3e(){if(cq)return pA;cq=1;var e=ey(),t=tr(),n=t.useMemo;function r(i){var a=i.children,u=i.environment,l=i.getEnvironmentForActor,o=n(function(){return{environment:u,getEnvironmentForActor:l}},[u,l]);return t.createElement(e.Provider,{value:o},a)}return pA=r,pA}var mA,fq;function B3e(){if(fq)return mA;fq=1;var e=ln(),t=(function(){function r(a){this._capacity=a,this._capacity>0||e(!1),this._map=new Map}var i=r.prototype;return i.set=function(u,l){if(this._map.delete(u),this._map.set(u,l),this._map.size>this._capacity){var o=this._map.keys().next();o.done||this._map.delete(o.value)}},i.get=function(u){var l=this._map.get(u);return l!=null&&(this._map.delete(u),this._map.set(u,l)),l},i.has=function(u){return this._map.has(u)},i.delete=function(u){this._map.delete(u)},i.size=function(){return this._map.size},i.capacity=function(){return this._capacity-this._map.size},i.clear=function(){this._map.clear()},r})();function n(r){return new t(r)}return mA={create:n},mA}var gA,dq;function Q3e(){if(dq)return gA;dq=1;var e=$n().default,t=e(sc());Bi();var n=300*1e3,r=(function(){function i(u){var l=this;(0,t.default)(this,"_retainCount",0),(0,t.default)(this,"_retainDisposable",null),(0,t.default)(this,"_releaseTemporaryRetain",null),this._retain=function(o){return l._retainCount++,l._retainCount===1&&(l._retainDisposable=u(o)),{dispose:function(){l._retainCount=Math.max(0,l._retainCount-1),l._retainCount===0&&l._retainDisposable!=null&&(l._retainDisposable.dispose(),l._retainDisposable=null)}}}}var a=i.prototype;return a.temporaryRetain=function(l){var o=this,s;if(l.isServer())return{dispose:function(){}};var c=this._retain(l),d=null,h=function(){clearTimeout(d),d=null,o._releaseTemporaryRetain=null,c.dispose()};return d=setTimeout(h,n),(s=this._releaseTemporaryRetain)===null||s===void 0||s.call(this),this._releaseTemporaryRetain=h,{dispose:function(){var y;(y=o._releaseTemporaryRetain)===null||y===void 0||y.call(o)}}},a.permanentRetain=function(l){var o=this._retain(l);return this.releaseTemporaryRetain(),o},a.releaseTemporaryRetain=function(){var l;(l=this._releaseTemporaryRetain)===null||l===void 0||l.call(this),this._releaseTemporaryRetain=null},a.getRetainCount=function(){return this._retainCount},i})();return gA=r,gA}var vA,hq;function QS(){if(hq)return vA;hq=1;var e=$n().default,t=e(Qi()),n=e(sc()),r=B3e(),i=Q3e(),a=ln(),u=Jr(),l=u.isPromise;Bi();var o=1e3,s="store-or-network",c="store-and-network",d=typeof WeakMap=="function";function h(R){return R.request.node.params.metadata.live!==void 0}function m(R,C,k,F,z){var Z=k??(h(C)?c:s),q=F??R.UNSTABLE_getDefaultRenderPolicy(),j="".concat(Z,"-").concat(q,"-").concat(C.request.identifier);return z!=null?"".concat(j,"-").concat(z):j}function y(R,C){var k={__id:R.fragment.dataID,__fragments:(0,n.default)({},R.fragment.node.name,R.request.variables),__fragmentOwner:R.request};return{cacheIdentifier:C,fragmentNode:R.request.node.fragment,fragmentRef:k,operation:R}}var v=2e5;function _(R,C,k,F,z,Z){var q=h(C),j=F,N=z,V=new i(function(G){var J=G.retain(C);return{dispose:function(){q&&N!=null&&N.unsubscribe(),J.dispose(),Z(W)}}}),W={cacheIdentifier:R,id:v++,processedPayloadsCount:0,operationAvailability:k,getValue:function(){return j},setValue:function(J){j=J},setNetworkSubscription:function(J){q&&N!=null&&N.unsubscribe(),N=J},temporaryRetain:function(J){return V.temporaryRetain(J)},permanentRetain:function(J){return V.permanentRetain(J)},releaseTemporaryRetain:function(){V.releaseTemporaryRetain()}};return W}var x=(function(){function R(k){var F=this;(0,n.default)(this,"_clearCacheEntry",function(z){F._cache.delete(z.cacheIdentifier)}),this._environment=k,this._cache=r.create(o)}var C=R.prototype;return C.prepare=function(F,z,Z,q,j,N,V){var W=m(this._environment,F,Z,q,N);return this.prepareWithIdentifier(W,F,z,Z,q,j,V)},C.prepareWithIdentifier=function(F,z,Z,q,j,N,V){var W=this._environment,G=q??(h(z)?c:s),J=j??W.UNSTABLE_getDefaultRenderPolicy(),te=this._cache.get(F),X=null,M=te!=null;te==null&&(te=this._fetchAndSaveQuery(F,z,Z,G,J,V,(0,t.default)((0,t.default)({},N),{},{unsubscribe:function(B){X!=null&&X.dispose();var ne=N==null?void 0:N.unsubscribe;ne&&ne(B)}}))),X=te.temporaryRetain(W);var K=te.getValue();if(l(K))throw W.__log({name:"suspense.query",fetchPolicy:G,isPromiseCached:M,operation:z,queryAvailability:te.operationAvailability,renderPolicy:J}),K;if(K instanceof Error)throw K;return K},C.retain=function(F,z){var Z=this._environment,q=F.cacheIdentifier,j=F.operation,N=this._getOrCreateCacheEntry(q,j,null,F,null),V=N.permanentRetain(Z);return Z.__log({name:"queryresource.retain",profilerContext:z,resourceID:N.id}),{dispose:function(){V.dispose()}}},C.releaseTemporaryRetain=function(F){var z=this._cache.get(F.cacheIdentifier);z!=null&&z.releaseTemporaryRetain()},C.TESTS_ONLY__getCacheEntry=function(F,z,Z,q){var j=this._environment,N=m(j,F,z,Z,q);return this._cache.get(N)},C._getOrCreateCacheEntry=function(F,z,Z,q,j){var N=this._cache.get(F);return N==null&&(N=_(F,z,Z,q,j,this._clearCacheEntry),this._cache.set(F,N)),N},C._fetchAndSaveQuery=function(F,z,Z,q,j,N,V){var W=this,G=this._environment,J=G.check(z),te=J.status,X=te==="available",M=X||j==="partial"&&te!=="stale",K,Y,B=function(){};switch(q){case"store-only":{K=!1,Y=!0;break}case"store-or-network":{K=!X,Y=M;break}case"store-and-network":{K=!0,Y=M;break}case"network-only":default:{K=!0,Y=!1;break}}if(Y){var ne=y(z,F),oe=_(F,z,J,ne,null,this._clearCacheEntry);this._cache.set(F,oe)}if(K){var ae=y(z,F),de;Z.subscribe({start:function(me){de=me;var ge=W._cache.get(F);ge&&ge.setNetworkSubscription(de);var we=V==null?void 0:V.start;if(we){var Ne=(0,t.default)((0,t.default)({},me),{},{unsubscribe:function(){h(z)&&me.unsubscribe()}});we(Ne)}},next:function(){var me=W._getOrCreateCacheEntry(F,z,J,ae,de);me.processedPayloadsCount+=1,me.setValue(ae),B();var ge=V==null?void 0:V.next;if(ge!=null){var we=G.lookup(z.fragment);ge(we)}},error:function(me){var ge=W._getOrCreateCacheEntry(F,z,J,me,de);ge.processedPayloadsCount===0&&ge.setValue(me),B(),de=null,ge.setNetworkSubscription(null);var we=V==null?void 0:V.error;we&&we(me)},complete:function(){B(),de=null;var me=W._cache.get(F);me&&me.setNetworkSubscription(null);var ge=V==null?void 0:V.complete;ge&&ge()},unsubscribe:V==null?void 0:V.unsubscribe});var be=this._cache.get(F);if(!be){var ye=new Promise(function(se){B=se});ye.displayName="Relay("+z.fragment.node.name+")",be=_(F,z,J,ye,de,this._clearCacheEntry),this._cache.set(F,be)}}else{var pe=V==null?void 0:V.complete;pe&&pe()}var _e=this._cache.get(F);return _e==null&&a(!1),G.__log({name:"queryresource.fetch",resourceID:_e.id,operation:z,profilerContext:N,fetchPolicy:q,renderPolicy:j,queryAvailability:J,shouldFetch:K}),_e},R})();function E(R){return new x(R)}var w=d?new WeakMap:new Map;function T(R){var C=w.get(R);if(C)return C;var k=E(R);return w.set(R,k),k}return vA={createQueryResource:E,getQueryResourceForEnvironment:T,getQueryCacheIdentifier:m},vA}var yA,pq;function oJ(){if(pq)return yA;pq=1;var e=tr(),t=e.useMemo;function n(r){return t(function(){return{current:r}},[])}return yA=n,yA}var bA,mq;function sJ(){if(mq)return bA;mq=1;var e=oJ(),t=tr(),n=t.useCallback,r=t.useEffect;function i(){var a=e(null),u=e(!1),l=n(function(){a.current!=null&&(a.current.unsubscribe(),a.current=null),u.current=!1},[]),o=n(function(c){a.current=c,u.current=!0},[]),s=n(function(){a.current=null,u.current=!1},[]);return r(function(){return l},[l]),{isFetchingRef:u,startFetch:o,disposeFetch:l,completeFetch:s}}return bA=i,bA}var OA,gq;function z3e(){if(gq)return OA;gq=1;var e=tr(),t=Jr(),n=t.__internal.createRelayLoggingContext;return OA=n(e),OA}var SA,vq;function cJ(){if(vq)return SA;vq=1;var e=z3e(),t=tr(),n=t.useContext;function r(){return n(e)}return SA=r,SA}var xA,yq;function q3e(){if(yq)return xA;yq=1;var e=$n().default,t=e(Qi()),n=e(xu()),r=e(Gv()),i=QS(),a=i.getQueryResourceForEnvironment,u=to(),l=cJ(),o=ln(),s=tr();s.useDebugValue;var c=s.useEffect,d=s.useMemo,h=s.useRef,m=s.useState,y=Jr(),v=y.__internal,_=v.fetchQuery,x=v.getPromiseForActiveRequest,E=y.RelayFeatureFlags,w=y.areEqualSelectors,T=y.createOperationDescriptor,R=y.getPendingOperationsForFragment,C=y.getSelector,k=y.getVariablesFromFragment,F=y.handlePotentialSnapshotErrors,z=y.recycleNodesInto;Bi();function Z(X){return X.kind==="bailout"?!1:X.kind==="singular"?X.snapshot.isMissingData:X.snapshots.some(function(M){return M.isMissingData})}function q(X){if(X.kind==="bailout")return null;if(X.kind==="singular"){var M;return(M=X.snapshot.missingClientEdges)!==null&&M!==void 0?M:null}else{var K=null,Y=(0,n.default)(X.snapshots),B;try{for(Y.s();!(B=Y.n()).done;){var ne=B.value;if(ne.missingClientEdges){var oe;K=(oe=K)!==null&&oe!==void 0?oe:[];var ae=(0,n.default)(ne.missingClientEdges),de;try{for(ae.s();!(de=ae.n()).done;){var be=de.value;K.push(be)}}catch(ye){ae.e(ye)}finally{ae.f()}}}}catch(ye){Y.e(ye)}finally{Y.f()}return K}}function j(X){if(X.kind==="bailout")return null;if(X.kind==="singular"){var M;return(M=X.snapshot.missingLiveResolverFields)!==null&&M!==void 0?M:null}else{var K=null,Y=(0,n.default)(X.snapshots),B;try{for(Y.s();!(B=Y.n()).done;){var ne=B.value;if(ne.missingLiveResolverFields){var oe;K=(oe=K)!==null&&oe!==void 0?oe:[];var ae=(0,n.default)(ne.missingLiveResolverFields),de;try{for(ae.s();!(de=ae.n()).done;){var be=de.value;K.push(be)}}catch(ye){ae.e(ye)}finally{ae.f()}}}}catch(ye){Y.e(ye)}finally{Y.f()}return K}}function N(X,M,K){if(M.kind==="singular")F(X,M.snapshot.fieldErrors,K);else if(M.kind==="plural"){var Y=(0,n.default)(M.snapshots),B;try{for(Y.s();!(B=Y.n()).done;){var ne=B.value;F(X,ne.fieldErrors,K)}}catch(oe){Y.e(oe)}finally{Y.f()}}}function V(X,M){if(M.kind==="bailout")return null;var K=X.getStore().getEpoch();if(K===M.epoch)return null;if(M.kind==="singular"){var Y=X.lookup(M.snapshot.selector),B=z(M.snapshot.data,Y.data),ne={data:B,isMissingData:Y.isMissingData,missingClientEdges:Y.missingClientEdges,missingLiveResolverFields:Y.missingLiveResolverFields,seenRecords:Y.seenRecords,selector:Y.selector,fieldErrors:Y.fieldErrors};return[B!==M.snapshot.data,{kind:"singular",snapshot:ne,epoch:K}]}else{for(var oe=!1,ae=[],de=0;de<M.snapshots.length;de++){var be=M.snapshots[de],ye=X.lookup(be.selector),pe=z(be.data,ye.data),_e={data:pe,isMissingData:ye.isMissingData,missingClientEdges:ye.missingClientEdges,missingLiveResolverFields:ye.missingLiveResolverFields,seenRecords:ye.seenRecords,selector:ye.selector,fieldErrors:ye.fieldErrors};pe!==be.data&&(oe=!0),ae.push(_e)}return ae.length!==M.snapshots.length&&o(!1),[oe,{kind:"plural",snapshots:ae,epoch:K}]}}function W(X,M,K,Y,B){var ne=k(M,K),oe=(0,t.default)((0,t.default)({},ne),{},{id:Y.clientEdgeDestinationID}),ae=T(Y.request,oe,B==null?void 0:B.networkCacheConfig),de=a(X),be=de.prepare(ae,_(X,ae),B==null?void 0:B.fetchPolicy);return[be,x(X,ae.request)]}function G(X,M,K,Y){if(M.kind==="bailout")return function(){};if(M.kind==="singular"){var B=X.subscribe(M.snapshot,function(oe){K(function(ae){if(ae.kind!=="singular"||ae.snapshot.selector!==oe.selector){var de=V(X,ae);if(de!=null){var be=de[0],ye=de[1];return X.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:be}),Y.current=be,be?ye:ae}else return ae}return Y.current=!0,{kind:"singular",snapshot:oe,epoch:X.getStore().getEpoch()}})});return function(){B.dispose()}}else{var ne=M.snapshots.map(function(oe,ae){return X.subscribe(oe,function(de){K(function(be){var ye;if(be.kind!=="plural"||((ye=be.snapshots[ae])===null||ye===void 0?void 0:ye.selector)!==de.selector){var pe=V(X,be);if(pe!=null){var _e=pe[0],se=pe[1];return X.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:_e}),Y.current=Y.current||_e,_e?se:be}else return be}var me=(0,r.default)(be.snapshots);return me[ae]=de,Y.current=!0,{kind:"plural",snapshots:me,epoch:X.getStore().getEpoch()}})})});return function(){var oe=(0,n.default)(ne),ae;try{for(oe.s();!(ae=oe.n()).done;){var de=ae.value;de.dispose()}}catch(be){oe.e(be)}finally{oe.f()}}}}function J(X,M){return M==null?{kind:"bailout"}:M.kind==="PluralReaderSelector"?{kind:"plural",snapshots:M.selectors.map(function(K){return X.lookup(K)}),epoch:X.getStore().getEpoch()}:{kind:"singular",snapshot:X.lookup(M),epoch:X.getStore().getEpoch()}}function te(X,M,K,Y){var B,ne,oe=d(function(){return C(X,M)},[X,M]),ae=(X==null||(B=X.metadata)===null||B===void 0?void 0:B.plural)===!0;ae?M==null||Array.isArray(M)||o(!1):Array.isArray(M)&&o(!1),M==null||ae&&Array.isArray(M)&&M.length===0||oe!=null||o(!1);var de=u(),be;E.ENABLE_UI_CONTEXT_ON_RELAY_LOGGER&&(be=l());var ye=m(function(){return J(de,oe)}),pe=ye[0],_e=ye[1],se=pe,me=m(se),ge=me[0],we=me[1],Ne=ge,Re=m(oe),et=Re[0],tt=Re[1],Oe=m(de),$e=Oe[0],Ae=Oe[1];if(!w(oe,et)||de!==$e){tt(oe),Ae(de);var Ue=J(de,oe);_e(Ue),we(Ue),se=Ue,Ne=Ue}var Ze=h(!1);if(c(function(){Ze.current=oe},[oe]),((ne=X.metadata)===null||ne===void 0?void 0:ne.hasClientEdges)===!0||E.CHECK_ALL_FRAGMENTS_FOR_MISSING_CLIENT_EDGES){var Ye=d(function(){var ht=q(se),Tt,Qt=[];if(ht!=null&&ht.length){Tt=[];var an=(0,n.default)(ht),In;try{for(an.s();!(In=an.n()).done;){var un=In.value,jn=W(de,X,M,un,Y),sr=jn[0],ar=jn[1];Tt.push(sr),ar!=null&&Qt.push(ar)}}catch(Dr){an.e(Dr)}finally{an.f()}}return[Tt,Qt]},[se,de,X,M,Y]),Me=Ye[0],ze=Ye[1];if(ze.length)throw Promise.all(ze);c(function(){var ht=a(de);if(Me!=null&&Me.length){var Tt=[],Qt=(0,n.default)(Me),an;try{for(Qt.s();!(an=Qt.n()).done;){var In=an.value;Tt.push(ht.retain(In))}}catch(un){Qt.e(un)}finally{Qt.f()}return function(){for(var un=0,jn=Tt;un<jn.length;un++){var sr=jn[un];sr.dispose()}}}},[de,Me])}if(Z(se)){var st=j(se);if(st!=null&&st.length>0)throw Promise.all(st.map(function(ht){return de.getStore().getLiveResolverPromise(ht)}));if(E.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE||de!==$e||!Ze.current||!w(Ze.current,oe)){oe==null&&o(!1);var Ot=oe.kind==="PluralReaderSelector"?oe.selectors[0].owner:oe.owner,Nt=R(de,X,Ot);if(Nt)throw Nt.promise}}N(de,se,be);var gt=h(!1);if(c(function(){var ht=Ne,Tt=V(de,Ne);if(Tt!==null){var Qt=Tt[0],an=Tt[1];Qt&&_e(an),ht=an}return G(de,ht,_e,gt)},[de,Ne]),gt.current){var qt=V(de,se);if(qt!=null){var zt=qt[0],rn=qt[1];zt&&(_e(rn),se=rn)}gt.current=!1}var nn;if(ae){var Fe=M==null;nn=d(function(){return se.kind==="bailout"?Fe?null:[]:(se.kind!=="plural"&&o(!1),se.snapshots.map(function(ht){return ht.data}))},[se,Fe])}else se.kind==="bailout"?nn=null:(se.kind!=="singular"&&o(!1),nn=se.snapshot.data);return E.LOG_MISSING_RECORDS_IN_PROD&&M!=null&&(nn===void 0||Array.isArray(nn)&&nn.length>0&&nn.every(function(ht){return ht===void 0})),nn}return xA=te,xA}var _A,bq;function V3e(){if(bq)return _A;bq=1;var e=$n().default,t=e(Qi()),n=e(xu()),r=e(Gv()),i=QS(),a=i.getQueryResourceForEnvironment,u=to(),l=cJ(),o=ln(),s=tr();s.useDebugValue;var c=s.useEffect,d=s.useMemo,h=s.useRef,m=s.useState,y=Jr(),v=y.__internal,_=v.fetchQuery,x=v.getPromiseForActiveRequest,E=y.RelayFeatureFlags,w=y.areEqualSelectors,T=y.createOperationDescriptor,R=y.getPendingOperationsForFragment,C=y.getSelector,k=y.getVariablesFromFragment,F=y.handlePotentialSnapshotErrors,z=y.recycleNodesInto;Bi();function Z(X){return X.kind==="bailout"?!1:X.kind==="singular"?X.snapshot.isMissingData:X.snapshots.some(function(M){return M.isMissingData})}function q(X){if(X.kind==="bailout")return null;if(X.kind==="singular"){var M;return(M=X.snapshot.missingClientEdges)!==null&&M!==void 0?M:null}else{var K=null,Y=(0,n.default)(X.snapshots),B;try{for(Y.s();!(B=Y.n()).done;){var ne=B.value;if(ne.missingClientEdges){var oe;K=(oe=K)!==null&&oe!==void 0?oe:[];var ae=(0,n.default)(ne.missingClientEdges),de;try{for(ae.s();!(de=ae.n()).done;){var be=de.value;K.push(be)}}catch(ye){ae.e(ye)}finally{ae.f()}}}}catch(ye){Y.e(ye)}finally{Y.f()}return K}}function j(X){if(X.kind==="bailout")return null;if(X.kind==="singular"){var M;return(M=X.snapshot.missingLiveResolverFields)!==null&&M!==void 0?M:null}else{var K=null,Y=(0,n.default)(X.snapshots),B;try{for(Y.s();!(B=Y.n()).done;){var ne=B.value;if(ne.missingLiveResolverFields){var oe;K=(oe=K)!==null&&oe!==void 0?oe:[];var ae=(0,n.default)(ne.missingLiveResolverFields),de;try{for(ae.s();!(de=ae.n()).done;){var be=de.value;K.push(be)}}catch(ye){ae.e(ye)}finally{ae.f()}}}}catch(ye){Y.e(ye)}finally{Y.f()}return K}}function N(X,M,K){if(M.kind==="singular")F(X,M.snapshot.fieldErrors,K);else if(M.kind==="plural"){var Y=(0,n.default)(M.snapshots),B;try{for(Y.s();!(B=Y.n()).done;){var ne=B.value;F(X,ne.fieldErrors,K)}}catch(oe){Y.e(oe)}finally{Y.f()}}}function V(X,M){if(M.kind==="bailout")return null;var K=X.getStore().getEpoch();if(K===M.epoch)return null;if(M.kind==="singular"){var Y=X.lookup(M.snapshot.selector),B=z(M.snapshot.data,Y.data),ne={data:B,isMissingData:Y.isMissingData,missingClientEdges:Y.missingClientEdges,missingLiveResolverFields:Y.missingLiveResolverFields,seenRecords:Y.seenRecords,selector:Y.selector,fieldErrors:Y.fieldErrors};return[B!==M.snapshot.data,{kind:"singular",snapshot:ne,epoch:K,selector:M.selector,environment:M.environment}]}else{for(var oe=!1,ae=[],de=0;de<M.snapshots.length;de++){var be=M.snapshots[de],ye=X.lookup(be.selector),pe=z(be.data,ye.data),_e={data:pe,isMissingData:ye.isMissingData,missingClientEdges:ye.missingClientEdges,missingLiveResolverFields:ye.missingLiveResolverFields,seenRecords:ye.seenRecords,selector:ye.selector,fieldErrors:ye.fieldErrors};pe!==be.data&&(oe=!0),ae.push(_e)}return ae.length!==M.snapshots.length&&o(!1),[oe,{kind:"plural",snapshots:ae,epoch:K,selector:M.selector,environment:M.environment}]}}function W(X,M,K,Y,B){var ne=k(M,K),oe=(0,t.default)((0,t.default)({},ne),{},{id:Y.clientEdgeDestinationID}),ae=T(Y.request,oe,B==null?void 0:B.networkCacheConfig),de=a(X),be=de.prepare(ae,_(X,ae),B==null?void 0:B.fetchPolicy),ye=x(X,ae.request);return ye!=null&&ye.displayName==null&&(ye.displayName=Y.request.params.name),[be,ye]}function G(X,M,K){if(M.kind==="bailout")return function(){};if(M.kind==="singular"){var Y=X.subscribe(M.snapshot,function(ne){K(function(oe){var ae=null;if(oe.kind!=="singular"||oe.snapshot.selector!==ne.selector||oe.environment!==X){var de=V(oe.environment,oe);if(de!=null){var be=de[0],ye=de[1];X.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:be}),ae=be?ye:oe}else ae=oe}else ae={kind:"singular",snapshot:ne,epoch:X.getStore().getEpoch(),selector:M.selector,environment:M.environment};return ae})});return function(){Y.dispose()}}else{var B=M.snapshots.map(function(ne,oe){return X.subscribe(ne,function(ae){K(function(de){var be,ye=null;if(de.kind!=="plural"||((be=de.snapshots[oe])===null||be===void 0?void 0:be.selector)!==ae.selector||de.environment!==X){var pe=V(de.environment,de);if(pe!=null){var _e=pe[0],se=pe[1];X.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:_e}),ye=_e?se:de}else ye=de}else{var me=(0,r.default)(de.snapshots);me[oe]=ae,ye={kind:"plural",snapshots:me,epoch:X.getStore().getEpoch(),selector:M.selector,environment:M.environment}}return ye})})});return function(){var ne=(0,n.default)(B),oe;try{for(ne.s();!(oe=ne.n()).done;){var ae=oe.value;ae.dispose()}}catch(de){ne.e(de)}finally{ne.f()}}}}function J(X,M){return M==null?{kind:"bailout",environment:X}:M.kind==="PluralReaderSelector"?{kind:"plural",snapshots:M.selectors.map(function(K){return X.lookup(K)}),epoch:X.getStore().getEpoch(),selector:M,environment:X}:{kind:"singular",snapshot:X.lookup(M),epoch:X.getStore().getEpoch(),selector:M,environment:X}}function te(X,M,K,Y){var B,ne,oe=d(function(){return C(X,M)},[X,M]),ae=(X==null||(B=X.metadata)===null||B===void 0?void 0:B.plural)===!0;ae?M==null||Array.isArray(M)||o(!1):Array.isArray(M)&&o(!1),M==null||ae&&Array.isArray(M)&&M.length===0||oe!=null||o(!1);var de=u(),be;E.ENABLE_UI_CONTEXT_ON_RELAY_LOGGER&&(be=l());var ye=m(function(){return J(de,oe)}),pe=ye[0],_e=ye[1],se=pe,me=se.environment;if(!w(oe,se.selector)||de!==se.environment){var ge=J(de,oe);_e(ge),se=ge}var we=h(!1);if(c(function(){we.current=oe},[oe]),((ne=X.metadata)===null||ne===void 0?void 0:ne.hasClientEdges)===!0||E.CHECK_ALL_FRAGMENTS_FOR_MISSING_CLIENT_EDGES){var Ne=d(function(){var ze=q(se),st,Ot=[];if(ze!=null&&ze.length){st=[];var Nt=(0,n.default)(ze),gt;try{for(Nt.s();!(gt=Nt.n()).done;){var qt=gt.value,zt=W(de,X,M,qt,Y),rn=zt[0],nn=zt[1];st.push(rn),nn!=null&&Ot.push(nn)}}catch(Fe){Nt.e(Fe)}finally{Nt.f()}}return[st,Ot]},[se,de,X,M,Y]),Re=Ne[0],et=Ne[1];if(et.length){var tt=Promise.all(et);throw tt.displayName="RelayClientEdge(".concat(et.map(function(ze){return ze.displayName}).join(","),")"),tt}c(function(){var ze=a(de);if(Re!=null&&Re.length){var st=[],Ot=(0,n.default)(Re),Nt;try{for(Ot.s();!(Nt=Ot.n()).done;){var gt=Nt.value;st.push(ze.retain(gt))}}catch(qt){Ot.e(qt)}finally{Ot.f()}return function(){for(var qt=0,zt=st;qt<zt.length;qt++){var rn=zt[qt];rn.dispose()}}}},[de,Re])}if(Z(se)){var Oe=j(se);if(Oe!=null&&Oe.length>0){var $e=Promise.all(Oe.map(function(ze){return de.getStore().getLiveResolverPromise(ze)}));throw $e.displayName="RelayLiveResolver("+X.name+")",$e}if(E.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE||de!==me||!we.current||!w(we.current,oe)){oe==null&&o(!1);var Ae=oe.kind==="PluralReaderSelector"?oe.selectors[0].owner:oe.owner,Ue=R(de,X,Ae);if(Ue)throw Ue.promise}}N(de,se,be);var Ze=h(null);c(function(){var ze=Ze.current;if(ze!=null){if(se.environment===ze.environment&&se.selector===ze.selector)return;ze.dispose()}if(se.kind!=="bailout"){var st=se,Ot=V(se.environment,se);if(Ot!==null){var Nt=Ot[0],gt=Ot[1];if(Nt){_e(gt);return}st=gt}var qt=G(se.environment,st,_e);Ze.current={dispose:qt,selector:se.selector,environment:se.environment}}},[se]),c(function(){if(Ze.current==null&&se.kind!=="bailout"){var ze=G(se.environment,se,_e);Ze.current={dispose:ze,selector:se.selector,environment:se.environment}}return function(){var st;(st=Ze.current)===null||st===void 0||st.dispose(),Ze.current=null}},[]);var Ye;if(ae){var Me=M==null;Ye=d(function(){return se.kind==="bailout"?Me?null:[]:(se.kind!=="plural"&&o(!1),se.snapshots.map(function(ze){return ze.data}))},[se,Me])}else se.kind==="bailout"?Ye=null:(se.kind!=="singular"&&o(!1),Ye=se.snapshot.data);return E.LOG_MISSING_RECORDS_IN_PROD&&M!=null&&(Ye===void 0||Array.isArray(Ye)&&Ye.length>0&&Ye.every(function(ze){return ze===void 0})),Ye}return _A=te,_A}var EA,Oq;function pF(){if(Oq)return EA;Oq=1;var e=$n().default,t=e(q3e()),n=e(V3e()),r=Jr();function i(a,u,l,o){return r.RelayFeatureFlags.ENABLE_ACTIVITY_COMPATIBILITY?(0,n.default)(a,u,l,o):(0,t.default)(a,u,l,o)}return EA=i,EA}var DA,Sq;function fJ(){if(Sq)return DA;Sq=1;var e=rC(),t=QS(),n=t.getQueryCacheIdentifier,r=t.getQueryResourceForEnvironment,i=sJ(),a=pF(),u=to(),l=tr(),o=l.useContext,s=l.useEffect,c=l.useState,d=l.useRef;function h(m){var y=m.query,v=m.componentDisplayName,_=m.fetchObservable,x=m.fetchPolicy,E=m.fetchKey,w=m.renderPolicy,T=u(),R=o(e),C=r(T),k=c(0),F=k[0],z=k[1],Z=i(),q=Z.startFetch,j=Z.completeFetch,N="".concat(F,"-").concat(E??""),V=n(T,y,x,w,N),W=R.wrapPrepareQueryResource(function(){return C.prepareWithIdentifier(V,y,_,x,w,{start:q,complete:j,error:j},R)}),G=d(!1);s(function(){return function(){G.current=!0}},[]),s(function(){if(G.current===!0){G.current=!1,z(function(K){return K+1});return}var M=C.retain(W,R);return function(){M.dispose()}},[T,V]),s(function(){C.releaseTemporaryRetain(W)});var J=W.fragmentNode,te=W.fragmentRef,X=a(J,te,v);return X}return DA=h,DA}var $A,xq;function U3e(){if(xq)return $A;xq=1;var e=Kf(),t=tr(),n=t.useState;function r(i){var a=n(i),u=a[0],l=a[1];return e(i,u)?u:(l(i),i)}return $A=r,$A}var CA,_q;function dJ(){if(_q)return CA;_q=1;var e=U3e(),t=tr(),n=Jr(),r=n.createOperationDescriptor,i=n.getRequest,a=t.useMemo;function u(l,o,s){var c=e(o),d=e(s||{});return a(function(){return r(i(l),c,d)},[l,c,d])}return CA=u,CA}var wA,Eq;function hJ(){if(Eq)return wA;Eq=1;var e=fJ(),t=dJ(),n=to(),r=Jr(),i=r.__internal.fetchQuery;function a(u,l,o){var s=n(),c=t(u,l,o&&o.networkCacheConfig?o.networkCacheConfig:{force:!0}),d=e({componentDisplayName:"useLazyLoadQuery()",fetchKey:o==null?void 0:o.fetchKey,fetchObservable:i(s,c),fetchPolicy:o==null?void 0:o.fetchPolicy,query:c,renderPolicy:o==null?void 0:o.UNSTABLE_renderPolicy});return d}return wA=a,wA}var RA,Dq;function j3e(){if(Dq)return RA;Dq=1;var e=$n().default,t=e(Qi()),n=hJ();function r(i,a,u){var l=i;return n(l,a,(0,t.default)((0,t.default)({},u),{},{fetchPolicy:"store-only"}))}return RA=r,RA}var AA,$q;function cb(){if($q)return AA;$q=1;var e=tr(),t=e.useEffect,n=e.useRef;function r(){var i=n(!0);return t(function(){return i.current=!0,function(){i.current=!1}},[]),i}return AA=r,AA}var TA,Cq;function Z3e(){if(Cq)return TA;Cq=1;var e=$n().default,t=e(xu()),n=lJ(),r=cb(),i=tr(),a=i.useCallback,u=i.useEffect,l=i.useRef,o=i.useState,s={kind:"NullEntryPointReference"};function c(d,h,m){var y,v,_,x,E=(y=m==null||(v=m.TEST_ONLY__initialEntryPointData)===null||v===void 0?void 0:v.entryPointReference)!==null&&y!==void 0?y:s,w=(_=m==null||(x=m.TEST_ONLY__initialEntryPointData)===null||x===void 0?void 0:x.entryPointParams)!==null&&_!==void 0?_:null,T=r(),R=l(new Set([E])),C=o(E),k=C[0],F=C[1],z=o(w),Z=z[0],q=z[1],j=a(function(){if(T.current){var W={kind:"NullEntryPointReference"};R.current.add(W),F(W)}},[F,T]),N=a(function(W){if(T.current){var G=n(d,h,W);R.current.add(G),F(G),q(W)}},[d,h,F,T]),V=l(!1);return u(function(){return function(){V.current=!0}},[]),u(function(){if(V.current===!0){V.current=!1,k.kind!=="NullEntryPointReference"&&Z!=null&&N(Z);return}var W=R.current;if(T.current){var G=(0,t.default)(W),J;try{for(G.s();!(J=G.n()).done;){var te=J.value;if(te===k)break;W.delete(te),te.kind!=="NullEntryPointReference"&&te.dispose()}}catch(X){G.e(X)}finally{G.f()}}},[k,Z,N,T]),u(function(){return function(){var G=(0,t.default)(R.current),J;try{for(G.s();!(J=G.n()).done;){var te=J.value;te.kind!=="NullEntryPointReference"&&te.dispose()}}catch(X){G.e(X)}finally{G.f()}}},[]),[k.kind==="NullEntryPointReference"?null:k,N,j]}return TA=c,TA}var kA,wq;function aC(){if(wq)return kA;wq=1,oJ(),Bi();function e(t,n){}return kA=e,kA}var PA,Rq;function pJ(){if(Rq)return PA;Rq=1;var e=pF(),t=aC(),n=tr();n.useDebugValue;var r=Jr(),i=r.getFragment;function a(u,l){var o=i(u);t(o,"first argument of useFragment()");var s=e(o,l,"useFragment()");return s}return PA=a,PA}var MA,Aq;function H3e(){if(Aq)return MA;Aq=1;var e=$n().default,t=e(Qi()),n=cb(),r=to(),i=tr(),a=Jr(),u=a.commitMutation,l=i.useState,o=i.useEffect,s=i.useRef,c=i.useCallback;function d(h){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u,y=r(),v=n(),_=s(y),x=s(h),E=s(new Set),w=l(!1),T=w[0],R=w[1],C=c(function(F){_.current===y&&x.current===h&&(E.current.delete(F),v.current&&R(E.current.size>0))},[y,v,h]);o(function(){(_.current!==y||x.current!==h)&&(E.current=new Set,v.current&&R(!1),_.current=y,x.current=h)},[y,v,h]);var k=c(function(F){v.current&&R(!0);var z=m(y,(0,t.default)((0,t.default)({},F),{},{mutation:h,onCompleted:function(q,j){var N;C(z),(N=F.onCompleted)===null||N===void 0||N.call(F,q,j)},onError:function(q){var j;C(z),(j=F.onError)===null||j===void 0||j.call(F,q)},onUnsubscribe:function(){var q;C(z),(q=F.onUnsubscribe)===null||q===void 0||q.call(F)},onNext:function(){var q;(q=F.onNext)===null||q===void 0||q.call(F)}}));return E.current.add(z),z},[C,m,y,v,h]);return[k,T]}return MA=d,MA}var FA,Tq;function mJ(){if(Tq)return FA;Tq=1;var e=ln(),t=Jr(),n=t.ConnectionInterface,r=t.getValueAtPath;function i(a,u,l,o){var s,c,d=n.get(),h=d.EDGES,m=d.PAGE_INFO,y=d.HAS_NEXT_PAGE,v=d.HAS_PREV_PAGE,_=d.END_CURSOR,x=d.START_CURSOR,E=r(l,o);if(E==null)return{cursor:null,hasMore:!1};typeof E!="object"&&e(!1);var w=E[h],T=E[m];if(w==null||T==null)return{cursor:null,hasMore:!1};Array.isArray(w)||e(!1),typeof T!="object"&&e(!1);var R=a==="forward"?(s=T[_])!==null&&s!==void 0?s:null:(c=T[x])!==null&&c!==void 0?c:null;R===null||typeof R=="string"||e(!1);var C;return a==="forward"?C=R!=null&&T[y]===!0:C=R!=null&&T[v]===!0,{cursor:R,hasMore:C}}return FA=i,FA}var NA,kq;function gJ(){if(kq)return NA;kq=1;var e=to(),t=ln(),n=tr(),r=Jr(),i=r.__internal.getObservableForActiveRequest,a=r.getSelector,u=n.useEffect,l=n.useState,o=n.useMemo;function s(c,d){var h=e(),m=o(function(){var x=a(c,d);return x==null?null:(x.kind!=="SingularReaderSelector"&&t(!1),i(h,x.owner))},[h,c,d]),y=l(m!=null),v=y[0],_=y[1];return u(function(){var x;if(_(m!=null),m!=null){var E=function(){_(!1)};x=m.subscribe({complete:E,error:E})}return function(){x&&x.unsubscribe()}},[m]),v}return NA=s,NA}var IA,Pq;function X3e(){if(Pq)return IA;Pq=1;var e=$n().default,t=e(Qi()),n=mJ(),r=cb(),i=gJ(),a=to(),u=ln(),l=tr(),o=l.useCallback,s=l.useRef,c=l.useState,d=Jr(),h=d.__internal.fetchQuery,m=d.createOperationDescriptor,y=d.getPaginationVariables,v=d.getRefetchMetadata,_=d.getSelector;Bi();function x(E){var w=E.direction,T=E.fragmentNode,R=E.fragmentRef,C=E.fragmentIdentifier,k=E.fragmentData,F=E.connectionPathInFragmentData,z=E.paginationRequest,Z=E.paginationMetadata,q=E.componentDisplayName,j=E.observer,N=E.onReset,V=a(),W=v(T,q),G=W.identifierInfo,J=(G==null?void 0:G.identifierField)!=null&&k!=null&&typeof k=="object"?k[G.identifierField]:null,te=s({kind:"none"}),X=c(V),M=X[0],K=X[1],Y=c(C),B=Y[0],ne=Y[1],oe=i(T,R),ae=o(function(){te.current.kind==="fetching"&&te.current.subscription.unsubscribe(),te.current={kind:"none"}},[]),de=V!==M||C!==B;de&&(ae(),N(),K(V),ne(C));var be=n(w,T,k,F),ye=be.cursor,pe=be.hasMore,_e=k==null||oe,se=r(),me=o(function(ge,we){var Ne=we==null?void 0:we.onComplete;if(se.current!==!0)return{dispose:function(){}};var Re=_(T,R);if(te.current.kind==="fetching"||_e)return Ne&&Ne(null),{dispose:function(){}};Re!=null&&Re.kind!=="PluralReaderSelector"||u(!1);var et=Re.owner.variables,tt=Re.variables,Oe=we==null?void 0:we.UNSTABLE_extraVariables,$e=(0,t.default)((0,t.default)({},et),tt),Ae=y(w,ge,ye,$e,(0,t.default)({},Oe),Z);G!=null&&(Ae[G.identifierQueryVariableName]=J);var Ue=m(z,Ae,{force:!0});return h(V,Ue).subscribe((0,t.default)((0,t.default)({},j),{},{start:function(Ye){te.current={kind:"fetching",subscription:Ye},j.start&&j.start(Ye)},complete:function(){te.current={kind:"none"},j.complete&&j.complete(),Ne&&Ne(null)},error:function(Ye){te.current={kind:"none"},j.complete&&j.complete(),Ne&&Ne(Ye)}})),{dispose:function(){}}},[V,J,w,ye,_e,T.name,R,q]);return[me,pe,ae]}return IA=x,IA}var LA,Mq;function vJ(){if(Mq)return LA;Mq=1;var e=$n().default,t=e(Qi()),n=mJ(),r=sJ(),i=cb(),a=gJ(),u=X3e(),l=to(),o=ln(),s=tr(),c=s.useCallback,d=s.useEffect,h=s.useState,m=Jr(),y=m.__internal.fetchQuery,v=m.RelayFeatureFlags,_=m.createOperationDescriptor,x=m.getPaginationVariables,E=m.getRefetchMetadata,w=m.getSelector;Bi();function T(C){return v.ENABLE_ACTIVITY_COMPATIBILITY?u(C):R(C)}function R(C){var k=C.direction,F=C.fragmentNode,z=C.fragmentRef,Z=C.fragmentIdentifier,q=C.fragmentData,j=C.connectionPathInFragmentData,N=C.paginationRequest,V=C.paginationMetadata,W=C.componentDisplayName,G=C.observer,J=C.onReset,te=l(),X=r(),M=X.isFetchingRef,K=X.startFetch,Y=X.disposeFetch,B=X.completeFetch,ne=E(F,W),oe=ne.identifierInfo,ae=(oe==null?void 0:oe.identifierField)!=null&&q!=null&&typeof q=="object"?q[oe.identifierField]:null,de=i(),be=h(te),ye=be[0],pe=be[1],_e=h(Z),se=_e[0],me=_e[1],ge=a(F,z),we=te!==ye||Z!==se;we&&(Y(),J(),pe(te),me(Z));var Ne=n(k,F,q,j),Re=Ne.cursor,et=Ne.hasMore;d(function(){return function(){Y()}},[Y]);var tt=q==null||ge,Oe=c(function($e,Ae){var Ue=Ae==null?void 0:Ae.onComplete;if(de.current!==!0)return{dispose:function(){}};var Ze=w(F,z);if(M.current===!0||tt)return Ue&&Ue(null),{dispose:function(){}};Ze!=null&&Ze.kind!=="PluralReaderSelector"||o(!1);var Ye=Ze.owner.variables,Me=Ze.variables,ze=Ae==null?void 0:Ae.UNSTABLE_extraVariables,st=(0,t.default)((0,t.default)({},Ye),Me),Ot=x(k,$e,Re,st,(0,t.default)({},ze),V);oe!=null&&(Ot[oe.identifierQueryVariableName]=ae);var Nt=_(N,Ot,{force:!0});return y(te,Nt).subscribe((0,t.default)((0,t.default)({},G),{},{start:function(qt){K(qt),G.start&&G.start(qt)},complete:function(){B(),G.complete&&G.complete(),Ue&&Ue(null)},error:function(qt){B(),G.error&&G.error(qt),Ue&&Ue(qt)}})),{dispose:Y}},[te,ae,k,Re,K,Y,B,M,tt,F.name,z,W]);return[Oe,et,Y]}return LA=T,LA}var BA,Fq;function Y3e(){if(Fq)return BA;Fq=1;var e=$n().default,t=e(Qi()),n=e(xu()),r=QS(),i=r.getQueryResourceForEnvironment,a=ln(),u=Jr(),l=u.__internal.fetchQuery,o=u.RelayFeatureFlags,s=u.createOperationDescriptor,c=u.getPendingOperationsForFragment,d=u.getSelector,h=u.getVariablesFromFragment,m=u.handlePotentialSnapshotErrors;Bi();function y(T){return T.kind==="bailout"?!1:T.kind==="singular"?T.snapshot.isMissingData:T.snapshots.some(function(R){return R.isMissingData})}function v(T){if(T.kind==="bailout")return null;if(T.kind==="singular"){var R;return(R=T.snapshot.missingClientEdges)!==null&&R!==void 0?R:null}else{var C=null,k=(0,n.default)(T.snapshots),F;try{for(k.s();!(F=k.n()).done;){var z=F.value;if(z.missingClientEdges){var Z;C=(Z=C)!==null&&Z!==void 0?Z:[];var q=(0,n.default)(z.missingClientEdges),j;try{for(q.s();!(j=q.n()).done;){var N=j.value;C.push(N)}}catch(V){q.e(V)}finally{q.f()}}}}catch(V){k.e(V)}finally{k.f()}return C}}function _(T,R){if(R.kind==="singular")m(T,R.snapshot.fieldErrors);else if(R.kind==="plural"){var C=(0,n.default)(R.snapshots),k;try{for(C.s();!(k=C.n()).done;){var F=k.value;m(T,F.fieldErrors)}}catch(z){C.e(z)}finally{C.f()}}}function x(T,R,C,k,F){var z=h(R,C),Z=(0,t.default)((0,t.default)({},z),{},{id:k.clientEdgeDestinationID}),q=s(k.request,Z,F==null?void 0:F.networkCacheConfig),j=i(T);return j.prepare(q,l(T,q),F==null?void 0:F.fetchPolicy)}function E(T,R){return R==null?{kind:"bailout"}:R.kind==="PluralReaderSelector"?R.selectors.length===0?{kind:"bailout"}:{kind:"plural",snapshots:R.selectors.map(function(C){return T.lookup(C)}),epoch:T.getStore().getEpoch()}:{kind:"singular",snapshot:T.lookup(R),epoch:T.getStore().getEpoch()}}function w(T,R,C,k,F,z){var Z,q,j=d(R,C),N=(R==null||(Z=R.metadata)===null||Z===void 0?void 0:Z.plural)===!0;N?C==null||Array.isArray(C)||a(!1):Array.isArray(C)&&a(!1),C==null||N&&Array.isArray(C)&&C.length===0||j!=null||a(!1);var V=E(T,j),W=null;if(((q=R.metadata)===null||q===void 0?void 0:q.hasClientEdges)===!0||o.CHECK_ALL_FRAGMENTS_FOR_MISSING_CLIENT_EDGES){var G=v(V);if(G!=null&&G.length){W=[];var J=(0,n.default)(G),te;try{for(J.s();!(te=J.n()).done;){var X=te.value;W.push(x(T,R,C,X,F))}}catch(B){J.e(B)}finally{J.f()}}}if(y(V)){j==null&&a(!1);var M=j.kind==="PluralReaderSelector"?j.selectors[0].owner:j.owner,K=c(T,R,M);if(K)throw K.promise;_(T,V)}var Y;return V.kind==="bailout"?Y=N?[]:null:V.kind==="singular"?Y=V.snapshot.data:Y=V.snapshots.map(function(B){return B.data}),o.LOG_MISSING_RECORDS_IN_PROD&&C!=null&&(Y===void 0||Array.isArray(Y)&&Y.length>0&&Y.every(function(B){return B===void 0})),{data:Y,clientEdgeQueries:W}}return BA=w,BA}var QA,Nq;function G3e(){if(Nq)return QA;Nq=1;var e=$n().default,t=e(xu()),n=iC(),r=n.loadQuery,i=cb(),a=to(),u=tr(),l=u.useCallback,o=u.useEffect,s=u.useInsertionEffect,c=u.useRef,d=u.useState,h=Jr(),m=h.getRequest,y={kind:"NullQueryReference"};function v(E){if(E.kind==="PreloadableConcreteRequest")return E.params.metadata.live!==void 0;var w=m(E);return w.params.metadata.live!==void 0}var _=1e3*60*5;function x(E,w){var T=w??y,R=a(),C=i(),k=c(null);k.current==null&&(k.current=new Set([T]));var F=d(function(){return T}),z=F[0],Z=F[1],q=d(function(){return T}),j=q[0],N=q[1];if(T!==j){var V;(V=k.current)===null||V===void 0||V.add(T),N(T),Z(T)}var W=l(function(){if(C.current){var X;(X=k.current)===null||X===void 0||X.add(y),Z(y)}},[C]),G=l(function(X,M){var K,Y;if(C.current){var B=M!=null&&M.hasOwnProperty("__environment")?{fetchPolicy:M.fetchPolicy,networkCacheConfig:M.networkCacheConfig,__nameForWarning:M.__nameForWarning}:M,ne=r((K=M==null?void 0:M.__environment)!==null&&K!==void 0?K:R,E,X,B);(Y=k.current)===null||Y===void 0||Y.add(ne),Z(ne)}},[R,E,Z,C]),J=l(function(M,K){var Y,B=(Y=k.current)!==null&&Y!==void 0?Y:new Set,ne=(0,t.default)(B),oe;try{for(ne.s();!(oe=ne.n()).done;){var ae=oe.value;ae!==K&&ae.kind!=="NullQueryReference"&&(v(M)?ae.dispose&&ae.dispose():ae.releaseQuery&&ae.releaseQuery())}}catch(de){ne.e(de)}finally{ne.f()}},[]),te=c(null);return o(function(){return J(E,z),te.current!=null&&(clearTimeout(te.current),te.current=null),function(){te.current=setTimeout(function(){J(E,null)},_)}},[E,z]),s(function(){return function(){te.current&&clearTimeout(te.current),te.current=null,J(E,null)}},[E]),[z.kind==="NullQueryReference"?null:z,G,W]}return QA=x,QA}var zA,Iq;function yJ(){if(Iq)return zA;Iq=1;var e=$n().default,t=e(xu()),n=iC(),r=n.loadQuery,i=cb(),a=G3e(),u=to(),l=tr(),o=l.useCallback,s=l.useEffect,c=l.useRef,d=l.useState,h=Jr(),m=h.RelayFeatureFlags,y=h.getRequest,v={kind:"NullQueryReference"};function _(w){if(w.kind==="PreloadableConcreteRequest")return w.params.metadata.live!==void 0;var T=y(w);return T.params.metadata.live!==void 0}function x(w,T){return m.ENABLE_ACTIVITY_COMPATIBILITY?a(w,T):E(w,T)}function E(w,T){var R=T??v,C=u(),k=i(),F=c(new Set([R])),z=d(function(){return R}),Z=z[0],q=z[1],j=d(function(){return R}),N=j[0],V=j[1];R!==N&&(F.current.add(R),V(R),q(R));var W=o(function(){k.current&&(F.current.add(v),q(v))},[k]),G=o(function(te,X){var M=X!=null&&X.hasOwnProperty("__environment")?{fetchPolicy:X.fetchPolicy,networkCacheConfig:X.networkCacheConfig,__nameForWarning:X.__nameForWarning}:X;if(k.current){var K,Y=r((K=X==null?void 0:X.__environment)!==null&&K!==void 0?K:C,w,te,M);F.current.add(Y),q(Y)}},[C,w,q,k]),J=c(!1);return s(function(){return function(){J.current=!0}},[]),s(function(){if(J.current===!0){J.current=!1,Z.kind!=="NullQueryReference"&&G(Z.variables,{fetchPolicy:Z.fetchPolicy,networkCacheConfig:Z.networkCacheConfig});return}var te=F.current;if(k.current){var X=(0,t.default)(te),M;try{for(X.s();!(M=X.n()).done;){var K=M.value;if(K===Z)break;te.delete(K),K.kind!=="NullQueryReference"&&(_(w)?K.dispose&&K.dispose():K.releaseQuery&&K.releaseQuery())}}catch(Y){X.e(Y)}finally{X.f()}}},[Z,k,G,w]),s(function(){return function(){var X=(0,t.default)(F.current),M;try{for(X.s();!(M=X.n()).done;){var K=M.value;K.kind!=="NullQueryReference"&&(_(w)?K.dispose&&K.dispose():K.releaseQuery&&K.releaseQuery())}}catch(Y){X.e(Y)}finally{X.f()}}},[w]),[Z.kind==="NullQueryReference"?null:Z,G,W]}return zA=x,zA}var qA,Lq;function mF(){if(Lq)return qA;Lq=1;var e=$n().default,t=e(Qi()),n=rC(),r=QS(),i=r.getQueryResourceForEnvironment,a=Y3e(),u=pF(),l=cb(),o=yJ(),s=to(),c=ln(),d=tr(),h=d.useCallback,m=d.useContext,y=d.useReducer,v=Jr(),_=v.__internal.fetchQuery,x=v.createOperationDescriptor,E=v.getFragmentIdentifier,w=v.getRefetchMetadata,T=v.getSelector,R=v.getValueAtPath;Bi();function C(z,Z){switch(Z.type){case"refetch":{var q;return(0,t.default)((0,t.default)({},z),{},{fetchPolicy:Z.fetchPolicy,mirroredEnvironment:(q=Z.refetchEnvironment)!==null&&q!==void 0?q:z.mirroredEnvironment,onComplete:Z.onComplete,refetchEnvironment:Z.refetchEnvironment,refetchQuery:Z.refetchQuery,renderPolicy:Z.renderPolicy})}case"reset":return{fetchPolicy:void 0,mirroredEnvironment:Z.environment,mirroredFragmentIdentifier:Z.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw Z.type,new Error("useRefetchableFragmentNode: Unexpected action type")}}function k(z,Z,q){var j=s(),N=w(z,q),V=N.refetchableRequest,W=N.fragmentRefPathInResponse,G=N.identifierInfo,J=E(z,Z),te=y(C,{fetchPolicy:void 0,mirroredEnvironment:j,mirroredFragmentIdentifier:J,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),X=te[0],M=te[1],K=X.fetchPolicy,Y=X.mirroredEnvironment,B=X.mirroredFragmentIdentifier,ne=X.onComplete,oe=X.refetchEnvironment,ae=X.refetchQuery,de=X.renderPolicy,be=oe??j,ye=i(be),pe=m(n),_e=be!==Y||J!==B,se=o(V),me=se[0],ge=se[1],we=se[2],Ne=Z;if(_e)M({type:"reset",environment:be,fragmentIdentifier:J}),we();else if(ae!=null&&me!=null){var Re=function(Ye){ne&&ne(Ye??null)},et=me.source!=null?me.source:_(be,ae),tt=pe.wrapPrepareQueryResource(function(){return ye.prepare(ae,et,K,de,{error:Re,complete:function(){Re()}},me.fetchKey,pe)}),Oe=a(be,tt.fragmentNode,tt.fragmentRef,q).data;Oe==null&&c(!1);var $e=R(Oe,W);Ne=$e}var Ae=u(z,Ne,q),Ue=F(q,M,we,Ae,J,z,W,G,ge,Z,V);return{fragmentData:Ae,fragmentRef:Ne,refetch:Ue}}function F(z,Z,q,j,N,V,W,G,J,te,X){var M=l(),K=(G==null?void 0:G.identifierField)!=null&&j!=null&&typeof j=="object"?j[G.identifierField]:null;return h(function(Y,B){if(M.current!==!0)return{dispose:function(){}};var ne=B==null?void 0:B.__environment,oe=B==null?void 0:B.fetchPolicy,ae=B==null?void 0:B.UNSTABLE_renderPolicy,de=B==null?void 0:B.onComplete,be=T(V,te),ye,pe;if(be==null)ye={},pe={};else if(be.kind==="PluralReaderSelector"){var _e,se,me,ge;ye=(_e=(se=be.selectors[0])===null||se===void 0?void 0:se.owner.variables)!==null&&_e!==void 0?_e:{},pe=(me=(ge=be.selectors[0])===null||ge===void 0?void 0:ge.variables)!==null&&me!==void 0?me:{}}else ye=be.owner.variables,pe=be.variables;var we=(0,t.default)((0,t.default)((0,t.default)({},ye),pe),Y);G!=null&&!Y.hasOwnProperty(G.identifierQueryVariableName)&&(we[G.identifierQueryVariableName]=K);var Ne=x(X,we,{force:!0});return J(Ne.request.variables,{fetchPolicy:oe,__environment:ne,__nameForWarning:"refetch"}),Z({type:"refetch",fetchPolicy:oe,onComplete:de,refetchEnvironment:ne,refetchQuery:Ne,renderPolicy:ae}),{dispose:q}},[N,Z,q,K,J])}return qA=k,qA}var VA,Bq;function K3e(){if(Bq)return VA;Bq=1;var e=$n().default,t=e(Qi()),n=vJ(),r=mF(),i=to(),a=aC(),u=tr(),l=u.useCallback;u.useDebugValue;var o=u.useState,s=Jr(),c=s.RelayFeatureFlags,d=s.getFragment,h=s.getFragmentIdentifier,m=s.getPaginationMetadata;function y(_,x){var E=d(_);a(E,"first argument of usePaginationFragment()");var w="usePaginationFragment()",T=m(E,w),R=T.connectionPathInFragmentData,C=T.paginationRequest,k=T.paginationMetadata,F=r(E,x,w),z=F.fragmentData,Z=F.fragmentRef,q=F.refetch,j=h(E,Z),N=v({componentDisplayName:w,connectionPathInFragmentData:R,direction:"backward",fragmentData:z,fragmentIdentifier:j,fragmentNode:E,fragmentRef:Z,paginationMetadata:k,paginationRequest:C}),V=N[0],W=N[1],G=N[2],J=N[3],te=v({componentDisplayName:w,connectionPathInFragmentData:R,direction:"forward",fragmentData:z,fragmentIdentifier:j,fragmentNode:E,fragmentRef:Z,paginationMetadata:k,paginationRequest:C}),X=te[0],M=te[1],K=te[2],Y=te[3],B=l(function(ne,oe){return Y(),J(),q(ne,(0,t.default)((0,t.default)({},oe),{},{__environment:void 0}))},[Y,J,q]);return{data:z,loadNext:X,loadPrevious:V,hasNext:M,hasPrevious:W,isLoadingNext:K,isLoadingPrevious:G,refetch:B}}function v(_){var x=i(),E=o(!1),w=E[0],T=E[1],R=function(N){var V,W=(V=x.getScheduler())===null||V===void 0?void 0:V.schedule;W?W(function(){T(N)}):T(N)},C={start:function(){return R(!0)},complete:function(){return R(!1)},error:function(){return R(!1)},unsubscribe:c.ENABLE_USE_PAGINATION_IS_LOADING_FIX?function(){return R(!1)}:void 0},k=function(){return R(!1)},F=n((0,t.default)((0,t.default)({},_),{},{observer:C,onReset:k})),z=F[0],Z=F[1],q=F[2];return[z,Z,w,q]}return VA=y,VA}var UA,Qq;function W3e(){if(Qq)return UA;Qq=1;var e=$n().default,t=e(Qi()),n=pJ(),r=vJ(),i=mF(),a=to(),u=aC(),l=ln(),o=tr(),s=o.useCallback;o.useDebugValue;var c=o.useEffect,d=o.useLayoutEffect,h=o.useMemo,m=o.useRef,y=o.useState,v=Jr(),_=v.getFragment,x=v.getFragmentIdentifier,E=v.getPaginationMetadata,w=Jr(),T=w.ConnectionInterface,R=w.RelayFeatureFlags,C=w.getSelector,k=w.getValueAtPath;function F(z,Z,q,j,N){var V,W,G=arguments.length>5&&arguments[5]!==void 0?arguments[5]:1,J=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,te=_(z);u(te,"first argument of usePrefetchableForwardPaginationFragment()");var X="usePrefetchableForwardPaginationFragment()",M=E(te,X),K=M.connectionPathInFragmentData,Y=M.paginationRequest,B=M.paginationMetadata,ne=i(te,Z,X),oe=ne.fragmentData,ae=ne.fragmentRef,de=ne.refetch,be=x(te,ae),ye=h(function(){var Qt=k(oe,K);if(Qt==null)return null;var an=T.get(),In=an.EDGES;return Qt[In]},[K,oe]),pe=ye==null?-1:ye.length,_e=y(j??pe),se=_e[0],me=_e[1],ge=se;se===-1&&pe!==-1&&(ge=j??pe,me(ge));var we=a(),Ne=y(!1),Re=Ne[0],et=Ne[1],tt=y(!1),Oe=tt[0],$e=tt[1],Ae=m(0),Ue=s(function(Qt){var an,In=(an=we.getScheduler())===null||an===void 0?void 0:an.schedule;In?In(function(){et(Qt)}):et(Qt)},[we]),Ze=m(!1),Ye=h(function(){function Qt(){Ze.current=!1,Ue(!1)}return{start:function(){Ze.current=!0,et(!0)},complete:Qt,error:Qt,unsubscribe:R.ENABLE_USE_PAGINATION_IS_LOADING_FIX?Qt:void 0}},[Ue]),Me=s(function(){if(!Oe){var Qt,an=(Qt=we.getScheduler())===null||Qt===void 0?void 0:Qt.schedule;an?an(function(){me(-1)}):me(-1)}Ze.current=!1,Ue(!1)},[we,Oe,Ue]),ze=r({componentDisplayName:X,connectionPathInFragmentData:K,direction:"forward",fragmentData:oe,fragmentIdentifier:be,fragmentNode:te,fragmentRef:ae,paginationMetadata:B,paginationRequest:Y,observer:Ye,onReset:Me}),st=ze[0],Ot=ze[1],Nt=ze[2];d(function(){Ae.current=pe-ge},[ge,pe]);var gt=N==null?void 0:N.UNSTABLE_extraVariables,qt=N==null?void 0:N.onComplete,zt=s(function(Qt,an){(!Ze.current||Ae.current>=0)&&(Ae.current-=Qt,me(function(In){return In+Qt}),!Ze.current&&Ae.current<0&&st(Math.max(G,Math.min(Qt,q-Ae.current)),an??{onComplete:qt,UNSTABLE_extraVariables:typeof gt=="function"?gt({hasNext:Ot,data:oe,getServerEdges:function(){var un=C(rn,ye);return un==null?[]:(un.kind!=="PluralReaderSelector"&&l(!1),un.selectors.map(function(jn){return we.lookup(jn).data}))}}):gt}))},[q,st,G,ye,oe,gt,qt]),rn=(V=z.metadata)===null||V===void 0||(W=V.refetch)===null||W===void 0?void 0:W.edgesFragment;rn==null&&l(!1),c(function(){if(!Ze.current&&!Re&&!Oe&&!J&&Ot&&(pe-ge<q||ge>pe)){var Qt=qt;st(Math.max(q-Math.max(pe-ge,0),ge-pe,G),{onComplete:Qt,UNSTABLE_extraVariables:typeof gt=="function"?gt({hasNext:Ot,data:oe,getServerEdges:function(){var In=C(rn,ye);return In==null?[]:(In.kind!=="PluralReaderSelector"&&l(!1),In.selectors.map(function(un){return we.lookup(un).data}))}}):gt})}},[Ot,q,Oe,st,ge,gt,qt,pe,ye,Re,G,we,rn]);var nn=Math.min(ge,pe),Fe=h(function(){var Qt;return(Qt=ye==null?void 0:ye.slice(0,nn))!==null&&Qt!==void 0?Qt:[]},[ye,nn]),ht=n(rn,Fe),Tt=s(function(Qt,an){return Nt(),$e(!0),de(Qt,(0,t.default)((0,t.default)({},an),{},{onComplete:function(un){var jn,sr,ar=(jn=we.getScheduler())===null||jn===void 0?void 0:jn.schedule;ar?ar(function(){$e(!1),me(-1)}):($e(!1),me(-1)),an==null||(sr=an.onComplete)===null||sr===void 0||sr.call(an,un)},__environment:void 0}))},[Nt,we,de]);return{edges:ht,data:oe,loadNext:zt,hasNext:Ot||pe>ge,isLoadingNext:Re&&ge>pe,refetch:Tt}}return UA=F,UA}var jA,zq;function J3e(){if(zq)return jA;zq=1;var e=fJ(),t=dJ(),n=to(),r=ln(),i=tr();i.useDebugValue;var a=Jr(),u=a.__internal,l=u.fetchQueryDeduped,o=u.fetchQuery;Bi();function s(c,d,h){var m=n(),y=d.fetchKey,v=d.fetchPolicy,_=d.source,x=d.variables,E=d.networkCacheConfig,w=t(c,x,E),T;if(d.kind==="PreloadedQuery_DEPRECATED")w.request.node.params.name!==d.name&&r(!1),T={componentDisplayName:"usePreloadedQuery()",fetchKey:y,fetchObservable:l(m,w.request.identifier,function(){return m===d.environment&&_!=null?m.executeWithSource({operation:w,source:_}):m.execute({operation:w})}),fetchPolicy:v,query:w,renderPolicy:h==null?void 0:h.UNSTABLE_renderPolicy};else{var R=o(m,w),C;_!=null&&m===d.environment?C=_.ifEmpty(R):(d.environment,C=R),T={componentDisplayName:"usePreloadedQuery()",fetchObservable:C,fetchKey:y,fetchPolicy:v,query:w,renderPolicy:h==null?void 0:h.UNSTABLE_renderPolicy}}var k=e(T);return k}return jA=s,jA}var ZA,qq;function e4e(){if(qq)return ZA;qq=1;var e=mF(),t=aC(),n=tr();n.useDebugValue;var r=Jr(),i=r.getFragment;function a(u,l){var o=i(u);t(o,"first argument of useRefetchableFragment()");var s=e(o,l,"useRefetchableFragment()"),c=s.fragmentData,d=s.refetch;return[c,d]}return ZA=a,ZA}var HA,Vq;function t4e(){if(Vq)return HA;Vq=1;var e=to(),t=tr(),n=t.useEffect,r=t.useRef;function i(a,u){var l=e(),o=r(null),s=Array.from(a).sort().join("");return n(function(){var c=l.getStore(),d=c.lookupInvalidationState(a),h=c.subscribeToInvalidationState(d,u);return o.current=h,function(){return h.dispose()}},[s,u,l]),{dispose:function(){o.current!=null&&o.current.dispose()}}}return HA=i,HA}var XA,Uq;function n4e(){if(Uq)return XA;Uq=1;var e=to(),t=tr(),n=t.useEffect,r=Jr(),i=r.requestSubscription;function a(u,l){var o=l??i,s=e();n(function(){var c=o(s,u),d=c.dispose;return d},[s,u,o])}return XA=a,XA}var YA,jq;function r4e(){if(jq)return YA;jq=1;var e=ey(),t=k3e(),n=P3e(),r=M3e(),i=F3e(),a=N3e(),u=I3e(),l=lJ(),o=iC(),s=o.loadQuery,c=rC(),d=L3e(),h=j3e(),m=Z3e(),y=pJ(),v=hJ(),_=H3e(),x=K3e(),E=W3e(),w=J3e(),T=yJ(),R=e4e(),C=to(),k=t4e(),F=n4e(),z=Jr();return YA={ConnectionHandler:z.ConnectionHandler,QueryRenderer:i,LocalQueryRenderer:n,MutationTypes:z.MutationTypes,RangeOperations:z.RangeOperations,ReactRelayContext:e,applyOptimisticMutation:z.applyOptimisticMutation,commitLocalUpdate:z.commitLocalUpdate,commitMutation:z.commitMutation,createFragmentContainer:t.createContainer,createPaginationContainer:r.createContainer,createRefetchContainer:a.createContainer,fetchQuery_DEPRECATED:z.fetchQuery_DEPRECATED,graphql:z.graphql,readInlineData:z.readInlineData,requestSubscription:z.requestSubscription,EntryPointContainer:u,RelayEnvironmentProvider:d,ProfilerContext:c,fetchQuery:z.fetchQuery,loadQuery:s,loadEntryPoint:l,useClientQuery:h,useFragment:y,useLazyLoadQuery:v,useEntryPointLoader:m,useQueryLoader:T,useMutation:_,usePaginationFragment:x,usePreloadedQuery:w,useRefetchableFragment:R,usePrefetchableForwardPaginationFragment:E,useRelayEnvironment:C,useSubscribeToInvalidationState:k,useSubscription:F},YA}var GA,Zq;function i4e(){return Zq||(Zq=1,GA=r4e()),GA}var $tt=i4e();const Qr=typeof document<"u"?ve.useLayoutEffect:()=>{};var KA;const a4e=(KA=ve.useInsertionEffect)!==null&&KA!==void 0?KA:Qr;function li(e){const t=P.useRef(null);return a4e(()=>{t.current=e},[e]),P.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}function u4e(e){let[t,n]=P.useState(e),r=P.useRef(null),i=li(()=>{if(!r.current)return;let u=r.current.next();if(u.done){r.current=null;return}t===u.value?i():n(u.value)});Qr(()=>{r.current&&i()});let a=li(u=>{r.current=u(t),i()});return[t,a]}const bJ={prefix:String(Math.round(Math.random()*1e10)),current:0},OJ=ve.createContext(bJ),l4e=ve.createContext(!1);let WA=new WeakMap;function o4e(e=!1){let t=P.useContext(OJ),n=P.useRef(null);if(n.current===null&&!e){var r,i;let a=(i=ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(r=i.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(a){let u=WA.get(a);u==null?WA.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==u.state&&(t.current=u.id,WA.delete(a))}n.current=++t.current}return n.current}function s4e(e){let t=P.useContext(OJ),n=o4e(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function c4e(e){let t=ve.useId(),[n]=P.useState(Jd()),r=n?"react-aria":`react-aria${bJ.prefix}`;return e||`${r}-${t}`}const f4e=typeof ve.useId=="function"?c4e:s4e;function d4e(){return!1}function h4e(){return!0}function p4e(e){return()=>{}}function Jd(){return typeof ve.useSyncExternalStore=="function"?ve.useSyncExternalStore(p4e,d4e,h4e):P.useContext(l4e)}let m4e=!!(typeof window<"u"&&window.document&&window.document.createElement),QO=new Map,d2;typeof FinalizationRegistry<"u"&&(d2=new FinalizationRegistry(e=>{QO.delete(e)}));function hi(e){let[t,n]=P.useState(e),r=P.useRef(null),i=f4e(t),a=P.useRef(null);if(d2&&d2.register(a,i),m4e){const u=QO.get(i);u&&!u.includes(r)?u.push(r):QO.set(i,[r])}return Qr(()=>{let u=i;return()=>{d2&&d2.unregister(a),QO.delete(u)}},[i]),P.useEffect(()=>{let u=r.current;return u&&n(u),()=>{u&&(r.current=null)}}),i}function g4e(e,t){if(e===t)return e;let n=QO.get(e);if(n)return n.forEach(i=>i.current=t),t;let r=QO.get(t);return r?(r.forEach(i=>i.current=e),e):t}function S0(e=[]){let t=hi(),[n,r]=u4e(t),i=P.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return Qr(i,[t,i,...e]),n}function eh(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}const si=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},ef=e=>e&&"window"in e&&e.window===e?e:si(e).defaultView||window;function v4e(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function y4e(e){return v4e(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let b4e=!1;function uC(){return b4e}function Zc(e,t){if(!uC())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:y4e(n)?n=n.host:n=n.parentNode}return!1}const Qu=(e=document)=>{var t;if(!uC())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function Bu(e){return uC()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}class O4e{get currentNode(){return this._currentNode}set currentNode(t){if(!Zc(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const n=[];let r=t,i=t;for(this._currentNode=t;r&&r!==this.root;)if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const u=r,l=this._doc.createTreeWalker(u,this.whatToShow,{acceptNode:this._acceptNode});n.push(l),l.currentNode=i,this._currentSetFor.add(l),r=i=u.host}else r=r.parentNode;const a=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});n.push(a),a.currentNode=i,this._currentSetFor.add(a),this._walkerStack=n}get doc(){return this._doc}firstChild(){let t=this.currentNode,n=this.nextNode();return Zc(t,n)?(n&&(this.currentNode=n),n):(this.currentNode=t,null)}lastChild(){let n=this._walkerStack[0].lastChild();return n&&(this.currentNode=n),n}nextNode(){const t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){var n;let i;if(typeof this.filter=="function"?i=this.filter(t):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(i=this.filter.acceptNode(t)),i===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let a=this.nextNode();return a&&(this.currentNode=a),a}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.nextNode();return r&&(this.currentNode=r),r}else return null}previousNode(){const t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null;return null}const n=t.previousNode();if(n){if(n.shadowRoot){var r;let a;if(typeof this.filter=="function"?a=this.filter(n):!((r=this.filter)===null||r===void 0)&&r.acceptNode&&(a=this.filter.acceptNode(n)),a===NodeFilter.FILTER_ACCEPT)return n&&(this.currentNode=n),n;let u=this.lastChild();return u&&(this.currentNode=u),u}return n&&(this.currentNode=n),n}else if(this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(t,n,r,i){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=u=>{if(u.nodeType===Node.ELEMENT_NODE){const o=u.shadowRoot;if(o){const s=this._doc.createTreeWalker(o,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(s),NodeFilter.FILTER_ACCEPT}else{var l;if(typeof this.filter=="function")return this.filter(u);if(!((l=this.filter)===null||l===void 0)&&l.acceptNode)return this.filter.acceptNode(u);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=n,this.filter=i??null,this.whatToShow=r??NodeFilter.SHOW_ALL,this._currentNode=n,this._walkerStack.unshift(t.createTreeWalker(n,r,this._acceptNode));const a=n.shadowRoot;if(a){const u=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(u)}}}function S4e(e,t,n,r){return uC()?new O4e(e,t,n,r):e.createTreeWalker(t,n,r)}function SJ(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=SJ(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function x4e(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=SJ(e))&&(r&&(r+=" "),r+=t);return r}function Et(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let i in r){let a=t[i],u=r[i];typeof a=="function"&&typeof u=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?t[i]=eh(a,u):(i==="className"||i==="UNSAFE_className")&&typeof a=="string"&&typeof u=="string"?t[i]=x4e(a,u):i==="id"&&a&&u?t.id=g4e(a,u):t[i]=u!==void 0?u:a}}return t}function ug(...e){return e.length===1&&e[0]?e[0]:t=>{let n=!1;const r=e.map(i=>{const a=Hq(i,t);return n||(n=typeof a=="function"),a});if(n)return()=>{r.forEach((i,a)=>{typeof i=="function"?i():Hq(e[a],null)})}}}function Hq(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}const _4e=new Set(["id"]),E4e=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),D4e=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),$4e=new Set(["dir","lang","hidden","inert","translate"]),Xq=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),C4e=/^(data-.*)$/;function Yt(e,t={}){let{labelable:n,isLink:r,global:i,events:a=i,propNames:u}=t,l={};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(_4e.has(o)||n&&E4e.has(o)||r&&D4e.has(o)||i&&$4e.has(o)||a&&Xq.has(o)||o.endsWith("Capture")&&Xq.has(o.slice(0,-7))||u!=null&&u.has(o)||C4e.test(o))&&(l[o]=e[o]);return l}function Ou(e){if(w4e())e.focus({preventScroll:!0});else{let t=R4e(e);e.focus(),A4e(t)}}let o_=null;function w4e(){if(o_==null){o_=!1;try{document.createElement("div").focus({get preventScroll(){return o_=!0,!0}})}catch{}}return o_}function R4e(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function A4e(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}function lC(e){var t;if(typeof window>"u"||window.navigator==null)return!1;let n=(t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands;return Array.isArray(n)&&n.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function gF(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function lg(e){let t=null;return()=>(t==null&&(t=e()),t)}const Jm=lg(function(){return gF(/^Mac/i)}),xJ=lg(function(){return gF(/^iPhone/i)}),_J=lg(function(){return gF(/^iPad/i)||Jm()&&navigator.maxTouchPoints>1}),fb=lg(function(){return xJ()||_J()}),vE=lg(function(){return Jm()||fb()}),vF=lg(function(){return lC(/AppleWebKit/i)&&!yF()}),yF=lg(function(){return lC(/Chrome/i)}),zS=lg(function(){return lC(/Android/i)}),T4e=lg(function(){return lC(/Firefox/i)}),k4e=P.createContext({isNative:!0,open:F4e,useHref:e=>e});function T3(){return P.useContext(k4e)}function P4e(e,t){let n=e.getAttribute("target");return(!n||n==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function B1(e,t,n=!0){var r,i;let{metaKey:a,ctrlKey:u,altKey:l,shiftKey:o}=t;T4e()&&(!((i=window.event)===null||i===void 0||(r=i.type)===null||r===void 0)&&r.startsWith("key"))&&e.target==="_blank"&&(Jm()?a=!0:u=!0);let s=vF()&&Jm()&&!_J()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:u,altKey:l,shiftKey:o}):new MouseEvent("click",{metaKey:a,ctrlKey:u,altKey:l,shiftKey:o,bubbles:!0,cancelable:!0});B1.isOpening=n,Ou(e),e.dispatchEvent(s),B1.isOpening=!1}B1.isOpening=!1;function M4e(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function F4e(e,t){M4e(e,n=>B1(n,t))}function EJ(e){let t=T3();var n;const r=t.useHref((n=e.href)!==null&&n!==void 0?n:"");return{"data-href":e.href?r:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function bF(e){let t=T3();var n;const r=t.useHref((n=e==null?void 0:e.href)!==null&&n!==void 0?n:"");return{href:e!=null&&e.href?r:void 0,target:e==null?void 0:e.target,rel:e==null?void 0:e.rel,download:e==null?void 0:e.download,ping:e==null?void 0:e.ping,referrerPolicy:e==null?void 0:e.referrerPolicy}}function N4e(e,t,n,r){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&P4e(e.currentTarget,e)&&n&&(e.preventDefault(),t.open(e.currentTarget,e,n,r))}let gv=new Map,E7=new Set;function Yq(){if(typeof window>"u")return;function e(r){return"propertyName"in r}let t=r=>{if(!e(r)||!r.target)return;let i=gv.get(r.target);i||(i=new Set,gv.set(r.target,i),r.target.addEventListener("transitioncancel",n,{once:!0})),i.add(r.propertyName)},n=r=>{if(!e(r)||!r.target)return;let i=gv.get(r.target);if(i&&(i.delete(r.propertyName),i.size===0&&(r.target.removeEventListener("transitioncancel",n),gv.delete(r.target)),gv.size===0)){for(let a of E7)a();E7.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",n)}typeof document<"u"&&(document.readyState!=="loading"?Yq():document.addEventListener("DOMContentLoaded",Yq));function I4e(){for(const[e]of gv)"isConnected"in e&&!e.isConnected&&gv.delete(e)}function DJ(e){requestAnimationFrame(()=>{I4e(),gv.size===0?e():E7.add(e)})}function ty(){let e=P.useRef(new Map),t=P.useCallback((i,a,u,l)=>{let o=l!=null&&l.once?(...s)=>{e.current.delete(u),u(...s)}:u;e.current.set(u,{type:a,eventTarget:i,fn:o,options:l}),i.addEventListener(a,o,l)},[]),n=P.useCallback((i,a,u,l)=>{var o;let s=((o=e.current.get(u))===null||o===void 0?void 0:o.fn)||u;i.removeEventListener(a,s,l),e.current.delete(u)},[]),r=P.useCallback(()=>{e.current.forEach((i,a)=>{n(i.eventTarget,i.type,a,i.options)})},[n]);return P.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Fv(e,t){let{id:n,"aria-label":r,"aria-labelledby":i}=e;return n=hi(n),i&&r?i=[...new Set([n,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!r&&!i&&t&&(r=t),{id:n,"aria-label":r,"aria-labelledby":i}}function _u(e){const t=P.useRef(null),n=P.useRef(void 0),r=P.useCallback(i=>{if(typeof e=="function"){const a=e,u=a(i);return()=>{typeof u=="function"?u():a(null)}}else if(e)return e.current=i,()=>{e.current=null}},[e]);return P.useMemo(()=>({get current(){return t.current},set current(i){t.current=i,n.current&&(n.current(),n.current=void 0),i!=null&&(n.current=r(i))}}),[r])}function $J(e,t){const n=P.useRef(!0),r=P.useRef(null);P.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),P.useEffect(()=>{let i=r.current;n.current?n.current=!1:(!i||t.some((a,u)=>!Object.is(a,i[u])))&&e(),r.current=t},t)}function Gq(e,t){const n=P.useRef(!0),r=P.useRef(null);Qr(()=>(n.current=!0,()=>{n.current=!1}),[]),Qr(()=>{n.current?n.current=!1:(!r.current||t.some((i,a)=>!Object.is(i,r[a])))&&e(),r.current=t},t)}function L4e(){return typeof window.ResizeObserver<"u"}function Q1(e){const{ref:t,box:n,onResize:r}=e;P.useEffect(()=>{let i=t==null?void 0:t.current;if(i)if(L4e()){const a=new window.ResizeObserver(u=>{u.length&&r()});return a.observe(i,{box:n}),()=>{i&&a.unobserve(i)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,t,n])}function OF(e,t){Qr(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function z1(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}function c0(e,t){let n=e;for(z1(n,t)&&(n=n.parentElement);n&&!z1(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function B4e(e,t){const n=[];for(;e&&e!==document.documentElement;)z1(e,t)&&n.push(e),e=e.parentElement;return n}function v1(e){return Jm()?e.metaKey:e.ctrlKey}const Q4e=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function $2(e){return e instanceof HTMLInputElement&&!Q4e.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}let Xc=typeof document<"u"&&window.visualViewport;function z4e(){let e=Jd(),[t,n]=P.useState(()=>e?{width:0,height:0}:Kq());return P.useEffect(()=>{let r=()=>{Xc&&Xc.scale>1||n(u=>{let l=Kq();return l.width===u.width&&l.height===u.height?u:l})},i,a=u=>{Xc&&Xc.scale>1||$2(u.target)&&(i=requestAnimationFrame(()=>{(!document.activeElement||!$2(document.activeElement))&&n(l=>{let o={width:window.innerWidth,height:window.innerHeight};return o.width===l.width&&o.height===l.height?l:o})}))};return window.addEventListener("blur",a,!0),Xc?Xc.addEventListener("resize",r):window.addEventListener("resize",r),()=>{cancelAnimationFrame(i),window.removeEventListener("blur",a,!0),Xc?Xc.removeEventListener("resize",r):window.removeEventListener("resize",r)}},[]),t}function Kq(){return{width:Xc?Xc.width*Xc.scale:window.innerWidth,height:Xc?Xc.height*Xc.scale:window.innerHeight}}let q4e=0;const JA=new Map;function oC(e){let[t,n]=P.useState();return Qr(()=>{if(!e)return;let r=JA.get(e);if(r)n(r.element.id);else{let i=`react-aria-description-${q4e++}`;n(i);let a=document.createElement("div");a.id=i,a.style.display="none",a.textContent=e,document.body.appendChild(a),r={refCount:0,element:a},JA.set(e,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),JA.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function Zd(e,t,n,r){let i=li(n),a=n==null;P.useEffect(()=>{if(a||!e.current)return;let u=e.current;return u.addEventListener(t,i,r),()=>{u.removeEventListener(t,i,r)}},[e,t,r,a,i])}function CJ(e,t){let n=Wq(e,t,"left"),r=Wq(e,t,"top"),i=t.offsetWidth,a=t.offsetHeight,u=e.scrollLeft,l=e.scrollTop,{borderTopWidth:o,borderLeftWidth:s,scrollPaddingTop:c,scrollPaddingRight:d,scrollPaddingBottom:h,scrollPaddingLeft:m}=getComputedStyle(e),{scrollMarginTop:y,scrollMarginRight:v,scrollMarginBottom:_,scrollMarginLeft:x}=getComputedStyle(t),E=u+parseInt(s,10),w=l+parseInt(o,10),T=E+e.clientWidth,R=w+e.clientHeight,C=parseInt(c,10)||0,k=parseInt(h,10)||0,F=parseInt(d,10)||0,z=parseInt(m,10)||0,Z=parseInt(y,10)||0,q=parseInt(_,10)||0,j=parseInt(v,10)||0,N=parseInt(x,10)||0,V=n-N,W=n+i+j,G=r-Z,J=r+a+q,te=u+parseInt(s,10)+z,X=T-F,M=l+parseInt(o,10)+C,K=R-k;(V>te||W<X)&&(V<=u+z?u=V-parseInt(s,10)-z:W>T-F&&(u+=W-T+F)),(G>M||J<K)&&(G<=w+C?l=G-parseInt(o,10)-C:J>R-k&&(l+=J-R+k)),e.scrollTo({left:u,top:l})}function Wq(e,t,n){const r=n==="left"?"offsetLeft":"offsetTop";let i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){i-=e[r];break}t=t.offsetParent}return i}function Mm(e,t){if(e&&document.contains(e)){let u=document.scrollingElement||document.documentElement;if(!(window.getComputedStyle(u).overflow==="hidden")&&!yF()){var n;let{left:o,top:s}=e.getBoundingClientRect();e==null||(n=e.scrollIntoView)===null||n===void 0||n.call(e,{block:"nearest"});let{left:c,top:d}=e.getBoundingClientRect();if(Math.abs(o-c)>1||Math.abs(s-d)>1){var r,i,a;t==null||(i=t.containingElement)===null||i===void 0||(r=i.scrollIntoView)===null||r===void 0||r.call(i,{block:"center",inline:"center"}),(a=e.scrollIntoView)===null||a===void 0||a.call(e,{block:"nearest"})}}else{let o=B4e(e);for(let s of o)CJ(s,e)}}}function wJ(e){return e.pointerType===""&&e.isTrusted?!0:zS()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function V4e(e){return!zS()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function U4e(e,t){let n=P.useRef(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}function ny(e,t,n){let r=li(()=>{n&&n(t)});P.useEffect(()=>{var i;let a=e==null||(i=e.current)===null||i===void 0?void 0:i.form;return a==null||a.addEventListener("reset",r),()=>{a==null||a.removeEventListener("reset",r)}},[e,r])}function j4e(e,t){let{collection:n,onLoadMore:r,scrollOffset:i=1}=e,a=P.useRef(null),u=li(l=>{for(let o of l)o.isIntersecting&&r&&r()});Qr(()=>(t.current&&(a.current=new IntersectionObserver(u,{root:c0(t==null?void 0:t.current),rootMargin:`0px ${100*i}% ${100*i}% ${100*i}%`}),a.current.observe(t.current)),()=>{a.current&&a.current.disconnect()}),[n,u,t,i])}function D7(e){const t=P.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}const RJ="react-aria-clear-focus",$7="react-aria-focus";var zf=wW();const AJ=oa(zf);function sC(e,t=!0){let[n,r]=P.useState(!0),i=n&&t;return Qr(()=>{if(i&&e.current&&"getAnimations"in e.current)for(let a of e.current.getAnimations())a instanceof CSSTransition&&a.cancel()},[e,i]),TJ(e,i,P.useCallback(()=>r(!1),[])),i}function GE(e,t){let[n,r]=P.useState(t?"open":"closed");switch(n){case"open":t||r("exiting");break;case"closed":case"exiting":t&&r("open");break}let i=n==="exiting";return TJ(e,i,P.useCallback(()=>{r(a=>a==="exiting"?"closed":a)},[])),i}function TJ(e,t,n){Qr(()=>{if(t&&e.current){if(!("getAnimations"in e.current)){n();return}let r=e.current.getAnimations();if(r.length===0){n();return}let i=!1;return Promise.all(r.map(a=>a.finished)).then(()=>{i||zf.flushSync(()=>{n()})}).catch(()=>{}),()=>{i=!0}}},[e,t,n])}const Z4e=typeof Element<"u"&&"checkVisibility"in Element.prototype;function H4e(e){const t=ef(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,i=n!=="none"&&r!=="hidden"&&r!=="collapse";if(i){const{getComputedStyle:a}=e.ownerDocument.defaultView;let{display:u,visibility:l}=a(e);i=u!=="none"&&l!=="hidden"&&l!=="collapse"}return i}function X4e(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function SF(e,t){return Z4e?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):e.nodeName!=="#comment"&&H4e(e)&&X4e(e,t)&&(!e.parentElement||SF(e.parentElement,e))}const xF=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],Y4e=xF.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";xF.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const G4e=xF.join(':not([hidden]):not([tabindex="-1"]),');function kJ(e){return e.matches(Y4e)&&SF(e)&&!PJ(e)}function K4e(e){return e.matches(G4e)&&SF(e)&&!PJ(e)}function PJ(e){let t=e;for(;t!=null;){if(t instanceof t.ownerDocument.defaultView.HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function Vu(e,t,n){let[r,i]=P.useState(e||t),a=P.useRef(e!==void 0),u=e!==void 0;P.useEffect(()=>{a.current,a.current=u},[u]);let l=u?e:r,o=P.useCallback((s,...c)=>{let d=(h,...m)=>{n&&(Object.is(l,h)||n(h,...m)),u||(l=h)};typeof s=="function"?i((m,...y)=>{let v=s(u?l:m,...y);return d(v,...c),u?m:v}):(u||i(s),d(s,...c))},[u,l,n]);return[l,o]}function eo(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}function s_(e,t){let n=e,r=0,i=t.toString(),a=i.toLowerCase().indexOf("e-");if(a>0)r=Math.abs(Math.floor(Math.log10(Math.abs(t))))+a;else{let u=i.indexOf(".");u>=0&&(r=i.length-u)}if(r>0){let u=Math.pow(10,r);n=Math.round(n*u)/u}return n}function Hc(e,t,n,r){t=Number(t),n=Number(n);let i=(e-(isNaN(t)?0:t))%r,a=s_(Math.abs(i)*2>=r?e+Math.sign(i)*(r-Math.abs(i)):e-i,r);return isNaN(t)?!isNaN(n)&&a>n&&(a=Math.floor(s_(n/r,r))*r):a<t?a=t:!isNaN(n)&&a>n&&(a=t+Math.floor(s_((n-t)/r,r))*r),a=s_(a,r),a}function dl(e,t,n=10){const r=Math.pow(n,t);return Math.round(e*r)/r}const W4e=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),J4e=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function e2e(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return W4e.has(n.script)}let t=e.split("-")[0];return J4e.has(t)}const t2e=Symbol.for("react-aria.i18n.locale");function MJ(){let e=typeof window<"u"&&window[t2e]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:e2e(e)?"rtl":"ltr"}}let C7=MJ(),h2=new Set;function Jq(){C7=MJ();for(let e of h2)e(C7)}function n2e(){let e=Jd(),[t,n]=P.useState(C7);return P.useEffect(()=>(h2.size===0&&window.addEventListener("languagechange",Jq),h2.add(n),()=>{h2.delete(n),h2.size===0&&window.removeEventListener("languagechange",Jq)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const r2e=ve.createContext(null);function Ctt(){let e=n2e();return P.useContext(r2e)||e}var w7=function(e,t){return w7=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},w7(e,t)};function FJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");w7(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var Vd=function(){return Vd=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Vd.apply(this,arguments)};function i2e(e,t,n,r){function i(a){return a instanceof n?a:new n(function(u){u(a)})}return new(n||(n=Promise))(function(a,u){function l(c){try{s(r.next(c))}catch(d){u(d)}}function o(c){try{s(r.throw(c))}catch(d){u(d)}}function s(c){c.done?a(c.value):i(c.value).then(l,o)}s((r=r.apply(e,t||[])).next())})}function a2e(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=l(0),u.throw=l(1),u.return=l(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(s){return function(c){return o([s,c])}}function o(s){if(r)throw new TypeError("Generator is already executing.");for(;u&&(u=0,s[0]&&(n=0)),n;)try{if(r=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return n.label++,{value:s[1],done:!1};case 5:n.label++,i=s[1],s=[0];continue;case 7:s=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1],a=s;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(s);break}a[2]&&n.ops.pop(),n.trys.pop();continue}s=t.call(e,n)}catch(c){s=[6,c],i=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function zO(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}const u2e=Symbol.for("react-aria.i18n.locale"),l2e=Symbol.for("react-aria.i18n.strings");let rO;class Wh{getStringForLocale(t,n){let i=this.getStringsForLocale(n)[t];if(!i)throw new Error(`Could not find intl message ${t} in ${n} locale`);return i}getStringsForLocale(t){let n=this.strings[t];return n||(n=o2e(t,this.strings,this.defaultLocale),this.strings[t]=n),n}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let n=window[u2e];if(rO===void 0){let i=window[l2e];if(!i)return null;rO={};for(let a in i)rO[a]=new Wh({[n]:i[a]},n)}let r=rO==null?void 0:rO[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(t,n="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=n}}function o2e(e,t,n="en-US"){if(t[e])return t[e];let r=s2e(e);if(t[r])return t[r];for(let i in t)if(i.startsWith(r+"-"))return t[i];return t[n]}function s2e(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const eV=new Map,tV=new Map;class _F{format(t,n){let r=this.strings.getStringForLocale(t,this.locale);return typeof r=="function"?r(n,this):r}plural(t,n,r="cardinal"){let i=n["="+t];if(i)return typeof i=="function"?i():i;let a=this.locale+":"+r,u=eV.get(a);u||(u=new Intl.PluralRules(this.locale,{type:r}),eV.set(a,u));let l=u.select(t);return i=n[l]||n.other,typeof i=="function"?i():i}number(t){let n=tV.get(this.locale);return n||(n=new Intl.NumberFormat(this.locale),tV.set(this.locale,n)),n.format(t)}select(t,n){let r=t[n]||t.other;return typeof r=="function"?r():r}constructor(t,n){this.locale=t,this.strings=n}}function qO(e,t){return e-t*Math.floor(e/t)}const NJ=1721426;function S1(e,t,n,r){t=qS(e,t);let i=t-1,a=-2;return n<=2?a=0:xv(t)&&(a=-1),NJ-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function xv(e){return e%4===0&&(e%100!==0||e%400===0)}function qS(e,t){return e==="BC"?1-t:t}function cC(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const c2e={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class jf{fromJulianDay(t){let n=t,r=n-NJ,i=Math.floor(r/146097),a=qO(r,146097),u=Math.floor(a/36524),l=qO(a,36524),o=Math.floor(l/1461),s=qO(l,1461),c=Math.floor(s/365),d=i*400+u*100+o*4+c+(u!==4&&c!==4?1:0),[h,m]=cC(d),y=n-S1(h,m,1,1),v=2;n<S1(h,m,3,1)?v=0:xv(m)&&(v=1);let _=Math.floor(((y+v)*12+373)/367),x=n-S1(h,m,_,1)+1;return new qu(h,m,_,x)}toJulianDay(t){return S1(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return c2e[xv(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return xv(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}function IJ(e,t){var n,r,i,a;return(a=(i=(n=e.isEqual)===null||n===void 0?void 0:n.call(e,t))!==null&&i!==void 0?i:(r=t.isEqual)===null||r===void 0?void 0:r.call(t,e))!==null&&a!==void 0?a:e.identifier===t.identifier}function LJ(e){return qm(Date.now(),e)}function f2e(e){return UJ(LJ(e))}function BJ(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function QJ(e,t){return nV(e)-nV(t)}function nV(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let eT=null;function VS(){return eT==null&&(eT=new Intl.DateTimeFormat().resolvedOptions().timeZone),eT}function d2e(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function h2e(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function s3(e){e=ac(e,new jf);let t=qS(e.era,e.year);return zJ(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function zJ(e,t,n,r,i,a,u){let l=new Date;return l.setUTCHours(r,i,a,u),l.setUTCFullYear(e,t-1,n),l.getTime()}function R7(e,t){if(t==="UTC")return 0;if(e>0&&t===VS())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:u,second:l}=qJ(e,t);return zJ(n,r,i,a,u,l,0)-Math.floor(e/1e3)*1e3}const rV=new Map;function qJ(e,t){let n=rV.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),rV.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let a of r)a.type!=="literal"&&(i[a.type]=a.value);return{year:i.era==="BC"||i.era==="B"?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour==="24"?0:+i.hour,minute:+i.minute,second:+i.second}}const iV=864e5;function p2e(e,t,n,r){return(n===r?[n]:[n,r]).filter(a=>m2e(e,t,a))}function m2e(e,t,n){let r=qJ(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function Nm(e,t,n="compatible"){let r=Nv(e);if(t==="UTC")return s3(r);if(t===VS()&&n==="compatible"){r=ac(r,new jf);let o=new Date,s=qS(r.era,r.year);return o.setFullYear(s,r.month-1,r.day),o.setHours(r.hour,r.minute,r.second,r.millisecond),o.getTime()}let i=s3(r),a=R7(i-iV,t),u=R7(i+iV,t),l=p2e(r,t,i-a,i-u);if(l.length===1)return l[0];if(l.length>1)switch(n){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(i-a,i-u);case"compatible":case"later":return Math.max(i-a,i-u);case"reject":throw new RangeError("No such absolute time found")}}function VJ(e,t,n="compatible"){return new Date(Nm(e,t,n))}function qm(e,t){let n=R7(e,t),r=new Date(e+n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,u=r.getUTCDate(),l=r.getUTCHours(),o=r.getUTCMinutes(),s=r.getUTCSeconds(),c=r.getUTCMilliseconds();return new c3(i<1?"BC":"AD",i<1?-i+1:i,a,u,t,n,l,o,s,c)}function UJ(e){return new qu(e.calendar,e.era,e.year,e.month,e.day)}function Nv(e,t){let n=0,r=0,i=0,a=0;if("timeZone"in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new Z2(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function aV(e){return new dC(e.hour,e.minute,e.second,e.millisecond)}function ac(e,t){if(IJ(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,q1(r),r}function jJ(e,t,n){if(e instanceof c3)return e.timeZone===t?e:ZJ(e,t);let r=Nm(e,t,n);return qm(r,t)}function g2e(e){let t=s3(e)-e.offset;return new Date(t)}function ZJ(e,t){let n=s3(e)-e.offset;return ac(qm(n,t),e.calendar)}const P4=36e5;function fC(e,t){let n=e.copy(),r="hour"in n?GJ(n,t):0;A7(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,T7(n),HJ(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,v2e(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){var a,u;let o=(a=(u=n.calendar).isInverseEra)===null||a===void 0?void 0:a.call(u,n);n.year=i,n.month=o?1:n.calendar.getMonthsInYear(n),n.day=o?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let l=n.calendar.getMonthsInYear(n);return n.month>l&&(n.month=l,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function A7(e,t){var n,r;!((n=(r=e.calendar).isInverseEra)===null||n===void 0)&&n.call(r,e)&&(t=-t),e.year+=t}function T7(e){for(;e.month<1;)A7(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,A7(e,1)}function v2e(e){for(;e.day<1;)e.month--,T7(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,T7(e)}function HJ(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function q1(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),HJ(e)}function EF(e){let t={};for(let n in e)typeof e[n]=="number"&&(t[n]=-e[n]);return t}function XJ(e,t){return fC(e,EF(t))}function DF(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),q1(n),n}function j2(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),YJ(n),n}function y2e(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=c_(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=c_(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=c_(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=c_(e.hour,24),t}function YJ(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function c_(e,t){let n=e%t;return n<0&&(n+=t),n}function GJ(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,y2e(e)}function KJ(e,t){let n=e.copy();return GJ(n,t),n}function b2e(e,t){return KJ(e,EF(t))}function $F(e,t,n,r){let i=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),o=l.indexOf(e.era);if(o<0)throw new Error("Invalid era: "+e.era);o=Vm(o,n,0,l.length-1,r==null?void 0:r.round),i.era=l[o],q1(i);break}case"year":var a,u;!((a=(u=i.calendar).isInverseEra)===null||a===void 0)&&a.call(u,i)&&(n=-n),i.year=Vm(e.year,n,-1/0,9999,r==null?void 0:r.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case"month":i.month=Vm(e.month,n,1,e.calendar.getMonthsInYear(e),r==null?void 0:r.round);break;case"day":i.day=Vm(e.day,n,1,e.calendar.getDaysInMonth(e),r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),q1(i),i}function CF(e,t,n,r){let i=e.copy();switch(t){case"hour":{let a=e.hour,u=0,l=23;if((r==null?void 0:r.hourCycle)===12){let o=a>=12;u=o?12:0,l=o?23:11}i.hour=Vm(a,n,u,l,r==null?void 0:r.round);break}case"minute":i.minute=Vm(e.minute,n,0,59,r==null?void 0:r.round);break;case"second":i.second=Vm(e.second,n,0,59,r==null?void 0:r.round);break;case"millisecond":i.millisecond=Vm(e.millisecond,n,0,999,r==null?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return i}function Vm(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e<n&&(e=r);let a=Math.abs(t);t>0?e=Math.ceil(e/a)*a:e=Math.floor(e/a)*a,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function WJ(e,t){let n;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let i=fC(Nv(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});n=Nm(i,e.timeZone)}else n=s3(e)-e.offset;n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5;let r=qm(n,e.timeZone);return ac(r,e.calendar)}function O2e(e,t){return WJ(e,EF(t))}function S2e(e,t,n,r){switch(t){case"hour":{let i=0,a=23;if((r==null?void 0:r.hourCycle)===12){let y=e.hour>=12;i=y?12:0,a=y?23:11}let u=Nv(e),l=ac(j2(u,{hour:i}),new jf),o=[Nm(l,e.timeZone,"earlier"),Nm(l,e.timeZone,"later")].filter(y=>qm(y,e.timeZone).day===l.day)[0],s=ac(j2(u,{hour:a}),new jf),c=[Nm(s,e.timeZone,"earlier"),Nm(s,e.timeZone,"later")].filter(y=>qm(y,e.timeZone).day===s.day).pop(),d=s3(e)-e.offset,h=Math.floor(d/P4),m=d%P4;return d=Vm(h,n,Math.floor(o/P4),Math.floor(c/P4),r==null?void 0:r.round)*P4+m,ac(qm(d,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return CF(e,t,n,r);case"era":case"year":case"month":case"day":{let i=$F(Nv(e),t,n,r),a=Nm(i,e.timeZone);return ac(qm(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function x2e(e,t,n){let r=Nv(e),i=j2(DF(r,t),t);if(i.compare(r)===0)return e;let a=Nm(i,e.timeZone,n);return ac(qm(a,e.timeZone),e.calendar)}const _2e=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/,E2e=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/,D2e=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;function $2e(e){let t=e.match(_2e);if(!t)throw new Error("Invalid ISO 8601 date string: "+e);let n=new qu(xl(t[1],0,9999),xl(t[2],1,12),1);return n.day=xl(t[3],1,n.calendar.getDaysInMonth(n)),n}function C2e(e){let t=e.match(E2e);if(!t)throw new Error("Invalid ISO 8601 date time string: "+e);let n=xl(t[1],-9999,9999),r=n<1?"BC":"AD",i=new Z2(r,n<1?-n+1:n,xl(t[2],1,12),1,t[4]?xl(t[4],0,23):0,t[5]?xl(t[5],0,59):0,t[6]?xl(t[6],0,59):0,t[7]?xl(t[7],0,1/0)*1e3:0);return i.day=xl(t[3],0,i.calendar.getDaysInMonth(i)),i}function w2e(e,t){let n=e.match(D2e);if(!n)throw new Error("Invalid ISO 8601 date time string: "+e);let r=xl(n[1],-9999,9999),i=r<1?"BC":"AD",a=new c3(i,r<1?-r+1:r,xl(n[2],1,12),1,t,0,n[4]?xl(n[4],0,23):0,n[5]?xl(n[5],0,59):0,n[6]?xl(n[6],0,59):0,n[7]?xl(n[7],0,1/0)*1e3:0);a.day=xl(n[3],0,a.calendar.getDaysInMonth(a));var u;return n[8]&&(a.offset=xl(n[8],-23,23)*36e5+xl((u=n[9])!==null&&u!==void 0?u:"0",0,59)*6e4),ZJ(a,t)}function wtt(e){return w2e(e,VS())}function xl(e,t,n){let r=Number(e);if(r<t||r>n)throw new RangeError(`Value out of range: ${t} <= ${r} <= ${n}`);return r}function JJ(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function eee(e){let t=ac(e,new jf),n;return t.era==="BC"?n=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):n=String(t.year).padStart(4,"0"),`${n}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function tee(e){return`${eee(e)}T${JJ(e)}`}function R2e(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let n=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4),i=Math.floor(e%36e5%6e4/1e3),a=`${t}${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`;return i!==0&&(a+=`:${String(i).padStart(2,"0")}`),a}function A2e(e){return`${tee(e)}${R2e(e.offset)}[${e.timeZone}]`}function T2e(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function US(e,t,n){T2e(e,t),t.set(e,n)}function wF(e){let t=typeof e[0]=="object"?e.shift():new jf,n;if(typeof e[0]=="string")n=e.shift();else{let u=t.getEras();n=u[u.length-1]}let r=e.shift(),i=e.shift(),a=e.shift();return[t,n,r,i,a]}var k2e=new WeakMap;class qu{copy(){return this.era?new qu(this.calendar,this.era,this.year,this.month,this.day):new qu(this.calendar,this.year,this.month,this.day)}add(t){return fC(this,t)}subtract(t){return XJ(this,t)}set(t){return DF(this,t)}cycle(t,n,r){return $F(this,t,n,r)}toDate(t){return VJ(this,t)}toString(){return eee(this)}compare(t){return BJ(this,t)}constructor(...t){US(this,k2e,{writable:!0,value:void 0});let[n,r,i,a,u]=wF(t);this.calendar=n,this.era=r,this.year=i,this.month=a,this.day=u,q1(this)}}var P2e=new WeakMap;class dC{copy(){return new dC(this.hour,this.minute,this.second,this.millisecond)}add(t){return KJ(this,t)}subtract(t){return b2e(this,t)}set(t){return j2(this,t)}cycle(t,n,r){return CF(this,t,n,r)}toString(){return JJ(this)}compare(t){return QJ(this,t)}constructor(t=0,n=0,r=0,i=0){US(this,P2e,{writable:!0,value:void 0}),this.hour=t,this.minute=n,this.second=r,this.millisecond=i,YJ(this)}}var M2e=new WeakMap;class Z2{copy(){return this.era?new Z2(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Z2(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return fC(this,t)}subtract(t){return XJ(this,t)}set(t){return DF(j2(this,t),t)}cycle(t,n,r){switch(t){case"era":case"year":case"month":case"day":return $F(this,t,n,r);default:return CF(this,t,n,r)}}toDate(t,n){return VJ(this,t,n)}toString(){return tee(this)}compare(t){let n=BJ(this,t);return n===0?QJ(this,Nv(t)):n}constructor(...t){US(this,M2e,{writable:!0,value:void 0});let[n,r,i,a,u]=wF(t);this.calendar=n,this.era=r,this.year=i,this.month=a,this.day=u,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,q1(this)}}var F2e=new WeakMap;class c3{copy(){return this.era?new c3(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new c3(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return WJ(this,t)}subtract(t){return O2e(this,t)}set(t,n){return x2e(this,t,n)}cycle(t,n,r){return S2e(this,t,n,r)}toDate(){return g2e(this)}toString(){return A2e(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-jJ(t,this.timeZone).toDate().getTime()}constructor(...t){US(this,F2e,{writable:!0,value:void 0});let[n,r,i,a,u]=wF(t),l=t.shift(),o=t.shift();this.calendar=n,this.era=r,this.year=i,this.month=a,this.day=u,this.timeZone=l,this.offset=o,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,q1(this)}}const VO=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],N2e=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],yE=[1867,1911,1925,1988,2018],ov=["meiji","taisho","showa","heisei","reiwa"];function uV(e){const t=VO.findIndex(([n,r,i])=>e.year<n||e.year===n&&e.month<r||e.year===n&&e.month===r&&e.day<i);return t===-1?VO.length-1:t===0?0:t-1}function tT(e){let t=yE[ov.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new qu(e.year+t,e.month,e.day)}class I2e extends jf{fromJulianDay(t){let n=super.fromJulianDay(t),r=uV(n);return new qu(this,ov[r],n.year-yE[r],n.month,n.day)}toJulianDay(t){return super.toJulianDay(tT(t))}balanceDate(t){let n=tT(t),r=uV(n);ov[r]!==t.era&&(t.era=ov[r],t.year=n.year-yE[r]),this.constrainDate(t)}constrainDate(t){let n=ov.indexOf(t.era),r=N2e[n];if(r!=null){let[i,a,u]=r,l=i-yE[n];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(a,t.month),t.month===a&&(t.day=Math.min(u,t.day)))}if(t.year===1&&n>=0){let[,i,a]=VO[n];t.month=Math.max(i,t.month),t.month===i&&(t.day=Math.max(a,t.day))}}getEras(){return ov}getYearsInEra(t){let n=ov.indexOf(t.era),r=VO[n],i=VO[n+1];if(i==null)return 9999-r[0]+1;let a=i[0]-r[0];return(t.month<i[1]||t.month===i[1]&&t.day<i[2])&&a++,a}getDaysInMonth(t){return super.getDaysInMonth(tT(t))}getMinimumMonthInYear(t){let n=lV(t);return n?n[1]:1}getMinimumDayInMonth(t){let n=lV(t);return n&&t.month===n[1]?n[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function lV(e){if(e.year===1){let t=ov.indexOf(e.era);return VO[t]}}const nee=-543;class L2e extends jf{fromJulianDay(t){let n=super.fromJulianDay(t),r=qS(n.era,n.year);return new qu(this,r-nee,n.month,n.day)}toJulianDay(t){return super.toJulianDay(oV(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(oV(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function oV(e){let[t,n]=cC(e.year+nee);return new qu(t,n,e.month,e.day)}const KE=1911;function ree(e){return e.era==="minguo"?e.year+KE:1-e.year+KE}function sV(e){let t=e-KE;return t>0?["minguo",t]:["before_minguo",1-t]}class B2e extends jf{fromJulianDay(t){let n=super.fromJulianDay(t),r=qS(n.era,n.year),[i,a]=sV(r);return new qu(this,i,a,n.month,n.day)}toJulianDay(t){return super.toJulianDay(cV(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[n,r]=sV(ree(t));t.era=n,t.year=r}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(cV(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-KE}constructor(...t){super(...t),this.identifier="roc"}}function cV(e){let[t,n]=cC(ree(e));return new qu(t,n,e.month,e.day)}const fV=1948320,dV=[0,31,62,93,124,155,186,216,246,276,306,336];class Q2e{fromJulianDay(t){let n=t-fV,r=1+Math.floor((33*n+3)/12053),i=365*(r-1)+Math.floor((8*r+21)/33),a=n-i,u=a<216?Math.floor(a/31):Math.floor((a-6)/30),l=a-dV[u]+1;return new qu(this,r,u+1,l)}toJulianDay(t){let n=fV-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return n+=dV[t.month-1],n+=t.day,n}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||qO(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const nT=78,hV=80;class z2e extends jf{fromJulianDay(t){let n=super.fromJulianDay(t),r=n.year-nT,i=t-S1(n.era,n.year,1,1),a;i<hV?(r--,a=xv(n.year-1)?31:30,i+=a+155+90+10):(a=xv(n.year)?31:30,i-=hV);let u,l;if(i<a)u=1,l=i+1;else{let o=i-a;o<155?(u=Math.floor(o/31)+2,l=o%31+1):(o-=155,u=Math.floor(o/30)+7,l=o%30+1)}return new qu(this,r,u,l)}toJulianDay(t){let n=t.year+nT,[r,i]=cC(n),a,u;return xv(i)?(a=31,u=S1(r,i,3,21)):(a=30,u=S1(r,i,3,22)),t.month===1?u+t.day-1:(u+=a+Math.min(t.month-2,5)*31,t.month>=8&&(u+=(t.month-7)*30),u+=t.day-1,u)}getDaysInMonth(t){return t.month===1&&xv(t.year+nT)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const WE=1948440,pV=1948439,Id=1300,iO=1600,q2e=460322;function JE(e,t,n,r){return r+Math.ceil(29.5*(n-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function iee(e,t,n){let r=Math.floor((30*(n-t)+10646)/10631),i=Math.min(12,Math.ceil((n-(29+JE(t,r,1,1)))/29.5)+1),a=n-JE(t,r,i,1)+1;return new qu(e,r,i,a)}function mV(e){return(14+11*e)%30<11}class RF{fromJulianDay(t){return iee(this,WE,t)}toJulianDay(t){return JE(WE,t.year,t.month,t.day)}getDaysInMonth(t){let n=29+t.month%2;return t.month===12&&mV(t.year)&&n++,n}getMonthsInYear(){return 12}getDaysInYear(t){return mV(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class V2e extends RF{fromJulianDay(t){return iee(this,pV,t)}toJulianDay(t){return JE(pV,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const U2e="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let k7,UO;function bE(e){return q2e+UO[e-Id]}function p2(e,t){let n=e-Id,r=1<<11-(t-1);return(k7[n]&r)===0?29:30}function gV(e,t){let n=bE(e);for(let r=1;r<t;r++)n+=p2(e,r);return n}function vV(e){return UO[e+1-Id]-UO[e-Id]}class j2e extends RF{fromJulianDay(t){let n=t-WE,r=bE(Id),i=bE(iO);if(n<r||n>i)return super.fromJulianDay(t);{let a=Id-1,u=1,l=1;for(;l>0;){a++,l=n-bE(a)+1;let o=vV(a);if(l===o){u=12;break}else if(l<o){let s=p2(a,u);for(u=1;l>s;)l-=s,u++,s=p2(a,u);break}}return new qu(this,a,u,n-gV(a,u)+1)}}toJulianDay(t){return t.year<Id||t.year>iO?super.toJulianDay(t):WE+gV(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<Id||t.year>iO?super.getDaysInMonth(t):p2(t.year,t.month)}getDaysInYear(t){return t.year<Id||t.year>iO?super.getDaysInYear(t):vV(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",k7||(k7=new Uint16Array(Uint8Array.from(atob(U2e),t=>t.charCodeAt(0)).buffer)),!UO){UO=new Uint32Array(iO-Id+1);let t=0;for(let n=Id;n<=iO;n++){UO[n-Id]=t;for(let r=1;r<=12;r++)t+=p2(n,r)}}}}const yV=347997,aee=1080,uee=24*aee,Z2e=29,H2e=12*aee+793,X2e=Z2e*uee+H2e;function y1(e){return qO(e*7+1,19)<7}function OE(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=t*29+Math.floor(n/25920);return qO(3*(r+1),7)<3&&(r+=1),r}function Y2e(e){let t=OE(e-1),n=OE(e);return OE(e+1)-n===356?2:n-t===382?1:0}function C2(e){return OE(e)+Y2e(e)}function lee(e){return C2(e+1)-C2(e)}function G2e(e){let t=lee(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function f_(e,t){if(t>=6&&!y1(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let n=G2e(e);return t===2?n===2?30:29:t===3?n===0?29:30:t===6?y1(e)?30:0:30}class K2e{fromJulianDay(t){let n=t-yV,r=n*uee/X2e,i=Math.floor((19*r+234)/235)+1,a=C2(i),u=Math.floor(n-a);for(;u<1;)i--,a=C2(i),u=Math.floor(n-a);let l=1,o=0;for(;o<u;)o+=f_(i,l),l++;l--,o-=f_(i,l);let s=u-o;return new qu(this,i,l,s)}toJulianDay(t){let n=C2(t.year);for(let r=1;r<t.month;r++)n+=f_(t.year,r);return n+t.day+yV}getDaysInMonth(t){return f_(t.year,t.month)}getMonthsInYear(t){return y1(t.year)?13:12}getDaysInYear(t){return lee(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,n){n.year!==t.year&&(y1(n.year)&&!y1(t.year)&&n.month>6?t.month--:!y1(n.year)&&y1(t.year)&&n.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const P7=1723856,bV=1824665,M7=5500;function eD(e,t,n,r){return e+365*t+Math.floor(t/4)+30*(n-1)+r-1}function AF(e,t){let n=Math.floor(4*(t-e)/1461),r=1+Math.floor((t-eD(e,n,1,1))/30),i=t+1-eD(e,n,r,1);return[n,r,i]}function oee(e){return Math.floor(e%4/3)}function see(e,t){return t%13!==0?30:oee(e)+5}class TF{fromJulianDay(t){let[n,r,i]=AF(P7,t),a="AM";return n<=0&&(a="AA",n+=M7),new qu(this,a,n,r,i)}toJulianDay(t){let n=t.year;return t.era==="AA"&&(n-=M7),eD(P7,n,t.month,t.day)}getDaysInMonth(t){return see(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+oee(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class W2e extends TF{fromJulianDay(t){let[n,r,i]=AF(P7,t);return n+=M7,new qu(this,"AA",n,r,i)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class J2e extends TF{fromJulianDay(t){let[n,r,i]=AF(bV,t),a="CE";return n<=0&&(a="BCE",n=1-n),new qu(this,a,n,r,i)}toJulianDay(t){let n=t.year;return t.era==="BCE"&&(n=1-n),eD(bV,n,t.month,t.day)}getDaysInMonth(t){let n=t.year;return t.era==="BCE"&&(n=1-n),see(n,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function cee(e){switch(e){case"buddhist":return new L2e;case"ethiopic":return new TF;case"ethioaa":return new W2e;case"coptic":return new J2e;case"hebrew":return new K2e;case"indian":return new z2e;case"islamic-civil":return new RF;case"islamic-tbla":return new V2e;case"islamic-umalqura":return new j2e;case"japanese":return new I2e;case"persian":return new Q2e;case"roc":return new B2e;case"gregory":default:return new jf}}let rT=new Map;class RO{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,n){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(n)}`}formatRangeToParts(t,n){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.formatter.formatToParts(t),i=this.formatter.formatToParts(n);return[...r.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return nSe()&&(this.resolvedHourCycle||(this.resolvedHourCycle=rSe(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,n={}){this.formatter=fee(t,n),this.options=n}}const eSe={true:{ja:"h11"},false:{}};function fee(e,t={}){if(typeof t.hour12=="boolean"&&tSe()){t={...t};let i=eSe[String(t.hour12)][e.split("-")[0]],a=t.hour12?"h12":"h23";t.hourCycle=i??a,delete t.hour12}let n=e+(t?Object.entries(t).sort((i,a)=>i[0]<a[0]?-1:1).join():"");if(rT.has(n))return rT.get(n);let r=new Intl.DateTimeFormat(e,t);return rT.set(n,r),r}let iT=null;function tSe(){return iT==null&&(iT=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),iT}let aT=null;function nSe(){return aT==null&&(aT=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),aT}function rSe(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let n=fee(e,{...t,timeZone:void 0}),r=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(a=>a.type==="hour").value,10),i=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(a=>a.type==="hour").value,10);if(r===0&&i===23)return"h23";if(r===24&&i===23)return"h24";if(r===0&&i===11)return"h11";if(r===12&&i===11)return"h12";throw new Error("Unexpected hour cycle result")}function iSe(e,t){return t.get?t.get.call(e):t.value}function dee(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function aSe(e,t){var n=dee(e,t,"get");return iSe(e,n)}function uSe(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function OV(e,t,n){var r=dee(e,t,"set");return uSe(e,r,n),n}const F7=ve.createContext(null);function lSe(e){let{children:t}=e,n=P.useContext(F7),[r,i]=P.useState(0),a=P.useMemo(()=>({parent:n,modalCount:r,addModal(){i(u=>u+1),n&&n.addModal()},removeModal(){i(u=>u-1),n&&n.removeModal()}}),[n,r]);return ve.createElement(F7.Provider,{value:a},t)}function oSe(){let e=P.useContext(F7);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function sSe(e){let{modalProviderProps:t}=oSe();return ve.createElement("div",{"data-overlay-container":!0,...e,...t})}function Rtt(e){return ve.createElement(lSe,null,ve.createElement(sSe,e))}var SV=function(t,n){var r=arguments;if(n==null||!IS.call(n,"css"))return P.createElement.apply(void 0,r);var i=r.length,a=new Array(i);a[0]=eF,a[1]=JM(t,n);for(var u=2;u<i;u++)a[u]=r[u];return P.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(SV||(SV={}));var Att=$W(function(e,t){var n=e.styles,r=WM([n],void 0,P.useContext(CW)),i=P.useRef();return gB(function(){var a=t.key+"-global",u=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,o=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(u.before=t.sheet.tags[0]),o!==null&&(l=!0,o.setAttribute("data-emotion",a),u.hydrate([o])),i.current=[u,l],function(){u.flush()}},[t]),gB(function(){var a=i.current,u=a[0],l=a[1];if(l){a[1]=!1;return}if(r.next!==void 0&&xW(t,r.next,!0),u.tags.length){var o=u.tags[u.tags.length-1].nextElementSibling;u.before=o,u.flush()}t.insert("",r,u,!1)},[t,r.name]),null});function cSe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return WM(t)}function Ttt(){var e=cSe.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function H2(e,t){return H2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},H2(e,t)}function fSe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,H2(e,t)}function hee(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=hee(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function ktt(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=hee(e))&&(r&&(r+=" "),r+=t);return r}function dSe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N7(e){return N7=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},N7(e)}function hSe(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function pee(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(pee=function(){return!!e})()}function pSe(e,t,n){if(pee())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&H2(i,n.prototype),i}function I7(e){var t=typeof Map=="function"?new Map:void 0;return I7=function(r){if(r===null||!hSe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return pSe(r,arguments,N7(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),H2(i,r)},I7(e)}var h0=(function(e){fSe(t,e);function t(n){var r;return r=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+n+" for more information.")||this,dSe(r)}return t})(I7(Error));function uT(e){return Math.round(e*255)}function mSe(e,t,n){return uT(e)+","+uT(t)+","+uT(n)}function X2(e,t,n,r){if(r===void 0&&(r=mSe),t===0)return r(n,n,n);var i=(e%360+360)%360/60,a=(1-Math.abs(2*n-1))*t,u=a*(1-Math.abs(i%2-1)),l=0,o=0,s=0;i>=0&&i<1?(l=a,o=u):i>=1&&i<2?(l=u,o=a):i>=2&&i<3?(o=a,s=u):i>=3&&i<4?(o=u,s=a):i>=4&&i<5?(l=u,s=a):i>=5&&i<6&&(l=a,s=u);var c=n-a/2,d=l+c,h=o+c,m=s+c;return r(d,h,m)}var xV={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function gSe(e){if(typeof e!="string")return e;var t=e.toLowerCase();return xV[t]?"#"+xV[t]:e}var vSe=/^#[a-fA-F0-9]{6}$/,ySe=/^#[a-fA-F0-9]{8}$/,bSe=/^#[a-fA-F0-9]{3}$/,OSe=/^#[a-fA-F0-9]{4}$/,lT=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,SSe=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,xSe=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,_Se=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function V1(e){if(typeof e!="string")throw new h0(3);var t=gSe(e);if(t.match(vSe))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(ySe)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(bSe))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(OSe)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var i=lT.exec(t);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10)};var a=SSe.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var u=xSe.exec(t);if(u){var l=parseInt(""+u[1],10),o=parseInt(""+u[2],10)/100,s=parseInt(""+u[3],10)/100,c="rgb("+X2(l,o,s)+")",d=lT.exec(c);if(!d)throw new h0(4,t,c);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var h=_Se.exec(t.substring(0,50));if(h){var m=parseInt(""+h[1],10),y=parseInt(""+h[2],10)/100,v=parseInt(""+h[3],10)/100,_="rgb("+X2(m,y,v)+")",x=lT.exec(_);if(!x)throw new h0(4,t,_);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new h0(5)}function ESe(e){var t=e.red/255,n=e.green/255,r=e.blue/255,i=Math.max(t,n,r),a=Math.min(t,n,r),u=(i+a)/2;if(i===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:u,alpha:e.alpha}:{hue:0,saturation:0,lightness:u};var l,o=i-a,s=u>.5?o/(2-i-a):o/(i+a);switch(i){case t:l=(n-r)/o+(n<r?6:0);break;case n:l=(r-t)/o+2;break;default:l=(t-n)/o+4;break}return l*=60,e.alpha!==void 0?{hue:l,saturation:s,lightness:u,alpha:e.alpha}:{hue:l,saturation:s,lightness:u}}function ry(e){return ESe(V1(e))}var DSe=function(t){return t.length===7&&t[1]===t[2]&&t[3]===t[4]&&t[5]===t[6]?"#"+t[1]+t[3]+t[5]:t},L7=DSe;function f1(e){var t=e.toString(16);return t.length===1?"0"+t:t}function oT(e){return f1(Math.round(e*255))}function $Se(e,t,n){return L7("#"+oT(e)+oT(t)+oT(n))}function tD(e,t,n){return X2(e,t,n,$Se)}function CSe(e,t,n){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number")return tD(e,t,n);if(typeof e=="object"&&t===void 0&&n===void 0)return tD(e.hue,e.saturation,e.lightness);throw new h0(1)}function wSe(e,t,n,r){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&typeof r=="number")return r>=1?tD(e,t,n):"rgba("+X2(e,t,n)+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?tD(e.hue,e.saturation,e.lightness):"rgba("+X2(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new h0(2)}function B7(e,t,n){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number")return L7("#"+f1(e)+f1(t)+f1(n));if(typeof e=="object"&&t===void 0&&n===void 0)return L7("#"+f1(e.red)+f1(e.green)+f1(e.blue));throw new h0(6)}function hC(e,t,n,r){if(typeof e=="string"&&typeof t=="number"){var i=V1(e);return"rgba("+i.red+","+i.green+","+i.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&typeof r=="number")return r>=1?B7(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?B7(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new h0(7)}var RSe=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},ASe=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},TSe=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},kSe=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function iy(e){if(typeof e!="object")throw new h0(8);if(ASe(e))return hC(e);if(RSe(e))return B7(e);if(kSe(e))return wSe(e);if(TSe(e))return CSe(e);throw new h0(8)}function mee(e,t,n){return function(){var i=n.concat(Array.prototype.slice.call(arguments));return i.length>=t?e.apply(this,i):mee(e,t,i)}}function Wf(e){return mee(e,e.length,[])}function PSe(e,t){if(t==="transparent")return t;var n=ry(t);return iy(uf({},n,{hue:n.hue+parseFloat(e)}))}Wf(PSe);function k3(e,t,n){return Math.max(e,Math.min(t,n))}function MSe(e,t){if(t==="transparent")return t;var n=ry(t);return iy(uf({},n,{lightness:k3(0,1,n.lightness-parseFloat(e))}))}var FSe=Wf(MSe),Ptt=FSe;function NSe(e,t){if(t==="transparent")return t;var n=ry(t);return iy(uf({},n,{saturation:k3(0,1,n.saturation-parseFloat(e))}))}Wf(NSe);function _V(e){if(e==="transparent")return 0;var t=V1(e),n=Object.keys(t).map(function(u){var l=t[u]/255;return l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4)}),r=n[0],i=n[1],a=n[2];return parseFloat((.2126*r+.7152*i+.0722*a).toFixed(3))}function Mtt(e,t){var n=_V(e),r=_V(t);return parseFloat((n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)).toFixed(2))}function ISe(e,t){if(t==="transparent")return t;var n=ry(t);return iy(uf({},n,{lightness:k3(0,1,n.lightness+parseFloat(e))}))}var LSe=Wf(ISe),Ftt=LSe;function BSe(e,t,n){if(t==="transparent")return n;if(n==="transparent")return t;if(e===0)return n;var r=V1(t),i=uf({},r,{alpha:typeof r.alpha=="number"?r.alpha:1}),a=V1(n),u=uf({},a,{alpha:typeof a.alpha=="number"?a.alpha:1}),l=i.alpha-u.alpha,o=parseFloat(e)*2-1,s=o*l===-1?o:o+l,c=1+o*l,d=(s/c+1)/2,h=1-d,m={red:Math.floor(i.red*d+u.red*h),green:Math.floor(i.green*d+u.green*h),blue:Math.floor(i.blue*d+u.blue*h),alpha:i.alpha*parseFloat(e)+u.alpha*(1-parseFloat(e))};return hC(m)}var QSe=Wf(BSe),gee=QSe;function zSe(e,t){if(t==="transparent")return t;var n=V1(t),r=typeof n.alpha=="number"?n.alpha:1,i=uf({},n,{alpha:k3(0,1,(r*100+parseFloat(e)*100)/100)});return hC(i)}Wf(zSe);function qSe(e,t){if(t==="transparent")return t;var n=ry(t);return iy(uf({},n,{saturation:k3(0,1,n.saturation+parseFloat(e))}))}Wf(qSe);function VSe(e,t){return t==="transparent"?t:iy(uf({},ry(t),{hue:parseFloat(e)}))}Wf(VSe);function USe(e,t){return t==="transparent"?t:iy(uf({},ry(t),{lightness:parseFloat(e)}))}Wf(USe);function jSe(e,t){return t==="transparent"?t:iy(uf({},ry(t),{saturation:parseFloat(e)}))}Wf(jSe);function ZSe(e,t){return t==="transparent"?t:gee(parseFloat(e),"rgb(0, 0, 0)",t)}var HSe=Wf(ZSe),Ntt=HSe;function XSe(e,t){return t==="transparent"?t:gee(parseFloat(e),"rgb(255, 255, 255)",t)}Wf(XSe);function YSe(e,t){if(t==="transparent")return t;var n=V1(t),r=typeof n.alpha=="number"?n.alpha:1,i=uf({},n,{alpha:k3(0,1,+(r*100-parseFloat(e)*100).toFixed(2)/100)});return hC(i)}var GSe=Wf(YSe),Itt=GSe,vee={};vee={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var yee={};yee={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var bee={};bee={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Oee={};Oee={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var See={};See={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var xee={};xee={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var _ee={};_ee={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Eee={};Eee={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var Dee={};Dee={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var $ee={};$ee={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var Cee={};Cee={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var wee={};wee={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var Ree={};Ree={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var Aee={};Aee={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var Tee={};Tee={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var kee={};kee={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var Pee={};Pee={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Mee={};Mee={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Fee={};Fee={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var Nee={};Nee={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var Iee={};Iee={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var Lee={};Lee={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Bee={};Bee={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var Qee={};Qee={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var zee={};zee={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var qee={};qee={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var Vee={};Vee={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Uee={};Uee={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var jee={};jee={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var Zee={};Zee={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Hee={};Hee={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Xee={};Xee={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var Yee={};Yee={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Gee={};Gee={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var Kee={};Kee={"ar-AE":vee,"bg-BG":yee,"cs-CZ":bee,"da-DK":Oee,"de-DE":See,"el-GR":xee,"en-US":_ee,"es-ES":Eee,"et-EE":Dee,"fi-FI":$ee,"fr-FR":Cee,"he-IL":wee,"hr-HR":Ree,"hu-HU":Aee,"it-IT":Tee,"ja-JP":kee,"ko-KR":Pee,"lt-LT":Mee,"lv-LV":Fee,"nb-NO":Nee,"nl-NL":Iee,"pl-PL":Lee,"pt-BR":Bee,"pt-PT":Qee,"ro-RO":zee,"ru-RU":qee,"sk-SK":Vee,"sl-SI":Uee,"sr-SP":jee,"sv-SE":Zee,"tr-TR":Hee,"uk-UA":Xee,"zh-CN":Yee,"zh-TW":Gee};function kF(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function Wee(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Jee(e){let t=P.useRef({isFocused:!1,observer:null});Qr(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=li(r=>{e==null||e(r)});return P.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=r.target,a=u=>{if(t.current.isFocused=!1,i.disabled){let l=kF(u);n(l)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",a,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var u;(u=t.current.observer)===null||u===void 0||u.disconnect();let l=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let nD=!1;function KSe(e){for(;e&&!kJ(e);)e=e.parentElement;let t=ef(e),n=t.document.activeElement;if(!n||n===e)return;nD=!0;let r=!1,i=c=>{(c.target===n||r)&&c.stopImmediatePropagation()},a=c=>{(c.target===n||r)&&(c.stopImmediatePropagation(),!e&&!r&&(r=!0,Ou(n),o()))},u=c=>{(c.target===e||r)&&c.stopImmediatePropagation()},l=c=>{(c.target===e||r)&&(c.stopImmediatePropagation(),r||(r=!0,Ou(n),o()))};t.addEventListener("blur",i,!0),t.addEventListener("focusout",a,!0),t.addEventListener("focusin",l,!0),t.addEventListener("focus",u,!0);let o=()=>{cancelAnimationFrame(s),t.removeEventListener("blur",i,!0),t.removeEventListener("focusout",a,!0),t.removeEventListener("focusin",l,!0),t.removeEventListener("focus",u,!0),nD=!1,r=!1},s=requestAnimationFrame(o);return o}let AO="default",Q7="",SE=new WeakMap;function ete(e){if(fb()){if(AO==="default"){const t=si(e);Q7=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}AO="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";SE.set(e,e.style[t]),e.style[t]="none"}}function z7(e){if(fb()){if(AO!=="disabled")return;AO="restoring",setTimeout(()=>{DJ(()=>{if(AO==="restoring"){const t=si(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Q7||""),Q7="",AO="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&SE.has(e)){let t=SE.get(e),n="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[n]==="none"&&(e.style[n]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),SE.delete(e)}}const Y2=ve.createContext({register:()=>{}});Y2.displayName="PressResponderContext";function WSe(e){let t=P.useContext(Y2);if(t){let{register:n,...r}=t;e=Et(r,e),n()}return OF(t,e.ref),e}var d_=new WeakMap;class h_{continuePropagation(){OV(this,d_,!1)}get shouldStopPropagation(){return aSe(this,d_)}constructor(t,n,r,i){US(this,d_,{writable:!0,value:void 0}),OV(this,d_,!0);var a;let u=(a=i==null?void 0:i.target)!==null&&a!==void 0?a:r.currentTarget;const l=u==null?void 0:u.getBoundingClientRect();let o,s=0,c,d=null;r.clientX!=null&&r.clientY!=null&&(c=r.clientX,d=r.clientY),l&&(c!=null&&d!=null?(o=c-l.left,s=d-l.top):(o=l.width/2,s=l.height/2)),this.type=t,this.pointerType=n,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=o,this.y=s}}const EV=Symbol("linkClicked"),DV="react-aria-pressable-style",$V="data-react-aria-pressable";function rp(e){let{onPress:t,onPressChange:n,onPressStart:r,onPressEnd:i,onPressUp:a,onClick:u,isDisabled:l,isPressed:o,preventFocusOnPress:s,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:d,ref:h,...m}=WSe(e),[y,v]=P.useState(!1),_=P.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:x,removeAllGlobalListeners:E}=ty(),w=li((q,j)=>{let N=_.current;if(l||N.didFirePressStart)return!1;let V=!0;if(N.isTriggeringEvent=!0,r){let W=new h_("pressstart",j,q);r(W),V=W.shouldStopPropagation}return n&&n(!0),N.isTriggeringEvent=!1,N.didFirePressStart=!0,v(!0),V}),T=li((q,j,N=!0)=>{let V=_.current;if(!V.didFirePressStart)return!1;V.didFirePressStart=!1,V.isTriggeringEvent=!0;let W=!0;if(i){let G=new h_("pressend",j,q);i(G),W=G.shouldStopPropagation}if(n&&n(!1),v(!1),t&&N&&!l){let G=new h_("press",j,q);t(G),W&&(W=G.shouldStopPropagation)}return V.isTriggeringEvent=!1,W}),R=li((q,j)=>{let N=_.current;if(l)return!1;if(a){N.isTriggeringEvent=!0;let V=new h_("pressup",j,q);return a(V),N.isTriggeringEvent=!1,V.shouldStopPropagation}return!0}),C=li(q=>{let j=_.current;if(j.isPressed&&j.target){j.didFirePressStart&&j.pointerType!=null&&T(t1(j.target,q),j.pointerType,!1),j.isPressed=!1,j.isOverTarget=!1,j.activePointerId=null,j.pointerType=null,E(),d||z7(j.target);for(let N of j.disposables)N();j.disposables=[]}}),k=li(q=>{c&&C(q)}),F=li(q=>{l||u==null||u(q)}),z=li((q,j)=>{if(!l&&u){let N=new MouseEvent("click",q);Wee(N,j),u(kF(N))}}),Z=P.useMemo(()=>{let q=_.current,j={onKeyDown(V){if(sT(V.nativeEvent,V.currentTarget)&&Zc(V.currentTarget,Bu(V.nativeEvent))){var W;CV(Bu(V.nativeEvent),V.key)&&V.preventDefault();let G=!0;if(!q.isPressed&&!V.repeat){q.target=V.currentTarget,q.isPressed=!0,q.pointerType="keyboard",G=w(V,"keyboard");let J=V.currentTarget,te=X=>{sT(X,J)&&!X.repeat&&Zc(J,Bu(X))&&q.target&&R(t1(q.target,X),"keyboard")};x(si(V.currentTarget),"keyup",eh(te,N),!0)}G&&V.stopPropagation(),V.metaKey&&Jm()&&((W=q.metaKeyEvents)===null||W===void 0||W.set(V.key,V.nativeEvent))}else V.key==="Meta"&&(q.metaKeyEvents=new Map)},onClick(V){if(!(V&&!Zc(V.currentTarget,Bu(V.nativeEvent)))&&V&&V.button===0&&!q.isTriggeringEvent&&!B1.isOpening){let W=!0;if(l&&V.preventDefault(),!q.ignoreEmulatedMouseEvents&&!q.isPressed&&(q.pointerType==="virtual"||wJ(V.nativeEvent))){let G=w(V,"virtual"),J=R(V,"virtual"),te=T(V,"virtual");F(V),W=G&&J&&te}else if(q.isPressed&&q.pointerType!=="keyboard"){let G=q.pointerType||V.nativeEvent.pointerType||"virtual",J=R(t1(V.currentTarget,V),G),te=T(t1(V.currentTarget,V),G,!0);W=J&&te,q.isOverTarget=!1,F(V),C(V)}q.ignoreEmulatedMouseEvents=!1,W&&V.stopPropagation()}}},N=V=>{var W;if(q.isPressed&&q.target&&sT(V,q.target)){var G;CV(Bu(V),V.key)&&V.preventDefault();let te=Bu(V),X=Zc(q.target,Bu(V));T(t1(q.target,V),"keyboard",X),X&&z(V,q.target),E(),V.key!=="Enter"&&PF(q.target)&&Zc(q.target,te)&&!V[EV]&&(V[EV]=!0,B1(q.target,V,!1)),q.isPressed=!1,(G=q.metaKeyEvents)===null||G===void 0||G.delete(V.key)}else if(V.key==="Meta"&&(!((W=q.metaKeyEvents)===null||W===void 0)&&W.size)){var J;let te=q.metaKeyEvents;q.metaKeyEvents=void 0;for(let X of te.values())(J=q.target)===null||J===void 0||J.dispatchEvent(new KeyboardEvent("keyup",X))}};if(typeof PointerEvent<"u"){j.onPointerDown=G=>{if(G.button!==0||!Zc(G.currentTarget,Bu(G.nativeEvent)))return;if(V4e(G.nativeEvent)){q.pointerType="virtual";return}q.pointerType=G.pointerType;let J=!0;if(!q.isPressed){q.isPressed=!0,q.isOverTarget=!0,q.activePointerId=G.pointerId,q.target=G.currentTarget,d||ete(q.target),J=w(G,q.pointerType);let te=Bu(G.nativeEvent);"releasePointerCapture"in te&&te.releasePointerCapture(G.pointerId),x(si(G.currentTarget),"pointerup",V,!1),x(si(G.currentTarget),"pointercancel",W,!1)}J&&G.stopPropagation()},j.onMouseDown=G=>{if(Zc(G.currentTarget,Bu(G.nativeEvent))&&G.button===0){if(s){let J=KSe(G.target);J&&q.disposables.push(J)}G.stopPropagation()}},j.onPointerUp=G=>{!Zc(G.currentTarget,Bu(G.nativeEvent))||q.pointerType==="virtual"||G.button===0&&!q.isPressed&&R(G,q.pointerType||G.pointerType)},j.onPointerEnter=G=>{G.pointerId===q.activePointerId&&q.target&&!q.isOverTarget&&q.pointerType!=null&&(q.isOverTarget=!0,w(t1(q.target,G),q.pointerType))},j.onPointerLeave=G=>{G.pointerId===q.activePointerId&&q.target&&q.isOverTarget&&q.pointerType!=null&&(q.isOverTarget=!1,T(t1(q.target,G),q.pointerType,!1),k(G))};let V=G=>{if(G.pointerId===q.activePointerId&&q.isPressed&&G.button===0&&q.target){if(Zc(q.target,Bu(G))&&q.pointerType!=null){let J=!1,te=setTimeout(()=>{q.isPressed&&q.target instanceof HTMLElement&&(J?C(G):(Ou(q.target),q.target.click()))},80);x(G.currentTarget,"click",()=>J=!0,!0),q.disposables.push(()=>clearTimeout(te))}else C(G);q.isOverTarget=!1}},W=G=>{C(G)};j.onDragStart=G=>{Zc(G.currentTarget,Bu(G.nativeEvent))&&C(G)}}return j},[x,l,s,E,d,C,k,T,w,R,F,z]);return P.useEffect(()=>{if(!h)return;const q=si(h.current);if(!q||!q.head||q.getElementById(DV))return;const j=q.createElement("style");j.id=DV,j.textContent=`
@layer {
  [${$V}] {
    touch-action: pan-x pan-y pinch-zoom;
  }
}
    `.trim(),q.head.prepend(j)},[h]),P.useEffect(()=>{let q=_.current;return()=>{var j;d||z7((j=q.target)!==null&&j!==void 0?j:void 0);for(let N of q.disposables)N();q.disposables=[]}},[d]),{isPressed:o||y,pressProps:Et(m,Z,{[$V]:!0})}}function PF(e){return e.tagName==="A"&&e.hasAttribute("href")}function sT(e,t){const{key:n,code:r}=e,i=t,a=i.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(i instanceof ef(i).HTMLInputElement&&!tte(i,n)||i instanceof ef(i).HTMLTextAreaElement||i.isContentEditable)&&!((a==="link"||!a&&PF(i))&&n!=="Enter")}function t1(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function JSe(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!PF(e)}function CV(e,t){return e instanceof HTMLInputElement?!tte(e,t):JSe(e)}const exe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function tte(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":exe.has(e.type)}let eg=null,G2=new Set,w2=new Map,U1=!1,q7=!1;const txe={Tab:!0,Escape:!0};function pC(e,t){for(let n of G2)n(e,t)}function nxe(e){return!(e.metaKey||!Jm()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function rD(e){U1=!0,nxe(e)&&(eg="keyboard",pC("keyboard",e))}function jO(e){eg="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(U1=!0,pC("pointer",e))}function nte(e){wJ(e)&&(U1=!0,eg="virtual")}function rte(e){e.target===window||e.target===document||nD||!e.isTrusted||(!U1&&!q7&&(eg="virtual",pC("virtual",e)),U1=!1,q7=!1)}function ite(){nD||(U1=!1,q7=!0)}function iD(e){if(typeof window>"u"||typeof document>"u"||w2.get(ef(e)))return;const t=ef(e),n=si(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){U1=!0,r.apply(this,arguments)},n.addEventListener("keydown",rD,!0),n.addEventListener("keyup",rD,!0),n.addEventListener("click",nte,!0),t.addEventListener("focus",rte,!0),t.addEventListener("blur",ite,!1),typeof PointerEvent<"u"&&(n.addEventListener("pointerdown",jO,!0),n.addEventListener("pointermove",jO,!0),n.addEventListener("pointerup",jO,!0)),t.addEventListener("beforeunload",()=>{ate(e)},{once:!0}),w2.set(t,{focus:r})}const ate=(e,t)=>{const n=ef(e),r=si(e);t&&r.removeEventListener("DOMContentLoaded",t),w2.has(n)&&(n.HTMLElement.prototype.focus=w2.get(n).focus,r.removeEventListener("keydown",rD,!0),r.removeEventListener("keyup",rD,!0),r.removeEventListener("click",nte,!0),n.removeEventListener("focus",rte,!0),n.removeEventListener("blur",ite,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",jO,!0),r.removeEventListener("pointermove",jO,!0),r.removeEventListener("pointerup",jO,!0)),w2.delete(n))};function rxe(e){const t=si(e);let n;return t.readyState!=="loading"?iD(e):(n=()=>{iD(e)},t.addEventListener("DOMContentLoaded",n)),()=>ate(e,n)}typeof document<"u"&&rxe();function Iv(){return eg!=="pointer"}function Xm(){return eg}function MF(e){eg=e,pC(e,null)}function FF(){iD();let[e,t]=P.useState(eg);return P.useEffect(()=>{let n=()=>{t(eg)};return G2.add(n),()=>{G2.delete(n)}},[]),Jd()?null:e}const ixe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function axe(e,t,n){let r=si(n==null?void 0:n.target);const i=typeof window<"u"?ef(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,a=typeof window<"u"?ef(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,u=typeof window<"u"?ef(n==null?void 0:n.target).HTMLElement:HTMLElement,l=typeof window<"u"?ef(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof i&&!ixe.has(r.activeElement.type)||r.activeElement instanceof a||r.activeElement instanceof u&&r.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof l&&!txe[n.key])}function uxe(e,t,n){iD(),P.useEffect(()=>{let r=(i,a)=>{axe(!!(n!=null&&n.isTextInput),i,a)&&e(Iv())};return G2.add(r),()=>{G2.delete(r)}},t)}function tc(e){const t=si(e),n=Qu(t);if(Xm()==="virtual"){let r=n;DJ(()=>{Qu(t)===r&&e.isConnected&&Ou(e)})}else Ou(e)}function mC(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:i}=e;const a=P.useCallback(o=>{if(o.target===o.currentTarget)return r&&r(o),i&&i(!1),!0},[r,i]),u=Jee(a),l=P.useCallback(o=>{const s=si(o.target),c=s?Qu(s):Qu();o.target===o.currentTarget&&c===Bu(o.nativeEvent)&&(n&&n(o),i&&i(!0),u(o))},[i,n,u]);return{focusProps:{onFocus:!t&&(n||i||r)?l:void 0,onBlur:!t&&(r||i)?a:void 0}}}function wV(e){if(!e)return;let t=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented(){return n.isDefaultPrevented()},stopPropagation(){t=!0},continuePropagation(){t=!1},isPropagationStopped(){return t}};e(r),t&&n.stopPropagation()}}function NF(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:wV(e.onKeyDown),onKeyUp:wV(e.onKeyUp)}}}let aD=ve.createContext(null);function lxe(e){let t=P.useContext(aD)||{};OF(t,e);let{ref:n,...r}=t;return r}const oxe=ve.forwardRef(function(t,n){let{children:r,...i}=t,a=_u(n),u={...i,ref:a};return ve.createElement(aD.Provider,{value:u},r)});function T0(e,t){let{focusProps:n}=mC(e),{keyboardProps:r}=NF(e),i=Et(n,r),a=lxe(t),u=e.isDisabled?{}:a,l=P.useRef(e.autoFocus);P.useEffect(()=>{l.current&&t.current&&tc(t.current),l.current=!1},[t]);let o=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(o=void 0),{focusableProps:Et({...i,tabIndex:o},u)}}const Ltt=P.forwardRef(({children:e,...t},n)=>{n=_u(n);let{focusableProps:r}=T0(t,n),i=ve.Children.only(e);P.useEffect(()=>{},[n,t.isDisabled]);let a=parseInt(ve.version,10)<19?i.ref:i.props.ref;return ve.cloneElement(i,{...Et(r,i.props),ref:ug(a,n)})}),Btt=ve.forwardRef(({children:e,...t},n)=>{n=_u(n);let{pressProps:r}=rp({...t,ref:n}),{focusableProps:i}=T0(t,n),a=ve.Children.only(e);P.useEffect(()=>{},[n,t.isDisabled]);let u=parseInt(ve.version,10)<19?a.ref:a.props.ref;return ve.cloneElement(a,{...Et(r,i,a.props),ref:ug(u,n)})}),ute=ve.forwardRef(({children:e,...t},n)=>{let r=P.useRef(!1),i=P.useContext(Y2);n=_u(n||(i==null?void 0:i.ref));let a=Et(i||{},{...t,ref:n,register(){r.current=!0,i&&i.register()}});return OF(i,n),P.useEffect(()=>{r.current||(r.current=!0)},[]),ve.createElement(Y2.Provider,{value:a},e)});function sxe({children:e}){let t=P.useMemo(()=>({register:()=>{}}),[]);return ve.createElement(Y2.Provider,{value:t},e)}function k0(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,a=P.useRef({isFocusWithin:!1}),{addGlobalListener:u,removeAllGlobalListeners:l}=ty(),o=P.useCallback(d=>{d.currentTarget.contains(d.target)&&a.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(a.current.isFocusWithin=!1,l(),n&&n(d),i&&i(!1))},[n,i,a,l]),s=Jee(o),c=P.useCallback(d=>{if(!d.currentTarget.contains(d.target))return;const h=si(d.target),m=Qu(h);if(!a.current.isFocusWithin&&m===Bu(d.nativeEvent)){r&&r(d),i&&i(!0),a.current.isFocusWithin=!0,s(d);let y=d.currentTarget;u(h,"focus",v=>{if(a.current.isFocusWithin&&!Zc(y,v.target)){let _=new h.defaultView.FocusEvent("blur",{relatedTarget:v.target});Wee(_,y);let x=kF(_);o(x)}},{capture:!0})}},[r,i,s,u,o]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:o}}}let V7=!1,p_=0;function cxe(){V7=!0,setTimeout(()=>{V7=!1},50)}function RV(e){e.pointerType==="touch"&&cxe()}function fxe(){if(!(typeof document>"u"))return p_===0&&typeof PointerEvent<"u"&&document.addEventListener("pointerup",RV),p_++,()=>{p_--,!(p_>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",RV)}}function Eu(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[a,u]=P.useState(!1),l=P.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;P.useEffect(fxe,[]);let{addGlobalListener:o,removeAllGlobalListeners:s}=ty(),{hoverProps:c,triggerHoverEnd:d}=P.useMemo(()=>{let h=(v,_)=>{if(l.pointerType=_,i||_==="touch"||l.isHovered||!v.currentTarget.contains(v.target))return;l.isHovered=!0;let x=v.currentTarget;l.target=x,o(si(v.target),"pointerover",E=>{l.isHovered&&l.target&&!Zc(l.target,E.target)&&m(E,E.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:x,pointerType:_}),n&&n(!0),u(!0)},m=(v,_)=>{let x=l.target;l.pointerType="",l.target=null,!(_==="touch"||!l.isHovered||!x)&&(l.isHovered=!1,s(),r&&r({type:"hoverend",target:x,pointerType:_}),n&&n(!1),u(!1))},y={};return typeof PointerEvent<"u"&&(y.onPointerEnter=v=>{V7&&v.pointerType==="mouse"||h(v,v.pointerType)},y.onPointerLeave=v=>{!i&&v.currentTarget.contains(v.target)&&m(v,v.pointerType)}),{hoverProps:y,triggerHoverEnd:m}},[t,n,r,i,l,o,s]);return P.useEffect(()=>{i&&d({currentTarget:l.target},l.pointerType)},[i]),{hoverProps:c,isHovered:a}}function dxe(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:i}=e,a=P.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),u=li(o=>{n&&AV(o,t)&&(i&&i(o),a.current.isPointerDown=!0)}),l=li(o=>{n&&n(o)});P.useEffect(()=>{let o=a.current;if(r)return;const s=t.current,c=si(s);if(typeof PointerEvent<"u"){let d=h=>{o.isPointerDown&&AV(h,t)&&l(h),o.isPointerDown=!1};return c.addEventListener("pointerdown",u,!0),c.addEventListener("click",d,!0),()=>{c.removeEventListener("pointerdown",u,!0),c.removeEventListener("click",d,!0)}}},[t,r,u,l])}function AV(e,t){if(e.button>0)return!1;if(e.target){const n=e.target.ownerDocument;if(!n||!n.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}function lte(e){let{onMoveStart:t,onMove:n,onMoveEnd:r}=e,i=P.useRef({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:a,removeGlobalListener:u}=ty(),l=li((c,d,h,m)=>{h===0&&m===0||(i.current.didMove||(i.current.didMove=!0,t==null||t({type:"movestart",pointerType:d,shiftKey:c.shiftKey,metaKey:c.metaKey,ctrlKey:c.ctrlKey,altKey:c.altKey})),n==null||n({type:"move",pointerType:d,deltaX:h,deltaY:m,shiftKey:c.shiftKey,metaKey:c.metaKey,ctrlKey:c.ctrlKey,altKey:c.altKey}))}),o=li((c,d)=>{z7(),i.current.didMove&&(r==null||r({type:"moveend",pointerType:d,shiftKey:c.shiftKey,metaKey:c.metaKey,ctrlKey:c.ctrlKey,altKey:c.altKey}))});return{moveProps:P.useMemo(()=>{let c={},d=()=>{ete(),i.current.didMove=!1};{let m=v=>{if(v.pointerId===i.current.id){var _,x;let T=v.pointerType||"mouse";var E,w;l(v,T,v.pageX-((E=(_=i.current.lastPosition)===null||_===void 0?void 0:_.pageX)!==null&&E!==void 0?E:0),v.pageY-((w=(x=i.current.lastPosition)===null||x===void 0?void 0:x.pageY)!==null&&w!==void 0?w:0)),i.current.lastPosition={pageX:v.pageX,pageY:v.pageY}}},y=v=>{if(v.pointerId===i.current.id){let _=v.pointerType||"mouse";o(v,_),i.current.id=null,u(window,"pointermove",m,!1),u(window,"pointerup",y,!1),u(window,"pointercancel",y,!1)}};c.onPointerDown=v=>{v.button===0&&i.current.id==null&&(d(),v.stopPropagation(),v.preventDefault(),i.current.lastPosition={pageX:v.pageX,pageY:v.pageY},i.current.id=v.pointerId,a(window,"pointermove",m,!1),a(window,"pointerup",y,!1),a(window,"pointercancel",y,!1))}}let h=(m,y,v)=>{d(),l(m,"keyboard",y,v),o(m,"keyboard")};return c.onKeyDown=m=>{switch(m.key){case"Left":case"ArrowLeft":m.preventDefault(),m.stopPropagation(),h(m,-1,0);break;case"Right":case"ArrowRight":m.preventDefault(),m.stopPropagation(),h(m,1,0);break;case"Up":case"ArrowUp":m.preventDefault(),m.stopPropagation(),h(m,0,-1);break;case"Down":case"ArrowDown":m.preventDefault(),m.stopPropagation(),h(m,0,1);break}},c},[i,a,u,l,o])}}function ote(e,t){let{onScroll:n,isDisabled:r}=e,i=P.useCallback(a=>{a.ctrlKey||(a.preventDefault(),a.stopPropagation(),n&&n({deltaX:a.deltaX,deltaY:a.deltaY}))},[n]);Zd(t,"wheel",r?void 0:i)}const hxe=500;function ste(e){let{isDisabled:t,onLongPressStart:n,onLongPressEnd:r,onLongPress:i,threshold:a=hxe,accessibilityDescription:u}=e;const l=P.useRef(void 0);let{addGlobalListener:o,removeGlobalListener:s}=ty(),{pressProps:c}=rp({isDisabled:t,onPressStart(h){if(h.continuePropagation(),(h.pointerType==="mouse"||h.pointerType==="touch")&&(n&&n({...h,type:"longpressstart"}),l.current=setTimeout(()=>{h.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),si(h.target).activeElement!==h.target&&Ou(h.target),i&&i({...h,type:"longpress"}),l.current=void 0},a),h.pointerType==="touch")){let m=y=>{y.preventDefault()};o(h.target,"contextmenu",m,{once:!0}),o(window,"pointerup",()=>{setTimeout(()=>{s(h.target,"contextmenu",m)},30)},{once:!0})}},onPressEnd(h){l.current&&clearTimeout(l.current),r&&(h.pointerType==="mouse"||h.pointerType==="touch")&&r({...h,type:"longpressend"})}}),d=oC(i&&!t?u:void 0);return{longPressProps:Et(c,d)}}const pxe=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),mxe=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function gxe(e){if(Intl.Locale){let n=new Intl.Locale(e).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return pxe.has(n.script)}let t=e.split("-")[0];return mxe.has(t)}const vxe=Symbol.for("react-aria.i18n.locale");function cte(){let e=typeof window<"u"&&window[vxe]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:gxe(e)?"rtl":"ltr"}}let U7=cte(),m2=new Set;function TV(){U7=cte();for(let e of m2)e(U7)}function yxe(){let e=Jd(),[t,n]=P.useState(U7);return P.useEffect(()=>(m2.size===0&&window.addEventListener("languagechange",TV),m2.add(n),()=>{m2.delete(n),m2.size===0&&window.removeEventListener("languagechange",TV)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const bxe=ve.createContext(null);function Zi(){let e=yxe();return P.useContext(bxe)||e}const kV=new WeakMap;function Oxe(e){let t=kV.get(e);return t||(t=new Wh(e),kV.set(e,t)),t}function fte(e,t){return t&&Wh.getGlobalDictionaryForPackage(t)||Oxe(e)}function ko(e,t){let{locale:n}=Zi(),r=fte(e,t);return P.useMemo(()=>new _F(n,r),[n,r])}function Sxe(e={}){let{locale:t}=Zi();return P.useMemo(()=>new Intl.ListFormat(t,e),[t,e])}function m_(e){e=U4e(e??{},xxe);let{locale:t}=Zi();return P.useMemo(()=>new RO(t,e),[t,e])}function xxe(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i of n)if(t[i]!==e[i])return!1;return!0}let cT=new Map,j7=!1;try{j7=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let uD=!1;try{uD=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const dte={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Lv{format(t){let n="";if(!j7&&this.options.signDisplay!=null?n=Exe(this.numberFormatter,this.options.signDisplay,t):n=this.numberFormatter.format(t),this.options.style==="unit"&&!uD){var r;let{unit:i,unitDisplay:a="short",locale:u}=this.resolvedOptions();if(!i)return n;let l=(r=dte[i])===null||r===void 0?void 0:r[a];n+=l[u]||l.default}return n}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,n){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(n)}`}formatRangeToParts(t,n){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(t),i=this.numberFormatter.formatToParts(n);return[...r.map(a=>({...a,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...i.map(a=>({...a,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!j7&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!uD&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,n={}){this.numberFormatter=_xe(t,n),this.options=n}}function _xe(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),t.style==="unit"&&!uD){var r;let{unit:u,unitDisplay:l="short"}=t;if(!u)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=dte[u])===null||r===void 0)&&r[l]))throw new Error(`Unsupported unit ${u} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let i=e+(t?Object.entries(t).sort((u,l)=>u[0]<l[0]?-1:1).join():"");if(cT.has(i))return cT.get(i);let a=new Intl.NumberFormat(e,t);return cT.set(i,a),a}function Exe(e,t,n){if(t==="auto")return e.format(n);if(t==="never")return e.format(Math.abs(n));{let r=!1;if(t==="always"?r=n>0||Object.is(n,0):t==="exceptZero"&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let i=e.format(-n),a=e.format(n),u=i.replace(a,"").replace(/\u200e|\u061C/,"");return[...u].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),i.replace(a,"!!!").replace(u,"+").replace("!!!",a)}else return e.format(n)}}const Dxe=new RegExp("^.*\\(.*\\).*$"),$xe=["latn","arab","hanidec","deva","beng","fullwide"];class IF{parse(t){return fT(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,n,r){return fT(this.locale,this.options,t).isValidPartialNumber(t,n,r)}getNumberingSystem(t){return fT(this.locale,this.options,t).options.numberingSystem}constructor(t,n={}){this.locale=t,this.options=n}}const PV=new Map;function fT(e,t,n){let r=MV(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let i of $xe)if(i!==r.options.numberingSystem){let a=MV(e+(e.includes("-u-")?"-nu-":"-u-nu-")+i,t);if(a.isValidPartialNumber(n))return a}}return r}function MV(e,t){let n=e+(t?Object.entries(t).sort((i,a)=>i[0]<a[0]?-1:1).join():""),r=PV.get(n);return r||(r=new Cxe(e,t),PV.set(n,r)),r}class Cxe{parse(t){let n=this.sanitize(t);if(this.symbols.group&&(n=aO(n,this.symbols.group,"")),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(n=n.replace(this.symbols.minusSign,"-")),n=n.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let u=n.indexOf("-");n=n.replace("-",""),n=n.replace("+","");let l=n.indexOf(".");l===-1&&(l=n.length),n=n.replace(".",""),l-2===0?n=`0.${n}`:l-2===-1?n=`0.0${n}`:l-2===-2?n="0.00":n=`${n.slice(0,l-2)}.${n.slice(l-2)}`,u>-1&&(n=`-${n}`)}let r=n?+n:NaN;if(isNaN(r))return NaN;if(this.options.style==="percent"){var i,a;let u={...this.options,style:"decimal",minimumFractionDigits:Math.min(((i=this.options.minimumFractionDigits)!==null&&i!==void 0?i:0)+2,20),maximumFractionDigits:Math.min(((a=this.options.maximumFractionDigits)!==null&&a!==void 0?a:0)+2,20)};return new IF(this.locale,u).parse(new Lv(this.locale,u).format(r))}return this.options.currencySign==="accounting"&&Dxe.test(t)&&(r=-1*r),r}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace("،",this.symbols.decimal)),this.symbols.group&&(t=aO(t,".",this.symbols.group))),this.symbols.group==="’"&&t.includes("'")&&(t=aO(t,"'",this.symbols.group)),this.options.locale==="fr-FR"&&this.symbols.group&&(t=aO(t," ",this.symbols.group),t=aO(t,/\u00A0/g,this.symbols.group)),t}isValidPartialNumber(t,n=-1/0,r=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&n<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&r>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=aO(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,n={}){this.locale=t,n.roundingIncrement!==1&&n.roundingIncrement!=null&&(n.maximumFractionDigits==null&&n.minimumFractionDigits==null?(n.maximumFractionDigits=0,n.minimumFractionDigits=0):n.maximumFractionDigits==null?n.maximumFractionDigits=n.minimumFractionDigits:n.minimumFractionDigits==null&&(n.minimumFractionDigits=n.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(t,n),this.options=this.formatter.resolvedOptions(),this.symbols=Rxe(t,this.formatter,this.options,n);var r,i;this.options.style==="percent"&&(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)>18||((i=this.options.maximumFractionDigits)!==null&&i!==void 0?i:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const FV=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),wxe=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Rxe(e,t,n,r){var i,a,u,l;let o=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),s=o.formatToParts(-10000.111),c=o.formatToParts(10000.111),d=wxe.map(Z=>o.formatToParts(Z));var h;let m=(h=(i=s.find(Z=>Z.type==="minusSign"))===null||i===void 0?void 0:i.value)!==null&&h!==void 0?h:"-",y=(a=c.find(Z=>Z.type==="plusSign"))===null||a===void 0?void 0:a.value;!y&&((r==null?void 0:r.signDisplay)==="exceptZero"||(r==null?void 0:r.signDisplay)==="always")&&(y="+");let _=(u=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(Z=>Z.type==="decimal"))===null||u===void 0?void 0:u.value,x=(l=s.find(Z=>Z.type==="group"))===null||l===void 0?void 0:l.value,E=s.filter(Z=>!FV.has(Z.type)).map(Z=>NV(Z.value)),w=d.flatMap(Z=>Z.filter(q=>!FV.has(q.type)).map(q=>NV(q.value))),T=[...new Set([...E,...w])].sort((Z,q)=>q.length-Z.length),R=T.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${T.join("|")}|[\\p{White_Space}]`,"gu"),C=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),k=new Map(C.map((Z,q)=>[Z,q])),F=new RegExp(`[${C.join("")}]`,"g");return{minusSign:m,plusSign:y,decimal:_,group:x,literals:R,numeral:F,index:Z=>String(k.get(Z))}}function aO(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function NV(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function lD(e={}){let{locale:t}=Zi();return P.useMemo(()=>new Lv(t,e),[t,e])}let dT=new Map;function gC(e){let{locale:t}=Zi(),n=t+(e?Object.entries(e).sort((i,a)=>i[0]<a[0]?-1:1).join():"");if(dT.has(n))return dT.get(n);let r=new Intl.Collator(t,e);return dT.set(n,r),r}function hte(e){let t=gC({usage:"search",...e}),n=P.useCallback((a,u)=>u.length===0?!0:(a=a.normalize("NFC"),u=u.normalize("NFC"),t.compare(a.slice(0,u.length),u)===0),[t]),r=P.useCallback((a,u)=>u.length===0?!0:(a=a.normalize("NFC"),u=u.normalize("NFC"),t.compare(a.slice(-u.length),u)===0),[t]),i=P.useCallback((a,u)=>{if(u.length===0)return!0;a=a.normalize("NFC"),u=u.normalize("NFC");let l=0,o=u.length;for(;l+o<=a.length;l++){let s=a.slice(l,l+o);if(t.compare(u,s)===0)return!0}return!1},[t]);return P.useMemo(()=>({startsWith:n,endsWith:r,contains:i}),[n,r,i])}const p0={top:"top",bottom:"top",left:"left",right:"left"},oD={top:"bottom",bottom:"top",left:"right",right:"left"},Axe={top:"left",left:"top"},Z7={top:"height",left:"width"},pte={width:"totalWidth",height:"totalHeight"},g_={};let Hl=typeof document<"u"?window.visualViewport:null;function IV(e){let t=0,n=0,r=0,i=0,a=0,u=0,l={};var o;let s=((o=Hl==null?void 0:Hl.scale)!==null&&o!==void 0?o:1)>1;if(e.tagName==="BODY"){let y=document.documentElement;r=y.clientWidth,i=y.clientHeight;var c;t=(c=Hl==null?void 0:Hl.width)!==null&&c!==void 0?c:r;var d;n=(d=Hl==null?void 0:Hl.height)!==null&&d!==void 0?d:i,l.top=y.scrollTop||e.scrollTop,l.left=y.scrollLeft||e.scrollLeft,Hl&&(a=Hl.offsetTop,u=Hl.offsetLeft)}else({width:t,height:n,top:a,left:u}=ZO(e,!1)),l.top=e.scrollTop,l.left=e.scrollLeft,r=t,i=n;if(vF()&&(e.tagName==="BODY"||e.tagName==="HTML")&&s){l.top=0,l.left=0;var h;a=(h=Hl==null?void 0:Hl.pageTop)!==null&&h!==void 0?h:0;var m;u=(m=Hl==null?void 0:Hl.pageLeft)!==null&&m!==void 0?m:0}return{width:t,height:n,totalWidth:r,totalHeight:i,scroll:l,top:a,left:u}}function Txe(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function LV(e,t,n,r,i,a,u){var l;let o=(l=i.scroll[e])!==null&&l!==void 0?l:0,s=r[Z7[e]],c=r.scroll[p0[e]]+a,d=s+r.scroll[p0[e]]-a,h=t-o+u[e]-r[p0[e]],m=t-o+n+u[e]-r[p0[e]];return h<c?c-h:m>d?Math.max(d-m,c-h):0}function kxe(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function BV(e){if(g_[e])return g_[e];let[t,n]=e.split(" "),r=p0[t]||"right",i=Axe[r];p0[n]||(n="center");let a=Z7[r],u=Z7[i];return g_[e]={placement:t,crossPlacement:n,axis:r,crossAxis:i,size:a,crossSize:u},g_[e]}function hT(e,t,n,r,i,a,u,l,o,s){let{placement:c,crossPlacement:d,axis:h,crossAxis:m,size:y,crossSize:v}=r,_={};var x;_[m]=(x=e[m])!==null&&x!==void 0?x:0;var E,w,T,R;d==="center"?_[m]+=(((E=e[v])!==null&&E!==void 0?E:0)-((w=n[v])!==null&&w!==void 0?w:0))/2:d!==m&&(_[m]+=((T=e[v])!==null&&T!==void 0?T:0)-((R=n[v])!==null&&R!==void 0?R:0)),_[m]+=a;const C=e[m]-n[v]+o+s,k=e[m]+e[v]-o-s;if(_[m]=eo(_[m],C,k),c===h){const F=l?u[y]:t[pte[y]];_[oD[h]]=Math.floor(F-e[h]+i)}else _[h]=Math.floor(e[h]+e[y]+i);return _}function Pxe(e,t,n,r,i,a,u,l){const o=r?n.height:t[pte.height];var s;let c=e.top!=null?n.top+e.top:n.top+(o-((s=e.bottom)!==null&&s!==void 0?s:0)-u);var d,h,m,y,v,_;let x=l!=="top"?Math.max(0,t.height+t.top+((d=t.scroll.top)!==null&&d!==void 0?d:0)-c-(((h=i.top)!==null&&h!==void 0?h:0)+((m=i.bottom)!==null&&m!==void 0?m:0)+a)):Math.max(0,c+u-(t.top+((y=t.scroll.top)!==null&&y!==void 0?y:0))-(((v=i.top)!==null&&v!==void 0?v:0)+((_=i.bottom)!==null&&_!==void 0?_:0)+a));return Math.min(t.height-a*2,x)}function QV(e,t,n,r,i,a){let{placement:u,axis:l,size:o}=a;var s,c;if(u===l)return Math.max(0,n[l]-e[l]-((s=e.scroll[l])!==null&&s!==void 0?s:0)+t[l]-((c=r[l])!==null&&c!==void 0?c:0)-r[oD[l]]-i);var d;return Math.max(0,e[o]+e[l]+e.scroll[l]-t[l]-n[l]-n[o]-((d=r[l])!==null&&d!==void 0?d:0)-r[oD[l]]-i)}function Mxe(e,t,n,r,i,a,u,l,o,s,c,d,h,m,y,v){let _=BV(e),{size:x,crossAxis:E,crossSize:w,placement:T,crossPlacement:R}=_,C=hT(t,l,n,_,c,d,s,h,y,v),k=c,F=QV(l,s,t,i,a+c,_);if(u&&r[x]>F){let de=BV(`${oD[T]} ${R}`),be=hT(t,l,n,de,c,d,s,h,y,v);QV(l,s,t,i,a+c,de)>F&&(_=de,C=be,k=c)}let z="bottom";_.axis==="top"?_.placement==="top"?z="top":_.placement==="bottom"&&(z="bottom"):_.crossAxis==="top"&&(_.crossPlacement==="top"?z="bottom":_.crossPlacement==="bottom"&&(z="top"));let Z=LV(E,C[E],n[w],l,o,a,s);C[E]+=Z;let q=Pxe(C,l,s,h,i,a,n.height,z);m&&m<q&&(q=m),n.height=Math.min(n.height,q),C=hT(t,l,n,_,k,d,s,h,y,v),Z=LV(E,C[E],n[w],l,o,a,s),C[E]+=Z;let j={},N=t[E]-C[E]-i[p0[E]],V=N+.5*t[w];const W=y/2+v;var G,J,te,X;const M=p0[E]==="left"?((G=i.left)!==null&&G!==void 0?G:0)+((J=i.right)!==null&&J!==void 0?J:0):((te=i.top)!==null&&te!==void 0?te:0)+((X=i.bottom)!==null&&X!==void 0?X:0),K=n[w]-M-y/2-v,Y=t[E]+y/2-(C[E]+i[p0[E]]),B=t[E]+t[w]-y/2-(C[E]+i[p0[E]]),ne=eo(V,Y,B);j[E]=eo(ne,W,K),{placement:T,crossPlacement:R}=_,y?N=j[E]:R==="right"?N+=t[w]:R==="center"&&(N+=t[w]/2);let oe=T==="left"||T==="top"?n[x]:0,ae={x:T==="top"||T==="bottom"?N:oe,y:T==="left"||T==="right"?N:oe};return{position:C,maxHeight:q,arrowOffsetLeft:j.left,arrowOffsetTop:j.top,placement:T,triggerAnchorPoint:ae}}function Fxe(e){let{placement:t,targetNode:n,overlayNode:r,scrollNode:i,padding:a,shouldFlip:u,boundaryElement:l,offset:o,crossOffset:s,maxHeight:c,arrowSize:d=0,arrowBoundaryOffset:h=0}=e,m=r instanceof HTMLElement?Nxe(r):document.documentElement,y=m===document.documentElement;const v=window.getComputedStyle(m).position;let _=!!v&&v!=="static",x=y?ZO(n,!1):zV(n,m,!1);if(!y){let{marginTop:j,marginLeft:N}=window.getComputedStyle(n);x.top+=parseInt(j,10)||0,x.left+=parseInt(N,10)||0}let E=ZO(r,!0),w=kxe(r);var T,R;E.width+=((T=w.left)!==null&&T!==void 0?T:0)+((R=w.right)!==null&&R!==void 0?R:0);var C,k;E.height+=((C=w.top)!==null&&C!==void 0?C:0)+((k=w.bottom)!==null&&k!==void 0?k:0);let F=Txe(i),z=IV(l),Z=IV(m),q=l.tagName==="BODY"?ZO(m,!1):zV(m,l,!1);return m.tagName==="HTML"&&l.tagName==="BODY"&&(Z.scroll.top=0,Z.scroll.left=0),Mxe(t,x,E,F,w,a,u,z,Z,q,o,s,_,c,d,h)}function LF(e,t){let{top:n,left:r,width:i,height:a}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(i=e.offsetWidth,a=e.offsetHeight),{top:n,left:r,width:i,height:a}}function ZO(e,t){let{top:n,left:r,width:i,height:a}=LF(e,t),{scrollTop:u,scrollLeft:l,clientTop:o,clientLeft:s}=document.documentElement;return{top:n+u-o,left:r+l-s,width:i,height:a}}function zV(e,t,n){let r=window.getComputedStyle(e),i;if(r.position==="fixed")i=LF(e,n);else{i=ZO(e,n);let a=ZO(t,n),u=window.getComputedStyle(t);a.top+=(parseInt(u.borderTopWidth,10)||0)-t.scrollTop,a.left+=(parseInt(u.borderLeftWidth,10)||0)-t.scrollLeft,i.top-=a.top,i.left-=a.left}return i.top-=parseInt(r.marginTop,10)||0,i.left-=parseInt(r.marginLeft,10)||0,i}function Nxe(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!qV(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!qV(t);)t=t.parentElement;return t||document.documentElement}function qV(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const mte=new WeakMap;function Ixe(e){let{triggerRef:t,isOpen:n,onClose:r}=e;P.useEffect(()=>{if(!n||r===null)return;let i=a=>{let u=a.target;if(!t.current||u instanceof Node&&!u.contains(t.current)||a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement)return;let l=r||mte.get(t.current);l&&l()};return window.addEventListener("scroll",i,!0),()=>{window.removeEventListener("scroll",i,!0)}},[n,r,t])}let Nu=typeof document<"u"?window.visualViewport:null;function gte(e){let{direction:t}=Zi(),{arrowSize:n,targetRef:r,overlayRef:i,arrowRef:a,scrollRef:u=i,placement:l="bottom",containerPadding:o=12,shouldFlip:s=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:d=0,crossOffset:h=0,shouldUpdatePosition:m=!0,isOpen:y=!0,onClose:v,maxHeight:_,arrowBoundaryOffset:x=0}=e,[E,w]=P.useState(null),T=[m,l,i.current,r.current,a==null?void 0:a.current,u.current,o,s,c,d,h,y,t,_,x,n],R=P.useRef(Nu==null?void 0:Nu.scale);P.useEffect(()=>{y&&(R.current=Nu==null?void 0:Nu.scale)},[y]);let C=P.useCallback(()=>{if(m===!1||!y||!i.current||!r.current||!c||(Nu==null?void 0:Nu.scale)!==R.current)return;let j=null;if(u.current&&u.current.contains(document.activeElement)){var N;let M=(N=document.activeElement)===null||N===void 0?void 0:N.getBoundingClientRect(),K=u.current.getBoundingClientRect();var V;if(j={type:"top",offset:((V=M==null?void 0:M.top)!==null&&V!==void 0?V:0)-K.top},j.offset>K.height/2){j.type="bottom";var W;j.offset=((W=M==null?void 0:M.bottom)!==null&&W!==void 0?W:0)-K.bottom}}let G=i.current;if(!_&&i.current){var J;G.style.top="0px",G.style.bottom="";var te;G.style.maxHeight=((te=(J=window.visualViewport)===null||J===void 0?void 0:J.height)!==null&&te!==void 0?te:window.innerHeight)+"px"}let X=Fxe({placement:Bxe(l,t),overlayNode:i.current,targetNode:r.current,scrollNode:u.current||i.current,padding:o,shouldFlip:s,boundaryElement:c,offset:d,crossOffset:h,maxHeight:_,arrowSize:n??(a!=null&&a.current?LF(a.current,!0).width:0),arrowBoundaryOffset:x});if(X.position){if(G.style.top="",G.style.bottom="",G.style.left="",G.style.right="",Object.keys(X.position).forEach(M=>G.style[M]=X.position[M]+"px"),G.style.maxHeight=X.maxHeight!=null?X.maxHeight+"px":"",j&&document.activeElement&&u.current){let M=document.activeElement.getBoundingClientRect(),K=u.current.getBoundingClientRect(),Y=M[j.type]-K[j.type];u.current.scrollTop+=Y-j.offset}w(X)}},T);Qr(C,T),Lxe(C),Q1({ref:i,onResize:C}),Q1({ref:r,onResize:C});let k=P.useRef(!1);Qr(()=>{let j,N=()=>{k.current=!0,clearTimeout(j),j=setTimeout(()=>{k.current=!1},500),C()},V=()=>{k.current&&N()};return Nu==null||Nu.addEventListener("resize",N),Nu==null||Nu.addEventListener("scroll",V),()=>{Nu==null||Nu.removeEventListener("resize",N),Nu==null||Nu.removeEventListener("scroll",V)}},[C]);let F=P.useCallback(()=>{k.current||v==null||v()},[v,k]);Ixe({triggerRef:r,isOpen:y,onClose:v&&F});var z,Z,q;return{overlayProps:{style:{position:E?"absolute":"fixed",top:E?void 0:0,left:E?void 0:0,zIndex:1e5,...E==null?void 0:E.position,maxHeight:(z=E==null?void 0:E.maxHeight)!==null&&z!==void 0?z:"100vh"}},placement:(Z=E==null?void 0:E.placement)!==null&&Z!==void 0?Z:null,triggerAnchorPoint:(q=E==null?void 0:E.triggerAnchorPoint)!==null&&q!==void 0?q:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:E==null?void 0:E.arrowOffsetLeft,top:E==null?void 0:E.arrowOffsetTop}},updatePosition:C}}function Lxe(e){Qr(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function Bxe(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const H7=ve.createContext(null),X7="react-aria-focus-scope-restore";let ba=null;function BF(e){let{children:t,contain:n,restoreFocus:r,autoFocus:i}=e,a=P.useRef(null),u=P.useRef(null),l=P.useRef([]),{parentNode:o}=P.useContext(H7)||{},s=P.useMemo(()=>new G7({scopeRef:l}),[l]);Qr(()=>{let h=o||cl.root;if(cl.getTreeNode(h.scopeRef)&&ba&&!sD(ba,h.scopeRef)){let m=cl.getTreeNode(ba);m&&(h=m)}h.addChild(s),cl.addNode(s)},[s,o]),Qr(()=>{let h=cl.getTreeNode(l);h&&(h.contain=!!n)},[n]),Qr(()=>{var h;let m=(h=a.current)===null||h===void 0?void 0:h.nextSibling,y=[],v=_=>_.stopPropagation();for(;m&&m!==u.current;)y.push(m),m.addEventListener(X7,v),m=m.nextSibling;return l.current=y,()=>{for(let _ of y)_.removeEventListener(X7,v)}},[t]),jxe(l,r,n),qxe(l,n),Zxe(l,r,n),Uxe(l,i),P.useEffect(()=>{const h=Qu(si(l.current?l.current[0]:void 0));let m=null;if(Yd(h,l.current)){for(let y of cl.traverse())y.scopeRef&&Yd(h,y.scopeRef.current)&&(m=y);m===cl.getTreeNode(l)&&(ba=m.scopeRef)}},[l]),Qr(()=>()=>{var h,m,y;let v=(y=(m=cl.getTreeNode(l))===null||m===void 0||(h=m.parent)===null||h===void 0?void 0:h.scopeRef)!==null&&y!==void 0?y:null;(l===ba||sD(l,ba))&&(!v||cl.getTreeNode(v))&&(ba=v),cl.removeTreeNode(l)},[l]);let c=P.useMemo(()=>Qxe(l),[]),d=P.useMemo(()=>({focusManager:c,parentNode:s}),[s,c]);return ve.createElement(H7.Provider,{value:d},ve.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),t,ve.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:u}))}function Qtt(){var e;return(e=P.useContext(H7))===null||e===void 0?void 0:e.focusManager}function Qxe(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:i,wrap:a,accept:u}=t;var l;let o=r||Qu(si((l=n[0])!==null&&l!==void 0?l:void 0)),s=n[0].previousElementSibling,c=x1(n),d=El(c,{tabbable:i,accept:u},n);d.currentNode=Yd(o,n)?o:s;let h=d.nextNode();return!h&&a&&(d.currentNode=s,h=d.nextNode()),h&&Jc(h,!0),h},focusPrevious(t={}){let n=e.current,{from:r,tabbable:i,wrap:a,accept:u}=t;var l;let o=r||Qu(si((l=n[0])!==null&&l!==void 0?l:void 0)),s=n[n.length-1].nextElementSibling,c=x1(n),d=El(c,{tabbable:i,accept:u},n);d.currentNode=Yd(o,n)?o:s;let h=d.previousNode();return!h&&a&&(d.currentNode=s,h=d.previousNode()),h&&Jc(h,!0),h},focusFirst(t={}){let n=e.current,{tabbable:r,accept:i}=t,a=x1(n),u=El(a,{tabbable:r,accept:i},n);u.currentNode=n[0].previousElementSibling;let l=u.nextNode();return l&&Jc(l,!0),l},focusLast(t={}){let n=e.current,{tabbable:r,accept:i}=t,a=x1(n),u=El(a,{tabbable:r,accept:i},n);u.currentNode=n[n.length-1].nextElementSibling;let l=u.previousNode();return l&&Jc(l,!0),l}}}function x1(e){return e[0].parentElement}function g2(e){let t=cl.getTreeNode(ba);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function zxe(e){if(e.checked)return!0;let t=[];if(!e.form)t=[...si(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)].filter(a=>!a.form);else{var n,r;let a=(r=e.form)===null||r===void 0||(n=r.elements)===null||n===void 0?void 0:n.namedItem(e.name);t=[...a??[]]}return t?!t.some(a=>a.checked):!1}function qxe(e,t){let n=P.useRef(void 0),r=P.useRef(void 0);Qr(()=>{let i=e.current;if(!t){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const a=si(i?i[0]:void 0);let u=s=>{if(s.key!=="Tab"||s.altKey||s.ctrlKey||s.metaKey||!g2(e)||s.isComposing)return;let c=Qu(a),d=e.current;if(!d||!Yd(c,d))return;let h=x1(d),m=El(h,{tabbable:!0},d);if(!c)return;m.currentNode=c;let y=s.shiftKey?m.previousNode():m.nextNode();y||(m.currentNode=s.shiftKey?d[d.length-1].nextElementSibling:d[0].previousElementSibling,y=s.shiftKey?m.previousNode():m.nextNode()),s.preventDefault(),y&&Jc(y,!0)},l=s=>{(!ba||sD(ba,e))&&Yd(Bu(s),e.current)?(ba=e,n.current=Bu(s)):g2(e)&&!_v(Bu(s),e)?n.current?n.current.focus():ba&&ba.current&&Y7(ba.current):g2(e)&&(n.current=Bu(s))},o=s=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{let c=Xm(),d=(c==="virtual"||c===null)&&zS()&&yF(),h=Qu(a);if(!d&&h&&g2(e)&&!_v(h,e)){ba=e;let y=Bu(s);if(y&&y.isConnected){var m;n.current=y,(m=n.current)===null||m===void 0||m.focus()}else ba.current&&Y7(ba.current)}})};return a.addEventListener("keydown",u,!1),a.addEventListener("focusin",l,!1),i==null||i.forEach(s=>s.addEventListener("focusin",l,!1)),i==null||i.forEach(s=>s.addEventListener("focusout",o,!1)),()=>{a.removeEventListener("keydown",u,!1),a.removeEventListener("focusin",l,!1),i==null||i.forEach(s=>s.removeEventListener("focusin",l,!1)),i==null||i.forEach(s=>s.removeEventListener("focusout",o,!1))}},[e,t]),Qr(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function vte(e){return _v(e)}function Yd(e,t){return!e||!t?!1:t.some(n=>n.contains(e))}function _v(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of cl.traverse(cl.getTreeNode(t)))if(n&&Yd(e,n.current))return!0;return!1}function Vxe(e){return _v(e,ba)}function sD(e,t){var n;let r=(n=cl.getTreeNode(t))===null||n===void 0?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function Jc(e,t=!1){if(e!=null&&!t)try{tc(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function yte(e,t=!0){let n=e[0].previousElementSibling,r=x1(e),i=El(r,{tabbable:t},e);i.currentNode=n;let a=i.nextNode();return t&&!a&&(r=x1(e),i=El(r,{tabbable:!1},e),i.currentNode=n,a=i.nextNode()),a}function Y7(e,t=!0){Jc(yte(e,t))}function Uxe(e,t){const n=ve.useRef(t);P.useEffect(()=>{if(n.current){ba=e;const r=si(e.current?e.current[0]:void 0);!Yd(Qu(r),ba.current)&&e.current&&Y7(e.current)}n.current=!1},[e])}function jxe(e,t,n){Qr(()=>{if(t||n)return;let r=e.current;const i=si(r?r[0]:void 0);let a=u=>{let l=Bu(u);Yd(l,e.current)?ba=e:vte(l)||(ba=null)};return i.addEventListener("focusin",a,!1),r==null||r.forEach(u=>u.addEventListener("focusin",a,!1)),()=>{i.removeEventListener("focusin",a,!1),r==null||r.forEach(u=>u.removeEventListener("focusin",a,!1))}},[e,t,n])}function VV(e){let t=cl.getTreeNode(ba);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function Zxe(e,t,n){const r=P.useRef(typeof document<"u"?Qu(si(e.current?e.current[0]:void 0)):null);Qr(()=>{let i=e.current;const a=si(i?i[0]:void 0);if(!t||n)return;let u=()=>{(!ba||sD(ba,e))&&Yd(Qu(a),e.current)&&(ba=e)};return a.addEventListener("focusin",u,!1),i==null||i.forEach(l=>l.addEventListener("focusin",u,!1)),()=>{a.removeEventListener("focusin",u,!1),i==null||i.forEach(l=>l.removeEventListener("focusin",u,!1))}},[e,n]),Qr(()=>{const i=si(e.current?e.current[0]:void 0);if(!t)return;let a=u=>{if(u.key!=="Tab"||u.altKey||u.ctrlKey||u.metaKey||!g2(e)||u.isComposing)return;let l=i.activeElement;if(!_v(l,e)||!VV(e))return;let o=cl.getTreeNode(e);if(!o)return;let s=o.nodeToRestore,c=El(i.body,{tabbable:!0});c.currentNode=l;let d=u.shiftKey?c.previousNode():c.nextNode();if((!s||!s.isConnected||s===i.body)&&(s=void 0,o.nodeToRestore=void 0),(!d||!_v(d,e))&&s){c.currentNode=s;do d=u.shiftKey?c.previousNode():c.nextNode();while(_v(d,e));u.preventDefault(),u.stopPropagation(),d?Jc(d,!0):vte(s)?Jc(s,!0):l.blur()}};return n||i.addEventListener("keydown",a,!0),()=>{n||i.removeEventListener("keydown",a,!0)}},[e,t,n]),Qr(()=>{const i=si(e.current?e.current[0]:void 0);if(!t)return;let a=cl.getTreeNode(e);if(a){var u;return a.nodeToRestore=(u=r.current)!==null&&u!==void 0?u:void 0,()=>{let l=cl.getTreeNode(e);if(!l)return;let o=l.nodeToRestore,s=Qu(i);if(t&&o&&(s&&_v(s,e)||s===i.body&&VV(e))){let c=cl.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let d=c.getTreeNode(e);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){UV(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(e);d;){if(d.scopeRef&&d.scopeRef.current&&cl.getTreeNode(d.scopeRef)){let h=yte(d.scopeRef.current,!0);UV(h);return}d=d.parent}}})}}}},[e,t])}function UV(e){e.dispatchEvent(new CustomEvent(X7,{bubbles:!0,cancelable:!0}))&&Jc(e)}function El(e,t,n){let r=t!=null&&t.tabbable?K4e:kJ,i=(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,a=si(i),u=S4e(a,e||a,NodeFilter.SHOW_ELEMENT,{acceptNode(l){var o;return!(t==null||(o=t.from)===null||o===void 0)&&o.contains(l)||t!=null&&t.tabbable&&l.tagName==="INPUT"&&l.getAttribute("type")==="radio"&&(!zxe(l)||u.currentNode.tagName==="INPUT"&&u.currentNode.type==="radio"&&u.currentNode.name===l.name)?NodeFilter.FILTER_REJECT:r(l)&&(!n||Yd(l,n))&&(!(t!=null&&t.accept)||t.accept(l))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(u.currentNode=t.from),u}function QF(e,t={}){return{focusNext(n={}){let r=e.current;if(!r)return null;let{from:i,tabbable:a=t.tabbable,wrap:u=t.wrap,accept:l=t.accept}=n,o=i||Qu(si(r)),s=El(r,{tabbable:a,accept:l});r.contains(o)&&(s.currentNode=o);let c=s.nextNode();return!c&&u&&(s.currentNode=r,c=s.nextNode()),c&&Jc(c,!0),c},focusPrevious(n=t){let r=e.current;if(!r)return null;let{from:i,tabbable:a=t.tabbable,wrap:u=t.wrap,accept:l=t.accept}=n,o=i||Qu(si(r)),s=El(r,{tabbable:a,accept:l});if(r.contains(o))s.currentNode=o;else{let d=pT(s);return d&&Jc(d,!0),d??null}let c=s.previousNode();if(!c&&u){s.currentNode=r;let d=pT(s);if(!d)return null;c=d}return c&&Jc(c,!0),c??null},focusFirst(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:a=t.accept}=n,l=El(r,{tabbable:i,accept:a}).nextNode();return l&&Jc(l,!0),l},focusLast(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:a=t.accept}=n,u=El(r,{tabbable:i,accept:a}),l=pT(u);return l&&Jc(l,!0),l??null}}}function pT(e){let t,n;do n=e.lastChild(),n&&(t=n);while(n);return t}class zF{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,n,r){let i=this.fastMap.get(n??null);if(!i)return;let a=new G7({scopeRef:t});i.addChild(a),a.parent=i,this.fastMap.set(t,a),r&&(a.nodeToRestore=r)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let n=this.fastMap.get(t);if(!n)return;let r=n.parent;for(let a of this.traverse())a!==n&&n.nodeToRestore&&a.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&Yd(a.nodeToRestore,n.scopeRef.current)&&(a.nodeToRestore=n.nodeToRestore);let i=n.children;r&&(r.removeChild(n),i.size>0&&i.forEach(a=>r&&r.addChild(a))),this.fastMap.delete(n.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let n of t.children)yield*this.traverse(n)}clone(){var t;let n=new zF;var r;for(let i of this.traverse())n.addTreeNode(i.scopeRef,(r=(t=i.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&r!==void 0?r:null,i.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new G7({scopeRef:null}),this.fastMap.set(null,this.root)}}class G7{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let cl=new zF;function Uu(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,i=P.useRef({isFocused:!1,isFocusVisible:t||Iv()}),[a,u]=P.useState(!1),[l,o]=P.useState(()=>i.current.isFocused&&i.current.isFocusVisible),s=P.useCallback(()=>o(i.current.isFocused&&i.current.isFocusVisible),[]),c=P.useCallback(m=>{i.current.isFocused=m,u(m),s()},[s]);uxe(m=>{i.current.isFocusVisible=m,s()},[],{isTextInput:n});let{focusProps:d}=mC({isDisabled:r,onFocusChange:c}),{focusWithinProps:h}=k0({isDisabled:!r,onFocusWithinChange:c});return{isFocused:a,isFocusVisible:l,focusProps:r?h:d}}function bte(e,t){let n=t==null?void 0:t.isDisabled,[r,i]=P.useState(!1);return Qr(()=>{if(e!=null&&e.current&&!n){let a=()=>{if(e.current){let l=El(e.current,{tabbable:!0});i(!!l.nextNode())}};a();let u=new MutationObserver(a);return u.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{u.disconnect()}}}),n?!1:r}function qF(e){let t=Ote(si(e));t!==e&&(t&&K7(t,e),e&&K2(e,t))}function K7(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function K2(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function Ote(e){let t=Qu(e),n=t==null?void 0:t.getAttribute("aria-activedescendant");return n&&e.getElementById(n)||t}const t0=[];function Ste(e,t){let{onClose:n,shouldCloseOnBlur:r,isOpen:i,isDismissable:a=!1,isKeyboardDismissDisabled:u=!1,shouldCloseOnInteractOutside:l}=e;P.useEffect(()=>{if(i&&!t0.includes(t))return t0.push(t),()=>{let y=t0.indexOf(t);y>=0&&t0.splice(y,1)}},[i,t]);let o=()=>{t0[t0.length-1]===t&&n&&n()},s=y=>{(!l||l(y.target))&&t0[t0.length-1]===t&&(y.stopPropagation(),y.preventDefault())},c=y=>{(!l||l(y.target))&&(t0[t0.length-1]===t&&(y.stopPropagation(),y.preventDefault()),o())},d=y=>{y.key==="Escape"&&!u&&!y.nativeEvent.isComposing&&(y.stopPropagation(),y.preventDefault(),o())};dxe({ref:t,onInteractOutside:a&&i?c:void 0,onInteractOutsideStart:s});let{focusWithinProps:h}=k0({isDisabled:!r,onBlurWithin:y=>{!y.relatedTarget||Vxe(y.relatedTarget)||(!l||l(y.relatedTarget))&&(n==null||n())}}),m=y=>{y.target===y.currentTarget&&y.preventDefault()};return{overlayProps:{onKeyDown:d,...h},underlayProps:{onPointerDown:m}}}function xte(e,t,n){let{type:r}=e,{isOpen:i}=t;P.useEffect(()=>{n&&n.current&&mte.set(n.current,t.close)});let a;r==="menu"?a=!0:r==="listbox"&&(a="listbox");let u=hi();return{triggerProps:{"aria-haspopup":a,"aria-expanded":i,"aria-controls":i?u:void 0,onPress:t.toggle},overlayProps:{id:u}}}const R2=typeof document<"u"&&window.visualViewport;let v_=0,mT;function _te(e={}){let{isDisabled:t}=e;Qr(()=>{if(!t)return v_++,v_===1&&(fb()?mT=Xxe():mT=Hxe()),()=>{v_--,v_===0&&mT()}},[t])}function Hxe(){let e=window.innerWidth-document.documentElement.clientWidth;return eh(e>0&&("scrollbarGutter"in document.documentElement.style?gT(document.documentElement,"scrollbarGutter","stable"):gT(document.documentElement,"paddingRight",`${e}px`)),gT(document.documentElement,"overflow","hidden"))}function Xxe(){let e,t=!1,n=o=>{let s=o.target;e=z1(s)?s:c0(s,!0),t=!1;let c=s.ownerDocument.defaultView.getSelection();c&&!c.isCollapsed&&c.containsNode(s,!0)&&(t=!0),"selectionStart"in s&&"selectionEnd"in s&&s.selectionStart<s.selectionEnd&&s.ownerDocument.activeElement===s&&(t=!0)},r=document.createElement("style");r.textContent=`
@layer {
  * {
    overscroll-behavior: contain;
  }
}`.trim(),document.head.prepend(r);let i=o=>{if(!(o.touches.length===2||t)){if(!e||e===document.documentElement||e===document.body){o.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&o.preventDefault()}},a=o=>{let s=o.target,c=o.relatedTarget;if(c&&$2(c))c.focus({preventScroll:!0}),jV(c,$2(s));else if(!c){var d;let h=(d=s.parentElement)===null||d===void 0?void 0:d.closest("[tabindex]");h==null||h.focus({preventScroll:!0})}},u=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(o){let s=document.activeElement!=null&&$2(document.activeElement);u.call(this,{...o,preventScroll:!0}),(!o||!o.preventScroll)&&jV(this,s)};let l=eh(vT(document,"touchstart",n,{passive:!1,capture:!0}),vT(document,"touchmove",i,{passive:!1,capture:!0}),vT(document,"blur",a,!0));return()=>{l(),r.remove(),HTMLElement.prototype.focus=u}}function gT(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function vT(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function jV(e,t){t||!R2?ZV(e):R2.addEventListener("resize",()=>ZV(e),{once:!0})}function ZV(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let r=c0(n);if(r!==document.documentElement&&r!==document.body&&r!==n){let i=r.getBoundingClientRect(),a=n.getBoundingClientRect();if(a.top<i.top||a.bottom>i.top+n.clientHeight){let u=i.bottom;R2&&(u=Math.min(u,R2.offsetTop+R2.height));let l=a.top-i.top-((u-i.top)/2-a.height/2);r.scrollTo({top:Math.max(0,Math.min(r.scrollHeight-r.clientHeight,r.scrollTop+l)),behavior:"smooth"})}}n=r.parentElement}}const Yxe=P.createContext({});function VF(){var e;return(e=P.useContext(Yxe))!==null&&e!==void 0?e:{}}const W7=ve.createContext(null);function Gxe(e){let{children:t}=e,n=P.useContext(W7),[r,i]=P.useState(0),a=P.useMemo(()=>({parent:n,modalCount:r,addModal(){i(u=>u+1),n&&n.addModal()},removeModal(){i(u=>u-1),n&&n.removeModal()}}),[n,r]);return ve.createElement(W7.Provider,{value:a},t)}function Kxe(){let e=P.useContext(W7);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function Wxe(e){let{modalProviderProps:t}=Kxe();return ve.createElement("div",{"data-overlay-container":!0,...e,...t})}function Jxe(e){return ve.createElement(Gxe,null,ve.createElement(Wxe,e))}function e_e(e){let t=Jd(),{portalContainer:n=t?null:document.body,...r}=e,{getContainer:i}=VF();if(!e.portalContainer&&i&&(n=i()),ve.useEffect(()=>{if(n!=null&&n.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[n]),!n)return null;let a=ve.createElement(Jxe,r);return AJ.createPortal(a,n)}var Ete={};Ete={dismiss:"تجاهل"};var Dte={};Dte={dismiss:"Отхвърляне"};var $te={};$te={dismiss:"Odstranit"};var Cte={};Cte={dismiss:"Luk"};var wte={};wte={dismiss:"Schließen"};var Rte={};Rte={dismiss:"Απόρριψη"};var Ate={};Ate={dismiss:"Dismiss"};var Tte={};Tte={dismiss:"Descartar"};var kte={};kte={dismiss:"Lõpeta"};var Pte={};Pte={dismiss:"Hylkää"};var Mte={};Mte={dismiss:"Rejeter"};var Fte={};Fte={dismiss:"התעלם"};var Nte={};Nte={dismiss:"Odbaci"};var Ite={};Ite={dismiss:"Elutasítás"};var Lte={};Lte={dismiss:"Ignora"};var Bte={};Bte={dismiss:"閉じる"};var Qte={};Qte={dismiss:"무시"};var zte={};zte={dismiss:"Atmesti"};var qte={};qte={dismiss:"Nerādīt"};var Vte={};Vte={dismiss:"Lukk"};var Ute={};Ute={dismiss:"Negeren"};var jte={};jte={dismiss:"Zignoruj"};var Zte={};Zte={dismiss:"Descartar"};var Hte={};Hte={dismiss:"Dispensar"};var Xte={};Xte={dismiss:"Revocare"};var Yte={};Yte={dismiss:"Пропустить"};var Gte={};Gte={dismiss:"Zrušiť"};var Kte={};Kte={dismiss:"Opusti"};var Wte={};Wte={dismiss:"Odbaci"};var Jte={};Jte={dismiss:"Avvisa"};var ene={};ene={dismiss:"Kapat"};var tne={};tne={dismiss:"Скасувати"};var nne={};nne={dismiss:"取消"};var rne={};rne={dismiss:"關閉"};var ine={};ine={"ar-AE":Ete,"bg-BG":Dte,"cs-CZ":$te,"da-DK":Cte,"de-DE":wte,"el-GR":Rte,"en-US":Ate,"es-ES":Tte,"et-EE":kte,"fi-FI":Pte,"fr-FR":Mte,"he-IL":Fte,"hr-HR":Nte,"hu-HU":Ite,"it-IT":Lte,"ja-JP":Bte,"ko-KR":Qte,"lt-LT":zte,"lv-LV":qte,"nb-NO":Vte,"nl-NL":Ute,"pl-PL":jte,"pt-BR":Zte,"pt-PT":Hte,"ro-RO":Xte,"ru-RU":Yte,"sk-SK":Gte,"sl-SI":Kte,"sr-SP":Wte,"sv-SE":Jte,"tr-TR":ene,"uk-UA":tne,"zh-CN":nne,"zh-TW":rne};const HV={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function UF(e={}){let{style:t,isFocusable:n}=e,[r,i]=P.useState(!1),{focusWithinProps:a}=k0({isDisabled:!n,onFocusWithinChange:l=>i(l)}),u=P.useMemo(()=>r?t:t?{...HV,...t}:HV,[r]);return{visuallyHiddenProps:{...a,style:u}}}function jS(e){let{children:t,elementType:n="div",isFocusable:r,style:i,...a}=e,{visuallyHiddenProps:u}=UF(e);return ve.createElement(n,Et(a,u),t)}function t_e(e){return e&&e.__esModule?e.default:e}function J7(e){let{onDismiss:t,...n}=e,r=ko(t_e(ine),"@react-aria/overlays"),i=Fv(n,r.format("dismiss")),a=()=>{t&&t()};return ve.createElement(jS,null,ve.createElement("button",{...i,tabIndex:-1,onClick:a,style:{width:1,height:1}}))}const n_e=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;let M4=new WeakMap,jc=[];function jF(e,t){let n=ef(e==null?void 0:e[0]),r=t instanceof n.Element?{root:t}:t;var i;let a=(i=r==null?void 0:r.root)!==null&&i!==void 0?i:document.body,u=(r==null?void 0:r.shouldUseInert)&&n_e,l=new Set(e),o=new Set,s=v=>u&&v instanceof n.HTMLElement?v.inert:v.getAttribute("aria-hidden")==="true",c=(v,_)=>{u&&v instanceof n.HTMLElement?v.inert=_:_?v.setAttribute("aria-hidden","true"):(v.removeAttribute("aria-hidden"),v instanceof n.HTMLElement&&(v.inert=!1))},d=v=>{for(let w of v.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))l.add(w);let _=w=>{if(o.has(w)||l.has(w)||w.parentElement&&o.has(w.parentElement)&&w.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let T of l)if(w.contains(T))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},x=document.createTreeWalker(v,NodeFilter.SHOW_ELEMENT,{acceptNode:_}),E=_(v);if(E===NodeFilter.FILTER_ACCEPT&&h(v),E!==NodeFilter.FILTER_REJECT){let w=x.nextNode();for(;w!=null;)h(w),w=x.nextNode()}},h=v=>{var _;let x=(_=M4.get(v))!==null&&_!==void 0?_:0;s(v)&&x===0||(x===0&&c(v,!0),o.add(v),M4.set(v,x+1))};jc.length&&jc[jc.length-1].disconnect(),d(a);let m=new MutationObserver(v=>{for(let _ of v)if(_.type==="childList"&&![...l,...o].some(x=>x.contains(_.target)))for(let x of _.addedNodes)(x instanceof HTMLElement||x instanceof SVGElement)&&(x.dataset.liveAnnouncer==="true"||x.dataset.reactAriaTopLayer==="true")?l.add(x):x instanceof Element&&d(x)});m.observe(a,{childList:!0,subtree:!0});let y={visibleNodes:l,hiddenNodes:o,observe(){m.observe(a,{childList:!0,subtree:!0})},disconnect(){m.disconnect()}};return jc.push(y),()=>{m.disconnect();for(let v of o){let _=M4.get(v);_!=null&&(_===1?(c(v,!1),M4.delete(v)):M4.set(v,_-1))}y===jc[jc.length-1]?(jc.pop(),jc.length&&jc[jc.length-1].observe()):jc.splice(jc.indexOf(y),1)}}function r_e(e){let t=jc[jc.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}function i_e(e,t){let{triggerRef:n,popoverRef:r,groupRef:i,isNonModal:a,isKeyboardDismissDisabled:u,shouldCloseOnInteractOutside:l,...o}=e,s=o.trigger==="SubmenuTrigger",{overlayProps:c,underlayProps:d}=Ste({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||s,isKeyboardDismissDisabled:u,shouldCloseOnInteractOutside:l},i??r),{overlayProps:h,arrowProps:m,placement:y,triggerAnchorPoint:v}=gte({...o,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:a&&!s?t.close:null});return _te({isDisabled:a||!t.isOpen}),P.useEffect(()=>{if(t.isOpen&&r.current){var _,x;return a?r_e((_=i==null?void 0:i.current)!==null&&_!==void 0?_:r.current):jF([(x=i==null?void 0:i.current)!==null&&x!==void 0?x:r.current],{shouldUseInert:!0})}},[a,t.isOpen,r,i]),{popoverProps:Et(c,h),arrowProps:m,underlayProps:d,placement:y,triggerAnchorPoint:v}}const ane=ve.createContext(null);function e9(e){let t=Jd(),{portalContainer:n=t?null:document.body,isExiting:r}=e,[i,a]=P.useState(!1),u=P.useMemo(()=>({contain:i,setContain:a}),[i,a]),{getContainer:l}=VF();if(!e.portalContainer&&l&&(n=l()),!n)return null;let o=e.children;return e.disableFocusManagement||(o=ve.createElement(BF,{restoreFocus:!0,contain:(e.shouldContainFocus||i)&&!r},o)),o=ve.createElement(ane.Provider,{value:u},ve.createElement(sxe,null,o)),AJ.createPortal(o,n)}function une(){let e=P.useContext(ane),t=e==null?void 0:e.setContain;Qr(()=>{t==null||t(!0)},[t])}function a_e(e,t,n){let{overlayProps:r,underlayProps:i}=Ste({...e,isOpen:t.isOpen,onClose:t.close},n);return _te({isDisabled:!t.isOpen}),une(),P.useEffect(()=>{if(t.isOpen&&n.current)return jF([n.current],{shouldUseInert:!0})},[t.isOpen,n]),{modalProps:Et(r),underlayProps:i}}function u_e(e){return e&&e.__esModule?e.default:e}function ZF(e,t,n){let{type:r="menu",isDisabled:i,trigger:a="press"}=e,u=hi(),{triggerProps:l,overlayProps:o}=xte({type:r},t,n),s=m=>{if(!i&&!(a==="longPress"&&!m.altKey)&&n&&n.current)switch(m.key){case"Enter":case" ":if(a==="longPress"||m.isDefaultPrevented())return;case"ArrowDown":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in m||m.stopPropagation(),m.preventDefault(),t.toggle("last");break;default:"continuePropagation"in m&&m.continuePropagation()}},c=ko(u_e(Kee),"@react-aria/menu"),{longPressProps:d}=ste({isDisabled:i||a!=="longPress",accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),h={preventFocusOnPress:!0,onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!i&&(Ou(m.target),t.open(m.pointerType==="virtual"?"first":null))},onPress(m){m.pointerType==="touch"&&!i&&(Ou(m.target),t.toggle())}};return delete l.onPress,{menuTriggerProps:{...l,...a==="press"?h:d,id:u,onKeyDown:s},menuProps:{...o,"aria-labelledby":u,autoFocus:t.focusStrategy||!0,onClose:t.close}}}const lne=new WeakMap;function t9(e){return vE()?e.altKey:e.ctrlKey}function xE(e,t){var n,r;let i=`[data-key="${CSS.escape(String(t))}"]`,a=(n=e.current)===null||n===void 0?void 0:n.dataset.collection;return a&&(i=`[data-collection="${CSS.escape(a)}"]${i}`),(r=e.current)===null||r===void 0?void 0:r.querySelector(i)}const one=new WeakMap;function l_e(e){let t=hi();return one.set(e,t),t}function o_e(e){return one.get(e)}const s_e=1e3;function sne(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,i=P.useRef({search:"",timeout:void 0}).current,a=u=>{let l=c_e(u.key);if(!(!l||u.ctrlKey||u.metaKey||!u.currentTarget.contains(u.target)||i.search.length===0&&l===" ")){if(l===" "&&i.search.trim().length>0&&(u.preventDefault(),"continuePropagation"in u||u.stopPropagation()),i.search+=l,t.getKeyForSearch!=null){let o=t.getKeyForSearch(i.search,n.focusedKey);o==null&&(o=t.getKeyForSearch(i.search)),o!=null&&(n.setFocusedKey(o),r&&r(o))}clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},s_e)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?a:void 0}}}function c_e(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function HF(e){let{selectionManager:t,keyboardDelegate:n,ref:r,autoFocus:i=!1,shouldFocusWrap:a=!1,disallowEmptySelection:u=!1,disallowSelectAll:l=!1,escapeKeyBehavior:o="clearSelection",selectOnFocus:s=t.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:d,allowsTabNavigation:h=!1,isVirtualized:m,scrollRef:y=r,linkBehavior:v="action"}=e,{direction:_}=Zi(),x=T3(),E=J=>{var te;if(J.altKey&&J.key==="Tab"&&J.preventDefault(),!(!((te=r.current)===null||te===void 0)&&te.contains(J.target)))return;const X=(se,me)=>{if(se!=null){if(t.isLink(se)&&v==="selection"&&s&&!t9(J)){zf.flushSync(()=>{t.setFocusedKey(se,me)});let ge=xE(r,se),we=t.getItemProps(se);ge&&x.open(ge,J,we.href,we.routerOptions);return}if(t.setFocusedKey(se,me),t.isLink(se)&&v==="override")return;J.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(se):s&&!t9(J)&&t.replaceSelection(se)}};switch(J.key){case"ArrowDown":if(n.getKeyBelow){var M,K,Y;let se=t.focusedKey!=null?(M=n.getKeyBelow)===null||M===void 0?void 0:M.call(n,t.focusedKey):(K=n.getFirstKey)===null||K===void 0?void 0:K.call(n);se==null&&a&&(se=(Y=n.getFirstKey)===null||Y===void 0?void 0:Y.call(n,t.focusedKey)),se!=null&&(J.preventDefault(),X(se))}break;case"ArrowUp":if(n.getKeyAbove){var B,ne,oe;let se=t.focusedKey!=null?(B=n.getKeyAbove)===null||B===void 0?void 0:B.call(n,t.focusedKey):(ne=n.getLastKey)===null||ne===void 0?void 0:ne.call(n);se==null&&a&&(se=(oe=n.getLastKey)===null||oe===void 0?void 0:oe.call(n,t.focusedKey)),se!=null&&(J.preventDefault(),X(se))}break;case"ArrowLeft":if(n.getKeyLeftOf){var ae,de,be;let se=t.focusedKey!=null?(ae=n.getKeyLeftOf)===null||ae===void 0?void 0:ae.call(n,t.focusedKey):null;se==null&&a&&(se=_==="rtl"?(de=n.getFirstKey)===null||de===void 0?void 0:de.call(n,t.focusedKey):(be=n.getLastKey)===null||be===void 0?void 0:be.call(n,t.focusedKey)),se!=null&&(J.preventDefault(),X(se,_==="rtl"?"first":"last"))}break;case"ArrowRight":if(n.getKeyRightOf){var ye,pe,_e;let se=t.focusedKey!=null?(ye=n.getKeyRightOf)===null||ye===void 0?void 0:ye.call(n,t.focusedKey):null;se==null&&a&&(se=_==="rtl"?(pe=n.getLastKey)===null||pe===void 0?void 0:pe.call(n,t.focusedKey):(_e=n.getFirstKey)===null||_e===void 0?void 0:_e.call(n,t.focusedKey)),se!=null&&(J.preventDefault(),X(se,_==="rtl"?"last":"first"))}break;case"Home":if(n.getFirstKey){if(t.focusedKey===null&&J.shiftKey)return;J.preventDefault();let se=n.getFirstKey(t.focusedKey,v1(J));t.setFocusedKey(se),se!=null&&(v1(J)&&J.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(se):s&&t.replaceSelection(se))}break;case"End":if(n.getLastKey){if(t.focusedKey===null&&J.shiftKey)return;J.preventDefault();let se=n.getLastKey(t.focusedKey,v1(J));t.setFocusedKey(se),se!=null&&(v1(J)&&J.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(se):s&&t.replaceSelection(se))}break;case"PageDown":if(n.getKeyPageBelow&&t.focusedKey!=null){let se=n.getKeyPageBelow(t.focusedKey);se!=null&&(J.preventDefault(),X(se))}break;case"PageUp":if(n.getKeyPageAbove&&t.focusedKey!=null){let se=n.getKeyPageAbove(t.focusedKey);se!=null&&(J.preventDefault(),X(se))}break;case"a":v1(J)&&t.selectionMode==="multiple"&&l!==!0&&(J.preventDefault(),t.selectAll());break;case"Escape":o==="clearSelection"&&!u&&t.selectedKeys.size!==0&&(J.stopPropagation(),J.preventDefault(),t.clearSelection());break;case"Tab":if(!h){if(J.shiftKey)r.current.focus();else{let se=El(r.current,{tabbable:!0}),me,ge;do ge=se.lastChild(),ge&&(me=ge);while(ge);me&&!me.contains(document.activeElement)&&Ou(me)}break}}},w=P.useRef({top:0,left:0});Zd(y,"scroll",m?void 0:()=>{var J,te,X,M;w.current={top:(X=(J=y.current)===null||J===void 0?void 0:J.scrollTop)!==null&&X!==void 0?X:0,left:(M=(te=y.current)===null||te===void 0?void 0:te.scrollLeft)!==null&&M!==void 0?M:0}});let T=J=>{if(t.isFocused){J.currentTarget.contains(J.target)||t.setFocused(!1);return}if(J.currentTarget.contains(J.target)){if(t.setFocused(!0),t.focusedKey==null){var te,X;let Y=ne=>{ne!=null&&(t.setFocusedKey(ne),s&&!t.isSelected(ne)&&t.replaceSelection(ne))},B=J.relatedTarget;var M,K;B&&J.currentTarget.compareDocumentPosition(B)&Node.DOCUMENT_POSITION_FOLLOWING?Y((M=t.lastSelectedKey)!==null&&M!==void 0?M:(te=n.getLastKey)===null||te===void 0?void 0:te.call(n)):Y((K=t.firstSelectedKey)!==null&&K!==void 0?K:(X=n.getFirstKey)===null||X===void 0?void 0:X.call(n))}else!m&&y.current&&(y.current.scrollTop=w.current.top,y.current.scrollLeft=w.current.left);if(t.focusedKey!=null&&y.current){let Y=xE(r,t.focusedKey);Y instanceof HTMLElement&&(!Y.contains(document.activeElement)&&!d&&Ou(Y),Xm()==="keyboard"&&Mm(Y,{containingElement:r.current}))}}},R=J=>{J.currentTarget.contains(J.relatedTarget)||t.setFocused(!1)},C=P.useRef(!1);Zd(r,$7,d?J=>{let{detail:te}=J;J.stopPropagation(),t.setFocused(!0),(te==null?void 0:te.focusStrategy)==="first"&&(C.current=!0)}:void 0);let k=li(()=>{var J,te;let X=(te=(J=n.getFirstKey)===null||J===void 0?void 0:J.call(n))!==null&&te!==void 0?te:null;if(X==null){let M=Qu();qF(r.current),K2(M,null),t.collection.size>0&&(C.current=!1)}else t.setFocusedKey(X),C.current=!1});Gq(()=>{C.current&&k()},[t.collection,k]);let F=li(()=>{t.collection.size>0&&(C.current=!1)});Gq(()=>{F()},[t.focusedKey,F]),Zd(r,RJ,d?J=>{var te;J.stopPropagation(),t.setFocused(!1),!((te=J.detail)===null||te===void 0)&&te.clearFocusKey&&t.setFocusedKey(null)}:void 0);const z=P.useRef(i),Z=P.useRef(!1);P.useEffect(()=>{if(z.current){var J,te;let K=null;var X;i==="first"&&(K=(X=(J=n.getFirstKey)===null||J===void 0?void 0:J.call(n))!==null&&X!==void 0?X:null);var M;i==="last"&&(K=(M=(te=n.getLastKey)===null||te===void 0?void 0:te.call(n))!==null&&M!==void 0?M:null);let Y=t.selectedKeys;if(Y.size){for(let B of Y)if(t.canSelectItem(B)){K=B;break}}t.setFocused(!0),t.setFocusedKey(K),K==null&&!d&&r.current&&tc(r.current),t.collection.size>0&&(z.current=!1,Z.current=!0)}});let q=P.useRef(t.focusedKey),j=P.useRef(null);P.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==q.current||Z.current)&&y.current&&r.current){let J=Xm(),te=xE(r,t.focusedKey);if(!(te instanceof HTMLElement))return;(J==="keyboard"||Z.current)&&(j.current&&cancelAnimationFrame(j.current),j.current=requestAnimationFrame(()=>{y.current&&(CJ(y.current,te),J!=="virtual"&&Mm(te,{containingElement:r.current}))}))}!d&&t.isFocused&&t.focusedKey==null&&q.current!=null&&r.current&&tc(r.current),q.current=t.focusedKey,Z.current=!1}),P.useEffect(()=>()=>{j.current&&cancelAnimationFrame(j.current)},[]),Zd(r,"react-aria-focus-scope-restore",J=>{J.preventDefault(),t.setFocused(!0)});let N={onKeyDown:E,onFocus:T,onBlur:R,onMouseDown(J){y.current===J.target&&J.preventDefault()}},{typeSelectProps:V}=sne({keyboardDelegate:n,selectionManager:t});c||(N=Et(V,N));let W;d||(W=t.focusedKey==null?0:-1);let G=l_e(t.collection);return{collectionProps:Et(N,{tabIndex:W,"data-collection":G})}}function vC(e){let{id:t,selectionManager:n,key:r,ref:i,shouldSelectOnPressUp:a,shouldUseVirtualFocus:u,focus:l,isDisabled:o,onAction:s,allowsDifferentPressOrigin:c,linkBehavior:d="action"}=e,h=T3();t=hi(t);let m=M=>{if(M.pointerType==="keyboard"&&t9(M))n.toggleSelection(r);else{if(n.selectionMode==="none")return;if(n.isLink(r)){if(d==="selection"&&i.current){let K=n.getItemProps(r);h.open(i.current,M,K.href,K.routerOptions),n.setSelectedKeys(n.selectedKeys);return}else if(d==="override"||d==="none")return}n.selectionMode==="single"?n.isSelected(r)&&!n.disallowEmptySelection?n.toggleSelection(r):n.replaceSelection(r):M&&M.shiftKey?n.extendSelection(r):n.selectionBehavior==="toggle"||M&&(v1(M)||M.pointerType==="touch"||M.pointerType==="virtual")?n.toggleSelection(r):n.replaceSelection(r)}};P.useEffect(()=>{r===n.focusedKey&&n.isFocused&&(u?qF(i.current):l?l():document.activeElement!==i.current&&i.current&&tc(i.current))},[i,r,n.focusedKey,n.childFocusStrategy,n.isFocused,u]),o=o||n.isDisabled(r);let y={};!u&&!o?y={tabIndex:r===n.focusedKey?0:-1,onFocus(M){M.target===i.current&&n.setFocusedKey(r)}}:o&&(y.onMouseDown=M=>{M.preventDefault()});let v=n.isLink(r)&&d==="override",_=s&&e.UNSTABLE_itemBehavior==="action",x=n.isLink(r)&&d!=="selection"&&d!=="none",E=!o&&n.canSelectItem(r)&&!v&&!_,w=(s||x)&&!o,T=w&&(n.selectionBehavior==="replace"?!E:!E||n.isEmpty),R=w&&E&&n.selectionBehavior==="replace",C=T||R,k=P.useRef(null),F=C&&E,z=P.useRef(!1),Z=P.useRef(!1),q=n.getItemProps(r),j=M=>{if(s){var K;s(),(K=i.current)===null||K===void 0||K.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))}x&&i.current&&h.open(i.current,M,q.href,q.routerOptions)},N={ref:i};if(a?(N.onPressStart=M=>{k.current=M.pointerType,z.current=F,M.pointerType==="keyboard"&&(!C||YV())&&m(M)},c?(N.onPressUp=T?void 0:M=>{M.pointerType==="mouse"&&E&&m(M)},N.onPress=T?j:M=>{M.pointerType!=="keyboard"&&M.pointerType!=="mouse"&&E&&m(M)}):N.onPress=M=>{if(T||R&&M.pointerType!=="mouse"){if(M.pointerType==="keyboard"&&!XV())return;j(M)}else M.pointerType!=="keyboard"&&E&&m(M)}):(N.onPressStart=M=>{k.current=M.pointerType,z.current=F,Z.current=T,E&&(M.pointerType==="mouse"&&!T||M.pointerType==="keyboard"&&(!w||YV()))&&m(M)},N.onPress=M=>{(M.pointerType==="touch"||M.pointerType==="pen"||M.pointerType==="virtual"||M.pointerType==="keyboard"&&C&&XV()||M.pointerType==="mouse"&&Z.current)&&(C?j(M):E&&m(M))}),y["data-collection"]=o_e(n.collection),y["data-key"]=r,N.preventFocusOnPress=u,u&&(N=Et(N,{onPressStart(M){M.pointerType!=="touch"&&(n.setFocused(!0),n.setFocusedKey(r))},onPress(M){M.pointerType==="touch"&&(n.setFocused(!0),n.setFocusedKey(r))}})),q)for(let M of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])q[M]&&(N[M]=eh(N[M],q[M]));let{pressProps:V,isPressed:W}=rp(N),G=R?M=>{k.current==="mouse"&&(M.stopPropagation(),M.preventDefault(),j(M))}:void 0,{longPressProps:J}=ste({isDisabled:!F,onLongPress(M){M.pointerType==="touch"&&(m(M),n.setSelectionBehavior("toggle"))}}),te=M=>{k.current==="touch"&&z.current&&M.preventDefault()},X=d!=="none"&&n.isLink(r)?M=>{B1.isOpening||M.preventDefault()}:void 0;return{itemProps:Et(y,E||T||u&&!o?V:{},F?J:{},{onDoubleClick:G,onDragStartCapture:te,onClick:X,id:t},u?{onMouseDown:M=>M.preventDefault()}:void 0),isPressed:W,isSelected:n.isSelected(r),isFocused:n.isFocused&&n.focusedKey===r,isDisabled:o,allowsSelection:E,hasAction:C}}function XV(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function YV(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class GV{getItemRect(t){let n=this.ref.current;if(!n)return null;let r=t!=null?xE(this.ref,t):null;if(!r)return null;let i=n.getBoundingClientRect(),a=r.getBoundingClientRect();return{x:a.left-i.left-n.clientLeft+n.scrollLeft,y:a.top-i.top-n.clientTop+n.scrollTop,width:a.width,height:a.height}}getContentSize(){let t=this.ref.current;var n,r;return{width:(n=t==null?void 0:t.scrollWidth)!==null&&n!==void 0?n:0,height:(r=t==null?void 0:t.scrollHeight)!==null&&r!==void 0?r:0}}getVisibleRect(){let t=this.ref.current;var n,r,i,a;return{x:(n=t==null?void 0:t.scrollLeft)!==null&&n!==void 0?n:0,y:(r=t==null?void 0:t.scrollTop)!==null&&r!==void 0?r:0,width:(i=t==null?void 0:t.clientWidth)!==null&&i!==void 0?i:0,height:(a=t==null?void 0:t.clientHeight)!==null&&a!==void 0?a:0}}constructor(t){this.ref=t}}class ZS{isDisabled(t){var n;return this.disabledBehavior==="all"&&(((n=t.props)===null||n===void 0?void 0:n.isDisabled)||this.disabledKeys.has(t.key))}findNextNonDisabled(t,n){let r=t;for(;r!=null;){let i=this.collection.getItem(r);if((i==null?void 0:i.type)==="item"&&!this.isDisabled(i))return r;r=n(r)}return null}getNextKey(t){let n=t;return n=this.collection.getKeyAfter(n),this.findNextNonDisabled(n,r=>this.collection.getKeyAfter(r))}getPreviousKey(t){let n=t;return n=this.collection.getKeyBefore(n),this.findNextNonDisabled(n,r=>this.collection.getKeyBefore(r))}findKey(t,n,r){let i=t,a=this.layoutDelegate.getItemRect(i);if(!a||i==null)return null;let u=a;do{if(i=n(i),i==null)break;a=this.layoutDelegate.getItemRect(i)}while(a&&r(u,a)&&i!=null);return i}isSameRow(t,n){return t.y===n.y||t.x!==n.x}isSameColumn(t,n){return t.x===n.x||t.y!==n.y}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getNextKey(n),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,n=>this.getPreviousKey(n),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,n){return n?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){let n=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[n]?(t=this.layoutDelegate[n](t),this.findNextNonDisabled(t,r=>this.layoutDelegate[n](r))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){let n=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[n]?(t=this.layoutDelegate[n](t),this.findNextNonDisabled(t,r=>this.layoutDelegate[n](r))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,r=>this.getNextColumn(r,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,n=>this.collection.getKeyAfter(n))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,n=>this.collection.getKeyBefore(n))}getKeyPageAbove(t){let n=this.ref.current,r=this.layoutDelegate.getItemRect(t);if(!r)return null;if(n&&!z1(n))return this.getFirstKey();let i=t;if(this.orientation==="horizontal"){let a=Math.max(0,r.x+r.width-this.layoutDelegate.getVisibleRect().width);for(;r&&r.x>a&&i!=null;)i=this.getKeyAbove(i),r=i==null?null:this.layoutDelegate.getItemRect(i)}else{let a=Math.max(0,r.y+r.height-this.layoutDelegate.getVisibleRect().height);for(;r&&r.y>a&&i!=null;)i=this.getKeyAbove(i),r=i==null?null:this.layoutDelegate.getItemRect(i)}return i??this.getFirstKey()}getKeyPageBelow(t){let n=this.ref.current,r=this.layoutDelegate.getItemRect(t);if(!r)return null;if(n&&!z1(n))return this.getLastKey();let i=t;if(this.orientation==="horizontal"){let a=Math.min(this.layoutDelegate.getContentSize().width,r.y-r.width+this.layoutDelegate.getVisibleRect().width);for(;r&&r.x<a&&i!=null;)i=this.getKeyBelow(i),r=i==null?null:this.layoutDelegate.getItemRect(i)}else{let a=Math.min(this.layoutDelegate.getContentSize().height,r.y-r.height+this.layoutDelegate.getVisibleRect().height);for(;r&&r.y<a&&i!=null;)i=this.getKeyBelow(i),r=i==null?null:this.layoutDelegate.getItemRect(i)}return i??this.getLastKey()}getKeyForSearch(t,n){if(!this.collator)return null;let r=this.collection,i=n||this.getFirstKey();for(;i!=null;){let a=r.getItem(i);if(!a)return null;let u=a.textValue.slice(0,t.length);if(a.textValue&&this.collator.compare(u,t)===0)return i;i=this.getNextKey(i)}return null}constructor(...t){if(t.length===1){let n=t[0];this.collection=n.collection,this.ref=n.ref,this.collator=n.collator,this.disabledKeys=n.disabledKeys||new Set,this.disabledBehavior=n.disabledBehavior||"all",this.orientation=n.orientation||"vertical",this.direction=n.direction,this.layout=n.layout||"stack",this.layoutDelegate=n.layoutDelegate||new GV(n.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new GV(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function XF(e){let{selectionManager:t,collection:n,disabledKeys:r,ref:i,keyboardDelegate:a,layoutDelegate:u}=e,l=gC({usage:"search",sensitivity:"base"}),o=t.disabledBehavior,s=P.useMemo(()=>a||new ZS({collection:n,disabledKeys:r,disabledBehavior:o,ref:i,collator:l,layoutDelegate:u}),[a,u,n,r,i,l,o]),{collectionProps:c}=HF({...e,ref:i,selectionManager:t,keyboardDelegate:s});return{listProps:c}}function f_e(e,t,n){let{shouldFocusWrap:r=!0,onKeyDown:i,onKeyUp:a,...u}=e;!e["aria-label"]&&e["aria-labelledby"];let l=Yt(e,{labelable:!0}),{listProps:o}=XF({...u,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:r,linkBehavior:"override"});return lne.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:Et(l,{onKeyDown:i,onKeyUp:a},{role:"menu",...o,onKeyDown:s=>{var c;(s.key!=="Escape"||e.shouldUseVirtualFocus)&&((c=o.onKeyDown)===null||c===void 0||c.call(o,s))}})}}class d_e{build(t,n){return this.context=n,KV(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:n,items:r}=t;if(ve.isValidElement(n)&&n.type===ve.Fragment)yield*this.iterateCollection({children:n.props.children,items:r});else if(typeof n=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");let i=0;for(let a of r)yield*this.getFullNode({value:a,index:i},{renderer:n}),i++}else{let i=[];ve.Children.forEach(n,u=>{u&&i.push(u)});let a=0;for(let u of i){let l=this.getFullNode({element:u,index:a},{});for(let o of l)a++,yield o}}}getKey(t,n,r,i){if(t.key!=null)return t.key;if(n.type==="cell"&&n.key!=null)return`${i}${n.key}`;let a=n.value;if(a!=null){var u;let l=(u=a.key)!==null&&u!==void 0?u:a.id;if(l==null)throw new Error("No key found for item");return l}return i?`${i}.${n.index}`:`$.${n.index}`}getChildState(t,n){return{renderer:n.renderer||t.renderer}}*getFullNode(t,n,r,i){if(ve.isValidElement(t.element)&&t.element.type===ve.Fragment){let _=[];ve.Children.forEach(t.element.props.children,E=>{_.push(E)});var a;let x=(a=t.index)!==null&&a!==void 0?a:0;for(const E of _)yield*this.getFullNode({element:E,index:x++},n,r,i);return}let u=t.element;if(!u&&t.value&&n&&n.renderer){let _=this.cache.get(t.value);if(_&&(!_.shouldInvalidate||!_.shouldInvalidate(this.context))){_.index=t.index,_.parentKey=i?i.key:null,yield _;return}u=n.renderer(t.value)}if(ve.isValidElement(u)){let _=u.type;if(typeof _!="function"&&typeof _.getCollectionNode!="function"){let T=u.type;throw new Error(`Unknown element <${T}> in collection.`)}let x=_.getCollectionNode(u.props,this.context);var l;let E=(l=t.index)!==null&&l!==void 0?l:0,w=x.next();for(;!w.done&&w.value;){let T=w.value;t.index=E;var o;let R=(o=T.key)!==null&&o!==void 0?o:null;R==null&&(R=T.element?null:this.getKey(u,t,n,r));let k=[...this.getFullNode({...T,key:R,index:E,wrapper:h_e(t.wrapper,T.wrapper)},this.getChildState(n,T),r?`${r}${u.key}`:u.key,i)];for(let F of k){var s,c;F.value=(c=(s=T.value)!==null&&s!==void 0?s:t.value)!==null&&c!==void 0?c:null,F.value&&this.cache.set(F.value,F);var d;if(t.type&&F.type!==t.type)throw new Error(`Unsupported type <${yT(F.type)}> in <${yT((d=i==null?void 0:i.type)!==null&&d!==void 0?d:"unknown parent type")}>. Only <${yT(t.type)}> is supported.`);E++,yield F}w=x.next(k)}return}if(t.key==null||t.type==null)return;let h=this;var m,y;let v={type:t.type,props:t.props,key:t.key,parentKey:i?i.key:null,value:(m=t.value)!==null&&m!==void 0?m:null,level:i?i.level+1:0,index:t.index,rendered:t.rendered,textValue:(y=t.textValue)!==null&&y!==void 0?y:"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:KV(function*(){if(!t.hasChildNodes||!t.childNodes)return;let _=0;for(let x of t.childNodes()){x.key!=null&&(x.key=`${v.key}${x.key}`);let E=h.getFullNode({...x,index:_},h.getChildState(n,x),v.key,v);for(let w of E)_++,yield w}})};yield v}constructor(){this.cache=new WeakMap}}function KV(e){let t=[],n=null;return{*[Symbol.iterator](){for(let r of t)yield r;n||(n=e());for(let r of n)t.push(r),yield r}}}function h_e(e,t){if(e&&t)return n=>e(t(n));if(e)return e;if(t)return t}function yT(e){return e[0].toUpperCase()+e.slice(1)}function cne(e,t,n){let r=P.useMemo(()=>new d_e,[]),{children:i,items:a,collection:u}=e;return P.useMemo(()=>{if(u)return u;let o=r.build({children:i,items:a},n);return t(o)},[r,i,a,u,n,t])}function yC(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function p_e(e){return m_e(e)}function m_e(e,t){for(let n of e)return n}function bT(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...WV(e,t),t],i=[...WV(e,n),n],a=r.slice(0,i.length).findIndex((u,l)=>u!==i[l]);return a!==-1?(t=r[a],n=i[a],t.index-n.index):r.findIndex(u=>u===n)>=0?1:(i.findIndex(u=>u===t)>=0,-1)}function WV(e,t){let n=[],r=t;for(;(r==null?void 0:r.parentKey)!=null;)r=e.getItem(r.parentKey),r&&n.unshift(r);return n}const JV=new WeakMap;function YF(e){let t=JV.get(e);if(t!=null)return t;let n=0,r=i=>{for(let a of i)a.type==="section"?r(yC(a,e)):a.type==="item"&&n++};return r(e),JV.set(e,n),n}function g_e(e,t,n){let{id:r,key:i,closeOnSelect:a,isVirtualized:u,"aria-haspopup":l,onPressStart:o,onPressUp:s,onPress:c,onPressChange:d,onPressEnd:h,onClick:m,onHoverStart:y,onHoverChange:v,onHoverEnd:_,onKeyDown:x,onKeyUp:E,onFocus:w,onFocusChange:T,onBlur:R,selectionManager:C=t.selectionManager}=e,k=!!l,F=k&&e["aria-expanded"]==="true";var z;let Z=(z=e.isDisabled)!==null&&z!==void 0?z:C.isDisabled(i);var q;let j=(q=e.isSelected)!==null&&q!==void 0?q:C.isSelected(i),N=lne.get(t),V=t.collection.getItem(i),W=e.onClose||N.onClose,G=T3(),J=()=>{var Re;if(!k&&(!(V==null||(Re=V.props)===null||Re===void 0)&&Re.onAction?V.props.onAction():e.onAction&&e.onAction(i),N.onAction)){let et=N.onAction;et(i)}},te="menuitem";k||(C.selectionMode==="single"?te="menuitemradio":C.selectionMode==="multiple"&&(te="menuitemcheckbox"));let X=S0(),M=S0(),K=S0(),Y={id:r,"aria-disabled":Z||void 0,role:te,"aria-label":e["aria-label"],"aria-labelledby":X,"aria-describedby":[M,K].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};C.selectionMode!=="none"&&!k&&(Y["aria-checked"]=j),u&&(Y["aria-posinset"]=V==null?void 0:V.index,Y["aria-setsize"]=YF(t.collection));let B=P.useRef(!1),ne=Re=>{d==null||d(Re),B.current=Re},oe=P.useRef(null),ae=Re=>{Re.pointerType!=="keyboard"&&(oe.current={pointerType:Re.pointerType}),Re.pointerType==="mouse"&&(B.current||Re.target.click()),s==null||s(Re)},de=Re=>{var et,tt;m==null||m(Re),J(),N4e(Re,G,V.props.href,V==null?void 0:V.props.routerOptions);let Oe=((et=oe.current)===null||et===void 0?void 0:et.pointerType)==="keyboard"?((tt=oe.current)===null||tt===void 0?void 0:tt.key)==="Enter"||C.selectionMode==="none"||C.isLink(i):C.selectionMode!=="multiple"||C.isLink(i);Oe=a??Oe,W&&!k&&Oe&&W(),oe.current=null},{itemProps:be,isFocused:ye}=vC({id:r,selectionManager:C,key:i,ref:n,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:N.shouldUseVirtualFocus}),{pressProps:pe,isPressed:_e}=rp({onPressStart:o,onPress:c,onPressUp:ae,onPressChange:ne,onPressEnd:h,isDisabled:Z}),{hoverProps:se}=Eu({isDisabled:Z,onHoverStart(Re){!Iv()&&!(F&&l)&&(C.setFocused(!0),C.setFocusedKey(i)),y==null||y(Re)},onHoverChange:v,onHoverEnd:_}),{keyboardProps:me}=NF({onKeyDown:Re=>{if(Re.repeat){Re.continuePropagation();return}switch(Re.key){case" ":oe.current={pointerType:"keyboard",key:" "},Re.target.click();break;case"Enter":oe.current={pointerType:"keyboard",key:"Enter"},Re.target.tagName!=="A"&&Re.target.click();break;default:k||Re.continuePropagation(),x==null||x(Re);break}},onKeyUp:E}),{focusProps:ge}=mC({onBlur:R,onFocus:w,onFocusChange:T}),we=Yt(V==null?void 0:V.props);delete we.id;let Ne=bF(V==null?void 0:V.props);return{menuItemProps:{...Y,...Et(we,Ne,k?{onFocus:be.onFocus,"data-collection":be["data-collection"],"data-key":be["data-key"]}:be,pe,se,me,ge,N.shouldUseVirtualFocus||k?{onMouseDown:Re=>Re.preventDefault()}:void 0,Z?void 0:{onClick:de}),tabIndex:be.tabIndex!=null&&F&&!N.shouldUseVirtualFocus?-1:be.tabIndex},labelProps:{id:X},descriptionProps:{id:M},keyboardShortcutProps:{id:K},isFocused:ye,isFocusVisible:ye&&C.isFocused&&Iv()&&!F,isSelected:j,isPressed:_e,isDisabled:Z}}function v_e(e){let{heading:t,"aria-label":n}=e,r=hi();return{itemProps:{role:"presentation"},headingProps:t?{id:r,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?r:void 0}}}const y_=2,y_e=50,b_e=1e3,eU=Math.PI/12;function O_e(e){let{menuRef:t,submenuRef:n,isOpen:r,isDisabled:i}=e,a=P.useRef(void 0),u=P.useRef(void 0),l=P.useRef(0),o=P.useRef(void 0),s=P.useRef(void 0),c=P.useRef(void 0),d=P.useRef(2),[h,m]=P.useState(!1);Q1({ref:n,onResize:()=>{n.current&&(u.current=n.current.getBoundingClientRect(),c.current=void 0)}});let v=()=>{m(!1),d.current=y_,a.current=void 0},_=FF(),x=li(E=>{h&&E.preventDefault()});P.useEffect(()=>{h&&t.current?t.current.style.pointerEvents="none":t.current.style.pointerEvents=""},[t,h]),P.useEffect(()=>{let E=n.current,w=t.current;if(i||!E||!r||_!=="pointer"||!w){v();return}u.current=E.getBoundingClientRect();let T=R=>{if(R.pointerType==="touch"||R.pointerType==="pen")return;let C=Date.now();if(C-l.current<y_e)return;clearTimeout(o.current),clearTimeout(s.current);let{clientX:k,clientY:F}=R;if(!a.current){a.current={x:k,y:F};return}if(!u.current)return;if(c.current||(c.current=k>u.current.right?"left":"right"),k<w.getBoundingClientRect().left||k>w.getBoundingClientRect().right||F<w.getBoundingClientRect().top||F>w.getBoundingClientRect().bottom){v();return}let z=a.current.x,Z=a.current.y,q=c.current==="right"?u.current.left-z:z-u.current.right,j=Math.atan2(Z-u.current.top,q)+eU,N=Math.atan2(Z-u.current.bottom,q)-eU,V=Math.atan2(Z-F,c.current==="left"?-(k-z):k-z),W=V<j&&V>N;d.current=W?Math.min(d.current+1,y_):Math.max(d.current-1,0),d.current>=y_?m(!0):m(!1),l.current=C,a.current={x:k,y:F},W&&(o.current=setTimeout(()=>{v(),s.current=setTimeout(()=>{let G=document.elementFromPoint(k,F);G&&w.contains(G)&&G.dispatchEvent(new PointerEvent("pointerover",{bubbles:!0,cancelable:!0}))},100)},b_e))};return window.addEventListener("pointermove",T),window.addEventListener("pointerdown",x,!0),()=>{window.removeEventListener("pointermove",T),window.removeEventListener("pointerdown",x,!0),clearTimeout(o.current),clearTimeout(s.current),d.current=y_}},[i,r,t,_,m,x,n])}function S_e(e,t,n){let{parentMenuRef:r,submenuRef:i,type:a="menu",isDisabled:u,delay:l=200,shouldUseVirtualFocus:o}=e,s=hi(),c=hi(),{direction:d}=Zi(),h=P.useRef(void 0),m=P.useCallback(()=>{h.current&&(clearTimeout(h.current),h.current=void 0)},[h]),y=li(F=>{m(),t.open(F)}),v=li(()=>{m(),t.close()});Qr(()=>()=>{m()},[m]);let _=F=>{if(F.currentTarget.contains(document.activeElement))switch(F.key){case"ArrowLeft":d==="ltr"&&F.currentTarget.contains(F.target)&&(F.preventDefault(),F.stopPropagation(),v(),!o&&n.current&&Ou(n.current));break;case"ArrowRight":d==="rtl"&&F.currentTarget.contains(F.target)&&(F.preventDefault(),F.stopPropagation(),v(),!o&&n.current&&Ou(n.current));break;case"Escape":var z;!((z=i.current)===null||z===void 0)&&z.contains(F.target)&&(F.stopPropagation(),v(),!o&&n.current&&Ou(n.current));break}};var x;let E={id:c,"aria-labelledby":s,submenuLevel:t.submenuLevel,...a==="menu"&&{onClose:t.closeAll,autoFocus:(x=t.focusStrategy)!==null&&x!==void 0?x:void 0,onKeyDown:_}},w=F=>{switch(F.key){case"ArrowRight":u||(d==="ltr"?(F.preventDefault(),t.isOpen||y("first"),a==="menu"&&(i!=null&&i.current)&&document.activeElement===(n==null?void 0:n.current)&&Ou(i.current)):t.isOpen?v():F.continuePropagation());break;case"ArrowLeft":u||(d==="rtl"?(F.preventDefault(),t.isOpen||y("first"),a==="menu"&&(i!=null&&i.current)&&document.activeElement===(n==null?void 0:n.current)&&Ou(i.current)):t.isOpen?v():F.continuePropagation());break;default:F.continuePropagation();break}},T=F=>{!u&&(F.pointerType==="virtual"||F.pointerType==="keyboard")&&y("first")},R=F=>{!u&&(F.pointerType==="touch"||F.pointerType==="mouse")&&y()},C=F=>{u||(F&&!t.isOpen?h.current||(h.current=setTimeout(()=>{y()},l)):F||m())};Zd(r,"focusin",F=>{var z;t.isOpen&&(!((z=r.current)===null||z===void 0)&&z.contains(F.target))&&F.target!==n.current&&v()});let k=F=>F!==n.current;return O_e({menuRef:r,submenuRef:i,isOpen:t.isOpen,isDisabled:u}),{submenuTriggerProps:{id:s,"aria-controls":t.isOpen?c:void 0,"aria-haspopup":u?void 0:a,"aria-expanded":t.isOpen?"true":"false",onPressStart:T,onPress:R,onHoverChange:C,onKeyDown:w,isOpen:t.isOpen},submenuProps:E,popoverProps:{isNonModal:!0,shouldCloseOnInteractOutside:k}}}function P3(e){let[t,n]=Vu(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const r=P.useCallback(()=>{n(!0)},[n]),i=P.useCallback(()=>{n(!1)},[n]),a=P.useCallback(()=>{n(!t)},[n,t]);return{isOpen:t,setOpen:n,open:r,close:i,toggle:a}}function GF(e){let t=P3(e),[n,r]=P.useState(null),[i,a]=P.useState([]),u=()=>{a([]),t.close()};return{focusStrategy:n,...t,open(s=null){r(s),t.open()},toggle(s=null){r(s),t.toggle()},close(){u()},expandedKeysStack:i,openSubmenu:(s,c)=>{a(d=>c>d.length?d:[...d.slice(0,c),s])},closeSubmenu:(s,c)=>{a(d=>d[c]===s?d.slice(0,c):d)}}}function x_e(e,t){let{triggerKey:n}=e,{expandedKeysStack:r,openSubmenu:i,closeSubmenu:a,close:u}=t,[l]=P.useState(r==null?void 0:r.length),o=P.useMemo(()=>r[l]===n,[r,n,l]),[s,c]=P.useState(null),d=P.useCallback(y=>{c(y??null),i(n,l)},[i,l,n]),h=P.useCallback(()=>{c(null),a(n,l)},[a,l,n]),m=P.useCallback(y=>{c(y??null),o?h():d(y)},[h,d,o]);return P.useMemo(()=>({focusStrategy:s,isOpen:o,open:d,close:h,closeAll:u,submenuLevel:l,setOpen:()=>{},toggle:m}),[o,d,h,u,s,m,l])}class __e{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let n=this.keyMap.get(t);var r;return n&&(r=n.prevKey)!==null&&r!==void 0?r:null}getKeyAfter(t){let n=this.keyMap.get(t);var r;return n&&(r=n.nextKey)!==null&&r!==void 0?r:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var n;return(n=this.keyMap.get(t))!==null&&n!==void 0?n:null}at(t){const n=[...this.getKeys()];return this.getItem(n[t])}constructor(t,{expandedKeys:n}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t,n=n||new Set;let r=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&(l.type==="section"||n.has(l.key)))for(let o of l.childNodes)r(o)};for(let l of t)r(l);let i=null,a=0;for(let[l,o]of this.keyMap)i?(i.nextKey=l,o.prevKey=i.key):(this.firstKey=l,o.prevKey=void 0),o.type==="item"&&(o.index=a++),i=o,i.nextKey=void 0;var u;this.lastKey=(u=i==null?void 0:i.key)!==null&&u!==void 0?u:null}}class Hh extends Set{constructor(t,n,r){super(t),t instanceof Hh?(this.anchorKey=n??t.anchorKey,this.currentKey=r??t.currentKey):(this.anchorKey=n??null,this.currentKey=r??null)}}function E_e(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function KF(e){let{selectionMode:t="none",disallowEmptySelection:n=!1,allowDuplicateSelectionEvents:r,selectionBehavior:i="toggle",disabledBehavior:a="all"}=e,u=P.useRef(!1),[,l]=P.useState(!1),o=P.useRef(null),s=P.useRef(null),[,c]=P.useState(null),d=P.useMemo(()=>tU(e.selectedKeys),[e.selectedKeys]),h=P.useMemo(()=>tU(e.defaultSelectedKeys,new Hh),[e.defaultSelectedKeys]),[m,y]=Vu(d,h,e.onSelectionChange),v=P.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[_,x]=P.useState(i);i==="replace"&&_==="toggle"&&typeof m=="object"&&m.size===0&&x("replace");let E=P.useRef(i);return P.useEffect(()=>{i!==E.current&&(x(i),E.current=i)},[i]),{selectionMode:t,disallowEmptySelection:n,selectionBehavior:_,setSelectionBehavior:x,get isFocused(){return u.current},setFocused(w){u.current=w,l(w)},get focusedKey(){return o.current},get childFocusStrategy(){return s.current},setFocusedKey(w,T="first"){o.current=w,s.current=T,c(w)},selectedKeys:m,setSelectedKeys(w){(r||!E_e(w,m))&&y(w)},disabledKeys:v,disabledBehavior:a}}function tU(e,t){return e?e==="all"?"all":new Hh(e):t}class HS{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,n){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,n)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let n=this.getKey(t);return n==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(n):this.state.selectedKeys.has(n)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),n=this.state.selectedKeys;return this._isSelectAll=t.every(r=>n.has(r)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let i=this.collection.getItem(r);(!t||i&&bT(this.collection,i,t)<0)&&(t=i)}var n;return(n=t==null?void 0:t.key)!==null&&n!==void 0?n:null}get lastSelectedKey(){let t=null;for(let r of this.state.selectedKeys){let i=this.collection.getItem(r);(!t||i&&bT(this.collection,i,t)>0)&&(t=i)}var n;return(n=t==null?void 0:t.key)!==null&&n!==void 0?n:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let n=this.getKey(t);if(n==null)return;let r;if(this.state.selectedKeys==="all")r=new Hh([n],n,n);else{let u=this.state.selectedKeys;var i;let l=(i=u.anchorKey)!==null&&i!==void 0?i:n;r=new Hh(u,l,n);var a;for(let o of this.getKeyRange(l,(a=u.currentKey)!==null&&a!==void 0?a:n))r.delete(o);for(let o of this.getKeyRange(n,l))this.canSelectItem(o)&&r.add(o)}this.state.setSelectedKeys(r)}getKeyRange(t,n){let r=this.collection.getItem(t),i=this.collection.getItem(n);return r&&i?bT(this.collection,r,i)<=0?this.getKeyRangeInternal(t,n):this.getKeyRangeInternal(n,t):[]}getKeyRangeInternal(t,n){var r;if(!((r=this.layoutDelegate)===null||r===void 0)&&r.getKeyRange)return this.layoutDelegate.getKeyRange(t,n);let i=[],a=t;for(;a!=null;){let u=this.collection.getItem(a);if(u&&(u.type==="item"||u.type==="cell"&&this.allowsCellSelection)&&i.push(a),a===n)return i;a=this.collection.getKeyAfter(a)}return[]}getKey(t){let n=this.collection.getItem(t);if(!n||n.type==="cell"&&this.allowsCellSelection)return t;for(;n&&n.type!=="item"&&n.parentKey!=null;)n=this.collection.getItem(n.parentKey);return!n||n.type!=="item"?null:n.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let n=this.getKey(t);if(n==null)return;let r=new Hh(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(n)?r.delete(n):this.canSelectItem(n)&&(r.add(n),r.anchorKey=n,r.currentKey=n),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(t){if(this.selectionMode==="none")return;let n=this.getKey(t);if(n==null)return;let r=this.canSelectItem(n)?new Hh([n],n,n):new Hh;this.state.setSelectedKeys(r)}setSelectedKeys(t){if(this.selectionMode==="none")return;let n=new Hh;for(let r of t){let i=this.getKey(r);if(i!=null&&(n.add(i),this.selectionMode==="single"))break}this.state.setSelectedKeys(n)}getSelectAllKeys(){let t=[],n=r=>{for(;r!=null;){if(this.canSelectItem(r)){var i;let u=this.collection.getItem(r);(u==null?void 0:u.type)==="item"&&t.push(r);var a;u!=null&&u.hasChildNodes&&(this.allowsCellSelection||u.type!=="item")&&n((a=(i=p_e(yC(u,this.collection)))===null||i===void 0?void 0:i.key)!==null&&a!==void 0?a:null)}r=this.collection.getKeyAfter(r)}};return n(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Hh)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,n){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||n&&(n.pointerType==="touch"||n.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let n=this.selectedKeys;if(t.size!==n.size)return!1;for(let r of t)if(!n.has(r))return!1;for(let r of n)if(!t.has(r))return!1;return!0}canSelectItem(t){var n;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let r=this.collection.getItem(t);return!(!r||!(r==null||(n=r.props)===null||n===void 0)&&n.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var n,r;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((r=this.collection.getItem(t))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.isDisabled))}isLink(t){var n,r;return!!(!((r=this.collection.getItem(t))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.href)}getItemProps(t){var n;return(n=this.collection.getItem(t))===null||n===void 0?void 0:n.props}withCollection(t){return new HS(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(t,n,r){this.collection=t,this.state=n;var i;this.allowsCellSelection=(i=r==null?void 0:r.allowsCellSelection)!==null&&i!==void 0?i:!1,this._isSelectAll=null,this.layoutDelegate=(r==null?void 0:r.layoutDelegate)||null}}function D_e(e){let{onExpandedChange:t}=e,[n,r]=Vu(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),i=KF(e),a=P.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),u=cne(e,P.useCallback(o=>new __e(o,{expandedKeys:n}),[n]),null);return P.useEffect(()=>{i.focusedKey!=null&&!u.getItem(i.focusedKey)&&i.setFocusedKey(null)},[u,i.focusedKey]),{collection:u,expandedKeys:n,disabledKeys:a,toggleKey:o=>{r($_e(n,o))},setExpandedKeys:r,selectionManager:new HS(u,i)}}function $_e(e,t){let n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n}function ztt(e,t,n=Object.is){const r=e.getState(),[[i,a],u]=P.useReducer((l,o)=>{if(o)return o;const s=e.getState();if(Object.is(l[2],s)&&l[1]===e)return l;const c=t(s);return n(l[0],c)&&l[1]===e?l:[c,e,s]},void 0,()=>[t(r),e,r]);if(P.useEffect(()=>{const l=e.subscribe(()=>u());return u(),l},[e]),a!==e){const l=t(r);return u([l,e,r]),l}return i}function WF(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(r*6,++r*6);return n}const qtt=WF("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Vtt=WF("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Utt=WF("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3");function bC(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function JF(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function M3(){}var j1=.7,f3=1/j1,HO="\\s*([+-]?\\d+)\\s*",W2="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",x0="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",C_e=/^#([0-9a-f]{3,8})$/,w_e=new RegExp(`^rgb\\(${HO},${HO},${HO}\\)$`),R_e=new RegExp(`^rgb\\(${x0},${x0},${x0}\\)$`),A_e=new RegExp(`^rgba\\(${HO},${HO},${HO},${W2}\\)$`),T_e=new RegExp(`^rgba\\(${x0},${x0},${x0},${W2}\\)$`),k_e=new RegExp(`^hsl\\(${W2},${x0},${x0}\\)$`),P_e=new RegExp(`^hsla\\(${W2},${x0},${x0},${W2}\\)$`),nU={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};bC(M3,J2,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:rU,formatHex:rU,formatHex8:M_e,formatHsl:F_e,formatRgb:iU,toString:iU});function rU(){return this.rgb().formatHex()}function M_e(){return this.rgb().formatHex8()}function F_e(){return dne(this).formatHsl()}function iU(){return this.rgb().formatRgb()}function J2(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=C_e.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?aU(t):n===3?new cs(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?b_(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?b_(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=w_e.exec(e))?new cs(t[1],t[2],t[3],1):(t=R_e.exec(e))?new cs(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=A_e.exec(e))?b_(t[1],t[2],t[3],t[4]):(t=T_e.exec(e))?b_(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=k_e.exec(e))?oU(t[1],t[2]/100,t[3]/100,1):(t=P_e.exec(e))?oU(t[1],t[2]/100,t[3]/100,t[4]):nU.hasOwnProperty(e)?aU(nU[e]):e==="transparent"?new cs(NaN,NaN,NaN,0):null}function aU(e){return new cs(e>>16&255,e>>8&255,e&255,1)}function b_(e,t,n,r){return r<=0&&(e=t=n=NaN),new cs(e,t,n,r)}function fne(e){return e instanceof M3||(e=J2(e)),e?(e=e.rgb(),new cs(e.r,e.g,e.b,e.opacity)):new cs}function cD(e,t,n,r){return arguments.length===1?fne(e):new cs(e,t,n,r??1)}function cs(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}bC(cs,cD,JF(M3,{brighter(e){return e=e==null?f3:Math.pow(f3,e),new cs(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?j1:Math.pow(j1,e),new cs(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new cs(T1(this.r),T1(this.g),T1(this.b),fD(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:uU,formatHex:uU,formatHex8:N_e,formatRgb:lU,toString:lU}));function uU(){return`#${_1(this.r)}${_1(this.g)}${_1(this.b)}`}function N_e(){return`#${_1(this.r)}${_1(this.g)}${_1(this.b)}${_1((isNaN(this.opacity)?1:this.opacity)*255)}`}function lU(){const e=fD(this.opacity);return`${e===1?"rgb(":"rgba("}${T1(this.r)}, ${T1(this.g)}, ${T1(this.b)}${e===1?")":`, ${e})`}`}function fD(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function T1(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function _1(e){return e=T1(e),(e<16?"0":"")+e.toString(16)}function oU(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Yh(e,t,n,r)}function dne(e){if(e instanceof Yh)return new Yh(e.h,e.s,e.l,e.opacity);if(e instanceof M3||(e=J2(e)),!e)return new Yh;if(e instanceof Yh)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),u=NaN,l=a-i,o=(a+i)/2;return l?(t===a?u=(n-r)/l+(n<r)*6:n===a?u=(r-t)/l+2:u=(t-n)/l+4,l/=o<.5?a+i:2-a-i,u*=60):l=o>0&&o<1?0:u,new Yh(u,l,o,e.opacity)}function I_e(e,t,n,r){return arguments.length===1?dne(e):new Yh(e,t,n,r??1)}function Yh(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}bC(Yh,I_e,JF(M3,{brighter(e){return e=e==null?f3:Math.pow(f3,e),new Yh(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?j1:Math.pow(j1,e),new Yh(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new cs(OT(e>=240?e-240:e+120,i,r),OT(e,i,r),OT(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Yh(sU(this.h),O_(this.s),O_(this.l),fD(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=fD(this.opacity);return`${e===1?"hsl(":"hsla("}${sU(this.h)}, ${O_(this.s)*100}%, ${O_(this.l)*100}%${e===1?")":`, ${e})`}`}}));function sU(e){return e=(e||0)%360,e<0?e+360:e}function O_(e){return Math.max(0,Math.min(1,e||0))}function OT(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const L_e=Math.PI/180,B_e=180/Math.PI;var hne=-.14861,eN=1.78277,tN=-.29227,OC=-.90649,eS=1.97294,cU=eS*OC,fU=eS*eN,dU=eN*tN-OC*hne;function Q_e(e){if(e instanceof k1)return new k1(e.h,e.s,e.l,e.opacity);e instanceof cs||(e=fne(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(dU*r+cU*t-fU*n)/(dU+cU-fU),a=r-i,u=(eS*(n-i)-tN*a)/OC,l=Math.sqrt(u*u+a*a)/(eS*i*(1-i)),o=l?Math.atan2(u,a)*B_e-120:NaN;return new k1(o<0?o+360:o,l,i,e.opacity)}function Bv(e,t,n,r){return arguments.length===1?Q_e(e):new k1(e,t,n,r??1)}function k1(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}bC(k1,Bv,JF(M3,{brighter(e){return e=e==null?f3:Math.pow(f3,e),new k1(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?j1:Math.pow(j1,e),new k1(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*L_e,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new cs(255*(t+n*(hne*r+eN*i)),255*(t+n*(tN*r+OC*i)),255*(t+n*(eS*r)),this.opacity)}}));const SC=e=>()=>e;function pne(e,t){return function(n){return e+n*t}}function z_e(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function q_e(e,t){var n=t-e;return n?pne(e,n>180||n<-180?n-360*Math.round(n/360):n):SC(isNaN(e)?t:e)}function V_e(e){return(e=+e)==1?XO:function(t,n){return n-t?z_e(t,n,e):SC(isNaN(t)?n:t)}}function XO(e,t){var n=t-e;return n?pne(e,n):SC(isNaN(e)?t:e)}const hU=(function e(t){var n=V_e(t);function r(i,a){var u=n((i=cD(i)).r,(a=cD(a)).r),l=n(i.g,a.g),o=n(i.b,a.b),s=XO(i.opacity,a.opacity);return function(c){return i.r=u(c),i.g=l(c),i.b=o(c),i.opacity=s(c),i+""}}return r.gamma=e,r})(1);function U_e(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function j_e(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Z_e(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=new Array(r),a=new Array(n),u;for(u=0;u<r;++u)i[u]=F3(e[u],t[u]);for(;u<n;++u)a[u]=t[u];return function(l){for(u=0;u<r;++u)a[u]=i[u](l);return a}}function H_e(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function dD(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function X_e(e,t){var n={},r={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?n[i]=F3(e[i],t[i]):r[i]=t[i];return function(a){for(i in n)r[i]=n[i](a);return r}}var n9=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ST=new RegExp(n9.source,"g");function Y_e(e){return function(){return e}}function G_e(e){return function(t){return e(t)+""}}function K_e(e,t){var n=n9.lastIndex=ST.lastIndex=0,r,i,a,u=-1,l=[],o=[];for(e=e+"",t=t+"";(r=n9.exec(e))&&(i=ST.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),l[u]?l[u]+=a:l[++u]=a),(r=r[0])===(i=i[0])?l[u]?l[u]+=i:l[++u]=i:(l[++u]=null,o.push({i:u,x:dD(r,i)})),n=ST.lastIndex;return n<t.length&&(a=t.slice(n),l[u]?l[u]+=a:l[++u]=a),l.length<2?o[0]?G_e(o[0].x):Y_e(t):(t=o.length,function(s){for(var c=0,d;c<t;++c)l[(d=o[c]).i]=d.x(s);return l.join("")})}function F3(e,t){var n=typeof t,r;return t==null||n==="boolean"?SC(t):(n==="number"?dD:n==="string"?(r=J2(t))?(t=r,hU):K_e:t instanceof J2?hU:t instanceof Date?H_e:j_e(t)?U_e:Array.isArray(t)?Z_e:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?X_e:dD)(e,t)}function nN(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function mne(e){return(function t(n){n=+n;function r(i,a){var u=e((i=Bv(i)).h,(a=Bv(a)).h),l=XO(i.s,a.s),o=XO(i.l,a.l),s=XO(i.opacity,a.opacity);return function(c){return i.h=u(c),i.s=l(c),i.l=o(Math.pow(c,n)),i.opacity=s(c),i+""}}return r.gamma=t,r})(1)}mne(q_e);var gne=mne(XO);function W_e(e,t){t===void 0&&(t=e,e=F3);for(var n=0,r=t.length-1,i=t[0],a=new Array(r<0?0:r);n<r;)a[n]=e(i,i=t[++n]);return function(u){var l=Math.max(0,Math.min(r-1,Math.floor(u*=r)));return a[l](u-l)}}gne(Bv(-100,.75,.35),Bv(80,1.5,.8));var jtt=gne(Bv(260,.75,.35),Bv(80,1.5,.8));Bv();var S_=cD(),J_e=Math.PI/3,eEe=Math.PI*2/3;function Ztt(e){var t;return e=(.5-e)*Math.PI,S_.r=255*(t=Math.sin(e))*t,S_.g=255*(t=Math.sin(e+J_e))*t,S_.b=255*(t=Math.sin(e+eEe))*t,S_+""}const tEe={},pU=e=>{let t;const n=new Set,r=(c,d)=>{const h=typeof c=="function"?c(t):c;if(!Object.is(h,t)){const m=t;t=d??(typeof h!="object"||h===null)?h:Object.assign({},t,h),n.forEach(y=>y(t,m))}},i=()=>t,o={setState:r,getState:i,getInitialState:()=>s,subscribe:c=>(n.add(c),()=>n.delete(c)),destroy:()=>{(tEe?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},s=t=e(r,i,o);return o},nEe=e=>e?pU(e):pU;var xT={exports:{}},_T={},ET={exports:{}},DT={};/**
 * @license React
 * use-sync-external-store-shim.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var mU;function rEe(){if(mU)return DT;mU=1;var e=tr();function t(d,h){return d===h&&(d!==0||1/d===1/h)||d!==d&&h!==h}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,i=e.useEffect,a=e.useLayoutEffect,u=e.useDebugValue;function l(d,h){var m=h(),y=r({inst:{value:m,getSnapshot:h}}),v=y[0].inst,_=y[1];return a(function(){v.value=m,v.getSnapshot=h,o(v)&&_({inst:v})},[d,m,h]),i(function(){return o(v)&&_({inst:v}),d(function(){o(v)&&_({inst:v})})},[d]),u(m),m}function o(d){var h=d.getSnapshot;d=d.value;try{var m=h();return!n(d,m)}catch{return!0}}function s(d,h){return h()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?s:l;return DT.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,DT}var gU;function vne(){return gU||(gU=1,ET.exports=rEe()),ET.exports}/**
 * @license React
 * use-sync-external-store-shim/with-selector.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var vU;function iEe(){if(vU)return _T;vU=1;var e=tr(),t=vne();function n(s,c){return s===c&&(s!==0||1/s===1/c)||s!==s&&c!==c}var r=typeof Object.is=="function"?Object.is:n,i=t.useSyncExternalStore,a=e.useRef,u=e.useEffect,l=e.useMemo,o=e.useDebugValue;return _T.useSyncExternalStoreWithSelector=function(s,c,d,h,m){var y=a(null);if(y.current===null){var v={hasValue:!1,value:null};y.current=v}else v=y.current;y=l(function(){function x(C){if(!E){if(E=!0,w=C,C=h(C),m!==void 0&&v.hasValue){var k=v.value;if(m(k,C))return T=k}return T=C}if(k=T,r(w,C))return k;var F=h(C);return m!==void 0&&m(k,F)?(w=C,k):(w=C,T=F)}var E=!1,w,T,R=d===void 0?null:d;return[function(){return x(c())},R===null?void 0:function(){return x(R())}]},[c,d,h,m]);var _=i(s,y[0],y[1]);return u(function(){v.hasValue=!0,v.value=_},[_]),o(_),_},_T}var yU;function aEe(){return yU||(yU=1,xT.exports=iEe()),xT.exports}var uEe=aEe();const yne=oa(uEe),bne={},{useDebugValue:lEe}=ve,{useSyncExternalStoreWithSelector:oEe}=yne;let bU=!1;const sEe=e=>e;function cEe(e,t=sEe,n){(bne?"production":void 0)!=="production"&&n&&!bU&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),bU=!0);const r=oEe(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return lEe(r),r}const OU=e=>{(bne?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?nEe(e):e,n=(r,i)=>cEe(t,r,i);return Object.assign(n,t),n},Htt=e=>e?OU(e):OU,_E={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},r9=new Map,x_=e=>{const t=r9.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([n,r])=>[n,r.getState()])):{}},fEe=(e,t,n)=>{if(e===void 0)return{type:"untracked",connection:t.connect(n)};const r=r9.get(n.name);if(r)return{type:"tracked",store:e,...r};const i={connection:t.connect(n),stores:{}};return r9.set(n.name,i),{type:"tracked",store:e,...i}},dEe=(e,t={})=>(n,r,i)=>{const{enabled:a,anonymousActionType:u,store:l,...o}=t;let s;try{s=(a??(_E?"production":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!s)return(_E?"production":void 0)!=="production"&&a&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,i);const{connection:c,...d}=fEe(l,s,o);let h=!0;i.setState=(v,_,x)=>{const E=n(v,_);if(!h)return E;const w=x===void 0?{type:u||"anonymous"}:typeof x=="string"?{type:x}:x;return l===void 0?(c==null||c.send(w,r()),E):(c==null||c.send({...w,type:`${l}/${w.type}`},{...x_(o.name),[l]:i.getState()}),E)};const m=(...v)=>{const _=h;h=!1,n(...v),h=_},y=e(i.setState,r,i);if(d.type==="untracked"?c==null||c.init(y):(d.stores[d.store]=i,c==null||c.init(Object.fromEntries(Object.entries(d.stores).map(([v,_])=>[v,v===d.store?y:_.getState()])))),i.dispatchFromDevtools&&typeof i.dispatch=="function"){let v=!1;const _=i.dispatch;i.dispatch=(...x)=>{(_E?"production":void 0)!=="production"&&x[0].type==="__setState"&&!v&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),v=!0),_(...x)}}return c.subscribe(v=>{var _;switch(v.type){case"ACTION":if(typeof v.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return $T(v.payload,x=>{if(x.type==="__setState"){if(l===void 0){m(x.state);return}Object.keys(x.state).length!==1&&console.error(`
                    [zustand devtools middleware] Unsupported __setState action format. 
                    When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
                    and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
                    `);const E=x.state[l];if(E==null)return;JSON.stringify(i.getState())!==JSON.stringify(E)&&m(E);return}i.dispatchFromDevtools&&typeof i.dispatch=="function"&&i.dispatch(x)});case"DISPATCH":switch(v.payload.type){case"RESET":return m(y),l===void 0?c==null?void 0:c.init(i.getState()):c==null?void 0:c.init(x_(o.name));case"COMMIT":if(l===void 0){c==null||c.init(i.getState());return}return c==null?void 0:c.init(x_(o.name));case"ROLLBACK":return $T(v.state,x=>{if(l===void 0){m(x),c==null||c.init(i.getState());return}m(x[l]),c==null||c.init(x_(o.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return $T(v.state,x=>{if(l===void 0){m(x);return}JSON.stringify(i.getState())!==JSON.stringify(x[l])&&m(x[l])});case"IMPORT_STATE":{const{nextLiftedState:x}=v.payload,E=(_=x.computedStates.slice(-1)[0])==null?void 0:_.state;if(!E)return;m(l===void 0?E:E[l]),c==null||c.send(null,x);return}case"PAUSE_RECORDING":return h=!h}return}}),y},Xtt=dEe,$T=(e,t)=>{let n;try{n=JSON.parse(e)}catch(r){console.error("[zustand devtools middleware] Could not parse the received json",r)}n!==void 0&&t(n)};function hEe(e,t){let n;try{n=e()}catch{return}return{getItem:i=>{var a;const u=o=>o===null?null:JSON.parse(o,void 0),l=(a=n.getItem(i))!=null?a:null;return l instanceof Promise?l.then(u):u(l)},setItem:(i,a)=>n.setItem(i,JSON.stringify(a,void 0)),removeItem:i=>n.removeItem(i)}}const tS=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return tS(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return tS(r)(n)}}}},pEe=(e,t)=>(n,r,i)=>{let a={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:_=>_,version:0,merge:(_,x)=>({...x,..._}),...t},u=!1;const l=new Set,o=new Set;let s;try{s=a.getStorage()}catch{}if(!s)return e((..._)=>{console.warn(`[zustand persist middleware] Unable to update item '${a.name}', the given storage is currently unavailable.`),n(..._)},r,i);const c=tS(a.serialize),d=()=>{const _=a.partialize({...r()});let x;const E=c({state:_,version:a.version}).then(w=>s.setItem(a.name,w)).catch(w=>{x=w});if(x)throw x;return E},h=i.setState;i.setState=(_,x)=>{h(_,x),d()};const m=e((..._)=>{n(..._),d()},r,i);let y;const v=()=>{var _;if(!s)return;u=!1,l.forEach(E=>E(r()));const x=((_=a.onRehydrateStorage)==null?void 0:_.call(a,r()))||void 0;return tS(s.getItem.bind(s))(a.name).then(E=>{if(E)return a.deserialize(E)}).then(E=>{if(E)if(typeof E.version=="number"&&E.version!==a.version){if(a.migrate)return a.migrate(E.state,E.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return E.state}).then(E=>{var w;return y=a.merge(E,(w=r())!=null?w:m),n(y,!0),d()}).then(()=>{x==null||x(y,void 0),u=!0,o.forEach(E=>E(y))}).catch(E=>{x==null||x(void 0,E)})};return i.persist={setOptions:_=>{a={...a,..._},_.getStorage&&(s=_.getStorage())},clearStorage:()=>{s==null||s.removeItem(a.name)},getOptions:()=>a,rehydrate:()=>v(),hasHydrated:()=>u,onHydrate:_=>(l.add(_),()=>{l.delete(_)}),onFinishHydration:_=>(o.add(_),()=>{o.delete(_)})},v(),y||m},mEe=(e,t)=>(n,r,i)=>{let a={storage:hEe(()=>localStorage),partialize:v=>v,version:0,merge:(v,_)=>({..._,...v}),...t},u=!1;const l=new Set,o=new Set;let s=a.storage;if(!s)return e((...v)=>{console.warn(`[zustand persist middleware] Unable to update item '${a.name}', the given storage is currently unavailable.`),n(...v)},r,i);const c=()=>{const v=a.partialize({...r()});return s.setItem(a.name,{state:v,version:a.version})},d=i.setState;i.setState=(v,_)=>{d(v,_),c()};const h=e((...v)=>{n(...v),c()},r,i);i.getInitialState=()=>h;let m;const y=()=>{var v,_;if(!s)return;u=!1,l.forEach(E=>{var w;return E((w=r())!=null?w:h)});const x=((_=a.onRehydrateStorage)==null?void 0:_.call(a,(v=r())!=null?v:h))||void 0;return tS(s.getItem.bind(s))(a.name).then(E=>{if(E)if(typeof E.version=="number"&&E.version!==a.version){if(a.migrate)return[!0,a.migrate(E.state,E.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,E.state];return[!1,void 0]}).then(E=>{var w;const[T,R]=E;if(m=a.merge(R,(w=r())!=null?w:h),n(m,!0),T)return c()}).then(()=>{x==null||x(m,void 0),m=r(),u=!0,o.forEach(E=>E(m))}).catch(E=>{x==null||x(void 0,E)})};return i.persist={setOptions:v=>{a={...a,...v},v.storage&&(s=v.storage)},clearStorage:()=>{s==null||s.removeItem(a.name)},getOptions:()=>a,rehydrate:()=>y(),hasHydrated:()=>u,onHydrate:v=>(l.add(v),()=>{l.delete(v)}),onFinishHydration:v=>(o.add(v),()=>{o.delete(v)})},a.skipHydration||y(),m||h},gEe=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((_E?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),pEe(e,t)):mEe(e,t),Ytt=gEe;var CT={exports:{}},_m={};/**
 * @license React
 * react-reconciler-constants.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var SU;function vEe(){return SU||(SU=1,_m.ConcurrentRoot=1,_m.ContinuousEventPriority=8,_m.DefaultEventPriority=32,_m.DiscreteEventPriority=2,_m.IdleEventPriority=268435456,_m.LegacyRoot=0,_m.NoEventPriority=0),_m}var xU;function yEe(){return xU||(xU=1,CT.exports=vEe()),CT.exports}var EE=yEe();const _U=e=>{let t;const n=new Set,r=(s,c)=>{const d=typeof s=="function"?s(t):s;if(!Object.is(d,t)){const h=t;t=c??(typeof d!="object"||d===null)?d:Object.assign({},t,d),n.forEach(m=>m(t,h))}},i=()=>t,l={setState:r,getState:i,getInitialState:()=>o,subscribe:s=>(n.add(s),()=>n.delete(s))},o=t=e(r,i,l);return l},bEe=e=>e?_U(e):_U,{useSyncExternalStoreWithSelector:OEe}=yne,SEe=e=>e;function xEe(e,t=SEe,n){const r=OEe(e.subscribe,e.getState,e.getInitialState,t,n);return ve.useDebugValue(r),r}const EU=(e,t)=>{const n=bEe(e),r=(i,a=t)=>xEe(n,i,a);return Object.assign(r,n),r},_Ee=(e,t)=>e?EU(e,t):EU;var wT={exports:{}},RT={exports:{}},AT={exports:{}},TT={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var DU;function EEe(){return DU||(DU=1,(function(e){function t(G,J){var te=G.length;G.push(J);e:for(;0<te;){var X=te-1>>>1,M=G[X];if(0<i(M,J))G[X]=J,G[te]=M,te=X;else break e}}function n(G){return G.length===0?null:G[0]}function r(G){if(G.length===0)return null;var J=G[0],te=G.pop();if(te!==J){G[0]=te;e:for(var X=0,M=G.length,K=M>>>1;X<K;){var Y=2*(X+1)-1,B=G[Y],ne=Y+1,oe=G[ne];if(0>i(B,te))ne<M&&0>i(oe,B)?(G[X]=oe,G[ne]=te,X=ne):(G[X]=B,G[Y]=te,X=Y);else if(ne<M&&0>i(oe,te))G[X]=oe,G[ne]=te,X=ne;else break e}}return J}function i(G,J){var te=G.sortIndex-J.sortIndex;return te!==0?te:G.id-J.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var u=Date,l=u.now();e.unstable_now=function(){return u.now()-l}}var o=[],s=[],c=1,d=null,h=3,m=!1,y=!1,v=!1,_=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;function w(G){for(var J=n(s);J!==null;){if(J.callback===null)r(s);else if(J.startTime<=G)r(s),J.sortIndex=J.expirationTime,t(o,J);else break;J=n(s)}}function T(G){if(v=!1,w(G),!y)if(n(o)!==null)y=!0,V();else{var J=n(s);J!==null&&W(T,J.startTime-G)}}var R=!1,C=-1,k=5,F=-1;function z(){return!(e.unstable_now()-F<k)}function Z(){if(R){var G=e.unstable_now();F=G;var J=!0;try{e:{y=!1,v&&(v=!1,x(C),C=-1),m=!0;var te=h;try{t:{for(w(G),d=n(o);d!==null&&!(d.expirationTime>G&&z());){var X=d.callback;if(typeof X=="function"){d.callback=null,h=d.priorityLevel;var M=X(d.expirationTime<=G);if(G=e.unstable_now(),typeof M=="function"){d.callback=M,w(G),J=!0;break t}d===n(o)&&r(o),w(G)}else r(o);d=n(o)}if(d!==null)J=!0;else{var K=n(s);K!==null&&W(T,K.startTime-G),J=!1}}break e}finally{d=null,h=te,m=!1}J=void 0}}finally{J?q():R=!1}}}var q;if(typeof E=="function")q=function(){E(Z)};else if(typeof MessageChannel<"u"){var j=new MessageChannel,N=j.port2;j.port1.onmessage=Z,q=function(){N.postMessage(null)}}else q=function(){_(Z,0)};function V(){R||(R=!0,q())}function W(G,J){C=_(function(){G(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(G){G.callback=null},e.unstable_continueExecution=function(){y||m||(y=!0,V())},e.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<G?Math.floor(1e3/G):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(o)},e.unstable_next=function(G){switch(h){case 1:case 2:case 3:var J=3;break;default:J=h}var te=h;h=J;try{return G()}finally{h=te}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(G,J){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var te=h;h=G;try{return J()}finally{h=te}},e.unstable_scheduleCallback=function(G,J,te){var X=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?X+te:X):te=X,G){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=te+M,G={id:c++,callback:J,priorityLevel:G,startTime:te,expirationTime:M,sortIndex:-1},te>X?(G.sortIndex=te,t(s,G),n(o)===null&&G===n(s)&&(v?(x(C),C=-1):v=!0,W(T,te-X))):(G.sortIndex=M,t(o,G),y||m||(y=!0,V())),G},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(G){var J=h;return function(){var te=h;h=J;try{return G.apply(this,arguments)}finally{h=te}}}})(TT)),TT}var $U;function One(){return $U||($U=1,AT.exports=EEe()),AT.exports}/**
 * @license React
 * react-reconciler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var CU;function DEe(){return CU||(CU=1,(function(e){e.exports=function(t){function n(g,b,A,Q){return new Tu(g,b,A,Q)}function r(){}function i(g){var b="https://react.dev/errors/"+g;if(1<arguments.length){b+="?args[]="+encodeURIComponent(arguments[1]);for(var A=2;A<arguments.length;A++)b+="&args[]="+encodeURIComponent(arguments[A])}return"Minified React error #"+g+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(g){return g===null||typeof g!="object"?null:(g=W0&&g[W0]||g["@@iterator"],typeof g=="function"?g:null)}function u(g){if(g==null)return null;if(typeof g=="function")return g.$$typeof===Fs?null:g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case jo:return"Fragment";case Ms:return"Portal";case vy:return"Profiler";case gy:return"StrictMode";case mg:return"Suspense";case md:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case $c:return(g.displayName||"Context")+".Provider";case pd:return(g._context.displayName||"Context")+".Consumer";case kp:var b=g.render;return g=g.displayName,g||(g=b.displayName||b.name||"",g=g!==""?"ForwardRef("+g+")":"ForwardRef"),g;case Pp:return b=g.displayName||null,b!==null?b:u(g.type)||"Memo";case Ho:b=g._payload,g=g._init;try{return u(g(b))}catch{}}return null}function l(g){if(gg===void 0)try{throw Error()}catch(A){var b=A.stack.trim().match(/\n( *(at )?)/);gg=b&&b[1]||"",vg=-1<A.stack.indexOf(`
    at`)?" (<anonymous>)":-1<A.stack.indexOf("@")?"@unknown:0:0":""}return`
`+gg+g+vg}function o(g,b){if(!g||gd)return"";gd=!0;var A=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var Q={DetermineComponentFrameRoot:function(){try{if(b){var Ht=function(){throw Error()};if(Object.defineProperty(Ht.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ht,[])}catch(Zn){var Kt=Zn}Reflect.construct(g,[],Ht)}else{try{Ht.call()}catch(Zn){Kt=Zn}g.call(Ht.prototype)}}else{try{throw Error()}catch(Zn){Kt=Zn}(Ht=g())&&typeof Ht.catch=="function"&&Ht.catch(function(){})}}catch(Zn){if(Zn&&Kt&&typeof Zn.stack=="string")return[Zn.stack,Kt.stack]}return[null,null]}};Q.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var ee=Object.getOwnPropertyDescriptor(Q.DetermineComponentFrameRoot,"name");ee&&ee.configurable&&Object.defineProperty(Q.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var le=Q.DetermineComponentFrameRoot(),De=le[0],Ie=le[1];if(De&&Ie){var We=De.split(`
`),vt=Ie.split(`
`);for(ee=Q=0;Q<We.length&&!We[Q].includes("DetermineComponentFrameRoot");)Q++;for(;ee<vt.length&&!vt[ee].includes("DetermineComponentFrameRoot");)ee++;if(Q===We.length||ee===vt.length)for(Q=We.length-1,ee=vt.length-1;1<=Q&&0<=ee&&We[Q]!==vt[ee];)ee--;for(;1<=Q&&0<=ee;Q--,ee--)if(We[Q]!==vt[ee]){if(Q!==1||ee!==1)do if(Q--,ee--,0>ee||We[Q]!==vt[ee]){var kt=`
`+We[Q].replace(" at new "," at ");return g.displayName&&kt.includes("<anonymous>")&&(kt=kt.replace("<anonymous>",g.displayName)),kt}while(1<=Q&&0<=ee);break}}}finally{gd=!1,Error.prepareStackTrace=A}return(A=g?g.displayName||g.name:"")?l(A):""}function s(g){switch(g.tag){case 26:case 27:case 5:return l(g.type);case 16:return l("Lazy");case 13:return l("Suspense");case 19:return l("SuspenseList");case 0:case 15:return g=o(g.type,!1),g;case 11:return g=o(g.type.render,!1),g;case 1:return g=o(g.type,!0),g;default:return""}}function c(g){try{var b="";do b+=s(g),g=g.return;while(g);return b}catch(A){return`
Error generating stack: `+A.message+`
`+A.stack}}function d(g){var b=g,A=g;if(g.alternate)for(;b.return;)b=b.return;else{g=b;do b=g,(b.flags&4098)!==0&&(A=b.return),g=b.return;while(g)}return b.tag===3?A:null}function h(g){if(d(g)!==g)throw Error(i(188))}function m(g){var b=g.alternate;if(!b){if(b=d(g),b===null)throw Error(i(188));return b!==g?null:g}for(var A=g,Q=b;;){var ee=A.return;if(ee===null)break;var le=ee.alternate;if(le===null){if(Q=ee.return,Q!==null){A=Q;continue}break}if(ee.child===le.child){for(le=ee.child;le;){if(le===A)return h(ee),g;if(le===Q)return h(ee),b;le=le.sibling}throw Error(i(188))}if(A.return!==Q.return)A=ee,Q=le;else{for(var De=!1,Ie=ee.child;Ie;){if(Ie===A){De=!0,A=ee,Q=le;break}if(Ie===Q){De=!0,Q=ee,A=le;break}Ie=Ie.sibling}if(!De){for(Ie=le.child;Ie;){if(Ie===A){De=!0,A=le,Q=ee;break}if(Ie===Q){De=!0,Q=le,A=ee;break}Ie=Ie.sibling}if(!De)throw Error(i(189))}}if(A.alternate!==Q)throw Error(i(190))}if(A.tag!==3)throw Error(i(188));return A.stateNode.current===A?g:b}function y(g){var b=g.tag;if(b===5||b===26||b===27||b===6)return g;for(g=g.child;g!==null;){if(b=y(g),b!==null)return b;g=g.sibling}return null}function v(g){var b=g.tag;if(b===5||b===26||b===27||b===6)return g;for(g=g.child;g!==null;){if(g.tag!==4&&(b=v(g),b!==null))return b;g=g.sibling}return null}function _(g){return{current:g}}function x(g){0>Tc||(g.current=Ed[Tc],Ed[Tc]=null,Tc--)}function E(g,b){Tc++,Ed[Tc]=g.current,g.current=b}function w(g){return g>>>=0,g===0?32:31-(Dd(g)/Tb|0)|0}function T(g){var b=g&42;if(b!==0)return b;switch(g&-g){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return g&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return g&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return g}}function R(g,b){var A=g.pendingLanes;if(A===0)return 0;var Q=0,ee=g.suspendedLanes,le=g.pingedLanes,De=g.warmLanes;g=g.finishedLanes!==0;var Ie=A&134217727;return Ie!==0?(A=Ie&~ee,A!==0?Q=T(A):(le&=Ie,le!==0?Q=T(le):g||(De=Ie&~De,De!==0&&(Q=T(De))))):(Ie=A&~ee,Ie!==0?Q=T(Ie):le!==0?Q=T(le):g||(De=A&~De,De!==0&&(Q=T(De)))),Q===0?0:b!==0&&b!==Q&&(b&ee)===0&&(ee=Q&-Q,De=b&-b,ee>=De||ee===32&&(De&4194176)!==0)?b:Q}function C(g,b){return(g.pendingLanes&~(g.suspendedLanes&~g.pingedLanes)&b)===0}function k(g,b){switch(g){case 1:case 2:case 4:case 8:return b+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return b+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function F(){var g=$h;return $h<<=1,($h&4194176)===0&&($h=128),g}function z(){var g=$d;return $d<<=1,($d&62914560)===0&&($d=4194304),g}function Z(g){for(var b=[],A=0;31>A;A++)b.push(g);return b}function q(g,b){g.pendingLanes|=b,b!==268435456&&(g.suspendedLanes=0,g.pingedLanes=0,g.warmLanes=0)}function j(g,b,A,Q,ee,le){var De=g.pendingLanes;g.pendingLanes=A,g.suspendedLanes=0,g.pingedLanes=0,g.warmLanes=0,g.expiredLanes&=A,g.entangledLanes&=A,g.errorRecoveryDisabledLanes&=A,g.shellSuspendCounter=0;var Ie=g.entanglements,We=g.expirationTimes,vt=g.hiddenUpdates;for(A=De&~A;0<A;){var kt=31-tl(A),Ht=1<<kt;Ie[kt]=0,We[kt]=-1;var Kt=vt[kt];if(Kt!==null)for(vt[kt]=null,kt=0;kt<Kt.length;kt++){var Zn=Kt[kt];Zn!==null&&(Zn.lane&=-536870913)}A&=~Ht}Q!==0&&N(g,Q,0),le!==0&&ee===0&&g.tag!==0&&(g.suspendedLanes|=le&~(De&~b))}function N(g,b,A){g.pendingLanes|=b,g.suspendedLanes&=~b;var Q=31-tl(b);g.entangledLanes|=b,g.entanglements[Q]=g.entanglements[Q]|1073741824|A&4194218}function V(g,b){var A=g.entangledLanes|=b;for(g=g.entanglements;A;){var Q=31-tl(A),ee=1<<Q;ee&b|g[Q]&b&&(g[Q]|=b),A&=~ee}}function W(g){return g&=-g,2<g?8<g?(g&134217727)!==0?32:268435456:8:2}function G(g){if(nl&&typeof nl.onCommitFiberRoot=="function")try{nl.onCommitFiberRoot(zl,g,void 0,(g.current.flags&128)===128)}catch{}}function J(g){if(typeof Pb=="function"&&By(g),nl&&typeof nl.setStrictMode=="function")try{nl.setStrictMode(zl,g)}catch{}}function te(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}function X(g,b){if(typeof g=="object"&&g!==null){var A=Qp.get(g);return A!==void 0?A:(b={value:g,source:b,stack:c(b)},Qp.set(g,b),b)}return{value:g,source:b,stack:c(b)}}function M(g,b){yi[Di++]=Cd,yi[Di++]=Sn,Sn=g,Cd=b}function K(g,b,A){yl[eu++]=Jo,yl[eu++]=mo,yl[eu++]=Bs,Bs=g;var Q=Jo;g=mo;var ee=32-tl(Q)-1;Q&=~(1<<ee),A+=1;var le=32-tl(b)+ee;if(30<le){var De=ee-ee%5;le=(Q&(1<<De)-1).toString(32),Q>>=De,ee-=De,Jo=1<<32-tl(b)+ee|A<<ee|Q,mo=le+g}else Jo=1<<le|A<<ee|Q,mo=g}function Y(g){g.return!==null&&(M(g,1),K(g,1,0))}function B(g){for(;g===Sn;)Sn=yi[--Di],yi[Di]=null,Cd=yi[--Di],yi[Di]=null;for(;g===Bs;)Bs=yl[--eu],yl[eu]=null,mo=yl[--eu],yl[eu]=null,Jo=yl[--eu],yl[eu]=null}function ne(g,b){E(Qs,b),E(sm,g),E(Fr,null),g=vd(b),x(Fr),E(Fr,g)}function oe(){x(Fr),x(sm),x(Qs)}function ae(g){g.memoizedState!==null&&E(Rh,g);var b=Fr.current,A=yy(b,g.type);b!==A&&(E(sm,g),E(Fr,A))}function de(g){sm.current===g&&(x(Fr),x(sm)),Rh.current===g&&(x(Rh),Ka?An._currentValue=gu:An._currentValue2=gu)}function be(g){var b=Error(i(418,""));throw me(X(b,g)),vo}function ye(g,b){if(!$a)throw Error(i(175));Ay(g.stateNode,g.type,g.memoizedProps,b,g)||be(g)}function pe(g){for(rl=g.return;rl;)switch(rl.tag){case 3:case 27:es=!0;return;case 5:case 13:es=!1;return;default:rl=rl.return}}function _e(g){if(!$a||g!==rl)return!1;if(!Nr)return pe(g),Nr=!0,!1;var b=!1;if(vu?g.tag!==3&&g.tag!==27&&(g.tag!==5||wb(g.type)&&!yd(g.type,g.memoizedProps))&&(b=!0):g.tag!==3&&(g.tag!==5||wb(g.type)&&!yd(g.type,g.memoizedProps))&&(b=!0),b&&yu&&be(g),pe(g),g.tag===13){if(!$a)throw Error(i(316));if(g=g.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(i(317));yu=Cb(g)}else yu=rl?Ac(g.stateNode):null;return!0}function se(){$a&&(yu=rl=null,Nr=!1)}function me(g){go===null?go=[g]:go.push(g)}function ge(){for(var g=Pc,b=zp=Pc=0;b<g;){var A=$i[b];$i[b++]=null;var Q=$i[b];$i[b++]=null;var ee=$i[b];$i[b++]=null;var le=$i[b];if($i[b++]=null,Q!==null&&ee!==null){var De=Q.pending;De===null?ee.next=ee:(ee.next=De.next,De.next=ee),Q.pending=ee}le!==0&&et(A,ee,le)}}function we(g,b,A,Q){$i[Pc++]=g,$i[Pc++]=b,$i[Pc++]=A,$i[Pc++]=Q,zp|=Q,g.lanes|=Q,g=g.alternate,g!==null&&(g.lanes|=Q)}function Ne(g,b,A,Q){return we(g,b,A,Q),tt(g)}function Re(g,b){return we(g,null,null,b),tt(g)}function et(g,b,A){g.lanes|=A;var Q=g.alternate;Q!==null&&(Q.lanes|=A);for(var ee=!1,le=g.return;le!==null;)le.childLanes|=A,Q=le.alternate,Q!==null&&(Q.childLanes|=A),le.tag===22&&(g=le.stateNode,g===null||g._visibility&1||(ee=!0)),g=le,le=le.return;ee&&b!==null&&g.tag===3&&(le=g.stateNode,ee=31-tl(A),le=le.hiddenUpdates,g=le[ee],g===null?le[ee]=[b]:g.push(b),b.lane=A|536870912)}function tt(g){if(50<Ih)throw Ih=0,Ol=null,Error(i(185));for(var b=g.return;b!==null;)g=b,b=g.return;return g.tag===3?g.stateNode:null}function Oe(g){g!==Ah&&g.next===null&&(Ah===null?wd=Ah=g:Ah=Ah.next=g),_f=!0,cm||(cm=!0,Me(Ae))}function $e(g,b){if(!ts&&_f){ts=!0;do for(var A=!1,Q=wd;Q!==null;){if(g!==0){var ee=Q.pendingLanes;if(ee===0)var le=0;else{var De=Q.suspendedLanes,Ie=Q.pingedLanes;le=(1<<31-tl(42|g)+1)-1,le&=ee&~(De&~Ie),le=le&201326677?le&201326677|1:le?le|2:0}le!==0&&(A=!0,Ye(Q,le))}else le=ur,le=R(Q,Q===fr?le:0),(le&3)===0||C(Q,le)||(A=!0,Ye(Q,le));Q=Q.next}while(A);ts=!1}}function Ae(){_f=cm=!1;var g=0;Ef!==0&&(Od()&&(g=Ef),Ef=0);for(var b=zi(),A=null,Q=wd;Q!==null;){var ee=Q.next,le=Ue(Q,b);le===0?(Q.next=null,A===null?wd=ee:A.next=ee,ee===null&&(Ah=A)):(A=Q,(g!==0||(le&3)!==0)&&(_f=!0)),Q=ee}$e(g)}function Ue(g,b){for(var A=g.suspendedLanes,Q=g.pingedLanes,ee=g.expirationTimes,le=g.pendingLanes&-62914561;0<le;){var De=31-tl(le),Ie=1<<De,We=ee[De];We===-1?((Ie&A)===0||(Ie&Q)!==0)&&(ee[De]=k(Ie,b)):We<=b&&(g.expiredLanes|=Ie),le&=~Ie}if(b=fr,A=ur,A=R(g,g===b?A:0),Q=g.callbackNode,A===0||g===b&&bi===2||g.cancelPendingCommit!==null)return Q!==null&&Q!==null&&wh(Q),g.callbackNode=null,g.callbackPriority=0;if((A&3)===0||C(g,A)){if(b=A&-A,b===g.callbackPriority)return b;switch(Q!==null&&wh(Q),W(A)){case 2:case 8:A=Ly;break;case 32:A=Ig;break;case 268435456:A=om;break;default:A=Ig}return Q=Ze.bind(null,g),A=Ch(A,Q),g.callbackPriority=b,g.callbackNode=A,b}return Q!==null&&Q!==null&&wh(Q),g.callbackPriority=2,g.callbackNode=null,2}function Ze(g,b){var A=g.callbackNode;if(Gt()&&g.callbackNode!==A)return null;var Q=ur;return Q=R(g,g===fr?Q:0),Q===0?null:(vh(g,Q,b),Ue(g,zi()),g.callbackNode!=null&&g.callbackNode===A?Ze.bind(null,g):null)}function Ye(g,b){if(Gt())return null;vh(g,b,!0)}function Me(g){ha?tm(function(){(yn&6)!==0?Ch(Ng,g):g()}):Ch(Ng,g)}function ze(){return Ef===0&&(Ef=F()),Ef}function st(g,b){if(fm===null){var A=fm=[];Lg=0,ql=ze(),Rd={status:"pending",value:void 0,then:function(Q){A.push(Q)}}}return Lg++,b.then(Ot,Ot),b}function Ot(){if(--Lg===0&&fm!==null){Rd!==null&&(Rd.status="fulfilled");var g=fm;fm=null,ql=0,Rd=null;for(var b=0;b<g.length;b++)(0,g[b])()}}function Nt(g,b){var A=[],Q={status:"pending",value:null,reason:null,then:function(ee){A.push(ee)}};return g.then(function(){Q.status="fulfilled",Q.value=b;for(var ee=0;ee<A.length;ee++)(0,A[ee])(b)},function(ee){for(Q.status="rejected",Q.reason=ee,ee=0;ee<A.length;ee++)(0,A[ee])(void 0)}),Q}function gt(g){g.updateQueue={baseState:g.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function qt(g,b){g=g.updateQueue,b.updateQueue===g&&(b.updateQueue={baseState:g.baseState,firstBaseUpdate:g.firstBaseUpdate,lastBaseUpdate:g.lastBaseUpdate,shared:g.shared,callbacks:null})}function zt(g){return{lane:g,tag:0,payload:null,callback:null,next:null}}function rn(g,b,A){var Q=g.updateQueue;if(Q===null)return null;if(Q=Q.shared,(yn&2)!==0){var ee=Q.pending;return ee===null?b.next=b:(b.next=ee.next,ee.next=b),Q.pending=b,b=tt(g),et(g,null,A),b}return we(g,Q,b,A),tt(g)}function nn(g,b,A){if(b=b.updateQueue,b!==null&&(b=b.shared,(A&4194176)!==0)){var Q=b.lanes;Q&=g.pendingLanes,A|=Q,b.lanes=A,V(g,A)}}function Fe(g,b){var A=g.updateQueue,Q=g.alternate;if(Q!==null&&(Q=Q.updateQueue,A===Q)){var ee=null,le=null;if(A=A.firstBaseUpdate,A!==null){do{var De={lane:A.lane,tag:A.tag,payload:A.payload,callback:null,next:null};le===null?ee=le=De:le=le.next=De,A=A.next}while(A!==null);le===null?ee=le=b:le=le.next=b}else ee=le=b;A={baseState:Q.baseState,firstBaseUpdate:ee,lastBaseUpdate:le,shared:Q.shared,callbacks:Q.callbacks},g.updateQueue=A;return}g=A.lastBaseUpdate,g===null?A.firstBaseUpdate=b:g.next=b,A.lastBaseUpdate=b}function ht(){if(Th){var g=Rd;if(g!==null)throw g}}function Tt(g,b,A,Q){Th=!1;var ee=g.updateQueue;Mc=!1;var le=ee.firstBaseUpdate,De=ee.lastBaseUpdate,Ie=ee.shared.pending;if(Ie!==null){ee.shared.pending=null;var We=Ie,vt=We.next;We.next=null,De===null?le=vt:De.next=vt,De=We;var kt=g.alternate;kt!==null&&(kt=kt.updateQueue,Ie=kt.lastBaseUpdate,Ie!==De&&(Ie===null?kt.firstBaseUpdate=vt:Ie.next=vt,kt.lastBaseUpdate=We))}if(le!==null){var Ht=ee.baseState;De=0,kt=vt=We=null,Ie=le;do{var Kt=Ie.lane&-536870913,Zn=Kt!==Ie.lane;if(Zn?(ur&Kt)===Kt:(Q&Kt)===Kt){Kt!==0&&Kt===ql&&(Th=!0),kt!==null&&(kt=kt.next={lane:0,tag:Ie.tag,payload:Ie.payload,callback:null,next:null});e:{var Zl=g,vm=Ie;Kt=b;var Lh=A;switch(vm.tag){case 1:if(Zl=vm.payload,typeof Zl=="function"){Ht=Zl.call(Lh,Ht,Kt);break e}Ht=Zl;break e;case 3:Zl.flags=Zl.flags&-65537|128;case 0:if(Zl=vm.payload,Kt=typeof Zl=="function"?Zl.call(Lh,Ht,Kt):Zl,Kt==null)break e;Ht=Oh({},Ht,Kt);break e;case 2:Mc=!0}}Kt=Ie.callback,Kt!==null&&(g.flags|=64,Zn&&(g.flags|=8192),Zn=ee.callbacks,Zn===null?ee.callbacks=[Kt]:Zn.push(Kt))}else Zn={lane:Kt,tag:Ie.tag,payload:Ie.payload,callback:Ie.callback,next:null},kt===null?(vt=kt=Zn,We=Ht):kt=kt.next=Zn,De|=Kt;if(Ie=Ie.next,Ie===null){if(Ie=ee.shared.pending,Ie===null)break;Zn=Ie,Ie=Zn.next,Zn.next=null,ee.lastBaseUpdate=Zn,ee.shared.pending=null}}while(!0);kt===null&&(We=Ht),ee.baseState=We,ee.firstBaseUpdate=vt,ee.lastBaseUpdate=kt,le===null&&(ee.shared.lanes=0),xo|=De,g.lanes=De,g.memoizedState=Ht}}function Qt(g,b){if(typeof g!="function")throw Error(i(191,g));g.call(b)}function an(g,b){var A=g.callbacks;if(A!==null)for(g.callbacks=null,g=0;g<A.length;g++)Qt(A[g],b)}function In(g,b){if(vl(g,b))return!0;if(typeof g!="object"||g===null||typeof b!="object"||b===null)return!1;var A=Object.keys(g),Q=Object.keys(b);if(A.length!==Q.length)return!1;for(Q=0;Q<A.length;Q++){var ee=A[Q];if(!dm.call(b,ee)||!vl(g[ee],b[ee]))return!1}return!0}function un(g){return g=g.status,g==="fulfilled"||g==="rejected"}function jn(){}function sr(g,b,A){switch(A=g[A],A===void 0?g.push(b):A!==b&&(b.then(jn,jn),b=A),b.status){case"fulfilled":return b.value;case"rejected":throw g=b.reason,g===Hr?Error(i(483)):g;default:if(typeof b.status=="string")b.then(jn,jn);else{if(g=fr,g!==null&&100<g.shellSuspendCounter)throw Error(i(482));g=b,g.status="pending",g.then(function(Q){if(b.status==="pending"){var ee=b;ee.status="fulfilled",ee.value=Q}},function(Q){if(b.status==="pending"){var ee=b;ee.status="rejected",ee.reason=Q}})}switch(b.status){case"fulfilled":return b.value;case"rejected":throw g=b.reason,g===Hr?Error(i(483)):g}throw Df=b,Hr}}function ar(){if(Df===null)throw Error(i(459));var g=Df;return Df=null,g}function Dr(g){var b=yo;return yo+=1,zs===null&&(zs=[]),sr(zs,g,b)}function zr(g,b){b=b.props.ref,g.ref=b!==void 0?b:null}function ke(g,b){throw b.$$typeof===my?Error(i(525)):(g=Object.prototype.toString.call(b),Error(i(31,g==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":g)))}function He(g){var b=g._init;return b(g._payload)}function nt(g){function b(ut,Ge){if(g){var ct=ut.deletions;ct===null?(ut.deletions=[Ge],ut.flags|=16):ct.push(Ge)}}function A(ut,Ge){if(!g)return null;for(;Ge!==null;)b(ut,Ge),Ge=Ge.sibling;return null}function Q(ut){for(var Ge=new Map;ut!==null;)ut.key!==null?Ge.set(ut.key,ut):Ge.set(ut.index,ut),ut=ut.sibling;return Ge}function ee(ut,Ge){return ut=Ya(ut,Ge),ut.index=0,ut.sibling=null,ut}function le(ut,Ge,ct){return ut.index=ct,g?(ct=ut.alternate,ct!==null?(ct=ct.index,ct<Ge?(ut.flags|=33554434,Ge):ct):(ut.flags|=33554434,Ge)):(ut.flags|=1048576,Ge)}function De(ut){return g&&ut.alternate===null&&(ut.flags|=33554434),ut}function Ie(ut,Ge,ct,At){return Ge===null||Ge.tag!==6?(Ge=Nl(ct,ut.mode,At),Ge.return=ut,Ge):(Ge=ee(Ge,ct),Ge.return=ut,Ge)}function We(ut,Ge,ct,At){var mn=ct.type;return mn===jo?kt(ut,Ge,ct.props.children,At,ct.key):Ge!==null&&(Ge.elementType===mn||typeof mn=="object"&&mn!==null&&mn.$$typeof===Ho&&He(mn)===Ge.type)?(Ge=ee(Ge,ct.props),zr(Ge,ct),Ge.return=ut,Ge):(Ge=Fl(ct.type,ct.key,ct.props,null,ut.mode,At),zr(Ge,ct),Ge.return=ut,Ge)}function vt(ut,Ge,ct,At){return Ge===null||Ge.tag!==4||Ge.stateNode.containerInfo!==ct.containerInfo||Ge.stateNode.implementation!==ct.implementation?(Ge=hd(ct,ut.mode,At),Ge.return=ut,Ge):(Ge=ee(Ge,ct.children||[]),Ge.return=ut,Ge)}function kt(ut,Ge,ct,At,mn){return Ge===null||Ge.tag!==7?(Ge=ku(ct,ut.mode,At,mn),Ge.return=ut,Ge):(Ge=ee(Ge,ct),Ge.return=ut,Ge)}function Ht(ut,Ge,ct){if(typeof Ge=="string"&&Ge!==""||typeof Ge=="number"||typeof Ge=="bigint")return Ge=Nl(""+Ge,ut.mode,ct),Ge.return=ut,Ge;if(typeof Ge=="object"&&Ge!==null){switch(Ge.$$typeof){case xf:return ct=Fl(Ge.type,Ge.key,Ge.props,null,ut.mode,ct),zr(ct,Ge),ct.return=ut,ct;case Ms:return Ge=hd(Ge,ut.mode,ct),Ge.return=ut,Ge;case Ho:var At=Ge._init;return Ge=At(Ge._payload),Ht(ut,Ge,ct)}if(Gu(Ge)||a(Ge))return Ge=ku(Ge,ut.mode,ct,null),Ge.return=ut,Ge;if(typeof Ge.then=="function")return Ht(ut,Dr(Ge),ct);if(Ge.$$typeof===$c)return Ht(ut,hh(ut,Ge),ct);ke(ut,Ge)}return null}function Kt(ut,Ge,ct,At){var mn=Ge!==null?Ge.key:null;if(typeof ct=="string"&&ct!==""||typeof ct=="number"||typeof ct=="bigint")return mn!==null?null:Ie(ut,Ge,""+ct,At);if(typeof ct=="object"&&ct!==null){switch(ct.$$typeof){case xf:return ct.key===mn?We(ut,Ge,ct,At):null;case Ms:return ct.key===mn?vt(ut,Ge,ct,At):null;case Ho:return mn=ct._init,ct=mn(ct._payload),Kt(ut,Ge,ct,At)}if(Gu(ct)||a(ct))return mn!==null?null:kt(ut,Ge,ct,At,null);if(typeof ct.then=="function")return Kt(ut,Ge,Dr(ct),At);if(ct.$$typeof===$c)return Kt(ut,Ge,hh(ut,ct),At);ke(ut,ct)}return null}function Zn(ut,Ge,ct,At,mn){if(typeof At=="string"&&At!==""||typeof At=="number"||typeof At=="bigint")return ut=ut.get(ct)||null,Ie(Ge,ut,""+At,mn);if(typeof At=="object"&&At!==null){switch(At.$$typeof){case xf:return ut=ut.get(At.key===null?ct:At.key)||null,We(Ge,ut,At,mn);case Ms:return ut=ut.get(At.key===null?ct:At.key)||null,vt(Ge,ut,At,mn);case Ho:var ci=At._init;return At=ci(At._payload),Zn(ut,Ge,ct,At,mn)}if(Gu(At)||a(At))return ut=ut.get(ct)||null,kt(Ge,ut,At,mn,null);if(typeof At.then=="function")return Zn(ut,Ge,ct,Dr(At),mn);if(At.$$typeof===$c)return Zn(ut,Ge,ct,hh(Ge,At),mn);ke(Ge,At)}return null}function Zl(ut,Ge,ct,At){for(var mn=null,ci=null,Tn=Ge,Ar=Ge=0,za=null;Tn!==null&&Ar<ct.length;Ar++){Tn.index>Ar?(za=Tn,Tn=null):za=Tn.sibling;var _r=Kt(ut,Tn,ct[Ar],At);if(_r===null){Tn===null&&(Tn=za);break}g&&Tn&&_r.alternate===null&&b(ut,Tn),Ge=le(_r,Ge,Ar),ci===null?mn=_r:ci.sibling=_r,ci=_r,Tn=za}if(Ar===ct.length)return A(ut,Tn),Nr&&M(ut,Ar),mn;if(Tn===null){for(;Ar<ct.length;Ar++)Tn=Ht(ut,ct[Ar],At),Tn!==null&&(Ge=le(Tn,Ge,Ar),ci===null?mn=Tn:ci.sibling=Tn,ci=Tn);return Nr&&M(ut,Ar),mn}for(Tn=Q(Tn);Ar<ct.length;Ar++)za=Zn(Tn,ut,Ar,ct[Ar],At),za!==null&&(g&&za.alternate!==null&&Tn.delete(za.key===null?Ar:za.key),Ge=le(za,Ge,Ar),ci===null?mn=za:ci.sibling=za,ci=za);return g&&Tn.forEach(function(Bc){return b(ut,Bc)}),Nr&&M(ut,Ar),mn}function vm(ut,Ge,ct,At){if(ct==null)throw Error(i(151));for(var mn=null,ci=null,Tn=Ge,Ar=Ge=0,za=null,_r=ct.next();Tn!==null&&!_r.done;Ar++,_r=ct.next()){Tn.index>Ar?(za=Tn,Tn=null):za=Tn.sibling;var Bc=Kt(ut,Tn,_r.value,At);if(Bc===null){Tn===null&&(Tn=za);break}g&&Tn&&Bc.alternate===null&&b(ut,Tn),Ge=le(Bc,Ge,Ar),ci===null?mn=Bc:ci.sibling=Bc,ci=Bc,Tn=za}if(_r.done)return A(ut,Tn),Nr&&M(ut,Ar),mn;if(Tn===null){for(;!_r.done;Ar++,_r=ct.next())_r=Ht(ut,_r.value,At),_r!==null&&(Ge=le(_r,Ge,Ar),ci===null?mn=_r:ci.sibling=_r,ci=_r);return Nr&&M(ut,Ar),mn}for(Tn=Q(Tn);!_r.done;Ar++,_r=ct.next())_r=Zn(Tn,ut,Ar,_r.value,At),_r!==null&&(g&&_r.alternate!==null&&Tn.delete(_r.key===null?Ar:_r.key),Ge=le(_r,Ge,Ar),ci===null?mn=_r:ci.sibling=_r,ci=_r);return g&&Tn.forEach(function(ym){return b(ut,ym)}),Nr&&M(ut,Ar),mn}function Lh(ut,Ge,ct,At){if(typeof ct=="object"&&ct!==null&&ct.type===jo&&ct.key===null&&(ct=ct.props.children),typeof ct=="object"&&ct!==null){switch(ct.$$typeof){case xf:e:{for(var mn=ct.key;Ge!==null;){if(Ge.key===mn){if(mn=ct.type,mn===jo){if(Ge.tag===7){A(ut,Ge.sibling),At=ee(Ge,ct.props.children),At.return=ut,ut=At;break e}}else if(Ge.elementType===mn||typeof mn=="object"&&mn!==null&&mn.$$typeof===Ho&&He(mn)===Ge.type){A(ut,Ge.sibling),At=ee(Ge,ct.props),zr(At,ct),At.return=ut,ut=At;break e}A(ut,Ge);break}else b(ut,Ge);Ge=Ge.sibling}ct.type===jo?(At=ku(ct.props.children,ut.mode,At,ct.key),At.return=ut,ut=At):(At=Fl(ct.type,ct.key,ct.props,null,ut.mode,At),zr(At,ct),At.return=ut,ut=At)}return De(ut);case Ms:e:{for(mn=ct.key;Ge!==null;){if(Ge.key===mn)if(Ge.tag===4&&Ge.stateNode.containerInfo===ct.containerInfo&&Ge.stateNode.implementation===ct.implementation){A(ut,Ge.sibling),At=ee(Ge,ct.children||[]),At.return=ut,ut=At;break e}else{A(ut,Ge);break}else b(ut,Ge);Ge=Ge.sibling}At=hd(ct,ut.mode,At),At.return=ut,ut=At}return De(ut);case Ho:return mn=ct._init,ct=mn(ct._payload),Lh(ut,Ge,ct,At)}if(Gu(ct))return Zl(ut,Ge,ct,At);if(a(ct)){if(mn=a(ct),typeof mn!="function")throw Error(i(150));return ct=mn.call(ct),vm(ut,Ge,ct,At)}if(typeof ct.then=="function")return Lh(ut,Ge,Dr(ct),At);if(ct.$$typeof===$c)return Lh(ut,Ge,hh(ut,ct),At);ke(ut,ct)}return typeof ct=="string"&&ct!==""||typeof ct=="number"||typeof ct=="bigint"?(ct=""+ct,Ge!==null&&Ge.tag===6?(A(ut,Ge.sibling),At=ee(Ge,ct),At.return=ut,ut=At):(A(ut,Ge),At=Nl(ct,ut.mode,At),At.return=ut,ut=At),De(ut)):A(ut,Ge)}return function(ut,Ge,ct,At){try{yo=0;var mn=Lh(ut,Ge,ct,At);return zs=null,mn}catch(Tn){if(Tn===Hr)throw Tn;var ci=n(29,Tn,null,ut.mode);return ci.lanes=At,ci.return=ut,ci}finally{}}}function dt(g,b){g=Vs,E(nu,g),E(tu,b),Vs=g|b.baseLanes}function $t(){E(nu,Vs),E(tu,tu.current)}function Ut(){Vs=nu.current,x(tu),x(nu)}function Zt(g){var b=g.alternate;E(Ba,Ba.current&1),E(bo,g),Oo===null&&(b===null||tu.current!==null||b.memoizedState!==null)&&(Oo=g)}function Lt(g){if(g.tag===22){if(E(Ba,Ba.current),E(bo,g),Oo===null){var b=g.alternate;b!==null&&b.memoizedState!==null&&(Oo=g)}}else Vt()}function Vt(){E(Ba,Ba.current),E(bo,bo.current)}function en(g){x(bo),Oo===g&&(Oo=null),x(Ba)}function tn(g){for(var b=g;b!==null;){if(b.tag===13){var A=b.memoizedState;if(A!==null&&(A=A.dehydrated,A===null||Cg(A)||Sd(A)))return b}else if(b.tag===19&&b.memoizedProps.revealOrder!==void 0){if((b.flags&128)!==0)return b}else if(b.child!==null){b.child.return=b,b=b.child;continue}if(b===g)break;for(;b.sibling===null;){if(b.return===null||b.return===g)return null;b=b.return}b.sibling.return=b.return,b=b.sibling}return null}function Rt(){throw Error(i(321))}function on(g,b){if(b===null)return!1;for(var A=0;A<b.length&&A<g.length;A++)if(!vl(g[A],b[A]))return!1;return!0}function mr(g,b,A,Q,ee,le){return Fc=le,Jn=b,b.memoizedState=null,b.updateQueue=null,b.lanes=0,xn.H=g===null||g.memoizedState===null?Qa:il,$f=!1,le=A(Q,ee),$f=!1,qi&&(le=_a(b,A,Q,ee)),ki(g),le}function ki(g){xn.H=Cr;var b=Xr!==null&&Xr.next!==null;if(Fc=0,wa=Xr=Jn=null,ns=!1,pa=0,qp=null,b)throw Error(i(300));g===null||Ra||(g=g.dependencies,g!==null&&zo(g)&&(Ra=!0))}function _a(g,b,A,Q){Jn=g;var ee=0;do{if(qi&&(qp=null),pa=0,qi=!1,25<=ee)throw Error(i(301));if(ee+=1,wa=Xr=null,g.updateQueue!=null){var le=g.updateQueue;le.lastEffect=null,le.events=null,le.stores=null,le.memoCache!=null&&(le.memoCache.index=0)}xn.H=Td,le=b(A,Q)}while(qi);return le}function pi(){var g=xn.H,b=g.useState()[0];return b=typeof b.then=="function"?sa(b):b,g=g.useState()[0],(Xr!==null?Xr.memoizedState:null)!==g&&(Jn.flags|=1024),b}function qr(){var g=hm!==0;return hm=0,g}function Du(g,b,A){b.updateQueue=g.updateQueue,b.flags&=-2053,g.lanes&=~A}function Cl(g){if(ns){for(g=g.memoizedState;g!==null;){var b=g.queue;b!==null&&(b.pending=null),g=g.next}ns=!1}Fc=0,wa=Xr=Jn=null,qi=!1,pa=hm=0,qp=null}function Zr(){var g={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wa===null?Jn.memoizedState=wa=g:wa=wa.next=g,wa}function Pt(){if(Xr===null){var g=Jn.alternate;g=g!==null?g.memoizedState:null}else g=Xr.next;var b=wa===null?Jn.memoizedState:wa.next;if(b!==null)wa=b,Xr=g;else{if(g===null)throw Jn.alternate===null?Error(i(467)):Error(i(310));Xr=g,g={memoizedState:Xr.memoizedState,baseState:Xr.baseState,baseQueue:Xr.baseQueue,queue:Xr.queue,next:null},wa===null?Jn.memoizedState=wa=g:wa=wa.next=g}return wa}function sa(g){var b=pa;return pa+=1,qp===null&&(qp=[]),g=sr(qp,g,b),b=Jn,(wa===null?b.memoizedState:wa.next)===null&&(b=b.alternate,xn.H=b===null||b.memoizedState===null?Qa:il),g}function Ki(g){if(g!==null&&typeof g=="object"){if(typeof g.then=="function")return sa(g);if(g.$$typeof===$c)return Ia(g)}throw Error(i(438,String(g)))}function ei(g){var b=null,A=Jn.updateQueue;if(A!==null&&(b=A.memoCache),b==null){var Q=Jn.alternate;Q!==null&&(Q=Q.updateQueue,Q!==null&&(Q=Q.memoCache,Q!=null&&(b={data:Q.data.map(function(ee){return ee.slice()}),index:0})))}if(b==null&&(b={data:[],index:0}),A===null&&(A=pm(),Jn.updateQueue=A),A.memoCache=b,A=b.data[b.index],A===void 0)for(A=b.data[b.index]=Array(g),Q=0;Q<g;Q++)A[Q]=Eb;return b.index++,A}function $u(g,b){return typeof b=="function"?b(g):b}function ro(g){var b=Pt();return Hn(b,Xr,g)}function Hn(g,b,A){var Q=g.queue;if(Q===null)throw Error(i(311));Q.lastRenderedReducer=A;var ee=g.baseQueue,le=Q.pending;if(le!==null){if(ee!==null){var De=ee.next;ee.next=le.next,le.next=De}b.baseQueue=ee=le,Q.pending=null}if(le=g.baseState,ee===null)g.memoizedState=le;else{b=ee.next;var Ie=De=null,We=null,vt=b,kt=!1;do{var Ht=vt.lane&-536870913;if(Ht!==vt.lane?(ur&Ht)===Ht:(Fc&Ht)===Ht){var Kt=vt.revertLane;if(Kt===0)We!==null&&(We=We.next={lane:0,revertLane:0,action:vt.action,hasEagerState:vt.hasEagerState,eagerState:vt.eagerState,next:null}),Ht===ql&&(kt=!0);else if((Fc&Kt)===Kt){vt=vt.next,Kt===ql&&(kt=!0);continue}else Ht={lane:0,revertLane:vt.revertLane,action:vt.action,hasEagerState:vt.hasEagerState,eagerState:vt.eagerState,next:null},We===null?(Ie=We=Ht,De=le):We=We.next=Ht,Jn.lanes|=Kt,xo|=Kt;Ht=vt.action,$f&&A(le,Ht),le=vt.hasEagerState?vt.eagerState:A(le,Ht)}else Kt={lane:Ht,revertLane:vt.revertLane,action:vt.action,hasEagerState:vt.hasEagerState,eagerState:vt.eagerState,next:null},We===null?(Ie=We=Kt,De=le):We=We.next=Kt,Jn.lanes|=Ht,xo|=Ht;vt=vt.next}while(vt!==null&&vt!==b);if(We===null?De=le:We.next=Ie,!vl(le,g.memoizedState)&&(Ra=!0,kt&&(A=Rd,A!==null)))throw A;g.memoizedState=le,g.baseState=De,g.baseQueue=We,Q.lastRenderedState=le}return ee===null&&(Q.lanes=0),[g.memoizedState,Q.dispatch]}function mi(g){var b=Pt(),A=b.queue;if(A===null)throw Error(i(311));A.lastRenderedReducer=g;var Q=A.dispatch,ee=A.pending,le=b.memoizedState;if(ee!==null){A.pending=null;var De=ee=ee.next;do le=g(le,De.action),De=De.next;while(De!==ee);vl(le,b.memoizedState)||(Ra=!0),b.memoizedState=le,b.baseQueue===null&&(b.baseState=le),A.lastRenderedState=le}return[le,Q]}function vs(g,b,A){var Q=Jn,ee=Pt(),le=Nr;if(le){if(A===void 0)throw Error(i(407));A=A()}else A=b();var De=!vl((Xr||ee).memoizedState,A);if(De&&(ee.memoizedState=A,Ra=!0),ee=ee.queue,pf(bs.bind(null,Q,ee,g),[g]),ee.getSnapshot!==b||De||wa!==null&&wa.memoizedState.tag&1){if(Q.flags|=2048,No(9,ti.bind(null,Q,ee,A,b),{destroy:void 0},null),fr===null)throw Error(i(349));le||(Fc&60)!==0||ys(Q,b,A)}return A}function ys(g,b,A){g.flags|=16384,g={getSnapshot:b,value:A},b=Jn.updateQueue,b===null?(b=pm(),Jn.updateQueue=b,b.stores=[g]):(A=b.stores,A===null?b.stores=[g]:A.push(g))}function ti(g,b,A,Q){b.value=A,b.getSnapshot=Q,Ea(b)&&cc(g)}function bs(g,b,A){return A(function(){Ea(b)&&cc(g)})}function Ea(g){var b=g.getSnapshot;g=g.value;try{var A=b();return!vl(g,A)}catch{return!0}}function cc(g){var b=Re(g,2);b!==null&&du(b,g,2)}function Pr(g){var b=Zr();if(typeof g=="function"){var A=g;if(g=A(),$f){J(!0);try{A()}finally{J(!1)}}}return b.memoizedState=b.baseState=g,b.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$u,lastRenderedState:g},b}function Wi(g,b,A,Q){return g.baseState=A,Hn(g,Xr,typeof Q=="function"?Q:$u)}function Mo(g,b,A,Q,ee){if(mc(g))throw Error(i(485));if(g=b.action,g!==null){var le={payload:ee,action:g,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(De){le.listeners.push(De)}};xn.T!==null?A(!0):le.isTransition=!1,Q(le),A=b.pending,A===null?(le.next=b.pending=le,vp(b,le)):(le.next=A.next,b.pending=A.next=le)}}function vp(g,b){var A=b.action,Q=b.payload,ee=g.state;if(b.isTransition){var le=xn.T,De={};xn.T=De;try{var Ie=A(ee,Q),We=xn.S;We!==null&&We(De,Ie),hf(g,b,Ie)}catch(vt){wl(g,b,vt)}finally{xn.T=le}}else try{le=A(ee,Q),hf(g,b,le)}catch(vt){wl(g,b,vt)}}function hf(g,b,A){A!==null&&typeof A=="object"&&typeof A.then=="function"?A.then(function(Q){Fo(g,b,Q)},function(Q){return wl(g,b,Q)}):Fo(g,b,A)}function Fo(g,b,A){b.status="fulfilled",b.value=A,uh(b),g.state=A,b=g.pending,b!==null&&(A=b.next,A===b?g.pending=null:(A=A.next,b.next=A,vp(g,A)))}function wl(g,b,A){var Q=g.pending;if(g.pending=null,Q!==null){Q=Q.next;do b.status="rejected",b.reason=A,uh(b),b=b.next;while(b!==Q)}g.action=null}function uh(g){g=g.listeners;for(var b=0;b<g.length;b++)(0,g[b])()}function ja(g,b){return b}function Jf(g,b){if(Nr){var A=fr.formState;if(A!==null){e:{var Q=Jn;if(Nr){if(yu){var ee=$y(yu,es);if(ee){yu=Ac(ee),Q=Bl(ee);break e}}be(Q)}Q=!1}Q&&(b=A[0])}}A=Zr(),A.memoizedState=A.baseState=b,Q={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ja,lastRenderedState:b},A.queue=Q,A=ch.bind(null,Jn,Q),Q.dispatch=A,Q=Pr(!1);var le=Ln.bind(null,Jn,!1,Q.queue);return Q=Zr(),ee={state:b,dispatch:null,action:g,pending:null},Q.queue=ee,A=Mo.bind(null,Jn,ee,le,A),ee.dispatch=A,Q.memoizedState=g,[b,A,!1]}function Os(g){var b=Pt();return ed(b,Xr,g)}function ed(g,b,A){b=Hn(g,b,ja)[0],g=ro($u)[0],b=typeof b=="object"&&b!==null&&typeof b.then=="function"?sa(b):b;var Q=Pt(),ee=Q.queue,le=ee.dispatch;return A!==Q.memoizedState&&(Jn.flags|=2048,No(9,fc.bind(null,ee,A),{destroy:void 0},null)),[b,le,g]}function fc(g,b){g.action=b}function dc(g){var b=Pt(),A=Xr;if(A!==null)return ed(b,A,g);Pt(),b=b.memoizedState,A=Pt();var Q=A.queue.dispatch;return A.memoizedState=g,[b,Q,!1]}function No(g,b,A,Q){return g={tag:g,create:b,inst:A,deps:Q,next:null},b=Jn.updateQueue,b===null&&(b=pm(),Jn.updateQueue=b),A=b.lastEffect,A===null?b.lastEffect=g.next=g:(Q=A.next,A.next=g,g.next=Q,b.lastEffect=g),g}function Cu(){return Pt().memoizedState}function Ss(g,b,A,Q){var ee=Zr();Jn.flags|=g,ee.memoizedState=No(1|b,A,{destroy:void 0},Q===void 0?null:Q)}function xs(g,b,A,Q){var ee=Pt();Q=Q===void 0?null:Q;var le=ee.memoizedState.inst;Xr!==null&&Q!==null&&on(Q,Xr.memoizedState.deps)?ee.memoizedState=No(b,A,le,Q):(Jn.flags|=g,ee.memoizedState=No(1|b,A,le,Q))}function B0(g,b){Ss(8390656,8,g,b)}function pf(g,b){xs(2048,8,g,b)}function Q0(g,b){return xs(4,2,g,b)}function yp(g,b){return xs(4,4,g,b)}function mf(g,b){if(typeof b=="function"){g=g();var A=b(g);return function(){typeof A=="function"?A():b(null)}}if(b!=null)return g=g(),b.current=g,function(){b.current=null}}function io(g,b,A){A=A!=null?A.concat([g]):null,xs(4,4,mf.bind(null,b,g),A)}function lh(){}function oh(g,b){var A=Pt();b=b===void 0?null:b;var Q=A.memoizedState;return b!==null&&on(b,Q[1])?Q[0]:(A.memoizedState=[g,b],g)}function _s(g,b){var A=Pt();b=b===void 0?null:b;var Q=A.memoizedState;if(b!==null&&on(b,Q[1]))return Q[0];if(Q=g(),$f){J(!0);try{g()}finally{J(!1)}}return A.memoizedState=[Q,b],Q}function hc(g,b,A){return A===void 0||(Fc&1073741824)!==0?g.memoizedState=b:(g.memoizedState=A,g=Yu(),Jn.lanes|=g,xo|=g,A)}function z0(g,b,A,Q){return vl(A,b)?A:tu.current!==null?(g=hc(g,A,Q),vl(g,b)||(Ra=!0),g):(Fc&42)===0?(Ra=!0,g.memoizedState=A):(g=Yu(),Jn.lanes|=g,xo|=g,b)}function bp(g,b,A,Q,ee){var le=Ja();mu(le!==0&&8>le?le:8);var De=xn.T,Ie={};xn.T=Ie,Ln(g,!1,b,A);try{var We=ee(),vt=xn.S;if(vt!==null&&vt(Ie,We),We!==null&&typeof We=="object"&&typeof We.then=="function"){var kt=Nt(We,Q);$r(g,b,kt,Hi(g))}else $r(g,b,Q,Hi(g))}catch(Ht){$r(g,b,{then:function(){},status:"rejected",reason:Ht},Hi())}finally{mu(le),xn.T=De}}function Op(g){var b=g.memoizedState;if(b!==null)return b;b={memoizedState:gu,baseState:gu,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$u,lastRenderedState:gu},next:null};var A={};return b.next={memoizedState:A,baseState:A,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$u,lastRenderedState:A},next:null},g.memoizedState=b,g=g.alternate,g!==null&&(g.memoizedState=b),b}function Es(){return Ia(An)}function Io(){return Pt().memoizedState}function Sp(){return Pt().memoizedState}function sh(g){for(var b=g.return;b!==null;){switch(b.tag){case 24:case 3:var A=Hi();g=zt(A);var Q=rn(b,g,A);Q!==null&&(du(Q,b,A),nn(Q,b,A)),b={cache:ld()},g.payload=b;return}b=b.return}}function pc(g,b,A){var Q=Hi();A={lane:Q,revertLane:0,action:A,hasEagerState:!1,eagerState:null,next:null},mc(g)?Lo(b,A):(A=Ne(g,b,A,Q),A!==null&&(du(A,g,Q),gc(A,b,Q)))}function ch(g,b,A){var Q=Hi();$r(g,b,A,Q)}function $r(g,b,A,Q){var ee={lane:Q,revertLane:0,action:A,hasEagerState:!1,eagerState:null,next:null};if(mc(g))Lo(b,ee);else{var le=g.alternate;if(g.lanes===0&&(le===null||le.lanes===0)&&(le=b.lastRenderedReducer,le!==null))try{var De=b.lastRenderedState,Ie=le(De,A);if(ee.hasEagerState=!0,ee.eagerState=Ie,vl(Ie,De))return we(g,b,ee,0),fr===null&&ge(),!1}catch{}finally{}if(A=Ne(g,b,ee,Q),A!==null)return du(A,g,Q),gc(A,b,Q),!0}return!1}function Ln(g,b,A,Q){if(Q={lane:2,revertLane:ze(),action:Q,hasEagerState:!1,eagerState:null,next:null},mc(g)){if(b)throw Error(i(479))}else b=Ne(g,A,Q,2),b!==null&&du(b,g,2)}function mc(g){var b=g.alternate;return g===Jn||b!==null&&b===Jn}function Lo(g,b){qi=ns=!0;var A=g.pending;A===null?b.next=b:(b.next=A.next,A.next=b),g.pending=b}function gc(g,b,A){if((A&4194176)!==0){var Q=b.lanes;Q&=g.pendingLanes,A|=Q,b.lanes=A,V(g,A)}}function Ji(g,b,A,Q){b=g.memoizedState,A=A(Q,b),A=A==null?b:Oh({},b,A),g.memoizedState=A,g.lanes===0&&(g.updateQueue.baseState=A)}function Ds(g,b,A,Q,ee,le,De){return g=g.stateNode,typeof g.shouldComponentUpdate=="function"?g.shouldComponentUpdate(Q,le,De):b.prototype&&b.prototype.isPureReactComponent?!In(A,Q)||!In(ee,le):!0}function td(g,b,A,Q){g=b.state,typeof b.componentWillReceiveProps=="function"&&b.componentWillReceiveProps(A,Q),typeof b.UNSAFE_componentWillReceiveProps=="function"&&b.UNSAFE_componentWillReceiveProps(A,Q),b.state!==g&&mm.enqueueReplaceState(b,b.state,null)}function Rl(g,b){var A=b;if("ref"in b){A={};for(var Q in b)Q!=="ref"&&(A[Q]=b[Q])}if(g=g.defaultProps){A===b&&(A=Oh({},A));for(var ee in g)A[ee]===void 0&&(A[ee]=g[ee])}return A}function nd(g,b){try{var A=g.onUncaughtError;A(b.value,{componentStack:b.stack})}catch(Q){setTimeout(function(){throw Q})}}function ea(g,b,A){try{var Q=g.onCaughtError;Q(A.value,{componentStack:A.stack,errorBoundary:b.tag===1?b.stateNode:null})}catch(ee){setTimeout(function(){throw ee})}}function $s(g,b,A){return A=zt(A),A.tag=3,A.payload={element:null},A.callback=function(){nd(g,b)},A}function Al(g){return g=zt(g),g.tag=3,g}function rd(g,b,A,Q){var ee=A.type.getDerivedStateFromError;if(typeof ee=="function"){var le=Q.value;g.payload=function(){return ee(le)},g.callback=function(){ea(b,A,Q)}}var De=A.stateNode;De!==null&&typeof De.componentDidCatch=="function"&&(g.callback=function(){ea(b,A,Q),typeof ee!="function"&&(_o===null?_o=new Set([this]):_o.add(this));var Ie=Q.stack;this.componentDidCatch(Q.value,{componentStack:Ie!==null?Ie:""})})}function xp(g,b,A,Q,ee){if(A.flags|=32768,Q!==null&&typeof Q=="object"&&typeof Q.then=="function"){if(b=A.alternate,b!==null&&yc(b,A,ee,!0),A=bo.current,A!==null){switch(A.tag){case 13:return Oo===null?hn():A.alternate===null&&Rr===0&&(Rr=3),A.flags&=-257,A.flags|=65536,A.lanes=ee,Q===Ad?A.flags|=16384:(b=A.updateQueue,b===null?A.updateQueue=new Set([Q]):b.add(Q),gn(g,Q,ee)),!1;case 22:return A.flags|=65536,Q===Ad?A.flags|=16384:(b=A.updateQueue,b===null?(b={transitions:null,markerInstances:null,retryQueue:new Set([Q])},A.updateQueue=b):(A=b.retryQueue,A===null?b.retryQueue=new Set([Q]):A.add(Q)),gn(g,Q,ee)),!1}throw Error(i(435,A.tag))}return gn(g,Q,ee),hn(),!1}if(Nr)return b=bo.current,b!==null?((b.flags&65536)===0&&(b.flags|=256),b.flags|=65536,b.lanes=ee,Q!==vo&&(g=Error(i(422),{cause:Q}),me(X(g,A)))):(Q!==vo&&(b=Error(i(423),{cause:Q}),me(X(b,A))),g=g.current.alternate,g.flags|=65536,ee&=-ee,g.lanes|=ee,Q=X(Q,A),ee=$s(g.stateNode,Q,ee),Fe(g,ee),Rr!==4&&(Rr=2)),!1;var le=Error(i(520),{cause:Q});if(le=X(le,A),Up===null?Up=[le]:Up.push(le),Rr!==4&&(Rr=2),b===null)return!0;Q=X(Q,A),A=b;do{switch(A.tag){case 3:return A.flags|=65536,g=ee&-ee,A.lanes|=g,g=$s(A.stateNode,Q,g),Fe(A,g),!1;case 1:if(b=A.type,le=A.stateNode,(A.flags&128)===0&&(typeof b.getDerivedStateFromError=="function"||le!==null&&typeof le.componentDidCatch=="function"&&(_o===null||!_o.has(le))))return A.flags|=65536,ee&=-ee,A.lanes|=ee,ee=Al(ee),rd(ee,g,A,Q),Fe(A,ee),!1}A=A.return}while(A!==null);return!1}function ni(g,b,A,Q){b.child=g===null?Qg(b,null,A,Q):qs(b,g.child,A,Q)}function q0(g,b,A,Q,ee){A=A.render;var le=b.ref;if("ref"in Q){var De={};for(var Ie in Q)Ie!=="ref"&&(De[Ie]=Q[Ie])}else De=Q;return Rs(b),Q=mr(g,b,A,De,le,ee),Ie=qr(),g!==null&&!Ra?(Du(g,b,ee),ws(g,b,ee)):(Nr&&Ie&&Y(b),b.flags|=1,ni(g,b,Q,ee),b.child)}function V0(g,b,A,Q,ee){if(g===null){var le=A.type;return typeof le=="function"&&!Qn(le)&&le.defaultProps===void 0&&A.compare===null?(b.tag=15,b.type=le,id(g,b,le,Q,ee)):(g=Fl(A.type,null,Q,b,b.mode,ee),g.ref=b.ref,g.return=b,b.child=g)}if(le=g.child,!Cp(g,ee)){var De=le.memoizedProps;if(A=A.compare,A=A!==null?A:In,A(De,Q)&&g.ref===b.ref)return ws(g,b,ee)}return b.flags|=1,g=Ya(le,Q),g.ref=b.ref,g.return=b,b.child=g}function id(g,b,A,Q,ee){if(g!==null){var le=g.memoizedProps;if(In(le,Q)&&g.ref===b.ref)if(Ra=!1,b.pendingProps=Q=le,Cp(g,ee))(g.flags&131072)!==0&&(Ra=!0);else return b.lanes=g.lanes,ws(g,b,ee)}return ca(g,b,A,Q,ee)}function U0(g,b,A){var Q=b.pendingProps,ee=Q.children,le=(b.stateNode._pendingVisibility&2)!==0,De=g!==null?g.memoizedState:null;if(ad(g,b),Q.mode==="hidden"||le){if((b.flags&128)!==0){if(Q=De!==null?De.baseLanes|A:A,g!==null){for(ee=b.child=g.child,le=0;ee!==null;)le=le|ee.lanes|ee.childLanes,ee=ee.sibling;b.childLanes=le&~Q}else b.childLanes=0,b.child=null;return vc(g,b,Q,A)}if((A&536870912)!==0)b.memoizedState={baseLanes:0,cachePool:null},g!==null&&ou(b,De!==null?De.cachePool:null),De!==null?dt(b,De):$t(),Lt(b);else return b.lanes=b.childLanes=536870912,vc(g,b,De!==null?De.baseLanes|A:A,A)}else De!==null?(ou(b,De.cachePool),dt(b,De),Vt(),b.memoizedState=null):(g!==null&&ou(b,null),$t(),Vt());return ni(g,b,ee,A),b.child}function vc(g,b,A,Q){var ee=As();return ee=ee===null?null:{parent:Ka?Yr._currentValue:Yr._currentValue2,pool:ee},b.memoizedState={baseLanes:A,cachePool:ee},g!==null&&ou(b,null),$t(),Lt(b),g!==null&&yc(g,b,Q,!0),null}function ad(g,b){var A=b.ref;if(A===null)g!==null&&g.ref!==null&&(b.flags|=2097664);else{if(typeof A!="function"&&typeof A!="object")throw Error(i(284));(g===null||g.ref!==A)&&(b.flags|=2097664)}}function ca(g,b,A,Q,ee){return Rs(b),A=mr(g,b,A,Q,void 0,ee),Q=qr(),g!==null&&!Ra?(Du(g,b,ee),ws(g,b,ee)):(Nr&&Q&&Y(b),b.flags|=1,ni(g,b,A,ee),b.child)}function ud(g,b,A,Q,ee,le){return Rs(b),b.updateQueue=null,A=_a(b,Q,A,ee),ki(g),Q=qr(),g!==null&&!Ra?(Du(g,b,le),ws(g,b,le)):(Nr&&Q&&Y(b),b.flags|=1,ni(g,b,A,le),b.child)}function Na(g,b,A,Q,ee){if(Rs(b),b.stateNode===null){var le=kc,De=A.contextType;typeof De=="object"&&De!==null&&(le=Ia(De)),le=new A(Q,le),b.memoizedState=le.state!==null&&le.state!==void 0?le.state:null,le.updater=mm,b.stateNode=le,le._reactInternals=b,le=b.stateNode,le.props=Q,le.state=b.memoizedState,le.refs={},gt(b),De=A.contextType,le.context=typeof De=="object"&&De!==null?Ia(De):kc,le.state=b.memoizedState,De=A.getDerivedStateFromProps,typeof De=="function"&&(Ji(b,A,De,Q),le.state=b.memoizedState),typeof A.getDerivedStateFromProps=="function"||typeof le.getSnapshotBeforeUpdate=="function"||typeof le.UNSAFE_componentWillMount!="function"&&typeof le.componentWillMount!="function"||(De=le.state,typeof le.componentWillMount=="function"&&le.componentWillMount(),typeof le.UNSAFE_componentWillMount=="function"&&le.UNSAFE_componentWillMount(),De!==le.state&&mm.enqueueReplaceState(le,le.state,null),Tt(b,Q,le,ee),ht(),le.state=b.memoizedState),typeof le.componentDidMount=="function"&&(b.flags|=4194308),Q=!0}else if(g===null){le=b.stateNode;var Ie=b.memoizedProps,We=Rl(A,Ie);le.props=We;var vt=le.context,kt=A.contextType;De=kc,typeof kt=="object"&&kt!==null&&(De=Ia(kt));var Ht=A.getDerivedStateFromProps;kt=typeof Ht=="function"||typeof le.getSnapshotBeforeUpdate=="function",Ie=b.pendingProps!==Ie,kt||typeof le.UNSAFE_componentWillReceiveProps!="function"&&typeof le.componentWillReceiveProps!="function"||(Ie||vt!==De)&&td(b,le,Q,De),Mc=!1;var Kt=b.memoizedState;le.state=Kt,Tt(b,Q,le,ee),ht(),vt=b.memoizedState,Ie||Kt!==vt||Mc?(typeof Ht=="function"&&(Ji(b,A,Ht,Q),vt=b.memoizedState),(We=Mc||Ds(b,A,We,Q,Kt,vt,De))?(kt||typeof le.UNSAFE_componentWillMount!="function"&&typeof le.componentWillMount!="function"||(typeof le.componentWillMount=="function"&&le.componentWillMount(),typeof le.UNSAFE_componentWillMount=="function"&&le.UNSAFE_componentWillMount()),typeof le.componentDidMount=="function"&&(b.flags|=4194308)):(typeof le.componentDidMount=="function"&&(b.flags|=4194308),b.memoizedProps=Q,b.memoizedState=vt),le.props=Q,le.state=vt,le.context=De,Q=We):(typeof le.componentDidMount=="function"&&(b.flags|=4194308),Q=!1)}else{le=b.stateNode,qt(g,b),De=b.memoizedProps,kt=Rl(A,De),le.props=kt,Ht=b.pendingProps,Kt=le.context,vt=A.contextType,We=kc,typeof vt=="object"&&vt!==null&&(We=Ia(vt)),Ie=A.getDerivedStateFromProps,(vt=typeof Ie=="function"||typeof le.getSnapshotBeforeUpdate=="function")||typeof le.UNSAFE_componentWillReceiveProps!="function"&&typeof le.componentWillReceiveProps!="function"||(De!==Ht||Kt!==We)&&td(b,le,Q,We),Mc=!1,Kt=b.memoizedState,le.state=Kt,Tt(b,Q,le,ee),ht();var Zn=b.memoizedState;De!==Ht||Kt!==Zn||Mc||g!==null&&g.dependencies!==null&&zo(g.dependencies)?(typeof Ie=="function"&&(Ji(b,A,Ie,Q),Zn=b.memoizedState),(kt=Mc||Ds(b,A,kt,Q,Kt,Zn,We)||g!==null&&g.dependencies!==null&&zo(g.dependencies))?(vt||typeof le.UNSAFE_componentWillUpdate!="function"&&typeof le.componentWillUpdate!="function"||(typeof le.componentWillUpdate=="function"&&le.componentWillUpdate(Q,Zn,We),typeof le.UNSAFE_componentWillUpdate=="function"&&le.UNSAFE_componentWillUpdate(Q,Zn,We)),typeof le.componentDidUpdate=="function"&&(b.flags|=4),typeof le.getSnapshotBeforeUpdate=="function"&&(b.flags|=1024)):(typeof le.componentDidUpdate!="function"||De===g.memoizedProps&&Kt===g.memoizedState||(b.flags|=4),typeof le.getSnapshotBeforeUpdate!="function"||De===g.memoizedProps&&Kt===g.memoizedState||(b.flags|=1024),b.memoizedProps=Q,b.memoizedState=Zn),le.props=Q,le.state=Zn,le.context=We,Q=kt):(typeof le.componentDidUpdate!="function"||De===g.memoizedProps&&Kt===g.memoizedState||(b.flags|=4),typeof le.getSnapshotBeforeUpdate!="function"||De===g.memoizedProps&&Kt===g.memoizedState||(b.flags|=1024),Q=!1)}return le=Q,ad(g,b),Q=(b.flags&128)!==0,le||Q?(le=b.stateNode,A=Q&&typeof A.getDerivedStateFromError!="function"?null:le.render(),b.flags|=1,g!==null&&Q?(b.child=qs(b,g.child,null,ee),b.child=qs(b,null,A,ee)):ni(g,b,A,ee),b.memoizedState=le.state,g=b.child):g=ws(g,b,ee),g}function hg(g,b,A,Q){return se(),b.flags|=256,ni(g,b,A,Q),b.child}function _p(g){return{baseLanes:g,cachePool:wp()}}function Bo(g,b,A){return g=g!==null?g.childLanes&~A:0,b&&(g|=jl),g}function fh(g,b,A){var Q=b.pendingProps,ee=!1,le=(b.flags&128)!==0,De;if((De=le)||(De=g!==null&&g.memoizedState===null?!1:(Ba.current&2)!==0),De&&(ee=!0,b.flags&=-129),De=(b.flags&32)!==0,b.flags&=-33,g===null){if(Nr){if(ee?Zt(b):Vt(),Nr){var Ie=yu,We;(We=Ie)&&(Ie=Ry(Ie,es),Ie!==null?(b.memoizedState={dehydrated:Ie,treeContext:Bs!==null?{id:Jo,overflow:mo}:null,retryLane:536870912},We=n(18,null,null,0),We.stateNode=Ie,We.return=b,b.child=We,rl=b,yu=null,We=!0):We=!1),We||be(b)}if(Ie=b.memoizedState,Ie!==null&&(Ie=Ie.dehydrated,Ie!==null))return Sd(Ie)?b.lanes=16:b.lanes=536870912,null;en(b)}return Ie=Q.children,Q=Q.fallback,ee?(Vt(),ee=b.mode,Ie=gi({mode:"hidden",children:Ie},ee),Q=ku(Q,ee,A,null),Ie.return=b,Q.return=b,Ie.sibling=Q,b.child=Ie,ee=b.child,ee.memoizedState=_p(A),ee.childLanes=Bo(g,De,A),b.memoizedState=al,Q):(Zt(b),Cs(b,Ie))}if(We=g.memoizedState,We!==null&&(Ie=We.dehydrated,Ie!==null)){if(le)b.flags&256?(Zt(b),b.flags&=-257,b=Qo(g,b,A)):b.memoizedState!==null?(Vt(),b.child=g.child,b.flags|=128,b=null):(Vt(),ee=Q.fallback,Ie=b.mode,Q=gi({mode:"visible",children:Q.children},Ie),ee=ku(ee,Ie,A,null),ee.flags|=2,Q.return=b,ee.return=b,Q.sibling=ee,b.child=Q,qs(b,g.child,null,A),Q=b.child,Q.memoizedState=_p(A),Q.childLanes=Bo(g,De,A),b.memoizedState=al,b=ee);else if(Zt(b),Sd(Ie))De=wg(Ie).digest,Q=Error(i(419)),Q.stack="",Q.digest=De,me({value:Q,source:null,stack:null}),b=Qo(g,b,A);else if(Ra||yc(g,b,A,!1),De=(A&g.childLanes)!==0,Ra||De){if(De=fr,De!==null){if(Q=A&-A,(Q&42)!==0)Q=1;else switch(Q){case 2:Q=1;break;case 8:Q=4;break;case 32:Q=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:Q=64;break;case 268435456:Q=134217728;break;default:Q=0}if(Q=(Q&(De.suspendedLanes|A))!==0?0:Q,Q!==0&&Q!==We.retryLane)throw We.retryLane=Q,Re(g,Q),du(De,g,Q),Mb}Cg(Ie)||hn(),b=Qo(g,b,A)}else Cg(Ie)?(b.flags|=128,b.child=g.child,b=xe.bind(null,g),$b(Ie,b),b=null):(g=We.treeContext,$a&&(yu=rm(Ie),rl=b,Nr=!0,go=null,es=!1,g!==null&&(yl[eu++]=Jo,yl[eu++]=mo,yl[eu++]=Bs,Jo=g.id,mo=g.overflow,Bs=b)),b=Cs(b,Q.children),b.flags|=4096);return b}return ee?(Vt(),ee=Q.fallback,Ie=b.mode,We=g.child,le=We.sibling,Q=Ya(We,{mode:"hidden",children:Q.children}),Q.subtreeFlags=We.subtreeFlags&31457280,le!==null?ee=Ya(le,ee):(ee=ku(ee,Ie,A,null),ee.flags|=2),ee.return=b,Q.return=b,Q.sibling=ee,b.child=Q,Q=ee,ee=b.child,Ie=g.child.memoizedState,Ie===null?Ie=_p(A):(We=Ie.cachePool,We!==null?(le=Ka?Yr._currentValue:Yr._currentValue2,We=We.parent!==le?{parent:le,pool:le}:We):We=wp(),Ie={baseLanes:Ie.baseLanes|A,cachePool:We}),ee.memoizedState=Ie,ee.childLanes=Bo(g,De,A),b.memoizedState=al,Q):(Zt(b),A=g.child,g=A.sibling,A=Ya(A,{mode:"visible",children:Q.children}),A.return=b,A.sibling=null,g!==null&&(De=b.deletions,De===null?(b.deletions=[g],b.flags|=16):De.push(g)),b.child=A,b.memoizedState=null,A)}function Cs(g,b){return b=gi({mode:"visible",children:b},g.mode),b.return=g,g.child=b}function gi(g,b){return Dc(g,b,0,null)}function Qo(g,b,A){return qs(b,g.child,null,A),g=Cs(b,b.pendingProps.children),g.flags|=2,b.memoizedState=null,g}function Ep(g,b,A){g.lanes|=b;var Q=g.alternate;Q!==null&&(Q.lanes|=b),Z0(g.return,b,A)}function Dp(g,b,A,Q,ee){var le=g.memoizedState;le===null?g.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:Q,tail:A,tailMode:ee}:(le.isBackwards=b,le.rendering=null,le.renderingStartTime=0,le.last=Q,le.tail=A,le.tailMode=ee)}function $p(g,b,A){var Q=b.pendingProps,ee=Q.revealOrder,le=Q.tail;if(ni(g,b,Q.children,A),Q=Ba.current,(Q&2)!==0)Q=Q&1|2,b.flags|=128;else{if(g!==null&&(g.flags&128)!==0)e:for(g=b.child;g!==null;){if(g.tag===13)g.memoizedState!==null&&Ep(g,A,b);else if(g.tag===19)Ep(g,A,b);else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===b)break e;for(;g.sibling===null;){if(g.return===null||g.return===b)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}Q&=1}switch(E(Ba,Q),ee){case"forwards":for(A=b.child,ee=null;A!==null;)g=A.alternate,g!==null&&tn(g)===null&&(ee=A),A=A.sibling;A=ee,A===null?(ee=b.child,b.child=null):(ee=A.sibling,A.sibling=null),Dp(b,!1,ee,A,le);break;case"backwards":for(A=null,ee=b.child,b.child=null;ee!==null;){if(g=ee.alternate,g!==null&&tn(g)===null){b.child=ee;break}g=ee.sibling,ee.sibling=A,A=ee,ee=g}Dp(b,!0,A,null,le);break;case"together":Dp(b,!1,null,null,void 0);break;default:b.memoizedState=null}return b.child}function ws(g,b,A){if(g!==null&&(b.dependencies=g.dependencies),xo|=b.lanes,(A&b.childLanes)===0)if(g!==null){if(yc(g,b,A,!1),(A&b.childLanes)===0)return null}else return null;if(g!==null&&b.child!==g.child)throw Error(i(153));if(b.child!==null){for(g=b.child,A=Ya(g,g.pendingProps),b.child=A,A.return=b;g.sibling!==null;)g=g.sibling,A=A.sibling=Ya(g,g.pendingProps),A.return=b;A.sibling=null}return b.child}function Cp(g,b){return(g.lanes&b)!==0?!0:(g=g.dependencies,!!(g!==null&&zo(g)))}function dy(g,b,A){switch(b.tag){case 3:ne(b,b.stateNode.containerInfo),ao(b,Yr,g.memoizedState.cache),se();break;case 27:case 5:ae(b);break;case 4:ne(b,b.stateNode.containerInfo);break;case 10:ao(b,b.type,b.memoizedProps.value);break;case 13:var Q=b.memoizedState;if(Q!==null)return Q.dehydrated!==null?(Zt(b),b.flags|=128,null):(A&b.child.childLanes)!==0?fh(g,b,A):(Zt(b),g=ws(g,b,A),g!==null?g.sibling:null);Zt(b);break;case 19:var ee=(g.flags&128)!==0;if(Q=(A&b.childLanes)!==0,Q||(yc(g,b,A,!1),Q=(A&b.childLanes)!==0),ee){if(Q)return $p(g,b,A);b.flags|=128}if(ee=b.memoizedState,ee!==null&&(ee.rendering=null,ee.tail=null,ee.lastEffect=null),E(Ba,Ba.current),Q)break;return null;case 22:case 23:return b.lanes=0,U0(g,b,A);case 24:ao(b,Yr,g.memoizedState.cache)}return ws(g,b,A)}function j0(g,b,A){if(g!==null)if(g.memoizedProps!==b.pendingProps)Ra=!0;else{if(!Cp(g,A)&&(b.flags&128)===0)return Ra=!1,dy(g,b,A);Ra=(g.flags&131072)!==0}else Ra=!1,Nr&&(b.flags&1048576)!==0&&K(b,Cd,b.index);switch(b.lanes=0,b.tag){case 16:e:{g=b.pendingProps;var Q=b.elementType,ee=Q._init;if(Q=ee(Q._payload),b.type=Q,typeof Q=="function")Qn(Q)?(g=Rl(Q,g),b.tag=1,b=Na(null,b,Q,g,A)):(b.tag=0,b=ca(null,b,Q,g,A));else{if(Q!=null){if(ee=Q.$$typeof,ee===kp){b.tag=11,b=q0(null,b,Q,g,A);break e}else if(ee===Pp){b.tag=14,b=V0(null,b,Q,g,A);break e}}throw b=u(Q)||Q,Error(i(306,b,""))}}return b;case 0:return ca(g,b,b.type,b.pendingProps,A);case 1:return Q=b.type,ee=Rl(Q,b.pendingProps),Na(g,b,Q,ee,A);case 3:e:{if(ne(b,b.stateNode.containerInfo),g===null)throw Error(i(387));var le=b.pendingProps;ee=b.memoizedState,Q=ee.element,qt(g,b),Tt(b,le,null,A);var De=b.memoizedState;if(le=De.cache,ao(b,Yr,le),le!==ee.cache&&dh(b,[Yr],A,!0),ht(),le=De.element,$a&&ee.isDehydrated)if(ee={element:le,isDehydrated:!1,cache:De.cache},b.updateQueue.baseState=ee,b.memoizedState=ee,b.flags&256){b=hg(g,b,le,A);break e}else if(le!==Q){Q=X(Error(i(424)),b),me(Q),b=hg(g,b,le,A);break e}else for($a&&(yu=Cy(b.stateNode.containerInfo),rl=b,Nr=!0,go=null,es=!0),A=Qg(b,null,le,A),b.child=A;A;)A.flags=A.flags&-3|4096,A=A.sibling;else{if(se(),le===Q){b=ws(g,b,A);break e}ni(g,b,le,A)}b=b.child}return b;case 26:if(Ql)return ad(g,b),g===null?(A=um(b.type,null,b.pendingProps,null))?b.memoizedState=A:Nr||(b.stateNode=Mg(b.type,b.pendingProps,Qs.current,b)):b.memoizedState=um(b.type,g.memoizedProps,b.pendingProps,g.memoizedState),null;case 27:if(vu)return ae(b),g===null&&vu&&Nr&&(Q=b.stateNode=_d(b.type,b.pendingProps,Qs.current,Fr.current,!1),rl=b,es=!0,yu=Bp(Q)),Q=b.pendingProps.children,g!==null||Nr?ni(g,b,Q,A):b.child=qs(b,null,Q,A),ad(g,b),b.child;case 5:return g===null&&Nr&&(Rb(b.type,b.pendingProps,Fr.current),(ee=Q=yu)&&(Q=wy(Q,b.type,b.pendingProps,es),Q!==null?(b.stateNode=Q,rl=b,yu=Bp(Q),es=!1,ee=!0):ee=!1),ee||be(b)),ae(b),ee=b.type,le=b.pendingProps,De=g!==null?g.memoizedProps:null,Q=le.children,yd(ee,le)?Q=null:De!==null&&yd(ee,De)&&(b.flags|=32),b.memoizedState!==null&&(ee=mr(g,b,pi,null,null,A),Ka?An._currentValue=ee:An._currentValue2=ee),ad(g,b),ni(g,b,Q,A),b.child;case 6:return g===null&&Nr&&(Ab(b.pendingProps,Fr.current),(g=A=yu)&&(A=Rg(A,b.pendingProps,es),A!==null?(b.stateNode=A,rl=b,yu=null,g=!0):g=!1),g||be(b)),null;case 13:return fh(g,b,A);case 4:return ne(b,b.stateNode.containerInfo),Q=b.pendingProps,g===null?b.child=qs(b,null,Q,A):ni(g,b,Q,A),b.child;case 11:return q0(g,b,b.type,b.pendingProps,A);case 7:return ni(g,b,b.pendingProps,A),b.child;case 8:return ni(g,b,b.pendingProps.children,A),b.child;case 12:return ni(g,b,b.pendingProps.children,A),b.child;case 10:return Q=b.pendingProps,ao(b,b.type,Q.value),ni(g,b,Q.children,A),b.child;case 9:return ee=b.type._context,Q=b.pendingProps.children,Rs(b),ee=Ia(ee),Q=Q(ee),b.flags|=1,ni(g,b,Q,A),b.child;case 14:return V0(g,b,b.type,b.pendingProps,A);case 15:return id(g,b,b.type,b.pendingProps,A);case 19:return $p(g,b,A);case 22:return U0(g,b,A);case 24:return Rs(b),Q=Ia(Yr),g===null?(ee=As(),ee===null&&(ee=fr,le=ld(),ee.pooledCache=le,le.refCount++,le!==null&&(ee.pooledCacheLanes|=A),ee=le),b.memoizedState={parent:Q,cache:ee},gt(b),ao(b,Yr,ee)):((g.lanes&A)!==0&&(qt(g,b),Tt(b,null,null,A),ht()),ee=g.memoizedState,le=b.memoizedState,ee.parent!==Q?(ee={parent:Q,cache:Q},b.memoizedState=ee,b.lanes===0&&(b.memoizedState=b.updateQueue.baseState=ee),ao(b,Yr,Q)):(Q=le.cache,ao(b,Yr,Q),Q!==ee.cache&&dh(b,[Yr],A,!0))),ni(g,b,b.pendingProps.children,A),b.child;case 29:throw b.pendingProps}throw Error(i(156,b.tag))}function ao(g,b,A){Ka?(E(Vl,b._currentValue),b._currentValue=A):(E(Vl,b._currentValue2),b._currentValue2=A)}function ju(g){var b=Vl.current;Ka?g._currentValue=b:g._currentValue2=b,x(Vl)}function Z0(g,b,A){for(;g!==null;){var Q=g.alternate;if((g.childLanes&b)!==b?(g.childLanes|=b,Q!==null&&(Q.childLanes|=b)):Q!==null&&(Q.childLanes&b)!==b&&(Q.childLanes|=b),g===A)break;g=g.return}}function dh(g,b,A,Q){var ee=g.child;for(ee!==null&&(ee.return=g);ee!==null;){var le=ee.dependencies;if(le!==null){var De=ee.child;le=le.firstContext;e:for(;le!==null;){var Ie=le;le=ee;for(var We=0;We<b.length;We++)if(Ie.context===b[We]){le.lanes|=A,Ie=le.alternate,Ie!==null&&(Ie.lanes|=A),Z0(le.return,A,g),Q||(De=null);break e}le=Ie.next}}else if(ee.tag===18){if(De=ee.return,De===null)throw Error(i(341));De.lanes|=A,le=De.alternate,le!==null&&(le.lanes|=A),Z0(De,A,g),De=null}else De=ee.child;if(De!==null)De.return=ee;else for(De=ee;De!==null;){if(De===g){De=null;break}if(ee=De.sibling,ee!==null){ee.return=De.return,De=ee;break}De=De.return}ee=De}}function yc(g,b,A,Q){g=null;for(var ee=b,le=!1;ee!==null;){if(!le){if((ee.flags&524288)!==0)le=!0;else if((ee.flags&262144)!==0)break}if(ee.tag===10){var De=ee.alternate;if(De===null)throw Error(i(387));if(De=De.memoizedProps,De!==null){var Ie=ee.type;vl(ee.pendingProps.value,De.value)||(g!==null?g.push(Ie):g=[Ie])}}else if(ee===Rh.current){if(De=ee.alternate,De===null)throw Error(i(387));De.memoizedState.memoizedState!==ee.memoizedState.memoizedState&&(g!==null?g.push(An):g=[An])}ee=ee.return}g!==null&&dh(b,g,A,Q),b.flags|=262144}function zo(g){for(g=g.firstContext;g!==null;){var b=g.context;if(!vl(Ka?b._currentValue:b._currentValue2,g.memoizedValue))return!0;g=g.next}return!1}function Rs(g){kd=g,Ir=null,g=g.dependencies,g!==null&&(g.firstContext=null)}function Ia(g){return ph(kd,g)}function hh(g,b){return kd===null&&Rs(g),ph(g,b)}function ph(g,b){var A=Ka?b._currentValue:b._currentValue2;if(b={context:b,memoizedValue:A,next:null},Ir===null){if(g===null)throw Error(i(308));Ir=b,g.dependencies={lanes:0,firstContext:b},g.flags|=524288}else Ir=Ir.next=b;return A}function ld(){return{controller:new Fb,data:new Map,refCount:0}}function od(g){g.refCount--,g.refCount===0&&Cf(kh,function(){g.controller.abort()})}function As(){var g=wf.current;return g!==null?g:fr.pooledCache}function ou(g,b){b===null?E(wf,wf.current):E(wf,b.pool)}function wp(){var g=As();return g===null?null:{parent:Ka?Yr._currentValue:Yr._currentValue2,pool:g}}function Za(g){g.flags|=4}function Rp(g,b){if(g!==null&&g.child===b.child)return!1;if((b.flags&16)!==0)return!0;for(g=b.child;g!==null;){if((g.flags&13878)!==0||(g.subtreeFlags&13878)!==0)return!0;g=g.sibling}return!1}function sd(g,b,A,Q){if(Wa)for(A=b.child;A!==null;){if(A.tag===5||A.tag===6)wc(g,A.stateNode);else if(!(A.tag===4||vu&&A.tag===27)&&A.child!==null){A.child.return=A,A=A.child;continue}if(A===b)break;for(;A.sibling===null;){if(A.return===null||A.return===b)return;A=A.return}A.sibling.return=A.return,A=A.sibling}else if(Wu)for(var ee=b.child;ee!==null;){if(ee.tag===5){var le=ee.stateNode;A&&Q&&(le=Dy(le,ee.type,ee.memoizedProps)),wc(g,le)}else if(ee.tag===6)le=ee.stateNode,A&&Q&&(le=Ll(le,ee.memoizedProps)),wc(g,le);else if(ee.tag!==4){if(ee.tag===22&&ee.memoizedState!==null)le=ee.child,le!==null&&(le.return=ee),sd(g,ee,!0,!0);else if(ee.child!==null){ee.child.return=ee,ee=ee.child;continue}}if(ee===b)break;for(;ee.sibling===null;){if(ee.return===null||ee.return===b)return;ee=ee.return}ee.sibling.return=ee.return,ee=ee.sibling}}function gf(g,b,A,Q){if(Wu)for(var ee=b.child;ee!==null;){if(ee.tag===5){var le=ee.stateNode;A&&Q&&(le=Dy(le,ee.type,ee.memoizedProps)),Eh(g,le)}else if(ee.tag===6)le=ee.stateNode,A&&Q&&(le=Ll(le,ee.memoizedProps)),Eh(g,le);else if(ee.tag!==4){if(ee.tag===22&&ee.memoizedState!==null)le=ee.child,le!==null&&(le.return=ee),gf(g,ee,!(ee.memoizedProps!==null&&ee.memoizedProps.mode==="manual"),!0);else if(ee.child!==null){ee.child.return=ee,ee=ee.child;continue}}if(ee===b)break;for(;ee.sibling===null;){if(ee.return===null||ee.return===b)return;ee=ee.return}ee.sibling.return=ee.return,ee=ee.sibling}}function cd(g,b){if(Wu&&Rp(g,b)){g=b.stateNode;var A=g.containerInfo,Q=$g();gf(Q,b,!1,!1),g.pendingChildren=Q,Za(b),_y(A,Q)}}function Zu(g,b,A,Q){if(Wa)g.memoizedProps!==Q&&Za(b);else if(Wu){var ee=g.stateNode,le=g.memoizedProps;if((g=Rp(g,b))||le!==Q){var De=Fr.current;le=xy(ee,A,le,Q,!g,null),le===ee?b.stateNode=ee:(Yo(le,A,Q,De)&&Za(b),b.stateNode=le,g?sd(le,b,!1,!1):Za(b))}else b.stateNode=ee}}function uo(g,b,A){if(Db(b,A)){if(g.flags|=16777216,!ho(b,A))if(Fi())g.flags|=8192;else throw Df=Ad,Bg}else g.flags&=-16777217}function H0(g,b){if(My(b)){if(g.flags|=16777216,!Fg(b))if(Fi())g.flags|=8192;else throw Df=Ad,Bg}else g.flags&=-16777217}function su(g,b){b!==null&&(g.flags|=4),g.flags&16384&&(b=g.tag!==22?z():536870912,g.lanes|=b,Ic|=b)}function vf(g,b){if(!Nr)switch(g.tailMode){case"hidden":b=g.tail;for(var A=null;b!==null;)b.alternate!==null&&(A=b),b=b.sibling;A===null?g.tail=null:A.sibling=null;break;case"collapsed":A=g.tail;for(var Q=null;A!==null;)A.alternate!==null&&(Q=A),A=A.sibling;Q===null?b||g.tail===null?g.tail=null:g.tail.sibling=null:Q.sibling=null}}function Sr(g){var b=g.alternate!==null&&g.alternate.child===g.child,A=0,Q=0;if(b)for(var ee=g.child;ee!==null;)A|=ee.lanes|ee.childLanes,Q|=ee.subtreeFlags&31457280,Q|=ee.flags&31457280,ee.return=g,ee=ee.sibling;else for(ee=g.child;ee!==null;)A|=ee.lanes|ee.childLanes,Q|=ee.subtreeFlags,Q|=ee.flags,ee.return=g,ee=ee.sibling;return g.subtreeFlags|=Q,g.childLanes=A,b}function mh(g,b,A){var Q=b.pendingProps;switch(B(b),b.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Sr(b),null;case 1:return Sr(b),null;case 3:return A=b.stateNode,Q=null,g!==null&&(Q=g.memoizedState.cache),b.memoizedState.cache!==Q&&(b.flags|=2048),ju(Yr),oe(),A.pendingContext&&(A.context=A.pendingContext,A.pendingContext=null),(g===null||g.child===null)&&(_e(b)?Za(b):g===null||g.memoizedState.isDehydrated&&(b.flags&256)===0||(b.flags|=1024,go!==null&&(kl(go),go=null))),cd(g,b),Sr(b),null;case 26:if(Ql){A=b.type;var ee=b.memoizedState;return g===null?(Za(b),ee!==null?(Sr(b),H0(b,ee)):(Sr(b),uo(b,A,Q))):ee?ee!==g.memoizedState?(Za(b),Sr(b),H0(b,ee)):(Sr(b),b.flags&=-16777217):(Wa?g.memoizedProps!==Q&&Za(b):Zu(g,b,A,Q),Sr(b),uo(b,A,Q)),null}case 27:if(vu){if(de(b),A=Qs.current,ee=b.type,g!==null&&b.stateNode!=null)Wa?g.memoizedProps!==Q&&Za(b):Zu(g,b,ee,Q);else{if(!Q){if(b.stateNode===null)throw Error(i(166));return Sr(b),null}g=Fr.current,_e(b)?ye(b,g):(g=_d(ee,Q,A,g,!0),b.stateNode=g,Za(b))}return Sr(b),null}case 5:if(de(b),A=b.type,g!==null&&b.stateNode!=null)Zu(g,b,A,Q);else{if(!Q){if(b.stateNode===null)throw Error(i(166));return Sr(b),null}g=Fr.current,_e(b)?ye(b,g):(ee=yg(A,Q,Qs.current,g,b),sd(ee,b,!1,!1),b.stateNode=ee,Yo(ee,A,Q,g)&&Za(b))}return Sr(b),uo(b,b.type,b.pendingProps),null;case 6:if(g&&b.stateNode!=null)A=g.memoizedProps,Wa?A!==Q&&Za(b):Wu&&(A!==Q?(b.stateNode=J0(Q,Qs.current,Fr.current,b),Za(b)):b.stateNode=g.stateNode);else{if(typeof Q!="string"&&b.stateNode===null)throw Error(i(166));if(g=Qs.current,A=Fr.current,_e(b)){if(!$a)throw Error(i(176));if(g=b.stateNode,A=b.memoizedProps,Q=null,ee=rl,ee!==null)switch(ee.tag){case 27:case 5:Q=ee.memoizedProps}Ag(g,A,b,Q)||be(b)}else b.stateNode=J0(Q,g,A,b)}return Sr(b),null;case 13:if(Q=b.memoizedState,g===null||g.memoizedState!==null&&g.memoizedState.dehydrated!==null){if(ee=_e(b),Q!==null&&Q.dehydrated!==null){if(g===null){if(!ee)throw Error(i(318));if(!$a)throw Error(i(344));if(ee=b.memoizedState,ee=ee!==null?ee.dehydrated:null,!ee)throw Error(i(317));po(ee,b)}else se(),(b.flags&128)===0&&(b.memoizedState=null),b.flags|=4;Sr(b),ee=!1}else go!==null&&(kl(go),go=null),ee=!0;if(!ee)return b.flags&256?(en(b),b):(en(b),null)}if(en(b),(b.flags&128)!==0)return b.lanes=A,b;if(A=Q!==null,g=g!==null&&g.memoizedState!==null,A){Q=b.child,ee=null,Q.alternate!==null&&Q.alternate.memoizedState!==null&&Q.alternate.memoizedState.cachePool!==null&&(ee=Q.alternate.memoizedState.cachePool.pool);var le=null;Q.memoizedState!==null&&Q.memoizedState.cachePool!==null&&(le=Q.memoizedState.cachePool.pool),le!==ee&&(Q.flags|=2048)}return A!==g&&A&&(b.child.flags|=8192),su(b,b.updateQueue),Sr(b),null;case 4:return oe(),cd(g,b),g===null&&Mu(b.stateNode.containerInfo),Sr(b),null;case 10:return ju(b.type),Sr(b),null;case 19:if(x(Ba),ee=b.memoizedState,ee===null)return Sr(b),null;if(Q=(b.flags&128)!==0,le=ee.rendering,le===null)if(Q)vf(ee,!1);else{if(Rr!==0||g!==null&&(g.flags&128)!==0)for(g=b.child;g!==null;){if(le=tn(g),le!==null){for(b.flags|=128,vf(ee,!1),g=le.updateQueue,b.updateQueue=g,su(b,g),b.subtreeFlags=0,g=A,A=b.child;A!==null;)ks(A,g),A=A.sibling;return E(Ba,Ba.current&1|2),b.child}g=g.sibling}ee.tail!==null&&zi()>ia&&(b.flags|=128,Q=!0,vf(ee,!1),b.lanes=4194304)}else{if(!Q)if(g=tn(le),g!==null){if(b.flags|=128,Q=!0,g=g.updateQueue,b.updateQueue=g,su(b,g),vf(ee,!0),ee.tail===null&&ee.tailMode==="hidden"&&!le.alternate&&!Nr)return Sr(b),null}else 2*zi()-ee.renderingStartTime>ia&&A!==536870912&&(b.flags|=128,Q=!0,vf(ee,!1),b.lanes=4194304);ee.isBackwards?(le.sibling=b.child,b.child=le):(g=ee.last,g!==null?g.sibling=le:b.child=le,ee.last=le)}return ee.tail!==null?(b=ee.tail,ee.rendering=b,ee.tail=b.sibling,ee.renderingStartTime=zi(),b.sibling=null,g=Ba.current,E(Ba,Q?g&1|2:g&1),b):(Sr(b),null);case 22:case 23:return en(b),Ut(),Q=b.memoizedState!==null,g!==null?g.memoizedState!==null!==Q&&(b.flags|=8192):Q&&(b.flags|=8192),Q?(A&536870912)!==0&&(b.flags&128)===0&&(Sr(b),b.subtreeFlags&6&&(b.flags|=8192)):Sr(b),A=b.updateQueue,A!==null&&su(b,A.retryQueue),A=null,g!==null&&g.memoizedState!==null&&g.memoizedState.cachePool!==null&&(A=g.memoizedState.cachePool.pool),Q=null,b.memoizedState!==null&&b.memoizedState.cachePool!==null&&(Q=b.memoizedState.cachePool.pool),Q!==A&&(b.flags|=2048),g!==null&&x(wf),null;case 24:return A=null,g!==null&&(A=g.memoizedState.cache),b.memoizedState.cache!==A&&(b.flags|=2048),ju(Yr),Sr(b),null;case 25:return null}throw Error(i(156,b.tag))}function Ap(g,b){switch(B(b),b.tag){case 1:return g=b.flags,g&65536?(b.flags=g&-65537|128,b):null;case 3:return ju(Yr),oe(),g=b.flags,(g&65536)!==0&&(g&128)===0?(b.flags=g&-65537|128,b):null;case 26:case 27:case 5:return de(b),null;case 13:if(en(b),g=b.memoizedState,g!==null&&g.dehydrated!==null){if(b.alternate===null)throw Error(i(340));se()}return g=b.flags,g&65536?(b.flags=g&-65537|128,b):null;case 19:return x(Ba),null;case 4:return oe(),null;case 10:return ju(b.type),null;case 22:case 23:return en(b),Ut(),g!==null&&x(wf),g=b.flags,g&65536?(b.flags=g&-65537|128,b):null;case 24:return ju(Yr),null;case 25:return null;default:return null}}function lo(g,b){switch(B(b),b.tag){case 3:ju(Yr),oe();break;case 26:case 27:case 5:de(b);break;case 4:oe();break;case 13:en(b);break;case 19:x(Ba);break;case 10:ju(b.type);break;case 22:case 23:en(b),Ut(),g!==null&&x(wf);break;case 24:ju(Yr)}}function Gn(g,b){try{var A=b.updateQueue,Q=A!==null?A.lastEffect:null;if(Q!==null){var ee=Q.next;A=ee;do{if((A.tag&g)===g){Q=void 0;var le=A.create,De=A.inst;Q=le(),De.destroy=Q}A=A.next}while(A!==ee)}}catch(Ie){sn(b,b.return,Ie)}}function ml(g,b,A){try{var Q=b.updateQueue,ee=Q!==null?Q.lastEffect:null;if(ee!==null){var le=ee.next;Q=le;do{if((Q.tag&g)===g){var De=Q.inst,Ie=De.destroy;if(Ie!==void 0){De.destroy=void 0,ee=b;var We=A;try{Ie()}catch(vt){sn(ee,We,vt)}}}Q=Q.next}while(Q!==le)}}catch(vt){sn(b,b.return,vt)}}function pg(g){var b=g.updateQueue;if(b!==null){var A=g.stateNode;try{an(b,A)}catch(Q){sn(g,g.return,Q)}}}function Pi(g,b,A){A.props=Rl(g.type,g.memoizedProps),A.state=g.memoizedState;try{A.componentWillUnmount()}catch(Q){sn(g,b,Q)}}function cu(g,b){try{var A=g.ref;if(A!==null){var Q=g.stateNode;switch(g.tag){case 26:case 27:case 5:var ee=Fp(Q);break;default:ee=Q}typeof A=="function"?g.refCleanup=A(ee):A.current=ee}}catch(le){sn(g,b,le)}}function cr(g,b){var A=g.ref,Q=g.refCleanup;if(A!==null)if(typeof Q=="function")try{Q()}catch(ee){sn(g,b,ee)}finally{g.refCleanup=null,g=g.alternate,g!=null&&(g.refCleanup=null)}else if(typeof A=="function")try{A(null)}catch(ee){sn(g,b,ee)}else A.current=null}function yf(g){var b=g.type,A=g.memoizedProps,Q=g.stateNode;try{i4(Q,b,A,g)}catch(ee){sn(g,g.return,ee)}}function X0(g,b,A){try{Eg(g.stateNode,g.type,A,b,g)}catch(Q){sn(g,g.return,Q)}}function Y0(g){return g.tag===5||g.tag===3||(Ql?g.tag===26:!1)||(vu?g.tag===27:!1)||g.tag===4}function gr(g){e:for(;;){for(;g.sibling===null;){if(g.return===null||Y0(g.return))return null;g=g.return}for(g.sibling.return=g.return,g=g.sibling;g.tag!==5&&g.tag!==6&&(!vu||g.tag!==27)&&g.tag!==18;){if(g.flags&2||g.child===null||g.tag===4)continue e;g.child.return=g,g=g.child}if(!(g.flags&2))return g.stateNode}}function G0(g,b,A){var Q=g.tag;if(Q===5||Q===6)g=g.stateNode,b?Oy(A,g,b):by(A,g);else if(!(Q===4||vu&&Q===27)&&(g=g.child,g!==null))for(G0(g,b,A),g=g.sibling;g!==null;)G0(g,b,A),g=g.sibling}function bf(g,b,A){var Q=g.tag;if(Q===5||Q===6)g=g.stateNode,b?Dg(A,g,b):_g(A,g);else if(!(Q===4||vu&&Q===27)&&(g=g.child,g!==null))for(bf(g,b,A),g=g.sibling;g!==null;)bf(g,b,A),g=g.sibling}function bc(g,b,A){g=g.containerInfo;try{Ey(g,A)}catch(Q){sn(b,b.return,Q)}}function Xe(g,b){for(Xo(g.containerInfo),ma=b;ma!==null;)if(g=ma,b=g.child,(g.subtreeFlags&1028)!==0&&b!==null)b.return=g,ma=b;else for(;ma!==null;){g=ma;var A=g.alternate;switch(b=g.flags,g.tag){case 0:break;case 11:case 15:break;case 1:if((b&1024)!==0&&A!==null){b=void 0;var Q=g,ee=A.memoizedProps;A=A.memoizedState;var le=Q.stateNode;try{var De=Rl(Q.type,ee,Q.elementType===Q.type);b=le.getSnapshotBeforeUpdate(De,A),le.__reactInternalSnapshotBeforeUpdate=b}catch(Ie){sn(Q,Q.return,Ie)}}break;case 3:(b&1024)!==0&&Wa&&Wn(g.stateNode.containerInfo);break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((b&1024)!==0)throw Error(i(163))}if(b=g.sibling,b!==null){b.return=g.return,ma=b;break}ma=g.return}return De=Ph,Ph=!1,De}function pt(g,b,A){var Q=A.flags;switch(A.tag){case 0:case 11:case 15:Tl(g,A),Q&4&&Gn(5,A);break;case 1:if(Tl(g,A),Q&4)if(g=A.stateNode,b===null)try{g.componentDidMount()}catch(Ie){sn(A,A.return,Ie)}else{var ee=Rl(A.type,b.memoizedProps);b=b.memoizedState;try{g.componentDidUpdate(ee,b,g.__reactInternalSnapshotBeforeUpdate)}catch(Ie){sn(A,A.return,Ie)}}Q&64&&pg(A),Q&512&&cu(A,A.return);break;case 3:if(Tl(g,A),Q&64&&(Q=A.updateQueue,Q!==null)){if(g=null,A.child!==null)switch(A.child.tag){case 27:case 5:g=Fp(A.child.stateNode);break;case 1:g=A.child.stateNode}try{an(Q,g)}catch(Ie){sn(A,A.return,Ie)}}break;case 26:if(Ql){Tl(g,A),Q&512&&cu(A,A.return);break}case 27:case 5:Tl(g,A),b===null&&Q&4&&yf(A),Q&512&&cu(A,A.return);break;case 12:Tl(g,A);break;case 13:Tl(g,A),Q&4&&nr(g,A);break;case 22:if(ee=A.memoizedState!==null||ru,!ee){b=b!==null&&b.memoizedState!==null||na;var le=ru,De=na;ru=ee,(na=b)&&!De?so(g,A,(A.subtreeFlags&8772)!==0):Tl(g,A),ru=le,na=De}Q&512&&(A.memoizedProps.mode==="manual"?cu(A,A.return):cr(A,A.return));break;default:Tl(g,A)}}function rt(g){var b=g.alternate;b!==null&&(g.alternate=null,rt(b)),g.child=null,g.deletions=null,g.sibling=null,g.tag===5&&(b=g.stateNode,b!==null&&em(b)),g.stateNode=null,g.return=null,g.dependencies=null,g.memoizedProps=null,g.memoizedState=null,g.pendingProps=null,g.stateNode=null,g.updateQueue=null}function Bt(g,b,A){for(A=A.child;A!==null;)En(g,b,A),A=A.sibling}function En(g,b,A){if(nl&&typeof nl.onCommitFiberUnmount=="function")try{nl.onCommitFiberUnmount(zl,A)}catch{}switch(A.tag){case 26:if(Ql){na||cr(A,b),Bt(g,b,A),A.memoizedState?el(A.memoizedState):A.stateNode&&Py(A.stateNode);break}case 27:if(vu){na||cr(A,b);var Q=Aa,ee=Ul;Aa=A.stateNode,Bt(g,b,A),Ny(A.stateNode),Aa=Q,Ul=ee;break}case 5:na||cr(A,b);case 6:if(Wa){if(Q=Aa,ee=Ul,Aa=null,Bt(g,b,A),Aa=Q,Ul=ee,Aa!==null)if(Ul)try{Ca(Aa,A.stateNode)}catch(le){sn(A,b,le)}else try{Ju(Aa,A.stateNode)}catch(le){sn(A,b,le)}}else Bt(g,b,A);break;case 18:Wa&&Aa!==null&&(Ul?am(Aa,A.stateNode):Ty(Aa,A.stateNode));break;case 4:Wa?(Q=Aa,ee=Ul,Aa=A.stateNode.containerInfo,Ul=!0,Bt(g,b,A),Aa=Q,Ul=ee):(Wu&&bc(A.stateNode,A,$g()),Bt(g,b,A));break;case 0:case 11:case 14:case 15:na||ml(2,A,b),na||ml(4,A,b),Bt(g,b,A);break;case 1:na||(cr(A,b),Q=A.stateNode,typeof Q.componentWillUnmount=="function"&&Pi(A,b,Q)),Bt(g,b,A);break;case 21:Bt(g,b,A);break;case 22:na||cr(A,b),na=(Q=na)||A.memoizedState!==null,Bt(g,b,A),na=Q;break;default:Bt(g,b,A)}}function nr(g,b){if($a&&b.memoizedState===null&&(g=b.alternate,g!==null&&(g=g.memoizedState,g!==null&&(g=g.dehydrated,g!==null))))try{im(g)}catch(A){sn(b,b.return,A)}}function Mi(g){switch(g.tag){case 13:case 19:var b=g.stateNode;return b===null&&(b=g.stateNode=new Vp),b;case 22:return g=g.stateNode,b=g._retryCache,b===null&&(b=g._retryCache=new Vp),b;default:throw Error(i(435,g.tag))}}function Mr(g,b){var A=Mi(g);b.forEach(function(Q){var ee=gl.bind(null,g,Q);A.has(Q)||(A.add(Q),Q.then(ee,ee))})}function Ha(g,b){var A=b.deletions;if(A!==null)for(var Q=0;Q<A.length;Q++){var ee=A[Q],le=g,De=b;if(Wa){var Ie=De;e:for(;Ie!==null;){switch(Ie.tag){case 27:case 5:Aa=Ie.stateNode,Ul=!1;break e;case 3:Aa=Ie.stateNode.containerInfo,Ul=!0;break e;case 4:Aa=Ie.stateNode.containerInfo,Ul=!0;break e}Ie=Ie.return}if(Aa===null)throw Error(i(160));En(le,De,ee),Aa=null,Ul=!1}else En(le,De,ee);le=ee.alternate,le!==null&&(le.return=null),ee.return=null}if(b.subtreeFlags&13878)for(b=b.child;b!==null;)Oc(b,g),b=b.sibling}function Oc(g,b){var A=g.alternate,Q=g.flags;switch(g.tag){case 0:case 11:case 14:case 15:Ha(b,g),xi(g),Q&4&&(ml(3,g,g.return),Gn(3,g),ml(5,g,g.return));break;case 1:Ha(b,g),xi(g),Q&512&&(na||A===null||cr(A,A.return)),Q&64&&ru&&(g=g.updateQueue,g!==null&&(Q=g.callbacks,Q!==null&&(A=g.shared.hiddenCallbacks,g.shared.hiddenCallbacks=A===null?Q:A.concat(Q))));break;case 26:if(Ql){var ee=bl;Ha(b,g),xi(g),Q&512&&(na||A===null||cr(A,A.return)),Q&4&&(Q=A!==null?A.memoizedState:null,b=g.memoizedState,A===null?b===null?g.stateNode===null?g.stateNode=Wo(ee,g.type,g.memoizedProps,g):ky(ee,g.type,g.stateNode):g.stateNode=Pg(ee,b,g.memoizedProps):Q!==b?(Q===null?A.stateNode!==null&&Py(A.stateNode):el(Q),b===null?ky(ee,g.type,g.stateNode):Pg(ee,b,g.memoizedProps)):b===null&&g.stateNode!==null&&X0(g,g.memoizedProps,A.memoizedProps));break}case 27:if(vu&&Q&4&&g.alternate===null){ee=g.stateNode;var le=g.memoizedProps;try{lm(ee),a4(g.type,le,ee,g)}catch(kt){sn(g,g.return,kt)}}case 5:if(Ha(b,g),xi(g),Q&512&&(na||A===null||cr(A,A.return)),Wa){if(g.flags&32){b=g.stateNode;try{_h(b)}catch(kt){sn(g,g.return,kt)}}Q&4&&g.stateNode!=null&&(b=g.memoizedProps,X0(g,b,A!==null?A.memoizedProps:b)),Q&1024&&(Nc=!0)}break;case 6:if(Ha(b,g),xi(g),Q&4&&Wa){if(g.stateNode===null)throw Error(i(162));Q=g.memoizedProps,A=A!==null?A.memoizedProps:Q,b=g.stateNode;try{nm(b,A,Q)}catch(kt){sn(g,g.return,kt)}}break;case 3:if(Ql?(xd(),ee=bl,bl=kg(b.containerInfo),Ha(b,g),bl=ee):Ha(b,g),xi(g),Q&4){if(Wa&&$a&&A!==null&&A.memoizedState.isDehydrated)try{Ls(b.containerInfo)}catch(kt){sn(g,g.return,kt)}if(Wu){Q=b.containerInfo,A=b.pendingChildren;try{Ey(Q,A)}catch(kt){sn(g,g.return,kt)}}}Nc&&(Nc=!1,fd(g));break;case 4:Ql?(A=bl,bl=kg(g.stateNode.containerInfo),Ha(b,g),xi(g),bl=A):(Ha(b,g),xi(g)),Q&4&&Wu&&bc(g.stateNode,g,g.stateNode.pendingChildren);break;case 12:Ha(b,g),xi(g);break;case 13:Ha(b,g),xi(g),g.child.flags&8192&&g.memoizedState!==null!=(A!==null&&A.memoizedState!==null)&&(Lc=zi()),Q&4&&(Q=g.updateQueue,Q!==null&&(g.updateQueue=null,Mr(g,Q)));break;case 22:Q&512&&(na||A===null||cr(A,A.return)),ee=g.memoizedState!==null;var De=A!==null&&A.memoizedState!==null,Ie=ru,We=na;if(ru=Ie||ee,na=We||De,Ha(b,g),na=We,ru=Ie,xi(g),b=g.stateNode,b._current=g,b._visibility&=-3,b._visibility|=b._pendingVisibility&2,Q&8192&&(b._visibility=ee?b._visibility&-2:b._visibility|1,ee&&(b=ru||na,A===null||De||b||oo(g)),Wa&&(g.memoizedProps===null||g.memoizedProps.mode!=="manual"))){e:if(A=null,Wa)for(b=g;;){if(b.tag===5||Ql&&b.tag===26||vu&&b.tag===27){if(A===null){De=A=b;try{le=De.stateNode,ee?Ip(le):Sy(De.stateNode,De.memoizedProps)}catch(kt){sn(De,De.return,kt)}}}else if(b.tag===6){if(A===null){De=b;try{var vt=De.stateNode;ee?Lp(vt):Is(vt,De.memoizedProps)}catch(kt){sn(De,De.return,kt)}}}else if((b.tag!==22&&b.tag!==23||b.memoizedState===null||b===g)&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===g)break e;for(;b.sibling===null;){if(b.return===null||b.return===g)break e;A===b&&(A=null),b=b.return}A===b&&(A=null),b.sibling.return=b.return,b=b.sibling}}Q&4&&(Q=g.updateQueue,Q!==null&&(A=Q.retryQueue,A!==null&&(Q.retryQueue=null,Mr(g,A))));break;case 19:Ha(b,g),xi(g),Q&4&&(Q=g.updateQueue,Q!==null&&(g.updateQueue=null,Mr(g,Q)));break;case 21:break;default:Ha(b,g),xi(g)}}function xi(g){var b=g.flags;if(b&2){try{if(Wa&&(!vu||g.tag!==27)){e:{for(var A=g.return;A!==null;){if(Y0(A)){var Q=A;break e}A=A.return}throw Error(i(160))}switch(Q.tag){case 27:if(vu){var ee=Q.stateNode,le=gr(g);bf(g,le,ee);break}case 5:var De=Q.stateNode;Q.flags&32&&(_h(De),Q.flags&=-33);var Ie=gr(g);bf(g,Ie,De);break;case 3:case 4:var We=Q.stateNode.containerInfo,vt=gr(g);G0(g,vt,We);break;default:throw Error(i(161))}}}catch(kt){sn(g,g.return,kt)}g.flags&=-3}b&4096&&(g.flags&=-4097)}function fd(g){if(g.subtreeFlags&1024)for(g=g.child;g!==null;){var b=g;fd(b),b.tag===5&&b.flags&1024&&vi(b.stateNode),g=g.sibling}}function Tl(g,b){if(b.subtreeFlags&8772)for(b=b.child;b!==null;)pt(g,b.alternate,b),b=b.sibling}function oo(g){for(g=g.child;g!==null;){var b=g;switch(b.tag){case 0:case 11:case 14:case 15:ml(4,b,b.return),oo(b);break;case 1:cr(b,b.return);var A=b.stateNode;typeof A.componentWillUnmount=="function"&&Pi(b,b.return,A),oo(b);break;case 26:case 27:case 5:cr(b,b.return),oo(b);break;case 22:cr(b,b.return),b.memoizedState===null&&oo(b);break;default:oo(b)}g=g.sibling}}function so(g,b,A){for(A=A&&(b.subtreeFlags&8772)!==0,b=b.child;b!==null;){var Q=b.alternate,ee=g,le=b,De=le.flags;switch(le.tag){case 0:case 11:case 15:so(ee,le,A),Gn(4,le);break;case 1:if(so(ee,le,A),Q=le,ee=Q.stateNode,typeof ee.componentDidMount=="function")try{ee.componentDidMount()}catch(vt){sn(Q,Q.return,vt)}if(Q=le,ee=Q.updateQueue,ee!==null){var Ie=Q.stateNode;try{var We=ee.shared.hiddenCallbacks;if(We!==null)for(ee.shared.hiddenCallbacks=null,ee=0;ee<We.length;ee++)Qt(We[ee],Ie)}catch(vt){sn(Q,Q.return,vt)}}A&&De&64&&pg(le),cu(le,le.return);break;case 26:case 27:case 5:so(ee,le,A),A&&Q===null&&De&4&&yf(le),cu(le,le.return);break;case 12:so(ee,le,A);break;case 13:so(ee,le,A),A&&De&4&&nr(ee,le);break;case 22:le.memoizedState===null&&so(ee,le,A),cu(le,le.return);break;default:so(ee,le,A)}b=b.sibling}}function Of(g,b){var A=null;g!==null&&g.memoizedState!==null&&g.memoizedState.cachePool!==null&&(A=g.memoizedState.cachePool.pool),g=null,b.memoizedState!==null&&b.memoizedState.cachePool!==null&&(g=b.memoizedState.cachePool.pool),g!==A&&(g!=null&&g.refCount++,A!=null&&od(A))}function xr(g,b){g=null,b.alternate!==null&&(g=b.alternate.memoizedState.cache),b=b.memoizedState.cache,b!==g&&(b.refCount++,g!=null&&od(g))}function qo(g,b,A,Q){if(b.subtreeFlags&10256)for(b=b.child;b!==null;)gh(g,b,A,Q),b=b.sibling}function gh(g,b,A,Q){var ee=b.flags;switch(b.tag){case 0:case 11:case 15:qo(g,b,A,Q),ee&2048&&Gn(9,b);break;case 3:qo(g,b,A,Q),ee&2048&&(g=null,b.alternate!==null&&(g=b.alternate.memoizedState.cache),b=b.memoizedState.cache,b!==g&&(b.refCount++,g!=null&&od(g)));break;case 12:if(ee&2048){qo(g,b,A,Q),g=b.stateNode;try{var le=b.memoizedProps,De=le.id,Ie=le.onPostCommit;typeof Ie=="function"&&Ie(De,b.alternate===null?"mount":"update",g.passiveEffectDuration,-0)}catch(We){sn(b,b.return,We)}}else qo(g,b,A,Q);break;case 23:break;case 22:le=b.stateNode,b.memoizedState!==null?le._visibility&4?qo(g,b,A,Q):Vo(g,b):le._visibility&4?qo(g,b,A,Q):(le._visibility|=4,fa(g,b,A,Q,(b.subtreeFlags&10256)!==0)),ee&2048&&Of(b.alternate,b);break;case 24:qo(g,b,A,Q),ee&2048&&xr(b.alternate,b);break;default:qo(g,b,A,Q)}}function fa(g,b,A,Q,ee){for(ee=ee&&(b.subtreeFlags&10256)!==0,b=b.child;b!==null;){var le=g,De=b,Ie=A,We=Q,vt=De.flags;switch(De.tag){case 0:case 11:case 15:fa(le,De,Ie,We,ee),Gn(8,De);break;case 23:break;case 22:var kt=De.stateNode;De.memoizedState!==null?kt._visibility&4?fa(le,De,Ie,We,ee):Vo(le,De):(kt._visibility|=4,fa(le,De,Ie,We,ee)),ee&&vt&2048&&Of(De.alternate,De);break;case 24:fa(le,De,Ie,We,ee),ee&&vt&2048&&xr(De.alternate,De);break;default:fa(le,De,Ie,We,ee)}b=b.sibling}}function Vo(g,b){if(b.subtreeFlags&10256)for(b=b.child;b!==null;){var A=g,Q=b,ee=Q.flags;switch(Q.tag){case 22:Vo(A,Q),ee&2048&&Of(Q.alternate,Q);break;case 24:Vo(A,Q),ee&2048&&xr(Q.alternate,Q);break;default:Vo(A,Q)}b=b.sibling}}function Da(g){if(g.subtreeFlags&Mh)for(g=g.child;g!==null;)co(g),g=g.sibling}function co(g){switch(g.tag){case 26:Da(g),g.flags&Mh&&(g.memoizedState!==null?Fy(bl,g.memoizedState,g.memoizedProps):da(g.type,g.memoizedProps));break;case 5:Da(g),g.flags&Mh&&da(g.type,g.memoizedProps);break;case 3:case 4:if(Ql){var b=bl;bl=kg(g.stateNode.containerInfo),Da(g),bl=b}else Da(g);break;case 22:g.memoizedState===null&&(b=g.alternate,b!==null&&b.memoizedState!==null?(b=Mh,Mh=16777216,Da(g),Mh=b):Da(g));break;default:Da(g)}}function Ts(g){var b=g.alternate;if(b!==null&&(g=b.child,g!==null)){b.child=null;do b=g.sibling,g.sibling=null,g=b;while(g!==null)}}function Xa(g){var b=g.deletions;if((g.flags&16)!==0){if(b!==null)for(var A=0;A<b.length;A++){var Q=b[A];ma=Q,Xu(Q,g)}Ts(g)}if(g.subtreeFlags&10256)for(g=g.child;g!==null;)Hu(g),g=g.sibling}function Hu(g){switch(g.tag){case 0:case 11:case 15:Xa(g),g.flags&2048&&ml(9,g,g.return);break;case 3:Xa(g);break;case 12:Xa(g);break;case 22:var b=g.stateNode;g.memoizedState!==null&&b._visibility&4&&(g.return===null||g.return.tag!==13)?(b._visibility&=-5,Sc(g)):Xa(g);break;default:Xa(g)}}function Sc(g){var b=g.deletions;if((g.flags&16)!==0){if(b!==null)for(var A=0;A<b.length;A++){var Q=b[A];ma=Q,Xu(Q,g)}Ts(g)}for(g=g.child;g!==null;){switch(b=g,b.tag){case 0:case 11:case 15:ml(8,b,b.return),Sc(b);break;case 22:A=b.stateNode,A._visibility&4&&(A._visibility&=-5,Sc(b));break;default:Sc(b)}g=g.sibling}}function Xu(g,b){for(;ma!==null;){var A=ma;switch(A.tag){case 0:case 11:case 15:ml(8,A,b);break;case 23:case 22:if(A.memoizedState!==null&&A.memoizedState.cachePool!==null){var Q=A.memoizedState.cachePool.pool;Q!=null&&Q.refCount++}break;case 24:od(A.memoizedState.cache)}if(Q=A.child,Q!==null)Q.return=A,ma=Q;else e:for(A=g;ma!==null;){Q=ma;var ee=Q.sibling,le=Q.return;if(rt(Q),Q===A){ma=null;break e}if(ee!==null){ee.return=le,ma=ee;break e}ma=le}}}function xc(g){var b=bg(g);if(b!=null){if(typeof b.memoizedProps["data-testname"]!="string")throw Error(i(364));return b}if(g=xh(g),g===null)throw Error(i(362));return g.stateNode.current}function _c(g,b){var A=g.tag;switch(b.$$typeof){case gm:if(g.type===b.value)return!0;break;case Vg:e:{for(b=b.value,g=[g,0],A=0;A<g.length;){var Q=g[A++],ee=Q.tag,le=g[A++],De=b[le];if(ee!==5&&ee!==26&&ee!==27||!Ko(Q)){for(;De!=null&&_c(Q,De);)le++,De=b[le];if(le===b.length){b=!0;break e}else for(Q=Q.child;Q!==null;)g.push(Q,le),Q=Q.sibling}}b=!1}return b;case Ug:if((A===5||A===26||A===27)&&r4(g.stateNode,b.value))return!0;break;case ri:if((A===5||A===6||A===26||A===27)&&(g=Np(g),g!==null&&0<=g.indexOf(b.value)))return!0;break;case wr:if((A===5||A===26||A===27)&&(g=g.memoizedProps["data-testname"],typeof g=="string"&&g.toLowerCase()===b.value.toLowerCase()))return!0;break;default:throw Error(i(365))}return!1}function fu(g){switch(g.$$typeof){case gm:return"<"+(u(g.value)||"Unknown")+">";case Vg:return":has("+(fu(g)||"")+")";case Ug:return'[role="'+g.value+'"]';case ri:return'"'+g.value+'"';case wr:return'[data-testname="'+g.value+'"]';default:throw Error(i(365))}}function dd(g,b){var A=[];g=[g,0];for(var Q=0;Q<g.length;){var ee=g[Q++],le=ee.tag,De=g[Q++],Ie=b[De];if(le!==5&&le!==26&&le!==27||!Ko(ee)){for(;Ie!=null&&_c(ee,Ie);)De++,Ie=b[De];if(De===b.length)A.push(ee);else for(ee=ee.child;ee!==null;)g.push(ee,De),ee=ee.sibling}}return A}function ta(g,b){if(!Rc)throw Error(i(363));g=xc(g),g=dd(g,b),b=[],g=Array.from(g);for(var A=0;A<g.length;){var Q=g[A++],ee=Q.tag;if(ee===5||ee===26||ee===27)Ko(Q)||b.push(Q.stateNode);else for(Q=Q.child;Q!==null;)g.push(Q),Q=Q.sibling}return b}function Hi(){if((yn&2)!==0&&ur!==0)return ur&-ur;if(xn.T!==null){var g=ql;return g!==0?g:ze()}return Go()}function Yu(){jl===0&&(jl=(ur&536870912)===0||Nr?F():536870912);var g=bo.current;return g!==null&&(g.flags|=32),jl}function du(g,b,A){(g===fr&&bi===2||g.cancelPendingCommit!==null)&&(Pl(g,0),hu(g,ur,jl,!1)),q(g,A),((yn&2)===0||g!==fr)&&(g===fr&&((yn&2)===0&&(Us|=A),Rr===4&&hu(g,ur,jl,!1)),Oe(g))}function vh(g,b,A){if((yn&6)!==0)throw Error(i(327));var Q=!A&&(b&60)===0&&(b&g.expiredLanes)===0||C(g,b),ee=Q?ue(g,b):Au(g,b,!0),le=Q;do{if(ee===0){So&&!Q&&hu(g,b,0,!1);break}else if(ee===6)hu(g,b,0,!Gr);else{if(A=g.current.alternate,le&&!yh(A)){ee=Au(g,b,!1),le=!1;continue}if(ee===2){if(le=b,g.errorRecoveryDisabledLanes&le)var De=0;else De=g.pendingLanes&-536870913,De=De!==0?De:De&536870912?536870912:0;if(De!==0){b=De;e:{var Ie=g;ee=Up;var We=$a&&Ie.current.memoizedState.isDehydrated;if(We&&(Pl(Ie,De).flags|=256),De=Au(Ie,De,!1),De!==2){if(Rf&&!We){Ie.errorRecoveryDisabledLanes|=le,Us|=le,ee=4;break e}le=ll,ll=ee,le!==null&&kl(le)}ee=De}if(le=!1,ee!==2)continue}}if(ee===1){Pl(g,0),hu(g,b,0,!0);break}e:{switch(Q=g,ee){case 0:case 1:throw Error(i(345));case 4:if((b&4194176)===b){hu(Q,b,jl,!Gr);break e}break;case 2:ll=null;break;case 3:case 5:break;default:throw Error(i(329))}if(Q.finishedWork=A,Q.finishedLanes=b,(b&62914560)===b&&(le=Lc+300-zi(),10<le)){if(hu(Q,b,jl,!Gr),R(Q,0)!==0)break e;Q.timeoutHandle=Ga(Sf.bind(null,Q,A,ll,js,jp,b,jl,Us,Ic,Gr,2,-0,0),le);break e}Sf(Q,A,ll,js,jp,b,jl,Us,Ic,Gr,0,-0,0)}}break}while(!0);Oe(g)}function kl(g){ll===null?ll=g:ll.push.apply(ll,g)}function Sf(g,b,A,Q,ee,le,De,Ie,We,vt,kt,Ht,Kt){var Zn=b.subtreeFlags;if((Zn&8192||(Zn&16785408)===16785408)&&(Il(),co(b),b=Og(),b!==null)){g.cancelPendingCommit=b(Be.bind(null,g,A,Q,ee,De,Ie,We,1,Ht,Kt)),hu(g,le,De,!vt);return}Be(g,A,Q,ee,De,Ie,We,kt,Ht,Kt)}function yh(g){for(var b=g;;){var A=b.tag;if((A===0||A===11||A===15)&&b.flags&16384&&(A=b.updateQueue,A!==null&&(A=A.stores,A!==null)))for(var Q=0;Q<A.length;Q++){var ee=A[Q],le=ee.getSnapshot;ee=ee.value;try{if(!vl(le(),ee))return!1}catch{return!1}}if(A=b.child,b.subtreeFlags&16384&&A!==null)A.return=b,b=A;else{if(b===g)break;for(;b.sibling===null;){if(b.return===null||b.return===g)return!0;b=b.return}b.sibling.return=b.return,b=b.sibling}}return!0}function hu(g,b,A,Q){b&=~ul,b&=~Us,g.suspendedLanes|=b,g.pingedLanes&=~b,Q&&(g.warmLanes|=b),Q=g.expirationTimes;for(var ee=b;0<ee;){var le=31-tl(ee),De=1<<le;Q[le]=-1,ee&=~De}A!==0&&N(g,A,b)}function Tp(){return(yn&6)===0?($e(0),!1):!0}function wu(){if(Xn!==null){if(bi===0)var g=Xn.return;else g=Xn,Ir=kd=null,Cl(g),zs=null,yo=0,g=Xn;for(;g!==null;)lo(g.alternate,g),g=g.return;Xn=null}}function Pl(g,b){g.finishedWork=null,g.finishedLanes=0;var A=g.timeoutHandle;A!==bd&&(g.timeoutHandle=bd,Sh(A)),A=g.cancelPendingCommit,A!==null&&(g.cancelPendingCommit=null,A()),wu(),fr=g,Xn=A=Ya(g.current,null),ur=b,bi=0,ra=null,Gr=!1,So=C(g,b),Rf=!1,Ic=jl=ul=Us=xo=Rr=0,ll=Up=null,jp=!1,(b&8)!==0&&(b|=b&32);var Q=g.entangledLanes;if(Q!==0)for(g=g.entanglements,Q&=b;0<Q;){var ee=31-tl(Q),le=1<<ee;b|=g[ee],Q&=~le}return Vs=b,ge(),A}function Ec(g,b){Jn=null,xn.H=Cr,b===Hr?(b=ar(),bi=3):b===Bg?(b=ar(),bi=4):bi=b===Mb?8:b!==null&&typeof b=="object"&&typeof b.then=="function"?6:1,ra=b,Xn===null&&(Rr=1,nd(g,X(b,g.current)))}function Fi(){var g=bo.current;return g===null?!0:(ur&4194176)===ur?Oo===null:(ur&62914560)===ur||(ur&536870912)!==0?g===Oo:!1}function _i(){var g=xn.H;return xn.H=Cr,g===null?Cr:g}function Ru(){var g=xn.A;return xn.A=qg,g}function hn(){Rr=4,Gr||(ur&4194176)!==ur&&bo.current!==null||(So=!0),(xo&134217727)===0&&(Us&134217727)===0||fr===null||hu(fr,ur,jl,!1)}function Au(g,b,A){var Q=yn;yn|=2;var ee=_i(),le=Ru();(fr!==g||ur!==b)&&(js=null,Pl(g,b)),b=!1;var De=Rr;e:do try{if(bi!==0&&Xn!==null){var Ie=Xn,We=ra;switch(bi){case 8:wu(),De=6;break e;case 3:case 2:case 6:bo.current===null&&(b=!0);var vt=bi;if(bi=0,ra=null,Se(g,Ie,We,vt),A&&So){De=0;break e}break;default:vt=bi,bi=0,ra=null,Se(g,Ie,We,vt)}}Uo(),De=Rr;break}catch(kt){Ec(g,kt)}while(!0);return b&&g.shellSuspendCounter++,Ir=kd=null,yn=Q,xn.H=ee,xn.A=le,Xn===null&&(fr=null,ur=0,ge()),De}function Uo(){for(;Xn!==null;)re(Xn)}function ue(g,b){var A=yn;yn|=2;var Q=_i(),ee=Ru();fr!==g||ur!==b?(js=null,ia=zi()+500,Pl(g,b)):So=C(g,b);e:do try{if(bi!==0&&Xn!==null){b=Xn;var le=ra;t:switch(bi){case 1:bi=0,ra=null,Se(g,b,le,1);break;case 2:if(un(le)){bi=0,ra=null,fe(b);break}b=function(){bi===2&&fr===g&&(bi=7),Oe(g)},le.then(b,b);break e;case 3:bi=7;break e;case 4:bi=5;break e;case 7:un(le)?(bi=0,ra=null,fe(b)):(bi=0,ra=null,Se(g,b,le,7));break;case 5:var De=null;switch(Xn.tag){case 26:De=Xn.memoizedState;case 5:case 27:var Ie=Xn,We=Ie.type,vt=Ie.pendingProps;if(De?Fg(De):ho(We,vt)){bi=0,ra=null;var kt=Ie.sibling;if(kt!==null)Xn=kt;else{var Ht=Ie.return;Ht!==null?(Xn=Ht,Te(Ht)):Xn=null}break t}}bi=0,ra=null,Se(g,b,le,5);break;case 6:bi=0,ra=null,Se(g,b,le,6);break;case 8:wu(),Rr=6;break e;default:throw Error(i(462))}}I();break}catch(Kt){Ec(g,Kt)}while(!0);return Ir=kd=null,xn.H=Q,xn.A=ee,yn=A,Xn!==null?0:(fr=null,ur=0,ge(),Rr)}function I(){for(;Xn!==null&&!kb();)re(Xn)}function re(g){var b=j0(g.alternate,g,Vs);g.memoizedProps=g.pendingProps,b===null?Te(g):Xn=b}function fe(g){var b=g,A=b.alternate;switch(b.tag){case 15:case 0:b=ud(A,b,b.pendingProps,b.type,void 0,ur);break;case 11:b=ud(A,b,b.pendingProps,b.type.render,b.ref,ur);break;case 5:Cl(b);default:lo(A,b),b=Xn=ks(b,Vs),b=j0(A,b,Vs)}g.memoizedProps=g.pendingProps,b===null?Te(g):Xn=b}function Se(g,b,A,Q){Ir=kd=null,Cl(b),zs=null,yo=0;var ee=b.return;try{if(xp(g,ee,b,A,ur)){Rr=1,nd(g,X(A,g.current)),Xn=null;return}}catch(le){if(ee!==null)throw Xn=ee,le;Rr=1,nd(g,X(A,g.current)),Xn=null;return}b.flags&32768?(Nr||Q===1?g=!0:So||(ur&536870912)!==0?g=!1:(Gr=g=!0,(Q===2||Q===3||Q===6)&&(Q=bo.current,Q!==null&&Q.tag===13&&(Q.flags|=16384))),Qe(b,g)):Te(b)}function Te(g){var b=g;do{if((b.flags&32768)!==0){Qe(b,Gr);return}g=b.return;var A=mh(b.alternate,b,Vs);if(A!==null){Xn=A;return}if(b=b.sibling,b!==null){Xn=b;return}Xn=b=g}while(b!==null);Rr===0&&(Rr=5)}function Qe(g,b){do{var A=Ap(g.alternate,g);if(A!==null){A.flags&=32767,Xn=A;return}if(A=g.return,A!==null&&(A.flags|=32768,A.subtreeFlags=0,A.deletions=null),!b&&(g=g.sibling,g!==null)){Xn=g;return}Xn=g=A}while(g!==null);Rr=6,Xn=null}function Be(g,b,A,Q,ee,le,De,Ie,We,vt){var kt=xn.T,Ht=Ja();try{mu(2),xn.T=null,je(g,b,A,Q,Ht,ee,le,De,Ie,We,vt)}finally{xn.T=kt,mu(Ht)}}function je(g,b,A,Q,ee,le,De,Ie){do Gt();while(Af!==null);if((yn&6)!==0)throw Error(i(327));var We=g.finishedWork;if(Q=g.finishedLanes,We===null)return null;if(g.finishedWork=null,g.finishedLanes=0,We===g.current)throw Error(i(177));g.callbackNode=null,g.callbackPriority=0,g.cancelPendingCommit=null;var vt=We.lanes|We.childLanes;if(vt|=zp,j(g,Q,vt,le,De,Ie),g===fr&&(Xn=fr=null,ur=0),(We.subtreeFlags&10256)===0&&(We.flags&10256)===0||rs||(rs=!0,jg=vt,Nh=A,Ml(Ig,function(){return Gt(),null})),A=(We.flags&15990)!==0,(We.subtreeFlags&15990)!==0||A?(A=xn.T,xn.T=null,le=Ja(),mu(2),De=yn,yn|=4,Xe(g,We),Oc(We,g),Cc(g.containerInfo),g.current=We,pt(g,We.alternate,We),Iy(),yn=De,mu(le),xn.T=A):g.current=We,rs?(rs=!1,Af=g,Fh=Q):Ct(g,vt),vt=g.pendingLanes,vt===0&&(_o=null),G(We.stateNode),Oe(g),b!==null)for(ee=g.onRecoverableError,We=0;We<b.length;We++)vt=b[We],ee(vt.value,{componentStack:vt.stack});return(Fh&3)!==0&&Gt(),vt=g.pendingLanes,(Q&4194218)!==0&&(vt&42)!==0?g===Ol?Ih++:(Ih=0,Ol=g):Ih=0,$e(0),null}function Ct(g,b){(g.pooledCacheLanes&=b)===0&&(b=g.pooledCache,b!=null&&(g.pooledCache=null,od(b)))}function Gt(){if(Af!==null){var g=Af,b=jg;jg=0;var A=W(Fh),Q=32>A?32:A;A=xn.T;var ee=Ja();try{if(mu(Q),xn.T=null,Af===null)var le=!1;else{Q=Nh,Nh=null;var De=Af,Ie=Fh;if(Af=null,Fh=0,(yn&6)!==0)throw Error(i(331));var We=yn;if(yn|=4,Hu(De.current),gh(De,De.current,Ie,Q),yn=We,$e(0,!1),nl&&typeof nl.onPostCommitFiberRoot=="function")try{nl.onPostCommitFiberRoot(zl,De)}catch{}le=!0}return le}finally{mu(ee),xn.T=A,Ct(g,b)}}return!1}function Bn(g,b,A){b=X(A,b),b=$s(g.stateNode,b,2),g=rn(g,b,2),g!==null&&(q(g,2),Oe(g))}function sn(g,b,A){if(g.tag===3)Bn(g,g,A);else for(;b!==null;){if(b.tag===3){Bn(b,g,A);break}else if(b.tag===1){var Q=b.stateNode;if(typeof b.type.getDerivedStateFromError=="function"||typeof Q.componentDidCatch=="function"&&(_o===null||!_o.has(Q))){g=X(A,g),A=Al(2),Q=rn(b,A,2),Q!==null&&(rd(A,Q,b,g),q(Q,2),Oe(Q));break}}b=b.return}}function gn(g,b,A){var Q=g.pingCache;if(Q===null){Q=g.pingCache=new vr;var ee=new Set;Q.set(b,ee)}else ee=Q.get(b),ee===void 0&&(ee=new Set,Q.set(b,ee));ee.has(A)||(Rf=!0,ee.add(A),g=Ei.bind(null,g,b,A),b.then(g,g))}function Ei(g,b,A){var Q=g.pingCache;Q!==null&&Q.delete(b),g.pingedLanes|=g.suspendedLanes&A,g.warmLanes&=~A,fr===g&&(ur&A)===A&&(Rr===4||Rr===3&&(ur&62914560)===ur&&300>zi()-Lc?(yn&2)===0&&Pl(g,0):ul|=A,Ic===ur&&(Ic=0)),Oe(g)}function La(g,b){b===0&&(b=z()),g=Re(g,b),g!==null&&(q(g,b),Oe(g))}function xe(g){var b=g.memoizedState,A=0;b!==null&&(A=b.retryLane),La(g,A)}function gl(g,b){var A=0;switch(g.tag){case 13:var Q=g.stateNode,ee=g.memoizedState;ee!==null&&(A=ee.retryLane);break;case 19:Q=g.stateNode;break;case 22:Q=g.stateNode._retryCache;break;default:throw Error(i(314))}Q!==null&&Q.delete(b),La(g,A)}function Ml(g,b){return Ch(g,b)}function Tu(g,b,A,Q){this.tag=g,this.key=A,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=b,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=Q,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Qn(g){return g=g.prototype,!(!g||!g.isReactComponent)}function Ya(g,b){var A=g.alternate;return A===null?(A=n(g.tag,b,g.key,g.mode),A.elementType=g.elementType,A.type=g.type,A.stateNode=g.stateNode,A.alternate=g,g.alternate=A):(A.pendingProps=b,A.type=g.type,A.flags=0,A.subtreeFlags=0,A.deletions=null),A.flags=g.flags&31457280,A.childLanes=g.childLanes,A.lanes=g.lanes,A.child=g.child,A.memoizedProps=g.memoizedProps,A.memoizedState=g.memoizedState,A.updateQueue=g.updateQueue,b=g.dependencies,A.dependencies=b===null?null:{lanes:b.lanes,firstContext:b.firstContext},A.sibling=g.sibling,A.index=g.index,A.ref=g.ref,A.refCleanup=g.refCleanup,A}function ks(g,b){g.flags&=31457282;var A=g.alternate;return A===null?(g.childLanes=0,g.lanes=b,g.child=null,g.subtreeFlags=0,g.memoizedProps=null,g.memoizedState=null,g.updateQueue=null,g.dependencies=null,g.stateNode=null):(g.childLanes=A.childLanes,g.lanes=A.lanes,g.child=A.child,g.subtreeFlags=0,g.deletions=null,g.memoizedProps=A.memoizedProps,g.memoizedState=A.memoizedState,g.updateQueue=A.updateQueue,g.type=A.type,b=A.dependencies,g.dependencies=b===null?null:{lanes:b.lanes,firstContext:b.firstContext}),g}function Fl(g,b,A,Q,ee,le){var De=0;if(Q=g,typeof g=="function")Qn(g)&&(De=1);else if(typeof g=="string")De=Ql&&vu?Tg(g,A,Fr.current)?26:Dh(g)?27:5:Ql?Tg(g,A,Fr.current)?26:5:vu&&Dh(g)?27:5;else e:switch(g){case jo:return ku(A.children,ee,le,b);case gy:De=8,ee|=24;break;case vy:return g=n(12,A,b,ee|2),g.elementType=vy,g.lanes=le,g;case mg:return g=n(13,A,b,ee),g.elementType=mg,g.lanes=le,g;case md:return g=n(19,A,b,ee),g.elementType=md,g.lanes=le,g;case K0:return Dc(A,ee,le,b);default:if(typeof g=="object"&&g!==null)switch(g.$$typeof){case Zo:case $c:De=10;break e;case pd:De=9;break e;case kp:De=11;break e;case Pp:De=14;break e;case Ho:De=16,Q=null;break e}De=29,A=Error(i(130,g===null?"null":typeof g,"")),Q=null}return b=n(De,A,b,ee),b.elementType=g,b.type=Q,b.lanes=le,b}function ku(g,b,A,Q){return g=n(7,g,Q,b),g.lanes=A,g}function Dc(g,b,A,Q){g=n(22,g,Q,b),g.elementType=K0,g.lanes=A;var ee={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var le=ee._current;if(le===null)throw Error(i(456));if((ee._pendingVisibility&2)===0){var De=Re(le,2);De!==null&&(ee._pendingVisibility|=2,du(De,le,2))}},attach:function(){var le=ee._current;if(le===null)throw Error(i(456));if((ee._pendingVisibility&2)!==0){var De=Re(le,2);De!==null&&(ee._pendingVisibility&=-3,du(De,le,2))}}};return g.stateNode=ee,g}function Nl(g,b,A){return g=n(6,g,null,b),g.lanes=A,g}function hd(g,b,A){return b=n(4,g.children!==null?g.children:[],g.key,b),b.lanes=A,b.stateNode={containerInfo:g.containerInfo,pendingChildren:null,implementation:g.implementation},b}function bh(g,b,A,Q,ee,le,De,Ie){this.tag=1,this.containerInfo=g,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=bd,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Z(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Z(0),this.hiddenUpdates=Z(null),this.identifierPrefix=Q,this.onUncaughtError=ee,this.onCaughtError=le,this.onRecoverableError=De,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Ie,this.incompleteTransitions=new Map}function pu(g,b,A,Q,ee,le,De,Ie,We,vt,kt,Ht){return g=new bh(g,b,A,De,Ie,We,vt,Ht),b=1,le===!0&&(b|=24),le=n(3,null,null,b),g.current=le,le.stateNode=g,b=ld(),b.refCount++,g.pooledCache=b,b.refCount++,le.memoizedState={element:Q,isDehydrated:A,cache:b},gt(le),g}function fo(g){return g?(g=kc,g):kc}function hy(g){var b=g._reactInternals;if(b===void 0)throw typeof g.render=="function"?Error(i(188)):(g=Object.keys(g).join(","),Error(i(268,g)));return g=m(b),g=g!==null?y(g):null,g===null?null:Fp(g.stateNode)}function xb(g,b,A,Q,ee,le){ee=fo(ee),Q.context===null?Q.context=ee:Q.pendingContext=ee,Q=zt(b),Q.payload={element:A},le=le===void 0?null:le,le!==null&&(Q.callback=le),A=rn(g,Q,b),A!==null&&(du(A,g,b),nn(A,g,b))}function _b(g,b){if(g=g.memoizedState,g!==null&&g.dehydrated!==null){var A=g.retryLane;g.retryLane=A!==0&&A<b?A:b}}function py(g,b){_b(g,b),(g=g.alternate)&&_b(g,b)}var vn={},Ps=tr(),Pu=One(),Oh=Object.assign,my=Symbol.for("react.element"),xf=Symbol.for("react.transitional.element"),Ms=Symbol.for("react.portal"),jo=Symbol.for("react.fragment"),gy=Symbol.for("react.strict_mode"),vy=Symbol.for("react.profiler"),Zo=Symbol.for("react.provider"),pd=Symbol.for("react.consumer"),$c=Symbol.for("react.context"),kp=Symbol.for("react.forward_ref"),mg=Symbol.for("react.suspense"),md=Symbol.for("react.suspense_list"),Pp=Symbol.for("react.memo"),Ho=Symbol.for("react.lazy"),K0=Symbol.for("react.offscreen"),Eb=Symbol.for("react.memo_cache_sentinel"),W0=Symbol.iterator,Fs=Symbol.for("react.client.reference"),xn=Ps.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,gg,vg,gd=!1,Gu=Array.isArray,Mp=t.rendererVersion,Ns=t.rendererPackageName,Ku=t.extraDevToolsConfig,Fp=t.getPublicInstance,vd=t.getRootHostContext,yy=t.getChildHostContext,Xo=t.prepareForCommit,Cc=t.resetAfterCommit,yg=t.createInstance,wc=t.appendInitialChild,Yo=t.finalizeInitialChildren,yd=t.shouldSetTextContent,J0=t.createTextInstance,Ga=t.scheduleTimeout,Sh=t.cancelTimeout,bd=t.noTimeout,Ka=t.isPrimaryRenderer;t.warnsIfNotActing;var Wa=t.supportsMutation,Wu=t.supportsPersistence,$a=t.supportsHydration,bg=t.getInstanceFromNode;t.beforeActiveInstanceBlur,t.afterActiveInstanceBlur;var Mu=t.preparePortalMount;t.prepareScopeUpdate,t.getInstanceFromScope;var mu=t.setCurrentUpdatePriority,Ja=t.getCurrentUpdatePriority,Go=t.resolveUpdatePriority;t.resolveEventType,t.resolveEventTimeStamp;var Od=t.shouldAttemptEagerTransition,em=t.detachDeletedInstance;t.requestPostPaintCallback;var Db=t.maySuspendCommit,ho=t.preloadInstance,Il=t.startSuspendingCommit,da=t.suspendInstance,Og=t.waitForCommitToBeReady,gu=t.NotPendingTransition,An=t.HostTransitionContext,vi=t.resetFormInstance;t.bindToConsole;var ha=t.supportsMicrotasks,tm=t.scheduleMicrotask,Rc=t.supportsTestSelectors,xh=t.findFiberRoot,Sg=t.getBoundingRect,Np=t.getTextContent,Ko=t.isHiddenSubtree,r4=t.matchAccessibilityRole,Xi=t.setFocusIfFocusable,xg=t.setupIntersectionObserver,_g=t.appendChild,by=t.appendChildToContainer,nm=t.commitTextUpdate,i4=t.commitMount,Eg=t.commitUpdate,Dg=t.insertBefore,Oy=t.insertInContainerBefore,Ju=t.removeChild,Ca=t.removeChildFromContainer,_h=t.resetTextContent,Ip=t.hideInstance,Lp=t.hideTextInstance,Sy=t.unhideInstance,Is=t.unhideTextInstance,Wn=t.clearContainer,xy=t.cloneInstance,$g=t.createContainerChildSet,Eh=t.appendChildToContainerChildSet,_y=t.finalizeContainerChildren,Ey=t.replaceContainerChildren,Dy=t.cloneHiddenInstance,Ll=t.cloneHiddenTextInstance,Cg=t.isSuspenseInstancePending,Sd=t.isSuspenseInstanceFallback,wg=t.getSuspenseInstanceFallbackErrorDetails,$b=t.registerSuspenseInstanceRetry,$y=t.canHydrateFormStateMarker,Bl=t.isFormStateMarkerMatching,Ac=t.getNextHydratableSibling,Bp=t.getFirstHydratableChild,Cy=t.getFirstHydratableChildWithinContainer,rm=t.getFirstHydratableChildWithinSuspenseInstance,wy=t.canHydrateInstance,Rg=t.canHydrateTextInstance,Ry=t.canHydrateSuspenseInstance,Ay=t.hydrateInstance,Ag=t.hydrateTextInstance,po=t.hydrateSuspenseInstance,Cb=t.getNextHydratableInstanceAfterSuspenseInstance,Ls=t.commitHydratedContainer,im=t.commitHydratedSuspenseInstance,Ty=t.clearSuspenseBoundary,am=t.clearSuspenseBoundaryFromContainer,wb=t.shouldDeleteUnhydratedTailInstances;t.diffHydratedPropsForDevWarnings,t.diffHydratedTextForDevWarnings,t.describeHydratableInstanceForDevWarnings;var Rb=t.validateHydratableInstance,Ab=t.validateHydratableTextInstance,Ql=t.supportsResources,Tg=t.isHostHoistableType,kg=t.getHoistableRoot,um=t.getResource,Pg=t.acquireResource,el=t.releaseResource,Wo=t.hydrateHoistable,ky=t.mountHoistable,Py=t.unmountHoistable,Mg=t.createHoistableInstance,xd=t.prepareToCommitHoistables,My=t.mayResourceSuspendCommit,Fg=t.preloadResource,Fy=t.suspendResource,vu=t.supportsSingletons,_d=t.resolveSingletonInstance,lm=t.clearSingleton,a4=t.acquireSingletonInstance,Ny=t.releaseSingletonInstance,Dh=t.isHostSingletonType,Ed=[],Tc=-1,kc={},tl=Math.clz32?Math.clz32:w,Dd=Math.log,Tb=Math.LN2,$h=128,$d=4194304,Ch=Pu.unstable_scheduleCallback,wh=Pu.unstable_cancelCallback,kb=Pu.unstable_shouldYield,Iy=Pu.unstable_requestPaint,zi=Pu.unstable_now,Ng=Pu.unstable_ImmediatePriority,Ly=Pu.unstable_UserBlockingPriority,Ig=Pu.unstable_NormalPriority,om=Pu.unstable_IdlePriority,Pb=Pu.log,By=Pu.unstable_setDisableYieldValue,zl=null,nl=null,vl=typeof Object.is=="function"?Object.is:te,Qp=new WeakMap,yi=[],Di=0,Sn=null,Cd=0,yl=[],eu=0,Bs=null,Jo=1,mo="",Fr=_(null),sm=_(null),Qs=_(null),Rh=_(null),rl=null,yu=null,Nr=!1,go=null,es=!1,vo=Error(i(519)),$i=[],Pc=0,zp=0,wd=null,Ah=null,cm=!1,_f=!1,ts=!1,Ef=0,fm=null,Lg=0,ql=0,Rd=null,Mc=!1,Th=!1,dm=Object.prototype.hasOwnProperty,Hr=Error(i(460)),Bg=Error(i(474)),Ad={then:function(){}},Df=null,zs=null,yo=0,qs=nt(!0),Qg=nt(!1),tu=_(null),nu=_(0),bo=_(null),Oo=null,Ba=_(0),Fc=0,Jn=null,Xr=null,wa=null,ns=!1,qi=!1,$f=!1,hm=0,pa=0,qp=null,Qy=0,pm=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}},Cr={readContext:Ia,use:Ki,useCallback:Rt,useContext:Rt,useEffect:Rt,useImperativeHandle:Rt,useLayoutEffect:Rt,useInsertionEffect:Rt,useMemo:Rt,useReducer:Rt,useRef:Rt,useState:Rt,useDebugValue:Rt,useDeferredValue:Rt,useTransition:Rt,useSyncExternalStore:Rt,useId:Rt};Cr.useCacheRefresh=Rt,Cr.useMemoCache=Rt,Cr.useHostTransitionStatus=Rt,Cr.useFormState=Rt,Cr.useActionState=Rt,Cr.useOptimistic=Rt;var Qa={readContext:Ia,use:Ki,useCallback:function(g,b){return Zr().memoizedState=[g,b===void 0?null:b],g},useContext:Ia,useEffect:B0,useImperativeHandle:function(g,b,A){A=A!=null?A.concat([g]):null,Ss(4194308,4,mf.bind(null,b,g),A)},useLayoutEffect:function(g,b){return Ss(4194308,4,g,b)},useInsertionEffect:function(g,b){Ss(4,2,g,b)},useMemo:function(g,b){var A=Zr();b=b===void 0?null:b;var Q=g();if($f){J(!0);try{g()}finally{J(!1)}}return A.memoizedState=[Q,b],Q},useReducer:function(g,b,A){var Q=Zr();if(A!==void 0){var ee=A(b);if($f){J(!0);try{A(b)}finally{J(!1)}}}else ee=b;return Q.memoizedState=Q.baseState=ee,g={pending:null,lanes:0,dispatch:null,lastRenderedReducer:g,lastRenderedState:ee},Q.queue=g,g=g.dispatch=pc.bind(null,Jn,g),[Q.memoizedState,g]},useRef:function(g){var b=Zr();return g={current:g},b.memoizedState=g},useState:function(g){g=Pr(g);var b=g.queue,A=ch.bind(null,Jn,b);return b.dispatch=A,[g.memoizedState,A]},useDebugValue:lh,useDeferredValue:function(g,b){var A=Zr();return hc(A,g,b)},useTransition:function(){var g=Pr(!1);return g=bp.bind(null,Jn,g.queue,!0,!1),Zr().memoizedState=g,[!1,g]},useSyncExternalStore:function(g,b,A){var Q=Jn,ee=Zr();if(Nr){if(A===void 0)throw Error(i(407));A=A()}else{if(A=b(),fr===null)throw Error(i(349));(ur&60)!==0||ys(Q,b,A)}ee.memoizedState=A;var le={value:A,getSnapshot:b};return ee.queue=le,B0(bs.bind(null,Q,le,g),[g]),Q.flags|=2048,No(9,ti.bind(null,Q,le,A,b),{destroy:void 0},null),A},useId:function(){var g=Zr(),b=fr.identifierPrefix;if(Nr){var A=mo,Q=Jo;A=(Q&~(1<<32-tl(Q)-1)).toString(32)+A,b=":"+b+"R"+A,A=hm++,0<A&&(b+="H"+A.toString(32)),b+=":"}else A=Qy++,b=":"+b+"r"+A.toString(32)+":";return g.memoizedState=b},useCacheRefresh:function(){return Zr().memoizedState=sh.bind(null,Jn)}};Qa.useMemoCache=ei,Qa.useHostTransitionStatus=Es,Qa.useFormState=Jf,Qa.useActionState=Jf,Qa.useOptimistic=function(g){var b=Zr();b.memoizedState=b.baseState=g;var A={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return b.queue=A,b=Ln.bind(null,Jn,!0,A),A.dispatch=b,[g,b]};var il={readContext:Ia,use:Ki,useCallback:oh,useContext:Ia,useEffect:pf,useImperativeHandle:io,useInsertionEffect:Q0,useLayoutEffect:yp,useMemo:_s,useReducer:ro,useRef:Cu,useState:function(){return ro($u)},useDebugValue:lh,useDeferredValue:function(g,b){var A=Pt();return z0(A,Xr.memoizedState,g,b)},useTransition:function(){var g=ro($u)[0],b=Pt().memoizedState;return[typeof g=="boolean"?g:sa(g),b]},useSyncExternalStore:vs,useId:Io};il.useCacheRefresh=Sp,il.useMemoCache=ei,il.useHostTransitionStatus=Es,il.useFormState=Os,il.useActionState=Os,il.useOptimistic=function(g,b){var A=Pt();return Wi(A,Xr,g,b)};var Td={readContext:Ia,use:Ki,useCallback:oh,useContext:Ia,useEffect:pf,useImperativeHandle:io,useInsertionEffect:Q0,useLayoutEffect:yp,useMemo:_s,useReducer:mi,useRef:Cu,useState:function(){return mi($u)},useDebugValue:lh,useDeferredValue:function(g,b){var A=Pt();return Xr===null?hc(A,g,b):z0(A,Xr.memoizedState,g,b)},useTransition:function(){var g=mi($u)[0],b=Pt().memoizedState;return[typeof g=="boolean"?g:sa(g),b]},useSyncExternalStore:vs,useId:Io};Td.useCacheRefresh=Sp,Td.useMemoCache=ei,Td.useHostTransitionStatus=Es,Td.useFormState=dc,Td.useActionState=dc,Td.useOptimistic=function(g,b){var A=Pt();return Xr!==null?Wi(A,Xr,g,b):(A.baseState=g,[g,A.queue.dispatch])};var mm={isMounted:function(g){return(g=g._reactInternals)?d(g)===g:!1},enqueueSetState:function(g,b,A){g=g._reactInternals;var Q=Hi(),ee=zt(Q);ee.payload=b,A!=null&&(ee.callback=A),b=rn(g,ee,Q),b!==null&&(du(b,g,Q),nn(b,g,Q))},enqueueReplaceState:function(g,b,A){g=g._reactInternals;var Q=Hi(),ee=zt(Q);ee.tag=1,ee.payload=b,A!=null&&(ee.callback=A),b=rn(g,ee,Q),b!==null&&(du(b,g,Q),nn(b,g,Q))},enqueueForceUpdate:function(g,b){g=g._reactInternals;var A=Hi(),Q=zt(A);Q.tag=2,b!=null&&(Q.callback=b),b=rn(g,Q,A),b!==null&&(du(b,g,A),nn(b,g,A))}},zy=typeof reportError=="function"?reportError:function(g){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var b=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g),error:g});if(!window.dispatchEvent(b))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",g);return}console.error(g)},Mb=Error(i(461)),Ra=!1,al={dehydrated:null,treeContext:null,retryLane:0},Vl=_(null),kd=null,Ir=null,Fb=typeof AbortController<"u"?AbortController:function(){var g=[],b=this.signal={aborted:!1,addEventListener:function(A,Q){g.push(Q)}};this.abort=function(){b.aborted=!0,g.forEach(function(A){return A()})}},Cf=Pu.unstable_scheduleCallback,kh=Pu.unstable_NormalPriority,Yr={$$typeof:$c,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0},zg=xn.S;xn.S=function(g,b){typeof b=="object"&&b!==null&&typeof b.then=="function"&&st(g,b),zg!==null&&zg(g,b)};var wf=_(null),ru=!1,na=!1,Nc=!1,Vp=typeof WeakSet=="function"?WeakSet:Set,ma=null,Ph=!1,Aa=null,Ul=!1,bl=null,Mh=8192,qg={getCacheForType:function(g){var b=Ia(Yr),A=b.data.get(g);return A===void 0&&(A=g(),b.data.set(g,A)),A}},gm=0,Vg=1,Ug=2,wr=3,ri=4;if(typeof Symbol=="function"&&Symbol.for){var er=Symbol.for;gm=er("selector.component"),Vg=er("selector.has_pseudo_class"),Ug=er("selector.role"),wr=er("selector.test_id"),ri=er("selector.text")}var vr=typeof WeakMap=="function"?WeakMap:Map,yn=0,fr=null,Xn=null,ur=0,bi=0,ra=null,Gr=!1,So=!1,Rf=!1,Vs=0,Rr=0,xo=0,Us=0,ul=0,jl=0,Ic=0,Up=null,ll=null,jp=!1,Lc=0,ia=1/0,js=null,_o=null,rs=!1,Af=null,Fh=0,jg=0,Nh=null,Ih=0,Ol=null;return vn.attemptContinuousHydration=function(g){if(g.tag===13){var b=Re(g,67108864);b!==null&&du(b,g,67108864),py(g,67108864)}},vn.attemptHydrationAtCurrentPriority=function(g){if(g.tag===13){var b=Hi(),A=Re(g,b);A!==null&&du(A,g,b),py(g,b)}},vn.attemptSynchronousHydration=function(g){switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var b=T(g.pendingLanes);if(b!==0){for(g.pendingLanes|=2,g.entangledLanes|=2;b;){var A=1<<31-tl(b);g.entanglements[1]|=A,b&=~A}Oe(g),(yn&6)===0&&(ia=zi()+500,$e(0))}}break;case 13:b=Re(g,2),b!==null&&du(b,g,2),Tp(),py(g,2)}},vn.batchedUpdates=function(g,b){return g(b)},vn.createComponentSelector=function(g){return{$$typeof:gm,value:g}},vn.createContainer=function(g,b,A,Q,ee,le,De,Ie,We,vt){return pu(g,b,!1,null,A,Q,le,De,Ie,We,vt,null)},vn.createHasPseudoClassSelector=function(g){return{$$typeof:Vg,value:g}},vn.createHydrationContainer=function(g,b,A,Q,ee,le,De,Ie,We,vt,kt,Ht,Kt){return g=pu(A,Q,!0,g,ee,le,Ie,We,vt,kt,Ht,Kt),g.context=fo(null),A=g.current,Q=Hi(),ee=zt(Q),ee.callback=b??null,rn(A,ee,Q),g.current.lanes=Q,q(g,Q),Oe(g),g},vn.createPortal=function(g,b,A){var Q=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ms,key:Q==null?null:""+Q,children:g,containerInfo:b,implementation:A}},vn.createRoleSelector=function(g){return{$$typeof:Ug,value:g}},vn.createTestNameSelector=function(g){return{$$typeof:wr,value:g}},vn.createTextSelector=function(g){return{$$typeof:ri,value:g}},vn.defaultOnCaughtError=function(g){console.error(g)},vn.defaultOnRecoverableError=function(g){zy(g)},vn.defaultOnUncaughtError=function(g){zy(g)},vn.deferredUpdates=function(g){var b=xn.T,A=Ja();try{return mu(32),xn.T=null,g()}finally{mu(A),xn.T=b}},vn.discreteUpdates=function(g,b,A,Q,ee){var le=xn.T,De=Ja();try{return mu(2),xn.T=null,g(b,A,Q,ee)}finally{mu(De),xn.T=le,yn===0&&(ia=zi()+500)}},vn.findAllNodes=ta,vn.findBoundingRects=function(g,b){if(!Rc)throw Error(i(363));b=ta(g,b),g=[];for(var A=0;A<b.length;A++)g.push(Sg(b[A]));for(b=g.length-1;0<b;b--){A=g[b];for(var Q=A.x,ee=Q+A.width,le=A.y,De=le+A.height,Ie=b-1;0<=Ie;Ie--)if(b!==Ie){var We=g[Ie],vt=We.x,kt=vt+We.width,Ht=We.y,Kt=Ht+We.height;if(Q>=vt&&le>=Ht&&ee<=kt&&De<=Kt){g.splice(b,1);break}else if(Q!==vt||A.width!==We.width||Kt<le||Ht>De){if(!(le!==Ht||A.height!==We.height||kt<Q||vt>ee)){vt>Q&&(We.width+=vt-Q,We.x=Q),kt<ee&&(We.width=ee-vt),g.splice(b,1);break}}else{Ht>le&&(We.height+=Ht-le,We.y=le),Kt<De&&(We.height=De-Ht),g.splice(b,1);break}}}return g},vn.findHostInstance=hy,vn.findHostInstanceWithNoPortals=function(g){return g=m(g),g=g!==null?v(g):null,g===null?null:Fp(g.stateNode)},vn.findHostInstanceWithWarning=function(g){return hy(g)},vn.flushPassiveEffects=Gt,vn.flushSyncFromReconciler=function(g){var b=yn;yn|=1;var A=xn.T,Q=Ja();try{if(mu(2),xn.T=null,g)return g()}finally{mu(Q),xn.T=A,yn=b,(yn&6)===0&&$e(0)}},vn.flushSyncWork=Tp,vn.focusWithin=function(g,b){if(!Rc)throw Error(i(363));for(g=xc(g),b=dd(g,b),b=Array.from(b),g=0;g<b.length;){var A=b[g++],Q=A.tag;if(!Ko(A)){if((Q===5||Q===26||Q===27)&&Xi(A.stateNode))return!0;for(A=A.child;A!==null;)b.push(A),A=A.sibling}}return!1},vn.getFindAllNodesFailureDescription=function(g,b){if(!Rc)throw Error(i(363));var A=0,Q=[];g=[xc(g),0];for(var ee=0;ee<g.length;){var le=g[ee++],De=le.tag,Ie=g[ee++],We=b[Ie];if((De!==5&&De!==26&&De!==27||!Ko(le))&&(_c(le,We)&&(Q.push(fu(We)),Ie++,Ie>A&&(A=Ie)),Ie<b.length))for(le=le.child;le!==null;)g.push(le,Ie),le=le.sibling}if(A<b.length){for(g=[];A<b.length;A++)g.push(fu(b[A]));return`findAllNodes was able to match part of the selector:
  `+(Q.join(" > ")+`

No matching component was found for:
  `)+g.join(" > ")}return null},vn.getPublicRootInstance=function(g){if(g=g.current,!g.child)return null;switch(g.child.tag){case 27:case 5:return Fp(g.child.stateNode);default:return g.child.stateNode}},vn.injectIntoDevTools=function(){var g={bundleType:0,version:Mp,rendererPackageName:Ns,currentDispatcherRef:xn,findFiberByHostInstance:bg,reconcilerVersion:"19.0.0"};if(Ku!==null&&(g.rendererConfig=Ku),typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")g=!1;else{var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)g=!0;else{try{zl=b.inject(g),nl=b}catch{}g=!!b.checkDCE}}return g},vn.isAlreadyRendering=function(){return!1},vn.observeVisibleRects=function(g,b,A,Q){if(!Rc)throw Error(i(363));g=ta(g,b);var ee=xg(g,A,Q).disconnect;return{disconnect:function(){ee()}}},vn.shouldError=function(){return null},vn.shouldSuspend=function(){return!1},vn.startHostTransition=function(g,b,A,Q){if(g.tag!==5)throw Error(i(476));var ee=Op(g).queue;bp(g,ee,b,gu,A===null?r:function(){var le=Op(g).next.queue;return $r(g,le,{},Hi()),A(Q)})},vn.updateContainer=function(g,b,A,Q){var ee=b.current,le=Hi();return xb(ee,le,g,b,A,Q),le},vn.updateContainerSync=function(g,b,A,Q){return b.tag===0&&Gt(),xb(b.current,2,g,b,A,Q),2},vn},e.exports.default=e.exports,Object.defineProperty(e.exports,"__esModule",{value:!0})})(RT)),RT.exports}var wU;function $Ee(){return wU||(wU=1,wT.exports=DEe()),wT.exports}var CEe=$Ee();const wEe=oa(CEe);var RU=One();function rN(e,t,n){if(!e)return;if(n(e)===!0)return e;let r=t?e.return:e.child;for(;r;){const i=rN(r,t,n);if(i)return i;r=t?null:r.sibling}}function Sne(e){try{return Object.defineProperties(e,{_currentRenderer:{get(){return null},set(){}},_currentRenderer2:{get(){return null},set(){}}})}catch{return e}}const iN=Sne(P.createContext(null));class xne extends P.Component{render(){return P.createElement(iN.Provider,{value:this._reactInternals},this.props.children)}}function _ne(){const e=P.useContext(iN);if(e===null)throw new Error("its-fine: useFiber must be called within a <FiberProvider />!");const t=P.useId();return P.useMemo(()=>{for(const n of[e,e==null?void 0:e.alternate]){if(!n)continue;const r=rN(n,!1,i=>{let a=i.memoizedState;for(;a;){if(a.memoizedState===t)return!0;a=a.next}});if(r)return r}},[e,t])}const REe=Symbol.for("react.context"),AEe=e=>e!==null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===REe;function TEe(){const e=_ne(),[t]=P.useState(()=>new Map);t.clear();let n=e;for(;n;){const r=n.type;AEe(r)&&r!==iN&&!t.has(r)&&t.set(r,P.use(Sne(r))),n=n.return}return t}function kEe(){const e=TEe();return P.useMemo(()=>Array.from(e.keys()).reduce((t,n)=>r=>P.createElement(t,null,P.createElement(n.Provider,{...r,value:e.get(n)})),t=>P.createElement(xne,{...t})),[e])}function Ene(e){let t=e.root;for(;t.getState().previousRoot;)t=t.getState().previousRoot;return t}const Dne=e=>e&&e.isOrthographicCamera,PEe=e=>e&&e.hasOwnProperty("current"),MEe=e=>e!=null&&(typeof e=="string"||typeof e=="number"||e.isColor),XS=((e,t)=>typeof window<"u"&&(((e=window.document)==null?void 0:e.createElement)||((t=window.navigator)==null?void 0:t.product)==="ReactNative"))()?P.useLayoutEffect:P.useEffect;function $ne(e){const t=P.useRef(e);return XS(()=>void(t.current=e),[e]),t}function FEe(){const e=_ne(),t=kEe();return P.useMemo(()=>({children:n})=>{const i=!!rN(e,!0,a=>a.type===P.StrictMode)?P.StrictMode:P.Fragment;return kr.jsx(i,{children:kr.jsx(t,{children:n})})},[e,t])}function NEe({set:e}){return XS(()=>(e(new Promise(()=>null)),()=>e(!1)),[e]),null}const IEe=(e=>(e=class extends P.Component{constructor(...n){super(...n),this.state={error:!1}}componentDidCatch(n){this.props.set(n)}render(){return this.state.error?null:this.props.children}},e.getDerivedStateFromError=()=>({error:!0}),e))();function Cne(e){var t;const n=typeof window<"u"?(t=window.devicePixelRatio)!=null?t:2:1;return Array.isArray(e)?Math.min(Math.max(e[0],n),e[1]):e}function uO(e){var t;return(t=e.__r3f)==null?void 0:t.root.getState()}const au={obj:e=>e===Object(e)&&!au.arr(e)&&typeof e!="function",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",boo:e=>typeof e=="boolean",und:e=>e===void 0,nul:e=>e===null,arr:e=>Array.isArray(e),equ(e,t,{arrays:n="shallow",objects:r="reference",strict:i=!0}={}){if(typeof e!=typeof t||!!e!=!!t)return!1;if(au.str(e)||au.num(e)||au.boo(e))return e===t;const a=au.obj(e);if(a&&r==="reference")return e===t;const u=au.arr(e);if(u&&n==="reference")return e===t;if((u||a)&&e===t)return!0;let l;for(l in e)if(!(l in t))return!1;if(a&&n==="shallow"&&r==="shallow"){for(l in i?t:e)if(!au.equ(e[l],t[l],{strict:i,objects:"reference"}))return!1}else for(l in i?t:e)if(e[l]!==t[l])return!1;if(au.und(l)){if(u&&e.length===0&&t.length===0||a&&Object.keys(e).length===0&&Object.keys(t).length===0)return!0;if(e!==t)return!1}return!0}};function LEe(e){e.type!=="Scene"&&(e.dispose==null||e.dispose());for(const t in e){const n=e[t];(n==null?void 0:n.type)!=="Scene"&&(n==null||n.dispose==null||n.dispose())}}const wne=["children","key","ref"];function BEe(e){const t={};for(const n in e)wne.includes(n)||(t[n]=e[n]);return t}function hD(e,t,n,r){const i=e;let a=i==null?void 0:i.__r3f;return a||(a={root:t,type:n,parent:null,children:[],props:BEe(r),object:i,eventCount:0,handlers:{},isHidden:!1},i&&(i.__r3f=a)),a}function nS(e,t){let n=e[t];if(!t.includes("-"))return{root:e,key:t,target:n};n=e;for(const i of t.split("-")){var r;t=i,e=n,n=(r=n)==null?void 0:r[t]}return{root:e,key:t,target:n}}const AU=/-\d+$/;function pD(e,t){if(au.str(t.props.attach)){if(AU.test(t.props.attach)){const i=t.props.attach.replace(AU,""),{root:a,key:u}=nS(e.object,i);Array.isArray(a[u])||(a[u]=[])}const{root:n,key:r}=nS(e.object,t.props.attach);t.previousAttach=n[r],n[r]=t.object}else au.fun(t.props.attach)&&(t.previousAttach=t.props.attach(e.object,t.object))}function mD(e,t){if(au.str(t.props.attach)){const{root:n,key:r}=nS(e.object,t.props.attach),i=t.previousAttach;i===void 0?delete n[r]:n[r]=i}else t.previousAttach==null||t.previousAttach(e.object,t.object);delete t.previousAttach}const i9=[...wne,"args","dispose","attach","object","onUpdate","dispose"],TU=new Map;function QEe(e){let t=TU.get(e.constructor);try{t||(t=new e.constructor,TU.set(e.constructor,t))}catch{}return t}function zEe(e,t){const n={};for(const r in t)if(!i9.includes(r)&&!au.equ(t[r],e.props[r])){n[r]=t[r];for(const i in t)i.startsWith(`${r}-`)&&(n[i]=t[i])}for(const r in e.props){if(i9.includes(r)||t.hasOwnProperty(r))continue;const{root:i,key:a}=nS(e.object,r);if(i.constructor&&i.constructor.length===0){const u=QEe(i);au.und(u)||(n[a]=u[a])}else n[a]=0}return n}const qEe=["map","emissiveMap","sheenColorMap","specularColorMap","envMap"],VEe=/^on(Pointer|Click|DoubleClick|ContextMenu|Wheel)/;function vv(e,t){var n;const r=e.__r3f,i=r&&Ene(r).getState(),a=r==null?void 0:r.eventCount;for(const l in t){let o=t[l];if(i9.includes(l))continue;if(r&&VEe.test(l)){typeof o=="function"?r.handlers[l]=o:delete r.handlers[l],r.eventCount=Object.keys(r.handlers).length;continue}if(o===void 0)continue;let{root:s,key:c,target:d}=nS(e,l);if(d instanceof WL&&o instanceof WL)d.mask=o.mask;else if(d instanceof q$&&MEe(o))d.set(o);else if(d!==null&&typeof d=="object"&&typeof d.set=="function"&&typeof d.copy=="function"&&o!=null&&o.constructor&&d.constructor===o.constructor)d.copy(o);else if(d!==null&&typeof d=="object"&&typeof d.set=="function"&&Array.isArray(o))typeof d.fromArray=="function"?d.fromArray(o):d.set(...o);else if(d!==null&&typeof d=="object"&&typeof d.set=="function"&&typeof o=="number")typeof d.setScalar=="function"?d.setScalar(o):d.set(o);else{var u;s[c]=o,i&&!i.linear&&qEe.includes(c)&&(u=s[c])!=null&&u.isTexture&&s[c].format===lbe&&s[c].type===obe&&(s[c].colorSpace=fW)}}if(r!=null&&r.parent&&i!=null&&i.internal&&(n=r.object)!=null&&n.isObject3D&&a!==r.eventCount){const l=r.object,o=i.internal.interaction.indexOf(l);o>-1&&i.internal.interaction.splice(o,1),r.eventCount&&l.raycast!==null&&i.internal.interaction.push(l)}return r&&r.props.attach===void 0&&(r.object.isBufferGeometry?r.props.attach="geometry":r.object.isMaterial&&(r.props.attach="material")),r&&N3(r),e}function N3(e){var t;if(!e.parent)return;e.props.onUpdate==null||e.props.onUpdate(e.object);const n=(t=e.root)==null||t.getState==null?void 0:t.getState();n&&n.internal.frames===0&&n.invalidate()}function UEe(e,t){e.manual||(Dne(e)?(e.left=t.width/-2,e.right=t.width/2,e.top=t.height/2,e.bottom=t.height/-2):e.aspect=t.width/t.height,e.updateProjectionMatrix())}const Yc=e=>e==null?void 0:e.isObject3D;function __(e){return(e.eventObject||e.object).uuid+"/"+e.index+e.instanceId}function Rne(e,t,n,r){const i=n.get(t);i&&(n.delete(t),n.size===0&&(e.delete(r),i.target.releasePointerCapture(r)))}function jEe(e,t){const{internal:n}=e.getState();n.interaction=n.interaction.filter(r=>r!==t),n.initialHits=n.initialHits.filter(r=>r!==t),n.hovered.forEach((r,i)=>{(r.eventObject===t||r.object===t)&&n.hovered.delete(i)}),n.capturedMap.forEach((r,i)=>{Rne(n.capturedMap,t,r,i)})}function ZEe(e){function t(o){const{internal:s}=e.getState(),c=o.offsetX-s.initialClick[0],d=o.offsetY-s.initialClick[1];return Math.round(Math.sqrt(c*c+d*d))}function n(o){return o.filter(s=>["Move","Over","Enter","Out","Leave"].some(c=>{var d;return(d=s.__r3f)==null?void 0:d.handlers["onPointer"+c]}))}function r(o,s){const c=e.getState(),d=new Set,h=[],m=s?s(c.internal.interaction):c.internal.interaction;for(let x=0;x<m.length;x++){const E=uO(m[x]);E&&(E.raycaster.camera=void 0)}c.previousRoot||c.events.compute==null||c.events.compute(o,c);function y(x){const E=uO(x);if(!E||!E.events.enabled||E.raycaster.camera===null)return[];if(E.raycaster.camera===void 0){var w;E.events.compute==null||E.events.compute(o,E,(w=E.previousRoot)==null?void 0:w.getState()),E.raycaster.camera===void 0&&(E.raycaster.camera=null)}return E.raycaster.camera?E.raycaster.intersectObject(x,!0):[]}let v=m.flatMap(y).sort((x,E)=>{const w=uO(x.object),T=uO(E.object);return!w||!T?x.distance-E.distance:T.events.priority-w.events.priority||x.distance-E.distance}).filter(x=>{const E=__(x);return d.has(E)?!1:(d.add(E),!0)});c.events.filter&&(v=c.events.filter(v,c));for(const x of v){let E=x.object;for(;E;){var _;(_=E.__r3f)!=null&&_.eventCount&&h.push({...x,eventObject:E}),E=E.parent}}if("pointerId"in o&&c.internal.capturedMap.has(o.pointerId))for(let x of c.internal.capturedMap.get(o.pointerId).values())d.has(__(x.intersection))||h.push(x.intersection);return h}function i(o,s,c,d){if(o.length){const h={stopped:!1};for(const m of o){let y=uO(m.object);if(y||m.object.traverseAncestors(v=>{const _=uO(v);if(_)return y=_,!1}),y){const{raycaster:v,pointer:_,camera:x,internal:E}=y,w=new ui(_.x,_.y,0).unproject(x),T=z=>{var Z,q;return(Z=(q=E.capturedMap.get(z))==null?void 0:q.has(m.eventObject))!=null?Z:!1},R=z=>{const Z={intersection:m,target:s.target};E.capturedMap.has(z)?E.capturedMap.get(z).set(m.eventObject,Z):E.capturedMap.set(z,new Map([[m.eventObject,Z]])),s.target.setPointerCapture(z)},C=z=>{const Z=E.capturedMap.get(z);Z&&Rne(E.capturedMap,m.eventObject,Z,z)};let k={};for(let z in s){let Z=s[z];typeof Z!="function"&&(k[z]=Z)}let F={...m,...k,pointer:_,intersections:o,stopped:h.stopped,delta:c,unprojectedPoint:w,ray:v.ray,camera:x,stopPropagation(){const z="pointerId"in s&&E.capturedMap.get(s.pointerId);if((!z||z.has(m.eventObject))&&(F.stopped=h.stopped=!0,E.hovered.size&&Array.from(E.hovered.values()).find(Z=>Z.eventObject===m.eventObject))){const Z=o.slice(0,o.indexOf(m));a([...Z,m])}},target:{hasPointerCapture:T,setPointerCapture:R,releasePointerCapture:C},currentTarget:{hasPointerCapture:T,setPointerCapture:R,releasePointerCapture:C},nativeEvent:s};if(d(F),h.stopped===!0)break}}}return o}function a(o){const{internal:s}=e.getState();for(const c of s.hovered.values())if(!o.length||!o.find(d=>d.object===c.object&&d.index===c.index&&d.instanceId===c.instanceId)){const h=c.eventObject.__r3f;if(s.hovered.delete(__(c)),h!=null&&h.eventCount){const m=h.handlers,y={...c,intersections:o};m.onPointerOut==null||m.onPointerOut(y),m.onPointerLeave==null||m.onPointerLeave(y)}}}function u(o,s){for(let c=0;c<s.length;c++){const d=s[c].__r3f;d==null||d.handlers.onPointerMissed==null||d.handlers.onPointerMissed(o)}}function l(o){switch(o){case"onPointerLeave":case"onPointerCancel":return()=>a([]);case"onLostPointerCapture":return s=>{const{internal:c}=e.getState();"pointerId"in s&&c.capturedMap.has(s.pointerId)&&requestAnimationFrame(()=>{c.capturedMap.has(s.pointerId)&&(c.capturedMap.delete(s.pointerId),a([]))})}}return function(c){const{onPointerMissed:d,internal:h}=e.getState();h.lastEvent.current=c;const m=o==="onPointerMove",y=o==="onClick"||o==="onContextMenu"||o==="onDoubleClick",_=r(c,m?n:void 0),x=y?t(c):0;o==="onPointerDown"&&(h.initialClick=[c.offsetX,c.offsetY],h.initialHits=_.map(w=>w.eventObject)),y&&!_.length&&x<=2&&(u(c,h.interaction),d&&d(c)),m&&a(_);function E(w){const T=w.eventObject,R=T.__r3f;if(!(R!=null&&R.eventCount))return;const C=R.handlers;if(m){if(C.onPointerOver||C.onPointerEnter||C.onPointerOut||C.onPointerLeave){const k=__(w),F=h.hovered.get(k);F?F.stopped&&w.stopPropagation():(h.hovered.set(k,w),C.onPointerOver==null||C.onPointerOver(w),C.onPointerEnter==null||C.onPointerEnter(w))}C.onPointerMove==null||C.onPointerMove(w)}else{const k=C[o];k?(!y||h.initialHits.includes(T))&&(u(c,h.interaction.filter(F=>!h.initialHits.includes(F))),k(w)):y&&h.initialHits.includes(T)&&u(c,h.interaction.filter(F=>!h.initialHits.includes(F)))}}i(_,c,x,E)}}return{handlePointer:l}}const kU=e=>!!(e!=null&&e.render),Ane=P.createContext(null),HEe=(e,t)=>{const n=_Ee((l,o)=>{const s=new ui,c=new ui,d=new ui;function h(x=o().camera,E=c,w=o().size){const{width:T,height:R,top:C,left:k}=w,F=T/R;E.isVector3?d.copy(E):d.set(...E);const z=x.getWorldPosition(s).distanceTo(d);if(Dne(x))return{width:T/x.zoom,height:R/x.zoom,top:C,left:k,factor:1,distance:z,aspect:F};{const Z=x.fov*Math.PI/180,q=2*Math.tan(Z/2)*z,j=q*(T/R);return{width:j,height:q,top:C,left:k,factor:T/j,distance:z,aspect:F}}}let m;const y=x=>l(E=>({performance:{...E.performance,current:x}})),v=new Gl;return{set:l,get:o,gl:null,camera:null,raycaster:null,events:{priority:1,enabled:!0,connected:!1},scene:null,xr:null,invalidate:(x=1)=>e(o(),x),advance:(x,E)=>t(x,E,o()),legacy:!1,linear:!1,flat:!1,controls:null,clock:new sbe,pointer:v,mouse:v,frameloop:"always",onPointerMissed:void 0,performance:{current:1,min:.5,max:1,debounce:200,regress:()=>{const x=o();m&&clearTimeout(m),x.performance.current!==x.performance.min&&y(x.performance.min),m=setTimeout(()=>y(o().performance.max),x.performance.debounce)}},size:{width:0,height:0,top:0,left:0},viewport:{initialDpr:0,dpr:0,width:0,height:0,top:0,left:0,aspect:0,distance:0,factor:0,getCurrentViewport:h},setEvents:x=>l(E=>({...E,events:{...E.events,...x}})),setSize:(x,E,w=0,T=0)=>{const R=o().camera,C={width:x,height:E,top:w,left:T};l(k=>({size:C,viewport:{...k.viewport,...h(R,c,C)}}))},setDpr:x=>l(E=>{const w=Cne(x);return{viewport:{...E.viewport,dpr:w,initialDpr:E.viewport.initialDpr||w}}}),setFrameloop:(x="always")=>{const E=o().clock;E.stop(),E.elapsedTime=0,x!=="never"&&(E.start(),E.elapsedTime=0),l(()=>({frameloop:x}))},previousRoot:void 0,internal:{interaction:[],hovered:new Map,subscribers:[],initialClick:[0,0],initialHits:[],capturedMap:new Map,lastEvent:P.createRef(),active:!1,frames:0,priority:0,subscribe:(x,E,w)=>{const T=o().internal;return T.priority=T.priority+(E>0?1:0),T.subscribers.push({ref:x,priority:E,store:w}),T.subscribers=T.subscribers.sort((R,C)=>R.priority-C.priority),()=>{const R=o().internal;R!=null&&R.subscribers&&(R.priority=R.priority-(E>0?1:0),R.subscribers=R.subscribers.filter(C=>C.ref!==x))}}}}}),r=n.getState();let i=r.size,a=r.viewport.dpr,u=r.camera;return n.subscribe(()=>{const{camera:l,size:o,viewport:s,gl:c,set:d}=n.getState();if(o.width!==i.width||o.height!==i.height||s.dpr!==a){i=o,a=s.dpr,UEe(l,o),s.dpr>0&&c.setPixelRatio(s.dpr);const h=typeof HTMLCanvasElement<"u"&&c.domElement instanceof HTMLCanvasElement;c.setSize(o.width,o.height,h)}l!==u&&(u=l,d(h=>({viewport:{...h.viewport,...h.viewport.getCurrentViewport(l)}})))}),n.subscribe(l=>e(l)),n};function Tne(){const e=P.useContext(Ane);if(!e)throw new Error("R3F: Hooks can only be used within the Canvas component!");return e}function Ld(e=n=>n,t){return Tne()(e,t)}function xC(e,t=0){const n=Tne(),r=n.getState().internal.subscribe,i=$ne(e);return XS(()=>r(i,t,n),[t,r,n]),null}function XEe(e){const t=wEe(e);return t.injectIntoDevTools({bundleType:0,rendererPackageName:"@react-three/fiber",version:P.version}),t}const kne=0,d3={},YEe=/^three(?=[A-Z])/,_C=e=>`${e[0].toUpperCase()}${e.slice(1)}`;let GEe=0;const KEe=e=>typeof e=="function";function WEe(e){if(KEe(e)){const t=`${GEe++}`;return d3[t]=e,t}else Object.assign(d3,e)}function Pne(e,t){const n=_C(e),r=d3[n];if(e!=="primitive"&&!r)throw new Error(`R3F: ${n} is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively`);if(e==="primitive"&&!t.object)throw new Error("R3F: Primitives without 'object' are invalid!");if(t.args!==void 0&&!Array.isArray(t.args))throw new Error("R3F: The args prop must be an array!")}function JEe(e,t,n){var r;return e=_C(e)in d3?e:e.replace(YEe,""),Pne(e,t),e==="primitive"&&(r=t.object)!=null&&r.__r3f&&delete t.object.__r3f,hD(t.object,n,e,t)}function eDe(e){if(!e.isHidden){var t;e.props.attach&&(t=e.parent)!=null&&t.object?mD(e.parent,e):Yc(e.object)&&(e.object.visible=!1),e.isHidden=!0,N3(e)}}function Mne(e){if(e.isHidden){var t;e.props.attach&&(t=e.parent)!=null&&t.object?pD(e.parent,e):Yc(e.object)&&e.props.visible!==!1&&(e.object.visible=!0),e.isHidden=!1,N3(e)}}function aN(e,t,n){const r=t.root.getState();if(!(!e.parent&&e.object!==r.scene)){if(!t.object){var i,a;const u=d3[_C(t.type)];t.object=(i=t.props.object)!=null?i:new u(...(a=t.props.args)!=null?a:[]),t.object.__r3f=t}if(vv(t.object,t.props),t.props.attach)pD(e,t);else if(Yc(t.object)&&Yc(e.object)){const u=e.object.children.indexOf(n==null?void 0:n.object);if(n&&u!==-1){const l=e.object.children.indexOf(t.object);if(l!==-1){e.object.children.splice(l,1);const o=l<u?u-1:u;e.object.children.splice(o,0,t.object)}else t.object.parent=e.object,e.object.children.splice(u,0,t.object),t.object.dispatchEvent({type:"added"}),e.object.dispatchEvent({type:"childadded",child:t.object})}else e.object.add(t.object)}for(const u of t.children)aN(t,u);N3(t)}}function kT(e,t){t&&(t.parent=e,e.children.push(t),aN(e,t))}function PU(e,t,n){if(!t||!n)return;t.parent=e;const r=e.children.indexOf(n);r!==-1?e.children.splice(r,0,t):e.children.push(t),aN(e,t,n)}function Fne(e){if(typeof e.dispose=="function"){const t=()=>{try{e.dispose()}catch{}};typeof IS_REACT_ACT_ENVIRONMENT<"u"?t():RU.unstable_scheduleCallback(RU.unstable_IdlePriority,t)}}function a9(e,t,n){if(!t)return;t.parent=null;const r=e.children.indexOf(t);r!==-1&&e.children.splice(r,1),t.props.attach?mD(e,t):Yc(t.object)&&Yc(e.object)&&(e.object.remove(t.object),jEe(Ene(t),t.object));const i=t.props.dispose!==null&&n!==!1;for(let a=t.children.length-1;a>=0;a--){const u=t.children[a];a9(t,u,i)}t.children.length=0,delete t.object.__r3f,i&&t.type!=="primitive"&&t.object.type!=="Scene"&&Fne(t.object),n===void 0&&N3(t)}function tDe(e,t){for(const n of[e,e.alternate])if(n!==null)if(typeof n.ref=="function"){n.refCleanup==null||n.refCleanup();const r=n.ref(t);typeof r=="function"&&(n.refCleanup=r)}else n.ref&&(n.ref.current=t)}const DE=[];function nDe(){for(const[n]of DE){const r=n.parent;if(r){n.props.attach?mD(r,n):Yc(n.object)&&Yc(r.object)&&r.object.remove(n.object);for(const i of n.children)i.props.attach?mD(n,i):Yc(i.object)&&Yc(n.object)&&n.object.remove(i.object)}n.isHidden&&Mne(n),n.object.__r3f&&delete n.object.__r3f,n.type!=="primitive"&&Fne(n.object)}for(const[n,r,i]of DE){n.props=r;const a=n.parent;if(a){var e,t;const u=d3[_C(n.type)];n.object=(e=n.props.object)!=null?e:new u(...(t=n.props.args)!=null?t:[]),n.object.__r3f=n,tDe(i,n.object),vv(n.object,n.props),n.props.attach?pD(a,n):Yc(n.object)&&Yc(a.object)&&a.object.add(n.object);for(const l of n.children)l.props.attach?pD(n,l):Yc(l.object)&&Yc(n.object)&&n.object.add(l.object);N3(n)}}DE.length=0}const PT=()=>{},MU={};let E_=kne;const rDe=0,iDe=4,u9=XEe({isPrimaryRenderer:!1,warnsIfNotActing:!1,supportsMutation:!0,supportsPersistence:!1,supportsHydration:!1,createInstance:JEe,removeChild:a9,appendChild:kT,appendInitialChild:kT,insertBefore:PU,appendChildToContainer(e,t){const n=e.getState().scene.__r3f;!t||!n||kT(n,t)},removeChildFromContainer(e,t){const n=e.getState().scene.__r3f;!t||!n||a9(n,t)},insertInContainerBefore(e,t,n){const r=e.getState().scene.__r3f;!t||!n||!r||PU(r,t,n)},getRootHostContext:()=>MU,getChildHostContext:()=>MU,commitUpdate(e,t,n,r,i){var a,u,l;Pne(t,r);let o=!1;if((e.type==="primitive"&&n.object!==r.object||((a=r.args)==null?void 0:a.length)!==((u=n.args)==null?void 0:u.length)||(l=r.args)!=null&&l.some((c,d)=>{var h;return c!==((h=n.args)==null?void 0:h[d])}))&&(o=!0),o)DE.push([e,{...r},i]);else{const c=zEe(e,r);Object.keys(c).length&&(Object.assign(e.props,c),vv(e.object,c))}(i.sibling===null||(i.flags&iDe)===rDe)&&nDe()},finalizeInitialChildren:()=>!1,commitMount(){},getPublicInstance:e=>e==null?void 0:e.object,prepareForCommit:()=>null,preparePortalMount:e=>hD(e.getState().scene,e,"",{}),resetAfterCommit:()=>{},shouldSetTextContent:()=>!1,clearContainer:()=>!1,hideInstance:eDe,unhideInstance:Mne,createTextInstance:PT,hideTextInstance:PT,unhideTextInstance:PT,scheduleTimeout:typeof setTimeout=="function"?setTimeout:void 0,cancelTimeout:typeof clearTimeout=="function"?clearTimeout:void 0,noTimeout:-1,getInstanceFromNode:()=>null,beforeActiveInstanceBlur(){},afterActiveInstanceBlur(){},detachDeletedInstance(){},prepareScopeUpdate(){},getInstanceFromScope:()=>null,shouldAttemptEagerTransition:()=>!1,trackSchedulerEvent:()=>{},resolveEventType:()=>null,resolveEventTimeStamp:()=>-1.1,requestPostPaintCallback(){},maySuspendCommit:()=>!1,preloadInstance:()=>!0,startSuspendingCommit(){},suspendInstance(){},waitForCommitToBeReady:()=>null,NotPendingTransition:null,HostTransitionContext:P.createContext(null),setCurrentUpdatePriority(e){E_=e},getCurrentUpdatePriority(){return E_},resolveUpdatePriority(){var e;if(E_!==kne)return E_;switch(typeof window<"u"&&((e=window.event)==null?void 0:e.type)){case"click":case"contextmenu":case"dblclick":case"pointercancel":case"pointerdown":case"pointerup":return EE.DiscreteEventPriority;case"pointermove":case"pointerout":case"pointerover":case"pointerenter":case"pointerleave":case"wheel":return EE.ContinuousEventPriority;default:return EE.DefaultEventPriority}},resetFormInstance(){}}),Z1=new Map,lO={objects:"shallow",strict:!1};function aDe(e,t){if(!t&&typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement&&e.parentElement){const{width:n,height:r,top:i,left:a}=e.parentElement.getBoundingClientRect();return{width:n,height:r,top:i,left:a}}else if(!t&&typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas)return{width:e.width,height:e.height,top:0,left:0};return{width:0,height:0,top:0,left:0,...t}}function uDe(e){const t=Z1.get(e),n=t==null?void 0:t.fiber,r=t==null?void 0:t.store;t&&console.warn("R3F.createRoot should only be called once!");const i=typeof reportError=="function"?reportError:console.error,a=r||HEe(s9,NU),u=n||u9.createContainer(a,EE.ConcurrentRoot,null,!1,null,"",i,i,i,null);t||Z1.set(e,{fiber:u,store:a});let l,o,s=!1,c=null;return{async configure(d={}){let h;c=new Promise(K=>h=K);let{gl:m,size:y,scene:v,events:_,onCreated:x,shadows:E=!1,linear:w=!1,flat:T=!1,legacy:R=!1,orthographic:C=!1,frameloop:k="always",dpr:F=[1,2],performance:z,raycaster:Z,camera:q,onPointerMissed:j}=d,N=a.getState(),V=N.gl;if(!N.gl){const K={canvas:e,powerPreference:"high-performance",antialias:!0,alpha:!0},Y=typeof m=="function"?await m(K):m;kU(Y)?V=Y:V=new K1e({...K,...m}),N.set({gl:V})}let W=N.raycaster;W||N.set({raycaster:W=new W1e});const{params:G,...J}=Z||{};if(au.equ(J,W,lO)||vv(W,{...J}),au.equ(G,W.params,lO)||vv(W,{params:{...W.params,...G}}),!N.camera||N.camera===o&&!au.equ(o,q,lO)){o=q;const K=q==null?void 0:q.isCamera,Y=K?q:C?new IO(0,0,0,0,.1,1e3):new LO(75,0,.1,1e3);K||(Y.position.z=5,q&&(vv(Y,q),Y.manual||("aspect"in q||"left"in q||"right"in q||"bottom"in q||"top"in q)&&(Y.manual=!0,Y.updateProjectionMatrix())),!N.camera&&!(q!=null&&q.rotation)&&Y.lookAt(0,0,0)),N.set({camera:Y}),W.camera=Y}if(!N.scene){let K;v!=null&&v.isScene?(K=v,hD(K,a,"",{})):(K=new J1e,hD(K,a,"",{}),v&&vv(K,v)),N.set({scene:K})}_&&!N.events.handlers&&N.set({events:_(a)});const te=aDe(e,y);if(au.equ(te,N.size,lO)||N.setSize(te.width,te.height,te.top,te.left),F&&N.viewport.dpr!==Cne(F)&&N.setDpr(F),N.frameloop!==k&&N.setFrameloop(k),N.onPointerMissed||N.set({onPointerMissed:j}),z&&!au.equ(z,N.performance,lO)&&N.set(K=>({performance:{...K.performance,...z}})),!N.xr){var X;const K=(ne,oe)=>{const ae=a.getState();ae.frameloop!=="never"&&NU(ne,!0,ae,oe)},Y=()=>{const ne=a.getState();ne.gl.xr.enabled=ne.gl.xr.isPresenting,ne.gl.xr.setAnimationLoop(ne.gl.xr.isPresenting?K:null),ne.gl.xr.isPresenting||s9(ne)},B={connect(){const ne=a.getState().gl;ne.xr.addEventListener("sessionstart",Y),ne.xr.addEventListener("sessionend",Y)},disconnect(){const ne=a.getState().gl;ne.xr.removeEventListener("sessionstart",Y),ne.xr.removeEventListener("sessionend",Y)}};typeof((X=V.xr)==null?void 0:X.addEventListener)=="function"&&B.connect(),N.set({xr:B})}if(V.shadowMap){const K=V.shadowMap.enabled,Y=V.shadowMap.type;if(V.shadowMap.enabled=!!E,au.boo(E))V.shadowMap.type=vw;else if(au.str(E)){var M;const B={basic:nbe,percentage:tbe,soft:vw,variance:ebe};V.shadowMap.type=(M=B[E])!=null?M:vw}else au.obj(E)&&Object.assign(V.shadowMap,E);(K!==V.shadowMap.enabled||Y!==V.shadowMap.type)&&(V.shadowMap.needsUpdate=!0)}return rbe.enabled=!R,s||(V.outputColorSpace=w?ibe:fW,V.toneMapping=T?abe:ube),N.legacy!==R&&N.set(()=>({legacy:R})),N.linear!==w&&N.set(()=>({linear:w})),N.flat!==T&&N.set(()=>({flat:T})),m&&!au.fun(m)&&!kU(m)&&!au.equ(m,V,lO)&&vv(V,m),l=x,s=!0,h(),this},render(d){return!s&&!c&&this.configure(),c.then(()=>{u9.updateContainer(kr.jsx(lDe,{store:a,children:d,onCreated:l,rootElement:e}),u,null,()=>{})}),a},unmount(){Nne(e)}}}function lDe({store:e,children:t,onCreated:n,rootElement:r}){return XS(()=>{const i=e.getState();i.set(a=>({internal:{...a.internal,active:!0}})),n&&n(i),e.getState().events.connected||i.events.connect==null||i.events.connect(r)},[]),kr.jsx(Ane.Provider,{value:e,children:t})}function Nne(e,t){const n=Z1.get(e),r=n==null?void 0:n.fiber;if(r){const i=n==null?void 0:n.store.getState();i&&(i.internal.active=!1),u9.updateContainer(null,r,null,()=>{i&&setTimeout(()=>{try{var a,u,l,o;i.events.disconnect==null||i.events.disconnect(),(a=i.gl)==null||(u=a.renderLists)==null||u.dispose==null||u.dispose(),(l=i.gl)==null||l.forceContextLoss==null||l.forceContextLoss(),(o=i.gl)!=null&&o.xr&&i.xr.disconnect(),LEe(i.scene),Z1.delete(e)}catch{}},500)})}}const oDe=new Set,sDe=new Set,cDe=new Set;function MT(e,t){if(e.size)for(const{callback:n}of e.values())n(t)}function A2(e,t){switch(e){case"before":return MT(oDe,t);case"after":return MT(sDe,t);case"tail":return MT(cDe,t)}}let FT,NT;function l9(e,t,n){let r=t.clock.getDelta();t.frameloop==="never"&&typeof e=="number"&&(r=e-t.clock.elapsedTime,t.clock.oldTime=t.clock.elapsedTime,t.clock.elapsedTime=e),FT=t.internal.subscribers;for(let i=0;i<FT.length;i++)NT=FT[i],NT.ref.current(NT.store.getState(),r,n);return!t.internal.priority&&t.gl.render&&t.gl.render(t.scene,t.camera),t.internal.frames=Math.max(0,t.internal.frames-1),t.frameloop==="always"?1:t.internal.frames}let gD=!1,o9=!1,IT,FU,oO;function Ine(e){FU=requestAnimationFrame(Ine),gD=!0,IT=0,A2("before",e),o9=!0;for(const n of Z1.values()){var t;oO=n.store.getState(),oO.internal.active&&(oO.frameloop==="always"||oO.internal.frames>0)&&!((t=oO.gl.xr)!=null&&t.isPresenting)&&(IT+=l9(e,oO))}if(o9=!1,A2("after",e),IT===0)return A2("tail",e),gD=!1,cancelAnimationFrame(FU)}function s9(e,t=1){var n;if(!e)return Z1.forEach(r=>s9(r.store.getState(),t));(n=e.gl.xr)!=null&&n.isPresenting||!e.internal.active||e.frameloop==="never"||(t>1?e.internal.frames=Math.min(60,e.internal.frames+t):o9?e.internal.frames=2:e.internal.frames=1,gD||(gD=!0,requestAnimationFrame(Ine)))}function NU(e,t=!0,n,r){if(t&&A2("before",e),n)l9(e,n,r);else for(const i of Z1.values())l9(e,i.store.getState());t&&A2("after",e)}const LT={onClick:["click",!1],onContextMenu:["contextmenu",!1],onDoubleClick:["dblclick",!1],onWheel:["wheel",!0],onPointerDown:["pointerdown",!0],onPointerUp:["pointerup",!0],onPointerLeave:["pointerleave",!0],onPointerMove:["pointermove",!0],onPointerCancel:["pointercancel",!0],onLostPointerCapture:["lostpointercapture",!0]};function fDe(e){const{handlePointer:t}=ZEe(e);return{priority:1,enabled:!0,compute(n,r,i){r.pointer.set(n.offsetX/r.size.width*2-1,-(n.offsetY/r.size.height)*2+1),r.raycaster.setFromCamera(r.pointer,r.camera)},connected:void 0,handlers:Object.keys(LT).reduce((n,r)=>({...n,[r]:t(r)}),{}),update:()=>{var n;const{events:r,internal:i}=e.getState();(n=i.lastEvent)!=null&&n.current&&r.handlers&&r.handlers.onPointerMove(i.lastEvent.current)},connect:n=>{const{set:r,events:i}=e.getState();if(i.disconnect==null||i.disconnect(),r(a=>({events:{...a.events,connected:n}})),i.handlers)for(const a in i.handlers){const u=i.handlers[a],[l,o]=LT[a];n.addEventListener(l,u,{passive:o})}},disconnect:()=>{const{set:n,events:r}=e.getState();if(r.connected){if(r.handlers)for(const i in r.handlers){const a=r.handlers[i],[u]=LT[i];r.connected.removeEventListener(u,a)}n(i=>({events:{...i.events,connected:void 0}}))}}}}function IU(e,t){let n;return(...r)=>{window.clearTimeout(n),n=window.setTimeout(()=>e(...r),t)}}function dDe({debounce:e,scroll:t,polyfill:n,offsetSize:r}={debounce:0,scroll:!1,offsetSize:!1}){const i=n||(typeof window>"u"?class{}:window.ResizeObserver);if(!i)throw new Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");const[a,u]=P.useState({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),l=P.useRef({element:null,scrollContainers:null,resizeObserver:null,lastBounds:a,orientationHandler:null}),o=e?typeof e=="number"?e:e.scroll:null,s=e?typeof e=="number"?e:e.resize:null,c=P.useRef(!1);P.useEffect(()=>(c.current=!0,()=>void(c.current=!1)));const[d,h,m]=P.useMemo(()=>{const x=()=>{if(!l.current.element)return;const{left:E,top:w,width:T,height:R,bottom:C,right:k,x:F,y:z}=l.current.element.getBoundingClientRect(),Z={left:E,top:w,width:T,height:R,bottom:C,right:k,x:F,y:z};l.current.element instanceof HTMLElement&&r&&(Z.height=l.current.element.offsetHeight,Z.width=l.current.element.offsetWidth),Object.freeze(Z),c.current&&!gDe(l.current.lastBounds,Z)&&u(l.current.lastBounds=Z)};return[x,s?IU(x,s):x,o?IU(x,o):x]},[u,r,o,s]);function y(){l.current.scrollContainers&&(l.current.scrollContainers.forEach(x=>x.removeEventListener("scroll",m,!0)),l.current.scrollContainers=null),l.current.resizeObserver&&(l.current.resizeObserver.disconnect(),l.current.resizeObserver=null),l.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",l.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",l.current.orientationHandler))}function v(){l.current.element&&(l.current.resizeObserver=new i(m),l.current.resizeObserver.observe(l.current.element),t&&l.current.scrollContainers&&l.current.scrollContainers.forEach(x=>x.addEventListener("scroll",m,{capture:!0,passive:!0})),l.current.orientationHandler=()=>{m()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",l.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",l.current.orientationHandler))}const _=x=>{!x||x===l.current.element||(y(),l.current.element=x,l.current.scrollContainers=Lne(x),v())};return pDe(m,!!t),hDe(h),P.useEffect(()=>{y(),v()},[t,m,h]),P.useEffect(()=>y,[]),[_,a,d]}function hDe(e){P.useEffect(()=>{const t=e;return window.addEventListener("resize",t),()=>void window.removeEventListener("resize",t)},[e])}function pDe(e,t){P.useEffect(()=>{if(t){const n=e;return window.addEventListener("scroll",n,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",n,!0)}},[e,t])}function Lne(e){const t=[];if(!e||e===document.body)return t;const{overflow:n,overflowX:r,overflowY:i}=window.getComputedStyle(e);return[n,r,i].some(a=>a==="auto"||a==="scroll")&&t.push(e),[...t,...Lne(e.parentElement)]}const mDe=["x","y","top","bottom","left","right","width","height"],gDe=(e,t)=>mDe.every(n=>e[n]===t[n]);function vDe({ref:e,children:t,fallback:n,resize:r,style:i,gl:a,events:u=fDe,eventSource:l,eventPrefix:o,shadows:s,linear:c,flat:d,legacy:h,orthographic:m,frameloop:y,dpr:v,performance:_,raycaster:x,camera:E,scene:w,onPointerMissed:T,onCreated:R,...C}){P.useMemo(()=>WEe(cbe),[]);const k=FEe(),[F,z]=dDe({scroll:!0,debounce:{scroll:50,resize:0},...r}),Z=P.useRef(null),q=P.useRef(null);P.useImperativeHandle(e,()=>Z.current);const j=$ne(T),[N,V]=P.useState(!1),[W,G]=P.useState(!1);if(N)throw N;if(W)throw W;const J=P.useRef(null);XS(()=>{const X=Z.current;if(z.width>0&&z.height>0&&X){J.current||(J.current=uDe(X));async function M(){await J.current.configure({gl:a,scene:w,events:u,shadows:s,linear:c,flat:d,legacy:h,orthographic:m,frameloop:y,dpr:v,performance:_,raycaster:x,camera:E,size:z,onPointerMissed:(...K)=>j.current==null?void 0:j.current(...K),onCreated:K=>{K.events.connect==null||K.events.connect(l?PEe(l)?l.current:l:q.current),o&&K.setEvents({compute:(Y,B)=>{const ne=Y[o+"X"],oe=Y[o+"Y"];B.pointer.set(ne/B.size.width*2-1,-(oe/B.size.height)*2+1),B.raycaster.setFromCamera(B.pointer,B.camera)}}),R==null||R(K)}}),J.current.render(kr.jsx(k,{children:kr.jsx(IEe,{set:G,children:kr.jsx(P.Suspense,{fallback:kr.jsx(NEe,{set:V}),children:t??null})})}))}M()}}),P.useEffect(()=>{const X=Z.current;if(X)return()=>Nne(X)},[]);const te=l?"none":"auto";return kr.jsx("div",{ref:q,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",pointerEvents:te,...i},...C,children:kr.jsx("div",{ref:F,style:{width:"100%",height:"100%"},children:kr.jsx("canvas",{ref:Z,style:{display:"block"},children:n})})})}function yDe(e){return kr.jsx(xne,{children:kr.jsx(vDe,{...e})})}function Qv(){return Qv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qv.apply(null,arguments)}const YS=new ui,uN=new ui,bDe=new ui,LU=new Gl;function ODe(e,t,n){const r=YS.setFromMatrixPosition(e.matrixWorld);r.project(t);const i=n.width/2,a=n.height/2;return[r.x*i+i,-(r.y*a)+a]}function SDe(e,t){const n=YS.setFromMatrixPosition(e.matrixWorld),r=uN.setFromMatrixPosition(t.matrixWorld),i=n.sub(r),a=t.getWorldDirection(bDe);return i.angleTo(a)>Math.PI/2}function xDe(e,t,n,r){const i=YS.setFromMatrixPosition(e.matrixWorld),a=i.clone();a.project(t),LU.set(a.x,a.y),n.setFromCamera(LU,t);const u=n.intersectObjects(r,!0);if(u.length){const l=u[0].distance;return i.distanceTo(n.ray.origin)<l}return!0}function _De(e,t){if(t instanceof IO)return t.zoom;if(t instanceof LO){const n=YS.setFromMatrixPosition(e.matrixWorld),r=uN.setFromMatrixPosition(t.matrixWorld),i=t.fov*Math.PI/180,a=n.distanceTo(r);return 1/(2*Math.tan(i/2)*a)}else return 1}function EDe(e,t,n){if(t instanceof LO||t instanceof IO){const r=YS.setFromMatrixPosition(e.matrixWorld),i=uN.setFromMatrixPosition(t.matrixWorld),a=r.distanceTo(i),u=(n[1]-n[0])/(t.far-t.near),l=n[1]-u*t.far;return Math.round(u*a+l)}}const c9=e=>Math.abs(e)<1e-10?0:e;function Bne(e,t,n=""){let r="matrix3d(";for(let i=0;i!==16;i++)r+=c9(t[i]*e.elements[i])+(i!==15?",":")");return n+r}const DDe=(e=>t=>Bne(t,e))([1,-1,1,1,1,-1,1,1,1,-1,1,1,1,-1,1,1]),$De=(e=>(t,n)=>Bne(t,e(n),"translate(-50%,-50%)"))(e=>[1/e,1/e,1/e,1,-1/e,-1/e,-1/e,-1,1/e,1/e,1/e,1,1,1,1,1]);function CDe(e){return e&&typeof e=="object"&&"current"in e}const Ktt=P.forwardRef(({children:e,eps:t=.001,style:n,className:r,prepend:i,center:a,fullscreen:u,portal:l,distanceFactor:o,sprite:s=!1,transform:c=!1,occlude:d,onOcclude:h,castShadow:m,receiveShadow:y,material:v,geometry:_,zIndexRange:x=[16777271,0],calculatePosition:E=ODe,as:w="div",wrapperClass:T,pointerEvents:R="auto",...C},k)=>{const{gl:F,camera:z,scene:Z,size:q,raycaster:j,events:N,viewport:V}=Ld(),[W]=P.useState(()=>document.createElement(w)),G=P.useRef(null),J=P.useRef(null),te=P.useRef(0),X=P.useRef([0,0]),M=P.useRef(null),K=P.useRef(null),Y=(l==null?void 0:l.current)||N.connected||F.domElement.parentNode,B=P.useRef(null),ne=P.useRef(!1),oe=P.useMemo(()=>d&&d!=="blending"||Array.isArray(d)&&d.length&&CDe(d[0]),[d]);P.useLayoutEffect(()=>{const pe=F.domElement;d&&d==="blending"?(pe.style.zIndex=`${Math.floor(x[0]/2)}`,pe.style.position="absolute",pe.style.pointerEvents="none"):(pe.style.zIndex=null,pe.style.position=null,pe.style.pointerEvents=null)},[d]),P.useLayoutEffect(()=>{if(J.current){const pe=G.current=RW.createRoot(W);if(Z.updateMatrixWorld(),c)W.style.cssText="position:absolute;top:0;left:0;pointer-events:none;overflow:hidden;";else{const _e=E(J.current,z,q);W.style.cssText=`position:absolute;top:0;left:0;transform:translate3d(${_e[0]}px,${_e[1]}px,0);transform-origin:0 0;`}return Y&&(i?Y.prepend(W):Y.appendChild(W)),()=>{Y&&Y.removeChild(W),pe.unmount()}}},[Y,c]),P.useLayoutEffect(()=>{T&&(W.className=T)},[T]);const ae=P.useMemo(()=>c?{position:"absolute",top:0,left:0,width:q.width,height:q.height,transformStyle:"preserve-3d",pointerEvents:"none"}:{position:"absolute",transform:a?"translate3d(-50%,-50%,0)":"none",...u&&{top:-q.height/2,left:-q.width/2,width:q.width,height:q.height},...n},[n,a,u,q,c]),de=P.useMemo(()=>({position:"absolute",pointerEvents:R}),[R]);P.useLayoutEffect(()=>{if(ne.current=!1,c){var pe;(pe=G.current)==null||pe.render(P.createElement("div",{ref:M,style:ae},P.createElement("div",{ref:K,style:de},P.createElement("div",{ref:k,className:r,style:n,children:e}))))}else{var _e;(_e=G.current)==null||_e.render(P.createElement("div",{ref:k,style:ae,className:r,children:e}))}});const be=P.useRef(!0);xC(pe=>{if(J.current){z.updateMatrixWorld(),J.current.updateWorldMatrix(!0,!1);const _e=c?X.current:E(J.current,z,q);if(c||Math.abs(te.current-z.zoom)>t||Math.abs(X.current[0]-_e[0])>t||Math.abs(X.current[1]-_e[1])>t){const se=SDe(J.current,z);let me=!1;oe&&(Array.isArray(d)?me=d.map(Re=>Re.current):d!=="blending"&&(me=[Z]));const ge=be.current;if(me){const Re=xDe(J.current,z,j,me);be.current=Re&&!se}else be.current=!se;ge!==be.current&&(h?h(!be.current):W.style.display=be.current?"block":"none");const we=Math.floor(x[0]/2),Ne=d?oe?[x[0],we]:[we-1,0]:x;if(W.style.zIndex=`${EDe(J.current,z,Ne)}`,c){const[Re,et]=[q.width/2,q.height/2],tt=z.projectionMatrix.elements[5]*et,{isOrthographicCamera:Oe,top:$e,left:Ae,bottom:Ue,right:Ze}=z,Ye=DDe(z.matrixWorldInverse),Me=Oe?`scale(${tt})translate(${c9(-(Ze+Ae)/2)}px,${c9(($e+Ue)/2)}px)`:`translateZ(${tt}px)`;let ze=J.current.matrixWorld;s&&(ze=z.matrixWorldInverse.clone().transpose().copyPosition(ze).scale(J.current.scale),ze.elements[3]=ze.elements[7]=ze.elements[11]=0,ze.elements[15]=1),W.style.width=q.width+"px",W.style.height=q.height+"px",W.style.perspective=Oe?"":`${tt}px`,M.current&&K.current&&(M.current.style.transform=`${Me}${Ye}translate(${Re}px,${et}px)`,K.current.style.transform=$De(ze,1/((o||10)/400)))}else{const Re=o===void 0?1:_De(J.current,z)*o;W.style.transform=`translate3d(${_e[0]}px,${_e[1]}px,0) scale(${Re})`}X.current=_e,te.current=z.zoom}}if(!oe&&B.current&&!ne.current)if(c){if(M.current){const _e=M.current.children[0];if(_e!=null&&_e.clientWidth&&_e!=null&&_e.clientHeight){const{isOrthographicCamera:se}=z;if(se||_)C.scale&&(Array.isArray(C.scale)?C.scale instanceof ui?B.current.scale.copy(C.scale.clone().divideScalar(1)):B.current.scale.set(1/C.scale[0],1/C.scale[1],1/C.scale[2]):B.current.scale.setScalar(1/C.scale));else{const me=(o||10)/400,ge=_e.clientWidth*me,we=_e.clientHeight*me;B.current.scale.set(ge,we,1)}ne.current=!0}}}else{const _e=W.children[0];if(_e!=null&&_e.clientWidth&&_e!=null&&_e.clientHeight){const se=1/V.factor,me=_e.clientWidth*se,ge=_e.clientHeight*se;B.current.scale.set(me,ge,1),ne.current=!0}B.current.lookAt(pe.camera.position)}});const ye=P.useMemo(()=>({vertexShader:c?void 0:`
          /*
            This shader is from the THREE's SpriteMaterial.
            We need to turn the backing plane into a Sprite
            (make it always face the camera) if "transfrom"
            is false.
          */
          #include <common>

          void main() {
            vec2 center = vec2(0., 1.);
            float rotation = 0.0;

            // This is somewhat arbitrary, but it seems to work well
            // Need to figure out how to derive this dynamically if it even matters
            float size = 0.03;

            vec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );
            vec2 scale;
            scale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );
            scale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );

            bool isPerspective = isPerspectiveMatrix( projectionMatrix );
            if ( isPerspective ) scale *= - mvPosition.z;

            vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale * size;
            vec2 rotatedPosition;
            rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;
            rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;
            mvPosition.xy += rotatedPosition;

            gl_Position = projectionMatrix * mvPosition;
          }
      `,fragmentShader:`
        void main() {
          gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);
        }
      `}),[c]);return P.createElement("group",Qv({},C,{ref:J}),d&&!oe&&P.createElement("mesh",{castShadow:m,receiveShadow:y,ref:B},_||P.createElement("planeGeometry",null),v||P.createElement("shaderMaterial",{side:fbe,vertexShader:ye.vertexShader,fragmentShader:ye.fragmentShader})))}),Qne=parseInt(dbe.replace(/\D+/g,"")),zne=Qne>=125?"uv1":"uv2",wDe=(e,t)=>{const n=e[0].index!==null,r=new Set(Object.keys(e[0].attributes)),i=new Set(Object.keys(e[0].morphAttributes)),a={},u={},l=e[0].morphTargetsRelative,o=new hbe;if(e.forEach((s,c)=>{let d=0;if(n!==(s.index!==null))return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+c+". All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them."),null;for(let h in s.attributes){if(!r.has(h))return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+c+'. All geometries must have compatible attributes; make sure "'+h+'" attribute exists among all geometries, or in none of them.'),null;a[h]===void 0&&(a[h]=[]),a[h].push(s.attributes[h]),d++}if(d!==r.size)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+c+". Make sure all geometries have the same number of attributes."),null;if(l!==s.morphTargetsRelative)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+c+". .morphTargetsRelative must be consistent throughout all geometries."),null;for(let h in s.morphAttributes){if(!i.has(h))return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index "+c+".  .morphAttributes must be consistent throughout all geometries."),null;u[h]===void 0&&(u[h]=[]),u[h].push(s.morphAttributes[h])}o.userData.mergedUserData=o.userData.mergedUserData||[],o.userData.mergedUserData.push(s.userData)}),n){let s=0;const c=[];e.forEach(d=>{const h=d.index;for(let m=0;m<h.count;++m)c.push(h.getX(m)+s);s+=d.attributes.position.count}),o.setIndex(c)}for(let s in a){const c=BU(a[s]);if(!c)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed while trying to merge the "+s+" attribute."),null;o.setAttribute(s,c)}for(let s in u){const c=u[s][0].length;if(c===0)break;o.morphAttributes=o.morphAttributes||{},o.morphAttributes[s]=[];for(let d=0;d<c;++d){const h=[];for(let y=0;y<u[s].length;++y)h.push(u[s][y][d]);const m=BU(h);if(!m)return console.error("THREE.BufferGeometryUtils: .mergeBufferGeometries() failed while trying to merge the "+s+" morphAttribute."),null;o.morphAttributes[s].push(m)}}return o},BU=e=>{let t,n,r,i=0;if(e.forEach(a=>{if(t===void 0&&(t=a.array.constructor),t!==a.array.constructor)return console.error("THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. BufferAttribute.array must be of consistent array types across matching attributes."),null;if(n===void 0&&(n=a.itemSize),n!==a.itemSize)return console.error("THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. BufferAttribute.itemSize must be consistent across matching attributes."),null;if(r===void 0&&(r=a.normalized),r!==a.normalized)return console.error("THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. BufferAttribute.normalized must be consistent across matching attributes."),null;i+=a.array.length}),t&&n){const a=new t(i);let u=0;return e.forEach(l=>{a.set(l.array,u),u+=l.array.length}),new pbe(a,n,r)}};var RDe=Object.defineProperty,ADe=(e,t,n)=>t in e?RDe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,TDe=(e,t,n)=>(ADe(e,t+"",n),n);class kDe{constructor(){TDe(this,"_listeners")}addEventListener(t,n){this._listeners===void 0&&(this._listeners={});const r=this._listeners;r[t]===void 0&&(r[t]=[]),r[t].indexOf(n)===-1&&r[t].push(n)}hasEventListener(t,n){if(this._listeners===void 0)return!1;const r=this._listeners;return r[t]!==void 0&&r[t].indexOf(n)!==-1}removeEventListener(t,n){if(this._listeners===void 0)return;const i=this._listeners[t];if(i!==void 0){const a=i.indexOf(n);a!==-1&&i.splice(a,1)}}dispatchEvent(t){if(this._listeners===void 0)return;const r=this._listeners[t.type];if(r!==void 0){t.target=this;const i=r.slice(0);for(let a=0,u=i.length;a<u;a++)i[a].call(this,t);t.target=null}}}var PDe=Object.defineProperty,MDe=(e,t,n)=>t in e?PDe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kn=(e,t,n)=>(MDe(e,typeof t!="symbol"?t+"":t,n),n);const D_=new mbe,QU=new gbe,FDe=Math.cos(70*(Math.PI/180)),zU=(e,t)=>(e%t+t)%t;let NDe=class extends kDe{constructor(t,n){super(),kn(this,"object"),kn(this,"domElement"),kn(this,"enabled",!0),kn(this,"target",new ui),kn(this,"minDistance",0),kn(this,"maxDistance",1/0),kn(this,"minZoom",0),kn(this,"maxZoom",1/0),kn(this,"minPolarAngle",0),kn(this,"maxPolarAngle",Math.PI),kn(this,"minAzimuthAngle",-1/0),kn(this,"maxAzimuthAngle",1/0),kn(this,"enableDamping",!1),kn(this,"dampingFactor",.05),kn(this,"enableZoom",!0),kn(this,"zoomSpeed",1),kn(this,"enableRotate",!0),kn(this,"rotateSpeed",1),kn(this,"enablePan",!0),kn(this,"panSpeed",1),kn(this,"screenSpacePanning",!0),kn(this,"keyPanSpeed",7),kn(this,"zoomToCursor",!1),kn(this,"autoRotate",!1),kn(this,"autoRotateSpeed",2),kn(this,"reverseOrbit",!1),kn(this,"reverseHorizontalOrbit",!1),kn(this,"reverseVerticalOrbit",!1),kn(this,"keys",{LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",BOTTOM:"ArrowDown"}),kn(this,"mouseButtons",{LEFT:tO.ROTATE,MIDDLE:tO.DOLLY,RIGHT:tO.PAN}),kn(this,"touches",{ONE:nO.ROTATE,TWO:nO.DOLLY_PAN}),kn(this,"target0"),kn(this,"position0"),kn(this,"zoom0"),kn(this,"_domElementKeyEvents",null),kn(this,"getPolarAngle"),kn(this,"getAzimuthalAngle"),kn(this,"setPolarAngle"),kn(this,"setAzimuthalAngle"),kn(this,"getDistance"),kn(this,"getZoomScale"),kn(this,"listenToKeyEvents"),kn(this,"stopListenToKeyEvents"),kn(this,"saveState"),kn(this,"reset"),kn(this,"update"),kn(this,"connect"),kn(this,"dispose"),kn(this,"dollyIn"),kn(this,"dollyOut"),kn(this,"getScale"),kn(this,"setScale"),this.object=t,this.domElement=n,this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this.getPolarAngle=()=>c.phi,this.getAzimuthalAngle=()=>c.theta,this.setPolarAngle=Fe=>{let ht=zU(Fe,2*Math.PI),Tt=c.phi;Tt<0&&(Tt+=2*Math.PI),ht<0&&(ht+=2*Math.PI);let Qt=Math.abs(ht-Tt);2*Math.PI-Qt<Qt&&(ht<Tt?ht+=2*Math.PI:Tt+=2*Math.PI),d.phi=ht-Tt,r.update()},this.setAzimuthalAngle=Fe=>{let ht=zU(Fe,2*Math.PI),Tt=c.theta;Tt<0&&(Tt+=2*Math.PI),ht<0&&(ht+=2*Math.PI);let Qt=Math.abs(ht-Tt);2*Math.PI-Qt<Qt&&(ht<Tt?ht+=2*Math.PI:Tt+=2*Math.PI),d.theta=ht-Tt,r.update()},this.getDistance=()=>r.object.position.distanceTo(r.target),this.listenToKeyEvents=Fe=>{Fe.addEventListener("keydown",st),this._domElementKeyEvents=Fe},this.stopListenToKeyEvents=()=>{this._domElementKeyEvents.removeEventListener("keydown",st),this._domElementKeyEvents=null},this.saveState=()=>{r.target0.copy(r.target),r.position0.copy(r.object.position),r.zoom0=r.object.zoom},this.reset=()=>{r.target.copy(r.target0),r.object.position.copy(r.position0),r.object.zoom=r.zoom0,r.object.updateProjectionMatrix(),r.dispatchEvent(i),r.update(),o=l.NONE},this.update=(()=>{const Fe=new ui,ht=new ui(0,1,0),Tt=new eB().setFromUnitVectors(t.up,ht),Qt=Tt.clone().invert(),an=new ui,In=new eB,un=2*Math.PI;return function(){const sr=r.object.position;Tt.setFromUnitVectors(t.up,ht),Qt.copy(Tt).invert(),Fe.copy(sr).sub(r.target),Fe.applyQuaternion(Tt),c.setFromVector3(Fe),r.autoRotate&&o===l.NONE&&V(j()),r.enableDamping?(c.theta+=d.theta*r.dampingFactor,c.phi+=d.phi*r.dampingFactor):(c.theta+=d.theta,c.phi+=d.phi);let ar=r.minAzimuthAngle,Dr=r.maxAzimuthAngle;isFinite(ar)&&isFinite(Dr)&&(ar<-Math.PI?ar+=un:ar>Math.PI&&(ar-=un),Dr<-Math.PI?Dr+=un:Dr>Math.PI&&(Dr-=un),ar<=Dr?c.theta=Math.max(ar,Math.min(Dr,c.theta)):c.theta=c.theta>(ar+Dr)/2?Math.max(ar,c.theta):Math.min(Dr,c.theta)),c.phi=Math.max(r.minPolarAngle,Math.min(r.maxPolarAngle,c.phi)),c.makeSafe(),r.enableDamping===!0?r.target.addScaledVector(m,r.dampingFactor):r.target.add(m),r.zoomToCursor&&z||r.object.isOrthographicCamera?c.radius=B(c.radius):c.radius=B(c.radius*h),Fe.setFromSpherical(c),Fe.applyQuaternion(Qt),sr.copy(r.target).add(Fe),r.object.matrixAutoUpdate||r.object.updateMatrix(),r.object.lookAt(r.target),r.enableDamping===!0?(d.theta*=1-r.dampingFactor,d.phi*=1-r.dampingFactor,m.multiplyScalar(1-r.dampingFactor)):(d.set(0,0,0),m.set(0,0,0));let zr=!1;if(r.zoomToCursor&&z){let ke=null;if(r.object instanceof LO&&r.object.isPerspectiveCamera){const He=Fe.length();ke=B(He*h);const nt=He-ke;r.object.position.addScaledVector(k,nt),r.object.updateMatrixWorld()}else if(r.object.isOrthographicCamera){const He=new ui(F.x,F.y,0);He.unproject(r.object),r.object.zoom=Math.max(r.minZoom,Math.min(r.maxZoom,r.object.zoom/h)),r.object.updateProjectionMatrix(),zr=!0;const nt=new ui(F.x,F.y,0);nt.unproject(r.object),r.object.position.sub(nt).add(He),r.object.updateMatrixWorld(),ke=Fe.length()}else console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."),r.zoomToCursor=!1;ke!==null&&(r.screenSpacePanning?r.target.set(0,0,-1).transformDirection(r.object.matrix).multiplyScalar(ke).add(r.object.position):(D_.origin.copy(r.object.position),D_.direction.set(0,0,-1).transformDirection(r.object.matrix),Math.abs(r.object.up.dot(D_.direction))<FDe?t.lookAt(r.target):(QU.setFromNormalAndCoplanarPoint(r.object.up,r.target),D_.intersectPlane(QU,r.target))))}else r.object instanceof IO&&r.object.isOrthographicCamera&&(zr=h!==1,zr&&(r.object.zoom=Math.max(r.minZoom,Math.min(r.maxZoom,r.object.zoom/h)),r.object.updateProjectionMatrix()));return h=1,z=!1,zr||an.distanceToSquared(r.object.position)>s||8*(1-In.dot(r.object.quaternion))>s?(r.dispatchEvent(i),an.copy(r.object.position),In.copy(r.object.quaternion),zr=!1,!0):!1}})(),this.connect=Fe=>{r.domElement=Fe,r.domElement.style.touchAction="none",r.domElement.addEventListener("contextmenu",gt),r.domElement.addEventListener("pointerdown",Ae),r.domElement.addEventListener("pointercancel",Ze),r.domElement.addEventListener("wheel",ze)},this.dispose=()=>{var Fe,ht,Tt,Qt,an,In;r.domElement&&(r.domElement.style.touchAction="auto"),(Fe=r.domElement)==null||Fe.removeEventListener("contextmenu",gt),(ht=r.domElement)==null||ht.removeEventListener("pointerdown",Ae),(Tt=r.domElement)==null||Tt.removeEventListener("pointercancel",Ze),(Qt=r.domElement)==null||Qt.removeEventListener("wheel",ze),(an=r.domElement)==null||an.ownerDocument.removeEventListener("pointermove",Ue),(In=r.domElement)==null||In.ownerDocument.removeEventListener("pointerup",Ze),r._domElementKeyEvents!==null&&r._domElementKeyEvents.removeEventListener("keydown",st)};const r=this,i={type:"change"},a={type:"start"},u={type:"end"},l={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6};let o=l.NONE;const s=1e-6,c=new JL,d=new JL;let h=1;const m=new ui,y=new Gl,v=new Gl,_=new Gl,x=new Gl,E=new Gl,w=new Gl,T=new Gl,R=new Gl,C=new Gl,k=new ui,F=new Gl;let z=!1;const Z=[],q={};function j(){return 2*Math.PI/60/60*r.autoRotateSpeed}function N(){return Math.pow(.95,r.zoomSpeed)}function V(Fe){r.reverseOrbit||r.reverseHorizontalOrbit?d.theta+=Fe:d.theta-=Fe}function W(Fe){r.reverseOrbit||r.reverseVerticalOrbit?d.phi+=Fe:d.phi-=Fe}const G=(()=>{const Fe=new ui;return function(Tt,Qt){Fe.setFromMatrixColumn(Qt,0),Fe.multiplyScalar(-Tt),m.add(Fe)}})(),J=(()=>{const Fe=new ui;return function(Tt,Qt){r.screenSpacePanning===!0?Fe.setFromMatrixColumn(Qt,1):(Fe.setFromMatrixColumn(Qt,0),Fe.crossVectors(r.object.up,Fe)),Fe.multiplyScalar(Tt),m.add(Fe)}})(),te=(()=>{const Fe=new ui;return function(Tt,Qt){const an=r.domElement;if(an&&r.object instanceof LO&&r.object.isPerspectiveCamera){const In=r.object.position;Fe.copy(In).sub(r.target);let un=Fe.length();un*=Math.tan(r.object.fov/2*Math.PI/180),G(2*Tt*un/an.clientHeight,r.object.matrix),J(2*Qt*un/an.clientHeight,r.object.matrix)}else an&&r.object instanceof IO&&r.object.isOrthographicCamera?(G(Tt*(r.object.right-r.object.left)/r.object.zoom/an.clientWidth,r.object.matrix),J(Qt*(r.object.top-r.object.bottom)/r.object.zoom/an.clientHeight,r.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),r.enablePan=!1)}})();function X(Fe){r.object instanceof LO&&r.object.isPerspectiveCamera||r.object instanceof IO&&r.object.isOrthographicCamera?h=Fe:(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),r.enableZoom=!1)}function M(Fe){X(h/Fe)}function K(Fe){X(h*Fe)}function Y(Fe){if(!r.zoomToCursor||!r.domElement)return;z=!0;const ht=r.domElement.getBoundingClientRect(),Tt=Fe.clientX-ht.left,Qt=Fe.clientY-ht.top,an=ht.width,In=ht.height;F.x=Tt/an*2-1,F.y=-(Qt/In)*2+1,k.set(F.x,F.y,1).unproject(r.object).sub(r.object.position).normalize()}function B(Fe){return Math.max(r.minDistance,Math.min(r.maxDistance,Fe))}function ne(Fe){y.set(Fe.clientX,Fe.clientY)}function oe(Fe){Y(Fe),T.set(Fe.clientX,Fe.clientY)}function ae(Fe){x.set(Fe.clientX,Fe.clientY)}function de(Fe){v.set(Fe.clientX,Fe.clientY),_.subVectors(v,y).multiplyScalar(r.rotateSpeed);const ht=r.domElement;ht&&(V(2*Math.PI*_.x/ht.clientHeight),W(2*Math.PI*_.y/ht.clientHeight)),y.copy(v),r.update()}function be(Fe){R.set(Fe.clientX,Fe.clientY),C.subVectors(R,T),C.y>0?M(N()):C.y<0&&K(N()),T.copy(R),r.update()}function ye(Fe){E.set(Fe.clientX,Fe.clientY),w.subVectors(E,x).multiplyScalar(r.panSpeed),te(w.x,w.y),x.copy(E),r.update()}function pe(Fe){Y(Fe),Fe.deltaY<0?K(N()):Fe.deltaY>0&&M(N()),r.update()}function _e(Fe){let ht=!1;switch(Fe.code){case r.keys.UP:te(0,r.keyPanSpeed),ht=!0;break;case r.keys.BOTTOM:te(0,-r.keyPanSpeed),ht=!0;break;case r.keys.LEFT:te(r.keyPanSpeed,0),ht=!0;break;case r.keys.RIGHT:te(-r.keyPanSpeed,0),ht=!0;break}ht&&(Fe.preventDefault(),r.update())}function se(){if(Z.length==1)y.set(Z[0].pageX,Z[0].pageY);else{const Fe=.5*(Z[0].pageX+Z[1].pageX),ht=.5*(Z[0].pageY+Z[1].pageY);y.set(Fe,ht)}}function me(){if(Z.length==1)x.set(Z[0].pageX,Z[0].pageY);else{const Fe=.5*(Z[0].pageX+Z[1].pageX),ht=.5*(Z[0].pageY+Z[1].pageY);x.set(Fe,ht)}}function ge(){const Fe=Z[0].pageX-Z[1].pageX,ht=Z[0].pageY-Z[1].pageY,Tt=Math.sqrt(Fe*Fe+ht*ht);T.set(0,Tt)}function we(){r.enableZoom&&ge(),r.enablePan&&me()}function Ne(){r.enableZoom&&ge(),r.enableRotate&&se()}function Re(Fe){if(Z.length==1)v.set(Fe.pageX,Fe.pageY);else{const Tt=nn(Fe),Qt=.5*(Fe.pageX+Tt.x),an=.5*(Fe.pageY+Tt.y);v.set(Qt,an)}_.subVectors(v,y).multiplyScalar(r.rotateSpeed);const ht=r.domElement;ht&&(V(2*Math.PI*_.x/ht.clientHeight),W(2*Math.PI*_.y/ht.clientHeight)),y.copy(v)}function et(Fe){if(Z.length==1)E.set(Fe.pageX,Fe.pageY);else{const ht=nn(Fe),Tt=.5*(Fe.pageX+ht.x),Qt=.5*(Fe.pageY+ht.y);E.set(Tt,Qt)}w.subVectors(E,x).multiplyScalar(r.panSpeed),te(w.x,w.y),x.copy(E)}function tt(Fe){const ht=nn(Fe),Tt=Fe.pageX-ht.x,Qt=Fe.pageY-ht.y,an=Math.sqrt(Tt*Tt+Qt*Qt);R.set(0,an),C.set(0,Math.pow(R.y/T.y,r.zoomSpeed)),M(C.y),T.copy(R)}function Oe(Fe){r.enableZoom&&tt(Fe),r.enablePan&&et(Fe)}function $e(Fe){r.enableZoom&&tt(Fe),r.enableRotate&&Re(Fe)}function Ae(Fe){var ht,Tt;r.enabled!==!1&&(Z.length===0&&((ht=r.domElement)==null||ht.ownerDocument.addEventListener("pointermove",Ue),(Tt=r.domElement)==null||Tt.ownerDocument.addEventListener("pointerup",Ze)),qt(Fe),Fe.pointerType==="touch"?Ot(Fe):Ye(Fe))}function Ue(Fe){r.enabled!==!1&&(Fe.pointerType==="touch"?Nt(Fe):Me(Fe))}function Ze(Fe){var ht,Tt,Qt;zt(Fe),Z.length===0&&((ht=r.domElement)==null||ht.releasePointerCapture(Fe.pointerId),(Tt=r.domElement)==null||Tt.ownerDocument.removeEventListener("pointermove",Ue),(Qt=r.domElement)==null||Qt.ownerDocument.removeEventListener("pointerup",Ze)),r.dispatchEvent(u),o=l.NONE}function Ye(Fe){let ht;switch(Fe.button){case 0:ht=r.mouseButtons.LEFT;break;case 1:ht=r.mouseButtons.MIDDLE;break;case 2:ht=r.mouseButtons.RIGHT;break;default:ht=-1}switch(ht){case tO.DOLLY:if(r.enableZoom===!1)return;oe(Fe),o=l.DOLLY;break;case tO.ROTATE:if(Fe.ctrlKey||Fe.metaKey||Fe.shiftKey){if(r.enablePan===!1)return;ae(Fe),o=l.PAN}else{if(r.enableRotate===!1)return;ne(Fe),o=l.ROTATE}break;case tO.PAN:if(Fe.ctrlKey||Fe.metaKey||Fe.shiftKey){if(r.enableRotate===!1)return;ne(Fe),o=l.ROTATE}else{if(r.enablePan===!1)return;ae(Fe),o=l.PAN}break;default:o=l.NONE}o!==l.NONE&&r.dispatchEvent(a)}function Me(Fe){if(r.enabled!==!1)switch(o){case l.ROTATE:if(r.enableRotate===!1)return;de(Fe);break;case l.DOLLY:if(r.enableZoom===!1)return;be(Fe);break;case l.PAN:if(r.enablePan===!1)return;ye(Fe);break}}function ze(Fe){r.enabled===!1||r.enableZoom===!1||o!==l.NONE&&o!==l.ROTATE||(Fe.preventDefault(),r.dispatchEvent(a),pe(Fe),r.dispatchEvent(u))}function st(Fe){r.enabled===!1||r.enablePan===!1||_e(Fe)}function Ot(Fe){switch(rn(Fe),Z.length){case 1:switch(r.touches.ONE){case nO.ROTATE:if(r.enableRotate===!1)return;se(),o=l.TOUCH_ROTATE;break;case nO.PAN:if(r.enablePan===!1)return;me(),o=l.TOUCH_PAN;break;default:o=l.NONE}break;case 2:switch(r.touches.TWO){case nO.DOLLY_PAN:if(r.enableZoom===!1&&r.enablePan===!1)return;we(),o=l.TOUCH_DOLLY_PAN;break;case nO.DOLLY_ROTATE:if(r.enableZoom===!1&&r.enableRotate===!1)return;Ne(),o=l.TOUCH_DOLLY_ROTATE;break;default:o=l.NONE}break;default:o=l.NONE}o!==l.NONE&&r.dispatchEvent(a)}function Nt(Fe){switch(rn(Fe),o){case l.TOUCH_ROTATE:if(r.enableRotate===!1)return;Re(Fe),r.update();break;case l.TOUCH_PAN:if(r.enablePan===!1)return;et(Fe),r.update();break;case l.TOUCH_DOLLY_PAN:if(r.enableZoom===!1&&r.enablePan===!1)return;Oe(Fe),r.update();break;case l.TOUCH_DOLLY_ROTATE:if(r.enableZoom===!1&&r.enableRotate===!1)return;$e(Fe),r.update();break;default:o=l.NONE}}function gt(Fe){r.enabled!==!1&&Fe.preventDefault()}function qt(Fe){Z.push(Fe)}function zt(Fe){delete q[Fe.pointerId];for(let ht=0;ht<Z.length;ht++)if(Z[ht].pointerId==Fe.pointerId){Z.splice(ht,1);return}}function rn(Fe){let ht=q[Fe.pointerId];ht===void 0&&(ht=new Gl,q[Fe.pointerId]=ht),ht.set(Fe.pageX,Fe.pageY)}function nn(Fe){const ht=Fe.pointerId===Z[0].pointerId?Z[1]:Z[0];return q[ht.pointerId]}this.dollyIn=(Fe=N())=>{K(Fe),r.update()},this.dollyOut=(Fe=N())=>{M(Fe),r.update()},this.getScale=()=>h,this.setScale=Fe=>{X(Fe),r.update()},this.getZoomScale=()=>N(),n!==void 0&&this.connect(n),this.update()}};const qU=new XM,$_=new ui;class lN extends vbe{constructor(){super(),this.isLineSegmentsGeometry=!0,this.type="LineSegmentsGeometry";const t=[-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],n=[-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],r=[0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5];this.setIndex(r),this.setAttribute("position",new y7(t,3)),this.setAttribute("uv",new y7(n,2))}applyMatrix4(t){const n=this.attributes.instanceStart,r=this.attributes.instanceEnd;return n!==void 0&&(n.applyMatrix4(t),r.applyMatrix4(t),n.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this}setPositions(t){let n;t instanceof Float32Array?n=t:Array.isArray(t)&&(n=new Float32Array(t));const r=new b7(n,6,1);return this.setAttribute("instanceStart",new wO(r,3,0)),this.setAttribute("instanceEnd",new wO(r,3,3)),this.computeBoundingBox(),this.computeBoundingSphere(),this}setColors(t,n=3){let r;t instanceof Float32Array?r=t:Array.isArray(t)&&(r=new Float32Array(t));const i=new b7(r,n*2,1);return this.setAttribute("instanceColorStart",new wO(i,n,0)),this.setAttribute("instanceColorEnd",new wO(i,n,n)),this}fromWireframeGeometry(t){return this.setPositions(t.attributes.position.array),this}fromEdgesGeometry(t){return this.setPositions(t.attributes.position.array),this}fromMesh(t){return this.fromWireframeGeometry(new ybe(t.geometry)),this}fromLineSegments(t){const n=t.geometry;return this.setPositions(n.attributes.position.array),this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new XM);const t=this.attributes.instanceStart,n=this.attributes.instanceEnd;t!==void 0&&n!==void 0&&(this.boundingBox.setFromBufferAttribute(t),qU.setFromBufferAttribute(n),this.boundingBox.union(qU))}computeBoundingSphere(){this.boundingSphere===null&&(this.boundingSphere=new dW),this.boundingBox===null&&this.computeBoundingBox();const t=this.attributes.instanceStart,n=this.attributes.instanceEnd;if(t!==void 0&&n!==void 0){const r=this.boundingSphere.center;this.boundingBox.getCenter(r);let i=0;for(let a=0,u=t.count;a<u;a++)$_.fromBufferAttribute(t,a),i=Math.max(i,r.distanceToSquared($_)),$_.fromBufferAttribute(n,a),i=Math.max(i,r.distanceToSquared($_));this.boundingSphere.radius=Math.sqrt(i),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}}toJSON(){}applyMatrix(t){return console.warn("THREE.LineSegmentsGeometry: applyMatrix() has been renamed to applyMatrix4()."),this.applyMatrix4(t)}}class qne extends lN{constructor(){super(),this.isLineGeometry=!0,this.type="LineGeometry"}setPositions(t){const n=t.length-3,r=new Float32Array(2*n);for(let i=0;i<n;i+=3)r[2*i]=t[i],r[2*i+1]=t[i+1],r[2*i+2]=t[i+2],r[2*i+3]=t[i+3],r[2*i+4]=t[i+4],r[2*i+5]=t[i+5];return super.setPositions(r),this}setColors(t,n=3){const r=t.length-n,i=new Float32Array(2*r);if(n===3)for(let a=0;a<r;a+=n)i[2*a]=t[a],i[2*a+1]=t[a+1],i[2*a+2]=t[a+2],i[2*a+3]=t[a+3],i[2*a+4]=t[a+4],i[2*a+5]=t[a+5];else for(let a=0;a<r;a+=n)i[2*a]=t[a],i[2*a+1]=t[a+1],i[2*a+2]=t[a+2],i[2*a+3]=t[a+3],i[2*a+4]=t[a+4],i[2*a+5]=t[a+5],i[2*a+6]=t[a+6],i[2*a+7]=t[a+7];return super.setColors(i,n),this}fromLine(t){const n=t.geometry;return this.setPositions(n.attributes.position.array),this}}class oN extends bbe{constructor(t){super({type:"LineMaterial",uniforms:tB.clone(tB.merge([nB.common,nB.fog,{worldUnits:{value:1},linewidth:{value:1},resolution:{value:new Gl(1,1)},dashOffset:{value:0},dashScale:{value:1},dashSize:{value:1},gapSize:{value:1}}])),vertexShader:`
				#include <common>
				#include <fog_pars_vertex>
				#include <logdepthbuf_pars_vertex>
				#include <clipping_planes_pars_vertex>

				uniform float linewidth;
				uniform vec2 resolution;

				attribute vec3 instanceStart;
				attribute vec3 instanceEnd;

				#ifdef USE_COLOR
					#ifdef USE_LINE_COLOR_ALPHA
						varying vec4 vLineColor;
						attribute vec4 instanceColorStart;
						attribute vec4 instanceColorEnd;
					#else
						varying vec3 vLineColor;
						attribute vec3 instanceColorStart;
						attribute vec3 instanceColorEnd;
					#endif
				#endif

				#ifdef WORLD_UNITS

					varying vec4 worldPos;
					varying vec3 worldStart;
					varying vec3 worldEnd;

					#ifdef USE_DASH

						varying vec2 vUv;

					#endif

				#else

					varying vec2 vUv;

				#endif

				#ifdef USE_DASH

					uniform float dashScale;
					attribute float instanceDistanceStart;
					attribute float instanceDistanceEnd;
					varying float vLineDistance;

				#endif

				void trimSegment( const in vec4 start, inout vec4 end ) {

					// trim end segment so it terminates between the camera plane and the near plane

					// conservative estimate of the near plane
					float a = projectionMatrix[ 2 ][ 2 ]; // 3nd entry in 3th column
					float b = projectionMatrix[ 3 ][ 2 ]; // 3nd entry in 4th column
					float nearEstimate = - 0.5 * b / a;

					float alpha = ( nearEstimate - start.z ) / ( end.z - start.z );

					end.xyz = mix( start.xyz, end.xyz, alpha );

				}

				void main() {

					#ifdef USE_COLOR

						vLineColor = ( position.y < 0.5 ) ? instanceColorStart : instanceColorEnd;

					#endif

					#ifdef USE_DASH

						vLineDistance = ( position.y < 0.5 ) ? dashScale * instanceDistanceStart : dashScale * instanceDistanceEnd;
						vUv = uv;

					#endif

					float aspect = resolution.x / resolution.y;

					// camera space
					vec4 start = modelViewMatrix * vec4( instanceStart, 1.0 );
					vec4 end = modelViewMatrix * vec4( instanceEnd, 1.0 );

					#ifdef WORLD_UNITS

						worldStart = start.xyz;
						worldEnd = end.xyz;

					#else

						vUv = uv;

					#endif

					// special case for perspective projection, and segments that terminate either in, or behind, the camera plane
					// clearly the gpu firmware has a way of addressing this issue when projecting into ndc space
					// but we need to perform ndc-space calculations in the shader, so we must address this issue directly
					// perhaps there is a more elegant solution -- WestLangley

					bool perspective = ( projectionMatrix[ 2 ][ 3 ] == - 1.0 ); // 4th entry in the 3rd column

					if ( perspective ) {

						if ( start.z < 0.0 && end.z >= 0.0 ) {

							trimSegment( start, end );

						} else if ( end.z < 0.0 && start.z >= 0.0 ) {

							trimSegment( end, start );

						}

					}

					// clip space
					vec4 clipStart = projectionMatrix * start;
					vec4 clipEnd = projectionMatrix * end;

					// ndc space
					vec3 ndcStart = clipStart.xyz / clipStart.w;
					vec3 ndcEnd = clipEnd.xyz / clipEnd.w;

					// direction
					vec2 dir = ndcEnd.xy - ndcStart.xy;

					// account for clip-space aspect ratio
					dir.x *= aspect;
					dir = normalize( dir );

					#ifdef WORLD_UNITS

						// get the offset direction as perpendicular to the view vector
						vec3 worldDir = normalize( end.xyz - start.xyz );
						vec3 offset;
						if ( position.y < 0.5 ) {

							offset = normalize( cross( start.xyz, worldDir ) );

						} else {

							offset = normalize( cross( end.xyz, worldDir ) );

						}

						// sign flip
						if ( position.x < 0.0 ) offset *= - 1.0;

						float forwardOffset = dot( worldDir, vec3( 0.0, 0.0, 1.0 ) );

						// don't extend the line if we're rendering dashes because we
						// won't be rendering the endcaps
						#ifndef USE_DASH

							// extend the line bounds to encompass  endcaps
							start.xyz += - worldDir * linewidth * 0.5;
							end.xyz += worldDir * linewidth * 0.5;

							// shift the position of the quad so it hugs the forward edge of the line
							offset.xy -= dir * forwardOffset;
							offset.z += 0.5;

						#endif

						// endcaps
						if ( position.y > 1.0 || position.y < 0.0 ) {

							offset.xy += dir * 2.0 * forwardOffset;

						}

						// adjust for linewidth
						offset *= linewidth * 0.5;

						// set the world position
						worldPos = ( position.y < 0.5 ) ? start : end;
						worldPos.xyz += offset;

						// project the worldpos
						vec4 clip = projectionMatrix * worldPos;

						// shift the depth of the projected points so the line
						// segments overlap neatly
						vec3 clipPose = ( position.y < 0.5 ) ? ndcStart : ndcEnd;
						clip.z = clipPose.z * clip.w;

					#else

						vec2 offset = vec2( dir.y, - dir.x );
						// undo aspect ratio adjustment
						dir.x /= aspect;
						offset.x /= aspect;

						// sign flip
						if ( position.x < 0.0 ) offset *= - 1.0;

						// endcaps
						if ( position.y < 0.0 ) {

							offset += - dir;

						} else if ( position.y > 1.0 ) {

							offset += dir;

						}

						// adjust for linewidth
						offset *= linewidth;

						// adjust for clip-space to screen-space conversion // maybe resolution should be based on viewport ...
						offset /= resolution.y;

						// select end
						vec4 clip = ( position.y < 0.5 ) ? clipStart : clipEnd;

						// back to clip space
						offset *= clip.w;

						clip.xy += offset;

					#endif

					gl_Position = clip;

					vec4 mvPosition = ( position.y < 0.5 ) ? start : end; // this is an approximation

					#include <logdepthbuf_vertex>
					#include <clipping_planes_vertex>
					#include <fog_vertex>

				}
			`,fragmentShader:`
				uniform vec3 diffuse;
				uniform float opacity;
				uniform float linewidth;

				#ifdef USE_DASH

					uniform float dashOffset;
					uniform float dashSize;
					uniform float gapSize;

				#endif

				varying float vLineDistance;

				#ifdef WORLD_UNITS

					varying vec4 worldPos;
					varying vec3 worldStart;
					varying vec3 worldEnd;

					#ifdef USE_DASH

						varying vec2 vUv;

					#endif

				#else

					varying vec2 vUv;

				#endif

				#include <common>
				#include <fog_pars_fragment>
				#include <logdepthbuf_pars_fragment>
				#include <clipping_planes_pars_fragment>

				#ifdef USE_COLOR
					#ifdef USE_LINE_COLOR_ALPHA
						varying vec4 vLineColor;
					#else
						varying vec3 vLineColor;
					#endif
				#endif

				vec2 closestLineToLine(vec3 p1, vec3 p2, vec3 p3, vec3 p4) {

					float mua;
					float mub;

					vec3 p13 = p1 - p3;
					vec3 p43 = p4 - p3;

					vec3 p21 = p2 - p1;

					float d1343 = dot( p13, p43 );
					float d4321 = dot( p43, p21 );
					float d1321 = dot( p13, p21 );
					float d4343 = dot( p43, p43 );
					float d2121 = dot( p21, p21 );

					float denom = d2121 * d4343 - d4321 * d4321;

					float numer = d1343 * d4321 - d1321 * d4343;

					mua = numer / denom;
					mua = clamp( mua, 0.0, 1.0 );
					mub = ( d1343 + d4321 * ( mua ) ) / d4343;
					mub = clamp( mub, 0.0, 1.0 );

					return vec2( mua, mub );

				}

				void main() {

					#include <clipping_planes_fragment>

					#ifdef USE_DASH

						if ( vUv.y < - 1.0 || vUv.y > 1.0 ) discard; // discard endcaps

						if ( mod( vLineDistance + dashOffset, dashSize + gapSize ) > dashSize ) discard; // todo - FIX

					#endif

					float alpha = opacity;

					#ifdef WORLD_UNITS

						// Find the closest points on the view ray and the line segment
						vec3 rayEnd = normalize( worldPos.xyz ) * 1e5;
						vec3 lineDir = worldEnd - worldStart;
						vec2 params = closestLineToLine( worldStart, worldEnd, vec3( 0.0, 0.0, 0.0 ), rayEnd );

						vec3 p1 = worldStart + lineDir * params.x;
						vec3 p2 = rayEnd * params.y;
						vec3 delta = p1 - p2;
						float len = length( delta );
						float norm = len / linewidth;

						#ifndef USE_DASH

							#ifdef USE_ALPHA_TO_COVERAGE

								float dnorm = fwidth( norm );
								alpha = 1.0 - smoothstep( 0.5 - dnorm, 0.5 + dnorm, norm );

							#else

								if ( norm > 0.5 ) {

									discard;

								}

							#endif

						#endif

					#else

						#ifdef USE_ALPHA_TO_COVERAGE

							// artifacts appear on some hardware if a derivative is taken within a conditional
							float a = vUv.x;
							float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;
							float len2 = a * a + b * b;
							float dlen = fwidth( len2 );

							if ( abs( vUv.y ) > 1.0 ) {

								alpha = 1.0 - smoothstep( 1.0 - dlen, 1.0 + dlen, len2 );

							}

						#else

							if ( abs( vUv.y ) > 1.0 ) {

								float a = vUv.x;
								float b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;
								float len2 = a * a + b * b;

								if ( len2 > 1.0 ) discard;

							}

						#endif

					#endif

					vec4 diffuseColor = vec4( diffuse, alpha );
					#ifdef USE_COLOR
						#ifdef USE_LINE_COLOR_ALPHA
							diffuseColor *= vLineColor;
						#else
							diffuseColor.rgb *= vLineColor;
						#endif
					#endif

					#include <logdepthbuf_fragment>

					gl_FragColor = diffuseColor;

					#include <tonemapping_fragment>
					#include <${Qne>=154?"colorspace_fragment":"encodings_fragment"}>
					#include <fog_fragment>
					#include <premultiplied_alpha_fragment>

				}
			`,clipping:!0}),this.isLineMaterial=!0,this.onBeforeCompile=function(){this.transparent?this.defines.USE_LINE_COLOR_ALPHA="1":delete this.defines.USE_LINE_COLOR_ALPHA},Object.defineProperties(this,{color:{enumerable:!0,get:function(){return this.uniforms.diffuse.value},set:function(n){this.uniforms.diffuse.value=n}},worldUnits:{enumerable:!0,get:function(){return"WORLD_UNITS"in this.defines},set:function(n){n===!0?this.defines.WORLD_UNITS="":delete this.defines.WORLD_UNITS}},linewidth:{enumerable:!0,get:function(){return this.uniforms.linewidth.value},set:function(n){this.uniforms.linewidth.value=n}},dashed:{enumerable:!0,get:function(){return"USE_DASH"in this.defines},set(n){!!n!="USE_DASH"in this.defines&&(this.needsUpdate=!0),n===!0?this.defines.USE_DASH="":delete this.defines.USE_DASH}},dashScale:{enumerable:!0,get:function(){return this.uniforms.dashScale.value},set:function(n){this.uniforms.dashScale.value=n}},dashSize:{enumerable:!0,get:function(){return this.uniforms.dashSize.value},set:function(n){this.uniforms.dashSize.value=n}},dashOffset:{enumerable:!0,get:function(){return this.uniforms.dashOffset.value},set:function(n){this.uniforms.dashOffset.value=n}},gapSize:{enumerable:!0,get:function(){return this.uniforms.gapSize.value},set:function(n){this.uniforms.gapSize.value=n}},opacity:{enumerable:!0,get:function(){return this.uniforms.opacity.value},set:function(n){this.uniforms.opacity.value=n}},resolution:{enumerable:!0,get:function(){return this.uniforms.resolution.value},set:function(n){this.uniforms.resolution.value.copy(n)}},alphaToCoverage:{enumerable:!0,get:function(){return"USE_ALPHA_TO_COVERAGE"in this.defines},set:function(n){!!n!="USE_ALPHA_TO_COVERAGE"in this.defines&&(this.needsUpdate=!0),n===!0?(this.defines.USE_ALPHA_TO_COVERAGE="",this.extensions.derivatives=!0):(delete this.defines.USE_ALPHA_TO_COVERAGE,this.extensions.derivatives=!1)}}}),this.setValues(t)}}const BT=new w3,VU=new ui,UU=new ui,Do=new w3,$o=new w3,n0=new w3,QT=new ui,zT=new xbe,wo=new Sbe,jU=new ui,C_=new XM,w_=new dW,r0=new w3;let f0,P1;function ZU(e,t,n){return r0.set(0,0,-t,1).applyMatrix4(e.projectionMatrix),r0.multiplyScalar(1/r0.w),r0.x=P1/n.width,r0.y=P1/n.height,r0.applyMatrix4(e.projectionMatrixInverse),r0.multiplyScalar(1/r0.w),Math.abs(Math.max(r0.x,r0.y))}function IDe(e,t){const n=e.matrixWorld,r=e.geometry,i=r.attributes.instanceStart,a=r.attributes.instanceEnd,u=Math.min(r.instanceCount,i.count);for(let l=0,o=u;l<o;l++){wo.start.fromBufferAttribute(i,l),wo.end.fromBufferAttribute(a,l),wo.applyMatrix4(n);const s=new ui,c=new ui;f0.distanceSqToSegment(wo.start,wo.end,c,s),c.distanceTo(s)<P1*.5&&t.push({point:c,pointOnLine:s,distance:f0.origin.distanceTo(c),object:e,face:null,faceIndex:l,uv:null,[zne]:null})}}function LDe(e,t,n){const r=t.projectionMatrix,a=e.material.resolution,u=e.matrixWorld,l=e.geometry,o=l.attributes.instanceStart,s=l.attributes.instanceEnd,c=Math.min(l.instanceCount,o.count),d=-t.near;f0.at(1,n0),n0.w=1,n0.applyMatrix4(t.matrixWorldInverse),n0.applyMatrix4(r),n0.multiplyScalar(1/n0.w),n0.x*=a.x/2,n0.y*=a.y/2,n0.z=0,QT.copy(n0),zT.multiplyMatrices(t.matrixWorldInverse,u);for(let h=0,m=c;h<m;h++){if(Do.fromBufferAttribute(o,h),$o.fromBufferAttribute(s,h),Do.w=1,$o.w=1,Do.applyMatrix4(zT),$o.applyMatrix4(zT),Do.z>d&&$o.z>d)continue;if(Do.z>d){const w=Do.z-$o.z,T=(Do.z-d)/w;Do.lerp($o,T)}else if($o.z>d){const w=$o.z-Do.z,T=($o.z-d)/w;$o.lerp(Do,T)}Do.applyMatrix4(r),$o.applyMatrix4(r),Do.multiplyScalar(1/Do.w),$o.multiplyScalar(1/$o.w),Do.x*=a.x/2,Do.y*=a.y/2,$o.x*=a.x/2,$o.y*=a.y/2,wo.start.copy(Do),wo.start.z=0,wo.end.copy($o),wo.end.z=0;const v=wo.closestPointToPointParameter(QT,!0);wo.at(v,jU);const _=hW.lerp(Do.z,$o.z,v),x=_>=-1&&_<=1,E=QT.distanceTo(jU)<P1*.5;if(x&&E){wo.start.fromBufferAttribute(o,h),wo.end.fromBufferAttribute(s,h),wo.start.applyMatrix4(u),wo.end.applyMatrix4(u);const w=new ui,T=new ui;f0.distanceSqToSegment(wo.start,wo.end,T,w),n.push({point:T,pointOnLine:w,distance:f0.origin.distanceTo(T),object:e,face:null,faceIndex:h,uv:null,[zne]:null})}}}class Vne extends Obe{constructor(t=new lN,n=new oN({color:Math.random()*16777215})){super(t,n),this.isLineSegments2=!0,this.type="LineSegments2"}computeLineDistances(){const t=this.geometry,n=t.attributes.instanceStart,r=t.attributes.instanceEnd,i=new Float32Array(2*n.count);for(let u=0,l=0,o=n.count;u<o;u++,l+=2)VU.fromBufferAttribute(n,u),UU.fromBufferAttribute(r,u),i[l]=l===0?0:i[l-1],i[l+1]=i[l]+VU.distanceTo(UU);const a=new b7(i,2,1);return t.setAttribute("instanceDistanceStart",new wO(a,1,0)),t.setAttribute("instanceDistanceEnd",new wO(a,1,1)),this}raycast(t,n){const r=this.material.worldUnits,i=t.camera;i===null&&!r&&console.error('LineSegments2: "Raycaster.camera" needs to be set in order to raycast against LineSegments2 while worldUnits is set to false.');const a=t.params.Line2!==void 0&&t.params.Line2.threshold||0;f0=t.ray;const u=this.matrixWorld,l=this.geometry,o=this.material;P1=o.linewidth+a,l.boundingSphere===null&&l.computeBoundingSphere(),w_.copy(l.boundingSphere).applyMatrix4(u);let s;if(r)s=P1*.5;else{const d=Math.max(i.near,w_.distanceToPoint(f0.origin));s=ZU(i,d,o.resolution)}if(w_.radius+=s,f0.intersectsSphere(w_)===!1)return;l.boundingBox===null&&l.computeBoundingBox(),C_.copy(l.boundingBox).applyMatrix4(u);let c;if(r)c=P1*.5;else{const d=Math.max(i.near,C_.distanceToPoint(f0.origin));c=ZU(i,d,o.resolution)}C_.expandByScalar(c),f0.intersectsBox(C_)!==!1&&(r?IDe(this,n):LDe(this,i,n))}onBeforeRender(t){const n=this.material.uniforms;n&&n.resolution&&(t.getViewport(BT),this.material.uniforms.resolution.value.set(BT.z,BT.w))}}class BDe extends Vne{constructor(t=new qne,n=new oN({color:Math.random()*16777215})){super(t,n),this.isLine2=!0,this.type="Line2"}}const QDe=P.forwardRef(function({points:t,color:n=16777215,vertexColors:r,linewidth:i,lineWidth:a,segments:u,dashed:l,...o},s){var c,d;const h=Ld(x=>x.size),m=P.useMemo(()=>u?new Vne:new BDe,[u]),[y]=P.useState(()=>new oN),v=(r==null||(c=r[0])==null?void 0:c.length)===4?4:3,_=P.useMemo(()=>{const x=u?new lN:new qne,E=t.map(w=>{const T=Array.isArray(w);return w instanceof ui||w instanceof w3?[w.x,w.y,w.z]:w instanceof Gl?[w.x,w.y,0]:T&&w.length===3?[w[0],w[1],w[2]]:T&&w.length===2?[w[0],w[1],0]:w});if(x.setPositions(E.flat()),r){n=16777215;const w=r.map(T=>T instanceof q$?T.toArray():T);x.setColors(w.flat(),v)}return x},[t,u,r,v]);return P.useLayoutEffect(()=>{m.computeLineDistances()},[t,m]),P.useLayoutEffect(()=>{l?y.defines.USE_DASH="":delete y.defines.USE_DASH,y.needsUpdate=!0},[l,y]),P.useEffect(()=>()=>{_.dispose(),y.dispose()},[_]),P.createElement("primitive",Qv({object:m,ref:s},o),P.createElement("primitive",{object:_,attach:"geometry"}),P.createElement("primitive",Qv({object:y,attach:"material",color:n,vertexColors:!!r,resolution:[h.width,h.height],linewidth:(d=i??a)!==null&&d!==void 0?d:1,dashed:l,transparent:v===4},o)))}),zDe=new ui,Jtt=P.forwardRef(function({start:t=[0,0,0],end:n=[0,0,0],mid:r,segments:i=20,...a},u){const l=P.useRef(null);P.useImperativeHandle(u,()=>l.current);const[o]=P.useState(()=>new _be(void 0,void 0,void 0)),s=P.useCallback((d,h,m,y=20)=>(d instanceof ui?o.v0.copy(d):o.v0.set(...d),h instanceof ui?o.v2.copy(h):o.v2.set(...h),m instanceof ui?o.v1.copy(m):Array.isArray(m)?o.v1.set(...m):o.v1.copy(o.v0.clone().add(o.v2.clone().sub(o.v0)).add(zDe.set(0,o.v0.y-o.v2.y,0))),o.getPoints(y)),[]);P.useLayoutEffect(()=>{l.current.setPoints=(d,h,m)=>{const y=s(d,h,m);l.current.geometry&&l.current.geometry.setPositions(y.map(v=>v.toArray()).flat())}},[]);const c=P.useMemo(()=>s(t,n,r,i),[t,n,r,i]);return P.createElement(QDe,Qv({ref:l,points:c},a))}),qDe=P.forwardRef(({makeDefault:e,camera:t,regress:n,domElement:r,enableDamping:i=!0,keyEvents:a=!1,onChange:u,onStart:l,onEnd:o,...s},c)=>{const d=Ld(C=>C.invalidate),h=Ld(C=>C.camera),m=Ld(C=>C.gl),y=Ld(C=>C.events),v=Ld(C=>C.setEvents),_=Ld(C=>C.set),x=Ld(C=>C.get),E=Ld(C=>C.performance),w=t||h,T=r||y.connected||m.domElement,R=P.useMemo(()=>new NDe(w),[w]);return xC(()=>{R.enabled&&R.update()},-1),P.useEffect(()=>(a&&R.connect(a===!0?T:a),R.connect(T),()=>void R.dispose()),[a,T,n,R,d]),P.useEffect(()=>{const C=z=>{d(),n&&E.regress(),u&&u(z)},k=z=>{l&&l(z)},F=z=>{o&&o(z)};return R.addEventListener("change",C),R.addEventListener("start",k),R.addEventListener("end",F),()=>{R.removeEventListener("start",k),R.removeEventListener("end",F),R.removeEventListener("change",C)}},[u,l,o,R,d,v]),P.useEffect(()=>{if(e){const C=x().controls;return _({controls:R}),()=>_({controls:C})}},[e,R]),P.createElement("primitive",Qv({ref:c,object:R,enableDamping:i},s))}),VDe="modulepreload",UDe=function(e){return"/"+e},HU={},ent=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){let u=function(s){return Promise.all(s.map(c=>Promise.resolve(c).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),o=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));i=u(n.map(s=>{if(s=UDe(s),s in HU)return;HU[s]=!0;const c=s.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${d}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":VDe,c||(h.as="script"),h.crossOrigin="",h.href=s,o&&h.setAttribute("nonce",o),document.head.appendChild(h),c)return new Promise((m,y)=>{h.addEventListener("load",m),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${s}`)))})}))}function a(u){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=u,window.dispatchEvent(l),!l.defaultPrevented)throw u}return i.then(u=>{for(const l of u||[])l.status==="rejected"&&a(l.reason);return t().catch(a)})};function tnt(...e){const t=P.useRef([]);return t.current=e.map(n=>P.useContext(n)),P.useMemo(()=>({children:n})=>e.reduceRight((r,i,a)=>P.createElement(i.Provider,{value:t.current[a],children:r}),n),[])}function jDe(e,t){const n=e+"Geometry";return P.forwardRef(({args:r,children:i,...a},u)=>{const l=P.useRef(null);return P.useImperativeHandle(u,()=>l.current),P.useLayoutEffect(()=>void(t==null?void 0:t(l.current))),P.createElement("mesh",Qv({ref:l},a),P.createElement(n,{attach:"geometry",args:r}),i)})}const nnt=jDe("sphere");function ZDe(e,t){const n=e[0],r=e[1];let i=!1;for(let a=0,u=t.length-1;a<t.length;u=a++){const l=t[a][0],o=t[a][1],s=t[u][0],c=t[u][1];o>r!=c>r&&n<(s-l)*(r-o)/(c-o)+l&&(i=!i)}return i}const HDe={minX:0,maxX:0,minY:0,maxY:0,minZ:0,maxZ:0};function rnt(e,t){if(e.length===0)return(t==null?void 0:t.fallbackBounds)||HDe;let n=1/0,r=1/0,i=-1/0,a=-1/0,u=1/0,l=-1/0;return e.forEach(o=>{n=Math.min(n,o[0]),r=Math.min(r,o[1]),u=Math.min(u,o[2]),i=Math.max(i,o[0]),a=Math.max(a,o[1]),l=Math.max(l,o[2])}),{minX:n,maxX:i,minY:r,maxY:a,minZ:u,maxZ:l}}function XDe({minX:e,maxX:t,minY:n,maxY:r,minZ:i,maxZ:a}){return[e+(t-e)/2,n+(r-n)/2,i+(a-i)/2]}function YDe({minX:e,maxX:t,minY:n,maxY:r,minZ:i,maxZ:a}){return Math.max(Math.abs(e),Math.abs(t),Math.abs(n),Math.abs(r),Math.abs(i),Math.abs(a))}function Une(e){return e.isOrthographicCamera}P.createContext({bounds:{minX:-10,maxX:10,minY:-10,maxY:10},center:[0,0]});function int({children:e,camera:t,orthographic:n=!1,...r}){return kr.jsx(yDe,{orthographic:n,camera:{position:[0,0,1],zoom:1,up:[0,1,0],...t},...r,children:e})}function ant({enabled:e=!0,zoomSpeed:t=1,enableZoom:n=!0,enablePan:r=!0,enableRotate:i=!0,autoRotate:a=!1,autoRotateSpeed:u=5,...l}){return kr.jsx(qDe,{enabled:e,zoomSpeed:t,enableZoom:n,enablePan:r,enableRotate:i,autoRotate:a,autoRotateSpeed:u,...l})}const GDe=P.createContext({bounds:{minX:-10,maxX:10,minY:-10,maxY:10,minZ:-10,maxZ:10},center:[0,0,0]}),XU=10;function unt({bounds:e,children:t,offset:n=1.5,boundsZoomPaddingFactor:r=.9}){const i=XDe(e),{camera:a,size:{width:u,height:l}}=Ld();return P.useEffect(()=>{const{minX:o,maxX:s,minY:c,maxY:d,minZ:h,maxZ:m}=e,y=s-o,v=d-c,_=m-h,x=Math.max(y,v,_);if(a.position.x=y/2+o,a.position.y=v/2+c,Une(a)){a.zoom=Math.min(u/y,l/v)*r;const E=YDe(e),w=Math.abs(E)+XU;a.position.z=w;const T=Math.max(a.far,w+E+XU);a.far=T}else{const E=a.fov*(Math.PI/180),w=x/(2*Math.tan(E/2));a.position.z=(w+i[2])*n;const T=h<0?-h+a.position.z:a.position.z-h;a.far=T*3}a.updateProjectionMatrix(),a.lookAt(...i)},[e]),kr.jsx(GDe.Provider,{value:{bounds:e,center:i},children:t})}const lnt=({size:e,color:t="#ffffff"})=>{const n=P.useRef(null);return P.useEffect(()=>{if(n.current){const r=new q$(t);n.current.setColors(r,r,r)}},[t]),kr.jsx("axesHelper",{ref:n,args:[e]})},KDe={color:"blue",scale:1},F4=new Ebe,qT=new q$;function ont({data:e,pointProps:t=KDe,onPointsClicked:n,onPointClicked:r,onPointHovered:i,onPointerLeave:a,pointShape:u="sphere",opacity:l=1,material:o="meshMatcap"}){const s=P.useCallback(y=>typeof t.color=="function"?t.color(y):t.color,[t.color]),c=P.useMemo(()=>Float32Array.from(new Array(e.length).fill(null).flatMap((y,v)=>qT.set(s(e[v])).toArray())),[e]),d=P.useRef(null);xC(()=>{e.forEach(({position:y},v)=>{if(F4.position.set(y[0],y[1],y[2]||0),t.scale&&F4.scale.set(t.scale,t.scale,t.scale),d.current){d.current.setMatrixAt(v,F4.matrix),d.current.instanceMatrix.needsUpdate=!0;const _=s(e[v]);qT.set(_),qT.toArray(c,v*3),d.current.geometry.attributes.color.needsUpdate=!0,F4.updateMatrix(),d.current.setMatrixAt(v,F4.matrix)}})});const h=P.useMemo(()=>{switch(u){case"sphere":return kr.jsx("sphereGeometry",{args:[t.radius||.02,20,20],children:kr.jsx("instancedBufferAttribute",{attach:"attributes-color",args:[c,3]})});case"cube":{const y=typeof(t==null?void 0:t.size)=="number"?[t.size,t.size,t.size]:[.03,.03,.03];return kr.jsx("boxGeometry",{args:y,children:kr.jsx("instancedBufferAttribute",{attach:"attributes-color",args:[c,3]})})}case"octahedron":return kr.jsx("octahedronGeometry",{args:[t.radius||.02,0],children:kr.jsx("instancedBufferAttribute",{attach:"attributes-color",args:[c,3]})});default:throw new Error(`Unsupported point shape: ${u}`)}},[u,t]),m=P.useMemo(()=>{switch(o){case"meshMatcap":return kr.jsx("meshMatcapMaterial",{vertexColors:!0,opacity:l,transparent:l<1});default:return kr.jsx("meshStandardMaterial",{vertexColors:!0,opacity:l,transparent:l<1})}},[o]);return kr.jsxs("instancedMesh",{args:[void 0,void 0,e.length],ref:d,onPointerUp:y=>{if(y.intersections){const v=y.intersections.map(_=>_==null?void 0:_.instanceId).filter(_=>_!=null);n&&n(v.map(_=>e[_])),v.length>0&&r&&r(e[v[0]])}},onPointerOver:y=>{if(y.intersections){const v=y.intersections.map(_=>_==null?void 0:_.instanceId).filter(_=>_!=null);v.length>0&&i&&i(e[v[0]])}},onPointerLeave:()=>{a&&a()},children:[h,m]})}const WDe=.1;function snt({data:e,pointRadius:t=WDe,color:n="#999999",opacity:r=.2,wireframe:i=!1}){const a=P.useMemo(()=>{const u=[],l=new Set;return e.forEach(s=>{const{position:c}=s;if(!l.has(c.join(","))){const d=new $be(t,12,12);d.translate(c[0],c[1],c[2]||0),u.push(d),l.add(c.join(","))}}),wDe(u)},[e]);return kr.jsx("mesh",{geometry:a??void 0,visible:r>0,children:kr.jsx("meshBasicMaterial",{opacity:r,transparent:r<1,color:n,wireframe:i})})}function JDe(){const e=new Dbe;return e.renderOrder=1,e.position.z=-.2,e.depthTest=!1,e.scale.setScalar(1),e}function cnt({children:e,lineColor:t="#53d7fb",onChange:n,points:r,enabled:i}){const{camera:a,raycaster:u,gl:l,controls:o,size:s,scene:c}=Ld(),d=P.useRef(JDe()),h=P.useRef({selectionPoints:[],isDragging:!1,selectionNeedsUpdate:!1,selectionShapeNeedsUpdate:!1});return P.useEffect(()=>{d.current.material.color.set(t).convertSRGBToLinear(),a.add(d.current),c.add(a)},[]),P.useEffect(()=>{let m=-1/0,y=-1/0;const v=new Gl,_=new Gl,x=new Gl;function E(R){if(i){const C=l.domElement.getClientRects()[0];m=R.clientX-C.left,y=R.clientY-C.top,h.current.selectionPoints.length=0,h.current.isDragging=!0}}function w(R){if(h.current.isDragging){const{selectionPoints:C}=h.current,k=l.domElement.getClientRects()[0],F=R.clientX-k.left,z=R.clientY-k.top,Z=F/k.width*2-1,q=-(z/k.height*2-1);if(Math.abs(F-m)>=3||Math.abs(z-y)>=3){const N=(C.length/3-1)*3;let V=!1;C.length>3&&(v.set(C[N-3],C[N-3+1]),_.set(C[N],C[N+1]),_.sub(v).normalize(),v.set(C[N],C[N+1]),x.set(Z,q),x.sub(v).normalize(),V=_.dot(x)>.99),V?(C[N]=Z,C[N+1]=q):C.push(Z,q,0),h.current.selectionShapeNeedsUpdate=!0,d.current.visible=!0,m=F,y=z}}}function T(){i&&h.current.isDragging&&h.current.selectionPoints.length&&(h.current.selectionShapeNeedsUpdate=!0,h.current.selectionNeedsUpdate=!0),d.current.visible=!1,h.current.isDragging=!1}return l.domElement.addEventListener("pointerdown",E,{passive:!0}),document.addEventListener("pointermove",w,{passive:!0,capture:!0}),document.addEventListener("pointerup",T,{passive:!0}),()=>{l.domElement.removeEventListener("pointerdown",E),document.removeEventListener("pointermove",w),document.removeEventListener("pointerup",T)}},[s,u,a,o,l,i]),xC(({camera:m})=>{const{selectionShapeNeedsUpdate:y,selectionPoints:v}=h.current;if(y){const _=v.length;v.push(v[0],v[1],v[2]),d.current.geometry.setAttribute("position",new y7(v,3,!1)),v.length=_,d.current.frustumCulled=!1,h.current.selectionShapeNeedsUpdate=!1}if(h.current.selectionNeedsUpdate&&v.length>0&&(h.current.selectionNeedsUpdate=!1,n(e$e({points:r,camera:m,selectionPoints:h.current.selectionPoints}))),Une(m))d.current.scale.set((m.right-m.left)/m.zoom/2,(m.top-m.bottom)/m.zoom/2,1);else{const _=Math.tan(hW.DEG2RAD*m.fov/2)*d.current.position.z;d.current.scale.set(-_*m.aspect,-_,1)}}),kr.jsx(kr.Fragment,{children:e})}function e$e({points:e,camera:t,selectionPoints:n}){const r=[],i=[];for(let u=0;u<n.length;u+=3)i.push([n[u],n[u+1]]);const a=new ui;return e.forEach(u=>{const l=u.position.length===3,o=l?u.position:[u.position[0],u.position[1],0];a.fromArray(o),l||a.sub(t.position).applyMatrix4(t.matrixWorld),a.project(t),ZDe([a.x,a.y],i)&&r.push(u)}),r}const YU={Orange:"#ff7847",LightBlue:"#23abd8"},t$e={LightBlueOrange:[YU.LightBlue,YU.Orange]},fnt={Discrete2:t$e};function Ur(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function ip(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function n$e(e,t){const n=Ur(e);return isNaN(t)?ip(e,NaN):(t&&n.setDate(n.getDate()+t),n)}function jne(e,t){const n=+Ur(e);return ip(e,n+t)}const Zne=6048e5,r$e=864e5,i$e=6e4,a$e=36e5,R_=43200,GU=1440;function u$e(e,t){return jne(e,t*a$e)}let l$e={};function I3(){return l$e}function rS(e,t){var l,o,s,c;const n=I3(),r=(t==null?void 0:t.weekStartsOn)??((o=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:o.weekStartsOn)??n.weekStartsOn??((c=(s=n.locale)==null?void 0:s.options)==null?void 0:c.weekStartsOn)??0,i=Ur(e),a=i.getDay(),u=(a<r?7:0)+a-r;return i.setDate(i.getDate()-u),i.setHours(0,0,0,0),i}function vD(e){return rS(e,{weekStartsOn:1})}function Hne(e){const t=Ur(e),n=t.getFullYear(),r=ip(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const i=vD(r),a=ip(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const u=vD(a);return t.getTime()>=i.getTime()?n+1:t.getTime()>=u.getTime()?n:n-1}function KU(e){const t=Ur(e);return t.setHours(0,0,0,0),t}function yD(e){const t=Ur(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Xne(e,t){const n=KU(e),r=KU(t),i=+n-yD(n),a=+r-yD(r);return Math.round((i-a)/r$e)}function o$e(e){const t=Hne(e),n=ip(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),vD(n)}function s$e(e,t){return jne(e,t*i$e)}function $E(e,t){const n=Ur(e),r=Ur(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}function c$e(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function f$e(e){if(!c$e(e)&&typeof e!="number")return!1;const t=Ur(e);return!isNaN(Number(t))}function d$e(e,t){const n=Ur(e),r=Ur(t),i=n.getFullYear()-r.getFullYear(),a=n.getMonth()-r.getMonth();return i*12+a}function Yne(e){return t=>{const r=(e?Math[e]:Math.trunc)(t);return r===0?0:r}}function h$e(e,t){return+Ur(e)-+Ur(t)}function p$e(e){const t=Ur(e);return t.setHours(23,59,59,999),t}function m$e(e){const t=Ur(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function g$e(e){const t=Ur(e);return+p$e(t)==+m$e(t)}function v$e(e,t){const n=Ur(e),r=Ur(t),i=$E(n,r),a=Math.abs(d$e(n,r));let u;if(a<1)u=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-i*a);let l=$E(n,r)===-i;g$e(Ur(e))&&a===1&&$E(e,r)===1&&(l=!1),u=i*(a-Number(l))}return u===0?0:u}function y$e(e,t,n){const r=h$e(e,t)/1e3;return Yne(n==null?void 0:n.roundingMethod)(r)}function dnt(e){const t=Ur(e);return t.setSeconds(0,0),t}function b$e(e){const t=Ur(e),n=ip(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function hnt(e){const t=Ur(e);return t.setMinutes(59,59,999),t}function pnt(e){const t=Ur(e);return t.setSeconds(59,999),t}const O$e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},S$e=(e,t,n)=>{let r;const i=O$e[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function VT(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const x$e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},_$e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},E$e={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},D$e={date:VT({formats:x$e,defaultWidth:"full"}),time:VT({formats:_$e,defaultWidth:"full"}),dateTime:VT({formats:E$e,defaultWidth:"full"})},$$e={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},C$e=(e,t,n,r)=>$$e[e];function N4(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let i;if(r==="formatting"&&e.formattingValues){const u=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):u;i=e.formattingValues[l]||e.formattingValues[u]}else{const u=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[l]||e.values[u]}const a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}const w$e={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},R$e={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},A$e={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},T$e={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},k$e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},P$e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},M$e=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},F$e={ordinalNumber:M$e,era:N4({values:w$e,defaultWidth:"wide"}),quarter:N4({values:R$e,defaultWidth:"wide",argumentCallback:e=>e-1}),month:N4({values:A$e,defaultWidth:"wide"}),day:N4({values:T$e,defaultWidth:"wide"}),dayPeriod:N4({values:k$e,defaultWidth:"wide",formattingValues:P$e,defaultFormattingWidth:"wide"})};function I4(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;const u=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],o=Array.isArray(l)?I$e(l,d=>d.test(u)):N$e(l,d=>d.test(u));let s;s=e.valueCallback?e.valueCallback(o):o,s=n.valueCallback?n.valueCallback(s):s;const c=t.slice(u.length);return{value:s,rest:c}}}function N$e(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function I$e(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function L$e(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],a=t.match(e.parsePattern);if(!a)return null;let u=e.valueCallback?e.valueCallback(a[0]):a[0];u=n.valueCallback?n.valueCallback(u):u;const l=t.slice(i.length);return{value:u,rest:l}}}const B$e=/^(\d+)(th|st|nd|rd)?/i,Q$e=/\d+/i,z$e={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},q$e={any:[/^b/i,/^(a|c)/i]},V$e={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},U$e={any:[/1/i,/2/i,/3/i,/4/i]},j$e={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Z$e={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},H$e={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},X$e={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Y$e={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},G$e={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},K$e={ordinalNumber:L$e({matchPattern:B$e,parsePattern:Q$e,valueCallback:e=>parseInt(e,10)}),era:I4({matchPatterns:z$e,defaultMatchWidth:"wide",parsePatterns:q$e,defaultParseWidth:"any"}),quarter:I4({matchPatterns:V$e,defaultMatchWidth:"wide",parsePatterns:U$e,defaultParseWidth:"any",valueCallback:e=>e+1}),month:I4({matchPatterns:j$e,defaultMatchWidth:"wide",parsePatterns:Z$e,defaultParseWidth:"any"}),day:I4({matchPatterns:H$e,defaultMatchWidth:"wide",parsePatterns:X$e,defaultParseWidth:"any"}),dayPeriod:I4({matchPatterns:Y$e,defaultMatchWidth:"any",parsePatterns:G$e,defaultParseWidth:"any"})},sN={code:"en-US",formatDistance:S$e,formatLong:D$e,formatRelative:C$e,localize:F$e,match:K$e,options:{weekStartsOn:0,firstWeekContainsDate:1}};function W$e(e){const t=Ur(e);return Xne(t,b$e(t))+1}function J$e(e){const t=Ur(e),n=+vD(t)-+o$e(t);return Math.round(n/Zne)+1}function Gne(e,t){var c,d,h,m;const n=Ur(e),r=n.getFullYear(),i=I3(),a=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??i.firstWeekContainsDate??((m=(h=i.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??1,u=ip(e,0);u.setFullYear(r+1,0,a),u.setHours(0,0,0,0);const l=rS(u,t),o=ip(e,0);o.setFullYear(r,0,a),o.setHours(0,0,0,0);const s=rS(o,t);return n.getTime()>=l.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function eCe(e,t){var l,o,s,c;const n=I3(),r=(t==null?void 0:t.firstWeekContainsDate)??((o=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:o.firstWeekContainsDate)??n.firstWeekContainsDate??((c=(s=n.locale)==null?void 0:s.options)==null?void 0:c.firstWeekContainsDate)??1,i=Gne(e,t),a=ip(e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),rS(a,t)}function tCe(e,t){const n=Ur(e),r=+rS(n,t)-+eCe(n,t);return Math.round(r/Zne)+1}function Ui(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const nv={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Ui(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Ui(n+1,2)},d(e,t){return Ui(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return Ui(e.getHours()%12||12,t.length)},H(e,t){return Ui(e.getHours(),t.length)},m(e,t){return Ui(e.getMinutes(),t.length)},s(e,t){return Ui(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return Ui(i,t.length)}},sO={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},WU={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return nv.y(e,t)},Y:function(e,t,n,r){const i=Gne(e,r),a=i>0?i:1-i;if(t==="YY"){const u=a%100;return Ui(u,2)}return t==="Yo"?n.ordinalNumber(a,{unit:"year"}):Ui(a,t.length)},R:function(e,t){const n=Hne(e);return Ui(n,t.length)},u:function(e,t){const n=e.getFullYear();return Ui(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Ui(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Ui(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return nv.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return Ui(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=tCe(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):Ui(i,t.length)},I:function(e,t,n){const r=J$e(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Ui(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):nv.d(e,t)},D:function(e,t,n){const r=W$e(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ui(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Ui(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Ui(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=r===0?7:r;switch(t){case"i":return String(i);case"ii":return Ui(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(r===12?i=sO.noon:r===0?i=sO.midnight:i=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(r>=17?i=sO.evening:r>=12?i=sO.afternoon:r>=4?i=sO.morning:i=sO.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return nv.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):nv.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ui(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ui(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):nv.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):nv.s(e,t)},S:function(e,t){return nv.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return ej(r);case"XXXX":case"XX":return d1(r);case"XXXXX":case"XXX":default:return d1(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return ej(r);case"xxxx":case"xx":return d1(r);case"xxxxx":case"xxx":default:return d1(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+JU(r,":");case"OOOO":default:return"GMT"+d1(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+JU(r,":");case"zzzz":default:return"GMT"+d1(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return Ui(r,t.length)},T:function(e,t,n){const r=e.getTime();return Ui(r,t.length)}};function JU(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),a=r%60;return a===0?n+String(i):n+String(i)+t+Ui(a,2)}function ej(e,t){return e%60===0?(e>0?"-":"+")+Ui(Math.abs(e)/60,2):d1(e,t)}function d1(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Ui(Math.trunc(r/60),2),a=Ui(r%60,2);return n+i+t+a}const tj=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Kne=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},nCe=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return tj(e,t);let a;switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",tj(r,t)).replace("{{time}}",Kne(i,t))},rCe={p:Kne,P:nCe},iCe=/^D+$/,aCe=/^Y+$/,uCe=["D","DD","YY","YYYY"];function lCe(e){return iCe.test(e)}function oCe(e){return aCe.test(e)}function sCe(e,t,n){const r=cCe(e,t,n);if(console.warn(r),uCe.includes(e))throw new RangeError(r)}function cCe(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const fCe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,dCe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,hCe=/^'([^]*?)'?$/,pCe=/''/g,mCe=/[a-zA-Z]/;function gCe(e,t,n){var c,d,h,m,y,v,_,x;const r=I3(),i=(n==null?void 0:n.locale)??r.locale??sN,a=(n==null?void 0:n.firstWeekContainsDate)??((d=(c=n==null?void 0:n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((m=(h=r.locale)==null?void 0:h.options)==null?void 0:m.firstWeekContainsDate)??1,u=(n==null?void 0:n.weekStartsOn)??((v=(y=n==null?void 0:n.locale)==null?void 0:y.options)==null?void 0:v.weekStartsOn)??r.weekStartsOn??((x=(_=r.locale)==null?void 0:_.options)==null?void 0:x.weekStartsOn)??0,l=Ur(e);if(!f$e(l))throw new RangeError("Invalid time value");let o=t.match(dCe).map(E=>{const w=E[0];if(w==="p"||w==="P"){const T=rCe[w];return T(E,i.formatLong)}return E}).join("").match(fCe).map(E=>{if(E==="''")return{isToken:!1,value:"'"};const w=E[0];if(w==="'")return{isToken:!1,value:vCe(E)};if(WU[w])return{isToken:!0,value:E};if(w.match(mCe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");return{isToken:!1,value:E}});i.localize.preprocessor&&(o=i.localize.preprocessor(l,o));const s={firstWeekContainsDate:a,weekStartsOn:u,locale:i};return o.map(E=>{if(!E.isToken)return E.value;const w=E.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&oCe(w)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&lCe(w))&&sCe(w,t,String(e));const T=WU[w[0]];return T(l,w,i.localize,s)}).join("")}function vCe(e){const t=e.match(hCe);return t?t[1].replace(pCe,"'"):e}function mnt(e,t,n){const r=I3(),i=(n==null?void 0:n.locale)??r.locale??sN,a=2520,u=$E(e,t);if(isNaN(u))throw new RangeError("Invalid time value");const l=Object.assign({},n,{addSuffix:n==null?void 0:n.addSuffix,comparison:u});let o,s;u>0?(o=Ur(t),s=Ur(e)):(o=Ur(e),s=Ur(t));const c=y$e(s,o),d=(yD(s)-yD(o))/1e3,h=Math.round((c-d)/60);let m;if(h<2)return n!=null&&n.includeSeconds?c<5?i.formatDistance("lessThanXSeconds",5,l):c<10?i.formatDistance("lessThanXSeconds",10,l):c<20?i.formatDistance("lessThanXSeconds",20,l):c<40?i.formatDistance("halfAMinute",0,l):c<60?i.formatDistance("lessThanXMinutes",1,l):i.formatDistance("xMinutes",1,l):h===0?i.formatDistance("lessThanXMinutes",1,l):i.formatDistance("xMinutes",h,l);if(h<45)return i.formatDistance("xMinutes",h,l);if(h<90)return i.formatDistance("aboutXHours",1,l);if(h<GU){const y=Math.round(h/60);return i.formatDistance("aboutXHours",y,l)}else{if(h<a)return i.formatDistance("xDays",1,l);if(h<R_){const y=Math.round(h/GU);return i.formatDistance("xDays",y,l)}else if(h<R_*2)return m=Math.round(h/R_),i.formatDistance("aboutXMonths",m,l)}if(m=v$e(s,o),m<12){const y=Math.round(h/R_);return i.formatDistance("xMonths",y,l)}else{const y=m%12,v=Math.trunc(m/12);return y<3?i.formatDistance("aboutXYears",v,l):y<9?i.formatDistance("overXYears",v,l):i.formatDistance("almostXYears",v+1,l)}}function gnt(e,t,n){var d,h;const r=Ur(e),i=Ur(t),a=I3(),u=a.locale??sN,l=a.weekStartsOn??((h=(d=a.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??0,o=Xne(r,i);if(isNaN(o))throw new RangeError("Invalid time value");let s;o<-6?s="other":o<-1?s="lastWeek":o<0?s="yesterday":o<1?s="today":o<2?s="tomorrow":o<7?s="nextWeek":s="other";const c=u.formatRelative(s,r,i,{locale:u,weekStartsOn:l});return gCe(r,c,{locale:u,weekStartsOn:l})}function vnt(e){const t=Ur(e);return t.setMinutes(0,0,0),t}function ynt(e,t){return n$e(e,-t)}function bnt(e,t){const n=(t==null?void 0:t.nearestTo)??1;if(n<1||n>30)return ip(e,NaN);const r=Ur(e),i=r.getSeconds()/60,a=r.getMilliseconds()/1e3/60,u=r.getMinutes()+i+a,l=(t==null?void 0:t.roundingMethod)??"round",s=Yne(l)(u/n)*n,c=ip(e,r);return c.setMinutes(s,0,0),c}function Ont(e,t){return u$e(e,-t)}function Snt(e,t){return s$e(e,-15)}const yCe=P.createContext(null);P.createContext(null);const bCe=P.createContext(null);P.createContext(null);P.createContext(null);const Wne=P.createContext({}),iS=P.createContext(null),EC=P.createContext(null),zv=Symbol("default");function Ti({values:e,children:t}){for(let[n,r]of e)t=ve.createElement(n.Provider,{value:r},t);return t}function Cn(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:u,values:l}=e;return P.useMemo(()=>{let o,s,c;return typeof t=="function"?o=t({...l,defaultClassName:i}):o=t,typeof n=="function"?s=n({...l,defaultStyle:u||{}}):s=n,typeof r=="function"?c=r({...l,defaultChildren:a}):r==null?c=a:c=r,{className:o??i,style:s||u?{...u,...s}:void 0,children:c??a,"data-rac":""}},[t,n,r,i,a,u,l])}function OCe(e,t){return n=>t(typeof e=="function"?e(n):e,n)}function hs(e,t){let n=P.useContext(e);if(t===null)return null;if(n&&typeof n=="object"&&"slots"in n&&n.slots){let r=t||zv;if(!n.slots[r]){let i=new Intl.ListFormat().format(Object.keys(n.slots).map(u=>`"${u}"`)),a=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${a} Valid slot names are ${i}.`)}return n.slots[r]}return n}function Nn(e,t,n){let r=hs(n,e.slot)||{},{ref:i,...a}=r,u=_u(P.useMemo(()=>ug(t,i),[t,i])),l=Et(a,e);return"style"in a&&a.style&&"style"in e&&e.style&&(typeof a.style=="function"||typeof e.style=="function"?l.style=o=>{let s=typeof a.style=="function"?a.style(o):a.style,c={...o.defaultStyle,...s},d=typeof e.style=="function"?e.style({...o,defaultStyle:c}):e.style;return{...c,...d}}:l.style={...a.style,...e.style}),[l,u]}function ps(e=!0){let[t,n]=P.useState(e),r=P.useRef(!1),i=P.useCallback(a=>{r.current=!0,n(!!a)},[]);return Qr(()=>{r.current||n(!1)},[]),[i,t]}function lc(e){const t=/^(data-.*)$/;let n={};for(const r in e)t.test(r)||(n[r]=e[r]);return n}var Jne={};Jne={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var ere={};ere={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var tre={};tre={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var nre={};nre={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var rre={};rre={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var ire={};ire={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var are={};are={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var ure={};ure={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var lre={};lre={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var ore={};ore={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var sre={};sre={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var cre={};cre={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var fre={};fre={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var dre={};dre={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var hre={};hre={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var pre={};pre={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var mre={};mre={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var gre={};gre={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var vre={};vre={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var yre={};yre={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var bre={};bre={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var Ore={};Ore={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var Sre={};Sre={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var xre={};xre={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var _re={};_re={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var Ere={};Ere={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var Dre={};Dre={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var $re={};$re={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var Cre={};Cre={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var wre={};wre={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var Rre={};Rre={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var Are={};Are={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var Tre={};Tre={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组，其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var kre={};kre={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var Pre={};Pre={"ar-AE":Jne,"bg-BG":ere,"cs-CZ":tre,"da-DK":nre,"de-DE":rre,"el-GR":ire,"en-US":are,"es-ES":ure,"et-EE":lre,"fi-FI":ore,"fr-FR":sre,"he-IL":cre,"hr-HR":fre,"hu-HU":dre,"it-IT":hre,"ja-JP":pre,"ko-KR":mre,"lt-LT":gre,"lv-LV":vre,"nb-NO":yre,"nl-NL":bre,"pl-PL":Ore,"pt-BR":Sre,"pt-PT":xre,"ro-RO":_re,"ru-RU":Ere,"sk-SK":Dre,"sl-SI":$re,"sr-SP":Cre,"sv-SE":wre,"tr-TR":Rre,"uk-UA":Are,"zh-CN":Tre,"zh-TW":kre};const Mre=7e3;let Nd=null;function M1(e,t="assertive",n=Mre){Nd?Nd.announce(e,t,n):(Nd=new xCe,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Nd.announce(e,t,n):setTimeout(()=>{Nd!=null&&Nd.isAttached()&&(Nd==null||Nd.announce(e,t,n))},100))}function SCe(e){Nd&&Nd.clear(e)}class xCe{isAttached(){var t;return(t=this.node)===null||t===void 0?void 0:t.isConnected}createLog(t){let n=document.createElement("div");return n.setAttribute("role","log"),n.setAttribute("aria-live",t),n.setAttribute("aria-relevant","additions"),n}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,n="assertive",r=Mre){var i,a;if(!this.node)return;let u=document.createElement("div");typeof t=="object"?(u.setAttribute("role","img"),u.setAttribute("aria-labelledby",t["aria-labelledby"])):u.textContent=t,n==="assertive"?(i=this.assertiveLog)===null||i===void 0||i.appendChild(u):(a=this.politeLog)===null||a===void 0||a.appendChild(u),t!==""&&setTimeout(()=>{u.remove()},r)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}const DC=new WeakMap;function _Ce(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function Fre(e,t){let n=DC.get(e);if(!n)throw new Error("Unknown list");return`${n.id}-option-${_Ce(t)}`}function GS(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":i,labelElementType:a="label"}=e;t=hi(t);let u=hi(),l={};n&&(r=r?`${u} ${r}`:u,l={id:u,htmlFor:a==="label"?t:void 0});let o=Fv({id:t,"aria-label":i,"aria-labelledby":r});return{labelProps:l,fieldProps:o}}function KS(e){let{description:t,errorMessage:n,isInvalid:r,validationState:i}=e,{labelProps:a,fieldProps:u}=GS(e),l=S0([!!t,!!n,r,i]),o=S0([!!t,!!n,r,i]);return u=Et(u,{"aria-describedby":[l,o,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:a,fieldProps:u,descriptionProps:{id:l},errorMessageProps:{id:o}}}function ECe(e,t,n){let r=Yt(e,{labelable:!0}),i=e.selectionBehavior||"toggle",a=e.linkBehavior||(i==="replace"?"action":"override");i==="toggle"&&a==="action"&&(a="override");let{listProps:u}=XF({...e,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:l}=k0({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),o=hi(e.id);DC.set(t,{id:o,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:s,fieldProps:c}=GS({...e,id:o,labelElementType:"span"});return{labelProps:s,listBoxProps:Et(r,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...Et(c,u)})}}function DCe(e,t,n){var r,i;let{key:a}=e,u=DC.get(t);var l;let o=(l=e.isDisabled)!==null&&l!==void 0?l:t.selectionManager.isDisabled(a);var s;let c=(s=e.isSelected)!==null&&s!==void 0?s:t.selectionManager.isSelected(a);var d;let h=(d=e.shouldSelectOnPressUp)!==null&&d!==void 0?d:u==null?void 0:u.shouldSelectOnPressUp;var m;let y=(m=e.shouldFocusOnHover)!==null&&m!==void 0?m:u==null?void 0:u.shouldFocusOnHover;var v;let _=(v=e.shouldUseVirtualFocus)!==null&&v!==void 0?v:u==null?void 0:u.shouldUseVirtualFocus;var x;let E=(x=e.isVirtualized)!==null&&x!==void 0?x:u==null?void 0:u.isVirtualized,w=S0(),T=S0(),R={role:"option","aria-disabled":o||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};Jm()&&vF()||(R["aria-label"]=e["aria-label"],R["aria-labelledby"]=w,R["aria-describedby"]=T);let C=t.collection.getItem(a);if(E){let J=Number(C==null?void 0:C.index);R["aria-posinset"]=Number.isNaN(J)?void 0:J+1,R["aria-setsize"]=YF(t.collection)}let k=u!=null&&u.onAction?()=>{var J;return u==null||(J=u.onAction)===null||J===void 0?void 0:J.call(u,a)}:void 0,F=Fre(t,a),{itemProps:z,isPressed:Z,isFocused:q,hasAction:j,allowsSelection:N}=vC({selectionManager:t.selectionManager,key:a,ref:n,shouldSelectOnPressUp:h,allowsDifferentPressOrigin:h&&y,isVirtualized:E,shouldUseVirtualFocus:_,isDisabled:o,onAction:k||!(C==null||(r=C.props)===null||r===void 0)&&r.onAction?eh(C==null||(i=C.props)===null||i===void 0?void 0:i.onAction,k):void 0,linkBehavior:u==null?void 0:u.linkBehavior,UNSTABLE_itemBehavior:u==null?void 0:u.UNSTABLE_itemBehavior,id:F}),{hoverProps:V}=Eu({isDisabled:o||!y,onHoverStart(){Iv()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(a))}}),W=Yt(C==null?void 0:C.props);delete W.id;let G=bF(C==null?void 0:C.props);return{optionProps:{...R,...Et(W,z,V,G),id:F},labelProps:{id:w},descriptionProps:{id:T},isFocused:q,isFocusVisible:q&&t.selectionManager.isFocused&&Iv(),isSelected:c,isDisabled:o,isPressed:Z,allowsSelection:N,hasAction:j}}function $Ce(e){let{heading:t,"aria-label":n}=e,r=hi();return{itemProps:{role:"presentation"},headingProps:t?{id:r,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?r:void 0}}}const Nre={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Ire={...Nre,customError:!0,valid:!1},SO={isInvalid:!1,validationDetails:Nre,validationErrors:[]},Lre=P.createContext({}),H1="__formValidationState"+Date.now();function og(e){if(e[H1]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}=e[H1];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:a}}return CCe(e)}function CCe(e){let{isInvalid:t,validationState:n,name:r,value:i,builtinValidation:a,validate:u,validationBehavior:l="aria"}=e;n&&(t||(t=n==="invalid"));let o=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:Ire}:null,s=P.useMemo(()=>{if(!u||i==null)return null;let Z=wCe(u,i);return nj(Z)},[u,i]);a!=null&&a.validationDetails.valid&&(a=void 0);let c=P.useContext(Lre),d=P.useMemo(()=>r?Array.isArray(r)?r.flatMap(Z=>f9(c[Z])):f9(c[r]):[],[c,r]),[h,m]=P.useState(c),[y,v]=P.useState(!1);c!==h&&(m(c),v(!1));let _=P.useMemo(()=>nj(y?[]:d),[y,d]),x=P.useRef(SO),[E,w]=P.useState(SO),T=P.useRef(SO),R=()=>{if(!C)return;k(!1);let Z=s||a||x.current;UT(Z,T.current)||(T.current=Z,w(Z))},[C,k]=P.useState(!1);return P.useEffect(R),{realtimeValidation:o||_||s||a||SO,displayValidation:l==="native"?o||_||E:o||_||s||a||E,updateValidation(Z){l==="aria"&&!UT(E,Z)?w(Z):x.current=Z},resetValidation(){let Z=SO;UT(Z,T.current)||(T.current=Z,w(Z)),l==="native"&&k(!1),v(!0)},commitValidation(){l==="native"&&k(!0),v(!0)}}}function f9(e){return e?Array.isArray(e)?e:[e]:[]}function wCe(e,t){if(typeof e=="function"){let n=e(t);if(n&&typeof n!="boolean")return f9(n)}return[]}function nj(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:Ire}:null}function UT(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((n,r)=>n===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([n,r])=>t.validationDetails[n]===r)}function WS(e,t,n){let{validationBehavior:r,focus:i}=e;Qr(()=>{if(r==="native"&&(n!=null&&n.current)&&!n.current.disabled){let s=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(s),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(ACe(n.current))}});let a=P.useRef(!1),u=li(()=>{a.current||t.resetValidation()}),l=li(s=>{var c;t.displayValidation.isInvalid||t.commitValidation();let d=n==null||(c=n.current)===null||c===void 0?void 0:c.form;if(!s.defaultPrevented&&n&&d&&TCe(d)===n.current){var h;i?i():(h=n.current)===null||h===void 0||h.focus(),MF("keyboard")}s.preventDefault()}),o=li(()=>{t.commitValidation()});P.useEffect(()=>{let s=n==null?void 0:n.current;if(!s)return;let c=s.form,d=c==null?void 0:c.reset;return c&&(c.reset=()=>{a.current=!window.event||window.event.type==="message"&&window.event.target instanceof MessagePort,d==null||d.call(c),a.current=!1}),s.addEventListener("invalid",l),s.addEventListener("change",o),c==null||c.addEventListener("reset",u),()=>{s.removeEventListener("invalid",l),s.removeEventListener("change",o),c==null||c.removeEventListener("reset",u),c&&(c.reset=d)}},[n,l,o,u,r])}function RCe(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function ACe(e){return{isInvalid:!e.validity.valid,validationDetails:RCe(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function TCe(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}function $C(e,t){let{inputElementType:n="input",isDisabled:r=!1,isRequired:i=!1,isReadOnly:a=!1,type:u="text",validationBehavior:l="aria"}=e,[o,s]=Vu(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=T0(e,t),d=og({...e,value:o}),{isInvalid:h,validationErrors:m,validationDetails:y}=d.displayValidation,{labelProps:v,fieldProps:_,descriptionProps:x,errorMessageProps:E}=KS({...e,isInvalid:h,errorMessage:e.errorMessage||m}),w=Yt(e,{labelable:!0});const T={type:u,pattern:e.pattern};let[R]=P.useState(o);var C;return ny(t,(C=e.defaultValue)!==null&&C!==void 0?C:R,s),WS(e,d,t),P.useEffect(()=>{if(t.current instanceof ef(t.current).HTMLTextAreaElement){let k=t.current;Object.defineProperty(k,"defaultValue",{get:()=>k.value,set:()=>{},configurable:!0})}},[t]),{labelProps:v,inputProps:Et(w,n==="input"?T:void 0,{disabled:r,readOnly:a,required:i&&l==="native","aria-required":i&&l==="aria"||void 0,"aria-invalid":h||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:o,onChange:k=>s(k.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(ve.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...c,..._}),descriptionProps:x,errorMessageProps:E,isInvalid:h,validationErrors:m,validationDetails:y}}function rj(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}function Bre(e,t,n){let r=li(d=>{let h=n.current;if(!h)return;let m=null;switch(d.inputType){case"historyUndo":case"historyRedo":return;case"insertLineBreak":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":m=h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteContentForward":m=h.selectionEnd===h.selectionStart?h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd+1):h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteContentBackward":m=h.selectionEnd===h.selectionStart?h.value.slice(0,h.selectionStart-1)+h.value.slice(h.selectionStart):h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":m=h.value.slice(h.selectionStart);break;default:d.data!=null&&(m=h.value.slice(0,h.selectionStart)+d.data+h.value.slice(h.selectionEnd));break}(m==null||!t.validate(m))&&d.preventDefault()});P.useEffect(()=>{if(!rj()||!n.current)return;let d=n.current;return d.addEventListener("beforeinput",r,!1),()=>{d.removeEventListener("beforeinput",r,!1)}},[n,r]);let i=rj()?null:d=>{let h=d.target.value.slice(0,d.target.selectionStart)+d.data+d.target.value.slice(d.target.selectionEnd);t.validate(h)||d.preventDefault()},{labelProps:a,inputProps:u,descriptionProps:l,errorMessageProps:o,...s}=$C(e,n),c=P.useRef(null);return{inputProps:Et(u,{onBeforeInput:i,onCompositionStart(){let{value:d,selectionStart:h,selectionEnd:m}=n.current;c.current={value:d,selectionStart:h,selectionEnd:m}},onCompositionEnd(){if(n.current&&!t.validate(n.current.value)){let{value:d,selectionStart:h,selectionEnd:m}=c.current;n.current.value=d,n.current.setSelectionRange(h,m),t.setInputValue(d)}}}),labelProps:a,descriptionProps:l,errorMessageProps:o,...s}}function kCe(e){return e&&e.__esModule?e.default:e}function PCe(e,t){let{buttonRef:n,popoverRef:r,inputRef:i,listBoxRef:a,keyboardDelegate:u,layoutDelegate:l,shouldFocusWrap:o,isReadOnly:s,isDisabled:c}=e,d=P.useRef(null);n=n??d;let h=ko(kCe(Pre),"@react-aria/combobox"),{menuTriggerProps:m,menuProps:y}=ZF({type:"listbox",isDisabled:c||s},t,n);DC.set(t,{id:y.id});let{collection:v}=t,{disabledKeys:_}=t.selectionManager,x=P.useMemo(()=>u||new ZS({collection:v,disabledKeys:_,ref:a,layoutDelegate:l}),[u,l,v,_,a]),{collectionProps:E}=HF({selectionManager:t.selectionManager,keyboardDelegate:x,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:o,ref:i,isVirtualized:!0}),w=T3(),T=_e=>{if(!_e.nativeEvent.isComposing)switch(_e.key){case"Enter":case"Tab":if(t.isOpen&&_e.key==="Enter"&&_e.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null){let se=t.collection.getItem(t.selectionManager.focusedKey);if(se!=null&&se.props.href){let me=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);_e.key==="Enter"&&me instanceof HTMLAnchorElement&&w.open(me,_e,se.props.href,se.props.routerOptions),t.close();break}else if(se!=null&&se.props.onAction){se.props.onAction(),t.close();break}}t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&_e.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},R=_e=>{var se;let me=(n==null?void 0:n.current)&&n.current===_e.relatedTarget,ge=(se=r.current)===null||se===void 0?void 0:se.contains(_e.relatedTarget);me||ge||(e.onBlur&&e.onBlur(_e),t.setFocused(!1))},C=_e=>{t.isFocused||(e.onFocus&&e.onFocus(_e),t.setFocused(!0))},{isInvalid:k,validationErrors:F,validationDetails:z}=t.displayValidation,{labelProps:Z,inputProps:q,descriptionProps:j,errorMessageProps:N}=$C({...e,onChange:t.setInputValue,onKeyDown:s?e.onKeyDown:eh(t.isOpen&&E.onKeyDown,T,e.onKeyDown),onBlur:R,value:t.inputValue,defaultValue:t.defaultInputValue,onFocus:C,autoComplete:"off",validate:void 0,[H1]:t},i),V=_e=>{if(_e.pointerType==="touch"){var se;(se=i.current)===null||se===void 0||se.focus(),t.toggle(null,"manual")}},W=_e=>{if(_e.pointerType!=="touch"){var se;(se=i.current)===null||se===void 0||se.focus(),t.toggle(_e.pointerType==="keyboard"||_e.pointerType==="virtual"?"first":null,"manual")}},G=Fv({id:m.id,"aria-label":h.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||Z.id}),J=Fv({id:y.id,"aria-label":h.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||Z.id}),te=P.useRef(0),X=_e=>{if(c||s)return;if(_e.timeStamp-te.current<500){var se;_e.preventDefault(),(se=i.current)===null||se===void 0||se.focus();return}let me=_e.target.getBoundingClientRect(),ge=_e.changedTouches[0],we=Math.ceil(me.left+.5*me.width),Ne=Math.ceil(me.top+.5*me.height);if(ge.clientX===we&&ge.clientY===Ne){var Re;_e.preventDefault(),(Re=i.current)===null||Re===void 0||Re.focus(),t.toggle(null,"manual"),te.current=_e.timeStamp}},M=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var K;let Y=(K=M==null?void 0:M.parentKey)!==null&&K!==void 0?K:null;var B;let ne=(B=t.selectionManager.focusedKey)!==null&&B!==void 0?B:null,oe=P.useRef(Y),ae=P.useRef(ne);P.useEffect(()=>{if(vE()&&M!=null&&ne!=null&&ne!==ae.current){let se=t.selectionManager.isSelected(ne),me=Y!=null?t.collection.getItem(Y):null,ge=(me==null?void 0:me["aria-label"])||(typeof(me==null?void 0:me.rendered)=="string"?me.rendered:"")||"";var _e;let we=h.format("focusAnnouncement",{isGroupChange:(_e=me&&Y!==oe.current)!==null&&_e!==void 0?_e:!1,groupTitle:ge,groupCount:me?[...yC(me,t.collection)].length:0,optionText:M["aria-label"]||M.textValue||"",isSelected:se});M1(we)}oe.current=Y,ae.current=ne});let de=YF(t.collection),be=P.useRef(de),ye=P.useRef(t.isOpen);P.useEffect(()=>{let _e=t.isOpen!==ye.current&&(t.selectionManager.focusedKey==null||vE());if(t.isOpen&&(_e||de!==be.current)){let se=h.format("countAnnouncement",{optionCount:de});M1(se)}be.current=de,ye.current=t.isOpen});let pe=P.useRef(t.selectedKey);return P.useEffect(()=>{if(vE()&&t.isFocused&&t.selectedItem&&t.selectedKey!==pe.current){let _e=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",se=h.format("selectedAnnouncement",{optionText:_e});M1(se)}pe.current=t.selectedKey}),P.useEffect(()=>{if(t.isOpen)return jF([i.current,r.current].filter(_e=>_e!=null))},[t.isOpen,i,r]),$J(()=>{!M&&i.current&&Qu(si(i.current))===i.current&&K2(i.current,null)},[M]),Zd(a,"react-aria-item-action",t.isOpen?()=>{t.close()}:void 0),{labelProps:Z,buttonProps:{...m,...G,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:V,onPressStart:W,isDisabled:c||s},inputProps:Et(q,{role:"combobox","aria-expanded":m["aria-expanded"],"aria-controls":t.isOpen?y.id:void 0,"aria-autocomplete":"list","aria-activedescendant":M?Fre(t,M.key):void 0,onTouchEnd:X,autoCorrect:"off",spellCheck:"false"}),listBoxProps:Et(y,J,{autoFocus:t.focusStrategy||!0,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection",UNSTABLE_itemBehavior:"action"}),descriptionProps:j,errorMessageProps:N,isInvalid:k,validationErrors:F,validationDetails:z}}var Qre={};Qre={"Clear search":"مسح البحث"};var zre={};zre={"Clear search":"Изчистване на търсене"};var qre={};qre={"Clear search":"Vymazat hledání"};var Vre={};Vre={"Clear search":"Ryd søgning"};var Ure={};Ure={"Clear search":"Suche zurücksetzen"};var jre={};jre={"Clear search":"Απαλοιφή αναζήτησης"};var Zre={};Zre={"Clear search":"Clear search"};var Hre={};Hre={"Clear search":"Borrar búsqueda"};var Xre={};Xre={"Clear search":"Tühjenda otsing"};var Yre={};Yre={"Clear search":"Tyhjennä haku"};var Gre={};Gre={"Clear search":"Effacer la recherche"};var Kre={};Kre={"Clear search":"נקה חיפוש"};var Wre={};Wre={"Clear search":"Obriši pretragu"};var Jre={};Jre={"Clear search":"Keresés törlése"};var eie={};eie={"Clear search":"Cancella ricerca"};var tie={};tie={"Clear search":"検索をクリア"};var nie={};nie={"Clear search":"검색 지우기"};var rie={};rie={"Clear search":"Išvalyti iešką"};var iie={};iie={"Clear search":"Notīrīt meklēšanu"};var aie={};aie={"Clear search":"Tøm søk"};var uie={};uie={"Clear search":"Zoekactie wissen"};var lie={};lie={"Clear search":"Wyczyść zawartość wyszukiwania"};var oie={};oie={"Clear search":"Limpar pesquisa"};var sie={};sie={"Clear search":"Limpar pesquisa"};var cie={};cie={"Clear search":"Ştergeţi căutarea"};var fie={};fie={"Clear search":"Очистить поиск"};var die={};die={"Clear search":"Vymazať vyhľadávanie"};var hie={};hie={"Clear search":"Počisti iskanje"};var pie={};pie={"Clear search":"Obriši pretragu"};var mie={};mie={"Clear search":"Rensa sökning"};var gie={};gie={"Clear search":"Aramayı temizle"};var vie={};vie={"Clear search":"Очистити пошук"};var yie={};yie={"Clear search":"清除搜索"};var bie={};bie={"Clear search":"清除搜尋條件"};var Oie={};Oie={"ar-AE":Qre,"bg-BG":zre,"cs-CZ":qre,"da-DK":Vre,"de-DE":Ure,"el-GR":jre,"en-US":Zre,"es-ES":Hre,"et-EE":Xre,"fi-FI":Yre,"fr-FR":Gre,"he-IL":Kre,"hr-HR":Wre,"hu-HU":Jre,"it-IT":eie,"ja-JP":tie,"ko-KR":nie,"lt-LT":rie,"lv-LV":iie,"nb-NO":aie,"nl-NL":uie,"pl-PL":lie,"pt-BR":oie,"pt-PT":sie,"ro-RO":cie,"ru-RU":fie,"sk-SK":die,"sl-SI":hie,"sr-SP":pie,"sv-SE":mie,"tr-TR":gie,"uk-UA":vie,"zh-CN":yie,"zh-TW":bie};function MCe(e){return e&&e.__esModule?e.default:e}function FCe(e,t,n){let r=ko(MCe(Oie),"@react-aria/searchfield"),{isDisabled:i,isReadOnly:a,onSubmit:u,onClear:l,type:o="search"}=e,s=x=>{const E=x.key;E==="Enter"&&(i||a)&&x.preventDefault(),!(i||a)&&(E==="Enter"&&u&&(x.preventDefault(),u(t.value)),E==="Escape"&&(t.value===""&&(!n.current||n.current.value==="")?x.continuePropagation():(x.preventDefault(),t.setValue(""),l&&l())))},c=()=>{t.setValue(""),l&&l()},d=()=>{var x;(x=n.current)===null||x===void 0||x.focus()},{labelProps:h,inputProps:m,descriptionProps:y,errorMessageProps:v,..._}=$C({...e,value:t.value,onChange:t.setValue,onKeyDown:a?e.onKeyDown:eh(s,e.onKeyDown),type:o},n);return{labelProps:h,inputProps:{...m,defaultValue:void 0},clearButtonProps:{"aria-label":r.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:i||a,onPress:c,onPressStart:d},descriptionProps:y,errorMessageProps:v,..._}}var Sie={};Sie={collectionLabel:"مقترحات"};var xie={};xie={collectionLabel:"Предложения"};var _ie={};_ie={collectionLabel:"Návrhy"};var Eie={};Eie={collectionLabel:"Forslag"};var Die={};Die={collectionLabel:"Empfehlungen"};var $ie={};$ie={collectionLabel:"Προτάσεις"};var Cie={};Cie={collectionLabel:"Suggestions"};var wie={};wie={collectionLabel:"Sugerencias"};var Rie={};Rie={collectionLabel:"Soovitused"};var Aie={};Aie={collectionLabel:"Ehdotukset"};var Tie={};Tie={collectionLabel:"Suggestions"};var kie={};kie={collectionLabel:"הצעות"};var Pie={};Pie={collectionLabel:"Prijedlozi"};var Mie={};Mie={collectionLabel:"Javaslatok"};var Fie={};Fie={collectionLabel:"Suggerimenti"};var Nie={};Nie={collectionLabel:"候補"};var Iie={};Iie={collectionLabel:"제안"};var Lie={};Lie={collectionLabel:"Pasiūlymai"};var Bie={};Bie={collectionLabel:"Ieteikumi"};var Qie={};Qie={collectionLabel:"Forslag"};var zie={};zie={collectionLabel:"Suggesties"};var qie={};qie={collectionLabel:"Sugestie"};var Vie={};Vie={collectionLabel:"Sugestões"};var Uie={};Uie={collectionLabel:"Sugestões"};var jie={};jie={collectionLabel:"Sugestii"};var Zie={};Zie={collectionLabel:"Предложения"};var Hie={};Hie={collectionLabel:"Návrhy"};var Xie={};Xie={collectionLabel:"Predlogi"};var Yie={};Yie={collectionLabel:"Predlozi"};var Gie={};Gie={collectionLabel:"Förslag"};var Kie={};Kie={collectionLabel:"Öneriler"};var Wie={};Wie={collectionLabel:"Пропозиції"};var Jie={};Jie={collectionLabel:"建议"};var eae={};eae={collectionLabel:"建議"};var tae={};tae={"ar-AE":Sie,"bg-BG":xie,"cs-CZ":_ie,"da-DK":Eie,"de-DE":Die,"el-GR":$ie,"en-US":Cie,"es-ES":wie,"et-EE":Rie,"fi-FI":Aie,"fr-FR":Tie,"he-IL":kie,"hr-HR":Pie,"hu-HU":Mie,"it-IT":Fie,"ja-JP":Nie,"ko-KR":Iie,"lt-LT":Lie,"lv-LV":Bie,"nb-NO":Qie,"nl-NL":zie,"pl-PL":qie,"pt-BR":Vie,"pt-PT":Uie,"ro-RO":jie,"ru-RU":Zie,"sk-SK":Hie,"sl-SI":Xie,"sr-SP":Yie,"sv-SE":Gie,"tr-TR":Kie,"uk-UA":Wie,"zh-CN":Jie,"zh-TW":eae};function NCe(e){return e&&e.__esModule?e.default:e}function ICe(e,t){let{inputRef:n,collectionRef:r,filter:i,disableAutoFocusFirst:a=!1,disableVirtualFocus:u=!1}=e,l=hi(),o=P.useRef(void 0),s=P.useRef(!1),c=P.useRef(null),d=P.useRef(null),h=Xm()==="virtual"&&(fb()||zS()),[m,y]=P.useState(!h&&!u),[v,_]=P.useState(!1);P.useEffect(()=>()=>clearTimeout(o.current),[]);let x=li(X=>{!X.isTrusted&&m&&n.current&&Qu(si(n.current))!==n.current&&n.current.focus();let M=X.target;X.isTrusted||!M||c.current===M.id||(clearTimeout(o.current),M!==r.current?s.current?(c.current=M.id,o.current=setTimeout(()=>{t.setFocusedNodeId(M.id)},500)):(c.current=M.id,t.setFocusedNodeId(M.id)):c.current&&!document.getElementById(c.current)&&(c.current=null,t.setFocusedNodeId(null)),s.current=!1)}),E=P.useCallback(X=>{if(X!=null){var M;(M=d.current)===null||M===void 0||M.removeEventListener("focusin",x),d.current=X,X.addEventListener("focusin",x),X.getAttribute("tabindex")!=null&&y(!1),_(!0)}else{var K;(K=d.current)===null||K===void 0||K.removeEventListener("focusin",x),_(!1)}},[x]),w=_u(P.useMemo(()=>ug(r,E),[r,E])),T=li(()=>{var X;s.current=!0,(X=r.current)===null||X===void 0||X.dispatchEvent(new CustomEvent($7,{cancelable:!0,bubbles:!0,detail:{focusStrategy:"first"}}))}),R=li(X=>{var M;qF(Qu()),c.current=null,t.setFocusedNodeId(null);let K=new CustomEvent(RJ,{cancelable:!0,bubbles:!0,detail:{clearFocusKey:X}});clearTimeout(o.current),s.current=!1,(M=r.current)===null||M===void 0||M.dispatchEvent(K)}),C=P.useRef("");Zd(n,"input",X=>{let{inputType:M}=X;C.current=M});let k=X=>{C.current==="insertText"&&!a?T():C.current&&(C.current.includes("insert")||C.current.includes("delete")||C.current.includes("history"))&&(R(!0),Ote(document)===n.current&&K2(n.current,null)),t.setInputValue(X)},F=P.useRef(null),z=X=>{if(F.current=X.target,X.nativeEvent.isComposing)return;let M=c.current;switch(X.key){case"a":if(v1(X))return;break;case"Escape":if(X.isDefaultPrevented())return;break;case" ":return;case"Tab":"continuePropagation"in X&&X.continuePropagation();return;case"Home":case"End":case"PageDown":case"PageUp":case"ArrowUp":case"ArrowDown":{var K;if((X.key==="Home"||X.key==="End")&&M==null&&X.shiftKey)return;X.preventDefault();let ne=new CustomEvent($7,{cancelable:!0,bubbles:!0});(K=r.current)===null||K===void 0||K.dispatchEvent(ne);break}}X.isPropagationStopped()||X.stopPropagation();let Y=!0;if(r.current!==null){var B;if(M==null)Y=((B=r.current)===null||B===void 0?void 0:B.dispatchEvent(new KeyboardEvent(X.nativeEvent.type,X.nativeEvent)))||!1;else{let ne=document.getElementById(M);ne&&(Y=(ne==null?void 0:ne.dispatchEvent(new KeyboardEvent(X.nativeEvent.type,X.nativeEvent)))||!1)}}if(Y)switch(X.key){case"ArrowLeft":case"ArrowRight":R();break;case"Enter":if(M!=null){let ne=document.getElementById(M);ne==null||ne.click()}break}else X.preventDefault()},Z=li(X=>{if(X.target===F.current){var M;X.stopImmediatePropagation();let K=c.current;if(K==null)(M=r.current)===null||M===void 0||M.dispatchEvent(new KeyboardEvent(X.type,X));else{let Y=document.getElementById(K);Y==null||Y.dispatchEvent(new KeyboardEvent(X.type,X))}}});P.useEffect(()=>(document.addEventListener("keyup",Z,!0),()=>{document.removeEventListener("keyup",Z,!0)}),[Z]);let q=ko(NCe(tae),"@react-aria/autocomplete"),j=Fv({id:l,"aria-label":q.format("collectionLabel")}),N=P.useCallback((X,M)=>i?i(X,t.inputValue,M):!0,[t.inputValue,i]),V=X=>{if(!X.isTrusted)return;let M=c.current?document.getElementById(c.current):null;M&&K7(M,X.relatedTarget)},W=X=>{if(!X.isTrusted)return;if(c.current?document.getElementById(c.current):null){let K=X.target;queueMicrotask(()=>{K7(K,r.current),K2(r.current,K)})}},G={value:t.inputValue,onChange:k};var J;let te={onKeyDown:z,"aria-activedescendant":(J=t.focusedNodeId)!==null&&J!==void 0?J:void 0,onBlur:V,onFocus:W};return v&&(G={...G,...m&&te,enterKeyHint:"go","aria-controls":l,"aria-autocomplete":"list",autoCorrect:"off",spellCheck:"false",autoComplete:"off"}),{inputProps:G,collectionProps:Et(j,{shouldUseVirtualFocus:m,disallowTypeAhead:m}),collectionRef:w,filter:i!=null?N:void 0}}function LCe(e){let{onInputChange:t,inputValue:n,defaultInputValue:r=""}=e,i=s=>{t&&t(s)},[a,u]=P.useState(null),[l,o]=Vu(n,r,i);return{inputValue:l,setInputValue:o,focusedNodeId:a,setFocusedNodeId:u}}const BCe=P.createContext(null),QCe=P.createContext(null);function xnt(e){let t=hs(BCe,e.slot);e=Et(t,e);let{filter:n,disableAutoFocusFirst:r}=e,i=LCe(e),a=P.useRef(null),u=P.useRef(null),{inputProps:l,collectionProps:o,collectionRef:s,filter:c}=ICe({...lc(e),filter:n,disableAutoFocusFirst:r,inputRef:a,collectionRef:u},i);return ve.createElement(Ti,{values:[[QCe,i],[EC,{...l,ref:a}],[iS,{...o,filter:c,ref:s}]]},e.children)}class ay{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new this.constructor(this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}filter(t,n,r){let i=this.clone();return n.addDescendants(i,t),i}constructor(t){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=t}}class nae extends ay{filter(t,n,r){let[i,a]=iae(t,n,this.firstChildKey,r),u=this.clone();return u.firstChildKey=i,u.lastChildKey=a,u}}class zCe extends ay{}zCe.type="header";class rae extends ay{}rae.type="loader";class CC extends nae{filter(t,n,r){if(r(this.textValue,this)){let i=this.clone();return n.addDescendants(i,t),i}return null}}CC.type="item";class qCe extends nae{filter(t,n,r){let i=super.filter(t,n,r);if(i&&i.lastChildKey!==null){let a=t.getItem(i.lastChildKey);if(a&&a.type!=="header")return i}return null}}qCe.type="section";class VCe{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let n=this.keyMap;return{*[Symbol.iterator](){let r=n.get(t),i=(r==null?void 0:r.firstChildKey)!=null?n.get(r.firstChildKey):null;for(;i;)yield i,i=i.nextKey!=null?n.get(i.nextKey):void 0}}}getKeyBefore(t){let n=this.keyMap.get(t);if(!n)return null;if(n.prevKey!=null){for(n=this.keyMap.get(n.prevKey);n&&n.type!=="item"&&n.lastChildKey!=null;)n=this.keyMap.get(n.lastChildKey);var r;return(r=n==null?void 0:n.key)!==null&&r!==void 0?r:null}return n.parentKey}getKeyAfter(t){let n=this.keyMap.get(t);if(!n)return null;if(n.type!=="item"&&n.firstChildKey!=null)return n.firstChildKey;for(;n;){if(n.nextKey!=null)return n.nextKey;if(n.parentKey!=null)n=this.keyMap.get(n.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);var n;return(n=t==null?void 0:t.key)!==null&&n!==void 0?n:null}getItem(t){var n;return(n=this.keyMap.get(t))!==null&&n!==void 0?n:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,n=new t;return n.keyMap=new Map(this.keyMap),n.firstKey=this.firstKey,n.lastKey=this.lastKey,n.itemCount=this.itemCount,n}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");t.type==="item"&&this.keyMap.get(t.key)==null&&this.itemCount++,this.keyMap.set(t.key,t)}addDescendants(t,n){this.addNode(t);let r=n.getChildren(t.key);for(let i of r)this.addDescendants(i,n)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let n=this.keyMap.get(t);n!=null&&n.type==="item"&&this.itemCount--,this.keyMap.delete(t)}commit(t,n,r=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=n,this.frozen=!r}filter(t){let n=new this.constructor,[r,i]=iae(this,n,this.firstKey,t);return n==null||n.commit(r,i),n}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function iae(e,t,n,r){if(n==null)return[null,null];let i=null,a=null,u=e.getItem(n);for(;u!=null;){let s=u.filter(e,t,r);s!=null&&(s.nextKey=null,a&&(s.prevKey=a.key,a.nextKey=s.key),i==null&&(i=s),t.addNode(s),a=s),u=u.nextKey?e.getItem(u.nextKey):null}if(a&&a.type==="separator"){let s=a.prevKey;t.removeNode(a.key),s?(a=t.getItem(s),a.nextKey=null):a=null}var l,o;return[(l=i==null?void 0:i.key)!==null&&l!==void 0?l:null,(o=a==null?void 0:a.key)!==null&&o!==void 0?o:null]}class aae{*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){var t;return((t=this.parentNode)===null||t===void 0?void 0:t.isConnected)||!1}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this))}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(t,n){if(n==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=n,t.previousSibling=n.previousSibling,t.index=n.index-1,this.firstChild===n?this.firstChild=t:n.previousSibling&&(n.previousSibling.nextSibling=t),n.previousSibling=t,t.parentNode=n.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(t){t.parentNode===this&&(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=t}}class YO extends aae{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){var t;return this.parentNode instanceof YO?this.parentNode.level+(((t=this.node)===null||t===void 0?void 0:t.type)==="item"?1:0):0}getMutableNode(){return this.node==null?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){var t,n,r,i,a,u,l,o;let s=this.nextVisibleSibling,c=this.getMutableNode();if(c!=null){c.index=this.index,c.level=this.level;var d;c.parentKey=this.parentNode instanceof YO&&(d=(t=this.parentNode.node)===null||t===void 0?void 0:t.key)!==null&&d!==void 0?d:null;var h;c.prevKey=(h=(r=this.previousVisibleSibling)===null||r===void 0||(n=r.node)===null||n===void 0?void 0:n.key)!==null&&h!==void 0?h:null;var m;c.nextKey=(m=s==null||(i=s.node)===null||i===void 0?void 0:i.key)!==null&&m!==void 0?m:null,c.hasChildNodes=!!this.firstChild;var y;c.firstChildKey=(y=(u=this.firstVisibleChild)===null||u===void 0||(a=u.node)===null||a===void 0?void 0:a.key)!==null&&y!==void 0?y:null;var v;if(c.lastChildKey=(v=(o=this.lastVisibleChild)===null||o===void 0||(l=o.node)===null||l===void 0?void 0:l.key)!==null&&v!==void 0?v:null,(c.colSpan!=null||c.colIndex!=null)&&s){var _,x;let E=((_=c.colIndex)!==null&&_!==void 0?_:c.index)+((x=c.colSpan)!==null&&x!==void 0?x:1);if(s.node!=null&&E!==s.node.colIndex){let w=s.getMutableNode();w.colIndex=E}}}}setProps(t,n,r,i,a){let u,{value:l,textValue:o,id:s,...c}=t;if(this.node==null?(u=new r(s??`react-aria-${++this.ownerDocument.nodeId}`),this.node=u):u=this.getMutableNode(),c.ref=n,u.props=c,u.rendered=i,u.render=a,u.value=l,u.textValue=o||(typeof c.children=="string"?c.children:"")||t["aria-label"]||"",s!=null&&s!==u.key)throw new Error("Cannot change the id of an item");c.colSpan!=null&&(u.colSpan=c.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let t=this;return{get display(){return t.isHidden?"none":""},set display(n){let r=n==="none";if(t.isHidden!==r){var i,a;(((i=t.parentNode)===null||i===void 0?void 0:i.firstVisibleChild)===t||((a=t.parentNode)===null||a===void 0?void 0:a.lastVisibleChild)===t)&&t.ownerDocument.markDirty(t.parentNode);let u=t.previousVisibleSibling,l=t.nextVisibleSibling;u&&t.ownerDocument.markDirty(u),l&&t.ownerDocument.markDirty(l),t.isHidden=r,t.ownerDocument.markDirty(t)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(t,n){super(n),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}}class UCe extends aae{get isConnected(){return!0}createElement(t){return new YO(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t)}addNode(t){if(t.isHidden||t.node==null)return;let n=this.getMutableCollection();if(!n.getItem(t.node.key))for(let r of t)this.addNode(r);n.addNode(t.node)}removeNode(t){for(let n of t)this.removeNode(n);t.node&&this.getMutableCollection().removeNode(t.node.key)}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let l of this.dirtyNodes)l instanceof YO&&(!l.isConnected||l.isHidden)?this.removeNode(l):l.updateChildIndices();for(let l of this.dirtyNodes)l instanceof YO?(l.isConnected&&!l.isHidden&&(l.updateNode(),this.addNode(l)),l.node&&this.dirtyNodes.delete(l),l.isMutated=!1):this.dirtyNodes.delete(l);if(this.nextCollection){var t,n,r,i,a,u;this.nextCollection.commit((a=(n=this.firstVisibleChild)===null||n===void 0||(t=n.node)===null||t===void 0?void 0:t.key)!==null&&a!==void 0?a:null,(u=(i=this.lastVisibleChild)===null||i===void 0||(r=i.node)===null||r===void 0?void 0:r.key)!==null&&u!==void 0?u:null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null)}}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0;for(let t of this.subscriptions)t();this.inSubscription=!1}}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=t,this.nextCollection=t}}function uae(e){let{children:t,items:n,idScope:r,addIdAndValue:i,dependencies:a=[]}=e,u=P.useMemo(()=>new WeakMap,a);return P.useMemo(()=>{if(n&&typeof t=="function"){let s=[];for(let c of n){let d=u.get(c);if(!d){d=t(c);var l,o;let h=(o=(l=d.props.id)!==null&&l!==void 0?l:c.key)!==null&&o!==void 0?o:c.id;if(h==null)throw new Error("Could not determine key for item");r&&(h=r+":"+h),d=P.cloneElement(d,i?{key:h,id:h,value:c}:{key:h}),u.set(c,d)}s.push(d)}return s}else if(typeof t!="function")return t},[t,n,u,r,i])}if(typeof HTMLTemplateElement<"u"){const e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const bD=P.createContext(!1);function jCe(e){if(P.useContext(bD))return ve.createElement(ve.Fragment,null,e.children);let n=ve.createElement(bD.Provider,{value:!0},e.children);return ve.createElement("template",{"data-react-aria-hidden":!0},n)}function db(e){let t=(n,r)=>P.useContext(bD)?null:e(n,r);return t.displayName=e.displayName||e.name,P.forwardRef(t)}function ZCe(){return P.useContext(bD)}var cN=vne();const lae=P.createContext(!1),aS=P.createContext(null);function hb(e){if(P.useContext(aS))return e.content;let{collection:n,document:r}=GCe(e.createCollection);return ve.createElement(ve.Fragment,null,ve.createElement(jCe,null,ve.createElement(aS.Provider,{value:r},e.content)),ve.createElement(HCe,{render:e.children,collection:n}))}function HCe({collection:e,render:t}){return t(e)}function XCe(e,t,n){let r=Jd(),i=P.useRef(r);i.current=r;let a=P.useCallback(()=>i.current?n():t(),[t,n]);return cN.useSyncExternalStore(e,a)}const YCe=typeof ve.useSyncExternalStore=="function"?ve.useSyncExternalStore:XCe;function GCe(e){let[t]=P.useState(()=>new UCe((e==null?void 0:e())||new VCe)),n=P.useCallback(u=>t.subscribe(u),[t]),r=P.useCallback(()=>{let u=t.getCollection();return t.isSSR&&t.resetAfterSSR(),u},[t]),i=P.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]);return{collection:YCe(n,r,i),document:t}}const d9=P.createContext(null);function KCe(e){var t;return t=class extends ay{},t.type=e,t}function oae(e,t,n,r,i,a){typeof e=="string"&&(e=KCe(e));let u=P.useCallback(o=>{o==null||o.setProps(t,n,e,r,a)},[t,n,r,a,e]),l=P.useContext(d9);if(l){let o=l.ownerDocument.nodesByProps.get(t);return o||(o=l.ownerDocument.createElement(e.type),o.setProps(t,n,e,r,a),l.appendChild(o),l.ownerDocument.updateCollection(),l.ownerDocument.nodesByProps.set(t,o)),i?ve.createElement(d9.Provider,{value:o},i):null}return ve.createElement(e.type,{ref:u},i)}function pb(e,t){let n=({node:i})=>t(i.props,i.props.ref,i),r=P.forwardRef((i,a)=>{let u=P.useContext(aD);if(!P.useContext(lae)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(i,a)}return oae(e,i,a,"children"in i?i.children:null,null,o=>ve.createElement(aD.Provider,{value:u},ve.createElement(n,{node:o})))});return r.displayName=t.name,r}function WCe(e,t,n=sae){let r=({node:a})=>t(a.props,a.props.ref,a),i=P.forwardRef((a,u)=>{let l=n(a);var o;return(o=oae(e,a,u,null,l,s=>ve.createElement(r,{node:s})))!==null&&o!==void 0?o:ve.createElement(ve.Fragment,null)});return i.displayName=t.name,i}function sae(e){return uae({...e,addIdAndValue:!0})}const ij=P.createContext(null);function JS(e){let t=P.useContext(ij),n=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),r=e.idScope||(t==null?void 0:t.idScope),i=sae({...e,idScope:r,dependencies:n});return P.useContext(aS)&&(i=ve.createElement(JCe,null,i)),t=P.useMemo(()=>({dependencies:n,idScope:r}),[r,...n]),ve.createElement(ij.Provider,{value:t},i)}function JCe({children:e}){let t=P.useContext(aS),n=P.useMemo(()=>ve.createElement(aS.Provider,{value:null},ve.createElement(lae.Provider,{value:!0},e)),[e]);return Jd()?ve.createElement(d9.Provider,{value:t},n):zf.createPortal(n,t)}const cae=P.createContext(null),fN={CollectionRoot({collection:e,renderDropIndicator:t}){return aj(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:n}){return aj(e,t,n)}};function aj(e,t,n){return uae({items:t?e.getChildren(t.key):e,dependencies:[n],children(r){let i=r.render(r);return!n||r.type!=="item"?i:ve.createElement(ve.Fragment,null,n({type:"item",key:r.key,dropPosition:"before"}),i,e5e(e,r,n))}})}function e5e(e,t,n){let r=t.key,i=e.getKeyAfter(r),a=i!=null?e.getItem(i):null;for(;a!=null&&a.type!=="item";)i=e.getKeyAfter(a.key),a=i!=null?e.getItem(i):null;let u=t.nextKey!=null?e.getItem(t.nextKey):null;for(;u!=null&&u.type!=="item";)u=u.nextKey!=null?e.getItem(u.nextKey):null;let l=[];if(u==null){let o=t;for(;o&&(!a||o.parentKey!==a.parentKey&&a.level<o.level);){let s=n({type:"item",key:o.key,dropPosition:"after"});P.isValidElement(s)&&l.push(P.cloneElement(s,{key:`${o.key}-after`})),o=o.parentKey!=null?e.getItem(o.parentKey):null}}return l}const fp=P.createContext(fN);function dN(e){return P.useMemo(()=>e!=null?new Set([e]):null,[e])}var fae={};fae={breadcrumbs:"عناصر الواجهة"};var dae={};dae={breadcrumbs:"Трохи хляб"};var hae={};hae={breadcrumbs:"Popis cesty"};var pae={};pae={breadcrumbs:"Brødkrummer"};var mae={};mae={breadcrumbs:"Breadcrumbs"};var gae={};gae={breadcrumbs:"Πλοηγήσεις breadcrumb"};var vae={};vae={breadcrumbs:"Breadcrumbs"};var yae={};yae={breadcrumbs:"Migas de pan"};var bae={};bae={breadcrumbs:"Lingiread"};var Oae={};Oae={breadcrumbs:"Navigointilinkit"};var Sae={};Sae={breadcrumbs:"Chemin de navigation"};var xae={};xae={breadcrumbs:"שבילי ניווט"};var _ae={};_ae={breadcrumbs:"Navigacijski putovi"};var Eae={};Eae={breadcrumbs:"Morzsamenü"};var Dae={};Dae={breadcrumbs:"Breadcrumb"};var $ae={};$ae={breadcrumbs:"パンくずリスト"};var Cae={};Cae={breadcrumbs:"탐색 표시"};var wae={};wae={breadcrumbs:"Naršymo kelias"};var Rae={};Rae={breadcrumbs:"Atpakaļceļi"};var Aae={};Aae={breadcrumbs:"Navigasjonsstier"};var Tae={};Tae={breadcrumbs:"Broodkruimels"};var kae={};kae={breadcrumbs:"Struktura nawigacyjna"};var Pae={};Pae={breadcrumbs:"Caminho detalhado"};var Mae={};Mae={breadcrumbs:"Categorias"};var Fae={};Fae={breadcrumbs:"Miez de pâine"};var Nae={};Nae={breadcrumbs:"Навигация"};var Iae={};Iae={breadcrumbs:"Navigačné prvky Breadcrumbs"};var Lae={};Lae={breadcrumbs:"Drobtine"};var Bae={};Bae={breadcrumbs:"Putanje navigacije"};var Qae={};Qae={breadcrumbs:"Sökvägar"};var zae={};zae={breadcrumbs:"İçerik haritaları"};var qae={};qae={breadcrumbs:"Навігаційна стежка"};var Vae={};Vae={breadcrumbs:"导航栏"};var Uae={};Uae={breadcrumbs:"導覽列"};var jae={};jae={"ar-AE":fae,"bg-BG":dae,"cs-CZ":hae,"da-DK":pae,"de-DE":mae,"el-GR":gae,"en-US":vae,"es-ES":yae,"et-EE":bae,"fi-FI":Oae,"fr-FR":Sae,"he-IL":xae,"hr-HR":_ae,"hu-HU":Eae,"it-IT":Dae,"ja-JP":$ae,"ko-KR":Cae,"lt-LT":wae,"lv-LV":Rae,"nb-NO":Aae,"nl-NL":Tae,"pl-PL":kae,"pt-BR":Pae,"pt-PT":Mae,"ro-RO":Fae,"ru-RU":Nae,"sk-SK":Iae,"sl-SI":Lae,"sr-SP":Bae,"sv-SE":Qae,"tr-TR":zae,"uk-UA":qae,"zh-CN":Vae,"zh-TW":Uae};function t5e(e){return e&&e.__esModule?e.default:e}function n5e(e){let{"aria-label":t,...n}=e,r=ko(t5e(jae),"@react-aria/breadcrumbs");return{navProps:{...Yt(n,{labelable:!0}),"aria-label":t||r.format("breadcrumbs")}}}function Zae(e,t){let{elementType:n="button",isDisabled:r,onPress:i,onPressStart:a,onPressEnd:u,onPressUp:l,onPressChange:o,preventFocusOnPress:s,allowFocusWhenDisabled:c,onClick:d,href:h,target:m,rel:y,type:v="button"}=e,_;n==="button"?_={type:v,disabled:r,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:_={role:"button",href:n==="a"&&!r?h:void 0,target:n==="a"?m:void 0,type:n==="input"?v:void 0,disabled:n==="input"?r:void 0,"aria-disabled":!r||n==="input"?void 0:r,rel:n==="a"?y:void 0};let{pressProps:x,isPressed:E}=rp({onPressStart:a,onPressEnd:u,onPressChange:o,onPress:i,onPressUp:l,onClick:d,isDisabled:r,preventFocusOnPress:s,ref:t}),{focusableProps:w}=T0(e,t);c&&(w.tabIndex=r?-1:w.tabIndex);let T=Et(w,x,Yt(e,{labelable:!0}));return{isPressed:E,buttonProps:Et(_,T,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}function Hae(e,t,n){const{isSelected:r}=t,{isPressed:i,buttonProps:a}=Zae({...e,onPress:eh(t.toggle,e.onPress)},n);return{isPressed:i,isSelected:r,isDisabled:e.isDisabled||!1,buttonProps:Et(a,{"aria-pressed":r})}}function Xae(e,t){const{"aria-label":n,"aria-labelledby":r,orientation:i="horizontal"}=e;let[a,u]=P.useState(!1);Qr(()=>{var y;u(!!(t.current&&(!((y=t.current.parentElement)===null||y===void 0)&&y.closest('[role="toolbar"]'))))});const{direction:l}=Zi(),o=l==="rtl"&&i==="horizontal";let s=QF(t);const c=y=>{if(y.currentTarget.contains(y.target)){if(i==="horizontal"&&y.key==="ArrowRight"||i==="vertical"&&y.key==="ArrowDown")o?s.focusPrevious():s.focusNext();else if(i==="horizontal"&&y.key==="ArrowLeft"||i==="vertical"&&y.key==="ArrowUp")o?s.focusNext():s.focusPrevious();else if(y.key==="Tab"){y.stopPropagation(),d.current=document.activeElement,y.shiftKey?s.focusFirst():s.focusLast();return}else return;y.stopPropagation(),y.preventDefault()}},d=P.useRef(null),h=y=>{!y.currentTarget.contains(y.relatedTarget)&&!d.current&&(d.current=y.target)},m=y=>{var v;if(d.current&&!y.currentTarget.contains(y.relatedTarget)&&(!((v=t.current)===null||v===void 0)&&v.contains(y.target))){var _;(_=d.current)===null||_===void 0||_.focus(),d.current=null}};return{toolbarProps:{...Yt(e,{labelable:!0}),role:a?"group":"toolbar","aria-orientation":i,"aria-label":n,"aria-labelledby":n==null?r:void 0,onKeyDownCapture:a?void 0:c,onFocusCapture:a?void 0:m,onBlurCapture:a?void 0:h}}}function r5e(e,t,n){let{isDisabled:r}=e,{toolbarProps:i}=Xae(e,n);return{groupProps:{...i,role:t.selectionMode==="single"?"radiogroup":i.role,"aria-disabled":r}}}function i5e(e,t,n){let r={isSelected:t.selectedKeys.has(e.id),defaultSelected:!1,setSelected(o){t.setSelected(e.id,o)},toggle(){t.toggleKey(e.id)}},{isPressed:i,isSelected:a,isDisabled:u,buttonProps:l}=Hae({...e,id:void 0,isDisabled:e.isDisabled||t.isDisabled},r,n);return t.selectionMode==="single"&&(l.role="radio",l["aria-checked"]=r.isSelected,delete l["aria-pressed"]),{isPressed:i,isSelected:a,isDisabled:u,buttonProps:l}}function Yae(e,t,n){let{isDisabled:r=!1,isReadOnly:i=!1,value:a,name:u,form:l,children:o,"aria-label":s,"aria-labelledby":c,validationState:d="valid",isInvalid:h,onPressStart:m,onPressEnd:y,onPressChange:v,onPress:_,onPressUp:x,onClick:E}=e,w=q=>{q.stopPropagation(),t.setSelected(q.target.checked)},{pressProps:T,isPressed:R}=rp({onPressStart:m,onPressEnd:y,onPressChange:v,onPress:_,onPressUp:x,onClick:E,isDisabled:r}),{pressProps:C,isPressed:k}=rp({onPressStart:m,onPressEnd:y,onPressChange:v,onPressUp:x,onClick:E,onPress(q){var j;_==null||_(q),t.toggle(),(j=n.current)===null||j===void 0||j.focus()},isDisabled:r||i}),{focusableProps:F}=T0(e,n),z=Et(T,F),Z=Yt(e,{labelable:!0});return ny(n,t.defaultSelected,t.setSelected),{labelProps:Et(C,{onClick:q=>q.preventDefault()}),inputProps:Et(Z,{"aria-invalid":h||d==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":i||void 0,onChange:w,disabled:r,...a==null?{}:{value:a},name:u,form:l,type:"checkbox",...z}),isSelected:t.isSelected,isPressed:R||k,isDisabled:r,isReadOnly:i,isInvalid:h||d==="invalid"}}function Gae(e,t,n){let r=og({...e,value:t.isSelected}),{isInvalid:i,validationErrors:a,validationDetails:u}=r.displayValidation,{labelProps:l,inputProps:o,isSelected:s,isPressed:c,isDisabled:d,isReadOnly:h}=Yae({...e,isInvalid:i},t,n);WS(e,r,n);let{isIndeterminate:m,isRequired:y,validationBehavior:v="aria"}=e;P.useEffect(()=>{n.current&&(n.current.indeterminate=!!m)});let{pressProps:_}=rp({isDisabled:d||h,onPress(){let{[H1]:x}=e,{commitValidation:E}=x||r;E()}});return{labelProps:Et(l,_,P.useMemo(()=>({onMouseDown:x=>x.preventDefault()}),[])),inputProps:{...o,checked:s,"aria-required":y&&v==="aria"||void 0,required:y&&v==="native"},isSelected:s,isPressed:c,isDisabled:d,isReadOnly:h,isInvalid:i,validationErrors:a,validationDetails:u}}const a5e=new WeakMap;function wC(e={}){let{isReadOnly:t}=e,[n,r]=Vu(e.isSelected,e.defaultSelected||!1,e.onChange),[i]=P.useState(n);function a(o){t||r(o)}function u(){t||r(!n)}var l;return{isSelected:n,defaultSelected:(l=e.defaultSelected)!==null&&l!==void 0?l:i,setSelected:a,toggle:u}}function u5e(e){let{selectionMode:t="single",disallowEmptySelection:n,isDisabled:r=!1}=e,[i,a]=Vu(P.useMemo(()=>e.selectedKeys?new Set(e.selectedKeys):void 0,[e.selectedKeys]),P.useMemo(()=>e.defaultSelectedKeys?new Set(e.defaultSelectedKeys):new Set,[e.defaultSelectedKeys]),e.onSelectionChange);return{selectionMode:t,isDisabled:r,selectedKeys:i,setSelectedKeys:a,toggleKey(u){let l;t==="multiple"?(l=new Set(i),l.has(u)&&(!n||l.size>1)?l.delete(u):l.add(u)):l=new Set(i.has(u)&&!n?[]:[u]),a(l)},setSelected(u,l){l!==i.has(u)&&this.toggleKey(u)}}}function l5e(e,t,n){const r=wC({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),defaultSelected:t.defaultValue.includes(e.value),onChange(x){x?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(x)}});let{name:i,form:a,descriptionId:u,errorMessageId:l,validationBehavior:o}=a5e.get(t);var s;o=(s=e.validationBehavior)!==null&&s!==void 0?s:o;let{realtimeValidation:c}=og({...e,value:r.isSelected,name:void 0,validationBehavior:"aria"}),d=P.useRef(SO),h=()=>{t.setInvalid(e.value,c.isInvalid?c:d.current)};P.useEffect(h);let m=t.realtimeValidation.isInvalid?t.realtimeValidation:c,y=o==="native"?t.displayValidation:m;var v;let _=Gae({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||i,form:e.form||a,isRequired:(v=e.isRequired)!==null&&v!==void 0?v:t.isRequired,validationBehavior:o,[H1]:{realtimeValidation:m,displayValidation:y,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(x){d.current=x,h()}}},r,n);return{..._,inputProps:{..._.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?l:null,u].filter(Boolean).join(" ")||void 0}}}var Kae={};Kae={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"أداة انتقاء اللون",colorSwatch:"تغيير الألوان",transparent:"شفاف",twoDimensionalSlider:"مُنزلق 2D"};var Wae={};Wae={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Средство за избиране на цвят",colorSwatch:"цветна мостра",transparent:"прозрачен",twoDimensionalSlider:"2D плъзгач"};var Jae={};Jae={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Výběr barvy",colorSwatch:"barevný vzorek",transparent:"průhledný",twoDimensionalSlider:"2D posuvník"};var eue={};eue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farvevælger",colorSwatch:"farveprøve",transparent:"gennemsigtig",twoDimensionalSlider:"2D-skyder"};var tue={};tue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farbwähler",colorSwatch:"Farbfeld",transparent:"transparent",twoDimensionalSlider:"2D-Schieberegler"};var nue={};nue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Επιλογέας χρωμάτων",colorSwatch:"χρωματικό δείγμα",transparent:"διαφανές",twoDimensionalSlider:"Ρυθμιστικό 2D"};var rue={};rue={colorPicker:"Color picker",twoDimensionalSlider:"2D slider",colorNameAndValue:e=>`${e.name}: ${e.value}`,colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorSwatch:"color swatch",transparent:"transparent"};var iue={};iue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de color",colorSwatch:"muestra de color",transparent:"transparente",twoDimensionalSlider:"Regulador 2D"};var aue={};aue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Värvivalija",colorSwatch:"värvinäidis",transparent:"läbipaistev",twoDimensionalSlider:"2D-liugur"};var uue={};uue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Värimuokkain",colorSwatch:"värimalli",transparent:"läpinäkyvä",twoDimensionalSlider:"2D-liukusäädin"};var lue={};lue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name} : ${e.value}`,colorPicker:"Sélecteur de couleurs",colorSwatch:"Échantillon de couleurs",transparent:"Transparent",twoDimensionalSlider:"Curseur 2D"};var oue={};oue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"בוחר הצבעים",colorSwatch:"דוגמית צבע",transparent:"שקוף",twoDimensionalSlider:"מחוון דו מימדי"};var sue={};sue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Odabir boje",colorSwatch:"uzorak boje",transparent:"transparentno",twoDimensionalSlider:"2D klizač"};var cue={};cue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Színválasztó",colorSwatch:"színtár",transparent:"átlátszó",twoDimensionalSlider:"2D-csúszka"};var fue={};fue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selettore colore",colorSwatch:"campione di colore",transparent:"trasparente",twoDimensionalSlider:"Cursore 2D"};var due={};due={colorInputLabel:e=>`${e.label}、${e.channelLabel}`,colorNameAndValue:e=>`${e.name} : ${e.value}`,colorPicker:"カラーピッカー",colorSwatch:"カラースウォッチ",transparent:"透明",twoDimensionalSlider:"2D スライダー"};var hue={};hue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"색상 피커",colorSwatch:"색상 견본",transparent:"투명도",twoDimensionalSlider:"2D 슬라이더"};var pue={};pue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Spalvų parinkiklis",colorSwatch:"spalvų pavyzdys",transparent:"skaidrus",twoDimensionalSlider:"2D slankiklis"};var mue={};mue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Krāsu atlasītājs",colorSwatch:"krāsu paraugs",transparent:"caurspīdīgs",twoDimensionalSlider:"2D slīdnis"};var gue={};gue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Fargevelger",colorSwatch:"fargekart",transparent:"gjennomsiktig",twoDimensionalSlider:"2D-glidebryter"};var vue={};vue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kleurkiezer",colorSwatch:"kleurstaal",transparent:"transparant",twoDimensionalSlider:"2D-schuifregelaar"};var yue={};yue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Próbnik kolorów",colorSwatch:"próbka koloru",transparent:"przezroczysty",twoDimensionalSlider:"Suwak 2D"};var bue={};bue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cores",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"};var Oue={};Oue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cor",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"};var Sue={};Sue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de culori",colorSwatch:"specimen de culoare",transparent:"transparent",twoDimensionalSlider:"Glisor 2D"};var xue={};xue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Палитра цветов",colorSwatch:"цветовой образец",transparent:"прозрачный",twoDimensionalSlider:"Ползунок 2D"};var _ue={};_ue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Výber farieb",colorSwatch:"vzorkovník farieb",transparent:"transparentný",twoDimensionalSlider:"2D jazdec"};var Eue={};Eue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Izbirnik barv",colorSwatch:"barvna paleta",transparent:"prozorno",twoDimensionalSlider:"2D drsnik"};var Due={};Due={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Birač boja",colorSwatch:"Uzorak boje",transparent:"providno",twoDimensionalSlider:"2D klizač"};var $ue={};$ue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Färgväljaren",colorSwatch:"färgruta",transparent:"genomskinlig",twoDimensionalSlider:"2D-reglage"};var Cue={};Cue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Renk Seçici",colorSwatch:"renk örneği",transparent:"saydam",twoDimensionalSlider:"2D sürgü"};var wue={};wue={colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Палітра кольорів",colorSwatch:"зразок кольору",transparent:"прозорий",twoDimensionalSlider:"Повзунок 2D"};var Rue={};Rue={colorInputLabel:e=>`${e.label}、${e.channelLabel}`,colorNameAndValue:e=>`${e.name}：${e.value}`,colorPicker:"拾色器",colorSwatch:"颜色色板",transparent:"透明",twoDimensionalSlider:"2D 滑块"};var Aue={};Aue={colorInputLabel:e=>`${e.label}，${e.channelLabel}`,colorNameAndValue:e=>`${e.name}：${e.value}`,colorPicker:"檢色器",colorSwatch:"色票",transparent:"透明",twoDimensionalSlider:"2D 滑桿"};var Tue={};Tue={"ar-AE":Kae,"bg-BG":Wae,"cs-CZ":Jae,"da-DK":eue,"de-DE":tue,"el-GR":nue,"en-US":rue,"es-ES":iue,"et-EE":aue,"fi-FI":uue,"fr-FR":lue,"he-IL":oue,"hr-HR":sue,"hu-HU":cue,"it-IT":fue,"ja-JP":due,"ko-KR":hue,"lt-LT":pue,"lv-LV":mue,"nb-NO":gue,"nl-NL":vue,"pl-PL":yue,"pt-BR":bue,"pt-PT":Oue,"ro-RO":Sue,"ru-RU":xue,"sk-SK":_ue,"sl-SI":Eue,"sr-SP":Due,"sv-SE":$ue,"tr-TR":Cue,"uk-UA":wue,"zh-CN":Rue,"zh-TW":Aue};var kue={};kue={alpha:"ألفا",black:"أسود",blue:"أزرق","blue purple":"أرجواني مزرق",brightness:"السطوع",brown:"بني","brown yellow":"أصفر بني",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"سماوي","cyan blue":"أزرق سماوي",dark:"داكن",gray:"رمادي",grayish:"مائل للرمادي",green:"أخضر","green cyan":"سماوي مخضر",hue:"درجة اللون",light:"فاتح",lightness:"الإضاءة",magenta:"أرجواني","magenta pink":"أرجواني وردي",orange:"برتقالي","orange yellow":"أصفر برتقالي",pale:"باهت",pink:"وردي","pink red":"أحمر وردي",purple:"أرجواني","purple magenta":"بنفسجي",red:"أحمر","red orange":"برتقالي محمر",saturation:"التشبع",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} شفاف`,"very dark":"داكن جدًا","very light":"فاتح جدًا",vibrant:"ساطع",white:"أبيض",yellow:"أصفر","yellow green":"أخضر مصفر"};var Pue={};Pue={alpha:"Алфа",black:"черно",blue:"Синьо","blue purple":"синьо лилаво",brightness:"Яркост",brown:"кафяво","brown yellow":"кафяво жълто",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"циан","cyan blue":"циан синьо",dark:"тъмно",gray:"сиво",grayish:"сивкав",green:"Зелено","green cyan":"зелен циан",hue:"Оттенък",light:"светло",lightness:"Лекота",magenta:"магента","magenta pink":"магента розово",orange:"оранжево","orange yellow":"оранжево жълто",pale:"бледо",pink:"розово","pink red":"розово червено",purple:"лилаво","purple magenta":"лилаво магента",red:"Червено","red orange":"червен портокал",saturation:"Наситеност",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} прозрачен`,"very dark":"много тъмно","very light":"много светло",vibrant:" ярко",white:"бяло",yellow:"жълто","yellow green":"жълто зелен"};var Mue={};Mue={alpha:"Alfa",black:"černá",blue:"Modrá","blue purple":"modrofialová",brightness:"Jas",brown:"hnědá","brown yellow":"hnědožlutá",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"tyrkysová","cyan blue":"tyrkysovomodrá",dark:"tmavá",gray:"šedá",grayish:"našedlá",green:"Zelená","green cyan":"zelenotyrkysová",hue:"Odstín",light:"světlá",lightness:"Světlost",magenta:"purpurová","magenta pink":"purpurově růžová",orange:"oranžová","orange yellow":"oranžovožlutá",pale:"bledá",pink:"růžová","pink red":"růžovočervená",purple:"fialová","purple magenta":"fialově purpurová",red:"Červená","red orange":"červenooranžová",saturation:"Sytost",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} průhledné`,"very dark":"velmi tmavá","very light":"velmi světlá",vibrant:"zářivá",white:"bílá",yellow:"žlutá","yellow green":"žlutozelená"};var Fue={};Fue={alpha:"Alfa",black:"sort",blue:"Blå","blue purple":"blålilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyan","cyan blue":"cyan blå",dark:"mørk",gray:"grå",grayish:"grålig",green:"Grøn","green cyan":"grøn cyan",hue:"Tone",light:"lys",lightness:"Lyshed",magenta:"magenta","magenta pink":"magenta pink",orange:"orange","orange yellow":"orangegul",pale:"bleg",pink:"lyserød","pink red":"lyserødlig rød",purple:"lilla","purple magenta":"lilla magenta",red:"Rød","red orange":"rødorange",saturation:"Farvemætning",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} gennemsigtig`,"very dark":"meget mørk","very light":"meget lys",vibrant:"klar",white:"hvid",yellow:"gul","yellow green":"gulgrøn"};var Nue={};Nue={alpha:"Alpha",black:"Schwarz",blue:"Blau","blue purple":"Blaulila",brightness:"Helligkeit",brown:"Braun","brown yellow":"Braungelb",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"Cyan","cyan blue":"Cyanblau",dark:"dunkles",gray:"Grau",grayish:"gräuliches",green:"Grün","green cyan":"Grüncyan",hue:"Farbton",light:"helles",lightness:"Leuchtkraft",magenta:"Magenta","magenta pink":"Magentarosa",orange:"Orange","orange yellow":"Orangegelb",pale:"blasses",pink:"Rosa","pink red":"Rosarot",purple:"Lila","purple magenta":"Lilamagenta",red:"Rot","red orange":"Rotorange",saturation:"Sättigung",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, zu ${e.percentTransparent} transparent`,"very dark":"sehr dunkles","very light":"sehr helles",vibrant:"lebhaftes",white:"Weiß",yellow:"Gelb","yellow green":"Gelbgrün"};var Iue={};Iue={alpha:"Άλφα",black:"μαύρο",blue:"Μπλε","blue purple":"μπλε μωβ",brightness:"Φωτεινότητα",brown:"καφέ","brown yellow":"καφέ κίτρινο",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"κυανό","cyan blue":"κυανό μπλε",dark:"σκούρο",gray:"γκρι",grayish:"γκριζωπό",green:"Πράσινο","green cyan":"πράσινο κυανό",hue:"Τόνος",light:"ανοιχτό",lightness:"Φωτεινότητα",magenta:"ματζέντα","magenta pink":"ματζέντα ροζ",orange:"πορτοκαλί","orange yellow":"πορτοκαλί κίτρινο",pale:"ανοιχτό",pink:"ροζ","pink red":"ροζ κόκκινο",purple:"μωβ","purple magenta":"μωβ ματζέντα",red:"Κόκκινο","red orange":"κόκκινο πορτοκαλί",saturation:"Κορεσμός",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} διαφανές`,"very dark":"πολύ σκούρο","very light":"πολύ ανοιχτό",vibrant:"έντονο",white:"λευκό",yellow:"κίτρινο","yellow green":"κίτρινο πράσινο"};var Lue={};Lue={hue:"Hue",saturation:"Saturation",lightness:"Lightness",brightness:"Brightness",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparent`,"very dark":"very dark",dark:"dark",light:"light","very light":"very light",pale:"pale",grayish:"grayish",vibrant:"vibrant",black:"black",white:"white",gray:"gray",pink:"pink","pink red":"pink red","red orange":"red orange",brown:"brown",orange:"orange","orange yellow":"orange yellow","brown yellow":"brown yellow",yellow:"yellow","yellow green":"yellow green","green cyan":"green cyan",cyan:"cyan","cyan blue":"cyan blue","blue purple":"blue purple",purple:"purple","purple magenta":"purple magenta",magenta:"magenta","magenta pink":"magenta pink"};var Bue={};Bue={alpha:"Alpha",black:"negro",blue:"Azul","blue purple":"púrpura azulado",brightness:"Brillo",brown:"marrón","brown yellow":"amarillo amarronado",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cian","cyan blue":"azul cian",dark:"oscuro",gray:"gris",grayish:"grisáceo",green:"Verde","green cyan":"cian verdoso",hue:"Tono",light:"claro",lightness:"Luminosidad",magenta:"magenta","magenta pink":"rosa magenta",orange:"naranja","orange yellow":"amarillo anaranjado",pale:"pálido",pink:"rosa","pink red":"rojo rosado",purple:"morado","purple magenta":"magenta violáceo",red:"Rojo","red orange":"naranja rojizo",saturation:"Saturación",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparente`,"very dark":"muy oscuro","very light":"muy claro",vibrant:"intenso",white:"blanco",yellow:"amarillo","yellow green":"verde amarillento"};var Que={};Que={alpha:"Alfa",black:"must",blue:"Sinine","blue purple":"sinakaslilla",brightness:"Heledus",brown:"pruun","brown yellow":"pruunikaskollane",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"tsüaan","cyan blue":"tsüaansinine",dark:"tume",gray:"hall",grayish:"hallikas",green:"Roheline","green cyan":"tsüaanroheline",hue:"Värv",light:"valgus",lightness:"Valgus",magenta:"magentapunane","magenta pink":"magentaroosa",orange:"oranž","orange yellow":"oranžikaskollane",pale:"kahvatu",pink:"roosa","pink red":"vaarikapunane",purple:"lilla","purple magenta":"purpurne magenta",red:"Punane","red orange":"punakasoranž",saturation:"Küllastus",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} läbipaistev`,"very dark":"väga tume","very light":"väga hele",vibrant:"ere",white:"valge",yellow:"kollane","yellow green":"kollakasroheline"};var zue={};zue={alpha:"Alpha",black:"musta",blue:"Sininen","blue purple":"sinivioletti",brightness:"Kirkkaus",brown:"ruskea","brown yellow":"ruskeankeltainen",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"syaani","cyan blue":"syaaninsininen",dark:"tumma",gray:"harmaa",grayish:"harmahtava",green:"Vihreä","green cyan":"vihreänsyaani",hue:"Sävy",light:"vaalea",lightness:"Valomäärä",magenta:"magenta","magenta pink":"magentapinkki",orange:"oranssi","orange yellow":"oranssinkeltainen",pale:"vaalea",pink:"pinkki","pink red":"vaaleanpunainen",purple:"violetti","purple magenta":"violettimagenta",red:"Punainen","red orange":"punaoranssi",saturation:"Värikylläisyys",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} läpinäkyvä`,"very dark":"hyvin tumma","very light":"erittäin vaalea",vibrant:"eloisa",white:"valkea",yellow:"keltainen","yellow green":"keltavihreä"};var que={};que={alpha:"Alpha",black:"Noir",blue:"Bleu","blue purple":"Violet bleu",brightness:"Luminosité",brown:"Brun","brown yellow":"Jaune brun",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"Cyan","cyan blue":"Bleu cyan",dark:"Sombre",gray:"Gris",grayish:"Grisâtre",green:"Vert","green cyan":"Cyan vert",hue:"Teinte",light:"Clair",lightness:"Luminosité",magenta:"Magenta","magenta pink":"Rose magenta",orange:"Orange","orange yellow":"Jaune orangé",pale:"Pâle",pink:"Rose","pink red":"Rouge rosé",purple:"Violet","purple magenta":"Magenta violet",red:"Rouge","red orange":"Orange rouge",saturation:"Saturation",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparent`,"very dark":"Très sombre","very light":"Très clair",vibrant:"Vif",white:"Blanc",yellow:"Jaune","yellow green":"Vert jaune"};var Vue={};Vue={alpha:"אלפא",black:"שחור",blue:"כחול","blue purple":"כחול סגול",brightness:"בהירות",brown:"חום","brown yellow":"חום צהוב",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"טורקיז","cyan blue":"כחול ציאן",dark:"כהה",gray:"אפור",grayish:"אפרפר",green:"ירוק","green cyan":"ציאן ירוק",hue:"גוון",light:"אור",lightness:"כמות אור",magenta:"מג'נטה","magenta pink":"ורוד מג'נטה",orange:"כתום","orange yellow":"כתום צהוב",pale:"חיוור",pink:"ורוד","pink red":"ורוד אדום",purple:"סגול","purple magenta":"מג'נטה סגול",red:"אדום","red orange":"כתום אדום",saturation:"רוויה",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} שקוף`,"very dark":"כהה מאוד","very light":"בהיר מאוד",vibrant:"תוסס",white:"לבן",yellow:"צהוב","yellow green":"צהוב ירוק"};var Uue={};Uue={alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavo ljubičasta",brightness:"Svjetlina",brown:"smeđa","brown yellow":"smeđe žuta",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasto",green:"Zelena","green cyan":"zelena cijan",hue:"Nijansa",light:"svjetlo",lightness:"Osvijetljenost",magenta:"magenta","magenta pink":"magentno ružičasta",orange:"narančasta","orange yellow":"narančasto žuta",pale:"blijeda",pink:"ružičasta","pink red":"ružičasto crvena",purple:"ljubičasta","purple magenta":"ljubičasta magenta",red:"Crvena","red orange":"crveno narančasta",saturation:"Zasićenost",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prozirnosti`,"very dark":"jako tamna","very light":"vrlo svijetlo",vibrant:"vibrantna",white:"bijela",yellow:"žuto","yellow green":"žuto zelena"};var jue={};jue={alpha:"Alfa",black:"fekete",blue:"Kék","blue purple":"kék lila",brightness:"Fényesség",brown:"barna","brown yellow":"barna sárga",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ciánkék","cyan blue":"ciánkék",dark:"sötét",gray:"szürke",grayish:"szürkés",green:"Zöld","green cyan":"zöld ciánkék",hue:"Színárnyalat",light:"világos",lightness:"Világosság",magenta:"bíbor","magenta pink":"bíbor rózsaszín",orange:"narancs","orange yellow":"narancssárga",pale:"halvány",pink:"rózsaszín","pink red":"rózsaszín piros",purple:"lila","purple magenta":"lila bíbor",red:"Piros","red orange":"piros narancs",saturation:"Telítettség",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} átlátszó`,"very dark":"nagyon sötét","very light":"nagyon világos",vibrant:"élénk",white:"fehér",yellow:"sárga","yellow green":"sárga zöld"};var Zue={};Zue={alpha:"Alfa",black:"nero",blue:"Blu","blue purple":"blu viola",brightness:"Luminosità",brown:"marrone","brown yellow":"giallo bruno",colorName:e=>`${e.hue} ${e.chroma} ${e.lightness}`,cyan:"ciano","cyan blue":"blu ciano",dark:"scuro",gray:"grigio",grayish:"grigiastro",green:"Verde","green cyan":"verde ciano",hue:"Tonalità",light:"chiaro",lightness:"Luminosità",magenta:"magenta","magenta pink":"rosa magenta",orange:"arancio","orange yellow":"giallo arancio",pale:"tenue",pink:"rosa","pink red":"rosa rosso",purple:"viola","purple magenta":"viola magenta",red:"Rosso","red orange":"rosso arancio",saturation:"Saturazione",transparentColorName:e=>`${e.hue} ${e.chroma} ${e.lightness}, trasparenza ${e.percentTransparent}`,"very dark":"molto scuro","very light":"molto chiaro",vibrant:"vivace",white:"bianco",yellow:"giallo","yellow green":"giallo verde"};var Hue={};Hue={alpha:"アルファ",black:"ブラック",blue:"青","blue purple":"ブルーパープル",brightness:"明るさ",brown:"ブラウン","brown yellow":"ブラウンイエロー",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"シアン","cyan blue":"シアンブルー",dark:"ダーク",gray:"グレー",grayish:"グレイッシュ",green:"緑","green cyan":"グリーンシアン",hue:"色相",light:"ライト",lightness:"明度",magenta:"マゼンタ","magenta pink":"マゼンタピンク",orange:"オレンジ","orange yellow":"オレンジイエロー",pale:"ペール",pink:"ピンク","pink red":"ピンクレッド",purple:"パープル","purple magenta":"パープルマゼンタ",red:"赤","red orange":"レッドオレンジ",saturation:"彩度",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} 透明`,"very dark":"最も暗い","very light":"ベリーライト",vibrant:"鮮やか",white:"ホワイト",yellow:"イエロー","yellow green":"イエローグリーン"};var Xue={};Xue={alpha:"알파",black:"검은색",blue:"파랑","blue purple":"청자색",brightness:"명도",brown:"갈색","brown yellow":"황갈색",colorName:e=>`${e.lightness}, ${e.chroma}, ${e.hue}`,cyan:"청록색","cyan blue":"청록색",dark:"다크",gray:"회색",grayish:"회갈색",green:"초록","green cyan":"청록색",hue:"색조",light:"라이트",lightness:"밝기",magenta:"자홍색","magenta pink":"마젠타 핑크",orange:"주황색","orange yellow":"불그스름한 노랑",pale:"흙색",pink:"분홍색","pink red":"핑크 레드",purple:"자주색","purple magenta":"보라빛 자홍색",red:"빨강","red orange":"붉은 주황색",saturation:"채도",transparentColorName:e=>`${e.lightness}, ${e.chroma}, ${e.hue}, ${e.percentTransparent} 투명도`,"very dark":"매우 어두운","very light":"매우 연함",vibrant:"강렬한",white:"흰색",yellow:"노란색","yellow green":"연두색"};var Yue={};Yue={alpha:"Alfa",black:"juoda",blue:"Mėlyna","blue purple":"melsvai violetinė",brightness:"Ryškumas",brown:"ruda","brown yellow":"rusvai geltona",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"žalsvai mėlyna","cyan blue":"žalsvai mėlyna",dark:"tamsi",gray:"pilka",grayish:"pilkšva",green:"Žalia","green cyan":"žalsvai mėlyna",hue:"Atspalvis",light:"šviesi",lightness:"Šviesumas",magenta:"rausvai raudona","magenta pink":"purpurinė",orange:"oranžinė","orange yellow":"oranžinio atspalvio geltona",pale:"blyški",pink:"rožinė","pink red":"rožinė raudona",purple:"violetinė","purple magenta":"purpurinė rausvai raudona",red:"Raudona","red orange":"rausvai oranžinė",saturation:"Įsotinimas",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} skaidri`,"very dark":"labai tamsi","very light":"labai šviesi",vibrant:"ryški",white:"balta",yellow:"geltona","yellow green":"gelsvai žalia"};var Gue={};Gue={alpha:"Alfa",black:"melns",blue:"Zila","blue purple":"zili violets",brightness:"Spilgtums",brown:"brūns","brown yellow":"brūni dzeltens",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ciāns","cyan blue":"ciāna zils",dark:"tumšs",gray:"pelēks",grayish:"pelēcīgs",green:"Zaļa","green cyan":"zaļš ciāns",hue:"Nokrāsa",light:"gaišs",lightness:"Gaišums",magenta:"fuksiju","magenta pink":"fuksiju rozā",orange:"oranžs","orange yellow":"oranži dzeltens",pale:"bāls",pink:"rozā","pink red":"rozīgi sarkans",purple:"violets","purple magenta":"violets fuksiju",red:"Sarkana","red orange":"sarkanīgi oranžs",saturation:"Piesātinājums",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} caurspīdīgs`,"very dark":"ļoti tumšs","very light":"ļoti gaišs",vibrant:"košs",white:"balts",yellow:"dzeltens","yellow green":"dzelteni zaļš"};var Kue={};Kue={alpha:"Alfa",black:"svart",blue:"Blå","blue purple":"blålilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyan","cyan blue":"cyanblå",dark:"mørk",gray:"grå",grayish:"gråaktig",green:"Grønn","green cyan":"grønncyan",hue:"Fargetone",light:"lys",lightness:"Lyshet",magenta:"magenta","magenta pink":"magentarosa",orange:"oransje","orange yellow":"oransjegul",pale:"blek",pink:"rosa","pink red":"rosarød",purple:"lilla","purple magenta":"lillamagenta",red:"Rød","red orange":"rødoransje",saturation:"Metning",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} gjennomsiktig`,"very dark":"svært mørk","very light":"svært lys",vibrant:"levende",white:"hvit",yellow:"gul","yellow green":"gulgrønn"};var Wue={};Wue={alpha:"Alfa",black:"zwart",blue:"Blauw","blue purple":"paarsblauw",brightness:"Helderheid",brown:"bruin","brown yellow":"bruingeel",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyaan","cyan blue":"cyaanblauw",dark:"donker",gray:"grijs",grayish:"grijsachtig",green:"Groen","green cyan":"cyaangroen",hue:"Kleurtoon",light:"licht",lightness:"Lichtsterkte",magenta:"magenta","magenta pink":"magentaroze",orange:"oranje","orange yellow":"oranjegeel",pale:"bleek",pink:"roze","pink red":"rozerood",purple:"paars","purple magenta":"magentapaars",red:"Rood","red orange":"roodoranje",saturation:"Verzadiging",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparant`,"very dark":"heel donker","very light":"heel licht",vibrant:"levendig",white:"wit",yellow:"geel","yellow green":"geelgroen"};var Jue={};Jue={alpha:"Alfa",black:"czarny",blue:"Niebieski","blue purple":"niebiesko-fioletowy",brightness:"Jasność",brown:"brązowy","brown yellow":"brązowo-żółty",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyjanowy","cyan blue":"cyjanowo-niebieski",dark:"ciemny",gray:"szary",grayish:"szarawy",green:"Zielony","green cyan":"zielono-cyjanowy",hue:"Odcień",light:"jasny",lightness:"Jaskrawość",magenta:"purpurowy","magenta pink":"purpurowo-różowy",orange:"pomarańczowy","orange yellow":"pomarańczowo-żółty",pale:"blady",pink:"różowy","pink red":"różowo-czerwony",purple:"fioletowy","purple magenta":"fioletowo-purpurowy",red:"Czerwony","red orange":"czerwono-pomarańczowy",saturation:"Nasycenie",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} przezroczystości`,"very dark":"bardzo ciemny","very light":"bardzo jasny",vibrant:"intensywny",white:"biały",yellow:"żółty","yellow green":"żółto-zielony"};var ele={};ele={alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"roxo azulado",brightness:"Brilho",brown:"marrom","brown yellow":"marrom amarelado",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinza",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Matiz",light:"claro",lightness:"Luminosidade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo alaranjado",pale:"pálido",pink:"rosa","pink red":"rosa avermelhado",purple:"roxo","purple magenta":"roxo-magenta",red:"Vermelho","red orange":"laranja avermelhado",saturation:"Saturação",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde amarelado"};var tle={};tle={alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"azul-púrpura",brightness:"Luminosidade",brown:"castanho","brown yellow":"amarelo-castanho",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinzento",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Tonalidade",light:"claro",lightness:"Claridade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo-laranja",pale:"pálido",pink:"cor-de-rosa","pink red":"vermelho-rosa",purple:"púrpura","purple magenta":"púrpura-magenta",red:"Vermelho","red orange":"laranja-vermelho",saturation:"Saturação",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde-amarelo"};var nle={};nle={alpha:"Alfa",black:"negru",blue:"Albastru","blue purple":"albastru-violet",brightness:"Luminozitate",brown:"maro","brown yellow":"galben maro",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"bleu","cyan blue":"albastru-bleu",dark:"închis",gray:"gri",grayish:"cenușiu",green:"Verde","green cyan":"verde bleu",hue:"Nuanță",light:"deschis",lightness:"Luminozitate",magenta:"fucsia","magenta pink":"roz-fucsia",orange:"portocaliu","orange yellow":"galben-portocaliu",pale:"pal",pink:"roz","pink red":"roz-roșu",purple:"violet","purple magenta":"violet-fucsia",red:"Roșu","red orange":"portocaliu-roșu",saturation:"Saturație",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparent`,"very dark":"foarte închis","very light":"foarte deschis",vibrant:"plin de viață",white:"alb",yellow:"galben","yellow green":"galben-verde"};var rle={};rle={alpha:"Альфа",black:"черный",blue:"Синий","blue purple":"сине-фиолетовый",brightness:"Яркость",brown:"коричневый","brown yellow":"коричнево-желтый",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"голубой","cyan blue":"цвет морской волны",dark:"темный",gray:"серый",grayish:"сероватый",green:"Зеленый","green cyan":"сине-зеленый",hue:"Оттенок",light:"светлый",lightness:"Освещенность",magenta:"пурпурный","magenta pink":"пурпурно-розовый",orange:"оранжевый","orange yellow":"оранжево-желтый",pale:"бледный",pink:"розовый","pink red":"розово-красный",purple:"фиолетовый","purple magenta":"фиолетово-пурпурный",red:"Красный","red orange":"красно-оранжевый",saturation:"Насыщенность",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, прозрачный на ${e.percentTransparent}`,"very dark":"очень темный","very light":"очень светлый",vibrant:"яркий",white:"белый",yellow:"желтый","yellow green":"желто-зеленый"};var ile={};ile={alpha:"Alfa",black:"čierna",blue:"Modrá","blue purple":"modrofialová",brightness:"Jas",brown:"hnedá","brown yellow":"hnedožltá",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"azúrová","cyan blue":"azúrová modrá",dark:"tmavá",gray:"sivá",grayish:"sivastá",green:"Zelená","green cyan":"zelená azúrová",hue:"Odtieň",light:"svetlá",lightness:"Svetlosť",magenta:"purpurová","magenta pink":"ružová purpurová",orange:"oranžová","orange yellow":"oranžovožltá",pale:"bledá",pink:"ružová","pink red":"ružovočervená",purple:"fialová","purple magenta":"fialová purpurová",red:"Červená","red orange":"červenooranžová",saturation:"Sýtosť",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} priehľadná`,"very dark":"veľmi tmavá","very light":"veľmi svetlá",vibrant:"energická",white:"biela",yellow:"žltá","yellow green":"žltozelená"};var ale={};ale={alpha:"Alfa",black:"črna",blue:"Modra","blue purple":"modro vijolična",brightness:"Svetlost",brown:"rjava","brown yellow":"rjavo rumena",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cian","cyan blue":"cian modra",dark:"temna",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zelena cian",hue:"Barva",light:"svetla",lightness:"Lahkost",magenta:"škrlatna","magenta pink":"škrlatno roza",orange:"oranžna","orange yellow":"oranžno rumena",pale:"bleda",pink:"roza","pink red":"roza rdeča",purple:"vijolična","purple magenta":"vijolično škrlatna",red:"Rdeča","red orange":"rdeče oranžna",saturation:"Nasičenost",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prozorna`,"very dark":"zelo temna","very light":"zelo svetla",vibrant:"živahna",white:"bela",yellow:"rumena","yellow green":"rumeno zelena"};var ule={};ule={alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavoljubičasta",brightness:"Osvetljenost",brown:"smeđa","brown yellow":"smeđežuta",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zeleno cijan",hue:"Nijansa",light:"svetla",lightness:"Osvetljenje",magenta:"purpurnocrvena","magenta pink":"magenta ružičasta",orange:"narandžasta","orange yellow":"narandžastožuta",pale:"bledo",pink:"ružičasta","pink red":"ružičastocrvena",purple:"ljubičasta","purple magenta":"ljubičasta magenta",red:"Crvena","red orange":"crvenonarandžasta",saturation:"Zasićenje",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prozirna`,"very dark":"veoma tamno","very light":"vrlo svetlo",vibrant:"živopisna",white:"bela",yellow:"žuto","yellow green":"žutozelena"};var lle={};lle={alpha:"Alfa",black:"svart",blue:"Blått","blue purple":"blålila",brightness:"Ljusstyrka",brown:"brun","brown yellow":"brungul",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyan","cyan blue":"cyanblå",dark:"mörk",gray:"grå",grayish:"gråaktig",green:"Grönt","green cyan":"grön cyan",hue:"Nyans",light:"ljus",lightness:"Ljushet",magenta:"magenta","magenta pink":"magentarosa",orange:"orange","orange yellow":"orangegul",pale:"blek",pink:"rosa","pink red":"rosaröd",purple:"lila","purple magenta":"lila magenta",red:"Rött","red orange":"rödorange",saturation:"Mättnad",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} genomskinlig`,"very dark":"mycket mörk","very light":"mycket ljus",vibrant:"livfull",white:"vit",yellow:"gul","yellow green":"gulgrön"};var ole={};ole={alpha:"Alfa",black:"siyah",blue:"Mavi","blue purple":"mavi mor",brightness:"Parlaklık",brown:"kahverengi","brown yellow":"kahverengi sarı",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"camgöbeği","cyan blue":"camgöbeği mavi",dark:"koyu",gray:"gri",grayish:"grimsi",green:"Yeşil","green cyan":"yeşil camgöbeği",hue:"Ton",light:"açık",lightness:"Canlılık",magenta:"eflatun","magenta pink":"eflatun pembe",orange:"turuncu","orange yellow":"turuncu sarı",pale:"solgun",pink:"pembe","pink red":"pembe kırmızı",purple:"mor","purple magenta":"mor eflatun",red:"Kırmızı","red orange":"kırmızı portakal",saturation:"Doygunluk",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} saydam`,"very dark":"çok koyu","very light":"çok açık",vibrant:"canlı",white:"beyaz",yellow:"sarı","yellow green":"sarı yeşil"};var sle={};sle={alpha:"Альфа",black:"чорний",blue:"Синій","blue purple":"синьо-фіолетовий",brightness:"Яскравість",brown:"коричневий","brown yellow":"коричнево-жовтий",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"блакитний","cyan blue":"синьо-блакитний",dark:"темний",gray:"сірий",grayish:"сіруватий",green:"Зелений","green cyan":"зелено-блакитний",hue:"Тон",light:"світлий",lightness:"Освітленість",magenta:"пурпуровий","magenta pink":"пурпурово-рожевий",orange:"помаранчевий","orange yellow":"помаранчево-жовтий",pale:"блідий",pink:"рожевий","pink red":"рожево-червоний",purple:"фіолетовий","purple magenta":"фіолетово-пурпуровий",red:"Червоний","red orange":"червоно-помаранчевий",saturation:"Насиченість",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, прозорий на ${e.percentTransparent}`,"very dark":"дуже темний","very light":"дуже світлий",vibrant:"яскравий",white:"білий",yellow:"жовтий","yellow green":"жовто-зелений"};var cle={};cle={alpha:"Alpha",black:"黑色",blue:"蓝色","blue purple":"蓝紫色",brightness:"亮度",brown:"棕色的","brown yellow":"棕黄色",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"蓝绿色","cyan blue":"青蓝色",dark:"深色",gray:"灰色",grayish:"浅灰色的",green:"绿色","green cyan":"绿青色",hue:"色相",light:"浅色",lightness:"明亮度",magenta:"紫红色","magenta pink":"紫粉色",orange:"橙色","orange yellow":"橙黄色",pale:"苍白的",pink:"粉色","pink red":"粉红色",purple:"紫色","purple magenta":"紫洋红色",red:"红色","red orange":"红橙色",saturation:"饱和度",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} 透明`,"very dark":"很暗","very light":"很浅",vibrant:"生机勃勃",white:"白色",yellow:"黄色","yellow green":"黄色/绿色"};var fle={};fle={alpha:"Alpha",black:"黑",blue:"藍色","blue purple":"藍紫",brightness:"亮度",brown:"棕","brown yellow":"棕黃",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"青","cyan blue":"青藍",dark:"暗",gray:"灰",grayish:"偏灰",green:"綠色","green cyan":"青綠",hue:"色相",light:"淺",lightness:"明亮",magenta:"洋紅","magenta pink":"淺洋紅",orange:"橙","orange yellow":"橙黃",pale:"淡",pink:"粉紅","pink red":"粉紅",purple:"紫","purple magenta":"紫洋紅",red:"紅色","red orange":"橙紅",saturation:"飽和度",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} 透明`,"very dark":"很暗","very light":"很淺",vibrant:"鮮豔",white:"白",yellow:"黃","yellow green":"黃綠"};var dle={};dle={"ar-AE":kue,"bg-BG":Pue,"cs-CZ":Mue,"da-DK":Fue,"de-DE":Nue,"el-GR":Iue,"en-US":Lue,"es-ES":Bue,"et-EE":Que,"fi-FI":zue,"fr-FR":que,"he-IL":Vue,"hr-HR":Uue,"hu-HU":jue,"it-IT":Zue,"ja-JP":Hue,"ko-KR":Xue,"lt-LT":Yue,"lv-LV":Gue,"nb-NO":Kue,"nl-NL":Wue,"pl-PL":Jue,"pt-BR":ele,"pt-PT":tle,"ro-RO":nle,"ru-RU":rle,"sk-SK":ile,"sl-SI":ale,"sr-SP":ule,"sv-SE":lle,"tr-TR":ole,"uk-UA":sle,"zh-CN":cle,"zh-TW":fle};function o5e(e){return e&&e.__esModule?e.default:e}let jT=new Wh(o5e(dle));function uy(e){let t=wv.parse(e)||Rv.parse(e)||Av.parse(e);if(t)return t;throw new Error("Invalid color value: "+e)}function hle(e){return e===360?e:(e%360+360)%360}const uj=.68,s5e=.85,lj=.55,oj=.001,ZT=[[0,"pink"],[15,"red"],[48,"orange"],[94,"yellow"],[135,"green"],[175,"cyan"],[264,"blue"],[284,"purple"],[320,"magenta"],[349,"pink"]];class hN{toHexInt(){return this.toFormat("rgb").toHexInt()}getChannelValue(t){if(t in this)return this[t];throw new Error("Unsupported color channel: "+t)}withChannelValue(t,n){if(t in this){let r=this.clone();return r[t]=n,r}throw new Error("Unsupported color channel: "+t)}getChannelName(t,n){return(Wh.getGlobalDictionaryForPackage("@react-stately/color")||jT).getStringForLocale(t,n)}getColorSpaceAxes(t){let{xChannel:n,yChannel:r}=t,i=n||this.getColorChannels().find(l=>l!==r),a=r||this.getColorChannels().find(l=>l!==i),u=this.getColorChannels().find(l=>l!==i&&l!==a);return{xChannel:i,yChannel:a,zChannel:u}}getColorName(t){let[n,r,i]=sj(this),a=Wh.getGlobalDictionaryForPackage("@react-stately/color")||jT;if(n>.999)return a.getStringForLocale("white",t);if(n<.001)return a.getStringForLocale("black",t);let u;[u,n]=this.getOklchHue(n,r,i,t);let l="",o="";r<=.1&&r>=oj?n>=.7?o="pale":o="grayish":r>=.15&&(o="vibrant"),n<.3?l="very dark":n<lj?l="dark":n<.7||(n<.85?l="light":l="very light"),o&&(o=a.getStringForLocale(o,t)),l&&(l=a.getStringForLocale(l,t));let s=this.getChannelValue("alpha"),c=new _F(t,a);if(s<1){let d=new Lv(t,{style:"percent"}).format(1-s);return c.format("transparentColorName",{lightness:l,chroma:o,hue:u,percentTransparent:d}).replace(/\s+/g," ").trim()}else return c.format("colorName",{lightness:l,chroma:o,hue:u}).replace(/\s+/g," ").trim()}getOklchHue(t,n,r,i){let a=Wh.getGlobalDictionaryForPackage("@react-stately/color")||jT;if(n<oj)return[a.getStringForLocale("gray",i),t];for(let u=0;u<ZT.length;u++){let[l,o]=ZT[u],[s,c]=ZT[u+1]||[360,"pink"];if(r>=l&&r<s)return o==="orange"&&(t<uj?o="brown":t=t-uj+lj),r>l+(s-l)/2&&o!==c?o=`${o} ${c}`:o==="yellow"&&t<s5e&&(o="yellow green"),[a.getStringForLocale(o,i).toLocaleLowerCase(i),t]}throw new Error("Unexpected hue")}getHueName(t){let[n,r,i]=sj(this),[a]=this.getOklchHue(n,r,i,t);return a}}class wv extends hN{static parse(t){let n=[];if(/^#[\da-f]+$/i.test(t)&&[4,5,7,9].includes(t.length)){const a=(t.length<6?t.replace(/[^#]/gi,"$&$&"):t).slice(1).split("");for(;a.length>0;)n.push(parseInt(a.splice(0,2).join(""),16));n[3]=n[3]!==void 0?n[3]/255:void 0}const r=t.match(/^rgba?\((.*)\)$/);if(r!=null&&r[1]&&(n=r[1].split(",").map(a=>Number(a.trim())),n=n.map((a,u)=>eo(a??0,0,u<3?255:1))),!(n[0]===void 0||n[1]===void 0||n[2]===void 0)){var i;return n.length<3?void 0:new wv(n[0],n[1],n[2],(i=n[3])!==null&&i!==void 0?i:1)}}toString(t="css"){switch(t){case"hex":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")).toUpperCase();case"hexa":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")+Math.round(this.alpha*255).toString(16).padStart(2,"0")).toUpperCase();case"rgb":return`rgb(${this.red}, ${this.green}, ${this.blue})`;case"css":case"rgba":return`rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"hex":case"hexa":case"rgb":case"rgba":return this;case"hsb":case"hsba":return this.toHSB();case"hsl":case"hsla":return this.toHSL();default:throw new Error("Unsupported color conversion: rgb -> "+t)}}toHexInt(){return this.red<<16|this.green<<8|this.blue}toHSB(){const t=this.red/255,n=this.green/255,r=this.blue/255,i=Math.min(t,n,r),a=Math.max(t,n,r),u=a-i,l=a===0?0:u/a;let o=0;if(u!==0){switch(a){case t:o=(n-r)/u+(n<r?6:0);break;case n:o=(r-t)/u+2;break;case r:o=(t-n)/u+4;break}o/=6}return new Rv(dl(o*360,2),dl(l*100,2),dl(a*100,2),this.alpha)}toHSL(){const t=this.red/255,n=this.green/255,r=this.blue/255,i=Math.min(t,n,r),a=Math.max(t,n,r),u=(a+i)/2,l=a-i;let o,s;if(l===0)o=s=0;else{switch(s=l/(u<.5?a+i:2-a-i),a){case t:o=(n-r)/l+(n<r?6:0);break;case n:o=(r-t)/l+2;break;case r:default:o=(t-n)/l+4;break}o/=6}return new Av(dl(o*360,2),dl(s*100,2),dl(u*100,2),this.alpha)}clone(){return new wv(this.red,this.green,this.blue,this.alpha)}getChannelRange(t){switch(t){case"red":case"green":case"blue":return{minValue:0,maxValue:255,step:1,pageSize:17};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}getChannelFormatOptions(t){switch(t){case"red":case"green":case"blue":return{style:"decimal"};case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),i=this.getChannelValue(t);return new Lv(n,r).format(i)}getColorSpace(){return"rgb"}getColorChannels(){return wv.colorChannels}constructor(t,n,r,i){super(),this.red=t,this.green=n,this.blue=r,this.alpha=i}}wv.colorChannels=["red","green","blue"];const c5e=/hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsba\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/;class Rv extends hN{static parse(t){let n;if(n=t.match(c5e)){var r;const[i,a,u,l]=((r=n[1])!==null&&r!==void 0?r:n[2]).split(",").map(o=>Number(o.trim().replace("%","")));return new Rv(hle(i),eo(a,0,100),eo(u,0,100),eo(l??1,0,1))}}toString(t="css"){switch(t){case"css":return this.toHSL().toString("css");case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsb":return`hsb(${this.hue}, ${dl(this.saturation,2)}%, ${dl(this.brightness,2)}%)`;case"hsba":return`hsba(${this.hue}, ${dl(this.saturation,2)}%, ${dl(this.brightness,2)}%, ${this.alpha})`;default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"hsb":case"hsba":return this;case"hsl":case"hsla":return this.toHSL();case"rgb":case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsb -> "+t)}}toHSL(){let t=this.saturation/100,n=this.brightness/100,r=n*(1-t/2);return t=r===0||r===1?0:(n-r)/Math.min(r,1-r),new Av(dl(this.hue,2),dl(t*100,2),dl(r*100,2),this.alpha)}toRGB(){let t=this.hue,n=this.saturation/100,r=this.brightness/100,i=(a,u=(a+t/60)%6)=>r-n*r*Math.max(Math.min(u,4-u,1),0);return new wv(Math.round(i(5)*255),Math.round(i(3)*255),Math.round(i(1)*255),this.alpha)}clone(){return new Rv(this.hue,this.saturation,this.brightness,this.alpha)}getChannelRange(t){switch(t){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"brightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}getChannelFormatOptions(t){switch(t){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"brightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),i=this.getChannelValue(t);return(t==="saturation"||t==="brightness")&&(i/=100),new Lv(n,r).format(i)}getColorSpace(){return"hsb"}getColorChannels(){return Rv.colorChannels}constructor(t,n,r,i){super(),this.hue=t,this.saturation=n,this.brightness=r,this.alpha=i}}Rv.colorChannels=["hue","saturation","brightness"];const f5e=/hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/;class Av extends hN{static parse(t){let n;if(n=t.match(f5e)){var r;const[i,a,u,l]=((r=n[1])!==null&&r!==void 0?r:n[2]).split(",").map(o=>Number(o.trim().replace("%","")));return new Av(hle(i),eo(a,0,100),eo(u,0,100),eo(l??1,0,1))}}toString(t="css"){switch(t){case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsl":return`hsl(${this.hue}, ${dl(this.saturation,2)}%, ${dl(this.lightness,2)}%)`;case"css":case"hsla":return`hsla(${this.hue}, ${dl(this.saturation,2)}%, ${dl(this.lightness,2)}%, ${this.alpha})`;default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"hsl":case"hsla":return this;case"hsb":case"hsba":return this.toHSB();case"rgb":case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsl -> "+t)}}toHSB(){let t=this.saturation/100,n=this.lightness/100,r=n+t*Math.min(n,1-n);return t=r===0?0:2*(1-n/r),new Rv(dl(this.hue,2),dl(t*100,2),dl(r*100,2),this.alpha)}toRGB(){let t=this.hue,n=this.saturation/100,r=this.lightness/100,i=n*Math.min(r,1-r),a=(u,l=(u+t/30)%12)=>r-i*Math.max(Math.min(l-3,9-l,1),-1);return new wv(Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255),this.alpha)}clone(){return new Av(this.hue,this.saturation,this.lightness,this.alpha)}getChannelRange(t){switch(t){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"lightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}getChannelFormatOptions(t){switch(t){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"lightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),i=this.getChannelValue(t);return(t==="saturation"||t==="lightness")&&(i/=100),new Lv(n,r).format(i)}getColorSpace(){return"hsl"}getColorChannels(){return Av.colorChannels}constructor(t,n,r,i){super(),this.hue=t,this.saturation=n,this.lightness=r,this.alpha=i}}Av.colorChannels=["hue","saturation","lightness"];function sj(e){let t=e.toFormat("rgb"),n=t.getChannelValue("red")/255,r=t.getChannelValue("green")/255,i=t.getChannelValue("blue")/255;[n,r,i]=h5e(n,r,i);let[a,u,l]=p5e(n,r,i),[o,s,c]=m5e(a,u,l);return d5e(o,s,c)}function d5e(e,t,n){var r=Math.atan2(n,t)*180/Math.PI;return[e,Math.sqrt(t**2+n**2),r>=0?r:r+360]}function h5e(e,t,n){return[HT(e),HT(t),HT(n)]}function HT(e){let t=e<0?-1:1,n=Math.abs(e);return n<=.04045?e/12.92:t*Math.pow((n+.055)/1.055,2.4)}function p5e(e,t,n){return h9([.4123907992659595,.35758433938387796,.1804807884018343,.21263900587151036,.7151686787677559,.07219231536073371,.01933081871559185,.11919477979462599,.9505321522496606],e,t,n)}function m5e(e,t,n){const r=[.819022437996703,.3619062600528904,-.1288737815209879,.0329836539323885,.9292868615863434,.0361446663506424,.0481771893596242,.2642395317527308,.6335478284694309],i=[.210454268309314,.7936177747023054,-.0040720430116193,1.9779985324311684,-2.42859224204858,.450593709617411,.0259040424655478,.7827717124575296,-.8086757549230774];let[a,u,l]=h9(r,e,t,n);return h9(i,Math.cbrt(a),Math.cbrt(u),Math.cbrt(l))}function h9(e,t,n,r){let i=e[0]*t+e[1]*n+e[2]*r,a=e[3]*t+e[4]*n+e[5]*r,u=e[6]*t+e[7]*n+e[8]*r;return[i,a,u]}const g5e=0,v5e=100,y5e=1;function b5e(e){const{isDisabled:t=!1,minValue:n=g5e,maxValue:r=v5e,numberFormatter:i,step:a=y5e,orientation:u="horizontal"}=e;let l=P.useMemo(()=>{let Y=(r-n)/10;return Y=Hc(Y,0,Y+a,a),Math.max(Y,a)},[a,r,n]),o=P.useCallback(Y=>Y==null?void 0:Y.map((B,ne)=>{let oe=ne===0?n:Y[ne-1],ae=ne===Y.length-1?r:Y[ne+1];return Hc(B,oe,ae,a)}),[n,r,a]),s=P.useMemo(()=>o(fj(e.value)),[e.value,o]),c=P.useMemo(()=>{var Y;return o((Y=fj(e.defaultValue))!==null&&Y!==void 0?Y:[n])},[e.defaultValue,n,o]),d=dj(e.value,e.defaultValue,e.onChange),h=dj(e.value,e.defaultValue,e.onChangeEnd);const[m,y]=Vu(s,c,d);let[v]=P.useState(m);const[_,x]=P.useState(new Array(m.length).fill(!1)),E=P.useRef(new Array(m.length).fill(!0)),[w,T]=P.useState(void 0),R=P.useRef(m),C=P.useRef(_);let k=Y=>{R.current=Y,y(Y)},F=Y=>{C.current=Y,x(Y)};function z(Y){return(Y-n)/(r-n)}function Z(Y){return Y===0?n:m[Y-1]}function q(Y){return Y===m.length-1?r:m[Y+1]}function j(Y){return E.current[Y]}function N(Y,B){E.current[Y]=B}function V(Y,B){if(t||!j(Y))return;const ne=Z(Y),oe=q(Y);B=Hc(B,ne,oe,a);let ae=cj(R.current,Y,B);k(ae)}function W(Y,B){if(t||!j(Y))return;B&&(R.current=m);const ne=C.current[Y];C.current=cj(C.current,Y,B),F(C.current),h&&ne&&!C.current.some(Boolean)&&h(R.current)}function G(Y){return i.format(Y)}function J(Y,B){V(Y,X(B))}function te(Y){return Math.round((Y-n)/a)*a+n}function X(Y){const B=Y*(r-n)+n;return eo(te(B),n,r)}function M(Y,B=1){let ne=Math.max(B,a);V(Y,Hc(m[Y]+ne,n,r,a))}function K(Y,B=1){let ne=Math.max(B,a);V(Y,Hc(m[Y]-ne,n,r,a))}return{values:m,defaultValues:e.defaultValue!==void 0?c:v,getThumbValue:Y=>m[Y],setThumbValue:V,setThumbPercent:J,isThumbDragging:Y=>_[Y],setThumbDragging:W,focusedThumb:w,setFocusedThumb:T,getThumbPercent:Y=>z(m[Y]),getValuePercent:z,getThumbValueLabel:Y=>G(m[Y]),getFormattedValue:G,getThumbMinValue:Z,getThumbMaxValue:q,getPercentValue:X,isThumbEditable:j,setThumbEditable:N,incrementThumb:M,decrementThumb:K,step:a,pageSize:l,orientation:u,isDisabled:t}}function cj(e,t,n){return e[t]===n?e:[...e.slice(0,t),n,...e.slice(t+1)]}function fj(e){if(e!=null)return Array.isArray(e)?e:[e]}function dj(e,t,n){return r=>{typeof e=="number"||typeof t=="number"?n==null||n(r[0]):n==null||n(r)}}function X1(e){return P.useMemo(()=>{if(typeof e=="string")try{return uy(e)}catch{return}return e},[e])}const OD=uy("#000000"),ple=uy("#FFFFFF"),O5e=OD.toHexInt(),S5e=ple.toHexInt();function x5e(e){let{value:t,defaultValue:n,onChange:r}=e,{step:i}=OD.getChannelRange("red"),a=X1(n),[u,l]=Vu(X1(t),a,r),[o]=P.useState(u),[s,c]=P.useState(()=>(t||n)&&u?u.toString("hex"):""),d=og({...e,value:u}),h=C=>{if(!u||!C){l(C);return}if(C.toHexInt()!==u.toHexInt()){l(C);return}},[m,y]=P.useState(u);m!==u&&(c(u?u.toString("hex"):""),y(u));let v=P.useMemo(()=>{let C;try{C=uy(s.startsWith("#")?s:`#${s}`)}catch{C=null}return C},[s]);return{...d,validate:C=>{var k;return C===""||!!(!((k=C.match(/^#?[0-9a-f]{0,6}$/i))===null||k===void 0)&&k[0])},colorValue:u,defaultColorValue:a??o,setColorValue:l,inputValue:s,setInputValue:c,commit:()=>{if(!s.length){h(null),c(t===void 0||u===null?"":u.toString("hex"));return}if(v==null){c(u?u.toString("hex"):"");return}h(v);let C="";u&&(C=u.toString("hex")),c(C),d.commitValidation()},increment:()=>{let C=hj(v,i);C===u&&c(C.toString("hex")),h(C),d.commitValidation()},incrementToMax:()=>h(ple),decrement:()=>{let C=hj(v,-i);C===u&&c(C.toString("hex")),h(C),d.commitValidation()},decrementToMin:()=>h(OD)}}function hj(e,t){let n=e||OD,r=n.toHexInt(),i=Math.min(Math.max(r+t,O5e),S5e);if(i!==r){let a=`#${i.toString(16).padStart(6,"0").toUpperCase()}`;n=uy(a)}return n}function mle(e){let{minValue:t,maxValue:n,step:r,formatOptions:i,value:a,defaultValue:u=NaN,onChange:l,locale:o,isDisabled:s,isReadOnly:c}=e;a===null&&(a=NaN),a!==void 0&&!isNaN(a)&&(r!==void 0&&!isNaN(r)?a=Hc(a,t,n,r):a=eo(a,t,n)),isNaN(u)||(r!==void 0&&!isNaN(r)?u=Hc(u,t,n,r):u=eo(u,t,n));let[d,h]=Vu(a,isNaN(u)?NaN:u,l),[m]=P.useState(d),[y,v]=P.useState(()=>isNaN(d)?"":new Lv(o,i).format(d)),_=P.useMemo(()=>new IF(o,i),[o,i]),x=P.useMemo(()=>_.getNumberingSystem(y),[_,y]),E=P.useMemo(()=>new Lv(o,{...i,numberingSystem:x}),[o,i,x]),w=P.useMemo(()=>E.resolvedOptions(),[E]),T=P.useCallback(B=>isNaN(B)||B===null?"":E.format(B),[E]),R=og({...e,value:d}),C=r!==void 0&&!isNaN(r)?r:1;w.style==="percent"&&(r===void 0||isNaN(r))&&(C=.01);let[k,F]=P.useState(d),[z,Z]=P.useState(o),[q,j]=P.useState(i);(!Object.is(d,k)||o!==z||i!==q)&&(v(T(d)),F(d),Z(o),j(i));let N=P.useMemo(()=>_.parse(y),[_,y]),V=()=>{if(!y.length){h(NaN),v(a===void 0?"":T(d));return}if(isNaN(N)){v(T(d));return}let B;r===void 0||isNaN(r)?B=eo(N,t,n):B=Hc(N,t,n,r),B=_.parse(T(B)),h(B),v(T(a===void 0?B:d)),R.commitValidation()},W=(B,ne=0)=>{let oe=N;if(isNaN(oe)){let ae=isNaN(ne)?0:ne;return Hc(ae,t,n,C)}else{let ae=Hc(oe,t,n,C);return B==="+"&&ae>oe||B==="-"&&ae<oe?ae:Hc(XT(B,oe,C),t,n,C)}},G=()=>{let B=W("+",t);B===d&&v(T(B)),h(B),R.commitValidation()},J=()=>{let B=W("-",n);B===d&&v(T(B)),h(B),R.commitValidation()},te=()=>{n!=null&&(h(Hc(n,t,n,C)),R.commitValidation())},X=()=>{t!=null&&(h(t),R.commitValidation())},M=P.useMemo(()=>!s&&!c&&(isNaN(N)||n===void 0||isNaN(n)||Hc(N,t,n,C)>N||XT("+",N,C)<=n),[s,c,t,n,C,N]),K=P.useMemo(()=>!s&&!c&&(isNaN(N)||t===void 0||isNaN(t)||Hc(N,t,n,C)<N||XT("-",N,C)>=t),[s,c,t,n,C,N]);return{...R,validate:B=>_.isValidPartialNumber(B,t,n),increment:G,incrementToMax:te,decrement:J,decrementToMin:X,canIncrement:M,canDecrement:K,minValue:t,maxValue:n,numberValue:N,defaultNumberValue:isNaN(u)?m:u,setNumberValue:h,setInputValue:v,inputValue:y,commit:V}}function XT(e,t,n){let r=e==="+"?t+n:t-n;if(t%1!==0||n%1!==0){const i=t.toString().split("."),a=n.toString().split("."),u=i[1]&&i[1].length||0,l=a[1]&&a[1].length||0,o=Math.pow(10,Math.max(u,l));t=Math.round(t*o),n=Math.round(n*o),r=e==="+"?t+n:t-n,r/=o}return r}function _5e(e){let{channel:t,colorSpace:n,locale:r}=e,i=X1(e.value),a=X1(e.defaultValue),[u,l]=Vu(i,a??null,e.onChange),o=pj(u,n),[s]=P.useState(u),c=a??s,d=pj(c,n),h=o.getChannelValue(t),m=o.getChannelRange(t),y=P.useMemo(()=>o.getChannelFormatOptions(t),[o,t]),v=y.style==="percent"&&m.maxValue===100?100:1;return{...mle({locale:r,value:u===null?NaN:h/v,defaultValue:c===null?NaN:d.getChannelValue(t)/v,onChange:x=>{Number.isNaN(x)?l(null):l(o.withChannelValue(t,x*v))},minValue:m.minValue/v,maxValue:m.maxValue/v,step:m.step/v,formatOptions:y}),colorValue:o,defaultColorValue:c,setColorValue:l}}function pj(e,t){let n=X1("#000");return P.useMemo(()=>{let r=e||n;return t&&r?r.toFormat(t):r},[n,e,t])}function E5e(e){let t=X1(e.value),n=X1(e.defaultValue||"#000000"),[r,i]=Vu(t||void 0,n,e.onChange);return{color:r,setColor(a){a!=null&&i(a||uy("#000000"))}}}const pN=new WeakMap;function p9(e,t){let n=pN.get(e);if(!n)throw new Error("Unknown slider state");return`${n.id}-${t}`}function D5e(e,t,n){let{labelProps:r,fieldProps:i}=GS(e),a=e.orientation==="vertical";var u;pN.set(t,{id:(u=r.id)!==null&&u!==void 0?u:i.id,"aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]});let{direction:l}=Zi(),{addGlobalListener:o,removeGlobalListener:s}=ty();const c=P.useRef(null),d=l==="rtl",h=P.useRef(null),{moveProps:m}=lte({onMoveStart(){h.current=null},onMove({deltaX:x,deltaY:E}){if(!n.current)return;let{height:w,width:T}=n.current.getBoundingClientRect(),R=a?w:T;h.current==null&&c.current!=null&&(h.current=t.getThumbPercent(c.current)*R);let C=a?E:x;if((a||d)&&(C=-C),h.current+=C,c.current!=null&&n.current){const k=eo(h.current/R,0,1);t.setThumbPercent(c.current,k)}},onMoveEnd(){c.current!=null&&(t.setThumbDragging(c.current,!1),c.current=null)}});let y=P.useRef(void 0),v=(x,E,w,T)=>{if(n.current&&!e.isDisabled&&t.values.every((R,C)=>!t.isThumbDragging(C))){let{height:R,width:C,top:k,left:F}=n.current.getBoundingClientRect(),z=a?R:C,N=((a?T:w)-(a?k:F))/z;(l==="rtl"||a)&&(N=1-N);let V=t.getPercentValue(N),W,G=t.values.findIndex(J=>V-J<0);if(G===0)W=G;else if(G===-1)W=t.values.length-1;else{let J=t.values[G-1],te=t.values[G];Math.abs(J-V)<Math.abs(te-V)?W=G-1:W=G}W>=0&&t.isThumbEditable(W)?(x.preventDefault(),c.current=W,t.setFocusedThumb(W),y.current=E,t.setThumbDragging(c.current,!0),t.setThumbValue(W,V),o(window,"mouseup",_,!1),o(window,"touchend",_,!1),o(window,"pointerup",_,!1)):c.current=null}},_=x=>{var E,w;((w=x.pointerId)!==null&&w!==void 0?w:(E=x.changedTouches)===null||E===void 0?void 0:E[0].identifier)===y.current&&(c.current!=null&&(t.setThumbDragging(c.current,!1),c.current=null),s(window,"mouseup",_,!1),s(window,"touchend",_,!1),s(window,"pointerup",_,!1))};return"htmlFor"in r&&r.htmlFor&&(delete r.htmlFor,r.onClick=()=>{var x;(x=document.getElementById(p9(t,0)))===null||x===void 0||x.focus(),MF("keyboard")}),{labelProps:r,groupProps:{role:"group",...i},trackProps:Et({onMouseDown(x){x.button!==0||x.altKey||x.ctrlKey||x.metaKey||v(x,void 0,x.clientX,x.clientY)},onPointerDown(x){x.pointerType==="mouse"&&(x.button!==0||x.altKey||x.ctrlKey||x.metaKey)||v(x,x.pointerId,x.clientX,x.clientY)},onTouchStart(x){v(x,x.changedTouches[0].identifier,x.changedTouches[0].clientX,x.changedTouches[0].clientY)},style:{position:"relative",touchAction:"none"}},m),outputProps:{htmlFor:t.values.map((x,E)=>p9(t,E)).join(" "),"aria-live":"off"}}}function $5e(e,t){let{index:n=0,isRequired:r,validationState:i,isInvalid:a,trackRef:u,inputRef:l,orientation:o=t.orientation,name:s,form:c}=e,d=e.isDisabled||t.isDisabled,h=o==="vertical",{direction:m}=Zi(),{addGlobalListener:y,removeGlobalListener:v}=ty(),_=pN.get(t);var x;const{labelProps:E,fieldProps:w}=GS({...e,id:p9(t,n),"aria-labelledby":`${_.id} ${(x=e["aria-labelledby"])!==null&&x!==void 0?x:""}`.trim()}),T=t.values[n],R=P.useCallback(()=>{l.current&&Ou(l.current)},[l]),C=t.focusedThumb===n;P.useEffect(()=>{C&&R()},[C,R]);let k=m==="rtl",F=P.useRef(null),{keyboardProps:z}=NF({onKeyDown(J){let{getThumbMaxValue:te,getThumbMinValue:X,decrementThumb:M,incrementThumb:K,setThumbValue:Y,setThumbDragging:B,pageSize:ne}=t;if(!/^(PageUp|PageDown|Home|End)$/.test(J.key)){J.continuePropagation();return}switch(J.preventDefault(),B(n,!0),J.key){case"PageUp":K(n,ne);break;case"PageDown":M(n,ne);break;case"Home":Y(n,X(n));break;case"End":Y(n,te(n));break}B(n,!1)}}),{moveProps:Z}=lte({onMoveStart(){F.current=null,t.setThumbDragging(n,!0)},onMove({deltaX:J,deltaY:te,pointerType:X,shiftKey:M}){const{getThumbPercent:K,setThumbPercent:Y,decrementThumb:B,incrementThumb:ne,step:oe,pageSize:ae}=t;if(!u.current)return;let{width:de,height:be}=u.current.getBoundingClientRect(),ye=h?be:de;if(F.current==null&&(F.current=K(n)*ye),X==="keyboard")J>0&&k||J<0&&!k||te>0?B(n,M?ae:oe):ne(n,M?ae:oe);else{let pe=h?te:J;(h||k)&&(pe=-pe),F.current+=pe,Y(n,eo(F.current/ye,0,1))}},onMoveEnd(){t.setThumbDragging(n,!1)}});t.setThumbEditable(n,!d);const{focusableProps:q}=T0(Et(e,{onFocus:()=>t.setFocusedThumb(n),onBlur:()=>t.setFocusedThumb(void 0)}),l);let j=P.useRef(void 0),N=J=>{R(),j.current=J,t.setThumbDragging(n,!0),y(window,"mouseup",V,!1),y(window,"touchend",V,!1),y(window,"pointerup",V,!1)},V=J=>{var te,X;((X=J.pointerId)!==null&&X!==void 0?X:(te=J.changedTouches)===null||te===void 0?void 0:te[0].identifier)===j.current&&(R(),t.setThumbDragging(n,!1),v(window,"mouseup",V,!1),v(window,"touchend",V,!1),v(window,"pointerup",V,!1))},W=t.getThumbPercent(n);(h||m==="rtl")&&(W=1-W);let G=d?{}:Et(z,Z,{onMouseDown:J=>{J.button!==0||J.altKey||J.ctrlKey||J.metaKey||N()},onPointerDown:J=>{J.button!==0||J.altKey||J.ctrlKey||J.metaKey||N(J.pointerId)},onTouchStart:J=>{N(J.changedTouches[0].identifier)}});return ny(l,t.defaultValues[n],J=>{t.setThumbValue(n,J)}),{inputProps:Et(q,w,{type:"range",tabIndex:d?void 0:0,min:t.getThumbMinValue(n),max:t.getThumbMaxValue(n),step:t.step,value:T,name:s,form:c,disabled:d,"aria-orientation":o,"aria-valuetext":t.getThumbValueLabel(n),"aria-required":r||void 0,"aria-invalid":a||i==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-describedby":[_["aria-describedby"],e["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[_["aria-details"],e["aria-details"]].filter(Boolean).join(" "),onChange:J=>{t.setThumbValue(n,parseFloat(J.target.value))}}),thumbProps:{...G,style:{position:"absolute",[h?"top":"left"]:`${W*100}%`,transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:E,isDragging:t.isThumbDragging(n),isDisabled:d,isFocused:C}}var gle={};gle={Empty:"فارغ"};var vle={};vle={Empty:"Изпразни"};var yle={};yle={Empty:"Prázdné"};var ble={};ble={Empty:"Tom"};var Ole={};Ole={Empty:"Leer"};var Sle={};Sle={Empty:"Άδειο"};var xle={};xle={Empty:"Empty"};var _le={};_le={Empty:"Vacío"};var Ele={};Ele={Empty:"Tühjenda"};var Dle={};Dle={Empty:"Tyhjä"};var $le={};$le={Empty:"Vide"};var Cle={};Cle={Empty:"ריק"};var wle={};wle={Empty:"Prazno"};var Rle={};Rle={Empty:"Üres"};var Ale={};Ale={Empty:"Vuoto"};var Tle={};Tle={Empty:"空"};var kle={};kle={Empty:"비어 있음"};var Ple={};Ple={Empty:"Tuščias"};var Mle={};Mle={Empty:"Tukšs"};var Fle={};Fle={Empty:"Tom"};var Nle={};Nle={Empty:"Leeg"};var Ile={};Ile={Empty:"Pusty"};var Lle={};Lle={Empty:"Vazio"};var Ble={};Ble={Empty:"Vazio"};var Qle={};Qle={Empty:"Gol"};var zle={};zle={Empty:"Не заполнено"};var qle={};qle={Empty:"Prázdne"};var Vle={};Vle={Empty:"Prazen"};var Ule={};Ule={Empty:"Prazno"};var jle={};jle={Empty:"Tomt"};var Zle={};Zle={Empty:"Boş"};var Hle={};Hle={Empty:"Пусто"};var Xle={};Xle={Empty:"空"};var Yle={};Yle={Empty:"空白"};var Gle={};Gle={"ar-AE":gle,"bg-BG":vle,"cs-CZ":yle,"da-DK":ble,"de-DE":Ole,"el-GR":Sle,"en-US":xle,"es-ES":_le,"et-EE":Ele,"fi-FI":Dle,"fr-FR":$le,"he-IL":Cle,"hr-HR":wle,"hu-HU":Rle,"it-IT":Ale,"ja-JP":Tle,"ko-KR":kle,"lt-LT":Ple,"lv-LV":Mle,"nb-NO":Fle,"nl-NL":Nle,"pl-PL":Ile,"pt-BR":Lle,"pt-PT":Ble,"ro-RO":Qle,"ru-RU":zle,"sk-SK":qle,"sl-SI":Vle,"sr-SP":Ule,"sv-SE":jle,"tr-TR":Zle,"uk-UA":Hle,"zh-CN":Xle,"zh-TW":Yle};function C5e(e){return e&&e.__esModule?e.default:e}function mN(e){const t=P.useRef(void 0);let{value:n,textValue:r,minValue:i,maxValue:a,isDisabled:u,isReadOnly:l,isRequired:o,onIncrement:s,onIncrementPage:c,onDecrement:d,onDecrementPage:h,onDecrementToMin:m,onIncrementToMax:y}=e;const v=ko(C5e(Gle),"@react-aria/spinbutton"),_=()=>clearTimeout(t.current);P.useEffect(()=>()=>_(),[]);let x=q=>{if(!(q.ctrlKey||q.metaKey||q.shiftKey||q.altKey||l||q.nativeEvent.isComposing))switch(q.key){case"PageUp":if(c){q.preventDefault(),c==null||c();break}case"ArrowUp":case"Up":s&&(q.preventDefault(),s==null||s());break;case"PageDown":if(h){q.preventDefault(),h==null||h();break}case"ArrowDown":case"Down":d&&(q.preventDefault(),d==null||d());break;case"Home":m&&(q.preventDefault(),m==null||m());break;case"End":y&&(q.preventDefault(),y==null||y());break}},E=P.useRef(!1),w=()=>{E.current=!0},T=()=>{E.current=!1},R=r===""?v.format("Empty"):(r||`${n}`).replace("-","−");P.useEffect(()=>{E.current&&(SCe("assertive"),M1(R,"assertive"))},[R]);const C=li(q=>{_(),s==null||s(),t.current=window.setTimeout(()=>{(a===void 0||isNaN(a)||n===void 0||isNaN(n)||n<a)&&C(60)},q)}),k=li(q=>{_(),d==null||d(),t.current=window.setTimeout(()=>{(i===void 0||isNaN(i)||n===void 0||isNaN(n)||n>i)&&k(60)},q)});let F=q=>{q.preventDefault()},{addGlobalListener:z,removeAllGlobalListeners:Z}=ty();return{spinButtonProps:{role:"spinbutton","aria-valuenow":n!==void 0&&!isNaN(n)?n:void 0,"aria-valuetext":R,"aria-valuemin":i,"aria-valuemax":a,"aria-disabled":u||void 0,"aria-readonly":l||void 0,"aria-required":o||void 0,onKeyDown:x,onFocus:w,onBlur:T},incrementButtonProps:{onPressStart:()=>{C(400),z(window,"contextmenu",F)},onPressEnd:()=>{_(),Z()},onFocus:w,onBlur:T},decrementButtonProps:{onPressStart:()=>{k(400),z(window,"contextmenu",F)},onPressEnd:()=>{_(),Z()},onFocus:w,onBlur:T}}}function w5e(e,t,n){let{isDisabled:r,isReadOnly:i,isRequired:a,isWheelDisabled:u,validationBehavior:l="aria"}=e,{colorValue:o,inputValue:s,increment:c,decrement:d,incrementToMax:h,decrementToMin:m,commit:y}=t,v=hi(),{spinButtonProps:_}=mN({isDisabled:r,isReadOnly:i,isRequired:a,maxValue:16777215,minValue:0,onIncrement:c,onIncrementToMax:h,onDecrement:d,onDecrementToMin:m,value:o?o.toHexInt():void 0,textValue:o?o.toString("hex"):void 0}),[x,E]=P.useState(!1),{focusWithinProps:w}=k0({isDisabled:r,onFocusWithinChange:E}),T=P.useCallback(z=>{Math.abs(z.deltaY)<=Math.abs(z.deltaX)||(z.deltaY>0?c():z.deltaY<0&&d())},[d,c]);ote({onScroll:T,isDisabled:u||r||i||!x},n);let C=z=>{t.validate(z)&&t.setInputValue(z)},{inputProps:k,...F}=Bre({...e,id:v,value:s,defaultValue:"!",validate:void 0,[H1]:t,type:"text",autoComplete:"off",onChange:C},t,n);return ny(n,t.defaultColorValue,t.setColorValue),k=Et(k,_,w,{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false",onBlur:y}),l==="native"&&(k["aria-required"]=void 0),{inputProps:k,...F}}function R5e(e){return e&&e.__esModule?e.default:e}function A5e(e){let{color:t,colorName:n}=e,r=t||"#fff0",i=P.useMemo(()=>typeof r=="string"?uy(r):r,[r]),{locale:a}=Zi(),u=Yt(e,{labelable:!0}),l=ko(R5e(Tue),"@react-aria/color"),o=hi(e.id);return n||(n=i.getChannelValue("alpha")===0?l.format("transparent"):i.getColorName(a)),{colorSwatchProps:{...u,role:"img","aria-roledescription":l.format("colorSwatch"),"aria-label":[n,e["aria-label"]||""].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]?`${o} ${e["aria-labelledby"]}`:void 0,id:o,style:{backgroundColor:i.toString("css"),forcedColorAdjust:"none"}},color:i||null}}var Kle={};Kle={decrease:e=>`خفض ${e.fieldLabel}`,increase:e=>`زيادة ${e.fieldLabel}`,numberField:"حقل رقمي"};var Wle={};Wle={decrease:e=>`Намаляване ${e.fieldLabel}`,increase:e=>`Усилване ${e.fieldLabel}`,numberField:"Номер на полето"};var Jle={};Jle={decrease:e=>`Snížit ${e.fieldLabel}`,increase:e=>`Zvýšit ${e.fieldLabel}`,numberField:"Číselné pole"};var eoe={};eoe={decrease:e=>`Reducer ${e.fieldLabel}`,increase:e=>`Øg ${e.fieldLabel}`,numberField:"Talfelt"};var toe={};toe={decrease:e=>`${e.fieldLabel} verringern`,increase:e=>`${e.fieldLabel} erhöhen`,numberField:"Nummernfeld"};var noe={};noe={decrease:e=>`Μείωση ${e.fieldLabel}`,increase:e=>`Αύξηση ${e.fieldLabel}`,numberField:"Πεδίο αριθμού"};var roe={};roe={decrease:e=>`Decrease ${e.fieldLabel}`,increase:e=>`Increase ${e.fieldLabel}`,numberField:"Number field"};var ioe={};ioe={decrease:e=>`Reducir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var aoe={};aoe={decrease:e=>`Vähenda ${e.fieldLabel}`,increase:e=>`Suurenda ${e.fieldLabel}`,numberField:"Numbri väli"};var uoe={};uoe={decrease:e=>`Vähennä ${e.fieldLabel}`,increase:e=>`Lisää ${e.fieldLabel}`,numberField:"Numerokenttä"};var loe={};loe={decrease:e=>`Diminuer ${e.fieldLabel}`,increase:e=>`Augmenter ${e.fieldLabel}`,numberField:"Champ de nombre"};var ooe={};ooe={decrease:e=>`הקטן ${e.fieldLabel}`,increase:e=>`הגדל ${e.fieldLabel}`,numberField:"שדה מספר"};var soe={};soe={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var coe={};coe={decrease:e=>`${e.fieldLabel} csökkentése`,increase:e=>`${e.fieldLabel} növelése`,numberField:"Számmező"};var foe={};foe={decrease:e=>`Riduci ${e.fieldLabel}`,increase:e=>`Aumenta ${e.fieldLabel}`,numberField:"Campo numero"};var doe={};doe={decrease:e=>`${e.fieldLabel}を縮小`,increase:e=>`${e.fieldLabel}を拡大`,numberField:"数値フィールド"};var hoe={};hoe={decrease:e=>`${e.fieldLabel} 감소`,increase:e=>`${e.fieldLabel} 증가`,numberField:"번호 필드"};var poe={};poe={decrease:e=>`Sumažinti ${e.fieldLabel}`,increase:e=>`Padidinti ${e.fieldLabel}`,numberField:"Numerio laukas"};var moe={};moe={decrease:e=>`Samazināšana ${e.fieldLabel}`,increase:e=>`Palielināšana ${e.fieldLabel}`,numberField:"Skaitļu lauks"};var goe={};goe={decrease:e=>`Reduser ${e.fieldLabel}`,increase:e=>`Øk ${e.fieldLabel}`,numberField:"Tallfelt"};var voe={};voe={decrease:e=>`${e.fieldLabel} verlagen`,increase:e=>`${e.fieldLabel} verhogen`,numberField:"Getalveld"};var yoe={};yoe={decrease:e=>`Zmniejsz ${e.fieldLabel}`,increase:e=>`Zwiększ ${e.fieldLabel}`,numberField:"Pole numeru"};var boe={};boe={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo de número"};var Ooe={};Ooe={decrease:e=>`Diminuir ${e.fieldLabel}`,increase:e=>`Aumentar ${e.fieldLabel}`,numberField:"Campo numérico"};var Soe={};Soe={decrease:e=>`Scădere ${e.fieldLabel}`,increase:e=>`Creștere ${e.fieldLabel}`,numberField:"Câmp numeric"};var xoe={};xoe={decrease:e=>`Уменьшение ${e.fieldLabel}`,increase:e=>`Увеличение ${e.fieldLabel}`,numberField:"Числовое поле"};var _oe={};_oe={decrease:e=>`Znížiť ${e.fieldLabel}`,increase:e=>`Zvýšiť ${e.fieldLabel}`,numberField:"Číselné pole"};var Eoe={};Eoe={decrease:e=>`Upadati ${e.fieldLabel}`,increase:e=>`Povečajte ${e.fieldLabel}`,numberField:"Številčno polje"};var Doe={};Doe={decrease:e=>`Smanji ${e.fieldLabel}`,increase:e=>`Povećaj ${e.fieldLabel}`,numberField:"Polje broja"};var $oe={};$oe={decrease:e=>`Minska ${e.fieldLabel}`,increase:e=>`Öka ${e.fieldLabel}`,numberField:"Nummerfält"};var Coe={};Coe={decrease:e=>`${e.fieldLabel} azalt`,increase:e=>`${e.fieldLabel} arttır`,numberField:"Sayı alanı"};var woe={};woe={decrease:e=>`Зменшити ${e.fieldLabel}`,increase:e=>`Збільшити ${e.fieldLabel}`,numberField:"Поле номера"};var Roe={};Roe={decrease:e=>`降低 ${e.fieldLabel}`,increase:e=>`提高 ${e.fieldLabel}`,numberField:"数字字段"};var Aoe={};Aoe={decrease:e=>`縮小 ${e.fieldLabel}`,increase:e=>`放大 ${e.fieldLabel}`,numberField:"數字欄位"};var Toe={};Toe={"ar-AE":Kle,"bg-BG":Wle,"cs-CZ":Jle,"da-DK":eoe,"de-DE":toe,"el-GR":noe,"en-US":roe,"es-ES":ioe,"et-EE":aoe,"fi-FI":uoe,"fr-FR":loe,"he-IL":ooe,"hr-HR":soe,"hu-HU":coe,"it-IT":foe,"ja-JP":doe,"ko-KR":hoe,"lt-LT":poe,"lv-LV":moe,"nb-NO":goe,"nl-NL":voe,"pl-PL":yoe,"pt-BR":boe,"pt-PT":Ooe,"ro-RO":Soe,"ru-RU":xoe,"sk-SK":_oe,"sl-SI":Eoe,"sr-SP":Doe,"sv-SE":$oe,"tr-TR":Coe,"uk-UA":woe,"zh-CN":Roe,"zh-TW":Aoe};function T5e(e){return e&&e.__esModule?e.default:e}function koe(e,t,n){let{id:r,decrementAriaLabel:i,incrementAriaLabel:a,isDisabled:u,isReadOnly:l,isRequired:o,minValue:s,maxValue:c,autoFocus:d,label:h,formatOptions:m,onBlur:y=()=>{},onFocus:v,onFocusChange:_,onKeyDown:x,onKeyUp:E,description:w,errorMessage:T,isWheelDisabled:R,...C}=e,{increment:k,incrementToMax:F,decrement:z,decrementToMin:Z,numberValue:q,inputValue:j,commit:N,commitValidation:V}=t;const W=ko(T5e(Toe),"@react-aria/numberfield");let G=hi(r),{focusProps:J}=mC({onBlur(){N()}}),te=lD(m),X=P.useMemo(()=>te.resolvedOptions(),[te]),M=lD({...m,currencySign:void 0}),K=P.useMemo(()=>isNaN(q)?"":M.format(q),[M,q]),{spinButtonProps:Y,incrementButtonProps:B,decrementButtonProps:ne}=mN({isDisabled:u,isReadOnly:l,isRequired:o,maxValue:c,minValue:s,onIncrement:k,onIncrementToMax:F,onDecrement:z,onDecrementToMin:Z,value:q,textValue:K}),[oe,ae]=P.useState(!1),{focusWithinProps:de}=k0({isDisabled:u,onFocusWithinChange:ae}),be=P.useCallback(qt=>{Math.abs(qt.deltaY)<=Math.abs(qt.deltaX)||(qt.deltaY>0?k():qt.deltaY<0&&z())},[z,k]);ote({onScroll:be,isDisabled:R||u||l||!oe},n);var pe;let _e=((pe=X.maximumFractionDigits)!==null&&pe!==void 0?pe:0)>0,se=t.minValue===void 0||isNaN(t.minValue)||t.minValue<0,me="numeric";xJ()?se?me="text":_e&&(me="decimal"):zS()&&(se?me="numeric":_e&&(me="decimal"));let ge=qt=>{t.validate(qt)&&t.setInputValue(qt)},we=Yt(e),Ne=P.useCallback(qt=>{qt.nativeEvent.isComposing||(qt.key==="Enter"?(N(),V()):qt.continuePropagation())},[N,V]),{isInvalid:Re,validationErrors:et,validationDetails:tt}=t.displayValidation,{labelProps:Oe,inputProps:$e,descriptionProps:Ae,errorMessageProps:Ue}=Bre({...C,...we,name:void 0,form:void 0,label:h,autoFocus:d,isDisabled:u,isReadOnly:l,isRequired:o,validate:void 0,[H1]:t,value:j,defaultValue:"!",autoComplete:"off","aria-label":e["aria-label"]||void 0,"aria-labelledby":e["aria-labelledby"]||void 0,id:G,type:"text",inputMode:me,onChange:ge,onBlur:y,onFocus:v,onFocusChange:_,onKeyDown:P.useMemo(()=>eh(Ne,x),[Ne,x]),onKeyUp:E,description:w,errorMessage:T},t,n);ny(n,t.defaultNumberValue,t.setNumberValue);let Ze=Et(Y,J,$e,{role:null,"aria-roledescription":fb()?null:W.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"});e.validationBehavior==="native"&&(Ze["aria-required"]=void 0);let Ye=qt=>{var zt;document.activeElement!==n.current&&(qt.pointerType==="mouse"?(zt=n.current)===null||zt===void 0||zt.focus():qt.target.focus())},Me=e["aria-label"]||(typeof e.label=="string"?e.label:""),ze;Me||(ze=e.label!=null?Oe.id:e["aria-labelledby"]);let st=hi(),Ot=hi(),Nt=Et(B,{"aria-label":a||W.format("increase",{fieldLabel:Me}).trim(),id:ze&&!a?st:null,"aria-labelledby":ze&&!a?`${st} ${ze}`:null,"aria-controls":G,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:Ye}),gt=Et(ne,{"aria-label":i||W.format("decrease",{fieldLabel:Me}).trim(),id:ze&&!i?Ot:null,"aria-labelledby":ze&&!i?`${Ot} ${ze}`:null,"aria-controls":G,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:Ye});return{groupProps:{...de,role:"group","aria-disabled":u,"aria-invalid":Re?"true":void 0},labelProps:Oe,inputProps:Ze,incrementButtonProps:Nt,decrementButtonProps:gt,errorMessageProps:Ue,descriptionProps:Ae,isInvalid:Re,validationErrors:et,validationDetails:tt}}function k5e(e,t,n){let{locale:r}=Zi();return koe({...e,value:void 0,defaultValue:void 0,onChange:void 0,validate:void 0,"aria-label":e["aria-label"]||(e.label||e["aria-labelledby"]?void 0:t.colorValue.getChannelName(e.channel,r))},t,n)}var Poe={};Poe={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var Moe={};Moe={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var Foe={};Foe={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var Noe={};Noe={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"};var Ioe={};Ioe={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Startdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var Loe={};Loe={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var Boe={};Boe={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var Qoe={};Qoe={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"};var zoe={};zoe={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var qoe={};qoe={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var Voe={};Voe={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var Uoe={};Uoe={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var joe={};joe={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var Zoe={};Zoe={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var Hoe={};Hoe={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var Xoe={};Xoe={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var Yoe={};Yoe={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"};var Goe={};Goe={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var Koe={};Koe={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var Woe={};Woe={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var Joe={};Joe={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var ese={};ese={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var tse={};tse={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var nse={};nse={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var rse={};rse={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var ise={};ise={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var ase={};ase={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var use={};use={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var lse={};lse={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var ose={};ose={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"};var sse={};sse={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var cse={};cse={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var fse={};fse={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期：${e.date}`,selectedRangeDescription:e=>`选定的范围：${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间：${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var dse={};dse={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期：${e.date}`,selectedRangeDescription:e=>`選定的範圍：${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間：${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var gN={};gN={"ar-AE":Poe,"bg-BG":Moe,"cs-CZ":Foe,"da-DK":Noe,"de-DE":Ioe,"el-GR":Loe,"en-US":Boe,"es-ES":Qoe,"et-EE":zoe,"fi-FI":qoe,"fr-FR":Voe,"he-IL":Uoe,"hr-HR":joe,"hu-HU":Zoe,"it-IT":Hoe,"ja-JP":Xoe,"ko-KR":Yoe,"lt-LT":Goe,"lv-LV":Koe,"nb-NO":Woe,"nl-NL":Joe,"pl-PL":ese,"pt-BR":tse,"pt-PT":nse,"ro-RO":rse,"ru-RU":ise,"sk-SK":ase,"sl-SI":use,"sr-SP":lse,"sv-SE":ose,"tr-TR":sse,"uk-UA":cse,"zh-CN":fse,"zh-TW":dse};function P5e(e,t,n){let{direction:r}=Zi(),i=P.useMemo(()=>QF(t),[t]),a=o=>{if(o.currentTarget.contains(o.target)&&(o.altKey&&(o.key==="ArrowDown"||o.key==="ArrowUp")&&"setOpen"in e&&(o.preventDefault(),o.stopPropagation(),e.setOpen(!0)),!n))switch(o.key){case"ArrowLeft":if(o.preventDefault(),o.stopPropagation(),r==="rtl"){if(t.current){let s=o.target,c=mj(t.current,s.getBoundingClientRect().left,-1);c&&c.focus()}}else i.focusPrevious();break;case"ArrowRight":if(o.preventDefault(),o.stopPropagation(),r==="rtl"){if(t.current){let s=o.target,c=mj(t.current,s.getBoundingClientRect().left,1);c&&c.focus()}}else i.focusNext();break}},u=()=>{var o;if(!t.current)return;let s=(o=window.event)===null||o===void 0?void 0:o.target,c=El(t.current,{tabbable:!0});if(s&&(c.currentNode=s,s=c.previousNode()),!s){let d;do d=c.lastChild(),d&&(s=d);while(d)}for(;s!=null&&s.hasAttribute("data-placeholder");){let d=c.previousNode();if(d&&d.hasAttribute("data-placeholder"))s=d;else break}s&&s.focus()},{pressProps:l}=rp({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(o){o.pointerType==="mouse"&&u()},onPress(o){(o.pointerType==="touch"||o.pointerType==="pen")&&u()}});return Et(l,{onKeyDown:a})}function mj(e,t,n){let r=El(e,{tabbable:!0}),i=r.nextNode(),a=null,u=1/0;for(;i;){let o=i.getBoundingClientRect().left-t,s=Math.abs(o);Math.sign(o)===n&&s<u&&(a=i,u=s),i=r.nextNode()}return a}function M5e(e){return e&&e.__esModule?e.default:e}const hse=new WeakMap,YT="__role_"+Date.now(),F5e="__focusManager_"+Date.now();function vN(e,t,n){var r;let{isInvalid:i,validationErrors:a,validationDetails:u}=t.displayValidation,{labelProps:l,fieldProps:o,descriptionProps:s,errorMessageProps:c}=KS({...e,labelElementType:"span",isInvalid:i,errorMessage:e.errorMessage||a}),d=P.useRef(null),{focusWithinProps:h}=k0({...e,onFocusWithin(Z){var q;d.current=t.value,(q=e.onFocus)===null||q===void 0||q.call(e,Z)},onBlurWithin:Z=>{var q;t.confirmPlaceholder(),t.value!==d.current&&t.commitValidation(),(q=e.onBlur)===null||q===void 0||q.call(e,Z)},onFocusWithinChange:e.onFocusChange}),m=ko(M5e(gN),"@react-aria/datepicker"),y=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",v=t.maxGranularity==="hour"?"time":"date",_=t.value?m.format(y,{[v]:t.formatValue({month:"long"})}):"",x=oC(_),E=e[YT]==="presentation"?o["aria-describedby"]:[x["aria-describedby"],o["aria-describedby"]].filter(Boolean).join(" ")||void 0,w=e[F5e],T=P.useMemo(()=>w||QF(n),[w,n]),R=P5e(t,n,e[YT]==="presentation");hse.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:E,focusManager:T});let C=P.useRef(e.autoFocus),k;e[YT]==="presentation"?k={role:"presentation"}:k=Et(o,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":E}),P.useEffect(()=>{C.current&&T.focusFirst(),C.current=!1},[T]),ny(e.inputRef,t.defaultValue,t.setValue),WS({...e,focus(){T.focusFirst()}},t,e.inputRef);let F={type:"hidden",name:e.name,form:e.form,value:((r=t.value)===null||r===void 0?void 0:r.toString())||"",disabled:e.isDisabled};e.validationBehavior==="native"&&(F.type="text",F.hidden=!0,F.required=e.isRequired,F.onChange=()=>{});let z=Yt(e);return{labelProps:{...l,onClick:()=>{T.focusFirst()}},fieldProps:Et(z,k,R,h,{onKeyDown(Z){e.onKeyDown&&e.onKeyDown(Z)},onKeyUp(Z){e.onKeyUp&&e.onKeyUp(Z)},style:{unicodeBidi:"isolate"}}),inputProps:F,descriptionProps:s,errorMessageProps:c,isInvalid:i,validationErrors:a,validationDetails:u}}function N5e(e,t,n){var r;let i=vN(e,t,n);return i.inputProps.value=((r=t.timeValue)===null||r===void 0?void 0:r.toString())||"",i}function I5e(e){return e&&e.__esModule?e.default:e}function L5e(){let{locale:e}=Zi(),t=fte(I5e(gN),"@react-aria/datepicker");return P.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new B5e(e,t)}},[e,t])}class B5e{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,n){this.locale=t,this.dictionary=n}}function Q5e(e,t,n){let r=P.useRef(""),{locale:i,direction:a}=Zi(),u=L5e(),{ariaLabel:l,ariaLabelledBy:o,ariaDescribedBy:s,focusManager:c}=hse.get(t),d=e.isPlaceholder?"":e.text,h=P.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),m=m_({month:"long",timeZone:h.timeZone}),y=m_({hour:"numeric",hour12:h.hour12,timeZone:h.timeZone});if(e.type==="month"&&!e.isPlaceholder){let M=m.format(t.dateValue);d=M!==d?`${d} – ${M}`:M}else e.type==="hour"&&!e.isPlaceholder&&(d=y.format(t.dateValue));let{spinButtonProps:v}=mN({value:e.value,textValue:d,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{r.current="",t.increment(e.type)},onDecrement:()=>{r.current="",t.decrement(e.type)},onIncrementPage:()=>{r.current="",t.incrementPage(e.type)},onDecrementPage:()=>{r.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{r.current="",e.maxValue!==void 0&&t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{r.current="",e.minValue!==void 0&&t.setSegment(e.type,e.minValue)}}),_=P.useMemo(()=>new IF(i,{maximumFractionDigits:0}),[i]),x=()=>{if(e.text===e.placeholder&&c.focusPrevious(),_.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let M=e.text.slice(0,-1),K=_.parse(M);M=K===0?"":M,M.length===0||K===0?t.clearSegment(e.type):t.setSegment(e.type,K),r.current=M}else e.type==="dayPeriod"&&t.clearSegment(e.type)},E=M=>{if(M.key==="a"&&(Jm()?M.metaKey:M.ctrlKey)&&M.preventDefault(),!(M.ctrlKey||M.metaKey||M.shiftKey||M.altKey))switch(M.key){case"Backspace":case"Delete":M.preventDefault(),M.stopPropagation(),x();break}},{startsWith:w}=hte({sensitivity:"base"}),T=m_({hour:"numeric",hour12:!0}),R=P.useMemo(()=>{let M=new Date;return M.setHours(0),T.formatToParts(M).find(K=>K.type==="dayPeriod").value},[T]),C=P.useMemo(()=>{let M=new Date;return M.setHours(12),T.formatToParts(M).find(K=>K.type==="dayPeriod").value},[T]),k=m_({year:"numeric",era:"narrow",timeZone:"UTC"}),F=P.useMemo(()=>{if(e.type!=="era")return[];let M=ac(new qu(1,1,1),t.calendar),K=t.calendar.getEras().map(B=>{let ne=M.set({year:1,month:1,day:1,era:B}).toDate("UTC"),ae=k.formatToParts(ne).find(de=>de.type==="era").value;return{era:B,formatted:ae}}),Y=z5e(K.map(B=>B.formatted));if(Y)for(let B of K)B.formatted=B.formatted.slice(Y);return K},[k,t.calendar,e.type]),z=M=>{if(t.isDisabled||t.isReadOnly)return;let K=r.current+M;switch(e.type){case"dayPeriod":if(w(R,M))t.setSegment("dayPeriod",0);else if(w(C,M))t.setSegment("dayPeriod",12);else break;c.focusNext();break;case"era":{let Y=F.find(B=>w(B.formatted,M));Y&&(t.setSegment("era",Y.era),c.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!_.isValidPartialNumber(K))return;let Y=_.parse(K),B=Y,ne=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":Y>11&&(B=_.parse(M));break;case"h12":ne=!1,Y>12&&(B=_.parse(M));break}e.value!==void 0&&e.value>=12&&Y>1&&(Y+=12)}else e.maxValue!==void 0&&Y>e.maxValue&&(B=_.parse(M));if(isNaN(Y))return;let oe=B!==0||ne;oe&&t.setSegment(e.type,B),e.maxValue!==void 0&&(+(Y+"0")>e.maxValue||K.length>=String(e.maxValue).length)?(r.current="",oe&&c.focusNext()):r.current=K;break}}},Z=()=>{r.current="",n.current&&Mm(n.current,{containingElement:c0(n.current)});let M=window.getSelection();M==null||M.collapse(n.current)},q=P.useRef(typeof document<"u"?document:null);Zd(q,"selectionchange",()=>{var M;let K=window.getSelection();K!=null&&K.anchorNode&&(!((M=n.current)===null||M===void 0)&&M.contains(K==null?void 0:K.anchorNode))&&K.collapse(n.current)});let j=P.useRef("");Zd(n,"beforeinput",M=>{if(n.current)switch(M.preventDefault(),M.inputType){case"deleteContentBackward":case"deleteContentForward":_.isValidPartialNumber(e.text)&&!t.isReadOnly&&x();break;case"insertCompositionText":j.current=n.current.textContent,n.current.textContent=n.current.textContent;break;default:M.data!=null&&z(M.data);break}}),Zd(n,"input",M=>{let{inputType:K,data:Y}=M;switch(K){case"insertCompositionText":n.current&&(n.current.textContent=j.current),Y!=null&&(w(R,Y)||w(C,Y))&&z(Y);break}}),Qr(()=>{let M=n.current;return()=>{document.activeElement===M&&(c.focusPrevious()||c.focusNext())}},[n,c]);let N=fb()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},V=P.useMemo(()=>t.segments.find(M=>M.isEditable),[t.segments]);e!==V&&!t.isInvalid&&(s=void 0);let W=hi(),G=!t.isDisabled&&!t.isReadOnly&&e.isEditable,J=e.type==="literal"?"":u.of(e.type),te=Fv({"aria-label":`${J}${l?`, ${l}`:""}${o?", ":""}`,"aria-labelledby":o});if(e.type==="literal")return{segmentProps:{"aria-hidden":!0}};let X={caretColor:"transparent"};if(a==="rtl"){X.unicodeBidi="embed";let M=h[e.type];(M==="numeric"||M==="2-digit")&&(X.direction="ltr")}return{segmentProps:Et(v,te,{id:W,...N,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":s,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:G,suppressContentEditableWarning:G,spellCheck:G?"false":void 0,autoCorrect:G?"off":void 0,[parseInt(ve.version,10)>=17?"enterKeyHint":"enterkeyhint"]:G?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!G?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:E,onFocus:Z,style:X,onPointerDown(M){M.stopPropagation()},onMouseDown(M){M.stopPropagation()}})}}function z5e(e){e.sort();let t=e[0],n=e[e.length-1];for(let r=0;r<t.length;r++)if(t[r]!==n[r])return r;return 0}function q5e(e,t){let{role:n="dialog"}=e,r=S0();r=e["aria-label"]?void 0:r;let i=P.useRef(!1);return P.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){tc(t.current);let a=setTimeout(()=>{(document.activeElement===t.current||document.activeElement===document.body)&&(i.current=!0,t.current&&(t.current.blur(),tc(t.current)),i.current=!1)},500);return()=>{clearTimeout(a)}}},[t]),une(),{dialogProps:{...Yt(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||r,onBlur:a=>{i.current&&a.stopPropagation()}},titleProps:{id:r}}}function V5e(e,t,n){let{isDisabled:r}=e,i=hi(),a=hi(),u=Jd(),l=P.useRef(null),o=P.useCallback(()=>{l.current=requestAnimationFrame(()=>{n.current&&n.current.setAttribute("hidden","until-found")}),zf.flushSync(()=>{t.toggle()})},[n,t]);Zd(n,"beforematch",o);let s=P.useRef(null);return Qr(()=>{if(l.current&&cancelAnimationFrame(l.current),n.current&&!r&&!u){let c=n.current;s.current==null||typeof c.getAnimations!="function"?t.isExpanded?(c.removeAttribute("hidden"),c.style.setProperty("--disclosure-panel-width","auto"),c.style.setProperty("--disclosure-panel-height","auto")):(c.setAttribute("hidden","until-found"),c.style.setProperty("--disclosure-panel-width","0px"),c.style.setProperty("--disclosure-panel-height","0px")):t.isExpanded!==s.current&&(t.isExpanded?(c.removeAttribute("hidden"),c.style.setProperty("--disclosure-panel-width",c.scrollWidth+"px"),c.style.setProperty("--disclosure-panel-height",c.scrollHeight+"px"),Promise.all(c.getAnimations().map(d=>d.finished)).then(()=>{c.style.setProperty("--disclosure-panel-width","auto"),c.style.setProperty("--disclosure-panel-height","auto")}).catch(()=>{})):(c.style.setProperty("--disclosure-panel-width",c.scrollWidth+"px"),c.style.setProperty("--disclosure-panel-height",c.scrollHeight+"px"),window.getComputedStyle(c).height,c.style.setProperty("--disclosure-panel-width","0px"),c.style.setProperty("--disclosure-panel-height","0px"),Promise.all(c.getAnimations().map(d=>d.finished)).then(()=>c.setAttribute("hidden","until-found")).catch(()=>{}))),s.current=t.isExpanded}},[r,n,t.isExpanded,u]),P.useEffect(()=>()=>{l.current&&cancelAnimationFrame(l.current)},[]),{buttonProps:{id:i,"aria-expanded":t.isExpanded,"aria-controls":a,onPress:c=>{!r&&c.pointerType!=="keyboard"&&t.toggle()},isDisabled:r,onPressStart(c){c.pointerType==="keyboard"&&!r&&t.toggle()}},panelProps:{id:a,role:"group","aria-labelledby":i,"aria-hidden":!t.isExpanded,hidden:u||r?r||!t.isExpanded:void 0}}}const yN=new WeakMap;function gj(e,t){var n;let{id:r}=(n=yN.get(e))!==null&&n!==void 0?n:{};if(!r)throw new Error("Unknown list");return`${r}-${U5e(t)}`}function U5e(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}var pse={};pse={deselectedItem:e=>`${e.item} غير المحدد`,longPressToSelect:"اضغط مطولًا للدخول إلى وضع التحديد.",select:"تحديد",selectedAll:"جميع العناصر المحددة.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"لم يتم تحديد عناصر",one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عنصر محدد`})}.`,selectedItem:e=>`${e.item} المحدد`};var mse={};mse={deselectedItem:e=>`${e.item} не е избран.`,longPressToSelect:"Натиснете и задръжте за да влезете в избирателен режим.",select:"Изберете",selectedAll:"Всички елементи са избрани.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Няма избрани елементи",one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,selectedItem:e=>`${e.item} избран.`};var gse={};gse={deselectedItem:e=>`Položka ${e.item} není vybrána.`,longPressToSelect:"Dlouhým stisknutím přejdete do režimu výběru.",select:"Vybrat",selectedAll:"Vybrány všechny položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybrány žádné položky",one:()=>`Vybrána ${t.number(e.count)} položka`,other:()=>`Vybráno ${t.number(e.count)} položek`})}.`,selectedItem:e=>`Vybrána položka ${e.item}.`};var vse={};vse={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"Vælg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var yse={};yse={deselectedItem:e=>`${e.item} nicht ausgewählt.`,longPressToSelect:"Gedrückt halten, um Auswahlmodus zu öffnen.",select:"Auswählen",selectedAll:"Alle Elemente ausgewählt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgewählt",one:()=>`${t.number(e.count)} Element ausgewählt`,other:()=>`${t.number(e.count)} Elemente ausgewählt`})}.`,selectedItem:e=>`${e.item} ausgewählt.`};var bse={};bse={deselectedItem:e=>`Δεν επιλέχθηκε το στοιχείο ${e.item}.`,longPressToSelect:"Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select:"Επιλογή",selectedAll:"Επιλέχθηκαν όλα τα στοιχεία.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Δεν επιλέχθηκαν στοιχεία",one:()=>`Επιλέχθηκε ${t.number(e.count)} στοιχείο`,other:()=>`Επιλέχθηκαν ${t.number(e.count)} στοιχεία`})}.`,selectedItem:e=>`Επιλέχθηκε το στοιχείο ${e.item}.`};var Ose={};Ose={deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var Sse={};Sse={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selección.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ningún elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var xse={};xse={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikurežiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"Kõik üksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Üksusi pole valitud",one:()=>`${t.number(e.count)} üksus valitud`,other:()=>`${t.number(e.count)} üksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var _se={};_se={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitkään.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yhtään kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var Ese={};Ese={deselectedItem:e=>`${e.item} non sélectionné.`,longPressToSelect:"Appuyez de manière prolongée pour passer en mode de sélection.",select:"Sélectionner",selectedAll:"Tous les éléments sélectionnés.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun élément sélectionné",one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,selectedItem:e=>`${e.item} sélectionné.`};var Dse={};Dse={deselectedItem:e=>`${e.item} לא נבחר.`,longPressToSelect:"הקשה ארוכה לכניסה למצב בחירה.",select:"בחר",selectedAll:"כל הפריטים נבחרו.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"לא נבחרו פריטים",one:()=>`פריט ${t.number(e.count)} נבחר`,other:()=>`${t.number(e.count)} פריטים נבחרו`})}.`,selectedItem:e=>`${e.item} נבחר.`};var $se={};$se={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u način odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var Cse={};Cse={deselectedItem:e=>`${e.item} nincs kijelölve.`,longPressToSelect:"Nyomja hosszan a kijelöléshez.",select:"Kijelölés",selectedAll:"Az összes elem kijelölve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijelölve",one:()=>`${t.number(e.count)} elem kijelölve`,other:()=>`${t.number(e.count)} elem kijelölve`})}.`,selectedItem:e=>`${e.item} kijelölve.`};var wse={};wse={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalità di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var Rse={};Rse={deselectedItem:e=>`${e.item} が選択されていません。`,longPressToSelect:"長押しして選択モードを開きます。",select:"選択",selectedAll:"すべての項目を選択しました。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"項目が選択されていません",one:()=>`${t.number(e.count)} 項目を選択しました`,other:()=>`${t.number(e.count)} 項目を選択しました`})}。`,selectedItem:e=>`${e.item} を選択しました。`};var Ase={};Ase={deselectedItem:e=>`${e.item}이(가) 선택되지 않았습니다.`,longPressToSelect:"선택 모드로 들어가려면 길게 누르십시오.",select:"선택",selectedAll:"모든 항목이 선택되었습니다.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"선택된 항목이 없습니다",one:()=>`${t.number(e.count)}개 항목이 선택되었습니다`,other:()=>`${t.number(e.count)}개 항목이 선택되었습니다`})}.`,selectedItem:e=>`${e.item}이(가) 선택되었습니다.`};var Tse={};Tse={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas nė vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta elementų: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var kse={};kse={deselectedItem:e=>`Vienums ${e.item} nav atlasīts.`,longPressToSelect:"Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select:"Atlasīt",selectedAll:"Atlasīti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlasīts neviens vienums",one:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlasīts vienums ${e.item}.`};var Pse={};Pse={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for å gå inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var Mse={};Mse={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var Fse={};Fse={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono żadnych elementów",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych elementów`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var Nse={};Nse={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var Ise={};Ise={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var Lse={};Lse={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Apăsați lung pentru a intra în modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var Bse={};Bse={deselectedItem:e=>`${e.item} не выбрано.`,longPressToSelect:"Нажмите и удерживайте для входа в режим выбора.",select:"Выбрать",selectedAll:"Выбраны все элементы.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Нет выбранных элементов",one:()=>`${t.number(e.count)} элемент выбран`,other:()=>`${t.number(e.count)} элементов выбрано`})}.`,selectedItem:e=>`${e.item} выбрано.`};var Qse={};Qse={deselectedItem:e=>`Nevybraté položky: ${e.item}.`,longPressToSelect:"Dlhším stlačením prejdite do režimu výberu.",select:"Vybrať",selectedAll:"Všetky vybraté položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Žiadne vybraté položky",one:()=>`${t.number(e.count)} vybratá položka`,other:()=>`Počet vybratých položiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybraté položky: ${e.item}.`};var zse={};zse={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni način pritisnite in dlje časa držite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var qse={};qse={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u režim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var Vse={};Vse={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck länge när du vill öppna väljarläge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var Use={};Use={deselectedItem:e=>`${e.item} seçilmedi.`,longPressToSelect:"Seçim moduna girmek için uzun basın.",select:"Seç",selectedAll:"Tüm ögeler seçildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hiçbir öge seçilmedi",one:()=>`${t.number(e.count)} öge seçildi`,other:()=>`${t.number(e.count)} öge seçildi`})}.`,selectedItem:e=>`${e.item} seçildi.`};var jse={};jse={deselectedItem:e=>`${e.item} не вибрано.`,longPressToSelect:"Виконайте довге натиснення, щоб перейти в режим вибору.",select:"Вибрати",selectedAll:"Усі елементи вибрано.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Жодних елементів не вибрано",one:()=>`${t.number(e.count)} елемент вибрано`,other:()=>`Вибрано елементів: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} вибрано.`};var Zse={};Zse={deselectedItem:e=>`未选择 ${e.item}。`,longPressToSelect:"长按以进入选择模式。",select:"选择",selectedAll:"已选择所有项目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未选择项目",one:()=>`已选择 ${t.number(e.count)} 个项目`,other:()=>`已选择 ${t.number(e.count)} 个项目`})}。`,selectedItem:e=>`已选择 ${e.item}。`};var Hse={};Hse={deselectedItem:e=>`未選取「${e.item}」。`,longPressToSelect:"長按以進入選擇模式。",select:"選取",selectedAll:"已選取所有項目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未選取任何項目",one:()=>`已選取 ${t.number(e.count)} 個項目`,other:()=>`已選取 ${t.number(e.count)} 個項目`})}。`,selectedItem:e=>`已選取「${e.item}」。`};var bN={};bN={"ar-AE":pse,"bg-BG":mse,"cs-CZ":gse,"da-DK":vse,"de-DE":yse,"el-GR":bse,"en-US":Ose,"es-ES":Sse,"et-EE":xse,"fi-FI":_se,"fr-FR":Ese,"he-IL":Dse,"hr-HR":$se,"hu-HU":Cse,"it-IT":wse,"ja-JP":Rse,"ko-KR":Ase,"lt-LT":Tse,"lv-LV":kse,"nb-NO":Pse,"nl-NL":Mse,"pl-PL":Fse,"pt-BR":Nse,"pt-PT":Ise,"ro-RO":Lse,"ru-RU":Bse,"sk-SK":Qse,"sl-SI":zse,"sr-SP":qse,"sv-SE":Vse,"tr-TR":Use,"uk-UA":jse,"zh-CN":Zse,"zh-TW":Hse};function j5e(e){return e&&e.__esModule?e.default:e}function Z5e(e,t){let{getRowText:n=l=>{var o,s,c,d;return(d=(o=(s=t.collection).getTextValue)===null||o===void 0?void 0:o.call(s,l))!==null&&d!==void 0?d:(c=t.collection.getItem(l))===null||c===void 0?void 0:c.textValue}}=e,r=ko(j5e(bN),"@react-aria/grid"),i=t.selectionManager.rawSelection,a=P.useRef(i),u=li(()=>{var l;if(!t.selectionManager.isFocused||i===a.current){a.current=i;return}let o=vj(i,a.current),s=vj(a.current,i),c=t.selectionManager.selectionBehavior==="replace",d=[];if(t.selectionManager.selectedKeys.size===1&&c){let h=t.selectionManager.selectedKeys.keys().next().value;if(h!=null&&t.collection.getItem(h)){let m=n(h);m&&d.push(r.format("selectedItem",{item:m}))}}else if(o.size===1&&s.size===0){let h=o.keys().next().value;if(h!=null){let m=n(h);m&&d.push(r.format("selectedItem",{item:m}))}}else if(s.size===1&&o.size===0){let h=s.keys().next().value;if(h!=null&&t.collection.getItem(h)){let m=n(h);m&&d.push(r.format("deselectedItem",{item:m}))}}t.selectionManager.selectionMode==="multiple"&&(d.length===0||i==="all"||i.size>1||a.current==="all"||((l=a.current)===null||l===void 0?void 0:l.size)>1)&&d.push(i==="all"?r.format("selectedAll"):r.format("selectedCount",{count:i.size})),d.length>0&&M1(d.join(" ")),a.current=i});$J(()=>{if(t.selectionManager.isFocused)u();else{let l=requestAnimationFrame(u);return()=>cancelAnimationFrame(l)}},[i,t.selectionManager.isFocused])}function vj(e,t){let n=new Set;if(e==="all"||t==="all")return n;for(let r of e.keys())t.has(r)||n.add(r);return n}function H5e(e){return e&&e.__esModule?e.default:e}function X5e(e){let t=ko(H5e(bN),"@react-aria/grid"),n=FF(),r=(n==="pointer"||n==="virtual"||n==null)&&typeof window<"u"&&"ontouchstart"in window,i=P.useMemo(()=>{let u=e.selectionManager.selectionMode,l=e.selectionManager.selectionBehavior,o;return r&&(o=t.format("longPressToSelect")),l==="replace"&&u!=="none"&&e.hasItemActions?o:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,r]);return oC(i)}function Y5e(e,t,n){let{isVirtualized:r,keyboardDelegate:i,layoutDelegate:a,onAction:u,disallowTypeAhead:l,linkBehavior:o="action",keyboardNavigationBehavior:s="arrow",escapeKeyBehavior:c="clearSelection",shouldSelectOnPressUp:d}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:h}=XF({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:n,keyboardDelegate:i,layoutDelegate:a,isVirtualized:r,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:o,disallowTypeAhead:l,autoFocus:e.autoFocus,escapeKeyBehavior:c}),m=hi(e.id);yN.set(t,{id:m,onAction:u,linkBehavior:o,keyboardNavigationBehavior:s,shouldSelectOnPressUp:d});let y=X5e({selectionManager:t.selectionManager,hasItemActions:!!u}),v=bte(n,{isDisabled:t.collection.size!==0}),_=Yt(e,{labelable:!0}),x=Et(_,{role:"grid",id:m,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:v?-1:0}:h,y);return r&&(x["aria-rowcount"]=t.collection.size,x["aria-colcount"]=1),Z5e({},t),{gridProps:x}}const yj={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function G5e(e,t,n){var r,i;let{node:a,isVirtualized:u}=e,{direction:l}=Zi(),{onAction:o,linkBehavior:s,keyboardNavigationBehavior:c,shouldSelectOnPressUp:d}=yN.get(t),h=S0(),m=P.useRef(null),y=()=>{var W;n.current!==null&&(m.current!=null&&a.key!==m.current||!(!((W=n.current)===null||W===void 0)&&W.contains(document.activeElement)))&&tc(n.current)},v={},_=e.hasChildItems,x=t.selectionManager.isLink(a.key);if(a!=null&&"expandedKeys"in t){var E,w;let W=(E=(w=t.collection).getChildren)===null||E===void 0?void 0:E.call(w,a.key);_=_||[...W??[]].length>1,o==null&&!x&&t.selectionManager.selectionMode==="none"&&_&&(o=()=>t.toggleKey(a.key));let G=_?t.expandedKeys.has(a.key):void 0,J=1;if(a.level>0&&(a==null?void 0:a.parentKey)!=null){let te=t.collection.getItem(a.parentKey);if(te){var T,R;J=[...(T=(R=t.collection).getChildren)===null||T===void 0?void 0:T.call(R,te.key)].filter(M=>M.type==="item").length}}else J=[...t.collection].filter(te=>te.level===0&&te.type==="item").length;v={"aria-expanded":G,"aria-level":a.level+1,"aria-posinset":(a==null?void 0:a.index)+1,"aria-setsize":J}}let{itemProps:C,...k}=vC({selectionManager:t.selectionManager,key:a.key,ref:n,isVirtualized:u,shouldSelectOnPressUp:e.shouldSelectOnPressUp||d,onAction:o||!((r=a.props)===null||r===void 0)&&r.onAction?eh((i=a.props)===null||i===void 0?void 0:i.onAction,o?()=>o(a.key):void 0):void 0,focus:y,linkBehavior:s}),F=W=>{if(!W.currentTarget.contains(W.target)||!n.current||!document.activeElement)return;let G=El(n.current);if(G.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===n.current){if(W.key===yj.expand[l]&&t.selectionManager.focusedKey===a.key&&_&&!t.expandedKeys.has(a.key)){t.toggleKey(a.key),W.stopPropagation();return}else if(W.key===yj.collapse[l]&&t.selectionManager.focusedKey===a.key&&_&&t.expandedKeys.has(a.key)){t.toggleKey(a.key),W.stopPropagation();return}}switch(W.key){case"ArrowLeft":if(c==="arrow"){let te=l==="rtl"?G.nextNode():G.previousNode();if(te)W.preventDefault(),W.stopPropagation(),tc(te),Mm(te,{containingElement:c0(n.current)});else if(W.preventDefault(),W.stopPropagation(),l==="rtl")tc(n.current),Mm(n.current,{containingElement:c0(n.current)});else{G.currentNode=n.current;let X=bj(G);X&&(tc(X),Mm(X,{containingElement:c0(n.current)}))}}break;case"ArrowRight":if(c==="arrow"){let te=l==="rtl"?G.previousNode():G.nextNode();if(te)W.preventDefault(),W.stopPropagation(),tc(te),Mm(te,{containingElement:c0(n.current)});else if(W.preventDefault(),W.stopPropagation(),l==="ltr")tc(n.current),Mm(n.current,{containingElement:c0(n.current)});else{G.currentNode=n.current;let X=bj(G);X&&(tc(X),Mm(X,{containingElement:c0(n.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!W.altKey&&n.current.contains(W.target)){var J;W.stopPropagation(),W.preventDefault(),(J=n.current.parentElement)===null||J===void 0||J.dispatchEvent(new KeyboardEvent(W.nativeEvent.type,W.nativeEvent))}break}},z=W=>{if(m.current=a.key,W.target!==n.current){Iv()||t.selectionManager.setFocusedKey(a.key);return}},Z=W=>{if(!(!W.currentTarget.contains(W.target)||!n.current||!document.activeElement))switch(W.key){case"Tab":if(c==="tab"){let G=El(n.current,{tabbable:!0});G.currentNode=document.activeElement,(W.shiftKey?G.previousNode():G.nextNode())&&W.stopPropagation()}}},q=EJ(a.props),j=k.hasAction?q:{},N=Et(C,j,{role:"row",onKeyDownCapture:F,onKeyDown:Z,onFocus:z,"aria-label":a.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(a.key)?t.selectionManager.isSelected(a.key):void 0,"aria-disabled":t.selectionManager.isDisabled(a.key)||void 0,"aria-labelledby":h&&a.textValue?`${gj(t,a.key)} ${h}`:void 0,id:gj(t,a.key)});if(u){let{collection:W}=t,G=[...W];N["aria-rowindex"]=G.find(J=>J.type==="section")?[...W.getKeys()].filter(J=>{var te;return((te=W.getItem(J))===null||te===void 0?void 0:te.type)!=="section"}).findIndex(J=>J===a.key)+1:a.index+1}let V={role:"gridcell","aria-colindex":1};return{rowProps:{...Et(N,v)},gridCellProps:V,descriptionProps:{id:h},...k}}function bj(e){let t=null,n=null;do n=e.lastChild(),n&&(t=n);while(n);return t}const Xse=1,GT=Symbol.for("react-aria-landmark-manager");function K5e(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function Oj(){if(typeof document>"u")return null;let e=document[GT];return e&&e.version>=Xse?e:(document[GT]=new J5e,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[GT])}function W5e(){return cN.useSyncExternalStore(K5e,Oj,Oj)}class J5e{setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:!0}),document.addEventListener("focusin",this.focusinHandler,{capture:!0}),document.addEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:!0}),document.removeEventListener("focusin",this.focusinHandler,{capture:!0}),document.removeEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(t,n){var r,i;(i=this.landmarks.find(a=>a.ref.current===t))===null||i===void 0||(r=i.focus)===null||r===void 0||r.call(i,n)}getLandmarksByRole(t){return new Set(this.landmarks.filter(n=>n.role===t))}getLandmarkByRole(t){return this.landmarks.find(n=>n.role===t)}addLandmark(t){if(this.setupIfNeeded(),this.landmarks.find(i=>i.ref===t.ref)||!t.ref.current)return;if(this.landmarks.filter(i=>i.role==="main").length>1,this.landmarks.length===0){this.landmarks=[t],this.checkLabels(t.role);return}let n=0,r=this.landmarks.length-1;for(;n<=r;){let i=Math.floor((n+r)/2),a=t.ref.current.compareDocumentPosition(this.landmarks[i].ref.current);!!(a&Node.DOCUMENT_POSITION_PRECEDING||a&Node.DOCUMENT_POSITION_CONTAINS)?n=i+1:r=i-1}this.landmarks.splice(n,0,t),this.checkLabels(t.role)}updateLandmark(t){let n=this.landmarks.findIndex(r=>r.ref===t.ref);n>=0&&(this.landmarks[n]={...this.landmarks[n],...t},this.checkLabels(this.landmarks[n].role))}removeLandmark(t){this.landmarks=this.landmarks.filter(n=>n.ref!==t),this.teardownIfNeeded()}checkLabels(t){let n=this.getLandmarksByRole(t);n.size>1&&[...n].filter(r=>!r.label)}closestLandmark(t){let n=new Map(this.landmarks.map(i=>[i.ref.current,i])),r=t;for(;r&&!n.has(r)&&r!==document.body&&r.parentElement;)r=r.parentElement;return n.get(r)}getNextLandmark(t,{backward:n}){var r;let i=this.closestLandmark(t),a=n?this.landmarks.length-1:0;i&&(a=this.landmarks.indexOf(i)+(n?-1:1));let u=()=>{if(a<0){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;a=this.landmarks.length-1}else if(a>=this.landmarks.length){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;a=0}return a<0||a>=this.landmarks.length};if(u())return;let l=a;for(;!((r=this.landmarks[a].ref.current)===null||r===void 0)&&r.closest("[aria-hidden=true]");){if(a+=n?-1:1,u())return;if(a===l)break}return this.landmarks[a]}f6Handler(t){t.key==="F6"&&(t.altKey?this.focusMain():this.navigate(t.target,t.shiftKey))&&(t.preventDefault(),t.stopPropagation())}focusMain(){let t=this.getLandmarkByRole("main");return t&&t.ref.current&&document.contains(t.ref.current)?(this.focusLandmark(t.ref.current,"forward"),!0):!1}navigate(t,n){let r=this.getNextLandmark(t,{backward:n});if(!r)return!1;if(r.lastFocused){let i=r.lastFocused;if(document.body.contains(i))return i.focus(),!0}return r.ref.current&&document.contains(r.ref.current)?(this.focusLandmark(r.ref.current,n?"backward":"forward"),!0):!1}focusinHandler(t){let n=this.closestLandmark(t.target);n&&n.ref.current!==t.target&&this.updateLandmark({ref:n.ref,lastFocused:t.target});let r=t.relatedTarget;if(r){let i=this.closestLandmark(r);i&&i.ref.current===r&&i.blur()}}focusoutHandler(t){let n=t.target,r=t.relatedTarget;if(!r||r===document){let i=this.closestLandmark(n);i&&i.ref.current===n&&i.blur()}}createLandmarkController(){let t=this;return t.refCount++,t.setupIfNeeded(),{navigate(n,r){let i=(r==null?void 0:r.from)||document.activeElement;return t.navigate(i,n==="backward")},focusNext(n){let r=(n==null?void 0:n.from)||document.activeElement;return t.navigate(r,!1)},focusPrevious(n){let r=(n==null?void 0:n.from)||document.activeElement;return t.navigate(r,!0)},focusMain(){return t.focusMain()},dispose(){t&&(t.refCount--,t.teardownIfNeeded(),t=null)}}}registerLandmark(t){return this.landmarks.find(n=>n.ref===t.ref)?this.updateLandmark(t):this.addLandmark(t),()=>this.removeLandmark(t.ref)}constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=Xse,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}}function ewe(e,t){const{role:n,"aria-label":r,"aria-labelledby":i,focus:a}=e;let u=W5e(),l=r||i,[o,s]=P.useState(!1),c=P.useCallback(()=>{s(!0)},[s]),d=P.useCallback(()=>{s(!1)},[s]);return Qr(()=>{if(u)return u.registerLandmark({ref:t,label:l,role:n,focus:a||c,blur:d})},[u,l,t,n,a,c,d]),P.useEffect(()=>{var h;o&&((h=t.current)===null||h===void 0||h.focus())},[o,t]),{landmarkProps:{role:n,tabIndex:o?-1:void 0,"aria-label":r,"aria-labelledby":i}}}function twe(e){let{value:t=0,minValue:n=0,maxValue:r=100,valueLabel:i,isIndeterminate:a,formatOptions:u={style:"percent"}}=e,l=Yt(e,{labelable:!0}),{labelProps:o,fieldProps:s}=GS({...e,labelElementType:"span"});t=eo(t,n,r);let c=(t-n)/(r-n),d=lD(u);if(!a&&!i){let h=u.style==="percent"?c:t;i=d.format(h)}return{progressBarProps:Et(l,{...s,"aria-valuenow":a?void 0:t,"aria-valuemin":n,"aria-valuemax":r,"aria-valuetext":a?void 0:i,role:"progressbar"}),labelProps:o}}const Yse=new WeakMap;function nwe(e,t,n){let{value:r,children:i,"aria-label":a,"aria-labelledby":u,onPressStart:l,onPressEnd:o,onPressChange:s,onPress:c,onPressUp:d,onClick:h}=e;const m=e.isDisabled||t.isDisabled;let y=t.selectedValue===r,v=N=>{N.stopPropagation(),t.setSelectedValue(r)},{pressProps:_,isPressed:x}=rp({onPressStart:l,onPressEnd:o,onPressChange:s,onPress:c,onPressUp:d,onClick:h,isDisabled:m}),{pressProps:E,isPressed:w}=rp({onPressStart:l,onPressEnd:o,onPressChange:s,onPressUp:d,onClick:h,isDisabled:m,onPress(N){var V;c==null||c(N),t.setSelectedValue(r),(V=n.current)===null||V===void 0||V.focus()}}),{focusableProps:T}=T0(Et(e,{onFocus:()=>t.setLastFocusedValue(r)}),n),R=Et(_,T),C=Yt(e,{labelable:!0}),k=-1;t.selectedValue!=null?t.selectedValue===r&&(k=0):(t.lastFocusedValue===r||t.lastFocusedValue==null)&&(k=0),m&&(k=void 0);let{name:F,form:z,descriptionId:Z,errorMessageId:q,validationBehavior:j}=Yse.get(t);return ny(n,t.defaultSelectedValue,t.setSelectedValue),WS({validationBehavior:j},t,n),{labelProps:Et(E,P.useMemo(()=>({onClick:N=>N.preventDefault(),onMouseDown:N=>N.preventDefault()}),[])),inputProps:Et(C,{...R,type:"radio",name:F,form:z,tabIndex:k,disabled:m,required:t.isRequired&&j==="native",checked:y,value:r,onChange:v,"aria-describedby":[e["aria-describedby"],t.isInvalid?q:null,Z].filter(Boolean).join(" ")||void 0}),isDisabled:m,isSelected:y,isPressed:x||w}}function rwe(e,t){let{name:n,form:r,isReadOnly:i,isRequired:a,isDisabled:u,orientation:l="vertical",validationBehavior:o="aria"}=e,{direction:s}=Zi(),{isInvalid:c,validationErrors:d,validationDetails:h}=t.displayValidation,{labelProps:m,fieldProps:y,descriptionProps:v,errorMessageProps:_}=KS({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||d}),x=Yt(e,{labelable:!0}),{focusWithinProps:E}=k0({onBlurWithin(R){var C;(C=e.onBlur)===null||C===void 0||C.call(e,R),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),w=R=>{let C;switch(R.key){case"ArrowRight":s==="rtl"&&l!=="vertical"?C="prev":C="next";break;case"ArrowLeft":s==="rtl"&&l!=="vertical"?C="next":C="prev";break;case"ArrowDown":C="next";break;case"ArrowUp":C="prev";break;default:return}R.preventDefault();let k=El(R.currentTarget,{from:R.target,accept:z=>z instanceof ef(z).HTMLInputElement&&z.type==="radio"}),F;C==="next"?(F=k.nextNode(),F||(k.currentNode=R.currentTarget,F=k.firstChild())):(F=k.previousNode(),F||(k.currentNode=R.currentTarget,F=k.lastChild())),F&&(F.focus(),t.setSelectedValue(F.value))},T=hi(n);return Yse.set(t,{name:T,form:r,descriptionId:v.id,errorMessageId:_.id,validationBehavior:o}),{radioGroupProps:Et(x,{role:"radiogroup",onKeyDown:w,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":i||void 0,"aria-required":a||void 0,"aria-disabled":u||void 0,"aria-orientation":l,...y,...E}),labelProps:m,descriptionProps:v,errorMessageProps:_,isInvalid:c,validationErrors:d,validationDetails:h}}const ON=new WeakMap;function iwe(e,t,n){let{keyboardDelegate:r,isDisabled:i,isRequired:a,name:u,form:l,validationBehavior:o="aria"}=e,s=gC({usage:"search",sensitivity:"base"}),c=P.useMemo(()=>r||new ZS(t.collection,t.disabledKeys,n,s),[r,t.collection,t.disabledKeys,s,n]),{menuTriggerProps:d,menuProps:h}=ZF({isDisabled:i,type:"listbox"},t,n),m=z=>{if(t.selectionManager.selectionMode!=="multiple")switch(z.key){case"ArrowLeft":{var Z,q;z.preventDefault();let V=t.selectedKey!=null?(Z=c.getKeyAbove)===null||Z===void 0?void 0:Z.call(c,t.selectedKey):(q=c.getFirstKey)===null||q===void 0?void 0:q.call(c);V&&t.setSelectedKey(V);break}case"ArrowRight":{var j,N;z.preventDefault();let V=t.selectedKey!=null?(j=c.getKeyBelow)===null||j===void 0?void 0:j.call(c,t.selectedKey):(N=c.getFirstKey)===null||N===void 0?void 0:N.call(c);V&&t.setSelectedKey(V);break}}},{typeSelectProps:y}=sne({keyboardDelegate:c,selectionManager:t.selectionManager,onTypeSelect(z){t.setSelectedKey(z)}}),{isInvalid:v,validationErrors:_,validationDetails:x}=t.displayValidation,{labelProps:E,fieldProps:w,descriptionProps:T,errorMessageProps:R}=KS({...e,labelElementType:"span",isInvalid:v,errorMessage:e.errorMessage||_});y.onKeyDown=y.onKeyDownCapture,delete y.onKeyDownCapture,t.selectionManager.selectionMode==="multiple"&&(y={});let C=Yt(e,{labelable:!0}),k=Et(y,d,w),F=hi();return ON.set(t,{isDisabled:i,isRequired:a,name:u,form:l,validationBehavior:o}),{labelProps:{...E,onClick:()=>{if(!e.isDisabled){var z;(z=n.current)===null||z===void 0||z.focus(),MF("keyboard")}}},triggerProps:Et(C,{...k,isDisabled:i,onKeyDown:eh(k.onKeyDown,m,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[F,k["aria-labelledby"],k["aria-label"]&&!k["aria-labelledby"]?k.id:null].filter(Boolean).join(" "),onFocus(z){t.isFocused||(e.onFocus&&e.onFocus(z),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(z){t.isOpen||(e.onBlur&&e.onBlur(z),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:F},menuProps:{...h,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:z=>{z.currentTarget.contains(z.relatedTarget)||(e.onBlur&&e.onBlur(z),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[w["aria-labelledby"],k["aria-label"]&&!w["aria-labelledby"]?k.id:null].filter(Boolean).join(" ")},descriptionProps:T,errorMessageProps:R,isInvalid:v,validationErrors:_,validationDetails:x,hiddenSelectProps:{isDisabled:i,name:u,label:e.label,state:t,triggerRef:n,form:l}}}function awe(e,t,n){let r=ON.get(t)||{},{autoComplete:i,name:a=r.name,form:u=r.form,isDisabled:l=r.isDisabled}=e,{validationBehavior:o,isRequired:s}=r,{visuallyHiddenProps:c}=UF({style:{position:"fixed",top:0,left:0}});ny(e.selectRef,t.defaultValue,t.setValue),WS({validationBehavior:o,focus:()=>{var y;return(y=n.current)===null||y===void 0?void 0:y.focus()}},t,e.selectRef);let d=t.setValue,h=P.useCallback(y=>{y.target.multiple?d(Array.from(y.target.selectedOptions,v=>v.value)):d(y.currentTarget.value)},[d]);var m;return{containerProps:{...c,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:i,disabled:l,multiple:t.selectionManager.selectionMode==="multiple",required:o==="native"&&s,name:a,form:u,value:(m=t.value)!==null&&m!==void 0?m:"",onChange:h,onInput:h}}}function uwe(e){let{state:t,triggerRef:n,label:r,name:i,form:a,isDisabled:u}=e,l=P.useRef(null),o=P.useRef(null),{containerProps:s,selectProps:c}=awe({...e,selectRef:t.collection.size<=300?l:o},t,n);if(t.collection.size<=300)return ve.createElement("div",{...s,"data-testid":"hidden-select-container"},ve.createElement("label",null,r,ve.createElement("select",{...c,ref:l},ve.createElement("option",null),[...t.collection.getKeys()].map(d=>{let h=t.collection.getItem(d);if(h&&h.type==="item")return ve.createElement("option",{key:h.key,value:h.key},h.textValue)}))));if(i){let d=ON.get(t)||{},{validationBehavior:h}=d,m=Array.isArray(t.value)?t.value:[t.value];m.length===0&&(m=[null]);let y=m.map((v,_)=>{let x={type:"hidden",autoComplete:c.autoComplete,name:i,form:a,disabled:u,value:v??""};return h==="native"?ve.createElement("input",{key:_,...x,ref:_===0?o:null,style:{display:"none"},type:"text",required:_===0?c.required:!1,onChange:()=>{}}):ve.createElement("input",{key:_,...x,ref:_===0?o:null})});return ve.createElement(ve.Fragment,null,y)}return null}function lwe(e){let t=Yt(e,{labelable:!0}),n;return e.orientation==="vertical"&&(n="vertical"),e.elementType!=="hr"?{separatorProps:{...t,role:"separator","aria-orientation":n}}:{separatorProps:t}}function owe(e,t,n){let{labelProps:r,inputProps:i,isSelected:a,isPressed:u,isDisabled:l,isReadOnly:o}=Yae(e,t,n);return{labelProps:r,inputProps:{...i,role:"switch",checked:a},isSelected:a,isPressed:u,isDisabled:l,isReadOnly:o}}const Gse=new WeakMap;function SD(e,t,n){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${Gse.get(e)}-${n}-${t}`):""}function swe(e,t,n){let{key:r,isDisabled:i,shouldSelectOnPressUp:a}=e,{selectionManager:u,selectedKey:l}=t,o=r===l,s=i||t.isDisabled||t.selectionManager.isDisabled(r),{itemProps:c,isPressed:d}=vC({selectionManager:u,key:r,ref:n,isDisabled:s,shouldSelectOnPressUp:a,linkBehavior:"selection"}),h=SD(t,r,"tab"),m=SD(t,r,"tabpanel"),{tabIndex:y}=c,v=t.collection.getItem(r),_=Yt(v==null?void 0:v.props,{labelable:!0});delete _.id;let x=bF(v==null?void 0:v.props),{focusableProps:E}=T0({isDisabled:s},n);return{tabProps:Et(_,E,x,c,{id:h,"aria-selected":o,"aria-disabled":s||void 0,"aria-controls":o?m:void 0,tabIndex:s?void 0:y,role:"tab"}),isSelected:o,isDisabled:s,isPressed:d}}function cwe(e,t,n){let r=bte(n)?void 0:0;var i;const a=SD(t,(i=e.id)!==null&&i!==void 0?i:t==null?void 0:t.selectedKey,"tabpanel"),u=Fv({...e,id:a,"aria-labelledby":SD(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:Et(u,{tabIndex:r,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class fwe{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){var n,r;return this.disabledKeys.has(t)||!!(!((r=this.collection.getItem(t))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.isDisabled)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(t)}getNextKey(t){let n=t;do n=this.collection.getKeyAfter(n),n==null&&(n=this.collection.getFirstKey());while(n!=null&&this.isDisabled(n));return n}getPreviousKey(t){let n=t;do n=this.collection.getKeyBefore(n),n==null&&(n=this.collection.getLastKey());while(n!=null&&this.isDisabled(n));return n}constructor(t,n,r,i=new Set){this.collection=t,this.flipDirection=n==="rtl"&&r==="horizontal",this.disabledKeys=i,this.tabDirection=r==="horizontal"}}function dwe(e,t,n){let{orientation:r="horizontal",keyboardActivation:i="automatic"}=e,{collection:a,selectionManager:u,disabledKeys:l}=t,{direction:o}=Zi(),s=P.useMemo(()=>new fwe(a,o,r,l),[a,l,r,o]),{collectionProps:c}=HF({ref:n,selectionManager:u,keyboardDelegate:s,selectOnFocus:i==="automatic",disallowEmptySelection:!0,scrollRef:n,linkBehavior:"selection"}),d=hi();Gse.set(t,d);let h=Fv({...e,id:d});return{tabListProps:{...Et(c,h),role:"tablist","aria-orientation":r,tabIndex:void 0}}}const Kse=new WeakMap;function hwe(e,t,n){let{direction:r}=Zi(),i=e.keyboardDelegate||new ZS({collection:t.collection,ref:n,orientation:"horizontal",direction:r,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:a,fieldProps:u,descriptionProps:l,errorMessageProps:o}=KS({...e,labelElementType:"span"}),{gridProps:s}=Y5e({...e,...u,keyboardDelegate:i,shouldFocusWrap:!0,linkBehavior:"override",keyboardNavigationBehavior:"tab"},t,n),[c,d]=P.useState(!1),{focusWithinProps:h}=k0({onFocusWithinChange:d}),m=Yt(e),y=P.useRef(t.collection.size);return P.useEffect(()=>{n.current&&y.current>0&&t.collection.size===0&&c&&n.current.focus(),y.current=t.collection.size},[t.collection.size,c,n]),Kse.set(t,{onRemove:e.onRemove}),{gridProps:Et(s,m,{role:t.collection.size?"grid":"group","aria-atomic":!1,"aria-relevant":"additions","aria-live":c?"polite":"off",...h,...u}),labelProps:a,descriptionProps:l,errorMessageProps:o}}var Wse={};Wse={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var Jse={};Jse={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var ece={};ece={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var tce={};tce={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var nce={};nce={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var rce={};rce={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var ice={};ice={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var ace={};ace={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var uce={};uce={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var lce={};lce={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var oce={};oce={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var sce={};sce={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var cce={};cce={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var fce={};fce={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var dce={};dce={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var hce={};hce={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var pce={};pce={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var mce={};mce={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var gce={};gce={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var vce={};vce={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var yce={};yce={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var bce={};bce={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var Oce={};Oce={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var Sce={};Sce={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var xce={};xce={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var _ce={};_ce={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var Ece={};Ece={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var Dce={};Dce={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var $ce={};$ce={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var Cce={};Cce={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var wce={};wce={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var Rce={};Rce={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var Ace={};Ace={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var Tce={};Tce={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var kce={};kce={"ar-AE":Wse,"bg-BG":Jse,"cs-CZ":ece,"da-DK":tce,"de-DE":nce,"el-GR":rce,"en-US":ice,"es-ES":ace,"et-EE":uce,"fi-FI":lce,"fr-FR":oce,"he-IL":sce,"hr-HR":cce,"hu-HU":fce,"it-IT":dce,"ja-JP":hce,"ko-KR":pce,"lt-LT":mce,"lv-LV":gce,"nb-NO":vce,"nl-NL":yce,"pl-PL":bce,"pt-BR":Oce,"pt-PT":Sce,"ro-RO":xce,"ru-RU":_ce,"sk-SK":Ece,"sl-SI":Dce,"sr-SP":$ce,"sv-SE":Cce,"tr-TR":wce,"uk-UA":Rce,"zh-CN":Ace,"zh-TW":Tce};function pwe(e){return e&&e.__esModule?e.default:e}function mwe(e,t,n){let{item:r}=e,i=ko(pwe(kce),"@react-aria/tag"),a=hi(),{onRemove:u}=Kse.get(t)||{},{rowProps:l,gridCellProps:o,...s}=G5e({node:r},t,n),{descriptionProps:c,...d}=s,h=t.disabledKeys.has(r.key)||r.props.isDisabled,m=k=>{if(k.key==="Delete"||k.key==="Backspace"){if(h)return;k.preventDefault(),t.selectionManager.isSelected(r.key)?u==null||u(new Set(t.selectionManager.selectedKeys)):u==null||u(new Set([r.key]))}},y=FF();y==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(y="pointer");let v=u&&(y==="keyboard"||y==="virtual")?i.format("removeDescription"):"",_=oC(v),x=r.key===t.selectionManager.focusedKey,E=t.selectionManager.focusedKey!=null,w=-1;!h&&(x||!E)&&(w=0);let T=Yt(r.props),R=EJ(r.props),{focusableProps:C}=T0({isDisabled:h},n);return{removeButtonProps:{"aria-label":i.format("removeButtonLabel"),"aria-labelledby":`${a} ${l.id}`,isDisabled:h,id:a,onPress:()=>u?u(new Set([r.key])):null},rowProps:Et(C,l,T,R,{tabIndex:w,onKeyDown:u?m:void 0,"aria-describedby":_["aria-describedby"]}),gridCellProps:Et(o,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...d,allowsRemoving:!!u}}var Pce={};Pce={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var Mce={};Mce={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var Fce={};Fce={close:"Zavřít",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámení`,other:()=>`${t.number(e.count)} oznámení`})}.`};var Nce={};Nce={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var Ice={};Ice={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var Lce={};Lce={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var Bce={};Bce={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var Qce={};Qce={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var zce={};zce={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var qce={};qce={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var Vce={};Vce={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var Uce={};Uce={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var jce={};jce={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var Zce={};Zce={close:"Bezárás",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} értesítés`,other:()=>`${t.number(e.count)} értesítés`})}.`};var Hce={};Hce={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var Xce={};Xce={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var Yce={};Yce={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var Gce={};Gce={close:"Uždaryti",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pranešimas`,other:()=>`${t.number(e.count)} pranešimai`})}.`};var Kce={};Kce={close:"Aizvērt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} paziņojums`,other:()=>`${t.number(e.count)} paziņojumi`})}.`};var Wce={};Wce={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var Jce={};Jce={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var efe={};efe={close:"Zamknij",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomień`,other:()=>`${t.number(e.count)} powiadomienia`})}.`};var tfe={};tfe={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var nfe={};nfe={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var rfe={};rfe={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var ife={};ife={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var afe={};afe={close:"Zatvoriť",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámenie`,few:()=>`${t.number(e.count)} oznámenia`,other:()=>`${t.number(e.count)} oznámení`})}.`};var ufe={};ufe={close:"Zapri",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`};var lfe={};lfe={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var ofe={};ofe={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var sfe={};sfe={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var cfe={};cfe={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var ffe={};ffe={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var dfe={};dfe={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var SN={};SN={"ar-AE":Pce,"bg-BG":Mce,"cs-CZ":Fce,"da-DK":Nce,"de-DE":Ice,"el-GR":Lce,"en-US":Bce,"es-ES":Qce,"et-EE":zce,"fi-FI":qce,"fr-FR":Vce,"he-IL":Uce,"hr-HR":jce,"hu-HU":Zce,"it-IT":Hce,"ja-JP":Xce,"ko-KR":Yce,"lt-LT":Gce,"lv-LV":Kce,"nb-NO":Wce,"nl-NL":Jce,"pl-PL":efe,"pt-BR":tfe,"pt-PT":nfe,"ro-RO":rfe,"ru-RU":ife,"sk-SK":afe,"sl-SI":ufe,"sr-SP":lfe,"sv-SE":ofe,"tr-TR":sfe,"uk-UA":cfe,"zh-CN":ffe,"zh-TW":dfe};function gwe(e){return e&&e.__esModule?e.default:e}function vwe(e,t,n){let{key:r,timer:i,timeout:a}=e.toast;P.useEffect(()=>{if(!(i==null||a==null))return i.reset(a),()=>{i.pause()}},[i,a]);let u=hi(),l=S0(),o=ko(gwe(SN),"@react-aria/toast"),[s,c]=P.useState(!1);return P.useEffect(()=>{c(!0)},[]),{toastProps:{...Yt(e,{labelable:!0}),role:"alertdialog","aria-modal":"false","aria-labelledby":e["aria-labelledby"]||u,"aria-describedby":e["aria-describedby"]||l,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":s?void 0:"true"},titleProps:{id:u},descriptionProps:{id:l},closeButtonProps:{"aria-label":o.format("close"),onPress:()=>t.close(r)}}}function ywe(e){return e&&e.__esModule?e.default:e}function bwe(e,t,n){let r=ko(ywe(SN),"@react-aria/toast"),{landmarkProps:i}=ewe({role:"region","aria-label":e["aria-label"]||r.format("notifications",{count:t.visibleToasts.length})},n),a=P.useRef(!1),u=P.useRef(!1),l=li(()=>{a.current||u.current?t.pauseAll():t.resumeAll()}),{hoverProps:o}=Eu({onHoverStart:()=>{a.current=!0,l()},onHoverEnd:()=>{a.current=!1,l()}}),s=P.useRef([]),c=P.useRef(t.visibleToasts),d=P.useRef(null);Qr(()=>{if(d.current===-1||t.visibleToasts.length===0||!n.current){s.current=[],c.current=t.visibleToasts;return}if(s.current=[...n.current.querySelectorAll('[role="alertdialog"]')],c.current.length===t.visibleToasts.length&&t.visibleToasts.every((x,E)=>x.key===c.current[E].key)){c.current=t.visibleToasts;return}let y=c.current.map((x,E)=>({...x,i:E,isRemoved:!t.visibleToasts.some(w=>x.key===w.key)})),v=y.findIndex(x=>x.i===d.current&&x.isRemoved);if(v>-1){var _;if(Xm()==="pointer"&&(!((_=h.current)===null||_===void 0)&&_.isConnected))Ou(h.current);else{let x=0,E,w;for(;x<=v;)y[x].isRemoved||(w=Math.max(0,x-1)),x++;for(;x<y.length;){if(!y[x].isRemoved){E=x-1;break}x++}w===void 0&&E===void 0&&(w=0),w>=0&&w<s.current.length?Ou(s.current[w]):E>=0&&E<s.current.length&&Ou(s.current[E])}}c.current=t.visibleToasts},[t.visibleToasts,n,l]);let h=P.useRef(null),{focusWithinProps:m}=k0({onFocusWithin:y=>{u.current=!0,h.current=y.relatedTarget,l()},onBlurWithin:()=>{u.current=!1,h.current=null,l()}});return P.useEffect(()=>{var y;t.visibleToasts.length===0&&(!((y=h.current)===null||y===void 0)&&y.isConnected)&&(Xm()==="pointer"?Ou(h.current):h.current.focus(),h.current=null)},[n,t.visibleToasts.length]),P.useEffect(()=>()=>{var y;!((y=h.current)===null||y===void 0)&&y.isConnected&&(Xm()==="pointer"?Ou(h.current):h.current.focus(),h.current=null)},[n]),{regionProps:Et(i,o,m,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:y=>{let v=y.target.closest('[role="alertdialog"]');d.current=s.current.findIndex(_=>_===v)},onBlur:()=>{d.current=-1}})}}function Owe(e,t){let n=Yt(e,{labelable:!0}),{hoverProps:r}=Eu({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:Et(n,r,{role:"tooltip"})}}function Swe(e,t,n){let{isDisabled:r,trigger:i}=e,a=hi(),u=P.useRef(!1),l=P.useRef(!1),o=()=>{(u.current||l.current)&&t.open(l.current)},s=x=>{!u.current&&!l.current&&t.close(x)};P.useEffect(()=>{let x=E=>{n&&n.current&&E.key==="Escape"&&(E.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",x,!0),()=>{document.removeEventListener("keydown",x,!0)}},[n,t]);let c=()=>{i!=="focus"&&(Xm()==="pointer"?u.current=!0:u.current=!1,o())},d=()=>{i!=="focus"&&(l.current=!1,u.current=!1,s())},h=()=>{l.current=!1,u.current=!1,s(!0)},m=()=>{Iv()&&(l.current=!0,o())},y=()=>{l.current=!1,u.current=!1,s(!0)},{hoverProps:v}=Eu({isDisabled:r,onHoverStart:c,onHoverEnd:d}),{focusableProps:_}=T0({isDisabled:r,onFocus:m,onBlur:y},n);return{triggerProps:{"aria-describedby":t.isOpen?a:void 0,...Et(_,v,{onPointerDown:h,onKeyDown:h}),tabIndex:void 0},tooltipProps:{id:a}}}const xwe=P.createContext(null),m9=P.createContext(null),_nt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,m9);let{CollectionRoot:r}=P.useContext(fp),{navProps:i}=n5e(t),a=Yt(t,{global:!0});return ve.createElement(hb,{content:ve.createElement(JS,t)},u=>{var l;return ve.createElement("ol",{ref:n,...Et(a,i),slot:t.slot||void 0,style:t.style,className:(l=t.className)!==null&&l!==void 0?l:"react-aria-Breadcrumbs"},ve.createElement(m9.Provider,{value:t},ve.createElement(r,{collection:u})))})});class hfe extends ay{}hfe.type="item";const Ent=pb(hfe,function(t,n,r){let i=r.nextKey==null,{isDisabled:a,onAction:u}=hs(m9),l={"aria-current":i?"page":null,isDisabled:a||i,onPress:()=>u==null?void 0:u(r.key)},o=Cn({...r.props,children:r.rendered,values:{isDisabled:a||i,isCurrent:i},defaultClassName:"react-aria-Breadcrumb"}),s=Yt(t,{global:!0});return delete s.id,ve.createElement("li",{...s,...o,ref:n,"data-disabled":a||i||void 0,"data-current":i||void 0},ve.createElement(xwe.Provider,{value:l},o.children))}),ms=P.createContext({}),Dnt=db(function(t,n){[t,n]=Nn(t,n,ms);let{elementType:r="label",...i}=t;return ve.createElement(r,{className:"react-aria-Label",...i,ref:n})}),pfe=P.createContext(null),$nt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,pfe);let{value:r=0,minValue:i=0,maxValue:a=100,isIndeterminate:u=!1}=t;r=eo(r,i,a);let[l,o]=ps(!t["aria-label"]&&!t["aria-labelledby"]),{progressBarProps:s,labelProps:c}=twe({...t,label:o}),d=u?void 0:(r-i)/(a-i)*100,h=Cn({...t,defaultClassName:"react-aria-ProgressBar",values:{percentage:d,valueText:s["aria-valuetext"],isIndeterminate:u}}),m=Yt(t,{global:!0});return ve.createElement("div",{...Et(m,h,s),ref:n,slot:t.slot||void 0},ve.createElement(ms.Provider,{value:{...c,ref:l,elementType:"span"}},h.children))}),th=P.createContext({}),Cnt=db(function(t,n){[t,n]=Nn(t,n,th);let r=t,{isPending:i}=r,{buttonProps:a,isPressed:u}=Zae(t,n);a=_we(a,i);let{focusProps:l,isFocused:o,isFocusVisible:s}=Uu(t),{hoverProps:c,isHovered:d}=Eu({...t,isDisabled:t.isDisabled||i}),h={isHovered:d,isPressed:(r.isPressed||u)&&!i,isFocused:o,isFocusVisible:s,isDisabled:t.isDisabled||!1,isPending:i??!1},m=Cn({...t,values:h,defaultClassName:"react-aria-Button"}),y=hi(a.id),v=hi(),_=a["aria-labelledby"];i&&(_?_=`${_} ${v}`:a["aria-label"]&&(_=`${y} ${v}`));let x=P.useRef(i);P.useEffect(()=>{let w={"aria-labelledby":_||y};(!x.current&&o&&i||x.current&&o&&!i)&&M1(w,"assertive"),x.current=i},[i,o,_,y]);let E=Yt(t,{global:!0});return delete E.onClick,ve.createElement("button",{...Et(E,m,a,l,c),type:a.type==="submit"&&i?"button":a.type,id:y,ref:n,"aria-labelledby":_,slot:t.slot||void 0,"aria-disabled":i?"true":a["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":h.isPressed||void 0,"data-hovered":d||void 0,"data-focused":o||void 0,"data-pending":i||void 0,"data-focus-visible":s||void 0},ve.createElement(pfe.Provider,{value:{id:v}},m.children))});function _we(e,t){if(t){for(const n in e)n.startsWith("on")&&!(n.includes("Focus")||n.includes("Blur"))&&(e[n]=void 0);e.href=void 0,e.target=void 0}return e}const Po=P.createContext({}),Ewe=P.forwardRef(function(t,n){[t,n]=Nn(t,n,Po);let{elementType:r="span",...i}=t;return ve.createElement(r,{className:"react-aria-Text",...i,ref:n})});class g9{*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let n=this.keyMap.get(t);var r;return n&&(r=n.prevKey)!==null&&r!==void 0?r:null}getKeyAfter(t){let n=this.keyMap.get(t);var r;return n&&(r=n.nextKey)!==null&&r!==void 0?r:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var n;return(n=this.keyMap.get(t))!==null&&n!==void 0?n:null}at(t){const n=[...this.getKeys()];return this.getItem(n[t])}getChildren(t){let n=this.keyMap.get(t);return(n==null?void 0:n.childNodes)||[]}constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let n=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&l.type==="section")for(let o of l.childNodes)n(o)};for(let l of t)n(l);let r=null,i=0,a=0;for(let[l,o]of this.keyMap)r?(r.nextKey=l,o.prevKey=r.key):(this.firstKey=l,o.prevKey=void 0),o.type==="item"&&(o.index=i++),(o.type==="section"||o.type==="item")&&a++,r=o,r.nextKey=void 0;this._size=a;var u;this.lastKey=(u=r==null?void 0:r.key)!==null&&u!==void 0?u:null}}function RC(e){let{filter:t,layoutDelegate:n}=e,r=KF(e),i=P.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=P.useCallback(s=>t?new g9(t(s)):new g9(s),[t]),u=P.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=cne(e,a,u),o=P.useMemo(()=>new HS(l,r,{layoutDelegate:n}),[l,r,n]);return gfe(l,o),{collection:l,disabledKeys:i,selectionManager:o}}function mfe(e,t){let n=P.useMemo(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),r=e.selectionManager.withCollection(n);return gfe(n,r),{collection:n,selectionManager:r,disabledKeys:e.disabledKeys}}function gfe(e,t){const n=P.useRef(null);P.useEffect(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&n.current){const c=n.current.getItem(t.focusedKey),d=[...n.current.getKeys()].map(x=>{const E=n.current.getItem(x);return(E==null?void 0:E.type)==="item"?E:null}).filter(x=>x!==null),h=[...e.getKeys()].map(x=>{const E=e.getItem(x);return(E==null?void 0:E.type)==="item"?E:null}).filter(x=>x!==null);var r,i;const m=((r=d==null?void 0:d.length)!==null&&r!==void 0?r:0)-((i=h==null?void 0:h.length)!==null&&i!==void 0?i:0);var a,u,l;let y=Math.min(m>1?Math.max(((a=c==null?void 0:c.index)!==null&&a!==void 0?a:0)-m+1,0):(u=c==null?void 0:c.index)!==null&&u!==void 0?u:0,((l=h==null?void 0:h.length)!==null&&l!==void 0?l:0)-1),v=null,_=!1;for(;y>=0;){if(!t.isDisabled(h[y].key)){v=h[y];break}if(y<h.length-1&&!_)y++;else{_=!0;var o,s;y>((o=c==null?void 0:c.index)!==null&&o!==void 0?o:0)&&(y=(s=c==null?void 0:c.index)!==null&&s!==void 0?s:0),y--}}t.setFocusedKey(v?v.key:null)}n.current=e},[e,t])}function vfe(e){var t;let[n,r]=Vu(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),i=P.useMemo(()=>n!=null?[n]:[],[n]),{collection:a,disabledKeys:u,selectionManager:l}=RC({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:i,onSelectionChange:s=>{if(s==="all")return;var c;let d=(c=s.values().next().value)!==null&&c!==void 0?c:null;d===n&&e.onSelectionChange&&e.onSelectionChange(d),r(d)}}),o=n!=null?a.getItem(n):null;return{collection:a,disabledKeys:u,selectionManager:l,selectedKey:n,setSelectedKey:r,selectedItem:o}}function Dwe(e){var t;let{defaultFilter:n,menuTrigger:r="input",allowsEmptyCollection:i=!1,allowsCustomValue:a,shouldCloseOnBlur:u=!0}=e,[l,o]=P.useState(!1),[s,c]=P.useState(!1),[d,h]=P.useState(null),m=$e=>{e.onSelectionChange&&e.onSelectionChange($e),$e===x&&(B(),M())};var y;let{collection:v,selectionManager:_,selectedKey:x,setSelectedKey:E,selectedItem:w,disabledKeys:T}=vfe({...e,onSelectionChange:m,items:(y=e.items)!==null&&y!==void 0?y:e.defaultItems}),[R,C]=Vu(e.inputValue,Sj(e.defaultInputValue,x,v)||"",e.onInputChange),[k]=P.useState(x),[F]=P.useState(R),z=v,Z=P.useMemo(()=>e.items!=null||!n?v:$we(v,R,n),[v,R,n,e.items]),[q,j]=P.useState(Z),N=P.useRef("focus"),W=P3({...e,onOpenChange:$e=>{e.onOpenChange&&e.onOpenChange($e,$e?N.current:void 0),_.setFocused($e),$e||_.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),G=($e=null,Ae)=>{let Ue=Ae==="manual"||Ae==="focus"&&r==="focus";(i||Z.size>0||Ue&&z.size>0||e.items)&&(Ue&&!W.isOpen&&e.items===void 0&&o(!0),N.current=Ae,h($e),W.open())},J=($e=null,Ae)=>{let Ue=Ae==="manual"||Ae==="focus"&&r==="focus";!(i||Z.size>0||Ue&&z.size>0||e.items)&&!W.isOpen||(Ue&&!W.isOpen&&e.items===void 0&&o(!0),W.isOpen||(N.current=Ae),X($e))},te=P.useCallback(()=>{j(l?z:Z)},[l,z,Z]),X=P.useCallback(($e=null)=>{W.isOpen&&te(),h($e),W.toggle()},[W,te]),M=P.useCallback(()=>{W.isOpen&&(te(),W.close())},[W,te]),[K,Y]=P.useState(R),B=()=>{var $e,Ae;let Ue=x!=null&&(Ae=($e=v.getItem(x))===null||$e===void 0?void 0:$e.textValue)!==null&&Ae!==void 0?Ae:"";Y(Ue),C(Ue)};var ne,oe;let ae=P.useRef((oe=(ne=e.selectedKey)!==null&&ne!==void 0?ne:e.defaultSelectedKey)!==null&&oe!==void 0?oe:null);var de;let be=P.useRef(x!=null&&(de=(t=v.getItem(x))===null||t===void 0?void 0:t.textValue)!==null&&de!==void 0?de:"");P.useEffect(()=>{var $e;s&&(Z.size>0||i)&&!W.isOpen&&R!==K&&r!=="manual"&&G(null,"input"),!l&&!i&&W.isOpen&&Z.size===0&&M(),x!=null&&x!==ae.current&&M(),R!==K&&(_.setFocusedKey(null),o(!1),R===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&E(null)),x!==ae.current&&(e.inputValue===void 0||e.selectedKey===void 0)?B():K!==R&&Y(R);var Ae;let Ue=x!=null&&(Ae=($e=v.getItem(x))===null||$e===void 0?void 0:$e.textValue)!==null&&Ae!==void 0?Ae:"";!s&&x!=null&&e.inputValue===void 0&&x===ae.current&&be.current!==Ue&&(Y(Ue),C(Ue)),ae.current=x,be.current=Ue});let ye=og({...e,value:P.useMemo(()=>({inputValue:R,selectedKey:x}),[R,x])}),pe=()=>{a&&x==null?_e():se()},_e=()=>{ae.current=null,E(null),M()},se=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var $e,Ae;($e=e.onSelectionChange)===null||$e===void 0||$e.call(e,x);var Ue;let Ze=x!=null&&(Ue=(Ae=v.getItem(x))===null||Ae===void 0?void 0:Ae.textValue)!==null&&Ue!==void 0?Ue:"";Y(Ze),M()}else B(),M()};const me=()=>{if(a){var $e,Ae;const Ue=x!=null&&(Ae=($e=v.getItem(x))===null||$e===void 0?void 0:$e.textValue)!==null&&Ae!==void 0?Ae:"";R===Ue?se():_e()}else se()};let ge=()=>{W.isOpen&&_.focusedKey!=null?x===_.focusedKey?se():E(_.focusedKey):me()},we=P.useRef(R),Ne=$e=>{$e?(we.current=R,r==="focus"&&!e.isReadOnly&&G(null,"focus")):(u&&me(),R!==we.current&&ye.commitValidation()),c($e)},Re=P.useMemo(()=>W.isOpen?l?z:Z:q,[W.isOpen,z,Z,l,q]);var et;let tt=(et=e.defaultSelectedKey)!==null&&et!==void 0?et:k;var Oe;return{...ye,...W,focusStrategy:d,toggle:J,open:G,close:me,selectionManager:_,selectedKey:x,defaultSelectedKey:tt,setSelectedKey:E,disabledKeys:T,isFocused:s,setFocused:Ne,selectedItem:w,collection:Re,inputValue:R,defaultInputValue:(Oe=Sj(e.defaultInputValue,tt,v))!==null&&Oe!==void 0?Oe:F,setInputValue:C,commit:ge,revert:pe}}function $we(e,t,n){return new g9(yfe(e,e,t,n))}function yfe(e,t,n,r){let i=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let u=yfe(e,yC(a,e),n,r);[...u].some(l=>l.type==="item")&&i.push({...a,childNodes:u})}else a.type==="item"&&r(a.textValue,n)?i.push({...a}):a.type!=="item"&&i.push({...a});return i}function Sj(e,t,n){if(e==null){var r,i;if(t!=null)return(i=(r=n.getItem(t))===null||r===void 0?void 0:r.textValue)!==null&&i!==void 0?i:""}return e}var bfe={};bfe={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var Ofe={};Ofe={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var Sfe={};Sfe={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var xfe={};xfe={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var _fe={};_fe={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Startdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var Efe={};Efe={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var Dfe={};Dfe={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var $fe={};$fe={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var Cfe={};Cfe={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var wfe={};wfe={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var Rfe={};Rfe={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var Afe={};Afe={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var Tfe={};Tfe={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var kfe={};kfe={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var Pfe={};Pfe={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var Mfe={};Mfe={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var Ffe={};Ffe={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var Nfe={};Nfe={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var Ife={};Ife={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var Lfe={};Lfe={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var Bfe={};Bfe={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var Qfe={};Qfe={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var zfe={};zfe={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var qfe={};qfe={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var Vfe={};Vfe={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var Ufe={};Ufe={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var jfe={};jfe={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var Zfe={};Zfe={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var Hfe={};Hfe={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var Xfe={};Xfe={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var Yfe={};Yfe={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var Gfe={};Gfe={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var Kfe={};Kfe={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var Wfe={};Wfe={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var Jfe={};Jfe={"ar-AE":bfe,"bg-BG":Ofe,"cs-CZ":Sfe,"da-DK":xfe,"de-DE":_fe,"el-GR":Efe,"en-US":Dfe,"es-ES":$fe,"et-EE":Cfe,"fi-FI":wfe,"fr-FR":Rfe,"he-IL":Afe,"hr-HR":Tfe,"hu-HU":kfe,"it-IT":Pfe,"ja-JP":Mfe,"ko-KR":Ffe,"lt-LT":Nfe,"lv-LV":Ife,"nb-NO":Lfe,"nl-NL":Bfe,"pl-PL":Qfe,"pt-BR":zfe,"pt-PT":qfe,"ro-RO":Vfe,"ru-RU":Ufe,"sk-SK":jfe,"sl-SI":Zfe,"sr-SP":Hfe,"sv-SE":Xfe,"tr-TR":Yfe,"uk-UA":Gfe,"zh-CN":Kfe,"zh-TW":Wfe};function Cwe(e){return e&&e.__esModule?e.default:e}const wwe=new Wh(Cwe(Jfe));function Rwe(){let e=typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return e}function Awe(e,t,n,r,i){let a=e!=null&&n!=null&&e.compare(n)>0,u=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&(r==null?void 0:r(e))||!1,o=a||u||l,s=[];if(o){let c=Rwe(),d=Wh.getGlobalDictionaryForPackage("@react-stately/datepicker")||wwe,h=new _F(c,d),m=new RO(c,CE({},i)),y=m.resolvedOptions().timeZone;u&&t!=null&&s.push(h.format("rangeUnderflow",{minValue:m.format(t.toDate(y))})),a&&n!=null&&s.push(h.format("rangeOverflow",{maxValue:m.format(n.toDate(y))})),l&&s.push(h.format("unavailableDate"))}return{isInvalid:o,validationErrors:s,validationDetails:{badInput:l,customError:!1,patternMismatch:!1,rangeOverflow:a,rangeUnderflow:u,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!o}}}const Twe={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},kwe={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function CE(e,t){e={...t.shouldForceLeadingZeros?kwe:Twe,...e};let r=t.granularity||"minute",i=Object.keys(e);var a;let u=i.indexOf((a=t.maxGranularity)!==null&&a!==void 0?a:"year");u<0&&(u=0);let l=i.indexOf(r);if(l<0&&(l=2),u>l)throw new Error("maxGranularity must be greater than granularity");let o=i.slice(u,l+1).reduce((c,d)=>(c[d]=e[d],c),{});return t.hourCycle!=null&&(o.hour12=t.hourCycle===12),o.timeZone=t.timeZone||"UTC",(r==="hour"||r==="minute"||r==="second")&&t.timeZone&&!t.hideTimeZone&&(o.timeZoneName="short"),t.showEra&&u===0&&(o.era="short"),o}function ede(e,t){if(e===null)return null;if(e)return ac(e,t)}function L4(e,t,n,r){if(e)return ede(e,n);let i=ac(LJ(r??VS()).set({hour:0,minute:0,second:0,millisecond:0}),n);return t==="year"||t==="month"||t==="day"?UJ(i):r?i:Nv(i)}function Pwe(e,t){let n=e&&"timeZone"in e?e.timeZone:void 0,r=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[i,a]=P.useState([r,n]);e&&(i[0]!==r||i[1]!==n)&&a([r,n]),t||(t=e?r:i[0]);let u=e?n:i[1];return[t,u]}const Mwe=new Wh({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:"年",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nb:{year:"åååå",month:"mm",day:"dd"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function Fwe(e,t,n){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?Mwe.getStringForLocale(e,n):"––"}const wE={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},xj={year:5,month:2,day:7,hour:2,minute:15,second:15},tde={dayperiod:"dayPeriod",relatedYear:"year",yearName:"literal",unknown:"literal"};function xN(e){let{locale:t,createCalendar:n,hideTimeZone:r,isDisabled:i=!1,isReadOnly:a=!1,isRequired:u=!1,minValue:l,maxValue:o,isDateUnavailable:s}=e,c=e.value||e.defaultValue||e.placeholderValue||null,[d,h]=Pwe(c,e.granularity),m=h||"UTC";if(c&&!(d in c))throw new Error("Invalid granularity "+d+" for value "+c.toString());let y=P.useMemo(()=>new RO(t),[t]),v=P.useMemo(()=>n(y.resolvedOptions().calendar),[n,y]);var _;let[x,E]=Vu(e.value,(_=e.defaultValue)!==null&&_!==void 0?_:null,e.onChange),[w]=P.useState(x),T=P.useMemo(()=>{var pe;return(pe=ede(x,v))!==null&&pe!==void 0?pe:null},[x,v]),[R,C]=P.useState(()=>L4(e.placeholderValue,d,v,h)),k=T||R,F=v.identifier==="gregory"&&k.era==="BC",z=P.useMemo(()=>{var pe;return{granularity:d,maxGranularity:(pe=e.maxGranularity)!==null&&pe!==void 0?pe:"year",timeZone:h,hideTimeZone:r,hourCycle:e.hourCycle,showEra:F,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,d,e.hourCycle,e.shouldForceLeadingZeros,h,r,F]),Z=P.useMemo(()=>CE({},z),[z]),q=P.useMemo(()=>new RO(t,Z),[t,Z]),j=P.useMemo(()=>q.resolvedOptions(),[q]),N=P.useMemo(()=>q.formatToParts(new Date).filter(pe=>wE[pe.type]).reduce((pe,_e)=>(pe[tde[_e.type]||_e.type]=!0,pe),{}),[q]),[V,W]=P.useState(()=>e.value||e.defaultValue?{...N}:{}),G=P.useRef(null),J=P.useRef(v);P.useEffect(()=>{IJ(v,J.current)||(J.current=v,C(pe=>Object.keys(V).length>0?ac(pe,v):L4(e.placeholderValue,d,v,h)))},[v,d,V,h,e.placeholderValue]),x&&Object.keys(V).length<Object.keys(N).length&&(V={...N},W(V)),x==null&&Object.keys(V).length===Object.keys(N).length&&(V={},W(V),C(L4(e.placeholderValue,d,v,h)));let te=T&&Object.keys(V).length>=Object.keys(N).length?T:R,X=pe=>{if(e.isDisabled||e.isReadOnly)return;let _e=Object.keys(V),se=Object.keys(N);pe==null?(E(null),C(L4(e.placeholderValue,d,v,h)),W({})):_e.length===0&&G.current==null||_e.length>=se.length||_e.length===se.length-1&&N.dayPeriod&&!V.dayPeriod&&G.current!=="dayPeriod"?(_e.length===0&&(V={...N},W(V)),pe=ac(pe,(c==null?void 0:c.calendar)||new jf),E(pe)):C(pe),G.current=null},M=P.useMemo(()=>te.toDate(m),[te,m]),K=P.useMemo(()=>Nwe(M,V,q,j,te,v,t,d),[M,V,q,j,te,v,t,d]);N.era&&V.year&&!V.era?(V.era=!0,W({...V})):!N.era&&V.era&&(delete V.era,W({...V}));let Y=pe=>{V[pe]=!0,pe==="year"&&N.era&&(V.era=!0),W({...V})},B=(pe,_e)=>{if(V[pe])X(Iwe(te,pe,_e,j));else{Y(pe);let se=Object.keys(V),me=Object.keys(N);(se.length>=me.length||se.length===me.length-1&&N.dayPeriod&&!V.dayPeriod)&&X(te)}},ne=P.useMemo(()=>Awe(x,l,o,s,z),[x,l,o,s,z]),oe=og({...e,value:x,builtinValidation:ne}),ae=oe.displayValidation.isInvalid,de=e.validationState||(ae?"invalid":null);var be,ye;return{...oe,value:T,defaultValue:(be=e.defaultValue)!==null&&be!==void 0?be:w,dateValue:M,calendar:v,setValue:X,segments:K,dateFormatter:q,validationState:de,isInvalid:ae,granularity:d,maxGranularity:(ye=e.maxGranularity)!==null&&ye!==void 0?ye:"year",isDisabled:i,isReadOnly:a,isRequired:u,increment(pe){B(pe,1)},decrement(pe){B(pe,-1)},incrementPage(pe){B(pe,xj[pe]||1)},decrementPage(pe){B(pe,-(xj[pe]||1))},setSegment(pe,_e){Y(pe),X(Lwe(te,pe,_e,j))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let pe=Object.keys(V),_e=Object.keys(N);pe.length===_e.length-1&&N.dayPeriod&&!V.dayPeriod&&(V={...N},W(V),X(te.copy()))},clearSegment(pe){delete V[pe],G.current=pe,W({...V});let _e=L4(e.placeholderValue,d,v,h),se=te;if(pe==="dayPeriod"&&"hour"in te&&"hour"in _e){let me=te.hour>=12,ge=_e.hour>=12;me&&!ge?se=te.set({hour:te.hour-12}):!me&&ge&&(se=te.set({hour:te.hour+12}))}else pe==="hour"&&"hour"in te&&te.hour>=12&&V.dayPeriod?se=te.set({hour:_e.hour+12}):pe in te&&(se=te.set({[pe]:_e[pe]}));E(null),X(se)},formatValue(pe){if(!T)return"";let _e=CE(pe,z);return new RO(t,_e).format(M)},getDateFormatter(pe,_e){let se={...z,..._e},me=CE({},se);return new RO(pe,me)}}}function Nwe(e,t,n,r,i,a,u,l){let o=["hour","minute","second"],s=n.formatToParts(e),c=[];for(let d of s){let h=tde[d.type]||d.type,m=wE[h];h==="era"&&a.getEras().length===1&&(m=!1);let y=wE[h]&&!t[h],v=wE[h]?Fwe(h,d.value,u):null,_={type:h,text:y?v:d.value,...A_(i,h,r),isPlaceholder:y,placeholder:v,isEditable:m};h==="hour"?(c.push({type:"literal",text:"⁦",...A_(i,"literal",r),isPlaceholder:!1,placeholder:"",isEditable:!1}),c.push(_),h===l&&c.push({type:"literal",text:"⁩",...A_(i,"literal",r),isPlaceholder:!1,placeholder:"",isEditable:!1})):o.includes(h)&&h===l?(c.push(_),c.push({type:"literal",text:"⁩",...A_(i,"literal",r),isPlaceholder:!1,placeholder:"",isEditable:!1})):c.push(_)}return c}function A_(e,t,n){switch(t){case"era":{let r=e.calendar.getEras();return{value:r.indexOf(e.era),minValue:0,maxValue:r.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:d2e(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:h2e(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(n.hour12){let r=e.hour>=12;return{value:e.hour,minValue:r?12:0,maxValue:r?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function Iwe(e,t,n,r){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,n,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let i=e.hour,a=i>=12;return e.set({hour:a?i-12:i+12})}case"hour":case"minute":case"second":return e.cycle(t,n,{round:t!=="hour",hourCycle:r.hour12?12:24})}throw new Error("Unknown segment: "+t)}function Lwe(e,t,n,r){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:n})}if("hour"in e&&typeof n=="number")switch(t){case"dayPeriod":{let i=e.hour,a=i>=12;return n>=12===a?e:e.set({hour:a?i-12:i+12})}case"hour":if(r.hour12){let a=e.hour>=12;!a&&n===12&&(n=0),a&&n<12&&(n+=12)}case"minute":case"second":return e.set({[t]:n})}throw new Error("Unknown segment: "+t)}function Bwe(e){let{placeholderValue:t=new dC,minValue:n,maxValue:r,defaultValue:i,granularity:a,validate:u}=e,[l,o]=Vu(e.value,i??null,e.onChange),s=l||t,c=s&&"day"in s?s:void 0,d=i&&"timeZone"in i?i.timeZone:void 0,h=P.useMemo(()=>{let T=s&&"timeZone"in s?s.timeZone:void 0;return(T||d)&&t?jJ(cO(t),T||d):cO(t)},[t,s,d]),m=P.useMemo(()=>cO(n,c),[n,c]),y=P.useMemo(()=>cO(r,c),[r,c]),v=P.useMemo(()=>l&&"day"in l?aV(l):l,[l]),_=P.useMemo(()=>l==null?null:cO(l),[l]),x=P.useMemo(()=>i==null?null:cO(i),[i]);return{...xN({...e,value:_,defaultValue:x,minValue:m,maxValue:y,onChange:T=>{o(c||d?T:T&&aV(T))},granularity:a||"minute",maxGranularity:"hour",placeholderValue:h??void 0,createCalendar:()=>new jf,validate:P.useCallback(()=>u==null?void 0:u(l),[u,l])}),timeValue:v}}function cO(e,t=f2e(VS())){return e?"day"in e?e:Nv(t,e):null}function Qwe(e){let[t,n]=Vu(e.isExpanded,e.defaultExpanded||!1,e.onExpandedChange);const r=P.useCallback(()=>{n(!0)},[n]),i=P.useCallback(()=>{n(!1)},[n]),a=P.useCallback(()=>{n(!t)},[n,t]);return{isExpanded:t,setExpanded:n,expand:r,collapse:i,toggle:a}}function zwe(e){let{allowsMultipleExpanded:t=!1,isDisabled:n=!1}=e,[r,i]=Vu(P.useMemo(()=>e.expandedKeys?new Set(e.expandedKeys):void 0,[e.expandedKeys]),P.useMemo(()=>e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,[e.defaultExpandedKeys]),e.onExpandedChange);return P.useEffect(()=>{if(!t&&r.size>1){let a=r.values().next().value;a!=null&&i(new Set([a]))}}),{allowsMultipleExpanded:t,isDisabled:n,expandedKeys:r,setExpandedKeys:i,toggleKey(a){let u;t?(u=new Set(r),u.has(a)?u.delete(a):u.add(a)):u=new Set(r.has(a)?[]:[a]),i(u)}}}let qwe=Math.round(Math.random()*1e10),Vwe=0;function Uwe(e){let t=P.useMemo(()=>e.name||`radio-group-${qwe}-${++Vwe}`,[e.name]);var n;let[r,i]=Vu(e.value,(n=e.defaultValue)!==null&&n!==void 0?n:null,e.onChange),[a]=P.useState(r),[u,l]=P.useState(null),o=og({...e,value:r}),s=h=>{!e.isReadOnly&&!e.isDisabled&&(i(h),o.commitValidation())},c=o.displayValidation.isInvalid;var d;return{...o,name:t,selectedValue:r,defaultSelectedValue:e.value!==void 0?a:(d=e.defaultValue)!==null&&d!==void 0?d:null,setSelectedValue:s,lastFocusedValue:u,setLastFocusedValue:l,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(c?"invalid":null),isInvalid:c}}function jwe(e){let[t,n]=Vu(_j(e.value),_j(e.defaultValue)||"",e.onChange);return{value:t,setValue:n}}function _j(e){if(e!=null)return e.toString()}function Zwe(e){let{selectionMode:t="single"}=e,n=P3(e),[r,i]=P.useState(null),a=P.useMemo(()=>{var T;return e.defaultValue!==void 0?e.defaultValue:t==="single"?(T=e.defaultSelectedKey)!==null&&T!==void 0?T:null:[]},[e.defaultValue,e.defaultSelectedKey,t]),u=P.useMemo(()=>e.value!==void 0?e.value:t==="single"?e.selectedKey:void 0,[e.value,e.selectedKey,t]),[l,o]=Vu(u,a,e.onChange),s=t==="single"&&Array.isArray(l)?l[0]:l,c=T=>{if(t==="single"){var R,C;let k=Array.isArray(T)?(C=T[0])!==null&&C!==void 0?C:null:T;o(k),k!==s&&((R=e.onSelectionChange)===null||R===void 0||R.call(e,k))}else{let k=[];Array.isArray(T)?k=T:T!=null&&(k=[T]),o(k)}},d=RC({...e,selectionMode:t,disallowEmptySelection:t==="single",allowDuplicateSelectionEvents:!0,selectedKeys:P.useMemo(()=>Hwe(s),[s]),onSelectionChange:T=>{if(T!=="all"){if(t==="single"){var R;let C=(R=T.values().next().value)!==null&&R!==void 0?R:null;c(C),n.close()}else c([...T]);y.commitValidation()}}}),h=d.selectionManager.firstSelectedKey,m=P.useMemo(()=>[...d.selectionManager.selectedKeys].map(T=>d.collection.getItem(T)).filter(T=>T!=null),[d.selectionManager.selectedKeys,d.collection]),y=og({...e,value:Array.isArray(s)&&s.length===0?null:s}),[v,_]=P.useState(!1),[x]=P.useState(s);var E,w;return{...y,...d,...n,value:s,defaultValue:a??x,setValue:c,selectedKey:h,setSelectedKey:c,selectedItem:(E=m[0])!==null&&E!==void 0?E:null,selectedItems:m,defaultSelectedKey:(w=e.defaultSelectedKey)!==null&&w!==void 0?w:e.selectionMode==="single"?x:null,focusStrategy:r,open(T=null){d.collection.size!==0&&(i(T),n.open())},toggle(T=null){d.collection.size!==0&&(i(T),n.toggle())},isFocused:v,setFocused:_}}function Hwe(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}function Xwe(e){var t,n;let r=vfe({...e,onSelectionChange:e.onSelectionChange?o=>{var s;o!=null&&((s=e.onSelectionChange)===null||s===void 0||s.call(e,o))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:(n=(t=e.defaultSelectedKey)!==null&&t!==void 0?t:Ej(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))!==null&&n!==void 0?n:void 0}),{selectionManager:i,collection:a,selectedKey:u}=r,l=P.useRef(u);return P.useEffect(()=>{let o=u;e.selectedKey==null&&(i.isEmpty||o==null||!a.getItem(o))&&(o=Ej(a,r.disabledKeys),o!=null&&i.setSelectedKeys([o])),(o!=null&&i.focusedKey==null||!i.isFocused&&o!==l.current)&&i.setFocusedKey(o),l.current=o}),{...r,isDisabled:e.isDisabled||!1}}function Ej(e,t){let n=null;if(e){var r,i,a,u;for(n=e.getFirstKey();n!=null&&(t.has(n)||!((i=e.getItem(n))===null||i===void 0||(r=i.props)===null||r===void 0)&&r.isDisabled)&&n!==e.getLastKey();)n=e.getKeyAfter(n);n!=null&&(t.has(n)||!((u=e.getItem(n))===null||u===void 0||(a=u.props)===null||a===void 0)&&a.isDisabled)&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}function Ywe(e){let t=P.useCallback(i=>e.subscribe(i),[e]),n=P.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:cN.useSyncExternalStore(t,n,n),add:(i,a)=>e.add(i,a),close:i=>e.close(i),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class wnt{runWithWrapUpdate(t,n){this.wrapUpdate?this.wrapUpdate(t,n):t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,n={}){let r="_"+Math.random().toString(36).slice(2),i={...n,content:t,key:r,timer:n.timeout?new Gwe(()=>this.close(r),n.timeout):void 0};return this.queue.unshift(i),this.updateVisibleToasts("add"),r}close(t){let n=this.queue.findIndex(a=>a.key===t);if(n>=0){var r,i;(r=(i=this.queue[n]).onClose)===null||r===void 0||r.call(i),this.queue.splice(n,1)}this.updateVisibleToasts("remove")}updateVisibleToasts(t){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let n of this.subscriptions)n()},t)}pauseAll(){for(let t of this.visibleToasts)t.timer&&t.timer.pause()}resumeAll(){for(let t of this.visibleToasts)t.timer&&t.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}constructor(t){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[];var n;this.maxVisibleToasts=(n=t==null?void 0:t.maxVisibleToasts)!==null&&n!==void 0?n:1/0,this.wrapUpdate=t==null?void 0:t.wrapUpdate}}class Gwe{reset(t){this.remaining=t,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}constructor(t,n){this.startTime=null,this.remaining=n,this.callback=t}}const Kwe=1500,Dj=500;let n1={},Wwe=0,B4=!1,Em=null,r1=null;function nde(e={}){let{delay:t=Kwe,closeDelay:n=Dj}=e,{isOpen:r,open:i,close:a}=P3(e),u=P.useMemo(()=>`${++Wwe}`,[]),l=P.useRef(null),o=P.useRef(a),s=()=>{n1[u]=h},c=()=>{for(let y in n1)y!==u&&(n1[y](!0),delete n1[y])},d=()=>{l.current&&clearTimeout(l.current),l.current=null,c(),s(),B4=!0,i(),Em&&(clearTimeout(Em),Em=null),r1&&(clearTimeout(r1),r1=null)},h=y=>{y||n<=0?(l.current&&clearTimeout(l.current),l.current=null,o.current()):l.current||(l.current=setTimeout(()=>{l.current=null,o.current()},n)),Em&&(clearTimeout(Em),Em=null),B4&&(r1&&clearTimeout(r1),r1=setTimeout(()=>{delete n1[u],r1=null,B4=!1},Math.max(Dj,n)))},m=()=>{c(),s(),!r&&!Em&&!B4?Em=setTimeout(()=>{Em=null,B4=!0,d()},t):r||d()};return P.useEffect(()=>{o.current=a},[a]),P.useEffect(()=>()=>{l.current&&clearTimeout(l.current),n1[u]&&delete n1[u]},[u]),{isOpen:r,open:y=>{!y&&t>0&&!l.current?m():d()},close:h}}const dp=P.createContext(null),Rnt=P.forwardRef(function(t,n){let r=P.useContext(dp);return r!=null&&r.isInvalid?ve.createElement(Jwe,{...t,ref:n}):null}),Jwe=P.forwardRef((e,t)=>{let n=P.useContext(dp),r=Yt(e,{global:!0}),i=Cn({...e,defaultClassName:"react-aria-FieldError",defaultChildren:n.validationErrors.length===0?void 0:n.validationErrors.join(" "),values:n});return i.children==null?null:ve.createElement(Ewe,{slot:"errorMessage",...r,...i,ref:t})}),ap=P.createContext(null),Ant=P.forwardRef(function(t,n){[t,n]=Nn(t,n,ap);let{validationErrors:r,validationBehavior:i="native",children:a,className:u,...l}=t;return ve.createElement("form",{noValidate:i!=="native",...l,ref:n,className:u||"react-aria-Form"},ve.createElement(ap.Provider,{value:{...t,validationBehavior:i}},ve.createElement(Lre.Provider,{value:r??{}},a)))}),e6e=P.createContext(null),Tnt=P.forwardRef(function(t,n){let{inputRef:r=null,...i}=t;[t,n]=Nn(i,n,yCe);let{validationBehavior:a}=hs(ap)||{};var u,l;let o=(l=(u=t.validationBehavior)!==null&&u!==void 0?u:a)!==null&&l!==void 0?l:"native",s=P.useContext(e6e),c=_u(P.useMemo(()=>ug(r,t.inputRef!==void 0?t.inputRef:null),[r,t.inputRef])),{labelProps:d,inputProps:h,isSelected:m,isDisabled:y,isReadOnly:v,isPressed:_,isInvalid:x}=s?l5e({...lc(t),value:t.value,children:typeof t.children=="function"?!0:t.children},s,c):Gae({...lc(t),children:typeof t.children=="function"?!0:t.children,validationBehavior:o},wC(t),c),{isFocused:E,isFocusVisible:w,focusProps:T}=Uu(),R=y||v,{hoverProps:C,isHovered:k}=Eu({...t,isDisabled:R}),F=Cn({...t,defaultClassName:"react-aria-Checkbox",values:{isSelected:m,isIndeterminate:t.isIndeterminate||!1,isPressed:_,isHovered:k,isFocused:E,isFocusVisible:w,isDisabled:y,isReadOnly:v,isInvalid:x,isRequired:t.isRequired||!1}}),z=Yt(t,{global:!0});return delete z.id,delete z.onClick,ve.createElement("label",{...Et(z,d,C,F),ref:n,slot:t.slot||void 0,"data-selected":m||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-pressed":_||void 0,"data-hovered":k||void 0,"data-focused":E||void 0,"data-focus-visible":w||void 0,"data-disabled":y||void 0,"data-readonly":v||void 0,"data-invalid":x||void 0,"data-required":t.isRequired||void 0},ve.createElement(jS,{elementType:"span"},ve.createElement("input",{...Et(h,T),ref:c})),F.children)}),P0=P.createContext({}),t6e=P.forwardRef(function(t,n){[t,n]=Nn(t,n,P0);let{isDisabled:r,isInvalid:i,isReadOnly:a,onHoverStart:u,onHoverChange:l,onHoverEnd:o,...s}=t,{hoverProps:c,isHovered:d}=Eu({onHoverStart:u,onHoverChange:l,onHoverEnd:o,isDisabled:r}),{isFocused:h,isFocusVisible:m,focusProps:y}=Uu({within:!0});r??(r=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),i??(i=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let v=Cn({...t,values:{isHovered:d,isFocusWithin:h,isFocusVisible:m,isDisabled:r,isInvalid:i},defaultClassName:"react-aria-Group"});var _,x;return ve.createElement("div",{...Et(s,y,c),...v,ref:n,role:(_=t.role)!==null&&_!==void 0?_:"group",slot:(x=t.slot)!==null&&x!==void 0?x:void 0,"data-focus-within":h||void 0,"data-hovered":d||void 0,"data-focus-visible":m||void 0,"data-disabled":r||void 0,"data-invalid":i||void 0,"data-readonly":a||void 0},v.children)}),M0=P.createContext({});let n6e=e=>{let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,...i}=e;return i};const r6e=db(function(t,n){[t,n]=Nn(t,n,M0);let{hoverProps:r,isHovered:i}=Eu(t),{isFocused:a,isFocusVisible:u,focusProps:l}=Uu({isTextInput:!0,autoFocus:t.autoFocus}),o=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",s=Cn({...t,values:{isHovered:i,isFocused:a,isFocusVisible:u,isDisabled:t.disabled||!1,isInvalid:o},defaultClassName:"react-aria-Input"});return ve.createElement("input",{...Et(n6e(t),l,r),...s,ref:n,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":i||void 0,"data-focus-visible":u||void 0,"data-invalid":o||void 0})}),i6e=P.createContext(null),knt=P.forwardRef(function(t,n){return[t,n]=Nn(t,n,bCe),t.channel?ve.createElement(a6e,{...t,channel:t.channel,forwardedRef:n}):ve.createElement(u6e,{...t,forwardedRef:n})});function a6e(e){let{locale:t}=Zi(),n=_5e({...e,locale:t}),r=P.useRef(null),[i,a]=ps(!e["aria-label"]&&!e["aria-labelledby"]);var u;let{labelProps:l,inputProps:o,descriptionProps:s,errorMessageProps:c,...d}=k5e({...lc(e),label:a,validationBehavior:(u=e.validationBehavior)!==null&&u!==void 0?u:"native"},n,r);return ve.createElement(ve.Fragment,null,rde(e,n,e.forwardedRef,o,r,l,i,s,c,d),e.name&&ve.createElement("input",{type:"hidden",name:e.name,form:e.form,value:isNaN(n.numberValue)?"":n.numberValue}))}function u6e(e){var t;let n=x5e({...e,validationBehavior:(t=e.validationBehavior)!==null&&t!==void 0?t:"native"}),r=P.useRef(null),[i,a]=ps(!e["aria-label"]&&!e["aria-labelledby"]);var u;let{labelProps:l,inputProps:o,descriptionProps:s,errorMessageProps:c,...d}=w5e({...lc(e),label:a,validationBehavior:(u=e.validationBehavior)!==null&&u!==void 0?u:"native"},n,r);return rde(e,n,e.forwardedRef,o,r,l,i,s,c,d)}function rde(e,t,n,r,i,a,u,l,o,s){let c=Cn({...e,values:{state:t,channel:e.channel||"hex",isDisabled:e.isDisabled||!1,isInvalid:s.isInvalid||!1},defaultClassName:"react-aria-ColorField"}),d=Yt(e,{global:!0});return delete d.id,ve.createElement(Ti,{values:[[i6e,t],[M0,{...r,ref:i}],[ms,{...a,ref:u}],[P0,{role:"presentation",isInvalid:s.isInvalid,isDisabled:e.isDisabled||!1}],[Po,{slots:{description:l,errorMessage:o}}],[dp,s]]},ve.createElement("div",{...d,...c,ref:n,slot:e.slot||void 0,"data-channel":e.channel||"hex","data-disabled":e.isDisabled||void 0,"data-invalid":s.isInvalid||void 0}))}const ide=P.createContext(null),Pnt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,ide);let{colorSwatchProps:r,color:i}=A5e(t),a=Cn({...t,defaultClassName:"react-aria-ColorSwatch",defaultStyle:r.style,values:{color:i}}),u=Yt(t,{global:!0});return ve.createElement("div",{...Et(u,r,a),slot:t.slot||void 0,ref:n})});var ade={};ade={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var ude={};ude={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var lde={};lde={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var ode={};ode={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var sde={};sde={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var cde={};cde={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var fde={};fde={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var dde={};dde={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var hde={};hde={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var pde={};pde={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var mde={};mde={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var gde={};gde={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var vde={};vde={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var yde={};yde={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var bde={};bde={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var Ode={};Ode={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var Sde={};Sde={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var xde={};xde={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var _de={};_de={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var Ede={};Ede={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var Dde={};Dde={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var $de={};$de={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var Cde={};Cde={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var wde={};wde={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var Rde={};Rde={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var Ade={};Ade={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var Tde={};Tde={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var kde={};kde={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var Pde={};Pde={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var Mde={};Mde={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var Fde={};Fde={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var Nde={};Nde={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var Ide={};Ide={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var Lde={};Lde={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var _N={};_N={"ar-AE":ade,"bg-BG":ude,"cs-CZ":lde,"da-DK":ode,"de-DE":sde,"el-GR":cde,"en-US":fde,"es-ES":dde,"et-EE":hde,"fi-FI":pde,"fr-FR":mde,"he-IL":gde,"hr-HR":vde,"hu-HU":yde,"it-IT":bde,"ja-JP":Ode,"ko-KR":Sde,"lt-LT":xde,"lv-LV":_de,"nb-NO":Ede,"nl-NL":Dde,"pl-PL":$de,"pt-BR":Cde,"pt-PT":wde,"ro-RO":Rde,"ru-RU":Ade,"sk-SK":Tde,"sl-SI":kde,"sr-SP":Pde,"sv-SE":Mde,"tr-TR":Fde,"uk-UA":Nde,"zh-CN":Ide,"zh-TW":Lde};const AC=P.createContext({}),Bde=P.createContext(null),l6e=P.forwardRef(function(t,n){let{render:r}=P.useContext(Bde);return ve.createElement(ve.Fragment,null,r(t,n))});function Qde(e,t){var n;let r=e==null?void 0:e.renderDropIndicator,i=e==null||(n=e.isVirtualDragging)===null||n===void 0?void 0:n.call(e),a=P.useCallback(u=>{if(i||t!=null&&t.isDropTarget(u))return r?r(u):ve.createElement(l6e,{target:u})},[t==null?void 0:t.target,i,r]);return e!=null&&e.useDropIndicator?a:void 0}function o6e(e,t,n){var r,i;let a=e.focusedKey,u=null;if(!(t==null||(r=t.isVirtualDragging)===null||r===void 0)&&r.call(t)&&(n==null||(i=n.target)===null||i===void 0?void 0:i.type)==="item"&&(u=n.target.key,n.target.dropPosition==="after")){let d=n.collection.getKeyAfter(u),h=null;if(d!=null){var l,o;let m=(o=(l=n.collection.getItem(u))===null||l===void 0?void 0:l.level)!==null&&o!==void 0?o:0;for(;d;){let y=n.collection.getItem(d);if(!y)break;if(y.type!=="item"){d=n.collection.getKeyAfter(d);continue}var s;if(((s=y.level)!==null&&s!==void 0?s:0)<=m)break;h=d,d=n.collection.getKeyAfter(d)}}var c;u=(c=d??h)!==null&&c!==void 0?c:u}return P.useMemo(()=>new Set([a,u].filter(d=>d!=null)),[a,u])}const zde=P.createContext({}),s6e=P.createContext(null);function L3(e){let t=P.useRef({});return ve.createElement(s6e.Provider,{value:t},e.children)}const B3=P.createContext({isSelected:!1}),EN=P.createContext({});class qde extends ay{filter(t,n){let r=n.getItem(this.prevKey);if(r&&r.type!=="separator"){let i=this.clone();return n.addDescendants(i,t),i}return null}}qde.type="separator";const Mnt=pb(qde,function(t,n){[t,n]=Nn(t,n,EN);let{elementType:r,orientation:i,style:a,className:u,slot:l,...o}=t,s=r||"hr";s==="hr"&&i==="vertical"&&(s="div");let{separatorProps:c}=lwe({...o,elementType:r,orientation:i}),d=Yt(t,{global:!0});return ve.createElement(s,{...Et(d,c),style:a,className:u??"react-aria-Separator",ref:n,slot:l||void 0})}),ex=P.createContext(null),nh=P.createContext(null),c6e=P.forwardRef(function(t,n){[t,n]=Nn(t,n,ex);let r=P.useContext(nh);return r?ve.createElement(Vde,{state:r,props:t,listBoxRef:n}):ve.createElement(hb,{content:ve.createElement(JS,t)},i=>ve.createElement(f6e,{props:t,listBoxRef:n,collection:i}))});function f6e({props:e,listBoxRef:t,collection:n}){e={...e,collection:n,children:null,items:null};let{layoutDelegate:r}=P.useContext(fp),i=RC({...e,layoutDelegate:r});return ve.createElement(Vde,{state:i,props:e,listBoxRef:t})}function Vde({state:e,props:t,listBoxRef:n}){[t,n]=Nn(t,n,iS);let{dragAndDropHooks:r,layout:i="stack",orientation:a="vertical",filter:u}=t,l=mfe(e,u),{collection:o,selectionManager:s}=l,c=!!(r!=null&&r.useDraggableCollectionState),d=!!(r!=null&&r.useDroppableCollectionState),{direction:h}=Zi(),{disabledBehavior:m,disabledKeys:y}=s,v=gC({usage:"search",sensitivity:"base"}),{isVirtualized:_,layoutDelegate:x,dropTargetDelegate:E,CollectionRoot:w}=P.useContext(fp),T=P.useMemo(()=>t.keyboardDelegate||new ZS({collection:o,collator:v,ref:n,disabledKeys:y,disabledBehavior:m,layout:i,orientation:a,direction:h,layoutDelegate:x}),[o,v,n,m,y,a,h,t.keyboardDelegate,i,x]),{listBoxProps:R}=ECe({...t,shouldSelectOnPressUp:c||t.shouldSelectOnPressUp,keyboardDelegate:T,isVirtualized:_},l,n);P.useRef(c),P.useRef(d),P.useEffect(()=>{},[c,d]);let C,k,F,z=!1,Z=null,q=P.useRef(null);if(c&&r){C=r.useDraggableCollectionState({collection:o,selectionManager:s,preview:r.renderDragPreview?q:void 0}),r.useDraggableCollection({},C,n);let M=r.DragPreview;Z=r.renderDragPreview?ve.createElement(M,{ref:q},r.renderDragPreview):null}if(d&&r){k=r.useDroppableCollectionState({collection:o,selectionManager:s});let M=r.dropTargetDelegate||E||new r.ListDropTargetDelegate(o,n,{orientation:a,layout:i,direction:h});F=r.useDroppableCollection({keyboardDelegate:T,dropTargetDelegate:M},k,n),z=k.isDropTarget({type:"root"})}let{focusProps:j,isFocused:N,isFocusVisible:V}=Uu(),W=l.collection.size===0,G={isDropTarget:z,isEmpty:W,isFocused:N,isFocusVisible:V,layout:t.layout||"stack",state:l},J=Cn({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:G}),te=null;W&&t.renderEmptyState&&(te=ve.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(G)));let X=Yt(t,{global:!0});return ve.createElement(BF,null,ve.createElement("div",{...Et(X,J,R,j,F==null?void 0:F.collectionProps),ref:n,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":z||void 0,"data-empty":W||void 0,"data-focused":N||void 0,"data-focus-visible":V||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},ve.createElement(Ti,{values:[[ex,t],[nh,l],[AC,{dragAndDropHooks:r,dragState:C,dropState:k}],[EN,{elementType:"div"}],[Bde,{render:p6e}],[cae,{name:"ListBoxSection",render:d6e}]]},ve.createElement(L3,null,ve.createElement(w,{collection:o,scrollRef:n,persistedKeys:o6e(s,r,k),renderDropIndicator:Qde(r,k)}))),te,Z))}function d6e(e,t,n,r="react-aria-ListBoxSection"){let i=P.useContext(nh),{dragAndDropHooks:a,dropState:u}=P.useContext(AC),{CollectionBranch:l}=P.useContext(fp),[o,s]=ps();var c;let{headingProps:d,groupProps:h}=$Ce({heading:s,"aria-label":(c=e["aria-label"])!==null&&c!==void 0?c:void 0}),m=Cn({defaultClassName:r,className:e.className,style:e.style,values:{}}),y=Yt(e,{global:!0});return delete y.id,ve.createElement("section",{...Et(y,m,h),ref:t},ve.createElement(zde.Provider,{value:{...d,ref:o}},ve.createElement(l,{collection:i.collection,parent:n,renderDropIndicator:Qde(a,u)})))}const h6e=pb(CC,function(t,n,r){let i=_u(n),a=P.useContext(nh),{dragAndDropHooks:u,dragState:l,dropState:o}=P.useContext(AC),{optionProps:s,labelProps:c,descriptionProps:d,...h}=DCe({key:r.key,"aria-label":t==null?void 0:t["aria-label"]},a,i),{hoverProps:m,isHovered:y}=Eu({isDisabled:!h.allowsSelection&&!h.hasAction,onHoverStart:r.props.onHoverStart,onHoverChange:r.props.onHoverChange,onHoverEnd:r.props.onHoverEnd}),v=null;l&&u&&(v=u.useDraggableItem({key:r.key},l));let _=null;o&&u&&(_=u.useDroppableItem({target:{type:"item",key:r.key,dropPosition:"on"}},o,i));let x=l&&l.isDragging(r.key),E=Cn({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...h,isHovered:y,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,allowsDragging:!!l,isDragging:x,isDropTarget:_==null?void 0:_.isDropTarget}});P.useEffect(()=>{r.textValue},[r.textValue]);let w=t.href?"a":"div",T=Yt(t,{global:!0});return delete T.id,delete T.onClick,ve.createElement(w,{...Et(T,E,s,m,v==null?void 0:v.dragProps,_==null?void 0:_.dropProps),ref:i,"data-allows-dragging":!!l||void 0,"data-selected":h.isSelected||void 0,"data-disabled":h.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":h.isFocused||void 0,"data-focus-visible":h.isFocusVisible||void 0,"data-pressed":h.isPressed||void 0,"data-dragging":x||void 0,"data-drop-target":(_==null?void 0:_.isDropTarget)||void 0,"data-selection-mode":a.selectionManager.selectionMode==="none"?void 0:a.selectionManager.selectionMode},ve.createElement(Ti,{values:[[Po,{slots:{[zv]:c,label:c,description:d}}],[B3,{isSelected:h.isSelected}]]},E.children))});function p6e(e,t){t=_u(t);let{dragAndDropHooks:n,dropState:r}=P.useContext(AC),{dropIndicatorProps:i,isHidden:a,isDropTarget:u}=n.useDropIndicator(e,r,t);return a?null:ve.createElement(g6e,{...e,dropIndicatorProps:i,isDropTarget:u,ref:t})}function m6e(e,t){let{dropIndicatorProps:n,isDropTarget:r,...i}=e,a=Cn({...i,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:r}});return ve.createElement("div",{...n,...a,role:"option",ref:t,"data-drop-target":r||void 0})}const g6e=P.forwardRef(m6e);pb(rae,function(t,n,r){let i=P.useContext(nh),{isLoading:a,onLoadMore:u,scrollOffset:l,...o}=t,s=P.useRef(null),c=P.useMemo(()=>({onLoadMore:u,collection:i==null?void 0:i.collection,sentinelRef:s,scrollOffset:l}),[u,l,i==null?void 0:i.collection]);j4e(c,s);let d=Cn({...o,id:void 0,children:r.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:null}),h={tabIndex:-1};return ve.createElement(ve.Fragment,null,ve.createElement("div",{style:{position:"relative",width:0,height:0},inert:D7(!0)},ve.createElement("div",{"data-testid":"loadMoreSentinel",ref:s,style:{position:"absolute",height:1,width:1}})),a&&d.children&&ve.createElement("div",{...Et(Yt(t,{global:!0}),h),...d,role:"option",ref:n},d.children))});function v6e(e){return e&&e.__esModule?e.default:e}const y6e=P.createContext(null),Ude=P.createContext(null),Fnt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,y6e);let r=E5e(t),i=P.useMemo(()=>new Map,[]),a=ko(v6e(_N),"react-aria-components");return ve.createElement(c6e,{...Yt(t,{labelable:!0}),ref:n,className:t.className||"react-aria-ColorSwatchPicker",style:t.style,"aria-label":t["aria-label"]||(t["aria-labelledby"]?void 0:a.format("colorSwatchPicker")),layout:t.layout||"grid",selectionMode:"single",selectedKeys:[r.color.toString("hexa")],onSelectionChange:u=>{u!=="all"&&r.setColor(i.get([...u][0]))},disallowEmptySelection:!0},ve.createElement(Ude.Provider,{value:i},t.children))}),Nnt=P.forwardRef(function(t,n){let r=t.color||"#0000",i=P.useMemo(()=>typeof r=="string"?uy(r):r,[r]),{locale:a}=Zi(),u=P.useContext(Ude);P.useEffect(()=>{let o=i.toString("hexa");return u.set(o,i),()=>{u.delete(o)}},[i,u]);let l=o=>typeof o=="function"?s=>o({...s,color:i}):o;return ve.createElement(h6e,{...t,ref:n,id:i.toString("hexa"),textValue:i.getColorName(a),className:l(t.className||"react-aria-ColorSwatchPickerItem"),style:l(t.style)},OCe(l(t.children),o=>ve.createElement(ide.Provider,{value:{color:i}},o)))}),b6e=P.createContext(null),TC=P.createContext(null),DN=P.createContext(null),jde=P.createContext(null),Int=P.forwardRef(function(t,n){[t,n]=Nn(t,n,b6e);let r=P.useRef(null),i=lD(t.formatOptions),a=b5e({...t,numberFormatter:i}),[u,l]=ps(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:o,trackProps:s,labelProps:c,outputProps:d}=D5e({...t,label:l},a,r),h=Cn({...t,values:{orientation:a.orientation,isDisabled:a.isDisabled,state:a},defaultClassName:"react-aria-Slider"}),m=Yt(t,{global:!0});return delete m.id,ve.createElement(Ti,{values:[[TC,a],[DN,{...s,ref:r}],[jde,d],[ms,{...c,ref:u}]]},ve.createElement("div",{...Et(m,h,o),ref:n,slot:t.slot||void 0,"data-orientation":a.orientation,"data-disabled":a.isDisabled||void 0}))}),Lnt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,jde);let{children:r,style:i,className:a,...u}=t,l=P.useContext(TC),o=Cn({className:a,style:i,children:r,defaultChildren:l.getThumbValueLabel(0),defaultClassName:"react-aria-SliderOutput",values:{orientation:l.orientation,isDisabled:l.isDisabled,state:l}});return ve.createElement("output",{...u,...o,ref:n,"data-orientation":l.orientation||void 0,"data-disabled":l.isDisabled||void 0})}),Bnt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,DN);let r=P.useContext(TC),{onHoverStart:i,onHoverEnd:a,onHoverChange:u,...l}=t,{hoverProps:o,isHovered:s}=Eu({onHoverStart:i,onHoverEnd:a,onHoverChange:u}),c=Cn({...t,defaultClassName:"react-aria-SliderTrack",values:{orientation:r.orientation,isDisabled:r.isDisabled,isHovered:s,state:r}});return ve.createElement("div",{...Et(l,o),...c,ref:n,"data-hovered":s||void 0,"data-orientation":r.orientation||void 0,"data-disabled":r.isDisabled||void 0})}),Qnt=P.forwardRef(function(t,n){let{inputRef:r=null}=t,i=P.useContext(TC),{ref:a}=hs(DN),{index:u=0}=t,l=P.useRef(null),o=r||l,[s,c]=ps(!t["aria-label"]&&!t["aria-labelledby"]),{thumbProps:d,inputProps:h,labelProps:m,isDragging:y,isFocused:v,isDisabled:_}=$5e({...t,index:u,trackRef:a,inputRef:o,label:c},i),{focusProps:x,isFocusVisible:E}=Uu(),{hoverProps:w,isHovered:T}=Eu(t),R=Cn({...t,defaultClassName:"react-aria-SliderThumb",values:{state:i,isHovered:T,isDragging:y,isFocused:v,isFocusVisible:E,isDisabled:_}}),C=Yt(t,{global:!0});return delete C.id,ve.createElement("div",{...Et(C,d,w),...R,ref:n,style:{...d.style,...R.style},"data-hovered":T||void 0,"data-dragging":y||void 0,"data-focused":v||void 0,"data-focus-visible":E||void 0,"data-disabled":_||void 0},ve.createElement(jS,null,ve.createElement("input",{ref:o,...Et(h,x)})),ve.createElement(Ti,{values:[[ms,{...m,ref:s}]]},R.children))}),$N=P.createContext({placement:"bottom"}),znt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,$N);let r=t.placement,i={position:"absolute",transform:r==="top"||r==="bottom"?"translateX(-50%)":"translateY(-50%)"};r!=null&&(i[r]="100%");let a=Cn({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:r}});a.style&&Object.keys(a.style).forEach(l=>a.style[l]===void 0&&delete a.style[l]);let u=Yt(t);return ve.createElement("div",{...u,...a,style:{...i,...a.style},ref:n,"data-placement":r})}),Q3=P.createContext(null),$j=P.createContext(null),qnt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,Q3);let r=P.useContext(F0),i=P3(t),a=t.isOpen!=null||t.defaultOpen!=null||!r?i:r,u=GE(n,a.isOpen)||t.isExiting||!1,l=ZCe(),{direction:o}=Zi();if(l){let s=t.children;return typeof s=="function"&&(s=s({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),ve.createElement(ve.Fragment,null,s)}return a&&!a.isOpen&&!u?null:ve.createElement(O6e,{...t,triggerRef:t.triggerRef,state:a,popoverRef:n,isExiting:u,dir:o})});function O6e({state:e,isExiting:t,UNSTABLE_portalContainer:n,clearContexts:r,...i}){let a=P.useRef(null),u=P.useRef(null),l=P.useContext($j),o=l&&i.trigger==="SubmenuTrigger";var s;let{popoverProps:c,underlayProps:d,arrowProps:h,placement:m,triggerAnchorPoint:y}=i_e({...i,offset:(s=i.offset)!==null&&s!==void 0?s:8,arrowRef:a,groupRef:o?l:u},e),v=i.popoverRef,_=sC(v,!!m)||i.isEntering||!1,x=Cn({...i,defaultClassName:"react-aria-Popover",values:{trigger:i.trigger||null,placement:m,isEntering:_,isExiting:t}}),E=!i.isNonModal||i.trigger==="SubmenuTrigger",[w,T]=P.useState(!1);Qr(()=>{v.current&&T(E&&!v.current.querySelector("[role=dialog]"))},[v,E]),P.useEffect(()=>{w&&i.trigger!=="SubmenuTrigger"&&v.current&&!v.current.contains(document.activeElement)&&tc(v.current)},[w,v,i.trigger]);let R=P.useMemo(()=>{let z=x.children;if(r)for(let Z of r)z=ve.createElement(Z.Provider,{value:null},z);return z},[x.children,r]),C={...c.style,"--trigger-anchor-point":y?`${y.x}px ${y.y}px`:void 0,...x.style},k=ve.createElement("div",{...Et(Yt(i,{global:!0}),c),...x,role:w?"dialog":void 0,tabIndex:w?-1:void 0,"aria-label":i["aria-label"],"aria-labelledby":i["aria-labelledby"],ref:v,slot:i.slot||void 0,style:C,dir:i.dir,"data-trigger":i.trigger,"data-placement":m,"data-entering":_||void 0,"data-exiting":t||void 0},!i.isNonModal&&ve.createElement(J7,{onDismiss:e.close}),ve.createElement($N.Provider,{value:{...h,placement:m,ref:a}},R),ve.createElement(J7,{onDismiss:e.close}));if(!o)return ve.createElement(e9,{...i,shouldContainFocus:w,isExiting:t,portalContainer:n},!i.isNonModal&&e.isOpen&&ve.createElement("div",{"data-testid":"underlay",...d,style:{position:"fixed",inset:0}}),ve.createElement("div",{ref:u,style:{display:"contents"}},ve.createElement($j.Provider,{value:u},k)));var F;return ve.createElement(e9,{...i,shouldContainFocus:w,isExiting:t,portalContainer:(F=n??(l==null?void 0:l.current))!==null&&F!==void 0?F:void 0},k)}const S6e=P.createContext({}),CN=P.createContext(null),kC=P.createContext(null),uS=P.createContext(null),xD=P.createContext(null);function Vnt(e){let t=GF(e),n=P.useRef(null),{menuTriggerProps:r,menuProps:i}=ZF({...e,type:"menu"},t,n),[a,u]=P.useState(null),l=P.useCallback(()=>{n.current&&u(n.current.offsetWidth+"px")},[n]);Q1({ref:n,onResize:l});let o=P.useRef(null);return ve.createElement(Ti,{values:[[CN,{...i,ref:o}],[F0,t],[uS,t],[Q3,{trigger:"MenuTrigger",triggerRef:n,scrollRef:o,placement:"bottom start",style:{"--trigger-width":a},"aria-labelledby":i["aria-labelledby"]}]]},ve.createElement(ute,{...r,ref:n,isPressed:t.isOpen},e.children))}const Zde=P.createContext(null);class Hde extends ay{filter(t,n,r){let i=t.getItem(this.firstChildKey);if(i&&r(i.textValue,this)){let a=this.clone();return n.addDescendants(a,t),a}return null}}Hde.type="submenutrigger";const Unt=WCe(Hde,(e,t,n)=>{let{CollectionBranch:r}=P.useContext(fp),i=P.useContext(kC),a=P.useContext(uS),u=x_e({triggerKey:n.key},a),l=P.useRef(null),o=_u(t),{parentMenuRef:s,shouldUseVirtualFocus:c}=P.useContext(Zde),{submenuTriggerProps:d,submenuProps:h,popoverProps:m}=S_e({parentMenuRef:s,submenuRef:l,delay:e.delay,shouldUseVirtualFocus:c},u,o);return ve.createElement(Ti,{values:[[_D,{...d,onAction:void 0,ref:o}],[CN,{ref:l,...h}],[F0,u],[Q3,{trigger:"SubmenuTrigger",triggerRef:o,placement:"end top","aria-labelledby":h["aria-labelledby"],...m}]]},ve.createElement(r,{collection:i.collection,parent:n}),e.children[1])},e=>e.children[0]),jnt=P.forwardRef(function(t,n){return[t,n]=Nn(t,n,CN),ve.createElement(hb,{content:ve.createElement(JS,t)},r=>ve.createElement(x6e,{props:t,collection:r,menuRef:n}))});function x6e({props:e,collection:t,menuRef:n}){[e,n]=Nn(e,n,iS);let{filter:r,...i}=e,a=P.useMemo(()=>r?t.filter(r):t,[t,r]),u=D_e({...e,collection:a,children:void 0}),l=P.useContext(uS),{isVirtualized:o,CollectionRoot:s}=P.useContext(fp),{menuProps:c}=f_e({...e,isVirtualized:o,onClose:e.onClose||(l==null?void 0:l.close)},u,n),d=Cn({defaultClassName:"react-aria-Menu",className:e.className,style:e.style,values:{isEmpty:u.collection.size===0}}),h=null;u.collection.size===0&&e.renderEmptyState&&(h=ve.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState()));let m=Yt(e,{global:!0});return ve.createElement(BF,null,ve.createElement("div",{...Et(m,d,c),ref:n,slot:e.slot||void 0,"data-empty":u.collection.size===0||void 0,onScroll:e.onScroll},ve.createElement(Ti,{values:[[kC,u],[EN,{elementType:"div"}],[cae,{name:"MenuSection",render:E6e}],[Zde,{parentMenuRef:n,shouldUseVirtualFocus:i==null?void 0:i.shouldUseVirtualFocus}],[_D,null],[iS,null],[EC,null],[xD,u.selectionManager],[uS,l??GF({})]]},ve.createElement(L3,null,ve.createElement(s,{collection:u.collection,persistedKeys:dN(u.selectionManager.focusedKey),scrollRef:n}))),h))}class _6e extends HS{get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(t,n){return this.parent.setFocusedKey(t,n)}setFocused(t){this.parent.setFocused(t)}get childFocusStrategy(){return this.parent.childFocusStrategy}constructor(t,n){super(t.collection,n),this.parent=t}}function E6e(e,t,n,r="react-aria-MenuSection"){var i,a;let u=P.useContext(kC),{CollectionBranch:l}=P.useContext(fp),[o,s]=ps();var c;let{headingProps:d,groupProps:h}=v_e({heading:s,"aria-label":(c=n.props["aria-label"])!==null&&c!==void 0?c:void 0}),m=Cn({defaultClassName:r,className:(i=n.props)===null||i===void 0?void 0:i.className,style:(a=n.props)===null||a===void 0?void 0:a.style,values:{}}),y=P.useContext(xD),v=KF(e),_=e.selectionMode!=null?new _6e(y,v):y,x=Yt(e,{global:!0});return delete x.id,ve.createElement("section",{...Et(x,m,h),ref:t},ve.createElement(Ti,{values:[[zde,{...d,ref:o}],[xD,_]]},ve.createElement(l,{collection:u.collection,parent:n})))}const _D=P.createContext(null),Znt=pb(CC,function(t,n,r){var i;[t,n]=Nn(t,n,_D);let a=(i=hs(_D))===null||i===void 0?void 0:i.id,u=P.useContext(kC),l=_u(n),o=P.useContext(xD),{menuItemProps:s,labelProps:c,descriptionProps:d,keyboardShortcutProps:h,...m}=g_e({...t,id:a,key:r.key,selectionManager:o},u,l),{hoverProps:y,isHovered:v}=Eu({isDisabled:m.isDisabled}),_=Cn({...t,id:void 0,children:r.rendered,defaultClassName:"react-aria-MenuItem",values:{...m,isHovered:v,isFocusVisible:m.isFocusVisible,selectionMode:o.selectionMode,selectionBehavior:o.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),x=t.href?"a":"div",E=Yt(t,{global:!0});return delete E.id,delete E.onClick,ve.createElement(x,{...Et(E,_,s,y),ref:l,"data-disabled":m.isDisabled||void 0,"data-hovered":v||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":m.isFocusVisible||void 0,"data-pressed":m.isPressed||void 0,"data-selected":m.isSelected||void 0,"data-selection-mode":o.selectionMode==="none"?void 0:o.selectionMode,"data-has-submenu":!!t["aria-haspopup"]||void 0,"data-open":t["aria-expanded"]==="true"||void 0},ve.createElement(Ti,{values:[[Po,{slots:{[zv]:c,label:c,description:d}}],[S6e,h],[B3,{isSelected:m.isSelected}]]},_.children))}),Xde=P.createContext(null),F0=P.createContext(null);function Hnt(e){let t=GF(e),n=P.useRef(null),{triggerProps:r,overlayProps:i}=xte({type:"dialog"},t,n),[a,u]=P.useState(null),l=P.useCallback(()=>{n.current&&u(n.current.offsetWidth+"px")},[n]);return Q1({ref:n,onResize:l}),r.id=hi(),i["aria-labelledby"]=r.id,ve.createElement(Ti,{values:[[F0,t],[uS,t],[Xde,i],[Q3,{trigger:"DialogTrigger",triggerRef:n,"aria-labelledby":i["aria-labelledby"],style:{"--trigger-width":a}}]]},ve.createElement(ute,{...r,ref:n,isPressed:t.isOpen},e.children))}const Xnt=P.forwardRef(function(t,n){let r=t["aria-labelledby"];[t,n]=Nn(t,n,Xde);let{dialogProps:i,titleProps:a}=q5e({...t,"aria-labelledby":r},n),u=P.useContext(F0);!i["aria-label"]&&!i["aria-labelledby"]&&t["aria-labelledby"]&&(i["aria-labelledby"]=t["aria-labelledby"]);let l=Cn({defaultClassName:"react-aria-Dialog",className:t.className,style:t.style,children:t.children,values:{close:(u==null?void 0:u.close)||(()=>{})}}),o=Yt(t,{global:!0});return ve.createElement("section",{...Et(o,l,i),ref:n,slot:t.slot||void 0},ve.createElement(Ti,{values:[[Wne,{slots:{[zv]:{},title:{...a,level:2}}}],[th,{slots:{[zv]:{},close:{onPress:()=>u==null?void 0:u.close()}}}]]},l.children))}),D6e=P.createContext(null),$6e=P.createContext(null),Ynt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,D6e);let{children:r,isDisabled:i=!1,isInvalid:a=!1,isRequired:u=!1}=t,l=P.useMemo(()=>{var o;return ve.createElement(ex.Provider,{value:{items:(o=t.items)!==null&&o!==void 0?o:t.defaultItems}},typeof r=="function"?r({isOpen:!1,isDisabled:i,isInvalid:a,isRequired:u,defaultChildren:null}):r)},[r,i,a,u,t.items,t.defaultItems]);return ve.createElement(hb,{content:l},o=>ve.createElement(w6e,{props:t,collection:o,comboBoxRef:n}))}),C6e=[ms,th,M0,P0,Po];function w6e({props:e,collection:t,comboBoxRef:n}){let{name:r,formValue:i="key",allowsCustomValue:a}=e;a&&(i="text");let{validationBehavior:u}=hs(ap)||{};var l,o;let s=(o=(l=e.validationBehavior)!==null&&l!==void 0?l:u)!==null&&o!==void 0?o:"native",{contains:c}=hte({sensitivity:"base"}),d=Dwe({defaultFilter:e.defaultFilter||c,...e,items:e.items,children:void 0,collection:t,validationBehavior:s}),h=P.useRef(null),m=P.useRef(null),y=P.useRef(null),v=P.useRef(null),[_,x]=ps(!e["aria-label"]&&!e["aria-labelledby"]),{buttonProps:E,inputProps:w,listBoxProps:T,labelProps:R,descriptionProps:C,errorMessageProps:k,...F}=PCe({...lc(e),label:x,inputRef:m,buttonRef:h,listBoxRef:y,popoverRef:v,name:i==="text"?r:void 0,validationBehavior:s},d),[z,Z]=P.useState(null),q=P.useCallback(()=>{if(m.current){var G;let J=(G=h.current)===null||G===void 0?void 0:G.getBoundingClientRect(),te=m.current.getBoundingClientRect(),X=J?Math.min(J.left,te.left):te.left,M=J?Math.max(J.right,te.right):te.right;Z(M-X+"px")}},[h,m,Z]);Q1({ref:m,onResize:q});let j=P.useMemo(()=>({isOpen:d.isOpen,isDisabled:e.isDisabled||!1,isInvalid:F.isInvalid||!1,isRequired:e.isRequired||!1}),[d.isOpen,e.isDisabled,F.isInvalid,e.isRequired]),N=Cn({...e,values:j,defaultClassName:"react-aria-ComboBox"}),V=Yt(e,{global:!0});delete V.id;var W;return ve.createElement(Ti,{values:[[$6e,d],[ms,{...R,ref:_}],[th,{...E,ref:h,isPressed:d.isOpen}],[M0,{...w,ref:m}],[F0,d],[Q3,{ref:v,triggerRef:m,scrollRef:y,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":z},clearContexts:C6e}],[ex,{...T,ref:y}],[nh,d],[Po,{slots:{description:C,errorMessage:k}}],[P0,{isInvalid:F.isInvalid,isDisabled:e.isDisabled||!1}],[dp,F]]},ve.createElement("div",{...V,...N,ref:n,slot:e.slot||void 0,"data-focused":d.isFocused||void 0,"data-open":d.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":F.isInvalid||void 0,"data-required":e.isRequired||void 0}),r&&i==="key"&&ve.createElement("input",{type:"hidden",name:r,form:e.form,value:(W=d.selectedKey)!==null&&W!==void 0?W:""}))}const R6e=["day","month","year"],A6e={hour:1,minute:2,second:3};function T6e(e,t){let{autoComplete:n,isDisabled:r,name:i}=e,{visuallyHiddenProps:a}=UF({style:{position:"fixed",top:0,left:0}}),u=60;t.granularity==="second"?u=1:t.granularity==="hour"&&(u=3600);let l=t.value==null?"":t.value.toString(),o=t.granularity==="day"?"date":"datetime-local",s=["hour","minute","second"],c=0;return s.includes(t.granularity)&&(c=A6e[t.granularity],s=s.slice(0,c)),{containerProps:{...a,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{tabIndex:-1,autoComplete:n,disabled:r,type:o,form:"",name:i,step:u,value:l,onChange:d=>{let h=d.target.value.toString();if(h)try{let m=C2e(h);if(t.granularity==="day"&&(m=$2e(h)),"setSegment"in t)for(let y in m)R6e.includes(y)&&t.setSegment(y,m[y]),s.includes(y)&&t.setSegment(y,m[y]);t.setValue(m)}catch{}}}}}function k6e(e){let{state:t}=e,{containerProps:n,inputProps:r}=T6e({...e},t);return ve.createElement("div",{...n,"data-testid":"hidden-dateinput-container"},ve.createElement("input",r))}const Yde=P.createContext(null),P6e=P.createContext(null),tx=P.createContext(null),PC=P.createContext(null),Gnt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,Yde);let{validationBehavior:r}=hs(ap)||{};var i,a;let u=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:r)!==null&&a!==void 0?a:"native",{locale:l}=Zi(),o=xN({...t,locale:l,createCalendar:cee,validationBehavior:u}),s=P.useRef(null),[c,d]=ps(!t["aria-label"]&&!t["aria-labelledby"]),h=P.useRef(null),{labelProps:m,fieldProps:y,inputProps:v,descriptionProps:_,errorMessageProps:x,...E}=vN({...lc(t),label:d,inputRef:h,validationBehavior:u},o,s),w=Cn({...lc(t),values:{state:o,isInvalid:o.isInvalid,isDisabled:o.isDisabled,isReadOnly:o.isReadOnly},defaultClassName:"react-aria-DateField"}),T=Yt(t,{global:!0});return delete T.id,ve.createElement(Ti,{values:[[tx,o],[P0,{...y,ref:s,isInvalid:o.isInvalid,isDisabled:o.isDisabled}],[M0,{...v,ref:h}],[ms,{...m,ref:c,elementType:"span"}],[Po,{slots:{description:_,errorMessage:x}}],[dp,E]]},ve.createElement("div",{...T,...w,ref:n,slot:t.slot||void 0,"data-invalid":o.isInvalid||void 0,"data-disabled":o.isDisabled||void 0,"data-readonly":o.isReadOnly||void 0}),ve.createElement(k6e,{autoComplete:t.autoComplete,name:t.name,isDisabled:t.isDisabled,state:o}))}),Knt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,P6e);let{validationBehavior:r}=hs(ap)||{};var i,a;let u=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:r)!==null&&a!==void 0?a:"native",{locale:l}=Zi(),o=Bwe({...t,locale:l,validationBehavior:u}),s=P.useRef(null),[c,d]=ps(!t["aria-label"]&&!t["aria-labelledby"]),h=P.useRef(null),{labelProps:m,fieldProps:y,inputProps:v,descriptionProps:_,errorMessageProps:x,...E}=N5e({...lc(t),label:d,inputRef:h,validationBehavior:u},o,s),w=Cn({...t,values:{state:o,isInvalid:o.isInvalid,isDisabled:o.isDisabled,isReadOnly:o.isReadOnly},defaultClassName:"react-aria-TimeField"}),T=Yt(t,{global:!0});return delete T.id,ve.createElement(Ti,{values:[[PC,o],[P0,{...y,ref:s,isInvalid:o.isInvalid,isDisabled:o.isDisabled}],[M0,{...v,ref:h}],[ms,{...m,ref:c,elementType:"span"}],[Po,{slots:{description:_,errorMessage:x}}],[dp,E]]},ve.createElement("div",{...T,...w,ref:n,slot:t.slot||void 0,"data-invalid":o.isInvalid||void 0,"data-disabled":o.isDisabled||void 0,"data-readonly":o.isReadOnly||void 0}))}),Wnt=P.forwardRef(function(t,n){let r=P.useContext(tx),i=P.useContext(PC);return r||i?ve.createElement(Gde,{...t,ref:n}):ve.createElement(M6e,{...t,ref:n})}),M6e=P.forwardRef((e,t)=>{let[n,r]=Nn({slot:e.slot},t,Yde),{locale:i}=Zi(),a=xN({...n,locale:i,createCalendar:cee}),u=P.useRef(null),{fieldProps:l,inputProps:o}=vN({...n,inputRef:u},a,r);return ve.createElement(Ti,{values:[[tx,a],[M0,{...o,ref:u}],[P0,{...l,ref:r,isInvalid:a.isInvalid,isDisabled:a.isDisabled}]]},ve.createElement(Gde,e))}),Gde=P.forwardRef((e,t)=>{let{className:n,children:r}=e,i=P.useContext(tx),a=P.useContext(PC),u=i??a;return ve.createElement(ve.Fragment,null,ve.createElement(t6e,{...e,ref:t,slot:e.slot||void 0,className:n??"react-aria-DateInput",isReadOnly:u.isReadOnly,isInvalid:u.isInvalid,isDisabled:u.isDisabled},u.segments.map((l,o)=>P.cloneElement(r(l),{key:o}))),ve.createElement(r6e,null))}),Jnt=P.forwardRef(function({segment:t,...n},r){let i=P.useContext(tx),a=P.useContext(PC),u=i??a,l=_u(r),{segmentProps:o}=Q5e(t,u,l),{focusProps:s,isFocused:c,isFocusVisible:d}=Uu(),{hoverProps:h,isHovered:m}=Eu({...n,isDisabled:u.isDisabled||t.type==="literal"}),y=Cn({...n,values:{...t,isReadOnly:u.isReadOnly,isInvalid:u.isInvalid,isDisabled:u.isDisabled,isHovered:m,isFocused:c,isFocusVisible:d},defaultChildren:t.text,defaultClassName:"react-aria-DateSegment"});return ve.createElement("span",{...Et(Yt(n,{global:!0}),o,s,h),...y,style:o.style,ref:l,"data-placeholder":t.isPlaceholder||void 0,"data-invalid":u.isInvalid||void 0,"data-readonly":u.isReadOnly||void 0,"data-disabled":u.isDisabled||void 0,"data-type":t.type,"data-hovered":m||void 0,"data-focused":c||void 0,"data-focus-visible":d||void 0})}),Kde=P.createContext(null),ert=P.forwardRef(function(t,n){let r=zwe(t),i=Cn({...t,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:r.isDisabled,state:r}}),a=Yt(t,{global:!0});return ve.createElement("div",{...a,...i,ref:n,"data-disabled":t.isDisabled||void 0},ve.createElement(Kde.Provider,{value:r},i.children))}),F6e=P.createContext(null),N6e=P.createContext(null),Wde=P.createContext(null),trt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,F6e);let r=P.useContext(Kde),{id:i,...a}=t,u=hi();i||(i=u);let l=r?r.expandedKeys.has(i):t.isExpanded,o=Qwe({...t,isExpanded:l,onExpandedChange(x){var E;r&&r.toggleKey(i),(E=t.onExpandedChange)===null||E===void 0||E.call(t,x)}}),s=ve.useRef(null),c=t.isDisabled||(r==null?void 0:r.isDisabled)||!1,{buttonProps:d,panelProps:h}=V5e({...t,isExpanded:l,isDisabled:c},o,s),{isFocusVisible:m,focusProps:y}=Uu({within:!0}),v=Cn({...t,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:o.isExpanded,isDisabled:c,isFocusVisibleWithin:m,state:o}}),_=Yt(a,{global:!0});return ve.createElement(Ti,{values:[[th,{slots:{[zv]:{},trigger:d}}],[Wde,{panelProps:h,panelRef:s}],[N6e,o]]},ve.createElement("div",{...Et(_,v,y),ref:n,"data-expanded":o.isExpanded||void 0,"data-disabled":c||void 0,"data-focus-visible-within":m||void 0},v.children))}),nrt=P.forwardRef(function(t,n){let{role:r="group"}=t,{panelProps:i,panelRef:a}=P.useContext(Wde),{isFocusVisible:u,focusProps:l}=Uu({within:!0}),o=Cn({...t,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:u}}),s=Yt(t,{global:!0});return ve.createElement("div",{...Et(s,o,i,l),ref:ug(n,a),role:r,"data-focus-visible-within":u||void 0},ve.createElement(Ti,{values:[[th,null]]},t.children))}),rrt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,Wne);let{children:r,level:i=3,className:a,...u}=t,l=`h${i}`;return ve.createElement(l,{...u,ref:n,className:a??"react-aria-Heading"},r)}),I6e=P.createContext(null),wN=P.createContext(null),irt=P.forwardRef(function(t,n){if(P.useContext(wN))return ve.createElement(Cj,{...t,modalRef:n},t.children);let{isDismissable:i,isKeyboardDismissDisabled:a,isOpen:u,defaultOpen:l,onOpenChange:o,children:s,isEntering:c,isExiting:d,UNSTABLE_portalContainer:h,shouldCloseOnInteractOutside:m,...y}=t;return ve.createElement(B6e,{isDismissable:i,isKeyboardDismissDisabled:a,isOpen:u,defaultOpen:l,onOpenChange:o,isEntering:c,isExiting:d,UNSTABLE_portalContainer:h,shouldCloseOnInteractOutside:m},ve.createElement(Cj,{...y,modalRef:n},s))});function L6e(e,t){[e,t]=Nn(e,t,I6e);let n=P.useContext(F0),r=P3(e),i=e.isOpen!=null||e.defaultOpen!=null||!n?r:n,a=_u(t),u=P.useRef(null),l=GE(a,i.isOpen),o=GE(u,i.isOpen),s=l||o||e.isExiting||!1,c=Jd();return!i.isOpen&&!s||c?null:ve.createElement(Q6e,{...e,state:i,isExiting:s,overlayRef:a,modalRef:u})}const B6e=P.forwardRef(L6e);function Q6e({UNSTABLE_portalContainer:e,...t}){let n=t.modalRef,{state:r}=t,{modalProps:i,underlayProps:a}=a_e(t,r,n),u=sC(t.overlayRef)||t.isEntering||!1,l=Cn({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:u,isExiting:t.isExiting,state:r}}),o=z4e(),s;if(typeof document<"u"){let d=z1(document.body)?document.body:document.scrollingElement||document.documentElement,h=d.getBoundingClientRect().height%1;s=d.scrollHeight-h}let c={...l.style,"--visual-viewport-height":o.height+"px","--page-height":s!==void 0?s+"px":void 0};return ve.createElement(e9,{isExiting:t.isExiting,portalContainer:e},ve.createElement("div",{...Et(Yt(t,{global:!0}),a),...l,style:c,ref:t.overlayRef,"data-entering":u||void 0,"data-exiting":t.isExiting||void 0},ve.createElement(Ti,{values:[[wN,{modalProps:i,modalRef:n,isExiting:t.isExiting,isDismissable:t.isDismissable}],[F0,r]]},l.children)))}function Cj(e){let{modalProps:t,modalRef:n,isExiting:r,isDismissable:i}=P.useContext(wN),a=P.useContext(F0),u=P.useMemo(()=>ug(e.modalRef,n),[e.modalRef,n]),l=_u(u),o=sC(l),s=Cn({...e,defaultClassName:"react-aria-Modal",values:{isEntering:o,isExiting:r,state:a}});return ve.createElement("div",{...Et(Yt(e,{global:!0}),t),...s,ref:l,"data-entering":o||void 0,"data-exiting":r||void 0},i&&ve.createElement(J7,{onDismiss:a.close}),s.children)}const z6e=P.createContext(null),q6e=P.createContext(null),art=P.forwardRef(function(t,n){[t,n]=Nn(t,n,z6e);let{validationBehavior:r}=hs(ap)||{};var i,a;let u=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:r)!==null&&a!==void 0?a:"native",{locale:l}=Zi(),o=mle({...t,locale:l,validationBehavior:u}),s=P.useRef(null),[c,d]=ps(!t["aria-label"]&&!t["aria-labelledby"]),{labelProps:h,groupProps:m,inputProps:y,incrementButtonProps:v,decrementButtonProps:_,descriptionProps:x,errorMessageProps:E,...w}=koe({...lc(t),label:d,validationBehavior:u},o,s),T=Cn({...t,values:{state:o,isDisabled:t.isDisabled||!1,isInvalid:w.isInvalid||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-NumberField"}),R=Yt(t,{global:!0});return delete R.id,ve.createElement(Ti,{values:[[q6e,o],[P0,m],[M0,{...y,ref:s}],[ms,{...h,ref:c}],[th,{slots:{increment:v,decrement:_}}],[Po,{slots:{description:x,errorMessage:E}}],[dp,w]]},ve.createElement("div",{...R,...T,ref:n,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-required":t.isRequired||void 0,"data-invalid":w.isInvalid||void 0}),t.name&&ve.createElement("input",{type:"hidden",name:t.name,form:t.form,value:isNaN(o.numberValue)?"":o.numberValue,disabled:t.isDisabled||void 0}))}),V6e=P.createContext(null),U6e=P.createContext(null),Jde=P.createContext(null),urt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,V6e);let{validationBehavior:r}=hs(ap)||{};var i,a;let u=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:r)!==null&&a!==void 0?a:"native",l=Uwe({...t,validationBehavior:u}),[o,s]=ps(!t["aria-label"]&&!t["aria-labelledby"]),{radioGroupProps:c,labelProps:d,descriptionProps:h,errorMessageProps:m,...y}=rwe({...t,label:s,validationBehavior:u},l),v=Cn({...t,values:{orientation:t.orientation||"vertical",isDisabled:l.isDisabled,isReadOnly:l.isReadOnly,isRequired:l.isRequired,isInvalid:l.isInvalid,state:l},defaultClassName:"react-aria-RadioGroup"}),_=Yt(t,{global:!0});return ve.createElement("div",{...Et(_,v,c),ref:n,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":l.isInvalid||void 0,"data-disabled":l.isDisabled||void 0,"data-readonly":l.isReadOnly||void 0,"data-required":l.isRequired||void 0},ve.createElement(Ti,{values:[[Jde,l],[ms,{...d,ref:o,elementType:"span"}],[Po,{slots:{description:h,errorMessage:m}}],[dp,y]]},ve.createElement(L3,null,v.children)))}),lrt=P.forwardRef(function(t,n){let{inputRef:r=null,...i}=t;[t,n]=Nn(i,n,U6e);let a=ve.useContext(Jde),u=_u(P.useMemo(()=>ug(r,t.inputRef!==void 0?t.inputRef:null),[r,t.inputRef])),{labelProps:l,inputProps:o,isSelected:s,isDisabled:c,isPressed:d}=nwe({...lc(t),children:typeof t.children=="function"?!0:t.children},a,u),{isFocused:h,isFocusVisible:m,focusProps:y}=Uu(),v=c||a.isReadOnly,{hoverProps:_,isHovered:x}=Eu({...t,isDisabled:v}),E=Cn({...t,defaultClassName:"react-aria-Radio",values:{isSelected:s,isPressed:d,isHovered:x,isFocused:h,isFocusVisible:m,isDisabled:c,isReadOnly:a.isReadOnly,isInvalid:a.isInvalid,isRequired:a.isRequired}}),w=Yt(t,{global:!0});return delete w.id,delete w.onClick,ve.createElement("label",{...Et(w,l,_,E),ref:n,"data-selected":s||void 0,"data-pressed":d||void 0,"data-hovered":x||void 0,"data-focused":h||void 0,"data-focus-visible":m||void 0,"data-disabled":c||void 0,"data-readonly":a.isReadOnly||void 0,"data-invalid":a.isInvalid||void 0,"data-required":a.isRequired||void 0},ve.createElement(jS,{elementType:"span"},ve.createElement("input",{...Et(o,y),ref:u})),ve.createElement(B3.Provider,{value:{isSelected:s}},E.children))}),j6e=P.createContext(null),ort=db(function(t,n){[t,n]=Nn(t,n,j6e);let{validationBehavior:r}=hs(ap)||{};var i,a;let u=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:r)!==null&&a!==void 0?a:"native",l=P.useRef(null);[t,l]=Nn(t,l,EC);let[o,s]=ps(!t["aria-label"]&&!t["aria-labelledby"]),c=jwe({...t,validationBehavior:u}),{labelProps:d,inputProps:h,clearButtonProps:m,descriptionProps:y,errorMessageProps:v,..._}=FCe({...lc(t),label:s,validationBehavior:u},c,l),x=Cn({...t,values:{isEmpty:c.value==="",isDisabled:t.isDisabled||!1,isInvalid:_.isInvalid||!1,state:c},defaultClassName:"react-aria-SearchField"}),E=Yt(t,{global:!0});return delete E.id,ve.createElement("div",{...E,...x,ref:n,slot:t.slot||void 0,"data-empty":c.value===""||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":_.isInvalid||void 0},ve.createElement(Ti,{values:[[ms,{...d,ref:o}],[M0,{...h,ref:l}],[th,m],[Po,{slots:{description:y,errorMessage:v}}],[P0,{isInvalid:_.isInvalid,isDisabled:t.isDisabled||!1}],[dp,_]]},x.children))});function Z6e(e){return e&&e.__esModule?e.default:e}const RN=P.createContext(null),ehe=P.createContext(null),srt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,RN);let{children:r,isDisabled:i=!1,isInvalid:a=!1,isRequired:u=!1}=t,l=P.useMemo(()=>typeof r=="function"?r({isOpen:!1,isDisabled:i,isInvalid:a,isRequired:u,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):r,[r,i,a,u]);return ve.createElement(hb,{content:l},o=>ve.createElement(X6e,{props:t,collection:o,selectRef:n}))}),H6e=[ms,th,Po];function X6e({props:e,selectRef:t,collection:n}){let{validationBehavior:r}=hs(ap)||{};var i,a;let u=(a=(i=e.validationBehavior)!==null&&i!==void 0?i:r)!==null&&a!==void 0?a:"native",l=Zwe({...e,collection:n,children:void 0,validationBehavior:u}),{isFocusVisible:o,focusProps:s}=Uu({within:!0}),c=P.useRef(null),[d,h]=ps(!e["aria-label"]&&!e["aria-labelledby"]),{labelProps:m,triggerProps:y,valueProps:v,menuProps:_,descriptionProps:x,errorMessageProps:E,hiddenSelectProps:w,...T}=iwe({...lc(e),label:h,validationBehavior:u},l,c),[R,C]=P.useState(null),k=P.useCallback(()=>{c.current&&C(c.current.offsetWidth+"px")},[c]);Q1({ref:c,onResize:k});let F=P.useMemo(()=>({isOpen:l.isOpen,isFocused:l.isFocused,isFocusVisible:o,isDisabled:e.isDisabled||!1,isInvalid:T.isInvalid||!1,isRequired:e.isRequired||!1}),[l.isOpen,l.isFocused,o,e.isDisabled,T.isInvalid,e.isRequired]),z=Cn({...e,values:F,defaultClassName:"react-aria-Select"}),Z=Yt(e,{global:!0});delete Z.id;let q=P.useRef(null);return ve.createElement(Ti,{values:[[RN,e],[ehe,l],[the,v],[ms,{...m,ref:d,elementType:"span"}],[th,{...y,ref:c,isPressed:l.isOpen,autoFocus:e.autoFocus}],[F0,l],[Q3,{trigger:"Select",triggerRef:c,scrollRef:q,placement:"bottom start",style:{"--trigger-width":R},"aria-labelledby":_["aria-labelledby"],clearContexts:H6e}],[ex,{..._,ref:q}],[nh,l],[Po,{slots:{description:x,errorMessage:E}}],[dp,T]]},ve.createElement("div",{...Et(Z,z,s),ref:t,slot:e.slot||void 0,"data-focused":l.isFocused||void 0,"data-focus-visible":o||void 0,"data-open":l.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":T.isInvalid||void 0,"data-required":e.isRequired||void 0},z.children,ve.createElement(uwe,{...w,autoComplete:e.autoComplete})))}const the=P.createContext(null),crt=db(function(t,n){var r;[t,n]=Nn(t,n,the);let i=P.useContext(ehe),{placeholder:a}=hs(RN),u=i.selectedItems.map(x=>{var E;let w=(E=x.props)===null||E===void 0?void 0:E.children;return typeof w=="function"&&(w=w({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"})),w}),l=Sxe(),o=P.useMemo(()=>i.selectedItems.map(x=>x==null?void 0:x.textValue),[i.selectedItems]),s=i.selectionManager.selectionMode,c=P.useMemo(()=>{var x;return s==="single"?(x=o[0])!==null&&x!==void 0?x:"":l.format(o)},[s,l,o]),d=P.useMemo(()=>{if(s==="single")return u[0];let x=l.formatToParts(o);if(x.length===0)return null;let E=0;return x.map(w=>w.type==="element"?ve.createElement(P.Fragment,{key:E},u[E++]):w.value)},[s,l,o,u]),h=ko(Z6e(_N),"react-aria-components");var m,y;let v=Cn({...t,defaultChildren:(m=d??a)!==null&&m!==void 0?m:h.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:(y=(r=i.selectedItems[0])===null||r===void 0?void 0:r.value)!==null&&y!==void 0?y:null,selectedItems:P.useMemo(()=>i.selectedItems.map(x=>{var E;return(E=x.value)!==null&&E!==void 0?E:null}),[i.selectedItems]),selectedText:c,isPlaceholder:i.selectedItems.length===0,state:i}}),_=Yt(t,{global:!0});return ve.createElement("span",{ref:n,..._,...v,"data-placeholder":i.selectedItems.length===0||void 0},ve.createElement(Po.Provider,{value:void 0},v.children))}),Y6e=P.createContext(null),frt=P.forwardRef(function(t,n){let{inputRef:r=null,...i}=t;[t,n]=Nn(i,n,Y6e);let a=_u(ug(r,t.inputRef!==void 0?t.inputRef:null)),u=wC(t),{labelProps:l,inputProps:o,isSelected:s,isDisabled:c,isReadOnly:d,isPressed:h}=owe({...lc(t),children:typeof t.children=="function"?!0:t.children},u,a),{isFocused:m,isFocusVisible:y,focusProps:v}=Uu(),_=t.isDisabled||t.isReadOnly,{hoverProps:x,isHovered:E}=Eu({...t,isDisabled:_}),w=Cn({...t,defaultClassName:"react-aria-Switch",values:{isSelected:s,isPressed:h,isHovered:E,isFocused:m,isFocusVisible:y,isDisabled:c,isReadOnly:d,state:u}}),T=Yt(t,{global:!0});return delete T.id,delete T.onClick,ve.createElement("label",{...Et(T,l,x,w),ref:n,slot:t.slot||void 0,"data-selected":s||void 0,"data-pressed":h||void 0,"data-hovered":E||void 0,"data-focused":m||void 0,"data-focus-visible":y||void 0,"data-disabled":c||void 0,"data-readonly":d||void 0},ve.createElement(jS,{elementType:"span"},ve.createElement("input",{...Et(o,v),ref:a})),w.children)}),MC=P.createContext(null),h3=P.createContext(null),drt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,MC);let{children:r,orientation:i="horizontal"}=t;return r=P.useMemo(()=>typeof r=="function"?r({orientation:i,defaultChildren:null}):r,[r,i]),ve.createElement(hb,{content:r},a=>ve.createElement(G6e,{props:t,collection:a,tabsRef:n}))});function G6e({props:e,tabsRef:t,collection:n}){let{orientation:r="horizontal"}=e,i=Xwe({...e,collection:n,children:void 0}),{focusProps:a,isFocused:u,isFocusVisible:l}=Uu({within:!0}),o=P.useMemo(()=>({orientation:r,isFocusWithin:u,isFocusVisible:l}),[r,u,l]),s=Cn({...e,defaultClassName:"react-aria-Tabs",values:o}),c=Yt(e,{global:!0});return ve.createElement("div",{...Et(c,s,a),ref:t,slot:e.slot||void 0,"data-focused":u||void 0,"data-orientation":r,"data-focus-visible":l||void 0,"data-disabled":i.isDisabled||void 0},ve.createElement(Ti,{values:[[MC,e],[h3,i]]},s.children))}const hrt=P.forwardRef(function(t,n){return P.useContext(h3)?ve.createElement(K6e,{props:t,forwardedRef:n}):ve.createElement(JS,t)});function K6e({props:e,forwardedRef:t}){let n=P.useContext(h3),{CollectionRoot:r}=P.useContext(fp),{orientation:i="horizontal",keyboardActivation:a="automatic"}=hs(MC),u=_u(t),{tabListProps:l}=dwe({...e,orientation:i,keyboardActivation:a},n,u),o=Cn({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:i,state:n}}),s=Yt(e,{global:!0});return delete s.id,ve.createElement("div",{...Et(s,o,l),ref:u,"data-orientation":i||void 0},ve.createElement(L3,null,ve.createElement(r,{collection:n.collection,persistedKeys:dN(n.selectionManager.focusedKey)})))}class nhe extends ay{}nhe.type="item";const prt=pb(nhe,(e,t,n)=>{let r=P.useContext(h3),i=_u(t),{tabProps:a,isSelected:u,isDisabled:l,isPressed:o}=swe({key:n.key,...e},r,i),{focusProps:s,isFocused:c,isFocusVisible:d}=Uu(),{hoverProps:h,isHovered:m}=Eu({isDisabled:l,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),y=Cn({...e,id:void 0,children:n.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:u,isDisabled:l,isFocused:c,isFocusVisible:d,isPressed:o,isHovered:m}}),v=n.props.href?"a":"div",_=Yt(e,{global:!0});return delete _.id,delete _.onClick,ve.createElement(v,{...Et(_,y,a,s,h),ref:i,"data-selected":u||void 0,"data-disabled":l||void 0,"data-focused":c||void 0,"data-focus-visible":d||void 0,"data-pressed":o||void 0,"data-hovered":m||void 0},ve.createElement(B3.Provider,{value:{isSelected:u}},y.children))}),mrt=db(function(t,n){const r=P.useContext(h3);let i=_u(n),{id:a,...u}=t,{tabPanelProps:l}=cwe(t,r,i),{focusProps:o,isFocused:s,isFocusVisible:c}=Uu(),d=r.selectedKey===t.id,h=Cn({...t,defaultClassName:"react-aria-TabPanel",values:{isFocused:s,isFocusVisible:c,isInert:D7(!d),state:r}});if(!d&&!t.shouldForceMount)return null;let m=Yt(u,{global:!0});delete m.id;let y=d?Et(m,l,o,h):h;return ve.createElement("div",{...y,ref:i,"data-focused":s||void 0,"data-focus-visible":c||void 0,inert:D7(!d||t.inert),"data-inert":d?void 0:"true"},ve.createElement(Ti,{values:[[MC,null],[h3,null]]},ve.createElement(fp.Provider,{value:fN},h.children)))}),W6e=P.createContext(null),rhe=P.createContext(null),grt=P.forwardRef(function(t,n){return[t,n]=Nn(t,n,W6e),ve.createElement(nh.Provider,{value:null},ve.createElement(hb,{content:t.children},r=>ve.createElement(J6e,{props:t,forwardedRef:n,collection:r})))});function J6e({props:e,forwardedRef:t,collection:n}){let r=P.useRef(null),{id:i,...a}=e;[a,r]=Nn(a,r,iS);let{filter:u,shouldUseVirtualFocus:l,...o}=a,[s,c]=ps(!e["aria-label"]&&!e["aria-labelledby"]),d=RC({...o,children:void 0,collection:n}),h=mfe(d,u),m=Yt(a,{global:!0}),y=Object.fromEntries(Object.entries(m).map(([T,R])=>[T,T==="id"?R:void 0])),{gridProps:v,labelProps:_,descriptionProps:x,errorMessageProps:E}=hwe({...o,...y,label:c},h,r);var w;return ve.createElement("div",{...m,id:i,ref:t,slot:e.slot||void 0,className:(w=e.className)!==null&&w!==void 0?w:"react-aria-TagGroup",style:e.style},ve.createElement(Ti,{values:[[ms,{..._,elementType:"span",ref:s}],[rhe,{...v,ref:r}],[nh,h],[Po,{slots:{description:x,errorMessage:E}}]]},e.children))}const vrt=P.forwardRef(function(t,n){return P.useContext(nh)?ve.createElement(eRe,{props:t,forwardedRef:n}):ve.createElement(JS,t)});function eRe({props:e,forwardedRef:t}){let n=P.useContext(nh),{CollectionRoot:r}=P.useContext(fp),[i,a]=Nn({},t,rhe),{focusProps:u,isFocused:l,isFocusVisible:o}=Uu(),s={isEmpty:n.collection.size===0,isFocused:l,isFocusVisible:o,state:n},c=Cn({className:e.className,style:e.style,defaultClassName:"react-aria-TagList",values:s}),d=dN(n.selectionManager.focusedKey),h=Yt(e,{global:!0});return ve.createElement("div",{...Et(h,c,i,u),ref:a,"data-empty":n.collection.size===0||void 0,"data-focused":l||void 0,"data-focus-visible":o||void 0},ve.createElement(L3,null,n.collection.size===0&&e.renderEmptyState?e.renderEmptyState(s):ve.createElement(r,{collection:n.collection,persistedKeys:d})))}const yrt=pb(CC,(e,t,n)=>{let r=P.useContext(nh),i=_u(t),{focusProps:a,isFocusVisible:u}=Uu({within:!1}),{rowProps:l,gridCellProps:o,removeButtonProps:s,...c}=mwe({item:n},r,i),{hoverProps:d,isHovered:h}=Eu({isDisabled:!c.allowsSelection,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),m=Cn({...e,id:void 0,children:n.rendered,defaultClassName:"react-aria-Tag",values:{...c,isFocusVisible:u,isHovered:h,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior}});P.useEffect(()=>{n.textValue},[n.textValue]);let y=Yt(e,{global:!0});return delete y.id,delete y.onClick,ve.createElement("div",{ref:i,...Et(y,m,l,a,d),"data-selected":c.isSelected||void 0,"data-disabled":c.isDisabled||void 0,"data-hovered":h||void 0,"data-focused":c.isFocused||void 0,"data-focus-visible":u||void 0,"data-pressed":c.isPressed||void 0,"data-allows-removing":c.allowsRemoving||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode},ve.createElement("div",{...o,style:{display:"contents"}},ve.createElement(Ti,{values:[[th,{slots:{remove:s}}],[fp,fN],[B3,{isSelected:c.isSelected}]]},m.children)))}),ihe=P.createContext({});let tRe=e=>{let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,...i}=e;return i};const brt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,ihe);let{hoverProps:r,isHovered:i}=Eu(t),{isFocused:a,isFocusVisible:u,focusProps:l}=Uu({isTextInput:!0,autoFocus:t.autoFocus}),o=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",s=Cn({...t,values:{isHovered:i,isFocused:a,isFocusVisible:u,isDisabled:t.disabled||!1,isInvalid:o},defaultClassName:"react-aria-TextArea"});return ve.createElement("textarea",{...Et(tRe(t),l,r),...s,ref:n,"data-focused":a||void 0,"data-disabled":t.disabled||void 0,"data-hovered":i||void 0,"data-focus-visible":u||void 0,"data-invalid":o||void 0})}),nRe=P.createContext(null),Ort=db(function(t,n){[t,n]=Nn(t,n,nRe);let{validationBehavior:r}=hs(ap)||{};var i,a;let u=(a=(i=t.validationBehavior)!==null&&i!==void 0?i:r)!==null&&a!==void 0?a:"native",l=P.useRef(null);[t,l]=Nn(t,l,EC);let[o,s]=ps(!t["aria-label"]&&!t["aria-labelledby"]),[c,d]=P.useState("input"),{labelProps:h,inputProps:m,descriptionProps:y,errorMessageProps:v,..._}=$C({...lc(t),inputElementType:c,label:s,validationBehavior:u},l),x=P.useCallback(T=>{l.current=T,T&&d(T instanceof HTMLTextAreaElement?"textarea":"input")},[l]),E=Cn({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:_.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),w=Yt(t,{global:!0});return delete w.id,ve.createElement("div",{...w,...E,ref:n,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":_.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},ve.createElement(Ti,{values:[[ms,{...h,ref:o}],[M0,{...m,ref:x}],[ihe,{...m,ref:x}],[P0,{role:"presentation",isInvalid:_.isInvalid,isDisabled:t.isDisabled||!1}],[Po,{slots:{description:y,errorMessage:v}}],[dp,_]]},E.children))}),AN=P.createContext(null),Srt=P.forwardRef(function(t,n){let r=Jd(),i=Ywe(t.queue),a=_u(n),{regionProps:u}=bwe(t,i,a),{focusProps:l,isFocused:o,isFocusVisible:s}=Uu(),{hoverProps:c,isHovered:d}=Eu({}),h=Cn({...t,children:void 0,defaultClassName:"react-aria-ToastRegion",values:{visibleToasts:i.visibleToasts,isHovered:d,isFocused:o,isFocusVisible:s}}),{direction:m}=Zi(),y,{getContainer:v}=VF();r||(y=document.body,v&&(y=v()));let _=Yt(t,{global:!0}),x=ve.createElement(AN.Provider,{value:i},ve.createElement("div",{...Et(_,h,u,l,c),dir:m,ref:a,"data-hovered":d||void 0,"data-focused":o||void 0,"data-focus-visible":s||void 0},typeof t.children=="function"?ve.createElement(rRe,{...t,className:void 0,style:{display:"contents"}},t.children):t.children));return i.visibleToasts.length>0&&y?zf.createPortal(x,y):null}),rRe=P.forwardRef(function(t,n){let r=P.useContext(AN),{hoverProps:i,isHovered:a}=Eu({}),u=Cn({...t,children:void 0,defaultClassName:"react-aria-ToastList",values:{visibleToasts:r.visibleToasts,isFocused:!1,isFocusVisible:!1,isHovered:a}});return ve.createElement("ol",{...i,...u,ref:n},r.visibleToasts.map(l=>ve.createElement("li",{key:l.key,style:{display:"contents"}},t.children({toast:l}))))}),xrt=P.forwardRef(function(t,n){let r=P.useContext(AN),i=_u(n),{toastProps:a,contentProps:u,titleProps:l,descriptionProps:o,closeButtonProps:s}=vwe(t,r,i),{focusProps:c,isFocused:d,isFocusVisible:h}=Uu(),m=Cn({...t,defaultClassName:"react-aria-Toast",values:{toast:t.toast,isFocused:d,isFocusVisible:h}}),y=Yt(t,{global:!0});return ve.createElement("div",{...Et(y,m,a,c),ref:i,"data-focused":d||void 0,"data-focus-visible":h||void 0},ve.createElement(Ti,{values:[[ahe,u],[Po,{slots:{[zv]:{},title:l,description:o}}],[th,{slots:{[zv]:{},close:s}}]]},m.children))}),ahe=P.createContext({}),_rt=P.forwardRef(function(t,n){return[t,n]=Nn(t,n,ahe),ve.createElement("div",{className:"react-aria-ToastContent",...t,ref:n},t.children)}),iRe=P.createContext({}),uhe=P.createContext(null),Ert=P.forwardRef(function(t,n){[t,n]=Nn(t,n,iRe);let r=u5e(t),{groupProps:i}=r5e(t,r,n),a=Cn({...t,values:{isDisabled:r.isDisabled,state:r},defaultClassName:"react-aria-ToggleButtonGroup"}),u=Yt(t,{global:!0});return ve.createElement("div",{...Et(u,a,i),ref:n,slot:t.slot||void 0,"data-orientation":t.orientation||"horizontal","data-disabled":t.isDisabled||void 0},ve.createElement(uhe.Provider,{value:r},ve.createElement(L3,null,a.children)))}),aRe=P.createContext({}),Drt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,aRe);let r=P.useContext(uhe),i=wC(r&&t.id!=null?{isSelected:r.selectedKeys.has(t.id),onChange(_){r.setSelected(t.id,_)}}:t),{buttonProps:a,isPressed:u,isSelected:l,isDisabled:o}=r&&t.id!=null?i5e({...t,id:t.id},r,n):Hae({...t,id:t.id!=null?String(t.id):void 0},i,n),{focusProps:s,isFocused:c,isFocusVisible:d}=Uu(t),{hoverProps:h,isHovered:m}=Eu(t),y=Cn({...t,id:void 0,values:{isHovered:m,isPressed:u,isFocused:c,isSelected:i.isSelected,isFocusVisible:d,isDisabled:o,state:i},defaultClassName:"react-aria-ToggleButton"}),v=Yt(t,{global:!0});return delete v.id,delete v.onClick,ve.createElement("button",{...Et(v,y,a,s,h),ref:n,slot:t.slot||void 0,"data-focused":c||void 0,"data-disabled":o||void 0,"data-pressed":u||void 0,"data-selected":l||void 0,"data-hovered":m||void 0,"data-focus-visible":d||void 0},ve.createElement(B3.Provider,{value:{isSelected:l}},y.children))}),uRe=P.createContext({}),$rt=P.forwardRef(function(t,n){[t,n]=Nn(t,n,uRe);let{toolbarProps:r}=Xae(t,n),i=Cn({...t,values:{orientation:t.orientation||"horizontal"},defaultClassName:"react-aria-Toolbar"}),a=Yt(t,{global:!0});return delete a.id,ve.createElement("div",{...Et(a,i,r),ref:n,slot:t.slot||void 0,"data-orientation":t.orientation||"horizontal"},i.children)}),TN=P.createContext(null),lhe=P.createContext(null);function Crt(e){let t=nde(e),n=P.useRef(null),{triggerProps:r,tooltipProps:i}=Swe(e,t,n);return ve.createElement(Ti,{values:[[TN,t],[lhe,{...i,triggerRef:n}]]},ve.createElement(oxe,{...r,ref:n},e.children))}const wrt=P.forwardRef(function({UNSTABLE_portalContainer:t,...n},r){[n,r]=Nn(n,r,lhe);let i=P.useContext(TN),a=nde(n),u=n.isOpen!=null||n.defaultOpen!=null||!i?a:i,l=GE(r,u.isOpen)||n.isExiting||!1;return!u.isOpen&&!l?null:ve.createElement(e_e,{portalContainer:t},ve.createElement(lRe,{...n,tooltipRef:r,isExiting:l}))});function lRe(e){let t=P.useContext(TN),n=P.useRef(null),{overlayProps:r,arrowProps:i,placement:a,triggerAnchorPoint:u}=gte({placement:e.placement||"top",targetRef:e.triggerRef,overlayRef:e.tooltipRef,arrowRef:n,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,containerPadding:e.containerPadding,onClose:()=>t.close(!0)}),l=sC(e.tooltipRef,!!a)||e.isEntering||!1,o=Cn({...e,defaultClassName:"react-aria-Tooltip",values:{placement:a,isEntering:l,isExiting:e.isExiting,state:t}});e=Et(e,r);let{tooltipProps:s}=Owe(e,t),c=Yt(e,{global:!0});return ve.createElement("div",{...Et(c,o,s),ref:e.tooltipRef,style:{...r.style,"--trigger-anchor-point":u?`${u.x}px ${u.y}px`:void 0,...o.style},"data-placement":a??void 0,"data-entering":l||void 0,"data-exiting":e.isExiting||void 0},ve.createElement($N.Provider,{value:{...i,placement:a,ref:n}},o.children))}var oRe=Jr(),KT="Invariant Violation",wj=Object.setPrototypeOf,sRe=wj===void 0?function(e,t){return e.__proto__=t,e}:wj,ohe=(function(e){FJ(t,e);function t(n){n===void 0&&(n=KT);var r=e.call(this,typeof n=="number"?KT+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=KT,sRe(r,t.prototype),r}return t})(Error);function b1(e,t){if(!e)throw new ohe(t)}var she=["debug","log","warn","error","silent"],cRe=she.indexOf("log");function T_(e){return function(){if(she.indexOf(e)>=cRe){var t=console[e]||console.log;return t.apply(console,arguments)}}}(function(e){e.debug=T_("debug"),e.log=T_("log"),e.warn=T_("warn"),e.error=T_("error")})(b1||(b1={}));var che="3.13.9";function Xh(e){try{return e()}catch{}}const Rj=Xh(function(){return globalThis})||Xh(function(){return window})||Xh(function(){return self})||Xh(function(){return global})||Xh(function(){return Xh.constructor("return this")()});var Aj=new Map;function fRe(e){var t=Aj.get(e)||1;return Aj.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function dRe(e,t){var n=fRe("stringifyForDisplay");return JSON.stringify(e,function(r,i){return i===void 0?n:i},t).split(JSON.stringify(n)).join("<undefined>")}function k_(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(typeof t=="number"){var i=t;t=kN(i),t||(t=PN(i,n),n=[])}e.apply(void 0,[t].concat(n))}}Object.assign(function(t,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];t||b1(t,kN(n,r)||PN(n,r))},{debug:k_(b1.debug),log:k_(b1.log),warn:k_(b1.warn),error:k_(b1.error)});function hRe(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new ohe(kN(e,t)||PN(e,t))}var Tj=Symbol.for("ApolloErrorMessageHandler_"+che);function fhe(e){if(typeof e=="string")return e;try{return dRe(e,2).slice(0,1e3)}catch{return"<non-serializable>"}}function kN(e,t){if(t===void 0&&(t=[]),!!e)return Rj[Tj]&&Rj[Tj](e,t.map(fhe))}function PN(e,t){if(t===void 0&&(t=[]),!!e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:che,message:e,args:t.map(fhe)})))}Xh(function(){return navigator.product})=="ReactNative";var pRe=typeof Symbol=="function"&&typeof Symbol.for=="function",FC=pRe&&Symbol.asyncIterator;Xh(function(){return window.document.createElement});Xh(function(){return navigator.userAgent.indexOf("jsdom")>=0});function dhe(e){return e!==null&&typeof e=="object"}function mRe(e){return dhe(e)&&"payload"in e}function gRe(e){var t,n=e[Symbol.asyncIterator]();return t={next:function(){return n.next()}},t[Symbol.asyncIterator]=function(){return this},t}function vRe(e){var t=null,n=null,r=!1,i=[],a=[];function u(d){if(!n){if(a.length){var h=a.shift();if(Array.isArray(h)&&h[0])return h[0]({value:d,done:!1})}i.push(d)}}function l(d){n=d;var h=a.slice();h.forEach(function(m){m[1](d)}),!t||t()}function o(){r=!0;var d=a.slice();d.forEach(function(h){h[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",u),e.removeListener("error",l),e.removeListener("end",o),e.removeListener("finish",o),e.removeListener("close",o)},e.on("data",u),e.on("error",l),e.on("end",o),e.on("finish",o),e.on("close",o);function s(){return new Promise(function(d,h){if(n)return h(n);if(i.length)return d({value:i.shift(),done:!1});if(r)return d({value:void 0,done:!0});a.push([d,h])})}var c={next:function(){return s()}};return FC&&(c[Symbol.asyncIterator]=function(){return this}),c}function yRe(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(r,i){e.then(function(a){r({value:a,done:!1})}).catch(i)}))}};return FC&&(n[Symbol.asyncIterator]=function(){return this}),n}function kj(e){var t={next:function(){return e.read()}};return FC&&(t[Symbol.asyncIterator]=function(){return this}),t}function bRe(e){return!!e.body}function ORe(e){return!!e.getReader}function SRe(e){return!!(FC&&e[Symbol.asyncIterator])}function xRe(e){return!!e.stream}function _Re(e){return!!e.arrayBuffer}function ERe(e){return!!e.pipe}function DRe(e){var t=e;if(bRe(e)&&(t=e.body),SRe(t))return gRe(t);if(ORe(t))return kj(t.getReader());if(xRe(t))return kj(t.stream().getReader());if(_Re(t))return yRe(t.arrayBuffer());if(ERe(t))return vRe(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var $Re=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},CRe=Symbol(),wRe=function(e){var t=zO(zO(zO([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(n){return dhe(n)&&n.message||"Error message not found."}).join(`
`)};(function(e){FJ(t,e);function t(n){var r=n.graphQLErrors,i=n.protocolErrors,a=n.clientErrors,u=n.networkError,l=n.errorMessage,o=n.extraInfo,s=e.call(this,l)||this;return s.name="ApolloError",s.graphQLErrors=r||[],s.protocolErrors=i||[],s.clientErrors=a||[],s.networkError=u||null,s.message=l||wRe(s),s.extraInfo=o,s.cause=zO(zO(zO([u],r||[],!0),i||[],!0),a||[],!0).find(function(c){return!!c})||null,s.__proto__=t.prototype,s}return t})(Error);function RRe(e,t){return i2e(this,void 0,void 0,function(){var n,r,i,a,u,l,o,s,c,d,h,m,y,v,_,x,E,w,T,R,C,k,F,z;return a2e(this,function(Z){switch(Z.label){case 0:if(TextDecoder===void 0)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),r=(z=e.headers)===null||z===void 0?void 0:z.get("content-type"),i="boundary=",a=r!=null&&r.includes(i)?r==null?void 0:r.substring((r==null?void 0:r.indexOf(i))+i.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",u=`\r
--`.concat(a),l="",o=DRe(e),s=!0,Z.label=1;case 1:return s?[4,o.next()]:[3,3];case 2:for(c=Z.sent(),d=c.value,h=c.done,m=typeof d=="string"?d:n.decode(d),y=l.length-u.length+1,s=!h,l+=m,v=l.indexOf(u,y);v>-1;){if(_=void 0,k=[l.slice(0,v),l.slice(v+u.length)],_=k[0],l=k[1],x=_.indexOf(`\r
\r
`),E=ARe(_.slice(0,x)),w=E["content-type"],w&&w.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(T=_.slice(x),T){if(R=TRe(e,T),Object.keys(R).length>1||"data"in R||"incremental"in R||"errors"in R||"payload"in R)if(mRe(R)){if(C={},"payload"in R){if(Object.keys(R).length===1&&R.payload===null)return[2];C=Vd({},R.payload)}"errors"in R&&(C=Vd(Vd({},C),{extensions:Vd(Vd({},"extensions"in C?C.extensions:null),(F={},F[CRe]=R.errors,F))})),t(C)}else t(R);else if(Object.keys(R).length===1&&"hasNext"in R&&!R.hasNext)return[2]}v=l.indexOf(u)}return[3,1];case 3:return[2]}})})}function ARe(e){var t={};return e.split(`
`).forEach(function(n){var r=n.indexOf(":");if(r>-1){var i=n.slice(0,r).trim().toLowerCase(),a=n.slice(r+1).trim();t[i]=a}}),t}function TRe(e,t){if(e.status>=300){var n=function(){try{return JSON.parse(t)}catch{return t}};$Re(e,n(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(i){var r=i;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function kRe(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}var PRe=function(e,t){var n;try{n=JSON.stringify(e)}catch(i){var r=hRe(42,t,i.message);throw r.parseError=i,r}return n},MRe={accept:"*/*","content-type":"application/json"},FRe={method:"POST"},Pj={headers:MRe,options:FRe};function NRe(e){var t=Vd(Vd({},Pj.options),{headers:Vd(Vd(Vd({},e||{}),Pj.headers),{accept:"multipart/mixed;boundary=graphql;subscriptionSpec=1.0,application/json"})});return t}var IRe=Xh(function(){return fetch});function Rrt(e,t){var n=t===void 0?{}:t,r=n.fetch,i=n.headers;return function(u,l){var o={operationName:u.name,variables:l,query:u.text||""},s=NRe(i||{});return oRe.Observable.create(function(c){try{s.body=PRe(o,"Payload")}catch(m){c.error(m)}var d=r||Xh(function(){return fetch})||IRe,h=c.next.bind(c);d(e,s).then(function(m){var y,v=(y=m.headers)===null||y===void 0?void 0:y.get("content-type");if(v!==null&&/^multipart\/mixed/i.test(v))return RRe(m,h);c.error(new Error("Expected multipart response"))}).then(function(){c.complete()}).catch(function(m){kRe(m,c)})})}}var LRe="Invariant failed";function Art(e,t){if(!e)throw new Error(LRe)}var fi;(function(e){e.assertEqual=i=>{};function t(i){}e.assertIs=t;function n(i){throw new Error}e.assertNever=n,e.arrayToEnum=i=>{const a={};for(const u of i)a[u]=u;return a},e.getValidEnumValues=i=>{const a=e.objectKeys(i).filter(l=>typeof i[i[l]]!="number"),u={};for(const l of a)u[l]=i[l];return e.objectValues(u)},e.objectValues=i=>e.objectKeys(i).map(function(a){return i[a]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const a=[];for(const u in i)Object.prototype.hasOwnProperty.call(i,u)&&a.push(u);return a},e.find=(i,a)=>{for(const u of i)if(a(u))return u},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&Number.isFinite(i)&&Math.floor(i)===i;function r(i,a=" | "){return i.map(u=>typeof u=="string"?`'${u}'`:u).join(a)}e.joinValues=r,e.jsonStringifyReplacer=(i,a)=>typeof a=="bigint"?a.toString():a})(fi||(fi={}));var Mj;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(Mj||(Mj={}));const fn=fi.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),sv=e=>{switch(typeof e){case"undefined":return fn.undefined;case"string":return fn.string;case"number":return Number.isNaN(e)?fn.nan:fn.number;case"boolean":return fn.boolean;case"function":return fn.function;case"bigint":return fn.bigint;case"symbol":return fn.symbol;case"object":return Array.isArray(e)?fn.array:e===null?fn.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?fn.promise:typeof Map<"u"&&e instanceof Map?fn.map:typeof Set<"u"&&e instanceof Set?fn.set:typeof Date<"u"&&e instanceof Date?fn.date:fn.object;default:return fn.unknown}},Ft=fi.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class tg extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(a){return a.message},r={_errors:[]},i=a=>{for(const u of a.issues)if(u.code==="invalid_union")u.unionErrors.map(i);else if(u.code==="invalid_return_type")i(u.returnTypeError);else if(u.code==="invalid_arguments")i(u.argumentsError);else if(u.path.length===0)r._errors.push(n(u));else{let l=r,o=0;for(;o<u.path.length;){const s=u.path[o];o===u.path.length-1?(l[s]=l[s]||{_errors:[]},l[s]._errors.push(n(u))):l[s]=l[s]||{_errors:[]},l=l[s],o++}}};return i(this),r}static assert(t){if(!(t instanceof tg))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,fi.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const i of this.issues)if(i.path.length>0){const a=i.path[0];n[a]=n[a]||[],n[a].push(t(i))}else r.push(t(i));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}tg.create=e=>new tg(e);const v9=(e,t)=>{let n;switch(e.code){case Ft.invalid_type:e.received===fn.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case Ft.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,fi.jsonStringifyReplacer)}`;break;case Ft.unrecognized_keys:n=`Unrecognized key(s) in object: ${fi.joinValues(e.keys,", ")}`;break;case Ft.invalid_union:n="Invalid input";break;case Ft.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${fi.joinValues(e.options)}`;break;case Ft.invalid_enum_value:n=`Invalid enum value. Expected ${fi.joinValues(e.options)}, received '${e.received}'`;break;case Ft.invalid_arguments:n="Invalid function arguments";break;case Ft.invalid_return_type:n="Invalid function return type";break;case Ft.invalid_date:n="Invalid date";break;case Ft.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:fi.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case Ft.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case Ft.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case Ft.custom:n="Invalid input";break;case Ft.invalid_intersection_types:n="Intersection results could not be merged";break;case Ft.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case Ft.not_finite:n="Number must be finite";break;default:n=t.defaultError,fi.assertNever(e)}return{message:n}};let BRe=v9;function QRe(){return BRe}const zRe=e=>{const{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],u={...i,path:a};if(i.message!==void 0)return{...i,path:a,message:i.message};let l="";const o=r.filter(s=>!!s).slice().reverse();for(const s of o)l=s(u,{data:t,defaultError:l}).message;return{...i,path:a,message:l}};function Jt(e,t){const n=QRe(),r=zRe({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===v9?void 0:v9].filter(i=>!!i)});e.common.issues.push(r)}class oc{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const i of n){if(i.status==="aborted")return Yn;i.status==="dirty"&&t.dirty(),r.push(i.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const i of n){const a=await i.key,u=await i.value;r.push({key:a,value:u})}return oc.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const i of n){const{key:a,value:u}=i;if(a.status==="aborted"||u.status==="aborted")return Yn;a.status==="dirty"&&t.dirty(),u.status==="dirty"&&t.dirty(),a.value!=="__proto__"&&(typeof u.value<"u"||i.alwaysSet)&&(r[a.value]=u.value)}return{status:t.value,value:r}}}const Yn=Object.freeze({status:"aborted"}),v2=e=>({status:"dirty",value:e}),rh=e=>({status:"valid",value:e}),Fj=e=>e.status==="aborted",Nj=e=>e.status==="dirty",p3=e=>e.status==="valid",ED=e=>typeof Promise<"u"&&e instanceof Promise;var On;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(On||(On={}));class $0{constructor(t,n,r,i){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=i}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Ij=(e,t)=>{if(p3(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new tg(e.common.issues);return this._error=n,this._error}}};function pr(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(u,l)=>{const{message:o}=e;return u.code==="invalid_enum_value"?{message:o??l.defaultError}:typeof l.data>"u"?{message:o??r??l.defaultError}:u.code!=="invalid_type"?{message:l.defaultError}:{message:o??n??l.defaultError}},description:i}}class jr{get description(){return this._def.description}_getType(t){return sv(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:sv(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new oc,ctx:{common:t.parent.common,data:t.data,parsedType:sv(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(ED(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:(n==null?void 0:n.async)??!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:sv(t)},i=this._parseSync({data:t,path:r.path,parent:r});return Ij(r,i)}"~validate"(t){var r,i;const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:sv(t)};if(!this["~standard"].async)try{const a=this._parseSync({data:t,path:[],parent:n});return p3(a)?{value:a.value}:{issues:n.common.issues}}catch(a){(i=(r=a==null?void 0:a.message)==null?void 0:r.toLowerCase())!=null&&i.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(a=>p3(a)?{value:a.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:sv(t)},i=this._parse({data:t,path:r.path,parent:r}),a=await(ED(i)?i:Promise.resolve(i));return Ij(r,a)}refine(t,n){const r=i=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(i):n;return this._refinement((i,a)=>{const u=t(i),l=()=>a.addIssue({code:Ft.custom,...r(i)});return typeof Promise<"u"&&u instanceof Promise?u.then(o=>o?!0:(l(),!1)):u?!0:(l(),!1)})}refinement(t,n){return this._refinement((r,i)=>t(r)?!0:(i.addIssue(typeof n=="function"?n(r,i):n),!1))}_refinement(t){return new K1({schema:this,typeName:It.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Ym.create(this,this._def)}nullable(){return W1.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return _0.create(this)}promise(){return kD.create(this,this._def)}or(t){return CD.create([this,t],this._def)}and(t){return wD.create(this,t,this._def)}transform(t){return new K1({...pr(this._def),schema:this,typeName:It.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new PD({...pr(this._def),innerType:this,defaultValue:n,typeName:It.ZodDefault})}brand(){return new ghe({typeName:It.ZodBranded,type:this,...pr(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new MD({...pr(this._def),innerType:this,catchValue:n,typeName:It.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return FN.create(this,t)}readonly(){return FD.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const qRe=/^c[^\s-]{8,}$/i,VRe=/^[0-9a-z]+$/,URe=/^[0-9A-HJKMNP-TV-Z]{26}$/i,jRe=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,ZRe=/^[a-z0-9_-]{21}$/i,HRe=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,XRe=/^[-+]?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)?)??$/,YRe=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,GRe="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let WT;const KRe=/^(?:(?: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])$/,WRe=/^(?:(?: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])\/(3[0-2]|[12]?[0-9])$/,JRe=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,eAe=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,tAe=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,nAe=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,hhe="((\\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])))",rAe=new RegExp(`^${hhe}$`);function phe(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function iAe(e){return new RegExp(`^${phe(e)}$`)}function aAe(e){let t=`${hhe}T${phe(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function uAe(e,t){return!!((t==="v4"||!t)&&KRe.test(e)||(t==="v6"||!t)&&JRe.test(e))}function lAe(e,t){if(!HRe.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),i=JSON.parse(atob(r));return!(typeof i!="object"||i===null||"typ"in i&&(i==null?void 0:i.typ)!=="JWT"||!i.alg||t&&i.alg!==t)}catch{return!1}}function oAe(e,t){return!!((t==="v4"||!t)&&WRe.test(e)||(t==="v6"||!t)&&eAe.test(e))}class Um extends jr{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==fn.string){const a=this._getOrReturnCtx(t);return Jt(a,{code:Ft.invalid_type,expected:fn.string,received:a.parsedType}),Yn}const r=new oc;let i;for(const a of this._def.checks)if(a.kind==="min")t.data.length<a.value&&(i=this._getOrReturnCtx(t,i),Jt(i,{code:Ft.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="max")t.data.length>a.value&&(i=this._getOrReturnCtx(t,i),Jt(i,{code:Ft.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="length"){const u=t.data.length>a.value,l=t.data.length<a.value;(u||l)&&(i=this._getOrReturnCtx(t,i),u?Jt(i,{code:Ft.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):l&&Jt(i,{code:Ft.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),r.dirty())}else if(a.kind==="email")YRe.test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"email",code:Ft.invalid_string,message:a.message}),r.dirty());else if(a.kind==="emoji")WT||(WT=new RegExp(GRe,"u")),WT.test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"emoji",code:Ft.invalid_string,message:a.message}),r.dirty());else if(a.kind==="uuid")jRe.test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"uuid",code:Ft.invalid_string,message:a.message}),r.dirty());else if(a.kind==="nanoid")ZRe.test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"nanoid",code:Ft.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid")qRe.test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"cuid",code:Ft.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid2")VRe.test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"cuid2",code:Ft.invalid_string,message:a.message}),r.dirty());else if(a.kind==="ulid")URe.test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"ulid",code:Ft.invalid_string,message:a.message}),r.dirty());else if(a.kind==="url")try{new URL(t.data)}catch{i=this._getOrReturnCtx(t,i),Jt(i,{validation:"url",code:Ft.invalid_string,message:a.message}),r.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"regex",code:Ft.invalid_string,message:a.message}),r.dirty())):a.kind==="trim"?t.data=t.data.trim():a.kind==="includes"?t.data.includes(a.value,a.position)||(i=this._getOrReturnCtx(t,i),Jt(i,{code:Ft.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),r.dirty()):a.kind==="toLowerCase"?t.data=t.data.toLowerCase():a.kind==="toUpperCase"?t.data=t.data.toUpperCase():a.kind==="startsWith"?t.data.startsWith(a.value)||(i=this._getOrReturnCtx(t,i),Jt(i,{code:Ft.invalid_string,validation:{startsWith:a.value},message:a.message}),r.dirty()):a.kind==="endsWith"?t.data.endsWith(a.value)||(i=this._getOrReturnCtx(t,i),Jt(i,{code:Ft.invalid_string,validation:{endsWith:a.value},message:a.message}),r.dirty()):a.kind==="datetime"?aAe(a).test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{code:Ft.invalid_string,validation:"datetime",message:a.message}),r.dirty()):a.kind==="date"?rAe.test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{code:Ft.invalid_string,validation:"date",message:a.message}),r.dirty()):a.kind==="time"?iAe(a).test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{code:Ft.invalid_string,validation:"time",message:a.message}),r.dirty()):a.kind==="duration"?XRe.test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"duration",code:Ft.invalid_string,message:a.message}),r.dirty()):a.kind==="ip"?uAe(t.data,a.version)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"ip",code:Ft.invalid_string,message:a.message}),r.dirty()):a.kind==="jwt"?lAe(t.data,a.alg)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"jwt",code:Ft.invalid_string,message:a.message}),r.dirty()):a.kind==="cidr"?oAe(t.data,a.version)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"cidr",code:Ft.invalid_string,message:a.message}),r.dirty()):a.kind==="base64"?tAe.test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"base64",code:Ft.invalid_string,message:a.message}),r.dirty()):a.kind==="base64url"?nAe.test(t.data)||(i=this._getOrReturnCtx(t,i),Jt(i,{validation:"base64url",code:Ft.invalid_string,message:a.message}),r.dirty()):fi.assertNever(a);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(i=>t.test(i),{validation:n,code:Ft.invalid_string,...On.errToObj(r)})}_addCheck(t){return new Um({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...On.errToObj(t)})}url(t){return this._addCheck({kind:"url",...On.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...On.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...On.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...On.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...On.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...On.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...On.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...On.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...On.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...On.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...On.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...On.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(t==null?void 0:t.offset)??!1,local:(t==null?void 0:t.local)??!1,...On.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...On.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...On.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...On.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...On.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...On.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...On.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...On.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...On.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...On.errToObj(n)})}nonempty(t){return this.min(1,On.errToObj(t))}trim(){return new Um({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Um({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Um({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Um.create=e=>new Um({checks:[],typeName:It.ZodString,coerce:(e==null?void 0:e.coerce)??!1,...pr(e)});function sAe(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r,a=Number.parseInt(e.toFixed(i).replace(".","")),u=Number.parseInt(t.toFixed(i).replace(".",""));return a%u/10**i}class m3 extends jr{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==fn.number){const a=this._getOrReturnCtx(t);return Jt(a,{code:Ft.invalid_type,expected:fn.number,received:a.parsedType}),Yn}let r;const i=new oc;for(const a of this._def.checks)a.kind==="int"?fi.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),Jt(r,{code:Ft.invalid_type,expected:"integer",received:"float",message:a.message}),i.dirty()):a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(r=this._getOrReturnCtx(t,r),Jt(r,{code:Ft.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),Jt(r,{code:Ft.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="multipleOf"?sAe(t.data,a.value)!==0&&(r=this._getOrReturnCtx(t,r),Jt(r,{code:Ft.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):a.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),Jt(r,{code:Ft.not_finite,message:a.message}),i.dirty()):fi.assertNever(a);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,On.toString(n))}gt(t,n){return this.setLimit("min",t,!1,On.toString(n))}lte(t,n){return this.setLimit("max",t,!0,On.toString(n))}lt(t,n){return this.setLimit("max",t,!1,On.toString(n))}setLimit(t,n,r,i){return new m3({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:On.toString(i)}]})}_addCheck(t){return new m3({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:On.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:On.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:On.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:On.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:On.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:On.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:On.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:On.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:On.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&fi.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}m3.create=e=>new m3({checks:[],typeName:It.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...pr(e)});class lS extends jr{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==fn.bigint)return this._getInvalidInput(t);let r;const i=new oc;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(r=this._getOrReturnCtx(t,r),Jt(r,{code:Ft.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(r=this._getOrReturnCtx(t,r),Jt(r,{code:Ft.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="multipleOf"?t.data%a.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),Jt(r,{code:Ft.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):fi.assertNever(a);return{status:i.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return Jt(n,{code:Ft.invalid_type,expected:fn.bigint,received:n.parsedType}),Yn}gte(t,n){return this.setLimit("min",t,!0,On.toString(n))}gt(t,n){return this.setLimit("min",t,!1,On.toString(n))}lte(t,n){return this.setLimit("max",t,!0,On.toString(n))}lt(t,n){return this.setLimit("max",t,!1,On.toString(n))}setLimit(t,n,r,i){return new lS({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:On.toString(i)}]})}_addCheck(t){return new lS({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:On.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:On.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:On.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:On.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:On.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}lS.create=e=>new lS({checks:[],typeName:It.ZodBigInt,coerce:(e==null?void 0:e.coerce)??!1,...pr(e)});class y9 extends jr{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==fn.boolean){const r=this._getOrReturnCtx(t);return Jt(r,{code:Ft.invalid_type,expected:fn.boolean,received:r.parsedType}),Yn}return rh(t.data)}}y9.create=e=>new y9({typeName:It.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...pr(e)});class DD extends jr{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==fn.date){const a=this._getOrReturnCtx(t);return Jt(a,{code:Ft.invalid_type,expected:fn.date,received:a.parsedType}),Yn}if(Number.isNaN(t.data.getTime())){const a=this._getOrReturnCtx(t);return Jt(a,{code:Ft.invalid_date}),Yn}const r=new oc;let i;for(const a of this._def.checks)a.kind==="min"?t.data.getTime()<a.value&&(i=this._getOrReturnCtx(t,i),Jt(i,{code:Ft.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),r.dirty()):a.kind==="max"?t.data.getTime()>a.value&&(i=this._getOrReturnCtx(t,i),Jt(i,{code:Ft.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),r.dirty()):fi.assertNever(a);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new DD({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:On.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:On.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}DD.create=e=>new DD({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:It.ZodDate,...pr(e)});class Lj extends jr{_parse(t){if(this._getType(t)!==fn.symbol){const r=this._getOrReturnCtx(t);return Jt(r,{code:Ft.invalid_type,expected:fn.symbol,received:r.parsedType}),Yn}return rh(t.data)}}Lj.create=e=>new Lj({typeName:It.ZodSymbol,...pr(e)});class b9 extends jr{_parse(t){if(this._getType(t)!==fn.undefined){const r=this._getOrReturnCtx(t);return Jt(r,{code:Ft.invalid_type,expected:fn.undefined,received:r.parsedType}),Yn}return rh(t.data)}}b9.create=e=>new b9({typeName:It.ZodUndefined,...pr(e)});class $D extends jr{_parse(t){if(this._getType(t)!==fn.null){const r=this._getOrReturnCtx(t);return Jt(r,{code:Ft.invalid_type,expected:fn.null,received:r.parsedType}),Yn}return rh(t.data)}}$D.create=e=>new $D({typeName:It.ZodNull,...pr(e)});class Bj extends jr{constructor(){super(...arguments),this._any=!0}_parse(t){return rh(t.data)}}Bj.create=e=>new Bj({typeName:It.ZodAny,...pr(e)});class O9 extends jr{constructor(){super(...arguments),this._unknown=!0}_parse(t){return rh(t.data)}}O9.create=e=>new O9({typeName:It.ZodUnknown,...pr(e)});class qv extends jr{_parse(t){const n=this._getOrReturnCtx(t);return Jt(n,{code:Ft.invalid_type,expected:fn.never,received:n.parsedType}),Yn}}qv.create=e=>new qv({typeName:It.ZodNever,...pr(e)});class Qj extends jr{_parse(t){if(this._getType(t)!==fn.undefined){const r=this._getOrReturnCtx(t);return Jt(r,{code:Ft.invalid_type,expected:fn.void,received:r.parsedType}),Yn}return rh(t.data)}}Qj.create=e=>new Qj({typeName:It.ZodVoid,...pr(e)});class _0 extends jr{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),i=this._def;if(n.parsedType!==fn.array)return Jt(n,{code:Ft.invalid_type,expected:fn.array,received:n.parsedType}),Yn;if(i.exactLength!==null){const u=n.data.length>i.exactLength.value,l=n.data.length<i.exactLength.value;(u||l)&&(Jt(n,{code:u?Ft.too_big:Ft.too_small,minimum:l?i.exactLength.value:void 0,maximum:u?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),r.dirty())}if(i.minLength!==null&&n.data.length<i.minLength.value&&(Jt(n,{code:Ft.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),r.dirty()),i.maxLength!==null&&n.data.length>i.maxLength.value&&(Jt(n,{code:Ft.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((u,l)=>i.type._parseAsync(new $0(n,u,n.path,l)))).then(u=>oc.mergeArray(r,u));const a=[...n.data].map((u,l)=>i.type._parseSync(new $0(n,u,n.path,l)));return oc.mergeArray(r,a)}get element(){return this._def.type}min(t,n){return new _0({...this._def,minLength:{value:t,message:On.toString(n)}})}max(t,n){return new _0({...this._def,maxLength:{value:t,message:On.toString(n)}})}length(t,n){return new _0({...this._def,exactLength:{value:t,message:On.toString(n)}})}nonempty(t){return this.min(1,t)}}_0.create=(e,t)=>new _0({type:e,minLength:null,maxLength:null,exactLength:null,typeName:It.ZodArray,...pr(t)});function xO(e){if(e instanceof fl){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Ym.create(xO(r))}return new fl({...e._def,shape:()=>t})}else return e instanceof _0?new _0({...e._def,type:xO(e.element)}):e instanceof Ym?Ym.create(xO(e.unwrap())):e instanceof W1?W1.create(xO(e.unwrap())):e instanceof Y1?Y1.create(e.items.map(t=>xO(t))):e}class fl extends jr{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=fi.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==fn.object){const s=this._getOrReturnCtx(t);return Jt(s,{code:Ft.invalid_type,expected:fn.object,received:s.parsedType}),Yn}const{status:r,ctx:i}=this._processInputParams(t),{shape:a,keys:u}=this._getCached(),l=[];if(!(this._def.catchall instanceof qv&&this._def.unknownKeys==="strip"))for(const s in i.data)u.includes(s)||l.push(s);const o=[];for(const s of u){const c=a[s],d=i.data[s];o.push({key:{status:"valid",value:s},value:c._parse(new $0(i,d,i.path,s)),alwaysSet:s in i.data})}if(this._def.catchall instanceof qv){const s=this._def.unknownKeys;if(s==="passthrough")for(const c of l)o.push({key:{status:"valid",value:c},value:{status:"valid",value:i.data[c]}});else if(s==="strict")l.length>0&&(Jt(i,{code:Ft.unrecognized_keys,keys:l}),r.dirty());else if(s!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const s=this._def.catchall;for(const c of l){const d=i.data[c];o.push({key:{status:"valid",value:c},value:s._parse(new $0(i,d,i.path,c)),alwaysSet:c in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const s=[];for(const c of o){const d=await c.key,h=await c.value;s.push({key:d,value:h,alwaysSet:c.alwaysSet})}return s}).then(s=>oc.mergeObjectSync(r,s)):oc.mergeObjectSync(r,o)}get shape(){return this._def.shape()}strict(t){return On.errToObj,new fl({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var a,u;const i=((u=(a=this._def).errorMap)==null?void 0:u.call(a,n,r).message)??r.defaultError;return n.code==="unrecognized_keys"?{message:On.errToObj(t).message??i}:{message:i}}}:{}})}strip(){return new fl({...this._def,unknownKeys:"strip"})}passthrough(){return new fl({...this._def,unknownKeys:"passthrough"})}extend(t){return new fl({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new fl({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:It.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new fl({...this._def,catchall:t})}pick(t){const n={};for(const r of fi.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new fl({...this._def,shape:()=>n})}omit(t){const n={};for(const r of fi.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new fl({...this._def,shape:()=>n})}deepPartial(){return xO(this)}partial(t){const n={};for(const r of fi.objectKeys(this.shape)){const i=this.shape[r];t&&!t[r]?n[r]=i:n[r]=i.optional()}return new fl({...this._def,shape:()=>n})}required(t){const n={};for(const r of fi.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let a=this.shape[r];for(;a instanceof Ym;)a=a._def.innerType;n[r]=a}return new fl({...this._def,shape:()=>n})}keyof(){return mhe(fi.objectKeys(this.shape))}}fl.create=(e,t)=>new fl({shape:()=>e,unknownKeys:"strip",catchall:qv.create(),typeName:It.ZodObject,...pr(t)});fl.strictCreate=(e,t)=>new fl({shape:()=>e,unknownKeys:"strict",catchall:qv.create(),typeName:It.ZodObject,...pr(t)});fl.lazycreate=(e,t)=>new fl({shape:e,unknownKeys:"strip",catchall:qv.create(),typeName:It.ZodObject,...pr(t)});class CD extends jr{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function i(a){for(const l of a)if(l.result.status==="valid")return l.result;for(const l of a)if(l.result.status==="dirty")return n.common.issues.push(...l.ctx.common.issues),l.result;const u=a.map(l=>new tg(l.ctx.common.issues));return Jt(n,{code:Ft.invalid_union,unionErrors:u}),Yn}if(n.common.async)return Promise.all(r.map(async a=>{const u={...n,common:{...n.common,issues:[]},parent:null};return{result:await a._parseAsync({data:n.data,path:n.path,parent:u}),ctx:u}})).then(i);{let a;const u=[];for(const o of r){const s={...n,common:{...n.common,issues:[]},parent:null},c=o._parseSync({data:n.data,path:n.path,parent:s});if(c.status==="valid")return c;c.status==="dirty"&&!a&&(a={result:c,ctx:s}),s.common.issues.length&&u.push(s.common.issues)}if(a)return n.common.issues.push(...a.ctx.common.issues),a.result;const l=u.map(o=>new tg(o));return Jt(n,{code:Ft.invalid_union,unionErrors:l}),Yn}}get options(){return this._def.options}}CD.create=(e,t)=>new CD({options:e,typeName:It.ZodUnion,...pr(t)});const $m=e=>e instanceof AD?$m(e.schema):e instanceof K1?$m(e.innerType()):e instanceof TD?[e.value]:e instanceof G1?e.options:e instanceof x9?fi.objectValues(e.enum):e instanceof PD?$m(e._def.innerType):e instanceof b9?[void 0]:e instanceof $D?[null]:e instanceof Ym?[void 0,...$m(e.unwrap())]:e instanceof W1?[null,...$m(e.unwrap())]:e instanceof ghe||e instanceof FD?$m(e.unwrap()):e instanceof MD?$m(e._def.innerType):[];class MN extends jr{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==fn.object)return Jt(n,{code:Ft.invalid_type,expected:fn.object,received:n.parsedType}),Yn;const r=this.discriminator,i=n.data[r],a=this.optionsMap.get(i);return a?n.common.async?a._parseAsync({data:n.data,path:n.path,parent:n}):a._parseSync({data:n.data,path:n.path,parent:n}):(Jt(n,{code:Ft.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),Yn)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const i=new Map;for(const a of n){const u=$m(a.shape[t]);if(!u.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const l of u){if(i.has(l))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(l)}`);i.set(l,a)}}return new MN({typeName:It.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:i,...pr(r)})}}function S9(e,t){const n=sv(e),r=sv(t);if(e===t)return{valid:!0,data:e};if(n===fn.object&&r===fn.object){const i=fi.objectKeys(t),a=fi.objectKeys(e).filter(l=>i.indexOf(l)!==-1),u={...e,...t};for(const l of a){const o=S9(e[l],t[l]);if(!o.valid)return{valid:!1};u[l]=o.data}return{valid:!0,data:u}}else if(n===fn.array&&r===fn.array){if(e.length!==t.length)return{valid:!1};const i=[];for(let a=0;a<e.length;a++){const u=e[a],l=t[a],o=S9(u,l);if(!o.valid)return{valid:!1};i.push(o.data)}return{valid:!0,data:i}}else return n===fn.date&&r===fn.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class wD extends jr{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=(a,u)=>{if(Fj(a)||Fj(u))return Yn;const l=S9(a.value,u.value);return l.valid?((Nj(a)||Nj(u))&&n.dirty(),{status:n.value,value:l.data}):(Jt(r,{code:Ft.invalid_intersection_types}),Yn)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([a,u])=>i(a,u)):i(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}wD.create=(e,t,n)=>new wD({left:e,right:t,typeName:It.ZodIntersection,...pr(n)});class Y1 extends jr{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==fn.array)return Jt(r,{code:Ft.invalid_type,expected:fn.array,received:r.parsedType}),Yn;if(r.data.length<this._def.items.length)return Jt(r,{code:Ft.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Yn;!this._def.rest&&r.data.length>this._def.items.length&&(Jt(r,{code:Ft.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const a=[...r.data].map((u,l)=>{const o=this._def.items[l]||this._def.rest;return o?o._parse(new $0(r,u,r.path,l)):null}).filter(u=>!!u);return r.common.async?Promise.all(a).then(u=>oc.mergeArray(n,u)):oc.mergeArray(n,a)}get items(){return this._def.items}rest(t){return new Y1({...this._def,rest:t})}}Y1.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Y1({items:e,typeName:It.ZodTuple,rest:null,...pr(t)})};class RD extends jr{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==fn.object)return Jt(r,{code:Ft.invalid_type,expected:fn.object,received:r.parsedType}),Yn;const i=[],a=this._def.keyType,u=this._def.valueType;for(const l in r.data)i.push({key:a._parse(new $0(r,l,r.path,l)),value:u._parse(new $0(r,r.data[l],r.path,l)),alwaysSet:l in r.data});return r.common.async?oc.mergeObjectAsync(n,i):oc.mergeObjectSync(n,i)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof jr?new RD({keyType:t,valueType:n,typeName:It.ZodRecord,...pr(r)}):new RD({keyType:Um.create(),valueType:t,typeName:It.ZodRecord,...pr(n)})}}class zj extends jr{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==fn.map)return Jt(r,{code:Ft.invalid_type,expected:fn.map,received:r.parsedType}),Yn;const i=this._def.keyType,a=this._def.valueType,u=[...r.data.entries()].map(([l,o],s)=>({key:i._parse(new $0(r,l,r.path,[s,"key"])),value:a._parse(new $0(r,o,r.path,[s,"value"]))}));if(r.common.async){const l=new Map;return Promise.resolve().then(async()=>{for(const o of u){const s=await o.key,c=await o.value;if(s.status==="aborted"||c.status==="aborted")return Yn;(s.status==="dirty"||c.status==="dirty")&&n.dirty(),l.set(s.value,c.value)}return{status:n.value,value:l}})}else{const l=new Map;for(const o of u){const s=o.key,c=o.value;if(s.status==="aborted"||c.status==="aborted")return Yn;(s.status==="dirty"||c.status==="dirty")&&n.dirty(),l.set(s.value,c.value)}return{status:n.value,value:l}}}}zj.create=(e,t,n)=>new zj({valueType:t,keyType:e,typeName:It.ZodMap,...pr(n)});class oS extends jr{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==fn.set)return Jt(r,{code:Ft.invalid_type,expected:fn.set,received:r.parsedType}),Yn;const i=this._def;i.minSize!==null&&r.data.size<i.minSize.value&&(Jt(r,{code:Ft.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),n.dirty()),i.maxSize!==null&&r.data.size>i.maxSize.value&&(Jt(r,{code:Ft.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());const a=this._def.valueType;function u(o){const s=new Set;for(const c of o){if(c.status==="aborted")return Yn;c.status==="dirty"&&n.dirty(),s.add(c.value)}return{status:n.value,value:s}}const l=[...r.data.values()].map((o,s)=>a._parse(new $0(r,o,r.path,s)));return r.common.async?Promise.all(l).then(o=>u(o)):u(l)}min(t,n){return new oS({...this._def,minSize:{value:t,message:On.toString(n)}})}max(t,n){return new oS({...this._def,maxSize:{value:t,message:On.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}oS.create=(e,t)=>new oS({valueType:e,minSize:null,maxSize:null,typeName:It.ZodSet,...pr(t)});class AD extends jr{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}AD.create=(e,t)=>new AD({getter:e,typeName:It.ZodLazy,...pr(t)});class TD extends jr{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return Jt(n,{received:n.data,code:Ft.invalid_literal,expected:this._def.value}),Yn}return{status:"valid",value:t.data}}get value(){return this._def.value}}TD.create=(e,t)=>new TD({value:e,typeName:It.ZodLiteral,...pr(t)});function mhe(e,t){return new G1({values:e,typeName:It.ZodEnum,...pr(t)})}class G1 extends jr{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return Jt(n,{expected:fi.joinValues(r),received:n.parsedType,code:Ft.invalid_type}),Yn}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return Jt(n,{received:n.data,code:Ft.invalid_enum_value,options:r}),Yn}return rh(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return G1.create(t,{...this._def,...n})}exclude(t,n=this._def){return G1.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}G1.create=mhe;class x9 extends jr{_parse(t){const n=fi.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==fn.string&&r.parsedType!==fn.number){const i=fi.objectValues(n);return Jt(r,{expected:fi.joinValues(i),received:r.parsedType,code:Ft.invalid_type}),Yn}if(this._cache||(this._cache=new Set(fi.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const i=fi.objectValues(n);return Jt(r,{received:r.data,code:Ft.invalid_enum_value,options:i}),Yn}return rh(t.data)}get enum(){return this._def.values}}x9.create=(e,t)=>new x9({values:e,typeName:It.ZodNativeEnum,...pr(t)});class kD extends jr{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==fn.promise&&n.common.async===!1)return Jt(n,{code:Ft.invalid_type,expected:fn.promise,received:n.parsedType}),Yn;const r=n.parsedType===fn.promise?n.data:Promise.resolve(n.data);return rh(r.then(i=>this._def.type.parseAsync(i,{path:n.path,errorMap:n.common.contextualErrorMap})))}}kD.create=(e,t)=>new kD({type:e,typeName:It.ZodPromise,...pr(t)});class K1 extends jr{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===It.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=this._def.effect||null,a={addIssue:u=>{Jt(r,u),u.fatal?n.abort():n.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),i.type==="preprocess"){const u=i.transform(r.data,a);if(r.common.async)return Promise.resolve(u).then(async l=>{if(n.value==="aborted")return Yn;const o=await this._def.schema._parseAsync({data:l,path:r.path,parent:r});return o.status==="aborted"?Yn:o.status==="dirty"||n.value==="dirty"?v2(o.value):o});{if(n.value==="aborted")return Yn;const l=this._def.schema._parseSync({data:u,path:r.path,parent:r});return l.status==="aborted"?Yn:l.status==="dirty"||n.value==="dirty"?v2(l.value):l}}if(i.type==="refinement"){const u=l=>{const o=i.refinement(l,a);if(r.common.async)return Promise.resolve(o);if(o instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return l};if(r.common.async===!1){const l=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return l.status==="aborted"?Yn:(l.status==="dirty"&&n.dirty(),u(l.value),{status:n.value,value:l.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(l=>l.status==="aborted"?Yn:(l.status==="dirty"&&n.dirty(),u(l.value).then(()=>({status:n.value,value:l.value}))))}if(i.type==="transform")if(r.common.async===!1){const u=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!p3(u))return Yn;const l=i.transform(u.value,a);if(l instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:l}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(u=>p3(u)?Promise.resolve(i.transform(u.value,a)).then(l=>({status:n.value,value:l})):Yn);fi.assertNever(i)}}K1.create=(e,t,n)=>new K1({schema:e,typeName:It.ZodEffects,effect:t,...pr(n)});K1.createWithPreprocess=(e,t,n)=>new K1({schema:t,effect:{type:"preprocess",transform:e},typeName:It.ZodEffects,...pr(n)});class Ym extends jr{_parse(t){return this._getType(t)===fn.undefined?rh(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ym.create=(e,t)=>new Ym({innerType:e,typeName:It.ZodOptional,...pr(t)});class W1 extends jr{_parse(t){return this._getType(t)===fn.null?rh(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}W1.create=(e,t)=>new W1({innerType:e,typeName:It.ZodNullable,...pr(t)});class PD extends jr{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===fn.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}PD.create=(e,t)=>new PD({innerType:e,typeName:It.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...pr(t)});class MD extends jr{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},i=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return ED(i)?i.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new tg(r.common.issues)},input:r.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new tg(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}MD.create=(e,t)=>new MD({innerType:e,typeName:It.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...pr(t)});class qj extends jr{_parse(t){if(this._getType(t)!==fn.nan){const r=this._getOrReturnCtx(t);return Jt(r,{code:Ft.invalid_type,expected:fn.nan,received:r.parsedType}),Yn}return{status:"valid",value:t.data}}}qj.create=e=>new qj({typeName:It.ZodNaN,...pr(e)});class ghe extends jr{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class FN extends jr{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?Yn:a.status==="dirty"?(n.dirty(),v2(a.value)):this._def.out._parseAsync({data:a.value,path:r.path,parent:r})})();{const i=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?Yn:i.status==="dirty"?(n.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:r.path,parent:r})}}static create(t,n){return new FN({in:t,out:n,typeName:It.ZodPipeline})}}class FD extends jr{_parse(t){const n=this._def.innerType._parse(t),r=i=>(p3(i)&&(i.value=Object.freeze(i.value)),i);return ED(n)?n.then(i=>r(i)):r(n)}unwrap(){return this._def.innerType}}FD.create=(e,t)=>new FD({innerType:e,typeName:It.ZodReadonly,...pr(t)});var It;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(It||(It={}));const Trt=Um.create,krt=m3.create,Prt=y9.create,Mrt=$D.create,Frt=O9.create;qv.create;const Nrt=_0.create,Irt=fl.create,Lrt=CD.create,Brt=MN.create;wD.create;Y1.create;const Qrt=RD.create,zrt=AD.create,qrt=TD.create,Vrt=G1.create;kD.create;Ym.create;W1.create;const Urt=Yn,vhe=1024;let cAe=0;class JT{constructor(t,n){this.from=t,this.to=n}}class Sa{constructor(t={}){this.id=cAe++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(t){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof t!="function"&&(t=up.match(t)),n=>{let r=t(n);return r===void 0?null:[this,r]}}}Sa.closedBy=new Sa({deserialize:e=>e.split(" ")});Sa.openedBy=new Sa({deserialize:e=>e.split(" ")});Sa.group=new Sa({deserialize:e=>e.split(" ")});Sa.isolate=new Sa({deserialize:e=>{if(e&&e!="rtl"&&e!="ltr"&&e!="auto")throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}});Sa.contextHash=new Sa({perNode:!0});Sa.lookAhead=new Sa({perNode:!0});Sa.mounted=new Sa({perNode:!0});class ND{constructor(t,n,r){this.tree=t,this.overlay=n,this.parser=r}static get(t){return t&&t.props&&t.props[Sa.mounted.id]}}const fAe=Object.create(null);class up{constructor(t,n,r,i=0){this.name=t,this.props=n,this.id=r,this.flags=i}static define(t){let n=t.props&&t.props.length?Object.create(null):fAe,r=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(t.name==null?8:0),i=new up(t.name||"",n,t.id,r);if(t.props){for(let a of t.props)if(Array.isArray(a)||(a=a(i)),a){if(a[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[a[0].id]=a[1]}}return i}prop(t){return this.props[t.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(t){if(typeof t=="string"){if(this.name==t)return!0;let n=this.prop(Sa.group);return n?n.indexOf(t)>-1:!1}return this.id==t}static match(t){let n=Object.create(null);for(let r in t)for(let i of r.split(" "))n[i]=t[r];return r=>{for(let i=r.prop(Sa.group),a=-1;a<(i?i.length:0);a++){let u=n[a<0?r.name:i[a]];if(u)return u}}}}up.none=new up("",Object.create(null),0,8);class NN{constructor(t){this.types=t;for(let n=0;n<t.length;n++)if(t[n].id!=n)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...t){let n=[];for(let r of this.types){let i=null;for(let a of t){let u=a(r);u&&(i||(i=Object.assign({},r.props)),i[u[0].id]=u[1])}n.push(i?new up(r.name,i,r.id,r.flags):r)}return new NN(n)}}const P_=new WeakMap,Vj=new WeakMap;var Ao;(function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays"})(Ao||(Ao={}));class nf{constructor(t,n,r,i,a){if(this.type=t,this.children=n,this.positions=r,this.length=i,this.props=null,a&&a.length){this.props=Object.create(null);for(let[u,l]of a)this.props[typeof u=="number"?u:u.id]=l}}toString(){let t=ND.get(this);if(t&&!t.overlay)return t.tree.toString();let n="";for(let r of this.children){let i=r.toString();i&&(n&&(n+=","),n+=i)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(n.length?"("+n+")":""):n}cursor(t=0){return new E9(this.topNode,t)}cursorAt(t,n=0,r=0){let i=P_.get(this)||this.topNode,a=new E9(i);return a.moveTo(t,n),P_.set(this,a._tree),a}get topNode(){return new rf(this,0,0,null)}resolve(t,n=0){let r=sS(P_.get(this)||this.topNode,t,n,!1);return P_.set(this,r),r}resolveInner(t,n=0){let r=sS(Vj.get(this)||this.topNode,t,n,!0);return Vj.set(this,r),r}resolveStack(t,n=0){return pAe(this,t,n)}iterate(t){let{enter:n,leave:r,from:i=0,to:a=this.length}=t,u=t.mode||0,l=(u&Ao.IncludeAnonymous)>0;for(let o=this.cursor(u|Ao.IncludeAnonymous);;){let s=!1;if(o.from<=a&&o.to>=i&&(!l&&o.type.isAnonymous||n(o)!==!1)){if(o.firstChild())continue;s=!0}for(;s&&r&&(l||!o.type.isAnonymous)&&r(o),!o.nextSibling();){if(!o.parent())return;s=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let n in this.props)t.push([+n,this.props[n]]);return t}balance(t={}){return this.children.length<=8?this:BN(up.none,this.children,this.positions,0,this.children.length,0,this.length,(n,r,i)=>new nf(this.type,n,r,i,this.propValues),t.makeTree||((n,r,i)=>new nf(up.none,n,r,i)))}static build(t){return mAe(t)}}nf.empty=new nf(up.none,[],[],0);class IN{constructor(t,n){this.buffer=t,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new IN(this.buffer,this.index)}}class Vv{constructor(t,n,r){this.buffer=t,this.length=n,this.set=r}get type(){return up.none}toString(){let t=[];for(let n=0;n<this.buffer.length;)t.push(this.childString(n)),n=this.buffer[n+3];return t.join(",")}childString(t){let n=this.buffer[t],r=this.buffer[t+3],i=this.set.types[n],a=i.name;if(/\W/.test(a)&&!i.isError&&(a=JSON.stringify(a)),t+=4,r==t)return a;let u=[];for(;t<r;)u.push(this.childString(t)),t=this.buffer[t+3];return a+"("+u.join(",")+")"}findChild(t,n,r,i,a){let{buffer:u}=this,l=-1;for(let o=t;o!=n&&!(yhe(a,i,u[o+1],u[o+2])&&(l=o,r>0));o=u[o+3]);return l}slice(t,n,r){let i=this.buffer,a=new Uint16Array(n-t),u=0;for(let l=t,o=0;l<n;){a[o++]=i[l++],a[o++]=i[l++]-r;let s=a[o++]=i[l++]-r;a[o++]=i[l++]-t,u=Math.max(u,s)}return new Vv(a,u,this.set)}}function yhe(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function sS(e,t,n,r){for(var i;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){let u=!r&&e instanceof rf&&e.index<0?null:e.parent;if(!u)return e;e=u}let a=r?0:Ao.IgnoreOverlays;if(r)for(let u=e,l=u.parent;l;u=l,l=u.parent)u instanceof rf&&u.index<0&&((i=l.enter(t,n,a))===null||i===void 0?void 0:i.from)!=u.from&&(e=l);for(;;){let u=e.enter(t,n,a);if(!u)return e;e=u}}class bhe{cursor(t=0){return new E9(this,t)}getChild(t,n=null,r=null){let i=Uj(this,t,n,r);return i.length?i[0]:null}getChildren(t,n=null,r=null){return Uj(this,t,n,r)}resolve(t,n=0){return sS(this,t,n,!1)}resolveInner(t,n=0){return sS(this,t,n,!0)}matchContext(t){return _9(this.parent,t)}enterUnfinishedNodesBefore(t){let n=this.childBefore(t),r=this;for(;n;){let i=n.lastChild;if(!i||i.to!=n.to)break;i.type.isError&&i.from==i.to?(r=n,n=i.prevSibling):n=i}return r}get node(){return this}get next(){return this.parent}}class rf extends bhe{constructor(t,n,r,i){super(),this._tree=t,this.from=n,this.index=r,this._parent=i}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(t,n,r,i,a=0){for(let u=this;;){for(let{children:l,positions:o}=u._tree,s=n>0?l.length:-1;t!=s;t+=n){let c=l[t],d=o[t]+u.from;if(yhe(i,r,d,d+c.length)){if(c instanceof Vv){if(a&Ao.ExcludeBuffers)continue;let h=c.findChild(0,c.buffer.length,n,r-d,i);if(h>-1)return new m0(new dAe(u,c,t,d),null,h)}else if(a&Ao.IncludeAnonymous||!c.type.isAnonymous||LN(c)){let h;if(!(a&Ao.IgnoreMounts)&&(h=ND.get(c))&&!h.overlay)return new rf(h.tree,d,t,u);let m=new rf(c,d,t,u);return a&Ao.IncludeAnonymous||!m.type.isAnonymous?m:m.nextChild(n<0?c.children.length-1:0,n,r,i)}}}if(a&Ao.IncludeAnonymous||!u.type.isAnonymous||(u.index>=0?t=u.index+n:t=n<0?-1:u._parent._tree.children.length,u=u._parent,!u))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t,-2)}enter(t,n,r=0){let i;if(!(r&Ao.IgnoreOverlays)&&(i=ND.get(this._tree))&&i.overlay){let a=t-this.from;for(let{from:u,to:l}of i.overlay)if((n>0?u<=a:u<a)&&(n<0?l>=a:l>a))return new rf(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,n,r)}nextSignificantParent(){let t=this;for(;t.type.isAnonymous&&t._parent;)t=t._parent;return t}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function Uj(e,t,n,r){let i=e.cursor(),a=[];if(!i.firstChild())return a;if(n!=null){for(let u=!1;!u;)if(u=i.type.is(n),!i.nextSibling())return a}for(;;){if(r!=null&&i.type.is(r))return a;if(i.type.is(t)&&a.push(i.node),!i.nextSibling())return r==null?a:[]}}function _9(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class dAe{constructor(t,n,r,i){this.parent=t,this.buffer=n,this.index=r,this.start=i}}class m0 extends bhe{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(t,n,r){super(),this.context=t,this._parent=n,this.index=r,this.type=t.buffer.set.types[t.buffer.buffer[r]]}child(t,n,r){let{buffer:i}=this.context,a=i.findChild(this.index+4,i.buffer[this.index+3],t,n-this.context.start,r);return a<0?null:new m0(this.context,this,a)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}enter(t,n,r=0){if(r&Ao.ExcludeBuffers)return null;let{buffer:i}=this.context,a=i.findChild(this.index+4,i.buffer[this.index+3],n>0?1:-1,t-this.context.start,n);return a<0?null:new m0(this.context,this,a)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,n=t.buffer[this.index+3];return n<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new m0(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new m0(this.context,this._parent,t.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let t=[],n=[],{buffer:r}=this.context,i=this.index+4,a=r.buffer[this.index+3];if(a>i){let u=r.buffer[this.index+1];t.push(r.slice(i,a,u)),n.push(0)}return new nf(this.type,t,n,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function Ohe(e){if(!e.length)return null;let t=0,n=e[0];for(let a=1;a<e.length;a++){let u=e[a];(u.from>n.from||u.to<n.to)&&(n=u,t=a)}let r=n instanceof rf&&n.index<0?null:n.parent,i=e.slice();return r?i[t]=r:i.splice(t,1),new hAe(i,n)}class hAe{constructor(t,n){this.heads=t,this.node=n}get next(){return Ohe(this.heads)}}function pAe(e,t,n){let r=e.resolveInner(t,n),i=null;for(let a=r instanceof rf?r:r.context.parent;a;a=a.parent)if(a.index<0){let u=a.parent;(i||(i=[r])).push(u.resolve(t,n)),a=u}else{let u=ND.get(a.tree);if(u&&u.overlay&&u.overlay[0].from<=t&&u.overlay[u.overlay.length-1].to>=t){let l=new rf(u.tree,u.overlay[0].from+a.from,-1,a);(i||(i=[r])).push(sS(l,t,n,!1))}}return i?Ohe(i):r}class E9{get name(){return this.type.name}constructor(t,n=0){if(this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,t instanceof rf)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(let r=t._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=t,this.yieldBuf(t.index)}}yieldNode(t){return t?(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0):!1}yieldBuf(t,n){this.index=t;let{start:r,buffer:i}=this.buffer;return this.type=n||i.set.types[i.buffer[t]],this.from=r+i.buffer[t+1],this.to=r+i.buffer[t+2],!0}yield(t){return t?t instanceof rf?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,n,r){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree._tree.children.length-1:0,t,n,r,this.mode));let{buffer:i}=this.buffer,a=i.findChild(this.index+4,i.buffer[this.index+3],t,n-this.buffer.start,r);return a<0?!1:(this.stack.push(this.index),this.yieldBuf(a))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,n,r=this.mode){return this.buffer?r&Ao.ExcludeBuffers?!1:this.enterChild(1,t,n):this.yield(this._tree.enter(t,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Ao.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=this.mode&Ao.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode)):!1;let{buffer:n}=this.buffer,r=this.stack.length-1;if(t<0){let i=r<0?0:this.stack[r]+4;if(this.index!=i)return this.yieldBuf(n.findChild(i,this.index,-1,0,4))}else{let i=n.buffer[this.index+3];if(i<(r<0?n.buffer.length:n.buffer[this.stack[r]+3]))return this.yieldBuf(i)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let n,r,{buffer:i}=this;if(i){if(t>0){if(this.index<i.buffer.buffer.length)return!1}else for(let a=0;a<this.index;a++)if(i.buffer.buffer[a+3]<this.index)return!1;({index:n,parent:r}=i)}else({index:n,_parent:r}=this._tree);for(;r;{index:n,_parent:r}=r)if(n>-1)for(let a=n+t,u=t<0?-1:r._tree.children.length;a!=u;a+=t){let l=r._tree.children[a];if(this.mode&Ao.IncludeAnonymous||l instanceof Vv||!l.type.isAnonymous||LN(l))return!1}return!0}move(t,n){if(n&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,n=0){for(;(this.from==this.to||(n<1?this.from>=t:this.from>t)||(n>-1?this.to<=t:this.to<t))&&this.parent(););for(;this.enterChild(1,t,n););return this}get node(){if(!this.buffer)return this._tree;let t=this.bufferNode,n=null,r=0;if(t&&t.context==this.buffer)e:for(let i=this.index,a=this.stack.length;a>=0;){for(let u=t;u;u=u._parent)if(u.index==i){if(i==this.index)return u;n=u,r=a+1;break e}i=this.stack[--a]}for(let i=r;i<this.stack.length;i++)n=new m0(this.buffer,n,this.stack[i]);return this.bufferNode=new m0(this.buffer,n,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(t,n){for(let r=0;;){let i=!1;if(this.type.isAnonymous||t(this)!==!1){if(this.firstChild()){r++;continue}this.type.isAnonymous||(i=!0)}for(;;){if(i&&n&&n(this),i=this.type.isAnonymous,!r)return;if(this.nextSibling())break;this.parent(),r--,i=!0}}}matchContext(t){if(!this.buffer)return _9(this.node.parent,t);let{buffer:n}=this.buffer,{types:r}=n.set;for(let i=t.length-1,a=this.stack.length-1;i>=0;a--){if(a<0)return _9(this._tree,t,i);let u=r[n.buffer[this.stack[a]]];if(!u.isAnonymous){if(t[i]&&t[i]!=u.name)return!1;i--}}return!0}}function LN(e){return e.children.some(t=>t instanceof Vv||!t.type.isAnonymous||LN(t))}function mAe(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:i=vhe,reused:a=[],minRepeatType:u=r.types.length}=e,l=Array.isArray(n)?new IN(n,n.length):n,o=r.types,s=0,c=0;function d(R,C,k,F,z,Z){let{id:q,start:j,end:N,size:V}=l,W=c,G=s;for(;V<0;)if(l.next(),V==-1){let K=a[q];k.push(K),F.push(j-R);return}else if(V==-3){s=q;return}else if(V==-4){c=q;return}else throw new RangeError(`Unrecognized record size: ${V}`);let J=o[q],te,X,M=j-R;if(N-j<=i&&(X=_(l.pos-C,z))){let K=new Uint16Array(X.size-X.skip),Y=l.pos-X.size,B=K.length;for(;l.pos>Y;)B=x(X.start,K,B);te=new Vv(K,N-X.start,r),M=X.start-R}else{let K=l.pos-V;l.next();let Y=[],B=[],ne=q>=u?q:-1,oe=0,ae=N;for(;l.pos>K;)ne>=0&&l.id==ne&&l.size>=0?(l.end<=ae-i&&(y(Y,B,j,oe,l.end,ae,ne,W,G),oe=Y.length,ae=l.end),l.next()):Z>2500?h(j,K,Y,B):d(j,K,Y,B,ne,Z+1);if(ne>=0&&oe>0&&oe<Y.length&&y(Y,B,j,oe,j,ae,ne,W,G),Y.reverse(),B.reverse(),ne>-1&&oe>0){let de=m(J,G);te=BN(J,Y,B,0,Y.length,0,N-j,de,de)}else te=v(J,Y,B,N-j,W-N,G)}k.push(te),F.push(M)}function h(R,C,k,F){let z=[],Z=0,q=-1;for(;l.pos>C;){let{id:j,start:N,end:V,size:W}=l;if(W>4)l.next();else{if(q>-1&&N<q)break;q<0&&(q=V-i),z.push(j,N,V),Z++,l.next()}}if(Z){let j=new Uint16Array(Z*4),N=z[z.length-2];for(let V=z.length-3,W=0;V>=0;V-=3)j[W++]=z[V],j[W++]=z[V+1]-N,j[W++]=z[V+2]-N,j[W++]=W;k.push(new Vv(j,z[2]-N,r)),F.push(N-R)}}function m(R,C){return(k,F,z)=>{let Z=0,q=k.length-1,j,N;if(q>=0&&(j=k[q])instanceof nf){if(!q&&j.type==R&&j.length==z)return j;(N=j.prop(Sa.lookAhead))&&(Z=F[q]+j.length+N)}return v(R,k,F,z,Z,C)}}function y(R,C,k,F,z,Z,q,j,N){let V=[],W=[];for(;R.length>F;)V.push(R.pop()),W.push(C.pop()+k-z);R.push(v(r.types[q],V,W,Z-z,j-Z,N)),C.push(z-k)}function v(R,C,k,F,z,Z,q){if(Z){let j=[Sa.contextHash,Z];q=q?[j].concat(q):[j]}if(z>25){let j=[Sa.lookAhead,z];q=q?[j].concat(q):[j]}return new nf(R,C,k,F,q)}function _(R,C){let k=l.fork(),F=0,z=0,Z=0,q=k.end-i,j={size:0,start:0,skip:0};e:for(let N=k.pos-R;k.pos>N;){let V=k.size;if(k.id==C&&V>=0){j.size=F,j.start=z,j.skip=Z,Z+=4,F+=4,k.next();continue}let W=k.pos-V;if(V<0||W<N||k.start<q)break;let G=k.id>=u?4:0,J=k.start;for(k.next();k.pos>W;){if(k.size<0)if(k.size==-3)G+=4;else break e;else k.id>=u&&(G+=4);k.next()}z=J,F+=V,Z+=G}return(C<0||F==R)&&(j.size=F,j.start=z,j.skip=Z),j.size>4?j:void 0}function x(R,C,k){let{id:F,start:z,end:Z,size:q}=l;if(l.next(),q>=0&&F<u){let j=k;if(q>4){let N=l.pos-(q-4);for(;l.pos>N;)k=x(R,C,k)}C[--k]=j,C[--k]=Z-R,C[--k]=z-R,C[--k]=F}else q==-3?s=F:q==-4&&(c=F);return k}let E=[],w=[];for(;l.pos>0;)d(e.start||0,e.bufferStart||0,E,w,-1,0);let T=(t=e.length)!==null&&t!==void 0?t:E.length?w[0]+E[0].length:0;return new nf(o[e.topID],E.reverse(),w.reverse(),T)}const jj=new WeakMap;function RE(e,t){if(!e.isAnonymous||t instanceof Vv||t.type!=e)return 1;let n=jj.get(t);if(n==null){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof nf)){n=1;break}n+=RE(e,r)}jj.set(t,n)}return n}function BN(e,t,n,r,i,a,u,l,o){let s=0;for(let y=r;y<i;y++)s+=RE(e,t[y]);let c=Math.ceil(s*1.5/8),d=[],h=[];function m(y,v,_,x,E){for(let w=_;w<x;){let T=w,R=v[w],C=RE(e,y[w]);for(w++;w<x;w++){let k=RE(e,y[w]);if(C+k>=c)break;C+=k}if(w==T+1){if(C>c){let k=y[T];m(k.children,k.positions,0,k.children.length,v[T]+E);continue}d.push(y[T])}else{let k=v[w-1]+y[w-1].length-R;d.push(BN(e,y,v,T,w,R,k,null,o))}h.push(R+E-a)}}return m(t,n,r,i,0),(l||o)(d,h,u)}class jrt{constructor(){this.map=new WeakMap}setBuffer(t,n,r){let i=this.map.get(t);i||this.map.set(t,i=new Map),i.set(n,r)}getBuffer(t,n){let r=this.map.get(t);return r&&r.get(n)}set(t,n){t instanceof m0?this.setBuffer(t.context.buffer,t.index,n):t instanceof rf&&this.map.set(t.tree,n)}get(t){return t instanceof m0?this.getBuffer(t.context.buffer,t.index):t instanceof rf?this.map.get(t.tree):void 0}cursorSet(t,n){t.buffer?this.setBuffer(t.buffer.buffer,t.index,n):this.map.set(t.tree,n)}cursorGet(t){return t.buffer?this.getBuffer(t.buffer.buffer,t.index):this.map.get(t.tree)}}class D9{constructor(t,n,r,i,a=!1,u=!1){this.from=t,this.to=n,this.tree=r,this.offset=i,this.open=(a?1:0)|(u?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(t,n=[],r=!1){let i=[new D9(0,t.length,t,0,!1,r)];for(let a of n)a.to>t.length&&i.push(a);return i}static applyChanges(t,n,r=128){if(!n.length)return t;let i=[],a=1,u=t.length?t[0]:null;for(let l=0,o=0,s=0;;l++){let c=l<n.length?n[l]:null,d=c?c.fromA:1e9;if(d-o>=r)for(;u&&u.from<d;){let h=u;if(o>=h.from||d<=h.to||s){let m=Math.max(h.from,o)-s,y=Math.min(h.to,d)-s;h=m>=y?null:new D9(m,y,h.tree,h.offset+s,l>0,!!c)}if(h&&i.push(h),u.to>d)break;u=a<t.length?t[a++]:null}if(!c)break;o=c.toA,s=c.toA-c.toB}return i}}let gAe=class{startParse(t,n,r){return typeof t=="string"&&(t=new vAe(t)),r=r?r.length?r.map(i=>new JT(i.from,i.to)):[new JT(0,0)]:[new JT(0,t.length)],this.createParse(t,n||[],r)}parse(t,n,r){let i=this.startParse(t,n,r);for(;;){let a=i.advance();if(a)return a}}};class vAe{constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,n){return this.string.slice(t,n)}}new Sa({perNode:!0});var M_={},Zj;function Hrt(){if(Zj)return M_;Zj=1;let e=[],t=[];(()=>{let h="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(m=>m?parseInt(m,36):1);for(let m=0,y=0;m<h.length;m++)(m%2?t:e).push(y=y+h[m])})();function n(h){if(h<768)return!1;for(let m=0,y=e.length;;){let v=m+y>>1;if(h<e[v])y=v;else if(h>=t[v])m=v+1;else return!0;if(m==y)return!1}}function r(h){return h>=127462&&h<=127487}const i=8205;function a(h,m,y=!0,v=!0){return(y?u:l)(h,m,v)}function u(h,m,y){if(m==h.length)return m;m&&s(h.charCodeAt(m))&&c(h.charCodeAt(m-1))&&m--;let v=o(h,m);for(m+=d(v);m<h.length;){let _=o(h,m);if(v==i||_==i||y&&n(_))m+=d(_),v=_;else if(r(_)){let x=0,E=m-2;for(;E>=0&&r(o(h,E));)x++,E-=2;if(x%2==0)break;m+=2}else break}return m}function l(h,m,y){for(;m>0;){let v=u(h,m-2,y);if(v<m)return v;m--}return 0}function o(h,m){let y=h.charCodeAt(m);if(!c(y)||m+1==h.length)return y;let v=h.charCodeAt(m+1);return s(v)?(y-55296<<10)+(v-56320)+65536:y}function s(h){return h>=56320&&h<57344}function c(h){return h>=55296&&h<56320}function d(h){return h<65536?1:2}return M_.findClusterBreak=a,M_.isExtendingChar=n,M_}const $9="ͼ",Hj=typeof Symbol>"u"?"__"+$9:Symbol.for($9),C9=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),Xj=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Xrt{constructor(t,n){this.rules=[];let{finish:r}=n||{};function i(u){return/^@/.test(u)?[u]:u.split(/,\s*/)}function a(u,l,o,s){let c=[],d=/^@(\w+)\b/.exec(u[0]),h=d&&d[1]=="keyframes";if(d&&l==null)return o.push(u[0]+";");for(let m in l){let y=l[m];if(/&/.test(m))a(m.split(/,\s*/).map(v=>u.map(_=>v.replace(/&/,_))).reduce((v,_)=>v.concat(_)),y,o);else if(y&&typeof y=="object"){if(!d)throw new RangeError("The value of a property ("+m+") should be a primitive value.");a(i(m),y,c,h)}else y!=null&&c.push(m.replace(/_.*/,"").replace(/[A-Z]/g,v=>"-"+v.toLowerCase())+": "+y+";")}(c.length||h)&&o.push((r&&!d&&!s?u.map(r):u).join(", ")+" {"+c.join(" ")+"}")}for(let u in t)a(i(u),t[u],this.rules)}getRules(){return this.rules.join(`
`)}static newName(){let t=Xj[Hj]||1;return Xj[Hj]=t+1,$9+t.toString(36)}static mount(t,n,r){let i=t[C9],a=r&&r.nonce;i?a&&i.setNonce(a):i=new yAe(t,a),i.mount(Array.isArray(n)?n:[n],t)}}let Yj=new Map;class yAe{constructor(t,n){let r=t.ownerDocument||t,i=r.defaultView;if(!t.head&&t.adoptedStyleSheets&&i.CSSStyleSheet){let a=Yj.get(r);if(a)return t[C9]=a;this.sheet=new i.CSSStyleSheet,Yj.set(r,this)}else this.styleTag=r.createElement("style"),n&&this.styleTag.setAttribute("nonce",n);this.modules=[],t[C9]=this}mount(t,n){let r=this.sheet,i=0,a=0;for(let u=0;u<t.length;u++){let l=t[u],o=this.modules.indexOf(l);if(o<a&&o>-1&&(this.modules.splice(o,1),a--,o=-1),o==-1){if(this.modules.splice(a++,0,l),r)for(let s=0;s<l.rules.length;s++)r.insertRule(l.rules[s],i++)}else{for(;a<o;)i+=this.modules[a++].rules.length;i+=l.rules.length,a++}}if(r)n.adoptedStyleSheets.indexOf(this.sheet)<0&&(n.adoptedStyleSheets=[this.sheet,...n.adoptedStyleSheets]);else{let u="";for(let o=0;o<this.modules.length;o++)u+=this.modules[o].getRules()+`
`;this.styleTag.textContent=u;let l=n.head||n;this.styleTag.parentNode!=l&&l.insertBefore(this.styleTag,l.firstChild)}}setNonce(t){this.styleTag&&this.styleTag.getAttribute("nonce")!=t&&this.styleTag.setAttribute("nonce",t)}}var J1={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},ID={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},bAe=typeof navigator<"u"&&/Mac/.test(navigator.platform),OAe=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var To=0;To<10;To++)J1[48+To]=J1[96+To]=String(To);for(var To=1;To<=24;To++)J1[To+111]="F"+To;for(var To=65;To<=90;To++)J1[To]=String.fromCharCode(To+32),ID[To]=String.fromCharCode(To);for(var ek in J1)ID.hasOwnProperty(ek)||(ID[ek]=J1[ek]);function Yrt(e){var t=bAe&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||OAe&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",n=!t&&e.key||(e.shiftKey?ID:J1)[e.keyCode]||e.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}function Grt(){var e=arguments[0];typeof e=="string"&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&typeof n=="object"&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];typeof i=="string"?e.setAttribute(r,i):i!=null&&(e[r]=i)}t++}for(;t<arguments.length;t++)She(e,arguments[t]);return e}function She(e,t){if(typeof t=="string")e.appendChild(document.createTextNode(t));else if(t!=null)if(t.nodeType!=null)e.appendChild(t);else if(Array.isArray(t))for(var n=0;n<t.length;n++)She(e,t[n]);else throw new RangeError("Unsupported child node: "+t)}let SAe=0;class zd{constructor(t,n,r,i){this.name=t,this.set=n,this.base=r,this.modified=i,this.id=SAe++}toString(){let{name:t}=this;for(let n of this.modified)n.name&&(t=`${n.name}(${t})`);return t}static define(t,n){let r=typeof t=="string"?t:"?";if(t instanceof zd&&(n=t),n!=null&&n.base)throw new Error("Can not derive from a modified tag");let i=new zd(r,[],null,[]);if(i.set.push(i),n)for(let a of n.set)i.set.push(a);return i}static defineModifier(t){let n=new LD(t);return r=>r.modified.indexOf(n)>-1?r:LD.get(r.base||r,r.modified.concat(n).sort((i,a)=>i.id-a.id))}}let xAe=0;class LD{constructor(t){this.name=t,this.instances=[],this.id=xAe++}static get(t,n){if(!n.length)return t;let r=n[0].instances.find(l=>l.base==t&&_Ae(n,l.modified));if(r)return r;let i=[],a=new zd(t.name,i,t,n);for(let l of n)l.instances.push(a);let u=EAe(n);for(let l of t.set)if(!l.modified.length)for(let o of u)i.push(LD.get(l,o));return a}}function _Ae(e,t){return e.length==t.length&&e.every((n,r)=>n==t[r])}function EAe(e){let t=[[]];for(let n=0;n<e.length;n++)for(let r=0,i=t.length;r<i;r++)t.push(t[r].concat(e[n]));return t.sort((n,r)=>r.length-n.length)}function QN(e){let t=Object.create(null);for(let n in e){let r=e[n];Array.isArray(r)||(r=[r]);for(let i of n.split(" "))if(i){let a=[],u=2,l=i;for(let d=0;;){if(l=="..."&&d>0&&d+3==i.length){u=1;break}let h=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!h)throw new RangeError("Invalid path: "+i);if(a.push(h[0]=="*"?"":h[0][0]=='"'?JSON.parse(h[0]):h[0]),d+=h[0].length,d==i.length)break;let m=i[d++];if(d==i.length&&m=="!"){u=0;break}if(m!="/")throw new RangeError("Invalid path: "+i);l=i.slice(d)}let o=a.length-1,s=a[o];if(!s)throw new RangeError("Invalid path: "+i);let c=new BD(r,u,o>0?a.slice(0,o):null);t[s]=c.sort(t[s])}}return xhe.add(t)}const xhe=new Sa;class BD{constructor(t,n,r,i){this.tags=t,this.mode=n,this.context=r,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(t){return!t||t.depth<this.depth?(this.next=t,this):(t.next=this.sort(t.next),t)}get depth(){return this.context?this.context.length:0}}BD.empty=new BD([],2,null);function DAe(e,t){let n=Object.create(null);for(let a of e)if(!Array.isArray(a.tag))n[a.tag.id]=a.class;else for(let u of a.tag)n[u.id]=a.class;let{scope:r,all:i=null}=t||{};return{style:a=>{let u=i;for(let l of a)for(let o of l.set){let s=n[o.id];if(s){u=u?u+" "+s:s;break}}return u},scope:r}}function $Ae(e,t){let n=null;for(let r of e){let i=r.style(t);i&&(n=n?n+" "+i:i)}return n}function Krt(e,t,n,r=0,i=e.length){let a=new CAe(r,Array.isArray(t)?t:[t],n);a.highlightRange(e.cursor(),r,i,"",a.highlighters),a.flush(i)}class CAe{constructor(t,n,r){this.at=t,this.highlighters=n,this.span=r,this.class=""}startSpan(t,n){n!=this.class&&(this.flush(t),t>this.at&&(this.at=t),this.class=n)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,n,r,i,a){let{type:u,from:l,to:o}=t;if(l>=r||o<=n)return;u.isTop&&(a=this.highlighters.filter(m=>!m.scope||m.scope(u)));let s=i,c=wAe(t)||BD.empty,d=$Ae(a,c.tags);if(d&&(s&&(s+=" "),s+=d,c.mode==1&&(i+=(i?" ":"")+d)),this.startSpan(Math.max(n,l),s),c.opaque)return;let h=t.tree&&t.tree.prop(Sa.mounted);if(h&&h.overlay){let m=t.node.enter(h.overlay[0].from+l,1),y=this.highlighters.filter(_=>!_.scope||_.scope(h.tree.type)),v=t.firstChild();for(let _=0,x=l;;_++){let E=_<h.overlay.length?h.overlay[_]:null,w=E?E.from+l:o,T=Math.max(n,x),R=Math.min(r,w);if(T<R&&v)for(;t.from<R&&(this.highlightRange(t,T,R,i,a),this.startSpan(Math.min(R,t.to),s),!(t.to>=w||!t.nextSibling())););if(!E||w>r)break;x=E.to+l,x>n&&(this.highlightRange(m.cursor(),Math.max(n,E.from+l),Math.min(r,x),"",y),this.startSpan(Math.min(r,x),s))}v&&t.parent()}else if(t.firstChild()){h&&(i="");do if(!(t.to<=n)){if(t.from>=r)break;this.highlightRange(t,n,r,i,a),this.startSpan(Math.min(r,t.to),s)}while(t.nextSibling());t.parent()}}}function wAe(e){let t=e.type.prop(xhe);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}const Xt=zd.define,F_=Xt(),cv=Xt(),Gj=Xt(cv),Kj=Xt(cv),fv=Xt(),N_=Xt(fv),tk=Xt(fv),u0=Xt(),i1=Xt(u0),i0=Xt(),a0=Xt(),w9=Xt(),Q4=Xt(w9),I_=Xt(),ot={comment:F_,lineComment:Xt(F_),blockComment:Xt(F_),docComment:Xt(F_),name:cv,variableName:Xt(cv),typeName:Gj,tagName:Xt(Gj),propertyName:Kj,attributeName:Xt(Kj),className:Xt(cv),labelName:Xt(cv),namespace:Xt(cv),macroName:Xt(cv),literal:fv,string:N_,docString:Xt(N_),character:Xt(N_),attributeValue:Xt(N_),number:tk,integer:Xt(tk),float:Xt(tk),bool:Xt(fv),regexp:Xt(fv),escape:Xt(fv),color:Xt(fv),url:Xt(fv),keyword:i0,self:Xt(i0),null:Xt(i0),atom:Xt(i0),unit:Xt(i0),modifier:Xt(i0),operatorKeyword:Xt(i0),controlKeyword:Xt(i0),definitionKeyword:Xt(i0),moduleKeyword:Xt(i0),operator:a0,derefOperator:Xt(a0),arithmeticOperator:Xt(a0),logicOperator:Xt(a0),bitwiseOperator:Xt(a0),compareOperator:Xt(a0),updateOperator:Xt(a0),definitionOperator:Xt(a0),typeOperator:Xt(a0),controlOperator:Xt(a0),punctuation:w9,separator:Xt(w9),bracket:Q4,angleBracket:Xt(Q4),squareBracket:Xt(Q4),paren:Xt(Q4),brace:Xt(Q4),content:u0,heading:i1,heading1:Xt(i1),heading2:Xt(i1),heading3:Xt(i1),heading4:Xt(i1),heading5:Xt(i1),heading6:Xt(i1),contentSeparator:Xt(u0),list:Xt(u0),quote:Xt(u0),emphasis:Xt(u0),strong:Xt(u0),link:Xt(u0),monospace:Xt(u0),strikethrough:Xt(u0),inserted:Xt(),deleted:Xt(),changed:Xt(),invalid:Xt(),meta:I_,documentMeta:Xt(I_),annotation:Xt(I_),processingInstruction:Xt(I_),definition:zd.defineModifier("definition"),constant:zd.defineModifier("constant"),function:zd.defineModifier("function"),standard:zd.defineModifier("standard"),local:zd.defineModifier("local"),special:zd.defineModifier("special")};for(let e in ot){let t=ot[e];t instanceof zd&&(t.name=e)}DAe([{tag:ot.link,class:"tok-link"},{tag:ot.heading,class:"tok-heading"},{tag:ot.emphasis,class:"tok-emphasis"},{tag:ot.strong,class:"tok-strong"},{tag:ot.keyword,class:"tok-keyword"},{tag:ot.atom,class:"tok-atom"},{tag:ot.bool,class:"tok-bool"},{tag:ot.url,class:"tok-url"},{tag:ot.labelName,class:"tok-labelName"},{tag:ot.inserted,class:"tok-inserted"},{tag:ot.deleted,class:"tok-deleted"},{tag:ot.literal,class:"tok-literal"},{tag:ot.string,class:"tok-string"},{tag:ot.number,class:"tok-number"},{tag:[ot.regexp,ot.escape,ot.special(ot.string)],class:"tok-string2"},{tag:ot.variableName,class:"tok-variableName"},{tag:ot.local(ot.variableName),class:"tok-variableName tok-local"},{tag:ot.definition(ot.variableName),class:"tok-variableName tok-definition"},{tag:ot.special(ot.variableName),class:"tok-variableName2"},{tag:ot.definition(ot.propertyName),class:"tok-propertyName tok-definition"},{tag:ot.typeName,class:"tok-typeName"},{tag:ot.namespace,class:"tok-namespace"},{tag:ot.className,class:"tok-className"},{tag:ot.macroName,class:"tok-macroName"},{tag:ot.propertyName,class:"tok-propertyName"},{tag:ot.operator,class:"tok-operator"},{tag:ot.comment,class:"tok-comment"},{tag:ot.meta,class:"tok-meta"},{tag:ot.invalid,class:"tok-invalid"},{tag:ot.punctuation,class:"tok-punctuation"}]);var Wj={};class QD{constructor(t,n,r,i,a,u,l,o,s,c=0,d){this.p=t,this.stack=n,this.state=r,this.reducePos=i,this.pos=a,this.score=u,this.buffer=l,this.bufferBase=o,this.curContext=s,this.lookAhead=c,this.parent=d}toString(){return`[${this.stack.filter((t,n)=>n%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,n,r=0){let i=t.parser.context;return new QD(t,[],n,r,r,0,[],0,i?new Jj(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,n){this.stack.push(this.state,n,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var n;let r=t>>19,i=t&65535,{parser:a}=this.p,u=this.reducePos<this.pos-25;u&&this.setLookAhead(this.pos);let l=a.dynamicPrecedence(i);if(l&&(this.score+=l),r==0){this.pushState(a.getGoto(this.state,i,!0),this.reducePos),i<a.minRepeatTerm&&this.storeNode(i,this.reducePos,this.reducePos,u?8:4,!0),this.reduceContext(i,this.reducePos);return}let o=this.stack.length-(r-1)*3-(t&262144?6:0),s=o?this.stack[o-2]:this.p.ranges[0].from,c=this.reducePos-s;c>=2e3&&!(!((n=this.p.parser.nodeSet.types[i])===null||n===void 0)&&n.isAnonymous)&&(s==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=s,this.p.lastBigReductionSize=c));let d=o?this.stack[o-1]:0,h=this.bufferBase+this.buffer.length-d;if(i<a.minRepeatTerm||t&131072){let m=a.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,s,m,h+4,!0)}if(t&262144)this.state=this.stack[o];else{let m=this.stack[o-3];this.state=a.getGoto(m,i,!0)}for(;this.stack.length>o;)this.stack.pop();this.reduceContext(i,s)}storeNode(t,n,r,i=4,a=!1){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let u=this,l=this.buffer.length;if(l==0&&u.parent&&(l=u.bufferBase-u.parent.bufferBase,u=u.parent),l>0&&u.buffer[l-4]==0&&u.buffer[l-1]>-1){if(n==r)return;if(u.buffer[l-2]>=n){u.buffer[l-2]=r;return}}}if(!a||this.pos==r)this.buffer.push(t,n,r,i);else{let u=this.buffer.length;if(u>0&&this.buffer[u-4]!=0){let l=!1;for(let o=u;o>0&&this.buffer[o-2]>r;o-=4)if(this.buffer[o-1]>=0){l=!0;break}if(l)for(;u>0&&this.buffer[u-2]>r;)this.buffer[u]=this.buffer[u-4],this.buffer[u+1]=this.buffer[u-3],this.buffer[u+2]=this.buffer[u-2],this.buffer[u+3]=this.buffer[u-1],u-=4,i>4&&(i-=4)}this.buffer[u]=t,this.buffer[u+1]=n,this.buffer[u+2]=r,this.buffer[u+3]=i}}shift(t,n,r,i){if(t&131072)this.pushState(t&65535,this.pos);else if((t&262144)==0){let a=t,{parser:u}=this.p;(i>this.pos||n<=u.maxNode)&&(this.pos=i,u.stateFlag(a,1)||(this.reducePos=i)),this.pushState(a,r),this.shiftContext(n,r),n<=u.maxNode&&this.buffer.push(n,r,i,4)}else this.pos=i,this.shiftContext(n,r),n<=this.p.parser.maxNode&&this.buffer.push(n,r,i,4)}apply(t,n,r,i){t&65536?this.reduce(t):this.shift(t,n,r,i)}useNode(t,n){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=t)&&(this.p.reused.push(t),r++);let i=this.pos;this.reducePos=this.pos=i+t.length,this.pushState(n,i),this.buffer.push(r,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,n=t.buffer.length;for(;n>0&&t.buffer[n-2]>t.reducePos;)n-=4;let r=t.buffer.slice(n),i=t.bufferBase+n;for(;t&&i==t.bufferBase;)t=t.parent;return new QD(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,t)}recoverByDelete(t,n){let r=t<=this.p.parser.maxNode;r&&this.storeNode(t,this.pos,n,4),this.storeNode(0,this.pos,n,r?8:4),this.pos=this.reducePos=n,this.score-=190}canShift(t){for(let n=new RAe(this);;){let r=this.p.parser.stateSlot(n.state,4)||this.p.parser.hasAction(n.state,t);if(r==0)return!1;if((r&65536)==0)return!0;n.reduce(r)}}recoverByInsert(t){if(this.stack.length>=300)return[];let n=this.p.parser.nextStates(this.state);if(n.length>8||this.stack.length>=120){let i=[];for(let a=0,u;a<n.length;a+=2)(u=n[a+1])!=this.state&&this.p.parser.hasAction(u,t)&&i.push(n[a],u);if(this.stack.length<120)for(let a=0;i.length<8&&a<n.length;a+=2){let u=n[a+1];i.some((l,o)=>o&1&&l==u)||i.push(n[a],u)}n=i}let r=[];for(let i=0;i<n.length&&r.length<4;i+=2){let a=n[i+1];if(a==this.state)continue;let u=this.split();u.pushState(a,this.pos),u.storeNode(0,u.pos,u.pos,4,!0),u.shiftContext(n[i],this.pos),u.reducePos=this.pos,u.score-=200,r.push(u)}return r}forceReduce(){let{parser:t}=this.p,n=t.stateSlot(this.state,5);if((n&65536)==0)return!1;if(!t.validAction(this.state,n)){let r=n>>19,i=n&65535,a=this.stack.length-r*3;if(a<0||t.getGoto(this.stack[a],i,!1)<0){let u=this.findForcedReduction();if(u==null)return!1;n=u}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(n),!0}findForcedReduction(){let{parser:t}=this.p,n=[],r=(i,a)=>{if(!n.includes(i))return n.push(i),t.allActions(i,u=>{if(!(u&393216))if(u&65536){let l=(u>>19)-a;if(l>1){let o=u&65535,s=this.stack.length-l*3;if(s>=0&&t.getGoto(this.stack[s],o,!1)>=0)return l<<19|65536|o}}else{let l=r(u,a+1);if(l!=null)return l}})};return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let n=0;n<this.stack.length;n+=3)if(this.stack[n]!=t.stack[n])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(t){return this.p.parser.dialect.flags[t]}shiftContext(t,n){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,t,this,this.p.stream.reset(n)))}reduceContext(t,n){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,t,this,this.p.stream.reset(n)))}emitContext(){let t=this.buffer.length-1;(t<0||this.buffer[t]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let t=this.buffer.length-1;(t<0||this.buffer[t]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(t){if(t!=this.curContext.context){let n=new Jj(this.curContext.tracker,t);n.hash!=this.curContext.hash&&this.emitContext(),this.curContext=n}}setLookAhead(t){t>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=t)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class Jj{constructor(t,n){this.tracker=t,this.context=n,this.hash=t.strict?t.hash(n):0}}class RAe{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let n=t&65535,r=t>>19;r==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(r-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],n,!0);this.state=i}}class zD{constructor(t,n,r){this.stack=t,this.pos=n,this.index=r,this.buffer=t.buffer,this.index==0&&this.maybeNext()}static create(t,n=t.bufferBase+t.buffer.length){return new zD(t,n,n-t.bufferBase)}maybeNext(){let t=this.stack.parent;t!=null&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new zD(this.stack,this.pos,this.index)}}function y2(e,t=Uint16Array){if(typeof e!="string")return e;let n=null;for(let r=0,i=0;r<e.length;){let a=0;for(;;){let u=e.charCodeAt(r++),l=!1;if(u==126){a=65535;break}u>=92&&u--,u>=34&&u--;let o=u-32;if(o>=46&&(o-=46,l=!0),a+=o,l)break;a*=46}n?n[i++]=a:n=new t(a)}return n}class AE{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const eZ=new AE;class AAe{constructor(t,n){this.input=t,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=eZ,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}resolveOffset(t,n){let r=this.range,i=this.rangeIndex,a=this.pos+t;for(;a<r.from;){if(!i)return null;let u=this.ranges[--i];a-=r.from-u.to,r=u}for(;n<0?a>r.to:a>=r.to;){if(i==this.ranges.length-1)return null;let u=this.ranges[++i];a+=u.from-r.to,r=u}return a}clipPos(t){if(t>=this.range.from&&t<this.range.to)return t;for(let n of this.ranges)if(n.to>t)return Math.max(t,n.from);return this.end}peek(t){let n=this.chunkOff+t,r,i;if(n>=0&&n<this.chunk.length)r=this.pos+t,i=this.chunk.charCodeAt(n);else{let a=this.resolveOffset(t,1);if(a==null)return-1;if(r=a,r>=this.chunk2Pos&&r<this.chunk2Pos+this.chunk2.length)i=this.chunk2.charCodeAt(r-this.chunk2Pos);else{let u=this.rangeIndex,l=this.range;for(;l.to<=r;)l=this.ranges[++u];this.chunk2=this.input.chunk(this.chunk2Pos=r),r+this.chunk2.length>l.to&&(this.chunk2=this.chunk2.slice(0,l.to-r)),i=this.chunk2.charCodeAt(0)}}return r>=this.token.lookAhead&&(this.token.lookAhead=r+1),i}acceptToken(t,n=0){let r=n?this.resolveOffset(n,-1):this.pos;if(r==null||r<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=t,this.token.end=r}acceptTokenTo(t,n){this.token.value=t,this.token.end=n}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:t,chunkPos:n}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=t,this.chunk2Pos=n,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let t=this.input.chunk(this.pos),n=this.pos+t.length;this.chunk=n>this.range.to?t.slice(0,this.range.to-this.pos):t,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(t,n){if(n?(this.token=n,n.start=t,n.lookAhead=t+1,n.value=n.extended=-1):this.token=eZ,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;t>=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t<this.chunkPos+this.chunk.length?this.chunkOff=t-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(t,n){if(t>=this.chunkPos&&n<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,n-this.chunkPos);if(t>=this.chunk2Pos&&n<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,n-this.chunk2Pos);if(t>=this.range.from&&n<=this.range.to)return this.input.read(t,n);let r="";for(let i of this.ranges){if(i.from>=n)break;i.to>t&&(r+=this.input.read(Math.max(i.from,t),Math.min(i.to,n)))}return r}}class GO{constructor(t,n){this.data=t,this.id=n}token(t,n){let{parser:r}=n.p;_he(this.data,t,n,this.id,r.data,r.tokenPrecTable)}}GO.prototype.contextual=GO.prototype.fallback=GO.prototype.extend=!1;class R9{constructor(t,n,r){this.precTable=n,this.elseToken=r,this.data=typeof t=="string"?y2(t):t}token(t,n){let r=t.pos,i=0;for(;;){let a=t.next<0,u=t.resolveOffset(1,1);if(_he(this.data,t,n,0,this.data,this.precTable),t.token.value>-1)break;if(this.elseToken==null)return;if(a||i++,u==null)break;t.reset(u,t.token)}i&&(t.reset(r,t.token),t.acceptToken(this.elseToken,i))}}R9.prototype.contextual=GO.prototype.fallback=GO.prototype.extend=!1;class sg{constructor(t,n={}){this.token=t,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}}function _he(e,t,n,r,i,a){let u=0,l=1<<r,{dialect:o}=n.p.parser;e:for(;(l&e[u])!=0;){let s=e[u+1];for(let m=u+3;m<s;m+=2)if((e[m+1]&l)>0){let y=e[m];if(o.allows(y)&&(t.token.value==-1||t.token.value==y||TAe(y,t.token.value,i,a))){t.acceptToken(y);break}}let c=t.next,d=0,h=e[u+2];if(t.next<0&&h>d&&e[s+h*3-3]==65535){u=e[s+h*3-1];continue e}for(;d<h;){let m=d+h>>1,y=s+m+(m<<1),v=e[y],_=e[y+1]||65536;if(c<v)h=m;else if(c>=_)d=m+1;else{u=e[y+2],t.advance();continue e}}break}}function tZ(e,t,n){for(let r=t,i;(i=e[r])!=65535;r++)if(i==n)return r-t;return-1}function TAe(e,t,n,r){let i=tZ(n,r,t);return i<0||tZ(n,r,e)<i}const Pf=typeof process<"u"&&Wj&&/\bparse\b/.test(Wj.LOG);let nk=null;function nZ(e,t,n){let r=e.cursor(Ao.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}class kAe{constructor(t,n){this.fragments=t,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?nZ(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?nZ(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(t<this.nextStart)return null;for(;this.fragment&&this.safeTo<=t;)this.nextFragment();if(!this.fragment)return null;for(;;){let n=this.trees.length-1;if(n<0)return this.nextFragment(),null;let r=this.trees[n],i=this.index[n];if(i==r.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let a=r.children[i],u=this.start[n]+r.positions[i];if(u>t)return this.nextStart=u,null;if(a instanceof nf){if(u==t){if(u<this.safeFrom)return null;let l=u+a.length;if(l<=this.safeTo){let o=a.prop(Sa.lookAhead);if(!o||l+o<this.fragment.to)return a}}this.index[n]++,u+a.length>=Math.max(this.safeFrom,t)&&(this.trees.push(a),this.start.push(u),this.index.push(0))}else this.index[n]++,this.nextStart=u+a.length}}}class PAe{constructor(t,n){this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map(r=>new AE)}getActions(t){let n=0,r=null,{parser:i}=t.p,{tokenizers:a}=i,u=i.stateSlot(t.state,3),l=t.curContext?t.curContext.hash:0,o=0;for(let s=0;s<a.length;s++){if((1<<s&u)==0)continue;let c=a[s],d=this.tokens[s];if(!(r&&!c.fallback)&&((c.contextual||d.start!=t.pos||d.mask!=u||d.context!=l)&&(this.updateCachedToken(d,c,t),d.mask=u,d.context=l),d.lookAhead>d.end+25&&(o=Math.max(d.lookAhead,o)),d.value!=0)){let h=n;if(d.extended>-1&&(n=this.addActions(t,d.extended,d.end,n)),n=this.addActions(t,d.value,d.end,n),!c.extend&&(r=d,n>h))break}}for(;this.actions.length>n;)this.actions.pop();return o&&t.setLookAhead(o),!r&&t.pos==this.stream.end&&(r=new AE,r.value=t.p.parser.eofTerm,r.start=r.end=t.pos,n=this.addActions(t,r.value,r.end,n)),this.mainToken=r,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let n=new AE,{pos:r,p:i}=t;return n.start=r,n.end=Math.min(r+1,i.stream.end),n.value=r==i.stream.end?i.parser.eofTerm:0,n}updateCachedToken(t,n,r){let i=this.stream.clipPos(r.pos);if(n.token(this.stream.reset(i,t),r),t.value>-1){let{parser:a}=r.p;for(let u=0;u<a.specialized.length;u++)if(a.specialized[u]==t.value){let l=a.specializers[u](this.stream.read(t.start,t.end),r);if(l>=0&&r.p.parser.dialect.allows(l>>1)){(l&1)==0?t.value=l>>1:t.extended=l>>1;break}}}else t.value=0,t.end=this.stream.clipPos(i+1)}putAction(t,n,r,i){for(let a=0;a<i;a+=3)if(this.actions[a]==t)return i;return this.actions[i++]=t,this.actions[i++]=n,this.actions[i++]=r,i}addActions(t,n,r,i){let{state:a}=t,{parser:u}=t.p,{data:l}=u;for(let o=0;o<2;o++)for(let s=u.stateSlot(a,o?2:1);;s+=3){if(l[s]==65535)if(l[s+1]==1)s=Fm(l,s+2);else{i==0&&l[s+1]==2&&(i=this.putAction(Fm(l,s+2),n,r,i));break}l[s]==n&&(i=this.putAction(Fm(l,s+1),n,r,i))}return i}}class MAe{constructor(t,n,r,i){this.parser=t,this.input=n,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new AAe(n,i),this.tokens=new PAe(t,this.stream),this.topTerm=t.top[1];let{from:a}=i[0];this.stacks=[QD.start(this,t.top[0],a)],this.fragments=r.length&&this.stream.end-a>t.bufferLength*4?new kAe(r,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,n=this.minStackPos,r=this.stacks=[],i,a;if(this.bigReductionCount>300&&t.length==1){let[u]=t;for(;u.forceReduce()&&u.stack.length&&u.stack[u.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let u=0;u<t.length;u++){let l=t[u];for(;;){if(this.tokens.mainToken=null,l.pos>n)r.push(l);else{if(this.advanceStack(l,r,t))continue;{i||(i=[],a=[]),i.push(l);let o=this.tokens.getMainToken(l);a.push(o.value,o.end)}}break}}if(!r.length){let u=i&&NAe(i);if(u)return Pf&&console.log("Finish with "+this.stackID(u)),this.stackToTree(u);if(this.parser.strict)throw Pf&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&i){let u=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,a,r);if(u)return Pf&&console.log("Force-finish "+this.stackID(u)),this.stackToTree(u.forceAll())}if(this.recovering){let u=this.recovering==1?1:this.recovering*3;if(r.length>u)for(r.sort((l,o)=>o.score-l.score);r.length>u;)r.pop();r.some(l=>l.reducePos>n)&&this.recovering--}else if(r.length>1){e:for(let u=0;u<r.length-1;u++){let l=r[u];for(let o=u+1;o<r.length;o++){let s=r[o];if(l.sameState(s)||l.buffer.length>500&&s.buffer.length>500)if((l.score-s.score||l.buffer.length-s.buffer.length)>0)r.splice(o--,1);else{r.splice(u--,1);continue e}}}r.length>12&&r.splice(12,r.length-12)}this.minStackPos=r[0].pos;for(let u=1;u<r.length;u++)r[u].pos<this.minStackPos&&(this.minStackPos=r[u].pos);return null}stopAt(t){if(this.stoppedAt!=null&&this.stoppedAt<t)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=t}advanceStack(t,n,r){let i=t.pos,{parser:a}=this,u=Pf?this.stackID(t)+" -> ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let s=t.curContext&&t.curContext.tracker.strict,c=s?t.curContext.hash:0;for(let d=this.fragments.nodeAt(i);d;){let h=this.parser.nodeSet.types[d.type.id]==d.type?a.getGoto(t.state,d.type.id):-1;if(h>-1&&d.length&&(!s||(d.prop(Sa.contextHash)||0)==c))return t.useNode(d,h),Pf&&console.log(u+this.stackID(t)+` (via reuse of ${a.getName(d.type.id)})`),!0;if(!(d instanceof nf)||d.children.length==0||d.positions[0]>0)break;let m=d.children[0];if(m instanceof nf&&d.positions[0]==0)d=m;else break}}let l=a.stateSlot(t.state,4);if(l>0)return t.reduce(l),Pf&&console.log(u+this.stackID(t)+` (via always-reduce ${a.getName(l&65535)})`),!0;if(t.stack.length>=8400)for(;t.stack.length>6e3&&t.forceReduce(););let o=this.tokens.getActions(t);for(let s=0;s<o.length;){let c=o[s++],d=o[s++],h=o[s++],m=s==o.length||!r,y=m?t:t.split(),v=this.tokens.mainToken;if(y.apply(c,d,v?v.start:y.pos,h),Pf&&console.log(u+this.stackID(y)+` (via ${(c&65536)==0?"shift":`reduce of ${a.getName(c&65535)}`} for ${a.getName(d)} @ ${i}${y==t?"":", split"})`),m)return!0;y.pos>i?n.push(y):r.push(y)}return!1}advanceFully(t,n){let r=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>r)return rZ(t,n),!0}}runRecovery(t,n,r){let i=null,a=!1;for(let u=0;u<t.length;u++){let l=t[u],o=n[u<<1],s=n[(u<<1)+1],c=Pf?this.stackID(l)+" -> ":"";if(l.deadEnd&&(a||(a=!0,l.restart(),Pf&&console.log(c+this.stackID(l)+" (restarted)"),this.advanceFully(l,r))))continue;let d=l.split(),h=c;for(let m=0;d.forceReduce()&&m<10&&(Pf&&console.log(h+this.stackID(d)+" (via force-reduce)"),!this.advanceFully(d,r));m++)Pf&&(h=this.stackID(d)+" -> ");for(let m of l.recoverByInsert(o))Pf&&console.log(c+this.stackID(m)+" (via recover-insert)"),this.advanceFully(m,r);this.stream.end>l.pos?(s==l.pos&&(s++,o=0),l.recoverByDelete(o,s),Pf&&console.log(c+this.stackID(l)+` (via recover-delete ${this.parser.getName(o)})`),rZ(l,r)):(!i||i.score<l.score)&&(i=l)}return i}stackToTree(t){return t.close(),nf.build({buffer:zD.create(t),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:t.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(t){let n=(nk||(nk=new WeakMap)).get(t);return n||nk.set(t,n=String.fromCodePoint(this.nextStackID++)),n+t}}function rZ(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(r.pos==e.pos&&r.sameState(e)){t[n].score<e.score&&(t[n]=e);return}}t.push(e)}class FAe{constructor(t,n,r){this.source=t,this.flags=n,this.disabled=r}allows(t){return!this.disabled||this.disabled[t]==0}}const rk=e=>e;class Ehe{constructor(t){this.start=t.start,this.shift=t.shift||rk,this.reduce=t.reduce||rk,this.reuse=t.reuse||rk,this.hash=t.hash||(()=>0),this.strict=t.strict!==!1}}class g3 extends gAe{constructor(t){if(super(),this.wrappers=[],t.version!=14)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (14)`);let n=t.nodeNames.split(" ");this.minRepeatTerm=n.length;for(let l=0;l<t.repeatNodeCount;l++)n.push("");let r=Object.keys(t.topRules).map(l=>t.topRules[l][1]),i=[];for(let l=0;l<n.length;l++)i.push([]);function a(l,o,s){i[l].push([o,o.deserialize(String(s))])}if(t.nodeProps)for(let l of t.nodeProps){let o=l[0];typeof o=="string"&&(o=Sa[o]);for(let s=1;s<l.length;){let c=l[s++];if(c>=0)a(c,o,l[s++]);else{let d=l[s+-c];for(let h=-c;h>0;h--)a(l[s++],o,d);s++}}}this.nodeSet=new NN(n.map((l,o)=>up.define({name:o>=this.minRepeatTerm?void 0:l,id:o,props:i[o],top:r.indexOf(o)>-1,error:o==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(o)>-1}))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=vhe;let u=y2(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let l=0;l<this.specializerSpecs.length;l++)this.specialized[l]=this.specializerSpecs[l].term;this.specializers=this.specializerSpecs.map(iZ),this.states=y2(t.states,Uint32Array),this.data=y2(t.stateData),this.goto=y2(t.goto),this.maxTerm=t.maxTerm,this.tokenizers=t.tokenizers.map(l=>typeof l=="number"?new GO(u,l):l),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,n,r){let i=new MAe(this,t,n,r);for(let a of this.wrappers)i=a(i,t,n,r);return i}getGoto(t,n,r=!1){let i=this.goto;if(n>=i[0])return-1;for(let a=i[n+1];;){let u=i[a++],l=u&1,o=i[a++];if(l&&r)return o;for(let s=a+(u>>1);a<s;a++)if(i[a]==t)return o;if(l)return-1}}hasAction(t,n){let r=this.data;for(let i=0;i<2;i++)for(let a=this.stateSlot(t,i?2:1),u;;a+=3){if((u=r[a])==65535)if(r[a+1]==1)u=r[a=Fm(r,a+2)];else{if(r[a+1]==2)return Fm(r,a+2);break}if(u==n||u==0)return Fm(r,a+1)}return 0}stateSlot(t,n){return this.states[t*6+n]}stateFlag(t,n){return(this.stateSlot(t,0)&n)>0}validAction(t,n){return!!this.allActions(t,r=>r==n?!0:null)}allActions(t,n){let r=this.stateSlot(t,4),i=r?n(r):void 0;for(let a=this.stateSlot(t,1);i==null;a+=3){if(this.data[a]==65535)if(this.data[a+1]==1)a=Fm(this.data,a+2);else break;i=n(Fm(this.data,a+1))}return i}nextStates(t){let n=[];for(let r=this.stateSlot(t,1);;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=Fm(this.data,r+2);else break;if((this.data[r+2]&1)==0){let i=this.data[r+1];n.some((a,u)=>u&1&&a==i)||n.push(this.data[r],i)}}return n}configure(t){let n=Object.assign(Object.create(g3.prototype),this);if(t.props&&(n.nodeSet=this.nodeSet.extend(...t.props)),t.top){let r=this.topRules[t.top];if(!r)throw new RangeError(`Invalid top rule name ${t.top}`);n.top=r}return t.tokenizers&&(n.tokenizers=this.tokenizers.map(r=>{let i=t.tokenizers.find(a=>a.from==r);return i?i.to:r})),t.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((r,i)=>{let a=t.specializers.find(l=>l.from==r.external);if(!a)return r;let u=Object.assign(Object.assign({},r),{external:a.to});return n.specializers[i]=iZ(u),u})),t.contextTracker&&(n.context=t.contextTracker),t.dialect&&(n.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(n.strict=t.strict),t.wrap&&(n.wrappers=n.wrappers.concat(t.wrap)),t.bufferLength!=null&&(n.bufferLength=t.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let n=this.dynamicPrecedences;return n==null?0:n[t]||0}parseDialect(t){let n=Object.keys(this.dialects),r=n.map(()=>!1);if(t)for(let a of t.split(" ")){let u=n.indexOf(a);u>=0&&(r[u]=!0)}let i=null;for(let a=0;a<n.length;a++)if(!r[a])for(let u=this.dialects[n[a]],l;(l=this.data[u++])!=65535;)(i||(i=new Uint8Array(this.maxTerm+1)))[l]=1;return new FAe(t,r,i)}static deserialize(t){return new g3(t)}}function Fm(e,t){return e[t]|e[t+1]<<16}function NAe(e){let t=null;for(let n of e){let r=n.p.stoppedAt;(n.pos==n.p.stream.end||r!=null&&n.pos>r)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)}return t}function iZ(e){if(e.external){let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}const IAe=Symbol("Let zodToJsonSchema decide on which parser to use"),aZ={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"},LAe=e=>typeof e=="string"?{...aZ,name:e}:{...aZ,...e},BAe=e=>{const t=LAe(e),n=t.name!==void 0?[...t.basePath,t.definitionPath,t.name]:t.basePath;return{...t,flags:{hasReferencedOpenAiAnyType:!1},currentPath:n,propertyPath:void 0,seen:new Map(Object.entries(t.definitions).map(([r,i])=>[i._def,{def:i._def,path:[...t.basePath,t.definitionPath,r],jsonSchema:void 0}]))}};function Dhe(e,t,n,r){r!=null&&r.errorMessages&&n&&(e.errorMessage={...e.errorMessage,[t]:n})}function ji(e,t,n,r,i){e[t]=n,Dhe(e,t,r,i)}const $he=(e,t)=>{let n=0;for(;n<e.length&&n<t.length&&e[n]===t[n];n++);return[(e.length-n).toString(),...t.slice(n)].join("/")};function lf(e){if(e.target!=="openAi")return{};const t=[...e.basePath,e.definitionPath,e.openAiAnyTypeName];return e.flags.hasReferencedOpenAiAnyType=!0,{$ref:e.$refStrategy==="relative"?$he(t,e.currentPath):t.join("/")}}function QAe(e,t){var r,i,a;const n={type:"array"};return(r=e.type)!=null&&r._def&&((a=(i=e.type)==null?void 0:i._def)==null?void 0:a.typeName)!==It.ZodAny&&(n.items=Ai(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})),e.minLength&&ji(n,"minItems",e.minLength.value,e.minLength.message,t),e.maxLength&&ji(n,"maxItems",e.maxLength.value,e.maxLength.message,t),e.exactLength&&(ji(n,"minItems",e.exactLength.value,e.exactLength.message,t),ji(n,"maxItems",e.exactLength.value,e.exactLength.message,t)),n}function zAe(e,t){const n={type:"integer",format:"int64"};if(!e.checks)return n;for(const r of e.checks)switch(r.kind){case"min":t.target==="jsonSchema7"?r.inclusive?ji(n,"minimum",r.value,r.message,t):ji(n,"exclusiveMinimum",r.value,r.message,t):(r.inclusive||(n.exclusiveMinimum=!0),ji(n,"minimum",r.value,r.message,t));break;case"max":t.target==="jsonSchema7"?r.inclusive?ji(n,"maximum",r.value,r.message,t):ji(n,"exclusiveMaximum",r.value,r.message,t):(r.inclusive||(n.exclusiveMaximum=!0),ji(n,"maximum",r.value,r.message,t));break;case"multipleOf":ji(n,"multipleOf",r.value,r.message,t);break}return n}function qAe(){return{type:"boolean"}}function Che(e,t){return Ai(e.type._def,t)}const VAe=(e,t)=>Ai(e.innerType._def,t);function whe(e,t,n){const r=n??t.dateStrategy;if(Array.isArray(r))return{anyOf:r.map((i,a)=>whe(e,t,i))};switch(r){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return UAe(e,t)}}const UAe=(e,t)=>{const n={type:"integer",format:"unix-time"};if(t.target==="openApi3")return n;for(const r of e.checks)switch(r.kind){case"min":ji(n,"minimum",r.value,r.message,t);break;case"max":ji(n,"maximum",r.value,r.message,t);break}return n};function jAe(e,t){return{...Ai(e.innerType._def,t),default:e.defaultValue()}}function ZAe(e,t){return t.effectStrategy==="input"?Ai(e.schema._def,t):lf(t)}function HAe(e){return{type:"string",enum:Array.from(e.values)}}const XAe=e=>"type"in e&&e.type==="string"?!1:"allOf"in e;function YAe(e,t){const n=[Ai(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),Ai(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter(a=>!!a);let r=t.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0;const i=[];return n.forEach(a=>{if(XAe(a))i.push(...a.allOf),a.unevaluatedProperties===void 0&&(r=void 0);else{let u=a;if("additionalProperties"in a&&a.additionalProperties===!1){const{additionalProperties:l,...o}=a;u=o}else r=void 0;i.push(u)}}),i.length?{allOf:i,...r}:void 0}function GAe(e,t){const n=typeof e.value;return n!=="bigint"&&n!=="number"&&n!=="boolean"&&n!=="string"?{type:Array.isArray(e.value)?"array":"object"}:t.target==="openApi3"?{type:n==="bigint"?"integer":n,enum:[e.value]}:{type:n==="bigint"?"integer":n,const:e.value}}let ik;const qh={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(ik===void 0&&(ik=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),ik),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?: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])$/,ipv4Cidr:/^(?:(?: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])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function Rhe(e,t){const n={type:"string"};if(e.checks)for(const r of e.checks)switch(r.kind){case"min":ji(n,"minLength",typeof n.minLength=="number"?Math.max(n.minLength,r.value):r.value,r.message,t);break;case"max":ji(n,"maxLength",typeof n.maxLength=="number"?Math.min(n.maxLength,r.value):r.value,r.message,t);break;case"email":switch(t.emailStrategy){case"format:email":Vh(n,"email",r.message,t);break;case"format:idn-email":Vh(n,"idn-email",r.message,t);break;case"pattern:zod":Gs(n,qh.email,r.message,t);break}break;case"url":Vh(n,"uri",r.message,t);break;case"uuid":Vh(n,"uuid",r.message,t);break;case"regex":Gs(n,r.regex,r.message,t);break;case"cuid":Gs(n,qh.cuid,r.message,t);break;case"cuid2":Gs(n,qh.cuid2,r.message,t);break;case"startsWith":Gs(n,RegExp(`^${ak(r.value,t)}`),r.message,t);break;case"endsWith":Gs(n,RegExp(`${ak(r.value,t)}$`),r.message,t);break;case"datetime":Vh(n,"date-time",r.message,t);break;case"date":Vh(n,"date",r.message,t);break;case"time":Vh(n,"time",r.message,t);break;case"duration":Vh(n,"duration",r.message,t);break;case"length":ji(n,"minLength",typeof n.minLength=="number"?Math.max(n.minLength,r.value):r.value,r.message,t),ji(n,"maxLength",typeof n.maxLength=="number"?Math.min(n.maxLength,r.value):r.value,r.message,t);break;case"includes":{Gs(n,RegExp(ak(r.value,t)),r.message,t);break}case"ip":{r.version!=="v6"&&Vh(n,"ipv4",r.message,t),r.version!=="v4"&&Vh(n,"ipv6",r.message,t);break}case"base64url":Gs(n,qh.base64url,r.message,t);break;case"jwt":Gs(n,qh.jwt,r.message,t);break;case"cidr":{r.version!=="v6"&&Gs(n,qh.ipv4Cidr,r.message,t),r.version!=="v4"&&Gs(n,qh.ipv6Cidr,r.message,t);break}case"emoji":Gs(n,qh.emoji(),r.message,t);break;case"ulid":{Gs(n,qh.ulid,r.message,t);break}case"base64":{switch(t.base64Strategy){case"format:binary":{Vh(n,"binary",r.message,t);break}case"contentEncoding:base64":{ji(n,"contentEncoding","base64",r.message,t);break}case"pattern:zod":{Gs(n,qh.base64,r.message,t);break}}break}case"nanoid":Gs(n,qh.nanoid,r.message,t)}return n}function ak(e,t){return t.patternStrategy==="escape"?WAe(e):e}const KAe=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function WAe(e){let t="";for(let n=0;n<e.length;n++)KAe.has(e[n])||(t+="\\"),t+=e[n];return t}function Vh(e,t,n,r){var i;e.format||(i=e.anyOf)!=null&&i.some(a=>a.format)?(e.anyOf||(e.anyOf=[]),e.format&&(e.anyOf.push({format:e.format,...e.errorMessage&&r.errorMessages&&{errorMessage:{format:e.errorMessage.format}}}),delete e.format,e.errorMessage&&(delete e.errorMessage.format,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.anyOf.push({format:t,...n&&r.errorMessages&&{errorMessage:{format:n}}})):ji(e,"format",t,n,r)}function Gs(e,t,n,r){var i;e.pattern||(i=e.allOf)!=null&&i.some(a=>a.pattern)?(e.allOf||(e.allOf=[]),e.pattern&&(e.allOf.push({pattern:e.pattern,...e.errorMessage&&r.errorMessages&&{errorMessage:{pattern:e.errorMessage.pattern}}}),delete e.pattern,e.errorMessage&&(delete e.errorMessage.pattern,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.allOf.push({pattern:uZ(t,r),...n&&r.errorMessages&&{errorMessage:{pattern:n}}})):ji(e,"pattern",uZ(t,r),n,r)}function uZ(e,t){var o;if(!t.applyRegexFlags||!e.flags)return e.source;const n={i:e.flags.includes("i"),m:e.flags.includes("m"),s:e.flags.includes("s")},r=n.i?e.source.toLowerCase():e.source;let i="",a=!1,u=!1,l=!1;for(let s=0;s<r.length;s++){if(a){i+=r[s],a=!1;continue}if(n.i){if(u){if(r[s].match(/[a-z]/)){l?(i+=r[s],i+=`${r[s-2]}-${r[s]}`.toUpperCase(),l=!1):r[s+1]==="-"&&((o=r[s+2])!=null&&o.match(/[a-z]/))?(i+=r[s],l=!0):i+=`${r[s]}${r[s].toUpperCase()}`;continue}}else if(r[s].match(/[a-z]/)){i+=`[${r[s]}${r[s].toUpperCase()}]`;continue}}if(n.m){if(r[s]==="^"){i+=`(^|(?<=[\r
]))`;continue}else if(r[s]==="$"){i+=`($|(?=[\r
]))`;continue}}if(n.s&&r[s]==="."){i+=u?`${r[s]}\r
`:`[${r[s]}\r
]`;continue}i+=r[s],r[s]==="\\"?a=!0:u&&r[s]==="]"?u=!1:!u&&r[s]==="["&&(u=!0)}try{new RegExp(i)}catch{return console.warn(`Could not convert regex pattern at ${t.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),e.source}return i}function Ahe(e,t){var r,i,a,u,l,o;if(t.target==="openAi"&&console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead."),t.target==="openApi3"&&((r=e.keyType)==null?void 0:r._def.typeName)===It.ZodEnum)return{type:"object",required:e.keyType._def.values,properties:e.keyType._def.values.reduce((s,c)=>({...s,[c]:Ai(e.valueType._def,{...t,currentPath:[...t.currentPath,"properties",c]})??lf(t)}),{}),additionalProperties:t.rejectedAdditionalProperties};const n={type:"object",additionalProperties:Ai(e.valueType._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??t.allowedAdditionalProperties};if(t.target==="openApi3")return n;if(((i=e.keyType)==null?void 0:i._def.typeName)===It.ZodString&&((a=e.keyType._def.checks)!=null&&a.length)){const{type:s,...c}=Rhe(e.keyType._def,t);return{...n,propertyNames:c}}else{if(((u=e.keyType)==null?void 0:u._def.typeName)===It.ZodEnum)return{...n,propertyNames:{enum:e.keyType._def.values}};if(((l=e.keyType)==null?void 0:l._def.typeName)===It.ZodBranded&&e.keyType._def.type._def.typeName===It.ZodString&&((o=e.keyType._def.type._def.checks)!=null&&o.length)){const{type:s,...c}=Che(e.keyType._def,t);return{...n,propertyNames:c}}}return n}function JAe(e,t){if(t.mapStrategy==="record")return Ahe(e,t);const n=Ai(e.keyType._def,{...t,currentPath:[...t.currentPath,"items","items","0"]})||lf(t),r=Ai(e.valueType._def,{...t,currentPath:[...t.currentPath,"items","items","1"]})||lf(t);return{type:"array",maxItems:125,items:{type:"array",items:[n,r],minItems:2,maxItems:2}}}function eTe(e){const t=e.values,r=Object.keys(e.values).filter(a=>typeof t[t[a]]!="number").map(a=>t[a]),i=Array.from(new Set(r.map(a=>typeof a)));return{type:i.length===1?i[0]==="string"?"string":"number":["string","number"],enum:r}}function tTe(e){return e.target==="openAi"?void 0:{not:lf({...e,currentPath:[...e.currentPath,"not"]})}}function nTe(e){return e.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}const qD={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function rTe(e,t){if(t.target==="openApi3")return lZ(e,t);const n=e.options instanceof Map?Array.from(e.options.values()):e.options;if(n.every(r=>r._def.typeName in qD&&(!r._def.checks||!r._def.checks.length))){const r=n.reduce((i,a)=>{const u=qD[a._def.typeName];return u&&!i.includes(u)?[...i,u]:i},[]);return{type:r.length>1?r:r[0]}}else if(n.every(r=>r._def.typeName==="ZodLiteral"&&!r.description)){const r=n.reduce((i,a)=>{const u=typeof a._def.value;switch(u){case"string":case"number":case"boolean":return[...i,u];case"bigint":return[...i,"integer"];case"object":if(a._def.value===null)return[...i,"null"];case"symbol":case"undefined":case"function":default:return i}},[]);if(r.length===n.length){const i=r.filter((a,u,l)=>l.indexOf(a)===u);return{type:i.length>1?i:i[0],enum:n.reduce((a,u)=>a.includes(u._def.value)?a:[...a,u._def.value],[])}}}else if(n.every(r=>r._def.typeName==="ZodEnum"))return{type:"string",enum:n.reduce((r,i)=>[...r,...i._def.values.filter(a=>!r.includes(a))],[])};return lZ(e,t)}const lZ=(e,t)=>{const n=(e.options instanceof Map?Array.from(e.options.values()):e.options).map((r,i)=>Ai(r._def,{...t,currentPath:[...t.currentPath,"anyOf",`${i}`]})).filter(r=>!!r&&(!t.strictUnions||typeof r=="object"&&Object.keys(r).length>0));return n.length?{anyOf:n}:void 0};function iTe(e,t){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length))return t.target==="openApi3"?{type:qD[e.innerType._def.typeName],nullable:!0}:{type:[qD[e.innerType._def.typeName],"null"]};if(t.target==="openApi3"){const r=Ai(e.innerType._def,{...t,currentPath:[...t.currentPath]});return r&&"$ref"in r?{allOf:[r],nullable:!0}:r&&{...r,nullable:!0}}const n=Ai(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","0"]});return n&&{anyOf:[n,{type:"null"}]}}function aTe(e,t){const n={type:"number"};if(!e.checks)return n;for(const r of e.checks)switch(r.kind){case"int":n.type="integer",Dhe(n,"type",r.message,t);break;case"min":t.target==="jsonSchema7"?r.inclusive?ji(n,"minimum",r.value,r.message,t):ji(n,"exclusiveMinimum",r.value,r.message,t):(r.inclusive||(n.exclusiveMinimum=!0),ji(n,"minimum",r.value,r.message,t));break;case"max":t.target==="jsonSchema7"?r.inclusive?ji(n,"maximum",r.value,r.message,t):ji(n,"exclusiveMaximum",r.value,r.message,t):(r.inclusive||(n.exclusiveMaximum=!0),ji(n,"maximum",r.value,r.message,t));break;case"multipleOf":ji(n,"multipleOf",r.value,r.message,t);break}return n}function uTe(e,t){const n=t.target==="openAi",r={type:"object",properties:{}},i=[],a=e.shape();for(const l in a){let o=a[l];if(o===void 0||o._def===void 0)continue;let s=oTe(o);s&&n&&(o._def.typeName==="ZodOptional"&&(o=o._def.innerType),o.isNullable()||(o=o.nullable()),s=!1);const c=Ai(o._def,{...t,currentPath:[...t.currentPath,"properties",l],propertyPath:[...t.currentPath,"properties",l]});c!==void 0&&(r.properties[l]=c,s||i.push(l))}i.length&&(r.required=i);const u=lTe(e,t);return u!==void 0&&(r.additionalProperties=u),r}function lTe(e,t){if(e.catchall._def.typeName!=="ZodNever")return Ai(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]});switch(e.unknownKeys){case"passthrough":return t.allowedAdditionalProperties;case"strict":return t.rejectedAdditionalProperties;case"strip":return t.removeAdditionalStrategy==="strict"?t.allowedAdditionalProperties:t.rejectedAdditionalProperties}}function oTe(e){try{return e.isOptional()}catch{return!0}}const sTe=(e,t)=>{var r;if(t.currentPath.toString()===((r=t.propertyPath)==null?void 0:r.toString()))return Ai(e.innerType._def,t);const n=Ai(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","1"]});return n?{anyOf:[{not:lf(t)},n]}:lf(t)},cTe=(e,t)=>{if(t.pipeStrategy==="input")return Ai(e.in._def,t);if(t.pipeStrategy==="output")return Ai(e.out._def,t);const n=Ai(e.in._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),r=Ai(e.out._def,{...t,currentPath:[...t.currentPath,"allOf",n?"1":"0"]});return{allOf:[n,r].filter(i=>i!==void 0)}};function fTe(e,t){return Ai(e.type._def,t)}function dTe(e,t){const r={type:"array",uniqueItems:!0,items:Ai(e.valueType._def,{...t,currentPath:[...t.currentPath,"items"]})};return e.minSize&&ji(r,"minItems",e.minSize.value,e.minSize.message,t),e.maxSize&&ji(r,"maxItems",e.maxSize.value,e.maxSize.message,t),r}function hTe(e,t){return e.rest?{type:"array",minItems:e.items.length,items:e.items.map((n,r)=>Ai(n._def,{...t,currentPath:[...t.currentPath,"items",`${r}`]})).reduce((n,r)=>r===void 0?n:[...n,r],[]),additionalItems:Ai(e.rest._def,{...t,currentPath:[...t.currentPath,"additionalItems"]})}:{type:"array",minItems:e.items.length,maxItems:e.items.length,items:e.items.map((n,r)=>Ai(n._def,{...t,currentPath:[...t.currentPath,"items",`${r}`]})).reduce((n,r)=>r===void 0?n:[...n,r],[])}}function pTe(e){return{not:lf(e)}}function mTe(e){return lf(e)}const gTe=(e,t)=>Ai(e.innerType._def,t),vTe=(e,t,n)=>{switch(t){case It.ZodString:return Rhe(e,n);case It.ZodNumber:return aTe(e,n);case It.ZodObject:return uTe(e,n);case It.ZodBigInt:return zAe(e,n);case It.ZodBoolean:return qAe();case It.ZodDate:return whe(e,n);case It.ZodUndefined:return pTe(n);case It.ZodNull:return nTe(n);case It.ZodArray:return QAe(e,n);case It.ZodUnion:case It.ZodDiscriminatedUnion:return rTe(e,n);case It.ZodIntersection:return YAe(e,n);case It.ZodTuple:return hTe(e,n);case It.ZodRecord:return Ahe(e,n);case It.ZodLiteral:return GAe(e,n);case It.ZodEnum:return HAe(e);case It.ZodNativeEnum:return eTe(e);case It.ZodNullable:return iTe(e,n);case It.ZodOptional:return sTe(e,n);case It.ZodMap:return JAe(e,n);case It.ZodSet:return dTe(e,n);case It.ZodLazy:return()=>e.getter()._def;case It.ZodPromise:return fTe(e,n);case It.ZodNaN:case It.ZodNever:return tTe(n);case It.ZodEffects:return ZAe(e,n);case It.ZodAny:return lf(n);case It.ZodUnknown:return mTe(n);case It.ZodDefault:return jAe(e,n);case It.ZodBranded:return Che(e,n);case It.ZodReadonly:return gTe(e,n);case It.ZodCatch:return VAe(e,n);case It.ZodPipeline:return cTe(e,n);case It.ZodFunction:case It.ZodVoid:case It.ZodSymbol:return;default:return(r=>{})()}};function Ai(e,t,n=!1){var l;const r=t.seen.get(e);if(t.override){const o=(l=t.override)==null?void 0:l.call(t,e,t,r,n);if(o!==IAe)return o}if(r&&!n){const o=yTe(r,t);if(o!==void 0)return o}const i={def:e,path:t.currentPath,jsonSchema:void 0};t.seen.set(e,i);const a=vTe(e,e.typeName,t),u=typeof a=="function"?Ai(a(),t):a;if(u&&bTe(e,t,u),t.postProcess){const o=t.postProcess(u,e,t);return i.jsonSchema=u,o}return i.jsonSchema=u,u}const yTe=(e,t)=>{switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:$he(t.currentPath,e.path)};case"none":case"seen":return e.path.length<t.currentPath.length&&e.path.every((n,r)=>t.currentPath[r]===n)?(console.warn(`Recursive reference detected at ${t.currentPath.join("/")}! Defaulting to any`),lf(t)):t.$refStrategy==="seen"?lf(t):void 0}},bTe=(e,t,n)=>(e.description&&(n.description=e.description,t.markdownDescription&&(n.markdownDescription=e.description)),n),Wrt=(e,t)=>{const n=BAe(t);let r=typeof t=="object"&&t.definitions?Object.entries(t.definitions).reduce((o,[s,c])=>({...o,[s]:Ai(c._def,{...n,currentPath:[...n.basePath,n.definitionPath,s]},!0)??lf(n)}),{}):void 0;const i=typeof t=="string"?t:(t==null?void 0:t.nameStrategy)==="title"||t==null?void 0:t.name,a=Ai(e._def,i===void 0?n:{...n,currentPath:[...n.basePath,n.definitionPath,i]},!1)??lf(n),u=typeof t=="object"&&t.name!==void 0&&t.nameStrategy==="title"?t.name:void 0;u!==void 0&&(a.title=u),n.flags.hasReferencedOpenAiAnyType&&(r||(r={}),r[n.openAiAnyTypeName]||(r[n.openAiAnyTypeName]={type:["string","number","integer","boolean","array","null"],items:{$ref:n.$refStrategy==="relative"?"1":[...n.basePath,n.definitionPath,n.openAiAnyTypeName].join("/")}}));const l=i===void 0?r?{...a,[n.definitionPath]:r}:a:{$ref:[...n.$refStrategy==="relative"?[]:n.basePath,n.definitionPath,i].join("/"),[n.definitionPath]:{...r,[i]:a}};return n.target==="jsonSchema7"?l.$schema="http://json-schema.org/draft-07/schema#":(n.target==="jsonSchema2019-09"||n.target==="openAi")&&(l.$schema="https://json-schema.org/draft/2019-09/schema#"),n.target==="openAi"&&("anyOf"in l||"oneOf"in l||"allOf"in l||"type"in l&&Array.isArray(l.type))&&console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property."),l},Jrt={output:"output",llm:"llm",retrieval:"retrieval",reranker:"reranker",message:"message",document:"document",embedding:"embedding",tool:"tool",tool_call:"tool_call",user:"user"},eit={provider:"provider",model_name:"model_name",input_messages:"input_messages",output_messages:"output_messages",invocation_parameters:"invocation_parameters",prompts:"prompts",prompt_template:"prompt_template",tools:"tools"},tit={documents:"documents"},nit={input_documents:"input_documents",output_documents:"output_documents",query:"query"},rit={embeddings:"embeddings",text:"text",model_name:"model_name"},iit={name:"name",description:"description",parameters:"parameters",json_schema:"json_schema"},ait={role:"role",content:"content",contents:"contents",name:"name",function_call_name:"function_call_name",function_call_arguments_json:"function_call_arguments_json",tool_calls:"tool_calls",tool_call_id:"tool_call_id"},uit={id:"id",content:"content",score:"score",metadata:"metadata"},lit={id:"id"};var oZ;(function(e){e.LLM="LLM",e.CHAIN="CHAIN",e.TOOL="TOOL",e.RETRIEVER="RETRIEVER",e.RERANKER="RERANKER",e.EMBEDDING="EMBEDDING",e.AGENT="AGENT",e.GUARDRAIL="GUARDRAIL",e.EVALUATOR="EVALUATOR"})(oZ||(oZ={}));var sZ;(function(e){e.TEXT="text/plain",e.JSON="application/json",e.AUDIO_WAV="audio/wav"})(sZ||(sZ={}));var cZ;(function(e){e.OPENAI="openai",e.ANTHROPIC="anthropic",e.MISTRALAI="mistralai",e.COHERE="cohere",e.VERTEXAI="vertexai"})(cZ||(cZ={}));var fZ;(function(e){e.OPENAI="openai",e.ANTHROPIC="anthropic",e.MISTRALAI="mistralai",e.COHERE="cohere",e.GOOGLE="google",e.AWS="aws",e.AZURE="azure"})(fZ||(fZ={}));function A9(){return A9=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},A9.apply(null,arguments)}var The=["shift","alt","meta","mod","ctrl"],OTe={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function Ev(e){return(e&&OTe[e]||e||"").trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function STe(e){return The.includes(e)}function uk(e,t){return t===void 0&&(t=","),e.split(t)}function lk(e,t,n){t===void 0&&(t="+");var r=e.toLocaleLowerCase().split(t).map(function(u){return Ev(u)}),i={alt:r.includes("alt"),ctrl:r.includes("ctrl")||r.includes("control"),shift:r.includes("shift"),meta:r.includes("meta"),mod:r.includes("mod")},a=r.filter(function(u){return!The.includes(u)});return A9({},i,{keys:a,description:n,hotkey:e})}(function(){typeof document<"u"&&(document.addEventListener("keydown",function(e){e.key!==void 0&&khe([Ev(e.key),Ev(e.code)])}),document.addEventListener("keyup",function(e){e.key!==void 0&&Phe([Ev(e.key),Ev(e.code)])})),typeof window<"u"&&window.addEventListener("blur",function(){Dv.clear()})})();var Dv=new Set;function zN(e){return Array.isArray(e)}function xTe(e,t){t===void 0&&(t=",");var n=zN(e)?e:e.split(t);return n.every(function(r){return Dv.has(r.trim().toLowerCase())})}function khe(e){var t=Array.isArray(e)?e:[e];Dv.has("meta")&&Dv.forEach(function(n){return!STe(n)&&Dv.delete(n.toLowerCase())}),t.forEach(function(n){return Dv.add(n.toLowerCase())})}function Phe(e){var t=Array.isArray(e)?e:[e];e==="meta"?Dv.clear():t.forEach(function(n){return Dv.delete(n.toLowerCase())})}function _Te(e,t,n){(typeof n=="function"&&n(e,t)||n===!0)&&e.preventDefault()}function ETe(e,t,n){return typeof n=="function"?n(e,t):n===!0||n===void 0}function DTe(e){return Mhe(e,["input","textarea","select"])}function Mhe(e,t){t===void 0&&(t=!1);var n=e.target,r=e.composed,i=null;return $Te(n)&&r?i=e.composedPath()[0]&&e.composedPath()[0].tagName:i=n&&n.tagName,zN(t)?!!(i&&t&&t.some(function(a){var u;return a.toLowerCase()===((u=i)==null?void 0:u.toLowerCase())})):!!(i&&t&&t)}function $Te(e){return!!e.tagName&&!e.tagName.startsWith("-")&&e.tagName.includes("-")}function CTe(e,t){return e.length===0&&t?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),!0):t?e.some(function(n){return t.includes(n)})||e.includes("*"):!0}var wTe=function(t,n,r){r===void 0&&(r=!1);var i=n.alt,a=n.meta,u=n.mod,l=n.shift,o=n.ctrl,s=n.keys,c=t.key,d=t.code,h=t.ctrlKey,m=t.metaKey,y=t.shiftKey,v=t.altKey,_=Ev(d),x=c.toLowerCase();if(!(s!=null&&s.includes(_))&&!(s!=null&&s.includes(x))&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(_))return!1;if(!r){if(i===!v&&x!=="alt"||l===!y&&x!=="shift")return!1;if(u){if(!m&&!h)return!1}else if(a===!m&&x!=="meta"&&x!=="os"||o===!h&&x!=="ctrl"&&x!=="control")return!1}return s&&s.length===1&&(s.includes(x)||s.includes(_))?!0:s?xTe(s):!s},RTe=P.createContext(void 0),ATe=function(){return P.useContext(RTe)};function Fhe(e,t){return e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce(function(n,r){return n&&Fhe(e[r],t[r])},!0):e===t}var TTe=P.createContext({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),kTe=function(){return P.useContext(TTe)};function PTe(e){var t=P.useRef(void 0);return Fhe(t.current,e)||(t.current=e),t.current}var dZ=function(t){t.stopPropagation(),t.preventDefault(),t.stopImmediatePropagation()},MTe=typeof window<"u"?P.useLayoutEffect:P.useEffect;function oit(e,t,n,r){var i=P.useState(null),a=i[0],u=i[1],l=P.useRef(!1),o=n instanceof Array?r instanceof Array?void 0:r:n,s=zN(e)?e.join(o==null?void 0:o.splitKey):e,c=n instanceof Array?n:r instanceof Array?r:void 0,d=P.useCallback(t,c??[]),h=P.useRef(d);c?h.current=d:h.current=t;var m=PTe(o),y=kTe(),v=y.enabledScopes,_=ATe();return MTe(function(){if(!((m==null?void 0:m.enabled)===!1||!CTe(v,m==null?void 0:m.scopes))){var x=function(C,k){var F;if(k===void 0&&(k=!1),!(DTe(C)&&!Mhe(C,m==null?void 0:m.enableOnFormTags))){if(a!==null){var z=a.getRootNode();if((z instanceof Document||z instanceof ShadowRoot)&&z.activeElement!==a&&!a.contains(z.activeElement)){dZ(C);return}}(F=C.target)!=null&&F.isContentEditable&&!(m!=null&&m.enableOnContentEditable)||uk(s,m==null?void 0:m.splitKey).forEach(function(Z){var q,j=lk(Z,m==null?void 0:m.combinationKey);if(wTe(C,j,m==null?void 0:m.ignoreModifiers)||(q=j.keys)!=null&&q.includes("*")){if(m!=null&&m.ignoreEventWhen!=null&&m.ignoreEventWhen(C)||k&&l.current)return;if(_Te(C,j,m==null?void 0:m.preventDefault),!ETe(C,j,m==null?void 0:m.enabled)){dZ(C);return}h.current(C,j),k||(l.current=!0)}})}},E=function(C){C.key!==void 0&&(khe(Ev(C.code)),((m==null?void 0:m.keydown)===void 0&&(m==null?void 0:m.keyup)!==!0||m!=null&&m.keydown)&&x(C))},w=function(C){C.key!==void 0&&(Phe(Ev(C.code)),l.current=!1,m!=null&&m.keyup&&x(C,!0))},T=a||(o==null?void 0:o.document)||document;return T.addEventListener("keyup",w,o==null?void 0:o.eventListenerOptions),T.addEventListener("keydown",E,o==null?void 0:o.eventListenerOptions),_&&uk(s,m==null?void 0:m.splitKey).forEach(function(R){return _.addHotkey(lk(R,m==null?void 0:m.combinationKey,m==null?void 0:m.description))}),function(){T.removeEventListener("keyup",w,o==null?void 0:o.eventListenerOptions),T.removeEventListener("keydown",E,o==null?void 0:o.eventListenerOptions),_&&uk(s,m==null?void 0:m.splitKey).forEach(function(R){return _.removeHotkey(lk(R,m==null?void 0:m.combinationKey,m==null?void 0:m.description))})}}},[a,s,m,v]),u}/**
 * react-router v7.8.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var Nhe=e=>{throw TypeError(e)},FTe=(e,t,n)=>t.has(e)||Nhe("Cannot "+n),ok=(e,t,n)=>(FTe(e,t,"read from private field"),n?n.call(e):t.get(e)),NTe=(e,t,n)=>t.has(e)?Nhe("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),hZ="popstate";function ITe(e={}){function t(r,i){let{pathname:a,search:u,hash:l}=r.location;return cS("",{pathname:a,search:u,hash:l},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Uv(i)}return BTe(t,n,null,e)}function hr(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Su(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function LTe(){return Math.random().toString(36).substring(2,10)}function pZ(e,t){return{usr:e.state,key:e.key,idx:t}}function cS(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ly(t):t,state:n,key:t&&t.key||r||LTe()}}function Uv({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function ly(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function BTe(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,u=i.history,l="POP",o=null,s=c();s==null&&(s=0,u.replaceState({...u.state,idx:s},""));function c(){return(u.state||{idx:null}).idx}function d(){l="POP";let _=c(),x=_==null?null:_-s;s=_,o&&o({action:l,location:v.location,delta:x})}function h(_,x){l="PUSH";let E=cS(v.location,_,x);s=c()+1;let w=pZ(E,s),T=v.createHref(E);try{u.pushState(w,"",T)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;i.location.assign(T)}a&&o&&o({action:l,location:v.location,delta:1})}function m(_,x){l="REPLACE";let E=cS(v.location,_,x);s=c();let w=pZ(E,s),T=v.createHref(E);u.replaceState(w,"",T),a&&o&&o({action:l,location:v.location,delta:0})}function y(_){return Ihe(_)}let v={get action(){return l},get location(){return e(i,u)},listen(_){if(o)throw new Error("A history only accepts one active listener");return i.addEventListener(hZ,d),o=_,()=>{i.removeEventListener(hZ,d),o=null}},createHref(_){return t(i,_)},createURL:y,encodeLocation(_){let x=y(_);return{pathname:x.pathname,search:x.search,hash:x.hash}},push:h,replace:m,go(_){return u.go(_)}};return v}function Ihe(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),hr(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Uv(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}var b2,mZ=class{constructor(e){if(NTe(this,b2,new Map),e)for(let[t,n]of e)this.set(t,n)}get(e){if(ok(this,b2).has(e))return ok(this,b2).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,t){ok(this,b2).set(e,t)}};b2=new WeakMap;var QTe=new Set(["lazy","caseSensitive","path","id","index","children"]);function zTe(e){return QTe.has(e)}var qTe=new Set(["lazy","caseSensitive","path","id","index","unstable_middleware","children"]);function VTe(e){return qTe.has(e)}function UTe(e){return e.index===!0}function fS(e,t,n=[],r={},i=!1){return e.map((a,u)=>{let l=[...n,String(u)],o=typeof a.id=="string"?a.id:l.join("-");if(hr(a.index!==!0||!a.children,"Cannot specify children on an index route"),hr(i||!r[o],`Found a route id collision on id "${o}".  Route id's must be globally unique within Data Router usages`),UTe(a)){let s={...a,...t(a),id:o};return r[o]=s,s}else{let s={...a,...t(a),id:o,children:void 0};return r[o]=s,a.children&&(s.children=fS(a.children,t,l,r,i)),s}})}function yv(e,t,n="/"){return TE(e,t,n,!1)}function TE(e,t,n,r){let i=typeof t=="string"?ly(t):t,a=of(i.pathname||"/",n);if(a==null)return null;let u=Bhe(e);jTe(u);let l=null;for(let o=0;l==null&&o<u.length;++o){let s=nke(a);l=eke(u[o],s,r)}return l}function Lhe(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],loaderData:t[n.id],handle:n.handle}}function Bhe(e,t=[],n=[],r=""){let i=(a,u,l)=>{let o={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:u,route:a};o.relativePath.startsWith("/")&&(hr(o.relativePath.startsWith(r),`Absolute route path "${o.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),o.relativePath=o.relativePath.slice(r.length));let s=E0([r,o.relativePath]),c=n.concat(o);a.children&&a.children.length>0&&(hr(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${s}".`),Bhe(a.children,t,c,s)),!(a.path==null&&!a.index)&&t.push({path:s,score:WTe(s,a.index),routesMeta:c})};return e.forEach((a,u)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))i(a,u);else for(let o of Qhe(a.path))i(a,u,o)}),t}function Qhe(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let u=Qhe(r.join("/")),l=[];return l.push(...u.map(o=>o===""?a:[a,o].join("/"))),i&&l.push(...u),l.map(o=>e.startsWith("/")&&o===""?"/":o)}function jTe(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:JTe(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var ZTe=/^:[\w-]+$/,HTe=3,XTe=2,YTe=1,GTe=10,KTe=-2,gZ=e=>e==="*";function WTe(e,t){let n=e.split("/"),r=n.length;return n.some(gZ)&&(r+=KTe),t&&(r+=XTe),n.filter(i=>!gZ(i)).reduce((i,a)=>i+(ZTe.test(a)?HTe:a===""?YTe:GTe),r)}function JTe(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function eke(e,t,n=!1){let{routesMeta:r}=e,i={},a="/",u=[];for(let l=0;l<r.length;++l){let o=r[l],s=l===r.length-1,c=a==="/"?t:t.slice(a.length)||"/",d=VD({path:o.relativePath,caseSensitive:o.caseSensitive,end:s},c),h=o.route;if(!d&&s&&n&&!r[r.length-1].route.index&&(d=VD({path:o.relativePath,caseSensitive:o.caseSensitive,end:!1},c)),!d)return null;Object.assign(i,d.params),u.push({params:i,pathname:E0([a,d.pathname]),pathnameBase:uke(E0([a,d.pathnameBase])),route:h}),d.pathnameBase!=="/"&&(a=E0([a,d.pathnameBase]))}return u}function VD(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=tke(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],u=a.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:r.reduce((s,{paramName:c,isOptional:d},h)=>{if(c==="*"){let y=l[h]||"";u=a.slice(0,a.length-y.length).replace(/(.)\/+$/,"$1")}const m=l[h];return d&&!m?s[c]=void 0:s[c]=(m||"").replace(/%2F/g,"/"),s},{}),pathname:a,pathnameBase:u,pattern:e}}function tke(e,t=!1,n=!0){Su(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,l,o)=>(r.push({paramName:l,isOptional:o!=null}),o?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function nke(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Su(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function of(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function rke({basename:e,pathname:t}){return t==="/"?e:E0([e,t])}function ike(e,t="/"){let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?ly(e):e;return{pathname:n?n.startsWith("/")?n:ake(n,t):t,search:lke(r),hash:oke(i)}}function ake(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function sk(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function zhe(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function NC(e){let t=zhe(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function IC(e,t,n,r=!1){let i;typeof e=="string"?i=ly(e):(i={...e},hr(!i.pathname||!i.pathname.includes("?"),sk("?","pathname","search",i)),hr(!i.pathname||!i.pathname.includes("#"),sk("#","pathname","hash",i)),hr(!i.search||!i.search.includes("#"),sk("#","search","hash",i)));let a=e===""||i.pathname==="",u=a?"/":i.pathname,l;if(u==null)l=n;else{let d=t.length-1;if(!r&&u.startsWith("..")){let h=u.split("/");for(;h[0]==="..";)h.shift(),d-=1;i.pathname=h.join("/")}l=d>=0?t[d]:"/"}let o=ike(i,l),s=u&&u!=="/"&&u.endsWith("/"),c=(a||u===".")&&n.endsWith("/");return!o.pathname.endsWith("/")&&(s||c)&&(o.pathname+="/"),o}var E0=e=>e.join("/").replace(/\/\/+/g,"/"),uke=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),lke=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,oke=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,sit=(e,t=302)=>{let n=t;typeof n=="number"?n={status:n}:typeof n.status>"u"&&(n.status=302);let r=new Headers(n.headers);return r.set("Location",e),new Response(null,{...n,headers:r})},UD=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function dS(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var qhe=["POST","PUT","PATCH","DELETE"],ske=new Set(qhe),cke=["GET",...qhe],fke=new Set(cke),dke=new Set([301,302,303,307,308]),hke=new Set([307,308]),ck={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},pke={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},_O={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},mke=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qN=e=>mke.test(e),gke=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Vhe="remix-router-transitions",Uhe=Symbol("ResetLoaderData");function vke(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";hr(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let r=e.hydrationRouteProperties||[],i=e.mapRouteProperties||gke,a={},u=fS(e.routes,i,void 0,a),l,o=e.basename||"/",s=e.dataStrategy||xke,c={unstable_middleware:!1,...e.future},d=null,h=new Set,m=null,y=null,v=null,_=e.hydrationData!=null,x=yv(u,e.history.location,o),E=!1,w=null,T;if(x==null&&!e.patchRoutesOnNavigation){let ke=Bd(404,{pathname:e.history.location.pathname}),{matches:He,route:nt}=wZ(u);T=!0,x=He,w={[nt.id]:ke}}else if(x&&!e.hydrationData&&sr(x,u,e.history.location.pathname).active&&(x=null),x)if(x.some(ke=>ke.route.lazy))T=!1;else if(!x.some(ke=>ke.route.loader))T=!0;else{let ke=e.hydrationData?e.hydrationData.loaderData:null,He=e.hydrationData?e.hydrationData.errors:null;if(He){let nt=x.findIndex(dt=>He[dt.route.id]!==void 0);T=x.slice(0,nt+1).every(dt=>!k9(dt.route,ke,He))}else T=x.every(nt=>!k9(nt.route,ke,He))}else{T=!1,x=[];let ke=sr(null,u,e.history.location.pathname);ke.active&&ke.matches&&(E=!0,x=ke.matches)}let R,C={historyAction:e.history.action,location:e.history.location,matches:x,initialized:T,navigation:ck,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||w,fetchers:new Map,blockers:new Map},k="POP",F=!1,z,Z=!1,q=new Map,j=null,N=!1,V=!1,W=new Set,G=new Map,J=0,te=-1,X=new Map,M=new Set,K=new Map,Y=new Map,B=new Set,ne=new Map,oe,ae=null;function de(){if(d=e.history.listen(({action:ke,location:He,delta:nt})=>{if(oe){oe(),oe=void 0;return}Su(ne.size===0||nt!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let dt=Tt({currentLocation:C.location,nextLocation:He,historyAction:ke});if(dt&&nt!=null){let $t=new Promise(Ut=>{oe=Ut});e.history.go(nt*-1),ht(dt,{state:"blocked",location:He,proceed(){ht(dt,{state:"proceeding",proceed:void 0,reset:void 0,location:He}),$t.then(()=>e.history.go(nt))},reset(){let Ut=new Map(C.blockers);Ut.set(dt,_O),pe({blockers:Ut})}});return}return ge(ke,He)}),n){Pke(t,q);let ke=()=>Mke(t,q);t.addEventListener("pagehide",ke),j=()=>t.removeEventListener("pagehide",ke)}return C.initialized||ge("POP",C.location,{initialHydration:!0}),R}function be(){d&&d(),j&&j(),h.clear(),z&&z.abort(),C.fetchers.forEach((ke,He)=>Ot(He)),C.blockers.forEach((ke,He)=>Fe(He))}function ye(ke){return h.add(ke),()=>h.delete(ke)}function pe(ke,He={}){ke.matches&&(ke.matches=ke.matches.map($t=>{let Ut=a[$t.route.id],Zt=$t.route;return Zt.element!==Ut.element||Zt.errorElement!==Ut.errorElement||Zt.hydrateFallbackElement!==Ut.hydrateFallbackElement?{...$t,route:Ut}:$t})),C={...C,...ke};let nt=[],dt=[];C.fetchers.forEach(($t,Ut)=>{$t.state==="idle"&&(B.has(Ut)?nt.push(Ut):dt.push(Ut))}),B.forEach($t=>{!C.fetchers.has($t)&&!G.has($t)&&nt.push($t)}),[...h].forEach($t=>$t(C,{deletedFetchers:nt,viewTransitionOpts:He.viewTransitionOpts,flushSync:He.flushSync===!0})),nt.forEach($t=>Ot($t)),dt.forEach($t=>C.fetchers.delete($t))}function _e(ke,He,{flushSync:nt}={}){var tn,Rt;let dt=C.actionData!=null&&C.navigation.formMethod!=null&&Gc(C.navigation.formMethod)&&C.navigation.state==="loading"&&((tn=ke.state)==null?void 0:tn._isRedirect)!==!0,$t;He.actionData?Object.keys(He.actionData).length>0?$t=He.actionData:$t=null:dt?$t=C.actionData:$t=null;let Ut=He.loaderData?$Z(C.loaderData,He.loaderData,He.matches||[],He.errors):C.loaderData,Zt=C.blockers;Zt.size>0&&(Zt=new Map(Zt),Zt.forEach((on,mr)=>Zt.set(mr,_O)));let Lt=N?!1:jn(ke,He.matches||C.matches),Vt=F===!0||C.navigation.formMethod!=null&&Gc(C.navigation.formMethod)&&((Rt=ke.state)==null?void 0:Rt._isRedirect)!==!0;l&&(u=l,l=void 0),N||k==="POP"||(k==="PUSH"?e.history.push(ke,ke.state):k==="REPLACE"&&e.history.replace(ke,ke.state));let en;if(k==="POP"){let on=q.get(C.location.pathname);on&&on.has(ke.pathname)?en={currentLocation:C.location,nextLocation:ke}:q.has(ke.pathname)&&(en={currentLocation:ke,nextLocation:C.location})}else if(Z){let on=q.get(C.location.pathname);on?on.add(ke.pathname):(on=new Set([ke.pathname]),q.set(C.location.pathname,on)),en={currentLocation:C.location,nextLocation:ke}}pe({...He,actionData:$t,loaderData:Ut,historyAction:k,location:ke,initialized:!0,navigation:ck,revalidation:"idle",restoreScrollPosition:Lt,preventScrollReset:Vt,blockers:Zt},{viewTransitionOpts:en,flushSync:nt===!0}),k="POP",F=!1,Z=!1,N=!1,V=!1,ae==null||ae.resolve(),ae=null}async function se(ke,He){if(typeof ke=="number"){e.history.go(ke);return}let nt=T9(C.location,C.matches,o,ke,He==null?void 0:He.fromRouteId,He==null?void 0:He.relative),{path:dt,submission:$t,error:Ut}=vZ(!1,nt,He),Zt=C.location,Lt=cS(C.location,dt,He&&He.state);Lt={...Lt,...e.history.encodeLocation(Lt)};let Vt=He&&He.replace!=null?He.replace:void 0,en="PUSH";Vt===!0?en="REPLACE":Vt===!1||$t!=null&&Gc($t.formMethod)&&$t.formAction===C.location.pathname+C.location.search&&(en="REPLACE");let tn=He&&"preventScrollReset"in He?He.preventScrollReset===!0:void 0,Rt=(He&&He.flushSync)===!0,on=Tt({currentLocation:Zt,nextLocation:Lt,historyAction:en});if(on){ht(on,{state:"blocked",location:Lt,proceed(){ht(on,{state:"proceeding",proceed:void 0,reset:void 0,location:Lt}),se(ke,He)},reset(){let mr=new Map(C.blockers);mr.set(on,_O),pe({blockers:mr})}});return}await ge(en,Lt,{submission:$t,pendingError:Ut,preventScrollReset:tn,replace:He&&He.replace,enableViewTransition:He&&He.viewTransition,flushSync:Rt})}function me(){ae||(ae=Fke()),Ye(),pe({revalidation:"loading"});let ke=ae.promise;return C.navigation.state==="submitting"?ke:C.navigation.state==="idle"?(ge(C.historyAction,C.location,{startUninterruptedRevalidation:!0}),ke):(ge(k||C.historyAction,C.navigation.location,{overrideNavigation:C.navigation,enableViewTransition:Z===!0}),ke)}async function ge(ke,He,nt){z&&z.abort(),z=null,k=ke,N=(nt&&nt.startUninterruptedRevalidation)===!0,un(C.location,C.matches),F=(nt&&nt.preventScrollReset)===!0,Z=(nt&&nt.enableViewTransition)===!0;let dt=l||u,$t=nt&&nt.overrideNavigation,Ut=nt!=null&&nt.initialHydration&&C.matches&&C.matches.length>0&&!E?C.matches:yv(dt,He,o),Zt=(nt&&nt.flushSync)===!0;if(Ut&&C.initialized&&!V&&wke(C.location,He)&&!(nt&&nt.submission&&Gc(nt.submission.formMethod))){_e(He,{matches:Ut},{flushSync:Zt});return}let Lt=sr(Ut,dt,He.pathname);if(Lt.active&&Lt.matches&&(Ut=Lt.matches),!Ut){let{error:_a,notFoundMatches:pi,route:qr}=Qt(He.pathname);_e(He,{matches:pi,loaderData:{},errors:{[qr.id]:_a}},{flushSync:Zt});return}z=new AbortController;let Vt=EO(e.history,He,z.signal,nt&&nt.submission),en=e.unstable_getContext?await e.unstable_getContext():new mZ,tn;if(nt&&nt.pendingError)tn=[bv(Ut).route.id,{type:"error",error:nt.pendingError}];else if(nt&&nt.submission&&Gc(nt.submission.formMethod)){let _a=await we(Vt,He,nt.submission,Ut,en,Lt.active,nt&&nt.initialHydration===!0,{replace:nt.replace,flushSync:Zt});if(_a.shortCircuited)return;if(_a.pendingActionResult){let[pi,qr]=_a.pendingActionResult;if(If(qr)&&dS(qr.error)&&qr.error.status===404){z=null,_e(He,{matches:_a.matches,loaderData:{},errors:{[pi]:qr.error}});return}}Ut=_a.matches||Ut,tn=_a.pendingActionResult,$t=fk(He,nt.submission),Zt=!1,Lt.active=!1,Vt=EO(e.history,Vt.url,Vt.signal)}let{shortCircuited:Rt,matches:on,loaderData:mr,errors:ki}=await Ne(Vt,He,Ut,en,Lt.active,$t,nt&&nt.submission,nt&&nt.fetcherSubmission,nt&&nt.replace,nt&&nt.initialHydration===!0,Zt,tn);Rt||(z=null,_e(He,{matches:on||Ut,...CZ(tn),loaderData:mr,errors:ki}))}async function we(ke,He,nt,dt,$t,Ut,Zt,Lt={}){Ye();let Vt=Tke(He,nt);if(pe({navigation:Vt},{flushSync:Lt.flushSync===!0}),Ut){let Rt=await ar(dt,He.pathname,ke.signal);if(Rt.type==="aborted")return{shortCircuited:!0};if(Rt.type==="error"){let on=bv(Rt.partialMatches).route.id;return{matches:Rt.partialMatches,pendingActionResult:[on,{type:"error",error:Rt.error}]}}else if(Rt.matches)dt=Rt.matches;else{let{notFoundMatches:on,error:mr,route:ki}=Qt(He.pathname);return{matches:on,pendingActionResult:[ki.id,{type:"error",error:mr}]}}}let en,tn=kE(dt,He);if(!tn.route.action&&!tn.route.lazy)en={type:"error",error:Bd(405,{method:ke.method,pathname:He.pathname,routeId:tn.route.id})};else{let Rt=KO(i,a,ke,dt,tn,Zt?[]:r,$t),on=await Ue(ke,Rt,$t,null);if(en=on[tn.route.id],!en){for(let mr of dt)if(on[mr.route.id]){en=on[mr.route.id];break}}if(ke.signal.aborted)return{shortCircuited:!0}}if(E1(en)){let Rt;return Lt&&Lt.replace!=null?Rt=Lt.replace:Rt=_Z(en.response.headers.get("Location"),new URL(ke.url),o)===C.location.pathname+C.location.search,await Ae(ke,en,!0,{submission:nt,replace:Rt}),{shortCircuited:!0}}if(If(en)){let Rt=bv(dt,tn.route.id);return(Lt&&Lt.replace)!==!0&&(k="PUSH"),{matches:dt,pendingActionResult:[Rt.route.id,en,tn.route.id]}}return{matches:dt,pendingActionResult:[tn.route.id,en]}}async function Ne(ke,He,nt,dt,$t,Ut,Zt,Lt,Vt,en,tn,Rt){let on=Ut||fk(He,Zt),mr=Zt||Lt||AZ(on),ki=!N&&!en;if($t){if(ki){let mi=Re(Rt);pe({navigation:on,...mi!==void 0?{actionData:mi}:{}},{flushSync:tn})}let Hn=await ar(nt,He.pathname,ke.signal);if(Hn.type==="aborted")return{shortCircuited:!0};if(Hn.type==="error"){let mi=bv(Hn.partialMatches).route.id;return{matches:Hn.partialMatches,loaderData:{},errors:{[mi]:Hn.error}}}else if(Hn.matches)nt=Hn.matches;else{let{error:mi,notFoundMatches:vs,route:ys}=Qt(He.pathname);return{matches:vs,loaderData:{},errors:{[ys.id]:mi}}}}let _a=l||u,{dsMatches:pi,revalidatingFetchers:qr}=yZ(ke,dt,i,a,e.history,C,nt,mr,He,en?[]:r,en===!0,V,W,B,K,M,_a,o,e.patchRoutesOnNavigation!=null,Rt);if(te=++J,!e.dataStrategy&&!pi.some(Hn=>Hn.shouldLoad)&&!pi.some(Hn=>Hn.route.unstable_middleware)&&qr.length===0){let Hn=zt();return _e(He,{matches:nt,loaderData:{},errors:Rt&&If(Rt[1])?{[Rt[0]]:Rt[1].error}:null,...CZ(Rt),...Hn?{fetchers:new Map(C.fetchers)}:{}},{flushSync:tn}),{shortCircuited:!0}}if(ki){let Hn={};if(!$t){Hn.navigation=on;let mi=Re(Rt);mi!==void 0&&(Hn.actionData=mi)}qr.length>0&&(Hn.fetchers=et(qr)),pe(Hn,{flushSync:tn})}qr.forEach(Hn=>{gt(Hn.key),Hn.controller&&G.set(Hn.key,Hn.controller)});let Du=()=>qr.forEach(Hn=>gt(Hn.key));z&&z.signal.addEventListener("abort",Du);let{loaderResults:Cl,fetcherResults:Zr}=await Ze(pi,qr,ke,dt);if(ke.signal.aborted)return{shortCircuited:!0};z&&z.signal.removeEventListener("abort",Du),qr.forEach(Hn=>G.delete(Hn.key));let Pt=L_(Cl);if(Pt)return await Ae(ke,Pt.result,!0,{replace:Vt}),{shortCircuited:!0};if(Pt=L_(Zr),Pt)return M.add(Pt.key),await Ae(ke,Pt.result,!0,{replace:Vt}),{shortCircuited:!0};let{loaderData:sa,errors:Ki}=DZ(C,nt,Cl,Rt,qr,Zr);en&&C.errors&&(Ki={...C.errors,...Ki});let ei=zt(),$u=rn(te),ro=ei||$u||qr.length>0;return{matches:nt,loaderData:sa,errors:Ki,...ro?{fetchers:new Map(C.fetchers)}:{}}}function Re(ke){if(ke&&!If(ke[1]))return{[ke[0]]:ke[1].data};if(C.actionData)return Object.keys(C.actionData).length===0?null:C.actionData}function et(ke){return ke.forEach(He=>{let nt=C.fetchers.get(He.key),dt=z4(void 0,nt?nt.data:void 0);C.fetchers.set(He.key,dt)}),new Map(C.fetchers)}async function tt(ke,He,nt,dt){gt(ke);let $t=(dt&&dt.flushSync)===!0,Ut=l||u,Zt=T9(C.location,C.matches,o,nt,He,dt==null?void 0:dt.relative),Lt=yv(Ut,Zt,o),Vt=sr(Lt,Ut,Zt);if(Vt.active&&Vt.matches&&(Lt=Vt.matches),!Lt){ze(ke,He,Bd(404,{pathname:Zt}),{flushSync:$t});return}let{path:en,submission:tn,error:Rt}=vZ(!0,Zt,dt);if(Rt){ze(ke,He,Rt,{flushSync:$t});return}let on=e.unstable_getContext?await e.unstable_getContext():new mZ,mr=(dt&&dt.preventScrollReset)===!0;if(tn&&Gc(tn.formMethod)){await Oe(ke,He,en,Lt,on,Vt.active,$t,mr,tn);return}K.set(ke,{routeId:He,path:en}),await $e(ke,He,en,Lt,on,Vt.active,$t,mr,tn)}async function Oe(ke,He,nt,dt,$t,Ut,Zt,Lt,Vt){Ye(),K.delete(ke);let en=C.fetchers.get(ke);Me(ke,kke(Vt,en),{flushSync:Zt});let tn=new AbortController,Rt=EO(e.history,nt,tn.signal,Vt);if(Ut){let ti=await ar(dt,new URL(Rt.url).pathname,Rt.signal,ke);if(ti.type==="aborted")return;if(ti.type==="error"){ze(ke,He,ti.error,{flushSync:Zt});return}else if(ti.matches)dt=ti.matches;else{ze(ke,He,Bd(404,{pathname:nt}),{flushSync:Zt});return}}let on=kE(dt,nt);if(!on.route.action&&!on.route.lazy){let ti=Bd(405,{method:Vt.formMethod,pathname:nt,routeId:He});ze(ke,He,ti,{flushSync:Zt});return}G.set(ke,tn);let mr=J,ki=KO(i,a,Rt,dt,on,r,$t),pi=(await Ue(Rt,ki,$t,ke))[on.route.id];if(Rt.signal.aborted){G.get(ke)===tn&&G.delete(ke);return}if(B.has(ke)){if(E1(pi)||If(pi)){Me(ke,av(void 0));return}}else{if(E1(pi))if(G.delete(ke),te>mr){Me(ke,av(void 0));return}else return M.add(ke),Me(ke,z4(Vt)),Ae(Rt,pi,!1,{fetcherSubmission:Vt,preventScrollReset:Lt});if(If(pi)){ze(ke,He,pi.error);return}}let qr=C.navigation.location||C.location,Du=EO(e.history,qr,tn.signal),Cl=l||u,Zr=C.navigation.state!=="idle"?yv(Cl,C.navigation.location,o):C.matches;hr(Zr,"Didn't find any matches after fetcher action");let Pt=++J;X.set(ke,Pt);let sa=z4(Vt,pi.data);C.fetchers.set(ke,sa);let{dsMatches:Ki,revalidatingFetchers:ei}=yZ(Du,$t,i,a,e.history,C,Zr,Vt,qr,r,!1,V,W,B,K,M,Cl,o,e.patchRoutesOnNavigation!=null,[on.route.id,pi]);ei.filter(ti=>ti.key!==ke).forEach(ti=>{let bs=ti.key,Ea=C.fetchers.get(bs),cc=z4(void 0,Ea?Ea.data:void 0);C.fetchers.set(bs,cc),gt(bs),ti.controller&&G.set(bs,ti.controller)}),pe({fetchers:new Map(C.fetchers)});let $u=()=>ei.forEach(ti=>gt(ti.key));tn.signal.addEventListener("abort",$u);let{loaderResults:ro,fetcherResults:Hn}=await Ze(Ki,ei,Du,$t);if(tn.signal.aborted)return;if(tn.signal.removeEventListener("abort",$u),X.delete(ke),G.delete(ke),ei.forEach(ti=>G.delete(ti.key)),C.fetchers.has(ke)){let ti=av(pi.data);C.fetchers.set(ke,ti)}let mi=L_(ro);if(mi)return Ae(Du,mi.result,!1,{preventScrollReset:Lt});if(mi=L_(Hn),mi)return M.add(mi.key),Ae(Du,mi.result,!1,{preventScrollReset:Lt});let{loaderData:vs,errors:ys}=DZ(C,Zr,ro,void 0,ei,Hn);rn(Pt),C.navigation.state==="loading"&&Pt>te?(hr(k,"Expected pending action"),z&&z.abort(),_e(C.navigation.location,{matches:Zr,loaderData:vs,errors:ys,fetchers:new Map(C.fetchers)})):(pe({errors:ys,loaderData:$Z(C.loaderData,vs,Zr,ys),fetchers:new Map(C.fetchers)}),V=!1)}async function $e(ke,He,nt,dt,$t,Ut,Zt,Lt,Vt){let en=C.fetchers.get(ke);Me(ke,z4(Vt,en?en.data:void 0),{flushSync:Zt});let tn=new AbortController,Rt=EO(e.history,nt,tn.signal);if(Ut){let qr=await ar(dt,new URL(Rt.url).pathname,Rt.signal,ke);if(qr.type==="aborted")return;if(qr.type==="error"){ze(ke,He,qr.error,{flushSync:Zt});return}else if(qr.matches)dt=qr.matches;else{ze(ke,He,Bd(404,{pathname:nt}),{flushSync:Zt});return}}let on=kE(dt,nt);G.set(ke,tn);let mr=J,ki=KO(i,a,Rt,dt,on,r,$t),pi=(await Ue(Rt,ki,$t,ke))[on.route.id];if(G.get(ke)===tn&&G.delete(ke),!Rt.signal.aborted){if(B.has(ke)){Me(ke,av(void 0));return}if(E1(pi))if(te>mr){Me(ke,av(void 0));return}else{M.add(ke),await Ae(Rt,pi,!1,{preventScrollReset:Lt});return}if(If(pi)){ze(ke,He,pi.error);return}Me(ke,av(pi.data))}}async function Ae(ke,He,nt,{submission:dt,fetcherSubmission:$t,preventScrollReset:Ut,replace:Zt}={}){He.response.headers.has("X-Remix-Revalidate")&&(V=!0);let Lt=He.response.headers.get("Location");hr(Lt,"Expected a Location header on the redirect Response"),Lt=_Z(Lt,new URL(ke.url),o);let Vt=cS(C.location,Lt,{_isRedirect:!0});if(n){let ki=!1;if(He.response.headers.has("X-Remix-Reload-Document"))ki=!0;else if(qN(Lt)){const _a=Ihe(Lt,!0);ki=_a.origin!==t.location.origin||of(_a.pathname,o)==null}if(ki){Zt?t.location.replace(Lt):t.location.assign(Lt);return}}z=null;let en=Zt===!0||He.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:tn,formAction:Rt,formEncType:on}=C.navigation;!dt&&!$t&&tn&&Rt&&on&&(dt=AZ(C.navigation));let mr=dt||$t;if(hke.has(He.response.status)&&mr&&Gc(mr.formMethod))await ge(en,Vt,{submission:{...mr,formAction:Lt},preventScrollReset:Ut||F,enableViewTransition:nt?Z:void 0});else{let ki=fk(Vt,dt);await ge(en,Vt,{overrideNavigation:ki,fetcherSubmission:$t,preventScrollReset:Ut||F,enableViewTransition:nt?Z:void 0})}}async function Ue(ke,He,nt,dt){let $t,Ut={};try{$t=await _ke(s,ke,He,dt,nt,!1)}catch(Zt){return He.filter(Lt=>Lt.shouldLoad).forEach(Lt=>{Ut[Lt.route.id]={type:"error",error:Zt}}),Ut}if(ke.signal.aborted)return Ut;for(let[Zt,Lt]of Object.entries($t))if(Rke(Lt)){let Vt=Lt.result;Ut[Zt]={type:"redirect",response:$ke(Vt,ke,Zt,He,o)}}else Ut[Zt]=await Dke(Lt);return Ut}async function Ze(ke,He,nt,dt){let $t=Ue(nt,ke,dt,null),Ut=Promise.all(He.map(async Vt=>{if(Vt.matches&&Vt.match&&Vt.request&&Vt.controller){let tn=(await Ue(Vt.request,Vt.matches,dt,Vt.key))[Vt.match.route.id];return{[Vt.key]:tn}}else return Promise.resolve({[Vt.key]:{type:"error",error:Bd(404,{pathname:Vt.path})}})})),Zt=await $t,Lt=(await Ut).reduce((Vt,en)=>Object.assign(Vt,en),{});return{loaderResults:Zt,fetcherResults:Lt}}function Ye(){V=!0,K.forEach((ke,He)=>{G.has(He)&&W.add(He),gt(He)})}function Me(ke,He,nt={}){C.fetchers.set(ke,He),pe({fetchers:new Map(C.fetchers)},{flushSync:(nt&&nt.flushSync)===!0})}function ze(ke,He,nt,dt={}){let $t=bv(C.matches,He);Ot(ke),pe({errors:{[$t.route.id]:nt},fetchers:new Map(C.fetchers)},{flushSync:(dt&&dt.flushSync)===!0})}function st(ke){return Y.set(ke,(Y.get(ke)||0)+1),B.has(ke)&&B.delete(ke),C.fetchers.get(ke)||pke}function Ot(ke){let He=C.fetchers.get(ke);G.has(ke)&&!(He&&He.state==="loading"&&X.has(ke))&&gt(ke),K.delete(ke),X.delete(ke),M.delete(ke),B.delete(ke),W.delete(ke),C.fetchers.delete(ke)}function Nt(ke){let He=(Y.get(ke)||0)-1;He<=0?(Y.delete(ke),B.add(ke)):Y.set(ke,He),pe({fetchers:new Map(C.fetchers)})}function gt(ke){let He=G.get(ke);He&&(He.abort(),G.delete(ke))}function qt(ke){for(let He of ke){let nt=st(He),dt=av(nt.data);C.fetchers.set(He,dt)}}function zt(){let ke=[],He=!1;for(let nt of M){let dt=C.fetchers.get(nt);hr(dt,`Expected fetcher: ${nt}`),dt.state==="loading"&&(M.delete(nt),ke.push(nt),He=!0)}return qt(ke),He}function rn(ke){let He=[];for(let[nt,dt]of X)if(dt<ke){let $t=C.fetchers.get(nt);hr($t,`Expected fetcher: ${nt}`),$t.state==="loading"&&(gt(nt),X.delete(nt),He.push(nt))}return qt(He),He.length>0}function nn(ke,He){let nt=C.blockers.get(ke)||_O;return ne.get(ke)!==He&&ne.set(ke,He),nt}function Fe(ke){C.blockers.delete(ke),ne.delete(ke)}function ht(ke,He){let nt=C.blockers.get(ke)||_O;hr(nt.state==="unblocked"&&He.state==="blocked"||nt.state==="blocked"&&He.state==="blocked"||nt.state==="blocked"&&He.state==="proceeding"||nt.state==="blocked"&&He.state==="unblocked"||nt.state==="proceeding"&&He.state==="unblocked",`Invalid blocker state transition: ${nt.state} -> ${He.state}`);let dt=new Map(C.blockers);dt.set(ke,He),pe({blockers:dt})}function Tt({currentLocation:ke,nextLocation:He,historyAction:nt}){if(ne.size===0)return;ne.size>1&&Su(!1,"A router only supports one blocker at a time");let dt=Array.from(ne.entries()),[$t,Ut]=dt[dt.length-1],Zt=C.blockers.get($t);if(!(Zt&&Zt.state==="proceeding")&&Ut({currentLocation:ke,nextLocation:He,historyAction:nt}))return $t}function Qt(ke){let He=Bd(404,{pathname:ke}),nt=l||u,{matches:dt,route:$t}=wZ(nt);return{notFoundMatches:dt,route:$t,error:He}}function an(ke,He,nt){if(m=ke,v=He,y=nt||null,!_&&C.navigation===ck){_=!0;let dt=jn(C.location,C.matches);dt!=null&&pe({restoreScrollPosition:dt})}return()=>{m=null,v=null,y=null}}function In(ke,He){return y&&y(ke,He.map(dt=>Lhe(dt,C.loaderData)))||ke.key}function un(ke,He){if(m&&v){let nt=In(ke,He);m[nt]=v()}}function jn(ke,He){if(m){let nt=In(ke,He),dt=m[nt];if(typeof dt=="number")return dt}return null}function sr(ke,He,nt){if(e.patchRoutesOnNavigation)if(ke){if(Object.keys(ke[0].params).length>0)return{active:!0,matches:TE(He,nt,o,!0)}}else return{active:!0,matches:TE(He,nt,o,!0)||[]};return{active:!1,matches:null}}async function ar(ke,He,nt,dt){if(!e.patchRoutesOnNavigation)return{type:"success",matches:ke};let $t=ke;for(;;){let Ut=l==null,Zt=l||u,Lt=a;try{await e.patchRoutesOnNavigation({signal:nt,path:He,matches:$t,fetcherKey:dt,patch:(tn,Rt)=>{nt.aborted||bZ(tn,Rt,Zt,Lt,i,!1)}})}catch(tn){return{type:"error",error:tn,partialMatches:$t}}finally{Ut&&!nt.aborted&&(u=[...u])}if(nt.aborted)return{type:"aborted"};let Vt=yv(Zt,He,o);if(Vt)return{type:"success",matches:Vt};let en=TE(Zt,He,o,!0);if(!en||$t.length===en.length&&$t.every((tn,Rt)=>tn.route.id===en[Rt].route.id))return{type:"success",matches:null};$t=en}}function Dr(ke){a={},l=fS(ke,i,void 0,a)}function zr(ke,He,nt=!1){let dt=l==null;bZ(ke,He,l||u,a,i,nt),dt&&(u=[...u],pe({}))}return R={get basename(){return o},get future(){return c},get state(){return C},get routes(){return u},get window(){return t},initialize:de,subscribe:ye,enableScrollRestoration:an,navigate:se,fetch:tt,revalidate:me,createHref:ke=>e.history.createHref(ke),encodeLocation:ke=>e.history.encodeLocation(ke),getFetcher:st,deleteFetcher:Nt,dispose:be,getBlocker:nn,deleteBlocker:Fe,patchRoutes:zr,_internalFetchControllers:G,_internalSetRoutes:Dr,_internalSetStateDoNotUseOrYouWillBreakYourApp(ke){pe(ke)}},R}function yke(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function T9(e,t,n,r,i,a){let u,l;if(i){u=[];for(let s of t)if(u.push(s),s.route.id===i){l=s;break}}else u=t,l=t[t.length-1];let o=IC(r||".",NC(u),of(e.pathname,n)||e.pathname,a==="path");if(r==null&&(o.search=e.search,o.hash=e.hash),(r==null||r===""||r===".")&&l){let s=VN(o.search);if(l.route.index&&!s)o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index";else if(!l.route.index&&s){let c=new URLSearchParams(o.search),d=c.getAll("index");c.delete("index"),d.filter(m=>m).forEach(m=>c.append("index",m));let h=c.toString();o.search=h?`?${h}`:""}}return n!=="/"&&(o.pathname=rke({basename:n,pathname:o.pathname})),Uv(o)}function vZ(e,t,n){if(!n||!yke(n))return{path:t};if(n.formMethod&&!Ake(n.formMethod))return{path:t,error:Bd(405,{method:n.formMethod})};let r=()=>({path:t,error:Bd(400,{type:"invalid-body"})}),a=(n.formMethod||"get").toUpperCase(),u=Khe(t);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!Gc(a))return r();let d=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((h,[m,y])=>`${h}${m}=${y}
`,""):String(n.body);return{path:t,submission:{formMethod:a,formAction:u,formEncType:n.formEncType,formData:void 0,json:void 0,text:d}}}else if(n.formEncType==="application/json"){if(!Gc(a))return r();try{let d=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:t,submission:{formMethod:a,formAction:u,formEncType:n.formEncType,formData:void 0,json:d,text:void 0}}}catch{return r()}}}hr(typeof FormData=="function","FormData is not available in this environment");let l,o;if(n.formData)l=M9(n.formData),o=n.formData;else if(n.body instanceof FormData)l=M9(n.body),o=n.body;else if(n.body instanceof URLSearchParams)l=n.body,o=EZ(l);else if(n.body==null)l=new URLSearchParams,o=new FormData;else try{l=new URLSearchParams(n.body),o=EZ(l)}catch{return r()}let s={formMethod:a,formAction:u,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:o,json:void 0,text:void 0};if(Gc(s.formMethod))return{path:t,submission:s};let c=ly(t);return e&&c.search&&VN(c.search)&&l.append("index",""),c.search=`?${l}`,{path:Uv(c),submission:s}}function yZ(e,t,n,r,i,a,u,l,o,s,c,d,h,m,y,v,_,x,E,w){var N;let T=w?If(w[1])?w[1].error:w[1].data:void 0,R=i.createURL(a.location),C=i.createURL(o),k;if(c&&a.errors){let V=Object.keys(a.errors)[0];k=u.findIndex(W=>W.route.id===V)}else if(w&&If(w[1])){let V=w[0];k=u.findIndex(W=>W.route.id===V)-1}let F=w?w[1].statusCode:void 0,z=F&&F>=400,Z={currentUrl:R,currentParams:((N=a.matches[0])==null?void 0:N.params)||{},nextUrl:C,nextParams:u[0].params,...l,actionResult:T,actionStatus:F},q=u.map((V,W)=>{let{route:G}=V,J=null;if(k!=null&&W>k?J=!1:G.lazy?J=!0:G.loader==null?J=!1:c?J=k9(G,a.loaderData,a.errors):bke(a.loaderData,a.matches[W],V)&&(J=!0),J!==null)return P9(n,r,e,V,s,t,J);let te=z?!1:d||R.pathname+R.search===C.pathname+C.search||R.search!==C.search||Oke(a.matches[W],V),X={...Z,defaultShouldRevalidate:te},M=jD(V,X);return P9(n,r,e,V,s,t,M,X)}),j=[];return y.forEach((V,W)=>{if(c||!u.some(B=>B.route.id===V.routeId)||m.has(W))return;let G=a.fetchers.get(W),J=G&&G.state!=="idle"&&G.data===void 0,te=yv(_,V.path,x);if(!te){if(E&&J)return;j.push({key:W,routeId:V.routeId,path:V.path,matches:null,match:null,request:null,controller:null});return}if(v.has(W))return;let X=kE(te,V.path),M=new AbortController,K=EO(i,V.path,M.signal),Y=null;if(h.has(W))h.delete(W),Y=KO(n,r,K,te,X,s,t);else if(J)d&&(Y=KO(n,r,K,te,X,s,t));else{let B={...Z,defaultShouldRevalidate:z?!1:d};jD(X,B)&&(Y=KO(n,r,K,te,X,s,t,B))}Y&&j.push({key:W,routeId:V.routeId,path:V.path,matches:Y,match:X,request:K,controller:M})}),{dsMatches:q,revalidatingFetchers:j}}function k9(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=t!=null&&e.id in t,i=n!=null&&n[e.id]!==void 0;return!r&&i?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!r&&!i}function bke(e,t,n){let r=!t||n.route.id!==t.route.id,i=!e.hasOwnProperty(n.route.id);return r||i}function Oke(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function jD(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}function bZ(e,t,n,r,i,a){let u;if(e){let s=r[e];hr(s,`No route found to patch children into: routeId = ${e}`),s.children||(s.children=[]),u=s.children}else u=n;let l=[],o=[];if(t.forEach(s=>{let c=u.find(d=>jhe(s,d));c?o.push({existingRoute:c,newRoute:s}):l.push(s)}),l.length>0){let s=fS(l,i,[e||"_","patch",String((u==null?void 0:u.length)||"0")],r);u.push(...s)}if(a&&o.length>0)for(let s=0;s<o.length;s++){let{existingRoute:c,newRoute:d}=o[s],h=c,[m]=fS([d],i,[],{},!0);Object.assign(h,{element:m.element?m.element:h.element,errorElement:m.errorElement?m.errorElement:h.errorElement,hydrateFallbackElement:m.hydrateFallbackElement?m.hydrateFallbackElement:h.hydrateFallbackElement})}}function jhe(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((n,r)=>{var i;return(i=t.children)==null?void 0:i.some(a=>jhe(n,a))}):!1}var OZ=new WeakMap,Zhe=({key:e,route:t,manifest:n,mapRouteProperties:r})=>{let i=n[t.id];if(hr(i,"No route found in manifest"),!i.lazy||typeof i.lazy!="object")return;let a=i.lazy[e];if(!a)return;let u=OZ.get(i);u||(u={},OZ.set(i,u));let l=u[e];if(l)return l;let o=(async()=>{let s=zTe(e),d=i[e]!==void 0&&e!=="hasErrorBoundary";if(s)Su(!s,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),u[e]=Promise.resolve();else if(d)Su(!1,`Route "${i.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let h=await a();h!=null&&(Object.assign(i,{[e]:h}),Object.assign(i,r(i)))}typeof i.lazy=="object"&&(i.lazy[e]=void 0,Object.values(i.lazy).every(h=>h===void 0)&&(i.lazy=void 0))})();return u[e]=o,o},SZ=new WeakMap;function Ske(e,t,n,r,i){let a=n[e.id];if(hr(a,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy=="function"){let c=SZ.get(a);if(c)return{lazyRoutePromise:c,lazyHandlerPromise:c};let d=(async()=>{hr(typeof e.lazy=="function","No lazy route function found");let h=await e.lazy(),m={};for(let y in h){let v=h[y];if(v===void 0)continue;let _=VTe(y),E=a[y]!==void 0&&y!=="hasErrorBoundary";_?Su(!_,"Route property "+y+" is not a supported property to be returned from a lazy route function. This property will be ignored."):E?Su(!E,`Route "${a.id}" has a static property "${y}" defined but its lazy function is also returning a value for this property. The lazy route property "${y}" will be ignored.`):m[y]=v}Object.assign(a,m),Object.assign(a,{...r(a),lazy:void 0})})();return SZ.set(a,d),d.catch(()=>{}),{lazyRoutePromise:d,lazyHandlerPromise:d}}let u=Object.keys(e.lazy),l=[],o;for(let c of u){if(i&&i.includes(c))continue;let d=Zhe({key:c,route:e,manifest:n,mapRouteProperties:r});d&&(l.push(d),c===t&&(o=d))}let s=l.length>0?Promise.all(l).then(()=>{}):void 0;return s==null||s.catch(()=>{}),o==null||o.catch(()=>{}),{lazyRoutePromise:s,lazyHandlerPromise:o}}async function xZ(e){let t=e.matches.filter(i=>i.shouldLoad),n={};return(await Promise.all(t.map(i=>i.resolve()))).forEach((i,a)=>{n[t[a].route.id]=i}),n}async function xke(e){if(!e.matches.some(n=>n.route.unstable_middleware))return xZ(e);let t=!1;return Xhe(e,()=>(t=!0,xZ(e)),(n,r)=>Hhe(n,r,e.matches,t))}function Hhe(e,t,n,r){var i;return r?{[t]:{type:"error",result:e}}:{[bv(n,((i=n.find(u=>u.route.id===t||u.route.loader))==null?void 0:i.route.id)||t).route.id]:{type:"error",result:e}}}async function Xhe(e,t,n){let{matches:r,request:i,params:a,context:u}=e,l=r.flatMap(s=>s.route.unstable_middleware?s.route.unstable_middleware.map(c=>[s.route.id,c]):[]),o={};return await Yhe({request:i,params:a,context:u},l,t,n,o),o}async function Yhe(e,t,n,r,i={},a=0){let{request:u}=e;if(u.signal.aborted)throw u.signal.reason?u.signal.reason:new Error(`Request aborted without an \`AbortSignal.reason\`: ${u.method} ${u.url}`);let l=t[a];if(!l){let h=await n();Object.assign(i,h);return}let[o,s]=l,c=!1,d=async()=>{if(c)throw new Error("You may only call `next()` once per middleware");c=!0;try{let h=await Yhe(e,t,n,r,i,a+1);Object.assign(i,h)}catch(h){let m=await r(h,o);Object.assign(i,m)}};try{let h=await s({request:e.request,params:e.params,context:e.context},d);typeof h<"u"&&console.warn("client middlewares are not intended to return values, the value will be ignored",h),c||await d()}catch(h){let m=await r(h,o);Object.assign(i,m)}}function Ghe(e,t,n,r,i){let a=Zhe({key:"unstable_middleware",route:r.route,manifest:t,mapRouteProperties:e}),u=Ske(r.route,Gc(n.method)?"action":"loader",t,e,i);return{middleware:a,route:u.lazyRoutePromise,handler:u.lazyHandlerPromise}}function P9(e,t,n,r,i,a,u,l=null){let o=!1,s=Ghe(e,t,n,r,i);return{...r,_lazyPromises:s,shouldLoad:u,unstable_shouldRevalidateArgs:l,unstable_shouldCallHandler(c){return o=!0,l?typeof c=="boolean"?jD(r,{...l,defaultShouldRevalidate:c}):jD(r,l):u},resolve(c){return o||u||c&&!Gc(n.method)&&(r.route.lazy||r.route.loader)?Eke({request:n,match:r,lazyHandlerPromise:s==null?void 0:s.handler,lazyRoutePromise:s==null?void 0:s.route,handlerOverride:c,scopedContext:a}):Promise.resolve({type:"data",result:void 0})}}}function KO(e,t,n,r,i,a,u,l=null){return r.map(o=>o.route.id!==i.route.id?{...o,shouldLoad:!1,unstable_shouldRevalidateArgs:l,unstable_shouldCallHandler:()=>!1,_lazyPromises:Ghe(e,t,n,o,a),resolve:()=>Promise.resolve({type:"data",result:void 0})}:P9(e,t,n,o,a,u,!0,l))}async function _ke(e,t,n,r,i,a){n.some(s=>{var c;return(c=s._lazyPromises)==null?void 0:c.middleware})&&await Promise.all(n.map(s=>{var c;return(c=s._lazyPromises)==null?void 0:c.middleware}));let u={request:t,params:n[0].params,context:i,matches:n},o=await e({...u,fetcherKey:r,unstable_runClientMiddleware:s=>{let c=u,d=!1;return Xhe(c,()=>(d=!0,s({...c,fetcherKey:r,unstable_runClientMiddleware:()=>{throw new Error("Cannot call `unstable_runClientMiddleware()` from within an `unstable_runClientMiddleware` handler")}})),(h,m)=>Hhe(h,m,n,d))}});try{await Promise.all(n.flatMap(s=>{var c,d;return[(c=s._lazyPromises)==null?void 0:c.handler,(d=s._lazyPromises)==null?void 0:d.route]}))}catch{}return o}async function Eke({request:e,match:t,lazyHandlerPromise:n,lazyRoutePromise:r,handlerOverride:i,scopedContext:a}){let u,l,o=Gc(e.method),s=o?"action":"loader",c=d=>{let h,m=new Promise((_,x)=>h=x);l=()=>h(),e.signal.addEventListener("abort",l);let y=_=>typeof d!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${s}" [routeId: ${t.route.id}]`)):d({request:e,params:t.params,context:a},..._!==void 0?[_]:[]),v=(async()=>{try{return{type:"data",result:await(i?i(x=>y(x)):y())}}catch(_){return{type:"error",result:_}}})();return Promise.race([v,m])};try{let d=o?t.route.action:t.route.loader;if(n||r)if(d){let h,[m]=await Promise.all([c(d).catch(y=>{h=y}),n,r]);if(h!==void 0)throw h;u=m}else{await n;let h=o?t.route.action:t.route.loader;if(h)[u]=await Promise.all([c(h),r]);else if(s==="action"){let m=new URL(e.url),y=m.pathname+m.search;throw Bd(405,{method:e.method,pathname:y,routeId:t.route.id})}else return{type:"data",result:void 0}}else if(d)u=await c(d);else{let h=new URL(e.url),m=h.pathname+h.search;throw Bd(404,{pathname:m})}}catch(d){return{type:"error",result:d}}finally{l&&e.signal.removeEventListener("abort",l)}return u}async function Dke(e){var r,i,a,u,l,o;let{result:t,type:n}=e;if(Whe(t)){let s;try{let c=t.headers.get("Content-Type");c&&/\bapplication\/json\b/.test(c)?t.body==null?s=null:s=await t.json():s=await t.text()}catch(c){return{type:"error",error:c}}return n==="error"?{type:"error",error:new UD(t.status,t.statusText,s),statusCode:t.status,headers:t.headers}:{type:"data",data:s,statusCode:t.status,headers:t.headers}}return n==="error"?RZ(t)?t.data instanceof Error?{type:"error",error:t.data,statusCode:(r=t.init)==null?void 0:r.status,headers:(i=t.init)!=null&&i.headers?new Headers(t.init.headers):void 0}:{type:"error",error:new UD(((a=t.init)==null?void 0:a.status)||500,void 0,t.data),statusCode:dS(t)?t.status:void 0,headers:(u=t.init)!=null&&u.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:dS(t)?t.status:void 0}:RZ(t)?{type:"data",data:t.data,statusCode:(l=t.init)==null?void 0:l.status,headers:(o=t.init)!=null&&o.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function $ke(e,t,n,r,i){let a=e.headers.get("Location");if(hr(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!qN(a)){let u=r.slice(0,r.findIndex(l=>l.route.id===n)+1);a=T9(new URL(t.url),u,i,a),e.headers.set("Location",a)}return e}function _Z(e,t,n){if(qN(e)){let r=e,i=r.startsWith("//")?new URL(t.protocol+r):new URL(r),a=of(i.pathname,n)!=null;if(i.origin===t.origin&&a)return i.pathname+i.search+i.hash}return e}function EO(e,t,n,r){let i=e.createURL(Khe(t)).toString(),a={signal:n};if(r&&Gc(r.formMethod)){let{formMethod:u,formEncType:l}=r;a.method=u.toUpperCase(),l==="application/json"?(a.headers=new Headers({"Content-Type":l}),a.body=JSON.stringify(r.json)):l==="text/plain"?a.body=r.text:l==="application/x-www-form-urlencoded"&&r.formData?a.body=M9(r.formData):a.body=r.formData}return new Request(i,a)}function M9(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function EZ(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Cke(e,t,n,r=!1,i=!1){let a={},u=null,l,o=!1,s={},c=n&&If(n[1])?n[1].error:void 0;return e.forEach(d=>{if(!(d.route.id in t))return;let h=d.route.id,m=t[h];if(hr(!E1(m),"Cannot handle redirect results in processLoaderData"),If(m)){let y=m.error;if(c!==void 0&&(y=c,c=void 0),u=u||{},i)u[h]=y;else{let v=bv(e,h);u[v.route.id]==null&&(u[v.route.id]=y)}r||(a[h]=Uhe),o||(o=!0,l=dS(m.error)?m.error.status:500),m.headers&&(s[h]=m.headers)}else a[h]=m.data,m.statusCode&&m.statusCode!==200&&!o&&(l=m.statusCode),m.headers&&(s[h]=m.headers)}),c!==void 0&&n&&(u={[n[0]]:c},n[2]&&(a[n[2]]=void 0)),{loaderData:a,errors:u,statusCode:l||200,loaderHeaders:s}}function DZ(e,t,n,r,i,a){let{loaderData:u,errors:l}=Cke(t,n,r);return i.filter(o=>!o.matches||o.matches.some(s=>s.shouldLoad)).forEach(o=>{let{key:s,match:c,controller:d}=o;if(d&&d.signal.aborted)return;let h=a[s];if(hr(h,"Did not find corresponding fetcher result"),If(h)){let m=bv(e.matches,c==null?void 0:c.route.id);l&&l[m.route.id]||(l={...l,[m.route.id]:h.error}),e.fetchers.delete(s)}else if(E1(h))hr(!1,"Unhandled fetcher revalidation redirect");else{let m=av(h.data);e.fetchers.set(s,m)}}),{loaderData:u,errors:l}}function $Z(e,t,n,r){let i=Object.entries(t).filter(([,a])=>a!==Uhe).reduce((a,[u,l])=>(a[u]=l,a),{});for(let a of n){let u=a.route.id;if(!t.hasOwnProperty(u)&&e.hasOwnProperty(u)&&a.route.loader&&(i[u]=e[u]),r&&r.hasOwnProperty(u))break}return i}function CZ(e){return e?If(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function bv(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function wZ(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Bd(e,{pathname:t,routeId:n,method:r,type:i,message:a}={}){let u="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(u="Bad Request",r&&t&&n?l=`You made a ${r} request to "${t}" but did not provide a \`loader\` for route "${n}", so there is no way to handle the request.`:i==="invalid-body"&&(l="Unable to encode submission body")):e===403?(u="Forbidden",l=`Route "${n}" does not match URL "${t}"`):e===404?(u="Not Found",l=`No route matches URL "${t}"`):e===405&&(u="Method Not Allowed",r&&t&&n?l=`You made a ${r.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${n}", so there is no way to handle the request.`:r&&(l=`Invalid request method "${r.toUpperCase()}"`)),new UD(e||500,u,new Error(l),!0)}function L_(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[r,i]=t[n];if(E1(i))return{key:r,result:i}}}function Khe(e){let t=typeof e=="string"?ly(e):e;return Uv({...t,hash:""})}function wke(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Rke(e){return Whe(e.result)&&dke.has(e.result.status)}function If(e){return e.type==="error"}function E1(e){return(e&&e.type)==="redirect"}function RZ(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function Whe(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function Ake(e){return fke.has(e.toUpperCase())}function Gc(e){return ske.has(e.toUpperCase())}function VN(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function kE(e,t){let n=typeof t=="string"?ly(t).search:t.search;if(e[e.length-1].route.index&&VN(n||""))return e[e.length-1];let r=zhe(e);return r[r.length-1]}function AZ(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:a,json:u}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:n,formEncType:r,formData:a,json:void 0,text:void 0};if(u!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:u,text:void 0}}}function fk(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Tke(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function z4(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function kke(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function av(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Pke(e,t){try{let n=e.sessionStorage.getItem(Vhe);if(n){let r=JSON.parse(n);for(let[i,a]of Object.entries(r||{}))a&&Array.isArray(a)&&t.set(i,new Set(a||[]))}}catch{}}function Mke(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(Vhe,JSON.stringify(n))}catch(r){Su(!1,`Failed to save applied view transitions in sessionStorage (${r}).`)}}}function Fke(){let e,t,n=new Promise((r,i)=>{e=async a=>{r(a);try{await n}catch{}},t=async a=>{i(a);try{await n}catch{}}});return{promise:n,resolve:e,reject:t}}var mb=P.createContext(null);mb.displayName="DataRouter";var nx=P.createContext(null);nx.displayName="DataRouterState";P.createContext(!1);var UN=P.createContext({isTransitioning:!1});UN.displayName="ViewTransition";var Jhe=P.createContext(new Map);Jhe.displayName="Fetchers";var Nke=P.createContext(null);Nke.displayName="Await";var hp=P.createContext(null);hp.displayName="Navigation";var LC=P.createContext(null);LC.displayName="Location";var ih=P.createContext({outlet:null,matches:[],isDataRoute:!1});ih.displayName="Route";var jN=P.createContext(null);jN.displayName="RouteError";function Ike(e,{relative:t}={}){hr(z3(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=P.useContext(hp),{hash:i,pathname:a,search:u}=rx(e,{relative:t}),l=a;return n!=="/"&&(l=a==="/"?n:E0([n,a])),r.createHref({pathname:l,search:u,hash:i})}function z3(){return P.useContext(LC)!=null}function cg(){return hr(z3(),"useLocation() may be used only in the context of a <Router> component."),P.useContext(LC).location}var epe="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function tpe(e){P.useContext(hp).static||P.useLayoutEffect(e)}function ZN(){let{isDataRoute:e}=P.useContext(ih);return e?Kke():Lke()}function Lke(){hr(z3(),"useNavigate() may be used only in the context of a <Router> component.");let e=P.useContext(mb),{basename:t,navigator:n}=P.useContext(hp),{matches:r}=P.useContext(ih),{pathname:i}=cg(),a=JSON.stringify(NC(r)),u=P.useRef(!1);return tpe(()=>{u.current=!0}),P.useCallback((o,s={})=>{if(Su(u.current,epe),!u.current)return;if(typeof o=="number"){n.go(o);return}let c=IC(o,JSON.parse(a),i,s.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:E0([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}var Bke=P.createContext(null);function Qke(e){let t=P.useContext(ih).outlet;return t&&P.createElement(Bke.Provider,{value:e},t)}function cit(){let{matches:e}=P.useContext(ih),t=e[e.length-1];return t?t.params:{}}function rx(e,{relative:t}={}){let{matches:n}=P.useContext(ih),{pathname:r}=cg(),i=JSON.stringify(NC(n));return P.useMemo(()=>IC(e,JSON.parse(i),r,t==="path"),[e,i,r,t])}function zke(e,t,n,r){hr(z3(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=P.useContext(hp),{matches:a}=P.useContext(ih),u=a[a.length-1],l=u?u.params:{},o=u?u.pathname:"/",s=u?u.pathnameBase:"/",c=u&&u.route;{let x=c&&c.path||"";npe(o,!c||x.endsWith("*")||x.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${o}" (under <Route path="${x}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${x}"> to <Route path="${x==="/"?"*":`${x}/*`}">.`)}let d=cg(),h;h=d;let m=h.pathname||"/",y=m;if(s!=="/"){let x=s.replace(/^\//,"").split("/");y="/"+m.replace(/^\//,"").split("/").slice(x.length).join("/")}let v=yv(e,{pathname:y});return Su(c||v!=null,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),Su(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),Zke(v&&v.map(x=>Object.assign({},x,{params:Object.assign({},l,x.params),pathname:E0([s,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?s:E0([s,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),a,n,r)}function qke(){let e=Yke(),t=dS(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=P.createElement(P.Fragment,null,P.createElement("p",null,"💿 Hey developer 👋"),P.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",P.createElement("code",{style:a},"ErrorBoundary")," or"," ",P.createElement("code",{style:a},"errorElement")," prop on your route.")),P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:i},n):null,u)}var Vke=P.createElement(qke,null),Uke=class extends P.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?P.createElement(ih.Provider,{value:this.props.routeContext},P.createElement(jN.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function jke({routeContext:e,match:t,children:n}){let r=P.useContext(mb);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),P.createElement(ih.Provider,{value:e},n)}function Zke(e,t=[],n=null,r=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=n==null?void 0:n.errors;if(a!=null){let o=i.findIndex(s=>s.route.id&&(a==null?void 0:a[s.route.id])!==void 0);hr(o>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,o+1))}let u=!1,l=-1;if(n)for(let o=0;o<i.length;o++){let s=i[o];if((s.route.HydrateFallback||s.route.hydrateFallbackElement)&&(l=o),s.route.id){let{loaderData:c,errors:d}=n,h=s.route.loader&&!c.hasOwnProperty(s.route.id)&&(!d||d[s.route.id]===void 0);if(s.route.lazy||h){u=!0,l>=0?i=i.slice(0,l+1):i=[i[0]];break}}}return i.reduceRight((o,s,c)=>{let d,h=!1,m=null,y=null;n&&(d=a&&s.route.id?a[s.route.id]:void 0,m=s.route.errorElement||Vke,u&&(l<0&&c===0?(npe("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),h=!0,y=null):l===c&&(h=!0,y=s.route.hydrateFallbackElement||null)));let v=t.concat(i.slice(0,c+1)),_=()=>{let x;return d?x=m:h?x=y:s.route.Component?x=P.createElement(s.route.Component,null):s.route.element?x=s.route.element:x=o,P.createElement(jke,{match:s,routeContext:{outlet:o,matches:v,isDataRoute:n!=null},children:x})};return n&&(s.route.ErrorBoundary||s.route.errorElement||c===0)?P.createElement(Uke,{location:n.location,revalidation:n.revalidation,component:m,error:d,children:_(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):_()},null)}function HN(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function XN(e){let t=P.useContext(mb);return hr(t,HN(e)),t}function q3(e){let t=P.useContext(nx);return hr(t,HN(e)),t}function Hke(e){let t=P.useContext(ih);return hr(t,HN(e)),t}function BC(e){let t=Hke(e),n=t.matches[t.matches.length-1];return hr(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Xke(){return BC("useRouteId")}function fit(){let e=XN("useRevalidator"),t=q3("useRevalidator"),n=P.useCallback(async()=>{await e.router.revalidate()},[e.router]);return P.useMemo(()=>({revalidate:n,state:t.revalidation}),[n,t.revalidation])}function dit(){let{matches:e,loaderData:t}=q3("useMatches");return P.useMemo(()=>e.map(n=>Lhe(n,t)),[e,t])}function hit(){let e=q3("useLoaderData"),t=BC("useLoaderData");return e.loaderData[t]}function pit(e){return q3("useRouteLoaderData").loaderData[e]}function Yke(){var r;let e=P.useContext(jN),t=q3("useRouteError"),n=BC("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}var Gke=0;function mit(e){let{router:t,basename:n}=XN("useBlocker"),r=q3("useBlocker"),[i,a]=P.useState(""),u=P.useCallback(l=>{if(typeof e!="function")return!!e;if(n==="/")return e(l);let{currentLocation:o,nextLocation:s,historyAction:c}=l;return e({currentLocation:{...o,pathname:of(o.pathname,n)||o.pathname},nextLocation:{...s,pathname:of(s.pathname,n)||s.pathname},historyAction:c})},[n,e]);return P.useEffect(()=>{let l=String(++Gke);return a(l),()=>t.deleteBlocker(l)},[t]),P.useEffect(()=>{i!==""&&t.getBlocker(i,u)},[t,i,u]),i&&r.blockers.has(i)?r.blockers.get(i):_O}function Kke(){let{router:e}=XN("useNavigate"),t=BC("useNavigate"),n=P.useRef(!1);return tpe(()=>{n.current=!0}),P.useCallback(async(i,a={})=>{Su(n.current,epe),n.current&&(typeof i=="number"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var TZ={};function npe(e,t,n){!t&&!TZ[e]&&(TZ[e]=!0,Su(!1,n))}var kZ={};function PZ(e,t){!e&&!kZ[t]&&(kZ[t]=!0,console.warn(t))}function Wke(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&Su(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:P.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&Su(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:P.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&Su(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:P.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var Jke=["HydrateFallback","hydrateFallbackElement"],ePe=class{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",e(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",t(n))}})}};function tPe({router:e,flushSync:t}){let[n,r]=P.useState(e.state),[i,a]=P.useState(),[u,l]=P.useState({isTransitioning:!1}),[o,s]=P.useState(),[c,d]=P.useState(),[h,m]=P.useState(),y=P.useRef(new Map),v=P.useCallback((w,{deletedFetchers:T,flushSync:R,viewTransitionOpts:C})=>{w.fetchers.forEach((F,z)=>{F.data!==void 0&&y.current.set(z,F.data)}),T.forEach(F=>y.current.delete(F)),PZ(R===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable.  Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let k=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(PZ(C==null||k,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!C||!k){t&&R?t(()=>r(w)):P.startTransition(()=>r(w));return}if(t&&R){t(()=>{c&&(o&&o.resolve(),c.skipTransition()),l({isTransitioning:!0,flushSync:!0,currentLocation:C.currentLocation,nextLocation:C.nextLocation})});let F=e.window.document.startViewTransition(()=>{t(()=>r(w))});F.finished.finally(()=>{t(()=>{s(void 0),d(void 0),a(void 0),l({isTransitioning:!1})})}),t(()=>d(F));return}c?(o&&o.resolve(),c.skipTransition(),m({state:w,currentLocation:C.currentLocation,nextLocation:C.nextLocation})):(a(w),l({isTransitioning:!0,flushSync:!1,currentLocation:C.currentLocation,nextLocation:C.nextLocation}))},[e.window,t,c,o]);P.useLayoutEffect(()=>e.subscribe(v),[e,v]),P.useEffect(()=>{u.isTransitioning&&!u.flushSync&&s(new ePe)},[u]),P.useEffect(()=>{if(o&&i&&e.window){let w=i,T=o.promise,R=e.window.document.startViewTransition(async()=>{P.startTransition(()=>r(w)),await T});R.finished.finally(()=>{s(void 0),d(void 0),a(void 0),l({isTransitioning:!1})}),d(R)}},[i,o,e.window]),P.useEffect(()=>{o&&i&&n.location.key===i.location.key&&o.resolve()},[o,c,n.location,i]),P.useEffect(()=>{!u.isTransitioning&&h&&(a(h.state),l({isTransitioning:!0,flushSync:!1,currentLocation:h.currentLocation,nextLocation:h.nextLocation}),m(void 0))},[u.isTransitioning,h]);let _=P.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:w=>e.navigate(w),push:(w,T,R)=>e.navigate(w,{state:T,preventScrollReset:R==null?void 0:R.preventScrollReset}),replace:(w,T,R)=>e.navigate(w,{replace:!0,state:T,preventScrollReset:R==null?void 0:R.preventScrollReset})}),[e]),x=e.basename||"/",E=P.useMemo(()=>({router:e,navigator:_,static:!1,basename:x}),[e,_,x]);return P.createElement(P.Fragment,null,P.createElement(mb.Provider,{value:E},P.createElement(nx.Provider,{value:n},P.createElement(Jhe.Provider,{value:y.current},P.createElement(UN.Provider,{value:u},P.createElement(aPe,{basename:x,location:n.location,navigationType:n.historyAction,navigator:_},P.createElement(nPe,{routes:e.routes,future:e.future,state:n})))))),null)}var nPe=P.memo(rPe);function rPe({routes:e,future:t,state:n}){return zke(e,void 0,n,t)}function git({to:e,replace:t,state:n,relative:r}){hr(z3(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=P.useContext(hp);Su(!i,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=P.useContext(ih),{pathname:u}=cg(),l=ZN(),o=IC(e,NC(a),u,r==="path"),s=JSON.stringify(o);return P.useEffect(()=>{l(JSON.parse(s),{replace:t,state:n,relative:r})},[l,s,r,t,n]),null}function vit(e){return Qke(e.context)}function iPe(e){hr(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function aPe({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:i,static:a=!1}){hr(!z3(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let u=e.replace(/^\/*/,"/"),l=P.useMemo(()=>({basename:u,navigator:i,static:a,future:{}}),[u,i,a]);typeof n=="string"&&(n=ly(n));let{pathname:o="/",search:s="",hash:c="",state:d=null,key:h="default"}=n,m=P.useMemo(()=>{let y=of(o,u);return y==null?null:{location:{pathname:y,search:s,hash:c,state:d,key:h},navigationType:r}},[u,o,s,c,d,h,r]);return Su(m!=null,`<Router basename="${u}"> is not able to match the URL "${o}${s}${c}" because it does not start with the basename, so the <Router> won't render anything.`),m==null?null:P.createElement(hp.Provider,{value:l},P.createElement(LC.Provider,{children:t,value:m}))}function F9(e,t=[]){let n=[];return P.Children.forEach(e,(r,i)=>{if(!P.isValidElement(r))return;let a=[...t,i];if(r.type===P.Fragment){n.push.apply(n,F9(r.props.children,a));return}hr(r.type===iPe,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),hr(!r.props.index||!r.props.children,"An index route cannot have child routes.");let u={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(u.children=F9(r.props.children,a)),n.push(u)}),n}var yit=F9,PE="get",ME="application/x-www-form-urlencoded";function QC(e){return e!=null&&typeof e.tagName=="string"}function uPe(e){return QC(e)&&e.tagName.toLowerCase()==="button"}function lPe(e){return QC(e)&&e.tagName.toLowerCase()==="form"}function oPe(e){return QC(e)&&e.tagName.toLowerCase()==="input"}function sPe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function cPe(e,t){return e.button===0&&(!t||t==="_self")&&!sPe(e)}function N9(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function fPe(e,t){let n=N9(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(a=>{n.append(i,a)})}),n}var B_=null;function dPe(){if(B_===null)try{new FormData(document.createElement("form"),0),B_=!1}catch{B_=!0}return B_}var hPe=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function dk(e){return e!=null&&!hPe.has(e)?(Su(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ME}"`),null):e}function pPe(e,t){let n,r,i,a,u;if(lPe(e)){let l=e.getAttribute("action");r=l?of(l,t):null,n=e.getAttribute("method")||PE,i=dk(e.getAttribute("enctype"))||ME,a=new FormData(e)}else if(uPe(e)||oPe(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let o=e.getAttribute("formaction")||l.getAttribute("action");if(r=o?of(o,t):null,n=e.getAttribute("formmethod")||l.getAttribute("method")||PE,i=dk(e.getAttribute("formenctype"))||dk(l.getAttribute("enctype"))||ME,a=new FormData(l,e),!dPe()){let{name:s,type:c,value:d}=e;if(c==="image"){let h=s?`${s}.`:"";a.append(`${h}x`,"0"),a.append(`${h}y`,"0")}else s&&a.append(s,d)}}else{if(QC(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=PE,r=null,i=ME,u=e}return a&&i==="text/plain"&&(u=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function YN(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function mPe(e,t,n){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname=`_root.${n}`:t&&of(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${n}`,r}async function gPe(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function vPe(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function yPe(e,t,n){let r=await Promise.all(e.map(async i=>{let a=t.routes[i.route.id];if(a){let u=await gPe(a,n);return u.links?u.links():[]}return[]}));return xPe(r.flat(1).filter(vPe).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function MZ(e,t,n,r,i,a){let u=(o,s)=>n[s]?o.route.id!==n[s].route.id:!0,l=(o,s)=>{var c;return n[s].pathname!==o.pathname||((c=n[s].route.path)==null?void 0:c.endsWith("*"))&&n[s].params["*"]!==o.params["*"]};return a==="assets"?t.filter((o,s)=>u(o,s)||l(o,s)):a==="data"?t.filter((o,s)=>{var d;let c=r.routes[o.route.id];if(!c||!c.hasLoader)return!1;if(u(o,s)||l(o,s))return!0;if(o.route.shouldRevalidate){let h=o.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:((d=n[0])==null?void 0:d.params)||{},nextUrl:new URL(e,window.origin),nextParams:o.params,defaultShouldRevalidate:!0});if(typeof h=="boolean")return h}return!0}):[]}function bPe(e,t,{includeHydrateFallback:n}={}){return OPe(e.map(r=>{let i=t.routes[r.route.id];if(!i)return[];let a=[i.module];return i.clientActionModule&&(a=a.concat(i.clientActionModule)),i.clientLoaderModule&&(a=a.concat(i.clientLoaderModule)),n&&i.hydrateFallbackModule&&(a=a.concat(i.hydrateFallbackModule)),i.imports&&(a=a.concat(i.imports)),a}).flat(1))}function OPe(e){return[...new Set(e)]}function SPe(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function xPe(e,t){let n=new Set;return new Set(t),e.reduce((r,i)=>{let a=JSON.stringify(SPe(i));return n.has(a)||(n.add(a),r.push({key:a,link:i})),r},[])}function rpe(){let e=P.useContext(mb);return YN(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function _Pe(){let e=P.useContext(nx);return YN(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var GN=P.createContext(void 0);GN.displayName="FrameworkContext";function ipe(){let e=P.useContext(GN);return YN(e,"You must render this element inside a <HydratedRouter> element"),e}function EPe(e,t){let n=P.useContext(GN),[r,i]=P.useState(!1),[a,u]=P.useState(!1),{onFocus:l,onBlur:o,onMouseEnter:s,onMouseLeave:c,onTouchStart:d}=t,h=P.useRef(null);P.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let v=x=>{x.forEach(E=>{u(E.isIntersecting)})},_=new IntersectionObserver(v,{threshold:.5});return h.current&&_.observe(h.current),()=>{_.disconnect()}}},[e]),P.useEffect(()=>{if(r){let v=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(v)}}},[r]);let m=()=>{i(!0)},y=()=>{i(!1),u(!1)};return n?e!=="intent"?[a,h,{}]:[a,h,{onFocus:q4(l,m),onBlur:q4(o,y),onMouseEnter:q4(s,m),onMouseLeave:q4(c,y),onTouchStart:q4(d,m)}]:[!1,h,{}]}function q4(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function DPe({page:e,...t}){let{router:n}=rpe(),r=P.useMemo(()=>yv(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?P.createElement(CPe,{page:e,matches:r,...t}):null}function $Pe(e){let{manifest:t,routeModules:n}=ipe(),[r,i]=P.useState([]);return P.useEffect(()=>{let a=!1;return yPe(e,t,n).then(u=>{a||i(u)}),()=>{a=!0}},[e,t,n]),r}function CPe({page:e,matches:t,...n}){let r=cg(),{manifest:i,routeModules:a}=ipe(),{basename:u}=rpe(),{loaderData:l,matches:o}=_Pe(),s=P.useMemo(()=>MZ(e,t,o,i,r,"data"),[e,t,o,i,r]),c=P.useMemo(()=>MZ(e,t,o,i,r,"assets"),[e,t,o,i,r]),d=P.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let y=new Set,v=!1;if(t.forEach(x=>{var w;let E=i.routes[x.route.id];!E||!E.hasLoader||(!s.some(T=>T.route.id===x.route.id)&&x.route.id in l&&((w=a[x.route.id])!=null&&w.shouldRevalidate)||E.hasClientLoader?v=!0:y.add(x.route.id))}),y.size===0)return[];let _=mPe(e,u,"data");return v&&y.size>0&&_.searchParams.set("_routes",t.filter(x=>y.has(x.route.id)).map(x=>x.route.id).join(",")),[_.pathname+_.search]},[u,l,r,i,s,t,e,a]),h=P.useMemo(()=>bPe(c,i),[c,i]),m=$Pe(c);return P.createElement(P.Fragment,null,d.map(y=>P.createElement("link",{key:y,rel:"prefetch",as:"fetch",href:y,...n})),h.map(y=>P.createElement("link",{key:y,rel:"modulepreload",href:y,...n})),m.map(({key:y,link:v})=>P.createElement("link",{key:y,nonce:n.nonce,...v})))}function wPe(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var ape=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{ape&&(window.__reactRouterVersion="7.8.0")}catch{}function bit(e,t){return vke({basename:t==null?void 0:t.basename,unstable_getContext:t==null?void 0:t.unstable_getContext,future:t==null?void 0:t.future,history:ITe({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||RPe(),routes:e,mapRouteProperties:Wke,hydrationRouteProperties:Jke,dataStrategy:t==null?void 0:t.dataStrategy,patchRoutesOnNavigation:t==null?void 0:t.patchRoutesOnNavigation,window:t==null?void 0:t.window}).initialize()}function RPe(){let e=window==null?void 0:window.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:APe(e.errors)}),e}function APe(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new UD(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let a=window[i.__subType];if(typeof a=="function")try{let u=new a(i.message);u.stack="",n[r]=u}catch{}}if(n[r]==null){let a=new Error(i.message);a.stack="",n[r]=a}}else n[r]=i;return n}var upe=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,lpe=P.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:i,reloadDocument:a,replace:u,state:l,target:o,to:s,preventScrollReset:c,viewTransition:d,...h},m){let{basename:y}=P.useContext(hp),v=typeof s=="string"&&upe.test(s),_,x=!1;if(typeof s=="string"&&v&&(_=s,ape))try{let z=new URL(window.location.href),Z=s.startsWith("//")?new URL(z.protocol+s):new URL(s),q=of(Z.pathname,y);Z.origin===z.origin&&q!=null?s=q+Z.search+Z.hash:x=!0}catch{Su(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let E=Ike(s,{relative:i}),[w,T,R]=EPe(r,h),C=MPe(s,{replace:u,state:l,target:o,preventScrollReset:c,relative:i,viewTransition:d});function k(z){t&&t(z),z.defaultPrevented||C(z)}let F=P.createElement("a",{...h,...R,href:_||E,onClick:x||a?t:k,ref:wPe(m,T),target:o,"data-discover":!v&&n==="render"?"true":void 0});return w&&!v?P.createElement(P.Fragment,null,F,P.createElement(DPe,{page:E})):F});lpe.displayName="Link";var TPe=P.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:i=!1,style:a,to:u,viewTransition:l,children:o,...s},c){let d=rx(u,{relative:s.relative}),h=cg(),m=P.useContext(nx),{navigator:y,basename:v}=P.useContext(hp),_=m!=null&&BPe(d)&&l===!0,x=y.encodeLocation?y.encodeLocation(d).pathname:d.pathname,E=h.pathname,w=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;n||(E=E.toLowerCase(),w=w?w.toLowerCase():null,x=x.toLowerCase()),w&&v&&(w=of(w,v)||w);const T=x!=="/"&&x.endsWith("/")?x.length-1:x.length;let R=E===x||!i&&E.startsWith(x)&&E.charAt(T)==="/",C=w!=null&&(w===x||!i&&w.startsWith(x)&&w.charAt(x.length)==="/"),k={isActive:R,isPending:C,isTransitioning:_},F=R?t:void 0,z;typeof r=="function"?z=r(k):z=[r,R?"active":null,C?"pending":null,_?"transitioning":null].filter(Boolean).join(" ");let Z=typeof a=="function"?a(k):a;return P.createElement(lpe,{...s,"aria-current":F,className:z,ref:c,style:Z,to:u,viewTransition:l},typeof o=="function"?o(k):o)});TPe.displayName="NavLink";var kPe=P.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:u=PE,action:l,onSubmit:o,relative:s,preventScrollReset:c,viewTransition:d,...h},m)=>{let y=IPe(),v=LPe(l,{relative:s}),_=u.toLowerCase()==="get"?"get":"post",x=typeof l=="string"&&upe.test(l),E=w=>{if(o&&o(w),w.defaultPrevented)return;w.preventDefault();let T=w.nativeEvent.submitter,R=(T==null?void 0:T.getAttribute("formmethod"))||u;y(T||w.currentTarget,{fetcherKey:t,method:R,navigate:n,replace:i,state:a,relative:s,preventScrollReset:c,viewTransition:d})};return P.createElement("form",{ref:m,method:_,action:v,onSubmit:r?o:E,...h,"data-discover":!x&&e==="render"?"true":void 0})});kPe.displayName="Form";function PPe(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function ope(e){let t=P.useContext(mb);return hr(t,PPe(e)),t}function MPe(e,{target:t,replace:n,state:r,preventScrollReset:i,relative:a,viewTransition:u}={}){let l=ZN(),o=cg(),s=rx(e,{relative:a});return P.useCallback(c=>{if(cPe(c,t)){c.preventDefault();let d=n!==void 0?n:Uv(o)===Uv(s);l(e,{replace:d,state:r,preventScrollReset:i,relative:a,viewTransition:u})}},[o,l,s,n,r,t,e,i,a,u])}function Oit(e){Su(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=P.useRef(N9(e)),n=P.useRef(!1),r=cg(),i=P.useMemo(()=>fPe(r.search,n.current?null:t.current),[r.search]),a=ZN(),u=P.useCallback((l,o)=>{const s=N9(typeof l=="function"?l(new URLSearchParams(i)):l);n.current=!0,a("?"+s,o)},[a,i]);return[i,u]}var FPe=0,NPe=()=>`__${String(++FPe)}__`;function IPe(){let{router:e}=ope("useSubmit"),{basename:t}=P.useContext(hp),n=Xke();return P.useCallback(async(r,i={})=>{let{action:a,method:u,encType:l,formData:o,body:s}=pPe(r,t);if(i.navigate===!1){let c=i.fetcherKey||NPe();await e.fetch(c,n,i.action||a,{preventScrollReset:i.preventScrollReset,formData:o,body:s,formMethod:i.method||u,formEncType:i.encType||l,flushSync:i.flushSync})}else await e.navigate(i.action||a,{preventScrollReset:i.preventScrollReset,formData:o,body:s,formMethod:i.method||u,formEncType:i.encType||l,replace:i.replace,state:i.state,fromRouteId:n,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,n])}function LPe(e,{relative:t}={}){let{basename:n}=P.useContext(hp),r=P.useContext(ih);hr(r,"useFormAction must be used inside a RouteContext");let[i]=r.matches.slice(-1),a={...rx(e||".",{relative:t})},u=cg();if(e==null){a.search=u.search;let l=new URLSearchParams(a.search),o=l.getAll("index");if(o.some(c=>c==="")){l.delete("index"),o.filter(d=>d).forEach(d=>l.append("index",d));let c=l.toString();a.search=c?`?${c}`:""}}return(!e||e===".")&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(a.pathname=a.pathname==="/"?n:E0([n,a.pathname])),Uv(a)}function BPe(e,{relative:t}={}){let n=P.useContext(UN);hr(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=ope("useViewTransitionState"),i=rx(e,{relative:t});if(!n.isTransitioning)return!1;let a=of(n.currentLocation.pathname,r)||n.currentLocation.pathname,u=of(n.nextLocation.pathname,r)||n.nextLocation.pathname;return VD(i.pathname,u)!=null||VD(i.pathname,a)!=null}var hk,FZ;function QPe(){return FZ||(FZ=1,hk=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||n.forEach(function(i){e.addRange(i)}),t&&t.focus()}}),hk}var pk,NZ;function zPe(){if(NZ)return pk;NZ=1;var e=QPe(),t={"text/plain":"Text","text/html":"Url",default:"Text"},n="Copy to clipboard: #{key}, Enter";function r(a){var u=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return a.replace(/#{\s*key\s*}/g,u)}function i(a,u){var l,o,s,c,d,h,m=!1;u||(u={}),l=u.debug||!1;try{s=e(),c=document.createRange(),d=document.getSelection(),h=document.createElement("span"),h.textContent=a,h.ariaHidden="true",h.style.all="unset",h.style.position="fixed",h.style.top=0,h.style.clip="rect(0, 0, 0, 0)",h.style.whiteSpace="pre",h.style.webkitUserSelect="text",h.style.MozUserSelect="text",h.style.msUserSelect="text",h.style.userSelect="text",h.addEventListener("copy",function(v){if(v.stopPropagation(),u.format)if(v.preventDefault(),typeof v.clipboardData>"u"){l&&console.warn("unable to use e.clipboardData"),l&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var _=t[u.format]||t.default;window.clipboardData.setData(_,a)}else v.clipboardData.clearData(),v.clipboardData.setData(u.format,a);u.onCopy&&(v.preventDefault(),u.onCopy(v.clipboardData))}),document.body.appendChild(h),c.selectNodeContents(h),d.addRange(c);var y=document.execCommand("copy");if(!y)throw new Error("copy command was unsuccessful");m=!0}catch(v){l&&console.error("unable to copy using execCommand: ",v),l&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(u.format||"text",a),u.onCopy&&u.onCopy(window.clipboardData),m=!0}catch(_){l&&console.error("unable to copy using clipboardData: ",_),l&&console.error("falling back to prompt"),o=r("message"in u?u.message:n),window.prompt(o,a)}}finally{d&&(typeof d.removeRange=="function"?d.removeRange(c):d.removeAllRanges()),h&&document.body.removeChild(h),s()}return m}return pk=i,pk}var qPe=zPe();const Sit=oa(qPe);var mk,IZ;function KN(){if(IZ)return mk;IZ=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return mk=e,mk}var gk,LZ;function VPe(){if(LZ)return gk;LZ=1;var e=typeof jd=="object"&&jd&&jd.Object===Object&&jd;return gk=e,gk}var vk,BZ;function spe(){if(BZ)return vk;BZ=1;var e=VPe(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return vk=n,vk}var yk,QZ;function UPe(){if(QZ)return yk;QZ=1;var e=spe(),t=function(){return e.Date.now()};return yk=t,yk}var bk,zZ;function jPe(){if(zZ)return bk;zZ=1;var e=/\s/;function t(n){for(var r=n.length;r--&&e.test(n.charAt(r)););return r}return bk=t,bk}var Ok,qZ;function ZPe(){if(qZ)return Ok;qZ=1;var e=jPe(),t=/^\s+/;function n(r){return r&&r.slice(0,e(r)+1).replace(t,"")}return Ok=n,Ok}var Sk,VZ;function cpe(){if(VZ)return Sk;VZ=1;var e=spe(),t=e.Symbol;return Sk=t,Sk}var xk,UZ;function HPe(){if(UZ)return xk;UZ=1;var e=cpe(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;function a(u){var l=n.call(u,i),o=u[i];try{u[i]=void 0;var s=!0}catch{}var c=r.call(u);return s&&(l?u[i]=o:delete u[i]),c}return xk=a,xk}var _k,jZ;function XPe(){if(jZ)return _k;jZ=1;var e=Object.prototype,t=e.toString;function n(r){return t.call(r)}return _k=n,_k}var Ek,ZZ;function YPe(){if(ZZ)return Ek;ZZ=1;var e=cpe(),t=HPe(),n=XPe(),r="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function u(l){return l==null?l===void 0?i:r:a&&a in Object(l)?t(l):n(l)}return Ek=u,Ek}var Dk,HZ;function GPe(){if(HZ)return Dk;HZ=1;function e(t){return t!=null&&typeof t=="object"}return Dk=e,Dk}var $k,XZ;function KPe(){if(XZ)return $k;XZ=1;var e=YPe(),t=GPe(),n="[object Symbol]";function r(i){return typeof i=="symbol"||t(i)&&e(i)==n}return $k=r,$k}var Ck,YZ;function WPe(){if(YZ)return Ck;YZ=1;var e=ZPe(),t=KN(),n=KPe(),r=NaN,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;function o(s){if(typeof s=="number")return s;if(n(s))return r;if(t(s)){var c=typeof s.valueOf=="function"?s.valueOf():s;s=t(c)?c+"":c}if(typeof s!="string")return s===0?s:+s;s=e(s);var d=a.test(s);return d||u.test(s)?l(s.slice(2),d?2:8):i.test(s)?r:+s}return Ck=o,Ck}var wk,GZ;function JPe(){if(GZ)return wk;GZ=1;var e=KN(),t=UPe(),n=WPe(),r="Expected a function",i=Math.max,a=Math.min;function u(l,o,s){var c,d,h,m,y,v,_=0,x=!1,E=!1,w=!0;if(typeof l!="function")throw new TypeError(r);o=n(o)||0,e(s)&&(x=!!s.leading,E="maxWait"in s,h=E?i(n(s.maxWait)||0,o):h,w="trailing"in s?!!s.trailing:w);function T(N){var V=c,W=d;return c=d=void 0,_=N,m=l.apply(W,V),m}function R(N){return _=N,y=setTimeout(F,o),x?T(N):m}function C(N){var V=N-v,W=N-_,G=o-V;return E?a(G,h-W):G}function k(N){var V=N-v,W=N-_;return v===void 0||V>=o||V<0||E&&W>=h}function F(){var N=t();if(k(N))return z(N);y=setTimeout(F,C(N))}function z(N){return y=void 0,w&&c?T(N):(c=d=void 0,m)}function Z(){y!==void 0&&clearTimeout(y),_=0,c=v=d=y=void 0}function q(){return y===void 0?m:z(t())}function j(){var N=t(),V=k(N);if(c=arguments,d=this,v=N,V){if(y===void 0)return R(v);if(E)return clearTimeout(y),y=setTimeout(F,o),T(v)}return y===void 0&&(y=setTimeout(F,o)),m}return j.cancel=Z,j.flush=q,j}return wk=u,wk}var e8e=JPe();const xit=oa(e8e),Rk=new Date,Ak=new Date;function Dl(e,t,n,r){function i(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=a=>(e(a=new Date(+a)),a),i.ceil=a=>(e(a=new Date(a-1)),t(a,1),e(a),a),i.round=a=>{const u=i(a),l=i.ceil(a);return a-u<l-a?u:l},i.offset=(a,u)=>(t(a=new Date(+a),u==null?1:Math.floor(u)),a),i.range=(a,u,l)=>{const o=[];if(a=i.ceil(a),l=l==null?1:Math.floor(l),!(a<u)||!(l>0))return o;let s;do o.push(s=new Date(+a)),t(a,l),e(a);while(s<a&&a<u);return o},i.filter=a=>Dl(u=>{if(u>=u)for(;e(u),!a(u);)u.setTime(u-1)},(u,l)=>{if(u>=u)if(l<0)for(;++l<=0;)for(;t(u,-1),!a(u););else for(;--l>=0;)for(;t(u,1),!a(u););}),n&&(i.count=(a,u)=>(Rk.setTime(+a),Ak.setTime(+u),e(Rk),e(Ak),Math.floor(n(Rk,Ak))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(r?u=>r(u)%a===0:u=>i.count(0,u)%a===0):i)),i}const ZD=Dl(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);ZD.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Dl(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):ZD);ZD.range;const jm=1e3,Hd=jm*60,Zm=Hd*60,ng=Zm*24,WN=ng*7,KZ=ng*30,Tk=ng*365,D1=Dl(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*jm)},(e,t)=>(t-e)/jm,e=>e.getUTCSeconds());D1.range;const JN=Dl(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*jm)},(e,t)=>{e.setTime(+e+t*Hd)},(e,t)=>(t-e)/Hd,e=>e.getMinutes());JN.range;const eI=Dl(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Hd)},(e,t)=>(t-e)/Hd,e=>e.getUTCMinutes());eI.range;const tI=Dl(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*jm-e.getMinutes()*Hd)},(e,t)=>{e.setTime(+e+t*Zm)},(e,t)=>(t-e)/Zm,e=>e.getHours());tI.range;const nI=Dl(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Zm)},(e,t)=>(t-e)/Zm,e=>e.getUTCHours());nI.range;const ix=Dl(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Hd)/ng,e=>e.getDate()-1);ix.range;const zC=Dl(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ng,e=>e.getUTCDate()-1);zC.range;const fpe=Dl(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/ng,e=>Math.floor(e/ng));fpe.range;function gb(e){return Dl(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Hd)/WN)}const qC=gb(0),HD=gb(1),t8e=gb(2),n8e=gb(3),v3=gb(4),r8e=gb(5),i8e=gb(6);qC.range;HD.range;t8e.range;n8e.range;v3.range;r8e.range;i8e.range;function vb(e){return Dl(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/WN)}const VC=vb(0),XD=vb(1),a8e=vb(2),u8e=vb(3),y3=vb(4),l8e=vb(5),o8e=vb(6);VC.range;XD.range;a8e.range;u8e.range;y3.range;l8e.range;o8e.range;const rI=Dl(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());rI.range;const iI=Dl(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());iI.range;const rg=Dl(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());rg.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Dl(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});rg.range;const ig=Dl(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());ig.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Dl(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});ig.range;function Tv(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function s8e(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function aI(e){let t,n,r;e.length!==2?(t=Tv,n=(l,o)=>Tv(e(l),o),r=(l,o)=>e(l)-o):(t=e===Tv||e===s8e?e:c8e,n=e,r=e);function i(l,o,s=0,c=l.length){if(s<c){if(t(o,o)!==0)return c;do{const d=s+c>>>1;n(l[d],o)<0?s=d+1:c=d}while(s<c)}return s}function a(l,o,s=0,c=l.length){if(s<c){if(t(o,o)!==0)return c;do{const d=s+c>>>1;n(l[d],o)<=0?s=d+1:c=d}while(s<c)}return s}function u(l,o,s=0,c=l.length){const d=i(l,o,s,c-1);return d>s&&r(l[d-1],o)>-r(l[d],o)?d-1:d}return{left:i,center:u,right:a}}function c8e(){return 0}function dpe(e){return e===null?NaN:+e}function*f8e(e,t){for(let n of e)n!=null&&(n=+n)>=n&&(yield n)}const d8e=aI(Tv),ax=d8e.right;aI(dpe).center;class WZ extends Map{constructor(t,n=m8e){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,i]of t)this.set(r,i)}get(t){return super.get(JZ(this,t))}has(t){return super.has(JZ(this,t))}set(t,n){return super.set(h8e(this,t),n)}delete(t){return super.delete(p8e(this,t))}}function JZ({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function h8e({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function p8e({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function m8e(e){return e!==null&&typeof e=="object"?e.valueOf():e}function g8e(e=Tv){if(e===Tv)return hpe;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function hpe(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const v8e=Math.sqrt(50),y8e=Math.sqrt(10),b8e=Math.sqrt(2);function YD(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/Math.pow(10,i),u=a>=v8e?10:a>=y8e?5:a>=b8e?2:1;let l,o,s;return i<0?(s=Math.pow(10,-i)/u,l=Math.round(e*s),o=Math.round(t*s),l/s<e&&++l,o/s>t&&--o,s=-s):(s=Math.pow(10,i)*u,l=Math.round(e/s),o=Math.round(t/s),l*s<e&&++l,o*s>t&&--o),o<l&&.5<=n&&n<2?YD(e,t,n*2):[l,o,s]}function I9(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const r=t<e,[i,a,u]=r?YD(t,e,n):YD(e,t,n);if(!(a>=i))return[];const l=a-i+1,o=new Array(l);if(r)if(u<0)for(let s=0;s<l;++s)o[s]=(a-s)/-u;else for(let s=0;s<l;++s)o[s]=(a-s)*u;else if(u<0)for(let s=0;s<l;++s)o[s]=(i+s)/-u;else for(let s=0;s<l;++s)o[s]=(i+s)*u;return o}function L9(e,t,n){return t=+t,e=+e,n=+n,YD(e,t,n)[2]}function B9(e,t,n){t=+t,e=+e,n=+n;const r=t<e,i=r?L9(t,e,n):L9(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function eH(e,t){let n;for(const r of e)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);return n}function tH(e,t){let n;for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);return n}function ppe(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?hpe:g8e(i);r>n;){if(r-n>600){const o=r-n+1,s=t-n+1,c=Math.log(o),d=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*d*(o-d)/o)*(s-o/2<0?-1:1),m=Math.max(n,Math.floor(t-s*d/o+h)),y=Math.min(r,Math.floor(t+(o-s)*d/o+h));ppe(e,t,m,y,i)}const a=e[t];let u=n,l=r;for(V4(e,n,t),i(e[r],a)>0&&V4(e,n,r);u<l;){for(V4(e,u,l),++u,--l;i(e[u],a)<0;)++u;for(;i(e[l],a)>0;)--l}i(e[n],a)===0?V4(e,n,l):(++l,V4(e,l,r)),l<=t&&(n=l+1),t<=l&&(r=l-1)}return e}function V4(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function O8e(e,t,n){if(e=Float64Array.from(f8e(e)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return tH(e);if(t>=1)return eH(e);var r,i=(r-1)*t,a=Math.floor(i),u=eH(ppe(e,a).subarray(0,a+1)),l=tH(e.subarray(a+1));return u+(l-u)*(i-a)}}function S8e(e,t,n=dpe){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,a=Math.floor(i),u=+n(e[a],a,e),l=+n(e[a+1],a+1,e);return u+(l-u)*(i-a)}}function x8e(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=new Array(i);++r<i;)a[r]=e+r*n;return a}function mpe(e,t,n,r,i,a){const u=[[D1,1,jm],[D1,5,5*jm],[D1,15,15*jm],[D1,30,30*jm],[a,1,Hd],[a,5,5*Hd],[a,15,15*Hd],[a,30,30*Hd],[i,1,Zm],[i,3,3*Zm],[i,6,6*Zm],[i,12,12*Zm],[r,1,ng],[r,2,2*ng],[n,1,WN],[t,1,KZ],[t,3,3*KZ],[e,1,Tk]];function l(s,c,d){const h=c<s;h&&([s,c]=[c,s]);const m=d&&typeof d.range=="function"?d:o(s,c,d),y=m?m.range(s,+c+1):[];return h?y.reverse():y}function o(s,c,d){const h=Math.abs(c-s)/d,m=aI(([,,_])=>_).right(u,h);if(m===u.length)return e.every(B9(s/Tk,c/Tk,d));if(m===0)return ZD.every(Math.max(B9(s,c,d),1));const[y,v]=u[h/u[m-1][2]<u[m][2]/h?m-1:m];return y.every(v)}return[l,o]}const[_8e,E8e]=mpe(ig,iI,VC,fpe,nI,eI),[D8e,$8e]=mpe(rg,rI,qC,ix,tI,JN);function kk(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Pk(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function U4(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function C8e(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,u=e.shortDays,l=e.months,o=e.shortMonths,s=j4(i),c=Z4(i),d=j4(a),h=Z4(a),m=j4(u),y=Z4(u),v=j4(l),_=Z4(l),x=j4(o),E=Z4(o),w={a:J,A:te,b:X,B:M,c:null,d:lH,e:lH,f:G8e,g:u7e,G:o7e,H:H8e,I:X8e,j:Y8e,L:gpe,m:K8e,M:W8e,p:K,q:Y,Q:cH,s:fH,S:J8e,u:e7e,U:t7e,V:n7e,w:r7e,W:i7e,x:null,X:null,y:a7e,Y:l7e,Z:s7e,"%":sH},T={a:B,A:ne,b:oe,B:ae,c:null,d:oH,e:oH,f:h7e,g:_7e,G:D7e,H:c7e,I:f7e,j:d7e,L:ype,m:p7e,M:m7e,p:de,q:be,Q:cH,s:fH,S:g7e,u:v7e,U:y7e,V:b7e,w:O7e,W:S7e,x:null,X:null,y:x7e,Y:E7e,Z:$7e,"%":sH},R={a:Z,A:q,b:j,B:N,c:V,d:aH,e:aH,f:V8e,g:iH,G:rH,H:uH,I:uH,j:B8e,L:q8e,m:L8e,M:Q8e,p:z,q:I8e,Q:j8e,s:Z8e,S:z8e,u:k8e,U:P8e,V:M8e,w:T8e,W:F8e,x:W,X:G,y:iH,Y:rH,Z:N8e,"%":U8e};w.x=C(n,w),w.X=C(r,w),w.c=C(t,w),T.x=C(n,T),T.X=C(r,T),T.c=C(t,T);function C(ye,pe){return function(_e){var se=[],me=-1,ge=0,we=ye.length,Ne,Re,et;for(_e instanceof Date||(_e=new Date(+_e));++me<we;)ye.charCodeAt(me)===37&&(se.push(ye.slice(ge,me)),(Re=nH[Ne=ye.charAt(++me)])!=null?Ne=ye.charAt(++me):Re=Ne==="e"?" ":"0",(et=pe[Ne])&&(Ne=et(_e,Re)),se.push(Ne),ge=me+1);return se.push(ye.slice(ge,me)),se.join("")}}function k(ye,pe){return function(_e){var se=U4(1900,void 0,1),me=F(se,ye,_e+="",0),ge,we;if(me!=_e.length)return null;if("Q"in se)return new Date(se.Q);if("s"in se)return new Date(se.s*1e3+("L"in se?se.L:0));if(pe&&!("Z"in se)&&(se.Z=0),"p"in se&&(se.H=se.H%12+se.p*12),se.m===void 0&&(se.m="q"in se?se.q:0),"V"in se){if(se.V<1||se.V>53)return null;"w"in se||(se.w=1),"Z"in se?(ge=Pk(U4(se.y,0,1)),we=ge.getUTCDay(),ge=we>4||we===0?XD.ceil(ge):XD(ge),ge=zC.offset(ge,(se.V-1)*7),se.y=ge.getUTCFullYear(),se.m=ge.getUTCMonth(),se.d=ge.getUTCDate()+(se.w+6)%7):(ge=kk(U4(se.y,0,1)),we=ge.getDay(),ge=we>4||we===0?HD.ceil(ge):HD(ge),ge=ix.offset(ge,(se.V-1)*7),se.y=ge.getFullYear(),se.m=ge.getMonth(),se.d=ge.getDate()+(se.w+6)%7)}else("W"in se||"U"in se)&&("w"in se||(se.w="u"in se?se.u%7:"W"in se?1:0),we="Z"in se?Pk(U4(se.y,0,1)).getUTCDay():kk(U4(se.y,0,1)).getDay(),se.m=0,se.d="W"in se?(se.w+6)%7+se.W*7-(we+5)%7:se.w+se.U*7-(we+6)%7);return"Z"in se?(se.H+=se.Z/100|0,se.M+=se.Z%100,Pk(se)):kk(se)}}function F(ye,pe,_e,se){for(var me=0,ge=pe.length,we=_e.length,Ne,Re;me<ge;){if(se>=we)return-1;if(Ne=pe.charCodeAt(me++),Ne===37){if(Ne=pe.charAt(me++),Re=R[Ne in nH?pe.charAt(me++):Ne],!Re||(se=Re(ye,_e,se))<0)return-1}else if(Ne!=_e.charCodeAt(se++))return-1}return se}function z(ye,pe,_e){var se=s.exec(pe.slice(_e));return se?(ye.p=c.get(se[0].toLowerCase()),_e+se[0].length):-1}function Z(ye,pe,_e){var se=m.exec(pe.slice(_e));return se?(ye.w=y.get(se[0].toLowerCase()),_e+se[0].length):-1}function q(ye,pe,_e){var se=d.exec(pe.slice(_e));return se?(ye.w=h.get(se[0].toLowerCase()),_e+se[0].length):-1}function j(ye,pe,_e){var se=x.exec(pe.slice(_e));return se?(ye.m=E.get(se[0].toLowerCase()),_e+se[0].length):-1}function N(ye,pe,_e){var se=v.exec(pe.slice(_e));return se?(ye.m=_.get(se[0].toLowerCase()),_e+se[0].length):-1}function V(ye,pe,_e){return F(ye,t,pe,_e)}function W(ye,pe,_e){return F(ye,n,pe,_e)}function G(ye,pe,_e){return F(ye,r,pe,_e)}function J(ye){return u[ye.getDay()]}function te(ye){return a[ye.getDay()]}function X(ye){return o[ye.getMonth()]}function M(ye){return l[ye.getMonth()]}function K(ye){return i[+(ye.getHours()>=12)]}function Y(ye){return 1+~~(ye.getMonth()/3)}function B(ye){return u[ye.getUTCDay()]}function ne(ye){return a[ye.getUTCDay()]}function oe(ye){return o[ye.getUTCMonth()]}function ae(ye){return l[ye.getUTCMonth()]}function de(ye){return i[+(ye.getUTCHours()>=12)]}function be(ye){return 1+~~(ye.getUTCMonth()/3)}return{format:function(ye){var pe=C(ye+="",w);return pe.toString=function(){return ye},pe},parse:function(ye){var pe=k(ye+="",!1);return pe.toString=function(){return ye},pe},utcFormat:function(ye){var pe=C(ye+="",T);return pe.toString=function(){return ye},pe},utcParse:function(ye){var pe=k(ye+="",!0);return pe.toString=function(){return ye},pe}}}var nH={"-":"",_:" ",0:"0"},no=/^\s*\d+/,w8e=/^%/,R8e=/[\\^$*+?|[\]().{}]/g;function Si(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(t)+i:i)}function A8e(e){return e.replace(R8e,"\\$&")}function j4(e){return new RegExp("^(?:"+e.map(A8e).join("|")+")","i")}function Z4(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function T8e(e,t,n){var r=no.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function k8e(e,t,n){var r=no.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function P8e(e,t,n){var r=no.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function M8e(e,t,n){var r=no.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function F8e(e,t,n){var r=no.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function rH(e,t,n){var r=no.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function iH(e,t,n){var r=no.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function N8e(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function I8e(e,t,n){var r=no.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function L8e(e,t,n){var r=no.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function aH(e,t,n){var r=no.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function B8e(e,t,n){var r=no.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function uH(e,t,n){var r=no.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Q8e(e,t,n){var r=no.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function z8e(e,t,n){var r=no.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function q8e(e,t,n){var r=no.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function V8e(e,t,n){var r=no.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function U8e(e,t,n){var r=w8e.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function j8e(e,t,n){var r=no.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Z8e(e,t,n){var r=no.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function lH(e,t){return Si(e.getDate(),t,2)}function H8e(e,t){return Si(e.getHours(),t,2)}function X8e(e,t){return Si(e.getHours()%12||12,t,2)}function Y8e(e,t){return Si(1+ix.count(rg(e),e),t,3)}function gpe(e,t){return Si(e.getMilliseconds(),t,3)}function G8e(e,t){return gpe(e,t)+"000"}function K8e(e,t){return Si(e.getMonth()+1,t,2)}function W8e(e,t){return Si(e.getMinutes(),t,2)}function J8e(e,t){return Si(e.getSeconds(),t,2)}function e7e(e){var t=e.getDay();return t===0?7:t}function t7e(e,t){return Si(qC.count(rg(e)-1,e),t,2)}function vpe(e){var t=e.getDay();return t>=4||t===0?v3(e):v3.ceil(e)}function n7e(e,t){return e=vpe(e),Si(v3.count(rg(e),e)+(rg(e).getDay()===4),t,2)}function r7e(e){return e.getDay()}function i7e(e,t){return Si(HD.count(rg(e)-1,e),t,2)}function a7e(e,t){return Si(e.getFullYear()%100,t,2)}function u7e(e,t){return e=vpe(e),Si(e.getFullYear()%100,t,2)}function l7e(e,t){return Si(e.getFullYear()%1e4,t,4)}function o7e(e,t){var n=e.getDay();return e=n>=4||n===0?v3(e):v3.ceil(e),Si(e.getFullYear()%1e4,t,4)}function s7e(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Si(t/60|0,"0",2)+Si(t%60,"0",2)}function oH(e,t){return Si(e.getUTCDate(),t,2)}function c7e(e,t){return Si(e.getUTCHours(),t,2)}function f7e(e,t){return Si(e.getUTCHours()%12||12,t,2)}function d7e(e,t){return Si(1+zC.count(ig(e),e),t,3)}function ype(e,t){return Si(e.getUTCMilliseconds(),t,3)}function h7e(e,t){return ype(e,t)+"000"}function p7e(e,t){return Si(e.getUTCMonth()+1,t,2)}function m7e(e,t){return Si(e.getUTCMinutes(),t,2)}function g7e(e,t){return Si(e.getUTCSeconds(),t,2)}function v7e(e){var t=e.getUTCDay();return t===0?7:t}function y7e(e,t){return Si(VC.count(ig(e)-1,e),t,2)}function bpe(e){var t=e.getUTCDay();return t>=4||t===0?y3(e):y3.ceil(e)}function b7e(e,t){return e=bpe(e),Si(y3.count(ig(e),e)+(ig(e).getUTCDay()===4),t,2)}function O7e(e){return e.getUTCDay()}function S7e(e,t){return Si(XD.count(ig(e)-1,e),t,2)}function x7e(e,t){return Si(e.getUTCFullYear()%100,t,2)}function _7e(e,t){return e=bpe(e),Si(e.getUTCFullYear()%100,t,2)}function E7e(e,t){return Si(e.getUTCFullYear()%1e4,t,4)}function D7e(e,t){var n=e.getUTCDay();return e=n>=4||n===0?y3(e):y3.ceil(e),Si(e.getUTCFullYear()%1e4,t,4)}function $7e(){return"+0000"}function sH(){return"%"}function cH(e){return+e}function fH(e){return Math.floor(+e/1e3)}var fO,Ope,Spe;C7e({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function C7e(e){return fO=C8e(e),Ope=fO.format,fO.parse,Spe=fO.utcFormat,fO.utcParse,fO}var ux=e=>e.type==="checkbox",$1=e=>e instanceof Date,Js=e=>e==null;const xpe=e=>typeof e=="object";var zu=e=>!Js(e)&&!Array.isArray(e)&&xpe(e)&&!$1(e),_pe=e=>zu(e)&&e.target?ux(e.target)?e.target.checked:e.target.value:e,w7e=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Epe=(e,t)=>e.has(w7e(t)),R7e=e=>{const t=e.constructor&&e.constructor.prototype;return zu(t)&&t.hasOwnProperty("isPrototypeOf")},uI=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Pa(e){let t;const n=Array.isArray(e),r=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(uI&&(e instanceof Blob||r))&&(n||zu(e)))if(t=n?[]:Object.create(Object.getPrototypeOf(e)),!n&&!R7e(e))t=e;else for(const i in e)e.hasOwnProperty(i)&&(t[i]=Pa(e[i]));else return e;return t}var UC=e=>/^\w*$/.test(e),Fa=e=>e===void 0,jC=e=>Array.isArray(e)?e.filter(Boolean):[],lI=e=>jC(e.replace(/["|']|\]/g,"").split(/\.|\[/)),jt=(e,t,n)=>{if(!t||!zu(e))return n;const r=(UC(t)?[t]:lI(t)).reduce((i,a)=>Js(i)?i:i[a],e);return Fa(r)||r===e?Fa(e[t])?n:e[t]:r},Lf=e=>typeof e=="boolean",Gi=(e,t,n)=>{let r=-1;const i=UC(t)?[t]:lI(t),a=i.length,u=a-1;for(;++r<a;){const l=i[r];let o=n;if(r!==u){const s=e[l];o=zu(s)||Array.isArray(s)?s:isNaN(+i[r+1])?{}:[]}if(l==="__proto__"||l==="constructor"||l==="prototype")return;e[l]=o,e=e[l]}};const GD={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Ud={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Dm={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},oI=ve.createContext(null);oI.displayName="HookFormContext";const ZC=()=>ve.useContext(oI),_it=e=>{const{children:t,...n}=e;return ve.createElement(oI.Provider,{value:n},t)};var Dpe=(e,t,n,r=!0)=>{const i={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(i,a,{get:()=>{const u=a;return t._proxyFormState[u]!==Ud.all&&(t._proxyFormState[u]=!r||Ud.all),n&&(n[u]=!0),e[u]}});return i};const HC=typeof window<"u"?ve.useLayoutEffect:ve.useEffect;function A7e(e){const t=ZC(),{control:n=t.control,disabled:r,name:i,exact:a}=e||{},[u,l]=ve.useState(n._formState),o=ve.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return HC(()=>n._subscribe({name:i,formState:o.current,exact:a,callback:s=>{!r&&l({...n._formState,...s})}}),[i,r,a]),ve.useEffect(()=>{o.current.isValid&&n._setValid(!0)},[n]),ve.useMemo(()=>Dpe(u,n,o.current,!1),[u,n])}var g0=e=>typeof e=="string",$pe=(e,t,n,r,i)=>g0(e)?(r&&t.watch.add(e),jt(n,e,i)):Array.isArray(e)?e.map(a=>(r&&t.watch.add(a),jt(n,a))):(r&&(t.watchAll=!0),n),Q9=e=>Js(e)||!xpe(e);function Im(e,t,n=new WeakSet){if(Q9(e)||Q9(t))return e===t;if($1(e)&&$1(t))return e.getTime()===t.getTime();const r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(const a of r){const u=e[a];if(!i.includes(a))return!1;if(a!=="ref"){const l=t[a];if($1(u)&&$1(l)||zu(u)&&zu(l)||Array.isArray(u)&&Array.isArray(l)?!Im(u,l,n):u!==l)return!1}}return!0}function T7e(e){const t=ZC(),{control:n=t.control,name:r,defaultValue:i,disabled:a,exact:u,compute:l}=e||{},o=ve.useRef(i),s=ve.useRef(l),c=ve.useRef(void 0);s.current=l;const d=ve.useMemo(()=>n._getWatch(r,o.current),[n,r]),[h,m]=ve.useState(s.current?s.current(d):d);return HC(()=>n._subscribe({name:r,formState:{values:!0},exact:u,callback:y=>{if(!a){const v=$pe(r,n._names,y.values||n._formValues,!1,o.current);if(s.current){const _=s.current(v);Im(_,c.current)||(m(_),c.current=_)}else m(v)}}}),[n,a,r,u]),ve.useEffect(()=>n._removeUnmounted()),h}function k7e(e){const t=ZC(),{name:n,disabled:r,control:i=t.control,shouldUnregister:a,defaultValue:u}=e,l=Epe(i._names.array,n),o=ve.useMemo(()=>jt(i._formValues,n,jt(i._defaultValues,n,u)),[i,n,u]),s=T7e({control:i,name:n,defaultValue:o,exact:!0}),c=A7e({control:i,name:n,exact:!0}),d=ve.useRef(e),h=ve.useRef(i.register(n,{...e.rules,value:s,...Lf(e.disabled)?{disabled:e.disabled}:{}}));d.current=e;const m=ve.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!jt(c.errors,n)},isDirty:{enumerable:!0,get:()=>!!jt(c.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!jt(c.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!jt(c.validatingFields,n)},error:{enumerable:!0,get:()=>jt(c.errors,n)}}),[c,n]),y=ve.useCallback(E=>h.current.onChange({target:{value:_pe(E),name:n},type:GD.CHANGE}),[n]),v=ve.useCallback(()=>h.current.onBlur({target:{value:jt(i._formValues,n),name:n},type:GD.BLUR}),[n,i._formValues]),_=ve.useCallback(E=>{const w=jt(i._fields,n);w&&E&&(w._f.ref={focus:()=>E.focus&&E.focus(),select:()=>E.select&&E.select(),setCustomValidity:T=>E.setCustomValidity(T),reportValidity:()=>E.reportValidity()})},[i._fields,n]),x=ve.useMemo(()=>({name:n,value:s,...Lf(r)||c.disabled?{disabled:c.disabled||r}:{},onChange:y,onBlur:v,ref:_}),[n,r,c.disabled,y,v,_,s]);return ve.useEffect(()=>{const E=i._options.shouldUnregister||a;i.register(n,{...d.current.rules,...Lf(d.current.disabled)?{disabled:d.current.disabled}:{}});const w=(T,R)=>{const C=jt(i._fields,T);C&&C._f&&(C._f.mount=R)};if(w(n,!0),E){const T=Pa(jt(i._options.defaultValues,n));Gi(i._defaultValues,n,T),Fa(jt(i._formValues,n))&&Gi(i._formValues,n,T)}return!l&&i.register(n),()=>{(l?E&&!i._state.action:E)?i.unregister(n):w(n,!1)}},[n,i,l,a]),ve.useEffect(()=>{i._setDisabledField({disabled:r,name:n})},[r,n,i]),ve.useMemo(()=>({field:x,formState:c,fieldState:m}),[x,c,m])}const Eit=e=>e.render(k7e(e));var P7e=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},tf=e=>Array.isArray(e)?e:[e],dH=()=>{let e=[];return{get observers(){return e},next:i=>{for(const a of e)a.next&&a.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(a=>a!==i)}}),unsubscribe:()=>{e=[]}}},Ws=e=>zu(e)&&!Object.keys(e).length,sI=e=>e.type==="file",Gh=e=>typeof e=="function",KD=e=>{if(!uI)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Cpe=e=>e.type==="select-multiple",cI=e=>e.type==="radio",M7e=e=>cI(e)||ux(e),Mk=e=>KD(e)&&e.isConnected;function F7e(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=Fa(e)?r++:e[t[r++]];return e}function N7e(e){for(const t in e)if(e.hasOwnProperty(t)&&!Fa(e[t]))return!1;return!0}function Iu(e,t){const n=Array.isArray(t)?t:UC(t)?[t]:lI(t),r=n.length===1?e:F7e(e,n),i=n.length-1,a=n[i];return r&&delete r[a],i!==0&&(zu(r)&&Ws(r)||Array.isArray(r)&&N7e(r))&&Iu(e,n.slice(0,-1)),e}var wpe=e=>{for(const t in e)if(Gh(e[t]))return!0;return!1};function WD(e,t={}){const n=Array.isArray(e);if(zu(e)||n)for(const r in e)Array.isArray(e[r])||zu(e[r])&&!wpe(e[r])?(t[r]=Array.isArray(e[r])?[]:{},WD(e[r],t[r])):Js(e[r])||(t[r]=!0);return t}function Rpe(e,t,n){const r=Array.isArray(e);if(zu(e)||r)for(const i in e)Array.isArray(e[i])||zu(e[i])&&!wpe(e[i])?Fa(t)||Q9(n[i])?n[i]=Array.isArray(e[i])?WD(e[i],[]):{...WD(e[i])}:Rpe(e[i],Js(t)?{}:t[i],n[i]):n[i]=!Im(e[i],t[i]);return n}var H4=(e,t)=>Rpe(e,t,WD(t));const hH={value:!1,isValid:!1},pH={value:!0,isValid:!0};var Ape=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Fa(e[0].attributes.value)?Fa(e[0].value)||e[0].value===""?pH:{value:e[0].value,isValid:!0}:pH:hH}return hH},Tpe=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>Fa(e)?e:t?e===""?NaN:e&&+e:n&&g0(e)?new Date(e):r?r(e):e;const mH={isValid:!1,value:null};var kpe=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,mH):mH;function gH(e){const t=e.ref;return sI(t)?t.files:cI(t)?kpe(e.refs).value:Cpe(t)?[...t.selectedOptions].map(({value:n})=>n):ux(t)?Ape(e.refs).value:Tpe(Fa(t.value)?e.ref.value:t.value,e)}var I7e=(e,t,n,r)=>{const i={};for(const a of e){const u=jt(t,a);u&&Gi(i,a,u._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},JD=e=>e instanceof RegExp,X4=e=>Fa(e)?e:JD(e)?e.source:zu(e)?JD(e.value)?e.value.source:e.value:e,TO=e=>({isOnSubmit:!e||e===Ud.onSubmit,isOnBlur:e===Ud.onBlur,isOnChange:e===Ud.onChange,isOnAll:e===Ud.all,isOnTouch:e===Ud.onTouched});const vH="AsyncFunction";var L7e=e=>!!e&&!!e.validate&&!!(Gh(e.validate)&&e.validate.constructor.name===vH||zu(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===vH)),B7e=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),z9=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const WO=(e,t,n,r)=>{for(const i of n||Object.keys(e)){const a=jt(e,i);if(a){const{_f:u,...l}=a;if(u){if(u.refs&&u.refs[0]&&t(u.refs[0],i)&&!r)return!0;if(u.ref&&t(u.ref,u.name)&&!r)return!0;if(WO(l,t))break}else if(zu(l)&&WO(l,t))break}}};function yH(e,t,n){const r=jt(e,n);if(r||UC(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const a=i.join("."),u=jt(t,a),l=jt(e,a);if(u&&!Array.isArray(u)&&n!==a)return{name:n};if(l&&l.type)return{name:a,error:l};if(l&&l.root&&l.root.type)return{name:`${a}.root`,error:l.root};i.pop()}return{name:n}}var Q7e=(e,t,n,r)=>{n(e);const{name:i,...a}=e;return Ws(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(u=>t[u]===(!r||Ud.all))},z7e=(e,t,n)=>!e||!t||e===t||tf(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r))),q7e=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?r.isOnChange:i.isOnChange)?e:!0,V7e=(e,t)=>!jC(jt(e,t)).length&&Iu(e,t),Ppe=(e,t,n)=>{const r=tf(jt(e,n));return Gi(r,"root",t[n]),Gi(e,n,r),e},FE=e=>g0(e);function bH(e,t,n="validate"){if(FE(e)||Array.isArray(e)&&e.every(FE)||Lf(e)&&!e)return{type:n,message:FE(e)?e:"",ref:t}}var dO=e=>zu(e)&&!JD(e)?e:{value:e,message:""},q9=async(e,t,n,r,i,a)=>{const{ref:u,refs:l,required:o,maxLength:s,minLength:c,min:d,max:h,pattern:m,validate:y,name:v,valueAsNumber:_,mount:x}=e._f,E=jt(n,v);if(!x||t.has(v))return{};const w=l?l[0]:u,T=j=>{i&&w.reportValidity&&(w.setCustomValidity(Lf(j)?"":j||""),w.reportValidity())},R={},C=cI(u),k=ux(u),F=C||k,z=(_||sI(u))&&Fa(u.value)&&Fa(E)||KD(u)&&u.value===""||E===""||Array.isArray(E)&&!E.length,Z=P7e.bind(null,v,r,R),q=(j,N,V,W=Dm.maxLength,G=Dm.minLength)=>{const J=j?N:V;R[v]={type:j?W:G,message:J,ref:u,...Z(j?W:G,J)}};if(a?!Array.isArray(E)||!E.length:o&&(!F&&(z||Js(E))||Lf(E)&&!E||k&&!Ape(l).isValid||C&&!kpe(l).isValid)){const{value:j,message:N}=FE(o)?{value:!!o,message:o}:dO(o);if(j&&(R[v]={type:Dm.required,message:N,ref:w,...Z(Dm.required,N)},!r))return T(N),R}if(!z&&(!Js(d)||!Js(h))){let j,N;const V=dO(h),W=dO(d);if(!Js(E)&&!isNaN(E)){const G=u.valueAsNumber||E&&+E;Js(V.value)||(j=G>V.value),Js(W.value)||(N=G<W.value)}else{const G=u.valueAsDate||new Date(E),J=M=>new Date(new Date().toDateString()+" "+M),te=u.type=="time",X=u.type=="week";g0(V.value)&&E&&(j=te?J(E)>J(V.value):X?E>V.value:G>new Date(V.value)),g0(W.value)&&E&&(N=te?J(E)<J(W.value):X?E<W.value:G<new Date(W.value))}if((j||N)&&(q(!!j,V.message,W.message,Dm.max,Dm.min),!r))return T(R[v].message),R}if((s||c)&&!z&&(g0(E)||a&&Array.isArray(E))){const j=dO(s),N=dO(c),V=!Js(j.value)&&E.length>+j.value,W=!Js(N.value)&&E.length<+N.value;if((V||W)&&(q(V,j.message,N.message),!r))return T(R[v].message),R}if(m&&!z&&g0(E)){const{value:j,message:N}=dO(m);if(JD(j)&&!E.match(j)&&(R[v]={type:Dm.pattern,message:N,ref:u,...Z(Dm.pattern,N)},!r))return T(N),R}if(y){if(Gh(y)){const j=await y(E,n),N=bH(j,w);if(N&&(R[v]={...N,...Z(Dm.validate,N.message)},!r))return T(N.message),R}else if(zu(y)){let j={};for(const N in y){if(!Ws(j)&&!r)break;const V=bH(await y[N](E,n),w,N);V&&(j={...V,...Z(N,V.message)},T(V.message),r&&(R[v]=j))}if(!Ws(j)&&(R[v]={ref:w,...j},!r))return R}}return T(!0),R};const U7e={mode:Ud.onSubmit,reValidateMode:Ud.onChange,shouldFocusError:!0};function j7e(e={}){let t={...U7e,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:Gh(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},i=zu(t.defaultValues)||zu(t.values)?Pa(t.defaultValues||t.values)||{}:{},a=t.shouldUnregister?{}:Pa(i),u={action:!1,mount:!1,watch:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},o,s=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let d={...c};const h={array:dH(),state:dH()},m=t.criteriaMode===Ud.all,y=Oe=>$e=>{clearTimeout(s),s=setTimeout(Oe,$e)},v=async Oe=>{if(!t.disabled&&(c.isValid||d.isValid||Oe)){const $e=t.resolver?Ws((await k()).errors):await z(r,!0);$e!==n.isValid&&h.state.next({isValid:$e})}},_=(Oe,$e)=>{!t.disabled&&(c.isValidating||c.validatingFields||d.isValidating||d.validatingFields)&&((Oe||Array.from(l.mount)).forEach(Ae=>{Ae&&($e?Gi(n.validatingFields,Ae,$e):Iu(n.validatingFields,Ae))}),h.state.next({validatingFields:n.validatingFields,isValidating:!Ws(n.validatingFields)}))},x=(Oe,$e=[],Ae,Ue,Ze=!0,Ye=!0)=>{if(Ue&&Ae&&!t.disabled){if(u.action=!0,Ye&&Array.isArray(jt(r,Oe))){const Me=Ae(jt(r,Oe),Ue.argA,Ue.argB);Ze&&Gi(r,Oe,Me)}if(Ye&&Array.isArray(jt(n.errors,Oe))){const Me=Ae(jt(n.errors,Oe),Ue.argA,Ue.argB);Ze&&Gi(n.errors,Oe,Me),V7e(n.errors,Oe)}if((c.touchedFields||d.touchedFields)&&Ye&&Array.isArray(jt(n.touchedFields,Oe))){const Me=Ae(jt(n.touchedFields,Oe),Ue.argA,Ue.argB);Ze&&Gi(n.touchedFields,Oe,Me)}(c.dirtyFields||d.dirtyFields)&&(n.dirtyFields=H4(i,a)),h.state.next({name:Oe,isDirty:q(Oe,$e),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Gi(a,Oe,$e)},E=(Oe,$e)=>{Gi(n.errors,Oe,$e),h.state.next({errors:n.errors})},w=Oe=>{n.errors=Oe,h.state.next({errors:n.errors,isValid:!1})},T=(Oe,$e,Ae,Ue)=>{const Ze=jt(r,Oe);if(Ze){const Ye=jt(a,Oe,Fa(Ae)?jt(i,Oe):Ae);Fa(Ye)||Ue&&Ue.defaultChecked||$e?Gi(a,Oe,$e?Ye:gH(Ze._f)):V(Oe,Ye),u.mount&&v()}},R=(Oe,$e,Ae,Ue,Ze)=>{let Ye=!1,Me=!1;const ze={name:Oe};if(!t.disabled){if(!Ae||Ue){(c.isDirty||d.isDirty)&&(Me=n.isDirty,n.isDirty=ze.isDirty=q(),Ye=Me!==ze.isDirty);const st=Im(jt(i,Oe),$e);Me=!!jt(n.dirtyFields,Oe),st?Iu(n.dirtyFields,Oe):Gi(n.dirtyFields,Oe,!0),ze.dirtyFields=n.dirtyFields,Ye=Ye||(c.dirtyFields||d.dirtyFields)&&Me!==!st}if(Ae){const st=jt(n.touchedFields,Oe);st||(Gi(n.touchedFields,Oe,Ae),ze.touchedFields=n.touchedFields,Ye=Ye||(c.touchedFields||d.touchedFields)&&st!==Ae)}Ye&&Ze&&h.state.next(ze)}return Ye?ze:{}},C=(Oe,$e,Ae,Ue)=>{const Ze=jt(n.errors,Oe),Ye=(c.isValid||d.isValid)&&Lf($e)&&n.isValid!==$e;if(t.delayError&&Ae?(o=y(()=>E(Oe,Ae)),o(t.delayError)):(clearTimeout(s),o=null,Ae?Gi(n.errors,Oe,Ae):Iu(n.errors,Oe)),(Ae?!Im(Ze,Ae):Ze)||!Ws(Ue)||Ye){const Me={...Ue,...Ye&&Lf($e)?{isValid:$e}:{},errors:n.errors,name:Oe};n={...n,...Me},h.state.next(Me)}},k=async Oe=>{_(Oe,!0);const $e=await t.resolver(a,t.context,I7e(Oe||l.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return _(Oe),$e},F=async Oe=>{const{errors:$e}=await k(Oe);if(Oe)for(const Ae of Oe){const Ue=jt($e,Ae);Ue?Gi(n.errors,Ae,Ue):Iu(n.errors,Ae)}else n.errors=$e;return $e},z=async(Oe,$e,Ae={valid:!0})=>{for(const Ue in Oe){const Ze=Oe[Ue];if(Ze){const{_f:Ye,...Me}=Ze;if(Ye){const ze=l.array.has(Ye.name),st=Ze._f&&L7e(Ze._f);st&&c.validatingFields&&_([Ue],!0);const Ot=await q9(Ze,l.disabled,a,m,t.shouldUseNativeValidation&&!$e,ze);if(st&&c.validatingFields&&_([Ue]),Ot[Ye.name]&&(Ae.valid=!1,$e))break;!$e&&(jt(Ot,Ye.name)?ze?Ppe(n.errors,Ot,Ye.name):Gi(n.errors,Ye.name,Ot[Ye.name]):Iu(n.errors,Ye.name))}!Ws(Me)&&await z(Me,$e,Ae)}}return Ae.valid},Z=()=>{for(const Oe of l.unMount){const $e=jt(r,Oe);$e&&($e._f.refs?$e._f.refs.every(Ae=>!Mk(Ae)):!Mk($e._f.ref))&&de(Oe)}l.unMount=new Set},q=(Oe,$e)=>!t.disabled&&(Oe&&$e&&Gi(a,Oe,$e),!Im(M(),i)),j=(Oe,$e,Ae)=>$pe(Oe,l,{...u.mount?a:Fa($e)?i:g0(Oe)?{[Oe]:$e}:$e},Ae,$e),N=Oe=>jC(jt(u.mount?a:i,Oe,t.shouldUnregister?jt(i,Oe,[]):[])),V=(Oe,$e,Ae={})=>{const Ue=jt(r,Oe);let Ze=$e;if(Ue){const Ye=Ue._f;Ye&&(!Ye.disabled&&Gi(a,Oe,Tpe($e,Ye)),Ze=KD(Ye.ref)&&Js($e)?"":$e,Cpe(Ye.ref)?[...Ye.ref.options].forEach(Me=>Me.selected=Ze.includes(Me.value)):Ye.refs?ux(Ye.ref)?Ye.refs.forEach(Me=>{(!Me.defaultChecked||!Me.disabled)&&(Array.isArray(Ze)?Me.checked=!!Ze.find(ze=>ze===Me.value):Me.checked=Ze===Me.value||!!Ze)}):Ye.refs.forEach(Me=>Me.checked=Me.value===Ze):sI(Ye.ref)?Ye.ref.value="":(Ye.ref.value=Ze,Ye.ref.type||h.state.next({name:Oe,values:Pa(a)})))}(Ae.shouldDirty||Ae.shouldTouch)&&R(Oe,Ze,Ae.shouldTouch,Ae.shouldDirty,!0),Ae.shouldValidate&&X(Oe)},W=(Oe,$e,Ae)=>{for(const Ue in $e){if(!$e.hasOwnProperty(Ue))return;const Ze=$e[Ue],Ye=Oe+"."+Ue,Me=jt(r,Ye);(l.array.has(Oe)||zu(Ze)||Me&&!Me._f)&&!$1(Ze)?W(Ye,Ze,Ae):V(Ye,Ze,Ae)}},G=(Oe,$e,Ae={})=>{const Ue=jt(r,Oe),Ze=l.array.has(Oe),Ye=Pa($e);Gi(a,Oe,Ye),Ze?(h.array.next({name:Oe,values:Pa(a)}),(c.isDirty||c.dirtyFields||d.isDirty||d.dirtyFields)&&Ae.shouldDirty&&h.state.next({name:Oe,dirtyFields:H4(i,a),isDirty:q(Oe,Ye)})):Ue&&!Ue._f&&!Js(Ye)?W(Oe,Ye,Ae):V(Oe,Ye,Ae),z9(Oe,l)&&h.state.next({...n,name:Oe}),h.state.next({name:u.mount?Oe:void 0,values:Pa(a)})},J=async Oe=>{u.mount=!0;const $e=Oe.target;let Ae=$e.name,Ue=!0;const Ze=jt(r,Ae),Ye=st=>{Ue=Number.isNaN(st)||$1(st)&&isNaN(st.getTime())||Im(st,jt(a,Ae,st))},Me=TO(t.mode),ze=TO(t.reValidateMode);if(Ze){let st,Ot;const Nt=$e.type?gH(Ze._f):_pe(Oe),gt=Oe.type===GD.BLUR||Oe.type===GD.FOCUS_OUT,qt=!B7e(Ze._f)&&!t.resolver&&!jt(n.errors,Ae)&&!Ze._f.deps||q7e(gt,jt(n.touchedFields,Ae),n.isSubmitted,ze,Me),zt=z9(Ae,l,gt);Gi(a,Ae,Nt),gt?(!$e||!$e.readOnly)&&(Ze._f.onBlur&&Ze._f.onBlur(Oe),o&&o(0)):Ze._f.onChange&&Ze._f.onChange(Oe);const rn=R(Ae,Nt,gt),nn=!Ws(rn)||zt;if(!gt&&h.state.next({name:Ae,type:Oe.type,values:Pa(a)}),qt)return(c.isValid||d.isValid)&&(t.mode==="onBlur"?gt&&v():gt||v()),nn&&h.state.next({name:Ae,...zt?{}:rn});if(!gt&&zt&&h.state.next({...n}),t.resolver){const{errors:Fe}=await k([Ae]);if(Ye(Nt),Ue){const ht=yH(n.errors,r,Ae),Tt=yH(Fe,r,ht.name||Ae);st=Tt.error,Ae=Tt.name,Ot=Ws(Fe)}}else _([Ae],!0),st=(await q9(Ze,l.disabled,a,m,t.shouldUseNativeValidation))[Ae],_([Ae]),Ye(Nt),Ue&&(st?Ot=!1:(c.isValid||d.isValid)&&(Ot=await z(r,!0)));Ue&&(Ze._f.deps&&X(Ze._f.deps),C(Ae,Ot,st,rn))}},te=(Oe,$e)=>{if(jt(n.errors,$e)&&Oe.focus)return Oe.focus(),1},X=async(Oe,$e={})=>{let Ae,Ue;const Ze=tf(Oe);if(t.resolver){const Ye=await F(Fa(Oe)?Oe:Ze);Ae=Ws(Ye),Ue=Oe?!Ze.some(Me=>jt(Ye,Me)):Ae}else Oe?(Ue=(await Promise.all(Ze.map(async Ye=>{const Me=jt(r,Ye);return await z(Me&&Me._f?{[Ye]:Me}:Me)}))).every(Boolean),!(!Ue&&!n.isValid)&&v()):Ue=Ae=await z(r);return h.state.next({...!g0(Oe)||(c.isValid||d.isValid)&&Ae!==n.isValid?{}:{name:Oe},...t.resolver||!Oe?{isValid:Ae}:{},errors:n.errors}),$e.shouldFocus&&!Ue&&WO(r,te,Oe?Ze:l.mount),Ue},M=Oe=>{const $e={...u.mount?a:i};return Fa(Oe)?$e:g0(Oe)?jt($e,Oe):Oe.map(Ae=>jt($e,Ae))},K=(Oe,$e)=>({invalid:!!jt(($e||n).errors,Oe),isDirty:!!jt(($e||n).dirtyFields,Oe),error:jt(($e||n).errors,Oe),isValidating:!!jt(n.validatingFields,Oe),isTouched:!!jt(($e||n).touchedFields,Oe)}),Y=Oe=>{Oe&&tf(Oe).forEach($e=>Iu(n.errors,$e)),h.state.next({errors:Oe?n.errors:{}})},B=(Oe,$e,Ae)=>{const Ue=(jt(r,Oe,{_f:{}})._f||{}).ref,Ze=jt(n.errors,Oe)||{},{ref:Ye,message:Me,type:ze,...st}=Ze;Gi(n.errors,Oe,{...st,...$e,ref:Ue}),h.state.next({name:Oe,errors:n.errors,isValid:!1}),Ae&&Ae.shouldFocus&&Ue&&Ue.focus&&Ue.focus()},ne=(Oe,$e)=>Gh(Oe)?h.state.subscribe({next:Ae=>"values"in Ae&&Oe(j(void 0,$e),Ae)}):j(Oe,$e,!0),oe=Oe=>h.state.subscribe({next:$e=>{z7e(Oe.name,$e.name,Oe.exact)&&Q7e($e,Oe.formState||c,Re,Oe.reRenderRoot)&&Oe.callback({values:{...a},...n,...$e,defaultValues:i})}}).unsubscribe,ae=Oe=>(u.mount=!0,d={...d,...Oe.formState},oe({...Oe,formState:d})),de=(Oe,$e={})=>{for(const Ae of Oe?tf(Oe):l.mount)l.mount.delete(Ae),l.array.delete(Ae),$e.keepValue||(Iu(r,Ae),Iu(a,Ae)),!$e.keepError&&Iu(n.errors,Ae),!$e.keepDirty&&Iu(n.dirtyFields,Ae),!$e.keepTouched&&Iu(n.touchedFields,Ae),!$e.keepIsValidating&&Iu(n.validatingFields,Ae),!t.shouldUnregister&&!$e.keepDefaultValue&&Iu(i,Ae);h.state.next({values:Pa(a)}),h.state.next({...n,...$e.keepDirty?{isDirty:q()}:{}}),!$e.keepIsValid&&v()},be=({disabled:Oe,name:$e})=>{(Lf(Oe)&&u.mount||Oe||l.disabled.has($e))&&(Oe?l.disabled.add($e):l.disabled.delete($e))},ye=(Oe,$e={})=>{let Ae=jt(r,Oe);const Ue=Lf($e.disabled)||Lf(t.disabled);return Gi(r,Oe,{...Ae||{},_f:{...Ae&&Ae._f?Ae._f:{ref:{name:Oe}},name:Oe,mount:!0,...$e}}),l.mount.add(Oe),Ae?be({disabled:Lf($e.disabled)?$e.disabled:t.disabled,name:Oe}):T(Oe,!0,$e.value),{...Ue?{disabled:$e.disabled||t.disabled}:{},...t.progressive?{required:!!$e.required,min:X4($e.min),max:X4($e.max),minLength:X4($e.minLength),maxLength:X4($e.maxLength),pattern:X4($e.pattern)}:{},name:Oe,onChange:J,onBlur:J,ref:Ze=>{if(Ze){ye(Oe,$e),Ae=jt(r,Oe);const Ye=Fa(Ze.value)&&Ze.querySelectorAll&&Ze.querySelectorAll("input,select,textarea")[0]||Ze,Me=M7e(Ye),ze=Ae._f.refs||[];if(Me?ze.find(st=>st===Ye):Ye===Ae._f.ref)return;Gi(r,Oe,{_f:{...Ae._f,...Me?{refs:[...ze.filter(Mk),Ye,...Array.isArray(jt(i,Oe))?[{}]:[]],ref:{type:Ye.type,name:Oe}}:{ref:Ye}}}),T(Oe,!1,void 0,Ye)}else Ae=jt(r,Oe,{}),Ae._f&&(Ae._f.mount=!1),(t.shouldUnregister||$e.shouldUnregister)&&!(Epe(l.array,Oe)&&u.action)&&l.unMount.add(Oe)}}},pe=()=>t.shouldFocusError&&WO(r,te,l.mount),_e=Oe=>{Lf(Oe)&&(h.state.next({disabled:Oe}),WO(r,($e,Ae)=>{const Ue=jt(r,Ae);Ue&&($e.disabled=Ue._f.disabled||Oe,Array.isArray(Ue._f.refs)&&Ue._f.refs.forEach(Ze=>{Ze.disabled=Ue._f.disabled||Oe}))},0,!1))},se=(Oe,$e)=>async Ae=>{let Ue;Ae&&(Ae.preventDefault&&Ae.preventDefault(),Ae.persist&&Ae.persist());let Ze=Pa(a);if(h.state.next({isSubmitting:!0}),t.resolver){const{errors:Ye,values:Me}=await k();n.errors=Ye,Ze=Pa(Me)}else await z(r);if(l.disabled.size)for(const Ye of l.disabled)Iu(Ze,Ye);if(Iu(n.errors,"root"),Ws(n.errors)){h.state.next({errors:{}});try{await Oe(Ze,Ae)}catch(Ye){Ue=Ye}}else $e&&await $e({...n.errors},Ae),pe(),setTimeout(pe);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Ws(n.errors)&&!Ue,submitCount:n.submitCount+1,errors:n.errors}),Ue)throw Ue},me=(Oe,$e={})=>{jt(r,Oe)&&(Fa($e.defaultValue)?G(Oe,Pa(jt(i,Oe))):(G(Oe,$e.defaultValue),Gi(i,Oe,Pa($e.defaultValue))),$e.keepTouched||Iu(n.touchedFields,Oe),$e.keepDirty||(Iu(n.dirtyFields,Oe),n.isDirty=$e.defaultValue?q(Oe,Pa(jt(i,Oe))):q()),$e.keepError||(Iu(n.errors,Oe),c.isValid&&v()),h.state.next({...n}))},ge=(Oe,$e={})=>{const Ae=Oe?Pa(Oe):i,Ue=Pa(Ae),Ze=Ws(Oe),Ye=Ze?i:Ue;if($e.keepDefaultValues||(i=Ae),!$e.keepValues){if($e.keepDirtyValues){const Me=new Set([...l.mount,...Object.keys(H4(i,a))]);for(const ze of Array.from(Me))jt(n.dirtyFields,ze)?Gi(Ye,ze,jt(a,ze)):G(ze,jt(Ye,ze))}else{if(uI&&Fa(Oe))for(const Me of l.mount){const ze=jt(r,Me);if(ze&&ze._f){const st=Array.isArray(ze._f.refs)?ze._f.refs[0]:ze._f.ref;if(KD(st)){const Ot=st.closest("form");if(Ot){Ot.reset();break}}}}if($e.keepFieldsRef)for(const Me of l.mount)G(Me,jt(Ye,Me));else r={}}a=t.shouldUnregister?$e.keepDefaultValues?Pa(i):{}:Pa(Ye),h.array.next({values:{...Ye}}),h.state.next({values:{...Ye}})}l={mount:$e.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},u.mount=!c.isValid||!!$e.keepIsValid||!!$e.keepDirtyValues,u.watch=!!t.shouldUnregister,h.state.next({submitCount:$e.keepSubmitCount?n.submitCount:0,isDirty:Ze?!1:$e.keepDirty?n.isDirty:!!($e.keepDefaultValues&&!Im(Oe,i)),isSubmitted:$e.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:Ze?{}:$e.keepDirtyValues?$e.keepDefaultValues&&a?H4(i,a):n.dirtyFields:$e.keepDefaultValues&&Oe?H4(i,Oe):$e.keepDirty?n.dirtyFields:{},touchedFields:$e.keepTouched?n.touchedFields:{},errors:$e.keepErrors?n.errors:{},isSubmitSuccessful:$e.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:i})},we=(Oe,$e)=>ge(Gh(Oe)?Oe(a):Oe,$e),Ne=(Oe,$e={})=>{const Ae=jt(r,Oe),Ue=Ae&&Ae._f;if(Ue){const Ze=Ue.refs?Ue.refs[0]:Ue.ref;Ze.focus&&(Ze.focus(),$e.shouldSelect&&Gh(Ze.select)&&Ze.select())}},Re=Oe=>{n={...n,...Oe}},tt={control:{register:ye,unregister:de,getFieldState:K,handleSubmit:se,setError:B,_subscribe:oe,_runSchema:k,_focusError:pe,_getWatch:j,_getDirty:q,_setValid:v,_setFieldArray:x,_setDisabledField:be,_setErrors:w,_getFieldArray:N,_reset:ge,_resetDefaultValues:()=>Gh(t.defaultValues)&&t.defaultValues().then(Oe=>{we(Oe,t.resetOptions),h.state.next({isLoading:!1})}),_removeUnmounted:Z,_disableForm:_e,_subjects:h,_proxyFormState:c,get _fields(){return r},get _formValues(){return a},get _state(){return u},set _state(Oe){u=Oe},get _defaultValues(){return i},get _names(){return l},set _names(Oe){l=Oe},get _formState(){return n},get _options(){return t},set _options(Oe){t={...t,...Oe}}},subscribe:ae,trigger:X,register:ye,handleSubmit:se,watch:ne,setValue:G,getValues:M,reset:we,resetField:me,clearErrors:Y,unregister:de,setError:B,setFocus:Ne,getFieldState:K};return{...tt,formControl:tt}}var rv=()=>{if(typeof crypto<"u"&&crypto.randomUUID)return crypto.randomUUID();const e=typeof performance>"u"?Date.now():performance.now()*1e3;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const n=(Math.random()*16+e)%16|0;return(t=="x"?n:n&3|8).toString(16)})},Fk=(e,t,n={})=>n.shouldFocus||Fa(n.shouldFocus)?n.focusName||`${e}.${Fa(n.focusIndex)?t:n.focusIndex}.`:"",Nk=(e,t)=>[...e,...tf(t)],Ik=e=>Array.isArray(e)?e.map(()=>{}):void 0;function Lk(e,t,n){return[...e.slice(0,t),...tf(n),...e.slice(t)]}var Bk=(e,t,n)=>Array.isArray(e)?(Fa(e[n])&&(e[n]=void 0),e.splice(n,0,e.splice(t,1)[0]),e):[],Qk=(e,t)=>[...tf(t),...tf(e)];function Z7e(e,t){let n=0;const r=[...e];for(const i of t)r.splice(i-n,1),n++;return jC(r).length?r:[]}var zk=(e,t)=>Fa(t)?[]:Z7e(e,tf(t).sort((n,r)=>n-r)),qk=(e,t,n)=>{[e[t],e[n]]=[e[n],e[t]]},OH=(e,t,n)=>(e[t]=n,e);function Dit(e){const t=ZC(),{control:n=t.control,name:r,keyName:i="id",shouldUnregister:a,rules:u}=e,[l,o]=ve.useState(n._getFieldArray(r)),s=ve.useRef(n._getFieldArray(r).map(rv)),c=ve.useRef(l),d=ve.useRef(!1);c.current=l,n._names.array.add(r),ve.useMemo(()=>u&&n.register(r,u),[n,u,r]),HC(()=>n._subjects.array.subscribe({next:({values:R,name:C})=>{if(C===r||!C){const k=jt(R,r);Array.isArray(k)&&(o(k),s.current=k.map(rv))}}}).unsubscribe,[n,r]);const h=ve.useCallback(R=>{d.current=!0,n._setFieldArray(r,R)},[n,r]),m=(R,C)=>{const k=tf(Pa(R)),F=Nk(n._getFieldArray(r),k);n._names.focus=Fk(r,F.length-1,C),s.current=Nk(s.current,k.map(rv)),h(F),o(F),n._setFieldArray(r,F,Nk,{argA:Ik(R)})},y=(R,C)=>{const k=tf(Pa(R)),F=Qk(n._getFieldArray(r),k);n._names.focus=Fk(r,0,C),s.current=Qk(s.current,k.map(rv)),h(F),o(F),n._setFieldArray(r,F,Qk,{argA:Ik(R)})},v=R=>{const C=zk(n._getFieldArray(r),R);s.current=zk(s.current,R),h(C),o(C),!Array.isArray(jt(n._fields,r))&&Gi(n._fields,r,void 0),n._setFieldArray(r,C,zk,{argA:R})},_=(R,C,k)=>{const F=tf(Pa(C)),z=Lk(n._getFieldArray(r),R,F);n._names.focus=Fk(r,R,k),s.current=Lk(s.current,R,F.map(rv)),h(z),o(z),n._setFieldArray(r,z,Lk,{argA:R,argB:Ik(C)})},x=(R,C)=>{const k=n._getFieldArray(r);qk(k,R,C),qk(s.current,R,C),h(k),o(k),n._setFieldArray(r,k,qk,{argA:R,argB:C},!1)},E=(R,C)=>{const k=n._getFieldArray(r);Bk(k,R,C),Bk(s.current,R,C),h(k),o(k),n._setFieldArray(r,k,Bk,{argA:R,argB:C},!1)},w=(R,C)=>{const k=Pa(C),F=OH(n._getFieldArray(r),R,k);s.current=[...F].map((z,Z)=>!z||Z===R?rv():s.current[Z]),h(F),o([...F]),n._setFieldArray(r,F,OH,{argA:R,argB:k},!0,!1)},T=R=>{const C=tf(Pa(R));s.current=C.map(rv),h([...C]),o([...C]),n._setFieldArray(r,[...C],k=>k,{},!0,!1)};return ve.useEffect(()=>{if(n._state.action=!1,z9(r,n._names)&&n._subjects.state.next({...n._formState}),d.current&&(!TO(n._options.mode).isOnSubmit||n._formState.isSubmitted)&&!TO(n._options.reValidateMode).isOnSubmit)if(n._options.resolver)n._runSchema([r]).then(R=>{const C=jt(R.errors,r),k=jt(n._formState.errors,r);(k?!C&&k.type||C&&(k.type!==C.type||k.message!==C.message):C&&C.type)&&(C?Gi(n._formState.errors,r,C):Iu(n._formState.errors,r),n._subjects.state.next({errors:n._formState.errors}))});else{const R=jt(n._fields,r);R&&R._f&&!(TO(n._options.reValidateMode).isOnSubmit&&TO(n._options.mode).isOnSubmit)&&q9(R,n._names.disabled,n._formValues,n._options.criteriaMode===Ud.all,n._options.shouldUseNativeValidation,!0).then(C=>!Ws(C)&&n._subjects.state.next({errors:Ppe(n._formState.errors,C,r)}))}n._subjects.state.next({name:r,values:Pa(n._formValues)}),n._names.focus&&WO(n._fields,(R,C)=>{if(n._names.focus&&C.startsWith(n._names.focus)&&R.focus)return R.focus(),1}),n._names.focus="",n._setValid(),d.current=!1},[l,r,n]),ve.useEffect(()=>(!jt(n._formValues,r)&&n._setFieldArray(r),()=>{const R=(C,k)=>{const F=jt(n._fields,C);F&&F._f&&(F._f.mount=k)};n._options.shouldUnregister||a?n.unregister(r):R(r,!1)}),[r,n,i,a]),{swap:ve.useCallback(x,[h,r,n]),move:ve.useCallback(E,[h,r,n]),prepend:ve.useCallback(y,[h,r,n]),append:ve.useCallback(m,[h,r,n]),remove:ve.useCallback(v,[h,r,n]),insert:ve.useCallback(_,[h,r,n]),update:ve.useCallback(w,[h,r,n]),replace:ve.useCallback(T,[h,r,n]),fields:ve.useMemo(()=>l.map((R,C)=>({...R,[i]:s.current[C]||rv()})),[l,i])}}function $it(e={}){const t=ve.useRef(void 0),n=ve.useRef(void 0),[r,i]=ve.useState({isDirty:!1,isValidating:!1,isLoading:Gh(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:Gh(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!Gh(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:u,...l}=j7e(e);t.current={...l,formState:r}}const a=t.current.control;return a._options=e,HC(()=>{const u=a._subscribe({formState:a._proxyFormState,callback:()=>i({...a._formState}),reRenderRoot:!0});return i(l=>({...l,isReady:!0})),a._formState.isReady=!0,u},[a]),ve.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),ve.useEffect(()=>{e.mode&&(a._options.mode=e.mode),e.reValidateMode&&(a._options.reValidateMode=e.reValidateMode)},[a,e.mode,e.reValidateMode]),ve.useEffect(()=>{e.errors&&(a._setErrors(e.errors),a._focusError())},[a,e.errors]),ve.useEffect(()=>{e.shouldUnregister&&a._subjects.state.next({values:a._getWatch()})},[a,e.shouldUnregister]),ve.useEffect(()=>{if(a._proxyFormState.isDirty){const u=a._getDirty();u!==r.isDirty&&a._subjects.state.next({isDirty:u})}},[a,r.isDirty]),ve.useEffect(()=>{e.values&&!Im(e.values,n.current)?(a._reset(e.values,{keepFieldsRef:!0,...a._options.resetOptions}),n.current=e.values,i(u=>({...u}))):a._resetDefaultValues()},[a,e.values]),ve.useEffect(()=>{a._state.mount||(a._setValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),t.current.formState=Dpe(r,a),t.current}function Cit(e){return P.createElement(tPe,{flushSync:zf.flushSync,...e})}/**
   * table-core
   *
   * Copyright (c) TanStack
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE.md file in the root directory of this source tree.
   *
   * @license MIT
   */function wit(){return{accessor:(e,t)=>typeof e=="function"?{...t,accessorFn:e}:{...t,accessorKey:e},display:e=>e,group:e=>e}}function $v(e,t){return typeof e=="function"?e(t):e}function Zf(e,t){return n=>{t.setState(r=>({...r,[e]:$v(n,r[e])}))}}function XC(e){return e instanceof Function}function H7e(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function X7e(e,t){const n=[],r=i=>{i.forEach(a=>{n.push(a);const u=t(a);u!=null&&u.length&&r(u)})};return r(e),n}function Mn(e,t,n){let r=[],i;return a=>{let u;n.key&&n.debug&&(u=Date.now());const l=e(a);if(!(l.length!==r.length||l.some((c,d)=>r[d]!==c)))return i;r=l;let s;if(n.key&&n.debug&&(s=Date.now()),i=t(...l),n==null||n.onChange==null||n.onChange(i),n.key&&n.debug&&n!=null&&n.debug()){const c=Math.round((Date.now()-u)*100)/100,d=Math.round((Date.now()-s)*100)/100,h=d/16,m=(y,v)=>{for(y=String(y);y.length<v;)y=" "+y;return y};console.info(`%c⏱ ${m(d,5)} /${m(c,5)} ms`,`
            font-size: .6rem;
            font-weight: bold;
            color: hsl(${Math.max(0,Math.min(120-120*h,120))}deg 100% 31%);`,n==null?void 0:n.key)}return i}}function Fn(e,t,n,r){return{debug:()=>{var i;return(i=e==null?void 0:e.debugAll)!=null?i:e[t]},key:!1,onChange:r}}function Y7e(e,t,n,r){const i=()=>{var u;return(u=a.getValue())!=null?u:e.options.renderFallbackValue},a={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:i,getContext:Mn(()=>[e,n,t,a],(u,l,o,s)=>({table:u,column:l,row:o,cell:s,getValue:s.getValue,renderValue:s.renderValue}),Fn(e.options,"debugCells"))};return e._features.forEach(u=>{u.createCell==null||u.createCell(a,n,t,e)},{}),a}function G7e(e,t,n,r){var i,a;const l={...e._getDefaultColumnDef(),...t},o=l.accessorKey;let s=(i=(a=l.id)!=null?a:o?typeof String.prototype.replaceAll=="function"?o.replaceAll(".","_"):o.replace(/\./g,"_"):void 0)!=null?i:typeof l.header=="string"?l.header:void 0,c;if(l.accessorFn?c=l.accessorFn:o&&(o.includes(".")?c=h=>{let m=h;for(const v of o.split(".")){var y;m=(y=m)==null?void 0:y[v]}return m}:c=h=>h[l.accessorKey]),!s)throw new Error;let d={id:`${String(s)}`,accessorFn:c,parent:r,depth:n,columnDef:l,columns:[],getFlatColumns:Mn(()=>[!0],()=>{var h;return[d,...(h=d.columns)==null?void 0:h.flatMap(m=>m.getFlatColumns())]},Fn(e.options,"debugColumns")),getLeafColumns:Mn(()=>[e._getOrderColumnsFn()],h=>{var m;if((m=d.columns)!=null&&m.length){let y=d.columns.flatMap(v=>v.getLeafColumns());return h(y)}return[d]},Fn(e.options,"debugColumns"))};for(const h of e._features)h.createColumn==null||h.createColumn(d,e);return d}const os="debugHeaders";function SH(e,t,n){var r;let a={id:(r=n.id)!=null?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const u=[],l=o=>{o.subHeaders&&o.subHeaders.length&&o.subHeaders.map(l),u.push(o)};return l(a),u},getContext:()=>({table:e,header:a,column:t})};return e._features.forEach(u=>{u.createHeader==null||u.createHeader(a,e)}),a}const K7e={createTable:e=>{e.getHeaderGroups=Mn(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>{var a,u;const l=(a=r==null?void 0:r.map(d=>n.find(h=>h.id===d)).filter(Boolean))!=null?a:[],o=(u=i==null?void 0:i.map(d=>n.find(h=>h.id===d)).filter(Boolean))!=null?u:[],s=n.filter(d=>!(r!=null&&r.includes(d.id))&&!(i!=null&&i.includes(d.id)));return Q_(t,[...l,...s,...o],e)},Fn(e.options,os)),e.getCenterHeaderGroups=Mn(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>(n=n.filter(a=>!(r!=null&&r.includes(a.id))&&!(i!=null&&i.includes(a.id))),Q_(t,n,e,"center")),Fn(e.options,os)),e.getLeftHeaderGroups=Mn(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var i;const a=(i=r==null?void 0:r.map(u=>n.find(l=>l.id===u)).filter(Boolean))!=null?i:[];return Q_(t,a,e,"left")},Fn(e.options,os)),e.getRightHeaderGroups=Mn(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var i;const a=(i=r==null?void 0:r.map(u=>n.find(l=>l.id===u)).filter(Boolean))!=null?i:[];return Q_(t,a,e,"right")},Fn(e.options,os)),e.getFooterGroups=Mn(()=>[e.getHeaderGroups()],t=>[...t].reverse(),Fn(e.options,os)),e.getLeftFooterGroups=Mn(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),Fn(e.options,os)),e.getCenterFooterGroups=Mn(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),Fn(e.options,os)),e.getRightFooterGroups=Mn(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),Fn(e.options,os)),e.getFlatHeaders=Mn(()=>[e.getHeaderGroups()],t=>t.map(n=>n.headers).flat(),Fn(e.options,os)),e.getLeftFlatHeaders=Mn(()=>[e.getLeftHeaderGroups()],t=>t.map(n=>n.headers).flat(),Fn(e.options,os)),e.getCenterFlatHeaders=Mn(()=>[e.getCenterHeaderGroups()],t=>t.map(n=>n.headers).flat(),Fn(e.options,os)),e.getRightFlatHeaders=Mn(()=>[e.getRightHeaderGroups()],t=>t.map(n=>n.headers).flat(),Fn(e.options,os)),e.getCenterLeafHeaders=Mn(()=>[e.getCenterFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Fn(e.options,os)),e.getLeftLeafHeaders=Mn(()=>[e.getLeftFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Fn(e.options,os)),e.getRightLeafHeaders=Mn(()=>[e.getRightFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),Fn(e.options,os)),e.getLeafHeaders=Mn(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,n,r)=>{var i,a,u,l,o,s;return[...(i=(a=t[0])==null?void 0:a.headers)!=null?i:[],...(u=(l=n[0])==null?void 0:l.headers)!=null?u:[],...(o=(s=r[0])==null?void 0:s.headers)!=null?o:[]].map(c=>c.getLeafHeaders()).flat()},Fn(e.options,os))}};function Q_(e,t,n,r){var i,a;let u=0;const l=function(h,m){m===void 0&&(m=1),u=Math.max(u,m),h.filter(y=>y.getIsVisible()).forEach(y=>{var v;(v=y.columns)!=null&&v.length&&l(y.columns,m+1)},0)};l(e);let o=[];const s=(h,m)=>{const y={depth:m,id:[r,`${m}`].filter(Boolean).join("_"),headers:[]},v=[];h.forEach(_=>{const x=[...v].reverse()[0],E=_.column.depth===y.depth;let w,T=!1;if(E&&_.column.parent?w=_.column.parent:(w=_.column,T=!0),x&&(x==null?void 0:x.column)===w)x.subHeaders.push(_);else{const R=SH(n,w,{id:[r,m,w.id,_==null?void 0:_.id].filter(Boolean).join("_"),isPlaceholder:T,placeholderId:T?`${v.filter(C=>C.column===w).length}`:void 0,depth:m,index:v.length});R.subHeaders.push(_),v.push(R)}y.headers.push(_),_.headerGroup=y}),o.push(y),m>0&&s(v,m-1)},c=t.map((h,m)=>SH(n,h,{depth:u,index:m}));s(c,u-1),o.reverse();const d=h=>h.filter(y=>y.column.getIsVisible()).map(y=>{let v=0,_=0,x=[0];y.subHeaders&&y.subHeaders.length?(x=[],d(y.subHeaders).forEach(w=>{let{colSpan:T,rowSpan:R}=w;v+=T,x.push(R)})):v=1;const E=Math.min(...x);return _=_+E,y.colSpan=v,y.rowSpan=_,{colSpan:v,rowSpan:_}});return d((i=(a=o[0])==null?void 0:a.headers)!=null?i:[]),o}const fI=(e,t,n,r,i,a,u)=>{let l={id:t,index:r,original:n,depth:i,parentId:u,_valuesCache:{},_uniqueValuesCache:{},getValue:o=>{if(l._valuesCache.hasOwnProperty(o))return l._valuesCache[o];const s=e.getColumn(o);if(s!=null&&s.accessorFn)return l._valuesCache[o]=s.accessorFn(l.original,r),l._valuesCache[o]},getUniqueValues:o=>{if(l._uniqueValuesCache.hasOwnProperty(o))return l._uniqueValuesCache[o];const s=e.getColumn(o);if(s!=null&&s.accessorFn)return s.columnDef.getUniqueValues?(l._uniqueValuesCache[o]=s.columnDef.getUniqueValues(l.original,r),l._uniqueValuesCache[o]):(l._uniqueValuesCache[o]=[l.getValue(o)],l._uniqueValuesCache[o])},renderValue:o=>{var s;return(s=l.getValue(o))!=null?s:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>X7e(l.subRows,o=>o.subRows),getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{let o=[],s=l;for(;;){const c=s.getParentRow();if(!c)break;o.push(c),s=c}return o.reverse()},getAllCells:Mn(()=>[e.getAllLeafColumns()],o=>o.map(s=>Y7e(e,l,s,s.id)),Fn(e.options,"debugRows")),_getAllCellsByColumnId:Mn(()=>[l.getAllCells()],o=>o.reduce((s,c)=>(s[c.column.id]=c,s),{}),Fn(e.options,"debugRows"))};for(let o=0;o<e._features.length;o++){const s=e._features[o];s==null||s.createRow==null||s.createRow(l,e)}return l},W7e={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},Mpe=(e,t,n)=>{var r,i;const a=n==null||(r=n.toString())==null?void 0:r.toLowerCase();return!!(!((i=e.getValue(t))==null||(i=i.toString())==null||(i=i.toLowerCase())==null)&&i.includes(a))};Mpe.autoRemove=e=>Jh(e);const Fpe=(e,t,n)=>{var r;return!!(!((r=e.getValue(t))==null||(r=r.toString())==null)&&r.includes(n))};Fpe.autoRemove=e=>Jh(e);const Npe=(e,t,n)=>{var r;return((r=e.getValue(t))==null||(r=r.toString())==null?void 0:r.toLowerCase())===(n==null?void 0:n.toLowerCase())};Npe.autoRemove=e=>Jh(e);const Ipe=(e,t,n)=>{var r;return(r=e.getValue(t))==null?void 0:r.includes(n)};Ipe.autoRemove=e=>Jh(e);const Lpe=(e,t,n)=>!n.some(r=>{var i;return!((i=e.getValue(t))!=null&&i.includes(r))});Lpe.autoRemove=e=>Jh(e)||!(e!=null&&e.length);const Bpe=(e,t,n)=>n.some(r=>{var i;return(i=e.getValue(t))==null?void 0:i.includes(r)});Bpe.autoRemove=e=>Jh(e)||!(e!=null&&e.length);const Qpe=(e,t,n)=>e.getValue(t)===n;Qpe.autoRemove=e=>Jh(e);const zpe=(e,t,n)=>e.getValue(t)==n;zpe.autoRemove=e=>Jh(e);const dI=(e,t,n)=>{let[r,i]=n;const a=e.getValue(t);return a>=r&&a<=i};dI.resolveFilterValue=e=>{let[t,n]=e,r=typeof t!="number"?parseFloat(t):t,i=typeof n!="number"?parseFloat(n):n,a=t===null||Number.isNaN(r)?-1/0:r,u=n===null||Number.isNaN(i)?1/0:i;if(a>u){const l=a;a=u,u=l}return[a,u]};dI.autoRemove=e=>Jh(e)||Jh(e[0])&&Jh(e[1]);const km={includesString:Mpe,includesStringSensitive:Fpe,equalsString:Npe,arrIncludes:Ipe,arrIncludesAll:Lpe,arrIncludesSome:Bpe,equals:Qpe,weakEquals:zpe,inNumberRange:dI};function Jh(e){return e==null||e===""}const J7e={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:Zf("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);return typeof r=="string"?km.includesString:typeof r=="number"?km.inNumberRange:typeof r=="boolean"||r!==null&&typeof r=="object"?km.equals:Array.isArray(r)?km.arrIncludes:km.weakEquals},e.getFilterFn=()=>{var n,r;return XC(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(n=(r=t.options.filterFns)==null?void 0:r[e.columnDef.filterFn])!=null?n:km[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,i;return((n=e.columnDef.enableColumnFilter)!=null?n:!0)&&((r=t.options.enableColumnFilters)!=null?r:!0)&&((i=t.options.enableFilters)!=null?i:!0)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return(n=t.getState().columnFilters)==null||(n=n.find(r=>r.id===e.id))==null?void 0:n.value},e.getFilterIndex=()=>{var n,r;return(n=(r=t.getState().columnFilters)==null?void 0:r.findIndex(i=>i.id===e.id))!=null?n:-1},e.setFilterValue=n=>{t.setColumnFilters(r=>{const i=e.getFilterFn(),a=r==null?void 0:r.find(c=>c.id===e.id),u=$v(n,a?a.value:void 0);if(xH(i,u,e)){var l;return(l=r==null?void 0:r.filter(c=>c.id!==e.id))!=null?l:[]}const o={id:e.id,value:u};if(a){var s;return(s=r==null?void 0:r.map(c=>c.id===e.id?o:c))!=null?s:[]}return r!=null&&r.length?[...r,o]:[o]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns(),r=i=>{var a;return(a=$v(t,i))==null?void 0:a.filter(u=>{const l=n.find(o=>o.id===u.id);if(l){const o=l.getFilterFn();if(xH(o,u.value,l))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(r)},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:(n=(r=e.initialState)==null?void 0:r.columnFilters)!=null?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function xH(e,t,n){return(e&&e.autoRemove?e.autoRemove(t,n):!1)||typeof t>"u"||typeof t=="string"&&!t}const e9e=(e,t,n)=>n.reduce((r,i)=>{const a=i.getValue(e);return r+(typeof a=="number"?a:0)},0),t9e=(e,t,n)=>{let r;return n.forEach(i=>{const a=i.getValue(e);a!=null&&(r>a||r===void 0&&a>=a)&&(r=a)}),r},n9e=(e,t,n)=>{let r;return n.forEach(i=>{const a=i.getValue(e);a!=null&&(r<a||r===void 0&&a>=a)&&(r=a)}),r},r9e=(e,t,n)=>{let r,i;return n.forEach(a=>{const u=a.getValue(e);u!=null&&(r===void 0?u>=u&&(r=i=u):(r>u&&(r=u),i<u&&(i=u)))}),[r,i]},i9e=(e,t)=>{let n=0,r=0;if(t.forEach(i=>{let a=i.getValue(e);a!=null&&(a=+a)>=a&&(++n,r+=a)}),n)return r/n},a9e=(e,t)=>{if(!t.length)return;const n=t.map(a=>a.getValue(e));if(!H7e(n))return;if(n.length===1)return n[0];const r=Math.floor(n.length/2),i=n.sort((a,u)=>a-u);return n.length%2!==0?i[r]:(i[r-1]+i[r])/2},u9e=(e,t)=>Array.from(new Set(t.map(n=>n.getValue(e))).values()),l9e=(e,t)=>new Set(t.map(n=>n.getValue(e))).size,o9e=(e,t)=>t.length,Vk={sum:e9e,min:t9e,max:n9e,extent:r9e,mean:i9e,median:a9e,unique:u9e,uniqueCount:l9e,count:o9e},s9e={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return(t=(n=e.getValue())==null||n.toString==null?void 0:n.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Zf("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(n=>n!=null&&n.includes(e.id)?n.filter(r=>r!==e.id):[...n??[],e.id])},e.getCanGroup=()=>{var n,r;return((n=e.columnDef.enableGrouping)!=null?n:!0)&&((r=t.options.enableGrouping)!=null?r:!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return(n=t.getState().grouping)==null?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const n=e.getCanGroup();return()=>{n&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);if(typeof r=="number")return Vk.sum;if(Object.prototype.toString.call(r)==="[object Date]")return Vk.extent},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return XC(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(n=(r=t.options.aggregationFns)==null?void 0:r[e.columnDef.aggregationFn])!=null?n:Vk[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:(n=(r=e.initialState)==null?void 0:r.grouping)!=null?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return r!=null&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var i;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((i=n.subRows)!=null&&i.length)}}};function c9e(e,t,n){if(!(t!=null&&t.length)||!n)return e;const r=e.filter(a=>!t.includes(a.id));return n==="remove"?r:[...t.map(a=>e.find(u=>u.id===a)).filter(Boolean),...r]}const f9e={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Zf("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=Mn(n=>[T2(t,n)],n=>n.findIndex(r=>r.id===e.id),Fn(t.options,"debugColumns")),e.getIsFirstColumn=n=>{var r;return((r=T2(t,n)[0])==null?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const i=T2(t,n);return((r=i[i.length-1])==null?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:(n=e.initialState.columnOrder)!=null?n:[])},e._getOrderColumnsFn=Mn(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,n,r)=>i=>{let a=[];if(!(t!=null&&t.length))a=i;else{const u=[...t],l=[...i];for(;l.length&&u.length;){const o=u.shift(),s=l.findIndex(c=>c.id===o);s>-1&&a.push(l.splice(s,1)[0])}a=[...a,...l]}return c9e(a,n,r)},Fn(e.options,"debugTable"))}},Uk=()=>({left:[],right:[]}),d9e={getInitialState:e=>({columnPinning:Uk(),...e}),getDefaultOptions:e=>({onColumnPinningChange:Zf("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map(i=>i.id).filter(Boolean);t.setColumnPinning(i=>{var a,u;if(n==="right"){var l,o;return{left:((l=i==null?void 0:i.left)!=null?l:[]).filter(d=>!(r!=null&&r.includes(d))),right:[...((o=i==null?void 0:i.right)!=null?o:[]).filter(d=>!(r!=null&&r.includes(d))),...r]}}if(n==="left"){var s,c;return{left:[...((s=i==null?void 0:i.left)!=null?s:[]).filter(d=>!(r!=null&&r.includes(d))),...r],right:((c=i==null?void 0:i.right)!=null?c:[]).filter(d=>!(r!=null&&r.includes(d)))}}return{left:((a=i==null?void 0:i.left)!=null?a:[]).filter(d=>!(r!=null&&r.includes(d))),right:((u=i==null?void 0:i.right)!=null?u:[]).filter(d=>!(r!=null&&r.includes(d)))}})},e.getCanPin=()=>e.getLeafColumns().some(r=>{var i,a,u;return((i=r.columnDef.enablePinning)!=null?i:!0)&&((a=(u=t.options.enableColumnPinning)!=null?u:t.options.enablePinning)!=null?a:!0)}),e.getIsPinned=()=>{const n=e.getLeafColumns().map(l=>l.id),{left:r,right:i}=t.getState().columnPinning,a=n.some(l=>r==null?void 0:r.includes(l)),u=n.some(l=>i==null?void 0:i.includes(l));return a?"left":u?"right":!1},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();return i?(n=(r=t.getState().columnPinning)==null||(r=r[i])==null?void 0:r.indexOf(e.id))!=null?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=Mn(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(n,r,i)=>{const a=[...r??[],...i??[]];return n.filter(u=>!a.includes(u.column.id))},Fn(t.options,"debugRows")),e.getLeftVisibleCells=Mn(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(n,r)=>(r??[]).map(a=>n.find(u=>u.column.id===a)).filter(Boolean).map(a=>({...a,position:"left"})),Fn(t.options,"debugRows")),e.getRightVisibleCells=Mn(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(n,r)=>(r??[]).map(a=>n.find(u=>u.column.id===a)).filter(Boolean).map(a=>({...a,position:"right"})),Fn(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?Uk():(n=(r=e.initialState)==null?void 0:r.columnPinning)!=null?n:Uk())},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;if(!t){var i,a;return!!((i=r.left)!=null&&i.length||(a=r.right)!=null&&a.length)}return!!((n=r[t])!=null&&n.length)},e.getLeftLeafColumns=Mn(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,n)=>(n??[]).map(r=>t.find(i=>i.id===r)).filter(Boolean),Fn(e.options,"debugColumns")),e.getRightLeafColumns=Mn(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,n)=>(n??[]).map(r=>t.find(i=>i.id===r)).filter(Boolean),Fn(e.options,"debugColumns")),e.getCenterLeafColumns=Mn(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r)=>{const i=[...n??[],...r??[]];return t.filter(a=>!i.includes(a.id))},Fn(e.options,"debugColumns"))}};function h9e(e){return e||(typeof document<"u"?document:null)}const z_={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},jk=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),p9e={getDefaultColumnDef:()=>z_,getInitialState:e=>({columnSizing:{},columnSizingInfo:jk(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Zf("columnSizing",e),onColumnSizingInfoChange:Zf("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,i;const a=t.getState().columnSizing[e.id];return Math.min(Math.max((n=e.columnDef.minSize)!=null?n:z_.minSize,(r=a??e.columnDef.size)!=null?r:z_.size),(i=e.columnDef.maxSize)!=null?i:z_.maxSize)},e.getStart=Mn(n=>[n,T2(t,n),t.getState().columnSizing],(n,r)=>r.slice(0,e.getIndex(n)).reduce((i,a)=>i+a.getSize(),0),Fn(t.options,"debugColumns")),e.getAfter=Mn(n=>[n,T2(t,n),t.getState().columnSizing],(n,r)=>r.slice(e.getIndex(n)+1).reduce((i,a)=>i+a.getSize(),0),Fn(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing(n=>{let{[e.id]:r,...i}=n;return i})},e.getCanResize=()=>{var n,r;return((n=e.columnDef.enableResizing)!=null?n:!0)&&((r=t.options.enableColumnResizing)!=null?r:!0)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let n=0;const r=i=>{if(i.subHeaders.length)i.subHeaders.forEach(r);else{var a;n+=(a=i.column.getSize())!=null?a:0}};return r(e),n},e.getStart=()=>{if(e.index>0){const n=e.headerGroup.headers[e.index-1];return n.getStart()+n.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),i=r==null?void 0:r.getCanResize();return a=>{if(!r||!i||(a.persist==null||a.persist(),Zk(a)&&a.touches&&a.touches.length>1))return;const u=e.getSize(),l=e?e.getLeafHeaders().map(x=>[x.column.id,x.column.getSize()]):[[r.id,r.getSize()]],o=Zk(a)?Math.round(a.touches[0].clientX):a.clientX,s={},c=(x,E)=>{typeof E=="number"&&(t.setColumnSizingInfo(w=>{var T,R;const C=t.options.columnResizeDirection==="rtl"?-1:1,k=(E-((T=w==null?void 0:w.startOffset)!=null?T:0))*C,F=Math.max(k/((R=w==null?void 0:w.startSize)!=null?R:0),-.999999);return w.columnSizingStart.forEach(z=>{let[Z,q]=z;s[Z]=Math.round(Math.max(q+q*F,0)*100)/100}),{...w,deltaOffset:k,deltaPercentage:F}}),(t.options.columnResizeMode==="onChange"||x==="end")&&t.setColumnSizing(w=>({...w,...s})))},d=x=>c("move",x),h=x=>{c("end",x),t.setColumnSizingInfo(E=>({...E,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},m=h9e(n),y={moveHandler:x=>d(x.clientX),upHandler:x=>{m==null||m.removeEventListener("mousemove",y.moveHandler),m==null||m.removeEventListener("mouseup",y.upHandler),h(x.clientX)}},v={moveHandler:x=>(x.cancelable&&(x.preventDefault(),x.stopPropagation()),d(x.touches[0].clientX),!1),upHandler:x=>{var E;m==null||m.removeEventListener("touchmove",v.moveHandler),m==null||m.removeEventListener("touchend",v.upHandler),x.cancelable&&(x.preventDefault(),x.stopPropagation()),h((E=x.touches[0])==null?void 0:E.clientX)}},_=m9e()?{passive:!1}:!1;Zk(a)?(m==null||m.addEventListener("touchmove",v.moveHandler,_),m==null||m.addEventListener("touchend",v.upHandler,_)):(m==null||m.addEventListener("mousemove",y.moveHandler,_),m==null||m.addEventListener("mouseup",y.upHandler,_)),t.setColumnSizingInfo(x=>({...x,startOffset:o,startSize:u,deltaOffset:0,deltaPercentage:0,columnSizingStart:l,isResizingColumn:r.id}))}}},createTable:e=>{e.setColumnSizing=t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:(n=e.initialState.columnSizing)!=null?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?jk():(n=e.initialState.columnSizingInfo)!=null?n:jk())},e.getTotalSize=()=>{var t,n;return(t=(n=e.getHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getLeftTotalSize=()=>{var t,n;return(t=(n=e.getLeftHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getCenterTotalSize=()=>{var t,n;return(t=(n=e.getCenterHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0},e.getRightTotalSize=()=>{var t,n;return(t=(n=e.getRightHeaderGroups()[0])==null?void 0:n.headers.reduce((r,i)=>r+i.getSize(),0))!=null?t:0}}};let q_=null;function m9e(){if(typeof q_=="boolean")return q_;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch{e=!1}return q_=e,q_}function Zk(e){return e.type==="touchstart"}const g9e={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Zf("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(r=>({...r,[e.id]:n??!e.getIsVisible()}))},e.getIsVisible=()=>{var n,r;const i=e.columns;return(n=i.length?i.some(a=>a.getIsVisible()):(r=t.getState().columnVisibility)==null?void 0:r[e.id])!=null?n:!0},e.getCanHide=()=>{var n,r;return((n=e.columnDef.enableHiding)!=null?n:!0)&&((r=t.options.enableHiding)!=null?r:!0)},e.getToggleVisibilityHandler=()=>n=>{e.toggleVisibility==null||e.toggleVisibility(n.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=Mn(()=>[e.getAllCells(),t.getState().columnVisibility],n=>n.filter(r=>r.column.getIsVisible()),Fn(t.options,"debugRows")),e.getVisibleCells=Mn(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(n,r,i)=>[...n,...r,...i],Fn(t.options,"debugRows"))},createTable:e=>{const t=(n,r)=>Mn(()=>[r(),r().filter(i=>i.getIsVisible()).map(i=>i.id).join("_")],i=>i.filter(a=>a.getIsVisible==null?void 0:a.getIsVisible()),Fn(e.options,"debugColumns"));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=n=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(n),e.resetColumnVisibility=n=>{var r;e.setColumnVisibility(n?{}:(r=e.initialState.columnVisibility)!=null?r:{})},e.toggleAllColumnsVisible=n=>{var r;n=(r=n)!=null?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((i,a)=>({...i,[a.id]:n||!(a.getCanHide!=null&&a.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(n=>!(n.getIsVisible!=null&&n.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(n=>n.getIsVisible==null?void 0:n.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>n=>{var r;e.toggleAllColumnsVisible((r=n.target)==null?void 0:r.checked)}}};function T2(e,t){return t?t==="center"?e.getCenterVisibleLeafColumns():t==="left"?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const v9e={createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},y9e={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:Zf("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=(n=e.getCoreRowModel().flatRows[0])==null||(n=n._getAllCellsByColumnId()[t.id])==null?void 0:n.getValue();return typeof r=="string"||typeof r=="number"}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,i,a;return((n=e.columnDef.enableGlobalFilter)!=null?n:!0)&&((r=t.options.enableGlobalFilter)!=null?r:!0)&&((i=t.options.enableFilters)!=null?i:!0)&&((a=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?a:!0)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>km.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return XC(r)?r:r==="auto"?e.getGlobalAutoFilterFn():(t=(n=e.options.filterFns)==null?void 0:n[r])!=null?t:km[r]},e.setGlobalFilter=t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},b9e={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Zf("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,i;if(!t){e._queue(()=>{t=!0});return}if((r=(i=e.options.autoResetAll)!=null?i:e.options.autoResetExpanded)!=null?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=r=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(r),e.toggleAllRowsExpanded=r=>{r??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=r=>{var i,a;e.setExpanded(r?{}:(i=(a=e.initialState)==null?void 0:a.expanded)!=null?i:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(r=>r.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>r=>{r.persist==null||r.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const r=e.getState().expanded;return r===!0||Object.values(r).some(Boolean)},e.getIsAllRowsExpanded=()=>{const r=e.getState().expanded;return typeof r=="boolean"?r===!0:!(!Object.keys(r).length||e.getRowModel().flatRows.some(i=>!i.getIsExpanded()))},e.getExpandedDepth=()=>{let r=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(a=>{const u=a.split(".");r=Math.max(r,u.length)}),r},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(r=>{var i;const a=r===!0?!0:!!(r!=null&&r[e.id]);let u={};if(r===!0?Object.keys(t.getRowModel().rowsById).forEach(l=>{u[l]=!0}):u=r,n=(i=n)!=null?i:!a,!a&&n)return{...u,[e.id]:!0};if(a&&!n){const{[e.id]:l,...o}=u;return o}return r})},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!((n=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?n:r===!0||r!=null&&r[e.id])},e.getCanExpand=()=>{var n,r,i;return(n=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?n:((r=t.options.enableExpanding)!=null?r:!0)&&!!((i=e.subRows)!=null&&i.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const n=e.getCanExpand();return()=>{n&&e.toggleExpanded()}}}},V9=0,U9=10,Hk=()=>({pageIndex:V9,pageSize:U9}),O9e={getInitialState:e=>({...e,pagination:{...Hk(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:Zf("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,i;if(!t){e._queue(()=>{t=!0});return}if((r=(i=e.options.autoResetAll)!=null?i:e.options.autoResetPageIndex)!=null?r:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=r=>{const i=a=>$v(r,a);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(i)},e.resetPagination=r=>{var i;e.setPagination(r?Hk():(i=e.initialState.pagination)!=null?i:Hk())},e.setPageIndex=r=>{e.setPagination(i=>{let a=$v(r,i.pageIndex);const u=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return a=Math.max(0,Math.min(a,u)),{...i,pageIndex:a}})},e.resetPageIndex=r=>{var i,a;e.setPageIndex(r?V9:(i=(a=e.initialState)==null||(a=a.pagination)==null?void 0:a.pageIndex)!=null?i:V9)},e.resetPageSize=r=>{var i,a;e.setPageSize(r?U9:(i=(a=e.initialState)==null||(a=a.pagination)==null?void 0:a.pageSize)!=null?i:U9)},e.setPageSize=r=>{e.setPagination(i=>{const a=Math.max(1,$v(r,i.pageSize)),u=i.pageSize*i.pageIndex,l=Math.floor(u/a);return{...i,pageIndex:l,pageSize:a}})},e.setPageCount=r=>e.setPagination(i=>{var a;let u=$v(r,(a=e.options.pageCount)!=null?a:-1);return typeof u=="number"&&(u=Math.max(-1,u)),{...i,pageCount:u}}),e.getPageOptions=Mn(()=>[e.getPageCount()],r=>{let i=[];return r&&r>0&&(i=[...new Array(r)].fill(null).map((a,u)=>u)),i},Fn(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:r}=e.getState().pagination,i=e.getPageCount();return i===-1?!0:i===0?!1:r<i-1},e.previousPage=()=>e.setPageIndex(r=>r-1),e.nextPage=()=>e.setPageIndex(r=>r+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var r;return(r=e.options.pageCount)!=null?r:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var r;return(r=e.options.rowCount)!=null?r:e.getPrePaginationRowModel().rows.length}}},Xk=()=>({top:[],bottom:[]}),S9e={getInitialState:e=>({rowPinning:Xk(),...e}),getDefaultOptions:e=>({onRowPinningChange:Zf("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,i)=>{const a=r?e.getLeafRows().map(o=>{let{id:s}=o;return s}):[],u=i?e.getParentRows().map(o=>{let{id:s}=o;return s}):[],l=new Set([...u,e.id,...a]);t.setRowPinning(o=>{var s,c;if(n==="bottom"){var d,h;return{top:((d=o==null?void 0:o.top)!=null?d:[]).filter(v=>!(l!=null&&l.has(v))),bottom:[...((h=o==null?void 0:o.bottom)!=null?h:[]).filter(v=>!(l!=null&&l.has(v))),...Array.from(l)]}}if(n==="top"){var m,y;return{top:[...((m=o==null?void 0:o.top)!=null?m:[]).filter(v=>!(l!=null&&l.has(v))),...Array.from(l)],bottom:((y=o==null?void 0:o.bottom)!=null?y:[]).filter(v=>!(l!=null&&l.has(v)))}}return{top:((s=o==null?void 0:o.top)!=null?s:[]).filter(v=>!(l!=null&&l.has(v))),bottom:((c=o==null?void 0:o.bottom)!=null?c:[]).filter(v=>!(l!=null&&l.has(v)))}})},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:i}=t.options;return typeof r=="function"?r(e):(n=r??i)!=null?n:!0},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:i}=t.getState().rowPinning,a=n.some(l=>r==null?void 0:r.includes(l)),u=n.some(l=>i==null?void 0:i.includes(l));return a?"top":u?"bottom":!1},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();if(!i)return-1;const a=(n=i==="top"?t.getTopRows():t.getBottomRows())==null?void 0:n.map(u=>{let{id:l}=u;return l});return(r=a==null?void 0:a.indexOf(e.id))!=null?r:-1}},createTable:e=>{e.setRowPinning=t=>e.options.onRowPinningChange==null?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?Xk():(n=(r=e.initialState)==null?void 0:r.rowPinning)!=null?n:Xk())},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;if(!t){var i,a;return!!((i=r.top)!=null&&i.length||(a=r.bottom)!=null&&a.length)}return!!((n=r[t])!=null&&n.length)},e._getPinnedRows=(t,n,r)=>{var i;return((i=e.options.keepPinnedRows)==null||i?(n??[]).map(u=>{const l=e.getRow(u,!0);return l.getIsAllParentsExpanded()?l:null}):(n??[]).map(u=>t.find(l=>l.id===u))).filter(Boolean).map(u=>({...u,position:r}))},e.getTopRows=Mn(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,n)=>e._getPinnedRows(t,n,"top"),Fn(e.options,"debugRows")),e.getBottomRows=Mn(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,n)=>e._getPinnedRows(t,n,"bottom"),Fn(e.options,"debugRows")),e.getCenterRows=Mn(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(t,n,r)=>{const i=new Set([...n??[],...r??[]]);return t.filter(a=>!i.has(a.id))},Fn(e.options,"debugRows"))}},x9e={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Zf("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:(n=e.initialState.rowSelection)!=null?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();const r={...n},i=e.getPreGroupedRowModel().flatRows;return t?i.forEach(a=>{a.getCanSelect()&&(r[a.id]=!0)}):i.forEach(a=>{delete r[a.id]}),r})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{const r=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),i={...n};return e.getRowModel().rows.forEach(a=>{j9(i,a.id,r,!0,e)}),i}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Mn(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?Yk(e,n):{rows:[],flatRows:[],rowsById:{}},Fn(e.options,"debugTable")),e.getFilteredSelectedRowModel=Mn(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?Yk(e,n):{rows:[],flatRows:[],rowsById:{}},Fn(e.options,"debugTable")),e.getGroupedSelectedRowModel=Mn(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?Yk(e,n):{rows:[],flatRows:[],rowsById:{}},Fn(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=!!(t.length&&Object.keys(n).length);return r&&t.some(i=>i.getCanSelect()&&!n[i.id])&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter(i=>i.getCanSelect()),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some(i=>!n[i.id])&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(n=>n.getCanSelect()).some(n=>n.getIsSelected()||n.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const i=e.getIsSelected();t.setRowSelection(a=>{var u;if(n=typeof n<"u"?n:!i,e.getCanSelect()&&i===n)return a;const l={...a};return j9(l,e.id,n,(u=r==null?void 0:r.selectChildren)!=null?u:!0,t),l})},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return hI(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return Z9(e,n)==="some"},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return Z9(e,n)==="all"},e.getCanSelect=()=>{var n;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(n=t.options.enableRowSelection)!=null?n:!0},e.getCanSelectSubRows=()=>{var n;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(n=t.options.enableSubRowSelection)!=null?n:!0},e.getCanMultiSelect=()=>{var n;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(n=t.options.enableMultiRowSelection)!=null?n:!0},e.getToggleSelectedHandler=()=>{const n=e.getCanSelect();return r=>{var i;n&&e.toggleSelected((i=r.target)==null?void 0:i.checked)}}}},j9=(e,t,n,r,i)=>{var a;const u=i.getRow(t,!0);n?(u.getCanMultiSelect()||Object.keys(e).forEach(l=>delete e[l]),u.getCanSelect()&&(e[t]=!0)):delete e[t],r&&(a=u.subRows)!=null&&a.length&&u.getCanSelectSubRows()&&u.subRows.forEach(l=>j9(e,l.id,n,r,i))};function Yk(e,t){const n=e.getState().rowSelection,r=[],i={},a=function(u,l){return u.map(o=>{var s;const c=hI(o,n);if(c&&(r.push(o),i[o.id]=o),(s=o.subRows)!=null&&s.length&&(o={...o,subRows:a(o.subRows)}),c)return o}).filter(Boolean)};return{rows:a(t.rows),flatRows:r,rowsById:i}}function hI(e,t){var n;return(n=t[e.id])!=null?n:!1}function Z9(e,t,n){var r;if(!((r=e.subRows)!=null&&r.length))return!1;let i=!0,a=!1;return e.subRows.forEach(u=>{if(!(a&&!i)&&(u.getCanSelect()&&(hI(u,t)?a=!0:i=!1),u.subRows&&u.subRows.length)){const l=Z9(u,t);l==="all"?a=!0:(l==="some"&&(a=!0),i=!1)}}),i?"all":a?"some":!1}const H9=/([0-9]+)/gm,_9e=(e,t,n)=>qpe(jv(e.getValue(n)).toLowerCase(),jv(t.getValue(n)).toLowerCase()),E9e=(e,t,n)=>qpe(jv(e.getValue(n)),jv(t.getValue(n))),D9e=(e,t,n)=>pI(jv(e.getValue(n)).toLowerCase(),jv(t.getValue(n)).toLowerCase()),$9e=(e,t,n)=>pI(jv(e.getValue(n)),jv(t.getValue(n))),C9e=(e,t,n)=>{const r=e.getValue(n),i=t.getValue(n);return r>i?1:r<i?-1:0},w9e=(e,t,n)=>pI(e.getValue(n),t.getValue(n));function pI(e,t){return e===t?0:e>t?1:-1}function jv(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function qpe(e,t){const n=e.split(H9).filter(Boolean),r=t.split(H9).filter(Boolean);for(;n.length&&r.length;){const i=n.shift(),a=r.shift(),u=parseInt(i,10),l=parseInt(a,10),o=[u,l].sort();if(isNaN(o[0])){if(i>a)return 1;if(a>i)return-1;continue}if(isNaN(o[1]))return isNaN(u)?-1:1;if(u>l)return 1;if(l>u)return-1}return n.length-r.length}const Y4={alphanumeric:_9e,alphanumericCaseSensitive:E9e,text:D9e,textCaseSensitive:$9e,datetime:C9e,basic:w9e},R9e={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Zf("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const i of n){const a=i==null?void 0:i.getValue(e.id);if(Object.prototype.toString.call(a)==="[object Date]")return Y4.datetime;if(typeof a=="string"&&(r=!0,a.split(H9).length>1))return Y4.alphanumeric}return r?Y4.text:Y4.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return typeof(n==null?void 0:n.getValue(e.id))=="string"?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return XC(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(n=(r=t.options.sortingFns)==null?void 0:r[e.columnDef.sortingFn])!=null?n:Y4[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const i=e.getNextSortingOrder(),a=typeof n<"u"&&n!==null;t.setSorting(u=>{const l=u==null?void 0:u.find(m=>m.id===e.id),o=u==null?void 0:u.findIndex(m=>m.id===e.id);let s=[],c,d=a?n:i==="desc";if(u!=null&&u.length&&e.getCanMultiSort()&&r?l?c="toggle":c="add":u!=null&&u.length&&o!==u.length-1?c="replace":l?c="toggle":c="replace",c==="toggle"&&(a||i||(c="remove")),c==="add"){var h;s=[...u,{id:e.id,desc:d}],s.splice(0,s.length-((h=t.options.maxMultiSortColCount)!=null?h:Number.MAX_SAFE_INTEGER))}else c==="toggle"?s=u.map(m=>m.id===e.id?{...m,desc:d}:m):c==="remove"?s=u.filter(m=>m.id!==e.id):s=[{id:e.id,desc:d}];return s})},e.getFirstSortDir=()=>{var n,r;return((n=(r=e.columnDef.sortDescFirst)!=null?r:t.options.sortDescFirst)!=null?n:e.getAutoSortDir()==="desc")?"desc":"asc"},e.getNextSortingOrder=n=>{var r,i;const a=e.getFirstSortDir(),u=e.getIsSorted();return u?u!==a&&((r=t.options.enableSortingRemoval)==null||r)&&(!(n&&(i=t.options.enableMultiRemove)!=null)||i)?!1:u==="desc"?"asc":"desc":a},e.getCanSort=()=>{var n,r;return((n=e.columnDef.enableSorting)!=null?n:!0)&&((r=t.options.enableSorting)!=null?r:!0)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return(n=(r=e.columnDef.enableMultiSort)!=null?r:t.options.enableMultiSort)!=null?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=(n=t.getState().sorting)==null?void 0:n.find(i=>i.id===e.id);return r?r.desc?"desc":"asc":!1},e.getSortIndex=()=>{var n,r;return(n=(r=t.getState().sorting)==null?void 0:r.findIndex(i=>i.id===e.id))!=null?n:-1},e.clearSorting=()=>{t.setSorting(n=>n!=null&&n.length?n.filter(r=>r.id!==e.id):[])},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(r.persist==null||r.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(r):!1))}}},createTable:e=>{e.setSorting=t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:(n=(r=e.initialState)==null?void 0:r.sorting)!=null?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},A9e=[K7e,g9e,f9e,d9e,W7e,J7e,v9e,y9e,R9e,s9e,b9e,O9e,S9e,x9e,p9e];function T9e(e){var t,n;const r=[...A9e,...(t=e._features)!=null?t:[]];let i={_features:r};const a=i._features.reduce((h,m)=>Object.assign(h,m.getDefaultOptions==null?void 0:m.getDefaultOptions(i)),{}),u=h=>i.options.mergeOptions?i.options.mergeOptions(a,h):{...a,...h};let o={...{},...(n=e.initialState)!=null?n:{}};i._features.forEach(h=>{var m;o=(m=h.getInitialState==null?void 0:h.getInitialState(o))!=null?m:o});const s=[];let c=!1;const d={_features:r,options:{...a,...e},initialState:o,_queue:h=>{s.push(h),c||(c=!0,Promise.resolve().then(()=>{for(;s.length;)s.shift()();c=!1}).catch(m=>setTimeout(()=>{throw m})))},reset:()=>{i.setState(i.initialState)},setOptions:h=>{const m=$v(h,i.options);i.options=u(m)},getState:()=>i.options.state,setState:h=>{i.options.onStateChange==null||i.options.onStateChange(h)},_getRowId:(h,m,y)=>{var v;return(v=i.options.getRowId==null?void 0:i.options.getRowId(h,m,y))!=null?v:`${y?[y.id,m].join("."):m}`},getCoreRowModel:()=>(i._getCoreRowModel||(i._getCoreRowModel=i.options.getCoreRowModel(i)),i._getCoreRowModel()),getRowModel:()=>i.getPaginationRowModel(),getRow:(h,m)=>{let y=(m?i.getPrePaginationRowModel():i.getRowModel()).rowsById[h];if(!y&&(y=i.getCoreRowModel().rowsById[h],!y))throw new Error;return y},_getDefaultColumnDef:Mn(()=>[i.options.defaultColumn],h=>{var m;return h=(m=h)!=null?m:{},{header:y=>{const v=y.header.column.columnDef;return v.accessorKey?v.accessorKey:v.accessorFn?v.id:null},cell:y=>{var v,_;return(v=(_=y.renderValue())==null||_.toString==null?void 0:_.toString())!=null?v:null},...i._features.reduce((y,v)=>Object.assign(y,v.getDefaultColumnDef==null?void 0:v.getDefaultColumnDef()),{}),...h}},Fn(e,"debugColumns")),_getColumnDefs:()=>i.options.columns,getAllColumns:Mn(()=>[i._getColumnDefs()],h=>{const m=function(y,v,_){return _===void 0&&(_=0),y.map(x=>{const E=G7e(i,x,_,v),w=x;return E.columns=w.columns?m(w.columns,E,_+1):[],E})};return m(h)},Fn(e,"debugColumns")),getAllFlatColumns:Mn(()=>[i.getAllColumns()],h=>h.flatMap(m=>m.getFlatColumns()),Fn(e,"debugColumns")),_getAllFlatColumnsById:Mn(()=>[i.getAllFlatColumns()],h=>h.reduce((m,y)=>(m[y.id]=y,m),{}),Fn(e,"debugColumns")),getAllLeafColumns:Mn(()=>[i.getAllColumns(),i._getOrderColumnsFn()],(h,m)=>{let y=h.flatMap(v=>v.getLeafColumns());return m(y)},Fn(e,"debugColumns")),getColumn:h=>i._getAllFlatColumnsById()[h]};Object.assign(i,d);for(let h=0;h<i._features.length;h++){const m=i._features[h];m==null||m.createTable==null||m.createTable(i)}return i}function Rit(){return e=>Mn(()=>[e.options.data],t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(i,a,u){a===void 0&&(a=0);const l=[];for(let s=0;s<i.length;s++){const c=fI(e,e._getRowId(i[s],s,u),i[s],s,a,void 0,u==null?void 0:u.id);if(n.flatRows.push(c),n.rowsById[c.id]=c,l.push(c),e.options.getSubRows){var o;c.originalSubRows=e.options.getSubRows(i[s],s),(o=c.originalSubRows)!=null&&o.length&&(c.subRows=r(c.originalSubRows,a+1,c))}}return l};return n.rows=r(t),n},Fn(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function Ait(){return e=>Mn(()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows],(t,n,r)=>!n.rows.length||t!==!0&&!Object.keys(t??{}).length||!r?n:Vpe(n),Fn(e.options,"debugTable"))}function Vpe(e){const t=[],n=r=>{var i;t.push(r),(i=r.subRows)!=null&&i.length&&r.getIsExpanded()&&r.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function k9e(e,t,n){return n.options.filterFromLeafRows?P9e(e,t,n):M9e(e,t,n)}function P9e(e,t,n){var r;const i=[],a={},u=(r=n.options.maxLeafRowFilterDepth)!=null?r:100,l=function(o,s){s===void 0&&(s=0);const c=[];for(let h=0;h<o.length;h++){var d;let m=o[h];const y=fI(n,m.id,m.original,m.index,m.depth,void 0,m.parentId);if(y.columnFilters=m.columnFilters,(d=m.subRows)!=null&&d.length&&s<u){if(y.subRows=l(m.subRows,s+1),m=y,t(m)&&!y.subRows.length){c.push(m),a[m.id]=m,i.push(m);continue}if(t(m)||y.subRows.length){c.push(m),a[m.id]=m,i.push(m);continue}}else m=y,t(m)&&(c.push(m),a[m.id]=m,i.push(m))}return c};return{rows:l(e),flatRows:i,rowsById:a}}function M9e(e,t,n){var r;const i=[],a={},u=(r=n.options.maxLeafRowFilterDepth)!=null?r:100,l=function(o,s){s===void 0&&(s=0);const c=[];for(let h=0;h<o.length;h++){let m=o[h];if(t(m)){var d;if((d=m.subRows)!=null&&d.length&&s<u){const v=fI(n,m.id,m.original,m.index,m.depth,void 0,m.parentId);v.subRows=l(m.subRows,s+1),m=v}c.push(m),i.push(m),a[m.id]=m}}return c};return{rows:l(e),flatRows:i,rowsById:a}}function Tit(){return e=>Mn(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter],(t,n,r)=>{if(!t.rows.length||!(n!=null&&n.length)&&!r){for(let h=0;h<t.flatRows.length;h++)t.flatRows[h].columnFilters={},t.flatRows[h].columnFiltersMeta={};return t}const i=[],a=[];(n??[]).forEach(h=>{var m;const y=e.getColumn(h.id);if(!y)return;const v=y.getFilterFn();v&&i.push({id:h.id,filterFn:v,resolvedValue:(m=v.resolveFilterValue==null?void 0:v.resolveFilterValue(h.value))!=null?m:h.value})});const u=(n??[]).map(h=>h.id),l=e.getGlobalFilterFn(),o=e.getAllLeafColumns().filter(h=>h.getCanGlobalFilter());r&&l&&o.length&&(u.push("__global__"),o.forEach(h=>{var m;a.push({id:h.id,filterFn:l,resolvedValue:(m=l.resolveFilterValue==null?void 0:l.resolveFilterValue(r))!=null?m:r})}));let s,c;for(let h=0;h<t.flatRows.length;h++){const m=t.flatRows[h];if(m.columnFilters={},i.length)for(let y=0;y<i.length;y++){s=i[y];const v=s.id;m.columnFilters[v]=s.filterFn(m,v,s.resolvedValue,_=>{m.columnFiltersMeta[v]=_})}if(a.length){for(let y=0;y<a.length;y++){c=a[y];const v=c.id;if(c.filterFn(m,v,c.resolvedValue,_=>{m.columnFiltersMeta[v]=_})){m.columnFilters.__global__=!0;break}}m.columnFilters.__global__!==!0&&(m.columnFilters.__global__=!1)}}const d=h=>{for(let m=0;m<u.length;m++)if(h.columnFilters[u[m]]===!1)return!1;return!0};return k9e(t.rows,d,e)},Fn(e.options,"debugTable","getFilteredRowModel",()=>e._autoResetPageIndex()))}function kit(e){return t=>Mn(()=>[t.getState().pagination,t.getPrePaginationRowModel(),t.options.paginateExpandedRows?void 0:t.getState().expanded],(n,r)=>{if(!r.rows.length)return r;const{pageSize:i,pageIndex:a}=n;let{rows:u,flatRows:l,rowsById:o}=r;const s=i*a,c=s+i;u=u.slice(s,c);let d;t.options.paginateExpandedRows?d={rows:u,flatRows:l,rowsById:o}:d=Vpe({rows:u,flatRows:l,rowsById:o}),d.flatRows=[];const h=m=>{d.flatRows.push(m),m.subRows.length&&m.subRows.forEach(h)};return d.rows.forEach(h),d},Fn(t.options,"debugTable"))}function Pit(){return e=>Mn(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||!(t!=null&&t.length))return n;const r=e.getState().sorting,i=[],a=r.filter(o=>{var s;return(s=e.getColumn(o.id))==null?void 0:s.getCanSort()}),u={};a.forEach(o=>{const s=e.getColumn(o.id);s&&(u[o.id]={sortUndefined:s.columnDef.sortUndefined,invertSorting:s.columnDef.invertSorting,sortingFn:s.getSortingFn()})});const l=o=>{const s=o.map(c=>({...c}));return s.sort((c,d)=>{for(let m=0;m<a.length;m+=1){var h;const y=a[m],v=u[y.id],_=v.sortUndefined,x=(h=y==null?void 0:y.desc)!=null?h:!1;let E=0;if(_){const w=c.getValue(y.id),T=d.getValue(y.id),R=w===void 0,C=T===void 0;if(R||C){if(_==="first")return R?-1:1;if(_==="last")return R?1:-1;E=R&&C?0:R?_:-_}}if(E===0&&(E=v.sortingFn(c,d,y.id)),E!==0)return x&&(E*=-1),v.invertSorting&&(E*=-1),E}return c.index-d.index}),s.forEach(c=>{var d;i.push(c),(d=c.subRows)!=null&&d.length&&(c.subRows=l(c.subRows))}),s};return{rows:l(n.rows),flatRows:i,rowsById:n.rowsById}},Fn(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}/**
   * react-table
   *
   * Copyright (c) TanStack
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE.md file in the root directory of this source tree.
   *
   * @license MIT
   */function Mit(e,t){return e?F9e(e)?P.createElement(e,t):e:null}function F9e(e){return N9e(e)||typeof e=="function"||I9e(e)}function N9e(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function I9e(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function Fit(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=P.useState(()=>({current:T9e(t)})),[r,i]=P.useState(()=>n.current.initialState);return n.current.setOptions(a=>({...a,...e,state:{...r,...e.state},onStateChange:u=>{i(u),e.onStateChange==null||e.onStateChange(u)}})),n.current}function L9e(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function e$(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function b3(e){return e=e$(Math.abs(e)),e?e[1]:NaN}function B9e(e,t){return function(n,r){for(var i=n.length,a=[],u=0,l=e[0],o=0;i>0&&l>0&&(o+l+1>r&&(l=Math.max(1,r-o)),a.push(n.substring(i-=l,i+l)),!((o+=l+1)>r));)l=e[u=(u+1)%e.length];return a.reverse().join(t)}}function Q9e(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var z9e=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function hS(e){if(!(t=z9e.exec(e)))throw new Error("invalid format: "+e);var t;return new mI({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}hS.prototype=mI.prototype;function mI(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}mI.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function q9e(e){e:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case".":r=i=n;break;case"0":r===0&&(r=n),i=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var Upe;function V9e(e,t){var n=e$(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(Upe=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,u=r.length;return a===u?r:a>u?r+new Array(a-u+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+e$(e,Math.max(0,t+a-1))[0]}function _H(e,t){var n=e$(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const EH={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:L9e,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>_H(e*100,t),r:_H,s:V9e,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function DH(e){return e}var $H=Array.prototype.map,CH=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function U9e(e){var t=e.grouping===void 0||e.thousands===void 0?DH:B9e($H.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?DH:Q9e($H.call(e.numerals,String)),u=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"−":e.minus+"",o=e.nan===void 0?"NaN":e.nan+"";function s(d){d=hS(d);var h=d.fill,m=d.align,y=d.sign,v=d.symbol,_=d.zero,x=d.width,E=d.comma,w=d.precision,T=d.trim,R=d.type;R==="n"?(E=!0,R="g"):EH[R]||(w===void 0&&(w=12),T=!0,R="g"),(_||h==="0"&&m==="=")&&(_=!0,h="0",m="=");var C=v==="$"?n:v==="#"&&/[boxX]/.test(R)?"0"+R.toLowerCase():"",k=v==="$"?r:/[%p]/.test(R)?u:"",F=EH[R],z=/[defgprs%]/.test(R);w=w===void 0?6:/[gprs]/.test(R)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function Z(q){var j=C,N=k,V,W,G;if(R==="c")N=F(q)+N,q="";else{q=+q;var J=q<0||1/q<0;if(q=isNaN(q)?o:F(Math.abs(q),w),T&&(q=q9e(q)),J&&+q==0&&y!=="+"&&(J=!1),j=(J?y==="("?y:l:y==="-"||y==="("?"":y)+j,N=(R==="s"?CH[8+Upe/3]:"")+N+(J&&y==="("?")":""),z){for(V=-1,W=q.length;++V<W;)if(G=q.charCodeAt(V),48>G||G>57){N=(G===46?i+q.slice(V+1):q.slice(V))+N,q=q.slice(0,V);break}}}E&&!_&&(q=t(q,1/0));var te=j.length+q.length+N.length,X=te<x?new Array(x-te+1).join(h):"";switch(E&&_&&(q=t(X+q,X.length?x-N.length:1/0),X=""),m){case"<":q=j+q+N+X;break;case"=":q=j+X+q+N;break;case"^":q=X.slice(0,te=X.length>>1)+j+q+N+X.slice(te);break;default:q=X+j+q+N;break}return a(q)}return Z.toString=function(){return d+""},Z}function c(d,h){var m=s((d=hS(d),d.type="f",d)),y=Math.max(-8,Math.min(8,Math.floor(b3(h)/3)))*3,v=Math.pow(10,-y),_=CH[8+y/3];return function(x){return m(v*x)+_}}return{format:s,formatPrefix:c}}var V_,gI,jpe;j9e({thousands:",",grouping:[3],currency:["$",""]});function j9e(e){return V_=U9e(e),gI=V_.format,jpe=V_.formatPrefix,V_}function Z9e(e){return Math.max(0,-b3(Math.abs(e)))}function H9e(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(b3(t)/3)))*3-b3(Math.abs(e)))}function X9e(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,b3(t)-b3(e))+1}const Y9e=QN({String:ot.string,Number:ot.number,"True False":ot.bool,PropertyName:ot.propertyName,Null:ot.null,", :":ot.separator,"[ ]":ot.squareBracket,"{ }":ot.brace}),Nit=g3.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[Y9e],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0});function Iit(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var NE={exports:{}},G9e=NE.exports,wH;function K9e(){return wH||(wH=1,(function(e){(function(t,n){e.exports?e.exports=n():t.log=n()})(G9e,function(){var t=function(){},n="undefined",r=typeof window!==n&&typeof window.navigator!==n&&/Trident\/|MSIE /.test(window.navigator.userAgent),i=["trace","debug","info","warn","error"],a={},u=null;function l(v,_){var x=v[_];if(typeof x.bind=="function")return x.bind(v);try{return Function.prototype.bind.call(x,v)}catch{return function(){return Function.prototype.apply.apply(x,[v,arguments])}}}function o(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function s(v){return v==="debug"&&(v="log"),typeof console===n?!1:v==="trace"&&r?o:console[v]!==void 0?l(console,v):console.log!==void 0?l(console,"log"):t}function c(){for(var v=this.getLevel(),_=0;_<i.length;_++){var x=i[_];this[x]=_<v?t:this.methodFactory(x,v,this.name)}if(this.log=this.debug,typeof console===n&&v<this.levels.SILENT)return"No console available for logging"}function d(v){return function(){typeof console!==n&&(c.call(this),this[v].apply(this,arguments))}}function h(v,_,x){return s(v)||d.apply(this,arguments)}function m(v,_){var x=this,E,w,T,R="loglevel";typeof v=="string"?R+=":"+v:typeof v=="symbol"&&(R=void 0);function C(q){var j=(i[q]||"silent").toUpperCase();if(!(typeof window===n||!R)){try{window.localStorage[R]=j;return}catch{}try{window.document.cookie=encodeURIComponent(R)+"="+j+";"}catch{}}}function k(){var q;if(!(typeof window===n||!R)){try{q=window.localStorage[R]}catch{}if(typeof q===n)try{var j=window.document.cookie,N=encodeURIComponent(R),V=j.indexOf(N+"=");V!==-1&&(q=/^([^;]+)/.exec(j.slice(V+N.length+1))[1])}catch{}return x.levels[q]===void 0&&(q=void 0),q}}function F(){if(!(typeof window===n||!R)){try{window.localStorage.removeItem(R)}catch{}try{window.document.cookie=encodeURIComponent(R)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}function z(q){var j=q;if(typeof j=="string"&&x.levels[j.toUpperCase()]!==void 0&&(j=x.levels[j.toUpperCase()]),typeof j=="number"&&j>=0&&j<=x.levels.SILENT)return j;throw new TypeError("log.setLevel() called with invalid level: "+q)}x.name=v,x.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},x.methodFactory=_||h,x.getLevel=function(){return T??w??E},x.setLevel=function(q,j){return T=z(q),j!==!1&&C(T),c.call(x)},x.setDefaultLevel=function(q){w=z(q),k()||x.setLevel(q,!1)},x.resetLevel=function(){T=null,F(),c.call(x)},x.enableAll=function(q){x.setLevel(x.levels.TRACE,q)},x.disableAll=function(q){x.setLevel(x.levels.SILENT,q)},x.rebuild=function(){if(u!==x&&(E=z(u.getLevel())),c.call(x),u===x)for(var q in a)a[q].rebuild()},E=z(u?u.getLevel():"WARN");var Z=k();Z!=null&&(T=z(Z)),c.call(x)}u=new m,u.getLogger=function(_){if(typeof _!="symbol"&&typeof _!="string"||_==="")throw new TypeError("You must supply a name when creating a logger.");var x=a[_];return x||(x=a[_]=new m(_,u.methodFactory)),x};var y=typeof window!==n?window.log:void 0;return u.noConflict=function(){return typeof window!==n&&window.log===u&&(window.log=y),u},u.getLoggers=function(){return a},u.default=u,u})})(NE)),NE.exports}var W9e=K9e();const Lit=oa(W9e),J9e={AdditionalItemsError:"Array at `{{pointer}}` may not have an additional item `{{key}}`",AdditionalPropertiesError:"Additional property `{{property}}` on `{{pointer}}` does not match schema `{{schema}}`",AllOfError:"Value `{{value}}` at `{{pointer}}` does not match schema of `{{allOf}}`",AnyOfError:"Value `{{value}}` at `{{pointer}}` does not match any schema of `{{anyOf}}`",ConstError:"Expected value at `{{pointer}}` to be `{{expected}}`, but value given is `{{value}}`",containsAnyError:"The array at `{{pointer}}` must contain at least one item",ContainsArrayError:"The property at `{{pointer}}` must not be an array",ContainsError:"The array at `{{pointer}}` must contain an element that matches `{{schema}}`",EnumError:"Expected given value `{{value}}` in `{{pointer}}` to be one of `{{values}}`",ForbiddenPropertyError:"Property name `{{property}}` at `{{pointer}}` is not allowed",FormatDateError:"Value `{{value}}` at `{{pointer}}` is not a valid date",FormatDateTimeError:"Value `{{value}}` at `{{pointer}}` is not a valid date-time",FormatEmailError:"Value `{{value}}` at `{{pointer}}` is not a valid email",FormatHostnameError:"Value `{{value}}` at `{{pointer}}` is not a valid hostname",FormatIPV4Error:"Value `{{value}}` at `{{pointer}}` is not a valid IPv4 address",FormatIPV4LeadingZeroError:"IPv4 addresses starting with zero are invalid, since they are interpreted as octals",FormatIPV6Error:"Value `{{value}}` at `{{pointer}}` is not a valid IPv6 address",FormatIPV6LeadingZeroError:"IPv6 addresses starting with zero are invalid, since they are interpreted as octals",FormatJsonPointerError:"Value `{{value}}` at `{{pointer}}` is not a valid json-pointer",FormatRegExError:"Value `{{value}}` at `{{pointer}}` is not a valid regular expression",FormatTimeError:"Value `{{value}}` at `{{pointer}}` is not a valid time",FormatURIError:"Value `{{value}}` at `{{pointer}}` is not a valid uri",FormatURIReferenceError:"Value `{{value}}` at `{{pointer}}` is not a valid uri-reference",FormatURITemplateError:"Value `{{value}}` at `{{pointer}}` is not a valid uri-template",FormatURLError:"Value `{{value}}` at `{{pointer}}` is not a valid url",InvalidDataError:"No value may be specified in `{{pointer}}`",InvalidPropertyNameError:"Invalid property name `{{property}}` at `{{pointer}}`",MaximumError:"Value in `{{pointer}}` is `{{length}}`, but should be `{{maximum}}` at maximum",MaxItemsError:"Too many items in `{{pointer}}`, should be `{{maximum}}` at most, but got `{{length}}`",MaxLengthError:"Value `{{pointer}}` should have a maximum length of `{{maxLength}}`, but got `{{length}}`.",MaxPropertiesError:"Too many properties in `{{pointer}}`, should be `{{maximum}}` at most, but got `{{length}}`",MinimumError:"Value in `{{pointer}}` is `{{length}}`, but should be `{{minimum}}` at minimum",MinItemsError:"Too few items in `{{pointer}}`, should be at least `{{minItems}}`, but got `{{length}}`",MinItemsOneError:"At least one item is required in `{{pointer}}`",MinLengthError:"Value `{{pointer}}` should have a minimum length of `{{minLength}}`, but got `{{length}}`.",MinLengthOneError:"A value is required in `{{pointer}}`",MinPropertiesError:"Too few properties in `{{pointer}}`, should be at least `{{minimum}}`, but got `{{length}}`",MissingDependencyError:"The required propery '{{missingProperty}}' in `{{pointer}}` is missing",MissingOneOfPropertyError:"Value at `{{pointer}}` property: `{{property}}`",MultipleOfError:"Expected `{{value}}` in `{{pointer}}` to be multiple of `{{multipleOf}}`",MultipleOneOfError:"Value `{{value}}` should not match multiple schemas in oneOf `{{matches}}`",NoAdditionalPropertiesError:"Additional property `{{property}}` in `{{pointer}}` is not allowed",NotError:"Value `{{value}}` at pointer should not match schema `{{not}}`",OneOfError:"Value `{{value}}` in `{{pointer}}` does not match any given oneof schema",OneOfPropertyError:"Failed finding a matching oneOfProperty schema in `{{pointer}}` where `{{property}}` matches `{{value}}`",PatternError:"Value in `{{pointer}}` should match `{{description}}`, but received `{{received}}`",PatternPropertiesError:"Property `{{key}}` does not match any patterns in `{{pointer}}`. Valid patterns are: {{patterns}}",RequiredPropertyError:"The required property `{{key}}` is missing at `{{pointer}}`",SchemaWarning:"Failed retrieving a schema from '{{pointer}}' to key '{{key}}'",TypeError:"Expected `{{value}}` ({{received}}) in `{{pointer}}` to be of type `{{expected}}`",UndefinedValueError:"Value must not be undefined in `{{pointer}}`",UniqueItemsError:"Items in array must be unique. Value `{{value}}` in `{{pointer}}` is a duplicate of {{duplicatePointer}}.",UnknownPropertyError:"Could not find a valid schema for property `{{pointer}}` within object",ValueNotEmptyError:"A value for `{{property}}` is required at `{{pointer}}`"},eMe=Object.prototype.toString;function di(e){const t=eMe.call(e).match(/\s([^\]]+)\]/).pop().toLowerCase();return t==="file"?"object":t}const tMe="object",nMe="array";function rMe(e,t={}){return e.replace(/\{\{\w+\}\}/g,n=>{const r=n.replace(/[{}]/g,""),i=t[r],a=di(i);return a===tMe||a===nMe?JSON.stringify(i):i})}function iMe(e,t,n=e){var r;const i=(r=J9e[e])!==null&&r!==void 0?r:n;return rMe(i,t)}function aMe(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function uMe(e,t){return{type:"error",name:e,code:aMe(e),message:iMe(e,t),data:t}}function Dn(e){return uMe.bind(null,e)}function pS(e,t=[]){for(let n=0;n<e.length;n+=1){const r=e[n];Array.isArray(r)?pS(r,t):t.push(r)}return t}const V3={DECLARATOR_ONEOF:"oneOfProperty",GET_TEMPLATE_RECURSION_LIMIT:1,propertyBlacklist:["_id"],templateDefaultOptions:{addOptionalProps:!1,removeInvalidData:!1,extendDefaults:!0}};function k2(e,t,n){const r={...t};return Object.defineProperty(r,"getOneOfOrigin",{enumerable:!1,value:()=>({index:n,schema:e})}),r}function Hf(e){return(e==null?void 0:e.type)==="error"}function lMe(e){return e instanceof Promise}function t$(e){return Hf(e)||lMe(e)}const{DECLARATOR_ONEOF:JO}=V3;function Zpe(e,t,n=e.rootSchema,r="#"){if(t!=null&&n[JO]){const u=[],l=n[JO],o=t[n[JO]];if(o===void 0)return e.errors.missingOneOfPropertyError({property:l,pointer:r,schema:n,value:t});for(let s=0;s<n.oneOf.length;s+=1){const c=e.resolveRef(n.oneOf[s]),d=e.step(l,c,t,r);if(Hf(d))return d;let h=pS(e.validate(o,d,r));if(h=h.filter(t$),h.length>0)u.push(...h);else return k2(n,c,s)}return e.errors.oneOfPropertyError({property:l,value:o,pointer:r,schema:n,errors:u})}const i=[],a=[];for(let u=0;u<n.oneOf.length;u+=1){const l=e.resolveRef(n.oneOf[u]);let o=pS(e.validate(t,l,r));o=o.filter(t$),o.length>0?a.push(...o):i.push({index:u,schema:l})}return i.length===1?k2(n,i[0].schema,i[0].index):i.length>1?e.errors.multipleOneOfError({value:t,pointer:r,schema:n,matches:i}):e.errors.oneOfError({value:JSON.stringify(t),pointer:r,schema:n,oneOf:n.oneOf,errors:a})}function oMe(e,t,n,r){if(n==null||t.properties==null)return-1;let i=0;const a=Object.keys(t.properties);for(let u=0;u<a.length;u+=1){const l=a[u];n[l]!=null&&e.isValid(n[l],t.properties[l],r)&&(i+=1)}return i}function vI(e,t,n=e.rootSchema,r="#"){if(t!=null&&n[JO]){const a=[],u=n[JO],l=t[n[JO]];if(l===void 0)return e.errors.missingOneOfPropertyError({property:u,pointer:r,schema:n,value:t});for(let o=0;o<n.oneOf.length;o+=1){const s=e.resolveRef(n.oneOf[o]),c=e.step(u,s,t,r);if(Hf(c))return c;let d=pS(e.validate(l,c,r));if(d=d.filter(t$),d.length>0)a.push(...d);else return k2(n,s,o)}return e.errors.oneOfPropertyError({property:u,value:l,pointer:r,schema:n,errors:a})}const i=[];for(let a=0;a<n.oneOf.length;a+=1){const u=e.resolveRef(n.oneOf[a]);e.isValid(t,u,r)&&i.push({schema:u,index:a})}if(i.length===1)return k2(n,i[0].schema,i[0].index);if(di(t)==="object"){let a,u=-1,l=0;for(let o=0;o<n.oneOf.length;o+=1){const s=e.resolveRef(n.oneOf[o]),c=oMe(e,s,t);l<c&&(l=c,a=n.oneOf[o],u=o)}return a===void 0?e.errors.oneOfError({value:JSON.stringify(t),pointer:r,schema:n,oneOf:n.oneOf}):k2(n,a,u)}return i.length>1?e.errors.multipleOneOfError({matches:i,pointer:r,schema:n,value:t}):e.errors.oneOfError({value:JSON.stringify(t),pointer:r,schema:n,oneOf:n.oneOf})}const sMe=(e,t,n,r)=>{if(Array.isArray(t.oneOf)){const i=e.resolveOneOf(n,t,r);if(Hf(i))return i}};var Gk,RH;function cMe(){if(RH)return Gk;RH=1;var e=function(E){return t(E)&&!n(E)};function t(x){return!!x&&typeof x=="object"}function n(x){var E=Object.prototype.toString.call(x);return E==="[object RegExp]"||E==="[object Date]"||a(x)}var r=typeof Symbol=="function"&&Symbol.for,i=r?Symbol.for("react.element"):60103;function a(x){return x.$$typeof===i}function u(x){return Array.isArray(x)?[]:{}}function l(x,E){return E.clone!==!1&&E.isMergeableObject(x)?v(u(x),x,E):x}function o(x,E,w){return x.concat(E).map(function(T){return l(T,w)})}function s(x,E){if(!E.customMerge)return v;var w=E.customMerge(x);return typeof w=="function"?w:v}function c(x){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(x).filter(function(E){return Object.propertyIsEnumerable.call(x,E)}):[]}function d(x){return Object.keys(x).concat(c(x))}function h(x,E){try{return E in x}catch{return!1}}function m(x,E){return h(x,E)&&!(Object.hasOwnProperty.call(x,E)&&Object.propertyIsEnumerable.call(x,E))}function y(x,E,w){var T={};return w.isMergeableObject(x)&&d(x).forEach(function(R){T[R]=l(x[R],w)}),d(E).forEach(function(R){m(x,R)||(h(x,R)&&w.isMergeableObject(E[R])?T[R]=s(R,w)(x[R],E[R],w):T[R]=l(E[R],w))}),T}function v(x,E,w){w=w||{},w.arrayMerge=w.arrayMerge||o,w.isMergeableObject=w.isMergeableObject||e,w.cloneUnlessOtherwiseSpecified=l;var T=Array.isArray(E),R=Array.isArray(x),C=T===R;return C?T?w.arrayMerge(x,E,w):y(x,E,w):l(E,w)}v.all=function(E,w){if(!Array.isArray(E))throw new Error("first argument should be an array");return E.reduce(function(T,R){return v(T,R,w)},{})};var _=v;return Gk=_,Gk}var fMe=cMe();const Hpe=oa(fMe),dMe=(e,t)=>t,yI=(e,t)=>Hpe(e,t,{arrayMerge:dMe}),hMe=(e,t)=>{const n=e.concat(t);return n.filter((r,i)=>n.indexOf(r)===i)},pMe=(e,t)=>Hpe(e,t,{arrayMerge:hMe});function nc(e,t){const n=di(e),r=di(t);if(n!==r)return e;const i=pMe(e,t);return e.getOneOfOrigin?Object.defineProperty(i,"getOneOfOrigin",{enumerable:!1,value:e.getOneOfOrigin}):t.getOneOfOrigin&&Object.defineProperty(i,"getOneOfOrigin",{enumerable:!1,value:t.getOneOfOrigin}),i}function mS(e,...t){const n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),e.getOneOfOrigin&&Object.defineProperty(n,"getOneOfOrigin",{enumerable:!1,value:e.getOneOfOrigin}),n}var mMe=Function.prototype.toString,Kk=Object.create,gMe=Object.prototype.toString,vMe=(function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(t){return!!~this._keys.indexOf(t)},e.prototype.get=function(t){return this._values[this._keys.indexOf(t)]},e.prototype.set=function(t,n){this._keys.push(t),this._values.push(n)},e})();function yMe(){return new vMe}function bMe(){return new WeakMap}var OMe=typeof WeakMap<"u"?bMe:yMe;function bI(e){if(!e)return Kk(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:Kk(e);if(t&&~mMe.call(t).indexOf("[native code]"))try{return new t}catch{}return Kk(e)}function SMe(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}function xMe(e){return e.flags}var _Me=/test/g.flags==="g"?xMe:SMe;function Xpe(e){var t=gMe.call(e);return t.substring(8,t.length-1)}function EMe(e){return e[Symbol.toStringTag]||Xpe(e)}var DMe=typeof Symbol<"u"?EMe:Xpe,$Me=Object.defineProperty,CMe=Object.getOwnPropertyDescriptor,Ype=Object.getOwnPropertyNames,OI=Object.getOwnPropertySymbols,Gpe=Object.prototype,Kpe=Gpe.hasOwnProperty,wMe=Gpe.propertyIsEnumerable,Wpe=typeof OI=="function";function RMe(e){return Ype(e).concat(OI(e))}var AMe=Wpe?RMe:Ype;function YC(e,t,n){for(var r=AMe(e),i=0,a=r.length,u=void 0,l=void 0;i<a;++i)if(u=r[i],!(u==="callee"||u==="caller")){if(l=CMe(e,u),!l){t[u]=n.copier(e[u],n);continue}!l.get&&!l.set&&(l.value=n.copier(l.value,n));try{$Me(t,u,l)}catch{t[u]=l.value}}return t}function TMe(e,t){var n=new t.Constructor;t.cache.set(e,n);for(var r=0,i=e.length;r<i;++r)n[r]=t.copier(e[r],t);return n}function kMe(e,t){var n=new t.Constructor;return t.cache.set(e,n),YC(e,n,t)}function Jpe(e,t){return e.slice(0)}function PMe(e,t){return e.slice(0,e.size,e.type)}function MMe(e,t){return new t.Constructor(Jpe(e.buffer))}function FMe(e,t){return new t.Constructor(e.getTime())}function e0e(e,t){var n=new t.Constructor;return t.cache.set(e,n),e.forEach(function(r,i){n.set(i,t.copier(r,t))}),n}function NMe(e,t){return YC(e,e0e(e,t),t)}function IMe(e,t){var n=bI(t.prototype);t.cache.set(e,n);for(var r in e)Kpe.call(e,r)&&(n[r]=t.copier(e[r],t));return n}function LMe(e,t){var n=bI(t.prototype);t.cache.set(e,n);for(var r in e)Kpe.call(e,r)&&(n[r]=t.copier(e[r],t));for(var i=OI(e),a=0,u=i.length,l=void 0;a<u;++a)l=i[a],wMe.call(e,l)&&(n[l]=t.copier(e[l],t));return n}var BMe=Wpe?LMe:IMe;function QMe(e,t){var n=bI(t.prototype);return t.cache.set(e,n),YC(e,n,t)}function Wk(e,t){return new t.Constructor(e.valueOf())}function zMe(e,t){var n=new t.Constructor(e.source,_Me(e));return n.lastIndex=e.lastIndex,n}function IE(e,t){return e}function t0e(e,t){var n=new t.Constructor;return t.cache.set(e,n),e.forEach(function(r){n.add(t.copier(r,t))}),n}function qMe(e,t){return YC(e,t0e(e,t),t)}var VMe=Array.isArray,SI=Object.assign,UMe=Object.getPrototypeOf||(function(e){return e.__proto__}),n0e={array:TMe,arrayBuffer:Jpe,blob:PMe,dataView:MMe,date:FMe,error:IE,map:e0e,object:BMe,regExp:zMe,set:t0e},jMe=SI({},n0e,{array:kMe,map:NMe,object:QMe,set:qMe});function ZMe(e){return{Arguments:e.object,Array:e.array,ArrayBuffer:e.arrayBuffer,Blob:e.blob,Boolean:Wk,DataView:e.dataView,Date:e.date,Error:e.error,Float32Array:e.arrayBuffer,Float64Array:e.arrayBuffer,Int8Array:e.arrayBuffer,Int16Array:e.arrayBuffer,Int32Array:e.arrayBuffer,Map:e.map,Number:Wk,Object:e.object,Promise:IE,RegExp:e.regExp,Set:e.set,String:Wk,WeakMap:IE,WeakSet:IE,Uint8Array:e.arrayBuffer,Uint8ClampedArray:e.arrayBuffer,Uint16Array:e.arrayBuffer,Uint32Array:e.arrayBuffer,Uint64Array:e.arrayBuffer}}function r0e(e){var t=SI({},n0e,e),n=ZMe(t),r=n.Array,i=n.Object;function a(u,l){if(l.prototype=l.Constructor=void 0,!u||typeof u!="object")return u;if(l.cache.has(u))return l.cache.get(u);if(l.prototype=UMe(u),l.Constructor=l.prototype&&l.prototype.constructor,!l.Constructor||l.Constructor===Object)return i(u,l);if(VMe(u))return r(u,l);var o=n[DMe(u)];return o?o(u,l):typeof u.then=="function"?u:i(u,l)}return function(l){return a(l,{Constructor:void 0,cache:OMe(),copier:a,prototype:void 0})}}function HMe(e){return r0e(SI({},jMe,e))}HMe({});var n$=r0e({});function GC(e,t,n){if(t.if!=null){if(t.if===!1)return t.else;if(t.if&&(t.then||t.else)){const r=e.validate(n,e.resolveRef(t.if));if(r.length===0&&t.then)return e.resolveRef(t.then);if(r.length!==0&&t.else)return e.resolveRef(t.else)}}}const XMe=(e,t,n,r)=>{const i=GC(e,t,n);if(i)return e.validate(n,i,r)};function i0e(e,t,n){var r;const i={...(r=e.resolveRef(t))!==null&&r!==void 0?r:{}},a=GC(e,i,n);return a||mS(i,"if","then","else")}function a0e(e,t,n=e.rootSchema){let r=n$(n);for(let i=0;i<n.allOf.length;i+=1){const a=i0e(e,n.allOf[i],t);r=nc(r,a)}return delete r.allOf,r}function u0e(e,t){const{allOf:n}=t;if(!Array.isArray(n)||n.length===0)return;let r={};return n.forEach(i=>{r=nc(r,e.resolveRef(i))}),r}const YMe=(e,t,n,r)=>{const{allOf:i}=t;if(!Array.isArray(i)||i.length===0)return;const a=[];return t.allOf.forEach(u=>{a.push(...e.validate(n,u,r))}),a};function l0e(e,t){return e==null||e.$ref==null?e:e.getRoot?e.getRoot().getRef(e):t.getRef(e)}function GMe(e){return e.filter((t,n)=>e.indexOf(t)===n)}function kv(e){return di(e)==="object"}function o0e(e,t,n){const{dependencies:r}=t;if(!kv(r)||!kv(n))return;let i=!1,a={required:[]};if(Object.keys(r).forEach(u=>{var l,o;if(n[u]==null&&!(!((l=t.required)===null||l===void 0)&&l.includes(u)||!((o=a.required)===null||o===void 0)&&o.includes(u)))return;const s=r[u];if(Array.isArray(s)){i=!0,a.required.push(...s);return}if(kv(s)){i=!0,a=nc(a,e.resolveRef(s));return}}),i)return a.required=GMe(a.required),a}const KMe=(e,t,n,r)=>{if(di(t.dependencies)!=="object")return;const i=[];return Object.keys(n).forEach(a=>{if(t.dependencies[a]===void 0||t.dependencies[a]===!0)return;if(t.dependencies[a]===!1){i.push(e.errors.missingDependencyError({pointer:r,schema:t,value:n}));return}let u;const l=di(t.dependencies[a]);if(l==="array")u=t.dependencies[a].filter(o=>n[o]===void 0).map(o=>e.errors.missingDependencyError({missingProperty:o,pointer:r,schema:t,value:n}));else if(l==="object")u=e.validate(n,t.dependencies[a],r);else throw new Error(`Invalid dependency definition for ${r}/${a}. Must be string[] or schema`);i.push(...u)}),i.length>0?i:void 0};function s0e(e,t,n){if(!Array.isArray(t.anyOf)||t.anyOf.length===0)return;let r;return t.anyOf.forEach(i=>{i=e.resolveRef(i),e.isValid(n,i)&&(r=r?nc(r,i):i)}),r}function c0e(e,t,n=e.rootSchema,r="#"){const{anyOf:i}=n;if(!Array.isArray(i)||i.length===0)return n;const a=s0e(e,n,t);if(a==null)return e.errors.anyOfError({pointer:r,schema:n,value:t,anyOf:JSON.stringify(i)});const u=nc(n,a);return mS(u,"anyOf")}const WMe=(e,t,n,r)=>{if(!(!Array.isArray(t.anyOf)||t.anyOf.length===0)){for(let i=0;i<t.anyOf.length;i+=1)if(e.isValid(n,t.anyOf[i]))return;return e.errors.anyOfError({pointer:r,schema:t,value:n,anyOf:t.anyOf})}},AH=["allOf","anyOf","oneOf","dependencies","if","then","else"],JMe=["allOf","anyOf","oneOf","dependencies","if"];function eFe(e){const t=Object.keys(e);return JMe.findIndex(n=>t.includes(n))!==-1}function X9(e,t,n,r){let i,a;if(t=e.resolveRef(t),t.oneOf){const c=vI(e,n,t,r);Hf(c)?a=c:c&&(i=nc(i??{},c))}if(Array.isArray(t.allOf)){const c=t.allOf.map(d=>{if(eFe(d)){let h=X9(e,d,n,r);return h?(h=nc(d,h),mS(h,...AH)):void 0}return d});if(c.length>0){const d=u0e(e,{allOf:c});i=nc(i??{},d)}}const u=s0e(e,t,n);u&&(i=nc(i??{},u));const l=o0e(e,t,n);l&&(i=nc(i??{},l));const o=GC(e,t,n);if(o&&(i=nc(i??{},o)),i==null)return a;const s=X9(e,i,n,r);return s&&(i=nc(i,s)),mS(i,...AH)}const tFe=["allOf","anyOf","oneOf","dependencies","if","then","else"];function TH(e,t,n,r){let i=X9(e,t,n,r);return i?(i=nc(t,i),mS(i,...tFe)):t}class f0e{constructor(t,n){this.remotes={},this.errors={},this.typeKeywords={},this.validateKeyword={},this.validateType={},this.validateFormat={},this.config=t,this.typeKeywords=n$(t.typeKeywords),this.validateKeyword=Object.assign({},t.validateKeyword),this.validateType=Object.assign({},t.validateType),this.validateFormat=Object.assign({},t.validateFormat),this.errors=Object.assign({},t.errors),this.setSchema(n)}get rootSchema(){return this.__rootSchema}set rootSchema(t){t!=null&&(this.__rootSchema=this.config.compileSchema(this,t))}addRemoteSchema(t,n){this.config.addRemoteSchema(this,t,n)}compileSchema(t){var n;return this.config.compileSchema(this,t,(n=this.rootSchema)!==null&&n!==void 0?n:t)}createSchemaOf(t){return this.config.createSchemaOf(t)}each(t,n,r,i){return this.config.each(this,t,n,r,i)}eachSchema(t,n=this.rootSchema){return this.config.eachSchema(n,t)}getChildSchemaSelection(t,n){return this.config.getChildSchemaSelection(this,t,n)}getSchema(t){return this.config.getSchema(this,t)}getTemplate(t,n,r=this.config.templateDefaultOptions){return this.config.getTemplate(this,t,n,r)}isValid(t,n,r){return this.config.isValid(this,t,n,r)}resolveAnyOf(t,n,r){return this.config.resolveAnyOf(this,t,n,r)}resolveAllOf(t,n){return this.config.resolveAllOf(this,t,n)}resolveRef(t){return this.config.resolveRef(t,this.rootSchema)}resolveOneOf(t,n,r){return this.config.resolveOneOf(this,t,n,r)}setSchema(t){this.rootSchema=t}step(t,n,r,i){return this.config.step(this,t,n,r,i)}validate(t,n,r){return this.config.validate(this,t,n,r)}}function d0e(e,t,n){n.id=n.id||t,e.remotes[t]=e.compileSchema(n)}var LE={exports:{}},nFe=LE.exports,kH;function rFe(){return kH||(kH=1,(function(e,t){(function(n,r){e.exports=r()})(typeof self<"u"?self:nFe,(()=>(()=>{var n={d:(N,V)=>{for(var W in V)n.o(V,W)&&!n.o(N,W)&&Object.defineProperty(N,W,{enumerable:!0,get:V[W]})},o:(N,V)=>Object.prototype.hasOwnProperty.call(N,V),r:N=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(N,"__esModule",{value:!0})}},r={};function i(N){return N==="#"||N===""||Array.isArray(N)&&N.length===0||!1}n.r(r),n.d(r,{default:()=>j,get:()=>h,isRoot:()=>i,join:()=>Z,remove:()=>R,removeUndefinedItems:()=>T,set:()=>x,split:()=>d,splitLast:()=>q});const a=/~1/g,u=/~0/g,l=/\/+/g,o=/(^[#/]*|\/+$)/g;function s(N){return N.replace(a,"/").replace(u,"~")}function c(N){return s(decodeURIComponent(N))}function d(N){if(N==null||typeof N!="string"||i(N))return Array.isArray(N)?N:[];const V=N.indexOf("#")>=0?c:s,W=(N=(N=N.replace(l,"/")).replace(o,"")).split("/");for(let G=0,J=W.length;G<J;G+=1)W[G]=V(W[G]);return W}function h(N,V,W=void 0){if(V==null||N==null)return W;if(i(V))return N;const G=m(N,d(V));return G===void 0?W:G}function m(N,V){const W=V.shift();if(N!==void 0)return W!==void 0?m(N[W],V):N}const y=/^\[.*\]$/,v=/^\[(.+)\]$/;function _(N,V){return N==="__proto__"||N=="constructor"&&V.length>0&&V[0]=="prototype"}function x(N,V,W){if(V==null)return N;const G=d(V);if(G.length===0)return N;N==null&&(N=y.test(G[0])?[]:{});let J,te,X=N;for(;G.length>1;)J=G.shift(),te=y.test(G[0]),_(J,G)||(X=w(X,J,te));return J=G.pop(),E(X,J,W),N}function E(N,V,W){let G;const J=V.match(v);V==="[]"&&Array.isArray(N)?N.push(W):J?(G=J.pop(),N[G]=W):N[V]=W}function w(N,V,W){if(N[V]!=null)return N[V];const G=W?[]:{};return E(N,V,G),G}function T(N){let V=0,W=0;for(;V+W<N.length;)N[V+W]===void 0&&(W+=1),N[V]=N[V+W],V+=1;return N.length=N.length-W,N}function R(N,V,W){const G=d(V),J=G.pop(),te=h(N,G);return te&&delete te[J],Array.isArray(te)&&W!==!0&&T(te),N}const C=/\/+/g,k=/~/g,F=/\//g;function z(N,V){if(N.length===0)return V?"#":"";for(let W=0,G=N.length;W<G;W+=1)N[W]=N[W].replace(k,"~0").replace(F,"~1"),V&&(N[W]=encodeURIComponent(N[W]));return((V?"#/":"/")+N.join("/")).replace(C,"/")}function Z(N,...V){const W=[];if(Array.isArray(N))return z(N,arguments[1]===!0);const G=arguments[arguments.length-1],J=typeof G=="boolean"?G:N&&N[0]==="#";for(let X=0,M=arguments.length;X<M;X+=1)W.push.apply(W,d(arguments[X]));const te=[];for(let X=0,M=W.length;X<M;X+=1)if(W[X]===".."){if(te.length===0)return J?"#":"";te.pop()}else te.push(W[X]);return z(te,J)}function q(N){const V=d(N);if(V.length===0)return typeof N=="string"&&N[0]==="#"?["#",V[0]]:["",void 0];if(V.length===1)return N[0]==="#"?["#",V[0]]:["",V[0]];const W=V.pop();return[Z(V,N[0]==="#"),W]}const j={get:h,set:x,remove:R,join:Z,split:d,splitLast:q,isRoot:i,removeUndefinedItems:T};return r})()))})(LE)),LE.exports}var C1=rFe();const gS=oa(C1);var U_={},qc={},G4={},PH;function iFe(){if(PH)return G4;PH=1,Object.defineProperty(G4,"__esModule",{value:!0}),G4.TokenError=void 0;let e=class extends Error{constructor(n,r){if(super(n),this.message=n,this.token=r,r&&r.errors)r.errors.push(this);else throw this}inspect(){return"SyntaxError: "+this.message}};return G4.TokenError=e,G4}var MH;function aFe(){if(MH)return qc;MH=1,Object.defineProperty(qc,"__esModule",{value:!0}),qc.Parser=qc.findRuleByName=qc.parseRuleName=qc.escapeRegExp=qc.readToken=void 0;const e=/^[A-Z0-9_]+$/,t=/(\?|\+|\*)$/,n=/^(@|&|!)/,r="WS",i=iFe();function a(v,_){let x=_.exec(v);return x&&x.index==0?x[0].length==0&&_.source.length>0?null:{type:null,text:x[0],rest:v.substr(x[0].length),start:0,end:x[0].length-1,fullText:x[0],errors:[],children:[],parent:null}:null}qc.readToken=a;function u(v){return v.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}qc.escapeRegExp=u;function l(v){v.rest="",v.children&&v.children.forEach(_=>l(_))}function o(v,_){v.start+=_,v.end+=_,v.children&&v.children.forEach(x=>o(x,v.start))}function s(v,_){_.errors&&_.errors.length&&_.errors.forEach(x=>v.push(x)),_.children&&_.children.forEach(x=>s(v,x))}function c(v){let _=t.exec(v),x=n.exec(v),E=_&&_[0]||"",w=x&&x[0]||"",T={raw:v,name:v.replace(t,"").replace(n,""),isOptional:E=="?"||E=="*",allowRepetition:E=="+"||E=="*",atLeastOne:E=="+",lookupPositive:w=="&",lookupNegative:w=="!",pinned:w=="@",lookup:!1,isLiteral:!1};return T.isLiteral=T.name[0]=="'"||T.name[0]=='"',T.lookup=T.lookupNegative||T.lookupPositive,T}qc.parseRuleName=c;function d(v,_){let x=c(v);return _.cachedRules[x.name]||null}qc.findRuleByName=d;function h(v,_){if(v.children){let x=v.children.filter(E=>E.type&&_.test(E.type));for(let E=0;E<x.length;E++){let w=v.children.indexOf(x[E]);w!=-1&&v.children.splice(w,1)}v.children.forEach(E=>h(E,_))}}const m=["EOF"];class y{constructor(_,x){this.grammarRules=_,this.options=x,this.cachedRules={},this.debug=x?x.debug===!0:!1;let E=[],w=[];if(_.forEach(T=>{let R=c(T.name);if(R.name in this.cachedRules){E.push("Duplicated rule "+R.name);return}else this.cachedRules[R.name]=T;if(!T.bnf||!T.bnf.length){let C="Missing rule content, rule: "+T.name;E.indexOf(C)==-1&&E.push(C)}else T.bnf.forEach(C=>{if(typeof C[0]=="string"&&c(C[0]).name==T.name){let F="Left recursion is not allowed, rule: "+T.name;E.indexOf(F)==-1&&E.push(F)}C.forEach(k=>{if(typeof k=="string"){let F=c(k);!F.isLiteral&&w.indexOf(F.name)==-1&&m.indexOf(F.name)==-1&&w.push(F.name)}})});r==T.name&&(T.implicitWs=!1),T.implicitWs&&w.indexOf(r)==-1&&w.push(r),T.recover&&w.indexOf(T.recover)==-1&&w.push(T.recover)}),w.forEach(T=>{T in this.cachedRules||E.push("Missing rule "+T)}),E.length)throw new Error(E.join(`
`))}getAST(_,x){x||(x=this.grammarRules.filter(w=>!w.fragment&&w.name.indexOf("%")!=0)[0].name);let E=this.parse(_,x);if(E){s(E.errors,E),o(E,0),h(E,/^%/),(!this.options||!this.options.keepUpperRules)&&h(E,e);let w=E.rest;w&&new i.TokenError(`Unexpected end of input: 
`+w,E),l(E),E.rest=w}return E}emitSource(){return"CANNOT EMIT SOURCE FROM BASE Parser"}parse(_,x,E=0){let w=null,T=c(x),R,C=this.debug&&!e.test(T.name);C&&console.log(new Array(E).join("│  ")+"Trying to get "+x+" from "+JSON.stringify(_.split(`
`)[0]));let k=T.name,F=d(T.name,this);if(T.name=="EOF"){if(_.length)return null;if(_.length==0)return{type:"EOF",text:"",rest:"",start:0,end:0,fullText:"",errors:[],children:[],parent:null}}try{if(!F&&T.isLiteral){let z=T.name.trim();if(z.startsWith('"')?z=JSON.parse(z):z.startsWith("'")&&(z=z.replace(/^'(.+)'$/,"$1").replace(/\\'/g,"'")),z==="")return{type:"%%EMPTY%%",text:"",rest:_,start:0,end:0,fullText:"",errors:[],children:[],parent:null};R=new RegExp(u(z)),k=null}}catch(z){return z instanceof ReferenceError&&console.error(z),null}if(R){let z=a(_,R);if(z)return z.type=k,z}else{let z=F.bnf;z instanceof Array&&z.forEach(Z=>{if(w)return;let q=null,j={type:T.name,text:"",children:[],end:0,errors:[],fullText:"",parent:null,start:0,rest:_};F.fragment&&(j.fragment=!0);let N=_,V=0,W=Z.length>0,G=!1;for(let J=0;J<Z.length;J++)if(typeof Z[J]=="string"){let te=c(Z[J]);W=W&&te.isOptional;let X,M=!1;do{if(X=null,F.implicitWs&&(X=this.parse(N,te.name,E+1),!X)){let K;do if(K=this.parse(N,r,E+1),K)j.text=j.text+K.text,j.end=j.text.length,K.parent=j,j.children.push(K),N=N.substr(K.text.length),V+=K.text.length;else break;while(K&&K.text.length)}if(X=X||this.parse(N,te.name,E+1),te.lookupNegative){if(X)return;break}if(te.lookupPositive&&!X)return;if(!X&&(te.isOptional||te.atLeastOne&&M))break;if(X&&F.pinned==J+1&&(q=X,C&&console.log(new Array(E+1).join("│  ")+"└─ "+X.type+" PINNED")),X||(X=this.parseRecovery(F,N,E+1)),!X)if(q)w=j,X={type:"SyntaxError",text:N,children:[],end:N.length,errors:[],fullText:"",parent:null,start:0,rest:""},N.length?new i.TokenError(`Unexpected end of input. Expecting ${te.name} Got: ${N}`,X):new i.TokenError(`Unexpected end of input. Missing ${te.name}`,X),C&&console.log(new Array(E+1).join("│  ")+"└─ "+X.type+" "+JSON.stringify(X.text));else return;if(M=!0,G=!0,X.type=="%%EMPTY%%")break;X.start+=V,X.end+=V,!te.lookupPositive&&X.type&&(X.fragment?X.children&&X.children.forEach(K=>{K.start+=V,K.end+=V,K.parent=j,j.children.push(K)}):(X.parent=j,j.children.push(X))),te.lookup&&(X.lookup=!0),C&&console.log(new Array(E+1).join("│  ")+"└─ "+X.type+" "+JSON.stringify(X.text)),!te.lookup&&!X.lookup&&(j.text=j.text+X.text,j.end=j.text.length,N=N.substr(X.text.length),V+=X.text.length),j.rest=N}while(X&&te.allowRepetition&&N.length&&!X.lookup)}else{let te=a(N,Z[J]);if(!te)return;C&&console.log(new Array(E+1).join("│  ")+"└> "+JSON.stringify(te.text)+Z[J].source),G=!0,te.start+=V,te.end+=V,j.text=j.text+te.text,j.end=j.text.length,N=N.substr(te.text.length),V+=te.text.length,j.rest=N}G&&(w=j,C&&console.log(new Array(E).join("│  ")+"├<─┴< PUSHING "+w.type+" "+JSON.stringify(w.text)))}),w&&F.simplifyWhenOneChildren&&w.children.length==1&&(w=w.children[0])}return w||C&&console.log(x+" NOT RESOLVED FROM "+_),w}parseRecovery(_,x,E){if(_.recover&&x.length){let w=this.debug;w&&console.log(new Array(E+1).join("│  ")+"Trying to recover until token "+_.recover+" from "+JSON.stringify(x.split(`
`)[0]+x.split(`
`)[1]));let T={type:"SyntaxError",text:"",children:[],end:0,errors:[],fullText:"",parent:null,start:0,rest:""},R;do if(R=this.parse(x,_.recover,E+1),R){new i.TokenError('Unexpected input: "'+T.text+`" Expecting: ${_.name}`,T);break}else T.text=T.text+x[0],T.end=T.text.length,x=x.substr(1);while(!R&&x.length>0);if(T.text.length>0&&R)return w&&console.log(new Array(E+1).join("│  ")+"Recovered text: "+JSON.stringify(T.text)),T}return null}}return qc.Parser=y,qc.default=y,qc}var FH;function uFe(){if(FH)return U_;FH=1,Object.defineProperty(U_,"__esModule",{value:!0});const e=aFe();var t;return(function(n){n.RULES=[{name:"Grammar",bnf:[["RULE_S*","%Atomic*","EOF"]]},{name:"%Atomic",bnf:[["Production","RULE_S*"]],fragment:!0},{name:"Production",bnf:[["NCName","RULE_S*",'"::="',"RULE_WHITESPACE*","Choice","RULE_WHITESPACE*","RULE_EOL+","RULE_S*"]]},{name:"NCName",bnf:[[/[a-zA-Z][a-zA-Z_0-9]*/]]},{name:"Choice",bnf:[["SequenceOrDifference","%_Choice_1*"]],fragment:!0},{name:"%_Choice_1",bnf:[["RULE_WHITESPACE*",'"|"',"RULE_WHITESPACE*","SequenceOrDifference"]],fragment:!0},{name:"SequenceOrDifference",bnf:[["Item","RULE_WHITESPACE*","%_Item_1?"]]},{name:"%_Item_1",bnf:[["Minus","Item"],["Item*"]],fragment:!0},{name:"Minus",bnf:[['"-"']]},{name:"Item",bnf:[["RULE_WHITESPACE*","%Primary","PrimaryDecoration?"]],fragment:!0},{name:"PrimaryDecoration",bnf:[['"?"'],['"*"'],['"+"']]},{name:"DecorationName",bnf:[['"ebnf://"',/[^\x5D#]+/]]},{name:"%Primary",bnf:[["NCName"],["StringLiteral"],["CharCode"],["CharClass"],["SubItem"]],fragment:!0},{name:"SubItem",bnf:[['"("',"RULE_WHITESPACE*","Choice","RULE_WHITESPACE*",'")"']]},{name:"StringLiteral",bnf:[[`'"'`,/[^"]*/,`'"'`],[`"'"`,/[^']*/,`"'"`]],pinned:1},{name:"CharCode",bnf:[['"#x"',/[0-9a-zA-Z]+/]]},{name:"CharClass",bnf:[["'['","'^'?","%RULE_CharClass_1+",'"]"']]},{name:"%RULE_CharClass_1",bnf:[["CharCodeRange"],["CharRange"],["CharCode"],["RULE_Char"]],fragment:!0},{name:"RULE_Char",bnf:[[/\x09/],[/\x0A/],[/\x0D/],[/[\x20-\x5c]/],[/[\x5e-\uD7FF]/],[/[\uE000-\uFFFD]/]]},{name:"CharRange",bnf:[["RULE_Char",'"-"',"RULE_Char"]]},{name:"CharCodeRange",bnf:[["CharCode",'"-"',"CharCode"]]},{name:"RULE_WHITESPACE",bnf:[["%RULE_WHITESPACE_CHAR*"],["Comment","RULE_WHITESPACE*"]]},{name:"RULE_S",bnf:[["RULE_WHITESPACE","RULE_S*"],["RULE_EOL","RULE_S*"]]},{name:"%RULE_WHITESPACE_CHAR",bnf:[[/\x09/],[/\x20/]],fragment:!0},{name:"Comment",bnf:[['"/*"',"%RULE_Comment_Body*",'"*/"']]},{name:"%RULE_Comment_Body",bnf:[['!"*/"',/[^*]/]],fragment:!0},{name:"RULE_EOL",bnf:[[/\x0D/,/\x0A/],[/\x0A/],[/\x0D/]]},{name:"Link",bnf:[["'['","Url","']'"]]},{name:"Url",bnf:[[/[^\x5D:/?#]/,'"://"',/[^\x5D#]+/,"%Url1?"]]},{name:"%Url1",bnf:[['"#"',"NCName"]],fragment:!0}],n.defaultParser=new e.Parser(n.RULES,{debug:!1});const r=/^(!|&)/,i=/(\?|\+|\*)$/,a=/^%/;function u(w,T){if(typeof w=="string"){if(r.test(w))return"";if(a.test(w)){let C=i.exec(w),k=C?C[0]+" ":"";return l(w,T)?s(w,T)+k:"("+s(w,T)+")"+k}return w}else return w.source.replace(/\\(?:x|u)([a-zA-Z0-9]+)/g,"#x$1").replace(/\[\\(?:x|u)([a-zA-Z0-9]+)-\\(?:x|u)([a-zA-Z0-9]+)\]/g,"[#x$1-#x$2]")}function l(w,T){let R=e.findRuleByName(w,T);return R&&R.bnf.length==1&&R.bnf[0].length==1&&(R.bnf[0][0]instanceof RegExp||R.bnf[0][0][0]=='"'||R.bnf[0][0][0]=="'")}function o(w,T){return w.map(R=>u(R,T)).join(" ")}function s(w,T){let R=e.findRuleByName(w,T);return R?R.bnf.map(C=>o(C,T)).join(" | "):"RULE_NOT_FOUND {"+w+"}"}function c(w){let T=[];return w.grammarRules.forEach(R=>{if(!/^%/.test(R.name)){let C=R.recover?" /* { recoverUntil="+R.recover+" } */":"";T.push(R.name+" ::= "+s(R.name,w)+C)}}),T.join(`
`)}n.emit=c;let d=0;function h(w,T){throw console.log("reberia restar "+T+" a "+w),new Error("Difference not supported yet")}function m(w){return new RegExp(w.replace(/#x([a-zA-Z0-9]{4})/g,"\\u$1").replace(/#x([a-zA-Z0-9]{3})/g,"\\u0$1").replace(/#x([a-zA-Z0-9]{2})/g,"\\x$1").replace(/#x([a-zA-Z0-9]{1})/g,"\\x0$1"))}function y(w,T,R){let C=null,k=[];return T.children.forEach((F,z)=>{F.type=="Minus"&&h(C,F);let Z=T.children[z+1];Z=Z&&Z.type=="PrimaryDecoration"&&Z.text||"";let q="";switch(F.type){case"SubItem":let j="%"+(R+d++);v(w,F,j),k.push(q+j+Z);break;case"NCName":case"StringLiteral":k.push(q+F.text+Z);break;case"CharCode":case"CharClass":if(Z||q){let N={name:"%"+(R+d++),bnf:[[m(F.text)]]};w.push(N),k.push(q+N.name+Z)}else k.push(m(F.text));break;case"PrimaryDecoration":break;default:throw new Error(" HOW SHOULD I PARSE THIS? "+F.type+" -> "+JSON.stringify(F.text))}C=F}),k}function v(w,T,R){let C=T.children.filter(z=>z.type=="SequenceOrDifference").map(z=>y(w,z,R)),k={name:R,bnf:C},F=null;C.forEach(z=>{F=F||z.recover,delete z.recover}),R.indexOf("%")==0&&(k.fragment=!0),F&&(k.recover=F),w.push(k)}function _(w,T=n.defaultParser){let R=T.getAST(w);if(!R)throw new Error("Could not parse "+w);if(R.errors&&R.errors.length)throw R.errors[0];let C=[];return R.children.filter(k=>k.type=="Production").map(k=>{let F=k.children.filter(z=>z.type=="NCName")[0].text;v(C,k,F)}),C}n.getRules=_;function x(w,T=n.defaultParser){return _(w.join(""),T)}n.Transform=x;class E extends e.Parser{constructor(T,R){const C=R&&R.debugRulesParser===!0?new e.Parser(n.RULES,{debug:!0}):n.defaultParser;super(_(T,C),R)}emitSource(){return c(this)}}n.Parser=E})(t||(t={})),U_.default=t,U_}var lFe=uFe();const oFe=oa(lFe),sFe="[^?/{}*,()#]+",cFe=`
root ::= ("#" recursion | recursion | (query | pattern) recursion* | "#" SEP? | SEP)
recursion ::= (SEP query | pattern)*

query ::= (ESC escaped ESC | property | all | any | regex) typecheck? lookahead?
property ::= ${sFe}
regex ::= "{" [^}]+ "}"
SEP ::= "/"
all ::= "**"
any ::= "*"

typecheck ::= "?:" ("value" | "boolean" | "string" | "number" | "object" | "array")
lookahead ::= "?" expression ((andExpr | orExpr) expression)*
andExpr ::= S? "&&" S?
orExpr ::= S? "||" S?

expression ::= (exprProperty | ESC escaped ESC) ((isnot | is) (exprProperty | regex | ESC escaped ESC))*
exprProperty ::= [a-zA-Z0-9-_ $]+
escaped ::= [^"]+
is ::= ":"
isnot ::= ":!"
ESC ::= '"'

pattern ::= S? "(" (SEP query | pattern (orPattern? pattern)*)* ")" quantifier? S? lookahead?
quantifier ::= "+" | "*" | [0-9]+
orPattern ::= S? "," S?

S ::= [ ]*
`,fFe=new oFe.Parser(cFe),dFe=e=>fFe.getAST(e),Kc=0,O3=3,r$=(e,t)=>`${e}/${t}`,h0e=Object.prototype.toString,hFe=/Object|Array/,Y9=e=>hFe.test(h0e.call(e)),pFe=e=>h0e.call(e).match(/\s([^\]]+)\]/).pop().toLowerCase();function p0e(e){return new RegExp(e.text.replace(/(^{|}$)/g,""))}function mFe(e,t){Array.isArray(e)?e.forEach(t):Object.prototype.toString.call(e)==="[object Object]"&&Object.keys(e).forEach(function(n){t(e[n],n,e)})}function NH(e){return Array.isArray(e)?e.map(function(t,n){return`${n}`}):Object.prototype.toString.call(e)==="[object Object]"?Object.keys(e):[]}const Pv={mem:[],get(e,t){const n=e[Kc][t];if(!Pv.mem.includes(n))return Y9(n)&&Pv.mem.push(n),[n,t,e[Kc],r$(e[O3],t)]},reset(){Pv.mem.length=0}},G9={any(e,t){const n=t[Kc];return NH(n).map(r=>[n[r],r,n,r$(t[O3],r)])},all(e,t){const n=[t];return mFe(t[Kc],(r,i)=>{const a=Pv.get(t,i);a&&n.push(...G9.all(e,a))}),n},regex(e,t){const n=p0e(e),r=t[Kc];return NH(r).filter(i=>n.test(i)).map(i=>[r[i],i,r,r$(t[O3],i)])}},i$={escaped:(e,t)=>i$.property(e,t),property:(e,t)=>{const n=e.text;if(t[Kc]&&t[Kc][n]!==void 0)return[t[Kc][n],n,t[Kc],r$(t[O3],n)]},typecheck:(e,t)=>{const n=e.text.replace(/^\?:/,"");if(n==="value")return Y9(t[Kc])?void 0:t;if(pFe(t[Kc])===n)return t},lookahead:(e,t)=>{let n=!0,r=!1;return e.children.forEach(i=>{if(i.type==="expression"){const a=i$.expression(i,t)!==void 0;n=r===!0?n||a:n&&a}else r=i.type==="orExpr"}),n?t:void 0},expression:(e,t)=>{const n=e.children[0].text,r=e.children[1],i=e.children[2],a=t[Kc];if(Y9(a)!==!1)return gFe(a[n],r,i)?t:void 0}};function gFe(e,t,n){if(t===void 0)return e!==void 0;let r;const i=`${e}`;return n.type==="regex"?r=p0e(n).test(i):r=i===n.text,t.type==="isnot"&&(r=r===!1&&e!==void 0),r}function vFe(e,t,n,r){const i=[];for(let a=0,u=t.length;a<u;a+=1)i.push(...e(n,t[a],n,r));return i}function yFe(e,t,n,r){const i=[];for(let a=0,u=t.length;a<u;a+=1){const l=e(n,t[a],r);l&&i.push(l)}return i}function bFe(e,t,n){let r=e;return t.children.forEach(i=>{if(G9[i.type])r=vFe(G9[i.type],r,i,n);else if(i$[i.type])r=yFe(i$[i.type],r,i,n);else throw new Error(`Unknown filter ${i.type}`)}),r}function OFe(e,t,n){const r=[];let i=e;return t.children.forEach(a=>{if(a.type==="orPattern"){r.push(...i),i=e;return}i=xI(i,a,n)}),r.push(...i),r}function SFe(e){if(e==null)return 1;if(e==="*"||e==="+")return 1/0;const t=parseInt(e);return isNaN(t)?1:t}function xFe(e,t,n){const r=[],i=t.children.find(o=>o.type==="quantifier"),a=SFe(i&&i.text);let u=e;i&&i.text==="*"&&r.push(...u);let l=0;for(;u.length>0&&l<a;)u=OFe(u,t,n),r.push(...u),l+=1;return r}function _Fe(e,t,n){let r=e;return t.children.forEach(i=>r=xI(r,i,n)),r}function xI(e,t,n){let r;return t.type==="query"?r=bFe(e,t,n):t.type==="pattern"?r=xFe(e,t,n):r=_Fe(e,t,n),Pv.reset(),Pv.mem.push(e),r}function EFe(e,t){return Pv.reset(),Pv.mem.push(e),xI([[e,null,null,"#"]],t)}const IH={value:e=>e.map(t=>t[Kc]),pointer:e=>e.map(t=>t[O3]),all:e=>e,map:e=>{const t={};return e.forEach(n=>t[n[O3]]=n[Kc]),t}};var eb;(function(e){e.POINTER="pointer",e.VALUE="value",e.ALL="all",e.MAP="map"})(eb||(eb={}));lx.POINTER=eb.POINTER;lx.VALUE=eb.VALUE;lx.ALL=eb.ALL;lx.MAP=eb.MAP;function lx(e,t,n=eb.VALUE){if(t==null)return[];t=t.replace(/(\/$)/g,""),t===""&&(t="#");const r=dFe(t);if(r==null)throw new Error(`empty ast for '${t}'`);if(r.rest!=="")throw new Error(`Failed parsing queryString from: '${r.rest}'`);const i=EFe(e,r);return typeof n=="function"?i.map(a=>n(...a)):IH[n]?IH[n](i):i}var a$;(function(e){e.REPLACE_ITEMS="replace",e.INSERT_ITEMS="insert"})(a$||(a$={}));a$.REPLACE_ITEMS;a$.INSERT_ITEMS;const Lm={$ref:{type:!1},allOf:{type:!1,definitions:["allOf/*"]},anyOf:{type:!1,definitions:["anyOf/*"]},array:{type:!0,definitions:["allOf/*","anyOf/*","oneOf/*","not","items","items/*","additionalItems"],validationKeywords:["minItems","maxItems","uniqueItems"],keywords:["items","additionalItems","minItems","maxItems","uniqueItems"]},boolean:{type:!0},enum:{type:!1},integer:{type:!0,definitions:["allOf/*","anyOf/*","oneOf/*","not"],validationKeywords:["minimum","maximum","multipleOf"]},not:{type:!1,definitions:["not"]},number:{type:!0,definitions:["allOf/*","anyOf/*","oneOf/*","not"],validationKeywords:["minimum","maximum","multipleOf"]},null:{type:!0},object:{type:!0,definitions:["allOf/*","anyOf/*","oneOf/*","not","properties/*","additionalProperties","patternProperties/*","dependencies/*"],validationKeywords:["minProperties","maxProperties","required"],keywords:["properties","additionalProperties","patternProperties","dependencies","minProperties","maxProperties","required"]},oneOf:{type:!1,definitions:["oneOf/*"]},string:{type:!0,definitions:["allOf/*","anyOf/*","oneOf/*","not"],validationKeywords:["minLength","maxLength","pattern"]}},DFe=Object.keys(Lm).filter(e=>Lm[e].type===!1),LH=Object.prototype.hasOwnProperty;function BH(e){if(kv(e)===!1)return;if(e.enum)return"enum";const t=e.type;if(Array.isArray(t)||Lm[t])return t;const n=DFe.filter(r=>e[r]);if(n.length===1)return n[0];if(n.length===0){for(let r=0,i=Lm.object.keywords.length;r<i;r+=1){const a=Lm.object.keywords[r];if(LH.call(e,a))return"object"}for(let r=0,i=Lm.array.keywords.length;r<i;r+=1){const a=Lm.array.keywords[r];if(LH.call(e,a))return"array"}return}throw new Error(`Mutiple typeIds [${n.join(", ")}] matched in ${JSON.stringify(e)}`)}function $Fe(e){const t=[],n=BH(e);if(n==null)return t;let r;if(Array.isArray(n)){r={};for(let i=0,a=n.length;i<a;i+=1)Object.assign(r,Lm[n[i]])}else r=Lm[n];return r.definitions==null||r.definitions.forEach(i=>{lx(e,i,(a,u,l,o)=>{kv(a)&&BH(a)&&t.push({pointer:gS.join(gS.split(o),!1),def:a})})}),t}function CFe(e,t){if(this.callback(e,t)===!0)return;$Fe(e).forEach(r=>this.nextTypeDefs(r.def,gS.join(t,r.pointer,!1)))}function j_(e,t,n,r="definitions"){const i=t[r];Object.keys(i).forEach(a=>{if(i[a]===!1||kv(i[a])){e.nextTypeDefs(i[a],gS.join(n,r,a,!1));return}})}function KC(e,t,n="#"){const r={callback:t,nextTypeDefs:CFe};r.nextTypeDefs(e,n),e.definitions!=null&&(r.callback=(i,a)=>{t(i,a),i.definitions!=null&&j_(r,i,a)},j_(r,e,n)),e.$defs!=null&&(r.callback=(i,a)=>{t(i,a),i.definitions!=null&&j_(r,i,a)},j_(r,e,n,"$defs"))}const wFe=/(#|\/)+$/,Z_=/#$/,RFe=/^[^:]+:\/\/[^/]+\//,AFe=/\/[^/]*$/,TFe=/#.*$/;function u$(e,t){return e==null&&t==null?"#":t==null?e.replace(Z_,""):e==null?t.replace(Z_,""):t[0]==="#"?`${e.replace(TFe,"")}${t.replace(wFe,"")}`:RFe.test(t)?t.replace(Z_,""):`${e.replace(AFe,"")}/${t.replace(Z_,"")}`}const K4=/(#|\/)+$/g,kFe=["",null,"#"];function PFe(e){if(kFe.includes(e))return[];if(e=e.replace(K4,""),e.indexOf("#")===-1)return[e.replace(K4,"")];if(e.indexOf("#")===0)return[e.replace(K4,"")];const t=e.split("#");return t[0]=t[0].replace(K4,""),t[1]=`#${t[1].replace(K4,"")}`,t}const MFe=/(#|\/)+$/g,FFe=e=>di(e)==="object";function Pm(e,t,n){if(FFe(n)&&(n=n.__ref||n.$ref),n==null)return t;let r;const i=n.replace(MFe,"");if(e.remotes[i])return r=e.remotes[i],r&&r.$ref?Pm(e,t,r.$ref):r;if(e.ids[n])return r=C1.get(t,e.ids[n]),r&&r.$ref?Pm(e,t,r.$ref):r;const a=PFe(n);if(a.length===0)return t;if(a.length===1){if(n=a[0],e.remotes[n])return r=e.remotes[n],Pm(e,t,r.$ref);if(e.ids[n])return r=C1.get(t,e.ids[n]),r&&r.$ref?Pm(e,t,r.$ref):r}if(a.length===2){const u=a[0];if(n=a[1],e.remotes[u])return e.remotes[u].getRef?e.remotes[u].getRef(n):Pm(e,e.remotes[u],n);if(e.ids[u])return Pm(e,C1.get(t,e.ids[u]),n)}return r=C1.get(t,e.ids[n]||n),r&&r.$ref?Pm(e,t,r.$ref):r}const QH="__compiled",zH="__ref",NFe="getRef",IFe="getRoot",LFe=/(#|\/)+$/g;function BFe(e,t,n=t,r=!1){if(!t||t[QH]!==void 0)return t;const i={ids:{},remotes:e.remotes},a=JSON.stringify(t),u=JSON.parse(a);if(Object.defineProperty(u,QH,{enumerable:!1,value:!0}),Object.defineProperty(u,NFe,{enumerable:!1,value:Pm.bind(null,i,u)}),r===!1&&a.includes("$ref")===!1)return u;t!==n&&Object.defineProperty(u,"definitions",{enumerable:!1,value:Object.assign({},n.definitions,n.$defs,t.definitions,t.$defs)});const l={},o=()=>u;return KC(u,(s,c)=>{var d;if(s.id){if(s.id.startsWith("http")&&/(allOf|anyOf|oneOf)\/\d+$/.test(c)){const _=c.replace(/\/(allOf|anyOf|oneOf)\/\d+$/,""),x=C1.get(u,_);s.id=(d=x.id)!==null&&d!==void 0?d:s.id}i.ids[s.id.replace(LFe,"")]=c}c=`#${c}`.replace(/##+/,"#");const h=c.replace(/\/[^/]+$/,""),m=c.replace(/\/[^/]+\/[^/]+$/,""),y=l[h]||l[m],v=u$(y,s.id);l[c]=v,i.ids[v]==null&&(i.ids[v]=c),s.$ref&&!s[zH]&&(Object.defineProperty(s,zH,{enumerable:!1,value:u$(v,s.$ref)}),Object.defineProperty(s,IFe,{enumerable:!1,value:o}))}),u}function m0e(e,t,n,r=e.rootSchema,i="#"){r=e.resolveRef(r),n(r,t,i);const a=di(t);a==="object"?Object.keys(t).forEach(u=>{const l=e.step(u,r,t,i),o=t[u];e.each(o,n,l,`${i}/${u}`)}):a==="array"&&t.forEach((u,l)=>{const o=e.step(l,r,t,i);e.each(u,n,o,`${i}/${l}`)})}const g0e={additionalItemsError:Dn("AdditionalItemsError"),additionalPropertiesError:Dn("AdditionalPropertiesError"),anyOfError:Dn("AnyOfError"),allOfError:Dn("AllOfError"),constError:Dn("ConstError"),containsError:Dn("ContainsError"),containsArrayError:Dn("ContainsArrayError"),containsAnyError:Dn("ContainsAnyError"),enumError:Dn("EnumError"),forbiddenPropertyError:Dn("ForbiddenPropertyError"),formatURLError:Dn("FormatURLError"),formatURIError:Dn("FormatURIError"),formatURIReferenceError:Dn("FormatURIReferenceError"),formatURITemplateError:Dn("FormatURITemplateError"),formatDateError:Dn("FormatDateError"),formatDateTimeError:Dn("FormatDateTimeError"),formatEmailError:Dn("FormatEmailError"),formatHostnameError:Dn("FormatHostnameError"),formatIPV4Error:Dn("FormatIPV4Error"),formatIPV4LeadingZeroError:Dn("FormatIPV4LeadingZeroError"),formatIPV6Error:Dn("FormatIPV6Error"),formatIPV6LeadingZeroError:Dn("FormatIPV6LeadingZeroError"),formatJsonPointerError:Dn("FormatJsonPointerError"),formatRegExError:Dn("FormatRegExError"),formatTimeError:Dn("FormatTimeError"),invalidSchemaError:Dn("InvalidSchemaError"),invalidDataError:Dn("InvalidDataError"),invalidTypeError:Dn("InvalidTypeError"),invalidPropertyNameError:Dn("InvalidPropertyNameError"),maximumError:Dn("MaximumError"),maxItemsError:Dn("MaxItemsError"),maxLengthError:Dn("MaxLengthError"),maxPropertiesError:Dn("MaxPropertiesError"),minimumError:Dn("MinimumError"),minItemsError:Dn("MinItemsError"),minItemsOneError:Dn("MinItemsOneError"),minLengthError:Dn("MinLengthError"),minLengthOneError:Dn("MinLengthOneError"),minPropertiesError:Dn("MinPropertiesError"),missingDependencyError:Dn("MissingDependencyError"),missingOneOfPropertyError:Dn("MissingOneOfPropertyError"),multipleOfError:Dn("MultipleOfError"),multipleOneOfError:Dn("MultipleOneOfError"),noAdditionalPropertiesError:Dn("NoAdditionalPropertiesError"),notError:Dn("NotError"),oneOfError:Dn("OneOfError"),oneOfPropertyError:Dn("OneOfPropertyError"),patternError:Dn("PatternError"),patternPropertiesError:Dn("PatternPropertiesError"),requiredPropertyError:Dn("RequiredPropertyError"),schemaWarning:Dn("SchemaWarning"),typeError:Dn("TypeError"),undefinedValueError:Dn("UndefinedValueError"),uniqueItemsError:Dn("UniqueItemsError"),unknownPropertyError:Dn("UnknownPropertyError"),valueNotEmptyError:Dn("ValueNotEmptyError")};var Jk={exports:{}},qH;function QFe(){return qH||(qH=1,(function(e){(function(t){t.exports.is_uri=r,t.exports.is_http_uri=i,t.exports.is_https_uri=a,t.exports.is_web_uri=u,t.exports.isUri=r,t.exports.isHttpUri=i,t.exports.isHttpsUri=a,t.exports.isWebUri=u;var n=function(l){var o=l.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/);return o};function r(l){if(l&&!/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(l)&&!/%[^0-9a-f]/i.test(l)&&!/%[0-9a-f](:?[^0-9a-f]|$)/i.test(l)){var o=[],s="",c="",d="",h="",m="",y="";if(o=n(l),s=o[1],c=o[2],d=o[3],h=o[4],m=o[5],!!(s&&s.length&&d.length>=0)){if(c&&c.length){if(!(d.length===0||/^\//.test(d)))return}else if(/^\/\//.test(d))return;if(/^[a-z][a-z0-9\+\-\.]*$/.test(s.toLowerCase()))return y+=s+":",c&&c.length&&(y+="//"+c),y+=d,h&&h.length&&(y+="?"+h),m&&m.length&&(y+="#"+m),y}}}function i(l,o){if(r(l)){var s=[],c="",d="",h="",m="",y="",v="",_="";if(s=n(l),c=s[1],d=s[2],h=s[3],y=s[4],v=s[5],!!c){if(o){if(c.toLowerCase()!="https")return}else if(c.toLowerCase()!="http")return;if(d)return/:(\d+)$/.test(d)&&(m=d.match(/:(\d+)$/)[0],d=d.replace(/:\d+$/,"")),_+=c+":",_+="//"+d,m&&(_+=m),_+=h,y&&y.length&&(_+="?"+y),v&&v.length&&(_+="#"+v),_}}}function a(l){return i(l,!0)}function u(l){return i(l)||a(l)}})(e)})(Jk)),Jk.exports}var zFe=QFe();const VH=oa(zFe);var Ks={},BE={exports:{}},qFe=BE.exports,UH;function VFe(){return UH||(UH=1,(function(e){(function(t,n){e.exports?e.exports=n():t.nearley=n()})(qFe,function(){function t(s,c,d){return this.id=++t.highestId,this.name=s,this.symbols=c,this.postprocess=d,this}t.highestId=0,t.prototype.toString=function(s){var c=typeof s>"u"?this.symbols.map(o).join(" "):this.symbols.slice(0,s).map(o).join(" ")+" ● "+this.symbols.slice(s).map(o).join(" ");return this.name+" → "+c};function n(s,c,d,h){this.rule=s,this.dot=c,this.reference=d,this.data=[],this.wantedBy=h,this.isComplete=this.dot===s.symbols.length}n.prototype.toString=function(){return"{"+this.rule.toString(this.dot)+"}, from: "+(this.reference||0)},n.prototype.nextState=function(s){var c=new n(this.rule,this.dot+1,this.reference,this.wantedBy);return c.left=this,c.right=s,c.isComplete&&(c.data=c.build(),c.right=void 0),c},n.prototype.build=function(){var s=[],c=this;do s.push(c.right.data),c=c.left;while(c.left);return s.reverse(),s},n.prototype.finish=function(){this.rule.postprocess&&(this.data=this.rule.postprocess(this.data,this.reference,u.fail))};function r(s,c){this.grammar=s,this.index=c,this.states=[],this.wants={},this.scannable=[],this.completed={}}r.prototype.process=function(s){for(var c=this.states,d=this.wants,h=this.completed,m=0;m<c.length;m++){var y=c[m];if(y.isComplete){if(y.finish(),y.data!==u.fail){for(var v=y.wantedBy,_=v.length;_--;){var x=v[_];this.complete(x,y)}if(y.reference===this.index){var E=y.rule.name;(this.completed[E]=this.completed[E]||[]).push(y)}}}else{var E=y.rule.symbols[y.dot];if(typeof E!="string"){this.scannable.push(y);continue}if(d[E]){if(d[E].push(y),h.hasOwnProperty(E))for(var w=h[E],_=0;_<w.length;_++){var T=w[_];this.complete(y,T)}}else d[E]=[y],this.predict(E)}}},r.prototype.predict=function(s){for(var c=this.grammar.byName[s]||[],d=0;d<c.length;d++){var h=c[d],m=this.wants[s],y=new n(h,0,this.index,m);this.states.push(y)}},r.prototype.complete=function(s,c){var d=s.nextState(c);this.states.push(d)};function i(s,c){this.rules=s,this.start=c||this.rules[0].name;var d=this.byName={};this.rules.forEach(function(h){d.hasOwnProperty(h.name)||(d[h.name]=[]),d[h.name].push(h)})}i.fromCompiled=function(h,c){var d=h.Lexer;h.ParserStart&&(c=h.ParserStart,h=h.ParserRules);var h=h.map(function(y){return new t(y.name,y.symbols,y.postprocess)}),m=new i(h,c);return m.lexer=d,m};function a(){this.reset("")}a.prototype.reset=function(s,c){this.buffer=s,this.index=0,this.line=c?c.line:1,this.lastLineBreak=c?-c.col:0},a.prototype.next=function(){if(this.index<this.buffer.length){var s=this.buffer[this.index++];return s===`
`&&(this.line+=1,this.lastLineBreak=this.index),{value:s}}},a.prototype.save=function(){return{line:this.line,col:this.index-this.lastLineBreak}},a.prototype.formatError=function(s,c){var d=this.buffer;if(typeof d=="string"){var h=d.split(`
`).slice(Math.max(0,this.line-5),this.line),m=d.indexOf(`
`,this.index);m===-1&&(m=d.length);var y=this.index-this.lastLineBreak,v=String(this.line).length;return c+=" at line "+this.line+" col "+y+`:

`,c+=h.map(function(x,E){return _(this.line-h.length+E+1,v)+" "+x},this).join(`
`),c+=`
`+_("",v+y)+`^
`,c}else return c+" at index "+(this.index-1);function _(x,E){var w=String(x);return Array(E-w.length+1).join(" ")+w}};function u(s,c,d){if(s instanceof i)var h=s,d=c;else var h=i.fromCompiled(s,c);this.grammar=h,this.options={keepHistory:!1,lexer:h.lexer||new a};for(var m in d||{})this.options[m]=d[m];this.lexer=this.options.lexer,this.lexerState=void 0;var y=new r(h,0);this.table=[y],y.wants[h.start]=[],y.predict(h.start),y.process(),this.current=0}u.fail={},u.prototype.feed=function(s){var c=this.lexer;c.reset(s,this.lexerState);for(var d;;){try{if(d=c.next(),!d)break}catch(k){var v=new r(this.grammar,this.current+1);this.table.push(v);var h=new Error(this.reportLexerError(k));throw h.offset=this.current,h.token=k.token,h}var m=this.table[this.current];this.options.keepHistory||delete this.table[this.current-1];var y=this.current+1,v=new r(this.grammar,y);this.table.push(v);for(var _=d.text!==void 0?d.text:d.value,x=c.constructor===a?d.value:d,E=m.scannable,w=E.length;w--;){var T=E[w],R=T.rule.symbols[T.dot];if(R.test?R.test(x):R.type?R.type===d.type:R.literal===_){var C=T.nextState({data:x,token:d,isToken:!0,reference:y-1});v.states.push(C)}}if(v.process(),v.states.length===0){var h=new Error(this.reportError(d));throw h.offset=this.current,h.token=d,h}this.options.keepHistory&&(m.lexerState=c.save()),this.current++}return m&&(this.lexerState=c.save()),this.results=this.finish(),this},u.prototype.reportLexerError=function(s){var c,d,h=s.token;return h?(c="input "+JSON.stringify(h.text[0])+" (lexer error)",d=this.lexer.formatError(h,"Syntax error")):(c="input (lexer error)",d=s.message),this.reportErrorCommon(d,c)},u.prototype.reportError=function(s){var c=(s.type?s.type+" token: ":"")+JSON.stringify(s.value!==void 0?s.value:s),d=this.lexer.formatError(s,"Syntax error");return this.reportErrorCommon(d,c)},u.prototype.reportErrorCommon=function(s,c){var d=[];d.push(s);var h=this.table.length-2,m=this.table[h],y=m.states.filter(function(_){var x=_.rule.symbols[_.dot];return x&&typeof x!="string"});if(y.length===0)d.push("Unexpected "+c+`. I did not expect any more input. Here is the state of my parse table:
`),this.displayStateStack(m.states,d);else{d.push("Unexpected "+c+`. Instead, I was expecting to see one of the following:
`);var v=y.map(function(_){return this.buildFirstStateStack(_,[])||[_]},this);v.forEach(function(_){var x=_[0],E=x.rule.symbols[x.dot],w=this.getSymbolDisplay(E);d.push("A "+w+" based on:"),this.displayStateStack(_,d)},this)}return d.push(""),d.join(`
`)},u.prototype.displayStateStack=function(s,c){for(var d,h=0,m=0;m<s.length;m++){var y=s[m],v=y.rule.toString(y.dot);v===d?h++:(h>0&&c.push("    ^ "+h+" more lines identical to this"),h=0,c.push("    "+v)),d=v}},u.prototype.getSymbolDisplay=function(s){return l(s)},u.prototype.buildFirstStateStack=function(s,c){if(c.indexOf(s)!==-1)return null;if(s.wantedBy.length===0)return[s];var d=s.wantedBy[0],h=[s].concat(c),m=this.buildFirstStateStack(d,h);return m===null?null:[s].concat(m)},u.prototype.save=function(){var s=this.table[this.current];return s.lexerState=this.lexerState,s},u.prototype.restore=function(s){var c=s.index;this.current=c,this.table[c]=s,this.table.splice(c+1),this.lexerState=s.lexerState,this.results=this.finish()},u.prototype.rewind=function(s){if(!this.options.keepHistory)throw new Error("set option `keepHistory` to enable rewinding");this.restore(this.table[s])},u.prototype.finish=function(){var s=[],c=this.grammar.start,d=this.table[this.table.length-1];return d.states.forEach(function(h){h.rule.name===c&&h.dot===h.rule.symbols.length&&h.reference===0&&h.data!==u.fail&&s.push(h)}),s.map(function(h){return h.data})};function l(s){var c=typeof s;if(c==="string")return s;if(c==="object"){if(s.literal)return JSON.stringify(s.literal);if(s instanceof RegExp)return"character matching "+s;if(s.type)return s.type+" token";if(s.test)return"token matching "+String(s.test);throw new Error("Unknown symbol type: "+s)}}function o(s){var c=typeof s;if(c==="string")return s;if(c==="object"){if(s.literal)return JSON.stringify(s.literal);if(s instanceof RegExp)return s.toString();if(s.type)return"%"+s.type;if(s.test)return"<"+String(s.test)+">";throw new Error("Unknown symbol type: "+s)}}return{Parser:u,Grammar:i,Rule:t}})})(BE)),BE.exports}var H_={},jH;function UFe(){if(jH)return H_;jH=1,Object.defineProperty(H_,"__esModule",{value:!0});function e(i){return i[0]}const t=i=>[].concat(...i.map(a=>Array.isArray(a)?t(a):a));function n(i){return i?Array.isArray(i)?t(i).join(""):i:""}const r={Lexer:void 0,ParserRules:[{name:"Reverse_path",symbols:["Path"]},{name:"Reverse_path$string$1",symbols:[{literal:"<"},{literal:">"}],postprocess:i=>i.join("")},{name:"Reverse_path",symbols:["Reverse_path$string$1"]},{name:"Forward_path$subexpression$1$subexpression$1",symbols:[{literal:"<"},/[pP]/,/[oO]/,/[sS]/,/[tT]/,/[mM]/,/[aA]/,/[sS]/,/[tT]/,/[eE]/,/[rR]/,{literal:"@"}],postprocess:function(i){return i.join("")}},{name:"Forward_path$subexpression$1",symbols:["Forward_path$subexpression$1$subexpression$1","Domain",{literal:">"}]},{name:"Forward_path",symbols:["Forward_path$subexpression$1"]},{name:"Forward_path$subexpression$2",symbols:[{literal:"<"},/[pP]/,/[oO]/,/[sS]/,/[tT]/,/[mM]/,/[aA]/,/[sS]/,/[tT]/,/[eE]/,/[rR]/,{literal:">"}],postprocess:function(i){return i.join("")}},{name:"Forward_path",symbols:["Forward_path$subexpression$2"]},{name:"Forward_path",symbols:["Path"]},{name:"Path$ebnf$1$subexpression$1",symbols:["A_d_l",{literal:":"}]},{name:"Path$ebnf$1",symbols:["Path$ebnf$1$subexpression$1"],postprocess:e},{name:"Path$ebnf$1",symbols:[],postprocess:()=>null},{name:"Path",symbols:[{literal:"<"},"Path$ebnf$1","Mailbox",{literal:">"}]},{name:"A_d_l$ebnf$1",symbols:[]},{name:"A_d_l$ebnf$1$subexpression$1",symbols:[{literal:","},"At_domain"]},{name:"A_d_l$ebnf$1",symbols:["A_d_l$ebnf$1","A_d_l$ebnf$1$subexpression$1"],postprocess:i=>i[0].concat([i[1]])},{name:"A_d_l",symbols:["At_domain","A_d_l$ebnf$1"]},{name:"At_domain",symbols:[{literal:"@"},"Domain"]},{name:"Domain$ebnf$1",symbols:[]},{name:"Domain$ebnf$1$subexpression$1",symbols:[{literal:"."},"sub_domain"]},{name:"Domain$ebnf$1",symbols:["Domain$ebnf$1","Domain$ebnf$1$subexpression$1"],postprocess:i=>i[0].concat([i[1]])},{name:"Domain",symbols:["sub_domain","Domain$ebnf$1"]},{name:"sub_domain",symbols:["U_label"]},{name:"Let_dig",symbols:["ALPHA_DIGIT"],postprocess:e},{name:"Ldh_str$ebnf$1",symbols:[]},{name:"Ldh_str$ebnf$1",symbols:["Ldh_str$ebnf$1","ALPHA_DIG_DASH"],postprocess:i=>i[0].concat([i[1]])},{name:"Ldh_str",symbols:["Ldh_str$ebnf$1","Let_dig"]},{name:"U_Let_dig",symbols:["ALPHA_DIGIT_U"],postprocess:e},{name:"U_Ldh_str$ebnf$1",symbols:[]},{name:"U_Ldh_str$ebnf$1",symbols:["U_Ldh_str$ebnf$1","ALPHA_DIG_DASH_U"],postprocess:i=>i[0].concat([i[1]])},{name:"U_Ldh_str",symbols:["U_Ldh_str$ebnf$1","U_Let_dig"]},{name:"U_label$ebnf$1$subexpression$1",symbols:["U_Ldh_str"]},{name:"U_label$ebnf$1",symbols:["U_label$ebnf$1$subexpression$1"],postprocess:e},{name:"U_label$ebnf$1",symbols:[],postprocess:()=>null},{name:"U_label",symbols:["U_Let_dig","U_label$ebnf$1"]},{name:"address_literal$subexpression$1",symbols:["IPv4_address_literal"]},{name:"address_literal$subexpression$1",symbols:["IPv6_address_literal"]},{name:"address_literal$subexpression$1",symbols:["General_address_literal"]},{name:"address_literal",symbols:[{literal:"["},"address_literal$subexpression$1",{literal:"]"}]},{name:"non_local_part",symbols:["Domain"],postprocess:function(i){return{DomainName:n(i[0])}}},{name:"non_local_part",symbols:["address_literal"],postprocess:function(i){return{AddressLiteral:n(i[0])}}},{name:"Mailbox",symbols:["Local_part",{literal:"@"},"non_local_part"],postprocess:function(i){return{localPart:n(i[0]),domainPart:n(i[2])}}},{name:"Local_part",symbols:["Dot_string"],postprocess:function(i){return{DotString:n(i[0])}}},{name:"Local_part",symbols:["Quoted_string"],postprocess:function(i){return{QuotedString:n(i[0])}}},{name:"Dot_string$ebnf$1",symbols:[]},{name:"Dot_string$ebnf$1$subexpression$1",symbols:[{literal:"."},"Atom"]},{name:"Dot_string$ebnf$1",symbols:["Dot_string$ebnf$1","Dot_string$ebnf$1$subexpression$1"],postprocess:i=>i[0].concat([i[1]])},{name:"Dot_string",symbols:["Atom","Dot_string$ebnf$1"]},{name:"Atom$ebnf$1",symbols:[/[0-9A-Za-z!#$%&'*+\-/=?^_`{|}~\u0080-\uFFFF/]/]},{name:"Atom$ebnf$1",symbols:["Atom$ebnf$1",/[0-9A-Za-z!#$%&'*+\-/=?^_`{|}~\u0080-\uFFFF/]/],postprocess:i=>i[0].concat([i[1]])},{name:"Atom",symbols:["Atom$ebnf$1"]},{name:"Quoted_string$ebnf$1",symbols:[]},{name:"Quoted_string$ebnf$1",symbols:["Quoted_string$ebnf$1","QcontentSMTP"],postprocess:i=>i[0].concat([i[1]])},{name:"Quoted_string",symbols:["DQUOTE","Quoted_string$ebnf$1","DQUOTE"]},{name:"QcontentSMTP",symbols:["qtextSMTP"]},{name:"QcontentSMTP",symbols:["quoted_pairSMTP"]},{name:"quoted_pairSMTP",symbols:[{literal:"\\"},/[\x20-\x7e]/]},{name:"qtextSMTP",symbols:[/[\x20-\x21\x23-\x5b\x5d-\x7e\u0080-\uFFFF]/],postprocess:e},{name:"IPv4_address_literal$macrocall$2",symbols:[{literal:"."},"Snum"]},{name:"IPv4_address_literal$macrocall$1",symbols:["IPv4_address_literal$macrocall$2","IPv4_address_literal$macrocall$2","IPv4_address_literal$macrocall$2"]},{name:"IPv4_address_literal",symbols:["Snum","IPv4_address_literal$macrocall$1"]},{name:"IPv6_address_literal$subexpression$1",symbols:[/[iI]/,/[pP]/,/[vV]/,{literal:"6"},{literal:":"}],postprocess:function(i){return i.join("")}},{name:"IPv6_address_literal",symbols:["IPv6_address_literal$subexpression$1","IPv6_addr"]},{name:"General_address_literal$ebnf$1",symbols:["dcontent"]},{name:"General_address_literal$ebnf$1",symbols:["General_address_literal$ebnf$1","dcontent"],postprocess:i=>i[0].concat([i[1]])},{name:"General_address_literal",symbols:["Standardized_tag",{literal:":"},"General_address_literal$ebnf$1"]},{name:"Standardized_tag",symbols:["Ldh_str"]},{name:"dcontent",symbols:[/[\x21-\x5a\x5e-\x7e]/],postprocess:e},{name:"Snum",symbols:["DIGIT"]},{name:"Snum$subexpression$1",symbols:[/[1-9]/,"DIGIT"]},{name:"Snum",symbols:["Snum$subexpression$1"]},{name:"Snum$subexpression$2",symbols:[{literal:"1"},"DIGIT","DIGIT"]},{name:"Snum",symbols:["Snum$subexpression$2"]},{name:"Snum$subexpression$3",symbols:[{literal:"2"},/[0-4]/,"DIGIT"]},{name:"Snum",symbols:["Snum$subexpression$3"]},{name:"Snum$subexpression$4",symbols:[{literal:"2"},{literal:"5"},/[0-5]/]},{name:"Snum",symbols:["Snum$subexpression$4"]},{name:"IPv6_addr",symbols:["IPv6_full"]},{name:"IPv6_addr",symbols:["IPv6_comp"]},{name:"IPv6_addr",symbols:["IPv6v4_full"]},{name:"IPv6_addr",symbols:["IPv6v4_comp"]},{name:"IPv6_hex",symbols:["HEXDIG"]},{name:"IPv6_hex$subexpression$1",symbols:["HEXDIG","HEXDIG"]},{name:"IPv6_hex",symbols:["IPv6_hex$subexpression$1"]},{name:"IPv6_hex$subexpression$2",symbols:["HEXDIG","HEXDIG","HEXDIG"]},{name:"IPv6_hex",symbols:["IPv6_hex$subexpression$2"]},{name:"IPv6_hex$subexpression$3",symbols:["HEXDIG","HEXDIG","HEXDIG","HEXDIG"]},{name:"IPv6_hex",symbols:["IPv6_hex$subexpression$3"]},{name:"IPv6_full$macrocall$2",symbols:[{literal:":"},"IPv6_hex"]},{name:"IPv6_full$macrocall$1",symbols:["IPv6_full$macrocall$2","IPv6_full$macrocall$2","IPv6_full$macrocall$2","IPv6_full$macrocall$2","IPv6_full$macrocall$2","IPv6_full$macrocall$2","IPv6_full$macrocall$2"]},{name:"IPv6_full",symbols:["IPv6_hex","IPv6_full$macrocall$1"]},{name:"IPv6_comp$ebnf$1$subexpression$1$macrocall$2",symbols:[{literal:":"},"IPv6_hex"]},{name:"IPv6_comp$ebnf$1$subexpression$1$macrocall$1",symbols:["IPv6_comp$ebnf$1$subexpression$1$macrocall$2","IPv6_comp$ebnf$1$subexpression$1$macrocall$2","IPv6_comp$ebnf$1$subexpression$1$macrocall$2","IPv6_comp$ebnf$1$subexpression$1$macrocall$2","IPv6_comp$ebnf$1$subexpression$1$macrocall$2"]},{name:"IPv6_comp$ebnf$1$subexpression$1",symbols:["IPv6_hex","IPv6_comp$ebnf$1$subexpression$1$macrocall$1"]},{name:"IPv6_comp$ebnf$1",symbols:["IPv6_comp$ebnf$1$subexpression$1"],postprocess:e},{name:"IPv6_comp$ebnf$1",symbols:[],postprocess:()=>null},{name:"IPv6_comp$string$1",symbols:[{literal:":"},{literal:":"}],postprocess:i=>i.join("")},{name:"IPv6_comp$ebnf$2$subexpression$1$macrocall$2",symbols:[{literal:":"},"IPv6_hex"]},{name:"IPv6_comp$ebnf$2$subexpression$1$macrocall$1",symbols:["IPv6_comp$ebnf$2$subexpression$1$macrocall$2","IPv6_comp$ebnf$2$subexpression$1$macrocall$2","IPv6_comp$ebnf$2$subexpression$1$macrocall$2","IPv6_comp$ebnf$2$subexpression$1$macrocall$2","IPv6_comp$ebnf$2$subexpression$1$macrocall$2"]},{name:"IPv6_comp$ebnf$2$subexpression$1",symbols:["IPv6_hex","IPv6_comp$ebnf$2$subexpression$1$macrocall$1"]},{name:"IPv6_comp$ebnf$2",symbols:["IPv6_comp$ebnf$2$subexpression$1"],postprocess:e},{name:"IPv6_comp$ebnf$2",symbols:[],postprocess:()=>null},{name:"IPv6_comp",symbols:["IPv6_comp$ebnf$1","IPv6_comp$string$1","IPv6_comp$ebnf$2"]},{name:"IPv6v4_full$macrocall$2",symbols:[{literal:":"},"IPv6_hex"]},{name:"IPv6v4_full$macrocall$1",symbols:["IPv6v4_full$macrocall$2","IPv6v4_full$macrocall$2","IPv6v4_full$macrocall$2","IPv6v4_full$macrocall$2","IPv6v4_full$macrocall$2"]},{name:"IPv6v4_full",symbols:["IPv6_hex","IPv6v4_full$macrocall$1",{literal:":"},"IPv4_address_literal"]},{name:"IPv6v4_comp$ebnf$1$subexpression$1$macrocall$2",symbols:[{literal:":"},"IPv6_hex"]},{name:"IPv6v4_comp$ebnf$1$subexpression$1$macrocall$1",symbols:["IPv6v4_comp$ebnf$1$subexpression$1$macrocall$2","IPv6v4_comp$ebnf$1$subexpression$1$macrocall$2","IPv6v4_comp$ebnf$1$subexpression$1$macrocall$2"]},{name:"IPv6v4_comp$ebnf$1$subexpression$1",symbols:["IPv6_hex","IPv6v4_comp$ebnf$1$subexpression$1$macrocall$1"]},{name:"IPv6v4_comp$ebnf$1",symbols:["IPv6v4_comp$ebnf$1$subexpression$1"],postprocess:e},{name:"IPv6v4_comp$ebnf$1",symbols:[],postprocess:()=>null},{name:"IPv6v4_comp$string$1",symbols:[{literal:":"},{literal:":"}],postprocess:i=>i.join("")},{name:"IPv6v4_comp$ebnf$2$subexpression$1$macrocall$2",symbols:[{literal:":"},"IPv6_hex"]},{name:"IPv6v4_comp$ebnf$2$subexpression$1$macrocall$1",symbols:["IPv6v4_comp$ebnf$2$subexpression$1$macrocall$2","IPv6v4_comp$ebnf$2$subexpression$1$macrocall$2","IPv6v4_comp$ebnf$2$subexpression$1$macrocall$2"]},{name:"IPv6v4_comp$ebnf$2$subexpression$1",symbols:["IPv6_hex","IPv6v4_comp$ebnf$2$subexpression$1$macrocall$1",{literal:":"}]},{name:"IPv6v4_comp$ebnf$2",symbols:["IPv6v4_comp$ebnf$2$subexpression$1"],postprocess:e},{name:"IPv6v4_comp$ebnf$2",symbols:[],postprocess:()=>null},{name:"IPv6v4_comp",symbols:["IPv6v4_comp$ebnf$1","IPv6v4_comp$string$1","IPv6v4_comp$ebnf$2","IPv4_address_literal"]},{name:"DIGIT",symbols:[/[0-9]/],postprocess:e},{name:"ALPHA_DIGIT_U",symbols:[/[0-9A-Za-z\u0080-\uFFFF]/],postprocess:e},{name:"ALPHA_DIGIT",symbols:[/[0-9A-Za-z]/],postprocess:e},{name:"ALPHA_DIG_DASH",symbols:[/[-0-9A-Za-z]/],postprocess:e},{name:"ALPHA_DIG_DASH_U",symbols:[/[-0-9A-Za-z\u0080-\uFFFF]/],postprocess:e},{name:"HEXDIG",symbols:[/[0-9A-Fa-f]/],postprocess:e},{name:"DQUOTE",symbols:[{literal:'"'}],postprocess:e}],ParserStart:"Reverse_path"};return H_.default=r,H_}var ZH;function jFe(){if(ZH)return Ks;ZH=1;var e=Ks&&Ks.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(Ks,"__esModule",{value:!0}),Ks.canonicalize=Ks.canonicalize_quoted_string=Ks.normalize=Ks.normalize_dot_string=Ks.parse=void 0;const t=VFe(),n=e(UFe());n.default.ParserStart="Mailbox";const r=t.Grammar.fromCompiled(n.default);function i(s){const c=new t.Parser(r);if(c.feed(s),c.results.length!==1)throw new Error("address parsing failed: ambiguous grammar");return c.results[0]}Ks.parse=i;function a(s){return(function(){const h=s.indexOf("+");return h===-1?s:s.substr(0,h)})().replace(/\./g,"").toLowerCase()}Ks.normalize_dot_string=a;function u(s){var c,d;const h=i(s),m=(c=h.domainPart.AddressLiteral)!==null&&c!==void 0?c:h.domainPart.DomainName.toLowerCase();return`${(d=h.localPart.QuotedString)!==null&&d!==void 0?d:a(h.localPart.DotString)}@${m}`}Ks.normalize=u;function l(s){return`"${s.substr(1).substr(0,s.length-2).replace(/(?:\\(.))/g,"$1").replace(/(?:(["\\]))/g,"\\$1")}"`}Ks.canonicalize_quoted_string=l;function o(s){var c;const d=i(s),h=(c=d.domainPart.AddressLiteral)!==null&&c!==void 0?c:d.domainPart.DomainName.toLowerCase();return`${d.localPart.QuotedString?l(d.localPart.QuotedString):d.localPart.DotString}@${h}`}return Ks.canonicalize=o,Ks}var ZFe=jFe();const HFe=new RegExp("^([0-9]+)-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[Tt]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\\.[0-9]+)?(([Zz])|([\\+|\\-]([01][0-9]|2[0-3]):[0-5][0-9]))$"),XFe=/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,YFe=/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,GFe=/^(?=.{1,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$/,KFe=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,WFe=/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,JFe=[0,31,28,31,30,31,30,31,31,30,31,30,31],eNe=/^(?:\/(?:[^~/]|~0|~1)*)*$/,tNe=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,nNe=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,rNe=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,v0e={date:(e,t,n,r)=>{if(typeof n!="string"||n==="")return;const i=n.match(KFe);if(!i)return e.errors.formatDateTimeError({value:n,pointer:r,schema:t});const a=+i[1],u=+i[2],l=+i[3],o=a%4===0&&(a%100!==0||a%400===0);if(!(u>=1&&u<=12&&l>=1&&l<=(u==2&&o?29:JFe[u])))return e.errors.formatDateError({value:n,pointer:r,schema:t})},"date-time":(e,t,n,r)=>{if(!(typeof n!="string"||n===""))return n===""||HFe.test(n)?new Date(n).toString()==="Invalid Date"?e.errors.formatDateTimeError({value:n,pointer:r,schema:t}):void 0:e.errors.formatDateTimeError({value:n,pointer:r,schema:t})},email:(e,t,n,r)=>{if(typeof n!="string"||n==="")return;if(n[0]==='"')return e.errors.formatEmailError({value:n,pointer:r,schema:t});const[i,a,...u]=n.split("@");if(!i||!a||u.length!==0||i.length>64||a.length>253)return e.errors.formatEmailError({value:n,pointer:r,schema:t});if(i[0]==="."||i.endsWith(".")||i.includes(".."))return e.errors.formatEmailError({value:n,pointer:r,schema:t});if(!/^[a-z0-9.-]+$/i.test(a)||!/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+$/i.test(i))return e.errors.formatEmailError({value:n,pointer:r,schema:t});if(!a.split(".").every(l=>/^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$/i.test(l)))return e.errors.formatEmailError({value:n,pointer:r,schema:t})},"idn-email":(e,t,n,r)=>{if(!(typeof n!="string"||n===""))try{ZFe.parse(n);return}catch{return e.errors.formatEmailError({value:n,pointer:r,schema:t})}},hostname:(e,t,n,r)=>{if(typeof n=="string"&&!(n===""||GFe.test(n)))return e.errors.formatHostnameError({value:n,pointer:r,schema:t})},ipv4:(e,t,n,r)=>{if(!(typeof n!="string"||n==="")){if(n&&n[0]==="0")return e.errors.formatIPV4LeadingZeroError({value:n,pointer:r,schema:t});if(!(n.length<=15&&XFe.test(n)))return e.errors.formatIPV4Error({value:n,pointer:r,schema:t})}},ipv6:(e,t,n,r)=>{if(!(typeof n!="string"||n==="")){if(n&&n[0]==="0")return e.errors.formatIPV6LeadingZeroError({value:n,pointer:r,schema:t});if(!(n.length<=45&&YFe.test(n)))return e.errors.formatIPV6Error({value:n,pointer:r,schema:t})}},"json-pointer":(e,t,n,r)=>{if(!(typeof n!="string"||n==="")&&!eNe.test(n))return e.errors.formatJsonPointerError({value:n,pointer:r,schema:t})},"relative-json-pointer":(e,t,n,r)=>{if(!(typeof n!="string"||n==="")&&!tNe.test(n))return e.errors.formatJsonPointerError({value:n,pointer:r,schema:t})},regex:(e,t,n,r)=>{if(typeof n=="string"&&/\\Z$/.test(n)===!1){try{new RegExp(n);return}catch{}return e.errors.formatRegExError({value:n,pointer:r,schema:t})}if(!(typeof n=="object"||typeof n=="number"||Array.isArray(n)))return e.errors.formatRegExError({value:n,pointer:r,schema:t})},time:(e,t,n,r)=>typeof n!="string"||n===""||n.match(WFe)?void 0:e.errors.formatDateTimeError({value:n,pointer:r,schema:t}),uri:(e,t,n,r)=>{if(!(typeof n!="string"||n==="")&&!VH.isUri(n))return e.errors.formatURIError({value:n,pointer:r,schema:t})},"uri-reference":(e,t,n,r)=>{if(!(typeof n!="string"||n==="")&&!nNe.test(n))return e.errors.formatURIReferenceError({value:n,pointer:r,schema:t})},"uri-template":(e,t,n,r)=>{if(!(typeof n!="string"||n==="")&&!rNe.test(n))return e.errors.formatURITemplateError({value:n,pointer:r,schema:t})},url:(e,t,n,r)=>{if(!(n===""||VH.isWebUri(n)))return e.errors.formatURLError({value:n,pointer:r,schema:t})}},y0e={};function b0e(e,t=y0e){const{pointer:n="#",data:r,schema:i=e.rootSchema,withSchemaWarning:a=!1}=t,u=gS.split(n),l=O0e(e,e.resolveRef(i),u,"#",r);if(!(!a&&(l==null?void 0:l.code)==="schema-warning"))return l}function O0e(e,t,n,r,i=y0e){if(n.length===0)return e.resolveRef(t);const a=n.shift();return t=e.step(a,t,i,r),Hf(t)?t:(i=i[a],O0e(e,t,n,`${r}/${a}`,i))}function iNe(e){switch(di(e)){case"string":case"array":return(e==null?void 0:e.length)===0;case"null":case"undefined":return!0;case"object":return Object.keys(e).length===0;default:return!1}}const HH=V3.templateDefaultOptions;let Bm;function eP(e,t){const{$ref:n}=e;return n==null?!0:(Bm[t]==null||Bm[t][n]==null?0:Bm[t][n])<V3.GET_TEMPLATE_RECURSION_LIMIT}function XH(e,t,n){const{$ref:r}=t;return r==null?t:(Bm[n]=Bm[n]||{},Bm[n][r]=Bm[n][r]||0,Bm[n][r]+=1,e.resolveRef(t))}function aNe(e,t){if(e==="string")return JSON.stringify(t);if(typeof t!="string")return null;try{if(t=JSON.parse(t),typeof t===e)return t}catch{}return null}function S0e(e,t,n,r,i){if(di(t)!=="object")return Object.assign({pointer:r},t);if(eP(t,r)===!1&&n==null)return!1;let a=n$(XH(e,t,r));if(Array.isArray(t.anyOf)&&t.anyOf.length>0){if(eP(t.anyOf[0],`${r}/anyOf/0`)){const u=XH(e,t.anyOf[0],`${r}/anyOf/0`);a=yI(a,u),a.pointer=t.anyOf[0].$ref||a.pointer}delete a.anyOf}if(Array.isArray(t.allOf)&&t.allOf.map((l,o)=>eP(l,`${r}/allOf/${o}`)).reduceRight((l,o)=>l&&o,!0)){const l=[];let o=n$(n);for(let c=0;c<t.allOf.length;c+=1)l.push(i0e(e,t.allOf[c],o)),o=Zh(e,o,{type:t.type,...l[c]},`${r}/allOf/${c}`,i);const s=u0e(e,{allOf:l});s&&(a=nc(a,s))}return a.pointer=a.pointer||t.$ref||r,a}const YH=e=>e&&typeof e=="object";function Zh(e,t,n,r,i){var a;if(n==null)throw new Error(`getTemplate: missing schema for data: ${JSON.stringify(t)}`);if(r==null)throw new Error("Missing pointer");let u=S0e(e,n,t,r,i);if(!YH(u))return;if(r=u.pointer,u!=null&&u.const)return u.const;if(Array.isArray(u.oneOf))if(iNe(t)){const c=u.oneOf[0].type||u.type||u.const&&typeof u.const||di(t);u={...u.oneOf[0],type:c}}else{const c=vI(e,t,u);if(Hf(c)){if(t!=null&&i.removeInvalidData!==!0)return t;u=u.oneOf[0],t=void 0}else c.type=(a=c.type)!==null&&a!==void 0?a:u.type,u=c}if(!YH(u)||u.type==null)return;if(t instanceof File)return t;const l=Array.isArray(u.type)?uNe(u.type,t,u.default):u.type,o=di(t);return t!=null&&o!==l&&!(o==="number"&&l==="integer")&&(t=aNe(l,t)),GH[l]==null?i.removeInvalidData?void 0:t:GH[l](e,u,t,r,i)}function uNe(e,t,n){if(t==null){if(n!=null){const i=di(n);if(e.includes(i))return i}return e[0]}const r=di(t);return e.includes(r)?r:e[0]}const GH={null:(e,t,n)=>W4(t,n,null),string:(e,t,n)=>W4(t,n,""),number:(e,t,n)=>W4(t,n,0),integer:(e,t,n)=>W4(t,n,0),boolean:(e,t,n)=>W4(t,n,!1),object:(e,t,n,r,i)=>{var a;const u=t.default===void 0?{}:t.default,l={},o=i.extendDefaults===!1&&t.default!==void 0?[]:(a=t.required)!==null&&a!==void 0?a:[];t.properties&&Object.keys(t.properties).forEach(d=>{const h=n==null||n[d]==null?u[d]:n[d],m=o.includes(d);(h!=null||m||i.addOptionalProps)&&(l[d]=Zh(e,h,t.properties[d],`${r}/properties/${d}`,i))});let s=o0e(e,t,l);if(s){s=nc(t,s),delete s.dependencies;const d=Zh(e,n,s,`${r}/dependencies`,i);Object.assign(l,d)}n&&(i.removeInvalidData===!0&&(t.additionalProperties===!1||di(t.additionalProperties)==="object")?di(t.additionalProperties)==="object"&&Object.keys(n).forEach(d=>{l[d]==null&&e.isValid(n[d],t.additionalProperties)&&(l[d]=n[d])}):Object.keys(n).forEach(d=>l[d]==null&&(l[d]=n[d])));const c=GC(e,t,l);if(c){const d=Zh(e,l,{type:"object",...c},r,i);Object.assign(l,d)}return l},array:(e,t,n,r,i)=>{var a,u;if(t.items==null)return n||[];const l=t.default===void 0?[]:t.default,o=n||l,s=i.extendDefaults===!1&&t.default!==void 0?0:t.minItems||0;if(Array.isArray(t.items)){for(let d=0,h=Math.max(s??0,(u=(a=t.items)===null||a===void 0?void 0:a.length)!==null&&u!==void 0?u:0);d<h;d+=1)o[d]=Zh(e,o[d]==null?l[d]:o[d],t.items[d],`${r}/items/${d}`,i);return o}if(di(t.items)!=="object")return o;const c=S0e(e,t.items,n,r,i);if(c===!1)return o;if(r=c.pointer||r,c.oneOf&&o.length===0){const d=c.oneOf[0];for(let h=0;h<s;h+=1)o[h]=Zh(e,o[h]==null?l[h]:o[h],d,`${r}/oneOf/0`,i);return o}if(c.oneOf&&o.length>0){const d=Math.max(s,o.length);for(let h=0;h<d;h+=1){let m=o[h]==null?l[h]:o[h],y=vI(e,m,c);y==null||Hf(y)?m!=null&&i.removeInvalidData!==!0?o[h]=m:(m=void 0,y=c.oneOf[0],o[h]=Zh(e,m,y,`${r}/oneOf/${h}`,i)):o[h]=Zh(e,m,y,`${r}/oneOf/${h}`,i)}return o}if(c.type){for(let d=0,h=Math.max(s,o.length);d<h;d+=1)o[d]=Zh(e,o[d]==null?l[d]:o[d],c,`${r}/items`,i);return o}return o}};function W4(e,t,n){return t??(e.const?e.const:e.default===void 0&&Array.isArray(e.enum)?e.enum[0]:e.default===void 0?n:e.default)}const x0e=(e,t,n=e.rootSchema,r)=>(Bm={},r?Zh(e,t,n,"#",{...HH,...r}):Zh(e,t,n,"#",HH));function _0e(e,t,n=e.rootSchema,r="#"){return e.validate(t,n,r).length===0}function KH(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const a=e.charCodeAt(n++);(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}function WH(e){const t=`${e}`,n=t.indexOf(".");return n===-1?0:t.length-(n+1)}var tP,JH;function lNe(){return JH||(JH=1,tP=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var u=a[i];if(!e(t[u],n[u]))return!1}return!0}return t!==t&&n!==n}),tP}var oNe=lNe();const E0e=oa(oNe),sNe=Object.prototype.hasOwnProperty,eX=(e,t)=>!(e[t]===void 0||!sNe.call(e,t)),D0e={additionalProperties:(e,t,n,r)=>{if(t.additionalProperties===!0||t.additionalProperties==null||di(t.patternProperties)==="object"&&t.additionalProperties===!1)return;const i=[];let a=Object.keys(n).filter(l=>V3.propertyBlacklist.includes(l)===!1);const u=Object.keys(t.properties||{});if(di(t.patternProperties)==="object"){const l=Object.keys(t.patternProperties).map(o=>new RegExp(o));a=a.filter(o=>{for(let s=0;s<l.length;s+=1)if(l[s].test(o))return!1;return!0})}for(let l=0,o=a.length;l<o;l+=1){const s=a[l];if(u.indexOf(s)===-1){const c=kv(t.additionalProperties);if(c&&Array.isArray(t.additionalProperties.oneOf)){const d=e.resolveOneOf(n[s],t.additionalProperties,`${r}/${s}`);Hf(d)?i.push(e.errors.additionalPropertiesError({pointer:r,schema:t.additionalProperties,value:n,property:a[l],properties:u,errors:d.data.errors})):i.push(...e.validate(n[s],d,r))}else c?i.push(...e.validate(n[s],t.additionalProperties,`${r}/${s}`)):i.push(e.errors.noAdditionalPropertiesError({pointer:r,schema:t,value:n,property:a[l],properties:u}))}}return i},allOf:YMe,anyOf:WMe,dependencies:KMe,enum:(e,t,n,r)=>{const i=di(n);if(i==="object"||i==="array"){const a=JSON.stringify(n);for(let u=0;u<t.enum.length;u+=1)if(JSON.stringify(t.enum[u])===a)return}else if(t.enum.includes(n))return;return e.errors.enumError({pointer:r,schema:t,value:n,values:t.enum})},format:(e,t,n,r)=>{if(e.validateFormat[t.format])return e.validateFormat[t.format](e,t,n,r)},items:(e,t,n,r)=>{if(t.items===!1)return Array.isArray(n)&&n.length===0?void 0:e.errors.invalidDataError({pointer:r,value:n,schema:t});const i=[];for(let a=0;a<n.length;a+=1){const u=n[a],l=e.step(a,t,n,r);if(Hf(l))return[l];const o=e.validate(u,l,`${r}/${a}`);i.push(...o)}return i},maximum:(e,t,n,r)=>{if(!isNaN(t.maximum)){if(t.maximum&&t.maximum<n)return e.errors.maximumError({maximum:t.maximum,length:n,value:n,pointer:r,schema:t});if(t.maximum&&t.exclusiveMaximum===!0&&t.maximum===n)return e.errors.maximumError({maximum:t.maximum,length:n,pointer:r,schema:t,value:n})}},maxItems:(e,t,n,r)=>{if(!isNaN(t.maxItems)&&t.maxItems<n.length)return e.errors.maxItemsError({maximum:t.maxItems,length:n.length,schema:t,value:n,pointer:r})},maxLength:(e,t,n,r)=>{if(isNaN(t.maxLength))return;const i=KH(n).length;if(t.maxLength<i)return e.errors.maxLengthError({maxLength:t.maxLength,length:i,pointer:r,schema:t,value:n})},maxProperties:(e,t,n,r)=>{const i=Object.keys(n).length;if(isNaN(t.maxProperties)===!1&&t.maxProperties<i)return e.errors.maxPropertiesError({maxProperties:t.maxProperties,length:i,pointer:r,schema:t,value:n})},minLength:(e,t,n,r)=>{if(isNaN(t.minLength))return;const i=KH(n).length;if(t.minLength>i)return t.minLength===1?e.errors.minLengthOneError({minLength:t.minLength,length:i,pointer:r,schema:t,value:n}):e.errors.minLengthError({minLength:t.minLength,length:i,pointer:r,schema:t,value:n})},minimum:(e,t,n,r)=>{if(!isNaN(t.minimum)){if(t.minimum>n)return e.errors.minimumError({minimum:t.minimum,length:n,pointer:r,schema:t,value:n});if(t.exclusiveMinimum===!0&&t.minimum===n)return e.errors.minimumError({minimum:t.minimum,length:n,pointer:r,schema:t,value:n})}},minItems:(e,t,n,r)=>{if(!isNaN(t.minItems)&&t.minItems>n.length)return t.minItems===1?e.errors.minItemsOneError({minItems:t.minItems,length:n.length,pointer:r,schema:t,value:n}):e.errors.minItemsError({minItems:t.minItems,length:n.length,pointer:r,schema:t,value:n})},minProperties:(e,t,n,r)=>{if(isNaN(t.minProperties))return;const i=Object.keys(n).length;if(t.minProperties>i)return e.errors.minPropertiesError({minProperties:t.minProperties,length:i,pointer:r,schema:t,value:n})},multipleOf:(e,t,n,r)=>{if(isNaN(t.multipleOf)||typeof n!="number")return;const i=WH(n),a=WH(t.multipleOf);if(i>a)return e.errors.multipleOfError({multipleOf:t.multipleOf,value:n,pointer:r,schema:t});const u=Math.pow(10,a),l=Math.round(n*u),o=Math.round(t.multipleOf*u);if(l%o/u!==0)return e.errors.multipleOfError({multipleOf:t.multipleOf,value:n,pointer:r,schema:t})},not:(e,t,n,r)=>{const i=[];return e.validate(n,t.not,r).length===0&&i.push(e.errors.notError({value:n,not:t.not,pointer:r,schema:t})),i},oneOf:sMe,pattern:(e,t,n,r)=>{if(new RegExp(t.pattern,"u").test(n)===!1)return e.errors.patternError({pattern:t.pattern,description:t.patternExample||t.pattern,received:n,schema:t,value:n,pointer:r})},patternProperties:(e,t,n,r)=>{const i=t.properties||{},a=t.patternProperties;if(di(a)!=="object")return;const u=[],l=Object.keys(n),o=Object.keys(a).map(s=>({regex:new RegExp(s),patternSchema:a[s]}));return l.forEach(s=>{let c=!1;for(let d=0,h=o.length;d<h;d+=1)if(o[d].regex.test(s)){c=!0;const m=e.validate(n[s],o[d].patternSchema,`${r}/${s}`);m&&m.length>0&&u.push(...m)}i[s]||c===!1&&t.additionalProperties===!1&&u.push(e.errors.patternPropertiesError({key:s,pointer:r,schema:t,value:n,patterns:Object.keys(a).join(",")}))}),u},properties:(e,t,n,r)=>{const i=[],a=Object.keys(t.properties||{});for(let u=0;u<a.length;u+=1){const l=a[u];if(eX(n,l)){const o=e.step(l,t,n,r),s=e.validate(n[l],o,`${r}/${l}`);i.push(...s)}}return i},propertiesRequired:(e,t,n,r)=>{const i=[],a=Object.keys(t.properties||{});for(let u=0;u<a.length;u+=1){const l=a[u];if(n[l]===void 0)i.push(e.errors.requiredPropertyError({key:l,pointer:r,schema:t,value:n}));else{const o=e.step(l,t,n,r),s=e.validate(n[l],o,`${r}/${l}`);i.push(...s)}}return i},required:(e,t,n,r)=>{if(Array.isArray(t.required)!==!1)return t.required.map(i=>{if(!eX(n,i))return e.errors.requiredPropertyError({key:i,pointer:r,schema:t,value:n})})},requiredNotEmpty:(e,t,n,r)=>{if(Array.isArray(t.required)!==!1)return t.required.map(i=>{if(n[i]==null||n[i]==="")return e.errors.valueNotEmptyError({property:i,pointer:`${r}/${i}`,schema:t,value:n})})},uniqueItems:(e,t,n,r)=>{if((Array.isArray(n)&&t.uniqueItems)===!1)return;const i=[],a=[];return n.forEach((u,l)=>{for(let o=l+1;o<n.length;o+=1)E0e(u,n[o])&&!i.includes(o)&&(a.push(e.errors.uniqueItemsError({pointer:`${r}/${o}`,duplicatePointer:`${r}/${l}`,arrayPointer:r,value:JSON.stringify(u),schema:t})),i.push(o))}),a}};function d0(e){if(e===void 0)return;const t={type:di(e)};return t.type==="object"&&kv(e)&&(t.properties={},Object.keys(e).forEach(n=>t.properties[n]=d0(e[n]))),t.type==="array"&&Array.isArray(e)&&(e.length===1?t.items=d0(e[0]):t.items=e.map(d0)),t}const cNe={array:(e,t,n,r,i)=>{const a=r==null?void 0:r[t],u=di(n.items);if(u==="object")return TH(e,n.items,a,`${i}/${t}`)||e.resolveRef(n.items);if(u==="array"){if(n.items[t]===!0)return d0(a);if(n.items[t]===!1)return e.errors.invalidDataError({key:t,value:a,pointer:i,schema:n});if(n.items[t])return e.resolveRef(n.items[t]);if(n.additionalItems===!1)return e.errors.additionalItemsError({key:t,value:a,pointer:i,schema:n});if(n.additionalItems===!0||n.additionalItems===void 0)return d0(a);if(di(n.additionalItems)==="object")return n.additionalItems;throw new Error(`Invalid schema ${JSON.stringify(n,null,2)} for ${JSON.stringify(r,null,2)}`)}return n.additionalItems!==!1&&a?d0(a):new Error(`Invalid array schema for ${t} at ${i}`)},object:(e,t,n,r,i)=>{var a;n=TH(e,n,r,i);const u=(a=n==null?void 0:n.properties)===null||a===void 0?void 0:a[t];if(u!==void 0){if(u===!1)return e.errors.forbiddenPropertyError({property:t,value:r,pointer:i,schema:n});if(u===!0)return d0(r==null?void 0:r[t]);const s=e.resolveRef(u);if(Hf(s))return s;if(s&&Array.isArray(s.oneOf)){const c=e.resolveOneOf(r[t],s,`${i}/${t}`);for(const d in s)d!=="oneOf"&&c[d]===void 0&&(c[d]=s[d]);return c}if(s)return s}const{patternProperties:l}=n;if(di(l)==="object"){let s;const c=Object.keys(l);for(let d=0,h=c.length;d<h;d+=1)if(s=new RegExp(c[d]),s.test(t))return l[c[d]]}const{additionalProperties:o}=n;return di(o)==="object"?n.additionalProperties:r&&(o===void 0||o===!0)?d0(r[t]):e.errors.unknownPropertyError({property:t,value:r,pointer:`${i}`,schema:n})}};function $0e(e,t,n,r,i="#"){var a;const u=di(r);let l=(a=n.type)!==null&&a!==void 0?a:u;if(Array.isArray(l)){if(!l.includes(u))return e.errors.typeError({value:r,pointer:i,expected:n.type,received:u,schema:n});l=u}const o=cNe[l];if(o){const s=o(e,`${t}`,n,r,i);return s===void 0?e.errors.schemaWarning({pointer:i,value:r,schema:n,key:t}):s}return new Error(`Unsupported schema type ${n.type} for key ${t}`)}function C0e(e,t,n=e.rootSchema){var r;if(n.oneOf)return n.oneOf.map(a=>e.resolveRef(a));if(!((r=n.items)===null||r===void 0)&&r.oneOf)return n.items.oneOf.map(a=>e.resolveRef(a));const i=e.step(t,n,{},"#");return Hf(i)?i:[i]}const fNe={array:(e,t,n,r)=>e.typeKeywords.array.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),object:(e,t,n,r)=>e.typeKeywords.object.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),string:(e,t,n,r)=>e.typeKeywords.string.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),integer:(e,t,n,r)=>e.typeKeywords.number.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),number:(e,t,n,r)=>e.typeKeywords.number.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),boolean:(e,t,n,r)=>e.typeKeywords.boolean.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),null:(e,t,n,r)=>e.typeKeywords.null.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r))};function dNe(e,t){const n=di(e);return n==="number"&&(t==="integer"||Array.isArray(t)&&t.includes("integer"))?Number.isInteger(e)||isNaN(e)?"integer":"number":n}function w0e(e,t,n=e.rootSchema,r="#"){if(n=e.resolveRef(n),di(n)==="boolean")return n?[]:[e.errors.invalidDataError({pointer:r,schema:n,value:t})];if(Hf(n))return[n];if(n.const!==void 0)return E0e(n.const,t)?[]:[e.errors.constError({pointer:r,schema:n,value:t,expected:n.const})];const i=dNe(t,n.type),a=n.type||i;return i!==a&&(!Array.isArray(a)||!a.includes(i))?[e.errors.typeError({pointer:r,schema:n,value:t,received:i,expected:a})]:e.validateType[i]==null?[e.errors.invalidTypeError({pointer:r,schema:n,value:t,receivedType:i})]:pS(e.validateType[i](e,n,t,r)).filter(t$)}const hNe={typeKeywords:{array:["allOf","anyOf","enum","items","maxItems","minItems","not","oneOf","uniqueItems"],boolean:["enum","not","allOf","anyOf","oneOf"],object:["additionalProperties","dependencies","enum","format","minProperties","maxProperties","patternProperties","properties","required","not","oneOf","allOf","anyOf"],string:["allOf","anyOf","enum","format","maxLength","minLength","not","oneOf","pattern"],number:["allOf","anyOf","enum","format","maximum","minimum","multipleOf","not","oneOf"],null:["allOf","anyOf","enum","format","not","oneOf"]},validateKeyword:D0e,validateType:fNe,validateFormat:v0e,errors:g0e,addRemoteSchema:d0e,compileSchema:BFe,createSchemaOf:d0,each:m0e,eachSchema:KC,getChildSchemaSelection:C0e,getSchema:b0e,getTemplate:x0e,isValid:_0e,resolveAllOf:a0e,resolveAnyOf:c0e,resolveOneOf:Zpe,resolveRef:l0e,step:$0e,validate:w0e,templateDefaultOptions:V3.templateDefaultOptions};class Qit extends f0e{constructor(t,n={}){super(yI(hNe,n),t)}}const tX="__compiled",nX="__ref",pNe="getRef",mNe="getRoot",gNe=/(#|\/)+$/g;function vNe(e,t,n=t,r=!1){if(t===!0||t===!1||t===void 0||t[tX]!==void 0)return t;const i={ids:{},remotes:e.remotes},a=JSON.stringify(t),u=JSON.parse(a);if(Object.defineProperty(u,tX,{enumerable:!1,value:!0}),Object.defineProperty(u,pNe,{enumerable:!1,value:Pm.bind(null,i,u)}),r===!1&&a.includes("$ref")===!1)return u;u!==n&&Object.defineProperty(u,"$defs",{enumerable:!0,value:Object.assign({},n.definitions,n.$defs,u.definitions,u.$defs)});const l={},o=()=>u;return KC(u,(s,c)=>{var d;if(s.$id){if(s.$id.startsWith("http")&&/(allOf|anyOf|oneOf)\/\d+$/.test(c)){const _=c.replace(/\/(allOf|anyOf|oneOf)\/\d+$/,""),x=C1.get(u,_);s.$id=(d=x.$id)!==null&&d!==void 0?d:s.$id}i.ids[s.$id.replace(gNe,"")]=c}c=`#${c}`.replace(/##+/,"#");const h=c.replace(/\/[^/]+$/,""),m=c.replace(/\/[^/]+\/[^/]+$/,""),y=l[h]||l[m],v=u$(y,s.$id);l[c]=v,i.ids[v]==null&&(i.ids[v]=c),s.$ref&&!s[nX]&&(Object.defineProperty(s,nX,{enumerable:!1,value:u$(v,s.$ref)}),Object.defineProperty(s,mNe,{enumerable:!1,value:o}))}),u}const yNe={...D0e,contains:(e,t,n,r)=>{if(t.contains===!1)return e.errors.containsArrayError({pointer:r,value:n,schema:t});if(t.contains===!0)return Array.isArray(n)&&n.length===0?e.errors.containsAnyError({pointer:r,value:n,schema:t}):void 0;if(di(t.contains)==="object"){for(let i=0;i<n.length;i+=1)if(e.isValid(n[i],t.contains))return;return e.errors.containsError({pointer:r,schema:t,value:n})}},exclusiveMaximum:(e,t,n,r)=>{if(!isNaN(t.exclusiveMaximum)&&t.exclusiveMaximum<=n)return e.errors.maximumError({maximum:t.exclusiveMaximum,length:n,pointer:r,schema:t,value:n})},exclusiveMinimum:(e,t,n,r)=>{if(!isNaN(t.exclusiveMinimum)&&t.exclusiveMinimum>=n)return e.errors.minimumError({minimum:t.exclusiveMinimum,length:n,pointer:r,schema:t,value:n})},if:XMe,maximum:(e,t,n,r)=>{if(!isNaN(t.maximum)&&t.maximum&&t.maximum<n)return e.errors.maximumError({maximum:t.maximum,length:n,pointer:r,schema:t,value:n})},minimum:(e,t,n,r)=>{if(!isNaN(t.minimum)&&t.minimum>n)return e.errors.minimumError({minimum:t.minimum,length:n,pointer:r,schema:t,value:n})},patternProperties:(e,t,n,r)=>{const i=t.properties||{},a=t.patternProperties;if(di(a)!=="object")return;const u=[],l=Object.keys(n),o=Object.keys(a).map(s=>({regex:new RegExp(s),patternSchema:a[s]}));return l.forEach(s=>{let c=!1;for(let d=0,h=o.length;d<h;d+=1)if(o[d].regex.test(s)){if(c=!0,o[d].patternSchema===!1){u.push(e.errors.patternPropertiesError({key:s,pointer:r,patterns:Object.keys(a).join(","),schema:t,value:n}));return}const m=e.validate(n[s],o[d].patternSchema,`${r}/${s}`);m&&m.length>0&&u.push(...m)}i[s]||c===!1&&t.additionalProperties===!1&&u.push(e.errors.patternPropertiesError({key:s,pointer:r,patterns:Object.keys(a).join(","),schema:t,value:n}))}),u},propertyNames:(e,t,n,r)=>{if(t.propertyNames===!1)return Object.keys(n).length===0?void 0:e.errors.invalidPropertyNameError({property:Object.keys(n),pointer:r,value:n,schema:t});if(t.propertyNames===!0||di(t.propertyNames)!=="object")return;const i=[],a=Object.keys(n),u={...t.propertyNames,type:"string"};return a.forEach(l=>{const o=e.validate(l,u,`${r}/${l}`);o.length>0&&i.push(e.errors.invalidPropertyNameError({property:l,pointer:r,validationError:o[0],value:n[l],schema:t}))}),i}},bNe={array:(e,t,n,r)=>e.typeKeywords.array.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),object:(e,t,n,r)=>e.typeKeywords.object.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),string:(e,t,n,r)=>e.typeKeywords.string.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),integer:(e,t,n,r)=>e.typeKeywords.number.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),number:(e,t,n,r)=>e.typeKeywords.number.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),boolean:(e,t,n,r)=>e.typeKeywords.boolean.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r)),null:(e,t,n,r)=>e.typeKeywords.null.filter(i=>t&&t[i]!=null).map(i=>e.validateKeyword[i](e,t,n,r))},R0e={typeKeywords:{array:["allOf","anyOf","contains","enum","if","items","maxItems","minItems","not","oneOf","uniqueItems"],boolean:["allOf","anyOf","enum","not","oneOf"],object:["additionalProperties","allOf","anyOf","dependencies","enum","format","if","maxProperties","minProperties","not","oneOf","patternProperties","properties","propertyNames","required"],string:["allOf","anyOf","enum","format","if","maxLength","minLength","not","oneOf","pattern"],number:["allOf","anyOf","enum","exclusiveMaximum","exclusiveMinimum","format","if","maximum","minimum","multipleOf","not","oneOf"],null:["allOf","anyOf","enum","format","not","oneOf"]},validateKeyword:yNe,validateType:bNe,validateFormat:v0e,errors:g0e,addRemoteSchema:d0e,compileSchema:vNe,createSchemaOf:d0,each:m0e,eachSchema:KC,getChildSchemaSelection:C0e,getSchema:b0e,getTemplate:x0e,isValid:_0e,resolveAllOf:a0e,resolveAnyOf:c0e,resolveOneOf:Zpe,resolveRef:l0e,step:$0e,validate:w0e,templateDefaultOptions:V3.templateDefaultOptions};class zit extends f0e{constructor(t,n={}){super(yI(R0e,n),t)}}({...R0e});const rX={};function ONe(e){let t=rX[e];if(t)return t;t=rX[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);t[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return t}function S3(e,t){typeof t!="string"&&(t=S3.defaultChars);const n=ONe(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(r){let i="";for(let a=0,u=r.length;a<u;a+=3){const l=parseInt(r.slice(a+1,a+3),16);if(l<128){i+=n[l];continue}if((l&224)===192&&a+3<u){const o=parseInt(r.slice(a+4,a+6),16);if((o&192)===128){const s=l<<6&1984|o&63;s<128?i+="��":i+=String.fromCharCode(s),a+=3;continue}}if((l&240)===224&&a+6<u){const o=parseInt(r.slice(a+4,a+6),16),s=parseInt(r.slice(a+7,a+9),16);if((o&192)===128&&(s&192)===128){const c=l<<12&61440|o<<6&4032|s&63;c<2048||c>=55296&&c<=57343?i+="���":i+=String.fromCharCode(c),a+=6;continue}}if((l&248)===240&&a+9<u){const o=parseInt(r.slice(a+4,a+6),16),s=parseInt(r.slice(a+7,a+9),16),c=parseInt(r.slice(a+10,a+12),16);if((o&192)===128&&(s&192)===128&&(c&192)===128){let d=l<<18&1835008|o<<12&258048|s<<6&4032|c&63;d<65536||d>1114111?i+="����":(d-=65536,i+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),a+=9;continue}}i+="�"}return i})}S3.defaultChars=";/?:@&=+$,#";S3.componentChars="";const iX={};function SNe(e){let t=iX[e];if(t)return t;t=iX[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function ox(e,t,n){typeof t!="string"&&(n=t,t=ox.defaultChars),typeof n>"u"&&(n=!0);const r=SNe(t);let i="";for(let a=0,u=e.length;a<u;a++){const l=e.charCodeAt(a);if(n&&l===37&&a+2<u&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3))){i+=e.slice(a,a+3),a+=2;continue}if(l<128){i+=r[l];continue}if(l>=55296&&l<=57343){if(l>=55296&&l<=56319&&a+1<u){const o=e.charCodeAt(a+1);if(o>=56320&&o<=57343){i+=encodeURIComponent(e[a]+e[a+1]),a++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[a])}return i}ox.defaultChars=";/?:@&=+$,-_.!~*'()#";ox.componentChars="-_.!~*'()";function _I(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function l$(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const xNe=/^([a-z0-9.+-]+:)/i,_Ne=/:[0-9]*$/,ENe=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,DNe=["<",">",'"',"`"," ","\r",`
`,"	"],$Ne=["{","}","|","\\","^","`"].concat(DNe),CNe=["'"].concat($Ne),aX=["%","/","?",";","#"].concat(CNe),uX=["/","?","#"],wNe=255,lX=/^[+a-z0-9A-Z_-]{0,63}$/,RNe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,oX={javascript:!0,"javascript:":!0},sX={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function EI(e,t){if(e&&e instanceof l$)return e;const n=new l$;return n.parse(e,t),n}l$.prototype.parse=function(e,t){let n,r,i,a=e;if(a=a.trim(),!t&&e.split("#").length===1){const s=ENe.exec(a);if(s)return this.pathname=s[1],s[2]&&(this.search=s[2]),this}let u=xNe.exec(a);if(u&&(u=u[0],n=u.toLowerCase(),this.protocol=u,a=a.substr(u.length)),(t||u||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(u&&oX[u])&&(a=a.substr(2),this.slashes=!0)),!oX[u]&&(i||u&&!sX[u])){let s=-1;for(let y=0;y<uX.length;y++)r=a.indexOf(uX[y]),r!==-1&&(s===-1||r<s)&&(s=r);let c,d;s===-1?d=a.lastIndexOf("@"):d=a.lastIndexOf("@",s),d!==-1&&(c=a.slice(0,d),a=a.slice(d+1),this.auth=c),s=-1;for(let y=0;y<aX.length;y++)r=a.indexOf(aX[y]),r!==-1&&(s===-1||r<s)&&(s=r);s===-1&&(s=a.length),a[s-1]===":"&&s--;const h=a.slice(0,s);a=a.slice(s),this.parseHost(h),this.hostname=this.hostname||"";const m=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!m){const y=this.hostname.split(/\./);for(let v=0,_=y.length;v<_;v++){const x=y[v];if(x&&!x.match(lX)){let E="";for(let w=0,T=x.length;w<T;w++)x.charCodeAt(w)>127?E+="x":E+=x[w];if(!E.match(lX)){const w=y.slice(0,v),T=y.slice(v+1),R=x.match(RNe);R&&(w.push(R[1]),T.unshift(R[2])),T.length&&(a=T.join(".")+a),this.hostname=w.join(".");break}}}}this.hostname.length>wNe&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=a.indexOf("#");l!==-1&&(this.hash=a.substr(l),a=a.slice(0,l));const o=a.indexOf("?");return o!==-1&&(this.search=a.substr(o),a=a.slice(0,o)),a&&(this.pathname=a),sX[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};l$.prototype.parseHost=function(e){let t=_Ne.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const ANe=Object.freeze(Object.defineProperty({__proto__:null,decode:S3,encode:ox,format:_I,parse:EI},Symbol.toStringTag,{value:"Module"})),A0e=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,T0e=/[\0-\x1F\x7F-\x9F]/,TNe=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,DI=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,k0e=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,P0e=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,kNe=Object.freeze(Object.defineProperty({__proto__:null,Any:A0e,Cc:T0e,Cf:TNe,P:DI,S:k0e,Z:P0e},Symbol.toStringTag,{value:"Module"})),PNe=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTǇǋǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉ǲኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻ǲᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤĳạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ﬃɩᾹ\0\0᾽g;耀ﬀig;耀ﬄ;쀀𝔣lig;耀ﬁlig;쀀fjƀaltῙ῜ῡt;晭ig;耀ﬂns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒α‚‰‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସǳ⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗǈⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼ǲ㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),MNe=new Uint16Array("Ȁaglq	\x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var nP;const FNe=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),NNe=(nP=String.fromCodePoint)!==null&&nP!==void 0?nP:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function INe(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=FNe.get(e))!==null&&t!==void 0?t:e}var Jl;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Jl||(Jl={}));const LNe=32;var Cv;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Cv||(Cv={}));function K9(e){return e>=Jl.ZERO&&e<=Jl.NINE}function BNe(e){return e>=Jl.UPPER_A&&e<=Jl.UPPER_F||e>=Jl.LOWER_A&&e<=Jl.LOWER_F}function QNe(e){return e>=Jl.UPPER_A&&e<=Jl.UPPER_Z||e>=Jl.LOWER_A&&e<=Jl.LOWER_Z||K9(e)}function zNe(e){return e===Jl.EQUALS||QNe(e)}var Xl;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Xl||(Xl={}));var Ov;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ov||(Ov={}));class qNe{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Xl.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ov.Strict}startEntity(t){this.decodeMode=t,this.state=Xl.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Xl.EntityStart:return t.charCodeAt(n)===Jl.NUM?(this.state=Xl.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Xl.NamedEntity,this.stateNamedEntity(t,n));case Xl.NumericStart:return this.stateNumericStart(t,n);case Xl.NumericDecimal:return this.stateNumericDecimal(t,n);case Xl.NumericHex:return this.stateNumericHex(t,n);case Xl.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|LNe)===Jl.LOWER_X?(this.state=Xl.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Xl.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const a=r-n;this.result=this.result*Math.pow(i,a)+parseInt(t.substr(n,a),i),this.consumed+=a}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(K9(i)||BNe(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(K9(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Jl.SEMI)this.consumed+=1;else if(this.decodeMode===Ov.Strict)return 0;return this.emitCodePoint(INe(this.result),this.consumed),this.errors&&(t!==Jl.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let i=r[this.treeIndex],a=(i&Cv.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const u=t.charCodeAt(n);if(this.treeIndex=VNe(r,i,this.treeIndex+Math.max(1,a),u),this.treeIndex<0)return this.result===0||this.decodeMode===Ov.Attribute&&(a===0||zNe(u))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],a=(i&Cv.VALUE_LENGTH)>>14,a!==0){if(u===Jl.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Ov.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&Cv.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~Cv.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case Xl.NamedEntity:return this.result!==0&&(this.decodeMode!==Ov.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Xl.NumericDecimal:return this.emitNumericEntity(0,2);case Xl.NumericHex:return this.emitNumericEntity(0,3);case Xl.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Xl.EntityStart:return 0}}}function M0e(e){let t="";const n=new qNe(e,r=>t+=NNe(r));return function(i,a){let u=0,l=0;for(;(l=i.indexOf("&",l))>=0;){t+=i.slice(u,l),n.startEntity(a);const s=n.write(i,l+1);if(s<0){u=l+n.end();break}u=l+s,l=s===0?u+1:u}const o=t+i.slice(u);return t="",o}}function VNe(e,t,n,r){const i=(t&Cv.BRANCH_LENGTH)>>7,a=t&Cv.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){const o=r-a;return o<0||o>=i?-1:e[n+o]-1}let u=n,l=u+i-1;for(;u<=l;){const o=u+l>>>1,s=e[o];if(s<r)u=o+1;else if(s>r)l=o-1;else return e[o+i]}return-1}const UNe=M0e(PNe);M0e(MNe);function F0e(e,t=Ov.Legacy){return UNe(e,t)}function jNe(e){return Object.prototype.toString.call(e)}function $I(e){return jNe(e)==="[object String]"}const ZNe=Object.prototype.hasOwnProperty;function HNe(e,t){return ZNe.call(e,t)}function WC(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(r){e[r]=n[r]})}}),e}function N0e(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function CI(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function o$(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const I0e=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,XNe=/&([a-z#][a-z0-9]{1,31});/gi,YNe=new RegExp(I0e.source+"|"+XNe.source,"gi"),GNe=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function KNe(e,t){if(t.charCodeAt(0)===35&&GNe.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return CI(r)?o$(r):e}const n=F0e(e);return n!==e?n:e}function WNe(e){return e.indexOf("\\")<0?e:e.replace(I0e,"$1")}function x3(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(YNe,function(t,n,r){return n||KNe(t,r)})}const JNe=/[&<>"]/,eIe=/[&<>"]/g,tIe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function nIe(e){return tIe[e]}function Zv(e){return JNe.test(e)?e.replace(eIe,nIe):e}const rIe=/[.?*+^$[\]\\(){}|-]/g;function iIe(e){return e.replace(rIe,"\\$&")}function Oa(e){switch(e){case 9:case 32:return!0}return!1}function vS(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function yS(e){return DI.test(e)||k0e.test(e)}function bS(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function JC(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const aIe={mdurl:ANe,ucmicro:kNe},uIe=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:N0e,assign:WC,escapeHtml:Zv,escapeRE:iIe,fromCodePoint:o$,has:HNe,isMdAsciiPunct:bS,isPunctChar:yS,isSpace:Oa,isString:$I,isValidEntityCode:CI,isWhiteSpace:vS,lib:aIe,normalizeReference:JC,unescapeAll:x3,unescapeMd:WNe},Symbol.toStringTag,{value:"Module"}));function lIe(e,t,n){let r,i,a,u;const l=e.posMax,o=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(a=e.src.charCodeAt(e.pos),a===93&&(r--,r===0)){i=!0;break}if(u=e.pos,e.md.inline.skipToken(e),a===91){if(u===e.pos-1)r++;else if(n)return e.pos=o,-1}}let s=-1;return i&&(s=e.pos),e.pos=o,s}function oIe(e,t,n){let r,i=t;const a={ok:!1,pos:0,str:""};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return a;if(r===62)return a.pos=i+1,a.str=x3(e.slice(t+1,i)),a.ok=!0,a;if(r===92&&i+1<n){i+=2;continue}i++}return a}let u=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32)break;i+=2;continue}if(r===40&&(u++,u>32))return a;if(r===41){if(u===0)break;u--}i++}return t===i||u!==0||(a.str=x3(e.slice(t,i)),a.pos=i,a.ok=!0),a}function sIe(e,t,n,r){let i,a=t;const u={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)u.str=r.str,u.marker=r.marker;else{if(a>=n)return u;let l=e.charCodeAt(a);if(l!==34&&l!==39&&l!==40)return u;t++,a++,l===40&&(l=41),u.marker=l}for(;a<n;){if(i=e.charCodeAt(a),i===u.marker)return u.pos=a+1,u.str+=x3(e.slice(t,a)),u.ok=!0,u;if(i===40&&u.marker===41)return u;i===92&&a+1<n&&a++,a++}return u.can_continue=!0,u.str+=x3(e.slice(t,a)),u}const cIe=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:oIe,parseLinkLabel:lIe,parseLinkTitle:sIe},Symbol.toStringTag,{value:"Module"})),N0={};N0.code_inline=function(e,t,n,r,i){const a=e[t];return"<code"+i.renderAttrs(a)+">"+Zv(a.content)+"</code>"};N0.code_block=function(e,t,n,r,i){const a=e[t];return"<pre"+i.renderAttrs(a)+"><code>"+Zv(e[t].content)+`</code></pre>
`};N0.fence=function(e,t,n,r,i){const a=e[t],u=a.info?x3(a.info).trim():"";let l="",o="";if(u){const c=u.split(/(\s+)/g);l=c[0],o=c.slice(2).join("")}let s;if(n.highlight?s=n.highlight(a.content,l,o)||Zv(a.content):s=Zv(a.content),s.indexOf("<pre")===0)return s+`
`;if(u){const c=a.attrIndex("class"),d=a.attrs?a.attrs.slice():[];c<0?d.push(["class",n.langPrefix+l]):(d[c]=d[c].slice(),d[c][1]+=" "+n.langPrefix+l);const h={attrs:d};return`<pre><code${i.renderAttrs(h)}>${s}</code></pre>
`}return`<pre><code${i.renderAttrs(a)}>${s}</code></pre>
`};N0.image=function(e,t,n,r,i){const a=e[t];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)};N0.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
`:`<br>
`};N0.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
`:`<br>
`:`
`};N0.text=function(e,t){return Zv(e[t].content)};N0.html_block=function(e,t){return e[t].content};N0.html_inline=function(e,t){return e[t].content};function U3(){this.rules=WC({},N0)}U3.prototype.renderAttrs=function(t){let n,r,i;if(!t.attrs)return"";for(i="",n=0,r=t.attrs.length;n<r;n++)i+=" "+Zv(t.attrs[n][0])+'="'+Zv(t.attrs[n][1])+'"';return i};U3.prototype.renderToken=function(t,n,r){const i=t[n];let a="";if(i.hidden)return"";i.block&&i.nesting!==-1&&n&&t[n-1].hidden&&(a+=`
`),a+=(i.nesting===-1?"</":"<")+i.tag,a+=this.renderAttrs(i),i.nesting===0&&r.xhtmlOut&&(a+=" /");let u=!1;if(i.block&&(u=!0,i.nesting===1&&n+1<t.length)){const l=t[n+1];(l.type==="inline"||l.hidden||l.nesting===-1&&l.tag===i.tag)&&(u=!1)}return a+=u?`>
`:">",a};U3.prototype.renderInline=function(e,t,n){let r="";const i=this.rules;for(let a=0,u=e.length;a<u;a++){const l=e[a].type;typeof i[l]<"u"?r+=i[l](e,a,t,n,this):r+=this.renderToken(e,a,t)}return r};U3.prototype.renderInlineAsText=function(e,t,n){let r="";for(let i=0,a=e.length;i<a;i++)switch(e[i].type){case"text":r+=e[i].content;break;case"image":r+=this.renderInlineAsText(e[i].children,t,n);break;case"html_inline":case"html_block":r+=e[i].content;break;case"softbreak":case"hardbreak":r+=`
`;break}return r};U3.prototype.render=function(e,t,n){let r="";const i=this.rules;for(let a=0,u=e.length;a<u;a++){const l=e[a].type;l==="inline"?r+=this.renderInline(e[a].children,t,n):typeof i[l]<"u"?r+=i[l](e,a,t,n,this):r+=this.renderToken(e,a,t,n)}return r};function sf(){this.__rules__=[],this.__cache__=null}sf.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};sf.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(r){t.indexOf(r)<0&&t.push(r)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(r){r.enabled&&(n&&r.alt.indexOf(n)<0||e.__cache__[n].push(r.fn))})})};sf.prototype.at=function(e,t,n){const r=this.__find__(e),i=n||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null};sf.prototype.before=function(e,t,n,r){const i=this.__find__(e),a=r||{};if(i===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null};sf.prototype.after=function(e,t,n,r){const i=this.__find__(e),a=r||{};if(i===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null};sf.prototype.push=function(e,t,n){const r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null};sf.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const i=this.__find__(r);if(i<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[i].enabled=!0,n.push(r)},this),this.__cache__=null,n};sf.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};sf.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(r){const i=this.__find__(r);if(i<0){if(t)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[i].enabled=!1,n.push(r)},this),this.__cache__=null,n};sf.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function pp(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}pp.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let r=0,i=n.length;r<i;r++)if(n[r][0]===t)return r;return-1};pp.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};pp.prototype.attrSet=function(t,n){const r=this.attrIndex(t),i=[t,n];r<0?this.attrPush(i):this.attrs[r]=i};pp.prototype.attrGet=function(t){const n=this.attrIndex(t);let r=null;return n>=0&&(r=this.attrs[n][1]),r};pp.prototype.attrJoin=function(t,n){const r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};function L0e(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}L0e.prototype.Token=pp;const fIe=/\r\n?|\n/g,dIe=/\0/g;function hIe(e){let t;t=e.src.replace(fIe,`
`),t=t.replace(dIe,"�"),e.src=t}function pIe(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function mIe(e){const t=e.tokens;for(let n=0,r=t.length;n<r;n++){const i=t[n];i.type==="inline"&&e.md.inline.parse(i.content,e.md,e.env,i.children)}}function gIe(e){return/^<a[>\s]/i.test(e)}function vIe(e){return/^<\/a\s*>/i.test(e)}function yIe(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;let i=t[n].children,a=0;for(let u=i.length-1;u>=0;u--){const l=i[u];if(l.type==="link_close"){for(u--;i[u].level!==l.level&&i[u].type!=="link_open";)u--;continue}if(l.type==="html_inline"&&(gIe(l.content)&&a>0&&a--,vIe(l.content)&&a++),!(a>0)&&l.type==="text"&&e.md.linkify.test(l.content)){const o=l.content;let s=e.md.linkify.match(o);const c=[];let d=l.level,h=0;s.length>0&&s[0].index===0&&u>0&&i[u-1].type==="text_special"&&(s=s.slice(1));for(let m=0;m<s.length;m++){const y=s[m].url,v=e.md.normalizeLink(y);if(!e.md.validateLink(v))continue;let _=s[m].text;s[m].schema?s[m].schema==="mailto:"&&!/^mailto:/i.test(_)?_=e.md.normalizeLinkText("mailto:"+_).replace(/^mailto:/,""):_=e.md.normalizeLinkText(_):_=e.md.normalizeLinkText("http://"+_).replace(/^http:\/\//,"");const x=s[m].index;if(x>h){const R=new e.Token("text","",0);R.content=o.slice(h,x),R.level=d,c.push(R)}const E=new e.Token("link_open","a",1);E.attrs=[["href",v]],E.level=d++,E.markup="linkify",E.info="auto",c.push(E);const w=new e.Token("text","",0);w.content=_,w.level=d,c.push(w);const T=new e.Token("link_close","a",-1);T.level=--d,T.markup="linkify",T.info="auto",c.push(T),h=s[m].lastIndex}if(h<o.length){const m=new e.Token("text","",0);m.content=o.slice(h),m.level=d,c.push(m)}t[n].children=i=N0e(i,u,c)}}}}const B0e=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,bIe=/\((c|tm|r)\)/i,OIe=/\((c|tm|r)\)/ig,SIe={c:"©",r:"®",tm:"™"};function xIe(e,t){return SIe[t.toLowerCase()]}function _Ie(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(OIe,xIe)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function EIe(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&B0e.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function DIe(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(bIe.test(e.tokens[t].content)&&_Ie(e.tokens[t].children),B0e.test(e.tokens[t].content)&&EIe(e.tokens[t].children))}const $Ie=/['"]/,cX=/['"]/g,fX="’";function X_(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function CIe(e,t){let n;const r=[];for(let i=0;i<e.length;i++){const a=e[i],u=e[i].level;for(n=r.length-1;n>=0&&!(r[n].level<=u);n--);if(r.length=n+1,a.type!=="text")continue;let l=a.content,o=0,s=l.length;e:for(;o<s;){cX.lastIndex=o;const c=cX.exec(l);if(!c)break;let d=!0,h=!0;o=c.index+1;const m=c[0]==="'";let y=32;if(c.index-1>=0)y=l.charCodeAt(c.index-1);else for(n=i-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){y=e[n].content.charCodeAt(e[n].content.length-1);break}let v=32;if(o<s)v=l.charCodeAt(o);else for(n=i+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){v=e[n].content.charCodeAt(0);break}const _=bS(y)||yS(String.fromCharCode(y)),x=bS(v)||yS(String.fromCharCode(v)),E=vS(y),w=vS(v);if(w?d=!1:x&&(E||_||(d=!1)),E?h=!1:_&&(w||x||(h=!1)),v===34&&c[0]==='"'&&y>=48&&y<=57&&(h=d=!1),d&&h&&(d=_,h=x),!d&&!h){m&&(a.content=X_(a.content,c.index,fX));continue}if(h)for(n=r.length-1;n>=0;n--){let T=r[n];if(r[n].level<u)break;if(T.single===m&&r[n].level===u){T=r[n];let R,C;m?(R=t.md.options.quotes[2],C=t.md.options.quotes[3]):(R=t.md.options.quotes[0],C=t.md.options.quotes[1]),a.content=X_(a.content,c.index,C),e[T.token].content=X_(e[T.token].content,T.pos,R),o+=C.length-1,T.token===i&&(o+=R.length-1),l=a.content,s=l.length,r.length=n;continue e}}d?r.push({token:i,pos:c.index,single:m,level:u}):h&&m&&(a.content=X_(a.content,c.index,fX))}}}function wIe(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!$Ie.test(e.tokens[t].content)||CIe(e.tokens[t].children,e)}function RIe(e){let t,n;const r=e.tokens,i=r.length;for(let a=0;a<i;a++){if(r[a].type!=="inline")continue;const u=r[a].children,l=u.length;for(t=0;t<l;t++)u[t].type==="text_special"&&(u[t].type="text");for(t=n=0;t<l;t++)u[t].type==="text"&&t+1<l&&u[t+1].type==="text"?u[t+1].content=u[t].content+u[t+1].content:(t!==n&&(u[n]=u[t]),n++);t!==n&&(u.length=n)}}const rP=[["normalize",hIe],["block",pIe],["inline",mIe],["linkify",yIe],["replacements",DIe],["smartquotes",wIe],["text_join",RIe]];function wI(){this.ruler=new sf;for(let e=0;e<rP.length;e++)this.ruler.push(rP[e][0],rP[e][1])}wI.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,r=t.length;n<r;n++)t[n](e)};wI.prototype.State=L0e;function I0(e,t,n,r){this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const i=this.src;for(let a=0,u=0,l=0,o=0,s=i.length,c=!1;u<s;u++){const d=i.charCodeAt(u);if(!c)if(Oa(d)){l++,d===9?o+=4-o%4:o++;continue}else c=!0;(d===10||u===s-1)&&(d!==10&&u++,this.bMarks.push(a),this.eMarks.push(u),this.tShift.push(l),this.sCount.push(o),this.bsCount.push(0),c=!1,l=0,o=0,a=u+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}I0.prototype.push=function(e,t,n){const r=new pp(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r};I0.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};I0.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};I0.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){const r=this.src.charCodeAt(t);if(!Oa(r))break}return t};I0.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!Oa(this.src.charCodeAt(--t)))return t+1;return t};I0.prototype.skipChars=function(t,n){for(let r=this.src.length;t<r&&this.src.charCodeAt(t)===n;t++);return t};I0.prototype.skipCharsBack=function(t,n,r){if(t<=r)return t;for(;t>r;)if(n!==this.src.charCodeAt(--t))return t+1;return t};I0.prototype.getLines=function(t,n,r,i){if(t>=n)return"";const a=new Array(n-t);for(let u=0,l=t;l<n;l++,u++){let o=0;const s=this.bMarks[l];let c=s,d;for(l+1<n||i?d=this.eMarks[l]+1:d=this.eMarks[l];c<d&&o<r;){const h=this.src.charCodeAt(c);if(Oa(h))h===9?o+=4-(o+this.bsCount[l])%4:o++;else if(c-s<this.tShift[l])o++;else break;c++}o>r?a[u]=new Array(o-r+1).join(" ")+this.src.slice(c,d):a[u]=this.src.slice(c,d)}return a.join("")};I0.prototype.Token=pp;const AIe=65536;function iP(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function dX(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),a=!1,u=0,l="";for(;r<n;)i===124&&(a?(l+=e.substring(u,r-1),u=r):(t.push(l+e.substring(u,r)),l="",u=r+1)),a=i===92,r++,i=e.charCodeAt(r);return t.push(l+e.substring(u)),t}function TIe(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let a=e.bMarks[i]+e.tShift[i];if(a>=e.eMarks[i])return!1;const u=e.src.charCodeAt(a++);if(u!==124&&u!==45&&u!==58||a>=e.eMarks[i])return!1;const l=e.src.charCodeAt(a++);if(l!==124&&l!==45&&l!==58&&!Oa(l)||u===45&&Oa(l))return!1;for(;a<e.eMarks[i];){const T=e.src.charCodeAt(a);if(T!==124&&T!==45&&T!==58&&!Oa(T))return!1;a++}let o=iP(e,t+1),s=o.split("|");const c=[];for(let T=0;T<s.length;T++){const R=s[T].trim();if(!R){if(T===0||T===s.length-1)continue;return!1}if(!/^:?-+:?$/.test(R))return!1;R.charCodeAt(R.length-1)===58?c.push(R.charCodeAt(0)===58?"center":"right"):R.charCodeAt(0)===58?c.push("left"):c.push("")}if(o=iP(e,t).trim(),o.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;s=dX(o),s.length&&s[0]===""&&s.shift(),s.length&&s[s.length-1]===""&&s.pop();const d=s.length;if(d===0||d!==c.length)return!1;if(r)return!0;const h=e.parentType;e.parentType="table";const m=e.md.block.ruler.getRules("blockquote"),y=e.push("table_open","table",1),v=[t,0];y.map=v;const _=e.push("thead_open","thead",1);_.map=[t,t+1];const x=e.push("tr_open","tr",1);x.map=[t,t+1];for(let T=0;T<s.length;T++){const R=e.push("th_open","th",1);c[T]&&(R.attrs=[["style","text-align:"+c[T]]]);const C=e.push("inline","",0);C.content=s[T].trim(),C.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let E,w=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let T=!1;for(let C=0,k=m.length;C<k;C++)if(m[C](e,i,n,!0)){T=!0;break}if(T||(o=iP(e,i).trim(),!o)||e.sCount[i]-e.blkIndent>=4||(s=dX(o),s.length&&s[0]===""&&s.shift(),s.length&&s[s.length-1]===""&&s.pop(),w+=d-s.length,w>AIe))break;if(i===t+2){const C=e.push("tbody_open","tbody",1);C.map=E=[t+2,0]}const R=e.push("tr_open","tr",1);R.map=[i,i+1];for(let C=0;C<d;C++){const k=e.push("td_open","td",1);c[C]&&(k.attrs=[["style","text-align:"+c[C]]]);const F=e.push("inline","",0);F.content=s[C]?s[C].trim():"",F.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return E&&(e.push("tbody_close","tbody",-1),E[1]=i),e.push("table_close","table",-1),v[1]=i,e.parentType=h,e.line=i,!0}function kIe(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,i=r;continue}break}e.line=i;const a=e.push("code_block","code",0);return a.content=e.getLines(t,i,4+e.blkIndent,!1)+`
`,a.map=[t,e.line],!0}function PIe(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>a)return!1;const u=e.src.charCodeAt(i);if(u!==126&&u!==96)return!1;let l=i;i=e.skipChars(i,u);let o=i-l;if(o<3)return!1;const s=e.src.slice(l,i),c=e.src.slice(i,a);if(u===96&&c.indexOf(String.fromCharCode(u))>=0)return!1;if(r)return!0;let d=t,h=!1;for(;d++,!(d>=n||(i=l=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],i<a&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===u&&!(e.sCount[d]-e.blkIndent>=4)&&(i=e.skipChars(i,u),!(i-l<o)&&(i=e.skipSpaces(i),!(i<a)))){h=!0;break}o=e.sCount[t],e.line=d+(h?1:0);const m=e.push("fence","code",0);return m.info=c,m.content=e.getLines(t+1,d,o,!0),m.markup=s,m.map=[t,e.line],!0}function MIe(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];const u=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;const l=[],o=[],s=[],c=[],d=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let m=!1,y;for(y=t;y<n;y++){const w=e.sCount[y]<e.blkIndent;if(i=e.bMarks[y]+e.tShift[y],a=e.eMarks[y],i>=a)break;if(e.src.charCodeAt(i++)===62&&!w){let R=e.sCount[y]+1,C,k;e.src.charCodeAt(i)===32?(i++,R++,k=!1,C=!0):e.src.charCodeAt(i)===9?(C=!0,(e.bsCount[y]+R)%4===3?(i++,R++,k=!1):k=!0):C=!1;let F=R;for(l.push(e.bMarks[y]),e.bMarks[y]=i;i<a;){const z=e.src.charCodeAt(i);if(Oa(z))z===9?F+=4-(F+e.bsCount[y]+(k?1:0))%4:F++;else break;i++}m=i>=a,o.push(e.bsCount[y]),e.bsCount[y]=e.sCount[y]+1+(C?1:0),s.push(e.sCount[y]),e.sCount[y]=F-R,c.push(e.tShift[y]),e.tShift[y]=i-e.bMarks[y];continue}if(m)break;let T=!1;for(let R=0,C=d.length;R<C;R++)if(d[R](e,y,n,!0)){T=!0;break}if(T){e.lineMax=y,e.blkIndent!==0&&(l.push(e.bMarks[y]),o.push(e.bsCount[y]),c.push(e.tShift[y]),s.push(e.sCount[y]),e.sCount[y]-=e.blkIndent);break}l.push(e.bMarks[y]),o.push(e.bsCount[y]),c.push(e.tShift[y]),s.push(e.sCount[y]),e.sCount[y]=-1}const v=e.blkIndent;e.blkIndent=0;const _=e.push("blockquote_open","blockquote",1);_.markup=">";const x=[t,0];_.map=x,e.md.block.tokenize(e,t,y);const E=e.push("blockquote_close","blockquote",-1);E.markup=">",e.lineMax=u,e.parentType=h,x[1]=e.line;for(let w=0;w<c.length;w++)e.bMarks[w+t]=l[w],e.tShift[w+t]=c[w],e.sCount[w+t]=s[w],e.bsCount[w+t]=o[w];return e.blkIndent=v,!0}function FIe(e,t,n,r){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t];const u=e.src.charCodeAt(a++);if(u!==42&&u!==45&&u!==95)return!1;let l=1;for(;a<i;){const s=e.src.charCodeAt(a++);if(s!==u&&!Oa(s))return!1;s===u&&l++}if(l<3)return!1;if(r)return!0;e.line=t+1;const o=e.push("hr","hr",0);return o.map=[t,e.line],o.markup=Array(l+1).join(String.fromCharCode(u)),!0}function hX(e,t){const n=e.eMarks[t];let r=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(r++);if(i!==42&&i!==45&&i!==43)return-1;if(r<n){const a=e.src.charCodeAt(r);if(!Oa(a))return-1}return r}function pX(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];let i=n;if(i+1>=r)return-1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=r)return-1;if(a=e.src.charCodeAt(i++),a>=48&&a<=57){if(i-n>=10)return-1;continue}if(a===41||a===46)break;return-1}return i<r&&(a=e.src.charCodeAt(i),!Oa(a))?-1:i}function NIe(e,t){const n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function IIe(e,t,n,r){let i,a,u,l,o=t,s=!0;if(e.sCount[o]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[o]-e.listIndent>=4&&e.sCount[o]<e.blkIndent)return!1;let c=!1;r&&e.parentType==="paragraph"&&e.sCount[o]>=e.blkIndent&&(c=!0);let d,h,m;if((m=pX(e,o))>=0){if(d=!0,u=e.bMarks[o]+e.tShift[o],h=Number(e.src.slice(u,m-1)),c&&h!==1)return!1}else if((m=hX(e,o))>=0)d=!1;else return!1;if(c&&e.skipSpaces(m)>=e.eMarks[o])return!1;if(r)return!0;const y=e.src.charCodeAt(m-1),v=e.tokens.length;d?(l=e.push("ordered_list_open","ol",1),h!==1&&(l.attrs=[["start",h]])):l=e.push("bullet_list_open","ul",1);const _=[o,0];l.map=_,l.markup=String.fromCharCode(y);let x=!1;const E=e.md.block.ruler.getRules("list"),w=e.parentType;for(e.parentType="list";o<n;){a=m,i=e.eMarks[o];const T=e.sCount[o]+m-(e.bMarks[o]+e.tShift[o]);let R=T;for(;a<i;){const W=e.src.charCodeAt(a);if(W===9)R+=4-(R+e.bsCount[o])%4;else if(W===32)R++;else break;a++}const C=a;let k;C>=i?k=1:k=R-T,k>4&&(k=1);const F=T+k;l=e.push("list_item_open","li",1),l.markup=String.fromCharCode(y);const z=[o,0];l.map=z,d&&(l.info=e.src.slice(u,m-1));const Z=e.tight,q=e.tShift[o],j=e.sCount[o],N=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=F,e.tight=!0,e.tShift[o]=C-e.bMarks[o],e.sCount[o]=R,C>=i&&e.isEmpty(o+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,o,n,!0),(!e.tight||x)&&(s=!1),x=e.line-o>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=N,e.tShift[o]=q,e.sCount[o]=j,e.tight=Z,l=e.push("list_item_close","li",-1),l.markup=String.fromCharCode(y),o=e.line,z[1]=o,o>=n||e.sCount[o]<e.blkIndent||e.sCount[o]-e.blkIndent>=4)break;let V=!1;for(let W=0,G=E.length;W<G;W++)if(E[W](e,o,n,!0)){V=!0;break}if(V)break;if(d){if(m=pX(e,o),m<0)break;u=e.bMarks[o]+e.tShift[o]}else if(m=hX(e,o),m<0)break;if(y!==e.src.charCodeAt(m-1))break}return d?l=e.push("ordered_list_close","ol",-1):l=e.push("bullet_list_close","ul",-1),l.markup=String.fromCharCode(y),_[1]=o,e.line=o,e.parentType=w,s&&NIe(e,v),!0}function LIe(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],u=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function l(E){const w=e.lineMax;if(E>=w||e.isEmpty(E))return null;let T=!1;if(e.sCount[E]-e.blkIndent>3&&(T=!0),e.sCount[E]<0&&(T=!0),!T){const k=e.md.block.ruler.getRules("reference"),F=e.parentType;e.parentType="reference";let z=!1;for(let Z=0,q=k.length;Z<q;Z++)if(k[Z](e,E,w,!0)){z=!0;break}if(e.parentType=F,z)return null}const R=e.bMarks[E]+e.tShift[E],C=e.eMarks[E];return e.src.slice(R,C+1)}let o=e.src.slice(i,a+1);a=o.length;let s=-1;for(i=1;i<a;i++){const E=o.charCodeAt(i);if(E===91)return!1;if(E===93){s=i;break}else if(E===10){const w=l(u);w!==null&&(o+=w,a=o.length,u++)}else if(E===92&&(i++,i<a&&o.charCodeAt(i)===10)){const w=l(u);w!==null&&(o+=w,a=o.length,u++)}}if(s<0||o.charCodeAt(s+1)!==58)return!1;for(i=s+2;i<a;i++){const E=o.charCodeAt(i);if(E===10){const w=l(u);w!==null&&(o+=w,a=o.length,u++)}else if(!Oa(E))break}const c=e.md.helpers.parseLinkDestination(o,i,a);if(!c.ok)return!1;const d=e.md.normalizeLink(c.str);if(!e.md.validateLink(d))return!1;i=c.pos;const h=i,m=u,y=i;for(;i<a;i++){const E=o.charCodeAt(i);if(E===10){const w=l(u);w!==null&&(o+=w,a=o.length,u++)}else if(!Oa(E))break}let v=e.md.helpers.parseLinkTitle(o,i,a);for(;v.can_continue;){const E=l(u);if(E===null)break;o+=E,i=a,a=o.length,u++,v=e.md.helpers.parseLinkTitle(o,i,a,v)}let _;for(i<a&&y!==i&&v.ok?(_=v.str,i=v.pos):(_="",i=h,u=m);i<a;){const E=o.charCodeAt(i);if(!Oa(E))break;i++}if(i<a&&o.charCodeAt(i)!==10&&_)for(_="",i=h,u=m;i<a;){const E=o.charCodeAt(i);if(!Oa(E))break;i++}if(i<a&&o.charCodeAt(i)!==10)return!1;const x=JC(o.slice(1,s));return x?(r||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[x]>"u"&&(e.env.references[x]={title:_,href:d}),e.line=u),!0):!1}const BIe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],QIe="[a-zA-Z_:][a-zA-Z0-9:._-]*",zIe="[^\"'=<>`\\x00-\\x20]+",qIe="'[^']*'",VIe='"[^"]*"',UIe="(?:"+zIe+"|"+qIe+"|"+VIe+")",jIe="(?:\\s+"+QIe+"(?:\\s*=\\s*"+UIe+")?)",Q0e="<[A-Za-z][A-Za-z0-9\\-]*"+jIe+"*\\s*\\/?>",z0e="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",ZIe="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",HIe="<[?][\\s\\S]*?[?]>",XIe="<![A-Za-z][^>]*>",YIe="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",GIe=new RegExp("^(?:"+Q0e+"|"+z0e+"|"+ZIe+"|"+HIe+"|"+XIe+"|"+YIe+")"),KIe=new RegExp("^(?:"+Q0e+"|"+z0e+")"),hO=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+BIe.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(KIe.source+"\\s*$"),/^$/,!1]];function WIe(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let u=e.src.slice(i,a),l=0;for(;l<hO.length&&!hO[l][0].test(u);l++);if(l===hO.length)return!1;if(r)return hO[l][2];let o=t+1;if(!hO[l][1].test(u)){for(;o<n&&!(e.sCount[o]<e.blkIndent);o++)if(i=e.bMarks[o]+e.tShift[o],a=e.eMarks[o],u=e.src.slice(i,a),hO[l][1].test(u)){u.length!==0&&o++;break}}e.line=o;const s=e.push("html_block","",0);return s.map=[t,o],s.content=e.getLines(t,o,e.blkIndent,!0),!0}function JIe(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let u=e.src.charCodeAt(i);if(u!==35||i>=a)return!1;let l=1;for(u=e.src.charCodeAt(++i);u===35&&i<a&&l<=6;)l++,u=e.src.charCodeAt(++i);if(l>6||i<a&&!Oa(u))return!1;if(r)return!0;a=e.skipSpacesBack(a,i);const o=e.skipCharsBack(a,35,i);o>i&&Oa(e.src.charCodeAt(o-1))&&(a=o),e.line=t+1;const s=e.push("heading_open","h"+String(l),1);s.markup="########".slice(0,l),s.map=[t,e.line];const c=e.push("inline","",0);c.content=e.src.slice(i,a).trim(),c.map=[t,e.line],c.children=[];const d=e.push("heading_close","h"+String(l),-1);return d.markup="########".slice(0,l),!0}function eLe(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let a=0,u,l=t+1;for(;l<n&&!e.isEmpty(l);l++){if(e.sCount[l]-e.blkIndent>3)continue;if(e.sCount[l]>=e.blkIndent){let m=e.bMarks[l]+e.tShift[l];const y=e.eMarks[l];if(m<y&&(u=e.src.charCodeAt(m),(u===45||u===61)&&(m=e.skipChars(m,u),m=e.skipSpaces(m),m>=y))){a=u===61?1:2;break}}if(e.sCount[l]<0)continue;let h=!1;for(let m=0,y=r.length;m<y;m++)if(r[m](e,l,n,!0)){h=!0;break}if(h)break}if(!a)return!1;const o=e.getLines(t,l,e.blkIndent,!1).trim();e.line=l+1;const s=e.push("heading_open","h"+String(a),1);s.markup=String.fromCharCode(u),s.map=[t,e.line];const c=e.push("inline","",0);c.content=o,c.map=[t,e.line-1],c.children=[];const d=e.push("heading_close","h"+String(a),-1);return d.markup=String.fromCharCode(u),e.parentType=i,!0}function tLe(e,t,n){const r=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let a=t+1;for(e.parentType="paragraph";a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3||e.sCount[a]<0)continue;let s=!1;for(let c=0,d=r.length;c<d;c++)if(r[c](e,a,n,!0)){s=!0;break}if(s)break}const u=e.getLines(t,a,e.blkIndent,!1).trim();e.line=a;const l=e.push("paragraph_open","p",1);l.map=[t,e.line];const o=e.push("inline","",0);return o.content=u,o.map=[t,e.line],o.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}const Y_=[["table",TIe,["paragraph","reference"]],["code",kIe],["fence",PIe,["paragraph","reference","blockquote","list"]],["blockquote",MIe,["paragraph","reference","blockquote","list"]],["hr",FIe,["paragraph","reference","blockquote","list"]],["list",IIe,["paragraph","reference","blockquote"]],["reference",LIe],["html_block",WIe,["paragraph","reference","blockquote"]],["heading",JIe,["paragraph","reference","blockquote"]],["lheading",eLe],["paragraph",tLe]];function e5(){this.ruler=new sf;for(let e=0;e<Y_.length;e++)this.ruler.push(Y_[e][0],Y_[e][1],{alt:(Y_[e][2]||[]).slice()})}e5.prototype.tokenize=function(e,t,n){const r=this.ruler.getRules(""),i=r.length,a=e.md.options.maxNesting;let u=t,l=!1;for(;u<n&&(e.line=u=e.skipEmptyLines(u),!(u>=n||e.sCount[u]<e.blkIndent));){if(e.level>=a){e.line=n;break}const o=e.line;let s=!1;for(let c=0;c<i;c++)if(s=r[c](e,u,n,!1),s){if(o>=e.line)throw new Error("block rule didn't increment state.line");break}if(!s)throw new Error("none of the block rules matched");e.tight=!l,e.isEmpty(e.line-1)&&(l=!0),u=e.line,u<n&&e.isEmpty(u)&&(l=!0,u++,e.line=u)}};e5.prototype.parse=function(e,t,n,r){if(!e)return;const i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)};e5.prototype.State=I0;function sx(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}sx.prototype.pushPending=function(){const e=new pp("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};sx.prototype.push=function(e,t,n){this.pending&&this.pushPending();const r=new pp(e,t,n);let i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};sx.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let a=e;for(;a<n&&this.src.charCodeAt(a)===r;)a++;const u=a-e,l=a<n?this.src.charCodeAt(a):32,o=bS(i)||yS(String.fromCharCode(i)),s=bS(l)||yS(String.fromCharCode(l)),c=vS(i),d=vS(l),h=!d&&(!s||c||o),m=!c&&(!o||d||s);return{can_open:h&&(t||!m||o),can_close:m&&(t||!h||s),length:u}};sx.prototype.Token=pp;function nLe(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function rLe(e,t){let n=e.pos;for(;n<e.posMax&&!nLe(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const iLe=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function aLe(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const i=e.pending.match(iLe);if(!i)return!1;const a=i[1],u=e.md.linkify.matchAtStart(e.src.slice(n-a.length));if(!u)return!1;let l=u.url;if(l.length<=a.length)return!1;l=l.replace(/\*+$/,"");const o=e.md.normalizeLink(l);if(!e.md.validateLink(o))return!1;if(!t){e.pending=e.pending.slice(0,-a.length);const s=e.push("link_open","a",1);s.attrs=[["href",o]],s.markup="linkify",s.info="auto";const c=e.push("text","",0);c.content=e.md.normalizeLinkText(l);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=l.length-a.length,!0}function uLe(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let a=r-1;for(;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<i&&Oa(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const RI=[];for(let e=0;e<256;e++)RI.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){RI[e.charCodeAt(0)]=1});function lLe(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push("hardbreak","br",0),n++;n<r&&(i=e.src.charCodeAt(n),!!Oa(i));)n++;return e.pos=n,!0}let a=e.src[n];if(i>=55296&&i<=56319&&n+1<r){const l=e.src.charCodeAt(n+1);l>=56320&&l<=57343&&(a+=e.src[n+1],n++)}const u="\\"+a;if(!t){const l=e.push("text_special","",0);i<256&&RI[i]!==0?l.content=a:l.content=u,l.markup=u,l.info="escape"}return e.pos=n+1,!0}function oLe(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const i=n;n++;const a=e.posMax;for(;n<a&&e.src.charCodeAt(n)===96;)n++;const u=e.src.slice(i,n),l=u.length;if(e.backticksScanned&&(e.backticks[l]||0)<=i)return t||(e.pending+=u),e.pos+=l,!0;let o=n,s;for(;(s=e.src.indexOf("`",o))!==-1;){for(o=s+1;o<a&&e.src.charCodeAt(o)===96;)o++;const c=o-s;if(c===l){if(!t){const d=e.push("code_inline","code",0);d.markup=u,d.content=e.src.slice(n,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=o,!0}e.backticks[c]=s}return e.backticksScanned=!0,t||(e.pending+=u),e.pos+=l,!0}function sLe(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;const i=e.scanDelims(e.pos,!0);let a=i.length;const u=String.fromCharCode(r);if(a<2)return!1;let l;a%2&&(l=e.push("text","",0),l.content=u,a--);for(let o=0;o<a;o+=2)l=e.push("text","",0),l.content=u+u,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function mX(e,t){let n;const r=[],i=t.length;for(let a=0;a<i;a++){const u=t[a];if(u.marker!==126||u.end===-1)continue;const l=t[u.end];n=e.tokens[u.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[l.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[l.token-1].type==="text"&&e.tokens[l.token-1].content==="~"&&r.push(l.token-1)}for(;r.length;){const a=r.pop();let u=a+1;for(;u<e.tokens.length&&e.tokens[u].type==="s_close";)u++;u--,a!==u&&(n=e.tokens[u],e.tokens[u]=e.tokens[a],e.tokens[a]=n)}}function cLe(e){const t=e.tokens_meta,n=e.tokens_meta.length;mX(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&mX(e,t[r].delimiters)}const q0e={tokenize:sLe,postProcess:cLe};function fLe(e,t){const n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;const i=e.scanDelims(e.pos,r===42);for(let a=0;a<i.length;a++){const u=e.push("text","",0);u.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function gX(e,t){const n=t.length;for(let r=n-1;r>=0;r--){const i=t[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const a=t[i.end],u=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===a.token+1,l=String.fromCharCode(i.marker),o=e.tokens[i.token];o.type=u?"strong_open":"em_open",o.tag=u?"strong":"em",o.nesting=1,o.markup=u?l+l:l,o.content="";const s=e.tokens[a.token];s.type=u?"strong_close":"em_close",s.tag=u?"strong":"em",s.nesting=-1,s.markup=u?l+l:l,s.content="",u&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--)}}function dLe(e){const t=e.tokens_meta,n=e.tokens_meta.length;gX(e,e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&gX(e,t[r].delimiters)}const V0e={tokenize:fLe,postProcess:dLe};function hLe(e,t){let n,r,i,a,u="",l="",o=e.pos,s=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const c=e.pos,d=e.posMax,h=e.pos+1,m=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(m<0)return!1;let y=m+1;if(y<d&&e.src.charCodeAt(y)===40){for(s=!1,y++;y<d&&(n=e.src.charCodeAt(y),!(!Oa(n)&&n!==10));y++);if(y>=d)return!1;if(o=y,i=e.md.helpers.parseLinkDestination(e.src,y,e.posMax),i.ok){for(u=e.md.normalizeLink(i.str),e.md.validateLink(u)?y=i.pos:u="",o=y;y<d&&(n=e.src.charCodeAt(y),!(!Oa(n)&&n!==10));y++);if(i=e.md.helpers.parseLinkTitle(e.src,y,e.posMax),y<d&&o!==y&&i.ok)for(l=i.str,y=i.pos;y<d&&(n=e.src.charCodeAt(y),!(!Oa(n)&&n!==10));y++);}(y>=d||e.src.charCodeAt(y)!==41)&&(s=!0),y++}if(s){if(typeof e.env.references>"u")return!1;if(y<d&&e.src.charCodeAt(y)===91?(o=y+1,y=e.md.helpers.parseLinkLabel(e,y),y>=0?r=e.src.slice(o,y++):y=m+1):y=m+1,r||(r=e.src.slice(h,m)),a=e.env.references[JC(r)],!a)return e.pos=c,!1;u=a.href,l=a.title}if(!t){e.pos=h,e.posMax=m;const v=e.push("link_open","a",1),_=[["href",u]];v.attrs=_,l&&_.push(["title",l]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=y,e.posMax=d,!0}function pLe(e,t){let n,r,i,a,u,l,o,s,c="";const d=e.pos,h=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const m=e.pos+2,y=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(y<0)return!1;if(a=y+1,a<h&&e.src.charCodeAt(a)===40){for(a++;a<h&&(n=e.src.charCodeAt(a),!(!Oa(n)&&n!==10));a++);if(a>=h)return!1;for(s=a,l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),l.ok&&(c=e.md.normalizeLink(l.str),e.md.validateLink(c)?a=l.pos:c=""),s=a;a<h&&(n=e.src.charCodeAt(a),!(!Oa(n)&&n!==10));a++);if(l=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<h&&s!==a&&l.ok)for(o=l.str,a=l.pos;a<h&&(n=e.src.charCodeAt(a),!(!Oa(n)&&n!==10));a++);else o="";if(a>=h||e.src.charCodeAt(a)!==41)return e.pos=d,!1;a++}else{if(typeof e.env.references>"u")return!1;if(a<h&&e.src.charCodeAt(a)===91?(s=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?i=e.src.slice(s,a++):a=y+1):a=y+1,i||(i=e.src.slice(m,y)),u=e.env.references[JC(i)],!u)return e.pos=d,!1;c=u.href,o=u.title}if(!t){r=e.src.slice(m,y);const v=[];e.md.inline.parse(r,e.md,e.env,v);const _=e.push("image","img",0),x=[["src",c],["alt",""]];_.attrs=x,_.children=v,_.content=r,o&&x.push(["title",o])}return e.pos=a,e.posMax=h,!0}const mLe=/^([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])?)*)$/,gLe=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function vLe(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const u=e.src.charCodeAt(n);if(u===60)return!1;if(u===62)break}const a=e.src.slice(r+1,n);if(gLe.test(a)){const u=e.md.normalizeLink(a);if(!e.md.validateLink(u))return!1;if(!t){const l=e.push("link_open","a",1);l.attrs=[["href",u]],l.markup="autolink",l.info="auto";const o=e.push("text","",0);o.content=e.md.normalizeLinkText(a);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=a.length+2,!0}if(mLe.test(a)){const u=e.md.normalizeLink("mailto:"+a);if(!e.md.validateLink(u))return!1;if(!t){const l=e.push("link_open","a",1);l.attrs=[["href",u]],l.markup="autolink",l.info="auto";const o=e.push("text","",0);o.content=e.md.normalizeLinkText(a);const s=e.push("link_close","a",-1);s.markup="autolink",s.info="auto"}return e.pos+=a.length+2,!0}return!1}function yLe(e){return/^<a[>\s]/i.test(e)}function bLe(e){return/^<\/a\s*>/i.test(e)}function OLe(e){const t=e|32;return t>=97&&t<=122}function SLe(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!OLe(i))return!1;const a=e.src.slice(r).match(GIe);if(!a)return!1;if(!t){const u=e.push("html_inline","",0);u.content=a[0],yLe(u.content)&&e.linkLevel++,bLe(u.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}const xLe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,_Le=/^&([a-z][a-z0-9]{1,31});/i;function ELe(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const a=e.src.slice(n).match(xLe);if(a){if(!t){const u=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),l=e.push("text_special","",0);l.content=CI(u)?o$(u):o$(65533),l.markup=a[0],l.info="entity"}return e.pos+=a[0].length,!0}}else{const a=e.src.slice(n).match(_Le);if(a){const u=F0e(a[0]);if(u!==a[0]){if(!t){const l=e.push("text_special","",0);l.content=u,l.markup=a[0],l.info="entity"}return e.pos+=a[0].length,!0}}}return!1}function vX(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const a=[];for(let u=0;u<n;u++){const l=e[u];if(a.push(0),(e[r].marker!==l.marker||i!==l.token-1)&&(r=u),i=l.token,l.length=l.length||0,!l.close)continue;t.hasOwnProperty(l.marker)||(t[l.marker]=[-1,-1,-1,-1,-1,-1]);const o=t[l.marker][(l.open?3:0)+l.length%3];let s=r-a[r]-1,c=s;for(;s>o;s-=a[s]+1){const d=e[s];if(d.marker===l.marker&&d.open&&d.end<0){let h=!1;if((d.close||l.open)&&(d.length+l.length)%3===0&&(d.length%3!==0||l.length%3!==0)&&(h=!0),!h){const m=s>0&&!e[s-1].open?a[s-1]+1:0;a[u]=u-s+m,a[s]=m,l.open=!1,d.end=u,d.close=!1,c=-1,i=-2;break}}}c!==-1&&(t[l.marker][(l.open?3:0)+(l.length||0)%3]=c)}}function DLe(e){const t=e.tokens_meta,n=e.tokens_meta.length;vX(e.delimiters);for(let r=0;r<n;r++)t[r]&&t[r].delimiters&&vX(t[r].delimiters)}function $Le(e){let t,n,r=0;const i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type==="text"&&t+1<a&&i[t+1].type==="text"?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}const aP=[["text",rLe],["linkify",aLe],["newline",uLe],["escape",lLe],["backticks",oLe],["strikethrough",q0e.tokenize],["emphasis",V0e.tokenize],["link",hLe],["image",pLe],["autolink",vLe],["html_inline",SLe],["entity",ELe]],uP=[["balance_pairs",DLe],["strikethrough",q0e.postProcess],["emphasis",V0e.postProcess],["fragments_join",$Le]];function cx(){this.ruler=new sf;for(let e=0;e<aP.length;e++)this.ruler.push(aP[e][0],aP[e][1]);this.ruler2=new sf;for(let e=0;e<uP.length;e++)this.ruler2.push(uP[e][0],uP[e][1])}cx.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),r=n.length,i=e.md.options.maxNesting,a=e.cache;if(typeof a[t]<"u"){e.pos=a[t];return}let u=!1;if(e.level<i){for(let l=0;l<r;l++)if(e.level++,u=n[l](e,!0),e.level--,u){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;u||e.pos++,a[t]=e.pos};cx.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){const a=e.pos;let u=!1;if(e.level<i){for(let l=0;l<n;l++)if(u=t[l](e,!1),u){if(a>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(u){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};cx.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const a=this.ruler2.getRules(""),u=a.length;for(let l=0;l<u;l++)a[l](i)};cx.prototype.State=sx;function CLe(e){const t={};e=e||{},t.src_Any=A0e.source,t.src_Cc=T0e.source,t.src_Z=P0e.source,t.src_P=DI.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><｜]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|｜]|"+t.src_ZPCc+"))((?![$+<=>^`|｜])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|｜]|"+t.src_ZPCc+"))((?![$+<=>^`|｜])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function W9(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function t5(e){return Object.prototype.toString.call(e)}function wLe(e){return t5(e)==="[object String]"}function RLe(e){return t5(e)==="[object Object]"}function ALe(e){return t5(e)==="[object RegExp]"}function yX(e){return t5(e)==="[object Function]"}function TLe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const U0e={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function kLe(e){return Object.keys(e||{}).reduce(function(t,n){return t||U0e.hasOwnProperty(n)},!1)}const PLe={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},MLe="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",FLe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function NLe(e){e.__index__=-1,e.__text_cache__=""}function ILe(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function bX(){return function(e,t){t.normalize(e)}}function s$(e){const t=e.re=CLe(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(MLe),n.push(t.src_xn),t.src_tlds=n.join("|");function r(l){return l.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];e.__compiled__={};function a(l,o){throw new Error('(LinkifyIt) Invalid schema "'+l+'": '+o)}Object.keys(e.__schemas__).forEach(function(l){const o=e.__schemas__[l];if(o===null)return;const s={validate:null,link:null};if(e.__compiled__[l]=s,RLe(o)){ALe(o.validate)?s.validate=ILe(o.validate):yX(o.validate)?s.validate=o.validate:a(l,o),yX(o.normalize)?s.normalize=o.normalize:o.normalize?a(l,o):s.normalize=bX();return}if(wLe(o)){i.push(l);return}a(l,o)}),i.forEach(function(l){e.__compiled__[e.__schemas__[l]]&&(e.__compiled__[l].validate=e.__compiled__[e.__schemas__[l]].validate,e.__compiled__[l].normalize=e.__compiled__[e.__schemas__[l]].normalize)}),e.__compiled__[""]={validate:null,normalize:bX()};const u=Object.keys(e.__compiled__).filter(function(l){return l.length>0&&e.__compiled__[l]}).map(TLe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><｜]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><｜]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),NLe(e)}function LLe(e,t){const n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function J9(e,t){const n=new LLe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Xf(e,t){if(!(this instanceof Xf))return new Xf(e,t);t||kLe(e)&&(t=e,e={}),this.__opts__=W9({},U0e,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=W9({},PLe,e),this.__compiled__={},this.__tlds__=FLe,this.__tlds_replaced__=!1,this.re={},s$(this)}Xf.prototype.add=function(t,n){return this.__schemas__[t]=n,s$(this),this};Xf.prototype.set=function(t){return this.__opts__=W9(this.__opts__,t),this};Xf.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,r,i,a,u,l,o,s,c;if(this.re.schema_test.test(t)){for(o=this.re.schema_search,o.lastIndex=0;(n=o.exec(t))!==null;)if(a=this.testSchemaAt(t,n[2],o.lastIndex),a){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=t.search(this.re.host_fuzzy_test),s>=0&&(this.__index__<0||s<this.__index__)&&(r=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(u=r.index+r[1].length,(this.__index__<0||u<this.__index__)&&(this.__schema__="",this.__index__=u,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&(i=t.match(this.re.email_fuzzy))!==null&&(u=i.index+i[1].length,l=i.index+i[0].length,(this.__index__<0||u<this.__index__||u===this.__index__&&l>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=u,this.__last_index__=l))),this.__index__>=0};Xf.prototype.pretest=function(t){return this.re.pretest.test(t)};Xf.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};Xf.prototype.match=function(t){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(J9(this,r)),r=this.__last_index__);let i=r?t.slice(r):t;for(;this.test(i);)n.push(J9(this,r)),i=i.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};Xf.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,J9(this,0)):null};Xf.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,i,a){return r!==a[i-1]}).reverse(),s$(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,s$(this),this)};Xf.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Xf.prototype.onCompile=function(){};const e3=2147483647,v0=36,AI=1,OS=26,BLe=38,QLe=700,j0e=72,Z0e=128,H0e="-",zLe=/^xn--/,qLe=/[^\0-\x7F]/,VLe=/[\x2E\u3002\uFF0E\uFF61]/g,ULe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},lP=v0-AI,y0=Math.floor,oP=String.fromCharCode;function dv(e){throw new RangeError(ULe[e])}function jLe(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function X0e(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(VLe,".");const i=e.split("."),a=jLe(i,t).join(".");return r+a}function Y0e(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const a=e.charCodeAt(n++);(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}const ZLe=e=>String.fromCodePoint(...e),HLe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:v0},OX=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},G0e=function(e,t,n){let r=0;for(e=n?y0(e/QLe):e>>1,e+=y0(e/t);e>lP*OS>>1;r+=v0)e=y0(e/lP);return y0(r+(lP+1)*e/(e+BLe))},K0e=function(e){const t=[],n=e.length;let r=0,i=Z0e,a=j0e,u=e.lastIndexOf(H0e);u<0&&(u=0);for(let l=0;l<u;++l)e.charCodeAt(l)>=128&&dv("not-basic"),t.push(e.charCodeAt(l));for(let l=u>0?u+1:0;l<n;){const o=r;for(let c=1,d=v0;;d+=v0){l>=n&&dv("invalid-input");const h=HLe(e.charCodeAt(l++));h>=v0&&dv("invalid-input"),h>y0((e3-r)/c)&&dv("overflow"),r+=h*c;const m=d<=a?AI:d>=a+OS?OS:d-a;if(h<m)break;const y=v0-m;c>y0(e3/y)&&dv("overflow"),c*=y}const s=t.length+1;a=G0e(r-o,s,o==0),y0(r/s)>e3-i&&dv("overflow"),i+=y0(r/s),r%=s,t.splice(r++,0,i)}return String.fromCodePoint(...t)},W0e=function(e){const t=[];e=Y0e(e);const n=e.length;let r=Z0e,i=0,a=j0e;for(const o of e)o<128&&t.push(oP(o));const u=t.length;let l=u;for(u&&t.push(H0e);l<n;){let o=e3;for(const c of e)c>=r&&c<o&&(o=c);const s=l+1;o-r>y0((e3-i)/s)&&dv("overflow"),i+=(o-r)*s,r=o;for(const c of e)if(c<r&&++i>e3&&dv("overflow"),c===r){let d=i;for(let h=v0;;h+=v0){const m=h<=a?AI:h>=a+OS?OS:h-a;if(d<m)break;const y=d-m,v=v0-m;t.push(oP(OX(m+y%v,0))),d=y0(y/v)}t.push(oP(OX(d,0))),a=G0e(i,s,l===u),i=0,++l}++i,++r}return t.join("")},XLe=function(e){return X0e(e,function(t){return zLe.test(t)?K0e(t.slice(4).toLowerCase()):t})},YLe=function(e){return X0e(e,function(t){return qLe.test(t)?"xn--"+W0e(t):t})},J0e={version:"2.3.1",ucs2:{decode:Y0e,encode:ZLe},decode:K0e,encode:W0e,toASCII:YLe,toUnicode:XLe},GLe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},KLe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},WLe={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},JLe={default:GLe,zero:KLe,commonmark:WLe},eBe=/^(vbscript|javascript|file|data):/,tBe=/^data:image\/(gif|png|jpeg|webp);/;function nBe(e){const t=e.trim().toLowerCase();return eBe.test(t)?tBe.test(t):!0}const eme=["http:","https:","mailto:"];function rBe(e){const t=EI(e,!0);if(t.hostname&&(!t.protocol||eme.indexOf(t.protocol)>=0))try{t.hostname=J0e.toASCII(t.hostname)}catch{}return ox(_I(t))}function iBe(e){const t=EI(e,!0);if(t.hostname&&(!t.protocol||eme.indexOf(t.protocol)>=0))try{t.hostname=J0e.toUnicode(t.hostname)}catch{}return S3(_I(t),S3.defaultChars+"%")}function lp(e,t){if(!(this instanceof lp))return new lp(e,t);t||$I(e)||(t=e||{},e="default"),this.inline=new cx,this.block=new e5,this.core=new wI,this.renderer=new U3,this.linkify=new Xf,this.validateLink=nBe,this.normalizeLink=rBe,this.normalizeLinkText=iBe,this.utils=uIe,this.helpers=WC({},cIe),this.options={},this.configure(e),t&&this.set(t)}lp.prototype.set=function(e){return WC(this.options,e),this};lp.prototype.configure=function(e){const t=this;if($I(e)){const n=e;if(e=JLe[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};lp.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};lp.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};lp.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};lp.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};lp.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};lp.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};lp.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const aBe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];let fx=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};fx.prototype.normal={};fx.prototype.property={};fx.prototype.space=void 0;function tme(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new fx(n,r,t)}function eM(e){return e.toLowerCase()}class ff{constructor(t,n){this.attribute=n,this.property=t}}ff.prototype.attribute="";ff.prototype.booleanish=!1;ff.prototype.boolean=!1;ff.prototype.commaOrSpaceSeparated=!1;ff.prototype.commaSeparated=!1;ff.prototype.defined=!1;ff.prototype.mustUseProperty=!1;ff.prototype.number=!1;ff.prototype.overloadedBoolean=!1;ff.prototype.property="";ff.prototype.spaceSeparated=!1;ff.prototype.space=void 0;let uBe=0;const dr=yb(),sl=yb(),tM=yb(),Mt=yb(),va=yb(),t3=yb(),Ff=yb();function yb(){return 2**++uBe}const nM=Object.freeze(Object.defineProperty({__proto__:null,boolean:dr,booleanish:sl,commaOrSpaceSeparated:Ff,commaSeparated:t3,number:Mt,overloadedBoolean:tM,spaceSeparated:va},Symbol.toStringTag,{value:"Module"})),sP=Object.keys(nM);class TI extends ff{constructor(t,n,r,i){let a=-1;if(super(t,n),SX(this,"space",i),typeof r=="number")for(;++a<sP.length;){const u=sP[a];SX(this,sP[a],(r&nM[u])===nM[u])}}}TI.prototype.defined=!0;function SX(e,t,n){n&&(e[t]=n)}function j3(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new TI(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[eM(r)]=r,n[eM(a.attribute)]=r}return new fx(t,n,e.space)}const nme=j3({properties:{ariaActiveDescendant:null,ariaAtomic:sl,ariaAutoComplete:null,ariaBusy:sl,ariaChecked:sl,ariaColCount:Mt,ariaColIndex:Mt,ariaColSpan:Mt,ariaControls:va,ariaCurrent:null,ariaDescribedBy:va,ariaDetails:null,ariaDisabled:sl,ariaDropEffect:va,ariaErrorMessage:null,ariaExpanded:sl,ariaFlowTo:va,ariaGrabbed:sl,ariaHasPopup:null,ariaHidden:sl,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:va,ariaLevel:Mt,ariaLive:null,ariaModal:sl,ariaMultiLine:sl,ariaMultiSelectable:sl,ariaOrientation:null,ariaOwns:va,ariaPlaceholder:null,ariaPosInSet:Mt,ariaPressed:sl,ariaReadOnly:sl,ariaRelevant:null,ariaRequired:sl,ariaRoleDescription:va,ariaRowCount:Mt,ariaRowIndex:Mt,ariaRowSpan:Mt,ariaSelected:sl,ariaSetSize:Mt,ariaSort:null,ariaValueMax:Mt,ariaValueMin:Mt,ariaValueNow:Mt,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function rme(e,t){return t in e?e[t]:t}function ime(e,t){return rme(e,t.toLowerCase())}const lBe=j3({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:t3,acceptCharset:va,accessKey:va,action:null,allow:null,allowFullScreen:dr,allowPaymentRequest:dr,allowUserMedia:dr,alt:null,as:null,async:dr,autoCapitalize:null,autoComplete:va,autoFocus:dr,autoPlay:dr,blocking:va,capture:null,charSet:null,checked:dr,cite:null,className:va,cols:Mt,colSpan:null,content:null,contentEditable:sl,controls:dr,controlsList:va,coords:Mt|t3,crossOrigin:null,data:null,dateTime:null,decoding:null,default:dr,defer:dr,dir:null,dirName:null,disabled:dr,download:tM,draggable:sl,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:dr,formTarget:null,headers:va,height:Mt,hidden:tM,high:Mt,href:null,hrefLang:null,htmlFor:va,httpEquiv:va,id:null,imageSizes:null,imageSrcSet:null,inert:dr,inputMode:null,integrity:null,is:null,isMap:dr,itemId:null,itemProp:va,itemRef:va,itemScope:dr,itemType:va,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:dr,low:Mt,manifest:null,max:null,maxLength:Mt,media:null,method:null,min:null,minLength:Mt,multiple:dr,muted:dr,name:null,nonce:null,noModule:dr,noValidate:dr,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:dr,optimum:Mt,pattern:null,ping:va,placeholder:null,playsInline:dr,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:dr,referrerPolicy:null,rel:va,required:dr,reversed:dr,rows:Mt,rowSpan:Mt,sandbox:va,scope:null,scoped:dr,seamless:dr,selected:dr,shadowRootClonable:dr,shadowRootDelegatesFocus:dr,shadowRootMode:null,shape:null,size:Mt,sizes:null,slot:null,span:Mt,spellCheck:sl,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Mt,step:null,style:null,tabIndex:Mt,target:null,title:null,translate:null,type:null,typeMustMatch:dr,useMap:null,value:sl,width:Mt,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:va,axis:null,background:null,bgColor:null,border:Mt,borderColor:null,bottomMargin:Mt,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:dr,declare:dr,event:null,face:null,frame:null,frameBorder:null,hSpace:Mt,leftMargin:Mt,link:null,longDesc:null,lowSrc:null,marginHeight:Mt,marginWidth:Mt,noResize:dr,noHref:dr,noShade:dr,noWrap:dr,object:null,profile:null,prompt:null,rev:null,rightMargin:Mt,rules:null,scheme:null,scrolling:sl,standby:null,summary:null,text:null,topMargin:Mt,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Mt,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:dr,disableRemotePlayback:dr,prefix:null,property:null,results:Mt,security:null,unselectable:null},space:"html",transform:ime}),oBe=j3({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ff,accentHeight:Mt,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Mt,amplitude:Mt,arabicForm:null,ascent:Mt,attributeName:null,attributeType:null,azimuth:Mt,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Mt,by:null,calcMode:null,capHeight:Mt,className:va,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Mt,diffuseConstant:Mt,direction:null,display:null,dur:null,divisor:Mt,dominantBaseline:null,download:dr,dx:null,dy:null,edgeMode:null,editable:null,elevation:Mt,enableBackground:null,end:null,event:null,exponent:Mt,externalResourcesRequired:null,fill:null,fillOpacity:Mt,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:t3,g2:t3,glyphName:t3,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Mt,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Mt,horizOriginX:Mt,horizOriginY:Mt,id:null,ideographic:Mt,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Mt,k:Mt,k1:Mt,k2:Mt,k3:Mt,k4:Mt,kernelMatrix:Ff,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Mt,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Mt,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Mt,overlineThickness:Mt,paintOrder:null,panose1:null,path:null,pathLength:Mt,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:va,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Mt,pointsAtY:Mt,pointsAtZ:Mt,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ff,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ff,rev:Ff,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ff,requiredFeatures:Ff,requiredFonts:Ff,requiredFormats:Ff,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Mt,specularExponent:Mt,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Mt,strikethroughThickness:Mt,string:null,stroke:null,strokeDashArray:Ff,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Mt,strokeOpacity:Mt,strokeWidth:null,style:null,surfaceScale:Mt,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ff,tabIndex:Mt,tableValues:null,target:null,targetX:Mt,targetY:Mt,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ff,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Mt,underlineThickness:Mt,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Mt,values:null,vAlphabetic:Mt,vMathematical:Mt,vectorEffect:null,vHanging:Mt,vIdeographic:Mt,version:null,vertAdvY:Mt,vertOriginX:Mt,vertOriginY:Mt,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Mt,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:rme}),ame=j3({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),ume=j3({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ime}),lme=j3({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),sBe={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},cBe=/[A-Z]/g,xX=/-[a-z]/g,fBe=/^data[-\w.:]+$/i;function ome(e,t){const n=eM(t);let r=t,i=ff;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&fBe.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(xX,hBe);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!xX.test(a)){let u=a.replace(cBe,dBe);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}i=TI}return new i(r,t)}function dBe(e){return"-"+e.toLowerCase()}function hBe(e){return e.charAt(1).toUpperCase()}const sme=tme([nme,lBe,ame,ume,lme],"html"),dx=tme([nme,oBe,ame,ume,lme],"svg"),_X={}.hasOwnProperty;function pBe(e,t){const n=t||{};function r(i,...a){let u=r.invalid;const l=r.handlers;if(i&&_X.call(i,e)){const o=String(i[e]);u=_X.call(l,o)?l[o]:r.unknown}if(u)return u.call(this,i,...a)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const mBe=/["&'<>`]/g,gBe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vBe=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,yBe=/[|\\{}()[\]^$+*?.]/g,EX=new WeakMap;function bBe(e,t){if(e=e.replace(t.subset?OBe(t.subset):mBe,r),t.subset||t.escapeOnly)return e;return e.replace(gBe,n).replace(vBe,r);function n(i,a,u){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,u.charCodeAt(a+2),t)}function r(i,a,u){return t.format(i.charCodeAt(0),u.charCodeAt(a+1),t)}}function OBe(e){let t=EX.get(e);return t||(t=SBe(e),EX.set(e,t)),t}function SBe(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(yBe,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const xBe=/[\dA-Fa-f]/;function _Be(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!xBe.test(String.fromCharCode(t))?r:r+";"}const EBe=/\d/;function DBe(e,t,n){const r="&#"+String(e);return n&&t&&!EBe.test(String.fromCharCode(t))?r:r+";"}const $Be=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],cP={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},CBe=["cent","copy","divide","gt","lt","not","para","times"],cme={}.hasOwnProperty,rM={};let G_;for(G_ in cP)cme.call(cP,G_)&&(rM[cP[G_]]=G_);const wBe=/[^\dA-Za-z]/;function RBe(e,t,n,r){const i=String.fromCharCode(e);if(cme.call(rM,i)){const a=rM[i],u="&"+a;return n&&$Be.includes(a)&&!CBe.includes(a)&&(!r||t&&t!==61&&wBe.test(String.fromCharCode(t)))?u:u+";"}return""}function ABe(e,t,n){let r=_Be(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=RBe(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const a=DBe(e,t,n.omitOptionalSemicolons);a.length<r.length&&(r=a)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function n3(e,t){return bBe(e,Object.assign({format:ABe},t))}const TBe=/^>|^->|<!--|-->|--!>|<!-$/g,kBe=[">"],PBe=["<",">"];function MBe(e,t,n,r){return r.settings.bogusComments?"<?"+n3(e.value,Object.assign({},r.settings.characterReferences,{subset:kBe}))+">":"<!--"+e.value.replace(TBe,i)+"-->";function i(a){return n3(a,Object.assign({},r.settings.characterReferences,{subset:PBe}))}}function FBe(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function c$(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function fme(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function dme(e){return e.join(" ").trim()}const NBe=/[ \t\n\f\r]/g;function n5(e){return typeof e=="object"?e.type==="text"?DX(e.value):!1:DX(e)}function DX(e){return e.replace(NBe,"")===""}const $l=pme(1),hme=pme(-1),IBe=[];function pme(e){return t;function t(n,r,i){const a=n?n.children:IBe;let u=(r||0)+e,l=a[u];if(!i)for(;l&&n5(l);)u+=e,l=a[u];return l}}const LBe={}.hasOwnProperty;function mme(e){return t;function t(n,r,i){return LBe.call(e,n.tagName)&&e[n.tagName](n,r,i)}}const kI=mme({body:QBe,caption:fP,colgroup:fP,dd:UBe,dt:VBe,head:fP,html:BBe,li:qBe,optgroup:jBe,option:ZBe,p:zBe,rp:$X,rt:$X,tbody:XBe,td:CX,tfoot:YBe,th:CX,thead:HBe,tr:GBe});function fP(e,t,n){const r=$l(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&n5(r.value.charAt(0)))}function BBe(e,t,n){const r=$l(n,t);return!r||r.type!=="comment"}function QBe(e,t,n){const r=$l(n,t);return!r||r.type!=="comment"}function zBe(e,t,n){const r=$l(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function qBe(e,t,n){const r=$l(n,t);return!r||r.type==="element"&&r.tagName==="li"}function VBe(e,t,n){const r=$l(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function UBe(e,t,n){const r=$l(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function $X(e,t,n){const r=$l(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function jBe(e,t,n){const r=$l(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function ZBe(e,t,n){const r=$l(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function HBe(e,t,n){const r=$l(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function XBe(e,t,n){const r=$l(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function YBe(e,t,n){return!$l(n,t)}function GBe(e,t,n){const r=$l(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function CX(e,t,n){const r=$l(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const KBe=mme({body:eQe,colgroup:tQe,head:JBe,html:WBe,tbody:nQe});function WBe(e){const t=$l(e,-1);return!t||t.type!=="comment"}function JBe(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function eQe(e){const t=$l(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&n5(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function tQe(e,t,n){const r=hme(n,t),i=$l(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&kI(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function nQe(e,t,n){const r=hme(n,t),i=$l(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&kI(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const K_={name:[[`	
\f\r &/=>`.split(""),`	
\f\r "&'/=>\``.split("")],[`\0	
\f\r "&'/<=>`.split(""),`\0	
\f\r "&'/<=>\``.split("")]],unquoted:[[`	
\f\r &>`.split(""),`\0	
\f\r "&'<=>\``.split("")],[`\0	
\f\r "&'<=>\``.split(""),`\0	
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function rQe(e,t,n,r){const i=r.schema,a=i.space==="svg"?!1:r.settings.omitOptionalTags;let u=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let o;i.space==="html"&&e.tagName==="svg"&&(r.schema=dx);const s=iQe(r,e.properties),c=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,c&&(u=!1),(s||!a||!KBe(e,t,n))&&(l.push("<",e.tagName,s?" "+s:""),u&&(i.space==="svg"||r.settings.closeSelfClosing)&&(o=s.charAt(s.length-1),(!r.settings.tightSelfClosing||o==="/"||o&&o!=='"'&&o!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(c),!u&&(!a||!kI(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function iQe(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const a=aQe(e,i,t[i]);a&&n.push(a)}}for(;++r<n.length;){const a=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&a!=='"'&&a!=="'"&&(n[r]+=" ")}return n.join("")}function aQe(e,t,n){const r=ome(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,a=e.settings.allowDangerousCharacters?0:1;let u=e.quote,l;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const o=n3(r.attribute,Object.assign({},e.settings.characterReferences,{subset:K_.name[i][a]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?fme:dme)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?o:(e.settings.preferUnquoted&&(l=n3(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:K_.unquoted[i][a]}))),l!==n&&(e.settings.quoteSmart&&c$(n,u)>c$(n,e.alternative)&&(u=e.alternative),l=u+n3(n,Object.assign({},e.settings.characterReferences,{subset:(u==="'"?K_.single:K_.double)[i][a],attribute:!0}))+u),o+(l&&"="+l))}const uQe=["<","&"];function gme(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:n3(e.value,Object.assign({},r.settings.characterReferences,{subset:uQe}))}function lQe(e,t,n,r){return r.settings.allowDangerousHtml?e.value:gme(e,t,n,r)}function oQe(e,t,n,r){return r.all(e)}const sQe=pBe("type",{invalid:cQe,unknown:fQe,handlers:{comment:MBe,doctype:FBe,element:rQe,raw:lQe,root:oQe,text:gme}});function cQe(e){throw new Error("Expected node, not `"+e+"`")}function fQe(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const dQe={},hQe={},pQe=[];function Vit(e,t){const n=dQe,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:mQe,all:gQe,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||aBe,characterReferences:n.characterReferences||hQe,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?dx:sme,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function mQe(e,t,n){return sQe(e,t,n,this)}function gQe(e){const t=[],n=e&&e.children||pQe;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}var dP={},wX;function vQe(){return wX||(wX=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.parse=e.enableErrorLogging=e.disableErrorLogging=e.setErrorLogger=void 0;let t=console.error;function n(k){t=k}e.setErrorLogger=n;function r(){t=()=>{}}e.disableErrorLogging=r;function i(){t=console.error}e.enableErrorLogging=i;function a(k){if(k!==void 0){if(k===null)return null;if(k==="")return"";k=k.replace(/\\+$/,F=>F.length%2===0?F:F.slice(0,-1));try{return JSON.parse(k)}catch(F){const[z,Z]=k.trimLeft()[0]===":"?u(k,F):u(k,F,x);if(a.lastParseReminding=Z,a.onExtraToken&&Z.length>0){const q=Z.trimRight();a.lastParseReminding=q,q.length>0&&a.onExtraToken(k,z,q)}return z}}}e.parse=a,(function(k){k.onExtraToken=(F,z,Z)=>{t("parsed json with extra tokens:",{text:F,data:z,reminding:Z})}})(a=e.parse||(e.parse={}));function u(k,F,z){const Z=o[k[0]]||z;if(!Z)throw t(`no parser registered for ${JSON.stringify(k[0])}:`,{s:k}),F;return Z(k,F)}function l(k,F,z){return k[0]==='"'?y(k):k[0]==="'"?_(k):x(k,F,z)}const o={};function s(k){return k.trimLeft()}o[" "]=c,o["\r"]=c,o[`
`]=c,o["	"]=c;function c(k,F){return k=s(k),u(k,F)}o["["]=d;function d(k,F){k=k.substr(1);const z=[];for(k=s(k);k.length>0;){if(k[0]==="]"){k=k.substr(1);break}const Z=u(k,F,(q,j)=>x(q,j,[",","]"]));z.push(Z[0]),k=Z[1],k=s(k),k[0]===","&&(k=k.substring(1),k=s(k))}return[z,k]}for(const k of"0123456789.-".slice())o[k]=h;function h(k){for(let F=0;F<k.length;F++){const z=k[F];if(o[z]===h)continue;const Z=k.substring(0,F);return k=k.substring(F),[m(Z),k]}return[m(k),""]}function m(k){if(k==="-")return-0;const F=+k;return Number.isNaN(F)?k:F}o['"']=y;function y(k){for(let F=1;F<k.length;F++){const z=k[F];if(z==="\\"){F++;continue}if(z==='"'){const Z=v(k.substring(0,F+1));return k=k.substring(F+1),[JSON.parse(Z),k]}}return[JSON.parse(v(k)+'"'),""]}function v(k){return k.replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r")}o["'"]=_;function _(k){for(let F=1;F<k.length;F++){const z=k[F];if(z==="\\"){F++;continue}if(z==="'"){const Z=v(k.substring(0,F+1));return k=k.substring(F+1),[JSON.parse('"'+Z.slice(1,-1)+'"'),k]}}return[JSON.parse('"'+v(k.slice(1))+'"'),""]}function x(k,F,z=[" "]){const Z=Math.min(...z.map(N=>{const V=k.indexOf(N);return V===-1?k.length:V})),q=k.substring(0,Z).trim(),j=k.substring(Z);return[q,j]}o["{"]=E;function E(k,F){k=k.substr(1);const z={};for(k=s(k);k.length>0;){if(k[0]==="}"){k=k.substr(1);break}const Z=l(k,F,[":","}"]),q=Z[0];if(k=Z[1],k=s(k),k[0]!==":"){z[q]=void 0;break}if(k=k.substr(1),k=s(k),k.length===0){z[q]=void 0;break}const j=u(k,F);z[q]=j[0],k=j[1],k=s(k),k[0]===","&&(k=k.substr(1),k=s(k))}return[z,k]}o.t=w;function w(k,F){return C(k,"true",!0,F)}o.f=T;function T(k,F){return C(k,"false",!1,F)}o.n=R;function R(k,F){return C(k,"null",null,F)}function C(k,F,z,Z){for(let q=F.length;q>=1;q--)if(k.startsWith(F.slice(0,q)))return[z,k.slice(q)];{const q=JSON.stringify(k.slice(0,F.length));throw t(`unknown token starting with ${q}:`,{s:k}),Z}}})(dP)),dP}var Uit=vQe(),yQe=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,bQe=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,OQe=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,hP={Space_Separator:yQe,ID_Start:bQe,ID_Continue:OQe},Lu={isSpaceSeparator(e){return typeof e=="string"&&hP.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||hP.ID_Start.test(e))},isIdContinueChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="‌"||e==="‍"||hP.ID_Continue.test(e))},isDigit(e){return typeof e=="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e=="string"&&/[0-9A-Fa-f]/.test(e)}};let iM,rc,Qm,f$,Hv,ep,Yl,PI,P2;var SQe=function(t,n){iM=String(t),rc="start",Qm=[],f$=0,Hv=1,ep=0,Yl=void 0,PI=void 0,P2=void 0;do Yl=xQe(),DQe[rc]();while(Yl.type!=="eof");return typeof n=="function"?aM({"":P2},"",n):P2};function aM(e,t,n){const r=e[t];if(r!=null&&typeof r=="object")if(Array.isArray(r))for(let i=0;i<r.length;i++){const a=String(i),u=aM(r,a,n);u===void 0?delete r[a]:Object.defineProperty(r,a,{value:u,writable:!0,enumerable:!0,configurable:!0})}else for(const i in r){const a=aM(r,i,n);a===void 0?delete r[i]:Object.defineProperty(r,i,{value:a,writable:!0,enumerable:!0,configurable:!0})}return n.call(e,t,r)}let br,or,O2,Cm,Vr;function xQe(){for(br="default",or="",O2=!1,Cm=1;;){Vr=Gm();const e=vme[br]();if(e)return e}}function Gm(){if(iM[f$])return String.fromCodePoint(iM.codePointAt(f$))}function Dt(){const e=Gm();return e===`
`?(Hv++,ep=0):e?ep+=e.length:ep++,e&&(f$+=e.length),e}const vme={default(){switch(Vr){case"	":case"\v":case"\f":case" ":case" ":case"\uFEFF":case`
`:case"\r":case"\u2028":case"\u2029":Dt();return;case"/":Dt(),br="comment";return;case void 0:return Dt(),Ta("eof")}if(Lu.isSpaceSeparator(Vr)){Dt();return}return vme[rc]()},comment(){switch(Vr){case"*":Dt(),br="multiLineComment";return;case"/":Dt(),br="singleLineComment";return}throw ka(Dt())},multiLineComment(){switch(Vr){case"*":Dt(),br="multiLineCommentAsterisk";return;case void 0:throw ka(Dt())}Dt()},multiLineCommentAsterisk(){switch(Vr){case"*":Dt();return;case"/":Dt(),br="default";return;case void 0:throw ka(Dt())}Dt(),br="multiLineComment"},singleLineComment(){switch(Vr){case`
`:case"\r":case"\u2028":case"\u2029":Dt(),br="default";return;case void 0:return Dt(),Ta("eof")}Dt()},value(){switch(Vr){case"{":case"[":return Ta("punctuator",Dt());case"n":return Dt(),a1("ull"),Ta("null",null);case"t":return Dt(),a1("rue"),Ta("boolean",!0);case"f":return Dt(),a1("alse"),Ta("boolean",!1);case"-":case"+":Dt()==="-"&&(Cm=-1),br="sign";return;case".":or=Dt(),br="decimalPointLeading";return;case"0":or=Dt(),br="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":or=Dt(),br="decimalInteger";return;case"I":return Dt(),a1("nfinity"),Ta("numeric",1/0);case"N":return Dt(),a1("aN"),Ta("numeric",NaN);case'"':case"'":O2=Dt()==='"',or="",br="string";return}throw ka(Dt())},identifierNameStartEscape(){if(Vr!=="u")throw ka(Dt());Dt();const e=uM();switch(e){case"$":case"_":break;default:if(!Lu.isIdStartChar(e))throw RX();break}or+=e,br="identifierName"},identifierName(){switch(Vr){case"$":case"_":case"‌":case"‍":or+=Dt();return;case"\\":Dt(),br="identifierNameEscape";return}if(Lu.isIdContinueChar(Vr)){or+=Dt();return}return Ta("identifier",or)},identifierNameEscape(){if(Vr!=="u")throw ka(Dt());Dt();const e=uM();switch(e){case"$":case"_":case"‌":case"‍":break;default:if(!Lu.isIdContinueChar(e))throw RX();break}or+=e,br="identifierName"},sign(){switch(Vr){case".":or=Dt(),br="decimalPointLeading";return;case"0":or=Dt(),br="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":or=Dt(),br="decimalInteger";return;case"I":return Dt(),a1("nfinity"),Ta("numeric",Cm*(1/0));case"N":return Dt(),a1("aN"),Ta("numeric",NaN)}throw ka(Dt())},zero(){switch(Vr){case".":or+=Dt(),br="decimalPoint";return;case"e":case"E":or+=Dt(),br="decimalExponent";return;case"x":case"X":or+=Dt(),br="hexadecimal";return}return Ta("numeric",Cm*0)},decimalInteger(){switch(Vr){case".":or+=Dt(),br="decimalPoint";return;case"e":case"E":or+=Dt(),br="decimalExponent";return}if(Lu.isDigit(Vr)){or+=Dt();return}return Ta("numeric",Cm*Number(or))},decimalPointLeading(){if(Lu.isDigit(Vr)){or+=Dt(),br="decimalFraction";return}throw ka(Dt())},decimalPoint(){switch(Vr){case"e":case"E":or+=Dt(),br="decimalExponent";return}if(Lu.isDigit(Vr)){or+=Dt(),br="decimalFraction";return}return Ta("numeric",Cm*Number(or))},decimalFraction(){switch(Vr){case"e":case"E":or+=Dt(),br="decimalExponent";return}if(Lu.isDigit(Vr)){or+=Dt();return}return Ta("numeric",Cm*Number(or))},decimalExponent(){switch(Vr){case"+":case"-":or+=Dt(),br="decimalExponentSign";return}if(Lu.isDigit(Vr)){or+=Dt(),br="decimalExponentInteger";return}throw ka(Dt())},decimalExponentSign(){if(Lu.isDigit(Vr)){or+=Dt(),br="decimalExponentInteger";return}throw ka(Dt())},decimalExponentInteger(){if(Lu.isDigit(Vr)){or+=Dt();return}return Ta("numeric",Cm*Number(or))},hexadecimal(){if(Lu.isHexDigit(Vr)){or+=Dt(),br="hexadecimalInteger";return}throw ka(Dt())},hexadecimalInteger(){if(Lu.isHexDigit(Vr)){or+=Dt();return}return Ta("numeric",Cm*Number(or))},string(){switch(Vr){case"\\":Dt(),or+=_Qe();return;case'"':if(O2)return Dt(),Ta("string",or);or+=Dt();return;case"'":if(!O2)return Dt(),Ta("string",or);or+=Dt();return;case`
`:case"\r":throw ka(Dt());case"\u2028":case"\u2029":$Qe(Vr);break;case void 0:throw ka(Dt())}or+=Dt()},start(){switch(Vr){case"{":case"[":return Ta("punctuator",Dt())}br="value"},beforePropertyName(){switch(Vr){case"$":case"_":or=Dt(),br="identifierName";return;case"\\":Dt(),br="identifierNameStartEscape";return;case"}":return Ta("punctuator",Dt());case'"':case"'":O2=Dt()==='"',br="string";return}if(Lu.isIdStartChar(Vr)){or+=Dt(),br="identifierName";return}throw ka(Dt())},afterPropertyName(){if(Vr===":")return Ta("punctuator",Dt());throw ka(Dt())},beforePropertyValue(){br="value"},afterPropertyValue(){switch(Vr){case",":case"}":return Ta("punctuator",Dt())}throw ka(Dt())},beforeArrayValue(){if(Vr==="]")return Ta("punctuator",Dt());br="value"},afterArrayValue(){switch(Vr){case",":case"]":return Ta("punctuator",Dt())}throw ka(Dt())},end(){throw ka(Dt())}};function Ta(e,t){return{type:e,value:t,line:Hv,column:ep}}function a1(e){for(const t of e){if(Gm()!==t)throw ka(Dt());Dt()}}function _Qe(){switch(Gm()){case"b":return Dt(),"\b";case"f":return Dt(),"\f";case"n":return Dt(),`
`;case"r":return Dt(),"\r";case"t":return Dt(),"	";case"v":return Dt(),"\v";case"0":if(Dt(),Lu.isDigit(Gm()))throw ka(Dt());return"\0";case"x":return Dt(),EQe();case"u":return Dt(),uM();case`
`:case"\u2028":case"\u2029":return Dt(),"";case"\r":return Dt(),Gm()===`
`&&Dt(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw ka(Dt());case void 0:throw ka(Dt())}return Dt()}function EQe(){let e="",t=Gm();if(!Lu.isHexDigit(t)||(e+=Dt(),t=Gm(),!Lu.isHexDigit(t)))throw ka(Dt());return e+=Dt(),String.fromCodePoint(parseInt(e,16))}function uM(){let e="",t=4;for(;t-- >0;){const n=Gm();if(!Lu.isHexDigit(n))throw ka(Dt());e+=Dt()}return String.fromCodePoint(parseInt(e,16))}const DQe={start(){if(Yl.type==="eof")throw u1();pP()},beforePropertyName(){switch(Yl.type){case"identifier":case"string":PI=Yl.value,rc="afterPropertyName";return;case"punctuator":W_();return;case"eof":throw u1()}},afterPropertyName(){if(Yl.type==="eof")throw u1();rc="beforePropertyValue"},beforePropertyValue(){if(Yl.type==="eof")throw u1();pP()},beforeArrayValue(){if(Yl.type==="eof")throw u1();if(Yl.type==="punctuator"&&Yl.value==="]"){W_();return}pP()},afterPropertyValue(){if(Yl.type==="eof")throw u1();switch(Yl.value){case",":rc="beforePropertyName";return;case"}":W_()}},afterArrayValue(){if(Yl.type==="eof")throw u1();switch(Yl.value){case",":rc="beforeArrayValue";return;case"]":W_()}},end(){}};function pP(){let e;switch(Yl.type){case"punctuator":switch(Yl.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=Yl.value;break}if(P2===void 0)P2=e;else{const t=Qm[Qm.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,PI,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(e!==null&&typeof e=="object")Qm.push(e),Array.isArray(e)?rc="beforeArrayValue":rc="beforePropertyName";else{const t=Qm[Qm.length-1];t==null?rc="end":Array.isArray(t)?rc="afterArrayValue":rc="afterPropertyValue"}}function W_(){Qm.pop();const e=Qm[Qm.length-1];e==null?rc="end":Array.isArray(e)?rc="afterArrayValue":rc="afterPropertyValue"}function ka(e){return d$(e===void 0?`JSON5: invalid end of input at ${Hv}:${ep}`:`JSON5: invalid character '${yme(e)}' at ${Hv}:${ep}`)}function u1(){return d$(`JSON5: invalid end of input at ${Hv}:${ep}`)}function RX(){return ep-=5,d$(`JSON5: invalid identifier character at ${Hv}:${ep}`)}function $Qe(e){console.warn(`JSON5: '${yme(e)}' in strings is not valid ECMAScript; consider escaping`)}function yme(e){const t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","	":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){const n=e.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return e}function d$(e){const t=new SyntaxError(e);return t.lineNumber=Hv,t.columnNumber=ep,t}var CQe=function(t,n,r){const i=[];let a="",u,l,o="",s;if(n!=null&&typeof n=="object"&&!Array.isArray(n)&&(r=n.space,s=n.quote,n=n.replacer),typeof n=="function")l=n;else if(Array.isArray(n)){u=[];for(const v of n){let _;typeof v=="string"?_=v:(typeof v=="number"||v instanceof String||v instanceof Number)&&(_=String(v)),_!==void 0&&u.indexOf(_)<0&&u.push(_)}}return r instanceof Number?r=Number(r):r instanceof String&&(r=String(r)),typeof r=="number"?r>0&&(r=Math.min(10,Math.floor(r)),o="          ".substr(0,r)):typeof r=="string"&&(o=r.substr(0,10)),c("",{"":t});function c(v,_){let x=_[v];switch(x!=null&&(typeof x.toJSON5=="function"?x=x.toJSON5(v):typeof x.toJSON=="function"&&(x=x.toJSON(v))),l&&(x=l.call(_,v,x)),x instanceof Number?x=Number(x):x instanceof String?x=String(x):x instanceof Boolean&&(x=x.valueOf()),x){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof x=="string")return d(x);if(typeof x=="number")return String(x);if(typeof x=="object")return Array.isArray(x)?y(x):h(x)}function d(v){const _={"'":.1,'"':.2},x={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","	":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let E="";for(let T=0;T<v.length;T++){const R=v[T];switch(R){case"'":case'"':_[R]++,E+=R;continue;case"\0":if(Lu.isDigit(v[T+1])){E+="\\x00";continue}}if(x[R]){E+=x[R];continue}if(R<" "){let C=R.charCodeAt(0).toString(16);E+="\\x"+("00"+C).substring(C.length);continue}E+=R}const w=s||Object.keys(_).reduce((T,R)=>_[T]<_[R]?T:R);return E=E.replace(new RegExp(w,"g"),x[w]),w+E+w}function h(v){if(i.indexOf(v)>=0)throw TypeError("Converting circular structure to JSON5");i.push(v);let _=a;a=a+o;let x=u||Object.keys(v),E=[];for(const T of x){const R=c(T,v);if(R!==void 0){let C=m(T)+":";o!==""&&(C+=" "),C+=R,E.push(C)}}let w;if(E.length===0)w="{}";else{let T;if(o==="")T=E.join(","),w="{"+T+"}";else{let R=`,
`+a;T=E.join(R),w=`{
`+a+T+`,
`+_+"}"}}return i.pop(),a=_,w}function m(v){if(v.length===0)return d(v);const _=String.fromCodePoint(v.codePointAt(0));if(!Lu.isIdStartChar(_))return d(v);for(let x=_.length;x<v.length;x++)if(!Lu.isIdContinueChar(String.fromCodePoint(v.codePointAt(x))))return d(v);return v}function y(v){if(i.indexOf(v)>=0)throw TypeError("Converting circular structure to JSON5");i.push(v);let _=a;a=a+o;let x=[];for(let w=0;w<v.length;w++){const T=c(String(w),v);x.push(T!==void 0?T:"null")}let E;if(x.length===0)E="[]";else if(o==="")E="["+x.join(",")+"]";else{let w=`,
`+a,T=x.join(w);E=`[
`+a+T+`,
`+_+"]"}return i.pop(),a=_,E}};const wQe={parse:SQe,stringify:CQe};var jit=wQe;const MI=Symbol.for("yaml.alias"),lM=Symbol.for("yaml.document"),Mv=Symbol.for("yaml.map"),bme=Symbol.for("yaml.pair"),C0=Symbol.for("yaml.scalar"),Z3=Symbol.for("yaml.seq"),Gd=Symbol.for("yaml.node.type"),oy=e=>!!e&&typeof e=="object"&&e[Gd]===MI,bb=e=>!!e&&typeof e=="object"&&e[Gd]===lM,H3=e=>!!e&&typeof e=="object"&&e[Gd]===Mv,Ua=e=>!!e&&typeof e=="object"&&e[Gd]===bme,la=e=>!!e&&typeof e=="object"&&e[Gd]===C0,X3=e=>!!e&&typeof e=="object"&&e[Gd]===Z3;function uu(e){if(e&&typeof e=="object")switch(e[Gd]){case Mv:case Z3:return!0}return!1}function lu(e){if(e&&typeof e=="object")switch(e[Gd]){case MI:case Mv:case C0:case Z3:return!0}return!1}const Ome=e=>(la(e)||uu(e))&&!!e.anchor,Wc=Symbol("break visit"),Sme=Symbol("skip children"),D0=Symbol("remove node");function Ob(e,t){const n=xme(t);bb(e)?kO(null,e.contents,n,Object.freeze([e]))===D0&&(e.contents=null):kO(null,e,n,Object.freeze([]))}Ob.BREAK=Wc;Ob.SKIP=Sme;Ob.REMOVE=D0;function kO(e,t,n,r){const i=_me(e,t,n,r);if(lu(i)||Ua(i))return Eme(e,r,i),kO(e,i,n,r);if(typeof i!="symbol"){if(uu(t)){r=Object.freeze(r.concat(t));for(let a=0;a<t.items.length;++a){const u=kO(a,t.items[a],n,r);if(typeof u=="number")a=u-1;else{if(u===Wc)return Wc;u===D0&&(t.items.splice(a,1),a-=1)}}}else if(Ua(t)){r=Object.freeze(r.concat(t));const a=kO("key",t.key,n,r);if(a===Wc)return Wc;a===D0&&(t.key=null);const u=kO("value",t.value,n,r);if(u===Wc)return Wc;u===D0&&(t.value=null)}}return i}async function r5(e,t){const n=xme(t);bb(e)?await PO(null,e.contents,n,Object.freeze([e]))===D0&&(e.contents=null):await PO(null,e,n,Object.freeze([]))}r5.BREAK=Wc;r5.SKIP=Sme;r5.REMOVE=D0;async function PO(e,t,n,r){const i=await _me(e,t,n,r);if(lu(i)||Ua(i))return Eme(e,r,i),PO(e,i,n,r);if(typeof i!="symbol"){if(uu(t)){r=Object.freeze(r.concat(t));for(let a=0;a<t.items.length;++a){const u=await PO(a,t.items[a],n,r);if(typeof u=="number")a=u-1;else{if(u===Wc)return Wc;u===D0&&(t.items.splice(a,1),a-=1)}}}else if(Ua(t)){r=Object.freeze(r.concat(t));const a=await PO("key",t.key,n,r);if(a===Wc)return Wc;a===D0&&(t.key=null);const u=await PO("value",t.value,n,r);if(u===Wc)return Wc;u===D0&&(t.value=null)}}return i}function xme(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function _me(e,t,n,r){var i,a,u,l,o;if(typeof n=="function")return n(e,t,r);if(H3(t))return(i=n.Map)==null?void 0:i.call(n,e,t,r);if(X3(t))return(a=n.Seq)==null?void 0:a.call(n,e,t,r);if(Ua(t))return(u=n.Pair)==null?void 0:u.call(n,e,t,r);if(la(t))return(l=n.Scalar)==null?void 0:l.call(n,e,t,r);if(oy(t))return(o=n.Alias)==null?void 0:o.call(n,e,t,r)}function Eme(e,t,n){const r=t[t.length-1];if(uu(r))r.items[e]=n;else if(Ua(r))e==="key"?r.key=n:r.value=n;else if(bb(r))r.contents=n;else{const i=oy(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}const RQe={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},AQe=e=>e.replace(/[!,[\]{}]/g,t=>RQe[t]);class ec{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},ec.defaultYaml,t),this.tags=Object.assign({},ec.defaultTags,n)}clone(){const t=new ec(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new ec(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:ec.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},ec.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:ec.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},ec.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[a,u]=r;return this.tags[a]=u,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[a]=r;if(a==="1.1"||a==="1.2")return this.yaml.version=a,!0;{const u=/^\d+\.\d+$/.test(a);return n(6,`Unsupported YAML version ${a}`,u),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const u=t.slice(2,-1);return u==="!"||u==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),u)}const[,r,i]=t.match(/^(.*!)([^!]*)$/s);i||n(`The ${t} tag has no suffix`);const a=this.tags[r];if(a)try{return a+decodeURIComponent(i)}catch(u){return n(String(u)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+AQe(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let i;if(t&&r.length>0&&lu(t.contents)){const a={};Ob(t.contents,(u,l)=>{lu(l)&&l.tag&&(a[l.tag]=!0)}),i=Object.keys(a)}else i=[];for(const[a,u]of r)a==="!!"&&u==="tag:yaml.org,2002:"||(!t||i.some(l=>l.startsWith(u)))&&n.push(`%TAG ${a} ${u}`);return n.join(`
`)}}ec.defaultYaml={explicit:!1,version:"1.2"};ec.defaultTags={"!!":"tag:yaml.org,2002:"};function Dme(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function $me(e){const t=new Set;return Ob(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}function Cme(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function TQe(e,t){const n=[],r=new Map;let i=null;return{onAnchor:a=>{n.push(a),i??(i=$me(e));const u=Cme(t,i);return i.add(u),u},setAnchors:()=>{for(const a of n){const u=r.get(a);if(typeof u=="object"&&u.anchor&&(la(u.node)||uu(u.node)))u.node.anchor=u.anchor;else{const l=new Error("Failed to resolve repeated object (this should not happen)");throw l.source=a,l}}},sourceObjects:r}}function MO(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let i=0,a=r.length;i<a;++i){const u=r[i],l=MO(e,r,String(i),u);l===void 0?delete r[i]:l!==u&&(r[i]=l)}else if(r instanceof Map)for(const i of Array.from(r.keys())){const a=r.get(i),u=MO(e,r,i,a);u===void 0?r.delete(i):u!==a&&r.set(i,u)}else if(r instanceof Set)for(const i of Array.from(r)){const a=MO(e,r,i,i);a===void 0?r.delete(i):a!==i&&(r.delete(i),r.add(a))}else for(const[i,a]of Object.entries(r)){const u=MO(e,r,i,a);u===void 0?delete r[i]:u!==a&&(r[i]=u)}return e.call(t,n,r)}function Xd(e,t,n){if(Array.isArray(e))return e.map((r,i)=>Xd(r,String(i),n));if(e&&typeof e.toJSON=="function"){if(!n||!Ome(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=a=>{r.res=a,delete n.onCreate};const i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e=="bigint"&&!(n!=null&&n.keep)?Number(e):e}class FI{constructor(t){Object.defineProperty(this,Gd,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:a}={}){if(!bb(t))throw new TypeError("A document argument is required");const u={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},l=Xd(this,"",u);if(typeof i=="function")for(const{count:o,res:s}of u.anchors.values())i(s,o);return typeof a=="function"?MO(a,{"":l},"",l):l}}class i5 extends FI{constructor(t){super(MI),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,n){let r;n!=null&&n.aliasResolveCache?r=n.aliasResolveCache:(r=[],Ob(t,{Node:(a,u)=>{(oy(u)||Ome(u))&&r.push(u)}}),n&&(n.aliasResolveCache=r));let i;for(const a of r){if(a===this)break;a.anchor===this.source&&(i=a)}return i}toJSON(t,n){if(!n)return{source:this.source};const{anchors:r,doc:i,maxAliasCount:a}=n,u=this.resolve(i,n);if(!u){const o=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(o)}let l=r.get(u);if(l||(Xd(u,null,n),l=r.get(u)),!l||l.res===void 0){const o="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(o)}if(a>=0&&(l.count+=1,l.aliasCount===0&&(l.aliasCount=QE(i,u,r)),l.count*l.aliasCount>a)){const o="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(o)}return l.res}toString(t,n,r){const i=`*${this.source}`;if(t){if(Dme(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const a=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(a)}if(t.implicitKey)return`${i} `}return i}}function QE(e,t,n){if(oy(t)){const r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(uu(t)){let r=0;for(const i of t.items){const a=QE(e,i,n);a>r&&(r=a)}return r}else if(Ua(t)){const r=QE(e,t.key,n),i=QE(e,t.value,n);return Math.max(r,i)}return 1}const wme=e=>!e||typeof e!="function"&&typeof e!="object";class ir extends FI{constructor(t){super(C0),this.value=t}toJSON(t,n){return n!=null&&n.keep?this.value:Xd(this.value,t,n)}toString(){return String(this.value)}}ir.BLOCK_FOLDED="BLOCK_FOLDED";ir.BLOCK_LITERAL="BLOCK_LITERAL";ir.PLAIN="PLAIN";ir.QUOTE_DOUBLE="QUOTE_DOUBLE";ir.QUOTE_SINGLE="QUOTE_SINGLE";const kQe="tag:yaml.org,2002:";function PQe(e,t,n){if(t){const r=n.filter(a=>a.tag===t),i=r.find(a=>!a.format)??r[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find(r=>{var i;return((i=r.identify)==null?void 0:i.call(r,e))&&!r.format})}function SS(e,t,n){var d,h,m;if(bb(e)&&(e=e.contents),lu(e))return e;if(Ua(e)){const y=(h=(d=n.schema[Mv]).createNode)==null?void 0:h.call(d,n.schema,null,n);return y.items.push(e),y}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:i,onTagObj:a,schema:u,sourceObjects:l}=n;let o;if(r&&e&&typeof e=="object"){if(o=l.get(e),o)return o.anchor??(o.anchor=i(e)),new i5(o.anchor);o={anchor:null,node:null},l.set(e,o)}t!=null&&t.startsWith("!!")&&(t=kQe+t.slice(2));let s=PQe(e,t,u.tags);if(!s){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const y=new ir(e);return o&&(o.node=y),y}s=e instanceof Map?u[Mv]:Symbol.iterator in Object(e)?u[Z3]:u[Mv]}a&&(a(s),delete n.onTagObj);const c=s!=null&&s.createNode?s.createNode(n.schema,e,n):typeof((m=s==null?void 0:s.nodeClass)==null?void 0:m.from)=="function"?s.nodeClass.from(n.schema,e,n):new ir(e);return t?c.tag=t:s.default||(c.tag=s.tag),o&&(o.node=c),c}function h$(e,t,n){let r=n;for(let i=t.length-1;i>=0;--i){const a=t[i];if(typeof a=="number"&&Number.isInteger(a)&&a>=0){const u=[];u[a]=r,r=u}else r=new Map([[a,r]])}return SS(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const S2=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class Rme extends FI{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>lu(r)||Ua(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(S2(t))this.add(n);else{const[r,...i]=t,a=this.get(r,!0);if(uu(a))a.addIn(i,n);else if(a===void 0&&this.schema)this.set(r,h$(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const i=this.get(n,!0);if(uu(i))return i.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...i]=t,a=this.get(r,!0);return i.length===0?!n&&la(a)?a.value:a:uu(a)?a.getIn(i,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!Ua(n))return!1;const r=n.value;return r==null||t&&la(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){const[n,...r]=t;if(r.length===0)return this.has(n);const i=this.get(n,!0);return uu(i)?i.hasIn(r):!1}setIn(t,n){const[r,...i]=t;if(i.length===0)this.set(r,n);else{const a=this.get(r,!0);if(uu(a))a.setIn(i,n);else if(a===void 0&&this.schema)this.set(r,h$(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}}const MQe=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Hm(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const w1=(e,t,n)=>e.endsWith(`
`)?Hm(n,t):n.includes(`
`)?`
`+Hm(n,t):(e.endsWith(" ")?"":" ")+n,Ame="flow",oM="block",zE="quoted";function a5(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:a=20,onFold:u,onOverflow:l}={}){if(!i||i<0)return e;i<a&&(a=0);const o=Math.max(1+a,1+i-t.length);if(e.length<=o)return e;const s=[],c={};let d=i-t.length;typeof r=="number"&&(r>i-Math.max(2,a)?s.push(0):d=i-r);let h,m,y=!1,v=-1,_=-1,x=-1;n===oM&&(v=AX(e,v,t.length),v!==-1&&(d=v+o));for(let w;w=e[v+=1];){if(n===zE&&w==="\\"){switch(_=v,e[v+1]){case"x":v+=3;break;case"u":v+=5;break;case"U":v+=9;break;default:v+=1}x=v}if(w===`
`)n===oM&&(v=AX(e,v,t.length)),d=v+t.length+o,h=void 0;else{if(w===" "&&m&&m!==" "&&m!==`
`&&m!=="	"){const T=e[v+1];T&&T!==" "&&T!==`
`&&T!=="	"&&(h=v)}if(v>=d)if(h)s.push(h),d=h+o,h=void 0;else if(n===zE){for(;m===" "||m==="	";)m=w,w=e[v+=1],y=!0;const T=v>x+1?v-2:_-1;if(c[T])return e;s.push(T),c[T]=!0,d=T+o,h=void 0}else y=!0}m=w}if(y&&l&&l(),s.length===0)return e;u&&u();let E=e.slice(0,s[0]);for(let w=0;w<s.length;++w){const T=s[w],R=s[w+1]||e.length;T===0?E=`
${t}${e.slice(0,R)}`:(n===zE&&c[T]&&(E+=`${e[T]}\\`),E+=`
${t}${e.slice(T+1,R)}`)}return E}function AX(e,t,n){let r=t,i=t+1,a=e[i];for(;a===" "||a==="	";)if(t<i+n)a=e[++t];else{do a=e[++t];while(a&&a!==`
`);r=t,i=t+1,a=e[i]}return r}const u5=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),l5=e=>/^(%|---|\.\.\.)/m.test(e);function FQe(e,t,n){if(!t||t<0)return!1;const r=t-n,i=e.length;if(i<=r)return!1;for(let a=0,u=0;a<i;++a)if(e[a]===`
`){if(a-u>r)return!0;if(u=a+1,i-u<=r)return!1}return!0}function M2(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,a=t.indent||(l5(e)?"  ":"");let u="",l=0;for(let o=0,s=n[o];s;s=n[++o])if(s===" "&&n[o+1]==="\\"&&n[o+2]==="n"&&(u+=n.slice(l,o)+"\\ ",o+=1,l=o,s="\\"),s==="\\")switch(n[o+1]){case"u":{u+=n.slice(l,o);const c=n.substr(o+2,4);switch(c){case"0000":u+="\\0";break;case"0007":u+="\\a";break;case"000b":u+="\\v";break;case"001b":u+="\\e";break;case"0085":u+="\\N";break;case"00a0":u+="\\_";break;case"2028":u+="\\L";break;case"2029":u+="\\P";break;default:c.substr(0,2)==="00"?u+="\\x"+c.substr(2):u+=n.substr(o,6)}o+=5,l=o+1}break;case"n":if(r||n[o+2]==='"'||n.length<i)o+=1;else{for(u+=n.slice(l,o)+`

`;n[o+2]==="\\"&&n[o+3]==="n"&&n[o+4]!=='"';)u+=`
`,o+=2;u+=a,n[o+2]===" "&&(u+="\\"),o+=1,l=o+1}break;default:o+=1}return u=l?u+n.slice(l):n,r?u:a5(u,a,zE,u5(t,!1))}function sM(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
`)||/[ \t]\n|\n[ \t]/.test(e))return M2(e,t);const n=t.indent||(l5(e)?"  ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
${n}`)+"'";return t.implicitKey?r:a5(r,n,Ame,u5(t,!1))}function FO(e,t){const{singleQuote:n}=t.options;let r;if(n===!1)r=M2;else{const i=e.includes('"'),a=e.includes("'");i&&!a?r=sM:a&&!i?r=M2:r=n?sM:M2}return r(e,t)}let cM;try{cM=new RegExp(`(^|(?<!
))
+(?!
|$)`,"g")}catch{cM=/\n+(?!\n|$)/g}function qE({comment:e,type:t,value:n},r,i,a){const{blockQuote:u,commentString:l,lineWidth:o}=r.options;if(!u||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return FO(n,r);const s=r.indent||(r.forceBlockIndent||l5(n)?"  ":""),c=u==="literal"?!0:u==="folded"||t===ir.BLOCK_FOLDED?!1:t===ir.BLOCK_LITERAL?!0:!FQe(n,o,s.length);if(!n)return c?`|
`:`>
`;let d,h;for(h=n.length;h>0;--h){const R=n[h-1];if(R!==`
`&&R!=="	"&&R!==" ")break}let m=n.substring(h);const y=m.indexOf(`
`);y===-1?d="-":n===m||y!==m.length-1?(d="+",a&&a()):d="",m&&(n=n.slice(0,-m.length),m[m.length-1]===`
`&&(m=m.slice(0,-1)),m=m.replace(cM,`$&${s}`));let v=!1,_,x=-1;for(_=0;_<n.length;++_){const R=n[_];if(R===" ")v=!0;else if(R===`
`)x=_;else break}let E=n.substring(0,x<_?x+1:_);E&&(n=n.substring(E.length),E=E.replace(/\n+/g,`$&${s}`));let T=(v?s?"2":"1":"")+d;if(e&&(T+=" "+l(e.replace(/ ?[\r\n]+/g," ")),i&&i()),!c){const R=n.replace(/\n+/g,`
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${s}`);let C=!1;const k=u5(r,!0);u!=="folded"&&t!==ir.BLOCK_FOLDED&&(k.onOverflow=()=>{C=!0});const F=a5(`${E}${R}${m}`,s,oM,k);if(!C)return`>${T}
${s}${F}`}return n=n.replace(/\n+/g,`$&${s}`),`|${T}
${s}${E}${n}${m}`}function NQe(e,t,n,r){const{type:i,value:a}=e,{actualString:u,implicitKey:l,indent:o,indentStep:s,inFlow:c}=t;if(l&&a.includes(`
`)||c&&/[[\]{},]/.test(a))return FO(a,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return l||c||!a.includes(`
`)?FO(a,t):qE(e,t,n,r);if(!l&&!c&&i!==ir.PLAIN&&a.includes(`
`))return qE(e,t,n,r);if(l5(a)){if(o==="")return t.forceBlockIndent=!0,qE(e,t,n,r);if(l&&o===s)return FO(a,t)}const d=a.replace(/\n+/g,`$&
${o}`);if(u){const h=v=>{var _;return v.default&&v.tag!=="tag:yaml.org,2002:str"&&((_=v.test)==null?void 0:_.test(d))},{compat:m,tags:y}=t.doc.schema;if(y.some(h)||m!=null&&m.some(h))return FO(a,t)}return l?d:a5(d,o,Ame,u5(t,!1))}function hx(e,t,n,r){const{implicitKey:i,inFlow:a}=t,u=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:l}=e;l!==ir.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(u.value)&&(l=ir.QUOTE_DOUBLE);const o=c=>{switch(c){case ir.BLOCK_FOLDED:case ir.BLOCK_LITERAL:return i||a?FO(u.value,t):qE(u,t,n,r);case ir.QUOTE_DOUBLE:return M2(u.value,t);case ir.QUOTE_SINGLE:return sM(u.value,t);case ir.PLAIN:return NQe(u,t,n,r);default:return null}};let s=o(l);if(s===null){const{defaultKeyType:c,defaultStringType:d}=t.options,h=i&&c||d;if(s=o(h),s===null)throw new Error(`Unsupported default string type ${h}`)}return s}function Tme(e,t){const n=Object.assign({blockQuote:!0,commentString:MQe,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):"  ",inFlow:r,options:n}}function IQe(e,t){var i;if(t.tag){const a=e.filter(u=>u.tag===t.tag);if(a.length>0)return a.find(u=>u.format===t.format)??a[0]}let n,r;if(la(t)){r=t.value;let a=e.filter(u=>{var l;return(l=u.identify)==null?void 0:l.call(u,r)});if(a.length>1){const u=a.filter(l=>l.test);u.length>0&&(a=u)}n=a.find(u=>u.format===t.format)??a.find(u=>!u.format)}else r=t,n=e.find(a=>a.nodeClass&&r instanceof a.nodeClass);if(!n){const a=((i=r==null?void 0:r.constructor)==null?void 0:i.name)??(r===null?"null":typeof r);throw new Error(`Tag not resolved for ${a} value`)}return n}function LQe(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const i=[],a=(la(e)||uu(e))&&e.anchor;a&&Dme(a)&&(n.add(a),i.push(`&${a}`));const u=e.tag??(t.default?null:t.tag);return u&&i.push(r.directives.tagString(u)),i.join(" ")}function _3(e,t,n,r){var o;if(Ua(e))return e.toString(t,n,r);if(oy(e)){if(t.doc.directives)return e.toString(t);if((o=t.resolvedAliases)!=null&&o.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i;const a=lu(e)?e:t.doc.createNode(e,{onTagObj:s=>i=s});i??(i=IQe(t.doc.schema.tags,a));const u=LQe(a,i,t);u.length>0&&(t.indentAtStart=(t.indentAtStart??0)+u.length+1);const l=typeof i.stringify=="function"?i.stringify(a,t,n,r):la(a)?hx(a,t,n,r):a.toString(t,n,r);return u?la(a)||l[0]==="{"||l[0]==="["?`${u} ${l}`:`${u}
${t.indent}${l}`:l}function BQe({key:e,value:t},n,r,i){const{allNullValues:a,doc:u,indent:l,indentStep:o,options:{commentString:s,indentSeq:c,simpleKeys:d}}=n;let h=lu(e)&&e.comment||null;if(d){if(h)throw new Error("With simple keys, key nodes cannot have comments");if(uu(e)||!lu(e)&&typeof e=="object"){const k="With simple keys, collection cannot be used as a key value";throw new Error(k)}}let m=!d&&(!e||h&&t==null&&!n.inFlow||uu(e)||(la(e)?e.type===ir.BLOCK_FOLDED||e.type===ir.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!m&&(d||!a),indent:l+o});let y=!1,v=!1,_=_3(e,n,()=>y=!0,()=>v=!0);if(!m&&!n.inFlow&&_.length>1024){if(d)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");m=!0}if(n.inFlow){if(a||t==null)return y&&r&&r(),_===""?"?":m?`? ${_}`:_}else if(a&&!d||t==null&&m)return _=`? ${_}`,h&&!y?_+=w1(_,n.indent,s(h)):v&&i&&i(),_;y&&(h=null),m?(h&&(_+=w1(_,n.indent,s(h))),_=`? ${_}
${l}:`):(_=`${_}:`,h&&(_+=w1(_,n.indent,s(h))));let x,E,w;lu(t)?(x=!!t.spaceBefore,E=t.commentBefore,w=t.comment):(x=!1,E=null,w=null,t&&typeof t=="object"&&(t=u.createNode(t))),n.implicitKey=!1,!m&&!h&&la(t)&&(n.indentAtStart=_.length+1),v=!1,!c&&o.length>=2&&!n.inFlow&&!m&&X3(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let T=!1;const R=_3(t,n,()=>T=!0,()=>v=!0);let C=" ";if(h||x||E){if(C=x?`
`:"",E){const k=s(E);C+=`
${Hm(k,n.indent)}`}R===""&&!n.inFlow?C===`
`&&(C=`

`):C+=`
${n.indent}`}else if(!m&&uu(t)){const k=R[0],F=R.indexOf(`
`),z=F!==-1,Z=n.inFlow??t.flow??t.items.length===0;if(z||!Z){let q=!1;if(z&&(k==="&"||k==="!")){let j=R.indexOf(" ");k==="&"&&j!==-1&&j<F&&R[j+1]==="!"&&(j=R.indexOf(" ",j+1)),(j===-1||F<j)&&(q=!0)}q||(C=`
${n.indent}`)}}else(R===""||R[0]===`
`)&&(C="");return _+=C+R,n.inFlow?T&&r&&r():w&&!T?_+=w1(_,n.indent,s(w)):v&&i&&i(),_}function kme(e,t){(e==="debug"||e==="warn")&&console.warn(t)}const J_="<<",Km={identify:e=>e===J_||typeof e=="symbol"&&e.description===J_,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new ir(Symbol(J_)),{addToJSMap:Pme}),stringify:()=>J_},QQe=(e,t)=>(Km.identify(t)||la(t)&&(!t.type||t.type===ir.PLAIN)&&Km.identify(t.value))&&(e==null?void 0:e.doc.schema.tags.some(n=>n.tag===Km.tag&&n.default));function Pme(e,t,n){if(n=e&&oy(n)?n.resolve(e.doc):n,X3(n))for(const r of n.items)mP(e,t,r);else if(Array.isArray(n))for(const r of n)mP(e,t,r);else mP(e,t,n)}function mP(e,t,n){const r=e&&oy(n)?n.resolve(e.doc):n;if(!H3(r))throw new Error("Merge sources must be maps or map aliases");const i=r.toJSON(null,e,Map);for(const[a,u]of i)t instanceof Map?t.has(a)||t.set(a,u):t instanceof Set?t.add(a):Object.prototype.hasOwnProperty.call(t,a)||Object.defineProperty(t,a,{value:u,writable:!0,enumerable:!0,configurable:!0});return t}function Mme(e,t,{key:n,value:r}){if(lu(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(QQe(e,n))Pme(e,t,r);else{const i=Xd(n,"",e);if(t instanceof Map)t.set(i,Xd(r,i,e));else if(t instanceof Set)t.add(i);else{const a=zQe(n,i,e),u=Xd(r,a,e);a in t?Object.defineProperty(t,a,{value:u,writable:!0,enumerable:!0,configurable:!0}):t[a]=u}}return t}function zQe(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(lu(e)&&(n!=null&&n.doc)){const r=Tme(n.doc,{});r.anchors=new Set;for(const a of n.anchors.keys())r.anchors.add(a.anchor);r.inFlow=!0,r.inStringifyKey=!0;const i=e.toString(r);if(!n.mapKeyWarned){let a=JSON.stringify(i);a.length>40&&(a=a.substring(0,36)+'..."'),kme(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${a}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return i}return JSON.stringify(t)}function NI(e,t,n){const r=SS(e,void 0,n),i=SS(t,void 0,n);return new ds(r,i)}class ds{constructor(t,n=null){Object.defineProperty(this,Gd,{value:bme}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return lu(n)&&(n=n.clone(t)),lu(r)&&(r=r.clone(t)),new ds(n,r)}toJSON(t,n){const r=n!=null&&n.mapAsMap?new Map:{};return Mme(n,r,this)}toString(t,n,r){return t!=null&&t.doc?BQe(this,t,n,r):JSON.stringify(this)}}function Fme(e,t,n){return(t.inFlow??e.flow?VQe:qQe)(e,t,n)}function qQe({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:a,onChompKeep:u,onComment:l}){const{indent:o,options:{commentString:s}}=n,c=Object.assign({},n,{indent:a,type:null});let d=!1;const h=[];for(let y=0;y<t.length;++y){const v=t[y];let _=null;if(lu(v))!d&&v.spaceBefore&&h.push(""),p$(n,h,v.commentBefore,d),v.comment&&(_=v.comment);else if(Ua(v)){const E=lu(v.key)?v.key:null;E&&(!d&&E.spaceBefore&&h.push(""),p$(n,h,E.commentBefore,d))}d=!1;let x=_3(v,c,()=>_=null,()=>d=!0);_&&(x+=w1(x,a,s(_))),d&&_&&(d=!1),h.push(r+x)}let m;if(h.length===0)m=i.start+i.end;else{m=h[0];for(let y=1;y<h.length;++y){const v=h[y];m+=v?`
${o}${v}`:`
`}}return e?(m+=`
`+Hm(s(e),o),l&&l()):d&&u&&u(),m}function VQe({items:e},t,{flowChars:n,itemIndent:r}){const{indent:i,indentStep:a,flowCollectionPadding:u,options:{commentString:l}}=t;r+=a;const o=Object.assign({},t,{indent:r,inFlow:!0,type:null});let s=!1,c=0;const d=[];for(let y=0;y<e.length;++y){const v=e[y];let _=null;if(lu(v))v.spaceBefore&&d.push(""),p$(t,d,v.commentBefore,!1),v.comment&&(_=v.comment);else if(Ua(v)){const E=lu(v.key)?v.key:null;E&&(E.spaceBefore&&d.push(""),p$(t,d,E.commentBefore,!1),E.comment&&(s=!0));const w=lu(v.value)?v.value:null;w?(w.comment&&(_=w.comment),w.commentBefore&&(s=!0)):v.value==null&&(E!=null&&E.comment)&&(_=E.comment)}_&&(s=!0);let x=_3(v,o,()=>_=null);y<e.length-1&&(x+=","),_&&(x+=w1(x,r,l(_))),!s&&(d.length>c||x.includes(`
`))&&(s=!0),d.push(x),c=d.length}const{start:h,end:m}=n;if(d.length===0)return h+m;if(!s){const y=d.reduce((v,_)=>v+_.length+2,2);s=t.options.lineWidth>0&&y>t.options.lineWidth}if(s){let y=h;for(const v of d)y+=v?`
${a}${i}${v}`:`
`;return`${y}
${i}${m}`}else return`${h}${u}${d.join(" ")}${u}${m}`}function p$({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){const a=Hm(t(r),e);n.push(a.trimStart())}}function R1(e,t){const n=la(t)?t.value:t;for(const r of e)if(Ua(r)&&(r.key===t||r.key===n||la(r.key)&&r.key.value===n))return r}class Bf extends Rme{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Mv,t),this.items=[]}static from(t,n,r){const{keepUndefined:i,replacer:a}=r,u=new this(t),l=(o,s)=>{if(typeof a=="function")s=a.call(n,o,s);else if(Array.isArray(a)&&!a.includes(o))return;(s!==void 0||i)&&u.items.push(NI(o,s,r))};if(n instanceof Map)for(const[o,s]of n)l(o,s);else if(n&&typeof n=="object")for(const o of Object.keys(n))l(o,n[o]);return typeof t.sortMapEntries=="function"&&u.items.sort(t.sortMapEntries),u}add(t,n){var u;let r;Ua(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new ds(t,t==null?void 0:t.value):r=new ds(t.key,t.value);const i=R1(this.items,r.key),a=(u=this.schema)==null?void 0:u.sortMapEntries;if(i){if(!n)throw new Error(`Key ${r.key} already set`);la(i.value)&&wme(r.value)?i.value.value=r.value:i.value=r.value}else if(a){const l=this.items.findIndex(o=>a(r,o)<0);l===-1?this.items.push(r):this.items.splice(l,0,r)}else this.items.push(r)}delete(t){const n=R1(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const r=R1(this.items,t),i=r==null?void 0:r.value;return(!n&&la(i)?i.value:i)??void 0}has(t){return!!R1(this.items,t)}set(t,n){this.add(new ds(t,n),!0)}toJSON(t,n,r){const i=r?new r:n!=null&&n.mapAsMap?new Map:{};n!=null&&n.onCreate&&n.onCreate(i);for(const a of this.items)Mme(n,i,a);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(const i of this.items)if(!Ua(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),Fme(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const Y3={collection:"map",default:!0,nodeClass:Bf,tag:"tag:yaml.org,2002:map",resolve(e,t){return H3(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>Bf.from(e,t,n)};class Xv extends Rme{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Z3,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=eE(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=eE(t);if(typeof r!="number")return;const i=this.items[r];return!n&&la(i)?i.value:i}has(t){const n=eE(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=eE(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const i=this.items[r];la(i)&&wme(n)?i.value=n:this.items[r]=n}toJSON(t,n){const r=[];n!=null&&n.onCreate&&n.onCreate(r);let i=0;for(const a of this.items)r.push(Xd(a,String(i++),n));return r}toString(t,n,r){return t?Fme(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+"  ",onChompKeep:r,onComment:n}):JSON.stringify(this)}static from(t,n,r){const{replacer:i}=r,a=new this(t);if(n&&Symbol.iterator in Object(n)){let u=0;for(let l of n){if(typeof i=="function"){const o=n instanceof Set?l:String(u++);l=i.call(n,o,l)}a.items.push(SS(l,void 0,r))}}return a}}function eE(e){let t=la(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}const G3={collection:"seq",default:!0,nodeClass:Xv,tag:"tag:yaml.org,2002:seq",resolve(e,t){return X3(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>Xv.from(e,t,n)},o5={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),hx(e,t,n,r)}},s5={identify:e=>e==null,createNode:()=>new ir(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new ir(null),stringify:({source:e},t)=>typeof e=="string"&&s5.test.test(e)?e:t.options.nullStr},II={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new ir(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&II.test.test(e)){const r=e[0]==="t"||e[0]==="T";if(t===r)return e}return t?n.options.trueStr:n.options.falseStr}};function mp({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);const i=typeof r=="number"?r:Number(r);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let a=JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(a)){let u=a.indexOf(".");u<0&&(u=a.length,a+=".");let l=t-(a.length-u-1);for(;l-- >0;)a+="0"}return a}const Nme={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:mp},Ime={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():mp(e)}},Lme={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new ir(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:mp},c5=e=>typeof e=="bigint"||Number.isInteger(e),LI=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function Bme(e,t,n){const{value:r}=e;return c5(r)&&r>=0?n+r.toString(t):mp(e)}const Qme={identify:e=>c5(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>LI(e,2,8,n),stringify:e=>Bme(e,8,"0o")},zme={identify:c5,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>LI(e,0,10,n),stringify:mp},qme={identify:e=>c5(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>LI(e,2,16,n),stringify:e=>Bme(e,16,"0x")},UQe=[Y3,G3,o5,s5,II,Qme,zme,qme,Nme,Ime,Lme];function TX(e){return typeof e=="bigint"||Number.isInteger(e)}const tE=({value:e})=>JSON.stringify(e),jQe=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:tE},{identify:e=>e==null,createNode:()=>new ir(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:tE},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:tE},{identify:TX,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>TX(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:tE}],ZQe={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},HQe=[Y3,G3].concat(jQe,ZQe),BI={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(n.length);for(let i=0;i<n.length;++i)r[i]=n.charCodeAt(i);return r}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,i,a){if(!n)return"";const u=n;let l;if(typeof btoa=="function"){let o="";for(let s=0;s<u.length;++s)o+=String.fromCharCode(u[s]);l=btoa(o)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=ir.BLOCK_LITERAL),t!==ir.QUOTE_DOUBLE){const o=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),s=Math.ceil(l.length/o),c=new Array(s);for(let d=0,h=0;d<s;++d,h+=o)c[d]=l.substr(h,o);l=c.join(t===ir.BLOCK_LITERAL?`
`:" ")}return hx({comment:e,type:t,value:l},r,i,a)}};function Vme(e,t){if(X3(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!Ua(r)){if(H3(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const i=r.items[0]||new ds(new ir(null));if(r.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${r.commentBefore}
${i.key.commentBefore}`:r.commentBefore),r.comment){const a=i.value??i.key;a.comment=a.comment?`${r.comment}
${a.comment}`:r.comment}r=i}e.items[n]=Ua(r)?r:new ds(r)}}else t("Expected a sequence for this tag");return e}function Ume(e,t,n){const{replacer:r}=n,i=new Xv(e);i.tag="tag:yaml.org,2002:pairs";let a=0;if(t&&Symbol.iterator in Object(t))for(let u of t){typeof r=="function"&&(u=r.call(t,String(a++),u));let l,o;if(Array.isArray(u))if(u.length===2)l=u[0],o=u[1];else throw new TypeError(`Expected [key, value] tuple: ${u}`);else if(u&&u instanceof Object){const s=Object.keys(u);if(s.length===1)l=s[0],o=u[l];else throw new TypeError(`Expected tuple with one key, not ${s.length} keys`)}else l=u;i.items.push(NI(l,o,n))}return i}const QI={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Vme,createNode:Ume};class r3 extends Xv{constructor(){super(),this.add=Bf.prototype.add.bind(this),this.delete=Bf.prototype.delete.bind(this),this.get=Bf.prototype.get.bind(this),this.has=Bf.prototype.has.bind(this),this.set=Bf.prototype.set.bind(this),this.tag=r3.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n!=null&&n.onCreate&&n.onCreate(r);for(const i of this.items){let a,u;if(Ua(i)?(a=Xd(i.key,"",n),u=Xd(i.value,a,n)):a=Xd(i,"",n),r.has(a))throw new Error("Ordered maps must not include duplicate keys");r.set(a,u)}return r}static from(t,n,r){const i=Ume(t,n,r),a=new this;return a.items=i.items,a}}r3.tag="tag:yaml.org,2002:omap";const zI={collection:"seq",identify:e=>e instanceof Map,nodeClass:r3,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Vme(e,t),r=[];for(const{key:i}of n.items)la(i)&&(r.includes(i.value)?t(`Ordered maps must not include duplicate keys: ${i.value}`):r.push(i.value));return Object.assign(new r3,n)},createNode:(e,t,n)=>r3.from(e,t,n)};function jme({value:e,source:t},n){return t&&(e?Zme:Hme).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Zme={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new ir(!0),stringify:jme},Hme={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new ir(!1),stringify:jme},XQe={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:mp},YQe={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():mp(e)}},GQe={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new ir(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:mp},px=e=>typeof e=="bigint"||Number.isInteger(e);function f5(e,t,n,{intAsBigInt:r}){const i=e[0];if((i==="-"||i==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const u=BigInt(e);return i==="-"?BigInt(-1)*u:u}const a=parseInt(e,n);return i==="-"?-1*a:a}function qI(e,t,n){const{value:r}=e;if(px(r)){const i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return mp(e)}const KQe={identify:px,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>f5(e,2,2,n),stringify:e=>qI(e,2,"0b")},WQe={identify:px,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>f5(e,1,8,n),stringify:e=>qI(e,8,"0")},JQe={identify:px,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>f5(e,0,10,n),stringify:mp},eze={identify:px,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>f5(e,2,16,n),stringify:e=>qI(e,16,"0x")};class i3 extends Bf{constructor(t){super(t),this.tag=i3.tag}add(t){let n;Ua(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new ds(t.key,null):n=new ds(t,null),R1(this.items,n.key)||this.items.push(n)}get(t,n){const r=R1(this.items,t);return!n&&Ua(r)?la(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=R1(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new ds(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:i}=r,a=new this(t);if(n&&Symbol.iterator in Object(n))for(let u of n)typeof i=="function"&&(u=i.call(n,u,u)),a.items.push(NI(u,null,r));return a}}i3.tag="tag:yaml.org,2002:set";const VI={collection:"map",identify:e=>e instanceof Set,nodeClass:i3,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>i3.from(e,t,n),resolve(e,t){if(H3(e)){if(e.hasAllNullValues(!0))return Object.assign(new i3,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function UI(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,i=u=>t?BigInt(u):Number(u),a=r.replace(/_/g,"").split(":").reduce((u,l)=>u*i(60)+i(l),i(0));return n==="-"?i(-1)*a:a}function Xme(e){let{value:t}=e,n=u=>u;if(typeof t=="bigint")n=u=>BigInt(u);else if(isNaN(t)||!isFinite(t))return mp(e);let r="";t<0&&(r="-",t*=n(-1));const i=n(60),a=[t%i];return t<60?a.unshift(0):(t=(t-a[0])/i,a.unshift(t%i),t>=60&&(t=(t-a[0])/i,a.unshift(t))),r+a.map(u=>String(u).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const Yme={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>UI(e,n),stringify:Xme},Gme={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>UI(e,!1),stringify:Xme},d5={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(d5.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,i,a,u,l]=t.map(Number),o=t[7]?Number((t[7]+"00").substr(1,3)):0;let s=Date.UTC(n,r-1,i,a||0,u||0,l||0,o);const c=t[8];if(c&&c!=="Z"){let d=UI(c,!1);Math.abs(d)<30&&(d*=60),s-=6e4*d}return new Date(s)},stringify:({value:e})=>(e==null?void 0:e.toISOString().replace(/(T00:00:00)?\.000Z$/,""))??""},kX=[Y3,G3,o5,s5,Zme,Hme,KQe,WQe,JQe,eze,XQe,YQe,GQe,BI,Km,zI,QI,VI,Yme,Gme,d5],PX=new Map([["core",UQe],["failsafe",[Y3,G3,o5]],["json",HQe],["yaml11",kX],["yaml-1.1",kX]]),MX={binary:BI,bool:II,float:Lme,floatExp:Ime,floatNaN:Nme,floatTime:Gme,int:zme,intHex:qme,intOct:Qme,intTime:Yme,map:Y3,merge:Km,null:s5,omap:zI,pairs:QI,seq:G3,set:VI,timestamp:d5},tze={"tag:yaml.org,2002:binary":BI,"tag:yaml.org,2002:merge":Km,"tag:yaml.org,2002:omap":zI,"tag:yaml.org,2002:pairs":QI,"tag:yaml.org,2002:set":VI,"tag:yaml.org,2002:timestamp":d5};function gP(e,t,n){const r=PX.get(t);if(r&&!e)return n&&!r.includes(Km)?r.concat(Km):r.slice();let i=r;if(!i)if(Array.isArray(e))i=[];else{const a=Array.from(PX.keys()).filter(u=>u!=="yaml11").map(u=>JSON.stringify(u)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${a} or define customTags array`)}if(Array.isArray(e))for(const a of e)i=i.concat(a);else typeof e=="function"&&(i=e(i.slice()));return n&&(i=i.concat(Km)),i.reduce((a,u)=>{const l=typeof u=="string"?MX[u]:u;if(!l){const o=JSON.stringify(u),s=Object.keys(MX).map(c=>JSON.stringify(c)).join(", ");throw new Error(`Unknown custom tag ${o}; use one of ${s}`)}return a.includes(l)||a.push(l),a},[])}const nze=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class h5{constructor({compat:t,customTags:n,merge:r,resolveKnownTags:i,schema:a,sortMapEntries:u,toStringDefaults:l}){this.compat=Array.isArray(t)?gP(t,"compat"):t?gP(null,t):null,this.name=typeof a=="string"&&a||"core",this.knownTags=i?tze:{},this.tags=gP(n,this.name,r),this.toStringOptions=l??null,Object.defineProperty(this,Mv,{value:Y3}),Object.defineProperty(this,C0,{value:o5}),Object.defineProperty(this,Z3,{value:G3}),this.sortMapEntries=typeof u=="function"?u:u===!0?nze:null}clone(){const t=Object.create(h5.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function rze(e,t){var o;const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const s=e.directives.toString(e);s?(n.push(s),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const i=Tme(e,t),{commentString:a}=i.options;if(e.commentBefore){n.length!==1&&n.unshift("");const s=a(e.commentBefore);n.unshift(Hm(s,""))}let u=!1,l=null;if(e.contents){if(lu(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const d=a(e.contents.commentBefore);n.push(Hm(d,""))}i.forceBlockIndent=!!e.comment,l=e.contents.comment}const s=l?void 0:()=>u=!0;let c=_3(e.contents,i,()=>l=null,s);l&&(c+=w1(c,"",a(l))),(c[0]==="|"||c[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${c}`:n.push(c)}else n.push(_3(e.contents,i));if((o=e.directives)!=null&&o.docEnd)if(e.comment){const s=a(e.comment);s.includes(`
`)?(n.push("..."),n.push(Hm(s,""))):n.push(`... ${s}`)}else n.push("...");else{let s=e.comment;s&&u&&(s=s.replace(/^\n+/,"")),s&&((!u||l)&&n[n.length-1]!==""&&n.push(""),n.push(Hm(a(s),"")))}return n.join(`
`)+`
`}let p5=class Kme{constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Gd,{value:lM});let i=null;typeof n=="function"||Array.isArray(n)?i=n:r===void 0&&n&&(r=n,n=void 0);const a=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},r);this.options=a;let{version:u}=a;r!=null&&r._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(u=this.directives.yaml.version)):this.directives=new ec({version:u}),this.setSchema(u,r),this.contents=t===void 0?null:this.createNode(t,i,r)}clone(){const t=Object.create(Kme.prototype,{[Gd]:{value:lM}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=lu(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){pO(this.contents)&&this.contents.add(t)}addIn(t,n){pO(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=$me(this);t.anchor=!n||r.has(n)?Cme(n||"a",r):n}return new i5(t.anchor)}createNode(t,n,r){let i;if(typeof n=="function")t=n.call({"":t},"",t),i=n;else if(Array.isArray(n)){const _=E=>typeof E=="number"||E instanceof String||E instanceof Number,x=n.filter(_).map(String);x.length>0&&(n=n.concat(x)),i=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:a,anchorPrefix:u,flow:l,keepUndefined:o,onTagObj:s,tag:c}=r??{},{onAnchor:d,setAnchors:h,sourceObjects:m}=TQe(this,u||"a"),y={aliasDuplicateObjects:a??!0,keepUndefined:o??!1,onAnchor:d,onTagObj:s,replacer:i,schema:this.schema,sourceObjects:m},v=SS(t,c,y);return l&&uu(v)&&(v.flow=!0),h(),v}createPair(t,n,r={}){const i=this.createNode(t,null,r),a=this.createNode(n,null,r);return new ds(i,a)}delete(t){return pO(this.contents)?this.contents.delete(t):!1}deleteIn(t){return S2(t)?this.contents==null?!1:(this.contents=null,!0):pO(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return uu(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return S2(t)?!n&&la(this.contents)?this.contents.value:this.contents:uu(this.contents)?this.contents.getIn(t,n):void 0}has(t){return uu(this.contents)?this.contents.has(t):!1}hasIn(t){return S2(t)?this.contents!==void 0:uu(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=h$(this.schema,[t],n):pO(this.contents)&&this.contents.set(t,n)}setIn(t,n){S2(t)?this.contents=n:this.contents==null?this.contents=h$(this.schema,Array.from(t),n):pO(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let r;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new ec({version:"1.1"}),r={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new ec({version:t}),r={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const i=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(r)this.schema=new h5(Object.assign(r,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:n,mapAsMap:r,maxAliasCount:i,onAnchor:a,reviver:u}={}){const l={anchors:new Map,doc:this,keep:!t,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},o=Xd(this.contents,n??"",l);if(typeof a=="function")for(const{count:s,res:c}of l.anchors.values())a(c,s);return typeof u=="function"?MO(u,{"":o},"",o):o}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return rze(this,t)}};function pO(e){if(uu(e))return!0;throw new Error("Expected a YAML collection as document contents")}class jI extends Error{constructor(t,n,r,i){super(),this.name=t,this.code=r,this.message=i,this.pos=n}}class A1 extends jI{constructor(t,n,r){super("YAMLParseError",t,n,r)}}class Wme extends jI{constructor(t,n,r){super("YAMLWarning",t,n,r)}}const m$=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(l=>t.linePos(l));const{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let a=i-1,u=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(a>=60&&u.length>80){const l=Math.min(a-39,u.length-79);u="…"+u.substring(l),a-=l-1}if(u.length>80&&(u=u.substring(0,79)+"…"),r>1&&/^ *$/.test(u.substring(0,a))){let l=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);l.length>80&&(l=l.substring(0,79)+`…
`),u=l+u}if(/[^ ]/.test(u)){let l=1;const o=n.linePos[1];o&&o.line===r&&o.col>i&&(l=Math.max(1,Math.min(o.col-i,80-a)));const s=" ".repeat(a)+"^".repeat(l);n.message+=`:

${u}
${s}
`}};function E3(e,{flow:t,indicator:n,next:r,offset:i,onError:a,parentIndent:u,startOnNewline:l}){let o=!1,s=l,c=l,d="",h="",m=!1,y=!1,v=null,_=null,x=null,E=null,w=null,T=null,R=null;for(const F of e)switch(y&&(F.type!=="space"&&F.type!=="newline"&&F.type!=="comma"&&a(F.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),y=!1),v&&(s&&F.type!=="comment"&&F.type!=="newline"&&a(v,"TAB_AS_INDENT","Tabs are not allowed as indentation"),v=null),F.type){case"space":!t&&(n!=="doc-start"||(r==null?void 0:r.type)!=="flow-collection")&&F.source.includes("	")&&(v=F),c=!0;break;case"comment":{c||a(F,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const z=F.source.substring(1)||" ";d?d+=h+z:d=z,h="",s=!1;break}case"newline":s?d?d+=F.source:(!T||n!=="seq-item-ind")&&(o=!0):h+=F.source,s=!0,m=!0,(_||x)&&(E=F),c=!0;break;case"anchor":_&&a(F,"MULTIPLE_ANCHORS","A node can have at most one anchor"),F.source.endsWith(":")&&a(F.offset+F.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),_=F,R??(R=F.offset),s=!1,c=!1,y=!0;break;case"tag":{x&&a(F,"MULTIPLE_TAGS","A node can have at most one tag"),x=F,R??(R=F.offset),s=!1,c=!1,y=!0;break}case n:(_||x)&&a(F,"BAD_PROP_ORDER",`Anchors and tags must be after the ${F.source} indicator`),T&&a(F,"UNEXPECTED_TOKEN",`Unexpected ${F.source} in ${t??"collection"}`),T=F,s=n==="seq-item-ind"||n==="explicit-key-ind",c=!1;break;case"comma":if(t){w&&a(F,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),w=F,s=!1,c=!1;break}default:a(F,"UNEXPECTED_TOKEN",`Unexpected ${F.type} token`),s=!1,c=!1}const C=e[e.length-1],k=C?C.offset+C.source.length:i;return y&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&a(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),v&&(s&&v.indent<=u||(r==null?void 0:r.type)==="block-map"||(r==null?void 0:r.type)==="block-seq")&&a(v,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:w,found:T,spaceBefore:o,comment:d,hasNewline:m,anchor:_,tag:x,newlineAfterProp:E,end:k,start:R??k}}function xS(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
`))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(xS(t.key)||xS(t.value))return!0}return!1;default:return!0}}function fM(e,t,n){if((t==null?void 0:t.type)==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&xS(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function Jme(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const i=typeof r=="function"?r:(a,u)=>a===u||la(a)&&la(u)&&a.value===u.value;return t.some(a=>i(a.key,n))}const FX="All mapping items must start at the same column";function ize({composeNode:e,composeEmptyNode:t},n,r,i,a){var c;const u=(a==null?void 0:a.nodeClass)??Bf,l=new u(n.schema);n.atRoot&&(n.atRoot=!1);let o=r.offset,s=null;for(const d of r.items){const{start:h,key:m,sep:y,value:v}=d,_=E3(h,{indicator:"explicit-key-ind",next:m??(y==null?void 0:y[0]),offset:o,onError:i,parentIndent:r.indent,startOnNewline:!0}),x=!_.found;if(x){if(m&&(m.type==="block-seq"?i(o,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in m&&m.indent!==r.indent&&i(o,"BAD_INDENT",FX)),!_.anchor&&!_.tag&&!y){s=_.end,_.comment&&(l.comment?l.comment+=`
`+_.comment:l.comment=_.comment);continue}(_.newlineAfterProp||xS(m))&&i(m??h[h.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else((c=_.found)==null?void 0:c.indent)!==r.indent&&i(o,"BAD_INDENT",FX);n.atKey=!0;const E=_.end,w=m?e(n,m,_,i):t(n,E,h,null,_,i);n.schema.compat&&fM(r.indent,m,i),n.atKey=!1,Jme(n,l.items,w)&&i(E,"DUPLICATE_KEY","Map keys must be unique");const T=E3(y??[],{indicator:"map-value-ind",next:v,offset:w.range[2],onError:i,parentIndent:r.indent,startOnNewline:!m||m.type==="block-scalar"});if(o=T.end,T.found){x&&((v==null?void 0:v.type)==="block-map"&&!T.hasNewline&&i(o,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&_.start<T.found.offset-1024&&i(w.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const R=v?e(n,v,T,i):t(n,o,y,null,T,i);n.schema.compat&&fM(r.indent,v,i),o=R.range[2];const C=new ds(w,R);n.options.keepSourceTokens&&(C.srcToken=d),l.items.push(C)}else{x&&i(w.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),T.comment&&(w.comment?w.comment+=`
`+T.comment:w.comment=T.comment);const R=new ds(w);n.options.keepSourceTokens&&(R.srcToken=d),l.items.push(R)}}return s&&s<o&&i(s,"IMPOSSIBLE","Map comment with trailing content"),l.range=[r.offset,o,s??o],l}function aze({composeNode:e,composeEmptyNode:t},n,r,i,a){const u=(a==null?void 0:a.nodeClass)??Xv,l=new u(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let o=r.offset,s=null;for(const{start:c,value:d}of r.items){const h=E3(c,{indicator:"seq-item-ind",next:d,offset:o,onError:i,parentIndent:r.indent,startOnNewline:!0});if(!h.found)if(h.anchor||h.tag||d)d&&d.type==="block-seq"?i(h.end,"BAD_INDENT","All sequence items must start at the same column"):i(o,"MISSING_CHAR","Sequence item without - indicator");else{s=h.end,h.comment&&(l.comment=h.comment);continue}const m=d?e(n,d,h,i):t(n,h.end,c,null,h,i);n.schema.compat&&fM(r.indent,d,i),o=m.range[2],l.items.push(m)}return l.range=[r.offset,o,s??o],l}function mx(e,t,n,r){let i="";if(e){let a=!1,u="";for(const l of e){const{source:o,type:s}=l;switch(s){case"space":a=!0;break;case"comment":{n&&!a&&r(l,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const c=o.substring(1)||" ";i?i+=u+c:i=c,u="";break}case"newline":i&&(u+=o),a=!0;break;default:r(l,"UNEXPECTED_TOKEN",`Unexpected ${s} at node end`)}t+=o.length}}return{comment:i,offset:t}}const vP="Block collections are not allowed within flow collections",yP=e=>e&&(e.type==="block-map"||e.type==="block-seq");function uze({composeNode:e,composeEmptyNode:t},n,r,i,a){const u=r.start.source==="{",l=u?"flow map":"flow sequence",o=(a==null?void 0:a.nodeClass)??(u?Bf:Xv),s=new o(n.schema);s.flow=!0;const c=n.atRoot;c&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let d=r.offset+r.start.source.length;for(let _=0;_<r.items.length;++_){const x=r.items[_],{start:E,key:w,sep:T,value:R}=x,C=E3(E,{flow:l,indicator:"explicit-key-ind",next:w??(T==null?void 0:T[0]),offset:d,onError:i,parentIndent:r.indent,startOnNewline:!1});if(!C.found){if(!C.anchor&&!C.tag&&!T&&!R){_===0&&C.comma?i(C.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${l}`):_<r.items.length-1&&i(C.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${l}`),C.comment&&(s.comment?s.comment+=`
`+C.comment:s.comment=C.comment),d=C.end;continue}!u&&n.options.strict&&xS(w)&&i(w,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(_===0)C.comma&&i(C.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${l}`);else if(C.comma||i(C.start,"MISSING_CHAR",`Missing , between ${l} items`),C.comment){let k="";e:for(const F of E)switch(F.type){case"comma":case"space":break;case"comment":k=F.source.substring(1);break e;default:break e}if(k){let F=s.items[s.items.length-1];Ua(F)&&(F=F.value??F.key),F.comment?F.comment+=`
`+k:F.comment=k,C.comment=C.comment.substring(k.length+1)}}if(!u&&!T&&!C.found){const k=R?e(n,R,C,i):t(n,C.end,T,null,C,i);s.items.push(k),d=k.range[2],yP(R)&&i(k.range,"BLOCK_IN_FLOW",vP)}else{n.atKey=!0;const k=C.end,F=w?e(n,w,C,i):t(n,k,E,null,C,i);yP(w)&&i(F.range,"BLOCK_IN_FLOW",vP),n.atKey=!1;const z=E3(T??[],{flow:l,indicator:"map-value-ind",next:R,offset:F.range[2],onError:i,parentIndent:r.indent,startOnNewline:!1});if(z.found){if(!u&&!C.found&&n.options.strict){if(T)for(const j of T){if(j===z.found)break;if(j.type==="newline"){i(j,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}C.start<z.found.offset-1024&&i(z.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else R&&("source"in R&&R.source&&R.source[0]===":"?i(R,"MISSING_CHAR",`Missing space after : in ${l}`):i(z.start,"MISSING_CHAR",`Missing , or : between ${l} items`));const Z=R?e(n,R,z,i):z.found?t(n,z.end,T,null,z,i):null;Z?yP(R)&&i(Z.range,"BLOCK_IN_FLOW",vP):z.comment&&(F.comment?F.comment+=`
`+z.comment:F.comment=z.comment);const q=new ds(F,Z);if(n.options.keepSourceTokens&&(q.srcToken=x),u){const j=s;Jme(n,j.items,F)&&i(k,"DUPLICATE_KEY","Map keys must be unique"),j.items.push(q)}else{const j=new Bf(n.schema);j.flow=!0,j.items.push(q);const N=(Z??F).range;j.range=[F.range[0],N[1],N[2]],s.items.push(j)}d=Z?Z.range[2]:z.end}}const h=u?"}":"]",[m,...y]=r.end;let v=d;if(m&&m.source===h)v=m.offset+m.source.length;else{const _=l[0].toUpperCase()+l.substring(1),x=c?`${_} must end with a ${h}`:`${_} in block collection must be sufficiently indented and end with a ${h}`;i(d,c?"MISSING_CHAR":"BAD_INDENT",x),m&&m.source.length!==1&&y.unshift(m)}if(y.length>0){const _=mx(y,v,n.options.strict,i);_.comment&&(s.comment?s.comment+=`
`+_.comment:s.comment=_.comment),s.range=[r.offset,v,_.offset]}else s.range=[r.offset,v,v];return s}function bP(e,t,n,r,i,a){const u=n.type==="block-map"?ize(e,t,n,r,a):n.type==="block-seq"?aze(e,t,n,r,a):uze(e,t,n,r,a),l=u.constructor;return i==="!"||i===l.tagName?(u.tag=l.tagName,u):(i&&(u.tag=i),u)}function lze(e,t,n,r,i){var h;const a=r.tag,u=a?t.directives.tagName(a.source,m=>i(a,"TAG_RESOLVE_FAILED",m)):null;if(n.type==="block-seq"){const{anchor:m,newlineAfterProp:y}=r,v=m&&a?m.offset>a.offset?m:a:m??a;v&&(!y||y.offset<v.offset)&&i(v,"MISSING_CHAR","Missing newline after block sequence props")}const l=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!a||!u||u==="!"||u===Bf.tagName&&l==="map"||u===Xv.tagName&&l==="seq")return bP(e,t,n,i,u);let o=t.schema.tags.find(m=>m.tag===u&&m.collection===l);if(!o){const m=t.schema.knownTags[u];if(m&&m.collection===l)t.schema.tags.push(Object.assign({},m,{default:!1})),o=m;else return m?i(a,"BAD_COLLECTION_TYPE",`${m.tag} used for ${l} collection, but expects ${m.collection??"scalar"}`,!0):i(a,"TAG_RESOLVE_FAILED",`Unresolved tag: ${u}`,!0),bP(e,t,n,i,u)}const s=bP(e,t,n,i,u,o),c=((h=o.resolve)==null?void 0:h.call(o,s,m=>i(a,"TAG_RESOLVE_FAILED",m),t.options))??s,d=lu(c)?c:new ir(c);return d.range=s.range,d.tag=u,o!=null&&o.format&&(d.format=o.format),d}function ege(e,t,n){const r=t.offset,i=oze(t,e.options.strict,n);if(!i)return{value:"",type:null,comment:"",range:[r,r,r]};const a=i.mode===">"?ir.BLOCK_FOLDED:ir.BLOCK_LITERAL,u=t.source?sze(t.source):[];let l=u.length;for(let v=u.length-1;v>=0;--v){const _=u[v][1];if(_===""||_==="\r")l=v;else break}if(l===0){const v=i.chomp==="+"&&u.length>0?`
`.repeat(Math.max(1,u.length-1)):"";let _=r+i.length;return t.source&&(_+=t.source.length),{value:v,type:a,comment:i.comment,range:[r,_,_]}}let o=t.indent+i.indent,s=t.offset+i.length,c=0;for(let v=0;v<l;++v){const[_,x]=u[v];if(x===""||x==="\r")i.indent===0&&_.length>o&&(o=_.length);else{_.length<o&&n(s+_.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),i.indent===0&&(o=_.length),c=v,o===0&&!e.atRoot&&n(s,"BAD_INDENT","Block scalar values in collections must be indented");break}s+=_.length+x.length+1}for(let v=u.length-1;v>=l;--v)u[v][0].length>o&&(l=v+1);let d="",h="",m=!1;for(let v=0;v<c;++v)d+=u[v][0].slice(o)+`
`;for(let v=c;v<l;++v){let[_,x]=u[v];s+=_.length+x.length+1;const E=x[x.length-1]==="\r";if(E&&(x=x.slice(0,-1)),x&&_.length<o){const T=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;n(s-x.length-(E?2:1),"BAD_INDENT",T),_=""}a===ir.BLOCK_LITERAL?(d+=h+_.slice(o)+x,h=`
`):_.length>o||x[0]==="	"?(h===" "?h=`
`:!m&&h===`
`&&(h=`

`),d+=h+_.slice(o)+x,h=`
`,m=!0):x===""?h===`
`?d+=`
`:h=`
`:(d+=h+x,h=" ",m=!1)}switch(i.chomp){case"-":break;case"+":for(let v=l;v<u.length;++v)d+=`
`+u[v][0].slice(o);d[d.length-1]!==`
`&&(d+=`
`);break;default:d+=`
`}const y=r+i.length+t.source.length;return{value:d,type:a,comment:i.comment,range:[r,y,y]}}function oze({offset:e,props:t},n,r){if(t[0].type!=="block-scalar-header")return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:i}=t[0],a=i[0];let u=0,l="",o=-1;for(let h=1;h<i.length;++h){const m=i[h];if(!l&&(m==="-"||m==="+"))l=m;else{const y=Number(m);!u&&y?u=y:o===-1&&(o=e+h)}}o!==-1&&r(o,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let s=!1,c="",d=i.length;for(let h=1;h<t.length;++h){const m=t[h];switch(m.type){case"space":s=!0;case"newline":d+=m.source.length;break;case"comment":n&&!s&&r(m,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),d+=m.source.length,c=m.source.substring(1);break;case"error":r(m,"UNEXPECTED_TOKEN",m.message),d+=m.source.length;break;default:{const y=`Unexpected token in block scalar header: ${m.type}`;r(m,"UNEXPECTED_TOKEN",y);const v=m.source;v&&typeof v=="string"&&(d+=v.length)}}}return{mode:a,indent:u,chomp:l,comment:c,length:d}}function sze(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),a=[r!=null&&r[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let u=1;u<t.length;u+=2)a.push([t[u],t[u+1]]);return a}function tge(e,t,n){const{offset:r,type:i,source:a,end:u}=e;let l,o;const s=(h,m,y)=>n(r+h,m,y);switch(i){case"scalar":l=ir.PLAIN,o=cze(a,s);break;case"single-quoted-scalar":l=ir.QUOTE_SINGLE,o=fze(a,s);break;case"double-quoted-scalar":l=ir.QUOTE_DOUBLE,o=dze(a,s);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[r,r+a.length,r+a.length]}}const c=r+a.length,d=mx(u,c,t,n);return{value:o,type:l,comment:d.comment,range:[r,c,d.offset]}}function cze(e,t){let n="";switch(e[0]){case"	":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),nge(e)}function fze(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),nge(e.slice(1,-1)).replace(/''/g,"'")}function nge(e){let t,n;try{t=new RegExp(`(.*?)(?<![ 	])[ 	]*\r?
`,"sy"),n=new RegExp(`[ 	]*(.*?)(?:(?<![ 	])[ 	]*)?\r?
`,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let i=r[1],a=" ",u=t.lastIndex;for(n.lastIndex=u;r=n.exec(e);)r[1]===""?a===`
`?i+=a:a=`
`:(i+=a+r[1],a=" "),u=n.lastIndex;const l=/[ \t]*(.*)/sy;return l.lastIndex=u,r=l.exec(e),i+a+((r==null?void 0:r[1])??"")}function dze(e,t){let n="";for(let r=1;r<e.length-1;++r){const i=e[r];if(!(i==="\r"&&e[r+1]===`
`))if(i===`
`){const{fold:a,offset:u}=hze(e,r);n+=a,r=u}else if(i==="\\"){let a=e[++r];const u=pze[a];if(u)n+=u;else if(a===`
`)for(a=e[r+1];a===" "||a==="	";)a=e[++r+1];else if(a==="\r"&&e[r+1]===`
`)for(a=e[++r+1];a===" "||a==="	";)a=e[++r+1];else if(a==="x"||a==="u"||a==="U"){const l={x:2,u:4,U:8}[a];n+=mze(e,r+1,l,t),r+=l}else{const l=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${l}`),n+=l}}else if(i===" "||i==="	"){const a=r;let u=e[r+1];for(;u===" "||u==="	";)u=e[++r+1];u!==`
`&&!(u==="\r"&&e[r+2]===`
`)&&(n+=r>a?e.slice(a,r+1):i)}else n+=i}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function hze(e,t){let n="",r=e[t+1];for(;(r===" "||r==="	"||r===`
`||r==="\r")&&!(r==="\r"&&e[t+2]!==`
`);)r===`
`&&(n+=`
`),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}const pze={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
`,r:"\r",t:"	",v:"\v",N:"",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","	":"	"};function mze(e,t,n,r){const i=e.substr(t,n),u=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(u)){const l=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${l}`),l}return String.fromCodePoint(u)}function rge(e,t,n,r){const{value:i,type:a,comment:u,range:l}=t.type==="block-scalar"?ege(e,t,r):tge(t,e.options.strict,r),o=n?e.directives.tagName(n.source,d=>r(n,"TAG_RESOLVE_FAILED",d)):null;let s;e.options.stringKeys&&e.atKey?s=e.schema[C0]:o?s=gze(e.schema,i,o,n,r):t.type==="scalar"?s=vze(e,i,t,r):s=e.schema[C0];let c;try{const d=s.resolve(i,h=>r(n??t,"TAG_RESOLVE_FAILED",h),e.options);c=la(d)?d:new ir(d)}catch(d){const h=d instanceof Error?d.message:String(d);r(n??t,"TAG_RESOLVE_FAILED",h),c=new ir(i)}return c.range=l,c.source=i,a&&(c.type=a),o&&(c.tag=o),s.format&&(c.format=s.format),u&&(c.comment=u),c}function gze(e,t,n,r,i){var l;if(n==="!")return e[C0];const a=[];for(const o of e.tags)if(!o.collection&&o.tag===n)if(o.default&&o.test)a.push(o);else return o;for(const o of a)if((l=o.test)!=null&&l.test(t))return o;const u=e.knownTags[n];return u&&!u.collection?(e.tags.push(Object.assign({},u,{default:!1,test:void 0})),u):(i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[C0])}function vze({atKey:e,directives:t,schema:n},r,i,a){const u=n.tags.find(l=>{var o;return(l.default===!0||e&&l.default==="key")&&((o=l.test)==null?void 0:o.test(r))})||n[C0];if(n.compat){const l=n.compat.find(o=>{var s;return o.default&&((s=o.test)==null?void 0:s.test(r))})??n[C0];if(u.tag!==l.tag){const o=t.tagString(u.tag),s=t.tagString(l.tag),c=`Value may be parsed as either ${o} or ${s}`;a(i,"TAG_RESOLVE_FAILED",c,!0)}}return u}function yze(e,t,n){if(t){n??(n=t.length);for(let r=n-1;r>=0;--r){let i=t[r];switch(i.type){case"space":case"comment":case"newline":e-=i.source.length;continue}for(i=t[++r];(i==null?void 0:i.type)==="space";)e+=i.source.length,i=t[++r];break}}return e}const bze={composeNode:ige,composeEmptyNode:ZI};function ige(e,t,n,r){const i=e.atKey,{spaceBefore:a,comment:u,anchor:l,tag:o}=n;let s,c=!0;switch(t.type){case"alias":s=Oze(e,t,r),(l||o)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":s=rge(e,t,o,r),l&&(s.anchor=l.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":s=lze(bze,e,t,n,r),l&&(s.anchor=l.source.substring(1));break;default:{const d=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",d),s=ZI(e,t.offset,void 0,null,n,r),c=!1}}return l&&s.anchor===""&&r(l,"BAD_ALIAS","Anchor cannot be an empty string"),i&&e.options.stringKeys&&(!la(s)||typeof s.value!="string"||s.tag&&s.tag!=="tag:yaml.org,2002:str")&&r(o??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),a&&(s.spaceBefore=!0),u&&(t.type==="scalar"&&t.source===""?s.comment=u:s.commentBefore=u),e.options.keepSourceTokens&&c&&(s.srcToken=t),s}function ZI(e,t,n,r,{spaceBefore:i,comment:a,anchor:u,tag:l,end:o},s){const c={type:"scalar",offset:yze(t,n,r),indent:-1,source:""},d=rge(e,c,l,s);return u&&(d.anchor=u.source.substring(1),d.anchor===""&&s(u,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(d.spaceBefore=!0),a&&(d.comment=a,d.range[2]=o),d}function Oze({options:e},{offset:t,source:n,end:r},i){const a=new i5(n.substring(1));a.source===""&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),a.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const u=t+n.length,l=mx(r,u,e.strict,i);return a.range=[t,u,l.offset],l.comment&&(a.comment=l.comment),a}function Sze(e,t,{offset:n,start:r,value:i,end:a},u){const l=Object.assign({_directives:t},e),o=new p5(void 0,l),s={atKey:!1,atRoot:!0,directives:o.directives,options:o.options,schema:o.schema},c=E3(r,{indicator:"doc-start",next:i??(a==null?void 0:a[0]),offset:n,onError:u,parentIndent:0,startOnNewline:!0});c.found&&(o.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!c.hasNewline&&u(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),o.contents=i?ige(s,i,c,u):ZI(s,c.end,r,null,c,u);const d=o.contents.range[2],h=mx(a,d,!1,u);return h.comment&&(o.comment=h.comment),o.range=[n,d,h.offset],o}function J4(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}function NX(e){var i;let t="",n=!1,r=!1;for(let a=0;a<e.length;++a){const u=e[a];switch(u[0]){case"#":t+=(t===""?"":r?`

`:`
`)+(u.substring(1)||" "),n=!0,r=!1;break;case"%":((i=e[a+1])==null?void 0:i[0])!=="#"&&(a+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}class HI{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,r,i,a)=>{const u=J4(n);a?this.warnings.push(new Wme(u,r,i)):this.errors.push(new A1(u,r,i))},this.directives=new ec({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:i}=NX(this.prelude);if(r){const a=t.contents;if(n)t.comment=t.comment?`${t.comment}
${r}`:r;else if(i||t.directives.docStart||!a)t.commentBefore=r;else if(uu(a)&&!a.flow&&a.items.length>0){let u=a.items[0];Ua(u)&&(u=u.key);const l=u.commentBefore;u.commentBefore=l?`${r}
${l}`:r}else{const u=a.commentBefore;a.commentBefore=u?`${r}
${u}`:r}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:NX(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,r=-1){for(const i of t)yield*this.next(i);yield*this.end(n,r)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,r,i)=>{const a=J4(t);a[0]+=n,this.onError(a,"BAD_DIRECTIVE",r,i)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=Sze(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,r=new A1(J4(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new A1(J4(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=mx(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const r=this.doc.comment;this.doc.comment=r?`${r}
${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new A1(J4(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),i=new p5(void 0,r);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,n,n],this.decorate(i,!1),yield i}}}function xze(e,t=!0,n){if(e){const r=(i,a,u)=>{const l=typeof i=="number"?i:Array.isArray(i)?i[0]:i.offset;if(n)n(l,a,u);else throw new A1([l,l+1],a,u)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return tge(e,t,r);case"block-scalar":return ege({options:{strict:t}},e,r)}}return null}function _ze(e,t){const{implicitKey:n=!1,indent:r,inFlow:i=!1,offset:a=-1,type:u="PLAIN"}=t,l=hx({type:u,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}}),o=t.end??[{type:"newline",offset:-1,indent:r,source:`
`}];switch(l[0]){case"|":case">":{const s=l.indexOf(`
`),c=l.substring(0,s),d=l.substring(s+1)+`
`,h=[{type:"block-scalar-header",offset:a,indent:r,source:c}];return age(h,o)||h.push({type:"newline",offset:-1,indent:r,source:`
`}),{type:"block-scalar",offset:a,indent:r,props:h,source:d}}case'"':return{type:"double-quoted-scalar",offset:a,indent:r,source:l,end:o};case"'":return{type:"single-quoted-scalar",offset:a,indent:r,source:l,end:o};default:return{type:"scalar",offset:a,indent:r,source:l,end:o}}}function Eze(e,t,n={}){let{afterKey:r=!1,implicitKey:i=!1,inFlow:a=!1,type:u}=n,l="indent"in e?e.indent:null;if(r&&typeof l=="number"&&(l+=2),!u)switch(e.type){case"single-quoted-scalar":u="QUOTE_SINGLE";break;case"double-quoted-scalar":u="QUOTE_DOUBLE";break;case"block-scalar":{const s=e.props[0];if(s.type!=="block-scalar-header")throw new Error("Invalid block scalar header");u=s.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:u="PLAIN"}const o=hx({type:u,value:t},{implicitKey:i||l===null,indent:l!==null&&l>0?" ".repeat(l):"",inFlow:a,options:{blockQuote:!0,lineWidth:-1}});switch(o[0]){case"|":case">":Dze(e,o);break;case'"':OP(e,o,"double-quoted-scalar");break;case"'":OP(e,o,"single-quoted-scalar");break;default:OP(e,o,"scalar")}}function Dze(e,t){const n=t.indexOf(`
`),r=t.substring(0,n),i=t.substring(n+1)+`
`;if(e.type==="block-scalar"){const a=e.props[0];if(a.type!=="block-scalar-header")throw new Error("Invalid block scalar header");a.source=r,e.source=i}else{const{offset:a}=e,u="indent"in e?e.indent:-1,l=[{type:"block-scalar-header",offset:a,indent:u,source:r}];age(l,"end"in e?e.end:void 0)||l.push({type:"newline",offset:-1,indent:u,source:`
`});for(const o of Object.keys(e))o!=="type"&&o!=="offset"&&delete e[o];Object.assign(e,{type:"block-scalar",indent:u,props:l,source:i})}}function age(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function OP(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let i=t.length;e.props[0].type==="block-scalar-header"&&(i-=e.props[0].source.length);for(const a of r)a.offset+=i;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const i={type:"newline",offset:e.offset+t.length,indent:e.indent,source:`
`};delete e.items,Object.assign(e,{type:n,source:t,end:[i]});break}default:{const r="indent"in e?e.indent:-1,i="end"in e&&Array.isArray(e.end)?e.end.filter(a=>a.type==="space"||a.type==="comment"||a.type==="newline"):[];for(const a of Object.keys(e))a!=="type"&&a!=="offset"&&delete e[a];Object.assign(e,{type:n,indent:r,source:t,end:i})}}}const $ze=e=>"type"in e?g$(e):VE(e);function g$(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=g$(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=VE(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=VE(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=VE(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function VE({start:e,key:t,sep:n,value:r}){let i="";for(const a of e)i+=a.source;if(t&&(i+=g$(t)),n)for(const a of n)i+=a.source;return r&&(i+=g$(r)),i}const dM=Symbol("break visit"),Cze=Symbol("skip children"),uge=Symbol("remove item");function tb(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),lge(Object.freeze([]),e,t)}tb.BREAK=dM;tb.SKIP=Cze;tb.REMOVE=uge;tb.itemAtPath=(e,t)=>{let n=e;for(const[r,i]of t){const a=n==null?void 0:n[r];if(a&&"items"in a)n=a.items[i];else return}return n};tb.parentCollection=(e,t)=>{const n=tb.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n==null?void 0:n[r];if(i&&"items"in i)return i;throw new Error("Parent collection not found")};function lge(e,t,n){let r=n(t,e);if(typeof r=="symbol")return r;for(const i of["key","value"]){const a=t[i];if(a&&"items"in a){for(let u=0;u<a.items.length;++u){const l=lge(Object.freeze(e.concat([[i,u]])),a.items[u],n);if(typeof l=="number")u=l-1;else{if(l===dM)return dM;l===uge&&(a.items.splice(u,1),u-=1)}}typeof r=="function"&&i==="key"&&(r=r(t,e))}}return typeof r=="function"?r(t,e):r}const m5="\uFEFF",g5="",v5="",_S="",wze=e=>!!e&&"items"in e,Rze=e=>!!e&&(e.type==="scalar"||e.type==="single-quoted-scalar"||e.type==="double-quoted-scalar"||e.type==="block-scalar");function Aze(e){switch(e){case m5:return"<BOM>";case g5:return"<DOC>";case v5:return"<FLOW_END>";case _S:return"<SCALAR>";default:return JSON.stringify(e)}}function oge(e){switch(e){case m5:return"byte-order-mark";case g5:return"doc-mode";case v5:return"flow-error-end";case _S:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
`:case`\r
`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"	":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}const Tze=Object.freeze(Object.defineProperty({__proto__:null,BOM:m5,DOCUMENT:g5,FLOW_END:v5,SCALAR:_S,createScalarToken:_ze,isCollection:wze,isScalar:Rze,prettyToken:Aze,resolveAsScalar:xze,setScalarValue:Eze,stringify:$ze,tokenType:oge,visit:tb},Symbol.toStringTag,{value:"Module"}));function Uh(e){switch(e){case void 0:case" ":case`
`:case"\r":case"	":return!0;default:return!1}}const IX=new Set("0123456789ABCDEFabcdef"),kze=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),nE=new Set(",[]{}"),Pze=new Set(` ,[]{}
\r	`),SP=e=>!e||Pze.has(e);class sge{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!n;let r=this.next??"stream";for(;r&&(n||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n==="	";)n=this.buffer[++t];return!n||n==="#"||n===`
`?!0:n==="\r"?this.buffer[t+1]===`
`:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let r=0;for(;n===" ";)n=this.buffer[++r+t];if(n==="\r"){const i=this.buffer[r+t+1];if(i===`
`||!i&&!this.atEnd)return t+r+1}return n===`
`||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&Uh(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(`
`,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===m5&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length,r=t.indexOf("#");for(;r!==-1;){const a=t[r-1];if(a===" "||a==="	"){n=r-1;break}else r=t.indexOf("#",r+1)}for(;;){const a=t[n-1];if(a===" "||a==="	")n-=1;else break}const i=(yield*this.pushCount(n))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){const n=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-n),yield*this.pushNewline(),"stream"}return yield g5,yield*this.parseLineStart()}*parseLineStart(){const t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const n=this.peek(3);if((n==="---"||n==="...")&&Uh(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,n==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Uh(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&Uh(n)){const r=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=r,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(SP),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,r=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=r=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const i=this.getLine();if(i===null)return this.setNext("flow");if((r!==-1&&r<this.indentNext&&i[0]!=="#"||r===0&&(i.startsWith("---")||i.startsWith("..."))&&Uh(i[3]))&&!(r===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield v5,yield*this.parseLineStart();let a=0;for(;i[a]===",";)a+=yield*this.pushCount(1),a+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(a+=yield*this.pushIndicators(),i[a]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-a),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(SP),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const u=this.charAt(1);if(this.flowKey||Uh(u)||u===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const t=this.charAt(0);let n=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;n!==-1&&this.buffer[n+1]==="'";)n=this.buffer.indexOf("'",n+2);else for(;n!==-1;){let a=0;for(;this.buffer[n-1-a]==="\\";)a+=1;if(a%2===0)break;n=this.buffer.indexOf('"',n+1)}const r=this.buffer.substring(0,n);let i=r.indexOf(`
`,this.pos);if(i!==-1){for(;i!==-1;){const a=this.continueScalar(i+1);if(a===-1)break;i=r.indexOf(`
`,a)}i!==-1&&(n=i-(r[i-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>Uh(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,r;e:for(let a=this.pos;r=this.buffer[a];++a)switch(r){case" ":n+=1;break;case`
`:t=a,n=0;break;case"\r":{const u=this.buffer[a+1];if(!u&&!this.atEnd)return this.setNext("block-scalar");if(u===`
`)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const a=this.continueScalar(t+1);if(a===-1)break;t=this.buffer.indexOf(`
`,a)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let i=t+1;for(r=this.buffer[i];r===" ";)r=this.buffer[++i];if(r==="	"){for(;r==="	"||r===" "||r==="\r"||r===`
`;)r=this.buffer[++i];t=i-1}else if(!this.blockScalarKeep)do{let a=t-1,u=this.buffer[a];u==="\r"&&(u=this.buffer[--a]);const l=a;for(;u===" ";)u=this.buffer[--a];if(u===`
`&&a>=this.pos&&a+1+n>l)t=a;else break}while(!0);return yield _S,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,r=this.pos-1,i;for(;i=this.buffer[++r];)if(i===":"){const a=this.buffer[r+1];if(Uh(a)||t&&nE.has(a))break;n=r}else if(Uh(i)){let a=this.buffer[r+1];if(i==="\r"&&(a===`
`?(r+=1,i=`
`,a=this.buffer[r+1]):n=r),a==="#"||t&&nE.has(a))break;if(i===`
`){const u=this.continueScalar(r+1);if(u===-1)break;r=Math.max(r,u-2)}}else{if(t&&nE.has(i))break;n=r}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield _S,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const r=this.buffer.slice(this.pos,t);return r?(yield r,this.pos+=r.length,r.length):(n&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(SP))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(Uh(n)||t&&nE.has(n))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!Uh(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(kze.has(n))n=this.buffer[++t];else if(n==="%"&&IX.has(this.buffer[t+1])&&IX.has(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===`
`?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
`?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,r;do r=this.buffer[++n];while(r===" "||t&&r==="	");const i=n-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=n),i}*pushUntil(t){let n=this.pos,r=this.buffer[n];for(;!t(r);)r=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class cge{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,r=this.lineStarts.length;for(;n<r;){const a=n+r>>1;this.lineStarts[a]<t?n=a+1:r=a}if(this.lineStarts[n]===t)return{line:n+1,col:1};if(n===0)return{line:0,col:t};const i=this.lineStarts[n-1];return{line:n,col:t-i+1}}}}function hv(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function LX(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function fge(e){switch(e==null?void 0:e.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function rE(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function mO(e){var n;if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;((n=e[++t])==null?void 0:n.type)==="space";);return e.splice(t,e.length)}function BX(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!hv(t.start,"explicit-key-ind")&&!hv(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,fge(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class XI{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new sge,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const r of this.lexer.lex(t,n))yield*this.next(r);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=oge(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(!t||t.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(!n)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield n;else{const r=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in r?r.indent:0:n.type==="flow-collection"&&r.type==="document"&&(n.indent=0),n.type==="flow-collection"&&BX(n),r.type){case"document":r.value=n;break;case"block-scalar":r.props.push(n);break;case"block-map":{const i=r.items[r.items.length-1];if(i.value){r.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=n;else{Object.assign(i,{key:n,sep:[]}),this.onKeyLine=!i.explicitKey;return}break}case"block-seq":{const i=r.items[r.items.length-1];i.value?r.items.push({start:[],value:n}):i.value=n;break}case"flow-collection":{const i=r.items[r.items.length-1];!i||i.value?r.items.push({start:[],key:n,sep:[]}):i.sep?i.value=n:Object.assign(i,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((r.type==="document"||r.type==="block-map"||r.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const i=n.items[n.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&LX(i.start)===-1&&(n.indent===0||i.start.every(a=>a.type!=="comment"||a.indent<n.indent))&&(r.type==="document"?r.end=i.start:r.items.push({start:i.start}),n.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{LX(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}const n=this.startBlockValue(t);n?this.stack.push(n):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(t){if(this.type==="map-value-ind"){const n=rE(this.peek(2)),r=mO(n);let i;t.end?(i=t.end,i.push(this.sourceToken),delete t.end):i=[this.sourceToken];const a={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:r,key:t,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let n=this.source.indexOf(`
`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
`,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){var r;const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const i="end"in n.value?n.value.end:void 0,a=Array.isArray(i)?i[i.length-1]:void 0;(a==null?void 0:a.type)==="comment"?i==null||i.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2],a=(r=i==null?void 0:i.value)==null?void 0:r.end;if(Array.isArray(a)){Array.prototype.push.apply(a,n.start),a.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const i=!this.onKeyLine&&this.indent===t.indent,a=i&&(n.sep||n.explicitKey)&&this.type!=="seq-item-ind";let u=[];if(a&&n.sep&&!n.value){const l=[];for(let o=0;o<n.sep.length;++o){const s=n.sep[o];switch(s.type){case"newline":l.push(o);break;case"space":break;case"comment":s.indent>t.indent&&(l.length=0);break;default:l.length=0}}l.length>=2&&(u=n.sep.splice(l[1]))}switch(this.type){case"anchor":case"tag":a||n.value?(u.push(this.sourceToken),t.items.push({start:u}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!n.explicitKey?(n.start.push(this.sourceToken),n.explicitKey=!0):a||n.value?(u.push(this.sourceToken),t.items.push({start:u,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(hv(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:u,key:null,sep:[this.sourceToken]}]});else if(fge(n.key)&&!hv(n.sep,"newline")){const l=mO(n.start),o=n.key,s=n.sep;s.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:l,key:o,sep:s}]})}else u.length>0?n.sep=n.sep.concat(u,this.sourceToken):n.sep.push(this.sourceToken);else if(hv(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const l=mO(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:l,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||a?t.items.push({start:u,key:null,sep:[this.sourceToken]}):hv(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const l=this.flowScalar(this.type);a||n.value?(t.items.push({start:u,key:l,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(l):(Object.assign(n,{key:l,sep:[]}),this.onKeyLine=!0);return}default:{const l=this.startBlockValue(t);if(l){if(l.type==="block-seq"){if(!n.explicitKey&&n.sep&&!hv(n.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else i&&t.items.push({start:u});this.stack.push(l);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){var r;const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const i="end"in n.value?n.value.end:void 0,a=Array.isArray(i)?i[i.length-1]:void 0;(a==null?void 0:a.type)==="comment"?i==null||i.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2],a=(r=i==null?void 0:i.value)==null?void 0:r.end;if(Array.isArray(a)){Array.prototype.push.apply(a,n.start),a.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||hv(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const i=this.startBlockValue(t);if(i){this.stack.push(i);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while(r&&r.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:i,sep:[]}):n.sep?this.stack.push(i):Object.assign(n,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const r=this.startBlockValue(t);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const i=rE(r),a=mO(i);BX(t);const u=t.end.splice(1,t.end.length);u.push(this.sourceToken);const l={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:a,key:t,sep:u}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=l}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(`
`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
`,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=rE(t),r=mO(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=rE(t),r=mO(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function dge(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new cge||null,prettyErrors:t}}function Mze(e,t={}){const{lineCounter:n,prettyErrors:r}=dge(t),i=new XI(n==null?void 0:n.addNewLine),a=new HI(t),u=Array.from(a.compose(i.parse(e)));if(r&&n)for(const l of u)l.errors.forEach(m$(e,n)),l.warnings.forEach(m$(e,n));return u.length>0?u:Object.assign([],{empty:!0},a.streamInfo())}function hge(e,t={}){const{lineCounter:n,prettyErrors:r}=dge(t),i=new XI(n==null?void 0:n.addNewLine),a=new HI(t);let u=null;for(const l of a.compose(i.parse(e),!0,e.length))if(!u)u=l;else if(u.options.logLevel!=="silent"){u.errors.push(new A1(l.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(u.errors.forEach(m$(e,n)),u.warnings.forEach(m$(e,n))),u}function Fze(e,t,n){let r;typeof t=="function"?r=t:n===void 0&&t&&typeof t=="object"&&(n=t);const i=hge(e,n);if(!i)return null;if(i.warnings.forEach(a=>kme(i.options.logLevel,a)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}function Nze(e,t,n){let r=null;if(typeof t=="function"||Array.isArray(t)?r=t:n===void 0&&t&&(n=t),typeof n=="string"&&(n=n.length),typeof n=="number"){const i=Math.round(n);n=i<1?void 0:i>8?{indent:8}:{indent:i}}if(e===void 0){const{keepUndefined:i}=n??t??{};if(!i)return}return bb(e)&&!r?e.toString(n):new p5(e,r,n).toString(n)}const Zit=Object.freeze(Object.defineProperty({__proto__:null,Alias:i5,CST:Tze,Composer:HI,Document:p5,Lexer:sge,LineCounter:cge,Pair:ds,Parser:XI,Scalar:ir,Schema:h5,YAMLError:jI,YAMLMap:Bf,YAMLParseError:A1,YAMLSeq:Xv,YAMLWarning:Wme,isAlias:oy,isCollection:uu,isDocument:bb,isMap:H3,isNode:lu,isPair:Ua,isScalar:la,isSeq:X3,parse:Fze,parseAllDocuments:Mze,parseDocument:hge,stringify:Nze,visit:Ob,visitAsync:r5},Symbol.toStringTag,{value:"Module"})),Ize=1,pge=194,mge=195,Lze=196,QX=197,Bze=198,Qze=199,zze=200,qze=2,gge=3,zX=201,Vze=24,Uze=25,jze=49,Zze=50,Hze=55,Xze=56,Yze=57,Gze=59,Kze=60,Wze=61,Jze=62,eqe=63,tqe=65,nqe=238,rqe=71,iqe=241,aqe=242,uqe=243,lqe=244,oqe=245,sqe=246,cqe=247,fqe=248,vge=72,dqe=249,hqe=250,pqe=251,mqe=252,gqe=253,vqe=254,yqe=255,bqe=256,Oqe=73,Sqe=77,xqe=263,_qe=112,Eqe=130,Dqe=151,$qe=152,Cqe=155,nb=10,ES=13,YI=32,y5=9,GI=35,wqe=40,Rqe=46,hM=123,qX=125,yge=39,bge=34,VX=92,Aqe=111,Tqe=120,kqe=78,Pqe=117,Mqe=85,Fqe=new Set([Uze,jze,Zze,xqe,tqe,Eqe,Xze,Yze,nqe,Jze,eqe,vge,Oqe,Sqe,Kze,Wze,Dqe,$qe,Cqe,_qe]);function xP(e){return e==nb||e==ES}function _P(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}const Nqe=new sg((e,t)=>{let n;if(e.next<0)e.acceptToken(Qze);else if(t.context.flags&UE)xP(e.next)&&e.acceptToken(Bze,1);else if(((n=e.peek(-1))<0||xP(n))&&t.canShift(QX)){let r=0;for(;e.next==YI||e.next==y5;)e.advance(),r++;(e.next==nb||e.next==ES||e.next==GI)&&e.acceptToken(QX,-r)}else xP(e.next)&&e.acceptToken(Lze,1)},{contextual:!0}),Iqe=new sg((e,t)=>{let n=t.context;if(n.flags)return;let r=e.peek(-1);if(r==nb||r==ES){let i=0,a=0;for(;;){if(e.next==YI)i++;else if(e.next==y5)i+=8-i%8;else break;e.advance(),a++}i!=n.indent&&e.next!=nb&&e.next!=ES&&e.next!=GI&&(i<n.indent?e.acceptToken(mge,-a):e.acceptToken(pge))}}),UE=1,Oge=2,wm=4,Rm=8,Am=16,Tm=32;function jE(e,t,n){this.parent=e,this.indent=t,this.flags=n,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+n+(n<<6)}const Lqe=new jE(null,0,0);function Bqe(e){let t=0;for(let n=0;n<e.length;n++)t+=e.charCodeAt(n)==y5?8-t%8:1;return t}const UX=new Map([[iqe,0],[aqe,wm],[uqe,Rm],[lqe,Rm|wm],[oqe,Am],[sqe,Am|wm],[cqe,Am|Rm],[fqe,Am|Rm|wm],[dqe,Tm],[hqe,Tm|wm],[pqe,Tm|Rm],[mqe,Tm|Rm|wm],[gqe,Tm|Am],[vqe,Tm|Am|wm],[yqe,Tm|Am|Rm],[bqe,Tm|Am|Rm|wm]].map(([e,t])=>[e,t|Oge])),Qqe=new Ehe({start:Lqe,reduce(e,t,n,r){return e.flags&UE&&Fqe.has(t)||(t==rqe||t==vge)&&e.flags&Oge?e.parent:e},shift(e,t,n,r){return t==pge?new jE(e,Bqe(r.read(r.pos,n.pos)),0):t==mge?e.parent:t==Vze||t==Hze||t==Gze||t==gge?new jE(e,0,UE):UX.has(t)?new jE(e,0,UX.get(t)|e.flags&UE):e},hash(e){return e.hash}}),zqe=new sg(e=>{for(let t=0;t<5;t++){if(e.next!="print".charCodeAt(t))return;e.advance()}if(!/\w/.test(String.fromCharCode(e.next)))for(let t=0;;t++){let n=e.peek(t);if(!(n==YI||n==y5)){n!=wqe&&n!=Rqe&&n!=nb&&n!=ES&&n!=GI&&e.acceptToken(Ize);return}}}),qqe=new sg((e,t)=>{let{flags:n}=t.context,r=n&wm?bge:yge,i=(n&Rm)>0,a=!(n&Am),u=(n&Tm)>0,l=e.pos;for(;!(e.next<0);)if(u&&e.next==hM)if(e.peek(1)==hM)e.advance(2);else{if(e.pos==l){e.acceptToken(gge,1);return}break}else if(a&&e.next==VX){if(e.pos==l){e.advance();let o=e.next;o>=0&&(e.advance(),Vqe(e,o)),e.acceptToken(qze);return}break}else if(e.next==VX&&!a&&e.peek(1)>-1)e.advance(2);else if(e.next==r&&(!i||e.peek(1)==r&&e.peek(2)==r)){if(e.pos==l){e.acceptToken(zX,i?3:1);return}break}else if(e.next==nb){if(i)e.advance();else if(e.pos==l){e.acceptToken(zX);return}break}else e.advance();e.pos>l&&e.acceptToken(zze)});function Vqe(e,t){if(t==Aqe)for(let n=0;n<2&&e.next>=48&&e.next<=55;n++)e.advance();else if(t==Tqe)for(let n=0;n<2&&_P(e.next);n++)e.advance();else if(t==Pqe)for(let n=0;n<4&&_P(e.next);n++)e.advance();else if(t==Mqe)for(let n=0;n<8&&_P(e.next);n++)e.advance();else if(t==kqe&&e.next==hM){for(e.advance();e.next>=0&&e.next!=qX&&e.next!=yge&&e.next!=bge&&e.next!=nb;)e.advance();e.next==qX&&e.advance()}}const Uqe=QN({'async "*" "**" FormatConversion FormatSpec':ot.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":ot.controlKeyword,"in not and or is del":ot.operatorKeyword,"from def class global nonlocal lambda":ot.definitionKeyword,import:ot.moduleKeyword,"with as print":ot.keyword,Boolean:ot.bool,None:ot.null,VariableName:ot.variableName,"CallExpression/VariableName":ot.function(ot.variableName),"FunctionDefinition/VariableName":ot.function(ot.definition(ot.variableName)),"ClassDefinition/VariableName":ot.definition(ot.className),PropertyName:ot.propertyName,"CallExpression/MemberExpression/PropertyName":ot.function(ot.propertyName),Comment:ot.lineComment,Number:ot.number,String:ot.string,FormatString:ot.special(ot.string),Escape:ot.escape,UpdateOp:ot.updateOperator,"ArithOp!":ot.arithmeticOperator,BitOp:ot.bitwiseOperator,CompareOp:ot.compareOperator,AssignOp:ot.definitionOperator,Ellipsis:ot.punctuation,At:ot.meta,"( )":ot.paren,"[ ]":ot.squareBracket,"{ }":ot.brace,".":ot.derefOperator,", ;":ot.separator}),jqe={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert:218,type:223,elif:236,while:240,try:246,except:248,finally:250,with:254,def:258,class:268,match:279,case:285},Hit=g3.deserialize({version:14,states:"##jO`QeOOP$}OSOOO&WQtO'#HUOOQS'#Co'#CoOOQS'#Cp'#CpO'vQdO'#CnO*UQtO'#HTOOQS'#HU'#HUOOQS'#DU'#DUOOQS'#HT'#HTO*rQdO'#D_O+VQdO'#DfO+gQdO'#DjO+zOWO'#DuO,VOWO'#DvO.[QtO'#GuOOQS'#Gu'#GuO'vQdO'#GtO0ZQtO'#GtOOQS'#Eb'#EbO0rQdO'#EcOOQS'#Gs'#GsO0|QdO'#GrOOQV'#Gr'#GrO1XQdO'#FYOOQS'#G^'#G^O1^QdO'#FXOOQV'#IS'#ISOOQV'#Gq'#GqOOQV'#Fq'#FqQ`QeOOO'vQdO'#CqO1lQdO'#C}O1sQdO'#DRO2RQdO'#HYO2cQtO'#EVO'vQdO'#EWOOQS'#EY'#EYOOQS'#E['#E[OOQS'#E^'#E^O2wQdO'#E`O3_QdO'#EdO3rQdO'#EfO3zQtO'#EfO1XQdO'#EiO0rQdO'#ElO1XQdO'#EnO0rQdO'#EtO0rQdO'#EwO4VQdO'#EyO4^QdO'#FOO4iQdO'#EzO0rQdO'#FOO1XQdO'#FQO1XQdO'#FVO4nQdO'#F[P4uOdO'#GpPOOO)CBd)CBdOOQS'#Ce'#CeOOQS'#Cf'#CfOOQS'#Cg'#CgOOQS'#Ch'#ChOOQS'#Ci'#CiOOQS'#Cj'#CjOOQS'#Cl'#ClO'vQdO,59OO'vQdO,59OO'vQdO,59OO'vQdO,59OO'vQdO,59OO'vQdO,59OO5TQdO'#DoOOQS,5:Y,5:YO5hQdO'#HdOOQS,5:],5:]O5uQ!fO,5:]O5zQtO,59YO1lQdO,59bO1lQdO,59bO1lQdO,59bO8jQdO,59bO8oQdO,59bO8vQdO,59jO8}QdO'#HTO:TQdO'#HSOOQS'#HS'#HSOOQS'#D['#D[O:lQdO,59aO'vQdO,59aO:zQdO,59aOOQS,59y,59yO;PQdO,5:RO'vQdO,5:ROOQS,5:Q,5:QO;_QdO,5:QO;dQdO,5:XO'vQdO,5:XO'vQdO,5:VOOQS,5:U,5:UO;uQdO,5:UO;zQdO,5:WOOOW'#Fy'#FyO<POWO,5:aOOQS,5:a,5:aO<[QdO'#HwOOOW'#Dw'#DwOOOW'#Fz'#FzO<lOWO,5:bOOQS,5:b,5:bOOQS'#F}'#F}O<zQtO,5:iO?lQtO,5=`O@VQ#xO,5=`O@vQtO,5=`OOQS,5:},5:}OA_QeO'#GWOBqQdO,5;^OOQV,5=^,5=^OB|QtO'#IPOCkQdO,5;tOOQS-E:[-E:[OOQV,5;s,5;sO4dQdO'#FQOOQV-E9o-E9oOCsQtO,59]OEzQtO,59iOFeQdO'#HVOFpQdO'#HVO1XQdO'#HVOF{QdO'#DTOGTQdO,59mOGYQdO'#HZO'vQdO'#HZO0rQdO,5=tOOQS,5=t,5=tO0rQdO'#EROOQS'#ES'#ESOGwQdO'#GPOHXQdO,58|OHXQdO,58|O*xQdO,5:oOHgQtO'#H]OOQS,5:r,5:rOOQS,5:z,5:zOHzQdO,5;OOI]QdO'#IOO1XQdO'#H}OOQS,5;Q,5;QOOQS'#GT'#GTOIqQtO,5;QOJPQdO,5;QOJUQdO'#IQOOQS,5;T,5;TOJdQdO'#H|OOQS,5;W,5;WOJuQdO,5;YO4iQdO,5;`O4iQdO,5;cOJ}QtO'#ITO'vQdO'#ITOKXQdO,5;eO4VQdO,5;eO0rQdO,5;jO1XQdO,5;lOK^QeO'#EuOLjQgO,5;fO!!kQdO'#IUO4iQdO,5;jO!!vQdO,5;lO!#OQdO,5;qO!#ZQtO,5;vO'vQdO,5;vPOOO,5=[,5=[P!#bOSO,5=[P!#jOdO,5=[O!&bQtO1G.jO!&iQtO1G.jO!)YQtO1G.jO!)dQtO1G.jO!+}QtO1G.jO!,bQtO1G.jO!,uQdO'#HcO!-TQtO'#GuO0rQdO'#HcO!-_QdO'#HbOOQS,5:Z,5:ZO!-gQdO,5:ZO!-lQdO'#HeO!-wQdO'#HeO!.[QdO,5>OOOQS'#Ds'#DsOOQS1G/w1G/wOOQS1G.|1G.|O!/[QtO1G.|O!/cQtO1G.|O1lQdO1G.|O!0OQdO1G/UOOQS'#DZ'#DZO0rQdO,59tOOQS1G.{1G.{O!0VQdO1G/eO!0gQdO1G/eO!0oQdO1G/fO'vQdO'#H[O!0tQdO'#H[O!0yQtO1G.{O!1ZQdO,59iO!2aQdO,5=zO!2qQdO,5=zO!2yQdO1G/mO!3OQtO1G/mOOQS1G/l1G/lO!3`QdO,5=uO!4VQdO,5=uO0rQdO1G/qO!4tQdO1G/sO!4yQtO1G/sO!5ZQtO1G/qOOQS1G/p1G/pOOQS1G/r1G/rOOOW-E9w-E9wOOQS1G/{1G/{O!5kQdO'#HxO0rQdO'#HxO!5|QdO,5>cOOOW-E9x-E9xOOQS1G/|1G/|OOQS-E9{-E9{O!6[Q#xO1G2zO!6{QtO1G2zO'vQdO,5<jOOQS,5<j,5<jOOQS-E9|-E9|OOQS,5<r,5<rOOQS-E:U-E:UOOQV1G0x1G0xO1XQdO'#GRO!7dQtO,5>kOOQS1G1`1G1`O!8RQdO1G1`OOQS'#DV'#DVO0rQdO,5=qOOQS,5=q,5=qO!8WQdO'#FrO!8cQdO,59oO!8kQdO1G/XO!8uQtO,5=uOOQS1G3`1G3`OOQS,5:m,5:mO!9fQdO'#GtOOQS,5<k,5<kOOQS-E9}-E9}O!9wQdO1G.hOOQS1G0Z1G0ZO!:VQdO,5=wO!:gQdO,5=wO0rQdO1G0jO0rQdO1G0jO!:xQdO,5>jO!;ZQdO,5>jO1XQdO,5>jO!;lQdO,5>iOOQS-E:R-E:RO!;qQdO1G0lO!;|QdO1G0lO!<RQdO,5>lO!<aQdO,5>lO!<oQdO,5>hO!=VQdO,5>hO!=hQdO'#EpO0rQdO1G0tO!=sQdO1G0tO!=xQgO1G0zO!AvQgO1G0}O!EqQdO,5>oO!E{QdO,5>oO!FTQtO,5>oO0rQdO1G1PO!F_QdO1G1PO4iQdO1G1UO!!vQdO1G1WOOQV,5;a,5;aO!FdQfO,5;aO!FiQgO1G1QO!JjQdO'#GZO4iQdO1G1QO4iQdO1G1QO!JzQdO,5>pO!KXQdO,5>pO1XQdO,5>pOOQV1G1U1G1UO!KaQdO'#FSO!KrQ!fO1G1WO!KzQdO1G1WOOQV1G1]1G1]O4iQdO1G1]O!LPQdO1G1]O!LXQdO'#F^OOQV1G1b1G1bO!#ZQtO1G1bPOOO1G2v1G2vP!L^OSO1G2vOOQS,5=},5=}OOQS'#Dp'#DpO0rQdO,5=}O!LfQdO,5=|O!LyQdO,5=|OOQS1G/u1G/uO!MRQdO,5>PO!McQdO,5>PO!MkQdO,5>PO!NOQdO,5>PO!N`QdO,5>POOQS1G3j1G3jOOQS7+$h7+$hO!8kQdO7+$pO#!RQdO1G.|O#!YQdO1G.|OOQS1G/`1G/`OOQS,5<`,5<`O'vQdO,5<`OOQS7+%P7+%PO#!aQdO7+%POOQS-E9r-E9rOOQS7+%Q7+%QO#!qQdO,5=vO'vQdO,5=vOOQS7+$g7+$gO#!vQdO7+%PO##OQdO7+%QO##TQdO1G3fOOQS7+%X7+%XO##eQdO1G3fO##mQdO7+%XOOQS,5<_,5<_O'vQdO,5<_O##rQdO1G3aOOQS-E9q-E9qO#$iQdO7+%]OOQS7+%_7+%_O#$wQdO1G3aO#%fQdO7+%_O#%kQdO1G3gO#%{QdO1G3gO#&TQdO7+%]O#&YQdO,5>dO#&sQdO,5>dO#&sQdO,5>dOOQS'#Dx'#DxO#'UO&jO'#DzO#'aO`O'#HyOOOW1G3}1G3}O#'fQdO1G3}O#'nQdO1G3}O#'yQ#xO7+(fO#(jQtO1G2UP#)TQdO'#GOOOQS,5<m,5<mOOQS-E:P-E:POOQS7+&z7+&zOOQS1G3]1G3]OOQS,5<^,5<^OOQS-E9p-E9pOOQS7+$s7+$sO#)bQdO,5=`O#){QdO,5=`O#*^QtO,5<aO#*qQdO1G3cOOQS-E9s-E9sOOQS7+&U7+&UO#+RQdO7+&UO#+aQdO,5<nO#+uQdO1G4UOOQS-E:Q-E:QO#,WQdO1G4UOOQS1G4T1G4TOOQS7+&W7+&WO#,iQdO7+&WOOQS,5<p,5<pO#,tQdO1G4WOOQS-E:S-E:SOOQS,5<l,5<lO#-SQdO1G4SOOQS-E:O-E:OO1XQdO'#EqO#-jQdO'#EqO#-uQdO'#IRO#-}QdO,5;[OOQS7+&`7+&`O0rQdO7+&`O#.SQgO7+&fO!JmQdO'#GXO4iQdO7+&fO4iQdO7+&iO#2QQtO,5<tO'vQdO,5<tO#2[QdO1G4ZOOQS-E:W-E:WO#2fQdO1G4ZO4iQdO7+&kO0rQdO7+&kOOQV7+&p7+&pO!KrQ!fO7+&rO!KzQdO7+&rO`QeO1G0{OOQV-E:X-E:XO4iQdO7+&lO4iQdO7+&lOOQV,5<u,5<uO#2nQdO,5<uO!JmQdO,5<uOOQV7+&l7+&lO#2yQgO7+&lO#6tQdO,5<vO#7PQdO1G4[OOQS-E:Y-E:YO#7^QdO1G4[O#7fQdO'#IWO#7tQdO'#IWO1XQdO'#IWOOQS'#IW'#IWO#8PQdO'#IVOOQS,5;n,5;nO#8XQdO,5;nO0rQdO'#FUOOQV7+&r7+&rO4iQdO7+&rOOQV7+&w7+&wO4iQdO7+&wO#8^QfO,5;xOOQV7+&|7+&|POOO7+(b7+(bO#8cQdO1G3iOOQS,5<c,5<cO#8qQdO1G3hOOQS-E9u-E9uO#9UQdO,5<dO#9aQdO,5<dO#9tQdO1G3kOOQS-E9v-E9vO#:UQdO1G3kO#:^QdO1G3kO#:nQdO1G3kO#:UQdO1G3kOOQS<<H[<<H[O#:yQtO1G1zOOQS<<Hk<<HkP#;WQdO'#FtO8vQdO1G3bO#;eQdO1G3bO#;jQdO<<HkOOQS<<Hl<<HlO#;zQdO7+)QOOQS<<Hs<<HsO#<[QtO1G1yP#<{QdO'#FsO#=YQdO7+)RO#=jQdO7+)RO#=rQdO<<HwO#=wQdO7+({OOQS<<Hy<<HyO#>nQdO,5<bO'vQdO,5<bOOQS-E9t-E9tOOQS<<Hw<<HwOOQS,5<g,5<gO0rQdO,5<gO#>sQdO1G4OOOQS-E9y-E9yO#?^QdO1G4OO<[QdO'#H{OOOO'#D{'#D{OOOO'#F|'#F|O#?oO&jO,5:fOOOW,5>e,5>eOOOW7+)i7+)iO#?zQdO7+)iO#@SQdO1G2zO#@mQdO1G2zP'vQdO'#FuO0rQdO<<IpO1XQdO1G2YP1XQdO'#GSO#AOQdO7+)pO#AaQdO7+)pOOQS<<Ir<<IrP1XQdO'#GUP0rQdO'#GQOOQS,5;],5;]O#ArQdO,5>mO#BQQdO,5>mOOQS1G0v1G0vOOQS<<Iz<<IzOOQV-E:V-E:VO4iQdO<<JQOOQV,5<s,5<sO4iQdO,5<sOOQV<<JQ<<JQOOQV<<JT<<JTO#BYQtO1G2`P#BdQdO'#GYO#BkQdO7+)uO#BuQgO<<JVO4iQdO<<JVOOQV<<J^<<J^O4iQdO<<J^O!KrQ!fO<<J^O#FpQgO7+&gOOQV<<JW<<JWO#FzQgO<<JWOOQV1G2a1G2aO1XQdO1G2aO#JuQdO1G2aO4iQdO<<JWO1XQdO1G2bP0rQdO'#G[O#KQQdO7+)vO#K_QdO7+)vOOQS'#FT'#FTO0rQdO,5>rO#KgQdO,5>rO#KrQdO,5>rO#K}QdO,5>qO#L`QdO,5>qOOQS1G1Y1G1YOOQS,5;p,5;pOOQV<<Jc<<JcO#LhQdO1G1dOOQS7+)T7+)TP#LmQdO'#FwO#L}QdO1G2OO#MbQdO1G2OO#MrQdO1G2OP#M}QdO'#FxO#N[QdO7+)VO#NlQdO7+)VO#NlQdO7+)VO#NtQdO7+)VO$ UQdO7+(|O8vQdO7+(|OOQSAN>VAN>VO$ oQdO<<LmOOQSAN>cAN>cO0rQdO1G1|O$!PQtO1G1|P$!ZQdO'#FvOOQS1G2R1G2RP$!hQdO'#F{O$!uQdO7+)jO$#`QdO,5>gOOOO-E9z-E9zOOOW<<MT<<MTO$#nQdO7+(fOOQSAN?[AN?[OOQS7+'t7+'tO$$XQdO<<M[OOQS,5<q,5<qO$$jQdO1G4XOOQS-E:T-E:TOOQVAN?lAN?lOOQV1G2_1G2_O4iQdOAN?qO$$xQgOAN?qOOQVAN?xAN?xO4iQdOAN?xOOQV<<JR<<JRO4iQdOAN?rO4iQdO7+'{OOQV7+'{7+'{O1XQdO7+'{OOQVAN?rAN?rOOQS7+'|7+'|O$(sQdO<<MbOOQS1G4^1G4^O0rQdO1G4^OOQS,5<w,5<wO$)QQdO1G4]OOQS-E:Z-E:ZOOQU'#G_'#G_O$)cQfO7+'OO$)nQdO'#F_O$*uQdO7+'jO$+VQdO7+'jOOQS7+'j7+'jO$+bQdO<<LqO$+rQdO<<LqO$+rQdO<<LqO$+zQdO'#H^OOQS<<Lh<<LhO$,UQdO<<LhOOQS7+'h7+'hOOQS'#D|'#D|OOOO1G4R1G4RO$,oQdO1G4RO$,wQdO1G4RP!=hQdO'#GVOOQVG25]G25]O4iQdOG25]OOQVG25dG25dOOQVG25^G25^OOQV<<Kg<<KgO4iQdO<<KgOOQS7+)x7+)xP$-SQdO'#G]OOQU-E:]-E:]OOQV<<Jj<<JjO$-vQtO'#FaOOQS'#Fc'#FcO$.WQdO'#FbO$.xQdO'#FbOOQS'#Fb'#FbO$.}QdO'#IYO$)nQdO'#FiO$)nQdO'#FiO$/fQdO'#FjO$)nQdO'#FkO$/mQdO'#IZOOQS'#IZ'#IZO$0[QdO,5;yOOQS<<KU<<KUO$0dQdO<<KUO$0tQdOANB]O$1UQdOANB]O$1^QdO'#H_OOQS'#H_'#H_O1sQdO'#DcO$1wQdO,5=xOOQSANBSANBSOOOO7+)m7+)mO$2`QdO7+)mOOQVLD*wLD*wOOQVANARANARO5uQ!fO'#GaO$2hQtO,5<SO$)nQdO'#FmOOQS,5<W,5<WOOQS'#Fd'#FdO$3YQdO,5;|O$3_QdO,5;|OOQS'#Fg'#FgO$)nQdO'#G`O$4PQdO,5<QO$4kQdO,5>tO$4{QdO,5>tO1XQdO,5<PO$5^QdO,5<TO$5cQdO,5<TO$)nQdO'#I[O$5hQdO'#I[O$5mQdO,5<UOOQS,5<V,5<VO0rQdO'#FpOOQU1G1e1G1eO4iQdO1G1eOOQSAN@pAN@pO$5rQdOG27wO$6SQdO,59}OOQS1G3d1G3dOOOO<<MX<<MXOOQS,5<{,5<{OOQS-E:_-E:_O$6XQtO'#FaO$6`QdO'#I]O$6nQdO'#I]O$6vQdO,5<XOOQS1G1h1G1hO$6{QdO1G1hO$7QQdO,5<zOOQS-E:^-E:^O$7lQdO,5=OO$8TQdO1G4`OOQS-E:b-E:bOOQS1G1k1G1kOOQS1G1o1G1oO$8eQdO,5>vO$)nQdO,5>vOOQS1G1p1G1pOOQS,5<[,5<[OOQU7+'P7+'PO$+zQdO1G/iO$)nQdO,5<YO$8sQdO,5>wO$8zQdO,5>wOOQS1G1s1G1sOOQS7+'S7+'SP$)nQdO'#GdO$9SQdO1G4bO$9^QdO1G4bO$9fQdO1G4bOOQS7+%T7+%TO$9tQdO1G1tO$:SQtO'#FaO$:ZQdO,5<}OOQS,5<},5<}O$:iQdO1G4cOOQS-E:a-E:aO$)nQdO,5<|O$:pQdO,5<|O$:uQdO7+)|OOQS-E:`-E:`O$;PQdO7+)|O$)nQdO,5<ZP$)nQdO'#GcO$;XQdO1G2hO$)nQdO1G2hP$;gQdO'#GbO$;nQdO<<MhO$;xQdO1G1uO$<WQdO7+(SO8vQdO'#C}O8vQdO,59bO8vQdO,59bO8vQdO,59bO$<fQtO,5=`O8vQdO1G.|O0rQdO1G/XO0rQdO7+$pP$<yQdO'#GOO'vQdO'#GtO$=WQdO,59bO$=]QdO,59bO$=dQdO,59mO$=iQdO1G/UO1sQdO'#DRO8vQdO,59j",stateData:"$>S~O%cOS%^OSSOS%]PQ~OPdOVaOfoOhYOopOs!POvqO!PrO!Q{O!T!SO!U!RO!XZO!][O!h`O!r`O!s`O!t`O!{tO!}uO#PvO#RwO#TxO#XyO#ZzO#^|O#_|O#a}O#c!OO#l!QO#o!TO#s!UO#u!VO#z!WO#}hO$P!XO%oRO%pRO%tSO%uWO&Z]O&[]O&]]O&^]O&_]O&`]O&a]O&b]O&c^O&d^O&e^O&f^O&g^O&h^O&i^O&j^O~O%]!YO~OV!aO_!aOa!bOh!iO!X!kO!f!mO%j![O%k!]O%l!^O%m!_O%n!_O%o!`O%p!`O%q!aO%r!aO%s!aO~Ok%xXl%xXm%xXn%xXo%xXp%xXs%xXz%xX{%xX!x%xX#g%xX%[%xX%_%xX%z%xXg%xX!T%xX!U%xX%{%xX!W%xX![%xX!Q%xX#[%xXt%xX!m%xX~P%SOfoOhYO!XZO!][O!h`O!r`O!s`O!t`O%oRO%pRO%tSO%uWO&Z]O&[]O&]]O&^]O&_]O&`]O&a]O&b]O&c^O&d^O&e^O&f^O&g^O&h^O&i^O&j^O~Oz%wX{%wX#g%wX%[%wX%_%wX%z%wX~Ok!pOl!qOm!oOn!oOo!rOp!sOs!tO!x%wX~P)pOV!zOg!|Oo0cOv0qO!PrO~P'vOV#OOo0cOv0qO!W#PO~P'vOV#SOa#TOo0cOv0qO![#UO~P'vOQ#XO%`#XO%a#ZO~OQ#^OR#[O%`#^O%a#`O~OV%iX_%iXa%iXh%iXk%iXl%iXm%iXn%iXo%iXp%iXs%iXz%iX!X%iX!f%iX%j%iX%k%iX%l%iX%m%iX%n%iX%o%iX%p%iX%q%iX%r%iX%s%iXg%iX!T%iX!U%iX~O&Z]O&[]O&]]O&^]O&_]O&`]O&a]O&b]O&c^O&d^O&e^O&f^O&g^O&h^O&i^O&j^O{%iX!x%iX#g%iX%[%iX%_%iX%z%iX%{%iX!W%iX![%iX!Q%iX#[%iXt%iX!m%iX~P,eOz#dO{%hX!x%hX#g%hX%[%hX%_%hX%z%hX~Oo0cOv0qO~P'vO#g#gO%[#iO%_#iO~O%uWO~O!T#nO#u!VO#z!WO#}hO~OopO~P'vOV#sOa#tO%uWO{wP~OV#xOo0cOv0qO!Q#yO~P'vO{#{O!x$QO%z#|O#g!yX%[!yX%_!yX~OV#xOo0cOv0qO#g#SX%[#SX%_#SX~P'vOo0cOv0qO#g#WX%[#WX%_#WX~P'vOh$WO%uWO~O!f$YO!r$YO%uWO~OV$eO~P'vO!U$gO#s$hO#u$iO~O{$jO~OV$qO~P'vOS$sO%[$rO%_$rO%c$tO~OV$}Oa$}Og%POo0cOv0qO~P'vOo0cOv0qO{%SO~P'vO&Y%UO~Oa!bOh!iO!X!kO!f!mOVba_bakbalbambanbaobapbasbazba{ba!xba#gba%[ba%_ba%jba%kba%lba%mba%nba%oba%pba%qba%rba%sba%zbagba!Tba!Uba%{ba!Wba![ba!Qba#[batba!mba~On%ZO~Oo%ZO~P'vOo0cO~P'vOk0eOl0fOm0dOn0dOo0mOp0nOs0rOg%wX!T%wX!U%wX%{%wX!W%wX![%wX!Q%wX#[%wX!m%wX~P)pO%{%]Og%vXz%vX!T%vX!U%vX!W%vX{%vX~Og%_Oz%`O!T%dO!U%cO~Og%_O~Oz%gO!T%dO!U%cO!W&SX~O!W%kO~Oz%lO{%nO!T%dO!U%cO![%}X~O![%rO~O![%sO~OQ#XO%`#XO%a%uO~OV%wOo0cOv0qO!PrO~P'vOQ#^OR#[O%`#^O%a%zO~OV!qa_!qaa!qah!qak!qal!qam!qan!qao!qap!qas!qaz!qa{!qa!X!qa!f!qa!x!qa#g!qa%[!qa%_!qa%j!qa%k!qa%l!qa%m!qa%n!qa%o!qa%p!qa%q!qa%r!qa%s!qa%z!qag!qa!T!qa!U!qa%{!qa!W!qa![!qa!Q!qa#[!qat!qa!m!qa~P#yOz%|O{%ha!x%ha#g%ha%[%ha%_%ha%z%ha~P%SOV&OOopOvqO{%ha!x%ha#g%ha%[%ha%_%ha%z%ha~P'vOz%|O{%ha!x%ha#g%ha%[%ha%_%ha%z%ha~OPdOVaOopOvqO!PrO!Q{O!{tO!}uO#PvO#RwO#TxO#XyO#ZzO#^|O#_|O#a}O#c!OO#g$zX%[$zX%_$zX~P'vO#g#gO%[&TO%_&TO~O!f&UOh&sX%[&sXz&sX#[&sX#g&sX%_&sX#Z&sXg&sX~Oh!iO%[&WO~Okealeameaneaoeapeaseazea{ea!xea#gea%[ea%_ea%zeagea!Tea!Uea%{ea!Wea![ea!Qea#[eatea!mea~P%SOsqazqa{qa#gqa%[qa%_qa%zqa~Ok!pOl!qOm!oOn!oOo!rOp!sO!xqa~PEcO%z&YOz%yX{%yX~O%uWOz%yX{%yX~Oz&]O{wX~O{&_O~Oz%lO#g%}X%[%}X%_%}Xg%}X{%}X![%}X!m%}X%z%}X~OV0lOo0cOv0qO!PrO~P'vO%z#|O#gUa%[Ua%_Ua~Oz&hO#g&PX%[&PX%_&PXn&PX~P%SOz&kO!Q&jO#g#Wa%[#Wa%_#Wa~Oz&lO#[&nO#g&rX%[&rX%_&rXg&rX~O!f$YO!r$YO#Z&qO%uWO~O#Z&qO~Oz&sO#g&tX%[&tX%_&tX~Oz&uO#g&pX%[&pX%_&pX{&pX~O!X&wO%z&xO~Oz&|On&wX~P%SOn'PO~OPdOVaOopOvqO!PrO!Q{O!{tO!}uO#PvO#RwO#TxO#XyO#ZzO#^|O#_|O#a}O#c!OO%['UO~P'vOt'YO#p'WO#q'XOP#naV#naf#nah#nao#nas#nav#na!P#na!Q#na!T#na!U#na!X#na!]#na!h#na!r#na!s#na!t#na!{#na!}#na#P#na#R#na#T#na#X#na#Z#na#^#na#_#na#a#na#c#na#l#na#o#na#s#na#u#na#z#na#}#na$P#na%X#na%o#na%p#na%t#na%u#na&Z#na&[#na&]#na&^#na&_#na&`#na&a#na&b#na&c#na&d#na&e#na&f#na&g#na&h#na&i#na&j#na%Z#na%_#na~Oz'ZO#[']O{&xX~Oh'_O!X&wO~Oh!iO{$jO!X&wO~O{'eO~P%SO%['hO%_'hO~OS'iO%['hO%_'hO~OV!aO_!aOa!bOh!iO!X!kO!f!mO%l!^O%m!_O%n!_O%o!`O%p!`O%q!aO%r!aO%s!aOkWilWimWinWioWipWisWizWi{Wi!xWi#gWi%[Wi%_Wi%jWi%zWigWi!TWi!UWi%{Wi!WWi![Wi!QWi#[WitWi!mWi~O%k!]O~P!#uO%kWi~P!#uOV!aO_!aOa!bOh!iO!X!kO!f!mO%o!`O%p!`O%q!aO%r!aO%s!aOkWilWimWinWioWipWisWizWi{Wi!xWi#gWi%[Wi%_Wi%jWi%kWi%lWi%zWigWi!TWi!UWi%{Wi!WWi![Wi!QWi#[WitWi!mWi~O%m!_O%n!_O~P!&pO%mWi%nWi~P!&pOa!bOh!iO!X!kO!f!mOkWilWimWinWioWipWisWizWi{Wi!xWi#gWi%[Wi%_Wi%jWi%kWi%lWi%mWi%nWi%oWi%pWi%zWigWi!TWi!UWi%{Wi!WWi![Wi!QWi#[WitWi!mWi~OV!aO_!aO%q!aO%r!aO%s!aO~P!)nOVWi_Wi%qWi%rWi%sWi~P!)nO!T%dO!U%cOg&VXz&VX~O%z'kO%{'kO~P,eOz'mOg&UX~Og'oO~Oz'pO{'rO!W&XX~Oo0cOv0qOz'pO{'sO!W&XX~P'vO!W'uO~Om!oOn!oOo!rOp!sOkjisjizji{ji!xji#gji%[ji%_ji%zji~Ol!qO~P!.aOlji~P!.aOk0eOl0fOm0dOn0dOo0mOp0nO~Ot'wO~P!/jOV'|Og'}Oo0cOv0qO~P'vOg'}Oz(OO~Og(QO~O!U(SO~Og(TOz(OO!T%dO!U%cO~P%SOk0eOl0fOm0dOn0dOo0mOp0nOgqa!Tqa!Uqa%{qa!Wqa![qa!Qqa#[qatqa!mqa~PEcOV'|Oo0cOv0qO!W&Sa~P'vOz(WO!W&Sa~O!W(XO~Oz(WO!T%dO!U%cO!W&Sa~P%SOV(]Oo0cOv0qO![%}a#g%}a%[%}a%_%}ag%}a{%}a!m%}a%z%}a~P'vOz(^O![%}a#g%}a%[%}a%_%}ag%}a{%}a!m%}a%z%}a~O![(aO~Oz(^O!T%dO!U%cO![%}a~P%SOz(dO!T%dO!U%cO![&Ta~P%SOz(gO{&lX![&lX!m&lX%z&lX~O{(kO![(mO!m(nO%z(jO~OV&OOopOvqO{%hi!x%hi#g%hi%[%hi%_%hi%z%hi~P'vOz(pO{%hi!x%hi#g%hi%[%hi%_%hi%z%hi~O!f&UOh&sa%[&saz&sa#[&sa#g&sa%_&sa#Z&sag&sa~O%[(uO~OV#sOa#tO%uWO~Oz&]O{wa~OopOvqO~P'vOz(^O#g%}a%[%}a%_%}ag%}a{%}a![%}a!m%}a%z%}a~P%SOz(zO#g%hX%[%hX%_%hX%z%hX~O%z#|O#gUi%[Ui%_Ui~O#g&Pa%[&Pa%_&Pan&Pa~P'vOz(}O#g&Pa%[&Pa%_&Pan&Pa~O%uWO#g&ra%[&ra%_&rag&ra~Oz)SO#g&ra%[&ra%_&rag&ra~Og)VO~OV)WOh$WO%uWO~O#Z)XO~O%uWO#g&ta%[&ta%_&ta~Oz)ZO#g&ta%[&ta%_&ta~Oo0cOv0qO#g&pa%[&pa%_&pa{&pa~P'vOz)^O#g&pa%[&pa%_&pa{&pa~OV)`Oa)`O%uWO~O%z)eO~Ot)hO#j)gOP#hiV#hif#hih#hio#his#hiv#hi!P#hi!Q#hi!T#hi!U#hi!X#hi!]#hi!h#hi!r#hi!s#hi!t#hi!{#hi!}#hi#P#hi#R#hi#T#hi#X#hi#Z#hi#^#hi#_#hi#a#hi#c#hi#l#hi#o#hi#s#hi#u#hi#z#hi#}#hi$P#hi%X#hi%o#hi%p#hi%t#hi%u#hi&Z#hi&[#hi&]#hi&^#hi&_#hi&`#hi&a#hi&b#hi&c#hi&d#hi&e#hi&f#hi&g#hi&h#hi&i#hi&j#hi%Z#hi%_#hi~Ot)iOP#kiV#kif#kih#kio#kis#kiv#ki!P#ki!Q#ki!T#ki!U#ki!X#ki!]#ki!h#ki!r#ki!s#ki!t#ki!{#ki!}#ki#P#ki#R#ki#T#ki#X#ki#Z#ki#^#ki#_#ki#a#ki#c#ki#l#ki#o#ki#s#ki#u#ki#z#ki#}#ki$P#ki%X#ki%o#ki%p#ki%t#ki%u#ki&Z#ki&[#ki&]#ki&^#ki&_#ki&`#ki&a#ki&b#ki&c#ki&d#ki&e#ki&f#ki&g#ki&h#ki&i#ki&j#ki%Z#ki%_#ki~OV)kOn&wa~P'vOz)lOn&wa~Oz)lOn&wa~P%SOn)pO~O%Y)tO~Ot)wO#p'WO#q)vOP#niV#nif#nih#nio#nis#niv#ni!P#ni!Q#ni!T#ni!U#ni!X#ni!]#ni!h#ni!r#ni!s#ni!t#ni!{#ni!}#ni#P#ni#R#ni#T#ni#X#ni#Z#ni#^#ni#_#ni#a#ni#c#ni#l#ni#o#ni#s#ni#u#ni#z#ni#}#ni$P#ni%X#ni%o#ni%p#ni%t#ni%u#ni&Z#ni&[#ni&]#ni&^#ni&_#ni&`#ni&a#ni&b#ni&c#ni&d#ni&e#ni&f#ni&g#ni&h#ni&i#ni&j#ni%Z#ni%_#ni~OV)zOo0cOv0qO{$jO~P'vOo0cOv0qO{&xa~P'vOz*OO{&xa~OV*SOa*TOg*WO%q*UO%uWO~O{$jO&{*YO~Oh'_O~Oh!iO{$jO~O%[*_O~O%[*aO%_*aO~OV$}Oa$}Oo0cOv0qOg&Ua~P'vOz*dOg&Ua~Oo0cOv0qO{*gO!W&Xa~P'vOz*hO!W&Xa~Oo0cOv0qOz*hO{*kO!W&Xa~P'vOo0cOv0qOz*hO!W&Xa~P'vOz*hO{*kO!W&Xa~Om0dOn0dOo0mOp0nOgjikjisjizji!Tji!Uji%{ji!Wji{ji![ji#gji%[ji%_ji!Qji#[jitji!mji%zji~Ol0fO~P!NkOlji~P!NkOV'|Og*pOo0cOv0qO~P'vOn*rO~Og*pOz*tO~Og*uO~OV'|Oo0cOv0qO!W&Si~P'vOz*vO!W&Si~O!W*wO~OV(]Oo0cOv0qO![%}i#g%}i%[%}i%_%}ig%}i{%}i!m%}i%z%}i~P'vOz*zO!T%dO!U%cO![&Ti~Oz*}O![%}i#g%}i%[%}i%_%}ig%}i{%}i!m%}i%z%}i~O![+OO~Oa+QOo0cOv0qO![&Ti~P'vOz*zO![&Ti~O![+SO~OV+UOo0cOv0qO{&la![&la!m&la%z&la~P'vOz+VO{&la![&la!m&la%z&la~O!]+YO&n+[O![!nX~O![+^O~O{(kO![+_O~O{(kO![+_O!m+`O~OV&OOopOvqO{%hq!x%hq#g%hq%[%hq%_%hq%z%hq~P'vOz$ri{$ri!x$ri#g$ri%[$ri%_$ri%z$ri~P%SOV&OOopOvqO~P'vOV&OOo0cOv0qO#g%ha%[%ha%_%ha%z%ha~P'vOz+aO#g%ha%[%ha%_%ha%z%ha~Oz$ia#g$ia%[$ia%_$ian$ia~P%SO#g&Pi%[&Pi%_&Pin&Pi~P'vOz+dO#g#Wq%[#Wq%_#Wq~O#[+eOz$va#g$va%[$va%_$vag$va~O%uWO#g&ri%[&ri%_&rig&ri~Oz+gO#g&ri%[&ri%_&rig&ri~OV+iOh$WO%uWO~O%uWO#g&ti%[&ti%_&ti~Oo0cOv0qO#g&pi%[&pi%_&pi{&pi~P'vO{#{Oz#eX!W#eX~Oz+mO!W&uX~O!W+oO~Ot+rO#j)gOP#hqV#hqf#hqh#hqo#hqs#hqv#hq!P#hq!Q#hq!T#hq!U#hq!X#hq!]#hq!h#hq!r#hq!s#hq!t#hq!{#hq!}#hq#P#hq#R#hq#T#hq#X#hq#Z#hq#^#hq#_#hq#a#hq#c#hq#l#hq#o#hq#s#hq#u#hq#z#hq#}#hq$P#hq%X#hq%o#hq%p#hq%t#hq%u#hq&Z#hq&[#hq&]#hq&^#hq&_#hq&`#hq&a#hq&b#hq&c#hq&d#hq&e#hq&f#hq&g#hq&h#hq&i#hq&j#hq%Z#hq%_#hq~On$|az$|a~P%SOV)kOn&wi~P'vOz+yOn&wi~Oz,TO{$jO#[,TO~O#q,VOP#nqV#nqf#nqh#nqo#nqs#nqv#nq!P#nq!Q#nq!T#nq!U#nq!X#nq!]#nq!h#nq!r#nq!s#nq!t#nq!{#nq!}#nq#P#nq#R#nq#T#nq#X#nq#Z#nq#^#nq#_#nq#a#nq#c#nq#l#nq#o#nq#s#nq#u#nq#z#nq#}#nq$P#nq%X#nq%o#nq%p#nq%t#nq%u#nq&Z#nq&[#nq&]#nq&^#nq&_#nq&`#nq&a#nq&b#nq&c#nq&d#nq&e#nq&f#nq&g#nq&h#nq&i#nq&j#nq%Z#nq%_#nq~O#[,WOz%Oa{%Oa~Oo0cOv0qO{&xi~P'vOz,YO{&xi~O{#{O%z,[Og&zXz&zX~O%uWOg&zXz&zX~Oz,`Og&yX~Og,bO~O%Y,eO~O!T%dO!U%cOg&Viz&Vi~OV$}Oa$}Oo0cOv0qOg&Ui~P'vO{,hOz$la!W$la~Oo0cOv0qO{,iOz$la!W$la~P'vOo0cOv0qO{*gO!W&Xi~P'vOz,lO!W&Xi~Oo0cOv0qOz,lO!W&Xi~P'vOz,lO{,oO!W&Xi~Og$hiz$hi!W$hi~P%SOV'|Oo0cOv0qO~P'vOn,qO~OV'|Og,rOo0cOv0qO~P'vOV'|Oo0cOv0qO!W&Sq~P'vOz$gi![$gi#g$gi%[$gi%_$gig$gi{$gi!m$gi%z$gi~P%SOV(]Oo0cOv0qO~P'vOa+QOo0cOv0qO![&Tq~P'vOz,sO![&Tq~O![,tO~OV(]Oo0cOv0qO![%}q#g%}q%[%}q%_%}qg%}q{%}q!m%}q%z%}q~P'vO{,uO~OV+UOo0cOv0qO{&li![&li!m&li%z&li~P'vOz,zO{&li![&li!m&li%z&li~O!]+YO&n+[O![!na~O{(kO![,}O~OV&OOo0cOv0qO#g%hi%[%hi%_%hi%z%hi~P'vOz-OO#g%hi%[%hi%_%hi%z%hi~O%uWO#g&rq%[&rq%_&rqg&rq~Oz-RO#g&rq%[&rq%_&rqg&rq~OV)`Oa)`O%uWO!W&ua~Oz-TO!W&ua~On$|iz$|i~P%SOV)kO~P'vOV)kOn&wq~P'vOt-XOP#myV#myf#myh#myo#mys#myv#my!P#my!Q#my!T#my!U#my!X#my!]#my!h#my!r#my!s#my!t#my!{#my!}#my#P#my#R#my#T#my#X#my#Z#my#^#my#_#my#a#my#c#my#l#my#o#my#s#my#u#my#z#my#}#my$P#my%X#my%o#my%p#my%t#my%u#my&Z#my&[#my&]#my&^#my&_#my&`#my&a#my&b#my&c#my&d#my&e#my&f#my&g#my&h#my&i#my&j#my%Z#my%_#my~O%Z-]O%_-]O~P`O#q-^OP#nyV#nyf#nyh#nyo#nys#nyv#ny!P#ny!Q#ny!T#ny!U#ny!X#ny!]#ny!h#ny!r#ny!s#ny!t#ny!{#ny!}#ny#P#ny#R#ny#T#ny#X#ny#Z#ny#^#ny#_#ny#a#ny#c#ny#l#ny#o#ny#s#ny#u#ny#z#ny#}#ny$P#ny%X#ny%o#ny%p#ny%t#ny%u#ny&Z#ny&[#ny&]#ny&^#ny&_#ny&`#ny&a#ny&b#ny&c#ny&d#ny&e#ny&f#ny&g#ny&h#ny&i#ny&j#ny%Z#ny%_#ny~Oz-aO{$jO#[-aO~Oo0cOv0qO{&xq~P'vOz-dO{&xq~O%z,[Og&zaz&za~O{#{Og&zaz&za~OV*SOa*TO%q*UO%uWOg&ya~Oz-hOg&ya~O$S-lO~OV$}Oa$}Oo0cOv0qO~P'vOo0cOv0qO{-mOz$li!W$li~P'vOo0cOv0qOz$li!W$li~P'vO{-mOz$li!W$li~Oo0cOv0qO{*gO~P'vOo0cOv0qO{*gO!W&Xq~P'vOz-pO!W&Xq~Oo0cOv0qOz-pO!W&Xq~P'vOs-sO!T%dO!U%cOg&Oq!W&Oq![&Oqz&Oq~P!/jOa+QOo0cOv0qO![&Ty~P'vOz$ji![$ji~P%SOa+QOo0cOv0qO~P'vOV+UOo0cOv0qO~P'vOV+UOo0cOv0qO{&lq![&lq!m&lq%z&lq~P'vO{(kO![-xO!m-yO%z-wO~OV&OOo0cOv0qO#g%hq%[%hq%_%hq%z%hq~P'vO%uWO#g&ry%[&ry%_&ryg&ry~OV)`Oa)`O%uWO!W&ui~Ot-}OP#m!RV#m!Rf#m!Rh#m!Ro#m!Rs#m!Rv#m!R!P#m!R!Q#m!R!T#m!R!U#m!R!X#m!R!]#m!R!h#m!R!r#m!R!s#m!R!t#m!R!{#m!R!}#m!R#P#m!R#R#m!R#T#m!R#X#m!R#Z#m!R#^#m!R#_#m!R#a#m!R#c#m!R#l#m!R#o#m!R#s#m!R#u#m!R#z#m!R#}#m!R$P#m!R%X#m!R%o#m!R%p#m!R%t#m!R%u#m!R&Z#m!R&[#m!R&]#m!R&^#m!R&_#m!R&`#m!R&a#m!R&b#m!R&c#m!R&d#m!R&e#m!R&f#m!R&g#m!R&h#m!R&i#m!R&j#m!R%Z#m!R%_#m!R~Oo0cOv0qO{&xy~P'vOV*SOa*TO%q*UO%uWOg&yi~O$S-lO%Z.VO%_.VO~OV.aOh._O!X.^O!].`O!h.YO!s.[O!t.[O%p.XO%uWO&Z]O&[]O&]]O&^]O&_]O&`]O&a]O&b]O~Oo0cOv0qOz$lq!W$lq~P'vO{.fOz$lq!W$lq~Oo0cOv0qO{*gO!W&Xy~P'vOz.gO!W&Xy~Oo0cOv.kO~P'vOs-sO!T%dO!U%cOg&Oy!W&Oy![&Oyz&Oy~P!/jO{(kO![.nO~O{(kO![.nO!m.oO~OV*SOa*TO%q*UO%uWO~Oh.tO!f.rOz$TX#[$TX%j$TXg$TX~Os$TX{$TX!W$TX![$TX~P$-bO%o.vO%p.vOs$UXz$UX{$UX#[$UX%j$UX!W$UXg$UX![$UX~O!h.xO~Oz.|O#[/OO%j.yOs&|X{&|X!W&|Xg&|X~Oa/RO~P$)zOh.tOs&}Xz&}X{&}X#[&}X%j&}X!W&}Xg&}X![&}X~Os/VO{$jO~Oo0cOv0qOz$ly!W$ly~P'vOo0cOv0qO{*gO!W&X!R~P'vOz/ZO!W&X!R~Og&RXs&RX!T&RX!U&RX!W&RX![&RXz&RX~P!/jOs-sO!T%dO!U%cOg&Qa!W&Qa![&Qaz&Qa~O{(kO![/^O~O!f.rOh$[as$[az$[a{$[a#[$[a%j$[a!W$[ag$[a![$[a~O!h/eO~O%o.vO%p.vOs$Uaz$Ua{$Ua#[$Ua%j$Ua!W$Uag$Ua![$Ua~O%j.yOs$Yaz$Ya{$Ya#[$Ya!W$Yag$Ya![$Ya~Os&|a{&|a!W&|ag&|a~P$)nOz/jOs&|a{&|a!W&|ag&|a~O!W/mO~Og/mO~O{/oO~O![/pO~Oo0cOv0qO{*gO!W&X!Z~P'vO{/sO~O%z/tO~P$-bOz/uO#[/OO%j.yOg'PX~Oz/uOg'PX~Og/wO~O!h/xO~O#[/OOs%Saz%Sa{%Sa%j%Sa!W%Sag%Sa![%Sa~O#[/OO%j.yOs%Waz%Wa{%Wa!W%Wag%Wa~Os&|i{&|i!W&|ig&|i~P$)nOz/zO#[/OO%j.yO!['Oa~Og'Pa~P$)nOz0SOg'Pa~Oa0UO!['Oi~P$)zOz0WO!['Oi~Oz0WO#[/OO%j.yO!['Oi~O#[/OO%j.yOg$biz$bi~O%z0ZO~P$-bO#[/OO%j.yOg%Vaz%Va~Og'Pi~P$)nO{0^O~Oa0UO!['Oq~P$)zOz0`O!['Oq~O#[/OO%j.yOz%Ui![%Ui~Oa0UO~P$)zOa0UO!['Oy~P$)zO#[/OO%j.yOg$ciz$ci~O#[/OO%j.yOz%Uq![%Uq~Oz+aO#g%ha%[%ha%_%ha%z%ha~P%SOV&OOo0cOv0qO~P'vOn0hO~Oo0hO~P'vO{0iO~Ot0jO~P!/jO&]&Z&j&h&i&g&f&d&e&c&b&`&a&_&^&[%u~",goto:"!=j'QPPPPPP'RP'Z*s+[+t,_,y-fP.SP'Z.r.r'ZPPP'Z2[PPPPPP2[5PPP5PP7b7k=sPP=v>h>kPP'Z'ZPP>zPP'Z'ZPP'Z'Z'Z'Z'Z?O?w'ZP?zP@QDXGuGyPG|HWH['ZPPPH_Hk'RP'R'RP'RP'RP'RP'RP'R'R'RP'RPP'RPP'RP'RPHqH}IVPI^IdPI^PI^I^PPPI^PKrPK{LVL]KrPI^LfPI^PLmLsPLwM]MzNeLwLwNkNxLwLwLwLw! ^! d! g! l! o! y!!P!!]!!o!!u!#P!#V!#s!#y!$P!$Z!$a!$g!$y!%T!%Z!%a!%k!%q!%w!%}!&T!&Z!&e!&k!&u!&{!'U!'[!'k!'s!'}!(UPPPPPPPPPPP!([!(_!(e!(n!(x!)TPPPPPPPPPPPP!-u!/Z!3^!6oPP!6w!7W!7a!8Y!8P!8c!8i!8l!8o!8r!8z!9jPPPPPPPPPPPPPPPPP!9m!9q!9wP!:]!:a!:m!:v!;S!;j!;m!;p!;v!;|!<S!<VP!<_!<h!=d!=g]eOn#g$j)t,P'}`OTYZ[adnoprtxy}!P!Q!R!U!X!c!d!e!f!g!h!i!k!o!p!q!s!t!z#O#S#T#[#d#g#x#y#{#}$Q$e$g$h$j$q$}%S%Z%^%`%c%g%l%n%w%|&O&Z&_&h&j&k&u&x&|'P'W'Z'l'm'p'r's'w'|(O(S(W(](^(d(g(p(r(z(})^)e)g)k)l)p)t)z*O*Y*d*g*h*k*q*r*t*v*y*z*}+Q+U+V+Y+a+c+d+k+x+y,P,X,Y,],g,h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/V/Z/s0c0d0e0f0h0i0j0k0l0n0r{!cQ#c#p$R$d$p%e%j%p%q&`'O'g(q(|)j*o*x+w,v0g}!dQ#c#p$R$d$p$u%e%j%p%q&`'O'g(q(|)j*o*x+w,v0g!P!eQ#c#p$R$d$p$u$v%e%j%p%q&`'O'g(q(|)j*o*x+w,v0g!R!fQ#c#p$R$d$p$u$v$w%e%j%p%q&`'O'g(q(|)j*o*x+w,v0g!T!gQ#c#p$R$d$p$u$v$w$x%e%j%p%q&`'O'g(q(|)j*o*x+w,v0g!V!hQ#c#p$R$d$p$u$v$w$x$y%e%j%p%q&`'O'g(q(|)j*o*x+w,v0g!Z!hQ!n#c#p$R$d$p$u$v$w$x$y$z%e%j%p%q&`'O'g(q(|)j*o*x+w,v0g'}TOTYZ[adnoprtxy}!P!Q!R!U!X!c!d!e!f!g!h!i!k!o!p!q!s!t!z#O#S#T#[#d#g#x#y#{#}$Q$e$g$h$j$q$}%S%Z%^%`%c%g%l%n%w%|&O&Z&_&h&j&k&u&x&|'P'W'Z'l'm'p'r's'w'|(O(S(W(](^(d(g(p(r(z(})^)e)g)k)l)p)t)z*O*Y*d*g*h*k*q*r*t*v*y*z*}+Q+U+V+Y+a+c+d+k+x+y,P,X,Y,],g,h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/V/Z/s0c0d0e0f0h0i0j0k0l0n0r&eVOYZ[dnprxy}!P!Q!U!i!k!o!p!q!s!t#[#d#g#y#{#}$Q$h$j$}%S%Z%^%`%g%l%n%w%|&Z&_&j&k&u&x'P'W'Z'l'm'p'r's'w(O(W(^(d(g(p(r(z)^)e)g)p)t)z*O*Y*d*g*h*k*q*r*t*v*y*z*}+U+V+Y+a+d+k,P,X,Y,],g,h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/V/Z/s0c0d0e0f0h0i0j0k0n0r%oXOYZ[dnrxy}!P!Q!U!i!k#[#d#g#y#{#}$Q$h$j$}%S%^%`%g%l%n%w%|&Z&_&j&k&u&x'P'W'Z'l'm'p'r's'w(O(W(^(d(g(p(r(z)^)e)g)p)t)z*O*Y*d*g*h*k*q*t*v*y*z*}+U+V+Y+a+d+k,P,X,Y,],g,h,i,k,l,o,s,u,w,y,z-O-d-f-m-p.f.g/V/Z0i0j0kQ#vqQ/[.kR0o0q't`OTYZ[adnoprtxy}!P!Q!R!U!X!c!d!e!f!g!h!k!o!p!q!s!t!z#O#S#T#[#d#g#x#y#{#}$Q$e$g$h$j$q$}%S%Z%^%`%c%g%l%n%w%|&O&Z&_&h&j&k&u&x&|'P'W'Z'l'p'r's'w'|(O(S(W(](^(d(g(p(r(z(})^)e)g)k)l)p)t)z*O*Y*g*h*k*q*r*t*v*y*z*}+Q+U+V+Y+a+c+d+k+x+y,P,X,Y,],h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/V/Z/s0c0d0e0f0h0i0j0k0l0n0rh#jhz{$W$Z&l&q)S)X+f+g-RW#rq&].k0qQ$]|Q$a!OQ$n!VQ$o!WW$|!i'm*d,gS&[#s#tQ'S$iQ(s&UQ)U&nU)Y&s)Z+jW)a&w+m-T-{Q*Q']W*R'_,`-h.TQ+l)`S,_*S*TQ-Q+eQ-_,TQ-c,WQ.R-al.W-l.^._.a.z.|/R/j/o/t/y0U0Z0^Q/S.`Q/a.tQ/l/OU0P/u0S0[X0V/z0W0_0`R&Z#r!_!wYZ!P!Q!k%S%`%g'p'r's(O(W)g*g*h*k*q*t*v,h,i,k,l,o-m-p.f.g/ZR%^!vQ!{YQ%x#[Q&d#}Q&g$QR,{+YT.j-s/s!Y!jQ!n#c#p$R$d$p$u$v$w$x$y$z%e%j%p%q&`'O'g(q(|)j*o*x+w,v0gQ&X#kQ'c$oR*^'dR'l$|Q%V!mR/_.r'|_OTYZ[adnoprtxy}!P!Q!R!U!X!c!d!e!f!g!h!i!k!o!p!q!s!t!z#O#S#T#[#d#g#x#y#{#}$Q$e$g$h$j$q$}%S%Z%^%`%c%g%l%n%w%|&O&Z&_&h&j&k&u&x&|'P'W'Z'l'm'p'r's'w'|(O(S(W(](^(d(g(p(r(z(})^)e)g)k)l)p)t)z*O*Y*d*g*h*k*q*r*t*v*y*z*}+Q+U+V+Y+a+c+d+k+x+y,P,X,Y,],g,h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/V/Z/s0c0d0e0f0h0i0j0k0l0n0rS#a_#b!P.[-l.^._.`.a.t.z.|/R/j/o/t/u/y/z0S0U0W0Z0[0^0_0`'|_OTYZ[adnoprtxy}!P!Q!R!U!X!c!d!e!f!g!h!i!k!o!p!q!s!t!z#O#S#T#[#d#g#x#y#{#}$Q$e$g$h$j$q$}%S%Z%^%`%c%g%l%n%w%|&O&Z&_&h&j&k&u&x&|'P'W'Z'l'm'p'r's'w'|(O(S(W(](^(d(g(p(r(z(})^)e)g)k)l)p)t)z*O*Y*d*g*h*k*q*r*t*v*y*z*}+Q+U+V+Y+a+c+d+k+x+y,P,X,Y,],g,h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/V/Z/s0c0d0e0f0h0i0j0k0l0n0rT#a_#bT#^^#_R(o%xa(l%x(n(o+`,{-y-z.oT+[(k+]R-z,{Q$PsQ+l)aQ,^*RR-e,_X#}s$O$P&fQ&y$aQ'a$nQ'd$oR)s'SQ)b&wV-S+m-T-{ZgOn$j)t,PXkOn)t,PQ$k!TQ&z$bQ&{$cQ'^$mQ'b$oQ)q'RQ)x'WQ){'XQ)|'YQ*Z'`S*]'c'dQ+s)gQ+u)hQ+v)iQ+z)oS+|)r*[Q,Q)vQ,R)wS,S)y)zQ,d*^Q-V+rQ-W+tQ-Y+{S-Z+},OQ-`,UQ-b,VQ-|-XQ.O-[Q.P-^Q.Q-_Q.p-}Q.q.RQ/W.dR/r/XWkOn)t,PR#mjQ'`$nS)r'S'aR,O)sQ,]*RR-f,^Q*['`Q+})rR-[,OZiOjn)t,PQ'f$pR*`'gT-j,e-ku.c-l.^._.a.t.z.|/R/j/o/t/u/y0S0U0Z0[0^t.c-l.^._.a.t.z.|/R/j/o/t/u/y0S0U0Z0[0^Q/S.`X0V/z0W0_0`!P.Z-l.^._.`.a.t.z.|/R/j/o/t/u/y/z0S0U0W0Z0[0^0_0`Q.w.YR/f.xg.z.].{/b/i/n/|0O0Q0]0a0bu.b-l.^._.a.t.z.|/R/j/o/t/u/y0S0U0Z0[0^X.u.W.b/a0PR/c.tV0R/u0S0[R/X.dQnOS#on,PR,P)tQ&^#uR(x&^S%m#R#wS(_%m(bT(b%p&`Q%a!yQ%h!}W(P%a%h(U(YQ(U%eR(Y%jQ&i$RR)O&iQ(e%qQ*{(`T+R(e*{Q'n%OR*e'nS'q%R%SY*i'q*j,m-q.hU*j'r's'tU,m*k*l*mS-q,n,oR.h-rQ#Y]R%t#YQ#_^R%y#_Q(h%vS+W(h+XR+X(iQ+](kR,|+]Q#b_R%{#bQ#ebQ%}#cW&Q#e%}({+bQ({&cR+b0gQ$OsS&e$O&fR&f$PQ&v$_R)_&vQ&V#jR(t&VQ&m$VS)T&m+hR+h)UQ$Z{R&p$ZQ&t$]R)[&tQ+n)bR-U+nQ#hfR&S#hQ)f&zR+q)fQ&}$dS)m&})nR)n'OQ'V$kR)u'VQ'[$lS*P'[,ZR,Z*QQ,a*VR-i,aWjOn)t,PR#ljQ-k,eR.U-kd.{.]/b/i/n/|0O0Q0]0a0bR/h.{U.s.W/a0PR/`.sQ/{/nS0X/{0YR0Y/|S/v/b/cR0T/vQ.}.]R/k.}R!ZPXmOn)t,PWlOn)t,PR'T$jYfOn$j)t,PR&R#g[sOn#g$j)t,PR&d#}&dQOYZ[dnprxy}!P!Q!U!i!k!o!p!q!s!t#[#d#g#y#{#}$Q$h$j$}%S%Z%^%`%g%l%n%w%|&Z&_&j&k&u&x'P'W'Z'l'm'p'r's'w(O(W(^(d(g(p(r(z)^)e)g)p)t)z*O*Y*d*g*h*k*q*r*t*v*y*z*}+U+V+Y+a+d+k,P,X,Y,],g,h,i,k,l,o,q,s,u,w,y,z-O-d-f-m-p-s.f.g/V/Z/s0c0d0e0f0h0i0j0k0n0rQ!nTQ#caQ#poU$Rt%c(SS$d!R$gQ$p!XQ$u!cQ$v!dQ$w!eQ$x!fQ$y!gQ$z!hQ%e!zQ%j#OQ%p#SQ%q#TQ&`#xQ'O$eQ'g$qQ(q&OU(|&h(}+cW)j&|)l+x+yQ*o'|Q*x(]Q+w)kQ,v+QR0g0lQ!yYQ!}ZQ$b!PQ$c!QQ%R!kQ't%S^'{%`%g(O(W*q*t*v^*f'p*h,k,l-p.g/ZQ*l'rQ*m'sQ+t)gQ,j*gQ,n*kQ-n,hQ-o,iQ-r,oQ.e-mR/Y.f[bOn#g$j)t,P!^!vYZ!P!Q!k%S%`%g'p'r's(O(W)g*g*h*k*q*t*v,h,i,k,l,o-m-p.f.g/ZQ#R[Q#fdS#wrxQ$UyW$_}$Q'P)pS$l!U$hW${!i'm*d,gS%v#[+Y`&P#d%|(p(r(z+a-O0kQ&a#yQ&b#{Q&c#}Q'j$}Q'z%^W([%l(^*y*}Q(`%nQ(i%wQ(v&ZS(y&_0iQ)P&jQ)Q&kU)]&u)^+kQ)d&xQ)y'WY)}'Z*O,X,Y-dQ*b'lS*n'w0jW+P(d*z,s,wW+T(g+V,y,zQ+p)eQ,U)zQ,c*YQ,x+UQ-P+dQ-e,]Q-v,uQ.S-fR/q/VhUOn#d#g$j%|&_'w(p(r)t,P%U!uYZ[drxy}!P!Q!U!i!k#[#y#{#}$Q$h$}%S%^%`%g%l%n%w&Z&j&k&u&x'P'W'Z'l'm'p'r's(O(W(^(d(g(z)^)e)g)p)z*O*Y*d*g*h*k*q*t*v*y*z*}+U+V+Y+a+d+k,X,Y,],g,h,i,k,l,o,s,u,w,y,z-O-d-f-m-p.f.g/V/Z0i0j0kQ#qpW%W!o!s0d0nQ%X!pQ%Y!qQ%[!tQ%f0cS'v%Z0hQ'x0eQ'y0fQ,p*rQ-u,qS.i-s/sR0p0rU#uq.k0qR(w&][cOn#g$j)t,PZ!xY#[#}$Q+YQ#W[Q#zrR$TxQ%b!yQ%i!}Q%o#RQ'j${Q(V%eQ(Z%jQ(c%pQ(f%qQ*|(`Q,f*bQ-t,pQ.m-uR/].lQ$StQ(R%cR*s(SQ.l-sR/}/sR#QZR#V[R%Q!iQ%O!iV*c'm*d,g!Z!lQ!n#c#p$R$d$p$u$v$w$x$y$z%e%j%p%q&`'O'g(q(|)j*o*x+w,v0gR%T!kT#]^#_Q%x#[R,{+YQ(m%xS+_(n(oQ,}+`Q-x,{S.n-y-zR/^.oT+Z(k+]Q$`}Q&g$QQ)o'PR+{)pQ$XzQ)W&qR+i)XQ$XzQ&o$WQ)W&qR+i)XQ#khW$Vz$W&q)XQ$[{Q&r$ZZ)R&l)S+f+g-RR$^|R)c&wXlOn)t,PQ$f!RR'Q$gQ$m!UR'R$hR*X'_Q*V'_V-g,`-h.TQ.d-lQ/P.^R/Q._U.]-l.^._Q/U.aQ/b.tQ/g.zU/i.|/j/yQ/n/RQ/|/oQ0O/tU0Q/u0S0[Q0]0UQ0a0ZR0b0^R/T.`R/d.t",nodeNames:"⚠ print Escape { Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatSelfDoc FormatConversion FormatSpec FormatReplacement FormatSelfDoc ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert TypeDefinition type TypeParamList TypeParam StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:277,context:Qqe,nodeProps:[["isolate",-5,4,71,72,73,77,""],["group",-15,6,85,87,88,90,92,94,96,98,99,100,102,105,108,110,"Statement Statement",-22,8,18,21,25,40,49,50,56,57,60,61,62,63,64,67,70,71,72,79,80,81,82,"Expression",-10,114,116,119,121,122,126,128,133,135,138,"Statement",-9,143,144,147,148,150,151,152,153,154,"Pattern"],["openedBy",23,"(",54,"[",58,"{"],["closedBy",24,")",55,"]",59,"}"]],propSources:[Uqe],skippedNodes:[0,4],repeatNodeCount:34,tokenData:"!2|~R!`OX%TXY%oY[%T[]%o]p%Tpq%oqr'ars)Yst*xtu%Tuv,dvw-hwx.Uxy/tyz0[z{0r{|2S|}2p}!O3W!O!P4_!P!Q:Z!Q!R;k!R![>_![!]Do!]!^Es!^!_FZ!_!`Gk!`!aHX!a!b%T!b!cIf!c!dJU!d!eK^!e!hJU!h!i!#f!i!tJU!t!u!,|!u!wJU!w!x!.t!x!}JU!}#O!0S#O#P&o#P#Q!0j#Q#R!1Q#R#SJU#S#T%T#T#UJU#U#VK^#V#YJU#Y#Z!#f#Z#fJU#f#g!,|#g#iJU#i#j!.t#j#oJU#o#p!1n#p#q!1s#q#r!2a#r#s!2f#s$g%T$g;'SJU;'S;=`KW<%lOJU`%YT&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T`%lP;=`<%l%To%v]&n`%c_OX%TXY%oY[%T[]%o]p%Tpq%oq#O%T#O#P&o#P#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To&tX&n`OY%TYZ%oZ]%T]^%o^#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc'f[&n`O!_%T!_!`([!`#T%T#T#U(r#U#f%T#f#g(r#g#h(r#h#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc(cTmR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc(yT!mR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk)aV&n`&[ZOr%Trs)vs#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk){V&n`Or%Trs*bs#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk*iT&n`&^ZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To+PZS_&n`OY*xYZ%TZ]*x]^%T^#o*x#o#p+r#p#q*x#q#r+r#r;'S*x;'S;=`,^<%lO*x_+wTS_OY+rZ]+r^;'S+r;'S;=`,W<%lO+r_,ZP;=`<%l+ro,aP;=`<%l*xj,kV%rQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj-XT!xY&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj-oV%lQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk.]V&n`&ZZOw%Twx.rx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk.wV&n`Ow%Twx/^x#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk/eT&n`&]ZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk/{ThZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc0cTgR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk0yXVZ&n`Oz%Tz{1f{!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk1mVaR&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk2ZV%oZ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc2wTzR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To3_W%pZ&n`O!_%T!_!`-Q!`!a3w!a#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Td4OT&{S&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk4fX!fQ&n`O!O%T!O!P5R!P!Q%T!Q![6T![#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk5WV&n`O!O%T!O!P5m!P#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk5tT!rZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti6[a!hX&n`O!Q%T!Q![6T![!g%T!g!h7a!h!l%T!l!m9s!m#R%T#R#S6T#S#X%T#X#Y7a#Y#^%T#^#_9s#_#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti7fZ&n`O{%T{|8X|}%T}!O8X!O!Q%T!Q![8s![#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti8^V&n`O!Q%T!Q![8s![#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti8z]!hX&n`O!Q%T!Q![8s![!l%T!l!m9s!m#R%T#R#S8s#S#^%T#^#_9s#_#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti9zT!hX&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk:bX%qR&n`O!P%T!P!Q:}!Q!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj;UV%sQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti;ro!hX&n`O!O%T!O!P=s!P!Q%T!Q![>_![!d%T!d!e?q!e!g%T!g!h7a!h!l%T!l!m9s!m!q%T!q!rA]!r!z%T!z!{Bq!{#R%T#R#S>_#S#U%T#U#V?q#V#X%T#X#Y7a#Y#^%T#^#_9s#_#c%T#c#dA]#d#l%T#l#mBq#m#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti=xV&n`O!Q%T!Q![6T![#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti>fc!hX&n`O!O%T!O!P=s!P!Q%T!Q![>_![!g%T!g!h7a!h!l%T!l!m9s!m#R%T#R#S>_#S#X%T#X#Y7a#Y#^%T#^#_9s#_#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti?vY&n`O!Q%T!Q!R@f!R!S@f!S#R%T#R#S@f#S#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti@mY!hX&n`O!Q%T!Q!R@f!R!S@f!S#R%T#R#S@f#S#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TiAbX&n`O!Q%T!Q!YA}!Y#R%T#R#SA}#S#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TiBUX!hX&n`O!Q%T!Q!YA}!Y#R%T#R#SA}#S#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TiBv]&n`O!Q%T!Q![Co![!c%T!c!iCo!i#R%T#R#SCo#S#T%T#T#ZCo#Z#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TiCv]!hX&n`O!Q%T!Q![Co![!c%T!c!iCo!i#R%T#R#SCo#S#T%T#T#ZCo#Z#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%ToDvV{_&n`O!_%T!_!`E]!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TcEdT%{R&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkEzT#gZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkFbXmR&n`O!^%T!^!_F}!_!`([!`!a([!a#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TjGUV%mQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkGrV%zZ&n`O!_%T!_!`([!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkH`WmR&n`O!_%T!_!`([!`!aHx!a#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TjIPV%nQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkIoV_Q#}P&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%ToJ_]&n`&YS%uZO!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUoKZP;=`<%lJUoKge&n`&YS%uZOr%Trs)Ysw%Twx.Ux!Q%T!Q![JU![!c%T!c!tJU!t!uLx!u!}JU!}#R%T#R#SJU#S#T%T#T#fJU#f#gLx#g#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUoMRa&n`&YS%uZOr%TrsNWsw%Twx! vx!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUkN_V&n`&`ZOr%TrsNts#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkNyV&n`Or%Trs! `s#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk! gT&n`&bZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk! }V&n`&_ZOw%Twx!!dx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!!iV&n`Ow%Twx!#Ox#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!#VT&n`&aZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To!#oe&n`&YS%uZOr%Trs!%Qsw%Twx!&px!Q%T!Q![JU![!c%T!c!tJU!t!u!(`!u!}JU!}#R%T#R#SJU#S#T%T#T#fJU#f#g!(`#g#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!%XV&n`&dZOr%Trs!%ns#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!%sV&n`Or%Trs!&Ys#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!&aT&n`&fZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!&wV&n`&cZOw%Twx!'^x#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!'cV&n`Ow%Twx!'xx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!(PT&n`&eZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To!(ia&n`&YS%uZOr%Trs!)nsw%Twx!+^x!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!)uV&n`&hZOr%Trs!*[s#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!*aV&n`Or%Trs!*vs#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!*}T&n`&jZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!+eV&n`&gZOw%Twx!+zx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!,PV&n`Ow%Twx!,fx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!,mT&n`&iZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To!-Vi&n`&YS%uZOr%TrsNWsw%Twx! vx!Q%T!Q![JU![!c%T!c!dJU!d!eLx!e!hJU!h!i!(`!i!}JU!}#R%T#R#SJU#S#T%T#T#UJU#U#VLx#V#YJU#Y#Z!(`#Z#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUo!.}a&n`&YS%uZOr%Trs)Ysw%Twx.Ux!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!0ZT!XZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc!0qT!WR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj!1XV%kQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!1sO!]~k!1zV%jR&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!2fO![~i!2mT%tX&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T",tokenizers:[zqe,Iqe,Nqe,qqe,0,1,2,3,4],topRules:{Script:[0,5]},specialized:[{term:221,get:e=>jqe[e]||-1}],tokenPrec:7668}),Zqe=315,Hqe=316,jX=1,Xqe=2,Yqe=3,Gqe=4,Kqe=317,Wqe=319,Jqe=320,eVe=5,tVe=6,nVe=0,pM=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Sge=125,rVe=59,mM=47,iVe=42,aVe=43,uVe=45,lVe=60,oVe=44,sVe=63,cVe=46,fVe=91,dVe=new Ehe({start:!1,shift(e,t){return t==eVe||t==tVe||t==Wqe?e:t==Jqe},strict:!1}),hVe=new sg((e,t)=>{let{next:n}=e;(n==Sge||n==-1||t.context)&&e.acceptToken(Kqe)},{contextual:!0,fallback:!0}),pVe=new sg((e,t)=>{let{next:n}=e,r;pM.indexOf(n)>-1||n==mM&&((r=e.peek(1))==mM||r==iVe)||n!=Sge&&n!=rVe&&n!=-1&&!t.context&&e.acceptToken(Zqe)},{contextual:!0}),mVe=new sg((e,t)=>{e.next==fVe&&!t.context&&e.acceptToken(Hqe)},{contextual:!0}),gVe=new sg((e,t)=>{let{next:n}=e;if(n==aVe||n==uVe){if(e.advance(),n==e.next){e.advance();let r=!t.context&&t.canShift(jX);e.acceptToken(r?jX:Xqe)}}else n==sVe&&e.peek(1)==cVe&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(Yqe))},{contextual:!0});function EP(e,t){return e>=65&&e<=90||e>=97&&e<=122||e==95||e>=192||!t&&e>=48&&e<=57}const vVe=new sg((e,t)=>{if(e.next!=lVe||!t.dialectEnabled(nVe)||(e.advance(),e.next==mM))return;let n=0;for(;pM.indexOf(e.next)>-1;)e.advance(),n++;if(EP(e.next,!0)){for(e.advance(),n++;EP(e.next,!1);)e.advance(),n++;for(;pM.indexOf(e.next)>-1;)e.advance(),n++;if(e.next==oVe)return;for(let r=0;;r++){if(r==7){if(!EP(e.next,!0))return;break}if(e.next!="extends".charCodeAt(r))break;e.advance(),n++}}e.acceptToken(Gqe,-n)}),yVe=QN({"get set async static":ot.modifier,"for while do if else switch try catch finally return throw break continue default case":ot.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":ot.operatorKeyword,"let var const using function class extends":ot.definitionKeyword,"import export from":ot.moduleKeyword,"with debugger new":ot.keyword,TemplateString:ot.special(ot.string),super:ot.atom,BooleanLiteral:ot.bool,this:ot.self,null:ot.null,Star:ot.modifier,VariableName:ot.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":ot.function(ot.variableName),VariableDefinition:ot.definition(ot.variableName),Label:ot.labelName,PropertyName:ot.propertyName,PrivatePropertyName:ot.special(ot.propertyName),"CallExpression/MemberExpression/PropertyName":ot.function(ot.propertyName),"FunctionDeclaration/VariableDefinition":ot.function(ot.definition(ot.variableName)),"ClassDeclaration/VariableDefinition":ot.definition(ot.className),"NewExpression/VariableName":ot.className,PropertyDefinition:ot.definition(ot.propertyName),PrivatePropertyDefinition:ot.definition(ot.special(ot.propertyName)),UpdateOp:ot.updateOperator,"LineComment Hashbang":ot.lineComment,BlockComment:ot.blockComment,Number:ot.number,String:ot.string,Escape:ot.escape,ArithOp:ot.arithmeticOperator,LogicOp:ot.logicOperator,BitOp:ot.bitwiseOperator,CompareOp:ot.compareOperator,RegExp:ot.regexp,Equals:ot.definitionOperator,Arrow:ot.function(ot.punctuation),": Spread":ot.punctuation,"( )":ot.paren,"[ ]":ot.squareBracket,"{ }":ot.brace,"InterpolationStart InterpolationEnd":ot.special(ot.brace),".":ot.derefOperator,", ;":ot.separator,"@":ot.meta,TypeName:ot.typeName,TypeDefinition:ot.definition(ot.typeName),"type enum interface implements namespace module declare":ot.definitionKeyword,"abstract global Privacy readonly override":ot.modifier,"is keyof unique infer asserts":ot.operatorKeyword,JSXAttributeValue:ot.attributeValue,JSXText:ot.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":ot.angleBracket,"JSXIdentifier JSXNameSpacedName":ot.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":ot.attributeName,"JSXBuiltin/JSXIdentifier":ot.standard(ot.tagName)}),bVe={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,for:474,of:483,while:486,with:490,do:494,if:498,else:500,switch:504,case:510,try:516,catch:520,finally:524,return:528,throw:532,break:536,continue:540,debugger:544},OVe={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},SVe={__proto__:null,"<":193},Xit=g3.deserialize({version:14,states:"$EOQ%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Ik'#IkO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JqO6[Q!0MxO'#JrO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7dO'#FfO7eQMhO'#F|O9[Q`O'#F{OOQ!0Lf'#Jr'#JrOOQ!0Lb'#Jq'#JqO9aQ`O'#GwOOQ['#K^'#K^O9lQ`O'#IXO9qQ!0LrO'#IYOOQ['#J_'#J_OOQ['#I^'#I^Q`QlOOQ`QlOOO9yQ!L^O'#DvO:QQlO'#EOO:XQlO'#EQO9gQ`O'#GsO:`QMhO'#CoO:nQ`O'#EnO:yQ`O'#EyO;OQMhO'#FeO;mQ`O'#GsOOQO'#K_'#K_O;rQ`O'#K_O<QQ`O'#G{O<QQ`O'#G|O<QQ`O'#HOO9gQ`O'#HRO<wQ`O'#HUO>`Q`O'#CeO>pQ`O'#HbO>xQ`O'#HhO>xQ`O'#HjO`QlO'#HlO>xQ`O'#HnO>xQ`O'#HqO>}Q`O'#HwO?SQ!0LsO'#H}O%[QlO'#IPO?_Q!0LsO'#IRO?jQ!0LsO'#ITO9qQ!0LrO'#IVO?uQ!0MxO'#CiO@wQpO'#DlQOQ`OOO%[QlO'#EQOA_Q`O'#ETO:`QMhO'#EnOAjQ`O'#EnOAuQ!bO'#FeOOQ['#Cg'#CgOOQ!0Lb'#Dq'#DqOOQ!0Lb'#Ju'#JuO%[QlO'#JuOOQO'#Jx'#JxOOQO'#Ig'#IgOBuQpO'#EgOOQ!0Lb'#Ef'#EfOOQ!0Lb'#J|'#J|OCqQ!0MSO'#EgOC{QpO'#EWOOQO'#Jw'#JwODaQpO'#JxOEnQpO'#EWOC{QpO'#EgPE{O&2DjO'#CbPOOO)CD|)CD|OOOO'#I_'#I_OFWO#tO,59UOOQ!0Lh,59U,59UOOOO'#I`'#I`OFfO&jO,59UOFtQ!L^O'#DcOOOO'#Ib'#IbOF{O#@ItO,59{OOQ!0Lf,59{,59{OGZQlO'#IcOGnQ`O'#JsOImQ!fO'#JsO+}QlO'#JsOItQ`O,5:ROJ[Q`O'#EpOJiQ`O'#KSOJtQ`O'#KROJtQ`O'#KROJ|Q`O,5;^OKRQ`O'#KQOOQ!0Ln,5:^,5:^OKYQlO,5:^OMWQ!0MxO,5:fOMwQ`O,5:nONbQ!0LrO'#KPONiQ`O'#KOO9aQ`O'#KOON}Q`O'#KOO! VQ`O,5;]O! [Q`O'#KOO!#aQ!fO'#JrOOQ!0Lh'#Ci'#CiO%[QlO'#ESO!$PQ!fO,5:sOOQS'#Jy'#JyOOQO-E<i-E<iO9gQ`O,5=_O!$gQ`O,5=_O!$lQlO,5;ZO!&oQMhO'#EkO!(YQ`O,5;ZO!(_QlO'#DyO!(iQpO,5;dO!(qQpO,5;dO%[QlO,5;dOOQ['#FT'#FTOOQ['#FV'#FVO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eOOQ['#FZ'#FZO!)PQlO,5;tOOQ!0Lf,5;y,5;yOOQ!0Lf,5;z,5;zOOQ!0Lf,5;|,5;|O%[QlO'#IoO!+SQ!0LrO,5<iO%[QlO,5;eO!&oQMhO,5;eO!+qQMhO,5;eO!-cQMhO'#E^O%[QlO,5;wOOQ!0Lf,5;{,5;{O!-jQ,UO'#FjO!.gQ,UO'#KWO!.RQ,UO'#KWO!.nQ,UO'#KWOOQO'#KW'#KWO!/SQ,UO,5<SOOOW,5<`,5<`O!/eQlO'#FvOOOW'#In'#InO7VO7dO,5<QO!/lQ,UO'#FxOOQ!0Lf,5<Q,5<QO!0]Q$IUO'#CyOOQ!0Lh'#C}'#C}O!0pO#@ItO'#DRO!1^QMjO,5<eO!1eQ`O,5<hO!3QQ(CWO'#GXO!3_Q`O'#GYO!3dQ`O'#GYO!5SQ(CWO'#G^O!6XQpO'#GbOOQO'#Gn'#GnO!+xQMhO'#GmOOQO'#Gp'#GpO!+xQMhO'#GoO!6zQ$IUO'#JkOOQ!0Lh'#Jk'#JkO!7UQ`O'#JjO!7dQ`O'#JiO!7lQ`O'#CuOOQ!0Lh'#C{'#C{O!7}Q`O'#C}OOQ!0Lh'#DV'#DVOOQ!0Lh'#DX'#DXO1SQ`O'#DZO!+xQMhO'#GPO!+xQMhO'#GRO!8SQ`O'#GTO!8XQ`O'#GUO!3dQ`O'#G[O!+xQMhO'#GaO<QQ`O'#JjO!8^Q`O'#EqO!8{Q`O,5<gOOQ!0Lb'#Cr'#CrO!9TQ`O'#ErO!9}QpO'#EsOOQ!0Lb'#KQ'#KQO!:UQ!0LrO'#K`O9qQ!0LrO,5=cO`QlO,5>sOOQ['#Jg'#JgOOQ[,5>t,5>tOOQ[-E<[-E<[O!<TQ!0MxO,5:bO!9xQpO,5:`O!>nQ!0MxO,5:jO%[QlO,5:jO!AUQ!0MxO,5:lOOQO,5@y,5@yO!AuQMhO,5=_O!BTQ!0LrO'#JhO9[Q`O'#JhO!BfQ!0LrO,59ZO!BqQpO,59ZO!ByQMhO,59ZO:`QMhO,59ZO!CUQ`O,5;ZO!C^Q`O'#HaO!CrQ`O'#KcO%[QlO,5;}O!9xQpO,5<PO!CzQ`O,5=zO!DPQ`O,5=zO!DUQ`O,5=zO9qQ!0LrO,5=zO<QQ`O,5=jOOQO'#Cy'#CyO!DdQpO,5=gO!DlQMhO,5=hO!DwQ`O,5=jO!D|Q!bO,5=mO!EUQ`O'#K_O>}Q`O'#HWO9gQ`O'#HYO!EZQ`O'#HYO:`QMhO'#H[O!E`Q`O'#H[OOQ[,5=p,5=pO!EeQ`O'#H]O!EvQ`O'#CoO!E{Q`O,59PO!FVQ`O,59PO!H[QlO,59POOQ[,59P,59PO!HlQ!0LrO,59PO%[QlO,59PO!JwQlO'#HdOOQ['#He'#HeOOQ['#Hf'#HfO`QlO,5=|O!K_Q`O,5=|O`QlO,5>SO`QlO,5>UO!KdQ`O,5>WO`QlO,5>YO!KiQ`O,5>]O!KnQlO,5>cOOQ[,5>i,5>iO%[QlO,5>iO9qQ!0LrO,5>kOOQ[,5>m,5>mO# xQ`O,5>mOOQ[,5>o,5>oO# xQ`O,5>oOOQ[,5>q,5>qO#!fQpO'#D_O%[QlO'#JuO##XQpO'#JuO##cQpO'#DmO##tQpO'#DmO#&VQlO'#DmO#&^Q`O'#JtO#&fQ`O,5:WO#&kQ`O'#EtO#&yQ`O'#KTO#'RQ`O,5;_O#'WQpO'#DmO#'eQpO'#EVOOQ!0Lf,5:o,5:oO%[QlO,5:oO#'lQ`O,5:oO>}Q`O,5;YO!BqQpO,5;YO!ByQMhO,5;YO:`QMhO,5;YO#'tQ`O,5@aO#'yQ07dO,5:sOOQO-E<e-E<eO#)PQ!0MSO,5;ROC{QpO,5:rO#)ZQpO,5:rOC{QpO,5;RO!BfQ!0LrO,5:rOOQ!0Lb'#Ej'#EjOOQO,5;R,5;RO%[QlO,5;RO#)hQ!0LrO,5;RO#)sQ!0LrO,5;RO!BqQpO,5:rOOQO,5;X,5;XO#*RQ!0LrO,5;RPOOO'#I]'#I]P#*gO&2DjO,58|POOO,58|,58|OOOO-E<]-E<]OOQ!0Lh1G.p1G.pOOOO-E<^-E<^OOOO,59},59}O#*rQ!bO,59}OOOO-E<`-E<`OOQ!0Lf1G/g1G/gO#*wQ!fO,5>}O+}QlO,5>}OOQO,5?T,5?TO#+RQlO'#IcOOQO-E<a-E<aO#+`Q`O,5@_O#+hQ!fO,5@_O#+oQ`O,5@mOOQ!0Lf1G/m1G/mO%[QlO,5@nO#+wQ`O'#IiOOQO-E<g-E<gO#+oQ`O,5@mOOQ!0Lb1G0x1G0xOOQ!0Ln1G/x1G/xOOQ!0Ln1G0Y1G0YO%[QlO,5@kO#,]Q!0LrO,5@kO#,nQ!0LrO,5@kO#,uQ`O,5@jO9aQ`O,5@jO#,}Q`O,5@jO#-]Q`O'#IlO#,uQ`O,5@jOOQ!0Lb1G0w1G0wO!(iQpO,5:uO!(tQpO,5:uOOQS,5:w,5:wO#-}QdO,5:wO#.VQMhO1G2yO9gQ`O1G2yOOQ!0Lf1G0u1G0uO#.eQ!0MxO1G0uO#/jQ!0MvO,5;VOOQ!0Lh'#GW'#GWO#0WQ!0MzO'#JkO!$lQlO1G0uO#2cQ!fO'#JvO%[QlO'#JvO#2mQ`O,5:eOOQ!0Lh'#D_'#D_OOQ!0Lf1G1O1G1OO%[QlO1G1OOOQ!0Lf1G1f1G1fO#2rQ`O1G1OO#5WQ!0MxO1G1PO#5_Q!0MxO1G1PO#7uQ!0MxO1G1PO#7|Q!0MxO1G1PO#:dQ!0MxO1G1PO#<zQ!0MxO1G1PO#=RQ!0MxO1G1PO#=YQ!0MxO1G1PO#?pQ!0MxO1G1PO#?wQ!0MxO1G1PO#BUQ?MtO'#CiO#DPQ?MtO1G1`O#DWQ?MtO'#JrO#DkQ!0MxO,5?ZOOQ!0Lb-E<m-E<mO#FxQ!0MxO1G1PO#GuQ!0MzO1G1POOQ!0Lf1G1P1G1PO#HxQMjO'#J{O#ISQ`O,5:xO#IXQ!0MxO1G1cO#I{Q,UO,5<WO#JTQ,UO,5<XO#J]Q,UO'#FoO#JtQ`O'#FnOOQO'#KX'#KXOOQO'#Im'#ImO#JyQ,UO1G1nOOQ!0Lf1G1n1G1nOOOW1G1y1G1yO#K[Q?MtO'#JqO#KfQ`O,5<bO!)PQlO,5<bOOOW-E<l-E<lOOQ!0Lf1G1l1G1lO#KkQpO'#KWOOQ!0Lf,5<d,5<dO#KsQpO,5<dO#KxQMhO'#DTOOOO'#Ia'#IaO#LPO#@ItO,59mOOQ!0Lh,59m,59mO%[QlO1G2PO!8XQ`O'#IqO#L[Q`O,5<zOOQ!0Lh,5<w,5<wO!+xQMhO'#ItO#LxQMjO,5=XO!+xQMhO'#IvO#MkQMjO,5=ZO!&oQMhO,5=]OOQO1G2S1G2SO#MuQ!dO'#CrO#NYQ(CWO'#ErO$ _QpO'#GbO$ uQ!dO,5<sO$ |Q`O'#KZO9aQ`O'#KZO$![Q`O,5<uO!+xQMhO,5<tO$!aQ`O'#GZO$!rQ`O,5<tO$!wQ!dO'#GWO$#UQ!dO'#K[O$#`Q`O'#K[O!&oQMhO'#K[O$#eQ`O,5<xO$#jQlO'#JuO$#tQpO'#GcO##tQpO'#GcO$$VQ`O'#GgO!3dQ`O'#GkO$$[Q!0LrO'#IsO$$gQpO,5<|OOQ!0Lp,5<|,5<|O$$nQpO'#GcO$${QpO'#GdO$%^QpO'#GdO$%cQMjO,5=XO$%sQMjO,5=ZOOQ!0Lh,5=^,5=^O!+xQMhO,5@UO!+xQMhO,5@UO$&TQ`O'#IxO$&iQ`O,5@TO$&qQ`O,59aOOQ!0Lh,59i,59iO$'hQ$IYO,59uOOQ!0Lh'#Jo'#JoO$(ZQMjO,5<kO$(|QMjO,5<mO@oQ`O,5<oOOQ!0Lh,5<p,5<pO$)WQ`O,5<vO$)]QMjO,5<{O$)mQ`O,5@UO$){Q`O'#KOO!$lQlO1G2RO$*QQ`O1G2RO9aQ`O'#KRO9aQ`O'#EtO%[QlO'#EtO9aQ`O'#IzO$*VQ!0LrO,5@zOOQ[1G2}1G2}OOQ[1G4_1G4_OOQ!0Lf1G/|1G/|OOQ!0Lf1G/z1G/zO$,XQ!0MxO1G0UOOQ[1G2y1G2yO!&oQMhO1G2yO%[QlO1G2yO#.YQ`O1G2yO$.]QMhO'#EkOOQ!0Lb,5@S,5@SO$.jQ!0LrO,5@SOOQ[1G.u1G.uO!BfQ!0LrO1G.uO!BqQpO1G.uO!ByQMhO1G.uO$.{Q`O1G0uO$/QQ`O'#CiO$/]Q`O'#KdO$/eQ`O,5={O$/jQ`O'#KdO$/oQ`O'#KdO$/}Q`O'#JQO$0]Q`O,5@}O$0eQ!fO1G1iOOQ!0Lf1G1k1G1kO9gQ`O1G3fO@oQ`O1G3fO$0lQ`O1G3fO$0qQ`O1G3fOOQ[1G3f1G3fO!DwQ`O1G3UO!&oQMhO1G3RO$0vQ`O1G3ROOQ[1G3S1G3SO!&oQMhO1G3SO$0{Q`O1G3SO$1TQpO'#HQOOQ[1G3U1G3UO!6SQpO'#I|O!D|Q!bO1G3XOOQ[1G3X1G3XOOQ[,5=r,5=rO$1]QMhO,5=tO9gQ`O,5=tO$$VQ`O,5=vO9[Q`O,5=vO!BqQpO,5=vO!ByQMhO,5=vO:`QMhO,5=vO$1kQ`O'#KbO$1vQ`O,5=wOOQ[1G.k1G.kO$1{Q!0LrO1G.kO@oQ`O1G.kO$2WQ`O1G.kO9qQ!0LrO1G.kO$4`Q!fO,5APO$4mQ`O,5APO9aQ`O,5APO$4xQlO,5>OO$5PQ`O,5>OOOQ[1G3h1G3hO`QlO1G3hOOQ[1G3n1G3nOOQ[1G3p1G3pO>xQ`O1G3rO$5UQlO1G3tO$9YQlO'#HsOOQ[1G3w1G3wO$9gQ`O'#HyO>}Q`O'#H{OOQ[1G3}1G3}O$9oQlO1G3}O9qQ!0LrO1G4TOOQ[1G4V1G4VOOQ!0Lb'#G_'#G_O9qQ!0LrO1G4XO9qQ!0LrO1G4ZO$=vQ`O,5@aO!)PQlO,5;`O9aQ`O,5;`O>}Q`O,5:XO!)PQlO,5:XO!BqQpO,5:XO$={Q?MtO,5:XOOQO,5;`,5;`O$>VQpO'#IdO$>mQ`O,5@`OOQ!0Lf1G/r1G/rO$>uQpO'#IjO$?PQ`O,5@oOOQ!0Lb1G0y1G0yO##tQpO,5:XOOQO'#If'#IfO$?XQpO,5:qOOQ!0Ln,5:q,5:qO#'oQ`O1G0ZOOQ!0Lf1G0Z1G0ZO%[QlO1G0ZOOQ!0Lf1G0t1G0tO>}Q`O1G0tO!BqQpO1G0tO!ByQMhO1G0tOOQ!0Lb1G5{1G5{O!BfQ!0LrO1G0^OOQO1G0m1G0mO%[QlO1G0mO$?`Q!0LrO1G0mO$?kQ!0LrO1G0mO!BqQpO1G0^OC{QpO1G0^O$?yQ!0LrO1G0mOOQO1G0^1G0^O$@_Q!0MxO1G0mPOOO-E<Z-E<ZPOOO1G.h1G.hOOOO1G/i1G/iO$@iQ!bO,5<iO$@qQ!fO1G4iOOQO1G4o1G4oO%[QlO,5>}O$@{Q`O1G5yO$ATQ`O1G6XO$A]Q!fO1G6YO9aQ`O,5?TO$AgQ!0MxO1G6VO%[QlO1G6VO$AwQ!0LrO1G6VO$BYQ`O1G6UO$BYQ`O1G6UO9aQ`O1G6UO$BbQ`O,5?WO9aQ`O,5?WOOQO,5?W,5?WO$BvQ`O,5?WO$){Q`O,5?WOOQO-E<j-E<jOOQS1G0a1G0aOOQS1G0c1G0cO#.QQ`O1G0cOOQ[7+(e7+(eO!&oQMhO7+(eO%[QlO7+(eO$CUQ`O7+(eO$CaQMhO7+(eO$CoQ!0MzO,5=XO$EzQ!0MzO,5=ZO$HVQ!0MzO,5=XO$JhQ!0MzO,5=ZO$LyQ!0MzO,59uO% OQ!0MzO,5<kO%#ZQ!0MzO,5<mO%%fQ!0MzO,5<{OOQ!0Lf7+&a7+&aO%'wQ!0MxO7+&aO%(kQlO'#IeO%(xQ`O,5@bO%)QQ!fO,5@bOOQ!0Lf1G0P1G0PO%)[Q`O7+&jOOQ!0Lf7+&j7+&jO%)aQ?MtO,5:fO%[QlO7+&zO%)kQ?MtO,5:bO%)xQ?MtO,5:jO%*SQ?MtO,5:lO%*^QMhO'#IhO%*hQ`O,5@gOOQ!0Lh1G0d1G0dOOQO1G1r1G1rOOQO1G1s1G1sO%*pQ!jO,5<ZO!)PQlO,5<YOOQO-E<k-E<kOOQ!0Lf7+'Y7+'YOOOW7+'e7+'eOOOW1G1|1G1|O%*{Q`O1G1|OOQ!0Lf1G2O1G2OOOOO,59o,59oO%+QQ!dO,59oOOOO-E<_-E<_OOQ!0Lh1G/X1G/XO%+XQ!0MxO7+'kOOQ!0Lh,5?],5?]O%+{QMhO1G2fP%,SQ`O'#IqPOQ!0Lh-E<o-E<oO%,pQMjO,5?`OOQ!0Lh-E<r-E<rO%-cQMjO,5?bOOQ!0Lh-E<t-E<tO%-mQ!dO1G2wO%-tQ!dO'#CrO%.[QMhO'#KRO$#jQlO'#JuOOQ!0Lh1G2_1G2_O%.cQ`O'#IpO%.wQ`O,5@uO%.wQ`O,5@uO%/PQ`O,5@uO%/[Q`O,5@uOOQO1G2a1G2aO%/jQMjO1G2`O!+xQMhO1G2`O%/zQ(CWO'#IrO%0XQ`O,5@vO!&oQMhO,5@vO%0aQ!dO,5@vOOQ!0Lh1G2d1G2dO%2qQ!fO'#CiO%2{Q`O,5=POOQ!0Lb,5<},5<}O%3TQpO,5<}OOQ!0Lb,5=O,5=OOClQ`O,5<}O%3`QpO,5<}OOQ!0Lb,5=R,5=RO$){Q`O,5=VOOQO,5?_,5?_OOQO-E<q-E<qOOQ!0Lp1G2h1G2hO##tQpO,5<}O$#jQlO,5=PO%3nQ`O,5=OO%3yQpO,5=OO!+xQMhO'#ItO%4sQMjO1G2sO!+xQMhO'#IvO%5fQMjO1G2uO%5pQMjO1G5pO%5zQMjO1G5pOOQO,5?d,5?dOOQO-E<v-E<vOOQO1G.{1G.{O!9xQpO,59wO%[QlO,59wOOQ!0Lh,5<j,5<jO%6XQ`O1G2ZO!+xQMhO1G2bO!+xQMhO1G5pO!+xQMhO1G5pO%6^Q!0MxO7+'mOOQ!0Lf7+'m7+'mO!$lQlO7+'mO%7QQ`O,5;`OOQ!0Lb,5?f,5?fOOQ!0Lb-E<x-E<xO%7VQ!dO'#K]O#'oQ`O7+(eO4UQ!fO7+(eO$CXQ`O7+(eO%7aQ!0MvO'#CiO%7tQ!0MvO,5=SO%8fQ`O,5=SO%8nQ`O,5=SOOQ!0Lb1G5n1G5nOOQ[7+$a7+$aO!BfQ!0LrO7+$aO!BqQpO7+$aO!$lQlO7+&aO%8sQ`O'#JPO%9[Q`O,5AOOOQO1G3g1G3gO9gQ`O,5AOO%9[Q`O,5AOO%9dQ`O,5AOOOQO,5?l,5?lOOQO-E=O-E=OOOQ!0Lf7+'T7+'TO%9iQ`O7+)QO9qQ!0LrO7+)QO9gQ`O7+)QO@oQ`O7+)QOOQ[7+(p7+(pO%9nQ!0MvO7+(mO!&oQMhO7+(mO!DrQ`O7+(nOOQ[7+(n7+(nO!&oQMhO7+(nO%9xQ`O'#KaO%:TQ`O,5=lOOQO,5?h,5?hOOQO-E<z-E<zOOQ[7+(s7+(sO%;gQpO'#HZOOQ[1G3`1G3`O!&oQMhO1G3`O%[QlO1G3`O%;nQ`O1G3`O%;yQMhO1G3`O9qQ!0LrO1G3bO$$VQ`O1G3bO9[Q`O1G3bO!BqQpO1G3bO!ByQMhO1G3bO%<XQ`O'#JOO%<mQ`O,5@|O%<uQpO,5@|OOQ!0Lb1G3c1G3cOOQ[7+$V7+$VO@oQ`O7+$VO9qQ!0LrO7+$VO%=QQ`O7+$VO%[QlO1G6kO%[QlO1G6lO%=VQ!0LrO1G6kO%=aQlO1G3jO%=hQ`O1G3jO%=mQlO1G3jOOQ[7+)S7+)SO9qQ!0LrO7+)^O`QlO7+)`OOQ['#Kg'#KgOOQ['#JR'#JRO%=tQlO,5>_OOQ[,5>_,5>_O%[QlO'#HtO%>RQ`O'#HvOOQ[,5>e,5>eO9aQ`O,5>eOOQ[,5>g,5>gOOQ[7+)i7+)iOOQ[7+)o7+)oOOQ[7+)s7+)sOOQ[7+)u7+)uO%>WQpO1G5{O%>rQ?MtO1G0zO%>|Q`O1G0zOOQO1G/s1G/sO%?XQ?MtO1G/sO>}Q`O1G/sO!)PQlO'#DmOOQO,5?O,5?OOOQO-E<b-E<bOOQO,5?U,5?UOOQO-E<h-E<hO!BqQpO1G/sOOQO-E<d-E<dOOQ!0Ln1G0]1G0]OOQ!0Lf7+%u7+%uO#'oQ`O7+%uOOQ!0Lf7+&`7+&`O>}Q`O7+&`O!BqQpO7+&`OOQO7+%x7+%xO$@_Q!0MxO7+&XOOQO7+&X7+&XO%[QlO7+&XO%?cQ!0LrO7+&XO!BfQ!0LrO7+%xO!BqQpO7+%xO%?nQ!0LrO7+&XO%?|Q!0MxO7++qO%[QlO7++qO%@^Q`O7++pO%@^Q`O7++pOOQO1G4r1G4rO9aQ`O1G4rO%@fQ`O1G4rOOQS7+%}7+%}O#'oQ`O<<LPO4UQ!fO<<LPO%@tQ`O<<LPOOQ[<<LP<<LPO!&oQMhO<<LPO%[QlO<<LPO%@|Q`O<<LPO%AXQ!0MzO,5?`O%CdQ!0MzO,5?bO%EoQ!0MzO1G2`O%HQQ!0MzO1G2sO%J]Q!0MzO1G2uO%LhQ!fO,5?PO%[QlO,5?POOQO-E<c-E<cO%LrQ`O1G5|OOQ!0Lf<<JU<<JUO%LzQ?MtO1G0uO& RQ?MtO1G1PO& YQ?MtO1G1PO&#ZQ?MtO1G1PO&#bQ?MtO1G1PO&%cQ?MtO1G1PO&'dQ?MtO1G1PO&'kQ?MtO1G1PO&'rQ?MtO1G1PO&)sQ?MtO1G1PO&)zQ?MtO1G1PO&*RQ!0MxO<<JfO&+yQ?MtO1G1PO&,vQ?MvO1G1PO&-yQ?MvO'#JkO&0PQ?MtO1G1cO&0^Q?MtO1G0UO&0hQMjO,5?SOOQO-E<f-E<fO!)PQlO'#FqOOQO'#KY'#KYOOQO1G1u1G1uO&0rQ`O1G1tO&0wQ?MtO,5?ZOOOW7+'h7+'hOOOO1G/Z1G/ZO&1RQ!dO1G4wOOQ!0Lh7+(Q7+(QP!&oQMhO,5?]O!+xQMhO7+(cO&1YQ`O,5?[O9aQ`O,5?[OOQO-E<n-E<nO&1hQ`O1G6aO&1hQ`O1G6aO&1pQ`O1G6aO&1{QMjO7+'zO&2]Q!dO,5?^O&2gQ`O,5?^O!&oQMhO,5?^OOQO-E<p-E<pO&2lQ!dO1G6bO&2vQ`O1G6bO&3OQ`O1G2kO!&oQMhO1G2kOOQ!0Lb1G2i1G2iOOQ!0Lb1G2j1G2jO%3TQpO1G2iO!BqQpO1G2iOClQ`O1G2iOOQ!0Lb1G2q1G2qO&3TQpO1G2iO&3cQ`O1G2kO$){Q`O1G2jOClQ`O1G2jO$#jQlO1G2kO&3kQ`O1G2jO&4_QMjO,5?`OOQ!0Lh-E<s-E<sO&5QQMjO,5?bOOQ!0Lh-E<u-E<uO!+xQMhO7++[OOQ!0Lh1G/c1G/cO&5[Q`O1G/cOOQ!0Lh7+'u7+'uO&5aQMjO7+'|O&5qQMjO7++[O&5{QMjO7++[O&6YQ!0MxO<<KXOOQ!0Lf<<KX<<KXO&6|Q`O1G0zO!&oQMhO'#IyO&7RQ`O,5@wO&9TQ!fO<<LPO!&oQMhO1G2nO&9[Q!0LrO1G2nOOQ[<<G{<<G{O!BfQ!0LrO<<G{O&9mQ!0MxO<<I{OOQ!0Lf<<I{<<I{OOQO,5?k,5?kO&:aQ`O,5?kO&:fQ`O,5?kOOQO-E<}-E<}O&:tQ`O1G6jO&:tQ`O1G6jO9gQ`O1G6jO@oQ`O<<LlOOQ[<<Ll<<LlO&:|Q`O<<LlO9qQ!0LrO<<LlOOQ[<<LX<<LXO%9nQ!0MvO<<LXOOQ[<<LY<<LYO!DrQ`O<<LYO&;RQpO'#I{O&;^Q`O,5@{O!)PQlO,5@{OOQ[1G3W1G3WOOQO'#I}'#I}O9qQ!0LrO'#I}O&;fQpO,5=uOOQ[,5=u,5=uO&;mQpO'#EgO&;tQpO'#GeO&;yQ`O7+(zO&<OQ`O7+(zOOQ[7+(z7+(zO!&oQMhO7+(zO%[QlO7+(zO&<WQ`O7+(zOOQ[7+(|7+(|O9qQ!0LrO7+(|O$$VQ`O7+(|O9[Q`O7+(|O!BqQpO7+(|O&<cQ`O,5?jOOQO-E<|-E<|OOQO'#H^'#H^O&<nQ`O1G6hO9qQ!0LrO<<GqOOQ[<<Gq<<GqO@oQ`O<<GqO&<vQ`O7+,VO&<{Q`O7+,WO%[QlO7+,VO%[QlO7+,WOOQ[7+)U7+)UO&=QQ`O7+)UO&=VQlO7+)UO&=^Q`O7+)UOOQ[<<Lx<<LxOOQ[<<Lz<<LzOOQ[-E=P-E=POOQ[1G3y1G3yO&=cQ`O,5>`OOQ[,5>b,5>bO&=hQ`O1G4PO9aQ`O7+&fO!)PQlO7+&fOOQO7+%_7+%_O&=mQ?MtO1G6YO>}Q`O7+%_OOQ!0Lf<<Ia<<IaOOQ!0Lf<<Iz<<IzO>}Q`O<<IzOOQO<<Is<<IsO$@_Q!0MxO<<IsO%[QlO<<IsOOQO<<Id<<IdO!BfQ!0LrO<<IdO&=wQ!0LrO<<IsO&>SQ!0MxO<= ]O&>dQ`O<= [OOQO7+*^7+*^O9aQ`O7+*^OOQ[ANAkANAkO&>lQ!fOANAkO!&oQMhOANAkO#'oQ`OANAkO4UQ!fOANAkO&>sQ`OANAkO%[QlOANAkO&>{Q!0MzO7+'zO&A^Q!0MzO,5?`O&CiQ!0MzO,5?bO&EtQ!0MzO7+'|O&HVQ!fO1G4kO&HaQ?MtO7+&aO&JeQ?MvO,5=XO&LlQ?MvO,5=ZO&L|Q?MvO,5=XO&M^Q?MvO,5=ZO&MnQ?MvO,59uO' tQ?MvO,5<kO'#wQ?MvO,5<mO'&]Q?MvO,5<{O'(RQ?MtO7+'kO'(`Q?MtO7+'mO'(mQ`O,5<]OOQO7+'`7+'`OOQ!0Lh7+*c7+*cO'(rQMjO<<K}OOQO1G4v1G4vO'(yQ`O1G4vO')UQ`O1G4vO')dQ`O7++{O')dQ`O7++{O!&oQMhO1G4xO')lQ!dO1G4xO')vQ`O7++|O'*OQ`O7+(VO'*ZQ!dO7+(VOOQ!0Lb7+(T7+(TOOQ!0Lb7+(U7+(UO!BqQpO7+(TOClQ`O7+(TO'*eQ`O7+(VO!&oQMhO7+(VO$){Q`O7+(UO'*jQ`O7+(VOClQ`O7+(UO'*rQMjO<<NvOOQ!0Lh7+$}7+$}O!+xQMhO<<NvO'*|Q!dO,5?eOOQO-E<w-E<wO'+WQ!0MvO7+(YO!&oQMhO7+(YOOQ[AN=gAN=gO9gQ`O1G5VOOQO1G5V1G5VO'+hQ`O1G5VO'+mQ`O7+,UO'+mQ`O7+,UO9qQ!0LrOANBWO@oQ`OANBWOOQ[ANBWANBWOOQ[ANAsANAsOOQ[ANAtANAtO'+uQ`O,5?gOOQO-E<y-E<yO',QQ?MtO1G6gOOQO,5?i,5?iOOQO-E<{-E<{OOQ[1G3a1G3aO',[Q`O,5=POOQ[<<Lf<<LfO!&oQMhO<<LfO&;yQ`O<<LfO',aQ`O<<LfO%[QlO<<LfOOQ[<<Lh<<LhO9qQ!0LrO<<LhO$$VQ`O<<LhO9[Q`O<<LhO',iQpO1G5UO',tQ`O7+,SOOQ[AN=]AN=]O9qQ!0LrOAN=]OOQ[<= q<= qOOQ[<= r<= rO',|Q`O<= qO'-RQ`O<= rOOQ[<<Lp<<LpO'-WQ`O<<LpO'-]QlO<<LpOOQ[1G3z1G3zO>}Q`O7+)kO'-dQ`O<<JQO'-oQ?MtO<<JQOOQO<<Hy<<HyOOQ!0LfAN?fAN?fOOQOAN?_AN?_O$@_Q!0MxOAN?_OOQOAN?OAN?OO%[QlOAN?_OOQO<<Mx<<MxOOQ[G27VG27VO!&oQMhOG27VO#'oQ`OG27VO'-yQ!fOG27VO4UQ!fOG27VO'.QQ`OG27VO'.YQ?MtO<<JfO'.gQ?MvO1G2`O'0]Q?MvO,5?`O'2`Q?MvO,5?bO'4cQ?MvO1G2sO'6fQ?MvO1G2uO'8iQ?MtO<<KXO'8vQ?MtO<<I{OOQO1G1w1G1wO!+xQMhOANAiOOQO7+*b7+*bO'9TQ`O7+*bO'9`Q`O<= gO'9hQ!dO7+*dOOQ!0Lb<<Kq<<KqO$){Q`O<<KqOClQ`O<<KqO'9rQ`O<<KqO!&oQMhO<<KqOOQ!0Lb<<Ko<<KoO!BqQpO<<KoO'9}Q!dO<<KqOOQ!0Lb<<Kp<<KpO':XQ`O<<KqO!&oQMhO<<KqO$){Q`O<<KpO':^QMjOANDbO':hQ!0MvO<<KtOOQO7+*q7+*qO9gQ`O7+*qO':xQ`O<= pOOQ[G27rG27rO9qQ!0LrOG27rO!)PQlO1G5RO';QQ`O7+,RO';YQ`O1G2kO&;yQ`OANBQOOQ[ANBQANBQO!&oQMhOANBQO';_Q`OANBQOOQ[ANBSANBSO9qQ!0LrOANBSO$$VQ`OANBSOOQO'#H_'#H_OOQO7+*p7+*pOOQ[G22wG22wOOQ[ANE]ANE]OOQ[ANE^ANE^OOQ[ANB[ANB[O';gQ`OANB[OOQ[<<MV<<MVO!)PQlOAN?lOOQOG24yG24yO$@_Q!0MxOG24yO#'oQ`OLD,qOOQ[LD,qLD,qO!&oQMhOLD,qO';lQ!fOLD,qO';sQ?MvO7+'zO'=iQ?MvO,5?`O'?lQ?MvO,5?bO'AoQ?MvO7+'|O'CeQMjOG27TOOQO<<M|<<M|OOQ!0LbANA]ANA]O$){Q`OANA]OClQ`OANA]O'CuQ!dOANA]OOQ!0LbANAZANAZO'C|Q`OANA]O!&oQMhOANA]O'DXQ!dOANA]OOQ!0LbANA[ANA[OOQO<<N]<<N]OOQ[LD-^LD-^O'DcQ?MtO7+*mOOQO'#Gf'#GfOOQ[G27lG27lO&;yQ`OG27lO!&oQMhOG27lOOQ[G27nG27nO9qQ!0LrOG27nOOQ[G27vG27vO'DmQ?MtOG25WOOQOLD*eLD*eOOQ[!$(!]!$(!]O#'oQ`O!$(!]O!&oQMhO!$(!]O'DwQ!0MzOG27TOOQ!0LbG26wG26wO$){Q`OG26wO'GYQ`OG26wOClQ`OG26wO'GeQ!dOG26wO!&oQMhOG26wOOQ[LD-WLD-WO&;yQ`OLD-WOOQ[LD-YLD-YOOQ[!)9Ew!)9EwO#'oQ`O!)9EwOOQ!0LbLD,cLD,cO$){Q`OLD,cOClQ`OLD,cO'GlQ`OLD,cO'GwQ!dOLD,cOOQ[!$(!r!$(!rOOQ[!.K;c!.K;cO'HOQ?MvOG27TOOQ!0Lb!$( }!$( }O$){Q`O!$( }OClQ`O!$( }O'ItQ`O!$( }OOQ!0Lb!)9Ei!)9EiO$){Q`O!)9EiOClQ`O!)9EiOOQ!0Lb!.K;T!.K;TO$){Q`O!.K;TOOQ!0Lb!4/0o!4/0oO!)PQlO'#DzO1PQ`O'#EXO'JPQ!fO'#JqO'JWQ!L^O'#DvO'J_QlO'#EOO'JfQ!fO'#CiO'L|Q!fO'#CiO!)PQlO'#EQO'M^QlO,5;ZO!)PQlO,5;eO!)PQlO,5;eO!)PQlO,5;eO!)PQlO,5;eO!)PQlO,5;eO!)PQlO,5;eO!)PQlO,5;eO!)PQlO,5;eO!)PQlO,5;eO!)PQlO,5;eO!)PQlO'#IoO( aQ`O,5<iO!)PQlO,5;eO( iQMhO,5;eO(#SQMhO,5;eO!)PQlO,5;wO!&oQMhO'#GmO( iQMhO'#GmO!&oQMhO'#GoO( iQMhO'#GoO1SQ`O'#DZO1SQ`O'#DZO!&oQMhO'#GPO( iQMhO'#GPO!&oQMhO'#GRO( iQMhO'#GRO!&oQMhO'#GaO( iQMhO'#GaO!)PQlO,5:jO(#ZQpO'#D_O(#eQpO'#JuO!)PQlO,5@nO'M^QlO1G0uO(#oQ?MtO'#CiO!)PQlO1G2PO!&oQMhO'#ItO( iQMhO'#ItO!&oQMhO'#IvO( iQMhO'#IvO(#yQ!dO'#CrO!&oQMhO,5<tO( iQMhO,5<tO'M^QlO1G2RO!)PQlO7+&zO!&oQMhO1G2`O( iQMhO1G2`O!&oQMhO'#ItO( iQMhO'#ItO!&oQMhO'#IvO( iQMhO'#IvO!&oQMhO1G2bO( iQMhO1G2bO'M^QlO7+'mO'M^QlO7+&aO!&oQMhOANAiO( iQMhOANAiO($^Q`O'#EoO($cQ`O'#EoO($kQ`O'#F]O($pQ`O'#EyO($uQ`O'#KSO(%QQ`O'#KQO(%]Q`O,5;ZO(%bQMjO,5<eO(%iQ`O'#GYO(%nQ`O'#GYO(%sQ`O,5<gO(%{Q`O,5;ZO(&TQ?MtO1G1`O(&[Q`O,5<tO(&aQ`O,5<tO(&fQ`O,5<vO(&kQ`O,5<vO(&pQ`O1G2RO(&uQ`O1G0uO(&zQMjO<<K}O('RQMjO<<K}O7eQMhO'#F|O9[Q`O'#F{OAjQ`O'#EnO!)PQlO,5;tO!3dQ`O'#GYO!3dQ`O'#GYO!3dQ`O'#G[O!3dQ`O'#G[O!+xQMhO7+(cO!+xQMhO7+(cO%-mQ!dO1G2wO%-mQ!dO1G2wO!&oQMhO,5=]O!&oQMhO,5=]",stateData:"((X~O'{OS'|OSTOS'}RQ~OPYOQYOSfOY!VOaqOdzOeyOl!POpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!uwO!xxO!|]O$W|O$niO%h}O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO&V!WO&]!XO&_!YO&a!ZO&c![O&f!]O&l!^O&r!_O&t!`O&v!aO&x!bO&z!cO(SSO(UTO(XUO(`VO(n[O~OWtO~P`OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(S!dO(UTO(XUO(`VO(n[O~Oa!wOs!nO!S!oO!b!yO!c!vO!d!vO!|;wO#T!pO#U!pO#V!xO#W!pO#X!pO#[!zO#]!zO(T!lO(UTO(XUO(d!mO(n!sO~O'}!{O~OP]XR]X[]Xa]Xj]Xr]X!Q]X!S]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X'y]X(`]X(q]X(x]X(y]X~O!g%RX~P(qO_!}O(U#PO(V!}O(W#PO~O_#QO(W#PO(X#PO(Y#QO~Ox#SO!U#TO(a#TO(b#VO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(S;{O(UTO(XUO(`VO(n[O~O![#ZO!]#WO!Y(gP!Y(uP~P+}O!^#cO~P`OPYOQYOSfOd!jOe!iOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(UTO(XUO(`VO(n[O~Op#mO![#iO!|]O#i#lO#j#iO(S;|O!k(rP~P.iO!l#oO(S#nO~O!x#sO!|]O%h#tO~O#k#uO~O!g#vO#k#uO~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!]$_O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(`VO(q$YO(x#|O(y#}O~Oa(eX'y(eX'v(eX!k(eX!Y(eX!_(eX%i(eX!g(eX~P1qO#S$dO#`$eO$Q$eOP(fXR(fX[(fXj(fXr(fX!Q(fX!S(fX!](fX!l(fX!p(fX#R(fX#n(fX#o(fX#p(fX#q(fX#r(fX#s(fX#t(fX#u(fX#v(fX#x(fX#z(fX#{(fX(`(fX(q(fX(x(fX(y(fX!_(fX%i(fX~Oa(fX'y(fX'v(fX!Y(fX!k(fXv(fX!g(fX~P4UO#`$eO~O$]$hO$_$gO$f$mO~OSfO!_$nO$i$oO$k$qO~Oh%VOj%cOk%cOl%cOp%WOr%XOs$tOt$tOz%YO|%ZO!O%[O!S${O!_$|O!i%aO!l$xO#j%bO$W%_O$t%]O$v%^O$y%`O(S$sO(UTO(XUO(`$uO(x$}O(y%POg(]P~O!l%dO~O!S%gO!_%hO(S%fO~O!g%lO~Oa%mO'y%mO~O!Q%qO~P%[O(T!lO~P%[O%n%uO~P%[Oh%VO!l%dO(S%fO(T!lO~Oe%|O!l%dO(S%fO~Oj$RO~O!Q&RO!_&OO!l&QO%j&UO(S%fO(T!lO(UTO(XUO`)VP~O!x#sO~O%s&WO!S)RX!_)RX(S)RX~O(S&XO~Ol!PO!u&^O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO~Od&cOe&bO!x&`O%h&aO%{&_O~P<VOd&fOeyOl!PO!_&eO!u&^O!xxO!|]O%h}O%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO~Ob&iO#`&lO%j&gO(T!lO~P=[O!l&mO!u&qO~O!l#oO~O!_XO~Oa%mO'w&yO'y%mO~Oa%mO'w&|O'y%mO~Oa%mO'w'OO'y%mO~O'v]X!Y]Xv]X!k]X&Z]X!_]X%i]X!g]X~P(qO!b']O!c'UO!d'UO(T!lO(UTO(XUO~Os'SO!S'RO!['VO(d'QO!^(hP!^(wP~P@cOn'`O!_'^O(S%fO~Oe'eO!l%dO(S%fO~O!Q&RO!l&QO~Os!nO!S!oO!|;wO#T!pO#U!pO#W!pO#X!pO(T!lO(UTO(XUO(d!mO(n!sO~O!b'kO!c'jO!d'jO#V!pO#['lO#]'lO~PA}Oa%mOh%VO!g#vO!l%dO'y%mO(q'nO~O!p'rO#`'pO~PC]Os!nO!S!oO(UTO(XUO(d!mO(n!sO~O!_XOs(lX!S(lX!b(lX!c(lX!d(lX!|(lX#T(lX#U(lX#V(lX#W(lX#X(lX#[(lX#](lX(T(lX(U(lX(X(lX(d(lX(n(lX~O!c'jO!d'jO(T!lO~PC{O(O'vO(P'vO(Q'xO~O_!}O(U'zO(V!}O(W'zO~O_#QO(W'zO(X'zO(Y#QO~Ov'|O~P%[Ox#SO!U#TO(a#TO(b(PO~O![(RO!Y'VX!Y']X!]'VX!]']X~P+}O!](TO!Y(gX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!](TO!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(`VO(q$YO(x#|O(y#}O~O!Y(gX~PGvO!Y(YO~O!Y(tX!](tX!g(tX!k(tX(q(tX~O#`(tX#k#dX!^(tX~PIyO#`(ZO!Y(vX!](vX~O!]([O!Y(uX~O!Y(_O~O#`$eO~PIyO!^(`O~P`OR#zO!Q#yO!S#{O!l#xO(`VOP!na[!naj!nar!na!]!na!p!na#R!na#n!na#o!na#p!na#q!na#r!na#s!na#t!na#u!na#v!na#x!na#z!na#{!na(q!na(x!na(y!na~Oa!na'y!na'v!na!Y!na!k!nav!na!_!na%i!na!g!na~PKaO!k(aO~O!g#vO#`(bO(q'nO!](sXa(sX'y(sX~O!k(sX~PM|O!S%gO!_%hO!|]O#i(gO#j(fO(S%fO~O!](hO!k(rX~O!k(jO~O!S%gO!_%hO#j(fO(S%fO~OP(fXR(fX[(fXj(fXr(fX!Q(fX!S(fX!](fX!l(fX!p(fX#R(fX#n(fX#o(fX#p(fX#q(fX#r(fX#s(fX#t(fX#u(fX#v(fX#x(fX#z(fX#{(fX(`(fX(q(fX(x(fX(y(fX~O!g#vO!k(fX~P! jOR(lO!Q(kO!l#xO#S$dO!|!{a!S!{a~O!x!{a%h!{a!_!{a#i!{a#j!{a(S!{a~P!#kO!x(pO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(S!dO(UTO(XUO(`VO(n[O~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<eO!S${O!_$|O!i=vO!l$xO#j<kO$W%_O$t<gO$v<iO$y%`O(S(tO(UTO(XUO(`$uO(x$}O(y%PO~O#k(vO~O![(xO!k(jP~P%[O(d(zO(n[O~O!S(|O!l#xO(d(zO(n[O~OP;vOQ;vOSfOd=rOe!iOpkOr;vOskOtkOzkO|;vO!O;vO!SWO!WkO!XkO!_!eO!i;yO!lZO!o;vO!p;vO!q;vO!s;zO!u;}O!x!hO$W!kO$n=pO(S)ZO(UTO(XUO(`VO(n[O~O!]$_Oa$qa'y$qa'v$qa!k$qa!Y$qa!_$qa%i$qa!g$qa~Ol)bO~P!&oOh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O%[O!S${O!_$|O!i%aO!l$xO#j%bO$W%_O$t%]O$v%^O$y%`O(S(tO(UTO(XUO(`$uO(x$}O(y%PO~Og(oP~P!+xO!Q)gO!g)fO!_$^X$Z$^X$]$^X$_$^X$f$^X~O!g)fO!_(zX$Z(zX$](zX$_(zX$f(zX~O!Q)gO~P!.RO!Q)gO!_(zX$Z(zX$](zX$_(zX$f(zX~O!_)iO$Z)mO$])hO$_)hO$f)nO~O![)qO~P!)PO$]$hO$_$gO$f)uO~On$zX!Q$zX#S$zX'x$zX(x$zX(y$zX~OgmXg$zXnmX!]mX#`mX~P!/wOx)wO(a)xO(b)zO~On*TO!Q)|O'x)}O(x$}O(y%PO~Og){O~P!0{Og*UO~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<eO!S*WO!_*XO!i=vO!l$xO#j<kO$W%_O$t<gO$v<iO$y%`O(UTO(XUO(`$uO(x$}O(y%PO~O![*[O(S*VO!k(}P~P!1jO#k*^O~O!l*_O~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<eO!S${O!_$|O!i=vO!l$xO#j<kO$W%_O$t<gO$v<iO$y%`O(S*aO(UTO(XUO(`$uO(x$}O(y%PO~O![*dO!Y)OP~P!3iOr*pOs!nO!S*fO!b*nO!c*hO!d*hO!l*_O#[*oO%`*jO(T!lO(UTO(XUO(d!mO~O!^*mO~P!5^O#S$dOn(_X!Q(_X'x(_X(x(_X(y(_X!](_X#`(_X~Og(_X$O(_X~P!6`On*uO#`*tOg(^X!](^X~O!]*vOg(]X~Oj%cOk%cOl%cO(S&XOg(]P~Os*yO~O!l+OO~O(S(tO~Op+TO!S%gO![#iO!_%hO!|]O#i#lO#j#iO(S%fO!k(rP~O!g#vO#k+UO~O!S%gO![+WO!]([O!_%hO(S%fO!Y(uP~Os'YO!S+YO![+XO(UTO(XUO(d(zO~O!^(wP~P!9iO!]+ZOa)SX'y)SX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(`VO(q$YO(x#|O(y#}O~Oa!ja!]!ja'y!ja'v!ja!Y!ja!k!jav!ja!_!ja%i!ja!g!ja~P!:aOR#zO!Q#yO!S#{O!l#xO(`VOP!ra[!raj!rar!ra!]!ra!p!ra#R!ra#n!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#v!ra#x!ra#z!ra#{!ra(q!ra(x!ra(y!ra~Oa!ra'y!ra'v!ra!Y!ra!k!rav!ra!_!ra%i!ra!g!ra~P!<wOR#zO!Q#yO!S#{O!l#xO(`VOP!ta[!taj!tar!ta!]!ta!p!ta#R!ta#n!ta#o!ta#p!ta#q!ta#r!ta#s!ta#t!ta#u!ta#v!ta#x!ta#z!ta#{!ta(q!ta(x!ta(y!ta~Oa!ta'y!ta'v!ta!Y!ta!k!tav!ta!_!ta%i!ta!g!ta~P!?_Oh%VOn+dO!_'^O%i+cO~O!g+fOa([X!_([X'y([X!]([X~Oa%mO!_XO'y%mO~Oh%VO!l%dO~Oh%VO!l%dO(S%fO~O!g#vO#k(vO~Ob+qO%j+rO(S+nO(UTO(XUO!^)WP~O!]+sO`)VX~O[+wO~O`+xO~O!_&OO(S%fO(T!lO`)VP~Oh%VO#`+}O~Oh%VOn,QO!_$|O~O!_,SO~O!Q,UO!_XO~O%n%uO~O!x,ZO~Oe,`O~Ob,aO(S#nO(UTO(XUO!^)UP~Oe%|O~O%j!QO(S&XO~P=[O[,fO`,eO~OPYOQYOSfOdzOeyOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!iuO!lZO!oYO!pYO!qYO!svO!xxO!|]O$niO%h}O(UTO(XUO(`VO(n[O~O!_!eO!u!gO$W!kO(S!dO~P!F_O`,eOa%mO'y%mO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!x!hO$W!kO$niO(S!dO(UTO(XUO(`VO(n[O~Oa,kOl!OO!uwO%l!OO%m!OO%n!OO~P!HwO!l&mO~O&],qO~O!_,sO~O&n,uO&p,vOP&kaQ&kaS&kaY&kaa&kad&kae&kal&kap&kar&kas&kat&kaz&ka|&ka!O&ka!S&ka!W&ka!X&ka!_&ka!i&ka!l&ka!o&ka!p&ka!q&ka!s&ka!u&ka!x&ka!|&ka$W&ka$n&ka%h&ka%j&ka%l&ka%m&ka%n&ka%q&ka%s&ka%v&ka%w&ka%y&ka&V&ka&]&ka&_&ka&a&ka&c&ka&f&ka&l&ka&r&ka&t&ka&v&ka&x&ka&z&ka'v&ka(S&ka(U&ka(X&ka(`&ka(n&ka!^&ka&d&kab&ka&i&ka~O(S,{O~Oh!eX!]!RX!^!RX!g!RX!g!eX!l!eX#`!RX~O!]!eX!^!eX~P# }O!g-QO#`-POh(iX!]#hX!^#hX!g(iX!l(iX~O!](iX!^(iX~P#!pOh%VO!g-SO!l%dO!]!aX!^!aX~Os!nO!S!oO(UTO(XUO(d!mO~OP;vOQ;vOSfOd=rOe!iOpkOr;vOskOtkOzkO|;vO!O;vO!SWO!WkO!XkO!_!eO!i;yO!lZO!o;vO!p;vO!q;vO!s;zO!u;}O!x!hO$W!kO$n=pO(UTO(XUO(`VO(n[O~O(S<rO~P#$VO!]-WO!^(hX~O!^-YO~O!g-QO#`-PO!]#hX!^#hX~O!]-ZO!^(wX~O!^-]O~O!c-^O!d-^O(T!lO~P##tO!^-aO~P'_On-dO!_'^O~O!Y-iO~Os!{a!b!{a!c!{a!d!{a#T!{a#U!{a#V!{a#W!{a#X!{a#[!{a#]!{a(T!{a(U!{a(X!{a(d!{a(n!{a~P!#kO!p-nO#`-lO~PC]O!c-pO!d-pO(T!lO~PC{Oa%mO#`-lO'y%mO~Oa%mO!g#vO#`-lO'y%mO~Oa%mO!g#vO!p-nO#`-lO'y%mO(q'nO~O(O'vO(P'vO(Q-uO~Ov-vO~O!Y'Va!]'Va~P!:aO![-zO!Y'VX!]'VX~P%[O!](TO!Y(ga~O!Y(ga~PGvO!]([O!Y(ua~O!S%gO![.OO!_%hO(S%fO!Y']X!]']X~O#`.QO!](sa!k(saa(sa'y(sa~O!g#vO~P#,]O!](hO!k(ra~O!S%gO!_%hO#j.UO(S%fO~Op.ZO!S%gO![.WO!_%hO!|]O#i.YO#j.WO(S%fO!]'`X!k'`X~OR._O!l#xO~Oh%VOn.bO!_'^O%i.aO~Oa#ci!]#ci'y#ci'v#ci!Y#ci!k#civ#ci!_#ci%i#ci!g#ci~P!:aOn=|O!Q)|O'x)}O(x$}O(y%PO~O#k#_aa#_a#`#_a'y#_a!]#_a!k#_a!_#_a!Y#_a~P#/XO#k(_XP(_XR(_X[(_Xa(_Xj(_Xr(_X!S(_X!l(_X!p(_X#R(_X#n(_X#o(_X#p(_X#q(_X#r(_X#s(_X#t(_X#u(_X#v(_X#x(_X#z(_X#{(_X'y(_X(`(_X(q(_X!k(_X!Y(_X'v(_Xv(_X!_(_X%i(_X!g(_X~P!6`O!].oO!k(jX~P!:aO!k.rO~O!Y.tO~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(`VO[#mia#mij#mir#mi!]#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'y#mi(q#mi(x#mi(y#mi'v#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#n#mi~P#2wO#n$OO~P#2wOP$[OR#zOr$aO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(`VO[#mia#mij#mi!]#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'y#mi(q#mi(x#mi(y#mi'v#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#r#mi~P#5fO#r$QO~P#5fOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO(`VOa#mi!]#mi#x#mi#z#mi#{#mi'y#mi(q#mi(x#mi(y#mi'v#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#v#mi~P#8TOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO(`VO(y#}Oa#mi!]#mi#z#mi#{#mi'y#mi(q#mi(x#mi'v#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#x$UO~P#:kO#x#mi~P#:kO#v$SO~P#8TOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO(`VO(x#|O(y#}Oa#mi!]#mi#{#mi'y#mi(q#mi'v#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#z#mi~P#=aO#z$WO~P#=aOP]XR]X[]Xj]Xr]X!Q]X!S]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(`]X(q]X(x]X(y]X!]]X!^]X~O$O]X~P#@OOP$[OR#zO[<_Oj<SOr<]O!Q#yO!S#{O!l#xO!p$[O#R<SO#n<PO#o<QO#p<QO#q<QO#r<RO#s<SO#t<SO#u<^O#v<TO#x<VO#z<XO#{<YO(`VO(q$YO(x#|O(y#}O~O$O.vO~P#B]O#S$dO#`<`O$Q<`O$O(fX!^(fX~P! jOa'ca!]'ca'y'ca'v'ca!k'ca!Y'cav'ca!_'ca%i'ca!g'ca~P!:aO[#mia#mij#mir#mi!]#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'y#mi(q#mi'v#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(`VO(x#mi(y#mi~P#E_On=|O!Q)|O'x)}O(x$}O(y%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(`#mi~P#E_O!].zOg(oX~P!0{Og.|O~Oa$Pi!]$Pi'y$Pi'v$Pi!Y$Pi!k$Piv$Pi!_$Pi%i$Pi!g$Pi~P!:aO$].}O$_.}O~O$]/OO$_/OO~O!g)fO#`/PO!_$cX$Z$cX$]$cX$_$cX$f$cX~O![/QO~O!_)iO$Z/SO$])hO$_)hO$f/TO~O!]<ZO!^(eX~P#B]O!^/UO~O!g)fO$f(zX~O$f/WO~Ov/XO~P!&oOx)wO(a)xO(b/[O~O!S/_O~O(x$}On%aa!Q%aa'x%aa(y%aa!]%aa#`%aa~Og%aa$O%aa~P#LaO(y%POn%ca!Q%ca'x%ca(x%ca!]%ca#`%ca~Og%ca$O%ca~P#MSO!]fX!gfX!kfX!k$zX(qfX~P!/wO![/hO!]([O(S/gO!Y(uP!Y)OP~P!1jOr*pO!b*nO!c*hO!d*hO!l*_O#[*oO%`*jO(T!lO(UTO(XUO~Os<oO!S/iO![+XO!^*mO(d<nO!^(wP~P#NmO!k/jO~P#/XO!]/kO!g#vO(q'nO!k(}X~O!k/pO~O!S%gO![*[O!_%hO(S%fO!k(}P~O#k/rO~O!Y$zX!]$zX!g%RX~P!/wO!]/sO!Y)OX~P#/XO!g/uO~O!Y/wO~OpkO(S/xO~P.iOh%VOr/}O!g#vO!l%dO(q'nO~O!g+fO~Oa%mO!]0RO'y%mO~O!^0TO~P!5^O!c0UO!d0UO(T!lO~P##tOs!nO!S0VO(UTO(XUO(d!mO~O#[0XO~Og%aa!]%aa#`%aa$O%aa~P!0{Og%ca!]%ca#`%ca$O%ca~P!0{Oj%cOk%cOl%cO(S&XOg'lX!]'lX~O!]*vOg(]a~Og0bO~OR0cO!Q0cO!S0dO#S$dOn}a'x}a(x}a(y}a!]}a#`}a~Og}a$O}a~P$&vO!Q)|O'x)}On$sa(x$sa(y$sa!]$sa#`$sa~Og$sa$O$sa~P$'rO!Q)|O'x)}On$ua(x$ua(y$ua!]$ua#`$ua~Og$ua$O$ua~P$(eO#k0gO~Og%Ta!]%Ta#`%Ta$O%Ta~P!0{On0iO#`0hOg(^a!](^a~O!g#vO~O#k0lO~O!]+ZOa)Sa'y)Sa~OR#zO!Q#yO!S#{O!l#xO(`VOP!ri[!rij!rir!ri!]!ri!p!ri#R!ri#n!ri#o!ri#p!ri#q!ri#r!ri#s!ri#t!ri#u!ri#v!ri#x!ri#z!ri#{!ri(q!ri(x!ri(y!ri~Oa!ri'y!ri'v!ri!Y!ri!k!riv!ri!_!ri%i!ri!g!ri~P$*bOh%VOr%XOs$tOt$tOz%YO|%ZO!O<eO!S${O!_$|O!i=vO!l$xO#j<kO$W%_O$t<gO$v<iO$y%`O(UTO(XUO(`$uO(x$}O(y%PO~Op0uO%]0vO(S0tO~P$,xO!g+fOa([a!_([a'y([a!]([a~O#k0|O~O[]X!]fX!^fX~O!]0}O!^)WX~O!^1PO~O[1QO~Ob1SO(S+nO(UTO(XUO~O!_&OO(S%fO`'tX!]'tX~O!]+sO`)Va~O!k1VO~P!:aO[1YO~O`1ZO~O#`1^O~On1aO!_$|O~O(d(zO!^)TP~Oh%VOn1jO!_1gO%i1iO~O[1tO!]1rO!^)UX~O!^1uO~O`1wOa%mO'y%mO~O(S#nO(UTO(XUO~O#S$dO#`$eO$Q$eOP(fXR(fX[(fXr(fX!Q(fX!S(fX!](fX!l(fX!p(fX#R(fX#n(fX#o(fX#p(fX#q(fX#r(fX#s(fX#t(fX#u(fX#v(fX#x(fX#z(fX#{(fX(`(fX(q(fX(x(fX(y(fX~Oj1zO&Z1{Oa(fX~P$2cOj1zO#`$eO&Z1{O~Oa1}O~P%[Oa2PO~O&d2SOP&biQ&biS&biY&bia&bid&bie&bil&bip&bir&bis&bit&biz&bi|&bi!O&bi!S&bi!W&bi!X&bi!_&bi!i&bi!l&bi!o&bi!p&bi!q&bi!s&bi!u&bi!x&bi!|&bi$W&bi$n&bi%h&bi%j&bi%l&bi%m&bi%n&bi%q&bi%s&bi%v&bi%w&bi%y&bi&V&bi&]&bi&_&bi&a&bi&c&bi&f&bi&l&bi&r&bi&t&bi&v&bi&x&bi&z&bi'v&bi(S&bi(U&bi(X&bi(`&bi(n&bi!^&bib&bi&i&bi~Ob2YO!^2WO&i2XO~P`O!_XO!l2[O~O&p,vOP&kiQ&kiS&kiY&kia&kid&kie&kil&kip&kir&kis&kit&kiz&ki|&ki!O&ki!S&ki!W&ki!X&ki!_&ki!i&ki!l&ki!o&ki!p&ki!q&ki!s&ki!u&ki!x&ki!|&ki$W&ki$n&ki%h&ki%j&ki%l&ki%m&ki%n&ki%q&ki%s&ki%v&ki%w&ki%y&ki&V&ki&]&ki&_&ki&a&ki&c&ki&f&ki&l&ki&r&ki&t&ki&v&ki&x&ki&z&ki'v&ki(S&ki(U&ki(X&ki(`&ki(n&ki!^&ki&d&kib&ki&i&ki~O!Y2bO~O!]!aa!^!aa~P#B]Os!nO!S!oO![2hO(d!mO!]'WX!^'WX~P@cO!]-WO!^(ha~O!]'^X!^'^X~P!9iO!]-ZO!^(wa~O!^2oO~P'_Oa%mO#`2xO'y%mO~Oa%mO!g#vO#`2xO'y%mO~Oa%mO!g#vO!p2|O#`2xO'y%mO(q'nO~Oa%mO'y%mO~P!:aO!]$_Ov$qa~O!Y'Vi!]'Vi~P!:aO!](TO!Y(gi~O!]([O!Y(ui~O!Y(vi!](vi~P!:aO!](si!k(sia(si'y(si~P!:aO#`3OO!](si!k(sia(si'y(si~O!](hO!k(ri~O!S%gO!_%hO!|]O#i3TO#j3SO(S%fO~O!S%gO!_%hO#j3SO(S%fO~On3[O!_'^O%i3ZO~Oh%VOn3[O!_'^O%i3ZO~O#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa'y%aa(`%aa(q%aa!k%aa!Y%aa'v%aav%aa!_%aa%i%aa!g%aa~P#LaO#k%caP%caR%ca[%caa%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca'y%ca(`%ca(q%ca!k%ca!Y%ca'v%cav%ca!_%ca%i%ca!g%ca~P#MSO#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!]%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa'y%aa(`%aa(q%aa!k%aa!Y%aa'v%aa#`%aav%aa!_%aa%i%aa!g%aa~P#/XO#k%caP%caR%ca[%caa%caj%car%ca!S%ca!]%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca'y%ca(`%ca(q%ca!k%ca!Y%ca'v%ca#`%cav%ca!_%ca%i%ca!g%ca~P#/XO#k}aP}a[}aa}aj}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a'y}a(`}a(q}a!k}a!Y}a'v}av}a!_}a%i}a!g}a~P$&vO#k$saP$saR$sa[$saa$saj$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa'y$sa(`$sa(q$sa!k$sa!Y$sa'v$sav$sa!_$sa%i$sa!g$sa~P$'rO#k$uaP$uaR$ua[$uaa$uaj$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua'y$ua(`$ua(q$ua!k$ua!Y$ua'v$uav$ua!_$ua%i$ua!g$ua~P$(eO#k%TaP%TaR%Ta[%Taa%Taj%Tar%Ta!S%Ta!]%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta'y%Ta(`%Ta(q%Ta!k%Ta!Y%Ta'v%Ta#`%Tav%Ta!_%Ta%i%Ta!g%Ta~P#/XOa#cq!]#cq'y#cq'v#cq!Y#cq!k#cqv#cq!_#cq%i#cq!g#cq~P!:aO![3dO!]'XX!k'XX~P%[O!].oO!k(ja~O!].oO!k(ja~P!:aO!Y3gO~O$O!na!^!na~PKaO$O!ja!]!ja!^!ja~P#B]O$O!ra!^!ra~P!<wO$O!ta!^!ta~P!?_Og'[X!]'[X~P!+xO!].zOg(oa~OSfO!_3{O$d3|O~O!^4QO~Ov4RO~P#/XOa$mq!]$mq'y$mq'v$mq!Y$mq!k$mqv$mq!_$mq%i$mq!g$mq~P!:aO!Y4TO~P!&oO!S4UO~O!Q)|O'x)}O(y%POn'ha(x'ha!]'ha#`'ha~Og'ha$O'ha~P%,XO!Q)|O'x)}On'ja(x'ja(y'ja!]'ja#`'ja~Og'ja$O'ja~P%,zO(q$YO~P#/XO!YfX!Y$zX!]fX!]$zX!g%RX#`fX~P!/wO(S<xO~P!1jO!S%gO![4XO!_%hO(S%fO!]'dX!k'dX~O!]/kO!k(}a~O!]/kO!g#vO!k(}a~O!]/kO!g#vO(q'nO!k(}a~Og$|i!]$|i#`$|i$O$|i~P!0{O![4aO!Y'fX!]'fX~P!3iO!]/sO!Y)Oa~O!]/sO!Y)Oa~P#/XOP]XR]X[]Xj]Xr]X!Q]X!S]X!Y]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(`]X(q]X(x]X(y]X~Oj%YX!g%YX~P%0kOj4fO!g#vO~Oh%VO!g#vO!l%dO~Oh%VOr4kO!l%dO(q'nO~Or4pO!g#vO(q'nO~Os!nO!S4qO(UTO(XUO(d!mO~O(x$}On%ai!Q%ai'x%ai(y%ai!]%ai#`%ai~Og%ai$O%ai~P%4[O(y%POn%ci!Q%ci'x%ci(x%ci!]%ci#`%ci~Og%ci$O%ci~P%4}Og(^i!](^i~P!0{O#`4wOg(^i!](^i~P!0{O!k4zO~Oa$oq!]$oq'y$oq'v$oq!Y$oq!k$oqv$oq!_$oq%i$oq!g$oq~P!:aO!Y5QO~O!]5RO!_)PX~P#/XOa$zX!_$zX%^]X'y$zX!]$zX~P!/wO%^5UOaoXnoX!QoX!_oX'xoX'yoX(xoX(yoX!]oX~Op5VO(S#nO~O%^5UO~Ob5]O%j5^O(S+nO(UTO(XUO!]'sX!^'sX~O!]0}O!^)Wa~O[5bO~O`5cO~Oa%mO'y%mO~P#/XO!]5kO#`5mO!^)TX~O!^5nO~Or5tOs!nO!S*fO!b!yO!c!vO!d!vO!|;wO#T!pO#U!pO#V!pO#W!pO#X!pO#[5sO#]!zO(T!lO(UTO(XUO(d!mO(n!sO~O!^5rO~P%:YOn5yO!_1gO%i5xO~Oh%VOn5yO!_1gO%i5xO~Ob6QO(S#nO(UTO(XUO!]'rX!^'rX~O!]1rO!^)Ua~O(UTO(XUO(d6SO~O`6WO~Oj6ZO&Z6[O~PM|O!k6]O~P%[Oa6_O~Oa6_O~P%[Ob2YO!^6dO&i2XO~P`O!g6fO~O!g6hOh(ii!](ii!^(ii!g(ii!l(iir(ii(q(ii~O!]#hi!^#hi~P#B]O#`6iO!]#hi!^#hi~O!]!ai!^!ai~P#B]Oa%mO#`6rO'y%mO~Oa%mO!g#vO#`6rO'y%mO~O!](sq!k(sqa(sq'y(sq~P!:aO!](hO!k(rq~O!S%gO!_%hO#j6yO(S%fO~O!_'^O%i6|O~On7QO!_'^O%i6|O~O#k'haP'haR'ha['haa'haj'har'ha!S'ha!l'ha!p'ha#R'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#t'ha#u'ha#v'ha#x'ha#z'ha#{'ha'y'ha(`'ha(q'ha!k'ha!Y'ha'v'hav'ha!_'ha%i'ha!g'ha~P%,XO#k'jaP'jaR'ja['jaa'jaj'jar'ja!S'ja!l'ja!p'ja#R'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#v'ja#x'ja#z'ja#{'ja'y'ja(`'ja(q'ja!k'ja!Y'ja'v'jav'ja!_'ja%i'ja!g'ja~P%,zO#k$|iP$|iR$|i[$|ia$|ij$|ir$|i!S$|i!]$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i'y$|i(`$|i(q$|i!k$|i!Y$|i'v$|i#`$|iv$|i!_$|i%i$|i!g$|i~P#/XO#k%aiP%aiR%ai[%aia%aij%air%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai'y%ai(`%ai(q%ai!k%ai!Y%ai'v%aiv%ai!_%ai%i%ai!g%ai~P%4[O#k%ciP%ciR%ci[%cia%cij%cir%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci'y%ci(`%ci(q%ci!k%ci!Y%ci'v%civ%ci!_%ci%i%ci!g%ci~P%4}O!]'Xa!k'Xa~P!:aO!].oO!k(ji~O$O#ci!]#ci!^#ci~P#B]OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(`VO[#mij#mir#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(q#mi(x#mi(y#mi!]#mi!^#mi~O#n#mi~P%MXO#n<PO~P%MXOP$[OR#zOr<]O!Q#yO!S#{O!l#xO!p$[O#n<PO#o<QO#p<QO#q<QO(`VO[#mij#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(q#mi(x#mi(y#mi!]#mi!^#mi~O#r#mi~P& aO#r<RO~P& aOP$[OR#zO[<_Oj<SOr<]O!Q#yO!S#{O!l#xO!p$[O#R<SO#n<PO#o<QO#p<QO#q<QO#r<RO#s<SO#t<SO#u<^O(`VO#x#mi#z#mi#{#mi$O#mi(q#mi(x#mi(y#mi!]#mi!^#mi~O#v#mi~P&#iOP$[OR#zO[<_Oj<SOr<]O!Q#yO!S#{O!l#xO!p$[O#R<SO#n<PO#o<QO#p<QO#q<QO#r<RO#s<SO#t<SO#u<^O#v<TO(`VO(y#}O#z#mi#{#mi$O#mi(q#mi(x#mi!]#mi!^#mi~O#x<VO~P&%jO#x#mi~P&%jO#v<TO~P&#iOP$[OR#zO[<_Oj<SOr<]O!Q#yO!S#{O!l#xO!p$[O#R<SO#n<PO#o<QO#p<QO#q<QO#r<RO#s<SO#t<SO#u<^O#v<TO#x<VO(`VO(x#|O(y#}O#{#mi$O#mi(q#mi!]#mi!^#mi~O#z#mi~P&'yO#z<XO~P&'yOa#|y!]#|y'y#|y'v#|y!Y#|y!k#|yv#|y!_#|y%i#|y!g#|y~P!:aO[#mij#mir#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(q#mi!]#mi!^#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n<PO#o<QO#p<QO#q<QO(`VO(x#mi(y#mi~P&*uOn=}O!Q)|O'x)}O(x$}O(y%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(`#mi~P&*uO#S$dOP(_XR(_X[(_Xj(_Xn(_Xr(_X!Q(_X!S(_X!l(_X!p(_X#R(_X#n(_X#o(_X#p(_X#q(_X#r(_X#s(_X#t(_X#u(_X#v(_X#x(_X#z(_X#{(_X$O(_X'x(_X(`(_X(q(_X(x(_X(y(_X!](_X!^(_X~O$O$Pi!]$Pi!^$Pi~P#B]O$O!ri!^!ri~P$*bOg'[a!]'[a~P!0{O!^7dO~O!]'ca!^'ca~P#B]O!Y7eO~P#/XO!g#vO(q'nO!]'da!k'da~O!]/kO!k(}i~O!]/kO!g#vO!k(}i~Og$|q!]$|q#`$|q$O$|q~P!0{O!Y'fa!]'fa~P#/XO!g7lO~O!]/sO!Y)Oi~P#/XO!]/sO!Y)Oi~O!Y7oO~Oh%VOr7tO!l%dO(q'nO~Oj7vO!g#vO~Or7yO!g#vO(q'nO~O!Q)|O'x)}O(y%POn'ia(x'ia!]'ia#`'ia~Og'ia$O'ia~P&3vO!Q)|O'x)}On'ka(x'ka(y'ka!]'ka#`'ka~Og'ka$O'ka~P&4iO!Y7{O~Og%Oq!]%Oq#`%Oq$O%Oq~P!0{Og(^q!](^q~P!0{O#`7|Og(^q!](^q~P!0{Oa$oy!]$oy'y$oy'v$oy!Y$oy!k$oyv$oy!_$oy%i$oy!g$oy~P!:aO!g6hO~O!]5RO!_)Pa~O!_'^OP$TaR$Ta[$Taj$Tar$Ta!Q$Ta!S$Ta!]$Ta!l$Ta!p$Ta#R$Ta#n$Ta#o$Ta#p$Ta#q$Ta#r$Ta#s$Ta#t$Ta#u$Ta#v$Ta#x$Ta#z$Ta#{$Ta(`$Ta(q$Ta(x$Ta(y$Ta~O%i6|O~P&7ZO%^8QOa%[i!_%[i'y%[i!]%[i~Oa#cy!]#cy'y#cy'v#cy!Y#cy!k#cyv#cy!_#cy%i#cy!g#cy~P!:aO[8SO~Ob8UO(S+nO(UTO(XUO~O!]0}O!^)Wi~O`8YO~O(d(zO!]'oX!^'oX~O!]5kO!^)Ta~O!^8cO~P%:YO(n!sO~P$${O#[8dO~O!_1gO~O!_1gO%i8fO~On8iO!_1gO%i8fO~O[8nO!]'ra!^'ra~O!]1rO!^)Ui~O!k8rO~O!k8sO~O!k8vO~O!k8vO~P%[Oa8xO~O!g8yO~O!k8zO~O!](vi!^(vi~P#B]Oa%mO#`9SO'y%mO~O!](sy!k(sya(sy'y(sy~P!:aO!](hO!k(ry~O%i9VO~P&7ZO!_'^O%i9VO~O#k$|qP$|qR$|q[$|qa$|qj$|qr$|q!S$|q!]$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q'y$|q(`$|q(q$|q!k$|q!Y$|q'v$|q#`$|qv$|q!_$|q%i$|q!g$|q~P#/XO#k'iaP'iaR'ia['iaa'iaj'iar'ia!S'ia!l'ia!p'ia#R'ia#n'ia#o'ia#p'ia#q'ia#r'ia#s'ia#t'ia#u'ia#v'ia#x'ia#z'ia#{'ia'y'ia(`'ia(q'ia!k'ia!Y'ia'v'iav'ia!_'ia%i'ia!g'ia~P&3vO#k'kaP'kaR'ka['kaa'kaj'kar'ka!S'ka!l'ka!p'ka#R'ka#n'ka#o'ka#p'ka#q'ka#r'ka#s'ka#t'ka#u'ka#v'ka#x'ka#z'ka#{'ka'y'ka(`'ka(q'ka!k'ka!Y'ka'v'kav'ka!_'ka%i'ka!g'ka~P&4iO#k%OqP%OqR%Oq[%Oqa%Oqj%Oqr%Oq!S%Oq!]%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq'y%Oq(`%Oq(q%Oq!k%Oq!Y%Oq'v%Oq#`%Oqv%Oq!_%Oq%i%Oq!g%Oq~P#/XO!]'Xi!k'Xi~P!:aO$O#cq!]#cq!^#cq~P#B]O(x$}OP%aaR%aa[%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa$O%aa(`%aa(q%aa!]%aa!^%aa~On%aa!Q%aa'x%aa(y%aa~P&HnO(y%POP%caR%ca[%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca$O%ca(`%ca(q%ca!]%ca!^%ca~On%ca!Q%ca'x%ca(x%ca~P&JuOn=}O!Q)|O'x)}O(y%PO~P&HnOn=}O!Q)|O'x)}O(x$}O~P&JuOR0cO!Q0cO!S0dO#S$dOP}a[}aj}an}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a$O}a'x}a(`}a(q}a(x}a(y}a!]}a!^}a~O!Q)|O'x)}OP$saR$sa[$saj$san$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa$O$sa(`$sa(q$sa(x$sa(y$sa!]$sa!^$sa~O!Q)|O'x)}OP$uaR$ua[$uaj$uan$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua$O$ua(`$ua(q$ua(x$ua(y$ua!]$ua!^$ua~On=}O!Q)|O'x)}O(x$}O(y%PO~OP%TaR%Ta[%Taj%Tar%Ta!S%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta$O%Ta(`%Ta(q%Ta!]%Ta!^%Ta~P'%zO$O$mq!]$mq!^$mq~P#B]O$O$oq!]$oq!^$oq~P#B]O!^9dO~O$O9eO~P!0{O!g#vO!]'di!k'di~O!g#vO(q'nO!]'di!k'di~O!]/kO!k(}q~O!Y'fi!]'fi~P#/XO!]/sO!Y)Oq~Or9lO!g#vO(q'nO~O[9nO!Y9mO~P#/XO!Y9mO~Oj9tO!g#vO~Og(^y!](^y~P!0{O!]'ma!_'ma~P#/XOa%[q!_%[q'y%[q!]%[q~P#/XO[9yO~O!]0}O!^)Wq~O#`9}O!]'oa!^'oa~O!]5kO!^)Ti~P#B]O!S:PO~O!_1gO%i:SO~O(UTO(XUO(d:XO~O!]1rO!^)Uq~O!k:[O~O!k:]O~O!k:^O~O!k:^O~P%[O#`:aO!]#hy!^#hy~O!]#hy!^#hy~P#B]O%i:fO~P&7ZO!_'^O%i:fO~O$O#|y!]#|y!^#|y~P#B]OP$|iR$|i[$|ij$|ir$|i!S$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i$O$|i(`$|i(q$|i!]$|i!^$|i~P'%zO!Q)|O'x)}O(y%POP'haR'ha['haj'han'har'ha!S'ha!l'ha!p'ha#R'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#t'ha#u'ha#v'ha#x'ha#z'ha#{'ha$O'ha(`'ha(q'ha(x'ha!]'ha!^'ha~O!Q)|O'x)}OP'jaR'ja['jaj'jan'jar'ja!S'ja!l'ja!p'ja#R'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#v'ja#x'ja#z'ja#{'ja$O'ja(`'ja(q'ja(x'ja(y'ja!]'ja!^'ja~O(x$}OP%aiR%ai[%aij%ain%air%ai!Q%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai$O%ai'x%ai(`%ai(q%ai(y%ai!]%ai!^%ai~O(y%POP%ciR%ci[%cij%cin%cir%ci!Q%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci$O%ci'x%ci(`%ci(q%ci(x%ci!]%ci!^%ci~O$O$oy!]$oy!^$oy~P#B]O$O#cy!]#cy!^#cy~P#B]O!g#vO!]'dq!k'dq~O!]/kO!k(}y~O!Y'fq!]'fq~P#/XOr:pO!g#vO(q'nO~O[:tO!Y:sO~P#/XO!Y:sO~Og(^!R!](^!R~P!0{Oa%[y!_%[y'y%[y!]%[y~P#/XO!]0}O!^)Wy~O!]5kO!^)Tq~O(S:zO~O!_1gO%i:}O~O!k;QO~O%i;VO~P&7ZOP$|qR$|q[$|qj$|qr$|q!S$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q$O$|q(`$|q(q$|q!]$|q!^$|q~P'%zO!Q)|O'x)}O(y%POP'iaR'ia['iaj'ian'iar'ia!S'ia!l'ia!p'ia#R'ia#n'ia#o'ia#p'ia#q'ia#r'ia#s'ia#t'ia#u'ia#v'ia#x'ia#z'ia#{'ia$O'ia(`'ia(q'ia(x'ia!]'ia!^'ia~O!Q)|O'x)}OP'kaR'ka['kaj'kan'kar'ka!S'ka!l'ka!p'ka#R'ka#n'ka#o'ka#p'ka#q'ka#r'ka#s'ka#t'ka#u'ka#v'ka#x'ka#z'ka#{'ka$O'ka(`'ka(q'ka(x'ka(y'ka!]'ka!^'ka~OP%OqR%Oq[%Oqj%Oqr%Oq!S%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq$O%Oq(`%Oq(q%Oq!]%Oq!^%Oq~P'%zOg%e!Z!]%e!Z#`%e!Z$O%e!Z~P!0{O!Y;ZO~P#/XOr;[O!g#vO(q'nO~O[;^O!Y;ZO~P#/XO!]'oq!^'oq~P#B]O!]#h!Z!^#h!Z~P#B]O#k%e!ZP%e!ZR%e!Z[%e!Za%e!Zj%e!Zr%e!Z!S%e!Z!]%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z'y%e!Z(`%e!Z(q%e!Z!k%e!Z!Y%e!Z'v%e!Z#`%e!Zv%e!Z!_%e!Z%i%e!Z!g%e!Z~P#/XOr;fO!g#vO(q'nO~O!Y;gO~P#/XOr;nO!g#vO(q'nO~O!Y;oO~P#/XOP%e!ZR%e!Z[%e!Zj%e!Zr%e!Z!S%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z$O%e!Z(`%e!Z(q%e!Z!]%e!Z!^%e!Z~P'%zOr;rO!g#vO(q'nO~Ov(eX~P1qO!Q%qO~P!)PO(T!lO~P!)PO!YfX!]fX#`fX~P%0kOP]XR]X[]Xj]Xr]X!Q]X!S]X!]]X!]fX!l]X!p]X#R]X#S]X#`]X#`fX#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(`]X(q]X(x]X(y]X~O!gfX!k]X!kfX(qfX~P'JsOP;vOQ;vOSfOd=rOe!iOpkOr;vOskOtkOzkO|;vO!O;vO!SWO!WkO!XkO!_XO!i;yO!lZO!o;vO!p;vO!q;vO!s;zO!u;}O!x!hO$W!kO$n=pO(S)ZO(UTO(XUO(`VO(n[O~O!]<ZO!^$qa~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<fO!S${O!_$|O!i=wO!l$xO#j<lO$W%_O$t<hO$v<jO$y%`O(S(tO(UTO(XUO(`$uO(x$}O(y%PO~Ol)bO~P( iOr!eX(q!eX~P# }Or(iX(q(iX~P#!pO!^]X!^fX~P'JsO!YfX!Y$zX!]fX!]$zX#`fX~P!/wO#k<OO~O!g#vO#k<OO~O#`<`O~Oj<SO~O#`<pO!](vX!^(vX~O#`<`O!](tX!^(tX~O#k<qO~Og<sO~P!0{O#k<yO~O#k<zO~O!g#vO#k<{O~O!g#vO#k<qO~O$O<|O~P#B]O#k<}O~O#k=OO~O#k=TO~O#k=UO~O#k=VO~O#k=WO~O$O=XO~P!0{O$O=YO~P!0{Ok#S#T#U#W#X#[#i#j#u$n$t$v$y%]%^%h%i%j%q%s%v%w%y%{~'}T#o!X'{(T#ps#n#qr!Q'|$]'|(S$_(d~",goto:"$8g)[PPPPPP)]PP)`P)qP+R/WPPPP6bPP6xPP<pPPP@dP@zP@zPPP@zPCSP@zP@zP@zPCWPC]PCzPHtPPPHxPPPPHxK{PPPLRLsPHxPHxPP! RHxPPPHxPHxP!#YHxP!&p!'u!(OP!(r!(v!(r!,TPPPPPPP!,t!'uPP!-U!.vP!2SHxHx!2X!5e!:R!:R!>QPPP!>YHxPPPPPPPPP!AiP!BvPPHx!DXPHxPHxHxHxHxHxPHx!EkP!HuP!K{P!LP!LZ!L_!L_P!HrP!Lc!LcP# iP# mHxPHx# s#$xCW@zP@zP@z@zP#&V@z@z#(i@z#+a@z#-m@z@z#.]#0q#0q#0v#1P#0q#1[PP#0qP@z#1t@z#5s@z@z6bPPP#9xPPP#:c#:cP#:cP#:y#:cPP#;PP#:vP#:v#;d#:v#<O#<U#<X)`#<[)`P#<c#<c#<cP)`P)`P)`P)`PP)`P#<i#<lP#<l)`P#<pP#<sP)`P)`P)`P)`P)`P)`)`PP#<y#=P#=[#=b#=h#=n#=t#>S#>Y#>d#>j#>t#>z#?[#?b#@S#@f#@l#@r#AQ#Ag#C[#Cj#Cq#E]#Ek#G]#Gk#Gq#Gw#G}#HX#H_#He#Ho#IR#IXPPPPPPPPPPP#I_PPPPPPP#JS#MZ#Ns#Nz$ SPPP$&nP$&w$)p$0Z$0^$0a$1`$1c$1j$1rP$1x$1{P$2i$2m$3e$4s$4x$5`PP$5e$5k$5o$5r$5v$5z$6v$7_$7v$7z$7}$8Q$8W$8Z$8_$8cR!|RoqOXst!Z#d%l&p&r&s&u,n,s2S2VY!vQ'^-`1g5qQ%svQ%{yQ&S|Q&h!VS'U!e-WQ'd!iS'j!r!yU*h$|*X*lQ+l%|Q+y&UQ,_&bQ-^']Q-h'eQ-p'kQ0U*nQ1q,`R<m;z%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y,k,n,s-d-l-z.Q.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3d4q5y6Z6[6_6r8i8x9SS#q];w!r)]$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sU*{%[<e<fQ+q&OQ,a&eQ,h&mQ0r+dQ0w+fQ1S+rQ1y,fQ3W.bQ5V0vQ5]0}Q6Q1rQ7O3[Q8U5^R9Y7Q'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=s!S!nQ!r!v!y!z$|'U']'^'j'k'l*h*l*n*o-W-^-`-p0U0X1g5q5s%[$ti#v$b$c$d$x${%O%Q%]%^%b)w*P*R*T*W*^*d*t*u+c+f+},Q.a.z/_/h/r/s/u0Y0[0g0h0i1^1a1i3Z4U4V4a4f4w5R5U5x6|7l7v7|8Q8f9V9e9n9t:S:f:t:};V;^<^<_<a<b<c<d<g<h<i<j<k<l<t<u<v<w<y<z<}=O=P=Q=R=S=T=U=X=Y=p=x=y=|=}Q&V|Q'S!eS'Y%h-ZQ+q&OQ,a&eQ0f+OQ1S+rQ1X+xQ1x,eQ1y,fQ5]0}Q5f1ZQ6Q1rQ6T1tQ6U1wQ8U5^Q8X5cQ8q6WQ9|8YQ:Y8nR<o*XrnOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VR,c&i&z^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=r=s[#]WZ#W#Z'V(R!b%im#h#i#l$x%d%g([(f(g(h*W*[*_+W+X+Z,j-Q.O.U.V.W.Y/h/k2[3S3T4X6h6yQ%vxQ%zyS&P|&UQ&]!TQ'a!hQ'c!iQ(o#sS+k%{%|Q+o&OQ,Y&`Q,^&bS-g'd'eQ.d(pQ0{+lQ1R+rQ1T+sQ1W+wQ1l,ZS1p,_,`Q2t-hQ5[0}Q5`1QQ5e1YQ6P1qQ8T5^Q8W5bQ9x8SR:w9y!U$zi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y!^%xy!i!u%z%{%|'T'c'd'e'i's*g+k+l-T-g-h-o/{0O0{2m2t2{4i4j4m7s9pQ+e%vQ,O&YQ,R&ZQ,]&bQ.c(oQ1k,YU1o,^,_,`Q3].dQ5z1lS6O1p1qQ8m6P#f=t#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}o=u<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=YW%Ti%V*v=pS&Y!Q&gQ&Z!RQ&[!SQ+S%cR+|&W%]%Si#v$b$c$d$x${%O%Q%]%^%b)w*P*R*T*W*^*d*t*u+c+f+},Q.a.z/_/h/r/s/u0Y0[0g0h0i1^1a1i3Z4U4V4a4f4w5R5U5x6|7l7v7|8Q8f9V9e9n9t:S:f:t:};V;^<^<_<a<b<c<d<g<h<i<j<k<l<t<u<v<w<y<z<}=O=P=Q=R=S=T=U=X=Y=p=x=y=|=}T)x$u)yV*{%[<e<fW'Y!e%h*X-ZS({#y#zQ+`%qQ+v&RS.](k(lQ1b,SQ4x0cR8^5k'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=s$i$^c#Y#e%p%r%t(Q(W(r(w)P)Q)R)S)T)U)V)W)X)Y)[)^)`)e)o+a+u-U-s-x-}.P.n.q.u.w.x.y/]0j2c2f2v2}3c3h3i3j3k3l3m3n3o3p3q3r3s3t3w3x4P5O5Y6k6q6v7V7W7a7b8`8|9Q9[9b9c:c:y;R;x=gT#TV#U'RkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sQ'W!eR2i-W!W!nQ!e!r!v!y!z$|'U']'^'j'k'l*X*h*l*n*o-W-^-`-p0U0X1g5q5sR1d,UnqOXst!Z#d%l&p&r&s&u,n,s2S2VQ&w!^Q't!xS(q#u<OQ+i%yQ,W&]Q,X&_Q-e'bQ-r'mS.m(v<qS0k+U<{Q0y+jQ1f,VQ2Z,uQ2],vQ2e-RQ2r-fQ2u-jS5P0l=VQ5W0zS5Z0|=WQ6j2gQ6n2sQ6s2zQ8R5XQ8}6lQ9O6oQ9R6tR:`8z$d$]c#Y#e%r%t(Q(W(r(w)P)Q)R)S)T)U)V)W)X)Y)[)^)`)e)o+a+u-U-s-x-}.P.n.q.u.x.y/]0j2c2f2v2}3c3h3i3j3k3l3m3n3o3p3q3r3s3t3w3x4P5O5Y6k6q6v7V7W7a7b8`8|9Q9[9b9c:c:y;R;x=gS(m#p'gQ(}#zS+_%p.wS.^(l(nR3U._'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sS#q];wQ&r!XQ&s!YQ&u![Q&v!]R2R,qQ'_!hQ+b%vQ-c'aS.`(o+eQ2p-bW3Y.c.d0q0sQ6m2qW6z3V3X3]5TU9U6{6}7PU:e9W9X9ZS;T:d:gQ;b;UR;j;cU!wQ'^-`T5o1g5q!Q_OXZ`st!V!Z#d#h%d%l&g&i&p&r&s&u(h,n,s.V2S2V]!pQ!r'^-`1g5qT#q];w%^{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SS({#y#zS.](k(l!s=^$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sU$fd)],hS(n#p'gU*s%R(u3vU0e*z.i7]Q5T0rQ6{3WQ9X7OR:g9Ym!tQ!r!v!y!z'^'j'k'l-`-p1g5q5sQ'r!uS(d#g1|S-n'i'uQ/n*ZQ/{*gQ2|-qQ4]/oQ4i/}Q4j0OQ4o0WQ7h4WS7s4k4mS7w4p4rQ9g7iQ9k7oQ9p7tQ9u7yS:o9l9mS;Y:p:sS;e;Z;[S;m;f;gS;q;n;oR;t;rQ#wbQ'q!uS(c#g1|S(e#m+TQ+V%eQ+g%wQ+m%}U-m'i'r'uQ.R(dQ/m*ZQ/|*gQ0P*iQ0x+hQ1m,[S2y-n-qQ3R.ZS4[/n/oQ4e/yS4h/{0WQ4l0QQ5|1nQ6u2|Q7g4WQ7k4]U7r4i4o4rQ7u4nQ8k5}S9f7h7iQ9j7oQ9r7wQ9s7xQ:V8lQ:m9gS:n9k9mQ:v9uQ;P:WS;X:o:sS;d;Y;ZS;l;e;gS;p;m;oQ;s;qQ;u;tQ=a=[Q=l=eR=m=fV!wQ'^-`%^aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SS#wz!j!r=Z$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sR=a=r%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SQ%ej!^%wy!i!u%z%{%|'T'c'd'e'i's*g+k+l-T-g-h-o/{0O0{2m2t2{4i4j4m7s9pS%}z!jQ+h%xQ,[&bW1n,],^,_,`U5}1o1p1qS8l6O6PQ:W8m!r=[$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sQ=e=qR=f=r%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&p&r&s&u&y'R'`'p(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9SY#bWZ#W#Z(R!b%im#h#i#l$x%d%g([(f(g(h*W*[*_+W+X+Z,j-Q.O.U.V.W.Y/h/k2[3S3T4X6h6yQ,i&m!p=]$Z$n)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sR=`'VU'Z!e%h*XR2k-Z%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y,k,n,s-d-l-z.Q.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3d4q5y6Z6[6_6r8i8x9S!r)]$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sQ,h&mQ0r+dQ3W.bQ7O3[R9Y7Q!b$Tc#Y%p(Q(W(r(w)X)Y)^)e+u-s-x-}.P.n.q/]0j2v2}3c3s5O5Y6q6v7V9Q:c;x!P<U)[)o-U.w2c2f3h3q3r3w4P6k7W7a7b8`8|9[9b9c:y;R=g!f$Vc#Y%p(Q(W(r(w)U)V)X)Y)^)e+u-s-x-}.P.n.q/]0j2v2}3c3s5O5Y6q6v7V9Q:c;x!T<W)[)o-U.w2c2f3h3n3o3q3r3w4P6k7W7a7b8`8|9[9b9c:y;R=g!^$Zc#Y%p(Q(W(r(w)^)e+u-s-x-}.P.n.q/]0j2v2}3c3s5O5Y6q6v7V9Q:c;xQ4V/fz=s)[)o-U.w2c2f3h3w4P6k7W7a7b8`8|9[9b9c:y;R=gQ=x=zR=y={'QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sS$oh$pR3|/P'XgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/P/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sT$kf$qQ$ifS)h$l)lR)t$qT$jf$qT)j$l)l'XhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%l%s&Q&i&l&m&p&r&s&u&y'R'V'`'p(R(T(Z(b(v(x(|)q){*f+U+Y+d,k,n,s-P-S-d-l-z.Q.b.o.v/P/Q/i0V0d0l0|1j1z1{1}2P2S2V2X2h2x3O3[3d3{4q5m5y6Z6[6_6i6r7Q8i8x9S9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=sT$oh$pQ$rhR)s$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%l%s&Q&i&l&m&p&r&s&u&y'R'`'p(R(T(Z(b(v(x(|){*f+U+Y+d,k,n,s-d-l-z.Q.b.o.v/i0V0d0l0|1j1z1{1}2P2S2V2X2x3O3[3d4q5y6Z6[6_6r7Q8i8x9S!s=q$Z$n'V)q-P-S/Q2h3{5m6i9}:a;v;y;z;}<O<P<Q<R<S<T<U<V<W<X<Y<Z<]<`<m<p<q<s<{<|=V=W=s#glOPXZst!Z!`!o#S#d#o#{$n%l&i&l&m&p&r&s&u&y'R'`(|)q*f+Y+d,k,n,s-d.b/Q/i0V0d1j1z1{1}2P2S2V2X3[3{4q5y6Z6[6_7Q8i8x!U%Ri$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y#f(u#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}Q+P%`Q/^)|o3v<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=Y!U$yi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=yQ*`$zU*i$|*X*lQ+Q%aQ0Q*j#f=c#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}n=d<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=YQ=h=tQ=i=uQ=j=vR=k=w!U%Ri$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y#f(u#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}o3v<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=YnoOXst!Z#d%l&p&r&s&u,n,s2S2VS*c${*WQ,|&|Q,}'OR4`/s%[%Si#v$b$c$d$x${%O%Q%]%^%b)w*P*R*T*W*^*d*t*u+c+f+},Q.a.z/_/h/r/s/u0Y0[0g0h0i1^1a1i3Z4U4V4a4f4w5R5U5x6|7l7v7|8Q8f9V9e9n9t:S:f:t:};V;^<^<_<a<b<c<d<g<h<i<j<k<l<t<u<v<w<y<z<}=O=P=Q=R=S=T=U=X=Y=p=x=y=|=}Q,P&ZQ1`,RQ5i1_R8]5jV*k$|*X*lU*k$|*X*lT5p1g5qS/y*f/iQ4n0VT7x4q:PQ+g%wQ0P*iQ0x+hQ1m,[Q5|1nQ8k5}Q:V8lR;P:W!U%Oi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=yx*P$v)c*Q*r+R/q0^0_3y4^4{4|4}7f7z9v:l=b=n=oS0Y*q0Z#f<a#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}n<b<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=Y!d<t(s)a*Y*b.e.h.l/Y/f/v0p1]3`4S4_4c5h7R7U7m7p7}8P9i9q9w:q:u;W;];h=z={`<u3u7X7[7`9]:h:k;kS=P.g3aT=Q7Z9`!U%Qi$d%O%Q%]%^%b*P*R*^*t*u.z/r0Y0[0g0h0i4V4w7|9e=p=x=y|*R$v)c*S*q+R/b/q0^0_3y4^4s4{4|4}7f7z9v:l=b=n=oS0[*r0]#f<c#v$b$c$x${)w*T*W*d+c+f+},Q.a/_/h/s/u1^1a1i3Z4U4a4f5R5U5x6|7l7v8Q8f9V9n9t:S:f:t:};V;^<a<c<g<i<k<t<v<y<}=P=R=T=X=|=}n<d<^<_<b<d<h<j<l<u<w<z=O=Q=S=U=Y!h<v(s)a*Y*b.f.g.l/Y/f/v0p1]3^3`4S4_4c5h7R7S7U7m7p7}8P9i9q9w:q:u;W;];h=z={d<w3u7Y7Z7`9]9^:h:i:k;kS=R.h3bT=S7[9arnOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VQ&d!UR,k&mrnOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VR&d!UQ,T&[R1[+|snOXst!V!Z#d%l&g&p&r&s&u,n,s2S2VQ1h,YS5w1k1lU8e5u5v5zS:R8g8hS:{:Q:TQ;_:|R;i;`Q&k!VR,d&gR6T1tR:Y8nS&P|&UR1T+sQ&p!WR,n&qR,t&vT2T,s2VR,x&wQ,w&wR2^,xQ'w!{R-t'wSsOtQ#dXT%os#dQ#OTR'y#OQ#RUR'{#RQ)y$uR/Z)yQ#UVR(O#UQ#XWU(U#X(V-{Q(V#YR-{(WQ-X'WR2j-XQ.p(wS3e.p3fR3f.qQ-`'^R2n-`Y!rQ'^-`1g5qR'h!rQ.{)cR3z.{U#_W%g*WU(]#_(^-|Q(^#`R-|(XQ-['ZR2l-[t`OXst!V!Z#d%l&g&i&p&r&s&u,n,s2S2VS#hZ%dU#r`#h.VR.V(hQ(i#jQ.S(eW.[(i.S3P6wQ3P.TR6w3QQ)l$lR/R)lQ$phR)r$pQ$`cU)_$`-w<[Q-w;xR<[)oQ/l*ZW4Y/l4Z7j9hU4Z/m/n/oS7j4[4]R9h7k$e*O$v(s)a)c*Y*b*q*r*|*}+R.g.h.j.k.l/Y/b/d/f/q/v0^0_0p1]3^3_3`3u3y4S4^4_4c4s4u4{4|4}5h7R7S7T7U7Z7[7^7_7`7f7m7p7z7}8P9]9^9_9i9q9v9w:h:i:j:k:l:q:u;W;];h;k=b=n=o=z={Q/t*bU4b/t4d7nQ4d/vR7n4cS*l$|*XR0S*lx*Q$v)c*q*r+R/q0^0_3y4^4{4|4}7f7z9v:l=b=n=o!d.e(s)a*Y*b.g.h.l/Y/f/v0p1]3`4S4_4c5h7R7U7m7p7}8P9i9q9w:q:u;W;];h=z={U/c*Q.e7Xa7X3u7Z7[7`9]:h:k;kQ0Z*qQ3a.gU4t0Z3a9`R9`7Z|*S$v)c*q*r+R/b/q0^0_3y4^4s4{4|4}7f7z9v:l=b=n=o!h.f(s)a*Y*b.g.h.l/Y/f/v0p1]3^3`4S4_4c5h7R7S7U7m7p7}8P9i9q9w:q:u;W;];h=z={U/e*S.f7Ye7Y3u7Z7[7`9]9^:h:i:k;kQ0]*rQ3b.hU4v0]3b9aR9a7[Q*w%UR0a*wQ5S0pR8O5SQ+[%jR0o+[Q5l1bS8_5l:OR:O8`Q,V&]R1e,VQ5q1gR8b5qQ1s,aS6R1s8oR8o6TQ1O+oW5_1O5a8V9zQ5a1RQ8V5`R9z8WQ+t&PR1U+tQ2V,sR6c2VYrOXst#dQ&t!ZQ+^%lQ,m&pQ,o&rQ,p&sQ,r&uQ2Q,nS2T,s2VR6b2SQ%npQ&x!_Q&{!aQ&}!bQ'P!cQ'o!uQ+]%kQ+i%yQ+{&VQ,c&kQ,z&zW-k'i'q'r'uQ-r'mQ0R*kQ0y+jS1v,d,gQ2_,yQ2`,|Q2a,}Q2u-jW2w-m-n-q-sQ5W0zQ5d1XQ5g1]Q5{1mQ6V1xQ6a2RU6p2v2y2|Q6s2zQ8R5XQ8Z5fQ8[5hQ8a5pQ8j5|Q8p6US9P6q6uQ9R6tQ9{8XQ:U8kQ:Z8qQ:b9QQ:x9|Q;O:VQ;S:cR;a;PQ%yyQ'b!iQ'm!uU+j%z%{%|Q-R'TU-f'c'd'eS-j'i'sQ/z*gS0z+k+lQ2g-TS2s-g-hQ2z-oS4g/{0OQ5X0{Q6l2mQ6o2tQ6t2{U7q4i4j4mQ9o7sR:r9pS$wi=pR*x%VU%Ui%V=pR0`*vQ$viS(s#v+fS)a$b$cQ)c$dQ*Y$xS*b${*WQ*q%OQ*r%QQ*|%]Q*}%^Q+R%bQ.g<aQ.h<cQ.j<gQ.k<iQ.l<kQ/Y)wQ/b*PQ/d*RQ/f*TQ/q*^S/v*d/hQ0^*tQ0_*ul0p+c,Q.a1a1i3Z5x6|8f9V:S:f:};VQ1]+}Q3^<tQ3_<vQ3`<yS3u<^<_Q3y.zS4S/_4UQ4^/rQ4_/sQ4c/uQ4s0YQ4u0[Q4{0gQ4|0hQ4}0iQ5h1^Q7R<}Q7S=PQ7T=RQ7U=TQ7Z<bQ7[<dQ7^<hQ7_<jQ7`<lQ7f4VQ7m4aQ7p4fQ7z4wQ7}5RQ8P5UQ9]<zQ9^<uQ9_<wQ9i7lQ9q7vQ9v7|Q9w8QQ:h=OQ:i=QQ:j=SQ:k=UQ:l9eQ:q9nQ:u9tQ;W=XQ;]:tQ;h;^Q;k=YQ=b=pQ=n=xQ=o=yQ=z=|R={=}Q*z%[Q.i<eR7]<fnpOXst!Z#d%l&p&r&s&u,n,s2S2VQ!fPS#fZ#oQ&z!`W'f!o*f0V4qQ'}#SQ)O#{Q)p$nS,g&i&lQ,l&mQ,y&yS-O'R/iQ-b'`Q.s(|Q/V)qQ0m+YQ0s+dQ2O,kQ2q-dQ3X.bQ4O/QQ4y0dQ5v1jQ6X1zQ6Y1{Q6^1}Q6`2PQ6e2XQ7P3[Q7c3{Q8h5yQ8t6ZQ8u6[Q8w6_Q9Z7QQ:T8iR:_8x#[cOPXZst!Z!`!o#d#o#{%l&i&l&m&p&r&s&u&y'R'`(|*f+Y+d,k,n,s-d.b/i0V0d1j1z1{1}2P2S2V2X3[4q5y6Z6[6_7Q8i8xQ#YWQ#eYQ%puQ%rvS%tw!gS(Q#W(TQ(W#ZQ(r#uQ(w#xQ)P$OQ)Q$PQ)R$QQ)S$RQ)T$SQ)U$TQ)V$UQ)W$VQ)X$WQ)Y$XQ)[$ZQ)^$_Q)`$aQ)e$eW)o$n)q/Q3{Q+a%sQ+u&QS-U'V2hQ-s'pS-x(R-zQ-}(ZQ.P(bQ.n(vQ.q(xQ.u;vQ.w;yQ.x;zQ.y;}Q/]){Q0j+UQ2c-PQ2f-SQ2v-lQ2}.QQ3c.oQ3h<OQ3i<PQ3j<QQ3k<RQ3l<SQ3m<TQ3n<UQ3o<VQ3p<WQ3q<XQ3r<YQ3s.vQ3t<]Q3w<`Q3x<mQ4P<ZQ5O0lQ5Y0|Q6k<pQ6q2xQ6v3OQ7V3dQ7W<qQ7a<sQ7b<{Q8`5mQ8|6iQ9Q6rQ9[<|Q9b=VQ9c=WQ:c9SQ:y9}Q;R:aQ;x#SR=g=sR#[WR'X!el!tQ!r!v!y!z'^'j'k'l-`-p1g5q5sS'T!e-WU*g$|*X*lS-T'U']S0O*h*nQ0W*oQ2m-^Q4m0UR4r0XR(y#xQ!fQT-_'^-`]!qQ!r'^-`1g5qQ#p]R'g;wR)d$dY!uQ'^-`1g5qQ'i!rS's!v!yS'u!z5sS-o'j'kQ-q'lR2{-pT#kZ%dS#jZ%dS%jm,jU(e#h#i#lS.T(f(gQ.X(hQ0n+ZQ3Q.UU3R.V.W.YS6x3S3TR9T6yd#^W#W#Z%g(R([*W+W.O/hr#gZm#h#i#l%d(f(g(h+Z.U.V.W.Y3S3T6yS*Z$x*_Q/o*[Q1|,jQ2d-QQ4W/kQ6g2[Q7i4XQ8{6hT=_'V+XV#aW%g*WU#`W%g*WS(S#W([U(X#Z+W/hS-V'V+XT-y(R.OV'[!e%h*XQ$lfR)v$qT)k$l)lR3}/PT*]$x*_T*e${*WQ0q+cQ1_,QQ3V.aQ5j1aQ5u1iQ6}3ZQ8g5xQ9W6|Q:Q8fQ:d9VQ:|:SQ;U:fQ;`:}R;c;VnqOXst!Z#d%l&p&r&s&u,n,s2S2VQ&j!VR,c&gtmOXst!U!V!Z#d%l&g&p&r&s&u,n,s2S2VR,j&mT%km,jR1c,SR,b&eQ&T|R+z&UR+p&OT&n!W&qT&o!W&qT2U,s2V",nodeNames:"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:379,context:dVe,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,236,242,244,246,248,251,257,263,265,267,269,271,273,274,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,120,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[yVe],skippedNodes:[0,5,6,277],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$i&j(Y!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(Y!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$i&j(VpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(VpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Vp(Y!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$i&j(Vp(Y!b'{0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(W#S$i&j'|0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$i&j(Vp(Y!b'|0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$i&j!p),Q(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#v(Ch$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#v(Ch$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(U':f$i&j(Y!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$i&j(Y!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$i&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$d`$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$d``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$d`$i&j(Y!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(Y!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$d`(Y!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$i&j(Vp(Y!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr(r<__WS$i&j(Vp(Y!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;'S<S;'S;=`Cl<%lO<S(Q=g]WS$i&j(Y!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$i&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(Y!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$i&j(VpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(VpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Vp(Y!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$i&j(n%1l(Vp(Y!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$i&j(Vp(Y!b$]#t(S,2j(d$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr+dHRk$i&j(Vp(Y!b$]#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;'SGv;'S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$i&j(Vp(Y!b#p(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWKl_$i&j$Q(Ch(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,#xLva(y+JY$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWNW`$i&j#z(Ch(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At! c_(X';W$i&j(VpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b'l!!i_$i&j(VpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b&z!#mX$i&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;'S!#h;'S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;'S!$Y;'S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h'l!%R]$d`$i&j(VpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r!Q!&PZ(VpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;'S!%z;'S;=`!']<%lO!%z!Q!&yU$d`(VpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r!Q!'`P;=`<%l!%z'l!'fP;=`<%l!!b/5|!'t_!l/.^$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&U!)O_!k!Lf$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z-!n!*[b$i&j(Vp(Y!b(T%&f#q(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW!+o`$i&j(Vp(Y!b#n(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;x!,|`$i&j(Vp(Y!br+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,$U!.Z_!]+Jf$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!/ec$i&j(Vp(Y!b!Q.2^OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!0ya$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!2Z_![!L^$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!3eg$i&j(Vp(Y!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!5Vg$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!6wc$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!8_c$i&j(Vp(Y!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!9uf$i&j(Vp(Y!b#o(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z?O!;fb$i&j(Vp(Y!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z>^!<w`$i&j(Y!b!X7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;'S!<n;'S;=`!L]<%lO!<n<z!>Q^$i&j!X7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!?Td$i&j!X7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!X7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!X7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DWX$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$i&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$i&j(Y!b!X7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ(Y!b!X7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(Y!b!X7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX(Y!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$i&j(Y!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;'S!KS;'S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$i&j(Vp!X7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_# o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p# o#p;'S!Lc;'S;=`#&Y<%lO!Lc=l!Mwl$i&j(Vp!X7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r8Q# vZ(Vp!X7`OY# oZr# ors!@cs!P# o!P!Q#!i!Q!}# o!}#O#$R#O#P!Bq#P;'S# o;'S;=`#$y<%lO# o8Q#!pe(Vp!X7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;'S)r;'S;=`*Z<%lO)r8Q#$WX(VpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q# o#Q;'S#$R;'S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l# o=l#%W^$i&j(VpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;'S#%P;'S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$i&j(Vp(Y!b!X7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z9d#(r](Vp(Y!b!X7`OY#(iZr#(irs!Grsw#(iwx# ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;'S#(i;'S;=`#,`<%lO#(i9d#)th(Vp(Y!b!X7`OY*gZr*grs'}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;'S*g;'S;=`+Z<%lO*g9d#+gZ(Vp(Y!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;'S#+`;'S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$i&j(Vp(Y!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;'S#,f;'S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$i&j(Vp(Y!b'}0/l!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z07[#/o_$i&j(Vp(Y!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;'S#/d;'S;=`#6|<%lO#/d06j#0w]$i&j(Y!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;'S#0n;'S;=`#3x<%lO#0n05W#1wX$i&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;'S#1p;'S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;'S#2d;'S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW(Y!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;'S#3R;'S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$i&j(VpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;'S#4O;'S;=`#5w<%lO#4O00^#5XW(VpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;'S#5Q;'S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Vp(Y!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;'S#5};'S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$i&j$Q(Ch(Vp(Y!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;ZAt#8vb$Z#t$i&j(Vp(Y!b!X7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z'Ad#:Zp$i&j(Vp(Y!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#<jk$i&j(Vp(Y!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$i&j(Vp(Y!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$i&j(Vp(Y!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$i&j(Vp(Y!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$i&j(Vp(Y!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!g$b$i&j$O)Lv(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#R-<U(Vp(Y!b$n7`OY*gZr*grs'}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$ f!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#MXX$k&j(Vp(Y!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El#M}Z#r(Ch(Vp(Y!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;'S*g;'S;=`+Z<%lO*g(El#NyX$Q(Ch(Vp(Y!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El$ oX#s(Ch(Vp(Y!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g*)x$!ga#`*!Y$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(K[$#w_#k(Cl$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x$%Vag!*r#s(Ch$f#|$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$'f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$&g_#s(Ch$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$'qa#r(Ch$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$)R`#r(Ch$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(Kd$*`a(q(Ct$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$+p`$i&j#{(Ch(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`$,}_!|$Ip$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f$.X_!S0,v$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$/]Z$i&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;'S$0O;'S;=`$4i<%lO$0O(n$0VT_#S$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$0kO_#S(n$0p[$i&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;'S&c;'S;=`&w<%lO&c(n$1kZ$i&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$2cZ$i&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$3ZZ$i&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!Y#)l$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$6U`#x(Ch$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;p$7c_$i&j(Vp(Y!b(`+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$8qk$i&j(Vp(Y!b(S,2j$_#t(d$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;'S$8b;'S;=`$<l<%lO$8b+d$:qk$i&j(Vp(Y!b$_#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;'S$:f;'S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X!_#Hb(Vp(Y!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g,#x$=sa(x+JY$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;'S%Z;'S;=`+a<%lO%Z)>v$?V_!^(CdvBr$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z?O$@a_!q7`$i&j(Vp(Y!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$Aq|$i&j(Vp(Y!b'{0/l$]#t(S,2j(d$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Vp(Y!b'|0/l$]#t(S,2j(d$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[pVe,mVe,gVe,vVe,2,3,4,5,6,7,8,9,10,11,12,13,14,hVe,new R9("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(b~~",141,339),new R9("j~RQYZXz{^~^O(P~~aP!P!Qd~iO(Q~~",25,322)],topRules:{Script:[0,7],SingleExpression:[1,275],SingleClassItem:[2,276]},dialects:{jsx:0,ts:15098},dynamicPrecedences:{80:1,82:1,94:1,169:1,199:1},specialized:[{term:326,get:e=>bVe[e]||-1},{term:342,get:e=>OVe[e]||-1},{term:95,get:e=>SVe[e]||-1}],tokenPrec:15124});var l1={},Mf={},e2={},o1={},DP={},ZX;function xVe(){return ZX||(ZX=1,Object.defineProperty(DP,"__esModule",{value:!0})),DP}var t2={},n2={},HX;function Sb(){var t,n,r,i,a,xge,l;if(HX)return n2;HX=1,Object.defineProperty(n2,"__esModule",{value:!0}),n2.CronField=void 0;let e=(l=class{constructor(s,c={rawValue:""}){Vi(this,a);Vi(this,t,!1);Vi(this,n,!1);Vi(this,r,!1);Vi(this,i,[]);u_(this,"options",{rawValue:""});if(!Array.isArray(s))throw new Error(`${this.constructor.name} Validation error, values is not an array`);if(!(s.length>0))throw new Error(`${this.constructor.name} Validation error, values contains no values`);this.options={...c,rawValue:c.rawValue??""},wn(this,i,s.sort(l.sorter)),wn(this,r,this.options.wildcard!==void 0?this.options.wildcard:Un(this,a,xge).call(this)),wn(this,t,this.options.rawValue.includes("L")),wn(this,n,this.options.rawValue.includes("?"))}static get min(){throw new Error("min must be overridden")}static get max(){throw new Error("max must be overridden")}static get chars(){return Object.freeze([])}static get validChars(){return/^[?,*\dH/-]+$|^.*H\(\d+-\d+\)\/\d+.*$|^.*H\(\d+-\d+\).*$|^.*H\/\d+.*$/}static get constraints(){return{min:this.min,max:this.max,chars:this.chars,validChars:this.validChars}}get min(){return this.constructor.min}get max(){return this.constructor.max}get chars(){return this.constructor.chars}get hasLastChar(){return bt(this,t)}get hasQuestionMarkChar(){return bt(this,n)}get isWildcard(){return bt(this,r)}get values(){return bt(this,i)}static sorter(s,c){const d=typeof s=="number",h=typeof c=="number";return d&&h?s-c:!d&&!h?s.localeCompare(c):d?-1:1}serialize(){return{wildcard:bt(this,r),values:bt(this,i)}}validate(){let s;const c=this.chars.length>0?` or chars ${this.chars.join("")}`:"",d=v=>_=>new RegExp(`^\\d{0,2}${_}$`).test(v),h=v=>(s=v,typeof v=="number"?v>=this.min&&v<=this.max:this.chars.some(d(v)));if(!bt(this,i).every(h))throw new Error(`${this.constructor.name} Validation error, got value ${s} expected range ${this.min}-${this.max}${c}`);const y=bt(this,i).find((v,_)=>bt(this,i).indexOf(v)!==_);if(y)throw new Error(`${this.constructor.name} Validation error, duplicate values found: ${y}`)}},t=new WeakMap,n=new WeakMap,r=new WeakMap,i=new WeakMap,a=new WeakSet,xge=function(){return this.options.rawValue.length>0?["*","?"].includes(this.options.rawValue):Array.from({length:this.max-this.min+1},(s,c)=>c+this.min).every(s=>bt(this,i).includes(s))},l);return n2.CronField=e,n2}var XX;function _Ve(){if(XX)return t2;XX=1,Object.defineProperty(t2,"__esModule",{value:!0}),t2.CronDayOfMonth=void 0;const e=Sb(),t=1,n=31,r=Object.freeze(["L"]);let i=class extends e.CronField{static get min(){return t}static get max(){return n}static get chars(){return r}static get validChars(){return/^[?,*\dLH/-]+$|^.*H\(\d+-\d+\)\/\d+.*$|^.*H\(\d+-\d+\).*$|^.*H\/\d+.*$/}constructor(u,l){super(u,l),this.validate()}get values(){return super.values}};return t2.CronDayOfMonth=i,t2}var r2={},YX;function EVe(){if(YX)return r2;YX=1,Object.defineProperty(r2,"__esModule",{value:!0}),r2.CronDayOfWeek=void 0;const e=Sb(),t=0,n=7,r=Object.freeze(["L"]);let i=class extends e.CronField{static get min(){return t}static get max(){return n}static get chars(){return r}static get validChars(){return/^[?,*\dLH#/-]+$|^.*H\(\d+-\d+\)\/\d+.*$|^.*H\(\d+-\d+\).*$|^.*H\/\d+.*$/}constructor(u,l){super(u,l),this.validate()}get values(){return super.values}get nthDay(){return this.options.nthDayOfWeek??0}};return r2.CronDayOfWeek=i,r2}var i2={},GX;function DVe(){if(GX)return i2;GX=1,Object.defineProperty(i2,"__esModule",{value:!0}),i2.CronHour=void 0;const e=Sb(),t=0,n=23,r=Object.freeze([]);let i=class extends e.CronField{static get min(){return t}static get max(){return n}static get chars(){return r}constructor(u,l){super(u,l),this.validate()}get values(){return super.values}};return i2.CronHour=i,i2}var a2={},KX;function $Ve(){if(KX)return a2;KX=1,Object.defineProperty(a2,"__esModule",{value:!0}),a2.CronMinute=void 0;const e=Sb(),t=0,n=59,r=Object.freeze([]);let i=class extends e.CronField{static get min(){return t}static get max(){return n}static get chars(){return r}constructor(u,l){super(u,l),this.validate()}get values(){return super.values}};return a2.CronMinute=i,a2}var u2={},$P={},Vc={},WX;function CVe(){if(WX)return Vc;WX=1,Object.defineProperty(Vc,"__esModule",{value:!0});class e extends Error{}class t extends e{constructor(I){super(`Invalid DateTime: ${I.toMessage()}`)}}class n extends e{constructor(I){super(`Invalid Interval: ${I.toMessage()}`)}}class r extends e{constructor(I){super(`Invalid Duration: ${I.toMessage()}`)}}class i extends e{}class a extends e{constructor(I){super(`Invalid unit ${I}`)}}class u extends e{}class l extends e{constructor(){super("Zone is an abstract class")}}const o="numeric",s="short",c="long",d={year:o,month:o,day:o},h={year:o,month:s,day:o},m={year:o,month:s,day:o,weekday:s},y={year:o,month:c,day:o},v={year:o,month:c,day:o,weekday:c},_={hour:o,minute:o},x={hour:o,minute:o,second:o},E={hour:o,minute:o,second:o,timeZoneName:s},w={hour:o,minute:o,second:o,timeZoneName:c},T={hour:o,minute:o,hourCycle:"h23"},R={hour:o,minute:o,second:o,hourCycle:"h23"},C={hour:o,minute:o,second:o,hourCycle:"h23",timeZoneName:s},k={hour:o,minute:o,second:o,hourCycle:"h23",timeZoneName:c},F={year:o,month:o,day:o,hour:o,minute:o},z={year:o,month:o,day:o,hour:o,minute:o,second:o},Z={year:o,month:s,day:o,hour:o,minute:o},q={year:o,month:s,day:o,hour:o,minute:o,second:o},j={year:o,month:s,day:o,weekday:s,hour:o,minute:o},N={year:o,month:c,day:o,hour:o,minute:o,timeZoneName:s},V={year:o,month:c,day:o,hour:o,minute:o,second:o,timeZoneName:s},W={year:o,month:c,day:o,weekday:c,hour:o,minute:o,timeZoneName:c},G={year:o,month:c,day:o,weekday:c,hour:o,minute:o,second:o,timeZoneName:c};class J{get type(){throw new l}get name(){throw new l}get ianaName(){return this.name}get isUniversal(){throw new l}offsetName(I,re){throw new l}formatOffset(I,re){throw new l}offset(I){throw new l}equals(I){throw new l}get isValid(){throw new l}}let te=null;class X extends J{static get instance(){return te===null&&(te=new X),te}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(I,{format:re,locale:fe}){return fc(I,re,fe)}formatOffset(I,re){return Ss(this.offset(I),re)}offset(I){return-new Date(I).getTimezoneOffset()}equals(I){return I.type==="system"}get isValid(){return!0}}const M=new Map;function K(ue){let I=M.get(ue);return I===void 0&&(I=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:ue,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),M.set(ue,I)),I}const Y={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function B(ue,I){const re=ue.format(I).replace(/\u200E/g,""),fe=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(re),[,Se,Te,Qe,Be,je,Ct,Gt]=fe;return[Qe,Se,Te,Be,je,Ct,Gt]}function ne(ue,I){const re=ue.formatToParts(I),fe=[];for(let Se=0;Se<re.length;Se++){const{type:Te,value:Qe}=re[Se],Be=Y[Te];Te==="era"?fe[Be]=Qe:Pt(Be)||(fe[Be]=parseInt(Qe,10))}return fe}const oe=new Map;class ae extends J{static create(I){let re=oe.get(I);return re===void 0&&oe.set(I,re=new ae(I)),re}static resetCache(){oe.clear(),M.clear()}static isValidSpecifier(I){return this.isValidZone(I)}static isValidZone(I){if(!I)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:I}).format(),!0}catch{return!1}}constructor(I){super(),this.zoneName=I,this.valid=ae.isValidZone(I)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(I,{format:re,locale:fe}){return fc(I,re,fe,this.name)}formatOffset(I,re){return Ss(this.offset(I),re)}offset(I){if(!this.valid)return NaN;const re=new Date(I);if(isNaN(re))return NaN;const fe=K(this.name);let[Se,Te,Qe,Be,je,Ct,Gt]=fe.formatToParts?ne(fe,re):B(fe,re);Be==="BC"&&(Se=-Math.abs(Se)+1);const sn=ja({year:Se,month:Te,day:Qe,hour:je===24?0:je,minute:Ct,second:Gt,millisecond:0});let gn=+re;const Ei=gn%1e3;return gn-=Ei>=0?Ei:1e3+Ei,(sn-gn)/(60*1e3)}equals(I){return I.type==="iana"&&I.name===this.name}get isValid(){return this.valid}}let de={};function be(ue,I={}){const re=JSON.stringify([ue,I]);let fe=de[re];return fe||(fe=new Intl.ListFormat(ue,I),de[re]=fe),fe}const ye=new Map;function pe(ue,I={}){const re=JSON.stringify([ue,I]);let fe=ye.get(re);return fe===void 0&&(fe=new Intl.DateTimeFormat(ue,I),ye.set(re,fe)),fe}const _e=new Map;function se(ue,I={}){const re=JSON.stringify([ue,I]);let fe=_e.get(re);return fe===void 0&&(fe=new Intl.NumberFormat(ue,I),_e.set(re,fe)),fe}const me=new Map;function ge(ue,I={}){const{base:re,...fe}=I,Se=JSON.stringify([ue,fe]);let Te=me.get(Se);return Te===void 0&&(Te=new Intl.RelativeTimeFormat(ue,I),me.set(Se,Te)),Te}let we=null;function Ne(){return we||(we=new Intl.DateTimeFormat().resolvedOptions().locale,we)}const Re=new Map;function et(ue){let I=Re.get(ue);return I===void 0&&(I=new Intl.DateTimeFormat(ue).resolvedOptions(),Re.set(ue,I)),I}const tt=new Map;function Oe(ue){let I=tt.get(ue);if(!I){const re=new Intl.Locale(ue);I="getWeekInfo"in re?re.getWeekInfo():re.weekInfo,"minimalDays"in I||(I={...Nt,...I}),tt.set(ue,I)}return I}function $e(ue){const I=ue.indexOf("-x-");I!==-1&&(ue=ue.substring(0,I));const re=ue.indexOf("-u-");if(re===-1)return[ue];{let fe,Se;try{fe=pe(ue).resolvedOptions(),Se=ue}catch{const je=ue.substring(0,re);fe=pe(je).resolvedOptions(),Se=je}const{numberingSystem:Te,calendar:Qe}=fe;return[Se,Te,Qe]}}function Ae(ue,I,re){return(re||I)&&(ue.includes("-u-")||(ue+="-u"),re&&(ue+=`-ca-${re}`),I&&(ue+=`-nu-${I}`)),ue}function Ue(ue){const I=[];for(let re=1;re<=12;re++){const fe=hn.utc(2009,re,1);I.push(ue(fe))}return I}function Ze(ue){const I=[];for(let re=1;re<=7;re++){const fe=hn.utc(2016,11,13+re);I.push(ue(fe))}return I}function Ye(ue,I,re,fe){const Se=ue.listingMode();return Se==="error"?null:Se==="en"?re(I):fe(I)}function Me(ue){return ue.numberingSystem&&ue.numberingSystem!=="latn"?!1:ue.numberingSystem==="latn"||!ue.locale||ue.locale.startsWith("en")||et(ue.locale).numberingSystem==="latn"}class ze{constructor(I,re,fe){this.padTo=fe.padTo||0,this.floor=fe.floor||!1;const{padTo:Se,floor:Te,...Qe}=fe;if(!re||Object.keys(Qe).length>0){const Be={useGrouping:!1,...fe};fe.padTo>0&&(Be.minimumIntegerDigits=fe.padTo),this.inf=se(I,Be)}}format(I){if(this.inf){const re=this.floor?Math.floor(I):I;return this.inf.format(re)}else{const re=this.floor?Math.floor(I):hf(I,3);return Pr(re,this.padTo)}}}class st{constructor(I,re,fe){this.opts=fe,this.originalZone=void 0;let Se;if(this.opts.timeZone)this.dt=I;else if(I.zone.type==="fixed"){const Qe=-1*(I.offset/60),Be=Qe>=0?`Etc/GMT+${Qe}`:`Etc/GMT${Qe}`;I.offset!==0&&ae.create(Be).valid?(Se=Be,this.dt=I):(Se="UTC",this.dt=I.offset===0?I:I.setZone("UTC").plus({minutes:I.offset}),this.originalZone=I.zone)}else I.zone.type==="system"?this.dt=I:I.zone.type==="iana"?(this.dt=I,Se=I.zone.name):(Se="UTC",this.dt=I.setZone("UTC").plus({minutes:I.offset}),this.originalZone=I.zone);const Te={...this.opts};Te.timeZone=Te.timeZone||Se,this.dtf=pe(re,Te)}format(){return this.originalZone?this.formatToParts().map(({value:I})=>I).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const I=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?I.map(re=>{if(re.type==="timeZoneName"){const fe=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...re,value:fe}}else return re}):I}resolvedOptions(){return this.dtf.resolvedOptions()}}class Ot{constructor(I,re,fe){this.opts={style:"long",...fe},!re&&ro()&&(this.rtf=ge(I,fe))}format(I,re){return this.rtf?this.rtf.format(I,re):pc(re,I,this.opts.numeric,this.opts.style!=="long")}formatToParts(I,re){return this.rtf?this.rtf.formatToParts(I,re):[]}}const Nt={firstDay:1,minimalDays:4,weekend:[6,7]};class gt{static fromOpts(I){return gt.create(I.locale,I.numberingSystem,I.outputCalendar,I.weekSettings,I.defaultToEN)}static create(I,re,fe,Se,Te=!1){const Qe=I||dt.defaultLocale,Be=Qe||(Te?"en-US":Ne()),je=re||dt.defaultNumberingSystem,Ct=fe||dt.defaultOutputCalendar,Gt=bs(Se)||dt.defaultWeekSettings;return new gt(Be,je,Ct,Gt,Qe)}static resetCache(){we=null,ye.clear(),_e.clear(),me.clear(),Re.clear(),tt.clear()}static fromObject({locale:I,numberingSystem:re,outputCalendar:fe,weekSettings:Se}={}){return gt.create(I,re,fe,Se)}constructor(I,re,fe,Se,Te){const[Qe,Be,je]=$e(I);this.locale=Qe,this.numberingSystem=re||Be||null,this.outputCalendar=fe||je||null,this.weekSettings=Se,this.intl=Ae(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=Te,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Me(this)),this.fastNumbersCached}listingMode(){const I=this.isEnglish(),re=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return I&&re?"en":"intl"}clone(I){return!I||Object.getOwnPropertyNames(I).length===0?this:gt.create(I.locale||this.specifiedLocale,I.numberingSystem||this.numberingSystem,I.outputCalendar||this.outputCalendar,bs(I.weekSettings)||this.weekSettings,I.defaultToEN||!1)}redefaultToEN(I={}){return this.clone({...I,defaultToEN:!0})}redefaultToSystem(I={}){return this.clone({...I,defaultToEN:!1})}months(I,re=!1){return Ye(this,I,yp,()=>{const fe=this.intl==="ja"||this.intl.startsWith("ja-");re&=!fe;const Se=re?{month:I,day:"numeric"}:{month:I},Te=re?"format":"standalone";if(!this.monthsCache[Te][I]){const Qe=fe?Be=>this.dtFormatter(Be,Se).format():Be=>this.extract(Be,Se,"month");this.monthsCache[Te][I]=Ue(Qe)}return this.monthsCache[Te][I]})}weekdays(I,re=!1){return Ye(this,I,oh,()=>{const fe=re?{weekday:I,year:"numeric",month:"long",day:"numeric"}:{weekday:I},Se=re?"format":"standalone";return this.weekdaysCache[Se][I]||(this.weekdaysCache[Se][I]=Ze(Te=>this.extract(Te,fe,"weekday"))),this.weekdaysCache[Se][I]})}meridiems(){return Ye(this,void 0,()=>_s,()=>{if(!this.meridiemCache){const I={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[hn.utc(2016,11,13,9),hn.utc(2016,11,13,19)].map(re=>this.extract(re,I,"dayperiod"))}return this.meridiemCache})}eras(I){return Ye(this,I,Op,()=>{const re={era:I};return this.eraCache[I]||(this.eraCache[I]=[hn.utc(-40,1,1),hn.utc(2017,1,1)].map(fe=>this.extract(fe,re,"era"))),this.eraCache[I]})}extract(I,re,fe){const Se=this.dtFormatter(I,re),Te=Se.formatToParts(),Qe=Te.find(Be=>Be.type.toLowerCase()===fe);return Qe?Qe.value:null}numberFormatter(I={}){return new ze(this.intl,I.forceSimple||this.fastNumbers,I)}dtFormatter(I,re={}){return new st(I,this.intl,re)}relFormatter(I={}){return new Ot(this.intl,this.isEnglish(),I)}listFormatter(I={}){return be(this.intl,I)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||et(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Hn()?Oe(this.locale):Nt}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(I){return this.locale===I.locale&&this.numberingSystem===I.numberingSystem&&this.outputCalendar===I.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let qt=null;class zt extends J{static get utcInstance(){return qt===null&&(qt=new zt(0)),qt}static instance(I){return I===0?zt.utcInstance:new zt(I)}static parseSpecifier(I){if(I){const re=I.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(re)return new zt(dc(re[1],re[2]))}return null}constructor(I){super(),this.fixed=I}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Ss(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(I,re){return Ss(this.fixed,re)}get isUniversal(){return!0}offset(){return this.fixed}equals(I){return I.type==="fixed"&&I.fixed===this.fixed}get isValid(){return!0}}class rn extends J{constructor(I){super(),this.zoneName=I}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(ue,I){if(Pt(ue)||ue===null)return I;if(ue instanceof J)return ue;if(ei(ue)){const re=ue.toLowerCase();return re==="default"?I:re==="local"||re==="system"?X.instance:re==="utc"||re==="gmt"?zt.utcInstance:zt.parseSpecifier(re)||ae.create(ue)}else return sa(ue)?zt.instance(ue):typeof ue=="object"&&"offset"in ue&&typeof ue.offset=="function"?ue:new rn(ue)}const Fe={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[０-９]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ht={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Tt=Fe.hanidec.replace(/[\[|\]]/g,"").split("");function Qt(ue){let I=parseInt(ue,10);if(isNaN(I)){I="";for(let re=0;re<ue.length;re++){const fe=ue.charCodeAt(re);if(ue[re].search(Fe.hanidec)!==-1)I+=Tt.indexOf(ue[re]);else for(const Se in ht){const[Te,Qe]=ht[Se];fe>=Te&&fe<=Qe&&(I+=fe-Te)}}return parseInt(I,10)}else return I}const an=new Map;function In(){an.clear()}function un({numberingSystem:ue},I=""){const re=ue||"latn";let fe=an.get(re);fe===void 0&&(fe=new Map,an.set(re,fe));let Se=fe.get(I);return Se===void 0&&(Se=new RegExp(`${Fe[re]}${I}`),fe.set(I,Se)),Se}let jn=()=>Date.now(),sr="system",ar=null,Dr=null,zr=null,ke=60,He,nt=null;class dt{static get now(){return jn}static set now(I){jn=I}static set defaultZone(I){sr=I}static get defaultZone(){return nn(sr,X.instance)}static get defaultLocale(){return ar}static set defaultLocale(I){ar=I}static get defaultNumberingSystem(){return Dr}static set defaultNumberingSystem(I){Dr=I}static get defaultOutputCalendar(){return zr}static set defaultOutputCalendar(I){zr=I}static get defaultWeekSettings(){return nt}static set defaultWeekSettings(I){nt=bs(I)}static get twoDigitCutoffYear(){return ke}static set twoDigitCutoffYear(I){ke=I%100}static get throwOnInvalid(){return He}static set throwOnInvalid(I){He=I}static resetCaches(){gt.resetCache(),ae.resetCache(),hn.resetCache(),In()}}class $t{constructor(I,re){this.reason=I,this.explanation=re}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Ut=[0,31,59,90,120,151,181,212,243,273,304,334],Zt=[0,31,60,91,121,152,182,213,244,274,305,335];function Lt(ue,I){return new $t("unit out of range",`you specified ${I} (of type ${typeof I}) as a ${ue}, which is invalid`)}function Vt(ue,I,re){const fe=new Date(Date.UTC(ue,I-1,re));ue<100&&ue>=0&&fe.setUTCFullYear(fe.getUTCFullYear()-1900);const Se=fe.getUTCDay();return Se===0?7:Se}function en(ue,I,re){return re+(Fo(ue)?Zt:Ut)[I-1]}function tn(ue,I){const re=Fo(ue)?Zt:Ut,fe=re.findIndex(Te=>Te<I),Se=I-re[fe];return{month:fe+1,day:Se}}function Rt(ue,I){return(ue-I+7)%7+1}function on(ue,I=4,re=1){const{year:fe,month:Se,day:Te}=ue,Qe=en(fe,Se,Te),Be=Rt(Vt(fe,Se,Te),re);let je=Math.floor((Qe-Be+14-I)/7),Ct;return je<1?(Ct=fe-1,je=Os(Ct,I,re)):je>Os(fe,I,re)?(Ct=fe+1,je=1):Ct=fe,{weekYear:Ct,weekNumber:je,weekday:Be,...xs(ue)}}function mr(ue,I=4,re=1){const{weekYear:fe,weekNumber:Se,weekday:Te}=ue,Qe=Rt(Vt(fe,1,I),re),Be=wl(fe);let je=Se*7+Te-Qe-7+I,Ct;je<1?(Ct=fe-1,je+=wl(Ct)):je>Be?(Ct=fe+1,je-=wl(fe)):Ct=fe;const{month:Gt,day:Bn}=tn(Ct,je);return{year:Ct,month:Gt,day:Bn,...xs(ue)}}function ki(ue){const{year:I,month:re,day:fe}=ue,Se=en(I,re,fe);return{year:I,ordinal:Se,...xs(ue)}}function _a(ue){const{year:I,ordinal:re}=ue,{month:fe,day:Se}=tn(I,re);return{year:I,month:fe,day:Se,...xs(ue)}}function pi(ue,I){if(!Pt(ue.localWeekday)||!Pt(ue.localWeekNumber)||!Pt(ue.localWeekYear)){if(!Pt(ue.weekday)||!Pt(ue.weekNumber)||!Pt(ue.weekYear))throw new i("Cannot mix locale-based week fields with ISO-based week fields");return Pt(ue.localWeekday)||(ue.weekday=ue.localWeekday),Pt(ue.localWeekNumber)||(ue.weekNumber=ue.localWeekNumber),Pt(ue.localWeekYear)||(ue.weekYear=ue.localWeekYear),delete ue.localWeekday,delete ue.localWeekNumber,delete ue.localWeekYear,{minDaysInFirstWeek:I.getMinDaysInFirstWeek(),startOfWeek:I.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function qr(ue,I=4,re=1){const fe=Ki(ue.weekYear),Se=Ea(ue.weekNumber,1,Os(ue.weekYear,I,re)),Te=Ea(ue.weekday,1,7);return fe?Se?Te?!1:Lt("weekday",ue.weekday):Lt("week",ue.weekNumber):Lt("weekYear",ue.weekYear)}function Du(ue){const I=Ki(ue.year),re=Ea(ue.ordinal,1,wl(ue.year));return I?re?!1:Lt("ordinal",ue.ordinal):Lt("year",ue.year)}function Cl(ue){const I=Ki(ue.year),re=Ea(ue.month,1,12),fe=Ea(ue.day,1,uh(ue.year,ue.month));return I?re?fe?!1:Lt("day",ue.day):Lt("month",ue.month):Lt("year",ue.year)}function Zr(ue){const{hour:I,minute:re,second:fe,millisecond:Se}=ue,Te=Ea(I,0,23)||I===24&&re===0&&fe===0&&Se===0,Qe=Ea(re,0,59),Be=Ea(fe,0,59),je=Ea(Se,0,999);return Te?Qe?Be?je?!1:Lt("millisecond",Se):Lt("second",fe):Lt("minute",re):Lt("hour",I)}function Pt(ue){return typeof ue>"u"}function sa(ue){return typeof ue=="number"}function Ki(ue){return typeof ue=="number"&&ue%1===0}function ei(ue){return typeof ue=="string"}function $u(ue){return Object.prototype.toString.call(ue)==="[object Date]"}function ro(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Hn(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function mi(ue){return Array.isArray(ue)?ue:[ue]}function vs(ue,I,re){if(ue.length!==0)return ue.reduce((fe,Se)=>{const Te=[I(Se),Se];return fe&&re(fe[0],Te[0])===fe[0]?fe:Te},null)[1]}function ys(ue,I){return I.reduce((re,fe)=>(re[fe]=ue[fe],re),{})}function ti(ue,I){return Object.prototype.hasOwnProperty.call(ue,I)}function bs(ue){if(ue==null)return null;if(typeof ue!="object")throw new u("Week settings must be an object");if(!Ea(ue.firstDay,1,7)||!Ea(ue.minimalDays,1,7)||!Array.isArray(ue.weekend)||ue.weekend.some(I=>!Ea(I,1,7)))throw new u("Invalid week settings");return{firstDay:ue.firstDay,minimalDays:ue.minimalDays,weekend:Array.from(ue.weekend)}}function Ea(ue,I,re){return Ki(ue)&&ue>=I&&ue<=re}function cc(ue,I){return ue-I*Math.floor(ue/I)}function Pr(ue,I=2){const re=ue<0;let fe;return re?fe="-"+(""+-ue).padStart(I,"0"):fe=(""+ue).padStart(I,"0"),fe}function Wi(ue){if(!(Pt(ue)||ue===null||ue===""))return parseInt(ue,10)}function Mo(ue){if(!(Pt(ue)||ue===null||ue===""))return parseFloat(ue)}function vp(ue){if(!(Pt(ue)||ue===null||ue==="")){const I=parseFloat("0."+ue)*1e3;return Math.floor(I)}}function hf(ue,I,re="round"){const fe=10**I;switch(re){case"expand":return ue>0?Math.ceil(ue*fe)/fe:Math.floor(ue*fe)/fe;case"trunc":return Math.trunc(ue*fe)/fe;case"round":return Math.round(ue*fe)/fe;case"floor":return Math.floor(ue*fe)/fe;case"ceil":return Math.ceil(ue*fe)/fe;default:throw new RangeError(`Value rounding ${re} is out of range`)}}function Fo(ue){return ue%4===0&&(ue%100!==0||ue%400===0)}function wl(ue){return Fo(ue)?366:365}function uh(ue,I){const re=cc(I-1,12)+1,fe=ue+(I-re)/12;return re===2?Fo(fe)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][re-1]}function ja(ue){let I=Date.UTC(ue.year,ue.month-1,ue.day,ue.hour,ue.minute,ue.second,ue.millisecond);return ue.year<100&&ue.year>=0&&(I=new Date(I),I.setUTCFullYear(ue.year,ue.month-1,ue.day)),+I}function Jf(ue,I,re){return-Rt(Vt(ue,1,I),re)+I-1}function Os(ue,I=4,re=1){const fe=Jf(ue,I,re),Se=Jf(ue+1,I,re);return(wl(ue)-fe+Se)/7}function ed(ue){return ue>99?ue:ue>dt.twoDigitCutoffYear?1900+ue:2e3+ue}function fc(ue,I,re,fe=null){const Se=new Date(ue),Te={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};fe&&(Te.timeZone=fe);const Qe={timeZoneName:I,...Te},Be=new Intl.DateTimeFormat(re,Qe).formatToParts(Se).find(je=>je.type.toLowerCase()==="timezonename");return Be?Be.value:null}function dc(ue,I){let re=parseInt(ue,10);Number.isNaN(re)&&(re=0);const fe=parseInt(I,10)||0,Se=re<0||Object.is(re,-0)?-fe:fe;return re*60+Se}function No(ue){const I=Number(ue);if(typeof ue=="boolean"||ue===""||!Number.isFinite(I))throw new u(`Invalid unit value ${ue}`);return I}function Cu(ue,I){const re={};for(const fe in ue)if(ti(ue,fe)){const Se=ue[fe];if(Se==null)continue;re[I(fe)]=No(Se)}return re}function Ss(ue,I){const re=Math.trunc(Math.abs(ue/60)),fe=Math.trunc(Math.abs(ue%60)),Se=ue>=0?"+":"-";switch(I){case"short":return`${Se}${Pr(re,2)}:${Pr(fe,2)}`;case"narrow":return`${Se}${re}${fe>0?`:${fe}`:""}`;case"techie":return`${Se}${Pr(re,2)}${Pr(fe,2)}`;default:throw new RangeError(`Value format ${I} is out of range for property format`)}}function xs(ue){return ys(ue,["hour","minute","second","millisecond"])}const B0=["January","February","March","April","May","June","July","August","September","October","November","December"],pf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Q0=["J","F","M","A","M","J","J","A","S","O","N","D"];function yp(ue){switch(ue){case"narrow":return[...Q0];case"short":return[...pf];case"long":return[...B0];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const mf=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],io=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],lh=["M","T","W","T","F","S","S"];function oh(ue){switch(ue){case"narrow":return[...lh];case"short":return[...io];case"long":return[...mf];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const _s=["AM","PM"],hc=["Before Christ","Anno Domini"],z0=["BC","AD"],bp=["B","A"];function Op(ue){switch(ue){case"narrow":return[...bp];case"short":return[...z0];case"long":return[...hc];default:return null}}function Es(ue){return _s[ue.hour<12?0:1]}function Io(ue,I){return oh(I)[ue.weekday-1]}function Sp(ue,I){return yp(I)[ue.month-1]}function sh(ue,I){return Op(I)[ue.year<0?0:1]}function pc(ue,I,re="always",fe=!1){const Se={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},Te=["hours","minutes","seconds"].indexOf(ue)===-1;if(re==="auto"&&Te){const Bn=ue==="days";switch(I){case 1:return Bn?"tomorrow":`next ${Se[ue][0]}`;case-1:return Bn?"yesterday":`last ${Se[ue][0]}`;case 0:return Bn?"today":`this ${Se[ue][0]}`}}const Qe=Object.is(I,-0)||I<0,Be=Math.abs(I),je=Be===1,Ct=Se[ue],Gt=fe?je?Ct[1]:Ct[2]||Ct[1]:je?Se[ue][0]:ue;return Qe?`${Be} ${Gt} ago`:`in ${Be} ${Gt}`}function ch(ue,I){let re="";for(const fe of ue)fe.literal?re+=fe.val:re+=I(fe.val);return re}const $r={D:d,DD:h,DDD:y,DDDD:v,t:_,tt:x,ttt:E,tttt:w,T,TT:R,TTT:C,TTTT:k,f:F,ff:Z,fff:N,ffff:W,F:z,FF:q,FFF:V,FFFF:G};class Ln{static create(I,re={}){return new Ln(I,re)}static parseFormat(I){let re=null,fe="",Se=!1;const Te=[];for(let Qe=0;Qe<I.length;Qe++){const Be=I.charAt(Qe);Be==="'"?((fe.length>0||Se)&&Te.push({literal:Se||/^\s+$/.test(fe),val:fe===""?"'":fe}),re=null,fe="",Se=!Se):Se||Be===re?fe+=Be:(fe.length>0&&Te.push({literal:/^\s+$/.test(fe),val:fe}),fe=Be,re=Be)}return fe.length>0&&Te.push({literal:Se||/^\s+$/.test(fe),val:fe}),Te}static macroTokenToFormatOpts(I){return $r[I]}constructor(I,re){this.opts=re,this.loc=I,this.systemLoc=null}formatWithSystemDefault(I,re){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(I,{...this.opts,...re}).format()}dtFormatter(I,re={}){return this.loc.dtFormatter(I,{...this.opts,...re})}formatDateTime(I,re){return this.dtFormatter(I,re).format()}formatDateTimeParts(I,re){return this.dtFormatter(I,re).formatToParts()}formatInterval(I,re){return this.dtFormatter(I.start,re).dtf.formatRange(I.start.toJSDate(),I.end.toJSDate())}resolvedOptions(I,re){return this.dtFormatter(I,re).resolvedOptions()}num(I,re=0,fe=void 0){if(this.opts.forceSimple)return Pr(I,re);const Se={...this.opts};return re>0&&(Se.padTo=re),fe&&(Se.signDisplay=fe),this.loc.numberFormatter(Se).format(I)}formatDateTimeFromString(I,re){const fe=this.loc.listingMode()==="en",Se=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",Te=(gn,Ei)=>this.loc.extract(I,gn,Ei),Qe=gn=>I.isOffsetFixed&&I.offset===0&&gn.allowZ?"Z":I.isValid?I.zone.formatOffset(I.ts,gn.format):"",Be=()=>fe?Es(I):Te({hour:"numeric",hourCycle:"h12"},"dayperiod"),je=(gn,Ei)=>fe?Sp(I,gn):Te(Ei?{month:gn}:{month:gn,day:"numeric"},"month"),Ct=(gn,Ei)=>fe?Io(I,gn):Te(Ei?{weekday:gn}:{weekday:gn,month:"long",day:"numeric"},"weekday"),Gt=gn=>{const Ei=Ln.macroTokenToFormatOpts(gn);return Ei?this.formatWithSystemDefault(I,Ei):gn},Bn=gn=>fe?sh(I,gn):Te({era:gn},"era"),sn=gn=>{switch(gn){case"S":return this.num(I.millisecond);case"u":case"SSS":return this.num(I.millisecond,3);case"s":return this.num(I.second);case"ss":return this.num(I.second,2);case"uu":return this.num(Math.floor(I.millisecond/10),2);case"uuu":return this.num(Math.floor(I.millisecond/100));case"m":return this.num(I.minute);case"mm":return this.num(I.minute,2);case"h":return this.num(I.hour%12===0?12:I.hour%12);case"hh":return this.num(I.hour%12===0?12:I.hour%12,2);case"H":return this.num(I.hour);case"HH":return this.num(I.hour,2);case"Z":return Qe({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return Qe({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return Qe({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return I.zone.offsetName(I.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return I.zone.offsetName(I.ts,{format:"long",locale:this.loc.locale});case"z":return I.zoneName;case"a":return Be();case"d":return Se?Te({day:"numeric"},"day"):this.num(I.day);case"dd":return Se?Te({day:"2-digit"},"day"):this.num(I.day,2);case"c":return this.num(I.weekday);case"ccc":return Ct("short",!0);case"cccc":return Ct("long",!0);case"ccccc":return Ct("narrow",!0);case"E":return this.num(I.weekday);case"EEE":return Ct("short",!1);case"EEEE":return Ct("long",!1);case"EEEEE":return Ct("narrow",!1);case"L":return Se?Te({month:"numeric",day:"numeric"},"month"):this.num(I.month);case"LL":return Se?Te({month:"2-digit",day:"numeric"},"month"):this.num(I.month,2);case"LLL":return je("short",!0);case"LLLL":return je("long",!0);case"LLLLL":return je("narrow",!0);case"M":return Se?Te({month:"numeric"},"month"):this.num(I.month);case"MM":return Se?Te({month:"2-digit"},"month"):this.num(I.month,2);case"MMM":return je("short",!1);case"MMMM":return je("long",!1);case"MMMMM":return je("narrow",!1);case"y":return Se?Te({year:"numeric"},"year"):this.num(I.year);case"yy":return Se?Te({year:"2-digit"},"year"):this.num(I.year.toString().slice(-2),2);case"yyyy":return Se?Te({year:"numeric"},"year"):this.num(I.year,4);case"yyyyyy":return Se?Te({year:"numeric"},"year"):this.num(I.year,6);case"G":return Bn("short");case"GG":return Bn("long");case"GGGGG":return Bn("narrow");case"kk":return this.num(I.weekYear.toString().slice(-2),2);case"kkkk":return this.num(I.weekYear,4);case"W":return this.num(I.weekNumber);case"WW":return this.num(I.weekNumber,2);case"n":return this.num(I.localWeekNumber);case"nn":return this.num(I.localWeekNumber,2);case"ii":return this.num(I.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(I.localWeekYear,4);case"o":return this.num(I.ordinal);case"ooo":return this.num(I.ordinal,3);case"q":return this.num(I.quarter);case"qq":return this.num(I.quarter,2);case"X":return this.num(Math.floor(I.ts/1e3));case"x":return this.num(I.ts);default:return Gt(gn)}};return ch(Ln.parseFormat(re),sn)}formatDurationFromString(I,re){const fe=this.opts.signMode==="negativeLargestOnly"?-1:1,Se=Gt=>{switch(Gt[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},Te=(Gt,Bn)=>sn=>{const gn=Se(sn);if(gn){const Ei=Bn.isNegativeDuration&&gn!==Bn.largestUnit?fe:1;let La;return this.opts.signMode==="negativeLargestOnly"&&gn!==Bn.largestUnit?La="never":this.opts.signMode==="all"?La="always":La="auto",this.num(Gt.get(gn)*Ei,sn.length,La)}else return sn},Qe=Ln.parseFormat(re),Be=Qe.reduce((Gt,{literal:Bn,val:sn})=>Bn?Gt:Gt.concat(sn),[]),je=I.shiftTo(...Be.map(Se).filter(Gt=>Gt)),Ct={isNegativeDuration:je<0,largestUnit:Object.keys(je.values)[0]};return ch(Qe,Te(je,Ct))}}const mc=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Lo(...ue){const I=ue.reduce((re,fe)=>re+fe.source,"");return RegExp(`^${I}$`)}function gc(...ue){return I=>ue.reduce(([re,fe,Se],Te)=>{const[Qe,Be,je]=Te(I,Se);return[{...re,...Qe},Be||fe,je]},[{},null,1]).slice(0,2)}function Ji(ue,...I){if(ue==null)return[null,null];for(const[re,fe]of I){const Se=re.exec(ue);if(Se)return fe(Se)}return[null,null]}function Ds(...ue){return(I,re)=>{const fe={};let Se;for(Se=0;Se<ue.length;Se++)fe[ue[Se]]=Wi(I[re+Se]);return[fe,null,re+Se]}}const td=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,Rl=`(?:${td.source}?(?:\\[(${mc.source})\\])?)?`,nd=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,ea=RegExp(`${nd.source}${Rl}`),$s=RegExp(`(?:[Tt]${ea.source})?`),Al=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,rd=/(\d{4})-?W(\d\d)(?:-?(\d))?/,xp=/(\d{4})-?(\d{3})/,ni=Ds("weekYear","weekNumber","weekDay"),q0=Ds("year","ordinal"),V0=/(\d{4})-(\d\d)-(\d\d)/,id=RegExp(`${nd.source} ?(?:${td.source}|(${mc.source}))?`),U0=RegExp(`(?: ${id.source})?`);function vc(ue,I,re){const fe=ue[I];return Pt(fe)?re:Wi(fe)}function ad(ue,I){return[{year:vc(ue,I),month:vc(ue,I+1,1),day:vc(ue,I+2,1)},null,I+3]}function ca(ue,I){return[{hours:vc(ue,I,0),minutes:vc(ue,I+1,0),seconds:vc(ue,I+2,0),milliseconds:vp(ue[I+3])},null,I+4]}function ud(ue,I){const re=!ue[I]&&!ue[I+1],fe=dc(ue[I+1],ue[I+2]),Se=re?null:zt.instance(fe);return[{},Se,I+3]}function Na(ue,I){const re=ue[I]?ae.create(ue[I]):null;return[{},re,I+1]}const hg=RegExp(`^T?${nd.source}$`),_p=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Bo(ue){const[I,re,fe,Se,Te,Qe,Be,je,Ct]=ue,Gt=I[0]==="-",Bn=je&&je[0]==="-",sn=(gn,Ei=!1)=>gn!==void 0&&(Ei||gn&&Gt)?-gn:gn;return[{years:sn(Mo(re)),months:sn(Mo(fe)),weeks:sn(Mo(Se)),days:sn(Mo(Te)),hours:sn(Mo(Qe)),minutes:sn(Mo(Be)),seconds:sn(Mo(je),je==="-0"),milliseconds:sn(vp(Ct),Bn)}]}const fh={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Cs(ue,I,re,fe,Se,Te,Qe){const Be={year:I.length===2?ed(Wi(I)):Wi(I),month:pf.indexOf(re)+1,day:Wi(fe),hour:Wi(Se),minute:Wi(Te)};return Qe&&(Be.second=Wi(Qe)),ue&&(Be.weekday=ue.length>3?mf.indexOf(ue)+1:io.indexOf(ue)+1),Be}const gi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Qo(ue){const[,I,re,fe,Se,Te,Qe,Be,je,Ct,Gt,Bn]=ue,sn=Cs(I,Se,fe,re,Te,Qe,Be);let gn;return je?gn=fh[je]:Ct?gn=0:gn=dc(Gt,Bn),[sn,new zt(gn)]}function Ep(ue){return ue.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const Dp=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,$p=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ws=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Cp(ue){const[,I,re,fe,Se,Te,Qe,Be]=ue;return[Cs(I,Se,fe,re,Te,Qe,Be),zt.utcInstance]}function dy(ue){const[,I,re,fe,Se,Te,Qe,Be]=ue;return[Cs(I,Be,re,fe,Se,Te,Qe),zt.utcInstance]}const j0=Lo(Al,$s),ao=Lo(rd,$s),ju=Lo(xp,$s),Z0=Lo(ea),dh=gc(ad,ca,ud,Na),yc=gc(ni,ca,ud,Na),zo=gc(q0,ca,ud,Na),Rs=gc(ca,ud,Na);function Ia(ue){return Ji(ue,[j0,dh],[ao,yc],[ju,zo],[Z0,Rs])}function hh(ue){return Ji(Ep(ue),[gi,Qo])}function ph(ue){return Ji(ue,[Dp,Cp],[$p,Cp],[ws,dy])}function ld(ue){return Ji(ue,[_p,Bo])}const od=gc(ca);function As(ue){return Ji(ue,[hg,od])}const ou=Lo(V0,U0),wp=Lo(id),Za=gc(ca,ud,Na);function Rp(ue){return Ji(ue,[ou,dh],[wp,Za])}const sd="Invalid Duration",gf={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},cd={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...gf},Zu=146097/400,uo=146097/4800,H0={years:{quarters:4,months:12,weeks:Zu/7,days:Zu,hours:Zu*24,minutes:Zu*24*60,seconds:Zu*24*60*60,milliseconds:Zu*24*60*60*1e3},quarters:{months:3,weeks:Zu/28,days:Zu/4,hours:Zu*24/4,minutes:Zu*24*60/4,seconds:Zu*24*60*60/4,milliseconds:Zu*24*60*60*1e3/4},months:{weeks:uo/7,days:uo,hours:uo*24,minutes:uo*24*60,seconds:uo*24*60*60,milliseconds:uo*24*60*60*1e3},...gf},su=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vf=su.slice(0).reverse();function Sr(ue,I,re=!1){const fe={values:re?I.values:{...ue.values,...I.values||{}},loc:ue.loc.clone(I.loc),conversionAccuracy:I.conversionAccuracy||ue.conversionAccuracy,matrix:I.matrix||ue.matrix};return new Gn(fe)}function mh(ue,I){var re;let fe=(re=I.milliseconds)!=null?re:0;for(const Se of vf.slice(1))I[Se]&&(fe+=I[Se]*ue[Se].milliseconds);return fe}function Ap(ue,I){const re=mh(ue,I)<0?-1:1;su.reduceRight((fe,Se)=>{if(Pt(I[Se]))return fe;if(fe){const Te=I[fe]*re,Qe=ue[Se][fe],Be=Math.floor(Te/Qe);I[Se]+=Be*re,I[fe]-=Be*Qe*re}return Se},null),su.reduce((fe,Se)=>{if(Pt(I[Se]))return fe;if(fe){const Te=I[fe]%1;I[fe]-=Te,I[Se]+=Te*ue[fe][Se]}return Se},null)}function lo(ue){const I={};for(const[re,fe]of Object.entries(ue))fe!==0&&(I[re]=fe);return I}class Gn{constructor(I){const re=I.conversionAccuracy==="longterm"||!1;let fe=re?H0:cd;I.matrix&&(fe=I.matrix),this.values=I.values,this.loc=I.loc||gt.create(),this.conversionAccuracy=re?"longterm":"casual",this.invalid=I.invalid||null,this.matrix=fe,this.isLuxonDuration=!0}static fromMillis(I,re){return Gn.fromObject({milliseconds:I},re)}static fromObject(I,re={}){if(I==null||typeof I!="object")throw new u(`Duration.fromObject: argument expected to be an object, got ${I===null?"null":typeof I}`);return new Gn({values:Cu(I,Gn.normalizeUnit),loc:gt.fromObject(re),conversionAccuracy:re.conversionAccuracy,matrix:re.matrix})}static fromDurationLike(I){if(sa(I))return Gn.fromMillis(I);if(Gn.isDuration(I))return I;if(typeof I=="object")return Gn.fromObject(I);throw new u(`Unknown duration argument ${I} of type ${typeof I}`)}static fromISO(I,re){const[fe]=ld(I);return fe?Gn.fromObject(fe,re):Gn.invalid("unparsable",`the input "${I}" can't be parsed as ISO 8601`)}static fromISOTime(I,re){const[fe]=As(I);return fe?Gn.fromObject(fe,re):Gn.invalid("unparsable",`the input "${I}" can't be parsed as ISO 8601`)}static invalid(I,re=null){if(!I)throw new u("need to specify a reason the Duration is invalid");const fe=I instanceof $t?I:new $t(I,re);if(dt.throwOnInvalid)throw new r(fe);return new Gn({invalid:fe})}static normalizeUnit(I){const re={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[I&&I.toLowerCase()];if(!re)throw new a(I);return re}static isDuration(I){return I&&I.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(I,re={}){const fe={...re,floor:re.round!==!1&&re.floor!==!1};return this.isValid?Ln.create(this.loc,fe).formatDurationFromString(this,I):sd}toHuman(I={}){if(!this.isValid)return sd;const re=I.showZeros!==!1,fe=su.map(Se=>{const Te=this.values[Se];return Pt(Te)||Te===0&&!re?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...I,unit:Se.slice(0,-1)}).format(Te)}).filter(Se=>Se);return this.loc.listFormatter({type:"conjunction",style:I.listStyle||"narrow",...I}).format(fe)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let I="P";return this.years!==0&&(I+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(I+=this.months+this.quarters*3+"M"),this.weeks!==0&&(I+=this.weeks+"W"),this.days!==0&&(I+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(I+="T"),this.hours!==0&&(I+=this.hours+"H"),this.minutes!==0&&(I+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(I+=hf(this.seconds+this.milliseconds/1e3,3)+"S"),I==="P"&&(I+="T0S"),I}toISOTime(I={}){if(!this.isValid)return null;const re=this.toMillis();return re<0||re>=864e5?null:(I={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...I,includeOffset:!1},hn.fromMillis(re,{zone:"UTC"}).toISOTime(I))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?mh(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(I){if(!this.isValid)return this;const re=Gn.fromDurationLike(I),fe={};for(const Se of su)(ti(re.values,Se)||ti(this.values,Se))&&(fe[Se]=re.get(Se)+this.get(Se));return Sr(this,{values:fe},!0)}minus(I){if(!this.isValid)return this;const re=Gn.fromDurationLike(I);return this.plus(re.negate())}mapUnits(I){if(!this.isValid)return this;const re={};for(const fe of Object.keys(this.values))re[fe]=No(I(this.values[fe],fe));return Sr(this,{values:re},!0)}get(I){return this[Gn.normalizeUnit(I)]}set(I){if(!this.isValid)return this;const re={...this.values,...Cu(I,Gn.normalizeUnit)};return Sr(this,{values:re})}reconfigure({locale:I,numberingSystem:re,conversionAccuracy:fe,matrix:Se}={}){const Qe={loc:this.loc.clone({locale:I,numberingSystem:re}),matrix:Se,conversionAccuracy:fe};return Sr(this,Qe)}as(I){return this.isValid?this.shiftTo(I).get(I):NaN}normalize(){if(!this.isValid)return this;const I=this.toObject();return Ap(this.matrix,I),Sr(this,{values:I},!0)}rescale(){if(!this.isValid)return this;const I=lo(this.normalize().shiftToAll().toObject());return Sr(this,{values:I},!0)}shiftTo(...I){if(!this.isValid)return this;if(I.length===0)return this;I=I.map(Qe=>Gn.normalizeUnit(Qe));const re={},fe={},Se=this.toObject();let Te;for(const Qe of su)if(I.indexOf(Qe)>=0){Te=Qe;let Be=0;for(const Ct in fe)Be+=this.matrix[Ct][Qe]*fe[Ct],fe[Ct]=0;sa(Se[Qe])&&(Be+=Se[Qe]);const je=Math.trunc(Be);re[Qe]=je,fe[Qe]=(Be*1e3-je*1e3)/1e3}else sa(Se[Qe])&&(fe[Qe]=Se[Qe]);for(const Qe in fe)fe[Qe]!==0&&(re[Te]+=Qe===Te?fe[Qe]:fe[Qe]/this.matrix[Te][Qe]);return Ap(this.matrix,re),Sr(this,{values:re},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const I={};for(const re of Object.keys(this.values))I[re]=this.values[re]===0?0:-this.values[re];return Sr(this,{values:I},!0)}removeZeros(){if(!this.isValid)return this;const I=lo(this.values);return Sr(this,{values:I},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(I){if(!this.isValid||!I.isValid||!this.loc.equals(I.loc))return!1;function re(fe,Se){return fe===void 0||fe===0?Se===void 0||Se===0:fe===Se}for(const fe of su)if(!re(this.values[fe],I.values[fe]))return!1;return!0}}const ml="Invalid Interval";function pg(ue,I){return!ue||!ue.isValid?Pi.invalid("missing or invalid start"):!I||!I.isValid?Pi.invalid("missing or invalid end"):I<ue?Pi.invalid("end before start",`The end of an interval must be after its start, but you had start=${ue.toISO()} and end=${I.toISO()}`):null}class Pi{constructor(I){this.s=I.start,this.e=I.end,this.invalid=I.invalid||null,this.isLuxonInterval=!0}static invalid(I,re=null){if(!I)throw new u("need to specify a reason the Interval is invalid");const fe=I instanceof $t?I:new $t(I,re);if(dt.throwOnInvalid)throw new n(fe);return new Pi({invalid:fe})}static fromDateTimes(I,re){const fe=Au(I),Se=Au(re),Te=pg(fe,Se);return Te??new Pi({start:fe,end:Se})}static after(I,re){const fe=Gn.fromDurationLike(re),Se=Au(I);return Pi.fromDateTimes(Se,Se.plus(fe))}static before(I,re){const fe=Gn.fromDurationLike(re),Se=Au(I);return Pi.fromDateTimes(Se.minus(fe),Se)}static fromISO(I,re){const[fe,Se]=(I||"").split("/",2);if(fe&&Se){let Te,Qe;try{Te=hn.fromISO(fe,re),Qe=Te.isValid}catch{Qe=!1}let Be,je;try{Be=hn.fromISO(Se,re),je=Be.isValid}catch{je=!1}if(Qe&&je)return Pi.fromDateTimes(Te,Be);if(Qe){const Ct=Gn.fromISO(Se,re);if(Ct.isValid)return Pi.after(Te,Ct)}else if(je){const Ct=Gn.fromISO(fe,re);if(Ct.isValid)return Pi.before(Be,Ct)}}return Pi.invalid("unparsable",`the input "${I}" can't be parsed as ISO 8601`)}static isInterval(I){return I&&I.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(I="milliseconds"){return this.isValid?this.toDuration(I).get(I):NaN}count(I="milliseconds",re){if(!this.isValid)return NaN;const fe=this.start.startOf(I,re);let Se;return re!=null&&re.useLocaleWeeks?Se=this.end.reconfigure({locale:fe.locale}):Se=this.end,Se=Se.startOf(I,re),Math.floor(Se.diff(fe,I).get(I))+(Se.valueOf()!==this.end.valueOf())}hasSame(I){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,I):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(I){return this.isValid?this.s>I:!1}isBefore(I){return this.isValid?this.e<=I:!1}contains(I){return this.isValid?this.s<=I&&this.e>I:!1}set({start:I,end:re}={}){return this.isValid?Pi.fromDateTimes(I||this.s,re||this.e):this}splitAt(...I){if(!this.isValid)return[];const re=I.map(Au).filter(Qe=>this.contains(Qe)).sort((Qe,Be)=>Qe.toMillis()-Be.toMillis()),fe=[];let{s:Se}=this,Te=0;for(;Se<this.e;){const Qe=re[Te]||this.e,Be=+Qe>+this.e?this.e:Qe;fe.push(Pi.fromDateTimes(Se,Be)),Se=Be,Te+=1}return fe}splitBy(I){const re=Gn.fromDurationLike(I);if(!this.isValid||!re.isValid||re.as("milliseconds")===0)return[];let{s:fe}=this,Se=1,Te;const Qe=[];for(;fe<this.e;){const Be=this.start.plus(re.mapUnits(je=>je*Se));Te=+Be>+this.e?this.e:Be,Qe.push(Pi.fromDateTimes(fe,Te)),fe=Te,Se+=1}return Qe}divideEqually(I){return this.isValid?this.splitBy(this.length()/I).slice(0,I):[]}overlaps(I){return this.e>I.s&&this.s<I.e}abutsStart(I){return this.isValid?+this.e==+I.s:!1}abutsEnd(I){return this.isValid?+I.e==+this.s:!1}engulfs(I){return this.isValid?this.s<=I.s&&this.e>=I.e:!1}equals(I){return!this.isValid||!I.isValid?!1:this.s.equals(I.s)&&this.e.equals(I.e)}intersection(I){if(!this.isValid)return this;const re=this.s>I.s?this.s:I.s,fe=this.e<I.e?this.e:I.e;return re>=fe?null:Pi.fromDateTimes(re,fe)}union(I){if(!this.isValid)return this;const re=this.s<I.s?this.s:I.s,fe=this.e>I.e?this.e:I.e;return Pi.fromDateTimes(re,fe)}static merge(I){const[re,fe]=I.sort((Se,Te)=>Se.s-Te.s).reduce(([Se,Te],Qe)=>Te?Te.overlaps(Qe)||Te.abutsStart(Qe)?[Se,Te.union(Qe)]:[Se.concat([Te]),Qe]:[Se,Qe],[[],null]);return fe&&re.push(fe),re}static xor(I){let re=null,fe=0;const Se=[],Te=I.map(je=>[{time:je.s,type:"s"},{time:je.e,type:"e"}]),Qe=Array.prototype.concat(...Te),Be=Qe.sort((je,Ct)=>je.time-Ct.time);for(const je of Be)fe+=je.type==="s"?1:-1,fe===1?re=je.time:(re&&+re!=+je.time&&Se.push(Pi.fromDateTimes(re,je.time)),re=null);return Pi.merge(Se)}difference(...I){return Pi.xor([this].concat(I)).map(re=>this.intersection(re)).filter(re=>re&&!re.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:ml}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(I=d,re={}){return this.isValid?Ln.create(this.s.loc.clone(re),I).formatInterval(this):ml}toISO(I){return this.isValid?`${this.s.toISO(I)}/${this.e.toISO(I)}`:ml}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ml}toISOTime(I){return this.isValid?`${this.s.toISOTime(I)}/${this.e.toISOTime(I)}`:ml}toFormat(I,{separator:re=" – "}={}){return this.isValid?`${this.s.toFormat(I)}${re}${this.e.toFormat(I)}`:ml}toDuration(I,re){return this.isValid?this.e.diff(this.s,I,re):Gn.invalid(this.invalidReason)}mapEndpoints(I){return Pi.fromDateTimes(I(this.s),I(this.e))}}class cu{static hasDST(I=dt.defaultZone){const re=hn.now().setZone(I).set({month:12});return!I.isUniversal&&re.offset!==re.set({month:6}).offset}static isValidIANAZone(I){return ae.isValidZone(I)}static normalizeZone(I){return nn(I,dt.defaultZone)}static getStartOfWeek({locale:I=null,locObj:re=null}={}){return(re||gt.create(I)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:I=null,locObj:re=null}={}){return(re||gt.create(I)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:I=null,locObj:re=null}={}){return(re||gt.create(I)).getWeekendDays().slice()}static months(I="long",{locale:re=null,numberingSystem:fe=null,locObj:Se=null,outputCalendar:Te="gregory"}={}){return(Se||gt.create(re,fe,Te)).months(I)}static monthsFormat(I="long",{locale:re=null,numberingSystem:fe=null,locObj:Se=null,outputCalendar:Te="gregory"}={}){return(Se||gt.create(re,fe,Te)).months(I,!0)}static weekdays(I="long",{locale:re=null,numberingSystem:fe=null,locObj:Se=null}={}){return(Se||gt.create(re,fe,null)).weekdays(I)}static weekdaysFormat(I="long",{locale:re=null,numberingSystem:fe=null,locObj:Se=null}={}){return(Se||gt.create(re,fe,null)).weekdays(I,!0)}static meridiems({locale:I=null}={}){return gt.create(I).meridiems()}static eras(I="short",{locale:re=null}={}){return gt.create(re,null,"gregory").eras(I)}static features(){return{relative:ro(),localeWeek:Hn()}}}function cr(ue,I){const re=Se=>Se.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),fe=re(I)-re(ue);return Math.floor(Gn.fromMillis(fe).as("days"))}function yf(ue,I,re){const fe=[["years",(je,Ct)=>Ct.year-je.year],["quarters",(je,Ct)=>Ct.quarter-je.quarter+(Ct.year-je.year)*4],["months",(je,Ct)=>Ct.month-je.month+(Ct.year-je.year)*12],["weeks",(je,Ct)=>{const Gt=cr(je,Ct);return(Gt-Gt%7)/7}],["days",cr]],Se={},Te=ue;let Qe,Be;for(const[je,Ct]of fe)re.indexOf(je)>=0&&(Qe=je,Se[je]=Ct(ue,I),Be=Te.plus(Se),Be>I?(Se[je]--,ue=Te.plus(Se),ue>I&&(Be=ue,Se[je]--,ue=Te.plus(Se))):ue=Be);return[ue,Se,Be,Qe]}function X0(ue,I,re,fe){let[Se,Te,Qe,Be]=yf(ue,I,re);const je=I-Se,Ct=re.filter(Bn=>["hours","minutes","seconds","milliseconds"].indexOf(Bn)>=0);Ct.length===0&&(Qe<I&&(Qe=Se.plus({[Be]:1})),Qe!==Se&&(Te[Be]=(Te[Be]||0)+je/(Qe-Se)));const Gt=Gn.fromObject(Te,fe);return Ct.length>0?Gn.fromMillis(je,fe).shiftTo(...Ct).plus(Gt):Gt}const Y0="missing Intl.DateTimeFormat.formatToParts support";function gr(ue,I=re=>re){return{regex:ue,deser:([re])=>I(Qt(re))}}const bf="[  ]",bc=new RegExp(bf,"g");function Xe(ue){return ue.replace(/\./g,"\\.?").replace(bc,bf)}function pt(ue){return ue.replace(/\./g,"").replace(bc," ").toLowerCase()}function rt(ue,I){return ue===null?null:{regex:RegExp(ue.map(Xe).join("|")),deser:([re])=>ue.findIndex(fe=>pt(re)===pt(fe))+I}}function Bt(ue,I){return{regex:ue,deser:([,re,fe])=>dc(re,fe),groups:I}}function En(ue){return{regex:ue,deser:([I])=>I}}function nr(ue){return ue.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Mi(ue,I){const re=un(I),fe=un(I,"{2}"),Se=un(I,"{3}"),Te=un(I,"{4}"),Qe=un(I,"{6}"),Be=un(I,"{1,2}"),je=un(I,"{1,3}"),Ct=un(I,"{1,6}"),Gt=un(I,"{1,9}"),Bn=un(I,"{2,4}"),sn=un(I,"{4,6}"),gn=xe=>({regex:RegExp(nr(xe.val)),deser:([gl])=>gl,literal:!0}),La=(xe=>{if(ue.literal)return gn(xe);switch(xe.val){case"G":return rt(I.eras("short"),0);case"GG":return rt(I.eras("long"),0);case"y":return gr(Ct);case"yy":return gr(Bn,ed);case"yyyy":return gr(Te);case"yyyyy":return gr(sn);case"yyyyyy":return gr(Qe);case"M":return gr(Be);case"MM":return gr(fe);case"MMM":return rt(I.months("short",!0),1);case"MMMM":return rt(I.months("long",!0),1);case"L":return gr(Be);case"LL":return gr(fe);case"LLL":return rt(I.months("short",!1),1);case"LLLL":return rt(I.months("long",!1),1);case"d":return gr(Be);case"dd":return gr(fe);case"o":return gr(je);case"ooo":return gr(Se);case"HH":return gr(fe);case"H":return gr(Be);case"hh":return gr(fe);case"h":return gr(Be);case"mm":return gr(fe);case"m":return gr(Be);case"q":return gr(Be);case"qq":return gr(fe);case"s":return gr(Be);case"ss":return gr(fe);case"S":return gr(je);case"SSS":return gr(Se);case"u":return En(Gt);case"uu":return En(Be);case"uuu":return gr(re);case"a":return rt(I.meridiems(),0);case"kkkk":return gr(Te);case"kk":return gr(Bn,ed);case"W":return gr(Be);case"WW":return gr(fe);case"E":case"c":return gr(re);case"EEE":return rt(I.weekdays("short",!1),1);case"EEEE":return rt(I.weekdays("long",!1),1);case"ccc":return rt(I.weekdays("short",!0),1);case"cccc":return rt(I.weekdays("long",!0),1);case"Z":case"ZZ":return Bt(new RegExp(`([+-]${Be.source})(?::(${fe.source}))?`),2);case"ZZZ":return Bt(new RegExp(`([+-]${Be.source})(${fe.source})?`),2);case"z":return En(/[a-z_+-/]{1,256}?/i);case" ":return En(/[^\S\n\r]/);default:return gn(xe)}})(ue)||{invalidReason:Y0};return La.token=ue,La}const Mr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function Ha(ue,I,re){const{type:fe,value:Se}=ue;if(fe==="literal"){const je=/^\s+$/.test(Se);return{literal:!je,val:je?" ":Se}}const Te=I[fe];let Qe=fe;fe==="hour"&&(I.hour12!=null?Qe=I.hour12?"hour12":"hour24":I.hourCycle!=null?I.hourCycle==="h11"||I.hourCycle==="h12"?Qe="hour12":Qe="hour24":Qe=re.hour12?"hour12":"hour24");let Be=Mr[Qe];if(typeof Be=="object"&&(Be=Be[Te]),Be)return{literal:!1,val:Be}}function Oc(ue){return[`^${ue.map(re=>re.regex).reduce((re,fe)=>`${re}(${fe.source})`,"")}$`,ue]}function xi(ue,I,re){const fe=ue.match(I);if(fe){const Se={};let Te=1;for(const Qe in re)if(ti(re,Qe)){const Be=re[Qe],je=Be.groups?Be.groups+1:1;!Be.literal&&Be.token&&(Se[Be.token.val[0]]=Be.deser(fe.slice(Te,Te+je))),Te+=je}return[fe,Se]}else return[fe,{}]}function fd(ue){const I=Te=>{switch(Te){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let re=null,fe;return Pt(ue.z)||(re=ae.create(ue.z)),Pt(ue.Z)||(re||(re=new zt(ue.Z)),fe=ue.Z),Pt(ue.q)||(ue.M=(ue.q-1)*3+1),Pt(ue.h)||(ue.h<12&&ue.a===1?ue.h+=12:ue.h===12&&ue.a===0&&(ue.h=0)),ue.G===0&&ue.y&&(ue.y=-ue.y),Pt(ue.u)||(ue.S=vp(ue.u)),[Object.keys(ue).reduce((Te,Qe)=>{const Be=I(Qe);return Be&&(Te[Be]=ue[Qe]),Te},{}),re,fe]}let Tl=null;function oo(){return Tl||(Tl=hn.fromMillis(1555555555555)),Tl}function so(ue,I){if(ue.literal)return ue;const re=Ln.macroTokenToFormatOpts(ue.val),fe=fa(re,I);return fe==null||fe.includes(void 0)?ue:fe}function Of(ue,I){return Array.prototype.concat(...ue.map(re=>so(re,I)))}class xr{constructor(I,re){if(this.locale=I,this.format=re,this.tokens=Of(Ln.parseFormat(re),I),this.units=this.tokens.map(fe=>Mi(fe,I)),this.disqualifyingUnit=this.units.find(fe=>fe.invalidReason),!this.disqualifyingUnit){const[fe,Se]=Oc(this.units);this.regex=RegExp(fe,"i"),this.handlers=Se}}explainFromTokens(I){if(this.isValid){const[re,fe]=xi(I,this.regex,this.handlers),[Se,Te,Qe]=fe?fd(fe):[null,null,void 0];if(ti(fe,"a")&&ti(fe,"H"))throw new i("Can't include meridiem when specifying 24-hour format");return{input:I,tokens:this.tokens,regex:this.regex,rawMatches:re,matches:fe,result:Se,zone:Te,specificOffset:Qe}}else return{input:I,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function qo(ue,I,re){return new xr(ue,re).explainFromTokens(I)}function gh(ue,I,re){const{result:fe,zone:Se,specificOffset:Te,invalidReason:Qe}=qo(ue,I,re);return[fe,Se,Te,Qe]}function fa(ue,I){if(!ue)return null;const fe=Ln.create(I,ue).dtFormatter(oo()),Se=fe.formatToParts(),Te=fe.resolvedOptions();return Se.map(Qe=>Ha(Qe,ue,Te))}const Vo="Invalid DateTime",Da=864e13;function co(ue){return new $t("unsupported zone",`the zone "${ue.name}" is not supported`)}function Ts(ue){return ue.weekData===null&&(ue.weekData=on(ue.c)),ue.weekData}function Xa(ue){return ue.localWeekData===null&&(ue.localWeekData=on(ue.c,ue.loc.getMinDaysInFirstWeek(),ue.loc.getStartOfWeek())),ue.localWeekData}function Hu(ue,I){const re={ts:ue.ts,zone:ue.zone,c:ue.c,o:ue.o,loc:ue.loc,invalid:ue.invalid};return new hn({...re,...I,old:re})}function Sc(ue,I,re){let fe=ue-I*60*1e3;const Se=re.offset(fe);if(I===Se)return[fe,I];fe-=(Se-I)*60*1e3;const Te=re.offset(fe);return Se===Te?[fe,Se]:[ue-Math.min(Se,Te)*60*1e3,Math.max(Se,Te)]}function Xu(ue,I){ue+=I*60*1e3;const re=new Date(ue);return{year:re.getUTCFullYear(),month:re.getUTCMonth()+1,day:re.getUTCDate(),hour:re.getUTCHours(),minute:re.getUTCMinutes(),second:re.getUTCSeconds(),millisecond:re.getUTCMilliseconds()}}function xc(ue,I,re){return Sc(ja(ue),I,re)}function _c(ue,I){const re=ue.o,fe=ue.c.year+Math.trunc(I.years),Se=ue.c.month+Math.trunc(I.months)+Math.trunc(I.quarters)*3,Te={...ue.c,year:fe,month:Se,day:Math.min(ue.c.day,uh(fe,Se))+Math.trunc(I.days)+Math.trunc(I.weeks)*7},Qe=Gn.fromObject({years:I.years-Math.trunc(I.years),quarters:I.quarters-Math.trunc(I.quarters),months:I.months-Math.trunc(I.months),weeks:I.weeks-Math.trunc(I.weeks),days:I.days-Math.trunc(I.days),hours:I.hours,minutes:I.minutes,seconds:I.seconds,milliseconds:I.milliseconds}).as("milliseconds"),Be=ja(Te);let[je,Ct]=Sc(Be,re,ue.zone);return Qe!==0&&(je+=Qe,Ct=ue.zone.offset(je)),{ts:je,o:Ct}}function fu(ue,I,re,fe,Se,Te){const{setZone:Qe,zone:Be}=re;if(ue&&Object.keys(ue).length!==0||I){const je=I||Be,Ct=hn.fromObject(ue,{...re,zone:je,specificOffset:Te});return Qe?Ct:Ct.setZone(Be)}else return hn.invalid(new $t("unparsable",`the input "${Se}" can't be parsed as ${fe}`))}function dd(ue,I,re=!0){return ue.isValid?Ln.create(gt.create("en-US"),{allowZ:re,forceSimple:!0}).formatDateTimeFromString(ue,I):null}function ta(ue,I,re){const fe=ue.c.year>9999||ue.c.year<0;let Se="";if(fe&&ue.c.year>=0&&(Se+="+"),Se+=Pr(ue.c.year,fe?6:4),re==="year")return Se;if(I){if(Se+="-",Se+=Pr(ue.c.month),re==="month")return Se;Se+="-"}else if(Se+=Pr(ue.c.month),re==="month")return Se;return Se+=Pr(ue.c.day),Se}function Hi(ue,I,re,fe,Se,Te,Qe){let Be=!re||ue.c.millisecond!==0||ue.c.second!==0,je="";switch(Qe){case"day":case"month":case"year":break;default:if(je+=Pr(ue.c.hour),Qe==="hour")break;if(I){if(je+=":",je+=Pr(ue.c.minute),Qe==="minute")break;Be&&(je+=":",je+=Pr(ue.c.second))}else{if(je+=Pr(ue.c.minute),Qe==="minute")break;Be&&(je+=Pr(ue.c.second))}if(Qe==="second")break;Be&&(!fe||ue.c.millisecond!==0)&&(je+=".",je+=Pr(ue.c.millisecond,3))}return Se&&(ue.isOffsetFixed&&ue.offset===0&&!Te?je+="Z":ue.o<0?(je+="-",je+=Pr(Math.trunc(-ue.o/60)),je+=":",je+=Pr(Math.trunc(-ue.o%60))):(je+="+",je+=Pr(Math.trunc(ue.o/60)),je+=":",je+=Pr(Math.trunc(ue.o%60)))),Te&&(je+="["+ue.zone.ianaName+"]"),je}const Yu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},du={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},vh={ordinal:1,hour:0,minute:0,second:0,millisecond:0},kl=["year","month","day","hour","minute","second","millisecond"],Sf=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],yh=["year","ordinal","hour","minute","second","millisecond"];function hu(ue){const I={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[ue.toLowerCase()];if(!I)throw new a(ue);return I}function Tp(ue){switch(ue.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return hu(ue)}}function wu(ue){if(_i===void 0&&(_i=dt.now()),ue.type!=="iana")return ue.offset(_i);const I=ue.name;let re=Ru.get(I);return re===void 0&&(re=ue.offset(_i),Ru.set(I,re)),re}function Pl(ue,I){const re=nn(I.zone,dt.defaultZone);if(!re.isValid)return hn.invalid(co(re));const fe=gt.fromObject(I);let Se,Te;if(Pt(ue.year))Se=dt.now();else{for(const je of kl)Pt(ue[je])&&(ue[je]=Yu[je]);const Qe=Cl(ue)||Zr(ue);if(Qe)return hn.invalid(Qe);const Be=wu(re);[Se,Te]=xc(ue,Be,re)}return new hn({ts:Se,zone:re,loc:fe,o:Te})}function Ec(ue,I,re){const fe=Pt(re.round)?!0:re.round,Se=Pt(re.rounding)?"trunc":re.rounding,Te=(Be,je)=>(Be=hf(Be,fe||re.calendary?0:2,re.calendary?"round":Se),I.loc.clone(re).relFormatter(re).format(Be,je)),Qe=Be=>re.calendary?I.hasSame(ue,Be)?0:I.startOf(Be).diff(ue.startOf(Be),Be).get(Be):I.diff(ue,Be).get(Be);if(re.unit)return Te(Qe(re.unit),re.unit);for(const Be of re.units){const je=Qe(Be);if(Math.abs(je)>=1)return Te(je,Be)}return Te(ue>I?-0:0,re.units[re.units.length-1])}function Fi(ue){let I={},re;return ue.length>0&&typeof ue[ue.length-1]=="object"?(I=ue[ue.length-1],re=Array.from(ue).slice(0,ue.length-1)):re=Array.from(ue),[I,re]}let _i;const Ru=new Map;class hn{constructor(I){const re=I.zone||dt.defaultZone;let fe=I.invalid||(Number.isNaN(I.ts)?new $t("invalid input"):null)||(re.isValid?null:co(re));this.ts=Pt(I.ts)?dt.now():I.ts;let Se=null,Te=null;if(!fe)if(I.old&&I.old.ts===this.ts&&I.old.zone.equals(re))[Se,Te]=[I.old.c,I.old.o];else{const Be=sa(I.o)&&!I.old?I.o:re.offset(this.ts);Se=Xu(this.ts,Be),fe=Number.isNaN(Se.year)?new $t("invalid input"):null,Se=fe?null:Se,Te=fe?null:Be}this._zone=re,this.loc=I.loc||gt.create(),this.invalid=fe,this.weekData=null,this.localWeekData=null,this.c=Se,this.o=Te,this.isLuxonDateTime=!0}static now(){return new hn({})}static local(){const[I,re]=Fi(arguments),[fe,Se,Te,Qe,Be,je,Ct]=re;return Pl({year:fe,month:Se,day:Te,hour:Qe,minute:Be,second:je,millisecond:Ct},I)}static utc(){const[I,re]=Fi(arguments),[fe,Se,Te,Qe,Be,je,Ct]=re;return I.zone=zt.utcInstance,Pl({year:fe,month:Se,day:Te,hour:Qe,minute:Be,second:je,millisecond:Ct},I)}static fromJSDate(I,re={}){const fe=$u(I)?I.valueOf():NaN;if(Number.isNaN(fe))return hn.invalid("invalid input");const Se=nn(re.zone,dt.defaultZone);return Se.isValid?new hn({ts:fe,zone:Se,loc:gt.fromObject(re)}):hn.invalid(co(Se))}static fromMillis(I,re={}){if(sa(I))return I<-Da||I>Da?hn.invalid("Timestamp out of range"):new hn({ts:I,zone:nn(re.zone,dt.defaultZone),loc:gt.fromObject(re)});throw new u(`fromMillis requires a numerical input, but received a ${typeof I} with value ${I}`)}static fromSeconds(I,re={}){if(sa(I))return new hn({ts:I*1e3,zone:nn(re.zone,dt.defaultZone),loc:gt.fromObject(re)});throw new u("fromSeconds requires a numerical input")}static fromObject(I,re={}){I=I||{};const fe=nn(re.zone,dt.defaultZone);if(!fe.isValid)return hn.invalid(co(fe));const Se=gt.fromObject(re),Te=Cu(I,Tp),{minDaysInFirstWeek:Qe,startOfWeek:Be}=pi(Te,Se),je=dt.now(),Ct=Pt(re.specificOffset)?fe.offset(je):re.specificOffset,Gt=!Pt(Te.ordinal),Bn=!Pt(Te.year),sn=!Pt(Te.month)||!Pt(Te.day),gn=Bn||sn,Ei=Te.weekYear||Te.weekNumber;if((gn||Gt)&&Ei)throw new i("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(sn&&Gt)throw new i("Can't mix ordinal dates with month/day");const La=Ei||Te.weekday&&!gn;let xe,gl,Ml=Xu(je,Ct);La?(xe=Sf,gl=du,Ml=on(Ml,Qe,Be)):Gt?(xe=yh,gl=vh,Ml=ki(Ml)):(xe=kl,gl=Yu);let Tu=!1;for(const Nl of xe){const hd=Te[Nl];Pt(hd)?Tu?Te[Nl]=gl[Nl]:Te[Nl]=Ml[Nl]:Tu=!0}const Qn=La?qr(Te,Qe,Be):Gt?Du(Te):Cl(Te),Ya=Qn||Zr(Te);if(Ya)return hn.invalid(Ya);const ks=La?mr(Te,Qe,Be):Gt?_a(Te):Te,[Fl,ku]=xc(ks,Ct,fe),Dc=new hn({ts:Fl,zone:fe,o:ku,loc:Se});return Te.weekday&&gn&&I.weekday!==Dc.weekday?hn.invalid("mismatched weekday",`you can't specify both a weekday of ${Te.weekday} and a date of ${Dc.toISO()}`):Dc.isValid?Dc:hn.invalid(Dc.invalid)}static fromISO(I,re={}){const[fe,Se]=Ia(I);return fu(fe,Se,re,"ISO 8601",I)}static fromRFC2822(I,re={}){const[fe,Se]=hh(I);return fu(fe,Se,re,"RFC 2822",I)}static fromHTTP(I,re={}){const[fe,Se]=ph(I);return fu(fe,Se,re,"HTTP",re)}static fromFormat(I,re,fe={}){if(Pt(I)||Pt(re))throw new u("fromFormat requires an input string and a format");const{locale:Se=null,numberingSystem:Te=null}=fe,Qe=gt.fromOpts({locale:Se,numberingSystem:Te,defaultToEN:!0}),[Be,je,Ct,Gt]=gh(Qe,I,re);return Gt?hn.invalid(Gt):fu(Be,je,fe,`format ${re}`,I,Ct)}static fromString(I,re,fe={}){return hn.fromFormat(I,re,fe)}static fromSQL(I,re={}){const[fe,Se]=Rp(I);return fu(fe,Se,re,"SQL",I)}static invalid(I,re=null){if(!I)throw new u("need to specify a reason the DateTime is invalid");const fe=I instanceof $t?I:new $t(I,re);if(dt.throwOnInvalid)throw new t(fe);return new hn({invalid:fe})}static isDateTime(I){return I&&I.isLuxonDateTime||!1}static parseFormatForOpts(I,re={}){const fe=fa(I,gt.fromObject(re));return fe?fe.map(Se=>Se?Se.val:null).join(""):null}static expandFormat(I,re={}){return Of(Ln.parseFormat(I),gt.fromObject(re)).map(Se=>Se.val).join("")}static resetCache(){_i=void 0,Ru.clear()}get(I){return this[I]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ts(this).weekYear:NaN}get weekNumber(){return this.isValid?Ts(this).weekNumber:NaN}get weekday(){return this.isValid?Ts(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Xa(this).weekday:NaN}get localWeekNumber(){return this.isValid?Xa(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Xa(this).weekYear:NaN}get ordinal(){return this.isValid?ki(this.c).ordinal:NaN}get monthShort(){return this.isValid?cu.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?cu.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?cu.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?cu.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const I=864e5,re=6e4,fe=ja(this.c),Se=this.zone.offset(fe-I),Te=this.zone.offset(fe+I),Qe=this.zone.offset(fe-Se*re),Be=this.zone.offset(fe-Te*re);if(Qe===Be)return[this];const je=fe-Qe*re,Ct=fe-Be*re,Gt=Xu(je,Qe),Bn=Xu(Ct,Be);return Gt.hour===Bn.hour&&Gt.minute===Bn.minute&&Gt.second===Bn.second&&Gt.millisecond===Bn.millisecond?[Hu(this,{ts:je}),Hu(this,{ts:Ct})]:[this]}get isInLeapYear(){return Fo(this.year)}get daysInMonth(){return uh(this.year,this.month)}get daysInYear(){return this.isValid?wl(this.year):NaN}get weeksInWeekYear(){return this.isValid?Os(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Os(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(I={}){const{locale:re,numberingSystem:fe,calendar:Se}=Ln.create(this.loc.clone(I),I).resolvedOptions(this);return{locale:re,numberingSystem:fe,outputCalendar:Se}}toUTC(I=0,re={}){return this.setZone(zt.instance(I),re)}toLocal(){return this.setZone(dt.defaultZone)}setZone(I,{keepLocalTime:re=!1,keepCalendarTime:fe=!1}={}){if(I=nn(I,dt.defaultZone),I.equals(this.zone))return this;if(I.isValid){let Se=this.ts;if(re||fe){const Te=I.offset(this.ts),Qe=this.toObject();[Se]=xc(Qe,Te,I)}return Hu(this,{ts:Se,zone:I})}else return hn.invalid(co(I))}reconfigure({locale:I,numberingSystem:re,outputCalendar:fe}={}){const Se=this.loc.clone({locale:I,numberingSystem:re,outputCalendar:fe});return Hu(this,{loc:Se})}setLocale(I){return this.reconfigure({locale:I})}set(I){if(!this.isValid)return this;const re=Cu(I,Tp),{minDaysInFirstWeek:fe,startOfWeek:Se}=pi(re,this.loc),Te=!Pt(re.weekYear)||!Pt(re.weekNumber)||!Pt(re.weekday),Qe=!Pt(re.ordinal),Be=!Pt(re.year),je=!Pt(re.month)||!Pt(re.day),Ct=Be||je,Gt=re.weekYear||re.weekNumber;if((Ct||Qe)&&Gt)throw new i("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(je&&Qe)throw new i("Can't mix ordinal dates with month/day");let Bn;Te?Bn=mr({...on(this.c,fe,Se),...re},fe,Se):Pt(re.ordinal)?(Bn={...this.toObject(),...re},Pt(re.day)&&(Bn.day=Math.min(uh(Bn.year,Bn.month),Bn.day))):Bn=_a({...ki(this.c),...re});const[sn,gn]=xc(Bn,this.o,this.zone);return Hu(this,{ts:sn,o:gn})}plus(I){if(!this.isValid)return this;const re=Gn.fromDurationLike(I);return Hu(this,_c(this,re))}minus(I){if(!this.isValid)return this;const re=Gn.fromDurationLike(I).negate();return Hu(this,_c(this,re))}startOf(I,{useLocaleWeeks:re=!1}={}){if(!this.isValid)return this;const fe={},Se=Gn.normalizeUnit(I);switch(Se){case"years":fe.month=1;case"quarters":case"months":fe.day=1;case"weeks":case"days":fe.hour=0;case"hours":fe.minute=0;case"minutes":fe.second=0;case"seconds":fe.millisecond=0;break}if(Se==="weeks")if(re){const Te=this.loc.getStartOfWeek(),{weekday:Qe}=this;Qe<Te&&(fe.weekNumber=this.weekNumber-1),fe.weekday=Te}else fe.weekday=1;if(Se==="quarters"){const Te=Math.ceil(this.month/3);fe.month=(Te-1)*3+1}return this.set(fe)}endOf(I,re){return this.isValid?this.plus({[I]:1}).startOf(I,re).minus(1):this}toFormat(I,re={}){return this.isValid?Ln.create(this.loc.redefaultToEN(re)).formatDateTimeFromString(this,I):Vo}toLocaleString(I=d,re={}){return this.isValid?Ln.create(this.loc.clone(re),I).formatDateTime(this):Vo}toLocaleParts(I={}){return this.isValid?Ln.create(this.loc.clone(I),I).formatDateTimeParts(this):[]}toISO({format:I="extended",suppressSeconds:re=!1,suppressMilliseconds:fe=!1,includeOffset:Se=!0,extendedZone:Te=!1,precision:Qe="milliseconds"}={}){if(!this.isValid)return null;Qe=hu(Qe);const Be=I==="extended";let je=ta(this,Be,Qe);return kl.indexOf(Qe)>=3&&(je+="T"),je+=Hi(this,Be,re,fe,Se,Te,Qe),je}toISODate({format:I="extended",precision:re="day"}={}){return this.isValid?ta(this,I==="extended",hu(re)):null}toISOWeekDate(){return dd(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:I=!1,suppressSeconds:re=!1,includeOffset:fe=!0,includePrefix:Se=!1,extendedZone:Te=!1,format:Qe="extended",precision:Be="milliseconds"}={}){return this.isValid?(Be=hu(Be),(Se&&kl.indexOf(Be)>=3?"T":"")+Hi(this,Qe==="extended",re,I,fe,Te,Be)):null}toRFC2822(){return dd(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return dd(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?ta(this,!0):null}toSQLTime({includeOffset:I=!0,includeZone:re=!1,includeOffsetSpace:fe=!0}={}){let Se="HH:mm:ss.SSS";return(re||I)&&(fe&&(Se+=" "),re?Se+="z":I&&(Se+="ZZ")),dd(this,Se,!0)}toSQL(I={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(I)}`:null}toString(){return this.isValid?this.toISO():Vo}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(I={}){if(!this.isValid)return{};const re={...this.c};return I.includeConfig&&(re.outputCalendar=this.outputCalendar,re.numberingSystem=this.loc.numberingSystem,re.locale=this.loc.locale),re}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(I,re="milliseconds",fe={}){if(!this.isValid||!I.isValid)return Gn.invalid("created by diffing an invalid DateTime");const Se={locale:this.locale,numberingSystem:this.numberingSystem,...fe},Te=mi(re).map(Gn.normalizeUnit),Qe=I.valueOf()>this.valueOf(),Be=Qe?this:I,je=Qe?I:this,Ct=X0(Be,je,Te,Se);return Qe?Ct.negate():Ct}diffNow(I="milliseconds",re={}){return this.diff(hn.now(),I,re)}until(I){return this.isValid?Pi.fromDateTimes(this,I):this}hasSame(I,re,fe){if(!this.isValid)return!1;const Se=I.valueOf(),Te=this.setZone(I.zone,{keepLocalTime:!0});return Te.startOf(re,fe)<=Se&&Se<=Te.endOf(re,fe)}equals(I){return this.isValid&&I.isValid&&this.valueOf()===I.valueOf()&&this.zone.equals(I.zone)&&this.loc.equals(I.loc)}toRelative(I={}){if(!this.isValid)return null;const re=I.base||hn.fromObject({},{zone:this.zone}),fe=I.padding?this<re?-I.padding:I.padding:0;let Se=["years","months","days","hours","minutes","seconds"],Te=I.unit;return Array.isArray(I.unit)&&(Se=I.unit,Te=void 0),Ec(re,this.plus(fe),{...I,numeric:"always",units:Se,unit:Te})}toRelativeCalendar(I={}){return this.isValid?Ec(I.base||hn.fromObject({},{zone:this.zone}),this,{...I,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...I){if(!I.every(hn.isDateTime))throw new u("min requires all arguments be DateTimes");return vs(I,re=>re.valueOf(),Math.min)}static max(...I){if(!I.every(hn.isDateTime))throw new u("max requires all arguments be DateTimes");return vs(I,re=>re.valueOf(),Math.max)}static fromFormatExplain(I,re,fe={}){const{locale:Se=null,numberingSystem:Te=null}=fe,Qe=gt.fromOpts({locale:Se,numberingSystem:Te,defaultToEN:!0});return qo(Qe,I,re)}static fromStringExplain(I,re,fe={}){return hn.fromFormatExplain(I,re,fe)}static buildFormatParser(I,re={}){const{locale:fe=null,numberingSystem:Se=null}=re,Te=gt.fromOpts({locale:fe,numberingSystem:Se,defaultToEN:!0});return new xr(Te,I)}static fromFormatParser(I,re,fe={}){if(Pt(I)||Pt(re))throw new u("fromFormatParser requires an input string and a format parser");const{locale:Se=null,numberingSystem:Te=null}=fe,Qe=gt.fromOpts({locale:Se,numberingSystem:Te,defaultToEN:!0});if(!Qe.equals(re.locale))throw new u(`fromFormatParser called with a locale of ${Qe}, but the format parser was created for ${re.locale}`);const{result:Be,zone:je,specificOffset:Ct,invalidReason:Gt}=re.explainFromTokens(I);return Gt?hn.invalid(Gt):fu(Be,je,fe,`format ${re.format}`,I,Ct)}static get DATE_SHORT(){return d}static get DATE_MED(){return h}static get DATE_MED_WITH_WEEKDAY(){return m}static get DATE_FULL(){return y}static get DATE_HUGE(){return v}static get TIME_SIMPLE(){return _}static get TIME_WITH_SECONDS(){return x}static get TIME_WITH_SHORT_OFFSET(){return E}static get TIME_WITH_LONG_OFFSET(){return w}static get TIME_24_SIMPLE(){return T}static get TIME_24_WITH_SECONDS(){return R}static get TIME_24_WITH_SHORT_OFFSET(){return C}static get TIME_24_WITH_LONG_OFFSET(){return k}static get DATETIME_SHORT(){return F}static get DATETIME_SHORT_WITH_SECONDS(){return z}static get DATETIME_MED(){return Z}static get DATETIME_MED_WITH_SECONDS(){return q}static get DATETIME_MED_WITH_WEEKDAY(){return j}static get DATETIME_FULL(){return N}static get DATETIME_FULL_WITH_SECONDS(){return V}static get DATETIME_HUGE(){return W}static get DATETIME_HUGE_WITH_SECONDS(){return G}}function Au(ue){if(hn.isDateTime(ue))return ue;if(ue&&ue.valueOf&&sa(ue.valueOf()))return hn.fromJSDate(ue);if(ue&&typeof ue=="object")return hn.fromObject(ue);throw new u(`Unknown datetime argument: ${ue}, of type ${typeof ue}`)}const Uo="3.7.1";return Vc.DateTime=hn,Vc.Duration=Gn,Vc.FixedOffsetZone=zt,Vc.IANAZone=ae,Vc.Info=cu,Vc.Interval=Pi,Vc.InvalidZone=rn,Vc.Settings=dt,Vc.SystemZone=X,Vc.VERSION=Uo,Vc.Zone=J,Vc}var JX;function b5(){return JX||(JX=1,(function(e){var a,u,l,o,s,gM,d,uv;Object.defineProperty(e,"__esModule",{value:!0}),e.CronDate=e.DAYS_IN_MONTH=e.DateMathOp=e.TimeUnit=void 0;const t=CVe();var n;(function(y){y.Second="Second",y.Minute="Minute",y.Hour="Hour",y.Day="Day",y.Month="Month",y.Year="Year"})(n||(e.TimeUnit=n={}));var r;(function(y){y.Add="Add",y.Subtract="Subtract"})(r||(e.DateMathOp=r={})),e.DAYS_IN_MONTH=Object.freeze([31,29,31,30,31,30,31,31,30,31,30,31]);const m=class m{constructor(v,_){Vi(this,d);Vi(this,a);Vi(this,u,null);Vi(this,l,null);Vi(this,o,{add:{[n.Year]:this.addYear.bind(this),[n.Month]:this.addMonth.bind(this),[n.Day]:this.addDay.bind(this),[n.Hour]:this.addHour.bind(this),[n.Minute]:this.addMinute.bind(this),[n.Second]:this.addSecond.bind(this)},subtract:{[n.Year]:this.subtractYear.bind(this),[n.Month]:this.subtractMonth.bind(this),[n.Day]:this.subtractDay.bind(this),[n.Hour]:this.subtractHour.bind(this),[n.Minute]:this.subtractMinute.bind(this),[n.Second]:this.subtractSecond.bind(this)}});const x={zone:_};if(v?v instanceof m?(wn(this,a,bt(v,a)),wn(this,u,bt(v,u)),wn(this,l,bt(v,l))):v instanceof Date?wn(this,a,t.DateTime.fromJSDate(v,x)):typeof v=="number"?wn(this,a,t.DateTime.fromMillis(v,x)):(wn(this,a,t.DateTime.fromISO(v,x)),bt(this,a).isValid||wn(this,a,t.DateTime.fromRFC2822(v,x)),bt(this,a).isValid||wn(this,a,t.DateTime.fromSQL(v,x)),bt(this,a).isValid||wn(this,a,t.DateTime.fromFormat(v,"EEE, d MMM yyyy HH:mm:ss",x))):wn(this,a,t.DateTime.local()),!bt(this,a).isValid)throw new Error(`CronDate: unhandled timestamp: ${v}`);_&&_!==bt(this,a).zoneName&&wn(this,a,bt(this,a).setZone(_))}get dstStart(){return bt(this,u)}set dstStart(v){wn(this,u,v)}get dstEnd(){return bt(this,l)}set dstEnd(v){wn(this,l,v)}addYear(){wn(this,a,bt(this,a).plus({years:1}))}addMonth(){wn(this,a,bt(this,a).plus({months:1}).startOf("month"))}addDay(){wn(this,a,bt(this,a).plus({days:1}).startOf("day"))}addHour(){wn(this,a,bt(this,a).plus({hours:1}).startOf("hour"))}addMinute(){wn(this,a,bt(this,a).plus({minutes:1}).startOf("minute"))}addSecond(){wn(this,a,bt(this,a).plus({seconds:1}))}subtractYear(){wn(this,a,bt(this,a).minus({years:1}))}subtractMonth(){wn(this,a,bt(this,a).minus({months:1}).endOf("month").startOf("second"))}subtractDay(){wn(this,a,bt(this,a).minus({days:1}).endOf("day").startOf("second"))}subtractHour(){wn(this,a,bt(this,a).minus({hours:1}).endOf("hour").startOf("second"))}subtractMinute(){wn(this,a,bt(this,a).minus({minutes:1}).endOf("minute").startOf("second"))}subtractSecond(){wn(this,a,bt(this,a).minus({seconds:1}))}addUnit(v){bt(this,o).add[v]()}subtractUnit(v){bt(this,o).subtract[v]()}invokeDateOperation(v,_){if(v===r.Add){this.addUnit(_);return}if(v===r.Subtract){this.subtractUnit(_);return}throw new Error(`Invalid verb: ${v}`)}getDate(){return bt(this,a).day}getFullYear(){return bt(this,a).year}getDay(){const v=bt(this,a).weekday;return v===7?0:v}getMonth(){return bt(this,a).month-1}getHours(){return bt(this,a).hour}getMinutes(){return bt(this,a).minute}getSeconds(){return bt(this,a).second}getMilliseconds(){return bt(this,a).millisecond}getTime(){return bt(this,a).valueOf()}getUTCDate(){return Un(this,d,uv).call(this).day}getUTCFullYear(){return Un(this,d,uv).call(this).year}getUTCDay(){const v=Un(this,d,uv).call(this).weekday;return v===7?0:v}getUTCMonth(){return Un(this,d,uv).call(this).month-1}getUTCHours(){return Un(this,d,uv).call(this).hour}getUTCMinutes(){return Un(this,d,uv).call(this).minute}getUTCSeconds(){return Un(this,d,uv).call(this).second}toISOString(){return bt(this,a).toUTC().toISO()}toJSON(){return bt(this,a).toJSON()}setDate(v){wn(this,a,bt(this,a).set({day:v}))}setFullYear(v){wn(this,a,bt(this,a).set({year:v}))}setDay(v){wn(this,a,bt(this,a).set({weekday:v}))}setMonth(v){wn(this,a,bt(this,a).set({month:v+1}))}setHours(v){wn(this,a,bt(this,a).set({hour:v}))}setMinutes(v){wn(this,a,bt(this,a).set({minute:v}))}setSeconds(v){wn(this,a,bt(this,a).set({second:v}))}setMilliseconds(v){wn(this,a,bt(this,a).set({millisecond:v}))}toString(){return this.toDate().toString()}toDate(){return bt(this,a).toJSDate()}isLastDayOfMonth(){var x;const{day:v,month:_}=bt(this,a);if(_===2){const E=Un(x=m,s,gM).call(x,bt(this,a).year);return v===e.DAYS_IN_MONTH[_-1]-(E?0:1)}return v===e.DAYS_IN_MONTH[_-1]}isLastWeekdayOfMonth(){var E;const{day:v,month:_}=bt(this,a);let x;return _===2?x=e.DAYS_IN_MONTH[_-1]-(Un(E=m,s,gM).call(E,bt(this,a).year)?0:1):x=e.DAYS_IN_MONTH[_-1],v>x-7}applyDateOperation(v,_,x){if(_===n.Month||_===n.Day){this.invokeDateOperation(v,_);return}const E=this.getHours();this.invokeDateOperation(v,_);const w=this.getHours(),T=w-E;T===2?x!==24&&(this.dstStart=w):T===0&&this.getMinutes()===0&&this.getSeconds()===0&&x!==24&&(this.dstEnd=w)}};a=new WeakMap,u=new WeakMap,l=new WeakMap,o=new WeakMap,s=new WeakSet,gM=function(v){return v%4===0&&v%100!==0||v%400===0},d=new WeakSet,uv=function(){return bt(this,a).toUTC()},Vi(m,s);let i=m;e.CronDate=i,e.default=i})($P)),$P}var eY;function wVe(){if(eY)return u2;eY=1,Object.defineProperty(u2,"__esModule",{value:!0}),u2.CronMonth=void 0;const e=b5(),t=Sb(),n=1,r=12,i=Object.freeze([]);let a=class extends t.CronField{static get min(){return n}static get max(){return r}static get chars(){return i}static get daysInMonth(){return e.DAYS_IN_MONTH}constructor(l,o){super(l,o),this.validate()}get values(){return super.values}};return u2.CronMonth=a,u2}var l2={},tY;function RVe(){if(tY)return l2;tY=1,Object.defineProperty(l2,"__esModule",{value:!0}),l2.CronSecond=void 0;const e=Sb(),t=0,n=59,r=Object.freeze([]);let i=class extends e.CronField{static get min(){return t}static get max(){return n}static get chars(){return r}constructor(u,l){super(u,l),this.validate()}get values(){return super.values}};return l2.CronSecond=i,l2}var nY;function KI(){return nY||(nY=1,(function(e){var t=o1&&o1.__createBinding||(Object.create?(function(r,i,a,u){u===void 0&&(u=a);var l=Object.getOwnPropertyDescriptor(i,a);(!l||("get"in l?!i.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(r,u,l)}):(function(r,i,a,u){u===void 0&&(u=a),r[u]=i[a]})),n=o1&&o1.__exportStar||function(r,i){for(var a in r)a!=="default"&&!Object.prototype.hasOwnProperty.call(i,a)&&t(i,r,a)};Object.defineProperty(e,"__esModule",{value:!0}),n(xVe(),e),n(_Ve(),e),n(EVe(),e),n(Sb(),e),n(DVe(),e),n($Ve(),e),n(wVe(),e),n(RVe(),e)})(o1)),o1}var rY;function Dge(){var n,r,i,a,u,l,o,s,_ge,Ege;if(rY)return e2;rY=1,Object.defineProperty(e2,"__esModule",{value:!0}),e2.CronFieldCollection=void 0;const e=KI();let t=(s=class{constructor({second:m,minute:y,hour:v,dayOfMonth:_,month:x,dayOfWeek:E}){Vi(this,n);Vi(this,r);Vi(this,i);Vi(this,a);Vi(this,u);Vi(this,l);if(!m)throw new Error("Validation error, Field second is missing");if(!y)throw new Error("Validation error, Field minute is missing");if(!v)throw new Error("Validation error, Field hour is missing");if(!_)throw new Error("Validation error, Field dayOfMonth is missing");if(!x)throw new Error("Validation error, Field month is missing");if(!E)throw new Error("Validation error, Field dayOfWeek is missing");if(x.values.length===1&&!_.hasLastChar&&!(parseInt(_.values[0],10)<=e.CronMonth.daysInMonth[x.values[0]-1]))throw new Error("Invalid explicit day of month definition");wn(this,n,m),wn(this,r,y),wn(this,i,v),wn(this,u,x),wn(this,l,E),wn(this,a,_)}static from(m,y){return new s({second:this.resolveField(e.CronSecond,m.second,y.second),minute:this.resolveField(e.CronMinute,m.minute,y.minute),hour:this.resolveField(e.CronHour,m.hour,y.hour),dayOfMonth:this.resolveField(e.CronDayOfMonth,m.dayOfMonth,y.dayOfMonth),month:this.resolveField(e.CronMonth,m.month,y.month),dayOfWeek:this.resolveField(e.CronDayOfWeek,m.dayOfWeek,y.dayOfWeek)})}static resolveField(m,y,v){return v?v instanceof e.CronField?v:new m(v):y}get second(){return bt(this,n)}get minute(){return bt(this,r)}get hour(){return bt(this,i)}get dayOfMonth(){return bt(this,a)}get month(){return bt(this,u)}get dayOfWeek(){return bt(this,l)}static compactField(m){if(m.length===0)return[];const y=[];let v;return m.forEach((_,x,E)=>{if(v===void 0){v={start:_,count:1};return}const w=E[x-1]||v.start,T=E[x+1];if(_==="L"||_==="W"){y.push(v),y.push({start:_,count:1}),v=void 0;return}if(v.step===void 0&&T!==void 0){const R=_-w,C=T-_;if(R<=C){v={...v,count:2,end:_,step:R};return}v.step=1}_-(v.end??0)===v.step?(v.count++,v.end=_):(v.count===1?y.push({start:v.start,count:1}):v.count===2?(y.push({start:v.start,count:1}),y.push({start:v.end??w,count:1})):y.push(v),v={start:_,count:1})}),v&&y.push(v),y}stringifyField(m){var x;let y=m.max,v=m.values;if(m instanceof e.CronDayOfWeek){y=6;const E=bt(this,l).values;v=E[E.length-1]===7?E.slice(0,-1):E}m instanceof e.CronDayOfMonth&&(y=bt(this,u).values.length===1?e.CronMonth.daysInMonth[bt(this,u).values[0]-1]:m.max);const _=s.compactField(v);if(_.length===1){const E=Un(x=s,o,_ge).call(x,m,_[0],y);if(E)return E}return _.map(E=>{var T;const w=E.count===1?E.start.toString():Un(T=s,o,Ege).call(T,E,y);return m instanceof e.CronDayOfWeek&&m.nthDay>0?`${w}#${m.nthDay}`:w}).join(",")}stringify(m=!1){const y=[];return m&&y.push(this.stringifyField(bt(this,n))),y.push(this.stringifyField(bt(this,r)),this.stringifyField(bt(this,i)),this.stringifyField(bt(this,a)),this.stringifyField(bt(this,u)),this.stringifyField(bt(this,l))),y.join(" ")}serialize(){return{second:bt(this,n).serialize(),minute:bt(this,r).serialize(),hour:bt(this,i).serialize(),dayOfMonth:bt(this,a).serialize(),month:bt(this,u).serialize(),dayOfWeek:bt(this,l).serialize()}}},n=new WeakMap,r=new WeakMap,i=new WeakMap,a=new WeakMap,u=new WeakMap,l=new WeakMap,o=new WeakSet,_ge=function(m,y,v){const _=y.step;return _?_===1&&y.start===m.min&&y.end&&y.end>=v?m.hasQuestionMarkChar?"?":"*":_!==1&&y.start===m.min&&y.end&&y.end>=v-_+1?`*/${_}`:null:null},Ege=function(m,y){const v=m.step;if(v===1)return`${m.start}-${m.end}`;const _=m.start===0?m.count-1:m.count;if(!v)throw new Error("Unexpected range step");if(!m.end)throw new Error("Unexpected range end");if(v*_>m.end){const x=(w,T)=>{if(typeof m.start!="number")throw new Error("Unexpected range start");return T%v===0?m.start+T:null};if(typeof m.start!="number")throw new Error("Unexpected range start");const E={length:m.end-m.start+1};return Array.from(E,x).filter(w=>w!==null).join(",")}return m.end===y-v+1?`${m.start}/${v}`:`${m.start}-${m.end}/${v}`},Vi(s,o),s);return e2.CronFieldCollection=t,e2}var gO={},iY;function wge(){var r,i,a,u,l,o,s,c,lv,$ge,m,vM,Cge,DO;if(iY)return gO;iY=1,Object.defineProperty(gO,"__esModule",{value:!0}),gO.CronExpression=void 0;const e=b5(),t=1e4;let n=(c=class{constructor(E,w){Vi(this,m);Vi(this,r);Vi(this,i);Vi(this,a);Vi(this,u);Vi(this,l);Vi(this,o);wn(this,r,w),wn(this,i,w.tz),wn(this,a,new e.CronDate(w.currentDate,bt(this,i))),wn(this,u,w.startDate?new e.CronDate(w.startDate,bt(this,i)):null),wn(this,l,w.endDate?new e.CronDate(w.endDate,bt(this,i)):null),wn(this,o,E)}get fields(){return bt(this,o)}static fieldsToExpression(E,w){return new c(E,w||{})}next(){return Un(this,m,DO).call(this)}prev(){return Un(this,m,DO).call(this,!0)}hasNext(){const E=bt(this,a);try{return Un(this,m,DO).call(this),!0}catch{return!1}finally{wn(this,a,E)}}hasPrev(){const E=bt(this,a);try{return Un(this,m,DO).call(this,!0),!0}catch{return!1}finally{wn(this,a,E)}}take(E){const w=[];if(E>=0)for(let T=0;T<E;T++)try{w.push(this.next())}catch{return w}else for(let T=0;T>E;T--)try{w.push(this.prev())}catch{return w}return w}reset(E){wn(this,a,new e.CronDate(E||bt(this,r).currentDate))}stringify(E=!1){return bt(this,o).stringify(E)}includesDate(E){const{second:w,minute:T,hour:R,month:C}=bt(this,o),k=new e.CronDate(E,bt(this,i));return!(!w.values.includes(k.getSeconds())||!T.values.includes(k.getMinutes())||!R.values.includes(k.getHours())||!C.values.includes(k.getMonth()+1)||!Un(this,m,vM).call(this,k)||bt(this,o).dayOfWeek.nthDay>0&&Math.ceil(k.getDate()/7)!==bt(this,o).dayOfWeek.nthDay)}toString(){return bt(this,r).expression||this.stringify(!0)}[Symbol.iterator](){return{next:()=>({value:Un(this,m,DO).call(this),done:!this.hasNext()})}}},r=new WeakMap,i=new WeakMap,a=new WeakMap,u=new WeakMap,l=new WeakMap,o=new WeakMap,s=new WeakSet,lv=function(E,w){return w.some(T=>T===E)},$ge=function(E,w){const T=w.isLastWeekdayOfMonth();return E.some(R=>{const C=parseInt(R.toString().charAt(0),10)%7;if(Number.isNaN(C))throw new Error(`Invalid last weekday of the month expression: ${R}`);return w.getDay()===C&&T})},m=new WeakSet,vM=function(E){var z,Z,q;const w=bt(this,o).dayOfMonth.isWildcard,T=!w,R=bt(this,o).dayOfWeek.isWildcard,C=!R,k=Un(z=c,s,lv).call(z,E.getDate(),bt(this,o).dayOfMonth.values)||bt(this,o).dayOfMonth.hasLastChar&&E.isLastDayOfMonth(),F=Un(Z=c,s,lv).call(Z,E.getDay(),bt(this,o).dayOfWeek.values)||bt(this,o).dayOfWeek.hasLastChar&&Un(q=c,s,$ge).call(q,bt(this,o).dayOfWeek.values,E);return!!(T&&C&&(k||F)||k&&!C||w&&!R&&F)},Cge=function(E,w,T){var z,Z;const R=E.getHours(),C=Un(z=c,s,lv).call(z,R,bt(this,o).hour.values),k=E.dstStart===R,F=E.dstEnd===R;return!C&&!k?(E.dstStart=null,E.applyDateOperation(w,e.TimeUnit.Hour,bt(this,o).hour.values.length),!1):k&&!Un(Z=c,s,lv).call(Z,R-1,bt(this,o).hour.values)?(E.invokeDateOperation(w,e.TimeUnit.Hour),!1):F&&!T?(E.dstEnd=null,E.applyDateOperation(e.DateMathOp.Add,e.TimeUnit.Hour,bt(this,o).hour.values.length),!1):!0},DO=function(E=!1){var z,Z,q;const w=E?e.DateMathOp.Subtract:e.DateMathOp.Add,T=new e.CronDate(bt(this,a)),R=bt(this,u),C=bt(this,l),k=T.getTime();let F=0;for(;F++<t;){if(F>t)throw new Error("Invalid expression, loop limit exceeded");if(E&&R&&R.getTime()>T.getTime())throw new Error("Out of the timespan range");if(!E&&C&&T.getTime()>C.getTime())throw new Error("Out of the timespan range");if(!Un(this,m,vM).call(this,T)){T.applyDateOperation(w,e.TimeUnit.Day,bt(this,o).hour.values.length);continue}if(!(bt(this,o).dayOfWeek.nthDay<=0||Math.ceil(T.getDate()/7)===bt(this,o).dayOfWeek.nthDay)){T.applyDateOperation(w,e.TimeUnit.Day,bt(this,o).hour.values.length);continue}if(!Un(z=c,s,lv).call(z,T.getMonth()+1,bt(this,o).month.values)){T.applyDateOperation(w,e.TimeUnit.Month,bt(this,o).hour.values.length);continue}if(Un(this,m,Cge).call(this,T,w,E)){if(!Un(Z=c,s,lv).call(Z,T.getMinutes(),bt(this,o).minute.values)){T.applyDateOperation(w,e.TimeUnit.Minute,bt(this,o).hour.values.length);continue}if(!Un(q=c,s,lv).call(q,T.getSeconds(),bt(this,o).second.values)){T.applyDateOperation(w,e.TimeUnit.Second,bt(this,o).hour.values.length);continue}if(k===T.getTime()){(w==="Add"||T.getMilliseconds()===0)&&T.applyDateOperation(w,e.TimeUnit.Second,bt(this,o).hour.values.length);continue}break}}return T.getMilliseconds()!==0&&T.setMilliseconds(0),wn(this,a,T),T},Vi(c,s),c);return gO.CronExpression=n,gO.default=n,gO}var iE={},aY;function AVe(){if(aY)return iE;aY=1,Object.defineProperty(iE,"__esModule",{value:!0}),iE.seededRandom=n;function e(r){let i=2166136261;for(let a=0;a<r.length;a++)i^=r.charCodeAt(a),i=Math.imul(i,16777619);return()=>i>>>0}function t(r){return()=>{let i=r+=1831565813;return i=Math.imul(i^i>>>15,i|1),i^=i+Math.imul(i^i>>>7,i|61),((i^i>>>14)>>>0)/4294967296}}function n(r){const i=r?e(r)():Math.floor(Math.random()*1e10);return t(i)}return iE}var uY;function bM(){var c,Rge,h1,Age,Tge,kge,Pge,Mge,Fge,Nge,yM,Ige,Lge;if(uY)return Mf;uY=1,Object.defineProperty(Mf,"__esModule",{value:!0}),Mf.CronExpressionParser=Mf.DayOfWeek=Mf.Months=Mf.CronUnit=Mf.PredefinedExpressions=void 0;const e=Dge(),t=b5(),n=wge(),r=AVe(),i=KI();var a;(function(F){F["@yearly"]="0 0 0 1 1 *",F["@annually"]="0 0 0 1 1 *",F["@monthly"]="0 0 0 1 * *",F["@weekly"]="0 0 0 * * 0",F["@daily"]="0 0 0 * * *",F["@hourly"]="0 0 * * * *",F["@minutely"]="0 * * * * *",F["@secondly"]="* * * * * *",F["@weekdays"]="0 0 0 * * 1-5",F["@weekends"]="0 0 0 * * 0,6"})(a||(Mf.PredefinedExpressions=a={}));var u;(function(F){F.Second="Second",F.Minute="Minute",F.Hour="Hour",F.DayOfMonth="DayOfMonth",F.Month="Month",F.DayOfWeek="DayOfWeek"})(u||(Mf.CronUnit=u={}));var l;(function(F){F[F.jan=1]="jan",F[F.feb=2]="feb",F[F.mar=3]="mar",F[F.apr=4]="apr",F[F.may=5]="may",F[F.jun=6]="jun",F[F.jul=7]="jul",F[F.aug=8]="aug",F[F.sep=9]="sep",F[F.oct=10]="oct",F[F.nov=11]="nov",F[F.dec=12]="dec"})(l||(Mf.Months=l={}));var o;(function(F){F[F.sun=0]="sun",F[F.mon=1]="mon",F[F.tue=2]="tue",F[F.wed=3]="wed",F[F.thu=4]="thu",F[F.fri=5]="fri",F[F.sat=6]="sat"})(o||(Mf.DayOfWeek=o={}));const k=class k{static parse(z,Z={}){var ne,oe,ae,de,be,ye,pe,_e;const{strict:q=!1}=Z,j=Z.currentDate||new t.CronDate,N=(0,r.seededRandom)(Z.hashSeed);z=a[z]||z;const V=Un(ne=k,c,Rge).call(ne,z,q);if(!(V.dayOfMonth==="*"||V.dayOfWeek==="*"||!q))throw new Error("Cannot use both dayOfMonth and dayOfWeek together in strict mode!");const W=Un(oe=k,c,h1).call(oe,u.Second,V.second,i.CronSecond.constraints,N),G=Un(ae=k,c,h1).call(ae,u.Minute,V.minute,i.CronMinute.constraints,N),J=Un(de=k,c,h1).call(de,u.Hour,V.hour,i.CronHour.constraints,N),te=Un(be=k,c,h1).call(be,u.Month,V.month,i.CronMonth.constraints,N),X=Un(ye=k,c,h1).call(ye,u.DayOfMonth,V.dayOfMonth,i.CronDayOfMonth.constraints,N),{dayOfWeek:M,nthDayOfWeek:K}=Un(pe=k,c,Ige).call(pe,V.dayOfWeek),Y=Un(_e=k,c,h1).call(_e,u.DayOfWeek,M,i.CronDayOfWeek.constraints,N),B=new e.CronFieldCollection({second:new i.CronSecond(W,{rawValue:V.second}),minute:new i.CronMinute(G,{rawValue:V.minute}),hour:new i.CronHour(J,{rawValue:V.hour}),dayOfMonth:new i.CronDayOfMonth(X,{rawValue:V.dayOfMonth}),month:new i.CronMonth(te,{rawValue:V.month}),dayOfWeek:new i.CronDayOfWeek(Y,{rawValue:V.dayOfWeek,nthDayOfWeek:K})});return new n.CronExpression(B,{...Z,expression:z,currentDate:j})}};c=new WeakSet,Rge=function(z,Z){if(Z&&!z.length)throw new Error("Invalid cron expression");z=z||"0 * * * * *";const q=z.trim().split(/\s+/);if(Z&&q.length<6)throw new Error("Invalid cron expression, expected 6 fields");if(q.length>6)throw new Error("Invalid cron expression, too many fields");const j=["*","*","*","*","*","0"];q.length<j.length&&q.unshift(...j.slice(q.length));const[N,V,W,G,J,te]=q;return{second:N,minute:V,hour:W,dayOfMonth:G,month:J,dayOfWeek:te}},h1=function(z,Z,q,j){if((z===u.Month||z===u.DayOfWeek)&&(Z=Z.replace(/[a-z]{3}/gi,N=>{N=N.toLowerCase();const V=l[N]||o[N];if(V===void 0)throw new Error(`Validation error, cannot resolve alias "${N}"`);return V.toString()})),!q.validChars.test(Z))throw new Error(`Invalid characters, got value: ${Z}`);return Z=Un(this,c,Age).call(this,Z,q),Z=Un(this,c,Tge).call(this,Z,q,j),Un(this,c,kge).call(this,z,Z,q)},Age=function(z,Z){return z.replace(/[*?]/g,Z.min+"-"+Z.max)},Tge=function(z,Z,q){const j=q();return z.replace(/H(?:\((\d+)-(\d+)\))?(?:\/(\d+))?/g,(N,V,W,G)=>{if(V&&W&&G){const J=parseInt(V,10),te=parseInt(W,10),X=parseInt(G,10);if(J>te)throw new Error(`Invalid range: ${J}-${te}, min > max`);if(X<=0)throw new Error(`Invalid step: ${X}, must be positive`);const M=Math.max(J,Z.min),K=Math.floor(j*X),Y=[];for(let B=Math.floor(M/X)*X+K;B<=te;B+=X)B>=M&&Y.push(B);return Y.join(",")}else if(V&&W){const J=parseInt(V,10),te=parseInt(W,10);if(J>te)throw new Error(`Invalid range: ${J}-${te}, min > max`);return String(Math.floor(j*(te-J+1))+J)}else if(G){const J=parseInt(G,10);if(J<=0)throw new Error(`Invalid step: ${J}, must be positive`);const te=Math.floor(j*J),X=[];for(let M=Math.floor(Z.min/J)*J+te;M<=Z.max;M+=J)M>=Z.min&&X.push(M);return X.join(",")}else return String(Math.floor(j*(Z.max-Z.min+1)+Z.min))})},kge=function(z,Z,q){const j=[];function N(W,G){var J;if(Array.isArray(W))j.push(...W);else if(Un(J=k,c,Lge).call(J,G,W))j.push(W);else{const te=parseInt(W.toString(),10);if(!(te>=G.min&&te<=G.max))throw new Error(`Constraint error, got value ${W} expected range ${G.min}-${G.max}`);j.push(z===u.DayOfWeek?te%7:W)}}return Z.split(",").forEach(W=>{var G;if(!(W.length>0))throw new Error("Invalid list value format");N(Un(G=k,c,Pge).call(G,z,W,q),q)}),j},Pge=function(z,Z,q){var N,V;const j=Z.split("/");if(j.length>2)throw new Error(`Invalid repeat: ${Z}`);return j.length===2?(isNaN(parseInt(j[0],10))||(j[0]=`${j[0]}-${q.max}`),Un(N=k,c,yM).call(N,z,j[0],parseInt(j[1],10),q)):Un(V=k,c,yM).call(V,z,Z,1,q)},Mge=function(z,Z,q){if(!(!isNaN(z)&&!isNaN(Z)&&z>=q.min&&Z<=q.max))throw new Error(`Constraint error, got range ${z}-${Z} expected range ${q.min}-${q.max}`);if(z>Z)throw new Error(`Invalid range: ${z}-${Z}, min(${z}) > max(${Z})`)},Fge=function(z){if(!(!isNaN(z)&&z>0))throw new Error(`Constraint error, cannot repeat at every ${z} time.`)},Nge=function(z,Z,q,j){const N=[];z===u.DayOfWeek&&q%7===0&&N.push(0);for(let V=Z;V<=q;V+=j)N.indexOf(V)===-1&&N.push(V);return N},yM=function(z,Z,q,j){const N=Z.split("-");if(N.length<=1)return isNaN(+Z)?Z:+Z;const[V,W]=N.map(G=>parseInt(G,10));return Un(this,c,Mge).call(this,V,W,j),Un(this,c,Fge).call(this,q),Un(this,c,Nge).call(this,z,V,W,q)},Ige=function(z){const Z=z.split("#");if(Z.length<=1)return{dayOfWeek:Z[0]};const q=+Z[Z.length-1],j=z.match(/([,-/])/);if(j!==null)throw new Error(`Constraint error, invalid dayOfWeek \`#\` and \`${j==null?void 0:j[0]}\` special characters are incompatible`);if(!(Z.length<=2&&!isNaN(q)&&q>=1&&q<=5))throw new Error("Constraint error, invalid dayOfWeek occurrence number (#)");return{dayOfWeek:Z[0],nthDayOfWeek:q}},Lge=function(z,Z){return z.chars.some(q=>Z.toString().includes(q))},Vi(k,c);let s=k;return Mf.CronExpressionParser=s,Mf}var jh={};const TVe={},kVe=Object.freeze(Object.defineProperty({__proto__:null,default:TVe},Symbol.toStringTag,{value:"Module"})),lY=wbe(kVe);var oY;function PVe(){var a,u,OM,Bge;if(oY)return jh;oY=1;var e=jh&&jh.__createBinding||(Object.create?(function(s,c,d,h){h===void 0&&(h=d);var m=Object.getOwnPropertyDescriptor(c,d);(!m||("get"in m?!c.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return c[d]}}),Object.defineProperty(s,h,m)}):(function(s,c,d,h){h===void 0&&(h=d),s[h]=c[d]})),t=jh&&jh.__setModuleDefault||(Object.create?(function(s,c){Object.defineProperty(s,"default",{enumerable:!0,value:c})}):function(s,c){s.default=c}),n=jh&&jh.__importStar||(function(){var s=function(c){return s=Object.getOwnPropertyNames||function(d){var h=[];for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&(h[h.length]=m);return h},s(c)};return function(c){if(c&&c.__esModule)return c;var d={};if(c!=null)for(var h=s(c),m=0;m<h.length;m++)h[m]!=="default"&&e(d,c,h[m]);return t(d,c),d}})();Object.defineProperty(jh,"__esModule",{value:!0}),jh.CronFileParser=void 0;const r=bM();let i=(u=class{static async parseFile(c){var m;const{readFile:d}=await Promise.resolve().then(()=>n(lY)),h=await d(c,"utf8");return Un(m=u,a,OM).call(m,h)}static parseFileSync(c){var m;const{readFileSync:d}=lY,h=d(c,"utf8");return Un(m=u,a,OM).call(m,h)}},a=new WeakSet,OM=function(c){var m;const d=c.split(`
`),h={variables:{},expressions:[],errors:{}};for(const y of d){const v=y.trim();if(v.length===0||v.startsWith("#"))continue;const _=v.match(/^(.*)=(.*)$/);if(_){const[,x,E]=_;h.variables[x]=E.replace(/["']/g,"");continue}try{const x=Un(m=u,a,Bge).call(m,v);h.expressions.push(x.interval)}catch(x){h.errors[v]=x}}return h},Bge=function(c){const d=c.split(" ");return{interval:r.CronExpressionParser.parse(d.slice(0,5).join(" ")),command:d.slice(5,d.length)}},Vi(u,a),u);return jh.CronFileParser=i,jh}var sY;function MVe(){return sY||(sY=1,(function(e){var t=l1&&l1.__createBinding||(Object.create?(function(s,c,d,h){h===void 0&&(h=d);var m=Object.getOwnPropertyDescriptor(c,d);(!m||("get"in m?!c.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return c[d]}}),Object.defineProperty(s,h,m)}):(function(s,c,d,h){h===void 0&&(h=d),s[h]=c[d]})),n=l1&&l1.__exportStar||function(s,c){for(var d in s)d!=="default"&&!Object.prototype.hasOwnProperty.call(c,d)&&t(c,s,d)};Object.defineProperty(e,"__esModule",{value:!0}),e.CronFileParser=e.CronExpressionParser=e.CronExpression=e.CronFieldCollection=e.CronDate=void 0;const r=bM();var i=b5();Object.defineProperty(e,"CronDate",{enumerable:!0,get:function(){return i.CronDate}});var a=Dge();Object.defineProperty(e,"CronFieldCollection",{enumerable:!0,get:function(){return a.CronFieldCollection}});var u=wge();Object.defineProperty(e,"CronExpression",{enumerable:!0,get:function(){return u.CronExpression}});var l=bM();Object.defineProperty(e,"CronExpressionParser",{enumerable:!0,get:function(){return l.CronExpressionParser}});var o=PVe();Object.defineProperty(e,"CronFileParser",{enumerable:!0,get:function(){return o.CronFileParser}}),n(KI(),e),e.default=r.CronExpressionParser})(l1)),l1}var FVe=MVe();const tat=oa(FVe);var CP={exports:{}},cY;function NVe(){return cY||(cY=1,(function(e,t){(function(r,i){e.exports=i()})(globalThis,()=>(()=>{var n={949:((u,l,o)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.CronParser=void 0;var s=o(515),c=(function(){function d(h,m,y){m===void 0&&(m=!0),y===void 0&&(y=!1),this.expression=h,this.dayOfWeekStartIndexZero=m,this.monthStartIndexZero=y}return d.prototype.parse=function(){var h,m,y=(h=this.expression)!==null&&h!==void 0?h:"";if(y.startsWith("@")){var v=this.parseSpecial(this.expression);m=this.extractParts(v)}else m=this.extractParts(this.expression);return this.normalize(m),this.validate(m),m},d.prototype.parseSpecial=function(h){var m={"@yearly":"0 0 1 1 *","@annually":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@midnight":"0 0 * * *","@hourly":"0 * * * *"},y=m[h];if(!y)throw new Error("Unknown special expression.");return y},d.prototype.extractParts=function(h){if(!this.expression)throw new Error("cron expression is empty");for(var m=h.trim().split(/[ ]+/),y=0;y<m.length;y++)if(m[y].includes(",")){var v=m[y].split(",").map(function(x){return x.trim()}).filter(function(x){return x!==""}).map(function(x){return isNaN(Number(x))?x:Number(x)}).filter(function(x){return x!==null&&x!==""});v.length===0&&v.push("*"),v.sort(function(x,E){return x!==null&&E!==null?x-E:0}),m[y]=v.map(function(x){return x!==null?x.toString():""}).join(",")}if(m.length<5)throw new Error("Expression has only ".concat(m.length," part").concat(m.length==1?"":"s",". At least 5 parts are required."));if(m.length==5)m.unshift(""),m.push("");else if(m.length==6){var _=/\d{4}$/.test(m[5])||m[4]=="?"||m[2]=="?";_?m.unshift(""):m.push("")}else if(m.length>7)throw new Error("Expression has ".concat(m.length," parts; too many!"));return m},d.prototype.normalize=function(h){var m=this;if(h[3]=h[3].replace("?","*"),h[5]=h[5].replace("?","*"),h[2]=h[2].replace("?","*"),h[0].indexOf("0/")==0&&(h[0]=h[0].replace("0/","*/")),h[1].indexOf("0/")==0&&(h[1]=h[1].replace("0/","*/")),h[2].indexOf("0/")==0&&(h[2]=h[2].replace("0/","*/")),h[3].indexOf("1/")==0&&(h[3]=h[3].replace("1/","*/")),h[4].indexOf("1/")==0&&(h[4]=h[4].replace("1/","*/")),h[6].indexOf("1/")==0&&(h[6]=h[6].replace("1/","*/")),h[5]=h[5].replace(/(^\d)|([^#/\s]\d)/g,function(R){var C=R.replace(/\D/,""),k=C;return m.dayOfWeekStartIndexZero?C=="7"&&(k="0"):k=(parseInt(C)-1).toString(),R.replace(C,k)}),h[5]=="L"&&(h[5]="6"),h[3]=="?"&&(h[3]="*"),h[3].indexOf("W")>-1&&(h[3].indexOf(",")>-1||h[3].indexOf("-")>-1))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var y={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var v in y)h[5]=h[5].replace(new RegExp(v,"gi"),y[v].toString());h[4]=h[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,function(R){var C=R.replace(/\D/,""),k=C;return m.monthStartIndexZero&&(k=(parseInt(C)+1).toString()),R.replace(C,k)});var _={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var x in _)h[4]=h[4].replace(new RegExp(x,"gi"),_[x].toString());h[0]=="0"&&(h[0]=""),!/\*|\-|\,|\//.test(h[2])&&(/\*|\//.test(h[1])||/\*|\//.test(h[0]))&&(h[2]+="-".concat(h[2]));for(var E=0;E<h.length;E++)if(h[E].indexOf(",")!=-1&&(h[E]=h[E].split(",").filter(function(R){return R!==""}).join(",")||"*"),h[E]=="*/1"&&(h[E]="*"),h[E].indexOf("/")>-1&&!/^\*|\-|\,/.test(h[E])){var w=null;switch(E){case 4:w="12";break;case 5:w="6";break;case 6:w="9999";break;default:w=null;break}if(w!==null){var T=h[E].split("/");h[E]="".concat(T[0],"-").concat(w,"/").concat(T[1])}}},d.prototype.validate=function(h){var m="0-9,\\-*/";this.validateOnlyExpectedCharactersFound(h[0],m),this.validateOnlyExpectedCharactersFound(h[1],m),this.validateOnlyExpectedCharactersFound(h[2],m),this.validateOnlyExpectedCharactersFound(h[3],"0-9,\\-*/LW"),this.validateOnlyExpectedCharactersFound(h[4],m),this.validateOnlyExpectedCharactersFound(h[5],"0-9,\\-*/L#"),this.validateOnlyExpectedCharactersFound(h[6],m),this.validateAnyRanges(h)},d.prototype.validateAnyRanges=function(h){s.default.secondRange(h[0]),s.default.minuteRange(h[1]),s.default.hourRange(h[2]),s.default.dayOfMonthRange(h[3]),s.default.monthRange(h[4],this.monthStartIndexZero),s.default.dayOfWeekRange(h[5],this.dayOfWeekStartIndexZero)},d.prototype.validateOnlyExpectedCharactersFound=function(h,m){var y=h.match(new RegExp("[^".concat(m,"]+"),"gi"));if(y&&y.length)throw new Error("Expression contains invalid values: '".concat(y.toString(),"'"))},d})();l.CronParser=c}),333:((u,l,o)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.ExpressionDescriptor=void 0;var s=o(823),c=o(949),d=(function(){function h(m,y){if(this.expression=m,this.options=y,this.expressionParts=new Array(5),!this.options.locale&&h.defaultLocale&&(this.options.locale=h.defaultLocale),!h.locales[this.options.locale]){var v=Object.keys(h.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(v,"'.")),this.options.locale=v}this.i18n=h.locales[this.options.locale],y.use24HourTimeFormat===void 0&&(y.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return h.toString=function(m,y){var v=y===void 0?{}:y,_=v.throwExceptionOnParseError,x=_===void 0?!0:_,E=v.verbose,w=E===void 0?!1:E,T=v.dayOfWeekStartIndexZero,R=T===void 0?!0:T,C=v.monthStartIndexZero,k=C===void 0?!1:C,F=v.use24HourTimeFormat,z=v.locale,Z=z===void 0?null:z,q=v.tzOffset,j=q===void 0?0:q,N={throwExceptionOnParseError:x,verbose:w,dayOfWeekStartIndexZero:R,monthStartIndexZero:k,use24HourTimeFormat:F,locale:Z,tzOffset:j};N.tzOffset&&console.warn("'tzOffset' option has been deprecated and will be removed in a future release.");var V=new h(m,N);return V.getFullDescription()},h.initialize=function(m,y){y===void 0&&(y="en"),h.specialCharacters=["/","-",",","*"],h.defaultLocale=y,m.load(h.locales)},h.prototype.getFullDescription=function(){var m="";try{var y=new c.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);this.expressionParts=y.parse();var v=this.getTimeOfDayDescription(),_=this.getDayOfMonthDescription(),x=this.getMonthDescription(),E=this.getDayOfWeekDescription(),w=this.getYearDescription();m+=v+_+E+x+w,m=this.transformVerbosity(m,!!this.options.verbose),m=m.charAt(0).toLocaleUpperCase()+m.substr(1)}catch(T){if(!this.options.throwExceptionOnParseError)m=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD();else throw"".concat(T)}return m},h.prototype.getTimeOfDayDescription=function(){var m=this.expressionParts[0],y=this.expressionParts[1],v=this.expressionParts[2],_="";if(!s.StringUtilities.containsAny(y,h.specialCharacters)&&!s.StringUtilities.containsAny(v,h.specialCharacters)&&!s.StringUtilities.containsAny(m,h.specialCharacters))_+=this.i18n.atSpace()+this.formatTime(v,y,m);else if(!m&&y.indexOf("-")>-1&&!(y.indexOf(",")>-1)&&!(y.indexOf("/")>-1)&&!s.StringUtilities.containsAny(v,h.specialCharacters)){var x=y.split("-");_+=s.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(v,x[0],""),this.formatTime(v,x[1],""))}else if(!m&&v.indexOf(",")>-1&&v.indexOf("-")==-1&&v.indexOf("/")==-1&&!s.StringUtilities.containsAny(y,h.specialCharacters)){var E=v.split(",");_+=this.i18n.at();for(var w=0;w<E.length;w++)_+=" ",_+=this.formatTime(E[w],y,""),w<E.length-2&&(_+=","),w==E.length-2&&(_+=this.i18n.spaceAnd())}else{var T=this.getSecondsDescription(),R=this.getMinutesDescription(),C=this.getHoursDescription();if(_+=T,_&&R&&(_+=", "),_+=R,R===C)return _;_&&C&&(_+=", "),_+=C}return _},h.prototype.getSecondsDescription=function(){var m=this,y=this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),function(v){return v},function(v){return s.StringUtilities.format(m.i18n.everyX0Seconds(v),v)},function(v){return m.i18n.secondsX0ThroughX1PastTheMinute()},function(v){return v=="0"?"":parseInt(v)<20?m.i18n.atX0SecondsPastTheMinute(v):m.i18n.atX0SecondsPastTheMinuteGt20()||m.i18n.atX0SecondsPastTheMinute(v)});return y},h.prototype.getMinutesDescription=function(){var m=this,y=this.expressionParts[0],v=this.expressionParts[2],_=this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),function(x){return x},function(x){return s.StringUtilities.format(m.i18n.everyX0Minutes(x),x)},function(x){return m.i18n.minutesX0ThroughX1PastTheHour()},function(x){try{return x=="0"&&v.indexOf("/")==-1&&y==""?m.i18n.everyHour():parseInt(x)<20?m.i18n.atX0MinutesPastTheHour(x):m.i18n.atX0MinutesPastTheHourGt20()||m.i18n.atX0MinutesPastTheHour(x)}catch{return m.i18n.atX0MinutesPastTheHour(x)}});return _},h.prototype.getHoursDescription=function(){var m=this,y=this.expressionParts[2],v=0,_=[];y.split("/")[0].split(",").forEach(function(w){var T=w.split("-");T.length===2&&_.push({value:T[1],index:v+1}),v+=T.length});var x=0,E=this.getSegmentDescription(y,this.i18n.everyHour(),function(w){var T=_.find(function(C){return C.value===w&&C.index===x}),R=T&&m.expressionParts[1]!=="0";return x++,R?m.formatTime(w,"59",""):m.formatTime(w,"0","")},function(w){return s.StringUtilities.format(m.i18n.everyX0Hours(w),w)},function(w){return m.i18n.betweenX0AndX1()},function(w){return m.i18n.atX0()});return E},h.prototype.getDayOfWeekDescription=function(){var m=this,y=this.i18n.daysOfTheWeek(),v=null;return this.expressionParts[5]=="*"?v="":v=this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),function(_,x){var E=_;_.indexOf("#")>-1?E=_.substring(0,_.indexOf("#")):_.indexOf("L")>-1&&(E=E.replace("L",""));var w=parseInt(E);if(m.options.tzOffset){var T=m.expressionParts[2],R=parseInt(T)+(m.options.tzOffset?m.options.tzOffset:0);R>=24?w++:R<0&&w--,w>6?w=0:w<0&&(w=6)}var C=m.i18n.daysOfTheWeekInCase?m.i18n.daysOfTheWeekInCase(x)[w]:y[w];if(_.indexOf("#")>-1){var k=null,F=_.substring(_.indexOf("#")+1),z=_.substring(0,_.indexOf("#"));switch(F){case"1":k=m.i18n.first(z);break;case"2":k=m.i18n.second(z);break;case"3":k=m.i18n.third(z);break;case"4":k=m.i18n.fourth(z);break;case"5":k=m.i18n.fifth(z);break}C=k+" "+C}return C},function(_){return parseInt(_)==1?"":s.StringUtilities.format(m.i18n.commaEveryX0DaysOfTheWeek(_),_)},function(_){var x=_.substring(0,_.indexOf("-")),E=m.expressionParts[3]!="*";return E?m.i18n.commaAndX0ThroughX1(x):m.i18n.commaX0ThroughX1(x)},function(_){var x=null;if(_.indexOf("#")>-1){var E=_.substring(_.indexOf("#")+1),w=_.substring(0,_.indexOf("#"));x=m.i18n.commaOnThe(E,w).trim()+m.i18n.spaceX0OfTheMonth()}else if(_.indexOf("L")>-1)x=m.i18n.commaOnTheLastX0OfTheMonth(_.replace("L",""));else{var T=m.expressionParts[3]!="*";x=T?m.i18n.commaAndOnX0():m.i18n.commaOnlyOnX0(_)}return x}),v},h.prototype.getMonthDescription=function(){var m=this,y=this.i18n.monthsOfTheYear(),v=this.getSegmentDescription(this.expressionParts[4],"",function(_,x){return x&&m.i18n.monthsOfTheYearInCase?m.i18n.monthsOfTheYearInCase(x)[parseInt(_)-1]:y[parseInt(_)-1]},function(_){return parseInt(_)==1?"":s.StringUtilities.format(m.i18n.commaEveryX0Months(_),_)},function(_){return m.i18n.commaMonthX0ThroughMonthX1()||m.i18n.commaX0ThroughX1()},function(_){return m.i18n.commaOnlyInMonthX0?m.i18n.commaOnlyInMonthX0():m.i18n.commaOnlyInX0()});return v},h.prototype.getDayOfMonthDescription=function(){var m=this,y=null,v=this.expressionParts[3];switch(v){case"L":y=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":y=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var _=v.match(/(\d{1,2}W)|(W\d{1,2})/);if(_){var x=parseInt(_[0].replace("W","")),E=x==1?this.i18n.firstWeekday():s.StringUtilities.format(this.i18n.weekdayNearestDayX0(),x.toString());y=s.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),E);break}else{var w=v.match(/L-(\d{1,2})/);if(w){var T=w[1];y=s.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(T),T);break}else{if(v=="*"&&this.expressionParts[5]!="*")return"";y=this.getSegmentDescription(v,this.i18n.commaEveryDay(),function(R){return R=="L"?m.i18n.lastDay():m.i18n.dayX0?s.StringUtilities.format(m.i18n.dayX0(),R):R},function(R){return R=="1"?m.i18n.commaEveryDay():m.i18n.commaEveryX0Days(R)},function(R){return m.i18n.commaBetweenDayX0AndX1OfTheMonth(R)},function(R){return m.i18n.commaOnDayX0OfTheMonth(R)})}break}}return y},h.prototype.getYearDescription=function(){var m=this,y=this.getSegmentDescription(this.expressionParts[6],"",function(v){return/^\d+$/.test(v)?new Date(parseInt(v),1).getFullYear().toString():v},function(v){return s.StringUtilities.format(m.i18n.commaEveryX0Years(v),v)},function(v){return m.i18n.commaYearX0ThroughYearX1()||m.i18n.commaX0ThroughX1()},function(v){return m.i18n.commaOnlyInYearX0?m.i18n.commaOnlyInYearX0():m.i18n.commaOnlyInX0()});return y},h.prototype.getSegmentDescription=function(m,y,v,_,x,E){var w=null,T=m.indexOf("/")>-1,R=m.indexOf("-")>-1,C=m.indexOf(",")>-1;if(!m)w="";else if(m==="*")w=y;else if(!T&&!R&&!C)w=s.StringUtilities.format(E(m),v(m));else if(C){for(var k=m.split(","),F="",z=0;z<k.length;z++)if(z>0&&k.length>2&&(F+=",",z<k.length-1&&(F+=" ")),z>0&&k.length>1&&(z==k.length-1||k.length==2)&&(F+="".concat(this.i18n.spaceAnd()," ")),k[z].indexOf("/")>-1||k[z].indexOf("-")>-1){var Z=k[z].indexOf("-")>-1&&k[z].indexOf("/")==-1,q=this.getSegmentDescription(k[z],y,v,_,Z?this.i18n.commaX0ThroughX1:x,E);Z&&(q=q.replace(", ","")),F+=q}else T?F+=this.getSegmentDescription(k[z],y,v,_,x,E):F+=v(k[z]);T?w=F:w=s.StringUtilities.format(E(m),F)}else if(T){var k=m.split("/");if(w=s.StringUtilities.format(_(k[1]),k[1]),k[0].indexOf("-")>-1){var j=this.generateRangeSegmentDescription(k[0],x,v);j.indexOf(", ")!=0&&(w+=", "),w+=j}else if(k[0].indexOf("*")==-1){var N=s.StringUtilities.format(E(k[0]),v(k[0]));N=N.replace(", ",""),w+=s.StringUtilities.format(this.i18n.commaStartingX0(),N)}}else R&&(w=this.generateRangeSegmentDescription(m,x,v));return w},h.prototype.generateRangeSegmentDescription=function(m,y,v){var _="",x=m.split("-"),E=v(x[0],1),w=v(x[1],2),T=y(m);return _+=s.StringUtilities.format(T,E,w),_},h.prototype.formatTime=function(m,y,v){var _=0,x=0;this.options.tzOffset&&(_=this.options.tzOffset>0?Math.floor(this.options.tzOffset):Math.ceil(this.options.tzOffset),x=parseFloat((this.options.tzOffset%1).toFixed(2)),x!=0&&(x*=60));var E=parseInt(m)+_,w=parseInt(y)+x;w>=60?(w-=60,E+=1):w<0&&(w+=60,E-=1),E>=24?E=E-24:E<0&&(E=24+E);var T="",R=!1;this.options.use24HourTimeFormat||(R=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime()),T=R?"".concat(this.getPeriod(E)," "):" ".concat(this.getPeriod(E)),E>12&&(E-=12),E===0&&(E=12));var C="";return v&&(C=":".concat(("00"+v).substring(v.length))),"".concat(R?T:"").concat(("00"+E.toString()).substring(E.toString().length),":").concat(("00"+w.toString()).substring(w.toString().length)).concat(C).concat(R?"":T)},h.prototype.transformVerbosity=function(m,y){if(!y&&(m=m.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),""),m=m.replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),""),m=m.replace(new RegExp(this.i18n.commaEveryDay(),"g"),""),m=m.replace(/\, ?$/,""),this.i18n.conciseVerbosityReplacements))for(var v=0,_=Object.entries(this.i18n.conciseVerbosityReplacements());v<_.length;v++){var x=_[v],E=x[0],w=x[1];m=m.replace(new RegExp(E,"g"),w)}return m},h.prototype.getPeriod=function(m){return m>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},h.locales={},h})();l.ExpressionDescriptor=d}),747:((u,l,o)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.enLocaleLoader=void 0;var s=o(486),c=(function(){function d(){}return d.prototype.load=function(h){h.en=new s.en},d})();l.enLocaleLoader=c}),486:((u,l)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.en=void 0;var o=(function(){function s(){}return s.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},s.prototype.atX0MinutesPastTheHourGt20=function(){return null},s.prototype.commaMonthX0ThroughMonthX1=function(){return null},s.prototype.commaYearX0ThroughYearX1=function(){return null},s.prototype.use24HourTimeFormatByDefault=function(){return!1},s.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occurred when generating the expression description. Check the cron expression syntax."},s.prototype.everyMinute=function(){return"every minute"},s.prototype.everyHour=function(){return"every hour"},s.prototype.atSpace=function(){return"At "},s.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},s.prototype.at=function(){return"At"},s.prototype.spaceAnd=function(){return" and"},s.prototype.everySecond=function(){return"every second"},s.prototype.everyX0Seconds=function(){return"every %s seconds"},s.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},s.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"},s.prototype.everyX0Minutes=function(){return"every %s minutes"},s.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},s.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},s.prototype.everyX0Hours=function(){return"every %s hours"},s.prototype.betweenX0AndX1=function(){return"between %s and %s"},s.prototype.atX0=function(){return"at %s"},s.prototype.commaEveryDay=function(){return", every day"},s.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},s.prototype.commaX0ThroughX1=function(){return", %s through %s"},s.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},s.prototype.first=function(){return"first"},s.prototype.second=function(){return"second"},s.prototype.third=function(){return"third"},s.prototype.fourth=function(){return"fourth"},s.prototype.fifth=function(){return"fifth"},s.prototype.commaOnThe=function(){return", on the "},s.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},s.prototype.lastDay=function(){return"the last day"},s.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},s.prototype.commaOnlyOnX0=function(){return", only on %s"},s.prototype.commaAndOnX0=function(){return", and on %s"},s.prototype.commaEveryX0Months=function(){return", every %s months"},s.prototype.commaOnlyInX0=function(){return", only in %s"},s.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},s.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},s.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"},s.prototype.firstWeekday=function(){return"first weekday"},s.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},s.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},s.prototype.commaEveryX0Days=function(){return", every %s days"},s.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},s.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},s.prototype.commaEveryHour=function(){return", every hour"},s.prototype.commaEveryX0Years=function(){return", every %s years"},s.prototype.commaStartingX0=function(){return", starting %s"},s.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},s.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},s})();l.en=o}),515:((u,l)=>{Object.defineProperty(l,"__esModule",{value:!0});function o(c,d){if(!c)throw new Error(d)}var s=(function(){function c(){}return c.secondRange=function(d){for(var h=d.split(","),m=0;m<h.length;m++)if(!isNaN(parseInt(h[m],10))){var y=parseInt(h[m],10);o(y>=0&&y<=59,"seconds part must be >= 0 and <= 59")}},c.minuteRange=function(d){for(var h=d.split(","),m=0;m<h.length;m++)if(!isNaN(parseInt(h[m],10))){var y=parseInt(h[m],10);o(y>=0&&y<=59,"minutes part must be >= 0 and <= 59")}},c.hourRange=function(d){for(var h=d.split(","),m=0;m<h.length;m++)if(!isNaN(parseInt(h[m],10))){var y=parseInt(h[m],10);o(y>=0&&y<=23,"hours part must be >= 0 and <= 23")}},c.dayOfMonthRange=function(d){for(var h=d.split(","),m=0;m<h.length;m++)if(!isNaN(parseInt(h[m],10))){var y=parseInt(h[m],10);o(y>=1&&y<=31,"DOM part must be >= 1 and <= 31")}},c.monthRange=function(d,h){for(var m=d.split(","),y=0;y<m.length;y++)if(!isNaN(parseInt(m[y],10))){var v=parseInt(m[y],10);o(v>=1&&v<=12,h?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},c.dayOfWeekRange=function(d,h){for(var m=d.split(","),y=0;y<m.length;y++)if(!isNaN(parseInt(m[y],10))){var v=parseInt(m[y],10);o(v>=0&&v<=6,h?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}},c})();l.default=s}),823:((u,l)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.StringUtilities=void 0;var o=(function(){function s(){}return s.format=function(c){for(var d=[],h=1;h<arguments.length;h++)d[h-1]=arguments[h];return c.replace(/%s/g,function(m){return d.shift()})},s.containsAny=function(c,d){return d.some(function(h){return c.indexOf(h)>-1})},s})();l.StringUtilities=o})},r={};function i(u){var l=r[u];if(l!==void 0)return l.exports;var o=r[u]={exports:{}};return n[u](o,o.exports,i),o.exports}var a={};return(()=>{var u=a;Object.defineProperty(u,"__esModule",{value:!0}),u.toString=void 0;var l=i(333),o=i(747);l.ExpressionDescriptor.initialize(new o.enLocaleLoader),u.default=l.ExpressionDescriptor;var s=l.ExpressionDescriptor.toString;u.toString=s})(),a})())})(CP)),CP.exports}var IVe=NVe();const nat=oa(IVe);var wP={},RP={},fY;function LVe(){return fY||(fY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==="__proto__"}e.isUnsafeProperty=t})(RP)),RP}var AP={},dY;function Qge(){return dY||(dY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){switch(typeof n){case"number":case"symbol":return!1;case"string":return n.includes(".")||n.includes("[")||n.includes("]")}}e.isDeepKey=t})(AP)),AP}var TP={},hY;function zge(){return hY||(hY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){var r;return typeof n=="string"||typeof n=="symbol"?n:Object.is((r=n==null?void 0:n.valueOf)==null?void 0:r.call(n),-0)?"-0":String(n)}e.toKey=t})(TP)),TP}var kP={},pY;function WI(){return pY||(pY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){const r=[],i=n.length;if(i===0)return r;let a=0,u="",l="",o=!1;for(n.charCodeAt(0)===46&&(r.push(""),a++);a<i;){const s=n[a];l?s==="\\"&&a+1<i?(a++,u+=n[a]):s===l?l="":u+=s:o?s==='"'||s==="'"?l=s:s==="]"?(o=!1,r.push(u),u=""):u+=s:s==="["?(o=!0,u&&(r.push(u),u="")):s==="."?u&&(r.push(u),u=""):u+=s,a++}return u&&r.push(u),r}e.toPath=t})(kP)),kP}var mY;function JI(){return mY||(mY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=LVe(),n=Qge(),r=zge(),i=WI();function a(l,o,s){if(l==null)return s;switch(typeof o){case"string":{if(t.isUnsafeProperty(o))return s;const c=l[o];return c===void 0?n.isDeepKey(o)?a(l,i.toPath(o),s):s:c}case"number":case"symbol":{typeof o=="number"&&(o=r.toKey(o));const c=l[o];return c===void 0?s:c}default:{if(Array.isArray(o))return u(l,o,s);if(Object.is(o==null?void 0:o.valueOf(),-0)?o="-0":o=String(o),t.isUnsafeProperty(o))return s;const c=l[o];return c===void 0?s:c}}}function u(l,o,s){if(o.length===0)return s;let c=l;for(let d=0;d<o.length;d++){if(c==null||t.isUnsafeProperty(o[d]))return s;c=c[o[d]]}return c===void 0?s:c}e.get=a})(wP)),wP}var PP,gY;function BVe(){return gY||(gY=1,PP=JI().get),PP}var QVe=BVe();const rat=oa(QVe);var MP={exports:{}},Yi={};/** @license React v17.0.2
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var vY;function zVe(){if(vY)return Yi;vY=1;var e=60103,t=60106,n=60107,r=60108,i=60114,a=60109,u=60110,l=60112,o=60113,s=60120,c=60115,d=60116,h=60121,m=60122,y=60117,v=60129,_=60131;if(typeof Symbol=="function"&&Symbol.for){var x=Symbol.for;e=x("react.element"),t=x("react.portal"),n=x("react.fragment"),r=x("react.strict_mode"),i=x("react.profiler"),a=x("react.provider"),u=x("react.context"),l=x("react.forward_ref"),o=x("react.suspense"),s=x("react.suspense_list"),c=x("react.memo"),d=x("react.lazy"),h=x("react.block"),m=x("react.server.block"),y=x("react.fundamental"),v=x("react.debug_trace_mode"),_=x("react.legacy_hidden")}function E(N){if(typeof N=="object"&&N!==null){var V=N.$$typeof;switch(V){case e:switch(N=N.type,N){case n:case i:case r:case o:case s:return N;default:switch(N=N&&N.$$typeof,N){case u:case l:case d:case c:case a:return N;default:return V}}case t:return V}}}var w=a,T=e,R=l,C=n,k=d,F=c,z=t,Z=i,q=r,j=o;return Yi.ContextConsumer=u,Yi.ContextProvider=w,Yi.Element=T,Yi.ForwardRef=R,Yi.Fragment=C,Yi.Lazy=k,Yi.Memo=F,Yi.Portal=z,Yi.Profiler=Z,Yi.StrictMode=q,Yi.Suspense=j,Yi.isAsyncMode=function(){return!1},Yi.isConcurrentMode=function(){return!1},Yi.isContextConsumer=function(N){return E(N)===u},Yi.isContextProvider=function(N){return E(N)===a},Yi.isElement=function(N){return typeof N=="object"&&N!==null&&N.$$typeof===e},Yi.isForwardRef=function(N){return E(N)===l},Yi.isFragment=function(N){return E(N)===n},Yi.isLazy=function(N){return E(N)===d},Yi.isMemo=function(N){return E(N)===c},Yi.isPortal=function(N){return E(N)===t},Yi.isProfiler=function(N){return E(N)===i},Yi.isStrictMode=function(N){return E(N)===r},Yi.isSuspense=function(N){return E(N)===o},Yi.isValidElementType=function(N){return typeof N=="string"||typeof N=="function"||N===n||N===i||N===v||N===r||N===o||N===s||N===_||typeof N=="object"&&N!==null&&(N.$$typeof===d||N.$$typeof===c||N.$$typeof===a||N.$$typeof===u||N.$$typeof===l||N.$$typeof===y||N.$$typeof===h||N[0]===m)},Yi.typeOf=E,Yi}var yY;function qVe(){return yY||(yY=1,MP.exports=zVe()),MP.exports}var iat=qVe();function ya(e){return function(){return e}}const qge=Math.cos,v$=Math.sin,gp=Math.sqrt,y$=Math.PI,O5=2*y$,SM=Math.PI,xM=2*SM,p1=1e-6,VVe=xM-p1;function Vge(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function UVe(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Vge;const n=10**t;return function(r){this._+=r[0];for(let i=1,a=r.length;i<a;++i)this._+=Math.round(arguments[i]*n)/n+r[i]}}class jVe{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?Vge:UVe(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,r,i){this._append`Q${+t},${+n},${this._x1=+r},${this._y1=+i}`}bezierCurveTo(t,n,r,i,a,u){this._append`C${+t},${+n},${+r},${+i},${this._x1=+a},${this._y1=+u}`}arcTo(t,n,r,i,a){if(t=+t,n=+n,r=+r,i=+i,a=+a,a<0)throw new Error(`negative radius: ${a}`);let u=this._x1,l=this._y1,o=r-t,s=i-n,c=u-t,d=l-n,h=c*c+d*d;if(this._x1===null)this._append`M${this._x1=t},${this._y1=n}`;else if(h>p1)if(!(Math.abs(d*o-s*c)>p1)||!a)this._append`L${this._x1=t},${this._y1=n}`;else{let m=r-u,y=i-l,v=o*o+s*s,_=m*m+y*y,x=Math.sqrt(v),E=Math.sqrt(h),w=a*Math.tan((SM-Math.acos((v+h-_)/(2*x*E)))/2),T=w/E,R=w/x;Math.abs(T-1)>p1&&this._append`L${t+T*c},${n+T*d}`,this._append`A${a},${a},0,0,${+(d*m>c*y)},${this._x1=t+R*o},${this._y1=n+R*s}`}}arc(t,n,r,i,a,u){if(t=+t,n=+n,r=+r,u=!!u,r<0)throw new Error(`negative radius: ${r}`);let l=r*Math.cos(i),o=r*Math.sin(i),s=t+l,c=n+o,d=1^u,h=u?i-a:a-i;this._x1===null?this._append`M${s},${c}`:(Math.abs(this._x1-s)>p1||Math.abs(this._y1-c)>p1)&&this._append`L${s},${c}`,r&&(h<0&&(h=h%xM+xM),h>VVe?this._append`A${r},${r},0,1,${d},${t-l},${n-o}A${r},${r},0,1,${d},${this._x1=s},${this._y1=c}`:h>p1&&this._append`A${r},${r},0,${+(h>=SM)},${d},${this._x1=t+r*Math.cos(a)},${this._y1=n+r*Math.sin(a)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function eL(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new jVe(t)}function tL(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Uge(e){this._context=e}Uge.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function jge(e){return new Uge(e)}function Zge(e){return e[0]}function Hge(e){return e[1]}function ZVe(e,t){var n=ya(!0),r=null,i=jge,a=null,u=eL(l);e=typeof e=="function"?e:e===void 0?Zge:ya(e),t=typeof t=="function"?t:t===void 0?Hge:ya(t);function l(o){var s,c=(o=tL(o)).length,d,h=!1,m;for(r==null&&(a=i(m=u())),s=0;s<=c;++s)!(s<c&&n(d=o[s],s,o))===h&&((h=!h)?a.lineStart():a.lineEnd()),h&&a.point(+e(d,s,o),+t(d,s,o));if(m)return a=null,m+""||null}return l.x=function(o){return arguments.length?(e=typeof o=="function"?o:ya(+o),l):e},l.y=function(o){return arguments.length?(t=typeof o=="function"?o:ya(+o),l):t},l.defined=function(o){return arguments.length?(n=typeof o=="function"?o:ya(!!o),l):n},l.curve=function(o){return arguments.length?(i=o,r!=null&&(a=i(r)),l):i},l.context=function(o){return arguments.length?(o==null?r=a=null:a=i(r=o),l):r},l}function aat(e,t,n){var r=null,i=ya(!0),a=null,u=jge,l=null,o=eL(s);e=typeof e=="function"?e:e===void 0?Zge:ya(+e),t=typeof t=="function"?t:ya(t===void 0?0:+t),n=typeof n=="function"?n:n===void 0?Hge:ya(+n);function s(d){var h,m,y,v=(d=tL(d)).length,_,x=!1,E,w=new Array(v),T=new Array(v);for(a==null&&(l=u(E=o())),h=0;h<=v;++h){if(!(h<v&&i(_=d[h],h,d))===x)if(x=!x)m=h,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),y=h-1;y>=m;--y)l.point(w[y],T[y]);l.lineEnd(),l.areaEnd()}x&&(w[h]=+e(_,h,d),T[h]=+t(_,h,d),l.point(r?+r(_,h,d):w[h],n?+n(_,h,d):T[h]))}if(E)return l=null,E+""||null}function c(){return ZVe().defined(i).curve(u).context(a)}return s.x=function(d){return arguments.length?(e=typeof d=="function"?d:ya(+d),r=null,s):e},s.x0=function(d){return arguments.length?(e=typeof d=="function"?d:ya(+d),s):e},s.x1=function(d){return arguments.length?(r=d==null?null:typeof d=="function"?d:ya(+d),s):r},s.y=function(d){return arguments.length?(t=typeof d=="function"?d:ya(+d),n=null,s):t},s.y0=function(d){return arguments.length?(t=typeof d=="function"?d:ya(+d),s):t},s.y1=function(d){return arguments.length?(n=d==null?null:typeof d=="function"?d:ya(+d),s):n},s.lineX0=s.lineY0=function(){return c().x(e).y(t)},s.lineY1=function(){return c().x(e).y(n)},s.lineX1=function(){return c().x(r).y(t)},s.defined=function(d){return arguments.length?(i=typeof d=="function"?d:ya(!!d),s):i},s.curve=function(d){return arguments.length?(u=d,a!=null&&(l=u(a)),s):u},s.context=function(d){return arguments.length?(d==null?a=l=null:l=u(a=d),s):a},s}class Xge{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function uat(e){return new Xge(e,!0)}function lat(e){return new Xge(e,!1)}const HVe={draw(e,t){const n=gp(t/y$);e.moveTo(n,0),e.arc(0,0,n,0,O5)}},oat={draw(e,t){const n=gp(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},Yge=gp(1/3),XVe=Yge*2,sat={draw(e,t){const n=gp(t/XVe),r=n*Yge;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},cat={draw(e,t){const n=gp(t),r=-n/2;e.rect(r,r,n,n)}},YVe=.8908130915292852,Gge=v$(y$/10)/v$(7*y$/10),GVe=v$(O5/10)*Gge,KVe=-qge(O5/10)*Gge,fat={draw(e,t){const n=gp(t*YVe),r=GVe*n,i=KVe*n;e.moveTo(0,-n),e.lineTo(r,i);for(let a=1;a<5;++a){const u=O5*a/5,l=qge(u),o=v$(u);e.lineTo(o*n,-l*n),e.lineTo(l*r-o*i,o*r+l*i)}e.closePath()}},FP=gp(3),dat={draw(e,t){const n=-gp(t/(FP*3));e.moveTo(0,n*2),e.lineTo(-FP*n,-n),e.lineTo(FP*n,-n),e.closePath()}},Md=-.5,Fd=gp(3)/2,_M=1/gp(12),WVe=(_M/2+1)*3,hat={draw(e,t){const n=gp(t/WVe),r=n/2,i=n*_M,a=r,u=n*_M+n,l=-a,o=u;e.moveTo(r,i),e.lineTo(a,u),e.lineTo(l,o),e.lineTo(Md*r-Fd*i,Fd*r+Md*i),e.lineTo(Md*a-Fd*u,Fd*a+Md*u),e.lineTo(Md*l-Fd*o,Fd*l+Md*o),e.lineTo(Md*r+Fd*i,Md*i-Fd*r),e.lineTo(Md*a+Fd*u,Md*u-Fd*a),e.lineTo(Md*l+Fd*o,Md*o-Fd*l),e.closePath()}};function pat(e,t){let n=null,r=eL(i);e=typeof e=="function"?e:ya(e||HVe),t=typeof t=="function"?t:ya(t===void 0?64:+t);function i(){let a;if(n||(n=a=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),a)return n=null,a+""||null}return i.type=function(a){return arguments.length?(e=typeof a=="function"?a:ya(a),i):e},i.size=function(a){return arguments.length?(t=typeof a=="function"?a:ya(+a),i):t},i.context=function(a){return arguments.length?(n=a??null,i):n},i}function b$(){}function O$(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Kge(e){this._context=e}Kge.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:O$(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:O$(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function mat(e){return new Kge(e)}function Wge(e){this._context=e}Wge.prototype={areaStart:b$,areaEnd:b$,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:O$(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function gat(e){return new Wge(e)}function Jge(e){this._context=e}Jge.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:O$(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function vat(e){return new Jge(e)}function eve(e){this._context=e}eve.prototype={areaStart:b$,areaEnd:b$,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function yat(e){return new eve(e)}function bY(e){return e<0?-1:1}function OY(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),u=(n-e._y1)/(i||r<0&&-0),l=(a*i+u*r)/(r+i);return(bY(a)+bY(u))*Math.min(Math.abs(a),Math.abs(u),.5*Math.abs(l))||0}function SY(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function NP(e,t,n){var r=e._x0,i=e._y0,a=e._x1,u=e._y1,l=(a-r)/3;e._context.bezierCurveTo(r+l,i+l*t,a-l,u-l*n,a,u)}function S$(e){this._context=e}S$.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:NP(this,this._t0,SY(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,NP(this,SY(this,n=OY(this,e,t)),n);break;default:NP(this,this._t0,n=OY(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function tve(e){this._context=new nve(e)}(tve.prototype=Object.create(S$.prototype)).point=function(e,t){S$.prototype.point.call(this,t,e)};function nve(e){this._context=e}nve.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function bat(e){return new S$(e)}function Oat(e){return new tve(e)}function rve(e){this._context=e}rve.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=xY(e),i=xY(t),a=0,u=1;u<n;++a,++u)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[u],t[u]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function xY(e){var t,n=e.length-1,r,i=new Array(n),a=new Array(n),u=new Array(n);for(i[0]=0,a[0]=2,u[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,u[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,u[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,u[t]-=r*u[t-1];for(i[n-1]=u[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(u[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function Sat(e){return new rve(e)}function S5(e,t){this._context=e,this._t=t}S5.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function xat(e){return new S5(e,.5)}function _at(e){return new S5(e,0)}function Eat(e){return new S5(e,1)}function DS(e,t){if((u=e.length)>1)for(var n=1,r,i,a=e[t[0]],u,l=a.length;n<u;++n)for(i=a,a=e[t[n]],r=0;r<l;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function _Y(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function JVe(e,t){return e[t]}function eUe(e){const t=[];return t.key=e,t}function Dat(){var e=ya([]),t=_Y,n=DS,r=JVe;function i(a){var u=Array.from(e.apply(this,arguments),eUe),l,o=u.length,s=-1,c;for(const d of a)for(l=0,++s;l<o;++l)(u[l][s]=[0,+r(d,u[l].key,s,a)]).data=d;for(l=0,c=tL(t(u));l<o;++l)u[c[l]].index=l;return n(u,c),u}return i.keys=function(a){return arguments.length?(e=typeof a=="function"?a:ya(Array.from(a)),i):e},i.value=function(a){return arguments.length?(r=typeof a=="function"?a:ya(+a),i):r},i.order=function(a){return arguments.length?(t=a==null?_Y:typeof a=="function"?a:ya(Array.from(a)),i):t},i.offset=function(a){return arguments.length?(n=a??DS,i):n},i}function $at(e,t){if((r=e.length)>0){for(var n,r,i=0,a=e[0].length,u;i<a;++i){for(u=n=0;n<r;++n)u+=e[n][i][1]||0;if(u)for(n=0;n<r;++n)e[n][i][1]/=u}DS(e,t)}}function Cat(e,t){if((i=e.length)>0){for(var n=0,r=e[t[0]],i,a=r.length;n<a;++n){for(var u=0,l=0;u<i;++u)l+=e[u][n][1]||0;r[n][1]+=r[n][0]=-l/2}DS(e,t)}}function wat(e,t){if(!(!((u=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var n=0,r=1,i,a,u;r<a;++r){for(var l=0,o=0,s=0;l<u;++l){for(var c=e[t[l]],d=c[r][1]||0,h=c[r-1][1]||0,m=(d-h)/2,y=0;y<l;++y){var v=e[t[y]],_=v[r][1]||0,x=v[r-1][1]||0;m+=_-x}o+=d,s+=m*d}i[r-1][1]+=i[r-1][0]=n,o&&(n-=s/o)}i[r-1][1]+=i[r-1][0]=n,DS(e,t)}}var IP={},LP={},EY;function tUe(){return EY||(EY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,r){const i=new Map;for(let a=0;a<n.length;a++){const u=n[a],l=r(u);i.has(l)||i.set(l,u)}return Array.from(i.values())}e.uniqBy=t})(LP)),LP}var BP={},DY;function ive(){return DY||(DY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n}e.identity=t})(BP)),BP}var QP={},zP={},qP={},$Y;function nUe(){return $Y||($Y=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return Number.isSafeInteger(n)&&n>=0}e.isLength=t})(qP)),qP}var CY;function nL(){return CY||(CY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=nUe();function n(r){return r!=null&&typeof r!="function"&&t.isLength(r.length)}e.isArrayLike=n})(zP)),zP}var VP={},wY;function rUe(){return wY||(wY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return typeof n=="object"&&n!==null}e.isObjectLike=t})(VP)),VP}var RY;function iUe(){return RY||(RY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=nL(),n=rUe();function r(i){return n.isObjectLike(i)&&t.isArrayLike(i)}e.isArrayLikeObject=r})(QP)),QP}var UP={},jP={},AY;function aUe(){return AY||(AY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=JI();function n(r){return function(i){return t.get(i,r)}}e.property=n})(jP)),jP}var ZP={},HP={},XP={},YP={},TY;function ave(){return TY||(TY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n!==null&&(typeof n=="object"||typeof n=="function")}e.isObject=t})(YP)),YP}var GP={},kY;function uve(){return kY||(kY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==null||typeof n!="object"&&typeof n!="function"}e.isPrimitive=t})(GP)),GP}var KP={},PY;function rL(){return PY||(PY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,r){return n===r||Number.isNaN(n)&&Number.isNaN(r)}e.eq=t})(KP)),KP}var MY;function uUe(){return MY||(MY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=iL(),n=ave(),r=uve(),i=rL();function a(d,h,m){return typeof m!="function"?t.isMatch(d,h):u(d,h,function y(v,_,x,E,w,T){const R=m(v,_,x,E,w,T);return R!==void 0?!!R:u(v,_,y,T)},new Map)}function u(d,h,m,y){if(h===d)return!0;switch(typeof h){case"object":return l(d,h,m,y);case"function":return Object.keys(h).length>0?u(d,{...h},m,y):i.eq(d,h);default:return n.isObject(d)?typeof h=="string"?h==="":!0:i.eq(d,h)}}function l(d,h,m,y){if(h==null)return!0;if(Array.isArray(h))return s(d,h,m,y);if(h instanceof Map)return o(d,h,m,y);if(h instanceof Set)return c(d,h,m,y);const v=Object.keys(h);if(d==null)return v.length===0;if(v.length===0)return!0;if(y&&y.has(h))return y.get(h)===d;y&&y.set(h,d);try{for(let _=0;_<v.length;_++){const x=v[_];if(!r.isPrimitive(d)&&!(x in d)||h[x]===void 0&&d[x]!==void 0||h[x]===null&&d[x]!==null||!m(d[x],h[x],x,d,h,y))return!1}return!0}finally{y&&y.delete(h)}}function o(d,h,m,y){if(h.size===0)return!0;if(!(d instanceof Map))return!1;for(const[v,_]of h.entries()){const x=d.get(v);if(m(x,_,v,d,h,y)===!1)return!1}return!0}function s(d,h,m,y){if(h.length===0)return!0;if(!Array.isArray(d))return!1;const v=new Set;for(let _=0;_<h.length;_++){const x=h[_];let E=!1;for(let w=0;w<d.length;w++){if(v.has(w))continue;const T=d[w];let R=!1;if(m(T,x,_,d,h,y)&&(R=!0),R){v.add(w),E=!0;break}}if(!E)return!1}return!0}function c(d,h,m,y){return h.size===0?!0:d instanceof Set?s([...d],[...h],m,y):!1}e.isMatchWith=a,e.isSetMatch=c})(XP)),XP}var FY;function iL(){return FY||(FY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=uUe();function n(r,i){return t.isMatchWith(r,i,()=>{})}e.isMatch=n})(HP)),HP}var WP={},JP={},e8={},NY;function lve(){return NY||(NY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return Object.getOwnPropertySymbols(n).filter(r=>Object.prototype.propertyIsEnumerable.call(n,r))}e.getSymbols=t})(e8)),e8}var t8={},IY;function aL(){return IY||(IY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==null?n===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(n)}e.getTag=t})(t8)),t8}var n8={},LY;function uL(){return LY||(LY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t="[object RegExp]",n="[object String]",r="[object Number]",i="[object Boolean]",a="[object Arguments]",u="[object Symbol]",l="[object Date]",o="[object Map]",s="[object Set]",c="[object Array]",d="[object Function]",h="[object ArrayBuffer]",m="[object Object]",y="[object Error]",v="[object DataView]",_="[object Uint8Array]",x="[object Uint8ClampedArray]",E="[object Uint16Array]",w="[object Uint32Array]",T="[object BigUint64Array]",R="[object Int8Array]",C="[object Int16Array]",k="[object Int32Array]",F="[object BigInt64Array]",z="[object Float32Array]",Z="[object Float64Array]";e.argumentsTag=a,e.arrayBufferTag=h,e.arrayTag=c,e.bigInt64ArrayTag=F,e.bigUint64ArrayTag=T,e.booleanTag=i,e.dataViewTag=v,e.dateTag=l,e.errorTag=y,e.float32ArrayTag=z,e.float64ArrayTag=Z,e.functionTag=d,e.int16ArrayTag=C,e.int32ArrayTag=k,e.int8ArrayTag=R,e.mapTag=o,e.numberTag=r,e.objectTag=m,e.regexpTag=t,e.setTag=s,e.stringTag=n,e.symbolTag=u,e.uint16ArrayTag=E,e.uint32ArrayTag=w,e.uint8ArrayTag=_,e.uint8ClampedArrayTag=x})(n8)),n8}var r8={},BY;function lUe(){return BY||(BY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}e.isTypedArray=t})(r8)),r8}var QY;function ove(){return QY||(QY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=lve(),n=aL(),r=uL(),i=uve(),a=lUe();function u(c,d){return l(c,void 0,c,new Map,d)}function l(c,d,h,m=new Map,y=void 0){const v=y==null?void 0:y(c,d,h,m);if(v!=null)return v;if(i.isPrimitive(c))return c;if(m.has(c))return m.get(c);if(Array.isArray(c)){const _=new Array(c.length);m.set(c,_);for(let x=0;x<c.length;x++)_[x]=l(c[x],x,h,m,y);return Object.hasOwn(c,"index")&&(_.index=c.index),Object.hasOwn(c,"input")&&(_.input=c.input),_}if(c instanceof Date)return new Date(c.getTime());if(c instanceof RegExp){const _=new RegExp(c.source,c.flags);return _.lastIndex=c.lastIndex,_}if(c instanceof Map){const _=new Map;m.set(c,_);for(const[x,E]of c)_.set(x,l(E,x,h,m,y));return _}if(c instanceof Set){const _=new Set;m.set(c,_);for(const x of c)_.add(l(x,void 0,h,m,y));return _}if(typeof Buffer<"u"&&Buffer.isBuffer(c))return c.subarray();if(a.isTypedArray(c)){const _=new(Object.getPrototypeOf(c)).constructor(c.length);m.set(c,_);for(let x=0;x<c.length;x++)_[x]=l(c[x],x,h,m,y);return _}if(c instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&c instanceof SharedArrayBuffer)return c.slice(0);if(c instanceof DataView){const _=new DataView(c.buffer.slice(0),c.byteOffset,c.byteLength);return m.set(c,_),o(_,c,h,m,y),_}if(typeof File<"u"&&c instanceof File){const _=new File([c],c.name,{type:c.type});return m.set(c,_),o(_,c,h,m,y),_}if(c instanceof Blob){const _=new Blob([c],{type:c.type});return m.set(c,_),o(_,c,h,m,y),_}if(c instanceof Error){const _=new c.constructor;return m.set(c,_),_.message=c.message,_.name=c.name,_.stack=c.stack,_.cause=c.cause,o(_,c,h,m,y),_}if(typeof c=="object"&&s(c)){const _=Object.create(Object.getPrototypeOf(c));return m.set(c,_),o(_,c,h,m,y),_}return c}function o(c,d,h=c,m,y){const v=[...Object.keys(d),...t.getSymbols(d)];for(let _=0;_<v.length;_++){const x=v[_],E=Object.getOwnPropertyDescriptor(c,x);(E==null||E.writable)&&(c[x]=l(d[x],x,h,m,y))}}function s(c){switch(n.getTag(c)){case r.argumentsTag:case r.arrayTag:case r.arrayBufferTag:case r.dataViewTag:case r.booleanTag:case r.dateTag:case r.float32ArrayTag:case r.float64ArrayTag:case r.int8ArrayTag:case r.int16ArrayTag:case r.int32ArrayTag:case r.mapTag:case r.numberTag:case r.objectTag:case r.regexpTag:case r.setTag:case r.stringTag:case r.symbolTag:case r.uint8ArrayTag:case r.uint8ClampedArrayTag:case r.uint16ArrayTag:case r.uint32ArrayTag:return!0;default:return!1}}e.cloneDeepWith=u,e.cloneDeepWithImpl=l,e.copyProperties=o})(JP)),JP}var zY;function oUe(){return zY||(zY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ove();function n(r){return t.cloneDeepWithImpl(r,void 0,r,new Map,void 0)}e.cloneDeep=n})(WP)),WP}var qY;function sUe(){return qY||(qY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=iL(),n=oUe();function r(i){return i=n.cloneDeep(i),a=>t.isMatch(a,i)}e.matches=r})(ZP)),ZP}var i8={},a8={},u8={},VY;function cUe(){return VY||(VY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ove(),n=uL();function r(i,a){return t.cloneDeepWith(i,(u,l,o,s)=>{const c=a==null?void 0:a(u,l,o,s);if(c!=null)return c;if(typeof i=="object")switch(Object.prototype.toString.call(i)){case n.numberTag:case n.stringTag:case n.booleanTag:{const d=new i.constructor(i==null?void 0:i.valueOf());return t.copyProperties(d,i),d}case n.argumentsTag:{const d={};return t.copyProperties(d,i),d.length=i.length,d[Symbol.iterator]=i[Symbol.iterator],d}default:return}})}e.cloneDeepWith=r})(u8)),u8}var UY;function fUe(){return UY||(UY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=cUe();function n(r){return t.cloneDeepWith(r)}e.cloneDeep=n})(a8)),a8}var l8={},o8={},jY;function sve(){return jY||(jY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=/^(?:0|[1-9]\d*)$/;function n(r,i=Number.MAX_SAFE_INTEGER){switch(typeof r){case"number":return Number.isInteger(r)&&r>=0&&r<i;case"symbol":return!1;case"string":return t.test(r)}}e.isIndex=n})(o8)),o8}var s8={},ZY;function dUe(){return ZY||(ZY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=aL();function n(r){return r!==null&&typeof r=="object"&&t.getTag(r)==="[object Arguments]"}e.isArguments=n})(s8)),s8}var HY;function hUe(){return HY||(HY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Qge(),n=sve(),r=dUe(),i=WI();function a(u,l){let o;if(Array.isArray(l)?o=l:typeof l=="string"&&t.isDeepKey(l)&&(u==null?void 0:u[l])==null?o=i.toPath(l):o=[l],o.length===0)return!1;let s=u;for(let c=0;c<o.length;c++){const d=o[c];if((s==null||!Object.hasOwn(s,d))&&!((Array.isArray(s)||r.isArguments(s))&&n.isIndex(d)&&d<s.length))return!1;s=s[d]}return!0}e.has=a})(l8)),l8}var XY;function pUe(){return XY||(XY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=iL(),n=zge(),r=fUe(),i=JI(),a=hUe();function u(l,o){switch(typeof l){case"object":{Object.is(l==null?void 0:l.valueOf(),-0)&&(l="-0");break}case"number":{l=n.toKey(l);break}}return o=r.cloneDeep(o),function(s){const c=i.get(s,l);return c===void 0?a.has(s,l):o===void 0?c===void 0:t.isMatch(c,o)}}e.matchesProperty=u})(i8)),i8}var YY;function mUe(){return YY||(YY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ive(),n=aUe(),r=sUe(),i=pUe();function a(u){if(u==null)return t.identity;switch(typeof u){case"function":return u;case"object":return Array.isArray(u)&&u.length===2?i.matchesProperty(u[0],u[1]):r.matches(u);case"string":case"symbol":case"number":return n.property(u)}}e.iteratee=a})(UP)),UP}var GY;function gUe(){return GY||(GY=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=tUe(),n=ive(),r=iUe(),i=mUe();function a(u,l=n.identity){return r.isArrayLikeObject(u)?t.uniqBy(Array.from(u),i.iteratee(l)):[]}e.uniqBy=a})(IP)),IP}var c8,KY;function vUe(){return KY||(KY=1,c8=gUe().uniqBy),c8}var yUe=vUe();const Rat=oa(yUe);function bUe(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function OUe(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function SUe(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(r=>typeof r=="function"?`function ${r.name||"unnamed"}()`:typeof r).join(", ");throw new TypeError(`${t}[${n}]`)}}var WY=e=>Array.isArray(e)?e:[e];function xUe(e){const t=Array.isArray(e[0])?e[0]:e;return SUe(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function _Ue(e,t){const n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}var EUe=class{constructor(e){this.value=e}deref(){return this.value}},DUe=typeof WeakRef<"u"?WeakRef:EUe,$Ue=0,JY=1;function aE(){return{s:$Ue,v:void 0,o:null,p:null}}function cve(e,t={}){let n=aE();const{resultEqualityCheck:r}=t;let i,a=0;function u(){var d;let l=n;const{length:o}=arguments;for(let h=0,m=o;h<m;h++){const y=arguments[h];if(typeof y=="function"||typeof y=="object"&&y!==null){let v=l.o;v===null&&(l.o=v=new WeakMap);const _=v.get(y);_===void 0?(l=aE(),v.set(y,l)):l=_}else{let v=l.p;v===null&&(l.p=v=new Map);const _=v.get(y);_===void 0?(l=aE(),v.set(y,l)):l=_}}const s=l;let c;if(l.s===JY)c=l.v;else if(c=e.apply(null,arguments),a++,r){const h=((d=i==null?void 0:i.deref)==null?void 0:d.call(i))??i;h!=null&&r(h,c)&&(c=h,a!==0&&a--),i=typeof c=="object"&&c!==null||typeof c=="function"?new DUe(c):c}return s.s=JY,s.v=c,c}return u.clearCache=()=>{n=aE(),u.resetResultsCount()},u.resultsCount=()=>a,u.resetResultsCount=()=>{a=0},u}function CUe(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,r=(...i)=>{let a=0,u=0,l,o={},s=i.pop();typeof s=="object"&&(o=s,s=i.pop()),bUe(s,`createSelector expects an output function after the inputs, but received: [${typeof s}]`);const c={...n,...o},{memoize:d,memoizeOptions:h=[],argsMemoize:m=cve,argsMemoizeOptions:y=[]}=c,v=WY(h),_=WY(y),x=xUe(i),E=d(function(){return a++,s.apply(null,arguments)},...v),w=m(function(){u++;const R=_Ue(x,arguments);return l=E.apply(null,R),l},..._);return Object.assign(w,{resultFunc:s,memoizedResultFunc:E,dependencies:x,dependencyRecomputations:()=>u,resetDependencyRecomputations:()=>{u=0},lastResult:()=>l,recomputations:()=>a,resetRecomputations:()=>{a=0},memoize:d,argsMemoize:m})};return Object.assign(r,{withTypes:()=>r}),r}var wUe=CUe(cve),RUe=Object.assign((e,t=wUe)=>{OUe(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),r=n.map(a=>e[a]);return t(r,(...a)=>a.reduce((u,l,o)=>(u[n[o]]=l,u),{}))},{withTypes:()=>RUe}),f8={},d8={},h8={},eG;function AUe(){return eG||(eG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(r){return typeof r=="symbol"?1:r===null?2:r===void 0?3:r!==r?4:0}const n=(r,i,a)=>{if(r!==i){const u=t(r),l=t(i);if(u===l&&u===0){if(r<i)return a==="desc"?1:-1;if(r>i)return a==="desc"?-1:1}return a==="desc"?l-u:u-l}return 0};e.compareValues=n})(h8)),h8}var p8={},m8={},tG;function fve(){return tG||(tG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return typeof n=="symbol"||n instanceof Symbol}e.isSymbol=t})(m8)),m8}var nG;function TUe(){return nG||(nG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=fve(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;function i(a,u){return Array.isArray(a)?!1:typeof a=="number"||typeof a=="boolean"||a==null||t.isSymbol(a)?!0:typeof a=="string"&&(r.test(a)||!n.test(a))||u!=null&&Object.hasOwn(u,a)}e.isKey=i})(p8)),p8}var rG;function kUe(){return rG||(rG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=AUe(),n=TUe(),r=WI();function i(a,u,l,o){if(a==null)return[];l=o?void 0:l,Array.isArray(a)||(a=Object.values(a)),Array.isArray(u)||(u=u==null?[null]:[u]),u.length===0&&(u=[null]),Array.isArray(l)||(l=l==null?[]:[l]),l=l.map(m=>String(m));const s=(m,y)=>{let v=m;for(let _=0;_<y.length&&v!=null;++_)v=v[y[_]];return v},c=(m,y)=>y==null||m==null?y:typeof m=="object"&&"key"in m?Object.hasOwn(y,m.key)?y[m.key]:s(y,m.path):typeof m=="function"?m(y):Array.isArray(m)?s(y,m):typeof y=="object"?y[m]:y,d=u.map(m=>(Array.isArray(m)&&m.length===1&&(m=m[0]),m==null||typeof m=="function"||Array.isArray(m)||n.isKey(m)?m:{key:m,path:r.toPath(m)}));return a.map(m=>({original:m,criteria:d.map(y=>c(y,m))})).slice().sort((m,y)=>{for(let v=0;v<d.length;v++){const _=t.compareValues(m.criteria[v],y.criteria[v],l[v]);if(_!==0)return _}return 0}).map(m=>m.original)}e.orderBy=i})(d8)),d8}var g8={},iG;function PUe(){return iG||(iG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,r=1){const i=[],a=Math.floor(r),u=(l,o)=>{for(let s=0;s<l.length;s++){const c=l[s];Array.isArray(c)&&o<a?u(c,o+1):i.push(c)}};return u(n,0),i}e.flatten=t})(g8)),g8}var v8={},aG;function dve(){return aG||(aG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=sve(),n=nL(),r=ave(),i=rL();function a(u,l,o){return r.isObject(o)&&(typeof l=="number"&&n.isArrayLike(o)&&t.isIndex(l)&&l<o.length||typeof l=="string"&&l in o)?i.eq(o[l],u):!1}e.isIterateeCall=a})(v8)),v8}var uG;function MUe(){return uG||(uG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=kUe(),n=PUe(),r=dve();function i(a,...u){const l=u.length;return l>1&&r.isIterateeCall(a,u[0],u[1])?u=[]:l>2&&r.isIterateeCall(u[0],u[1],u[2])&&(u=[u[0]]),t.orderBy(a,n.flatten(u),["asc"])}e.sortBy=i})(f8)),f8}var y8,lG;function FUe(){return lG||(lG=1,y8=MUe().sortBy),y8}var NUe=FUe();const Aat=oa(NUe);function Co(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var IUe=typeof Symbol=="function"&&Symbol.observable||"@@observable",oG=IUe,b8=()=>Math.random().toString(36).substring(7).split("").join("."),LUe={INIT:`@@redux/INIT${b8()}`,REPLACE:`@@redux/REPLACE${b8()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${b8()}`},x$=LUe;function lL(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function hve(e,t,n){if(typeof e!="function")throw new Error(Co(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Co(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Co(1));return n(hve)(e,t)}let r=e,i=t,a=new Map,u=a,l=0,o=!1;function s(){u===a&&(u=new Map,a.forEach((_,x)=>{u.set(x,_)}))}function c(){if(o)throw new Error(Co(3));return i}function d(_){if(typeof _!="function")throw new Error(Co(4));if(o)throw new Error(Co(5));let x=!0;s();const E=l++;return u.set(E,_),function(){if(x){if(o)throw new Error(Co(6));x=!1,s(),u.delete(E),a=null}}}function h(_){if(!lL(_))throw new Error(Co(7));if(typeof _.type>"u")throw new Error(Co(8));if(typeof _.type!="string")throw new Error(Co(17));if(o)throw new Error(Co(9));try{o=!0,i=r(i,_)}finally{o=!1}return(a=u).forEach(E=>{E()}),_}function m(_){if(typeof _!="function")throw new Error(Co(10));r=_,h({type:x$.REPLACE})}function y(){const _=d;return{subscribe(x){if(typeof x!="object"||x===null)throw new Error(Co(11));function E(){const T=x;T.next&&T.next(c())}return E(),{unsubscribe:_(E)}},[oG](){return this}}}return h({type:x$.INIT}),{dispatch:h,subscribe:d,getState:c,replaceReducer:m,[oG]:y}}function BUe(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:x$.INIT})>"u")throw new Error(Co(12));if(typeof n(void 0,{type:x$.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Co(13))})}function QUe(e){const t=Object.keys(e),n={};for(let a=0;a<t.length;a++){const u=t[a];typeof e[u]=="function"&&(n[u]=e[u])}const r=Object.keys(n);let i;try{BUe(n)}catch(a){i=a}return function(u={},l){if(i)throw i;let o=!1;const s={};for(let c=0;c<r.length;c++){const d=r[c],h=n[d],m=u[d],y=h(m,l);if(typeof y>"u")throw l&&l.type,new Error(Co(14));s[d]=y,o=o||y!==m}return o=o||r.length!==Object.keys(u).length,o?s:u}}function _$(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function zUe(...e){return t=>(n,r)=>{const i=t(n,r);let a=()=>{throw new Error(Co(15))};const u={getState:i.getState,dispatch:(o,...s)=>a(o,...s)},l=e.map(o=>o(u));return a=_$(...l)(i.dispatch),{...i,dispatch:a}}}function pve(e){return lL(e)&&"type"in e&&typeof e.type=="string"}var mve=Symbol.for("immer-nothing"),sG=Symbol.for("immer-draftable"),Yf=Symbol.for("immer-state");function Kh(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var D3=Object.getPrototypeOf;function rb(e){return!!e&&!!e[Yf]}function ag(e){var t;return e?gve(e)||Array.isArray(e)||!!e[sG]||!!((t=e.constructor)!=null&&t[sG])||_5(e)||E5(e):!1}var qUe=Object.prototype.constructor.toString();function gve(e){if(!e||typeof e!="object")return!1;const t=D3(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===qUe}function E$(e,t){x5(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function x5(e){const t=e[Yf];return t?t.type_:Array.isArray(e)?1:_5(e)?2:E5(e)?3:0}function EM(e,t){return x5(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function vve(e,t,n){const r=x5(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function VUe(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function _5(e){return e instanceof Map}function E5(e){return e instanceof Set}function m1(e){return e.copy_||e.base_}function DM(e,t){if(_5(e))return new Map(e);if(E5(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=gve(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[Yf];let i=Reflect.ownKeys(r);for(let a=0;a<i.length;a++){const u=i[a],l=r[u];l.writable===!1&&(l.writable=!0,l.configurable=!0),(l.get||l.set)&&(r[u]={configurable:!0,writable:!0,enumerable:l.enumerable,value:e[u]})}return Object.create(D3(e),r)}else{const r=D3(e);if(r!==null&&n)return{...e};const i=Object.create(r);return Object.assign(i,e)}}function oL(e,t=!1){return D5(e)||rb(e)||!ag(e)||(x5(e)>1&&(e.set=e.add=e.clear=e.delete=UUe),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>oL(r,!0))),e}function UUe(){Kh(2)}function D5(e){return Object.isFrozen(e)}var jUe={};function ib(e){const t=jUe[e];return t||Kh(0,e),t}var $S;function yve(){return $S}function ZUe(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function cG(e,t){t&&(ib("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function $M(e){CM(e),e.drafts_.forEach(HUe),e.drafts_=null}function CM(e){e===$S&&($S=e.parent_)}function fG(e){return $S=ZUe($S,e)}function HUe(e){const t=e[Yf];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function dG(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Yf].modified_&&($M(t),Kh(4)),ag(e)&&(e=D$(t,e),t.parent_||$$(t,e)),t.patches_&&ib("Patches").generateReplacementPatches_(n[Yf].base_,e,t.patches_,t.inversePatches_)):e=D$(t,n,[]),$M(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==mve?e:void 0}function D$(e,t,n){if(D5(t))return t;const r=t[Yf];if(!r)return E$(t,(i,a)=>hG(e,r,t,i,a,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return $$(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let a=i,u=!1;r.type_===3&&(a=new Set(i),i.clear(),u=!0),E$(a,(l,o)=>hG(e,r,i,l,o,n,u)),$$(e,i,!1),n&&e.patches_&&ib("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function hG(e,t,n,r,i,a,u){if(rb(i)){const l=a&&t&&t.type_!==3&&!EM(t.assigned_,r)?a.concat(r):void 0,o=D$(e,i,l);if(vve(n,r,o),rb(o))e.canAutoFreeze_=!1;else return}else u&&n.add(i);if(ag(i)&&!D5(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;D$(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&$$(e,i)}}function $$(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&oL(t,n)}function XUe(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:yve(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,a=sL;n&&(i=[r],a=CS);const{revoke:u,proxy:l}=Proxy.revocable(i,a);return r.draft_=l,r.revoke_=u,l}var sL={get(e,t){if(t===Yf)return e;const n=m1(e);if(!EM(n,t))return YUe(e,n,t);const r=n[t];return e.finalized_||!ag(r)?r:r===O8(e.base_,t)?(S8(e),e.copy_[t]=RM(r,e)):r},has(e,t){return t in m1(e)},ownKeys(e){return Reflect.ownKeys(m1(e))},set(e,t,n){const r=bve(m1(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=O8(m1(e),t),a=i==null?void 0:i[Yf];if(a&&a.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(VUe(n,i)&&(n!==void 0||EM(e.base_,t)))return!0;S8(e),wM(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return O8(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,S8(e),wM(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=m1(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Kh(11)},getPrototypeOf(e){return D3(e.base_)},setPrototypeOf(){Kh(12)}},CS={};E$(sL,(e,t)=>{CS[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});CS.deleteProperty=function(e,t){return CS.set.call(this,e,t,void 0)};CS.set=function(e,t,n){return sL.set.call(this,e[0],t,n,e[0])};function O8(e,t){const n=e[Yf];return(n?m1(n):e)[t]}function YUe(e,t,n){var i;const r=bve(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function bve(e,t){if(!(t in e))return;let n=D3(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=D3(n)}}function wM(e){e.modified_||(e.modified_=!0,e.parent_&&wM(e.parent_))}function S8(e){e.copy_||(e.copy_=DM(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var GUe=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const a=n;n=t;const u=this;return function(o=a,...s){return u.produce(o,c=>n.call(this,c,...s))}}typeof n!="function"&&Kh(6),r!==void 0&&typeof r!="function"&&Kh(7);let i;if(ag(t)){const a=fG(this),u=RM(t,void 0);let l=!0;try{i=n(u),l=!1}finally{l?$M(a):CM(a)}return cG(a,r),dG(i,a)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===mve&&(i=void 0),this.autoFreeze_&&oL(i,!0),r){const a=[],u=[];ib("Patches").generateReplacementPatches_(t,i,a,u),r(a,u)}return i}else Kh(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(u,...l)=>this.produceWithPatches(u,o=>t(o,...l));let r,i;return[this.produce(t,n,(u,l)=>{r=u,i=l}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){ag(e)||Kh(8),rb(e)&&(e=KUe(e));const t=fG(this),n=RM(e,void 0);return n[Yf].isManual_=!0,CM(t),n}finishDraft(e,t){const n=e&&e[Yf];(!n||!n.isManual_)&&Kh(9);const{scope_:r}=n;return cG(r,t),dG(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=ib("Patches").applyPatches_;return rb(e)?r(e,t):this.produce(e,i=>r(i,t))}};function RM(e,t){const n=_5(e)?ib("MapSet").proxyMap_(e,t):E5(e)?ib("MapSet").proxySet_(e,t):XUe(e,t);return(t?t.scope_:yve()).drafts_.push(n),n}function KUe(e){return rb(e)||Kh(10,e),Ove(e)}function Ove(e){if(!ag(e)||D5(e))return e;const t=e[Yf];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=DM(e,t.scope_.immer_.useStrictShallowCopy_)}else n=DM(e,!0);return E$(n,(r,i)=>{vve(n,r,Ove(i))}),t&&(t.finalized_=!1),n}var Gf=new GUe,Sve=Gf.produce;Gf.produceWithPatches.bind(Gf);Gf.setAutoFreeze.bind(Gf);Gf.setUseStrictShallowCopy.bind(Gf);Gf.applyPatches.bind(Gf);Gf.createDraft.bind(Gf);Gf.finishDraft.bind(Gf);function Tat(e){return e}function xve(e){return({dispatch:n,getState:r})=>i=>a=>typeof a=="function"?a(n,r,e):i(a)}var WUe=xve(),JUe=xve,eje=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?_$:_$.apply(null,arguments)};function $3(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(Vf(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>pve(r)&&r.type===e,n}var _ve=class x2 extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,x2.prototype)}static get[Symbol.species](){return x2}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new x2(...t[0].concat(this)):new x2(...t.concat(this))}};function pG(e){return ag(e)?Sve(e,()=>{}):e}function uE(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function tje(e){return typeof e=="boolean"}var nje=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=t??{};let u=new _ve;return n&&(tje(n)?u.push(WUe):u.push(JUe(n.extraArgument))),u},rje="RTK_autoBatch",mG=e=>t=>{setTimeout(t,e)},ije=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,a=!1,u=!1;const l=new Set,o=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:mG(10):e.type==="callback"?e.queueNotification:mG(e.timeout),s=()=>{u=!1,a&&(a=!1,l.forEach(c=>c()))};return Object.assign({},r,{subscribe(c){const d=()=>i&&c(),h=r.subscribe(d);return l.add(c),()=>{h(),l.delete(c)}},dispatch(c){var d;try{return i=!((d=c==null?void 0:c.meta)!=null&&d[rje]),a=!i,a&&(u||(u=!0,o(s))),r.dispatch(c)}finally{i=!0}}})},aje=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new _ve(e);return r&&i.push(ije(typeof r=="object"?r:void 0)),i};function kat(e){const t=nje(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:a=void 0,enhancers:u=void 0}=e||{};let l;if(typeof n=="function")l=n;else if(lL(n))l=QUe(n);else throw new Error(Vf(1));let o;typeof r=="function"?o=r(t):o=t();let s=_$;i&&(s=eje({trace:!1,...typeof i=="object"&&i}));const c=zUe(...o),d=aje(c);let h=typeof u=="function"?u(d):d();const m=s(...h);return hve(l,a,m)}function Eve(e){const t={},n=[];let r;const i={addCase(a,u){const l=typeof a=="string"?a:a.type;if(!l)throw new Error(Vf(28));if(l in t)throw new Error(Vf(29));return t[l]=u,i},addMatcher(a,u){return n.push({matcher:a,reducer:u}),i},addDefaultCase(a){return r=a,i}};return e(i),[t,n,r]}function uje(e){return typeof e=="function"}function lje(e,t){let[n,r,i]=Eve(t),a;if(uje(e))a=()=>pG(e());else{const l=pG(e);a=()=>l}function u(l=a(),o){let s=[n[o.type],...r.filter(({matcher:c})=>c(o)).map(({reducer:c})=>c)];return s.filter(c=>!!c).length===0&&(s=[i]),s.reduce((c,d)=>{if(d)if(rb(c)){const m=d(c,o);return m===void 0?c:m}else{if(ag(c))return Sve(c,h=>d(h,o));{const h=d(c,o);if(h===void 0){if(c===null)return c;throw Error("A case reducer on a non-draftable value must not return undefined")}return h}}return c},l)}return u.getInitialState=a,u}var oje="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",sje=(e=21)=>{let t="",n=e;for(;n--;)t+=oje[Math.random()*64|0];return t},cje=Symbol.for("rtk-slice-createasyncthunk");function fje(e,t){return`${e}/${t}`}function dje({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[cje];return function(i){const{name:a,reducerPath:u=a}=i;if(!a)throw new Error(Vf(11));const l=(typeof i.reducers=="function"?i.reducers(pje()):i.reducers)||{},o=Object.keys(l),s={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},c={addCase(T,R){const C=typeof T=="string"?T:T.type;if(!C)throw new Error(Vf(12));if(C in s.sliceCaseReducersByType)throw new Error(Vf(13));return s.sliceCaseReducersByType[C]=R,c},addMatcher(T,R){return s.sliceMatchers.push({matcher:T,reducer:R}),c},exposeAction(T,R){return s.actionCreators[T]=R,c},exposeCaseReducer(T,R){return s.sliceCaseReducersByName[T]=R,c}};o.forEach(T=>{const R=l[T],C={reducerName:T,type:fje(a,T),createNotation:typeof i.reducers=="function"};gje(R)?yje(C,R,c,t):mje(C,R,c)});function d(){const[T={},R=[],C=void 0]=typeof i.extraReducers=="function"?Eve(i.extraReducers):[i.extraReducers],k={...T,...s.sliceCaseReducersByType};return lje(i.initialState,F=>{for(let z in k)F.addCase(z,k[z]);for(let z of s.sliceMatchers)F.addMatcher(z.matcher,z.reducer);for(let z of R)F.addMatcher(z.matcher,z.reducer);C&&F.addDefaultCase(C)})}const h=T=>T,m=new Map,y=new WeakMap;let v;function _(T,R){return v||(v=d()),v(T,R)}function x(){return v||(v=d()),v.getInitialState()}function E(T,R=!1){function C(F){let z=F[T];return typeof z>"u"&&R&&(z=uE(y,C,x)),z}function k(F=h){const z=uE(m,R,()=>new WeakMap);return uE(z,F,()=>{const Z={};for(const[q,j]of Object.entries(i.selectors??{}))Z[q]=hje(j,F,()=>uE(y,F,x),R);return Z})}return{reducerPath:T,getSelectors:k,get selectors(){return k(C)},selectSlice:C}}const w={name:a,reducer:_,actions:s.actionCreators,caseReducers:s.sliceCaseReducersByName,getInitialState:x,...E(u),injectInto(T,{reducerPath:R,...C}={}){const k=R??u;return T.inject({reducerPath:k,reducer:_},C),{...w,...E(k,!0)}}};return w}}function hje(e,t,n,r){function i(a,...u){let l=t(a);return typeof l>"u"&&r&&(l=n()),e(l,...u)}return i.unwrapped=e,i}var Pat=dje();function pje(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function mje({type:e,reducerName:t,createNotation:n},r,i){let a,u;if("reducer"in r){if(n&&!vje(r))throw new Error(Vf(17));a=r.reducer,u=r.prepare}else a=r;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,u?$3(e,u):$3(e))}function gje(e){return e._reducerDefinitionType==="asyncThunk"}function vje(e){return e._reducerDefinitionType==="reducerWithPrepare"}function yje({type:e,reducerName:t},n,r,i){if(!i)throw new Error(Vf(18));const{payloadCreator:a,fulfilled:u,pending:l,rejected:o,settled:s,options:c}=n,d=i(e,a,c);r.exposeAction(t,d),u&&r.addCase(d.fulfilled,u),l&&r.addCase(d.pending,l),o&&r.addCase(d.rejected,o),s&&r.addMatcher(d.settled,s),r.exposeCaseReducer(t,{fulfilled:u||lE,pending:l||lE,rejected:o||lE,settled:s||lE})}function lE(){}var bje="task",Dve="listener",$ve="completed",cL="cancelled",Oje=`task-${cL}`,Sje=`task-${$ve}`,AM=`${Dve}-${cL}`,xje=`${Dve}-${$ve}`,$5=class{constructor(e){u_(this,"name","TaskAbortError");u_(this,"message");this.code=e,this.message=`${bje} ${cL} (reason: ${e})`}},fL=(e,t)=>{if(typeof e!="function")throw new TypeError(Vf(32))},C$=()=>{},Cve=(e,t=C$)=>(e.catch(t),e),wve=(e,t)=>(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)),F1=(e,t)=>{const n=e.signal;n.aborted||("reason"in n||Object.defineProperty(n,"reason",{enumerable:!0,value:t,configurable:!0,writable:!0}),e.abort(t))},N1=e=>{if(e.aborted){const{reason:t}=e;throw new $5(t)}};function Rve(e,t){let n=C$;return new Promise((r,i)=>{const a=()=>i(new $5(e.reason));if(e.aborted){a();return}n=wve(e,a),t.finally(()=>n()).then(r,i)}).finally(()=>{n=C$})}var _je=async(e,t)=>{try{return await Promise.resolve(),{status:"ok",value:await e()}}catch(n){return{status:n instanceof $5?"cancelled":"rejected",error:n}}finally{t==null||t()}},w$=e=>t=>Cve(Rve(e,t).then(n=>(N1(e),n))),Ave=e=>{const t=w$(e);return n=>t(new Promise(r=>setTimeout(r,n)))},{assign:a3}=Object,gG={},C5="listenerMiddleware",Eje=(e,t)=>{const n=r=>wve(e,()=>F1(r,e.reason));return(r,i)=>{fL(r);const a=new AbortController;n(a);const u=_je(async()=>{N1(e),N1(a.signal);const l=await r({pause:w$(a.signal),delay:Ave(a.signal),signal:a.signal});return N1(a.signal),l},()=>F1(a,Sje));return i!=null&&i.autoJoin&&t.push(u.catch(C$)),{result:w$(e)(u),cancel(){F1(a,Oje)}}}},Dje=(e,t)=>{const n=async(r,i)=>{N1(t);let a=()=>{};const l=[new Promise((o,s)=>{let c=e({predicate:r,effect:(d,h)=>{h.unsubscribe(),o([d,h.getState(),h.getOriginalState()])}});a=()=>{c(),s()}})];i!=null&&l.push(new Promise(o=>setTimeout(o,i,null)));try{const o=await Rve(t,Promise.race(l));return N1(t),o}finally{a()}};return(r,i)=>Cve(n(r,i))},Tve=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:a}=e;if(t)i=$3(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw new Error(Vf(21));return fL(a),{predicate:i,type:t,effect:a}},kve=a3(e=>{const{type:t,predicate:n,effect:r}=Tve(e);return{id:sje(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(Vf(22))}}},{withTypes:()=>kve}),vG=(e,t)=>{const{type:n,effect:r,predicate:i}=Tve(t);return Array.from(e.values()).find(a=>(typeof n=="string"?a.type===n:a.predicate===i)&&a.effect===r)},TM=e=>{e.pending.forEach(t=>{F1(t,AM)})},$je=e=>()=>{e.forEach(TM),e.clear()},yG=(e,t,n)=>{try{e(t,n)}catch(r){setTimeout(()=>{throw r},0)}},Pve=a3($3(`${C5}/add`),{withTypes:()=>Pve}),Cje=$3(`${C5}/removeAll`),Mve=a3($3(`${C5}/remove`),{withTypes:()=>Mve}),wje=(...e)=>{console.error(`${C5}/error`,...e)},Mat=(e={})=>{const t=new Map,{extra:n,onError:r=wje}=e;fL(r);const i=c=>(c.unsubscribe=()=>t.delete(c.id),t.set(c.id,c),d=>{c.unsubscribe(),d!=null&&d.cancelActive&&TM(c)}),a=c=>{const d=vG(t,c)??kve(c);return i(d)};a3(a,{withTypes:()=>a});const u=c=>{const d=vG(t,c);return d&&(d.unsubscribe(),c.cancelActive&&TM(d)),!!d};a3(u,{withTypes:()=>u});const l=async(c,d,h,m)=>{const y=new AbortController,v=Dje(a,y.signal),_=[];try{c.pending.add(y),await Promise.resolve(c.effect(d,a3({},h,{getOriginalState:m,condition:(x,E)=>v(x,E).then(Boolean),take:v,delay:Ave(y.signal),pause:w$(y.signal),extra:n,signal:y.signal,fork:Eje(y.signal,_),unsubscribe:c.unsubscribe,subscribe:()=>{t.set(c.id,c)},cancelActiveListeners:()=>{c.pending.forEach((x,E,w)=>{x!==y&&(F1(x,AM),w.delete(x))})},cancel:()=>{F1(y,AM),c.pending.delete(y)},throwIfCancelled:()=>{N1(y.signal)}})))}catch(x){x instanceof $5||yG(r,x,{raisedBy:"effect"})}finally{await Promise.all(_),F1(y,xje),c.pending.delete(y)}},o=$je(t);return{middleware:c=>d=>h=>{if(!pve(h))return d(h);if(Pve.match(h))return a(h.payload);if(Cje.match(h)){o();return}if(Mve.match(h))return u(h.payload);let m=c.getState();const y=()=>{if(m===gG)throw new Error(Vf(23));return m};let v;try{if(v=d(h),t.size>0){const _=c.getState(),x=Array.from(t.values());for(const E of x){let w=!1;try{w=E.predicate(h,_,m)}catch(T){w=!1,yG(r,T,{raisedBy:"predicate"})}w&&l(E,h,c,y)}}}finally{m=gG}return v},startListening:a,stopListening:u,clearListeners:o}};function Vf(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var x8={},_8={},E8={},bG;function Rje(){return bG||(bG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){if(!n||typeof n!="object")return!1;const r=Object.getPrototypeOf(n);return r===null||r===Object.prototype||Object.getPrototypeOf(r)===null?Object.prototype.toString.call(n)==="[object Object]":!1}e.isPlainObject=t})(E8)),E8}var OG;function Aje(){return OG||(OG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Rje(),n=lve(),r=aL(),i=uL(),a=rL();function u(s,c,d){return l(s,c,void 0,void 0,void 0,void 0,d)}function l(s,c,d,h,m,y,v){const _=v(s,c,d,h,m,y);if(_!==void 0)return _;if(typeof s==typeof c)switch(typeof s){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return s===c;case"number":return s===c||Object.is(s,c);case"function":return s===c;case"object":return o(s,c,y,v)}return o(s,c,y,v)}function o(s,c,d,h){if(Object.is(s,c))return!0;let m=r.getTag(s),y=r.getTag(c);if(m===i.argumentsTag&&(m=i.objectTag),y===i.argumentsTag&&(y=i.objectTag),m!==y)return!1;switch(m){case i.stringTag:return s.toString()===c.toString();case i.numberTag:{const x=s.valueOf(),E=c.valueOf();return a.eq(x,E)}case i.booleanTag:case i.dateTag:case i.symbolTag:return Object.is(s.valueOf(),c.valueOf());case i.regexpTag:return s.source===c.source&&s.flags===c.flags;case i.functionTag:return s===c}d=d??new Map;const v=d.get(s),_=d.get(c);if(v!=null&&_!=null)return v===c;d.set(s,c),d.set(c,s);try{switch(m){case i.mapTag:{if(s.size!==c.size)return!1;for(const[x,E]of s.entries())if(!c.has(x)||!l(E,c.get(x),x,s,c,d,h))return!1;return!0}case i.setTag:{if(s.size!==c.size)return!1;const x=Array.from(s.values()),E=Array.from(c.values());for(let w=0;w<x.length;w++){const T=x[w],R=E.findIndex(C=>l(T,C,void 0,s,c,d,h));if(R===-1)return!1;E.splice(R,1)}return!0}case i.arrayTag:case i.uint8ArrayTag:case i.uint8ClampedArrayTag:case i.uint16ArrayTag:case i.uint32ArrayTag:case i.bigUint64ArrayTag:case i.int8ArrayTag:case i.int16ArrayTag:case i.int32ArrayTag:case i.bigInt64ArrayTag:case i.float32ArrayTag:case i.float64ArrayTag:{if(typeof Buffer<"u"&&Buffer.isBuffer(s)!==Buffer.isBuffer(c)||s.length!==c.length)return!1;for(let x=0;x<s.length;x++)if(!l(s[x],c[x],x,s,c,d,h))return!1;return!0}case i.arrayBufferTag:return s.byteLength!==c.byteLength?!1:o(new Uint8Array(s),new Uint8Array(c),d,h);case i.dataViewTag:return s.byteLength!==c.byteLength||s.byteOffset!==c.byteOffset?!1:o(new Uint8Array(s),new Uint8Array(c),d,h);case i.errorTag:return s.name===c.name&&s.message===c.message;case i.objectTag:{if(!(o(s.constructor,c.constructor,d,h)||t.isPlainObject(s)&&t.isPlainObject(c)))return!1;const E=[...Object.keys(s),...n.getSymbols(s)],w=[...Object.keys(c),...n.getSymbols(c)];if(E.length!==w.length)return!1;for(let T=0;T<E.length;T++){const R=E[T],C=s[R];if(!Object.hasOwn(c,R))return!1;const k=c[R];if(!l(C,k,R,s,c,d,h))return!1}return!0}default:return!1}}finally{d.delete(s),d.delete(c)}}e.isEqualWith=u})(_8)),_8}var D8={},SG;function Tje(){return SG||(SG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(){}e.noop=t})(D8)),D8}var xG;function kje(){return xG||(xG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Aje(),n=Tje();function r(i,a){return t.isEqualWith(i,a,n.noop)}e.isEqual=r})(x8)),x8}var $8,_G;function Pje(){return _G||(_G=1,$8=kje().isEqual),$8}var Mje=Pje();const Fat=oa(Mje);var C8={},w8={},R8={},EG;function Fje(){return EG||(EG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=fve();function n(r){return t.isSymbol(r)?NaN:Number(r)}e.toNumber=n})(R8)),R8}var DG;function Nje(){return DG||(DG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Fje();function n(r){return r?(r=t.toNumber(r),r===1/0||r===-1/0?(r<0?-1:1)*Number.MAX_VALUE:r===r?r:0):r===0?r:0}e.toFinite=n})(w8)),w8}var $G;function Ije(){return $G||($G=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=dve(),n=Nje();function r(i,a,u){u&&typeof u!="number"&&t.isIterateeCall(i,a,u)&&(a=u=void 0),i=n.toFinite(i),a===void 0?(a=i,i=0):a=n.toFinite(a),u=u===void 0?i<a?1:-1:n.toFinite(u);const l=Math.max(Math.ceil((a-i)/(u||1)),0),o=new Array(l);for(let s=0;s<l;s++)o[s]=i,i+=u;return o}e.range=r})(C8)),C8}var A8,CG;function Lje(){return CG||(CG=1,A8=Ije().range),A8}var Bje=Lje();const Nat=oa(Bje);function ah(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function fg(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const kM=Symbol("implicit");function dL(){var e=new WZ,t=[],n=[],r=kM;function i(a){let u=e.get(a);if(u===void 0){if(r!==kM)return r;e.set(a,u=t.push(a)-1)}return n[u%n.length]}return i.domain=function(a){if(!arguments.length)return t.slice();t=[],e=new WZ;for(const u of a)e.has(u)||e.set(u,t.push(u)-1);return i},i.range=function(a){return arguments.length?(n=Array.from(a),i):n.slice()},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return dL(t,n).unknown(r)},ah.apply(i,arguments),i}function hL(){var e=dL().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,u,l=!1,o=0,s=0,c=.5;delete e.unknown;function d(){var h=t().length,m=i<r,y=m?i:r,v=m?r:i;a=(v-y)/Math.max(1,h-o+s*2),l&&(a=Math.floor(a)),y+=(v-y-a*(h-o))*c,u=a*(1-o),l&&(y=Math.round(y),u=Math.round(u));var _=x8e(h).map(function(x){return y+a*x});return n(m?_.reverse():_)}return e.domain=function(h){return arguments.length?(t(h),d()):t()},e.range=function(h){return arguments.length?([r,i]=h,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(h){return[r,i]=h,r=+r,i=+i,l=!0,d()},e.bandwidth=function(){return u},e.step=function(){return a},e.round=function(h){return arguments.length?(l=!!h,d()):l},e.padding=function(h){return arguments.length?(o=Math.min(1,s=+h),d()):o},e.paddingInner=function(h){return arguments.length?(o=Math.min(1,h),d()):o},e.paddingOuter=function(h){return arguments.length?(s=+h,d()):s},e.align=function(h){return arguments.length?(c=Math.max(0,Math.min(1,h)),d()):c},e.copy=function(){return hL(t(),[r,i]).round(l).paddingInner(o).paddingOuter(s).align(c)},ah.apply(d(),arguments)}function Fve(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Fve(t())},e}function Qje(){return Fve(hL.apply(null,arguments).paddingInner(1))}function zje(e){return function(){return e}}function R$(e){return+e}var wG=[0,1];function uc(e){return e}function PM(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:zje(isNaN(t)?NaN:.5)}function qje(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function Vje(e,t,n){var r=e[0],i=e[1],a=t[0],u=t[1];return i<r?(r=PM(i,r),a=n(u,a)):(r=PM(r,i),a=n(a,u)),function(l){return a(r(l))}}function Uje(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),a=new Array(r),u=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++u<r;)i[u]=PM(e[u],e[u+1]),a[u]=n(t[u],t[u+1]);return function(l){var o=ax(e,l,1,r)-1;return a[o](i[o](l))}}function gx(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function w5(){var e=wG,t=wG,n=F3,r,i,a,u=uc,l,o,s;function c(){var h=Math.min(e.length,t.length);return u!==uc&&(u=qje(e[0],e[h-1])),l=h>2?Uje:Vje,o=s=null,d}function d(h){return h==null||isNaN(h=+h)?a:(o||(o=l(e.map(r),t,n)))(r(u(h)))}return d.invert=function(h){return u(i((s||(s=l(t,e.map(r),dD)))(h)))},d.domain=function(h){return arguments.length?(e=Array.from(h,R$),c()):e.slice()},d.range=function(h){return arguments.length?(t=Array.from(h),c()):t.slice()},d.rangeRound=function(h){return t=Array.from(h),n=nN,c()},d.clamp=function(h){return arguments.length?(u=h?!0:uc,c()):u!==uc},d.interpolate=function(h){return arguments.length?(n=h,c()):n},d.unknown=function(h){return arguments.length?(a=h,d):a},function(h,m){return r=h,i=m,c()}}function pL(){return w5()(uc,uc)}function Nve(e,t,n,r){var i=B9(e,t,n),a;switch(r=hS(r??",f"),r.type){case"s":{var u=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=H9e(i,u))&&(r.precision=a),jpe(r,u)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(a=X9e(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(a=Z9e(i))&&(r.precision=a-(r.type==="%")*2);break}}return gI(r)}function sy(e){var t=e.domain;return e.ticks=function(n){var r=t();return I9(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return Nve(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,a=r.length-1,u=r[i],l=r[a],o,s,c=10;for(l<u&&(s=u,u=l,l=s,s=i,i=a,a=s);c-- >0;){if(s=L9(u,l,n),s===o)return r[i]=u,r[a]=l,t(r);if(s>0)u=Math.floor(u/s)*s,l=Math.ceil(l/s)*s;else if(s<0)u=Math.ceil(u*s)/s,l=Math.floor(l*s)/s;else break;o=s}return e},e}function Ive(){var e=pL();return e.copy=function(){return gx(e,Ive())},ah.apply(e,arguments),sy(e)}function Lve(e){var t;function n(r){return r==null||isNaN(r=+r)?t:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(e=Array.from(r,R$),n):e.slice()},n.unknown=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return Lve(e).unknown(t)},e=arguments.length?Array.from(e,R$):[0,1],sy(n)}function Bve(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],u;return a<i&&(u=n,n=r,r=u,u=i,i=a,a=u),e[n]=t.floor(i),e[r]=t.ceil(a),e}function RG(e){return Math.log(e)}function AG(e){return Math.exp(e)}function jje(e){return-Math.log(-e)}function Zje(e){return-Math.exp(-e)}function Hje(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Xje(e){return e===10?Hje:e===Math.E?Math.exp:t=>Math.pow(e,t)}function Yje(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function TG(e){return(t,n)=>-e(-t,n)}function mL(e){const t=e(RG,AG),n=t.domain;let r=10,i,a;function u(){return i=Yje(r),a=Xje(r),n()[0]<0?(i=TG(i),a=TG(a),e(jje,Zje)):e(RG,AG),t}return t.base=function(l){return arguments.length?(r=+l,u()):r},t.domain=function(l){return arguments.length?(n(l),u()):n()},t.ticks=l=>{const o=n();let s=o[0],c=o[o.length-1];const d=c<s;d&&([s,c]=[c,s]);let h=i(s),m=i(c),y,v;const _=l==null?10:+l;let x=[];if(!(r%1)&&m-h<_){if(h=Math.floor(h),m=Math.ceil(m),s>0){for(;h<=m;++h)for(y=1;y<r;++y)if(v=h<0?y/a(-h):y*a(h),!(v<s)){if(v>c)break;x.push(v)}}else for(;h<=m;++h)for(y=r-1;y>=1;--y)if(v=h>0?y/a(-h):y*a(h),!(v<s)){if(v>c)break;x.push(v)}x.length*2<_&&(x=I9(s,c,_))}else x=I9(h,m,Math.min(m-h,_)).map(a);return d?x.reverse():x},t.tickFormat=(l,o)=>{if(l==null&&(l=10),o==null&&(o=r===10?"s":","),typeof o!="function"&&(!(r%1)&&(o=hS(o)).precision==null&&(o.trim=!0),o=gI(o)),l===1/0)return o;const s=Math.max(1,r*l/t.ticks().length);return c=>{let d=c/a(Math.round(i(c)));return d*r<r-.5&&(d*=r),d<=s?o(c):""}},t.nice=()=>n(Bve(n(),{floor:l=>a(Math.floor(i(l))),ceil:l=>a(Math.ceil(i(l)))})),t}function Qve(){const e=mL(w5()).domain([1,10]);return e.copy=()=>gx(e,Qve()).base(e.base()),ah.apply(e,arguments),e}function kG(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function PG(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function gL(e){var t=1,n=e(kG(t),PG(t));return n.constant=function(r){return arguments.length?e(kG(t=+r),PG(t)):t},sy(n)}function zve(){var e=gL(w5());return e.copy=function(){return gx(e,zve()).constant(e.constant())},ah.apply(e,arguments)}function MG(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Gje(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function Kje(e){return e<0?-e*e:e*e}function vL(e){var t=e(uc,uc),n=1;function r(){return n===1?e(uc,uc):n===.5?e(Gje,Kje):e(MG(n),MG(1/n))}return t.exponent=function(i){return arguments.length?(n=+i,r()):n},sy(t)}function yL(){var e=vL(w5());return e.copy=function(){return gx(e,yL()).exponent(e.exponent())},ah.apply(e,arguments),e}function Wje(){return yL.apply(null,arguments).exponent(.5)}function FG(e){return Math.sign(e)*e*e}function Jje(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function qve(){var e=pL(),t=[0,1],n=!1,r;function i(a){var u=Jje(e(a));return isNaN(u)?r:n?Math.round(u):u}return i.invert=function(a){return e.invert(FG(a))},i.domain=function(a){return arguments.length?(e.domain(a),i):e.domain()},i.range=function(a){return arguments.length?(e.range((t=Array.from(a,R$)).map(FG)),i):t.slice()},i.rangeRound=function(a){return i.range(a).round(!0)},i.round=function(a){return arguments.length?(n=!!a,i):n},i.clamp=function(a){return arguments.length?(e.clamp(a),i):e.clamp()},i.unknown=function(a){return arguments.length?(r=a,i):r},i.copy=function(){return qve(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},ah.apply(i,arguments),sy(i)}function Vve(){var e=[],t=[],n=[],r;function i(){var u=0,l=Math.max(1,t.length);for(n=new Array(l-1);++u<l;)n[u-1]=S8e(e,u/l);return a}function a(u){return u==null||isNaN(u=+u)?r:t[ax(n,u)]}return a.invertExtent=function(u){var l=t.indexOf(u);return l<0?[NaN,NaN]:[l>0?n[l-1]:e[0],l<n.length?n[l]:e[e.length-1]]},a.domain=function(u){if(!arguments.length)return e.slice();e=[];for(let l of u)l!=null&&!isNaN(l=+l)&&e.push(l);return e.sort(Tv),i()},a.range=function(u){return arguments.length?(t=Array.from(u),i()):t.slice()},a.unknown=function(u){return arguments.length?(r=u,a):r},a.quantiles=function(){return n.slice()},a.copy=function(){return Vve().domain(e).range(t).unknown(r)},ah.apply(a,arguments)}function Uve(){var e=0,t=1,n=1,r=[.5],i=[0,1],a;function u(o){return o!=null&&o<=o?i[ax(r,o,0,n)]:a}function l(){var o=-1;for(r=new Array(n);++o<n;)r[o]=((o+1)*t-(o-n)*e)/(n+1);return u}return u.domain=function(o){return arguments.length?([e,t]=o,e=+e,t=+t,l()):[e,t]},u.range=function(o){return arguments.length?(n=(i=Array.from(o)).length-1,l()):i.slice()},u.invertExtent=function(o){var s=i.indexOf(o);return s<0?[NaN,NaN]:s<1?[e,r[0]]:s>=n?[r[n-1],t]:[r[s-1],r[s]]},u.unknown=function(o){return arguments.length&&(a=o),u},u.thresholds=function(){return r.slice()},u.copy=function(){return Uve().domain([e,t]).range(i).unknown(a)},ah.apply(sy(u),arguments)}function jve(){var e=[.5],t=[0,1],n,r=1;function i(a){return a!=null&&a<=a?t[ax(e,a,0,r)]:n}return i.domain=function(a){return arguments.length?(e=Array.from(a),r=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(a){return arguments.length?(t=Array.from(a),r=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(a){var u=t.indexOf(a);return[e[u-1],e[u]]},i.unknown=function(a){return arguments.length?(n=a,i):n},i.copy=function(){return jve().domain(e).range(t).unknown(n)},ah.apply(i,arguments)}function eZe(e){return new Date(e)}function tZe(e){return e instanceof Date?+e:+new Date(+e)}function bL(e,t,n,r,i,a,u,l,o,s){var c=pL(),d=c.invert,h=c.domain,m=s(".%L"),y=s(":%S"),v=s("%I:%M"),_=s("%I %p"),x=s("%a %d"),E=s("%b %d"),w=s("%B"),T=s("%Y");function R(C){return(o(C)<C?m:l(C)<C?y:u(C)<C?v:a(C)<C?_:r(C)<C?i(C)<C?x:E:n(C)<C?w:T)(C)}return c.invert=function(C){return new Date(d(C))},c.domain=function(C){return arguments.length?h(Array.from(C,tZe)):h().map(eZe)},c.ticks=function(C){var k=h();return e(k[0],k[k.length-1],C??10)},c.tickFormat=function(C,k){return k==null?R:s(k)},c.nice=function(C){var k=h();return(!C||typeof C.range!="function")&&(C=t(k[0],k[k.length-1],C??10)),C?h(Bve(k,C)):c},c.copy=function(){return gx(c,bL(e,t,n,r,i,a,u,l,o,s))},c}function nZe(){return ah.apply(bL(D8e,$8e,rg,rI,qC,ix,tI,JN,D1,Ope).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function rZe(){return ah.apply(bL(_8e,E8e,ig,iI,VC,zC,nI,eI,D1,Spe).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function R5(){var e=0,t=1,n,r,i,a,u=uc,l=!1,o;function s(d){return d==null||isNaN(d=+d)?o:u(i===0?.5:(d=(a(d)-n)*i,l?Math.max(0,Math.min(1,d)):d))}s.domain=function(d){return arguments.length?([e,t]=d,n=a(e=+e),r=a(t=+t),i=n===r?0:1/(r-n),s):[e,t]},s.clamp=function(d){return arguments.length?(l=!!d,s):l},s.interpolator=function(d){return arguments.length?(u=d,s):u};function c(d){return function(h){var m,y;return arguments.length?([m,y]=h,u=d(m,y),s):[u(0),u(1)]}}return s.range=c(F3),s.rangeRound=c(nN),s.unknown=function(d){return arguments.length?(o=d,s):o},function(d){return a=d,n=d(e),r=d(t),i=n===r?0:1/(r-n),s}}function cy(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Zve(){var e=sy(R5()(uc));return e.copy=function(){return cy(e,Zve())},fg.apply(e,arguments)}function Hve(){var e=mL(R5()).domain([1,10]);return e.copy=function(){return cy(e,Hve()).base(e.base())},fg.apply(e,arguments)}function Xve(){var e=gL(R5());return e.copy=function(){return cy(e,Xve()).constant(e.constant())},fg.apply(e,arguments)}function OL(){var e=vL(R5());return e.copy=function(){return cy(e,OL()).exponent(e.exponent())},fg.apply(e,arguments)}function iZe(){return OL.apply(null,arguments).exponent(.5)}function Yve(){var e=[],t=uc;function n(r){if(r!=null&&!isNaN(r=+r))return t((ax(e,r,1)-1)/(e.length-1))}return n.domain=function(r){if(!arguments.length)return e.slice();e=[];for(let i of r)i!=null&&!isNaN(i=+i)&&e.push(i);return e.sort(Tv),n},n.interpolator=function(r){return arguments.length?(t=r,n):t},n.range=function(){return e.map((r,i)=>t(i/(e.length-1)))},n.quantiles=function(r){return Array.from({length:r+1},(i,a)=>O8e(e,a/r))},n.copy=function(){return Yve(t).domain(e)},fg.apply(n,arguments)}function A5(){var e=0,t=.5,n=1,r=1,i,a,u,l,o,s=uc,c,d=!1,h;function m(v){return isNaN(v=+v)?h:(v=.5+((v=+c(v))-a)*(r*v<r*a?l:o),s(d?Math.max(0,Math.min(1,v)):v))}m.domain=function(v){return arguments.length?([e,t,n]=v,i=c(e=+e),a=c(t=+t),u=c(n=+n),l=i===a?0:.5/(a-i),o=a===u?0:.5/(u-a),r=a<i?-1:1,m):[e,t,n]},m.clamp=function(v){return arguments.length?(d=!!v,m):d},m.interpolator=function(v){return arguments.length?(s=v,m):s};function y(v){return function(_){var x,E,w;return arguments.length?([x,E,w]=_,s=W_e(v,[x,E,w]),m):[s(0),s(.5),s(1)]}}return m.range=y(F3),m.rangeRound=y(nN),m.unknown=function(v){return arguments.length?(h=v,m):h},function(v){return c=v,i=v(e),a=v(t),u=v(n),l=i===a?0:.5/(a-i),o=a===u?0:.5/(u-a),r=a<i?-1:1,m}}function Gve(){var e=sy(A5()(uc));return e.copy=function(){return cy(e,Gve())},fg.apply(e,arguments)}function Kve(){var e=mL(A5()).domain([.1,1,10]);return e.copy=function(){return cy(e,Kve()).base(e.base())},fg.apply(e,arguments)}function Wve(){var e=gL(A5());return e.copy=function(){return cy(e,Wve()).constant(e.constant())},fg.apply(e,arguments)}function SL(){var e=vL(A5());return e.copy=function(){return cy(e,SL()).exponent(e.exponent())},fg.apply(e,arguments)}function aZe(){return SL.apply(null,arguments).exponent(.5)}const Iat=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:hL,scaleDiverging:Gve,scaleDivergingLog:Kve,scaleDivergingPow:SL,scaleDivergingSqrt:aZe,scaleDivergingSymlog:Wve,scaleIdentity:Lve,scaleImplicit:kM,scaleLinear:Ive,scaleLog:Qve,scaleOrdinal:dL,scalePoint:Qje,scalePow:yL,scaleQuantile:Vve,scaleQuantize:Uve,scaleRadial:qve,scaleSequential:Zve,scaleSequentialLog:Hve,scaleSequentialPow:OL,scaleSequentialQuantile:Yve,scaleSequentialSqrt:iZe,scaleSequentialSymlog:Xve,scaleSqrt:Wje,scaleSymlog:zve,scaleThreshold:jve,scaleTime:nZe,scaleUtc:rZe,tickFormat:Nve},Symbol.toStringTag,{value:"Module"}));var K3=1e9,uZe={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},_L,Va=!0,Kd="[DecimalError] ",I1=Kd+"Invalid argument: ",xL=Kd+"Exponent out of range: ",W3=Math.floor,g1=Math.pow,lZe=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Qf,Kl=1e7,Ma=7,Jve=9007199254740991,A$=W3(Jve/Ma),dn={};dn.absoluteValue=dn.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};dn.comparedTo=dn.cmp=function(e){var t,n,r,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(r=a.d.length,i=e.d.length,t=0,n=r<i?r:i;t<n;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return r===i?0:r>i^a.s<0?1:-1};dn.decimalPlaces=dn.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*Ma;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n};dn.dividedBy=dn.div=function(e){return Wm(this,new this.constructor(e))};dn.dividedToIntegerBy=dn.idiv=function(e){var t=this,n=t.constructor;return aa(Wm(t,new n(e),0,1),n.precision)};dn.equals=dn.eq=function(e){return!this.cmp(e)};dn.exponent=function(){return pl(this)};dn.greaterThan=dn.gt=function(e){return this.cmp(e)>0};dn.greaterThanOrEqualTo=dn.gte=function(e){return this.cmp(e)>=0};dn.isInteger=dn.isint=function(){return this.e>this.d.length-2};dn.isNegative=dn.isneg=function(){return this.s<0};dn.isPositive=dn.ispos=function(){return this.s>0};dn.isZero=function(){return this.s===0};dn.lessThan=dn.lt=function(e){return this.cmp(e)<0};dn.lessThanOrEqualTo=dn.lte=function(e){return this.cmp(e)<1};dn.logarithm=dn.log=function(e){var t,n=this,r=n.constructor,i=r.precision,a=i+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(Qf))throw Error(Kd+"NaN");if(n.s<1)throw Error(Kd+(n.s?"NaN":"-Infinity"));return n.eq(Qf)?new r(0):(Va=!1,t=Wm(wS(n,a),wS(e,a),a),Va=!0,aa(t,i))};dn.minus=dn.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?nye(t,e):eye(t,(e.s=-e.s,e))};dn.modulo=dn.mod=function(e){var t,n=this,r=n.constructor,i=r.precision;if(e=new r(e),!e.s)throw Error(Kd+"NaN");return n.s?(Va=!1,t=Wm(n,e,0,1).times(e),Va=!0,n.minus(t)):aa(new r(n),i)};dn.naturalExponential=dn.exp=function(){return tye(this)};dn.naturalLogarithm=dn.ln=function(){return wS(this)};dn.negated=dn.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};dn.plus=dn.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?eye(t,e):nye(t,(e.s=-e.s,e))};dn.precision=dn.sd=function(e){var t,n,r,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(I1+e);if(t=pl(i)+1,r=i.d.length-1,n=r*Ma+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n};dn.squareRoot=dn.sqrt=function(){var e,t,n,r,i,a,u,l=this,o=l.constructor;if(l.s<1){if(!l.s)return new o(0);throw Error(Kd+"NaN")}for(e=pl(l),Va=!1,i=Math.sqrt(+l),i==0||i==1/0?(t=b0(l.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=W3((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),r=new o(t)):r=new o(i.toString()),n=o.precision,i=u=n+3;;)if(a=r,r=a.plus(Wm(l,a,u+2)).times(.5),b0(a.d).slice(0,u)===(t=b0(r.d)).slice(0,u)){if(t=t.slice(u-3,u+1),i==u&&t=="4999"){if(aa(a,n+1,0),a.times(a).eq(l)){r=a;break}}else if(t!="9999")break;u+=4}return Va=!0,aa(r,n)};dn.times=dn.mul=function(e){var t,n,r,i,a,u,l,o,s,c=this,d=c.constructor,h=c.d,m=(e=new d(e)).d;if(!c.s||!e.s)return new d(0);for(e.s*=c.s,n=c.e+e.e,o=h.length,s=m.length,o<s&&(a=h,h=m,m=a,u=o,o=s,s=u),a=[],u=o+s,r=u;r--;)a.push(0);for(r=s;--r>=0;){for(t=0,i=o+r;i>r;)l=a[i]+m[r]*h[i-r-1]+t,a[i--]=l%Kl|0,t=l/Kl|0;a[i]=(a[i]+t)%Kl|0}for(;!a[--u];)a.pop();return t?++n:a.shift(),e.d=a,e.e=n,Va?aa(e,d.precision):e};dn.toDecimalPlaces=dn.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),e===void 0?n:(w0(e,0,K3),t===void 0?t=r.rounding:w0(t,0,8),aa(n,e+pl(n)+1,t))};dn.toExponential=function(e,t){var n,r=this,i=r.constructor;return e===void 0?n=ab(r,!0):(w0(e,0,K3),t===void 0?t=i.rounding:w0(t,0,8),r=aa(new i(r),e+1,t),n=ab(r,!0,e+1)),n};dn.toFixed=function(e,t){var n,r,i=this,a=i.constructor;return e===void 0?ab(i):(w0(e,0,K3),t===void 0?t=a.rounding:w0(t,0,8),r=aa(new a(i),e+pl(i)+1,t),n=ab(r.abs(),!1,e+pl(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)};dn.toInteger=dn.toint=function(){var e=this,t=e.constructor;return aa(new t(e),pl(e)+1,t.rounding)};dn.toNumber=function(){return+this};dn.toPower=dn.pow=function(e){var t,n,r,i,a,u,l=this,o=l.constructor,s=12,c=+(e=new o(e));if(!e.s)return new o(Qf);if(l=new o(l),!l.s){if(e.s<1)throw Error(Kd+"Infinity");return l}if(l.eq(Qf))return l;if(r=o.precision,e.eq(Qf))return aa(l,r);if(t=e.e,n=e.d.length-1,u=t>=n,a=l.s,u){if((n=c<0?-c:c)<=Jve){for(i=new o(Qf),t=Math.ceil(r/Ma+4),Va=!1;n%2&&(i=i.times(l),IG(i.d,t)),n=W3(n/2),n!==0;)l=l.times(l),IG(l.d,t);return Va=!0,e.s<0?new o(Qf).div(i):aa(i,r)}}else if(a<0)throw Error(Kd+"NaN");return a=a<0&&e.d[Math.max(t,n)]&1?-1:1,l.s=1,Va=!1,i=e.times(wS(l,r+s)),Va=!0,i=tye(i),i.s=a,i};dn.toPrecision=function(e,t){var n,r,i=this,a=i.constructor;return e===void 0?(n=pl(i),r=ab(i,n<=a.toExpNeg||n>=a.toExpPos)):(w0(e,1,K3),t===void 0?t=a.rounding:w0(t,0,8),i=aa(new a(i),e,t),n=pl(i),r=ab(i,e<=n||n<=a.toExpNeg,e)),r};dn.toSignificantDigits=dn.tosd=function(e,t){var n=this,r=n.constructor;return e===void 0?(e=r.precision,t=r.rounding):(w0(e,1,K3),t===void 0?t=r.rounding:w0(t,0,8)),aa(new r(n),e,t)};dn.toString=dn.valueOf=dn.val=dn.toJSON=dn[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=pl(e),n=e.constructor;return ab(e,t<=n.toExpNeg||t>=n.toExpPos)};function eye(e,t){var n,r,i,a,u,l,o,s,c=e.constructor,d=c.precision;if(!e.s||!t.s)return t.s||(t=new c(e)),Va?aa(t,d):t;if(o=e.d,s=t.d,u=e.e,i=t.e,o=o.slice(),a=u-i,a){for(a<0?(r=o,a=-a,l=s.length):(r=s,i=u,l=o.length),u=Math.ceil(d/Ma),l=u>l?u+1:l+1,a>l&&(a=l,r.length=1),r.reverse();a--;)r.push(0);r.reverse()}for(l=o.length,a=s.length,l-a<0&&(a=l,r=s,s=o,o=r),n=0;a;)n=(o[--a]=o[a]+s[a]+n)/Kl|0,o[a]%=Kl;for(n&&(o.unshift(n),++i),l=o.length;o[--l]==0;)o.pop();return t.d=o,t.e=i,Va?aa(t,d):t}function w0(e,t,n){if(e!==~~e||e<t||e>n)throw Error(I1+e)}function b0(e){var t,n,r,i=e.length-1,a="",u=e[0];if(i>0){for(a+=u,t=1;t<i;t++)r=e[t]+"",n=Ma-r.length,n&&(a+=pv(n)),a+=r;u=e[t],r=u+"",n=Ma-r.length,n&&(a+=pv(n))}else if(u===0)return"0";for(;u%10===0;)u/=10;return a+u}var Wm=(function(){function e(r,i){var a,u=0,l=r.length;for(r=r.slice();l--;)a=r[l]*i+u,r[l]=a%Kl|0,u=a/Kl|0;return u&&r.unshift(u),r}function t(r,i,a,u){var l,o;if(a!=u)o=a>u?1:-1;else for(l=o=0;l<a;l++)if(r[l]!=i[l]){o=r[l]>i[l]?1:-1;break}return o}function n(r,i,a){for(var u=0;a--;)r[a]-=u,u=r[a]<i[a]?1:0,r[a]=u*Kl+r[a]-i[a];for(;!r[0]&&r.length>1;)r.shift()}return function(r,i,a,u){var l,o,s,c,d,h,m,y,v,_,x,E,w,T,R,C,k,F,z=r.constructor,Z=r.s==i.s?1:-1,q=r.d,j=i.d;if(!r.s)return new z(r);if(!i.s)throw Error(Kd+"Division by zero");for(o=r.e-i.e,k=j.length,R=q.length,m=new z(Z),y=m.d=[],s=0;j[s]==(q[s]||0);)++s;if(j[s]>(q[s]||0)&&--o,a==null?E=a=z.precision:u?E=a+(pl(r)-pl(i))+1:E=a,E<0)return new z(0);if(E=E/Ma+2|0,s=0,k==1)for(c=0,j=j[0],E++;(s<R||c)&&E--;s++)w=c*Kl+(q[s]||0),y[s]=w/j|0,c=w%j|0;else{for(c=Kl/(j[0]+1)|0,c>1&&(j=e(j,c),q=e(q,c),k=j.length,R=q.length),T=k,v=q.slice(0,k),_=v.length;_<k;)v[_++]=0;F=j.slice(),F.unshift(0),C=j[0],j[1]>=Kl/2&&++C;do c=0,l=t(j,v,k,_),l<0?(x=v[0],k!=_&&(x=x*Kl+(v[1]||0)),c=x/C|0,c>1?(c>=Kl&&(c=Kl-1),d=e(j,c),h=d.length,_=v.length,l=t(d,v,h,_),l==1&&(c--,n(d,k<h?F:j,h))):(c==0&&(l=c=1),d=j.slice()),h=d.length,h<_&&d.unshift(0),n(v,d,_),l==-1&&(_=v.length,l=t(j,v,k,_),l<1&&(c++,n(v,k<_?F:j,_))),_=v.length):l===0&&(c++,v=[0]),y[s++]=c,l&&v[0]?v[_++]=q[T]||0:(v=[q[T]],_=1);while((T++<R||v[0]!==void 0)&&E--)}return y[0]||y.shift(),m.e=o,aa(m,u?a+pl(m)+1:a)}})();function tye(e,t){var n,r,i,a,u,l,o=0,s=0,c=e.constructor,d=c.precision;if(pl(e)>16)throw Error(xL+pl(e));if(!e.s)return new c(Qf);for(Va=!1,l=d,u=new c(.03125);e.abs().gte(.1);)e=e.times(u),s+=5;for(r=Math.log(g1(2,s))/Math.LN10*2+5|0,l+=r,n=i=a=new c(Qf),c.precision=l;;){if(i=aa(i.times(e),l),n=n.times(++o),u=a.plus(Wm(i,n,l)),b0(u.d).slice(0,l)===b0(a.d).slice(0,l)){for(;s--;)a=aa(a.times(a),l);return c.precision=d,t==null?(Va=!0,aa(a,d)):a}a=u}}function pl(e){for(var t=e.e*Ma,n=e.d[0];n>=10;n/=10)t++;return t}function T8(e,t,n){if(t>e.LN10.sd())throw Va=!0,n&&(e.precision=n),Error(Kd+"LN10 precision limit exceeded");return aa(new e(e.LN10),t)}function pv(e){for(var t="";e--;)t+="0";return t}function wS(e,t){var n,r,i,a,u,l,o,s,c,d=1,h=10,m=e,y=m.d,v=m.constructor,_=v.precision;if(m.s<1)throw Error(Kd+(m.s?"NaN":"-Infinity"));if(m.eq(Qf))return new v(0);if(t==null?(Va=!1,s=_):s=t,m.eq(10))return t==null&&(Va=!0),T8(v,s);if(s+=h,v.precision=s,n=b0(y),r=n.charAt(0),a=pl(m),Math.abs(a)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)m=m.times(e),n=b0(m.d),r=n.charAt(0),d++;a=pl(m),r>1?(m=new v("0."+n),a++):m=new v(r+"."+n.slice(1))}else return o=T8(v,s+2,_).times(a+""),m=wS(new v(r+"."+n.slice(1)),s-h).plus(o),v.precision=_,t==null?(Va=!0,aa(m,_)):m;for(l=u=m=Wm(m.minus(Qf),m.plus(Qf),s),c=aa(m.times(m),s),i=3;;){if(u=aa(u.times(c),s),o=l.plus(Wm(u,new v(i),s)),b0(o.d).slice(0,s)===b0(l.d).slice(0,s))return l=l.times(2),a!==0&&(l=l.plus(T8(v,s+2,_).times(a+""))),l=Wm(l,new v(d),s),v.precision=_,t==null?(Va=!0,aa(l,_)):l;l=o,i+=2}}function NG(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(r,i),t){if(i-=r,n=n-r-1,e.e=W3(n/Ma),e.d=[],r=(n+1)%Ma,n<0&&(r+=Ma),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=Ma;r<i;)e.d.push(+t.slice(r,r+=Ma));t=t.slice(r),r=Ma-t.length}else r-=i;for(;r--;)t+="0";if(e.d.push(+t),Va&&(e.e>A$||e.e<-A$))throw Error(xL+n)}else e.s=0,e.e=0,e.d=[0];return e}function aa(e,t,n){var r,i,a,u,l,o,s,c,d=e.d;for(u=1,a=d[0];a>=10;a/=10)u++;if(r=t-u,r<0)r+=Ma,i=t,s=d[c=0];else{if(c=Math.ceil((r+1)/Ma),a=d.length,c>=a)return e;for(s=a=d[c],u=1;a>=10;a/=10)u++;r%=Ma,i=r-Ma+u}if(n!==void 0&&(a=g1(10,u-i-1),l=s/a%10|0,o=t<0||d[c+1]!==void 0||s%a,o=n<4?(l||o)&&(n==0||n==(e.s<0?3:2)):l>5||l==5&&(n==4||o||n==6&&(r>0?i>0?s/g1(10,u-i):0:d[c-1])%10&1||n==(e.s<0?8:7))),t<1||!d[0])return o?(a=pl(e),d.length=1,t=t-a-1,d[0]=g1(10,(Ma-t%Ma)%Ma),e.e=W3(-t/Ma)||0):(d.length=1,d[0]=e.e=e.s=0),e;if(r==0?(d.length=c,a=1,c--):(d.length=c+1,a=g1(10,Ma-r),d[c]=i>0?(s/g1(10,u-i)%g1(10,i)|0)*a:0),o)for(;;)if(c==0){(d[0]+=a)==Kl&&(d[0]=1,++e.e);break}else{if(d[c]+=a,d[c]!=Kl)break;d[c--]=0,a=1}for(r=d.length;d[--r]===0;)d.pop();if(Va&&(e.e>A$||e.e<-A$))throw Error(xL+pl(e));return e}function nye(e,t){var n,r,i,a,u,l,o,s,c,d,h=e.constructor,m=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),Va?aa(t,m):t;if(o=e.d,d=t.d,r=t.e,s=e.e,o=o.slice(),u=s-r,u){for(c=u<0,c?(n=o,u=-u,l=d.length):(n=d,r=s,l=o.length),i=Math.max(Math.ceil(m/Ma),l)+2,u>i&&(u=i,n.length=1),n.reverse(),i=u;i--;)n.push(0);n.reverse()}else{for(i=o.length,l=d.length,c=i<l,c&&(l=i),i=0;i<l;i++)if(o[i]!=d[i]){c=o[i]<d[i];break}u=0}for(c&&(n=o,o=d,d=n,t.s=-t.s),l=o.length,i=d.length-l;i>0;--i)o[l++]=0;for(i=d.length;i>u;){if(o[--i]<d[i]){for(a=i;a&&o[--a]===0;)o[a]=Kl-1;--o[a],o[i]+=Kl}o[i]-=d[i]}for(;o[--l]===0;)o.pop();for(;o[0]===0;o.shift())--r;return o[0]?(t.d=o,t.e=r,Va?aa(t,m):t):new h(0)}function ab(e,t,n){var r,i=pl(e),a=b0(e.d),u=a.length;return t?(n&&(r=n-u)>0?a=a.charAt(0)+"."+a.slice(1)+pv(r):u>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+pv(-i-1)+a,n&&(r=n-u)>0&&(a+=pv(r))):i>=u?(a+=pv(i+1-u),n&&(r=n-i-1)>0&&(a=a+"."+pv(r))):((r=i+1)<u&&(a=a.slice(0,r)+"."+a.slice(r)),n&&(r=n-u)>0&&(i+1===u&&(a+="."),a+=pv(r))),e.s<0?"-"+a:a}function IG(e,t){if(e.length>t)return e.length=t,!0}function rye(e){var t,n,r;function i(a){var u=this;if(!(u instanceof i))return new i(a);if(u.constructor=i,a instanceof i){u.s=a.s,u.e=a.e,u.d=(a=a.d)?a.slice():a;return}if(typeof a=="number"){if(a*0!==0)throw Error(I1+a);if(a>0)u.s=1;else if(a<0)a=-a,u.s=-1;else{u.s=0,u.e=0,u.d=[0];return}if(a===~~a&&a<1e7){u.e=0,u.d=[a];return}return NG(u,a.toString())}else if(typeof a!="string")throw Error(I1+a);if(a.charCodeAt(0)===45?(a=a.slice(1),u.s=-1):u.s=1,lZe.test(a))NG(u,a);else throw Error(I1+a)}if(i.prototype=dn,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=rye,i.config=i.set=oZe,e===void 0&&(e={}),e)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return i.config(e),i}function oZe(e){if(!e||typeof e!="object")throw Error(Kd+"Object expected");var t,n,r,i=["precision",1,K3,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if((r=e[n=i[t]])!==void 0)if(W3(r)===r&&r>=i[t+1]&&r<=i[t+2])this[n]=r;else throw Error(I1+n+": "+r);if((r=e[n="LN10"])!==void 0)if(r==Math.LN10)this[n]=new this(r);else throw Error(I1+n+": "+r);return this}var _L=rye(uZe);Qf=new _L(1);const Lat=_L;var k8={exports:{}},LG;function sZe(){return LG||(LG=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(o,s,c){this.fn=o,this.context=s,this.once=c||!1}function a(o,s,c,d,h){if(typeof c!="function")throw new TypeError("The listener must be a function");var m=new i(c,d||o,h),y=n?n+s:s;return o._events[y]?o._events[y].fn?o._events[y]=[o._events[y],m]:o._events[y].push(m):(o._events[y]=m,o._eventsCount++),o}function u(o,s){--o._eventsCount===0?o._events=new r:delete o._events[s]}function l(){this._events=new r,this._eventsCount=0}l.prototype.eventNames=function(){var s=[],c,d;if(this._eventsCount===0)return s;for(d in c=this._events)t.call(c,d)&&s.push(n?d.slice(1):d);return Object.getOwnPropertySymbols?s.concat(Object.getOwnPropertySymbols(c)):s},l.prototype.listeners=function(s){var c=n?n+s:s,d=this._events[c];if(!d)return[];if(d.fn)return[d.fn];for(var h=0,m=d.length,y=new Array(m);h<m;h++)y[h]=d[h].fn;return y},l.prototype.listenerCount=function(s){var c=n?n+s:s,d=this._events[c];return d?d.fn?1:d.length:0},l.prototype.emit=function(s,c,d,h,m,y){var v=n?n+s:s;if(!this._events[v])return!1;var _=this._events[v],x=arguments.length,E,w;if(_.fn){switch(_.once&&this.removeListener(s,_.fn,void 0,!0),x){case 1:return _.fn.call(_.context),!0;case 2:return _.fn.call(_.context,c),!0;case 3:return _.fn.call(_.context,c,d),!0;case 4:return _.fn.call(_.context,c,d,h),!0;case 5:return _.fn.call(_.context,c,d,h,m),!0;case 6:return _.fn.call(_.context,c,d,h,m,y),!0}for(w=1,E=new Array(x-1);w<x;w++)E[w-1]=arguments[w];_.fn.apply(_.context,E)}else{var T=_.length,R;for(w=0;w<T;w++)switch(_[w].once&&this.removeListener(s,_[w].fn,void 0,!0),x){case 1:_[w].fn.call(_[w].context);break;case 2:_[w].fn.call(_[w].context,c);break;case 3:_[w].fn.call(_[w].context,c,d);break;case 4:_[w].fn.call(_[w].context,c,d,h);break;default:if(!E)for(R=1,E=new Array(x-1);R<x;R++)E[R-1]=arguments[R];_[w].fn.apply(_[w].context,E)}}return!0},l.prototype.on=function(s,c,d){return a(this,s,c,d,!1)},l.prototype.once=function(s,c,d){return a(this,s,c,d,!0)},l.prototype.removeListener=function(s,c,d,h){var m=n?n+s:s;if(!this._events[m])return this;if(!c)return u(this,m),this;var y=this._events[m];if(y.fn)y.fn===c&&(!h||y.once)&&(!d||y.context===d)&&u(this,m);else{for(var v=0,_=[],x=y.length;v<x;v++)(y[v].fn!==c||h&&!y[v].once||d&&y[v].context!==d)&&_.push(y[v]);_.length?this._events[m]=_.length===1?_[0]:_:u(this,m)}return this},l.prototype.removeAllListeners=function(s){var c;return s?(c=n?n+s:s,this._events[c]&&u(this,c)):(this._events=new r,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=n,l.EventEmitter=l,e.exports=l})(k8)),k8.exports}var cZe=sZe();const Bat=oa(cZe);var P8={},M8={},F8={},BG;function fZe(){return BG||(BG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,r,{signal:i,edges:a}={}){let u,l=null;const o=a!=null&&a.includes("leading"),s=a==null||a.includes("trailing"),c=()=>{l!==null&&(n.apply(u,l),u=void 0,l=null)},d=()=>{s&&c(),v()};let h=null;const m=()=>{h!=null&&clearTimeout(h),h=setTimeout(()=>{h=null,d()},r)},y=()=>{h!==null&&(clearTimeout(h),h=null)},v=()=>{y(),u=void 0,l=null},_=()=>{c()},x=function(...E){if(i!=null&&i.aborted)return;u=this,l=E;const w=h==null;m(),o&&w&&c()};return x.schedule=m,x.cancel=v,x.flush=_,i==null||i.addEventListener("abort",v,{once:!0}),x}e.debounce=t})(F8)),F8}var QG;function dZe(){return QG||(QG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=fZe();function n(r,i=0,a={}){typeof a!="object"&&(a={});const{leading:u=!1,trailing:l=!0,maxWait:o}=a,s=Array(2);u&&(s[0]="leading"),l&&(s[1]="trailing");let c,d=null;const h=t.debounce(function(...v){c=r.apply(this,v),d=null},i,{edges:s}),m=function(...v){return o!=null&&(d===null&&(d=Date.now()),Date.now()-d>=o)?(c=r.apply(this,v),d=Date.now(),h.cancel(),h.schedule(),c):(h.apply(this,v),c)},y=()=>(h.flush(),c);return m.cancel=h.cancel,m.flush=y,m}e.debounce=n})(M8)),M8}var zG;function hZe(){return zG||(zG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=dZe();function n(r,i=0,a={}){const{leading:u=!0,trailing:l=!0}=a;return t.debounce(r,i,{leading:u,maxWait:i,trailing:l})}e.throttle=n})(P8)),P8}var N8,qG;function pZe(){return qG||(qG=1,N8=hZe().throttle),N8}var mZe=pZe();const Qat=oa(mZe);var I8={},L8={},VG;function gZe(){return VG||(VG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n[n.length-1]}e.last=t})(L8)),L8}var B8={},UG;function vZe(){return UG||(UG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return Array.isArray(n)?n:Array.from(n)}e.toArray=t})(B8)),B8}var jG;function yZe(){return jG||(jG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=gZe(),n=vZe(),r=nL();function i(a){if(r.isArrayLike(a))return t.last(n.toArray(a))}e.last=i})(I8)),I8}var Q8,ZG;function bZe(){return ZG||(ZG=1,Q8=yZe().last),Q8}var OZe=bZe();const zat=oa(OZe);var z8={},HG;function SZe(){return HG||(HG=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){var i;if(typeof n!="object"||n==null)return!1;if(Object.getPrototypeOf(n)===null)return!0;if(Object.prototype.toString.call(n)!=="[object Object]"){const a=n[Symbol.toStringTag];return a==null||!((i=Object.getOwnPropertyDescriptor(n,Symbol.toStringTag))!=null&&i.writable)?!1:n.toString()===`[object ${a}]`}let r=n;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(n)===r}e.isPlainObject=t})(z8)),z8}var q8,XG;function xZe(){return XG||(XG=1,q8=SZe().isPlainObject),q8}var _Ze=xZe();const qat=oa(_Ze);var V8={exports:{}},U8={};/**
 * @license React
 * use-sync-external-store-with-selector.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var YG;function EZe(){if(YG)return U8;YG=1;var e=tr();function t(o,s){return o===s&&(o!==0||1/o===1/s)||o!==o&&s!==s}var n=typeof Object.is=="function"?Object.is:t,r=e.useSyncExternalStore,i=e.useRef,a=e.useEffect,u=e.useMemo,l=e.useDebugValue;return U8.useSyncExternalStoreWithSelector=function(o,s,c,d,h){var m=i(null);if(m.current===null){var y={hasValue:!1,value:null};m.current=y}else y=m.current;m=u(function(){function _(R){if(!x){if(x=!0,E=R,R=d(R),h!==void 0&&y.hasValue){var C=y.value;if(h(C,R))return w=C}return w=R}if(C=w,n(E,R))return C;var k=d(R);return h!==void 0&&h(C,k)?(E=R,C):(E=R,w=k)}var x=!1,E,w,T=c===void 0?null:c;return[function(){return _(s())},T===null?void 0:function(){return _(T())}]},[s,c,d,h]);var v=r(o,m[0],m[1]);return a(function(){y.hasValue=!0,y.value=v},[v]),l(v),v},U8}var GG;function DZe(){return GG||(GG=1,V8.exports=EZe()),V8.exports}DZe();function $Ze(e){e()}function CZe(){let e=null,t=null;return{clear(){e=null,t=null},notify(){$Ze(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var KG={notify(){},get:()=>[]};function wZe(e,t){let n,r=KG,i=0,a=!1;function u(v){c();const _=r.subscribe(v);let x=!1;return()=>{x||(x=!0,_(),d())}}function l(){r.notify()}function o(){y.onStateChange&&y.onStateChange()}function s(){return a}function c(){i++,n||(n=e.subscribe(o),r=CZe())}function d(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=KG)}function h(){a||(a=!0,c())}function m(){a&&(a=!1,d())}const y={addNestedSub:u,notifyNestedSubs:l,handleChangeWrapper:o,isSubscribed:s,trySubscribe:h,tryUnsubscribe:m,getListeners:()=>r};return y}var RZe=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",AZe=RZe(),TZe=()=>typeof navigator<"u"&&navigator.product==="ReactNative",kZe=TZe(),PZe=()=>AZe||kZe?P.useLayoutEffect:P.useEffect,MZe=PZe(),j8=Symbol.for("react-redux-context"),Z8=typeof globalThis<"u"?globalThis:{};function FZe(){if(!P.createContext)return{};const e=Z8[j8]??(Z8[j8]=new Map);let t=e.get(P.createContext);return t||(t=P.createContext(null),e.set(P.createContext,t)),t}var NZe=FZe();function IZe(e){const{children:t,context:n,serverState:r,store:i}=e,a=P.useMemo(()=>{const o=wZe(i);return{store:i,subscription:o,getServerState:r?()=>r:void 0}},[i,r]),u=P.useMemo(()=>i.getState(),[i]);MZe(()=>{const{subscription:o}=a;return o.onStateChange=o.notifyNestedSubs,o.trySubscribe(),u!==i.getState()&&o.notifyNestedSubs(),()=>{o.tryUnsubscribe(),o.onStateChange=void 0}},[a,u]);const l=n||NZe;return P.createElement(l.Provider,{value:a},t)}var Vat=IZe,_2={exports:{}};/**
 * @license
 * Lodash <https://lodash.com/>
 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
 * Released under MIT license <https://lodash.com/license>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 */var LZe=_2.exports,WG;function BZe(){return WG||(WG=1,(function(e,t){(function(){var n,r="4.17.21",i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",l="Invalid `variable` option passed into `_.template`",o="__lodash_hash_undefined__",s=500,c="__lodash_placeholder__",d=1,h=2,m=4,y=1,v=2,_=1,x=2,E=4,w=8,T=16,R=32,C=64,k=128,F=256,z=512,Z=30,q="...",j=800,N=16,V=1,W=2,G=3,J=1/0,te=9007199254740991,X=17976931348623157e292,M=NaN,K=4294967295,Y=K-1,B=K>>>1,ne=[["ary",k],["bind",_],["bindKey",x],["curry",w],["curryRight",T],["flip",z],["partial",R],["partialRight",C],["rearg",F]],oe="[object Arguments]",ae="[object Array]",de="[object AsyncFunction]",be="[object Boolean]",ye="[object Date]",pe="[object DOMException]",_e="[object Error]",se="[object Function]",me="[object GeneratorFunction]",ge="[object Map]",we="[object Number]",Ne="[object Null]",Re="[object Object]",et="[object Promise]",tt="[object Proxy]",Oe="[object RegExp]",$e="[object Set]",Ae="[object String]",Ue="[object Symbol]",Ze="[object Undefined]",Ye="[object WeakMap]",Me="[object WeakSet]",ze="[object ArrayBuffer]",st="[object DataView]",Ot="[object Float32Array]",Nt="[object Float64Array]",gt="[object Int8Array]",qt="[object Int16Array]",zt="[object Int32Array]",rn="[object Uint8Array]",nn="[object Uint8ClampedArray]",Fe="[object Uint16Array]",ht="[object Uint32Array]",Tt=/\b__p \+= '';/g,Qt=/\b(__p \+=) '' \+/g,an=/(__e\(.*?\)|\b__t\)) \+\n'';/g,In=/&(?:amp|lt|gt|quot|#39);/g,un=/[&<>"']/g,jn=RegExp(In.source),sr=RegExp(un.source),ar=/<%-([\s\S]+?)%>/g,Dr=/<%([\s\S]+?)%>/g,zr=/<%=([\s\S]+?)%>/g,ke=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,He=/^\w*$/,nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dt=/[\\^$.*+?()[\]{}|]/g,$t=RegExp(dt.source),Ut=/^\s+/,Zt=/\s/,Lt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Vt=/\{\n\/\* \[wrapped with (.+)\] \*/,en=/,? & /,tn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Rt=/[()=,{}\[\]\/\s]/,on=/\\(\\)?/g,mr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ki=/\w*$/,_a=/^[-+]0x[0-9a-f]+$/i,pi=/^0b[01]+$/i,qr=/^\[object .+?Constructor\]$/,Du=/^0o[0-7]+$/i,Cl=/^(?:0|[1-9]\d*)$/,Zr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Pt=/($^)/,sa=/['\n\r\u2028\u2029\\]/g,Ki="\\ud800-\\udfff",ei="\\u0300-\\u036f",$u="\\ufe20-\\ufe2f",ro="\\u20d0-\\u20ff",Hn=ei+$u+ro,mi="\\u2700-\\u27bf",vs="a-z\\xdf-\\xf6\\xf8-\\xff",ys="\\xac\\xb1\\xd7\\xf7",ti="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",bs="\\u2000-\\u206f",Ea=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",cc="A-Z\\xc0-\\xd6\\xd8-\\xde",Pr="\\ufe0e\\ufe0f",Wi=ys+ti+bs+Ea,Mo="['’]",vp="["+Ki+"]",hf="["+Wi+"]",Fo="["+Hn+"]",wl="\\d+",uh="["+mi+"]",ja="["+vs+"]",Jf="[^"+Ki+Wi+wl+mi+vs+cc+"]",Os="\\ud83c[\\udffb-\\udfff]",ed="(?:"+Fo+"|"+Os+")",fc="[^"+Ki+"]",dc="(?:\\ud83c[\\udde6-\\uddff]){2}",No="[\\ud800-\\udbff][\\udc00-\\udfff]",Cu="["+cc+"]",Ss="\\u200d",xs="(?:"+ja+"|"+Jf+")",B0="(?:"+Cu+"|"+Jf+")",pf="(?:"+Mo+"(?:d|ll|m|re|s|t|ve))?",Q0="(?:"+Mo+"(?:D|LL|M|RE|S|T|VE))?",yp=ed+"?",mf="["+Pr+"]?",io="(?:"+Ss+"(?:"+[fc,dc,No].join("|")+")"+mf+yp+")*",lh="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",oh="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",_s=mf+yp+io,hc="(?:"+[uh,dc,No].join("|")+")"+_s,z0="(?:"+[fc+Fo+"?",Fo,dc,No,vp].join("|")+")",bp=RegExp(Mo,"g"),Op=RegExp(Fo,"g"),Es=RegExp(Os+"(?="+Os+")|"+z0+_s,"g"),Io=RegExp([Cu+"?"+ja+"+"+pf+"(?="+[hf,Cu,"$"].join("|")+")",B0+"+"+Q0+"(?="+[hf,Cu+xs,"$"].join("|")+")",Cu+"?"+xs+"+"+pf,Cu+"+"+Q0,oh,lh,wl,hc].join("|"),"g"),Sp=RegExp("["+Ss+Ki+Hn+Pr+"]"),sh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,pc=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ch=-1,$r={};$r[Ot]=$r[Nt]=$r[gt]=$r[qt]=$r[zt]=$r[rn]=$r[nn]=$r[Fe]=$r[ht]=!0,$r[oe]=$r[ae]=$r[ze]=$r[be]=$r[st]=$r[ye]=$r[_e]=$r[se]=$r[ge]=$r[we]=$r[Re]=$r[Oe]=$r[$e]=$r[Ae]=$r[Ye]=!1;var Ln={};Ln[oe]=Ln[ae]=Ln[ze]=Ln[st]=Ln[be]=Ln[ye]=Ln[Ot]=Ln[Nt]=Ln[gt]=Ln[qt]=Ln[zt]=Ln[ge]=Ln[we]=Ln[Re]=Ln[Oe]=Ln[$e]=Ln[Ae]=Ln[Ue]=Ln[rn]=Ln[nn]=Ln[Fe]=Ln[ht]=!0,Ln[_e]=Ln[se]=Ln[Ye]=!1;var mc={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"},Lo={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},gc={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Ji={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ds=parseFloat,td=parseInt,Rl=typeof jd=="object"&&jd&&jd.Object===Object&&jd,nd=typeof self=="object"&&self&&self.Object===Object&&self,ea=Rl||nd||Function("return this")(),$s=t&&!t.nodeType&&t,Al=$s&&!0&&e&&!e.nodeType&&e,rd=Al&&Al.exports===$s,xp=rd&&Rl.process,ni=(function(){try{var Xe=Al&&Al.require&&Al.require("util").types;return Xe||xp&&xp.binding&&xp.binding("util")}catch{}})(),q0=ni&&ni.isArrayBuffer,V0=ni&&ni.isDate,id=ni&&ni.isMap,U0=ni&&ni.isRegExp,vc=ni&&ni.isSet,ad=ni&&ni.isTypedArray;function ca(Xe,pt,rt){switch(rt.length){case 0:return Xe.call(pt);case 1:return Xe.call(pt,rt[0]);case 2:return Xe.call(pt,rt[0],rt[1]);case 3:return Xe.call(pt,rt[0],rt[1],rt[2])}return Xe.apply(pt,rt)}function ud(Xe,pt,rt,Bt){for(var En=-1,nr=Xe==null?0:Xe.length;++En<nr;){var Mi=Xe[En];pt(Bt,Mi,rt(Mi),Xe)}return Bt}function Na(Xe,pt){for(var rt=-1,Bt=Xe==null?0:Xe.length;++rt<Bt&&pt(Xe[rt],rt,Xe)!==!1;);return Xe}function hg(Xe,pt){for(var rt=Xe==null?0:Xe.length;rt--&&pt(Xe[rt],rt,Xe)!==!1;);return Xe}function _p(Xe,pt){for(var rt=-1,Bt=Xe==null?0:Xe.length;++rt<Bt;)if(!pt(Xe[rt],rt,Xe))return!1;return!0}function Bo(Xe,pt){for(var rt=-1,Bt=Xe==null?0:Xe.length,En=0,nr=[];++rt<Bt;){var Mi=Xe[rt];pt(Mi,rt,Xe)&&(nr[En++]=Mi)}return nr}function fh(Xe,pt){var rt=Xe==null?0:Xe.length;return!!rt&&ju(Xe,pt,0)>-1}function Cs(Xe,pt,rt){for(var Bt=-1,En=Xe==null?0:Xe.length;++Bt<En;)if(rt(pt,Xe[Bt]))return!0;return!1}function gi(Xe,pt){for(var rt=-1,Bt=Xe==null?0:Xe.length,En=Array(Bt);++rt<Bt;)En[rt]=pt(Xe[rt],rt,Xe);return En}function Qo(Xe,pt){for(var rt=-1,Bt=pt.length,En=Xe.length;++rt<Bt;)Xe[En+rt]=pt[rt];return Xe}function Ep(Xe,pt,rt,Bt){var En=-1,nr=Xe==null?0:Xe.length;for(Bt&&nr&&(rt=Xe[++En]);++En<nr;)rt=pt(rt,Xe[En],En,Xe);return rt}function Dp(Xe,pt,rt,Bt){var En=Xe==null?0:Xe.length;for(Bt&&En&&(rt=Xe[--En]);En--;)rt=pt(rt,Xe[En],En,Xe);return rt}function $p(Xe,pt){for(var rt=-1,Bt=Xe==null?0:Xe.length;++rt<Bt;)if(pt(Xe[rt],rt,Xe))return!0;return!1}var ws=zo("length");function Cp(Xe){return Xe.split("")}function dy(Xe){return Xe.match(tn)||[]}function j0(Xe,pt,rt){var Bt;return rt(Xe,function(En,nr,Mi){if(pt(En,nr,Mi))return Bt=nr,!1}),Bt}function ao(Xe,pt,rt,Bt){for(var En=Xe.length,nr=rt+(Bt?1:-1);Bt?nr--:++nr<En;)if(pt(Xe[nr],nr,Xe))return nr;return-1}function ju(Xe,pt,rt){return pt===pt?pg(Xe,pt,rt):ao(Xe,dh,rt)}function Z0(Xe,pt,rt,Bt){for(var En=rt-1,nr=Xe.length;++En<nr;)if(Bt(Xe[En],pt))return En;return-1}function dh(Xe){return Xe!==Xe}function yc(Xe,pt){var rt=Xe==null?0:Xe.length;return rt?ph(Xe,pt)/rt:M}function zo(Xe){return function(pt){return pt==null?n:pt[Xe]}}function Rs(Xe){return function(pt){return Xe==null?n:Xe[pt]}}function Ia(Xe,pt,rt,Bt,En){return En(Xe,function(nr,Mi,Mr){rt=Bt?(Bt=!1,nr):pt(rt,nr,Mi,Mr)}),rt}function hh(Xe,pt){var rt=Xe.length;for(Xe.sort(pt);rt--;)Xe[rt]=Xe[rt].value;return Xe}function ph(Xe,pt){for(var rt,Bt=-1,En=Xe.length;++Bt<En;){var nr=pt(Xe[Bt]);nr!==n&&(rt=rt===n?nr:rt+nr)}return rt}function ld(Xe,pt){for(var rt=-1,Bt=Array(Xe);++rt<Xe;)Bt[rt]=pt(rt);return Bt}function od(Xe,pt){return gi(pt,function(rt){return[rt,Xe[rt]]})}function As(Xe){return Xe&&Xe.slice(0,yf(Xe)+1).replace(Ut,"")}function ou(Xe){return function(pt){return Xe(pt)}}function wp(Xe,pt){return gi(pt,function(rt){return Xe[rt]})}function Za(Xe,pt){return Xe.has(pt)}function Rp(Xe,pt){for(var rt=-1,Bt=Xe.length;++rt<Bt&&ju(pt,Xe[rt],0)>-1;);return rt}function sd(Xe,pt){for(var rt=Xe.length;rt--&&ju(pt,Xe[rt],0)>-1;);return rt}function gf(Xe,pt){for(var rt=Xe.length,Bt=0;rt--;)Xe[rt]===pt&&++Bt;return Bt}var cd=Rs(mc),Zu=Rs(Lo);function uo(Xe){return"\\"+Ji[Xe]}function H0(Xe,pt){return Xe==null?n:Xe[pt]}function su(Xe){return Sp.test(Xe)}function vf(Xe){return sh.test(Xe)}function Sr(Xe){for(var pt,rt=[];!(pt=Xe.next()).done;)rt.push(pt.value);return rt}function mh(Xe){var pt=-1,rt=Array(Xe.size);return Xe.forEach(function(Bt,En){rt[++pt]=[En,Bt]}),rt}function Ap(Xe,pt){return function(rt){return Xe(pt(rt))}}function lo(Xe,pt){for(var rt=-1,Bt=Xe.length,En=0,nr=[];++rt<Bt;){var Mi=Xe[rt];(Mi===pt||Mi===c)&&(Xe[rt]=c,nr[En++]=rt)}return nr}function Gn(Xe){var pt=-1,rt=Array(Xe.size);return Xe.forEach(function(Bt){rt[++pt]=Bt}),rt}function ml(Xe){var pt=-1,rt=Array(Xe.size);return Xe.forEach(function(Bt){rt[++pt]=[Bt,Bt]}),rt}function pg(Xe,pt,rt){for(var Bt=rt-1,En=Xe.length;++Bt<En;)if(Xe[Bt]===pt)return Bt;return-1}function Pi(Xe,pt,rt){for(var Bt=rt+1;Bt--;)if(Xe[Bt]===pt)return Bt;return Bt}function cu(Xe){return su(Xe)?Y0(Xe):ws(Xe)}function cr(Xe){return su(Xe)?gr(Xe):Cp(Xe)}function yf(Xe){for(var pt=Xe.length;pt--&&Zt.test(Xe.charAt(pt)););return pt}var X0=Rs(gc);function Y0(Xe){for(var pt=Es.lastIndex=0;Es.test(Xe);)++pt;return pt}function gr(Xe){return Xe.match(Es)||[]}function G0(Xe){return Xe.match(Io)||[]}var bf=(function Xe(pt){pt=pt==null?ea:bc.defaults(ea.Object(),pt,bc.pick(ea,pc));var rt=pt.Array,Bt=pt.Date,En=pt.Error,nr=pt.Function,Mi=pt.Math,Mr=pt.Object,Ha=pt.RegExp,Oc=pt.String,xi=pt.TypeError,fd=rt.prototype,Tl=nr.prototype,oo=Mr.prototype,so=pt["__core-js_shared__"],Of=Tl.toString,xr=oo.hasOwnProperty,qo=0,gh=(function(){var S=/[^.]+$/.exec(so&&so.keys&&so.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""})(),fa=oo.toString,Vo=Of.call(Mr),Da=ea._,co=Ha("^"+Of.call(xr).replace(dt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ts=rd?pt.Buffer:n,Xa=pt.Symbol,Hu=pt.Uint8Array,Sc=Ts?Ts.allocUnsafe:n,Xu=Ap(Mr.getPrototypeOf,Mr),xc=Mr.create,_c=oo.propertyIsEnumerable,fu=fd.splice,dd=Xa?Xa.isConcatSpreadable:n,ta=Xa?Xa.iterator:n,Hi=Xa?Xa.toStringTag:n,Yu=(function(){try{var S=eu(Mr,"defineProperty");return S({},"",{}),S}catch{}})(),du=pt.clearTimeout!==ea.clearTimeout&&pt.clearTimeout,vh=Bt&&Bt.now!==ea.Date.now&&Bt.now,kl=pt.setTimeout!==ea.setTimeout&&pt.setTimeout,Sf=Mi.ceil,yh=Mi.floor,hu=Mr.getOwnPropertySymbols,Tp=Ts?Ts.isBuffer:n,wu=pt.isFinite,Pl=fd.join,Ec=Ap(Mr.keys,Mr),Fi=Mi.max,_i=Mi.min,Ru=Bt.now,hn=pt.parseInt,Au=Mi.random,Uo=fd.reverse,ue=eu(pt,"DataView"),I=eu(pt,"Map"),re=eu(pt,"Promise"),fe=eu(pt,"Set"),Se=eu(pt,"WeakMap"),Te=eu(Mr,"create"),Qe=Se&&new Se,Be={},je=nu(ue),Ct=nu(I),Gt=nu(re),Bn=nu(fe),sn=nu(Se),gn=Xa?Xa.prototype:n,Ei=gn?gn.valueOf:n,La=gn?gn.toString:n;function xe(S){if(qa(S)&&!Kn(S)&&!(S instanceof Qn)){if(S instanceof Tu)return S;if(xr.call(S,"__wrapped__"))return Oo(S)}return new Tu(S)}var gl=(function(){function S(){}return function($){if(!ga($))return{};if(xc)return xc($);S.prototype=$;var U=new S;return S.prototype=n,U}})();function Ml(){}function Tu(S,$){this.__wrapped__=S,this.__actions__=[],this.__chain__=!!$,this.__index__=0,this.__values__=n}xe.templateSettings={escape:ar,evaluate:Dr,interpolate:zr,variable:"",imports:{_:xe}},xe.prototype=Ml.prototype,xe.prototype.constructor=xe,Tu.prototype=gl(Ml.prototype),Tu.prototype.constructor=Tu;function Qn(S){this.__wrapped__=S,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=K,this.__views__=[]}function Ya(){var S=new Qn(this.__wrapped__);return S.__actions__=el(this.__actions__),S.__dir__=this.__dir__,S.__filtered__=this.__filtered__,S.__iteratees__=el(this.__iteratees__),S.__takeCount__=this.__takeCount__,S.__views__=el(this.__views__),S}function ks(){if(this.__filtered__){var S=new Qn(this);S.__dir__=-1,S.__filtered__=!0}else S=this.clone(),S.__dir__*=-1;return S}function Fl(){var S=this.__wrapped__.value(),$=this.__dir__,U=Kn(S),ie=$<0,he=U?S.length:0,Ce=sm(0,he,this.__views__),Pe=Ce.start,qe=Ce.end,Je=qe-Pe,xt=ie?qe:Pe-1,_t=this.__iteratees__,wt=_t.length,Wt=0,bn=_i(Je,this.__takeCount__);if(!U||!ie&&he==Je&&bn==Je)return wy(S,this.__actions__);var qn=[];e:for(;Je--&&Wt<bn;){xt+=$;for(var yr=-1,Vn=S[xt];++yr<wt;){var Lr=_t[yr],Kr=Lr.iteratee,Tf=Lr.type,Ys=Kr(Vn);if(Tf==W)Vn=Ys;else if(!Ys){if(Tf==V)continue e;break e}}qn[Wt++]=Vn}return qn}Qn.prototype=gl(Ml.prototype),Qn.prototype.constructor=Qn;function ku(S){var $=-1,U=S==null?0:S.length;for(this.clear();++$<U;){var ie=S[$];this.set(ie[0],ie[1])}}function Dc(){this.__data__=Te?Te(null):{},this.size=0}function Nl(S){var $=this.has(S)&&delete this.__data__[S];return this.size-=$?1:0,$}function hd(S){var $=this.__data__;if(Te){var U=$[S];return U===o?n:U}return xr.call($,S)?$[S]:n}function bh(S){var $=this.__data__;return Te?$[S]!==n:xr.call($,S)}function pu(S,$){var U=this.__data__;return this.size+=this.has(S)?0:1,U[S]=Te&&$===n?o:$,this}ku.prototype.clear=Dc,ku.prototype.delete=Nl,ku.prototype.get=hd,ku.prototype.has=bh,ku.prototype.set=pu;function fo(S){var $=-1,U=S==null?0:S.length;for(this.clear();++$<U;){var ie=S[$];this.set(ie[0],ie[1])}}function hy(){this.__data__=[],this.size=0}function xb(S){var $=this.__data__,U=xn($,S);if(U<0)return!1;var ie=$.length-1;return U==ie?$.pop():fu.call($,U,1),--this.size,!0}function _b(S){var $=this.__data__,U=xn($,S);return U<0?n:$[U][1]}function py(S){return xn(this.__data__,S)>-1}function vn(S,$){var U=this.__data__,ie=xn(U,S);return ie<0?(++this.size,U.push([S,$])):U[ie][1]=$,this}fo.prototype.clear=hy,fo.prototype.delete=xb,fo.prototype.get=_b,fo.prototype.has=py,fo.prototype.set=vn;function Ps(S){var $=-1,U=S==null?0:S.length;for(this.clear();++$<U;){var ie=S[$];this.set(ie[0],ie[1])}}function Pu(){this.size=0,this.__data__={hash:new ku,map:new(I||fo),string:new ku}}function Oh(S){var $=Cd(this,S).delete(S);return this.size-=$?1:0,$}function my(S){return Cd(this,S).get(S)}function xf(S){return Cd(this,S).has(S)}function Ms(S,$){var U=Cd(this,S),ie=U.size;return U.set(S,$),this.size+=U.size==ie?0:1,this}Ps.prototype.clear=Pu,Ps.prototype.delete=Oh,Ps.prototype.get=my,Ps.prototype.has=xf,Ps.prototype.set=Ms;function jo(S){var $=-1,U=S==null?0:S.length;for(this.__data__=new Ps;++$<U;)this.add(S[$])}function gy(S){return this.__data__.set(S,o),this}function vy(S){return this.__data__.has(S)}jo.prototype.add=jo.prototype.push=gy,jo.prototype.has=vy;function Zo(S){var $=this.__data__=new fo(S);this.size=$.size}function pd(){this.__data__=new fo,this.size=0}function $c(S){var $=this.__data__,U=$.delete(S);return this.size=$.size,U}function kp(S){return this.__data__.get(S)}function mg(S){return this.__data__.has(S)}function md(S,$){var U=this.__data__;if(U instanceof fo){var ie=U.__data__;if(!I||ie.length<i-1)return ie.push([S,$]),this.size=++U.size,this;U=this.__data__=new Ps(ie)}return U.set(S,$),this.size=U.size,this}Zo.prototype.clear=pd,Zo.prototype.delete=$c,Zo.prototype.get=kp,Zo.prototype.has=mg,Zo.prototype.set=md;function Pp(S,$){var U=Kn(S),ie=!U&&Om(S),he=!U&&!ie&&Hp(S),Ce=!U&&!ie&&!he&&Xp(S),Pe=U||ie||he||Ce,qe=Pe?ld(S.length,Oc):[],Je=qe.length;for(var xt in S)($||xr.call(S,xt))&&!(Pe&&(xt=="length"||he&&(xt=="offset"||xt=="parent")||Ce&&(xt=="buffer"||xt=="byteLength"||xt=="byteOffset")||vo(xt,Je)))&&qe.push(xt);return qe}function Ho(S){var $=S.length;return $?S[Lp(0,$-1)]:n}function K0(S,$){return qs(el(S),Ns($,0,S.length))}function Eb(S){return qs(el(S))}function W0(S,$,U){(U!==n&&!Zs(S[$],U)||U===n&&!($ in S))&&Gu(S,$,U)}function Fs(S,$,U){var ie=S[$];(!(xr.call(S,$)&&Zs(ie,U))||U===n&&!($ in S))&&Gu(S,$,U)}function xn(S,$){for(var U=S.length;U--;)if(Zs(S[U][0],$))return U;return-1}function gg(S,$,U,ie){return Cc(S,function(he,Ce,Pe){$(ie,he,U(he),Pe)}),ie}function vg(S,$){return S&&Wo($,ol($),S)}function gd(S,$){return S&&Wo($,us($),S)}function Gu(S,$,U){$=="__proto__"&&Yu?Yu(S,$,{configurable:!0,enumerable:!0,value:U,writable:!0}):S[$]=U}function Mp(S,$){for(var U=-1,ie=$.length,he=rt(ie),Ce=S==null;++U<ie;)he[U]=Ce?n:Yp(S,$[U]);return he}function Ns(S,$,U){return S===S&&(U!==n&&(S=S<=U?S:U),$!==n&&(S=S>=$?S:$)),S}function Ku(S,$,U,ie,he,Ce){var Pe,qe=$&d,Je=$&h,xt=$&m;if(U&&(Pe=he?U(S,ie,he,Ce):U(S)),Pe!==n)return Pe;if(!ga(S))return S;var _t=Kn(S);if(_t){if(Pe=rl(S),!qe)return el(S,Pe)}else{var wt=Fr(S),Wt=wt==se||wt==me;if(Hp(S))return Ty(S,qe);if(wt==Re||wt==oe||Wt&&!he){if(Pe=Je||Wt?{}:yu(S),!qe)return Je?Py(S,gd(Pe,S)):ky(S,vg(Pe,S))}else{if(!Ln[wt])return he?S:{};Pe=Nr(S,wt,qe)}}Ce||(Ce=new Zo);var bn=Ce.get(S);if(bn)return bn;Ce.set(S,Pe),Xy(S)?S.forEach(function(Vn){Pe.add(Ku(Vn,$,U,Vn,S,Ce))}):Rx(S)&&S.forEach(function(Vn,Lr){Pe.set(Lr,Ku(Vn,$,U,Lr,S,Ce))});var qn=xt?Je?vl:nl:Je?us:ol,yr=_t?n:qn(S);return Na(yr||S,function(Vn,Lr){yr&&(Lr=Vn,Vn=S[Lr]),Fs(Pe,Lr,Ku(Vn,$,U,Lr,S,Ce))}),Pe}function Fp(S){var $=ol(S);return function(U){return vd(U,S,$)}}function vd(S,$,U){var ie=U.length;if(S==null)return!ie;for(S=Mr(S);ie--;){var he=U[ie],Ce=$[he],Pe=S[he];if(Pe===n&&!(he in S)||!Ce(Pe))return!1}return!0}function yy(S,$,U){if(typeof S!="function")throw new xi(u);return Ad(function(){S.apply(n,U)},$)}function Xo(S,$,U,ie){var he=-1,Ce=fh,Pe=!0,qe=S.length,Je=[],xt=$.length;if(!qe)return Je;U&&($=gi($,ou(U))),ie?(Ce=Cs,Pe=!1):$.length>=i&&(Ce=Za,Pe=!1,$=new jo($));e:for(;++he<qe;){var _t=S[he],wt=U==null?_t:U(_t);if(_t=ie||_t!==0?_t:0,Pe&&wt===wt){for(var Wt=xt;Wt--;)if($[Wt]===wt)continue e;Je.push(_t)}else Ce($,wt,ie)||Je.push(_t)}return Je}var Cc=My(Ka),yg=My(Wa,!0);function wc(S,$){var U=!0;return Cc(S,function(ie,he,Ce){return U=!!$(ie,he,Ce),U}),U}function Yo(S,$,U){for(var ie=-1,he=S.length;++ie<he;){var Ce=S[ie],Pe=$(Ce);if(Pe!=null&&(qe===n?Pe===Pe&&!as(Pe):U(Pe,qe)))var qe=Pe,Je=Ce}return Je}function yd(S,$,U,ie){var he=S.length;for(U=zn(U),U<0&&(U=-U>he?0:he+U),ie=ie===n||ie>he?he:zn(ie),ie<0&&(ie+=he),ie=U>ie?0:b4(ie);U<ie;)S[U++]=$;return S}function J0(S,$){var U=[];return Cc(S,function(ie,he,Ce){$(ie,he,Ce)&&U.push(ie)}),U}function Ga(S,$,U,ie,he){var Ce=-1,Pe=S.length;for(U||(U=es),he||(he=[]);++Ce<Pe;){var qe=S[Ce];$>0&&U(qe)?$>1?Ga(qe,$-1,U,ie,he):Qo(he,qe):ie||(he[he.length]=qe)}return he}var Sh=Fg(),bd=Fg(!0);function Ka(S,$){return S&&Sh(S,$,ol)}function Wa(S,$){return S&&bd(S,$,ol)}function Wu(S,$){return Bo($,function(U){return Hs(S[U])})}function $a(S,$){$=po($,S);for(var U=0,ie=$.length;S!=null&&U<ie;)S=S[tu($[U++])];return U&&U==ie?S:n}function bg(S,$,U){var ie=$(S);return Kn(S)?ie:Qo(ie,U(S))}function Mu(S){return S==null?S===n?Ze:Ne:Hi&&Hi in Mr(S)?Bs(S):Rd(S)}function mu(S,$){return S>$}function Ja(S,$){return S!=null&&xr.call(S,$)}function Go(S,$){return S!=null&&$ in Mr(S)}function Od(S,$,U){return S>=_i($,U)&&S<Fi($,U)}function em(S,$,U){for(var ie=U?Cs:fh,he=S[0].length,Ce=S.length,Pe=Ce,qe=rt(Ce),Je=1/0,xt=[];Pe--;){var _t=S[Pe];Pe&&$&&(_t=gi(_t,ou($))),Je=_i(_t.length,Je),qe[Pe]=!U&&($||he>=120&&_t.length>=120)?new jo(Pe&&_t):n}_t=S[0];var wt=-1,Wt=qe[0];e:for(;++wt<he&&xt.length<Je;){var bn=_t[wt],qn=$?$(bn):bn;if(bn=U||bn!==0?bn:0,!(Wt?Za(Wt,qn):ie(xt,qn,U))){for(Pe=Ce;--Pe;){var yr=qe[Pe];if(!(yr?Za(yr,qn):ie(S[Pe],qn,U)))continue e}Wt&&Wt.push(qn),xt.push(bn)}}return xt}function Db(S,$,U,ie){return Ka(S,function(he,Ce,Pe){$(ie,U(he),Ce,Pe)}),ie}function ho(S,$,U){$=po($,S),S=Th(S,$);var ie=S==null?S:S[tu(Ir($))];return ie==null?n:ca(ie,S,U)}function Il(S){return qa(S)&&Mu(S)==oe}function da(S){return qa(S)&&Mu(S)==ze}function Og(S){return qa(S)&&Mu(S)==ye}function gu(S,$,U,ie,he){return S===$?!0:S==null||$==null||!qa(S)&&!qa($)?S!==S&&$!==$:An(S,$,U,ie,gu,he)}function An(S,$,U,ie,he,Ce){var Pe=Kn(S),qe=Kn($),Je=Pe?ae:Fr(S),xt=qe?ae:Fr($);Je=Je==oe?Re:Je,xt=xt==oe?Re:xt;var _t=Je==Re,wt=xt==Re,Wt=Je==xt;if(Wt&&Hp(S)){if(!Hp($))return!1;Pe=!0,_t=!1}if(Wt&&!_t)return Ce||(Ce=new Zo),Pe||Xp(S)?om(S,$,U,ie,he,Ce):Pb(S,$,Je,U,ie,he,Ce);if(!(U&y)){var bn=_t&&xr.call(S,"__wrapped__"),qn=wt&&xr.call($,"__wrapped__");if(bn||qn){var yr=bn?S.value():S,Vn=qn?$.value():$;return Ce||(Ce=new Zo),he(yr,Vn,U,ie,Ce)}}return Wt?(Ce||(Ce=new Zo),By(S,$,U,ie,he,Ce)):!1}function vi(S){return qa(S)&&Fr(S)==ge}function ha(S,$,U,ie){var he=U.length,Ce=he,Pe=!ie;if(S==null)return!Ce;for(S=Mr(S);he--;){var qe=U[he];if(Pe&&qe[2]?qe[1]!==S[qe[0]]:!(qe[0]in S))return!1}for(;++he<Ce;){qe=U[he];var Je=qe[0],xt=S[Je],_t=qe[1];if(Pe&&qe[2]){if(xt===n&&!(Je in S))return!1}else{var wt=new Zo;if(ie)var Wt=ie(xt,_t,Je,S,$,wt);if(!(Wt===n?gu(_t,xt,y|v,ie,wt):Wt))return!1}}return!0}function tm(S){if(!ga(S)||Ah(S))return!1;var $=Hs(S)?co:qr;return $.test(nu(S))}function Rc(S){return qa(S)&&Mu(S)==Oe}function xh(S){return qa(S)&&Fr(S)==$e}function Sg(S){return qa(S)&&Qb(S.length)&&!!$r[Mu(S)]}function Np(S){return typeof S=="function"?S:S==null?Eo:typeof S=="object"?Kn(S)?by(S[0],S[1]):_g(S):Ee(S)}function Ko(S){if(!_f(S))return Ec(S);var $=[];for(var U in Mr(S))xr.call(S,U)&&U!="constructor"&&$.push(U);return $}function r4(S){if(!ga(S))return ql(S);var $=_f(S),U=[];for(var ie in S)ie=="constructor"&&($||!xr.call(S,ie))||U.push(ie);return U}function Xi(S,$){return S<$}function xg(S,$){var U=-1,ie=is(S)?rt(S.length):[];return Cc(S,function(he,Ce,Pe){ie[++U]=$(he,Ce,Pe)}),ie}function _g(S){var $=yl(S);return $.length==1&&$[0][2]?Ef($[0][0],$[0][1]):function(U){return U===S||ha(U,S,$)}}function by(S,$){return Pc(S)&&ts($)?Ef(tu(S),$):function(U){var ie=Yp(U,S);return ie===n&&ie===$?S4(U,S):gu($,ie,y|v)}}function nm(S,$,U,ie,he){S!==$&&Sh($,function(Ce,Pe){if(he||(he=new Zo),ga(Ce))i4(S,$,Pe,U,nm,ie,he);else{var qe=ie?ie(Hr(S,Pe),Ce,Pe+"",S,$,he):n;qe===n&&(qe=Ce),W0(S,Pe,qe)}},us)}function i4(S,$,U,ie,he,Ce,Pe){var qe=Hr(S,U),Je=Hr($,U),xt=Pe.get(Je);if(xt){W0(S,U,xt);return}var _t=Ce?Ce(qe,Je,U+"",S,$,Pe):n,wt=_t===n;if(wt){var Wt=Kn(Je),bn=!Wt&&Hp(Je),qn=!Wt&&!bn&&Xp(Je);_t=Je,Wt||bn||qn?Kn(qe)?_t=qe:iu(qe)?_t=el(qe):bn?(wt=!1,_t=Ty(Je,!0)):qn?(wt=!1,_t=Ql(Je,!0)):_t=[]:Zy(Je)||Om(Je)?(_t=qe,Om(qe)?_t=zb(qe):(!ga(qe)||Hs(qe))&&(_t=yu(Je))):wt=!1}wt&&(Pe.set(Je,_t),he(_t,Je,ie,Ce,Pe),Pe.delete(Je)),W0(S,U,_t)}function Eg(S,$){var U=S.length;if(U)return $+=$<0?U:0,vo($,U)?S[$]:n}function Dg(S,$,U){$.length?$=gi($,function(Ce){return Kn(Ce)?function(Pe){return $a(Pe,Ce.length===1?Ce[0]:Ce)}:Ce}):$=[Eo];var ie=-1;$=gi($,ou(Sn()));var he=xg(S,function(Ce,Pe,qe){var Je=gi($,function(xt){return xt(Ce)});return{criteria:Je,index:++ie,value:Ce}});return hh(he,function(Ce,Pe){return kg(Ce,Pe,U)})}function Oy(S,$){return Ju(S,$,function(U,ie){return S4(S,ie)})}function Ju(S,$,U){for(var ie=-1,he=$.length,Ce={};++ie<he;){var Pe=$[ie],qe=$a(S,Pe);U(qe,Pe)&&Eh(Ce,po(Pe,S),qe)}return Ce}function Ca(S){return function($){return $a($,S)}}function _h(S,$,U,ie){var he=ie?Z0:ju,Ce=-1,Pe=$.length,qe=S;for(S===$&&($=el($)),U&&(qe=gi(S,ou(U)));++Ce<Pe;)for(var Je=0,xt=$[Ce],_t=U?U(xt):xt;(Je=he(qe,_t,Je,ie))>-1;)qe!==S&&fu.call(qe,Je,1),fu.call(S,Je,1);return S}function Ip(S,$){for(var U=S?$.length:0,ie=U-1;U--;){var he=$[U];if(U==ie||he!==Ce){var Ce=he;vo(he)?fu.call(S,he,1):Bp(S,he)}}return S}function Lp(S,$){return S+yh(Au()*($-S+1))}function Sy(S,$,U,ie){for(var he=-1,Ce=Fi(Sf(($-S)/(U||1)),0),Pe=rt(Ce);Ce--;)Pe[ie?Ce:++he]=S,S+=U;return Pe}function Is(S,$){var U="";if(!S||$<1||$>te)return U;do $%2&&(U+=S),$=yh($/2),$&&(S+=S);while($);return U}function Wn(S,$){return Df(Mc(S,$,Eo),S+"")}function xy(S){return Ho(Wg(S))}function $g(S,$){var U=Wg(S);return qs(U,Ns($,0,U.length))}function Eh(S,$,U,ie){if(!ga(S))return S;$=po($,S);for(var he=-1,Ce=$.length,Pe=Ce-1,qe=S;qe!=null&&++he<Ce;){var Je=tu($[he]),xt=U;if(Je==="__proto__"||Je==="constructor"||Je==="prototype")return S;if(he!=Pe){var _t=qe[Je];xt=ie?ie(_t,Je,qe):n,xt===n&&(xt=ga(_t)?_t:vo($[he+1])?[]:{})}Fs(qe,Je,xt),qe=qe[Je]}return S}var _y=Qe?function(S,$){return Qe.set(S,$),S}:Eo,Ey=Yu?function(S,$){return Yu(S,"toString",{configurable:!0,enumerable:!1,value:ev($),writable:!0})}:Eo;function Dy(S){return qs(Wg(S))}function Ll(S,$,U){var ie=-1,he=S.length;$<0&&($=-$>he?0:he+$),U=U>he?he:U,U<0&&(U+=he),he=$>U?0:U-$>>>0,$>>>=0;for(var Ce=rt(he);++ie<he;)Ce[ie]=S[ie+$];return Ce}function Cg(S,$){var U;return Cc(S,function(ie,he,Ce){return U=$(ie,he,Ce),!U}),!!U}function Sd(S,$,U){var ie=0,he=S==null?ie:S.length;if(typeof $=="number"&&$===$&&he<=B){for(;ie<he;){var Ce=ie+he>>>1,Pe=S[Ce];Pe!==null&&!as(Pe)&&(U?Pe<=$:Pe<$)?ie=Ce+1:he=Ce}return he}return wg(S,$,Eo,U)}function wg(S,$,U,ie){var he=0,Ce=S==null?0:S.length;if(Ce===0)return 0;$=U($);for(var Pe=$!==$,qe=$===null,Je=as($),xt=$===n;he<Ce;){var _t=yh((he+Ce)/2),wt=U(S[_t]),Wt=wt!==n,bn=wt===null,qn=wt===wt,yr=as(wt);if(Pe)var Vn=ie||qn;else xt?Vn=qn&&(ie||Wt):qe?Vn=qn&&Wt&&(ie||!bn):Je?Vn=qn&&Wt&&!bn&&(ie||!yr):bn||yr?Vn=!1:Vn=ie?wt<=$:wt<$;Vn?he=_t+1:Ce=_t}return _i(Ce,Y)}function $b(S,$){for(var U=-1,ie=S.length,he=0,Ce=[];++U<ie;){var Pe=S[U],qe=$?$(Pe):Pe;if(!U||!Zs(qe,Je)){var Je=qe;Ce[he++]=Pe===0?0:Pe}}return Ce}function $y(S){return typeof S=="number"?S:as(S)?M:+S}function Bl(S){if(typeof S=="string")return S;if(Kn(S))return gi(S,Bl)+"";if(as(S))return La?La.call(S):"";var $=S+"";return $=="0"&&1/S==-J?"-0":$}function Ac(S,$,U){var ie=-1,he=fh,Ce=S.length,Pe=!0,qe=[],Je=qe;if(U)Pe=!1,he=Cs;else if(Ce>=i){var xt=$?null:kb(S);if(xt)return Gn(xt);Pe=!1,he=Za,Je=new jo}else Je=$?[]:qe;e:for(;++ie<Ce;){var _t=S[ie],wt=$?$(_t):_t;if(_t=U||_t!==0?_t:0,Pe&&wt===wt){for(var Wt=Je.length;Wt--;)if(Je[Wt]===wt)continue e;$&&Je.push(wt),qe.push(_t)}else he(Je,wt,U)||(Je!==qe&&Je.push(wt),qe.push(_t))}return qe}function Bp(S,$){return $=po($,S),S=Th(S,$),S==null||delete S[tu(Ir($))]}function Cy(S,$,U,ie){return Eh(S,$,U($a(S,$)),ie)}function rm(S,$,U,ie){for(var he=S.length,Ce=ie?he:-1;(ie?Ce--:++Ce<he)&&$(S[Ce],Ce,S););return U?Ll(S,ie?0:Ce,ie?Ce+1:he):Ll(S,ie?Ce+1:0,ie?he:Ce)}function wy(S,$){var U=S;return U instanceof Qn&&(U=U.value()),Ep($,function(ie,he){return he.func.apply(he.thisArg,Qo([ie],he.args))},U)}function Rg(S,$,U){var ie=S.length;if(ie<2)return ie?Ac(S[0]):[];for(var he=-1,Ce=rt(ie);++he<ie;)for(var Pe=S[he],qe=-1;++qe<ie;)qe!=he&&(Ce[he]=Xo(Ce[he]||Pe,S[qe],$,U));return Ac(Ga(Ce,1),$,U)}function Ry(S,$,U){for(var ie=-1,he=S.length,Ce=$.length,Pe={};++ie<he;){var qe=ie<Ce?$[ie]:n;U(Pe,S[ie],qe)}return Pe}function Ay(S){return iu(S)?S:[]}function Ag(S){return typeof S=="function"?S:Eo}function po(S,$){return Kn(S)?S:Pc(S,$)?[S]:Qg(Oi(S))}var Cb=Wn;function Ls(S,$,U){var ie=S.length;return U=U===n?ie:U,!$&&U>=ie?S:Ll(S,$,U)}var im=du||function(S){return ea.clearTimeout(S)};function Ty(S,$){if($)return S.slice();var U=S.length,ie=Sc?Sc(U):new S.constructor(U);return S.copy(ie),ie}function am(S){var $=new S.constructor(S.byteLength);return new Hu($).set(new Hu(S)),$}function wb(S,$){var U=$?am(S.buffer):S.buffer;return new S.constructor(U,S.byteOffset,S.byteLength)}function Rb(S){var $=new S.constructor(S.source,ki.exec(S));return $.lastIndex=S.lastIndex,$}function Ab(S){return Ei?Mr(Ei.call(S)):{}}function Ql(S,$){var U=$?am(S.buffer):S.buffer;return new S.constructor(U,S.byteOffset,S.length)}function Tg(S,$){if(S!==$){var U=S!==n,ie=S===null,he=S===S,Ce=as(S),Pe=$!==n,qe=$===null,Je=$===$,xt=as($);if(!qe&&!xt&&!Ce&&S>$||Ce&&Pe&&Je&&!qe&&!xt||ie&&Pe&&Je||!U&&Je||!he)return 1;if(!ie&&!Ce&&!xt&&S<$||xt&&U&&he&&!ie&&!Ce||qe&&U&&he||!Pe&&he||!Je)return-1}return 0}function kg(S,$,U){for(var ie=-1,he=S.criteria,Ce=$.criteria,Pe=he.length,qe=U.length;++ie<Pe;){var Je=Tg(he[ie],Ce[ie]);if(Je){if(ie>=qe)return Je;var xt=U[ie];return Je*(xt=="desc"?-1:1)}}return S.index-$.index}function um(S,$,U,ie){for(var he=-1,Ce=S.length,Pe=U.length,qe=-1,Je=$.length,xt=Fi(Ce-Pe,0),_t=rt(Je+xt),wt=!ie;++qe<Je;)_t[qe]=$[qe];for(;++he<Pe;)(wt||he<Ce)&&(_t[U[he]]=S[he]);for(;xt--;)_t[qe++]=S[he++];return _t}function Pg(S,$,U,ie){for(var he=-1,Ce=S.length,Pe=-1,qe=U.length,Je=-1,xt=$.length,_t=Fi(Ce-qe,0),wt=rt(_t+xt),Wt=!ie;++he<_t;)wt[he]=S[he];for(var bn=he;++Je<xt;)wt[bn+Je]=$[Je];for(;++Pe<qe;)(Wt||he<Ce)&&(wt[bn+U[Pe]]=S[he++]);return wt}function el(S,$){var U=-1,ie=S.length;for($||($=rt(ie));++U<ie;)$[U]=S[U];return $}function Wo(S,$,U,ie){var he=!U;U||(U={});for(var Ce=-1,Pe=$.length;++Ce<Pe;){var qe=$[Ce],Je=ie?ie(U[qe],S[qe],qe,U,S):n;Je===n&&(Je=S[qe]),he?Gu(U,qe,Je):Fs(U,qe,Je)}return U}function ky(S,$){return Wo(S,Jo(S),$)}function Py(S,$){return Wo(S,mo(S),$)}function Mg(S,$){return function(U,ie){var he=Kn(U)?ud:gg,Ce=$?$():{};return he(U,S,Sn(ie,2),Ce)}}function xd(S){return Wn(function($,U){var ie=-1,he=U.length,Ce=he>1?U[he-1]:n,Pe=he>2?U[2]:n;for(Ce=S.length>3&&typeof Ce=="function"?(he--,Ce):n,Pe&&$i(U[0],U[1],Pe)&&(Ce=he<3?n:Ce,he=1),$=Mr($);++ie<he;){var qe=U[ie];qe&&S($,qe,ie,Ce)}return $})}function My(S,$){return function(U,ie){if(U==null)return U;if(!is(U))return S(U,ie);for(var he=U.length,Ce=$?he:-1,Pe=Mr(U);($?Ce--:++Ce<he)&&ie(Pe[Ce],Ce,Pe)!==!1;);return U}}function Fg(S){return function($,U,ie){for(var he=-1,Ce=Mr($),Pe=ie($),qe=Pe.length;qe--;){var Je=Pe[S?qe:++he];if(U(Ce[Je],Je,Ce)===!1)break}return $}}function Fy(S,$,U){var ie=$&_,he=lm(S);function Ce(){var Pe=this&&this!==ea&&this instanceof Ce?he:S;return Pe.apply(ie?U:this,arguments)}return Ce}function vu(S){return function($){$=Oi($);var U=su($)?cr($):n,ie=U?U[0]:$.charAt(0),he=U?Ls(U,1).join(""):$.slice(1);return ie[S]()+he}}function _d(S){return function($){return Ep(n_(Jg($).replace(bp,"")),S,"")}}function lm(S){return function(){var $=arguments;switch($.length){case 0:return new S;case 1:return new S($[0]);case 2:return new S($[0],$[1]);case 3:return new S($[0],$[1],$[2]);case 4:return new S($[0],$[1],$[2],$[3]);case 5:return new S($[0],$[1],$[2],$[3],$[4]);case 6:return new S($[0],$[1],$[2],$[3],$[4],$[5]);case 7:return new S($[0],$[1],$[2],$[3],$[4],$[5],$[6])}var U=gl(S.prototype),ie=S.apply(U,$);return ga(ie)?ie:U}}function a4(S,$,U){var ie=lm(S);function he(){for(var Ce=arguments.length,Pe=rt(Ce),qe=Ce,Je=Di(he);qe--;)Pe[qe]=arguments[qe];var xt=Ce<3&&Pe[0]!==Je&&Pe[Ce-1]!==Je?[]:lo(Pe,Je);if(Ce-=xt.length,Ce<U)return Ch(S,$,Ed,he.placeholder,n,Pe,xt,n,n,U-Ce);var _t=this&&this!==ea&&this instanceof he?ie:S;return ca(_t,this,Pe)}return he}function Ny(S){return function($,U,ie){var he=Mr($);if(!is($)){var Ce=Sn(U,3);$=ol($),U=function(qe){return Ce(he[qe],qe,he)}}var Pe=S($,U,ie);return Pe>-1?he[Ce?$[Pe]:Pe]:n}}function Dh(S){return zl(function($){var U=$.length,ie=U,he=Tu.prototype.thru;for(S&&$.reverse();ie--;){var Ce=$[ie];if(typeof Ce!="function")throw new xi(u);if(he&&!Pe&&yi(Ce)=="wrapper")var Pe=new Tu([],!0)}for(ie=Pe?ie:U;++ie<U;){Ce=$[ie];var qe=yi(Ce),Je=qe=="wrapper"?Qp(Ce):n;Je&&wd(Je[0])&&Je[1]==(k|w|R|F)&&!Je[4].length&&Je[9]==1?Pe=Pe[yi(Je[0])].apply(Pe,Je[3]):Pe=Ce.length==1&&wd(Ce)?Pe[qe]():Pe.thru(Ce)}return function(){var xt=arguments,_t=xt[0];if(Pe&&xt.length==1&&Kn(_t))return Pe.plant(_t).value();for(var wt=0,Wt=U?$[wt].apply(this,xt):_t;++wt<U;)Wt=$[wt].call(this,Wt);return Wt}})}function Ed(S,$,U,ie,he,Ce,Pe,qe,Je,xt){var _t=$&k,wt=$&_,Wt=$&x,bn=$&(w|T),qn=$&z,yr=Wt?n:lm(S);function Vn(){for(var Lr=arguments.length,Kr=rt(Lr),Tf=Lr;Tf--;)Kr[Tf]=arguments[Tf];if(bn)var Ys=Di(Vn),kf=gf(Kr,Ys);if(ie&&(Kr=um(Kr,ie,he,bn)),Ce&&(Kr=Pg(Kr,Ce,Pe,bn)),Lr-=kf,bn&&Lr<xt){var Fu=lo(Kr,Ys);return Ch(S,$,Ed,Vn.placeholder,U,Kr,Fu,qe,Je,xt-Lr)}var zh=wt?U:this,xm=Wt?zh[S]:S;return Lr=Kr.length,qe?Kr=dm(Kr,qe):qn&&Lr>1&&Kr.reverse(),_t&&Je<Lr&&(Kr.length=Je),this&&this!==ea&&this instanceof Vn&&(xm=yr||lm(xm)),xm.apply(zh,Kr)}return Vn}function Tc(S,$){return function(U,ie){return Db(U,S,$(ie),{})}}function kc(S,$){return function(U,ie){var he;if(U===n&&ie===n)return $;if(U!==n&&(he=U),ie!==n){if(he===n)return ie;typeof U=="string"||typeof ie=="string"?(U=Bl(U),ie=Bl(ie)):(U=$y(U),ie=$y(ie)),he=S(U,ie)}return he}}function tl(S){return zl(function($){return $=gi($,ou(Sn())),Wn(function(U){var ie=this;return S($,function(he){return ca(he,ie,U)})})})}function Dd(S,$){$=$===n?" ":Bl($);var U=$.length;if(U<2)return U?Is($,S):$;var ie=Is($,Sf(S/cu($)));return su($)?Ls(cr(ie),0,S).join(""):ie.slice(0,S)}function Tb(S,$,U,ie){var he=$&_,Ce=lm(S);function Pe(){for(var qe=-1,Je=arguments.length,xt=-1,_t=ie.length,wt=rt(_t+Je),Wt=this&&this!==ea&&this instanceof Pe?Ce:S;++xt<_t;)wt[xt]=ie[xt];for(;Je--;)wt[xt++]=arguments[++qe];return ca(Wt,he?U:this,wt)}return Pe}function $h(S){return function($,U,ie){return ie&&typeof ie!="number"&&$i($,U,ie)&&(U=ie=n),$=Bh($),U===n?(U=$,$=0):U=Bh(U),ie=ie===n?$<U?1:-1:Bh(ie),Sy($,U,ie,S)}}function $d(S){return function($,U){return typeof $=="string"&&typeof U=="string"||($=Xs($),U=Xs(U)),S($,U)}}function Ch(S,$,U,ie,he,Ce,Pe,qe,Je,xt){var _t=$&w,wt=_t?Pe:n,Wt=_t?n:Pe,bn=_t?Ce:n,qn=_t?n:Ce;$|=_t?R:C,$&=~(_t?C:R),$&E||($&=-4);var yr=[S,$,he,bn,wt,qn,Wt,qe,Je,xt],Vn=U.apply(n,yr);return wd(S)&&Bg(Vn,yr),Vn.placeholder=ie,zs(Vn,S,$)}function wh(S){var $=Mi[S];return function(U,ie){if(U=Xs(U),ie=ie==null?0:_i(zn(ie),292),ie&&wu(U)){var he=(Oi(U)+"e").split("e"),Ce=$(he[0]+"e"+(+he[1]+ie));return he=(Oi(Ce)+"e").split("e"),+(he[0]+"e"+(+he[1]-ie))}return $(U)}}var kb=fe&&1/Gn(new fe([,-0]))[1]==J?function(S){return new fe(S)}:O;function Iy(S){return function($){var U=Fr($);return U==ge?mh($):U==$e?ml($):od($,S($))}}function zi(S,$,U,ie,he,Ce,Pe,qe){var Je=$&x;if(!Je&&typeof S!="function")throw new xi(u);var xt=ie?ie.length:0;if(xt||($&=-97,ie=he=n),Pe=Pe===n?Pe:Fi(zn(Pe),0),qe=qe===n?qe:zn(qe),xt-=he?he.length:0,$&C){var _t=ie,wt=he;ie=he=n}var Wt=Je?n:Qp(S),bn=[S,$,U,ie,he,_t,wt,Ce,Pe,qe];if(Wt&&Lg(bn,Wt),S=bn[0],$=bn[1],U=bn[2],ie=bn[3],he=bn[4],qe=bn[9]=bn[9]===n?Je?0:S.length:Fi(bn[9]-xt,0),!qe&&$&(w|T)&&($&=-25),!$||$==_)var qn=Fy(S,$,U);else $==w||$==T?qn=a4(S,$,qe):($==R||$==(_|R))&&!he.length?qn=Tb(S,$,U,ie):qn=Ed.apply(n,bn);var yr=Wt?_y:Bg;return zs(yr(qn,bn),S,$)}function Ng(S,$,U,ie){return S===n||Zs(S,oo[U])&&!xr.call(ie,U)?$:S}function Ly(S,$,U,ie,he,Ce){return ga(S)&&ga($)&&(Ce.set($,S),nm(S,$,n,Ly,Ce),Ce.delete($)),S}function Ig(S){return Zy(S)?n:S}function om(S,$,U,ie,he,Ce){var Pe=U&y,qe=S.length,Je=$.length;if(qe!=Je&&!(Pe&&Je>qe))return!1;var xt=Ce.get(S),_t=Ce.get($);if(xt&&_t)return xt==$&&_t==S;var wt=-1,Wt=!0,bn=U&v?new jo:n;for(Ce.set(S,$),Ce.set($,S);++wt<qe;){var qn=S[wt],yr=$[wt];if(ie)var Vn=Pe?ie(yr,qn,wt,$,S,Ce):ie(qn,yr,wt,S,$,Ce);if(Vn!==n){if(Vn)continue;Wt=!1;break}if(bn){if(!$p($,function(Lr,Kr){if(!Za(bn,Kr)&&(qn===Lr||he(qn,Lr,U,ie,Ce)))return bn.push(Kr)})){Wt=!1;break}}else if(!(qn===yr||he(qn,yr,U,ie,Ce))){Wt=!1;break}}return Ce.delete(S),Ce.delete($),Wt}function Pb(S,$,U,ie,he,Ce,Pe){switch(U){case st:if(S.byteLength!=$.byteLength||S.byteOffset!=$.byteOffset)return!1;S=S.buffer,$=$.buffer;case ze:return!(S.byteLength!=$.byteLength||!Ce(new Hu(S),new Hu($)));case be:case ye:case we:return Zs(+S,+$);case _e:return S.name==$.name&&S.message==$.message;case Oe:case Ae:return S==$+"";case ge:var qe=mh;case $e:var Je=ie&y;if(qe||(qe=Gn),S.size!=$.size&&!Je)return!1;var xt=Pe.get(S);if(xt)return xt==$;ie|=v,Pe.set(S,$);var _t=om(qe(S),qe($),ie,he,Ce,Pe);return Pe.delete(S),_t;case Ue:if(Ei)return Ei.call(S)==Ei.call($)}return!1}function By(S,$,U,ie,he,Ce){var Pe=U&y,qe=nl(S),Je=qe.length,xt=nl($),_t=xt.length;if(Je!=_t&&!Pe)return!1;for(var wt=Je;wt--;){var Wt=qe[wt];if(!(Pe?Wt in $:xr.call($,Wt)))return!1}var bn=Ce.get(S),qn=Ce.get($);if(bn&&qn)return bn==$&&qn==S;var yr=!0;Ce.set(S,$),Ce.set($,S);for(var Vn=Pe;++wt<Je;){Wt=qe[wt];var Lr=S[Wt],Kr=$[Wt];if(ie)var Tf=Pe?ie(Kr,Lr,Wt,$,S,Ce):ie(Lr,Kr,Wt,S,$,Ce);if(!(Tf===n?Lr===Kr||he(Lr,Kr,U,ie,Ce):Tf)){yr=!1;break}Vn||(Vn=Wt=="constructor")}if(yr&&!Vn){var Ys=S.constructor,kf=$.constructor;Ys!=kf&&"constructor"in S&&"constructor"in $&&!(typeof Ys=="function"&&Ys instanceof Ys&&typeof kf=="function"&&kf instanceof kf)&&(yr=!1)}return Ce.delete(S),Ce.delete($),yr}function zl(S){return Df(Mc(S,n,Cr),S+"")}function nl(S){return bg(S,ol,Jo)}function vl(S){return bg(S,us,mo)}var Qp=Qe?function(S){return Qe.get(S)}:O;function yi(S){for(var $=S.name+"",U=Be[$],ie=xr.call(Be,$)?U.length:0;ie--;){var he=U[ie],Ce=he.func;if(Ce==null||Ce==S)return he.name}return $}function Di(S){var $=xr.call(xe,"placeholder")?xe:S;return $.placeholder}function Sn(){var S=xe.iteratee||e1;return S=S===e1?Np:S,arguments.length?S(arguments[0],arguments[1]):S}function Cd(S,$){var U=S.__data__;return zp($)?U[typeof $=="string"?"string":"hash"]:U.map}function yl(S){for(var $=ol(S),U=$.length;U--;){var ie=$[U],he=S[ie];$[U]=[ie,he,ts(he)]}return $}function eu(S,$){var U=H0(S,$);return tm(U)?U:n}function Bs(S){var $=xr.call(S,Hi),U=S[Hi];try{S[Hi]=n;var ie=!0}catch{}var he=fa.call(S);return ie&&($?S[Hi]=U:delete S[Hi]),he}var Jo=hu?function(S){return S==null?[]:(S=Mr(S),Bo(hu(S),function($){return _c.call(S,$)}))}:St,mo=hu?function(S){for(var $=[];S;)Qo($,Jo(S)),S=Xu(S);return $}:St,Fr=Mu;(ue&&Fr(new ue(new ArrayBuffer(1)))!=st||I&&Fr(new I)!=ge||re&&Fr(re.resolve())!=et||fe&&Fr(new fe)!=$e||Se&&Fr(new Se)!=Ye)&&(Fr=function(S){var $=Mu(S),U=$==Re?S.constructor:n,ie=U?nu(U):"";if(ie)switch(ie){case je:return st;case Ct:return ge;case Gt:return et;case Bn:return $e;case sn:return Ye}return $});function sm(S,$,U){for(var ie=-1,he=U.length;++ie<he;){var Ce=U[ie],Pe=Ce.size;switch(Ce.type){case"drop":S+=Pe;break;case"dropRight":$-=Pe;break;case"take":$=_i($,S+Pe);break;case"takeRight":S=Fi(S,$-Pe);break}}return{start:S,end:$}}function Qs(S){var $=S.match(Vt);return $?$[1].split(en):[]}function Rh(S,$,U){$=po($,S);for(var ie=-1,he=$.length,Ce=!1;++ie<he;){var Pe=tu($[ie]);if(!(Ce=S!=null&&U(S,Pe)))break;S=S[Pe]}return Ce||++ie!=he?Ce:(he=S==null?0:S.length,!!he&&Qb(he)&&vo(Pe,he)&&(Kn(S)||Om(S)))}function rl(S){var $=S.length,U=new S.constructor($);return $&&typeof S[0]=="string"&&xr.call(S,"index")&&(U.index=S.index,U.input=S.input),U}function yu(S){return typeof S.constructor=="function"&&!_f(S)?gl(Xu(S)):{}}function Nr(S,$,U){var ie=S.constructor;switch($){case ze:return am(S);case be:case ye:return new ie(+S);case st:return wb(S,U);case Ot:case Nt:case gt:case qt:case zt:case rn:case nn:case Fe:case ht:return Ql(S,U);case ge:return new ie;case we:case Ae:return new ie(S);case Oe:return Rb(S);case $e:return new ie;case Ue:return Ab(S)}}function go(S,$){var U=$.length;if(!U)return S;var ie=U-1;return $[ie]=(U>1?"& ":"")+$[ie],$=$.join(U>2?", ":" "),S.replace(Lt,`{
/* [wrapped with `+$+`] */
`)}function es(S){return Kn(S)||Om(S)||!!(dd&&S&&S[dd])}function vo(S,$){var U=typeof S;return $=$??te,!!$&&(U=="number"||U!="symbol"&&Cl.test(S))&&S>-1&&S%1==0&&S<$}function $i(S,$,U){if(!ga(U))return!1;var ie=typeof $;return(ie=="number"?is(U)&&vo($,U.length):ie=="string"&&$ in U)?Zs(U[$],S):!1}function Pc(S,$){if(Kn(S))return!1;var U=typeof S;return U=="number"||U=="symbol"||U=="boolean"||S==null||as(S)?!0:He.test(S)||!ke.test(S)||$!=null&&S in Mr($)}function zp(S){var $=typeof S;return $=="string"||$=="number"||$=="symbol"||$=="boolean"?S!=="__proto__":S===null}function wd(S){var $=yi(S),U=xe[$];if(typeof U!="function"||!($ in Qn.prototype))return!1;if(S===U)return!0;var ie=Qp(U);return!!ie&&S===ie[0]}function Ah(S){return!!gh&&gh in S}var cm=so?Hs:lt;function _f(S){var $=S&&S.constructor,U=typeof $=="function"&&$.prototype||oo;return S===U}function ts(S){return S===S&&!ga(S)}function Ef(S,$){return function(U){return U==null?!1:U[S]===$&&($!==n||S in Mr(U))}}function fm(S){var $=qy(S,function(ie){return U.size===s&&U.clear(),ie}),U=$.cache;return $}function Lg(S,$){var U=S[1],ie=$[1],he=U|ie,Ce=he<(_|x|k),Pe=ie==k&&U==w||ie==k&&U==F&&S[7].length<=$[8]||ie==(k|F)&&$[7].length<=$[8]&&U==w;if(!(Ce||Pe))return S;ie&_&&(S[2]=$[2],he|=U&_?0:E);var qe=$[3];if(qe){var Je=S[3];S[3]=Je?um(Je,qe,$[4]):qe,S[4]=Je?lo(S[3],c):$[4]}return qe=$[5],qe&&(Je=S[5],S[5]=Je?Pg(Je,qe,$[6]):qe,S[6]=Je?lo(S[5],c):$[6]),qe=$[7],qe&&(S[7]=qe),ie&k&&(S[8]=S[8]==null?$[8]:_i(S[8],$[8])),S[9]==null&&(S[9]=$[9]),S[0]=$[0],S[1]=he,S}function ql(S){var $=[];if(S!=null)for(var U in Mr(S))$.push(U);return $}function Rd(S){return fa.call(S)}function Mc(S,$,U){return $=Fi($===n?S.length-1:$,0),function(){for(var ie=arguments,he=-1,Ce=Fi(ie.length-$,0),Pe=rt(Ce);++he<Ce;)Pe[he]=ie[$+he];he=-1;for(var qe=rt($+1);++he<$;)qe[he]=ie[he];return qe[$]=U(Pe),ca(S,this,qe)}}function Th(S,$){return $.length<2?S:$a(S,Ll($,0,-1))}function dm(S,$){for(var U=S.length,ie=_i($.length,U),he=el(S);ie--;){var Ce=$[ie];S[ie]=vo(Ce,U)?he[Ce]:n}return S}function Hr(S,$){if(!($==="constructor"&&typeof S[$]=="function")&&$!="__proto__")return S[$]}var Bg=yo(_y),Ad=kl||function(S,$){return ea.setTimeout(S,$)},Df=yo(Ey);function zs(S,$,U){var ie=$+"";return Df(S,go(ie,bo(Qs(ie),U)))}function yo(S){var $=0,U=0;return function(){var ie=Ru(),he=N-(ie-U);if(U=ie,he>0){if(++$>=j)return arguments[0]}else $=0;return S.apply(n,arguments)}}function qs(S,$){var U=-1,ie=S.length,he=ie-1;for($=$===n?ie:$;++U<$;){var Ce=Lp(U,he),Pe=S[Ce];S[Ce]=S[U],S[U]=Pe}return S.length=$,S}var Qg=fm(function(S){var $=[];return S.charCodeAt(0)===46&&$.push(""),S.replace(nt,function(U,ie,he,Ce){$.push(he?Ce.replace(on,"$1"):ie||U)}),$});function tu(S){if(typeof S=="string"||as(S))return S;var $=S+"";return $=="0"&&1/S==-J?"-0":$}function nu(S){if(S!=null){try{return Of.call(S)}catch{}try{return S+""}catch{}}return""}function bo(S,$){return Na(ne,function(U){var ie="_."+U[0];$&U[1]&&!fh(S,ie)&&S.push(ie)}),S.sort()}function Oo(S){if(S instanceof Qn)return S.clone();var $=new Tu(S.__wrapped__,S.__chain__);return $.__actions__=el(S.__actions__),$.__index__=S.__index__,$.__values__=S.__values__,$}function Ba(S,$,U){(U?$i(S,$,U):$===n)?$=1:$=Fi(zn($),0);var ie=S==null?0:S.length;if(!ie||$<1)return[];for(var he=0,Ce=0,Pe=rt(Sf(ie/$));he<ie;)Pe[Ce++]=Ll(S,he,he+=$);return Pe}function Fc(S){for(var $=-1,U=S==null?0:S.length,ie=0,he=[];++$<U;){var Ce=S[$];Ce&&(he[ie++]=Ce)}return he}function Jn(){var S=arguments.length;if(!S)return[];for(var $=rt(S-1),U=arguments[0],ie=S;ie--;)$[ie-1]=arguments[ie];return Qo(Kn(U)?el(U):[U],Ga($,1))}var Xr=Wn(function(S,$){return iu(S)?Xo(S,Ga($,1,iu,!0)):[]}),wa=Wn(function(S,$){var U=Ir($);return iu(U)&&(U=n),iu(S)?Xo(S,Ga($,1,iu,!0),Sn(U,2)):[]}),ns=Wn(function(S,$){var U=Ir($);return iu(U)&&(U=n),iu(S)?Xo(S,Ga($,1,iu,!0),n,U):[]});function qi(S,$,U){var ie=S==null?0:S.length;return ie?($=U||$===n?1:zn($),Ll(S,$<0?0:$,ie)):[]}function $f(S,$,U){var ie=S==null?0:S.length;return ie?($=U||$===n?1:zn($),$=ie-$,Ll(S,0,$<0?0:$)):[]}function hm(S,$){return S&&S.length?rm(S,Sn($,3),!0,!0):[]}function pa(S,$){return S&&S.length?rm(S,Sn($,3),!0):[]}function qp(S,$,U,ie){var he=S==null?0:S.length;return he?(U&&typeof U!="number"&&$i(S,$,U)&&(U=0,ie=he),yd(S,$,U,ie)):[]}function Qy(S,$,U){var ie=S==null?0:S.length;if(!ie)return-1;var he=U==null?0:zn(U);return he<0&&(he=Fi(ie+he,0)),ao(S,Sn($,3),he)}function pm(S,$,U){var ie=S==null?0:S.length;if(!ie)return-1;var he=ie-1;return U!==n&&(he=zn(U),he=U<0?Fi(ie+he,0):_i(he,ie-1)),ao(S,Sn($,3),he,!0)}function Cr(S){var $=S==null?0:S.length;return $?Ga(S,1):[]}function Qa(S){var $=S==null?0:S.length;return $?Ga(S,J):[]}function il(S,$){var U=S==null?0:S.length;return U?($=$===n?1:zn($),Ga(S,$)):[]}function Td(S){for(var $=-1,U=S==null?0:S.length,ie={};++$<U;){var he=S[$];ie[he[0]]=he[1]}return ie}function mm(S){return S&&S.length?S[0]:n}function zy(S,$,U){var ie=S==null?0:S.length;if(!ie)return-1;var he=U==null?0:zn(U);return he<0&&(he=Fi(ie+he,0)),ju(S,$,he)}function Mb(S){var $=S==null?0:S.length;return $?Ll(S,0,-1):[]}var Ra=Wn(function(S){var $=gi(S,Ay);return $.length&&$[0]===S[0]?em($):[]}),al=Wn(function(S){var $=Ir(S),U=gi(S,Ay);return $===Ir(U)?$=n:U.pop(),U.length&&U[0]===S[0]?em(U,Sn($,2)):[]}),Vl=Wn(function(S){var $=Ir(S),U=gi(S,Ay);return $=typeof $=="function"?$:n,$&&U.pop(),U.length&&U[0]===S[0]?em(U,n,$):[]});function kd(S,$){return S==null?"":Pl.call(S,$)}function Ir(S){var $=S==null?0:S.length;return $?S[$-1]:n}function Fb(S,$,U){var ie=S==null?0:S.length;if(!ie)return-1;var he=ie;return U!==n&&(he=zn(U),he=he<0?Fi(ie+he,0):_i(he,ie-1)),$===$?Pi(S,$,he):ao(S,dh,he,!0)}function Cf(S,$){return S&&S.length?Eg(S,zn($)):n}var kh=Wn(Yr);function Yr(S,$){return S&&S.length&&$&&$.length?_h(S,$):S}function zg(S,$,U){return S&&S.length&&$&&$.length?_h(S,$,Sn(U,2)):S}function wf(S,$,U){return S&&S.length&&$&&$.length?_h(S,$,n,U):S}var ru=zl(function(S,$){var U=S==null?0:S.length,ie=Mp(S,$);return Ip(S,gi($,function(he){return vo(he,U)?+he:he}).sort(Tg)),ie});function na(S,$){var U=[];if(!(S&&S.length))return U;var ie=-1,he=[],Ce=S.length;for($=Sn($,3);++ie<Ce;){var Pe=S[ie];$(Pe,ie,S)&&(U.push(Pe),he.push(ie))}return Ip(S,he),U}function Nc(S){return S==null?S:Uo.call(S)}function Vp(S,$,U){var ie=S==null?0:S.length;return ie?(U&&typeof U!="number"&&$i(S,$,U)?($=0,U=ie):($=$==null?0:zn($),U=U===n?ie:zn(U)),Ll(S,$,U)):[]}function ma(S,$){return Sd(S,$)}function Ph(S,$,U){return wg(S,$,Sn(U,2))}function Aa(S,$){var U=S==null?0:S.length;if(U){var ie=Sd(S,$);if(ie<U&&Zs(S[ie],$))return ie}return-1}function Ul(S,$){return Sd(S,$,!0)}function bl(S,$,U){return wg(S,$,Sn(U,2),!0)}function Mh(S,$){var U=S==null?0:S.length;if(U){var ie=Sd(S,$,!0)-1;if(Zs(S[ie],$))return ie}return-1}function qg(S){return S&&S.length?$b(S):[]}function gm(S,$){return S&&S.length?$b(S,Sn($,2)):[]}function Vg(S){var $=S==null?0:S.length;return $?Ll(S,1,$):[]}function Ug(S,$,U){return S&&S.length?($=U||$===n?1:zn($),Ll(S,0,$<0?0:$)):[]}function wr(S,$,U){var ie=S==null?0:S.length;return ie?($=U||$===n?1:zn($),$=ie-$,Ll(S,$<0?0:$,ie)):[]}function ri(S,$){return S&&S.length?rm(S,Sn($,3),!1,!0):[]}function er(S,$){return S&&S.length?rm(S,Sn($,3)):[]}var vr=Wn(function(S){return Ac(Ga(S,1,iu,!0))}),yn=Wn(function(S){var $=Ir(S);return iu($)&&($=n),Ac(Ga(S,1,iu,!0),Sn($,2))}),fr=Wn(function(S){var $=Ir(S);return $=typeof $=="function"?$:n,Ac(Ga(S,1,iu,!0),n,$)});function Xn(S){return S&&S.length?Ac(S):[]}function ur(S,$){return S&&S.length?Ac(S,Sn($,2)):[]}function bi(S,$){return $=typeof $=="function"?$:n,S&&S.length?Ac(S,n,$):[]}function ra(S){if(!(S&&S.length))return[];var $=0;return S=Bo(S,function(U){if(iu(U))return $=Fi(U.length,$),!0}),ld($,function(U){return gi(S,zo(U))})}function Gr(S,$){if(!(S&&S.length))return[];var U=ra(S);return $==null?U:gi(U,function(ie){return ca($,n,ie)})}var So=Wn(function(S,$){return iu(S)?Xo(S,$):[]}),Rf=Wn(function(S){return Rg(Bo(S,iu))}),Vs=Wn(function(S){var $=Ir(S);return iu($)&&($=n),Rg(Bo(S,iu),Sn($,2))}),Rr=Wn(function(S){var $=Ir(S);return $=typeof $=="function"?$:n,Rg(Bo(S,iu),n,$)}),xo=Wn(ra);function Us(S,$){return Ry(S||[],$||[],Fs)}function ul(S,$){return Ry(S||[],$||[],Eh)}var jl=Wn(function(S){var $=S.length,U=$>1?S[$-1]:n;return U=typeof U=="function"?(S.pop(),U):n,Gr(S,U)});function Ic(S){var $=xe(S);return $.__chain__=!0,$}function Up(S,$){return $(S),S}function ll(S,$){return $(S)}var jp=zl(function(S){var $=S.length,U=$?S[0]:0,ie=this.__wrapped__,he=function(Ce){return Mp(Ce,S)};return $>1||this.__actions__.length||!(ie instanceof Qn)||!vo(U)?this.thru(he):(ie=ie.slice(U,+U+($?1:0)),ie.__actions__.push({func:ll,args:[he],thisArg:n}),new Tu(ie,this.__chain__).thru(function(Ce){return $&&!Ce.length&&Ce.push(n),Ce}))});function Lc(){return Ic(this)}function ia(){return new Tu(this.value(),this.__chain__)}function js(){this.__values__===n&&(this.__values__=Mx(this.value()));var S=this.__index__>=this.__values__.length,$=S?n:this.__values__[this.__index__++];return{done:S,value:$}}function _o(){return this}function rs(S){for(var $,U=this;U instanceof Ml;){var ie=Oo(U);ie.__index__=0,ie.__values__=n,$?he.__wrapped__=ie:$=ie;var he=ie;U=U.__wrapped__}return he.__wrapped__=S,$}function Af(){var S=this.__wrapped__;if(S instanceof Qn){var $=S;return this.__actions__.length&&($=new Qn(this)),$=$.reverse(),$.__actions__.push({func:ll,args:[Nc],thisArg:n}),new Tu($,this.__chain__)}return this.thru(Nc)}function Fh(){return wy(this.__wrapped__,this.__actions__)}var jg=Mg(function(S,$,U){xr.call(S,U)?++S[U]:Gu(S,U,1)});function Nh(S,$,U){var ie=Kn(S)?_p:wc;return U&&$i(S,$,U)&&($=n),ie(S,Sn($,3))}function Ih(S,$){var U=Kn(S)?Bo:J0;return U(S,Sn($,3))}var Ol=Ny(Qy),g=Ny(pm);function b(S,$){return Ga(kt(S,$),1)}function A(S,$){return Ga(kt(S,$),J)}function Q(S,$,U){return U=U===n?1:zn(U),Ga(kt(S,$),U)}function ee(S,$){var U=Kn(S)?Na:Cc;return U(S,Sn($,3))}function le(S,$){var U=Kn(S)?hg:yg;return U(S,Sn($,3))}var De=Mg(function(S,$,U){xr.call(S,U)?S[U].push($):Gu(S,U,[$])});function Ie(S,$,U,ie){S=is(S)?S:Wg(S),U=U&&!ie?zn(U):0;var he=S.length;return U<0&&(U=Fi(he+U,0)),Yy(S)?U<=he&&S.indexOf($,U)>-1:!!he&&ju(S,$,U)>-1}var We=Wn(function(S,$,U){var ie=-1,he=typeof $=="function",Ce=is(S)?rt(S.length):[];return Cc(S,function(Pe){Ce[++ie]=he?ca($,Pe,U):ho(Pe,$,U)}),Ce}),vt=Mg(function(S,$,U){Gu(S,U,$)});function kt(S,$){var U=Kn(S)?gi:xg;return U(S,Sn($,3))}function Ht(S,$,U,ie){return S==null?[]:(Kn($)||($=$==null?[]:[$]),U=ie?n:U,Kn(U)||(U=U==null?[]:[U]),Dg(S,$,U))}var Kt=Mg(function(S,$,U){S[U?0:1].push($)},function(){return[[],[]]});function Zn(S,$,U){var ie=Kn(S)?Ep:Ia,he=arguments.length<3;return ie(S,Sn($,4),U,he,Cc)}function Zl(S,$,U){var ie=Kn(S)?Dp:Ia,he=arguments.length<3;return ie(S,Sn($,4),U,he,yg)}function vm(S,$){var U=Kn(S)?Bo:J0;return U(S,Nb(Sn($,3)))}function Lh(S){var $=Kn(S)?Ho:xy;return $(S)}function ut(S,$,U){(U?$i(S,$,U):$===n)?$=1:$=zn($);var ie=Kn(S)?K0:$g;return ie(S,$)}function Ge(S){var $=Kn(S)?Eb:Dy;return $(S)}function ct(S){if(S==null)return 0;if(is(S))return Yy(S)?cu(S):S.length;var $=Fr(S);return $==ge||$==$e?S.size:Ko(S).length}function At(S,$,U){var ie=Kn(S)?$p:Cg;return U&&$i(S,$,U)&&($=n),ie(S,Sn($,3))}var mn=Wn(function(S,$){if(S==null)return[];var U=$.length;return U>1&&$i(S,$[0],$[1])?$=[]:U>2&&$i($[0],$[1],$[2])&&($=[$[0]]),Dg(S,Ga($,1),[])}),ci=vh||function(){return ea.Date.now()};function Tn(S,$){if(typeof $!="function")throw new xi(u);return S=zn(S),function(){if(--S<1)return $.apply(this,arguments)}}function Ar(S,$,U){return $=U?n:$,$=S&&$==null?S.length:$,zi(S,k,n,n,n,n,$)}function za(S,$){var U;if(typeof $!="function")throw new xi(u);return S=zn(S),function(){return--S>0&&(U=$.apply(this,arguments)),S<=1&&($=n),U}}var _r=Wn(function(S,$,U){var ie=_;if(U.length){var he=lo(U,Di(_r));ie|=R}return zi(S,ie,$,U,he)}),Bc=Wn(function(S,$,U){var ie=_|x;if(U.length){var he=lo(U,Di(Bc));ie|=R}return zi($,ie,S,U,he)});function ym(S,$,U){$=U?n:$;var ie=zi(S,w,n,n,n,n,n,$);return ie.placeholder=ym.placeholder,ie}function u4(S,$,U){$=U?n:$;var ie=zi(S,T,n,n,n,n,n,$);return ie.placeholder=u4.placeholder,ie}function l4(S,$,U){var ie,he,Ce,Pe,qe,Je,xt=0,_t=!1,wt=!1,Wt=!0;if(typeof S!="function")throw new xi(u);$=Xs($)||0,ga(U)&&(_t=!!U.leading,wt="maxWait"in U,Ce=wt?Fi(Xs(U.maxWait)||0,$):Ce,Wt="trailing"in U?!!U.trailing:Wt);function bn(Fu){var zh=ie,xm=he;return ie=he=n,xt=Fu,Pe=S.apply(xm,zh),Pe}function qn(Fu){return xt=Fu,qe=Ad(Lr,$),_t?bn(Fu):Pe}function yr(Fu){var zh=Fu-Je,xm=Fu-xt,GL=$-zh;return wt?_i(GL,Ce-xm):GL}function Vn(Fu){var zh=Fu-Je,xm=Fu-xt;return Je===n||zh>=$||zh<0||wt&&xm>=Ce}function Lr(){var Fu=ci();if(Vn(Fu))return Kr(Fu);qe=Ad(Lr,yr(Fu))}function Kr(Fu){return qe=n,Wt&&ie?bn(Fu):(ie=he=n,Pe)}function Tf(){qe!==n&&im(qe),xt=0,ie=Je=he=qe=n}function Ys(){return qe===n?Pe:Kr(ci())}function kf(){var Fu=ci(),zh=Vn(Fu);if(ie=arguments,he=this,Je=Fu,zh){if(qe===n)return qn(Je);if(wt)return im(qe),qe=Ad(Lr,$),bn(Je)}return qe===n&&(qe=Ad(Lr,$)),Pe}return kf.cancel=Tf,kf.flush=Ys,kf}var Ci=Wn(function(S,$){return yy(S,1,$)}),o4=Wn(function(S,$,U){return yy(S,Xs($)||0,U)});function U5(S){return zi(S,z)}function qy(S,$){if(typeof S!="function"||$!=null&&typeof $!="function")throw new xi(u);var U=function(){var ie=arguments,he=$?$.apply(this,ie):ie[0],Ce=U.cache;if(Ce.has(he))return Ce.get(he);var Pe=S.apply(this,ie);return U.cache=Ce.set(he,Pe)||Ce,Pe};return U.cache=new(qy.Cache||Ps),U}qy.Cache=Ps;function Nb(S){if(typeof S!="function")throw new xi(u);return function(){var $=arguments;switch($.length){case 0:return!S.call(this);case 1:return!S.call(this,$[0]);case 2:return!S.call(this,$[0],$[1]);case 3:return!S.call(this,$[0],$[1],$[2])}return!S.apply(this,$)}}function j5(S){return za(2,S)}var Z5=Cb(function(S,$){$=$.length==1&&Kn($[0])?gi($[0],ou(Sn())):gi(Ga($,1),ou(Sn()));var U=$.length;return Wn(function(ie){for(var he=-1,Ce=_i(ie.length,U);++he<Ce;)ie[he]=$[he].call(this,ie[he]);return ca(S,this,ie)})}),Zg=Wn(function(S,$){var U=lo($,Di(Zg));return zi(S,R,n,$,U)}),bm=Wn(function(S,$){var U=lo($,Di(bm));return zi(S,C,n,$,U)}),s4=zl(function(S,$){return zi(S,F,n,n,n,$)});function Ib(S,$){if(typeof S!="function")throw new xi(u);return $=$===n?$:zn($),Wn(S,$)}function c4(S,$){if(typeof S!="function")throw new xi(u);return $=$==null?0:Fi(zn($),0),Wn(function(U){var ie=U[$],he=Ls(U,0,$);return ie&&Qo(he,ie),ca(S,this,he)})}function Zp(S,$,U){var ie=!0,he=!0;if(typeof S!="function")throw new xi(u);return ga(U)&&(ie="leading"in U?!!U.leading:ie,he="trailing"in U?!!U.trailing:he),l4(S,$,{leading:ie,maxWait:$,trailing:he})}function Pd(S){return Ar(S,1)}function Vy(S,$){return Zg(Ag($),S)}function H5(){if(!arguments.length)return[];var S=arguments[0];return Kn(S)?S:[S]}function xx(S){return Ku(S,m)}function _x(S,$){return $=typeof $=="function"?$:n,Ku(S,m,$)}function Ex(S){return Ku(S,d|m)}function Dx(S,$){return $=typeof $=="function"?$:n,Ku(S,d|m,$)}function X5(S,$){return $==null||vd(S,$,ol($))}function Zs(S,$){return S===$||S!==S&&$!==$}var $x=$d(mu),Cx=$d(function(S,$){return S>=$}),Om=Il((function(){return arguments})())?Il:function(S){return qa(S)&&xr.call(S,"callee")&&!_c.call(S,"callee")},Kn=rt.isArray,f4=q0?ou(q0):da;function is(S){return S!=null&&Qb(S.length)&&!Hs(S)}function iu(S){return qa(S)&&is(S)}function Uy(S){return S===!0||S===!1||qa(S)&&Mu(S)==be}var Hp=Tp||lt,wx=V0?ou(V0):Og;function Er(S){return qa(S)&&S.nodeType===1&&!Zy(S)}function d4(S){if(S==null)return!0;if(is(S)&&(Kn(S)||typeof S=="string"||typeof S.splice=="function"||Hp(S)||Xp(S)||Om(S)))return!S.length;var $=Fr(S);if($==ge||$==$e)return!S.size;if(_f(S))return!Ko(S).length;for(var U in S)if(xr.call(S,U))return!1;return!0}function Lb(S,$){return gu(S,$)}function h4(S,$,U){U=typeof U=="function"?U:n;var ie=U?U(S,$):n;return ie===n?gu(S,$,n,U):!!ie}function Bb(S){if(!qa(S))return!1;var $=Mu(S);return $==_e||$==pe||typeof S.message=="string"&&typeof S.name=="string"&&!Zy(S)}function p4(S){return typeof S=="number"&&wu(S)}function Hs(S){if(!ga(S))return!1;var $=Mu(S);return $==se||$==me||$==de||$==tt}function jy(S){return typeof S=="number"&&S==zn(S)}function Qb(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=te}function ga(S){var $=typeof S;return S!=null&&($=="object"||$=="function")}function qa(S){return S!=null&&typeof S=="object"}var Rx=id?ou(id):vi;function Ax(S,$){return S===$||ha(S,$,yl($))}function Tx(S,$,U){return U=typeof U=="function"?U:n,ha(S,$,yl($),U)}function Ni(S){return g4(S)&&S!=+S}function m4(S){if(cm(S))throw new En(a);return tm(S)}function Sl(S){return S===null}function Y5(S){return S==null}function g4(S){return typeof S=="number"||qa(S)&&Mu(S)==we}function Zy(S){if(!qa(S)||Mu(S)!=Re)return!1;var $=Xu(S);if($===null)return!0;var U=xr.call($,"constructor")&&$.constructor;return typeof U=="function"&&U instanceof U&&Of.call(U)==Vo}var Hy=U0?ou(U0):Rc;function v4(S){return jy(S)&&S>=-te&&S<=te}var Xy=vc?ou(vc):xh;function Yy(S){return typeof S=="string"||!Kn(S)&&qa(S)&&Mu(S)==Ae}function as(S){return typeof S=="symbol"||qa(S)&&Mu(S)==Ue}var Xp=ad?ou(ad):Sg;function y4(S){return S===n}function G5(S){return qa(S)&&Fr(S)==Ye}function kx(S){return qa(S)&&Mu(S)==Me}var K5=$d(Xi),Px=$d(function(S,$){return S<=$});function Mx(S){if(!S)return[];if(is(S))return Yy(S)?cr(S):el(S);if(ta&&S[ta])return Sr(S[ta]());var $=Fr(S),U=$==ge?mh:$==$e?Gn:Wg;return U(S)}function Bh(S){if(!S)return S===0?S:0;if(S=Xs(S),S===J||S===-J){var $=S<0?-1:1;return $*X}return S===S?S:0}function zn(S){var $=Bh(S),U=$%1;return $===$?U?$-U:$:0}function b4(S){return S?Ns(zn(S),0,K):0}function Xs(S){if(typeof S=="number")return S;if(as(S))return M;if(ga(S)){var $=typeof S.valueOf=="function"?S.valueOf():S;S=ga($)?$+"":$}if(typeof S!="string")return S===0?S:+S;S=As(S);var U=pi.test(S);return U||Du.test(S)?td(S.slice(2),U?2:8):_a.test(S)?M:+S}function zb(S){return Wo(S,us(S))}function W5(S){return S?Ns(zn(S),-te,te):S===0?S:0}function Oi(S){return S==null?"":Bl(S)}var Fx=xd(function(S,$){if(_f($)||is($)){Wo($,ol($),S);return}for(var U in $)xr.call($,U)&&Fs(S,U,$[U])}),qb=xd(function(S,$){Wo($,us($),S)}),Hg=xd(function(S,$,U,ie){Wo($,us($),S,ie)}),J5=xd(function(S,$,U,ie){Wo($,ol($),S,ie)}),Qc=zl(Mp);function O4(S,$){var U=gl(S);return $==null?U:vg(U,$)}var Nx=Wn(function(S,$){S=Mr(S);var U=-1,ie=$.length,he=ie>2?$[2]:n;for(he&&$i($[0],$[1],he)&&(ie=1);++U<ie;)for(var Ce=$[U],Pe=us(Ce),qe=-1,Je=Pe.length;++qe<Je;){var xt=Pe[qe],_t=S[xt];(_t===n||Zs(_t,oo[xt])&&!xr.call(S,xt))&&(S[xt]=Ce[xt])}return S}),Ix=Wn(function(S){return S.push(n,Ly),ca(Yg,n,S)});function Lx(S,$){return j0(S,Sn($,3),Ka)}function Gy(S,$){return j0(S,Sn($,3),Wa)}function zc(S,$){return S==null?S:Sh(S,Sn($,3),us)}function Bx(S,$){return S==null?S:bd(S,Sn($,3),us)}function Vb(S,$){return S&&Ka(S,Sn($,3))}function Qh(S,$){return S&&Wa(S,Sn($,3))}function ew(S){return S==null?[]:Wu(S,ol(S))}function tw(S){return S==null?[]:Wu(S,us(S))}function Yp(S,$,U){var ie=S==null?n:$a(S,$);return ie===n?U:ie}function Qx(S,$){return S!=null&&Rh(S,$,Ja)}function S4(S,$){return S!=null&&Rh(S,$,Go)}var nw=Tc(function(S,$,U){$!=null&&typeof $.toString!="function"&&($=fa.call($)),S[$]=U},ev(Eo)),rw=Tc(function(S,$,U){$!=null&&typeof $.toString!="function"&&($=fa.call($)),xr.call(S,$)?S[$].push(U):S[$]=[U]},Sn),iw=Wn(ho);function ol(S){return is(S)?Pp(S):Ko(S)}function us(S){return is(S)?Pp(S,!0):r4(S)}function aw(S,$){var U={};return $=Sn($,3),Ka(S,function(ie,he,Ce){Gu(U,$(ie,he,Ce),ie)}),U}function zx(S,$){var U={};return $=Sn($,3),Ka(S,function(ie,he,Ce){Gu(U,he,$(ie,he,Ce))}),U}var Xg=xd(function(S,$,U){nm(S,$,U)}),Yg=xd(function(S,$,U,ie){nm(S,$,U,ie)}),qx=zl(function(S,$){var U={};if(S==null)return U;var ie=!1;$=gi($,function(Ce){return Ce=po(Ce,S),ie||(ie=Ce.length>1),Ce}),Wo(S,vl(S),U),ie&&(U=Ku(U,d|h|m,Ig));for(var he=$.length;he--;)Bp(U,$[he]);return U});function uw(S,$){return Kg(S,Nb(Sn($)))}var Gg=zl(function(S,$){return S==null?{}:Oy(S,$)});function Kg(S,$){if(S==null)return{};var U=gi(vl(S),function(ie){return[ie]});return $=Sn($),Ju(S,U,function(ie,he){return $(ie,he[0])})}function Vx(S,$,U){$=po($,S);var ie=-1,he=$.length;for(he||(he=1,S=n);++ie<he;){var Ce=S==null?n:S[tu($[ie])];Ce===n&&(ie=he,Ce=U),S=Hs(Ce)?Ce.call(S):Ce}return S}function Ub(S,$,U){return S==null?S:Eh(S,$,U)}function x4(S,$,U,ie){return ie=typeof ie=="function"?ie:n,S==null?S:Eh(S,$,U,ie)}var jb=Iy(ol),Ky=Iy(us);function Ux(S,$,U){var ie=Kn(S),he=ie||Hp(S)||Xp(S);if($=Sn($,4),U==null){var Ce=S&&S.constructor;he?U=ie?new Ce:[]:ga(S)?U=Hs(Ce)?gl(Xu(S)):{}:U={}}return(he?Na:Ka)(S,function(Pe,qe,Je){return $(U,Pe,qe,Je)}),U}function jx(S,$){return S==null?!0:Bp(S,$)}function lw(S,$,U){return S==null?S:Cy(S,$,Ag(U))}function Zx(S,$,U,ie){return ie=typeof ie=="function"?ie:n,S==null?S:Cy(S,$,Ag(U),ie)}function Wg(S){return S==null?[]:wp(S,ol(S))}function _4(S){return S==null?[]:wp(S,us(S))}function ow(S,$,U){return U===n&&(U=$,$=n),U!==n&&(U=Xs(U),U=U===U?U:0),$!==n&&($=Xs($),$=$===$?$:0),Ns(Xs(S),$,U)}function Zb(S,$,U){return $=Bh($),U===n?(U=$,$=0):U=Bh(U),S=Xs(S),Od(S,$,U)}function Hb(S,$,U){if(U&&typeof U!="boolean"&&$i(S,$,U)&&($=U=n),U===n&&(typeof $=="boolean"?(U=$,$=n):typeof S=="boolean"&&(U=S,S=n)),S===n&&$===n?(S=0,$=1):(S=Bh(S),$===n?($=S,S=0):$=Bh($)),S>$){var ie=S;S=$,$=ie}if(U||S%1||$%1){var he=Au();return _i(S+he*($-S+Ds("1e-"+((he+"").length-1))),$)}return Lp(S,$)}var Xb=_d(function(S,$,U){return $=$.toLowerCase(),S+(U?Hx($):$)});function Hx(S){return Sm(Oi(S).toLowerCase())}function Jg(S){return S=Oi(S),S&&S.replace(Zr,cd).replace(Op,"")}function sw(S,$,U){S=Oi(S),$=Bl($);var ie=S.length;U=U===n?ie:Ns(zn(U),0,ie);var he=U;return U-=$.length,U>=0&&S.slice(U,he)==$}function Xx(S){return S=Oi(S),S&&sr.test(S)?S.replace(un,Zu):S}function Yx(S){return S=Oi(S),S&&$t.test(S)?S.replace(dt,"\\$&"):S}var Gx=_d(function(S,$,U){return S+(U?"-":"")+$.toLowerCase()}),Kx=_d(function(S,$,U){return S+(U?" ":"")+$.toLowerCase()}),E4=vu("toLowerCase");function Wx(S,$,U){S=Oi(S),$=zn($);var ie=$?cu(S):0;if(!$||ie>=$)return S;var he=($-ie)/2;return Dd(yh(he),U)+S+Dd(Sf(he),U)}function Jx(S,$,U){S=Oi(S),$=zn($);var ie=$?cu(S):0;return $&&ie<$?S+Dd($-ie,U):S}function Yb(S,$,U){S=Oi(S),$=zn($);var ie=$?cu(S):0;return $&&ie<$?Dd($-ie,U)+S:S}function cw(S,$,U){return U||$==null?$=0:$&&($=+$),hn(Oi(S).replace(Ut,""),$||0)}function fw(S,$,U){return(U?$i(S,$,U):$===n)?$=1:$=zn($),Is(Oi(S),$)}function D4(){var S=arguments,$=Oi(S[0]);return S.length<3?$:$.replace(S[1],S[2])}var $4=_d(function(S,$,U){return S+(U?"_":"")+$.toLowerCase()});function Gb(S,$,U){return U&&typeof U!="number"&&$i(S,$,U)&&($=U=n),U=U===n?K:U>>>0,U?(S=Oi(S),S&&(typeof $=="string"||$!=null&&!Hy($))&&($=Bl($),!$&&su(S))?Ls(cr(S),0,U):S.split($,U)):[]}var C4=_d(function(S,$,U){return S+(U?" ":"")+Sm($)});function e_(S,$,U){return S=Oi(S),U=U==null?0:Ns(zn(U),0,S.length),$=Bl($),S.slice(U,U+$.length)==$}function w4(S,$,U){var ie=xe.templateSettings;U&&$i(S,$,U)&&($=n),S=Oi(S),$=Hg({},$,ie,Ng);var he=Hg({},$.imports,ie.imports,Ng),Ce=ol(he),Pe=wp(he,Ce),qe,Je,xt=0,_t=$.interpolate||Pt,wt="__p += '",Wt=Ha(($.escape||Pt).source+"|"+_t.source+"|"+(_t===zr?mr:Pt).source+"|"+($.evaluate||Pt).source+"|$","g"),bn="//# sourceURL="+(xr.call($,"sourceURL")?($.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ch+"]")+`
`;S.replace(Wt,function(Vn,Lr,Kr,Tf,Ys,kf){return Kr||(Kr=Tf),wt+=S.slice(xt,kf).replace(sa,uo),Lr&&(qe=!0,wt+=`' +
__e(`+Lr+`) +
'`),Ys&&(Je=!0,wt+=`';
`+Ys+`;
__p += '`),Kr&&(wt+=`' +
((__t = (`+Kr+`)) == null ? '' : __t) +
'`),xt=kf+Vn.length,Vn}),wt+=`';
`;var qn=xr.call($,"variable")&&$.variable;if(!qn)wt=`with (obj) {
`+wt+`
}
`;else if(Rt.test(qn))throw new En(l);wt=(Je?wt.replace(Tt,""):wt).replace(Qt,"$1").replace(an,"$1;"),wt="function("+(qn||"obj")+`) {
`+(qn?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(qe?", __e = _.escape":"")+(Je?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+wt+`return __p
}`;var yr=R4(function(){return nr(Ce,bn+"return "+wt).apply(n,Pe)});if(yr.source=wt,Bb(yr))throw yr;return yr}function Gp(S){return Oi(S).toLowerCase()}function Kp(S){return Oi(S).toUpperCase()}function Wp(S,$,U){if(S=Oi(S),S&&(U||$===n))return As(S);if(!S||!($=Bl($)))return S;var ie=cr(S),he=cr($),Ce=Rp(ie,he),Pe=sd(ie,he)+1;return Ls(ie,Ce,Pe).join("")}function Wy(S,$,U){if(S=Oi(S),S&&(U||$===n))return S.slice(0,yf(S)+1);if(!S||!($=Bl($)))return S;var ie=cr(S),he=sd(ie,cr($))+1;return Ls(ie,0,he).join("")}function Jy(S,$,U){if(S=Oi(S),S&&(U||$===n))return S.replace(Ut,"");if(!S||!($=Bl($)))return S;var ie=cr(S),he=Rp(ie,cr($));return Ls(ie,he).join("")}function Jp(S,$){var U=Z,ie=q;if(ga($)){var he="separator"in $?$.separator:he;U="length"in $?zn($.length):U,ie="omission"in $?Bl($.omission):ie}S=Oi(S);var Ce=S.length;if(su(S)){var Pe=cr(S);Ce=Pe.length}if(U>=Ce)return S;var qe=U-cu(ie);if(qe<1)return ie;var Je=Pe?Ls(Pe,0,qe).join(""):S.slice(0,qe);if(he===n)return Je+ie;if(Pe&&(qe+=Je.length-qe),Hy(he)){if(S.slice(qe).search(he)){var xt,_t=Je;for(he.global||(he=Ha(he.source,Oi(ki.exec(he))+"g")),he.lastIndex=0;xt=he.exec(_t);)var wt=xt.index;Je=Je.slice(0,wt===n?qe:wt)}}else if(S.indexOf(Bl(he),qe)!=qe){var Wt=Je.lastIndexOf(he);Wt>-1&&(Je=Je.slice(0,Wt))}return Je+ie}function dw(S){return S=Oi(S),S&&jn.test(S)?S.replace(In,X0):S}var t_=_d(function(S,$,U){return S+(U?" ":"")+$.toUpperCase()}),Sm=vu("toUpperCase");function n_(S,$,U){return S=Oi(S),$=U?n:$,$===n?vf(S)?G0(S):dy(S):S.match($)||[]}var R4=Wn(function(S,$){try{return ca(S,n,$)}catch(U){return Bb(U)?U:new En(U)}}),Kb=zl(function(S,$){return Na($,function(U){U=tu(U),Gu(S,U,_r(S[U],S))}),S});function r_(S){var $=S==null?0:S.length,U=Sn();return S=$?gi(S,function(ie){if(typeof ie[1]!="function")throw new xi(u);return[U(ie[0]),ie[1]]}):[],Wn(function(ie){for(var he=-1;++he<$;){var Ce=S[he];if(ca(Ce[0],this,ie))return ca(Ce[1],this,ie)}})}function hw(S){return Fp(Ku(S,d))}function ev(S){return function(){return S}}function Wb(S,$){return S==null||S!==S?$:S}var i_=Dh(),tv=Dh(!0);function Eo(S){return S}function e1(S){return Np(typeof S=="function"?S:Ku(S,d))}function Jb(S){return _g(Ku(S,d))}function a_(S,$){return by(S,Ku($,d))}var pw=Wn(function(S,$){return function(U){return ho(U,S,$)}}),eO=Wn(function(S,$){return function(U){return ho(S,U,$)}});function f(S,$,U){var ie=ol($),he=Wu($,ie);U==null&&!(ga($)&&(he.length||!ie.length))&&(U=$,$=S,S=this,he=Wu($,ol($)));var Ce=!(ga(U)&&"chain"in U)||!!U.chain,Pe=Hs(S);return Na(he,function(qe){var Je=$[qe];S[qe]=Je,Pe&&(S.prototype[qe]=function(){var xt=this.__chain__;if(Ce||xt){var _t=S(this.__wrapped__),wt=_t.__actions__=el(this.__actions__);return wt.push({func:Je,args:arguments,thisArg:S}),_t.__chain__=xt,_t}return Je.apply(S,Qo([this.value()],arguments))})}),S}function p(){return ea._===this&&(ea._=Da),this}function O(){}function D(S){return S=zn(S),Wn(function($){return Eg($,S)})}var L=tl(gi),H=tl(_p),ce=tl($p);function Ee(S){return Pc(S)?zo(tu(S)):Ca(S)}function Le(S){return function($){return S==null?n:$a(S,$)}}var at=$h(),mt=$h(!0);function St(){return[]}function lt(){return!1}function ft(){return{}}function cn(){return""}function Rn(){return!0}function Ii(S,$){if(S=zn(S),S<1||S>te)return[];var U=K,ie=_i(S,K);$=Sn($),S-=K;for(var he=ld(ie,$);++U<S;)$(U);return he}function Ke(S){return Kn(S)?gi(S,tu):as(S)?[S]:el(Qg(Oi(S)))}function Ve(S){var $=++qo;return Oi(S)+$}var it=kc(function(S,$){return S+$},0),yt=wh("ceil"),_n=kc(function(S,$){return S/$},1),ii=wh("floor");function pn(S){return S&&S.length?Yo(S,Eo,mu):n}function lr(S,$){return S&&S.length?Yo(S,Sn($,2),mu):n}function Tr(S){return yc(S,Eo)}function ai(S,$){return yc(S,Sn($,2))}function e0(S){return S&&S.length?Yo(S,Eo,Xi):n}function mw(S,$){return S&&S.length?Yo(S,Sn($,2),Xi):n}var U1e=kc(function(S,$){return S*$},1),j1e=wh("round"),Z1e=kc(function(S,$){return S-$},0);function H1e(S){return S&&S.length?ph(S,Eo):0}function X1e(S,$){return S&&S.length?ph(S,Sn($,2)):0}return xe.after=Tn,xe.ary=Ar,xe.assign=Fx,xe.assignIn=qb,xe.assignInWith=Hg,xe.assignWith=J5,xe.at=Qc,xe.before=za,xe.bind=_r,xe.bindAll=Kb,xe.bindKey=Bc,xe.castArray=H5,xe.chain=Ic,xe.chunk=Ba,xe.compact=Fc,xe.concat=Jn,xe.cond=r_,xe.conforms=hw,xe.constant=ev,xe.countBy=jg,xe.create=O4,xe.curry=ym,xe.curryRight=u4,xe.debounce=l4,xe.defaults=Nx,xe.defaultsDeep=Ix,xe.defer=Ci,xe.delay=o4,xe.difference=Xr,xe.differenceBy=wa,xe.differenceWith=ns,xe.drop=qi,xe.dropRight=$f,xe.dropRightWhile=hm,xe.dropWhile=pa,xe.fill=qp,xe.filter=Ih,xe.flatMap=b,xe.flatMapDeep=A,xe.flatMapDepth=Q,xe.flatten=Cr,xe.flattenDeep=Qa,xe.flattenDepth=il,xe.flip=U5,xe.flow=i_,xe.flowRight=tv,xe.fromPairs=Td,xe.functions=ew,xe.functionsIn=tw,xe.groupBy=De,xe.initial=Mb,xe.intersection=Ra,xe.intersectionBy=al,xe.intersectionWith=Vl,xe.invert=nw,xe.invertBy=rw,xe.invokeMap=We,xe.iteratee=e1,xe.keyBy=vt,xe.keys=ol,xe.keysIn=us,xe.map=kt,xe.mapKeys=aw,xe.mapValues=zx,xe.matches=Jb,xe.matchesProperty=a_,xe.memoize=qy,xe.merge=Xg,xe.mergeWith=Yg,xe.method=pw,xe.methodOf=eO,xe.mixin=f,xe.negate=Nb,xe.nthArg=D,xe.omit=qx,xe.omitBy=uw,xe.once=j5,xe.orderBy=Ht,xe.over=L,xe.overArgs=Z5,xe.overEvery=H,xe.overSome=ce,xe.partial=Zg,xe.partialRight=bm,xe.partition=Kt,xe.pick=Gg,xe.pickBy=Kg,xe.property=Ee,xe.propertyOf=Le,xe.pull=kh,xe.pullAll=Yr,xe.pullAllBy=zg,xe.pullAllWith=wf,xe.pullAt=ru,xe.range=at,xe.rangeRight=mt,xe.rearg=s4,xe.reject=vm,xe.remove=na,xe.rest=Ib,xe.reverse=Nc,xe.sampleSize=ut,xe.set=Ub,xe.setWith=x4,xe.shuffle=Ge,xe.slice=Vp,xe.sortBy=mn,xe.sortedUniq=qg,xe.sortedUniqBy=gm,xe.split=Gb,xe.spread=c4,xe.tail=Vg,xe.take=Ug,xe.takeRight=wr,xe.takeRightWhile=ri,xe.takeWhile=er,xe.tap=Up,xe.throttle=Zp,xe.thru=ll,xe.toArray=Mx,xe.toPairs=jb,xe.toPairsIn=Ky,xe.toPath=Ke,xe.toPlainObject=zb,xe.transform=Ux,xe.unary=Pd,xe.union=vr,xe.unionBy=yn,xe.unionWith=fr,xe.uniq=Xn,xe.uniqBy=ur,xe.uniqWith=bi,xe.unset=jx,xe.unzip=ra,xe.unzipWith=Gr,xe.update=lw,xe.updateWith=Zx,xe.values=Wg,xe.valuesIn=_4,xe.without=So,xe.words=n_,xe.wrap=Vy,xe.xor=Rf,xe.xorBy=Vs,xe.xorWith=Rr,xe.zip=xo,xe.zipObject=Us,xe.zipObjectDeep=ul,xe.zipWith=jl,xe.entries=jb,xe.entriesIn=Ky,xe.extend=qb,xe.extendWith=Hg,f(xe,xe),xe.add=it,xe.attempt=R4,xe.camelCase=Xb,xe.capitalize=Hx,xe.ceil=yt,xe.clamp=ow,xe.clone=xx,xe.cloneDeep=Ex,xe.cloneDeepWith=Dx,xe.cloneWith=_x,xe.conformsTo=X5,xe.deburr=Jg,xe.defaultTo=Wb,xe.divide=_n,xe.endsWith=sw,xe.eq=Zs,xe.escape=Xx,xe.escapeRegExp=Yx,xe.every=Nh,xe.find=Ol,xe.findIndex=Qy,xe.findKey=Lx,xe.findLast=g,xe.findLastIndex=pm,xe.findLastKey=Gy,xe.floor=ii,xe.forEach=ee,xe.forEachRight=le,xe.forIn=zc,xe.forInRight=Bx,xe.forOwn=Vb,xe.forOwnRight=Qh,xe.get=Yp,xe.gt=$x,xe.gte=Cx,xe.has=Qx,xe.hasIn=S4,xe.head=mm,xe.identity=Eo,xe.includes=Ie,xe.indexOf=zy,xe.inRange=Zb,xe.invoke=iw,xe.isArguments=Om,xe.isArray=Kn,xe.isArrayBuffer=f4,xe.isArrayLike=is,xe.isArrayLikeObject=iu,xe.isBoolean=Uy,xe.isBuffer=Hp,xe.isDate=wx,xe.isElement=Er,xe.isEmpty=d4,xe.isEqual=Lb,xe.isEqualWith=h4,xe.isError=Bb,xe.isFinite=p4,xe.isFunction=Hs,xe.isInteger=jy,xe.isLength=Qb,xe.isMap=Rx,xe.isMatch=Ax,xe.isMatchWith=Tx,xe.isNaN=Ni,xe.isNative=m4,xe.isNil=Y5,xe.isNull=Sl,xe.isNumber=g4,xe.isObject=ga,xe.isObjectLike=qa,xe.isPlainObject=Zy,xe.isRegExp=Hy,xe.isSafeInteger=v4,xe.isSet=Xy,xe.isString=Yy,xe.isSymbol=as,xe.isTypedArray=Xp,xe.isUndefined=y4,xe.isWeakMap=G5,xe.isWeakSet=kx,xe.join=kd,xe.kebabCase=Gx,xe.last=Ir,xe.lastIndexOf=Fb,xe.lowerCase=Kx,xe.lowerFirst=E4,xe.lt=K5,xe.lte=Px,xe.max=pn,xe.maxBy=lr,xe.mean=Tr,xe.meanBy=ai,xe.min=e0,xe.minBy=mw,xe.stubArray=St,xe.stubFalse=lt,xe.stubObject=ft,xe.stubString=cn,xe.stubTrue=Rn,xe.multiply=U1e,xe.nth=Cf,xe.noConflict=p,xe.noop=O,xe.now=ci,xe.pad=Wx,xe.padEnd=Jx,xe.padStart=Yb,xe.parseInt=cw,xe.random=Hb,xe.reduce=Zn,xe.reduceRight=Zl,xe.repeat=fw,xe.replace=D4,xe.result=Vx,xe.round=j1e,xe.runInContext=Xe,xe.sample=Lh,xe.size=ct,xe.snakeCase=$4,xe.some=At,xe.sortedIndex=ma,xe.sortedIndexBy=Ph,xe.sortedIndexOf=Aa,xe.sortedLastIndex=Ul,xe.sortedLastIndexBy=bl,xe.sortedLastIndexOf=Mh,xe.startCase=C4,xe.startsWith=e_,xe.subtract=Z1e,xe.sum=H1e,xe.sumBy=X1e,xe.template=w4,xe.times=Ii,xe.toFinite=Bh,xe.toInteger=zn,xe.toLength=b4,xe.toLower=Gp,xe.toNumber=Xs,xe.toSafeInteger=W5,xe.toString=Oi,xe.toUpper=Kp,xe.trim=Wp,xe.trimEnd=Wy,xe.trimStart=Jy,xe.truncate=Jp,xe.unescape=dw,xe.uniqueId=Ve,xe.upperCase=t_,xe.upperFirst=Sm,xe.each=ee,xe.eachRight=le,xe.first=mm,f(xe,(function(){var S={};return Ka(xe,function($,U){xr.call(xe.prototype,U)||(S[U]=$)}),S})(),{chain:!1}),xe.VERSION=r,Na(["bind","bindKey","curry","curryRight","partial","partialRight"],function(S){xe[S].placeholder=xe}),Na(["drop","take"],function(S,$){Qn.prototype[S]=function(U){U=U===n?1:Fi(zn(U),0);var ie=this.__filtered__&&!$?new Qn(this):this.clone();return ie.__filtered__?ie.__takeCount__=_i(U,ie.__takeCount__):ie.__views__.push({size:_i(U,K),type:S+(ie.__dir__<0?"Right":"")}),ie},Qn.prototype[S+"Right"]=function(U){return this.reverse()[S](U).reverse()}}),Na(["filter","map","takeWhile"],function(S,$){var U=$+1,ie=U==V||U==G;Qn.prototype[S]=function(he){var Ce=this.clone();return Ce.__iteratees__.push({iteratee:Sn(he,3),type:U}),Ce.__filtered__=Ce.__filtered__||ie,Ce}}),Na(["head","last"],function(S,$){var U="take"+($?"Right":"");Qn.prototype[S]=function(){return this[U](1).value()[0]}}),Na(["initial","tail"],function(S,$){var U="drop"+($?"":"Right");Qn.prototype[S]=function(){return this.__filtered__?new Qn(this):this[U](1)}}),Qn.prototype.compact=function(){return this.filter(Eo)},Qn.prototype.find=function(S){return this.filter(S).head()},Qn.prototype.findLast=function(S){return this.reverse().find(S)},Qn.prototype.invokeMap=Wn(function(S,$){return typeof S=="function"?new Qn(this):this.map(function(U){return ho(U,S,$)})}),Qn.prototype.reject=function(S){return this.filter(Nb(Sn(S)))},Qn.prototype.slice=function(S,$){S=zn(S);var U=this;return U.__filtered__&&(S>0||$<0)?new Qn(U):(S<0?U=U.takeRight(-S):S&&(U=U.drop(S)),$!==n&&($=zn($),U=$<0?U.dropRight(-$):U.take($-S)),U)},Qn.prototype.takeRightWhile=function(S){return this.reverse().takeWhile(S).reverse()},Qn.prototype.toArray=function(){return this.take(K)},Ka(Qn.prototype,function(S,$){var U=/^(?:filter|find|map|reject)|While$/.test($),ie=/^(?:head|last)$/.test($),he=xe[ie?"take"+($=="last"?"Right":""):$],Ce=ie||/^find/.test($);he&&(xe.prototype[$]=function(){var Pe=this.__wrapped__,qe=ie?[1]:arguments,Je=Pe instanceof Qn,xt=qe[0],_t=Je||Kn(Pe),wt=function(Lr){var Kr=he.apply(xe,Qo([Lr],qe));return ie&&Wt?Kr[0]:Kr};_t&&U&&typeof xt=="function"&&xt.length!=1&&(Je=_t=!1);var Wt=this.__chain__,bn=!!this.__actions__.length,qn=Ce&&!Wt,yr=Je&&!bn;if(!Ce&&_t){Pe=yr?Pe:new Qn(this);var Vn=S.apply(Pe,qe);return Vn.__actions__.push({func:ll,args:[wt],thisArg:n}),new Tu(Vn,Wt)}return qn&&yr?S.apply(this,qe):(Vn=this.thru(wt),qn?ie?Vn.value()[0]:Vn.value():Vn)})}),Na(["pop","push","shift","sort","splice","unshift"],function(S){var $=fd[S],U=/^(?:push|sort|unshift)$/.test(S)?"tap":"thru",ie=/^(?:pop|shift)$/.test(S);xe.prototype[S]=function(){var he=arguments;if(ie&&!this.__chain__){var Ce=this.value();return $.apply(Kn(Ce)?Ce:[],he)}return this[U](function(Pe){return $.apply(Kn(Pe)?Pe:[],he)})}}),Ka(Qn.prototype,function(S,$){var U=xe[$];if(U){var ie=U.name+"";xr.call(Be,ie)||(Be[ie]=[]),Be[ie].push({name:$,func:U})}}),Be[Ed(n,x).name]=[{name:"wrapper",func:n}],Qn.prototype.clone=Ya,Qn.prototype.reverse=ks,Qn.prototype.value=Fl,xe.prototype.at=jp,xe.prototype.chain=Lc,xe.prototype.commit=ia,xe.prototype.next=js,xe.prototype.plant=rs,xe.prototype.reverse=Af,xe.prototype.toJSON=xe.prototype.valueOf=xe.prototype.value=Fh,xe.prototype.first=xe.prototype.head,ta&&(xe.prototype[ta]=_o),xe}),bc=bf();Al?((Al.exports=bc)._=bc,$s._=bc):ea._=bc}).call(LZe)})(_2,_2.exports)),_2.exports}var Uat=BZe(),QZe=KN();const jat=oa(QZe),T5=P.createContext(null);T5.displayName="PanelGroupContext";const bu={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandle:"data-resize-handle",resizeHandleActive:"data-resize-handle-active",resizeHandleEnabled:"data-panel-resize-handle-enabled",resizeHandleId:"data-panel-resize-handle-id",resizeHandleState:"data-resize-handle-state"},EL=10,L1=P.useLayoutEffect,JG=O7.useId,zZe=typeof JG=="function"?JG:()=>null;let qZe=0;function DL(e=null){const t=zZe(),n=P.useRef(e||t||null);return n.current===null&&(n.current=""+qZe++),e??n.current}function iye({children:e,className:t="",collapsedSize:n,collapsible:r,defaultSize:i,forwardedRef:a,id:u,maxSize:l,minSize:o,onCollapse:s,onExpand:c,onResize:d,order:h,style:m,tagName:y="div",...v}){const _=P.useContext(T5);if(_===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:x,expandPanel:E,getPanelSize:w,getPanelStyle:T,groupId:R,isPanelCollapsed:C,reevaluatePanelConstraints:k,registerPanel:F,resizePanel:z,unregisterPanel:Z}=_,q=DL(u),j=P.useRef({callbacks:{onCollapse:s,onExpand:c,onResize:d},constraints:{collapsedSize:n,collapsible:r,defaultSize:i,maxSize:l,minSize:o},id:q,idIsFromProps:u!==void 0,order:h});P.useRef({didLogMissingDefaultSizeWarning:!1}),L1(()=>{const{callbacks:V,constraints:W}=j.current,G={...W};j.current.id=q,j.current.idIsFromProps=u!==void 0,j.current.order=h,V.onCollapse=s,V.onExpand=c,V.onResize=d,W.collapsedSize=n,W.collapsible=r,W.defaultSize=i,W.maxSize=l,W.minSize=o,(G.collapsedSize!==W.collapsedSize||G.collapsible!==W.collapsible||G.maxSize!==W.maxSize||G.minSize!==W.minSize)&&k(j.current,G)}),L1(()=>{const V=j.current;return F(V),()=>{Z(V)}},[h,q,F,Z]),P.useImperativeHandle(a,()=>({collapse:()=>{x(j.current)},expand:V=>{E(j.current,V)},getId(){return q},getSize(){return w(j.current)},isCollapsed(){return C(j.current)},isExpanded(){return!C(j.current)},resize:V=>{z(j.current,V)}}),[x,E,w,C,q,z]);const N=T(j.current,i);return P.createElement(y,{...v,children:e,className:t,id:q,style:{...N,...m},[bu.groupId]:R,[bu.panel]:"",[bu.panelCollapsible]:r||void 0,[bu.panelId]:q,[bu.panelSize]:parseFloat(""+N.flexGrow).toFixed(1)})}const VZe=P.forwardRef((e,t)=>P.createElement(iye,{...e,forwardedRef:t}));iye.displayName="Panel";VZe.displayName="forwardRef(Panel)";let MM=null,ZE=-1,Sv=null;function UZe(e,t){if(t){const n=(t&sye)!==0,r=(t&cye)!==0,i=(t&fye)!==0,a=(t&dye)!==0;if(n)return i?"se-resize":a?"ne-resize":"e-resize";if(r)return i?"sw-resize":a?"nw-resize":"w-resize";if(i)return"s-resize";if(a)return"n-resize"}switch(e){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}function jZe(){Sv!==null&&(document.head.removeChild(Sv),MM=null,Sv=null,ZE=-1)}function H8(e,t){var n,r;const i=UZe(e,t);if(MM!==i){if(MM=i,Sv===null&&(Sv=document.createElement("style"),document.head.appendChild(Sv)),ZE>=0){var a;(a=Sv.sheet)===null||a===void 0||a.removeRule(ZE)}ZE=(n=(r=Sv.sheet)===null||r===void 0?void 0:r.insertRule(`*{cursor: ${i} !important;}`))!==null&&n!==void 0?n:-1}}function aye(e){return e.type==="keydown"}function uye(e){return e.type.startsWith("pointer")}function lye(e){return e.type.startsWith("mouse")}function k5(e){if(uye(e)){if(e.isPrimary)return{x:e.clientX,y:e.clientY}}else if(lye(e))return{x:e.clientX,y:e.clientY};return{x:1/0,y:1/0}}function ZZe(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function HZe(e,t,n){return e.x<t.x+t.width&&e.x+e.width>t.x&&e.y<t.y+t.height&&e.y+e.height>t.y}function XZe(e,t){if(e===t)throw new Error("Cannot compare node with itself");const n={a:nK(e),b:nK(t)};let r;for(;n.a.at(-1)===n.b.at(-1);)e=n.a.pop(),t=n.b.pop(),r=e;Or(r,"Stacking order can only be calculated for elements with a common ancestor");const i={a:tK(eK(n.a)),b:tK(eK(n.b))};if(i.a===i.b){const a=r.childNodes,u={a:n.a.at(-1),b:n.b.at(-1)};let l=a.length;for(;l--;){const o=a[l];if(o===u.a)return 1;if(o===u.b)return-1}}return Math.sign(i.a-i.b)}const YZe=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function GZe(e){var t;const n=getComputedStyle((t=oye(e))!==null&&t!==void 0?t:e).display;return n==="flex"||n==="inline-flex"}function KZe(e){const t=getComputedStyle(e);return!!(t.position==="fixed"||t.zIndex!=="auto"&&(t.position!=="static"||GZe(e))||+t.opacity<1||"transform"in t&&t.transform!=="none"||"webkitTransform"in t&&t.webkitTransform!=="none"||"mixBlendMode"in t&&t.mixBlendMode!=="normal"||"filter"in t&&t.filter!=="none"||"webkitFilter"in t&&t.webkitFilter!=="none"||"isolation"in t&&t.isolation==="isolate"||YZe.test(t.willChange)||t.webkitOverflowScrolling==="touch")}function eK(e){let t=e.length;for(;t--;){const n=e[t];if(Or(n,"Missing node"),KZe(n))return n}return null}function tK(e){return e&&Number(getComputedStyle(e).zIndex)||0}function nK(e){const t=[];for(;e;)t.push(e),e=oye(e);return t}function oye(e){const{parentNode:t}=e;return t&&t instanceof ShadowRoot?t.host:t}const sye=1,cye=2,fye=4,dye=8,WZe=ZZe()==="coarse";let tp=[],u3=!1,O1=new Map,P5=new Map;const RS=new Set;function JZe(e,t,n,r,i){var a;const{ownerDocument:u}=t,l={direction:n,element:t,hitAreaMargins:r,setResizeHandlerState:i},o=(a=O1.get(u))!==null&&a!==void 0?a:0;return O1.set(u,o+1),RS.add(l),T$(),function(){var c;P5.delete(e),RS.delete(l);const d=(c=O1.get(u))!==null&&c!==void 0?c:1;if(O1.set(u,d-1),T$(),d===1&&O1.delete(u),tp.includes(l)){const h=tp.indexOf(l);h>=0&&tp.splice(h,1),CL(),i("up",!0,null)}}}function eHe(e){const{target:t}=e,{x:n,y:r}=k5(e);u3=!0,$L({target:t,x:n,y:r}),T$(),tp.length>0&&(k$("down",e),e.preventDefault(),hye(t)||e.stopImmediatePropagation())}function X8(e){const{x:t,y:n}=k5(e);if(u3&&e.buttons===0&&(u3=!1,k$("up",e)),!u3){const{target:r}=e;$L({target:r,x:t,y:n})}k$("move",e),CL(),tp.length>0&&e.preventDefault()}function Y8(e){const{target:t}=e,{x:n,y:r}=k5(e);P5.clear(),u3=!1,tp.length>0&&(e.preventDefault(),hye(t)||e.stopImmediatePropagation()),k$("up",e),$L({target:t,x:n,y:r}),CL(),T$()}function hye(e){let t=e;for(;t;){if(t.hasAttribute(bu.resizeHandle))return!0;t=t.parentElement}return!1}function $L({target:e,x:t,y:n}){tp.splice(0);let r=null;(e instanceof HTMLElement||e instanceof SVGElement)&&(r=e),RS.forEach(i=>{const{element:a,hitAreaMargins:u}=i,l=a.getBoundingClientRect(),{bottom:o,left:s,right:c,top:d}=l,h=WZe?u.coarse:u.fine;if(t>=s-h&&t<=c+h&&n>=d-h&&n<=o+h){if(r!==null&&document.contains(r)&&a!==r&&!a.contains(r)&&!r.contains(a)&&XZe(r,a)>0){let y=r,v=!1;for(;y&&!y.contains(a);){if(HZe(y.getBoundingClientRect(),l)){v=!0;break}y=y.parentElement}if(v)return}tp.push(i)}})}function G8(e,t){P5.set(e,t)}function CL(){let e=!1,t=!1;tp.forEach(r=>{const{direction:i}=r;i==="horizontal"?e=!0:t=!0});let n=0;P5.forEach(r=>{n|=r}),e&&t?H8("intersection",n):e?H8("horizontal",n):t?H8("vertical",n):jZe()}let K8=new AbortController;function T$(){K8.abort(),K8=new AbortController;const e={capture:!0,signal:K8.signal};RS.size&&(u3?(tp.length>0&&O1.forEach((t,n)=>{const{body:r}=n;t>0&&(r.addEventListener("contextmenu",Y8,e),r.addEventListener("pointerleave",X8,e),r.addEventListener("pointermove",X8,e))}),window.addEventListener("pointerup",Y8,e),window.addEventListener("pointercancel",Y8,e)):O1.forEach((t,n)=>{const{body:r}=n;t>0&&(r.addEventListener("pointerdown",eHe,e),r.addEventListener("pointermove",X8,e))}))}function k$(e,t){RS.forEach(n=>{const{setResizeHandlerState:r}=n,i=tp.includes(n);r(e,i,t)})}function tHe(){const[e,t]=P.useState(0);return P.useCallback(()=>t(n=>n+1),[])}function Or(e,t){if(!e)throw console.error(t),Error(t)}function ub(e,t,n=EL){return e.toFixed(n)===t.toFixed(n)?0:e>t?1:-1}function zm(e,t,n=EL){return ub(e,t,n)===0}function Nf(e,t,n){return ub(e,t,n)===0}function nHe(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){const i=e[r],a=t[r];if(!Nf(i,a,n))return!1}return!0}function NO({panelConstraints:e,panelIndex:t,size:n}){const r=e[t];Or(r!=null,`Panel constraints not found for index ${t}`);let{collapsedSize:i=0,collapsible:a,maxSize:u=100,minSize:l=0}=r;if(ub(n,l)<0)if(a){const o=(i+l)/2;ub(n,o)<0?n=i:n=l}else n=l;return n=Math.min(u,n),n=parseFloat(n.toFixed(EL)),n}function E2({delta:e,initialLayout:t,panelConstraints:n,pivotIndices:r,prevLayout:i,trigger:a}){if(Nf(e,0))return t;const u=[...t],[l,o]=r;Or(l!=null,"Invalid first pivot index"),Or(o!=null,"Invalid second pivot index");let s=0;if(a==="keyboard"){{const d=e<0?o:l,h=n[d];Or(h,`Panel constraints not found for index ${d}`);const{collapsedSize:m=0,collapsible:y,minSize:v=0}=h;if(y){const _=t[d];if(Or(_!=null,`Previous layout not found for panel index ${d}`),Nf(_,m)){const x=v-_;ub(x,Math.abs(e))>0&&(e=e<0?0-x:x)}}}{const d=e<0?l:o,h=n[d];Or(h,`No panel constraints found for index ${d}`);const{collapsedSize:m=0,collapsible:y,minSize:v=0}=h;if(y){const _=t[d];if(Or(_!=null,`Previous layout not found for panel index ${d}`),Nf(_,v)){const x=_-m;ub(x,Math.abs(e))>0&&(e=e<0?0-x:x)}}}}{const d=e<0?1:-1;let h=e<0?o:l,m=0;for(;;){const v=t[h];Or(v!=null,`Previous layout not found for panel index ${h}`);const x=NO({panelConstraints:n,panelIndex:h,size:100})-v;if(m+=x,h+=d,h<0||h>=n.length)break}const y=Math.min(Math.abs(e),Math.abs(m));e=e<0?0-y:y}{let h=e<0?l:o;for(;h>=0&&h<n.length;){const m=Math.abs(e)-Math.abs(s),y=t[h];Or(y!=null,`Previous layout not found for panel index ${h}`);const v=y-m,_=NO({panelConstraints:n,panelIndex:h,size:v});if(!Nf(y,_)&&(s+=y-_,u[h]=_,s.toPrecision(3).localeCompare(Math.abs(e).toPrecision(3),void 0,{numeric:!0})>=0))break;e<0?h--:h++}}if(nHe(i,u))return i;{const d=e<0?o:l,h=t[d];Or(h!=null,`Previous layout not found for panel index ${d}`);const m=h+s,y=NO({panelConstraints:n,panelIndex:d,size:m});if(u[d]=y,!Nf(y,m)){let v=m-y,x=e<0?o:l;for(;x>=0&&x<n.length;){const E=u[x];Or(E!=null,`Previous layout not found for panel index ${x}`);const w=E+v,T=NO({panelConstraints:n,panelIndex:x,size:w});if(Nf(E,T)||(v-=T-E,u[x]=T),Nf(v,0))break;e>0?x--:x++}}}const c=u.reduce((d,h)=>h+d,0);return Nf(c,100)?u:i}function rHe({layout:e,panelsArray:t,pivotIndices:n}){let r=0,i=100,a=0,u=0;const l=n[0];Or(l!=null,"No pivot index found"),t.forEach((d,h)=>{const{constraints:m}=d,{maxSize:y=100,minSize:v=0}=m;h===l?(r=v,i=y):(a+=v,u+=y)});const o=Math.min(i,100-a),s=Math.max(r,100-u),c=e[l];return{valueMax:o,valueMin:s,valueNow:c}}function AS(e,t=document){return Array.from(t.querySelectorAll(`[${bu.resizeHandleId}][data-panel-group-id="${e}"]`))}function pye(e,t,n=document){const i=AS(e,n).findIndex(a=>a.getAttribute(bu.resizeHandleId)===t);return i??null}function mye(e,t,n){const r=pye(e,t,n);return r!=null?[r,r+1]:[-1,-1]}function gye(e,t=document){var n;if(t instanceof HTMLElement&&(t==null||(n=t.dataset)===null||n===void 0?void 0:n.panelGroupId)==e)return t;const r=t.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);return r||null}function M5(e,t=document){const n=t.querySelector(`[${bu.resizeHandleId}="${e}"]`);return n||null}function iHe(e,t,n,r=document){var i,a,u,l;const o=M5(t,r),s=AS(e,r),c=o?s.indexOf(o):-1,d=(i=(a=n[c])===null||a===void 0?void 0:a.id)!==null&&i!==void 0?i:null,h=(u=(l=n[c+1])===null||l===void 0?void 0:l.id)!==null&&u!==void 0?u:null;return[d,h]}function aHe({committedValuesRef:e,eagerValuesRef:t,groupId:n,layout:r,panelDataArray:i,panelGroupElement:a,setLayout:u}){P.useRef({didWarnAboutMissingResizeHandle:!1}),L1(()=>{if(!a)return;const l=AS(n,a);for(let o=0;o<i.length-1;o++){const{valueMax:s,valueMin:c,valueNow:d}=rHe({layout:r,panelsArray:i,pivotIndices:[o,o+1]}),h=l[o];if(h!=null){const m=i[o];Or(m,`No panel data found for index "${o}"`),h.setAttribute("aria-controls",m.id),h.setAttribute("aria-valuemax",""+Math.round(s)),h.setAttribute("aria-valuemin",""+Math.round(c)),h.setAttribute("aria-valuenow",d!=null?""+Math.round(d):"")}}return()=>{l.forEach((o,s)=>{o.removeAttribute("aria-controls"),o.removeAttribute("aria-valuemax"),o.removeAttribute("aria-valuemin"),o.removeAttribute("aria-valuenow")})}},[n,r,i,a]),P.useEffect(()=>{if(!a)return;const l=t.current;Or(l,"Eager values not found");const{panelDataArray:o}=l,s=gye(n,a);Or(s!=null,`No group found for id "${n}"`);const c=AS(n,a);Or(c,`No resize handles found for group id "${n}"`);const d=c.map(h=>{const m=h.getAttribute(bu.resizeHandleId);Or(m,"Resize handle element has no handle id attribute");const[y,v]=iHe(n,m,o,a);if(y==null||v==null)return()=>{};const _=x=>{if(!x.defaultPrevented)switch(x.key){case"Enter":{x.preventDefault();const E=o.findIndex(w=>w.id===y);if(E>=0){const w=o[E];Or(w,`No panel data found for index ${E}`);const T=r[E],{collapsedSize:R=0,collapsible:C,minSize:k=0}=w.constraints;if(T!=null&&C){const F=E2({delta:Nf(T,R)?k-R:R-T,initialLayout:r,panelConstraints:o.map(z=>z.constraints),pivotIndices:mye(n,m,a),prevLayout:r,trigger:"keyboard"});r!==F&&u(F)}}break}}};return h.addEventListener("keydown",_),()=>{h.removeEventListener("keydown",_)}});return()=>{d.forEach(h=>h())}},[a,e,t,n,r,i,u])}function rK(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function vye(e,t){const n=e==="horizontal",{x:r,y:i}=k5(t);return n?r:i}function uHe(e,t,n,r,i){const a=n==="horizontal",u=M5(t,i);Or(u,`No resize handle element found for id "${t}"`);const l=u.getAttribute(bu.groupId);Or(l,"Resize handle element has no group id attribute");let{initialCursorPosition:o}=r;const s=vye(n,e),c=gye(l,i);Or(c,`No group element found for id "${l}"`);const d=c.getBoundingClientRect(),h=a?d.width:d.height;return(s-o)/h*100}function lHe(e,t,n,r,i,a){if(aye(e)){const u=n==="horizontal";let l=0;e.shiftKey?l=100:i!=null?l=i:l=10;let o=0;switch(e.key){case"ArrowDown":o=u?0:l;break;case"ArrowLeft":o=u?-l:0;break;case"ArrowRight":o=u?l:0;break;case"ArrowUp":o=u?0:-l;break;case"End":o=100;break;case"Home":o=-100;break}return o}else return r==null?0:uHe(e,t,n,r,a)}function oHe({panelDataArray:e}){const t=Array(e.length),n=e.map(a=>a.constraints);let r=0,i=100;for(let a=0;a<e.length;a++){const u=n[a];Or(u,`Panel constraints not found for index ${a}`);const{defaultSize:l}=u;l!=null&&(r++,t[a]=l,i-=l)}for(let a=0;a<e.length;a++){const u=n[a];Or(u,`Panel constraints not found for index ${a}`);const{defaultSize:l}=u;if(l!=null)continue;const o=e.length-r,s=i/o;r++,t[a]=s,i-=s}return t}function vO(e,t,n){t.forEach((r,i)=>{const a=e[i];Or(a,`Panel data not found for index ${i}`);const{callbacks:u,constraints:l,id:o}=a,{collapsedSize:s=0,collapsible:c}=l,d=n[o];if(d==null||r!==d){n[o]=r;const{onCollapse:h,onExpand:m,onResize:y}=u;y&&y(r,d),c&&(h||m)&&(m&&(d==null||zm(d,s))&&!zm(r,s)&&m(),h&&(d==null||!zm(d,s))&&zm(r,s)&&h())}})}function oE(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!=t[n])return!1;return!0}function sHe({defaultSize:e,dragState:t,layout:n,panelData:r,panelIndex:i,precision:a=3}){const u=n[i];let l;return u==null?l=e!=null?e.toPrecision(a):"1":r.length===1?l="1":l=u.toPrecision(a),{flexBasis:0,flexGrow:l,flexShrink:1,overflow:"hidden",pointerEvents:t!==null?"none":void 0}}function cHe(e,t=10){let n=null;return(...i)=>{n!==null&&clearTimeout(n),n=setTimeout(()=>{e(...i)},t)}}function iK(e){try{if(typeof localStorage<"u")e.getItem=t=>localStorage.getItem(t),e.setItem=(t,n)=>{localStorage.setItem(t,n)};else throw new Error("localStorage not supported in this environment")}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}function yye(e){return`react-resizable-panels:${e}`}function bye(e){return e.map(t=>{const{constraints:n,id:r,idIsFromProps:i,order:a}=t;return i?r:a?`${a}:${JSON.stringify(n)}`:JSON.stringify(n)}).sort((t,n)=>t.localeCompare(n)).join(",")}function Oye(e,t){try{const n=yye(e),r=t.getItem(n);if(r){const i=JSON.parse(r);if(typeof i=="object"&&i!=null)return i}}catch{}return null}function fHe(e,t,n){var r,i;const a=(r=Oye(e,n))!==null&&r!==void 0?r:{},u=bye(t);return(i=a[u])!==null&&i!==void 0?i:null}function dHe(e,t,n,r,i){var a;const u=yye(e),l=bye(t),o=(a=Oye(e,i))!==null&&a!==void 0?a:{};o[l]={expandToSizes:Object.fromEntries(n.entries()),layout:r};try{i.setItem(u,JSON.stringify(o))}catch(s){console.error(s)}}function aK({layout:e,panelConstraints:t}){const n=[...e],r=n.reduce((a,u)=>a+u,0);if(n.length!==t.length)throw Error(`Invalid ${t.length} panel layout: ${n.map(a=>`${a}%`).join(", ")}`);if(!Nf(r,100)&&n.length>0)for(let a=0;a<t.length;a++){const u=n[a];Or(u!=null,`No layout data found for index ${a}`);const l=100/r*u;n[a]=l}let i=0;for(let a=0;a<t.length;a++){const u=n[a];Or(u!=null,`No layout data found for index ${a}`);const l=NO({panelConstraints:t,panelIndex:a,size:u});u!=l&&(i+=u-l,n[a]=l)}if(!Nf(i,0))for(let a=0;a<t.length;a++){const u=n[a];Or(u!=null,`No layout data found for index ${a}`);const l=u+i,o=NO({panelConstraints:t,panelIndex:a,size:l});if(u!==o&&(i-=o-u,n[a]=o,Nf(i,0)))break}return n}const hHe=100,D2={getItem:e=>(iK(D2),D2.getItem(e)),setItem:(e,t)=>{iK(D2),D2.setItem(e,t)}},uK={};function Sye({autoSaveId:e=null,children:t,className:n="",direction:r,forwardedRef:i,id:a=null,onLayout:u=null,keyboardResizeBy:l=null,storage:o=D2,style:s,tagName:c="div",...d}){const h=DL(a),m=P.useRef(null),[y,v]=P.useState(null),[_,x]=P.useState([]),E=tHe(),w=P.useRef({}),T=P.useRef(new Map),R=P.useRef(0),C=P.useRef({autoSaveId:e,direction:r,dragState:y,id:h,keyboardResizeBy:l,onLayout:u,storage:o}),k=P.useRef({layout:_,panelDataArray:[],panelDataArrayChanged:!1});P.useRef({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),P.useImperativeHandle(i,()=>({getId:()=>C.current.id,getLayout:()=>{const{layout:B}=k.current;return B},setLayout:B=>{const{onLayout:ne}=C.current,{layout:oe,panelDataArray:ae}=k.current,de=aK({layout:B,panelConstraints:ae.map(be=>be.constraints)});rK(oe,de)||(x(de),k.current.layout=de,ne&&ne(de),vO(ae,de,w.current))}}),[]),L1(()=>{C.current.autoSaveId=e,C.current.direction=r,C.current.dragState=y,C.current.id=h,C.current.onLayout=u,C.current.storage=o}),aHe({committedValuesRef:C,eagerValuesRef:k,groupId:h,layout:_,panelDataArray:k.current.panelDataArray,setLayout:x,panelGroupElement:m.current}),P.useEffect(()=>{const{panelDataArray:B}=k.current;if(e){if(_.length===0||_.length!==B.length)return;let ne=uK[e];ne==null&&(ne=cHe(dHe,hHe),uK[e]=ne);const oe=[...B],ae=new Map(T.current);ne(e,oe,ae,_,o)}},[e,_,o]),P.useEffect(()=>{});const F=P.useCallback(B=>{const{onLayout:ne}=C.current,{layout:oe,panelDataArray:ae}=k.current;if(B.constraints.collapsible){const de=ae.map(_e=>_e.constraints),{collapsedSize:be=0,panelSize:ye,pivotIndices:pe}=s1(ae,B,oe);if(Or(ye!=null,`Panel size not found for panel "${B.id}"`),!zm(ye,be)){T.current.set(B.id,ye);const se=$O(ae,B)===ae.length-1?ye-be:be-ye,me=E2({delta:se,initialLayout:oe,panelConstraints:de,pivotIndices:pe,prevLayout:oe,trigger:"imperative-api"});oE(oe,me)||(x(me),k.current.layout=me,ne&&ne(me),vO(ae,me,w.current))}}},[]),z=P.useCallback((B,ne)=>{const{onLayout:oe}=C.current,{layout:ae,panelDataArray:de}=k.current;if(B.constraints.collapsible){const be=de.map(ge=>ge.constraints),{collapsedSize:ye=0,panelSize:pe=0,minSize:_e=0,pivotIndices:se}=s1(de,B,ae),me=ne??_e;if(zm(pe,ye)){const ge=T.current.get(B.id),we=ge!=null&&ge>=me?ge:me,Re=$O(de,B)===de.length-1?pe-we:we-pe,et=E2({delta:Re,initialLayout:ae,panelConstraints:be,pivotIndices:se,prevLayout:ae,trigger:"imperative-api"});oE(ae,et)||(x(et),k.current.layout=et,oe&&oe(et),vO(de,et,w.current))}}},[]),Z=P.useCallback(B=>{const{layout:ne,panelDataArray:oe}=k.current,{panelSize:ae}=s1(oe,B,ne);return Or(ae!=null,`Panel size not found for panel "${B.id}"`),ae},[]),q=P.useCallback((B,ne)=>{const{panelDataArray:oe}=k.current,ae=$O(oe,B);return sHe({defaultSize:ne,dragState:y,layout:_,panelData:oe,panelIndex:ae})},[y,_]),j=P.useCallback(B=>{const{layout:ne,panelDataArray:oe}=k.current,{collapsedSize:ae=0,collapsible:de,panelSize:be}=s1(oe,B,ne);return Or(be!=null,`Panel size not found for panel "${B.id}"`),de===!0&&zm(be,ae)},[]),N=P.useCallback(B=>{const{layout:ne,panelDataArray:oe}=k.current,{collapsedSize:ae=0,collapsible:de,panelSize:be}=s1(oe,B,ne);return Or(be!=null,`Panel size not found for panel "${B.id}"`),!de||ub(be,ae)>0},[]),V=P.useCallback(B=>{const{panelDataArray:ne}=k.current;ne.push(B),ne.sort((oe,ae)=>{const de=oe.order,be=ae.order;return de==null&&be==null?0:de==null?-1:be==null?1:de-be}),k.current.panelDataArrayChanged=!0,E()},[E]);L1(()=>{if(k.current.panelDataArrayChanged){k.current.panelDataArrayChanged=!1;const{autoSaveId:B,onLayout:ne,storage:oe}=C.current,{layout:ae,panelDataArray:de}=k.current;let be=null;if(B){const pe=fHe(B,de,oe);pe&&(T.current=new Map(Object.entries(pe.expandToSizes)),be=pe.layout)}be==null&&(be=oHe({panelDataArray:de}));const ye=aK({layout:be,panelConstraints:de.map(pe=>pe.constraints)});rK(ae,ye)||(x(ye),k.current.layout=ye,ne&&ne(ye),vO(de,ye,w.current))}}),L1(()=>{const B=k.current;return()=>{B.layout=[]}},[]);const W=P.useCallback(B=>{let ne=!1;const oe=m.current;return oe&&window.getComputedStyle(oe,null).getPropertyValue("direction")==="rtl"&&(ne=!0),function(de){de.preventDefault();const be=m.current;if(!be)return()=>null;const{direction:ye,dragState:pe,id:_e,keyboardResizeBy:se,onLayout:me}=C.current,{layout:ge,panelDataArray:we}=k.current,{initialLayout:Ne}=pe??{},Re=mye(_e,B,be);let et=lHe(de,B,ye,pe,se,be);const tt=ye==="horizontal";tt&&ne&&(et=-et);const Oe=we.map(Ue=>Ue.constraints),$e=E2({delta:et,initialLayout:Ne??ge,panelConstraints:Oe,pivotIndices:Re,prevLayout:ge,trigger:aye(de)?"keyboard":"mouse-or-touch"}),Ae=!oE(ge,$e);(uye(de)||lye(de))&&R.current!=et&&(R.current=et,!Ae&&et!==0?tt?G8(B,et<0?sye:cye):G8(B,et<0?fye:dye):G8(B,0)),Ae&&(x($e),k.current.layout=$e,me&&me($e),vO(we,$e,w.current))}},[]),G=P.useCallback((B,ne)=>{const{onLayout:oe}=C.current,{layout:ae,panelDataArray:de}=k.current,be=de.map(ge=>ge.constraints),{panelSize:ye,pivotIndices:pe}=s1(de,B,ae);Or(ye!=null,`Panel size not found for panel "${B.id}"`);const se=$O(de,B)===de.length-1?ye-ne:ne-ye,me=E2({delta:se,initialLayout:ae,panelConstraints:be,pivotIndices:pe,prevLayout:ae,trigger:"imperative-api"});oE(ae,me)||(x(me),k.current.layout=me,oe&&oe(me),vO(de,me,w.current))},[]),J=P.useCallback((B,ne)=>{const{layout:oe,panelDataArray:ae}=k.current,{collapsedSize:de=0,collapsible:be}=ne,{collapsedSize:ye=0,collapsible:pe,maxSize:_e=100,minSize:se=0}=B.constraints,{panelSize:me}=s1(ae,B,oe);me!=null&&(be&&pe&&zm(me,de)?zm(de,ye)||G(B,ye):me<se?G(B,se):me>_e&&G(B,_e))},[G]),te=P.useCallback((B,ne)=>{const{direction:oe}=C.current,{layout:ae}=k.current;if(!m.current)return;const de=M5(B,m.current);Or(de,`Drag handle element not found for id "${B}"`);const be=vye(oe,ne);v({dragHandleId:B,dragHandleRect:de.getBoundingClientRect(),initialCursorPosition:be,initialLayout:ae})},[]),X=P.useCallback(()=>{v(null)},[]),M=P.useCallback(B=>{const{panelDataArray:ne}=k.current,oe=$O(ne,B);oe>=0&&(ne.splice(oe,1),delete w.current[B.id],k.current.panelDataArrayChanged=!0,E())},[E]),K=P.useMemo(()=>({collapsePanel:F,direction:r,dragState:y,expandPanel:z,getPanelSize:Z,getPanelStyle:q,groupId:h,isPanelCollapsed:j,isPanelExpanded:N,reevaluatePanelConstraints:J,registerPanel:V,registerResizeHandle:W,resizePanel:G,startDragging:te,stopDragging:X,unregisterPanel:M,panelGroupElement:m.current}),[F,y,r,z,Z,q,h,j,N,J,V,W,G,te,X,M]),Y={display:"flex",flexDirection:r==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return P.createElement(T5.Provider,{value:K},P.createElement(c,{...d,children:t,className:n,id:a,ref:m,style:{...Y,...s},[bu.group]:"",[bu.groupDirection]:r,[bu.groupId]:h}))}const pHe=P.forwardRef((e,t)=>P.createElement(Sye,{...e,forwardedRef:t}));Sye.displayName="PanelGroup";pHe.displayName="forwardRef(PanelGroup)";function $O(e,t){return e.findIndex(n=>n===t||n.id===t.id)}function s1(e,t,n){const r=$O(e,t),a=r===e.length-1?[r-1,r]:[r,r+1],u=n[r];return{...t.constraints,panelSize:u,pivotIndices:a}}function mHe({disabled:e,handleId:t,resizeHandler:n,panelGroupElement:r}){P.useEffect(()=>{if(e||n==null||r==null)return;const i=M5(t,r);if(i==null)return;const a=u=>{if(!u.defaultPrevented)switch(u.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{u.preventDefault(),n(u);break}case"F6":{u.preventDefault();const l=i.getAttribute(bu.groupId);Or(l,`No group element found for id "${l}"`);const o=AS(l,r),s=pye(l,t,r);Or(s!==null,`No resize element found for id "${t}"`);const c=u.shiftKey?s>0?s-1:o.length-1:s+1<o.length?s+1:0;o[c].focus();break}}};return i.addEventListener("keydown",a),()=>{i.removeEventListener("keydown",a)}},[r,e,t,n])}function gHe({children:e=null,className:t="",disabled:n=!1,hitAreaMargins:r,id:i,onBlur:a,onClick:u,onDragging:l,onFocus:o,onPointerDown:s,onPointerUp:c,style:d={},tabIndex:h=0,tagName:m="div",...y}){var v,_;const x=P.useRef(null),E=P.useRef({onClick:u,onDragging:l,onPointerDown:s,onPointerUp:c});P.useEffect(()=>{E.current.onClick=u,E.current.onDragging=l,E.current.onPointerDown=s,E.current.onPointerUp=c});const w=P.useContext(T5);if(w===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:T,groupId:R,registerResizeHandle:C,startDragging:k,stopDragging:F,panelGroupElement:z}=w,Z=DL(i),[q,j]=P.useState("inactive"),[N,V]=P.useState(!1),[W,G]=P.useState(null),J=P.useRef({state:q});L1(()=>{J.current.state=q}),P.useEffect(()=>{if(n)G(null);else{const K=C(Z);G(()=>K)}},[n,Z,C]);const te=(v=r==null?void 0:r.coarse)!==null&&v!==void 0?v:15,X=(_=r==null?void 0:r.fine)!==null&&_!==void 0?_:5;P.useEffect(()=>{if(n||W==null)return;const K=x.current;Or(K,"Element ref not attached");let Y=!1;return JZe(Z,K,T,{coarse:te,fine:X},(ne,oe,ae)=>{if(!oe){j("inactive");return}switch(ne){case"down":{j("drag"),Y=!1,Or(ae,'Expected event to be defined for "down" action'),k(Z,ae);const{onDragging:de,onPointerDown:be}=E.current;de==null||de(!0),be==null||be();break}case"move":{const{state:de}=J.current;Y=!0,de!=="drag"&&j("hover"),Or(ae,'Expected event to be defined for "move" action'),W(ae);break}case"up":{j("hover"),F();const{onClick:de,onDragging:be,onPointerUp:ye}=E.current;be==null||be(!1),ye==null||ye(),Y||de==null||de();break}}})},[te,T,n,X,C,Z,W,k,F]),mHe({disabled:n,handleId:Z,resizeHandler:W,panelGroupElement:z});const M={touchAction:"none",userSelect:"none"};return P.createElement(m,{...y,children:e,className:t,id:i,onBlur:()=>{V(!1),a==null||a()},onFocus:()=>{V(!0),o==null||o()},ref:x,role:"separator",style:{...M,...d},tabIndex:h,[bu.groupDirection]:T,[bu.groupId]:R,[bu.resizeHandle]:"",[bu.resizeHandleActive]:q==="drag"?"pointer":N?"keyboard":void 0,[bu.resizeHandleEnabled]:!n,[bu.resizeHandleId]:Z,[bu.resizeHandleState]:q})}gHe.displayName="PanelResizeHandle";function yO(e,t,n){let r=n.initialDeps??[],i;function a(){var u,l,o,s;let c;n.key&&((u=n.debug)!=null&&u.call(n))&&(c=Date.now());const d=e();if(!(d.length!==r.length||d.some((y,v)=>r[v]!==y)))return i;r=d;let m;if(n.key&&((l=n.debug)!=null&&l.call(n))&&(m=Date.now()),i=t(...d),n.key&&((o=n.debug)!=null&&o.call(n))){const y=Math.round((Date.now()-c)*100)/100,v=Math.round((Date.now()-m)*100)/100,_=v/16,x=(E,w)=>{for(E=String(E);E.length<w;)E=" "+E;return E};console.info(`%c⏱ ${x(v,5)} /${x(y,5)} ms`,`
            font-size: .6rem;
            font-weight: bold;
            color: hsl(${Math.max(0,Math.min(120-120*_,120))}deg 100% 31%);`,n==null?void 0:n.key)}return(s=n==null?void 0:n.onChange)==null||s.call(n,i),i}return a.updateDeps=u=>{r=u},a}function lK(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const vHe=(e,t)=>Math.abs(e-t)<1.01,yHe=(e,t,n)=>{let r;return function(...i){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,i),n)}},oK=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},bHe=e=>e,OHe=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let i=t;i<=n;i++)r.push(i);return r},SHe=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;const i=u=>{const{width:l,height:o}=u;t({width:Math.round(l),height:Math.round(o)})};if(i(oK(n)),!r.ResizeObserver)return()=>{};const a=new r.ResizeObserver(u=>{const l=()=>{const o=u[0];if(o!=null&&o.borderBoxSize){const s=o.borderBoxSize[0];if(s){i({width:s.inlineSize,height:s.blockSize});return}}i(oK(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(l):l()});return a.observe(n,{box:"border-box"}),()=>{a.unobserve(n)}},sK={passive:!0},cK=typeof window>"u"?!0:"onscrollend"in window,xHe=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;let i=0;const a=e.options.useScrollendEvent&&cK?()=>{}:yHe(r,()=>{t(i,!1)},e.options.isScrollingResetDelay),u=c=>()=>{const{horizontal:d,isRtl:h}=e.options;i=d?n.scrollLeft*(h&&-1||1):n.scrollTop,a(),t(i,c)},l=u(!0),o=u(!1);o(),n.addEventListener("scroll",l,sK);const s=e.options.useScrollendEvent&&cK;return s&&n.addEventListener("scrollend",o,sK),()=>{n.removeEventListener("scroll",l),s&&n.removeEventListener("scrollend",o)}},_He=(e,t,n)=>{if(t!=null&&t.borderBoxSize){const r=t.borderBoxSize[0];if(r)return Math.round(r[n.options.horizontal?"inlineSize":"blockSize"])}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},EHe=(e,{adjustments:t=0,behavior:n},r)=>{var i,a;const u=e+t;(a=(i=r.scrollElement)==null?void 0:i.scrollTo)==null||a.call(i,{[r.options.horizontal?"left":"top"]:u,behavior:n})};class DHe{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let n=null;const r=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(i=>{i.forEach(a=>{const u=()=>{this._measureElement(a.target,a)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(u):u()})}));return{disconnect:()=>{var i;(i=r())==null||i.disconnect(),n=null},observe:i=>{var a;return(a=r())==null?void 0:a.observe(i,{box:"border-box"})},unobserve:i=>{var a;return(a=r())==null?void 0:a.unobserve(i)}}})(),this.range=null,this.setOptions=n=>{Object.entries(n).forEach(([r,i])=>{typeof i>"u"&&delete n[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:bHe,rangeExtractor:OHe,onChange:()=>{},measureElement:_He,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...n}},this.notify=n=>{var r,i;(i=(r=this.options).onChange)==null||i.call(r,this,n)},this.maybeNotify=yO(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(i=>{this.observer.observe(i)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,i=>{this.scrollRect=i,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(i,a)=>{this.scrollAdjustments=0,this.scrollDirection=a?this.getScrollOffset()<i?"forward":"backward":null,this.scrollOffset=i,this.isScrolling=a,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(n,r)=>{const i=new Map,a=new Map;for(let u=r-1;u>=0;u--){const l=n[u];if(i.has(l.lane))continue;const o=a.get(l.lane);if(o==null||l.end>o.end?a.set(l.lane,l):l.end<o.end&&i.set(l.lane,!0),i.size===this.options.lanes)break}return a.size===this.options.lanes?Array.from(a.values()).sort((u,l)=>u.end===l.end?u.index-l.index:u.end-l.end)[0]:void 0},this.getMeasurementOptions=yO(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(n,r,i,a,u)=>(this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:r,scrollMargin:i,getItemKey:a,enabled:u}),{key:!1}),this.getMeasurements=yO(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:r,scrollMargin:i,getItemKey:a,enabled:u},l)=>{if(!u)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(c=>{this.itemSizeCache.set(c.key,c.size)}));const o=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const s=this.measurementsCache.slice(0,o);for(let c=o;c<n;c++){const d=a(c),h=this.options.lanes===1?s[c-1]:this.getFurthestMeasurement(s,c),m=h?h.end+this.options.gap:r+i,y=l.get(d),v=typeof y=="number"?y:this.options.estimateSize(c),_=m+v,x=h?h.lane:c%this.options.lanes;s[c]={index:c,start:m,size:v,end:_,key:d,lane:x}}return this.measurementsCache=s,s},{key:!1,debug:()=>this.options.debug}),this.calculateRange=yO(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,r,i,a)=>this.range=n.length>0&&r>0?$He({measurements:n,outerSize:r,scrollOffset:i,lanes:a}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=yO(()=>{let n=null,r=null;const i=this.calculateRange();return i&&(n=i.startIndex,r=i.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,r]},(n,r,i,a,u)=>a===null||u===null?[]:n({startIndex:a,endIndex:u,overscan:r,count:i}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=n=>{const r=this.options.indexAttribute,i=n.getAttribute(r);return i?parseInt(i,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(n,r)=>{const i=this.indexFromElement(n),a=this.measurementsCache[i];if(!a)return;const u=a.key,l=this.elementsCache.get(u);l!==n&&(l&&this.observer.unobserve(l),this.observer.observe(n),this.elementsCache.set(u,n)),n.isConnected&&this.resizeItem(i,this.options.measureElement(n,r,this))},this.resizeItem=(n,r)=>{const i=this.measurementsCache[n];if(!i)return;const a=this.itemSizeCache.get(i.key)??i.size,u=r-a;u!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(i,u,this):i.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=u,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(i.index),this.itemSizeCache=new Map(this.itemSizeCache.set(i.key,r)),this.notify(!1))},this.measureElement=n=>{if(!n){this.elementsCache.forEach((r,i)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(i))});return}this._measureElement(n,void 0)},this.getVirtualItems=yO(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,r)=>{const i=[];for(let a=0,u=n.length;a<u;a++){const l=n[a],o=r[l];i.push(o)}return i},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const r=this.getMeasurements();if(r.length!==0)return lK(r[xye(0,r.length-1,i=>lK(r[i]).start,n)])},this.getOffsetForAlignment=(n,r,i=0)=>{const a=this.getSize(),u=this.getScrollOffset();r==="auto"&&(r=n>=u+a?"end":"start"),r==="center"?n+=(i-a)/2:r==="end"&&(n-=a);const l=this.getTotalSize()+this.options.scrollMargin-a;return Math.max(Math.min(l,n),0)},this.getOffsetForIndex=(n,r="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const i=this.measurementsCache[n];if(!i)return;const a=this.getSize(),u=this.getScrollOffset();if(r==="auto")if(i.end>=u+a-this.options.scrollPaddingEnd)r="end";else if(i.start<=u+this.options.scrollPaddingStart)r="start";else return[u,r];const l=r==="end"?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(l,r,i.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(n,{align:r="start",behavior:i}={})=>{i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(n,r),{adjustments:void 0,behavior:i})},this.scrollToIndex=(n,{align:r="auto",behavior:i}={})=>{i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),n=Math.max(0,Math.min(n,this.options.count-1));let a=0;const u=10,l=s=>{if(!this.targetWindow)return;const c=this.getOffsetForIndex(n,s);if(!c){console.warn("Failed to get offset for index:",n);return}const[d,h]=c;this._scrollToOffset(d,{adjustments:void 0,behavior:i}),this.targetWindow.requestAnimationFrame(()=>{const m=this.getScrollOffset(),y=this.getOffsetForIndex(n,h);if(!y){console.warn("Failed to get offset for index:",n);return}vHe(y[0],m)||o(h)})},o=s=>{this.targetWindow&&(a++,a<u?this.targetWindow.requestAnimationFrame(()=>l(s)):console.warn(`Failed to scroll to index ${n} after ${u} attempts.`))};l(r)},this.scrollBy=(n,{behavior:r}={})=>{r==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+n,{adjustments:void 0,behavior:r})},this.getTotalSize=()=>{var n;const r=this.getMeasurements();let i;if(r.length===0)i=this.options.paddingStart;else if(this.options.lanes===1)i=((n=r[r.length-1])==null?void 0:n.end)??0;else{const a=Array(this.options.lanes).fill(null);let u=r.length-1;for(;u>=0&&a.some(l=>l===null);){const l=r[u];a[l.lane]===null&&(a[l.lane]=l.end),u--}i=Math.max(...a.filter(l=>l!==null))}return Math.max(i-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(n,{adjustments:r,behavior:i})=>{this.options.scrollToFn(n,{behavior:i,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}const xye=(e,t,n,r)=>{for(;e<=t;){const i=(e+t)/2|0,a=n(i);if(a<r)e=i+1;else if(a>r)t=i-1;else return i}return e>0?e-1:0};function $He({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){const i=e.length-1,a=o=>e[o].start;if(e.length<=r)return{startIndex:0,endIndex:i};let u=xye(0,i,a,n),l=u;if(r===1)for(;l<i&&e[l].end<n+t;)l++;else if(r>1){const o=Array(r).fill(0);for(;l<i&&o.some(c=>c<n+t);){const c=e[l];o[c.lane]=c.end,l++}const s=Array(r).fill(n+t);for(;u>=0&&s.some(c=>c>=n);){const c=e[u];s[c.lane]=c.start,u--}u=Math.max(0,u-u%r),l=Math.min(i,l+(r-1-l%r))}return{startIndex:u,endIndex:l}}const fK=typeof document<"u"?P.useLayoutEffect:P.useEffect;function CHe(e){const t=P.useReducer(()=>({}),{})[1],n={...e,onChange:(i,a)=>{var u;a?zf.flushSync(t):t(),(u=e.onChange)==null||u.call(e,i,a)}},[r]=P.useState(()=>new DHe(n));return r.setOptions(n),fK(()=>r._didMount(),[]),fK(()=>r._willUpdate()),r}function Zat(e){return CHe({observeElementRect:SHe,observeElementOffset:xHe,scrollToFn:EHe,...e})}const wHe=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,RHe=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,AHe={};function dK(e,t){return(AHe.jsx?RHe:wHe).test(e)}var bO={},W8,hK;function THe(){if(hK)return W8;hK=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,l=/^\s+|\s+$/g,o=`
`,s="/",c="*",d="",h="comment",m="declaration";W8=function(v,_){if(typeof v!="string")throw new TypeError("First argument must be a string");if(!v)return[];_=_||{};var x=1,E=1;function w(N){var V=N.match(t);V&&(x+=V.length);var W=N.lastIndexOf(o);E=~W?N.length-W:E+N.length}function T(){var N={line:x,column:E};return function(V){return V.position=new R(N),F(),V}}function R(N){this.start=N,this.end={line:x,column:E},this.source=_.source}R.prototype.content=v;function C(N){var V=new Error(_.source+":"+x+":"+E+": "+N);if(V.reason=N,V.filename=_.source,V.line=x,V.column=E,V.source=v,!_.silent)throw V}function k(N){var V=N.exec(v);if(V){var W=V[0];return w(W),v=v.slice(W.length),V}}function F(){k(n)}function z(N){var V;for(N=N||[];V=Z();)V!==!1&&N.push(V);return N}function Z(){var N=T();if(!(s!=v.charAt(0)||c!=v.charAt(1))){for(var V=2;d!=v.charAt(V)&&(c!=v.charAt(V)||s!=v.charAt(V+1));)++V;if(V+=2,d===v.charAt(V-1))return C("End of comment missing");var W=v.slice(2,V-2);return E+=2,w(W),v=v.slice(V),E+=2,N({type:h,comment:W})}}function q(){var N=T(),V=k(r);if(V){if(Z(),!k(i))return C("property missing ':'");var W=k(a),G=N({type:m,property:y(V[0].replace(e,d)),value:W?y(W[0].replace(e,d)):d});return k(u),G}}function j(){var N=[];z(N);for(var V;V=q();)V!==!1&&(N.push(V),z(N));return N}return F(),j()};function y(v){return v?v.replace(l,d):d}return W8}var pK;function kHe(){if(pK)return bO;pK=1;var e=bO&&bO.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(bO,"__esModule",{value:!0}),bO.default=n;var t=e(THe());function n(r,i){var a=null;if(!r||typeof r!="string")return a;var u=(0,t.default)(r),l=typeof i=="function";return u.forEach(function(o){if(o.type==="declaration"){var s=o.property,c=o.value;l?i(s,c,o):c&&(a=a||{},a[s]=c)}}),a}return bO}var o2={},mK;function PHe(){if(mK)return o2;mK=1,Object.defineProperty(o2,"__esModule",{value:!0}),o2.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(s){return!s||n.test(s)||e.test(s)},u=function(s,c){return c.toUpperCase()},l=function(s,c){return"".concat(c,"-")},o=function(s,c){return c===void 0&&(c={}),a(s)?s:(s=s.toLowerCase(),c.reactCompat?s=s.replace(i,l):s=s.replace(r,l),s.replace(t,u))};return o2.camelCase=o,o2}var s2,gK;function MHe(){if(gK)return s2;gK=1;var e=s2&&s2.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(kHe()),n=PHe();function r(i,a){var u={};return!i||typeof i!="string"||(0,t.default)(i,function(l,o){l&&o&&(u[(0,n.camelCase)(l,a)]=o)}),u}return r.default=r,s2=r,s2}var FHe=MHe();const NHe=oa(FHe),_ye=Eye("end"),wL=Eye("start");function Eye(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function IHe(e){const t=wL(e),n=_ye(e);if(t&&n)return{start:t,end:n}}function F2(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?vK(e.position):"start"in e||"end"in e?vK(e):"line"in e||"column"in e?FM(e):""}function FM(e){return yK(e&&e.line)+":"+yK(e&&e.column)}function vK(e){return FM(e&&e.start)+"-"+FM(e&&e.end)}function yK(e){return e&&typeof e=="number"?e:1}class gs extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},u=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(u=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const o=r.indexOf(":");o===-1?a.ruleId=r:(a.source=r.slice(0,o),a.ruleId=r.slice(o+1))}if(!a.place&&a.ancestors&&a.ancestors){const o=a.ancestors[a.ancestors.length-1];o&&(a.place=o.position)}const l=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=l?l.line:void 0,this.name=F2(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=u&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}gs.prototype.file="";gs.prototype.name="";gs.prototype.reason="";gs.prototype.message="";gs.prototype.stack="";gs.prototype.column=void 0;gs.prototype.line=void 0;gs.prototype.ancestors=void 0;gs.prototype.cause=void 0;gs.prototype.fatal=void 0;gs.prototype.place=void 0;gs.prototype.ruleId=void 0;gs.prototype.source=void 0;const RL={}.hasOwnProperty,LHe=new Map,BHe=/[A-Z]/g,QHe=new Set(["table","tbody","thead","tfoot","tr"]),zHe=new Set(["td","th"]),Dye="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function qHe(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=GHe(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=YHe(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?dx:sme,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=$ye(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function $ye(e,t,n){if(t.type==="element")return VHe(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return UHe(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return ZHe(e,t,n);if(t.type==="mdxjsEsm")return jHe(e,t);if(t.type==="root")return HHe(e,t,n);if(t.type==="text")return XHe(e,t)}function VHe(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=dx,e.schema=i),e.ancestors.push(t);const a=wye(e,t.tagName,!1),u=KHe(e,t);let l=TL(e,t);return QHe.has(t.tagName)&&(l=l.filter(function(o){return typeof o=="string"?!n5(o):!0})),Cye(e,u,a,t),AL(u,l),e.ancestors.pop(),e.schema=r,e.create(t,a,u,n)}function UHe(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}TS(e,t.position)}function jHe(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);TS(e,t.position)}function ZHe(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=dx,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:wye(e,t.name,!0),u=WHe(e,t),l=TL(e,t);return Cye(e,u,a,t),AL(u,l),e.ancestors.pop(),e.schema=r,e.create(t,a,u,n)}function HHe(e,t,n){const r={};return AL(r,TL(e,t)),e.create(t,e.Fragment,r,n)}function XHe(e,t){return t.value}function Cye(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function AL(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function YHe(e,t,n){return r;function r(i,a,u,l){const s=Array.isArray(u.children)?n:t;return l?s(a,u,l):s(a,u)}}function GHe(e,t){return n;function n(r,i,a,u){const l=Array.isArray(a.children),o=wL(r);return t(i,a,u,l,{columnNumber:o?o.column-1:void 0,fileName:e,lineNumber:o?o.line:void 0},void 0)}}function KHe(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&RL.call(t.properties,i)){const a=JHe(e,i,t.properties[i]);if(a){const[u,l]=a;e.tableCellAlignToStyle&&u==="align"&&typeof l=="string"&&zHe.has(t.tagName)?r=l:n[u]=l}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function WHe(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const u=a.expression;u.type;const l=u.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else TS(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const l=r.value.data.estree.body[0];l.type,a=e.evaluater.evaluateExpression(l.expression)}else TS(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function TL(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:LHe;for(;++r<t.children.length;){const a=t.children[r];let u;if(e.passKeys){const o=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(o){const s=i.get(o)||0;u=o+"-"+s,i.set(o,s+1)}}const l=$ye(e,a,u);l!==void 0&&n.push(l)}return n}function JHe(e,t,n){const r=ome(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?fme(n):dme(n)),r.property==="style"){let i=typeof n=="object"?n:eXe(e,String(n));return e.stylePropertyNameCase==="css"&&(i=tXe(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?sBe[r.property]||r.property:r.attribute,n]}}function eXe(e,t){try{return NHe(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new gs("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Dye+"#cannot-parse-style-attribute",i}}function wye(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,u;for(;++a<i.length;){const l=dK(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};u=u?{type:"MemberExpression",object:u,property:l,computed:!!(a&&l.type==="Literal"),optional:!1}:l}r=u}else r=dK(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return RL.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);TS(e)}function TS(e,t){const n=new gs("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Dye+"#cannot-handle-mdx-estrees-without-createevaluater",n}function tXe(e){const t={};let n;for(n in e)RL.call(e,n)&&(t[nXe(n)]=e[n]);return t}function nXe(e){let t=e.replace(BHe,rXe);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function rXe(e){return"-"+e.toLowerCase()}const J8={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},iXe={};function kL(e,t){const n=iXe,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Rye(e,r,i)}function Rye(e,t,n){if(aXe(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return bK(e.children,t,n)}return Array.isArray(e)?bK(e,t,n):""}function bK(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Rye(e[i],t,n);return r.join("")}function aXe(e){return!!(e&&typeof e=="object")}const OK=document.createElement("i");function PL(e){const t="&"+e+";";OK.innerHTML=t;const n=OK.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Uf(e,t,n,r){const i=e.length;let a=0,u;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)u=Array.from(r),u.unshift(t,n),e.splice(...u);else for(n&&e.splice(t,n);a<r.length;)u=r.slice(a,a+1e4),u.unshift(t,0),e.splice(...u),a+=1e4,t+=1e4}function qd(e,t){return e.length>0?(Uf(e,e.length,0,t),e):t}const SK={}.hasOwnProperty;function Aye(e){const t={};let n=-1;for(;++n<e.length;)uXe(t,e[n]);return t}function uXe(e,t){let n;for(n in t){const i=(SK.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let u;if(a)for(u in a){SK.call(i,u)||(i[u]=[]);const l=a[u];lXe(i[u],Array.isArray(l)?l:l?[l]:[])}}}function lXe(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Uf(e,0,0,r)}function Tye(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function np(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ic=fy(/[A-Za-z]/),fs=fy(/[\dA-Za-z]/),oXe=fy(/[#-'*+\--9=?A-Z^-~]/);function P$(e){return e!==null&&(e<32||e===127)}const NM=fy(/\d/),sXe=fy(/[\dA-Fa-f]/),cXe=fy(/[!-/:-@[-`{-~]/);function Pn(e){return e!==null&&e<-2}function ua(e){return e!==null&&(e<0||e===32)}function Br(e){return e===-2||e===-1||e===32}const F5=fy(new RegExp("\\p{P}|\\p{S}","u")),lb=fy(/\s/);function fy(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function J3(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let u="";if(a===37&&fs(e.charCodeAt(n+1))&&fs(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(u=String.fromCharCode(a));else if(a>55295&&a<57344){const l=e.charCodeAt(n+1);a<56320&&l>56319&&l<57344?(u=String.fromCharCode(a,l),i=1):u="�"}else u=String.fromCharCode(a);u&&(t.push(e.slice(r,n),encodeURIComponent(u)),r=n+i+1,u=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function oi(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return u;function u(o){return Br(o)?(e.enter(n),l(o)):t(o)}function l(o){return Br(o)&&a++<i?(e.consume(o),l):(e.exit(n),t(o))}}const fXe={tokenize:dXe};function dXe(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),oi(e,t,"linePrefix")}function i(l){return e.enter("paragraph"),a(l)}function a(l){const o=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=o),n=o,u(l)}function u(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return Pn(l)?(e.consume(l),e.exit("chunkText"),a):(e.consume(l),u)}}const hXe={tokenize:pXe},xK={tokenize:mXe};function pXe(e){const t=this,n=[];let r=0,i,a,u;return l;function l(w){if(r<n.length){const T=n[r];return t.containerState=T[1],e.attempt(T[0].continuation,o,s)(w)}return s(w)}function o(w){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&E();const T=t.events.length;let R=T,C;for(;R--;)if(t.events[R][0]==="exit"&&t.events[R][1].type==="chunkFlow"){C=t.events[R][1].end;break}x(r);let k=T;for(;k<t.events.length;)t.events[k][1].end={...C},k++;return Uf(t.events,R+1,0,t.events.slice(T)),t.events.length=k,s(w)}return l(w)}function s(w){if(r===n.length){if(!i)return h(w);if(i.currentConstruct&&i.currentConstruct.concrete)return y(w);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(xK,c,d)(w)}function c(w){return i&&E(),x(r),h(w)}function d(w){return t.parser.lazy[t.now().line]=r!==n.length,u=t.now().offset,y(w)}function h(w){return t.containerState={},e.attempt(xK,m,y)(w)}function m(w){return r++,n.push([t.currentConstruct,t.containerState]),h(w)}function y(w){if(w===null){i&&E(),x(0),e.consume(w);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),v(w)}function v(w){if(w===null){_(e.exit("chunkFlow"),!0),x(0),e.consume(w);return}return Pn(w)?(e.consume(w),_(e.exit("chunkFlow")),r=0,t.interrupt=void 0,l):(e.consume(w),v)}function _(w,T){const R=t.sliceStream(w);if(T&&R.push(null),w.previous=a,a&&(a.next=w),a=w,i.defineSkip(w.start),i.write(R),t.parser.lazy[w.start.line]){let C=i.events.length;for(;C--;)if(i.events[C][1].start.offset<u&&(!i.events[C][1].end||i.events[C][1].end.offset>u))return;const k=t.events.length;let F=k,z,Z;for(;F--;)if(t.events[F][0]==="exit"&&t.events[F][1].type==="chunkFlow"){if(z){Z=t.events[F][1].end;break}z=!0}for(x(r),C=k;C<t.events.length;)t.events[C][1].end={...Z},C++;Uf(t.events,F+1,0,t.events.slice(k)),t.events.length=C}}function x(w){let T=n.length;for(;T-- >w;){const R=n[T];t.containerState=R[1],R[0].exit.call(t,e)}n.length=w}function E(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function mXe(e,t,n){return oi(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function C3(e){if(e===null||ua(e)||lb(e))return 1;if(F5(e))return 2}function N5(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const IM={name:"attention",resolveAll:gXe,tokenize:vXe};function gXe(e,t){let n=-1,r,i,a,u,l,o,s,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;o=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d={...e[r][1].end},h={...e[n][1].start};_K(d,-o),_K(h,o),u={type:o>1?"strongSequence":"emphasisSequence",start:d,end:{...e[r][1].end}},l={type:o>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:h},a={type:o>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:o>1?"strong":"emphasis",start:{...u.start},end:{...l.end}},e[r][1].end={...u.start},e[n][1].start={...l.end},s=[],e[r][1].end.offset-e[r][1].start.offset&&(s=qd(s,[["enter",e[r][1],t],["exit",e[r][1],t]])),s=qd(s,[["enter",i,t],["enter",u,t],["exit",u,t],["enter",a,t]]),s=qd(s,N5(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),s=qd(s,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,s=qd(s,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,Uf(e,r-1,n-r+3,s),n=r+s.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function vXe(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=C3(r);let a;return u;function u(o){return a=o,e.enter("attentionSequence"),l(o)}function l(o){if(o===a)return e.consume(o),l;const s=e.exit("attentionSequence"),c=C3(o),d=!c||c===2&&i||n.includes(o),h=!i||i===2&&c||n.includes(r);return s._open=!!(a===42?d:d&&(i||!h)),s._close=!!(a===42?h:h&&(c||!d)),t(o)}}function _K(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const yXe={name:"autolink",tokenize:bXe};function bXe(e,t,n){let r=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return ic(m)?(e.consume(m),u):m===64?n(m):s(m)}function u(m){return m===43||m===45||m===46||fs(m)?(r=1,l(m)):s(m)}function l(m){return m===58?(e.consume(m),r=0,o):(m===43||m===45||m===46||fs(m))&&r++<32?(e.consume(m),l):(r=0,s(m))}function o(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||P$(m)?n(m):(e.consume(m),o)}function s(m){return m===64?(e.consume(m),c):oXe(m)?(e.consume(m),s):n(m)}function c(m){return fs(m)?d(m):n(m)}function d(m){return m===46?(e.consume(m),r=0,c):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):h(m)}function h(m){if((m===45||fs(m))&&r++<63){const y=m===45?h:d;return e.consume(m),y}return n(m)}}const vx={partial:!0,tokenize:OXe};function OXe(e,t,n){return r;function r(a){return Br(a)?oi(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||Pn(a)?t(a):n(a)}}const kye={continuation:{tokenize:xXe},exit:_Xe,name:"blockQuote",tokenize:SXe};function SXe(e,t,n){const r=this;return i;function i(u){if(u===62){const l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),a}return n(u)}function a(u){return Br(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function xXe(e,t,n){const r=this;return i;function i(u){return Br(u)?oi(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):a(u)}function a(u){return e.attempt(kye,t,n)(u)}}function _Xe(e){e.exit("blockQuote")}const Pye={name:"characterEscape",tokenize:EXe};function EXe(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return cXe(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Mye={name:"characterReference",tokenize:DXe};function DXe(e,t,n){const r=this;let i=0,a,u;return l;function l(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),o}function o(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),a=31,u=fs,c(d))}function s(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,u=sXe,c):(e.enter("characterReferenceValue"),a=7,u=NM,c(d))}function c(d){if(d===59&&i){const h=e.exit("characterReferenceValue");return u===fs&&!PL(r.sliceSerialize(h))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(d)&&i++<a?(e.consume(d),c):n(d)}}const EK={partial:!0,tokenize:CXe},DK={concrete:!0,name:"codeFenced",tokenize:$Xe};function $Xe(e,t,n){const r=this,i={partial:!0,tokenize:R};let a=0,u=0,l;return o;function o(C){return s(C)}function s(C){const k=r.events[r.events.length-1];return a=k&&k[1].type==="linePrefix"?k[2].sliceSerialize(k[1],!0).length:0,l=C,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(C)}function c(C){return C===l?(u++,e.consume(C),c):u<3?n(C):(e.exit("codeFencedFenceSequence"),Br(C)?oi(e,d,"whitespace")(C):d(C))}function d(C){return C===null||Pn(C)?(e.exit("codeFencedFence"),r.interrupt?t(C):e.check(EK,v,T)(C)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(C))}function h(C){return C===null||Pn(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(C)):Br(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),oi(e,m,"whitespace")(C)):C===96&&C===l?n(C):(e.consume(C),h)}function m(C){return C===null||Pn(C)?d(C):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(C))}function y(C){return C===null||Pn(C)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(C)):C===96&&C===l?n(C):(e.consume(C),y)}function v(C){return e.attempt(i,T,_)(C)}function _(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),x}function x(C){return a>0&&Br(C)?oi(e,E,"linePrefix",a+1)(C):E(C)}function E(C){return C===null||Pn(C)?e.check(EK,v,T)(C):(e.enter("codeFlowValue"),w(C))}function w(C){return C===null||Pn(C)?(e.exit("codeFlowValue"),E(C)):(e.consume(C),w)}function T(C){return e.exit("codeFenced"),t(C)}function R(C,k,F){let z=0;return Z;function Z(W){return C.enter("lineEnding"),C.consume(W),C.exit("lineEnding"),q}function q(W){return C.enter("codeFencedFence"),Br(W)?oi(C,j,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W):j(W)}function j(W){return W===l?(C.enter("codeFencedFenceSequence"),N(W)):F(W)}function N(W){return W===l?(z++,C.consume(W),N):z>=u?(C.exit("codeFencedFenceSequence"),Br(W)?oi(C,V,"whitespace")(W):V(W)):F(W)}function V(W){return W===null||Pn(W)?(C.exit("codeFencedFence"),k(W)):F(W)}}}function CXe(e,t,n){const r=this;return i;function i(u){return u===null?n(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a)}function a(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}const e7={name:"codeIndented",tokenize:RXe},wXe={partial:!0,tokenize:AXe};function RXe(e,t,n){const r=this;return i;function i(s){return e.enter("codeIndented"),oi(e,a,"linePrefix",5)(s)}function a(s){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?u(s):n(s)}function u(s){return s===null?o(s):Pn(s)?e.attempt(wXe,u,o)(s):(e.enter("codeFlowValue"),l(s))}function l(s){return s===null||Pn(s)?(e.exit("codeFlowValue"),u(s)):(e.consume(s),l)}function o(s){return e.exit("codeIndented"),t(s)}}function AXe(e,t,n){const r=this;return i;function i(u){return r.parser.lazy[r.now().line]?n(u):Pn(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i):oi(e,a,"linePrefix",5)(u)}function a(u){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(u):Pn(u)?i(u):n(u)}}const TXe={name:"codeText",previous:PXe,resolve:kXe,tokenize:MXe};function kXe(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function PXe(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function MXe(e,t,n){let r=0,i,a;return u;function u(d){return e.enter("codeText"),e.enter("codeTextSequence"),l(d)}function l(d){return d===96?(e.consume(d),r++,l):(e.exit("codeTextSequence"),o(d))}function o(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),o):d===96?(a=e.enter("codeTextSequence"),i=0,c(d)):Pn(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),o):(e.enter("codeTextData"),s(d))}function s(d){return d===null||d===32||d===96||Pn(d)?(e.exit("codeTextData"),o(d)):(e.consume(d),s)}function c(d){return d===96?(e.consume(d),i++,c):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(a.type="codeTextData",s(d))}}class FXe{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&c2(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),c2(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),c2(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);c2(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);c2(this.left,n.reverse())}}}function c2(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Fye(e){const t={};let n=-1,r,i,a,u,l,o,s;const c=new FXe(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(o=r[1]._tokenizer.events,a=0,a<o.length&&o[a][1].type==="lineEndingBlank"&&(a+=2),a<o.length&&o[a][1].type==="content"))for(;++a<o.length&&o[a][1].type!=="content";)o[a][1].type==="chunkText"&&(o[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,NXe(c,n)),n=t[n],s=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(u=c.get(a),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),u[1].type="lineEnding",i=a);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;i&&(r[1].end={...c.get(i)[1].start},l=c.slice(i,n),l.unshift(r),c.splice(i,n-i+1,l))}}return Uf(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!s}function NXe(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let u=n._tokenizer;u||(u=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const l=u.events,o=[],s={};let c,d,h=-1,m=n,y=0,v=0;const _=[v];for(;m;){for(;e.get(++i)[1]!==m;);a.push(i),m._tokenizer||(c=r.sliceStream(m),m.next||c.push(null),d&&u.defineSkip(m.start),m._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(c),m._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),d=m,m=m.next}for(m=n;++h<l.length;)l[h][0]==="exit"&&l[h-1][0]==="enter"&&l[h][1].type===l[h-1][1].type&&l[h][1].start.line!==l[h][1].end.line&&(v=h+1,_.push(v),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(u.events=[],m?(m._tokenizer=void 0,m.previous=void 0):_.pop(),h=_.length;h--;){const x=l.slice(_[h],_[h+1]),E=a.pop();o.push([E,E+x.length-1]),e.splice(E,2,x)}for(o.reverse(),h=-1;++h<o.length;)s[y+o[h][0]]=y+o[h][1],y+=o[h][1]-o[h][0]-1;return s}const IXe={resolve:BXe,tokenize:QXe},LXe={partial:!0,tokenize:zXe};function BXe(e){return Fye(e),e}function QXe(e,t){let n;return r;function r(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(l)}function i(l){return l===null?a(l):Pn(l)?e.check(LXe,u,a)(l):(e.consume(l),i)}function a(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function u(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function zXe(e,t,n){const r=this;return i;function i(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),oi(e,a,"linePrefix")}function a(u){if(u===null||Pn(u))return n(u);const l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(u):e.interrupt(r.parser.constructs.flow,n,t)(u)}}function Nye(e,t,n,r,i,a,u,l,o){const s=o||Number.POSITIVE_INFINITY;let c=0;return d;function d(x){return x===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(x),e.exit(a),h):x===null||x===32||x===41||P$(x)?n(x):(e.enter(r),e.enter(u),e.enter(l),e.enter("chunkString",{contentType:"string"}),v(x))}function h(x){return x===62?(e.enter(a),e.consume(x),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===62?(e.exit("chunkString"),e.exit(l),h(x)):x===null||x===60||Pn(x)?n(x):(e.consume(x),x===92?y:m)}function y(x){return x===60||x===62||x===92?(e.consume(x),m):m(x)}function v(x){return!c&&(x===null||x===41||ua(x))?(e.exit("chunkString"),e.exit(l),e.exit(u),e.exit(r),t(x)):c<s&&x===40?(e.consume(x),c++,v):x===41?(e.consume(x),c--,v):x===null||x===32||x===40||P$(x)?n(x):(e.consume(x),x===92?_:v)}function _(x){return x===40||x===41||x===92?(e.consume(x),v):v(x)}}function Iye(e,t,n,r,i,a){const u=this;let l=0,o;return s;function s(m){return e.enter(r),e.enter(i),e.consume(m),e.exit(i),e.enter(a),c}function c(m){return l>999||m===null||m===91||m===93&&!o||m===94&&!l&&"_hiddenFootnoteSupport"in u.parser.constructs?n(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):Pn(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),d(m))}function d(m){return m===null||m===91||m===93||Pn(m)||l++>999?(e.exit("chunkString"),c(m)):(e.consume(m),o||(o=!Br(m)),m===92?h:d)}function h(m){return m===91||m===92||m===93?(e.consume(m),l++,d):d(m)}}function Lye(e,t,n,r,i,a){let u;return l;function l(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),u=h===40?41:h,o):n(h)}function o(h){return h===u?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(a),s(h))}function s(h){return h===u?(e.exit(a),o(u)):h===null?n(h):Pn(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),oi(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(h){return h===u||h===null||Pn(h)?(e.exit("chunkString"),s(h)):(e.consume(h),h===92?d:c)}function d(h){return h===u||h===92?(e.consume(h),c):c(h)}}function N2(e,t){let n;return r;function r(i){return Pn(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Br(i)?oi(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const qXe={name:"definition",tokenize:UXe},VXe={partial:!0,tokenize:jXe};function UXe(e,t,n){const r=this;let i;return a;function a(m){return e.enter("definition"),u(m)}function u(m){return Iye.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function l(m){return i=np(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),o):n(m)}function o(m){return ua(m)?N2(e,s)(m):s(m)}function s(m){return Nye(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function c(m){return e.attempt(VXe,d,d)(m)}function d(m){return Br(m)?oi(e,h,"whitespace")(m):h(m)}function h(m){return m===null||Pn(m)?(e.exit("definition"),r.parser.defined.push(i),t(m)):n(m)}}function jXe(e,t,n){return r;function r(l){return ua(l)?N2(e,i)(l):n(l)}function i(l){return Lye(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function a(l){return Br(l)?oi(e,u,"whitespace")(l):u(l)}function u(l){return l===null||Pn(l)?t(l):n(l)}}const ZXe={name:"hardBreakEscape",tokenize:HXe};function HXe(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return Pn(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const XXe={name:"headingAtx",resolve:YXe,tokenize:GXe};function YXe(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Uf(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function GXe(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),a(c)}function a(c){return e.enter("atxHeadingSequence"),u(c)}function u(c){return c===35&&r++<6?(e.consume(c),u):c===null||ua(c)?(e.exit("atxHeadingSequence"),l(c)):n(c)}function l(c){return c===35?(e.enter("atxHeadingSequence"),o(c)):c===null||Pn(c)?(e.exit("atxHeading"),t(c)):Br(c)?oi(e,l,"whitespace")(c):(e.enter("atxHeadingText"),s(c))}function o(c){return c===35?(e.consume(c),o):(e.exit("atxHeadingSequence"),l(c))}function s(c){return c===null||c===35||ua(c)?(e.exit("atxHeadingText"),l(c)):(e.consume(c),s)}}const KXe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],$K=["pre","script","style","textarea"],WXe={concrete:!0,name:"htmlFlow",resolveTo:tYe,tokenize:nYe},JXe={partial:!0,tokenize:iYe},eYe={partial:!0,tokenize:rYe};function tYe(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function nYe(e,t,n){const r=this;let i,a,u,l,o;return s;function s(B){return c(B)}function c(B){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(B),d}function d(B){return B===33?(e.consume(B),h):B===47?(e.consume(B),a=!0,v):B===63?(e.consume(B),i=3,r.interrupt?t:M):ic(B)?(e.consume(B),u=String.fromCharCode(B),_):n(B)}function h(B){return B===45?(e.consume(B),i=2,m):B===91?(e.consume(B),i=5,l=0,y):ic(B)?(e.consume(B),i=4,r.interrupt?t:M):n(B)}function m(B){return B===45?(e.consume(B),r.interrupt?t:M):n(B)}function y(B){const ne="CDATA[";return B===ne.charCodeAt(l++)?(e.consume(B),l===ne.length?r.interrupt?t:j:y):n(B)}function v(B){return ic(B)?(e.consume(B),u=String.fromCharCode(B),_):n(B)}function _(B){if(B===null||B===47||B===62||ua(B)){const ne=B===47,oe=u.toLowerCase();return!ne&&!a&&$K.includes(oe)?(i=1,r.interrupt?t(B):j(B)):KXe.includes(u.toLowerCase())?(i=6,ne?(e.consume(B),x):r.interrupt?t(B):j(B)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(B):a?E(B):w(B))}return B===45||fs(B)?(e.consume(B),u+=String.fromCharCode(B),_):n(B)}function x(B){return B===62?(e.consume(B),r.interrupt?t:j):n(B)}function E(B){return Br(B)?(e.consume(B),E):Z(B)}function w(B){return B===47?(e.consume(B),Z):B===58||B===95||ic(B)?(e.consume(B),T):Br(B)?(e.consume(B),w):Z(B)}function T(B){return B===45||B===46||B===58||B===95||fs(B)?(e.consume(B),T):R(B)}function R(B){return B===61?(e.consume(B),C):Br(B)?(e.consume(B),R):w(B)}function C(B){return B===null||B===60||B===61||B===62||B===96?n(B):B===34||B===39?(e.consume(B),o=B,k):Br(B)?(e.consume(B),C):F(B)}function k(B){return B===o?(e.consume(B),o=null,z):B===null||Pn(B)?n(B):(e.consume(B),k)}function F(B){return B===null||B===34||B===39||B===47||B===60||B===61||B===62||B===96||ua(B)?R(B):(e.consume(B),F)}function z(B){return B===47||B===62||Br(B)?w(B):n(B)}function Z(B){return B===62?(e.consume(B),q):n(B)}function q(B){return B===null||Pn(B)?j(B):Br(B)?(e.consume(B),q):n(B)}function j(B){return B===45&&i===2?(e.consume(B),G):B===60&&i===1?(e.consume(B),J):B===62&&i===4?(e.consume(B),K):B===63&&i===3?(e.consume(B),M):B===93&&i===5?(e.consume(B),X):Pn(B)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(JXe,Y,N)(B)):B===null||Pn(B)?(e.exit("htmlFlowData"),N(B)):(e.consume(B),j)}function N(B){return e.check(eYe,V,Y)(B)}function V(B){return e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),W}function W(B){return B===null||Pn(B)?N(B):(e.enter("htmlFlowData"),j(B))}function G(B){return B===45?(e.consume(B),M):j(B)}function J(B){return B===47?(e.consume(B),u="",te):j(B)}function te(B){if(B===62){const ne=u.toLowerCase();return $K.includes(ne)?(e.consume(B),K):j(B)}return ic(B)&&u.length<8?(e.consume(B),u+=String.fromCharCode(B),te):j(B)}function X(B){return B===93?(e.consume(B),M):j(B)}function M(B){return B===62?(e.consume(B),K):B===45&&i===2?(e.consume(B),M):j(B)}function K(B){return B===null||Pn(B)?(e.exit("htmlFlowData"),Y(B)):(e.consume(B),K)}function Y(B){return e.exit("htmlFlow"),t(B)}}function rYe(e,t,n){const r=this;return i;function i(u){return Pn(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a):n(u)}function a(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}function iYe(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(vx,t,n)}}const aYe={name:"htmlText",tokenize:uYe};function uYe(e,t,n){const r=this;let i,a,u;return l;function l(M){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(M),o}function o(M){return M===33?(e.consume(M),s):M===47?(e.consume(M),R):M===63?(e.consume(M),w):ic(M)?(e.consume(M),F):n(M)}function s(M){return M===45?(e.consume(M),c):M===91?(e.consume(M),a=0,y):ic(M)?(e.consume(M),E):n(M)}function c(M){return M===45?(e.consume(M),m):n(M)}function d(M){return M===null?n(M):M===45?(e.consume(M),h):Pn(M)?(u=d,J(M)):(e.consume(M),d)}function h(M){return M===45?(e.consume(M),m):d(M)}function m(M){return M===62?G(M):M===45?h(M):d(M)}function y(M){const K="CDATA[";return M===K.charCodeAt(a++)?(e.consume(M),a===K.length?v:y):n(M)}function v(M){return M===null?n(M):M===93?(e.consume(M),_):Pn(M)?(u=v,J(M)):(e.consume(M),v)}function _(M){return M===93?(e.consume(M),x):v(M)}function x(M){return M===62?G(M):M===93?(e.consume(M),x):v(M)}function E(M){return M===null||M===62?G(M):Pn(M)?(u=E,J(M)):(e.consume(M),E)}function w(M){return M===null?n(M):M===63?(e.consume(M),T):Pn(M)?(u=w,J(M)):(e.consume(M),w)}function T(M){return M===62?G(M):w(M)}function R(M){return ic(M)?(e.consume(M),C):n(M)}function C(M){return M===45||fs(M)?(e.consume(M),C):k(M)}function k(M){return Pn(M)?(u=k,J(M)):Br(M)?(e.consume(M),k):G(M)}function F(M){return M===45||fs(M)?(e.consume(M),F):M===47||M===62||ua(M)?z(M):n(M)}function z(M){return M===47?(e.consume(M),G):M===58||M===95||ic(M)?(e.consume(M),Z):Pn(M)?(u=z,J(M)):Br(M)?(e.consume(M),z):G(M)}function Z(M){return M===45||M===46||M===58||M===95||fs(M)?(e.consume(M),Z):q(M)}function q(M){return M===61?(e.consume(M),j):Pn(M)?(u=q,J(M)):Br(M)?(e.consume(M),q):z(M)}function j(M){return M===null||M===60||M===61||M===62||M===96?n(M):M===34||M===39?(e.consume(M),i=M,N):Pn(M)?(u=j,J(M)):Br(M)?(e.consume(M),j):(e.consume(M),V)}function N(M){return M===i?(e.consume(M),i=void 0,W):M===null?n(M):Pn(M)?(u=N,J(M)):(e.consume(M),N)}function V(M){return M===null||M===34||M===39||M===60||M===61||M===96?n(M):M===47||M===62||ua(M)?z(M):(e.consume(M),V)}function W(M){return M===47||M===62||ua(M)?z(M):n(M)}function G(M){return M===62?(e.consume(M),e.exit("htmlTextData"),e.exit("htmlText"),t):n(M)}function J(M){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),te}function te(M){return Br(M)?oi(e,X,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):X(M)}function X(M){return e.enter("htmlTextData"),u(M)}}const ML={name:"labelEnd",resolveAll:cYe,resolveTo:fYe,tokenize:dYe},lYe={tokenize:hYe},oYe={tokenize:pYe},sYe={tokenize:mYe};function cYe(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Uf(e,0,e.length,n),e}function fYe(e,t){let n=e.length,r=0,i,a,u,l;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(u){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(u=n);const o={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[a][1].start},end:{...e[u][1].end}},c={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[u-2][1].start}};return l=[["enter",o,t],["enter",s,t]],l=qd(l,e.slice(a+1,a+r+3)),l=qd(l,[["enter",c,t]]),l=qd(l,N5(t.parser.constructs.insideSpan.null,e.slice(a+r+4,u-3),t)),l=qd(l,[["exit",c,t],e[u-2],e[u-1],["exit",s,t]]),l=qd(l,e.slice(u+1)),l=qd(l,[["exit",o,t]]),Uf(e,a,e.length,l),e}function dYe(e,t,n){const r=this;let i=r.events.length,a,u;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return l;function l(h){return a?a._inactive?d(h):(u=r.parser.defined.includes(np(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),o):n(h)}function o(h){return h===40?e.attempt(lYe,c,u?c:d)(h):h===91?e.attempt(oYe,c,u?s:d)(h):u?c(h):d(h)}function s(h){return e.attempt(sYe,c,d)(h)}function c(h){return t(h)}function d(h){return a._balanced=!0,n(h)}}function hYe(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),i}function i(d){return ua(d)?N2(e,a)(d):a(d)}function a(d){return d===41?c(d):Nye(e,u,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function u(d){return ua(d)?N2(e,o)(d):c(d)}function l(d){return n(d)}function o(d){return d===34||d===39||d===40?Lye(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):c(d)}function s(d){return ua(d)?N2(e,c)(d):c(d)}function c(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function pYe(e,t,n){const r=this;return i;function i(l){return Iye.call(r,e,a,u,"reference","referenceMarker","referenceString")(l)}function a(l){return r.parser.defined.includes(np(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function u(l){return n(l)}}function mYe(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const gYe={name:"labelStartImage",resolveAll:ML.resolveAll,tokenize:vYe};function vYe(e,t,n){const r=this;return i;function i(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),a}function a(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),u):n(l)}function u(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const yYe={name:"labelStartLink",resolveAll:ML.resolveAll,tokenize:bYe};function bYe(e,t,n){const r=this;return i;function i(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),a}function a(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const t7={name:"lineEnding",tokenize:OYe};function OYe(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),oi(e,t,"linePrefix")}}const HE={name:"thematicBreak",tokenize:SYe};function SYe(e,t,n){let r=0,i;return a;function a(s){return e.enter("thematicBreak"),u(s)}function u(s){return i=s,l(s)}function l(s){return s===i?(e.enter("thematicBreakSequence"),o(s)):r>=3&&(s===null||Pn(s))?(e.exit("thematicBreak"),t(s)):n(s)}function o(s){return s===i?(e.consume(s),r++,o):(e.exit("thematicBreakSequence"),Br(s)?oi(e,l,"whitespace")(s):l(s))}}const Uc={continuation:{tokenize:DYe},exit:CYe,name:"list",tokenize:EYe},xYe={partial:!0,tokenize:wYe},_Ye={partial:!0,tokenize:$Ye};function EYe(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,u=0;return l;function l(m){const y=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:NM(m)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(HE,n,s)(m):s(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),o(m)}return n(m)}function o(m){return NM(m)&&++u<10?(e.consume(m),o):(!r.interrupt||u<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),s(m)):n(m)}function s(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(vx,r.interrupt?n:c,e.attempt(xYe,h,d))}function c(m){return r.containerState.initialBlankLine=!0,a++,h(m)}function d(m){return Br(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),h):n(m)}function h(m){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function DYe(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(vx,i,a);function i(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,oi(e,t,"listItemIndent",r.containerState.size+1)(l)}function a(l){return r.containerState.furtherBlankLines||!Br(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,u(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(_Ye,t,u)(l))}function u(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,oi(e,e.attempt(Uc,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function $Ye(e,t,n){const r=this;return oi(e,i,"listItemIndent",r.containerState.size+1);function i(a){const u=r.events[r.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===r.containerState.size?t(a):n(a)}}function CYe(e){e.exit(this.containerState.type)}function wYe(e,t,n){const r=this;return oi(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const u=r.events[r.events.length-1];return!Br(a)&&u&&u[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const CK={name:"setextUnderline",resolveTo:RYe,tokenize:AYe};function RYe(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const u={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",u,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=u,e.push(["exit",u,t]),e}function AYe(e,t,n){const r=this;let i;return a;function a(s){let c=r.events.length,d;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){d=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=s,u(s)):n(s)}function u(s){return e.enter("setextHeadingLineSequence"),l(s)}function l(s){return s===i?(e.consume(s),l):(e.exit("setextHeadingLineSequence"),Br(s)?oi(e,o,"lineSuffix")(s):o(s))}function o(s){return s===null||Pn(s)?(e.exit("setextHeadingLine"),t(s)):n(s)}}const TYe={tokenize:kYe};function kYe(e){const t=this,n=e.attempt(vx,r,e.attempt(this.parser.constructs.flowInitial,i,oi(e,e.attempt(this.parser.constructs.flow,i,e.attempt(IXe,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const PYe={resolveAll:Qye()},MYe=Bye("string"),FYe=Bye("text");function Bye(e){return{resolveAll:Qye(e==="text"?NYe:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,u,l);return u;function u(c){return s(c)?a(c):l(c)}function l(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),o}function o(c){return s(c)?(n.exit("data"),a(c)):(n.consume(c),o)}function s(c){if(c===null)return!0;const d=i[c];let h=-1;if(d)for(;++h<d.length;){const m=d[h];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function Qye(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function NYe(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,u=-1,l=0,o;for(;a--;){const s=i[a];if(typeof s=="string"){for(u=s.length;s.charCodeAt(u-1)===32;)l++,u--;if(u)break;u=-1}else if(s===-2)o=!0,l++;else if(s!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){const s={type:n===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?u:r.start._bufferIndex+u,_index:r.start._index+a,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...s.start},r.start.offset===r.end.offset?Object.assign(r,s):(e.splice(n,0,["enter",s,t],["exit",s,t]),n+=2)}n++}return e}const IYe={42:Uc,43:Uc,45:Uc,48:Uc,49:Uc,50:Uc,51:Uc,52:Uc,53:Uc,54:Uc,55:Uc,56:Uc,57:Uc,62:kye},LYe={91:qXe},BYe={[-2]:e7,[-1]:e7,32:e7},QYe={35:XXe,42:HE,45:[CK,HE],60:WXe,61:CK,95:HE,96:DK,126:DK},zYe={38:Mye,92:Pye},qYe={[-5]:t7,[-4]:t7,[-3]:t7,33:gYe,38:Mye,42:IM,60:[yXe,aYe],91:yYe,92:[ZXe,Pye],93:ML,95:IM,96:TXe},VYe={null:[IM,PYe]},UYe={null:[42,95]},jYe={null:[]},ZYe=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:UYe,contentInitial:LYe,disable:jYe,document:IYe,flow:QYe,flowInitial:BYe,insideSpan:VYe,string:zYe,text:qYe},Symbol.toStringTag,{value:"Module"}));function HYe(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let u=[],l=[];const o={attempt:k(R),check:k(C),consume:E,enter:w,exit:T,interrupt:k(C,{interrupt:!0})},s={code:null,containerState:{},defineSkip:v,events:[],now:y,parser:e,previous:null,sliceSerialize:h,sliceStream:m,write:d};let c=t.tokenize.call(s,o);return t.resolveAll&&a.push(t),s;function d(q){return u=qd(u,q),_(),u[u.length-1]!==null?[]:(F(t,0),s.events=N5(a,s.events,s),s.events)}function h(q,j){return YYe(m(q),j)}function m(q){return XYe(u,q)}function y(){const{_bufferIndex:q,_index:j,line:N,column:V,offset:W}=r;return{_bufferIndex:q,_index:j,line:N,column:V,offset:W}}function v(q){i[q.line]=q.column,Z()}function _(){let q;for(;r._index<u.length;){const j=u[r._index];if(typeof j=="string")for(q=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===q&&r._bufferIndex<j.length;)x(j.charCodeAt(r._bufferIndex));else x(j)}}function x(q){c=c(q)}function E(q){Pn(q)?(r.line++,r.column=1,r.offset+=q===-3?2:1,Z()):q!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===u[r._index].length&&(r._bufferIndex=-1,r._index++)),s.previous=q}function w(q,j){const N=j||{};return N.type=q,N.start=y(),s.events.push(["enter",N,s]),l.push(N),N}function T(q){const j=l.pop();return j.end=y(),s.events.push(["exit",j,s]),j}function R(q,j){F(q,j.from)}function C(q,j){j.restore()}function k(q,j){return N;function N(V,W,G){let J,te,X,M;return Array.isArray(V)?Y(V):"tokenize"in V?Y([V]):K(V);function K(ae){return de;function de(be){const ye=be!==null&&ae[be],pe=be!==null&&ae.null,_e=[...Array.isArray(ye)?ye:ye?[ye]:[],...Array.isArray(pe)?pe:pe?[pe]:[]];return Y(_e)(be)}}function Y(ae){return J=ae,te=0,ae.length===0?G:B(ae[te])}function B(ae){return de;function de(be){return M=z(),X=ae,ae.partial||(s.currentConstruct=ae),ae.name&&s.parser.constructs.disable.null.includes(ae.name)?oe():ae.tokenize.call(j?Object.assign(Object.create(s),j):s,o,ne,oe)(be)}}function ne(ae){return q(X,M),W}function oe(ae){return M.restore(),++te<J.length?B(J[te]):G}}}function F(q,j){q.resolveAll&&!a.includes(q)&&a.push(q),q.resolve&&Uf(s.events,j,s.events.length-j,q.resolve(s.events.slice(j),s)),q.resolveTo&&(s.events=q.resolveTo(s.events,s))}function z(){const q=y(),j=s.previous,N=s.currentConstruct,V=s.events.length,W=Array.from(l);return{from:V,restore:G};function G(){r=q,s.previous=j,s.currentConstruct=N,s.events.length=V,l=W,Z()}}function Z(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function XYe(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let u;if(n===i)u=[e[n].slice(r,a)];else{if(u=e.slice(n,i),r>-1){const l=u[0];typeof l=="string"?u[0]=l.slice(r):u.shift()}a>0&&u.push(e[i].slice(0,a))}return u}function YYe(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let u;if(typeof a=="string")u=a;else switch(a){case-5:{u="\r";break}case-4:{u=`
`;break}case-3:{u=`\r
`;break}case-2:{u=t?" ":"	";break}case-1:{if(!t&&i)continue;u=" ";break}default:u=String.fromCharCode(a)}i=a===-2,r.push(u)}return r.join("")}function GYe(e){const r={constructs:Aye([ZYe,...(e||{}).extensions||[]]),content:i(fXe),defined:[],document:i(hXe),flow:i(TYe),lazy:{},string:i(MYe),text:i(FYe)};return r;function i(a){return u;function u(l){return HYe(r,a,l)}}}function KYe(e){for(;!Fye(e););return e}const wK=/[\0\t\n\r]/g;function WYe(){let e=1,t="",n=!0,r;return i;function i(a,u,l){const o=[];let s,c,d,h,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(u||void 0).decode(a)),d=0,t="",n&&(a.charCodeAt(0)===65279&&d++,n=void 0);d<a.length;){if(wK.lastIndex=d,s=wK.exec(a),h=s&&s.index!==void 0?s.index:a.length,m=a.charCodeAt(h),!s){t=a.slice(d);break}if(m===10&&d===h&&r)o.push(-3),r=void 0;else switch(r&&(o.push(-5),r=void 0),d<h&&(o.push(a.slice(d,h)),e+=h-d),m){case 0:{o.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,o.push(-2);e++<c;)o.push(-1);break}case 10:{o.push(-4),e=1;break}default:r=!0,e=1}d=h+1}return l&&(r&&o.push(-5),t&&o.push(t),o.push(null)),o}}const JYe=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function eGe(e){return e.replace(JYe,tGe)}function tGe(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return Tye(n.slice(a?2:1),a?16:10)}return PL(n)||e}const zye={}.hasOwnProperty;function nGe(e,t,n){return typeof t!="string"&&(n=t,t=void 0),rGe(n)(KYe(GYe(n).document().write(WYe()(e,t,!0))))}function rGe(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(tt),autolinkProtocol:z,autolinkEmail:z,atxHeading:a(we),blockQuote:a(pe),characterEscape:z,characterReference:z,codeFenced:a(_e),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:a(_e,u),codeText:a(se,u),codeTextData:z,data:z,codeFlowValue:z,definition:a(me),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:a(ge),hardBreakEscape:a(Ne),hardBreakTrailing:a(Ne),htmlFlow:a(Re,u),htmlFlowData:z,htmlText:a(Re,u),htmlTextData:z,image:a(et),label:u,link:a(tt),listItem:a($e),listItemValue:h,listOrdered:a(Oe,d),listUnordered:a(Oe),paragraph:a(Ae),reference:B,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:a(we),strong:a(Ue),thematicBreak:a(Ye)},exit:{atxHeading:o(),atxHeadingSequence:R,autolink:o(),autolinkEmail:ye,autolinkProtocol:be,blockQuote:o(),characterEscapeValue:Z,characterReferenceMarkerHexadecimal:oe,characterReferenceMarkerNumeric:oe,characterReferenceValue:ae,characterReference:de,codeFenced:o(_),codeFencedFence:v,codeFencedFenceInfo:m,codeFencedFenceMeta:y,codeFlowValue:Z,codeIndented:o(x),codeText:o(W),codeTextData:Z,data:Z,definition:o(),definitionDestinationString:T,definitionLabelString:E,definitionTitleString:w,emphasis:o(),hardBreakEscape:o(j),hardBreakTrailing:o(j),htmlFlow:o(N),htmlFlowData:Z,htmlText:o(V),htmlTextData:Z,image:o(J),label:X,labelText:te,lineEnding:q,link:o(G),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:ne,resourceDestinationString:M,resourceTitleString:K,resource:Y,setextHeading:o(F),setextHeadingLineSequence:k,setextHeadingText:C,strong:o(),thematicBreak:o()}};qye(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(Me){let ze={type:"root",children:[]};const st={stack:[ze],tokenStack:[],config:t,enter:l,exit:s,buffer:u,resume:c,data:n},Ot=[];let Nt=-1;for(;++Nt<Me.length;)if(Me[Nt][1].type==="listOrdered"||Me[Nt][1].type==="listUnordered")if(Me[Nt][0]==="enter")Ot.push(Nt);else{const gt=Ot.pop();Nt=i(Me,gt,Nt)}for(Nt=-1;++Nt<Me.length;){const gt=t[Me[Nt][0]];zye.call(gt,Me[Nt][1].type)&&gt[Me[Nt][1].type].call(Object.assign({sliceSerialize:Me[Nt][2].sliceSerialize},st),Me[Nt][1])}if(st.tokenStack.length>0){const gt=st.tokenStack[st.tokenStack.length-1];(gt[1]||RK).call(st,void 0,gt[0])}for(ze.position={start:iv(Me.length>0?Me[0][1].start:{line:1,column:1,offset:0}),end:iv(Me.length>0?Me[Me.length-2][1].end:{line:1,column:1,offset:0})},Nt=-1;++Nt<t.transforms.length;)ze=t.transforms[Nt](ze)||ze;return ze}function i(Me,ze,st){let Ot=ze-1,Nt=-1,gt=!1,qt,zt,rn,nn;for(;++Ot<=st;){const Fe=Me[Ot];switch(Fe[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Fe[0]==="enter"?Nt++:Nt--,nn=void 0;break}case"lineEndingBlank":{Fe[0]==="enter"&&(qt&&!nn&&!Nt&&!rn&&(rn=Ot),nn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:nn=void 0}if(!Nt&&Fe[0]==="enter"&&Fe[1].type==="listItemPrefix"||Nt===-1&&Fe[0]==="exit"&&(Fe[1].type==="listUnordered"||Fe[1].type==="listOrdered")){if(qt){let ht=Ot;for(zt=void 0;ht--;){const Tt=Me[ht];if(Tt[1].type==="lineEnding"||Tt[1].type==="lineEndingBlank"){if(Tt[0]==="exit")continue;zt&&(Me[zt][1].type="lineEndingBlank",gt=!0),Tt[1].type="lineEnding",zt=ht}else if(!(Tt[1].type==="linePrefix"||Tt[1].type==="blockQuotePrefix"||Tt[1].type==="blockQuotePrefixWhitespace"||Tt[1].type==="blockQuoteMarker"||Tt[1].type==="listItemIndent"))break}rn&&(!zt||rn<zt)&&(qt._spread=!0),qt.end=Object.assign({},zt?Me[zt][1].start:Fe[1].end),Me.splice(zt||Ot,0,["exit",qt,Fe[2]]),Ot++,st++}if(Fe[1].type==="listItemPrefix"){const ht={type:"listItem",_spread:!1,start:Object.assign({},Fe[1].start),end:void 0};qt=ht,Me.splice(Ot,0,["enter",ht,Fe[2]]),Ot++,st++,rn=void 0,nn=!0}}}return Me[ze][1]._spread=gt,st}function a(Me,ze){return st;function st(Ot){l.call(this,Me(Ot),Ot),ze&&ze.call(this,Ot)}}function u(){this.stack.push({type:"fragment",children:[]})}function l(Me,ze,st){this.stack[this.stack.length-1].children.push(Me),this.stack.push(Me),this.tokenStack.push([ze,st||void 0]),Me.position={start:iv(ze.start),end:void 0}}function o(Me){return ze;function ze(st){Me&&Me.call(this,st),s.call(this,st)}}function s(Me,ze){const st=this.stack.pop(),Ot=this.tokenStack.pop();if(Ot)Ot[0].type!==Me.type&&(ze?ze.call(this,Me,Ot[0]):(Ot[1]||RK).call(this,Me,Ot[0]));else throw new Error("Cannot close `"+Me.type+"` ("+F2({start:Me.start,end:Me.end})+"): it’s not open");st.position.end=iv(Me.end)}function c(){return kL(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function h(Me){if(this.data.expectingFirstListItemValue){const ze=this.stack[this.stack.length-2];ze.start=Number.parseInt(this.sliceSerialize(Me),10),this.data.expectingFirstListItemValue=void 0}}function m(){const Me=this.resume(),ze=this.stack[this.stack.length-1];ze.lang=Me}function y(){const Me=this.resume(),ze=this.stack[this.stack.length-1];ze.meta=Me}function v(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function _(){const Me=this.resume(),ze=this.stack[this.stack.length-1];ze.value=Me.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function x(){const Me=this.resume(),ze=this.stack[this.stack.length-1];ze.value=Me.replace(/(\r?\n|\r)$/g,"")}function E(Me){const ze=this.resume(),st=this.stack[this.stack.length-1];st.label=ze,st.identifier=np(this.sliceSerialize(Me)).toLowerCase()}function w(){const Me=this.resume(),ze=this.stack[this.stack.length-1];ze.title=Me}function T(){const Me=this.resume(),ze=this.stack[this.stack.length-1];ze.url=Me}function R(Me){const ze=this.stack[this.stack.length-1];if(!ze.depth){const st=this.sliceSerialize(Me).length;ze.depth=st}}function C(){this.data.setextHeadingSlurpLineEnding=!0}function k(Me){const ze=this.stack[this.stack.length-1];ze.depth=this.sliceSerialize(Me).codePointAt(0)===61?1:2}function F(){this.data.setextHeadingSlurpLineEnding=void 0}function z(Me){const st=this.stack[this.stack.length-1].children;let Ot=st[st.length-1];(!Ot||Ot.type!=="text")&&(Ot=Ze(),Ot.position={start:iv(Me.start),end:void 0},st.push(Ot)),this.stack.push(Ot)}function Z(Me){const ze=this.stack.pop();ze.value+=this.sliceSerialize(Me),ze.position.end=iv(Me.end)}function q(Me){const ze=this.stack[this.stack.length-1];if(this.data.atHardBreak){const st=ze.children[ze.children.length-1];st.position.end=iv(Me.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ze.type)&&(z.call(this,Me),Z.call(this,Me))}function j(){this.data.atHardBreak=!0}function N(){const Me=this.resume(),ze=this.stack[this.stack.length-1];ze.value=Me}function V(){const Me=this.resume(),ze=this.stack[this.stack.length-1];ze.value=Me}function W(){const Me=this.resume(),ze=this.stack[this.stack.length-1];ze.value=Me}function G(){const Me=this.stack[this.stack.length-1];if(this.data.inReference){const ze=this.data.referenceType||"shortcut";Me.type+="Reference",Me.referenceType=ze,delete Me.url,delete Me.title}else delete Me.identifier,delete Me.label;this.data.referenceType=void 0}function J(){const Me=this.stack[this.stack.length-1];if(this.data.inReference){const ze=this.data.referenceType||"shortcut";Me.type+="Reference",Me.referenceType=ze,delete Me.url,delete Me.title}else delete Me.identifier,delete Me.label;this.data.referenceType=void 0}function te(Me){const ze=this.sliceSerialize(Me),st=this.stack[this.stack.length-2];st.label=eGe(ze),st.identifier=np(ze).toLowerCase()}function X(){const Me=this.stack[this.stack.length-1],ze=this.resume(),st=this.stack[this.stack.length-1];if(this.data.inReference=!0,st.type==="link"){const Ot=Me.children;st.children=Ot}else st.alt=ze}function M(){const Me=this.resume(),ze=this.stack[this.stack.length-1];ze.url=Me}function K(){const Me=this.resume(),ze=this.stack[this.stack.length-1];ze.title=Me}function Y(){this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}function ne(Me){const ze=this.resume(),st=this.stack[this.stack.length-1];st.label=ze,st.identifier=np(this.sliceSerialize(Me)).toLowerCase(),this.data.referenceType="full"}function oe(Me){this.data.characterReferenceType=Me.type}function ae(Me){const ze=this.sliceSerialize(Me),st=this.data.characterReferenceType;let Ot;st?(Ot=Tye(ze,st==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ot=PL(ze);const Nt=this.stack[this.stack.length-1];Nt.value+=Ot}function de(Me){const ze=this.stack.pop();ze.position.end=iv(Me.end)}function be(Me){Z.call(this,Me);const ze=this.stack[this.stack.length-1];ze.url=this.sliceSerialize(Me)}function ye(Me){Z.call(this,Me);const ze=this.stack[this.stack.length-1];ze.url="mailto:"+this.sliceSerialize(Me)}function pe(){return{type:"blockquote",children:[]}}function _e(){return{type:"code",lang:null,meta:null,value:""}}function se(){return{type:"inlineCode",value:""}}function me(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ge(){return{type:"emphasis",children:[]}}function we(){return{type:"heading",depth:0,children:[]}}function Ne(){return{type:"break"}}function Re(){return{type:"html",value:""}}function et(){return{type:"image",title:null,url:"",alt:null}}function tt(){return{type:"link",title:null,url:"",children:[]}}function Oe(Me){return{type:"list",ordered:Me.type==="listOrdered",start:null,spread:Me._spread,children:[]}}function $e(Me){return{type:"listItem",spread:Me._spread,checked:null,children:[]}}function Ae(){return{type:"paragraph",children:[]}}function Ue(){return{type:"strong",children:[]}}function Ze(){return{type:"text",value:""}}function Ye(){return{type:"thematicBreak"}}}function iv(e){return{line:e.line,column:e.column,offset:e.offset}}function qye(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?qye(e,r):iGe(e,r)}}function iGe(e,t){let n;for(n in t)if(zye.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function RK(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+F2({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+F2({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+F2({start:t.start,end:t.end})+") is still open")}function aGe(e){const t=this;t.parser=n;function n(r){return nGe(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function uGe(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function lGe(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
`}]}function oGe(e,t){const n=t.value?t.value+`
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function sGe(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function cGe(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function fGe(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=J3(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let u,l=e.footnoteCounts.get(r);l===void 0?(l=0,e.footnoteOrder.push(r),u=e.footnoteOrder.length):u=a+1,l+=1,e.footnoteCounts.set(r,l);const o={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,o);const s={type:"element",tagName:"sup",properties:{},children:[o]};return e.patch(t,s),e.applyData(t,s)}function dGe(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function hGe(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Vye(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const u=i[i.length-1];return u&&u.type==="text"?u.value+=r:i.push({type:"text",value:r}),i}function pGe(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Vye(e,t);const i={src:J3(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function mGe(e,t){const n={src:J3(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function gGe(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function vGe(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Vye(e,t);const i={href:J3(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function yGe(e,t){const n={href:J3(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function bGe(e,t,n){const r=e.all(t),i=n?OGe(n):Uye(t),a={},u=[];if(typeof t.checked=="boolean"){const c=r[0];let d;c&&c.type==="element"&&c.tagName==="p"?d=c:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const c=r[l];(i||l!==0||c.type!=="element"||c.tagName!=="p")&&u.push({type:"text",value:`
`}),c.type==="element"&&c.tagName==="p"&&!i?u.push(...c.children):u.push(c)}const o=r[r.length-1];o&&(i||o.type!=="element"||o.tagName!=="p")&&u.push({type:"text",value:`
`});const s={type:"element",tagName:"li",properties:a,children:u};return e.patch(t,s),e.applyData(t,s)}function OGe(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Uye(n[r])}return t}function Uye(e){const t=e.spread;return t??e.children.length>1}function SGe(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const u=r[i];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function xGe(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function _Ge(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function EGe(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function DGe(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],u),i.push(u)}if(n.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=wL(t.children[1]),o=_ye(t.children[t.children.length-1]);l&&o&&(u.position={start:l,end:o}),i.push(u)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function $Ge(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",u=n&&n.type==="table"?n.align:void 0,l=u?u.length:t.children.length;let o=-1;const s=[];for(;++o<l;){const d=t.children[o],h={},m=u?u[o]:void 0;m&&(h.align=m);let y={type:"element",tagName:a,properties:h,children:[]};d&&(y.children=e.all(d),e.patch(d,y),y=e.applyData(d,y)),s.push(y)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,c),e.applyData(t,c)}function CGe(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const AK=9,TK=32;function wGe(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const a=[];for(;r;)a.push(kK(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(kK(t.slice(i),i>0,!1)),a.join("")}function kK(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===AK||a===TK;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===AK||a===TK;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function RGe(e,t){const n={type:"text",value:wGe(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function AGe(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const TGe={blockquote:uGe,break:lGe,code:oGe,delete:sGe,emphasis:cGe,footnoteReference:fGe,heading:dGe,html:hGe,imageReference:pGe,image:mGe,inlineCode:gGe,linkReference:vGe,link:yGe,listItem:bGe,list:SGe,paragraph:xGe,root:_Ge,strong:EGe,table:DGe,tableCell:CGe,tableRow:$Ge,text:RGe,thematicBreak:AGe,toml:sE,yaml:sE,definition:sE,footnoteDefinition:sE};function sE(){}const jye=-1,I5=0,I2=1,M$=2,FL=3,NL=4,IL=5,LL=6,Zye=7,Hye=8,PK=typeof self=="object"?self:globalThis,kGe=(e,t)=>{const n=(i,a)=>(e.set(a,i),i),r=i=>{if(e.has(i))return e.get(i);const[a,u]=t[i];switch(a){case I5:case jye:return n(u,i);case I2:{const l=n([],i);for(const o of u)l.push(r(o));return l}case M$:{const l=n({},i);for(const[o,s]of u)l[r(o)]=r(s);return l}case FL:return n(new Date(u),i);case NL:{const{source:l,flags:o}=u;return n(new RegExp(l,o),i)}case IL:{const l=n(new Map,i);for(const[o,s]of u)l.set(r(o),r(s));return l}case LL:{const l=n(new Set,i);for(const o of u)l.add(r(o));return l}case Zye:{const{name:l,message:o}=u;return n(new PK[l](o),i)}case Hye:return n(BigInt(u),i);case"BigInt":return n(Object(BigInt(u)),i);case"ArrayBuffer":return n(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:l}=new Uint8Array(u);return n(new DataView(l),u)}}return n(new PK[a](u),i)};return r},MK=e=>kGe(new Map,e)(0),OO="",{toString:PGe}={},{keys:MGe}=Object,f2=e=>{const t=typeof e;if(t!=="object"||!e)return[I5,t];const n=PGe.call(e).slice(8,-1);switch(n){case"Array":return[I2,OO];case"Object":return[M$,OO];case"Date":return[FL,OO];case"RegExp":return[NL,OO];case"Map":return[IL,OO];case"Set":return[LL,OO];case"DataView":return[I2,n]}return n.includes("Array")?[I2,n]:n.includes("Error")?[Zye,n]:[M$,n]},cE=([e,t])=>e===I5&&(t==="function"||t==="symbol"),FGe=(e,t,n,r)=>{const i=(u,l)=>{const o=r.push(u)-1;return n.set(l,o),o},a=u=>{if(n.has(u))return n.get(u);let[l,o]=f2(u);switch(l){case I5:{let c=u;switch(o){case"bigint":l=Hye,c=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+o);c=null;break;case"undefined":return i([jye],u)}return i([l,c],u)}case I2:{if(o){let h=u;return o==="DataView"?h=new Uint8Array(u.buffer):o==="ArrayBuffer"&&(h=new Uint8Array(u)),i([o,[...h]],u)}const c=[],d=i([l,c],u);for(const h of u)c.push(a(h));return d}case M$:{if(o)switch(o){case"BigInt":return i([o,u.toString()],u);case"Boolean":case"Number":case"String":return i([o,u.valueOf()],u)}if(t&&"toJSON"in u)return a(u.toJSON());const c=[],d=i([l,c],u);for(const h of MGe(u))(e||!cE(f2(u[h])))&&c.push([a(h),a(u[h])]);return d}case FL:return i([l,u.toISOString()],u);case NL:{const{source:c,flags:d}=u;return i([l,{source:c,flags:d}],u)}case IL:{const c=[],d=i([l,c],u);for(const[h,m]of u)(e||!(cE(f2(h))||cE(f2(m))))&&c.push([a(h),a(m)]);return d}case LL:{const c=[],d=i([l,c],u);for(const h of u)(e||!cE(f2(h)))&&c.push(a(h));return d}}const{message:s}=u;return i([l,{name:o,message:s}],u)};return a},FK=(e,{json:t,lossy:n}={})=>{const r=[];return FGe(!(t||n),!!t,new Map,r)(e),r},F$=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?MK(FK(e,t)):structuredClone(e):(e,t)=>MK(FK(e,t));function NGe(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function IGe(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function LGe(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||NGe,r=e.options.footnoteBackLabel||IGe,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let o=-1;for(;++o<e.footnoteOrder.length;){const s=e.footnoteById.get(e.footnoteOrder[o]);if(!s)continue;const c=e.all(s),d=String(s.identifier).toUpperCase(),h=J3(d.toLowerCase());let m=0;const y=[],v=e.footnoteCounts.get(d);for(;v!==void 0&&++m<=v;){y.length>0&&y.push({type:"text",value:" "});let E=typeof n=="string"?n:n(o,m);typeof E=="string"&&(E={type:"text",value:E}),y.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(o,m),className:["data-footnote-backref"]},children:Array.isArray(E)?E:[E]})}const _=c[c.length-1];if(_&&_.type==="element"&&_.tagName==="p"){const E=_.children[_.children.length-1];E&&E.type==="text"?E.value+=" ":_.children.push({type:"text",value:" "}),_.children.push(...y)}else c.push(...y);const x={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(c,!0)};e.patch(s,x),l.push(x)}if(l.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...F$(u),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:`
`}]}}const L5=(function(e){if(e==null)return qGe;if(typeof e=="function")return B5(e);if(typeof e=="object")return Array.isArray(e)?BGe(e):QGe(e);if(typeof e=="string")return zGe(e);throw new Error("Expected function, string, or object as test")});function BGe(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=L5(e[n]);return B5(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function QGe(e){const t=e;return B5(n);function n(r){const i=r;let a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function zGe(e){return B5(t);function t(n){return n&&n.type===e}}function B5(e){return t;function t(n,r,i){return!!(VGe(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function qGe(){return!0}function VGe(e){return e!==null&&typeof e=="object"&&"type"in e}const Xye=[],UGe=!0,LM=!1,jGe="skip";function Yye(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const a=L5(i),u=r?-1:1;l(e,void 0,[])();function l(o,s,c){const d=o&&typeof o=="object"?o:{};if(typeof d.type=="string"){const m=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(o.type+(m?"<"+m+">":""))+")"})}return h;function h(){let m=Xye,y,v,_;if((!t||a(o,s,c[c.length-1]||void 0))&&(m=ZGe(n(o,c)),m[0]===LM))return m;if("children"in o&&o.children){const x=o;if(x.children&&m[0]!==jGe)for(v=(r?x.children.length:-1)+u,_=c.concat(x);v>-1&&v<x.children.length;){const E=x.children[v];if(y=l(E,v,_)(),y[0]===LM)return y;v=typeof y[1]=="number"?y[1]:v+u}}return m}}}function ZGe(e){return Array.isArray(e)?e:typeof e=="number"?[UGe,e]:e==null?Xye:[e]}function BL(e,t,n,r){let i,a,u;typeof t=="function"&&typeof n!="function"?(a=void 0,u=t,i=n):(a=t,u=n,i=r),Yye(e,a,l,i);function l(o,s){const c=s[s.length-1],d=c?c.children.indexOf(o):void 0;return u(o,d,c)}}const BM={}.hasOwnProperty,HGe={};function XGe(e,t){const n=t||HGe,r=new Map,i=new Map,a=new Map,u={...TGe,...n.handlers},l={all:s,applyData:GGe,definitionById:r,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:u,one:o,options:n,patch:YGe,wrap:WGe};return BL(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const d=c.type==="definition"?r:i,h=String(c.identifier).toUpperCase();d.has(h)||d.set(h,c)}}),l;function o(c,d){const h=c.type,m=l.handlers[h];if(BM.call(l.handlers,h)&&m)return m(l,c,d);if(l.options.passThrough&&l.options.passThrough.includes(h)){if("children"in c){const{children:v,..._}=c,x=F$(_);return x.children=l.all(c),x}return F$(c)}return(l.options.unknownHandler||KGe)(l,c,d)}function s(c){const d=[];if("children"in c){const h=c.children;let m=-1;for(;++m<h.length;){const y=l.one(h[m],c);if(y){if(m&&h[m-1].type==="break"&&(!Array.isArray(y)&&y.type==="text"&&(y.value=NK(y.value)),!Array.isArray(y)&&y.type==="element")){const v=y.children[0];v&&v.type==="text"&&(v.value=NK(v.value))}Array.isArray(y)?d.push(...y):d.push(y)}}}return d}}function YGe(e,t){e.position&&(t.position=IHe(e))}function GGe(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const u="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:u}}n.type==="element"&&a&&Object.assign(n.properties,F$(a)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function KGe(e,t){const n=t.data||{},r="value"in t&&!(BM.call(n,"hProperties")||BM.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function WGe(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
`});++r<e.length;)r&&n.push({type:"text",value:`
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
`}),n}function NK(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function IK(e,t){const n=XGe(e,t),r=n.one(e,void 0),i=LGe(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:`
`},i),a}function JGe(e,t){return e&&"run"in e?async function(n,r){const i=IK(n,{file:r,...t});await e.run(i,r)}:function(n,r){return IK(n,{file:r,...e||t})}}function LK(e){if(e)throw e}var n7,BK;function eKe(){if(BK)return n7;BK=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(s){return typeof Array.isArray=="function"?Array.isArray(s):t.call(s)==="[object Array]"},a=function(s){if(!s||t.call(s)!=="[object Object]")return!1;var c=e.call(s,"constructor"),d=s.constructor&&s.constructor.prototype&&e.call(s.constructor.prototype,"isPrototypeOf");if(s.constructor&&!c&&!d)return!1;var h;for(h in s);return typeof h>"u"||e.call(s,h)},u=function(s,c){n&&c.name==="__proto__"?n(s,c.name,{enumerable:!0,configurable:!0,value:c.newValue,writable:!0}):s[c.name]=c.newValue},l=function(s,c){if(c==="__proto__")if(e.call(s,c)){if(r)return r(s,c).value}else return;return s[c]};return n7=function o(){var s,c,d,h,m,y,v=arguments[0],_=1,x=arguments.length,E=!1;for(typeof v=="boolean"&&(E=v,v=arguments[1]||{},_=2),(v==null||typeof v!="object"&&typeof v!="function")&&(v={});_<x;++_)if(s=arguments[_],s!=null)for(c in s)d=l(v,c),h=l(s,c),v!==h&&(E&&h&&(a(h)||(m=i(h)))?(m?(m=!1,y=d&&i(d)?d:[]):y=d&&a(d)?d:{},u(v,{name:c,newValue:o(E,y,h)})):typeof h<"u"&&u(v,{name:c,newValue:h}));return v},n7}var tKe=eKe();const r7=oa(tKe);function QM(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function nKe(){const e=[],t={run:n,use:r};return t;function n(...i){let a=-1;const u=i.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);l(null,...i);function l(o,...s){const c=e[++a];let d=-1;if(o){u(o);return}for(;++d<i.length;)(s[d]===null||s[d]===void 0)&&(s[d]=i[d]);i=s,c?rKe(c,l)(...s):u(null,...s)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function rKe(e,t){let n;return r;function r(...u){const l=e.length>u.length;let o;l&&u.push(i);try{o=e.apply(this,u)}catch(s){const c=s;if(l&&n)throw c;return i(c)}l||(o&&o.then&&typeof o.then=="function"?o.then(a,i):o instanceof Error?i(o):a(o))}function i(u,...l){n||(n=!0,t(u,...l))}function a(u){i(null,u)}}const l0={basename:iKe,dirname:aKe,extname:uKe,join:lKe,sep:"/"};function iKe(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');yx(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let u=-1,l=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else u<0&&(a=!0,u=i+1),l>-1&&(e.codePointAt(i)===t.codePointAt(l--)?l<0&&(r=i):(l=-1,r=u));return n===r?r=u:r<0&&(r=e.length),e.slice(n,r)}function aKe(e){if(yx(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function uKe(e){yx(e);let t=e.length,n=-1,r=0,i=-1,a=0,u;for(;t--;){const l=e.codePointAt(t);if(l===47){if(u){r=t+1;break}continue}n<0&&(u=!0,n=t+1),l===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function lKe(...e){let t=-1,n;for(;++t<e.length;)yx(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":oKe(n)}function oKe(e){yx(e);const t=e.codePointAt(0)===47;let n=sKe(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function sKe(e,t){let n="",r=0,i=-1,a=0,u=-1,l,o;for(;++u<=e.length;){if(u<e.length)l=e.codePointAt(u);else{if(l===47)break;l=47}if(l===47){if(!(i===u-1||a===1))if(i!==u-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(o=n.lastIndexOf("/"),o!==n.length-1){o<0?(n="",r=0):(n=n.slice(0,o),r=n.length-1-n.lastIndexOf("/")),i=u,a=0;continue}}else if(n.length>0){n="",r=0,i=u,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,u):n=e.slice(i+1,u),r=u-i-1;i=u,a=0}else l===46&&a>-1?a++:a=-1}return n}function yx(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const cKe={cwd:fKe};function fKe(){return"/"}function zM(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function dKe(e){if(typeof e=="string")e=new URL(e);else if(!zM(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return hKe(e)}function hKe(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const i7=["history","path","basename","stem","extname","dirname"];class Gye{constructor(t){let n;t?zM(t)?n={path:t}:typeof t=="string"||pKe(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":cKe.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<i7.length;){const a=i7[r];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let i;for(i in n)i7.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?l0.basename(this.path):void 0}set basename(t){u7(t,"basename"),a7(t,"basename"),this.path=l0.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?l0.dirname(this.path):void 0}set dirname(t){QK(this.basename,"dirname"),this.path=l0.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?l0.extname(this.path):void 0}set extname(t){if(a7(t,"extname"),QK(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=l0.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){zM(t)&&(t=dKe(t)),u7(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?l0.basename(this.path,this.extname):void 0}set stem(t){u7(t,"stem"),a7(t,"stem"),this.path=l0.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new gs(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function a7(e,t){if(e&&e.includes(l0.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+l0.sep+"`")}function u7(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function QK(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function pKe(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const mKe=(function(e){const r=this.constructor.prototype,i=r[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,r),a}),gKe={}.hasOwnProperty;class QL extends mKe{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=nKe()}copy(){const t=new QL;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(r7(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(s7("data",this.frozen),this.namespace[t]=n,this):gKe.call(this.namespace,t)&&this.namespace[t]||void 0:t?(s7("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=fE(t),r=this.parser||this.Parser;return l7("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),l7("process",this.parser||this.Parser),o7("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(a,u){const l=fE(t),o=r.parse(l);r.run(o,l,function(c,d,h){if(c||!d||!h)return s(c);const m=d,y=r.stringify(m,h);bKe(y)?h.value=y:h.result=y,s(c,h)});function s(c,d){c||!d?u(c):a?a(d):n(void 0,d)}}}processSync(t){let n=!1,r;return this.freeze(),l7("processSync",this.parser||this.Parser),o7("processSync",this.compiler||this.Compiler),this.process(t,i),qK("processSync","process",n),r;function i(a,u){n=!0,LK(a),r=u}}run(t,n,r){zK(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?a(void 0,r):new Promise(a);function a(u,l){const o=fE(n);i.run(t,o,s);function s(c,d,h){const m=d||t;c?l(c):u?u(m):r(void 0,m,h)}}}runSync(t,n){let r=!1,i;return this.run(t,n,a),qK("runSync","run",r),i;function a(u,l){LK(u),i=l,r=!0}}stringify(t,n){this.freeze();const r=fE(n),i=this.compiler||this.Compiler;return o7("stringify",i),zK(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(s7("use",this.frozen),t!=null)if(typeof t=="function")o(t,n);else if(typeof t=="object")Array.isArray(t)?l(t):u(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(s){if(typeof s=="function")o(s,[]);else if(typeof s=="object")if(Array.isArray(s)){const[c,...d]=s;o(c,d)}else u(s);else throw new TypeError("Expected usable value, not `"+s+"`")}function u(s){if(!("plugins"in s)&&!("settings"in s))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(s.plugins),s.settings&&(i.settings=r7(!0,i.settings,s.settings))}function l(s){let c=-1;if(s!=null)if(Array.isArray(s))for(;++c<s.length;){const d=s[c];a(d)}else throw new TypeError("Expected a list of plugins, not `"+s+"`")}function o(s,c){let d=-1,h=-1;for(;++d<r.length;)if(r[d][0]===s){h=d;break}if(h===-1)r.push([s,...c]);else if(c.length>0){let[m,...y]=c;const v=r[h][1];QM(v)&&QM(m)&&(m=r7(!0,v,m)),r[h]=[s,m,...y]}}}}const vKe=new QL().freeze();function l7(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function o7(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function s7(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function zK(e){if(!QM(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function qK(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function fE(e){return yKe(e)?e:new Gye(e)}function yKe(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function bKe(e){return typeof e=="string"||OKe(e)}function OKe(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const SKe="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",VK=[],UK={allowDangerousHtml:!0},xKe=/^(https?|ircs?|mailto|xmpp)$/i,_Ke=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Hat(e){const t=EKe(e),n=DKe(e);return $Ke(t.runSync(t.parse(n),n),e)}function EKe(e){const t=e.rehypePlugins||VK,n=e.remarkPlugins||VK,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...UK}:UK;return vKe().use(aGe).use(n).use(JGe,r).use(t)}function DKe(e){const t=e.children||"",n=new Gye;return typeof t=="string"&&(n.value=t),n}function $Ke(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,u=t.skipHtml,l=t.unwrapDisallowed,o=t.urlTransform||CKe;for(const c of _Ke)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+SKe+c.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),BL(e,s),qHe(e,{Fragment:kr.Fragment,components:i,ignoreInvalidStyle:!0,jsx:kr.jsx,jsxs:kr.jsxs,passKeys:!0,passNode:!0});function s(c,d,h){if(c.type==="raw"&&h&&typeof d=="number")return u?h.children.splice(d,1):h.children[d]={type:"text",value:c.value},d;if(c.type==="element"){let m;for(m in J8)if(Object.hasOwn(J8,m)&&Object.hasOwn(c.properties,m)){const y=c.properties[m],v=J8[m];(v===null||v.includes(c.tagName))&&(c.properties[m]=o(String(y||""),m,c))}}if(c.type==="element"){let m=n?!n.includes(c.tagName):a?a.includes(c.tagName):!1;if(!m&&r&&typeof d=="number"&&(m=!r(c,d,h)),m&&h&&typeof d=="number")return l&&c.children?h.children.splice(d,1,...c.children):h.children.splice(d,1),d}}}function CKe(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||xKe.test(e.slice(0,t))?e:""}function wKe(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function RKe(e,t,n){const i=L5((n||{}).ignore||[]),a=AKe(t);let u=-1;for(;++u<a.length;)Yye(e,"text",l);function l(s,c){let d=-1,h;for(;++d<c.length;){const m=c[d],y=h?h.children:void 0;if(i(m,y?y.indexOf(m):void 0,h))return;h=m}if(h)return o(s,c)}function o(s,c){const d=c[c.length-1],h=a[u][0],m=a[u][1];let y=0;const _=d.children.indexOf(s);let x=!1,E=[];h.lastIndex=0;let w=h.exec(s.value);for(;w;){const T=w.index,R={index:w.index,input:w.input,stack:[...c,s]};let C=m(...w,R);if(typeof C=="string"&&(C=C.length>0?{type:"text",value:C}:void 0),C===!1?h.lastIndex=T+1:(y!==T&&E.push({type:"text",value:s.value.slice(y,T)}),Array.isArray(C)?E.push(...C):C&&E.push(C),y=T+w[0].length,x=!0),!h.global)break;w=h.exec(s.value)}return x?(y<s.value.length&&E.push({type:"text",value:s.value.slice(y)}),d.children.splice(_,1,...E)):E=[s],_+E.length}}function AKe(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([TKe(i[0]),kKe(i[1])])}return t}function TKe(e){return typeof e=="string"?new RegExp(wKe(e),"g"):e}function kKe(e){return typeof e=="function"?e:function(){return e}}const c7="phrasing",f7=["autolink","link","image","label"];function PKe(){return{transforms:[QKe],enter:{literalAutolink:FKe,literalAutolinkEmail:d7,literalAutolinkHttp:d7,literalAutolinkWww:d7},exit:{literalAutolink:BKe,literalAutolinkEmail:LKe,literalAutolinkHttp:NKe,literalAutolinkWww:IKe}}}function MKe(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:c7,notInConstruct:f7},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:c7,notInConstruct:f7},{character:":",before:"[ps]",after:"\\/",inConstruct:c7,notInConstruct:f7}]}}function FKe(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d7(e){this.config.enter.autolinkProtocol.call(this,e)}function NKe(e){this.config.exit.autolinkProtocol.call(this,e)}function IKe(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function LKe(e){this.config.exit.autolinkEmail.call(this,e)}function BKe(e){this.exit(e)}function QKe(e){RKe(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,zKe],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),qKe]],{ignore:["link","linkReference"]})}function zKe(e,t,n,r,i){let a="";if(!Kye(i)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!VKe(n)))return!1;const u=UKe(n+r);if(!u[0])return!1;const l={type:"link",title:null,url:a+t+u[0],children:[{type:"text",value:t+u[0]}]};return u[1]?[l,{type:"text",value:u[1]}]:l}function qKe(e,t,n,r){return!Kye(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function VKe(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function UKe(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=c$(e,"(");let a=c$(e,")");for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}function Kye(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||lb(n)||F5(n))&&(!t||n!==47)}Wye.peek=JKe;function jKe(){this.buffer()}function ZKe(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function HKe(){this.buffer()}function XKe(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function YKe(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=np(this.sliceSerialize(e)).toLowerCase(),n.label=t}function GKe(e){this.exit(e)}function KKe(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=np(this.sliceSerialize(e)).toLowerCase(),n.label=t}function WKe(e){this.exit(e)}function JKe(){return"["}function Wye(e,t,n,r){const i=n.createTracker(r);let a=i.move("[^");const u=n.enter("footnoteReference"),l=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),l(),u(),a+=i.move("]"),a}function eWe(){return{enter:{gfmFootnoteCallString:jKe,gfmFootnoteCall:ZKe,gfmFootnoteDefinitionLabelString:HKe,gfmFootnoteDefinition:XKe},exit:{gfmFootnoteCallString:YKe,gfmFootnoteCall:GKe,gfmFootnoteDefinitionLabelString:KKe,gfmFootnoteDefinition:WKe}}}function tWe(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Wye},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,a,u){const l=a.createTracker(u);let o=l.move("[^");const s=a.enter("footnoteDefinition"),c=a.enter("label");return o+=l.move(a.safe(a.associationId(r),{before:o,after:"]"})),c(),o+=l.move("]:"),r.children&&r.children.length>0&&(l.shift(4),o+=l.move((t?`
`:" ")+a.indentLines(a.containerFlow(r,l.current()),t?Jye:nWe))),s(),o}}function nWe(e,t,n){return t===0?e:Jye(e,t,n)}function Jye(e,t,n){return(n?"":"    ")+e}const rWe=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];e1e.peek=oWe;function iWe(){return{canContainEols:["delete"],enter:{strikethrough:uWe},exit:{strikethrough:lWe}}}function aWe(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:rWe}],handlers:{delete:e1e}}}function uWe(e){this.enter({type:"delete",children:[]},e)}function lWe(e){this.exit(e)}function e1e(e,t,n,r){const i=n.createTracker(r),a=n.enter("strikethrough");let u=i.move("~~");return u+=n.containerPhrasing(e,{...i.current(),before:u,after:"~"}),u+=i.move("~~"),a(),u}function oWe(){return"~"}function sWe(e){return e.length}function cWe(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||sWe,a=[],u=[],l=[],o=[];let s=0,c=-1;for(;++c<e.length;){const v=[],_=[];let x=-1;for(e[c].length>s&&(s=e[c].length);++x<e[c].length;){const E=fWe(e[c][x]);if(n.alignDelimiters!==!1){const w=i(E);_[x]=w,(o[x]===void 0||w>o[x])&&(o[x]=w)}v.push(E)}u[c]=v,l[c]=_}let d=-1;if(typeof r=="object"&&"length"in r)for(;++d<s;)a[d]=jK(r[d]);else{const v=jK(r);for(;++d<s;)a[d]=v}d=-1;const h=[],m=[];for(;++d<s;){const v=a[d];let _="",x="";v===99?(_=":",x=":"):v===108?_=":":v===114&&(x=":");let E=n.alignDelimiters===!1?1:Math.max(1,o[d]-_.length-x.length);const w=_+"-".repeat(E)+x;n.alignDelimiters!==!1&&(E=_.length+E+x.length,E>o[d]&&(o[d]=E),m[d]=E),h[d]=w}u.splice(1,0,h),l.splice(1,0,m),c=-1;const y=[];for(;++c<u.length;){const v=u[c],_=l[c];d=-1;const x=[];for(;++d<s;){const E=v[d]||"";let w="",T="";if(n.alignDelimiters!==!1){const R=o[d]-(_[d]||0),C=a[d];C===114?w=" ".repeat(R):C===99?R%2?(w=" ".repeat(R/2+.5),T=" ".repeat(R/2-.5)):(w=" ".repeat(R/2),T=w):T=" ".repeat(R)}n.delimiterStart!==!1&&!d&&x.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&E==="")&&(n.delimiterStart!==!1||d)&&x.push(" "),n.alignDelimiters!==!1&&x.push(w),x.push(E),n.alignDelimiters!==!1&&x.push(T),n.padding!==!1&&x.push(" "),(n.delimiterEnd!==!1||d!==s-1)&&x.push("|")}y.push(n.delimiterEnd===!1?x.join("").replace(/ +$/,""):x.join(""))}return y.join(`
`)}function fWe(e){return e==null?"":String(e)}function jK(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function dWe(e,t,n,r){const i=n.enter("blockquote"),a=n.createTracker(r);a.move("> "),a.shift(2);const u=n.indentLines(n.containerFlow(e,a.current()),hWe);return i(),u}function hWe(e,t,n){return">"+(n?"":" ")+e}function pWe(e,t){return ZK(e,t.inConstruct,!0)&&!ZK(e,t.notInConstruct,!1)}function ZK(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function HK(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
`&&pWe(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
`}function mWe(e,t){const n=String(e);let r=n.indexOf(t),i=r,a=0,u=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++a>u&&(u=a):a=1,i=r+t.length,r=n.indexOf(t,i);return u}function gWe(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function vWe(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function yWe(e,t,n,r){const i=vWe(n),a=e.value||"",u=i==="`"?"GraveAccent":"Tilde";if(gWe(e,n)){const d=n.enter("codeIndented"),h=n.indentLines(a,bWe);return d(),h}const l=n.createTracker(r),o=i.repeat(Math.max(mWe(a,i)+1,3)),s=n.enter("codeFenced");let c=l.move(o);if(e.lang){const d=n.enter(`codeFencedLang${u}`);c+=l.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...l.current()})),d()}if(e.lang&&e.meta){const d=n.enter(`codeFencedMeta${u}`);c+=l.move(" "),c+=l.move(n.safe(e.meta,{before:c,after:`
`,encode:["`"],...l.current()})),d()}return c+=l.move(`
`),a&&(c+=l.move(a+`
`)),c+=l.move(o),s(),c}function bWe(e,t,n){return(n?"":"    ")+e}function zL(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function OWe(e,t,n,r){const i=zL(n),a=i==='"'?"Quote":"Apostrophe",u=n.enter("definition");let l=n.enter("label");const o=n.createTracker(r);let s=o.move("[");return s+=o.move(n.safe(n.associationId(e),{before:s,after:"]",...o.current()})),s+=o.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),s+=o.move("<"),s+=o.move(n.safe(e.url,{before:s,after:">",...o.current()})),s+=o.move(">")):(l=n.enter("destinationRaw"),s+=o.move(n.safe(e.url,{before:s,after:e.title?" ":`
`,...o.current()}))),l(),e.title&&(l=n.enter(`title${a}`),s+=o.move(" "+i),s+=o.move(n.safe(e.title,{before:s,after:i,...o.current()})),s+=o.move(i),l()),u(),s}function SWe(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function kS(e){return"&#x"+e.toString(16).toUpperCase()+";"}function N$(e,t,n){const r=C3(e),i=C3(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}t1e.peek=xWe;function t1e(e,t,n,r){const i=SWe(n),a=n.enter("emphasis"),u=n.createTracker(r),l=u.move(i);let o=u.move(n.containerPhrasing(e,{after:i,before:l,...u.current()}));const s=o.charCodeAt(0),c=N$(r.before.charCodeAt(r.before.length-1),s,i);c.inside&&(o=kS(s)+o.slice(1));const d=o.charCodeAt(o.length-1),h=N$(r.after.charCodeAt(0),d,i);h.inside&&(o=o.slice(0,-1)+kS(d));const m=u.move(i);return a(),n.attentionEncodeSurroundingInfo={after:h.outside,before:c.outside},l+o+m}function xWe(e,t,n){return n.options.emphasis||"*"}function _We(e,t){let n=!1;return BL(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,LM}),!!((!e.depth||e.depth<3)&&kL(e)&&(t.options.setext||n))}function EWe(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(_We(e,n)){const c=n.enter("headingSetext"),d=n.enter("phrasing"),h=n.containerPhrasing(e,{...a.current(),before:`
`,after:`
`});return d(),c(),h+`
`+(i===1?"=":"-").repeat(h.length-(Math.max(h.lastIndexOf("\r"),h.lastIndexOf(`
`))+1))}const u="#".repeat(i),l=n.enter("headingAtx"),o=n.enter("phrasing");a.move(u+" ");let s=n.containerPhrasing(e,{before:"# ",after:`
`,...a.current()});return/^[\t ]/.test(s)&&(s=kS(s.charCodeAt(0))+s.slice(1)),s=s?u+" "+s:u,n.options.closeAtx&&(s+=" "+u),o(),l(),s}n1e.peek=DWe;function n1e(e){return e.value||""}function DWe(){return"<"}r1e.peek=$We;function r1e(e,t,n,r){const i=zL(n),a=i==='"'?"Quote":"Apostrophe",u=n.enter("image");let l=n.enter("label");const o=n.createTracker(r);let s=o.move("![");return s+=o.move(n.safe(e.alt,{before:s,after:"]",...o.current()})),s+=o.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),s+=o.move("<"),s+=o.move(n.safe(e.url,{before:s,after:">",...o.current()})),s+=o.move(">")):(l=n.enter("destinationRaw"),s+=o.move(n.safe(e.url,{before:s,after:e.title?" ":")",...o.current()}))),l(),e.title&&(l=n.enter(`title${a}`),s+=o.move(" "+i),s+=o.move(n.safe(e.title,{before:s,after:i,...o.current()})),s+=o.move(i),l()),s+=o.move(")"),u(),s}function $We(){return"!"}i1e.peek=CWe;function i1e(e,t,n,r){const i=e.referenceType,a=n.enter("imageReference");let u=n.enter("label");const l=n.createTracker(r);let o=l.move("![");const s=n.safe(e.alt,{before:o,after:"]",...l.current()});o+=l.move(s+"]["),u();const c=n.stack;n.stack=[],u=n.enter("reference");const d=n.safe(n.associationId(e),{before:o,after:"]",...l.current()});return u(),n.stack=c,a(),i==="full"||!s||s!==d?o+=l.move(d+"]"):i==="shortcut"?o=o.slice(0,-1):o+=l.move("]"),o}function CWe(){return"!"}a1e.peek=wWe;function a1e(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const u=n.unsafe[a],l=n.compilePattern(u);let o;if(u.atBreak)for(;o=l.exec(r);){let s=o.index;r.charCodeAt(s)===10&&r.charCodeAt(s-1)===13&&s--,r=r.slice(0,s)+" "+r.slice(o.index+1)}}return i+r+i}function wWe(){return"`"}function u1e(e,t){const n=kL(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}l1e.peek=RWe;function l1e(e,t,n,r){const i=zL(n),a=i==='"'?"Quote":"Apostrophe",u=n.createTracker(r);let l,o;if(u1e(e,n)){const c=n.stack;n.stack=[],l=n.enter("autolink");let d=u.move("<");return d+=u.move(n.containerPhrasing(e,{before:d,after:">",...u.current()})),d+=u.move(">"),l(),n.stack=c,d}l=n.enter("link"),o=n.enter("label");let s=u.move("[");return s+=u.move(n.containerPhrasing(e,{before:s,after:"](",...u.current()})),s+=u.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),s+=u.move("<"),s+=u.move(n.safe(e.url,{before:s,after:">",...u.current()})),s+=u.move(">")):(o=n.enter("destinationRaw"),s+=u.move(n.safe(e.url,{before:s,after:e.title?" ":")",...u.current()}))),o(),e.title&&(o=n.enter(`title${a}`),s+=u.move(" "+i),s+=u.move(n.safe(e.title,{before:s,after:i,...u.current()})),s+=u.move(i),o()),s+=u.move(")"),l(),s}function RWe(e,t,n){return u1e(e,n)?"<":"["}o1e.peek=AWe;function o1e(e,t,n,r){const i=e.referenceType,a=n.enter("linkReference");let u=n.enter("label");const l=n.createTracker(r);let o=l.move("[");const s=n.containerPhrasing(e,{before:o,after:"]",...l.current()});o+=l.move(s+"]["),u();const c=n.stack;n.stack=[],u=n.enter("reference");const d=n.safe(n.associationId(e),{before:o,after:"]",...l.current()});return u(),n.stack=c,a(),i==="full"||!s||s!==d?o+=l.move(d+"]"):i==="shortcut"?o=o.slice(0,-1):o+=l.move("]"),o}function AWe(){return"["}function qL(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function TWe(e){const t=qL(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function kWe(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function s1e(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function PWe(e,t,n,r){const i=n.enter("list"),a=n.bulletCurrent;let u=e.ordered?kWe(n):qL(n);const l=e.ordered?u==="."?")":".":TWe(n);let o=t&&n.bulletLastUsed?u===n.bulletLastUsed:!1;if(!e.ordered){const c=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&c&&(!c.children||!c.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(o=!0),s1e(n)===u&&c){let d=-1;for(;++d<e.children.length;){const h=e.children[d];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){o=!0;break}}}}o&&(u=l),n.bulletCurrent=u;const s=n.containerFlow(e,r);return n.bulletLastUsed=u,n.bulletCurrent=a,i(),s}function MWe(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function FWe(e,t,n,r){const i=MWe(n);let a=n.bulletCurrent||qL(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let u=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(u=Math.ceil(u/4)*4);const l=n.createTracker(r);l.move(a+" ".repeat(u-a.length)),l.shift(u);const o=n.enter("listItem"),s=n.indentLines(n.containerFlow(e,l.current()),c);return o(),s;function c(d,h,m){return h?(m?"":" ".repeat(u))+d:(m?a:a+" ".repeat(u-a.length))+d}}function NWe(e,t,n,r){const i=n.enter("paragraph"),a=n.enter("phrasing"),u=n.containerPhrasing(e,r);return a(),i(),u}const IWe=L5(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function LWe(e,t,n,r){return(e.children.some(function(u){return IWe(u)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function BWe(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}c1e.peek=QWe;function c1e(e,t,n,r){const i=BWe(n),a=n.enter("strong"),u=n.createTracker(r),l=u.move(i+i);let o=u.move(n.containerPhrasing(e,{after:i,before:l,...u.current()}));const s=o.charCodeAt(0),c=N$(r.before.charCodeAt(r.before.length-1),s,i);c.inside&&(o=kS(s)+o.slice(1));const d=o.charCodeAt(o.length-1),h=N$(r.after.charCodeAt(0),d,i);h.inside&&(o=o.slice(0,-1)+kS(d));const m=u.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:h.outside,before:c.outside},l+o+m}function QWe(e,t,n){return n.options.strong||"*"}function zWe(e,t,n,r){return n.safe(e.value,r)}function qWe(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function VWe(e,t,n){const r=(s1e(n)+(n.options.ruleSpaces?" ":"")).repeat(qWe(n));return n.options.ruleSpaces?r.slice(0,-1):r}const f1e={blockquote:dWe,break:HK,code:yWe,definition:OWe,emphasis:t1e,hardBreak:HK,heading:EWe,html:n1e,image:r1e,imageReference:i1e,inlineCode:a1e,link:l1e,linkReference:o1e,list:PWe,listItem:FWe,paragraph:NWe,root:LWe,strong:c1e,text:zWe,thematicBreak:VWe};function UWe(){return{enter:{table:jWe,tableData:XK,tableHeader:XK,tableRow:HWe},exit:{codeText:XWe,table:ZWe,tableData:h7,tableHeader:h7,tableRow:h7}}}function jWe(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function ZWe(e){this.exit(e),this.data.inTable=void 0}function HWe(e){this.enter({type:"tableRow",children:[]},e)}function h7(e){this.exit(e)}function XK(e){this.enter({type:"tableCell",children:[]},e)}function XWe(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,YWe));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function YWe(e,t){return t==="|"?t:e}function GWe(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:u,tableCell:o,tableRow:l}};function u(m,y,v,_){return s(c(m,v,_),m.align)}function l(m,y,v,_){const x=d(m,v,_),E=s([x]);return E.slice(0,E.indexOf(`
`))}function o(m,y,v,_){const x=v.enter("tableCell"),E=v.enter("phrasing"),w=v.containerPhrasing(m,{..._,before:a,after:a});return E(),x(),w}function s(m,y){return cWe(m,{align:y,alignDelimiters:r,padding:n,stringLength:i})}function c(m,y,v){const _=m.children;let x=-1;const E=[],w=y.enter("table");for(;++x<_.length;)E[x]=d(_[x],y,v);return w(),E}function d(m,y,v){const _=m.children;let x=-1;const E=[],w=y.enter("tableRow");for(;++x<_.length;)E[x]=o(_[x],m,y,v);return w(),E}function h(m,y,v){let _=f1e.inlineCode(m,y,v);return v.stack.includes("tableCell")&&(_=_.replace(/\|/g,"\\$&")),_}}function KWe(){return{exit:{taskListCheckValueChecked:YK,taskListCheckValueUnchecked:YK,paragraph:JWe}}}function WWe(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:eJe}}}function YK(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function JWe(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,u;for(;++a<i.length;){const l=i[a];if(l.type==="paragraph"){u=l;break}}u===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function eJe(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",l=n.createTracker(r);a&&l.move(u);let o=f1e.listItem(e,t,n,{...r,...l.current()});return a&&(o=o.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,s)),o;function s(c){return c+u}}function tJe(){return[PKe(),eWe(),iWe(),UWe(),KWe()]}function nJe(e){return{extensions:[MKe(),tWe(e),aWe(),GWe(e),WWe()]}}const rJe={tokenize:sJe,partial:!0},d1e={tokenize:cJe,partial:!0},h1e={tokenize:fJe,partial:!0},p1e={tokenize:dJe,partial:!0},iJe={tokenize:hJe,partial:!0},m1e={name:"wwwAutolink",tokenize:lJe,previous:v1e},g1e={name:"protocolAutolink",tokenize:oJe,previous:y1e},dg={name:"emailAutolink",tokenize:uJe,previous:b1e},L0={};function aJe(){return{text:L0}}let c1=48;for(;c1<123;)L0[c1]=dg,c1++,c1===58?c1=65:c1===91&&(c1=97);L0[43]=dg;L0[45]=dg;L0[46]=dg;L0[95]=dg;L0[72]=[dg,g1e];L0[104]=[dg,g1e];L0[87]=[dg,m1e];L0[119]=[dg,m1e];function uJe(e,t,n){const r=this;let i,a;return u;function u(d){return!qM(d)||!b1e.call(r,r.previous)||VL(r.events)?n(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(d))}function l(d){return qM(d)?(e.consume(d),l):d===64?(e.consume(d),o):n(d)}function o(d){return d===46?e.check(iJe,c,s)(d):d===45||d===95||fs(d)?(a=!0,e.consume(d),o):c(d)}function s(d){return e.consume(d),i=!0,o}function c(d){return a&&i&&ic(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):n(d)}}function lJe(e,t,n){const r=this;return i;function i(u){return u!==87&&u!==119||!v1e.call(r,r.previous)||VL(r.events)?n(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(rJe,e.attempt(d1e,e.attempt(h1e,a),n),n)(u))}function a(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function oJe(e,t,n){const r=this;let i="",a=!1;return u;function u(d){return(d===72||d===104)&&y1e.call(r,r.previous)&&!VL(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(d),e.consume(d),l):n(d)}function l(d){if(ic(d)&&i.length<5)return i+=String.fromCodePoint(d),e.consume(d),l;if(d===58){const h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(d),o}return n(d)}function o(d){return d===47?(e.consume(d),a?s:(a=!0,o)):n(d)}function s(d){return d===null||P$(d)||ua(d)||lb(d)||F5(d)?n(d):e.attempt(d1e,e.attempt(h1e,c),n)(d)}function c(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function sJe(e,t,n){let r=0;return i;function i(u){return(u===87||u===119)&&r<3?(r++,e.consume(u),i):u===46&&r===3?(e.consume(u),a):n(u)}function a(u){return u===null?n(u):t(u)}}function cJe(e,t,n){let r,i,a;return u;function u(s){return s===46||s===95?e.check(p1e,o,l)(s):s===null||ua(s)||lb(s)||s!==45&&F5(s)?o(s):(a=!0,e.consume(s),u)}function l(s){return s===95?r=!0:(i=r,r=void 0),e.consume(s),u}function o(s){return i||r||!a?n(s):t(s)}}function fJe(e,t){let n=0,r=0;return i;function i(u){return u===40?(n++,e.consume(u),i):u===41&&r<n?a(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(p1e,t,a)(u):u===null||ua(u)||lb(u)?t(u):(e.consume(u),i)}function a(u){return u===41&&r++,e.consume(u),i}}function dJe(e,t,n){return r;function r(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),r):l===38?(e.consume(l),a):l===93?(e.consume(l),i):l===60||l===null||ua(l)||lb(l)?t(l):n(l)}function i(l){return l===null||l===40||l===91||ua(l)||lb(l)?t(l):r(l)}function a(l){return ic(l)?u(l):n(l)}function u(l){return l===59?(e.consume(l),r):ic(l)?(e.consume(l),u):n(l)}}function hJe(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return fs(a)?n(a):t(a)}}function v1e(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ua(e)}function y1e(e){return!ic(e)}function b1e(e){return!(e===47||qM(e))}function qM(e){return e===43||e===45||e===46||e===95||fs(e)}function VL(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const pJe={tokenize:xJe,partial:!0};function mJe(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:bJe,continuation:{tokenize:OJe},exit:SJe}},text:{91:{name:"gfmFootnoteCall",tokenize:yJe},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:gJe,resolveTo:vJe}}}}function gJe(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u;for(;i--;){const o=r.events[i][1];if(o.type==="labelImage"){u=o;break}if(o.type==="gfmFootnoteCall"||o.type==="labelLink"||o.type==="label"||o.type==="image"||o.type==="link")break}return l;function l(o){if(!u||!u._balanced)return n(o);const s=np(r.sliceSerialize({start:u.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(o):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o))}}function vJe(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",u,t],["exit",u,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function yJe(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,u;return l;function l(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),o}function o(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(d){if(a>999||d===93&&!u||d===null||d===91||ua(d))return n(d);if(d===93){e.exit("chunkString");const h=e.exit("gfmFootnoteCallString");return i.includes(np(r.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(d)}return ua(d)||(u=!0),a++,e.consume(d),d===92?c:s}function c(d){return d===91||d===92||d===93?(e.consume(d),a++,s):s(d)}}function bJe(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,u=0,l;return o;function o(y){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),s}function s(y){return y===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(y)}function c(y){if(u>999||y===93&&!l||y===null||y===91||ua(y))return n(y);if(y===93){e.exit("chunkString");const v=e.exit("gfmFootnoteDefinitionLabelString");return a=np(r.sliceSerialize(v)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return ua(y)||(l=!0),u++,e.consume(y),y===92?d:c}function d(y){return y===91||y===92||y===93?(e.consume(y),u++,c):c(y)}function h(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),i.includes(a)||i.push(a),oi(e,m,"gfmFootnoteDefinitionWhitespace")):n(y)}function m(y){return t(y)}}function OJe(e,t,n){return e.check(vx,t,e.attempt(pJe,t,n))}function SJe(e){e.exit("gfmFootnoteDefinition")}function xJe(e,t,n){const r=this;return oi(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const u=r.events[r.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?t(a):n(a)}}function _Je(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(u,l){let o=-1;for(;++o<u.length;)if(u[o][0]==="enter"&&u[o][1].type==="strikethroughSequenceTemporary"&&u[o][1]._close){let s=o;for(;s--;)if(u[s][0]==="exit"&&u[s][1].type==="strikethroughSequenceTemporary"&&u[s][1]._open&&u[o][1].end.offset-u[o][1].start.offset===u[s][1].end.offset-u[s][1].start.offset){u[o][1].type="strikethroughSequence",u[s][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},u[s][1].start),end:Object.assign({},u[o][1].end)},d={type:"strikethroughText",start:Object.assign({},u[s][1].end),end:Object.assign({},u[o][1].start)},h=[["enter",c,l],["enter",u[s][1],l],["exit",u[s][1],l],["enter",d,l]],m=l.parser.constructs.insideSpan.null;m&&Uf(h,h.length,0,N5(m,u.slice(s+1,o),l)),Uf(h,h.length,0,[["exit",d,l],["enter",u[o][1],l],["exit",u[o][1],l],["exit",c,l]]),Uf(u,s-1,o-s+3,h),o=s+h.length-2;break}}for(o=-1;++o<u.length;)u[o][1].type==="strikethroughSequenceTemporary"&&(u[o][1].type="data");return u}function a(u,l,o){const s=this.previous,c=this.events;let d=0;return h;function h(y){return s===126&&c[c.length-1][1].type!=="characterEscape"?o(y):(u.enter("strikethroughSequenceTemporary"),m(y))}function m(y){const v=C3(s);if(y===126)return d>1?o(y):(u.consume(y),d++,m);if(d<2&&!n)return o(y);const _=u.exit("strikethroughSequenceTemporary"),x=C3(y);return _._open=!x||x===2&&!!v,_._close=!v||v===2&&!!x,l(y)}}}class EJe{constructor(){this.map=[]}add(t,n,r){DJe(this,t,n,r)}consume(t){if(this.map.sort(function(a,u){return a[0]-u[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0}}function DJe(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function $Je(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function CJe(){return{flow:{null:{name:"table",tokenize:wJe,resolveAll:RJe}}}}function wJe(e,t,n){const r=this;let i=0,a=0,u;return l;function l(Z){let q=r.events.length-1;for(;q>-1;){const V=r.events[q][1].type;if(V==="lineEnding"||V==="linePrefix")q--;else break}const j=q>-1?r.events[q][1].type:null,N=j==="tableHead"||j==="tableRow"?C:o;return N===C&&r.parser.lazy[r.now().line]?n(Z):N(Z)}function o(Z){return e.enter("tableHead"),e.enter("tableRow"),s(Z)}function s(Z){return Z===124||(u=!0,a+=1),c(Z)}function c(Z){return Z===null?n(Z):Pn(Z)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(Z),e.exit("lineEnding"),m):n(Z):Br(Z)?oi(e,c,"whitespace")(Z):(a+=1,u&&(u=!1,i+=1),Z===124?(e.enter("tableCellDivider"),e.consume(Z),e.exit("tableCellDivider"),u=!0,c):(e.enter("data"),d(Z)))}function d(Z){return Z===null||Z===124||ua(Z)?(e.exit("data"),c(Z)):(e.consume(Z),Z===92?h:d)}function h(Z){return Z===92||Z===124?(e.consume(Z),d):d(Z)}function m(Z){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(Z):(e.enter("tableDelimiterRow"),u=!1,Br(Z)?oi(e,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Z):y(Z))}function y(Z){return Z===45||Z===58?_(Z):Z===124?(u=!0,e.enter("tableCellDivider"),e.consume(Z),e.exit("tableCellDivider"),v):R(Z)}function v(Z){return Br(Z)?oi(e,_,"whitespace")(Z):_(Z)}function _(Z){return Z===58?(a+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(Z),e.exit("tableDelimiterMarker"),x):Z===45?(a+=1,x(Z)):Z===null||Pn(Z)?T(Z):R(Z)}function x(Z){return Z===45?(e.enter("tableDelimiterFiller"),E(Z)):R(Z)}function E(Z){return Z===45?(e.consume(Z),E):Z===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(Z),e.exit("tableDelimiterMarker"),w):(e.exit("tableDelimiterFiller"),w(Z))}function w(Z){return Br(Z)?oi(e,T,"whitespace")(Z):T(Z)}function T(Z){return Z===124?y(Z):Z===null||Pn(Z)?!u||i!==a?R(Z):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(Z)):R(Z)}function R(Z){return n(Z)}function C(Z){return e.enter("tableRow"),k(Z)}function k(Z){return Z===124?(e.enter("tableCellDivider"),e.consume(Z),e.exit("tableCellDivider"),k):Z===null||Pn(Z)?(e.exit("tableRow"),t(Z)):Br(Z)?oi(e,k,"whitespace")(Z):(e.enter("data"),F(Z))}function F(Z){return Z===null||Z===124||ua(Z)?(e.exit("data"),k(Z)):(e.consume(Z),Z===92?z:F)}function z(Z){return Z===92||Z===124?(e.consume(Z),F):F(Z)}}function RJe(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],u=[0,0,0,0],l=!1,o=0,s,c,d;const h=new EJe;for(;++n<e.length;){const m=e[n],y=m[1];m[0]==="enter"?y.type==="tableHead"?(l=!1,o!==0&&(GK(h,t,o,s,c),c=void 0,o=0),s={type:"table",start:Object.assign({},y.start),end:Object.assign({},y.end)},h.add(n,0,[["enter",s,t]])):y.type==="tableRow"||y.type==="tableDelimiterRow"?(r=!0,d=void 0,a=[0,0,0,0],u=[0,n+1,0,0],l&&(l=!1,c={type:"tableBody",start:Object.assign({},y.start),end:Object.assign({},y.end)},h.add(n,0,[["enter",c,t]])),i=y.type==="tableDelimiterRow"?2:c?3:1):i&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")?(r=!1,u[2]===0&&(a[1]!==0&&(u[0]=u[1],d=dE(h,t,a,i,void 0,d),a=[0,0,0,0]),u[2]=n)):y.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(u[0]=u[1],d=dE(h,t,a,i,void 0,d)),a=u,u=[a[1],n,0,0])):y.type==="tableHead"?(l=!0,o=n):y.type==="tableRow"||y.type==="tableDelimiterRow"?(o=n,a[1]!==0?(u[0]=u[1],d=dE(h,t,a,i,n,d)):u[1]!==0&&(d=dE(h,t,u,i,n,d)),i=0):i&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")&&(u[3]=n)}for(o!==0&&GK(h,t,o,s,c),h.consume(t.events),n=-1;++n<t.events.length;){const m=t.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=$Je(t.events,n))}return e}function dE(e,t,n,r,i,a){const u=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",l="tableContent";n[0]!==0&&(a.end=Object.assign({},CO(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const o=CO(t.events,n[1]);if(a={type:u,start:Object.assign({},o),end:Object.assign({},o)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const s=CO(t.events,n[2]),c=CO(t.events,n[3]),d={type:l,start:Object.assign({},s),end:Object.assign({},c)};if(e.add(n[2],0,[["enter",d,t]]),r!==2){const h=t.events[n[2]],m=t.events[n[3]];if(h[1].end=Object.assign({},m[1].end),h[1].type="chunkText",h[1].contentType="text",n[3]>n[2]+1){const y=n[2]+1,v=n[3]-n[2]-1;e.add(y,v,[])}}e.add(n[3]+1,0,[["exit",d,t]])}return i!==void 0&&(a.end=Object.assign({},CO(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function GK(e,t,n,r,i){const a=[],u=CO(t.events,n);i&&(i.end=Object.assign({},u),a.push(["exit",i,t])),r.end=Object.assign({},u),a.push(["exit",r,t]),e.add(n+1,0,a)}function CO(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const AJe={name:"tasklistCheck",tokenize:kJe};function TJe(){return{text:{91:AJe}}}function kJe(e,t,n){const r=this;return i;function i(o){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(o):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(o),e.exit("taskListCheckMarker"),a)}function a(o){return ua(o)?(e.enter("taskListCheckValueUnchecked"),e.consume(o),e.exit("taskListCheckValueUnchecked"),u):o===88||o===120?(e.enter("taskListCheckValueChecked"),e.consume(o),e.exit("taskListCheckValueChecked"),u):n(o)}function u(o){return o===93?(e.enter("taskListCheckMarker"),e.consume(o),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(o)}function l(o){return Pn(o)?t(o):Br(o)?e.check({tokenize:PJe},t,n)(o):n(o)}}function PJe(e,t,n){return oi(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function MJe(e){return Aye([aJe(),mJe(),_Je(e),CJe(),TJe()])}const FJe={};function Xat(e){const t=this,n=e||FJe,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),u=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(MJe(n)),a.push(tJe()),u.push(nJe(n))}function NJe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return P.useMemo(()=>r=>{t.forEach(i=>i(r))},t)}const Q5=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function e4(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function UL(e){return"nodeType"in e}function df(e){var t,n;return e?e4(e)?e:UL(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function jL(e){const{Document:t}=df(e);return e instanceof t}function bx(e){return e4(e)?!1:e instanceof df(e).HTMLElement}function O1e(e){return e instanceof df(e).SVGElement}function t4(e){return e?e4(e)?e.document:UL(e)?jL(e)?e:bx(e)||O1e(e)?e.ownerDocument:document:document:document}const R0=Q5?P.useLayoutEffect:P.useEffect;function ZL(e){const t=P.useRef(e);return R0(()=>{t.current=e}),P.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.current==null?void 0:t.current(...r)},[])}function IJe(){const e=P.useRef(null),t=P.useCallback((r,i)=>{e.current=setInterval(r,i)},[]),n=P.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function PS(e,t){t===void 0&&(t=[e]);const n=P.useRef(e);return R0(()=>{n.current!==e&&(n.current=e)},t),n}function Ox(e,t){const n=P.useRef();return P.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function I$(e){const t=ZL(e),n=P.useRef(null),r=P.useCallback(i=>{i!==n.current&&(t==null||t(i,n.current)),n.current=i},[]);return[n,r]}function VM(e){const t=P.useRef();return P.useEffect(()=>{t.current=e},[e]),t.current}let p7={};function Sx(e,t){return P.useMemo(()=>{if(t)return t;const n=p7[e]==null?0:p7[e]+1;return p7[e]=n,e+"-"+n},[e,t])}function S1e(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((a,u)=>{const l=Object.entries(u);for(const[o,s]of l){const c=a[o];c!=null&&(a[o]=c+e*s)}return a},{...t})}}const l3=S1e(1),MS=S1e(-1);function LJe(e){return"clientX"in e&&"clientY"in e}function HL(e){if(!e)return!1;const{KeyboardEvent:t}=df(e.target);return t&&e instanceof t}function BJe(e){if(!e)return!1;const{TouchEvent:t}=df(e.target);return t&&e instanceof t}function UM(e){if(BJe(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return LJe(e)?{x:e.clientX,y:e.clientY}:null}const L$=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[L$.Translate.toString(e),L$.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),KK="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function QJe(e){return e.matches(KK)?e:e.querySelector(KK)}const zJe={display:"none"};function qJe(e){let{id:t,value:n}=e;return ve.createElement("div",{id:t,style:zJe},n)}function VJe(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const i={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return ve.createElement("div",{id:t,style:i,role:"status","aria-live":r,"aria-atomic":!0},n)}function UJe(){const[e,t]=P.useState("");return{announce:P.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const x1e=P.createContext(null);function jJe(e){const t=P.useContext(x1e);P.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function ZJe(){const[e]=P.useState(()=>new Set),t=P.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[P.useCallback(r=>{let{type:i,event:a}=r;e.forEach(u=>{var l;return(l=u[i])==null?void 0:l.call(u,a)})},[e]),t]}const HJe={draggable:`
    To pick up a draggable item, press the space bar.
    While dragging, use the arrow keys to move the item.
    Press space again to drop the item in its new position, or press escape to cancel.
  `},XJe={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function YJe(e){let{announcements:t=XJe,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=HJe}=e;const{announce:a,announcement:u}=UJe(),l=Sx("DndLiveRegion"),[o,s]=P.useState(!1);if(P.useEffect(()=>{s(!0)},[]),jJe(P.useMemo(()=>({onDragStart(d){let{active:h}=d;a(t.onDragStart({active:h}))},onDragMove(d){let{active:h,over:m}=d;t.onDragMove&&a(t.onDragMove({active:h,over:m}))},onDragOver(d){let{active:h,over:m}=d;a(t.onDragOver({active:h,over:m}))},onDragEnd(d){let{active:h,over:m}=d;a(t.onDragEnd({active:h,over:m}))},onDragCancel(d){let{active:h,over:m}=d;a(t.onDragCancel({active:h,over:m}))}}),[a,t])),!o)return null;const c=ve.createElement(ve.Fragment,null,ve.createElement(qJe,{id:r,value:i.draggable}),ve.createElement(VJe,{id:l,announcement:u}));return n?zf.createPortal(c,n):c}var _l;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(_l||(_l={}));function B$(){}function Yat(e,t){return P.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function Gat(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return P.useMemo(()=>[...t].filter(r=>r!=null),[...t])}const op=Object.freeze({x:0,y:0});function GJe(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function KJe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function WJe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function WK(e){let{left:t,top:n,height:r,width:i}=e;return[{x:t,y:n},{x:t+i,y:n},{x:t,y:n+r},{x:t+i,y:n+r}]}function _1e(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}const JJe=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const i=WK(t),a=[];for(const u of r){const{id:l}=u,o=n.get(l);if(o){const s=WK(o),c=i.reduce((h,m,y)=>h+GJe(s[y],m),0),d=Number((c/4).toFixed(4));a.push({id:l,data:{droppableContainer:u,value:d}})}}return a.sort(KJe)};function eet(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),u=i-r,l=a-n;if(r<i&&n<a){const o=t.width*t.height,s=e.width*e.height,c=u*l,d=c/(o+s-c);return Number(d.toFixed(4))}return 0}const tet=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const i=[];for(const a of r){const{id:u}=a,l=n.get(u);if(l){const o=eet(l,t);o>0&&i.push({id:u,data:{droppableContainer:a,value:o}})}}return i.sort(WJe)};function net(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function E1e(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:op}function ret(e){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return i.reduce((u,l)=>({...u,top:u.top+e*l.y,bottom:u.bottom+e*l.y,left:u.left+e*l.x,right:u.right+e*l.x}),{...n})}}const iet=ret(1);function aet(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function uet(e,t,n){const r=aet(t);if(!r)return e;const{scaleX:i,scaleY:a,x:u,y:l}=r,o=e.left-u-(1-i)*parseFloat(n),s=e.top-l-(1-a)*parseFloat(n.slice(n.indexOf(" ")+1)),c=i?e.width/i:e.width,d=a?e.height/a:e.height;return{width:c,height:d,top:s,right:o+c,bottom:s+d,left:o}}const oet={ignoreTransform:!1};function n4(e,t){t===void 0&&(t=oet);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:s,transformOrigin:c}=df(e).getComputedStyle(e);s&&(n=uet(n,s,c))}const{top:r,left:i,width:a,height:u,bottom:l,right:o}=n;return{top:r,left:i,width:a,height:u,bottom:l,right:o}}function JK(e){return n4(e,{ignoreTransform:!0})}function set(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function cet(e,t){return t===void 0&&(t=df(e).getComputedStyle(e)),t.position==="fixed"}function fet(e,t){t===void 0&&(t=df(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const a=t[i];return typeof a=="string"?n.test(a):!1})}function z5(e,t){const n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(jL(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!bx(i)||O1e(i)||n.includes(i))return n;const a=df(e).getComputedStyle(i);return i!==e&&fet(i,a)&&n.push(i),cet(i,a)?n:r(i.parentNode)}return e?r(e):n}function D1e(e){const[t]=z5(e,1);return t??null}function m7(e){return!Q5||!e?null:e4(e)?e:UL(e)?jL(e)||e===t4(e).scrollingElement?window:bx(e)?e:null:null}function $1e(e){return e4(e)?e.scrollX:e.scrollLeft}function C1e(e){return e4(e)?e.scrollY:e.scrollTop}function jM(e){return{x:$1e(e),y:C1e(e)}}var Wl;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Wl||(Wl={}));function w1e(e){return!Q5||!e?!1:e===document.scrollingElement}function R1e(e){const t={x:0,y:0},n=w1e(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,a=e.scrollLeft<=t.x,u=e.scrollTop>=r.y,l=e.scrollLeft>=r.x;return{isTop:i,isLeft:a,isBottom:u,isRight:l,maxScroll:r,minScroll:t}}const det={x:.2,y:.2};function het(e,t,n,r,i){let{top:a,left:u,right:l,bottom:o}=n;r===void 0&&(r=10),i===void 0&&(i=det);const{isTop:s,isBottom:c,isLeft:d,isRight:h}=R1e(e),m={x:0,y:0},y={x:0,y:0},v={height:t.height*i.y,width:t.width*i.x};return!s&&a<=t.top+v.height?(m.y=Wl.Backward,y.y=r*Math.abs((t.top+v.height-a)/v.height)):!c&&o>=t.bottom-v.height&&(m.y=Wl.Forward,y.y=r*Math.abs((t.bottom-v.height-o)/v.height)),!h&&l>=t.right-v.width?(m.x=Wl.Forward,y.x=r*Math.abs((t.right-v.width-l)/v.width)):!d&&u<=t.left+v.width&&(m.x=Wl.Backward,y.x=r*Math.abs((t.left+v.width-u)/v.width)),{direction:m,speed:y}}function pet(e){if(e===document.scrollingElement){const{innerWidth:a,innerHeight:u}=window;return{top:0,left:0,right:a,bottom:u,width:a,height:u}}const{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function A1e(e){return e.reduce((t,n)=>l3(t,jM(n)),op)}function met(e){return e.reduce((t,n)=>t+$1e(n),0)}function get(e){return e.reduce((t,n)=>t+C1e(n),0)}function vet(e,t){if(t===void 0&&(t=n4),!e)return;const{top:n,left:r,bottom:i,right:a}=t(e);D1e(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const yet=[["x",["left","right"],met],["y",["top","bottom"],get]];class XL{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=z5(n),i=A1e(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[a,u,l]of yet)for(const o of u)Object.defineProperty(this,o,{get:()=>{const s=l(r),c=i[a]-s;return this.rect[o]+c},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class L2{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var i;(i=this.target)==null||i.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function bet(e){const{EventTarget:t}=df(e);return e instanceof t?e:t4(e)}function g7(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var Qd;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(Qd||(Qd={}));function eW(e){e.preventDefault()}function Oet(e){e.stopPropagation()}var Wr;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(Wr||(Wr={}));const T1e={start:[Wr.Space,Wr.Enter],cancel:[Wr.Esc],end:[Wr.Space,Wr.Enter,Wr.Tab]},xet=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Wr.Right:return{...n,x:n.x+25};case Wr.Left:return{...n,x:n.x-25};case Wr.Down:return{...n,y:n.y+25};case Wr.Up:return{...n,y:n.y-25}}};class k1e{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new L2(t4(n)),this.windowListeners=new L2(df(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Qd.Resize,this.handleCancel),this.windowListeners.add(Qd.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Qd.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&vet(r),n(op)}handleKeyDown(t){if(HL(t)){const{active:n,context:r,options:i}=this.props,{keyboardCodes:a=T1e,coordinateGetter:u=xet,scrollBehavior:l="smooth"}=i,{code:o}=t;if(a.end.includes(o)){this.handleEnd(t);return}if(a.cancel.includes(o)){this.handleCancel(t);return}const{collisionRect:s}=r.current,c=s?{x:s.left,y:s.top}:op;this.referenceCoordinates||(this.referenceCoordinates=c);const d=u(t,{active:n,context:r.current,currentCoordinates:c});if(d){const h=MS(d,c),m={x:0,y:0},{scrollableAncestors:y}=r.current;for(const v of y){const _=t.code,{isTop:x,isRight:E,isLeft:w,isBottom:T,maxScroll:R,minScroll:C}=R1e(v),k=pet(v),F={x:Math.min(_===Wr.Right?k.right-k.width/2:k.right,Math.max(_===Wr.Right?k.left:k.left+k.width/2,d.x)),y:Math.min(_===Wr.Down?k.bottom-k.height/2:k.bottom,Math.max(_===Wr.Down?k.top:k.top+k.height/2,d.y))},z=_===Wr.Right&&!E||_===Wr.Left&&!w,Z=_===Wr.Down&&!T||_===Wr.Up&&!x;if(z&&F.x!==d.x){const q=v.scrollLeft+h.x,j=_===Wr.Right&&q<=R.x||_===Wr.Left&&q>=C.x;if(j&&!h.y){v.scrollTo({left:q,behavior:l});return}j?m.x=v.scrollLeft-q:m.x=_===Wr.Right?v.scrollLeft-R.x:v.scrollLeft-C.x,m.x&&v.scrollBy({left:-m.x,behavior:l});break}else if(Z&&F.y!==d.y){const q=v.scrollTop+h.y,j=_===Wr.Down&&q<=R.y||_===Wr.Up&&q>=C.y;if(j&&!h.x){v.scrollTo({top:q,behavior:l});return}j?m.y=v.scrollTop-q:m.y=_===Wr.Down?v.scrollTop-R.y:v.scrollTop-C.y,m.y&&v.scrollBy({top:-m.y,behavior:l});break}}this.handleMove(t,l3(MS(d,this.referenceCoordinates),m))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}k1e.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=T1e,onActivation:i}=t,{active:a}=n;const{code:u}=e.nativeEvent;if(r.start.includes(u)){const l=a.activatorNode.current;return l&&e.target!==l?!1:(e.preventDefault(),i==null||i({event:e.nativeEvent}),!0)}return!1}}];function tW(e){return!!(e&&"distance"in e)}function nW(e){return!!(e&&"delay"in e)}class YL{constructor(t,n,r){var i;r===void 0&&(r=bet(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:a}=t,{target:u}=a;this.props=t,this.events=n,this.document=t4(u),this.documentListeners=new L2(this.document),this.listeners=new L2(r),this.windowListeners=new L2(df(u)),this.initialCoordinates=(i=UM(a))!=null?i:op,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(Qd.Resize,this.handleCancel),this.windowListeners.add(Qd.DragStart,eW),this.windowListeners.add(Qd.VisibilityChange,this.handleCancel),this.windowListeners.add(Qd.ContextMenu,eW),this.documentListeners.add(Qd.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(nW(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if(tW(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:r,onPending:i}=this.props;i(r,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(Qd.Click,Oet,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Qd.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:i,props:a}=this,{onMove:u,options:{activationConstraint:l}}=a;if(!i)return;const o=(n=UM(t))!=null?n:op,s=MS(i,o);if(!r&&l){if(tW(l)){if(l.tolerance!=null&&g7(s,l.tolerance))return this.handleCancel();if(g7(s,l.distance))return this.handleStart()}if(nW(l)&&g7(s,l.tolerance))return this.handleCancel();this.handlePending(l,s);return}t.cancelable&&t.preventDefault(),u(o)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===Wr.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const _et={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class P1e extends YL{constructor(t){const{event:n}=t,r=t4(n.target);super(t,_et,r)}}P1e.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r==null||r({event:n}),!0)}}];const Eet={move:{name:"mousemove"},end:{name:"mouseup"}};var ZM;(function(e){e[e.RightClick=2]="RightClick"})(ZM||(ZM={}));class Det extends YL{constructor(t){super(t,Eet,t4(t.event.target))}}Det.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===ZM.RightClick?!1:(r==null||r({event:n}),!0)}}];const v7={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class $et extends YL{constructor(t){super(t,v7)}static setup(){return window.addEventListener(v7.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(v7.move.name,t)};function t(){}}}$et.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:i}=n;return i.length>1?!1:(r==null||r({event:n}),!0)}}];var B2;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(B2||(B2={}));var Q$;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Q$||(Q$={}));function Cet(e){let{acceleration:t,activator:n=B2.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:u=5,order:l=Q$.TreeOrder,pointerCoordinates:o,scrollableAncestors:s,scrollableAncestorRects:c,delta:d,threshold:h}=e;const m=Ret({delta:d,disabled:!a}),[y,v]=IJe(),_=P.useRef({x:0,y:0}),x=P.useRef({x:0,y:0}),E=P.useMemo(()=>{switch(n){case B2.Pointer:return o?{top:o.y,bottom:o.y,left:o.x,right:o.x}:null;case B2.DraggableRect:return i}},[n,i,o]),w=P.useRef(null),T=P.useCallback(()=>{const C=w.current;if(!C)return;const k=_.current.x*x.current.x,F=_.current.y*x.current.y;C.scrollBy(k,F)},[]),R=P.useMemo(()=>l===Q$.TreeOrder?[...s].reverse():s,[l,s]);P.useEffect(()=>{if(!a||!s.length||!E){v();return}for(const C of R){if((r==null?void 0:r(C))===!1)continue;const k=s.indexOf(C),F=c[k];if(!F)continue;const{direction:z,speed:Z}=het(C,F,E,t,h);for(const q of["x","y"])m[q][z[q]]||(Z[q]=0,z[q]=0);if(Z.x>0||Z.y>0){v(),w.current=C,y(T,u),_.current=Z,x.current=z;return}}_.current={x:0,y:0},x.current={x:0,y:0},v()},[t,T,r,v,a,u,JSON.stringify(E),JSON.stringify(m),y,s,R,c,JSON.stringify(h)])}const wet={x:{[Wl.Backward]:!1,[Wl.Forward]:!1},y:{[Wl.Backward]:!1,[Wl.Forward]:!1}};function Ret(e){let{delta:t,disabled:n}=e;const r=VM(t);return Ox(i=>{if(n||!r||!i)return wet;const a={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Wl.Backward]:i.x[Wl.Backward]||a.x===-1,[Wl.Forward]:i.x[Wl.Forward]||a.x===1},y:{[Wl.Backward]:i.y[Wl.Backward]||a.y===-1,[Wl.Forward]:i.y[Wl.Forward]||a.y===1}}},[n,t,r])}function Aet(e,t){const n=t!=null?e.get(t):void 0,r=n?n.node.current:null;return Ox(i=>{var a;return t==null?null:(a=r??i)!=null?a:null},[r,t])}function Tet(e,t){return P.useMemo(()=>e.reduce((n,r)=>{const{sensor:i}=r,a=i.activators.map(u=>({eventName:u.eventName,handler:t(u.handler,r)}));return[...n,...a]},[]),[e,t])}var FS;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(FS||(FS={}));var HM;(function(e){e.Optimized="optimized"})(HM||(HM={}));const rW=new Map;function ket(e,t){let{dragging:n,dependencies:r,config:i}=t;const[a,u]=P.useState(null),{frequency:l,measure:o,strategy:s}=i,c=P.useRef(e),d=_(),h=PS(d),m=P.useCallback(function(x){x===void 0&&(x=[]),!h.current&&u(E=>E===null?x:E.concat(x.filter(w=>!E.includes(w))))},[h]),y=P.useRef(null),v=Ox(x=>{if(d&&!n)return rW;if(!x||x===rW||c.current!==e||a!=null){const E=new Map;for(let w of e){if(!w)continue;if(a&&a.length>0&&!a.includes(w.id)&&w.rect.current){E.set(w.id,w.rect.current);continue}const T=w.node.current,R=T?new XL(o(T),T):null;w.rect.current=R,R&&E.set(w.id,R)}return E}return x},[e,a,n,d,o]);return P.useEffect(()=>{c.current=e},[e]),P.useEffect(()=>{d||m()},[n,d]),P.useEffect(()=>{a&&a.length>0&&u(null)},[JSON.stringify(a)]),P.useEffect(()=>{d||typeof l!="number"||y.current!==null||(y.current=setTimeout(()=>{m(),y.current=null},l))},[l,d,m,...r]),{droppableRects:v,measureDroppableContainers:m,measuringScheduled:a!=null};function _(){switch(s){case FS.Always:return!1;case FS.BeforeDragging:return n;default:return!n}}}function M1e(e,t){return Ox(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function Pet(e,t){return M1e(e,t)}function Met(e){let{callback:t,disabled:n}=e;const r=ZL(t),i=P.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:a}=window;return new a(r)},[r,n]);return P.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function q5(e){let{callback:t,disabled:n}=e;const r=ZL(t),i=P.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:a}=window;return new a(r)},[n]);return P.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function Fet(e){return new XL(n4(e),e)}function iW(e,t,n){t===void 0&&(t=Fet);const[r,i]=P.useState(null);function a(){i(o=>{if(!e)return null;if(e.isConnected===!1){var s;return(s=o??n)!=null?s:null}const c=t(e);return JSON.stringify(o)===JSON.stringify(c)?o:c})}const u=Met({callback(o){if(e)for(const s of o){const{type:c,target:d}=s;if(c==="childList"&&d instanceof HTMLElement&&d.contains(e)){a();break}}}}),l=q5({callback:a});return R0(()=>{a(),e?(l==null||l.observe(e),u==null||u.observe(document.body,{childList:!0,subtree:!0})):(l==null||l.disconnect(),u==null||u.disconnect())},[e]),r}function Net(e){const t=M1e(e);return E1e(e,t)}const aW=[];function Iet(e){const t=P.useRef(e),n=Ox(r=>e?r&&r!==aW&&e&&t.current&&e.parentNode===t.current.parentNode?r:z5(e):aW,[e]);return P.useEffect(()=>{t.current=e},[e]),n}function Let(e){const[t,n]=P.useState(null),r=P.useRef(e),i=P.useCallback(a=>{const u=m7(a.target);u&&n(l=>l?(l.set(u,jM(u)),new Map(l)):null)},[]);return P.useEffect(()=>{const a=r.current;if(e!==a){u(a);const l=e.map(o=>{const s=m7(o);return s?(s.addEventListener("scroll",i,{passive:!0}),[s,jM(s)]):null}).filter(o=>o!=null);n(l.length?new Map(l):null),r.current=e}return()=>{u(e),u(a)};function u(l){l.forEach(o=>{const s=m7(o);s==null||s.removeEventListener("scroll",i)})}},[i,e]),P.useMemo(()=>e.length?t?Array.from(t.values()).reduce((a,u)=>l3(a,u),op):A1e(e):op,[e,t])}function uW(e,t){t===void 0&&(t=[]);const n=P.useRef(null);return P.useEffect(()=>{n.current=null},t),P.useEffect(()=>{const r=e!==op;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?MS(e,n.current):op}function Bet(e){P.useEffect(()=>{if(!Q5)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function Qet(e,t){return P.useMemo(()=>e.reduce((n,r)=>{let{eventName:i,handler:a}=r;return n[i]=u=>{a(u,t)},n},{}),[e,t])}function F1e(e){return P.useMemo(()=>e?set(e):null,[e])}const lW=[];function zet(e,t){t===void 0&&(t=n4);const[n]=e,r=F1e(n?df(n):null),[i,a]=P.useState(lW);function u(){a(()=>e.length?e.map(o=>w1e(o)?r:new XL(t(o),o)):lW)}const l=q5({callback:u});return R0(()=>{l==null||l.disconnect(),u(),e.forEach(o=>l==null?void 0:l.observe(o))},[e]),i}function qet(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return bx(t)?t:e}function Vet(e){let{measure:t}=e;const[n,r]=P.useState(null),i=P.useCallback(s=>{for(const{target:c}of s)if(bx(c)){r(d=>{const h=t(c);return d?{...d,width:h.width,height:h.height}:h});break}},[t]),a=q5({callback:i}),u=P.useCallback(s=>{const c=qet(s);a==null||a.disconnect(),c&&(a==null||a.observe(c)),r(c?t(c):null)},[t,a]),[l,o]=I$(u);return P.useMemo(()=>({nodeRef:l,rect:n,setRef:o}),[n,l,o])}const Uet=[{sensor:P1e,options:{}},{sensor:k1e,options:{}}],jet={current:{}},XE={draggable:{measure:JK},droppable:{measure:JK,strategy:FS.WhileDragging,frequency:HM.Optimized},dragOverlay:{measure:n4}};class Q2 extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const Zet={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Q2,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:B$},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:XE,measureDroppableContainers:B$,windowRect:null,measuringScheduled:!1},Het={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:B$,draggableNodes:new Map,over:null,measureDroppableContainers:B$},V5=P.createContext(Het),N1e=P.createContext(Zet);function Xet(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Q2}}}function Yet(e,t){switch(t.type){case _l.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case _l.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case _l.DragEnd:case _l.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case _l.RegisterDroppable:{const{element:n}=t,{id:r}=n,i=new Q2(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case _l.SetDroppableDisabled:{const{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;const u=new Q2(e.droppable.containers);return u.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:u}}}case _l.UnregisterDroppable:{const{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const a=new Q2(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function Get(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:i}=P.useContext(V5),a=VM(r),u=VM(n==null?void 0:n.id);return P.useEffect(()=>{if(!t&&!r&&a&&u!=null){if(!HL(a)||document.activeElement===a.target)return;const l=i.get(u);if(!l)return;const{activatorNode:o,node:s}=l;if(!o.current&&!s.current)return;requestAnimationFrame(()=>{for(const c of[o.current,s.current]){if(!c)continue;const d=QJe(c);if(d){d.focus();break}}})}},[r,t,i,u,a]),null}function Ket(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((i,a)=>a({transform:i,...r}),n):n}function Wet(e){return P.useMemo(()=>({draggable:{...XE.draggable,...e==null?void 0:e.draggable},droppable:{...XE.droppable,...e==null?void 0:e.droppable},dragOverlay:{...XE.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function Jet(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e;const a=P.useRef(!1),{x:u,y:l}=typeof i=="boolean"?{x:i,y:i}:i;R0(()=>{if(!u&&!l||!t){a.current=!1;return}if(a.current||!r)return;const s=t==null?void 0:t.node.current;if(!s||s.isConnected===!1)return;const c=n(s),d=E1e(c,r);if(u||(d.x=0),l||(d.y=0),a.current=!0,Math.abs(d.x)>0||Math.abs(d.y)>0){const h=D1e(s);h&&h.scrollBy({top:d.y,left:d.x})}},[t,u,l,r,n])}const I1e=P.createContext({...op,scaleX:1,scaleY:1});var mv;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(mv||(mv={}));const Kat=P.memo(function(t){var n,r,i,a;let{id:u,accessibility:l,autoScroll:o=!0,children:s,sensors:c=Uet,collisionDetection:d=tet,measuring:h,modifiers:m,...y}=t;const v=P.useReducer(Yet,void 0,Xet),[_,x]=v,[E,w]=ZJe(),[T,R]=P.useState(mv.Uninitialized),C=T===mv.Initialized,{draggable:{active:k,nodes:F,translate:z},droppable:{containers:Z}}=_,q=k!=null?F.get(k):null,j=P.useRef({initial:null,translated:null}),N=P.useMemo(()=>{var un;return k!=null?{id:k,data:(un=q==null?void 0:q.data)!=null?un:jet,rect:j}:null},[k,q]),V=P.useRef(null),[W,G]=P.useState(null),[J,te]=P.useState(null),X=PS(y,Object.values(y)),M=Sx("DndDescribedBy",u),K=P.useMemo(()=>Z.getEnabled(),[Z]),Y=Wet(h),{droppableRects:B,measureDroppableContainers:ne,measuringScheduled:oe}=ket(K,{dragging:C,dependencies:[z.x,z.y],config:Y.droppable}),ae=Aet(F,k),de=P.useMemo(()=>J?UM(J):null,[J]),be=In(),ye=Pet(ae,Y.draggable.measure);Jet({activeNode:k!=null?F.get(k):null,config:be.layoutShiftCompensation,initialRect:ye,measure:Y.draggable.measure});const pe=iW(ae,Y.draggable.measure,ye),_e=iW(ae?ae.parentElement:null),se=P.useRef({activatorEvent:null,active:null,activeNode:ae,collisionRect:null,collisions:null,droppableRects:B,draggableNodes:F,draggingNode:null,draggingNodeRect:null,droppableContainers:Z,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),me=Z.getNodeFor((n=se.current.over)==null?void 0:n.id),ge=Vet({measure:Y.dragOverlay.measure}),we=(r=ge.nodeRef.current)!=null?r:ae,Ne=C?(i=ge.rect)!=null?i:pe:null,Re=!!(ge.nodeRef.current&&ge.rect),et=Net(Re?null:pe),tt=F1e(we?df(we):null),Oe=Iet(C?me??ae:null),$e=zet(Oe),Ae=Ket(m,{transform:{x:z.x-et.x,y:z.y-et.y,scaleX:1,scaleY:1},activatorEvent:J,active:N,activeNodeRect:pe,containerNodeRect:_e,draggingNodeRect:Ne,over:se.current.over,overlayNodeRect:ge.rect,scrollableAncestors:Oe,scrollableAncestorRects:$e,windowRect:tt}),Ue=de?l3(de,z):null,Ze=Let(Oe),Ye=uW(Ze),Me=uW(Ze,[pe]),ze=l3(Ae,Ye),st=Ne?iet(Ne,Ae):null,Ot=N&&st?d({active:N,collisionRect:st,droppableRects:B,droppableContainers:K,pointerCoordinates:Ue}):null,Nt=_1e(Ot,"id"),[gt,qt]=P.useState(null),zt=Re?Ae:l3(Ae,Me),rn=net(zt,(a=gt==null?void 0:gt.rect)!=null?a:null,pe),nn=P.useRef(null),Fe=P.useCallback((un,jn)=>{let{sensor:sr,options:ar}=jn;if(V.current==null)return;const Dr=F.get(V.current);if(!Dr)return;const zr=un.nativeEvent,ke=new sr({active:V.current,activeNode:Dr,event:zr,options:ar,context:se,onAbort(nt){if(!F.get(nt))return;const{onDragAbort:$t}=X.current,Ut={id:nt};$t==null||$t(Ut),E({type:"onDragAbort",event:Ut})},onPending(nt,dt,$t,Ut){if(!F.get(nt))return;const{onDragPending:Lt}=X.current,Vt={id:nt,constraint:dt,initialCoordinates:$t,offset:Ut};Lt==null||Lt(Vt),E({type:"onDragPending",event:Vt})},onStart(nt){const dt=V.current;if(dt==null)return;const $t=F.get(dt);if(!$t)return;const{onDragStart:Ut}=X.current,Zt={activatorEvent:zr,active:{id:dt,data:$t.data,rect:j}};zf.unstable_batchedUpdates(()=>{Ut==null||Ut(Zt),R(mv.Initializing),x({type:_l.DragStart,initialCoordinates:nt,active:dt}),E({type:"onDragStart",event:Zt}),G(nn.current),te(zr)})},onMove(nt){x({type:_l.DragMove,coordinates:nt})},onEnd:He(_l.DragEnd),onCancel:He(_l.DragCancel)});nn.current=ke;function He(nt){return async function(){const{active:$t,collisions:Ut,over:Zt,scrollAdjustedTranslate:Lt}=se.current;let Vt=null;if($t&&Lt){const{cancelDrop:en}=X.current;Vt={activatorEvent:zr,active:$t,collisions:Ut,delta:Lt,over:Zt},nt===_l.DragEnd&&typeof en=="function"&&await Promise.resolve(en(Vt))&&(nt=_l.DragCancel)}V.current=null,zf.unstable_batchedUpdates(()=>{x({type:nt}),R(mv.Uninitialized),qt(null),G(null),te(null),nn.current=null;const en=nt===_l.DragEnd?"onDragEnd":"onDragCancel";if(Vt){const tn=X.current[en];tn==null||tn(Vt),E({type:en,event:Vt})}})}}},[F]),ht=P.useCallback((un,jn)=>(sr,ar)=>{const Dr=sr.nativeEvent,zr=F.get(ar);if(V.current!==null||!zr||Dr.dndKit||Dr.defaultPrevented)return;const ke={active:zr};un(sr,jn.options,ke)===!0&&(Dr.dndKit={capturedBy:jn.sensor},V.current=ar,Fe(sr,jn))},[F,Fe]),Tt=Tet(c,ht);Bet(c),R0(()=>{pe&&T===mv.Initializing&&R(mv.Initialized)},[pe,T]),P.useEffect(()=>{const{onDragMove:un}=X.current,{active:jn,activatorEvent:sr,collisions:ar,over:Dr}=se.current;if(!jn||!sr)return;const zr={active:jn,activatorEvent:sr,collisions:ar,delta:{x:ze.x,y:ze.y},over:Dr};zf.unstable_batchedUpdates(()=>{un==null||un(zr),E({type:"onDragMove",event:zr})})},[ze.x,ze.y]),P.useEffect(()=>{const{active:un,activatorEvent:jn,collisions:sr,droppableContainers:ar,scrollAdjustedTranslate:Dr}=se.current;if(!un||V.current==null||!jn||!Dr)return;const{onDragOver:zr}=X.current,ke=ar.get(Nt),He=ke&&ke.rect.current?{id:ke.id,rect:ke.rect.current,data:ke.data,disabled:ke.disabled}:null,nt={active:un,activatorEvent:jn,collisions:sr,delta:{x:Dr.x,y:Dr.y},over:He};zf.unstable_batchedUpdates(()=>{qt(He),zr==null||zr(nt),E({type:"onDragOver",event:nt})})},[Nt]),R0(()=>{se.current={activatorEvent:J,active:N,activeNode:ae,collisionRect:st,collisions:Ot,droppableRects:B,draggableNodes:F,draggingNode:we,draggingNodeRect:Ne,droppableContainers:Z,over:gt,scrollableAncestors:Oe,scrollAdjustedTranslate:ze},j.current={initial:Ne,translated:st}},[N,ae,Ot,st,F,we,Ne,B,Z,gt,Oe,ze]),Cet({...be,delta:z,draggingRect:st,pointerCoordinates:Ue,scrollableAncestors:Oe,scrollableAncestorRects:$e});const Qt=P.useMemo(()=>({active:N,activeNode:ae,activeNodeRect:pe,activatorEvent:J,collisions:Ot,containerNodeRect:_e,dragOverlay:ge,draggableNodes:F,droppableContainers:Z,droppableRects:B,over:gt,measureDroppableContainers:ne,scrollableAncestors:Oe,scrollableAncestorRects:$e,measuringConfiguration:Y,measuringScheduled:oe,windowRect:tt}),[N,ae,pe,J,Ot,_e,ge,F,Z,B,gt,ne,Oe,$e,Y,oe,tt]),an=P.useMemo(()=>({activatorEvent:J,activators:Tt,active:N,activeNodeRect:pe,ariaDescribedById:{draggable:M},dispatch:x,draggableNodes:F,over:gt,measureDroppableContainers:ne}),[J,Tt,N,pe,x,M,F,gt,ne]);return ve.createElement(x1e.Provider,{value:w},ve.createElement(V5.Provider,{value:an},ve.createElement(N1e.Provider,{value:Qt},ve.createElement(I1e.Provider,{value:rn},s)),ve.createElement(Get,{disabled:(l==null?void 0:l.restoreFocus)===!1})),ve.createElement(YJe,{...l,hiddenTextDescribedById:M}));function In(){const un=(W==null?void 0:W.autoScrollEnabled)===!1,jn=typeof o=="object"?o.enabled===!1:o===!1,sr=C&&!un&&!jn;return typeof o=="object"?{...o,enabled:sr}:{enabled:sr}}}),ett=P.createContext(null),oW="button",ttt="Draggable";function ntt(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e;const a=Sx(ttt),{activators:u,activatorEvent:l,active:o,activeNodeRect:s,ariaDescribedById:c,draggableNodes:d,over:h}=P.useContext(V5),{role:m=oW,roleDescription:y="draggable",tabIndex:v=0}=i??{},_=(o==null?void 0:o.id)===t,x=P.useContext(_?I1e:ett),[E,w]=I$(),[T,R]=I$(),C=Qet(u,t),k=PS(n);R0(()=>(d.set(t,{id:t,key:a,node:E,activatorNode:T,data:k}),()=>{const z=d.get(t);z&&z.key===a&&d.delete(t)}),[d,t]);const F=P.useMemo(()=>({role:m,tabIndex:v,"aria-disabled":r,"aria-pressed":_&&m===oW?!0:void 0,"aria-roledescription":y,"aria-describedby":c.draggable}),[r,m,v,_,y,c.draggable]);return{active:o,activatorEvent:l,activeNodeRect:s,attributes:F,isDragging:_,listeners:r?void 0:C,node:E,over:h,setNodeRef:w,setActivatorNodeRef:R,transform:x}}function rtt(){return P.useContext(N1e)}const itt="Droppable",att={timeout:25};function utt(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e;const a=Sx(itt),{active:u,dispatch:l,over:o,measureDroppableContainers:s}=P.useContext(V5),c=P.useRef({disabled:n}),d=P.useRef(!1),h=P.useRef(null),m=P.useRef(null),{disabled:y,updateMeasurementsFor:v,timeout:_}={...att,...i},x=PS(v??r),E=P.useCallback(()=>{if(!d.current){d.current=!0;return}m.current!=null&&clearTimeout(m.current),m.current=setTimeout(()=>{s(Array.isArray(x.current)?x.current:[x.current]),m.current=null},_)},[_]),w=q5({callback:E,disabled:y||!u}),T=P.useCallback((F,z)=>{w&&(z&&(w.unobserve(z),d.current=!1),F&&w.observe(F))},[w]),[R,C]=I$(T),k=PS(t);return P.useEffect(()=>{!w||!R.current||(w.disconnect(),d.current=!1,w.observe(R.current))},[R,w]),P.useEffect(()=>(l({type:_l.RegisterDroppable,element:{id:r,key:a,disabled:n,node:R,rect:h,data:k}}),()=>l({type:_l.UnregisterDroppable,key:a,id:r})),[r]),P.useEffect(()=>{n!==c.current.disabled&&(l({type:_l.SetDroppableDisabled,id:r,key:a,disabled:n}),c.current.disabled=n)},[r,a,n,l]),{active:u,rect:h,isOver:(o==null?void 0:o.id)===r,node:R,over:o,setNodeRef:C}}function L1e(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function ltt(e,t){return e.reduce((n,r,i)=>{const a=t.get(r);return a&&(n[i]=a),n},Array(e.length))}function hE(e){return e!==null&&e>=0}function ott(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function stt(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const B1e=e=>{let{rects:t,activeIndex:n,overIndex:r,index:i}=e;const a=L1e(t,r,n),u=t[i],l=a[i];return!l||!u?null:{x:l.left-u.left,y:l.top-u.top,scaleX:l.width/u.width,scaleY:l.height/u.height}},Q1e="Sortable",z1e=ve.createContext({activeIndex:-1,containerId:Q1e,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:B1e,disabled:{draggable:!1,droppable:!1}});function Wat(e){let{children:t,id:n,items:r,strategy:i=B1e,disabled:a=!1}=e;const{active:u,dragOverlay:l,droppableRects:o,over:s,measureDroppableContainers:c}=rtt(),d=Sx(Q1e,n),h=l.rect!==null,m=P.useMemo(()=>r.map(C=>typeof C=="object"&&"id"in C?C.id:C),[r]),y=u!=null,v=u?m.indexOf(u.id):-1,_=s?m.indexOf(s.id):-1,x=P.useRef(m),E=!ott(m,x.current),w=_!==-1&&v===-1||E,T=stt(a);R0(()=>{E&&y&&c(m)},[E,m,y,c]),P.useEffect(()=>{x.current=m},[m]);const R=P.useMemo(()=>({activeIndex:v,containerId:d,disabled:T,disableTransforms:w,items:m,overIndex:_,useDragOverlay:h,sortedRects:ltt(m,o),strategy:i}),[v,d,T.draggable,T.droppable,w,m,_,o,h,i]);return ve.createElement(z1e.Provider,{value:R},t)}const ctt=e=>{let{id:t,items:n,activeIndex:r,overIndex:i}=e;return L1e(n,r,i).indexOf(t)},ftt=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:i,items:a,newIndex:u,previousItems:l,previousContainerId:o,transition:s}=e;return!s||!r||l!==a&&i===u?!1:n?!0:u!==i&&t===o},dtt={duration:200,easing:"ease"},q1e="transform",htt=L$.Transition.toString({property:q1e,duration:0,easing:"linear"}),ptt={roleDescription:"sortable"};function mtt(e){let{disabled:t,index:n,node:r,rect:i}=e;const[a,u]=P.useState(null),l=P.useRef(n);return R0(()=>{if(!t&&n!==l.current&&r.current){const o=i.current;if(o){const s=n4(r.current,{ignoreTransform:!0}),c={x:o.left-s.left,y:o.top-s.top,scaleX:o.width/s.width,scaleY:o.height/s.height};(c.x||c.y)&&u(c)}}n!==l.current&&(l.current=n)},[t,n,r,i]),P.useEffect(()=>{a&&u(null)},[a]),a}function Jat(e){let{animateLayoutChanges:t=ftt,attributes:n,disabled:r,data:i,getNewIndex:a=ctt,id:u,strategy:l,resizeObserverConfig:o,transition:s=dtt}=e;const{items:c,containerId:d,activeIndex:h,disabled:m,disableTransforms:y,sortedRects:v,overIndex:_,useDragOverlay:x,strategy:E}=P.useContext(z1e),w=gtt(r,m),T=c.indexOf(u),R=P.useMemo(()=>({sortable:{containerId:d,index:T,items:c},...i}),[d,i,T,c]),C=P.useMemo(()=>c.slice(c.indexOf(u)),[c,u]),{rect:k,node:F,isOver:z,setNodeRef:Z}=utt({id:u,data:R,disabled:w.droppable,resizeObserverConfig:{updateMeasurementsFor:C,...o}}),{active:q,activatorEvent:j,activeNodeRect:N,attributes:V,setNodeRef:W,listeners:G,isDragging:J,over:te,setActivatorNodeRef:X,transform:M}=ntt({id:u,data:R,attributes:{...ptt,...n},disabled:w.draggable}),K=NJe(Z,W),Y=!!q,B=Y&&!y&&hE(h)&&hE(_),ne=!x&&J,oe=ne&&B?M:null,de=B?oe??(l??E)({rects:v,activeNodeRect:N,activeIndex:h,overIndex:_,index:T}):null,be=hE(h)&&hE(_)?a({id:u,items:c,activeIndex:h,overIndex:_}):T,ye=q==null?void 0:q.id,pe=P.useRef({activeId:ye,items:c,newIndex:be,containerId:d}),_e=c!==pe.current.items,se=t({active:q,containerId:d,isDragging:J,isSorting:Y,id:u,index:T,items:c,newIndex:pe.current.newIndex,previousItems:pe.current.items,previousContainerId:pe.current.containerId,transition:s,wasDragging:pe.current.activeId!=null}),me=mtt({disabled:!se,index:T,node:F,rect:k});return P.useEffect(()=>{Y&&pe.current.newIndex!==be&&(pe.current.newIndex=be),d!==pe.current.containerId&&(pe.current.containerId=d),c!==pe.current.items&&(pe.current.items=c)},[Y,be,d,c]),P.useEffect(()=>{if(ye===pe.current.activeId)return;if(ye&&!pe.current.activeId){pe.current.activeId=ye;return}const we=setTimeout(()=>{pe.current.activeId=ye},50);return()=>clearTimeout(we)},[ye]),{active:q,activeIndex:h,attributes:V,data:R,rect:k,index:T,newIndex:be,items:c,isOver:z,isSorting:Y,isDragging:J,listeners:G,node:F,overIndex:_,over:te,setNodeRef:K,setActivatorNodeRef:X,setDroppableNodeRef:Z,setDraggableNodeRef:W,transform:me??de,transition:ge()};function ge(){if(me||_e&&pe.current.newIndex===T)return htt;if(!(ne&&!HL(j)||!s)&&(Y||se))return L$.Transition.toString({...s,property:q1e})}}function gtt(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e==null?void 0:e.draggable)!=null?n:t.draggable,droppable:(r=e==null?void 0:e.droppable)!=null?r:t.droppable}}function z$(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&typeof t.sortable=="object"&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const vtt=[Wr.Down,Wr.Right,Wr.Up,Wr.Left],eut=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:i,droppableContainers:a,over:u,scrollableAncestors:l}}=t;if(vtt.includes(e.code)){if(e.preventDefault(),!n||!r)return;const o=[];a.getEnabled().forEach(d=>{if(!d||d!=null&&d.disabled)return;const h=i.get(d.id);if(h)switch(e.code){case Wr.Down:r.top<h.top&&o.push(d);break;case Wr.Up:r.top>h.top&&o.push(d);break;case Wr.Left:r.left>h.left&&o.push(d);break;case Wr.Right:r.left<h.left&&o.push(d);break}});const s=JJe({collisionRect:r,droppableRects:i,droppableContainers:o});let c=_1e(s,"id");if(c===(u==null?void 0:u.id)&&s.length>1&&(c=s[1].id),c!=null){const d=a.get(n.id),h=a.get(c),m=h?i.get(h.id):null,y=h==null?void 0:h.node.current;if(y&&m&&d&&h){const _=z5(y).some((C,k)=>l[k]!==C),x=V1e(d,h),E=ytt(d,h),w=_||!x?{x:0,y:0}:{x:E?r.width-m.width:0,y:E?r.height-m.height:0},T={x:m.left,y:m.top};return w.x&&w.y?T:MS(T,w)}}}};function V1e(e,t){return!z$(e)||!z$(t)?!1:e.data.current.sortable.containerId===t.data.current.sortable.containerId}function ytt(e,t){return!z$(e)||!z$(t)||!V1e(e,t)?!1:e.data.current.sortable.index<t.data.current.sortable.index}var sW=Object.prototype.hasOwnProperty;function cW(e,t,n){for(n of e.keys())if(z2(n,t))return n}function z2(e,t){var n,r,i;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&z2(e[r],t[r]););return r===-1}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if(i=r,i&&typeof i=="object"&&(i=cW(t,i),!i)||!t.has(i))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if(i=r[0],i&&typeof i=="object"&&(i=cW(t,i),!i)||!z2(r[1],t.get(i)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(sW.call(e,n)&&++r&&!sW.call(t,n)||!(n in t)||!z2(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}function btt(e){var t=P.useRef(e),n=P.useRef(0);return z2(e,t.current)||(t.current=e,n.current+=1),P.useMemo(function(){return t.current},[n.current])}function tut(e,t){return P.useEffect(e,btt(t))}export{wnt as $,ot as A,Lrt as B,fnt as C,Trt as D,krt as E,Prt as F,Mrt as G,zrt as H,Nrt as I,Qrt as J,Irt as K,g3 as L,Vrt as M,qrt as N,Wrt as O,Frt as P,Brt as Q,ve as R,fZ as S,lpe as T,cSe as U,Ett as V,Sit as W,Crt as X,Zi as Y,ktt as Z,Ewe as _,bnt as a,$rt as a$,rrt as a0,Pnt as a1,Ttt as a2,ert as a3,trt as a4,Cnt as a5,nrt as a6,xtt as a7,h6e as a8,Dnt as a9,Jnt as aA,Eit as aB,Ant as aC,wtt as aD,urt as aE,lrt as aF,Drt as aG,Ert as aH,Lnt as aI,Qnt as aJ,Bnt as aK,Int as aL,TC as aM,hs as aN,ms as aO,drt as aP,hrt as aQ,prt as aR,mrt as aS,srt as aT,_rt as aU,xrt as aV,wrt as aW,Btt as aX,Ent as aY,_nt as aZ,$nt as a_,r6e as aa,Rnt as ab,c6e as ac,qnt as ad,Ynt as ae,Yt as af,t6e as ag,Ort as ah,ort as ai,art as aj,xit as ak,yrt as al,grt as am,vrt as an,znt as ao,irt as ap,B6e as aq,Snt as ar,Ope as as,Xnt as at,Hnt as au,Gnt as av,Knt as aw,$it as ax,VS as ay,Wnt as az,n$e as b,Urt as b$,Mnt as b0,Tnt as b1,frt as b2,Vnt as b3,jnt as b4,Znt as b5,Srt as b6,crt as b7,Ztt as b8,Mtt as b9,_it as bA,ZC as bB,hte as bC,xnt as bD,Unt as bE,cg as bF,snt as bG,nnt as bH,xC as bI,Jtt as bJ,Ntt as bK,ont as bL,Ktt as bM,rnt as bN,tnt as bO,ant as bP,unt as bQ,cnt as bR,lnt as bS,int as bT,CW as bU,ZN as bV,pHe as bW,Jrt as bX,ait as bY,eit as bZ,Ft as b_,Ptt as ba,Ftt as bb,gI as bc,kPe as bd,brt as be,Fit as bf,Pit as bg,kit as bh,Rit as bi,Mit as bj,Uat as bk,TPe as bl,dit as bm,knt as bn,Fnt as bo,Nnt as bp,Utt as bq,Itt as br,Hat as bs,Xat as bt,BF as bu,Qtt as bv,oit as bw,gHe as bx,VZe as by,T7e as bz,vnt as c,Iit as c$,iit as c0,vit as c1,hit as c2,Dit as c3,fit as c4,tat as c5,nat as c6,FVe as c7,Vtt as c8,Tit as c9,git as cA,Ait as cB,Yke as cC,f$e as cD,mnt as cE,wit as cF,JS as cG,Et as cH,Rtt as cI,Att as cJ,Ctt as cK,Hrt as cL,Xrt as cM,Yrt as cN,J1 as cO,ID as cP,Sa as cQ,nf as cR,Ao as cS,D9 as cT,gAe as cU,up as cV,DAe as cW,Krt as cX,Nit as cY,Grt as cZ,uf as c_,Ltt as ca,cit as cb,jat as cc,gnt as cd,pit as ce,Oit as cf,tit as cg,nit as ch,rit as ci,uit as cj,lit as ck,Zat as cl,SV as cm,Gat as cn,Yat as co,Wat as cp,L1e as cq,Kat as cr,eut as cs,k1e as ct,P1e as cu,Jat as cv,L$ as cw,mit as cx,sit as cy,tut as cz,dnt as d,Mat as d$,kr as d0,Qv as d1,Lit as d2,lp as d3,ent as d4,Uit as d5,jit as d6,Zit as d7,zit as d8,Hf as d9,$at as dA,KUe as dB,Tat as dC,aat as dD,ZVe as dE,_at as dF,Eat as dG,xat as dH,Sat as dI,Oat as dJ,bat as dK,jge as dL,yat as dM,lat as dN,uat as dO,mat as dP,vat as dQ,gat as dR,Fat as dS,Lat as dT,Iat as dU,Nat as dV,Bat as dW,Qat as dX,zat as dY,qat as dZ,$3 as d_,Qit as da,Hit as db,jrt as dc,Xit as dd,rat as de,iat as df,x4e as dg,pat as dh,hat as di,dat as dj,fat as dk,cat as dl,sat as dm,oat as dn,HVe as dp,Rat as dq,uEe as dr,wUe as ds,Aat as dt,Pat as du,Dat as dv,_Y as dw,wat as dx,Cat as dy,DS as dz,p$e as e,kat as e0,QUe as e1,Vat as e2,Vit as e3,bit as e4,yit as e5,Cit as e6,iPe as e7,Dtt as e8,u$e as f,ynt as g,hnt as h,pnt as i,_tt as j,Ont as k,zf as l,Htt as m,Xtt as n,$tt as o,Ytt as p,Art as q,P as r,KU as s,oRe as t,ztt as u,Rrt as v,qtt as w,jtt as x,R9 as y,QN as z};
