silver-music-notifier 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -0
- package/dist/cli/index.js +760 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/web/assets/index-DPovoyOV.css +1 -0
- package/dist/web/assets/index-xYrc5ayg.js +124 -0
- package/dist/web/index.html +13 -0
- package/package.json +99 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const f of c.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&o(f)}).observe(document,{childList:!0,subtree:!0});function l(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(s){if(s.ep)return;s.ep=!0;const c=l(s);fetch(s.href,c)}})();var kd={exports:{}},Mo={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var ab;function ww(){if(ab)return Mo;ab=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function l(o,s,c){var f=null;if(c!==void 0&&(f=""+c),s.key!==void 0&&(f=""+s.key),"key"in s){c={};for(var v in s)v!=="key"&&(c[v]=s[v])}else c=s;return s=c.ref,{$$typeof:n,type:o,key:f,ref:s!==void 0?s:null,props:c}}return Mo.Fragment=a,Mo.jsx=l,Mo.jsxs=l,Mo}var rb;function xw(){return rb||(rb=1,kd.exports=ww()),kd.exports}var D=xw(),Hd={exports:{}},xe={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react.production.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var lb;function Sw(){if(lb)return xe;lb=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),f=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),p=Symbol.iterator;function S(C){return C===null||typeof C!="object"?null:(C=p&&C[p]||C["@@iterator"],typeof C=="function"?C:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,z={};function A(C,Z,ee){this.props=C,this.context=Z,this.refs=z,this.updater=ee||T}A.prototype.isReactComponent={},A.prototype.setState=function(C,Z){if(typeof C!="object"&&typeof C!="function"&&C!=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,C,Z,"setState")},A.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};function q(){}q.prototype=A.prototype;function N(C,Z,ee){this.props=C,this.context=Z,this.refs=z,this.updater=ee||T}var W=N.prototype=new q;W.constructor=N,E(W,A.prototype),W.isPureReactComponent=!0;var Q=Array.isArray;function P(){}var K={H:null,A:null,T:null,S:null},ae=Object.prototype.hasOwnProperty;function I(C,Z,ee){var te=ee.ref;return{$$typeof:n,type:C,key:Z,ref:te!==void 0?te:null,props:ee}}function le(C,Z){return I(C.type,Z,C.props)}function ne(C){return typeof C=="object"&&C!==null&&C.$$typeof===n}function re(C){var Z={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(ee){return Z[ee]})}var he=/\/+/g;function ye(C,Z){return typeof C=="object"&&C!==null&&C.key!=null?re(""+C.key):Z.toString(36)}function De(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status=="string"?C.then(P,P):(C.status="pending",C.then(function(Z){C.status==="pending"&&(C.status="fulfilled",C.value=Z)},function(Z){C.status==="pending"&&(C.status="rejected",C.reason=Z)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function j(C,Z,ee,te,fe){var ce=typeof C;(ce==="undefined"||ce==="boolean")&&(C=null);var Ce=!1;if(C===null)Ce=!0;else switch(ce){case"bigint":case"string":case"number":Ce=!0;break;case"object":switch(C.$$typeof){case n:case a:Ce=!0;break;case g:return Ce=C._init,j(Ce(C._payload),Z,ee,te,fe)}}if(Ce)return fe=fe(C),Ce=te===""?"."+ye(C,0):te,Q(fe)?(ee="",Ce!=null&&(ee=Ce.replace(he,"$&/")+"/"),j(fe,Z,ee,"",function(Ot){return Ot})):fe!=null&&(ne(fe)&&(fe=le(fe,ee+(fe.key==null||C&&C.key===fe.key?"":(""+fe.key).replace(he,"$&/")+"/")+Ce)),Z.push(fe)),1;Ce=0;var rt=te===""?".":te+":";if(Q(C))for(var Ge=0;Ge<C.length;Ge++)te=C[Ge],ce=rt+ye(te,Ge),Ce+=j(te,Z,ee,ce,fe);else if(Ge=S(C),typeof Ge=="function")for(C=Ge.call(C),Ge=0;!(te=C.next()).done;)te=te.value,ce=rt+ye(te,Ge++),Ce+=j(te,Z,ee,ce,fe);else if(ce==="object"){if(typeof C.then=="function")return j(De(C),Z,ee,te,fe);throw Z=String(C),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}return Ce}function $(C,Z,ee){if(C==null)return C;var te=[],fe=0;return j(C,te,"","",function(ce){return Z.call(ee,ce,fe++)}),te}function J(C){if(C._status===-1){var Z=C._result;Z=Z(),Z.then(function(ee){(C._status===0||C._status===-1)&&(C._status=1,C._result=ee)},function(ee){(C._status===0||C._status===-1)&&(C._status=2,C._result=ee)}),C._status===-1&&(C._status=0,C._result=Z)}if(C._status===1)return C._result.default;throw C._result}var ve=typeof reportError=="function"?reportError:function(C){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C=="object"&&C!==null&&typeof C.message=="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(Z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",C);return}console.error(C)},we={map:$,forEach:function(C,Z,ee){$(C,function(){Z.apply(this,arguments)},ee)},count:function(C){var Z=0;return $(C,function(){Z++}),Z},toArray:function(C){return $(C,function(Z){return Z})||[]},only:function(C){if(!ne(C))throw Error("React.Children.only expected to receive a single React element child.");return C}};return xe.Activity=b,xe.Children=we,xe.Component=A,xe.Fragment=l,xe.Profiler=s,xe.PureComponent=N,xe.StrictMode=o,xe.Suspense=m,xe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,xe.__COMPILER_RUNTIME={__proto__:null,c:function(C){return K.H.useMemoCache(C)}},xe.cache=function(C){return function(){return C.apply(null,arguments)}},xe.cacheSignal=function(){return null},xe.cloneElement=function(C,Z,ee){if(C==null)throw Error("The argument must be a React element, but you passed "+C+".");var te=E({},C.props),fe=C.key;if(Z!=null)for(ce in Z.key!==void 0&&(fe=""+Z.key),Z)!ae.call(Z,ce)||ce==="key"||ce==="__self"||ce==="__source"||ce==="ref"&&Z.ref===void 0||(te[ce]=Z[ce]);var ce=arguments.length-2;if(ce===1)te.children=ee;else if(1<ce){for(var Ce=Array(ce),rt=0;rt<ce;rt++)Ce[rt]=arguments[rt+2];te.children=Ce}return I(C.type,fe,te)},xe.createContext=function(C){return C={$$typeof:f,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null},C.Provider=C,C.Consumer={$$typeof:c,_context:C},C},xe.createElement=function(C,Z,ee){var te,fe={},ce=null;if(Z!=null)for(te in Z.key!==void 0&&(ce=""+Z.key),Z)ae.call(Z,te)&&te!=="key"&&te!=="__self"&&te!=="__source"&&(fe[te]=Z[te]);var Ce=arguments.length-2;if(Ce===1)fe.children=ee;else if(1<Ce){for(var rt=Array(Ce),Ge=0;Ge<Ce;Ge++)rt[Ge]=arguments[Ge+2];fe.children=rt}if(C&&C.defaultProps)for(te in Ce=C.defaultProps,Ce)fe[te]===void 0&&(fe[te]=Ce[te]);return I(C,ce,fe)},xe.createRef=function(){return{current:null}},xe.forwardRef=function(C){return{$$typeof:v,render:C}},xe.isValidElement=ne,xe.lazy=function(C){return{$$typeof:g,_payload:{_status:-1,_result:C},_init:J}},xe.memo=function(C,Z){return{$$typeof:h,type:C,compare:Z===void 0?null:Z}},xe.startTransition=function(C){var Z=K.T,ee={};K.T=ee;try{var te=C(),fe=K.S;fe!==null&&fe(ee,te),typeof te=="object"&&te!==null&&typeof te.then=="function"&&te.then(P,ve)}catch(ce){ve(ce)}finally{Z!==null&&ee.types!==null&&(Z.types=ee.types),K.T=Z}},xe.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},xe.use=function(C){return K.H.use(C)},xe.useActionState=function(C,Z,ee){return K.H.useActionState(C,Z,ee)},xe.useCallback=function(C,Z){return K.H.useCallback(C,Z)},xe.useContext=function(C){return K.H.useContext(C)},xe.useDebugValue=function(){},xe.useDeferredValue=function(C,Z){return K.H.useDeferredValue(C,Z)},xe.useEffect=function(C,Z){return K.H.useEffect(C,Z)},xe.useEffectEvent=function(C){return K.H.useEffectEvent(C)},xe.useId=function(){return K.H.useId()},xe.useImperativeHandle=function(C,Z,ee){return K.H.useImperativeHandle(C,Z,ee)},xe.useInsertionEffect=function(C,Z){return K.H.useInsertionEffect(C,Z)},xe.useLayoutEffect=function(C,Z){return K.H.useLayoutEffect(C,Z)},xe.useMemo=function(C,Z){return K.H.useMemo(C,Z)},xe.useOptimistic=function(C,Z){return K.H.useOptimistic(C,Z)},xe.useReducer=function(C,Z,ee){return K.H.useReducer(C,Z,ee)},xe.useRef=function(C){return K.H.useRef(C)},xe.useState=function(C){return K.H.useState(C)},xe.useSyncExternalStore=function(C,Z,ee){return K.H.useSyncExternalStore(C,Z,ee)},xe.useTransition=function(){return K.H.useTransition()},xe.version="19.2.7",xe}var nb;function Tv(){return nb||(nb=1,Hd.exports=Sw()),Hd.exports}var B=Tv(),Ld={exports:{}},Oo={},qd={exports:{}},Bd={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/var ib;function _w(){return ib||(ib=1,(function(n){function a(j,$){var J=j.length;j.push($);e:for(;0<J;){var ve=J-1>>>1,we=j[ve];if(0<s(we,$))j[ve]=$,j[J]=we,J=ve;else break e}}function l(j){return j.length===0?null:j[0]}function o(j){if(j.length===0)return null;var $=j[0],J=j.pop();if(J!==$){j[0]=J;e:for(var ve=0,we=j.length,C=we>>>1;ve<C;){var Z=2*(ve+1)-1,ee=j[Z],te=Z+1,fe=j[te];if(0>s(ee,J))te<we&&0>s(fe,ee)?(j[ve]=fe,j[te]=J,ve=te):(j[ve]=ee,j[Z]=J,ve=Z);else if(te<we&&0>s(fe,J))j[ve]=fe,j[te]=J,ve=te;else break e}}return $}function s(j,$){var J=j.sortIndex-$.sortIndex;return J!==0?J:j.id-$.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var f=Date,v=f.now();n.unstable_now=function(){return f.now()-v}}var m=[],h=[],g=1,b=null,p=3,S=!1,T=!1,E=!1,z=!1,A=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;function W(j){for(var $=l(h);$!==null;){if($.callback===null)o(h);else if($.startTime<=j)o(h),$.sortIndex=$.expirationTime,a(m,$);else break;$=l(h)}}function Q(j){if(E=!1,W(j),!T)if(l(m)!==null)T=!0,P||(P=!0,re());else{var $=l(h);$!==null&&De(Q,$.startTime-j)}}var P=!1,K=-1,ae=5,I=-1;function le(){return z?!0:!(n.unstable_now()-I<ae)}function ne(){if(z=!1,P){var j=n.unstable_now();I=j;var $=!0;try{e:{T=!1,E&&(E=!1,q(K),K=-1),S=!0;var J=p;try{t:{for(W(j),b=l(m);b!==null&&!(b.expirationTime>j&&le());){var ve=b.callback;if(typeof ve=="function"){b.callback=null,p=b.priorityLevel;var we=ve(b.expirationTime<=j);if(j=n.unstable_now(),typeof we=="function"){b.callback=we,W(j),$=!0;break t}b===l(m)&&o(m),W(j)}else o(m);b=l(m)}if(b!==null)$=!0;else{var C=l(h);C!==null&&De(Q,C.startTime-j),$=!1}}break e}finally{b=null,p=J,S=!1}$=void 0}}finally{$?re():P=!1}}}var re;if(typeof N=="function")re=function(){N(ne)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,ye=he.port2;he.port1.onmessage=ne,re=function(){ye.postMessage(null)}}else re=function(){A(ne,0)};function De(j,$){K=A(function(){j(n.unstable_now())},$)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(j){j.callback=null},n.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ae=0<j?Math.floor(1e3/j):5},n.unstable_getCurrentPriorityLevel=function(){return p},n.unstable_next=function(j){switch(p){case 1:case 2:case 3:var $=3;break;default:$=p}var J=p;p=$;try{return j()}finally{p=J}},n.unstable_requestPaint=function(){z=!0},n.unstable_runWithPriority=function(j,$){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var J=p;p=j;try{return $()}finally{p=J}},n.unstable_scheduleCallback=function(j,$,J){var ve=n.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?ve+J:ve):J=ve,j){case 1:var we=-1;break;case 2:we=250;break;case 5:we=1073741823;break;case 4:we=1e4;break;default:we=5e3}return we=J+we,j={id:g++,callback:$,priorityLevel:j,startTime:J,expirationTime:we,sortIndex:-1},J>ve?(j.sortIndex=J,a(h,j),l(m)===null&&j===l(h)&&(E?(q(K),K=-1):E=!0,De(Q,J-ve))):(j.sortIndex=we,a(m,j),T||S||(T=!0,P||(P=!0,re()))),j},n.unstable_shouldYield=le,n.unstable_wrapCallback=function(j){var $=p;return function(){var J=p;p=$;try{return j.apply(this,arguments)}finally{p=J}}}})(Bd)),Bd}var ob;function Tw(){return ob||(ob=1,qd.exports=_w()),qd.exports}var Zd={exports:{}},At={};/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/var sb;function Ew(){if(sb)return At;sb=1;var n=Tv();function a(m){var h="https://react.dev/errors/"+m;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)h+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+m+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var o={d:{f:l,r:function(){throw Error(a(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},s=Symbol.for("react.portal");function c(m,h,g){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:b==null?null:""+b,children:m,containerInfo:h,implementation:g}}var f=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function v(m,h){if(m==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return At.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,At.createPortal=function(m,h){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(a(299));return c(m,h,null,g)},At.flushSync=function(m){var h=f.T,g=o.p;try{if(f.T=null,o.p=2,m)return m()}finally{f.T=h,o.p=g,o.d.f()}},At.preconnect=function(m,h){typeof m=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,o.d.C(m,h))},At.prefetchDNS=function(m){typeof m=="string"&&o.d.D(m)},At.preinit=function(m,h){if(typeof m=="string"&&h&&typeof h.as=="string"){var g=h.as,b=v(g,h.crossOrigin),p=typeof h.integrity=="string"?h.integrity:void 0,S=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;g==="style"?o.d.S(m,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:b,integrity:p,fetchPriority:S}):g==="script"&&o.d.X(m,{crossOrigin:b,integrity:p,fetchPriority:S,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},At.preinitModule=function(m,h){if(typeof m=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var g=v(h.as,h.crossOrigin);o.d.M(m,{crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&o.d.M(m)},At.preload=function(m,h){if(typeof m=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var g=h.as,b=v(g,h.crossOrigin);o.d.L(m,g,{crossOrigin:b,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},At.preloadModule=function(m,h){if(typeof m=="string")if(h){var g=v(h.as,h.crossOrigin);o.d.m(m,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else o.d.m(m)},At.requestFormReset=function(m){o.d.r(m)},At.unstable_batchedUpdates=function(m,h){return m(h)},At.useFormState=function(m,h,g){return f.H.useFormState(m,h,g)},At.useFormStatus=function(){return f.H.useHostTransitionStatus()},At.version="19.2.7",At}var cb;function zw(){if(cb)return Zd.exports;cb=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),Zd.exports=Ew(),Zd.exports}/**
|
|
34
|
+
* @license React
|
|
35
|
+
* react-dom-client.production.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/var ub;function Dw(){if(ub)return Oo;ub=1;var n=Tw(),a=Tv(),l=zw();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function c(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function f(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function v(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function m(e){if(c(e)!==e)throw Error(o(188))}function h(e){var t=e.alternate;if(!t){if(t=c(e),t===null)throw Error(o(188));return t!==e?null:e}for(var r=e,i=t;;){var u=r.return;if(u===null)break;var d=u.alternate;if(d===null){if(i=u.return,i!==null){r=i;continue}break}if(u.child===d.child){for(d=u.child;d;){if(d===r)return m(u),e;if(d===i)return m(u),t;d=d.sibling}throw Error(o(188))}if(r.return!==i.return)r=u,i=d;else{for(var y=!1,_=u.child;_;){if(_===r){y=!0,r=u,i=d;break}if(_===i){y=!0,i=u,r=d;break}_=_.sibling}if(!y){for(_=d.child;_;){if(_===r){y=!0,r=d,i=u;break}if(_===i){y=!0,i=d,r=u;break}_=_.sibling}if(!y)throw Error(o(189))}}if(r.alternate!==i)throw Error(o(190))}if(r.tag!==3)throw Error(o(188));return r.stateNode.current===r?e:t}function g(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=g(e),t!==null)return t;e=e.sibling}return null}var b=Object.assign,p=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),N=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),ae=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),le=Symbol.for("react.memo_cache_sentinel"),ne=Symbol.iterator;function re(e){return e===null||typeof e!="object"?null:(e=ne&&e[ne]||e["@@iterator"],typeof e=="function"?e:null)}var he=Symbol.for("react.client.reference");function ye(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===he?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case E:return"Fragment";case A:return"Profiler";case z:return"StrictMode";case Q:return"Suspense";case P:return"SuspenseList";case I:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case T:return"Portal";case N:return e.displayName||"Context";case q:return(e._context.displayName||"Context")+".Consumer";case W:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case K:return t=e.displayName||null,t!==null?t:ye(e.type)||"Memo";case ae:t=e._payload,e=e._init;try{return ye(e(t))}catch{}}return null}var De=Array.isArray,j=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ve=[],we=-1;function C(e){return{current:e}}function Z(e){0>we||(e.current=ve[we],ve[we]=null,we--)}function ee(e,t){we++,ve[we]=e.current,e.current=t}var te=C(null),fe=C(null),ce=C(null),Ce=C(null);function rt(e,t){switch(ee(ce,t),ee(fe,e),ee(te,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Eg(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Eg(t),e=zg(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Z(te),ee(te,e)}function Ge(){Z(te),Z(fe),Z(ce)}function Ot(e){e.memoizedState!==null&&ee(Ce,e);var t=te.current,r=zg(t,e.type);t!==r&&(ee(fe,e),ee(te,r))}function gt(e){fe.current===e&&(Z(te),Z(fe)),Ce.current===e&&(Z(Ce),Eo._currentValue=J)}var Qa,Yl;function mr(e){if(Qa===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);Qa=t&&t[1]||"",Yl=-1<r.stack.indexOf(`
|
|
42
|
+
at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
+
`+Qa+e+Yl}var Ni=!1;function Ui(e,t){if(!e||Ni)return"";Ni=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(H){var k=H}Reflect.construct(e,[],X)}else{try{X.call()}catch(H){k=H}e.call(X.prototype)}}else{try{throw Error()}catch(H){k=H}(X=e())&&typeof X.catch=="function"&&X.catch(function(){})}}catch(H){if(H&&k&&typeof H.stack=="string")return[H.stack,k.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=i.DetermineComponentFrameRoot(),y=d[0],_=d[1];if(y&&_){var M=y.split(`
|
|
44
|
+
`),Y=_.split(`
|
|
45
|
+
`);for(u=i=0;i<M.length&&!M[i].includes("DetermineComponentFrameRoot");)i++;for(;u<Y.length&&!Y[u].includes("DetermineComponentFrameRoot");)u++;if(i===M.length||u===Y.length)for(i=M.length-1,u=Y.length-1;1<=i&&0<=u&&M[i]!==Y[u];)u--;for(;1<=i&&0<=u;i--,u--)if(M[i]!==Y[u]){if(i!==1||u!==1)do if(i--,u--,0>u||M[i]!==Y[u]){var G=`
|
|
46
|
+
`+M[i].replace(" at new "," at ");return e.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",e.displayName)),G}while(1<=i&&0<=u);break}}}finally{Ni=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?mr(r):""}function Su(e,t){switch(e.tag){case 26:case 27:case 5:return mr(e.type);case 16:return mr("Lazy");case 13:return e.child!==t&&t!==null?mr("Suspense Fallback"):mr("Suspense");case 19:return mr("SuspenseList");case 0:case 15:return Ui(e.type,!1);case 11:return Ui(e.type.render,!1);case 1:return Ui(e.type,!0);case 31:return mr("Activity");default:return""}}function Ts(e){try{var t="",r=null;do t+=Su(e,r),r=e,e=e.return;while(e);return t}catch(i){return`
|
|
47
|
+
Error generating stack: `+i.message+`
|
|
48
|
+
`+i.stack}}var pn=Object.prototype.hasOwnProperty,Yt=n.unstable_scheduleCallback,_u=n.unstable_cancelCallback,Pp=n.unstable_shouldYield,Jp=n.unstable_requestPaint,ma=n.unstable_now,e1=n.unstable_getCurrentPriorityLevel,rh=n.unstable_ImmediatePriority,lh=n.unstable_UserBlockingPriority,Es=n.unstable_NormalPriority,t1=n.unstable_LowPriority,nh=n.unstable_IdlePriority,a1=n.log,r1=n.unstable_setDisableYieldValue,Yi=null,ga=null;function Ir(e){if(typeof a1=="function"&&r1(e),ga&&typeof ga.setStrictMode=="function")try{ga.setStrictMode(Yi,e)}catch{}}var ba=Math.clz32?Math.clz32:i1,l1=Math.log,n1=Math.LN2;function i1(e){return e>>>=0,e===0?32:31-(l1(e)/n1|0)|0}var zs=256,Ds=262144,Cs=4194304;function kl(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ms(e,t,r){var i=e.pendingLanes;if(i===0)return 0;var u=0,d=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var _=i&134217727;return _!==0?(i=_&~d,i!==0?u=kl(i):(y&=_,y!==0?u=kl(y):r||(r=_&~e,r!==0&&(u=kl(r))))):(_=i&~d,_!==0?u=kl(_):y!==0?u=kl(y):r||(r=i&~e,r!==0&&(u=kl(r)))),u===0?0:t!==0&&t!==u&&(t&d)===0&&(d=u&-u,r=t&-t,d>=r||d===32&&(r&4194048)!==0)?t:u}function ki(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function o1(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 ih(){var e=Cs;return Cs<<=1,(Cs&62914560)===0&&(Cs=4194304),e}function Tu(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Hi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function s1(e,t,r,i,u,d){var y=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var _=e.entanglements,M=e.expirationTimes,Y=e.hiddenUpdates;for(r=y&~r;0<r;){var G=31-ba(r),X=1<<G;_[G]=0,M[G]=-1;var k=Y[G];if(k!==null)for(Y[G]=null,G=0;G<k.length;G++){var H=k[G];H!==null&&(H.lane&=-536870913)}r&=~X}i!==0&&oh(e,i,0),d!==0&&u===0&&e.tag!==0&&(e.suspendedLanes|=d&~(y&~t))}function oh(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-ba(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|r&261930}function sh(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var i=31-ba(r),u=1<<i;u&t|e[i]&t&&(e[i]|=t),r&=~u}}function ch(e,t){var r=t&-t;return r=(r&42)!==0?1:Eu(r),(r&(e.suspendedLanes|t))!==0?0:r}function Eu(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function zu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function uh(){var e=$.p;return e!==0?e:(e=window.event,e===void 0?32:Kg(e.type))}function fh(e,t){var r=$.p;try{return $.p=e,t()}finally{$.p=r}}var Pr=Math.random().toString(36).slice(2),xt="__reactFiber$"+Pr,aa="__reactProps$"+Pr,wn="__reactContainer$"+Pr,Du="__reactEvents$"+Pr,c1="__reactListeners$"+Pr,u1="__reactHandles$"+Pr,dh="__reactResources$"+Pr,Li="__reactMarker$"+Pr;function Cu(e){delete e[xt],delete e[aa],delete e[Du],delete e[c1],delete e[u1]}function xn(e){var t=e[xt];if(t)return t;for(var r=e.parentNode;r;){if(t=r[wn]||r[xt]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=jg(e);e!==null;){if(r=e[xt])return r;e=jg(e)}return t}e=r,r=e.parentNode}return null}function Sn(e){if(e=e[xt]||e[wn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function qi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function _n(e){var t=e[dh];return t||(t=e[dh]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function bt(e){e[Li]=!0}var vh=new Set,hh={};function Hl(e,t){Tn(e,t),Tn(e+"Capture",t)}function Tn(e,t){for(hh[e]=t,e=0;e<t.length;e++)vh.add(t[e])}var f1=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]*$"),mh={},gh={};function d1(e){return pn.call(gh,e)?!0:pn.call(mh,e)?!1:f1.test(e)?gh[e]=!0:(mh[e]=!0,!1)}function Os(e,t,r){if(d1(t))if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+r)}}function As(e,t,r){if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+r)}}function gr(e,t,r,i){if(i===null)e.removeAttribute(r);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(t,r,""+i)}}function Aa(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function v1(e,t,r){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var u=i.get,d=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(y){r=""+y,d.call(this,y)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return r},setValue:function(y){r=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Mu(e){if(!e._valueTracker){var t=bh(e)?"checked":"value";e._valueTracker=v1(e,t,""+e[t])}}function yh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),i="";return e&&(i=bh(e)?e.checked?"true":"false":e.value),e=i,e!==r?(t.setValue(e),!0):!1}function Rs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var h1=/[\n"\\]/g;function Ra(e){return e.replace(h1,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ou(e,t,r,i,u,d,y,_){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.type=y:e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Aa(t)):e.value!==""+Aa(t)&&(e.value=""+Aa(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?Au(e,y,Aa(t)):r!=null?Au(e,y,Aa(r)):i!=null&&e.removeAttribute("value"),u==null&&d!=null&&(e.defaultChecked=!!d),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?e.name=""+Aa(_):e.removeAttribute("name")}function ph(e,t,r,i,u,d,y,_){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),t!=null||r!=null){if(!(d!=="submit"&&d!=="reset"||t!=null)){Mu(e);return}r=r!=null?""+Aa(r):"",t=t!=null?""+Aa(t):r,_||t===e.value||(e.value=t),e.defaultValue=t}i=i??u,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=_?e.checked:!!i,e.defaultChecked=!!i,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.name=y),Mu(e)}function Au(e,t,r){t==="number"&&Rs(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function En(e,t,r,i){if(e=e.options,t){t={};for(var u=0;u<r.length;u++)t["$"+r[u]]=!0;for(r=0;r<e.length;r++)u=t.hasOwnProperty("$"+e[r].value),e[r].selected!==u&&(e[r].selected=u),u&&i&&(e[r].defaultSelected=!0)}else{for(r=""+Aa(r),t=null,u=0;u<e.length;u++){if(e[u].value===r){e[u].selected=!0,i&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function wh(e,t,r){if(t!=null&&(t=""+Aa(t),t!==e.value&&(e.value=t),r==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=r!=null?""+Aa(r):""}function xh(e,t,r,i){if(t==null){if(i!=null){if(r!=null)throw Error(o(92));if(De(i)){if(1<i.length)throw Error(o(93));i=i[0]}r=i}r==null&&(r=""),t=r}r=Aa(t),e.defaultValue=r,i=e.textContent,i===r&&i!==""&&i!==null&&(e.value=i),Mu(e)}function zn(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var m1=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 Sh(e,t,r){var i=t.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,r):typeof r!="number"||r===0||m1.has(t)?t==="float"?e.cssFloat=r:e[t]=(""+r).trim():e[t]=r+"px"}function _h(e,t,r){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,r!=null){for(var i in r)!r.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var u in t)i=t[u],t.hasOwnProperty(u)&&r[u]!==i&&Sh(e,u,i)}else for(var d in t)t.hasOwnProperty(d)&&Sh(e,d,t[d])}function Ru(e){if(e.indexOf("-")===-1)return!1;switch(e){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 g1=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"]]),b1=/^[\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 js(e){return b1.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function br(){}var ju=null;function Nu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Dn=null,Cn=null;function Th(e){var t=Sn(e);if(t&&(e=t.stateNode)){var r=e[aa]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ou(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+Ra(""+t)+'"][type="radio"]'),t=0;t<r.length;t++){var i=r[t];if(i!==e&&i.form===e.form){var u=i[aa]||null;if(!u)throw Error(o(90));Ou(i,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<r.length;t++)i=r[t],i.form===e.form&&yh(i)}break e;case"textarea":wh(e,r.value,r.defaultValue);break e;case"select":t=r.value,t!=null&&En(e,!!r.multiple,t,!1)}}}var Uu=!1;function Eh(e,t,r){if(Uu)return e(t,r);Uu=!0;try{var i=e(t);return i}finally{if(Uu=!1,(Dn!==null||Cn!==null)&&(wc(),Dn&&(t=Dn,e=Cn,Cn=Dn=null,Th(t),e)))for(t=0;t<e.length;t++)Th(e[t])}}function Bi(e,t){var r=e.stateNode;if(r===null)return null;var i=r[aa]||null;if(i===null)return null;r=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(o(231,t,typeof r));return r}var yr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Yu=!1;if(yr)try{var Zi={};Object.defineProperty(Zi,"passive",{get:function(){Yu=!0}}),window.addEventListener("test",Zi,Zi),window.removeEventListener("test",Zi,Zi)}catch{Yu=!1}var Jr=null,ku=null,Ns=null;function zh(){if(Ns)return Ns;var e,t=ku,r=t.length,i,u="value"in Jr?Jr.value:Jr.textContent,d=u.length;for(e=0;e<r&&t[e]===u[e];e++);var y=r-e;for(i=1;i<=y&&t[r-i]===u[d-i];i++);return Ns=u.slice(e,1<i?1-i:void 0)}function Us(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ys(){return!0}function Dh(){return!1}function ra(e){function t(r,i,u,d,y){this._reactName=r,this._targetInst=u,this.type=i,this.nativeEvent=d,this.target=y,this.currentTarget=null;for(var _ in e)e.hasOwnProperty(_)&&(r=e[_],this[_]=r?r(d):d[_]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Ys:Dh,this.isPropagationStopped=Dh,this}return b(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Ys)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Ys)},persist:function(){},isPersistent:Ys}),t}var Ll={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ks=ra(Ll),Gi=b({},Ll,{view:0,detail:0}),y1=ra(Gi),Hu,Lu,Vi,Hs=b({},Gi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Bu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Vi&&(Vi&&e.type==="mousemove"?(Hu=e.screenX-Vi.screenX,Lu=e.screenY-Vi.screenY):Lu=Hu=0,Vi=e),Hu)},movementY:function(e){return"movementY"in e?e.movementY:Lu}}),Ch=ra(Hs),p1=b({},Hs,{dataTransfer:0}),w1=ra(p1),x1=b({},Gi,{relatedTarget:0}),qu=ra(x1),S1=b({},Ll,{animationName:0,elapsedTime:0,pseudoElement:0}),_1=ra(S1),T1=b({},Ll,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),E1=ra(T1),z1=b({},Ll,{data:0}),Mh=ra(z1),D1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},C1={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"},M1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function O1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=M1[e])?!!t[e]:!1}function Bu(){return O1}var A1=b({},Gi,{key:function(e){if(e.key){var t=D1[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Us(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?C1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Bu,charCode:function(e){return e.type==="keypress"?Us(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Us(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),R1=ra(A1),j1=b({},Hs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Oh=ra(j1),N1=b({},Gi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Bu}),U1=ra(N1),Y1=b({},Ll,{propertyName:0,elapsedTime:0,pseudoElement:0}),k1=ra(Y1),H1=b({},Hs,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),L1=ra(H1),q1=b({},Ll,{newState:0,oldState:0}),B1=ra(q1),Z1=[9,13,27,32],Zu=yr&&"CompositionEvent"in window,Xi=null;yr&&"documentMode"in document&&(Xi=document.documentMode);var G1=yr&&"TextEvent"in window&&!Xi,Ah=yr&&(!Zu||Xi&&8<Xi&&11>=Xi),Rh=" ",jh=!1;function Nh(e,t){switch(e){case"keyup":return Z1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Uh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Mn=!1;function V1(e,t){switch(e){case"compositionend":return Uh(t);case"keypress":return t.which!==32?null:(jh=!0,Rh);case"textInput":return e=t.data,e===Rh&&jh?null:e;default:return null}}function X1(e,t){if(Mn)return e==="compositionend"||!Zu&&Nh(e,t)?(e=zh(),Ns=ku=Jr=null,Mn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ah&&t.locale!=="ko"?null:t.data;default:return null}}var $1={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 Yh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$1[e.type]:t==="textarea"}function kh(e,t,r,i){Dn?Cn?Cn.push(i):Cn=[i]:Dn=i,t=Dc(t,"onChange"),0<t.length&&(r=new ks("onChange","change",null,r,i),e.push({event:r,listeners:t}))}var $i=null,Qi=null;function Q1(e){pg(e,0)}function Ls(e){var t=qi(e);if(yh(t))return e}function Hh(e,t){if(e==="change")return t}var Lh=!1;if(yr){var Gu;if(yr){var Vu="oninput"in document;if(!Vu){var qh=document.createElement("div");qh.setAttribute("oninput","return;"),Vu=typeof qh.oninput=="function"}Gu=Vu}else Gu=!1;Lh=Gu&&(!document.documentMode||9<document.documentMode)}function Bh(){$i&&($i.detachEvent("onpropertychange",Zh),Qi=$i=null)}function Zh(e){if(e.propertyName==="value"&&Ls(Qi)){var t=[];kh(t,Qi,e,Nu(e)),Eh(Q1,t)}}function W1(e,t,r){e==="focusin"?(Bh(),$i=t,Qi=r,$i.attachEvent("onpropertychange",Zh)):e==="focusout"&&Bh()}function K1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ls(Qi)}function F1(e,t){if(e==="click")return Ls(t)}function I1(e,t){if(e==="input"||e==="change")return Ls(t)}function P1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ya=typeof Object.is=="function"?Object.is:P1;function Wi(e,t){if(ya(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(i=0;i<r.length;i++){var u=r[i];if(!pn.call(t,u)||!ya(e[u],t[u]))return!1}return!0}function Gh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Vh(e,t){var r=Gh(e);e=0;for(var i;r;){if(r.nodeType===3){if(i=e+r.textContent.length,e<=t&&i>=t)return{node:r,offset:t-e};e=i}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Gh(r)}}function Xh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Xh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function $h(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Rs(e.document);t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Rs(e.document)}return t}function Xu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var J1=yr&&"documentMode"in document&&11>=document.documentMode,On=null,$u=null,Ki=null,Qu=!1;function Qh(e,t,r){var i=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Qu||On==null||On!==Rs(i)||(i=On,"selectionStart"in i&&Xu(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Ki&&Wi(Ki,i)||(Ki=i,i=Dc($u,"onSelect"),0<i.length&&(t=new ks("onSelect","select",null,t,r),e.push({event:t,listeners:i}),t.target=On)))}function ql(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var An={animationend:ql("Animation","AnimationEnd"),animationiteration:ql("Animation","AnimationIteration"),animationstart:ql("Animation","AnimationStart"),transitionrun:ql("Transition","TransitionRun"),transitionstart:ql("Transition","TransitionStart"),transitioncancel:ql("Transition","TransitionCancel"),transitionend:ql("Transition","TransitionEnd")},Wu={},Wh={};yr&&(Wh=document.createElement("div").style,"AnimationEvent"in window||(delete An.animationend.animation,delete An.animationiteration.animation,delete An.animationstart.animation),"TransitionEvent"in window||delete An.transitionend.transition);function Bl(e){if(Wu[e])return Wu[e];if(!An[e])return e;var t=An[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Wh)return Wu[e]=t[r];return e}var Kh=Bl("animationend"),Fh=Bl("animationiteration"),Ih=Bl("animationstart"),e2=Bl("transitionrun"),t2=Bl("transitionstart"),a2=Bl("transitioncancel"),Ph=Bl("transitionend"),Jh=new Map,Ku="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(" ");Ku.push("scrollEnd");function Wa(e,t){Jh.set(e,t),Hl(t,[e])}var qs=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},ja=[],Rn=0,Fu=0;function Bs(){for(var e=Rn,t=Fu=Rn=0;t<e;){var r=ja[t];ja[t++]=null;var i=ja[t];ja[t++]=null;var u=ja[t];ja[t++]=null;var d=ja[t];if(ja[t++]=null,i!==null&&u!==null){var y=i.pending;y===null?u.next=u:(u.next=y.next,y.next=u),i.pending=u}d!==0&&em(r,u,d)}}function Zs(e,t,r,i){ja[Rn++]=e,ja[Rn++]=t,ja[Rn++]=r,ja[Rn++]=i,Fu|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function Iu(e,t,r,i){return Zs(e,t,r,i),Gs(e)}function Zl(e,t){return Zs(e,null,null,t),Gs(e)}function em(e,t,r){e.lanes|=r;var i=e.alternate;i!==null&&(i.lanes|=r);for(var u=!1,d=e.return;d!==null;)d.childLanes|=r,i=d.alternate,i!==null&&(i.childLanes|=r),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(u=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,u&&t!==null&&(u=31-ba(r),e=d.hiddenUpdates,i=e[u],i===null?e[u]=[t]:i.push(t),t.lane=r|536870912),d):null}function Gs(e){if(50<yo)throw yo=0,od=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var jn={};function r2(e,t,r,i){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function pa(e,t,r,i){return new r2(e,t,r,i)}function Pu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pr(e,t){var r=e.alternate;return r===null?(r=pa(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function tm(e,t){e.flags&=65011714;var r=e.alternate;return r===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,t=r.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Vs(e,t,r,i,u,d){var y=0;if(i=e,typeof e=="function")Pu(e)&&(y=1);else if(typeof e=="string")y=sw(e,r,te.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case I:return e=pa(31,r,t,u),e.elementType=I,e.lanes=d,e;case E:return Gl(r.children,u,d,t);case z:y=8,u|=24;break;case A:return e=pa(12,r,t,u|2),e.elementType=A,e.lanes=d,e;case Q:return e=pa(13,r,t,u),e.elementType=Q,e.lanes=d,e;case P:return e=pa(19,r,t,u),e.elementType=P,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case N:y=10;break e;case q:y=9;break e;case W:y=11;break e;case K:y=14;break e;case ae:y=16,i=null;break e}y=29,r=Error(o(130,e===null?"null":typeof e,"")),i=null}return t=pa(y,r,t,u),t.elementType=e,t.type=i,t.lanes=d,t}function Gl(e,t,r,i){return e=pa(7,e,i,t),e.lanes=r,e}function Ju(e,t,r){return e=pa(6,e,null,t),e.lanes=r,e}function am(e){var t=pa(18,null,null,0);return t.stateNode=e,t}function ef(e,t,r){return t=pa(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rm=new WeakMap;function Na(e,t){if(typeof e=="object"&&e!==null){var r=rm.get(e);return r!==void 0?r:(t={value:e,source:t,stack:Ts(t)},rm.set(e,t),t)}return{value:e,source:t,stack:Ts(t)}}var Nn=[],Un=0,Xs=null,Fi=0,Ua=[],Ya=0,el=null,Ja=1,er="";function wr(e,t){Nn[Un++]=Fi,Nn[Un++]=Xs,Xs=e,Fi=t}function lm(e,t,r){Ua[Ya++]=Ja,Ua[Ya++]=er,Ua[Ya++]=el,el=e;var i=Ja;e=er;var u=32-ba(i)-1;i&=~(1<<u),r+=1;var d=32-ba(t)+u;if(30<d){var y=u-u%5;d=(i&(1<<y)-1).toString(32),i>>=y,u-=y,Ja=1<<32-ba(t)+u|r<<u|i,er=d+e}else Ja=1<<d|r<<u|i,er=e}function tf(e){e.return!==null&&(wr(e,1),lm(e,1,0))}function af(e){for(;e===Xs;)Xs=Nn[--Un],Nn[Un]=null,Fi=Nn[--Un],Nn[Un]=null;for(;e===el;)el=Ua[--Ya],Ua[Ya]=null,er=Ua[--Ya],Ua[Ya]=null,Ja=Ua[--Ya],Ua[Ya]=null}function nm(e,t){Ua[Ya++]=Ja,Ua[Ya++]=er,Ua[Ya++]=el,Ja=t.id,er=t.overflow,el=e}var St=null,Ke=null,je=!1,tl=null,ka=!1,rf=Error(o(519));function al(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ii(Na(t,e)),rf}function im(e){var t=e.stateNode,r=e.type,i=e.memoizedProps;switch(t[xt]=e,t[aa]=i,r){case"dialog":Oe("cancel",t),Oe("close",t);break;case"iframe":case"object":case"embed":Oe("load",t);break;case"video":case"audio":for(r=0;r<wo.length;r++)Oe(wo[r],t);break;case"source":Oe("error",t);break;case"img":case"image":case"link":Oe("error",t),Oe("load",t);break;case"details":Oe("toggle",t);break;case"input":Oe("invalid",t),ph(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":Oe("invalid",t);break;case"textarea":Oe("invalid",t),xh(t,i.value,i.defaultValue,i.children)}r=i.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||t.textContent===""+r||i.suppressHydrationWarning===!0||_g(t.textContent,r)?(i.popover!=null&&(Oe("beforetoggle",t),Oe("toggle",t)),i.onScroll!=null&&Oe("scroll",t),i.onScrollEnd!=null&&Oe("scrollend",t),i.onClick!=null&&(t.onclick=br),t=!0):t=!1,t||al(e,!0)}function om(e){for(St=e.return;St;)switch(St.tag){case 5:case 31:case 13:ka=!1;return;case 27:case 3:ka=!0;return;default:St=St.return}}function Yn(e){if(e!==St)return!1;if(!je)return om(e),je=!0,!1;var t=e.tag,r;if((r=t!==3&&t!==27)&&((r=t===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||Sd(e.type,e.memoizedProps)),r=!r),r&&Ke&&al(e),om(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ke=Rg(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ke=Rg(e)}else t===27?(t=Ke,gl(e.type)?(e=Dd,Dd=null,Ke=e):Ke=t):Ke=St?La(e.stateNode.nextSibling):null;return!0}function Vl(){Ke=St=null,je=!1}function lf(){var e=tl;return e!==null&&(oa===null?oa=e:oa.push.apply(oa,e),tl=null),e}function Ii(e){tl===null?tl=[e]:tl.push(e)}var nf=C(null),Xl=null,xr=null;function rl(e,t,r){ee(nf,t._currentValue),t._currentValue=r}function Sr(e){e._currentValue=nf.current,Z(nf)}function of(e,t,r){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===r)break;e=e.return}}function sf(e,t,r,i){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var d=u.dependencies;if(d!==null){var y=u.child;d=d.firstContext;e:for(;d!==null;){var _=d;d=u;for(var M=0;M<t.length;M++)if(_.context===t[M]){d.lanes|=r,_=d.alternate,_!==null&&(_.lanes|=r),of(d.return,r,e),i||(y=null);break e}d=_.next}}else if(u.tag===18){if(y=u.return,y===null)throw Error(o(341));y.lanes|=r,d=y.alternate,d!==null&&(d.lanes|=r),of(y,r,e),y=null}else y=u.child;if(y!==null)y.return=u;else for(y=u;y!==null;){if(y===e){y=null;break}if(u=y.sibling,u!==null){u.return=y.return,y=u;break}y=y.return}u=y}}function kn(e,t,r,i){e=null;for(var u=t,d=!1;u!==null;){if(!d){if((u.flags&524288)!==0)d=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var y=u.alternate;if(y===null)throw Error(o(387));if(y=y.memoizedProps,y!==null){var _=u.type;ya(u.pendingProps.value,y.value)||(e!==null?e.push(_):e=[_])}}else if(u===Ce.current){if(y=u.alternate,y===null)throw Error(o(387));y.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(e!==null?e.push(Eo):e=[Eo])}u=u.return}e!==null&&sf(t,e,r,i),t.flags|=262144}function $s(e){for(e=e.firstContext;e!==null;){if(!ya(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function $l(e){Xl=e,xr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function _t(e){return sm(Xl,e)}function Qs(e,t){return Xl===null&&$l(e),sm(e,t)}function sm(e,t){var r=t._currentValue;if(t={context:t,memoizedValue:r,next:null},xr===null){if(e===null)throw Error(o(308));xr=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else xr=xr.next=t;return r}var l2=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(r,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(r){return r()})}},n2=n.unstable_scheduleCallback,i2=n.unstable_NormalPriority,ut={$$typeof:N,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function cf(){return{controller:new l2,data:new Map,refCount:0}}function Pi(e){e.refCount--,e.refCount===0&&n2(i2,function(){e.controller.abort()})}var Ji=null,uf=0,Hn=0,Ln=null;function o2(e,t){if(Ji===null){var r=Ji=[];uf=0,Hn=vd(),Ln={status:"pending",value:void 0,then:function(i){r.push(i)}}}return uf++,t.then(cm,cm),t}function cm(){if(--uf===0&&Ji!==null){Ln!==null&&(Ln.status="fulfilled");var e=Ji;Ji=null,Hn=0,Ln=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function s2(e,t){var r=[],i={status:"pending",value:null,reason:null,then:function(u){r.push(u)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var u=0;u<r.length;u++)(0,r[u])(t)},function(u){for(i.status="rejected",i.reason=u,u=0;u<r.length;u++)(0,r[u])(void 0)}),i}var um=j.S;j.S=function(e,t){Q0=ma(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&o2(e,t),um!==null&&um(e,t)};var Ql=C(null);function ff(){var e=Ql.current;return e!==null?e:Qe.pooledCache}function Ws(e,t){t===null?ee(Ql,Ql.current):ee(Ql,t.pool)}function fm(){var e=ff();return e===null?null:{parent:ut._currentValue,pool:e}}var qn=Error(o(460)),df=Error(o(474)),Ks=Error(o(542)),Fs={then:function(){}};function dm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function vm(e,t,r){switch(r=e[r],r===void 0?e.push(t):r!==t&&(t.then(br,br),t=r),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,mm(e),e;default:if(typeof t.status=="string")t.then(br,br);else{if(e=Qe,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=i}},function(i){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,mm(e),e}throw Kl=t,qn}}function Wl(e){try{var t=e._init;return t(e._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(Kl=r,qn):r}}var Kl=null;function hm(){if(Kl===null)throw Error(o(459));var e=Kl;return Kl=null,e}function mm(e){if(e===qn||e===Ks)throw Error(o(483))}var Bn=null,eo=0;function Is(e){var t=eo;return eo+=1,Bn===null&&(Bn=[]),vm(Bn,e,t)}function to(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ps(e,t){throw t.$$typeof===p?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function gm(e){function t(R,O){if(e){var U=R.deletions;U===null?(R.deletions=[O],R.flags|=16):U.push(O)}}function r(R,O){if(!e)return null;for(;O!==null;)t(R,O),O=O.sibling;return null}function i(R){for(var O=new Map;R!==null;)R.key!==null?O.set(R.key,R):O.set(R.index,R),R=R.sibling;return O}function u(R,O){return R=pr(R,O),R.index=0,R.sibling=null,R}function d(R,O,U){return R.index=U,e?(U=R.alternate,U!==null?(U=U.index,U<O?(R.flags|=67108866,O):U):(R.flags|=67108866,O)):(R.flags|=1048576,O)}function y(R){return e&&R.alternate===null&&(R.flags|=67108866),R}function _(R,O,U,V){return O===null||O.tag!==6?(O=Ju(U,R.mode,V),O.return=R,O):(O=u(O,U),O.return=R,O)}function M(R,O,U,V){var ue=U.type;return ue===E?G(R,O,U.props.children,V,U.key):O!==null&&(O.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===ae&&Wl(ue)===O.type)?(O=u(O,U.props),to(O,U),O.return=R,O):(O=Vs(U.type,U.key,U.props,null,R.mode,V),to(O,U),O.return=R,O)}function Y(R,O,U,V){return O===null||O.tag!==4||O.stateNode.containerInfo!==U.containerInfo||O.stateNode.implementation!==U.implementation?(O=ef(U,R.mode,V),O.return=R,O):(O=u(O,U.children||[]),O.return=R,O)}function G(R,O,U,V,ue){return O===null||O.tag!==7?(O=Gl(U,R.mode,V,ue),O.return=R,O):(O=u(O,U),O.return=R,O)}function X(R,O,U){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=Ju(""+O,R.mode,U),O.return=R,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case S:return U=Vs(O.type,O.key,O.props,null,R.mode,U),to(U,O),U.return=R,U;case T:return O=ef(O,R.mode,U),O.return=R,O;case ae:return O=Wl(O),X(R,O,U)}if(De(O)||re(O))return O=Gl(O,R.mode,U,null),O.return=R,O;if(typeof O.then=="function")return X(R,Is(O),U);if(O.$$typeof===N)return X(R,Qs(R,O),U);Ps(R,O)}return null}function k(R,O,U,V){var ue=O!==null?O.key:null;if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return ue!==null?null:_(R,O,""+U,V);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case S:return U.key===ue?M(R,O,U,V):null;case T:return U.key===ue?Y(R,O,U,V):null;case ae:return U=Wl(U),k(R,O,U,V)}if(De(U)||re(U))return ue!==null?null:G(R,O,U,V,null);if(typeof U.then=="function")return k(R,O,Is(U),V);if(U.$$typeof===N)return k(R,O,Qs(R,U),V);Ps(R,U)}return null}function H(R,O,U,V,ue){if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return R=R.get(U)||null,_(O,R,""+V,ue);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case S:return R=R.get(V.key===null?U:V.key)||null,M(O,R,V,ue);case T:return R=R.get(V.key===null?U:V.key)||null,Y(O,R,V,ue);case ae:return V=Wl(V),H(R,O,U,V,ue)}if(De(V)||re(V))return R=R.get(U)||null,G(O,R,V,ue,null);if(typeof V.then=="function")return H(R,O,U,Is(V),ue);if(V.$$typeof===N)return H(R,O,U,Qs(O,V),ue);Ps(O,V)}return null}function ie(R,O,U,V){for(var ue=null,Ye=null,oe=O,_e=O=0,Re=null;oe!==null&&_e<U.length;_e++){oe.index>_e?(Re=oe,oe=null):Re=oe.sibling;var ke=k(R,oe,U[_e],V);if(ke===null){oe===null&&(oe=Re);break}e&&oe&&ke.alternate===null&&t(R,oe),O=d(ke,O,_e),Ye===null?ue=ke:Ye.sibling=ke,Ye=ke,oe=Re}if(_e===U.length)return r(R,oe),je&&wr(R,_e),ue;if(oe===null){for(;_e<U.length;_e++)oe=X(R,U[_e],V),oe!==null&&(O=d(oe,O,_e),Ye===null?ue=oe:Ye.sibling=oe,Ye=oe);return je&&wr(R,_e),ue}for(oe=i(oe);_e<U.length;_e++)Re=H(oe,R,_e,U[_e],V),Re!==null&&(e&&Re.alternate!==null&&oe.delete(Re.key===null?_e:Re.key),O=d(Re,O,_e),Ye===null?ue=Re:Ye.sibling=Re,Ye=Re);return e&&oe.forEach(function(xl){return t(R,xl)}),je&&wr(R,_e),ue}function de(R,O,U,V){if(U==null)throw Error(o(151));for(var ue=null,Ye=null,oe=O,_e=O=0,Re=null,ke=U.next();oe!==null&&!ke.done;_e++,ke=U.next()){oe.index>_e?(Re=oe,oe=null):Re=oe.sibling;var xl=k(R,oe,ke.value,V);if(xl===null){oe===null&&(oe=Re);break}e&&oe&&xl.alternate===null&&t(R,oe),O=d(xl,O,_e),Ye===null?ue=xl:Ye.sibling=xl,Ye=xl,oe=Re}if(ke.done)return r(R,oe),je&&wr(R,_e),ue;if(oe===null){for(;!ke.done;_e++,ke=U.next())ke=X(R,ke.value,V),ke!==null&&(O=d(ke,O,_e),Ye===null?ue=ke:Ye.sibling=ke,Ye=ke);return je&&wr(R,_e),ue}for(oe=i(oe);!ke.done;_e++,ke=U.next())ke=H(oe,R,_e,ke.value,V),ke!==null&&(e&&ke.alternate!==null&&oe.delete(ke.key===null?_e:ke.key),O=d(ke,O,_e),Ye===null?ue=ke:Ye.sibling=ke,Ye=ke);return e&&oe.forEach(function(pw){return t(R,pw)}),je&&wr(R,_e),ue}function $e(R,O,U,V){if(typeof U=="object"&&U!==null&&U.type===E&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case S:e:{for(var ue=U.key;O!==null;){if(O.key===ue){if(ue=U.type,ue===E){if(O.tag===7){r(R,O.sibling),V=u(O,U.props.children),V.return=R,R=V;break e}}else if(O.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===ae&&Wl(ue)===O.type){r(R,O.sibling),V=u(O,U.props),to(V,U),V.return=R,R=V;break e}r(R,O);break}else t(R,O);O=O.sibling}U.type===E?(V=Gl(U.props.children,R.mode,V,U.key),V.return=R,R=V):(V=Vs(U.type,U.key,U.props,null,R.mode,V),to(V,U),V.return=R,R=V)}return y(R);case T:e:{for(ue=U.key;O!==null;){if(O.key===ue)if(O.tag===4&&O.stateNode.containerInfo===U.containerInfo&&O.stateNode.implementation===U.implementation){r(R,O.sibling),V=u(O,U.children||[]),V.return=R,R=V;break e}else{r(R,O);break}else t(R,O);O=O.sibling}V=ef(U,R.mode,V),V.return=R,R=V}return y(R);case ae:return U=Wl(U),$e(R,O,U,V)}if(De(U))return ie(R,O,U,V);if(re(U)){if(ue=re(U),typeof ue!="function")throw Error(o(150));return U=ue.call(U),de(R,O,U,V)}if(typeof U.then=="function")return $e(R,O,Is(U),V);if(U.$$typeof===N)return $e(R,O,Qs(R,U),V);Ps(R,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(U=""+U,O!==null&&O.tag===6?(r(R,O.sibling),V=u(O,U),V.return=R,R=V):(r(R,O),V=Ju(U,R.mode,V),V.return=R,R=V),y(R)):r(R,O)}return function(R,O,U,V){try{eo=0;var ue=$e(R,O,U,V);return Bn=null,ue}catch(oe){if(oe===qn||oe===Ks)throw oe;var Ye=pa(29,oe,null,R.mode);return Ye.lanes=V,Ye.return=R,Ye}finally{}}}var Fl=gm(!0),bm=gm(!1),ll=!1;function vf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function hf(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function nl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function il(e,t,r){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(Le&2)!==0){var u=i.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),i.pending=t,t=Gs(e),em(e,null,r),t}return Zs(e,i,t,r),Gs(e)}function ao(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,r|=i,t.lanes=r,sh(e,r)}}function mf(e,t){var r=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,r===i)){var u=null,d=null;if(r=r.firstBaseUpdate,r!==null){do{var y={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};d===null?u=d=y:d=d.next=y,r=r.next}while(r!==null);d===null?u=d=t:d=d.next=t}else u=d=t;r={baseState:i.baseState,firstBaseUpdate:u,lastBaseUpdate:d,shared:i.shared,callbacks:i.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}var gf=!1;function ro(){if(gf){var e=Ln;if(e!==null)throw e}}function lo(e,t,r,i){gf=!1;var u=e.updateQueue;ll=!1;var d=u.firstBaseUpdate,y=u.lastBaseUpdate,_=u.shared.pending;if(_!==null){u.shared.pending=null;var M=_,Y=M.next;M.next=null,y===null?d=Y:y.next=Y,y=M;var G=e.alternate;G!==null&&(G=G.updateQueue,_=G.lastBaseUpdate,_!==y&&(_===null?G.firstBaseUpdate=Y:_.next=Y,G.lastBaseUpdate=M))}if(d!==null){var X=u.baseState;y=0,G=Y=M=null,_=d;do{var k=_.lane&-536870913,H=k!==_.lane;if(H?(Ae&k)===k:(i&k)===k){k!==0&&k===Hn&&(gf=!0),G!==null&&(G=G.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{var ie=e,de=_;k=t;var $e=r;switch(de.tag){case 1:if(ie=de.payload,typeof ie=="function"){X=ie.call($e,X,k);break e}X=ie;break e;case 3:ie.flags=ie.flags&-65537|128;case 0:if(ie=de.payload,k=typeof ie=="function"?ie.call($e,X,k):ie,k==null)break e;X=b({},X,k);break e;case 2:ll=!0}}k=_.callback,k!==null&&(e.flags|=64,H&&(e.flags|=8192),H=u.callbacks,H===null?u.callbacks=[k]:H.push(k))}else H={lane:k,tag:_.tag,payload:_.payload,callback:_.callback,next:null},G===null?(Y=G=H,M=X):G=G.next=H,y|=k;if(_=_.next,_===null){if(_=u.shared.pending,_===null)break;H=_,_=H.next,H.next=null,u.lastBaseUpdate=H,u.shared.pending=null}}while(!0);G===null&&(M=X),u.baseState=M,u.firstBaseUpdate=Y,u.lastBaseUpdate=G,d===null&&(u.shared.lanes=0),fl|=y,e.lanes=y,e.memoizedState=X}}function ym(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function pm(e,t){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)ym(r[e],t)}var Zn=C(null),Js=C(0);function wm(e,t){e=Ar,ee(Js,e),ee(Zn,t),Ar=e|t.baseLanes}function bf(){ee(Js,Ar),ee(Zn,Zn.current)}function yf(){Ar=Js.current,Z(Zn),Z(Js)}var wa=C(null),Ha=null;function ol(e){var t=e.alternate;ee(ot,ot.current&1),ee(wa,e),Ha===null&&(t===null||Zn.current!==null||t.memoizedState!==null)&&(Ha=e)}function pf(e){ee(ot,ot.current),ee(wa,e),Ha===null&&(Ha=e)}function xm(e){e.tag===22?(ee(ot,ot.current),ee(wa,e),Ha===null&&(Ha=e)):sl()}function sl(){ee(ot,ot.current),ee(wa,wa.current)}function xa(e){Z(wa),Ha===e&&(Ha=null),Z(ot)}var ot=C(0);function ec(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Ed(r)||zd(r)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var _r=0,Se=null,Ve=null,ft=null,tc=!1,Gn=!1,Il=!1,ac=0,no=0,Vn=null,c2=0;function lt(){throw Error(o(321))}function wf(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!ya(e[r],t[r]))return!1;return!0}function xf(e,t,r,i,u,d){return _r=d,Se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,j.H=e===null||e.memoizedState===null?l0:Yf,Il=!1,d=r(i,u),Il=!1,Gn&&(d=_m(t,r,i,u)),Sm(e),d}function Sm(e){j.H=so;var t=Ve!==null&&Ve.next!==null;if(_r=0,ft=Ve=Se=null,tc=!1,no=0,Vn=null,t)throw Error(o(300));e===null||dt||(e=e.dependencies,e!==null&&$s(e)&&(dt=!0))}function _m(e,t,r,i){Se=e;var u=0;do{if(Gn&&(Vn=null),no=0,Gn=!1,25<=u)throw Error(o(301));if(u+=1,ft=Ve=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}j.H=n0,d=t(r,i)}while(Gn);return d}function u2(){var e=j.H,t=e.useState()[0];return t=typeof t.then=="function"?io(t):t,e=e.useState()[0],(Ve!==null?Ve.memoizedState:null)!==e&&(Se.flags|=1024),t}function Sf(){var e=ac!==0;return ac=0,e}function _f(e,t,r){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r}function Tf(e){if(tc){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}tc=!1}_r=0,ft=Ve=Se=null,Gn=!1,no=ac=0,Vn=null}function kt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ft===null?Se.memoizedState=ft=e:ft=ft.next=e,ft}function st(){if(Ve===null){var e=Se.alternate;e=e!==null?e.memoizedState:null}else e=Ve.next;var t=ft===null?Se.memoizedState:ft.next;if(t!==null)ft=t,Ve=e;else{if(e===null)throw Se.alternate===null?Error(o(467)):Error(o(310));Ve=e,e={memoizedState:Ve.memoizedState,baseState:Ve.baseState,baseQueue:Ve.baseQueue,queue:Ve.queue,next:null},ft===null?Se.memoizedState=ft=e:ft=ft.next=e}return ft}function rc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function io(e){var t=no;return no+=1,Vn===null&&(Vn=[]),e=vm(Vn,e,t),t=Se,(ft===null?t.memoizedState:ft.next)===null&&(t=t.alternate,j.H=t===null||t.memoizedState===null?l0:Yf),e}function lc(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return io(e);if(e.$$typeof===N)return _t(e)}throw Error(o(438,String(e)))}function Ef(e){var t=null,r=Se.updateQueue;if(r!==null&&(t=r.memoCache),t==null){var i=Se.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),r===null&&(r=rc(),Se.updateQueue=r),r.memoCache=t,r=t.data[t.index],r===void 0)for(r=t.data[t.index]=Array(e),i=0;i<e;i++)r[i]=le;return t.index++,r}function Tr(e,t){return typeof t=="function"?t(e):t}function nc(e){var t=st();return zf(t,Ve,e)}function zf(e,t,r){var i=e.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=r;var u=e.baseQueue,d=i.pending;if(d!==null){if(u!==null){var y=u.next;u.next=d.next,d.next=y}t.baseQueue=u=d,i.pending=null}if(d=e.baseState,u===null)e.memoizedState=d;else{t=u.next;var _=y=null,M=null,Y=t,G=!1;do{var X=Y.lane&-536870913;if(X!==Y.lane?(Ae&X)===X:(_r&X)===X){var k=Y.revertLane;if(k===0)M!==null&&(M=M.next={lane:0,revertLane:0,gesture:null,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null}),X===Hn&&(G=!0);else if((_r&k)===k){Y=Y.next,k===Hn&&(G=!0);continue}else X={lane:0,revertLane:Y.revertLane,gesture:null,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null},M===null?(_=M=X,y=d):M=M.next=X,Se.lanes|=k,fl|=k;X=Y.action,Il&&r(d,X),d=Y.hasEagerState?Y.eagerState:r(d,X)}else k={lane:X,revertLane:Y.revertLane,gesture:Y.gesture,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null},M===null?(_=M=k,y=d):M=M.next=k,Se.lanes|=X,fl|=X;Y=Y.next}while(Y!==null&&Y!==t);if(M===null?y=d:M.next=_,!ya(d,e.memoizedState)&&(dt=!0,G&&(r=Ln,r!==null)))throw r;e.memoizedState=d,e.baseState=y,e.baseQueue=M,i.lastRenderedState=d}return u===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function Df(e){var t=st(),r=t.queue;if(r===null)throw Error(o(311));r.lastRenderedReducer=e;var i=r.dispatch,u=r.pending,d=t.memoizedState;if(u!==null){r.pending=null;var y=u=u.next;do d=e(d,y.action),y=y.next;while(y!==u);ya(d,t.memoizedState)||(dt=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),r.lastRenderedState=d}return[d,i]}function Tm(e,t,r){var i=Se,u=st(),d=je;if(d){if(r===void 0)throw Error(o(407));r=r()}else r=t();var y=!ya((Ve||u).memoizedState,r);if(y&&(u.memoizedState=r,dt=!0),u=u.queue,Of(Dm.bind(null,i,u,e),[e]),u.getSnapshot!==t||y||ft!==null&&ft.memoizedState.tag&1){if(i.flags|=2048,Xn(9,{destroy:void 0},zm.bind(null,i,u,r,t),null),Qe===null)throw Error(o(349));d||(_r&127)!==0||Em(i,t,r)}return r}function Em(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Se.updateQueue,t===null?(t=rc(),Se.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function zm(e,t,r,i){t.value=r,t.getSnapshot=i,Cm(t)&&Mm(e)}function Dm(e,t,r){return r(function(){Cm(t)&&Mm(e)})}function Cm(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!ya(e,r)}catch{return!0}}function Mm(e){var t=Zl(e,2);t!==null&&sa(t,e,2)}function Cf(e){var t=kt();if(typeof e=="function"){var r=e;if(e=r(),Il){Ir(!0);try{r()}finally{Ir(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tr,lastRenderedState:e},t}function Om(e,t,r,i){return e.baseState=r,zf(e,Ve,typeof i=="function"?i:Tr)}function f2(e,t,r,i,u){if(sc(e))throw Error(o(485));if(e=t.action,e!==null){var d={payload:u,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){d.listeners.push(y)}};j.T!==null?r(!0):d.isTransition=!1,i(d),r=t.pending,r===null?(d.next=t.pending=d,Am(t,d)):(d.next=r.next,t.pending=r.next=d)}}function Am(e,t){var r=t.action,i=t.payload,u=e.state;if(t.isTransition){var d=j.T,y={};j.T=y;try{var _=r(u,i),M=j.S;M!==null&&M(y,_),Rm(e,t,_)}catch(Y){Mf(e,t,Y)}finally{d!==null&&y.types!==null&&(d.types=y.types),j.T=d}}else try{d=r(u,i),Rm(e,t,d)}catch(Y){Mf(e,t,Y)}}function Rm(e,t,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(i){jm(e,t,i)},function(i){return Mf(e,t,i)}):jm(e,t,r)}function jm(e,t,r){t.status="fulfilled",t.value=r,Nm(t),e.state=r,t=e.pending,t!==null&&(r=t.next,r===t?e.pending=null:(r=r.next,t.next=r,Am(e,r)))}function Mf(e,t,r){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=r,Nm(t),t=t.next;while(t!==i)}e.action=null}function Nm(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Um(e,t){return t}function Ym(e,t){if(je){var r=Qe.formState;if(r!==null){e:{var i=Se;if(je){if(Ke){t:{for(var u=Ke,d=ka;u.nodeType!==8;){if(!d){u=null;break t}if(u=La(u.nextSibling),u===null){u=null;break t}}d=u.data,u=d==="F!"||d==="F"?u:null}if(u){Ke=La(u.nextSibling),i=u.data==="F!";break e}}al(i)}i=!1}i&&(t=r[0])}}return r=kt(),r.memoizedState=r.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Um,lastRenderedState:t},r.queue=i,r=t0.bind(null,Se,i),i.dispatch=r,i=Cf(!1),d=Uf.bind(null,Se,!1,i.queue),i=kt(),u={state:t,dispatch:null,action:e,pending:null},i.queue=u,r=f2.bind(null,Se,u,d,r),u.dispatch=r,i.memoizedState=e,[t,r,!1]}function km(e){var t=st();return Hm(t,Ve,e)}function Hm(e,t,r){if(t=zf(e,t,Um)[0],e=nc(Tr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=io(t)}catch(y){throw y===qn?Ks:y}else i=t;t=st();var u=t.queue,d=u.dispatch;return r!==t.memoizedState&&(Se.flags|=2048,Xn(9,{destroy:void 0},d2.bind(null,u,r),null)),[i,d,e]}function d2(e,t){e.action=t}function Lm(e){var t=st(),r=Ve;if(r!==null)return Hm(t,r,e);st(),t=t.memoizedState,r=st();var i=r.queue.dispatch;return r.memoizedState=e,[t,i,!1]}function Xn(e,t,r,i){return e={tag:e,create:r,deps:i,inst:t,next:null},t=Se.updateQueue,t===null&&(t=rc(),Se.updateQueue=t),r=t.lastEffect,r===null?t.lastEffect=e.next=e:(i=r.next,r.next=e,e.next=i,t.lastEffect=e),e}function qm(){return st().memoizedState}function ic(e,t,r,i){var u=kt();Se.flags|=e,u.memoizedState=Xn(1|t,{destroy:void 0},r,i===void 0?null:i)}function oc(e,t,r,i){var u=st();i=i===void 0?null:i;var d=u.memoizedState.inst;Ve!==null&&i!==null&&wf(i,Ve.memoizedState.deps)?u.memoizedState=Xn(t,d,r,i):(Se.flags|=e,u.memoizedState=Xn(1|t,d,r,i))}function Bm(e,t){ic(8390656,8,e,t)}function Of(e,t){oc(2048,8,e,t)}function v2(e){Se.flags|=4;var t=Se.updateQueue;if(t===null)t=rc(),Se.updateQueue=t,t.events=[e];else{var r=t.events;r===null?t.events=[e]:r.push(e)}}function Zm(e){var t=st().memoizedState;return v2({ref:t,nextImpl:e}),function(){if((Le&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function Gm(e,t){return oc(4,2,e,t)}function Vm(e,t){return oc(4,4,e,t)}function Xm(e,t){if(typeof t=="function"){e=e();var r=t(e);return function(){typeof r=="function"?r():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function $m(e,t,r){r=r!=null?r.concat([e]):null,oc(4,4,Xm.bind(null,t,e),r)}function Af(){}function Qm(e,t){var r=st();t=t===void 0?null:t;var i=r.memoizedState;return t!==null&&wf(t,i[1])?i[0]:(r.memoizedState=[e,t],e)}function Wm(e,t){var r=st();t=t===void 0?null:t;var i=r.memoizedState;if(t!==null&&wf(t,i[1]))return i[0];if(i=e(),Il){Ir(!0);try{e()}finally{Ir(!1)}}return r.memoizedState=[i,t],i}function Rf(e,t,r){return r===void 0||(_r&1073741824)!==0&&(Ae&261930)===0?e.memoizedState=t:(e.memoizedState=r,e=K0(),Se.lanes|=e,fl|=e,r)}function Km(e,t,r,i){return ya(r,t)?r:Zn.current!==null?(e=Rf(e,r,i),ya(e,t)||(dt=!0),e):(_r&42)===0||(_r&1073741824)!==0&&(Ae&261930)===0?(dt=!0,e.memoizedState=r):(e=K0(),Se.lanes|=e,fl|=e,t)}function Fm(e,t,r,i,u){var d=$.p;$.p=d!==0&&8>d?d:8;var y=j.T,_={};j.T=_,Uf(e,!1,t,r);try{var M=u(),Y=j.S;if(Y!==null&&Y(_,M),M!==null&&typeof M=="object"&&typeof M.then=="function"){var G=s2(M,i);oo(e,t,G,Ta(e))}else oo(e,t,i,Ta(e))}catch(X){oo(e,t,{then:function(){},status:"rejected",reason:X},Ta())}finally{$.p=d,y!==null&&_.types!==null&&(y.types=_.types),j.T=y}}function h2(){}function jf(e,t,r,i){if(e.tag!==5)throw Error(o(476));var u=Im(e).queue;Fm(e,u,t,J,r===null?h2:function(){return Pm(e),r(i)})}function Im(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tr,lastRenderedState:J},next:null};var r={};return t.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tr,lastRenderedState:r},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Pm(e){var t=Im(e);t.next===null&&(t=e.alternate.memoizedState),oo(e,t.next.queue,{},Ta())}function Nf(){return _t(Eo)}function Jm(){return st().memoizedState}function e0(){return st().memoizedState}function m2(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var r=Ta();e=nl(r);var i=il(t,e,r);i!==null&&(sa(i,t,r),ao(i,t,r)),t={cache:cf()},e.payload=t;return}t=t.return}}function g2(e,t,r){var i=Ta();r={lane:i,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},sc(e)?a0(t,r):(r=Iu(e,t,r,i),r!==null&&(sa(r,e,i),r0(r,t,i)))}function t0(e,t,r){var i=Ta();oo(e,t,r,i)}function oo(e,t,r,i){var u={lane:i,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(sc(e))a0(t,u);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var y=t.lastRenderedState,_=d(y,r);if(u.hasEagerState=!0,u.eagerState=_,ya(_,y))return Zs(e,t,u,0),Qe===null&&Bs(),!1}catch{}finally{}if(r=Iu(e,t,u,i),r!==null)return sa(r,e,i),r0(r,t,i),!0}return!1}function Uf(e,t,r,i){if(i={lane:2,revertLane:vd(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},sc(e)){if(t)throw Error(o(479))}else t=Iu(e,r,i,2),t!==null&&sa(t,e,2)}function sc(e){var t=e.alternate;return e===Se||t!==null&&t===Se}function a0(e,t){Gn=tc=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function r0(e,t,r){if((r&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,r|=i,t.lanes=r,sh(e,r)}}var so={readContext:_t,use:lc,useCallback:lt,useContext:lt,useEffect:lt,useImperativeHandle:lt,useLayoutEffect:lt,useInsertionEffect:lt,useMemo:lt,useReducer:lt,useRef:lt,useState:lt,useDebugValue:lt,useDeferredValue:lt,useTransition:lt,useSyncExternalStore:lt,useId:lt,useHostTransitionStatus:lt,useFormState:lt,useActionState:lt,useOptimistic:lt,useMemoCache:lt,useCacheRefresh:lt};so.useEffectEvent=lt;var l0={readContext:_t,use:lc,useCallback:function(e,t){return kt().memoizedState=[e,t===void 0?null:t],e},useContext:_t,useEffect:Bm,useImperativeHandle:function(e,t,r){r=r!=null?r.concat([e]):null,ic(4194308,4,Xm.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ic(4194308,4,e,t)},useInsertionEffect:function(e,t){ic(4,2,e,t)},useMemo:function(e,t){var r=kt();t=t===void 0?null:t;var i=e();if(Il){Ir(!0);try{e()}finally{Ir(!1)}}return r.memoizedState=[i,t],i},useReducer:function(e,t,r){var i=kt();if(r!==void 0){var u=r(t);if(Il){Ir(!0);try{r(t)}finally{Ir(!1)}}}else u=t;return i.memoizedState=i.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},i.queue=e,e=e.dispatch=g2.bind(null,Se,e),[i.memoizedState,e]},useRef:function(e){var t=kt();return e={current:e},t.memoizedState=e},useState:function(e){e=Cf(e);var t=e.queue,r=t0.bind(null,Se,t);return t.dispatch=r,[e.memoizedState,r]},useDebugValue:Af,useDeferredValue:function(e,t){var r=kt();return Rf(r,e,t)},useTransition:function(){var e=Cf(!1);return e=Fm.bind(null,Se,e.queue,!0,!1),kt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,r){var i=Se,u=kt();if(je){if(r===void 0)throw Error(o(407));r=r()}else{if(r=t(),Qe===null)throw Error(o(349));(Ae&127)!==0||Em(i,t,r)}u.memoizedState=r;var d={value:r,getSnapshot:t};return u.queue=d,Bm(Dm.bind(null,i,d,e),[e]),i.flags|=2048,Xn(9,{destroy:void 0},zm.bind(null,i,d,r,t),null),r},useId:function(){var e=kt(),t=Qe.identifierPrefix;if(je){var r=er,i=Ja;r=(i&~(1<<32-ba(i)-1)).toString(32)+r,t="_"+t+"R_"+r,r=ac++,0<r&&(t+="H"+r.toString(32)),t+="_"}else r=c2++,t="_"+t+"r_"+r.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Nf,useFormState:Ym,useActionState:Ym,useOptimistic:function(e){var t=kt();t.memoizedState=t.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=r,t=Uf.bind(null,Se,!0,r),r.dispatch=t,[e,t]},useMemoCache:Ef,useCacheRefresh:function(){return kt().memoizedState=m2.bind(null,Se)},useEffectEvent:function(e){var t=kt(),r={impl:e};return t.memoizedState=r,function(){if((Le&2)!==0)throw Error(o(440));return r.impl.apply(void 0,arguments)}}},Yf={readContext:_t,use:lc,useCallback:Qm,useContext:_t,useEffect:Of,useImperativeHandle:$m,useInsertionEffect:Gm,useLayoutEffect:Vm,useMemo:Wm,useReducer:nc,useRef:qm,useState:function(){return nc(Tr)},useDebugValue:Af,useDeferredValue:function(e,t){var r=st();return Km(r,Ve.memoizedState,e,t)},useTransition:function(){var e=nc(Tr)[0],t=st().memoizedState;return[typeof e=="boolean"?e:io(e),t]},useSyncExternalStore:Tm,useId:Jm,useHostTransitionStatus:Nf,useFormState:km,useActionState:km,useOptimistic:function(e,t){var r=st();return Om(r,Ve,e,t)},useMemoCache:Ef,useCacheRefresh:e0};Yf.useEffectEvent=Zm;var n0={readContext:_t,use:lc,useCallback:Qm,useContext:_t,useEffect:Of,useImperativeHandle:$m,useInsertionEffect:Gm,useLayoutEffect:Vm,useMemo:Wm,useReducer:Df,useRef:qm,useState:function(){return Df(Tr)},useDebugValue:Af,useDeferredValue:function(e,t){var r=st();return Ve===null?Rf(r,e,t):Km(r,Ve.memoizedState,e,t)},useTransition:function(){var e=Df(Tr)[0],t=st().memoizedState;return[typeof e=="boolean"?e:io(e),t]},useSyncExternalStore:Tm,useId:Jm,useHostTransitionStatus:Nf,useFormState:Lm,useActionState:Lm,useOptimistic:function(e,t){var r=st();return Ve!==null?Om(r,Ve,e,t):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:Ef,useCacheRefresh:e0};n0.useEffectEvent=Zm;function kf(e,t,r,i){t=e.memoizedState,r=r(i,t),r=r==null?t:b({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Hf={enqueueSetState:function(e,t,r){e=e._reactInternals;var i=Ta(),u=nl(i);u.payload=t,r!=null&&(u.callback=r),t=il(e,u,i),t!==null&&(sa(t,e,i),ao(t,e,i))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var i=Ta(),u=nl(i);u.tag=1,u.payload=t,r!=null&&(u.callback=r),t=il(e,u,i),t!==null&&(sa(t,e,i),ao(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Ta(),i=nl(r);i.tag=2,t!=null&&(i.callback=t),t=il(e,i,r),t!==null&&(sa(t,e,r),ao(t,e,r))}};function i0(e,t,r,i,u,d,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,d,y):t.prototype&&t.prototype.isPureReactComponent?!Wi(r,i)||!Wi(u,d):!0}function o0(e,t,r,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,i),t.state!==e&&Hf.enqueueReplaceState(t,t.state,null)}function Pl(e,t){var r=t;if("ref"in t){r={};for(var i in t)i!=="ref"&&(r[i]=t[i])}if(e=e.defaultProps){r===t&&(r=b({},r));for(var u in e)r[u]===void 0&&(r[u]=e[u])}return r}function s0(e){qs(e)}function c0(e){console.error(e)}function u0(e){qs(e)}function cc(e,t){try{var r=e.onUncaughtError;r(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function f0(e,t,r){try{var i=e.onCaughtError;i(r.value,{componentStack:r.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Lf(e,t,r){return r=nl(r),r.tag=3,r.payload={element:null},r.callback=function(){cc(e,t)},r}function d0(e){return e=nl(e),e.tag=3,e}function v0(e,t,r,i){var u=r.type.getDerivedStateFromError;if(typeof u=="function"){var d=i.value;e.payload=function(){return u(d)},e.callback=function(){f0(t,r,i)}}var y=r.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){f0(t,r,i),typeof u!="function"&&(dl===null?dl=new Set([this]):dl.add(this));var _=i.stack;this.componentDidCatch(i.value,{componentStack:_!==null?_:""})})}function b2(e,t,r,i,u){if(r.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=r.alternate,t!==null&&kn(t,r,u,!0),r=wa.current,r!==null){switch(r.tag){case 31:case 13:return Ha===null?xc():r.alternate===null&&nt===0&&(nt=3),r.flags&=-257,r.flags|=65536,r.lanes=u,i===Fs?r.flags|=16384:(t=r.updateQueue,t===null?r.updateQueue=new Set([i]):t.add(i),ud(e,i,u)),!1;case 22:return r.flags|=65536,i===Fs?r.flags|=16384:(t=r.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},r.updateQueue=t):(r=t.retryQueue,r===null?t.retryQueue=new Set([i]):r.add(i)),ud(e,i,u)),!1}throw Error(o(435,r.tag))}return ud(e,i,u),xc(),!1}if(je)return t=wa.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,i!==rf&&(e=Error(o(422),{cause:i}),Ii(Na(e,r)))):(i!==rf&&(t=Error(o(423),{cause:i}),Ii(Na(t,r))),e=e.current.alternate,e.flags|=65536,u&=-u,e.lanes|=u,i=Na(i,r),u=Lf(e.stateNode,i,u),mf(e,u),nt!==4&&(nt=2)),!1;var d=Error(o(520),{cause:i});if(d=Na(d,r),bo===null?bo=[d]:bo.push(d),nt!==4&&(nt=2),t===null)return!0;i=Na(i,r),r=t;do{switch(r.tag){case 3:return r.flags|=65536,e=u&-u,r.lanes|=e,e=Lf(r.stateNode,i,e),mf(r,e),!1;case 1:if(t=r.type,d=r.stateNode,(r.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(dl===null||!dl.has(d))))return r.flags|=65536,u&=-u,r.lanes|=u,u=d0(u),v0(u,e,r,i),mf(r,u),!1}r=r.return}while(r!==null);return!1}var qf=Error(o(461)),dt=!1;function Tt(e,t,r,i){t.child=e===null?bm(t,null,r,i):Fl(t,e.child,r,i)}function h0(e,t,r,i,u){r=r.render;var d=t.ref;if("ref"in i){var y={};for(var _ in i)_!=="ref"&&(y[_]=i[_])}else y=i;return $l(t),i=xf(e,t,r,y,d,u),_=Sf(),e!==null&&!dt?(_f(e,t,u),Er(e,t,u)):(je&&_&&tf(t),t.flags|=1,Tt(e,t,i,u),t.child)}function m0(e,t,r,i,u){if(e===null){var d=r.type;return typeof d=="function"&&!Pu(d)&&d.defaultProps===void 0&&r.compare===null?(t.tag=15,t.type=d,g0(e,t,d,i,u)):(e=Vs(r.type,null,i,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,!Wf(e,u)){var y=d.memoizedProps;if(r=r.compare,r=r!==null?r:Wi,r(y,i)&&e.ref===t.ref)return Er(e,t,u)}return t.flags|=1,e=pr(d,i),e.ref=t.ref,e.return=t,t.child=e}function g0(e,t,r,i,u){if(e!==null){var d=e.memoizedProps;if(Wi(d,i)&&e.ref===t.ref)if(dt=!1,t.pendingProps=i=d,Wf(e,u))(e.flags&131072)!==0&&(dt=!0);else return t.lanes=e.lanes,Er(e,t,u)}return Bf(e,t,r,i,u)}function b0(e,t,r,i){var u=i.children,d=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(d=d!==null?d.baseLanes|r:r,e!==null){for(i=t.child=e.child,u=0;i!==null;)u=u|i.lanes|i.childLanes,i=i.sibling;i=u&~d}else i=0,t.child=null;return y0(e,t,d,r,i)}if((r&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ws(t,d!==null?d.cachePool:null),d!==null?wm(t,d):bf(),xm(t);else return i=t.lanes=536870912,y0(e,t,d!==null?d.baseLanes|r:r,r,i)}else d!==null?(Ws(t,d.cachePool),wm(t,d),sl(),t.memoizedState=null):(e!==null&&Ws(t,null),bf(),sl());return Tt(e,t,u,r),t.child}function co(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function y0(e,t,r,i,u){var d=ff();return d=d===null?null:{parent:ut._currentValue,pool:d},t.memoizedState={baseLanes:r,cachePool:d},e!==null&&Ws(t,null),bf(),xm(t),e!==null&&kn(e,t,i,!0),t.childLanes=u,null}function uc(e,t){return t=dc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function p0(e,t,r){return Fl(t,e.child,null,r),e=uc(t,t.pendingProps),e.flags|=2,xa(t),t.memoizedState=null,e}function y2(e,t,r){var i=t.pendingProps,u=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(je){if(i.mode==="hidden")return e=uc(t,i),t.lanes=536870912,co(null,e);if(pf(t),(e=Ke)?(e=Ag(e,ka),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:el!==null?{id:Ja,overflow:er}:null,retryLane:536870912,hydrationErrors:null},r=am(e),r.return=t,t.child=r,St=t,Ke=null)):e=null,e===null)throw al(t);return t.lanes=536870912,null}return uc(t,i)}var d=e.memoizedState;if(d!==null){var y=d.dehydrated;if(pf(t),u)if(t.flags&256)t.flags&=-257,t=p0(e,t,r);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(dt||kn(e,t,r,!1),u=(r&e.childLanes)!==0,dt||u){if(i=Qe,i!==null&&(y=ch(i,r),y!==0&&y!==d.retryLane))throw d.retryLane=y,Zl(e,y),sa(i,e,y),qf;xc(),t=p0(e,t,r)}else e=d.treeContext,Ke=La(y.nextSibling),St=t,je=!0,tl=null,ka=!1,e!==null&&nm(t,e),t=uc(t,i),t.flags|=4096;return t}return e=pr(e.child,{mode:i.mode,children:i.children}),e.ref=t.ref,t.child=e,e.return=t,e}function fc(e,t){var r=t.ref;if(r===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(o(284));(e===null||e.ref!==r)&&(t.flags|=4194816)}}function Bf(e,t,r,i,u){return $l(t),r=xf(e,t,r,i,void 0,u),i=Sf(),e!==null&&!dt?(_f(e,t,u),Er(e,t,u)):(je&&i&&tf(t),t.flags|=1,Tt(e,t,r,u),t.child)}function w0(e,t,r,i,u,d){return $l(t),t.updateQueue=null,r=_m(t,i,r,u),Sm(e),i=Sf(),e!==null&&!dt?(_f(e,t,d),Er(e,t,d)):(je&&i&&tf(t),t.flags|=1,Tt(e,t,r,d),t.child)}function x0(e,t,r,i,u){if($l(t),t.stateNode===null){var d=jn,y=r.contextType;typeof y=="object"&&y!==null&&(d=_t(y)),d=new r(i,d),t.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=Hf,t.stateNode=d,d._reactInternals=t,d=t.stateNode,d.props=i,d.state=t.memoizedState,d.refs={},vf(t),y=r.contextType,d.context=typeof y=="object"&&y!==null?_t(y):jn,d.state=t.memoizedState,y=r.getDerivedStateFromProps,typeof y=="function"&&(kf(t,r,y,i),d.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(y=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),y!==d.state&&Hf.enqueueReplaceState(d,d.state,null),lo(t,i,d,u),ro(),d.state=t.memoizedState),typeof d.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){d=t.stateNode;var _=t.memoizedProps,M=Pl(r,_);d.props=M;var Y=d.context,G=r.contextType;y=jn,typeof G=="object"&&G!==null&&(y=_t(G));var X=r.getDerivedStateFromProps;G=typeof X=="function"||typeof d.getSnapshotBeforeUpdate=="function",_=t.pendingProps!==_,G||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(_||Y!==y)&&o0(t,d,i,y),ll=!1;var k=t.memoizedState;d.state=k,lo(t,i,d,u),ro(),Y=t.memoizedState,_||k!==Y||ll?(typeof X=="function"&&(kf(t,r,X,i),Y=t.memoizedState),(M=ll||i0(t,r,M,i,k,Y,y))?(G||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(t.flags|=4194308)):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=Y),d.props=i,d.state=Y,d.context=y,i=M):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{d=t.stateNode,hf(e,t),y=t.memoizedProps,G=Pl(r,y),d.props=G,X=t.pendingProps,k=d.context,Y=r.contextType,M=jn,typeof Y=="object"&&Y!==null&&(M=_t(Y)),_=r.getDerivedStateFromProps,(Y=typeof _=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(y!==X||k!==M)&&o0(t,d,i,M),ll=!1,k=t.memoizedState,d.state=k,lo(t,i,d,u),ro();var H=t.memoizedState;y!==X||k!==H||ll||e!==null&&e.dependencies!==null&&$s(e.dependencies)?(typeof _=="function"&&(kf(t,r,_,i),H=t.memoizedState),(G=ll||i0(t,r,G,i,k,H,M)||e!==null&&e.dependencies!==null&&$s(e.dependencies))?(Y||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(i,H,M),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(i,H,M)),typeof d.componentDidUpdate=="function"&&(t.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof d.componentDidUpdate!="function"||y===e.memoizedProps&&k===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&k===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=H),d.props=i,d.state=H,d.context=M,i=G):(typeof d.componentDidUpdate!="function"||y===e.memoizedProps&&k===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&k===e.memoizedState||(t.flags|=1024),i=!1)}return d=i,fc(e,t),i=(t.flags&128)!==0,d||i?(d=t.stateNode,r=i&&typeof r.getDerivedStateFromError!="function"?null:d.render(),t.flags|=1,e!==null&&i?(t.child=Fl(t,e.child,null,u),t.child=Fl(t,null,r,u)):Tt(e,t,r,u),t.memoizedState=d.state,e=t.child):e=Er(e,t,u),e}function S0(e,t,r,i){return Vl(),t.flags|=256,Tt(e,t,r,i),t.child}var Zf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Gf(e){return{baseLanes:e,cachePool:fm()}}function Vf(e,t,r){return e=e!==null?e.childLanes&~r:0,t&&(e|=_a),e}function _0(e,t,r){var i=t.pendingProps,u=!1,d=(t.flags&128)!==0,y;if((y=d)||(y=e!==null&&e.memoizedState===null?!1:(ot.current&2)!==0),y&&(u=!0,t.flags&=-129),y=(t.flags&32)!==0,t.flags&=-33,e===null){if(je){if(u?ol(t):sl(),(e=Ke)?(e=Ag(e,ka),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:el!==null?{id:Ja,overflow:er}:null,retryLane:536870912,hydrationErrors:null},r=am(e),r.return=t,t.child=r,St=t,Ke=null)):e=null,e===null)throw al(t);return zd(e)?t.lanes=32:t.lanes=536870912,null}var _=i.children;return i=i.fallback,u?(sl(),u=t.mode,_=dc({mode:"hidden",children:_},u),i=Gl(i,u,r,null),_.return=t,i.return=t,_.sibling=i,t.child=_,i=t.child,i.memoizedState=Gf(r),i.childLanes=Vf(e,y,r),t.memoizedState=Zf,co(null,i)):(ol(t),Xf(t,_))}var M=e.memoizedState;if(M!==null&&(_=M.dehydrated,_!==null)){if(d)t.flags&256?(ol(t),t.flags&=-257,t=$f(e,t,r)):t.memoizedState!==null?(sl(),t.child=e.child,t.flags|=128,t=null):(sl(),_=i.fallback,u=t.mode,i=dc({mode:"visible",children:i.children},u),_=Gl(_,u,r,null),_.flags|=2,i.return=t,_.return=t,i.sibling=_,t.child=i,Fl(t,e.child,null,r),i=t.child,i.memoizedState=Gf(r),i.childLanes=Vf(e,y,r),t.memoizedState=Zf,t=co(null,i));else if(ol(t),zd(_)){if(y=_.nextSibling&&_.nextSibling.dataset,y)var Y=y.dgst;y=Y,i=Error(o(419)),i.stack="",i.digest=y,Ii({value:i,source:null,stack:null}),t=$f(e,t,r)}else if(dt||kn(e,t,r,!1),y=(r&e.childLanes)!==0,dt||y){if(y=Qe,y!==null&&(i=ch(y,r),i!==0&&i!==M.retryLane))throw M.retryLane=i,Zl(e,i),sa(y,e,i),qf;Ed(_)||xc(),t=$f(e,t,r)}else Ed(_)?(t.flags|=192,t.child=e.child,t=null):(e=M.treeContext,Ke=La(_.nextSibling),St=t,je=!0,tl=null,ka=!1,e!==null&&nm(t,e),t=Xf(t,i.children),t.flags|=4096);return t}return u?(sl(),_=i.fallback,u=t.mode,M=e.child,Y=M.sibling,i=pr(M,{mode:"hidden",children:i.children}),i.subtreeFlags=M.subtreeFlags&65011712,Y!==null?_=pr(Y,_):(_=Gl(_,u,r,null),_.flags|=2),_.return=t,i.return=t,i.sibling=_,t.child=i,co(null,i),i=t.child,_=e.child.memoizedState,_===null?_=Gf(r):(u=_.cachePool,u!==null?(M=ut._currentValue,u=u.parent!==M?{parent:M,pool:M}:u):u=fm(),_={baseLanes:_.baseLanes|r,cachePool:u}),i.memoizedState=_,i.childLanes=Vf(e,y,r),t.memoizedState=Zf,co(e.child,i)):(ol(t),r=e.child,e=r.sibling,r=pr(r,{mode:"visible",children:i.children}),r.return=t,r.sibling=null,e!==null&&(y=t.deletions,y===null?(t.deletions=[e],t.flags|=16):y.push(e)),t.child=r,t.memoizedState=null,r)}function Xf(e,t){return t=dc({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function dc(e,t){return e=pa(22,e,null,t),e.lanes=0,e}function $f(e,t,r){return Fl(t,e.child,null,r),e=Xf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function T0(e,t,r){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),of(e.return,t,r)}function Qf(e,t,r,i,u,d){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:r,tailMode:u,treeForkCount:d}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=i,y.tail=r,y.tailMode=u,y.treeForkCount=d)}function E0(e,t,r){var i=t.pendingProps,u=i.revealOrder,d=i.tail;i=i.children;var y=ot.current,_=(y&2)!==0;if(_?(y=y&1|2,t.flags|=128):y&=1,ee(ot,y),Tt(e,t,i,r),i=je?Fi:0,!_&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&T0(e,r,t);else if(e.tag===19)T0(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(u){case"forwards":for(r=t.child,u=null;r!==null;)e=r.alternate,e!==null&&ec(e)===null&&(u=r),r=r.sibling;r=u,r===null?(u=t.child,t.child=null):(u=r.sibling,r.sibling=null),Qf(t,!1,u,r,d,i);break;case"backwards":case"unstable_legacy-backwards":for(r=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&ec(e)===null){t.child=u;break}e=u.sibling,u.sibling=r,r=u,u=e}Qf(t,!0,r,null,d,i);break;case"together":Qf(t,!1,null,null,void 0,i);break;default:t.memoizedState=null}return t.child}function Er(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),fl|=t.lanes,(r&t.childLanes)===0)if(e!==null){if(kn(e,t,r,!1),(r&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,r=pr(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=pr(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function Wf(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&$s(e)))}function p2(e,t,r){switch(t.tag){case 3:rt(t,t.stateNode.containerInfo),rl(t,ut,e.memoizedState.cache),Vl();break;case 27:case 5:Ot(t);break;case 4:rt(t,t.stateNode.containerInfo);break;case 10:rl(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,pf(t),null;break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(ol(t),t.flags|=128,null):(r&t.child.childLanes)!==0?_0(e,t,r):(ol(t),e=Er(e,t,r),e!==null?e.sibling:null);ol(t);break;case 19:var u=(e.flags&128)!==0;if(i=(r&t.childLanes)!==0,i||(kn(e,t,r,!1),i=(r&t.childLanes)!==0),u){if(i)return E0(e,t,r);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),ee(ot,ot.current),i)break;return null;case 22:return t.lanes=0,b0(e,t,r,t.pendingProps);case 24:rl(t,ut,e.memoizedState.cache)}return Er(e,t,r)}function z0(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps)dt=!0;else{if(!Wf(e,r)&&(t.flags&128)===0)return dt=!1,p2(e,t,r);dt=(e.flags&131072)!==0}else dt=!1,je&&(t.flags&1048576)!==0&&lm(t,Fi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=Wl(t.elementType),t.type=e,typeof e=="function")Pu(e)?(i=Pl(e,i),t.tag=1,t=x0(null,t,e,i,r)):(t.tag=0,t=Bf(null,t,e,i,r));else{if(e!=null){var u=e.$$typeof;if(u===W){t.tag=11,t=h0(null,t,e,i,r);break e}else if(u===K){t.tag=14,t=m0(null,t,e,i,r);break e}}throw t=ye(e)||e,Error(o(306,t,""))}}return t;case 0:return Bf(e,t,t.type,t.pendingProps,r);case 1:return i=t.type,u=Pl(i,t.pendingProps),x0(e,t,i,u,r);case 3:e:{if(rt(t,t.stateNode.containerInfo),e===null)throw Error(o(387));i=t.pendingProps;var d=t.memoizedState;u=d.element,hf(e,t),lo(t,i,null,r);var y=t.memoizedState;if(i=y.cache,rl(t,ut,i),i!==d.cache&&sf(t,[ut],r,!0),ro(),i=y.element,d.isDehydrated)if(d={element:i,isDehydrated:!1,cache:y.cache},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){t=S0(e,t,i,r);break e}else if(i!==u){u=Na(Error(o(424)),t),Ii(u),t=S0(e,t,i,r);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ke=La(e.firstChild),St=t,je=!0,tl=null,ka=!0,r=bm(t,null,i,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(Vl(),i===u){t=Er(e,t,r);break e}Tt(e,t,i,r)}t=t.child}return t;case 26:return fc(e,t),e===null?(r=kg(t.type,null,t.pendingProps,null))?t.memoizedState=r:je||(r=t.type,e=t.pendingProps,i=Cc(ce.current).createElement(r),i[xt]=t,i[aa]=e,Et(i,r,e),bt(i),t.stateNode=i):t.memoizedState=kg(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ot(t),e===null&&je&&(i=t.stateNode=Ng(t.type,t.pendingProps,ce.current),St=t,ka=!0,u=Ke,gl(t.type)?(Dd=u,Ke=La(i.firstChild)):Ke=u),Tt(e,t,t.pendingProps.children,r),fc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&je&&((u=i=Ke)&&(i=K2(i,t.type,t.pendingProps,ka),i!==null?(t.stateNode=i,St=t,Ke=La(i.firstChild),ka=!1,u=!0):u=!1),u||al(t)),Ot(t),u=t.type,d=t.pendingProps,y=e!==null?e.memoizedProps:null,i=d.children,Sd(u,d)?i=null:y!==null&&Sd(u,y)&&(t.flags|=32),t.memoizedState!==null&&(u=xf(e,t,u2,null,null,r),Eo._currentValue=u),fc(e,t),Tt(e,t,i,r),t.child;case 6:return e===null&&je&&((e=r=Ke)&&(r=F2(r,t.pendingProps,ka),r!==null?(t.stateNode=r,St=t,Ke=null,e=!0):e=!1),e||al(t)),null;case 13:return _0(e,t,r);case 4:return rt(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Fl(t,null,i,r):Tt(e,t,i,r),t.child;case 11:return h0(e,t,t.type,t.pendingProps,r);case 7:return Tt(e,t,t.pendingProps,r),t.child;case 8:return Tt(e,t,t.pendingProps.children,r),t.child;case 12:return Tt(e,t,t.pendingProps.children,r),t.child;case 10:return i=t.pendingProps,rl(t,t.type,i.value),Tt(e,t,i.children,r),t.child;case 9:return u=t.type._context,i=t.pendingProps.children,$l(t),u=_t(u),i=i(u),t.flags|=1,Tt(e,t,i,r),t.child;case 14:return m0(e,t,t.type,t.pendingProps,r);case 15:return g0(e,t,t.type,t.pendingProps,r);case 19:return E0(e,t,r);case 31:return y2(e,t,r);case 22:return b0(e,t,r,t.pendingProps);case 24:return $l(t),i=_t(ut),e===null?(u=ff(),u===null&&(u=Qe,d=cf(),u.pooledCache=d,d.refCount++,d!==null&&(u.pooledCacheLanes|=r),u=d),t.memoizedState={parent:i,cache:u},vf(t),rl(t,ut,u)):((e.lanes&r)!==0&&(hf(e,t),lo(t,null,null,r),ro()),u=e.memoizedState,d=t.memoizedState,u.parent!==i?(u={parent:i,cache:i},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),rl(t,ut,i)):(i=d.cache,rl(t,ut,i),i!==u.cache&&sf(t,[ut],r,!0))),Tt(e,t,t.pendingProps.children,r),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function zr(e){e.flags|=4}function Kf(e,t,r,i,u){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(u&335544128)===u)if(e.stateNode.complete)e.flags|=8192;else if(J0())e.flags|=8192;else throw Kl=Fs,df}else e.flags&=-16777217}function D0(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Zg(t))if(J0())e.flags|=8192;else throw Kl=Fs,df}function vc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ih():536870912,e.lanes|=t,Kn|=t)}function uo(e,t){if(!je)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var i=null;r!==null;)r.alternate!==null&&(i=r),r=r.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Fe(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,i=0;if(t)for(var u=e.child;u!==null;)r|=u.lanes|u.childLanes,i|=u.subtreeFlags&65011712,i|=u.flags&65011712,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)r|=u.lanes|u.childLanes,i|=u.subtreeFlags,i|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=i,e.childLanes=r,t}function w2(e,t,r){var i=t.pendingProps;switch(af(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fe(t),null;case 1:return Fe(t),null;case 3:return r=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Sr(ut),Ge(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Yn(t)?zr(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,lf())),Fe(t),null;case 26:var u=t.type,d=t.memoizedState;return e===null?(zr(t),d!==null?(Fe(t),D0(t,d)):(Fe(t),Kf(t,u,null,i,r))):d?d!==e.memoizedState?(zr(t),Fe(t),D0(t,d)):(Fe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&zr(t),Fe(t),Kf(t,u,e,i,r)),null;case 27:if(gt(t),r=ce.current,u=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&zr(t);else{if(!i){if(t.stateNode===null)throw Error(o(166));return Fe(t),null}e=te.current,Yn(t)?im(t):(e=Ng(u,i,r),t.stateNode=e,zr(t))}return Fe(t),null;case 5:if(gt(t),u=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&zr(t);else{if(!i){if(t.stateNode===null)throw Error(o(166));return Fe(t),null}if(d=te.current,Yn(t))im(t);else{var y=Cc(ce.current);switch(d){case 1:d=y.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:d=y.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":d=y.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":d=y.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":d=y.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof i.is=="string"?y.createElement("select",{is:i.is}):y.createElement("select"),i.multiple?d.multiple=!0:i.size&&(d.size=i.size);break;default:d=typeof i.is=="string"?y.createElement(u,{is:i.is}):y.createElement(u)}}d[xt]=t,d[aa]=i;e:for(y=t.child;y!==null;){if(y.tag===5||y.tag===6)d.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===t)break e;for(;y.sibling===null;){if(y.return===null||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}t.stateNode=d;e:switch(Et(d,u,i),u){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&zr(t)}}return Fe(t),Kf(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,r),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&zr(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(o(166));if(e=ce.current,Yn(t)){if(e=t.stateNode,r=t.memoizedProps,i=null,u=St,u!==null)switch(u.tag){case 27:case 5:i=u.memoizedProps}e[xt]=t,e=!!(e.nodeValue===r||i!==null&&i.suppressHydrationWarning===!0||_g(e.nodeValue,r)),e||al(t,!0)}else e=Cc(e).createTextNode(i),e[xt]=t,t.stateNode=e}return Fe(t),null;case 31:if(r=t.memoizedState,e===null||e.memoizedState!==null){if(i=Yn(t),r!==null){if(e===null){if(!i)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[xt]=t}else Vl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Fe(t),e=!1}else r=lf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return t.flags&256?(xa(t),t):(xa(t),null);if((t.flags&128)!==0)throw Error(o(558))}return Fe(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=Yn(t),i!==null&&i.dehydrated!==null){if(e===null){if(!u)throw Error(o(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[xt]=t}else Vl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Fe(t),u=!1}else u=lf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(xa(t),t):(xa(t),null)}return xa(t),(t.flags&128)!==0?(t.lanes=r,t):(r=i!==null,e=e!==null&&e.memoizedState!==null,r&&(i=t.child,u=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(u=i.alternate.memoizedState.cachePool.pool),d=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(d=i.memoizedState.cachePool.pool),d!==u&&(i.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),vc(t,t.updateQueue),Fe(t),null);case 4:return Ge(),e===null&&bd(t.stateNode.containerInfo),Fe(t),null;case 10:return Sr(t.type),Fe(t),null;case 19:if(Z(ot),i=t.memoizedState,i===null)return Fe(t),null;if(u=(t.flags&128)!==0,d=i.rendering,d===null)if(u)uo(i,!1);else{if(nt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(d=ec(e),d!==null){for(t.flags|=128,uo(i,!1),e=d.updateQueue,t.updateQueue=e,vc(t,e),t.subtreeFlags=0,e=r,r=t.child;r!==null;)tm(r,e),r=r.sibling;return ee(ot,ot.current&1|2),je&&wr(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&ma()>yc&&(t.flags|=128,u=!0,uo(i,!1),t.lanes=4194304)}else{if(!u)if(e=ec(d),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,vc(t,e),uo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!d.alternate&&!je)return Fe(t),null}else 2*ma()-i.renderingStartTime>yc&&r!==536870912&&(t.flags|=128,u=!0,uo(i,!1),t.lanes=4194304);i.isBackwards?(d.sibling=t.child,t.child=d):(e=i.last,e!==null?e.sibling=d:t.child=d,i.last=d)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=ma(),e.sibling=null,r=ot.current,ee(ot,u?r&1|2:r&1),je&&wr(t,i.treeForkCount),e):(Fe(t),null);case 22:case 23:return xa(t),yf(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(r&536870912)!==0&&(t.flags&128)===0&&(Fe(t),t.subtreeFlags&6&&(t.flags|=8192)):Fe(t),r=t.updateQueue,r!==null&&vc(t,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==r&&(t.flags|=2048),e!==null&&Z(Ql),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Sr(ut),Fe(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function x2(e,t){switch(af(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sr(ut),Ge(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return gt(t),null;case 31:if(t.memoizedState!==null){if(xa(t),t.alternate===null)throw Error(o(340));Vl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(xa(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Vl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Z(ot),null;case 4:return Ge(),null;case 10:return Sr(t.type),null;case 22:case 23:return xa(t),yf(),e!==null&&Z(Ql),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Sr(ut),null;case 25:return null;default:return null}}function C0(e,t){switch(af(t),t.tag){case 3:Sr(ut),Ge();break;case 26:case 27:case 5:gt(t);break;case 4:Ge();break;case 31:t.memoizedState!==null&&xa(t);break;case 13:xa(t);break;case 19:Z(ot);break;case 10:Sr(t.type);break;case 22:case 23:xa(t),yf(),e!==null&&Z(Ql);break;case 24:Sr(ut)}}function fo(e,t){try{var r=t.updateQueue,i=r!==null?r.lastEffect:null;if(i!==null){var u=i.next;r=u;do{if((r.tag&e)===e){i=void 0;var d=r.create,y=r.inst;i=d(),y.destroy=i}r=r.next}while(r!==u)}}catch(_){Ze(t,t.return,_)}}function cl(e,t,r){try{var i=t.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var d=u.next;i=d;do{if((i.tag&e)===e){var y=i.inst,_=y.destroy;if(_!==void 0){y.destroy=void 0,u=t;var M=r,Y=_;try{Y()}catch(G){Ze(u,M,G)}}}i=i.next}while(i!==d)}}catch(G){Ze(t,t.return,G)}}function M0(e){var t=e.updateQueue;if(t!==null){var r=e.stateNode;try{pm(t,r)}catch(i){Ze(e,e.return,i)}}}function O0(e,t,r){r.props=Pl(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(i){Ze(e,t,i)}}function vo(e,t){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof r=="function"?e.refCleanup=r(i):r.current=i}}catch(u){Ze(e,t,u)}}function tr(e,t){var r=e.ref,i=e.refCleanup;if(r!==null)if(typeof i=="function")try{i()}catch(u){Ze(e,t,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(u){Ze(e,t,u)}else r.current=null}function A0(e){var t=e.type,r=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&i.focus();break e;case"img":r.src?i.src=r.src:r.srcSet&&(i.srcset=r.srcSet)}}catch(u){Ze(e,e.return,u)}}function Ff(e,t,r){try{var i=e.stateNode;G2(i,e.type,r,t),i[aa]=t}catch(u){Ze(e,e.return,u)}}function R0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&gl(e.type)||e.tag===4}function If(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||R0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&gl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Pf(e,t,r){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,t):(t=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,t.appendChild(e),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=br));else if(i!==4&&(i===27&&gl(e.type)&&(r=e.stateNode,t=null),e=e.child,e!==null))for(Pf(e,t,r),e=e.sibling;e!==null;)Pf(e,t,r),e=e.sibling}function hc(e,t,r){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(i!==4&&(i===27&&gl(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(hc(e,t,r),e=e.sibling;e!==null;)hc(e,t,r),e=e.sibling}function j0(e){var t=e.stateNode,r=e.memoizedProps;try{for(var i=e.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);Et(t,i,r),t[xt]=e,t[aa]=r}catch(d){Ze(e,e.return,d)}}var Dr=!1,vt=!1,Jf=!1,N0=typeof WeakSet=="function"?WeakSet:Set,yt=null;function S2(e,t){if(e=e.containerInfo,wd=Uc,e=$h(e),Xu(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var i=r.getSelection&&r.getSelection();if(i&&i.rangeCount!==0){r=i.anchorNode;var u=i.anchorOffset,d=i.focusNode;i=i.focusOffset;try{r.nodeType,d.nodeType}catch{r=null;break e}var y=0,_=-1,M=-1,Y=0,G=0,X=e,k=null;t:for(;;){for(var H;X!==r||u!==0&&X.nodeType!==3||(_=y+u),X!==d||i!==0&&X.nodeType!==3||(M=y+i),X.nodeType===3&&(y+=X.nodeValue.length),(H=X.firstChild)!==null;)k=X,X=H;for(;;){if(X===e)break t;if(k===r&&++Y===u&&(_=y),k===d&&++G===i&&(M=y),(H=X.nextSibling)!==null)break;X=k,k=X.parentNode}X=H}r=_===-1||M===-1?null:{start:_,end:M}}else r=null}r=r||{start:0,end:0}}else r=null;for(xd={focusedElem:e,selectionRange:r},Uc=!1,yt=t;yt!==null;)if(t=yt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,yt=e;else for(;yt!==null;){switch(t=yt,d=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r<e.length;r++)u=e[r],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,r=t,u=d.memoizedProps,d=d.memoizedState,i=r.stateNode;try{var ie=Pl(r.type,u);e=i.getSnapshotBeforeUpdate(ie,d),i.__reactInternalSnapshotBeforeUpdate=e}catch(de){Ze(r,r.return,de)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,r=e.nodeType,r===9)Td(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Td(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,yt=e;break}yt=t.return}}function U0(e,t,r){var i=r.flags;switch(r.tag){case 0:case 11:case 15:Mr(e,r),i&4&&fo(5,r);break;case 1:if(Mr(e,r),i&4)if(e=r.stateNode,t===null)try{e.componentDidMount()}catch(y){Ze(r,r.return,y)}else{var u=Pl(r.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(u,t,e.__reactInternalSnapshotBeforeUpdate)}catch(y){Ze(r,r.return,y)}}i&64&&M0(r),i&512&&vo(r,r.return);break;case 3:if(Mr(e,r),i&64&&(e=r.updateQueue,e!==null)){if(t=null,r.child!==null)switch(r.child.tag){case 27:case 5:t=r.child.stateNode;break;case 1:t=r.child.stateNode}try{pm(e,t)}catch(y){Ze(r,r.return,y)}}break;case 27:t===null&&i&4&&j0(r);case 26:case 5:Mr(e,r),t===null&&i&4&&A0(r),i&512&&vo(r,r.return);break;case 12:Mr(e,r);break;case 31:Mr(e,r),i&4&&H0(e,r);break;case 13:Mr(e,r),i&4&&L0(e,r),i&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=A2.bind(null,r),I2(e,r))));break;case 22:if(i=r.memoizedState!==null||Dr,!i){t=t!==null&&t.memoizedState!==null||vt,u=Dr;var d=vt;Dr=i,(vt=t)&&!d?Or(e,r,(r.subtreeFlags&8772)!==0):Mr(e,r),Dr=u,vt=d}break;case 30:break;default:Mr(e,r)}}function Y0(e){var t=e.alternate;t!==null&&(e.alternate=null,Y0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Cu(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Pe=null,la=!1;function Cr(e,t,r){for(r=r.child;r!==null;)k0(e,t,r),r=r.sibling}function k0(e,t,r){if(ga&&typeof ga.onCommitFiberUnmount=="function")try{ga.onCommitFiberUnmount(Yi,r)}catch{}switch(r.tag){case 26:vt||tr(r,t),Cr(e,t,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:vt||tr(r,t);var i=Pe,u=la;gl(r.type)&&(Pe=r.stateNode,la=!1),Cr(e,t,r),So(r.stateNode),Pe=i,la=u;break;case 5:vt||tr(r,t);case 6:if(i=Pe,u=la,Pe=null,Cr(e,t,r),Pe=i,la=u,Pe!==null)if(la)try{(Pe.nodeType===9?Pe.body:Pe.nodeName==="HTML"?Pe.ownerDocument.body:Pe).removeChild(r.stateNode)}catch(d){Ze(r,t,d)}else try{Pe.removeChild(r.stateNode)}catch(d){Ze(r,t,d)}break;case 18:Pe!==null&&(la?(e=Pe,Mg(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),ri(e)):Mg(Pe,r.stateNode));break;case 4:i=Pe,u=la,Pe=r.stateNode.containerInfo,la=!0,Cr(e,t,r),Pe=i,la=u;break;case 0:case 11:case 14:case 15:cl(2,r,t),vt||cl(4,r,t),Cr(e,t,r);break;case 1:vt||(tr(r,t),i=r.stateNode,typeof i.componentWillUnmount=="function"&&O0(r,t,i)),Cr(e,t,r);break;case 21:Cr(e,t,r);break;case 22:vt=(i=vt)||r.memoizedState!==null,Cr(e,t,r),vt=i;break;default:Cr(e,t,r)}}function H0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ri(e)}catch(r){Ze(t,t.return,r)}}}function L0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ri(e)}catch(r){Ze(t,t.return,r)}}function _2(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new N0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new N0),t;default:throw Error(o(435,e.tag))}}function mc(e,t){var r=_2(e);t.forEach(function(i){if(!r.has(i)){r.add(i);var u=R2.bind(null,e,i);i.then(u,u)}})}function na(e,t){var r=t.deletions;if(r!==null)for(var i=0;i<r.length;i++){var u=r[i],d=e,y=t,_=y;e:for(;_!==null;){switch(_.tag){case 27:if(gl(_.type)){Pe=_.stateNode,la=!1;break e}break;case 5:Pe=_.stateNode,la=!1;break e;case 3:case 4:Pe=_.stateNode.containerInfo,la=!0;break e}_=_.return}if(Pe===null)throw Error(o(160));k0(d,y,u),Pe=null,la=!1,d=u.alternate,d!==null&&(d.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)q0(t,e),t=t.sibling}var Ka=null;function q0(e,t){var r=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:na(t,e),ia(e),i&4&&(cl(3,e,e.return),fo(3,e),cl(5,e,e.return));break;case 1:na(t,e),ia(e),i&512&&(vt||r===null||tr(r,r.return)),i&64&&Dr&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?i:r.concat(i))));break;case 26:var u=Ka;if(na(t,e),ia(e),i&512&&(vt||r===null||tr(r,r.return)),i&4){var d=r!==null?r.memoizedState:null;if(i=e.memoizedState,r===null)if(i===null)if(e.stateNode===null){e:{i=e.type,r=e.memoizedProps,u=u.ownerDocument||u;t:switch(i){case"title":d=u.getElementsByTagName("title")[0],(!d||d[Li]||d[xt]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=u.createElement(i),u.head.insertBefore(d,u.querySelector("head > title"))),Et(d,i,r),d[xt]=e,bt(d),i=d;break e;case"link":var y=qg("link","href",u).get(i+(r.href||""));if(y){for(var _=0;_<y.length;_++)if(d=y[_],d.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&d.getAttribute("rel")===(r.rel==null?null:r.rel)&&d.getAttribute("title")===(r.title==null?null:r.title)&&d.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){y.splice(_,1);break t}}d=u.createElement(i),Et(d,i,r),u.head.appendChild(d);break;case"meta":if(y=qg("meta","content",u).get(i+(r.content||""))){for(_=0;_<y.length;_++)if(d=y[_],d.getAttribute("content")===(r.content==null?null:""+r.content)&&d.getAttribute("name")===(r.name==null?null:r.name)&&d.getAttribute("property")===(r.property==null?null:r.property)&&d.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&d.getAttribute("charset")===(r.charSet==null?null:r.charSet)){y.splice(_,1);break t}}d=u.createElement(i),Et(d,i,r),u.head.appendChild(d);break;default:throw Error(o(468,i))}d[xt]=e,bt(d),i=d}e.stateNode=i}else Bg(u,e.type,e.stateNode);else e.stateNode=Lg(u,i,e.memoizedProps);else d!==i?(d===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):d.count--,i===null?Bg(u,e.type,e.stateNode):Lg(u,i,e.memoizedProps)):i===null&&e.stateNode!==null&&Ff(e,e.memoizedProps,r.memoizedProps)}break;case 27:na(t,e),ia(e),i&512&&(vt||r===null||tr(r,r.return)),r!==null&&i&4&&Ff(e,e.memoizedProps,r.memoizedProps);break;case 5:if(na(t,e),ia(e),i&512&&(vt||r===null||tr(r,r.return)),e.flags&32){u=e.stateNode;try{zn(u,"")}catch(ie){Ze(e,e.return,ie)}}i&4&&e.stateNode!=null&&(u=e.memoizedProps,Ff(e,u,r!==null?r.memoizedProps:u)),i&1024&&(Jf=!0);break;case 6:if(na(t,e),ia(e),i&4){if(e.stateNode===null)throw Error(o(162));i=e.memoizedProps,r=e.stateNode;try{r.nodeValue=i}catch(ie){Ze(e,e.return,ie)}}break;case 3:if(Ac=null,u=Ka,Ka=Mc(t.containerInfo),na(t,e),Ka=u,ia(e),i&4&&r!==null&&r.memoizedState.isDehydrated)try{ri(t.containerInfo)}catch(ie){Ze(e,e.return,ie)}Jf&&(Jf=!1,B0(e));break;case 4:i=Ka,Ka=Mc(e.stateNode.containerInfo),na(t,e),ia(e),Ka=i;break;case 12:na(t,e),ia(e);break;case 31:na(t,e),ia(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,mc(e,i)));break;case 13:na(t,e),ia(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(bc=ma()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,mc(e,i)));break;case 22:u=e.memoizedState!==null;var M=r!==null&&r.memoizedState!==null,Y=Dr,G=vt;if(Dr=Y||u,vt=G||M,na(t,e),vt=G,Dr=Y,ia(e),i&8192)e:for(t=e.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(r===null||M||Dr||vt||Jl(e)),r=null,t=e;;){if(t.tag===5||t.tag===26){if(r===null){M=r=t;try{if(d=M.stateNode,u)y=d.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none";else{_=M.stateNode;var X=M.memoizedProps.style,k=X!=null&&X.hasOwnProperty("display")?X.display:null;_.style.display=k==null||typeof k=="boolean"?"":(""+k).trim()}}catch(ie){Ze(M,M.return,ie)}}}else if(t.tag===6){if(r===null){M=t;try{M.stateNode.nodeValue=u?"":M.memoizedProps}catch(ie){Ze(M,M.return,ie)}}}else if(t.tag===18){if(r===null){M=t;try{var H=M.stateNode;u?Og(H,!0):Og(M.stateNode,!1)}catch(ie){Ze(M,M.return,ie)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;r===t&&(r=null),t=t.return}r===t&&(r=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(r=i.retryQueue,r!==null&&(i.retryQueue=null,mc(e,r))));break;case 19:na(t,e),ia(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,mc(e,i)));break;case 30:break;case 21:break;default:na(t,e),ia(e)}}function ia(e){var t=e.flags;if(t&2){try{for(var r,i=e.return;i!==null;){if(R0(i)){r=i;break}i=i.return}if(r==null)throw Error(o(160));switch(r.tag){case 27:var u=r.stateNode,d=If(e);hc(e,d,u);break;case 5:var y=r.stateNode;r.flags&32&&(zn(y,""),r.flags&=-33);var _=If(e);hc(e,_,y);break;case 3:case 4:var M=r.stateNode.containerInfo,Y=If(e);Pf(e,Y,M);break;default:throw Error(o(161))}}catch(G){Ze(e,e.return,G)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function B0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;B0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Mr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)U0(e,t.alternate,t),t=t.sibling}function Jl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:cl(4,t,t.return),Jl(t);break;case 1:tr(t,t.return);var r=t.stateNode;typeof r.componentWillUnmount=="function"&&O0(t,t.return,r),Jl(t);break;case 27:So(t.stateNode);case 26:case 5:tr(t,t.return),Jl(t);break;case 22:t.memoizedState===null&&Jl(t);break;case 30:Jl(t);break;default:Jl(t)}e=e.sibling}}function Or(e,t,r){for(r=r&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var i=t.alternate,u=e,d=t,y=d.flags;switch(d.tag){case 0:case 11:case 15:Or(u,d,r),fo(4,d);break;case 1:if(Or(u,d,r),i=d,u=i.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(Y){Ze(i,i.return,Y)}if(i=d,u=i.updateQueue,u!==null){var _=i.stateNode;try{var M=u.shared.hiddenCallbacks;if(M!==null)for(u.shared.hiddenCallbacks=null,u=0;u<M.length;u++)ym(M[u],_)}catch(Y){Ze(i,i.return,Y)}}r&&y&64&&M0(d),vo(d,d.return);break;case 27:j0(d);case 26:case 5:Or(u,d,r),r&&i===null&&y&4&&A0(d),vo(d,d.return);break;case 12:Or(u,d,r);break;case 31:Or(u,d,r),r&&y&4&&H0(u,d);break;case 13:Or(u,d,r),r&&y&4&&L0(u,d);break;case 22:d.memoizedState===null&&Or(u,d,r),vo(d,d.return);break;case 30:break;default:Or(u,d,r)}t=t.sibling}}function ed(e,t){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==r&&(e!=null&&e.refCount++,r!=null&&Pi(r))}function td(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Pi(e))}function Fa(e,t,r,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Z0(e,t,r,i),t=t.sibling}function Z0(e,t,r,i){var u=t.flags;switch(t.tag){case 0:case 11:case 15:Fa(e,t,r,i),u&2048&&fo(9,t);break;case 1:Fa(e,t,r,i);break;case 3:Fa(e,t,r,i),u&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Pi(e)));break;case 12:if(u&2048){Fa(e,t,r,i),e=t.stateNode;try{var d=t.memoizedProps,y=d.id,_=d.onPostCommit;typeof _=="function"&&_(y,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(M){Ze(t,t.return,M)}}else Fa(e,t,r,i);break;case 31:Fa(e,t,r,i);break;case 13:Fa(e,t,r,i);break;case 23:break;case 22:d=t.stateNode,y=t.alternate,t.memoizedState!==null?d._visibility&2?Fa(e,t,r,i):ho(e,t):d._visibility&2?Fa(e,t,r,i):(d._visibility|=2,$n(e,t,r,i,(t.subtreeFlags&10256)!==0||!1)),u&2048&&ed(y,t);break;case 24:Fa(e,t,r,i),u&2048&&td(t.alternate,t);break;default:Fa(e,t,r,i)}}function $n(e,t,r,i,u){for(u=u&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var d=e,y=t,_=r,M=i,Y=y.flags;switch(y.tag){case 0:case 11:case 15:$n(d,y,_,M,u),fo(8,y);break;case 23:break;case 22:var G=y.stateNode;y.memoizedState!==null?G._visibility&2?$n(d,y,_,M,u):ho(d,y):(G._visibility|=2,$n(d,y,_,M,u)),u&&Y&2048&&ed(y.alternate,y);break;case 24:$n(d,y,_,M,u),u&&Y&2048&&td(y.alternate,y);break;default:$n(d,y,_,M,u)}t=t.sibling}}function ho(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var r=e,i=t,u=i.flags;switch(i.tag){case 22:ho(r,i),u&2048&&ed(i.alternate,i);break;case 24:ho(r,i),u&2048&&td(i.alternate,i);break;default:ho(r,i)}t=t.sibling}}var mo=8192;function Qn(e,t,r){if(e.subtreeFlags&mo)for(e=e.child;e!==null;)G0(e,t,r),e=e.sibling}function G0(e,t,r){switch(e.tag){case 26:Qn(e,t,r),e.flags&mo&&e.memoizedState!==null&&cw(r,Ka,e.memoizedState,e.memoizedProps);break;case 5:Qn(e,t,r);break;case 3:case 4:var i=Ka;Ka=Mc(e.stateNode.containerInfo),Qn(e,t,r),Ka=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=mo,mo=16777216,Qn(e,t,r),mo=i):Qn(e,t,r));break;default:Qn(e,t,r)}}function V0(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function go(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var i=t[r];yt=i,$0(i,e)}V0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)X0(e),e=e.sibling}function X0(e){switch(e.tag){case 0:case 11:case 15:go(e),e.flags&2048&&cl(9,e,e.return);break;case 3:go(e);break;case 12:go(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,gc(e)):go(e);break;default:go(e)}}function gc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var i=t[r];yt=i,$0(i,e)}V0(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:cl(8,t,t.return),gc(t);break;case 22:r=t.stateNode,r._visibility&2&&(r._visibility&=-3,gc(t));break;default:gc(t)}e=e.sibling}}function $0(e,t){for(;yt!==null;){var r=yt;switch(r.tag){case 0:case 11:case 15:cl(8,r,t);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var i=r.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:Pi(r.memoizedState.cache)}if(i=r.child,i!==null)i.return=r,yt=i;else e:for(r=e;yt!==null;){i=yt;var u=i.sibling,d=i.return;if(Y0(i),i===r){yt=null;break e}if(u!==null){u.return=d,yt=u;break e}yt=d}}}var T2={getCacheForType:function(e){var t=_t(ut),r=t.data.get(e);return r===void 0&&(r=e(),t.data.set(e,r)),r},cacheSignal:function(){return _t(ut).controller.signal}},E2=typeof WeakMap=="function"?WeakMap:Map,Le=0,Qe=null,Me=null,Ae=0,Be=0,Sa=null,ul=!1,Wn=!1,ad=!1,Ar=0,nt=0,fl=0,en=0,rd=0,_a=0,Kn=0,bo=null,oa=null,ld=!1,bc=0,Q0=0,yc=1/0,pc=null,dl=null,ht=0,vl=null,Fn=null,Rr=0,nd=0,id=null,W0=null,yo=0,od=null;function Ta(){return(Le&2)!==0&&Ae!==0?Ae&-Ae:j.T!==null?vd():uh()}function K0(){if(_a===0)if((Ae&536870912)===0||je){var e=Ds;Ds<<=1,(Ds&3932160)===0&&(Ds=262144),_a=e}else _a=536870912;return e=wa.current,e!==null&&(e.flags|=32),_a}function sa(e,t,r){(e===Qe&&(Be===2||Be===9)||e.cancelPendingCommit!==null)&&(In(e,0),hl(e,Ae,_a,!1)),Hi(e,r),((Le&2)===0||e!==Qe)&&(e===Qe&&((Le&2)===0&&(en|=r),nt===4&&hl(e,Ae,_a,!1)),ar(e))}function F0(e,t,r){if((Le&6)!==0)throw Error(o(327));var i=!r&&(t&127)===0&&(t&e.expiredLanes)===0||ki(e,t),u=i?C2(e,t):cd(e,t,!0),d=i;do{if(u===0){Wn&&!i&&hl(e,t,0,!1);break}else{if(r=e.current.alternate,d&&!z2(r)){u=cd(e,t,!1),d=!1;continue}if(u===2){if(d=t,e.errorRecoveryDisabledLanes&d)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){t=y;e:{var _=e;u=bo;var M=_.current.memoizedState.isDehydrated;if(M&&(In(_,y).flags|=256),y=cd(_,y,!1),y!==2){if(ad&&!M){_.errorRecoveryDisabledLanes|=d,en|=d,u=4;break e}d=oa,oa=u,d!==null&&(oa===null?oa=d:oa.push.apply(oa,d))}u=y}if(d=!1,u!==2)continue}}if(u===1){In(e,0),hl(e,t,0,!0);break}e:{switch(i=e,d=u,d){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:hl(i,t,_a,!ul);break e;case 2:oa=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(u=bc+300-ma(),10<u)){if(hl(i,t,_a,!ul),Ms(i,0,!0)!==0)break e;Rr=t,i.timeoutHandle=Dg(I0.bind(null,i,r,oa,pc,ld,t,_a,en,Kn,ul,d,"Throttled",-0,0),u);break e}I0(i,r,oa,pc,ld,t,_a,en,Kn,ul,d,null,-0,0)}}break}while(!0);ar(e)}function I0(e,t,r,i,u,d,y,_,M,Y,G,X,k,H){if(e.timeoutHandle=-1,X=t.subtreeFlags,X&8192||(X&16785408)===16785408){X={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:br},G0(t,d,X);var ie=(d&62914560)===d?bc-ma():(d&4194048)===d?Q0-ma():0;if(ie=uw(X,ie),ie!==null){Rr=d,e.cancelPendingCommit=ie(ng.bind(null,e,t,d,r,i,u,y,_,M,G,X,null,k,H)),hl(e,d,y,!Y);return}}ng(e,t,d,r,i,u,y,_,M)}function z2(e){for(var t=e;;){var r=t.tag;if((r===0||r===11||r===15)&&t.flags&16384&&(r=t.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var i=0;i<r.length;i++){var u=r[i],d=u.getSnapshot;u=u.value;try{if(!ya(d(),u))return!1}catch{return!1}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function hl(e,t,r,i){t&=~rd,t&=~en,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var u=t;0<u;){var d=31-ba(u),y=1<<d;i[d]=-1,u&=~y}r!==0&&oh(e,r,t)}function wc(){return(Le&6)===0?(po(0),!1):!0}function sd(){if(Me!==null){if(Be===0)var e=Me.return;else e=Me,xr=Xl=null,Tf(e),Bn=null,eo=0,e=Me;for(;e!==null;)C0(e.alternate,e),e=e.return;Me=null}}function In(e,t){var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,$2(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),Rr=0,sd(),Qe=e,Me=r=pr(e.current,null),Ae=t,Be=0,Sa=null,ul=!1,Wn=ki(e,t),ad=!1,Kn=_a=rd=en=fl=nt=0,oa=bo=null,ld=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var u=31-ba(i),d=1<<u;t|=e[u],i&=~d}return Ar=t,Bs(),r}function P0(e,t){Se=null,j.H=so,t===qn||t===Ks?(t=hm(),Be=3):t===df?(t=hm(),Be=4):Be=t===qf?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Sa=t,Me===null&&(nt=1,cc(e,Na(t,e.current)))}function J0(){var e=wa.current;return e===null?!0:(Ae&4194048)===Ae?Ha===null:(Ae&62914560)===Ae||(Ae&536870912)!==0?e===Ha:!1}function eg(){var e=j.H;return j.H=so,e===null?so:e}function tg(){var e=j.A;return j.A=T2,e}function xc(){nt=4,ul||(Ae&4194048)!==Ae&&wa.current!==null||(Wn=!0),(fl&134217727)===0&&(en&134217727)===0||Qe===null||hl(Qe,Ae,_a,!1)}function cd(e,t,r){var i=Le;Le|=2;var u=eg(),d=tg();(Qe!==e||Ae!==t)&&(pc=null,In(e,t)),t=!1;var y=nt;e:do try{if(Be!==0&&Me!==null){var _=Me,M=Sa;switch(Be){case 8:sd(),y=6;break e;case 3:case 2:case 9:case 6:wa.current===null&&(t=!0);var Y=Be;if(Be=0,Sa=null,Pn(e,_,M,Y),r&&Wn){y=0;break e}break;default:Y=Be,Be=0,Sa=null,Pn(e,_,M,Y)}}D2(),y=nt;break}catch(G){P0(e,G)}while(!0);return t&&e.shellSuspendCounter++,xr=Xl=null,Le=i,j.H=u,j.A=d,Me===null&&(Qe=null,Ae=0,Bs()),y}function D2(){for(;Me!==null;)ag(Me)}function C2(e,t){var r=Le;Le|=2;var i=eg(),u=tg();Qe!==e||Ae!==t?(pc=null,yc=ma()+500,In(e,t)):Wn=ki(e,t);e:do try{if(Be!==0&&Me!==null){t=Me;var d=Sa;t:switch(Be){case 1:Be=0,Sa=null,Pn(e,t,d,1);break;case 2:case 9:if(dm(d)){Be=0,Sa=null,rg(t);break}t=function(){Be!==2&&Be!==9||Qe!==e||(Be=7),ar(e)},d.then(t,t);break e;case 3:Be=7;break e;case 4:Be=5;break e;case 7:dm(d)?(Be=0,Sa=null,rg(t)):(Be=0,Sa=null,Pn(e,t,d,7));break;case 5:var y=null;switch(Me.tag){case 26:y=Me.memoizedState;case 5:case 27:var _=Me;if(y?Zg(y):_.stateNode.complete){Be=0,Sa=null;var M=_.sibling;if(M!==null)Me=M;else{var Y=_.return;Y!==null?(Me=Y,Sc(Y)):Me=null}break t}}Be=0,Sa=null,Pn(e,t,d,5);break;case 6:Be=0,Sa=null,Pn(e,t,d,6);break;case 8:sd(),nt=6;break e;default:throw Error(o(462))}}M2();break}catch(G){P0(e,G)}while(!0);return xr=Xl=null,j.H=i,j.A=u,Le=r,Me!==null?0:(Qe=null,Ae=0,Bs(),nt)}function M2(){for(;Me!==null&&!Pp();)ag(Me)}function ag(e){var t=z0(e.alternate,e,Ar);e.memoizedProps=e.pendingProps,t===null?Sc(e):Me=t}function rg(e){var t=e,r=t.alternate;switch(t.tag){case 15:case 0:t=w0(r,t,t.pendingProps,t.type,void 0,Ae);break;case 11:t=w0(r,t,t.pendingProps,t.type.render,t.ref,Ae);break;case 5:Tf(t);default:C0(r,t),t=Me=tm(t,Ar),t=z0(r,t,Ar)}e.memoizedProps=e.pendingProps,t===null?Sc(e):Me=t}function Pn(e,t,r,i){xr=Xl=null,Tf(t),Bn=null,eo=0;var u=t.return;try{if(b2(e,u,t,r,Ae)){nt=1,cc(e,Na(r,e.current)),Me=null;return}}catch(d){if(u!==null)throw Me=u,d;nt=1,cc(e,Na(r,e.current)),Me=null;return}t.flags&32768?(je||i===1?e=!0:Wn||(Ae&536870912)!==0?e=!1:(ul=e=!0,(i===2||i===9||i===3||i===6)&&(i=wa.current,i!==null&&i.tag===13&&(i.flags|=16384))),lg(t,e)):Sc(t)}function Sc(e){var t=e;do{if((t.flags&32768)!==0){lg(t,ul);return}e=t.return;var r=w2(t.alternate,t,Ar);if(r!==null){Me=r;return}if(t=t.sibling,t!==null){Me=t;return}Me=t=e}while(t!==null);nt===0&&(nt=5)}function lg(e,t){do{var r=x2(e.alternate,e);if(r!==null){r.flags&=32767,Me=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&(e=e.sibling,e!==null)){Me=e;return}Me=e=r}while(e!==null);nt=6,Me=null}function ng(e,t,r,i,u,d,y,_,M){e.cancelPendingCommit=null;do _c();while(ht!==0);if((Le&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(d=t.lanes|t.childLanes,d|=Fu,s1(e,r,d,y,_,M),e===Qe&&(Me=Qe=null,Ae=0),Fn=t,vl=e,Rr=r,nd=d,id=u,W0=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,j2(Es,function(){return ug(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=j.T,j.T=null,u=$.p,$.p=2,y=Le,Le|=4;try{S2(e,t,r)}finally{Le=y,$.p=u,j.T=i}}ht=1,ig(),og(),sg()}}function ig(){if(ht===1){ht=0;var e=vl,t=Fn,r=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||r){r=j.T,j.T=null;var i=$.p;$.p=2;var u=Le;Le|=4;try{q0(t,e);var d=xd,y=$h(e.containerInfo),_=d.focusedElem,M=d.selectionRange;if(y!==_&&_&&_.ownerDocument&&Xh(_.ownerDocument.documentElement,_)){if(M!==null&&Xu(_)){var Y=M.start,G=M.end;if(G===void 0&&(G=Y),"selectionStart"in _)_.selectionStart=Y,_.selectionEnd=Math.min(G,_.value.length);else{var X=_.ownerDocument||document,k=X&&X.defaultView||window;if(k.getSelection){var H=k.getSelection(),ie=_.textContent.length,de=Math.min(M.start,ie),$e=M.end===void 0?de:Math.min(M.end,ie);!H.extend&&de>$e&&(y=$e,$e=de,de=y);var R=Vh(_,de),O=Vh(_,$e);if(R&&O&&(H.rangeCount!==1||H.anchorNode!==R.node||H.anchorOffset!==R.offset||H.focusNode!==O.node||H.focusOffset!==O.offset)){var U=X.createRange();U.setStart(R.node,R.offset),H.removeAllRanges(),de>$e?(H.addRange(U),H.extend(O.node,O.offset)):(U.setEnd(O.node,O.offset),H.addRange(U))}}}}for(X=[],H=_;H=H.parentNode;)H.nodeType===1&&X.push({element:H,left:H.scrollLeft,top:H.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<X.length;_++){var V=X[_];V.element.scrollLeft=V.left,V.element.scrollTop=V.top}}Uc=!!wd,xd=wd=null}finally{Le=u,$.p=i,j.T=r}}e.current=t,ht=2}}function og(){if(ht===2){ht=0;var e=vl,t=Fn,r=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||r){r=j.T,j.T=null;var i=$.p;$.p=2;var u=Le;Le|=4;try{U0(e,t.alternate,t)}finally{Le=u,$.p=i,j.T=r}}ht=3}}function sg(){if(ht===4||ht===3){ht=0,Jp();var e=vl,t=Fn,r=Rr,i=W0;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ht=5:(ht=0,Fn=vl=null,cg(e,e.pendingLanes));var u=e.pendingLanes;if(u===0&&(dl=null),zu(r),t=t.stateNode,ga&&typeof ga.onCommitFiberRoot=="function")try{ga.onCommitFiberRoot(Yi,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=j.T,u=$.p,$.p=2,j.T=null;try{for(var d=e.onRecoverableError,y=0;y<i.length;y++){var _=i[y];d(_.value,{componentStack:_.stack})}}finally{j.T=t,$.p=u}}(Rr&3)!==0&&_c(),ar(e),u=e.pendingLanes,(r&261930)!==0&&(u&42)!==0?e===od?yo++:(yo=0,od=e):yo=0,po(0)}}function cg(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Pi(t)))}function _c(){return ig(),og(),sg(),ug()}function ug(){if(ht!==5)return!1;var e=vl,t=nd;nd=0;var r=zu(Rr),i=j.T,u=$.p;try{$.p=32>r?32:r,j.T=null,r=id,id=null;var d=vl,y=Rr;if(ht=0,Fn=vl=null,Rr=0,(Le&6)!==0)throw Error(o(331));var _=Le;if(Le|=4,X0(d.current),Z0(d,d.current,y,r),Le=_,po(0,!1),ga&&typeof ga.onPostCommitFiberRoot=="function")try{ga.onPostCommitFiberRoot(Yi,d)}catch{}return!0}finally{$.p=u,j.T=i,cg(e,t)}}function fg(e,t,r){t=Na(r,t),t=Lf(e.stateNode,t,2),e=il(e,t,2),e!==null&&(Hi(e,2),ar(e))}function Ze(e,t,r){if(e.tag===3)fg(e,e,r);else for(;t!==null;){if(t.tag===3){fg(t,e,r);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(dl===null||!dl.has(i))){e=Na(r,e),r=d0(2),i=il(t,r,2),i!==null&&(v0(r,i,t,e),Hi(i,2),ar(i));break}}t=t.return}}function ud(e,t,r){var i=e.pingCache;if(i===null){i=e.pingCache=new E2;var u=new Set;i.set(t,u)}else u=i.get(t),u===void 0&&(u=new Set,i.set(t,u));u.has(r)||(ad=!0,u.add(r),e=O2.bind(null,e,t,r),t.then(e,e))}function O2(e,t,r){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,Qe===e&&(Ae&r)===r&&(nt===4||nt===3&&(Ae&62914560)===Ae&&300>ma()-bc?(Le&2)===0&&In(e,0):rd|=r,Kn===Ae&&(Kn=0)),ar(e)}function dg(e,t){t===0&&(t=ih()),e=Zl(e,t),e!==null&&(Hi(e,t),ar(e))}function A2(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),dg(e,r)}function R2(e,t){var r=0;switch(e.tag){case 31:case 13:var i=e.stateNode,u=e.memoizedState;u!==null&&(r=u.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(o(314))}i!==null&&i.delete(t),dg(e,r)}function j2(e,t){return Yt(e,t)}var Tc=null,Jn=null,fd=!1,Ec=!1,dd=!1,ml=0;function ar(e){e!==Jn&&e.next===null&&(Jn===null?Tc=Jn=e:Jn=Jn.next=e),Ec=!0,fd||(fd=!0,U2())}function po(e,t){if(!dd&&Ec){dd=!0;do for(var r=!1,i=Tc;i!==null;){if(e!==0){var u=i.pendingLanes;if(u===0)var d=0;else{var y=i.suspendedLanes,_=i.pingedLanes;d=(1<<31-ba(42|e)+1)-1,d&=u&~(y&~_),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(r=!0,gg(i,d))}else d=Ae,d=Ms(i,i===Qe?d:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(d&3)===0||ki(i,d)||(r=!0,gg(i,d));i=i.next}while(r);dd=!1}}function N2(){vg()}function vg(){Ec=fd=!1;var e=0;ml!==0&&X2()&&(e=ml);for(var t=ma(),r=null,i=Tc;i!==null;){var u=i.next,d=hg(i,t);d===0?(i.next=null,r===null?Tc=u:r.next=u,u===null&&(Jn=r)):(r=i,(e!==0||(d&3)!==0)&&(Ec=!0)),i=u}ht!==0&&ht!==5||po(e),ml!==0&&(ml=0)}function hg(e,t){for(var r=e.suspendedLanes,i=e.pingedLanes,u=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var y=31-ba(d),_=1<<y,M=u[y];M===-1?((_&r)===0||(_&i)!==0)&&(u[y]=o1(_,t)):M<=t&&(e.expiredLanes|=_),d&=~_}if(t=Qe,r=Ae,r=Ms(e,e===t?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,r===0||e===t&&(Be===2||Be===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&_u(i),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||ki(e,r)){if(t=r&-r,t===e.callbackPriority)return t;switch(i!==null&&_u(i),zu(r)){case 2:case 8:r=lh;break;case 32:r=Es;break;case 268435456:r=nh;break;default:r=Es}return i=mg.bind(null,e),r=Yt(r,i),e.callbackPriority=t,e.callbackNode=r,t}return i!==null&&i!==null&&_u(i),e.callbackPriority=2,e.callbackNode=null,2}function mg(e,t){if(ht!==0&&ht!==5)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(_c()&&e.callbackNode!==r)return null;var i=Ae;return i=Ms(e,e===Qe?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(F0(e,i,t),hg(e,ma()),e.callbackNode!=null&&e.callbackNode===r?mg.bind(null,e):null)}function gg(e,t){if(_c())return null;F0(e,t,!0)}function U2(){Q2(function(){(Le&6)!==0?Yt(rh,N2):vg()})}function vd(){if(ml===0){var e=Hn;e===0&&(e=zs,zs<<=1,(zs&261888)===0&&(zs=256)),ml=e}return ml}function bg(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:js(""+e)}function yg(e,t){var r=t.ownerDocument.createElement("input");return r.name=t.name,r.value=t.value,e.id&&r.setAttribute("form",e.id),t.parentNode.insertBefore(r,t),e=new FormData(e),r.parentNode.removeChild(r),e}function Y2(e,t,r,i,u){if(t==="submit"&&r&&r.stateNode===u){var d=bg((u[aa]||null).action),y=i.submitter;y&&(t=(t=y[aa]||null)?bg(t.formAction):y.getAttribute("formAction"),t!==null&&(d=t,y=null));var _=new ks("action","action",null,i,u);e.push({event:_,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(ml!==0){var M=y?yg(u,y):new FormData(u);jf(r,{pending:!0,data:M,method:u.method,action:d},null,M)}}else typeof d=="function"&&(_.preventDefault(),M=y?yg(u,y):new FormData(u),jf(r,{pending:!0,data:M,method:u.method,action:d},d,M))},currentTarget:u}]})}}for(var hd=0;hd<Ku.length;hd++){var md=Ku[hd],k2=md.toLowerCase(),H2=md[0].toUpperCase()+md.slice(1);Wa(k2,"on"+H2)}Wa(Kh,"onAnimationEnd"),Wa(Fh,"onAnimationIteration"),Wa(Ih,"onAnimationStart"),Wa("dblclick","onDoubleClick"),Wa("focusin","onFocus"),Wa("focusout","onBlur"),Wa(e2,"onTransitionRun"),Wa(t2,"onTransitionStart"),Wa(a2,"onTransitionCancel"),Wa(Ph,"onTransitionEnd"),Tn("onMouseEnter",["mouseout","mouseover"]),Tn("onMouseLeave",["mouseout","mouseover"]),Tn("onPointerEnter",["pointerout","pointerover"]),Tn("onPointerLeave",["pointerout","pointerover"]),Hl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Hl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Hl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Hl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Hl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Hl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var wo="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(" "),L2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(wo));function pg(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var i=e[r],u=i.event;i=i.listeners;e:{var d=void 0;if(t)for(var y=i.length-1;0<=y;y--){var _=i[y],M=_.instance,Y=_.currentTarget;if(_=_.listener,M!==d&&u.isPropagationStopped())break e;d=_,u.currentTarget=Y;try{d(u)}catch(G){qs(G)}u.currentTarget=null,d=M}else for(y=0;y<i.length;y++){if(_=i[y],M=_.instance,Y=_.currentTarget,_=_.listener,M!==d&&u.isPropagationStopped())break e;d=_,u.currentTarget=Y;try{d(u)}catch(G){qs(G)}u.currentTarget=null,d=M}}}}function Oe(e,t){var r=t[Du];r===void 0&&(r=t[Du]=new Set);var i=e+"__bubble";r.has(i)||(wg(t,e,2,!1),r.add(i))}function gd(e,t,r){var i=0;t&&(i|=4),wg(r,e,i,t)}var zc="_reactListening"+Math.random().toString(36).slice(2);function bd(e){if(!e[zc]){e[zc]=!0,vh.forEach(function(r){r!=="selectionchange"&&(L2.has(r)||gd(r,!1,e),gd(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[zc]||(t[zc]=!0,gd("selectionchange",!1,t))}}function wg(e,t,r,i){switch(Kg(t)){case 2:var u=vw;break;case 8:u=hw;break;default:u=Rd}r=u.bind(null,t,r,e),u=void 0,!Yu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),i?u!==void 0?e.addEventListener(t,r,{capture:!0,passive:u}):e.addEventListener(t,r,!0):u!==void 0?e.addEventListener(t,r,{passive:u}):e.addEventListener(t,r,!1)}function yd(e,t,r,i,u){var d=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var y=i.tag;if(y===3||y===4){var _=i.stateNode.containerInfo;if(_===u)break;if(y===4)for(y=i.return;y!==null;){var M=y.tag;if((M===3||M===4)&&y.stateNode.containerInfo===u)return;y=y.return}for(;_!==null;){if(y=xn(_),y===null)return;if(M=y.tag,M===5||M===6||M===26||M===27){i=d=y;continue e}_=_.parentNode}}i=i.return}Eh(function(){var Y=d,G=Nu(r),X=[];e:{var k=Jh.get(e);if(k!==void 0){var H=ks,ie=e;switch(e){case"keypress":if(Us(r)===0)break e;case"keydown":case"keyup":H=R1;break;case"focusin":ie="focus",H=qu;break;case"focusout":ie="blur",H=qu;break;case"beforeblur":case"afterblur":H=qu;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":H=Ch;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=w1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=U1;break;case Kh:case Fh:case Ih:H=_1;break;case Ph:H=k1;break;case"scroll":case"scrollend":H=y1;break;case"wheel":H=L1;break;case"copy":case"cut":case"paste":H=E1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=Oh;break;case"toggle":case"beforetoggle":H=B1}var de=(t&4)!==0,$e=!de&&(e==="scroll"||e==="scrollend"),R=de?k!==null?k+"Capture":null:k;de=[];for(var O=Y,U;O!==null;){var V=O;if(U=V.stateNode,V=V.tag,V!==5&&V!==26&&V!==27||U===null||R===null||(V=Bi(O,R),V!=null&&de.push(xo(O,V,U))),$e)break;O=O.return}0<de.length&&(k=new H(k,ie,null,r,G),X.push({event:k,listeners:de}))}}if((t&7)===0){e:{if(k=e==="mouseover"||e==="pointerover",H=e==="mouseout"||e==="pointerout",k&&r!==ju&&(ie=r.relatedTarget||r.fromElement)&&(xn(ie)||ie[wn]))break e;if((H||k)&&(k=G.window===G?G:(k=G.ownerDocument)?k.defaultView||k.parentWindow:window,H?(ie=r.relatedTarget||r.toElement,H=Y,ie=ie?xn(ie):null,ie!==null&&($e=c(ie),de=ie.tag,ie!==$e||de!==5&&de!==27&&de!==6)&&(ie=null)):(H=null,ie=Y),H!==ie)){if(de=Ch,V="onMouseLeave",R="onMouseEnter",O="mouse",(e==="pointerout"||e==="pointerover")&&(de=Oh,V="onPointerLeave",R="onPointerEnter",O="pointer"),$e=H==null?k:qi(H),U=ie==null?k:qi(ie),k=new de(V,O+"leave",H,r,G),k.target=$e,k.relatedTarget=U,V=null,xn(G)===Y&&(de=new de(R,O+"enter",ie,r,G),de.target=U,de.relatedTarget=$e,V=de),$e=V,H&&ie)t:{for(de=q2,R=H,O=ie,U=0,V=R;V;V=de(V))U++;V=0;for(var ue=O;ue;ue=de(ue))V++;for(;0<U-V;)R=de(R),U--;for(;0<V-U;)O=de(O),V--;for(;U--;){if(R===O||O!==null&&R===O.alternate){de=R;break t}R=de(R),O=de(O)}de=null}else de=null;H!==null&&xg(X,k,H,de,!1),ie!==null&&$e!==null&&xg(X,$e,ie,de,!0)}}e:{if(k=Y?qi(Y):window,H=k.nodeName&&k.nodeName.toLowerCase(),H==="select"||H==="input"&&k.type==="file")var Ye=Hh;else if(Yh(k))if(Lh)Ye=I1;else{Ye=K1;var oe=W1}else H=k.nodeName,!H||H.toLowerCase()!=="input"||k.type!=="checkbox"&&k.type!=="radio"?Y&&Ru(Y.elementType)&&(Ye=Hh):Ye=F1;if(Ye&&(Ye=Ye(e,Y))){kh(X,Ye,r,G);break e}oe&&oe(e,k,Y),e==="focusout"&&Y&&k.type==="number"&&Y.memoizedProps.value!=null&&Au(k,"number",k.value)}switch(oe=Y?qi(Y):window,e){case"focusin":(Yh(oe)||oe.contentEditable==="true")&&(On=oe,$u=Y,Ki=null);break;case"focusout":Ki=$u=On=null;break;case"mousedown":Qu=!0;break;case"contextmenu":case"mouseup":case"dragend":Qu=!1,Qh(X,r,G);break;case"selectionchange":if(J1)break;case"keydown":case"keyup":Qh(X,r,G)}var _e;if(Zu)e:{switch(e){case"compositionstart":var Re="onCompositionStart";break e;case"compositionend":Re="onCompositionEnd";break e;case"compositionupdate":Re="onCompositionUpdate";break e}Re=void 0}else Mn?Nh(e,r)&&(Re="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(Re="onCompositionStart");Re&&(Ah&&r.locale!=="ko"&&(Mn||Re!=="onCompositionStart"?Re==="onCompositionEnd"&&Mn&&(_e=zh()):(Jr=G,ku="value"in Jr?Jr.value:Jr.textContent,Mn=!0)),oe=Dc(Y,Re),0<oe.length&&(Re=new Mh(Re,e,null,r,G),X.push({event:Re,listeners:oe}),_e?Re.data=_e:(_e=Uh(r),_e!==null&&(Re.data=_e)))),(_e=G1?V1(e,r):X1(e,r))&&(Re=Dc(Y,"onBeforeInput"),0<Re.length&&(oe=new Mh("onBeforeInput","beforeinput",null,r,G),X.push({event:oe,listeners:Re}),oe.data=_e)),Y2(X,e,Y,r,G)}pg(X,t)})}function xo(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Dc(e,t){for(var r=t+"Capture",i=[];e!==null;){var u=e,d=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||d===null||(u=Bi(e,r),u!=null&&i.unshift(xo(e,u,d)),u=Bi(e,t),u!=null&&i.push(xo(e,u,d))),e.tag===3)return i;e=e.return}return[]}function q2(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function xg(e,t,r,i,u){for(var d=t._reactName,y=[];r!==null&&r!==i;){var _=r,M=_.alternate,Y=_.stateNode;if(_=_.tag,M!==null&&M===i)break;_!==5&&_!==26&&_!==27||Y===null||(M=Y,u?(Y=Bi(r,d),Y!=null&&y.unshift(xo(r,Y,M))):u||(Y=Bi(r,d),Y!=null&&y.push(xo(r,Y,M)))),r=r.return}y.length!==0&&e.push({event:t,listeners:y})}var B2=/\r\n?/g,Z2=/\u0000|\uFFFD/g;function Sg(e){return(typeof e=="string"?e:""+e).replace(B2,`
|
|
49
|
+
`).replace(Z2,"")}function _g(e,t){return t=Sg(t),Sg(e)===t}function Xe(e,t,r,i,u,d){switch(r){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||zn(e,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&zn(e,""+i);break;case"className":As(e,"class",i);break;case"tabIndex":As(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":As(e,r,i);break;case"style":_h(e,i,d);break;case"data":if(t!=="object"){As(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||r!=="href")){e.removeAttribute(r);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(r);break}i=js(""+i),e.setAttribute(r,i);break;case"action":case"formAction":if(typeof i=="function"){e.setAttribute(r,"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 d=="function"&&(r==="formAction"?(t!=="input"&&Xe(e,t,"name",u.name,u,null),Xe(e,t,"formEncType",u.formEncType,u,null),Xe(e,t,"formMethod",u.formMethod,u,null),Xe(e,t,"formTarget",u.formTarget,u,null)):(Xe(e,t,"encType",u.encType,u,null),Xe(e,t,"method",u.method,u,null),Xe(e,t,"target",u.target,u,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(r);break}i=js(""+i),e.setAttribute(r,i);break;case"onClick":i!=null&&(e.onclick=br);break;case"onScroll":i!=null&&Oe("scroll",e);break;case"onScrollEnd":i!=null&&Oe("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(r=i.__html,r!=null){if(u.children!=null)throw Error(o(60));e.innerHTML=r}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}r=js(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(r,""+i):e.removeAttribute(r);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":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":i===!0?e.setAttribute(r,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(r,i):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(r,i):e.removeAttribute(r);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(r):e.setAttribute(r,i);break;case"popover":Oe("beforetoggle",e),Oe("toggle",e),Os(e,"popover",i);break;case"xlinkActuate":gr(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":gr(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":gr(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":gr(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":gr(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":gr(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":gr(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":gr(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":gr(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Os(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=g1.get(r)||r,Os(e,r,i))}}function pd(e,t,r,i,u,d){switch(r){case"style":_h(e,i,d);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(o(61));if(r=i.__html,r!=null){if(u.children!=null)throw Error(o(60));e.innerHTML=r}}break;case"children":typeof i=="string"?zn(e,i):(typeof i=="number"||typeof i=="bigint")&&zn(e,""+i);break;case"onScroll":i!=null&&Oe("scroll",e);break;case"onScrollEnd":i!=null&&Oe("scrollend",e);break;case"onClick":i!=null&&(e.onclick=br);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!hh.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(u=r.endsWith("Capture"),t=r.slice(2,u?r.length-7:void 0),d=e[aa]||null,d=d!=null?d[r]:null,typeof d=="function"&&e.removeEventListener(t,d,u),typeof i=="function")){typeof d!="function"&&d!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,i,u);break e}r in e?e[r]=i:i===!0?e.setAttribute(r,""):Os(e,r,i)}}}function Et(e,t,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Oe("error",e),Oe("load",e);var i=!1,u=!1,d;for(d in r)if(r.hasOwnProperty(d)){var y=r[d];if(y!=null)switch(d){case"src":i=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Xe(e,t,d,y,r,null)}}u&&Xe(e,t,"srcSet",r.srcSet,r,null),i&&Xe(e,t,"src",r.src,r,null);return;case"input":Oe("invalid",e);var _=d=y=u=null,M=null,Y=null;for(i in r)if(r.hasOwnProperty(i)){var G=r[i];if(G!=null)switch(i){case"name":u=G;break;case"type":y=G;break;case"checked":M=G;break;case"defaultChecked":Y=G;break;case"value":d=G;break;case"defaultValue":_=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(o(137,t));break;default:Xe(e,t,i,G,r,null)}}ph(e,d,_,M,Y,y,u,!1);return;case"select":Oe("invalid",e),i=y=d=null;for(u in r)if(r.hasOwnProperty(u)&&(_=r[u],_!=null))switch(u){case"value":d=_;break;case"defaultValue":y=_;break;case"multiple":i=_;default:Xe(e,t,u,_,r,null)}t=d,r=y,e.multiple=!!i,t!=null?En(e,!!i,t,!1):r!=null&&En(e,!!i,r,!0);return;case"textarea":Oe("invalid",e),d=u=i=null;for(y in r)if(r.hasOwnProperty(y)&&(_=r[y],_!=null))switch(y){case"value":i=_;break;case"defaultValue":u=_;break;case"children":d=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(o(91));break;default:Xe(e,t,y,_,r,null)}xh(e,i,u,d);return;case"option":for(M in r)if(r.hasOwnProperty(M)&&(i=r[M],i!=null))switch(M){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:Xe(e,t,M,i,r,null)}return;case"dialog":Oe("beforetoggle",e),Oe("toggle",e),Oe("cancel",e),Oe("close",e);break;case"iframe":case"object":Oe("load",e);break;case"video":case"audio":for(i=0;i<wo.length;i++)Oe(wo[i],e);break;case"image":Oe("error",e),Oe("load",e);break;case"details":Oe("toggle",e);break;case"embed":case"source":case"link":Oe("error",e),Oe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Y in r)if(r.hasOwnProperty(Y)&&(i=r[Y],i!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Xe(e,t,Y,i,r,null)}return;default:if(Ru(t)){for(G in r)r.hasOwnProperty(G)&&(i=r[G],i!==void 0&&pd(e,t,G,i,r,void 0));return}}for(_ in r)r.hasOwnProperty(_)&&(i=r[_],i!=null&&Xe(e,t,_,i,r,null))}function G2(e,t,r,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,d=null,y=null,_=null,M=null,Y=null,G=null;for(H in r){var X=r[H];if(r.hasOwnProperty(H)&&X!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":M=X;default:i.hasOwnProperty(H)||Xe(e,t,H,null,i,X)}}for(var k in i){var H=i[k];if(X=r[k],i.hasOwnProperty(k)&&(H!=null||X!=null))switch(k){case"type":d=H;break;case"name":u=H;break;case"checked":Y=H;break;case"defaultChecked":G=H;break;case"value":y=H;break;case"defaultValue":_=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(o(137,t));break;default:H!==X&&Xe(e,t,k,H,i,X)}}Ou(e,y,_,M,Y,G,d,u);return;case"select":H=y=_=k=null;for(d in r)if(M=r[d],r.hasOwnProperty(d)&&M!=null)switch(d){case"value":break;case"multiple":H=M;default:i.hasOwnProperty(d)||Xe(e,t,d,null,i,M)}for(u in i)if(d=i[u],M=r[u],i.hasOwnProperty(u)&&(d!=null||M!=null))switch(u){case"value":k=d;break;case"defaultValue":_=d;break;case"multiple":y=d;default:d!==M&&Xe(e,t,u,d,i,M)}t=_,r=y,i=H,k!=null?En(e,!!r,k,!1):!!i!=!!r&&(t!=null?En(e,!!r,t,!0):En(e,!!r,r?[]:"",!1));return;case"textarea":H=k=null;for(_ in r)if(u=r[_],r.hasOwnProperty(_)&&u!=null&&!i.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Xe(e,t,_,null,i,u)}for(y in i)if(u=i[y],d=r[y],i.hasOwnProperty(y)&&(u!=null||d!=null))switch(y){case"value":k=u;break;case"defaultValue":H=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:u!==d&&Xe(e,t,y,u,i,d)}wh(e,k,H);return;case"option":for(var ie in r)if(k=r[ie],r.hasOwnProperty(ie)&&k!=null&&!i.hasOwnProperty(ie))switch(ie){case"selected":e.selected=!1;break;default:Xe(e,t,ie,null,i,k)}for(M in i)if(k=i[M],H=r[M],i.hasOwnProperty(M)&&k!==H&&(k!=null||H!=null))switch(M){case"selected":e.selected=k&&typeof k!="function"&&typeof k!="symbol";break;default:Xe(e,t,M,k,i,H)}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 de in r)k=r[de],r.hasOwnProperty(de)&&k!=null&&!i.hasOwnProperty(de)&&Xe(e,t,de,null,i,k);for(Y in i)if(k=i[Y],H=r[Y],i.hasOwnProperty(Y)&&k!==H&&(k!=null||H!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(o(137,t));break;default:Xe(e,t,Y,k,i,H)}return;default:if(Ru(t)){for(var $e in r)k=r[$e],r.hasOwnProperty($e)&&k!==void 0&&!i.hasOwnProperty($e)&&pd(e,t,$e,void 0,i,k);for(G in i)k=i[G],H=r[G],!i.hasOwnProperty(G)||k===H||k===void 0&&H===void 0||pd(e,t,G,k,i,H);return}}for(var R in r)k=r[R],r.hasOwnProperty(R)&&k!=null&&!i.hasOwnProperty(R)&&Xe(e,t,R,null,i,k);for(X in i)k=i[X],H=r[X],!i.hasOwnProperty(X)||k===H||k==null&&H==null||Xe(e,t,X,k,i,H)}function Tg(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function V2(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,r=performance.getEntriesByType("resource"),i=0;i<r.length;i++){var u=r[i],d=u.transferSize,y=u.initiatorType,_=u.duration;if(d&&_&&Tg(y)){for(y=0,_=u.responseEnd,i+=1;i<r.length;i++){var M=r[i],Y=M.startTime;if(Y>_)break;var G=M.transferSize,X=M.initiatorType;G&&Tg(X)&&(M=M.responseEnd,y+=G*(M<_?1:(_-Y)/(M-Y)))}if(--i,t+=8*(d+y)/(u.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var wd=null,xd=null;function Cc(e){return e.nodeType===9?e:e.ownerDocument}function Eg(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function zg(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Sd(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var _d=null;function X2(){var e=window.event;return e&&e.type==="popstate"?e===_d?!1:(_d=e,!0):(_d=null,!1)}var Dg=typeof setTimeout=="function"?setTimeout:void 0,$2=typeof clearTimeout=="function"?clearTimeout:void 0,Cg=typeof Promise=="function"?Promise:void 0,Q2=typeof queueMicrotask=="function"?queueMicrotask:typeof Cg<"u"?function(e){return Cg.resolve(null).then(e).catch(W2)}:Dg;function W2(e){setTimeout(function(){throw e})}function gl(e){return e==="head"}function Mg(e,t){var r=t,i=0;do{var u=r.nextSibling;if(e.removeChild(r),u&&u.nodeType===8)if(r=u.data,r==="/$"||r==="/&"){if(i===0){e.removeChild(u),ri(t);return}i--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")i++;else if(r==="html")So(e.ownerDocument.documentElement);else if(r==="head"){r=e.ownerDocument.head,So(r);for(var d=r.firstChild;d;){var y=d.nextSibling,_=d.nodeName;d[Li]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&d.rel.toLowerCase()==="stylesheet"||r.removeChild(d),d=y}}else r==="body"&&So(e.ownerDocument.body);r=u}while(r);ri(t)}function Og(e,t){var r=e;e=0;do{var i=r.nextSibling;if(r.nodeType===1?t?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(t?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),i&&i.nodeType===8)if(r=i.data,r==="/$"){if(e===0)break;e--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||e++;r=i}while(r)}function Td(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Td(r),Cu(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function K2(e,t,r,i){for(;e.nodeType===1;){var u=r;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[Li])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==u.rel||e.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||e.getAttribute("title")!==(u.title==null?null:u.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(u.src==null?null:u.src)||e.getAttribute("type")!==(u.type==null?null:u.type)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var d=u.name==null?null:""+u.name;if(u.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=La(e.nextSibling),e===null)break}return null}function F2(e,t,r){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=La(e.nextSibling),e===null))return null;return e}function Ag(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=La(e.nextSibling),e===null))return null;return e}function Ed(e){return e.data==="$?"||e.data==="$~"}function zd(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function I2(e,t){var r=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||r.readyState!=="loading")t();else{var i=function(){t(),r.removeEventListener("DOMContentLoaded",i)};r.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function La(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Dd=null;function Rg(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"||r==="/&"){if(t===0)return La(e.nextSibling);t--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||t++}e=e.nextSibling}return null}function jg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(t===0)return e;t--}else r!=="/$"&&r!=="/&"||t++}e=e.previousSibling}return null}function Ng(e,t,r){switch(t=Cc(r),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function So(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Cu(e)}var qa=new Map,Ug=new Set;function Mc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var jr=$.d;$.d={f:P2,r:J2,D:ew,C:tw,L:aw,m:rw,X:nw,S:lw,M:iw};function P2(){var e=jr.f(),t=wc();return e||t}function J2(e){var t=Sn(e);t!==null&&t.tag===5&&t.type==="form"?Pm(t):jr.r(e)}var ei=typeof document>"u"?null:document;function Yg(e,t,r){var i=ei;if(i&&typeof t=="string"&&t){var u=Ra(t);u='link[rel="'+e+'"][href="'+u+'"]',typeof r=="string"&&(u+='[crossorigin="'+r+'"]'),Ug.has(u)||(Ug.add(u),e={rel:e,crossOrigin:r,href:t},i.querySelector(u)===null&&(t=i.createElement("link"),Et(t,"link",e),bt(t),i.head.appendChild(t)))}}function ew(e){jr.D(e),Yg("dns-prefetch",e,null)}function tw(e,t){jr.C(e,t),Yg("preconnect",e,t)}function aw(e,t,r){jr.L(e,t,r);var i=ei;if(i&&e&&t){var u='link[rel="preload"][as="'+Ra(t)+'"]';t==="image"&&r&&r.imageSrcSet?(u+='[imagesrcset="'+Ra(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(u+='[imagesizes="'+Ra(r.imageSizes)+'"]')):u+='[href="'+Ra(e)+'"]';var d=u;switch(t){case"style":d=ti(e);break;case"script":d=ai(e)}qa.has(d)||(e=b({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),qa.set(d,e),i.querySelector(u)!==null||t==="style"&&i.querySelector(_o(d))||t==="script"&&i.querySelector(To(d))||(t=i.createElement("link"),Et(t,"link",e),bt(t),i.head.appendChild(t)))}}function rw(e,t){jr.m(e,t);var r=ei;if(r&&e){var i=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+Ra(i)+'"][href="'+Ra(e)+'"]',d=u;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=ai(e)}if(!qa.has(d)&&(e=b({rel:"modulepreload",href:e},t),qa.set(d,e),r.querySelector(u)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(To(d)))return}i=r.createElement("link"),Et(i,"link",e),bt(i),r.head.appendChild(i)}}}function lw(e,t,r){jr.S(e,t,r);var i=ei;if(i&&e){var u=_n(i).hoistableStyles,d=ti(e);t=t||"default";var y=u.get(d);if(!y){var _={loading:0,preload:null};if(y=i.querySelector(_o(d)))_.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":t},r),(r=qa.get(d))&&Cd(e,r);var M=y=i.createElement("link");bt(M),Et(M,"link",e),M._p=new Promise(function(Y,G){M.onload=Y,M.onerror=G}),M.addEventListener("load",function(){_.loading|=1}),M.addEventListener("error",function(){_.loading|=2}),_.loading|=4,Oc(y,t,i)}y={type:"stylesheet",instance:y,count:1,state:_},u.set(d,y)}}}function nw(e,t){jr.X(e,t);var r=ei;if(r&&e){var i=_n(r).hoistableScripts,u=ai(e),d=i.get(u);d||(d=r.querySelector(To(u)),d||(e=b({src:e,async:!0},t),(t=qa.get(u))&&Md(e,t),d=r.createElement("script"),bt(d),Et(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},i.set(u,d))}}function iw(e,t){jr.M(e,t);var r=ei;if(r&&e){var i=_n(r).hoistableScripts,u=ai(e),d=i.get(u);d||(d=r.querySelector(To(u)),d||(e=b({src:e,async:!0,type:"module"},t),(t=qa.get(u))&&Md(e,t),d=r.createElement("script"),bt(d),Et(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},i.set(u,d))}}function kg(e,t,r,i){var u=(u=ce.current)?Mc(u):null;if(!u)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(t=ti(r.href),r=_n(u).hoistableStyles,i=r.get(t),i||(i={type:"style",instance:null,count:0,state:null},r.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=ti(r.href);var d=_n(u).hoistableStyles,y=d.get(e);if(y||(u=u.ownerDocument||u,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,y),(d=u.querySelector(_o(e)))&&!d._p&&(y.instance=d,y.state.loading=5),qa.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},qa.set(e,r),d||ow(u,e,r,y.state))),t&&i===null)throw Error(o(528,""));return y}if(t&&i!==null)throw Error(o(529,""));return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ai(r),r=_n(u).hoistableScripts,i=r.get(t),i||(i={type:"script",instance:null,count:0,state:null},r.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function ti(e){return'href="'+Ra(e)+'"'}function _o(e){return'link[rel="stylesheet"]['+e+"]"}function Hg(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function ow(e,t,r,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),Et(t,"link",r),bt(t),e.head.appendChild(t))}function ai(e){return'[src="'+Ra(e)+'"]'}function To(e){return"script[async]"+e}function Lg(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Ra(r.href)+'"]');if(i)return t.instance=i,bt(i),i;var u=b({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),bt(i),Et(i,"style",u),Oc(i,r.precedence,e),t.instance=i;case"stylesheet":u=ti(r.href);var d=e.querySelector(_o(u));if(d)return t.state.loading|=4,t.instance=d,bt(d),d;i=Hg(r),(u=qa.get(u))&&Cd(i,u),d=(e.ownerDocument||e).createElement("link"),bt(d);var y=d;return y._p=new Promise(function(_,M){y.onload=_,y.onerror=M}),Et(d,"link",i),t.state.loading|=4,Oc(d,r.precedence,e),t.instance=d;case"script":return d=ai(r.src),(u=e.querySelector(To(d)))?(t.instance=u,bt(u),u):(i=r,(u=qa.get(d))&&(i=b({},r),Md(i,u)),e=e.ownerDocument||e,u=e.createElement("script"),bt(u),Et(u,"link",i),e.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,Oc(i,r.precedence,e));return t.instance}function Oc(e,t,r){for(var i=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=i.length?i[i.length-1]:null,d=u,y=0;y<i.length;y++){var _=i[y];if(_.dataset.precedence===t)d=_;else if(d!==u)break}d?d.parentNode.insertBefore(e,d.nextSibling):(t=r.nodeType===9?r.head:r,t.insertBefore(e,t.firstChild))}function Cd(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Md(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Ac=null;function qg(e,t,r){if(Ac===null){var i=new Map,u=Ac=new Map;u.set(r,i)}else u=Ac,i=u.get(r),i||(i=new Map,u.set(r,i));if(i.has(e))return i;for(i.set(e,null),r=r.getElementsByTagName(e),u=0;u<r.length;u++){var d=r[u];if(!(d[Li]||d[xt]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var y=d.getAttribute(t)||"";y=e+y;var _=i.get(y);_?_.push(d):i.set(y,[d])}}return i}function Bg(e,t,r){e=e.ownerDocument||e,e.head.insertBefore(r,t==="title"?e.querySelector("head > title"):null)}function sw(e,t,r){if(r===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Zg(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function cw(e,t,r,i){if(r.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var u=ti(i.href),d=t.querySelector(_o(u));if(d){t=d._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Rc.bind(e),t.then(e,e)),r.state.loading|=4,r.instance=d,bt(d);return}d=t.ownerDocument||t,i=Hg(i),(u=qa.get(u))&&Cd(i,u),d=d.createElement("link"),bt(d);var y=d;y._p=new Promise(function(_,M){y.onload=_,y.onerror=M}),Et(d,"link",i),r.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,t),(t=r.state.preload)&&(r.state.loading&3)===0&&(e.count++,r=Rc.bind(e),t.addEventListener("load",r),t.addEventListener("error",r))}}var Od=0;function uw(e,t){return e.stylesheets&&e.count===0&&Nc(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var i=setTimeout(function(){if(e.stylesheets&&Nc(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+t);0<e.imgBytes&&Od===0&&(Od=62500*V2());var u=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Nc(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>Od?50:800)+t);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(u)}}:null}function Rc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Nc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var jc=null;function Nc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,jc=new Map,t.forEach(fw,e),jc=null,Rc.call(e))}function fw(e,t){if(!(t.state.loading&4)){var r=jc.get(e);if(r)var i=r.get(null);else{r=new Map,jc.set(e,r);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<u.length;d++){var y=u[d];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(r.set(y.dataset.precedence,y),i=y)}i&&r.set(null,i)}u=t.instance,y=u.getAttribute("data-precedence"),d=r.get(y)||i,d===i&&r.set(null,u),r.set(y,u),this.count++,i=Rc.bind(this),u.addEventListener("load",i),u.addEventListener("error",i),d?d.parentNode.insertBefore(u,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(u,e.firstChild)),t.state.loading|=4}}var Eo={$$typeof:N,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function dw(e,t,r,i,u,d,y,_,M){this.tag=1,this.containerInfo=e,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=Tu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Tu(0),this.hiddenUpdates=Tu(null),this.identifierPrefix=i,this.onUncaughtError=u,this.onCaughtError=d,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=M,this.incompleteTransitions=new Map}function Gg(e,t,r,i,u,d,y,_,M,Y,G,X){return e=new dw(e,t,r,y,M,Y,G,X,_),t=1,d===!0&&(t|=24),d=pa(3,null,null,t),e.current=d,d.stateNode=e,t=cf(),t.refCount++,e.pooledCache=t,t.refCount++,d.memoizedState={element:i,isDehydrated:r,cache:t},vf(d),e}function Vg(e){return e?(e=jn,e):jn}function Xg(e,t,r,i,u,d){u=Vg(u),i.context===null?i.context=u:i.pendingContext=u,i=nl(t),i.payload={element:r},d=d===void 0?null:d,d!==null&&(i.callback=d),r=il(e,i,t),r!==null&&(sa(r,e,t),ao(r,e,t))}function $g(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function Ad(e,t){$g(e,t),(e=e.alternate)&&$g(e,t)}function Qg(e){if(e.tag===13||e.tag===31){var t=Zl(e,67108864);t!==null&&sa(t,e,67108864),Ad(e,67108864)}}function Wg(e){if(e.tag===13||e.tag===31){var t=Ta();t=Eu(t);var r=Zl(e,t);r!==null&&sa(r,e,t),Ad(e,t)}}var Uc=!0;function vw(e,t,r,i){var u=j.T;j.T=null;var d=$.p;try{$.p=2,Rd(e,t,r,i)}finally{$.p=d,j.T=u}}function hw(e,t,r,i){var u=j.T;j.T=null;var d=$.p;try{$.p=8,Rd(e,t,r,i)}finally{$.p=d,j.T=u}}function Rd(e,t,r,i){if(Uc){var u=jd(i);if(u===null)yd(e,t,i,Yc,r),Fg(e,i);else if(gw(u,e,t,r,i))i.stopPropagation();else if(Fg(e,i),t&4&&-1<mw.indexOf(e)){for(;u!==null;){var d=Sn(u);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var y=kl(d.pendingLanes);if(y!==0){var _=d;for(_.pendingLanes|=2,_.entangledLanes|=2;y;){var M=1<<31-ba(y);_.entanglements[1]|=M,y&=~M}ar(d),(Le&6)===0&&(yc=ma()+500,po(0))}}break;case 31:case 13:_=Zl(d,2),_!==null&&sa(_,d,2),wc(),Ad(d,2)}if(d=jd(i),d===null&&yd(e,t,i,Yc,r),d===u)break;u=d}u!==null&&i.stopPropagation()}else yd(e,t,i,null,r)}}function jd(e){return e=Nu(e),Nd(e)}var Yc=null;function Nd(e){if(Yc=null,e=xn(e),e!==null){var t=c(e);if(t===null)e=null;else{var r=t.tag;if(r===13){if(e=f(t),e!==null)return e;e=null}else if(r===31){if(e=v(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Yc=e,null}function Kg(e){switch(e){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(e1()){case rh:return 2;case lh:return 8;case Es:case t1:return 32;case nh:return 268435456;default:return 32}default:return 32}}var Ud=!1,bl=null,yl=null,pl=null,zo=new Map,Do=new Map,wl=[],mw="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 Fg(e,t){switch(e){case"focusin":case"focusout":bl=null;break;case"dragenter":case"dragleave":yl=null;break;case"mouseover":case"mouseout":pl=null;break;case"pointerover":case"pointerout":zo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Do.delete(t.pointerId)}}function Co(e,t,r,i,u,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:r,eventSystemFlags:i,nativeEvent:d,targetContainers:[u]},t!==null&&(t=Sn(t),t!==null&&Qg(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function gw(e,t,r,i,u){switch(t){case"focusin":return bl=Co(bl,e,t,r,i,u),!0;case"dragenter":return yl=Co(yl,e,t,r,i,u),!0;case"mouseover":return pl=Co(pl,e,t,r,i,u),!0;case"pointerover":var d=u.pointerId;return zo.set(d,Co(zo.get(d)||null,e,t,r,i,u)),!0;case"gotpointercapture":return d=u.pointerId,Do.set(d,Co(Do.get(d)||null,e,t,r,i,u)),!0}return!1}function Ig(e){var t=xn(e.target);if(t!==null){var r=c(t);if(r!==null){if(t=r.tag,t===13){if(t=f(r),t!==null){e.blockedOn=t,fh(e.priority,function(){Wg(r)});return}}else if(t===31){if(t=v(r),t!==null){e.blockedOn=t,fh(e.priority,function(){Wg(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function kc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=jd(e.nativeEvent);if(r===null){r=e.nativeEvent;var i=new r.constructor(r.type,r);ju=i,r.target.dispatchEvent(i),ju=null}else return t=Sn(r),t!==null&&Qg(t),e.blockedOn=r,!1;t.shift()}return!0}function Pg(e,t,r){kc(e)&&r.delete(t)}function bw(){Ud=!1,bl!==null&&kc(bl)&&(bl=null),yl!==null&&kc(yl)&&(yl=null),pl!==null&&kc(pl)&&(pl=null),zo.forEach(Pg),Do.forEach(Pg)}function Hc(e,t){e.blockedOn===t&&(e.blockedOn=null,Ud||(Ud=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,bw)))}var Lc=null;function Jg(e){Lc!==e&&(Lc=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Lc===e&&(Lc=null);for(var t=0;t<e.length;t+=3){var r=e[t],i=e[t+1],u=e[t+2];if(typeof i!="function"){if(Nd(i||r)===null)continue;break}var d=Sn(r);d!==null&&(e.splice(t,3),t-=3,jf(d,{pending:!0,data:u,method:r.method,action:i},i,u))}}))}function ri(e){function t(M){return Hc(M,e)}bl!==null&&Hc(bl,e),yl!==null&&Hc(yl,e),pl!==null&&Hc(pl,e),zo.forEach(t),Do.forEach(t);for(var r=0;r<wl.length;r++){var i=wl[r];i.blockedOn===e&&(i.blockedOn=null)}for(;0<wl.length&&(r=wl[0],r.blockedOn===null);)Ig(r),r.blockedOn===null&&wl.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(i=0;i<r.length;i+=3){var u=r[i],d=r[i+1],y=u[aa]||null;if(typeof d=="function")y||Jg(r);else if(y){var _=null;if(d&&d.hasAttribute("formAction")){if(u=d,y=d[aa]||null)_=y.formAction;else if(Nd(u)!==null)continue}else _=y.action;typeof _=="function"?r[i+1]=_:(r.splice(i,3),i-=3),Jg(r)}}}function eb(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(y){return u=y})},focusReset:"manual",scroll:"manual"})}function t(){u!==null&&(u(),u=null),i||setTimeout(r,20)}function r(){if(!i&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,u=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(r,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),u!==null&&(u(),u=null)}}}function Yd(e){this._internalRoot=e}qc.prototype.render=Yd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var r=t.current,i=Ta();Xg(r,i,e,t,null,null)},qc.prototype.unmount=Yd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Xg(e.current,2,null,e,null,null),wc(),t[wn]=null}};function qc(e){this._internalRoot=e}qc.prototype.unstable_scheduleHydration=function(e){if(e){var t=uh();e={blockedOn:null,target:e,priority:t};for(var r=0;r<wl.length&&t!==0&&t<wl[r].priority;r++);wl.splice(r,0,e),r===0&&Ig(e)}};var tb=a.version;if(tb!=="19.2.7")throw Error(o(527,tb,"19.2.7"));$.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=h(t),e=e!==null?g(e):null,e=e===null?null:e.stateNode,e};var yw={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Bc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bc.isDisabled&&Bc.supportsFiber)try{Yi=Bc.inject(yw),ga=Bc}catch{}}return Oo.createRoot=function(e,t){if(!s(e))throw Error(o(299));var r=!1,i="",u=s0,d=c0,y=u0;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(d=t.onCaughtError),t.onRecoverableError!==void 0&&(y=t.onRecoverableError)),t=Gg(e,1,!1,null,null,r,i,null,u,d,y,eb),e[wn]=t.current,bd(e),new Yd(t)},Oo.hydrateRoot=function(e,t,r){if(!s(e))throw Error(o(299));var i=!1,u="",d=s0,y=c0,_=u0,M=null;return r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onUncaughtError!==void 0&&(d=r.onUncaughtError),r.onCaughtError!==void 0&&(y=r.onCaughtError),r.onRecoverableError!==void 0&&(_=r.onRecoverableError),r.formState!==void 0&&(M=r.formState)),t=Gg(e,1,!0,t,r??null,i,u,M,d,y,_,eb),t.context=Vg(null),r=t.current,i=Ta(),i=Eu(i),u=nl(i),u.callback=null,il(r,u,i),r=i,t.current.lanes=r,Hi(t,r),ar(t),e[wn]=t.current,bd(e),new qc(t)},Oo.version="19.2.7",Oo}var fb;function Cw(){if(fb)return Ld.exports;fb=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),Ld.exports=Dw(),Ld.exports}var Mw=Cw(),iy=B.createContext(null);iy.displayName="LinkContext";function Ow(n){const a=B.use(iy);return n??(a==null?void 0:a.component)??"a"}function Fo({as:n,children:a,isDisabled:l,form:o,href:s,name:c,onClick:f,onKeyDown:v,ref:m,rel:h,isLink:g=s!=null,role:b,style:p,tabIndex:S,target:T,type:E="button",value:z,...A}){const q=Ow(n),N=b??(g&&s==null?"link":void 0);return g?D.jsx(q,{...A,href:s,onClick:f,onKeyDown:v,ref:m,rel:h,role:N,style:p,tabIndex:S,target:T,to:s==null||q==="a"?void 0:s,children:a}):D.jsx("button",{...A,disabled:l,form:o,name:c,onClick:f,onKeyDown:v,ref:m,role:N,style:p,tabIndex:S,type:E,value:z,children:a})}Fo.displayName="ActionElement";function ct(n){return n!=null&&typeof n!="boolean"}function Jd(n){return typeof n=="object"&&n!=null&&!Array.isArray(n)}var Aw=n=>typeof n=="object"&&n!==null;function Ev(n){return Object.fromEntries(Object.entries(n??{}).filter(([a,l])=>l!==void 0))}var Rw=n=>n==="base";function jw(n){return n.slice().filter(a=>!Rw(a))}function db(n){return String.fromCharCode(n+(n>25?39:97))}function Nw(n){let a="",l;for(l=Math.abs(n);l>52;l=l/52|0)a=db(l%52)+a;return db(l%52)+a}function Uw(n,a){let l=a.length;for(;l;)n=n*33^a.charCodeAt(--l);return n}function Yw(n){return Nw(Uw(5381,n)>>>0)}var oy=/\s*!(important)?/i;function kw(n){return typeof n=="string"?oy.test(n):!1}function Hw(n){return typeof n=="string"?n.replace(oy,"").trim():n}function sy(n){return typeof n=="string"?n.replaceAll(" ","_"):n}var os=n=>{const a=new Map;return(...o)=>{const s=JSON.stringify(o);if(a.has(s))return a.get(s);const c=n(...o);return a.set(s,c),c}},Lw=new Set(["__proto__","constructor","prototype"]);function zv(...n){return n.reduce((a,l)=>(l&&Object.keys(l).forEach(o=>{if(Lw.has(o))return;const s=a[o],c=l[o];Jd(s)&&Jd(c)?a[o]=zv(s,c):a[o]=c}),a),{})}var qw=n=>n!=null;function cy(n,a,l={}){const{stop:o,getKey:s}=l;function c(f,v=[]){if(Aw(f)){const m={};for(const[h,g]of Object.entries(f)){const b=(s==null?void 0:s(h,g))??h,p=[...v,b];if(o!=null&&o(f,p))return a(f,v);const S=c(g,p);qw(S)&&(m[b]=S)}return m}return a(f,v)}return c(n)}function Bw(n,a){return n.reduce((l,o,s)=>{const c=a[s];return o!=null&&(l[c]=o),l},{})}function uy(n,a,l=!0){const{utility:o,conditions:s}=a,{hasShorthand:c,resolveShorthand:f}=o;return cy(n,v=>Array.isArray(v)?Bw(v,s.breakpoints.keys):v,{stop:v=>Array.isArray(v),getKey:l?v=>c?f(v):v:void 0})}var Zw={shift:n=>n,finalize:n=>n,breakpoints:{keys:[]}},Gw=n=>typeof n=="string"?n.replaceAll(/[\n\s]+/g," "):n;function Vw(n){const{utility:a,hash:l,conditions:o=Zw}=n,s=f=>[a.prefix,f].filter(Boolean).join("-"),c=(f,v)=>{let m;if(l){const h=[...o.finalize(f),v];m=s(a.toHash(h,Yw))}else m=[...o.finalize(f),s(v)].join(":");return m};return os(({base:f,...v}={})=>{const m=Object.assign(v,f),h=uy(m,n),g=new Set;return cy(h,(b,p)=>{if(b==null)return;const S=kw(b),[T,...E]=o.shift(p),z=jw(E),A=a.transform(T,Hw(Gw(b)));let q=c(z,A.className);S&&(q=`${q}!`),g.add(q)}),Array.from(g).join(" ")})}function Xw(...n){return n.flat().filter(a=>Jd(a)&&Object.keys(Ev(a)).length>0)}function $w(n){function a(s){const c=Xw(...s);return c.length===1?c:c.map(f=>uy(f,n))}function l(...s){return zv(...a(s))}function o(...s){return Object.assign({},...a(s))}return{mergeCss:os(l),assignCss:o}}var Qw=/([A-Z])/g,Ww=/^ms-/,Kw=os(n=>n.startsWith("--")?n:n.replace(Qw,"-$1").replace(Ww,"-ms-").toLowerCase()),Fw="cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%";`${Fw.split(",").join("|")}`;var Iw=(n={})=>{const a=s=>{var c;return{className:[n.className,s].filter(Boolean).join("__"),base:((c=n.base)==null?void 0:c[s])??{},variants:{},defaultVariants:n.defaultVariants??{},compoundVariants:n.compoundVariants?Pw(n.compoundVariants,s):[]}},o=(n.slots??[]).map(s=>[s,a(s)]);for(const[s,c]of Object.entries(n.variants??{}))for(const[f,v]of Object.entries(c))o.forEach(([m,h])=>{var g;(g=h.variants)[s]??(g[s]={}),h.variants[s][f]=v[m]??{}});return Object.fromEntries(o)},Pw=(n,a)=>n.filter(l=>l.css[a]).map(l=>({...l,css:l.css[a]}));function fy(n,...a){const l=Object.getOwnPropertyDescriptors(n),o=Object.keys(l),s=f=>{const v={};for(let m=0;m<f.length;m++){const h=f[m];l[h]&&(Object.defineProperty(v,h,l[h]),delete l[h])}return v},c=f=>s(Array.isArray(f)?f:o.filter(f));return a.map(c).concat(s(o))}var Jw=(...n)=>{const a=n.reduce((l,o)=>(o&&o.forEach(s=>l.add(s)),l),new Set([]));return Array.from(a)},e3="_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,_noscript,_invertedColors,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,base",dy=new Set(e3.split(",")),t3=/^@|&|&$/;function vb(n){return dy.has(n)||t3.test(n)}var a3=/^_/,r3=/&|@/;function l3(n){return n.map(a=>dy.has(a)?a.replace(a3,""):r3.test(a)?`[${sy(a.trim())}]`:a)}function n3(n){return n.sort((a,l)=>{const o=vb(a),s=vb(l);return o&&!s?1:!o&&s?-1:0})}var i3="aspectRatio:asp,boxDecorationBreak:bx-db,zIndex:z,boxSizing:bx-s,objectPosition:obj-p,objectFit:obj-f,overscrollBehavior:ovs-b,overscrollBehaviorX:ovs-bx,overscrollBehaviorY:ovs-by,position:pos/1,top:top,left:left,inset:inset,insetInline:inset-x/insetX,insetBlock:inset-y/insetY,insetBlockEnd:inset-be,insetBlockStart:inset-bs,insetInlineEnd:inset-e/insetEnd/end,insetInlineStart:inset-s/insetStart/start,right:right,bottom:bottom,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:flex-b,flex:flex,flexDirection:flex-d/flexDir,flexGrow:flex-g,flexShrink:flex-sh,gridTemplateColumns:grid-tc,gridTemplateRows:grid-tr,gridColumn:grid-c,gridRow:grid-r,gridColumnStart:grid-cs,gridColumnEnd:grid-ce,gridAutoFlow:grid-af,gridAutoColumns:grid-ac,gridAutoRows:grid-ar,gap:gap,gridGap:grid-g,gridRowGap:grid-rg,gridColumnGap:grid-cg,rowGap:rg,columnGap:cg,justifyContent:jc,alignContent:ac,alignItems:ai,alignSelf:as,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pbe,paddingBlockStart:pbs,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mbe,marginBlockStart:mbs,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,spaceX:sx,spaceY:sy,outlineWidth:ring-w/ringWidth,outlineColor:ring-c/ringColor,outline:ring/1,outlineOffset:ring-o/ringOffset,focusRing:focus-ring,focusVisibleRing:focus-v-ring,focusRingColor:focus-ring-c,focusRingOffset:focus-ring-o,focusRingWidth:focus-ring-w,focusRingStyle:focus-ring-s,divideX:dvd-x,divideY:dvd-y,divideColor:dvd-c,divideStyle:dvd-s,width:w/1,inlineSize:w-is,minWidth:min-w/minW,minInlineSize:min-w-is,maxWidth:max-w/maxW,maxInlineSize:max-w-is,height:h/1,blockSize:h-bs,minHeight:min-h/minH,minBlockSize:min-h-bs,maxHeight:max-h/maxH,maxBlockSize:max-b,boxSize:size,color:c,fontFamily:ff,fontSize:fs,fontSizeAdjust:fs-a,fontPalette:fp,fontKerning:fk,fontFeatureSettings:ff-s,fontWeight:fw,fontSmoothing:fsmt,fontVariant:fv,fontVariantAlternates:fv-alt,fontVariantCaps:fv-caps,fontVariationSettings:fv-s,fontVariantNumeric:fv-num,letterSpacing:ls,lineHeight:lh,textAlign:ta,textDecoration:td,textDecorationColor:td-c,textEmphasisColor:te-c,textDecorationStyle:td-s,textDecorationThickness:td-t,textUnderlineOffset:tu-o,textTransform:tt,textIndent:ti,textShadow:tsh,textShadowColor:tsh-c/textShadowColor,WebkitTextFillColor:wktf-c,textOverflow:tov,verticalAlign:va,wordBreak:wb,textWrap:tw,truncate:trunc,lineClamp:lc,listStyleType:li-t,listStylePosition:li-pos,listStyleImage:li-img,listStyle:li-s,backgroundPosition:bg-p/bgPosition,backgroundPositionX:bg-p-x/bgPositionX,backgroundPositionY:bg-p-y/bgPositionY,backgroundAttachment:bg-a/bgAttachment,backgroundClip:bg-cp/bgClip,background:bg/1,backgroundColor:bg-c/bgColor,backgroundOrigin:bg-o/bgOrigin,backgroundImage:bg-i/bgImage,backgroundRepeat:bg-r/bgRepeat,backgroundBlendMode:bg-bm/bgBlendMode,backgroundSize:bg-s/bgSize,backgroundGradient:bg-grad/bgGradient,backgroundLinear:bg-linear/bgLinear,backgroundRadial:bg-radial/bgRadial,backgroundConic:bg-conic/bgConic,textGradient:txt-grad,gradientFromPosition:grad-from-pos,gradientToPosition:grad-to-pos,gradientFrom:grad-from,gradientTo:grad-to,gradientVia:grad-via,gradientViaPosition:grad-via-pos,borderRadius:bdr/rounded,borderTopLeftRadius:bdr-tl/roundedTopLeft,borderTopRightRadius:bdr-tr/roundedTopRight,borderBottomRightRadius:bdr-br/roundedBottomRight,borderBottomLeftRadius:bdr-bl/roundedBottomLeft,borderTopRadius:bdr-t/roundedTop,borderRightRadius:bdr-r/roundedRight,borderBottomRadius:bdr-b/roundedBottom,borderLeftRadius:bdr-l/roundedLeft,borderStartStartRadius:bdr-ss/roundedStartStart,borderStartEndRadius:bdr-se/roundedStartEnd,borderStartRadius:bdr-s/roundedStart,borderEndStartRadius:bdr-es/roundedEndStart,borderEndEndRadius:bdr-ee/roundedEndEnd,borderEndRadius:bdr-e/roundedEnd,border:bd,borderWidth:bd-w,borderTopWidth:bd-t-w,borderLeftWidth:bd-l-w,borderRightWidth:bd-r-w,borderBottomWidth:bd-b-w,borderBlockStartWidth:bd-bs-w,borderBlockEndWidth:bd-be-w,borderColor:bd-c,borderInline:bd-x/borderX,borderInlineWidth:bd-x-w/borderXWidth,borderInlineColor:bd-x-c/borderXColor,borderBlock:bd-y/borderY,borderBlockWidth:bd-y-w/borderYWidth,borderBlockColor:bd-y-c/borderYColor,borderLeft:bd-l,borderLeftColor:bd-l-c,borderInlineStart:bd-s/borderStart,borderInlineStartWidth:bd-s-w/borderStartWidth,borderInlineStartColor:bd-s-c/borderStartColor,borderRight:bd-r,borderRightColor:bd-r-c,borderInlineEnd:bd-e/borderEnd,borderInlineEndWidth:bd-e-w/borderEndWidth,borderInlineEndColor:bd-e-c/borderEndColor,borderTop:bd-t,borderTopColor:bd-t-c,borderBottom:bd-b,borderBottomColor:bd-b-c,borderBlockEnd:bd-be,borderBlockEndColor:bd-be-c,borderBlockStart:bd-bs,borderBlockStartColor:bd-bs-c,opacity:op,boxShadow:bx-sh/shadow,boxShadowColor:bx-sh-c/shadowColor,mixBlendMode:mix-bm,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:bkdp,backdropBlur:bkdp-blur,backdropBrightness:bkdp-brightness,backdropContrast:bkdp-contrast,backdropGrayscale:bkdp-grayscale,backdropHueRotate:bkdp-hue-rotate,backdropInvert:bkdp-invert,backdropOpacity:bkdp-opacity,backdropSaturate:bkdp-saturate,backdropSepia:bkdp-sepia,borderCollapse:bd-cl,borderSpacing:bd-sp,borderSpacingX:bd-sx,borderSpacingY:bd-sy,tableLayout:tbl,transitionTimingFunction:trs-tmf,transitionDelay:trs-dly,transitionDuration:trs-dur,transitionProperty:trs-prop,transition:trs,animation:anim,animationName:anim-n,animationTimingFunction:anim-tmf,animationDuration:anim-dur,animationDelay:anim-dly,animationPlayState:anim-ps,animationComposition:anim-comp,animationFillMode:anim-fm,animationDirection:anim-dir,animationIterationCount:anim-ic,animationRange:anim-r,animationState:anim-s,animationRangeStart:anim-rs,animationRangeEnd:anim-re,animationTimeline:anim-tl,transformOrigin:trf-o,transformBox:trf-b,transformStyle:trf-s,transform:trf,rotate:rotate,rotateX:rotate-x,rotateY:rotate-y,rotateZ:rotate-z,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,translateZ:translate-z/z,accentColor:ac-c,caretColor:ca-c,scrollBehavior:scr-bhv,scrollbar:scr-bar,scrollbarColor:scr-bar-c,scrollbarGutter:scr-bar-g,scrollbarWidth:scr-bar-w,scrollMargin:scr-m,scrollMarginLeft:scr-ml,scrollMarginRight:scr-mr,scrollMarginTop:scr-mt,scrollMarginBottom:scr-mb,scrollMarginBlock:scr-my/scrollMarginY,scrollMarginBlockEnd:scr-mbe,scrollMarginBlockStart:scr-mbt,scrollMarginInline:scr-mx/scrollMarginX,scrollMarginInlineEnd:scr-me,scrollMarginInlineStart:scr-ms,scrollPadding:scr-p,scrollPaddingBlock:scr-py/scrollPaddingY,scrollPaddingBlockStart:scr-pbs,scrollPaddingBlockEnd:scr-pbe,scrollPaddingInline:scr-px/scrollPaddingX,scrollPaddingInlineEnd:scr-pe,scrollPaddingInlineStart:scr-ps,scrollPaddingLeft:scr-pl,scrollPaddingRight:scr-pr,scrollPaddingTop:scr-pt,scrollPaddingBottom:scr-pb,scrollSnapAlign:scr-sa,scrollSnapStop:scrs-s,scrollSnapType:scrs-t,scrollSnapStrictness:scrs-strt,scrollSnapMargin:scrs-m,scrollSnapMarginTop:scrs-mt,scrollSnapMarginBottom:scrs-mb,scrollSnapMarginLeft:scrs-ml,scrollSnapMarginRight:scrs-mr,scrollSnapCoordinate:scrs-c,scrollSnapDestination:scrs-d,scrollSnapPointsX:scrs-px,scrollSnapPointsY:scrs-py,scrollSnapTypeX:scrs-tx,scrollSnapTypeY:scrs-ty,scrollTimeline:scrtl,scrollTimelineAxis:scrtl-a,scrollTimelineName:scrtl-n,touchAction:tch-a,userSelect:us,overflow:ov,overflowWrap:ov-wrap,overflowX:ov-x,overflowY:ov-y,overflowAnchor:ov-a,overflowBlock:ov-b,overflowInline:ov-i,overflowClipBox:ovcp-bx,overflowClipMargin:ovcp-m,overscrollBehaviorBlock:ovs-bb,overscrollBehaviorInline:ovs-bi,fill:fill,stroke:stk,strokeWidth:stk-w,strokeDasharray:stk-dsh,strokeDashoffset:stk-do,strokeLinecap:stk-lc,strokeLinejoin:stk-lj,strokeMiterlimit:stk-ml,strokeOpacity:stk-op,srOnly:sr,debug:debug,appearance:ap,backfaceVisibility:bfv,clipPath:cp-path,hyphens:hy,mask:msk,maskImage:msk-i,maskSize:msk-s,textSizeAdjust:txt-adj,container:cq,containerName:cq-n,containerType:cq-t,cursor:cursor,textStyle:textStyle",vy=new Map,hy=new Map;i3.split(",").forEach(n=>{const[a,l]=n.split(":"),[o,...s]=l.split("/");vy.set(a,o),s.length&&s.forEach(c=>{hy.set(c==="1"?o:c,a)})});var hb=n=>hy.get(n)||n,my={conditions:{shift:n3,finalize:l3,breakpoints:{keys:["base","sm","md","lg","xl","2xl"]}},utility:{prefix:"silver",transform:(n,a)=>{const l=hb(n);return{className:`${vy.get(l)||Kw(l)}_${sy(a)}`}},hasShorthand:!0,toHash:(n,a)=>a(n.join(":")),resolveShorthand:hb}},o3=Vw(my),be=(...n)=>o3(nn(...n));be.raw=(...n)=>nn(...n);var{mergeCss:nn}=$w(my),mb=n=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...n});function Wr(n){const{base:a,variants:l,defaultVariants:o,compoundVariants:s}=mb(n),c=p=>({...o,...Ev(p)});function f(p={}){var z;const S=c(p);let T={...a};for(const[A,q]of Object.entries(S))(z=l[A])!=null&&z[q]&&(T=nn(T,l[A][q]));const E=s3(s,S);return nn(T,E)}function v(p){const S=mb(p.config),T=Jw(p.variantKeys,Object.keys(l));return Wr({base:nn(a,S.base),variants:Object.fromEntries(T.map(E=>[E,nn(l[E],S.variants[E])])),defaultVariants:zv(o,S.defaultVariants),compoundVariants:[...s,...S.compoundVariants]})}function m(p){return be(f(p))}const h=Object.keys(l);function g(p){return fy(p,h)}const b=Object.fromEntries(Object.entries(l).map(([p,S])=>[p,Object.keys(S)]));return Object.assign(os(m),{__cva__:!0,variantMap:b,variantKeys:h,raw:f,config:n,merge:v,splitVariantProps:g,getVariantProps:c})}function s3(n,a){let l={};return n.forEach(o=>{Object.entries(o).every(([c,f])=>c==="css"?!0:(Array.isArray(f)?f:[f]).some(m=>a[c]===m))&&(l=nn(l,o.css))}),l}function He(...n){return n.filter(Boolean).join(" ")}var c3=Wr({base:{display:"inline-block",flexShrink:0},variants:{size:{sm:{w:"icon.sm",h:"icon.sm"},md:{w:"icon.md",h:"icon.md"},lg:{w:"icon.lg",h:"icon.lg"}},color:{primary:{color:"icon.primary"},secondary:{color:"icon.secondary"},tertiary:{color:"icon.tertiary"},disabled:{color:"icon.disabled"},accent:{color:"icon.accent"},success:{color:"icon.success"},error:{color:"icon.error"},warning:{color:"icon.warning"},info:{color:"icon.info"},inherit:{color:"currentColor"},blue:{color:"icon.blue"},red:{color:"icon.red"},green:{color:"icon.green"},gray:{color:"icon.gray"},cyan:{color:"icon.cyan"},teal:{color:"icon.teal"},yellow:{color:"icon.yellow"},orange:{color:"icon.orange"},pink:{color:"icon.pink"},purple:{color:"icon.purple"}}},defaultVariants:{size:"md",color:"inherit"}});function Pt({className:n,color:a="inherit","data-testid":l,icon:o,ref:s,size:c="md",strokeWidth:f=2,style:v,...m}){return D.jsx(o,{...m,"aria-hidden":m["aria-label"]==null?!0:void 0,className:He(c3({size:c,color:a}),n),"data-testid":l,focusable:"false",height:void 0,ref:s,role:m["aria-label"]==null?void 0:"img",strokeWidth:f,style:v,width:void 0})}Pt.displayName="Icon";function u3(){let n="",a=0,l;for(;a<arguments.length;)(l=arguments[a++])&&typeof l=="string"&&(n&&(n+=" "),n+=l);return n}function Rl(n){const a=Object.entries(Iw(n)).map(([b,p])=>[b,Wr(p)]),l=n.defaultVariants??{},o=a.reduce((b,[p,S])=>(n.className&&(b[p]=S.config.className),b),{});function s(b){const p=a.map(([S,T])=>[S,u3(T(b),o[S])]);return Object.fromEntries(p)}function c(b){const p=a.map(([S,T])=>[S,T.raw(b)]);return Object.fromEntries(p)}const f=n.variants??{},v=Object.keys(f);function m(b){return fy(b,v)}const h=b=>({...l,...Ev(b)}),g=Object.fromEntries(Object.entries(f).map(([b,p])=>[b,Object.keys(p)]));return Object.assign(os(s),{__cva__:!1,raw:c,config:n,variantMap:g,variantKeys:v,classNameMap:o,splitVariantProps:m,getVariantProps:h})}/**
|
|
50
|
+
* @license lucide-react v1.18.0 - ISC
|
|
51
|
+
*
|
|
52
|
+
* This source code is licensed under the ISC license.
|
|
53
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
54
|
+
*/const gy=(...n)=>n.filter((a,l,o)=>!!a&&a.trim()!==""&&o.indexOf(a)===l).join(" ").trim();/**
|
|
55
|
+
* @license lucide-react v1.18.0 - ISC
|
|
56
|
+
*
|
|
57
|
+
* This source code is licensed under the ISC license.
|
|
58
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
59
|
+
*/const f3=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
60
|
+
* @license lucide-react v1.18.0 - ISC
|
|
61
|
+
*
|
|
62
|
+
* This source code is licensed under the ISC license.
|
|
63
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
64
|
+
*/const d3=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,l,o)=>o?o.toUpperCase():l.toLowerCase());/**
|
|
65
|
+
* @license lucide-react v1.18.0 - ISC
|
|
66
|
+
*
|
|
67
|
+
* This source code is licensed under the ISC license.
|
|
68
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
69
|
+
*/const gb=n=>{const a=d3(n);return a.charAt(0).toUpperCase()+a.slice(1)};/**
|
|
70
|
+
* @license lucide-react v1.18.0 - ISC
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the ISC license.
|
|
73
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
74
|
+
*/var Gd={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
75
|
+
* @license lucide-react v1.18.0 - ISC
|
|
76
|
+
*
|
|
77
|
+
* This source code is licensed under the ISC license.
|
|
78
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
79
|
+
*/const v3=n=>{for(const a in n)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1},h3=B.createContext({}),m3=()=>B.useContext(h3),g3=B.forwardRef(({color:n,size:a,strokeWidth:l,absoluteStrokeWidth:o,className:s="",children:c,iconNode:f,...v},m)=>{const{size:h=24,strokeWidth:g=2,absoluteStrokeWidth:b=!1,color:p="currentColor",className:S=""}=m3()??{},T=o??b?Number(l??g)*24/Number(a??h):l??g;return B.createElement("svg",{ref:m,...Gd,width:a??h??Gd.width,height:a??h??Gd.height,stroke:n??p,strokeWidth:T,className:gy("lucide",S,s),...!c&&!v3(v)&&{"aria-hidden":"true"},...v},[...f.map(([E,z])=>B.createElement(E,z)),...Array.isArray(c)?c:[c]])});/**
|
|
80
|
+
* @license lucide-react v1.18.0 - ISC
|
|
81
|
+
*
|
|
82
|
+
* This source code is licensed under the ISC license.
|
|
83
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
84
|
+
*/const jl=(n,a)=>{const l=B.forwardRef(({className:o,...s},c)=>B.createElement(g3,{ref:c,iconNode:a,className:gy(`lucide-${f3(gb(n))}`,`lucide-${n}`,o),...s}));return l.displayName=gb(n),l};/**
|
|
85
|
+
* @license lucide-react v1.18.0 - ISC
|
|
86
|
+
*
|
|
87
|
+
* This source code is licensed under the ISC license.
|
|
88
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
89
|
+
*/const b3=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],y3=jl("circle-alert",b3);/**
|
|
90
|
+
* @license lucide-react v1.18.0 - ISC
|
|
91
|
+
*
|
|
92
|
+
* This source code is licensed under the ISC license.
|
|
93
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
94
|
+
*/const p3=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],w3=jl("circle-check",p3);/**
|
|
95
|
+
* @license lucide-react v1.18.0 - ISC
|
|
96
|
+
*
|
|
97
|
+
* This source code is licensed under the ISC license.
|
|
98
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
99
|
+
*/const x3=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],S3=jl("circle-x",x3);/**
|
|
100
|
+
* @license lucide-react v1.18.0 - ISC
|
|
101
|
+
*
|
|
102
|
+
* This source code is licensed under the ISC license.
|
|
103
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
104
|
+
*/const _3=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],T3=jl("external-link",_3);/**
|
|
105
|
+
* @license lucide-react v1.18.0 - ISC
|
|
106
|
+
*
|
|
107
|
+
* This source code is licensed under the ISC license.
|
|
108
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
109
|
+
*/const E3=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],z3=jl("eye-off",E3);/**
|
|
110
|
+
* @license lucide-react v1.18.0 - ISC
|
|
111
|
+
*
|
|
112
|
+
* This source code is licensed under the ISC license.
|
|
113
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
114
|
+
*/const D3=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],C3=jl("eye",D3);/**
|
|
115
|
+
* @license lucide-react v1.18.0 - ISC
|
|
116
|
+
*
|
|
117
|
+
* This source code is licensed under the ISC license.
|
|
118
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
119
|
+
*/const M3=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],by=jl("info",M3);/**
|
|
120
|
+
* @license lucide-react v1.18.0 - ISC
|
|
121
|
+
*
|
|
122
|
+
* This source code is licensed under the ISC license.
|
|
123
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
124
|
+
*/const O3=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],lu=jl("x",O3);var yy=Wr({base:{position:"relative",zIndex:1,display:"flex",alignItems:"center",gap:"2",px:"3",borderWidth:"default",borderStyle:"solid",borderColor:"border.emphasized",borderRadius:"md",bg:"bg",transitionProperty:"border-color, box-shadow, opacity",transitionDuration:"fast",transitionTimingFunction:"default",_hover:{borderColor:"fg.muted"},_focusWithin:{borderColor:"primary",boxShadow:"focus"}},variants:{size:{sm:{minH:"component.sm"},md:{minH:"component.md"},lg:{minH:"component.lg"}},status:{warning:{borderColor:"status.warning.border",_hover:{borderColor:"status.warning.borderHover"},_focusWithin:{borderColor:"status.warning.border",boxShadow:"focus.warning"}},error:{borderColor:"status.error.border",_hover:{borderColor:"status.error.borderHover"},_focusWithin:{borderColor:"status.error.border",boxShadow:"focus.error"}},success:{borderColor:"status.success.border",_hover:{borderColor:"status.success.borderHover"},_focusWithin:{borderColor:"status.success.border",boxShadow:"focus.success"}}},isDisabled:{true:{cursor:"not-allowed",opacity:.55},false:{}}},defaultVariants:{size:"md",isDisabled:!1}}),hi={control:be({display:"block",flex:1,minW:0,borderWidth:0,borderStyle:"none",p:0,fontFamily:"body",fontSize:"md",lineHeight:"normal",color:"fg",bg:"transparent",outline:"none",_placeholder:{color:"fg.muted"},_disabled:{cursor:"not-allowed"}}),iconSlot:be({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,color:"fg.muted"})},A3=Rl({slots:["root","label","indicator","tooltipIcon","inputWrapper","status"],base:{root:{display:"flex",flexDirection:"column",gap:"1"},label:{display:"inline-flex",alignItems:"center",gap:"1",w:"fit-content",color:"fg",cursor:"pointer"},indicator:{fontWeight:"normal",color:"fg.muted"},tooltipIcon:{display:"inline-flex",color:"fg.muted"},inputWrapper:{display:"flex",flexDirection:"column",isolation:"isolate"},status:{fontFamily:"body",fontSize:"sm",lineHeight:"normal",px:"2",py:"1.5"}},variants:{isDisabled:{true:{label:{cursor:"not-allowed",color:"fg.disabled"}},false:{}},statusType:{warning:{status:{bg:"surface.yellow",color:"surface.yellow.fg"}},error:{status:{bg:"surface.red",color:"surface.red.fg"}},success:{status:{bg:"surface.green",color:"surface.green.fg"}}},statusVariant:{attached:{status:{mt:"-1",pt:"2.5",borderBottomRadius:"md"}},detached:{status:{mt:"1",borderRadius:"md"}}}},defaultVariants:{isDisabled:!1,statusVariant:"attached"}}),R3={root:be({position:"absolute",w:"1px",h:"1px",p:0,m:"-1px",overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",borderWidth:0})};function Dl({children:n,className:a,ref:l,...o}){return D.jsx("span",{className:He(R3.root,a),ref:l,...o,children:n})}Dl.displayName="VisuallyHidden";function yi(...n){return a=>{const l=[];for(const o of n)if(typeof o=="function"){const s=o(a);typeof s=="function"&&l.push(s)}else o!=null&&(o.current=a);if(l.length>0)return()=>{for(const o of l)o()}}}var nu=typeof document<"u"?B.useLayoutEffect:B.useEffect,j3=n=>{const a=B.useRef(n);return a.current=n,a},py=j3,N3={layer:be({m:0,p:0,borderWidth:0,borderStyle:"none",borderColor:"transparent",overflow:"visible",bg:"transparent"})};function U3(n="above",a="center"){const o={above:"top",below:"bottom",start:"left",end:"right"}[n];return n==="above"||n==="below"?a==="start"?`${o} span-right`:a==="end"?`${o} span-left`:o:a==="start"?`${o} span-bottom`:a==="end"?`${o} span-top`:`${o} center`}function Y3(n,a,l){const o={};return l!=null&&(n==="above"?o.marginBlockEnd=`${l}px`:o.marginBlockStart=`${l}px`),a!=null&&(n==="start"?o.marginInlineEnd=`${a}px`:o.marginInlineStart=`${a}px`),o}function k3({onShow:n,onHide:a,isDismissable:l=!1,id:o}={}){const s=B.useId(),c=o??s,f=`--silver-layer-${c.replace(/:/g,"")}`,[v,m]=B.useState(!1),h=B.useRef(null),g=B.useRef(null),b=B.useRef(!1),p=B.useCallback(()=>{h.current==null||b.current||(h.current.showPopover(),b.current=!0,m(!0),n==null||n())},[n]),S=B.useCallback(()=>{var q;b.current&&((q=h.current)==null||q.hidePopover(),b.current=!1,m(!1),a==null||a())},[a]),T=B.useCallback(q=>{g.current!=null&&(g.current.style.anchorName=""),q!=null&&(q.style.anchorName=f),g.current=q},[f]),E=B.useCallback(q=>{q.newState==="closed"&&b.current&&(b.current=!1,m(!1),a==null||a())},[a]),z=B.useCallback(q=>{h.current!=null&&h.current.removeEventListener("toggle",E),h.current=q,q!=null&&q.addEventListener("toggle",E)},[E]),A=B.useCallback((q,N)=>{const W=(N==null?void 0:N.placement)??"above",Q=(N==null?void 0:N.alignment)??"center",{offsetX:P,offsetY:K}=N??{},ae={border:"none",positionAnchor:f,positionArea:U3(W,Q),positionTryFallbacks:"flip-block, flip-inline, flip-block flip-inline"},I=Y3(W,P,K),le={ref:z,id:c,role:N==null?void 0:N.role,popover:l?"auto":"manual",className:He(N3.layer,N==null?void 0:N.className),style:{...ae,...I,...N==null?void 0:N.style}};return B.createElement("div",le,q)},[f,l,c,z]);return B.useMemo(()=>({ref:T,anchorId:f,show:p,hide:S,isOpen:v,id:c,render:A}),[T,f,p,S,v,c,A])}function H3(n){return n.hasAttribute("tabindex")?n.tabIndex>=0:["A","BUTTON","INPUT","SELECT","TEXTAREA"].includes(n.tagName)?!n.disabled:n.isContentEditable}function L3(){return typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(hover: none)").matches}function q3({delay:n=200,focusTrigger:a="auto",hideDelay:l=0,isEnabled:o=!0,onFocusIn:s,onFocusOut:c,onHide:f,onShow:v,onTriggerEscape:m,shouldHide:h}={}){const g=k3({onShow:v,onHide:f}),b=B.useRef(null),p=B.useRef(null),S=B.useRef(null),T=B.useCallback(()=>{b.current!=null&&(clearTimeout(b.current),b.current=null),p.current!=null&&(clearTimeout(p.current),p.current=null)},[]),E=B.useCallback(()=>{o&&(T(),b.current=setTimeout(()=>g.show(),n))},[T,n,o,g]),z=B.useCallback(()=>{(h==null?void 0:h())!==!1&&g.hide()},[g,h]),A=B.useCallback(()=>{if(T(),l>0){p.current=setTimeout(z,l);return}z()},[T,l,z]),q=B.useCallback(()=>{L3()||E()},[E]),N=B.useCallback(()=>{A()},[A]),W=B.useCallback(j=>{!o||(s==null?void 0:s(j))===!1||(T(),g.show())},[T,o,g,s]),Q=B.useCallback(j=>{(c==null?void 0:c(j))!==!1&&A()},[c,A]),P=B.useCallback(j=>{j.key==="Escape"&&g.isOpen&&(m==null||m(j))},[g.isOpen,m]),K=py({focusIn:W,focusOut:Q,keyDown:P,mouseEnter:q,mouseLeave:N}),ae=B.useCallback(()=>{K.current.mouseEnter()},[]),I=B.useCallback(()=>{K.current.mouseLeave()},[]),le=B.useCallback(j=>{K.current.focusIn(j)},[]),ne=B.useCallback(j=>{K.current.focusOut(j)},[]),re=B.useCallback(j=>{K.current.keyDown(j)},[]),he=m!=null,ye=B.useCallback(j=>{S.current!=null&&(S.current.removeEventListener("mouseenter",ae),S.current.removeEventListener("mouseleave",I),S.current.removeEventListener("focusin",le),S.current.removeEventListener("focusout",ne),S.current.removeEventListener("keydown",re)),j!=null&&(j.addEventListener("mouseenter",ae),j.addEventListener("mouseleave",I),(a==="always"||a==="auto"&&H3(j))&&(j.addEventListener("focusin",le),j.addEventListener("focusout",ne)),he&&j.addEventListener("keydown",re)),S.current=j},[a,he,le,ne,re,ae,I]),De=B.useMemo(()=>yi(g.ref,ye),[g.ref,ye]);return B.useEffect(()=>()=>T(),[T]),B.useMemo(()=>({anchorId:g.anchorId,clearTimeouts:T,describedBy:g.id,hide:g.hide,interactionRef:ye,layer:g,positionRef:g.ref,ref:De,scheduleHide:A,show:g.show,triggerRef:S}),[T,ye,g,De,A])}var Vd={wrapperContents:be({display:"contents"}),wrapperInline:be({display:"inline"}),hoverIndication:be({textDecorationLine:"underline",textDecorationStyle:"dashed",textDecorationColor:"fg.muted",textUnderlineOffset:"2px"})};function B3(n){return typeof n=="string"||typeof n=="number"}function Z3(...n){const a=n.filter(Boolean);return a.length>0?a.join(" "):void 0}function G3({children:n,className:a,"data-testid":l,describedBy:o,hoverIndication:s="auto",isNonTextWrapperPropsForwarded:c=!0,layer:f,nonTextWrapperElement:v="span",style:m,triggerRef:h,wrapperRef:g}){const b=B.useRef(null),p=B3(n),S=s==="always"||s==="auto"&&p;if(nu(()=>{var Q;if(p)return;const N=(Q=b.current)==null?void 0:Q.firstElementChild;if(!(N instanceof HTMLElement))return;h(N);const W=N.getAttribute("aria-describedby");return N.setAttribute("aria-describedby",Z3(W,o)??""),()=>{if(h(null),W!=null){N.setAttribute("aria-describedby",W);return}N.removeAttribute("aria-describedby")}},[o,p,h]),p)return D.jsxs(D.Fragment,{children:[D.jsx("span",{"aria-describedby":o,className:He(Vd.wrapperInline,S?Vd.hoverIndication:void 0,a),"data-testid":l,ref:yi(h,g),style:m,tabIndex:0,children:n}),f]});const T=c?yi(b,g):b,E=He(Vd.wrapperContents,c?a:void 0),z=c?l:void 0,A=c?m:void 0,q=v==="div"?D.jsx("div",{className:E,"data-testid":z,ref:T,style:A,children:n}):D.jsx("span",{className:E,"data-testid":z,ref:T,style:A,children:n});return D.jsxs(D.Fragment,{children:[q,f]})}var Xd={tooltipContainer:be({bg:"fg",color:"bg",borderRadius:"md",fontFamily:"body",fontSize:"sm",lineHeight:"normal",boxShadow:"md","--silver-text-color":"currentColor","--silver-text-color-muted":"color-mix(in srgb, currentColor 70%, transparent)"}),tooltipContent:be({px:"2",py:"1",maxW:"xs",wordBreak:"break-word"}),marginByPlacement:{above:be({mb:"1"}),below:be({mt:"1"}),start:be({mr:"1"}),end:be({ml:"1"})}};function Dv(n={}){const{placement:a="above",alignment:l="center",delay:o=200,hideDelay:s=0,focusTrigger:c="auto",isEnabled:f=!0,onShow:v,onHide:m}=n,h=q3({delay:o,focusTrigger:c,hideDelay:s,isEnabled:f,onFocusIn:T=>T.target.matches(":focus-visible"),onHide:m,onShow:v}),{interactionRef:g,layer:b,ref:p}=h;B.useEffect(()=>{if(!b.isOpen)return;const T=E=>{E.key==="Escape"&&b.hide()};return document.addEventListener("keydown",T),()=>document.removeEventListener("keydown",T)},[b,b.isOpen]);const S=B.useCallback((T,E)=>{const z=(E==null?void 0:E.placement)??a;return b.render(D.jsx("div",{className:Xd.tooltipContent,style:E==null?void 0:E.contentStyle,children:T}),{placement:z,alignment:(E==null?void 0:E.alignment)??l,className:He(Xd.tooltipContainer,Xd.marginByPlacement[z],E==null?void 0:E.className),role:"tooltip",style:E==null?void 0:E.style})},[l,b,a]);return B.useMemo(()=>({ref:p,positionRef:b.ref,interactionRef:g,anchorId:b.anchorId,describedBy:b.id,renderTooltip:S}),[p,b.ref,g,b.anchorId,b.id,S])}function Di({children:n,content:a,contentStyle:l,placement:o="above",alignment:s="center",delay:c=200,hideDelay:f=0,focusTrigger:v="auto",isEnabled:m=!0,hoverIndication:h="auto",className:g,"data-testid":b,style:p,ref:S}){const T=Dv({placement:o,alignment:s,delay:c,hideDelay:f,focusTrigger:v,isEnabled:m});return D.jsx(G3,{className:g,"data-testid":b,describedBy:T.describedBy,hoverIndication:h,layer:T.renderTooltip(a,{contentStyle:l}),nonTextWrapperElement:"div",style:p,triggerRef:T.ref,wrapperRef:S,children:n})}Di.displayName="Tooltip";var wy={"aspectRatios.square":{value:"1 / 1",variable:"var(--silver-aspect-ratios-square)"},"aspectRatios.landscape":{value:"4 / 3",variable:"var(--silver-aspect-ratios-landscape)"},"aspectRatios.portrait":{value:"3 / 4",variable:"var(--silver-aspect-ratios-portrait)"},"aspectRatios.wide":{value:"16 / 9",variable:"var(--silver-aspect-ratios-wide)"},"aspectRatios.ultrawide":{value:"18 / 5",variable:"var(--silver-aspect-ratios-ultrawide)"},"aspectRatios.golden":{value:"1.618 / 1",variable:"var(--silver-aspect-ratios-golden)"},"borders.none":{value:"none",variable:"var(--silver-borders-none)"},"easings.default":{value:"cubic-bezier(0.4, 0, 0.2, 1)",variable:"var(--silver-easings-default)"},"easings.linear":{value:"linear",variable:"var(--silver-easings-linear)"},"easings.in":{value:"cubic-bezier(0.4, 0, 1, 1)",variable:"var(--silver-easings-in)"},"easings.out":{value:"cubic-bezier(0, 0, 0.2, 1)",variable:"var(--silver-easings-out)"},"easings.in-out":{value:"cubic-bezier(0.4, 0, 0.2, 1)",variable:"var(--silver-easings-in-out)"},"durations.fastest":{value:"50ms",variable:"var(--silver-durations-fastest)"},"durations.faster":{value:"100ms",variable:"var(--silver-durations-faster)"},"durations.fast":{value:"150ms",variable:"var(--silver-durations-fast)"},"durations.normal":{value:"200ms",variable:"var(--silver-durations-normal)"},"durations.slow":{value:"300ms",variable:"var(--silver-durations-slow)"},"durations.slower":{value:"400ms",variable:"var(--silver-durations-slower)"},"durations.slowest":{value:"500ms",variable:"var(--silver-durations-slowest)"},"fontWeights.thin":{value:"100",variable:"var(--silver-font-weights-thin)"},"fontWeights.extralight":{value:"200",variable:"var(--silver-font-weights-extralight)"},"fontWeights.light":{value:"300",variable:"var(--silver-font-weights-light)"},"fontWeights.normal":{value:"400",variable:"var(--silver-font-weights-normal)"},"fontWeights.medium":{value:"500",variable:"var(--silver-font-weights-medium)"},"fontWeights.semibold":{value:"600",variable:"var(--silver-font-weights-semibold)"},"fontWeights.bold":{value:"700",variable:"var(--silver-font-weights-bold)"},"fontWeights.extrabold":{value:"800",variable:"var(--silver-font-weights-extrabold)"},"fontWeights.black":{value:"900",variable:"var(--silver-font-weights-black)"},"lineHeights.none":{value:"1",variable:"var(--silver-line-heights-none)"},"lineHeights.tight":{value:"1.25",variable:"var(--silver-line-heights-tight)"},"lineHeights.snug":{value:"1.375",variable:"var(--silver-line-heights-snug)"},"lineHeights.normal":{value:"1.5",variable:"var(--silver-line-heights-normal)"},"lineHeights.relaxed":{value:"1.625",variable:"var(--silver-line-heights-relaxed)"},"lineHeights.loose":{value:"2",variable:"var(--silver-line-heights-loose)"},"letterSpacings.tighter":{value:"-0.05em",variable:"var(--silver-letter-spacings-tighter)"},"letterSpacings.tight":{value:"-0.025em",variable:"var(--silver-letter-spacings-tight)"},"letterSpacings.normal":{value:"0em",variable:"var(--silver-letter-spacings-normal)"},"letterSpacings.wide":{value:"0.025em",variable:"var(--silver-letter-spacings-wide)"},"letterSpacings.wider":{value:"0.05em",variable:"var(--silver-letter-spacings-wider)"},"letterSpacings.widest":{value:"0.1em",variable:"var(--silver-letter-spacings-widest)"},"fontSizes.2xs":{value:"0.5rem",variable:"var(--silver-font-sizes-2xs)"},"fontSizes.xs":{value:"0.75rem",variable:"var(--silver-font-sizes-xs)"},"fontSizes.sm":{value:"0.875rem",variable:"var(--silver-font-sizes-sm)"},"fontSizes.md":{value:"1rem",variable:"var(--silver-font-sizes-md)"},"fontSizes.lg":{value:"1.125rem",variable:"var(--silver-font-sizes-lg)"},"fontSizes.xl":{value:"1.25rem",variable:"var(--silver-font-sizes-xl)"},"fontSizes.2xl":{value:"1.5rem",variable:"var(--silver-font-sizes-2xl)"},"fontSizes.3xl":{value:"1.875rem",variable:"var(--silver-font-sizes-3xl)"},"fontSizes.4xl":{value:"2.25rem",variable:"var(--silver-font-sizes-4xl)"},"fontSizes.5xl":{value:"3rem",variable:"var(--silver-font-sizes-5xl)"},"fontSizes.6xl":{value:"3.75rem",variable:"var(--silver-font-sizes-6xl)"},"fontSizes.7xl":{value:"4.5rem",variable:"var(--silver-font-sizes-7xl)"},"fontSizes.8xl":{value:"6rem",variable:"var(--silver-font-sizes-8xl)"},"fontSizes.9xl":{value:"8rem",variable:"var(--silver-font-sizes-9xl)"},"shadows.2xs":{value:"0 1px rgb(0 0 0 / 0.05)",variable:"var(--silver-shadows-2xs)"},"shadows.xs":{value:"0 1px 2px 0 rgb(0 0 0 / 0.05)",variable:"var(--silver-shadows-xs)"},"shadows.sm":{value:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",variable:"var(--silver-shadows-sm)"},"shadows.md":{value:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",variable:"var(--silver-shadows-md)"},"shadows.lg":{value:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",variable:"var(--silver-shadows-lg)"},"shadows.xl":{value:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",variable:"var(--silver-shadows-xl)"},"shadows.2xl":{value:"0 25px 50px -12px rgb(0 0 0 / 0.25)",variable:"var(--silver-shadows-2xl)"},"shadows.inset-2xs":{value:"inset 0 1px rgb(0 0 0 / 0.05)",variable:"var(--silver-shadows-inset-2xs)"},"shadows.inset-xs":{value:"inset 0 1px 1px rgb(0 0 0 / 0.05)",variable:"var(--silver-shadows-inset-xs)"},"shadows.inset-sm":{value:"inset 0 2px 4px rgb(0 0 0 / 0.05)",variable:"var(--silver-shadows-inset-sm)"},"blurs.xs":{value:"4px",variable:"var(--silver-blurs-xs)"},"blurs.sm":{value:"8px",variable:"var(--silver-blurs-sm)"},"blurs.md":{value:"12px",variable:"var(--silver-blurs-md)"},"blurs.lg":{value:"16px",variable:"var(--silver-blurs-lg)"},"blurs.xl":{value:"24px",variable:"var(--silver-blurs-xl)"},"blurs.2xl":{value:"40px",variable:"var(--silver-blurs-2xl)"},"blurs.3xl":{value:"64px",variable:"var(--silver-blurs-3xl)"},"spacing.0":{value:"0rem",variable:"var(--silver-spacing-0)"},"spacing.1":{value:"0.25rem",variable:"var(--silver-spacing-1)"},"spacing.2":{value:"0.5rem",variable:"var(--silver-spacing-2)"},"spacing.3":{value:"0.75rem",variable:"var(--silver-spacing-3)"},"spacing.4":{value:"1rem",variable:"var(--silver-spacing-4)"},"spacing.5":{value:"1.25rem",variable:"var(--silver-spacing-5)"},"spacing.6":{value:"1.5rem",variable:"var(--silver-spacing-6)"},"spacing.7":{value:"1.75rem",variable:"var(--silver-spacing-7)"},"spacing.8":{value:"2rem",variable:"var(--silver-spacing-8)"},"spacing.9":{value:"2.25rem",variable:"var(--silver-spacing-9)"},"spacing.10":{value:"2.5rem",variable:"var(--silver-spacing-10)"},"spacing.11":{value:"2.75rem",variable:"var(--silver-spacing-11)"},"spacing.12":{value:"3rem",variable:"var(--silver-spacing-12)"},"spacing.14":{value:"3.5rem",variable:"var(--silver-spacing-14)"},"spacing.16":{value:"4rem",variable:"var(--silver-spacing-16)"},"spacing.20":{value:"5rem",variable:"var(--silver-spacing-20)"},"spacing.24":{value:"6rem",variable:"var(--silver-spacing-24)"},"spacing.28":{value:"7rem",variable:"var(--silver-spacing-28)"},"spacing.32":{value:"8rem",variable:"var(--silver-spacing-32)"},"spacing.36":{value:"9rem",variable:"var(--silver-spacing-36)"},"spacing.40":{value:"10rem",variable:"var(--silver-spacing-40)"},"spacing.44":{value:"11rem",variable:"var(--silver-spacing-44)"},"spacing.48":{value:"12rem",variable:"var(--silver-spacing-48)"},"spacing.52":{value:"13rem",variable:"var(--silver-spacing-52)"},"spacing.56":{value:"14rem",variable:"var(--silver-spacing-56)"},"spacing.60":{value:"15rem",variable:"var(--silver-spacing-60)"},"spacing.64":{value:"16rem",variable:"var(--silver-spacing-64)"},"spacing.72":{value:"18rem",variable:"var(--silver-spacing-72)"},"spacing.80":{value:"20rem",variable:"var(--silver-spacing-80)"},"spacing.96":{value:"24rem",variable:"var(--silver-spacing-96)"},"spacing.0.5":{value:"0.125rem",variable:"var(--silver-spacing-0\\.5)"},"spacing.1.5":{value:"0.375rem",variable:"var(--silver-spacing-1\\.5)"},"spacing.2.5":{value:"0.625rem",variable:"var(--silver-spacing-2\\.5)"},"spacing.3.5":{value:"0.875rem",variable:"var(--silver-spacing-3\\.5)"},"spacing.4.5":{value:"1.125rem",variable:"var(--silver-spacing-4\\.5)"},"spacing.5.5":{value:"1.375rem",variable:"var(--silver-spacing-5\\.5)"},"sizes.0":{value:"0rem",variable:"var(--silver-sizes-0)"},"sizes.1":{value:"0.25rem",variable:"var(--silver-sizes-1)"},"sizes.2":{value:"0.5rem",variable:"var(--silver-sizes-2)"},"sizes.3":{value:"0.75rem",variable:"var(--silver-sizes-3)"},"sizes.4":{value:"1rem",variable:"var(--silver-sizes-4)"},"sizes.5":{value:"1.25rem",variable:"var(--silver-sizes-5)"},"sizes.6":{value:"1.5rem",variable:"var(--silver-sizes-6)"},"sizes.7":{value:"1.75rem",variable:"var(--silver-sizes-7)"},"sizes.8":{value:"2rem",variable:"var(--silver-sizes-8)"},"sizes.9":{value:"2.25rem",variable:"var(--silver-sizes-9)"},"sizes.10":{value:"2.5rem",variable:"var(--silver-sizes-10)"},"sizes.11":{value:"2.75rem",variable:"var(--silver-sizes-11)"},"sizes.12":{value:"3rem",variable:"var(--silver-sizes-12)"},"sizes.14":{value:"3.5rem",variable:"var(--silver-sizes-14)"},"sizes.16":{value:"4rem",variable:"var(--silver-sizes-16)"},"sizes.20":{value:"5rem",variable:"var(--silver-sizes-20)"},"sizes.24":{value:"6rem",variable:"var(--silver-sizes-24)"},"sizes.28":{value:"7rem",variable:"var(--silver-sizes-28)"},"sizes.32":{value:"8rem",variable:"var(--silver-sizes-32)"},"sizes.36":{value:"9rem",variable:"var(--silver-sizes-36)"},"sizes.40":{value:"10rem",variable:"var(--silver-sizes-40)"},"sizes.44":{value:"11rem",variable:"var(--silver-sizes-44)"},"sizes.48":{value:"12rem",variable:"var(--silver-sizes-48)"},"sizes.52":{value:"13rem",variable:"var(--silver-sizes-52)"},"sizes.56":{value:"14rem",variable:"var(--silver-sizes-56)"},"sizes.60":{value:"15rem",variable:"var(--silver-sizes-60)"},"sizes.64":{value:"16rem",variable:"var(--silver-sizes-64)"},"sizes.72":{value:"18rem",variable:"var(--silver-sizes-72)"},"sizes.80":{value:"20rem",variable:"var(--silver-sizes-80)"},"sizes.96":{value:"24rem",variable:"var(--silver-sizes-96)"},"sizes.0.5":{value:"0.125rem",variable:"var(--silver-sizes-0\\.5)"},"sizes.1.5":{value:"0.375rem",variable:"var(--silver-sizes-1\\.5)"},"sizes.2.5":{value:"0.625rem",variable:"var(--silver-sizes-2\\.5)"},"sizes.3.5":{value:"0.875rem",variable:"var(--silver-sizes-3\\.5)"},"sizes.4.5":{value:"1.125rem",variable:"var(--silver-sizes-4\\.5)"},"sizes.5.5":{value:"1.375rem",variable:"var(--silver-sizes-5\\.5)"},"sizes.xs":{value:"20rem",variable:"var(--silver-sizes-xs)"},"sizes.sm":{value:"24rem",variable:"var(--silver-sizes-sm)"},"sizes.md":{value:"28rem",variable:"var(--silver-sizes-md)"},"sizes.lg":{value:"32rem",variable:"var(--silver-sizes-lg)"},"sizes.xl":{value:"36rem",variable:"var(--silver-sizes-xl)"},"sizes.2xl":{value:"42rem",variable:"var(--silver-sizes-2xl)"},"sizes.3xl":{value:"48rem",variable:"var(--silver-sizes-3xl)"},"sizes.4xl":{value:"56rem",variable:"var(--silver-sizes-4xl)"},"sizes.5xl":{value:"64rem",variable:"var(--silver-sizes-5xl)"},"sizes.6xl":{value:"72rem",variable:"var(--silver-sizes-6xl)"},"sizes.7xl":{value:"80rem",variable:"var(--silver-sizes-7xl)"},"sizes.8xl":{value:"90rem",variable:"var(--silver-sizes-8xl)"},"sizes.prose":{value:"65ch",variable:"var(--silver-sizes-prose)"},"sizes.full":{value:"100%",variable:"var(--silver-sizes-full)"},"sizes.min":{value:"min-content",variable:"var(--silver-sizes-min)"},"sizes.max":{value:"max-content",variable:"var(--silver-sizes-max)"},"sizes.fit":{value:"fit-content",variable:"var(--silver-sizes-fit)"},"sizes.breakpoint-sm":{value:"640px",variable:"var(--silver-sizes-breakpoint-sm)"},"sizes.breakpoint-md":{value:"768px",variable:"var(--silver-sizes-breakpoint-md)"},"sizes.breakpoint-lg":{value:"1024px",variable:"var(--silver-sizes-breakpoint-lg)"},"sizes.breakpoint-xl":{value:"1280px",variable:"var(--silver-sizes-breakpoint-xl)"},"sizes.breakpoint-2xl":{value:"1536px",variable:"var(--silver-sizes-breakpoint-2xl)"},"animations.spin":{value:"spin 1s linear infinite",variable:"var(--silver-animations-spin)"},"animations.ping":{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",variable:"var(--silver-animations-ping)"},"animations.pulse":{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",variable:"var(--silver-animations-pulse)"},"animations.bounce":{value:"bounce 1s infinite",variable:"var(--silver-animations-bounce)"},"colors.current":{value:"currentColor",variable:"var(--silver-colors-current)"},"colors.black":{value:"#000",variable:"var(--silver-colors-black)"},"colors.white":{value:"#fff",variable:"var(--silver-colors-white)"},"colors.transparent":{value:"rgb(0 0 0 / 0)",variable:"var(--silver-colors-transparent)"},"colors.rose.50":{value:"#fff1f2",variable:"var(--silver-colors-rose-50)"},"colors.rose.100":{value:"#ffe4e6",variable:"var(--silver-colors-rose-100)"},"colors.rose.200":{value:"#fecdd3",variable:"var(--silver-colors-rose-200)"},"colors.rose.300":{value:"#fda4af",variable:"var(--silver-colors-rose-300)"},"colors.rose.400":{value:"#fb7185",variable:"var(--silver-colors-rose-400)"},"colors.rose.500":{value:"#f43f5e",variable:"var(--silver-colors-rose-500)"},"colors.rose.600":{value:"#e11d48",variable:"var(--silver-colors-rose-600)"},"colors.rose.700":{value:"#be123c",variable:"var(--silver-colors-rose-700)"},"colors.rose.800":{value:"#9f1239",variable:"var(--silver-colors-rose-800)"},"colors.rose.900":{value:"#881337",variable:"var(--silver-colors-rose-900)"},"colors.rose.950":{value:"#4c0519",variable:"var(--silver-colors-rose-950)"},"colors.fuchsia.50":{value:"#fdf4ff",variable:"var(--silver-colors-fuchsia-50)"},"colors.fuchsia.100":{value:"#fae8ff",variable:"var(--silver-colors-fuchsia-100)"},"colors.fuchsia.200":{value:"#f5d0fe",variable:"var(--silver-colors-fuchsia-200)"},"colors.fuchsia.300":{value:"#f0abfc",variable:"var(--silver-colors-fuchsia-300)"},"colors.fuchsia.400":{value:"#e879f9",variable:"var(--silver-colors-fuchsia-400)"},"colors.fuchsia.500":{value:"#d946ef",variable:"var(--silver-colors-fuchsia-500)"},"colors.fuchsia.600":{value:"#c026d3",variable:"var(--silver-colors-fuchsia-600)"},"colors.fuchsia.700":{value:"#a21caf",variable:"var(--silver-colors-fuchsia-700)"},"colors.fuchsia.800":{value:"#86198f",variable:"var(--silver-colors-fuchsia-800)"},"colors.fuchsia.900":{value:"#701a75",variable:"var(--silver-colors-fuchsia-900)"},"colors.fuchsia.950":{value:"#4a044e",variable:"var(--silver-colors-fuchsia-950)"},"colors.violet.50":{value:"#f5f3ff",variable:"var(--silver-colors-violet-50)"},"colors.violet.100":{value:"#ede9fe",variable:"var(--silver-colors-violet-100)"},"colors.violet.200":{value:"#ddd6fe",variable:"var(--silver-colors-violet-200)"},"colors.violet.300":{value:"#c4b5fd",variable:"var(--silver-colors-violet-300)"},"colors.violet.400":{value:"#a78bfa",variable:"var(--silver-colors-violet-400)"},"colors.violet.500":{value:"#8b5cf6",variable:"var(--silver-colors-violet-500)"},"colors.violet.600":{value:"#7c3aed",variable:"var(--silver-colors-violet-600)"},"colors.violet.700":{value:"#6d28d9",variable:"var(--silver-colors-violet-700)"},"colors.violet.800":{value:"#5b21b6",variable:"var(--silver-colors-violet-800)"},"colors.violet.900":{value:"#4c1d95",variable:"var(--silver-colors-violet-900)"},"colors.violet.950":{value:"#2e1065",variable:"var(--silver-colors-violet-950)"},"colors.indigo.50":{value:"#eef2ff",variable:"var(--silver-colors-indigo-50)"},"colors.indigo.100":{value:"#e0e7ff",variable:"var(--silver-colors-indigo-100)"},"colors.indigo.200":{value:"#c7d2fe",variable:"var(--silver-colors-indigo-200)"},"colors.indigo.300":{value:"#a5b4fc",variable:"var(--silver-colors-indigo-300)"},"colors.indigo.400":{value:"#818cf8",variable:"var(--silver-colors-indigo-400)"},"colors.indigo.500":{value:"#6366f1",variable:"var(--silver-colors-indigo-500)"},"colors.indigo.600":{value:"#4f46e5",variable:"var(--silver-colors-indigo-600)"},"colors.indigo.700":{value:"#4338ca",variable:"var(--silver-colors-indigo-700)"},"colors.indigo.800":{value:"#3730a3",variable:"var(--silver-colors-indigo-800)"},"colors.indigo.900":{value:"#312e81",variable:"var(--silver-colors-indigo-900)"},"colors.indigo.950":{value:"#1e1b4b",variable:"var(--silver-colors-indigo-950)"},"colors.sky.50":{value:"#f0f9ff",variable:"var(--silver-colors-sky-50)"},"colors.sky.100":{value:"#e0f2fe",variable:"var(--silver-colors-sky-100)"},"colors.sky.200":{value:"#bae6fd",variable:"var(--silver-colors-sky-200)"},"colors.sky.300":{value:"#7dd3fc",variable:"var(--silver-colors-sky-300)"},"colors.sky.400":{value:"#38bdf8",variable:"var(--silver-colors-sky-400)"},"colors.sky.500":{value:"#0ea5e9",variable:"var(--silver-colors-sky-500)"},"colors.sky.600":{value:"#0284c7",variable:"var(--silver-colors-sky-600)"},"colors.sky.700":{value:"#0369a1",variable:"var(--silver-colors-sky-700)"},"colors.sky.800":{value:"#075985",variable:"var(--silver-colors-sky-800)"},"colors.sky.900":{value:"#0c4a6e",variable:"var(--silver-colors-sky-900)"},"colors.sky.950":{value:"#082f49",variable:"var(--silver-colors-sky-950)"},"colors.emerald.50":{value:"#ecfdf5",variable:"var(--silver-colors-emerald-50)"},"colors.emerald.100":{value:"#d1fae5",variable:"var(--silver-colors-emerald-100)"},"colors.emerald.200":{value:"#a7f3d0",variable:"var(--silver-colors-emerald-200)"},"colors.emerald.300":{value:"#6ee7b7",variable:"var(--silver-colors-emerald-300)"},"colors.emerald.400":{value:"#34d399",variable:"var(--silver-colors-emerald-400)"},"colors.emerald.500":{value:"#10b981",variable:"var(--silver-colors-emerald-500)"},"colors.emerald.600":{value:"#059669",variable:"var(--silver-colors-emerald-600)"},"colors.emerald.700":{value:"#047857",variable:"var(--silver-colors-emerald-700)"},"colors.emerald.800":{value:"#065f46",variable:"var(--silver-colors-emerald-800)"},"colors.emerald.900":{value:"#064e3b",variable:"var(--silver-colors-emerald-900)"},"colors.emerald.950":{value:"#022c22",variable:"var(--silver-colors-emerald-950)"},"colors.lime.50":{value:"#f7fee7",variable:"var(--silver-colors-lime-50)"},"colors.lime.100":{value:"#ecfccb",variable:"var(--silver-colors-lime-100)"},"colors.lime.200":{value:"#d9f99d",variable:"var(--silver-colors-lime-200)"},"colors.lime.300":{value:"#bef264",variable:"var(--silver-colors-lime-300)"},"colors.lime.400":{value:"#a3e635",variable:"var(--silver-colors-lime-400)"},"colors.lime.500":{value:"#84cc16",variable:"var(--silver-colors-lime-500)"},"colors.lime.600":{value:"#65a30d",variable:"var(--silver-colors-lime-600)"},"colors.lime.700":{value:"#4d7c0f",variable:"var(--silver-colors-lime-700)"},"colors.lime.800":{value:"#3f6212",variable:"var(--silver-colors-lime-800)"},"colors.lime.900":{value:"#365314",variable:"var(--silver-colors-lime-900)"},"colors.lime.950":{value:"#1a2e05",variable:"var(--silver-colors-lime-950)"},"colors.amber.50":{value:"#fffbeb",variable:"var(--silver-colors-amber-50)"},"colors.amber.100":{value:"#fef3c7",variable:"var(--silver-colors-amber-100)"},"colors.amber.200":{value:"#fde68a",variable:"var(--silver-colors-amber-200)"},"colors.amber.300":{value:"#fcd34d",variable:"var(--silver-colors-amber-300)"},"colors.amber.400":{value:"#fbbf24",variable:"var(--silver-colors-amber-400)"},"colors.amber.500":{value:"#f59e0b",variable:"var(--silver-colors-amber-500)"},"colors.amber.600":{value:"#d97706",variable:"var(--silver-colors-amber-600)"},"colors.amber.700":{value:"#b45309",variable:"var(--silver-colors-amber-700)"},"colors.amber.800":{value:"#92400e",variable:"var(--silver-colors-amber-800)"},"colors.amber.900":{value:"#78350f",variable:"var(--silver-colors-amber-900)"},"colors.amber.950":{value:"#451a03",variable:"var(--silver-colors-amber-950)"},"colors.neutral.50":{value:"#fafafa",variable:"var(--silver-colors-neutral-50)"},"colors.neutral.100":{value:"#f5f5f5",variable:"var(--silver-colors-neutral-100)"},"colors.neutral.200":{value:"#e5e5e5",variable:"var(--silver-colors-neutral-200)"},"colors.neutral.300":{value:"#d4d4d4",variable:"var(--silver-colors-neutral-300)"},"colors.neutral.400":{value:"#a3a3a3",variable:"var(--silver-colors-neutral-400)"},"colors.neutral.500":{value:"#737373",variable:"var(--silver-colors-neutral-500)"},"colors.neutral.600":{value:"#525252",variable:"var(--silver-colors-neutral-600)"},"colors.neutral.700":{value:"#404040",variable:"var(--silver-colors-neutral-700)"},"colors.neutral.800":{value:"#262626",variable:"var(--silver-colors-neutral-800)"},"colors.neutral.900":{value:"#171717",variable:"var(--silver-colors-neutral-900)"},"colors.neutral.950":{value:"#0a0a0a",variable:"var(--silver-colors-neutral-950)"},"colors.stone.50":{value:"#fafaf9",variable:"var(--silver-colors-stone-50)"},"colors.stone.100":{value:"#f5f5f4",variable:"var(--silver-colors-stone-100)"},"colors.stone.200":{value:"#e7e5e4",variable:"var(--silver-colors-stone-200)"},"colors.stone.300":{value:"#d6d3d1",variable:"var(--silver-colors-stone-300)"},"colors.stone.400":{value:"#a8a29e",variable:"var(--silver-colors-stone-400)"},"colors.stone.500":{value:"#78716c",variable:"var(--silver-colors-stone-500)"},"colors.stone.600":{value:"#57534e",variable:"var(--silver-colors-stone-600)"},"colors.stone.700":{value:"#44403c",variable:"var(--silver-colors-stone-700)"},"colors.stone.800":{value:"#292524",variable:"var(--silver-colors-stone-800)"},"colors.stone.900":{value:"#1c1917",variable:"var(--silver-colors-stone-900)"},"colors.stone.950":{value:"#0c0a09",variable:"var(--silver-colors-stone-950)"},"colors.zinc.50":{value:"#fafafa",variable:"var(--silver-colors-zinc-50)"},"colors.zinc.100":{value:"#f4f4f5",variable:"var(--silver-colors-zinc-100)"},"colors.zinc.200":{value:"#e4e4e7",variable:"var(--silver-colors-zinc-200)"},"colors.zinc.300":{value:"#d4d4d8",variable:"var(--silver-colors-zinc-300)"},"colors.zinc.400":{value:"#a1a1aa",variable:"var(--silver-colors-zinc-400)"},"colors.zinc.500":{value:"#71717a",variable:"var(--silver-colors-zinc-500)"},"colors.zinc.600":{value:"#52525b",variable:"var(--silver-colors-zinc-600)"},"colors.zinc.700":{value:"#3f3f46",variable:"var(--silver-colors-zinc-700)"},"colors.zinc.800":{value:"#27272a",variable:"var(--silver-colors-zinc-800)"},"colors.zinc.900":{value:"#18181b",variable:"var(--silver-colors-zinc-900)"},"colors.zinc.950":{value:"#09090b",variable:"var(--silver-colors-zinc-950)"},"colors.slate.50":{value:"#f8fafc",variable:"var(--silver-colors-slate-50)"},"colors.slate.100":{value:"#f1f5f9",variable:"var(--silver-colors-slate-100)"},"colors.slate.200":{value:"#e2e8f0",variable:"var(--silver-colors-slate-200)"},"colors.slate.300":{value:"#cbd5e1",variable:"var(--silver-colors-slate-300)"},"colors.slate.400":{value:"#94a3b8",variable:"var(--silver-colors-slate-400)"},"colors.slate.500":{value:"#64748b",variable:"var(--silver-colors-slate-500)"},"colors.slate.600":{value:"#475569",variable:"var(--silver-colors-slate-600)"},"colors.slate.700":{value:"#334155",variable:"var(--silver-colors-slate-700)"},"colors.slate.800":{value:"#1e293b",variable:"var(--silver-colors-slate-800)"},"colors.slate.900":{value:"#0f172a",variable:"var(--silver-colors-slate-900)"},"colors.slate.950":{value:"#020617",variable:"var(--silver-colors-slate-950)"},"colors.gray.50":{value:"#f1f4f7",variable:"var(--silver-colors-gray-50)"},"colors.gray.100":{value:"#d5d9de",variable:"var(--silver-colors-gray-100)"},"colors.gray.200":{value:"#b1bac3",variable:"var(--silver-colors-gray-200)"},"colors.gray.300":{value:"#8a97a4",variable:"var(--silver-colors-gray-300)"},"colors.gray.400":{value:"#708090",variable:"var(--silver-colors-gray-400)"},"colors.gray.500":{value:"#6a7b8c",variable:"var(--silver-colors-gray-500)"},"colors.gray.600":{value:"#576573",variable:"var(--silver-colors-gray-600)"},"colors.gray.700":{value:"#45505b",variable:"var(--silver-colors-gray-700)"},"colors.gray.800":{value:"#333b43",variable:"var(--silver-colors-gray-800)"},"colors.gray.900":{value:"#22272d",variable:"var(--silver-colors-gray-900)"},"colors.gray.950":{value:"#030712",variable:"var(--silver-colors-gray-950)"},"colors.green.50":{value:"#e0f6e2",variable:"var(--silver-colors-green-50)"},"colors.green.100":{value:"#c4eec8",variable:"var(--silver-colors-green-100)"},"colors.green.200":{value:"#91e098",variable:"var(--silver-colors-green-200)"},"colors.green.300":{value:"#54cf60",variable:"var(--silver-colors-green-300)"},"colors.green.400":{value:"#33b33f",variable:"var(--silver-colors-green-400)"},"colors.green.500":{value:"#26a332",variable:"var(--silver-colors-green-500)"},"colors.green.600":{value:"#1f8629",variable:"var(--silver-colors-green-600)"},"colors.green.700":{value:"#196a21",variable:"var(--silver-colors-green-700)"},"colors.green.800":{value:"#124e18",variable:"var(--silver-colors-green-800)"},"colors.green.900":{value:"#0c3410",variable:"var(--silver-colors-green-900)"},"colors.green.950":{value:"#052e16",variable:"var(--silver-colors-green-950)"},"colors.red.50":{value:"#fceef0",variable:"var(--silver-colors-red-50)"},"colors.red.100":{value:"#f9d1d8",variable:"var(--silver-colors-red-100)"},"colors.red.200":{value:"#f1bcc5",variable:"var(--silver-colors-red-200)"},"colors.red.300":{value:"#e28d9b",variable:"var(--silver-colors-red-300)"},"colors.red.400":{value:"#da4e65",variable:"var(--silver-colors-red-400)"},"colors.red.500":{value:"#d92644",variable:"var(--silver-colors-red-500)"},"colors.red.600":{value:"#e31a3b",variable:"var(--silver-colors-red-600)"},"colors.red.700":{value:"#842e3d",variable:"var(--silver-colors-red-700)"},"colors.red.800":{value:"#6b2e38",variable:"var(--silver-colors-red-800)"},"colors.red.900":{value:"#562b32",variable:"var(--silver-colors-red-900)"},"colors.red.950":{value:"#450a0a",variable:"var(--silver-colors-red-950)"},"colors.yellow.50":{value:"#fdf3da",variable:"var(--silver-colors-yellow-50)"},"colors.yellow.100":{value:"#fbe7b7",variable:"var(--silver-colors-yellow-100)"},"colors.yellow.200":{value:"#f8d47b",variable:"var(--silver-colors-yellow-200)"},"colors.yellow.300":{value:"#f4bd37",variable:"var(--silver-colors-yellow-300)"},"colors.yellow.400":{value:"#efad0d",variable:"var(--silver-colors-yellow-400)"},"colors.yellow.500":{value:"#f0aa00",variable:"var(--silver-colors-yellow-500)"},"colors.yellow.600":{value:"#c58b00",variable:"var(--silver-colors-yellow-600)"},"colors.yellow.700":{value:"#9c6e00",variable:"var(--silver-colors-yellow-700)"},"colors.yellow.800":{value:"#735200",variable:"var(--silver-colors-yellow-800)"},"colors.yellow.900":{value:"#4d3600",variable:"var(--silver-colors-yellow-900)"},"colors.yellow.950":{value:"#422006",variable:"var(--silver-colors-yellow-950)"},"colors.blue.50":{value:"#dae9fd",variable:"var(--silver-colors-blue-50)"},"colors.blue.100":{value:"#bad6fb",variable:"var(--silver-colors-blue-100)"},"colors.blue.200":{value:"#87b8f9",variable:"var(--silver-colors-blue-200)"},"colors.blue.300":{value:"#5b9ef6",variable:"var(--silver-colors-blue-300)"},"colors.blue.400":{value:"#3487f4",variable:"var(--silver-colors-blue-400)"},"colors.blue.500":{value:"#4a98ff",variable:"var(--silver-colors-blue-500)"},"colors.blue.600":{value:"#0f76ff",variable:"var(--silver-colors-blue-600)"},"colors.blue.700":{value:"#005cd6",variable:"var(--silver-colors-blue-700)"},"colors.blue.800":{value:"#00449e",variable:"var(--silver-colors-blue-800)"},"colors.blue.900":{value:"#002d69",variable:"var(--silver-colors-blue-900)"},"colors.blue.950":{value:"#172554",variable:"var(--silver-colors-blue-950)"},"colors.cyan.50":{value:"#dff2f8",variable:"var(--silver-colors-cyan-50)"},"colors.cyan.100":{value:"#c3e7f1",variable:"var(--silver-colors-cyan-100)"},"colors.cyan.200":{value:"#92d3e6",variable:"var(--silver-colors-cyan-200)"},"colors.cyan.300":{value:"#60bfdb",variable:"var(--silver-colors-cyan-300)"},"colors.cyan.400":{value:"#48b5d5",variable:"var(--silver-colors-cyan-400)"},"colors.cyan.500":{value:"#40b9dd",variable:"var(--silver-colors-cyan-500)"},"colors.cyan.600":{value:"#23a1c6",variable:"var(--silver-colors-cyan-600)"},"colors.cyan.700":{value:"#1c809d",variable:"var(--silver-colors-cyan-700)"},"colors.cyan.800":{value:"#155e74",variable:"var(--silver-colors-cyan-800)"},"colors.cyan.900":{value:"#0e3f4d",variable:"var(--silver-colors-cyan-900)"},"colors.cyan.950":{value:"#083344",variable:"var(--silver-colors-cyan-950)"},"colors.orange.50":{value:"#fdeada",variable:"var(--silver-colors-orange-50)"},"colors.orange.100":{value:"#fbd7b8",variable:"var(--silver-colors-orange-100)"},"colors.orange.200":{value:"#f7b57c",variable:"var(--silver-colors-orange-200)"},"colors.orange.300":{value:"#f38e38",variable:"var(--silver-colors-orange-300)"},"colors.orange.400":{value:"#eb740e",variable:"var(--silver-colors-orange-400)"},"colors.orange.500":{value:"#eb6d02",variable:"var(--silver-colors-orange-500)"},"colors.orange.600":{value:"#c15902",variable:"var(--silver-colors-orange-600)"},"colors.orange.700":{value:"#994701",variable:"var(--silver-colors-orange-700)"},"colors.orange.800":{value:"#713401",variable:"var(--silver-colors-orange-800)"},"colors.orange.900":{value:"#4b2301",variable:"var(--silver-colors-orange-900)"},"colors.orange.950":{value:"#431407",variable:"var(--silver-colors-orange-950)"},"colors.pink.50":{value:"#f7e0ef",variable:"var(--silver-colors-pink-50)"},"colors.pink.100":{value:"#efc5e0",variable:"var(--silver-colors-pink-100)"},"colors.pink.200":{value:"#e397c8",variable:"var(--silver-colors-pink-200)"},"colors.pink.300":{value:"#d76ab0",variable:"var(--silver-colors-pink-300)"},"colors.pink.400":{value:"#d256a5",variable:"var(--silver-colors-pink-400)"},"colors.pink.500":{value:"#d951a8",variable:"var(--silver-colors-pink-500)"},"colors.pink.600":{value:"#c92c90",variable:"var(--silver-colors-pink-600)"},"colors.pink.700":{value:"#9f2372",variable:"var(--silver-colors-pink-700)"},"colors.pink.800":{value:"#751a54",variable:"var(--silver-colors-pink-800)"},"colors.pink.900":{value:"#4e1138",variable:"var(--silver-colors-pink-900)"},"colors.pink.950":{value:"#500724",variable:"var(--silver-colors-pink-950)"},"colors.purple.50":{value:"#e2dbfd",variable:"var(--silver-colors-purple-50)"},"colors.purple.100":{value:"#c9bbfb",variable:"var(--silver-colors-purple-100)"},"colors.purple.200":{value:"#a289f9",variable:"var(--silver-colors-purple-200)"},"colors.purple.300":{value:"#8260f7",variable:"var(--silver-colors-purple-300)"},"colors.purple.400":{value:"#5f34f4",variable:"var(--silver-colors-purple-400)"},"colors.purple.500":{value:"#7952ff",variable:"var(--silver-colors-purple-500)"},"colors.purple.600":{value:"#4a15ff",variable:"var(--silver-colors-purple-600)"},"colors.purple.700":{value:"#3100db",variable:"var(--silver-colors-purple-700)"},"colors.purple.800":{value:"#2400a2",variable:"var(--silver-colors-purple-800)"},"colors.purple.900":{value:"#18006c",variable:"var(--silver-colors-purple-900)"},"colors.purple.950":{value:"#3b0764",variable:"var(--silver-colors-purple-950)"},"colors.teal.50":{value:"#dff8f7",variable:"var(--silver-colors-teal-50)"},"colors.teal.100":{value:"#c0f1ef",variable:"var(--silver-colors-teal-100)"},"colors.teal.200":{value:"#8be5e1",variable:"var(--silver-colors-teal-200)"},"colors.teal.300":{value:"#4ad7d1",variable:"var(--silver-colors-teal-300)"},"colors.teal.400":{value:"#29b9b3",variable:"var(--silver-colors-teal-400)"},"colors.teal.500":{value:"#1ca49e",variable:"var(--silver-colors-teal-500)"},"colors.teal.600":{value:"#178682",variable:"var(--silver-colors-teal-600)"},"colors.teal.700":{value:"#126b67",variable:"var(--silver-colors-teal-700)"},"colors.teal.800":{value:"#0d4f4c",variable:"var(--silver-colors-teal-800)"},"colors.teal.900":{value:"#093433",variable:"var(--silver-colors-teal-900)"},"colors.teal.950":{value:"#042f2e",variable:"var(--silver-colors-teal-950)"},"fonts.sans":{value:'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',variable:"var(--silver-fonts-sans)"},"fonts.serif":{value:'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',variable:"var(--silver-fonts-serif)"},"fonts.body":{value:"system-ui, -apple-system, sans-serif",variable:"var(--silver-fonts-body)"},"fonts.mono":{value:"ui-monospace, monospace",variable:"var(--silver-fonts-mono)"},"radii.xs":{value:"0.125rem",variable:"var(--silver-radii-xs)"},"radii.xl":{value:"0.75rem",variable:"var(--silver-radii-xl)"},"radii.2xl":{value:"1rem",variable:"var(--silver-radii-2xl)"},"radii.3xl":{value:"1.5rem",variable:"var(--silver-radii-3xl)"},"radii.4xl":{value:"2rem",variable:"var(--silver-radii-4xl)"},"radii.sm":{value:"0.25rem",variable:"var(--silver-radii-sm)"},"radii.md":{value:"0.375rem",variable:"var(--silver-radii-md)"},"radii.lg":{value:"0.5rem",variable:"var(--silver-radii-lg)"},"radii.full":{value:"9999px",variable:"var(--silver-radii-full)"},"borderWidths.default":{value:"1px",variable:"var(--silver-border-widths-default)"},"borderWidths.emphasized":{value:"2px",variable:"var(--silver-border-widths-emphasized)"},"borderWidths.focus":{value:"2px",variable:"var(--silver-border-widths-focus)"},"breakpoints.sm":{value:"640px",variable:"var(--silver-breakpoints-sm)"},"breakpoints.md":{value:"768px",variable:"var(--silver-breakpoints-md)"},"breakpoints.lg":{value:"1024px",variable:"var(--silver-breakpoints-lg)"},"breakpoints.xl":{value:"1280px",variable:"var(--silver-breakpoints-xl)"},"breakpoints.2xl":{value:"1536px",variable:"var(--silver-breakpoints-2xl)"},"colors.primary":{value:"var(--silver-colors-teal-500)",variable:"var(--silver-colors-primary)"},"colors.primary.hover":{value:"var(--silver-colors-primary-hover)",variable:"var(--silver-colors-primary-hover)"},"colors.primary.active":{value:"var(--silver-colors-primary-active)",variable:"var(--silver-colors-primary-active)"},"colors.primary.subtle":{value:"var(--silver-colors-primary-subtle)",variable:"var(--silver-colors-primary-subtle)"},"colors.destructive":{value:"var(--silver-colors-destructive)",variable:"var(--silver-colors-destructive)"},"colors.destructive.hover":{value:"var(--silver-colors-destructive-hover)",variable:"var(--silver-colors-destructive-hover)"},"colors.destructive.active":{value:"var(--silver-colors-destructive-active)",variable:"var(--silver-colors-destructive-active)"},"colors.destructive.fg":{value:"var(--silver-colors-white)",variable:"var(--silver-colors-destructive-fg)"},"colors.status.success.fg":{value:"var(--silver-colors-green-600)",variable:"var(--silver-colors-status-success-fg)"},"colors.status.success.border":{value:"var(--silver-colors-status-success-border)",variable:"var(--silver-colors-status-success-border)"},"colors.status.success.borderHover":{value:"var(--silver-colors-status-success-border-hover)",variable:"var(--silver-colors-status-success-border-hover)"},"colors.status.success.solid":{value:"var(--silver-colors-status-success-solid)",variable:"var(--silver-colors-status-success-solid)"},"colors.status.success.solidFg":{value:"var(--silver-colors-white)",variable:"var(--silver-colors-status-success-solid-fg)"},"colors.status.error.fg":{value:"var(--silver-colors-red-500)",variable:"var(--silver-colors-status-error-fg)"},"colors.status.error.border":{value:"var(--silver-colors-status-error-border)",variable:"var(--silver-colors-status-error-border)"},"colors.status.error.borderHover":{value:"var(--silver-colors-status-error-border-hover)",variable:"var(--silver-colors-status-error-border-hover)"},"colors.status.error.solid":{value:"var(--silver-colors-status-error-solid)",variable:"var(--silver-colors-status-error-solid)"},"colors.status.error.solidFg":{value:"var(--silver-colors-white)",variable:"var(--silver-colors-status-error-solid-fg)"},"colors.status.warning.fg":{value:"var(--silver-colors-yellow-500)",variable:"var(--silver-colors-status-warning-fg)"},"colors.status.warning.border":{value:"var(--silver-colors-status-warning-border)",variable:"var(--silver-colors-status-warning-border)"},"colors.status.warning.borderHover":{value:"var(--silver-colors-status-warning-border-hover)",variable:"var(--silver-colors-status-warning-border-hover)"},"colors.status.warning.solid":{value:"var(--silver-colors-status-warning-solid)",variable:"var(--silver-colors-status-warning-solid)"},"colors.status.warning.solidFg":{value:"var(--silver-colors-white)",variable:"var(--silver-colors-status-warning-solid-fg)"},"colors.status.info.fg":{value:"var(--silver-colors-blue-700)",variable:"var(--silver-colors-status-info-fg)"},"colors.status.info.solid":{value:"var(--silver-colors-primary)",variable:"var(--silver-colors-status-info-solid)"},"colors.status.info.solidFg":{value:"var(--silver-colors-fg-on-primary)",variable:"var(--silver-colors-status-info-solid-fg)"},"colors.status.neutral.solid":{value:"var(--silver-colors-status-neutral-solid)",variable:"var(--silver-colors-status-neutral-solid)"},"colors.status.neutral.solidFg":{value:"var(--silver-colors-white)",variable:"var(--silver-colors-status-neutral-solid-fg)"},"colors.status.disabled.solid":{value:"var(--silver-colors-status-disabled-solid)",variable:"var(--silver-colors-status-disabled-solid)"},"colors.status.disabled.solidFg":{value:"var(--silver-colors-white)",variable:"var(--silver-colors-status-disabled-solid-fg)"},"colors.presence.success":{value:"var(--silver-colors-presence-success)",variable:"var(--silver-colors-presence-success)"},"colors.presence.neutral":{value:"var(--silver-colors-presence-neutral)",variable:"var(--silver-colors-presence-neutral)"},"colors.presence.error":{value:"var(--silver-colors-presence-error)",variable:"var(--silver-colors-presence-error)"},"colors.fg":{value:"var(--silver-colors-fg)",variable:"var(--silver-colors-fg)"},"colors.fg.muted":{value:"var(--silver-colors-fg-muted)",variable:"var(--silver-colors-fg-muted)"},"colors.fg.disabled":{value:"var(--silver-colors-fg-disabled)",variable:"var(--silver-colors-fg-disabled)"},"colors.fg.onPrimary":{value:"var(--silver-colors-white)",variable:"var(--silver-colors-fg-on-primary)"},"colors.bg":{value:"var(--silver-colors-bg)",variable:"var(--silver-colors-bg)"},"colors.bg.subtle":{value:"var(--silver-colors-bg-subtle)",variable:"var(--silver-colors-bg-subtle)"},"colors.bg.hover":{value:"var(--silver-colors-bg-hover)",variable:"var(--silver-colors-bg-hover)"},"colors.bg.selected":{value:"var(--silver-colors-primary-subtle)",variable:"var(--silver-colors-bg-selected)"},"colors.bg.ghost.hover":{value:"var(--silver-colors-bg-ghost-hover)",variable:"var(--silver-colors-bg-ghost-hover)"},"colors.bg.ghost.active":{value:"var(--silver-colors-bg-ghost-active)",variable:"var(--silver-colors-bg-ghost-active)"},"colors.border":{value:"var(--silver-colors-border)",variable:"var(--silver-colors-border)"},"colors.border.emphasized":{value:"var(--silver-colors-border-emphasized)",variable:"var(--silver-colors-border-emphasized)"},"colors.track":{value:"var(--silver-colors-track)",variable:"var(--silver-colors-track)"},"colors.track.emphasized":{value:"var(--silver-colors-track-emphasized)",variable:"var(--silver-colors-track-emphasized)"},"colors.track.disabled":{value:"var(--silver-colors-track-disabled)",variable:"var(--silver-colors-track-disabled)"},"colors.overlay.scrim":{value:"rgba(0, 0, 0, 0.45)",variable:"var(--silver-colors-overlay-scrim)"},"colors.overlay.scrim.subtle":{value:"rgba(0, 0, 0, 0.35)",variable:"var(--silver-colors-overlay-scrim-subtle)"},"colors.overlay.scrim.strong":{value:"rgba(0, 0, 0, 0.76)",variable:"var(--silver-colors-overlay-scrim-strong)"},"colors.skeleton":{value:"var(--silver-colors-skeleton)",variable:"var(--silver-colors-skeleton)"},"colors.skeleton.shimmer":{value:"var(--silver-colors-skeleton-shimmer)",variable:"var(--silver-colors-skeleton-shimmer)"},"colors.surface.blue":{value:"var(--silver-colors-surface-blue)",variable:"var(--silver-colors-surface-blue)"},"colors.surface.blue.fg":{value:"var(--silver-colors-surface-blue-fg)",variable:"var(--silver-colors-surface-blue-fg)"},"colors.surface.blue.hover":{value:"var(--silver-colors-surface-blue-hover)",variable:"var(--silver-colors-surface-blue-hover)"},"colors.surface.blue.accent":{value:"var(--silver-colors-surface-blue-accent)",variable:"var(--silver-colors-surface-blue-accent)"},"colors.surface.cyan":{value:"var(--silver-colors-surface-cyan)",variable:"var(--silver-colors-surface-cyan)"},"colors.surface.cyan.fg":{value:"var(--silver-colors-surface-cyan-fg)",variable:"var(--silver-colors-surface-cyan-fg)"},"colors.surface.cyan.hover":{value:"var(--silver-colors-surface-cyan-hover)",variable:"var(--silver-colors-surface-cyan-hover)"},"colors.surface.cyan.accent":{value:"var(--silver-colors-surface-cyan-accent)",variable:"var(--silver-colors-surface-cyan-accent)"},"colors.surface.gray":{value:"var(--silver-colors-surface-gray)",variable:"var(--silver-colors-surface-gray)"},"colors.surface.gray.fg":{value:"var(--silver-colors-surface-gray-fg)",variable:"var(--silver-colors-surface-gray-fg)"},"colors.surface.gray.hover":{value:"var(--silver-colors-surface-gray-hover)",variable:"var(--silver-colors-surface-gray-hover)"},"colors.surface.gray.accent":{value:"var(--silver-colors-surface-gray-accent)",variable:"var(--silver-colors-surface-gray-accent)"},"colors.surface.green":{value:"var(--silver-colors-surface-green)",variable:"var(--silver-colors-surface-green)"},"colors.surface.green.fg":{value:"var(--silver-colors-surface-green-fg)",variable:"var(--silver-colors-surface-green-fg)"},"colors.surface.green.hover":{value:"var(--silver-colors-surface-green-hover)",variable:"var(--silver-colors-surface-green-hover)"},"colors.surface.green.accent":{value:"var(--silver-colors-surface-green-accent)",variable:"var(--silver-colors-surface-green-accent)"},"colors.surface.orange":{value:"var(--silver-colors-surface-orange)",variable:"var(--silver-colors-surface-orange)"},"colors.surface.orange.fg":{value:"var(--silver-colors-surface-orange-fg)",variable:"var(--silver-colors-surface-orange-fg)"},"colors.surface.orange.hover":{value:"var(--silver-colors-surface-orange-hover)",variable:"var(--silver-colors-surface-orange-hover)"},"colors.surface.orange.accent":{value:"var(--silver-colors-surface-orange-accent)",variable:"var(--silver-colors-surface-orange-accent)"},"colors.surface.pink":{value:"var(--silver-colors-surface-pink)",variable:"var(--silver-colors-surface-pink)"},"colors.surface.pink.fg":{value:"var(--silver-colors-surface-pink-fg)",variable:"var(--silver-colors-surface-pink-fg)"},"colors.surface.pink.hover":{value:"var(--silver-colors-surface-pink-hover)",variable:"var(--silver-colors-surface-pink-hover)"},"colors.surface.pink.accent":{value:"var(--silver-colors-surface-pink-accent)",variable:"var(--silver-colors-surface-pink-accent)"},"colors.surface.purple":{value:"var(--silver-colors-surface-purple)",variable:"var(--silver-colors-surface-purple)"},"colors.surface.purple.fg":{value:"var(--silver-colors-surface-purple-fg)",variable:"var(--silver-colors-surface-purple-fg)"},"colors.surface.purple.hover":{value:"var(--silver-colors-surface-purple-hover)",variable:"var(--silver-colors-surface-purple-hover)"},"colors.surface.purple.accent":{value:"var(--silver-colors-surface-purple-accent)",variable:"var(--silver-colors-surface-purple-accent)"},"colors.surface.red":{value:"var(--silver-colors-surface-red)",variable:"var(--silver-colors-surface-red)"},"colors.surface.red.fg":{value:"var(--silver-colors-surface-red-fg)",variable:"var(--silver-colors-surface-red-fg)"},"colors.surface.red.hover":{value:"var(--silver-colors-surface-red-hover)",variable:"var(--silver-colors-surface-red-hover)"},"colors.surface.red.accent":{value:"var(--silver-colors-surface-red-accent)",variable:"var(--silver-colors-surface-red-accent)"},"colors.surface.teal":{value:"var(--silver-colors-surface-teal)",variable:"var(--silver-colors-surface-teal)"},"colors.surface.teal.fg":{value:"var(--silver-colors-surface-teal-fg)",variable:"var(--silver-colors-surface-teal-fg)"},"colors.surface.teal.hover":{value:"var(--silver-colors-surface-teal-hover)",variable:"var(--silver-colors-surface-teal-hover)"},"colors.surface.teal.accent":{value:"var(--silver-colors-surface-teal-accent)",variable:"var(--silver-colors-surface-teal-accent)"},"colors.surface.yellow":{value:"var(--silver-colors-surface-yellow)",variable:"var(--silver-colors-surface-yellow)"},"colors.surface.yellow.fg":{value:"var(--silver-colors-surface-yellow-fg)",variable:"var(--silver-colors-surface-yellow-fg)"},"colors.surface.yellow.hover":{value:"var(--silver-colors-surface-yellow-hover)",variable:"var(--silver-colors-surface-yellow-hover)"},"colors.surface.yellow.accent":{value:"var(--silver-colors-surface-yellow-accent)",variable:"var(--silver-colors-surface-yellow-accent)"},"colors.icon.primary":{value:"var(--silver-colors-fg)",variable:"var(--silver-colors-icon-primary)"},"colors.icon.secondary":{value:"var(--silver-colors-fg-muted)",variable:"var(--silver-colors-icon-secondary)"},"colors.icon.tertiary":{value:"var(--silver-colors-icon-tertiary)",variable:"var(--silver-colors-icon-tertiary)"},"colors.icon.disabled":{value:"var(--silver-colors-icon-disabled)",variable:"var(--silver-colors-icon-disabled)"},"colors.icon.accent":{value:"var(--silver-colors-primary)",variable:"var(--silver-colors-icon-accent)"},"colors.icon.success":{value:"var(--silver-colors-status-success-fg)",variable:"var(--silver-colors-icon-success)"},"colors.icon.error":{value:"var(--silver-colors-status-error-fg)",variable:"var(--silver-colors-icon-error)"},"colors.icon.warning":{value:"var(--silver-colors-status-warning-fg)",variable:"var(--silver-colors-icon-warning)"},"colors.icon.info":{value:"var(--silver-colors-status-info-fg)",variable:"var(--silver-colors-icon-info)"},"colors.icon.blue":{value:"var(--silver-colors-icon-blue)",variable:"var(--silver-colors-icon-blue)"},"colors.icon.red":{value:"var(--silver-colors-red-600)",variable:"var(--silver-colors-icon-red)"},"colors.icon.green":{value:"var(--silver-colors-green-600)",variable:"var(--silver-colors-icon-green)"},"colors.icon.gray":{value:"var(--silver-colors-icon-gray)",variable:"var(--silver-colors-icon-gray)"},"colors.icon.cyan":{value:"var(--silver-colors-icon-cyan)",variable:"var(--silver-colors-icon-cyan)"},"colors.icon.teal":{value:"var(--silver-colors-teal-500)",variable:"var(--silver-colors-icon-teal)"},"colors.icon.yellow":{value:"var(--silver-colors-icon-yellow)",variable:"var(--silver-colors-icon-yellow)"},"colors.icon.orange":{value:"var(--silver-colors-orange-500)",variable:"var(--silver-colors-icon-orange)"},"colors.icon.pink":{value:"var(--silver-colors-icon-pink)",variable:"var(--silver-colors-icon-pink)"},"colors.icon.purple":{value:"var(--silver-colors-icon-purple)",variable:"var(--silver-colors-icon-purple)"},"sizes.component.sm":{value:"var(--silver-sizes-8)",variable:"var(--silver-sizes-component-sm)"},"sizes.component.md":{value:"var(--silver-sizes-10)",variable:"var(--silver-sizes-component-md)"},"sizes.component.lg":{value:"var(--silver-sizes-12)",variable:"var(--silver-sizes-component-lg)"},"sizes.icon.sm":{value:"var(--silver-sizes-4)",variable:"var(--silver-sizes-icon-sm)"},"sizes.icon.md":{value:"var(--silver-sizes-5)",variable:"var(--silver-sizes-icon-md)"},"sizes.icon.lg":{value:"var(--silver-sizes-6)",variable:"var(--silver-sizes-icon-lg)"},"spacing.component.sm":{value:"var(--silver-spacing-3)",variable:"var(--silver-spacing-component-sm)"},"spacing.component.md":{value:"var(--silver-spacing-4)",variable:"var(--silver-spacing-component-md)"},"spacing.component.lg":{value:"var(--silver-spacing-5)",variable:"var(--silver-spacing-component-lg)"},"spacing.focusOffset":{value:"2px",variable:"var(--silver-spacing-focus-offset)"},"spacing.focusOffsetTight":{value:"1px",variable:"var(--silver-spacing-focus-offset-tight)"},"spacing.focusOffsetLoose":{value:"3px",variable:"var(--silver-spacing-focus-offset-loose)"},"fontSizes.component.sm":{value:"var(--silver-font-sizes-sm)",variable:"var(--silver-font-sizes-component-sm)"},"fontSizes.component.md":{value:"var(--silver-font-sizes-md)",variable:"var(--silver-font-sizes-component-md)"},"fontSizes.component.lg":{value:"var(--silver-font-sizes-md)",variable:"var(--silver-font-sizes-component-lg)"},"fontSizes.icon.sm":{value:"var(--silver-sizes-icon-sm)",variable:"var(--silver-font-sizes-icon-sm)"},"fontSizes.icon.md":{value:"var(--silver-sizes-icon-md)",variable:"var(--silver-font-sizes-icon-md)"},"fontSizes.icon.lg":{value:"var(--silver-sizes-icon-lg)",variable:"var(--silver-font-sizes-icon-lg)"},"radii.component.sm":{value:"var(--silver-radii-sm)",variable:"var(--silver-radii-component-sm)"},"radii.component.md":{value:"var(--silver-radii-md)",variable:"var(--silver-radii-component-md)"},"radii.component.lg":{value:"var(--silver-radii-lg)",variable:"var(--silver-radii-component-lg)"},"shadows.focus":{value:"0 0 0 var(--silver-border-widths-focus) var(--silver-colors-primary-subtle)",variable:"var(--silver-shadows-focus)"},"shadows.focus.error":{value:"0 0 0 var(--silver-border-widths-focus) var(--silver-colors-red-100)",variable:"var(--silver-shadows-focus\\.error)"},"shadows.focus.warning":{value:"0 0 0 var(--silver-border-widths-focus) var(--silver-colors-yellow-100)",variable:"var(--silver-shadows-focus\\.warning)"},"shadows.focus.success":{value:"0 0 0 var(--silver-border-widths-focus) var(--silver-colors-green-100)",variable:"var(--silver-shadows-focus\\.success)"},"spacing.-1":{value:"calc(var(--silver-spacing-1) * -1)",variable:"var(--silver-spacing-1)"},"spacing.-2":{value:"calc(var(--silver-spacing-2) * -1)",variable:"var(--silver-spacing-2)"},"spacing.-3":{value:"calc(var(--silver-spacing-3) * -1)",variable:"var(--silver-spacing-3)"},"spacing.-4":{value:"calc(var(--silver-spacing-4) * -1)",variable:"var(--silver-spacing-4)"},"spacing.-5":{value:"calc(var(--silver-spacing-5) * -1)",variable:"var(--silver-spacing-5)"},"spacing.-6":{value:"calc(var(--silver-spacing-6) * -1)",variable:"var(--silver-spacing-6)"},"spacing.-7":{value:"calc(var(--silver-spacing-7) * -1)",variable:"var(--silver-spacing-7)"},"spacing.-8":{value:"calc(var(--silver-spacing-8) * -1)",variable:"var(--silver-spacing-8)"},"spacing.-9":{value:"calc(var(--silver-spacing-9) * -1)",variable:"var(--silver-spacing-9)"},"spacing.-10":{value:"calc(var(--silver-spacing-10) * -1)",variable:"var(--silver-spacing-10)"},"spacing.-11":{value:"calc(var(--silver-spacing-11) * -1)",variable:"var(--silver-spacing-11)"},"spacing.-12":{value:"calc(var(--silver-spacing-12) * -1)",variable:"var(--silver-spacing-12)"},"spacing.-14":{value:"calc(var(--silver-spacing-14) * -1)",variable:"var(--silver-spacing-14)"},"spacing.-16":{value:"calc(var(--silver-spacing-16) * -1)",variable:"var(--silver-spacing-16)"},"spacing.-20":{value:"calc(var(--silver-spacing-20) * -1)",variable:"var(--silver-spacing-20)"},"spacing.-24":{value:"calc(var(--silver-spacing-24) * -1)",variable:"var(--silver-spacing-24)"},"spacing.-28":{value:"calc(var(--silver-spacing-28) * -1)",variable:"var(--silver-spacing-28)"},"spacing.-32":{value:"calc(var(--silver-spacing-32) * -1)",variable:"var(--silver-spacing-32)"},"spacing.-36":{value:"calc(var(--silver-spacing-36) * -1)",variable:"var(--silver-spacing-36)"},"spacing.-40":{value:"calc(var(--silver-spacing-40) * -1)",variable:"var(--silver-spacing-40)"},"spacing.-44":{value:"calc(var(--silver-spacing-44) * -1)",variable:"var(--silver-spacing-44)"},"spacing.-48":{value:"calc(var(--silver-spacing-48) * -1)",variable:"var(--silver-spacing-48)"},"spacing.-52":{value:"calc(var(--silver-spacing-52) * -1)",variable:"var(--silver-spacing-52)"},"spacing.-56":{value:"calc(var(--silver-spacing-56) * -1)",variable:"var(--silver-spacing-56)"},"spacing.-60":{value:"calc(var(--silver-spacing-60) * -1)",variable:"var(--silver-spacing-60)"},"spacing.-64":{value:"calc(var(--silver-spacing-64) * -1)",variable:"var(--silver-spacing-64)"},"spacing.-72":{value:"calc(var(--silver-spacing-72) * -1)",variable:"var(--silver-spacing-72)"},"spacing.-80":{value:"calc(var(--silver-spacing-80) * -1)",variable:"var(--silver-spacing-80)"},"spacing.-96":{value:"calc(var(--silver-spacing-96) * -1)",variable:"var(--silver-spacing-96)"},"spacing.-0.5":{value:"calc(var(--silver-spacing-0\\.5) * -1)",variable:"var(--silver-spacing-0\\.5)"},"spacing.-1.5":{value:"calc(var(--silver-spacing-1\\.5) * -1)",variable:"var(--silver-spacing-1\\.5)"},"spacing.-2.5":{value:"calc(var(--silver-spacing-2\\.5) * -1)",variable:"var(--silver-spacing-2\\.5)"},"spacing.-3.5":{value:"calc(var(--silver-spacing-3\\.5) * -1)",variable:"var(--silver-spacing-3\\.5)"},"spacing.-4.5":{value:"calc(var(--silver-spacing-4\\.5) * -1)",variable:"var(--silver-spacing-4\\.5)"},"spacing.-5.5":{value:"calc(var(--silver-spacing-5\\.5) * -1)",variable:"var(--silver-spacing-5\\.5)"},"spacing.component.-sm":{value:"calc(var(--silver-spacing-component-sm) * -1)",variable:"var(--silver-spacing-component-sm)"},"spacing.component.-md":{value:"calc(var(--silver-spacing-component-md) * -1)",variable:"var(--silver-spacing-component-md)"},"spacing.component.-lg":{value:"calc(var(--silver-spacing-component-lg) * -1)",variable:"var(--silver-spacing-component-lg)"},"spacing.-focusOffset":{value:"calc(var(--silver-spacing-focus-offset) * -1)",variable:"var(--silver-spacing-focus-offset)"},"spacing.-focusOffsetTight":{value:"calc(var(--silver-spacing-focus-offset-tight) * -1)",variable:"var(--silver-spacing-focus-offset-tight)"},"spacing.-focusOffsetLoose":{value:"calc(var(--silver-spacing-focus-offset-loose) * -1)",variable:"var(--silver-spacing-focus-offset-loose)"},"colors.colorPalette":{value:"var(--silver-colors-color-palette)",variable:"var(--silver-colors-color-palette)"},"colors.colorPalette.50":{value:"var(--silver-colors-color-palette-50)",variable:"var(--silver-colors-color-palette-50)"},"colors.colorPalette.100":{value:"var(--silver-colors-color-palette-100)",variable:"var(--silver-colors-color-palette-100)"},"colors.colorPalette.200":{value:"var(--silver-colors-color-palette-200)",variable:"var(--silver-colors-color-palette-200)"},"colors.colorPalette.300":{value:"var(--silver-colors-color-palette-300)",variable:"var(--silver-colors-color-palette-300)"},"colors.colorPalette.400":{value:"var(--silver-colors-color-palette-400)",variable:"var(--silver-colors-color-palette-400)"},"colors.colorPalette.500":{value:"var(--silver-colors-color-palette-500)",variable:"var(--silver-colors-color-palette-500)"},"colors.colorPalette.600":{value:"var(--silver-colors-color-palette-600)",variable:"var(--silver-colors-color-palette-600)"},"colors.colorPalette.700":{value:"var(--silver-colors-color-palette-700)",variable:"var(--silver-colors-color-palette-700)"},"colors.colorPalette.800":{value:"var(--silver-colors-color-palette-800)",variable:"var(--silver-colors-color-palette-800)"},"colors.colorPalette.900":{value:"var(--silver-colors-color-palette-900)",variable:"var(--silver-colors-color-palette-900)"},"colors.colorPalette.950":{value:"var(--silver-colors-color-palette-950)",variable:"var(--silver-colors-color-palette-950)"},"colors.colorPalette.hover":{value:"var(--silver-colors-color-palette-hover)",variable:"var(--silver-colors-color-palette-hover)"},"colors.colorPalette.active":{value:"var(--silver-colors-color-palette-active)",variable:"var(--silver-colors-color-palette-active)"},"colors.colorPalette.subtle":{value:"var(--silver-colors-color-palette-subtle)",variable:"var(--silver-colors-color-palette-subtle)"},"colors.colorPalette.fg":{value:"var(--silver-colors-color-palette-fg)",variable:"var(--silver-colors-color-palette-fg)"},"colors.colorPalette.success.fg":{value:"var(--silver-colors-color-palette-success-fg)",variable:"var(--silver-colors-color-palette-success-fg)"},"colors.colorPalette.success.border":{value:"var(--silver-colors-color-palette-success-border)",variable:"var(--silver-colors-color-palette-success-border)"},"colors.colorPalette.border":{value:"var(--silver-colors-color-palette-border)",variable:"var(--silver-colors-color-palette-border)"},"colors.colorPalette.success.borderHover":{value:"var(--silver-colors-color-palette-success-border-hover)",variable:"var(--silver-colors-color-palette-success-border-hover)"},"colors.colorPalette.borderHover":{value:"var(--silver-colors-color-palette-border-hover)",variable:"var(--silver-colors-color-palette-border-hover)"},"colors.colorPalette.success.solid":{value:"var(--silver-colors-color-palette-success-solid)",variable:"var(--silver-colors-color-palette-success-solid)"},"colors.colorPalette.solid":{value:"var(--silver-colors-color-palette-solid)",variable:"var(--silver-colors-color-palette-solid)"},"colors.colorPalette.success.solidFg":{value:"var(--silver-colors-color-palette-success-solid-fg)",variable:"var(--silver-colors-color-palette-success-solid-fg)"},"colors.colorPalette.solidFg":{value:"var(--silver-colors-color-palette-solid-fg)",variable:"var(--silver-colors-color-palette-solid-fg)"},"colors.colorPalette.error.fg":{value:"var(--silver-colors-color-palette-error-fg)",variable:"var(--silver-colors-color-palette-error-fg)"},"colors.colorPalette.error.border":{value:"var(--silver-colors-color-palette-error-border)",variable:"var(--silver-colors-color-palette-error-border)"},"colors.colorPalette.error.borderHover":{value:"var(--silver-colors-color-palette-error-border-hover)",variable:"var(--silver-colors-color-palette-error-border-hover)"},"colors.colorPalette.error.solid":{value:"var(--silver-colors-color-palette-error-solid)",variable:"var(--silver-colors-color-palette-error-solid)"},"colors.colorPalette.error.solidFg":{value:"var(--silver-colors-color-palette-error-solid-fg)",variable:"var(--silver-colors-color-palette-error-solid-fg)"},"colors.colorPalette.warning.fg":{value:"var(--silver-colors-color-palette-warning-fg)",variable:"var(--silver-colors-color-palette-warning-fg)"},"colors.colorPalette.warning.border":{value:"var(--silver-colors-color-palette-warning-border)",variable:"var(--silver-colors-color-palette-warning-border)"},"colors.colorPalette.warning.borderHover":{value:"var(--silver-colors-color-palette-warning-border-hover)",variable:"var(--silver-colors-color-palette-warning-border-hover)"},"colors.colorPalette.warning.solid":{value:"var(--silver-colors-color-palette-warning-solid)",variable:"var(--silver-colors-color-palette-warning-solid)"},"colors.colorPalette.warning.solidFg":{value:"var(--silver-colors-color-palette-warning-solid-fg)",variable:"var(--silver-colors-color-palette-warning-solid-fg)"},"colors.colorPalette.info.fg":{value:"var(--silver-colors-color-palette-info-fg)",variable:"var(--silver-colors-color-palette-info-fg)"},"colors.colorPalette.info.solid":{value:"var(--silver-colors-color-palette-info-solid)",variable:"var(--silver-colors-color-palette-info-solid)"},"colors.colorPalette.info.solidFg":{value:"var(--silver-colors-color-palette-info-solid-fg)",variable:"var(--silver-colors-color-palette-info-solid-fg)"},"colors.colorPalette.neutral.solid":{value:"var(--silver-colors-color-palette-neutral-solid)",variable:"var(--silver-colors-color-palette-neutral-solid)"},"colors.colorPalette.neutral.solidFg":{value:"var(--silver-colors-color-palette-neutral-solid-fg)",variable:"var(--silver-colors-color-palette-neutral-solid-fg)"},"colors.colorPalette.disabled.solid":{value:"var(--silver-colors-color-palette-disabled-solid)",variable:"var(--silver-colors-color-palette-disabled-solid)"},"colors.colorPalette.disabled.solidFg":{value:"var(--silver-colors-color-palette-disabled-solid-fg)",variable:"var(--silver-colors-color-palette-disabled-solid-fg)"},"colors.colorPalette.success":{value:"var(--silver-colors-color-palette-success)",variable:"var(--silver-colors-color-palette-success)"},"colors.colorPalette.neutral":{value:"var(--silver-colors-color-palette-neutral)",variable:"var(--silver-colors-color-palette-neutral)"},"colors.colorPalette.error":{value:"var(--silver-colors-color-palette-error)",variable:"var(--silver-colors-color-palette-error)"},"colors.colorPalette.muted":{value:"var(--silver-colors-color-palette-muted)",variable:"var(--silver-colors-color-palette-muted)"},"colors.colorPalette.disabled":{value:"var(--silver-colors-color-palette-disabled)",variable:"var(--silver-colors-color-palette-disabled)"},"colors.colorPalette.onPrimary":{value:"var(--silver-colors-color-palette-on-primary)",variable:"var(--silver-colors-color-palette-on-primary)"},"colors.colorPalette.selected":{value:"var(--silver-colors-color-palette-selected)",variable:"var(--silver-colors-color-palette-selected)"},"colors.colorPalette.ghost.hover":{value:"var(--silver-colors-color-palette-ghost-hover)",variable:"var(--silver-colors-color-palette-ghost-hover)"},"colors.colorPalette.ghost.active":{value:"var(--silver-colors-color-palette-ghost-active)",variable:"var(--silver-colors-color-palette-ghost-active)"},"colors.colorPalette.emphasized":{value:"var(--silver-colors-color-palette-emphasized)",variable:"var(--silver-colors-color-palette-emphasized)"},"colors.colorPalette.scrim":{value:"var(--silver-colors-color-palette-scrim)",variable:"var(--silver-colors-color-palette-scrim)"},"colors.colorPalette.scrim.subtle":{value:"var(--silver-colors-color-palette-scrim-subtle)",variable:"var(--silver-colors-color-palette-scrim-subtle)"},"colors.colorPalette.scrim.strong":{value:"var(--silver-colors-color-palette-scrim-strong)",variable:"var(--silver-colors-color-palette-scrim-strong)"},"colors.colorPalette.strong":{value:"var(--silver-colors-color-palette-strong)",variable:"var(--silver-colors-color-palette-strong)"},"colors.colorPalette.shimmer":{value:"var(--silver-colors-color-palette-shimmer)",variable:"var(--silver-colors-color-palette-shimmer)"},"colors.colorPalette.blue":{value:"var(--silver-colors-color-palette-blue)",variable:"var(--silver-colors-color-palette-blue)"},"colors.colorPalette.blue.fg":{value:"var(--silver-colors-color-palette-blue-fg)",variable:"var(--silver-colors-color-palette-blue-fg)"},"colors.colorPalette.blue.hover":{value:"var(--silver-colors-color-palette-blue-hover)",variable:"var(--silver-colors-color-palette-blue-hover)"},"colors.colorPalette.blue.accent":{value:"var(--silver-colors-color-palette-blue-accent)",variable:"var(--silver-colors-color-palette-blue-accent)"},"colors.colorPalette.accent":{value:"var(--silver-colors-color-palette-accent)",variable:"var(--silver-colors-color-palette-accent)"},"colors.colorPalette.cyan":{value:"var(--silver-colors-color-palette-cyan)",variable:"var(--silver-colors-color-palette-cyan)"},"colors.colorPalette.cyan.fg":{value:"var(--silver-colors-color-palette-cyan-fg)",variable:"var(--silver-colors-color-palette-cyan-fg)"},"colors.colorPalette.cyan.hover":{value:"var(--silver-colors-color-palette-cyan-hover)",variable:"var(--silver-colors-color-palette-cyan-hover)"},"colors.colorPalette.cyan.accent":{value:"var(--silver-colors-color-palette-cyan-accent)",variable:"var(--silver-colors-color-palette-cyan-accent)"},"colors.colorPalette.gray":{value:"var(--silver-colors-color-palette-gray)",variable:"var(--silver-colors-color-palette-gray)"},"colors.colorPalette.gray.fg":{value:"var(--silver-colors-color-palette-gray-fg)",variable:"var(--silver-colors-color-palette-gray-fg)"},"colors.colorPalette.gray.hover":{value:"var(--silver-colors-color-palette-gray-hover)",variable:"var(--silver-colors-color-palette-gray-hover)"},"colors.colorPalette.gray.accent":{value:"var(--silver-colors-color-palette-gray-accent)",variable:"var(--silver-colors-color-palette-gray-accent)"},"colors.colorPalette.green":{value:"var(--silver-colors-color-palette-green)",variable:"var(--silver-colors-color-palette-green)"},"colors.colorPalette.green.fg":{value:"var(--silver-colors-color-palette-green-fg)",variable:"var(--silver-colors-color-palette-green-fg)"},"colors.colorPalette.green.hover":{value:"var(--silver-colors-color-palette-green-hover)",variable:"var(--silver-colors-color-palette-green-hover)"},"colors.colorPalette.green.accent":{value:"var(--silver-colors-color-palette-green-accent)",variable:"var(--silver-colors-color-palette-green-accent)"},"colors.colorPalette.orange":{value:"var(--silver-colors-color-palette-orange)",variable:"var(--silver-colors-color-palette-orange)"},"colors.colorPalette.orange.fg":{value:"var(--silver-colors-color-palette-orange-fg)",variable:"var(--silver-colors-color-palette-orange-fg)"},"colors.colorPalette.orange.hover":{value:"var(--silver-colors-color-palette-orange-hover)",variable:"var(--silver-colors-color-palette-orange-hover)"},"colors.colorPalette.orange.accent":{value:"var(--silver-colors-color-palette-orange-accent)",variable:"var(--silver-colors-color-palette-orange-accent)"},"colors.colorPalette.pink":{value:"var(--silver-colors-color-palette-pink)",variable:"var(--silver-colors-color-palette-pink)"},"colors.colorPalette.pink.fg":{value:"var(--silver-colors-color-palette-pink-fg)",variable:"var(--silver-colors-color-palette-pink-fg)"},"colors.colorPalette.pink.hover":{value:"var(--silver-colors-color-palette-pink-hover)",variable:"var(--silver-colors-color-palette-pink-hover)"},"colors.colorPalette.pink.accent":{value:"var(--silver-colors-color-palette-pink-accent)",variable:"var(--silver-colors-color-palette-pink-accent)"},"colors.colorPalette.purple":{value:"var(--silver-colors-color-palette-purple)",variable:"var(--silver-colors-color-palette-purple)"},"colors.colorPalette.purple.fg":{value:"var(--silver-colors-color-palette-purple-fg)",variable:"var(--silver-colors-color-palette-purple-fg)"},"colors.colorPalette.purple.hover":{value:"var(--silver-colors-color-palette-purple-hover)",variable:"var(--silver-colors-color-palette-purple-hover)"},"colors.colorPalette.purple.accent":{value:"var(--silver-colors-color-palette-purple-accent)",variable:"var(--silver-colors-color-palette-purple-accent)"},"colors.colorPalette.red":{value:"var(--silver-colors-color-palette-red)",variable:"var(--silver-colors-color-palette-red)"},"colors.colorPalette.red.fg":{value:"var(--silver-colors-color-palette-red-fg)",variable:"var(--silver-colors-color-palette-red-fg)"},"colors.colorPalette.red.hover":{value:"var(--silver-colors-color-palette-red-hover)",variable:"var(--silver-colors-color-palette-red-hover)"},"colors.colorPalette.red.accent":{value:"var(--silver-colors-color-palette-red-accent)",variable:"var(--silver-colors-color-palette-red-accent)"},"colors.colorPalette.teal":{value:"var(--silver-colors-color-palette-teal)",variable:"var(--silver-colors-color-palette-teal)"},"colors.colorPalette.teal.fg":{value:"var(--silver-colors-color-palette-teal-fg)",variable:"var(--silver-colors-color-palette-teal-fg)"},"colors.colorPalette.teal.hover":{value:"var(--silver-colors-color-palette-teal-hover)",variable:"var(--silver-colors-color-palette-teal-hover)"},"colors.colorPalette.teal.accent":{value:"var(--silver-colors-color-palette-teal-accent)",variable:"var(--silver-colors-color-palette-teal-accent)"},"colors.colorPalette.yellow":{value:"var(--silver-colors-color-palette-yellow)",variable:"var(--silver-colors-color-palette-yellow)"},"colors.colorPalette.yellow.fg":{value:"var(--silver-colors-color-palette-yellow-fg)",variable:"var(--silver-colors-color-palette-yellow-fg)"},"colors.colorPalette.yellow.hover":{value:"var(--silver-colors-color-palette-yellow-hover)",variable:"var(--silver-colors-color-palette-yellow-hover)"},"colors.colorPalette.yellow.accent":{value:"var(--silver-colors-color-palette-yellow-accent)",variable:"var(--silver-colors-color-palette-yellow-accent)"},"colors.colorPalette.primary":{value:"var(--silver-colors-color-palette-primary)",variable:"var(--silver-colors-color-palette-primary)"},"colors.colorPalette.secondary":{value:"var(--silver-colors-color-palette-secondary)",variable:"var(--silver-colors-color-palette-secondary)"},"colors.colorPalette.tertiary":{value:"var(--silver-colors-color-palette-tertiary)",variable:"var(--silver-colors-color-palette-tertiary)"},"colors.colorPalette.warning":{value:"var(--silver-colors-color-palette-warning)",variable:"var(--silver-colors-color-palette-warning)"},"colors.colorPalette.info":{value:"var(--silver-colors-color-palette-info)",variable:"var(--silver-colors-color-palette-info)"}};function Cv(n,a){var l;return((l=wy[n])==null?void 0:l.value)||a}function V3(n,a){var l;return((l=wy[n])==null?void 0:l.variable)||a}Cv.var=V3;var xy=`var(--silver-text-color, ${Cv.var("colors.fg")})`,Xc=`var(--silver-text-color-muted, ${Cv.var("colors.fg.muted")})`,Sy=Wr({base:{m:0,fontFamily:"body"},variants:{type:{body:{fontSize:"md",lineHeight:"normal",fontWeight:"normal"},large:{fontSize:"lg",lineHeight:"normal",fontWeight:"normal"},label:{fontSize:"sm",lineHeight:"snug",fontWeight:"medium"},supporting:{fontSize:"sm",lineHeight:"normal",fontWeight:"normal"},code:{fontFamily:"mono",fontSize:"sm",lineHeight:"normal",fontWeight:"normal"},"display-1":{fontSize:"5xl",lineHeight:"tight",fontWeight:"semibold"},"display-2":{fontSize:"4xl",lineHeight:"tight",fontWeight:"semibold"},"display-3":{fontSize:"3xl",lineHeight:"tight",fontWeight:"semibold"},inherit:{fontFamily:"inherit",fontSize:"inherit",lineHeight:"inherit",fontWeight:"inherit"}},size:{xs:{fontSize:"xs"},sm:{fontSize:"sm"},md:{fontSize:"md"},lg:{fontSize:"lg"},xl:{fontSize:"xl"},"2xl":{fontSize:"2xl"},"3xl":{fontSize:"3xl"},"4xl":{fontSize:"4xl"},"5xl":{fontSize:"5xl"},"6xl":{fontSize:"6xl"},inherit:{fontSize:"inherit"}},color:{primary:{color:xy},secondary:{color:Xc},disabled:{color:"fg.disabled"},placeholder:{color:Xc},active:{color:"primary"},inherit:{color:"inherit"}},weight:{normal:{fontWeight:"normal"},medium:{fontWeight:"medium"},semibold:{fontWeight:"semibold"},bold:{fontWeight:"bold"},inherit:{fontWeight:"inherit"}},display:{inline:{display:"inline"},block:{display:"block"}},wordBreak:{"break-word":{wordBreak:"normal",overflowWrap:"break-word"},"break-all":{wordBreak:"break-all"}},textWrap:{wrap:{textWrap:"wrap"},nowrap:{textWrap:"nowrap"},balance:{textWrap:"balance"},pretty:{textWrap:"pretty"}},hasStrikethrough:{true:{textDecoration:"line-through"},false:{}},hasTabularNumbers:{true:{fontVariantNumeric:"tabular-nums"},false:{}},maxLines:{none:{},one:{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},multiple:{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"}}},defaultVariants:{type:"body",color:"primary",display:"inline",hasStrikethrough:!1,hasTabularNumbers:!1,maxLines:"none"}}),_y=Wr({base:{m:0,fontFamily:"body",fontWeight:"semibold",color:"fg"},variants:{level:{1:{fontSize:"4xl",lineHeight:"tight"},2:{fontSize:"3xl",lineHeight:"tight"},3:{fontSize:"2xl",lineHeight:"snug"},4:{fontSize:"xl",lineHeight:"snug"},5:{fontSize:"lg",lineHeight:"snug"},6:{fontSize:"md",lineHeight:"snug"}},color:{primary:{color:xy},secondary:{color:Xc},disabled:{color:"fg.disabled"},placeholder:{color:Xc},active:{color:"primary"},inherit:{color:"inherit"}},display:{inline:{display:"inline"},block:{display:"block"}},wordBreak:{"break-word":{wordBreak:"normal",overflowWrap:"break-word"},"break-all":{wordBreak:"break-all"}},textWrap:{wrap:{textWrap:"wrap"},nowrap:{textWrap:"nowrap"},balance:{textWrap:"balance"},pretty:{textWrap:"pretty"}},hasStrikethrough:{true:{textDecoration:"line-through"},false:{}},maxLines:{none:{},one:{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},multiple:{display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"}}},defaultVariants:{level:2,color:"primary",display:"block",hasStrikethrough:!1,maxLines:"none"}});function Ty(n){return n===1?"one":n>1?"multiple":"none"}var Ey={elementWidth:0,isTruncated:!1,fullText:""};function X3(n){if(typeof document>"u")return n.scrollHeight;try{const a=document.createRange();return a.selectNodeContents(n),a.getBoundingClientRect().height}catch{return n.scrollHeight}}function $3(n,a){return a===1?n.scrollWidth>n.offsetWidth:X3(n)>n.offsetHeight}function Q3(n,a){return n==null||a<=0?Ey:{elementWidth:n.offsetWidth,fullText:n.textContent,isTruncated:$3(n,a)}}function zy({maxLines:n}){const a=B.useRef({state:Ey,listeners:new Set}),l=B.useRef(null),o=B.useRef(null),s=B.useRef(null),c=B.useCallback(T=>{const E=a.current;return E.listeners.add(T),()=>{E.listeners.delete(T)}},[]),f=B.useCallback(()=>a.current.state,[]),v=B.useCallback(T=>{const E=a.current;if(!(E.state.isTruncated===T.isTruncated&&E.state.fullText===T.fullText&&E.state.elementWidth===T.elementWidth)){E.state=T;for(const z of E.listeners)z()}},[]),m=B.useCallback(()=>{o.current!=null&&(cancelAnimationFrame(o.current),o.current=null)},[]),h=B.useCallback(()=>{var T;(T=s.current)==null||T.disconnect(),s.current=null},[]),g=B.useCallback((T,E)=>{m(),o.current=requestAnimationFrame(()=>{o.current=null,v(Q3(T,E))})},[m,v]),b=B.useCallback((T,E)=>{h(),!(T==null||E<=0||typeof ResizeObserver>"u")&&(s.current=new ResizeObserver(()=>{g(T,E)}),s.current.observe(T))},[h,g]),p=B.useCallback(T=>{l.current=T,b(T,n),g(T,n)},[n,b,g]);nu(()=>{const T=l.current;return b(T,n),g(T,n),()=>{m(),h()}},[m,h,n,b,g]);const S=B.useSyncExternalStore(c,f,f);return{ref:p,...S}}var Dy={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"};function W3({level:n,accessibilityLevel:a,color:l="primary",display:o="block",maxLines:s,truncateTooltip:c,wordBreak:f,textWrap:v,hasStrikethrough:m=!1,children:h,className:g,"data-testid":b,style:p,ref:S,...T}){const E=Dy[n],z=a!=null&&a!==n?a:void 0;return D.jsx(E,{...T,"aria-level":z,className:He(_y({level:n,color:l,display:o,textWrap:v,hasStrikethrough:m,maxLines:"none"}),g),"data-testid":b,ref:S,style:p,children:h})}function K3({level:n,accessibilityLevel:a,color:l="primary",display:o,maxLines:s=1,truncateTooltip:c="above",wordBreak:f,textWrap:v,hasStrikethrough:m=!1,children:h,className:g,"data-testid":b,style:p,ref:S,...T}){const E=B.useRef(null),z=zy({maxLines:s}),A=f??"break-word",q=c!==!1&&z.isTruncated,N=Dv({placement:c===!1?"above":c,isEnabled:q}),W=N.ref,Q=N.describedBy;nu(()=>{const I=E.current;if(I==null)return;W(I);const le=I.getAttribute("aria-describedby");return I.setAttribute("aria-describedby",[le,Q].filter(Boolean).join(" ")),()=>{W(null),le!=null?I.setAttribute("aria-describedby",le):I.removeAttribute("aria-describedby")}},[W,Q]);const P=s>1?{WebkitLineClamp:s}:void 0,K=Dy[n],ae=a!=null&&a!==n?a:void 0;return D.jsxs(D.Fragment,{children:[D.jsx(K,{...T,"aria-level":ae,className:He(_y({level:n,color:l,display:"block",wordBreak:A,textWrap:v,hasStrikethrough:m,maxLines:Ty(s)}),g),"data-testid":b,ref:yi(S,z.ref,E),style:{...p,...P},children:h}),q?N.renderTooltip(z.fullText,{contentStyle:{maxWidth:z.elementWidth||void 0}}):null]})}function mi(n){let{maxLines:a=0}=n;return a=Math.max(0,a),a>0?D.jsx(K3,{...n,maxLines:a}):D.jsx(W3,{...n})}mi.displayName="Heading";var Cy={body:"primary",large:"primary",label:"primary",supporting:"secondary",code:"primary","display-1":"primary","display-2":"primary","display-3":"primary",inherit:"inherit"};function F3({type:n="body",size:a,color:l,weight:o,display:s="inline",maxLines:c,truncateTooltip:f,wordBreak:v,textWrap:m,hasStrikethrough:h=!1,hasTabularNumbers:g=!1,as:b="span",children:p,className:S,"data-testid":T,style:E,ref:z,...A}){const q=l??Cy[n];return D.jsx(b,{...A,className:He(Sy({type:n,size:a,color:q,weight:o,display:s,textWrap:m,hasStrikethrough:h,hasTabularNumbers:g,maxLines:"none"}),S),"data-testid":T,ref:z,style:E,children:p})}function I3({type:n="body",size:a,color:l,weight:o,display:s,maxLines:c=1,truncateTooltip:f="above",wordBreak:v,textWrap:m,hasStrikethrough:h=!1,hasTabularNumbers:g=!1,as:b="span",children:p,className:S,"data-testid":T,style:E,ref:z,...A}){const q=B.useRef(null),N=zy({maxLines:c}),W=l??Cy[n],Q=v??"break-word",P=f!==!1&&N.isTruncated,K=Dv({placement:f===!1?"above":f,isEnabled:P}),ae=K.ref,I=K.describedBy;nu(()=>{const ne=q.current;if(ne==null)return;ae(ne);const re=ne.getAttribute("aria-describedby");return ne.setAttribute("aria-describedby",[re,I].filter(Boolean).join(" ")),()=>{ae(null),re!=null?ne.setAttribute("aria-describedby",re):ne.removeAttribute("aria-describedby")}},[ae,I]);const le=c>1?{WebkitLineClamp:c}:void 0;return D.jsxs(D.Fragment,{children:[D.jsx(b,{...A,className:He(Sy({type:n,size:a,color:W,weight:o,display:"block",wordBreak:Q,textWrap:m,hasStrikethrough:h,hasTabularNumbers:g,maxLines:Ty(c)}),S),"data-testid":T,ref:yi(z,N.ref,q),style:{...E,...le},children:p}),P?K.renderTooltip(N.fullText,{contentStyle:{maxWidth:N.elementWidth||void 0}}):null]})}function Ut(n){let{maxLines:a=0}=n;return a=Math.max(0,a),a>0?D.jsx(I3,{...n,maxLines:a}):D.jsx(F3,{...n})}Ut.displayName="Text";function Mv(n,a){return n===!0?{isOptional:!0}:a===!0?{isRequired:!0}:{}}function Ov({children:n,label:a,isLabelHidden:l=!1,description:o,inputId:s,descriptionID:c,isOptional:f=!1,isRequired:v=!1,isDisabled:m=!1,labelAs:h="label",labelIcon:g,labelId:b,labelTooltip:p,status:S,statusVariant:T="attached",className:E,"data-testid":z,style:A,ref:q}){const N=c??(ct(o)?`${s}-description`:void 0),W=(S==null?void 0:S.messageID)??((S==null?void 0:S.message)!=null?`${s}-status`:void 0),Q=f?"Optional":v?"Required":null,P=A3({isDisabled:m,statusType:S==null?void 0:S.type,statusVariant:T}),K=D.jsxs(h,{className:P.label,...h==="label"?{htmlFor:s}:void 0,id:b,children:[g!=null?D.jsx(Pt,{color:"secondary",icon:g,size:"sm"}):null,D.jsx(Ut,{as:"span",color:"inherit",type:"label",children:a}),Q!=null?D.jsxs(Ut,{as:"span",className:P.indicator,type:"supporting",children:[D.jsx("span",{"aria-hidden":"true",children:" · "}),Q]}):null,ct(p)?D.jsx(Di,{content:p,children:D.jsx("span",{className:P.tooltipIcon,children:D.jsx(Pt,{icon:by,size:"sm"})})}):null]}),ae=ct(o)?D.jsx(Ut,{as:"span",color:"secondary",id:N,type:"supporting",children:o}):null,I=(S==null?void 0:S.message)!=null?D.jsx("div",{"aria-live":S.type==="error"?"assertive":"polite",className:P.status,id:W,role:S.type==="error"?"alert":"status",children:S.message}):null;return D.jsxs("div",{className:He(P.root,E),"data-testid":z,ref:q,style:A,children:[l?D.jsxs(Dl,{children:[K,ae]}):D.jsxs(D.Fragment,{children:[K,ae]}),T==="attached"?D.jsxs("div",{className:P.inputWrapper,children:[n,I]}):D.jsxs(D.Fragment,{children:[n,I]})]})}Ov.displayName="Field";function Av(...n){const a=n.filter(Boolean);return a.length>0?a.join(" "):void 0}function Rv(n,a){return(a==null?void 0:a.message)!=null?`${n}-status`:void 0}function My(n){return n==="success"?D.jsx(Pt,{color:"success",icon:w3,size:"sm"}):n==="warning"?D.jsx(Pt,{color:"warning",icon:y3,size:"sm"}):D.jsx(Pt,{color:"error",icon:S3,size:"sm"})}var P3=Rl({slots:["root","visual"],base:{root:{"--spinner-size":"var(--silver-sizes-icon-md)",display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",color:"primary",w:"var(--spinner-size)",h:"var(--spinner-size)"},visual:{display:"block",w:"var(--spinner-size)",h:"var(--spinner-size)",flexShrink:0,aspectRatio:"square",borderRadius:"full",borderWidth:"emphasized",borderStyle:"solid",borderColor:"currentColor",borderTopColor:"transparent",animation:"spin 0.8s linear infinite","@media (prefers-reduced-motion: reduce)":{animation:"none"}}},variants:{size:{sm:{root:{"--spinner-size":"var(--silver-sizes-icon-sm)"}},md:{root:{"--spinner-size":"var(--silver-sizes-icon-md)"}},lg:{root:{"--spinner-size":"var(--silver-sizes-icon-lg)"}},xl:{root:{"--spinner-size":"2.25rem"}}},variant:{default:{root:{color:"primary"}},onMedia:{root:{color:"fg.onPrimary"}}},hasLabel:{true:{root:{flexDirection:"column",gap:"2",w:"auto",h:"auto"}}}},defaultVariants:{size:"md",variant:"default",hasLabel:!1}});function $r({size:n,variant:a,label:l,className:o,"data-testid":s,style:c,ref:f,"aria-label":v}){const m=typeof l=="string"&&l!=="",h=v!=null&&v!==""?v:m?l:"Loading",g=a==="onMedia"?"inherit":void 0,b=P3({size:n,variant:a,hasLabel:m});return D.jsxs("span",{"aria-label":h,className:He(b.root,o),"data-testid":s,ref:f,role:"status",style:c,children:[D.jsx("span",{"aria-hidden":"true",className:b.visual}),m?D.jsx(Ut,{as:"span",color:g,type:"label",children:l}):null]})}$r.displayName="Spinner";var J3={bg:"--silver-colors-bg",bgGhostActive:"--silver-colors-bg-ghost-active",bgGhostHover:"--silver-colors-bg-ghost-hover",bgHover:"--silver-colors-bg-hover",bgSelected:"--silver-colors-bg-selected",bgSubtle:"--silver-colors-bg-subtle",border:"--silver-colors-border",borderEmphasized:"--silver-colors-border-emphasized",destructive:"--silver-colors-destructive",destructiveActive:"--silver-colors-destructive-active",destructiveFg:"--silver-colors-destructive-fg",destructiveHover:"--silver-colors-destructive-hover",fg:"--silver-colors-fg",fgDisabled:"--silver-colors-fg-disabled",fgMuted:"--silver-colors-fg-muted",fgOnPrimary:"--silver-colors-fg-on-primary",primary:"--silver-colors-primary",primaryActive:"--silver-colors-primary-active",primaryHover:"--silver-colors-primary-hover",primarySubtle:"--silver-colors-primary-subtle",iconAccent:"--silver-colors-icon-accent",iconBlue:"--silver-colors-icon-blue",iconCyan:"--silver-colors-icon-cyan",iconDisabled:"--silver-colors-icon-disabled",iconError:"--silver-colors-icon-error",iconGray:"--silver-colors-icon-gray",iconGreen:"--silver-colors-icon-green",iconInfo:"--silver-colors-icon-info",iconOrange:"--silver-colors-icon-orange",iconPink:"--silver-colors-icon-pink",iconPrimary:"--silver-colors-icon-primary",iconPurple:"--silver-colors-icon-purple",iconRed:"--silver-colors-icon-red",iconSecondary:"--silver-colors-icon-secondary",iconSuccess:"--silver-colors-icon-success",iconTeal:"--silver-colors-icon-teal",iconTertiary:"--silver-colors-icon-tertiary",iconWarning:"--silver-colors-icon-warning",iconYellow:"--silver-colors-icon-yellow",overlayScrim:"--silver-colors-overlay-scrim",overlayScrimStrong:"--silver-colors-overlay-scrim-strong",overlayScrimSubtle:"--silver-colors-overlay-scrim-subtle",presenceError:"--silver-colors-presence-error",presenceNeutral:"--silver-colors-presence-neutral",presenceSuccess:"--silver-colors-presence-success",skeleton:"--silver-colors-skeleton",skeletonShimmer:"--silver-colors-skeleton-shimmer",statusDisabledSolid:"--silver-colors-status-disabled-solid",statusDisabledSolidFg:"--silver-colors-status-disabled-solid-fg",statusErrorBorder:"--silver-colors-status-error-border",statusErrorBorderHover:"--silver-colors-status-error-border-hover",statusErrorFg:"--silver-colors-status-error-fg",statusErrorSolid:"--silver-colors-status-error-solid",statusErrorSolidFg:"--silver-colors-status-error-solid-fg",statusInfoFg:"--silver-colors-status-info-fg",statusInfoSolid:"--silver-colors-status-info-solid",statusInfoSolidFg:"--silver-colors-status-info-solid-fg",statusNeutralSolid:"--silver-colors-status-neutral-solid",statusNeutralSolidFg:"--silver-colors-status-neutral-solid-fg",statusSuccessBorder:"--silver-colors-status-success-border",statusSuccessBorderHover:"--silver-colors-status-success-border-hover",statusSuccessFg:"--silver-colors-status-success-fg",statusSuccessSolid:"--silver-colors-status-success-solid",statusSuccessSolidFg:"--silver-colors-status-success-solid-fg",statusWarningBorder:"--silver-colors-status-warning-border",statusWarningBorderHover:"--silver-colors-status-warning-border-hover",statusWarningFg:"--silver-colors-status-warning-fg",statusWarningSolid:"--silver-colors-status-warning-solid",statusWarningSolidFg:"--silver-colors-status-warning-solid-fg",surfaceBlue:"--silver-colors-surface-blue",surfaceBlueAccent:"--silver-colors-surface-blue-accent",surfaceBlueFg:"--silver-colors-surface-blue-fg",surfaceBlueHover:"--silver-colors-surface-blue-hover",surfaceCyan:"--silver-colors-surface-cyan",surfaceCyanAccent:"--silver-colors-surface-cyan-accent",surfaceCyanFg:"--silver-colors-surface-cyan-fg",surfaceCyanHover:"--silver-colors-surface-cyan-hover",surfaceGray:"--silver-colors-surface-gray",surfaceGrayAccent:"--silver-colors-surface-gray-accent",surfaceGrayFg:"--silver-colors-surface-gray-fg",surfaceGrayHover:"--silver-colors-surface-gray-hover",surfaceGreen:"--silver-colors-surface-green",surfaceGreenAccent:"--silver-colors-surface-green-accent",surfaceGreenFg:"--silver-colors-surface-green-fg",surfaceGreenHover:"--silver-colors-surface-green-hover",surfaceOrange:"--silver-colors-surface-orange",surfaceOrangeAccent:"--silver-colors-surface-orange-accent",surfaceOrangeFg:"--silver-colors-surface-orange-fg",surfaceOrangeHover:"--silver-colors-surface-orange-hover",surfacePink:"--silver-colors-surface-pink",surfacePinkAccent:"--silver-colors-surface-pink-accent",surfacePinkFg:"--silver-colors-surface-pink-fg",surfacePinkHover:"--silver-colors-surface-pink-hover",surfacePurple:"--silver-colors-surface-purple",surfacePurpleAccent:"--silver-colors-surface-purple-accent",surfacePurpleFg:"--silver-colors-surface-purple-fg",surfacePurpleHover:"--silver-colors-surface-purple-hover",surfaceRed:"--silver-colors-surface-red",surfaceRedAccent:"--silver-colors-surface-red-accent",surfaceRedFg:"--silver-colors-surface-red-fg",surfaceRedHover:"--silver-colors-surface-red-hover",surfaceTeal:"--silver-colors-surface-teal",surfaceTealAccent:"--silver-colors-surface-teal-accent",surfaceTealFg:"--silver-colors-surface-teal-fg",surfaceTealHover:"--silver-colors-surface-teal-hover",surfaceYellow:"--silver-colors-surface-yellow",surfaceYellowAccent:"--silver-colors-surface-yellow-accent",surfaceYellowFg:"--silver-colors-surface-yellow-fg",surfaceYellowHover:"--silver-colors-surface-yellow-hover",track:"--silver-colors-track",trackDisabled:"--silver-colors-track-disabled",trackEmphasized:"--silver-colors-track-emphasized"},ex={body:"--silver-fonts-body",mono:"--silver-fonts-mono"},tx={componentLg:"--silver-font-sizes-component-lg",componentMd:"--silver-font-sizes-component-md",componentSm:"--silver-font-sizes-component-sm",iconLg:"--silver-font-sizes-icon-lg",iconMd:"--silver-font-sizes-icon-md",iconSm:"--silver-font-sizes-icon-sm"},ax={componentLg:"--silver-radii-component-lg",componentMd:"--silver-radii-component-md",componentSm:"--silver-radii-component-sm",lg:"--silver-radii-lg",md:"--silver-radii-md",sm:"--silver-radii-sm"},rx={focus:"--silver-shadows-focus",focusError:"--silver-shadows-focus-error",focusSuccess:"--silver-shadows-focus-success",focusWarning:"--silver-shadows-focus-warning"},lx={componentLg:"--silver-sizes-component-lg",componentMd:"--silver-sizes-component-md",componentSm:"--silver-sizes-component-sm",iconLg:"--silver-sizes-icon-lg",iconMd:"--silver-sizes-icon-md",iconSm:"--silver-sizes-icon-sm"},nx={componentLg:"--silver-spacing-component-lg",componentMd:"--silver-spacing-component-md",componentSm:"--silver-spacing-component-sm",focusOffset:"--silver-spacing-focus-offset",focusOffsetLoose:"--silver-spacing-focus-offset-loose",focusOffsetTight:"--silver-spacing-focus-offset-tight"},ix=/^(blue|cyan|gray|green|orange|pink|purple|red|teal|yellow)[.-](50|100|200|300|400|500|600|700|800|900)$/;function ox(n){const a=ix.exec(n);if(a==null)return n;const[,l,o]=a;return`var(--silver-colors-${l}-${o})`}function tn(n,a,l,o=s=>s){if(a!=null)for(const s of Object.keys(l)){const c=a[s];c!=null&&(n[l[s]]=o(c))}}function sx(n,a){return{...ev(n),...a}}function ev(n){const a={};return tn(a,n==null?void 0:n.colors,J3,ox),tn(a,n==null?void 0:n.fontSizes,tx),tn(a,n==null?void 0:n.fonts,ex),tn(a,n==null?void 0:n.radii,ax),tn(a,n==null?void 0:n.shadows,rx),tn(a,n==null?void 0:n.sizes,lx),tn(a,n==null?void 0:n.spacing,nx),a}function cx(n){return`silver-theme-${n.replace(/[^a-zA-Z0-9_-]/g,"")}`}function bb(n){return Object.entries(n).map(([a,l])=>`${a}: ${String(l).replace(/<\/style/gi,"<\\/style")};`).join("")}function ux(n,a,l){const o=l==="dark"?a.dark??a.light:a.light??a.dark;if(o==null)return;const s=`.${n}`,c=`${s}{${bb(ev(o))}}`;if(l!=="system"||a.dark==null)return c;const f=bb(ev(a.dark)),m=`${`.${n}[data-theme="dark"],[data-theme="dark"] .${n}`}{${f}}`;return`${c}@media (prefers-color-scheme: dark){${s}{${f}}}${m}`}function Oy({as:n="div",children:a,className:l,"data-testid":o,mode:s="system",ref:c,style:f,themes:v,tokens:m,...h}){const g=B.useId(),b=v==null?void 0:cx(g),p=v!=null&&b!=null?ux(b,v,s):void 0,S=sx(m,f);return B.createElement(n,{...h,className:He(b,l),"data-testid":o,"data-theme":s==="system"?void 0:s,ref:c,style:S},p==null?a:B.createElement(B.Fragment,null,B.createElement("style",o==null?null:{"data-testid":`${o}-styles`},p),a))}Oy.displayName="Theme";var fx=Rl({slots:["root","content","icon","label","startContent","endContent","loadingIndicator"],base:{root:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",borderWidth:0,borderStyle:"none",fontFamily:"body",fontWeight:"medium",cursor:"pointer",transitionProperty:"background-color, color, opacity, transform",transitionDuration:"fast",transitionTimingFunction:"default",userSelect:"none",lineHeight:"tight",textDecoration:"none",whiteSpace:"nowrap",_active:{transform:"scale(0.98)"},_disabled:{opacity:.5,cursor:"not-allowed",pointerEvents:"none",transform:"none"},'&[aria-disabled="true"]':{opacity:.5,cursor:"not-allowed",pointerEvents:"auto",transform:"none"},_focusVisible:{outlineWidth:"focus",outlineStyle:"solid",outlineColor:"primary",outlineOffset:"focusOffsetLoose"}},content:{display:"contents"},icon:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},label:{overflow:"hidden",textOverflow:"ellipsis",minW:0,py:"0.25em",mt:"-0.35em",mb:"-0.25em"},startContent:{display:"inline-flex",alignItems:"center",color:"inherit"},endContent:{display:"inline-flex",alignItems:"center",color:"inherit"},loadingIndicator:{display:"inline-flex",alignItems:"center",color:"inherit"}},variants:{variant:{primary:{root:{bg:"primary",color:"fg.onPrimary",_hover:{bg:"primary.hover"},_active:{bg:"primary.active"}}},secondary:{root:{bg:"surface.gray",color:"fg",_hover:{bg:"surface.gray.hover"},_active:{bg:"surface.gray.hover"}}},ghost:{root:{color:"fg",bg:"transparent",_hover:{bg:"bg.ghost.hover"},_active:{bg:"bg.ghost.active"}}},destructive:{root:{bg:"destructive",color:"destructive.fg",_hover:{bg:"destructive.hover"},_active:{bg:"destructive.active"},_focusVisible:{outlineColor:"destructive"}}},onSolid:{root:{color:"inherit",bg:"transparent",_hover:{bg:"color-mix(in srgb, currentColor 15%, transparent)"},_active:{bg:"color-mix(in srgb, currentColor 20%, transparent)"},_focusVisible:{outlineColor:"currentColor"}}}},size:{sm:{root:{h:"component.sm",px:"component.sm",fontSize:"component.sm",gap:"1.5",borderRadius:"component.sm","--button-icon-size":"var(--silver-sizes-icon-sm)"}},md:{root:{h:"component.md",px:"component.md",fontSize:"component.md",gap:"2",borderRadius:"component.md","--button-icon-size":"var(--silver-sizes-icon-md)"}},lg:{root:{h:"component.lg",px:"component.lg",fontSize:"component.lg",gap:"2.5",borderRadius:"component.lg","--button-icon-size":"var(--silver-sizes-icon-lg)"}}},iconOnly:{true:{root:{aspectRatio:"square",px:0}},false:{}}},defaultVariants:{variant:"secondary",size:"md",iconOnly:!1}});function Ay(n,a){return a?n!=null?`${n} (opens in new tab)`:void 0:n}function Ry({isExternalLink:n=!1,target:a,rel:l}){return B.useMemo(()=>{if(!n&&a!=="_blank")return l;const o=new Set((l??"").split(/\s+/).filter(Boolean));return o.add("noopener"),o.add("noreferrer"),Array.from(o).join(" ")},[n,a,l])}var jy=B.createContext(null);jy.displayName="ButtonGroupContext";function dx(){return B.use(jy)}function ur({label:n,"aria-controls":a,"aria-current":l,"aria-label":o,"aria-describedby":s,"aria-details":c,"aria-expanded":f,"aria-haspopup":v,"aria-hidden":m,"aria-keyshortcuts":h,"aria-labelledby":g,"aria-owns":b,"aria-pressed":p,"aria-roledescription":S,href:T,as:E,target:z,rel:A,variant:q,size:N,className:W,"data-testid":Q,style:P,type:K="button",ref:ae,isDisabled:I=!1,isLoading:le=!1,icon:ne,isIconOnly:re=!1,endContent:he,startContent:ye,tooltip:De,onClick:j,onKeyDown:$,form:J,name:ve,value:we}){const C=dx(),Z=N??(C==null?void 0:C.size)??"md",ee=I||(C==null?void 0:C.isDisabled)===!0||le,te=De??(re?n:void 0),fe=De!=null&&ee,ce=T!=null&&!ee,Ce=ce&&z==="_blank",rt=o??Ay(re||le||ct(ye)||ct(he)||Ce?n:void 0,Ce),Ge=Ry({target:z,rel:A}),Ot=q==="primary"||q==="destructive"||q==="onSolid"?"onMedia":"default",gt=fx({variant:q,size:Z,iconOnly:re}),Qa={"aria-controls":a,"aria-current":l,"aria-describedby":s,"aria-details":c,"aria-expanded":f,"aria-haspopup":v,"aria-hidden":m,"aria-keyshortcuts":h,"aria-labelledby":g,"aria-owns":b,"aria-pressed":p,"aria-roledescription":S},Yl=Yt=>{if(ee){Yt.preventDefault();return}j==null||j(Yt)},mr=Yt=>{j==null||j(Yt)},Ni=Yt=>{if(fe&&(Yt.key==="Enter"||Yt.key===" ")){Yt.preventDefault();return}$==null||$(Yt)},Ui=Yt=>{$==null||$(Yt)},Su=D.jsxs(D.Fragment,{children:[D.jsxs("span",{"aria-hidden":le||void 0,className:gt.content,children:[ne!=null?D.jsx("span",{"aria-hidden":"true",className:gt.icon,children:re&&le?D.jsx($r,{size:Z,variant:Ot}):D.jsx(Pt,{icon:ne,size:Z})}):null,!re&&ct(ye)?D.jsx("span",{className:gt.startContent,children:ye}):null,re?null:D.jsx("span",{className:gt.label,children:n}),!re&&ct(he)?D.jsx("span",{className:gt.endContent,children:he}):null,!re&&le?D.jsx("span",{"aria-hidden":"true",className:gt.loadingIndicator,children:D.jsx($r,{size:Z,variant:Ot})}):null]}),D.jsx(Dl,{"aria-live":"polite",role:"status",children:le?"Loading":""})]}),Ts=He(gt.root,W),pn=D.jsx(Fo,{...Qa,"aria-busy":!ce&&le?!0:void 0,"aria-disabled":!ce&&fe?!0:void 0,"aria-label":rt,as:E,className:Ts,"data-testid":Q,form:J,href:ce?T:void 0,isDisabled:!ce&&!fe?ee:void 0,isLink:ce,name:ve,onClick:ce?mr:Yl,onKeyDown:ce?Ui:Ni,ref:ae,rel:ce?Ge:void 0,style:P,target:ce?z:void 0,type:K,value:we,children:Su});return te!=null?D.jsx(Di,{content:te,children:pn}):pn}ur.displayName="Button";class w extends Array{constructor(a,l){if(super(a),this.sign=l,Object.setPrototypeOf(this,w.prototype),a>w.__kMaxLength)throw new RangeError("Maximum BigInt size exceeded")}static BigInt(a){var l=Math.floor,o=Number.isFinite;if(typeof a=="number"){if(a===0)return w.__zero();if(w.__isOneDigitInt(a))return 0>a?w.__oneDigit(-a,!0):w.__oneDigit(a,!1);if(!o(a)||l(a)!==a)throw new RangeError("The number "+a+" cannot be converted to BigInt because it is not an integer");return w.__fromDouble(a)}if(typeof a=="string"){const s=w.__fromString(a);if(s===null)throw new SyntaxError("Cannot convert "+a+" to a BigInt");return s}if(typeof a=="boolean")return a===!0?w.__oneDigit(1,!1):w.__zero();if(typeof a=="object"){if(a.constructor===w)return a;const s=w.__toPrimitive(a);return w.BigInt(s)}throw new TypeError("Cannot convert "+a+" to a BigInt")}toDebugString(){const a=["BigInt["];for(const l of this)a.push((l&&(l>>>0).toString(16))+", ");return a.push("]"),a.join("")}toString(a=10){if(2>a||36<a)throw new RangeError("toString() radix argument must be between 2 and 36");return this.length===0?"0":(a&a-1)==0?w.__toStringBasePowerOfTwo(this,a):w.__toStringGeneric(this,a,!1)}valueOf(){throw new Error("Convert JSBI instances to native numbers using `toNumber`.")}static toNumber(a){const l=a.length;if(l===0)return 0;if(l===1){const z=a.__unsignedDigit(0);return a.sign?-z:z}const o=a.__digit(l-1),s=w.__clz30(o),c=30*l-s;if(1024<c)return a.sign?-1/0:1/0;let f=c-1,v=o,m=l-1;const h=s+3;let g=h===32?0:v<<h;g>>>=12;const b=h-12;let p=12<=h?0:v<<20+h,S=20+h;for(0<b&&0<m&&(m--,v=a.__digit(m),g|=v>>>30-b,p=v<<b+2,S=b+2);0<S&&0<m;)m--,v=a.__digit(m),p|=30<=S?v<<S-30:v>>>30-S,S-=30;const T=w.__decideRounding(a,S,m,v);if((T===1||T===0&&(1&p)==1)&&(p=p+1>>>0,p===0&&(g++,g>>>20!=0&&(g=0,f++,1023<f))))return a.sign?-1/0:1/0;const E=a.sign?-2147483648:0;return f=f+1023<<20,w.__kBitConversionInts[w.__kBitConversionIntHigh]=E|f|g,w.__kBitConversionInts[w.__kBitConversionIntLow]=p,w.__kBitConversionDouble[0]}static unaryMinus(a){if(a.length===0)return a;const l=a.__copy();return l.sign=!a.sign,l}static bitwiseNot(a){return a.sign?w.__absoluteSubOne(a).__trim():w.__absoluteAddOne(a,!0)}static exponentiate(a,l){if(l.sign)throw new RangeError("Exponent must be positive");if(l.length===0)return w.__oneDigit(1,!1);if(a.length===0)return a;if(a.length===1&&a.__digit(0)===1)return a.sign&&(1&l.__digit(0))==0?w.unaryMinus(a):a;if(1<l.length)throw new RangeError("BigInt too big");let o=l.__unsignedDigit(0);if(o===1)return a;if(o>=w.__kMaxLengthBits)throw new RangeError("BigInt too big");if(a.length===1&&a.__digit(0)===2){const f=1+(0|o/30),v=a.sign&&(1&o)!=0,m=new w(f,v);m.__initializeDigits();const h=1<<o%30;return m.__setDigit(f-1,h),m}let s=null,c=a;for((1&o)!=0&&(s=a),o>>=1;o!==0;o>>=1)c=w.multiply(c,c),(1&o)!=0&&(s===null?s=c:s=w.multiply(s,c));return s}static multiply(a,l){if(a.length===0)return a;if(l.length===0)return l;let o=a.length+l.length;30<=a.__clzmsd()+l.__clzmsd()&&o--;const s=new w(o,a.sign!==l.sign);s.__initializeDigits();for(let c=0;c<a.length;c++)w.__multiplyAccumulate(l,a.__digit(c),s,c);return s.__trim()}static divide(a,l){if(l.length===0)throw new RangeError("Division by zero");if(0>w.__absoluteCompare(a,l))return w.__zero();const o=a.sign!==l.sign,s=l.__unsignedDigit(0);let c;if(l.length===1&&32767>=s){if(s===1)return o===a.sign?a:w.unaryMinus(a);c=w.__absoluteDivSmall(a,s,null)}else c=w.__absoluteDivLarge(a,l,!0,!1);return c.sign=o,c.__trim()}static remainder(a,l){if(l.length===0)throw new RangeError("Division by zero");if(0>w.__absoluteCompare(a,l))return a;const o=l.__unsignedDigit(0);if(l.length===1&&32767>=o){if(o===1)return w.__zero();const c=w.__absoluteModSmall(a,o);return c===0?w.__zero():w.__oneDigit(c,a.sign)}const s=w.__absoluteDivLarge(a,l,!1,!0);return s.sign=a.sign,s.__trim()}static add(a,l){const o=a.sign;return o===l.sign?w.__absoluteAdd(a,l,o):0<=w.__absoluteCompare(a,l)?w.__absoluteSub(a,l,o):w.__absoluteSub(l,a,!o)}static subtract(a,l){const o=a.sign;return o===l.sign?0<=w.__absoluteCompare(a,l)?w.__absoluteSub(a,l,o):w.__absoluteSub(l,a,!o):w.__absoluteAdd(a,l,o)}static leftShift(a,l){return l.length===0||a.length===0?a:l.sign?w.__rightShiftByAbsolute(a,l):w.__leftShiftByAbsolute(a,l)}static signedRightShift(a,l){return l.length===0||a.length===0?a:l.sign?w.__leftShiftByAbsolute(a,l):w.__rightShiftByAbsolute(a,l)}static unsignedRightShift(){throw new TypeError("BigInts have no unsigned right shift; use >> instead")}static lessThan(a,l){return 0>w.__compareToBigInt(a,l)}static lessThanOrEqual(a,l){return 0>=w.__compareToBigInt(a,l)}static greaterThan(a,l){return 0<w.__compareToBigInt(a,l)}static greaterThanOrEqual(a,l){return 0<=w.__compareToBigInt(a,l)}static equal(a,l){if(a.sign!==l.sign||a.length!==l.length)return!1;for(let o=0;o<a.length;o++)if(a.__digit(o)!==l.__digit(o))return!1;return!0}static notEqual(a,l){return!w.equal(a,l)}static bitwiseAnd(a,l){var o=Math.max;if(!a.sign&&!l.sign)return w.__absoluteAnd(a,l).__trim();if(a.sign&&l.sign){const s=o(a.length,l.length)+1;let c=w.__absoluteSubOne(a,s);const f=w.__absoluteSubOne(l);return c=w.__absoluteOr(c,f,c),w.__absoluteAddOne(c,!0,c).__trim()}return a.sign&&([a,l]=[l,a]),w.__absoluteAndNot(a,w.__absoluteSubOne(l)).__trim()}static bitwiseXor(a,l){var o=Math.max;if(!a.sign&&!l.sign)return w.__absoluteXor(a,l).__trim();if(a.sign&&l.sign){const f=o(a.length,l.length),v=w.__absoluteSubOne(a,f),m=w.__absoluteSubOne(l);return w.__absoluteXor(v,m,v).__trim()}const s=o(a.length,l.length)+1;a.sign&&([a,l]=[l,a]);let c=w.__absoluteSubOne(l,s);return c=w.__absoluteXor(c,a,c),w.__absoluteAddOne(c,!0,c).__trim()}static bitwiseOr(a,l){var o=Math.max;const s=o(a.length,l.length);if(!a.sign&&!l.sign)return w.__absoluteOr(a,l).__trim();if(a.sign&&l.sign){let f=w.__absoluteSubOne(a,s);const v=w.__absoluteSubOne(l);return f=w.__absoluteAnd(f,v,f),w.__absoluteAddOne(f,!0,f).__trim()}a.sign&&([a,l]=[l,a]);let c=w.__absoluteSubOne(l,s);return c=w.__absoluteAndNot(c,a,c),w.__absoluteAddOne(c,!0,c).__trim()}static asIntN(a,l){var o=Math.floor;if(l.length===0)return l;if(a=o(a),0>a)throw new RangeError("Invalid value: not (convertible to) a safe integer");if(a===0)return w.__zero();if(a>=w.__kMaxLengthBits)return l;const s=0|(a+29)/30;if(l.length<s)return l;const c=l.__unsignedDigit(s-1),f=1<<(a-1)%30;if(l.length===s&&c<f)return l;if((c&f)!==f)return w.__truncateToNBits(a,l);if(!l.sign)return w.__truncateAndSubFromPowerOfTwo(a,l,!0);if((c&f-1)==0){for(let v=s-2;0<=v;v--)if(l.__digit(v)!==0)return w.__truncateAndSubFromPowerOfTwo(a,l,!1);return l.length===s&&c===f?l:w.__truncateToNBits(a,l)}return w.__truncateAndSubFromPowerOfTwo(a,l,!1)}static asUintN(a,l){var o=Math.floor;if(l.length===0)return l;if(a=o(a),0>a)throw new RangeError("Invalid value: not (convertible to) a safe integer");if(a===0)return w.__zero();if(l.sign){if(a>w.__kMaxLengthBits)throw new RangeError("BigInt too big");return w.__truncateAndSubFromPowerOfTwo(a,l,!1)}if(a>=w.__kMaxLengthBits)return l;const s=0|(a+29)/30;if(l.length<s)return l;const c=a%30;return l.length==s&&(c===0||!(l.__digit(s-1)>>>c))?l:w.__truncateToNBits(a,l)}static ADD(a,l){if(a=w.__toPrimitive(a),l=w.__toPrimitive(l),typeof a=="string")return typeof l!="string"&&(l=l.toString()),a+l;if(typeof l=="string")return a.toString()+l;if(a=w.__toNumeric(a),l=w.__toNumeric(l),w.__isBigInt(a)&&w.__isBigInt(l))return w.add(a,l);if(typeof a=="number"&&typeof l=="number")return a+l;throw new TypeError("Cannot mix BigInt and other types, use explicit conversions")}static LT(a,l){return w.__compare(a,l,0)}static LE(a,l){return w.__compare(a,l,1)}static GT(a,l){return w.__compare(a,l,2)}static GE(a,l){return w.__compare(a,l,3)}static EQ(a,l){for(;;){if(w.__isBigInt(a))return w.__isBigInt(l)?w.equal(a,l):w.EQ(l,a);if(typeof a=="number"){if(w.__isBigInt(l))return w.__equalToNumber(l,a);if(typeof l!="object")return a==l;l=w.__toPrimitive(l)}else if(typeof a=="string"){if(w.__isBigInt(l))return a=w.__fromString(a),a!==null&&w.equal(a,l);if(typeof l!="object")return a==l;l=w.__toPrimitive(l)}else if(typeof a=="boolean"){if(w.__isBigInt(l))return w.__equalToNumber(l,+a);if(typeof l!="object")return a==l;l=w.__toPrimitive(l)}else if(typeof a=="symbol"){if(w.__isBigInt(l))return!1;if(typeof l!="object")return a==l;l=w.__toPrimitive(l)}else if(typeof a=="object"){if(typeof l=="object"&&l.constructor!==w)return a==l;a=w.__toPrimitive(a)}else return a==l}}static NE(a,l){return!w.EQ(a,l)}static DataViewGetBigInt64(a,l,o=!1){return w.asIntN(64,w.DataViewGetBigUint64(a,l,o))}static DataViewGetBigUint64(a,l,o=!1){const[s,c]=o?[4,0]:[0,4],f=a.getUint32(l+s,o),v=a.getUint32(l+c,o),m=new w(3,!1);return m.__setDigit(0,1073741823&v),m.__setDigit(1,(268435455&f)<<2|v>>>30),m.__setDigit(2,f>>>28),m.__trim()}static DataViewSetBigInt64(a,l,o,s=!1){w.DataViewSetBigUint64(a,l,o,s)}static DataViewSetBigUint64(a,l,o,s=!1){o=w.asUintN(64,o);let c=0,f=0;if(0<o.length&&(f=o.__digit(0),1<o.length)){const h=o.__digit(1);f|=h<<30,c=h>>>2,2<o.length&&(c|=o.__digit(2)<<28)}const[v,m]=s?[4,0]:[0,4];a.setUint32(l+v,c,s),a.setUint32(l+m,f,s)}static __zero(){return new w(0,!1)}static __oneDigit(a,l){const o=new w(1,l);return o.__setDigit(0,a),o}__copy(){const a=new w(this.length,this.sign);for(let l=0;l<this.length;l++)a[l]=this[l];return a}__trim(){let a=this.length,l=this[a-1];for(;l===0;)a--,l=this[a-1],this.pop();return a===0&&(this.sign=!1),this}__initializeDigits(){for(let a=0;a<this.length;a++)this[a]=0}static __decideRounding(a,l,o,s){if(0<l)return-1;let c;if(0>l)c=-l-1;else{if(o===0)return-1;o--,s=a.__digit(o),c=29}let f=1<<c;if((s&f)==0)return-1;if(f-=1,(s&f)!=0)return 1;for(;0<o;)if(o--,a.__digit(o)!==0)return 1;return 0}static __fromDouble(a){w.__kBitConversionDouble[0]=a;const l=2047&w.__kBitConversionInts[w.__kBitConversionIntHigh]>>>20,o=l-1023,s=(0|o/30)+1,c=new w(s,0>a);let f=1048575&w.__kBitConversionInts[w.__kBitConversionIntHigh]|1048576,v=w.__kBitConversionInts[w.__kBitConversionIntLow];const m=20,h=o%30;let g,b=0;if(h<20){const p=m-h;b=p+32,g=f>>>p,f=f<<32-p|v>>>p,v<<=32-p}else if(h===20)b=32,g=f,f=v,v=0;else{const p=h-m;b=32-p,g=f<<p|v>>>32-p,f=v<<p,v=0}c.__setDigit(s-1,g);for(let p=s-2;0<=p;p--)0<b?(b-=30,g=f>>>2,f=f<<30|v>>>2,v<<=30):g=0,c.__setDigit(p,g);return c.__trim()}static __isWhitespace(a){return 13>=a&&9<=a||(159>=a?a==32:131071>=a?a==160||a==5760:196607>=a?(a&=131071,10>=a||a==40||a==41||a==47||a==95||a==4096):a==65279)}static __fromString(a,l=0){let o=0;const s=a.length;let c=0;if(c===s)return w.__zero();let f=a.charCodeAt(c);for(;w.__isWhitespace(f);){if(++c===s)return w.__zero();f=a.charCodeAt(c)}if(f===43){if(++c===s)return null;f=a.charCodeAt(c),o=1}else if(f===45){if(++c===s)return null;f=a.charCodeAt(c),o=-1}if(l===0){if(l=10,f===48){if(++c===s)return w.__zero();if(f=a.charCodeAt(c),f===88||f===120){if(l=16,++c===s)return null;f=a.charCodeAt(c)}else if(f===79||f===111){if(l=8,++c===s)return null;f=a.charCodeAt(c)}else if(f===66||f===98){if(l=2,++c===s)return null;f=a.charCodeAt(c)}}}else if(l===16&&f===48){if(++c===s)return w.__zero();if(f=a.charCodeAt(c),f===88||f===120){if(++c===s)return null;f=a.charCodeAt(c)}}if(o!=0&&l!==10)return null;for(;f===48;){if(++c===s)return w.__zero();f=a.charCodeAt(c)}const v=s-c;let m=w.__kMaxBitsPerChar[l],h=w.__kBitsPerCharTableMultiplier-1;if(v>1073741824/m)return null;const g=m*v+h>>>w.__kBitsPerCharTableShift,b=new w(0|(g+29)/30,!1),p=10>l?l:10,S=10<l?l-10:0;if((l&l-1)==0){m>>=w.__kBitsPerCharTableShift;const T=[],E=[];let z=!1;do{let A=0,q=0;for(;;){let N;if(f-48>>>0<p)N=f-48;else if((32|f)-97>>>0<S)N=(32|f)-87;else{z=!0;break}if(q+=m,A=A<<m|N,++c===s){z=!0;break}if(f=a.charCodeAt(c),30<q+m)break}T.push(A),E.push(q)}while(!z);w.__fillFromParts(b,T,E)}else{b.__initializeDigits();let T=!1,E=0;do{let z=0,A=1;for(;;){let N;if(f-48>>>0<p)N=f-48;else if((32|f)-97>>>0<S)N=(32|f)-87;else{T=!0;break}const W=A*l;if(1073741823<W)break;if(A=W,z=z*l+N,E++,++c===s){T=!0;break}f=a.charCodeAt(c)}h=30*w.__kBitsPerCharTableMultiplier-1;const q=0|(m*E+h>>>w.__kBitsPerCharTableShift)/30;b.__inplaceMultiplyAdd(A,z,q)}while(!T)}if(c!==s){if(!w.__isWhitespace(f))return null;for(c++;c<s;c++)if(f=a.charCodeAt(c),!w.__isWhitespace(f))return null}return b.sign=o==-1,b.__trim()}static __fillFromParts(a,l,o){let s=0,c=0,f=0;for(let v=l.length-1;0<=v;v--){const m=l[v],h=o[v];c|=m<<f,f+=h,f===30?(a.__setDigit(s++,c),f=0,c=0):30<f&&(a.__setDigit(s++,1073741823&c),f-=30,c=m>>>h-f)}if(c!==0){if(s>=a.length)throw new Error("implementation bug");a.__setDigit(s++,c)}for(;s<a.length;s++)a.__setDigit(s,0)}static __toStringBasePowerOfTwo(a,l){const o=a.length;let s=l-1;s=(85&s>>>1)+(85&s),s=(51&s>>>2)+(51&s),s=(15&s>>>4)+(15&s);const c=s,f=l-1,v=a.__digit(o-1),m=w.__clz30(v);let h=0|(30*o-m+c-1)/c;if(a.sign&&h++,268435456<h)throw new Error("string too long");const g=Array(h);let b=h-1,p=0,S=0;for(let E=0;E<o-1;E++){const z=a.__digit(E),A=(p|z<<S)&f;g[b--]=w.__kConversionChars[A];const q=c-S;for(p=z>>>q,S=30-q;S>=c;)g[b--]=w.__kConversionChars[p&f],p>>>=c,S-=c}const T=(p|v<<S)&f;for(g[b--]=w.__kConversionChars[T],p=v>>>c-S;p!==0;)g[b--]=w.__kConversionChars[p&f],p>>>=c;if(a.sign&&(g[b--]="-"),b!=-1)throw new Error("implementation bug");return g.join("")}static __toStringGeneric(a,l,o){const s=a.length;if(s===0)return"";if(s===1){let E=a.__unsignedDigit(0).toString(l);return o===!1&&a.sign&&(E="-"+E),E}const c=30*s-w.__clz30(a.__digit(s-1)),f=w.__kMaxBitsPerChar[l],v=f-1;let m=c*w.__kBitsPerCharTableMultiplier;m+=v-1,m=0|m/v;const h=m+1>>1,g=w.exponentiate(w.__oneDigit(l,!1),w.__oneDigit(h,!1));let b,p;const S=g.__unsignedDigit(0);if(g.length===1&&32767>=S){b=new w(a.length,!1),b.__initializeDigits();let E=0;for(let z=2*a.length-1;0<=z;z--){const A=E<<15|a.__halfDigit(z);b.__setHalfDigit(z,0|A/S),E=0|A%S}p=E.toString(l)}else{const E=w.__absoluteDivLarge(a,g,!0,!0);b=E.quotient;const z=E.remainder.__trim();p=w.__toStringGeneric(z,l,!0)}b.__trim();let T=w.__toStringGeneric(b,l,!0);for(;p.length<h;)p="0"+p;return o===!1&&a.sign&&(T="-"+T),T+p}static __unequalSign(a){return a?-1:1}static __absoluteGreater(a){return a?-1:1}static __absoluteLess(a){return a?1:-1}static __compareToBigInt(a,l){const o=a.sign;if(o!==l.sign)return w.__unequalSign(o);const s=w.__absoluteCompare(a,l);return 0<s?w.__absoluteGreater(o):0>s?w.__absoluteLess(o):0}static __compareToNumber(a,l){if(w.__isOneDigitInt(l)){const o=a.sign,s=0>l;if(o!==s)return w.__unequalSign(o);if(a.length===0){if(s)throw new Error("implementation bug");return l===0?0:-1}if(1<a.length)return w.__absoluteGreater(o);const c=Math.abs(l),f=a.__unsignedDigit(0);return f>c?w.__absoluteGreater(o):f<c?w.__absoluteLess(o):0}return w.__compareToDouble(a,l)}static __compareToDouble(a,l){if(l!==l)return l;if(l===1/0)return-1;if(l===-1/0)return 1;const o=a.sign;if(o!==0>l)return w.__unequalSign(o);if(l===0)throw new Error("implementation bug: should be handled elsewhere");if(a.length===0)return-1;w.__kBitConversionDouble[0]=l;const s=2047&w.__kBitConversionInts[w.__kBitConversionIntHigh]>>>20;if(s==2047)throw new Error("implementation bug: handled elsewhere");const c=s-1023;if(0>c)return w.__absoluteGreater(o);const f=a.length;let v=a.__digit(f-1);const m=w.__clz30(v),h=30*f-m,g=c+1;if(h<g)return w.__absoluteLess(o);if(h>g)return w.__absoluteGreater(o);let b=1048576|1048575&w.__kBitConversionInts[w.__kBitConversionIntHigh],p=w.__kBitConversionInts[w.__kBitConversionIntLow];const S=20,T=29-m;if(T!==(0|(h-1)%30))throw new Error("implementation bug");let E,z=0;if(20>T){const A=S-T;z=A+32,E=b>>>A,b=b<<32-A|p>>>A,p<<=32-A}else if(T===20)z=32,E=b,b=p,p=0;else{const A=T-S;z=32-A,E=b<<A|p>>>32-A,b=p<<A,p=0}if(v>>>=0,E>>>=0,v>E)return w.__absoluteGreater(o);if(v<E)return w.__absoluteLess(o);for(let A=f-2;0<=A;A--){0<z?(z-=30,E=b>>>2,b=b<<30|p>>>2,p<<=30):E=0;const q=a.__unsignedDigit(A);if(q>E)return w.__absoluteGreater(o);if(q<E)return w.__absoluteLess(o)}if(b!==0||p!==0){if(z===0)throw new Error("implementation bug");return w.__absoluteLess(o)}return 0}static __equalToNumber(a,l){var o=Math.abs;return w.__isOneDigitInt(l)?l===0?a.length===0:a.length===1&&a.sign===0>l&&a.__unsignedDigit(0)===o(l):w.__compareToDouble(a,l)===0}static __comparisonResultToBool(a,l){return l===0?0>a:l===1?0>=a:l===2?0<a:l===3?0<=a:void 0}static __compare(a,l,o){if(a=w.__toPrimitive(a),l=w.__toPrimitive(l),typeof a=="string"&&typeof l=="string")switch(o){case 0:return a<l;case 1:return a<=l;case 2:return a>l;case 3:return a>=l}if(w.__isBigInt(a)&&typeof l=="string")return l=w.__fromString(l),l!==null&&w.__comparisonResultToBool(w.__compareToBigInt(a,l),o);if(typeof a=="string"&&w.__isBigInt(l))return a=w.__fromString(a),a!==null&&w.__comparisonResultToBool(w.__compareToBigInt(a,l),o);if(a=w.__toNumeric(a),l=w.__toNumeric(l),w.__isBigInt(a)){if(w.__isBigInt(l))return w.__comparisonResultToBool(w.__compareToBigInt(a,l),o);if(typeof l!="number")throw new Error("implementation bug");return w.__comparisonResultToBool(w.__compareToNumber(a,l),o)}if(typeof a!="number")throw new Error("implementation bug");if(w.__isBigInt(l))return w.__comparisonResultToBool(w.__compareToNumber(l,a),2^o);if(typeof l!="number")throw new Error("implementation bug");return o===0?a<l:o===1?a<=l:o===2?a>l:o===3?a>=l:void 0}__clzmsd(){return w.__clz30(this.__digit(this.length-1))}static __absoluteAdd(a,l,o){if(a.length<l.length)return w.__absoluteAdd(l,a,o);if(a.length===0)return a;if(l.length===0)return a.sign===o?a:w.unaryMinus(a);let s=a.length;(a.__clzmsd()===0||l.length===a.length&&l.__clzmsd()===0)&&s++;const c=new w(s,o);let f=0,v=0;for(;v<l.length;v++){const m=a.__digit(v)+l.__digit(v)+f;f=m>>>30,c.__setDigit(v,1073741823&m)}for(;v<a.length;v++){const m=a.__digit(v)+f;f=m>>>30,c.__setDigit(v,1073741823&m)}return v<c.length&&c.__setDigit(v,f),c.__trim()}static __absoluteSub(a,l,o){if(a.length===0)return a;if(l.length===0)return a.sign===o?a:w.unaryMinus(a);const s=new w(a.length,o);let c=0,f=0;for(;f<l.length;f++){const v=a.__digit(f)-l.__digit(f)-c;c=1&v>>>30,s.__setDigit(f,1073741823&v)}for(;f<a.length;f++){const v=a.__digit(f)-c;c=1&v>>>30,s.__setDigit(f,1073741823&v)}return s.__trim()}static __absoluteAddOne(a,l,o=null){const s=a.length;o===null?o=new w(s,l):o.sign=l;let c=1;for(let f=0;f<s;f++){const v=a.__digit(f)+c;c=v>>>30,o.__setDigit(f,1073741823&v)}return c!=0&&o.__setDigitGrow(s,1),o}static __absoluteSubOne(a,l){const o=a.length;l=l||o;const s=new w(l,!1);let c=1;for(let f=0;f<o;f++){const v=a.__digit(f)-c;c=1&v>>>30,s.__setDigit(f,1073741823&v)}if(c!=0)throw new Error("implementation bug");for(let f=o;f<l;f++)s.__setDigit(f,0);return s}static __absoluteAnd(a,l,o=null){let s=a.length,c=l.length,f=c;if(s<c){f=s;const h=a,g=s;a=l,s=c,l=h,c=g}let v=f;o===null?o=new w(v,!1):v=o.length;let m=0;for(;m<f;m++)o.__setDigit(m,a.__digit(m)&l.__digit(m));for(;m<v;m++)o.__setDigit(m,0);return o}static __absoluteAndNot(a,l,o=null){const s=a.length,c=l.length;let f=c;s<c&&(f=s);let v=s;o===null?o=new w(v,!1):v=o.length;let m=0;for(;m<f;m++)o.__setDigit(m,a.__digit(m)&~l.__digit(m));for(;m<s;m++)o.__setDigit(m,a.__digit(m));for(;m<v;m++)o.__setDigit(m,0);return o}static __absoluteOr(a,l,o=null){let s=a.length,c=l.length,f=c;if(s<c){f=s;const h=a,g=s;a=l,s=c,l=h,c=g}let v=s;o===null?o=new w(v,!1):v=o.length;let m=0;for(;m<f;m++)o.__setDigit(m,a.__digit(m)|l.__digit(m));for(;m<s;m++)o.__setDigit(m,a.__digit(m));for(;m<v;m++)o.__setDigit(m,0);return o}static __absoluteXor(a,l,o=null){let s=a.length,c=l.length,f=c;if(s<c){f=s;const h=a,g=s;a=l,s=c,l=h,c=g}let v=s;o===null?o=new w(v,!1):v=o.length;let m=0;for(;m<f;m++)o.__setDigit(m,a.__digit(m)^l.__digit(m));for(;m<s;m++)o.__setDigit(m,a.__digit(m));for(;m<v;m++)o.__setDigit(m,0);return o}static __absoluteCompare(a,l){const o=a.length-l.length;if(o!=0)return o;let s=a.length-1;for(;0<=s&&a.__digit(s)===l.__digit(s);)s--;return 0>s?0:a.__unsignedDigit(s)>l.__unsignedDigit(s)?1:-1}static __multiplyAccumulate(a,l,o,s){if(l===0)return;const c=32767&l,f=l>>>15;let v=0,m=0;for(let h,g=0;g<a.length;g++,s++){h=o.__digit(s);const b=a.__digit(g),p=32767&b,S=b>>>15,T=w.__imul(p,c),E=w.__imul(p,f),z=w.__imul(S,c),A=w.__imul(S,f);h+=m+T+v,v=h>>>30,h&=1073741823,h+=((32767&E)<<15)+((32767&z)<<15),v+=h>>>30,m=A+(E>>>15)+(z>>>15),o.__setDigit(s,1073741823&h)}for(;v!=0||m!==0;s++){let h=o.__digit(s);h+=v+m,m=0,v=h>>>30,o.__setDigit(s,1073741823&h)}}static __internalMultiplyAdd(a,l,o,s,c){let f=o,v=0;for(let m=0;m<s;m++){const h=a.__digit(m),g=w.__imul(32767&h,l),b=w.__imul(h>>>15,l),p=g+((32767&b)<<15)+v+f;f=p>>>30,v=b>>>15,c.__setDigit(m,1073741823&p)}if(c.length>s)for(c.__setDigit(s++,f+v);s<c.length;)c.__setDigit(s++,0);else if(f+v!==0)throw new Error("implementation bug")}__inplaceMultiplyAdd(a,l,o){o>this.length&&(o=this.length);const s=32767&a,c=a>>>15;let f=0,v=l;for(let m=0;m<o;m++){const h=this.__digit(m),g=32767&h,b=h>>>15,p=w.__imul(g,s),S=w.__imul(g,c),T=w.__imul(b,s),E=w.__imul(b,c);let z=v+p+f;f=z>>>30,z&=1073741823,z+=((32767&S)<<15)+((32767&T)<<15),f+=z>>>30,v=E+(S>>>15)+(T>>>15),this.__setDigit(m,1073741823&z)}if(f!=0||v!==0)throw new Error("implementation bug")}static __absoluteDivSmall(a,l,o=null){o===null&&(o=new w(a.length,!1));let s=0;for(let c,f=2*a.length-1;0<=f;f-=2){c=(s<<15|a.__halfDigit(f))>>>0;const v=0|c/l;s=0|c%l,c=(s<<15|a.__halfDigit(f-1))>>>0;const m=0|c/l;s=0|c%l,o.__setDigit(f>>>1,v<<15|m)}return o}static __absoluteModSmall(a,l){let o=0;for(let s=2*a.length-1;0<=s;s--)o=0|((o<<15|a.__halfDigit(s))>>>0)%l;return o}static __absoluteDivLarge(a,l,o,s){const c=l.__halfDigitLength(),f=l.length,v=a.__halfDigitLength()-c;let m=null;o&&(m=new w(v+2>>>1,!1),m.__initializeDigits());const h=new w(c+2>>>1,!1);h.__initializeDigits();const g=w.__clz15(l.__halfDigit(c-1));0<g&&(l=w.__specialLeftShift(l,g,0));const b=w.__specialLeftShift(a,g,1),p=l.__halfDigit(c-1);let S=0;for(let T,E=v;0<=E;E--){T=32767;const z=b.__halfDigit(E+c);if(z!==p){const q=(z<<15|b.__halfDigit(E+c-1))>>>0;T=0|q/p;let N=0|q%p;const W=l.__halfDigit(c-2),Q=b.__halfDigit(E+c-2);for(;w.__imul(T,W)>>>0>(N<<16|Q)>>>0&&(T--,N+=p,!(32767<N)););}w.__internalMultiplyAdd(l,T,0,f,h);let A=b.__inplaceSub(h,E,c+1);A!==0&&(A=b.__inplaceAdd(l,E,c),b.__setHalfDigit(E+c,32767&b.__halfDigit(E+c)+A),T--),o&&(1&E?S=T<<15:m.__setDigit(E>>>1,S|T))}if(s)return b.__inplaceRightShift(g),o?{quotient:m,remainder:b}:b;if(o)return m;throw new Error("unreachable")}static __clz15(a){return w.__clz30(a)-15}__inplaceAdd(a,l,o){let s=0;for(let c=0;c<o;c++){const f=this.__halfDigit(l+c)+a.__halfDigit(c)+s;s=f>>>15,this.__setHalfDigit(l+c,32767&f)}return s}__inplaceSub(a,l,o){let s=0;if(1&l){l>>=1;let c=this.__digit(l),f=32767&c,v=0;for(;v<o-1>>>1;v++){const g=a.__digit(v),b=(c>>>15)-(32767&g)-s;s=1&b>>>15,this.__setDigit(l+v,(32767&b)<<15|32767&f),c=this.__digit(l+v+1),f=(32767&c)-(g>>>15)-s,s=1&f>>>15}const m=a.__digit(v),h=(c>>>15)-(32767&m)-s;if(s=1&h>>>15,this.__setDigit(l+v,(32767&h)<<15|32767&f),l+v+1>=this.length)throw new RangeError("out of bounds");(1&o)==0&&(c=this.__digit(l+v+1),f=(32767&c)-(m>>>15)-s,s=1&f>>>15,this.__setDigit(l+a.length,1073709056&c|32767&f))}else{l>>=1;let c=0;for(;c<a.length-1;c++){const g=this.__digit(l+c),b=a.__digit(c),p=(32767&g)-(32767&b)-s;s=1&p>>>15;const S=(g>>>15)-(b>>>15)-s;s=1&S>>>15,this.__setDigit(l+c,(32767&S)<<15|32767&p)}const f=this.__digit(l+c),v=a.__digit(c),m=(32767&f)-(32767&v)-s;s=1&m>>>15;let h=0;(1&o)==0&&(h=(f>>>15)-(v>>>15)-s,s=1&h>>>15),this.__setDigit(l+c,(32767&h)<<15|32767&m)}return s}__inplaceRightShift(a){if(a===0)return;let l=this.__digit(0)>>>a;const o=this.length-1;for(let s=0;s<o;s++){const c=this.__digit(s+1);this.__setDigit(s,1073741823&c<<30-a|l),l=c>>>a}this.__setDigit(o,l)}static __specialLeftShift(a,l,o){const s=a.length,c=new w(s+o,!1);if(l===0){for(let v=0;v<s;v++)c.__setDigit(v,a.__digit(v));return 0<o&&c.__setDigit(s,0),c}let f=0;for(let v=0;v<s;v++){const m=a.__digit(v);c.__setDigit(v,1073741823&m<<l|f),f=m>>>30-l}return 0<o&&c.__setDigit(s,f),c}static __leftShiftByAbsolute(a,l){const o=w.__toShiftAmount(l);if(0>o)throw new RangeError("BigInt too big");const s=0|o/30,c=o%30,f=a.length,v=c!==0&&a.__digit(f-1)>>>30-c!=0,m=f+s+(v?1:0),h=new w(m,a.sign);if(c===0){let g=0;for(;g<s;g++)h.__setDigit(g,0);for(;g<m;g++)h.__setDigit(g,a.__digit(g-s))}else{let g=0;for(let b=0;b<s;b++)h.__setDigit(b,0);for(let b=0;b<f;b++){const p=a.__digit(b);h.__setDigit(b+s,1073741823&p<<c|g),g=p>>>30-c}if(v)h.__setDigit(f+s,g);else if(g!==0)throw new Error("implementation bug")}return h.__trim()}static __rightShiftByAbsolute(a,l){const o=a.length,s=a.sign,c=w.__toShiftAmount(l);if(0>c)return w.__rightShiftByMaximum(s);const f=0|c/30,v=c%30;let m=o-f;if(0>=m)return w.__rightShiftByMaximum(s);let h=!1;if(s){if((a.__digit(f)&(1<<v)-1)!=0)h=!0;else for(let b=0;b<f;b++)if(a.__digit(b)!==0){h=!0;break}}h&&v===0&&~a.__digit(o-1)==0&&m++;let g=new w(m,s);if(v===0){g.__setDigit(m-1,0);for(let b=f;b<o;b++)g.__setDigit(b-f,a.__digit(b))}else{let b=a.__digit(f)>>>v;const p=o-f-1;for(let S=0;S<p;S++){const T=a.__digit(S+f+1);g.__setDigit(S,1073741823&T<<30-v|b),b=T>>>v}g.__setDigit(p,b)}return h&&(g=w.__absoluteAddOne(g,!0,g)),g.__trim()}static __rightShiftByMaximum(a){return a?w.__oneDigit(1,!0):w.__zero()}static __toShiftAmount(a){if(1<a.length)return-1;const l=a.__unsignedDigit(0);return l>w.__kMaxLengthBits?-1:l}static __toPrimitive(a,l="default"){if(typeof a!="object"||a.constructor===w)return a;if(typeof Symbol<"u"&&typeof Symbol.toPrimitive=="symbol"&&a[Symbol.toPrimitive]){const c=a[Symbol.toPrimitive](l);if(typeof c!="object")return c;throw new TypeError("Cannot convert object to primitive value")}const o=a.valueOf;if(o){const c=o.call(a);if(typeof c!="object")return c}const s=a.toString;if(s){const c=s.call(a);if(typeof c!="object")return c}throw new TypeError("Cannot convert object to primitive value")}static __toNumeric(a){return w.__isBigInt(a)?a:+a}static __isBigInt(a){return typeof a=="object"&&a!==null&&a.constructor===w}static __truncateToNBits(a,l){const o=0|(a+29)/30,s=new w(o,l.sign),c=o-1;for(let v=0;v<c;v++)s.__setDigit(v,l.__digit(v));let f=l.__digit(c);if(a%30!=0){const v=32-a%30;f=f<<v>>>v}return s.__setDigit(c,f),s.__trim()}static __truncateAndSubFromPowerOfTwo(a,l,o){var s=Math.min;const c=0|(a+29)/30,f=new w(c,o);let v=0;const m=c-1;let h=0;for(const S=s(m,l.length);v<S;v++){const T=0-l.__digit(v)-h;h=1&T>>>30,f.__setDigit(v,1073741823&T)}for(;v<m;v++)f.__setDigit(v,0|1073741823&-h);let g=m<l.length?l.__digit(m):0;const b=a%30;let p;if(b==0)p=0-g-h,p&=1073741823;else{const S=32-b;g=g<<S>>>S;const T=1<<32-S;p=T-g-h,p&=T-1}return f.__setDigit(m,p),f.__trim()}__digit(a){return this[a]}__unsignedDigit(a){return this[a]>>>0}__setDigit(a,l){this[a]=0|l}__setDigitGrow(a,l){this[a]=0|l}__halfDigitLength(){const a=this.length;return 32767>=this.__unsignedDigit(a-1)?2*a-1:2*a}__halfDigit(a){return 32767&this[a>>>1]>>>15*(1&a)}__setHalfDigit(a,l){const o=a>>>1,s=this.__digit(o),c=1&a?32767&s|l<<15:1073709056&s|32767&l;this.__setDigit(o,c)}static __digitPow(a,l){let o=1;for(;0<l;)1&l&&(o*=a),l>>>=1,a*=a;return o}static __detectBigEndian(){return w.__kBitConversionDouble[0]=-0,w.__kBitConversionInts[0]!==0}static __isOneDigitInt(a){return(1073741823&a)===a}}w.__kMaxLength=33554432,w.__kMaxLengthBits=w.__kMaxLength<<5,w.__kMaxBitsPerChar=[0,0,32,51,64,75,83,90,96,102,107,111,115,119,122,126,128,131,134,136,139,141,143,145,147,149,151,153,154,156,158,159,160,162,163,165,166],w.__kBitsPerCharTableShift=5,w.__kBitsPerCharTableMultiplier=1<<w.__kBitsPerCharTableShift,w.__kConversionChars=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],w.__kBitConversionBuffer=new ArrayBuffer(8),w.__kBitConversionDouble=new Float64Array(w.__kBitConversionBuffer),w.__kBitConversionInts=new Int32Array(w.__kBitConversionBuffer),w.__kBitConversionIntHigh=w.__detectBigEndian()?0:1,w.__kBitConversionIntLow=w.__detectBigEndian()?1:0,w.__clz30=Math.clz32?function(n){return Math.clz32(n)-2}:function(n){return n===0?30:0|29-(0|Math.log(n>>>0)/Math.LN2)},w.__imul=Math.imul||function(n,a){return 0|n*a};const za=w.BigInt(0),Io=w.BigInt(1),jv=w.BigInt(2),vx=w.BigInt(10),hx=w.BigInt(24),mx=w.BigInt(60),gx=w.BigInt(1e3),ss=w.BigInt(1e6),Vo=w.BigInt(1e9),Ny=w.multiply(w.BigInt(3600),Vo),bx=w.multiply(mx,Vo),Ml=w.multiply(Ny,hx);function Yr(n){return typeof n=="bigint"?w.BigInt(n.toString(10)):n}function Uy(n){return w.equal(w.remainder(n,jv),za)}function ln(n){return w.lessThan(n,za)?w.unaryMinus(n):n}function $c(n,a){return w.lessThan(n,a)?-1:w.greaterThan(n,a)?1:0}function Uo(n,a){return{quotient:w.divide(n,a),remainder:w.remainder(n,a)}}var yb,pb;const me="slot-epochNanoSeconds",ge="slot-iso-date",Ie="slot-iso-date-time",tt="slot-time",F="slot-calendar",Yy="slot-date-brand",ky="slot-year-month-brand",Hy="slot-month-day-brand",qe="slot-time-zone",Bt="slot-years",Zt="slot-months",ca="slot-weeks",Gt="slot-days",Vt="slot-hours",Xt="slot-minutes",$t="slot-seconds",Qt="slot-milliseconds",Wt="slot-microseconds",ua="slot-nanoseconds",Ly="date",qy="ym",By="md",Zy="time",Gy="datetime",Vy="instant",gn="original",si="timezone-canonical",tv="timezone-original",Yo="calendar-id",Xy="locale",av="options",$y=new WeakMap,rv=Symbol.for("@@Temporal__GetSlots");(yb=globalThis)[rv]||(yb[rv]=function(n){return $y.get(n)});const iu=globalThis[rv],lv=Symbol.for("@@Temporal__CreateSlots");(pb=globalThis)[lv]||(pb[lv]=function(n){$y.set(n,Object.create(null))});const Kr=globalThis[lv];function ea(n,...a){if(!n||typeof n!="object")return!1;const l=iu(n);return!!l&&a.every((o=>o in l))}function x(n,a){var o;const l=(o=iu(n))==null?void 0:o[a];if(l===void 0)throw new TypeError(`Missing internal slot ${a}`);return l}function Te(n,a,l){const o=iu(n);if(o===void 0)throw new TypeError("Missing slots for the given container");if(o[a])throw new TypeError(`${a} already has set`);o[a]=l}const nv={};function Fr(n,a){Object.defineProperty(n.prototype,Symbol.toStringTag,{value:a,writable:!1,enumerable:!1,configurable:!0});const l=Object.getOwnPropertyNames(n);for(let s=0;s<l.length;s++){const c=l[s],f=Object.getOwnPropertyDescriptor(n,c);f.configurable&&f.enumerable&&(f.enumerable=!1,Object.defineProperty(n,c,f))}const o=Object.getOwnPropertyNames(n.prototype);for(let s=0;s<o.length;s++){const c=o[s],f=Object.getOwnPropertyDescriptor(n.prototype,c);f.configurable&&f.enumerable&&(f.enumerable=!1,Object.defineProperty(n.prototype,c,f))}iv(a,n),iv(`${a}.prototype`,n.prototype)}function iv(n,a){const l=`%${n}%`;if(nv[l]!==void 0)throw new Error(`intrinsic ${n} already exists`);nv[l]=a}function Mt(n){return nv[n]}function fi(n,a){let l=n;if(l===0)return{div:l,mod:l};const o=Math.sign(l);l=Math.abs(l);const s=Math.trunc(1+Math.log10(l));if(a>=s)return{div:0*o,mod:o*l};if(a===0)return{div:o*l,mod:0*o};const c=l.toPrecision(s);return{div:o*Number.parseInt(c.slice(0,s-a),10),mod:o*Number.parseInt(c.slice(s-a),10)}}function $d(n,a,l){let o=n,s=l;if(o===0)return s;const c=Math.sign(o)||Math.sign(s);o=Math.abs(o),s=Math.abs(s);const f=o.toPrecision(Math.trunc(1+Math.log10(o)));if(s===0)return c*Number.parseInt(f+"0".repeat(a),10);const v=f+s.toPrecision(Math.trunc(1+Math.log10(s))).padStart(a,"0");return c*Number.parseInt(v,10)}function ou(n,a){const l=a==="negative";switch(n){case"ceil":return l?"zero":"infinity";case"floor":return l?"infinity":"zero";case"expand":return"infinity";case"trunc":return"zero";case"halfCeil":return l?"half-zero":"half-infinity";case"halfFloor":return l?"half-infinity":"half-zero";case"halfExpand":return"half-infinity";case"halfTrunc":return"half-zero";case"halfEven":return"half-even"}}function su(n,a,l,o,s){return s==="zero"?n:s==="infinity"?a:l<0?n:l>0?a:s==="half-zero"?n:s==="half-infinity"?a:o?n:a}class ze{constructor(a){this.totalNs=Yr(a),this.sec=w.toNumber(w.divide(this.totalNs,Vo)),this.subsec=w.toNumber(w.remainder(this.totalNs,Vo))}static validateNew(a,l){if(w.greaterThan(ln(a),ze.MAX))throw new RangeError(`${l} of duration time units cannot exceed ${ze.MAX} s`);return new ze(a)}static fromEpochNsDiff(a,l){const o=w.subtract(Yr(a),Yr(l));return new ze(o)}static fromComponents(a,l,o,s,c,f){const v=w.add(w.add(w.add(w.add(w.add(w.BigInt(f),w.multiply(w.BigInt(c),gx)),w.multiply(w.BigInt(s),ss)),w.multiply(w.BigInt(o),Vo)),w.multiply(w.BigInt(l),bx)),w.multiply(w.BigInt(a),Ny));return ze.validateNew(v,"total")}abs(){return new ze(ln(this.totalNs))}add(a){return ze.validateNew(w.add(this.totalNs,a.totalNs),"sum")}add24HourDays(a){return ze.validateNew(w.add(this.totalNs,w.multiply(w.BigInt(a),Ml)),"sum")}addToEpochNs(a){return w.add(Yr(a),this.totalNs)}cmp(a){return $c(this.totalNs,a.totalNs)}divmod(a){const{quotient:l,remainder:o}=Uo(this.totalNs,w.BigInt(a));return{quotient:w.toNumber(l),remainder:new ze(o)}}fdiv(a){const l=Yr(a),o=w.BigInt(l);let{quotient:s,remainder:c}=Uo(this.totalNs,o);const f=[];let v;const m=(w.lessThan(this.totalNs,za)?-1:1)*Math.sign(w.toNumber(l));for(;!w.equal(c,za)&&f.length<50;)c=w.multiply(c,vx),{quotient:v,remainder:c}=Uo(c,o),f.push(Math.abs(w.toNumber(v)));return m*+(ln(s).toString()+"."+f.join(""))}isZero(){return w.equal(this.totalNs,za)}round(a,l){const o=Yr(a);if(w.equal(o,Io))return this;const{quotient:s,remainder:c}=Uo(this.totalNs,o),f=w.lessThan(this.totalNs,za)?"negative":"positive",v=w.multiply(ln(s),o),m=w.add(v,o),h=$c(ln(w.multiply(c,jv)),o),g=ou(l,f),b=w.equal(ln(this.totalNs),v)?v:su(v,m,h,Uy(s),g),p=f==="positive"?b:w.unaryMinus(b);return ze.validateNew(p,"rounding")}sign(){return this.cmp(new ze(za))}subtract(a){return ze.validateNew(w.subtract(this.totalNs,a.totalNs),"difference")}}ze.MAX=w.BigInt("9007199254740991999999999"),ze.ZERO=new ze(za);const wb=/[A-Za-z._][A-Za-z._0-9+-]*/,cs=new RegExp(`(?:${/(?:[+-](?:[01][0-9]|2[0-3])(?::?[0-5][0-9])?)/.source}|(?:${wb.source})(?:\\/(?:${wb.source}))*)`),Qy=/(?:[+-]\d{6}|\d{4})/,Qc=/(?:0[1-9]|1[0-2])/,ov=/(?:0[1-9]|[12]\d|3[01])/,yx=new RegExp(`(${Qy.source})(?:-(${Qc.source})-(${ov.source})|(${Qc.source})(${ov.source}))`),Wy=/(\d{2})(?::(\d{2})(?::(\d{2})(?:[.,](\d{1,9}))?)?|(\d{2})(?:(\d{2})(?:[.,](\d{1,9}))?)?)?/,Ky=/((?:[+-])(?:[01][0-9]|2[0-3])(?::?(?:[0-5][0-9])(?::?(?:[0-5][0-9])(?:[.,](?:\d{1,9}))?)?)?)/,Fy=new RegExp(`([zZ])|${Ky.source}?`),pi=/\[(!)?([a-z_][a-z0-9_-]*)=([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)\]/g,px=new RegExp([`^${yx.source}`,`(?:(?:[tT]|\\s+)${Wy.source}(?:${Fy.source})?)?`,`(?:\\[!?(${cs.source})\\])?`,`((?:${pi.source})*)$`].join("")),wx=new RegExp([`^[tT]?${Wy.source}`,`(?:${Fy.source})?`,`(?:\\[!?${cs.source}\\])?`,`((?:${pi.source})*)$`].join("")),xx=new RegExp(`^(${Qy.source})-?(${Qc.source})(?:\\[!?${cs.source}\\])?((?:${pi.source})*)$`),Sx=new RegExp(`^(?:--)?(${Qc.source})-?(${ov.source})(?:\\[!?${cs.source}\\])?((?:${pi.source})*)$`),Qd=/(\d+)(?:[.,](\d{1,9}))?/,_x=new RegExp(`(?:${Qd.source}H)?(?:${Qd.source}M)?(?:${Qd.source}S)?`),Tx=new RegExp(`^([+-])?P${/(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?/.source}(?:T(?!$)${_x.source})?$`,"i"),Ol=864e5,Wc=1e6*Ol,Ex=6e10,Iy=1e8*Ol,wi=sr(Iy),Po=w.unaryMinus(wi),zx=w.add(w.subtract(Po,Ml),Io),Dx=w.subtract(w.add(wi,Ml),Io),Cx=146097*Ol,xb=-271821,Sb=275760,Xo=Date.UTC(1847,0,1),Mx=["iso8601","hebrew","islamic","islamic-umalqura","islamic-tbla","islamic-civil","islamic-rgsa","islamicc","persian","ethiopic","ethioaa","ethiopic-amete-alem","coptic","chinese","dangi","roc","indian","buddhist","japanese","gregory"],Ox=new Set(["ACT","AET","AGT","ART","AST","BET","BST","CAT","CNT","CST","CTT","EAT","ECT","IET","IST","JST","MIT","NET","NST","PLT","PNT","PRT","PST","SST","VST"]);function at(n){return typeof n=="object"&&n!==null||typeof n=="function"}function cu(n){if(typeof n=="bigint")throw new TypeError("Cannot convert BigInt to number");return Number(n)}function uu(n){if(typeof n=="symbol")throw new TypeError("Cannot convert a Symbol value to a String");return String(n)}function pe(n){const a=cu(n);if(a===0)return 0;if(Number.isNaN(a)||a===1/0||a===-1/0)throw new RangeError("invalid number value");const l=Math.trunc(a);return l===0?0:l}function _b(n,a){const l=pe(n);if(l<=0)throw a!==void 0?new RangeError(`property '${a}' cannot be a a number less than one`):new RangeError("Cannot convert a number less than one to a positive integer");return l}function Ia(n){const a=cu(n);if(Number.isNaN(a))throw new RangeError("not a number");if(a===1/0||a===-1/0)throw new RangeError("infinity is out of range");if(!(function(l){if(typeof l!="number"||Number.isNaN(l)||l===1/0||l===-1/0)return!1;const o=Math.abs(l);return Math.floor(o)===o})(a))throw new RangeError(`unsupported fractional value ${n}`);return a===0?0:a}function Jo(n,a){return String(n).padStart(a,"0")}function mt(n){if(typeof n!="string")throw new TypeError(`expected a string, not ${String(n)}`);return n}function sv(n,a){if(at(n)){const l=n==null?void 0:n.toString();if(typeof l=="string"||typeof l=="number")return l;throw new TypeError("Cannot convert object to primitive value")}return n}const cv=["era","eraYear","year","month","monthCode","day","hour","minute","second","millisecond","microsecond","nanosecond","offset","timeZone"],Ax={era:uu,eraYear:pe,year:pe,month:_b,monthCode:function(n){const a=mt(sv(n));if(a.length<3||a.length>4||a[0]!=="M"||"0123456789".indexOf(a[1])===-1||"0123456789".indexOf(a[2])===-1||a[1]+a[2]==="00"&&a[3]!=="L"||a[3]!=="L"&&a[3]!==void 0)throw new RangeError(`bad month code ${a}; must match M01-M99 or M00L-M99L`);return a},day:_b,hour:pe,minute:pe,second:pe,millisecond:pe,microsecond:pe,nanosecond:pe,offset:function(n){const a=mt(sv(n));return Ai(a),a},timeZone:It},Rx={hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0},xi=[["years","year","date"],["months","month","date"],["weeks","week","date"],["days","day","date"],["hours","hour","time"],["minutes","minute","time"],["seconds","second","time"],["milliseconds","millisecond","time"],["microseconds","microsecond","time"],["nanoseconds","nanosecond","time"]],Tb=Object.fromEntries(xi.map((n=>[n[0],n[1]]))),jx=Object.fromEntries(xi.map((([n,a])=>[a,n]))),$o=xi.map((([,n])=>n)),Si={day:Wc,hour:36e11,minute:6e10,second:1e9,millisecond:1e6,microsecond:1e3,nanosecond:1},Kc=["days","hours","microseconds","milliseconds","minutes","months","nanoseconds","seconds","weeks","years"],Nx=Intl.DateTimeFormat,Eb=new Map;function Py(n){const a=ls(n);let l=Eb.get(a);return l===void 0&&(l=new Nx("en-us",{timeZone:a,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Eb.set(a,l)),l}function zt(n){return ea(n,me)&&!ea(n,qe,F)}function Je(n){return ea(n,Bt,Zt,Gt,Vt,Xt,$t,Qt,Wt,ua)}function et(n){return ea(n,Yy)}function it(n){return ea(n,tt)}function We(n){return ea(n,Ie)}function Dt(n){return ea(n,ky)}function Ea(n){return ea(n,Hy)}function Ee(n){return ea(n,me,qe,F)}function L(n,a){if(!a(n))throw new TypeError("invalid receiver: method called with the wrong type of this-object")}function Ci(n){if(ea(n,F)||ea(n,qe))throw new TypeError("with() does not support a calendar or timeZone property");if(it(n))throw new TypeError("with() does not accept Temporal.PlainTime, use withPlainTime() instead");if(n.calendar!==void 0)throw new TypeError("with() does not support a calendar property");if(n.timeZone!==void 0)throw new TypeError("with() does not support a timeZone property")}function us(n,a){return a==="never"||a==="auto"&&n==="iso8601"?"":`[${a==="critical"?"!":""}u-ca=${n}]`}function fu(n){let a,l,o=!1;for(pi.lastIndex=0;l=pi.exec(n);){const{1:s,2:c,3:f}=l;if(c==="u-ca"){if(a===void 0)a=f,o=s==="!";else if(s==="!"||o)throw new RangeError(`Invalid annotations in ${n}: more than one u-ca present with critical flag`)}else if(s==="!")throw new RangeError(`Unrecognized annotation: !${c}=${f}`)}return a}function hr(n){const a=px.exec(n);if(!a)throw new RangeError(`invalid RFC 9557 string: ${n}`);const l=fu(a[16]);let o=a[1];if(o==="-000000")throw new RangeError(`invalid RFC 9557 string: ${n}`);const s=+o,c=+(a[2]??a[4]??1),f=+(a[3]??a[5]??1),v=a[6]!==void 0,m=+(a[6]??0),h=+(a[7]??a[10]??0);let g=+(a[8]??a[11]??0);g===60&&(g=59);const b=(a[9]??a[12]??"")+"000000000",p=+b.slice(0,3),S=+b.slice(3,6),T=+b.slice(6,9);let E,z=!1;a[13]?(E=void 0,z=!0):a[14]&&(E=a[14]);const A=a[15];return Lv(s,c,f,m,h,g,p,S,T),{year:s,month:c,day:f,time:v?{hour:m,minute:h,second:g,millisecond:p,microsecond:S,nanosecond:T}:"start-of-day",tzAnnotation:A,offset:E,z,calendar:l}}function Jy(n){const a=wx.exec(n);let l,o,s,c,f,v,m;if(a){m=fu(a[10]),l=+(a[1]??0),o=+(a[2]??a[5]??0),s=+(a[3]??a[6]??0),s===60&&(s=59);const h=(a[4]??a[7]??"")+"000000000";if(c=+h.slice(0,3),f=+h.slice(3,6),v=+h.slice(6,9),a[8])throw new RangeError("Z designator not supported for PlainTime")}else{let h,g;if({time:h,z:g,calendar:m}=hr(n),h==="start-of-day")throw new RangeError(`time is missing in string: ${n}`);if(g)throw new RangeError("Z designator not supported for PlainTime");({hour:l,minute:o,second:s,millisecond:c,microsecond:f,nanosecond:v}=h)}if(mu(l,o,s,c,f,v),/[tT ][0-9][0-9]/.test(n))return{hour:l,minute:o,second:s,millisecond:c,microsecond:f,nanosecond:v,calendar:m};try{const{month:h,day:g}=Uv(n);fn(1972,h,g)}catch{try{const{year:h,month:g}=Nv(n);fn(h,g,1)}catch{return{hour:l,minute:o,second:s,millisecond:c,microsecond:f,nanosecond:v,calendar:m}}}throw new RangeError(`invalid RFC 9557 time-only string ${n}; may need a T prefix`)}function Nv(n){const a=xx.exec(n);let l,o,s,c;if(a){s=fu(a[3]);let f=a[1];if(f==="-000000")throw new RangeError(`invalid RFC 9557 string: ${n}`);if(l=+f,o=+a[2],c=1,s!==void 0&&s!=="iso8601")throw new RangeError("YYYY-MM format is only valid with iso8601 calendar")}else{let f;if({year:l,month:o,calendar:s,day:c,z:f}=hr(n),f)throw new RangeError("Z designator not supported for PlainYearMonth")}return{year:l,month:o,calendar:s,referenceISODay:c}}function Uv(n){const a=Sx.exec(n);let l,o,s,c;if(a){if(s=fu(a[3]),l=+a[1],o=+a[2],s!==void 0&&s!=="iso8601")throw new RangeError("MM-DD format is only valid with iso8601 calendar")}else{let f;if({month:l,day:o,calendar:s,year:c,z:f}=hr(n),f)throw new RangeError("Z designator not supported for PlainMonthDay")}return{month:l,day:o,calendar:s,referenceISOYear:c}}const ep=new RegExp(`^${cs.source}$`,"i"),tp=new RegExp(`^${/([+-])([01][0-9]|2[0-3])(?::?([0-5][0-9])?)?/.source}$`);function ap(n){const a=Yx.test(n)?"Seconds not allowed in offset time zone":"Invalid time zone";throw new RangeError(`${a}: ${n}`)}function Cl(n){return ep.test(n)||ap(n),tp.test(n)?{offsetMinutes:Ai(n)/6e10}:{tzName:n}}function Qo(n,a,l,o){let s=n,c=a,f=l;switch(o){case"reject":fn(s,c,f);break;case"constrain":({year:s,month:c,day:f}=pp(s,c,f))}return{year:s,month:c,day:f}}function du(n,a,l,o,s,c,f){let v=n,m=a,h=l,g=o,b=s,p=c;switch(f){case"reject":mu(v,m,h,g,b,p);break;case"constrain":v=Kt(v,0,23),m=Kt(m,0,59),h=Kt(h,0,59),g=Kt(g,0,999),b=Kt(b,0,999),p=Kt(p,0,999)}return{hour:v,minute:m,second:h,millisecond:g,microsecond:b,nanosecond:p}}function rp(n){if(!at(n))throw new TypeError("invalid duration-like");const a={years:void 0,months:void 0,weeks:void 0,days:void 0,hours:void 0,minutes:void 0,seconds:void 0,milliseconds:void 0,microseconds:void 0,nanoseconds:void 0};let l=!1;for(let o=0;o<Kc.length;o++){const s=Kc[o],c=n[s];c!==void 0&&(l=!0,a[s]=Ia(c))}if(!l)throw new TypeError("invalid duration-like");return a}function jt({years:n,months:a,weeks:l,days:o},s,c,f){return{years:n,months:f??a,weeks:c??l,days:s??o}}function Ue(n,a){return{isoDate:n,time:a}}function Ne(n){return Vr(n,"overflow",["constrain","reject"],"constrain")}function Wo(n){return Vr(n,"disambiguation",["compatible","earlier","later","reject"],"compatible")}function Pa(n,a){return Vr(n,"roundingMode",["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"],a)}function Vc(n,a){return Vr(n,"offset",["prefer","use","ignore","reject"],a)}function fs(n){return Vr(n,"calendarName",["auto","always","never","critical"],"auto")}function Mi(n){let a=n.roundingIncrement;if(a===void 0)return 1;const l=pe(a);if(l<1||l>1e9)throw new RangeError(`roundingIncrement must be at least 1 and at most 1e9, not ${a}`);return l}function Oi(n,a,l){const o=l?a:a-1;if(n>o)throw new RangeError(`roundingIncrement must be at least 1 and less than ${o}, not ${n}`);if(a%n!=0)throw new RangeError(`Rounding increment must divide evenly into ${a}`)}function ds(n){const a=n.fractionalSecondDigits;if(a===void 0)return"auto";if(typeof a!="number"){if(uu(a)!=="auto")throw new RangeError(`fractionalSecondDigits must be 'auto' or 0 through 9, not ${a}`);return"auto"}const l=Math.floor(a);if(!Number.isFinite(l)||l<0||l>9)throw new RangeError(`fractionalSecondDigits must be 'auto' or 0 through 9, not ${a}`);return l}function vs(n,a){switch(n){case"minute":return{precision:"minute",unit:"minute",increment:1};case"second":return{precision:0,unit:"second",increment:1};case"millisecond":return{precision:3,unit:"millisecond",increment:1};case"microsecond":return{precision:6,unit:"microsecond",increment:1};case"nanosecond":return{precision:9,unit:"nanosecond",increment:1}}switch(a){case"auto":return{precision:a,unit:"nanosecond",increment:1};case 0:return{precision:a,unit:"second",increment:1};case 1:case 2:case 3:return{precision:a,unit:"millisecond",increment:10**(3-a)};case 4:case 5:case 6:return{precision:a,unit:"microsecond",increment:10**(6-a)};case 7:case 8:case 9:return{precision:a,unit:"nanosecond",increment:10**(9-a)};default:throw new RangeError(`fractionalSecondDigits must be 'auto' or 0 through 9, not ${a}`)}}const Qr=Symbol("~required~");function da(n,a,l,o,s=[]){let c=[];for(let h=0;h<xi.length;h++){const g=xi[h],b=g[1],p=g[2];l!=="datetime"&&l!==p||c.push(b)}c=c.concat(s);let f=o;f===Qr?f=void 0:f!==void 0&&c.push(f);let v=[];v=v.concat(c);for(let h=0;h<c.length;h++){const g=c[h],b=jx[g];b!==void 0&&v.push(b)}let m=Vr(n,a,v,f);if(m===void 0&&o===Qr)throw new RangeError(`${a} is required`);return m&&m in Tb?Tb[m]:m}function Wd(n){const a=n.relativeTo;if(a===void 0)return{};let l,o,s,c,f,v="option",m=!1;if(at(a)){if(Ee(a))return{zonedRelativeTo:a};if(et(a))return{plainRelativeTo:a};if(We(a))return{plainRelativeTo:Ft(x(a,Ie).isoDate,x(a,F))};s=ys(a);const h=Oa(s,a,["year","month","monthCode","day"],["hour","minute","second","millisecond","microsecond","nanosecond","offset","timeZone"],[]);({isoDate:l,time:o}=ms(s,h,"constrain")),{offset:f,timeZone:c}=h,f===void 0&&(v="wall")}else{let h,g,b,p,S;if({year:b,month:p,day:S,time:o,calendar:s,tzAnnotation:h,offset:f,z:g}=hr(mt(a)),h)c=It(h),g?v="exact":f||(v="wall"),m=!0;else if(g)throw new RangeError("Z designator not supported for PlainDate relativeTo; either remove the Z or add a bracketed time zone");s||(s="iso8601"),s=ta(s),l={year:b,month:p,day:S}}return c===void 0?{plainRelativeTo:Ft(l,s)}:{zonedRelativeTo:Rt(Fc(l,o,v,v==="option"?Ai(f):0,c,"compatible","reject",m),c,s)}}function kr(n){return x(n,Bt)!==0?"year":x(n,Zt)!==0?"month":x(n,ca)!==0?"week":x(n,Gt)!==0?"day":x(n,Vt)!==0?"hour":x(n,Xt)!==0?"minute":x(n,$t)!==0?"second":x(n,Qt)!==0?"millisecond":x(n,Wt)!==0?"microsecond":"nanosecond"}function Zr(n,a){return $o.indexOf(n)>$o.indexOf(a)?a:n}function lr(n){return n==="year"||n==="month"||n==="week"}function Hr(n){return lr(n)||n==="day"?"date":"time"}function Nl(n){return Mt("%calendarImpl%")(n)}function hs(n){return Mt("%calendarImpl%")(x(n,F))}function Jt(n,a,l="date"){const o=Object.create(null),s=Nl(n).isoToDate(a,{year:!0,monthCode:!0,day:!0});return o.monthCode=s.monthCode,l!=="month-day"&&l!=="date"||(o.day=s.day),l!=="year-month"&&l!=="date"||(o.year=s.year),o}function Oa(n,a,l,o,s){const c=Nl(n).extraFields(l),f=l.concat(o,c),v=Object.create(null);let m=!1;f.sort();for(let h=0;h<f.length;h++){const g=f[h],b=a[g];if(b!==void 0)m=!0,v[g]=(0,Ax[g])(b);else if(s!=="partial"){if(s.includes(g))throw new TypeError(`required property '${g}' missing or undefined`);v[g]=Rx[g]}}if(s==="partial"&&!m)throw new TypeError("no supported properties found");return v}function uv(n,a="complete"){const l=["hour","microsecond","millisecond","minute","nanosecond","second"];let o=!1;const s=Object.create(null);for(let c=0;c<l.length;c++){const f=l[c],v=n[f];v!==void 0?(s[f]=pe(v),o=!0):a==="complete"&&(s[f]=0)}if(!o)throw new TypeError("invalid time-like");return s}function ko(n,a){if(at(n)){if(et(n))return Ne(se(a)),Ft(x(n,ge),x(n,F));if(Ee(n)){const m=Xa(x(n,qe),x(n,me));return Ne(se(a)),Ft(m.isoDate,x(n,F))}if(We(n))return Ne(se(a)),Ft(x(n,Ie).isoDate,x(n,F));const v=ys(n);return Ft(Al(v,Oa(v,n,["year","month","monthCode","day"],[],[]),Ne(se(a))),v)}let{year:l,month:o,day:s,calendar:c,z:f}=hr(mt(n));if(f)throw new RangeError("Z designator not supported for PlainDate");return c||(c="iso8601"),c=ta(c),Ne(se(a)),Ft({year:l,month:o,day:s},c)}function ms(n,a,l){return Ue(Al(n,a,l),du(a.hour,a.minute,a.second,a.millisecond,a.microsecond,a.nanosecond,l))}function Ho(n,a){let l,o,s;if(at(n)){if(We(n))return Ne(se(a)),Ba(x(n,Ie),x(n,F));if(Ee(n)){const v=Xa(x(n,qe),x(n,me));return Ne(se(a)),Ba(v,x(n,F))}if(et(n))return Ne(se(a)),Ba(Ue(x(n,ge),{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),x(n,F));s=ys(n);const c=Oa(s,n,["year","month","monthCode","day"],["hour","minute","second","millisecond","microsecond","nanosecond"],[]),f=Ne(se(a));({isoDate:l,time:o}=ms(s,c,f))}else{let c,f,v,m;if({year:f,month:v,day:m,time:o,calendar:s,z:c}=hr(mt(n)),c)throw new RangeError("Z designator not supported for PlainDateTime");o==="start-of-day"&&(o={deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),Lv(f,v,m,o.hour,o.minute,o.second,o.millisecond,o.microsecond,o.nanosecond),s||(s="iso8601"),s=ta(s),Ne(se(a)),l={year:f,month:v,day:m}}return Ba(Ue(l,o),s)}function Va(n){const a=Mt("%Temporal.Duration%");if(Je(n))return new a(x(n,Bt),x(n,Zt),x(n,ca),x(n,Gt),x(n,Vt),x(n,Xt),x(n,$t),x(n,Qt),x(n,Wt),x(n,ua));if(!at(n))return(function(s){const{years:c,months:f,weeks:v,days:m,hours:h,minutes:g,seconds:b,milliseconds:p,microseconds:S,nanoseconds:T}=(function(E){const z=Tx.exec(E);if(!z)throw new RangeError(`invalid duration: ${E}`);if(z.every(((J,ve)=>ve<2||J===void 0)))throw new RangeError(`invalid duration: ${E}`);const A=z[1]==="-"?-1:1,q=z[2]===void 0?0:pe(z[2])*A,N=z[3]===void 0?0:pe(z[3])*A,W=z[4]===void 0?0:pe(z[4])*A,Q=z[5]===void 0?0:pe(z[5])*A,P=z[6]===void 0?0:pe(z[6])*A,K=z[7],ae=z[8],I=z[9],le=z[10],ne=z[11];let re=0,he=0,ye=0;if(K!==void 0){if(ae??I??le??ne)throw new RangeError("only the smallest unit can be fractional");ye=3600*pe((K+"000000000").slice(0,9))*A}else if(re=ae===void 0?0:pe(ae)*A,I!==void 0){if(le??ne)throw new RangeError("only the smallest unit can be fractional");ye=60*pe((I+"000000000").slice(0,9))*A}else he=le===void 0?0:pe(le)*A,ne!==void 0&&(ye=pe((ne+"000000000").slice(0,9))*A);const De=ye%1e3,j=Math.trunc(ye/1e3)%1e3,$=Math.trunc(ye/1e6)%1e3;return he+=Math.trunc(ye/1e9)%60,re+=Math.trunc(ye/6e10),gu(q,N,W,Q,P,re,he,$,j,De),{years:q,months:N,weeks:W,days:Q,hours:P,minutes:re,seconds:he,milliseconds:$,microseconds:j,nanoseconds:De}})(s);return new(Mt("%Temporal.Duration%"))(c,f,v,m,h,g,b,p,S,T)})(mt(n));const l={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0,milliseconds:0,microseconds:0,nanoseconds:0};let o=rp(n);for(let s=0;s<Kc.length;s++){const c=Kc[s],f=o[c];f!==void 0&&(l[c]=f)}return new a(l.years,l.months,l.weeks,l.days,l.hours,l.minutes,l.seconds,l.milliseconds,l.microseconds,l.nanoseconds)}function Lo(n){let a;if(at(n)){if(zt(n)||Ee(n))return ir(x(n,me));a=sv(n)}else a=n;const{year:l,month:o,day:s,time:c,offset:f,z:v}=(function(E){const z=hr(E);if(!z.z&&!z.offset)throw new RangeError("Temporal.Instant requires a time zone offset");return z})(mt(a)),{hour:m=0,minute:h=0,second:g=0,millisecond:b=0,microsecond:p=0,nanosecond:S=0}=c==="start-of-day"?{}:c,T=rs(l,o,s,m,h,g,b,p,S-(v?0:Ai(f)));return bi(T.isoDate),ir(Ct(T))}function zb(n,a){if(at(n)){if(Ea(n))return Ne(se(a)),di(x(n,ge),x(n,F));let v;return ea(n,F)?v=x(n,F):(v=n.calendar,v===void 0&&(v="iso8601"),v=bs(v)),di(Ic(v,Oa(v,n,["year","month","monthCode","day"],[],[]),Ne(se(a))),v)}let{month:l,day:o,referenceISOYear:s,calendar:c}=Uv(mt(n));if(c===void 0&&(c="iso8601"),c=ta(c),Ne(se(a)),c==="iso8601")return di({year:1972,month:l,day:o},c);let f={year:s,month:l,day:o};return bn(f),f=Ic(c,Jt(c,f,"month-day"),"constrain"),di(f,c)}function El(n,a){let l;if(at(n)){if(it(n))return Ne(se(a)),Lr(x(n,tt));if(We(n))return Ne(se(a)),Lr(x(n,Ie).time);if(Ee(n)){const h=Xa(x(n,qe),x(n,me));return Ne(se(a)),Lr(h.time)}const{hour:o,minute:s,second:c,millisecond:f,microsecond:v,nanosecond:m}=uv(n);l=du(o,s,c,f,v,m,Ne(se(a)))}else l=Jy(mt(n)),Ne(se(a));return Lr(l)}function lp(n){return n===void 0?{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}:x(El(n),tt)}function qo(n,a){if(at(n)){if(Dt(n))return Ne(se(a)),gi(x(n,ge),x(n,F));const v=ys(n);return gi(es(v,Oa(v,n,["year","month","monthCode"],[],[]),Ne(se(a))),v)}let{year:l,month:o,referenceISODay:s,calendar:c}=Nv(mt(n));c===void 0&&(c="iso8601"),c=ta(c),Ne(se(a));let f={year:l,month:o,day:s};return qv(f),f=es(c,Jt(c,f,"year-month"),"constrain"),gi(f,c)}function Fc(n,a,l,o,s,c,f,v){if(a==="start-of-day")return Sl(s,n);const m=Ue(n,a);if(l==="wall"||f==="ignore")return Nt(s,m,c);if(l==="exact"||f==="use"){const b=rs(n.year,n.month,n.day,a.hour,a.minute,a.second,a.millisecond,a.microsecond,a.nanosecond-o);bi(b.isoDate);const p=Ct(b);return dr(p),p}bi(n);const h=Ct(m),g=ts(s,m);for(let b=0;b<g.length;b++){const p=g[b],S=w.toNumber(w.subtract(h,p)),T=zl(S,6e10,"halfExpand");if(S===o||v&&T===o)return p}if(f==="reject"){const b=fv(o),p=as(m,"iso8601","auto");throw new RangeError(`Offset ${b} is invalid for ${p} in ${s}`)}return vp(g,s,m,c)}function Bo(n,a){let l,o,s,c,f,v,m,h=!1,g="option";if(at(n)){if(Ee(n)){const E=se(a);return Wo(E),Vc(E,"reject"),Ne(E),Rt(x(n,me),x(n,qe),x(n,F))}f=ys(n);const p=Oa(f,n,["year","month","monthCode","day"],["hour","minute","second","millisecond","microsecond","nanosecond","offset","timeZone"],["timeZone"]);({offset:c,timeZone:s}=p),c===void 0&&(g="wall");const S=se(a);v=Wo(S),m=Vc(S,"reject");const T=Ne(S);({isoDate:l,time:o}=ms(f,p,T))}else{let p,S,T,E,z;({year:T,month:E,day:z,time:o,tzAnnotation:p,offset:c,z:S,calendar:f}=(function(q){const N=hr(q);if(!N.tzAnnotation)throw new RangeError("Temporal.ZonedDateTime requires a time zone ID in brackets");return N})(mt(n))),s=It(p),S?g="exact":c||(g="wall"),f||(f="iso8601"),f=ta(f),h=!0;const A=se(a);v=Wo(A),m=Vc(A,"reject"),Ne(A),l={year:T,month:E,day:z}}let b=0;return g==="option"&&(b=Ai(c)),Rt(Fc(l,o,g,b,s,v,m,h),s,f)}function np(n,a,l){bn(a),Kr(n),Te(n,ge,a),Te(n,F,l),Te(n,Yy,!0)}function Ft(n,a){const l=Mt("%Temporal.PlainDate%"),o=Object.create(l.prototype);return np(o,n,a),o}function ip(n,a,l){dn(a),Kr(n),Te(n,Ie,a),Te(n,F,l)}function Ba(n,a){const l=Mt("%Temporal.PlainDateTime%"),o=Object.create(l.prototype);return ip(o,n,a),o}function op(n,a,l){bn(a),Kr(n),Te(n,ge,a),Te(n,F,l),Te(n,Hy,!0)}function di(n,a){const l=Mt("%Temporal.PlainMonthDay%"),o=Object.create(l.prototype);return op(o,n,a),o}function sp(n,a){Kr(n),Te(n,tt,a)}function Lr(n){const a=Mt("%Temporal.PlainTime%"),l=Object.create(a.prototype);return sp(l,n),l}function cp(n,a,l){qv(a),Kr(n),Te(n,ge,a),Te(n,F,l),Te(n,ky,!0)}function gi(n,a){const l=Mt("%Temporal.PlainYearMonth%"),o=Object.create(l.prototype);return cp(o,n,a),o}function up(n,a){dr(a),Kr(n),Te(n,me,a)}function ir(n){const a=Mt("%Temporal.Instant%"),l=Object.create(a.prototype);return up(l,n),l}function fp(n,a,l,o){dr(a),Kr(n),Te(n,me,a),Te(n,qe,l),Te(n,F,o)}function Rt(n,a,l="iso8601"){const o=Mt("%Temporal.ZonedDateTime%"),s=Object.create(o.prototype);return fp(s,n,a,l),s}function Db(n){return cv.filter((a=>n[a]!==void 0))}function un(n,a,l){const o=Db(l),s=Nl(n).fieldKeysToIgnore(o),c=Object.create(null),f=Db(a);for(let v=0;v<cv.length;v++){let m;const h=cv[v];f.includes(h)&&!s.includes(h)&&(m=a[h]),o.includes(h)&&(m=l[h]),m!==void 0&&(c[h]=m)}return c}function Ca(n,a,l,o){const s=Nl(n).dateAdd(a,l,o);return bn(s),s}function gs(n,a,l,o){return Nl(n).dateUntil(a,l,o)}function bs(n){if(at(n)&&ea(n,F))return x(n,F);const a=mt(n);try{return ta(a)}catch{}let l;try{({calendar:l}=hr(a))}catch{try{({calendar:l}=Jy(a))}catch{try{({calendar:l}=Nv(a))}catch{({calendar:l}=Uv(a))}}}return l||(l="iso8601"),ta(l)}function ys(n){if(ea(n,F))return x(n,F);const{calendar:a}=n;return a===void 0?"iso8601":bs(a)}function fr(n,a){return ta(n)===ta(a)}function Al(n,a,l){const o=Nl(n);o.resolveFields(a,"date");const s=o.dateToISO(a,l);return bn(s),s}function es(n,a,l){const o=Nl(n);o.resolveFields(a,"year-month"),a.day=1;const s=o.dateToISO(a,l);return qv(s),s}function Ic(n,a,l){const o=Nl(n);o.resolveFields(a,"month-day");const s=o.monthDayToISOReferenceDate(a,l);return bn(s),s}function It(n){if(at(n)&&Ee(n))return x(n,qe);const a=mt(n);if(a==="UTC")return"UTC";const{tzName:l,offsetMinutes:o}=(function(c){const{tzAnnotation:f,offset:v,z:m}=(function(h){if(ep.test(h))return{tzAnnotation:h,offset:void 0,z:!1};try{const{tzAnnotation:g,offset:b,z:p}=hr(h);if(p||g||b)return{tzAnnotation:g,offset:b,z:p}}catch{}ap(h)})(c);return f?Cl(f):m?Cl("UTC"):v?Cl(v):void 0})(a);if(o!==void 0)return Yv(o);const s=Pc(l);if(!s)throw new RangeError(`Unrecognized time zone ${l}`);return s.identifier}function dp(n,a){if(n===a)return!0;const l=Cl(n).offsetMinutes,o=Cl(a).offsetMinutes;if(l===void 0&&o===void 0){const s=Pc(a);if(!s)return!1;const c=Pc(n);return!!c&&c.primaryIdentifier===s.primaryIdentifier}return l===o}function qr(n,a){const l=Cl(n).offsetMinutes;return l!==void 0?6e10*l:dv(n,a)}function fv(n){const a=n<0?"-":"+",l=Math.abs(n),o=Math.floor(l/36e11),s=Math.floor(l/6e10)%60,c=Math.floor(l/1e9)%60,f=l%1e9;return`${a}${vu(o,s,c,f,c===0&&f===0?"minute":"auto")}`}function Xa(n,a){const l=qr(n,a);let{isoDate:{year:o,month:s,day:c},time:{hour:f,minute:v,second:m,millisecond:h,microsecond:g,nanosecond:b}}=gp(a);return rs(o,s,c,f,v,m,h,g,b+l)}function Nt(n,a,l){return vp(ts(n,a),n,a,l)}function vp(n,a,l,o){const s=n.length;if(s===1)return n[0];if(s)switch(o){case"compatible":case"earlier":return n[0];case"later":return n[s-1];case"reject":throw new RangeError("multiple instants found")}if(o==="reject")throw new RangeError("multiple instants found");const c=Ct(l),f=w.subtract(c,Ml);dr(f);const v=qr(a,f),m=w.add(c,Ml);dr(m);const h=qr(a,m)-v;switch(o){case"earlier":{const g=ze.fromComponents(0,0,0,0,0,-h),b=_i(l.time,g);return ts(a,Ue(va(l.isoDate.year,l.isoDate.month,l.isoDate.day+b.deltaDays),b))[0]}case"compatible":case"later":{const g=ze.fromComponents(0,0,0,0,0,h),b=_i(l.time,g),p=ts(a,Ue(va(l.isoDate.year,l.isoDate.month,l.isoDate.day+b.deltaDays),b));return p[p.length-1]}}}function ts(n,a){if(n==="UTC")return bi(a.isoDate),[Ct(a)];const l=Cl(n).offsetMinutes;if(l!==void 0){const o=rs(a.isoDate.year,a.isoDate.month,a.isoDate.day,a.time.hour,a.time.minute-l,a.time.second,a.time.millisecond,a.time.microsecond,a.time.nanosecond);bi(o.isoDate);const s=Ct(o);return dr(s),[s]}return bi(a.isoDate),(function(o,s){let c=Ct(s),f=w.subtract(c,Ml);w.lessThan(f,Po)&&(f=c);let v=w.add(c,Ml);w.greaterThan(v,wi)&&(v=c);const m=dv(o,f),h=dv(o,v);return(m===h?[m]:[m,h]).map((b=>{const p=w.subtract(c,w.BigInt(b)),S=(function(T,E){const{epochMilliseconds:z,time:{millisecond:A,microsecond:q,nanosecond:N}}=gp(E),{year:W,month:Q,day:P,hour:K,minute:ae,second:I}=bp(T,z);return rs(W,Q,P,K,ae,I,A,q,N)})(o,p);if(Ti(s,S)===0)return dr(p),p})).filter((b=>b!==void 0))})(n,a)}function Sl(n,a){const l=Ue(a,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),o=ts(n,l);if(o.length)return o[0];const s=Ct(l),c=w.subtract(s,Ml);return dr(c),Hv(n,c)}function ps(n){let a;return a=n<0||n>9999?(n<0?"-":"+")+Jo(Math.abs(n),6):Jo(n,4),a}function Ma(n){return Jo(n,2)}function hp(n,a){let l;if(a==="auto"){if(n===0)return"";l=Jo(n,9).replace(/0+$/,"")}else{if(a===0)return"";l=Jo(n,9).slice(0,a)}return`.${l}`}function vu(n,a,l,o,s){let c=`${Ma(n)}:${Ma(a)}`;return s==="minute"||(c+=`:${Ma(l)}`,c+=hp(o,s)),c}function Cb(n,a,l){let o=a;o===void 0&&(o="UTC");const s=x(n,me),c=as(Xa(o,s),"iso8601",l,"never");let f="Z";return a!==void 0&&(f=mp(qr(o,s))),`${c}${f}`}function Zc(n,a){const l=x(n,Bt),o=x(n,Zt),s=x(n,ca),c=x(n,Gt),f=x(n,Vt),v=x(n,Xt),m=eu(n);let h="";l!==0&&(h+=`${Math.abs(l)}Y`),o!==0&&(h+=`${Math.abs(o)}M`),s!==0&&(h+=`${Math.abs(s)}W`),c!==0&&(h+=`${Math.abs(c)}D`);let g="";f!==0&&(g+=`${Math.abs(f)}H`),v!==0&&(g+=`${Math.abs(v)}M`);const b=ze.fromComponents(0,0,x(n,$t),x(n,Qt),x(n,Wt),x(n,ua));b.isZero()&&!["second","millisecond","microsecond","nanosecond"].includes(kr(n))&&a==="auto"||(g+=`${Math.abs(b.sec)}${hp(Math.abs(b.subsec),a)}S`);let p=`${m<0?"-":""}P${h}`;return g&&(p=`${p}T${g}`),p}function Mb(n,a="auto"){const{year:l,month:o,day:s}=x(n,ge);return`${ps(l)}-${Ma(o)}-${Ma(s)}${us(x(n,F),a)}`}function Ob({hour:n,minute:a,second:l,millisecond:o,microsecond:s,nanosecond:c},f){return vu(n,a,l,1e6*o+1e3*s+c,f)}function as(n,a,l,o="auto"){const{isoDate:{year:s,month:c,day:f},time:{hour:v,minute:m,second:h,millisecond:g,microsecond:b,nanosecond:p}}=n;return`${ps(s)}-${Ma(c)}-${Ma(f)}T${vu(v,m,h,1e6*g+1e3*b+p,l)}${us(a,o)}`}function Ab(n,a="auto"){const{year:l,month:o,day:s}=x(n,ge);let c=`${Ma(o)}-${Ma(s)}`;const f=x(n,F);a!=="always"&&a!=="critical"&&f==="iso8601"||(c=`${ps(l)}-${c}`);const v=us(f,a);return v&&(c+=v),c}function Rb(n,a="auto"){const{year:l,month:o,day:s}=x(n,ge);let c=`${ps(l)}-${Ma(o)}`;const f=x(n,F);a!=="always"&&a!=="critical"&&f==="iso8601"||(c+=`-${Ma(s)}`);const v=us(f,a);return v&&(c+=v),c}function jb(n,a,l="auto",o="auto",s="auto",c=void 0){let f=x(n,me);if(c){const{unit:g,increment:b,roundingMode:p}=c;f=gv(f,b,g,p)}const v=x(n,qe),m=qr(v,f);let h=as(Xa(v,f),"iso8601",a,"never");return s!=="never"&&(h+=mp(m)),o!=="never"&&(h+=`[${o==="critical"?"!":""}${v}]`),h+=us(x(n,F),l),h}function Nb(n){return tp.test(n)}function Ai(n){const a=kx.exec(n);if(!a)throw new RangeError(`invalid time zone offset: ${n}; must match ±HH:MM[:SS.SSSSSSSSS]`);return(a[1]==="-"?-1:1)*(1e9*(60*(60*+a[2]+ +(a[3]||0))+ +(a[4]||0))+ +((a[5]||0)+"000000000").slice(0,9))}let an;const Ux=Object.assign(Object.create(null),{"/":!0,"-":!0,_:!0});function Pc(n){var c;if(an===void 0){const f=(c=Intl.supportedValuesOf)==null?void 0:c.call(Intl,"timeZone");if(f){an=new Map;for(let v=0;v<f.length;v++){const m=f[v];an.set(ls(m),m)}}else an=null}const a=ls(n);let l=an==null?void 0:an.get(a);if(l)return{identifier:l,primaryIdentifier:l};try{l=Py(n).resolvedOptions().timeZone}catch{return}if(a==="antarctica/south_pole"&&(l="Antarctica/McMurdo"),Ox.has(n))throw new RangeError(`${n} is a legacy time zone identifier from ICU. Use ${l} instead`);const o=[...a].map(((f,v)=>v===0||Ux[a[v-1]]?f.toUpperCase():f)).join("").split("/");if(o.length===1)return a==="gb-eire"?{identifier:"GB-Eire",primaryIdentifier:l}:{identifier:a.length<=3||/[-0-9]/.test(a)?a.toUpperCase():o[0],primaryIdentifier:l};if(o[0]==="Etc")return{identifier:`Etc/${["Zulu","Greenwich","Universal"].includes(o[1])?o[1]:o[1].toUpperCase()}`,primaryIdentifier:l};if(o[0]==="Us")return{identifier:`US/${o[1]}`,primaryIdentifier:l};const s=new Map([["Act","ACT"],["Lhi","LHI"],["Nsw","NSW"],["Dar_Es_Salaam","Dar_es_Salaam"],["Port_Of_Spain","Port_of_Spain"],["Port-Au-Prince","Port-au-Prince"],["Isle_Of_Man","Isle_of_Man"],["Comodrivadavia","ComodRivadavia"],["Knox_In","Knox_IN"],["Dumontdurville","DumontDUrville"],["Mcmurdo","McMurdo"],["Denoronha","DeNoronha"],["Easterisland","EasterIsland"],["Bajanorte","BajaNorte"],["Bajasur","BajaSur"]]);return o[1]=s.get(o[1])??o[1],o.length>2&&(o[2]=s.get(o[2])??o[2]),{identifier:o.join("/"),primaryIdentifier:l}}function sn(n,a){const{year:l,month:o,day:s,hour:c,minute:f,second:v}=bp(n,a);let m=a%1e3;return m<0&&(m+=1e3),1e6*(kv({isoDate:{year:l,month:o,day:s},time:{hour:c,minute:f,second:v,millisecond:m}})-a)}function dv(n,a){return sn(n,$a(a,"floor"))}function Yv(n){const a=n<0?"-":"+",l=Math.abs(n);return`${a}${vu(Math.floor(l/60),l%60,0,0,"minute")}`}function mp(n){return Yv(zl(n,Ex,"halfExpand")/6e10)}function kv({isoDate:{year:n,month:a,day:l},time:{hour:o,minute:s,second:c,millisecond:f}}){const v=n%400,m=(n-v)/400,h=new Date;return h.setUTCHours(o,s,c,f),h.setUTCFullYear(v,a-1,l),h.getTime()+Cx*m}function Ct(n){const a=kv(n),l=1e3*n.time.microsecond+n.time.nanosecond;return w.add(sr(a),w.BigInt(l))}function gp(n){let a=$a(n,"trunc"),l=w.toNumber(w.remainder(n,ss));l<0&&(l+=1e6,a-=1);const o=Math.floor(l/1e3)%1e3,s=l%1e3,c=new Date(a);return{epochMilliseconds:a,isoDate:{year:c.getUTCFullYear(),month:c.getUTCMonth()+1,day:c.getUTCDate()},time:{hour:c.getUTCHours(),minute:c.getUTCMinutes(),second:c.getUTCSeconds(),millisecond:c.getUTCMilliseconds(),microsecond:o,nanosecond:s}}}function Hv(n,a){if(n==="UTC")return null;const l=$a(a,"floor");if(l<Xo)return Hv(n,sr(Xo));const o=Date.now(),s=Math.max(l,o)+366*Ol*3;let c=l,f=sn(n,c),v=c,m=f;for(;f===m&&c<s;){if(v=c+2*Ol*7,v>Iy)return null;m=sn(n,v),f===m&&(c=v)}return f===m?null:sr(Dp((h=>sn(n,h)),c,v,f,m))}function vv(n,a){if(n==="UTC")return null;const l=$a(a,"ceil"),o=Date.now(),s=o+366*Ol*3;if(l>s){const h=vv(n,sr(s));if(h===null||w.lessThan(h,sr(o)))return h}if(n==="Africa/Casablanca"||n==="Africa/El_Aaiun"){const h=Date.UTC(2088,0,1);if(h<l)return vv(n,sr(h))}let c=l-1;if(c<Xo)return null;let f=sn(n,c),v=c,m=f;for(;f===m&&c>Xo;){if(v=c-2*Ol*7,v<Xo)return null;m=sn(n,v),f===m&&(c=v)}return f===m?null:sr(Dp((h=>sn(n,h)),v,c,m,f))}function bp(n,a){return(function(l){const o=l.split(/[^\w]+/);if(o.length!==7)throw new RangeError(`expected 7 parts in "${l}`);const s=+o[0],c=+o[1];let f=+o[2];const v=o[3];if(v[0]==="b"||v[0]==="B")f=1-f;else if(v[0]!=="a"&&v[0]!=="A")throw new RangeError(`Unknown era ${v} in "${l}`);const m=o[4]==="24"?0:+o[4],h=+o[5],g=+o[6];if(!(Number.isFinite(f)&&Number.isFinite(s)&&Number.isFinite(c)&&Number.isFinite(m)&&Number.isFinite(h)&&Number.isFinite(g)))throw new RangeError(`Invalid number in "${l}`);return{year:f,month:s,day:c,hour:m,minute:h,second:g}})(Py(n).format(a))}function Jc(n){return n!==void 0&&!(n%4!=0||n%100==0&&n%400!=0)}function cn(n,a){return{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]}[Jc(n)?"leapyear":"standard"][a-1]}function eu(n){const a=[x(n,Bt),x(n,Zt),x(n,ca),x(n,Gt),x(n,Vt),x(n,Xt),x(n,$t),x(n,Qt),x(n,Wt),x(n,ua)];for(let l=0;l<a.length;l++){const o=a[l];if(o!==0)return o<0?-1:1}return 0}function hu(n){const a=["years","months","weeks","days"];for(let l=0;l<a.length;l++){const o=n[a[l]];if(o!==0)return o<0?-1:1}return 0}function yp(n){const a=hu(n.date);return a!==0?a:n.time.sign()}function on(n,a){let l=n,o=a;if(!Number.isFinite(l)||!Number.isFinite(o))throw new RangeError("infinity is out of range");return o-=1,l+=Math.floor(o/12),o%=12,o<0&&(o+=12),o+=1,{year:l,month:o}}function va(n,a,l){let o=n,s=a,c=l;if(!Number.isFinite(c))throw new RangeError("infinity is out of range");({year:o,month:s}=on(o,s));const f=146097;if(Math.abs(c)>f){const h=Math.trunc(c/f);o+=400*h,c-=h*f}let v=0,m=s>2?o:o-1;for(;v=Jc(m)?366:365,c<-v;)o-=1,m-=1,c+=v;for(m+=1;v=Jc(m)?366:365,c>v;)o+=1,m+=1,c-=v;for(;c<1;)({year:o,month:s}=on(o,s-1)),c+=cn(o,s);for(;c>cn(o,s);)c-=cn(o,s),{year:o,month:s}=on(o,s+1);return{year:o,month:s,day:c}}function rs(n,a,l,o,s,c,f,v,m){const h=_l(o,s,c,f,v,m);return Ue(va(n,a,l+h.deltaDays),h)}function _l(n,a,l,o,s,c){let f,v=n,m=a,h=l,g=o,b=s,p=c;({div:f,mod:p}=fi(p,3)),b+=f,p<0&&(b-=1,p+=1e3),{div:f,mod:b}=fi(b,3),g+=f,b<0&&(g-=1,b+=1e3),h+=Math.trunc(g/1e3),g%=1e3,g<0&&(h-=1,g+=1e3),m+=Math.trunc(h/60),h%=60,h<0&&(m-=1,h+=60),v+=Math.trunc(m/60),m%=60,m<0&&(v-=1,m+=60);let S=Math.trunc(v/24);return v%=24,v<0&&(S-=1,v+=24),S+=0,v+=0,m+=0,h+=0,g+=0,b+=0,p+=0,{deltaDays:S,hour:v,minute:m,second:h,millisecond:g,microsecond:b,nanosecond:p}}function Ub(n,a){const l=jt(n,0);if(hu(l)===0)return n.days;const o=x(a,ge),s=Ca(x(a,F),o,l,"constrain"),c=vn(o.year,o.month-1,o.day),f=vn(s.year,s.month-1,s.day)-c;return n.days+f}function ha(n){return new(Mt("%Temporal.Duration%"))(-x(n,Bt),-x(n,Zt),-x(n,ca),-x(n,Gt),-x(n,Vt),-x(n,Xt),-x(n,$t),-x(n,Qt),-x(n,Wt),-x(n,ua))}function Kt(n,a,l){return Math.min(l,Math.max(a,n))}function pp(n,a,l){const o=Kt(a,1,12);return{year:n,month:o,day:Kt(l,1,cn(n,o))}}function wt(n,a,l){if(n<a||n>l)throw new RangeError(`value out of range: ${a} <= ${n} <= ${l}`)}function fn(n,a,l){wt(a,1,12),wt(l,1,cn(n,a))}function bn(n){dn(Ue(n,{deltaDays:0,hour:12,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}))}function mu(n,a,l,o,s,c){wt(n,0,23),wt(a,0,59),wt(l,0,59),wt(o,0,999),wt(s,0,999),wt(c,0,999)}function Lv(n,a,l,o,s,c,f,v,m){fn(n,a,l),mu(o,s,c,f,v,m)}function dn(n){const a=Ct(n);(w.lessThan(a,zx)||w.greaterThan(a,Dx))&&dr(a)}function hv(n){Ct(n)}function dr(n){if(w.lessThan(n,Po)||w.greaterThan(n,wi))throw new RangeError("date/time value is outside of supported range")}function qv({year:n,month:a}){wt(n,xb,Sb),n===xb?wt(a,4,12):n===Sb&&wt(a,1,9)}function gu(n,a,l,o,s,c,f,v,m,h){let g=0;const b=[n,a,l,o,s,c,f,v,m,h];for(let A=0;A<b.length;A++){const q=b[A];if(q===1/0||q===-1/0)throw new RangeError("infinite values not allowed as duration fields");if(q!==0){const N=q<0?-1:1;if(g!==0&&N!==g)throw new RangeError("mixed-sign values not allowed as duration fields");g=N}}if(Math.abs(n)>=2**32||Math.abs(a)>=2**32||Math.abs(l)>=2**32)throw new RangeError("years, months, and weeks must be < 2³²");const p=fi(v,3),S=fi(m,6),T=fi(h,9),E=fi(1e6*p.mod+1e3*S.mod+T.mod,9).div,z=86400*o+3600*s+60*c+f+p.div+S.div+T.div+E;if(!Number.isSafeInteger(z))throw new RangeError("total of duration time units cannot exceed 9007199254740991.999999999 s")}function ci(n){return{date:{years:x(n,Bt),months:x(n,Zt),weeks:x(n,ca),days:x(n,Gt)},time:ze.fromComponents(x(n,Vt),x(n,Xt),x(n,$t),x(n,Qt),x(n,Wt),x(n,ua))}}function or(n){const a=ze.fromComponents(x(n,Vt),x(n,Xt),x(n,$t),x(n,Qt),x(n,Wt),x(n,ua)).add24HourDays(x(n,Gt));return{date:{years:x(n,Bt),months:x(n,Zt),weeks:x(n,ca),days:0},time:a}}function wp(n){const a=or(n),l=Math.trunc(a.time.sec/86400);return gu(a.date.years,a.date.months,a.date.weeks,l,0,0,0,0,0,0),{...a.date,days:l}}function Za(n,a){const l=n.time.sign();let o=n.time.abs().subsec,s=0,c=0,f=n.time.abs().sec,v=0,m=0,h=0;switch(a){case"year":case"month":case"week":case"day":s=Math.trunc(o/1e3),o%=1e3,c=Math.trunc(s/1e3),s%=1e3,f+=Math.trunc(c/1e3),c%=1e3,v=Math.trunc(f/60),f%=60,m=Math.trunc(v/60),v%=60,h=Math.trunc(m/24),m%=24;break;case"hour":s=Math.trunc(o/1e3),o%=1e3,c=Math.trunc(s/1e3),s%=1e3,f+=Math.trunc(c/1e3),c%=1e3,v=Math.trunc(f/60),f%=60,m=Math.trunc(v/60),v%=60;break;case"minute":s=Math.trunc(o/1e3),o%=1e3,c=Math.trunc(s/1e3),s%=1e3,f+=Math.trunc(c/1e3),c%=1e3,v=Math.trunc(f/60),f%=60;break;case"second":s=Math.trunc(o/1e3),o%=1e3,c=Math.trunc(s/1e3),s%=1e3,f+=Math.trunc(c/1e3),c%=1e3;break;case"millisecond":s=Math.trunc(o/1e3),o%=1e3,c=$d(f,3,Math.trunc(s/1e3)),s%=1e3,f=0;break;case"microsecond":s=$d(f,6,Math.trunc(o/1e3)),o%=1e3,f=0;break;case"nanosecond":o=$d(f,9,o),f=0}return new(Mt("%Temporal.Duration%"))(n.date.years,n.date.months,n.date.weeks,n.date.days+l*h,l*m,l*v,l*f,l*c,l*s,l*o)}function Gr(n,a){return hu(n),a.sign(),{date:n,time:a}}function vn(n,a,l){return kv({isoDate:{year:n,month:a+1,day:l},time:{hour:0,minute:0,second:0,millisecond:0}})/Ol}function bi({year:n,month:a,day:l}){if(Math.abs(vn(n,a-1,l))>1e8)throw new RangeError("date/time value is outside the supported range")}function Bv(n,a){const l=a.hour-n.hour,o=a.minute-n.minute,s=a.second-n.second,c=a.millisecond-n.millisecond,f=a.microsecond-n.microsecond,v=a.nanosecond-n.nanosecond;return ze.fromComponents(l,o,s,c,f,v)}function Zv(n,a,l,o,s){let c=ze.fromEpochNsDiff(a,n);return c=tu(c,l,o,s),Gr({years:0,months:0,weeks:0,days:0},c)}function xp(n,a,l,o){hv(n),hv(a);let s=Bv(n.time,a.time);const c=s.sign(),f=vr(n.isoDate,a.isoDate);let v=a.isoDate;f===c&&(v=va(v.year,v.month,v.day+c),s=s.add24HourDays(-c));const m=Zr("day",o),h=gs(l,n.isoDate,v,m);return o!==m&&(s=s.add24HourDays(h.days),h.days=0),Gr(h,s)}function Sp(n,a,l,o,s){const c=w.subtract(a,n);if(w.equal(c,za))return{date:{years:0,months:0,weeks:0,days:0},time:ze.ZERO};const f=w.lessThan(c,za)?-1:1,v=Xa(l,n),m=Xa(l,a);let h,g=0,b=f===1?2:1,p=Bv(v.time,m.time);for(p.sign()===-f&&g++;g<=b;g++){h=Ue(va(m.isoDate.year,m.isoDate.month,m.isoDate.day-g*f),v.time);const T=Nt(l,h,"compatible");if(p=ze.fromEpochNsDiff(a,T),p.sign()!==-f)break}const S=Zr("day",s);return Gr(gs(o,v.isoDate,h.isoDate,S),p)}function _p(n,a,l,o,s,c,f,v,m){let h,g,b,p,S=a;switch(v){case"year":{const re=zl(S.date.years,f,"trunc");h=re,g=re+f*n,b={years:h,months:0,weeks:0,days:0},p={...b,years:g};break}case"month":{const re=zl(S.date.months,f,"trunc");h=re,g=re+f*n,b=jt(S.date,0,0,h),p=jt(S.date,0,0,g);break}case"week":{const re=jt(S.date,0,0),he=Ca(c,o.isoDate,re,"constrain"),ye=gs(c,he,va(he.year,he.month,he.day+S.date.days),"week"),De=zl(S.date.weeks+ye.weeks,f,"trunc");h=De,g=De+f*n,b=jt(S.date,0,h),p=jt(S.date,0,g);break}case"day":{const re=zl(S.date.days,f,"trunc");h=re,g=re+f*n,b=jt(S.date,h),p=jt(S.date,g);break}}const T=Ca(c,o.isoDate,b,"constrain"),E=Ca(c,o.isoDate,p,"constrain");let z,A;const q=Ue(T,o.time),N=Ue(E,o.time);s?(z=Nt(s,q,"compatible"),A=Nt(s,N,"compatible")):(z=Ct(q),A=Ct(N));const W=ze.fromEpochNsDiff(l,z),Q=ze.fromEpochNsDiff(A,z),P=ou(m,n<0?"negative":"positive"),K=W.add(W).abs().subtract(Q.abs()).sign(),ae=Math.abs(h)/f%2==0,I=W.isZero()?Math.abs(h):W.cmp(Q)?su(Math.abs(h),Math.abs(g),K,ae,P):Math.abs(g),le=new ze(w.add(w.multiply(Q.totalNs,w.BigInt(h)),w.multiply(W.totalNs,w.BigInt(f*n)))).fdiv(Q.totalNs),ne=I===Math.abs(g);return S={date:ne?p:b,time:ze.ZERO},{nudgeResult:{duration:S,nudgedEpochNs:ne?A:z,didExpandCalendarUnit:ne},total:le}}function bu(n,a,l,o,s,c,f,v,m){let h=n;const g=lr(v)||o&&v==="day",b=yp(h)<0?-1:1;let p;return g?{nudgeResult:p}=_p(b,h,a,l,o,s,f,v,m):p=o?(function(S,T,E,z,A,q,N,W){let Q=T;const P=Ca(A,E.isoDate,Q.date,"constrain"),K=Ue(P,E.time),ae=Ue(va(P.year,P.month,P.day+S),E.time),I=Nt(z,K,"compatible"),le=Nt(z,ae,"compatible"),ne=ze.fromEpochNsDiff(le,I);if(ne.sign()!==S)throw new RangeError("time zone returned inconsistent Instants");const re=w.BigInt(Si[N]*q);let he=Q.time.round(re,W);const ye=he.subtract(ne),De=ye.sign()!==-S;let j,$;return De?(j=S,he=ye.round(re,W),$=he.addToEpochNs(le)):(j=0,$=he.addToEpochNs(I)),{duration:Gr(jt(Q.date,Q.date.days+j),he),nudgedEpochNs:$,didExpandCalendarUnit:De}})(b,h,l,o,s,f,v,m):(function(S,T,E,z,A,q){let N=S;const W=N.time.add24HourDays(N.date.days),Q=W.round(w.BigInt(z*Si[A]),q),P=Q.subtract(W),{quotient:K}=W.divmod(Wc),{quotient:ae}=Q.divmod(Wc),I=Math.sign(ae-K)===W.sign(),le=P.addToEpochNs(T);let ne=0,re=Q;return Hr(E)==="date"&&(ne=ae,re=Q.add(ze.fromComponents(24*-ae,0,0,0,0,0))),{duration:{date:jt(N.date,ne),time:re},nudgedEpochNs:le,didExpandCalendarUnit:I}})(h,a,c,f,v,m),h=p.duration,p.didExpandCalendarUnit&&v!=="week"&&(h=(function(S,T,E,z,A,q,N,W){let Q=T;if(W===N)return Q;const P=$o.indexOf(N);for(let K=$o.indexOf(W)-1;K>=P;K--){const ae=$o[K];if(ae==="week"&&N!=="week")continue;let I;switch(ae){case"year":I={years:Q.date.years+S,months:0,weeks:0,days:0};break;case"month":{const re=Q.date.months+S;I=jt(Q.date,0,0,re);break}case"week":{const re=Q.date.weeks+S;I=jt(Q.date,0,re);break}}const le=Ue(Ca(q,z.isoDate,I,"constrain"),z.time);let ne;if(ne=A?Nt(A,le,"compatible"):Ct(le),$c(E,ne)===-S)break;Q={date:I,time:ze.ZERO}}return Q})(b,h,p.nudgedEpochNs,l,o,s,c,Zr(v,"day"))),h}function Yb(n,a,l,o,s,c){return lr(c)||o&&c==="day"?_p(yp(n)<0?-1:1,n,a,l,o,s,1,c,"trunc").total:Ko(n.time.add24HourDays(n.date.days),c)}function Tp(n,a,l,o,s,c,f){if(Ti(n,a)==0)return{date:{years:0,months:0,weeks:0,days:0},time:ze.ZERO};dn(n),dn(a);const v=xp(n,a,l,o);return c==="nanosecond"&&s===1?v:bu(v,Ct(a),n,null,l,o,s,c,f)}function Ep(n,a,l,o,s,c,f,v){if(Hr(s)==="time")return Zv(n,a,c,f,v);const m=Sp(n,a,l,o,s);return f==="nanosecond"&&c===1?m:bu(m,a,Xa(l,n),l,o,s,c,f,v)}function Ri(n,a,l,o,s,c){const f=xi.reduce(((S,T)=>{const E=T[0],z=T[1],A=T[2];return l!=="datetime"&&A!==l||o.includes(z)||S.push(z,E),S}),[]);let v=da(a,"largestUnit",l,"auto");if(o.includes(v))throw new RangeError(`largestUnit must be one of ${f.join(", ")}, not ${v}`);const m=Mi(a);let h=Pa(a,"trunc");n==="since"&&(h=(function(S){switch(S){case"ceil":return"floor";case"floor":return"ceil";case"halfCeil":return"halfFloor";case"halfFloor":return"halfCeil";default:return S}})(h));const g=da(a,"smallestUnit",l,s);if(o.includes(g))throw new RangeError(`smallestUnit must be one of ${f.join(", ")}, not ${g}`);const b=Zr(c,g);if(v==="auto"&&(v=b),Zr(v,g)!==v)throw new RangeError(`largestUnit ${v} cannot be smaller than smallestUnit ${g}`);const p={hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[g];return p!==void 0&&Oi(m,p,!1),{largestUnit:v,roundingIncrement:m,roundingMode:h,smallestUnit:g}}function kb(n,a,l,o){const s=Lo(l),c=Ri(n,se(o),"time",[],"nanosecond","second");let f=Za(Zv(x(a,me),x(s,me),c.roundingIncrement,c.smallestUnit,c.roundingMode),c.largestUnit);return n==="since"&&(f=ha(f)),f}function Hb(n,a,l,o){const s=ko(l),c=x(a,F),f=x(s,F);if(!fr(c,f))throw new RangeError(`cannot compute difference between dates of ${c} and ${f} calendars`);const v=Ri(n,se(o),"date",[],"day","day"),m=Mt("%Temporal.Duration%"),h=x(a,ge),g=x(s,ge);if(vr(h,g)===0)return new m;let b={date:gs(c,h,g,v.largestUnit),time:ze.ZERO};if(v.smallestUnit!=="day"||v.roundingIncrement!==1){const S=Ue(h,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});b=bu(b,Ct(Ue(g,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0})),S,null,c,v.largestUnit,v.roundingIncrement,v.smallestUnit,v.roundingMode)}let p=Za(b,"day");return n==="since"&&(p=ha(p)),p}function Lb(n,a,l,o){const s=Ho(l),c=x(a,F),f=x(s,F);if(!fr(c,f))throw new RangeError(`cannot compute difference between dates of ${c} and ${f} calendars`);const v=Ri(n,se(o),"datetime",[],"nanosecond","day"),m=Mt("%Temporal.Duration%"),h=x(a,Ie),g=x(s,Ie);if(Ti(h,g)===0)return new m;let b=Za(Tp(h,g,c,v.largestUnit,v.roundingIncrement,v.smallestUnit,v.roundingMode),v.largestUnit);return n==="since"&&(b=ha(b)),b}function qb(n,a,l,o){const s=El(l),c=Ri(n,se(o),"time",[],"nanosecond","hour");let f=Bv(x(a,tt),x(s,tt));f=tu(f,c.roundingIncrement,c.smallestUnit,c.roundingMode);let v=Za(Gr({years:0,months:0,weeks:0,days:0},f),c.largestUnit);return n==="since"&&(v=ha(v)),v}function Bb(n,a,l,o){const s=qo(l),c=x(a,F),f=x(s,F);if(!fr(c,f))throw new RangeError(`cannot compute difference between months of ${c} and ${f} calendars`);const v=Ri(n,se(o),"date",["week","day"],"month","year"),m=Mt("%Temporal.Duration%");if(vr(x(a,ge),x(s,ge))==0)return new m;const h=Jt(c,x(a,ge),"year-month");h.day=1;const g=Al(c,h,"constrain"),b=Jt(c,x(s,ge),"year-month");b.day=1;const p=Al(c,b,"constrain");let S={date:jt(gs(c,g,p,v.largestUnit),0,0),time:ze.ZERO};if(v.smallestUnit!=="month"||v.roundingIncrement!==1){const E=Ue(g,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});S=bu(S,Ct(Ue(p,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0})),E,null,c,v.largestUnit,v.roundingIncrement,v.smallestUnit,v.roundingMode)}let T=Za(S,"day");return n==="since"&&(T=ha(T)),T}function Zb(n,a,l,o){const s=Bo(l),c=x(a,F),f=x(s,F);if(!fr(c,f))throw new RangeError(`cannot compute difference between dates of ${c} and ${f} calendars`);const v=Ri(n,se(o),"datetime",[],"nanosecond","hour"),m=x(a,me),h=x(s,me),g=Mt("%Temporal.Duration%");let b;if(Hr(v.largestUnit)!=="date")b=Za(Zv(m,h,v.roundingIncrement,v.smallestUnit,v.roundingMode),v.largestUnit);else{const p=x(a,qe);if(!dp(p,x(s,qe)))throw new RangeError("When calculating difference between time zones, largestUnit must be 'hours' or smaller because day lengths can vary between time zones due to DST or time zone offset changes.");if(w.equal(m,h))return new g;b=Za(Ep(m,h,p,c,v.largestUnit,v.roundingIncrement,v.smallestUnit,v.roundingMode),"hour")}return n==="since"&&(b=ha(b)),b}function _i({hour:n,minute:a,second:l,millisecond:o,microsecond:s,nanosecond:c},f){let v=l,m=c;return v+=f.sec,m+=f.subsec,_l(n,a,v,o,s,m)}function mv(n,a){const l=a.addToEpochNs(n);return dr(l),l}function Zo(n,a,l,o,s="constrain"){if(hu(o.date)===0)return mv(n,o.time);const c=Xa(a,n);return mv(Nt(a,Ue(Ca(l,c.isoDate,o.date,s),c.time),"compatible"),o.time)}function Gb(n,a,l){let o=Va(l);n==="subtract"&&(o=ha(o));const s=Zr(kr(a),kr(o));if(lr(s))throw new RangeError("For years, months, or weeks arithmetic, use date arithmetic relative to a starting point");const c=or(a),f=or(o);return Za(Gr({years:0,months:0,weeks:0,days:0},c.time.add(f.time)),s)}function Vb(n,a,l){let o=Va(l);n==="subtract"&&(o=ha(o));const s=kr(o);if(Hr(s)==="date")throw new RangeError(`Duration field ${s} not supported by Temporal.Instant. Try Temporal.ZonedDateTime instead.`);const c=or(o);return ir(mv(x(a,me),c.time))}function Xb(n,a,l,o){const s=x(a,F);let c=Va(l);n==="subtract"&&(c=ha(c));const f=wp(c),v=Ne(se(o));return Ft(Ca(s,x(a,ge),f,v),s)}function $b(n,a,l,o){let s=Va(l);n==="subtract"&&(s=ha(s));const c=Ne(se(o)),f=x(a,F),v=or(s),m=x(a,Ie),h=_i(m.time,v.time),g=jt(v.date,h.deltaDays);return gu(g.years,g.months,g.weeks,g.days,0,0,0,0,0,0),Ba(Ue(Ca(f,m.isoDate,g,c),h),f)}function Qb(n,a,l){let o=Va(l);n==="subtract"&&(o=ha(o));const s=or(o),{hour:c,minute:f,second:v,millisecond:m,microsecond:h,nanosecond:g}=_i(x(a,tt),s.time);return Lr(du(c,f,v,m,h,g,"reject"))}function Wb(n,a,l,o){let s=Va(l);n==="subtract"&&(s=ha(s));const c=Ne(se(o)),f=eu(s),v=x(a,F),m=Jt(v,x(a,ge),"year-month");m.day=1;let h=Al(v,m,"constrain");if(f<0){const b=Ca(v,h,{months:1},"constrain");h=va(b.year,b.month,b.day-1)}const g=wp(s);return bn(h),gi(es(v,Jt(v,Ca(v,h,g,c),"year-month"),c),v)}function Kb(n,a,l,o){let s=Va(l);n==="subtract"&&(s=ha(s));const c=Ne(se(o)),f=x(a,qe),v=x(a,F),m=ci(s);return Rt(Zo(x(a,me),f,v,m,c),f,v)}function zl(n,a,l){const o=Math.trunc(n/a),s=n%a,c=n<0?"negative":"positive",f=Math.abs(o),v=f+1,m=fa(Math.abs(2*s)-a),h=f%2==0,g=ou(l,c),b=s===0?f:su(f,v,m,h,g);return a*(c==="positive"?b:-b)}function gv(n,a,l,o){const s=Si[l]*a;return(function(c,f,v){const m=Yr(c),h=Yr(f),g=w.divide(m,h),b=w.remainder(m,h),p=ou(v,"positive");let S,T;w.lessThan(m,za)?(S=w.subtract(g,Io),T=g):(S=g,T=w.add(g,Io));const E=$c(ln(w.multiply(b,jv)),h)*(w.lessThan(m,za)?-1:1)+0,z=w.equal(b,za)?g:su(S,T,E,Uy(S),p);return w.multiply(z,h)})(n,w.BigInt(s),o)}function bv(n,a,l,o){hv(n);const{year:s,month:c,day:f}=n.isoDate,v=yv(n.time,a,l,o);return Ue(va(s,c,f+v.deltaDays),v)}function yv({hour:n,minute:a,second:l,millisecond:o,microsecond:s,nanosecond:c},f,v,m){let h;switch(v){case"day":case"hour":h=1e3*(1e3*(1e3*(60*(60*n+a)+l)+o)+s)+c;break;case"minute":h=1e3*(1e3*(1e3*(60*a+l)+o)+s)+c;break;case"second":h=1e3*(1e3*(1e3*l+o)+s)+c;break;case"millisecond":h=1e3*(1e3*o+s)+c;break;case"microsecond":h=1e3*s+c;break;case"nanosecond":h=c}const g=Si[v],b=zl(h,g*f,m)/g;switch(v){case"day":return{deltaDays:b,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0};case"hour":return _l(b,0,0,0,0,0);case"minute":return _l(n,b,0,0,0,0);case"second":return _l(n,a,b,0,0,0);case"millisecond":return _l(n,a,l,b,0,0);case"microsecond":return _l(n,a,l,o,b,0);case"nanosecond":return _l(n,a,l,o,s,b);default:throw new Error(`Invalid unit ${v}`)}}function tu(n,a,l,o){const s=Si[l];return n.round(w.BigInt(s*a),o)}function Ko(n,a){const l=Si[a];return n.fdiv(w.BigInt(l))}function vr(n,a){return n.year!==a.year?fa(n.year-a.year):n.month!==a.month?fa(n.month-a.month):n.day!==a.day?fa(n.day-a.day):0}function pv(n,a){return n.hour!==a.hour?fa(n.hour-a.hour):n.minute!==a.minute?fa(n.minute-a.minute):n.second!==a.second?fa(n.second-a.second):n.millisecond!==a.millisecond?fa(n.millisecond-a.millisecond):n.microsecond!==a.microsecond?fa(n.microsecond-a.microsecond):n.nanosecond!==a.nanosecond?fa(n.nanosecond-a.nanosecond):0}function Ti(n,a){const l=vr(n.isoDate,a.isoDate);return l!==0?l:pv(n.time,a.time)}function zp(n){const a=au(n);return globalThis.BigInt!==void 0?globalThis.BigInt(a.toString(10)):a}function $a(n,a){const l=Yr(n),{quotient:o,remainder:s}=Uo(l,ss);let c=w.toNumber(o);return a==="floor"&&w.toNumber(s)<0&&(c-=1),a==="ceil"&&w.toNumber(s)>0&&(c+=1),c}function sr(n){if(!Number.isInteger(n))throw new RangeError("epoch milliseconds must be an integer");return w.multiply(w.BigInt(n),ss)}function au(n){let a=n;if(typeof n=="object"){const l=n[Symbol.toPrimitive];l&&typeof l=="function"&&(a=l.call(n,"number"))}if(typeof a=="number")throw new TypeError("cannot convert number to bigint");return typeof a=="bigint"?w.BigInt(a.toString(10)):w.BigInt(a)}const wv=(()=>{let n=w.BigInt(Date.now()%1e6);return()=>{const a=Date.now(),l=w.BigInt(a),o=w.add(sr(a),n);return n=w.remainder(l,ss),w.greaterThan(o,wi)?wi:w.lessThan(o,Po)?Po:o}})();function Ao(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}function fa(n){return n<0?-1:n>0?1:n}function se(n){if(n===void 0)return Object.create(null);if(at(n)&&n!==null)return n;throw new TypeError("Options parameter must be an object, not "+(n===null?"null":typeof n))}function hn(n,a){const l=Object.create(null);return l[n]=a,l}function Vr(n,a,l,o){let s=n[a];if(s!==void 0){if(s=uu(s),!l.includes(s))throw new RangeError(`${a} must be one of ${l.join(", ")}, not ${s}`);return s}if(o===Qr)throw new RangeError(`${a} option is required`);return o}function ta(n){const a=ls(n);if(!Mx.includes(ls(a)))throw new RangeError(`invalid calendar identifier ${a}`);switch(a){case"ethiopic-amete-alem":return"ethioaa";case"islamicc":return"islamic-civil"}return a}function ls(n){let a="";for(let l=0;l<n.length;l++){const o=n.charCodeAt(l);a+=o>=65&&o<=90?String.fromCharCode(o+32):String.fromCharCode(o)}return a}function Ul(n){throw new TypeError(`Do not use built-in arithmetic operators with Temporal objects. When comparing, use ${n==="PlainMonthDay"?"Temporal.PlainDate.compare(obj1.toPlainDate(year), obj2.toPlainDate(year))":`Temporal.${n}.compare(obj1, obj2)`}, not obj1 > obj2. When coercing to strings, use \`\${obj}\` or String(obj), not '' + obj. When coercing to numbers, use properties or methods of the object, not \`+obj\`. When concatenating with strings, use \`\${str}\${obj}\` or str.concat(obj), not str + obj. In React, coerce to a string before rendering a Temporal object.`)}const Yx=new RegExp(`^${Ky.source}$`),kx=new RegExp(`^${/([+-])([01][0-9]|2[0-3])(?::?([0-5][0-9])(?::?([0-5][0-9])(?:[.,](\d{1,9}))?)?)?/.source}$`);function Dp(n,a,l,o=n(a),s=n(l)){let c=a,f=l,v=o,m=s;for(;f-c>1;){let h=Math.trunc((c+f)/2);const g=n(h);g===v?(c=h,v=g):g===m&&(f=h,m=g)}return f}function Cp(n){return[...n]}function Mp(n,a){if(n!=="gregory"&&n!=="iso8601")return;const l=ws[n];let o=a.year;const{dayOfWeek:s,dayOfYear:c,daysInYear:f}=l.isoToDate(a,{dayOfWeek:!0,dayOfYear:!0,daysInYear:!0}),v=l.getFirstDayOfWeek(),m=l.getMinimalDaysInFirstWeek();let h=(s+7-v)%7,g=(s-c+7001-v)%7,b=Math.floor((c-1+g)/7);if(7-g>=m&&++b,b==0)b=(function(p,S,T,E){let z=(E-p-T+1)%7;z<0&&(z+=7);let A=Math.floor((T+z-1)/7);return 7-z>=S&&++A,A})(v,m,c+l.isoToDate(l.dateAdd(a,{years:-1},"constrain"),{daysInYear:!0}).daysInYear,s),o--;else if(c>=f-5){let p=(h+f-c)%7;p<0&&(p+=7),6-p>=m&&c+7-h>f&&(b=1,o++)}return{week:b,year:o}}function Fb(n,a,l,o,s){if(a!==s.year){if(n*(a-s.year)>0)return!0}else if(l!==s.month){if(n*(l-s.month)>0)return!0}else if(o!==s.day&&n*(o-s.day)>0)return!0;return!1}const ws={};function mn(n){if(!n.startsWith("M"))throw new RangeError(`Invalid month code: ${n}. Month codes must start with M.`);const a=+n.slice(1);if(Number.isNaN(a))throw new RangeError(`Invalid month code: ${n}`);return a}function cr(n,a=!1){return`M${`${n}`.padStart(2,"0")}${a?"L":""}`}function Gv(n,a=void 0,l=12){let{month:o,monthCode:s}=n;if(s===void 0){if(o===void 0)throw new TypeError("Either month or monthCode are required");a==="reject"&&wt(o,1,l),a==="constrain"&&(o=Kt(o,1,l)),s=cr(o)}else{const c=mn(s);if(s!==cr(c))throw new RangeError(`Invalid month code: ${s}`);if(o!==void 0&&o!==c)throw new RangeError(`monthCode ${s} and month ${o} must match if both are present`);if(o=c,o<1||o>l)throw new RangeError(`Invalid monthCode: ${s}`)}return{...n,month:o,monthCode:s}}ws.iso8601={resolveFields(n,a){if((a==="date"||a==="year-month")&&n.year===void 0)throw new TypeError("year is required");if((a==="date"||a==="month-day")&&n.day===void 0)throw new TypeError("day is required");Object.assign(n,Gv(n))},dateToISO:(n,a)=>Qo(n.year,n.month,n.day,a),monthDayToISOReferenceDate(n,a){const{month:l,day:o}=Qo(n.year??1972,n.month,n.day,a);return{month:l,day:o,year:1972}},extraFields:()=>[],fieldKeysToIgnore(n){const a=new Set;for(let l=0;l<n.length;l++){const o=n[l];a.add(o),o==="month"?a.add("monthCode"):o==="monthCode"&&a.add("month")}return Cp(a)},dateAdd(n,{years:a=0,months:l=0,weeks:o=0,days:s=0},c){let{year:f,month:v,day:m}=n;return f+=a,v+=l,{year:f,month:v}=on(f,v),{year:f,month:v,day:m}=Qo(f,v,m,c),m+=s+7*o,va(f,v,m)},dateUntil(n,a,l){const o=-vr(n,a);if(o===0)return{years:0,months:0,weeks:0,days:0};let s,c=0,f=0;if(l==="year"||l==="month"){let g=a.year-n.year;for(g!==0&&(g-=o);!Fb(o,n.year+g,n.month,n.day,a);)c=g,g+=o;let b=o;for(s=on(n.year+c,n.month+b);!Fb(o,s.year,s.month,n.day,a);)f=b,b+=o,s=on(s.year,s.month+o);l==="month"&&(f+=12*c,c=0)}s=on(n.year+c,n.month+f);const v=pp(s.year,s.month,n.day);let m=0,h=vn(a.year,a.month-1,a.day)-vn(v.year,v.month-1,v.day);return l==="week"&&(m=Math.trunc(h/7),h%=7),{years:c,months:f,weeks:m,days:h}},isoToDate({year:n,month:a,day:l},o){const s={era:void 0,eraYear:void 0,year:n,month:a,day:l,daysInWeek:7,monthsInYear:12};if(o.monthCode&&(s.monthCode=cr(a)),o.dayOfWeek){const c=a+(a<3?10:-2),f=n-(a<3?1:0),v=Math.floor(f/100),m=f-100*v,h=(l+Math.floor(2.6*c-.2)+(m+Math.floor(m/4))+(Math.floor(v/4)-2*v))%7;s.dayOfWeek=h+(h<=0?7:0)}if(o.dayOfYear){let c=l;for(let f=a-1;f>0;f--)c+=cn(n,f);s.dayOfYear=c}return o.weekOfYear&&(s.weekOfYear=Mp("iso8601",{year:n,month:a,day:l})),o.daysInMonth&&(s.daysInMonth=cn(n,a)),(o.daysInYear||o.inLeapYear)&&(s.inLeapYear=Jc(n),s.daysInYear=s.inLeapYear?366:365),s},getFirstDayOfWeek:()=>1,getMinimalDaysInFirstWeek:()=>4};class pt{constructor(a){if(this.map=new Map,this.calls=0,this.hits=0,this.misses=0,a!==void 0){let l=0;for(const o of a.map.entries()){if(++l>pt.MAX_CACHE_ENTRIES)break;this.map.set(...o)}}}get(a){const l=this.map.get(a);return l&&(this.hits++,this.report()),this.calls++,l}set(a,l){this.map.set(a,l),this.misses++,this.report()}report(){}setObject(a){if(pt.objectMap.get(a))throw new RangeError("object already cached");pt.objectMap.set(a,this),this.report()}static getCacheForObject(a){let l=pt.objectMap.get(a);return l||(l=new pt,pt.objectMap.set(a,l)),l}}function Op({isoYear:n,isoMonth:a,isoDay:l}){return`${ps(n)}-${Ma(a)}-${Ma(l)}T00:00Z`}function Kd(n,a){return{years:n.year-a.year,months:n.month-a.month,days:n.day-a.day}}pt.objectMap=new WeakMap,pt.MAX_CACHE_ENTRIES=1e3;class yn{constructor(){this.eras=[],this.hasEra=!1,this.erasBeginMidYear=!1}getFormatter(){return this.formatter===void 0&&(this.formatter=new Intl.DateTimeFormat(`en-US-u-ca-${this.id}`,{day:"numeric",month:"numeric",year:"numeric",era:"short",timeZone:"UTC"})),this.formatter}getCalendarParts(a){let l=this.getFormatter(),o=new Date(a);if(a==="-271821-04-19T00:00Z"){const s=l.resolvedOptions();l=new Intl.DateTimeFormat(s.locale,{...s,timeZone:"Etc/GMT+1"}),o=new Date("-271821-04-20T00:00Z")}try{return l.formatToParts(o)}catch{throw new RangeError(`Invalid ISO date: ${a}`)}}isoToCalendarDate(a,l){const{year:o,month:s,day:c}=a,f=JSON.stringify({func:"isoToCalendarDate",isoYear:o,isoMonth:s,isoDay:c,id:this.id}),v=l.get(f);if(v)return v;const m=Op({isoYear:o,isoMonth:s,isoDay:c}),h=this.getCalendarParts(m),g={};for(let p=0;p<h.length;p++){const{type:S,value:T}=h[p];if(S!=="year"&&S!=="relatedYear"||(this.hasEra?g.eraYear=+T:g.year=+T),S==="month"){const E=/^([0-9]*)(.*?)$/.exec(T);if(!E||E.length!=3||!E[1]&&!E[2])throw new RangeError(`Unexpected month: ${T}`);if(g.month=E[1]?+E[1]:1,g.month<1)throw new RangeError(`Invalid month ${T} from ${m}[u-ca-${this.id}] (probably due to https://bugs.chromium.org/p/v8/issues/detail?id=10527)`);if(g.month>13)throw new RangeError(`Invalid month ${T} from ${m}[u-ca-${this.id}] (probably due to https://bugs.chromium.org/p/v8/issues/detail?id=10529)`);E[2]&&(g.monthExtra=E[2])}S==="day"&&(g.day=+T),this.hasEra&&S==="era"&&T!=null&&T!==""&&(g.era=T.split(" (")[0].normalize("NFD").replace(/[^-0-9 \p{L}]/gu,"").replace(/ /g,"-").toLowerCase())}if(this.hasEra&&g.eraYear===void 0)throw new RangeError(`Intl.DateTimeFormat.formatToParts lacks relatedYear in ${this.id} calendar. Try Node 14+ or modern browsers.`);if(this.hasEra){const p=this.eras.find((S=>g.era===S.genericName));p&&(g.era=p.code)}if(this.reviseIntlEra){const{era:p,eraYear:S}=this.reviseIntlEra(g,a);g.era=p,g.eraYear=S}this.checkIcuBugs&&this.checkIcuBugs(a);const b=this.adjustCalendarDate(g,l,"constrain",!0);if(b.year===void 0)throw new RangeError(`Missing year converting ${JSON.stringify(a)}`);if(b.month===void 0)throw new RangeError(`Missing month converting ${JSON.stringify(a)}`);if(b.day===void 0)throw new RangeError(`Missing day converting ${JSON.stringify(a)}`);return l.set(f,b),["constrain","reject"].forEach((p=>{const S=JSON.stringify({func:"calendarToIsoDate",year:b.year,month:b.month,day:b.day,overflow:p,id:this.id});l.set(S,a)})),b}validateCalendarDate(a){const{month:l,year:o,day:s,eraYear:c,monthCode:f,monthExtra:v}=a;if(v!==void 0)throw new RangeError("Unexpected `monthExtra` value");if(o===void 0&&c===void 0)throw new TypeError("year or eraYear is required");if(l===void 0&&f===void 0)throw new TypeError("month or monthCode is required");if(s===void 0)throw new RangeError("Missing day");if(f!==void 0){if(typeof f!="string")throw new RangeError("monthCode must be a string, not "+typeof f);if(!/^M([01]?\d)(L?)$/.test(f))throw new RangeError(`Invalid monthCode: ${f}`)}if(this.hasEra&&a.era===void 0!=(a.eraYear===void 0))throw new TypeError("properties era and eraYear must be provided together")}adjustCalendarDate(a,l=void 0,o="constrain",s=!1){if(this.calendarType==="lunisolar")throw new RangeError("Override required for lunisolar calendars");let c=a;this.validateCalendarDate(c);const f=this.monthsInYear(c,l);let{month:v,monthCode:m}=c;return{month:v,monthCode:m}=Gv(c,o,f),{...c,month:v,monthCode:m}}regulateMonthDayNaive(a,l,o){const s=this.monthsInYear(a,o);let{month:c,day:f}=a;return l==="reject"?(wt(c,1,s),wt(f,1,this.maximumMonthLength(a))):(c=Kt(c,1,s),f=Kt(f,1,this.maximumMonthLength({...a,month:c}))),{...a,month:c,day:f}}calendarToIsoDate(a,l="constrain",o){const s=a;let c=this.adjustCalendarDate(a,o,l,!1);c=this.regulateMonthDayNaive(c,l,o);const{year:f,month:v,day:m}=c,h=JSON.stringify({func:"calendarToIsoDate",year:f,month:v,day:m,overflow:l,id:this.id});let g,b=o.get(h);if(b||s.year!==void 0&&s.month!==void 0&&s.day!==void 0&&(s.year!==c.year||s.month!==c.month||s.day!==c.day)&&(g=JSON.stringify({func:"calendarToIsoDate",year:s.year,month:s.month,day:s.day,overflow:l,id:this.id}),b=o.get(g),b))return b;let p=this.estimateIsoDate({year:f,month:v,day:m});const S=q=>{let N=this.addDaysIso(p,q);if(c.day>this.minimumMonthLength(c)){let W=this.isoToCalendarDate(N,o);for(;W.month!==v||W.year!==f;){if(l==="reject")throw new RangeError(`day ${m} does not exist in month ${v} of year ${f}`);N=this.addDaysIso(N,-1),W=this.isoToCalendarDate(N,o)}}return N};let T=0,E=this.isoToCalendarDate(p,o),z=Kd(c,E);if(z.years!==0||z.months!==0||z.days!==0){const q=365*z.years+30*z.months+z.days;p=this.addDaysIso(p,q),E=this.isoToCalendarDate(p,o),z=Kd(c,E),z.years===0&&z.months===0?p=S(z.days):T=this.compareCalendarDates(c,E)}let A=8;for(;T;){p=this.addDaysIso(p,T*A);const q=E;E=this.isoToCalendarDate(p,o);const N=T;if(T=this.compareCalendarDates(c,E),T){if(z=Kd(c,E),z.years===0&&z.months===0)p=S(z.days),T=0;else if(N&&T!==N)if(A>1)A/=2;else{if(l==="reject")throw new RangeError(`Can't find ISO date from calendar date: ${JSON.stringify({...s})}`);this.compareCalendarDates(E,q)>0&&(p=this.addDaysIso(p,-1)),T=0}}}if(o.set(h,p),g&&o.set(g,p),c.year===void 0||c.month===void 0||c.day===void 0||c.monthCode===void 0||this.hasEra&&(c.era===void 0||c.eraYear===void 0))throw new RangeError("Unexpected missing property");return p}compareCalendarDates(a,l){return a.year!==l.year?fa(a.year-l.year):a.month!==l.month?fa(a.month-l.month):a.day!==l.day?fa(a.day-l.day):0}regulateDate(a,l="constrain",o){const s=this.calendarToIsoDate(a,l,o);return this.isoToCalendarDate(s,o)}addDaysIso(a,l){return va(a.year,a.month,a.day+l)}addDaysCalendar(a,l,o){const s=this.calendarToIsoDate(a,"constrain",o),c=this.addDaysIso(s,l);return this.isoToCalendarDate(c,o)}addMonthsCalendar(a,l,o,s){let c=a;const{day:f}=c;for(let v=0,m=Math.abs(l);v<m;v++){const{month:h}=c,g=c,b=l<0?-Math.max(f,this.daysInPreviousMonth(c,s)):this.daysInMonth(c,s),p=this.calendarToIsoDate(c,"constrain",s);let S=this.addDaysIso(p,b);if(c=this.isoToCalendarDate(S,s),l>0){const T=this.monthsInYear(g,s);for(;c.month-1!=h%T;)S=this.addDaysIso(S,-1),c=this.isoToCalendarDate(S,s)}c.day!==f&&(c=this.regulateDate({...c,day:f},"constrain",s))}if(o==="reject"&&c.day!==f)throw new RangeError(`Day ${f} does not exist in resulting calendar month`);return c}addCalendar(a,{years:l=0,months:o=0,weeks:s=0,days:c=0},f,v){const{year:m,day:h,monthCode:g}=a,b=this.adjustCalendarDate({year:m+l,monthCode:g,day:h},v),p=this.addMonthsCalendar(b,o,f,v),S=c+7*s;return this.addDaysCalendar(p,S,v)}untilCalendar(a,l,o,s){let c=0,f=0,v=0,m=0;switch(o){case"day":c=this.calendarDaysUntil(a,l,s);break;case"week":{const h=this.calendarDaysUntil(a,l,s);c=h%7,f=(h-c)/7;break}case"month":case"year":{const h=this.compareCalendarDates(l,a);if(!h)return{years:0,months:0,weeks:0,days:0};const g=l.year-a.year,b=l.day-a.day;if(o==="year"&&g){let T=0;l.monthCode>a.monthCode&&(T=1),l.monthCode<a.monthCode&&(T=-1),T||(T=Math.sign(b)),m=T*h<0?g-h:g}let p,S=m?this.addCalendar(a,{years:m},"constrain",s):a;do v+=h,p=S,S=this.addMonthsCalendar(p,h,"constrain",s),S.day!==a.day&&(S=this.regulateDate({...S,day:a.day},"constrain",s));while(this.compareCalendarDates(l,S)*h>=0);v-=h,c=this.calendarDaysUntil(p,l,s);break}}return{years:m,months:v,weeks:f,days:c}}daysInMonth(a,l){const{day:o}=a,s=this.maximumMonthLength(a),c=this.minimumMonthLength(a);if(c===s)return c;const f=o<=s-c?s:c,v=this.calendarToIsoDate(a,"constrain",l),m=this.addDaysIso(v,f),h=this.isoToCalendarDate(m,l),g=this.addDaysIso(m,-h.day);return this.isoToCalendarDate(g,l).day}daysInPreviousMonth(a,l){const{day:o,month:s,year:c}=a;let f={year:s>1?c:c-1,month:s,day:1};const v=s>1?s-1:this.monthsInYear(f,l);f={...f,month:v};const m=this.minimumMonthLength(f),h=this.maximumMonthLength(f);if(m===h)return h;const g=this.calendarToIsoDate(a,"constrain",l),b=this.addDaysIso(g,-o);return this.isoToCalendarDate(b,l).day}startOfCalendarYear(a){return{year:a.year,month:1,monthCode:"M01",day:1}}startOfCalendarMonth(a){return{year:a.year,month:a.month,day:1}}calendarDaysUntil(a,l,o){const s=this.calendarToIsoDate(a,"constrain",o),c=this.calendarToIsoDate(l,"constrain",o);return vn(c.year,c.month-1,c.day)-vn(s.year,s.month-1,s.day)}monthDaySearchStartYear(a,l){return 1972}monthDayFromFields(a,l,o){let s,c,f,v,m,{era:h,eraYear:g,year:b,month:p,monthCode:S,day:T}=a;if(p!==void 0&&b===void 0&&(!this.hasEra||h===void 0||g===void 0))throw new TypeError("when month is present, year (or era and eraYear) are required");(S===void 0||b!==void 0||this.hasEra&&g!==void 0)&&({monthCode:S,day:T}=this.isoToCalendarDate(this.calendarToIsoDate(a,l,o),o));const E={year:this.monthDaySearchStartYear(S,T),month:12,day:31},z=this.isoToCalendarDate(E,o),A=z.monthCode>S||z.monthCode===S&&z.day>=T?z.year:z.year-1;for(let q=0;q<20;q++){const N=this.adjustCalendarDate({day:T,monthCode:S,year:A-q},o),W=this.calendarToIsoDate(N,"constrain",o),Q=this.isoToCalendarDate(W,o);if({year:s,month:c,day:f}=W,Q.monthCode===S&&Q.day===T)return{month:c,day:f,year:s};if(l==="constrain"){const P=this.maxLengthOfMonthCodeInAnyYear(Q.monthCode);if(Q.monthCode===S&&Q.day===P&&T>P)return{month:c,day:f,year:s};(v===void 0||Q.monthCode===v.monthCode&&Q.day>v.day)&&(v=Q,m=W)}}if(l==="constrain"&&m!==void 0)return m;throw new RangeError(`No recent ${this.id} year with monthCode ${S} and day ${T}`)}getFirstDayOfWeek(){}getMinimalDaysInFirstWeek(){}}class Hx extends yn{constructor(){super(...arguments),this.id="hebrew",this.calendarType="lunisolar",this.months={Tishri:{leap:1,regular:1,monthCode:"M01",days:30},Heshvan:{leap:2,regular:2,monthCode:"M02",days:{min:29,max:30}},Kislev:{leap:3,regular:3,monthCode:"M03",days:{min:29,max:30}},Tevet:{leap:4,regular:4,monthCode:"M04",days:29},Shevat:{leap:5,regular:5,monthCode:"M05",days:30},Adar:{leap:void 0,regular:6,monthCode:"M06",days:29},"Adar I":{leap:6,regular:void 0,monthCode:"M05L",days:30},"Adar II":{leap:7,regular:void 0,monthCode:"M06",days:29},Nisan:{leap:8,regular:7,monthCode:"M07",days:30},Iyar:{leap:9,regular:8,monthCode:"M08",days:29},Sivan:{leap:10,regular:9,monthCode:"M09",days:30},Tamuz:{leap:11,regular:10,monthCode:"M10",days:29},Av:{leap:12,regular:11,monthCode:"M11",days:30},Elul:{leap:13,regular:12,monthCode:"M12",days:29}}}inLeapYear(a){const{year:l}=a;return(7*l+1)%19<7}monthsInYear(a){return this.inLeapYear(a)?13:12}minimumMonthLength(a){return this.minMaxMonthLength(a,"min")}maximumMonthLength(a){return this.minMaxMonthLength(a,"max")}minMaxMonthLength(a,l){const{month:o,year:s}=a,c=this.getMonthCode(s,o),f=Object.entries(this.months).find((m=>m[1].monthCode===c));if(f===void 0)throw new RangeError(`unmatched Hebrew month: ${o}`);const v=f[1].days;return typeof v=="number"?v:v[l]}maxLengthOfMonthCodeInAnyYear(a){return["M04","M06","M08","M10","M12"].includes(a)?29:30}estimateIsoDate(a){const{year:l}=a;return{year:l-3760,month:1,day:1}}getMonthCode(a,l){return this.inLeapYear({year:a})?l===6?cr(5,!0):cr(l<6?l:l-1):cr(l)}adjustCalendarDate(a,l,o="constrain",s=!1){let{year:c,month:f,monthCode:v,day:m,monthExtra:h}=a;if(c===void 0)throw new TypeError("Missing property: year");if(s){if(h){const g=this.months[h];if(!g)throw new RangeError(`Unrecognized month from formatToParts: ${h}`);f=this.inLeapYear({year:c})?g.leap:g.regular}return v=this.getMonthCode(c,f),{year:c,month:f,day:m,monthCode:v}}if(this.validateCalendarDate(a),f===void 0)if(v.endsWith("L")){if(v!=="M05L")throw new RangeError(`Hebrew leap month must have monthCode M05L, not ${v}`);if(f=6,!this.inLeapYear({year:c})){if(o==="reject")throw new RangeError(`Hebrew monthCode M05L is invalid in year ${c} which is not a leap year`);f=6,v="M06"}}else{f=mn(v),this.inLeapYear({year:c})&&f>=6&&f++;const g=this.monthsInYear({year:c});if(f<1||f>g)throw new RangeError(`Invalid monthCode: ${v}`)}else if(o==="reject"?(wt(f,1,this.monthsInYear({year:c})),wt(m,1,this.maximumMonthLength({year:c,month:f}))):(f=Kt(f,1,this.monthsInYear({year:c})),m=Kt(m,1,this.maximumMonthLength({year:c,month:f}))),v===void 0)v=this.getMonthCode(c,f);else if(this.getMonthCode(c,f)!==v)throw new RangeError(`monthCode ${v} doesn't correspond to month ${f} in Hebrew year ${c}`);return{...a,day:m,month:f,monthCode:v,year:c}}}class ji extends yn{constructor(){super(...arguments),this.calendarType="lunar",this.DAYS_PER_ISLAMIC_YEAR=354+11/30,this.DAYS_PER_ISO_YEAR=365.2425}inLeapYear(a,l){const o={year:a.year,month:1,monthCode:"M01",day:1},s={year:a.year+1,month:1,monthCode:"M01",day:1};return this.calendarDaysUntil(o,s,l)===355}monthsInYear(){return 12}minimumMonthLength(){return 29}maximumMonthLength(){return 30}maxLengthOfMonthCodeInAnyYear(){return 30}estimateIsoDate(a){const{year:l}=this.adjustCalendarDate(a);return{year:Math.floor(l*this.DAYS_PER_ISLAMIC_YEAR/this.DAYS_PER_ISO_YEAR)+622,month:1,day:1}}}class Lx extends ji{constructor(){super(...arguments),this.id="islamic"}}class qx extends ji{constructor(){super(...arguments),this.id="islamic-umalqura"}}class Bx extends ji{constructor(){super(...arguments),this.id="islamic-tbla"}}class Zx extends ji{constructor(){super(...arguments),this.id="islamic-civil"}}class Gx extends ji{constructor(){super(...arguments),this.id="islamic-rgsa"}}class Vx extends ji{constructor(){super(...arguments),this.id="islamicc"}}class Xx extends yn{constructor(){super(...arguments),this.id="persian",this.calendarType="solar"}inLeapYear(a,l){return this.daysInMonth({year:a.year,month:12,day:1},l)===30}monthsInYear(){return 12}minimumMonthLength(a){const{month:l}=a;return l===12?29:l<=6?31:30}maximumMonthLength(a){const{month:l}=a;return l===12?30:l<=6?31:30}maxLengthOfMonthCodeInAnyYear(a){return mn(a)<=6?31:30}estimateIsoDate(a){const{year:l}=this.adjustCalendarDate(a);return{year:l+621,month:1,day:1}}}class $x extends yn{constructor(){super(...arguments),this.id="indian",this.calendarType="solar",this.months={1:{length:30,month:3,day:22,leap:{length:31,month:3,day:21}},2:{length:31,month:4,day:21},3:{length:31,month:5,day:22},4:{length:31,month:6,day:22},5:{length:31,month:7,day:23},6:{length:31,month:8,day:23},7:{length:30,month:9,day:23},8:{length:30,month:10,day:23},9:{length:30,month:11,day:22},10:{length:30,month:12,day:22},11:{length:30,month:1,nextYear:!0,day:21},12:{length:30,month:2,nextYear:!0,day:20}},this.vulnerableToBceBug=new Date("0000-01-01T00:00Z").toLocaleDateString("en-US-u-ca-indian",{timeZone:"UTC"})!=="10/11/-79 Saka"}inLeapYear(a){return Vv(a.year+78)}monthsInYear(){return 12}minimumMonthLength(a){return this.getMonthInfo(a).length}maximumMonthLength(a){return this.getMonthInfo(a).length}maxLengthOfMonthCodeInAnyYear(a){const l=mn(a);let o=this.months[l];return o=o.leap??o,o.length}getMonthInfo(a){const{month:l}=a;let o=this.months[l];if(o===void 0)throw new RangeError(`Invalid month: ${l}`);return this.inLeapYear(a)&&o.leap&&(o=o.leap),o}estimateIsoDate(a){const l=this.adjustCalendarDate(a),o=this.getMonthInfo(l);return va(l.year+78+(o.nextYear?1:0),o.month,o.day+l.day-1)}checkIcuBugs(a){if(this.vulnerableToBceBug&&a.year<1)throw new RangeError(`calendar '${this.id}' is broken for ISO dates before 0001-01-01 (see https://bugs.chromium.org/p/v8/issues/detail?id=10529)`)}}function Vv(n){return n%4==0&&(n%100!=0||n%400==0)}class Ap extends yn{constructor(a,l){super(),this.calendarType="solar",this.id=a,this.isoEpoch=l}inLeapYear(a){const{year:l}=this.estimateIsoDate({month:1,day:1,year:a.year});return Vv(l)}monthsInYear(){return 12}minimumMonthLength(a){const{month:l}=a;return l===2?this.inLeapYear(a)?29:28:[4,6,9,11].indexOf(l)>=0?30:31}maximumMonthLength(a){return this.minimumMonthLength(a)}maxLengthOfMonthCodeInAnyYear(a){return[31,29,31,30,31,30,31,31,30,31,30,31][mn(a)-1]}estimateIsoDate(a){const l=this.adjustCalendarDate(a);return Qo(l.year+this.isoEpoch.year,l.month+this.isoEpoch.month,l.day+this.isoEpoch.day,"constrain")}}class Rp extends yn{constructor(a,l){super(),this.hasEra=!0,this.calendarType="solar",this.id=a;const{eras:o,anchorEra:s}=(function(c){let f,v=c;if(v.length===0)throw new RangeError("Invalid era data: eras are required");if(v.length===1&&v[0].reverseOf)throw new RangeError("Invalid era data: anchor era cannot count years backwards");if(v.length===1&&!v[0].code)throw new RangeError("Invalid era data: at least one named era is required");if(v.filter((h=>h.reverseOf!=null)).length>1)throw new RangeError("Invalid era data: only one era can count years backwards");v.forEach((h=>{if(h.isAnchor||!h.anchorEpoch&&!h.reverseOf){if(f)throw new RangeError("Invalid era data: cannot have multiple anchor eras");f=h,h.anchorEpoch={year:h.hasYearZero?0:1}}else if(!h.code)throw new RangeError("If era name is blank, it must be the anchor era")})),v=v.filter((h=>h.code)),v.forEach((h=>{const{reverseOf:g}=h;if(g){const b=v.find((p=>p.code===g));if(b===void 0)throw new RangeError(`Invalid era data: unmatched reverseOf era: ${g}`);h.reverseOf=b,h.anchorEpoch=b.anchorEpoch,h.isoEpoch=b.isoEpoch}h.anchorEpoch.month===void 0&&(h.anchorEpoch.month=1),h.anchorEpoch.day===void 0&&(h.anchorEpoch.day=1)})),v.sort(((h,g)=>{if(h.reverseOf)return 1;if(g.reverseOf)return-1;if(!h.isoEpoch||!g.isoEpoch)throw new RangeError("Invalid era data: missing ISO epoch");return g.isoEpoch.year-h.isoEpoch.year}));const m=v[v.length-1].reverseOf;if(m&&m!==v[v.length-2])throw new RangeError("Invalid era data: invalid reverse-sign era");return v.forEach(((h,g)=>{h.genericName="era"+(v.length-1-g)})),{eras:v,anchorEra:f||v[0]}})(l);this.anchorEra=s,this.eras=o}inLeapYear(a){const{year:l}=this.estimateIsoDate({month:1,day:1,year:a.year});return Vv(l)}monthsInYear(){return 12}minimumMonthLength(a){const{month:l}=a;return l===2?this.inLeapYear(a)?29:28:[4,6,9,11].indexOf(l)>=0?30:31}maximumMonthLength(a){return this.minimumMonthLength(a)}maxLengthOfMonthCodeInAnyYear(a){return[31,29,31,30,31,30,31,31,30,31,30,31][mn(a)-1]}completeEraYear(a){const l=(v,m,h)=>{const g=a[v];if(g!=null&&g!=m&&!(h||[]).includes(g)){const b=h==null?void 0:h[0];throw new RangeError(`Input ${v} ${g} doesn't match calculated value ${b?`${m} (also called ${b})`:m}`)}},o=v=>{let m;const h={...a,year:v},g=this.eras.find(((b,p)=>{if(p===this.eras.length-1){if(b.reverseOf){if(v>0)throw new RangeError(`Signed year ${v} is invalid for era ${b.code}`);return m=b.anchorEpoch.year-v,!0}return m=v-b.anchorEpoch.year+(b.hasYearZero?0:1),!0}return this.compareCalendarDates(h,b.anchorEpoch)>=0&&(m=v-b.anchorEpoch.year+(b.hasYearZero?0:1),!0)}));if(!g)throw new RangeError(`Year ${v} was not matched by any era`);return{eraYear:m,era:g.code,eraNames:g.names}};let{year:s,eraYear:c,era:f}=a;if(s!=null){const v=o(s);({eraYear:c,era:f}=v),l("era",f,v==null?void 0:v.eraNames),l("eraYear",c)}else{if(c==null)throw new RangeError("Either year or eraYear and era are required");{if(f===void 0)throw new RangeError("era and eraYear must be provided together");const v=this.eras.find((({code:m,names:h=[]})=>m===f||h.includes(f)));if(!v)throw new RangeError(`Era ${f} (ISO year ${c}) was not matched by any era`);s=v.reverseOf?v.anchorEpoch.year-c:c+v.anchorEpoch.year-(v.hasYearZero?0:1),l("year",s),{eraYear:c,era:f}=o(s)}}return{...a,year:s,eraYear:c,era:f}}adjustCalendarDate(a,l,o="constrain"){let s=a;const{month:c,monthCode:f}=s;return c===void 0&&(s={...s,month:mn(f)}),this.validateCalendarDate(s),s=this.completeEraYear(s),super.adjustCalendarDate(s,l,o)}estimateIsoDate(a){const l=this.adjustCalendarDate(a),{year:o,month:s,day:c}=l,{anchorEra:f}=this;return Qo(o+f.isoEpoch.year-(f.hasYearZero?0:1),s,c,"constrain")}}class Xv extends Rp{constructor(a,l){super(a,l)}isoToCalendarDate(a){const{year:l,month:o,day:s}=a,c=cr(o),f=l-this.anchorEra.isoEpoch.year+1;return this.completeEraYear({year:f,month:o,monthCode:c,day:s})}}const nr={inLeapYear(n){const{year:a}=n;return(a+1)%4==0},monthsInYear:()=>13,minimumMonthLength(n){const{month:a}=n;return a===13?this.inLeapYear(n)?6:5:30},maximumMonthLength(n){return this.minimumMonthLength(n)},maxLengthOfMonthCodeInAnyYear:n=>n==="M13"?6:30};class Qx extends Ap{constructor(a,l){super(a,l),this.inLeapYear=nr.inLeapYear,this.monthsInYear=nr.monthsInYear,this.minimumMonthLength=nr.minimumMonthLength,this.maximumMonthLength=nr.maximumMonthLength,this.maxLengthOfMonthCodeInAnyYear=nr.maxLengthOfMonthCodeInAnyYear}}class jp extends Rp{constructor(a,l){super(a,l),this.inLeapYear=nr.inLeapYear,this.monthsInYear=nr.monthsInYear,this.minimumMonthLength=nr.minimumMonthLength,this.maximumMonthLength=nr.maximumMonthLength,this.maxLengthOfMonthCodeInAnyYear=nr.maxLengthOfMonthCodeInAnyYear}}class Wx extends Qx{constructor(){super("ethioaa",{year:-5492,month:7,day:17})}}class Kx extends jp{constructor(){super("coptic",[{code:"coptic",isoEpoch:{year:284,month:8,day:29}},{code:"coptic-inverse",reverseOf:"coptic"}])}}class Fx extends jp{constructor(){super("ethiopic",[{code:"ethioaa",names:["ethiopic-amete-alem","mundi"],isoEpoch:{year:-5492,month:7,day:17}},{code:"ethiopic",names:["incar"],isoEpoch:{year:8,month:8,day:27},anchorEpoch:{year:5501}}])}}class Ix extends Xv{constructor(){super("roc",[{code:"roc",names:["minguo"],isoEpoch:{year:1912,month:1,day:1}},{code:"roc-inverse",names:["before-roc"],reverseOf:"roc"}])}}class Px extends Ap{constructor(){super("buddhist",{year:-543,month:1,day:1})}}class Jx extends Xv{constructor(){super("gregory",[{code:"gregory",names:["ad","ce"],isoEpoch:{year:1,month:1,day:1}},{code:"gregory-inverse",names:["be","bce"],reverseOf:"gregory"}])}reviseIntlEra(a){let{era:l,eraYear:o}=a;return l==="b"&&(l="gregory-inverse"),l==="a"&&(l="gregory"),{era:l,eraYear:o}}getFirstDayOfWeek(){return 1}getMinimalDaysInFirstWeek(){return 1}}class eS extends Xv{constructor(){super("japanese",[{code:"reiwa",isoEpoch:{year:2019,month:5,day:1},anchorEpoch:{year:2019,month:5,day:1}},{code:"heisei",isoEpoch:{year:1989,month:1,day:8},anchorEpoch:{year:1989,month:1,day:8}},{code:"showa",isoEpoch:{year:1926,month:12,day:25},anchorEpoch:{year:1926,month:12,day:25}},{code:"taisho",isoEpoch:{year:1912,month:7,day:30},anchorEpoch:{year:1912,month:7,day:30}},{code:"meiji",isoEpoch:{year:1868,month:9,day:8},anchorEpoch:{year:1868,month:9,day:8}},{code:"japanese",names:["japanese","gregory","ad","ce"],isoEpoch:{year:1,month:1,day:1}},{code:"japanese-inverse",names:["japanese-inverse","gregory-inverse","bc","bce"],reverseOf:"japanese"}]),this.erasBeginMidYear=!0}reviseIntlEra(a,l){const{era:o,eraYear:s}=a,{year:c}=l;return this.eras.find((f=>f.code===o))?{era:o,eraYear:s}:c<1?{era:"japanese-inverse",eraYear:1-c}:{era:"japanese",eraYear:c}}}class Np extends yn{constructor(){super(...arguments),this.calendarType="lunisolar"}inLeapYear(a,l){const o=this.getMonthList(a.year,l);return Object.entries(o).length===13}monthsInYear(a,l){return this.inLeapYear(a,l)?13:12}minimumMonthLength(){return 29}maximumMonthLength(){return 30}maxLengthOfMonthCodeInAnyYear(a){return["M01L","M09L","M10L","M11L","M12L"].includes(a)?29:30}monthDaySearchStartYear(a,l){const o={M01L:[1651,1651],M02L:[1947,1765],M03L:[1966,1955],M04L:[1963,1944],M05L:[1971,1952],M06L:[1960,1941],M07L:[1968,1938],M08L:[1957,1718],M09L:[1832,1832],M10L:[1870,1870],M11L:[1814,1814],M12L:[1890,1890]}[a]??[1972,1972];return l<30?o[0]:o[1]}getMonthList(a,l){if(a===void 0)throw new TypeError("Missing year");const o=JSON.stringify({func:"getMonthList",calendarYear:a,id:this.id}),s=l.get(o);if(s)return s;const c=this.getFormatter(),f=(z,A)=>{const q=Op({isoYear:z,isoMonth:2,isoDay:1}),N=new Date(q);N.setUTCDate(A+1);const W=c.formatToParts(N),Q=W.find((I=>I.type==="month")).value,P=+W.find((I=>I.type==="day")).value,K=W.find((I=>I.type==="relatedYear"));let ae;if(K===void 0)throw new RangeError(`Intl.DateTimeFormat.formatToParts lacks relatedYear in ${this.id} calendar. Try Node 14+ or modern browsers.`);return ae=+K.value,{calendarMonthString:Q,calendarDay:P,calendarYearToVerify:ae}};let v=17,{calendarMonthString:m,calendarDay:h,calendarYearToVerify:g}=f(a,v);m!=="1"&&(v+=29,{calendarMonthString:m,calendarDay:h}=f(a,v)),v-=h-5;const b={};let p,S,T=1,E=!1;do({calendarMonthString:m,calendarDay:h,calendarYearToVerify:g}=f(a,v)),p&&(b[S].daysInMonth=p+30-h),g!==a?E=!0:(b[m]={monthIndex:T++},v+=30),p=h,S=m;while(!E);return b[S].daysInMonth=p+30-h,l.set(o,b),b}estimateIsoDate(a){const{year:l,month:o}=a;return{year:l,month:o>=12?12:o+1,day:1}}adjustCalendarDate(a,l,o="constrain",s=!1){let{year:c,month:f,monthExtra:v,day:m,monthCode:h}=a;if(c===void 0)throw new TypeError("Missing property: year");if(s){if(v&&v!=="bis")throw new RangeError(`Unexpected leap month suffix: ${v}`);const g=cr(f,v!==void 0),b=`${f}${v||""}`,p=this.getMonthList(c,l)[b];if(p===void 0)throw new RangeError(`Unmatched month ${b} in Chinese year ${c}`);return f=p.monthIndex,{year:c,month:f,day:m,monthCode:g}}if(this.validateCalendarDate(a),f===void 0){const g=this.getMonthList(c,l);let b=h.replace(/^M|L$/g,(S=>S==="L"?"bis":""));b[0]==="0"&&(b=b.slice(1));let p=g[b];if(f=p&&p.monthIndex,f===void 0&&h.endsWith("L")&&h!="M13L"&&o==="constrain"){const S=+h.replace(/^M0?|L$/g,"");p=g[S],p&&(f=p.monthIndex,h=cr(S))}if(f===void 0)throw new RangeError(`Unmatched month ${h} in Chinese year ${c}`)}else if(h===void 0){const g=this.getMonthList(c,l),b=Object.entries(g),p=b.length;o==="reject"?(wt(f,1,p),wt(m,1,this.maximumMonthLength())):(f=Kt(f,1,p),m=Kt(m,1,this.maximumMonthLength()));const S=b.find((T=>T[1].monthIndex===f));if(S===void 0)throw new RangeError(`Invalid month ${f} in Chinese year ${c}`);h=cr(+S[0].replace("bis",""),S[0].indexOf("bis")!==-1)}else{const g=this.getMonthList(c,l);let b=h.replace(/^M|L$/g,(S=>S==="L"?"bis":""));b[0]==="0"&&(b=b.slice(1));const p=g[b];if(!p)throw new RangeError(`Unmatched monthCode ${h} in Chinese year ${c}`);if(f!==p.monthIndex)throw new RangeError(`monthCode ${h} doesn't correspond to month ${f} in Chinese year ${c}`)}return{...a,year:c,month:f,monthCode:h,day:m}}}class tS extends Np{constructor(){super(...arguments),this.id="chinese"}}class aS extends Np{constructor(){super(...arguments),this.id="dangi"}}class rS{constructor(a){this.helper=a}extraFields(a){return this.helper.hasEra&&a.includes("year")?["era","eraYear"]:[]}resolveFields(a){if(this.helper.calendarType!=="lunisolar"){const l=new pt;Gv(a,void 0,this.helper.monthsInYear({year:a.year??1972},l))}}dateToISO(a,l){const o=new pt,s=this.helper.calendarToIsoDate(a,l,o);return o.setObject(s),s}monthDayToISOReferenceDate(a,l){const o=new pt,s=this.helper.monthDayFromFields(a,l,o);return o.setObject(s),s}fieldKeysToIgnore(a){const l=new Set;for(let o=0;o<a.length;o++){const s=a[o];switch(l.add(s),s){case"era":l.add("eraYear"),l.add("year");break;case"eraYear":l.add("era"),l.add("year");break;case"year":l.add("era"),l.add("eraYear");break;case"month":l.add("monthCode"),this.helper.erasBeginMidYear&&(l.add("era"),l.add("eraYear"));break;case"monthCode":l.add("month"),this.helper.erasBeginMidYear&&(l.add("era"),l.add("eraYear"));break;case"day":this.helper.erasBeginMidYear&&(l.add("era"),l.add("eraYear"))}}return Cp(l)}dateAdd(a,{years:l,months:o,weeks:s,days:c},f){const v=pt.getCacheForObject(a),m=this.helper.isoToCalendarDate(a,v),h=this.helper.addCalendar(m,{years:l,months:o,weeks:s,days:c},f,v),g=this.helper.calendarToIsoDate(h,"constrain",v);return pt.getCacheForObject(g)||new pt(v).setObject(g),g}dateUntil(a,l,o){const s=pt.getCacheForObject(a),c=pt.getCacheForObject(l),f=this.helper.isoToCalendarDate(a,s),v=this.helper.isoToCalendarDate(l,c);return this.helper.untilCalendar(f,v,o,s)}isoToDate(a,l){const o=pt.getCacheForObject(a),s=this.helper.isoToCalendarDate(a,o);if(l.dayOfWeek&&(s.dayOfWeek=ws.iso8601.isoToDate(a,{dayOfWeek:!0}).dayOfWeek),l.dayOfYear){const c=this.helper.startOfCalendarYear(s),f=this.helper.calendarDaysUntil(c,s,o);s.dayOfYear=f+1}if(l.weekOfYear&&(s.weekOfYear=Mp(this.helper.id,a)),s.daysInWeek=7,l.daysInMonth&&(s.daysInMonth=this.helper.daysInMonth(s,o)),l.daysInYear){const c=this.helper.startOfCalendarYear(s),f=this.helper.addCalendar(c,{years:1},"constrain",o);s.daysInYear=this.helper.calendarDaysUntil(c,f,o)}return l.monthsInYear&&(s.monthsInYear=this.helper.monthsInYear(s,o)),l.inLeapYear&&(s.inLeapYear=this.helper.inLeapYear(s,o)),s}getFirstDayOfWeek(){return this.helper.getFirstDayOfWeek()}getMinimalDaysInFirstWeek(){return this.helper.getMinimalDaysInFirstWeek()}}for(const n of[Hx,Xx,Fx,Wx,Kx,tS,aS,Ix,$x,Px,Jx,eS,Lx,qx,Bx,Zx,Gx,Vx]){const a=new n;ws[a.id]=new rS(a)}iv("calendarImpl",(function(n){return ws[n]}));const ns=Intl.DateTimeFormat;function li(n,a){let l=x(n,a);return typeof l=="function"&&(l=new ns(x(n,Xy),l(x(n,av))),(function(o,s,c){const f=iu(o);if(f===void 0)throw new TypeError("Missing slots for the given container");if(f[s]===void 0)throw new TypeError(`tried to reset ${s} which was not set`);f[s]=c})(n,a,l)),l}function Ro(n){return ea(n,gn)}class is{constructor(a=void 0,l=void 0){(function(o,s,c){const f=c!==void 0;let v;if(f){const b=["localeMatcher","calendar","numberingSystem","hour12","hourCycle","timeZone","weekday","era","year","month","day","dayPeriod","hour","minute","second","fractionalSecondDigits","timeZoneName","formatMatcher","dateStyle","timeStyle"];v=(function(S){if(S==null)throw new TypeError(`Expected object not ${S}`);return Object(S)})(c);const p=Object.create(null);for(let S=0;S<b.length;S++){const T=b[S];Object.prototype.hasOwnProperty.call(v,T)&&(p[T]=v[T])}v=p}else v=Object.create(null);const m=new ns(s,v),h=m.resolvedOptions();if(Kr(o),f){const b=Object.assign(Object.create(null),h);for(const p in b)Object.prototype.hasOwnProperty.call(v,p)||delete b[p];b.hour12=v.hour12,b.hourCycle=v.hourCycle,Te(o,av,b)}else Te(o,av,v);Te(o,Xy,h.locale),Te(o,gn,m),Te(o,si,h.timeZone),Te(o,Yo,h.calendar),Te(o,Ly,dS),Te(o,qy,uS),Te(o,By,fS),Te(o,Zy,cS),Te(o,Gy,vS),Te(o,Vy,hS);const g=f?v.timeZone:void 0;if(g===void 0)Te(o,tv,h.timeZone);else{const b=uu(g);if(b.startsWith("−"))throw new RangeError("Unicode minus (U+2212) is not supported in time zone offsets");Te(o,tv,It(b))}})(this,a,l)}get format(){L(this,Ro);const a=nS.bind(this);return Object.defineProperties(a,{length:{value:1,enumerable:!1,writable:!1,configurable:!0},name:{value:"",enumerable:!1,writable:!1,configurable:!0}}),a}formatRange(a,l){return L(this,Ro),oS.call(this,a,l)}formatToParts(a,...l){return L(this,Ro),iS.call(this,a,...l)}formatRangeToParts(a,l){return L(this,Ro),sS.call(this,a,l)}resolvedOptions(){return L(this,Ro),lS.call(this)}}"formatToParts"in ns.prototype||delete is.prototype.formatToParts,"formatRangeToParts"in ns.prototype||delete is.prototype.formatRangeToParts;const Ga=function(n=void 0,a=void 0){return new is(n,a)};function lS(){const n=x(this,gn).resolvedOptions();return n.timeZone=x(this,tv),n}function nS(n,...a){let l,o,s=Ei(n,this);return s.formatter?(l=s.formatter,o=[$a(s.epochNs,"floor")]):(l=x(this,gn),o=[n,...a]),l.format(...o)}function iS(n,...a){let l,o,s=Ei(n,this);return s.formatter?(l=s.formatter,o=[$a(s.epochNs,"floor")]):(l=x(this,gn),o=[n,...a]),l.formatToParts(...o)}function oS(n,a){if(n===void 0||a===void 0)throw new TypeError("Intl.DateTimeFormat.formatRange requires two values");const l=ru(n),o=ru(a);let s,c=[l,o];if(Xr(l)!==Xr(o))throw new TypeError("Intl.DateTimeFormat.formatRange accepts two values of the same type");if(Xr(l)){if(!Up(l,o))throw new TypeError("Intl.DateTimeFormat.formatRange accepts two values of the same type");const{epochNs:f,formatter:v}=Ei(l,this),{epochNs:m,formatter:h}=Ei(o,this);v&&(s=v,c=[$a(f,"floor"),$a(m,"floor")])}return s||(s=x(this,gn)),s.formatRange(...c)}function sS(n,a){if(n===void 0||a===void 0)throw new TypeError("Intl.DateTimeFormat.formatRange requires two values");const l=ru(n),o=ru(a);let s,c=[l,o];if(Xr(l)!==Xr(o))throw new TypeError("Intl.DateTimeFormat.formatRangeToParts accepts two values of the same type");if(Xr(l)){if(!Up(l,o))throw new TypeError("Intl.DateTimeFormat.formatRangeToParts accepts two values of the same type");const{epochNs:f,formatter:v}=Ei(l,this),{epochNs:m,formatter:h}=Ei(o,this);v&&(s=v,c=[$a(f,"floor"),$a(m,"floor")])}return s||(s=x(this,gn)),s.formatRangeToParts(...c)}function xs(n={},a={}){const l=Object.assign({},n),o=["year","month","day","hour","minute","second","weekday","dayPeriod","timeZoneName","dateStyle","timeStyle"];for(let s=0;s<o.length;s++){const c=o[s];l[c]=c in a?a[c]:l[c],l[c]!==!1&&l[c]!==void 0||delete l[c]}return l}function cS(n){const a=xs(n,{year:!1,month:!1,day:!1,weekday:!1,timeZoneName:!1,dateStyle:!1});if(a.timeStyle!=="long"&&a.timeStyle!=="full"||(delete a.timeStyle,Object.assign(a,{hour:"numeric",minute:"2-digit",second:"2-digit"})),!pu(a)){if(Ss(n))throw new TypeError(`cannot format Temporal.PlainTime with options [${Object.keys(n)}]`);Object.assign(a,{hour:"numeric",minute:"numeric",second:"numeric"})}return a}function uS(n){const a={short:{year:"2-digit",month:"numeric"},medium:{year:"numeric",month:"short"},long:{year:"numeric",month:"long"},full:{year:"numeric",month:"long"}},l=xs(n,{day:!1,hour:!1,minute:!1,second:!1,weekday:!1,dayPeriod:!1,timeZoneName:!1,timeStyle:!1});if("dateStyle"in l&&l.dateStyle){const o=l.dateStyle;delete l.dateStyle,Object.assign(l,a[o])}if(!("year"in l||"month"in l||"era"in l)){if(Ss(n))throw new TypeError(`cannot format PlainYearMonth with options [${Object.keys(n)}]`);Object.assign(l,{year:"numeric",month:"numeric"})}return l}function fS(n){const a={short:{month:"numeric",day:"numeric"},medium:{month:"short",day:"numeric"},long:{month:"long",day:"numeric"},full:{month:"long",day:"numeric"}},l=xs(n,{year:!1,hour:!1,minute:!1,second:!1,weekday:!1,dayPeriod:!1,timeZoneName:!1,timeStyle:!1});if("dateStyle"in l&&l.dateStyle){const o=l.dateStyle;delete l.dateStyle,Object.assign(l,a[o])}if(!("month"in l)&&!("day"in l)){if(Ss(n))throw new TypeError(`cannot format PlainMonthDay with options [${Object.keys(n)}]`);Object.assign(l,{month:"numeric",day:"numeric"})}return l}function dS(n){const a=xs(n,{hour:!1,minute:!1,second:!1,dayPeriod:!1,timeZoneName:!1,timeStyle:!1});if(!yu(a)){if(Ss(n))throw new TypeError(`cannot format PlainDate with options [${Object.keys(n)}]`);Object.assign(a,{year:"numeric",month:"numeric",day:"numeric"})}return a}function vS(n){const a=xs(n,{timeZoneName:!1});if((a.timeStyle==="long"||a.timeStyle==="full")&&(delete a.timeStyle,Object.assign(a,{hour:"numeric",minute:"2-digit",second:"2-digit"}),a.dateStyle)&&(Object.assign(a,{short:{year:"numeric",month:"numeric",day:"numeric"},medium:{year:"numeric",month:"short",day:"numeric"},long:{year:"numeric",month:"long",day:"numeric"},full:{year:"numeric",month:"long",day:"numeric",weekday:"long"}}[a.dateStyle]),delete a.dateStyle),!pu(a)&&!yu(a)){if(Ss(n))throw new TypeError(`cannot format PlainDateTime with options [${Object.keys(n)}]`);Object.assign(a,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})}return a}function hS(n){let a=n;return pu(a)||yu(a)||(a=Object.assign({},a,{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),a}function yu(n){return"year"in n||"month"in n||"day"in n||"weekday"in n||"dateStyle"in n||"era"in n}function pu(n){return"hour"in n||"minute"in n||"second"in n||"timeStyle"in n||"dayPeriod"in n||"fractionalSecondDigits"in n}function Ss(n){return yu(n)||pu(n)||"dateStyle"in n||"timeStyle"in n||"timeZoneName"in n}function Xr(n){return et(n)||it(n)||We(n)||Ee(n)||Dt(n)||Ea(n)||zt(n)}function ru(n){return Xr(n)?n:cu(n)}function Up(n,a){return!(!Xr(n)||!Xr(a)||it(n)&&!it(a)||et(n)&&!et(a)||We(n)&&!We(a)||Ee(n)&&!Ee(a)||Dt(n)&&!Dt(a)||Ea(n)&&!Ea(a)||zt(n)&&!zt(a))}function Ei(n,a){if(it(n)){const l={isoDate:{year:1970,month:1,day:1},time:x(n,tt)};return{epochNs:Nt(x(a,si),l,"compatible"),formatter:li(a,Zy)}}if(Dt(n)){const l=x(n,F),o=x(a,Yo);if(l!==o)throw new RangeError(`cannot format PlainYearMonth with calendar ${l} in locale with calendar ${o}`);const s=Ue(x(n,ge),{deltaDays:0,hour:12,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});return{epochNs:Nt(x(a,si),s,"compatible"),formatter:li(a,qy)}}if(Ea(n)){const l=x(n,F),o=x(a,Yo);if(l!==o)throw new RangeError(`cannot format PlainMonthDay with calendar ${l} in locale with calendar ${o}`);const s=Ue(x(n,ge),{deltaDays:0,hour:12,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});return{epochNs:Nt(x(a,si),s,"compatible"),formatter:li(a,By)}}if(et(n)){const l=x(n,F),o=x(a,Yo);if(l!=="iso8601"&&l!==o)throw new RangeError(`cannot format PlainDate with calendar ${l} in locale with calendar ${o}`);const s=Ue(x(n,ge),{deltaDays:0,hour:12,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});return{epochNs:Nt(x(a,si),s,"compatible"),formatter:li(a,Ly)}}if(We(n)){const l=x(n,F),o=x(a,Yo);if(l!=="iso8601"&&l!==o)throw new RangeError(`cannot format PlainDateTime with calendar ${l} in locale with calendar ${o}`);const s=x(n,Ie);return{epochNs:Nt(x(a,si),s,"compatible"),formatter:li(a,Gy)}}if(Ee(n))throw new TypeError("Temporal.ZonedDateTime not supported in DateTimeFormat methods. Use toLocaleString() instead.");return zt(n)?{epochNs:x(n,me),formatter:li(a,Vy)}:{}}function Yp(n){const a=Object.create(null);return a.years=x(n,Bt),a.months=x(n,Zt),a.weeks=x(n,ca),a.days=x(n,Gt),a.hours=x(n,Vt),a.minutes=x(n,Xt),a.seconds=x(n,$t),a.milliseconds=x(n,Qt),a.microseconds=x(n,Wt),a.nanoseconds=x(n,ua),a}is.prototype.constructor=Ga,Object.defineProperty(Ga,"prototype",{value:is.prototype,writable:!1,enumerable:!1,configurable:!1}),Ga.supportedLocalesOf=ns.supportedLocalesOf,Fr(Ga,"Intl.DateTimeFormat");var ly;const{format:mS,formatToParts:gS}=((ly=Intl.DurationFormat)==null?void 0:ly.prototype)??Object.create(null);function kp(n){Intl.DurationFormat.prototype.resolvedOptions.call(this);const a=Yp(Va(n));return mS.call(this,a)}var ny;(ny=Intl.DurationFormat)!=null&&ny.prototype&&(Intl.DurationFormat.prototype.format=kp,Intl.DurationFormat.prototype.formatToParts=function(n){Intl.DurationFormat.prototype.resolvedOptions.call(this);const a=Yp(Va(n));return gS.call(this,a)});class $v{constructor(a){if(arguments.length<1)throw new TypeError("missing argument: epochNanoseconds is required");up(this,au(a))}get epochMilliseconds(){return L(this,zt),$a(x(this,me),"floor")}get epochNanoseconds(){return L(this,zt),zp(w.BigInt(x(this,me)))}add(a){return L(this,zt),Vb("add",this,a)}subtract(a){return L(this,zt),Vb("subtract",this,a)}until(a,l=void 0){return L(this,zt),kb("until",this,a,l)}since(a,l=void 0){return L(this,zt),kb("since",this,a,l)}round(a){if(L(this,zt),a===void 0)throw new TypeError("options parameter is required");const l=typeof a=="string"?hn("smallestUnit",a):se(a),o=Mi(l),s=Pa(l,"halfExpand"),c=da(l,"smallestUnit","time",Qr);return Oi(o,{hour:24,minute:1440,second:86400,millisecond:864e5,microsecond:864e8,nanosecond:864e11}[c],!0),ir(gv(x(this,me),o,c,s))}equals(a){L(this,zt);const l=Lo(a),o=x(this,me),s=x(l,me);return w.equal(w.BigInt(o),w.BigInt(s))}toString(a=void 0){L(this,zt);const l=se(a),o=ds(l),s=Pa(l,"trunc"),c=da(l,"smallestUnit","time",void 0);if(c==="hour")throw new RangeError('smallestUnit must be a time unit other than "hour"');let f=l.timeZone;f!==void 0&&(f=It(f));const{precision:v,unit:m,increment:h}=vs(c,o);return Cb(ir(gv(x(this,me),h,m,s)),f,v)}toJSON(){return L(this,zt),Cb(this,void 0,"auto")}toLocaleString(a=void 0,l=void 0){return L(this,zt),new Ga(a,l).format(this)}valueOf(){Ul("Instant")}toZonedDateTimeISO(a){L(this,zt);const l=It(a);return Rt(x(this,me),l,"iso8601")}static fromEpochMilliseconds(a){return ir(sr(cu(a)))}static fromEpochNanoseconds(a){return ir(au(a))}static from(a){return Lo(a)}static compare(a,l){const o=Lo(a),s=Lo(l),c=x(o,me),f=x(s,me);return w.lessThan(c,f)?-1:w.greaterThan(c,f)?1:0}}Fr($v,"Temporal.Instant");class Qv{constructor(a,l,o,s="iso8601"){const c=pe(a),f=pe(l),v=pe(o),m=ta(s===void 0?"iso8601":mt(s));fn(c,f,v),np(this,{year:c,month:f,day:v},m)}get calendarId(){return L(this,et),x(this,F)}get era(){return Ht(this,"era")}get eraYear(){return Ht(this,"eraYear")}get year(){return Ht(this,"year")}get month(){return Ht(this,"month")}get monthCode(){return Ht(this,"monthCode")}get day(){return Ht(this,"day")}get dayOfWeek(){return Ht(this,"dayOfWeek")}get dayOfYear(){return Ht(this,"dayOfYear")}get weekOfYear(){var a;return(a=Ht(this,"weekOfYear"))==null?void 0:a.week}get yearOfWeek(){var a;return(a=Ht(this,"weekOfYear"))==null?void 0:a.year}get daysInWeek(){return Ht(this,"daysInWeek")}get daysInMonth(){return Ht(this,"daysInMonth")}get daysInYear(){return Ht(this,"daysInYear")}get monthsInYear(){return Ht(this,"monthsInYear")}get inLeapYear(){return Ht(this,"inLeapYear")}with(a,l=void 0){if(L(this,et),!at(a))throw new TypeError("invalid argument");Ci(a);const o=x(this,F);let s=Jt(o,x(this,ge));return s=un(o,s,Oa(o,a,["year","month","monthCode","day"],[],"partial")),Ft(Al(o,s,Ne(se(l))),o)}withCalendar(a){L(this,et);const l=bs(a);return Ft(x(this,ge),l)}add(a,l=void 0){return L(this,et),Xb("add",this,a,l)}subtract(a,l=void 0){return L(this,et),Xb("subtract",this,a,l)}until(a,l=void 0){return L(this,et),Hb("until",this,a,l)}since(a,l=void 0){return L(this,et),Hb("since",this,a,l)}equals(a){L(this,et);const l=ko(a);return vr(x(this,ge),x(l,ge))===0&&fr(x(this,F),x(l,F))}toString(a=void 0){return L(this,et),Mb(this,fs(se(a)))}toJSON(){return L(this,et),Mb(this)}toLocaleString(a=void 0,l=void 0){return L(this,et),new Ga(a,l).format(this)}valueOf(){Ul("PlainDate")}toPlainDateTime(a=void 0){L(this,et);const l=lp(a);return Ba(Ue(x(this,ge),l),x(this,F))}toZonedDateTime(a){let l,o;if(L(this,et),at(a)){const f=a.timeZone;f===void 0?l=It(a):(l=It(f),o=a.plainTime)}else l=It(a);const s=x(this,ge);let c;return o===void 0?c=Sl(l,s):(o=El(o),c=Nt(l,Ue(s,x(o,tt)),"compatible")),Rt(c,l,x(this,F))}toPlainYearMonth(){L(this,et);const a=x(this,F);return gi(es(a,Jt(a,x(this,ge)),"constrain"),a)}toPlainMonthDay(){L(this,et);const a=x(this,F);return di(Ic(a,Jt(a,x(this,ge)),"constrain"),a)}static from(a,l=void 0){return ko(a,l)}static compare(a,l){const o=ko(a),s=ko(l);return vr(x(o,ge),x(s,ge))}}function Ht(n,a){L(n,et);const l=x(n,ge);return hs(n).isoToDate(l,{[a]:!0})[a]}Fr(Qv,"Temporal.PlainDate");class Wv{constructor(a,l,o,s=0,c=0,f=0,v=0,m=0,h=0,g="iso8601"){const b=pe(a),p=pe(l),S=pe(o),T=s===void 0?0:pe(s),E=c===void 0?0:pe(c),z=f===void 0?0:pe(f),A=v===void 0?0:pe(v),q=m===void 0?0:pe(m),N=h===void 0?0:pe(h),W=ta(g===void 0?"iso8601":mt(g));Lv(b,p,S,T,E,z,A,q,N),ip(this,{isoDate:{year:b,month:p,day:S},time:{hour:T,minute:E,second:z,millisecond:A,microsecond:q,nanosecond:N}},W)}get calendarId(){return L(this,We),x(this,F)}get year(){return Lt(this,"year")}get month(){return Lt(this,"month")}get monthCode(){return Lt(this,"monthCode")}get day(){return Lt(this,"day")}get hour(){return ni(this,"hour")}get minute(){return ni(this,"minute")}get second(){return ni(this,"second")}get millisecond(){return ni(this,"millisecond")}get microsecond(){return ni(this,"microsecond")}get nanosecond(){return ni(this,"nanosecond")}get era(){return Lt(this,"era")}get eraYear(){return Lt(this,"eraYear")}get dayOfWeek(){return Lt(this,"dayOfWeek")}get dayOfYear(){return Lt(this,"dayOfYear")}get weekOfYear(){var a;return(a=Lt(this,"weekOfYear"))==null?void 0:a.week}get yearOfWeek(){var a;return(a=Lt(this,"weekOfYear"))==null?void 0:a.year}get daysInWeek(){return Lt(this,"daysInWeek")}get daysInYear(){return Lt(this,"daysInYear")}get daysInMonth(){return Lt(this,"daysInMonth")}get monthsInYear(){return Lt(this,"monthsInYear")}get inLeapYear(){return Lt(this,"inLeapYear")}with(a,l=void 0){if(L(this,We),!at(a))throw new TypeError("invalid argument");Ci(a);const o=x(this,F),s=x(this,Ie);let c={...Jt(o,s.isoDate),...s.time};return c=un(o,c,Oa(o,a,["year","month","monthCode","day"],["hour","minute","second","millisecond","microsecond","nanosecond"],"partial")),Ba(ms(o,c,Ne(se(l))),o)}withPlainTime(a=void 0){L(this,We);const l=lp(a);return Ba(Ue(x(this,Ie).isoDate,l),x(this,F))}withCalendar(a){L(this,We);const l=bs(a);return Ba(x(this,Ie),l)}add(a,l=void 0){return L(this,We),$b("add",this,a,l)}subtract(a,l=void 0){return L(this,We),$b("subtract",this,a,l)}until(a,l=void 0){return L(this,We),Lb("until",this,a,l)}since(a,l=void 0){return L(this,We),Lb("since",this,a,l)}round(a){if(L(this,We),a===void 0)throw new TypeError("options parameter is required");const l=typeof a=="string"?hn("smallestUnit",a):se(a),o=Mi(l),s=Pa(l,"halfExpand"),c=da(l,"smallestUnit","time",Qr,["day"]),f={day:1,hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[c];Oi(o,f,f===1);const v=x(this,Ie);return Ba(o===1&&c==="nanosecond"?v:bv(v,o,c,s),x(this,F))}equals(a){L(this,We);const l=Ho(a);return Ti(x(this,Ie),x(l,Ie))===0&&fr(x(this,F),x(l,F))}toString(a=void 0){L(this,We);const l=se(a),o=fs(l),s=ds(l),c=Pa(l,"trunc"),f=da(l,"smallestUnit","time",void 0);if(f==="hour")throw new RangeError('smallestUnit must be a time unit other than "hour"');const{precision:v,unit:m,increment:h}=vs(f,s),g=bv(x(this,Ie),h,m,c);return dn(g),as(g,x(this,F),v,o)}toJSON(){return L(this,We),as(x(this,Ie),x(this,F),"auto")}toLocaleString(a=void 0,l=void 0){return L(this,We),new Ga(a,l).format(this)}valueOf(){Ul("PlainDateTime")}toZonedDateTime(a,l=void 0){L(this,We);const o=It(a),s=Wo(se(l));return Rt(Nt(o,x(this,Ie),s),o,x(this,F))}toPlainDate(){return L(this,We),Ft(x(this,Ie).isoDate,x(this,F))}toPlainTime(){return L(this,We),Lr(x(this,Ie).time)}static from(a,l=void 0){return Ho(a,l)}static compare(a,l){const o=Ho(a),s=Ho(l);return Ti(x(o,Ie),x(s,Ie))}}function Lt(n,a){L(n,We);const l=x(n,Ie).isoDate;return hs(n).isoToDate(l,{[a]:!0})[a]}function ni(n,a){return L(n,We),x(n,Ie).time[a]}Fr(Wv,"Temporal.PlainDateTime");class zi{constructor(a=0,l=0,o=0,s=0,c=0,f=0,v=0,m=0,h=0,g=0){const b=a===void 0?0:Ia(a),p=l===void 0?0:Ia(l),S=o===void 0?0:Ia(o),T=s===void 0?0:Ia(s),E=c===void 0?0:Ia(c),z=f===void 0?0:Ia(f),A=v===void 0?0:Ia(v),q=m===void 0?0:Ia(m),N=h===void 0?0:Ia(h),W=g===void 0?0:Ia(g);gu(b,p,S,T,E,z,A,q,N,W),Kr(this),Te(this,Bt,b),Te(this,Zt,p),Te(this,ca,S),Te(this,Gt,T),Te(this,Vt,E),Te(this,Xt,z),Te(this,$t,A),Te(this,Qt,q),Te(this,Wt,N),Te(this,ua,W)}get years(){return L(this,Je),x(this,Bt)}get months(){return L(this,Je),x(this,Zt)}get weeks(){return L(this,Je),x(this,ca)}get days(){return L(this,Je),x(this,Gt)}get hours(){return L(this,Je),x(this,Vt)}get minutes(){return L(this,Je),x(this,Xt)}get seconds(){return L(this,Je),x(this,$t)}get milliseconds(){return L(this,Je),x(this,Qt)}get microseconds(){return L(this,Je),x(this,Wt)}get nanoseconds(){return L(this,Je),x(this,ua)}get sign(){return L(this,Je),eu(this)}get blank(){return L(this,Je),eu(this)===0}with(a){L(this,Je);const l=rp(a),{years:o=x(this,Bt),months:s=x(this,Zt),weeks:c=x(this,ca),days:f=x(this,Gt),hours:v=x(this,Vt),minutes:m=x(this,Xt),seconds:h=x(this,$t),milliseconds:g=x(this,Qt),microseconds:b=x(this,Wt),nanoseconds:p=x(this,ua)}=l;return new zi(o,s,c,f,v,m,h,g,b,p)}negated(){return L(this,Je),ha(this)}abs(){return L(this,Je),new zi(Math.abs(x(this,Bt)),Math.abs(x(this,Zt)),Math.abs(x(this,ca)),Math.abs(x(this,Gt)),Math.abs(x(this,Vt)),Math.abs(x(this,Xt)),Math.abs(x(this,$t)),Math.abs(x(this,Qt)),Math.abs(x(this,Wt)),Math.abs(x(this,ua)))}add(a){return L(this,Je),Gb("add",this,a)}subtract(a){return L(this,Je),Gb("subtract",this,a)}round(a){if(L(this,Je),a===void 0)throw new TypeError("options parameter is required");const l=kr(this),o=typeof a=="string"?hn("smallestUnit",a):se(a);let s=da(o,"largestUnit","datetime",void 0,["auto"]),{plainRelativeTo:c,zonedRelativeTo:f}=Wd(o);const v=Mi(o),m=Pa(o,"halfExpand");let h=da(o,"smallestUnit","datetime",void 0),g=!0;h||(g=!1,h="nanosecond");const b=Zr(l,h);let p=!0;if(s||(p=!1,s=b),s==="auto"&&(s=b),!g&&!p)throw new RangeError("at least one of smallestUnit or largestUnit is required");if(Zr(s,h)!==s)throw new RangeError(`largestUnit ${s} cannot be smaller than smallestUnit ${h}`);const S={hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[h];if(S!==void 0&&Oi(v,S,!1),v>1&&Hr(h)==="date"&&s!==h)throw new RangeError("For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit");if(f){let E=ci(this);const z=x(f,qe),A=x(f,F),q=x(f,me);return E=Ep(q,Zo(q,z,A,E),z,A,s,v,h,m),Hr(s)==="date"&&(s="hour"),Za(E,s)}if(c){let E=or(this);const z=_i({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0},E.time),A=x(c,ge),q=x(c,F),N=Ca(q,A,jt(E.date,z.deltaDays),"constrain");return E=Tp(Ue(A,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),Ue(N,z),q,s,v,h,m),Za(E,s)}if(lr(l))throw new RangeError(`a starting point is required for ${l}s balancing`);if(lr(s))throw new RangeError(`a starting point is required for ${s}s balancing`);let T=or(this);if(h==="day"){const{quotient:E,remainder:z}=T.time.divmod(Wc);let A=T.date.days+E+Ko(z,"day");A=zl(A,v,m),T=Gr({years:0,months:0,weeks:0,days:A},ze.ZERO)}else T=Gr({years:0,months:0,weeks:0,days:0},tu(T.time,v,h,m));return Za(T,s)}total(a){if(L(this,Je),a===void 0)throw new TypeError("options argument is required");const l=typeof a=="string"?hn("unit",a):se(a);let{plainRelativeTo:o,zonedRelativeTo:s}=Wd(l);const c=da(l,"unit","datetime",Qr);if(s){const v=ci(this),m=x(s,qe),h=x(s,F),g=x(s,me);return(function(b,p,S,T,E){return Hr(E)==="time"?Ko(ze.fromEpochNsDiff(p,b),E):Yb(Sp(b,p,S,T,E),p,Xa(S,b),S,T,E)})(g,Zo(g,m,h,v),m,h,c)}if(o){const v=or(this);let m=_i({hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0},v.time);const h=x(o,ge),g=x(o,F),b=Ca(g,h,jt(v.date,m.deltaDays),"constrain");return(function(p,S,T,E){if(Ti(p,S)==0)return 0;dn(p),dn(S);const z=xp(p,S,T,E);return E==="nanosecond"?w.toNumber(z.time.totalNs):Yb(z,Ct(S),p,null,T,E)})(Ue(h,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),Ue(b,m),g,c)}const f=kr(this);if(lr(f))throw new RangeError(`a starting point is required for ${f}s total`);if(lr(c))throw new RangeError(`a starting point is required for ${c}s total`);return Ko(or(this).time,c)}toString(a=void 0){L(this,Je);const l=se(a),o=ds(l),s=Pa(l,"trunc"),c=da(l,"smallestUnit","time",void 0);if(c==="hour"||c==="minute")throw new RangeError('smallestUnit must be a time unit other than "hours" or "minutes"');const{precision:f,unit:v,increment:m}=vs(c,o);if(v==="nanosecond"&&m===1)return Zc(this,f);const h=kr(this);let g=ci(this);const b=tu(g.time,m,v,s);return g=Gr(g.date,b),Zc(Za(g,Zr(h,"second")),f)}toJSON(){return L(this,Je),Zc(this,"auto")}toLocaleString(a=void 0,l=void 0){if(L(this,Je),typeof Intl.DurationFormat=="function"){const o=new Intl.DurationFormat(a,l);return kp.call(o,this)}return console.warn("Temporal.Duration.prototype.toLocaleString() requires Intl.DurationFormat."),Zc(this,"auto")}valueOf(){Ul("Duration")}static from(a){return Va(a)}static compare(a,l,o=void 0){const s=Va(a),c=Va(l),f=se(o),{plainRelativeTo:v,zonedRelativeTo:m}=Wd(f);if(x(s,Bt)===x(c,Bt)&&x(s,Zt)===x(c,Zt)&&x(s,ca)===x(c,ca)&&x(s,Gt)===x(c,Gt)&&x(s,Vt)===x(c,Vt)&&x(s,Xt)===x(c,Xt)&&x(s,$t)===x(c,$t)&&x(s,Qt)===x(c,Qt)&&x(s,Wt)===x(c,Wt)&&x(s,ua)===x(c,ua))return 0;const h=kr(s),g=kr(c),b=ci(s),p=ci(c);if(m&&(Hr(h)==="date"||Hr(g)==="date")){const A=x(m,qe),q=x(m,F),N=x(m,me),W=Zo(N,A,q,b),Q=Zo(N,A,q,p);return fa(w.toNumber(w.subtract(W,Q)))}let S=b.date.days,T=p.date.days;if(lr(h)||lr(g)){if(!v)throw new RangeError("A starting point is required for years, months, or weeks comparison");S=Ub(b.date,v),T=Ub(p.date,v)}const E=b.time.add24HourDays(S),z=p.time.add24HourDays(T);return E.cmp(z)}}Fr(zi,"Temporal.Duration");class Kv{constructor(a,l,o="iso8601",s=1972){const c=pe(a),f=pe(l),v=ta(o===void 0?"iso8601":mt(o)),m=pe(s);fn(m,c,f),op(this,{year:m,month:c,day:f},v)}get monthCode(){return Ib(this,"monthCode")}get day(){return Ib(this,"day")}get calendarId(){return L(this,Ea),x(this,F)}with(a,l=void 0){if(L(this,Ea),!at(a))throw new TypeError("invalid argument");Ci(a);const o=x(this,F);let s=Jt(o,x(this,ge),"month-day");return s=un(o,s,Oa(o,a,["year","month","monthCode","day"],[],"partial")),di(Ic(o,s,Ne(se(l))),o)}equals(a){L(this,Ea);const l=zb(a);return vr(x(this,ge),x(l,ge))===0&&fr(x(this,F),x(l,F))}toString(a=void 0){return L(this,Ea),Ab(this,fs(se(a)))}toJSON(){return L(this,Ea),Ab(this)}toLocaleString(a=void 0,l=void 0){return L(this,Ea),new Ga(a,l).format(this)}valueOf(){Ul("PlainMonthDay")}toPlainDate(a){if(L(this,Ea),!at(a))throw new TypeError("argument should be an object");const l=x(this,F);return Ft(Al(l,un(l,Jt(l,x(this,ge),"month-day"),Oa(l,a,["year"],[],[])),"constrain"),l)}static from(a,l=void 0){return zb(a,l)}}function Ib(n,a){L(n,Ea);const l=x(n,ge);return hs(n).isoToDate(l,{[a]:!0})[a]}function Fd(n){return Xa(n,wv())}Fr(Kv,"Temporal.PlainMonthDay");const Hp={instant:()=>ir(wv()),plainDateTimeISO:(n=Ao())=>Ba(Fd(It(n)),"iso8601"),plainDateISO:(n=Ao())=>Ft(Fd(It(n)).isoDate,"iso8601"),plainTimeISO:(n=Ao())=>Lr(Fd(It(n)).time),timeZoneId:()=>Ao(),zonedDateTimeISO:(n=Ao())=>{const a=It(n);return Rt(wv(),a,"iso8601")},[Symbol.toStringTag]:"Temporal.Now"};Object.defineProperty(Hp,Symbol.toStringTag,{value:"Temporal.Now",writable:!1,enumerable:!1,configurable:!0});class _s{constructor(a=0,l=0,o=0,s=0,c=0,f=0){const v=a===void 0?0:pe(a),m=l===void 0?0:pe(l),h=o===void 0?0:pe(o),g=s===void 0?0:pe(s),b=c===void 0?0:pe(c),p=f===void 0?0:pe(f);mu(v,m,h,g,b,p),sp(this,{hour:v,minute:m,second:h,millisecond:g,microsecond:b,nanosecond:p})}get hour(){return L(this,it),x(this,tt).hour}get minute(){return L(this,it),x(this,tt).minute}get second(){return L(this,it),x(this,tt).second}get millisecond(){return L(this,it),x(this,tt).millisecond}get microsecond(){return L(this,it),x(this,tt).microsecond}get nanosecond(){return L(this,it),x(this,tt).nanosecond}with(a,l=void 0){if(L(this,it),!at(a))throw new TypeError("invalid argument");Ci(a);const o=uv(a,"partial"),s=uv(this);let{hour:c,minute:f,second:v,millisecond:m,microsecond:h,nanosecond:g}=Object.assign(s,o);const b=Ne(se(l));return{hour:c,minute:f,second:v,millisecond:m,microsecond:h,nanosecond:g}=du(c,f,v,m,h,g,b),new _s(c,f,v,m,h,g)}add(a){return L(this,it),Qb("add",this,a)}subtract(a){return L(this,it),Qb("subtract",this,a)}until(a,l=void 0){return L(this,it),qb("until",this,a,l)}since(a,l=void 0){return L(this,it),qb("since",this,a,l)}round(a){if(L(this,it),a===void 0)throw new TypeError("options parameter is required");const l=typeof a=="string"?hn("smallestUnit",a):se(a),o=Mi(l),s=Pa(l,"halfExpand"),c=da(l,"smallestUnit","time",Qr);return Oi(o,{hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[c],!1),Lr(yv(x(this,tt),o,c,s))}equals(a){L(this,it);const l=El(a);return pv(x(this,tt),x(l,tt))===0}toString(a=void 0){L(this,it);const l=se(a),o=ds(l),s=Pa(l,"trunc"),c=da(l,"smallestUnit","time",void 0);if(c==="hour")throw new RangeError('smallestUnit must be a time unit other than "hour"');const{precision:f,unit:v,increment:m}=vs(c,o);return Ob(yv(x(this,tt),m,v,s),f)}toJSON(){return L(this,it),Ob(x(this,tt),"auto")}toLocaleString(a=void 0,l=void 0){return L(this,it),new Ga(a,l).format(this)}valueOf(){Ul("PlainTime")}static from(a,l=void 0){return El(a,l)}static compare(a,l){const o=El(a),s=El(l);return pv(x(o,tt),x(s,tt))}}Fr(_s,"Temporal.PlainTime");class Fv{constructor(a,l,o="iso8601",s=1){const c=pe(a),f=pe(l),v=ta(o===void 0?"iso8601":mt(o)),m=pe(s);fn(c,f,m),cp(this,{year:c,month:f,day:m},v)}get year(){return Nr(this,"year")}get month(){return Nr(this,"month")}get monthCode(){return Nr(this,"monthCode")}get calendarId(){return L(this,Dt),x(this,F)}get era(){return Nr(this,"era")}get eraYear(){return Nr(this,"eraYear")}get daysInMonth(){return Nr(this,"daysInMonth")}get daysInYear(){return Nr(this,"daysInYear")}get monthsInYear(){return Nr(this,"monthsInYear")}get inLeapYear(){return Nr(this,"inLeapYear")}with(a,l=void 0){if(L(this,Dt),!at(a))throw new TypeError("invalid argument");Ci(a);const o=x(this,F);let s=Jt(o,x(this,ge),"year-month");return s=un(o,s,Oa(o,a,["year","month","monthCode"],[],"partial")),gi(es(o,s,Ne(se(l))),o)}add(a,l=void 0){return L(this,Dt),Wb("add",this,a,l)}subtract(a,l=void 0){return L(this,Dt),Wb("subtract",this,a,l)}until(a,l=void 0){return L(this,Dt),Bb("until",this,a,l)}since(a,l=void 0){return L(this,Dt),Bb("since",this,a,l)}equals(a){L(this,Dt);const l=qo(a);return vr(x(this,ge),x(l,ge))===0&&fr(x(this,F),x(l,F))}toString(a=void 0){return L(this,Dt),Rb(this,fs(se(a)))}toJSON(){return L(this,Dt),Rb(this)}toLocaleString(a=void 0,l=void 0){return L(this,Dt),new Ga(a,l).format(this)}valueOf(){Ul("PlainYearMonth")}toPlainDate(a){if(L(this,Dt),!at(a))throw new TypeError("argument should be an object");const l=x(this,F);return Ft(Al(l,un(l,Jt(l,x(this,ge),"year-month"),Oa(l,a,["day"],[],[])),"constrain"),l)}static from(a,l=void 0){return qo(a,l)}static compare(a,l){const o=qo(a),s=qo(l);return vr(x(o,ge),x(s,ge))}}function Nr(n,a){L(n,Dt);const l=x(n,ge);return hs(n).isoToDate(l,{[a]:!0})[a]}Fr(Fv,"Temporal.PlainYearMonth");const bS=Ga.prototype.resolvedOptions;class Iv{constructor(a,l,o="iso8601"){if(arguments.length<1)throw new TypeError("missing argument: epochNanoseconds is required");const s=au(a);let c=mt(l);const{tzName:f,offsetMinutes:v}=Cl(c);if(v===void 0){const m=Pc(f);if(!m)throw new RangeError(`unknown time zone ${f}`);c=m.identifier}else c=Yv(v);fp(this,s,c,ta(o===void 0?"iso8601":mt(o)))}get calendarId(){return L(this,Ee),x(this,F)}get timeZoneId(){return L(this,Ee),x(this,qe)}get year(){return qt(this,"year")}get month(){return qt(this,"month")}get monthCode(){return qt(this,"monthCode")}get day(){return qt(this,"day")}get hour(){return ii(this,"hour")}get minute(){return ii(this,"minute")}get second(){return ii(this,"second")}get millisecond(){return ii(this,"millisecond")}get microsecond(){return ii(this,"microsecond")}get nanosecond(){return ii(this,"nanosecond")}get era(){return qt(this,"era")}get eraYear(){return qt(this,"eraYear")}get epochMilliseconds(){return L(this,Ee),$a(x(this,me),"floor")}get epochNanoseconds(){return L(this,Ee),zp(x(this,me))}get dayOfWeek(){return qt(this,"dayOfWeek")}get dayOfYear(){return qt(this,"dayOfYear")}get weekOfYear(){var a;return(a=qt(this,"weekOfYear"))==null?void 0:a.week}get yearOfWeek(){var a;return(a=qt(this,"weekOfYear"))==null?void 0:a.year}get hoursInDay(){L(this,Ee);const a=x(this,qe),l=rr(this).isoDate,o=va(l.year,l.month,l.day+1),s=Sl(a,l),c=Sl(a,o);return Ko(ze.fromEpochNsDiff(c,s),"hour")}get daysInWeek(){return qt(this,"daysInWeek")}get daysInMonth(){return qt(this,"daysInMonth")}get daysInYear(){return qt(this,"daysInYear")}get monthsInYear(){return qt(this,"monthsInYear")}get inLeapYear(){return qt(this,"inLeapYear")}get offset(){return L(this,Ee),fv(qr(x(this,qe),x(this,me)))}get offsetNanoseconds(){return L(this,Ee),qr(x(this,qe),x(this,me))}with(a,l=void 0){if(L(this,Ee),!at(a))throw new TypeError("invalid zoned-date-time-like");Ci(a);const o=x(this,F),s=x(this,qe),c=qr(s,x(this,me)),f=rr(this);let v={...Jt(o,f.isoDate),...f.time,offset:fv(c)};v=un(o,v,Oa(o,a,["year","month","monthCode","day"],["hour","minute","second","millisecond","microsecond","nanosecond","offset"],"partial"));const m=se(l),h=Wo(m),g=Vc(m,"prefer"),b=ms(o,v,Ne(m)),p=Ai(v.offset);return Rt(Fc(b.isoDate,b.time,"option",p,s,h,g,!1),s,o)}withPlainTime(a=void 0){L(this,Ee);const l=x(this,qe),o=x(this,F),s=rr(this).isoDate;let c;return c=a===void 0?Sl(l,s):Nt(l,Ue(s,x(El(a),tt)),"compatible"),Rt(c,l,o)}withTimeZone(a){L(this,Ee);const l=It(a);return Rt(x(this,me),l,x(this,F))}withCalendar(a){L(this,Ee);const l=bs(a);return Rt(x(this,me),x(this,qe),l)}add(a,l=void 0){return L(this,Ee),Kb("add",this,a,l)}subtract(a,l=void 0){return L(this,Ee),Kb("subtract",this,a,l)}until(a,l=void 0){return L(this,Ee),Zb("until",this,a,l)}since(a,l=void 0){return L(this,Ee),Zb("since",this,a,l)}round(a){if(L(this,Ee),a===void 0)throw new TypeError("options parameter is required");const l=typeof a=="string"?hn("smallestUnit",a):se(a),o=Mi(l),s=Pa(l,"halfExpand"),c=da(l,"smallestUnit","time",Qr,["day"]),f={day:1,hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[c];if(Oi(o,f,f===1),c==="nanosecond"&&o===1)return Rt(x(this,me),x(this,qe),x(this,F));const v=x(this,qe),m=x(this,me),h=rr(this);let g;if(c==="day"){const b=h.isoDate,p=va(b.year,b.month,b.day+1),S=Sl(v,b),T=Sl(v,p),E=w.subtract(T,S);g=ze.fromEpochNsDiff(m,S).round(E,s).addToEpochNs(S)}else{const b=bv(h,o,c,s),p=qr(v,m);g=Fc(b.isoDate,b.time,"option",p,v,"compatible","prefer",!1)}return Rt(g,v,x(this,F))}equals(a){L(this,Ee);const l=Bo(a),o=x(this,me),s=x(l,me);return!!w.equal(w.BigInt(o),w.BigInt(s))&&!!dp(x(this,qe),x(l,qe))&&fr(x(this,F),x(l,F))}toString(a=void 0){L(this,Ee);const l=se(a),o=fs(l),s=ds(l),c=(function(p){return Vr(p,"offset",["auto","never"],"auto")})(l),f=Pa(l,"trunc"),v=da(l,"smallestUnit","time",void 0);if(v==="hour")throw new RangeError('smallestUnit must be a time unit other than "hour"');const m=(function(p){return Vr(p,"timeZoneName",["auto","never","critical"],"auto")})(l),{precision:h,unit:g,increment:b}=vs(v,s);return jb(this,h,o,m,c,{unit:g,increment:b,roundingMode:f})}toLocaleString(a=void 0,l=void 0){L(this,Ee);const o=se(l),s=Object.create(null);if((function(m,h,g,b){if(h==null)return;const p=Reflect.ownKeys(h);for(let S=0;S<p.length;S++){const T=p[S];if(!g.some((E=>Object.is(E,T)))&&Object.prototype.propertyIsEnumerable.call(h,T)){const E=h[T];m[T]=E}}})(s,o,["timeZone"]),o.timeZone!==void 0)throw new TypeError("ZonedDateTime toLocaleString does not accept a timeZone option");if(s.year===void 0&&s.month===void 0&&s.day===void 0&&s.era===void 0&&s.weekday===void 0&&s.dateStyle===void 0&&s.hour===void 0&&s.minute===void 0&&s.second===void 0&&s.fractionalSecondDigits===void 0&&s.timeStyle===void 0&&s.dayPeriod===void 0&&s.timeZoneName===void 0&&(s.timeZoneName="short"),s.timeZone=x(this,qe),Nb(s.timeZone))throw new RangeError("toLocaleString does not currently support offset time zones");const c=new Ga(a,s),f=bS.call(c).calendar,v=x(this,F);if(v!=="iso8601"&&f!=="iso8601"&&!fr(f,v))throw new RangeError(`cannot format ZonedDateTime with calendar ${v} in locale with calendar ${f}`);return c.format(ir(x(this,me)))}toJSON(){return L(this,Ee),jb(this,"auto")}valueOf(){Ul("ZonedDateTime")}startOfDay(){L(this,Ee);const a=x(this,qe);return Rt(Sl(a,rr(this).isoDate),a,x(this,F))}getTimeZoneTransition(a){L(this,Ee);const l=x(this,qe);if(a===void 0)throw new TypeError("options parameter is required");const o=Vr(typeof a=="string"?hn("direction",a):se(a),"direction",["next","previous"],Qr);if(o===void 0)throw new TypeError("direction option is required");if(Nb(l)||l==="UTC")return null;const s=x(this,me),c=o==="next"?Hv(l,s):vv(l,s);return c===null?null:Rt(c,l,x(this,F))}toInstant(){return L(this,Ee),ir(x(this,me))}toPlainDate(){return L(this,Ee),Ft(rr(this).isoDate,x(this,F))}toPlainTime(){return L(this,Ee),Lr(rr(this).time)}toPlainDateTime(){return L(this,Ee),Ba(rr(this),x(this,F))}static from(a,l=void 0){return Bo(a,l)}static compare(a,l){const o=Bo(a),s=Bo(l),c=x(o,me),f=x(s,me);return w.lessThan(w.BigInt(c),w.BigInt(f))?-1:w.greaterThan(w.BigInt(c),w.BigInt(f))?1:0}}function rr(n){return Xa(x(n,qe),x(n,me))}function qt(n,a){L(n,Ee);const l=rr(n).isoDate;return hs(n).isoToDate(l,{[a]:!0})[a]}function ii(n,a){return L(n,Ee),rr(n).time[a]}Fr(Iv,"Temporal.ZonedDateTime");var ui=Object.freeze({__proto__:null,Duration:zi,Instant:$v,Now:Hp,PlainDate:Qv,PlainDateTime:Wv,PlainMonthDay:Kv,PlainTime:_s,PlainYearMonth:Fv,ZonedDateTime:Iv});const yS=[$v,Qv,Wv,zi,Kv,_s,Fv,Iv];for(const n of yS){const a=Object.getOwnPropertyDescriptor(n,"prototype");(a.configurable||a.enumerable||a.writable)&&(a.configurable=!1,a.enumerable=!1,a.writable=!1,Object.defineProperty(n,"prototype",a))}function pS(){return ui.Now.instant().epochMilliseconds}function Pb(){return performance.now()}var wS=Rl({slots:["root","inner","content","end"],base:{root:{width:"25rem",maxW:"calc(100vw - 32px)",p:"4",borderRadius:"lg",boxShadow:"xl",fontFamily:"body",transitionProperty:"opacity, transform",transitionDuration:"fast",transitionTimingFunction:"default","@starting-style":{opacity:0,transform:"translateY(8px)"},"@media (prefers-reduced-motion: reduce)":{transitionDuration:"0.01ms"}},inner:{display:"flex",alignItems:"center",gap:"3"},content:{flex:1,minW:0},end:{display:"flex",alignItems:"center",gap:"2",flexShrink:0}},variants:{type:{info:{root:{bg:"status.info.solid",color:"status.info.solidFg"}},error:{root:{bg:"status.error.solid",color:"status.error.solidFg"}},success:{root:{bg:"status.success.solid",color:"status.success.solidFg"}},warning:{root:{bg:"status.warning.solid",color:"status.warning.solidFg"}}},isExiting:{true:{root:{opacity:0,transform:"translateY(-8px)"}}}},defaultVariants:{type:"info",isExiting:!1}}),Jb={error:!0,warning:!0};function Lp({autoHideDuration:n,body:a,className:l,"data-testid":o,endContent:s,isAutoHide:c,isExiting:f=!1,onDismiss:v,ref:m,style:h,type:g}){const b=B.useRef(null),p=B.useRef(null),S=B.useRef(n),T=B.useRef(!1),E=py(v),z=B.useCallback(()=>{c&&(b.current!=null&&clearTimeout(b.current),p.current=Pb(),b.current=setTimeout(()=>E.current("auto"),S.current))},[c]),A=B.useCallback(()=>{!c||T.current||(T.current=!0,b.current!=null&&(clearTimeout(b.current),b.current=null),p.current!=null&&(S.current=Math.max(S.current-(Pb()-p.current),1e3)))},[c]),q=B.useCallback(()=>{!c||!T.current||(T.current=!1,z())},[c,z]);B.useEffect(()=>(S.current=n,z(),()=>{b.current!=null&&clearTimeout(b.current)}),[n,z]);const N=wS({type:g,isExiting:f});return D.jsx("div",{"aria-atomic":"true","aria-live":Jb[g]?"assertive":"polite",className:He(N.root,l),"data-testid":o,onBlurCapture:q,onFocusCapture:A,onMouseEnter:A,onMouseLeave:q,ref:m,role:Jb[g]?"alert":"status",style:h,children:D.jsxs("div",{className:N.inner,children:[D.jsx("div",{className:N.content,children:a}),D.jsxs("div",{className:N.end,children:[s,D.jsx(ur,{icon:lu,isIconOnly:!0,label:"Dismiss notification",onClick:()=>E.current("manual"),size:"sm",variant:"onSolid"})]})]})})}Lp.displayName="Toast";var Pv=B.createContext(null);Pv.displayName="ToastContext";var Da={viewport:be({position:"fixed",zIndex:500,display:"flex",flexDirection:"column",p:"4",pointerEvents:"none",inset:"unset",m:0,borderWidth:0,bg:"transparent",overflow:"visible"}),bottomEnd:be({bottom:0,insetInlineEnd:0,alignItems:"flex-end"}),bottomStart:be({bottom:0,insetInlineStart:0,alignItems:"flex-start"}),topEnd:be({top:0,insetInlineEnd:0,alignItems:"flex-end",flexDirection:"column-reverse"}),topStart:be({top:0,insetInlineStart:0,alignItems:"flex-start",flexDirection:"column-reverse"}),wrapper:be({pointerEvents:"auto",display:"grid",gridTemplateRows:"1fr",pb:"3",transitionProperty:"grid-template-rows, padding",transitionDuration:"fast",transitionTimingFunction:"default","@media (prefers-reduced-motion: reduce)":{transitionDuration:"0.01ms"}}),wrapperExiting:be({gridTemplateRows:"0fr",pb:0}),wrapperInner:be({overflow:"hidden"}),position:{bottomEnd:"",bottomStart:"",topEnd:"",topStart:""}};Da.position.bottomEnd=Da.bottomEnd;Da.position.bottomStart=Da.bottomStart;Da.position.topEnd=Da.topEnd;Da.position.topStart=Da.topStart;function qp({children:n,className:a,"data-testid":l,inset:o,isTopLayer:s=!0,maxVisible:c=5,position:f="bottomEnd",ref:v,style:m}){const[h,g]=B.useState([]),[b,p]=B.useState(()=>new Set),S=B.useRef(h),T=B.useRef(null);B.useEffect(()=>{S.current=h},[h]);const E=B.useCallback(Q=>{g(P=>{const{uniqueID:K,collisionBehavior:ae="overwrite"}=Q.options;return K!=null&&P.find(le=>le.options.uniqueID===K)!=null?ae==="ignore"?P:P.map(le=>le.options.uniqueID===K?Q:le):[...P,Q]})},[]),z=B.useCallback((Q,P)=>{var ae,I;const K=S.current.find(le=>le.id===Q);(I=K==null?void 0:(ae=K.options).onHide)==null||I.call(ae,P),p(le=>new Set(le).add(Q)),globalThis.setTimeout(()=>{p(le=>{const ne=new Set(le);return ne.delete(Q),ne}),g(le=>le.filter(ne=>ne.id!==Q))},180)},[]),A=B.useCallback(Q=>S.current.find(P=>P.options.uniqueID===Q),[]),q=B.useMemo(()=>({addToast:E,findByUniqueID:A,removeToast:z}),[E,A,z]);B.useEffect(()=>{var Q;if(s)try{(Q=T.current)==null||Q.showPopover()}catch{}},[s]);const N={...(o==null?void 0:o.top)!=null?{top:o.top}:null,...(o==null?void 0:o.bottom)!=null?{bottom:o.bottom}:null,...(o==null?void 0:o.start)!=null?{insetInlineStart:o.start}:null,...(o==null?void 0:o.end)!=null?{insetInlineEnd:o.end}:null,...m},W=h.slice(-c);return D.jsxs(Pv,{value:q,children:[n,D.jsx("div",{"aria-label":"Notifications",className:He(Da.viewport,Da.position[f],a),"data-testid":l,popover:s?"manual":void 0,ref:yi(T,v),role:"region",style:N,children:W.map(Q=>{const P=Q.options.type??"info",K=Q.options.isAutoHide??P!=="error";return D.jsx("div",{className:He(Da.wrapper,b.has(Q.id)?Da.wrapperExiting:void 0),children:D.jsx("div",{className:Da.wrapperInner,children:D.jsx(Lp,{autoHideDuration:Q.options.autoHideDuration??5e3,body:Q.options.body,endContent:Q.options.endContent,isAutoHide:K,isExiting:b.has(Q.id),onDismiss:ae=>z(Q.id,ae),type:P})})},Q.id)})})]})}qp.displayName="ToastViewport";var ey=0;function xS(){return ey+=1,`silver-toast-${ey}`}function Jv(){const n=B.use(Pv);if(n==null)throw new Error("useToast must be used within a ToastViewport. Add <ToastViewport> near your app root to enable toast notifications.");return B.useCallback(a=>{const l=xS(),o={createdAt:pS(),id:l,options:a};return n.addToast(o),()=>n.removeToast(l,"manual")},[n])}var SS=Rl({slots:["field","row","labelWrapper","label","labelIcon","requiredness","tooltipIcon","status","control","input","track","thumb"],base:{field:{display:"flex",flexDirection:"column",gap:"1",w:"fit-content"},row:{display:"flex",alignItems:"center",gap:"2"},labelWrapper:{display:"flex",flexDirection:"column",gap:"0.5",minW:0},label:{display:"inline-flex",alignItems:"center",gap:"1",w:"fit-content",color:"fg.muted",cursor:"pointer"},labelIcon:{display:"inline-flex",alignItems:"center"},requiredness:{fontWeight:"normal",color:"fg.muted"},tooltipIcon:{display:"inline-flex",color:"fg.muted"},status:{fontFamily:"body",fontSize:"sm",lineHeight:"normal",px:"2",py:"1.5",mt:"1",borderRadius:"md"},control:{position:"relative",display:"inline-flex",alignItems:"center",flexShrink:0,w:"10",h:"6",borderRadius:"full",isolation:"isolate","&:has(input:focus-visible)":{outlineWidth:"focus",outlineStyle:"solid",outlineColor:"primary",outlineOffset:"focusOffset"},'& [data-switch-track][data-selected="true"]':{bg:"primary"},"&:has(input:active:not(:disabled)) [data-switch-track]":{bg:"primary.active"}},input:{position:"absolute",inset:0,m:0,p:0,opacity:0,cursor:"pointer",zIndex:1,_disabled:{cursor:"not-allowed"}},track:{display:"flex",alignItems:"center",w:"10",h:"6",p:"1",borderRadius:"full",bg:"track.emphasized",transitionProperty:"background-color",transitionDuration:"fast",transitionTimingFunction:"default",pointerEvents:"none","@media (prefers-reduced-motion: reduce)":{transitionDuration:"0s"}},thumb:{display:"inline-flex",alignItems:"center",justifyContent:"center",w:"4",h:"4",borderRadius:"full",bg:"bg",color:"primary",transform:"translateX(0)",transitionProperty:"transform",transitionDuration:"fast",transitionTimingFunction:"default","@media (prefers-reduced-motion: reduce)":{transitionDuration:"0s"}}},variants:{labelSpacing:{default:{},spread:{field:{w:"full"},row:{justifyContent:"space-between",w:"full"}}},isSelected:{true:{track:{bg:"primary"},thumb:{transform:"translateX(16px)"}},false:{}},isDisabled:{true:{label:{color:"fg.disabled",cursor:"not-allowed"},track:{opacity:.5}},false:{}},status:{warning:{status:{bg:"surface.yellow",color:"surface.yellow.fg"}},error:{status:{bg:"surface.red",color:"surface.red.fg"}},success:{status:{bg:"surface.green",color:"surface.green.fg"}}}},defaultVariants:{labelSpacing:"default",isSelected:!1,isDisabled:!1}});function Go({className:n,"data-testid":a,description:l,isDisabled:o=!1,isLabelHidden:s=!1,isLoading:c=!1,isOptional:f,isRequired:v,label:m,labelIcon:h,labelTooltip:g,labelPosition:b="end",labelSpacing:p="default",onBlur:S,onChange:T,onFocus:E,ref:z,status:A,style:q,isSelected:N}){const W=B.useId(),Q=ct(l)?`${W}-description`:void 0,P=Rv(W,A),K=Av(Q,P),ae=f?"Optional":v?"Required":null,I=SS({labelSpacing:p,isSelected:N,isDisabled:o,status:A==null?void 0:A.type}),le=D.jsxs("span",{className:I.control,children:[D.jsx("input",{"aria-busy":c||void 0,"aria-describedby":K,"aria-invalid":(A==null?void 0:A.type)==="error"||void 0,checked:N,className:I.input,"data-testid":a,disabled:o,id:W,onBlur:S,onChange:re=>T(re.target.checked,re),onFocus:E,ref:z,required:v,role:"switch",type:"checkbox"}),D.jsx("span",{"aria-hidden":"true",className:I.track,"data-selected":N?"true":void 0,"data-switch-track":"",children:D.jsx("span",{className:I.thumb,children:c?D.jsx($r,{size:"sm"}):null})}),c?D.jsx(Dl,{children:D.jsx("span",{role:"status",children:"Loading"})}):null]}),ne=D.jsxs("div",{className:I.labelWrapper,children:[D.jsxs("label",{className:I.label,htmlFor:W,children:[h!=null?D.jsx("span",{className:I.labelIcon,children:D.jsx(Pt,{color:"secondary",icon:h,size:"sm"})}):null,D.jsx(Ut,{as:"span",color:"inherit",type:"label",children:m}),ae!=null?D.jsxs(Ut,{as:"span",className:I.requiredness,type:"supporting",children:[D.jsx("span",{"aria-hidden":"true",children:" · "}),ae]}):null,ct(g)?D.jsx(Di,{content:g,children:D.jsx("span",{className:I.tooltipIcon,children:D.jsx(Pt,{icon:by,size:"sm"})})}):null]}),ct(l)?D.jsx(Ut,{as:"span",color:"secondary",id:Q,type:"supporting",children:l}):null]});return D.jsxs("div",{className:He(I.field,n),style:q,children:[D.jsxs("div",{className:I.row,children:[b==="start"?s?D.jsx(Dl,{children:ne}):ne:le,b==="start"?le:s?D.jsx(Dl,{children:ne}):ne]}),(A==null?void 0:A.message)!=null?D.jsx("div",{"aria-live":A.type==="error"?"assertive":"polite",className:I.status,id:P,role:A.type==="error"?"alert":"status",children:A.message}):null]})}Go.displayName="Switch";var _S=Wr({base:{display:"inline-flex",appearance:"none",alignItems:"center",padding:0,border:0,background:"none",gap:"1",fontFamily:"body",fontWeight:"inherit",lineHeight:"normal",textAlign:"inherit",textDecoration:"none",cursor:"pointer",transitionProperty:"color, text-decoration-color, opacity",transitionDuration:"fast",transitionTimingFunction:"default",_hover:{textDecoration:"underline"},_focusVisible:{outlineWidth:"focus",outlineStyle:"solid",outlineColor:"primary",outlineOffset:"focusOffset"},'&[aria-disabled="true"]':{cursor:"not-allowed",opacity:.5}},variants:{size:{xs:{fontSize:"xs"},sm:{fontSize:"sm"},md:{fontSize:"md"},lg:{fontSize:"lg"},xl:{fontSize:"xl"},"2xl":{fontSize:"2xl"},"3xl":{fontSize:"3xl"},"4xl":{fontSize:"4xl"},"5xl":{fontSize:"5xl"},"6xl":{fontSize:"6xl"},inherit:{fontSize:"inherit"}},color:{primary:{color:"fg"},secondary:{color:"fg.muted"},disabled:{color:"fg.disabled"},placeholder:{color:"fg.muted"},active:{color:"primary"},inherit:{color:"inherit"}},weight:{normal:{fontWeight:"normal"},medium:{fontWeight:"medium"},semibold:{fontWeight:"semibold"},bold:{fontWeight:"bold"},inherit:{fontWeight:"inherit"}},hasUnderline:{true:{textDecoration:"underline"},false:{}}},defaultVariants:{color:"active",size:"md",hasUnderline:!1}});function xv({"aria-controls":n,"aria-current":a,"aria-description":l,"aria-describedby":o,"aria-details":s,"aria-expanded":c,"aria-haspopup":f,"aria-hidden":v,"aria-keyshortcuts":m,"aria-labelledby":h,"aria-owns":g,"aria-roledescription":b,as:p,label:S,href:T,hasUnderline:E=!1,isDisabled:z=!1,isExternalLink:A=!1,target:q,rel:N,size:W,tooltip:Q,color:P,weight:K,className:ae,"data-testid":I,style:le,ref:ne,children:re,onClick:he}){const ye=T!=null,De=q??(A?"_blank":void 0),j=ye&&De==="_blank",$=Ry({isExternalLink:A,target:De,rel:N}),J={"aria-controls":n,"aria-current":a,"aria-description":l,"aria-describedby":o,"aria-details":s,"aria-expanded":c,"aria-haspopup":f,"aria-hidden":v,"aria-keyshortcuts":m,"aria-labelledby":h,"aria-owns":g,"aria-roledescription":b},ve=C=>{if(z){C.preventDefault();return}he==null||he(C)},we=D.jsxs(Fo,{...J,"aria-disabled":z||void 0,"aria-label":Ay(S,j),as:p,className:He(_S({color:P,hasUnderline:E,size:W,weight:K}),ae),"data-testid":I,href:z?void 0:T,isDisabled:ye?void 0:z,isLink:ye,onClick:ve,ref:ne,rel:!z&&ye?$:void 0,style:le,tabIndex:z?-1:void 0,target:!z&&ye?De:void 0,children:[re,j&&S==null?D.jsxs(D.Fragment,{children:[" ",D.jsx(Dl,{children:"(opens in new tab)"})]}):null,A?D.jsx("span",{"aria-hidden":"true",className:TS.externalLink,children:D.jsx(Pt,{icon:T3,size:"sm"})}):null]});return Q!=null?D.jsx(Di,{content:Q,children:we}):we}xv.displayName="Link";var TS={externalLink:be({display:"inline-flex",flexShrink:0,fontSize:"0.875em",lineHeight:1})},ES=Rl({slots:["root","body","label","removeButton"],base:{root:{display:"inline-flex",alignItems:"center",gap:"1",maxW:"full",overflow:"hidden",borderWidth:0,borderRadius:"sm",fontFamily:"body",fontWeight:"medium",lineHeight:"normal",textDecoration:"none",whiteSpace:"nowrap",verticalAlign:"middle",_hover:{textDecoration:"none"}},body:{display:"inline-flex",alignItems:"center",gap:"inherit",p:0,borderWidth:0,font:"inherit",color:"inherit",bg:"transparent",cursor:"pointer",minW:0,_focusVisible:{outlineWidth:"focus",outlineStyle:"solid",outlineColor:"primary",outlineOffset:"focusOffset"}},label:{minW:0,overflow:"hidden",textOverflow:"ellipsis"},removeButton:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,p:0,borderWidth:0,borderRadius:"full",bg:"transparent",color:"inherit",cursor:"pointer",_hover:{opacity:.7},_active:{opacity:.5},_focusVisible:{outlineWidth:"focus",outlineStyle:"solid",outlineColor:"primary",outlineOffset:"focusOffset"}}},variants:{size:{sm:{root:{minH:"6",px:"2",fontSize:"sm"}},md:{root:{minH:"8",px:"2",fontSize:"sm"}},lg:{root:{minH:"10",px:"2.5",fontSize:"md"}}},color:{red:{root:{bg:"surface.red",color:"surface.red.fg",_hover:{bg:"surface.red.hover"}}},orange:{root:{bg:"surface.orange",color:"surface.orange.fg",_hover:{bg:"surface.orange.hover"}}},yellow:{root:{bg:"surface.yellow",color:"surface.yellow.fg",_hover:{bg:"surface.yellow.hover"}}},green:{root:{bg:"surface.green",color:"surface.green.fg",_hover:{bg:"surface.green.hover"}}},teal:{root:{bg:"surface.teal",color:"surface.teal.fg",_hover:{bg:"surface.teal.hover"}}},cyan:{root:{bg:"surface.cyan",color:"surface.cyan.fg",_hover:{bg:"surface.cyan.hover"}}},blue:{root:{bg:"surface.blue",color:"surface.blue.fg",_hover:{bg:"surface.blue.hover"}}},purple:{root:{bg:"surface.purple",color:"surface.purple.fg",_hover:{bg:"surface.purple.hover"}}},pink:{root:{bg:"surface.pink",color:"surface.pink.fg",_hover:{bg:"surface.pink.hover"}}},gray:{root:{bg:"surface.gray",color:"surface.gray.fg",_hover:{bg:"surface.gray.hover"}}}},isInteractive:{true:{root:{cursor:"pointer",_focusVisible:{outlineWidth:"focus",outlineStyle:"solid",outlineColor:"primary",outlineOffset:"focusOffset"}}}},isDisabled:{true:{root:{opacity:.55,cursor:"not-allowed",pointerEvents:"none"}}},isRootInteractive:{true:{root:{p:0,borderWidth:0,font:"inherit",cursor:"pointer"}}}},defaultVariants:{size:"md",color:"gray"}});function jo({endContent:n,icon:a,isLabelHidden:l,label:o,labelClassName:s,size:c="md",startContent:f}){return D.jsxs(D.Fragment,{children:[f,a!=null?D.jsx(Pt,{"aria-hidden":"true",color:"inherit",icon:a,size:c}):null,l===!0?D.jsx(Dl,{children:o}):D.jsx("span",{className:s,children:o}),n]})}function Id({className:n,isDisabled:a,label:l,onRemove:o}){return D.jsx("button",{"aria-label":`Remove ${l}`,className:n,disabled:a,onClick:s=>{s.stopPropagation(),o(s)},type:"button",children:D.jsx(Pt,{icon:lu,size:"sm"})})}function Sv({className:n,color:a="gray","data-testid":l,description:o,endContent:s,href:c,icon:f,isDisabled:v=!1,isLabelHidden:m=!1,label:h,onClick:g,onRemove:b,ref:p,size:S="md",startContent:T,style:E,tooltip:z}){const A=c!=null||g!=null,q=c==null&&g!=null&&b==null,N=ES({size:S,color:a,isInteractive:A||void 0,isDisabled:v||void 0,isRootInteractive:q||void 0}),W=He(N.root,n),Q={"aria-description":o,className:W,"data-testid":l,style:E};let P;const K={endContent:s,icon:f,isLabelHidden:m,label:h,labelClassName:N.label,size:S,startContent:T};return c!=null&&b!=null?P=D.jsxs("span",{...Q,"aria-label":h,ref:p,role:"group",children:[D.jsx(xv,{className:N.body,color:"inherit",href:c,isDisabled:v,onClick:g,children:D.jsx(jo,{...K})}),D.jsx(Id,{className:N.removeButton,isDisabled:v,label:h,onRemove:b})]}):c!=null?P=D.jsx(xv,{...Q,color:"inherit",href:c,isDisabled:v,onClick:g,ref:p,children:D.jsx(jo,{...K})}):g!=null&&b!=null?P=D.jsxs("span",{...Q,"aria-label":h,ref:p,role:"group",children:[D.jsx(Fo,{className:N.body,isDisabled:v,onClick:g,children:D.jsx(jo,{...K})}),D.jsx(Id,{className:N.removeButton,isDisabled:v,label:h,onRemove:b})]}):g!=null?P=D.jsx(Fo,{...Q,isDisabled:v,onClick:g,ref:p,children:D.jsx(jo,{...K})}):P=D.jsxs("span",{...Q,ref:p,children:[D.jsx(jo,{...K}),b!=null?D.jsx(Id,{className:N.removeButton,isDisabled:v,label:h,onRemove:b}):null]}),z!=null?D.jsx(Di,{content:z,children:P}):P}Sv.displayName="Tag";var zS=Wr({base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",fontFamily:"body",lineHeight:"none",fontWeight:"medium",whiteSpace:"nowrap"},variants:{size:{sm:{gap:"1",h:"5",px:"2",fontSize:"sm"},md:{gap:"1.5",h:"6",px:"2.5",fontSize:"sm"},lg:{gap:"2",h:"7",px:"3",fontSize:"md"}},color:{neutral:{bg:"surface.gray",color:"fg"},info:{bg:"status.info.solid",color:"status.info.solidFg"},success:{bg:"status.success.solid",color:"status.success.solidFg"},warning:{bg:"status.warning.solid",color:"status.warning.solidFg"},error:{bg:"status.error.solid",color:"status.error.solidFg"},blue:{bg:"surface.blue",color:"surface.blue.fg"},cyan:{bg:"surface.cyan",color:"surface.cyan.fg"},green:{bg:"surface.green",color:"surface.green.fg"},orange:{bg:"surface.orange",color:"surface.orange.fg"},pink:{bg:"surface.pink",color:"surface.pink.fg"},purple:{bg:"surface.purple",color:"surface.purple.fg"},red:{bg:"surface.red",color:"surface.red.fg"},teal:{bg:"surface.teal",color:"surface.teal.fg"},yellow:{bg:"surface.yellow",color:"surface.yellow.fg"}}},defaultVariants:{size:"md",color:"neutral"}});function Bp({"aria-label":n,className:a,"data-testid":l,icon:o,label:s,ref:c,role:f,size:v="md",style:m,color:h="neutral"}){return D.jsxs("span",{"aria-label":n,className:He(zS({size:v,color:h}),a),"data-testid":l,ref:c,role:f,style:m,children:[o!=null?D.jsx(Pt,{"aria-hidden":"true",color:"inherit",icon:o,size:v}):null,s]})}Bp.displayName="Badge";var rn="& > [data-silver-input-group-text]",Gc="& > :not([data-silver-input-group-text])",No="& > *",oi={error:{borderColor:"status.error.border",_focusWithin:{borderColor:"status.error.border"}},success:{borderColor:"status.success.border",_focusWithin:{borderColor:"status.success.border"}},warning:{borderColor:"status.warning.border",_focusWithin:{borderColor:"status.warning.border"}}};Wr({base:{display:"inline-flex",alignItems:"stretch",isolation:"isolate",maxW:"full",[No]:{position:"relative",borderRadius:0},[`${No}:not(:first-child)`]:{marginInlineStart:"-1px"},[`${No}:first-child`]:{borderStartStartRadius:"md",borderEndStartRadius:"md"},[`${No}:last-child`]:{borderStartEndRadius:"md",borderEndEndRadius:"md"},[`${No}:focus-within`]:{zIndex:1},[Gc]:{flex:1,minW:0,h:"full"},[rn]:{display:"inline-flex",alignItems:"center",flexShrink:0,px:"3",borderWidth:"default",borderStyle:"solid",borderColor:"border.emphasized",bg:"bg.subtle",color:"fg.muted",fontFamily:"body",fontSize:"md",lineHeight:"normal",whiteSpace:"nowrap"}},variants:{isDisabled:{false:{},true:{cursor:"not-allowed",opacity:.55}},size:{lg:{[rn]:{minH:"component.lg"}},md:{[rn]:{minH:"component.md"}},sm:{[rn]:{minH:"component.sm"}}},status:{error:{[rn]:oi.error,[Gc]:oi.error},success:{[rn]:oi.success,[Gc]:oi.success},warning:{[rn]:oi.warning,[Gc]:oi.warning}}},defaultVariants:{isDisabled:!1,size:"md"}});var Zp=B.createContext(null);Zp.displayName="InputGroupContext";function Gp(){return B.use(Zp)}var DS={units:be({color:"fg.muted",fontFamily:"body",fontSize:"sm"})};function ty(n,a){const l=n.trim();if(l===""||l==="-")return null;const o=Number(l);return!Number.isFinite(o)||a.isIntegerOnly&&!Number.isInteger(o)?null:o}function ay(n,a,l){let o=n;return a!=null&&o<a&&(o=a),l!=null&&o>l&&(o=l),o}function Vp({label:n,value:a,onChange:l,size:o="md",description:s,endContent:c,isLabelHidden:f=!1,isOptional:v,isRequired:m,isDisabled:h=!1,isIntegerOnly:g=!1,isLoading:b=!1,hasClear:p,hasAutoFocus:S=!1,htmlName:T,autoComplete:E,min:z,max:A,step:q,units:N,status:W,labelIcon:Q,labelTooltip:P,startIcon:K,placeholder:ae,onFocus:I,onBlur:le,onEnter:ne,onKeyDown:re,className:he,"data-testid":ye,style:De,ref:j}){const $=B.useId(),J=ct(s)?`${$}-description`:void 0,ve=Rv($,W),we=Av(J,ve),C=Gp(),Z=h||(C==null?void 0:C.isDisabled)===!0,ee=(C==null?void 0:C.size)??o,te=(W==null?void 0:W.type)??(C==null?void 0:C.statusType),[fe,ce]=B.useState(null),Ce=B.useMemo(()=>fe??(a==null?"":String(a)),[fe,a]),rt=Mv(v,m),Ge=D.jsxs("div",{className:He(yy({size:ee,status:te,isDisabled:Z}),C!=null?he:void 0),style:C!=null?De:void 0,children:[K!=null?D.jsx("span",{className:hi.iconSlot,children:D.jsx(Pt,{color:"secondary",icon:K,size:"sm"})}):null,D.jsx("input",{"aria-busy":b||void 0,"aria-describedby":we,"aria-invalid":(W==null?void 0:W.type)==="error"||void 0,"aria-label":C!=null?n:void 0,"aria-required":m??void 0,autoComplete:E,autoFocus:S,className:hi.control,"data-autofocus":S||void 0,"data-testid":ye,disabled:Z,id:$,max:A??void 0,min:z??void 0,name:T,onBlur:Ot=>{if(fe!=null){const gt=ty(fe,{isIntegerOnly:g});if(gt!=null){const Qa=ay(gt,z,A);Qa!==a&&l(Qa)}ce(null)}le==null||le(Ot)},onChange:Ot=>{const gt=Ot.target.value;ce(gt);const Qa=ty(gt,{isIntegerOnly:g});if(Qa!=null){const Yl=ay(Qa,z,A);Yl!==a&&l(Yl)}},onFocus:I,onKeyDown:Ot=>{Ot.key==="Enter"&&!Ot.nativeEvent.isComposing&&(ne==null||ne()),re==null||re(Ot)},placeholder:ae,ref:j,required:m??void 0,step:q??void 0,type:"number",value:Ce}),N!=null?D.jsx("span",{className:DS.units,children:N}):null,p===!0&&a!=null&&!Z?D.jsx(ur,{icon:lu,isIconOnly:!0,label:`Clear ${n}`,onClick:()=>l(null),size:"sm",variant:"ghost"}):null,c,b?D.jsx($r,{size:"sm"}):null,W!=null?D.jsx("span",{className:hi.iconSlot,children:My(W.type)}):null]});return C!=null?Ge:D.jsx(Ov,{className:he,description:s,descriptionID:J,inputId:$,isDisabled:h,isLabelHidden:f,...rt,label:n,labelIcon:Q,labelTooltip:P,status:W==null?void 0:{...W,messageID:ve},style:De,children:Ge})}Vp.displayName="NumberInput";function Tl({autoComplete:n,label:a,value:l,onChange:o,onBlur:s,onFocus:c,type:f="text",size:v="md",placeholder:m,description:h,endContent:g,isLabelHidden:b=!1,isOptional:p,isRequired:S,isDisabled:T=!1,isLoading:E=!1,hasClear:z=!1,hasAutoFocus:A=!1,htmlName:q,status:N,labelIcon:W,labelTooltip:Q,startIcon:P,onEnter:K,onKeyDown:ae,className:I,"data-testid":le,style:ne,ref:re}){const he=B.useId(),ye=ct(h)?`${he}-description`:void 0,De=Rv(he,N),j=Av(ye,De),$=Gp(),J=T||($==null?void 0:$.isDisabled)===!0,ve=($==null?void 0:$.size)??v,we=(N==null?void 0:N.type)??($==null?void 0:$.statusType),C=D.jsxs("div",{className:He(yy({size:ve,status:we,isDisabled:J}),$!=null?I:void 0),style:$!=null?ne:void 0,children:[P!=null?D.jsx("span",{className:hi.iconSlot,children:D.jsx(Pt,{color:"secondary",icon:P,size:"sm"})}):null,D.jsx("input",{"aria-busy":E||void 0,"aria-describedby":j,"aria-invalid":(N==null?void 0:N.type)==="error"||void 0,"aria-label":$!=null?a:void 0,"aria-required":S??void 0,autoComplete:n,autoFocus:A,className:hi.control,"data-autofocus":A||void 0,"data-testid":le,disabled:J,id:he,name:q,onBlur:s,onChange:Z=>o(Z.target.value,Z),onFocus:c,onKeyDown:Z=>{Z.key==="Enter"&&!Z.nativeEvent.isComposing&&(K==null||K()),ae==null||ae(Z)},placeholder:m,ref:re,required:S??void 0,type:f,value:l}),z&&l!==""&&!J?D.jsx(ur,{icon:lu,isIconOnly:!0,label:`Clear ${a}`,onClick:()=>o("",null),size:"sm",variant:"ghost"}):null,g,E?D.jsx($r,{size:"sm"}):null,N!=null?D.jsx("span",{className:hi.iconSlot,children:My(N.type)}):null]});return $!=null?C:D.jsx(Ov,{className:I,description:h,descriptionID:ye,inputId:he,isDisabled:T,isLabelHidden:b,...Mv(p,S),label:a,labelIcon:W,labelTooltip:Q,status:N==null?void 0:{...N,messageID:De},style:ne,children:C})}Tl.displayName="TextInput";var CS=Rl({slots:["root","illustration","text","actions"],base:{root:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",gap:"4",w:"full",px:"6",py:"8"},illustration:{display:"inline-flex",color:"fg.muted",w:"16",h:"16","& > svg":{w:"full",h:"full"}},text:{display:"flex",flexDirection:"column",alignItems:"center",gap:"1",maxW:"96"},actions:{display:"flex",alignItems:"center",justifyContent:"center",flexWrap:"wrap",gap:"2",mt:"1"}},variants:{isCompact:{true:{root:{gap:"2",px:"4",py:"4"},illustration:{w:"12",h:"12"},actions:{mt:"0"}},false:{}}},defaultVariants:{isCompact:!1}});function wu({actions:n,className:a,"data-testid":l,description:o,headingLevel:s=3,illustration:c,isCompact:f=!1,ref:v,style:m,title:h}){const g=B.useId(),b=CS({isCompact:f});return D.jsxs("div",{"aria-labelledby":g,className:He(b.root,a),"data-testid":l,ref:v,role:"region",style:m,children:[ct(c)?D.jsx("div",{"aria-hidden":"true",className:b.illustration,children:c}):null,D.jsxs("div",{className:b.text,children:[D.jsx(mi,{id:g,level:s,children:h}),o!=null?D.jsx(Ut,{as:"p",color:"secondary",children:o}):null]}),ct(n)?D.jsx("div",{className:b.actions,children:n}):null]})}wu.displayName="EmptyState";var _v=120;function MS(n=1,a){return{minWidth:(a==null?void 0:a.minWidth)??_v,type:"proportional",value:n}}function OS(n){let a=0,l=0;const o=[];for(const f of n){const v=f.width;if((v==null?void 0:v.type)==="pixel")l+=v.value;else{const m=(v==null?void 0:v.value)??1,h=v==null?0:v.minWidth??_v;a+=m,o.push({key:f.key,minWidth:h,proportion:m})}}let s=0;if(a>0)for(const f of o)s=Math.max(s,f.minWidth*a/f.proportion);const c=new Map;for(const f of n){const v=f.width,m={};if((v==null?void 0:v.type)==="pixel")m.minWidth=`${v.value}px`,m.width=`${v.value}px`;else{const h=(v==null?void 0:v.value)??1;a>0&&(m.width=`${h/a*100}%`),v!=null&&(m.minWidth=`${v.minWidth??_v}px`)}c.set(f.key,{style:m})}return{columns:c,tableMinWidth:l+s}}function AS(n){return n.length===0?n:n.charAt(0).toUpperCase()+n.slice(1)}function RS(n,a){const l=n[a];return l==null?"":l instanceof ui.Instant||l instanceof ui.PlainDate||l instanceof ui.PlainDateTime||l instanceof ui.PlainTime||l instanceof ui.ZonedDateTime?l.toString():typeof l=="bigint"||typeof l=="boolean"||typeof l=="number"||typeof l=="string"?String(l):""}function jS(n){return n==null?0:typeof n=="boolean"||typeof n=="number"||typeof n=="string"?String(n).length:0}function NS(n){return n==null||typeof n!="boolean"&&typeof n!="number"&&typeof n!="string"?0:String(n).split(/\s+/).reduce((a,l)=>Math.max(a,l.length),0)}function US(n){if(n.length===0)return[];const a=n.slice(0,Math.min(5,n.length));return Object.keys(n[0]).map(l=>{const o=AS(l);let s=o.length,c=o.length;for(const m of a)s=Math.max(s,jS(m[l])),c=Math.max(c,NS(m[l]));const f=s<=6?1:s<=15?2:3,v=Math.max(Math.max(o.length,c)*8,60);return{header:o,key:l,width:MS(f,{minWidth:v})}})}var xu=Rl({slots:["wrapper","table","headerLabelRow","row","cell","headerCell"],base:{wrapper:{overflowX:"auto",WebkitOverflowScrolling:"touch"},table:{color:"fg",fontFamily:"body",w:"full",borderCollapse:"collapse",borderSpacing:0,tableLayout:"fixed"},headerLabelRow:{display:"inline-flex",alignItems:"center",gap:"1",minW:0},row:{transitionDuration:"fast",transitionProperty:"background-color",transitionTimingFunction:"default"},cell:{maxWidth:0},headerCell:{color:"fg.muted",fontWeight:"semibold",maxWidth:0,overflow:"hidden",textAlign:"start",textOverflow:"ellipsis",whiteSpace:"nowrap",borderBottomWidth:"default",borderBottomStyle:"solid",borderBottomColor:"border"}},variants:{density:{balanced:{cell:{fontSize:"md",px:"3",py:"2"},headerCell:{fontSize:"md",px:"3",py:"2"}},compact:{cell:{fontSize:"md",px:"2",py:"1"},headerCell:{fontSize:"md",px:"2",py:"1"}},spacious:{cell:{fontSize:"md",px:"4",py:"3"},headerCell:{fontSize:"md",px:"4",py:"3"}}},dividers:{none:{},rows:{cell:{borderBottomWidth:"default",borderBottomStyle:"solid",borderBottomColor:"border","tbody > tr:last-child > &":{borderBottomWidth:0}}},columns:{cell:{borderInlineEndWidth:"default",borderInlineEndStyle:"solid",borderInlineEndColor:"border",_last:{borderInlineEndWidth:0}},headerCell:{borderInlineEndWidth:"default",borderInlineEndStyle:"solid",borderInlineEndColor:"border",_last:{borderInlineEndWidth:0}}},grid:{cell:{borderBottomWidth:"default",borderBottomStyle:"solid",borderBottomColor:"border","tbody > tr:last-child > &":{borderBottomWidth:0},borderInlineEndWidth:"default",borderInlineEndStyle:"solid",borderInlineEndColor:"border",_last:{borderInlineEndWidth:0}},headerCell:{borderInlineEndWidth:"default",borderInlineEndStyle:"solid",borderInlineEndColor:"border",_last:{borderInlineEndWidth:0}}}},verticalAlign:{middle:{cell:{verticalAlign:"middle"}},top:{cell:{verticalAlign:"top"}},bottom:{cell:{verticalAlign:"bottom"}}},textOverflow:{truncate:{cell:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},wrap:{cell:{overflow:"hidden",overflowWrap:"break-word",whiteSpace:"normal",wordBreak:"break-word"}}},isStriped:{true:{},false:{}},hasHover:{true:{},false:{}},isAutoLayout:{true:{table:{tableLayout:"auto"}},false:{}}},compoundVariants:[{isStriped:!1,hasHover:!0,css:{row:{_hover:{"@media (hover: hover)":{bg:"bg.subtle"}}}}},{isStriped:!0,hasHover:!1,css:{row:{_even:{bg:"bg.subtle"}}}},{isStriped:!0,hasHover:!0,css:{row:{_even:{bg:"bg.subtle"},_hover:{"@media (hover: hover)":{bg:"bg.hover"}}}}}],defaultVariants:{density:"balanced",dividers:"rows",verticalAlign:"middle",textOverflow:"wrap",isStriped:!1,hasHover:!1,isAutoLayout:!1}});function Xp({children:n,className:a,"data-testid":l,ref:o,style:s}){return D.jsx("tbody",{className:a,"data-testid":l,ref:o,style:s,children:n})}Xp.displayName="TableBody";var eh=B.createContext(null);eh.displayName="TableContext";function th(){return B.use(eh)}function $p({children:n,className:a,colSpan:l,"data-testid":o,headers:s,ref:c,rowSpan:f,style:v}){const m=th(),h=xu({density:m==null?void 0:m.density,dividers:m==null?void 0:m.dividers,textOverflow:m==null?void 0:m.textOverflow,verticalAlign:m==null?void 0:m.verticalAlign});return D.jsx("td",{className:He(h.cell,a),colSpan:l,"data-part":"cell","data-testid":o,headers:s,ref:c,rowSpan:f,style:v,children:n})}$p.displayName="TableCell";function Qp({children:n,className:a,"data-testid":l,ref:o,style:s}){return D.jsx("thead",{className:a,"data-testid":l,ref:o,style:s,children:n})}Qp.displayName="TableHeader";function Wp({children:n,className:a,"data-testid":l,ref:o,scope:s="col",style:c}){const f=th(),v=xu({density:f==null?void 0:f.density,dividers:f==null?void 0:f.dividers});return D.jsx("th",{className:He(v.headerCell,a),"data-part":"header-cell","data-testid":l,ref:o,scope:s,style:c,children:n})}Wp.displayName="TableHeaderCell";function Kp({children:n,className:a,"data-testid":l,ref:o,style:s}){const c=th(),f=xu({isStriped:c==null?void 0:c.isStriped,hasHover:c==null?void 0:c.hasHover});return D.jsx("tr",{className:He(f.row,a),"data-part":"row","data-testid":l,ref:o,style:s,children:n})}Kp.displayName="TableRow";var Fp=["columnSettings","sort","selection","filtering","columnResize","pagination"],YS=new Set(Fp);function kS(n){const a=Object.entries(n),l=new Map(a),o=Fp.filter(c=>l.has(c)).map(c=>l.get(c)),s=a.filter(([c])=>!YS.has(c)).map(([,c])=>c);return[...o,...s]}function HS(n){return B.useMemo(()=>Array.isArray(n)?n:kS(n??{}),[n])}function LS(n,a){if(Object.is(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;const l=Object.keys(n),o=Object.keys(a);if(l.length!==o.length)return!1;const s=n,c=a;for(const f of l)if(!Object.prototype.hasOwnProperty.call(a,f)||!Object.is(s[f],c[f]))return!1;return!0}var qS=n=>{const a=B.useRef(n);return LS(a.current,n)||(a.current=n),a.current},BS=qS;function vi(n,a,l,...o){return n.reduce((s,c,f)=>{const v=a(c);if(v==null)return s;try{return v(s,...o)}catch(m){return console.error(`[Table] Plugin at index ${f} threw:`,m),s}},l)}function ZS({CellComponent:n,RowComponent:a,columns:l,item:o,plugins:s,rowIndex:c,rowKey:f,textOverflow:v}){const m=l.map(g=>{var z;const b={};g.align&&(b.style={textAlign:g.align});const p=vi(s,A=>A.transformBodyCell,{htmlProps:b},g,o),S=g.renderCell==null,T=S?RS(o,g.key):((z=g.renderCell)==null?void 0:z.call(g,o))??null,E=S&&v==="truncate"&&typeof T=="string"&&T.length>0?D.jsx(Ut,{maxLines:1,type:"body",children:T}):T;return D.jsx(n,{...p.htmlProps,className:He(p.htmlProps.className,p.className),children:E},g.key)}),h=vi(s,g=>g.transformBodyRow,{children:D.jsx(D.Fragment,{children:m}),htmlProps:{}},o,c);return D.jsx(a,{...h.htmlProps,className:He(h.htmlProps.className,h.className),ref:h.ref,children:h.children},f)}function GS(n,a){return n.CellComponent!==a.CellComponent||n.RowComponent!==a.RowComponent||n.columns!==a.columns||n.plugins!==a.plugins||n.rowIndex!==a.rowIndex||n.rowKey!==a.rowKey||n.textOverflow!==a.textOverflow?!1:n.item===a.item?!0:Object.keys(a.item).every(l=>n.item[l]===a.item[l])}var VS=B.memo(ZS,GS);function XS({children:n,className:a,columns:l,data:o,"data-testid":s,density:c="balanced",dividers:f="rows",emptyState:v,hasHover:m=!1,idKey:h,isStriped:g=!1,plugins:b,ref:p,style:S,tableProps:T,textOverflow:E="wrap",verticalAlign:z="middle"}){const A=HS(b),q=B.useMemo(()=>({density:c,dividers:f,hasHover:m,isStriped:g,textOverflow:E,verticalAlign:z}),[c,f,m,g,E,z]),N=xu({isAutoLayout:ct(n)}),W=Kp,Q=$p,P=Wp,K=l??(o==null?[]:US(o)),ae=vi(A,J=>J.transformColumns,K),I=BS(ae),le=OS(I),ne=vi(A,J=>J.transformTable,{htmlProps:T??{}}),re=I.map(J=>{var rt;const ve=J.header??J.key,we={"data-column-key":J.key};J.align&&(we.style={textAlign:J.align});const C=vi(A,Ge=>Ge.transformHeaderCell,{content:ve,htmlProps:we},J),ee={...((rt=le.columns.get(J.key))==null?void 0:rt.style)??{},...C.htmlProps.style},te=C.content??ve,fe=typeof te=="string"&&te.length>0?te:void 0,ce=typeof te=="string"||typeof te=="number"?D.jsx(Ut,{color:"secondary",maxLines:1,size:"md",type:"body",weight:"semibold",children:te}):te,Ce=ct(C.before)||ct(C.after)||ct(C.overlay)||ct(C.below);return D.jsx(P,{...C.htmlProps,className:He(C.htmlProps.className,C.className),style:ee,title:fe,children:Ce?D.jsxs(D.Fragment,{children:[C.before,ct(C.after)?D.jsxs("div",{className:N.headerLabelRow,"data-part":"header-label-row",children:[ce,C.after]}):ce,C.overlay,C.below]}):ce},J.key)}),he=vi(A,J=>J.transformHeaderRow,{children:D.jsx(D.Fragment,{children:re}),htmlProps:{}}),ye={...S,...ne.htmlProps.style,minWidth:le.tableMinWidth>0?`${le.tableMinWidth}px`:void 0},De=o!=null&&o.length>0,j=I.length>0;let $=D.jsx("div",{className:N.wrapper,"data-part":"wrapper",children:D.jsx("table",{...ne.htmlProps,className:He(N.table,ne.htmlProps.className,ne.className,a),"data-part":"table","data-testid":s,ref:p,style:ye,children:n??D.jsxs(D.Fragment,{children:[j?D.jsx(Qp,{children:D.jsx(W,{...he.htmlProps,className:He(he.htmlProps.className,he.className),children:he.children})}):null,D.jsx(Xp,{children:De?o.map((J,ve)=>{const we=h==null?ve:typeof h=="function"?h(J):String(J[h]);return D.jsx(VS,{CellComponent:Q,columns:I,item:J,plugins:A,RowComponent:W,rowIndex:ve,rowKey:we,textOverflow:E},we)}):o!=null&&(v===void 0||ct(v))&&D.jsx("tr",{children:D.jsx("td",{colSpan:Math.max(I.length,1),children:v??D.jsx(wu,{isCompact:!0,title:"No data"})})})})]})})});for(let J=A.length-1;J>=0;J--){const ve=A[J];if(ve.transformTableContext!=null)try{$=ve.transformTableContext($)}catch(we){console.error("[Table] Plugin threw in transformTableContext:",we)}}return D.jsx(eh,{value:q,children:$})}var ah=XS;ah.displayName="Table";be({position:"absolute",insetInlineEnd:0,top:0,bottom:0,zIndex:1,w:"4",cursor:"ew-resize",borderWidth:0,bg:"transparent",p:0,touchAction:"none",userSelect:"none",_after:{content:'""',position:"absolute",insetInlineEnd:0,top:0,bottom:0,w:"2px",bg:"transparent",transitionDuration:"fast",transitionProperty:"background-color, width",transitionTimingFunction:"default"},_focusVisible:{outlineWidth:"focus",outlineStyle:"solid",outlineColor:"primary",outlineOffset:"focusOffset"},_hover:{_after:{bg:"primary"}},"@media (pointer: coarse)":{display:"none"}}),be({overflow:"visible",position:"relative"});var $S=B.createContext(null);$S.displayName="TableFilterStoreContext";be({display:"inline-flex",alignItems:"center",flexShrink:0}),be({mt:"1"}),be({display:"flex",justifyContent:"flex-end",gap:"2",mt:"2"}),be({flex:1}),be({w:"60"});be({justifyContent:"center"}),be({justifyContent:"flex-end"}),be({justifyContent:"flex-start"}),be({mt:"2"}),be({display:"flex"}),be({mb:"2"});be({display:"flex",alignItems:"center",justifyContent:"center"}),be({bg:"bg.selected"});var QS=B.createContext(null);QS.displayName="TableSelectionStoreContext";be({display:"flex",alignItems:"center",gap:"1",w:"full",h:"full",p:0,m:0,borderWidth:0,borderRadius:"sm",bg:"transparent",color:"inherit",cursor:"pointer",font:"inherit",textAlign:"inherit",_focusVisible:{outlineWidth:"focus",outlineStyle:"solid",outlineColor:"primary",outlineOffset:"focusOffset"},'&:is(:hover, [data-hover]) [data-table-sort-icon-state="inactive"], &:is(:focus-visible, [data-focus-visible]) [data-table-sort-icon-state="inactive"]':{opacity:1}}),be({display:"inline-flex",flexShrink:0,color:"fg.muted"}),be({opacity:.35}),be({color:"primary"}),be({minW:0,overflow:"hidden",textOverflow:"ellipsis"}),be({color:"primary",fontSize:"2xs",lineHeight:1});function Ip({className:n,"data-testid":a,isDisabled:l=!1,isOptional:o,isRequired:s,ref:c,style:f,...v}){const[m,h]=B.useState(!1),g=B.useCallback(()=>h(b=>!b),[]);return D.jsx(Tl,{...v,...Mv(o,s),className:n,"data-testid":a,endContent:D.jsx(ur,{icon:m?z3:C3,isDisabled:l,isIconOnly:!0,label:m?"Hide password":"Show password",onClick:g,size:"sm",variant:"ghost"}),isDisabled:l,ref:c,style:f,type:m?"text":"password"})}Ip.displayName="PasswordInput";async function Ur(n,a){const l=await fetch(`/api${n}`,{headers:{"Content-Type":"application/json"},...a}),o=await l.text(),s=o?JSON.parse(o):null;if(!l.ok)throw new Error((s==null?void 0:s.error)??`Request failed (${l.status})`);return s}const Br={listArtists:()=>Ur("/artists"),searchArtists:n=>Ur(`/artists/search?q=${encodeURIComponent(n)}`),addArtist:n=>Ur("/artists",{method:"POST",body:JSON.stringify(n)}),removeArtist:n=>Ur(`/artists/${encodeURIComponent(n)}`,{method:"DELETE"}),listReleases:()=>Ur("/releases"),refresh:()=>Ur("/refresh",{method:"POST"}),getSettings:()=>Ur("/settings"),saveSettings:n=>Ur("/settings",{method:"PUT",body:JSON.stringify(n)}),testEmail:n=>Ur("/settings/test-email",{method:"POST",body:JSON.stringify(n)})};function WS(){const n=Jv(),[a,l]=B.useState([]),[o,s]=B.useState(!0),[c,f]=B.useState(""),[v,m]=B.useState([]),[h,g]=B.useState(!1),b=B.useRef(null);async function p(){l(await Br.listArtists()),s(!1)}B.useEffect(()=>{p()},[]),B.useEffect(()=>{b.current&&clearTimeout(b.current);const z=c.trim();if(z.length<2){m([]);return}return b.current=setTimeout(async()=>{g(!0);try{m(await Br.searchArtists(z))}catch(A){n({type:"error",body:Pd(A)})}finally{g(!1)}},350),()=>{b.current&&clearTimeout(b.current)}},[c,n]);async function S(z){try{const{added:A}=await Br.addArtist({mbid:z.mbid,name:z.name,sortName:z.sortName,disambiguation:z.disambiguation});n({type:A?"success":"info",body:A?`Added ${z.name}.`:`${z.name} is already tracked.`}),f(""),m([]),await p()}catch(A){n({type:"error",body:Pd(A)})}}async function T(z){try{await Br.removeArtist(z.mbid),n({type:"success",body:`Removed ${z.name}.`}),await p()}catch(A){n({type:"error",body:Pd(A)})}}const E=[{key:"name",header:"Artist",renderCell:z=>D.jsxs("span",{children:[z.name,z.disambiguation?D.jsxs(Ut,{color:"secondary",children:[" — ",z.disambiguation]}):null]})},{key:"actions",header:"",align:"end",renderCell:z=>D.jsx(ur,{label:"Remove",variant:"ghost",size:"sm",onClick:()=>T(z)})}];return D.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[D.jsxs("section",{children:[D.jsx(Tl,{label:"Add an artist",placeholder:"Search MusicBrainz by name…",value:c,onChange:z=>f(z),isLoading:h,hasClear:!0}),v.length>0&&D.jsx("div",{style:{marginTop:8,border:"1px solid var(--silver-color-border, #ddd)",borderRadius:8,overflow:"hidden"},children:v.map(z=>D.jsxs("button",{onClick:()=>S(z),style:{display:"flex",width:"100%",justifyContent:"space-between",alignItems:"center",gap:8,padding:"8px 12px",background:"none",border:"none",borderBottom:"1px solid var(--silver-color-border, #eee)",cursor:"pointer",textAlign:"left"},children:[D.jsxs("span",{children:[D.jsx("strong",{children:z.name}),z.disambiguation?D.jsxs(Ut,{color:"secondary",children:[" — ",z.disambiguation]}):null]}),D.jsxs("span",{style:{display:"flex",gap:6},children:[z.type?D.jsx(Sv,{label:z.type,color:"gray",size:"sm"}):null,z.country?D.jsx(Sv,{label:z.country,color:"blue",size:"sm"}):null]})]},z.mbid))})]}),D.jsx("section",{children:o?D.jsx($r,{label:"Loading artists…"}):a.length===0?D.jsx(wu,{title:"No artists yet",description:"Search above to start tracking an artist."}):D.jsx(ah,{columns:E,data:a})})]})}function Pd(n){return n instanceof Error?n.message:String(n)}function KS(){const n=Jv(),[a,l]=B.useState([]),[o,s]=B.useState(!0),[c,f]=B.useState(!1);async function v(){l(await Br.listReleases()),s(!1)}B.useEffect(()=>{v()},[]);async function m(){f(!0);try{const g=await Br.refresh();await v(),n({type:g.newCount>0?"success":"info",body:g.newCount>0?`Found ${g.newCount} new release${g.newCount===1?"":"s"}.`:`No new releases (scanned ${g.scannedArtists}).`}),g.errors.length>0&&n({type:"warning",body:`${g.errors.length} artist(s) failed to refresh.`})}catch(g){n({type:"error",body:g instanceof Error?g.message:String(g)})}finally{f(!1)}}const h=[{key:"title",header:"Release",renderCell:g=>D.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:8},children:[D.jsx("strong",{children:g.title}),g.isNew?D.jsx(Bp,{label:"New",color:"success"}):null]})},{key:"artistName",header:"Artist",renderCell:g=>g.artistName},{key:"type",header:"Type",renderCell:g=>[g.primaryType,g.secondaryTypes].filter(Boolean).join(" / ")||"—"},{key:"date",header:"Released",align:"end",renderCell:g=>g.firstReleaseDate??"—"}];return D.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[D.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[D.jsxs(Ut,{color:"secondary",children:[a.length," release",a.length===1?"":"s"," tracked"]}),D.jsx(ur,{label:"Refresh",variant:"primary",isLoading:c,onClick:m})]}),o?D.jsx($r,{label:"Loading releases…"}):a.length===0?D.jsx(wu,{title:"No releases yet",description:"Add some artists, then hit Refresh to pull their releases from MusicBrainz."}):D.jsx(ah,{columns:h,data:a})]})}function FS(){const n=Jv(),[a,l]=B.useState(null),[o,s]=B.useState(!1),[c,f]=B.useState(!1);if(B.useEffect(()=>{Br.getSettings().then(l)},[]),!a)return D.jsx($r,{label:"Loading settings…"});const v=!!(a.smtp.host&&a.smtp.user&&a.smtp.to);function m(p){l(S=>S&&{...S,notify:{...S.notify,...p}})}function h(p){l(S=>S&&{...S,smtp:{...S.smtp,...p}})}async function g(){if(a){s(!0);try{l(await Br.saveSettings(a)),n({type:"success",body:"Settings saved."})}catch(p){n({type:"error",body:ry(p)})}finally{s(!1)}}}async function b(){if(a){f(!0);try{await Br.testEmail(a),n({type:"success",body:"Test email sent."})}catch(p){n({type:"error",body:ry(p)})}finally{f(!1)}}}return D.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:28,maxWidth:520},children:[D.jsxs("section",{style:{display:"flex",flexDirection:"column",gap:12},children:[D.jsx(mi,{level:2,children:"Notifications"}),D.jsx(Go,{label:"In-page “New” badges",isSelected:a.notify.inPage,onChange:p=>m({inPage:p})}),D.jsx(Go,{label:"Desktop notifications",isSelected:a.notify.desktop,onChange:p=>m({desktop:p})}),D.jsx(Go,{label:"Email notifications",description:v?void 0:"Configure SMTP below to enable email.",isSelected:a.notify.email,isDisabled:!v,onChange:p=>m({email:p})})]}),D.jsxs("section",{style:{display:"flex",flexDirection:"column",gap:12},children:[D.jsx(mi,{level:2,children:"Email (SMTP)"}),D.jsx(Ut,{color:"secondary",children:"Credentials are stored locally on this machine."}),D.jsx(Tl,{label:"SMTP host",value:a.smtp.host,onChange:p=>h({host:p}),placeholder:"smtp.example.com"}),D.jsx(Vp,{label:"Port",value:a.smtp.port,onChange:p=>h({port:p??587}),min:1,max:65535,isIntegerOnly:!0}),D.jsx(Go,{label:"Use TLS (secure)",isSelected:a.smtp.secure,onChange:p=>h({secure:p})}),D.jsx(Tl,{label:"Username",value:a.smtp.user,onChange:p=>h({user:p}),autoComplete:"off"}),D.jsx(Ip,{label:"Password",value:a.smtp.pass,onChange:p=>h({pass:p})}),D.jsx(Tl,{label:"From address",value:a.smtp.from,onChange:p=>h({from:p}),placeholder:"notifier@example.com"}),D.jsx(Tl,{label:"Send notifications to",value:a.smtp.to,onChange:p=>h({to:p}),placeholder:"you@example.com"})]}),D.jsxs("section",{style:{display:"flex",flexDirection:"column",gap:12},children:[D.jsx(mi,{level:2,children:"MusicBrainz"}),D.jsx(Tl,{label:"Contact (for the MusicBrainz API User-Agent)",description:"An email or URL, per MusicBrainz API etiquette.",value:a.musicbrainz.contact,onChange:p=>l(S=>S&&{...S,musicbrainz:{contact:p}})})]}),D.jsxs("div",{style:{display:"flex",gap:8},children:[D.jsx(ur,{label:"Save settings",variant:"primary",isLoading:o,onClick:g}),D.jsx(ur,{label:"Send test email",variant:"secondary",isLoading:c,isDisabled:!v,onClick:b})]})]})}function ry(n){return n instanceof Error?n.message:String(n)}const IS=[{id:"releases",label:"Releases"},{id:"artists",label:"Artists"},{id:"settings",label:"Settings"}];function PS(){const[n,a]=B.useState("releases");return D.jsxs("div",{style:{maxWidth:960,margin:"0 auto",padding:"24px 16px"},children:[D.jsxs("header",{style:{marginBottom:8},children:[D.jsx(mi,{level:1,children:"Silver Music Notifier"}),D.jsx(Ut,{color:"secondary",children:"New releases from the artists you follow."})]}),D.jsx("nav",{style:{display:"flex",gap:8,margin:"16px 0 24px"},children:IS.map(l=>D.jsx(ur,{label:l.label,variant:n===l.id?"primary":"ghost",onClick:()=>a(l.id)},l.id))}),D.jsxs("main",{children:[n==="releases"&&D.jsx(KS,{}),n==="artists"&&D.jsx(WS,{}),n==="settings"&&D.jsx(FS,{})]})]})}Mw.createRoot(document.getElementById("root")).render(D.jsx(B.StrictMode,{children:D.jsxs(Oy,{children:[D.jsx(PS,{}),D.jsx(qp,{position:"bottomEnd"})]})}));
|