From 3663e800e03c065ddcb9ad29037bf29702185764 Mon Sep 17 00:00:00 2001
From: Jens Scheffler <jscheffl@apache.org>
Date: Tue, 23 Sep 2025 23:59:16 +0200
Subject: [PATCH 1/2] Bump Edge UI packages after dependabot triaging

---
 .../edge3/openapi/v2-edge-generated.yaml      |   40 +-
 .../edge3/plugins/www/dist/main.umd.cjs       |   56 +-
 .../www/openapi-gen/requests/services.gen.ts  |   20 +-
 .../www/openapi-gen/requests/types.gen.ts     |   40 +-
 .../providers/edge3/plugins/www/package.json  |   40 +-
 .../edge3/plugins/www/pnpm-lock.yaml          | 2697 ++++++++---------
 .../plugins/www/src/components/ui/Alert.tsx   |    1 -
 .../providers/edge3/plugins/www/src/theme.ts  |    1 -
 providers/edge3/www-hash.txt                  |    2 +-
 9 files changed, 1430 insertions(+), 1467 deletions(-)

diff --git a/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml b/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml
index c88465279b645..abfb61f1a54be 100644
--- a/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml
+++ b/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml
@@ -142,7 +142,9 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema: {}
+              schema:
+                type: 'null'
+                title: Response State
         '400':
           content:
             application/json:
@@ -317,7 +319,9 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema: {}
+              schema:
+                type: 'null'
+                title: Response Push Logs
         '400':
           content:
             application/json:
@@ -510,7 +514,9 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema: {}
+              schema:
+                type: 'null'
+                title: Response Update Queues
         '400':
           content:
             application/json:
@@ -608,7 +614,9 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema: {}
+              schema:
+                type: 'null'
+                title: Response Request Worker Maintenance
         '422':
           description: Validation Error
           content:
@@ -642,7 +650,9 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema: {}
+              schema:
+                type: 'null'
+                title: Response Update Worker Maintenance
         '422':
           description: Validation Error
           content:
@@ -670,7 +680,9 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema: {}
+              schema:
+                type: 'null'
+                title: Response Exit Worker Maintenance
         '422':
           description: Validation Error
           content:
@@ -699,7 +711,9 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema: {}
+              schema:
+                type: 'null'
+                title: Response Request Worker Shutdown
         '422':
           description: Validation Error
           content:
@@ -728,7 +742,9 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema: {}
+              schema:
+                type: 'null'
+                title: Response Delete Worker
         '422':
           description: Validation Error
           content:
@@ -763,7 +779,9 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema: {}
+              schema:
+                type: 'null'
+                title: Response Add Worker Queue
         '422':
           description: Validation Error
           content:
@@ -797,7 +815,9 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema: {}
+              schema:
+                type: 'null'
+                title: Response Remove Worker Queue
         '422':
           description: Validation Error
           content:
diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/www/dist/main.umd.cjs b/providers/edge3/src/airflow/providers/edge3/plugins/www/dist/main.umd.cjs
index fab4e130f3c82..8b7bfaadd0b76 100644
--- a/providers/edge3/src/airflow/providers/edge3/plugins/www/dist/main.umd.cjs
+++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/dist/main.umd.cjs
@@ -1,4 +1,4 @@
-(function(P,Tt){typeof exports=="object"&&typeof module<"u"?module.exports=Tt(require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["react","react-dom"],Tt):(P=typeof globalThis<"u"?globalThis:P||self,P.AirflowPlugin=Tt(P.React,P.ReactDOM))})(this,(function(P,Tt){"use strict";function gp(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const O=gp(P);function pp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wi={exports:{}},ur={};/**
+(function(P,Ft){typeof exports=="object"&&typeof module<"u"?module.exports=Ft(require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["react","react-dom"],Ft):(P=typeof globalThis<"u"?globalThis:P||self,P.AirflowPlugin=Ft(P.React,P.ReactDOM))})(this,(function(P,Ft){"use strict";function Sp(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const C=Sp(P);function Ep(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qi={exports:{}},hr={};/**
  * @license React
  * react-jsx-runtime.production.js
  *
@@ -6,28 +6,28 @@
  *
  * This source code is licensed under the MIT license found in the
  * LICENSE file in the root directory of this source tree.
- */var al;function mp(){if(al)return ur;al=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,o,i){var s=null;if(i!==void 0&&(s=""+i),o.key!==void 0&&(s=""+o.key),"key"in o){i={};for(var a in o)a!=="key"&&(i[a]=o[a])}else i=o;return o=i.ref,{$$typeof:e,type:r,key:s,ref:o!==void 0?o:null,props:i}}return ur.Fragment=t,ur.jsx=n,ur.jsxs=n,ur}var ll;function vp(){return ll||(ll=1,Wi.exports=mp()),Wi.exports}var f=vp();function cl(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var bp=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,yp=cl(function(e){return bp.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function xp(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function kp(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Cp=(function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(kp(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=xp(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e})(),Pe="-ms-",eo="-moz-",Y="-webkit-",ul="comm",Hi="rule",Ui="decl",Sp="@import",dl="@keyframes",wp="@layer",Ep=Math.abs,to=String.fromCharCode,Op=Object.assign;function Pp(e,t){return Se(e,0)^45?(((t<<2^Se(e,0))<<2^Se(e,1))<<2^Se(e,2))<<2^Se(e,3):0}function hl(e){return e.trim()}function Ip(e,t){return(e=t.exec(e))?e[0]:e}function X(e,t,n){return e.replace(t,n)}function Gi(e,t){return e.indexOf(t)}function Se(e,t){return e.charCodeAt(t)|0}function dr(e,t,n){return e.slice(t,n)}function it(e){return e.length}function qi(e){return e.length}function no(e,t){return t.push(e),e}function Rp(e,t){return e.map(t).join("")}var ro=1,Tn=1,fl=0,Ae=0,ue=0,Nn="";function oo(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:ro,column:Tn,length:s,return:""}}function hr(e,t){return Op(oo("",null,null,"",null,null,0),e,{length:-e.length},t)}function Tp(){return ue}function Np(){return ue=Ae>0?Se(Nn,--Ae):0,Tn--,ue===10&&(Tn=1,ro--),ue}function je(){return ue=Ae<fl?Se(Nn,Ae++):0,Tn++,ue===10&&(Tn=1,ro++),ue}function st(){return Se(Nn,Ae)}function io(){return Ae}function fr(e,t){return dr(Nn,e,t)}function gr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function gl(e){return ro=Tn=1,fl=it(Nn=e),Ae=0,[]}function pl(e){return Nn="",e}function so(e){return hl(fr(Ae-1,Ki(e===91?e+2:e===40?e+1:e)))}function Ap(e){for(;(ue=st())&&ue<33;)je();return gr(e)>2||gr(ue)>3?"":" "}function _p(e,t){for(;--t&&je()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return fr(e,io()+(t<6&&st()==32&&je()==32))}function Ki(e){for(;je();)switch(ue){case e:return Ae;case 34:case 39:e!==34&&e!==39&&Ki(ue);break;case 40:e===41&&Ki(e);break;case 92:je();break}return Ae}function Vp(e,t){for(;je()&&e+ue!==57;)if(e+ue===84&&st()===47)break;return"/*"+fr(t,Ae-1)+"*"+to(e===47?e:je())}function Fp(e){for(;!gr(st());)je();return fr(e,Ae)}function Lp(e){return pl(ao("",null,null,null,[""],e=gl(e),0,[0],e))}function ao(e,t,n,r,o,i,s,a,l){for(var c=0,u=0,d=s,h=0,m=0,g=0,p=1,v=1,y=1,x=0,b="",C=o,k=i,E=r,I=b;v;)switch(g=x,x=je()){case 40:if(g!=108&&Se(I,d-1)==58){Gi(I+=X(so(x),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:I+=so(x);break;case 9:case 10:case 13:case 32:I+=Ap(g);break;case 92:I+=_p(io()-1,7);continue;case 47:switch(st()){case 42:case 47:no(Dp(Vp(je(),io()),t,n),l);break;default:I+="/"}break;case 123*p:a[c++]=it(I)*y;case 125*p:case 59:case 0:switch(x){case 0:case 125:v=0;case 59+u:y==-1&&(I=X(I,/\f/g,"")),m>0&&it(I)-d&&no(m>32?vl(I+";",r,n,d-1):vl(X(I," ","")+";",r,n,d-2),l);break;case 59:I+=";";default:if(no(E=ml(I,t,n,c,u,o,a,b,C=[],k=[],d),i),x===123)if(u===0)ao(I,t,E,E,C,i,d,a,k);else switch(h===99&&Se(I,3)===110?100:h){case 100:case 108:case 109:case 115:ao(e,E,E,r&&no(ml(e,E,E,0,0,o,a,b,o,C=[],d),k),o,k,d,a,r?C:k);break;default:ao(I,E,E,E,[""],k,0,a,k)}}c=u=m=0,p=y=1,b=I="",d=s;break;case 58:d=1+it(I),m=g;default:if(p<1){if(x==123)--p;else if(x==125&&p++==0&&Np()==125)continue}switch(I+=to(x),x*p){case 38:y=u>0?1:(I+="\f",-1);break;case 44:a[c++]=(it(I)-1)*y,y=1;break;case 64:st()===45&&(I+=so(je())),h=st(),u=d=it(b=I+=Fp(io())),x++;break;case 45:g===45&&it(I)==2&&(p=0)}}return i}function ml(e,t,n,r,o,i,s,a,l,c,u){for(var d=o-1,h=o===0?i:[""],m=qi(h),g=0,p=0,v=0;g<r;++g)for(var y=0,x=dr(e,d+1,d=Ep(p=s[g])),b=e;y<m;++y)(b=hl(p>0?h[y]+" "+x:X(x,/&\f/g,h[y])))&&(l[v++]=b);return oo(e,t,n,o===0?Hi:a,l,c,u)}function Dp(e,t,n){return oo(e,t,n,ul,to(Tp()),dr(e,2,-2),0)}function vl(e,t,n,r){return oo(e,t,n,Ui,dr(e,0,r),dr(e,r+1,-1),r)}function An(e,t){for(var n="",r=qi(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function zp(e,t,n,r){switch(e.type){case wp:if(e.children.length)break;case Sp:case Ui:return e.return=e.return||e.value;case ul:return"";case dl:return e.return=e.value+"{"+An(e.children,r)+"}";case Hi:e.value=e.props.join(",")}return it(n=An(e.children,r))?e.return=e.value+"{"+n+"}":""}function Mp(e){var t=qi(e);return function(n,r,o,i){for(var s="",a=0;a<t;a++)s+=e[a](n,r,o,i)||"";return s}}function jp(e){return function(t){t.root||(t=t.return)&&e(t)}}var $p=function(t,n,r){for(var o=0,i=0;o=i,i=st(),o===38&&i===12&&(n[r]=1),!gr(i);)je();return fr(t,Ae)},Bp=function(t,n){var r=-1,o=44;do switch(gr(o)){case 0:o===38&&st()===12&&(n[r]=1),t[r]+=$p(Ae-1,n,r);break;case 2:t[r]+=so(o);break;case 4:if(o===44){t[++r]=st()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=to(o)}while(o=je());return t},Wp=function(t,n){return pl(Bp(gl(t),n))},bl=new WeakMap,Hp=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!bl.get(r))&&!o){bl.set(t,!0);for(var i=[],s=Wp(n,i),a=r.props,l=0,c=0;l<s.length;l++)for(var u=0;u<a.length;u++,c++)t.props[c]=i[l]?s[l].replace(/&\f/g,a[u]):a[u]+" "+s[l]}}},Up=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function yl(e,t){switch(Pp(e,t)){case 5103:return Y+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Y+e+eo+e+Pe+e+e;case 6828:case 4268:return Y+e+Pe+e+e;case 6165:return Y+e+Pe+"flex-"+e+e;case 5187:return Y+e+X(e,/(\w+).+(:[^]+)/,Y+"box-$1$2"+Pe+"flex-$1$2")+e;case 5443:return Y+e+Pe+"flex-item-"+X(e,/flex-|-self/,"")+e;case 4675:return Y+e+Pe+"flex-line-pack"+X(e,/align-content|flex-|-self/,"")+e;case 5548:return Y+e+Pe+X(e,"shrink","negative")+e;case 5292:return Y+e+Pe+X(e,"basis","preferred-size")+e;case 6060:return Y+"box-"+X(e,"-grow","")+Y+e+Pe+X(e,"grow","positive")+e;case 4554:return Y+X(e,/([^-])(transform)/g,"$1"+Y+"$2")+e;case 6187:return X(X(X(e,/(zoom-|grab)/,Y+"$1"),/(image-set)/,Y+"$1"),e,"")+e;case 5495:case 3959:return X(e,/(image-set\([^]*)/,Y+"$1$`$1");case 4968:return X(X(e,/(.+:)(flex-)?(.*)/,Y+"box-pack:$3"+Pe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Y+e+e;case 4095:case 3583:case 4068:case 2532:return X(e,/(.+)-inline(.+)/,Y+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(it(e)-1-t>6)switch(Se(e,t+1)){case 109:if(Se(e,t+4)!==45)break;case 102:return X(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+eo+(Se(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Gi(e,"stretch")?yl(X(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Se(e,t+1)!==115)break;case 6444:switch(Se(e,it(e)-3-(~Gi(e,"!important")&&10))){case 107:return X(e,":",":"+Y)+e;case 101:return X(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Y+(Se(e,14)===45?"inline-":"")+"box$3$1"+Y+"$2$3$1"+Pe+"$2box$3")+e}break;case 5936:switch(Se(e,t+11)){case 114:return Y+e+Pe+X(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+Pe+X(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+Pe+X(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Y+e+Pe+e+e}return e}var Gp=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Ui:t.return=yl(t.value,t.length);break;case dl:return An([hr(t,{value:X(t.value,"@","@"+Y)})],o);case Hi:if(t.length)return Rp(t.props,function(i){switch(Ip(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return An([hr(t,{props:[X(i,/:(read-\w+)/,":"+eo+"$1")]})],o);case"::placeholder":return An([hr(t,{props:[X(i,/:(plac\w+)/,":"+Y+"input-$1")]}),hr(t,{props:[X(i,/:(plac\w+)/,":"+eo+"$1")]}),hr(t,{props:[X(i,/:(plac\w+)/,Pe+"input-$1")]})],o)}return""})}},qp=[Gp],Kp=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(p){var v=p.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var o=t.stylisPlugins||qp,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(p){for(var v=p.getAttribute("data-emotion").split(" "),y=1;y<v.length;y++)i[v[y]]=!0;a.push(p)});var l,c=[Hp,Up];{var u,d=[zp,jp(function(p){u.insert(p)})],h=Mp(c.concat(o,d)),m=function(v){return An(Lp(v),h)};l=function(v,y,x,b){u=x,m(v?v+"{"+y.styles+"}":y.styles),b&&(g.inserted[y.name]=!0)}}var g={key:n,sheet:new Cp({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return g.sheet.hydrate(a),g},Yi={exports:{}},Q={};/** @license React v16.13.1
+ */var ml;function Op(){if(ml)return hr;ml=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,o,i){var s=null;if(i!==void 0&&(s=""+i),o.key!==void 0&&(s=""+o.key),"key"in o){i={};for(var a in o)a!=="key"&&(i[a]=o[a])}else i=o;return o=i.ref,{$$typeof:e,type:r,key:s,ref:o!==void 0?o:null,props:i}}return hr.Fragment=t,hr.jsx=n,hr.jsxs=n,hr}var vl;function Pp(){return vl||(vl=1,qi.exports=Op()),qi.exports}var g=Pp();function bl(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Rp=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ip=bl(function(e){return Rp.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Tp(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Np(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Ap=(function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Np(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Tp(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e})(),Pe="-ms-",ro="-moz-",Y="-webkit-",yl="comm",Ki="rule",Yi="decl",_p="@import",xl="@keyframes",Vp="@layer",Fp=Math.abs,oo=String.fromCharCode,Lp=Object.assign;function Dp(e,t){return we(e,0)^45?(((t<<2^we(e,0))<<2^we(e,1))<<2^we(e,2))<<2^we(e,3):0}function kl(e){return e.trim()}function zp(e,t){return(e=t.exec(e))?e[0]:e}function X(e,t,n){return e.replace(t,n)}function Xi(e,t){return e.indexOf(t)}function we(e,t){return e.charCodeAt(t)|0}function fr(e,t,n){return e.slice(t,n)}function it(e){return e.length}function Qi(e){return e.length}function io(e,t){return t.push(e),e}function Mp(e,t){return e.map(t).join("")}var so=1,An=1,Cl=0,Ae=0,ue=0,_n="";function ao(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:so,column:An,length:s,return:""}}function gr(e,t){return Lp(ao("",null,null,"",null,null,0),e,{length:-e.length},t)}function jp(){return ue}function $p(){return ue=Ae>0?we(_n,--Ae):0,An--,ue===10&&(An=1,so--),ue}function je(){return ue=Ae<Cl?we(_n,Ae++):0,An++,ue===10&&(An=1,so++),ue}function st(){return we(_n,Ae)}function lo(){return Ae}function pr(e,t){return fr(_n,e,t)}function mr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function wl(e){return so=An=1,Cl=it(_n=e),Ae=0,[]}function Sl(e){return _n="",e}function co(e){return kl(pr(Ae-1,Ji(e===91?e+2:e===40?e+1:e)))}function Bp(e){for(;(ue=st())&&ue<33;)je();return mr(e)>2||mr(ue)>3?"":" "}function Wp(e,t){for(;--t&&je()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return pr(e,lo()+(t<6&&st()==32&&je()==32))}function Ji(e){for(;je();)switch(ue){case e:return Ae;case 34:case 39:e!==34&&e!==39&&Ji(ue);break;case 40:e===41&&Ji(e);break;case 92:je();break}return Ae}function Hp(e,t){for(;je()&&e+ue!==57;)if(e+ue===84&&st()===47)break;return"/*"+pr(t,Ae-1)+"*"+oo(e===47?e:je())}function Up(e){for(;!mr(st());)je();return pr(e,Ae)}function Gp(e){return Sl(uo("",null,null,null,[""],e=wl(e),0,[0],e))}function uo(e,t,n,r,o,i,s,a,l){for(var c=0,u=0,h=s,d=0,m=0,f=0,p=1,v=1,b=1,y=0,x="",w=o,k=i,O=r,R=x;v;)switch(f=y,y=je()){case 40:if(f!=108&&we(R,h-1)==58){Xi(R+=X(co(y),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:R+=co(y);break;case 9:case 10:case 13:case 32:R+=Bp(f);break;case 92:R+=Wp(lo()-1,7);continue;case 47:switch(st()){case 42:case 47:io(qp(Hp(je(),lo()),t,n),l);break;default:R+="/"}break;case 123*p:a[c++]=it(R)*b;case 125*p:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+u:b==-1&&(R=X(R,/\f/g,"")),m>0&&it(R)-h&&io(m>32?Ol(R+";",r,n,h-1):Ol(X(R," ","")+";",r,n,h-2),l);break;case 59:R+=";";default:if(io(O=El(R,t,n,c,u,o,a,x,w=[],k=[],h),i),y===123)if(u===0)uo(R,t,O,O,w,i,h,a,k);else switch(d===99&&we(R,3)===110?100:d){case 100:case 108:case 109:case 115:uo(e,O,O,r&&io(El(e,O,O,0,0,o,a,x,o,w=[],h),k),o,k,h,a,r?w:k);break;default:uo(R,O,O,O,[""],k,0,a,k)}}c=u=m=0,p=b=1,x=R="",h=s;break;case 58:h=1+it(R),m=f;default:if(p<1){if(y==123)--p;else if(y==125&&p++==0&&$p()==125)continue}switch(R+=oo(y),y*p){case 38:b=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(it(R)-1)*b,b=1;break;case 64:st()===45&&(R+=co(je())),d=st(),u=h=it(x=R+=Up(lo())),y++;break;case 45:f===45&&it(R)==2&&(p=0)}}return i}function El(e,t,n,r,o,i,s,a,l,c,u){for(var h=o-1,d=o===0?i:[""],m=Qi(d),f=0,p=0,v=0;f<r;++f)for(var b=0,y=fr(e,h+1,h=Fp(p=s[f])),x=e;b<m;++b)(x=kl(p>0?d[b]+" "+y:X(y,/&\f/g,d[b])))&&(l[v++]=x);return ao(e,t,n,o===0?Ki:a,l,c,u)}function qp(e,t,n){return ao(e,t,n,yl,oo(jp()),fr(e,2,-2),0)}function Ol(e,t,n,r){return ao(e,t,n,Yi,fr(e,0,r),fr(e,r+1,-1),r)}function Vn(e,t){for(var n="",r=Qi(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Kp(e,t,n,r){switch(e.type){case Vp:if(e.children.length)break;case _p:case Yi:return e.return=e.return||e.value;case yl:return"";case xl:return e.return=e.value+"{"+Vn(e.children,r)+"}";case Ki:e.value=e.props.join(",")}return it(n=Vn(e.children,r))?e.return=e.value+"{"+n+"}":""}function Yp(e){var t=Qi(e);return function(n,r,o,i){for(var s="",a=0;a<t;a++)s+=e[a](n,r,o,i)||"";return s}}function Xp(e){return function(t){t.root||(t=t.return)&&e(t)}}var Qp=function(t,n,r){for(var o=0,i=0;o=i,i=st(),o===38&&i===12&&(n[r]=1),!mr(i);)je();return pr(t,Ae)},Jp=function(t,n){var r=-1,o=44;do switch(mr(o)){case 0:o===38&&st()===12&&(n[r]=1),t[r]+=Qp(Ae-1,n,r);break;case 2:t[r]+=co(o);break;case 4:if(o===44){t[++r]=st()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=oo(o)}while(o=je());return t},Zp=function(t,n){return Sl(Jp(wl(t),n))},Pl=new WeakMap,em=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Pl.get(r))&&!o){Pl.set(t,!0);for(var i=[],s=Zp(n,i),a=r.props,l=0,c=0;l<s.length;l++)for(var u=0;u<a.length;u++,c++)t.props[c]=i[l]?s[l].replace(/&\f/g,a[u]):a[u]+" "+s[l]}}},tm=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Rl(e,t){switch(Dp(e,t)){case 5103:return Y+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Y+e+ro+e+Pe+e+e;case 6828:case 4268:return Y+e+Pe+e+e;case 6165:return Y+e+Pe+"flex-"+e+e;case 5187:return Y+e+X(e,/(\w+).+(:[^]+)/,Y+"box-$1$2"+Pe+"flex-$1$2")+e;case 5443:return Y+e+Pe+"flex-item-"+X(e,/flex-|-self/,"")+e;case 4675:return Y+e+Pe+"flex-line-pack"+X(e,/align-content|flex-|-self/,"")+e;case 5548:return Y+e+Pe+X(e,"shrink","negative")+e;case 5292:return Y+e+Pe+X(e,"basis","preferred-size")+e;case 6060:return Y+"box-"+X(e,"-grow","")+Y+e+Pe+X(e,"grow","positive")+e;case 4554:return Y+X(e,/([^-])(transform)/g,"$1"+Y+"$2")+e;case 6187:return X(X(X(e,/(zoom-|grab)/,Y+"$1"),/(image-set)/,Y+"$1"),e,"")+e;case 5495:case 3959:return X(e,/(image-set\([^]*)/,Y+"$1$`$1");case 4968:return X(X(e,/(.+:)(flex-)?(.*)/,Y+"box-pack:$3"+Pe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Y+e+e;case 4095:case 3583:case 4068:case 2532:return X(e,/(.+)-inline(.+)/,Y+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(it(e)-1-t>6)switch(we(e,t+1)){case 109:if(we(e,t+4)!==45)break;case 102:return X(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+ro+(we(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xi(e,"stretch")?Rl(X(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(we(e,t+1)!==115)break;case 6444:switch(we(e,it(e)-3-(~Xi(e,"!important")&&10))){case 107:return X(e,":",":"+Y)+e;case 101:return X(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Y+(we(e,14)===45?"inline-":"")+"box$3$1"+Y+"$2$3$1"+Pe+"$2box$3")+e}break;case 5936:switch(we(e,t+11)){case 114:return Y+e+Pe+X(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+Pe+X(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+Pe+X(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Y+e+Pe+e+e}return e}var nm=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Yi:t.return=Rl(t.value,t.length);break;case xl:return Vn([gr(t,{value:X(t.value,"@","@"+Y)})],o);case Ki:if(t.length)return Mp(t.props,function(i){switch(zp(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Vn([gr(t,{props:[X(i,/:(read-\w+)/,":"+ro+"$1")]})],o);case"::placeholder":return Vn([gr(t,{props:[X(i,/:(plac\w+)/,":"+Y+"input-$1")]}),gr(t,{props:[X(i,/:(plac\w+)/,":"+ro+"$1")]}),gr(t,{props:[X(i,/:(plac\w+)/,Pe+"input-$1")]})],o)}return""})}},rm=[nm],om=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(p){var v=p.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var o=t.stylisPlugins||rm,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(p){for(var v=p.getAttribute("data-emotion").split(" "),b=1;b<v.length;b++)i[v[b]]=!0;a.push(p)});var l,c=[em,tm];{var u,h=[Kp,Xp(function(p){u.insert(p)})],d=Yp(c.concat(o,h)),m=function(v){return Vn(Gp(v),d)};l=function(v,b,y,x){u=y,m(v?v+"{"+b.styles+"}":b.styles),x&&(f.inserted[b.name]=!0)}}var f={key:n,sheet:new Ap({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return f.sheet.hydrate(a),f},Zi={exports:{}},Q={};/** @license React v16.13.1
  * react-is.production.min.js
  *
  * Copyright (c) Facebook, Inc. and its affiliates.
  *
  * This source code is licensed under the MIT license found in the
  * LICENSE file in the root directory of this source tree.
- */var xl;function Yp(){if(xl)return Q;xl=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function b(k){if(typeof k=="object"&&k!==null){var E=k.$$typeof;switch(E){case t:switch(k=k.type,k){case l:case c:case r:case i:case o:case d:return k;default:switch(k=k&&k.$$typeof,k){case a:case u:case g:case m:case s:return k;default:return E}}case n:return E}}}function C(k){return b(k)===c}return Q.AsyncMode=l,Q.ConcurrentMode=c,Q.ContextConsumer=a,Q.ContextProvider=s,Q.Element=t,Q.ForwardRef=u,Q.Fragment=r,Q.Lazy=g,Q.Memo=m,Q.Portal=n,Q.Profiler=i,Q.StrictMode=o,Q.Suspense=d,Q.isAsyncMode=function(k){return C(k)||b(k)===l},Q.isConcurrentMode=C,Q.isContextConsumer=function(k){return b(k)===a},Q.isContextProvider=function(k){return b(k)===s},Q.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===t},Q.isForwardRef=function(k){return b(k)===u},Q.isFragment=function(k){return b(k)===r},Q.isLazy=function(k){return b(k)===g},Q.isMemo=function(k){return b(k)===m},Q.isPortal=function(k){return b(k)===n},Q.isProfiler=function(k){return b(k)===i},Q.isStrictMode=function(k){return b(k)===o},Q.isSuspense=function(k){return b(k)===d},Q.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===r||k===c||k===i||k===o||k===d||k===h||typeof k=="object"&&k!==null&&(k.$$typeof===g||k.$$typeof===m||k.$$typeof===s||k.$$typeof===a||k.$$typeof===u||k.$$typeof===v||k.$$typeof===y||k.$$typeof===x||k.$$typeof===p)},Q.typeOf=b,Q}var kl;function Xp(){return kl||(kl=1,Yi.exports=Yp()),Yi.exports}var Xi,Cl;function Qp(){if(Cl)return Xi;Cl=1;var e=Xp(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=r,i[e.Memo]=o;function s(g){return e.isMemo(g)?o:i[g.$$typeof]||t}var a=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;function m(g,p,v){if(typeof p!="string"){if(h){var y=d(p);y&&y!==h&&m(g,y,v)}var x=l(p);c&&(x=x.concat(c(p)));for(var b=s(g),C=s(p),k=0;k<x.length;++k){var E=x[k];if(!n[E]&&!(v&&v[E])&&!(C&&C[E])&&!(b&&b[E])){var I=u(p,E);try{a(g,E,I)}catch{}}}}return g}return Xi=m,Xi}Qp();var Jp=!0;function Sl(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var Qi=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||Jp===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},Ji=function(t,n,r){Qi(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Zp(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var em={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},tm=/[A-Z]|^ms/g,nm=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wl=function(t){return t.charCodeAt(1)===45},El=function(t){return t!=null&&typeof t!="boolean"},Zi=cl(function(e){return wl(e)?e:e.replace(tm,"-$&").toLowerCase()}),Ol=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(nm,function(r,o,i){return at={name:o,styles:i,next:at},o})}return em[t]!==1&&!wl(t)&&typeof n=="number"&&n!==0?n+"px":n};function pr(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return at={name:o.name,styles:o.styles,next:at},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)at={name:s.name,styles:s.styles,next:at},s=s.next;var a=i.styles+";";return a}return rm(e,t,n)}case"function":{if(e!==void 0){var l=at,c=n(e);return at=l,pr(e,t,c)}break}}var u=n;if(t==null)return u;var d=t[u];return d!==void 0?d:u}function rm(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=pr(e,t,n[o])+";";else for(var i in n){var s=n[i];if(typeof s!="object"){var a=s;t!=null&&t[a]!==void 0?r+=i+"{"+t[a]+"}":El(a)&&(r+=Zi(i)+":"+Ol(i,a)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var l=0;l<s.length;l++)El(s[l])&&(r+=Zi(i)+":"+Ol(i,s[l])+";");else{var c=pr(e,t,s);switch(i){case"animation":case"animationName":{r+=Zi(i)+":"+c+";";break}default:r+=i+"{"+c+"}"}}}return r}var Pl=/label:\s*([^\s;{]+)\s*(;|$)/g,at;function es(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";at=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=pr(n,t,i);else{var s=i;o+=s[0]}for(var a=1;a<e.length;a++)if(o+=pr(n,t,e[a]),r){var l=i;o+=l[a]}Pl.lastIndex=0;for(var c="",u;(u=Pl.exec(o))!==null;)c+="-"+u[1];var d=Zp(o)+c;return{name:d,styles:o,next:at}}var om=function(t){return t()},Il=O.useInsertionEffect?O.useInsertionEffect:!1,Rl=Il||om,Tl=Il||O.useLayoutEffect,Nl=O.createContext(typeof HTMLElement<"u"?Kp({key:"css"}):null);Nl.Provider;var ts=function(t){return P.forwardRef(function(n,r){var o=P.useContext(Nl);return t(n,o,r)})},ns=O.createContext({}),rs={}.hasOwnProperty,os="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",im=function(t,n){var r={};for(var o in n)rs.call(n,o)&&(r[o]=n[o]);return r[os]=t,r},sm=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Qi(n,r,o),Rl(function(){return Ji(n,r,o)}),null},am=ts(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[os],i=[r],s="";typeof e.className=="string"?s=Sl(t.registered,i,e.className):e.className!=null&&(s=e.className+" ");var a=es(i,void 0,O.useContext(ns));s+=t.key+"-"+a.name;var l={};for(var c in e)rs.call(e,c)&&c!=="css"&&c!==os&&(l[c]=e[c]);return l.className=s,n&&(l.ref=n),O.createElement(O.Fragment,null,O.createElement(sm,{cache:t,serialized:a,isStringTag:typeof o=="string"}),O.createElement(o,l))}),lm=am,Al=function(t,n){var r=arguments;if(n==null||!rs.call(n,"css"))return O.createElement.apply(void 0,r);var o=r.length,i=new Array(o);i[0]=lm,i[1]=im(t,n);for(var s=2;s<o;s++)i[s]=r[s];return O.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Al||(Al={}));var _l=ts(function(e,t){var n=e.styles,r=es([n],void 0,O.useContext(ns)),o=O.useRef();return Tl(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",i),s.hydrate([l])),o.current=[s,a],function(){s.flush()}},[t]),Tl(function(){var i=o.current,s=i[0],a=i[1];if(a){i[1]=!1;return}if(r.next!==void 0&&Ji(t,r.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});function cm(...e){return function(...n){e.forEach(r=>r?.(...n))}}const um=(...e)=>e.map(t=>t?.trim?.()).filter(Boolean).join(" "),dm=/^on[A-Z]/;function mr(...e){let t={};for(let n of e){for(let r in t){if(dm.test(r)&&typeof t[r]=="function"&&typeof n[r]=="function"){t[r]=cm(t[r],n[r]);continue}if(r==="className"||r==="class"){t[r]=um(t[r],n[r]);continue}if(r==="style"){t[r]=Object.assign({},t[r]??{},n[r]??{});continue}t[r]=n[r]!==void 0?n[r]:t[r]}for(let r in n)t[r]===void 0&&(t[r]=n[r])}return t}function hm(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function fm(...e){return t=>{e.forEach(n=>{hm(n,t)})}}function vr(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}const Ge=(...e)=>e.filter(Boolean).map(t=>t.trim()).join(" ");function gm(e){return e.default||e}const _e=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),lt=e=>typeof e=="string",is=e=>typeof e=="function";function pm(e){const t=O.version;return!lt(t)||t.startsWith("18.")?e?.ref:e?.props?.ref}const Vl=(...e)=>{const t=e.reduce((n,r)=>(r?.forEach(o=>n.add(o)),n),new Set([]));return Array.from(t)};function mm(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function _n(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:i,defaultValue:s}=e,a=P.createContext(s);a.displayName=t;function l(){const c=P.useContext(a);if(!c&&n){const u=new Error(i??mm(r,o));throw u.name="ContextError",Error.captureStackTrace?.(u,l),u}return c}return[a.Provider,l,a]}const[vm,lo]=_n({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function bm(e){const{value:t,children:n}=e;return f.jsxs(vm,{value:t,children:[!t._config.disableLayers&&f.jsx(_l,{styles:t.layers.atRule}),f.jsx(_l,{styles:t._global}),n]})}const ym=(e,t)=>{const n={},r={},o=Object.keys(e);for(const i of o)t(i)?r[i]=e[i]:n[i]=e[i];return[r,n]},Vn=(e,t)=>{const n=is(t)?t:r=>t.includes(r);return ym(e,n)},xm=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function km(e){return typeof e=="string"&&xm.has(e)}function Cm(e,t,n){const{css:r,isValidProperty:o}=lo(),{children:i,...s}=e,a=P.useMemo(()=>{const[h,m]=Vn(s,x=>n(x,t.variantKeys)),[g,p]=Vn(m,t.variantKeys),[v,y]=Vn(p,o);return{forwardedProps:h,variantProps:g,styleProps:v,elementProps:y}},[t.variantKeys,n,s,o]),{css:l,...c}=a.styleProps,u=P.useMemo(()=>{const h={...a.variantProps};return t.variantKeys.includes("colorPalette")||(h.colorPalette=s.colorPalette),t.variantKeys.includes("orientation")||(h.orientation=s.orientation),t(h)},[t,a.variantProps,s.colorPalette,s.orientation]);return{styles:P.useMemo(()=>r(u,...Sm(l),c),[r,u,l,c]),props:{...a.forwardedProps,...a.elementProps,children:i}}}const Sm=e=>(Array.isArray(e)?e:[e]).filter(Boolean).flat(),wm=gm(yp),Em=e=>e!=="theme",Om=(e,t,n)=>{let r;if(t){const o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?i=>e.__emotion_forwardProp(i)&&o(i):o}return typeof r!="function"&&n&&(r=e.__emotion_forwardProp),r};let Pm=typeof document<"u";const Fl=({cache:e,serialized:t,isStringTag:n})=>{Qi(e,t,n);const r=Rl(()=>Ji(e,t,n));if(!Pm&&r!==void 0){let o=t.name,i=t.next;for(;i!==void 0;)o=Ge(o,i.name),i=i.next;return f.jsx("style",{"data-emotion":Ge(e.key,o),dangerouslySetInnerHTML:{__html:r},nonce:e.sheet.nonce})}return null},Ll={path:["d"],text:["x","y"],circle:["cx","cy","r"],rect:["width","height","x","y","rx","ry"],ellipse:["cx","cy","rx","ry"],g:["transform"],stop:["offset","stopOpacity"]},Im=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),ss=((e,t={},n={})=>{if(Im(Ll,e)){n.forwardProps||(n.forwardProps=[]);const c=Ll[e];n.forwardProps=Vl([...n.forwardProps,...c])}const r=e.__emotion_real===e,o=r&&e.__emotion_base||e;let i,s;n!==void 0&&(i=n.label,s=n.target);let a=[];const l=ts((c,u,d)=>{const{cva:h,isValidProperty:m}=lo(),g=t.__cva__?t:h(t),p=Rm(e.__emotion_cva,g),v=z=>(W,J)=>z.includes(W)?!0:!J?.includes(W)&&!m(W);!n.shouldForwardProp&&n.forwardProps&&(n.shouldForwardProp=v(n.forwardProps));const y=(z,W)=>{const J=typeof e=="string"&&e.charCodeAt(0)>96?wm:Em,ee=!W?.includes(z)&&!m(z);return J(z)&&ee},x=Om(e,n,r)||y,b=O.useMemo(()=>Object.assign({},n.defaultProps,vr(c)),[c]),{props:C,styles:k}=Cm(b,p,x);let E="",I=[k],R=C;if(C.theme==null){R={};for(let z in C)R[z]=C[z];R.theme=O.useContext(ns)}typeof C.className=="string"?E=Sl(u.registered,I,C.className):C.className!=null&&(E=Ge(E,C.className));const _=es(a.concat(I),u.registered,R);_.styles&&(E=Ge(E,`${u.key}-${_.name}`)),s!==void 0&&(E=Ge(E,s));const A=!x("as");let T=A&&C.as||o,S={};for(let z in C)if(!(A&&z==="as")){if(km(z)){const W=z.replace("html","").toLowerCase();S[W]=C[z];continue}x(z)&&(S[z]=C[z])}let N=E.trim();N?S.className=N:Reflect.deleteProperty(S,"className"),S.ref=d;const D=n.forwardAsChild||n.forwardProps?.includes("asChild");if(C.asChild&&!D){const z=O.isValidElement(C.children)?O.Children.only(C.children):O.Children.toArray(C.children).find(O.isValidElement);if(!z)throw new Error("[chakra-ui > factory] No valid child found");T=z.type,S.children=null,Reflect.deleteProperty(S,"asChild"),S=mr(S,z.props),S.ref=fm(d,pm(z))}return S.as&&D?(S.as=void 0,f.jsxs(O.Fragment,{children:[f.jsx(Fl,{cache:u,serialized:_,isStringTag:typeof T=="string"}),f.jsx(T,{asChild:!0,...S,children:f.jsx(C.as,{children:S.children})})]})):f.jsxs(O.Fragment,{children:[f.jsx(Fl,{cache:u,serialized:_,isStringTag:typeof T=="string"}),f.jsx(T,{...S})]})});return l.displayName=i!==void 0?i:`chakra(${typeof o=="string"?o:o.displayName||o.name||"Component"})`,l.__emotion_real=l,l.__emotion_base=o,l.__emotion_forwardProp=n.shouldForwardProp,l.__emotion_cva=t,Object.defineProperty(l,"toString",{value(){return`.${s}`}}),l}).bind(),as=new Map,ve=new Proxy(ss,{apply(e,t,n){return ss(...n)},get(e,t){return as.has(t)||as.set(t,ss(t)),as.get(t)}}),Rm=(e,t)=>e&&!t?e:!e&&t?t:e.merge(t),br=ve("div");br.displayName="Box";const Tm=Object.freeze({}),Nm=Object.freeze({});function Am(e){const{key:t,recipe:n}=e,r=lo();return P.useMemo(()=>{const o=n||(t!=null?r.getRecipe(t):{});return r.cva(structuredClone(o))},[t,n,r])}const _m=e=>e.charAt(0).toUpperCase()+e.slice(1);function Nt(e){const{key:t,recipe:n}=e,r=_m(t||n.className||"Component"),[o,i]=_n({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`});function s(c){const{unstyled:u,...d}=c,h=Am({key:t,recipe:d.recipe||n}),[m,g]=P.useMemo(()=>h.splitVariantProps(d),[h,d]);return{styles:u?Tm:h(m),className:h.className,props:g}}const a=(c,u)=>{const d=ve(c,{},u),h=P.forwardRef((m,g)=>{const p=i(),v=P.useMemo(()=>mr(p,m),[m,p]),{styles:y,className:x,props:b}=s(v);return f.jsx(d,{...b,ref:g,css:[y,v.css],className:Ge(x,v.className)})});return h.displayName=c.displayName||c.name,h};function l(){return o}return{withContext:a,PropsProvider:o,withPropsProvider:l,usePropsContext:i,useRecipeResult:s}}function co(e){return e==null?[]:Array.isArray(e)?e:[e]}var yr=e=>e[0],ls=e=>e[e.length-1],Vm=(e,t)=>e.indexOf(t)!==-1,Gt=(e,...t)=>e.concat(t),qt=(e,...t)=>e.filter(n=>!t.includes(n)),Fn=e=>Array.from(new Set(e)),cs=(e,t)=>{const n=new Set(t);return e.filter(r=>!n.has(r))},Ln=(e,t)=>Vm(e,t)?qt(e,t):Gt(e,t);function Dl(e,t,n={}){const{step:r=1,loop:o=!0}=n,i=t+r,s=e.length,a=s-1;return t===-1?r>0?0:a:i<0?o?a:0:i>=s?o?0:t>s?s:t:i}function Fm(e,t,n={}){return e[Dl(e,t,n)]}function Lm(e,t,n={}){const{step:r=1,loop:o=!0}=n;return Dl(e,t,{step:-r,loop:o})}function Dm(e,t,n={}){return e[Lm(e,t,n)]}function zl(e,t){return e.reduce(([n,r],o)=>(t(o)?n.push(o):r.push(o),[n,r]),[[],[]])}var Ml=e=>e?.constructor.name==="Array",zm=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!Ze(e[n],t[n]))return!1;return!0},Ze=(e,t)=>{if(Object.is(e,t))return!0;if(e==null&&t!=null||e!=null&&t==null)return!1;if(typeof e?.isEqual=="function"&&typeof t?.isEqual=="function")return e.isEqual(t);if(typeof e=="function"&&typeof t=="function")return e.toString()===t.toString();if(Ml(e)&&Ml(t))return zm(Array.from(e),Array.from(t));if(typeof e!="object"||typeof t!="object")return!1;const n=Object.keys(t??Object.create(null)),r=n.length;for(let o=0;o<r;o++)if(!Reflect.has(e,n[o]))return!1;for(let o=0;o<r;o++){const i=n[o];if(!Ze(e[i],t[i]))return!1}return!0},xr=e=>Array.isArray(e),Mm=e=>e===!0||e===!1,jl=e=>e!=null&&typeof e=="object",Kt=e=>jl(e)&&!xr(e),uo=e=>typeof e=="string",Yt=e=>typeof e=="function",jm=e=>e==null,At=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),$m=e=>Object.prototype.toString.call(e),$l=Function.prototype.toString,Bm=$l.call(Object),Wm=e=>{if(!jl(e)||$m(e)!="[object Object]"||Gm(e))return!1;const t=Object.getPrototypeOf(e);if(t===null)return!0;const n=At(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&$l.call(n)==Bm},Hm=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,Um=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,Gm=e=>Hm(e)||Um(e),ho=(e,...t)=>(typeof e=="function"?e(...t):e)??void 0,qm=e=>e(),Km=()=>{},fo=(...e)=>(...t)=>{e.forEach(function(n){n?.(...t)})},Ym=(()=>{let e=0;return()=>(e++,e.toString(36))})();function bt(e,t,...n){if(e in t){const o=t[e];return Yt(o)?o(...n):o}const r=new Error(`No matching key: ${JSON.stringify(e)} in ${JSON.stringify(Object.keys(t))}`);throw Error.captureStackTrace?.(r,bt),r}var Bl=(e,t)=>{try{return e()}catch(n){return n instanceof Error&&Error.captureStackTrace?.(n,Bl),t?.()}},{floor:Wl,abs:Hl,round:go,min:Xm,max:Qm,pow:Jm,sign:Zm}=Math,us=e=>Number.isNaN(e),_t=e=>us(e)?0:e,Ul=(e,t)=>(e%t+t)%t,e0=(e,t)=>(e%t+t)%t,t0=(e,t)=>_t(e)>=t,n0=(e,t)=>_t(e)<=t,r0=(e,t,n)=>{const r=_t(e),o=t==null||r>=t,i=n==null||r<=n;return o&&i},o0=(e,t,n)=>go((_t(e)-t)/n)*n+t,Ve=(e,t,n)=>Xm(Qm(_t(e),t),n),i0=(e,t,n)=>(_t(e)-t)/(n-t),s0=(e,t,n,r)=>Ve(o0(e*(n-t)+t,t,r),t,n),Gl=(e,t)=>{let n=e,r=t.toString(),o=r.indexOf("."),i=o>=0?r.length-o:0;if(i>0){let s=Jm(10,i);n=go(n*s)/s}return n},ds=(e,t)=>typeof t=="number"?Wl(e*t+.5)/t:go(e),ql=(e,t,n,r)=>{const o=t!=null?Number(t):0,i=Number(n),s=(e-o)%r;let a=Hl(s)*2>=r?e+Zm(s)*(r-Hl(s)):e-s;if(a=Gl(a,r),!us(o)&&a<o)a=o;else if(!us(i)&&a>i){const l=Wl((i-o)/r),c=o+l*r;a=l<=0||c<o?i:c}return Gl(a,r)},oe=(e,t=0,n=10)=>{const r=Math.pow(n,t);return go(e*r)/r},Kl=e=>{if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n},Yl=(e,t,n)=>{let r=t==="+"?e+n:e-n;if(e%1!==0||n%1!==0){const o=10**Math.max(Kl(e),Kl(n));e=Math.round(e*o),n=Math.round(n*o),r=t==="+"?e+n:e-n,r/=o}return r},a0=(e,t)=>Yl(_t(e),"+",t),l0=(e,t)=>Yl(_t(e),"-",t);function po(e){if(!Wm(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const o=e[r];o!==void 0&&(n[r]=po(o))}return n}function c0(e,t=Object.is){let n={...e};const r=new Set,o=u=>(r.add(u),()=>r.delete(u)),i=()=>{r.forEach(u=>u())};return{subscribe:o,get:u=>n[u],set:(u,d)=>{t(n[u],d)||(n[u]=d,i())},update:u=>{let d=!1;for(const h in u){const m=u[h];m!==void 0&&!t(n[h],m)&&(n[h]=m,d=!0)}d&&i()},snapshot:()=>({...n})}}function kr(...e){e.length===1?e[0]:e[1],e.length===2&&e[0]}function Xl(e,t){if(e==null)throw new Error(t())}function u0(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Dn(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:i,defaultValue:s}=e,a=P.createContext(s);a.displayName=t;function l(){const c=P.useContext(a);if(!c&&n){const u=new Error(i??u0(r,o));throw u.name="ContextError",Error.captureStackTrace?.(u,l),u}return c}return[a.Provider,l,a]}const[qR,Ql]=Dn({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});function d0(e){if(!e)return;const t=e.selectionStart??0,n=e.selectionEnd??0;Math.abs(n-t)===0&&t===0&&e.setSelectionRange(e.value.length,e.value.length)}var Jl=e=>Math.max(0,Math.min(1,e)),h0=(e,t)=>e.map((n,r)=>e[(Math.max(t,0)+r)%e.length]),Zl=()=>{},mo=e=>typeof e=="object"&&e!==null,f0=2147483647,g0=1,p0=9,m0=11,Te=e=>mo(e)&&e.nodeType===g0&&typeof e.nodeName=="string",hs=e=>mo(e)&&e.nodeType===p0,v0=e=>mo(e)&&e===e.window,ec=e=>Te(e)?e.localName||"":"#document";function b0(e){return["html","body","#document"].includes(ec(e))}var y0=e=>mo(e)&&e.nodeType!==void 0,zn=e=>y0(e)&&e.nodeType===m0&&"host"in e,x0=e=>Te(e)&&e.localName==="input",k0=e=>!!e?.matches("a[href]"),C0=e=>Te(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1;function S0(e){if(!e)return!1;const t=e.getRootNode();return Cr(t)===e}var w0=/(textarea|select)/;function tc(e){if(e==null||!Te(e))return!1;try{return x0(e)&&e.selectionStart!=null||w0.test(e.localName)||e.isContentEditable||e.getAttribute("contenteditable")==="true"||e.getAttribute("contenteditable")===""}catch{return!1}}function Xt(e,t){if(!e||!t||!Te(e)||!Te(t))return!1;const n=t.getRootNode?.();if(e===t||e.contains(t))return!0;if(n&&zn(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Fe(e){return hs(e)?e:v0(e)?e.document:e?.ownerDocument??document}function E0(e){return Fe(e).documentElement}function be(e){return zn(e)?be(e.host):hs(e)?e.defaultView??window:Te(e)?e.ownerDocument?.defaultView??window:window}function Cr(e){let t=e.activeElement;for(;t?.shadowRoot;){const n=t.shadowRoot.activeElement;if(!n||n===t)break;t=n}return t}function O0(e){if(ec(e)==="html")return e;const t=e.assignedSlot||e.parentNode||zn(e)&&e.host||E0(e);return zn(t)?t.host:t}var fs=new WeakMap;function vo(e){return fs.has(e)||fs.set(e,be(e).getComputedStyle(e)),fs.get(e)}var bo=()=>typeof document<"u";function P0(){return navigator.userAgentData?.platform??navigator.platform}function I0(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:t,version:n})=>`${t}/${n}`).join(" "):navigator.userAgent}var gs=e=>bo()&&e.test(P0()),nc=e=>bo()&&e.test(I0()),R0=e=>bo()&&e.test(navigator.vendor),rc=()=>bo()&&!!navigator.maxTouchPoints,T0=()=>gs(/^iPhone/i),N0=()=>gs(/^iPad/i)||xo()&&navigator.maxTouchPoints>1,yo=()=>T0()||N0(),A0=()=>xo()||yo(),xo=()=>gs(/^Mac/i),oc=()=>A0()&&R0(/apple/i),_0=()=>nc(/Firefox/i),V0=()=>nc(/Android/i);function F0(e){return e.composedPath?.()??e.nativeEvent?.composedPath?.()}function $e(e){return F0(e)?.[0]??e.target}function L0(e){return j0(e).isComposing||e.keyCode===229}function D0(e){return e.pointerType===""&&e.isTrusted?!0:V0()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}var z0=e=>e.button===2||xo()&&e.ctrlKey&&e.button===0,M0=e=>"touches"in e&&e.touches.length>0;function j0(e){return e.nativeEvent??e}function ic(e,t="client"){const n=M0(e)?e.touches[0]||e.changedTouches[0]:e;return{x:n[`${t}X`],y:n[`${t}Y`]}}var se=(e,t,n,r)=>{const o=typeof e=="function"?e():e;return o?.addEventListener(t,n,r),()=>{o?.removeEventListener(t,n,r)}};function $0(e,t){const{type:n="HTMLInputElement",property:r="value"}=t,o=be(e)[n].prototype;return Object.getOwnPropertyDescriptor(o,r)??{}}function B0(e){if(e.localName==="input")return"HTMLInputElement";if(e.localName==="textarea")return"HTMLTextAreaElement";if(e.localName==="select")return"HTMLSelectElement"}function ko(e,t,n="value"){if(!e)return;const r=B0(e);r&&$0(e,{type:r,property:n}).set?.call(e,t),e.setAttribute(n,t)}function W0(e,t){const{value:n,bubbles:r=!0}=t;if(!e)return;const o=be(e);e instanceof o.HTMLInputElement&&(ko(e,`${n}`),e.dispatchEvent(new o.Event("input",{bubbles:r})))}function H0(e){return U0(e)?e.form:e.closest("form")}function U0(e){return e.matches("textarea, input, select, button")}function G0(e,t){if(!e)return;const n=H0(e),r=o=>{o.defaultPrevented||t()};return n?.addEventListener("reset",r,{passive:!0}),()=>n?.removeEventListener("reset",r)}function q0(e,t){const n=e?.closest("fieldset");if(!n)return;t(n.disabled);const r=be(n),o=new r.MutationObserver(()=>t(n.disabled));return o.observe(n,{attributes:!0,attributeFilter:["disabled"]}),()=>o.disconnect()}function ps(e,t){if(!e)return;const{onFieldsetDisabledChange:n,onFormReset:r}=t,o=[G0(e,r),q0(e,n)];return()=>o.forEach(i=>i?.())}var sc=e=>Te(e)&&e.tagName==="IFRAME",K0=e=>!Number.isNaN(parseInt(e.getAttribute("tabindex")||"0",10)),Y0=e=>parseInt(e.getAttribute("tabindex")||"0",10)<0,ms="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type",ac=(e,t=!1)=>{if(!e)return[];const n=Array.from(e.querySelectorAll(ms));(t==!0||t=="if-empty"&&n.length===0)&&Te(e)&&Vt(e)&&n.unshift(e);const o=n.filter(Vt);return o.forEach((i,s)=>{if(sc(i)&&i.contentDocument){const a=i.contentDocument.body;o.splice(s,1,...ac(a))}}),o};function Vt(e){return!e||e.closest("[inert]")?!1:e.matches(ms)&&C0(e)}function vs(e,t){if(!e)return[];const r=Array.from(e.querySelectorAll(ms)).filter(Qt);return r.forEach((o,i)=>{if(sc(o)&&o.contentDocument){const s=o.contentDocument.body,a=vs(s);r.splice(i,1,...a)}}),r.length,r}function Qt(e){return e!=null&&e.tabIndex>0?!0:Vt(e)&&!Y0(e)}function Sr(e){return e.tabIndex<0&&(/^(audio|video|details)$/.test(e.localName)||tc(e))&&!K0(e)?0:e.tabIndex}function bs(e){const{root:t,getInitialEl:n,filter:r,enabled:o=!0}=e;if(!o)return;let i=null;if(i||(i=typeof n=="function"?n():n),i||(i=t?.querySelector("[data-autofocus],[autofocus]")),!i){const s=vs(t);i=r?s.filter(r)[0]:s[0]}return i||t||void 0}function ys(e){const t=new Set;function n(r){const o=globalThis.requestAnimationFrame(r);t.add(()=>globalThis.cancelAnimationFrame(o))}return n(()=>n(e)),function(){t.forEach(o=>o())}}function G(e){let t;const n=globalThis.requestAnimationFrame(()=>{t=e()});return()=>{globalThis.cancelAnimationFrame(n),t?.()}}function X0(e,t,n){const r=G(()=>{e.removeEventListener(t,o,!0),n()}),o=()=>{r(),n()};return e.addEventListener(t,o,{once:!0,capture:!0}),r}function Q0(e,t){if(!e)return;const{attributes:n,callback:r}=t,o=e.ownerDocument.defaultView||window,i=new o.MutationObserver(s=>{for(const a of s)a.type==="attributes"&&a.attributeName&&n.includes(a.attributeName)&&r(a)});return i.observe(e,{attributes:!0,attributeFilter:n}),()=>i.disconnect()}function Co(e,t){const{defer:n}=t,r=n?G:i=>i(),o=[];return o.push(r(()=>{const i=typeof e=="function"?e():e;o.push(Q0(i,t))})),()=>{o.forEach(i=>i?.())}}function lc(e){const t=()=>{const n=be(e);e.dispatchEvent(new n.MouseEvent("click"))};_0()?X0(e,"keyup",t):queueMicrotask(t)}function So(e){const t=O0(e);return b0(t)?Fe(t).body:Te(t)&&xs(t)?t:So(t)}function cc(e,t=[]){const n=So(e),r=n===e.ownerDocument.body,o=be(n);return r?t.concat(o,o.visualViewport||[],xs(n)?n:[]):t.concat(n,cc(n,[]))}var J0=/auto|scroll|overlay|hidden|clip/,Z0=new Set(["inline","contents"]);function xs(e){const t=be(e),{overflow:n,overflowX:r,overflowY:o,display:i}=t.getComputedStyle(e);return J0.test(n+o+r)&&!Z0.has(i)}function ev(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}function wo(e,t){const{rootEl:n,...r}=t||{};!e||!n||!xs(n)||!ev(n)||e.scrollIntoView(r)}function uc(e,t){const{left:n,top:r,width:o,height:i}=t.getBoundingClientRect(),s={x:e.x-n,y:e.y-r},a={x:Jl(s.x/o),y:Jl(s.y/i)};function l(c={}){const{dir:u="ltr",orientation:d="horizontal",inverted:h}=c,m=typeof h=="object"?h.x:h,g=typeof h=="object"?h.y:h;return d==="horizontal"?u==="rtl"||m?1-a.x:a.x:g?1-a.y:a.y}return{offset:s,percent:a,getPercentValue:l}}function tv(e,t){const n=e.body,r="pointerLockElement"in e||"mozPointerLockElement"in e,o=()=>!!e.pointerLockElement;function i(){}function s(l){o(),console.error("PointerLock error occurred:",l),e.exitPointerLock()}if(!r)return;try{n.requestPointerLock()}catch{}const a=[se(e,"pointerlockchange",i,!1),se(e,"pointerlockerror",s,!1)];return()=>{a.forEach(l=>l()),e.exitPointerLock()}}var Mn="default",ks="",Eo=new WeakMap;function nv(e={}){const{target:t,doc:n}=e,r=n??document,o=r.documentElement;return yo()?(Mn==="default"&&(ks=o.style.webkitUserSelect,o.style.webkitUserSelect="none"),Mn="disabled"):t&&(Eo.set(t,t.style.userSelect),t.style.userSelect="none"),()=>rv({target:t,doc:r})}function rv(e={}){const{target:t,doc:n}=e,o=(n??document).documentElement;if(yo()){if(Mn!=="disabled")return;Mn="restoring",setTimeout(()=>{ys(()=>{Mn==="restoring"&&(o.style.webkitUserSelect==="none"&&(o.style.webkitUserSelect=ks||""),ks="",Mn="default")})},300)}else if(t&&Eo.has(t)){const i=Eo.get(t);t.style.userSelect==="none"&&(t.style.userSelect=i??""),t.getAttribute("style")===""&&t.removeAttribute("style"),Eo.delete(t)}}function dc(e={}){const{defer:t,target:n,...r}=e,o=t?G:s=>s(),i=[];return i.push(o(()=>{const s=typeof n=="function"?n():n;i.push(nv({...r,target:s}))})),()=>{i.forEach(s=>s?.())}}function ov(e,t){const{onPointerMove:n,onPointerUp:r}=t,o=a=>{const l=ic(a),c=Math.sqrt(l.x**2+l.y**2),u=a.pointerType==="touch"?10:5;if(!(c<u)){if(a.pointerType==="mouse"&&a.button===0){i(a);return}n({point:l,event:a})}},i=a=>{const l=ic(a);r({point:l,event:a})},s=[se(e,"pointermove",o,!1),se(e,"pointerup",i,!1),se(e,"pointercancel",i,!1),se(e,"contextmenu",i,!1),dc({doc:e})];return()=>{s.forEach(a=>a())}}function Oo(e,t){return Array.from(e?.querySelectorAll(t)??[])}function iv(e,t){return e?.querySelector(t)??null}var Cs=e=>e.id;function sv(e,t,n=Cs){return e.find(r=>n(r)===t)}function Ss(e,t,n=Cs){const r=sv(e,t,n);return r?e.indexOf(r):-1}function av(e,t,n=!0){let r=Ss(e,t);return r=n?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function lv(e,t,n=!0){let r=Ss(e,t);return r===-1?n?e[e.length-1]:null:(r=n?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}var cv=e=>e.split("").map(t=>{const n=t.charCodeAt(0);return n>0&&n<128?t:n>=128&&n<=255?`/x${n.toString(16)}`.replace("/","\\"):""}).join("").trim(),uv=e=>cv(e.dataset?.valuetext??e.textContent??""),dv=(e,t)=>e.trim().toLowerCase().startsWith(t.toLowerCase());function hv(e,t,n,r=Cs){const o=n?Ss(e,n,r):-1;let i=n?h0(e,o):e;return t.length===1&&(i=i.filter(a=>r(a)!==n)),i.find(a=>dv(uv(a),t))}function Po(e,t){if(!e)return Zl;const n=Object.keys(t).reduce((r,o)=>(r[o]=e.style.getPropertyValue(o),r),{});return Object.assign(e.style,t),()=>{Object.assign(e.style,n),e.style.length===0&&e.removeAttribute("style")}}function fv(e,t,n){if(!e)return Zl;const r=e.style.getPropertyValue(t);return e.style.setProperty(t,n),()=>{e.style.setProperty(t,r),e.style.length===0&&e.removeAttribute("style")}}function gv(e,t){const{state:n,activeId:r,key:o,timeout:i=350,itemToId:s}=t,a=n.keysSoFar+o,c=a.length>1&&Array.from(a).every(g=>g===a[0])?a[0]:a;let u=e.slice();const d=hv(u,c,r,s);function h(){clearTimeout(n.timer),n.timer=-1}function m(g){n.keysSoFar=g,h(),g!==""&&(n.timer=+setTimeout(()=>{m(""),h()},i))}return m(a),d}var wr=Object.assign(gv,{defaultOptions:{keysSoFar:"",timer:-1},isValidEvent:pv});function pv(e){return e.key.length===1&&!e.ctrlKey&&!e.metaKey}function mv(e,t,n){const{signal:r}=t;return[new Promise((s,a)=>{const l=setTimeout(()=>{a(new Error(`Timeout of ${n}ms exceeded`))},n);r.addEventListener("abort",()=>{clearTimeout(l),a(new Error("Promise aborted"))}),e.then(c=>{r.aborted||(clearTimeout(l),s(c))}).catch(c=>{r.aborted||(clearTimeout(l),a(c))})}),()=>t.abort()]}function vv(e,t){const{timeout:n,rootNode:r}=t,o=be(r),i=Fe(r),s=new o.AbortController;return mv(new Promise(a=>{const l=e();if(l){a(l);return}const c=new o.MutationObserver(()=>{const u=e();u&&u.isConnected&&(c.disconnect(),a(u))});c.observe(i.body,{childList:!0,subtree:!0})}),s,n)}var bv=(...e)=>e.map(t=>t?.trim?.()).filter(Boolean).join(" "),yv=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,hc=e=>{const t={};let n;for(;n=yv.exec(e);)t[n[1]]=n[2];return t},xv=(e,t)=>{if(uo(e)){if(uo(t))return`${e};${t}`;e=hc(e)}else uo(t)&&(t=hc(t));return Object.assign({},e??{},t??{})};function qe(...e){let t={};for(let n of e){if(!n)continue;for(let o in t){if(o.startsWith("on")&&typeof t[o]=="function"&&typeof n[o]=="function"){t[o]=fo(n[o],t[o]);continue}if(o==="className"||o==="class"){t[o]=bv(t[o],n[o]);continue}if(o==="style"){t[o]=xv(t[o],n[o]);continue}t[o]=n[o]!==void 0?n[o]:t[o]}for(let o in n)t[o]===void 0&&(t[o]=n[o]);const r=Object.getOwnPropertySymbols(n);for(let o of r)t[o]=n[o]}return t}function fc(e,t,n){let r=[],o;return i=>{const s=e(i);return(s.length!==r.length||s.some((l,c)=>!Ze(r[c],l)))&&(r=s,o=t(s,i)),o}}function Ft(){return{and:(...e)=>function(n){return e.every(r=>n.guard(r))},or:(...e)=>function(n){return e.some(r=>n.guard(r))},not:e=>function(n){return!n.guard(e)}}}function KR(e){return e}function gc(){return{guards:Ft(),createMachine:e=>e,choose:e=>function({choose:n}){return n(e)?.actions}}}var jn=(e=>(e.NotStarted="Not Started",e.Started="Started",e.Stopped="Stopped",e))(jn||{}),ws="__init__";function kv(e){const t=()=>e.getRootNode?.()??document,n=()=>Fe(t());return{...e,getRootNode:t,getDoc:n,getWin:()=>n().defaultView??window,getActiveElement:()=>Cr(t()),isActiveElement:S0,getById:s=>t().getElementById(s)}}function Io(...e){return t=>{const n=[];for(const r of e)if(typeof r=="function"){const o=r(t);typeof o=="function"&&n.push(o)}else r&&(r.current=t);if(n.length)return()=>{for(const r of n)r()}}}function Cv(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const Es=e=>{const t=P.memo(P.forwardRef((n,r)=>{const{asChild:o,children:i,...s}=n;if(!o)return P.createElement(e,{...s,ref:r},i);if(!P.isValidElement(i))return null;const a=P.Children.only(i),l=Cv(a);return P.cloneElement(a,{...qe(s,a.props),ref:r?Io(r,l):l})}));return t.displayName=e.displayName||e.name,t},yt=(()=>{const e=new Map;return new Proxy(Es,{apply(t,n,r){return Es(r[0])},get(t,n){const r=n;return e.has(r)||e.set(r,Es(r)),e.get(r)}})})(),[XR,Sv]=Dn({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}}),pc=()=>(e,t)=>t.reduce((n,r)=>{const[o,i]=n,s=r;return i[s]!==void 0&&(o[s]=i[s]),delete i[s],[o,i]},[{},{...e}]),mc=e=>pc()(e,["immediate","lazyMount","onExitComplete","present","skipAnimationOnMount","unmountOnExit"]);function wv(e){return new Proxy({},{get(t,n){return n==="style"?r=>e({style:r}).style:e}})}var M=()=>e=>Array.from(new Set(e));function Ev(e,t){const{state:n,send:r,context:o}=e,i=n.matches("mounted","unmountSuspended");return{skip:!o.get("initial"),present:i,setNode(s){s&&r({type:"NODE.SET",node:s})},unmount(){r({type:"UNMOUNT"})}}}var Ov={props({props:e}){return{...e,present:!!e.present}},initialState({prop:e}){return e("present")?"mounted":"unmounted"},refs(){return{node:null,styles:null}},context({bindable:e}){return{unmountAnimationName:e(()=>({defaultValue:null})),prevAnimationName:e(()=>({defaultValue:null})),present:e(()=>({defaultValue:!1})),initial:e(()=>({sync:!0,defaultValue:!1}))}},exit:["clearInitial","cleanupNode"],watch({track:e,prop:t,send:n}){e([()=>t("present")],()=>{n({type:"PRESENCE.CHANGED"})})},on:{"NODE.SET":{actions:["setupNode"]},"PRESENCE.CHANGED":{actions:["setInitial","syncPresence"]}},states:{mounted:{on:{UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]},"UNMOUNT.SUSPEND":{target:"unmountSuspended"}}},unmountSuspended:{effects:["trackAnimationEvents"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]},UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]}}},unmounted:{on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]}}}},implementations:{actions:{setInitial:({context:e})=>{e.get("initial")||queueMicrotask(()=>{e.set("initial",!0)})},clearInitial:({context:e})=>{e.set("initial",!1)},invokeOnExitComplete:({prop:e})=>{e("onExitComplete")?.()},setupNode:({refs:e,event:t})=>{e.get("node")!==t.node&&(e.set("node",t.node),e.set("styles",vo(t.node)))},cleanupNode:({refs:e})=>{e.set("node",null),e.set("styles",null)},syncPresence:({context:e,refs:t,send:n,prop:r})=>{const o=r("present");if(o)return n({type:"MOUNT",src:"presence.changed"});const i=t.get("node");if(!o&&i?.ownerDocument.visibilityState==="hidden")return n({type:"UNMOUNT",src:"visibilitychange"});G(()=>{const s=Ro(t.get("styles"));e.set("unmountAnimationName",s),s==="none"||s===e.get("prevAnimationName")||t.get("styles")?.display==="none"||t.get("styles")?.animationDuration==="0s"?n({type:"UNMOUNT",src:"presence.changed"}):n({type:"UNMOUNT.SUSPEND"})})},setPrevAnimationName:({context:e,refs:t})=>{G(()=>{e.set("prevAnimationName",Ro(t.get("styles")))})},clearPrevAnimationName:({context:e})=>{e.set("prevAnimationName",null)}},effects:{trackAnimationEvents:({context:e,refs:t,send:n})=>{const r=t.get("node");if(!r)return;const o=a=>{(a.composedPath?.()?.[0]??a.target)===r&&e.set("prevAnimationName",Ro(t.get("styles")))},i=a=>{const l=Ro(t.get("styles"));$e(a)===r&&l===e.get("unmountAnimationName")&&n({type:"UNMOUNT",src:"animationend"})};r.addEventListener("animationstart",o),r.addEventListener("animationcancel",i),r.addEventListener("animationend",i);const s=Po(r,{animationFillMode:"forwards"});return()=>{r.removeEventListener("animationstart",o),r.removeEventListener("animationcancel",i),r.removeEventListener("animationend",i),ys(()=>s())}}}}};function Ro(e){return e?.animationName||"none"}M()(["onExitComplete","present","immediate"]);var vc=typeof globalThis.document<"u"?P.useLayoutEffect:P.useEffect;function To(e){const t=e().value??e().defaultValue,n=e().isEqual??Object.is,[r]=P.useState(t),[o,i]=P.useState(r),s=e().value!==void 0,a=P.useRef(o);a.current=s?e().value:o;const l=P.useRef(a.current);vc(()=>{l.current=a.current},[o,e().value]);const c=d=>{const h=l.current,m=Yt(d)?d(h):d;e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:m,prev:h}),s||i(m),n(m,h)||e().onChange?.(m,h)};function u(){return s?e().value:o}return{initial:r,ref:a,get:u,set(d){(e().sync?Tt.flushSync:qm)(()=>c(d))},invoke(d,h){e().onChange?.(d,h)},hash(d){return e().hash?.(d)??String(d)}}}To.cleanup=e=>{P.useEffect(()=>e,[])},To.ref=e=>{const t=P.useRef(e);return{get:()=>t.current,set:n=>{t.current=n}}};function Pv(e){const t=P.useRef(e);return{get(n){return t.current[n]},set(n,r){t.current[n]=r}}}var Iv=(e,t)=>{const n=P.useRef(!1),r=P.useRef(!1);P.useEffect(()=>{if(n.current&&r.current)return t();r.current=!0},[...(e??[]).map(o=>typeof o=="function"?o():o)]),P.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])};function bc(e,t={}){const n=P.useMemo(()=>{const{id:T,ids:S,getRootNode:N}=t;return kv({id:T,ids:S,getRootNode:N})},[t]),r=(...T)=>{e.debug&&console.log(...T)},o=e.props?.({props:po(t),scope:n})??t,i=Rv(o),s=e.context?.({prop:i,bindable:To,scope:n,flush:xc,getContext(){return l},getComputed(){return k},getRefs(){return p},getEvent(){return m()}}),a=yc(s),l={get(T){return a.current?.[T].ref.current},set(T,S){a.current?.[T].set(S)},initial(T){return a.current?.[T].initial},hash(T){const S=a.current?.[T].get();return a.current?.[T].hash(S)}},c=P.useRef(new Map),u=P.useRef(null),d=P.useRef(null),h=P.useRef({type:""}),m=()=>({...h.current,current(){return h.current},previous(){return d.current}}),g=()=>({...E,matches(...T){return T.includes(E.ref.current)},hasTag(T){return!!e.states[E.ref.current]?.tags?.includes(T)}}),p=Pv(e.refs?.({prop:i,context:l})??{}),v=()=>({state:g(),context:l,event:m(),prop:i,send:A,action:y,guard:x,track:Iv,refs:p,computed:k,flush:xc,scope:n,choose:C}),y=T=>{const S=Yt(T)?T(v()):T;if(!S)return;const N=S.map(D=>{const z=e.implementations?.actions?.[D];return z||kr(`[zag-js] No implementation found for action "${JSON.stringify(D)}"`),z});for(const D of N)D?.(v())},x=T=>Yt(T)?T(v()):e.implementations?.guards?.[T](v()),b=T=>{const S=Yt(T)?T(v()):T;if(!S)return;const N=S.map(z=>{const W=e.implementations?.effects?.[z];return W||kr(`[zag-js] No implementation found for effect "${JSON.stringify(z)}"`),W}),D=[];for(const z of N){const W=z?.(v());W&&D.push(W)}return()=>D.forEach(z=>z?.())},C=T=>co(T).find(S=>{let N=!S.guard;return uo(S.guard)?N=!!x(S.guard):Yt(S.guard)&&(N=S.guard(v())),N}),k=T=>{Xl(e.computed,()=>"[zag-js] No computed object found on machine");const S=e.computed[T];return S({context:l,event:m(),prop:i,refs:p,scope:n,computed:k})},E=To(()=>({defaultValue:e.initialState({prop:i}),onChange(T,S){S&&(c.current.get(S)?.(),c.current.delete(S)),S&&y(e.states[S]?.exit),y(u.current?.actions);const N=b(e.states[T]?.effects);if(N&&c.current.set(T,N),S===ws){y(e.entry);const D=b(e.effects);D&&c.current.set(ws,D)}y(e.states[T]?.entry)}})),I=P.useRef(void 0),R=P.useRef(jn.NotStarted);vc(()=>{queueMicrotask(()=>{const N=R.current===jn.Started;R.current=jn.Started,r(N?"rehydrating...":"initializing...");const D=I.current??E.initial;E.invoke(D,N?E.get():ws)});const T=c.current,S=E.ref.current;return()=>{r("unmounting..."),I.current=S,R.current=jn.Stopped,T.forEach(N=>N?.()),c.current=new Map,u.current=null,queueMicrotask(()=>{y(e.exit)})}},[]);const _=()=>"ref"in E?E.ref.current:E.get(),A=T=>{queueMicrotask(()=>{if(R.current!==jn.Started)return;d.current=h.current,h.current=T;let S=_();const N=e.states[S].on?.[T.type]??e.on?.[T.type],D=C(N);if(!D)return;u.current=D;const z=D.target??S;r("transition",T.type,D.target||S,`(${D.actions})`);const W=z!==S;W?Tt.flushSync(()=>E.set(z)):D.reenter&&!W?E.invoke(S,S):y(D.actions??[])})};return e.watch?.(v()),{state:g(),send:A,context:l,prop:i,scope:n,refs:p,computed:k,event:m(),getStatus:()=>R.current}}function yc(e){const t=P.useRef(e);return t.current=e,t}function Rv(e){const t=yc(e);return function(r){return t.current[r]}}function xc(e){queueMicrotask(()=>{Tt.flushSync(()=>e())})}var Tv=wv(e=>e);function Nv(e,t={}){const{sync:n=!1}=t,r=Av(e);return P.useCallback((...o)=>n?queueMicrotask(()=>r.current?.(...o)):r.current?.(...o),[n,r])}function Av(e){const t=P.useRef(e);return t.current=e,t}const Os=(e={})=>{const{lazyMount:t,unmountOnExit:n,present:r,skipAnimationOnMount:o=!1,...i}=e,s=P.useRef(!1),a={...i,present:r,onExitComplete:Nv(e.onExitComplete)},l=bc(Ov,a),c=Ev(l);c.present&&(s.current=!0);const u=!c.present&&!s.current&&t||n&&!c.present&&s.current,d=()=>({"data-state":c.skip&&o?void 0:r?"open":"closed",hidden:!c.present});return{ref:c.setNode,getPresenceProps:d,present:c.present,unmounted:u}},[kc,Ps]=Dn({name:"PresenceContext",hookName:"usePresenceContext",providerName:"<PresenceProvider />"}),No=ve("span"),{withContext:_v}=Nt({key:"text"}),Le=_v("p");function Cc(e,t=[]){const n=P.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return P.useInsertionEffect(()=>{n.current=e}),P.useCallback((...r)=>n.current?.(...r),t)}function Jt(e={}){const t=Cc(e.onOpen),n=Cc(e.onClose),[r,o]=P.useState(e.defaultOpen||!1),i=e.open!==void 0?e.open:r,s=e.open!==void 0,a=P.useCallback(()=>{s||o(!1),n?.()},[s,n]),l=P.useCallback(()=>{s||o(!0),t?.()},[s,t]),c=P.useCallback(()=>{i?a():l()},[i,l,a]);return{open:i,onOpen:l,onClose:a,onToggle:c,setOpen:o}}var j=(e,t=[])=>({parts:(...n)=>{if(Vv(t))return j(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>j(e,[...t,...n]),omit:(...n)=>j(e,t.filter(r=>!n.includes(r))),rename:n=>j(n,t),keys:()=>t,build:()=>[...new Set(t)].reduce((n,r)=>Object.assign(n,{[r]:{selector:[`&[data-scope="${$n(e)}"][data-part="${$n(r)}"]`,`& [data-scope="${$n(e)}"][data-part="${$n(r)}"]`].join(", "),attrs:{"data-scope":$n(e),"data-part":$n(r)}}}),{})}),$n=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Vv=e=>e.length===0,Sc=j("collapsible").parts("root","trigger","content","indicator");Sc.build(),M()(["dir","disabled","getRootNode","id","ids","onExitComplete","onOpenChange","defaultOpen","open"]);var Fv=Object.defineProperty,Lv=(e,t,n)=>t in e?Fv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Is=(e,t,n)=>Lv(e,t+"",n),Dv=(e,t)=>{if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0},Rs=class{toHexInt(){return this.toFormat("rgba").toHexInt()}getChannelValue(e){if(e in this)return this[e];throw new Error("Unsupported color channel: "+e)}getChannelValuePercent(e,t){const n=t??this.getChannelValue(e),{minValue:r,maxValue:o}=this.getChannelRange(e);return i0(n,r,o)}getChannelPercentValue(e,t){const{minValue:n,maxValue:r,step:o}=this.getChannelRange(e),i=s0(t,n,r,o);return ql(i,n,r,o)}withChannelValue(e,t){const{minValue:n,maxValue:r}=this.getChannelRange(e);if(e in this){let o=this.clone();return o[e]=Ve(t,n,r),o}throw new Error("Unsupported color channel: "+e)}getColorAxes(e){let{xChannel:t,yChannel:n}=e,r=t||this.getChannels().find(s=>s!==n),o=n||this.getChannels().find(s=>s!==r),i=this.getChannels().find(s=>s!==r&&s!==o);return{xChannel:r,yChannel:o,zChannel:i}}incrementChannel(e,t){const{minValue:n,maxValue:r,step:o}=this.getChannelRange(e),i=ql(Ve(this.getChannelValue(e)+t,n,r),n,r,o);return this.withChannelValue(e,i)}decrementChannel(e,t){return this.incrementChannel(e,-t)}isEqual(e){return Dv(this.toJSON(),e.toJSON())&&this.getChannelValue("alpha")===e.getChannelValue("alpha")}},zv=/^#[\da-f]+$/i,Mv=/^rgba?\((.*)\)$/,jv=/[^#]/gi,wc=class ji extends Rs{constructor(t,n,r,o){super(),this.red=t,this.green=n,this.blue=r,this.alpha=o}static parse(t){let n=[];if(zv.test(t)&&[4,5,7,9].includes(t.length)){const o=(t.length<6?t.replace(jv,"$&$&"):t).slice(1).split("");for(;o.length>0;)n.push(parseInt(o.splice(0,2).join(""),16));n[3]=n[3]!==void 0?n[3]/255:void 0}const r=t.match(Mv);return r?.[1]&&(n=r[1].split(",").map(o=>Number(o.trim())).map((o,i)=>Ve(o,0,i<3?255:1))),n.length<3?void 0:new ji(n[0],n[1],n[2],n[3]??1)}toString(t){switch(t){case"hex":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")).toUpperCase();case"hexa":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")+Math.round(this.alpha*255).toString(16).padStart(2,"0")).toUpperCase();case"rgb":return`rgb(${this.red}, ${this.green}, ${this.blue})`;case"css":case"rgba":return`rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;case"hsl":return this.toHSL().toString("hsl");case"hsb":return this.toHSB().toString("hsb");default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"rgba":return this;case"hsba":return this.toHSB();case"hsla":return this.toHSL();default:throw new Error("Unsupported color conversion: rgb -> "+t)}}toHexInt(){return this.red<<16|this.green<<8|this.blue}toHSB(){const t=this.red/255,n=this.green/255,r=this.blue/255,o=Math.min(t,n,r),i=Math.max(t,n,r),s=i-o,a=i===0?0:s/i;let l=0;if(s!==0){switch(i){case t:l=(n-r)/s+(n<r?6:0);break;case n:l=(r-t)/s+2;break;case r:l=(t-n)/s+4;break}l/=6}return new As(oe(l*360,2),oe(a*100,2),oe(i*100,2),oe(this.alpha,2))}toHSL(){const t=this.red/255,n=this.green/255,r=this.blue/255,o=Math.min(t,n,r),i=Math.max(t,n,r),s=(i+o)/2,a=i-o;let l=-1,c=-1;if(a===0)l=c=0;else{switch(c=a/(s<.5?i+o:2-i-o),i){case t:l=(n-r)/a+(n<r?6:0);break;case n:l=(r-t)/a+2;break;case r:l=(t-n)/a+4;break}l/=6}return new Ns(oe(l*360,2),oe(c*100,2),oe(s*100,2),oe(this.alpha,2))}clone(){return new ji(this.red,this.green,this.blue,this.alpha)}getChannelFormatOptions(t){switch(t){case"red":case"green":case"blue":return{style:"decimal"};case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),o=this.getChannelValue(t);return new Intl.NumberFormat(n,r).format(o)}getChannelRange(t){switch(t){case"red":case"green":case"blue":return{minValue:0,maxValue:255,step:1,pageSize:17};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}toJSON(){return{r:this.red,g:this.green,b:this.blue,a:this.alpha}}getFormat(){return"rgba"}getChannels(){return ji.colorChannels}};Is(wc,"colorChannels",["red","green","blue"]);var Ts=wc,$v=/hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,Ec=class $i extends Rs{constructor(t,n,r,o){super(),this.hue=t,this.saturation=n,this.lightness=r,this.alpha=o}static parse(t){let n;if(n=t.match($v)){const[r,o,i,s]=(n[1]??n[2]).split(",").map(a=>Number(a.trim().replace("%","")));return new $i(Ul(r,360),Ve(o,0,100),Ve(i,0,100),Ve(s??1,0,1))}}toString(t){switch(t){case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsl":return`hsl(${this.hue}, ${oe(this.saturation,2)}%, ${oe(this.lightness,2)}%)`;case"css":case"hsla":return`hsla(${this.hue}, ${oe(this.saturation,2)}%, ${oe(this.lightness,2)}%, ${this.alpha})`;case"hsb":return this.toHSB().toString("hsb");case"rgb":return this.toRGB().toString("rgb");default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"hsla":return this;case"hsba":return this.toHSB();case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsl -> "+t)}}toHSB(){let t=this.saturation/100,n=this.lightness/100,r=n+t*Math.min(n,1-n);return t=r===0?0:2*(1-n/r),new As(oe(this.hue,2),oe(t*100,2),oe(r*100,2),oe(this.alpha,2))}toRGB(){let t=this.hue,n=this.saturation/100,r=this.lightness/100,o=n*Math.min(r,1-r),i=(s,a=(s+t/30)%12)=>r-o*Math.max(Math.min(a-3,9-a,1),-1);return new Ts(Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255),oe(this.alpha,2))}clone(){return new $i(this.hue,this.saturation,this.lightness,this.alpha)}getChannelFormatOptions(t){switch(t){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"lightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),o=this.getChannelValue(t);return(t==="saturation"||t==="lightness")&&(o/=100),new Intl.NumberFormat(n,r).format(o)}getChannelRange(t){switch(t){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"lightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}toJSON(){return{h:this.hue,s:this.saturation,l:this.lightness,a:this.alpha}}getFormat(){return"hsla"}getChannels(){return $i.colorChannels}};Is(Ec,"colorChannels",["hue","saturation","lightness"]);var Ns=Ec,Bv=/hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsba\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,Oc=class Bi extends Rs{constructor(t,n,r,o){super(),this.hue=t,this.saturation=n,this.brightness=r,this.alpha=o}static parse(t){let n;if(n=t.match(Bv)){const[r,o,i,s]=(n[1]??n[2]).split(",").map(a=>Number(a.trim().replace("%","")));return new Bi(Ul(r,360),Ve(o,0,100),Ve(i,0,100),Ve(s??1,0,1))}}toString(t){switch(t){case"css":return this.toHSL().toString("css");case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsb":return`hsb(${this.hue}, ${oe(this.saturation,2)}%, ${oe(this.brightness,2)}%)`;case"hsba":return`hsba(${this.hue}, ${oe(this.saturation,2)}%, ${oe(this.brightness,2)}%, ${this.alpha})`;case"hsl":return this.toHSL().toString("hsl");case"rgb":return this.toRGB().toString("rgb");default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"hsba":return this;case"hsla":return this.toHSL();case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsb -> "+t)}}toHSL(){let t=this.saturation/100,n=this.brightness/100,r=n*(1-t/2);return t=r===0||r===1?0:(n-r)/Math.min(r,1-r),new Ns(oe(this.hue,2),oe(t*100,2),oe(r*100,2),oe(this.alpha,2))}toRGB(){let t=this.hue,n=this.saturation/100,r=this.brightness/100,o=(i,s=(i+t/60)%6)=>r-n*r*Math.max(Math.min(s,4-s,1),0);return new Ts(Math.round(o(5)*255),Math.round(o(3)*255),Math.round(o(1)*255),oe(this.alpha,2))}clone(){return new Bi(this.hue,this.saturation,this.brightness,this.alpha)}getChannelFormatOptions(t){switch(t){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"brightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),o=this.getChannelValue(t);return(t==="saturation"||t==="brightness")&&(o/=100),new Intl.NumberFormat(n,r).format(o)}getChannelRange(t){switch(t){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"brightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}toJSON(){return{h:this.hue,s:this.saturation,b:this.brightness,a:this.alpha}}getFormat(){return"hsba"}getChannels(){return Bi.colorChannels}};Is(Oc,"colorChannels",["hue","saturation","brightness"]);var As=Oc,Wv="aliceblue:f0f8ff,antiquewhite:faebd7,aqua:00ffff,aquamarine:7fffd4,azure:f0ffff,beige:f5f5dc,bisque:ffe4c4,black:000000,blanchedalmond:ffebcd,blue:0000ff,blueviolet:8a2be2,brown:a52a2a,burlywood:deb887,cadetblue:5f9ea0,chartreuse:7fff00,chocolate:d2691e,coral:ff7f50,cornflowerblue:6495ed,cornsilk:fff8dc,crimson:dc143c,cyan:00ffff,darkblue:00008b,darkcyan:008b8b,darkgoldenrod:b8860b,darkgray:a9a9a9,darkgreen:006400,darkkhaki:bdb76b,darkmagenta:8b008b,darkolivegreen:556b2f,darkorange:ff8c00,darkorchid:9932cc,darkred:8b0000,darksalmon:e9967a,darkseagreen:8fbc8f,darkslateblue:483d8b,darkslategray:2f4f4f,darkturquoise:00ced1,darkviolet:9400d3,deeppink:ff1493,deepskyblue:00bfff,dimgray:696969,dodgerblue:1e90ff,firebrick:b22222,floralwhite:fffaf0,forestgreen:228b22,fuchsia:ff00ff,gainsboro:dcdcdc,ghostwhite:f8f8ff,gold:ffd700,goldenrod:daa520,gray:808080,green:008000,greenyellow:adff2f,honeydew:f0fff0,hotpink:ff69b4,indianred:cd5c5c,indigo:4b0082,ivory:fffff0,khaki:f0e68c,lavender:e6e6fa,lavenderblush:fff0f5,lawngreen:7cfc00,lemonchiffon:fffacd,lightblue:add8e6,lightcoral:f08080,lightcyan:e0ffff,lightgoldenrodyellow:fafad2,lightgrey:d3d3d3,lightgreen:90ee90,lightpink:ffb6c1,lightsalmon:ffa07a,lightseagreen:20b2aa,lightskyblue:87cefa,lightslategray:778899,lightsteelblue:b0c4de,lightyellow:ffffe0,lime:00ff00,limegreen:32cd32,linen:faf0e6,magenta:ff00ff,maroon:800000,mediumaquamarine:66cdaa,mediumblue:0000cd,mediumorchid:ba55d3,mediumpurple:9370d8,mediumseagreen:3cb371,mediumslateblue:7b68ee,mediumspringgreen:00fa9a,mediumturquoise:48d1cc,mediumvioletred:c71585,midnightblue:191970,mintcream:f5fffa,mistyrose:ffe4e1,moccasin:ffe4b5,navajowhite:ffdead,navy:000080,oldlace:fdf5e6,olive:808000,olivedrab:6b8e23,orange:ffa500,orangered:ff4500,orchid:da70d6,palegoldenrod:eee8aa,palegreen:98fb98,paleturquoise:afeeee,palevioletred:d87093,papayawhip:ffefd5,peachpuff:ffdab9,peru:cd853f,pink:ffc0cb,plum:dda0dd,powderblue:b0e0e6,purple:800080,rebeccapurple:663399,red:ff0000,rosybrown:bc8f8f,royalblue:4169e1,saddlebrown:8b4513,salmon:fa8072,sandybrown:f4a460,seagreen:2e8b57,seashell:fff5ee,sienna:a0522d,silver:c0c0c0,skyblue:87ceeb,slateblue:6a5acd,slategray:708090,snow:fffafa,springgreen:00ff7f,steelblue:4682b4,tan:d2b48c,teal:008080,thistle:d8bfd8,tomato:ff6347,turquoise:40e0d0,violet:ee82ee,wheat:f5deb3,white:ffffff,whitesmoke:f5f5f5,yellow:ffff00,yellowgreen:9acd32",Hv=e=>{const t=new Map,n=e.split(",");for(let r=0;r<n.length;r++){const[o,i]=n[r].split(":");t.set(o,`#${i}`),o.includes("gray")&&t.set(o.replace("gray","grey"),`#${i}`)}return t},Pc=Hv(Wv),Ao=e=>{if(Pc.has(e))return Ao(Pc.get(e));const t=Ts.parse(e)||As.parse(e)||Ns.parse(e);if(!t){const n=new Error("Invalid color value: "+e);throw Error.captureStackTrace?.(n,Ao),n}return t};const Uv=["top","right","bottom","left"],Lt=Math.min,Be=Math.max,_o=Math.round,Vo=Math.floor,ct=e=>({x:e,y:e}),Gv={left:"right",right:"left",bottom:"top",top:"bottom"},qv={start:"end",end:"start"};function _s(e,t,n){return Be(e,Lt(t,n))}function xt(e,t){return typeof e=="function"?e(t):e}function kt(e){return e.split("-")[0]}function Bn(e){return e.split("-")[1]}function Vs(e){return e==="x"?"y":"x"}function Fs(e){return e==="y"?"height":"width"}const Kv=new Set(["top","bottom"]);function ut(e){return Kv.has(kt(e))?"y":"x"}function Ls(e){return Vs(ut(e))}function Yv(e,t,n){n===void 0&&(n=!1);const r=Bn(e),o=Ls(e),i=Fs(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Fo(s)),[s,Fo(s)]}function Xv(e){const t=Fo(e);return[Ds(e),t,Ds(t)]}function Ds(e){return e.replace(/start|end/g,t=>qv[t])}const Ic=["left","right"],Rc=["right","left"],Qv=["top","bottom"],Jv=["bottom","top"];function Zv(e,t,n){switch(e){case"top":case"bottom":return n?t?Rc:Ic:t?Ic:Rc;case"left":case"right":return t?Qv:Jv;default:return[]}}function eb(e,t,n,r){const o=Bn(e);let i=Zv(kt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Ds)))),i}function Fo(e){return e.replace(/left|right|bottom|top/g,t=>Gv[t])}function tb(e){return{top:0,right:0,bottom:0,left:0,...e}}function Tc(e){return typeof e!="number"?tb(e):{top:e,right:e,bottom:e,left:e}}function Lo(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Nc(e,t,n){let{reference:r,floating:o}=e;const i=ut(t),s=Ls(t),a=Fs(s),l=kt(t),c=i==="y",u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let m;switch(l){case"top":m={x:u,y:r.y-o.height};break;case"bottom":m={x:u,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:d};break;case"left":m={x:r.x-o.width,y:d};break;default:m={x:r.x,y:r.y}}switch(Bn(t)){case"start":m[s]-=h*(n&&c?-1:1);break;case"end":m[s]+=h*(n&&c?-1:1);break}return m}const nb=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=Nc(c,r,l),h=r,m={},g=0;for(let p=0;p<a.length;p++){const{name:v,fn:y}=a[p],{x,y:b,data:C,reset:k}=await y({x:u,y:d,initialPlacement:r,placement:h,strategy:o,middlewareData:m,rects:c,platform:s,elements:{reference:e,floating:t}});u=x??u,d=b??d,m={...m,[v]:{...m[v],...C}},k&&g<=50&&(g++,typeof k=="object"&&(k.placement&&(h=k.placement),k.rects&&(c=k.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:u,y:d}=Nc(c,h,l)),p=-1)}return{x:u,y:d,placement:h,strategy:o,middlewareData:m}};async function Er(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:m=0}=xt(t,e),g=Tc(m),v=a[h?d==="floating"?"reference":"floating":d],y=Lo(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),x=d==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),C=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},k=Lo(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:b,strategy:l}):x);return{top:(y.top-k.top+g.top)/C.y,bottom:(k.bottom-y.bottom+g.bottom)/C.y,left:(y.left-k.left+g.left)/C.x,right:(k.right-y.right+g.right)/C.x}}const rb=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=xt(e,t)||{};if(c==null)return{};const d=Tc(u),h={x:n,y:r},m=Ls(o),g=Fs(m),p=await s.getDimensions(c),v=m==="y",y=v?"top":"left",x=v?"bottom":"right",b=v?"clientHeight":"clientWidth",C=i.reference[g]+i.reference[m]-h[m]-i.floating[g],k=h[m]-i.reference[m],E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let I=E?E[b]:0;(!I||!await(s.isElement==null?void 0:s.isElement(E)))&&(I=a.floating[b]||i.floating[g]);const R=C/2-k/2,_=I/2-p[g]/2-1,A=Lt(d[y],_),T=Lt(d[x],_),S=A,N=I-p[g]-T,D=I/2-p[g]/2+R,z=_s(S,D,N),W=!l.arrow&&Bn(o)!=null&&D!==z&&i.reference[g]/2-(D<S?A:T)-p[g]/2<0,J=W?D<S?D-S:D-N:0;return{[m]:h[m]+J,data:{[m]:z,centerOffset:D-z-J,...W&&{alignmentOffset:J}},reset:W}}}),ob=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:p=!0,...v}=xt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=kt(o),x=ut(a),b=kt(a)===a,C=await(l.isRTL==null?void 0:l.isRTL(c.floating)),k=h||(b||!p?[Fo(a)]:Xv(a)),E=g!=="none";!h&&E&&k.push(...eb(a,p,g,C));const I=[a,...k],R=await Er(t,v),_=[];let A=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&_.push(R[y]),d){const D=Yv(o,s,C);_.push(R[D[0]],R[D[1]])}if(A=[...A,{placement:o,overflows:_}],!_.every(D=>D<=0)){var T,S;const D=(((T=i.flip)==null?void 0:T.index)||0)+1,z=I[D];if(z&&(!(d==="alignment"?x!==ut(z):!1)||A.every(ee=>ut(ee.placement)===x?ee.overflows[0]>0:!0)))return{data:{index:D,overflows:A},reset:{placement:z}};let W=(S=A.filter(J=>J.overflows[0]<=0).sort((J,ee)=>J.overflows[1]-ee.overflows[1])[0])==null?void 0:S.placement;if(!W)switch(m){case"bestFit":{var N;const J=(N=A.filter(ee=>{if(E){const $=ut(ee.placement);return $===x||$==="y"}return!0}).map(ee=>[ee.placement,ee.overflows.filter($=>$>0).reduce(($,q)=>$+q,0)]).sort((ee,$)=>ee[1]-$[1])[0])==null?void 0:N[0];J&&(W=J);break}case"initialPlacement":W=a;break}if(o!==W)return{reset:{placement:W}}}return{}}}};function Ac(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function _c(e){return Uv.some(t=>e[t]>=0)}const ib=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=xt(e,t);switch(r){case"referenceHidden":{const i=await Er(t,{...o,elementContext:"reference"}),s=Ac(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:_c(s)}}}case"escaped":{const i=await Er(t,{...o,altBoundary:!0}),s=Ac(i,n.floating);return{data:{escapedOffsets:s,escaped:_c(s)}}}default:return{}}}}},Vc=new Set(["left","top"]);async function sb(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=kt(n),a=Bn(n),l=ut(n)==="y",c=Vc.has(s)?-1:1,u=i&&l?-1:1,d=xt(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof g=="number"&&(m=a==="end"?g*-1:g),l?{x:m*u,y:h*c}:{x:h*c,y:m*u}}const ab=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await sb(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},lb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:v=>{let{x:y,y:x}=v;return{x:y,y:x}}},...l}=xt(e,t),c={x:n,y:r},u=await Er(t,l),d=ut(kt(o)),h=Vs(d);let m=c[h],g=c[d];if(i){const v=h==="y"?"top":"left",y=h==="y"?"bottom":"right",x=m+u[v],b=m-u[y];m=_s(x,m,b)}if(s){const v=d==="y"?"top":"left",y=d==="y"?"bottom":"right",x=g+u[v],b=g-u[y];g=_s(x,g,b)}const p=a.fn({...t,[h]:m,[d]:g});return{...p,data:{x:p.x-n,y:p.y-r,enabled:{[h]:i,[d]:s}}}}}},cb=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=xt(e,t),u={x:n,y:r},d=ut(o),h=Vs(d);let m=u[h],g=u[d];const p=xt(a,t),v=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(l){const b=h==="y"?"height":"width",C=i.reference[h]-i.floating[b]+v.mainAxis,k=i.reference[h]+i.reference[b]-v.mainAxis;m<C?m=C:m>k&&(m=k)}if(c){var y,x;const b=h==="y"?"width":"height",C=Vc.has(kt(o)),k=i.reference[d]-i.floating[b]+(C&&((y=s.offset)==null?void 0:y[d])||0)+(C?0:v.crossAxis),E=i.reference[d]+i.reference[b]+(C?0:((x=s.offset)==null?void 0:x[d])||0)-(C?v.crossAxis:0);g<k?g=k:g>E&&(g=E)}return{[h]:m,[d]:g}}}},ub=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...c}=xt(e,t),u=await Er(t,c),d=kt(o),h=Bn(o),m=ut(o)==="y",{width:g,height:p}=i.floating;let v,y;d==="top"||d==="bottom"?(v=d,y=h===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(y=d,v=h==="end"?"top":"bottom");const x=p-u.top-u.bottom,b=g-u.left-u.right,C=Lt(p-u[v],x),k=Lt(g-u[y],b),E=!t.middlewareData.shift;let I=C,R=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(R=b),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(I=x),E&&!h){const A=Be(u.left,0),T=Be(u.right,0),S=Be(u.top,0),N=Be(u.bottom,0);m?R=g-2*(A!==0||T!==0?A+T:Be(u.left,u.right)):I=p-2*(S!==0||N!==0?S+N:Be(u.top,u.bottom))}await l({...t,availableWidth:R,availableHeight:I});const _=await s.getDimensions(a.floating);return g!==_.width||p!==_.height?{reset:{rects:!0}}:{}}}};function Do(){return typeof window<"u"}function Wn(e){return Fc(e)?(e.nodeName||"").toLowerCase():"#document"}function We(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function dt(e){var t;return(t=(Fc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Fc(e){return Do()?e instanceof Node||e instanceof We(e).Node:!1}function et(e){return Do()?e instanceof Element||e instanceof We(e).Element:!1}function ht(e){return Do()?e instanceof HTMLElement||e instanceof We(e).HTMLElement:!1}function Lc(e){return!Do()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof We(e).ShadowRoot}const db=new Set(["inline","contents"]);function Or(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!db.has(o)}const hb=new Set(["table","td","th"]);function fb(e){return hb.has(Wn(e))}const gb=[":popover-open",":modal"];function zo(e){return gb.some(t=>{try{return e.matches(t)}catch{return!1}})}const pb=["transform","translate","scale","rotate","perspective"],mb=["transform","translate","scale","rotate","perspective","filter"],vb=["paint","layout","strict","content"];function zs(e){const t=Ms(),n=et(e)?tt(e):e;return pb.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||mb.some(r=>(n.willChange||"").includes(r))||vb.some(r=>(n.contain||"").includes(r))}function bb(e){let t=Dt(e);for(;ht(t)&&!Hn(t);){if(zs(t))return t;if(zo(t))return null;t=Dt(t)}return null}function Ms(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const yb=new Set(["html","body","#document"]);function Hn(e){return yb.has(Wn(e))}function tt(e){return We(e).getComputedStyle(e)}function Mo(e){return et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Dt(e){if(Wn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Lc(e)&&e.host||dt(e);return Lc(t)?t.host:t}function Dc(e){const t=Dt(e);return Hn(t)?e.ownerDocument?e.ownerDocument.body:e.body:ht(t)&&Or(t)?t:Dc(t)}function Pr(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Dc(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=We(o);if(i){const a=js(s);return t.concat(s,s.visualViewport||[],Or(o)?o:[],a&&n?Pr(a):[])}return t.concat(o,Pr(o,[],n))}function js(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zc(e){const t=tt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ht(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=_o(n)!==i||_o(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function $s(e){return et(e)?e:e.contextElement}function Un(e){const t=$s(e);if(!ht(t))return ct(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=zc(t);let s=(i?_o(n.width):n.width)/r,a=(i?_o(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const xb=ct(0);function Mc(e){const t=We(e);return!Ms()||!t.visualViewport?xb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function kb(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==We(e)?!1:t}function Zt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=$s(e);let s=ct(1);t&&(r?et(r)&&(s=Un(r)):s=Un(e));const a=kb(i,n,r)?Mc(i):ct(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,d=o.height/s.y;if(i){const h=We(i),m=r&&et(r)?We(r):r;let g=h,p=js(g);for(;p&&r&&m!==g;){const v=Un(p),y=p.getBoundingClientRect(),x=tt(p),b=y.left+(p.clientLeft+parseFloat(x.paddingLeft))*v.x,C=y.top+(p.clientTop+parseFloat(x.paddingTop))*v.y;l*=v.x,c*=v.y,u*=v.x,d*=v.y,l+=b,c+=C,g=We(p),p=js(g)}}return Lo({width:u,height:d,x:l,y:c})}function jo(e,t){const n=Mo(e).scrollLeft;return t?t.left+n:Zt(dt(e)).left+n}function jc(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-jo(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Cb(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=dt(r),a=t?zo(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=ct(1);const u=ct(0),d=ht(r);if((d||!d&&!i)&&((Wn(r)!=="body"||Or(s))&&(l=Mo(r)),ht(r))){const m=Zt(r);c=Un(r),u.x=m.x+r.clientLeft,u.y=m.y+r.clientTop}const h=s&&!d&&!i?jc(s,l):ct(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-l.scrollTop*c.y+u.y+h.y}}function Sb(e){return Array.from(e.getClientRects())}function wb(e){const t=dt(e),n=Mo(e),r=e.ownerDocument.body,o=Be(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Be(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+jo(e);const a=-n.scrollTop;return tt(r).direction==="rtl"&&(s+=Be(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}const $c=25;function Eb(e,t){const n=We(e),r=dt(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const u=Ms();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const c=jo(r);if(c<=0){const u=r.ownerDocument,d=u.body,h=getComputedStyle(d),m=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,g=Math.abs(r.clientWidth-d.clientWidth-m);g<=$c&&(i-=g)}else c<=$c&&(i+=c);return{width:i,height:s,x:a,y:l}}const Ob=new Set(["absolute","fixed"]);function Pb(e,t){const n=Zt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ht(e)?Un(e):ct(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,c=r*i.y;return{width:s,height:a,x:l,y:c}}function Bc(e,t,n){let r;if(t==="viewport")r=Eb(e,n);else if(t==="document")r=wb(dt(e));else if(et(t))r=Pb(t,n);else{const o=Mc(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Lo(r)}function Wc(e,t){const n=Dt(e);return n===t||!et(n)||Hn(n)?!1:tt(n).position==="fixed"||Wc(n,t)}function Ib(e,t){const n=t.get(e);if(n)return n;let r=Pr(e,[],!1).filter(a=>et(a)&&Wn(a)!=="body"),o=null;const i=tt(e).position==="fixed";let s=i?Dt(e):e;for(;et(s)&&!Hn(s);){const a=tt(s),l=zs(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&Ob.has(o.position)||Or(s)&&!l&&Wc(e,s))?r=r.filter(u=>u!==s):o=a,s=Dt(s)}return t.set(e,r),r}function Rb(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?zo(t)?[]:Ib(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((c,u)=>{const d=Bc(t,u,o);return c.top=Be(d.top,c.top),c.right=Lt(d.right,c.right),c.bottom=Lt(d.bottom,c.bottom),c.left=Be(d.left,c.left),c},Bc(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Tb(e){const{width:t,height:n}=zc(e);return{width:t,height:n}}function Nb(e,t,n){const r=ht(t),o=dt(t),i=n==="fixed",s=Zt(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=ct(0);function c(){l.x=jo(o)}if(r||!r&&!i)if((Wn(t)!=="body"||Or(o))&&(a=Mo(t)),r){const m=Zt(t,!0,i,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else o&&c();i&&!r&&o&&c();const u=o&&!r&&!i?jc(o,a):ct(0),d=s.left+a.scrollLeft-l.x-u.x,h=s.top+a.scrollTop-l.y-u.y;return{x:d,y:h,width:s.width,height:s.height}}function Bs(e){return tt(e).position==="static"}function Hc(e,t){if(!ht(e)||tt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return dt(e)===n&&(n=n.ownerDocument.body),n}function Uc(e,t){const n=We(e);if(zo(e))return n;if(!ht(e)){let o=Dt(e);for(;o&&!Hn(o);){if(et(o)&&!Bs(o))return o;o=Dt(o)}return n}let r=Hc(e,t);for(;r&&fb(r)&&Bs(r);)r=Hc(r,t);return r&&Hn(r)&&Bs(r)&&!zs(r)?n:r||bb(e)||n}const Ab=async function(e){const t=this.getOffsetParent||Uc,n=this.getDimensions,r=await n(e.floating);return{reference:Nb(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function _b(e){return tt(e).direction==="rtl"}const Vb={convertOffsetParentRelativeRectToViewportRelativeRect:Cb,getDocumentElement:dt,getClippingRect:Rb,getOffsetParent:Uc,getElementRects:Ab,getClientRects:Sb,getDimensions:Tb,getScale:Un,isElement:et,isRTL:_b};function Gc(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Fb(e,t){let n=null,r;const o=dt(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:h,height:m}=c;if(a||t(),!h||!m)return;const g=Vo(d),p=Vo(o.clientWidth-(u+h)),v=Vo(o.clientHeight-(d+m)),y=Vo(u),b={rootMargin:-g+"px "+-p+"px "+-v+"px "+-y+"px",threshold:Be(0,Lt(1,l))||1};let C=!0;function k(E){const I=E[0].intersectionRatio;if(I!==l){if(!C)return s();I?s(!1,I):r=setTimeout(()=>{s(!1,1e-7)},1e3)}I===1&&!Gc(c,e.getBoundingClientRect())&&s(),C=!1}try{n=new IntersectionObserver(k,{...b,root:o.ownerDocument})}catch{n=new IntersectionObserver(k,b)}n.observe(e)}return s(!0),i}function Lb(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=$s(e),u=o||i?[...c?Pr(c):[],...Pr(t)]:[];u.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const d=c&&a?Fb(c,n):null;let h=-1,m=null;s&&(m=new ResizeObserver(y=>{let[x]=y;x&&x.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=m)==null||b.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let g,p=l?Zt(e):null;l&&v();function v(){const y=Zt(e);p&&!Gc(p,y)&&n(),p=y,g=requestAnimationFrame(v)}return n(),()=>{var y;u.forEach(x=>{o&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),d?.(),(y=m)==null||y.disconnect(),m=null,l&&cancelAnimationFrame(g)}}const Db=ab,zb=lb,Mb=ob,jb=ub,$b=ib,Bb=rb,Wb=cb,Hb=(e,t,n)=>{const r=new Map,o={platform:Vb,...n},i={...o.platform,_c:r};return nb(e,t,{...o,platform:i})};function qc(e=0,t=0,n=0,r=0){if(typeof DOMRect=="function")return new DOMRect(e,t,n,r);const o={x:e,y:t,width:n,height:r,top:t,right:e+n,bottom:t+r,left:e};return{...o,toJSON:()=>o}}function Ub(e){if(!e)return qc();const{x:t,y:n,width:r,height:o}=e;return qc(t,n,r,o)}function Gb(e,t){return{contextElement:Te(e)?e:void 0,getBoundingClientRect:()=>{const n=e,r=t?.(n);return r||!n?Ub(r):n.getBoundingClientRect()}}}var Kc=e=>({variable:e,reference:`var(${e})`}),Yc={transformOrigin:Kc("--transform-origin"),arrowOffset:Kc("--arrow-offset")},qb=e=>e==="top"||e==="bottom"?"y":"x";function Kb(e,t){return{name:"transformOrigin",fn(n){const{elements:r,middlewareData:o,placement:i,rects:s,y:a}=n,l=i.split("-")[0],c=qb(l),u=o.arrow?.x||0,d=o.arrow?.y||0,h=t?.clientWidth||0,m=t?.clientHeight||0,g=u+h/2,p=d+m/2,v=Math.abs(o.shift?.y||0),y=s.reference.height/2,x=m/2,b=e.offset?.mainAxis??e.gutter,C=typeof b=="number"?b+x:b??x,k=v>C,E={top:`${g}px calc(100% + ${C}px)`,bottom:`${g}px ${-C}px`,left:`calc(100% + ${C}px) ${p}px`,right:`${-C}px ${p}px`}[l],I=`${g}px ${s.reference.y+y-a}px`,R=!!e.overlap&&c==="y"&&k;return r.floating.style.setProperty(Yc.transformOrigin.variable,R?I:E),{data:{transformOrigin:R?I:E}}}}}var Yb={name:"rects",fn({rects:e}){return{data:e}}},Xb=e=>{if(e)return{name:"shiftArrow",fn({placement:t,middlewareData:n}){if(!n.arrow)return{};const{x:r,y:o}=n.arrow,i=t.split("-")[0];return Object.assign(e.style,{left:r!=null?`${r}px`:"",top:o!=null?`${o}px`:"",[i]:`calc(100% + ${Yc.arrowOffset.reference})`}),{}}}};function Qb(e){const[t,n]=e.split("-");return{side:t,align:n,hasAlign:n!=null}}function Jb(e){return e.split("-")[0]}var Zb={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function Xc(e,t){const n=e.devicePixelRatio||1;return Math.round(t*n)/n}function Ws(e){return typeof e=="function"?e():e==="clipping-ancestors"?"clippingAncestors":e}function ey(e,t,n){const r=e||t.createElement("div");return Bb({element:r,padding:n.arrowPadding})}function ty(e,t){if(!jm(t.offset??t.gutter))return Db(({placement:n})=>{const r=(e?.clientHeight||0)/2,o=t.offset?.mainAxis??t.gutter,i=typeof o=="number"?o+r:o??r,{hasAlign:s}=Qb(n),a=s?void 0:t.shift,l=t.offset?.crossAxis??a;return po({crossAxis:l,mainAxis:i,alignmentAxis:t.shift})})}function ny(e){if(!e.flip)return;const t=Ws(e.boundary);return Mb({...t?{boundary:t}:void 0,padding:e.overflowPadding,fallbackPlacements:e.flip===!0?void 0:e.flip})}function ry(e){if(!e.slide&&!e.overlap)return;const t=Ws(e.boundary);return zb({...t?{boundary:t}:void 0,mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:Wb()})}function oy(e){return jb({padding:e.overflowPadding,apply({elements:t,rects:n,availableHeight:r,availableWidth:o}){const i=t.floating,s=Math.round(n.reference.width),a=Math.round(n.reference.height);o=Math.floor(o),r=Math.floor(r),i.style.setProperty("--reference-width",`${s}px`),i.style.setProperty("--reference-height",`${a}px`),i.style.setProperty("--available-width",`${o}px`),i.style.setProperty("--available-height",`${r}px`)}})}function iy(e){if(e.hideWhenDetached)return $b({strategy:"referenceHidden",boundary:Ws(e.boundary)??"clippingAncestors"})}function sy(e){return e?e===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:e:{}}function ay(e,t,n={}){const r=Gb(e,n.getAnchorRect);if(!t||!r)return;const o=Object.assign({},Zb,n),i=t.querySelector("[data-part=arrow]"),s=[ty(i,o),ny(o),ry(o),ey(i,t.ownerDocument,o),Xb(i),Kb({gutter:o.gutter,offset:o.offset,overlap:o.overlap},i),oy(o),iy(o),Yb],{placement:a,strategy:l,onComplete:c,onPositioned:u}=o,d=async()=>{if(!r||!t)return;const p=await Hb(r,t,{placement:a,middleware:s,strategy:l});c?.(p),u?.({placed:!0});const v=be(t),y=Xc(v,p.x),x=Xc(v,p.y);t.style.setProperty("--x",`${y}px`),t.style.setProperty("--y",`${x}px`),o.hideWhenDetached&&(p.middlewareData.hide?.referenceHidden?(t.style.setProperty("visibility","hidden"),t.style.setProperty("pointer-events","none")):(t.style.removeProperty("visibility"),t.style.removeProperty("pointer-events")));const b=t.firstElementChild;if(b){const C=vo(b);t.style.setProperty("--z-index",C.zIndex)}},h=async()=>{n.updatePosition?(await n.updatePosition({updatePosition:d,floatingElement:t}),u?.({placed:!0})):await d()},m=sy(o.listeners),g=o.listeners?Lb(r,t,h,m):Km;return h(),()=>{g?.(),u?.({placed:!1})}}function nt(e,t,n={}){const{defer:r,...o}=n,i=r?G:a=>a(),s=[];return s.push(i(()=>{const a=typeof e=="function"?e():e,l=typeof t=="function"?t():t;s.push(ay(a,l,o))})),()=>{s.forEach(a=>a?.())}}function ly(e){const t={each(n){for(let r=0;r<e.frames?.length;r+=1){const o=e.frames[r];o&&n(o)}},addEventListener(n,r,o){return t.each(i=>{try{i.document.addEventListener(n,r,o)}catch{}}),()=>{try{t.removeEventListener(n,r,o)}catch{}}},removeEventListener(n,r,o){t.each(i=>{try{i.document.removeEventListener(n,r,o)}catch{}})}};return t}function cy(e){const t=e.frameElement!=null?e.parent:null;return{addEventListener:(n,r,o)=>{try{t?.addEventListener(n,r,o)}catch{}return()=>{try{t?.removeEventListener(n,r,o)}catch{}}},removeEventListener:(n,r,o)=>{try{t?.removeEventListener(n,r,o)}catch{}}}}var Qc="pointerdown.outside",Jc="focus.outside";function uy(e){for(const t of e)if(Te(t)&&Vt(t))return!0;return!1}var Zc=e=>"clientY"in e;function dy(e,t){if(!Zc(t)||!e)return!1;const n=e.getBoundingClientRect();return n.width===0||n.height===0?!1:n.top<=t.clientY&&t.clientY<=n.top+n.height&&n.left<=t.clientX&&t.clientX<=n.left+n.width}function hy(e,t){return e.y<=t.y&&t.y<=e.y+e.height&&e.x<=t.x&&t.x<=e.x+e.width}function eu(e,t){if(!t||!Zc(e))return!1;const n=t.scrollHeight>t.clientHeight,r=n&&e.clientX>t.offsetLeft+t.clientWidth,o=t.scrollWidth>t.clientWidth,i=o&&e.clientY>t.offsetTop+t.clientHeight,s={x:t.offsetLeft,y:t.offsetTop,width:t.clientWidth+(n?16:0),height:t.clientHeight+(o?16:0)},a={x:e.clientX,y:e.clientY};return hy(s,a)?r||i:!1}function fy(e,t){const{exclude:n,onFocusOutside:r,onPointerDownOutside:o,onInteractOutside:i,defer:s}=t;if(!e)return;const a=Fe(e),l=be(e),c=ly(l),u=cy(l);function d(x,b){if(!Te(b)||!b.isConnected||Xt(e,b)||dy(e,x))return!1;const C=a.querySelector(`[aria-controls="${e.id}"]`);if(C){const E=So(C);if(eu(x,E))return!1}const k=So(e);return eu(x,k)?!1:!n?.(b)}const h=new Set,m=zn(e?.getRootNode());function g(x){function b(C){const k=s&&!rc()?G:R=>R(),E=C??x,I=E?.composedPath?.()??[E?.target];k(()=>{const R=m?I[0]:$e(x);if(!(!e||!d(x,R))){if(o||i){const _=fo(o,i);e.addEventListener(Qc,_,{once:!0})}tu(e,Qc,{bubbles:!1,cancelable:!0,detail:{originalEvent:E,contextmenu:z0(E),focusable:uy(I),target:R}})}})}x.pointerType==="touch"?(h.forEach(C=>C()),h.add(se(a,"click",b,{once:!0})),h.add(u.addEventListener("click",b,{once:!0})),h.add(c.addEventListener("click",b,{once:!0}))):b()}const p=new Set,v=setTimeout(()=>{p.add(se(a,"pointerdown",g,!0)),p.add(u.addEventListener("pointerdown",g,!0)),p.add(c.addEventListener("pointerdown",g,!0))},0);function y(x){(s?G:C=>C())(()=>{const C=$e(x);if(!(!e||!d(x,C))){if(r||i){const k=fo(r,i);e.addEventListener(Jc,k,{once:!0})}tu(e,Jc,{bubbles:!1,cancelable:!0,detail:{originalEvent:x,contextmenu:!1,focusable:Vt(C),target:C}})}})}return rc()||(p.add(se(a,"focusin",y,!0)),p.add(u.addEventListener("focusin",y,!0)),p.add(c.addEventListener("focusin",y,!0))),()=>{clearTimeout(v),h.forEach(x=>x()),p.forEach(x=>x())}}function gy(e,t){const{defer:n}=t,r=n?G:i=>i(),o=[];return o.push(r(()=>{const i=typeof e=="function"?e():e;o.push(fy(i,t))})),()=>{o.forEach(i=>i?.())}}function tu(e,t,n){const r=e.ownerDocument.defaultView||window,o=new r.CustomEvent(t,n);return e.dispatchEvent(o)}function py(e,t){const n=r=>{r.key==="Escape"&&(r.isComposing||t?.(r))};return se(Fe(e),"keydown",n,{capture:!0})}var nu="layer:request-dismiss",Ke={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(e=>e.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(e){const t=this.indexOf(e),n=this.topMostPointerBlockingLayer()?this.indexOf(this.topMostPointerBlockingLayer()?.node):-1;return t<n},isTopMost(e){return this.layers[this.count()-1]?.node===e},getNestedLayers(e){return Array.from(this.layers).slice(this.indexOf(e)+1)},getLayersByType(e){return this.layers.filter(t=>t.type===e)},getNestedLayersByType(e,t){const n=this.indexOf(e);return n===-1?[]:this.layers.slice(n+1).filter(r=>r.type===t)},getParentLayerOfType(e,t){const n=this.indexOf(e);if(!(n<=0))return this.layers.slice(0,n).reverse().find(r=>r.type===t)},countNestedLayersOfType(e,t){return this.getNestedLayersByType(e,t).length},isInNestedLayer(e,t){return this.getNestedLayers(e).some(n=>Xt(n.node,t))},isInBranch(e){return Array.from(this.branches).some(t=>Xt(t,e))},add(e){this.layers.push(e),this.syncLayers()},addBranch(e){this.branches.push(e)},remove(e){const t=this.indexOf(e);t<0||(t<this.count()-1&&this.getNestedLayers(e).forEach(r=>Ke.dismiss(r.node,e)),this.layers.splice(t,1),this.syncLayers())},removeBranch(e){const t=this.branches.indexOf(e);t>=0&&this.branches.splice(t,1)},syncLayers(){this.layers.forEach((e,t)=>{e.node.style.setProperty("--layer-index",`${t}`),e.node.removeAttribute("data-nested"),e.node.removeAttribute("data-has-nested"),this.getParentLayerOfType(e.node,e.type)&&e.node.setAttribute("data-nested",e.type);const r=this.countNestedLayersOfType(e.node,e.type);r>0&&e.node.setAttribute("data-has-nested",e.type),e.node.style.setProperty("--nested-layer-count",`${r}`)})},indexOf(e){return this.layers.findIndex(t=>t.node===e)},dismiss(e,t){const n=this.indexOf(e);if(n===-1)return;const r=this.layers[n];vy(e,nu,o=>{r.requestDismiss?.(o),o.defaultPrevented||r?.dismiss()}),my(e,nu,{originalLayer:e,targetLayer:t,originalIndex:n,targetIndex:t?this.indexOf(t):-1}),this.syncLayers()},clear(){this.remove(this.layers[0].node)}};function my(e,t,n){const r=e.ownerDocument.defaultView||window,o=new r.CustomEvent(t,{cancelable:!0,bubbles:!0,detail:n});return e.dispatchEvent(o)}function vy(e,t,n){e.addEventListener(t,n,{once:!0})}var ru;function ou(){Ke.layers.forEach(({node:e})=>{e.style.pointerEvents=Ke.isBelowPointerBlockingLayer(e)?"none":"auto"})}function by(e){e.style.pointerEvents=""}function yy(e,t){const n=Fe(e),r=[];return Ke.hasPointerBlockingLayer()&&!n.body.hasAttribute("data-inert")&&(ru=document.body.style.pointerEvents,queueMicrotask(()=>{n.body.style.pointerEvents="none",n.body.setAttribute("data-inert","")})),t?.forEach(o=>{const[i,s]=vv(()=>{const a=o();return Te(a)?a:null},{timeout:1e3});i.then(a=>r.push(Po(a,{pointerEvents:"auto"}))),r.push(s)}),()=>{Ke.hasPointerBlockingLayer()||(queueMicrotask(()=>{n.body.style.pointerEvents=ru,n.body.removeAttribute("data-inert"),n.body.style.length===0&&n.body.removeAttribute("style")}),r.forEach(o=>o()))}}function xy(e,t){const{warnOnMissingNode:n=!0}=t;if(n&&!e){kr("[@zag-js/dismissable] node is `null` or `undefined`");return}if(!e)return;const{onDismiss:r,onRequestDismiss:o,pointerBlocking:i,exclude:s,debug:a,type:l="dialog"}=t,c={dismiss:r,node:e,type:l,pointerBlocking:i,requestDismiss:o};Ke.add(c),ou();function u(p){const v=$e(p.detail.originalEvent);Ke.isBelowPointerBlockingLayer(e)||Ke.isInBranch(v)||(t.onPointerDownOutside?.(p),t.onInteractOutside?.(p),!p.defaultPrevented&&(a&&console.log("onPointerDownOutside:",p.detail.originalEvent),r?.()))}function d(p){const v=$e(p.detail.originalEvent);Ke.isInBranch(v)||(t.onFocusOutside?.(p),t.onInteractOutside?.(p),!p.defaultPrevented&&(a&&console.log("onFocusOutside:",p.detail.originalEvent),r?.()))}function h(p){Ke.isTopMost(e)&&(t.onEscapeKeyDown?.(p),!p.defaultPrevented&&r&&(p.preventDefault(),r()))}function m(p){if(!e)return!1;const v=typeof s=="function"?s():s,y=Array.isArray(v)?v:[v],x=t.persistentElements?.map(b=>b()).filter(Te);return x&&y.push(...x),y.some(b=>Xt(b,p))||Ke.isInNestedLayer(e,p)}const g=[i?yy(e,t.persistentElements):void 0,py(e,h),gy(e,{exclude:m,onFocusOutside:d,onPointerDownOutside:u,defer:t.defer})];return()=>{Ke.remove(e),ou(),by(e),g.forEach(p=>p?.())}}function Gn(e,t){const{defer:n}=t,r=n?G:i=>i(),o=[];return o.push(r(()=>{const i=Yt(e)?e():e;o.push(xy(i,t))})),()=>{o.forEach(i=>i?.())}}var iu=j("color-picker",["root","label","control","trigger","positioner","content","area","areaThumb","valueText","areaBackground","channelSlider","channelSliderLabel","channelSliderTrack","channelSliderThumb","channelSliderValueText","channelInput","transparencyGrid","swatchGroup","swatchTrigger","swatchIndicator","swatch","eyeDropperTrigger","formatTrigger","formatSelect"]);iu.build();var ky=e=>e.ids?.hiddenInput??`color-picker:${e.id}:hidden-input`,Cy=e=>e.ids?.control??`color-picker:${e.id}:control`,Sy=e=>e.ids?.trigger??`color-picker:${e.id}:trigger`,wy=e=>e.ids?.content??`color-picker:${e.id}:content`,Ey=e=>e.ids?.positioner??`color-picker:${e.id}:positioner`,Oy=e=>e.ids?.formatSelect??`color-picker:${e.id}:format-select`,Py=e=>e.ids?.area??`color-picker:${e.id}:area`,Iy=e=>e.ids?.areaThumb??`color-picker:${e.id}:area-thumb`,Ry=(e,t)=>e.ids?.channelSliderTrack?.(t)??`color-picker:${e.id}:slider-track:${t}`,Ty=(e,t)=>e.ids?.channelSliderThumb?.(t)??`color-picker:${e.id}:slider-thumb:${t}`,$o=e=>e.getById(wy(e)),Ny=e=>e.getById(Iy(e)),Ay=(e,t)=>e.getById(Ty(e,t)),_y=e=>e.getById(Oy(e)),su=e=>e.getById(ky(e)),Vy=e=>e.getById(Py(e)),Fy=(e,t,n)=>{const r=Vy(e);if(!r)return;const{getPercentValue:o}=uc(t,r);return{x:o({dir:n,orientation:"horizontal"}),y:o({orientation:"vertical"})}},Ly=e=>e.getById(Cy(e)),Hs=e=>e.getById(Sy(e)),Dy=e=>e.getById(Ey(e)),zy=(e,t)=>e.getById(Ry(e,t)),My=(e,t,n,r)=>{const o=zy(e,n);if(!o)return;const{getPercentValue:i}=uc(t,o);return{x:i({dir:r,orientation:"horizontal"}),y:i({orientation:"vertical"})}},jy=e=>[...Oo($o(e),"input[data-channel]"),...Oo(Ly(e),"input[data-channel]")];function $y(e,t){if(t==null)return"";if(t==="hex")return e.toString("hex");if(t==="css")return e.toString("css");if(t in e)return e.getChannelValue(t).toString();const n=e.getFormat()==="hsla";switch(t){case"hue":return n?e.toFormat("hsla").getChannelValue("hue").toString():e.toFormat("hsba").getChannelValue("hue").toString();case"saturation":return n?e.toFormat("hsla").getChannelValue("saturation").toString():e.toFormat("hsba").getChannelValue("saturation").toString();case"lightness":return e.toFormat("hsla").getChannelValue("lightness").toString();case"brightness":return e.toFormat("hsba").getChannelValue("brightness").toString();case"red":case"green":case"blue":return e.toFormat("rgba").getChannelValue(t).toString();default:return e.getChannelValue(t).toString()}}var au=e=>Ao(e),By=/^[0-9a-fA-F]{3,8}$/;function Wy(e){return By.test(e)}function Hy(e){return e.startsWith("#")?e:Wy(e)?`#${e}`:e}var{and:Uy}=Ft();Uy("isOpenControlled","closeOnSelect");function lu(e,t,n){const r=jy(e);G(()=>{r.forEach(o=>{const i=o.dataset.channel;ko(o,$y(n||t,i))})})}function Gy(e,t){const n=_y(e);n&&G(()=>ko(n,t))}M()(["closeOnSelect","dir","disabled","format","defaultFormat","getRootNode","id","ids","initialFocusEl","inline","name","positioning","onFocusOutside","onFormatChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","onValueChangeEnd","defaultOpen","open","positioning","required","readOnly","value","defaultValue","invalid","openAutoFocus"]),M()(["xChannel","yChannel"]),M()(["channel","orientation"]),M()(["value","disabled"]),M()(["value","respectAlpha"]),M()(["size"]);const[cu,qy]=Dn({name:"RenderStrategyContext",hookName:"useRenderStrategyContext",providerName:"<RenderStrategyPropsProvider />"}),uu=e=>pc()(e,["lazyMount","unmountOnExit"]);var du=j("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator");du.build();var hu=e=>e.ids?.root??`accordion:${e.id}`,fu=(e,t)=>e.ids?.itemTrigger?.(t)??`accordion:${e.id}:trigger:${t}`,Ky=e=>e.getById(hu(e)),Bo=e=>{const n=`[aria-controls][data-ownedby='${CSS.escape(hu(e))}']:not([disabled])`;return Oo(Ky(e),n)},Yy=e=>yr(Bo(e)),Xy=e=>ls(Bo(e)),Qy=(e,t)=>av(Bo(e),fu(e,t)),Jy=(e,t)=>lv(Bo(e),fu(e,t)),{and:Zy,not:ex}=Ft();Zy("isExpanded","canToggle"),ex("isExpanded"),M()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value","defaultValue"]),M()(["value","disabled"]);var Ir=(e,t)=>({x:e,y:t});function tx(e){const{x:t,y:n,width:r,height:o}=e,i=t+r/2,s=n+o/2;return{x:t,y:n,width:r,height:o,minX:t,minY:n,maxX:t+r,maxY:n+o,midX:i,midY:s,center:Ir(i,s)}}function nx(e){const t=Ir(e.minX,e.minY),n=Ir(e.maxX,e.minY),r=Ir(e.maxX,e.maxY),o=Ir(e.minX,e.maxY);return{top:t,right:n,bottom:r,left:o}}function rx(e,t){const n=tx(e),{top:r,right:o,left:i,bottom:s}=nx(n),[a]=t.split("-");return{top:[i,r,o,s],right:[r,o,s,i],bottom:[r,i,s,o],left:[o,r,i,s]}[a]}function ox(e,t){const{x:n,y:r}=t;let o=!1;for(let i=0,s=e.length-1;i<e.length;s=i++){const a=e[i].x,l=e[i].y,c=e[s].x,u=e[s].y;l>r!=u>r&&n<(c-a)*(r-l)/(u-l)+a&&(o=!o)}return o}var gu=j("avatar").parts("root","image","fallback");gu.build(),M()(["dir","id","ids","onStatusChange","getRootNode"]);function ix(e){return!(e.metaKey||!xo()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}var sx=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ax(e,t,n){const r=n?$e(n):null,o=be(r);return e=e||r instanceof o.HTMLInputElement&&!sx.has(r?.type)||r instanceof o.HTMLTextAreaElement||r instanceof o.HTMLElement&&r.isContentEditable,!(e&&t==="keyboard"&&n instanceof o.KeyboardEvent&&!Reflect.has(lx,n.key))}var en=null,Us=new Set,Rr=new Map,tn=!1,Gs=!1,lx={Tab:!0,Escape:!0};function Wo(e,t){for(let n of Us)n(e,t)}function Ho(e){tn=!0,ix(e)&&(en="keyboard",Wo("keyboard",e))}function Ye(e){en="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(tn=!0,Wo("pointer",e))}function pu(e){D0(e)&&(tn=!0,en="virtual")}function mu(e){const t=$e(e);t===be(t)||t===Fe(t)||(!tn&&!Gs&&(en="virtual",Wo("virtual",e)),tn=!1,Gs=!1)}function vu(){tn=!1,Gs=!0}function cx(e){if(typeof window>"u"||Rr.get(be(e)))return;const t=be(e),n=Fe(e);let r=t.HTMLElement.prototype.focus;function o(){en="virtual",Wo("virtual",null),tn=!0,r.apply(this,arguments)}Object.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,value:o}),n.addEventListener("keydown",Ho,!0),n.addEventListener("keyup",Ho,!0),n.addEventListener("click",pu,!0),t.addEventListener("focus",mu,!0),t.addEventListener("blur",vu,!1),typeof t.PointerEvent<"u"?(n.addEventListener("pointerdown",Ye,!0),n.addEventListener("pointermove",Ye,!0),n.addEventListener("pointerup",Ye,!0)):(n.addEventListener("mousedown",Ye,!0),n.addEventListener("mousemove",Ye,!0),n.addEventListener("mouseup",Ye,!0)),t.addEventListener("beforeunload",()=>{ux(e)},{once:!0}),Rr.set(t,{focus:r})}var ux=(e,t)=>{const n=be(e),r=Fe(e);Rr.has(n)&&(n.HTMLElement.prototype.focus=Rr.get(n).focus,r.removeEventListener("keydown",Ho,!0),r.removeEventListener("keyup",Ho,!0),r.removeEventListener("click",pu,!0),n.removeEventListener("focus",mu,!0),n.removeEventListener("blur",vu,!1),typeof n.PointerEvent<"u"?(r.removeEventListener("pointerdown",Ye,!0),r.removeEventListener("pointermove",Ye,!0),r.removeEventListener("pointerup",Ye,!0)):(r.removeEventListener("mousedown",Ye,!0),r.removeEventListener("mousemove",Ye,!0),r.removeEventListener("mouseup",Ye,!0)),Rr.delete(n))};function bu(){return en==="keyboard"}function dx(e={}){const{isTextInput:t,autoFocus:n,onChange:r,root:o}=e;cx(o),r?.({isFocusVisible:n||bu(),modality:en});const i=(s,a)=>{ax(!!t,s,a)&&r?.({isFocusVisible:bu(),modality:s})};return Us.add(i),()=>{Us.delete(i)}}var yu=j("checkbox").parts("root","label","control","indicator");yu.build(),M()(["defaultChecked","checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);const hx=yu.extendWith("group"),[QR,xu]=Dn({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1});var ku=j("clipboard").parts("root","control","trigger","indicator","input","label");ku.build(),M()(["getRootNode","id","ids","value","defaultValue","timeout","onStatusChange","onValueChange"]),M()(["copied"]);const fx=iu.extendWith("view");var gx=Object.defineProperty,px=(e,t,n)=>t in e?gx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,V=(e,t,n)=>px(e,typeof t!="symbol"?t+"":t,n),Uo={itemToValue(e){return typeof e=="string"?e:Kt(e)&&At(e,"value")?e.value:""},itemToString(e){return typeof e=="string"?e:Kt(e)&&At(e,"label")?e.label:Uo.itemToValue(e)},isItemDisabled(e){return Kt(e)&&At(e,"disabled")?!!e.disabled:!1}},Go=class dp{constructor(t){this.options=t,V(this,"items"),V(this,"indexMap",null),V(this,"copy",n=>new dp({...this.options,items:n??[...this.items]})),V(this,"isEqual",n=>Ze(this.items,n.items)),V(this,"setItems",n=>this.copy(n)),V(this,"getValues",(n=this.items)=>{const r=[];for(const o of n){const i=this.getItemValue(o);i!=null&&r.push(i)}return r}),V(this,"find",n=>{if(n==null)return null;const r=this.indexOf(n);return r!==-1?this.at(r):null}),V(this,"findMany",n=>{const r=[];for(const o of n){const i=this.find(o);i!=null&&r.push(i)}return r}),V(this,"at",n=>{if(!this.options.groupBy&&!this.options.groupSort)return this.items[n]??null;let r=0;const o=this.group();for(const[,i]of o)for(const s of i){if(r===n)return s;r++}return null}),V(this,"sortFn",(n,r)=>{const o=this.indexOf(n),i=this.indexOf(r);return(o??0)-(i??0)}),V(this,"sort",n=>[...n].sort(this.sortFn.bind(this))),V(this,"getItemValue",n=>n==null?null:this.options.itemToValue?.(n)??Uo.itemToValue(n)),V(this,"getItemDisabled",n=>n==null?!1:this.options.isItemDisabled?.(n)??Uo.isItemDisabled(n)),V(this,"stringifyItem",n=>n==null?null:this.options.itemToString?.(n)??Uo.itemToString(n)),V(this,"stringify",n=>n==null?null:this.stringifyItem(this.find(n))),V(this,"stringifyItems",(n,r=", ")=>{const o=[];for(const i of n){const s=this.stringifyItem(i);s!=null&&o.push(s)}return o.join(r)}),V(this,"stringifyMany",(n,r)=>this.stringifyItems(this.findMany(n),r)),V(this,"has",n=>this.indexOf(n)!==-1),V(this,"hasItem",n=>n==null?!1:this.has(this.getItemValue(n))),V(this,"group",()=>{const{groupBy:n,groupSort:r}=this.options;if(!n)return[["",[...this.items]]];const o=new Map;this.items.forEach((s,a)=>{const l=n(s,a);o.has(l)||o.set(l,[]),o.get(l).push(s)});let i=Array.from(o.entries());return r&&i.sort(([s],[a])=>{if(typeof r=="function")return r(s,a);if(Array.isArray(r)){const l=r.indexOf(s),c=r.indexOf(a);return l===-1?1:c===-1?-1:l-c}return r==="asc"?s.localeCompare(a):r==="desc"?a.localeCompare(s):0}),i}),V(this,"getNextValue",(n,r=1,o=!1)=>{let i=this.indexOf(n);if(i===-1)return null;for(i=o?Math.min(i+r,this.size-1):i+r;i<=this.size&&this.getItemDisabled(this.at(i));)i++;return this.getItemValue(this.at(i))}),V(this,"getPreviousValue",(n,r=1,o=!1)=>{let i=this.indexOf(n);if(i===-1)return null;for(i=o?Math.max(i-r,0):i-r;i>=0&&this.getItemDisabled(this.at(i));)i--;return this.getItemValue(this.at(i))}),V(this,"indexOf",n=>{if(n==null)return-1;if(!this.options.groupBy&&!this.options.groupSort)return this.items.findIndex(r=>this.getItemValue(r)===n);if(!this.indexMap){this.indexMap=new Map;let r=0;const o=this.group();for(const[,i]of o)for(const s of i){const a=this.getItemValue(s);a!=null&&this.indexMap.set(a,r),r++}}return this.indexMap.get(n)??-1}),V(this,"getByText",(n,r)=>{const o=r!=null?this.indexOf(r):-1,i=n.length===1;for(let s=0;s<this.items.length;s++){const a=this.items[(o+s+1)%this.items.length];if(!(i&&this.getItemValue(a)===r)&&!this.getItemDisabled(a)&&mx(this.stringifyItem(a),n))return a}}),V(this,"search",(n,r)=>{const{state:o,currentValue:i,timeout:s=350}=r,a=o.keysSoFar+n,c=a.length>1&&Array.from(a).every(g=>g===a[0])?a[0]:a,u=this.getByText(c,i),d=this.getItemValue(u);function h(){clearTimeout(o.timer),o.timer=-1}function m(g){o.keysSoFar=g,h(),g!==""&&(o.timer=+setTimeout(()=>{m(""),h()},s))}return m(a),d}),V(this,"update",(n,r)=>{let o=this.indexOf(n);return o===-1?this:this.copy([...this.items.slice(0,o),r,...this.items.slice(o+1)])}),V(this,"upsert",(n,r,o="append")=>{let i=this.indexOf(n);return i===-1?(o==="append"?this.append:this.prepend)(r):this.copy([...this.items.slice(0,i),r,...this.items.slice(i+1)])}),V(this,"insert",(n,...r)=>this.copy(Tr(this.items,n,...r))),V(this,"insertBefore",(n,...r)=>{let o=this.indexOf(n);if(o===-1)if(this.items.length===0)o=0;else return this;return this.copy(Tr(this.items,o,...r))}),V(this,"insertAfter",(n,...r)=>{let o=this.indexOf(n);if(o===-1)if(this.items.length===0)o=0;else return this;return this.copy(Tr(this.items,o+1,...r))}),V(this,"prepend",(...n)=>this.copy(Tr(this.items,0,...n))),V(this,"append",(...n)=>this.copy(Tr(this.items,this.items.length,...n))),V(this,"filter",n=>{const r=this.items.filter((o,i)=>n(this.stringifyItem(o),i,o));return this.copy(r)}),V(this,"remove",(...n)=>{const r=n.map(o=>typeof o=="string"?o:this.getItemValue(o));return this.copy(this.items.filter(o=>{const i=this.getItemValue(o);return i==null?!1:!r.includes(i)}))}),V(this,"move",(n,r)=>{const o=this.indexOf(n);return o===-1?this:this.copy(qo(this.items,[o],r))}),V(this,"moveBefore",(n,...r)=>{let o=this.items.findIndex(s=>this.getItemValue(s)===n);if(o===-1)return this;let i=r.map(s=>this.items.findIndex(a=>this.getItemValue(a)===s)).sort((s,a)=>s-a);return this.copy(qo(this.items,i,o))}),V(this,"moveAfter",(n,...r)=>{let o=this.items.findIndex(s=>this.getItemValue(s)===n);if(o===-1)return this;let i=r.map(s=>this.items.findIndex(a=>this.getItemValue(a)===s)).sort((s,a)=>s-a);return this.copy(qo(this.items,i,o+1))}),V(this,"reorder",(n,r)=>this.copy(qo(this.items,[n],r))),V(this,"compareValue",(n,r)=>{const o=this.indexOf(n),i=this.indexOf(r);return o<i?-1:o>i?1:0}),V(this,"range",(n,r)=>{let o=[],i=n;for(;i!=null;){if(this.find(i)&&o.push(i),i===r)return o;i=this.getNextValue(i)}return[]}),V(this,"getValueRange",(n,r)=>n&&r?this.compareValue(n,r)<=0?this.range(n,r):this.range(r,n):[]),V(this,"toString",()=>{let n="";for(const r of this.items){const o=this.getItemValue(r),i=this.stringifyItem(r),s=this.getItemDisabled(r),a=[o,i,s].filter(Boolean).join(":");n+=a+","}return n}),V(this,"toJSON",()=>({size:this.size,first:this.firstValue,last:this.lastValue})),this.items=[...t.items]}get size(){return this.items.length}get firstValue(){let t=0;for(;this.getItemDisabled(this.at(t));)t++;return this.getItemValue(this.at(t))}get lastValue(){let t=this.size-1;for(;this.getItemDisabled(this.at(t));)t--;return this.getItemValue(this.at(t))}*[Symbol.iterator](){yield*this.items}},mx=(e,t)=>!!e?.toLowerCase().startsWith(t.toLowerCase());function Tr(e,t,...n){return[...e.slice(0,t),...n,...e.slice(t)]}function qo(e,t,n){t=[...t].sort((o,i)=>o-i);const r=t.map(o=>e[o]);for(let o=t.length-1;o>=0;o--)e=[...e.slice(0,t[o]),...e.slice(t[o]+1)];return n=Math.max(0,n-t.filter(o=>o<n).length),[...e.slice(0,n),...r,...e.slice(n)]}function Cu(e,t,n){for(let r=0;r<t.length;r++)e=n.getChildren(e,t.slice(r+1))[t[r]];return e}function vx(e){const t=bx(e),n=[],r=new Set;for(const o of t){const i=o.join();r.has(i)||(r.add(i),n.push(o))}return n}function Su(e,t){for(let n=0;n<Math.min(e.length,t.length);n++){if(e[n]<t[n])return-1;if(e[n]>t[n])return 1}return e.length-t.length}function bx(e){return e.sort(Su)}function yx(e,t){let n;return He(e,{...t,onEnter:(r,o)=>{if(t.predicate(r,o))return n=r,"stop"}}),n}function xx(e,t){const n=[];return He(e,{onEnter:(r,o)=>{t.predicate(r,o)&&n.push(r)},getChildren:t.getChildren}),n}function wu(e,t){let n;return He(e,{onEnter:(r,o)=>{if(t.predicate(r,o))return n=[...o],"stop"},getChildren:t.getChildren}),n}function kx(e,t){let n=t.initialResult;return He(e,{...t,onEnter:(r,o)=>{n=t.nextResult(n,r,o)}}),n}function Cx(e,t){return kx(e,{...t,initialResult:[],nextResult:(n,r,o)=>(n.push(...t.transform(r,o)),n)})}function Sx(e,t){const{predicate:n,create:r,getChildren:o}=t,i=(s,a)=>{const l=o(s,a),c=[];l.forEach((m,g)=>{const p=[...a,g],v=i(m,p);v&&c.push(v)});const u=a.length===0,d=n(s,a),h=c.length>0;return u||d||h?r(s,c,a):null};return i(e,[])||r(e,[],[])}function wx(e,t){const n=[];let r=0;const o=new Map,i=new Map;return He(e,{getChildren:t.getChildren,onEnter:(s,a)=>{o.has(s)||o.set(s,r++);const l=t.getChildren(s,a);l.forEach(m=>{i.has(m)||i.set(m,s),o.has(m)||o.set(m,r++)});const c=l.length>0?l.map(m=>o.get(m)):void 0,u=i.get(s),d=u?o.get(u):void 0,h=o.get(s);n.push({...s,_children:c,_parent:d,_index:h})}}),n}function Ex(e,t){return{type:"insert",index:e,nodes:t}}function Ox(e){return{type:"remove",indexes:e}}function qs(){return{type:"replace"}}function Eu(e){return[e.slice(0,-1),e[e.length-1]]}function Ou(e,t,n=new Map){const[r,o]=Eu(e);for(let s=r.length-1;s>=0;s--){const a=r.slice(0,s).join();switch(n.get(a)?.type){case"remove":continue}n.set(a,qs())}const i=n.get(r.join());switch(i?.type){case"remove":n.set(r.join(),{type:"removeThenInsert",removeIndexes:i.indexes,insertIndex:o,insertNodes:t});break;default:n.set(r.join(),Ex(o,t))}return n}function Pu(e){const t=new Map,n=new Map;for(const r of e){const o=r.slice(0,-1).join(),i=n.get(o)??[];i.push(r[r.length-1]),n.set(o,i.sort((s,a)=>s-a))}for(const r of e)for(let o=r.length-2;o>=0;o--){const i=r.slice(0,o).join();t.has(i)||t.set(i,qs())}for(const[r,o]of n)t.set(r,Ox(o));return t}function Px(e,t){const n=new Map,[r,o]=Eu(e);for(let i=r.length-1;i>=0;i--){const s=r.slice(0,i).join();n.set(s,qs())}return n.set(r.join(),{type:"removeThenInsert",removeIndexes:[o],insertIndex:o,insertNodes:[t]}),n}function Ko(e,t,n){return Ix(e,{...n,getChildren:(r,o)=>{const i=o.join();switch(t.get(i)?.type){case"replace":case"remove":case"removeThenInsert":case"insert":return n.getChildren(r,o);default:return[]}},transform:(r,o,i)=>{const s=i.join(),a=t.get(s);switch(a?.type){case"remove":return n.create(r,o.filter((u,d)=>!a.indexes.includes(d)),i);case"removeThenInsert":const l=o.filter((u,d)=>!a.removeIndexes.includes(d)),c=a.removeIndexes.reduce((u,d)=>d<u?u-1:u,a.insertIndex);return n.create(r,Iu(l,c,0,...a.insertNodes),i);case"insert":return n.create(r,Iu(o,a.index,0,...a.nodes),i);case"replace":return n.create(r,o,i);default:return r}}})}function Iu(e,t,n,...r){return[...e.slice(0,t),...r,...e.slice(t+n)]}function Ix(e,t){const n={};return He(e,{...t,onLeave:(r,o)=>{const i=[0,...o],s=i.join(),a=t.transform(r,n[s]??[],o),l=i.slice(0,-1).join(),c=n[l]??[];c.push(a),n[l]=c}}),n[""][0]}function Rx(e,t){const{nodes:n,at:r}=t;if(r.length===0)throw new Error("Can't insert nodes at the root");const o=Ou(r,n);return Ko(e,o,t)}function Tx(e,t){if(t.at.length===0)return t.node;const n=Px(t.at,t.node);return Ko(e,n,t)}function Nx(e,t){if(t.indexPaths.length===0)return e;for(const r of t.indexPaths)if(r.length===0)throw new Error("Can't remove the root node");const n=Pu(t.indexPaths);return Ko(e,n,t)}function Ax(e,t){if(t.indexPaths.length===0)return e;for(const i of t.indexPaths)if(i.length===0)throw new Error("Can't move the root node");if(t.to.length===0)throw new Error("Can't move nodes to the root");const n=vx(t.indexPaths),r=n.map(i=>Cu(e,i,t)),o=Ou(t.to,r,Pu(n));return Ko(e,o,t)}function He(e,t){const{onEnter:n,onLeave:r,getChildren:o}=t;let i=[],s=[{node:e}];const a=t.reuseIndexPath?()=>i:()=>i.slice();for(;s.length>0;){let l=s[s.length-1];if(l.state===void 0){const u=n?.(l.node,a());if(u==="stop")return;l.state=u==="skip"?-1:0}const c=l.children||o(l.node,a());if(l.children||(l.children=c),l.state!==-1){if(l.state<c.length){let d=l.state;i.push(d),s.push({node:c[d]}),l.state=d+1;continue}if(r?.(l.node,a())==="stop")return}i.pop(),s.pop()}}var Ru=class hp{constructor(t){this.options=t,V(this,"rootNode"),V(this,"isEqual",n=>Ze(this.rootNode,n.rootNode)),V(this,"getNodeChildren",n=>this.options.nodeToChildren?.(n)??qn.nodeToChildren(n)??[]),V(this,"resolveIndexPath",n=>typeof n=="string"?this.getIndexPath(n):n),V(this,"resolveNode",n=>{const r=this.resolveIndexPath(n);return r?this.at(r):void 0}),V(this,"getNodeChildrenCount",n=>this.options.nodeToChildrenCount?.(n)??qn.nodeToChildrenCount(n)),V(this,"getNodeValue",n=>this.options.nodeToValue?.(n)??qn.nodeToValue(n)),V(this,"getNodeDisabled",n=>this.options.isNodeDisabled?.(n)??qn.isNodeDisabled(n)),V(this,"stringify",n=>{const r=this.findNode(n);return r?this.stringifyNode(r):null}),V(this,"stringifyNode",n=>this.options.nodeToString?.(n)??qn.nodeToString(n)),V(this,"getFirstNode",(n=this.rootNode)=>{let r;return He(n,{getChildren:this.getNodeChildren,onEnter:(o,i)=>{if(!r&&i.length>0&&!this.getNodeDisabled(o))return r=o,"stop"}}),r}),V(this,"getLastNode",(n=this.rootNode,r={})=>{let o;return He(n,{getChildren:this.getNodeChildren,onEnter:(i,s)=>{if(!this.isSameNode(i,n)){if(r.skip?.({value:this.getNodeValue(i),node:i,indexPath:s}))return"skip";s.length>0&&!this.getNodeDisabled(i)&&(o=i)}}}),o}),V(this,"at",n=>Cu(this.rootNode,n,{getChildren:this.getNodeChildren})),V(this,"findNode",(n,r=this.rootNode)=>yx(r,{getChildren:this.getNodeChildren,predicate:o=>this.getNodeValue(o)===n})),V(this,"findNodes",(n,r=this.rootNode)=>{const o=new Set(n.filter(i=>i!=null));return xx(r,{getChildren:this.getNodeChildren,predicate:i=>o.has(this.getNodeValue(i))})}),V(this,"sort",n=>n.reduce((r,o)=>{const i=this.getIndexPath(o);return i&&r.push({value:o,indexPath:i}),r},[]).sort((r,o)=>Su(r.indexPath,o.indexPath)).map(({value:r})=>r)),V(this,"getIndexPath",n=>wu(this.rootNode,{getChildren:this.getNodeChildren,predicate:r=>this.getNodeValue(r)===n})),V(this,"getValue",n=>{const r=this.at(n);return r?this.getNodeValue(r):void 0}),V(this,"getValuePath",n=>{if(!n)return[];const r=[];let o=[...n];for(;o.length>0;){const i=this.at(o);i&&r.unshift(this.getNodeValue(i)),o.pop()}return r}),V(this,"getDepth",n=>wu(this.rootNode,{getChildren:this.getNodeChildren,predicate:o=>this.getNodeValue(o)===n})?.length??0),V(this,"isSameNode",(n,r)=>this.getNodeValue(n)===this.getNodeValue(r)),V(this,"isRootNode",n=>this.isSameNode(n,this.rootNode)),V(this,"contains",(n,r)=>!n||!r?!1:r.slice(0,n.length).every((o,i)=>n[i]===r[i])),V(this,"getNextNode",(n,r={})=>{let o=!1,i;return He(this.rootNode,{getChildren:this.getNodeChildren,onEnter:(s,a)=>{if(this.isRootNode(s))return;const l=this.getNodeValue(s);if(r.skip?.({value:l,node:s,indexPath:a}))return l===n&&(o=!0),"skip";if(o&&!this.getNodeDisabled(s))return i=s,"stop";l===n&&(o=!0)}}),i}),V(this,"getPreviousNode",(n,r={})=>{let o,i=!1;return He(this.rootNode,{getChildren:this.getNodeChildren,onEnter:(s,a)=>{if(this.isRootNode(s))return;const l=this.getNodeValue(s);if(r.skip?.({value:l,node:s,indexPath:a}))return"skip";if(l===n)return i=!0,"stop";this.getNodeDisabled(s)||(o=s)}}),i?o:void 0}),V(this,"getParentNodes",n=>{const r=this.resolveIndexPath(n)?.slice();if(!r)return[];const o=[];for(;r.length>0;){r.pop();const i=this.at(r);i&&!this.isRootNode(i)&&o.unshift(i)}return o}),V(this,"getDescendantNodes",(n,r)=>{const o=this.resolveNode(n);if(!o)return[];const i=[];return He(o,{getChildren:this.getNodeChildren,onEnter:(s,a)=>{a.length!==0&&(!r?.withBranch&&this.isBranchNode(s)||i.push(s))}}),i}),V(this,"getDescendantValues",(n,r)=>this.getDescendantNodes(n,r).map(i=>this.getNodeValue(i))),V(this,"getParentIndexPath",n=>n.slice(0,-1)),V(this,"getParentNode",n=>{const r=this.resolveIndexPath(n);return r?this.at(this.getParentIndexPath(r)):void 0}),V(this,"visit",n=>{const{skip:r,...o}=n;He(this.rootNode,{...o,getChildren:this.getNodeChildren,onEnter:(i,s)=>{if(!this.isRootNode(i))return r?.({value:this.getNodeValue(i),node:i,indexPath:s})?"skip":o.onEnter?.(i,s)}})}),V(this,"getPreviousSibling",n=>{const r=this.getParentNode(n);if(!r)return;const o=this.getNodeChildren(r);let i=n[n.length-1];for(;--i>=0;){const s=o[i];if(!this.getNodeDisabled(s))return s}}),V(this,"getNextSibling",n=>{const r=this.getParentNode(n);if(!r)return;const o=this.getNodeChildren(r);let i=n[n.length-1];for(;++i<o.length;){const s=o[i];if(!this.getNodeDisabled(s))return s}}),V(this,"getSiblingNodes",n=>{const r=this.getParentNode(n);return r?this.getNodeChildren(r):[]}),V(this,"getValues",(n=this.rootNode)=>Cx(n,{getChildren:this.getNodeChildren,transform:o=>[this.getNodeValue(o)]}).slice(1)),V(this,"isValidDepth",(n,r)=>r==null?!0:typeof r=="function"?r(n.length):n.length===r),V(this,"isBranchNode",n=>this.getNodeChildren(n).length>0||this.getNodeChildrenCount(n)!=null),V(this,"getBranchValues",(n=this.rootNode,r={})=>{let o=[];return He(n,{getChildren:this.getNodeChildren,onEnter:(i,s)=>{if(s.length===0)return;const a=this.getNodeValue(i);if(r.skip?.({value:a,node:i,indexPath:s}))return"skip";this.isBranchNode(i)&&this.isValidDepth(s,r.depth)&&o.push(this.getNodeValue(i))}}),o}),V(this,"flatten",(n=this.rootNode)=>wx(n,{getChildren:this.getNodeChildren})),V(this,"_create",(n,r)=>this.getNodeChildren(n).length>0||r.length>0?{...n,children:r}:{...n}),V(this,"_insert",(n,r,o)=>this.copy(Rx(n,{at:r,nodes:o,getChildren:this.getNodeChildren,create:this._create}))),V(this,"copy",n=>new hp({...this.options,rootNode:n})),V(this,"_replace",(n,r,o)=>this.copy(Tx(n,{at:r,node:o,getChildren:this.getNodeChildren,create:this._create}))),V(this,"_move",(n,r,o)=>this.copy(Ax(n,{indexPaths:r,to:o,getChildren:this.getNodeChildren,create:this._create}))),V(this,"_remove",(n,r)=>this.copy(Nx(n,{indexPaths:r,getChildren:this.getNodeChildren,create:this._create}))),V(this,"replace",(n,r)=>this._replace(this.rootNode,n,r)),V(this,"remove",n=>this._remove(this.rootNode,n)),V(this,"insertBefore",(n,r)=>this.getParentNode(n)?this._insert(this.rootNode,n,r):void 0),V(this,"insertAfter",(n,r)=>{if(!this.getParentNode(n))return;const i=[...n.slice(0,-1),n[n.length-1]+1];return this._insert(this.rootNode,i,r)}),V(this,"move",(n,r)=>this._move(this.rootNode,n,r)),V(this,"filter",n=>{const r=Sx(this.rootNode,{predicate:n,getChildren:this.getNodeChildren,create:this._create});return this.copy(r)}),V(this,"toJSON",()=>this.getValues(this.rootNode)),this.rootNode=t.rootNode}},qn={nodeToValue(e){return typeof e=="string"?e:Kt(e)&&At(e,"value")?e.value:""},nodeToString(e){return typeof e=="string"?e:Kt(e)&&At(e,"label")?e.label:qn.nodeToValue(e)},isNodeDisabled(e){return Kt(e)&&At(e,"disabled")?!!e.disabled:!1},nodeToChildren(e){return e.children},nodeToChildrenCount(e){if(Kt(e)&&At(e,"childrenCount"))return e.childrenCount}},Kn=new WeakMap,Yo=new WeakMap,Xo={},Ks=0,Tu=e=>e&&(e.host||Tu(e.parentNode)),_x=(e,t)=>t.map(n=>{if(e.contains(n))return n;const r=Tu(n);return r&&e.contains(r)?r:(console.error("[zag-js > ariaHidden] target",n,"in not contained inside",e,". Doing nothing"),null)}).filter(n=>!!n),Vx=new Set(["script","output","status","next-route-announcer"]),Fx=e=>Vx.has(e.localName)||e.role==="status"||e.hasAttribute("aria-live")?!0:e.matches("[data-live-announcer]"),Lx=(e,t)=>{const{parentNode:n,markerName:r,controlAttribute:o}=t,i=_x(n,Array.isArray(e)?e:[e]);Xo[r]||(Xo[r]=new WeakMap);const s=Xo[r],a=[],l=new Set,c=new Set(i),u=h=>{!h||l.has(h)||(l.add(h),u(h.parentNode))};i.forEach(u);const d=h=>{!h||c.has(h)||Array.prototype.forEach.call(h.children,m=>{if(l.has(m))d(m);else try{if(Fx(m))return;const p=m.getAttribute(o)==="true",v=(Kn.get(m)||0)+1,y=(s.get(m)||0)+1;Kn.set(m,v),s.set(m,y),a.push(m),v===1&&p&&Yo.set(m,!0),y===1&&m.setAttribute(r,""),p||m.setAttribute(o,"true")}catch(g){console.error("[zag-js > ariaHidden] cannot operate on ",m,g)}})};return d(n),l.clear(),Ks++,()=>{a.forEach(h=>{const m=Kn.get(h)-1,g=s.get(h)-1;Kn.set(h,m),s.set(h,g),m||(Yo.has(h)||h.removeAttribute(o),Yo.delete(h)),g||h.removeAttribute(r)}),Ks--,Ks||(Kn=new WeakMap,Kn=new WeakMap,Yo=new WeakMap,Xo={})}},Dx=e=>(Array.isArray(e)?e[0]:e).ownerDocument.body,zx=(e,t=Dx(e),n="data-aria-hidden")=>{if(t)return Lx(e,{parentNode:t,markerName:n,controlAttribute:"aria-hidden"})},Mx=e=>{const t=requestAnimationFrame(()=>e());return()=>cancelAnimationFrame(t)};function Nu(e,t={}){const{defer:n=!0}=t,r=n?Mx:i=>i(),o=[];return o.push(r(()=>{const s=(typeof e=="function"?e():e).filter(Boolean);s.length!==0&&o.push(zx(s))})),()=>{o.forEach(i=>i?.())}}var Au=j("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger");Au.build();var _u=e=>new Go(e);_u.empty=()=>new Go({items:[]});var jx=e=>e.ids?.control??`combobox:${e.id}:control`,$x=e=>e.ids?.input??`combobox:${e.id}:input`,Bx=e=>e.ids?.content??`combobox:${e.id}:content`,Wx=e=>e.ids?.positioner??`combobox:${e.id}:popper`,Hx=e=>e.ids?.trigger??`combobox:${e.id}:toggle-btn`,Ux=e=>e.ids?.clearTrigger??`combobox:${e.id}:clear-btn`,zt=e=>e.getById(Bx(e)),Yn=e=>e.getById($x(e)),Vu=e=>e.getById(Wx(e)),Fu=e=>e.getById(jx(e)),Nr=e=>e.getById(Hx(e)),Lu=e=>e.getById(Ux(e)),Ar=(e,t)=>{if(t==null)return null;const n=`[role=option][data-value="${CSS.escape(t)}"]`;return iv(zt(e),n)},Du=e=>{const t=Yn(e);e.isActiveElement(t)||t?.focus({preventScroll:!0})},Gx=e=>{const t=Nr(e);e.isActiveElement(t)||t?.focus({preventScroll:!0})},{guards:qx,createMachine:Kx,choose:Yx}=gc(),{and:ye,not:Ue}=qx;Kx({props({props:e}){return{loopFocus:!0,openOnClick:!1,defaultValue:[],closeOnSelect:!e.multiple,allowCustomValue:!1,alwaysSubmitOnEnter:!1,inputBehavior:"none",selectionBehavior:e.multiple?"clear":"replace",openOnKeyPress:!0,openOnChange:!0,composite:!0,navigate({node:t}){lc(t)},collection:_u.empty(),...e,positioning:{placement:"bottom",sameWidth:!0,...e.positioning},translations:{triggerLabel:"Toggle suggestions",clearTriggerLabel:"Clear value",...e.translations}}},initialState({prop:e}){return e("open")||e("defaultOpen")?"suggesting":"idle"},context({prop:e,bindable:t,getContext:n,getEvent:r}){return{currentPlacement:t(()=>({defaultValue:void 0})),value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),isEqual:Ze,hash(o){return o.join(",")},onChange(o){const i=n(),s=i.get("selectedItems"),a=e("collection"),l=o.map(c=>s.find(d=>a.getItemValue(d)===c)||a.find(c));i.set("selectedItems",l),e("onValueChange")?.({value:o,items:l})}})),highlightedValue:t(()=>({defaultValue:e("defaultHighlightedValue")||null,value:e("highlightedValue"),onChange(o){const i=e("collection").find(o);e("onHighlightChange")?.({highlightedValue:o,highlightedItem:i})}})),inputValue:t(()=>{let o=e("inputValue")||e("defaultInputValue")||"";const i=e("defaultValue")||e("value")||[];if(!o.trim()&&!e("multiple")){const s=e("collection").stringifyMany(i);o=bt(e("selectionBehavior"),{preserve:o||s,replace:s,clear:""})}return{defaultValue:o,value:e("inputValue"),onChange(s){const a=r(),l=(a.previousEvent||a).src;e("onInputValueChange")?.({inputValue:s,reason:l})}}}),highlightedItem:t(()=>{const o=e("highlightedValue");return{defaultValue:e("collection").find(o)}}),selectedItems:t(()=>{const o=e("value")||e("defaultValue")||[];return{defaultValue:e("collection").findMany(o)}})}},computed:{isInputValueEmpty:({context:e})=>e.get("inputValue").length===0,isInteractive:({prop:e})=>!(e("readOnly")||e("disabled")),autoComplete:({prop:e})=>e("inputBehavior")==="autocomplete",autoHighlight:({prop:e})=>e("inputBehavior")==="autohighlight",hasSelectedItems:({context:e})=>e.get("value").length>0,valueAsString:({context:e,prop:t})=>t("collection").stringifyItems(e.get("selectedItems")),isCustomValue:({context:e,computed:t})=>e.get("inputValue")!==t("valueAsString")},watch({context:e,prop:t,track:n,action:r,send:o}){n([()=>e.hash("value")],()=>{r(["syncSelectedItems"])}),n([()=>e.get("inputValue")],()=>{r(["syncInputValue"])}),n([()=>e.get("highlightedValue")],()=>{r(["syncHighlightedItem","autofillInputValue"])}),n([()=>t("open")],()=>{r(["toggleVisibility"])}),n([()=>t("collection").toString()],()=>{o({type:"CHILDREN_CHANGE"})})},on:{"SELECTED_ITEMS.SYNC":{actions:["syncSelectedItems"]},"HIGHLIGHTED_VALUE.SET":{actions:["setHighlightedValue"]},"HIGHLIGHTED_VALUE.CLEAR":{actions:["clearHighlightedValue"]},"ITEM.SELECT":{actions:["selectItem"]},"ITEM.CLEAR":{actions:["clearItem"]},"VALUE.SET":{actions:["setValue"]},"INPUT_VALUE.SET":{actions:["setInputValue"]},"POSITIONING.SET":{actions:["reposition"]}},entry:Yx([{guard:"autoFocus",actions:["setInitialFocus"]}]),states:{idle:{tags:["idle","closed"],entry:["scrollContentToTop","clearHighlightedValue"],on:{"CONTROLLED.OPEN":{target:"interacting"},"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.CLICK":[{guard:"isOpenControlled",actions:["highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.FOCUS":{target:"focused"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"interacting",actions:["invokeOnOpen"]}],"VALUE.CLEAR":{target:"focused",actions:["clearInputValue","clearSelectedItems","setInitialFocus"]}}},focused:{tags:["focused","closed"],entry:["scrollContentToTop","clearHighlightedValue"],on:{"CONTROLLED.OPEN":[{guard:"isChangeEvent",target:"suggesting"},{target:"interacting"}],"INPUT.CHANGE":[{guard:ye("isOpenControlled","openOnChange"),actions:["setInputValue","invokeOnOpen","highlightFirstItemIfNeeded"]},{guard:"openOnChange",target:"suggesting",actions:["setInputValue","invokeOnOpen","highlightFirstItemIfNeeded"]},{actions:["setInputValue"]}],"LAYER.INTERACT_OUTSIDE":{target:"idle"},"INPUT.ESCAPE":{guard:ye("isCustomValue",Ue("allowCustomValue")),actions:["revertInputValue"]},"INPUT.BLUR":{target:"idle"},"INPUT.CLICK":[{guard:"isOpenControlled",actions:["highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstSelectedItem","invokeOnOpen"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.ARROW_DOWN":[{guard:ye("isOpenControlled","autoComplete"),actions:["invokeOnOpen"]},{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{guard:"isOpenControlled",actions:["highlightFirstOrSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstOrSelectedItem","invokeOnOpen"]}],"INPUT.ARROW_UP":[{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{target:"interacting",actions:["highlightLastOrSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightLastOrSelectedItem","invokeOnOpen"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"interacting",actions:["invokeOnOpen"]}],"VALUE.CLEAR":{actions:["clearInputValue","clearSelectedItems"]}}},interacting:{tags:["open","focused"],entry:["setInitialFocus"],effects:["scrollToHighlightedItem","trackDismissableLayer","trackPlacement","hideOtherElements"],on:{"CONTROLLED.CLOSE":[{guard:"restoreFocus",target:"focused",actions:["setFinalFocus"]},{target:"idle"}],CHILDREN_CHANGE:[{guard:"isHighlightedItemRemoved",actions:["clearHighlightedValue"]},{actions:["scrollToHighlightedItem"]}],"INPUT.HOME":{actions:["highlightFirstItem"]},"INPUT.END":{actions:["highlightLastItem"]},"INPUT.ARROW_DOWN":[{guard:ye("autoComplete","isLastItemHighlighted"),actions:["clearHighlightedValue","scrollContentToTop"]},{actions:["highlightNextItem"]}],"INPUT.ARROW_UP":[{guard:ye("autoComplete","isFirstItemHighlighted"),actions:["clearHighlightedValue"]},{actions:["highlightPrevItem"]}],"INPUT.ENTER":[{guard:ye("isOpenControlled","isCustomValue",Ue("hasHighlightedItem"),Ue("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:ye("isCustomValue",Ue("hasHighlightedItem"),Ue("allowCustomValue")),target:"focused",actions:["revertInputValue","invokeOnClose"]},{guard:ye("isOpenControlled","closeOnSelect"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","setFinalFocus"]},{actions:["selectHighlightedItem"]}],"INPUT.CHANGE":[{guard:"autoComplete",target:"suggesting",actions:["setInputValue"]},{target:"suggesting",actions:["clearHighlightedValue","setInputValue"]}],"ITEM.POINTER_MOVE":{actions:["setHighlightedValue"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedValue"]},"ITEM.CLICK":[{guard:ye("isOpenControlled","closeOnSelect"),actions:["selectItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectItem","invokeOnClose","setFinalFocus"]},{actions:["selectItem"]}],"LAYER.ESCAPE":[{guard:ye("isOpenControlled","autoComplete"),actions:["syncInputValue","invokeOnClose"]},{guard:"autoComplete",target:"focused",actions:["syncInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"LAYER.INTERACT_OUTSIDE":[{guard:ye("isOpenControlled","isCustomValue",Ue("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:ye("isCustomValue",Ue("allowCustomValue")),target:"idle",actions:["revertInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"idle",actions:["invokeOnClose"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"VALUE.CLEAR":[{guard:"isOpenControlled",actions:["clearInputValue","clearSelectedItems","invokeOnClose"]},{target:"focused",actions:["clearInputValue","clearSelectedItems","invokeOnClose","setFinalFocus"]}]}},suggesting:{tags:["open","focused"],effects:["trackDismissableLayer","scrollToHighlightedItem","trackPlacement","hideOtherElements"],entry:["setInitialFocus"],on:{"CONTROLLED.CLOSE":[{guard:"restoreFocus",target:"focused",actions:["setFinalFocus"]},{target:"idle"}],CHILDREN_CHANGE:[{guard:"autoHighlight",actions:["highlightFirstItem"]},{guard:"isHighlightedItemRemoved",actions:["clearHighlightedValue"]}],"INPUT.ARROW_DOWN":{target:"interacting",actions:["highlightNextItem"]},"INPUT.ARROW_UP":{target:"interacting",actions:["highlightPrevItem"]},"INPUT.HOME":{target:"interacting",actions:["highlightFirstItem"]},"INPUT.END":{target:"interacting",actions:["highlightLastItem"]},"INPUT.ENTER":[{guard:ye("isOpenControlled","isCustomValue",Ue("hasHighlightedItem"),Ue("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:ye("isCustomValue",Ue("hasHighlightedItem"),Ue("allowCustomValue")),target:"focused",actions:["revertInputValue","invokeOnClose"]},{guard:ye("isOpenControlled","closeOnSelect"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","setFinalFocus"]},{actions:["selectHighlightedItem"]}],"INPUT.CHANGE":{actions:["setInputValue"]},"LAYER.ESCAPE":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"ITEM.POINTER_MOVE":{target:"interacting",actions:["setHighlightedValue"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedValue"]},"LAYER.INTERACT_OUTSIDE":[{guard:ye("isOpenControlled","isCustomValue",Ue("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:ye("isCustomValue",Ue("allowCustomValue")),target:"idle",actions:["revertInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"idle",actions:["invokeOnClose"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"ITEM.CLICK":[{guard:ye("isOpenControlled","closeOnSelect"),actions:["selectItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectItem","invokeOnClose","setFinalFocus"]},{actions:["selectItem"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"VALUE.CLEAR":[{guard:"isOpenControlled",actions:["clearInputValue","clearSelectedItems","invokeOnClose"]},{target:"focused",actions:["clearInputValue","clearSelectedItems","invokeOnClose","setFinalFocus"]}]}}},implementations:{guards:{isInputValueEmpty:({computed:e})=>e("isInputValueEmpty"),autoComplete:({computed:e,prop:t})=>e("autoComplete")&&!t("multiple"),autoHighlight:({computed:e})=>e("autoHighlight"),isFirstItemHighlighted:({prop:e,context:t})=>e("collection").firstValue===t.get("highlightedValue"),isLastItemHighlighted:({prop:e,context:t})=>e("collection").lastValue===t.get("highlightedValue"),isCustomValue:({computed:e})=>e("isCustomValue"),allowCustomValue:({prop:e})=>!!e("allowCustomValue"),hasHighlightedItem:({context:e})=>e.get("highlightedValue")!=null,closeOnSelect:({prop:e})=>!!e("closeOnSelect"),isOpenControlled:({prop:e})=>e("open")!=null,openOnChange:({prop:e,context:t})=>{const n=e("openOnChange");return Mm(n)?n:!!n?.({inputValue:t.get("inputValue")})},restoreFocus:({event:e})=>e.restoreFocus==null?!0:!!e.restoreFocus,isChangeEvent:({event:e})=>e.previousEvent?.type==="INPUT.CHANGE",autoFocus:({prop:e})=>!!e("autoFocus"),isHighlightedItemRemoved:({prop:e,context:t})=>!e("collection").has(t.get("highlightedValue"))},effects:{trackDismissableLayer({send:e,prop:t,scope:n}){return t("disableLayer")?void 0:Gn(()=>zt(n),{type:"listbox",defer:!0,exclude:()=>[Yn(n),Nr(n),Lu(n)],onFocusOutside:t("onFocusOutside"),onPointerDownOutside:t("onPointerDownOutside"),onInteractOutside:t("onInteractOutside"),onEscapeKeyDown(o){o.preventDefault(),o.stopPropagation(),e({type:"LAYER.ESCAPE",src:"escape-key"})},onDismiss(){e({type:"LAYER.INTERACT_OUTSIDE",src:"interact-outside",restoreFocus:!1})}})},hideOtherElements({scope:e}){return Nu([Yn(e),zt(e),Nr(e),Lu(e)])},trackPlacement({context:e,prop:t,scope:n}){const r=()=>Fu(n)||Nr(n),o=()=>Vu(n);return e.set("currentPlacement",t("positioning").placement),nt(r,o,{...t("positioning"),defer:!0,onComplete(i){e.set("currentPlacement",i.placement)}})},scrollToHighlightedItem({context:e,prop:t,scope:n,event:r}){const o=Yn(n);let i=[];const s=c=>{const u=r.current().type.includes("POINTER"),d=e.get("highlightedValue");if(u||!d)return;const h=zt(n),m=t("scrollToIndexFn");if(m){const v=t("collection").indexOf(d);m({index:v,immediate:c,getElement:()=>Ar(n,d)});return}const g=Ar(n,d),p=G(()=>{wo(g,{rootEl:h,block:"nearest"})});i.push(p)},a=G(()=>s(!0));i.push(a);const l=Co(o,{attributes:["aria-activedescendant"],callback:()=>s(!1)});return i.push(l),()=>{i.forEach(c=>c())}}},actions:{reposition({context:e,prop:t,scope:n,event:r}){nt(()=>Fu(n),()=>Vu(n),{...t("positioning"),...r.options,defer:!0,listeners:!1,onComplete(s){e.set("currentPlacement",s.placement)}})},setHighlightedValue({context:e,event:t}){t.value!=null&&e.set("highlightedValue",t.value)},clearHighlightedValue({context:e}){e.set("highlightedValue",null)},selectHighlightedItem(e){const{context:t,prop:n}=e,r=n("collection"),o=t.get("highlightedValue");if(!o||!r.has(o))return;const i=n("multiple")?Ln(t.get("value"),o):[o];n("onSelect")?.({value:i,itemValue:o}),t.set("value",i);const s=bt(n("selectionBehavior"),{preserve:t.get("inputValue"),replace:r.stringifyMany(i),clear:""});t.set("inputValue",s)},scrollToHighlightedItem({context:e,prop:t,scope:n}){ys(()=>{const r=e.get("highlightedValue");if(r==null)return;const o=Ar(n,r),i=zt(n),s=t("scrollToIndexFn");if(s){const a=t("collection").indexOf(r);s({index:a,immediate:!0,getElement:()=>Ar(n,r)});return}wo(o,{rootEl:i,block:"nearest"})})},selectItem(e){const{context:t,event:n,flush:r,prop:o}=e;n.value!=null&&r(()=>{const i=o("multiple")?Ln(t.get("value"),n.value):[n.value];o("onSelect")?.({value:i,itemValue:n.value}),t.set("value",i);const s=bt(o("selectionBehavior"),{preserve:t.get("inputValue"),replace:o("collection").stringifyMany(i),clear:""});t.set("inputValue",s)})},clearItem(e){const{context:t,event:n,flush:r,prop:o}=e;n.value!=null&&r(()=>{const i=qt(t.get("value"),n.value);t.set("value",i);const s=bt(o("selectionBehavior"),{preserve:t.get("inputValue"),replace:o("collection").stringifyMany(i),clear:""});t.set("inputValue",s)})},setInitialFocus({scope:e}){G(()=>{Du(e)})},setFinalFocus({scope:e}){G(()=>{Nr(e)?.dataset.focusable==null?Du(e):Gx(e)})},syncInputValue({context:e,scope:t,event:n}){const r=Yn(t);r&&(r.value=e.get("inputValue"),queueMicrotask(()=>{n.current().type!=="INPUT.CHANGE"&&d0(r)}))},setInputValue({context:e,event:t}){e.set("inputValue",t.value)},clearInputValue({context:e}){e.set("inputValue","")},revertInputValue({context:e,prop:t,computed:n}){const r=t("selectionBehavior"),o=bt(r,{replace:n("hasSelectedItems")?n("valueAsString"):"",preserve:e.get("inputValue"),clear:""});e.set("inputValue",o)},setValue(e){const{context:t,flush:n,event:r,prop:o}=e;n(()=>{t.set("value",r.value);const i=bt(o("selectionBehavior"),{preserve:t.get("inputValue"),replace:o("collection").stringifyMany(r.value),clear:""});t.set("inputValue",i)})},clearSelectedItems(e){const{context:t,flush:n,prop:r}=e;n(()=>{t.set("value",[]);const o=bt(r("selectionBehavior"),{preserve:t.get("inputValue"),replace:r("collection").stringifyMany([]),clear:""});t.set("inputValue",o)})},scrollContentToTop({prop:e,scope:t}){const n=e("scrollToIndexFn");if(n){const r=e("collection").firstValue;n({index:0,immediate:!0,getElement:()=>Ar(t,r)})}else{const r=zt(t);if(!r)return;r.scrollTop=0}},invokeOnOpen({prop:e,event:t}){const n=zu(t);e("onOpenChange")?.({open:!0,reason:n})},invokeOnClose({prop:e,event:t}){const n=zu(t);e("onOpenChange")?.({open:!1,reason:n})},highlightFirstItem({context:e,prop:t,scope:n}){(zt(n)?queueMicrotask:G)(()=>{const o=t("collection").firstValue;o&&e.set("highlightedValue",o)})},highlightFirstItemIfNeeded({computed:e,action:t}){e("autoHighlight")&&t(["highlightFirstItem"])},highlightLastItem({context:e,prop:t,scope:n}){(zt(n)?queueMicrotask:G)(()=>{const o=t("collection").lastValue;o&&e.set("highlightedValue",o)})},highlightNextItem({context:e,prop:t}){let n=null;const r=e.get("highlightedValue"),o=t("collection");r?(n=o.getNextValue(r),!n&&t("loopFocus")&&(n=o.firstValue)):n=o.firstValue,n&&e.set("highlightedValue",n)},highlightPrevItem({context:e,prop:t}){let n=null;const r=e.get("highlightedValue"),o=t("collection");r?(n=o.getPreviousValue(r),!n&&t("loopFocus")&&(n=o.lastValue)):n=o.lastValue,n&&e.set("highlightedValue",n)},highlightFirstSelectedItem({context:e,prop:t}){G(()=>{const[n]=t("collection").sort(e.get("value"));n&&e.set("highlightedValue",n)})},highlightFirstOrSelectedItem({context:e,prop:t,computed:n}){G(()=>{let r=null;n("hasSelectedItems")?r=t("collection").sort(e.get("value"))[0]:r=t("collection").firstValue,r&&e.set("highlightedValue",r)})},highlightLastOrSelectedItem({context:e,prop:t,computed:n}){G(()=>{const r=t("collection");let o=null;n("hasSelectedItems")?o=r.sort(e.get("value"))[0]:o=r.lastValue,o&&e.set("highlightedValue",o)})},autofillInputValue({context:e,computed:t,prop:n,event:r,scope:o}){const i=Yn(o),s=n("collection");if(!t("autoComplete")||!i||!r.keypress)return;const a=s.stringify(e.get("highlightedValue"));G(()=>{i.value=a||e.get("inputValue")})},syncSelectedItems(e){queueMicrotask(()=>{const{context:t,prop:n}=e,r=n("collection"),o=t.get("value"),i=o.map(a=>t.get("selectedItems").find(c=>r.getItemValue(c)===a)||r.find(a));t.set("selectedItems",i);const s=bt(n("selectionBehavior"),{preserve:t.get("inputValue"),replace:r.stringifyMany(o),clear:""});t.set("inputValue",s)})},syncHighlightedItem({context:e,prop:t}){const n=t("collection").find(e.get("highlightedValue"));e.set("highlightedItem",n)},toggleVisibility({event:e,send:t,prop:n}){t({type:n("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:e})}}}});function zu(e){return(e.previousEvent||e).src}M()(["allowCustomValue","autoFocus","closeOnSelect","collection","composite","defaultHighlightedValue","defaultInputValue","defaultOpen","defaultValue","dir","disabled","disableLayer","form","getRootNode","highlightedValue","id","ids","inputBehavior","inputValue","invalid","loopFocus","multiple","name","navigate","onFocusOutside","onHighlightChange","onInputValueChange","onInteractOutside","onOpenChange","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","openOnChange","openOnClick","openOnKeyPress","placeholder","positioning","readOnly","required","scrollToIndexFn","selectionBehavior","translations","value","alwaysSubmitOnEnter"]),M()(["htmlFor"]),M()(["id"]),M()(["item","persistFocus"]);const Xx=Au.extendWith("empty"),[Mu,Mt]=Dn({name:"DialogContext",hookName:"useDialogContext",providerName:"<DialogProvider />"}),ju=P.forwardRef((e,t)=>{const n=Mt(),r=qy(),o=Os({...r,present:n.open}),i=qe(n.getBackdropProps(),o.getPresenceProps(),e);return o.unmounted?null:f.jsx(yt.div,{...i,ref:Io(o.ref,t)})});ju.displayName="DialogBackdrop";const $u=P.forwardRef((e,t)=>{const n=Mt(),r=qe(n.getCloseTriggerProps(),e);return f.jsx(yt.button,{...r,ref:t})});$u.displayName="DialogCloseTrigger";const Bu=P.forwardRef((e,t)=>{const n=Mt(),r=Ps(),o=qe(n.getContentProps(),r.getPresenceProps(),e);return r.unmounted?null:f.jsx(yt.div,{...o,ref:Io(r.ref,t)})});Bu.displayName="DialogContent";const Wu=P.forwardRef((e,t)=>{const n=Mt(),r=qe(n.getDescriptionProps(),e);return f.jsx(yt.div,{...r,ref:t})});Wu.displayName="DialogDescription";const Hu=P.forwardRef((e,t)=>{const n=Mt(),r=qe(n.getPositionerProps(),e);return Ps().unmounted?null:f.jsx(yt.div,{...r,ref:t})});Hu.displayName="DialogPositioner";var Qx=Object.defineProperty,Jx=(e,t,n)=>t in e?Qx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ae=(e,t,n)=>Jx(e,typeof t!="symbol"?t+"":t,n),Uu={activateTrap(e,t){if(e.length>0){const r=e[e.length-1];r!==t&&r.pause()}const n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}},Zx=[],e1=class{constructor(e,t){ae(this,"trapStack"),ae(this,"config"),ae(this,"doc"),ae(this,"state",{containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0}),ae(this,"listenerCleanups",[]),ae(this,"handleFocus",r=>{const o=$e(r),i=this.findContainerIndex(o,r)>=0;if(i||hs(o))i&&(this.state.mostRecentlyFocusedNode=o);else{r.stopImmediatePropagation();let s,a=!0;if(this.state.mostRecentlyFocusedNode)if(Sr(this.state.mostRecentlyFocusedNode)>0){const l=this.findContainerIndex(this.state.mostRecentlyFocusedNode),{tabbableNodes:c}=this.state.containerGroups[l];if(c.length>0){const u=c.findIndex(d=>d===this.state.mostRecentlyFocusedNode);u>=0&&(this.config.isKeyForward(this.state.recentNavEvent)?u+1<c.length&&(s=c[u+1],a=!1):u-1>=0&&(s=c[u-1],a=!1))}}else this.state.containerGroups.some(l=>l.tabbableNodes.some(c=>Sr(c)>0))||(a=!1);else a=!1;a&&(s=this.findNextNavNode({target:this.state.mostRecentlyFocusedNode,isBackward:this.config.isKeyBackward(this.state.recentNavEvent)})),s?this.tryFocus(s):this.tryFocus(this.state.mostRecentlyFocusedNode||this.getInitialFocusNode())}this.state.recentNavEvent=void 0}),ae(this,"handlePointerDown",r=>{const o=$e(r);if(!(this.findContainerIndex(o,r)>=0)){if(Vr(this.config.clickOutsideDeactivates,r)){this.deactivate({returnFocus:this.config.returnFocusOnDeactivate});return}Vr(this.config.allowOutsideClick,r)||r.preventDefault()}}),ae(this,"handleClick",r=>{const o=$e(r);this.findContainerIndex(o,r)>=0||Vr(this.config.clickOutsideDeactivates,r)||Vr(this.config.allowOutsideClick,r)||(r.preventDefault(),r.stopImmediatePropagation())}),ae(this,"handleTabKey",r=>{if(this.config.isKeyForward(r)||this.config.isKeyBackward(r)){this.state.recentNavEvent=r;const o=this.config.isKeyBackward(r),i=this.findNextNavNode({event:r,isBackward:o});if(!i)return;_r(r)&&r.preventDefault(),this.tryFocus(i)}}),ae(this,"handleEscapeKey",r=>{t1(r)&&Vr(this.config.escapeDeactivates,r)!==!1&&(r.preventDefault(),this.deactivate())}),ae(this,"_mutationObserver"),ae(this,"setupMutationObserver",()=>{const r=this.doc.defaultView||window;this._mutationObserver=new r.MutationObserver(o=>{o.some(s=>Array.from(s.removedNodes).some(l=>l===this.state.mostRecentlyFocusedNode))&&this.tryFocus(this.getInitialFocusNode())})}),ae(this,"updateObservedNodes",()=>{this._mutationObserver?.disconnect(),this.state.active&&!this.state.paused&&this.state.containers.map(r=>{this._mutationObserver?.observe(r,{subtree:!0,childList:!0})})}),ae(this,"getInitialFocusNode",()=>{let r=this.getNodeForOption("initialFocus",{hasFallback:!0});if(r===!1)return!1;if(r===void 0||r&&!Vt(r)){const o=Cr(this.doc);if(o&&this.findContainerIndex(o)>=0)r=o;else{const i=this.state.tabbableGroups[0];r=i&&i.firstTabbableNode||this.getNodeForOption("fallbackFocus")}}else r===null&&(r=this.getNodeForOption("fallbackFocus"));if(!r)throw new Error("Your focus-trap needs to have at least one focusable element");return r.isConnected||(r=this.getNodeForOption("fallbackFocus")),r}),ae(this,"tryFocus",r=>{if(r!==!1&&r!==Cr(this.doc)){if(!r||!r.focus){this.tryFocus(this.getInitialFocusNode());return}r.focus({preventScroll:!!this.config.preventScroll}),this.state.mostRecentlyFocusedNode=r,n1(r)&&r.select()}}),ae(this,"deactivate",r=>{if(!this.state.active)return this;const o={onDeactivate:this.config.onDeactivate,onPostDeactivate:this.config.onPostDeactivate,checkCanReturnFocus:this.config.checkCanReturnFocus,...r};clearTimeout(this.state.delayInitialFocusTimer),this.state.delayInitialFocusTimer=void 0,this.removeListeners(),this.state.active=!1,this.state.paused=!1,this.updateObservedNodes(),Uu.deactivateTrap(this.trapStack,this);const i=this.getOption(o,"onDeactivate"),s=this.getOption(o,"onPostDeactivate"),a=this.getOption(o,"checkCanReturnFocus"),l=this.getOption(o,"returnFocus","returnFocusOnDeactivate");i?.();const c=()=>{Gu(()=>{if(l){const u=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);this.tryFocus(u)}s?.()})};if(l&&a){const u=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);return a(u).then(c,c),this}return c(),this}),ae(this,"pause",r=>{if(this.state.paused||!this.state.active)return this;const o=this.getOption(r,"onPause"),i=this.getOption(r,"onPostPause");return this.state.paused=!0,o?.(),this.removeListeners(),this.updateObservedNodes(),i?.(),this}),ae(this,"unpause",r=>{if(!this.state.paused||!this.state.active)return this;const o=this.getOption(r,"onUnpause"),i=this.getOption(r,"onPostUnpause");return this.state.paused=!1,o?.(),this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),i?.(),this}),ae(this,"updateContainerElements",r=>(this.state.containers=Array.isArray(r)?r.filter(Boolean):[r].filter(Boolean),this.state.active&&this.updateTabbableNodes(),this.updateObservedNodes(),this)),ae(this,"getReturnFocusNode",r=>{const o=this.getNodeForOption("setReturnFocus",{params:[r]});return o||(o===!1?!1:r)}),ae(this,"getOption",(r,o,i)=>r&&r[o]!==void 0?r[o]:this.config[i||o]),ae(this,"getNodeForOption",(r,{hasFallback:o=!1,params:i=[]}={})=>{let s=this.config[r];if(typeof s=="function"&&(s=s(...i)),s===!0&&(s=void 0),!s){if(s===void 0||s===!1)return s;throw new Error(`\`${r}\` was specified but was not a node, or did not return a node`)}let a=s;if(typeof s=="string"){try{a=this.doc.querySelector(s)}catch(l){throw new Error(`\`${r}\` appears to be an invalid selector; error="${l.message}"`)}if(!a&&!o)throw new Error(`\`${r}\` as selector refers to no known node`)}return a}),ae(this,"findNextNavNode",r=>{const{event:o,isBackward:i=!1}=r,s=r.target||$e(o);this.updateTabbableNodes();let a=null;if(this.state.tabbableGroups.length>0){const l=this.findContainerIndex(s,o),c=l>=0?this.state.containerGroups[l]:void 0;if(l<0)i?a=this.state.tabbableGroups[this.state.tabbableGroups.length-1].lastTabbableNode:a=this.state.tabbableGroups[0].firstTabbableNode;else if(i){let u=this.state.tabbableGroups.findIndex(({firstTabbableNode:d})=>s===d);if(u<0&&(c?.container===s||Vt(s)&&!Qt(s)&&!c?.nextTabbableNode(s,!1))&&(u=l),u>=0){const d=u===0?this.state.tabbableGroups.length-1:u-1,h=this.state.tabbableGroups[d];a=Sr(s)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else _r(o)||(a=c?.nextTabbableNode(s,!1))}else{let u=this.state.tabbableGroups.findIndex(({lastTabbableNode:d})=>s===d);if(u<0&&(c?.container===s||Vt(s)&&!Qt(s)&&!c?.nextTabbableNode(s))&&(u=l),u>=0){const d=u===this.state.tabbableGroups.length-1?0:u+1,h=this.state.tabbableGroups[d];a=Sr(s)>=0?h.firstTabbableNode:h.firstDomTabbableNode}else _r(o)||(a=c?.nextTabbableNode(s))}}else a=this.getNodeForOption("fallbackFocus");return a}),this.trapStack=t.trapStack||Zx;const n={returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward(r){return _r(r)&&!r.shiftKey},isKeyBackward(r){return _r(r)&&r.shiftKey},...t};this.doc=n.document||Fe(Array.isArray(e)?e[0]:e),this.config=n,this.updateContainerElements(e),this.setupMutationObserver()}get active(){return this.state.active}get paused(){return this.state.paused}findContainerIndex(e,t){const n=typeof t?.composedPath=="function"?t.composedPath():void 0;return this.state.containerGroups.findIndex(({container:r,tabbableNodes:o})=>r.contains(e)||n?.includes(r)||o.find(i=>i===e))}updateTabbableNodes(){if(this.state.containerGroups=this.state.containers.map(e=>{const t=vs(e),n=ac(e),r=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,i=n.find(c=>Qt(c)),s=n.slice().reverse().find(c=>Qt(c)),a=!!t.find(c=>Sr(c)>0);function l(c,u=!0){const d=t.indexOf(c);return d<0?u?n.slice(n.indexOf(c)+1).find(h=>Qt(h)):n.slice(0,n.indexOf(c)).reverse().find(h=>Qt(h)):t[d+(u?1:-1)]}return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:a,firstTabbableNode:r,lastTabbableNode:o,firstDomTabbableNode:i,lastDomTabbableNode:s,nextTabbableNode:l}}),this.state.tabbableGroups=this.state.containerGroups.filter(e=>e.tabbableNodes.length>0),this.state.tabbableGroups.length<=0&&!this.getNodeForOption("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(this.state.containerGroups.find(e=>e.posTabIndexesFound)&&this.state.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")}addListeners(){if(this.state.active)return Uu.activateTrap(this.trapStack,this),this.state.delayInitialFocusTimer=this.config.delayInitialFocus?Gu(()=>{this.tryFocus(this.getInitialFocusNode())}):this.tryFocus(this.getInitialFocusNode()),this.listenerCleanups.push(se(this.doc,"focusin",this.handleFocus,!0),se(this.doc,"mousedown",this.handlePointerDown,{capture:!0,passive:!1}),se(this.doc,"touchstart",this.handlePointerDown,{capture:!0,passive:!1}),se(this.doc,"click",this.handleClick,{capture:!0,passive:!1}),se(this.doc,"keydown",this.handleTabKey,{capture:!0,passive:!1}),se(this.doc,"keydown",this.handleEscapeKey)),this}removeListeners(){if(this.state.active)return this.listenerCleanups.forEach(e=>e()),this.listenerCleanups=[],this}activate(e){if(this.state.active)return this;const t=this.getOption(e,"onActivate"),n=this.getOption(e,"onPostActivate"),r=this.getOption(e,"checkCanFocusTrap");r||this.updateTabbableNodes(),this.state.active=!0,this.state.paused=!1,this.state.nodeFocusedBeforeActivation=Cr(this.doc),t?.();const o=()=>{r&&this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),n?.()};return r?(r(this.state.containers.concat()).then(o,o),this):(o(),this)}},_r=e=>e.key==="Tab",Vr=(e,...t)=>typeof e=="function"?e(...t):e,t1=e=>!e.isComposing&&e.key==="Escape",Gu=e=>setTimeout(e,0),n1=e=>e.localName==="input"&&"select"in e&&typeof e.select=="function";function r1(e,t={}){let n;const r=G(()=>{const o=typeof e=="function"?e():e;if(o){n=new e1(o,{escapeDeactivates:!1,allowOutsideClick:!0,preventScroll:!0,returnFocusOnDeactivate:!0,delayInitialFocus:!1,fallbackFocus:o,...t,document:Fe(o)});try{n.activate()}catch{}}});return function(){n?.deactivate(),r()}}var Ys="data-scroll-lock";function o1(e){const t=e.getBoundingClientRect().left;return Math.round(t)+e.scrollLeft?"paddingLeft":"paddingRight"}function i1(e){const t=e??document,n=t.defaultView??window,{documentElement:r,body:o}=t;if(o.hasAttribute(Ys))return;const s=n.innerWidth-r.clientWidth;o.setAttribute(Ys,"");const a=()=>fv(r,"--scrollbar-width",`${s}px`),l=o1(r),c=()=>Po(o,{overflow:"hidden",[l]:`${s}px`}),u=()=>{const{scrollX:h,scrollY:m,visualViewport:g}=n,p=g?.offsetLeft??0,v=g?.offsetTop??0,y=Po(o,{position:"fixed",overflow:"hidden",top:`${-(m-Math.floor(v))}px`,left:`${-(h-Math.floor(p))}px`,right:"0",[l]:`${s}px`});return()=>{y?.(),n.scrollTo({left:h,top:m,behavior:"instant"})}},d=[a(),yo()?u():c()];return()=>{d.forEach(h=>h?.()),o.removeAttribute(Ys)}}var Xs=j("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger"),nn=Xs.build(),qu=e=>e.ids?.positioner??`dialog:${e.id}:positioner`,Ku=e=>e.ids?.backdrop??`dialog:${e.id}:backdrop`,Qs=e=>e.ids?.content??`dialog:${e.id}:content`,Yu=e=>e.ids?.trigger??`dialog:${e.id}:trigger`,Js=e=>e.ids?.title??`dialog:${e.id}:title`,Zs=e=>e.ids?.description??`dialog:${e.id}:description`,Xu=e=>e.ids?.closeTrigger??`dialog:${e.id}:close`,Qo=e=>e.getById(Qs(e)),s1=e=>e.getById(qu(e)),a1=e=>e.getById(Ku(e)),l1=e=>e.getById(Yu(e)),c1=e=>e.getById(Js(e)),u1=e=>e.getById(Zs(e)),d1=e=>e.getById(Xu(e));function h1(e,t){const{state:n,send:r,context:o,prop:i,scope:s}=e,a=i("aria-label"),l=n.matches("open");return{open:l,setOpen(c){n.matches("open")!==c&&r({type:c?"OPEN":"CLOSE"})},getTriggerProps(){return t.button({...nn.trigger.attrs,dir:i("dir"),id:Yu(s),"aria-haspopup":"dialog",type:"button","aria-expanded":l,"data-state":l?"open":"closed","aria-controls":Qs(s),onClick(c){c.defaultPrevented||r({type:"TOGGLE"})}})},getBackdropProps(){return t.element({...nn.backdrop.attrs,dir:i("dir"),hidden:!l,id:Ku(s),"data-state":l?"open":"closed"})},getPositionerProps(){return t.element({...nn.positioner.attrs,dir:i("dir"),id:qu(s),style:{pointerEvents:l?void 0:"none"}})},getContentProps(){const c=o.get("rendered");return t.element({...nn.content.attrs,dir:i("dir"),role:i("role"),hidden:!l,id:Qs(s),tabIndex:-1,"data-state":l?"open":"closed","aria-modal":!0,"aria-label":a||void 0,"aria-labelledby":a||!c.title?void 0:Js(s),"aria-describedby":c.description?Zs(s):void 0})},getTitleProps(){return t.element({...nn.title.attrs,dir:i("dir"),id:Js(s)})},getDescriptionProps(){return t.element({...nn.description.attrs,dir:i("dir"),id:Zs(s)})},getCloseTriggerProps(){return t.button({...nn.closeTrigger.attrs,dir:i("dir"),id:Xu(s),type:"button",onClick(c){c.defaultPrevented||(c.stopPropagation(),r({type:"CLOSE"}))}})}}}var f1={props({props:e,scope:t}){const n=e.role==="alertdialog",r=n?()=>d1(t):void 0,o=typeof e.modal=="boolean"?e.modal:!0;return{role:"dialog",modal:o,trapFocus:o,preventScroll:o,closeOnInteractOutside:!n,closeOnEscape:!0,restoreFocus:!0,initialFocusEl:r,...e}},initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({bindable:e}){return{rendered:e(()=>({defaultValue:{title:!0,description:!0}}))}},watch({track:e,action:t,prop:n}){e([()=>n("open")],()=>{t(["toggleVisibility"])})},states:{open:{entry:["checkRenderedElements","syncZIndex"],effects:["trackDismissableElement","trapFocus","preventScroll","hideContentBelow"],on:{"CONTROLLED.CLOSE":{target:"closed"},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}]}},closed:{on:{"CONTROLLED.OPEN":{target:"open"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}}},implementations:{guards:{isOpenControlled:({prop:e})=>e("open")!=null},effects:{trackDismissableElement({scope:e,send:t,prop:n}){return Gn(()=>Qo(e),{type:"dialog",defer:!0,pointerBlocking:n("modal"),exclude:[l1(e)],onInteractOutside(o){n("onInteractOutside")?.(o),n("closeOnInteractOutside")||o.preventDefault()},persistentElements:n("persistentElements"),onFocusOutside:n("onFocusOutside"),onPointerDownOutside:n("onPointerDownOutside"),onRequestDismiss:n("onRequestDismiss"),onEscapeKeyDown(o){n("onEscapeKeyDown")?.(o),n("closeOnEscape")||o.preventDefault()},onDismiss(){t({type:"CLOSE",src:"interact-outside"})}})},preventScroll({scope:e,prop:t}){if(t("preventScroll"))return i1(e.getDoc())},trapFocus({scope:e,prop:t}){return t("trapFocus")?r1(()=>Qo(e),{preventScroll:!0,returnFocusOnDeactivate:!!t("restoreFocus"),initialFocus:t("initialFocusEl"),setReturnFocus:r=>t("finalFocusEl")?.()??r}):void 0},hideContentBelow({scope:e,prop:t}){return t("modal")?Nu(()=>[Qo(e)],{defer:!0}):void 0}},actions:{checkRenderedElements({context:e,scope:t}){G(()=>{e.set("rendered",{title:!!c1(t),description:!!u1(t)})})},syncZIndex({scope:e}){G(()=>{const t=Qo(e);if(!t)return;const n=vo(t);[s1(e),a1(e)].forEach(o=>{o?.style.setProperty("--z-index",n.zIndex),o?.style.setProperty("--layer-index",n.getPropertyValue("--layer-index"))})})},invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},toggleVisibility({prop:e,send:t,event:n}){t({type:e("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:n})}}}};M()(["aria-label","closeOnEscape","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","preventScroll","restoreFocus","role","trapFocus"]);const g1=e=>{const t=P.useId(),{getRootNode:n}=Ql(),{dir:r}=Sv(),o={id:t,getRootNode:n,dir:r,...e},i=bc(f1,o);return h1(i,Tv)},p1=e=>{const[t,{children:n,...r}]=mc(e),[o]=uu(t),i=g1(r),s=Os(qe({present:i.open},t));return f.jsx(Mu,{value:i,children:f.jsx(cu,{value:o,children:f.jsx(kc,{value:s,children:n})})})},m1=e=>{const[t,{value:n,children:r}]=mc(e),[o]=uu(t),i=Os(qe({present:n.open},t));return f.jsx(Mu,{value:n,children:f.jsx(cu,{value:o,children:f.jsx(kc,{value:i,children:r})})})},Qu=P.forwardRef((e,t)=>{const n=Mt(),r=qe(n.getTitleProps(),e);return f.jsx(yt.h2,{...r,ref:t})});Qu.displayName="DialogTitle";const Ju=P.forwardRef((e,t)=>{const n=Mt(),r=Ps(),o=qe({...n.getTriggerProps(),"aria-controls":r.unmounted?void 0:n.getTriggerProps()["aria-controls"]},e);return f.jsx(yt.button,{...o,ref:t})});Ju.displayName="DialogTrigger";var Zu=j("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control");Zu.build(),M()(["activationMode","autoResize","dir","disabled","finalFocusEl","form","getRootNode","id","ids","invalid","maxLength","name","onEditChange","onFocusOutside","onInteractOutside","onPointerDownOutside","onValueChange","onValueCommit","onValueRevert","placeholder","readOnly","required","selectOnFocus","edit","defaultEdit","submitMode","translations","defaultValue","value"]);const ed=P.forwardRef((e,t)=>{const n=xu(),r=qe(n?.getInputProps(),e);return f.jsx(yt.input,{...r,ref:t})});ed.displayName="FieldInput";const td=j("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator");td.build();var v1=e=>{if(!e)return;const t=vo(e),n=be(e),r=Fe(e),o=()=>{requestAnimationFrame(()=>{e.style.height="auto";let c;t.boxSizing==="content-box"?c=e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):c=e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),t.maxHeight!=="none"&&c>parseFloat(t.maxHeight)?(t.overflowY==="hidden"&&(e.style.overflowY="scroll"),c=parseFloat(t.maxHeight)):t.overflowY!=="hidden"&&(e.style.overflowY="hidden"),e.style.height=`${c}px`})};e.addEventListener("input",o),e.form?.addEventListener("reset",o);const i=Object.getPrototypeOf(e),s=Object.getOwnPropertyDescriptor(i,"value");Object.defineProperty(e,"value",{...s,set(){s?.set?.apply(this,arguments),o()}});const a=new n.ResizeObserver(()=>{requestAnimationFrame(()=>o())});a.observe(e);const l=new n.MutationObserver(()=>o());return l.observe(e,{attributes:!0,attributeFilter:["rows","placeholder"]}),r.fonts?.addEventListener("loadingdone",o),()=>{e.removeEventListener("input",o),e.form?.removeEventListener("reset",o),r.fonts?.removeEventListener("loadingdone",o),a.disconnect(),l.disconnect()}};const nd=P.forwardRef((e,t)=>{const{autoresize:n,...r}=e,o=P.useRef(null),i=xu(),s=qe(i?.getTextareaProps(),{style:{resize:n?"none":void 0}},r);return P.useEffect(()=>{if(n)return v1(o.current)},[n]),f.jsx(yt.textarea,{...s,ref:Io(t,o)})});nd.displayName="FieldTextarea";const rd=j("fieldset").parts("root","errorText","helperText","legend");rd.build();var od=j("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger");od.build(),M()(["accept","acceptedFiles","allowDrop","capture","defaultAcceptedFiles","dir","directory","disabled","getRootNode","id","ids","invalid","locale","maxFiles","maxFileSize","minFileSize","name","onFileAccept","onFileChange","onFileReject","preventDocumentDrop","required","transformFiles","translations","validate"]),M()(["file","type"]);var id=j("hoverCard").parts("arrow","arrowTip","trigger","positioner","content");id.build();var b1=e=>e.ids?.trigger??`hover-card:${e.id}:trigger`,y1=e=>e.ids?.content??`hover-card:${e.id}:content`,x1=e=>e.ids?.positioner??`hover-card:${e.id}:popper`,ea=e=>e.getById(b1(e)),k1=e=>e.getById(y1(e)),sd=e=>e.getById(x1(e)),{not:Jo,and:ad}=Ft();ad("isOpenControlled",Jo("isPointer")),Jo("isPointer"),ad("isOpenControlled",Jo("isPointer")),Jo("isPointer"),M()(["closeDelay","dir","getRootNode","id","ids","disabled","onOpenChange","defaultOpen","open","openDelay","positioning","onInteractOutside","onPointerDownOutside","onFocusOutside"]);var ld=j("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","root","tree");ld.build();var cd=e=>new Ru(e);cd.empty=()=>new Ru({rootNode:{children:[]}});var C1=(e,t)=>e.ids?.node?.(t)??`tree:${e.id}:node:${t}`,rn=(e,t)=>{t!=null&&e.getById(C1(e,t))?.focus()};function S1(e,t,n){const r=e.getDescendantValues(t),o=r.every(i=>n.includes(i));return Fn(o?qt(n,...r):Gt(n,...r))}function Zo(e,t){const{context:n,prop:r,refs:o}=e;if(!r("loadChildren")){n.set("expandedValue",p=>Fn(Gt(p,...t)));return}const i=n.get("loadingStatus"),[s,a]=zl(t,p=>i[p]==="loaded");if(s.length>0&&n.set("expandedValue",p=>Fn(Gt(p,...s))),a.length===0)return;const l=r("collection"),[c,u]=zl(a,p=>{const v=l.findNode(p);return l.getNodeChildren(v).length>0});if(c.length>0&&n.set("expandedValue",p=>Fn(Gt(p,...c))),u.length===0)return;n.set("loadingStatus",p=>({...p,...u.reduce((v,y)=>({...v,[y]:"loading"}),{})}));const d=u.map(p=>{const v=l.getIndexPath(p),y=l.getValuePath(v),x=l.findNode(p);return{id:p,indexPath:v,valuePath:y,node:x}}),h=o.get("pendingAborts"),m=r("loadChildren");Xl(m,()=>"[zag-js/tree-view] `loadChildren` is required for async expansion");const g=d.map(({id:p,indexPath:v,valuePath:y,node:x})=>{const b=h.get(p);b&&(b.abort(),h.delete(p));const C=new AbortController;return h.set(p,C),m({valuePath:y,indexPath:v,node:x,signal:C.signal})});Promise.allSettled(g).then(p=>{const v=[],y=[],x=n.get("loadingStatus");let b=r("collection");p.forEach((C,k)=>{const{id:E,indexPath:I,node:R,valuePath:_}=d[k];C.status==="fulfilled"?(x[E]="loaded",v.push(E),b=b.replace(I,{...R,children:C.value})):(h.delete(E),Reflect.deleteProperty(x,E),y.push({node:R,error:C.reason,indexPath:I,valuePath:_}))}),n.set("loadingStatus",x),v.length&&(n.set("expandedValue",C=>Fn(Gt(C,...v))),r("onLoadChildrenComplete")?.({collection:b})),y.length&&r("onLoadChildrenError")?.({nodes:y})})}function jt(e){const{prop:t,context:n}=e;return function({indexPath:o}){return t("collection").getValuePath(o).slice(0,-1).some(s=>!n.get("expandedValue").includes(s))}}var{and:ft}=Ft();ft("isMultipleSelection","moveFocus"),ft("isShiftKey","isMultipleSelection"),ft("isShiftKey","isMultipleSelection"),ft("isBranchFocused","isBranchExpanded"),ft("isShiftKey","isMultipleSelection"),ft("isShiftKey","isMultipleSelection"),ft("isCtrlKey","isMultipleSelection"),ft("isShiftKey","isMultipleSelection"),ft("isCtrlKey","isMultipleSelection"),ft("isShiftKey","isMultipleSelection"),M()(["ids","collection","dir","expandedValue","expandOnClick","defaultFocusedValue","focusedValue","getRootNode","id","onExpandedChange","onFocusChange","onSelectionChange","checkedValue","selectedValue","selectionMode","typeahead","defaultExpandedValue","defaultSelectedValue","defaultCheckedValue","onCheckedChange","onLoadChildrenComplete","onLoadChildrenError","loadChildren"]),M()(["node","indexPath"]);var ud=j("listbox").parts("label","input","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","valueText");ud.build(),M()(["collection","defaultHighlightedValue","defaultValue","dir","disabled","deselectable","disallowSelectAll","getRootNode","highlightedValue","id","ids","loopFocus","onHighlightChange","onSelect","onValueChange","orientation","scrollToIndexFn","selectionMode","selectOnHighlight","typeahead","value"]),M()(["item","highlightOnHover"]),M()(["id"]),M()(["htmlFor"]);const w1=ud.extendWith("empty");var dd=j("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem");dd.build();var hd=e=>e.ids?.trigger??`menu:${e.id}:trigger`,E1=e=>e.ids?.contextTrigger??`menu:${e.id}:ctx-trigger`,fd=e=>e.ids?.content??`menu:${e.id}:content`,O1=e=>e.ids?.positioner??`menu:${e.id}:popper`,ta=(e,t)=>`${e.id}/${t}`,on=e=>e?.dataset.value??null,$t=e=>e.getById(fd(e)),gd=e=>e.getById(O1(e)),ei=e=>e.getById(hd(e)),P1=(e,t)=>t?e.getById(ta(e,t)):null,na=e=>e.getById(E1(e)),Fr=e=>{const n=`[role^="menuitem"][data-ownedby=${CSS.escape(fd(e))}]:not([data-disabled])`;return Oo($t(e),n)},I1=e=>yr(Fr(e)),R1=e=>ls(Fr(e)),ra=(e,t)=>t?e.id===t||e.dataset.value===t:!1,T1=(e,t)=>{const n=Fr(e),r=n.findIndex(o=>ra(o,t.value));return Fm(n,r,{loop:t.loop??t.loopFocus})},N1=(e,t)=>{const n=Fr(e),r=n.findIndex(o=>ra(o,t.value));return Dm(n,r,{loop:t.loop??t.loopFocus})},A1=(e,t)=>{const n=Fr(e),r=n.find(o=>ra(o,t.value));return wr(n,{state:t.typeaheadState,key:t.key,activeId:r?.id??null})},_1=e=>!!e?.getAttribute("role")?.startsWith("menuitem")&&!!e?.hasAttribute("aria-controls"),V1="menu:select";function F1(e,t){if(!e)return;const n=be(e),r=new n.CustomEvent(V1,{detail:{value:t}});e.dispatchEvent(r)}var{not:Xe,and:Xn,or:L1}=Ft();Xe("isSubmenu"),L1("isOpenAutoFocusEvent","isArrowDownEvent"),Xn(Xe("isTriggerItem"),"isOpenControlled"),Xe("isTriggerItem"),Xn("isSubmenu","isOpenControlled"),Xe("isPointerSuspended"),Xn(Xe("isPointerSuspended"),Xe("isTriggerItem")),Xn(Xe("isTriggerItemHighlighted"),Xe("isHighlightedItemEditable"),"closeOnSelect","isOpenControlled"),Xn(Xe("isTriggerItemHighlighted"),Xe("isHighlightedItemEditable"),"closeOnSelect"),Xn(Xe("isTriggerItemHighlighted"),Xe("isHighlightedItemEditable"));function pd(e){let t=e.parent;for(;t&&t.context.get("isSubmenu");)t=t.refs.get("parent");t?.send({type:"CLOSE"})}function D1(e,t){return e?ox(e,t):!1}function z1(e,t,n){const r=Object.keys(e).length>0;if(!t)return null;if(!r)return ta(n,t);for(const o in e){const i=e[o],s=hd(i.scope);if(s===t)return s}return ta(n,t)}M()(["anchorPoint","aria-label","closeOnSelect","composite","defaultHighlightedValue","defaultOpen","dir","getRootNode","highlightedValue","id","ids","loopFocus","navigate","onEscapeKeyDown","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","onSelect","open","positioning","typeahead"]),M()(["closeOnSelect","disabled","value","valueText"]),M()(["htmlFor"]),M()(["id"]),M()(["checked","closeOnSelect","disabled","onCheckedChange","type","value","valueText"]);let oa=new Map,ia=!1;try{ia=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let ti=!1;try{ti=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const md={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class M1{format(t){let n="";if(!ia&&this.options.signDisplay!=null?n=$1(this.numberFormatter,this.options.signDisplay,t):n=this.numberFormatter.format(t),this.options.style==="unit"&&!ti){var r;let{unit:o,unitDisplay:i="short",locale:s}=this.resolvedOptions();if(!o)return n;let a=(r=md[o])===null||r===void 0?void 0:r[i];n+=a[s]||a.default}return n}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,n){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(n)}`}formatRangeToParts(t,n){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(t),o=this.numberFormatter.formatToParts(n);return[...r.map(i=>({...i,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!ia&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!ti&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,n={}){this.numberFormatter=j1(t,n),this.options=n}}function j1(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),t.style==="unit"&&!ti){var r;let{unit:s,unitDisplay:a="short"}=t;if(!s)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=md[s])===null||r===void 0)&&r[a]))throw new Error(`Unsupported unit ${s} with unitDisplay = ${a}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((s,a)=>s[0]<a[0]?-1:1).join():"");if(oa.has(o))return oa.get(o);let i=new Intl.NumberFormat(e,t);return oa.set(o,i),i}function $1(e,t,n){if(t==="auto")return e.format(n);if(t==="never")return e.format(Math.abs(n));{let r=!1;if(t==="always"?r=n>0||Object.is(n,0):t==="exceptZero"&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let o=e.format(-n),i=e.format(n),s=o.replace(i,"").replace(/\u200e|\u061C/,"");return[...s].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),o.replace(i,"!!!").replace(s,"+").replace("!!!",i)}else return e.format(n)}}const B1=new RegExp("^.*\\(.*\\).*$"),W1=["latn","arab","hanidec","deva","beng","fullwide"];class vd{parse(t){return sa(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,n,r){return sa(this.locale,this.options,t).isValidPartialNumber(t,n,r)}getNumberingSystem(t){return sa(this.locale,this.options,t).options.numberingSystem}constructor(t,n={}){this.locale=t,this.options=n}}const bd=new Map;function sa(e,t,n){let r=yd(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let o of W1)if(o!==r.options.numberingSystem){let i=yd(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(i.isValidPartialNumber(n))return i}}return r}function yd(e,t){let n=e+(t?Object.entries(t).sort((o,i)=>o[0]<i[0]?-1:1).join():""),r=bd.get(n);return r||(r=new H1(e,t),bd.set(n,r)),r}class H1{parse(t){let n=this.sanitize(t);if(this.symbols.group&&(n=Qn(n,this.symbols.group,"")),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(n=n.replace(this.symbols.minusSign,"-")),n=n.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let s=n.indexOf("-");n=n.replace("-",""),n=n.replace("+","");let a=n.indexOf(".");a===-1&&(a=n.length),n=n.replace(".",""),a-2===0?n=`0.${n}`:a-2===-1?n=`0.0${n}`:a-2===-2?n="0.00":n=`${n.slice(0,a-2)}.${n.slice(a-2)}`,s>-1&&(n=`-${n}`)}let r=n?+n:NaN;if(isNaN(r))return NaN;if(this.options.style==="percent"){var o,i;let s={...this.options,style:"decimal",minimumFractionDigits:Math.min(((o=this.options.minimumFractionDigits)!==null&&o!==void 0?o:0)+2,20),maximumFractionDigits:Math.min(((i=this.options.maximumFractionDigits)!==null&&i!==void 0?i:0)+2,20)};return new vd(this.locale,s).parse(new M1(this.locale,s).format(r))}return this.options.currencySign==="accounting"&&B1.test(t)&&(r=-1*r),r}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace("،",this.symbols.decimal)),this.symbols.group&&(t=Qn(t,".",this.symbols.group))),this.symbols.group==="’"&&t.includes("'")&&(t=Qn(t,"'",this.symbols.group)),this.options.locale==="fr-FR"&&this.symbols.group&&(t=Qn(t," ",this.symbols.group),t=Qn(t,/\u00A0/g,this.symbols.group)),t}isValidPartialNumber(t,n=-1/0,r=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&n<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&r>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=Qn(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,n={}){this.locale=t,n.roundingIncrement!==1&&n.roundingIncrement!=null&&(n.maximumFractionDigits==null&&n.minimumFractionDigits==null?(n.maximumFractionDigits=0,n.minimumFractionDigits=0):n.maximumFractionDigits==null?n.maximumFractionDigits=n.minimumFractionDigits:n.minimumFractionDigits==null&&(n.minimumFractionDigits=n.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(t,n),this.options=this.formatter.resolvedOptions(),this.symbols=G1(t,this.formatter,this.options,n);var r,o;this.options.style==="percent"&&(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)>18||((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const xd=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),U1=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function G1(e,t,n,r){var o,i,s,a;let l=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),c=l.formatToParts(-10000.111),u=l.formatToParts(10000.111),d=U1.map(A=>l.formatToParts(A));var h;let m=(h=(o=c.find(A=>A.type==="minusSign"))===null||o===void 0?void 0:o.value)!==null&&h!==void 0?h:"-",g=(i=u.find(A=>A.type==="plusSign"))===null||i===void 0?void 0:i.value;!g&&(r?.signDisplay==="exceptZero"||r?.signDisplay==="always")&&(g="+");let v=(s=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(A=>A.type==="decimal"))===null||s===void 0?void 0:s.value,y=(a=c.find(A=>A.type==="group"))===null||a===void 0?void 0:a.value,x=c.filter(A=>!xd.has(A.type)).map(A=>kd(A.value)),b=d.flatMap(A=>A.filter(T=>!xd.has(T.type)).map(T=>kd(T.value))),C=[...new Set([...x,...b])].sort((A,T)=>T.length-A.length),k=C.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${C.join("|")}|[\\p{White_Space}]`,"gu"),E=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),I=new Map(E.map((A,T)=>[A,T])),R=new RegExp(`[${E.join("")}]`,"g");return{minusSign:m,plusSign:g,decimal:v,group:y,literals:k,numeral:R,index:A=>String(I.get(A))}}function Qn(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function kd(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var Cd=j("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber");Cd.build();var q1=e=>e.ids?.input??`number-input:${e.id}:input`,K1=e=>e.ids?.incrementTrigger??`number-input:${e.id}:inc`,Y1=e=>e.ids?.decrementTrigger??`number-input:${e.id}:dec`,Sd=e=>`number-input:${e.id}:cursor`,ni=e=>e.getById(q1(e)),X1=e=>e.getById(K1(e)),Q1=e=>e.getById(Y1(e)),wd=e=>e.getDoc().getElementById(Sd(e)),J1=(e,t)=>{let n=null;return t==="increment"&&(n=X1(e)),t==="decrement"&&(n=Q1(e)),n},Z1=(e,t)=>{if(!oc())return nk(e,t),()=>{wd(e)?.remove()}},ek=e=>{const t=e.getDoc(),n=t.documentElement,r=t.body;return r.style.pointerEvents="none",n.style.userSelect="none",n.style.cursor="ew-resize",()=>{r.style.pointerEvents="",n.style.userSelect="",n.style.cursor="",n.style.length||n.removeAttribute("style"),r.style.length||r.removeAttribute("style")}},tk=(e,t)=>{const{point:n,isRtl:r,event:o}=t,i=e.getWin(),s=ds(o.movementX,i.devicePixelRatio),a=ds(o.movementY,i.devicePixelRatio);let l=s>0?"increment":s<0?"decrement":null;r&&l==="increment"&&(l="decrement"),r&&l==="decrement"&&(l="increment");const c={x:n.x+s,y:n.y+a},u=i.innerWidth,d=ds(7.5,i.devicePixelRatio);return c.x=e0(c.x+d,u)-d,{hint:l,point:c}},nk=(e,t)=>{const n=e.getDoc(),r=n.createElement("div");r.className="scrubber--cursor",r.id=Sd(e),Object.assign(r.style,{width:"15px",height:"15px",position:"fixed",pointerEvents:"none",left:"0px",top:"0px",zIndex:f0,transform:t?`translate3d(${t.x}px, ${t.y}px, 0px)`:void 0,willChange:"transform"}),r.innerHTML=`
+ */var Il;function im(){if(Il)return Q;Il=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function x(k){if(typeof k=="object"&&k!==null){var O=k.$$typeof;switch(O){case t:switch(k=k.type,k){case l:case c:case r:case i:case o:case h:return k;default:switch(k=k&&k.$$typeof,k){case a:case u:case f:case m:case s:return k;default:return O}}case n:return O}}}function w(k){return x(k)===c}return Q.AsyncMode=l,Q.ConcurrentMode=c,Q.ContextConsumer=a,Q.ContextProvider=s,Q.Element=t,Q.ForwardRef=u,Q.Fragment=r,Q.Lazy=f,Q.Memo=m,Q.Portal=n,Q.Profiler=i,Q.StrictMode=o,Q.Suspense=h,Q.isAsyncMode=function(k){return w(k)||x(k)===l},Q.isConcurrentMode=w,Q.isContextConsumer=function(k){return x(k)===a},Q.isContextProvider=function(k){return x(k)===s},Q.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===t},Q.isForwardRef=function(k){return x(k)===u},Q.isFragment=function(k){return x(k)===r},Q.isLazy=function(k){return x(k)===f},Q.isMemo=function(k){return x(k)===m},Q.isPortal=function(k){return x(k)===n},Q.isProfiler=function(k){return x(k)===i},Q.isStrictMode=function(k){return x(k)===o},Q.isSuspense=function(k){return x(k)===h},Q.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===r||k===c||k===i||k===o||k===h||k===d||typeof k=="object"&&k!==null&&(k.$$typeof===f||k.$$typeof===m||k.$$typeof===s||k.$$typeof===a||k.$$typeof===u||k.$$typeof===v||k.$$typeof===b||k.$$typeof===y||k.$$typeof===p)},Q.typeOf=x,Q}var Tl;function sm(){return Tl||(Tl=1,Zi.exports=im()),Zi.exports}var es,Nl;function am(){if(Nl)return es;Nl=1;var e=sm(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=r,i[e.Memo]=o;function s(f){return e.isMemo(f)?o:i[f.$$typeof]||t}var a=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;function m(f,p,v){if(typeof p!="string"){if(d){var b=h(p);b&&b!==d&&m(f,b,v)}var y=l(p);c&&(y=y.concat(c(p)));for(var x=s(f),w=s(p),k=0;k<y.length;++k){var O=y[k];if(!n[O]&&!(v&&v[O])&&!(w&&w[O])&&!(x&&x[O])){var R=u(p,O);try{a(f,O,R)}catch{}}}}return f}return es=m,es}am();var lm=!0;function Al(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var ts=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||lm===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},ns=function(t,n,r){ts(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function cm(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var um={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},dm=/[A-Z]|^ms/g,hm=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_l=function(t){return t.charCodeAt(1)===45},Vl=function(t){return t!=null&&typeof t!="boolean"},rs=bl(function(e){return _l(e)?e:e.replace(dm,"-$&").toLowerCase()}),Fl=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(hm,function(r,o,i){return at={name:o,styles:i,next:at},o})}return um[t]!==1&&!_l(t)&&typeof n=="number"&&n!==0?n+"px":n};function vr(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return at={name:o.name,styles:o.styles,next:at},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)at={name:s.name,styles:s.styles,next:at},s=s.next;var a=i.styles+";";return a}return fm(e,t,n)}case"function":{if(e!==void 0){var l=at,c=n(e);return at=l,vr(e,t,c)}break}}var u=n;if(t==null)return u;var h=t[u];return h!==void 0?h:u}function fm(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=vr(e,t,n[o])+";";else for(var i in n){var s=n[i];if(typeof s!="object"){var a=s;t!=null&&t[a]!==void 0?r+=i+"{"+t[a]+"}":Vl(a)&&(r+=rs(i)+":"+Fl(i,a)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var l=0;l<s.length;l++)Vl(s[l])&&(r+=rs(i)+":"+Fl(i,s[l])+";");else{var c=vr(e,t,s);switch(i){case"animation":case"animationName":{r+=rs(i)+":"+c+";";break}default:r+=i+"{"+c+"}"}}}return r}var Ll=/label:\s*([^\s;{]+)\s*(;|$)/g,at;function os(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";at=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=vr(n,t,i);else{var s=i;o+=s[0]}for(var a=1;a<e.length;a++)if(o+=vr(n,t,e[a]),r){var l=i;o+=l[a]}Ll.lastIndex=0;for(var c="",u;(u=Ll.exec(o))!==null;)c+="-"+u[1];var h=cm(o)+c;return{name:h,styles:o,next:at}}var gm=function(t){return t()},Dl=C.useInsertionEffect?C.useInsertionEffect:!1,zl=Dl||gm,Ml=Dl||C.useLayoutEffect,jl=C.createContext(typeof HTMLElement<"u"?om({key:"css"}):null);jl.Provider;var is=function(t){return P.forwardRef(function(n,r){var o=P.useContext(jl);return t(n,o,r)})},ss=C.createContext({}),as={}.hasOwnProperty,ls="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",pm=function(t,n){var r={};for(var o in n)as.call(n,o)&&(r[o]=n[o]);return r[ls]=t,r},mm=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return ts(n,r,o),zl(function(){return ns(n,r,o)}),null},vm=is(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[ls],i=[r],s="";typeof e.className=="string"?s=Al(t.registered,i,e.className):e.className!=null&&(s=e.className+" ");var a=os(i,void 0,C.useContext(ss));s+=t.key+"-"+a.name;var l={};for(var c in e)as.call(e,c)&&c!=="css"&&c!==ls&&(l[c]=e[c]);return l.className=s,n&&(l.ref=n),C.createElement(C.Fragment,null,C.createElement(mm,{cache:t,serialized:a,isStringTag:typeof o=="string"}),C.createElement(o,l))}),bm=vm,$l=function(t,n){var r=arguments;if(n==null||!as.call(n,"css"))return C.createElement.apply(void 0,r);var o=r.length,i=new Array(o);i[0]=bm,i[1]=pm(t,n);for(var s=2;s<o;s++)i[s]=r[s];return C.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})($l||($l={}));var Bl=is(function(e,t){var n=e.styles,r=os([n],void 0,C.useContext(ss)),o=C.useRef();return Ml(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,l=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(a=!0,l.setAttribute("data-emotion",i),s.hydrate([l])),o.current=[s,a],function(){s.flush()}},[t]),Ml(function(){var i=o.current,s=i[0],a=i[1];if(a){i[1]=!1;return}if(r.next!==void 0&&ns(t,r.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});function ym(...e){return function(...n){e.forEach(r=>r?.(...n))}}const xm=(...e)=>e.map(t=>t?.trim?.()).filter(Boolean).join(" "),km=/^on[A-Z]/;function br(...e){let t={};for(let n of e){for(let r in t){if(km.test(r)&&typeof t[r]=="function"&&typeof n[r]=="function"){t[r]=ym(t[r],n[r]);continue}if(r==="className"||r==="class"){t[r]=xm(t[r],n[r]);continue}if(r==="style"){t[r]=Object.assign({},t[r]??{},n[r]??{});continue}t[r]=n[r]!==void 0?n[r]:t[r]}for(let r in n)t[r]===void 0&&(t[r]=n[r])}return t}function Cm(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function wm(...e){return t=>{e.forEach(n=>{Cm(n,t)})}}function yr(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}const Ge=(...e)=>e.filter(Boolean).map(t=>t.trim()).join(" ");function Sm(e){return e.default||e}const _e=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),lt=e=>typeof e=="string",cs=e=>typeof e=="function";function Em(e){const t=C.version;return!lt(t)||t.startsWith("18.")?e?.ref:e?.props?.ref}const Wl=(...e)=>{const t=e.reduce((n,r)=>(r?.forEach(o=>n.add(o)),n),new Set([]));return Array.from(t)};function Om(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Fn(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:i,defaultValue:s}=e,a=P.createContext(s);a.displayName=t;function l(){const c=P.useContext(a);if(!c&&n){const u=new Error(i??Om(r,o));throw u.name="ContextError",Error.captureStackTrace?.(u,l),u}return c}return[a.Provider,l,a]}const[Pm,ho]=Fn({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function Rm(e){const{value:t,children:n}=e;return g.jsxs(Pm,{value:t,children:[!t._config.disableLayers&&g.jsx(Bl,{styles:t.layers.atRule}),g.jsx(Bl,{styles:t._global}),n]})}const Im=(e,t)=>{const n={},r={},o=Object.keys(e);for(const i of o)t(i)?r[i]=e[i]:n[i]=e[i];return[r,n]},Ln=(e,t)=>{const n=cs(t)?t:r=>t.includes(r);return Im(e,n)},Tm=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function Nm(e){return typeof e=="string"&&Tm.has(e)}function Am(e,t,n){const{css:r,isValidProperty:o}=ho(),{children:i,...s}=e,a=P.useMemo(()=>{const[d,m]=Ln(s,y=>n(y,t.variantKeys)),[f,p]=Ln(m,t.variantKeys),[v,b]=Ln(p,o);return{forwardedProps:d,variantProps:f,styleProps:v,elementProps:b}},[t.variantKeys,n,s,o]),{css:l,...c}=a.styleProps,u=P.useMemo(()=>{const d={...a.variantProps};return t.variantKeys.includes("colorPalette")||(d.colorPalette=s.colorPalette),t.variantKeys.includes("orientation")||(d.orientation=s.orientation),t(d)},[t,a.variantProps,s.colorPalette,s.orientation]);return{styles:P.useMemo(()=>r(u,..._m(l),c),[r,u,l,c]),props:{...a.forwardedProps,...a.elementProps,children:i}}}const _m=e=>(Array.isArray(e)?e:[e]).filter(Boolean).flat(),Vm=Sm(Ip),Fm=e=>e!=="theme",Lm=(e,t,n)=>{let r;if(t){const o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?i=>e.__emotion_forwardProp(i)&&o(i):o}return typeof r!="function"&&n&&(r=e.__emotion_forwardProp),r};let Dm=typeof document<"u";const Hl=({cache:e,serialized:t,isStringTag:n})=>{ts(e,t,n);const r=zl(()=>ns(e,t,n));if(!Dm&&r!==void 0){let o=t.name,i=t.next;for(;i!==void 0;)o=Ge(o,i.name),i=i.next;return g.jsx("style",{"data-emotion":Ge(e.key,o),dangerouslySetInnerHTML:{__html:r},nonce:e.sheet.nonce})}return null},Ul={path:["d"],text:["x","y"],circle:["cx","cy","r"],rect:["width","height","x","y","rx","ry"],ellipse:["cx","cy","rx","ry"],g:["transform"],stop:["offset","stopOpacity"]},zm=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),us=((e,t={},n={})=>{if(zm(Ul,e)){n.forwardProps||(n.forwardProps=[]);const c=Ul[e];n.forwardProps=Wl([...n.forwardProps,...c])}const r=e.__emotion_real===e,o=r&&e.__emotion_base||e;let i,s;n!==void 0&&(i=n.label,s=n.target);let a=[];const l=is((c,u,h)=>{const{cva:d,isValidProperty:m}=ho(),f=t.__cva__?t:d(t),p=Mm(e.__emotion_cva,f),v=z=>(W,J)=>z.includes(W)?!0:!J?.includes(W)&&!m(W);!n.shouldForwardProp&&n.forwardProps&&(n.shouldForwardProp=v(n.forwardProps));const b=(z,W)=>{const J=typeof e=="string"&&e.charCodeAt(0)>96?Vm:Fm,ee=!W?.includes(z)&&!m(z);return J(z)&&ee},y=Lm(e,n,r)||b,x=C.useMemo(()=>Object.assign({},n.defaultProps,yr(c)),[c]),{props:w,styles:k}=Am(x,p,y);let O="",R=[k],I=w;if(w.theme==null){I={};for(let z in w)I[z]=w[z];I.theme=C.useContext(ss)}typeof w.className=="string"?O=Al(u.registered,R,w.className):w.className!=null&&(O=Ge(O,w.className));const N=os(a.concat(R),u.registered,I);N.styles&&(O=Ge(O,`${u.key}-${N.name}`)),s!==void 0&&(O=Ge(O,s));const A=!y("as");let T=A&&w.as||o,S={};for(let z in w)if(!(A&&z==="as")){if(Nm(z)){const W=z.replace("html","").toLowerCase();S[W]=w[z];continue}y(z)&&(S[z]=w[z])}let _=O.trim();_?S.className=_:Reflect.deleteProperty(S,"className"),S.ref=h;const D=n.forwardAsChild||n.forwardProps?.includes("asChild");if(w.asChild&&!D){const z=C.isValidElement(w.children)?C.Children.only(w.children):C.Children.toArray(w.children).find(C.isValidElement);if(!z)throw new Error("[chakra-ui > factory] No valid child found");T=z.type,S.children=null,Reflect.deleteProperty(S,"asChild"),S=br(S,z.props),S.ref=wm(h,Em(z))}return S.as&&D?(S.as=void 0,g.jsxs(C.Fragment,{children:[g.jsx(Hl,{cache:u,serialized:N,isStringTag:typeof T=="string"}),g.jsx(T,{asChild:!0,...S,children:g.jsx(w.as,{children:S.children})})]})):g.jsxs(C.Fragment,{children:[g.jsx(Hl,{cache:u,serialized:N,isStringTag:typeof T=="string"}),g.jsx(T,{...S})]})});return l.displayName=i!==void 0?i:`chakra(${typeof o=="string"?o:o.displayName||o.name||"Component"})`,l.__emotion_real=l,l.__emotion_base=o,l.__emotion_forwardProp=n.shouldForwardProp,l.__emotion_cva=t,Object.defineProperty(l,"toString",{value(){return`.${s}`}}),l}).bind(),ds=new Map,ve=new Proxy(us,{apply(e,t,n){return us(...n)},get(e,t){return ds.has(t)||ds.set(t,us(t)),ds.get(t)}}),Mm=(e,t)=>e&&!t?e:!e&&t?t:e.merge(t),xr=ve("div");xr.displayName="Box";const jm=Object.freeze({}),$m=Object.freeze({});function Bm(e){const{key:t,recipe:n}=e,r=ho();return P.useMemo(()=>{const o=n||(t!=null?r.getRecipe(t):{});return r.cva(structuredClone(o))},[t,n,r])}const Wm=e=>e.charAt(0).toUpperCase()+e.slice(1);function Lt(e){const{key:t,recipe:n}=e,r=Wm(t||n.className||"Component"),[o,i]=Fn({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`});function s(c){const{unstyled:u,...h}=c,d=Bm({key:t,recipe:h.recipe||n}),[m,f]=P.useMemo(()=>d.splitVariantProps(h),[d,h]);return{styles:u?jm:d(m),className:d.className,props:f}}const a=(c,u)=>{const h=ve(c,{},u),d=P.forwardRef((m,f)=>{const p=i(),v=P.useMemo(()=>br(p,m),[m,p]),{styles:b,className:y,props:x}=s(v);return g.jsx(h,{...x,ref:f,css:[b,v.css],className:Ge(y,v.className)})});return d.displayName=c.displayName||c.name,d};function l(){return o}return{withContext:a,PropsProvider:o,withPropsProvider:l,usePropsContext:i,useRecipeResult:s}}function fo(e){return e==null?[]:Array.isArray(e)?e:[e]}var kr=e=>e[0],hs=e=>e[e.length-1],Hm=(e,t)=>e.indexOf(t)!==-1,Kt=(e,...t)=>e.concat(t),Yt=(e,...t)=>e.filter(n=>!t.includes(n)),Dn=e=>Array.from(new Set(e)),fs=(e,t)=>{const n=new Set(t);return e.filter(r=>!n.has(r))},zn=(e,t)=>Hm(e,t)?Yt(e,t):Kt(e,t);function Gl(e,t,n={}){const{step:r=1,loop:o=!0}=n,i=t+r,s=e.length,a=s-1;return t===-1?r>0?0:a:i<0?o?a:0:i>=s?o?0:t>s?s:t:i}function Um(e,t,n={}){return e[Gl(e,t,n)]}function Gm(e,t,n={}){const{step:r=1,loop:o=!0}=n;return Gl(e,t,{step:-r,loop:o})}function qm(e,t,n={}){return e[Gm(e,t,n)]}function ql(e,t){return e.reduce(([n,r],o)=>(t(o)?n.push(o):r.push(o),[n,r]),[[],[]])}var Kl=e=>e?.constructor.name==="Array",Km=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!Ze(e[n],t[n]))return!1;return!0},Ze=(e,t)=>{if(Object.is(e,t))return!0;if(e==null&&t!=null||e!=null&&t==null)return!1;if(typeof e?.isEqual=="function"&&typeof t?.isEqual=="function")return e.isEqual(t);if(typeof e=="function"&&typeof t=="function")return e.toString()===t.toString();if(Kl(e)&&Kl(t))return Km(Array.from(e),Array.from(t));if(typeof e!="object"||typeof t!="object")return!1;const n=Object.keys(t??Object.create(null)),r=n.length;for(let o=0;o<r;o++)if(!Reflect.has(e,n[o]))return!1;for(let o=0;o<r;o++){const i=n[o];if(!Ze(e[i],t[i]))return!1}return!0},Cr=e=>Array.isArray(e),Ym=e=>e===!0||e===!1,Yl=e=>e!=null&&typeof e=="object",Xt=e=>Yl(e)&&!Cr(e),go=e=>typeof e=="string",Qt=e=>typeof e=="function",Xm=e=>e==null,Dt=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Qm=e=>Object.prototype.toString.call(e),Xl=Function.prototype.toString,Jm=Xl.call(Object),Zm=e=>{if(!Yl(e)||Qm(e)!="[object Object]"||n0(e))return!1;const t=Object.getPrototypeOf(e);if(t===null)return!0;const n=Dt(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Xl.call(n)==Jm},e0=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,t0=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,n0=e=>e0(e)||t0(e),po=(e,...t)=>(typeof e=="function"?e(...t):e)??void 0,r0=e=>e(),o0=()=>{},mo=(...e)=>(...t)=>{e.forEach(function(n){n?.(...t)})},i0=(()=>{let e=0;return()=>(e++,e.toString(36))})();function xt(e,t,...n){if(e in t){const o=t[e];return Qt(o)?o(...n):o}const r=new Error(`No matching key: ${JSON.stringify(e)} in ${JSON.stringify(Object.keys(t))}`);throw Error.captureStackTrace?.(r,xt),r}var Ql=(e,t)=>{try{return e()}catch(n){return n instanceof Error&&Error.captureStackTrace?.(n,Ql),t?.()}},{floor:Jl,abs:Zl,round:vo,min:s0,max:a0,pow:l0,sign:c0}=Math,gs=e=>Number.isNaN(e),zt=e=>gs(e)?0:e,ec=(e,t)=>(e%t+t)%t,u0=(e,t)=>(e%t+t)%t,d0=(e,t)=>zt(e)>=t,h0=(e,t)=>zt(e)<=t,f0=(e,t,n)=>{const r=zt(e),o=t==null||r>=t,i=n==null||r<=n;return o&&i},g0=(e,t,n)=>vo((zt(e)-t)/n)*n+t,Ve=(e,t,n)=>s0(a0(zt(e),t),n),p0=(e,t,n)=>(zt(e)-t)/(n-t),m0=(e,t,n,r)=>Ve(g0(e*(n-t)+t,t,r),t,n),tc=(e,t)=>{let n=e,r=t.toString(),o=r.indexOf("."),i=o>=0?r.length-o:0;if(i>0){let s=l0(10,i);n=vo(n*s)/s}return n},ps=(e,t)=>typeof t=="number"?Jl(e*t+.5)/t:vo(e),nc=(e,t,n,r)=>{const o=t!=null?Number(t):0,i=Number(n),s=(e-o)%r;let a=Zl(s)*2>=r?e+c0(s)*(r-Zl(s)):e-s;if(a=tc(a,r),!gs(o)&&a<o)a=o;else if(!gs(i)&&a>i){const l=Jl((i-o)/r),c=o+l*r;a=l<=0||c<o?i:c}return tc(a,r)},oe=(e,t=0,n=10)=>{const r=Math.pow(n,t);return vo(e*r)/r},rc=e=>{if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n},oc=(e,t,n)=>{let r=t==="+"?e+n:e-n;if(e%1!==0||n%1!==0){const o=10**Math.max(rc(e),rc(n));e=Math.round(e*o),n=Math.round(n*o),r=t==="+"?e+n:e-n,r/=o}return r},v0=(e,t)=>oc(zt(e),"+",t),b0=(e,t)=>oc(zt(e),"-",t);function bo(e){if(!Zm(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const o=e[r];o!==void 0&&(n[r]=bo(o))}return n}function y0(e,t=Object.is){let n={...e};const r=new Set,o=u=>(r.add(u),()=>r.delete(u)),i=()=>{r.forEach(u=>u())};return{subscribe:o,get:u=>n[u],set:(u,h)=>{t(n[u],h)||(n[u]=h,i())},update:u=>{let h=!1;for(const d in u){const m=u[d];m!==void 0&&!t(n[d],m)&&(n[d]=m,h=!0)}h&&i()},snapshot:()=>({...n})}}function wr(...e){e.length===1?e[0]:e[1],e.length===2&&e[0]}function ic(e,t){if(e==null)throw new Error(t())}function x0(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Mn(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:i,defaultValue:s}=e,a=P.createContext(s);a.displayName=t;function l(){const c=P.useContext(a);if(!c&&n){const u=new Error(i??x0(r,o));throw u.name="ContextError",Error.captureStackTrace?.(u,l),u}return c}return[a.Provider,l,a]}const[CT,sc]=Mn({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});function k0(e){if(!e)return;const t=e.selectionStart??0,n=e.selectionEnd??0;Math.abs(n-t)===0&&t===0&&e.setSelectionRange(e.value.length,e.value.length)}var ac=e=>Math.max(0,Math.min(1,e)),C0=(e,t)=>e.map((n,r)=>e[(Math.max(t,0)+r)%e.length]),lc=()=>{},yo=e=>typeof e=="object"&&e!==null,w0=2147483647,S0=1,E0=9,O0=11,Te=e=>yo(e)&&e.nodeType===S0&&typeof e.nodeName=="string",ms=e=>yo(e)&&e.nodeType===E0,P0=e=>yo(e)&&e===e.window,cc=e=>Te(e)?e.localName||"":"#document";function R0(e){return["html","body","#document"].includes(cc(e))}var I0=e=>yo(e)&&e.nodeType!==void 0,jn=e=>I0(e)&&e.nodeType===O0&&"host"in e,T0=e=>Te(e)&&e.localName==="input",N0=e=>!!e?.matches("a[href]"),A0=e=>Te(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1;function _0(e){if(!e)return!1;const t=e.getRootNode();return Sr(t)===e}var V0=/(textarea|select)/;function uc(e){if(e==null||!Te(e))return!1;try{return T0(e)&&e.selectionStart!=null||V0.test(e.localName)||e.isContentEditable||e.getAttribute("contenteditable")==="true"||e.getAttribute("contenteditable")===""}catch{return!1}}function Jt(e,t){if(!e||!t||!Te(e)||!Te(t))return!1;const n=t.getRootNode?.();if(e===t||e.contains(t))return!0;if(n&&jn(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Fe(e){return ms(e)?e:P0(e)?e.document:e?.ownerDocument??document}function F0(e){return Fe(e).documentElement}function be(e){return jn(e)?be(e.host):ms(e)?e.defaultView??window:Te(e)?e.ownerDocument?.defaultView??window:window}function Sr(e){let t=e.activeElement;for(;t?.shadowRoot;){const n=t.shadowRoot.activeElement;if(!n||n===t)break;t=n}return t}function L0(e){if(cc(e)==="html")return e;const t=e.assignedSlot||e.parentNode||jn(e)&&e.host||F0(e);return jn(t)?t.host:t}var vs=new WeakMap;function xo(e){return vs.has(e)||vs.set(e,be(e).getComputedStyle(e)),vs.get(e)}var ko=()=>typeof document<"u";function D0(){return navigator.userAgentData?.platform??navigator.platform}function z0(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:t,version:n})=>`${t}/${n}`).join(" "):navigator.userAgent}var bs=e=>ko()&&e.test(D0()),dc=e=>ko()&&e.test(z0()),M0=e=>ko()&&e.test(navigator.vendor),hc=()=>ko()&&!!navigator.maxTouchPoints,j0=()=>bs(/^iPhone/i),$0=()=>bs(/^iPad/i)||wo()&&navigator.maxTouchPoints>1,Co=()=>j0()||$0(),B0=()=>wo()||Co(),wo=()=>bs(/^Mac/i),fc=()=>B0()&&M0(/apple/i),W0=()=>dc(/Firefox/i),H0=()=>dc(/Android/i);function U0(e){return e.composedPath?.()??e.nativeEvent?.composedPath?.()}function $e(e){return U0(e)?.[0]??e.target}function G0(e){return X0(e).isComposing||e.keyCode===229}function q0(e){return e.pointerType===""&&e.isTrusted?!0:H0()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}var K0=e=>e.button===2||wo()&&e.ctrlKey&&e.button===0,Y0=e=>"touches"in e&&e.touches.length>0;function X0(e){return e.nativeEvent??e}function gc(e,t="client"){const n=Y0(e)?e.touches[0]||e.changedTouches[0]:e;return{x:n[`${t}X`],y:n[`${t}Y`]}}var se=(e,t,n,r)=>{const o=typeof e=="function"?e():e;return o?.addEventListener(t,n,r),()=>{o?.removeEventListener(t,n,r)}};function Q0(e,t){const{type:n="HTMLInputElement",property:r="value"}=t,o=be(e)[n].prototype;return Object.getOwnPropertyDescriptor(o,r)??{}}function J0(e){if(e.localName==="input")return"HTMLInputElement";if(e.localName==="textarea")return"HTMLTextAreaElement";if(e.localName==="select")return"HTMLSelectElement"}function So(e,t,n="value"){if(!e)return;const r=J0(e);r&&Q0(e,{type:r,property:n}).set?.call(e,t),e.setAttribute(n,t)}function Z0(e,t){const{value:n,bubbles:r=!0}=t;if(!e)return;const o=be(e);e instanceof o.HTMLInputElement&&(So(e,`${n}`),e.dispatchEvent(new o.Event("input",{bubbles:r})))}function ev(e){return tv(e)?e.form:e.closest("form")}function tv(e){return e.matches("textarea, input, select, button")}function nv(e,t){if(!e)return;const n=ev(e),r=o=>{o.defaultPrevented||t()};return n?.addEventListener("reset",r,{passive:!0}),()=>n?.removeEventListener("reset",r)}function rv(e,t){const n=e?.closest("fieldset");if(!n)return;t(n.disabled);const r=be(n),o=new r.MutationObserver(()=>t(n.disabled));return o.observe(n,{attributes:!0,attributeFilter:["disabled"]}),()=>o.disconnect()}function ys(e,t){if(!e)return;const{onFieldsetDisabledChange:n,onFormReset:r}=t,o=[nv(e,r),rv(e,n)];return()=>o.forEach(i=>i?.())}var pc=e=>Te(e)&&e.tagName==="IFRAME",ov=e=>!Number.isNaN(parseInt(e.getAttribute("tabindex")||"0",10)),iv=e=>parseInt(e.getAttribute("tabindex")||"0",10)<0,xs="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type",mc=(e,t=!1)=>{if(!e)return[];const n=Array.from(e.querySelectorAll(xs));(t==!0||t=="if-empty"&&n.length===0)&&Te(e)&&Mt(e)&&n.unshift(e);const o=n.filter(Mt);return o.forEach((i,s)=>{if(pc(i)&&i.contentDocument){const a=i.contentDocument.body;o.splice(s,1,...mc(a))}}),o};function Mt(e){return!e||e.closest("[inert]")?!1:e.matches(xs)&&A0(e)}function ks(e,t){if(!e)return[];const r=Array.from(e.querySelectorAll(xs)).filter(Zt);return r.forEach((o,i)=>{if(pc(o)&&o.contentDocument){const s=o.contentDocument.body,a=ks(s);r.splice(i,1,...a)}}),r.length,r}function Zt(e){return e!=null&&e.tabIndex>0?!0:Mt(e)&&!iv(e)}function Er(e){return e.tabIndex<0&&(/^(audio|video|details)$/.test(e.localName)||uc(e))&&!ov(e)?0:e.tabIndex}function Cs(e){const{root:t,getInitialEl:n,filter:r,enabled:o=!0}=e;if(!o)return;let i=null;if(i||(i=typeof n=="function"?n():n),i||(i=t?.querySelector("[data-autofocus],[autofocus]")),!i){const s=ks(t);i=r?s.filter(r)[0]:s[0]}return i||t||void 0}function ws(e){const t=new Set;function n(r){const o=globalThis.requestAnimationFrame(r);t.add(()=>globalThis.cancelAnimationFrame(o))}return n(()=>n(e)),function(){t.forEach(o=>o())}}function G(e){let t;const n=globalThis.requestAnimationFrame(()=>{t=e()});return()=>{globalThis.cancelAnimationFrame(n),t?.()}}function sv(e,t,n){const r=G(()=>{e.removeEventListener(t,o,!0),n()}),o=()=>{r(),n()};return e.addEventListener(t,o,{once:!0,capture:!0}),r}function av(e,t){if(!e)return;const{attributes:n,callback:r}=t,o=e.ownerDocument.defaultView||window,i=new o.MutationObserver(s=>{for(const a of s)a.type==="attributes"&&a.attributeName&&n.includes(a.attributeName)&&r(a)});return i.observe(e,{attributes:!0,attributeFilter:n}),()=>i.disconnect()}function Eo(e,t){const{defer:n}=t,r=n?G:i=>i(),o=[];return o.push(r(()=>{const i=typeof e=="function"?e():e;o.push(av(i,t))})),()=>{o.forEach(i=>i?.())}}function vc(e){const t=()=>{const n=be(e);e.dispatchEvent(new n.MouseEvent("click"))};W0()?sv(e,"keyup",t):queueMicrotask(t)}function Oo(e){const t=L0(e);return R0(t)?Fe(t).body:Te(t)&&Ss(t)?t:Oo(t)}function bc(e,t=[]){const n=Oo(e),r=n===e.ownerDocument.body,o=be(n);return r?t.concat(o,o.visualViewport||[],Ss(n)?n:[]):t.concat(n,bc(n,[]))}var lv=/auto|scroll|overlay|hidden|clip/,cv=new Set(["inline","contents"]);function Ss(e){const t=be(e),{overflow:n,overflowX:r,overflowY:o,display:i}=t.getComputedStyle(e);return lv.test(n+o+r)&&!cv.has(i)}function uv(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}function Po(e,t){const{rootEl:n,...r}=t||{};!e||!n||!Ss(n)||!uv(n)||e.scrollIntoView(r)}function yc(e,t){const{left:n,top:r,width:o,height:i}=t.getBoundingClientRect(),s={x:e.x-n,y:e.y-r},a={x:ac(s.x/o),y:ac(s.y/i)};function l(c={}){const{dir:u="ltr",orientation:h="horizontal",inverted:d}=c,m=typeof d=="object"?d.x:d,f=typeof d=="object"?d.y:d;return h==="horizontal"?u==="rtl"||m?1-a.x:a.x:f?1-a.y:a.y}return{offset:s,percent:a,getPercentValue:l}}function dv(e,t){const n=e.body,r="pointerLockElement"in e||"mozPointerLockElement"in e,o=()=>!!e.pointerLockElement;function i(){}function s(l){o(),console.error("PointerLock error occurred:",l),e.exitPointerLock()}if(!r)return;try{n.requestPointerLock()}catch{}const a=[se(e,"pointerlockchange",i,!1),se(e,"pointerlockerror",s,!1)];return()=>{a.forEach(l=>l()),e.exitPointerLock()}}var $n="default",Es="",Ro=new WeakMap;function hv(e={}){const{target:t,doc:n}=e,r=n??document,o=r.documentElement;return Co()?($n==="default"&&(Es=o.style.webkitUserSelect,o.style.webkitUserSelect="none"),$n="disabled"):t&&(Ro.set(t,t.style.userSelect),t.style.userSelect="none"),()=>fv({target:t,doc:r})}function fv(e={}){const{target:t,doc:n}=e,o=(n??document).documentElement;if(Co()){if($n!=="disabled")return;$n="restoring",setTimeout(()=>{ws(()=>{$n==="restoring"&&(o.style.webkitUserSelect==="none"&&(o.style.webkitUserSelect=Es||""),Es="",$n="default")})},300)}else if(t&&Ro.has(t)){const i=Ro.get(t);t.style.userSelect==="none"&&(t.style.userSelect=i??""),t.getAttribute("style")===""&&t.removeAttribute("style"),Ro.delete(t)}}function xc(e={}){const{defer:t,target:n,...r}=e,o=t?G:s=>s(),i=[];return i.push(o(()=>{const s=typeof n=="function"?n():n;i.push(hv({...r,target:s}))})),()=>{i.forEach(s=>s?.())}}function gv(e,t){const{onPointerMove:n,onPointerUp:r}=t,o=a=>{const l=gc(a),c=Math.sqrt(l.x**2+l.y**2),u=a.pointerType==="touch"?10:5;if(!(c<u)){if(a.pointerType==="mouse"&&a.button===0){i(a);return}n({point:l,event:a})}},i=a=>{const l=gc(a);r({point:l,event:a})},s=[se(e,"pointermove",o,!1),se(e,"pointerup",i,!1),se(e,"pointercancel",i,!1),se(e,"contextmenu",i,!1),xc({doc:e})];return()=>{s.forEach(a=>a())}}function Io(e,t){return Array.from(e?.querySelectorAll(t)??[])}function pv(e,t){return e?.querySelector(t)??null}var Os=e=>e.id;function mv(e,t,n=Os){return e.find(r=>n(r)===t)}function Ps(e,t,n=Os){const r=mv(e,t,n);return r?e.indexOf(r):-1}function vv(e,t,n=!0){let r=Ps(e,t);return r=n?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function bv(e,t,n=!0){let r=Ps(e,t);return r===-1?n?e[e.length-1]:null:(r=n?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}var yv=e=>e.split("").map(t=>{const n=t.charCodeAt(0);return n>0&&n<128?t:n>=128&&n<=255?`/x${n.toString(16)}`.replace("/","\\"):""}).join("").trim(),xv=e=>yv(e.dataset?.valuetext??e.textContent??""),kv=(e,t)=>e.trim().toLowerCase().startsWith(t.toLowerCase());function Cv(e,t,n,r=Os){const o=n?Ps(e,n,r):-1;let i=n?C0(e,o):e;return t.length===1&&(i=i.filter(a=>r(a)!==n)),i.find(a=>kv(xv(a),t))}function To(e,t){if(!e)return lc;const n=Object.keys(t).reduce((r,o)=>(r[o]=e.style.getPropertyValue(o),r),{});return Object.assign(e.style,t),()=>{Object.assign(e.style,n),e.style.length===0&&e.removeAttribute("style")}}function wv(e,t,n){if(!e)return lc;const r=e.style.getPropertyValue(t);return e.style.setProperty(t,n),()=>{e.style.setProperty(t,r),e.style.length===0&&e.removeAttribute("style")}}function Sv(e,t){const{state:n,activeId:r,key:o,timeout:i=350,itemToId:s}=t,a=n.keysSoFar+o,c=a.length>1&&Array.from(a).every(f=>f===a[0])?a[0]:a;let u=e.slice();const h=Cv(u,c,r,s);function d(){clearTimeout(n.timer),n.timer=-1}function m(f){n.keysSoFar=f,d(),f!==""&&(n.timer=+setTimeout(()=>{m(""),d()},i))}return m(a),h}var Or=Object.assign(Sv,{defaultOptions:{keysSoFar:"",timer:-1},isValidEvent:Ev});function Ev(e){return e.key.length===1&&!e.ctrlKey&&!e.metaKey}function Ov(e,t,n){const{signal:r}=t;return[new Promise((s,a)=>{const l=setTimeout(()=>{a(new Error(`Timeout of ${n}ms exceeded`))},n);r.addEventListener("abort",()=>{clearTimeout(l),a(new Error("Promise aborted"))}),e.then(c=>{r.aborted||(clearTimeout(l),s(c))}).catch(c=>{r.aborted||(clearTimeout(l),a(c))})}),()=>t.abort()]}function Pv(e,t){const{timeout:n,rootNode:r}=t,o=be(r),i=Fe(r),s=new o.AbortController;return Ov(new Promise(a=>{const l=e();if(l){a(l);return}const c=new o.MutationObserver(()=>{const u=e();u&&u.isConnected&&(c.disconnect(),a(u))});c.observe(i.body,{childList:!0,subtree:!0})}),s,n)}var Rv=(...e)=>e.map(t=>t?.trim?.()).filter(Boolean).join(" "),Iv=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,kc=e=>{const t={};let n;for(;n=Iv.exec(e);)t[n[1]]=n[2];return t},Tv=(e,t)=>{if(go(e)){if(go(t))return`${e};${t}`;e=kc(e)}else go(t)&&(t=kc(t));return Object.assign({},e??{},t??{})};function qe(...e){let t={};for(let n of e){if(!n)continue;for(let o in t){if(o.startsWith("on")&&typeof t[o]=="function"&&typeof n[o]=="function"){t[o]=mo(n[o],t[o]);continue}if(o==="className"||o==="class"){t[o]=Rv(t[o],n[o]);continue}if(o==="style"){t[o]=Tv(t[o],n[o]);continue}t[o]=n[o]!==void 0?n[o]:t[o]}for(let o in n)t[o]===void 0&&(t[o]=n[o]);const r=Object.getOwnPropertySymbols(n);for(let o of r)t[o]=n[o]}return t}function Cc(e,t,n){let r=[],o;return i=>{const s=e(i);return(s.length!==r.length||s.some((l,c)=>!Ze(r[c],l)))&&(r=s,o=t(s,i)),o}}function jt(){return{and:(...e)=>function(n){return e.every(r=>n.guard(r))},or:(...e)=>function(n){return e.some(r=>n.guard(r))},not:e=>function(n){return!n.guard(e)}}}function wT(e){return e}function wc(){return{guards:jt(),createMachine:e=>e,choose:e=>function({choose:n}){return n(e)?.actions}}}var Bn=(e=>(e.NotStarted="Not Started",e.Started="Started",e.Stopped="Stopped",e))(Bn||{}),Rs="__init__";function Nv(e){const t=()=>e.getRootNode?.()??document,n=()=>Fe(t());return{...e,getRootNode:t,getDoc:n,getWin:()=>n().defaultView??window,getActiveElement:()=>Sr(t()),isActiveElement:_0,getById:s=>t().getElementById(s)}}function No(...e){return t=>{const n=[];for(const r of e)if(typeof r=="function"){const o=r(t);typeof o=="function"&&n.push(o)}else r&&(r.current=t);if(n.length)return()=>{for(const r of n)r()}}}function Av(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const Is=e=>{const t=P.memo(P.forwardRef((n,r)=>{const{asChild:o,children:i,...s}=n;if(!o)return P.createElement(e,{...s,ref:r},i);if(!P.isValidElement(i))return null;const a=P.Children.only(i),l=Av(a);return P.cloneElement(a,{...qe(s,a.props),ref:r?No(r,l):l})}));return t.displayName=e.displayName||e.name,t},kt=(()=>{const e=new Map;return new Proxy(Is,{apply(t,n,r){return Is(r[0])},get(t,n){const r=n;return e.has(r)||e.set(r,Is(r)),e.get(r)}})})(),[ET,_v]=Mn({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}}),Sc=()=>(e,t)=>t.reduce((n,r)=>{const[o,i]=n,s=r;return i[s]!==void 0&&(o[s]=i[s]),delete i[s],[o,i]},[{},{...e}]),Ec=e=>Sc()(e,["immediate","lazyMount","onExitComplete","present","skipAnimationOnMount","unmountOnExit"]);function Vv(e){return new Proxy({},{get(t,n){return n==="style"?r=>e({style:r}).style:e}})}var M=()=>e=>Array.from(new Set(e));function Fv(e,t){const{state:n,send:r,context:o}=e,i=n.matches("mounted","unmountSuspended");return{skip:!o.get("initial"),present:i,setNode(s){s&&r({type:"NODE.SET",node:s})},unmount(){r({type:"UNMOUNT"})}}}var Lv={props({props:e}){return{...e,present:!!e.present}},initialState({prop:e}){return e("present")?"mounted":"unmounted"},refs(){return{node:null,styles:null}},context({bindable:e}){return{unmountAnimationName:e(()=>({defaultValue:null})),prevAnimationName:e(()=>({defaultValue:null})),present:e(()=>({defaultValue:!1})),initial:e(()=>({sync:!0,defaultValue:!1}))}},exit:["clearInitial","cleanupNode"],watch({track:e,prop:t,send:n}){e([()=>t("present")],()=>{n({type:"PRESENCE.CHANGED"})})},on:{"NODE.SET":{actions:["setupNode"]},"PRESENCE.CHANGED":{actions:["setInitial","syncPresence"]}},states:{mounted:{on:{UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]},"UNMOUNT.SUSPEND":{target:"unmountSuspended"}}},unmountSuspended:{effects:["trackAnimationEvents"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]},UNMOUNT:{target:"unmounted",actions:["clearPrevAnimationName","invokeOnExitComplete"]}}},unmounted:{on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]}}}},implementations:{actions:{setInitial:({context:e})=>{e.get("initial")||queueMicrotask(()=>{e.set("initial",!0)})},clearInitial:({context:e})=>{e.set("initial",!1)},invokeOnExitComplete:({prop:e})=>{e("onExitComplete")?.()},setupNode:({refs:e,event:t})=>{e.get("node")!==t.node&&(e.set("node",t.node),e.set("styles",xo(t.node)))},cleanupNode:({refs:e})=>{e.set("node",null),e.set("styles",null)},syncPresence:({context:e,refs:t,send:n,prop:r})=>{const o=r("present");if(o)return n({type:"MOUNT",src:"presence.changed"});const i=t.get("node");if(!o&&i?.ownerDocument.visibilityState==="hidden")return n({type:"UNMOUNT",src:"visibilitychange"});G(()=>{const s=Ao(t.get("styles"));e.set("unmountAnimationName",s),s==="none"||s===e.get("prevAnimationName")||t.get("styles")?.display==="none"||t.get("styles")?.animationDuration==="0s"?n({type:"UNMOUNT",src:"presence.changed"}):n({type:"UNMOUNT.SUSPEND"})})},setPrevAnimationName:({context:e,refs:t})=>{G(()=>{e.set("prevAnimationName",Ao(t.get("styles")))})},clearPrevAnimationName:({context:e})=>{e.set("prevAnimationName",null)}},effects:{trackAnimationEvents:({context:e,refs:t,send:n})=>{const r=t.get("node");if(!r)return;const o=a=>{(a.composedPath?.()?.[0]??a.target)===r&&e.set("prevAnimationName",Ao(t.get("styles")))},i=a=>{const l=Ao(t.get("styles"));$e(a)===r&&l===e.get("unmountAnimationName")&&n({type:"UNMOUNT",src:"animationend"})};r.addEventListener("animationstart",o),r.addEventListener("animationcancel",i),r.addEventListener("animationend",i);const s=To(r,{animationFillMode:"forwards"});return()=>{r.removeEventListener("animationstart",o),r.removeEventListener("animationcancel",i),r.removeEventListener("animationend",i),ws(()=>s())}}}}};function Ao(e){return e?.animationName||"none"}M()(["onExitComplete","present","immediate"]);var Oc=typeof globalThis.document<"u"?P.useLayoutEffect:P.useEffect;function _o(e){const t=e().value??e().defaultValue,n=e().isEqual??Object.is,[r]=P.useState(t),[o,i]=P.useState(r),s=e().value!==void 0,a=P.useRef(o);a.current=s?e().value:o;const l=P.useRef(a.current);Oc(()=>{l.current=a.current},[o,e().value]);const c=h=>{const d=l.current,m=Qt(h)?h(d):h;e().debug&&console.log(`[bindable > ${e().debug}] setValue`,{next:m,prev:d}),s||i(m),n(m,d)||e().onChange?.(m,d)};function u(){return s?e().value:o}return{initial:r,ref:a,get:u,set(h){(e().sync?Ft.flushSync:r0)(()=>c(h))},invoke(h,d){e().onChange?.(h,d)},hash(h){return e().hash?.(h)??String(h)}}}_o.cleanup=e=>{P.useEffect(()=>e,[])},_o.ref=e=>{const t=P.useRef(e);return{get:()=>t.current,set:n=>{t.current=n}}};function Dv(e){const t=P.useRef(e);return{get(n){return t.current[n]},set(n,r){t.current[n]=r}}}var zv=(e,t)=>{const n=P.useRef(!1),r=P.useRef(!1);P.useEffect(()=>{if(n.current&&r.current)return t();r.current=!0},[...(e??[]).map(o=>typeof o=="function"?o():o)]),P.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])};function Pc(e,t={}){const n=P.useMemo(()=>{const{id:T,ids:S,getRootNode:_}=t;return Nv({id:T,ids:S,getRootNode:_})},[t]),r=(...T)=>{e.debug&&console.log(...T)},o=e.props?.({props:bo(t),scope:n})??t,i=Mv(o),s=e.context?.({prop:i,bindable:_o,scope:n,flush:Ic,getContext(){return l},getComputed(){return k},getRefs(){return p},getEvent(){return m()}}),a=Rc(s),l={get(T){return a.current?.[T].ref.current},set(T,S){a.current?.[T].set(S)},initial(T){return a.current?.[T].initial},hash(T){const S=a.current?.[T].get();return a.current?.[T].hash(S)}},c=P.useRef(new Map),u=P.useRef(null),h=P.useRef(null),d=P.useRef({type:""}),m=()=>({...d.current,current(){return d.current},previous(){return h.current}}),f=()=>({...O,matches(...T){return T.includes(O.ref.current)},hasTag(T){return!!e.states[O.ref.current]?.tags?.includes(T)}}),p=Dv(e.refs?.({prop:i,context:l})??{}),v=()=>({state:f(),context:l,event:m(),prop:i,send:A,action:b,guard:y,track:zv,refs:p,computed:k,flush:Ic,scope:n,choose:w}),b=T=>{const S=Qt(T)?T(v()):T;if(!S)return;const _=S.map(D=>{const z=e.implementations?.actions?.[D];return z||wr(`[zag-js] No implementation found for action "${JSON.stringify(D)}"`),z});for(const D of _)D?.(v())},y=T=>Qt(T)?T(v()):e.implementations?.guards?.[T](v()),x=T=>{const S=Qt(T)?T(v()):T;if(!S)return;const _=S.map(z=>{const W=e.implementations?.effects?.[z];return W||wr(`[zag-js] No implementation found for effect "${JSON.stringify(z)}"`),W}),D=[];for(const z of _){const W=z?.(v());W&&D.push(W)}return()=>D.forEach(z=>z?.())},w=T=>fo(T).find(S=>{let _=!S.guard;return go(S.guard)?_=!!y(S.guard):Qt(S.guard)&&(_=S.guard(v())),_}),k=T=>{ic(e.computed,()=>"[zag-js] No computed object found on machine");const S=e.computed[T];return S({context:l,event:m(),prop:i,refs:p,scope:n,computed:k})},O=_o(()=>({defaultValue:e.initialState({prop:i}),onChange(T,S){S&&(c.current.get(S)?.(),c.current.delete(S)),S&&b(e.states[S]?.exit),b(u.current?.actions);const _=x(e.states[T]?.effects);if(_&&c.current.set(T,_),S===Rs){b(e.entry);const D=x(e.effects);D&&c.current.set(Rs,D)}b(e.states[T]?.entry)}})),R=P.useRef(void 0),I=P.useRef(Bn.NotStarted);Oc(()=>{queueMicrotask(()=>{const _=I.current===Bn.Started;I.current=Bn.Started,r(_?"rehydrating...":"initializing...");const D=R.current??O.initial;O.invoke(D,_?O.get():Rs)});const T=c.current,S=O.ref.current;return()=>{r("unmounting..."),R.current=S,I.current=Bn.Stopped,T.forEach(_=>_?.()),c.current=new Map,u.current=null,queueMicrotask(()=>{b(e.exit)})}},[]);const N=()=>"ref"in O?O.ref.current:O.get(),A=T=>{queueMicrotask(()=>{if(I.current!==Bn.Started)return;h.current=d.current,d.current=T;let S=N();const _=e.states[S].on?.[T.type]??e.on?.[T.type],D=w(_);if(!D)return;u.current=D;const z=D.target??S;r("transition",T.type,D.target||S,`(${D.actions})`);const W=z!==S;W?Ft.flushSync(()=>O.set(z)):D.reenter&&!W?O.invoke(S,S):b(D.actions??[])})};return e.watch?.(v()),{state:f(),send:A,context:l,prop:i,scope:n,refs:p,computed:k,event:m(),getStatus:()=>I.current}}function Rc(e){const t=P.useRef(e);return t.current=e,t}function Mv(e){const t=Rc(e);return function(r){return t.current[r]}}function Ic(e){queueMicrotask(()=>{Ft.flushSync(()=>e())})}var jv=Vv(e=>e);function $v(e,t={}){const{sync:n=!1}=t,r=Bv(e);return P.useCallback((...o)=>n?queueMicrotask(()=>r.current?.(...o)):r.current?.(...o),[n,r])}function Bv(e){const t=P.useRef(e);return t.current=e,t}const Ts=(e={})=>{const{lazyMount:t,unmountOnExit:n,present:r,skipAnimationOnMount:o=!1,...i}=e,s=P.useRef(!1),a={...i,present:r,onExitComplete:$v(e.onExitComplete)},l=Pc(Lv,a),c=Fv(l);c.present&&(s.current=!0);const u=!c.present&&!s.current&&t||n&&!c.present&&s.current,h=()=>({"data-state":c.skip&&o?void 0:r?"open":"closed",hidden:!c.present});return{ref:c.setNode,getPresenceProps:h,present:c.present,unmounted:u}},[Tc,Ns]=Mn({name:"PresenceContext",hookName:"usePresenceContext",providerName:"<PresenceProvider />"}),Vo=ve("span"),{withContext:Wv}=Lt({key:"text"}),Le=Wv("p");function Nc(e,t=[]){const n=P.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return P.useInsertionEffect(()=>{n.current=e}),P.useCallback((...r)=>n.current?.(...r),t)}function en(e={}){const t=Nc(e.onOpen),n=Nc(e.onClose),[r,o]=P.useState(e.defaultOpen||!1),i=e.open!==void 0?e.open:r,s=e.open!==void 0,a=P.useCallback(()=>{s||o(!1),n?.()},[s,n]),l=P.useCallback(()=>{s||o(!0),t?.()},[s,t]),c=P.useCallback(()=>{i?a():l()},[i,l,a]);return{open:i,onOpen:l,onClose:a,onToggle:c,setOpen:o}}var j=(e,t=[])=>({parts:(...n)=>{if(Hv(t))return j(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>j(e,[...t,...n]),omit:(...n)=>j(e,t.filter(r=>!n.includes(r))),rename:n=>j(n,t),keys:()=>t,build:()=>[...new Set(t)].reduce((n,r)=>Object.assign(n,{[r]:{selector:[`&[data-scope="${Wn(e)}"][data-part="${Wn(r)}"]`,`& [data-scope="${Wn(e)}"][data-part="${Wn(r)}"]`].join(", "),attrs:{"data-scope":Wn(e),"data-part":Wn(r)}}}),{})}),Wn=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),Hv=e=>e.length===0,Ac=j("collapsible").parts("root","trigger","content","indicator");Ac.build(),M()(["dir","disabled","getRootNode","id","ids","onExitComplete","onOpenChange","defaultOpen","open"]);var Uv=Object.defineProperty,Gv=(e,t,n)=>t in e?Uv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,As=(e,t,n)=>Gv(e,t+"",n),qv=(e,t)=>{if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0},_s=class{toHexInt(){return this.toFormat("rgba").toHexInt()}getChannelValue(e){if(e in this)return this[e];throw new Error("Unsupported color channel: "+e)}getChannelValuePercent(e,t){const n=t??this.getChannelValue(e),{minValue:r,maxValue:o}=this.getChannelRange(e);return p0(n,r,o)}getChannelPercentValue(e,t){const{minValue:n,maxValue:r,step:o}=this.getChannelRange(e),i=m0(t,n,r,o);return nc(i,n,r,o)}withChannelValue(e,t){const{minValue:n,maxValue:r}=this.getChannelRange(e);if(e in this){let o=this.clone();return o[e]=Ve(t,n,r),o}throw new Error("Unsupported color channel: "+e)}getColorAxes(e){let{xChannel:t,yChannel:n}=e,r=t||this.getChannels().find(s=>s!==n),o=n||this.getChannels().find(s=>s!==r),i=this.getChannels().find(s=>s!==r&&s!==o);return{xChannel:r,yChannel:o,zChannel:i}}incrementChannel(e,t){const{minValue:n,maxValue:r,step:o}=this.getChannelRange(e),i=nc(Ve(this.getChannelValue(e)+t,n,r),n,r,o);return this.withChannelValue(e,i)}decrementChannel(e,t){return this.incrementChannel(e,-t)}isEqual(e){return qv(this.toJSON(),e.toJSON())&&this.getChannelValue("alpha")===e.getChannelValue("alpha")}},Kv=/^#[\da-f]+$/i,Yv=/^rgba?\((.*)\)$/,Xv=/[^#]/gi,_c=class Hi extends _s{constructor(t,n,r,o){super(),this.red=t,this.green=n,this.blue=r,this.alpha=o}static parse(t){let n=[];if(Kv.test(t)&&[4,5,7,9].includes(t.length)){const o=(t.length<6?t.replace(Xv,"$&$&"):t).slice(1).split("");for(;o.length>0;)n.push(parseInt(o.splice(0,2).join(""),16));n[3]=n[3]!==void 0?n[3]/255:void 0}const r=t.match(Yv);return r?.[1]&&(n=r[1].split(",").map(o=>Number(o.trim())).map((o,i)=>Ve(o,0,i<3?255:1))),n.length<3?void 0:new Hi(n[0],n[1],n[2],n[3]??1)}toString(t){switch(t){case"hex":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")).toUpperCase();case"hexa":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")+Math.round(this.alpha*255).toString(16).padStart(2,"0")).toUpperCase();case"rgb":return`rgb(${this.red}, ${this.green}, ${this.blue})`;case"css":case"rgba":return`rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;case"hsl":return this.toHSL().toString("hsl");case"hsb":return this.toHSB().toString("hsb");default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"rgba":return this;case"hsba":return this.toHSB();case"hsla":return this.toHSL();default:throw new Error("Unsupported color conversion: rgb -> "+t)}}toHexInt(){return this.red<<16|this.green<<8|this.blue}toHSB(){const t=this.red/255,n=this.green/255,r=this.blue/255,o=Math.min(t,n,r),i=Math.max(t,n,r),s=i-o,a=i===0?0:s/i;let l=0;if(s!==0){switch(i){case t:l=(n-r)/s+(n<r?6:0);break;case n:l=(r-t)/s+2;break;case r:l=(t-n)/s+4;break}l/=6}return new Ls(oe(l*360,2),oe(a*100,2),oe(i*100,2),oe(this.alpha,2))}toHSL(){const t=this.red/255,n=this.green/255,r=this.blue/255,o=Math.min(t,n,r),i=Math.max(t,n,r),s=(i+o)/2,a=i-o;let l=-1,c=-1;if(a===0)l=c=0;else{switch(c=a/(s<.5?i+o:2-i-o),i){case t:l=(n-r)/a+(n<r?6:0);break;case n:l=(r-t)/a+2;break;case r:l=(t-n)/a+4;break}l/=6}return new Fs(oe(l*360,2),oe(c*100,2),oe(s*100,2),oe(this.alpha,2))}clone(){return new Hi(this.red,this.green,this.blue,this.alpha)}getChannelFormatOptions(t){switch(t){case"red":case"green":case"blue":return{style:"decimal"};case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),o=this.getChannelValue(t);return new Intl.NumberFormat(n,r).format(o)}getChannelRange(t){switch(t){case"red":case"green":case"blue":return{minValue:0,maxValue:255,step:1,pageSize:17};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}toJSON(){return{r:this.red,g:this.green,b:this.blue,a:this.alpha}}getFormat(){return"rgba"}getChannels(){return Hi.colorChannels}};As(_c,"colorChannels",["red","green","blue"]);var Vs=_c,Qv=/hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,Vc=class Ui extends _s{constructor(t,n,r,o){super(),this.hue=t,this.saturation=n,this.lightness=r,this.alpha=o}static parse(t){let n;if(n=t.match(Qv)){const[r,o,i,s]=(n[1]??n[2]).split(",").map(a=>Number(a.trim().replace("%","")));return new Ui(ec(r,360),Ve(o,0,100),Ve(i,0,100),Ve(s??1,0,1))}}toString(t){switch(t){case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsl":return`hsl(${this.hue}, ${oe(this.saturation,2)}%, ${oe(this.lightness,2)}%)`;case"css":case"hsla":return`hsla(${this.hue}, ${oe(this.saturation,2)}%, ${oe(this.lightness,2)}%, ${this.alpha})`;case"hsb":return this.toHSB().toString("hsb");case"rgb":return this.toRGB().toString("rgb");default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"hsla":return this;case"hsba":return this.toHSB();case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsl -> "+t)}}toHSB(){let t=this.saturation/100,n=this.lightness/100,r=n+t*Math.min(n,1-n);return t=r===0?0:2*(1-n/r),new Ls(oe(this.hue,2),oe(t*100,2),oe(r*100,2),oe(this.alpha,2))}toRGB(){let t=this.hue,n=this.saturation/100,r=this.lightness/100,o=n*Math.min(r,1-r),i=(s,a=(s+t/30)%12)=>r-o*Math.max(Math.min(a-3,9-a,1),-1);return new Vs(Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255),oe(this.alpha,2))}clone(){return new Ui(this.hue,this.saturation,this.lightness,this.alpha)}getChannelFormatOptions(t){switch(t){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"lightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),o=this.getChannelValue(t);return(t==="saturation"||t==="lightness")&&(o/=100),new Intl.NumberFormat(n,r).format(o)}getChannelRange(t){switch(t){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"lightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}toJSON(){return{h:this.hue,s:this.saturation,l:this.lightness,a:this.alpha}}getFormat(){return"hsla"}getChannels(){return Ui.colorChannels}};As(Vc,"colorChannels",["hue","saturation","lightness"]);var Fs=Vc,Jv=/hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsba\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,Fc=class Gi extends _s{constructor(t,n,r,o){super(),this.hue=t,this.saturation=n,this.brightness=r,this.alpha=o}static parse(t){let n;if(n=t.match(Jv)){const[r,o,i,s]=(n[1]??n[2]).split(",").map(a=>Number(a.trim().replace("%","")));return new Gi(ec(r,360),Ve(o,0,100),Ve(i,0,100),Ve(s??1,0,1))}}toString(t){switch(t){case"css":return this.toHSL().toString("css");case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsb":return`hsb(${this.hue}, ${oe(this.saturation,2)}%, ${oe(this.brightness,2)}%)`;case"hsba":return`hsba(${this.hue}, ${oe(this.saturation,2)}%, ${oe(this.brightness,2)}%, ${this.alpha})`;case"hsl":return this.toHSL().toString("hsl");case"rgb":return this.toRGB().toString("rgb");default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"hsba":return this;case"hsla":return this.toHSL();case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsb -> "+t)}}toHSL(){let t=this.saturation/100,n=this.brightness/100,r=n*(1-t/2);return t=r===0||r===1?0:(n-r)/Math.min(r,1-r),new Fs(oe(this.hue,2),oe(t*100,2),oe(r*100,2),oe(this.alpha,2))}toRGB(){let t=this.hue,n=this.saturation/100,r=this.brightness/100,o=(i,s=(i+t/60)%6)=>r-n*r*Math.max(Math.min(s,4-s,1),0);return new Vs(Math.round(o(5)*255),Math.round(o(3)*255),Math.round(o(1)*255),oe(this.alpha,2))}clone(){return new Gi(this.hue,this.saturation,this.brightness,this.alpha)}getChannelFormatOptions(t){switch(t){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"brightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),o=this.getChannelValue(t);return(t==="saturation"||t==="brightness")&&(o/=100),new Intl.NumberFormat(n,r).format(o)}getChannelRange(t){switch(t){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"brightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}toJSON(){return{h:this.hue,s:this.saturation,b:this.brightness,a:this.alpha}}getFormat(){return"hsba"}getChannels(){return Gi.colorChannels}};As(Fc,"colorChannels",["hue","saturation","brightness"]);var Ls=Fc,Zv="aliceblue:f0f8ff,antiquewhite:faebd7,aqua:00ffff,aquamarine:7fffd4,azure:f0ffff,beige:f5f5dc,bisque:ffe4c4,black:000000,blanchedalmond:ffebcd,blue:0000ff,blueviolet:8a2be2,brown:a52a2a,burlywood:deb887,cadetblue:5f9ea0,chartreuse:7fff00,chocolate:d2691e,coral:ff7f50,cornflowerblue:6495ed,cornsilk:fff8dc,crimson:dc143c,cyan:00ffff,darkblue:00008b,darkcyan:008b8b,darkgoldenrod:b8860b,darkgray:a9a9a9,darkgreen:006400,darkkhaki:bdb76b,darkmagenta:8b008b,darkolivegreen:556b2f,darkorange:ff8c00,darkorchid:9932cc,darkred:8b0000,darksalmon:e9967a,darkseagreen:8fbc8f,darkslateblue:483d8b,darkslategray:2f4f4f,darkturquoise:00ced1,darkviolet:9400d3,deeppink:ff1493,deepskyblue:00bfff,dimgray:696969,dodgerblue:1e90ff,firebrick:b22222,floralwhite:fffaf0,forestgreen:228b22,fuchsia:ff00ff,gainsboro:dcdcdc,ghostwhite:f8f8ff,gold:ffd700,goldenrod:daa520,gray:808080,green:008000,greenyellow:adff2f,honeydew:f0fff0,hotpink:ff69b4,indianred:cd5c5c,indigo:4b0082,ivory:fffff0,khaki:f0e68c,lavender:e6e6fa,lavenderblush:fff0f5,lawngreen:7cfc00,lemonchiffon:fffacd,lightblue:add8e6,lightcoral:f08080,lightcyan:e0ffff,lightgoldenrodyellow:fafad2,lightgrey:d3d3d3,lightgreen:90ee90,lightpink:ffb6c1,lightsalmon:ffa07a,lightseagreen:20b2aa,lightskyblue:87cefa,lightslategray:778899,lightsteelblue:b0c4de,lightyellow:ffffe0,lime:00ff00,limegreen:32cd32,linen:faf0e6,magenta:ff00ff,maroon:800000,mediumaquamarine:66cdaa,mediumblue:0000cd,mediumorchid:ba55d3,mediumpurple:9370d8,mediumseagreen:3cb371,mediumslateblue:7b68ee,mediumspringgreen:00fa9a,mediumturquoise:48d1cc,mediumvioletred:c71585,midnightblue:191970,mintcream:f5fffa,mistyrose:ffe4e1,moccasin:ffe4b5,navajowhite:ffdead,navy:000080,oldlace:fdf5e6,olive:808000,olivedrab:6b8e23,orange:ffa500,orangered:ff4500,orchid:da70d6,palegoldenrod:eee8aa,palegreen:98fb98,paleturquoise:afeeee,palevioletred:d87093,papayawhip:ffefd5,peachpuff:ffdab9,peru:cd853f,pink:ffc0cb,plum:dda0dd,powderblue:b0e0e6,purple:800080,rebeccapurple:663399,red:ff0000,rosybrown:bc8f8f,royalblue:4169e1,saddlebrown:8b4513,salmon:fa8072,sandybrown:f4a460,seagreen:2e8b57,seashell:fff5ee,sienna:a0522d,silver:c0c0c0,skyblue:87ceeb,slateblue:6a5acd,slategray:708090,snow:fffafa,springgreen:00ff7f,steelblue:4682b4,tan:d2b48c,teal:008080,thistle:d8bfd8,tomato:ff6347,turquoise:40e0d0,violet:ee82ee,wheat:f5deb3,white:ffffff,whitesmoke:f5f5f5,yellow:ffff00,yellowgreen:9acd32",eb=e=>{const t=new Map,n=e.split(",");for(let r=0;r<n.length;r++){const[o,i]=n[r].split(":");t.set(o,`#${i}`),o.includes("gray")&&t.set(o.replace("gray","grey"),`#${i}`)}return t},Lc=eb(Zv),Fo=e=>{if(Lc.has(e))return Fo(Lc.get(e));const t=Vs.parse(e)||Ls.parse(e)||Fs.parse(e);if(!t){const n=new Error("Invalid color value: "+e);throw Error.captureStackTrace?.(n,Fo),n}return t};const tb=["top","right","bottom","left"],$t=Math.min,Be=Math.max,Lo=Math.round,Do=Math.floor,ct=e=>({x:e,y:e}),nb={left:"right",right:"left",bottom:"top",top:"bottom"},rb={start:"end",end:"start"};function Ds(e,t,n){return Be(e,$t(t,n))}function Ct(e,t){return typeof e=="function"?e(t):e}function wt(e){return e.split("-")[0]}function Hn(e){return e.split("-")[1]}function zs(e){return e==="x"?"y":"x"}function Ms(e){return e==="y"?"height":"width"}const ob=new Set(["top","bottom"]);function ut(e){return ob.has(wt(e))?"y":"x"}function js(e){return zs(ut(e))}function ib(e,t,n){n===void 0&&(n=!1);const r=Hn(e),o=js(e),i=Ms(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=zo(s)),[s,zo(s)]}function sb(e){const t=zo(e);return[$s(e),t,$s(t)]}function $s(e){return e.replace(/start|end/g,t=>rb[t])}const Dc=["left","right"],zc=["right","left"],ab=["top","bottom"],lb=["bottom","top"];function cb(e,t,n){switch(e){case"top":case"bottom":return n?t?zc:Dc:t?Dc:zc;case"left":case"right":return t?ab:lb;default:return[]}}function ub(e,t,n,r){const o=Hn(e);let i=cb(wt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map($s)))),i}function zo(e){return e.replace(/left|right|bottom|top/g,t=>nb[t])}function db(e){return{top:0,right:0,bottom:0,left:0,...e}}function Mc(e){return typeof e!="number"?db(e):{top:e,right:e,bottom:e,left:e}}function Mo(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function jc(e,t,n){let{reference:r,floating:o}=e;const i=ut(t),s=js(t),a=Ms(s),l=wt(t),c=i==="y",u=r.x+r.width/2-o.width/2,h=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let m;switch(l){case"top":m={x:u,y:r.y-o.height};break;case"bottom":m={x:u,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:h};break;case"left":m={x:r.x-o.width,y:h};break;default:m={x:r.x,y:r.y}}switch(Hn(t)){case"start":m[s]-=d*(n&&c?-1:1);break;case"end":m[s]+=d*(n&&c?-1:1);break}return m}const hb=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:h}=jc(c,r,l),d=r,m={},f=0;for(let p=0;p<a.length;p++){const{name:v,fn:b}=a[p],{x:y,y:x,data:w,reset:k}=await b({x:u,y:h,initialPlacement:r,placement:d,strategy:o,middlewareData:m,rects:c,platform:s,elements:{reference:e,floating:t}});u=y??u,h=x??h,m={...m,[v]:{...m[v],...w}},k&&f<=50&&(f++,typeof k=="object"&&(k.placement&&(d=k.placement),k.rects&&(c=k.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:u,y:h}=jc(c,d,l)),p=-1)}return{x:u,y:h,placement:d,strategy:o,middlewareData:m}};async function Pr(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:d=!1,padding:m=0}=Ct(t,e),f=Mc(m),v=a[d?h==="floating"?"reference":"floating":h],b=Mo(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),y=h==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),w=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},k=Mo(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:x,strategy:l}):y);return{top:(b.top-k.top+f.top)/w.y,bottom:(k.bottom-b.bottom+f.bottom)/w.y,left:(b.left-k.left+f.left)/w.x,right:(k.right-b.right+f.right)/w.x}}const fb=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=Ct(e,t)||{};if(c==null)return{};const h=Mc(u),d={x:n,y:r},m=js(o),f=Ms(m),p=await s.getDimensions(c),v=m==="y",b=v?"top":"left",y=v?"bottom":"right",x=v?"clientHeight":"clientWidth",w=i.reference[f]+i.reference[m]-d[m]-i.floating[f],k=d[m]-i.reference[m],O=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let R=O?O[x]:0;(!R||!await(s.isElement==null?void 0:s.isElement(O)))&&(R=a.floating[x]||i.floating[f]);const I=w/2-k/2,N=R/2-p[f]/2-1,A=$t(h[b],N),T=$t(h[y],N),S=A,_=R-p[f]-T,D=R/2-p[f]/2+I,z=Ds(S,D,_),W=!l.arrow&&Hn(o)!=null&&D!==z&&i.reference[f]/2-(D<S?A:T)-p[f]/2<0,J=W?D<S?D-S:D-_:0;return{[m]:d[m]+J,data:{[m]:z,centerOffset:D-z-J,...W&&{alignmentOffset:J}},reset:W}}}),gb=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:p=!0,...v}=Ct(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const b=wt(o),y=ut(a),x=wt(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),k=d||(x||!p?[zo(a)]:sb(a)),O=f!=="none";!d&&O&&k.push(...ub(a,p,f,w));const R=[a,...k],I=await Pr(t,v),N=[];let A=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&N.push(I[b]),h){const D=ib(o,s,w);N.push(I[D[0]],I[D[1]])}if(A=[...A,{placement:o,overflows:N}],!N.every(D=>D<=0)){var T,S;const D=(((T=i.flip)==null?void 0:T.index)||0)+1,z=R[D];if(z&&(!(h==="alignment"?y!==ut(z):!1)||A.every(ee=>ut(ee.placement)===y?ee.overflows[0]>0:!0)))return{data:{index:D,overflows:A},reset:{placement:z}};let W=(S=A.filter(J=>J.overflows[0]<=0).sort((J,ee)=>J.overflows[1]-ee.overflows[1])[0])==null?void 0:S.placement;if(!W)switch(m){case"bestFit":{var _;const J=(_=A.filter(ee=>{if(O){const $=ut(ee.placement);return $===y||$==="y"}return!0}).map(ee=>[ee.placement,ee.overflows.filter($=>$>0).reduce(($,q)=>$+q,0)]).sort((ee,$)=>ee[1]-$[1])[0])==null?void 0:_[0];J&&(W=J);break}case"initialPlacement":W=a;break}if(o!==W)return{reset:{placement:W}}}return{}}}};function $c(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Bc(e){return tb.some(t=>e[t]>=0)}const pb=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Ct(e,t);switch(r){case"referenceHidden":{const i=await Pr(t,{...o,elementContext:"reference"}),s=$c(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Bc(s)}}}case"escaped":{const i=await Pr(t,{...o,altBoundary:!0}),s=$c(i,n.floating);return{data:{escapedOffsets:s,escaped:Bc(s)}}}default:return{}}}}},Wc=new Set(["left","top"]);async function mb(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=wt(n),a=Hn(n),l=ut(n)==="y",c=Wc.has(s)?-1:1,u=i&&l?-1:1,h=Ct(t,e);let{mainAxis:d,crossAxis:m,alignmentAxis:f}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&typeof f=="number"&&(m=a==="end"?f*-1:f),l?{x:m*u,y:d*c}:{x:d*c,y:m*u}}const vb=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await mb(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},bb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:v=>{let{x:b,y}=v;return{x:b,y}}},...l}=Ct(e,t),c={x:n,y:r},u=await Pr(t,l),h=ut(wt(o)),d=zs(h);let m=c[d],f=c[h];if(i){const v=d==="y"?"top":"left",b=d==="y"?"bottom":"right",y=m+u[v],x=m-u[b];m=Ds(y,m,x)}if(s){const v=h==="y"?"top":"left",b=h==="y"?"bottom":"right",y=f+u[v],x=f-u[b];f=Ds(y,f,x)}const p=a.fn({...t,[d]:m,[h]:f});return{...p,data:{x:p.x-n,y:p.y-r,enabled:{[d]:i,[h]:s}}}}}},yb=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=Ct(e,t),u={x:n,y:r},h=ut(o),d=zs(h);let m=u[d],f=u[h];const p=Ct(a,t),v=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(l){const x=d==="y"?"height":"width",w=i.reference[d]-i.floating[x]+v.mainAxis,k=i.reference[d]+i.reference[x]-v.mainAxis;m<w?m=w:m>k&&(m=k)}if(c){var b,y;const x=d==="y"?"width":"height",w=Wc.has(wt(o)),k=i.reference[h]-i.floating[x]+(w&&((b=s.offset)==null?void 0:b[h])||0)+(w?0:v.crossAxis),O=i.reference[h]+i.reference[x]+(w?0:((y=s.offset)==null?void 0:y[h])||0)-(w?v.crossAxis:0);f<k?f=k:f>O&&(f=O)}return{[d]:m,[h]:f}}}},xb=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...c}=Ct(e,t),u=await Pr(t,c),h=wt(o),d=Hn(o),m=ut(o)==="y",{width:f,height:p}=i.floating;let v,b;h==="top"||h==="bottom"?(v=h,b=d===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(b=h,v=d==="end"?"top":"bottom");const y=p-u.top-u.bottom,x=f-u.left-u.right,w=$t(p-u[v],y),k=$t(f-u[b],x),O=!t.middlewareData.shift;let R=w,I=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(I=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(R=y),O&&!d){const A=Be(u.left,0),T=Be(u.right,0),S=Be(u.top,0),_=Be(u.bottom,0);m?I=f-2*(A!==0||T!==0?A+T:Be(u.left,u.right)):R=p-2*(S!==0||_!==0?S+_:Be(u.top,u.bottom))}await l({...t,availableWidth:I,availableHeight:R});const N=await s.getDimensions(a.floating);return f!==N.width||p!==N.height?{reset:{rects:!0}}:{}}}};function jo(){return typeof window<"u"}function Un(e){return Hc(e)?(e.nodeName||"").toLowerCase():"#document"}function We(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function dt(e){var t;return(t=(Hc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Hc(e){return jo()?e instanceof Node||e instanceof We(e).Node:!1}function et(e){return jo()?e instanceof Element||e instanceof We(e).Element:!1}function ht(e){return jo()?e instanceof HTMLElement||e instanceof We(e).HTMLElement:!1}function Uc(e){return!jo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof We(e).ShadowRoot}const kb=new Set(["inline","contents"]);function Rr(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!kb.has(o)}const Cb=new Set(["table","td","th"]);function wb(e){return Cb.has(Un(e))}const Sb=[":popover-open",":modal"];function $o(e){return Sb.some(t=>{try{return e.matches(t)}catch{return!1}})}const Eb=["transform","translate","scale","rotate","perspective"],Ob=["transform","translate","scale","rotate","perspective","filter"],Pb=["paint","layout","strict","content"];function Bs(e){const t=Ws(),n=et(e)?tt(e):e;return Eb.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Ob.some(r=>(n.willChange||"").includes(r))||Pb.some(r=>(n.contain||"").includes(r))}function Rb(e){let t=Bt(e);for(;ht(t)&&!Gn(t);){if(Bs(t))return t;if($o(t))return null;t=Bt(t)}return null}function Ws(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Ib=new Set(["html","body","#document"]);function Gn(e){return Ib.has(Un(e))}function tt(e){return We(e).getComputedStyle(e)}function Bo(e){return et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Bt(e){if(Un(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Uc(e)&&e.host||dt(e);return Uc(t)?t.host:t}function Gc(e){const t=Bt(e);return Gn(t)?e.ownerDocument?e.ownerDocument.body:e.body:ht(t)&&Rr(t)?t:Gc(t)}function Ir(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Gc(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=We(o);if(i){const a=Hs(s);return t.concat(s,s.visualViewport||[],Rr(o)?o:[],a&&n?Ir(a):[])}return t.concat(o,Ir(o,[],n))}function Hs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function qc(e){const t=tt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ht(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Lo(n)!==i||Lo(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function Us(e){return et(e)?e:e.contextElement}function qn(e){const t=Us(e);if(!ht(t))return ct(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=qc(t);let s=(i?Lo(n.width):n.width)/r,a=(i?Lo(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Tb=ct(0);function Kc(e){const t=We(e);return!Ws()||!t.visualViewport?Tb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Nb(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==We(e)?!1:t}function tn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Us(e);let s=ct(1);t&&(r?et(r)&&(s=qn(r)):s=qn(e));const a=Nb(i,n,r)?Kc(i):ct(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,h=o.height/s.y;if(i){const d=We(i),m=r&&et(r)?We(r):r;let f=d,p=Hs(f);for(;p&&r&&m!==f;){const v=qn(p),b=p.getBoundingClientRect(),y=tt(p),x=b.left+(p.clientLeft+parseFloat(y.paddingLeft))*v.x,w=b.top+(p.clientTop+parseFloat(y.paddingTop))*v.y;l*=v.x,c*=v.y,u*=v.x,h*=v.y,l+=x,c+=w,f=We(p),p=Hs(f)}}return Mo({width:u,height:h,x:l,y:c})}function Wo(e,t){const n=Bo(e).scrollLeft;return t?t.left+n:tn(dt(e)).left+n}function Yc(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Wo(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Ab(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=dt(r),a=t?$o(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=ct(1);const u=ct(0),h=ht(r);if((h||!h&&!i)&&((Un(r)!=="body"||Rr(s))&&(l=Bo(r)),ht(r))){const m=tn(r);c=qn(r),u.x=m.x+r.clientLeft,u.y=m.y+r.clientTop}const d=s&&!h&&!i?Yc(s,l):ct(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+d.x,y:n.y*c.y-l.scrollTop*c.y+u.y+d.y}}function _b(e){return Array.from(e.getClientRects())}function Vb(e){const t=dt(e),n=Bo(e),r=e.ownerDocument.body,o=Be(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Be(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Wo(e);const a=-n.scrollTop;return tt(r).direction==="rtl"&&(s+=Be(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}const Xc=25;function Fb(e,t){const n=We(e),r=dt(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const u=Ws();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const c=Wo(r);if(c<=0){const u=r.ownerDocument,h=u.body,d=getComputedStyle(h),m=u.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,f=Math.abs(r.clientWidth-h.clientWidth-m);f<=Xc&&(i-=f)}else c<=Xc&&(i+=c);return{width:i,height:s,x:a,y:l}}const Lb=new Set(["absolute","fixed"]);function Db(e,t){const n=tn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ht(e)?qn(e):ct(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,c=r*i.y;return{width:s,height:a,x:l,y:c}}function Qc(e,t,n){let r;if(t==="viewport")r=Fb(e,n);else if(t==="document")r=Vb(dt(e));else if(et(t))r=Db(t,n);else{const o=Kc(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Mo(r)}function Jc(e,t){const n=Bt(e);return n===t||!et(n)||Gn(n)?!1:tt(n).position==="fixed"||Jc(n,t)}function zb(e,t){const n=t.get(e);if(n)return n;let r=Ir(e,[],!1).filter(a=>et(a)&&Un(a)!=="body"),o=null;const i=tt(e).position==="fixed";let s=i?Bt(e):e;for(;et(s)&&!Gn(s);){const a=tt(s),l=Bs(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&Lb.has(o.position)||Rr(s)&&!l&&Jc(e,s))?r=r.filter(u=>u!==s):o=a,s=Bt(s)}return t.set(e,r),r}function Mb(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?$o(t)?[]:zb(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((c,u)=>{const h=Qc(t,u,o);return c.top=Be(h.top,c.top),c.right=$t(h.right,c.right),c.bottom=$t(h.bottom,c.bottom),c.left=Be(h.left,c.left),c},Qc(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function jb(e){const{width:t,height:n}=qc(e);return{width:t,height:n}}function $b(e,t,n){const r=ht(t),o=dt(t),i=n==="fixed",s=tn(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=ct(0);function c(){l.x=Wo(o)}if(r||!r&&!i)if((Un(t)!=="body"||Rr(o))&&(a=Bo(t)),r){const m=tn(t,!0,i,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else o&&c();i&&!r&&o&&c();const u=o&&!r&&!i?Yc(o,a):ct(0),h=s.left+a.scrollLeft-l.x-u.x,d=s.top+a.scrollTop-l.y-u.y;return{x:h,y:d,width:s.width,height:s.height}}function Gs(e){return tt(e).position==="static"}function Zc(e,t){if(!ht(e)||tt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return dt(e)===n&&(n=n.ownerDocument.body),n}function eu(e,t){const n=We(e);if($o(e))return n;if(!ht(e)){let o=Bt(e);for(;o&&!Gn(o);){if(et(o)&&!Gs(o))return o;o=Bt(o)}return n}let r=Zc(e,t);for(;r&&wb(r)&&Gs(r);)r=Zc(r,t);return r&&Gn(r)&&Gs(r)&&!Bs(r)?n:r||Rb(e)||n}const Bb=async function(e){const t=this.getOffsetParent||eu,n=this.getDimensions,r=await n(e.floating);return{reference:$b(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Wb(e){return tt(e).direction==="rtl"}const Hb={convertOffsetParentRelativeRectToViewportRelativeRect:Ab,getDocumentElement:dt,getClippingRect:Mb,getOffsetParent:eu,getElementRects:Bb,getClientRects:_b,getDimensions:jb,getScale:qn,isElement:et,isRTL:Wb};function tu(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ub(e,t){let n=null,r;const o=dt(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:h,width:d,height:m}=c;if(a||t(),!d||!m)return;const f=Do(h),p=Do(o.clientWidth-(u+d)),v=Do(o.clientHeight-(h+m)),b=Do(u),x={rootMargin:-f+"px "+-p+"px "+-v+"px "+-b+"px",threshold:Be(0,$t(1,l))||1};let w=!0;function k(O){const R=O[0].intersectionRatio;if(R!==l){if(!w)return s();R?s(!1,R):r=setTimeout(()=>{s(!1,1e-7)},1e3)}R===1&&!tu(c,e.getBoundingClientRect())&&s(),w=!1}try{n=new IntersectionObserver(k,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(k,x)}n.observe(e)}return s(!0),i}function Gb(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=Us(e),u=o||i?[...c?Ir(c):[],...Ir(t)]:[];u.forEach(b=>{o&&b.addEventListener("scroll",n,{passive:!0}),i&&b.addEventListener("resize",n)});const h=c&&a?Ub(c,n):null;let d=-1,m=null;s&&(m=new ResizeObserver(b=>{let[y]=b;y&&y.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var x;(x=m)==null||x.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let f,p=l?tn(e):null;l&&v();function v(){const b=tn(e);p&&!tu(p,b)&&n(),p=b,f=requestAnimationFrame(v)}return n(),()=>{var b;u.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),h?.(),(b=m)==null||b.disconnect(),m=null,l&&cancelAnimationFrame(f)}}const qb=vb,Kb=bb,Yb=gb,Xb=xb,Qb=pb,Jb=fb,Zb=yb,ey=(e,t,n)=>{const r=new Map,o={platform:Hb,...n},i={...o.platform,_c:r};return hb(e,t,{...o,platform:i})};function nu(e=0,t=0,n=0,r=0){if(typeof DOMRect=="function")return new DOMRect(e,t,n,r);const o={x:e,y:t,width:n,height:r,top:t,right:e+n,bottom:t+r,left:e};return{...o,toJSON:()=>o}}function ty(e){if(!e)return nu();const{x:t,y:n,width:r,height:o}=e;return nu(t,n,r,o)}function ny(e,t){return{contextElement:Te(e)?e:void 0,getBoundingClientRect:()=>{const n=e,r=t?.(n);return r||!n?ty(r):n.getBoundingClientRect()}}}var ru=e=>({variable:e,reference:`var(${e})`}),ou={transformOrigin:ru("--transform-origin"),arrowOffset:ru("--arrow-offset")},ry=e=>e==="top"||e==="bottom"?"y":"x";function oy(e,t){return{name:"transformOrigin",fn(n){const{elements:r,middlewareData:o,placement:i,rects:s,y:a}=n,l=i.split("-")[0],c=ry(l),u=o.arrow?.x||0,h=o.arrow?.y||0,d=t?.clientWidth||0,m=t?.clientHeight||0,f=u+d/2,p=h+m/2,v=Math.abs(o.shift?.y||0),b=s.reference.height/2,y=m/2,x=e.offset?.mainAxis??e.gutter,w=typeof x=="number"?x+y:x??y,k=v>w,O={top:`${f}px calc(100% + ${w}px)`,bottom:`${f}px ${-w}px`,left:`calc(100% + ${w}px) ${p}px`,right:`${-w}px ${p}px`}[l],R=`${f}px ${s.reference.y+b-a}px`,I=!!e.overlap&&c==="y"&&k;return r.floating.style.setProperty(ou.transformOrigin.variable,I?R:O),{data:{transformOrigin:I?R:O}}}}}var iy={name:"rects",fn({rects:e}){return{data:e}}},sy=e=>{if(e)return{name:"shiftArrow",fn({placement:t,middlewareData:n}){if(!n.arrow)return{};const{x:r,y:o}=n.arrow,i=t.split("-")[0];return Object.assign(e.style,{left:r!=null?`${r}px`:"",top:o!=null?`${o}px`:"",[i]:`calc(100% + ${ou.arrowOffset.reference})`}),{}}}};function ay(e){const[t,n]=e.split("-");return{side:t,align:n,hasAlign:n!=null}}function ly(e){return e.split("-")[0]}var cy={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function iu(e,t){const n=e.devicePixelRatio||1;return Math.round(t*n)/n}function qs(e){return typeof e=="function"?e():e==="clipping-ancestors"?"clippingAncestors":e}function uy(e,t,n){const r=e||t.createElement("div");return Jb({element:r,padding:n.arrowPadding})}function dy(e,t){if(!Xm(t.offset??t.gutter))return qb(({placement:n})=>{const r=(e?.clientHeight||0)/2,o=t.offset?.mainAxis??t.gutter,i=typeof o=="number"?o+r:o??r,{hasAlign:s}=ay(n),a=s?void 0:t.shift,l=t.offset?.crossAxis??a;return bo({crossAxis:l,mainAxis:i,alignmentAxis:t.shift})})}function hy(e){if(!e.flip)return;const t=qs(e.boundary);return Yb({...t?{boundary:t}:void 0,padding:e.overflowPadding,fallbackPlacements:e.flip===!0?void 0:e.flip})}function fy(e){if(!e.slide&&!e.overlap)return;const t=qs(e.boundary);return Kb({...t?{boundary:t}:void 0,mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:Zb()})}function gy(e){return Xb({padding:e.overflowPadding,apply({elements:t,rects:n,availableHeight:r,availableWidth:o}){const i=t.floating,s=Math.round(n.reference.width),a=Math.round(n.reference.height);o=Math.floor(o),r=Math.floor(r),i.style.setProperty("--reference-width",`${s}px`),i.style.setProperty("--reference-height",`${a}px`),i.style.setProperty("--available-width",`${o}px`),i.style.setProperty("--available-height",`${r}px`)}})}function py(e){if(e.hideWhenDetached)return Qb({strategy:"referenceHidden",boundary:qs(e.boundary)??"clippingAncestors"})}function my(e){return e?e===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:e:{}}function vy(e,t,n={}){const r=ny(e,n.getAnchorRect);if(!t||!r)return;const o=Object.assign({},cy,n),i=t.querySelector("[data-part=arrow]"),s=[dy(i,o),hy(o),fy(o),uy(i,t.ownerDocument,o),sy(i),oy({gutter:o.gutter,offset:o.offset,overlap:o.overlap},i),gy(o),py(o),iy],{placement:a,strategy:l,onComplete:c,onPositioned:u}=o,h=async()=>{if(!r||!t)return;const p=await ey(r,t,{placement:a,middleware:s,strategy:l});c?.(p),u?.({placed:!0});const v=be(t),b=iu(v,p.x),y=iu(v,p.y);t.style.setProperty("--x",`${b}px`),t.style.setProperty("--y",`${y}px`),o.hideWhenDetached&&(p.middlewareData.hide?.referenceHidden?(t.style.setProperty("visibility","hidden"),t.style.setProperty("pointer-events","none")):(t.style.removeProperty("visibility"),t.style.removeProperty("pointer-events")));const x=t.firstElementChild;if(x){const w=xo(x);t.style.setProperty("--z-index",w.zIndex)}},d=async()=>{n.updatePosition?(await n.updatePosition({updatePosition:h,floatingElement:t}),u?.({placed:!0})):await h()},m=my(o.listeners),f=o.listeners?Gb(r,t,d,m):o0;return d(),()=>{f?.(),u?.({placed:!1})}}function nt(e,t,n={}){const{defer:r,...o}=n,i=r?G:a=>a(),s=[];return s.push(i(()=>{const a=typeof e=="function"?e():e,l=typeof t=="function"?t():t;s.push(vy(a,l,o))})),()=>{s.forEach(a=>a?.())}}function by(e){const t={each(n){for(let r=0;r<e.frames?.length;r+=1){const o=e.frames[r];o&&n(o)}},addEventListener(n,r,o){return t.each(i=>{try{i.document.addEventListener(n,r,o)}catch{}}),()=>{try{t.removeEventListener(n,r,o)}catch{}}},removeEventListener(n,r,o){t.each(i=>{try{i.document.removeEventListener(n,r,o)}catch{}})}};return t}function yy(e){const t=e.frameElement!=null?e.parent:null;return{addEventListener:(n,r,o)=>{try{t?.addEventListener(n,r,o)}catch{}return()=>{try{t?.removeEventListener(n,r,o)}catch{}}},removeEventListener:(n,r,o)=>{try{t?.removeEventListener(n,r,o)}catch{}}}}var su="pointerdown.outside",au="focus.outside";function xy(e){for(const t of e)if(Te(t)&&Mt(t))return!0;return!1}var lu=e=>"clientY"in e;function ky(e,t){if(!lu(t)||!e)return!1;const n=e.getBoundingClientRect();return n.width===0||n.height===0?!1:n.top<=t.clientY&&t.clientY<=n.top+n.height&&n.left<=t.clientX&&t.clientX<=n.left+n.width}function Cy(e,t){return e.y<=t.y&&t.y<=e.y+e.height&&e.x<=t.x&&t.x<=e.x+e.width}function cu(e,t){if(!t||!lu(e))return!1;const n=t.scrollHeight>t.clientHeight,r=n&&e.clientX>t.offsetLeft+t.clientWidth,o=t.scrollWidth>t.clientWidth,i=o&&e.clientY>t.offsetTop+t.clientHeight,s={x:t.offsetLeft,y:t.offsetTop,width:t.clientWidth+(n?16:0),height:t.clientHeight+(o?16:0)},a={x:e.clientX,y:e.clientY};return Cy(s,a)?r||i:!1}function wy(e,t){const{exclude:n,onFocusOutside:r,onPointerDownOutside:o,onInteractOutside:i,defer:s}=t;if(!e)return;const a=Fe(e),l=be(e),c=by(l),u=yy(l);function h(y,x){if(!Te(x)||!x.isConnected||Jt(e,x)||ky(e,y))return!1;const w=a.querySelector(`[aria-controls="${e.id}"]`);if(w){const O=Oo(w);if(cu(y,O))return!1}const k=Oo(e);return cu(y,k)?!1:!n?.(x)}const d=new Set,m=jn(e?.getRootNode());function f(y){function x(w){const k=s&&!hc()?G:I=>I(),O=w??y,R=O?.composedPath?.()??[O?.target];k(()=>{const I=m?R[0]:$e(y);if(!(!e||!h(y,I))){if(o||i){const N=mo(o,i);e.addEventListener(su,N,{once:!0})}uu(e,su,{bubbles:!1,cancelable:!0,detail:{originalEvent:O,contextmenu:K0(O),focusable:xy(R),target:I}})}})}y.pointerType==="touch"?(d.forEach(w=>w()),d.add(se(a,"click",x,{once:!0})),d.add(u.addEventListener("click",x,{once:!0})),d.add(c.addEventListener("click",x,{once:!0}))):x()}const p=new Set,v=setTimeout(()=>{p.add(se(a,"pointerdown",f,!0)),p.add(u.addEventListener("pointerdown",f,!0)),p.add(c.addEventListener("pointerdown",f,!0))},0);function b(y){(s?G:w=>w())(()=>{const w=$e(y);if(!(!e||!h(y,w))){if(r||i){const k=mo(r,i);e.addEventListener(au,k,{once:!0})}uu(e,au,{bubbles:!1,cancelable:!0,detail:{originalEvent:y,contextmenu:!1,focusable:Mt(w),target:w}})}})}return hc()||(p.add(se(a,"focusin",b,!0)),p.add(u.addEventListener("focusin",b,!0)),p.add(c.addEventListener("focusin",b,!0))),()=>{clearTimeout(v),d.forEach(y=>y()),p.forEach(y=>y())}}function Sy(e,t){const{defer:n}=t,r=n?G:i=>i(),o=[];return o.push(r(()=>{const i=typeof e=="function"?e():e;o.push(wy(i,t))})),()=>{o.forEach(i=>i?.())}}function uu(e,t,n){const r=e.ownerDocument.defaultView||window,o=new r.CustomEvent(t,n);return e.dispatchEvent(o)}function Ey(e,t){const n=r=>{r.key==="Escape"&&(r.isComposing||t?.(r))};return se(Fe(e),"keydown",n,{capture:!0})}var du="layer:request-dismiss",Ke={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(e=>e.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(e){const t=this.indexOf(e),n=this.topMostPointerBlockingLayer()?this.indexOf(this.topMostPointerBlockingLayer()?.node):-1;return t<n},isTopMost(e){return this.layers[this.count()-1]?.node===e},getNestedLayers(e){return Array.from(this.layers).slice(this.indexOf(e)+1)},getLayersByType(e){return this.layers.filter(t=>t.type===e)},getNestedLayersByType(e,t){const n=this.indexOf(e);return n===-1?[]:this.layers.slice(n+1).filter(r=>r.type===t)},getParentLayerOfType(e,t){const n=this.indexOf(e);if(!(n<=0))return this.layers.slice(0,n).reverse().find(r=>r.type===t)},countNestedLayersOfType(e,t){return this.getNestedLayersByType(e,t).length},isInNestedLayer(e,t){return this.getNestedLayers(e).some(n=>Jt(n.node,t))},isInBranch(e){return Array.from(this.branches).some(t=>Jt(t,e))},add(e){this.layers.push(e),this.syncLayers()},addBranch(e){this.branches.push(e)},remove(e){const t=this.indexOf(e);t<0||(t<this.count()-1&&this.getNestedLayers(e).forEach(r=>Ke.dismiss(r.node,e)),this.layers.splice(t,1),this.syncLayers())},removeBranch(e){const t=this.branches.indexOf(e);t>=0&&this.branches.splice(t,1)},syncLayers(){this.layers.forEach((e,t)=>{e.node.style.setProperty("--layer-index",`${t}`),e.node.removeAttribute("data-nested"),e.node.removeAttribute("data-has-nested"),this.getParentLayerOfType(e.node,e.type)&&e.node.setAttribute("data-nested",e.type);const r=this.countNestedLayersOfType(e.node,e.type);r>0&&e.node.setAttribute("data-has-nested",e.type),e.node.style.setProperty("--nested-layer-count",`${r}`)})},indexOf(e){return this.layers.findIndex(t=>t.node===e)},dismiss(e,t){const n=this.indexOf(e);if(n===-1)return;const r=this.layers[n];Py(e,du,o=>{r.requestDismiss?.(o),o.defaultPrevented||r?.dismiss()}),Oy(e,du,{originalLayer:e,targetLayer:t,originalIndex:n,targetIndex:t?this.indexOf(t):-1}),this.syncLayers()},clear(){this.remove(this.layers[0].node)}};function Oy(e,t,n){const r=e.ownerDocument.defaultView||window,o=new r.CustomEvent(t,{cancelable:!0,bubbles:!0,detail:n});return e.dispatchEvent(o)}function Py(e,t,n){e.addEventListener(t,n,{once:!0})}var hu;function fu(){Ke.layers.forEach(({node:e})=>{e.style.pointerEvents=Ke.isBelowPointerBlockingLayer(e)?"none":"auto"})}function Ry(e){e.style.pointerEvents=""}function Iy(e,t){const n=Fe(e),r=[];return Ke.hasPointerBlockingLayer()&&!n.body.hasAttribute("data-inert")&&(hu=document.body.style.pointerEvents,queueMicrotask(()=>{n.body.style.pointerEvents="none",n.body.setAttribute("data-inert","")})),t?.forEach(o=>{const[i,s]=Pv(()=>{const a=o();return Te(a)?a:null},{timeout:1e3});i.then(a=>r.push(To(a,{pointerEvents:"auto"}))),r.push(s)}),()=>{Ke.hasPointerBlockingLayer()||(queueMicrotask(()=>{n.body.style.pointerEvents=hu,n.body.removeAttribute("data-inert"),n.body.style.length===0&&n.body.removeAttribute("style")}),r.forEach(o=>o()))}}function Ty(e,t){const{warnOnMissingNode:n=!0}=t;if(n&&!e){wr("[@zag-js/dismissable] node is `null` or `undefined`");return}if(!e)return;const{onDismiss:r,onRequestDismiss:o,pointerBlocking:i,exclude:s,debug:a,type:l="dialog"}=t,c={dismiss:r,node:e,type:l,pointerBlocking:i,requestDismiss:o};Ke.add(c),fu();function u(p){const v=$e(p.detail.originalEvent);Ke.isBelowPointerBlockingLayer(e)||Ke.isInBranch(v)||(t.onPointerDownOutside?.(p),t.onInteractOutside?.(p),!p.defaultPrevented&&(a&&console.log("onPointerDownOutside:",p.detail.originalEvent),r?.()))}function h(p){const v=$e(p.detail.originalEvent);Ke.isInBranch(v)||(t.onFocusOutside?.(p),t.onInteractOutside?.(p),!p.defaultPrevented&&(a&&console.log("onFocusOutside:",p.detail.originalEvent),r?.()))}function d(p){Ke.isTopMost(e)&&(t.onEscapeKeyDown?.(p),!p.defaultPrevented&&r&&(p.preventDefault(),r()))}function m(p){if(!e)return!1;const v=typeof s=="function"?s():s,b=Array.isArray(v)?v:[v],y=t.persistentElements?.map(x=>x()).filter(Te);return y&&b.push(...y),b.some(x=>Jt(x,p))||Ke.isInNestedLayer(e,p)}const f=[i?Iy(e,t.persistentElements):void 0,Ey(e,d),Sy(e,{exclude:m,onFocusOutside:h,onPointerDownOutside:u,defer:t.defer})];return()=>{Ke.remove(e),fu(),Ry(e),f.forEach(p=>p?.())}}function Kn(e,t){const{defer:n}=t,r=n?G:i=>i(),o=[];return o.push(r(()=>{const i=Qt(e)?e():e;o.push(Ty(i,t))})),()=>{o.forEach(i=>i?.())}}var gu=j("color-picker",["root","label","control","trigger","positioner","content","area","areaThumb","valueText","areaBackground","channelSlider","channelSliderLabel","channelSliderTrack","channelSliderThumb","channelSliderValueText","channelInput","transparencyGrid","swatchGroup","swatchTrigger","swatchIndicator","swatch","eyeDropperTrigger","formatTrigger","formatSelect"]);gu.build();var Ny=e=>e.ids?.hiddenInput??`color-picker:${e.id}:hidden-input`,Ay=e=>e.ids?.control??`color-picker:${e.id}:control`,_y=e=>e.ids?.trigger??`color-picker:${e.id}:trigger`,Vy=e=>e.ids?.content??`color-picker:${e.id}:content`,Fy=e=>e.ids?.positioner??`color-picker:${e.id}:positioner`,Ly=e=>e.ids?.formatSelect??`color-picker:${e.id}:format-select`,Dy=e=>e.ids?.area??`color-picker:${e.id}:area`,zy=e=>e.ids?.areaThumb??`color-picker:${e.id}:area-thumb`,My=(e,t)=>e.ids?.channelSliderTrack?.(t)??`color-picker:${e.id}:slider-track:${t}`,jy=(e,t)=>e.ids?.channelSliderThumb?.(t)??`color-picker:${e.id}:slider-thumb:${t}`,Ho=e=>e.getById(Vy(e)),$y=e=>e.getById(zy(e)),By=(e,t)=>e.getById(jy(e,t)),Wy=e=>e.getById(Ly(e)),pu=e=>e.getById(Ny(e)),Hy=e=>e.getById(Dy(e)),Uy=(e,t,n)=>{const r=Hy(e);if(!r)return;const{getPercentValue:o}=yc(t,r);return{x:o({dir:n,orientation:"horizontal"}),y:o({orientation:"vertical"})}},Gy=e=>e.getById(Ay(e)),Ks=e=>e.getById(_y(e)),qy=e=>e.getById(Fy(e)),Ky=(e,t)=>e.getById(My(e,t)),Yy=(e,t,n,r)=>{const o=Ky(e,n);if(!o)return;const{getPercentValue:i}=yc(t,o);return{x:i({dir:r,orientation:"horizontal"}),y:i({orientation:"vertical"})}},Xy=e=>[...Io(Ho(e),"input[data-channel]"),...Io(Gy(e),"input[data-channel]")];function Qy(e,t){if(t==null)return"";if(t==="hex")return e.toString("hex");if(t==="css")return e.toString("css");if(t in e)return e.getChannelValue(t).toString();const n=e.getFormat()==="hsla";switch(t){case"hue":return n?e.toFormat("hsla").getChannelValue("hue").toString():e.toFormat("hsba").getChannelValue("hue").toString();case"saturation":return n?e.toFormat("hsla").getChannelValue("saturation").toString():e.toFormat("hsba").getChannelValue("saturation").toString();case"lightness":return e.toFormat("hsla").getChannelValue("lightness").toString();case"brightness":return e.toFormat("hsba").getChannelValue("brightness").toString();case"red":case"green":case"blue":return e.toFormat("rgba").getChannelValue(t).toString();default:return e.getChannelValue(t).toString()}}var mu=e=>Fo(e),Jy=/^[0-9a-fA-F]{3,8}$/;function Zy(e){return Jy.test(e)}function ex(e){return e.startsWith("#")?e:Zy(e)?`#${e}`:e}var{and:tx}=jt();tx("isOpenControlled","closeOnSelect");function vu(e,t,n){const r=Xy(e);G(()=>{r.forEach(o=>{const i=o.dataset.channel;So(o,Qy(n||t,i))})})}function nx(e,t){const n=Wy(e);n&&G(()=>So(n,t))}M()(["closeOnSelect","dir","disabled","format","defaultFormat","getRootNode","id","ids","initialFocusEl","inline","name","positioning","onFocusOutside","onFormatChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","onValueChangeEnd","defaultOpen","open","positioning","required","readOnly","value","defaultValue","invalid","openAutoFocus"]),M()(["xChannel","yChannel"]),M()(["channel","orientation"]),M()(["value","disabled"]),M()(["value","respectAlpha"]),M()(["size"]);const[bu,rx]=Mn({name:"RenderStrategyContext",hookName:"useRenderStrategyContext",providerName:"<RenderStrategyPropsProvider />"}),yu=e=>Sc()(e,["lazyMount","unmountOnExit"]);var xu=j("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator");xu.build();var ku=e=>e.ids?.root??`accordion:${e.id}`,Cu=(e,t)=>e.ids?.itemTrigger?.(t)??`accordion:${e.id}:trigger:${t}`,ox=e=>e.getById(ku(e)),Uo=e=>{const n=`[aria-controls][data-ownedby='${CSS.escape(ku(e))}']:not([disabled])`;return Io(ox(e),n)},ix=e=>kr(Uo(e)),sx=e=>hs(Uo(e)),ax=(e,t)=>vv(Uo(e),Cu(e,t)),lx=(e,t)=>bv(Uo(e),Cu(e,t)),{and:cx,not:ux}=jt();cx("isExpanded","canToggle"),ux("isExpanded"),M()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value","defaultValue"]),M()(["value","disabled"]);var Tr=(e,t)=>({x:e,y:t});function dx(e){const{x:t,y:n,width:r,height:o}=e,i=t+r/2,s=n+o/2;return{x:t,y:n,width:r,height:o,minX:t,minY:n,maxX:t+r,maxY:n+o,midX:i,midY:s,center:Tr(i,s)}}function hx(e){const t=Tr(e.minX,e.minY),n=Tr(e.maxX,e.minY),r=Tr(e.maxX,e.maxY),o=Tr(e.minX,e.maxY);return{top:t,right:n,bottom:r,left:o}}function fx(e,t){const n=dx(e),{top:r,right:o,left:i,bottom:s}=hx(n),[a]=t.split("-");return{top:[i,r,o,s],right:[r,o,s,i],bottom:[r,i,s,o],left:[o,r,i,s]}[a]}function gx(e,t){const{x:n,y:r}=t;let o=!1;for(let i=0,s=e.length-1;i<e.length;s=i++){const a=e[i].x,l=e[i].y,c=e[s].x,u=e[s].y;l>r!=u>r&&n<(c-a)*(r-l)/(u-l)+a&&(o=!o)}return o}var wu=j("avatar").parts("root","image","fallback");wu.build(),M()(["dir","id","ids","onStatusChange","getRootNode"]);function px(e){return!(e.metaKey||!wo()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}var mx=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function vx(e,t,n){const r=n?$e(n):null,o=be(r);return e=e||r instanceof o.HTMLInputElement&&!mx.has(r?.type)||r instanceof o.HTMLTextAreaElement||r instanceof o.HTMLElement&&r.isContentEditable,!(e&&t==="keyboard"&&n instanceof o.KeyboardEvent&&!Reflect.has(bx,n.key))}var nn=null,Ys=new Set,Nr=new Map,rn=!1,Xs=!1,bx={Tab:!0,Escape:!0};function Go(e,t){for(let n of Ys)n(e,t)}function qo(e){rn=!0,px(e)&&(nn="keyboard",Go("keyboard",e))}function Ye(e){nn="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(rn=!0,Go("pointer",e))}function Su(e){q0(e)&&(rn=!0,nn="virtual")}function Eu(e){const t=$e(e);t===be(t)||t===Fe(t)||(!rn&&!Xs&&(nn="virtual",Go("virtual",e)),rn=!1,Xs=!1)}function Ou(){rn=!1,Xs=!0}function yx(e){if(typeof window>"u"||Nr.get(be(e)))return;const t=be(e),n=Fe(e);let r=t.HTMLElement.prototype.focus;function o(){nn="virtual",Go("virtual",null),rn=!0,r.apply(this,arguments)}Object.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,value:o}),n.addEventListener("keydown",qo,!0),n.addEventListener("keyup",qo,!0),n.addEventListener("click",Su,!0),t.addEventListener("focus",Eu,!0),t.addEventListener("blur",Ou,!1),typeof t.PointerEvent<"u"?(n.addEventListener("pointerdown",Ye,!0),n.addEventListener("pointermove",Ye,!0),n.addEventListener("pointerup",Ye,!0)):(n.addEventListener("mousedown",Ye,!0),n.addEventListener("mousemove",Ye,!0),n.addEventListener("mouseup",Ye,!0)),t.addEventListener("beforeunload",()=>{xx(e)},{once:!0}),Nr.set(t,{focus:r})}var xx=(e,t)=>{const n=be(e),r=Fe(e);Nr.has(n)&&(n.HTMLElement.prototype.focus=Nr.get(n).focus,r.removeEventListener("keydown",qo,!0),r.removeEventListener("keyup",qo,!0),r.removeEventListener("click",Su,!0),n.removeEventListener("focus",Eu,!0),n.removeEventListener("blur",Ou,!1),typeof n.PointerEvent<"u"?(r.removeEventListener("pointerdown",Ye,!0),r.removeEventListener("pointermove",Ye,!0),r.removeEventListener("pointerup",Ye,!0)):(r.removeEventListener("mousedown",Ye,!0),r.removeEventListener("mousemove",Ye,!0),r.removeEventListener("mouseup",Ye,!0)),Nr.delete(n))};function Pu(){return nn==="keyboard"}function kx(e={}){const{isTextInput:t,autoFocus:n,onChange:r,root:o}=e;yx(o),r?.({isFocusVisible:n||Pu(),modality:nn});const i=(s,a)=>{vx(!!t,s,a)&&r?.({isFocusVisible:Pu(),modality:s})};return Ys.add(i),()=>{Ys.delete(i)}}var Ru=j("checkbox").parts("root","label","control","indicator");Ru.build(),M()(["defaultChecked","checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);const Cx=Ru.extendWith("group"),[OT,Iu]=Mn({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1});var Tu=j("clipboard").parts("root","control","trigger","indicator","input","label");Tu.build(),M()(["getRootNode","id","ids","value","defaultValue","timeout","onStatusChange","onValueChange"]),M()(["copied"]);const wx=gu.extendWith("view");var Sx=Object.defineProperty,Ex=(e,t,n)=>t in e?Sx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,V=(e,t,n)=>Ex(e,typeof t!="symbol"?t+"":t,n),Ko={itemToValue(e){return typeof e=="string"?e:Xt(e)&&Dt(e,"value")?e.value:""},itemToString(e){return typeof e=="string"?e:Xt(e)&&Dt(e,"label")?e.label:Ko.itemToValue(e)},isItemDisabled(e){return Xt(e)&&Dt(e,"disabled")?!!e.disabled:!1}},Yo=class kp{constructor(t){this.options=t,V(this,"items"),V(this,"indexMap",null),V(this,"copy",n=>new kp({...this.options,items:n??[...this.items]})),V(this,"isEqual",n=>Ze(this.items,n.items)),V(this,"setItems",n=>this.copy(n)),V(this,"getValues",(n=this.items)=>{const r=[];for(const o of n){const i=this.getItemValue(o);i!=null&&r.push(i)}return r}),V(this,"find",n=>{if(n==null)return null;const r=this.indexOf(n);return r!==-1?this.at(r):null}),V(this,"findMany",n=>{const r=[];for(const o of n){const i=this.find(o);i!=null&&r.push(i)}return r}),V(this,"at",n=>{if(!this.options.groupBy&&!this.options.groupSort)return this.items[n]??null;let r=0;const o=this.group();for(const[,i]of o)for(const s of i){if(r===n)return s;r++}return null}),V(this,"sortFn",(n,r)=>{const o=this.indexOf(n),i=this.indexOf(r);return(o??0)-(i??0)}),V(this,"sort",n=>[...n].sort(this.sortFn.bind(this))),V(this,"getItemValue",n=>n==null?null:this.options.itemToValue?.(n)??Ko.itemToValue(n)),V(this,"getItemDisabled",n=>n==null?!1:this.options.isItemDisabled?.(n)??Ko.isItemDisabled(n)),V(this,"stringifyItem",n=>n==null?null:this.options.itemToString?.(n)??Ko.itemToString(n)),V(this,"stringify",n=>n==null?null:this.stringifyItem(this.find(n))),V(this,"stringifyItems",(n,r=", ")=>{const o=[];for(const i of n){const s=this.stringifyItem(i);s!=null&&o.push(s)}return o.join(r)}),V(this,"stringifyMany",(n,r)=>this.stringifyItems(this.findMany(n),r)),V(this,"has",n=>this.indexOf(n)!==-1),V(this,"hasItem",n=>n==null?!1:this.has(this.getItemValue(n))),V(this,"group",()=>{const{groupBy:n,groupSort:r}=this.options;if(!n)return[["",[...this.items]]];const o=new Map;this.items.forEach((s,a)=>{const l=n(s,a);o.has(l)||o.set(l,[]),o.get(l).push(s)});let i=Array.from(o.entries());return r&&i.sort(([s],[a])=>{if(typeof r=="function")return r(s,a);if(Array.isArray(r)){const l=r.indexOf(s),c=r.indexOf(a);return l===-1?1:c===-1?-1:l-c}return r==="asc"?s.localeCompare(a):r==="desc"?a.localeCompare(s):0}),i}),V(this,"getNextValue",(n,r=1,o=!1)=>{let i=this.indexOf(n);if(i===-1)return null;for(i=o?Math.min(i+r,this.size-1):i+r;i<=this.size&&this.getItemDisabled(this.at(i));)i++;return this.getItemValue(this.at(i))}),V(this,"getPreviousValue",(n,r=1,o=!1)=>{let i=this.indexOf(n);if(i===-1)return null;for(i=o?Math.max(i-r,0):i-r;i>=0&&this.getItemDisabled(this.at(i));)i--;return this.getItemValue(this.at(i))}),V(this,"indexOf",n=>{if(n==null)return-1;if(!this.options.groupBy&&!this.options.groupSort)return this.items.findIndex(r=>this.getItemValue(r)===n);if(!this.indexMap){this.indexMap=new Map;let r=0;const o=this.group();for(const[,i]of o)for(const s of i){const a=this.getItemValue(s);a!=null&&this.indexMap.set(a,r),r++}}return this.indexMap.get(n)??-1}),V(this,"getByText",(n,r)=>{const o=r!=null?this.indexOf(r):-1,i=n.length===1;for(let s=0;s<this.items.length;s++){const a=this.items[(o+s+1)%this.items.length];if(!(i&&this.getItemValue(a)===r)&&!this.getItemDisabled(a)&&Ox(this.stringifyItem(a),n))return a}}),V(this,"search",(n,r)=>{const{state:o,currentValue:i,timeout:s=350}=r,a=o.keysSoFar+n,c=a.length>1&&Array.from(a).every(f=>f===a[0])?a[0]:a,u=this.getByText(c,i),h=this.getItemValue(u);function d(){clearTimeout(o.timer),o.timer=-1}function m(f){o.keysSoFar=f,d(),f!==""&&(o.timer=+setTimeout(()=>{m(""),d()},s))}return m(a),h}),V(this,"update",(n,r)=>{let o=this.indexOf(n);return o===-1?this:this.copy([...this.items.slice(0,o),r,...this.items.slice(o+1)])}),V(this,"upsert",(n,r,o="append")=>{let i=this.indexOf(n);return i===-1?(o==="append"?this.append:this.prepend)(r):this.copy([...this.items.slice(0,i),r,...this.items.slice(i+1)])}),V(this,"insert",(n,...r)=>this.copy(Ar(this.items,n,...r))),V(this,"insertBefore",(n,...r)=>{let o=this.indexOf(n);if(o===-1)if(this.items.length===0)o=0;else return this;return this.copy(Ar(this.items,o,...r))}),V(this,"insertAfter",(n,...r)=>{let o=this.indexOf(n);if(o===-1)if(this.items.length===0)o=0;else return this;return this.copy(Ar(this.items,o+1,...r))}),V(this,"prepend",(...n)=>this.copy(Ar(this.items,0,...n))),V(this,"append",(...n)=>this.copy(Ar(this.items,this.items.length,...n))),V(this,"filter",n=>{const r=this.items.filter((o,i)=>n(this.stringifyItem(o),i,o));return this.copy(r)}),V(this,"remove",(...n)=>{const r=n.map(o=>typeof o=="string"?o:this.getItemValue(o));return this.copy(this.items.filter(o=>{const i=this.getItemValue(o);return i==null?!1:!r.includes(i)}))}),V(this,"move",(n,r)=>{const o=this.indexOf(n);return o===-1?this:this.copy(Xo(this.items,[o],r))}),V(this,"moveBefore",(n,...r)=>{let o=this.items.findIndex(s=>this.getItemValue(s)===n);if(o===-1)return this;let i=r.map(s=>this.items.findIndex(a=>this.getItemValue(a)===s)).sort((s,a)=>s-a);return this.copy(Xo(this.items,i,o))}),V(this,"moveAfter",(n,...r)=>{let o=this.items.findIndex(s=>this.getItemValue(s)===n);if(o===-1)return this;let i=r.map(s=>this.items.findIndex(a=>this.getItemValue(a)===s)).sort((s,a)=>s-a);return this.copy(Xo(this.items,i,o+1))}),V(this,"reorder",(n,r)=>this.copy(Xo(this.items,[n],r))),V(this,"compareValue",(n,r)=>{const o=this.indexOf(n),i=this.indexOf(r);return o<i?-1:o>i?1:0}),V(this,"range",(n,r)=>{let o=[],i=n;for(;i!=null;){if(this.find(i)&&o.push(i),i===r)return o;i=this.getNextValue(i)}return[]}),V(this,"getValueRange",(n,r)=>n&&r?this.compareValue(n,r)<=0?this.range(n,r):this.range(r,n):[]),V(this,"toString",()=>{let n="";for(const r of this.items){const o=this.getItemValue(r),i=this.stringifyItem(r),s=this.getItemDisabled(r),a=[o,i,s].filter(Boolean).join(":");n+=a+","}return n}),V(this,"toJSON",()=>({size:this.size,first:this.firstValue,last:this.lastValue})),this.items=[...t.items]}get size(){return this.items.length}get firstValue(){let t=0;for(;this.getItemDisabled(this.at(t));)t++;return this.getItemValue(this.at(t))}get lastValue(){let t=this.size-1;for(;this.getItemDisabled(this.at(t));)t--;return this.getItemValue(this.at(t))}*[Symbol.iterator](){yield*this.items}},Ox=(e,t)=>!!e?.toLowerCase().startsWith(t.toLowerCase());function Ar(e,t,...n){return[...e.slice(0,t),...n,...e.slice(t)]}function Xo(e,t,n){t=[...t].sort((o,i)=>o-i);const r=t.map(o=>e[o]);for(let o=t.length-1;o>=0;o--)e=[...e.slice(0,t[o]),...e.slice(t[o]+1)];return n=Math.max(0,n-t.filter(o=>o<n).length),[...e.slice(0,n),...r,...e.slice(n)]}function Nu(e,t,n){for(let r=0;r<t.length;r++)e=n.getChildren(e,t.slice(r+1))[t[r]];return e}function Px(e){const t=Rx(e),n=[],r=new Set;for(const o of t){const i=o.join();r.has(i)||(r.add(i),n.push(o))}return n}function Au(e,t){for(let n=0;n<Math.min(e.length,t.length);n++){if(e[n]<t[n])return-1;if(e[n]>t[n])return 1}return e.length-t.length}function Rx(e){return e.sort(Au)}function Ix(e,t){let n;return He(e,{...t,onEnter:(r,o)=>{if(t.predicate(r,o))return n=r,"stop"}}),n}function Tx(e,t){const n=[];return He(e,{onEnter:(r,o)=>{t.predicate(r,o)&&n.push(r)},getChildren:t.getChildren}),n}function _u(e,t){let n;return He(e,{onEnter:(r,o)=>{if(t.predicate(r,o))return n=[...o],"stop"},getChildren:t.getChildren}),n}function Nx(e,t){let n=t.initialResult;return He(e,{...t,onEnter:(r,o)=>{n=t.nextResult(n,r,o)}}),n}function Ax(e,t){return Nx(e,{...t,initialResult:[],nextResult:(n,r,o)=>(n.push(...t.transform(r,o)),n)})}function _x(e,t){const{predicate:n,create:r,getChildren:o}=t,i=(s,a)=>{const l=o(s,a),c=[];l.forEach((m,f)=>{const p=[...a,f],v=i(m,p);v&&c.push(v)});const u=a.length===0,h=n(s,a),d=c.length>0;return u||h||d?r(s,c,a):null};return i(e,[])||r(e,[],[])}function Vx(e,t){const n=[];let r=0;const o=new Map,i=new Map;return He(e,{getChildren:t.getChildren,onEnter:(s,a)=>{o.has(s)||o.set(s,r++);const l=t.getChildren(s,a);l.forEach(m=>{i.has(m)||i.set(m,s),o.has(m)||o.set(m,r++)});const c=l.length>0?l.map(m=>o.get(m)):void 0,u=i.get(s),h=u?o.get(u):void 0,d=o.get(s);n.push({...s,_children:c,_parent:h,_index:d})}}),n}function Fx(e,t){return{type:"insert",index:e,nodes:t}}function Lx(e){return{type:"remove",indexes:e}}function Qs(){return{type:"replace"}}function Vu(e){return[e.slice(0,-1),e[e.length-1]]}function Fu(e,t,n=new Map){const[r,o]=Vu(e);for(let s=r.length-1;s>=0;s--){const a=r.slice(0,s).join();switch(n.get(a)?.type){case"remove":continue}n.set(a,Qs())}const i=n.get(r.join());switch(i?.type){case"remove":n.set(r.join(),{type:"removeThenInsert",removeIndexes:i.indexes,insertIndex:o,insertNodes:t});break;default:n.set(r.join(),Fx(o,t))}return n}function Lu(e){const t=new Map,n=new Map;for(const r of e){const o=r.slice(0,-1).join(),i=n.get(o)??[];i.push(r[r.length-1]),n.set(o,i.sort((s,a)=>s-a))}for(const r of e)for(let o=r.length-2;o>=0;o--){const i=r.slice(0,o).join();t.has(i)||t.set(i,Qs())}for(const[r,o]of n)t.set(r,Lx(o));return t}function Dx(e,t){const n=new Map,[r,o]=Vu(e);for(let i=r.length-1;i>=0;i--){const s=r.slice(0,i).join();n.set(s,Qs())}return n.set(r.join(),{type:"removeThenInsert",removeIndexes:[o],insertIndex:o,insertNodes:[t]}),n}function Qo(e,t,n){return zx(e,{...n,getChildren:(r,o)=>{const i=o.join();switch(t.get(i)?.type){case"replace":case"remove":case"removeThenInsert":case"insert":return n.getChildren(r,o);default:return[]}},transform:(r,o,i)=>{const s=i.join(),a=t.get(s);switch(a?.type){case"remove":return n.create(r,o.filter((u,h)=>!a.indexes.includes(h)),i);case"removeThenInsert":const l=o.filter((u,h)=>!a.removeIndexes.includes(h)),c=a.removeIndexes.reduce((u,h)=>h<u?u-1:u,a.insertIndex);return n.create(r,Du(l,c,0,...a.insertNodes),i);case"insert":return n.create(r,Du(o,a.index,0,...a.nodes),i);case"replace":return n.create(r,o,i);default:return r}}})}function Du(e,t,n,...r){return[...e.slice(0,t),...r,...e.slice(t+n)]}function zx(e,t){const n={};return He(e,{...t,onLeave:(r,o)=>{const i=[0,...o],s=i.join(),a=t.transform(r,n[s]??[],o),l=i.slice(0,-1).join(),c=n[l]??[];c.push(a),n[l]=c}}),n[""][0]}function Mx(e,t){const{nodes:n,at:r}=t;if(r.length===0)throw new Error("Can't insert nodes at the root");const o=Fu(r,n);return Qo(e,o,t)}function jx(e,t){if(t.at.length===0)return t.node;const n=Dx(t.at,t.node);return Qo(e,n,t)}function $x(e,t){if(t.indexPaths.length===0)return e;for(const r of t.indexPaths)if(r.length===0)throw new Error("Can't remove the root node");const n=Lu(t.indexPaths);return Qo(e,n,t)}function Bx(e,t){if(t.indexPaths.length===0)return e;for(const i of t.indexPaths)if(i.length===0)throw new Error("Can't move the root node");if(t.to.length===0)throw new Error("Can't move nodes to the root");const n=Px(t.indexPaths),r=n.map(i=>Nu(e,i,t)),o=Fu(t.to,r,Lu(n));return Qo(e,o,t)}function He(e,t){const{onEnter:n,onLeave:r,getChildren:o}=t;let i=[],s=[{node:e}];const a=t.reuseIndexPath?()=>i:()=>i.slice();for(;s.length>0;){let l=s[s.length-1];if(l.state===void 0){const u=n?.(l.node,a());if(u==="stop")return;l.state=u==="skip"?-1:0}const c=l.children||o(l.node,a());if(l.children||(l.children=c),l.state!==-1){if(l.state<c.length){let h=l.state;i.push(h),s.push({node:c[h]}),l.state=h+1;continue}if(r?.(l.node,a())==="stop")return}i.pop(),s.pop()}}var zu=class Cp{constructor(t){this.options=t,V(this,"rootNode"),V(this,"isEqual",n=>Ze(this.rootNode,n.rootNode)),V(this,"getNodeChildren",n=>this.options.nodeToChildren?.(n)??Yn.nodeToChildren(n)??[]),V(this,"resolveIndexPath",n=>typeof n=="string"?this.getIndexPath(n):n),V(this,"resolveNode",n=>{const r=this.resolveIndexPath(n);return r?this.at(r):void 0}),V(this,"getNodeChildrenCount",n=>this.options.nodeToChildrenCount?.(n)??Yn.nodeToChildrenCount(n)),V(this,"getNodeValue",n=>this.options.nodeToValue?.(n)??Yn.nodeToValue(n)),V(this,"getNodeDisabled",n=>this.options.isNodeDisabled?.(n)??Yn.isNodeDisabled(n)),V(this,"stringify",n=>{const r=this.findNode(n);return r?this.stringifyNode(r):null}),V(this,"stringifyNode",n=>this.options.nodeToString?.(n)??Yn.nodeToString(n)),V(this,"getFirstNode",(n=this.rootNode)=>{let r;return He(n,{getChildren:this.getNodeChildren,onEnter:(o,i)=>{if(!r&&i.length>0&&!this.getNodeDisabled(o))return r=o,"stop"}}),r}),V(this,"getLastNode",(n=this.rootNode,r={})=>{let o;return He(n,{getChildren:this.getNodeChildren,onEnter:(i,s)=>{if(!this.isSameNode(i,n)){if(r.skip?.({value:this.getNodeValue(i),node:i,indexPath:s}))return"skip";s.length>0&&!this.getNodeDisabled(i)&&(o=i)}}}),o}),V(this,"at",n=>Nu(this.rootNode,n,{getChildren:this.getNodeChildren})),V(this,"findNode",(n,r=this.rootNode)=>Ix(r,{getChildren:this.getNodeChildren,predicate:o=>this.getNodeValue(o)===n})),V(this,"findNodes",(n,r=this.rootNode)=>{const o=new Set(n.filter(i=>i!=null));return Tx(r,{getChildren:this.getNodeChildren,predicate:i=>o.has(this.getNodeValue(i))})}),V(this,"sort",n=>n.reduce((r,o)=>{const i=this.getIndexPath(o);return i&&r.push({value:o,indexPath:i}),r},[]).sort((r,o)=>Au(r.indexPath,o.indexPath)).map(({value:r})=>r)),V(this,"getIndexPath",n=>_u(this.rootNode,{getChildren:this.getNodeChildren,predicate:r=>this.getNodeValue(r)===n})),V(this,"getValue",n=>{const r=this.at(n);return r?this.getNodeValue(r):void 0}),V(this,"getValuePath",n=>{if(!n)return[];const r=[];let o=[...n];for(;o.length>0;){const i=this.at(o);i&&r.unshift(this.getNodeValue(i)),o.pop()}return r}),V(this,"getDepth",n=>_u(this.rootNode,{getChildren:this.getNodeChildren,predicate:o=>this.getNodeValue(o)===n})?.length??0),V(this,"isSameNode",(n,r)=>this.getNodeValue(n)===this.getNodeValue(r)),V(this,"isRootNode",n=>this.isSameNode(n,this.rootNode)),V(this,"contains",(n,r)=>!n||!r?!1:r.slice(0,n.length).every((o,i)=>n[i]===r[i])),V(this,"getNextNode",(n,r={})=>{let o=!1,i;return He(this.rootNode,{getChildren:this.getNodeChildren,onEnter:(s,a)=>{if(this.isRootNode(s))return;const l=this.getNodeValue(s);if(r.skip?.({value:l,node:s,indexPath:a}))return l===n&&(o=!0),"skip";if(o&&!this.getNodeDisabled(s))return i=s,"stop";l===n&&(o=!0)}}),i}),V(this,"getPreviousNode",(n,r={})=>{let o,i=!1;return He(this.rootNode,{getChildren:this.getNodeChildren,onEnter:(s,a)=>{if(this.isRootNode(s))return;const l=this.getNodeValue(s);if(r.skip?.({value:l,node:s,indexPath:a}))return"skip";if(l===n)return i=!0,"stop";this.getNodeDisabled(s)||(o=s)}}),i?o:void 0}),V(this,"getParentNodes",n=>{const r=this.resolveIndexPath(n)?.slice();if(!r)return[];const o=[];for(;r.length>0;){r.pop();const i=this.at(r);i&&!this.isRootNode(i)&&o.unshift(i)}return o}),V(this,"getDescendantNodes",(n,r)=>{const o=this.resolveNode(n);if(!o)return[];const i=[];return He(o,{getChildren:this.getNodeChildren,onEnter:(s,a)=>{a.length!==0&&(!r?.withBranch&&this.isBranchNode(s)||i.push(s))}}),i}),V(this,"getDescendantValues",(n,r)=>this.getDescendantNodes(n,r).map(i=>this.getNodeValue(i))),V(this,"getParentIndexPath",n=>n.slice(0,-1)),V(this,"getParentNode",n=>{const r=this.resolveIndexPath(n);return r?this.at(this.getParentIndexPath(r)):void 0}),V(this,"visit",n=>{const{skip:r,...o}=n;He(this.rootNode,{...o,getChildren:this.getNodeChildren,onEnter:(i,s)=>{if(!this.isRootNode(i))return r?.({value:this.getNodeValue(i),node:i,indexPath:s})?"skip":o.onEnter?.(i,s)}})}),V(this,"getPreviousSibling",n=>{const r=this.getParentNode(n);if(!r)return;const o=this.getNodeChildren(r);let i=n[n.length-1];for(;--i>=0;){const s=o[i];if(!this.getNodeDisabled(s))return s}}),V(this,"getNextSibling",n=>{const r=this.getParentNode(n);if(!r)return;const o=this.getNodeChildren(r);let i=n[n.length-1];for(;++i<o.length;){const s=o[i];if(!this.getNodeDisabled(s))return s}}),V(this,"getSiblingNodes",n=>{const r=this.getParentNode(n);return r?this.getNodeChildren(r):[]}),V(this,"getValues",(n=this.rootNode)=>Ax(n,{getChildren:this.getNodeChildren,transform:o=>[this.getNodeValue(o)]}).slice(1)),V(this,"isValidDepth",(n,r)=>r==null?!0:typeof r=="function"?r(n.length):n.length===r),V(this,"isBranchNode",n=>this.getNodeChildren(n).length>0||this.getNodeChildrenCount(n)!=null),V(this,"getBranchValues",(n=this.rootNode,r={})=>{let o=[];return He(n,{getChildren:this.getNodeChildren,onEnter:(i,s)=>{if(s.length===0)return;const a=this.getNodeValue(i);if(r.skip?.({value:a,node:i,indexPath:s}))return"skip";this.isBranchNode(i)&&this.isValidDepth(s,r.depth)&&o.push(this.getNodeValue(i))}}),o}),V(this,"flatten",(n=this.rootNode)=>Vx(n,{getChildren:this.getNodeChildren})),V(this,"_create",(n,r)=>this.getNodeChildren(n).length>0||r.length>0?{...n,children:r}:{...n}),V(this,"_insert",(n,r,o)=>this.copy(Mx(n,{at:r,nodes:o,getChildren:this.getNodeChildren,create:this._create}))),V(this,"copy",n=>new Cp({...this.options,rootNode:n})),V(this,"_replace",(n,r,o)=>this.copy(jx(n,{at:r,node:o,getChildren:this.getNodeChildren,create:this._create}))),V(this,"_move",(n,r,o)=>this.copy(Bx(n,{indexPaths:r,to:o,getChildren:this.getNodeChildren,create:this._create}))),V(this,"_remove",(n,r)=>this.copy($x(n,{indexPaths:r,getChildren:this.getNodeChildren,create:this._create}))),V(this,"replace",(n,r)=>this._replace(this.rootNode,n,r)),V(this,"remove",n=>this._remove(this.rootNode,n)),V(this,"insertBefore",(n,r)=>this.getParentNode(n)?this._insert(this.rootNode,n,r):void 0),V(this,"insertAfter",(n,r)=>{if(!this.getParentNode(n))return;const i=[...n.slice(0,-1),n[n.length-1]+1];return this._insert(this.rootNode,i,r)}),V(this,"move",(n,r)=>this._move(this.rootNode,n,r)),V(this,"filter",n=>{const r=_x(this.rootNode,{predicate:n,getChildren:this.getNodeChildren,create:this._create});return this.copy(r)}),V(this,"toJSON",()=>this.getValues(this.rootNode)),this.rootNode=t.rootNode}},Yn={nodeToValue(e){return typeof e=="string"?e:Xt(e)&&Dt(e,"value")?e.value:""},nodeToString(e){return typeof e=="string"?e:Xt(e)&&Dt(e,"label")?e.label:Yn.nodeToValue(e)},isNodeDisabled(e){return Xt(e)&&Dt(e,"disabled")?!!e.disabled:!1},nodeToChildren(e){return e.children},nodeToChildrenCount(e){if(Xt(e)&&Dt(e,"childrenCount"))return e.childrenCount}},Xn=new WeakMap,Jo=new WeakMap,Zo={},Js=0,Mu=e=>e&&(e.host||Mu(e.parentNode)),Wx=(e,t)=>t.map(n=>{if(e.contains(n))return n;const r=Mu(n);return r&&e.contains(r)?r:(console.error("[zag-js > ariaHidden] target",n,"in not contained inside",e,". Doing nothing"),null)}).filter(n=>!!n),Hx=new Set(["script","output","status","next-route-announcer"]),Ux=e=>Hx.has(e.localName)||e.role==="status"||e.hasAttribute("aria-live")?!0:e.matches("[data-live-announcer]"),Gx=(e,t)=>{const{parentNode:n,markerName:r,controlAttribute:o}=t,i=Wx(n,Array.isArray(e)?e:[e]);Zo[r]||(Zo[r]=new WeakMap);const s=Zo[r],a=[],l=new Set,c=new Set(i),u=d=>{!d||l.has(d)||(l.add(d),u(d.parentNode))};i.forEach(u);const h=d=>{!d||c.has(d)||Array.prototype.forEach.call(d.children,m=>{if(l.has(m))h(m);else try{if(Ux(m))return;const p=m.getAttribute(o)==="true",v=(Xn.get(m)||0)+1,b=(s.get(m)||0)+1;Xn.set(m,v),s.set(m,b),a.push(m),v===1&&p&&Jo.set(m,!0),b===1&&m.setAttribute(r,""),p||m.setAttribute(o,"true")}catch(f){console.error("[zag-js > ariaHidden] cannot operate on ",m,f)}})};return h(n),l.clear(),Js++,()=>{a.forEach(d=>{const m=Xn.get(d)-1,f=s.get(d)-1;Xn.set(d,m),s.set(d,f),m||(Jo.has(d)||d.removeAttribute(o),Jo.delete(d)),f||d.removeAttribute(r)}),Js--,Js||(Xn=new WeakMap,Xn=new WeakMap,Jo=new WeakMap,Zo={})}},qx=e=>(Array.isArray(e)?e[0]:e).ownerDocument.body,Kx=(e,t=qx(e),n="data-aria-hidden")=>{if(t)return Gx(e,{parentNode:t,markerName:n,controlAttribute:"aria-hidden"})},Yx=e=>{const t=requestAnimationFrame(()=>e());return()=>cancelAnimationFrame(t)};function ju(e,t={}){const{defer:n=!0}=t,r=n?Yx:i=>i(),o=[];return o.push(r(()=>{const s=(typeof e=="function"?e():e).filter(Boolean);s.length!==0&&o.push(Kx(s))})),()=>{o.forEach(i=>i?.())}}var $u=j("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger");$u.build();var Bu=e=>new Yo(e);Bu.empty=()=>new Yo({items:[]});var Xx=e=>e.ids?.control??`combobox:${e.id}:control`,Qx=e=>e.ids?.input??`combobox:${e.id}:input`,Jx=e=>e.ids?.content??`combobox:${e.id}:content`,Zx=e=>e.ids?.positioner??`combobox:${e.id}:popper`,e1=e=>e.ids?.trigger??`combobox:${e.id}:toggle-btn`,t1=e=>e.ids?.clearTrigger??`combobox:${e.id}:clear-btn`,Wt=e=>e.getById(Jx(e)),Qn=e=>e.getById(Qx(e)),Wu=e=>e.getById(Zx(e)),Hu=e=>e.getById(Xx(e)),_r=e=>e.getById(e1(e)),Uu=e=>e.getById(t1(e)),Vr=(e,t)=>{if(t==null)return null;const n=`[role=option][data-value="${CSS.escape(t)}"]`;return pv(Wt(e),n)},Gu=e=>{const t=Qn(e);e.isActiveElement(t)||t?.focus({preventScroll:!0})},n1=e=>{const t=_r(e);e.isActiveElement(t)||t?.focus({preventScroll:!0})},{guards:r1,createMachine:o1,choose:i1}=wc(),{and:ye,not:Ue}=r1;o1({props({props:e}){return{loopFocus:!0,openOnClick:!1,defaultValue:[],closeOnSelect:!e.multiple,allowCustomValue:!1,alwaysSubmitOnEnter:!1,inputBehavior:"none",selectionBehavior:e.multiple?"clear":"replace",openOnKeyPress:!0,openOnChange:!0,composite:!0,navigate({node:t}){vc(t)},collection:Bu.empty(),...e,positioning:{placement:"bottom",sameWidth:!0,...e.positioning},translations:{triggerLabel:"Toggle suggestions",clearTriggerLabel:"Clear value",...e.translations}}},initialState({prop:e}){return e("open")||e("defaultOpen")?"suggesting":"idle"},context({prop:e,bindable:t,getContext:n,getEvent:r}){return{currentPlacement:t(()=>({defaultValue:void 0})),value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),isEqual:Ze,hash(o){return o.join(",")},onChange(o){const i=n(),s=i.get("selectedItems"),a=e("collection"),l=o.map(c=>s.find(h=>a.getItemValue(h)===c)||a.find(c));i.set("selectedItems",l),e("onValueChange")?.({value:o,items:l})}})),highlightedValue:t(()=>({defaultValue:e("defaultHighlightedValue")||null,value:e("highlightedValue"),onChange(o){const i=e("collection").find(o);e("onHighlightChange")?.({highlightedValue:o,highlightedItem:i})}})),inputValue:t(()=>{let o=e("inputValue")||e("defaultInputValue")||"";const i=e("defaultValue")||e("value")||[];if(!o.trim()&&!e("multiple")){const s=e("collection").stringifyMany(i);o=xt(e("selectionBehavior"),{preserve:o||s,replace:s,clear:""})}return{defaultValue:o,value:e("inputValue"),onChange(s){const a=r(),l=(a.previousEvent||a).src;e("onInputValueChange")?.({inputValue:s,reason:l})}}}),highlightedItem:t(()=>{const o=e("highlightedValue");return{defaultValue:e("collection").find(o)}}),selectedItems:t(()=>{const o=e("value")||e("defaultValue")||[];return{defaultValue:e("collection").findMany(o)}})}},computed:{isInputValueEmpty:({context:e})=>e.get("inputValue").length===0,isInteractive:({prop:e})=>!(e("readOnly")||e("disabled")),autoComplete:({prop:e})=>e("inputBehavior")==="autocomplete",autoHighlight:({prop:e})=>e("inputBehavior")==="autohighlight",hasSelectedItems:({context:e})=>e.get("value").length>0,valueAsString:({context:e,prop:t})=>t("collection").stringifyItems(e.get("selectedItems")),isCustomValue:({context:e,computed:t})=>e.get("inputValue")!==t("valueAsString")},watch({context:e,prop:t,track:n,action:r,send:o}){n([()=>e.hash("value")],()=>{r(["syncSelectedItems"])}),n([()=>e.get("inputValue")],()=>{r(["syncInputValue"])}),n([()=>e.get("highlightedValue")],()=>{r(["syncHighlightedItem","autofillInputValue"])}),n([()=>t("open")],()=>{r(["toggleVisibility"])}),n([()=>t("collection").toString()],()=>{o({type:"CHILDREN_CHANGE"})})},on:{"SELECTED_ITEMS.SYNC":{actions:["syncSelectedItems"]},"HIGHLIGHTED_VALUE.SET":{actions:["setHighlightedValue"]},"HIGHLIGHTED_VALUE.CLEAR":{actions:["clearHighlightedValue"]},"ITEM.SELECT":{actions:["selectItem"]},"ITEM.CLEAR":{actions:["clearItem"]},"VALUE.SET":{actions:["setValue"]},"INPUT_VALUE.SET":{actions:["setInputValue"]},"POSITIONING.SET":{actions:["reposition"]}},entry:i1([{guard:"autoFocus",actions:["setInitialFocus"]}]),states:{idle:{tags:["idle","closed"],entry:["scrollContentToTop","clearHighlightedValue"],on:{"CONTROLLED.OPEN":{target:"interacting"},"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.CLICK":[{guard:"isOpenControlled",actions:["highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.FOCUS":{target:"focused"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"interacting",actions:["invokeOnOpen"]}],"VALUE.CLEAR":{target:"focused",actions:["clearInputValue","clearSelectedItems","setInitialFocus"]}}},focused:{tags:["focused","closed"],entry:["scrollContentToTop","clearHighlightedValue"],on:{"CONTROLLED.OPEN":[{guard:"isChangeEvent",target:"suggesting"},{target:"interacting"}],"INPUT.CHANGE":[{guard:ye("isOpenControlled","openOnChange"),actions:["setInputValue","invokeOnOpen","highlightFirstItemIfNeeded"]},{guard:"openOnChange",target:"suggesting",actions:["setInputValue","invokeOnOpen","highlightFirstItemIfNeeded"]},{actions:["setInputValue"]}],"LAYER.INTERACT_OUTSIDE":{target:"idle"},"INPUT.ESCAPE":{guard:ye("isCustomValue",Ue("allowCustomValue")),actions:["revertInputValue"]},"INPUT.BLUR":{target:"idle"},"INPUT.CLICK":[{guard:"isOpenControlled",actions:["highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstSelectedItem","invokeOnOpen"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.ARROW_DOWN":[{guard:ye("isOpenControlled","autoComplete"),actions:["invokeOnOpen"]},{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{guard:"isOpenControlled",actions:["highlightFirstOrSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstOrSelectedItem","invokeOnOpen"]}],"INPUT.ARROW_UP":[{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{target:"interacting",actions:["highlightLastOrSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightLastOrSelectedItem","invokeOnOpen"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"interacting",actions:["invokeOnOpen"]}],"VALUE.CLEAR":{actions:["clearInputValue","clearSelectedItems"]}}},interacting:{tags:["open","focused"],entry:["setInitialFocus"],effects:["scrollToHighlightedItem","trackDismissableLayer","trackPlacement","hideOtherElements"],on:{"CONTROLLED.CLOSE":[{guard:"restoreFocus",target:"focused",actions:["setFinalFocus"]},{target:"idle"}],CHILDREN_CHANGE:[{guard:"isHighlightedItemRemoved",actions:["clearHighlightedValue"]},{actions:["scrollToHighlightedItem"]}],"INPUT.HOME":{actions:["highlightFirstItem"]},"INPUT.END":{actions:["highlightLastItem"]},"INPUT.ARROW_DOWN":[{guard:ye("autoComplete","isLastItemHighlighted"),actions:["clearHighlightedValue","scrollContentToTop"]},{actions:["highlightNextItem"]}],"INPUT.ARROW_UP":[{guard:ye("autoComplete","isFirstItemHighlighted"),actions:["clearHighlightedValue"]},{actions:["highlightPrevItem"]}],"INPUT.ENTER":[{guard:ye("isOpenControlled","isCustomValue",Ue("hasHighlightedItem"),Ue("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:ye("isCustomValue",Ue("hasHighlightedItem"),Ue("allowCustomValue")),target:"focused",actions:["revertInputValue","invokeOnClose"]},{guard:ye("isOpenControlled","closeOnSelect"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","setFinalFocus"]},{actions:["selectHighlightedItem"]}],"INPUT.CHANGE":[{guard:"autoComplete",target:"suggesting",actions:["setInputValue"]},{target:"suggesting",actions:["clearHighlightedValue","setInputValue"]}],"ITEM.POINTER_MOVE":{actions:["setHighlightedValue"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedValue"]},"ITEM.CLICK":[{guard:ye("isOpenControlled","closeOnSelect"),actions:["selectItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectItem","invokeOnClose","setFinalFocus"]},{actions:["selectItem"]}],"LAYER.ESCAPE":[{guard:ye("isOpenControlled","autoComplete"),actions:["syncInputValue","invokeOnClose"]},{guard:"autoComplete",target:"focused",actions:["syncInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"LAYER.INTERACT_OUTSIDE":[{guard:ye("isOpenControlled","isCustomValue",Ue("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:ye("isCustomValue",Ue("allowCustomValue")),target:"idle",actions:["revertInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"idle",actions:["invokeOnClose"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"VALUE.CLEAR":[{guard:"isOpenControlled",actions:["clearInputValue","clearSelectedItems","invokeOnClose"]},{target:"focused",actions:["clearInputValue","clearSelectedItems","invokeOnClose","setFinalFocus"]}]}},suggesting:{tags:["open","focused"],effects:["trackDismissableLayer","scrollToHighlightedItem","trackPlacement","hideOtherElements"],entry:["setInitialFocus"],on:{"CONTROLLED.CLOSE":[{guard:"restoreFocus",target:"focused",actions:["setFinalFocus"]},{target:"idle"}],CHILDREN_CHANGE:[{guard:"autoHighlight",actions:["highlightFirstItem"]},{guard:"isHighlightedItemRemoved",actions:["clearHighlightedValue"]}],"INPUT.ARROW_DOWN":{target:"interacting",actions:["highlightNextItem"]},"INPUT.ARROW_UP":{target:"interacting",actions:["highlightPrevItem"]},"INPUT.HOME":{target:"interacting",actions:["highlightFirstItem"]},"INPUT.END":{target:"interacting",actions:["highlightLastItem"]},"INPUT.ENTER":[{guard:ye("isOpenControlled","isCustomValue",Ue("hasHighlightedItem"),Ue("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:ye("isCustomValue",Ue("hasHighlightedItem"),Ue("allowCustomValue")),target:"focused",actions:["revertInputValue","invokeOnClose"]},{guard:ye("isOpenControlled","closeOnSelect"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","setFinalFocus"]},{actions:["selectHighlightedItem"]}],"INPUT.CHANGE":{actions:["setInputValue"]},"LAYER.ESCAPE":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"ITEM.POINTER_MOVE":{target:"interacting",actions:["setHighlightedValue"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedValue"]},"LAYER.INTERACT_OUTSIDE":[{guard:ye("isOpenControlled","isCustomValue",Ue("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:ye("isCustomValue",Ue("allowCustomValue")),target:"idle",actions:["revertInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"idle",actions:["invokeOnClose"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"ITEM.CLICK":[{guard:ye("isOpenControlled","closeOnSelect"),actions:["selectItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectItem","invokeOnClose","setFinalFocus"]},{actions:["selectItem"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"VALUE.CLEAR":[{guard:"isOpenControlled",actions:["clearInputValue","clearSelectedItems","invokeOnClose"]},{target:"focused",actions:["clearInputValue","clearSelectedItems","invokeOnClose","setFinalFocus"]}]}}},implementations:{guards:{isInputValueEmpty:({computed:e})=>e("isInputValueEmpty"),autoComplete:({computed:e,prop:t})=>e("autoComplete")&&!t("multiple"),autoHighlight:({computed:e})=>e("autoHighlight"),isFirstItemHighlighted:({prop:e,context:t})=>e("collection").firstValue===t.get("highlightedValue"),isLastItemHighlighted:({prop:e,context:t})=>e("collection").lastValue===t.get("highlightedValue"),isCustomValue:({computed:e})=>e("isCustomValue"),allowCustomValue:({prop:e})=>!!e("allowCustomValue"),hasHighlightedItem:({context:e})=>e.get("highlightedValue")!=null,closeOnSelect:({prop:e})=>!!e("closeOnSelect"),isOpenControlled:({prop:e})=>e("open")!=null,openOnChange:({prop:e,context:t})=>{const n=e("openOnChange");return Ym(n)?n:!!n?.({inputValue:t.get("inputValue")})},restoreFocus:({event:e})=>e.restoreFocus==null?!0:!!e.restoreFocus,isChangeEvent:({event:e})=>e.previousEvent?.type==="INPUT.CHANGE",autoFocus:({prop:e})=>!!e("autoFocus"),isHighlightedItemRemoved:({prop:e,context:t})=>!e("collection").has(t.get("highlightedValue"))},effects:{trackDismissableLayer({send:e,prop:t,scope:n}){return t("disableLayer")?void 0:Kn(()=>Wt(n),{type:"listbox",defer:!0,exclude:()=>[Qn(n),_r(n),Uu(n)],onFocusOutside:t("onFocusOutside"),onPointerDownOutside:t("onPointerDownOutside"),onInteractOutside:t("onInteractOutside"),onEscapeKeyDown(o){o.preventDefault(),o.stopPropagation(),e({type:"LAYER.ESCAPE",src:"escape-key"})},onDismiss(){e({type:"LAYER.INTERACT_OUTSIDE",src:"interact-outside",restoreFocus:!1})}})},hideOtherElements({scope:e}){return ju([Qn(e),Wt(e),_r(e),Uu(e)])},trackPlacement({context:e,prop:t,scope:n}){const r=()=>Hu(n)||_r(n),o=()=>Wu(n);return e.set("currentPlacement",t("positioning").placement),nt(r,o,{...t("positioning"),defer:!0,onComplete(i){e.set("currentPlacement",i.placement)}})},scrollToHighlightedItem({context:e,prop:t,scope:n,event:r}){const o=Qn(n);let i=[];const s=c=>{const u=r.current().type.includes("POINTER"),h=e.get("highlightedValue");if(u||!h)return;const d=Wt(n),m=t("scrollToIndexFn");if(m){const v=t("collection").indexOf(h);m({index:v,immediate:c,getElement:()=>Vr(n,h)});return}const f=Vr(n,h),p=G(()=>{Po(f,{rootEl:d,block:"nearest"})});i.push(p)},a=G(()=>s(!0));i.push(a);const l=Eo(o,{attributes:["aria-activedescendant"],callback:()=>s(!1)});return i.push(l),()=>{i.forEach(c=>c())}}},actions:{reposition({context:e,prop:t,scope:n,event:r}){nt(()=>Hu(n),()=>Wu(n),{...t("positioning"),...r.options,defer:!0,listeners:!1,onComplete(s){e.set("currentPlacement",s.placement)}})},setHighlightedValue({context:e,event:t}){t.value!=null&&e.set("highlightedValue",t.value)},clearHighlightedValue({context:e}){e.set("highlightedValue",null)},selectHighlightedItem(e){const{context:t,prop:n}=e,r=n("collection"),o=t.get("highlightedValue");if(!o||!r.has(o))return;const i=n("multiple")?zn(t.get("value"),o):[o];n("onSelect")?.({value:i,itemValue:o}),t.set("value",i);const s=xt(n("selectionBehavior"),{preserve:t.get("inputValue"),replace:r.stringifyMany(i),clear:""});t.set("inputValue",s)},scrollToHighlightedItem({context:e,prop:t,scope:n}){ws(()=>{const r=e.get("highlightedValue");if(r==null)return;const o=Vr(n,r),i=Wt(n),s=t("scrollToIndexFn");if(s){const a=t("collection").indexOf(r);s({index:a,immediate:!0,getElement:()=>Vr(n,r)});return}Po(o,{rootEl:i,block:"nearest"})})},selectItem(e){const{context:t,event:n,flush:r,prop:o}=e;n.value!=null&&r(()=>{const i=o("multiple")?zn(t.get("value"),n.value):[n.value];o("onSelect")?.({value:i,itemValue:n.value}),t.set("value",i);const s=xt(o("selectionBehavior"),{preserve:t.get("inputValue"),replace:o("collection").stringifyMany(i),clear:""});t.set("inputValue",s)})},clearItem(e){const{context:t,event:n,flush:r,prop:o}=e;n.value!=null&&r(()=>{const i=Yt(t.get("value"),n.value);t.set("value",i);const s=xt(o("selectionBehavior"),{preserve:t.get("inputValue"),replace:o("collection").stringifyMany(i),clear:""});t.set("inputValue",s)})},setInitialFocus({scope:e}){G(()=>{Gu(e)})},setFinalFocus({scope:e}){G(()=>{_r(e)?.dataset.focusable==null?Gu(e):n1(e)})},syncInputValue({context:e,scope:t,event:n}){const r=Qn(t);r&&(r.value=e.get("inputValue"),queueMicrotask(()=>{n.current().type!=="INPUT.CHANGE"&&k0(r)}))},setInputValue({context:e,event:t}){e.set("inputValue",t.value)},clearInputValue({context:e}){e.set("inputValue","")},revertInputValue({context:e,prop:t,computed:n}){const r=t("selectionBehavior"),o=xt(r,{replace:n("hasSelectedItems")?n("valueAsString"):"",preserve:e.get("inputValue"),clear:""});e.set("inputValue",o)},setValue(e){const{context:t,flush:n,event:r,prop:o}=e;n(()=>{t.set("value",r.value);const i=xt(o("selectionBehavior"),{preserve:t.get("inputValue"),replace:o("collection").stringifyMany(r.value),clear:""});t.set("inputValue",i)})},clearSelectedItems(e){const{context:t,flush:n,prop:r}=e;n(()=>{t.set("value",[]);const o=xt(r("selectionBehavior"),{preserve:t.get("inputValue"),replace:r("collection").stringifyMany([]),clear:""});t.set("inputValue",o)})},scrollContentToTop({prop:e,scope:t}){const n=e("scrollToIndexFn");if(n){const r=e("collection").firstValue;n({index:0,immediate:!0,getElement:()=>Vr(t,r)})}else{const r=Wt(t);if(!r)return;r.scrollTop=0}},invokeOnOpen({prop:e,event:t}){const n=qu(t);e("onOpenChange")?.({open:!0,reason:n})},invokeOnClose({prop:e,event:t}){const n=qu(t);e("onOpenChange")?.({open:!1,reason:n})},highlightFirstItem({context:e,prop:t,scope:n}){(Wt(n)?queueMicrotask:G)(()=>{const o=t("collection").firstValue;o&&e.set("highlightedValue",o)})},highlightFirstItemIfNeeded({computed:e,action:t}){e("autoHighlight")&&t(["highlightFirstItem"])},highlightLastItem({context:e,prop:t,scope:n}){(Wt(n)?queueMicrotask:G)(()=>{const o=t("collection").lastValue;o&&e.set("highlightedValue",o)})},highlightNextItem({context:e,prop:t}){let n=null;const r=e.get("highlightedValue"),o=t("collection");r?(n=o.getNextValue(r),!n&&t("loopFocus")&&(n=o.firstValue)):n=o.firstValue,n&&e.set("highlightedValue",n)},highlightPrevItem({context:e,prop:t}){let n=null;const r=e.get("highlightedValue"),o=t("collection");r?(n=o.getPreviousValue(r),!n&&t("loopFocus")&&(n=o.lastValue)):n=o.lastValue,n&&e.set("highlightedValue",n)},highlightFirstSelectedItem({context:e,prop:t}){G(()=>{const[n]=t("collection").sort(e.get("value"));n&&e.set("highlightedValue",n)})},highlightFirstOrSelectedItem({context:e,prop:t,computed:n}){G(()=>{let r=null;n("hasSelectedItems")?r=t("collection").sort(e.get("value"))[0]:r=t("collection").firstValue,r&&e.set("highlightedValue",r)})},highlightLastOrSelectedItem({context:e,prop:t,computed:n}){G(()=>{const r=t("collection");let o=null;n("hasSelectedItems")?o=r.sort(e.get("value"))[0]:o=r.lastValue,o&&e.set("highlightedValue",o)})},autofillInputValue({context:e,computed:t,prop:n,event:r,scope:o}){const i=Qn(o),s=n("collection");if(!t("autoComplete")||!i||!r.keypress)return;const a=s.stringify(e.get("highlightedValue"));G(()=>{i.value=a||e.get("inputValue")})},syncSelectedItems(e){queueMicrotask(()=>{const{context:t,prop:n}=e,r=n("collection"),o=t.get("value"),i=o.map(a=>t.get("selectedItems").find(c=>r.getItemValue(c)===a)||r.find(a));t.set("selectedItems",i);const s=xt(n("selectionBehavior"),{preserve:t.get("inputValue"),replace:r.stringifyMany(o),clear:""});t.set("inputValue",s)})},syncHighlightedItem({context:e,prop:t}){const n=t("collection").find(e.get("highlightedValue"));e.set("highlightedItem",n)},toggleVisibility({event:e,send:t,prop:n}){t({type:n("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:e})}}}});function qu(e){return(e.previousEvent||e).src}M()(["allowCustomValue","autoFocus","closeOnSelect","collection","composite","defaultHighlightedValue","defaultInputValue","defaultOpen","defaultValue","dir","disabled","disableLayer","form","getRootNode","highlightedValue","id","ids","inputBehavior","inputValue","invalid","loopFocus","multiple","name","navigate","onFocusOutside","onHighlightChange","onInputValueChange","onInteractOutside","onOpenChange","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","openOnChange","openOnClick","openOnKeyPress","placeholder","positioning","readOnly","required","scrollToIndexFn","selectionBehavior","translations","value","alwaysSubmitOnEnter"]),M()(["htmlFor"]),M()(["id"]),M()(["item","persistFocus"]);const s1=$u.extendWith("empty"),[Ku,Ht]=Mn({name:"DialogContext",hookName:"useDialogContext",providerName:"<DialogProvider />"}),Yu=P.forwardRef((e,t)=>{const n=Ht(),r=rx(),o=Ts({...r,present:n.open}),i=qe(n.getBackdropProps(),o.getPresenceProps(),e);return o.unmounted?null:g.jsx(kt.div,{...i,ref:No(o.ref,t)})});Yu.displayName="DialogBackdrop";const Xu=P.forwardRef((e,t)=>{const n=Ht(),r=qe(n.getCloseTriggerProps(),e);return g.jsx(kt.button,{...r,ref:t})});Xu.displayName="DialogCloseTrigger";const Qu=P.forwardRef((e,t)=>{const n=Ht(),r=Ns(),o=qe(n.getContentProps(),r.getPresenceProps(),e);return r.unmounted?null:g.jsx(kt.div,{...o,ref:No(r.ref,t)})});Qu.displayName="DialogContent";const Ju=P.forwardRef((e,t)=>{const n=Ht(),r=qe(n.getDescriptionProps(),e);return g.jsx(kt.div,{...r,ref:t})});Ju.displayName="DialogDescription";const Zu=P.forwardRef((e,t)=>{const n=Ht(),r=qe(n.getPositionerProps(),e);return Ns().unmounted?null:g.jsx(kt.div,{...r,ref:t})});Zu.displayName="DialogPositioner";var a1=Object.defineProperty,l1=(e,t,n)=>t in e?a1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ae=(e,t,n)=>l1(e,typeof t!="symbol"?t+"":t,n),ed={activateTrap(e,t){if(e.length>0){const r=e[e.length-1];r!==t&&r.pause()}const n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}},c1=[],u1=class{constructor(e,t){ae(this,"trapStack"),ae(this,"config"),ae(this,"doc"),ae(this,"state",{containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0}),ae(this,"listenerCleanups",[]),ae(this,"handleFocus",r=>{const o=$e(r),i=this.findContainerIndex(o,r)>=0;if(i||ms(o))i&&(this.state.mostRecentlyFocusedNode=o);else{r.stopImmediatePropagation();let s,a=!0;if(this.state.mostRecentlyFocusedNode)if(Er(this.state.mostRecentlyFocusedNode)>0){const l=this.findContainerIndex(this.state.mostRecentlyFocusedNode),{tabbableNodes:c}=this.state.containerGroups[l];if(c.length>0){const u=c.findIndex(h=>h===this.state.mostRecentlyFocusedNode);u>=0&&(this.config.isKeyForward(this.state.recentNavEvent)?u+1<c.length&&(s=c[u+1],a=!1):u-1>=0&&(s=c[u-1],a=!1))}}else this.state.containerGroups.some(l=>l.tabbableNodes.some(c=>Er(c)>0))||(a=!1);else a=!1;a&&(s=this.findNextNavNode({target:this.state.mostRecentlyFocusedNode,isBackward:this.config.isKeyBackward(this.state.recentNavEvent)})),s?this.tryFocus(s):this.tryFocus(this.state.mostRecentlyFocusedNode||this.getInitialFocusNode())}this.state.recentNavEvent=void 0}),ae(this,"handlePointerDown",r=>{const o=$e(r);if(!(this.findContainerIndex(o,r)>=0)){if(Lr(this.config.clickOutsideDeactivates,r)){this.deactivate({returnFocus:this.config.returnFocusOnDeactivate});return}Lr(this.config.allowOutsideClick,r)||r.preventDefault()}}),ae(this,"handleClick",r=>{const o=$e(r);this.findContainerIndex(o,r)>=0||Lr(this.config.clickOutsideDeactivates,r)||Lr(this.config.allowOutsideClick,r)||(r.preventDefault(),r.stopImmediatePropagation())}),ae(this,"handleTabKey",r=>{if(this.config.isKeyForward(r)||this.config.isKeyBackward(r)){this.state.recentNavEvent=r;const o=this.config.isKeyBackward(r),i=this.findNextNavNode({event:r,isBackward:o});if(!i)return;Fr(r)&&r.preventDefault(),this.tryFocus(i)}}),ae(this,"handleEscapeKey",r=>{d1(r)&&Lr(this.config.escapeDeactivates,r)!==!1&&(r.preventDefault(),this.deactivate())}),ae(this,"_mutationObserver"),ae(this,"setupMutationObserver",()=>{const r=this.doc.defaultView||window;this._mutationObserver=new r.MutationObserver(o=>{o.some(s=>Array.from(s.removedNodes).some(l=>l===this.state.mostRecentlyFocusedNode))&&this.tryFocus(this.getInitialFocusNode())})}),ae(this,"updateObservedNodes",()=>{this._mutationObserver?.disconnect(),this.state.active&&!this.state.paused&&this.state.containers.map(r=>{this._mutationObserver?.observe(r,{subtree:!0,childList:!0})})}),ae(this,"getInitialFocusNode",()=>{let r=this.getNodeForOption("initialFocus",{hasFallback:!0});if(r===!1)return!1;if(r===void 0||r&&!Mt(r)){const o=Sr(this.doc);if(o&&this.findContainerIndex(o)>=0)r=o;else{const i=this.state.tabbableGroups[0];r=i&&i.firstTabbableNode||this.getNodeForOption("fallbackFocus")}}else r===null&&(r=this.getNodeForOption("fallbackFocus"));if(!r)throw new Error("Your focus-trap needs to have at least one focusable element");return r.isConnected||(r=this.getNodeForOption("fallbackFocus")),r}),ae(this,"tryFocus",r=>{if(r!==!1&&r!==Sr(this.doc)){if(!r||!r.focus){this.tryFocus(this.getInitialFocusNode());return}r.focus({preventScroll:!!this.config.preventScroll}),this.state.mostRecentlyFocusedNode=r,h1(r)&&r.select()}}),ae(this,"deactivate",r=>{if(!this.state.active)return this;const o={onDeactivate:this.config.onDeactivate,onPostDeactivate:this.config.onPostDeactivate,checkCanReturnFocus:this.config.checkCanReturnFocus,...r};clearTimeout(this.state.delayInitialFocusTimer),this.state.delayInitialFocusTimer=void 0,this.removeListeners(),this.state.active=!1,this.state.paused=!1,this.updateObservedNodes(),ed.deactivateTrap(this.trapStack,this);const i=this.getOption(o,"onDeactivate"),s=this.getOption(o,"onPostDeactivate"),a=this.getOption(o,"checkCanReturnFocus"),l=this.getOption(o,"returnFocus","returnFocusOnDeactivate");i?.();const c=()=>{td(()=>{if(l){const u=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);this.tryFocus(u)}s?.()})};if(l&&a){const u=this.getReturnFocusNode(this.state.nodeFocusedBeforeActivation);return a(u).then(c,c),this}return c(),this}),ae(this,"pause",r=>{if(this.state.paused||!this.state.active)return this;const o=this.getOption(r,"onPause"),i=this.getOption(r,"onPostPause");return this.state.paused=!0,o?.(),this.removeListeners(),this.updateObservedNodes(),i?.(),this}),ae(this,"unpause",r=>{if(!this.state.paused||!this.state.active)return this;const o=this.getOption(r,"onUnpause"),i=this.getOption(r,"onPostUnpause");return this.state.paused=!1,o?.(),this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),i?.(),this}),ae(this,"updateContainerElements",r=>(this.state.containers=Array.isArray(r)?r.filter(Boolean):[r].filter(Boolean),this.state.active&&this.updateTabbableNodes(),this.updateObservedNodes(),this)),ae(this,"getReturnFocusNode",r=>{const o=this.getNodeForOption("setReturnFocus",{params:[r]});return o||(o===!1?!1:r)}),ae(this,"getOption",(r,o,i)=>r&&r[o]!==void 0?r[o]:this.config[i||o]),ae(this,"getNodeForOption",(r,{hasFallback:o=!1,params:i=[]}={})=>{let s=this.config[r];if(typeof s=="function"&&(s=s(...i)),s===!0&&(s=void 0),!s){if(s===void 0||s===!1)return s;throw new Error(`\`${r}\` was specified but was not a node, or did not return a node`)}let a=s;if(typeof s=="string"){try{a=this.doc.querySelector(s)}catch(l){throw new Error(`\`${r}\` appears to be an invalid selector; error="${l.message}"`)}if(!a&&!o)throw new Error(`\`${r}\` as selector refers to no known node`)}return a}),ae(this,"findNextNavNode",r=>{const{event:o,isBackward:i=!1}=r,s=r.target||$e(o);this.updateTabbableNodes();let a=null;if(this.state.tabbableGroups.length>0){const l=this.findContainerIndex(s,o),c=l>=0?this.state.containerGroups[l]:void 0;if(l<0)i?a=this.state.tabbableGroups[this.state.tabbableGroups.length-1].lastTabbableNode:a=this.state.tabbableGroups[0].firstTabbableNode;else if(i){let u=this.state.tabbableGroups.findIndex(({firstTabbableNode:h})=>s===h);if(u<0&&(c?.container===s||Mt(s)&&!Zt(s)&&!c?.nextTabbableNode(s,!1))&&(u=l),u>=0){const h=u===0?this.state.tabbableGroups.length-1:u-1,d=this.state.tabbableGroups[h];a=Er(s)>=0?d.lastTabbableNode:d.lastDomTabbableNode}else Fr(o)||(a=c?.nextTabbableNode(s,!1))}else{let u=this.state.tabbableGroups.findIndex(({lastTabbableNode:h})=>s===h);if(u<0&&(c?.container===s||Mt(s)&&!Zt(s)&&!c?.nextTabbableNode(s))&&(u=l),u>=0){const h=u===this.state.tabbableGroups.length-1?0:u+1,d=this.state.tabbableGroups[h];a=Er(s)>=0?d.firstTabbableNode:d.firstDomTabbableNode}else Fr(o)||(a=c?.nextTabbableNode(s))}}else a=this.getNodeForOption("fallbackFocus");return a}),this.trapStack=t.trapStack||c1;const n={returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward(r){return Fr(r)&&!r.shiftKey},isKeyBackward(r){return Fr(r)&&r.shiftKey},...t};this.doc=n.document||Fe(Array.isArray(e)?e[0]:e),this.config=n,this.updateContainerElements(e),this.setupMutationObserver()}get active(){return this.state.active}get paused(){return this.state.paused}findContainerIndex(e,t){const n=typeof t?.composedPath=="function"?t.composedPath():void 0;return this.state.containerGroups.findIndex(({container:r,tabbableNodes:o})=>r.contains(e)||n?.includes(r)||o.find(i=>i===e))}updateTabbableNodes(){if(this.state.containerGroups=this.state.containers.map(e=>{const t=ks(e),n=mc(e),r=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,i=n.find(c=>Zt(c)),s=n.slice().reverse().find(c=>Zt(c)),a=!!t.find(c=>Er(c)>0);function l(c,u=!0){const h=t.indexOf(c);return h<0?u?n.slice(n.indexOf(c)+1).find(d=>Zt(d)):n.slice(0,n.indexOf(c)).reverse().find(d=>Zt(d)):t[h+(u?1:-1)]}return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:a,firstTabbableNode:r,lastTabbableNode:o,firstDomTabbableNode:i,lastDomTabbableNode:s,nextTabbableNode:l}}),this.state.tabbableGroups=this.state.containerGroups.filter(e=>e.tabbableNodes.length>0),this.state.tabbableGroups.length<=0&&!this.getNodeForOption("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(this.state.containerGroups.find(e=>e.posTabIndexesFound)&&this.state.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")}addListeners(){if(this.state.active)return ed.activateTrap(this.trapStack,this),this.state.delayInitialFocusTimer=this.config.delayInitialFocus?td(()=>{this.tryFocus(this.getInitialFocusNode())}):this.tryFocus(this.getInitialFocusNode()),this.listenerCleanups.push(se(this.doc,"focusin",this.handleFocus,!0),se(this.doc,"mousedown",this.handlePointerDown,{capture:!0,passive:!1}),se(this.doc,"touchstart",this.handlePointerDown,{capture:!0,passive:!1}),se(this.doc,"click",this.handleClick,{capture:!0,passive:!1}),se(this.doc,"keydown",this.handleTabKey,{capture:!0,passive:!1}),se(this.doc,"keydown",this.handleEscapeKey)),this}removeListeners(){if(this.state.active)return this.listenerCleanups.forEach(e=>e()),this.listenerCleanups=[],this}activate(e){if(this.state.active)return this;const t=this.getOption(e,"onActivate"),n=this.getOption(e,"onPostActivate"),r=this.getOption(e,"checkCanFocusTrap");r||this.updateTabbableNodes(),this.state.active=!0,this.state.paused=!1,this.state.nodeFocusedBeforeActivation=Sr(this.doc),t?.();const o=()=>{r&&this.updateTabbableNodes(),this.addListeners(),this.updateObservedNodes(),n?.()};return r?(r(this.state.containers.concat()).then(o,o),this):(o(),this)}},Fr=e=>e.key==="Tab",Lr=(e,...t)=>typeof e=="function"?e(...t):e,d1=e=>!e.isComposing&&e.key==="Escape",td=e=>setTimeout(e,0),h1=e=>e.localName==="input"&&"select"in e&&typeof e.select=="function";function f1(e,t={}){let n;const r=G(()=>{const o=typeof e=="function"?e():e;if(o){n=new u1(o,{escapeDeactivates:!1,allowOutsideClick:!0,preventScroll:!0,returnFocusOnDeactivate:!0,delayInitialFocus:!1,fallbackFocus:o,...t,document:Fe(o)});try{n.activate()}catch{}}});return function(){n?.deactivate(),r()}}var Zs="data-scroll-lock";function g1(e){const t=e.getBoundingClientRect().left;return Math.round(t)+e.scrollLeft?"paddingLeft":"paddingRight"}function p1(e){const t=e??document,n=t.defaultView??window,{documentElement:r,body:o}=t;if(o.hasAttribute(Zs))return;const s=n.innerWidth-r.clientWidth;o.setAttribute(Zs,"");const a=()=>wv(r,"--scrollbar-width",`${s}px`),l=g1(r),c=()=>To(o,{overflow:"hidden",[l]:`${s}px`}),u=()=>{const{scrollX:d,scrollY:m,visualViewport:f}=n,p=f?.offsetLeft??0,v=f?.offsetTop??0,b=To(o,{position:"fixed",overflow:"hidden",top:`${-(m-Math.floor(v))}px`,left:`${-(d-Math.floor(p))}px`,right:"0",[l]:`${s}px`});return()=>{b?.(),n.scrollTo({left:d,top:m,behavior:"instant"})}},h=[a(),Co()?u():c()];return()=>{h.forEach(d=>d?.()),o.removeAttribute(Zs)}}var ea=j("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger"),on=ea.build(),nd=e=>e.ids?.positioner??`dialog:${e.id}:positioner`,rd=e=>e.ids?.backdrop??`dialog:${e.id}:backdrop`,ta=e=>e.ids?.content??`dialog:${e.id}:content`,od=e=>e.ids?.trigger??`dialog:${e.id}:trigger`,na=e=>e.ids?.title??`dialog:${e.id}:title`,ra=e=>e.ids?.description??`dialog:${e.id}:description`,id=e=>e.ids?.closeTrigger??`dialog:${e.id}:close`,ei=e=>e.getById(ta(e)),m1=e=>e.getById(nd(e)),v1=e=>e.getById(rd(e)),b1=e=>e.getById(od(e)),y1=e=>e.getById(na(e)),x1=e=>e.getById(ra(e)),k1=e=>e.getById(id(e));function C1(e,t){const{state:n,send:r,context:o,prop:i,scope:s}=e,a=i("aria-label"),l=n.matches("open");return{open:l,setOpen(c){n.matches("open")!==c&&r({type:c?"OPEN":"CLOSE"})},getTriggerProps(){return t.button({...on.trigger.attrs,dir:i("dir"),id:od(s),"aria-haspopup":"dialog",type:"button","aria-expanded":l,"data-state":l?"open":"closed","aria-controls":ta(s),onClick(c){c.defaultPrevented||r({type:"TOGGLE"})}})},getBackdropProps(){return t.element({...on.backdrop.attrs,dir:i("dir"),hidden:!l,id:rd(s),"data-state":l?"open":"closed"})},getPositionerProps(){return t.element({...on.positioner.attrs,dir:i("dir"),id:nd(s),style:{pointerEvents:l?void 0:"none"}})},getContentProps(){const c=o.get("rendered");return t.element({...on.content.attrs,dir:i("dir"),role:i("role"),hidden:!l,id:ta(s),tabIndex:-1,"data-state":l?"open":"closed","aria-modal":!0,"aria-label":a||void 0,"aria-labelledby":a||!c.title?void 0:na(s),"aria-describedby":c.description?ra(s):void 0})},getTitleProps(){return t.element({...on.title.attrs,dir:i("dir"),id:na(s)})},getDescriptionProps(){return t.element({...on.description.attrs,dir:i("dir"),id:ra(s)})},getCloseTriggerProps(){return t.button({...on.closeTrigger.attrs,dir:i("dir"),id:id(s),type:"button",onClick(c){c.defaultPrevented||(c.stopPropagation(),r({type:"CLOSE"}))}})}}}var w1={props({props:e,scope:t}){const n=e.role==="alertdialog",r=n?()=>k1(t):void 0,o=typeof e.modal=="boolean"?e.modal:!0;return{role:"dialog",modal:o,trapFocus:o,preventScroll:o,closeOnInteractOutside:!n,closeOnEscape:!0,restoreFocus:!0,initialFocusEl:r,...e}},initialState({prop:e}){return e("open")||e("defaultOpen")?"open":"closed"},context({bindable:e}){return{rendered:e(()=>({defaultValue:{title:!0,description:!0}}))}},watch({track:e,action:t,prop:n}){e([()=>n("open")],()=>{t(["toggleVisibility"])})},states:{open:{entry:["checkRenderedElements","syncZIndex"],effects:["trackDismissableElement","trapFocus","preventScroll","hideContentBelow"],on:{"CONTROLLED.CLOSE":{target:"closed"},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose"]}]}},closed:{on:{"CONTROLLED.OPEN":{target:"open"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}}},implementations:{guards:{isOpenControlled:({prop:e})=>e("open")!=null},effects:{trackDismissableElement({scope:e,send:t,prop:n}){return Kn(()=>ei(e),{type:"dialog",defer:!0,pointerBlocking:n("modal"),exclude:[b1(e)],onInteractOutside(o){n("onInteractOutside")?.(o),n("closeOnInteractOutside")||o.preventDefault()},persistentElements:n("persistentElements"),onFocusOutside:n("onFocusOutside"),onPointerDownOutside:n("onPointerDownOutside"),onRequestDismiss:n("onRequestDismiss"),onEscapeKeyDown(o){n("onEscapeKeyDown")?.(o),n("closeOnEscape")||o.preventDefault()},onDismiss(){t({type:"CLOSE",src:"interact-outside"})}})},preventScroll({scope:e,prop:t}){if(t("preventScroll"))return p1(e.getDoc())},trapFocus({scope:e,prop:t}){return t("trapFocus")?f1(()=>ei(e),{preventScroll:!0,returnFocusOnDeactivate:!!t("restoreFocus"),initialFocus:t("initialFocusEl"),setReturnFocus:r=>t("finalFocusEl")?.()??r}):void 0},hideContentBelow({scope:e,prop:t}){return t("modal")?ju(()=>[ei(e)],{defer:!0}):void 0}},actions:{checkRenderedElements({context:e,scope:t}){G(()=>{e.set("rendered",{title:!!y1(t),description:!!x1(t)})})},syncZIndex({scope:e}){G(()=>{const t=ei(e);if(!t)return;const n=xo(t);[m1(e),v1(e)].forEach(o=>{o?.style.setProperty("--z-index",n.zIndex),o?.style.setProperty("--layer-index",n.getPropertyValue("--layer-index"))})})},invokeOnClose({prop:e}){e("onOpenChange")?.({open:!1})},invokeOnOpen({prop:e}){e("onOpenChange")?.({open:!0})},toggleVisibility({prop:e,send:t,event:n}){t({type:e("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:n})}}}};M()(["aria-label","closeOnEscape","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","preventScroll","restoreFocus","role","trapFocus"]);const S1=e=>{const t=P.useId(),{getRootNode:n}=sc(),{dir:r}=_v(),o={id:t,getRootNode:n,dir:r,...e},i=Pc(w1,o);return C1(i,jv)},E1=e=>{const[t,{children:n,...r}]=Ec(e),[o]=yu(t),i=S1(r),s=Ts(qe({present:i.open},t));return g.jsx(Ku,{value:i,children:g.jsx(bu,{value:o,children:g.jsx(Tc,{value:s,children:n})})})},O1=e=>{const[t,{value:n,children:r}]=Ec(e),[o]=yu(t),i=Ts(qe({present:n.open},t));return g.jsx(Ku,{value:n,children:g.jsx(bu,{value:o,children:g.jsx(Tc,{value:i,children:r})})})},sd=P.forwardRef((e,t)=>{const n=Ht(),r=qe(n.getTitleProps(),e);return g.jsx(kt.h2,{...r,ref:t})});sd.displayName="DialogTitle";const ad=P.forwardRef((e,t)=>{const n=Ht(),r=Ns(),o=qe({...n.getTriggerProps(),"aria-controls":r.unmounted?void 0:n.getTriggerProps()["aria-controls"]},e);return g.jsx(kt.button,{...o,ref:t})});ad.displayName="DialogTrigger";var ld=j("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control");ld.build(),M()(["activationMode","autoResize","dir","disabled","finalFocusEl","form","getRootNode","id","ids","invalid","maxLength","name","onEditChange","onFocusOutside","onInteractOutside","onPointerDownOutside","onValueChange","onValueCommit","onValueRevert","placeholder","readOnly","required","selectOnFocus","edit","defaultEdit","submitMode","translations","defaultValue","value"]);const cd=P.forwardRef((e,t)=>{const n=Iu(),r=qe(n?.getInputProps(),e);return g.jsx(kt.input,{...r,ref:t})});cd.displayName="FieldInput";const ud=j("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator");ud.build();var P1=e=>{if(!e)return;const t=xo(e),n=be(e),r=Fe(e),o=()=>{requestAnimationFrame(()=>{e.style.height="auto";let c;t.boxSizing==="content-box"?c=e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):c=e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),t.maxHeight!=="none"&&c>parseFloat(t.maxHeight)?(t.overflowY==="hidden"&&(e.style.overflowY="scroll"),c=parseFloat(t.maxHeight)):t.overflowY!=="hidden"&&(e.style.overflowY="hidden"),e.style.height=`${c}px`})};e.addEventListener("input",o),e.form?.addEventListener("reset",o);const i=Object.getPrototypeOf(e),s=Object.getOwnPropertyDescriptor(i,"value");Object.defineProperty(e,"value",{...s,set(){s?.set?.apply(this,arguments),o()}});const a=new n.ResizeObserver(()=>{requestAnimationFrame(()=>o())});a.observe(e);const l=new n.MutationObserver(()=>o());return l.observe(e,{attributes:!0,attributeFilter:["rows","placeholder"]}),r.fonts?.addEventListener("loadingdone",o),()=>{e.removeEventListener("input",o),e.form?.removeEventListener("reset",o),r.fonts?.removeEventListener("loadingdone",o),a.disconnect(),l.disconnect()}};const dd=P.forwardRef((e,t)=>{const{autoresize:n,...r}=e,o=P.useRef(null),i=Iu(),s=qe(i?.getTextareaProps(),{style:{resize:n?"none":void 0}},r);return P.useEffect(()=>{if(n)return P1(o.current)},[n]),g.jsx(kt.textarea,{...s,ref:No(t,o)})});dd.displayName="FieldTextarea";const hd=j("fieldset").parts("root","errorText","helperText","legend");hd.build();var fd=j("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger");fd.build(),M()(["accept","acceptedFiles","allowDrop","capture","defaultAcceptedFiles","dir","directory","disabled","getRootNode","id","ids","invalid","locale","maxFiles","maxFileSize","minFileSize","name","onFileAccept","onFileChange","onFileReject","preventDocumentDrop","required","transformFiles","translations","validate"]),M()(["file","type"]);var gd=j("hoverCard").parts("arrow","arrowTip","trigger","positioner","content");gd.build();var R1=e=>e.ids?.trigger??`hover-card:${e.id}:trigger`,I1=e=>e.ids?.content??`hover-card:${e.id}:content`,T1=e=>e.ids?.positioner??`hover-card:${e.id}:popper`,oa=e=>e.getById(R1(e)),N1=e=>e.getById(I1(e)),pd=e=>e.getById(T1(e)),{not:ti,and:md}=jt();md("isOpenControlled",ti("isPointer")),ti("isPointer"),md("isOpenControlled",ti("isPointer")),ti("isPointer"),M()(["closeDelay","dir","getRootNode","id","ids","disabled","onOpenChange","defaultOpen","open","openDelay","positioning","onInteractOutside","onPointerDownOutside","onFocusOutside"]);var vd=j("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","root","tree");vd.build();var bd=e=>new zu(e);bd.empty=()=>new zu({rootNode:{children:[]}});var A1=(e,t)=>e.ids?.node?.(t)??`tree:${e.id}:node:${t}`,sn=(e,t)=>{t!=null&&e.getById(A1(e,t))?.focus()};function _1(e,t,n){const r=e.getDescendantValues(t),o=r.every(i=>n.includes(i));return Dn(o?Yt(n,...r):Kt(n,...r))}function ni(e,t){const{context:n,prop:r,refs:o}=e;if(!r("loadChildren")){n.set("expandedValue",p=>Dn(Kt(p,...t)));return}const i=n.get("loadingStatus"),[s,a]=ql(t,p=>i[p]==="loaded");if(s.length>0&&n.set("expandedValue",p=>Dn(Kt(p,...s))),a.length===0)return;const l=r("collection"),[c,u]=ql(a,p=>{const v=l.findNode(p);return l.getNodeChildren(v).length>0});if(c.length>0&&n.set("expandedValue",p=>Dn(Kt(p,...c))),u.length===0)return;n.set("loadingStatus",p=>({...p,...u.reduce((v,b)=>({...v,[b]:"loading"}),{})}));const h=u.map(p=>{const v=l.getIndexPath(p),b=l.getValuePath(v),y=l.findNode(p);return{id:p,indexPath:v,valuePath:b,node:y}}),d=o.get("pendingAborts"),m=r("loadChildren");ic(m,()=>"[zag-js/tree-view] `loadChildren` is required for async expansion");const f=h.map(({id:p,indexPath:v,valuePath:b,node:y})=>{const x=d.get(p);x&&(x.abort(),d.delete(p));const w=new AbortController;return d.set(p,w),m({valuePath:b,indexPath:v,node:y,signal:w.signal})});Promise.allSettled(f).then(p=>{const v=[],b=[],y=n.get("loadingStatus");let x=r("collection");p.forEach((w,k)=>{const{id:O,indexPath:R,node:I,valuePath:N}=h[k];w.status==="fulfilled"?(y[O]="loaded",v.push(O),x=x.replace(R,{...I,children:w.value})):(d.delete(O),Reflect.deleteProperty(y,O),b.push({node:I,error:w.reason,indexPath:R,valuePath:N}))}),n.set("loadingStatus",y),v.length&&(n.set("expandedValue",w=>Dn(Kt(w,...v))),r("onLoadChildrenComplete")?.({collection:x})),b.length&&r("onLoadChildrenError")?.({nodes:b})})}function Ut(e){const{prop:t,context:n}=e;return function({indexPath:o}){return t("collection").getValuePath(o).slice(0,-1).some(s=>!n.get("expandedValue").includes(s))}}var{and:ft}=jt();ft("isMultipleSelection","moveFocus"),ft("isShiftKey","isMultipleSelection"),ft("isShiftKey","isMultipleSelection"),ft("isBranchFocused","isBranchExpanded"),ft("isShiftKey","isMultipleSelection"),ft("isShiftKey","isMultipleSelection"),ft("isCtrlKey","isMultipleSelection"),ft("isShiftKey","isMultipleSelection"),ft("isCtrlKey","isMultipleSelection"),ft("isShiftKey","isMultipleSelection"),M()(["ids","collection","dir","expandedValue","expandOnClick","defaultFocusedValue","focusedValue","getRootNode","id","onExpandedChange","onFocusChange","onSelectionChange","checkedValue","selectedValue","selectionMode","typeahead","defaultExpandedValue","defaultSelectedValue","defaultCheckedValue","onCheckedChange","onLoadChildrenComplete","onLoadChildrenError","loadChildren"]),M()(["node","indexPath"]);var yd=j("listbox").parts("label","input","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","valueText");yd.build(),M()(["collection","defaultHighlightedValue","defaultValue","dir","disabled","deselectable","disallowSelectAll","getRootNode","highlightedValue","id","ids","loopFocus","onHighlightChange","onSelect","onValueChange","orientation","scrollToIndexFn","selectionMode","selectOnHighlight","typeahead","value"]),M()(["item","highlightOnHover"]),M()(["id"]),M()(["htmlFor"]);const V1=yd.extendWith("empty");var xd=j("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem");xd.build();var kd=e=>e.ids?.trigger??`menu:${e.id}:trigger`,F1=e=>e.ids?.contextTrigger??`menu:${e.id}:ctx-trigger`,Cd=e=>e.ids?.content??`menu:${e.id}:content`,L1=e=>e.ids?.positioner??`menu:${e.id}:popper`,ia=(e,t)=>`${e.id}/${t}`,an=e=>e?.dataset.value??null,Gt=e=>e.getById(Cd(e)),wd=e=>e.getById(L1(e)),ri=e=>e.getById(kd(e)),D1=(e,t)=>t?e.getById(ia(e,t)):null,sa=e=>e.getById(F1(e)),Dr=e=>{const n=`[role^="menuitem"][data-ownedby=${CSS.escape(Cd(e))}]:not([data-disabled])`;return Io(Gt(e),n)},z1=e=>kr(Dr(e)),M1=e=>hs(Dr(e)),aa=(e,t)=>t?e.id===t||e.dataset.value===t:!1,j1=(e,t)=>{const n=Dr(e),r=n.findIndex(o=>aa(o,t.value));return Um(n,r,{loop:t.loop??t.loopFocus})},$1=(e,t)=>{const n=Dr(e),r=n.findIndex(o=>aa(o,t.value));return qm(n,r,{loop:t.loop??t.loopFocus})},B1=(e,t)=>{const n=Dr(e),r=n.find(o=>aa(o,t.value));return Or(n,{state:t.typeaheadState,key:t.key,activeId:r?.id??null})},W1=e=>!!e?.getAttribute("role")?.startsWith("menuitem")&&!!e?.hasAttribute("aria-controls"),H1="menu:select";function U1(e,t){if(!e)return;const n=be(e),r=new n.CustomEvent(H1,{detail:{value:t}});e.dispatchEvent(r)}var{not:Xe,and:Jn,or:G1}=jt();Xe("isSubmenu"),G1("isOpenAutoFocusEvent","isArrowDownEvent"),Jn(Xe("isTriggerItem"),"isOpenControlled"),Xe("isTriggerItem"),Jn("isSubmenu","isOpenControlled"),Xe("isPointerSuspended"),Jn(Xe("isPointerSuspended"),Xe("isTriggerItem")),Jn(Xe("isTriggerItemHighlighted"),Xe("isHighlightedItemEditable"),"closeOnSelect","isOpenControlled"),Jn(Xe("isTriggerItemHighlighted"),Xe("isHighlightedItemEditable"),"closeOnSelect"),Jn(Xe("isTriggerItemHighlighted"),Xe("isHighlightedItemEditable"));function Sd(e){let t=e.parent;for(;t&&t.context.get("isSubmenu");)t=t.refs.get("parent");t?.send({type:"CLOSE"})}function q1(e,t){return e?gx(e,t):!1}function K1(e,t,n){const r=Object.keys(e).length>0;if(!t)return null;if(!r)return ia(n,t);for(const o in e){const i=e[o],s=kd(i.scope);if(s===t)return s}return ia(n,t)}M()(["anchorPoint","aria-label","closeOnSelect","composite","defaultHighlightedValue","defaultOpen","dir","getRootNode","highlightedValue","id","ids","loopFocus","navigate","onEscapeKeyDown","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","onSelect","open","positioning","typeahead"]),M()(["closeOnSelect","disabled","value","valueText"]),M()(["htmlFor"]),M()(["id"]),M()(["checked","closeOnSelect","disabled","onCheckedChange","type","value","valueText"]);let la=new Map,ca=!1;try{ca=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let oi=!1;try{oi=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Ed={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Y1{format(t){let n="";if(!ca&&this.options.signDisplay!=null?n=Q1(this.numberFormatter,this.options.signDisplay,t):n=this.numberFormatter.format(t),this.options.style==="unit"&&!oi){var r;let{unit:o,unitDisplay:i="short",locale:s}=this.resolvedOptions();if(!o)return n;let a=(r=Ed[o])===null||r===void 0?void 0:r[i];n+=a[s]||a.default}return n}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,n){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(n)}`}formatRangeToParts(t,n){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(t),o=this.numberFormatter.formatToParts(n);return[...r.map(i=>({...i,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...o.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!ca&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!oi&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,n={}){this.numberFormatter=X1(t,n),this.options=n}}function X1(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),t.style==="unit"&&!oi){var r;let{unit:s,unitDisplay:a="short"}=t;if(!s)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=Ed[s])===null||r===void 0)&&r[a]))throw new Error(`Unsupported unit ${s} with unitDisplay = ${a}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort((s,a)=>s[0]<a[0]?-1:1).join():"");if(la.has(o))return la.get(o);let i=new Intl.NumberFormat(e,t);return la.set(o,i),i}function Q1(e,t,n){if(t==="auto")return e.format(n);if(t==="never")return e.format(Math.abs(n));{let r=!1;if(t==="always"?r=n>0||Object.is(n,0):t==="exceptZero"&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let o=e.format(-n),i=e.format(n),s=o.replace(i,"").replace(/\u200e|\u061C/,"");return[...s].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),o.replace(i,"!!!").replace(s,"+").replace("!!!",i)}else return e.format(n)}}const J1=new RegExp("^.*\\(.*\\).*$"),Z1=["latn","arab","hanidec","deva","beng","fullwide"];class Od{parse(t){return ua(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,n,r){return ua(this.locale,this.options,t).isValidPartialNumber(t,n,r)}getNumberingSystem(t){return ua(this.locale,this.options,t).options.numberingSystem}constructor(t,n={}){this.locale=t,this.options=n}}const Pd=new Map;function ua(e,t,n){let r=Rd(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let o of Z1)if(o!==r.options.numberingSystem){let i=Rd(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(i.isValidPartialNumber(n))return i}}return r}function Rd(e,t){let n=e+(t?Object.entries(t).sort((o,i)=>o[0]<i[0]?-1:1).join():""),r=Pd.get(n);return r||(r=new ek(e,t),Pd.set(n,r)),r}class ek{parse(t){let n=this.sanitize(t);if(this.symbols.group&&(n=Zn(n,this.symbols.group,"")),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(n=n.replace(this.symbols.minusSign,"-")),n=n.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let s=n.indexOf("-");n=n.replace("-",""),n=n.replace("+","");let a=n.indexOf(".");a===-1&&(a=n.length),n=n.replace(".",""),a-2===0?n=`0.${n}`:a-2===-1?n=`0.0${n}`:a-2===-2?n="0.00":n=`${n.slice(0,a-2)}.${n.slice(a-2)}`,s>-1&&(n=`-${n}`)}let r=n?+n:NaN;if(isNaN(r))return NaN;if(this.options.style==="percent"){var o,i;let s={...this.options,style:"decimal",minimumFractionDigits:Math.min(((o=this.options.minimumFractionDigits)!==null&&o!==void 0?o:0)+2,20),maximumFractionDigits:Math.min(((i=this.options.maximumFractionDigits)!==null&&i!==void 0?i:0)+2,20)};return new Od(this.locale,s).parse(new Y1(this.locale,s).format(r))}return this.options.currencySign==="accounting"&&J1.test(t)&&(r=-1*r),r}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace("،",this.symbols.decimal)),this.symbols.group&&(t=Zn(t,".",this.symbols.group))),this.symbols.group==="’"&&t.includes("'")&&(t=Zn(t,"'",this.symbols.group)),this.options.locale==="fr-FR"&&this.symbols.group&&(t=Zn(t," ",this.symbols.group),t=Zn(t,/\u00A0/g,this.symbols.group)),t}isValidPartialNumber(t,n=-1/0,r=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&n<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&r>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=Zn(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,n={}){this.locale=t,n.roundingIncrement!==1&&n.roundingIncrement!=null&&(n.maximumFractionDigits==null&&n.minimumFractionDigits==null?(n.maximumFractionDigits=0,n.minimumFractionDigits=0):n.maximumFractionDigits==null?n.maximumFractionDigits=n.minimumFractionDigits:n.minimumFractionDigits==null&&(n.minimumFractionDigits=n.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(t,n),this.options=this.formatter.resolvedOptions(),this.symbols=nk(t,this.formatter,this.options,n);var r,o;this.options.style==="percent"&&(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)>18||((o=this.options.maximumFractionDigits)!==null&&o!==void 0?o:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const Id=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),tk=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function nk(e,t,n,r){var o,i,s,a;let l=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),c=l.formatToParts(-10000.111),u=l.formatToParts(10000.111),h=tk.map(A=>l.formatToParts(A));var d;let m=(d=(o=c.find(A=>A.type==="minusSign"))===null||o===void 0?void 0:o.value)!==null&&d!==void 0?d:"-",f=(i=u.find(A=>A.type==="plusSign"))===null||i===void 0?void 0:i.value;!f&&(r?.signDisplay==="exceptZero"||r?.signDisplay==="always")&&(f="+");let v=(s=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(A=>A.type==="decimal"))===null||s===void 0?void 0:s.value,b=(a=c.find(A=>A.type==="group"))===null||a===void 0?void 0:a.value,y=c.filter(A=>!Id.has(A.type)).map(A=>Td(A.value)),x=h.flatMap(A=>A.filter(T=>!Id.has(T.type)).map(T=>Td(T.value))),w=[...new Set([...y,...x])].sort((A,T)=>T.length-A.length),k=w.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${w.join("|")}|[\\p{White_Space}]`,"gu"),O=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),R=new Map(O.map((A,T)=>[A,T])),I=new RegExp(`[${O.join("")}]`,"g");return{minusSign:m,plusSign:f,decimal:v,group:b,literals:k,numeral:I,index:A=>String(R.get(A))}}function Zn(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function Td(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var Nd=j("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber");Nd.build();var rk=e=>e.ids?.input??`number-input:${e.id}:input`,ok=e=>e.ids?.incrementTrigger??`number-input:${e.id}:inc`,ik=e=>e.ids?.decrementTrigger??`number-input:${e.id}:dec`,Ad=e=>`number-input:${e.id}:cursor`,ii=e=>e.getById(rk(e)),sk=e=>e.getById(ok(e)),ak=e=>e.getById(ik(e)),_d=e=>e.getDoc().getElementById(Ad(e)),lk=(e,t)=>{let n=null;return t==="increment"&&(n=sk(e)),t==="decrement"&&(n=ak(e)),n},ck=(e,t)=>{if(!fc())return hk(e,t),()=>{_d(e)?.remove()}},uk=e=>{const t=e.getDoc(),n=t.documentElement,r=t.body;return r.style.pointerEvents="none",n.style.userSelect="none",n.style.cursor="ew-resize",()=>{r.style.pointerEvents="",n.style.userSelect="",n.style.cursor="",n.style.length||n.removeAttribute("style"),r.style.length||r.removeAttribute("style")}},dk=(e,t)=>{const{point:n,isRtl:r,event:o}=t,i=e.getWin(),s=ps(o.movementX,i.devicePixelRatio),a=ps(o.movementY,i.devicePixelRatio);let l=s>0?"increment":s<0?"decrement":null;r&&l==="increment"&&(l="decrement"),r&&l==="decrement"&&(l="increment");const c={x:n.x+s,y:n.y+a},u=i.innerWidth,h=ps(7.5,i.devicePixelRatio);return c.x=u0(c.x+h,u)-h,{hint:l,point:c}},hk=(e,t)=>{const n=e.getDoc(),r=n.createElement("div");r.className="scrubber--cursor",r.id=Ad(e),Object.assign(r.style,{width:"15px",height:"15px",position:"fixed",pointerEvents:"none",left:"0px",top:"0px",zIndex:w0,transform:t?`translate3d(${t.x}px, ${t.y}px, 0px)`:void 0,willChange:"transform"}),r.innerHTML=`
       <svg width="46" height="15" style="left: -15.5px; position: absolute; top: 0; filter: drop-shadow(rgba(0, 0, 0, 0.4) 0px 1px 1.1px);">
         <g transform="translate(2 3)">
           <path fill-rule="evenodd" d="M 15 4.5L 15 2L 11.5 5.5L 15 9L 15 6.5L 31 6.5L 31 9L 34.5 5.5L 31 2L 31 4.5Z" style="stroke-width: 2px; stroke: white;"></path>
           <path fill-rule="evenodd" d="M 15 4.5L 15 2L 11.5 5.5L 15 9L 15 6.5L 31 6.5L 31 9L 34.5 5.5L 31 2L 31 4.5Z"></path>
         </g>
-      </svg>`,n.body.appendChild(r)};function rk(e,t){if(!(!e||!t.isActiveElement(e)))try{const{selectionStart:n,selectionEnd:r,value:o}=e,i=o.substring(0,n),s=o.substring(r);return{start:n,end:r,value:o,beforeTxt:i,afterTxt:s}}catch{}}function ok(e,t,n){if(!(!e||!n.isActiveElement(e))){if(!t){e.setSelectionRange(e.value.length,e.value.length);return}try{const{value:r}=e,{beforeTxt:o="",afterTxt:i="",start:s}=t;let a=r.length;if(r.endsWith(i))a=r.length-i.length;else if(r.startsWith(o))a=o.length;else if(s!=null){const l=o[s-1],c=r.indexOf(l,s-1);c!==-1&&(a=c+1)}e.setSelectionRange(a,a)}catch{}}}var ik=(e,t={})=>new Intl.NumberFormat(e,t),sk=(e,t={})=>new vd(e,t),aa=(e,t)=>{const{prop:n,computed:r}=t;return n("formatOptions")?e===""?Number.NaN:r("parser").parse(e):parseFloat(e)},sn=(e,t)=>{const{prop:n,computed:r}=t;return Number.isNaN(e)?"":n("formatOptions")?r("formatter").format(e):e.toString()},ak=(e,t)=>{let n=e!==void 0&&!Number.isNaN(e)?e:1;return t?.style==="percent"&&(e===void 0||Number.isNaN(e))&&(n=.01),n},{choose:lk,guards:ck,createMachine:uk}=gc(),{not:Ed,and:Od}=ck;uk({props({props:e}){const t=ak(e.step,e.formatOptions);return{dir:"ltr",locale:"en-US",focusInputOnChange:!0,clampValueOnBlur:!e.allowOverflow,allowOverflow:!1,inputMode:"decimal",pattern:"-?[0-9]*(.[0-9]+)?",defaultValue:"",step:t,min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,spinOnPress:!0,...e,translations:{incrementLabel:"increment value",decrementLabel:"decrease value",...e.translations}}},initialState(){return"idle"},context({prop:e,bindable:t,getComputed:n}){return{value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(r){const o=n(),i=aa(r,{computed:o,prop:e});e("onValueChange")?.({value:r,valueAsNumber:i})}})),hint:t(()=>({defaultValue:null})),scrubberCursorPoint:t(()=>({defaultValue:null,hash(r){return r?`x:${r.x}, y:${r.y}`:""}})),fieldsetDisabled:t(()=>({defaultValue:!1}))}},computed:{isRtl:({prop:e})=>e("dir")==="rtl",valueAsNumber:({context:e,computed:t,prop:n})=>aa(e.get("value"),{computed:t,prop:n}),formattedValue:({computed:e,prop:t})=>sn(e("valueAsNumber"),{computed:e,prop:t}),isAtMin:({computed:e,prop:t})=>n0(e("valueAsNumber"),t("min")),isAtMax:({computed:e,prop:t})=>t0(e("valueAsNumber"),t("max")),isOutOfRange:({computed:e,prop:t})=>!r0(e("valueAsNumber"),t("min"),t("max")),isValueEmpty:({context:e})=>e.get("value")==="",isDisabled:({prop:e,context:t})=>!!e("disabled")||t.get("fieldsetDisabled"),canIncrement:({prop:e,computed:t})=>e("allowOverflow")||!t("isAtMax"),canDecrement:({prop:e,computed:t})=>e("allowOverflow")||!t("isAtMin"),valueText:({prop:e,context:t})=>e("translations").valueText?.(t.get("value")),formatter:fc(({prop:e})=>[e("locale"),e("formatOptions")],([e,t])=>ik(e,t)),parser:fc(({prop:e})=>[e("locale"),e("formatOptions")],([e,t])=>sk(e,t))},watch({track:e,action:t,context:n,computed:r,prop:o}){e([()=>n.get("value"),()=>o("locale")],()=>{t(["syncInputElement"])}),e([()=>r("isOutOfRange")],()=>{t(["invokeOnInvalid"])}),e([()=>n.hash("scrubberCursorPoint")],()=>{t(["setVirtualCursorPosition"])})},effects:["trackFormControl"],on:{"VALUE.SET":{actions:["setRawValue"]},"VALUE.CLEAR":{actions:["clearValue"]},"VALUE.INCREMENT":{actions:["increment"]},"VALUE.DECREMENT":{actions:["decrement"]}},states:{idle:{on:{"TRIGGER.PRESS_DOWN":[{guard:"isTouchPointer",target:"before:spin",actions:["setHint"]},{target:"before:spin",actions:["focusInput","invokeOnFocus","setHint"]}],"SCRUBBER.PRESS_DOWN":{target:"scrubbing",actions:["focusInput","invokeOnFocus","setHint","setCursorPoint"]},"INPUT.FOCUS":{target:"focused",actions:["focusInput","invokeOnFocus"]}}},focused:{tags:["focus"],effects:["attachWheelListener"],on:{"TRIGGER.PRESS_DOWN":[{guard:"isTouchPointer",target:"before:spin",actions:["setHint"]},{target:"before:spin",actions:["focusInput","setHint"]}],"SCRUBBER.PRESS_DOWN":{target:"scrubbing",actions:["focusInput","setHint","setCursorPoint"]},"INPUT.ARROW_UP":{actions:["increment"]},"INPUT.ARROW_DOWN":{actions:["decrement"]},"INPUT.HOME":{actions:["decrementToMin"]},"INPUT.END":{actions:["incrementToMax"]},"INPUT.CHANGE":{actions:["setValue","setHint"]},"INPUT.BLUR":[{guard:Od("clampValueOnBlur",Ed("isInRange")),target:"idle",actions:["setClampedValue","clearHint","invokeOnBlur"]},{guard:Ed("isInRange"),target:"idle",actions:["setFormattedValue","clearHint","invokeOnBlur","invokeOnInvalid"]},{target:"idle",actions:["setFormattedValue","clearHint","invokeOnBlur"]}],"INPUT.ENTER":{actions:["setFormattedValue","clearHint","invokeOnBlur"]}}},"before:spin":{tags:["focus"],effects:["trackButtonDisabled","waitForChangeDelay"],entry:lk([{guard:"isIncrementHint",actions:["increment"]},{guard:"isDecrementHint",actions:["decrement"]}]),on:{CHANGE_DELAY:{target:"spinning",guard:Od("isInRange","spinOnPress")},"TRIGGER.PRESS_UP":[{guard:"isTouchPointer",target:"focused",actions:["clearHint"]},{target:"focused",actions:["focusInput","clearHint"]}]}},spinning:{tags:["focus"],effects:["trackButtonDisabled","spinValue"],on:{SPIN:[{guard:"isIncrementHint",actions:["increment"]},{guard:"isDecrementHint",actions:["decrement"]}],"TRIGGER.PRESS_UP":{target:"focused",actions:["focusInput","clearHint"]}}},scrubbing:{tags:["focus"],effects:["activatePointerLock","trackMousemove","setupVirtualCursor","preventTextSelection"],on:{"SCRUBBER.POINTER_UP":{target:"focused",actions:["focusInput","clearCursorPoint"]},"SCRUBBER.POINTER_MOVE":[{guard:"isIncrementHint",actions:["increment","setCursorPoint"]},{guard:"isDecrementHint",actions:["decrement","setCursorPoint"]}]}}},implementations:{guards:{clampValueOnBlur:({prop:e})=>e("clampValueOnBlur"),spinOnPress:({prop:e})=>!!e("spinOnPress"),isInRange:({computed:e})=>!e("isOutOfRange"),isDecrementHint:({context:e,event:t})=>(t.hint??e.get("hint"))==="decrement",isIncrementHint:({context:e,event:t})=>(t.hint??e.get("hint"))==="increment",isTouchPointer:({event:e})=>e.pointerType==="touch"},effects:{waitForChangeDelay({send:e}){const t=setTimeout(()=>{e({type:"CHANGE_DELAY"})},300);return()=>clearTimeout(t)},spinValue({send:e}){const t=setInterval(()=>{e({type:"SPIN"})},50);return()=>clearInterval(t)},trackFormControl({context:e,scope:t}){const n=ni(t);return ps(n,{onFieldsetDisabledChange(r){e.set("fieldsetDisabled",r)},onFormReset(){e.set("value",e.initial("value"))}})},setupVirtualCursor({context:e,scope:t}){const n=e.get("scrubberCursorPoint");return Z1(t,n)},preventTextSelection({scope:e}){return ek(e)},trackButtonDisabled({context:e,scope:t,send:n}){const r=e.get("hint"),o=J1(t,r);return Co(o,{attributes:["disabled"],callback(){n({type:"TRIGGER.PRESS_UP",src:"attr"})}})},attachWheelListener({scope:e,send:t,prop:n}){const r=ni(e);if(!r||!e.isActiveElement(r)||!n("allowMouseWheel"))return;function o(i){i.preventDefault();const s=Math.sign(i.deltaY)*-1;s===1?t({type:"VALUE.INCREMENT"}):s===-1&&t({type:"VALUE.DECREMENT"})}return se(r,"wheel",o,{passive:!1})},activatePointerLock({scope:e}){if(!oc())return tv(e.getDoc())},trackMousemove({scope:e,send:t,context:n,computed:r}){const o=e.getDoc();function i(a){const l=n.get("scrubberCursorPoint"),c=r("isRtl"),u=tk(e,{point:l,isRtl:c,event:a});u.hint&&t({type:"SCRUBBER.POINTER_MOVE",hint:u.hint,point:u.point})}function s(){t({type:"SCRUBBER.POINTER_UP"})}return fo(se(o,"mousemove",i,!1),se(o,"mouseup",s,!1))}},actions:{focusInput({scope:e,prop:t}){if(!t("focusInputOnChange"))return;const n=ni(e);e.isActiveElement(n)||G(()=>n?.focus({preventScroll:!0}))},increment({context:e,event:t,prop:n,computed:r}){let o=a0(r("valueAsNumber"),t.step??n("step"));n("allowOverflow")||(o=Ve(o,n("min"),n("max"))),e.set("value",sn(o,{computed:r,prop:n}))},decrement({context:e,event:t,prop:n,computed:r}){let o=l0(r("valueAsNumber"),t.step??n("step"));n("allowOverflow")||(o=Ve(o,n("min"),n("max"))),e.set("value",sn(o,{computed:r,prop:n}))},setClampedValue({context:e,prop:t,computed:n}){const r=Ve(n("valueAsNumber"),t("min"),t("max"));e.set("value",sn(r,{computed:n,prop:t}))},setRawValue({context:e,event:t,prop:n,computed:r}){let o=aa(t.value,{computed:r,prop:n});n("allowOverflow")||(o=Ve(o,n("min"),n("max"))),e.set("value",sn(o,{computed:r,prop:n}))},setValue({context:e,event:t}){const n=t.target?.value??t.value;e.set("value",n)},clearValue({context:e}){e.set("value","")},incrementToMax({context:e,prop:t,computed:n}){const r=sn(t("max"),{computed:n,prop:t});e.set("value",r)},decrementToMin({context:e,prop:t,computed:n}){const r=sn(t("min"),{computed:n,prop:t});e.set("value",r)},setHint({context:e,event:t}){e.set("hint",t.hint)},clearHint({context:e}){e.set("hint",null)},invokeOnFocus({computed:e,prop:t}){t("onFocusChange")?.({focused:!0,value:e("formattedValue"),valueAsNumber:e("valueAsNumber")})},invokeOnBlur({computed:e,prop:t}){t("onFocusChange")?.({focused:!1,value:e("formattedValue"),valueAsNumber:e("valueAsNumber")})},invokeOnInvalid({computed:e,prop:t,event:n}){if(n.type==="INPUT.CHANGE")return;const r=e("valueAsNumber")>t("max")?"rangeOverflow":"rangeUnderflow";t("onValueInvalid")?.({reason:r,value:e("formattedValue"),valueAsNumber:e("valueAsNumber")})},syncInputElement({context:e,event:t,computed:n,scope:r}){const o=t.type.endsWith("CHANGE")?e.get("value"):n("formattedValue"),i=ni(r),s=rk(i,r);G(()=>{ko(i,o),ok(i,s,r)})},setFormattedValue({context:e,computed:t}){e.set("value",t("formattedValue"))},setCursorPoint({context:e,event:t}){e.set("scrubberCursorPoint",t.point)},clearCursorPoint({context:e}){e.set("scrubberCursorPoint",null)},setVirtualCursorPosition({context:e,scope:t}){const n=wd(t),r=e.get("scrubberCursorPoint");!n||!r||(n.style.transform=`translate3d(${r.x}px, ${r.y}px, 0px)`)}}}}),M()(["allowMouseWheel","allowOverflow","clampValueOnBlur","dir","disabled","focusInputOnChange","form","formatOptions","getRootNode","id","ids","inputMode","invalid","locale","max","min","name","onFocusChange","onValueChange","onValueInvalid","pattern","required","readOnly","spinOnPress","step","translations","value","defaultValue"]);var Pd=j("pinInput").parts("root","label","input","control");Pd.build(),M()(["autoFocus","blurOnComplete","count","defaultValue","dir","disabled","form","getRootNode","id","ids","invalid","mask","name","onValueChange","onValueComplete","onValueInvalid","otp","pattern","placeholder","readOnly","required","selectOnFocus","translations","type","value"]);var Id=j("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger");Id.build(),M()(["autoFocus","closeOnEscape","closeOnInteractOutside","dir","getRootNode","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","portalled","positioning"]);const an=e=>{const{children:t,disabled:n}=e,[r,o]=P.useState(e.container?.current),i=P.useSyncExternalStore(hk,()=>!1,()=>!0),{getRootNode:s}=Ql();if(P.useEffect(()=>{o(()=>e.container?.current)},[e.container]),i||n)return f.jsx(f.Fragment,{children:t});const a=r??dk(s);return f.jsx(f.Fragment,{children:P.Children.map(t,l=>Tt.createPortal(l,a))})},dk=e=>{const t=e?.(),n=t.getRootNode();return zn(n)?n:Fe(t).body},hk=()=>()=>{};var la=j("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange");la.build(),M()(["dir","getRootNode","id","ids","max","min","orientation","translations","value","onValueChange","defaultValue","formatOptions","locale"]);var Rd=j("qr-code").parts("root","frame","pattern","overlay","downloadTrigger");Rd.build(),M()(["ids","defaultValue","value","id","encoding","dir","getRootNode","onValueChange","pixelSize"]);var ca=j("radio-group").parts("root","label","item","itemText","itemControl","indicator");ca.build(),M()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"]),M()(["value","disabled","invalid"]);var Td=j("rating-group").parts("root","label","item","control");Td.build(),M()(["allowHalf","autoFocus","count","dir","disabled","form","getRootNode","id","ids","name","onHoverChange","onValueChange","required","readOnly","translations","value","defaultValue"]),M()(["index"]);var Nd=j("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner");Nd.build(),M()(["dir","getRootNode","ids","id"]);const Ad=ca.rename("segment-group");Ad.build();var _d=j("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText");_d.build();var Vd=e=>new Go(e);Vd.empty=()=>new Go({items:[]});var fk=e=>e.ids?.content??`select:${e.id}:content`,gk=e=>e.ids?.trigger??`select:${e.id}:trigger`,pk=e=>e.ids?.clearTrigger??`select:${e.id}:clear-trigger`,mk=(e,t)=>e.ids?.item?.(t)??`select:${e.id}:option:${t}`,vk=e=>e.ids?.hiddenSelect??`select:${e.id}:select`,bk=e=>e.ids?.positioner??`select:${e.id}:positioner`,ua=e=>e.getById(vk(e)),Lr=e=>e.getById(fk(e)),ri=e=>e.getById(gk(e)),yk=e=>e.getById(pk(e)),Fd=e=>e.getById(bk(e)),da=(e,t)=>t==null?null:e.getById(mk(e,t)),{and:Dr,not:ln,or:xk}=Ft();xk("isTriggerArrowDownEvent","isTriggerEnterEvent"),Dr(ln("multiple"),"hasSelectedItems"),ln("multiple"),Dr(ln("multiple"),"hasSelectedItems"),ln("multiple"),ln("multiple"),ln("multiple"),ln("multiple"),Dr("closeOnSelect","isOpenControlled"),Dr("hasHighlightedItem","loop","isLastItemHighlighted"),Dr("hasHighlightedItem","loop","isFirstItemHighlighted");function Ld(e){const t=e.restoreFocus??e.previousEvent?.restoreFocus;return t==null||!!t}M()(["closeOnSelect","collection","composite","defaultHighlightedValue","defaultOpen","defaultValue","deselectable","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","positioning","readOnly","required","scrollToIndexFn","value"]),M()(["item","persistFocus"]),M()(["id"]),M()(["htmlFor"]);var Dd=j("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator");Dd.build(),M()(["aria-label","aria-labelledby","dir","disabled","form","getAriaValueText","getRootNode","id","ids","invalid","max","min","minStepsBetweenThumbs","name","onFocusChange","onValueChange","onValueChangeEnd","orientation","origin","readOnly","step","thumbAlignment","thumbAlignment","thumbSize","value","defaultValue"]),M()(["index","name"]);var zd=j("switch").parts("root","label","control","thumb");zd.build(),M()(["checked","defaultChecked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);var kk=j("toast").parts("group","root","title","description","actionTrigger","closeTrigger");kk.build();var Ck=(e,t)=>({...t,...po(e)});function Sk(e={}){const t=Ck(e,{placement:"bottom",overlap:!1,max:24,gap:16,offsets:"1rem",hotkey:["altKey","KeyT"],removeDelay:200,pauseOnPageIdle:!0});let n=[],r=[],o=new Set,i=[];const s=S=>(n.push(S),()=>{const N=n.indexOf(S);n.splice(N,1)}),a=S=>(n.forEach(N=>N(S)),S),l=S=>{if(r.length>=t.max){i.push(S);return}a(S),r.unshift(S)},c=()=>{for(;i.length>0&&r.length<t.max;){const S=i.shift();S&&(a(S),r.unshift(S))}},u=S=>{const N=S.id??`toast:${Ym()}`,D=r.find(z=>z.id===N);return o.has(N)&&o.delete(N),D?r=r.map(z=>z.id===N?a({...z,...S,id:N}):z):l({id:N,duration:t.duration,removeDelay:t.removeDelay,type:"info",...S,stacked:!t.overlap,gap:t.gap}),N},d=S=>(o.add(S),S?(n.forEach(N=>N({id:S,dismiss:!0})),r=r.filter(N=>N.id!==S),c()):(r.forEach(N=>{n.forEach(D=>D({id:N.id,dismiss:!0}))}),r=[],i=[]),S);return{attrs:t,subscribe:s,create:u,update:(S,N)=>u({id:S,...N}),remove:d,dismiss:S=>{S!=null?r=r.map(N=>N.id===S?a({...N,message:"DISMISS"}):N):r=r.map(N=>a({...N,message:"DISMISS"}))},error:S=>u({...S,type:"error"}),success:S=>u({...S,type:"success"}),info:S=>u({...S,type:"info"}),warning:S=>u({...S,type:"warning"}),loading:S=>u({...S,type:"loading"}),getVisibleToasts:()=>r.filter(S=>!o.has(S.id)),getCount:()=>r.length,promise:(S,N,D={})=>{if(!N||!N.loading){kr("[zag-js > toast] toaster.promise() requires at least a 'loading' option to be specified");return}const z=u({...D,...N.loading,promise:S,type:"loading"});let W=!0,J;const ee=ho(S).then(async q=>{if(J=["resolve",q],wk(q)&&!q.ok){W=!1;const Z=ho(N.error,`HTTP Error! status: ${q.status}`);u({...D,...Z,id:z,type:"error"})}else if(N.success!==void 0){W=!1;const Z=ho(N.success,q);u({...D,...Z,id:z,type:"success"})}}).catch(async q=>{if(J=["reject",q],N.error!==void 0){W=!1;const Z=ho(N.error,q);u({...D,...Z,id:z,type:"error"})}}).finally(()=>{W&&d(z),N.finally?.()});return{id:z,unwrap:()=>new Promise((q,Z)=>ee.then(()=>J[0]==="reject"?Z(J[1]):q(J[1])).catch(Z))}},pause:S=>{S!=null?r=r.map(N=>N.id===S?a({...N,message:"PAUSE"}):N):r=r.map(N=>a({...N,message:"PAUSE"}))},resume:S=>{S!=null?r=r.map(N=>N.id===S?a({...N,message:"RESUME"}):N):r=r.map(N=>a({...N,message:"RESUME"}))},isVisible:S=>!o.has(S)&&!!r.find(N=>N.id===S),isDismissed:S=>o.has(S),expand:()=>{r=r.map(S=>a({...S,stacked:!0}))},collapse:()=>{r=r.map(S=>a({...S,stacked:!1}))}}}var wk=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number";const Ek=e=>Sk(e);var Md=j("tooltip").parts("trigger","arrow","arrowTip","positioner","content");Md.build();var Ok=e=>e.ids?.trigger??`tooltip:${e.id}:trigger`,Pk=e=>e.ids?.positioner??`tooltip:${e.id}:popper`,ha=e=>e.getById(Ok(e)),jd=e=>e.getById(Pk(e)),cn=c0({id:null}),{and:Ik,not:$d}=Ft();Ik("noVisibleTooltip",$d("hasPointerMoveOpened")),$d("hasPointerMoveOpened"),M()(["aria-label","closeDelay","closeOnEscape","closeOnPointerDown","closeOnScroll","closeOnClick","dir","disabled","getRootNode","id","ids","interactive","onOpenChange","defaultOpen","open","openDelay","positioning"]);function Bd(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}const Rk=(e,t)=>{if(!e||typeof e!="string")return{invalid:!0,value:e};const[n,r]=e.split("/");if(!n||!r||n==="currentBg")return{invalid:!0,value:n};const o=t(`colors.${n}`),i=t.raw(`opacity.${r}`)?.value;if(!i&&isNaN(Number(r)))return{invalid:!0,value:n};const s=i?Number(i)*100+"%":`${r}%`,a=o??n;return{invalid:!1,color:a,value:`color-mix(in srgb, ${a} ${s}, transparent)`}},te=e=>(t,n)=>{const r=n.utils.colorMix(t);if(r.invalid)return{[e]:t};const o="--mix-"+e;return{[o]:r.value,[e]:`var(${o}, ${r.color})`}};function fa(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(n=>fa(n));const t=Object.create(Object.getPrototypeOf(e));for(const n of Object.keys(e))t[n]=fa(e[n]);return t}function ga(e,t){if(t==null)return e;for(const n of Object.keys(t))if(!(t[n]===void 0||n==="__proto__"))if(!_e(e[n])&&_e(t[n]))Object.assign(e,{[n]:t[n]});else if(e[n]&&_e(t[n]))ga(e[n],t[n]);else if(Array.isArray(t[n])&&Array.isArray(e[n])){let r=0;for(;r<t[n].length;r++)_e(e[n][r])&&_e(t[n][r])?ga(e[n][r],t[n][r]):e[n][r]=t[n][r]}else Object.assign(e,{[n]:t[n]});return e}function Jn(e,...t){for(const n of t)ga(e,n);return e}const pa=e=>e!=null;function gt(e,t,n={}){const{stop:r,getKey:o}=n;function i(s,a=[]){if(_e(s)||Array.isArray(s)){const l={};for(const[c,u]of Object.entries(s)){const d=o?.(c,u)??c,h=[...a,d];if(r?.(s,h))return t(s,a);const m=i(u,h);pa(m)&&(l[d]=m)}return l}return t(s,a)}return i(e)}function Wd(e,t){return Array.isArray(e)?e.map(n=>pa(n)?t(n):n):_e(e)?gt(e,n=>t(n)):pa(e)?t(e):e}const oi=["value","type","description"],Tk=e=>e&&typeof e=="object"&&!Array.isArray(e),Hd=(...e)=>{const t=Jn({},...e.map(fa));return t.theme?.tokens&&gt(t.theme.tokens,n=>{const i=Object.keys(n).filter(a=>!oi.includes(a)).length>0,s=oi.some(a=>n[a]!=null);return i&&s&&(n.DEFAULT||(n.DEFAULT={}),oi.forEach(a=>{var l;n[a]!=null&&((l=n.DEFAULT)[a]||(l[a]=n[a]),delete n[a])})),n},{stop(n){return Tk(n)&&Object.keys(n).some(r=>oi.includes(r)||r!==r.toLowerCase()&&r!==r.toUpperCase())}}),t},Nk=e=>e,fe=e=>e,B=e=>e,Ak=e=>e,_k=e=>e,Zn=e=>e,Vk=e=>e,Fk=e=>e,Lk=e=>e;function Ud(){const e=t=>t;return new Proxy(e,{get(){return e}})}const de=Ud(),ma=Ud(),va=e=>e,Dk=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function zk(e){return`${e}`.replace(Dk,t=>`\\${t}`)}const Mk=/[A-Z]/g;function jk(e){return e.replace(Mk,t=>`-${t.toLowerCase()}`)}function Gd(e,t={}){const{fallback:n="",prefix:r=""}=t,o=jk(["-",r,zk(e)].filter(Boolean).join("-"));return{var:o,ref:`var(${o}${n?`, ${n}`:""})`}}const $k=e=>/^var\(--.+\)$/.test(e),xe=(e,t)=>t!=null?`${e}(${t})`:t,un=e=>{if($k(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},qd=e=>({values:["outside","inside","mixed","none"],transform(t,{token:n}){const r=n("colors.colorPalette.focusRing");return{inside:{"--focus-ring-color":r,[e]:{outlineOffset:"0px",outlineWidth:"var(--focus-ring-width, 1px)",outlineColor:"var(--focus-ring-color)",outlineStyle:"var(--focus-ring-style, solid)",borderColor:"var(--focus-ring-color)"}},outside:{"--focus-ring-color":r,[e]:{outlineWidth:"var(--focus-ring-width, 2px)",outlineOffset:"var(--focus-ring-offset, 2px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"var(--focus-ring-color)"}},mixed:{"--focus-ring-color":r,[e]:{outlineWidth:"var(--focus-ring-width, 3px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"color-mix(in srgb, var(--focus-ring-color), transparent 60%)",borderColor:"var(--focus-ring-color)"}},none:{"--focus-ring-color":r,[e]:{outline:"none"}}}[t]??{}}}),Bk=te("borderColor"),Ct=e=>({transition:e,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),Wk=Nk({hover:["@media (hover: hover)","&:is(:hover, [data-hover]):not(:disabled, [data-disabled])"],active:"&:is(:active, [data-active]):not(:disabled, [data-disabled], [data-state=open])",focus:"&:is(:focus, [data-focus])",focusWithin:"&:is(:focus-within, [data-focus-within])",focusVisible:"&:is(:focus-visible, [data-focus-visible])",disabled:"&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",visited:"&:visited",target:"&:target",readOnly:"&:is([data-readonly], [aria-readonly=true], [readonly])",readWrite:"&:read-write",empty:"&:is(:empty, [data-empty])",checked:"&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",enabled:"&:enabled",expanded:"&:is([aria-expanded=true], [data-expanded], [data-state=expanded])",highlighted:"&[data-highlighted]",complete:"&[data-complete]",incomplete:"&[data-incomplete]",dragging:"&[data-dragging]",before:"&::before",after:"&::after",firstLetter:"&::first-letter",firstLine:"&::first-line",marker:"&::marker",selection:"&::selection",file:"&::file-selector-button",backdrop:"&::backdrop",first:"&:first-of-type",last:"&:last-of-type",notFirst:"&:not(:first-of-type)",notLast:"&:not(:last-of-type)",only:"&:only-child",even:"&:nth-of-type(even)",odd:"&:nth-of-type(odd)",peerFocus:".peer:is(:focus, [data-focus]) ~ &",peerHover:".peer:is(:hover, [data-hover]):not(:disabled, [data-disabled]) ~ &",peerActive:".peer:is(:active, [data-active]):not(:disabled, [data-disabled]) ~ &",peerFocusWithin:".peer:focus-within ~ &",peerFocusVisible:".peer:is(:focus-visible, [data-focus-visible]) ~ &",peerDisabled:".peer:is(:disabled, [disabled], [data-disabled]) ~ &",peerChecked:".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) ~ &",peerInvalid:".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",peerExpanded:".peer:is([aria-expanded=true], [data-expanded], [data-state=expanded]) ~ &",peerPlaceholderShown:".peer:placeholder-shown ~ &",groupFocus:".group:is(:focus, [data-focus]) &",groupHover:".group:is(:hover, [data-hover]):not(:disabled, [data-disabled]) &",groupActive:".group:is(:active, [data-active]):not(:disabled, [data-disabled]) &",groupFocusWithin:".group:focus-within &",groupFocusVisible:".group:is(:focus-visible, [data-focus-visible]) &",groupDisabled:".group:is(:disabled, [disabled], [data-disabled]) &",groupChecked:".group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &",groupExpanded:".group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &",groupInvalid:".group:invalid &",indeterminate:"&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",required:"&:is([data-required], [aria-required=true])",valid:"&:is([data-valid], [data-state=valid])",invalid:"&:is([data-invalid], [aria-invalid=true], [data-state=invalid])",autofill:"&:autofill",inRange:"&:is(:in-range, [data-in-range])",outOfRange:"&:is(:out-of-range, [data-outside-range])",placeholder:"&::placeholder, &[data-placeholder]",placeholderShown:"&:is(:placeholder-shown, [data-placeholder-shown])",pressed:"&:is([aria-pressed=true], [data-pressed])",selected:"&:is([aria-selected=true], [data-selected])",grabbed:"&:is([aria-grabbed=true], [data-grabbed])",underValue:"&[data-state=under-value]",overValue:"&[data-state=over-value]",atValue:"&[data-state=at-value]",default:"&:default",optional:"&:optional",open:"&:is([open], [data-open], [data-state=open])",closed:"&:is([closed], [data-closed], [data-state=closed])",fullscreen:"&:is(:fullscreen, [data-fullscreen])",loading:"&:is([data-loading], [aria-busy=true])",hidden:"&:is([hidden], [data-hidden])",current:"&[data-current]",currentPage:"&[aria-current=page]",currentStep:"&[aria-current=step]",today:"&[data-today]",unavailable:"&[data-unavailable]",rangeStart:"&[data-range-start]",rangeEnd:"&[data-range-end]",now:"&[data-now]",topmost:"&[data-topmost]",motionReduce:"@media (prefers-reduced-motion: reduce)",motionSafe:"@media (prefers-reduced-motion: no-preference)",print:"@media print",landscape:"@media (orientation: landscape)",portrait:"@media (orientation: portrait)",dark:".dark &, .dark .chakra-theme:not(.light) &",light:":root &, .light &",osDark:"@media (prefers-color-scheme: dark)",osLight:"@media (prefers-color-scheme: light)",highContrast:"@media (forced-colors: active)",lessContrast:"@media (prefers-contrast: less)",moreContrast:"@media (prefers-contrast: more)",ltr:"[dir=ltr] &",rtl:"[dir=rtl] &",scrollbar:"&::-webkit-scrollbar",scrollbarThumb:"&::-webkit-scrollbar-thumb",scrollbarTrack:"&::-webkit-scrollbar-track",horizontal:"&[data-orientation=horizontal]",vertical:"&[data-orientation=vertical]",icon:"& :where(svg)",starting:"@starting-style"}),er=Gd("bg-currentcolor"),Kd=e=>e===er.ref||e==="currentBg",ne=e=>({...e("colors"),currentBg:er}),Hk=va({conditions:Wk,utilities:{background:{values:ne,shorthand:["bg"],transform(e,t){if(Kd(t.raw))return{background:er.ref};const n=te("background")(e,t);return{...n,[er.var]:n?.background}}},backgroundColor:{values:ne,shorthand:["bgColor"],transform(e,t){if(Kd(t.raw))return{backgroundColor:er.ref};const n=te("backgroundColor")(e,t);return{...n,[er.var]:n?.backgroundColor}}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}}},backgroundGradient:{shorthand:["bgGradient"],values(e){return{...e("gradients"),"to-t":"linear-gradient(to top, var(--gradient))","to-tr":"linear-gradient(to top right, var(--gradient))","to-r":"linear-gradient(to right, var(--gradient))","to-br":"linear-gradient(to bottom right, var(--gradient))","to-b":"linear-gradient(to bottom, var(--gradient))","to-bl":"linear-gradient(to bottom left, var(--gradient))","to-l":"linear-gradient(to left, var(--gradient))","to-tl":"linear-gradient(to top left, var(--gradient))"}},transform(e){return{"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:e}}},gradientFrom:{values:ne,transform:te("--gradient-from")},gradientTo:{values:ne,transform:te("--gradient-to")},gradientVia:{values:ne,transform(e,t){return{...te("--gradient-via")(e,t),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"}}},backgroundImage:{values(e){return{...e("gradients"),...e("assets")}},shorthand:["bgImg","bgImage"]},border:{values:"borders"},borderTop:{values:"borders"},borderLeft:{values:"borders"},borderBlockStart:{values:"borders"},borderRight:{values:"borders"},borderBottom:{values:"borders"},borderBlockEnd:{values:"borders"},borderInlineStart:{values:"borders",shorthand:["borderStart"]},borderInlineEnd:{values:"borders",shorthand:["borderEnd"]},borderInline:{values:"borders",shorthand:["borderX"]},borderBlock:{values:"borders",shorthand:["borderY"]},borderColor:{values:ne,transform:te("borderColor")},borderTopColor:{values:ne,transform:te("borderTopColor")},borderBlockStartColor:{values:ne,transform:te("borderBlockStartColor")},borderBottomColor:{values:ne,transform:te("borderBottomColor")},borderBlockEndColor:{values:ne,transform:te("borderBlockEndColor")},borderLeftColor:{values:ne,transform:te("borderLeftColor")},borderInlineStartColor:{values:ne,shorthand:["borderStartColor"],transform:te("borderInlineStartColor")},borderRightColor:{values:ne,transform:te("borderRightColor")},borderInlineEndColor:{values:ne,shorthand:["borderEndColor"],transform:te("borderInlineEndColor")},borderStyle:{values:"borderStyles"},borderTopStyle:{values:"borderStyles"},borderBlockStartStyle:{values:"borderStyles"},borderBottomStyle:{values:"borderStyles"},borderBlockEndStyle:{values:"borderStyles"},borderInlineStartStyle:{values:"borderStyles",shorthand:["borderStartStyle"]},borderInlineEndStyle:{values:"borderStyles",shorthand:["borderEndStyle"]},borderLeftStyle:{values:"borderStyles"},borderRightStyle:{values:"borderStyles"},borderRadius:{values:"radii",shorthand:["rounded"]},borderTopLeftRadius:{values:"radii",shorthand:["roundedTopLeft"]},borderStartStartRadius:{values:"radii",shorthand:["roundedStartStart","borderTopStartRadius"]},borderEndStartRadius:{values:"radii",shorthand:["roundedEndStart","borderBottomStartRadius"]},borderTopRightRadius:{values:"radii",shorthand:["roundedTopRight"]},borderStartEndRadius:{values:"radii",shorthand:["roundedStartEnd","borderTopEndRadius"]},borderEndEndRadius:{values:"radii",shorthand:["roundedEndEnd","borderBottomEndRadius"]},borderBottomLeftRadius:{values:"radii",shorthand:["roundedBottomLeft"]},borderBottomRightRadius:{values:"radii",shorthand:["roundedBottomRight"]},borderInlineStartRadius:{values:"radii",property:"borderRadius",shorthand:["roundedStart","borderStartRadius"],transform:e=>({borderStartStartRadius:e,borderEndStartRadius:e})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:e=>({borderTopLeftRadius:e,borderTopRightRadius:e})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:e=>({borderTopRightRadius:e,borderBottomRightRadius:e})},borderWidth:{values:"borderWidths"},borderBlockStartWidth:{values:"borderWidths"},borderTopWidth:{values:"borderWidths"},borderBottomWidth:{values:"borderWidths"},borderBlockEndWidth:{values:"borderWidths"},borderRightWidth:{values:"borderWidths"},borderInlineWidth:{values:"borderWidths",shorthand:["borderXWidth"]},borderInlineStartWidth:{values:"borderWidths",shorthand:["borderStartWidth"]},borderInlineEndWidth:{values:"borderWidths",shorthand:["borderEndWidth"]},borderLeftWidth:{values:"borderWidths"},borderBlockWidth:{values:"borderWidths",shorthand:["borderYWidth"]},color:{values:ne,transform:te("color")},fill:{values:ne,transform:te("fill")},stroke:{values:ne,transform:te("stroke")},accentColor:{values:ne,transform:te("accentColor")},divideX:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:e,borderInlineEndWidth:"0px"}}}},divideY:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:e,borderBottomWidth:"0px"}}}},divideColor:{values:ne,transform(e,t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":Bk(e,t)}}},divideStyle:{property:"borderStyle",transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}}}},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:ne,transform:te("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform(e){return e!=="auto"?{filter:e}:{filter:"var(--blur) var(--brightness) var(--contrast) var(--grayscale) var(--hue-rotate) var(--invert) var(--saturate) var(--sepia) var(--drop-shadow)"}}},blur:{values:"blurs",transform:e=>({"--blur":xe("blur",e)})},brightness:{transform:e=>({"--brightness":xe("brightness",e)})},contrast:{transform:e=>({"--contrast":xe("contrast",e)})},grayscale:{transform:e=>({"--grayscale":xe("grayscale",e)})},hueRotate:{transform:e=>({"--hue-rotate":xe("hue-rotate",un(e))})},invert:{transform:e=>({"--invert":xe("invert",e)})},saturate:{transform:e=>({"--saturate":xe("saturate",e)})},sepia:{transform:e=>({"--sepia":xe("sepia",e)})},dropShadow:{transform:e=>({"--drop-shadow":xe("drop-shadow",e)})},backdropFilter:{transform(e){return e!=="auto"?{backdropFilter:e}:{backdropFilter:"var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-opacity) var(--backdrop-saturate) var(--backdrop-sepia)"}}},backdropBlur:{values:"blurs",transform:e=>({"--backdrop-blur":xe("blur",e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":xe("brightness",e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":xe("contrast",e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":xe("grayscale",e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":xe("hue-rotate",un(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":xe("invert",e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":xe("opacity",e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":xe("saturate",e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":xe("sepia",e)})},flexBasis:{values:"sizes"},gap:{values:"spacing"},rowGap:{values:"spacing",shorthand:["gapY"]},columnGap:{values:"spacing",shorthand:["gapX"]},flexDirection:{shorthand:["flexDir"]},gridGap:{values:"spacing"},gridColumnGap:{values:"spacing"},gridRowGap:{values:"spacing"},outlineColor:{values:ne,transform:te("outlineColor")},focusRing:qd("&:is(:focus, [data-focus])"),focusVisibleRing:qd("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:ne,transform:te("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:e=>({"--focus-ring-offset":e})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:e=>({"--focus-ring-width":e})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:e=>({"--focus-ring-style":e})},aspectRatio:{values:"aspectRatios"},width:{values:"sizes",shorthand:["w"]},inlineSize:{values:"sizes"},height:{values:"sizes",shorthand:["h"]},blockSize:{values:"sizes"},boxSize:{values:"sizes",property:"width",transform:e=>({width:e,height:e})},minWidth:{values:"sizes",shorthand:["minW"]},minInlineSize:{values:"sizes"},minHeight:{values:"sizes",shorthand:["minH"]},minBlockSize:{values:"sizes"},maxWidth:{values:"sizes",shorthand:["maxW"]},maxInlineSize:{values:"sizes"},maxHeight:{values:"sizes",shorthand:["maxH"]},maxBlockSize:{values:"sizes"},hideFrom:{values:"breakpoints",transform:(e,{raw:t,token:n})=>({[n.raw(`breakpoints.${t}`)?`@breakpoint ${t}`:`@media screen and (min-width: ${e})`]:{display:"none"}})},hideBelow:{values:"breakpoints",transform(e,{raw:t,token:n}){return{[n.raw(`breakpoints.${t}`)?`@breakpoint ${t}Down`:`@media screen and (max-width: ${e})`]:{display:"none"}}}},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(e){switch(e){case"visible":return{msOverflowStyle:"auto",scrollbarWidth:"auto","&::-webkit-scrollbar":{display:"block"}};case"hidden":return{msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}};default:return{}}}},scrollbarColor:{values:ne,transform:te("scrollbarColor")},scrollbarGutter:{values:"spacing"},scrollbarWidth:{values:"sizes"},scrollMargin:{values:"spacing"},scrollMarginTop:{values:"spacing"},scrollMarginBottom:{values:"spacing"},scrollMarginLeft:{values:"spacing"},scrollMarginRight:{values:"spacing"},scrollMarginX:{values:"spacing",transform:e=>({scrollMarginLeft:e,scrollMarginRight:e})},scrollMarginY:{values:"spacing",transform:e=>({scrollMarginTop:e,scrollMarginBottom:e})},scrollPadding:{values:"spacing"},scrollPaddingTop:{values:"spacing"},scrollPaddingBottom:{values:"spacing"},scrollPaddingLeft:{values:"spacing"},scrollPaddingRight:{values:"spacing"},scrollPaddingInline:{values:"spacing",shorthand:["scrollPaddingX"]},scrollPaddingBlock:{values:"spacing",shorthand:["scrollPaddingY"]},scrollSnapType:{values:{none:"none",x:"x var(--scroll-snap-strictness)",y:"y var(--scroll-snap-strictness)",both:"both var(--scroll-snap-strictness)"}},scrollSnapStrictness:{values:["mandatory","proximity"],transform:e=>({"--scroll-snap-strictness":e})},scrollSnapMargin:{values:"spacing"},scrollSnapMarginTop:{values:"spacing"},scrollSnapMarginBottom:{values:"spacing"},scrollSnapMarginLeft:{values:"spacing"},scrollSnapMarginRight:{values:"spacing"},listStylePosition:{shorthand:["listStylePos"]},listStyleImage:{values:"assets",shorthand:["listStyleImg"]},position:{shorthand:["pos"]},zIndex:{values:"zIndex"},inset:{values:"spacing"},insetInline:{values:"spacing",shorthand:["insetX"]},insetBlock:{values:"spacing",shorthand:["insetY"]},top:{values:"spacing"},insetBlockStart:{values:"spacing"},bottom:{values:"spacing"},insetBlockEnd:{values:"spacing"},left:{values:"spacing"},right:{values:"spacing"},insetInlineStart:{values:"spacing",shorthand:["insetStart"]},insetInlineEnd:{values:"spacing",shorthand:["insetEnd"]},ring:{transform(e){return{"--ring-offset-shadow":"var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)","--ring-shadow":"var(--ring-inset) 0 0 0 calc(var(--ring-width) + var(--ring-offset-width)) var(--ring-color)","--ring-width":e,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"}}},ringColor:{values:ne,transform:te("--ring-color")},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:ne,transform:te("--ring-offset-color")},ringInset:{transform:e=>({"--ring-inset":e})},margin:{values:"spacing",shorthand:["m"]},marginTop:{values:"spacing",shorthand:["mt"]},marginBlockStart:{values:"spacing"},marginRight:{values:"spacing",shorthand:["mr"]},marginBottom:{values:"spacing",shorthand:["mb"]},marginBlockEnd:{values:"spacing"},marginLeft:{values:"spacing",shorthand:["ml"]},marginInlineStart:{values:"spacing",shorthand:["ms","marginStart"]},marginInlineEnd:{values:"spacing",shorthand:["me","marginEnd"]},marginInline:{values:"spacing",shorthand:["mx","marginX"]},marginBlock:{values:"spacing",shorthand:["my","marginY"]},padding:{values:"spacing",shorthand:["p"]},paddingTop:{values:"spacing",shorthand:["pt"]},paddingRight:{values:"spacing",shorthand:["pr"]},paddingBottom:{values:"spacing",shorthand:["pb"]},paddingBlockStart:{values:"spacing"},paddingBlockEnd:{values:"spacing"},paddingLeft:{values:"spacing",shorthand:["pl"]},paddingInlineStart:{values:"spacing",shorthand:["ps","paddingStart"]},paddingInlineEnd:{values:"spacing",shorthand:["pe","paddingEnd"]},paddingInline:{values:"spacing",shorthand:["px","paddingX"]},paddingBlock:{values:"spacing",shorthand:["py","paddingY"]},textDecoration:{shorthand:["textDecor"]},textDecorationColor:{values:ne,transform:te("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:e=>{let t=e;return e==="auto"&&(t="translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),e==="auto-gpu"&&(t="translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),{transform:t}}},skewX:{transform:e=>({"--skew-x":un(e)})},skewY:{transform:e=>({"--skew-y":un(e)})},scaleX:{transform:e=>({"--scale-x":e})},scaleY:{transform:e=>({"--scale-y":e})},scale:{transform(e){return e!=="auto"?{scale:e}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}}},spaceXReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":e?"1":void 0}}}},spaceX:{property:"marginInlineStart",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${e} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${e} * var(--space-x-reverse))`}})},spaceYReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":e?"1":void 0}}}},spaceY:{property:"marginTop",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${e} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${e} * var(--space-y-reverse))`}})},rotate:{transform(e){return e!=="auto"?{rotate:un(e)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}}},rotateX:{transform(e){return{"--rotate-x":un(e)}}},rotateY:{transform(e){return{"--rotate-y":un(e)}}},translate:{transform(e){return e!=="auto"?{translate:e}:{translate:"var(--translate-x) var(--translate-y)"}}},translateX:{values:"spacing",transform:e=>({"--translate-x":e})},translateY:{values:"spacing",transform:e=>({"--translate-y":e})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(e){switch(e){case"all":return Ct("all");case"position":return Ct("left, right, top, bottom, inset-inline, inset-block");case"colors":return Ct("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return Ct("opacity");case"shadow":return Ct("box-shadow");case"transform":return Ct("transform");case"size":return Ct("width, height");case"backgrounds":return Ct("background, background-color, background-image, background-position");case"common":return Ct("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:e}}}},transitionDuration:{values:"durations"},transitionProperty:{values:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, translate, transform",colors:"background-color, border-color, color, fill, stroke",size:"width, height",position:"left, right, top, bottom, inset-inline, inset-block",background:"background, background-color, background-image, background-position"}},transitionTimingFunction:{values:"easings"},animation:{values:"animations"},animationDuration:{values:"durations"},animationDelay:{values:"durations"},animationTimingFunction:{values:"easings"},fontFamily:{values:"fonts"},fontSize:{values:"fontSizes"},fontWeight:{values:"fontWeights"},lineHeight:{values:"lineHeights"},letterSpacing:{values:"letterSpacings"},textIndent:{values:"spacing"},truncate:{values:{type:"boolean"},transform(e){return e===!0?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}}},lineClamp:{transform(e){return e==="none"?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",textWrap:"wrap"}}},borderSpacing:{values:e=>({...e("spacing"),auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform(e){return{"--border-spacing-x":e}}},borderSpacingY:{values:"spacing",transform(e){return{"--border-spacing-y":e}}},srOnly:{values:{type:"boolean"},transform(e){return Uk[e]||{}}},debug:{values:{type:"boolean"},transform(e){return e?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}}},caretColor:{values:ne,transform:te("caretColor")},cursor:{values:"cursor"}}}),Uk={true:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},false:{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}};var Gk="",qk=Gk.split(","),Kk="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical",Yk=Kk.split(",").concat(qk),Xk=new Map(Yk.map(e=>[e,!0]));function Qk(e){const t=Object.create(null);return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var Jk=/&|@/,Zk=Qk(e=>Xk.has(e)||e.startsWith("--")||Jk.test(e));function Yd(e,t){const n={};return gt(e,(r,o)=>{r&&(n[o.join(".")]=r.value)},{stop:t}),n}var ba,Xd;function eC(){if(Xd)return ba;Xd=1,ba=i,i.default=i,i.stable=c,i.stableStringify=c;var e="[...]",t="[Circular]",n=[],r=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function i(h,m,g,p){typeof p>"u"&&(p=o()),a(h,"",0,[],void 0,0,p);var v;try{r.length===0?v=JSON.stringify(h,m,g):v=JSON.stringify(h,d(m),g)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;n.length!==0;){var y=n.pop();y.length===4?Object.defineProperty(y[0],y[1],y[3]):y[0][y[1]]=y[2]}}return v}function s(h,m,g,p){var v=Object.getOwnPropertyDescriptor(p,g);v.get!==void 0?v.configurable?(Object.defineProperty(p,g,{value:h}),n.push([p,g,m,v])):r.push([m,g,h]):(p[g]=h,n.push([p,g,m]))}function a(h,m,g,p,v,y,x){y+=1;var b;if(typeof h=="object"&&h!==null){for(b=0;b<p.length;b++)if(p[b]===h){s(t,h,m,v);return}if(typeof x.depthLimit<"u"&&y>x.depthLimit){s(e,h,m,v);return}if(typeof x.edgesLimit<"u"&&g+1>x.edgesLimit){s(e,h,m,v);return}if(p.push(h),Array.isArray(h))for(b=0;b<h.length;b++)a(h[b],b,b,p,h,y,x);else{var C=Object.keys(h);for(b=0;b<C.length;b++){var k=C[b];a(h[k],k,b,p,h,y,x)}}p.pop()}}function l(h,m){return h<m?-1:h>m?1:0}function c(h,m,g,p){typeof p>"u"&&(p=o());var v=u(h,"",0,[],void 0,0,p)||h,y;try{r.length===0?y=JSON.stringify(v,m,g):y=JSON.stringify(v,d(m),g)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;n.length!==0;){var x=n.pop();x.length===4?Object.defineProperty(x[0],x[1],x[3]):x[0][x[1]]=x[2]}}return y}function u(h,m,g,p,v,y,x){y+=1;var b;if(typeof h=="object"&&h!==null){for(b=0;b<p.length;b++)if(p[b]===h){s(t,h,m,v);return}try{if(typeof h.toJSON=="function")return}catch{return}if(typeof x.depthLimit<"u"&&y>x.depthLimit){s(e,h,m,v);return}if(typeof x.edgesLimit<"u"&&g+1>x.edgesLimit){s(e,h,m,v);return}if(p.push(h),Array.isArray(h))for(b=0;b<h.length;b++)u(h[b],b,b,p,h,y,x);else{var C={},k=Object.keys(h).sort(l);for(b=0;b<k.length;b++){var E=k[b];u(h[E],E,b,p,h,y,x),C[E]=h[E]}if(typeof v<"u")n.push([v,m,h]),v[m]=C;else return C}p.pop()}}function d(h){return h=typeof h<"u"?h:function(m,g){return g},function(m,g){if(r.length>0)for(var p=0;p<r.length;p++){var v=r[p];if(v[1]===m&&v[0]===g){g=v[2],r.splice(p,1);break}}return h.call(this,m,g)}}return ba}var tC=eC();const nC=pp(tC),rt=e=>{const t=Object.create(null);function n(...r){const o=r.map(i=>nC(i)).join("|");return t[o]===void 0&&(t[o]=e(...r)),t[o]}return n},Qd=16,ii="px",ya="em",zr="rem";function Jd(e=""){const t=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),n=new RegExp(`${ii}|${ya}|${zr}`);return e.match(new RegExp(`${t.source}(${n.source})`))?.[1]}function Zd(e=""){if(typeof e=="number")return`${e}px`;const t=Jd(e);if(!t||t===ii)return e;if(t===ya||t===zr)return`${parseFloat(e)*Qd}${ii}`}function eh(e=""){const t=Jd(e);if(!t||t===zr)return e;if(t===ya)return`${parseFloat(e)}${zr}`;if(t===ii)return`${parseFloat(e)/Qd}${zr}`}const rC=e=>e.charAt(0).toUpperCase()+e.slice(1);function oC(e){const t=iC(e),n=Object.fromEntries(t);function r(h){return n[h]}function o(h){return tr(r(h))}function i(){const h=Object.keys(n),m=sC(h),g=h.flatMap(p=>{const v=r(p),y=[`${p}Down`,tr({max:si(v.min)})],x=[p,tr({min:v.min})],b=[`${p}Only`,o(p)];return[x,b,y]}).filter(([,p])=>p!=="").concat(m.map(([p,v])=>{const y=r(p),x=r(v);return[`${p}To${rC(v)}`,tr({min:y.min,max:si(x.min)})]}));return Object.fromEntries(g)}function s(){const h=i();return Object.fromEntries(Object.entries(h))}const a=s(),l=h=>a[h];function c(){return["base",...Object.keys(n)]}function u(h){return tr({min:r(h).min})}function d(h){return tr({max:si(r(h).min)})}return{values:Object.values(n),only:o,keys:c,conditions:a,getCondition:l,up:u,down:d}}function si(e){const t=parseFloat(Zd(e)??"")-.04;return eh(`${t}px`)}function iC(e){return Object.entries(e).sort(([,n],[,r])=>parseInt(n,10)<parseInt(r,10)?-1:1).map(([n,r],o,i)=>{let s=null;return o<=i.length-1&&(s=i[o+1]?.[1]),s!=null&&(s=si(s)),[n,{name:n,min:eh(r),max:s}]})}function sC(e){const t=[];return e.forEach((n,r)=>{let o=r;o++;let i=e[o];for(;i;)t.push([n,i]),o++,i=e[o]}),t}function tr({min:e,max:t}){return e==null&&t==null?"":["@media screen",e&&`(min-width: ${e})`,t&&`(max-width: ${t})`].filter(Boolean).join(" and ")}const aC=(e,t)=>Object.fromEntries(Object.entries(e).map(([n,r])=>t(n,r))),lC=e=>{const{breakpoints:t,conditions:n={}}=e,r=aC(n,(u,d)=>[`_${u}`,d]),o=Object.assign({},r,t.conditions);function i(){return Object.keys(o)}function s(u){return i().includes(u)||/^@|&|&$/.test(u)||u.startsWith("_")}function a(u){return u.filter(d=>d!=="base").sort((d,h)=>{const m=s(d),g=s(h);return m&&!g?1:!m&&g?-1:0})}function l(u){return u.startsWith("@breakpoint")?t.getCondition(u.replace("@breakpoint ","")):u}function c(u){return Reflect.get(o,u)||u}return{keys:i,sort:a,has:s,resolve:c,breakpoints:t.keys(),expandAtRule:l}},th=e=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${e})(.|
+      </svg>`,n.body.appendChild(r)};function fk(e,t){if(!(!e||!t.isActiveElement(e)))try{const{selectionStart:n,selectionEnd:r,value:o}=e,i=o.substring(0,n),s=o.substring(r);return{start:n,end:r,value:o,beforeTxt:i,afterTxt:s}}catch{}}function gk(e,t,n){if(!(!e||!n.isActiveElement(e))){if(!t){e.setSelectionRange(e.value.length,e.value.length);return}try{const{value:r}=e,{beforeTxt:o="",afterTxt:i="",start:s}=t;let a=r.length;if(r.endsWith(i))a=r.length-i.length;else if(r.startsWith(o))a=o.length;else if(s!=null){const l=o[s-1],c=r.indexOf(l,s-1);c!==-1&&(a=c+1)}e.setSelectionRange(a,a)}catch{}}}var pk=(e,t={})=>new Intl.NumberFormat(e,t),mk=(e,t={})=>new Od(e,t),da=(e,t)=>{const{prop:n,computed:r}=t;return n("formatOptions")?e===""?Number.NaN:r("parser").parse(e):parseFloat(e)},ln=(e,t)=>{const{prop:n,computed:r}=t;return Number.isNaN(e)?"":n("formatOptions")?r("formatter").format(e):e.toString()},vk=(e,t)=>{let n=e!==void 0&&!Number.isNaN(e)?e:1;return t?.style==="percent"&&(e===void 0||Number.isNaN(e))&&(n=.01),n},{choose:bk,guards:yk,createMachine:xk}=wc(),{not:Vd,and:Fd}=yk;xk({props({props:e}){const t=vk(e.step,e.formatOptions);return{dir:"ltr",locale:"en-US",focusInputOnChange:!0,clampValueOnBlur:!e.allowOverflow,allowOverflow:!1,inputMode:"decimal",pattern:"-?[0-9]*(.[0-9]+)?",defaultValue:"",step:t,min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,spinOnPress:!0,...e,translations:{incrementLabel:"increment value",decrementLabel:"decrease value",...e.translations}}},initialState(){return"idle"},context({prop:e,bindable:t,getComputed:n}){return{value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(r){const o=n(),i=da(r,{computed:o,prop:e});e("onValueChange")?.({value:r,valueAsNumber:i})}})),hint:t(()=>({defaultValue:null})),scrubberCursorPoint:t(()=>({defaultValue:null,hash(r){return r?`x:${r.x}, y:${r.y}`:""}})),fieldsetDisabled:t(()=>({defaultValue:!1}))}},computed:{isRtl:({prop:e})=>e("dir")==="rtl",valueAsNumber:({context:e,computed:t,prop:n})=>da(e.get("value"),{computed:t,prop:n}),formattedValue:({computed:e,prop:t})=>ln(e("valueAsNumber"),{computed:e,prop:t}),isAtMin:({computed:e,prop:t})=>h0(e("valueAsNumber"),t("min")),isAtMax:({computed:e,prop:t})=>d0(e("valueAsNumber"),t("max")),isOutOfRange:({computed:e,prop:t})=>!f0(e("valueAsNumber"),t("min"),t("max")),isValueEmpty:({context:e})=>e.get("value")==="",isDisabled:({prop:e,context:t})=>!!e("disabled")||t.get("fieldsetDisabled"),canIncrement:({prop:e,computed:t})=>e("allowOverflow")||!t("isAtMax"),canDecrement:({prop:e,computed:t})=>e("allowOverflow")||!t("isAtMin"),valueText:({prop:e,context:t})=>e("translations").valueText?.(t.get("value")),formatter:Cc(({prop:e})=>[e("locale"),e("formatOptions")],([e,t])=>pk(e,t)),parser:Cc(({prop:e})=>[e("locale"),e("formatOptions")],([e,t])=>mk(e,t))},watch({track:e,action:t,context:n,computed:r,prop:o}){e([()=>n.get("value"),()=>o("locale")],()=>{t(["syncInputElement"])}),e([()=>r("isOutOfRange")],()=>{t(["invokeOnInvalid"])}),e([()=>n.hash("scrubberCursorPoint")],()=>{t(["setVirtualCursorPosition"])})},effects:["trackFormControl"],on:{"VALUE.SET":{actions:["setRawValue"]},"VALUE.CLEAR":{actions:["clearValue"]},"VALUE.INCREMENT":{actions:["increment"]},"VALUE.DECREMENT":{actions:["decrement"]}},states:{idle:{on:{"TRIGGER.PRESS_DOWN":[{guard:"isTouchPointer",target:"before:spin",actions:["setHint"]},{target:"before:spin",actions:["focusInput","invokeOnFocus","setHint"]}],"SCRUBBER.PRESS_DOWN":{target:"scrubbing",actions:["focusInput","invokeOnFocus","setHint","setCursorPoint"]},"INPUT.FOCUS":{target:"focused",actions:["focusInput","invokeOnFocus"]}}},focused:{tags:["focus"],effects:["attachWheelListener"],on:{"TRIGGER.PRESS_DOWN":[{guard:"isTouchPointer",target:"before:spin",actions:["setHint"]},{target:"before:spin",actions:["focusInput","setHint"]}],"SCRUBBER.PRESS_DOWN":{target:"scrubbing",actions:["focusInput","setHint","setCursorPoint"]},"INPUT.ARROW_UP":{actions:["increment"]},"INPUT.ARROW_DOWN":{actions:["decrement"]},"INPUT.HOME":{actions:["decrementToMin"]},"INPUT.END":{actions:["incrementToMax"]},"INPUT.CHANGE":{actions:["setValue","setHint"]},"INPUT.BLUR":[{guard:Fd("clampValueOnBlur",Vd("isInRange")),target:"idle",actions:["setClampedValue","clearHint","invokeOnBlur"]},{guard:Vd("isInRange"),target:"idle",actions:["setFormattedValue","clearHint","invokeOnBlur","invokeOnInvalid"]},{target:"idle",actions:["setFormattedValue","clearHint","invokeOnBlur"]}],"INPUT.ENTER":{actions:["setFormattedValue","clearHint","invokeOnBlur"]}}},"before:spin":{tags:["focus"],effects:["trackButtonDisabled","waitForChangeDelay"],entry:bk([{guard:"isIncrementHint",actions:["increment"]},{guard:"isDecrementHint",actions:["decrement"]}]),on:{CHANGE_DELAY:{target:"spinning",guard:Fd("isInRange","spinOnPress")},"TRIGGER.PRESS_UP":[{guard:"isTouchPointer",target:"focused",actions:["clearHint"]},{target:"focused",actions:["focusInput","clearHint"]}]}},spinning:{tags:["focus"],effects:["trackButtonDisabled","spinValue"],on:{SPIN:[{guard:"isIncrementHint",actions:["increment"]},{guard:"isDecrementHint",actions:["decrement"]}],"TRIGGER.PRESS_UP":{target:"focused",actions:["focusInput","clearHint"]}}},scrubbing:{tags:["focus"],effects:["activatePointerLock","trackMousemove","setupVirtualCursor","preventTextSelection"],on:{"SCRUBBER.POINTER_UP":{target:"focused",actions:["focusInput","clearCursorPoint"]},"SCRUBBER.POINTER_MOVE":[{guard:"isIncrementHint",actions:["increment","setCursorPoint"]},{guard:"isDecrementHint",actions:["decrement","setCursorPoint"]}]}}},implementations:{guards:{clampValueOnBlur:({prop:e})=>e("clampValueOnBlur"),spinOnPress:({prop:e})=>!!e("spinOnPress"),isInRange:({computed:e})=>!e("isOutOfRange"),isDecrementHint:({context:e,event:t})=>(t.hint??e.get("hint"))==="decrement",isIncrementHint:({context:e,event:t})=>(t.hint??e.get("hint"))==="increment",isTouchPointer:({event:e})=>e.pointerType==="touch"},effects:{waitForChangeDelay({send:e}){const t=setTimeout(()=>{e({type:"CHANGE_DELAY"})},300);return()=>clearTimeout(t)},spinValue({send:e}){const t=setInterval(()=>{e({type:"SPIN"})},50);return()=>clearInterval(t)},trackFormControl({context:e,scope:t}){const n=ii(t);return ys(n,{onFieldsetDisabledChange(r){e.set("fieldsetDisabled",r)},onFormReset(){e.set("value",e.initial("value"))}})},setupVirtualCursor({context:e,scope:t}){const n=e.get("scrubberCursorPoint");return ck(t,n)},preventTextSelection({scope:e}){return uk(e)},trackButtonDisabled({context:e,scope:t,send:n}){const r=e.get("hint"),o=lk(t,r);return Eo(o,{attributes:["disabled"],callback(){n({type:"TRIGGER.PRESS_UP",src:"attr"})}})},attachWheelListener({scope:e,send:t,prop:n}){const r=ii(e);if(!r||!e.isActiveElement(r)||!n("allowMouseWheel"))return;function o(i){i.preventDefault();const s=Math.sign(i.deltaY)*-1;s===1?t({type:"VALUE.INCREMENT"}):s===-1&&t({type:"VALUE.DECREMENT"})}return se(r,"wheel",o,{passive:!1})},activatePointerLock({scope:e}){if(!fc())return dv(e.getDoc())},trackMousemove({scope:e,send:t,context:n,computed:r}){const o=e.getDoc();function i(a){const l=n.get("scrubberCursorPoint"),c=r("isRtl"),u=dk(e,{point:l,isRtl:c,event:a});u.hint&&t({type:"SCRUBBER.POINTER_MOVE",hint:u.hint,point:u.point})}function s(){t({type:"SCRUBBER.POINTER_UP"})}return mo(se(o,"mousemove",i,!1),se(o,"mouseup",s,!1))}},actions:{focusInput({scope:e,prop:t}){if(!t("focusInputOnChange"))return;const n=ii(e);e.isActiveElement(n)||G(()=>n?.focus({preventScroll:!0}))},increment({context:e,event:t,prop:n,computed:r}){let o=v0(r("valueAsNumber"),t.step??n("step"));n("allowOverflow")||(o=Ve(o,n("min"),n("max"))),e.set("value",ln(o,{computed:r,prop:n}))},decrement({context:e,event:t,prop:n,computed:r}){let o=b0(r("valueAsNumber"),t.step??n("step"));n("allowOverflow")||(o=Ve(o,n("min"),n("max"))),e.set("value",ln(o,{computed:r,prop:n}))},setClampedValue({context:e,prop:t,computed:n}){const r=Ve(n("valueAsNumber"),t("min"),t("max"));e.set("value",ln(r,{computed:n,prop:t}))},setRawValue({context:e,event:t,prop:n,computed:r}){let o=da(t.value,{computed:r,prop:n});n("allowOverflow")||(o=Ve(o,n("min"),n("max"))),e.set("value",ln(o,{computed:r,prop:n}))},setValue({context:e,event:t}){const n=t.target?.value??t.value;e.set("value",n)},clearValue({context:e}){e.set("value","")},incrementToMax({context:e,prop:t,computed:n}){const r=ln(t("max"),{computed:n,prop:t});e.set("value",r)},decrementToMin({context:e,prop:t,computed:n}){const r=ln(t("min"),{computed:n,prop:t});e.set("value",r)},setHint({context:e,event:t}){e.set("hint",t.hint)},clearHint({context:e}){e.set("hint",null)},invokeOnFocus({computed:e,prop:t}){t("onFocusChange")?.({focused:!0,value:e("formattedValue"),valueAsNumber:e("valueAsNumber")})},invokeOnBlur({computed:e,prop:t}){t("onFocusChange")?.({focused:!1,value:e("formattedValue"),valueAsNumber:e("valueAsNumber")})},invokeOnInvalid({computed:e,prop:t,event:n}){if(n.type==="INPUT.CHANGE")return;const r=e("valueAsNumber")>t("max")?"rangeOverflow":"rangeUnderflow";t("onValueInvalid")?.({reason:r,value:e("formattedValue"),valueAsNumber:e("valueAsNumber")})},syncInputElement({context:e,event:t,computed:n,scope:r}){const o=t.type.endsWith("CHANGE")?e.get("value"):n("formattedValue"),i=ii(r),s=fk(i,r);G(()=>{So(i,o),gk(i,s,r)})},setFormattedValue({context:e,computed:t}){e.set("value",t("formattedValue"))},setCursorPoint({context:e,event:t}){e.set("scrubberCursorPoint",t.point)},clearCursorPoint({context:e}){e.set("scrubberCursorPoint",null)},setVirtualCursorPosition({context:e,scope:t}){const n=_d(t),r=e.get("scrubberCursorPoint");!n||!r||(n.style.transform=`translate3d(${r.x}px, ${r.y}px, 0px)`)}}}}),M()(["allowMouseWheel","allowOverflow","clampValueOnBlur","dir","disabled","focusInputOnChange","form","formatOptions","getRootNode","id","ids","inputMode","invalid","locale","max","min","name","onFocusChange","onValueChange","onValueInvalid","pattern","required","readOnly","spinOnPress","step","translations","value","defaultValue"]);var Ld=j("pinInput").parts("root","label","input","control");Ld.build(),M()(["autoFocus","blurOnComplete","count","defaultValue","dir","disabled","form","getRootNode","id","ids","invalid","mask","name","onValueChange","onValueComplete","onValueInvalid","otp","pattern","placeholder","readOnly","required","selectOnFocus","translations","type","value"]);var Dd=j("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger");Dd.build(),M()(["autoFocus","closeOnEscape","closeOnInteractOutside","dir","getRootNode","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","portalled","positioning"]);const cn=e=>{const{children:t,disabled:n}=e,[r,o]=P.useState(e.container?.current),i=P.useSyncExternalStore(Ck,()=>!1,()=>!0),{getRootNode:s}=sc();if(P.useEffect(()=>{o(()=>e.container?.current)},[e.container]),i||n)return g.jsx(g.Fragment,{children:t});const a=r??kk(s);return g.jsx(g.Fragment,{children:P.Children.map(t,l=>Ft.createPortal(l,a))})},kk=e=>{const t=e?.(),n=t.getRootNode();return jn(n)?n:Fe(t).body},Ck=()=>()=>{};var ha=j("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange");ha.build(),M()(["dir","getRootNode","id","ids","max","min","orientation","translations","value","onValueChange","defaultValue","formatOptions","locale"]);var zd=j("qr-code").parts("root","frame","pattern","overlay","downloadTrigger");zd.build(),M()(["ids","defaultValue","value","id","encoding","dir","getRootNode","onValueChange","pixelSize"]);var fa=j("radio-group").parts("root","label","item","itemText","itemControl","indicator");fa.build(),M()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"]),M()(["value","disabled","invalid"]);var Md=j("rating-group").parts("root","label","item","control");Md.build(),M()(["allowHalf","autoFocus","count","dir","disabled","form","getRootNode","id","ids","name","onHoverChange","onValueChange","required","readOnly","translations","value","defaultValue"]),M()(["index"]);var jd=j("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner");jd.build(),M()(["dir","getRootNode","ids","id"]);const $d=fa.rename("segment-group");$d.build();var Bd=j("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText");Bd.build();var Wd=e=>new Yo(e);Wd.empty=()=>new Yo({items:[]});var wk=e=>e.ids?.content??`select:${e.id}:content`,Sk=e=>e.ids?.trigger??`select:${e.id}:trigger`,Ek=e=>e.ids?.clearTrigger??`select:${e.id}:clear-trigger`,Ok=(e,t)=>e.ids?.item?.(t)??`select:${e.id}:option:${t}`,Pk=e=>e.ids?.hiddenSelect??`select:${e.id}:select`,Rk=e=>e.ids?.positioner??`select:${e.id}:positioner`,ga=e=>e.getById(Pk(e)),zr=e=>e.getById(wk(e)),si=e=>e.getById(Sk(e)),Ik=e=>e.getById(Ek(e)),Hd=e=>e.getById(Rk(e)),pa=(e,t)=>t==null?null:e.getById(Ok(e,t)),{and:Mr,not:un,or:Tk}=jt();Tk("isTriggerArrowDownEvent","isTriggerEnterEvent"),Mr(un("multiple"),"hasSelectedItems"),un("multiple"),Mr(un("multiple"),"hasSelectedItems"),un("multiple"),un("multiple"),un("multiple"),un("multiple"),Mr("closeOnSelect","isOpenControlled"),Mr("hasHighlightedItem","loop","isLastItemHighlighted"),Mr("hasHighlightedItem","loop","isFirstItemHighlighted");function Ud(e){const t=e.restoreFocus??e.previousEvent?.restoreFocus;return t==null||!!t}M()(["closeOnSelect","collection","composite","defaultHighlightedValue","defaultOpen","defaultValue","deselectable","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","positioning","readOnly","required","scrollToIndexFn","value"]),M()(["item","persistFocus"]),M()(["id"]),M()(["htmlFor"]);var Gd=j("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator");Gd.build(),M()(["aria-label","aria-labelledby","dir","disabled","form","getAriaValueText","getRootNode","id","ids","invalid","max","min","minStepsBetweenThumbs","name","onFocusChange","onValueChange","onValueChangeEnd","orientation","origin","readOnly","step","thumbAlignment","thumbAlignment","thumbSize","value","defaultValue"]),M()(["index","name"]);var qd=j("switch").parts("root","label","control","thumb");qd.build(),M()(["checked","defaultChecked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);var Nk=j("toast").parts("group","root","title","description","actionTrigger","closeTrigger");Nk.build();var Ak=(e,t)=>({...t,...bo(e)});function _k(e={}){const t=Ak(e,{placement:"bottom",overlap:!1,max:24,gap:16,offsets:"1rem",hotkey:["altKey","KeyT"],removeDelay:200,pauseOnPageIdle:!0});let n=[],r=[],o=new Set,i=[];const s=S=>(n.push(S),()=>{const _=n.indexOf(S);n.splice(_,1)}),a=S=>(n.forEach(_=>_(S)),S),l=S=>{if(r.length>=t.max){i.push(S);return}a(S),r.unshift(S)},c=()=>{for(;i.length>0&&r.length<t.max;){const S=i.shift();S&&(a(S),r.unshift(S))}},u=S=>{const _=S.id??`toast:${i0()}`,D=r.find(z=>z.id===_);return o.has(_)&&o.delete(_),D?r=r.map(z=>z.id===_?a({...z,...S,id:_}):z):l({id:_,duration:t.duration,removeDelay:t.removeDelay,type:"info",...S,stacked:!t.overlap,gap:t.gap}),_},h=S=>(o.add(S),S?(n.forEach(_=>_({id:S,dismiss:!0})),r=r.filter(_=>_.id!==S),c()):(r.forEach(_=>{n.forEach(D=>D({id:_.id,dismiss:!0}))}),r=[],i=[]),S);return{attrs:t,subscribe:s,create:u,update:(S,_)=>u({id:S,..._}),remove:h,dismiss:S=>{S!=null?r=r.map(_=>_.id===S?a({..._,message:"DISMISS"}):_):r=r.map(_=>a({..._,message:"DISMISS"}))},error:S=>u({...S,type:"error"}),success:S=>u({...S,type:"success"}),info:S=>u({...S,type:"info"}),warning:S=>u({...S,type:"warning"}),loading:S=>u({...S,type:"loading"}),getVisibleToasts:()=>r.filter(S=>!o.has(S.id)),getCount:()=>r.length,promise:(S,_,D={})=>{if(!_||!_.loading){wr("[zag-js > toast] toaster.promise() requires at least a 'loading' option to be specified");return}const z=u({...D,..._.loading,promise:S,type:"loading"});let W=!0,J;const ee=po(S).then(async q=>{if(J=["resolve",q],Vk(q)&&!q.ok){W=!1;const Z=po(_.error,`HTTP Error! status: ${q.status}`);u({...D,...Z,id:z,type:"error"})}else if(_.success!==void 0){W=!1;const Z=po(_.success,q);u({...D,...Z,id:z,type:"success"})}}).catch(async q=>{if(J=["reject",q],_.error!==void 0){W=!1;const Z=po(_.error,q);u({...D,...Z,id:z,type:"error"})}}).finally(()=>{W&&h(z),_.finally?.()});return{id:z,unwrap:()=>new Promise((q,Z)=>ee.then(()=>J[0]==="reject"?Z(J[1]):q(J[1])).catch(Z))}},pause:S=>{S!=null?r=r.map(_=>_.id===S?a({..._,message:"PAUSE"}):_):r=r.map(_=>a({..._,message:"PAUSE"}))},resume:S=>{S!=null?r=r.map(_=>_.id===S?a({..._,message:"RESUME"}):_):r=r.map(_=>a({..._,message:"RESUME"}))},isVisible:S=>!o.has(S)&&!!r.find(_=>_.id===S),isDismissed:S=>o.has(S),expand:()=>{r=r.map(S=>a({...S,stacked:!0}))},collapse:()=>{r=r.map(S=>a({...S,stacked:!1}))}}}var Vk=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number";const Fk=e=>_k(e);var Kd=j("tooltip").parts("trigger","arrow","arrowTip","positioner","content");Kd.build();var Lk=e=>e.ids?.trigger??`tooltip:${e.id}:trigger`,Dk=e=>e.ids?.positioner??`tooltip:${e.id}:popper`,ma=e=>e.getById(Lk(e)),Yd=e=>e.getById(Dk(e)),dn=y0({id:null}),{and:zk,not:Xd}=jt();zk("noVisibleTooltip",Xd("hasPointerMoveOpened")),Xd("hasPointerMoveOpened"),M()(["aria-label","closeDelay","closeOnEscape","closeOnPointerDown","closeOnScroll","closeOnClick","dir","disabled","getRootNode","id","ids","interactive","onOpenChange","defaultOpen","open","openDelay","positioning"]);function Qd(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}const Mk=(e,t)=>{if(!e||typeof e!="string")return{invalid:!0,value:e};const[n,r]=e.split("/");if(!n||!r||n==="currentBg")return{invalid:!0,value:n};const o=t(`colors.${n}`),i=t.raw(`opacity.${r}`)?.value;if(!i&&isNaN(Number(r)))return{invalid:!0,value:n};const s=i?Number(i)*100+"%":`${r}%`,a=o??n;return{invalid:!1,color:a,value:`color-mix(in srgb, ${a} ${s}, transparent)`}},te=e=>(t,n)=>{const r=n.utils.colorMix(t);if(r.invalid)return{[e]:t};const o="--mix-"+e;return{[o]:r.value,[e]:`var(${o}, ${r.color})`}};function va(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(n=>va(n));const t=Object.create(Object.getPrototypeOf(e));for(const n of Object.keys(e))t[n]=va(e[n]);return t}function ba(e,t){if(t==null)return e;for(const n of Object.keys(t))if(!(t[n]===void 0||n==="__proto__"))if(!_e(e[n])&&_e(t[n]))Object.assign(e,{[n]:t[n]});else if(e[n]&&_e(t[n]))ba(e[n],t[n]);else if(Array.isArray(t[n])&&Array.isArray(e[n])){let r=0;for(;r<t[n].length;r++)_e(e[n][r])&&_e(t[n][r])?ba(e[n][r],t[n][r]):e[n][r]=t[n][r]}else Object.assign(e,{[n]:t[n]});return e}function er(e,...t){for(const n of t)ba(e,n);return e}const ya=e=>e!=null;function gt(e,t,n={}){const{stop:r,getKey:o}=n;function i(s,a=[]){if(_e(s)||Array.isArray(s)){const l={};for(const[c,u]of Object.entries(s)){const h=o?.(c,u)??c,d=[...a,h];if(r?.(s,d))return t(s,a);const m=i(u,d);ya(m)&&(l[h]=m)}return l}return t(s,a)}return i(e)}function Jd(e,t){return Array.isArray(e)?e.map(n=>ya(n)?t(n):n):_e(e)?gt(e,n=>t(n)):ya(e)?t(e):e}const ai=["value","type","description"],jk=e=>e&&typeof e=="object"&&!Array.isArray(e),Zd=(...e)=>{const t=er({},...e.map(va));return t.theme?.tokens&&gt(t.theme.tokens,n=>{const i=Object.keys(n).filter(a=>!ai.includes(a)).length>0,s=ai.some(a=>n[a]!=null);return i&&s&&(n.DEFAULT||(n.DEFAULT={}),ai.forEach(a=>{var l;n[a]!=null&&((l=n.DEFAULT)[a]||(l[a]=n[a]),delete n[a])})),n},{stop(n){return jk(n)&&Object.keys(n).some(r=>ai.includes(r)||r!==r.toLowerCase()&&r!==r.toUpperCase())}}),t},$k=e=>e,fe=e=>e,B=e=>e,Bk=e=>e,Wk=e=>e,tr=e=>e,Hk=e=>e,Uk=e=>e,Gk=e=>e;function eh(){const e=t=>t;return new Proxy(e,{get(){return e}})}const de=eh(),xa=eh(),ka=e=>e,qk=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function Kk(e){return`${e}`.replace(qk,t=>`\\${t}`)}const Yk=/[A-Z]/g;function Xk(e){return e.replace(Yk,t=>`-${t.toLowerCase()}`)}function th(e,t={}){const{fallback:n="",prefix:r=""}=t,o=Xk(["-",r,Kk(e)].filter(Boolean).join("-"));return{var:o,ref:`var(${o}${n?`, ${n}`:""})`}}const Qk=e=>/^var\(--.+\)$/.test(e),xe=(e,t)=>t!=null?`${e}(${t})`:t,hn=e=>{if(Qk(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},nh=e=>({values:["outside","inside","mixed","none"],transform(t,{token:n}){const r=n("colors.colorPalette.focusRing");return{inside:{"--focus-ring-color":r,[e]:{outlineOffset:"0px",outlineWidth:"var(--focus-ring-width, 1px)",outlineColor:"var(--focus-ring-color)",outlineStyle:"var(--focus-ring-style, solid)",borderColor:"var(--focus-ring-color)"}},outside:{"--focus-ring-color":r,[e]:{outlineWidth:"var(--focus-ring-width, 2px)",outlineOffset:"var(--focus-ring-offset, 2px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"var(--focus-ring-color)"}},mixed:{"--focus-ring-color":r,[e]:{outlineWidth:"var(--focus-ring-width, 3px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"color-mix(in srgb, var(--focus-ring-color), transparent 60%)",borderColor:"var(--focus-ring-color)"}},none:{"--focus-ring-color":r,[e]:{outline:"none"}}}[t]??{}}}),Jk=te("borderColor"),St=e=>({transition:e,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),Zk=$k({hover:["@media (hover: hover)","&:is(:hover, [data-hover]):not(:disabled, [data-disabled])"],active:"&:is(:active, [data-active]):not(:disabled, [data-disabled], [data-state=open])",focus:"&:is(:focus, [data-focus])",focusWithin:"&:is(:focus-within, [data-focus-within])",focusVisible:"&:is(:focus-visible, [data-focus-visible])",disabled:"&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",visited:"&:visited",target:"&:target",readOnly:"&:is([data-readonly], [aria-readonly=true], [readonly])",readWrite:"&:read-write",empty:"&:is(:empty, [data-empty])",checked:"&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",enabled:"&:enabled",expanded:"&:is([aria-expanded=true], [data-expanded], [data-state=expanded])",highlighted:"&[data-highlighted]",complete:"&[data-complete]",incomplete:"&[data-incomplete]",dragging:"&[data-dragging]",before:"&::before",after:"&::after",firstLetter:"&::first-letter",firstLine:"&::first-line",marker:"&::marker",selection:"&::selection",file:"&::file-selector-button",backdrop:"&::backdrop",first:"&:first-of-type",last:"&:last-of-type",notFirst:"&:not(:first-of-type)",notLast:"&:not(:last-of-type)",only:"&:only-child",even:"&:nth-of-type(even)",odd:"&:nth-of-type(odd)",peerFocus:".peer:is(:focus, [data-focus]) ~ &",peerHover:".peer:is(:hover, [data-hover]):not(:disabled, [data-disabled]) ~ &",peerActive:".peer:is(:active, [data-active]):not(:disabled, [data-disabled]) ~ &",peerFocusWithin:".peer:focus-within ~ &",peerFocusVisible:".peer:is(:focus-visible, [data-focus-visible]) ~ &",peerDisabled:".peer:is(:disabled, [disabled], [data-disabled]) ~ &",peerChecked:".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) ~ &",peerInvalid:".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",peerExpanded:".peer:is([aria-expanded=true], [data-expanded], [data-state=expanded]) ~ &",peerPlaceholderShown:".peer:placeholder-shown ~ &",groupFocus:".group:is(:focus, [data-focus]) &",groupHover:".group:is(:hover, [data-hover]):not(:disabled, [data-disabled]) &",groupActive:".group:is(:active, [data-active]):not(:disabled, [data-disabled]) &",groupFocusWithin:".group:focus-within &",groupFocusVisible:".group:is(:focus-visible, [data-focus-visible]) &",groupDisabled:".group:is(:disabled, [disabled], [data-disabled]) &",groupChecked:".group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &",groupExpanded:".group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &",groupInvalid:".group:invalid &",indeterminate:"&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",required:"&:is([data-required], [aria-required=true])",valid:"&:is([data-valid], [data-state=valid])",invalid:"&:is([data-invalid], [aria-invalid=true], [data-state=invalid])",autofill:"&:autofill",inRange:"&:is(:in-range, [data-in-range])",outOfRange:"&:is(:out-of-range, [data-outside-range])",placeholder:"&::placeholder, &[data-placeholder]",placeholderShown:"&:is(:placeholder-shown, [data-placeholder-shown])",pressed:"&:is([aria-pressed=true], [data-pressed])",selected:"&:is([aria-selected=true], [data-selected])",grabbed:"&:is([aria-grabbed=true], [data-grabbed])",underValue:"&[data-state=under-value]",overValue:"&[data-state=over-value]",atValue:"&[data-state=at-value]",default:"&:default",optional:"&:optional",open:"&:is([open], [data-open], [data-state=open])",closed:"&:is([closed], [data-closed], [data-state=closed])",fullscreen:"&:is(:fullscreen, [data-fullscreen])",loading:"&:is([data-loading], [aria-busy=true])",hidden:"&:is([hidden], [data-hidden])",current:"&[data-current]",currentPage:"&[aria-current=page]",currentStep:"&[aria-current=step]",today:"&[data-today]",unavailable:"&[data-unavailable]",rangeStart:"&[data-range-start]",rangeEnd:"&[data-range-end]",now:"&[data-now]",topmost:"&[data-topmost]",motionReduce:"@media (prefers-reduced-motion: reduce)",motionSafe:"@media (prefers-reduced-motion: no-preference)",print:"@media print",landscape:"@media (orientation: landscape)",portrait:"@media (orientation: portrait)",dark:".dark &, .dark .chakra-theme:not(.light) &",light:":root &, .light &",osDark:"@media (prefers-color-scheme: dark)",osLight:"@media (prefers-color-scheme: light)",highContrast:"@media (forced-colors: active)",lessContrast:"@media (prefers-contrast: less)",moreContrast:"@media (prefers-contrast: more)",ltr:"[dir=ltr] &",rtl:"[dir=rtl] &",scrollbar:"&::-webkit-scrollbar",scrollbarThumb:"&::-webkit-scrollbar-thumb",scrollbarTrack:"&::-webkit-scrollbar-track",horizontal:"&[data-orientation=horizontal]",vertical:"&[data-orientation=vertical]",icon:"& :where(svg)",starting:"@starting-style"}),nr=th("bg-currentcolor"),rh=e=>e===nr.ref||e==="currentBg",ne=e=>({...e("colors"),currentBg:nr}),eC=ka({conditions:Zk,utilities:{background:{values:ne,shorthand:["bg"],transform(e,t){if(rh(t.raw))return{background:nr.ref};const n=te("background")(e,t);return{...n,[nr.var]:n?.background}}},backgroundColor:{values:ne,shorthand:["bgColor"],transform(e,t){if(rh(t.raw))return{backgroundColor:nr.ref};const n=te("backgroundColor")(e,t);return{...n,[nr.var]:n?.backgroundColor}}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}}},backgroundGradient:{shorthand:["bgGradient"],values(e){return{...e("gradients"),"to-t":"linear-gradient(to top, var(--gradient))","to-tr":"linear-gradient(to top right, var(--gradient))","to-r":"linear-gradient(to right, var(--gradient))","to-br":"linear-gradient(to bottom right, var(--gradient))","to-b":"linear-gradient(to bottom, var(--gradient))","to-bl":"linear-gradient(to bottom left, var(--gradient))","to-l":"linear-gradient(to left, var(--gradient))","to-tl":"linear-gradient(to top left, var(--gradient))"}},transform(e){return{"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:e}}},gradientFrom:{values:ne,transform:te("--gradient-from")},gradientTo:{values:ne,transform:te("--gradient-to")},gradientVia:{values:ne,transform(e,t){return{...te("--gradient-via")(e,t),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"}}},backgroundImage:{values(e){return{...e("gradients"),...e("assets")}},shorthand:["bgImg","bgImage"]},border:{values:"borders"},borderTop:{values:"borders"},borderLeft:{values:"borders"},borderBlockStart:{values:"borders"},borderRight:{values:"borders"},borderBottom:{values:"borders"},borderBlockEnd:{values:"borders"},borderInlineStart:{values:"borders",shorthand:["borderStart"]},borderInlineEnd:{values:"borders",shorthand:["borderEnd"]},borderInline:{values:"borders",shorthand:["borderX"]},borderBlock:{values:"borders",shorthand:["borderY"]},borderColor:{values:ne,transform:te("borderColor")},borderTopColor:{values:ne,transform:te("borderTopColor")},borderBlockStartColor:{values:ne,transform:te("borderBlockStartColor")},borderBottomColor:{values:ne,transform:te("borderBottomColor")},borderBlockEndColor:{values:ne,transform:te("borderBlockEndColor")},borderLeftColor:{values:ne,transform:te("borderLeftColor")},borderInlineStartColor:{values:ne,shorthand:["borderStartColor"],transform:te("borderInlineStartColor")},borderRightColor:{values:ne,transform:te("borderRightColor")},borderInlineEndColor:{values:ne,shorthand:["borderEndColor"],transform:te("borderInlineEndColor")},borderStyle:{values:"borderStyles"},borderTopStyle:{values:"borderStyles"},borderBlockStartStyle:{values:"borderStyles"},borderBottomStyle:{values:"borderStyles"},borderBlockEndStyle:{values:"borderStyles"},borderInlineStartStyle:{values:"borderStyles",shorthand:["borderStartStyle"]},borderInlineEndStyle:{values:"borderStyles",shorthand:["borderEndStyle"]},borderLeftStyle:{values:"borderStyles"},borderRightStyle:{values:"borderStyles"},borderRadius:{values:"radii",shorthand:["rounded"]},borderTopLeftRadius:{values:"radii",shorthand:["roundedTopLeft"]},borderStartStartRadius:{values:"radii",shorthand:["roundedStartStart","borderTopStartRadius"]},borderEndStartRadius:{values:"radii",shorthand:["roundedEndStart","borderBottomStartRadius"]},borderTopRightRadius:{values:"radii",shorthand:["roundedTopRight"]},borderStartEndRadius:{values:"radii",shorthand:["roundedStartEnd","borderTopEndRadius"]},borderEndEndRadius:{values:"radii",shorthand:["roundedEndEnd","borderBottomEndRadius"]},borderBottomLeftRadius:{values:"radii",shorthand:["roundedBottomLeft"]},borderBottomRightRadius:{values:"radii",shorthand:["roundedBottomRight"]},borderInlineStartRadius:{values:"radii",property:"borderRadius",shorthand:["roundedStart","borderStartRadius"],transform:e=>({borderStartStartRadius:e,borderEndStartRadius:e})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:e=>({borderTopLeftRadius:e,borderTopRightRadius:e})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:e=>({borderTopRightRadius:e,borderBottomRightRadius:e})},borderWidth:{values:"borderWidths"},borderBlockStartWidth:{values:"borderWidths"},borderTopWidth:{values:"borderWidths"},borderBottomWidth:{values:"borderWidths"},borderBlockEndWidth:{values:"borderWidths"},borderRightWidth:{values:"borderWidths"},borderInlineWidth:{values:"borderWidths",shorthand:["borderXWidth"]},borderInlineStartWidth:{values:"borderWidths",shorthand:["borderStartWidth"]},borderInlineEndWidth:{values:"borderWidths",shorthand:["borderEndWidth"]},borderLeftWidth:{values:"borderWidths"},borderBlockWidth:{values:"borderWidths",shorthand:["borderYWidth"]},color:{values:ne,transform:te("color")},fill:{values:ne,transform:te("fill")},stroke:{values:ne,transform:te("stroke")},accentColor:{values:ne,transform:te("accentColor")},divideX:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:e,borderInlineEndWidth:"0px"}}}},divideY:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:e,borderBottomWidth:"0px"}}}},divideColor:{values:ne,transform(e,t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":Jk(e,t)}}},divideStyle:{property:"borderStyle",transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}}}},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:ne,transform:te("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform(e){return e!=="auto"?{filter:e}:{filter:"var(--blur) var(--brightness) var(--contrast) var(--grayscale) var(--hue-rotate) var(--invert) var(--saturate) var(--sepia) var(--drop-shadow)"}}},blur:{values:"blurs",transform:e=>({"--blur":xe("blur",e)})},brightness:{transform:e=>({"--brightness":xe("brightness",e)})},contrast:{transform:e=>({"--contrast":xe("contrast",e)})},grayscale:{transform:e=>({"--grayscale":xe("grayscale",e)})},hueRotate:{transform:e=>({"--hue-rotate":xe("hue-rotate",hn(e))})},invert:{transform:e=>({"--invert":xe("invert",e)})},saturate:{transform:e=>({"--saturate":xe("saturate",e)})},sepia:{transform:e=>({"--sepia":xe("sepia",e)})},dropShadow:{transform:e=>({"--drop-shadow":xe("drop-shadow",e)})},backdropFilter:{transform(e){return e!=="auto"?{backdropFilter:e}:{backdropFilter:"var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-opacity) var(--backdrop-saturate) var(--backdrop-sepia)"}}},backdropBlur:{values:"blurs",transform:e=>({"--backdrop-blur":xe("blur",e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":xe("brightness",e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":xe("contrast",e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":xe("grayscale",e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":xe("hue-rotate",hn(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":xe("invert",e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":xe("opacity",e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":xe("saturate",e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":xe("sepia",e)})},flexBasis:{values:"sizes"},gap:{values:"spacing"},rowGap:{values:"spacing",shorthand:["gapY"]},columnGap:{values:"spacing",shorthand:["gapX"]},flexDirection:{shorthand:["flexDir"]},gridGap:{values:"spacing"},gridColumnGap:{values:"spacing"},gridRowGap:{values:"spacing"},outlineColor:{values:ne,transform:te("outlineColor")},focusRing:nh("&:is(:focus, [data-focus])"),focusVisibleRing:nh("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:ne,transform:te("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:e=>({"--focus-ring-offset":e})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:e=>({"--focus-ring-width":e})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:e=>({"--focus-ring-style":e})},aspectRatio:{values:"aspectRatios"},width:{values:"sizes",shorthand:["w"]},inlineSize:{values:"sizes"},height:{values:"sizes",shorthand:["h"]},blockSize:{values:"sizes"},boxSize:{values:"sizes",property:"width",transform:e=>({width:e,height:e})},minWidth:{values:"sizes",shorthand:["minW"]},minInlineSize:{values:"sizes"},minHeight:{values:"sizes",shorthand:["minH"]},minBlockSize:{values:"sizes"},maxWidth:{values:"sizes",shorthand:["maxW"]},maxInlineSize:{values:"sizes"},maxHeight:{values:"sizes",shorthand:["maxH"]},maxBlockSize:{values:"sizes"},hideFrom:{values:"breakpoints",transform:(e,{raw:t,token:n})=>({[n.raw(`breakpoints.${t}`)?`@breakpoint ${t}`:`@media screen and (min-width: ${e})`]:{display:"none"}})},hideBelow:{values:"breakpoints",transform(e,{raw:t,token:n}){return{[n.raw(`breakpoints.${t}`)?`@breakpoint ${t}Down`:`@media screen and (max-width: ${e})`]:{display:"none"}}}},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(e){switch(e){case"visible":return{msOverflowStyle:"auto",scrollbarWidth:"auto","&::-webkit-scrollbar":{display:"block"}};case"hidden":return{msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}};default:return{}}}},scrollbarColor:{values:ne,transform:te("scrollbarColor")},scrollbarGutter:{values:"spacing"},scrollbarWidth:{values:"sizes"},scrollMargin:{values:"spacing"},scrollMarginTop:{values:"spacing"},scrollMarginBottom:{values:"spacing"},scrollMarginLeft:{values:"spacing"},scrollMarginRight:{values:"spacing"},scrollMarginX:{values:"spacing",transform:e=>({scrollMarginLeft:e,scrollMarginRight:e})},scrollMarginY:{values:"spacing",transform:e=>({scrollMarginTop:e,scrollMarginBottom:e})},scrollPadding:{values:"spacing"},scrollPaddingTop:{values:"spacing"},scrollPaddingBottom:{values:"spacing"},scrollPaddingLeft:{values:"spacing"},scrollPaddingRight:{values:"spacing"},scrollPaddingInline:{values:"spacing",shorthand:["scrollPaddingX"]},scrollPaddingBlock:{values:"spacing",shorthand:["scrollPaddingY"]},scrollSnapType:{values:{none:"none",x:"x var(--scroll-snap-strictness)",y:"y var(--scroll-snap-strictness)",both:"both var(--scroll-snap-strictness)"}},scrollSnapStrictness:{values:["mandatory","proximity"],transform:e=>({"--scroll-snap-strictness":e})},scrollSnapMargin:{values:"spacing"},scrollSnapMarginTop:{values:"spacing"},scrollSnapMarginBottom:{values:"spacing"},scrollSnapMarginLeft:{values:"spacing"},scrollSnapMarginRight:{values:"spacing"},listStylePosition:{shorthand:["listStylePos"]},listStyleImage:{values:"assets",shorthand:["listStyleImg"]},position:{shorthand:["pos"]},zIndex:{values:"zIndex"},inset:{values:"spacing"},insetInline:{values:"spacing",shorthand:["insetX"]},insetBlock:{values:"spacing",shorthand:["insetY"]},top:{values:"spacing"},insetBlockStart:{values:"spacing"},bottom:{values:"spacing"},insetBlockEnd:{values:"spacing"},left:{values:"spacing"},right:{values:"spacing"},insetInlineStart:{values:"spacing",shorthand:["insetStart"]},insetInlineEnd:{values:"spacing",shorthand:["insetEnd"]},ring:{transform(e){return{"--ring-offset-shadow":"var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)","--ring-shadow":"var(--ring-inset) 0 0 0 calc(var(--ring-width) + var(--ring-offset-width)) var(--ring-color)","--ring-width":e,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"}}},ringColor:{values:ne,transform:te("--ring-color")},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:ne,transform:te("--ring-offset-color")},ringInset:{transform:e=>({"--ring-inset":e})},margin:{values:"spacing",shorthand:["m"]},marginTop:{values:"spacing",shorthand:["mt"]},marginBlockStart:{values:"spacing"},marginRight:{values:"spacing",shorthand:["mr"]},marginBottom:{values:"spacing",shorthand:["mb"]},marginBlockEnd:{values:"spacing"},marginLeft:{values:"spacing",shorthand:["ml"]},marginInlineStart:{values:"spacing",shorthand:["ms","marginStart"]},marginInlineEnd:{values:"spacing",shorthand:["me","marginEnd"]},marginInline:{values:"spacing",shorthand:["mx","marginX"]},marginBlock:{values:"spacing",shorthand:["my","marginY"]},padding:{values:"spacing",shorthand:["p"]},paddingTop:{values:"spacing",shorthand:["pt"]},paddingRight:{values:"spacing",shorthand:["pr"]},paddingBottom:{values:"spacing",shorthand:["pb"]},paddingBlockStart:{values:"spacing"},paddingBlockEnd:{values:"spacing"},paddingLeft:{values:"spacing",shorthand:["pl"]},paddingInlineStart:{values:"spacing",shorthand:["ps","paddingStart"]},paddingInlineEnd:{values:"spacing",shorthand:["pe","paddingEnd"]},paddingInline:{values:"spacing",shorthand:["px","paddingX"]},paddingBlock:{values:"spacing",shorthand:["py","paddingY"]},textDecoration:{shorthand:["textDecor"]},textDecorationColor:{values:ne,transform:te("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:e=>{let t=e;return e==="auto"&&(t="translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),e==="auto-gpu"&&(t="translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),{transform:t}}},skewX:{transform:e=>({"--skew-x":hn(e)})},skewY:{transform:e=>({"--skew-y":hn(e)})},scaleX:{transform:e=>({"--scale-x":e})},scaleY:{transform:e=>({"--scale-y":e})},scale:{transform(e){return e!=="auto"?{scale:e}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}}},spaceXReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":e?"1":void 0}}}},spaceX:{property:"marginInlineStart",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${e} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${e} * var(--space-x-reverse))`}})},spaceYReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":e?"1":void 0}}}},spaceY:{property:"marginTop",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${e} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${e} * var(--space-y-reverse))`}})},rotate:{transform(e){return e!=="auto"?{rotate:hn(e)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}}},rotateX:{transform(e){return{"--rotate-x":hn(e)}}},rotateY:{transform(e){return{"--rotate-y":hn(e)}}},translate:{transform(e){return e!=="auto"?{translate:e}:{translate:"var(--translate-x) var(--translate-y)"}}},translateX:{values:"spacing",transform:e=>({"--translate-x":e})},translateY:{values:"spacing",transform:e=>({"--translate-y":e})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(e){switch(e){case"all":return St("all");case"position":return St("left, right, top, bottom, inset-inline, inset-block");case"colors":return St("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return St("opacity");case"shadow":return St("box-shadow");case"transform":return St("transform");case"size":return St("width, height");case"backgrounds":return St("background, background-color, background-image, background-position");case"common":return St("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:e}}}},transitionDuration:{values:"durations"},transitionProperty:{values:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, translate, transform",colors:"background-color, border-color, color, fill, stroke",size:"width, height",position:"left, right, top, bottom, inset-inline, inset-block",background:"background, background-color, background-image, background-position"}},transitionTimingFunction:{values:"easings"},animation:{values:"animations"},animationDuration:{values:"durations"},animationDelay:{values:"durations"},animationTimingFunction:{values:"easings"},fontFamily:{values:"fonts"},fontSize:{values:"fontSizes"},fontWeight:{values:"fontWeights"},lineHeight:{values:"lineHeights"},letterSpacing:{values:"letterSpacings"},textIndent:{values:"spacing"},truncate:{values:{type:"boolean"},transform(e){return e===!0?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}}},lineClamp:{transform(e){return e==="none"?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",textWrap:"wrap"}}},borderSpacing:{values:e=>({...e("spacing"),auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform(e){return{"--border-spacing-x":e}}},borderSpacingY:{values:"spacing",transform(e){return{"--border-spacing-y":e}}},srOnly:{values:{type:"boolean"},transform(e){return tC[e]||{}}},debug:{values:{type:"boolean"},transform(e){return e?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}}},caretColor:{values:ne,transform:te("caretColor")},cursor:{values:"cursor"}}}),tC={true:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},false:{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}};var nC="",rC=nC.split(","),oC="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical",iC=oC.split(",").concat(rC),sC=new Map(iC.map(e=>[e,!0]));function aC(e){const t=Object.create(null);return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var lC=/&|@/,cC=aC(e=>sC.has(e)||e.startsWith("--")||lC.test(e));function oh(e,t){const n={};return gt(e,(r,o)=>{r&&(n[o.join(".")]=r.value)},{stop:t}),n}var Ca,ih;function uC(){if(ih)return Ca;ih=1,Ca=i,i.default=i,i.stable=c,i.stableStringify=c;var e="[...]",t="[Circular]",n=[],r=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function i(d,m,f,p){typeof p>"u"&&(p=o()),a(d,"",0,[],void 0,0,p);var v;try{r.length===0?v=JSON.stringify(d,m,f):v=JSON.stringify(d,h(m),f)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;n.length!==0;){var b=n.pop();b.length===4?Object.defineProperty(b[0],b[1],b[3]):b[0][b[1]]=b[2]}}return v}function s(d,m,f,p){var v=Object.getOwnPropertyDescriptor(p,f);v.get!==void 0?v.configurable?(Object.defineProperty(p,f,{value:d}),n.push([p,f,m,v])):r.push([m,f,d]):(p[f]=d,n.push([p,f,m]))}function a(d,m,f,p,v,b,y){b+=1;var x;if(typeof d=="object"&&d!==null){for(x=0;x<p.length;x++)if(p[x]===d){s(t,d,m,v);return}if(typeof y.depthLimit<"u"&&b>y.depthLimit){s(e,d,m,v);return}if(typeof y.edgesLimit<"u"&&f+1>y.edgesLimit){s(e,d,m,v);return}if(p.push(d),Array.isArray(d))for(x=0;x<d.length;x++)a(d[x],x,x,p,d,b,y);else{var w=Object.keys(d);for(x=0;x<w.length;x++){var k=w[x];a(d[k],k,x,p,d,b,y)}}p.pop()}}function l(d,m){return d<m?-1:d>m?1:0}function c(d,m,f,p){typeof p>"u"&&(p=o());var v=u(d,"",0,[],void 0,0,p)||d,b;try{r.length===0?b=JSON.stringify(v,m,f):b=JSON.stringify(v,h(m),f)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;n.length!==0;){var y=n.pop();y.length===4?Object.defineProperty(y[0],y[1],y[3]):y[0][y[1]]=y[2]}}return b}function u(d,m,f,p,v,b,y){b+=1;var x;if(typeof d=="object"&&d!==null){for(x=0;x<p.length;x++)if(p[x]===d){s(t,d,m,v);return}try{if(typeof d.toJSON=="function")return}catch{return}if(typeof y.depthLimit<"u"&&b>y.depthLimit){s(e,d,m,v);return}if(typeof y.edgesLimit<"u"&&f+1>y.edgesLimit){s(e,d,m,v);return}if(p.push(d),Array.isArray(d))for(x=0;x<d.length;x++)u(d[x],x,x,p,d,b,y);else{var w={},k=Object.keys(d).sort(l);for(x=0;x<k.length;x++){var O=k[x];u(d[O],O,x,p,d,b,y),w[O]=d[O]}if(typeof v<"u")n.push([v,m,d]),v[m]=w;else return w}p.pop()}}function h(d){return d=typeof d<"u"?d:function(m,f){return f},function(m,f){if(r.length>0)for(var p=0;p<r.length;p++){var v=r[p];if(v[1]===m&&v[0]===f){f=v[2],r.splice(p,1);break}}return d.call(this,m,f)}}return Ca}var dC=uC();const hC=Ep(dC),rt=e=>{const t=Object.create(null);function n(...r){const o=r.map(i=>hC(i)).join("|");return t[o]===void 0&&(t[o]=e(...r)),t[o]}return n},sh=16,li="px",wa="em",jr="rem";function ah(e=""){const t=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),n=new RegExp(`${li}|${wa}|${jr}`);return e.match(new RegExp(`${t.source}(${n.source})`))?.[1]}function lh(e=""){if(typeof e=="number")return`${e}px`;const t=ah(e);if(!t||t===li)return e;if(t===wa||t===jr)return`${parseFloat(e)*sh}${li}`}function ch(e=""){const t=ah(e);if(!t||t===jr)return e;if(t===wa)return`${parseFloat(e)}${jr}`;if(t===li)return`${parseFloat(e)/sh}${jr}`}const fC=e=>e.charAt(0).toUpperCase()+e.slice(1);function gC(e){const t=pC(e),n=Object.fromEntries(t);function r(d){return n[d]}function o(d){return rr(r(d))}function i(){const d=Object.keys(n),m=mC(d),f=d.flatMap(p=>{const v=r(p),b=[`${p}Down`,rr({max:ci(v.min)})],y=[p,rr({min:v.min})],x=[`${p}Only`,o(p)];return[y,x,b]}).filter(([,p])=>p!=="").concat(m.map(([p,v])=>{const b=r(p),y=r(v);return[`${p}To${fC(v)}`,rr({min:b.min,max:ci(y.min)})]}));return Object.fromEntries(f)}function s(){const d=i();return Object.fromEntries(Object.entries(d))}const a=s(),l=d=>a[d];function c(){return["base",...Object.keys(n)]}function u(d){return rr({min:r(d).min})}function h(d){return rr({max:ci(r(d).min)})}return{values:Object.values(n),only:o,keys:c,conditions:a,getCondition:l,up:u,down:h}}function ci(e){const t=parseFloat(lh(e)??"")-.04;return ch(`${t}px`)}function pC(e){return Object.entries(e).sort(([,n],[,r])=>parseInt(n,10)<parseInt(r,10)?-1:1).map(([n,r],o,i)=>{let s=null;return o<=i.length-1&&(s=i[o+1]?.[1]),s!=null&&(s=ci(s)),[n,{name:n,min:ch(r),max:s}]})}function mC(e){const t=[];return e.forEach((n,r)=>{let o=r;o++;let i=e[o];for(;i;)t.push([n,i]),o++,i=e[o]}),t}function rr({min:e,max:t}){return e==null&&t==null?"":["@media screen",e&&`(min-width: ${e})`,t&&`(max-width: ${t})`].filter(Boolean).join(" and ")}const vC=(e,t)=>Object.fromEntries(Object.entries(e).map(([n,r])=>t(n,r))),bC=e=>{const{breakpoints:t,conditions:n={}}=e,r=vC(n,(u,h)=>[`_${u}`,h]),o=Object.assign({},r,t.conditions);function i(){return Object.keys(o)}function s(u){return i().includes(u)||/^@|&|&$/.test(u)||u.startsWith("_")}function a(u){return u.filter(h=>h!=="base").sort((h,d)=>{const m=s(h),f=s(d);return m&&!f?1:!m&&f?-1:0})}function l(u){return u.startsWith("@breakpoint")?t.getCondition(u.replace("@breakpoint ","")):u}function c(u){return Reflect.get(o,u)||u}return{keys:i,sort:a,has:s,resolve:c,breakpoints:t.keys(),expandAtRule:l}},uh=e=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${e})(.|
 )+\\(\\s*max(-device)?-${e}`,"i"),min:new RegExp(`\\(\\s*min(-device)?-${e}`,"i"),maxMin:new RegExp(`(!?\\(\\s*max(-device)?-${e})(.|
-)+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),cC=th("width"),uC=th("height"),nh=e=>({isMin:lh(e.minMax,e.maxMin,e.min),isMax:lh(e.maxMin,e.minMax,e.max)}),{isMin:xa,isMax:rh}=nh(cC),{isMin:ka,isMax:oh}=nh(uC),ih=/print/i,sh=/^print$/i,dC=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,hC=/(\d)/,Mr=Number.MAX_VALUE,fC={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function ah(e){const t=dC.exec(e)||(xa(e)||ka(e)?hC.exec(e):null);if(!t)return Mr;if(t[0]==="0")return 0;const n=parseFloat(t[1]),r=t[2];return n*(fC[r]||1)}function lh(e,t,n){return r=>e.test(r)||!t.test(r)&&n.test(r)}function gC(e,t){const n=ih.test(e),r=sh.test(e),o=ih.test(t),i=sh.test(t);return n&&o?!r&&i?1:r&&!i?-1:e.localeCompare(t):n?1:o?-1:null}const pC=rt((e,t)=>{const n=gC(e,t);if(n!==null)return n;const r=xa(e)||ka(e),o=rh(e)||oh(e),i=xa(t)||ka(t),s=rh(t)||oh(t);if(r&&s)return-1;if(o&&i)return 1;const a=ah(e),l=ah(t);return a===Mr&&l===Mr?e.localeCompare(t):a===Mr?1:l===Mr?-1:a!==l?a>l?o?-1:1:o?1:-1:e.localeCompare(t)});function ch(e){return e.sort(([t],[n])=>pC(t,n))}function uh(e){const t=[],n=[],r={};for(const[s,a]of Object.entries(e))s.startsWith("@media")?t.push([s,a]):s.startsWith("@container")?n.push([s,a]):_e(a)?r[s]=uh(a):r[s]=a;const o=ch(t),i=ch(n);return{...r,...Object.fromEntries(o),...Object.fromEntries(i)}}const dh=/\s*!(important)?/i,mC=e=>lt(e)?dh.test(e):!1,vC=e=>lt(e)?e.replace(dh,"").trim():e;function hh(e){const{transform:t,conditions:n,normalize:r}=e,o=xC(e);return rt(function(...s){const a=o(...s),l=r(a),c=Object.create(null);return gt(l,(u,d)=>{const h=mC(u);if(u==null)return;const[m,...g]=n.sort(d).map(n.resolve);h&&(u=vC(u));let p=t(m,u)??Object.create(null);p=gt(p,v=>lt(v)&&h?`${v} !important`:v,{getKey:v=>n.expandAtRule(v)}),bC(c,g.flat(),p)}),uh(c)})}function bC(e,t,n){let r=e;for(const o of t)o&&(r[o]||(r[o]=Object.create(null)),r=r[o]);Jn(r,n)}function yC(...e){return e.filter(t=>_e(t)&&Object.keys(vr(t)).length>0)}function xC(e){function t(n){const r=yC(...n);return r.length===1?r:r.map(o=>e.normalize(o))}return rt(function(...r){return Jn({},...t(r))})}const fh=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});function kC(e){const{css:t,conditions:n,normalize:r,layers:o}=e;function i(a={}){const{base:l,variants:c,defaultVariants:u,compoundVariants:d}=fh(a),h=hh({conditions:n,normalize:r,transform(x,b){return c[x]?.[b]}}),m=(x={})=>{const b=r({...u,...vr(x)});let C={...l};Jn(C,h(b));const k=s(d,b);return o.wrap("recipes",t(C,k))},g=Object.keys(c),p=x=>{const b=Bd(x,["recipe"]),[C,k]=Vn(b,g);return g.includes("colorPalette")||(C.colorPalette=x.colorPalette||u.colorPalette),g.includes("orientation")&&(k.orientation=x.orientation),[C,k]},v=Object.fromEntries(Object.entries(c).map(([x,b])=>[x,Object.keys(b)]));return Object.assign(x=>t(m(x)),{className:a.className,__cva__:!0,variantMap:v,variantKeys:g,raw:m,config:a,splitVariantProps:p,merge(x){return i(CC(e)(this,x))}})}function s(a,l){let c={};return a.forEach(u=>{Object.entries(u).every(([h,m])=>h==="css"?!0:(Array.isArray(m)?m:[m]).some(p=>l[h]===p))&&(c=t(c,u.css))}),c}return i}function CC(e){const{css:t}=e;return function(r,o){const i=fh(o.config),s=Vl(r.variantKeys,Object.keys(o.variants)),a=t(r.base,i.base),l=Object.fromEntries(s.map(h=>[h,t(r.config.variants[h],i.variants[h])])),c=Jn(r.config.defaultVariants,i.defaultVariants),u=[...r.compoundVariants,...i.compoundVariants];return{className:Ge(r.className,o.className),base:a,variants:l,defaultVariants:c,compoundVariants:u}}}const SC={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},gh={reset:0,base:1,tokens:2,recipes:3};function wC(e){const t=e.layers??SC,r=Object.values(t).sort((o,i)=>gh[o]-gh[i]);return{names:r,atRule:`@layer ${r.join(", ")};`,wrap(o,i){return e.disableLayers?i:{[`@layer ${t[o]}`]:i}}}}function EC(e){const{utility:t,normalize:n}=e,{hasShorthand:r,resolveShorthand:o}=t;return function(i){return gt(i,n,{stop:s=>Array.isArray(s),getKey:r?o:void 0})}}function OC(e){const{preflight:t}=e;if(!t)return{};const{scope:n="",level:r="parent"}=_e(t)?t:{};let o="";n&&r==="parent"?o=`${n} `:n&&r==="element"&&(o=`&${n}`);const i={"*":{margin:"0px",padding:"0px",font:"inherit",wordWrap:"break-word",WebkitTapHighlightColor:"transparent"},"*, *::before, *::after, *::backdrop":{boxSizing:"border-box",borderWidth:"0px",borderStyle:"solid",borderColor:"var(--global-color-border, currentColor)"},hr:{height:"0px",color:"inherit",borderTopWidth:"1px"},body:{minHeight:"100dvh",position:"relative"},img:{borderStyle:"none"},"img, svg, video, canvas, audio, iframe, embed, object":{display:"block",verticalAlign:"middle"},iframe:{border:"none"},"img, video":{maxWidth:"100%",height:"auto"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"ol, ul":{listStyle:"none"},"code, kbd, pre, samp":{fontSize:"1em"},"button, [type='button'], [type='reset'], [type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},"button, input, optgroup, select, textarea":{color:"inherit"},"button, select":{textTransform:"none"},table:{textIndent:"0px",borderColor:"inherit",borderCollapse:"collapse"},"*::placeholder":{opacity:"unset",color:"#9ca3af",userSelect:"none"},textarea:{resize:"vertical"},summary:{display:"list-item"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},dialog:{padding:"0px"},a:{color:"inherit",textDecoration:"inherit"},"abbr:where([title])":{textDecoration:"underline dotted"},"b, strong":{fontWeight:"bolder"},"code, kbd, samp, pre":{fontSize:"1em","--font-mono-fallback":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",fontFamily:"var(--global-font-mono, var(--font-mono-fallback))"},'input[type="text"], input[type="email"], input[type="search"], input[type="password"]':{WebkitAppearance:"none",MozAppearance:"none"},"input[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration, ::-webkit-search-cancel-button":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},'input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button':{height:"auto"},"input[type='number']":{MozAppearance:"textfield"},":-moz-ui-invalid":{boxShadow:"none"},":-moz-focusring":{outline:"auto"},"[hidden]:where(:not([hidden='until-found']))":{display:"none !important"}},s={[n||"html"]:{lineHeight:1.5,"--font-fallback":"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'",WebkitTextSizeAdjust:"100%",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility",touchAction:"manipulation",MozTabSize:"4",tabSize:"4",fontFamily:"var(--global-font-body, var(--font-fallback))"}};if(r==="element"){const a=Object.entries(i).reduce((l,[c,u])=>(l[c]={[o]:u},l),{});Object.assign(s,a)}else o?s[o]=i:Object.assign(s,i);return s}function PC(e){const{conditions:t,isValidProperty:n}=e;return function(o){return gt(o,i=>i,{getKey:(i,s)=>_e(s)&&!t.has(i)&&!n(i)?IC(i).map(a=>"&"+a).join(", "):i})}}function IC(e){const t=[];let n=0,r="",o=!1;for(let i=0;i<e.length;i++){const s=e[i];if(s==="\\"&&!o){o=!0,r+=s;continue}if(o){o=!1,r+=s;continue}s==="("?n++:s===")"&&n--,s===","&&n===0?(t.push(r.trim()),r=""):r+=s}return r&&t.push(r.trim()),t}const RC=(e={})=>{const t=o=>({base:e.base?.[o]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?TC(e.compoundVariants,o):[]}),r=(e.slots??[]).map(o=>[o,t(o)]);for(const[o,i]of Object.entries(e.variants??{}))for(const[s,a]of Object.entries(i))r.forEach(([l,c])=>{var u;(u=c.variants)[o]??(u[o]={}),c.variants[o][s]=a[l]??{}});return Object.fromEntries(r)},TC=(e,t)=>e.filter(n=>n.css[t]).map(n=>({...n,css:n.css[t]}));function NC(e){const{cva:t}=e;return function(r={}){const o=Object.entries(RC(r)).map(([d,h])=>[d,t(h)]);function i(d){const h=o.map(([m,g])=>[m,g(d)]);return Object.fromEntries(h)}const s=r.variants??{},a=Object.keys(s);function l(d){const h=Bd(d,["recipe"]),[m,g]=Vn(h,a);return a.includes("colorPalette")||(m.colorPalette=d.colorPalette||r.defaultVariants?.colorPalette),a.includes("orientation")&&(g.orientation=d.orientation),[m,g]}const c=Object.fromEntries(Object.entries(s).map(([d,h])=>[d,Object.keys(h)]));let u={};return r.className&&(u=Object.fromEntries(r.slots.map(d=>[d,`${r.className}__${d}`]))),Object.assign(i,{variantMap:c,variantKeys:a,splitVariantProps:l,classNameMap:u})}}const AC=()=>e=>Array.from(new Set(e)),_C=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,VC=function(e,t){return t?e==="\0"?"�":e==="-"&&e.length===1?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},ph=e=>(e+"").replace(_C,VC),mh=(e,t)=>{let n="",r=0,o="char",i="",s="";const a=[];for(;r<e.length;){const l=e[r];if(l==="{"){const u=e.indexOf("}",r);if(u===-1)break;const d=e.slice(r+1,u),h=t(d);n+=h??d,r=u+1;continue}if(o==="token"&&l===","){e[r]===""&&r++,o="fallback",a.push(o);const u=t(i);u?.endsWith(")")&&(n+=u.slice(0,-1)),i="",s="";continue}if(o==="fallback"&&s+l===", var("){const h=FC(e.slice(r+1))+r+1,m=e.slice(r+1,h);if(h===-1)break;n+=", var("+m+")",r=h+1,o=a.pop()??o,s="";continue}if(o==="token"||o==="fallback"){if(r++,l===")"){o=a.pop()??o??"char",s+=l;const u=i&&(t(i)??ph(i));if(s){if(s=s.slice(1).trim(),!s.startsWith("token(")&&s.endsWith(")")&&(s=s.slice(0,-1)),s.includes("token(")){const h=mh(s,t);h&&(s=h.slice(0,-1))}else if(s){const h=t(s);h&&(s=h)}}const d=n.at(-1);s?d?.trim()?n+=u.slice(0,-1)+(", "+s+")"):n+=s:n+=u||")",i="",s="",o="char";continue}o==="token"&&(i+=l),o==="fallback"&&(s+=l);continue}const c=e.indexOf("token(",r);if(c!==-1){const u=c+6;n+=e.slice(r,c),r=u,o="token",a.push(o);continue}n+=l,r++}return n},FC=e=>{let t=0;const n=["("];for(;t<e.length;){const r=e[t];if(r==="(")n.push(r);else if(r===")"&&(n.pop(),n.length===0))return t;t++}return t};function vh(e){const t={};return e.forEach((n,r)=>{n instanceof Map?t[r]=Object.fromEntries(n):t[r]=n}),t}const bh=/({([^}]*)})/g,LC=/[{}]/g,DC=/\w+\.\w+/,yh=e=>{if(!lt(e))return[];const t=e.match(bh);return t?t.map(n=>n.replace(LC,"")).map(n=>n.trim()):[]},zC=e=>bh.test(e);function xh(e){if(!e.extensions?.references)return e.extensions?.cssVar?.ref??e.value;const t=e.extensions.references??{};return e.value=Object.keys(t).reduce((n,r)=>{const o=t[r];if(o.extensions.conditions)return n;const i=xh(o);return n.replace(`{${r}}`,i)},e.value),delete e.extensions.references,e.value}function kh(e){return _e(e)&&e.reference?e.reference:String(e)}const ai=(e,...t)=>t.map(kh).join(` ${e} `).replace(/calc/g,""),Ch=(...e)=>`calc(${ai("+",...e)})`,Sh=(...e)=>`calc(${ai("-",...e)})`,Ca=(...e)=>`calc(${ai("*",...e)})`,wh=(...e)=>`calc(${ai("/",...e)})`,Eh=e=>{const t=kh(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Ca(t,-1)},nr=Object.assign(e=>({add:(...t)=>nr(Ch(e,...t)),subtract:(...t)=>nr(Sh(e,...t)),multiply:(...t)=>nr(Ca(e,...t)),divide:(...t)=>nr(wh(e,...t)),negate:()=>nr(Eh(e)),toString:()=>e.toString()}),{add:Ch,subtract:Sh,multiply:Ca,divide:wh,negate:Eh}),MC={enforce:"pre",transform(e){const{prefix:t,allTokens:n,formatCssVar:r,formatTokenName:o,registerToken:i}=e;n.filter(({extensions:a})=>a.category==="spacing").forEach(a=>{const l=a.path.slice(),c=r(l,t);if(lt(a.value)&&a.value==="0rem")return;const u=structuredClone(a);Object.assign(u.extensions,{negative:!0,prop:`-${a.extensions.prop}`,originalPath:l}),u.value=nr.negate(c.ref);const d=u.path[u.path.length-1];d!=null&&(u.path[u.path.length-1]=`-${d}`),u.path&&(u.name=o(u.path)),i(u)})}},jC=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),$C=[MC,{enforce:"post",transform(e){const{allTokens:t,registerToken:n,formatTokenName:r}=e,o=t.filter(({extensions:a})=>a.category==="colors"),i=new Map,s=new Map;o.forEach(a=>{const{colorPalette:l}=a.extensions;l&&(l.keys.forEach(c=>{i.set(r(c),c)}),l.roots.forEach(c=>{const u=r(c),d=s.get(u)||[];if(d.push(a),s.set(u,d),a.extensions.default&&c.length===1){const h=l.keys[0]?.filter(Boolean);if(!h.length)return;const m=c.concat(h);i.set(r(m),[])}}))}),i.forEach(a=>{const l=["colors","colorPalette",...a].filter(Boolean),c=r(l),u=r(l.slice(1));n({name:c,value:c,originalValue:c,path:l,extensions:{condition:"base",originalPath:l,category:"colors",prop:u,virtual:!0}},"pre")})}},{enforce:"post",transform(e){e.allTokens.filter(n=>jC.has(n.extensions.category)&&!n.extensions.negative).forEach(n=>{Object.assign(n.extensions,{pixelValue:Zd(n.value)})})}},{enforce:"post",transform(e){e.allTokens=e.allTokens.filter(t=>t.value!=="")}}],BC=[{type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,t){const{prefix:n,formatCssVar:r}=t,{negative:o,originalPath:i}=e.extensions,s=o?i:e.path;return{cssVar:r(s.filter(Boolean),n)}}},{enforce:"post",type:"value",name:"tokens/conditionals",transform(e,t){const{prefix:n,formatCssVar:r}=t,o=yh(e.value);return o.length&&o.forEach(i=>{const s=r(i.split("."),n);e.value=e.value.replace(`{${s.ref}}`,s)}),e.value}},{type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match(e){return e.extensions.category==="colors"&&!e.extensions.virtual},transform(e,t){let n=e.path.slice();if(n.pop(),n.shift(),n.length===0){const a=[...e.path];a.shift(),n=a}if(n.length===0)return{};const r=n.reduce((a,l,c,u)=>{const d=u.slice(0,c+1);return a.push(d),a},[]),o=n[0],i=t.formatTokenName(n),s=e.path.slice(e.path.indexOf(o)+1).reduce((a,l,c,u)=>(a.push(u.slice(c)),a),[]);return s.length===0&&s.push([""]),{colorPalette:{value:i,roots:r,keys:s}}}}],Oh=e=>_e(e)&&Object.prototype.hasOwnProperty.call(e,"value");function WC(e){return e?{breakpoints:Wd(e,t=>({value:t})),sizes:Object.fromEntries(Object.entries(e).map(([t,n])=>[`breakpoint-${t}`,{value:n}]))}:{breakpoints:{},sizes:{}}}function HC(e){const{prefix:t="",tokens:n={},semanticTokens:r={},breakpoints:o={}}=e,i=L=>L.join("."),s=(L,F)=>Gd(L.join("-"),{prefix:F}),a=[],l=new Map,c=new Map,u=new Map,d=new Map,h=new Map,m=new Map,g=new Map,p=new Map,v=[];function y(L,F){a.push(L),l.set(L.name,L),F&&p.forEach(K=>{K.enforce===F&&q(K,L)})}const x=WC(o),b=vr({...n,breakpoints:x.breakpoints,sizes:{...n.sizes,...x.sizes}});function C(){gt(b,(L,F)=>{const K=F.includes("DEFAULT");F=Ph(F);const ie=F[0],me=i(F),Oe=lt(L)?{value:L}:L,Rt={value:Oe.value,originalValue:Oe.value,name:me,path:F,extensions:{condition:"base",originalPath:F,category:ie,prop:i(F.slice(1))}};K&&(Rt.extensions.default=!0),y(Rt)},{stop:Oh}),gt(r,(L,F)=>{const K=F.includes("DEFAULT");F=Ih(Ph(F));const ie=F[0],me=i(F),Oe=lt(L.value)?{value:{base:L.value}}:L,Rt={value:Oe.value.base||"",originalValue:Oe.value.base||"",name:me,path:F,extensions:{originalPath:F,category:ie,conditions:Oe.value,condition:"base",prop:i(F.slice(1))}};K&&(Rt.extensions.default=!0),y(Rt)},{stop:Oh})}function k(L){return l.get(L)}function E(L){const{condition:F}=L.extensions;F&&(c.has(F)||c.set(F,new Set),c.get(F).add(L))}function I(L){const{category:F,prop:K}=L.extensions;F&&(g.has(F)||g.set(F,new Map),g.get(F).set(K,L))}function R(L){const{condition:F,negative:K,virtual:ie,cssVar:me}=L.extensions;K||ie||!F||!me||(u.has(F)||u.set(F,new Map),u.get(F).set(me.var,L.value))}function _(L){const{category:F,prop:K,cssVar:ie,negative:me}=L.extensions;if(!F)return;m.has(F)||m.set(F,new Map);const Oe=me?L.extensions.conditions?L.originalValue:L.value:ie.ref;m.get(F).set(K,Oe),h.set([F,K].join("."),Oe)}function A(L){const{colorPalette:F,virtual:K,default:ie}=L.extensions;!F||K||F.roots.forEach(me=>{const Oe=i(me);d.has(Oe)||d.set(Oe,new Map);const Rt=GC([...L.path],[...me]),Mi=i(Rt),il=k(Mi);if(!il||!il.extensions.cssVar)return;const{var:$R}=il.extensions.cssVar;if(d.get(Oe).set($R,L.extensions.cssVar.ref),ie&&me.length===1){const BR=i(["colors","colorPalette"]),lp=k(BR);if(!lp)return;const WR=i(L.path),cp=k(WR);if(!cp)return;const up=F.keys[0]?.filter(Boolean);if(!up.length)return;const sl=i(me.concat(up));d.has(sl)||d.set(sl,new Map),d.get(sl).set(lp.extensions.cssVar.var,cp.extensions.cssVar.ref)}})}let T={};function S(){a.forEach(L=>{E(L),I(L),R(L),_(L),A(L)}),T=vh(m)}const N=(L,F)=>{if(!L||typeof L!="string")return{invalid:!0,value:L};const[K,ie]=L.split("/");if(!K||!ie)return{invalid:!0,value:K};const me=F(K),Oe=k(`opacity.${ie}`)?.value;if(!Oe&&isNaN(Number(ie)))return{invalid:!0,value:K};const Rt=Oe?Number(Oe)*100+"%":`${ie}%`,Mi=me??K;return{invalid:!1,color:Mi,value:`color-mix(in srgb, ${Mi} ${Rt}, transparent)`}},D=rt((L,F)=>h.get(L)??F),z=rt(L=>T[L]||null),W=rt(L=>mh(L,F=>{if(!F)return;if(F.includes("/")){const ie=N(F,me=>D(me));if(ie.invalid)throw new Error("Invalid color mix at "+F+": "+ie.value);return ie.value}const K=D(F);return K||(DC.test(F)?ph(F):F)})),J={prefix:t,allTokens:a,tokenMap:l,registerToken:y,getByName:k,formatTokenName:i,formatCssVar:s,flatMap:h,cssVarMap:u,categoryMap:g,colorPaletteMap:d,getVar:D,getCategoryValues:z,expandReferenceInValue:W};function ee(...L){L.forEach(F=>{p.set(F.name,F)})}function $(...L){v.push(...L)}function q(L,F){if(F.extensions.references||is(L.match)&&!L.match(F))return;const ie=(me=>L.transform(me,J))(F);switch(!0){case L.type==="extensions":Object.assign(F.extensions,ie);break;case L.type==="value":F.value=ie;break;default:F[L.type]=ie;break}}function Z(L){v.forEach(F=>{F.enforce===L&&F.transform(J)})}function pe(L){p.forEach(F=>{F.enforce===L&&a.forEach(K=>{q(F,K)})})}function Je(){a.forEach(L=>{const F=UC(L);!F||F.length===0||F.forEach(K=>{y(K)})})}function vt(L){return yh(L).map(K=>k(K)).filter(Boolean)}function It(){a.forEach(L=>{if(!zC(L.value))return;const F=vt(L.value);L.extensions.references=F.reduce((K,ie)=>(K[ie.name]=ie,K),{})})}function ol(){a.forEach(L=>{xh(L)})}function jR(){Z("pre"),pe("pre"),Je(),It(),ol(),Z("post"),pe("post"),S()}return C(),ee(...BC),$(...$C),jR(),J}function Ph(e){return e[0]==="DEFAULT"?e:e.filter(t=>t!=="DEFAULT")}function Ih(e){return e.filter(t=>t!=="base")}function UC(e){if(!e.extensions.conditions)return;const{conditions:t}=e.extensions,n=[];return gt(t,(r,o)=>{const i=Ih(o);if(!i.length)return;const s=structuredClone(e);s.value=r,s.extensions.condition=i.join(":"),n.push(s)}),n}function GC(e,t){const n=e.findIndex((r,o)=>t.every((i,s)=>e[o+s]===i));return n===-1||(e.splice(n,t.length),e.splice(n,0,"colorPalette")),e}AC()(["aspectRatios","zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","cursor","borders","borderWidths","borderStyles","durations","easings","animations","blurs","gradients","breakpoints","assets"]);function oT(e){return e}function qC(e){return Object.fromEntries(Object.entries(e).map(([t,n])=>[t,n]))}function KC(e){const t=qC(e.config),n=e.tokens,r=new Map,o=new Map;function i(R,_){t[R]=_,s(R,_)}const s=(R,_)=>{const A=p(_);A&&(o.set(R,A),d(R,_))},a=()=>{for(const[R,_]of Object.entries(t))_&&s(R,_)},l=()=>{for(const[R,_]of Object.entries(t)){const{shorthand:A}=_??{};if(!A)continue;(Array.isArray(A)?A:[A]).forEach(S=>r.set(S,R))}},c=()=>{const R=vh(n.colorPaletteMap);i("colorPalette",{values:Object.keys(R),transform:rt(_=>R[_])})},u=new Map,d=(R,_)=>{if(!_)return;const A=p(_,S=>`type:Tokens["${S}"]`);if(typeof A=="object"&&A.type){u.set(R,new Set([`type:${A.type}`]));return}if(A){const S=new Set(Object.keys(A));u.set(R,S)}const T=u.get(R)??new Set;_.property&&u.set(R,T.add(`CssProperties["${_.property}"]`))},h=()=>{for(const[R,_]of Object.entries(t))_&&d(R,_)},m=(R,_)=>{const A=u.get(R)??new Set;u.set(R,new Set([...A,..._]))},g=()=>{const R=new Map;for(const[_,A]of u.entries()){if(A.size===0){R.set(_,["string"]);continue}const T=Array.from(A).map(S=>S.startsWith("CssProperties")?S:S.startsWith("type:")?S.replace("type:",""):JSON.stringify(S));R.set(_,T)}return R},p=(R,_)=>{const{values:A}=R,T=S=>{const N=_?.(S);return N?{[N]:N}:void 0};return lt(A)?T?.(A)??n.getCategoryValues(A)??{}:Array.isArray(A)?A.reduce((S,N)=>(S[N]=N,S),{}):is(A)?A(_?T:n.getCategoryValues):A},v=rt((R,_)=>({[R]:R.startsWith("--")?n.getVar(_,_):_})),y=Object.assign(n.getVar,{raw:R=>n.getByName(R)}),x=rt((R,_)=>{const A=k(R);lt(_)&&!_.includes("_EMO_")&&(_=n.expandReferenceInValue(_));const T=t[A];if(!T)return v(A,_);const S=o.get(A)?.[_];if(!T.transform)return v(R,S??_);const N=D=>Rk(D,y);return T.transform(S??_,{raw:_,token:y,utils:{colorMix:N}})});function b(){l(),c(),a(),h()}b();const C=r.size>0,k=rt(R=>r.get(R)??R);return{keys:()=>[...Array.from(r.keys()),...Object.keys(t)],hasShorthand:C,transform:x,shorthands:r,resolveShorthand:k,register:i,getTypes:g,addPropertyType:m}}const De={};function Rh(...e){const t=Hd(...e),{theme:n={},utilities:r={},globalCss:o={},cssVarsRoot:i=":where(:root, :host)",cssVarsPrefix:s="chakra",preflight:a}=t,l=wC(t),c=HC({breakpoints:n.breakpoints,tokens:n.tokens,semanticTokens:n.semanticTokens,prefix:s}),u=oC(n.breakpoints??De),d=lC({conditions:t.conditions??De,breakpoints:u}),h=KC({config:r,tokens:c});function m(){const{textStyles:$,layerStyles:q,animationStyles:Z}=n,pe=vr({textStyle:$,layerStyle:q,animationStyle:Z});for(const[Je,vt]of Object.entries(pe)){const It=Yd(vt??De,Th);h.register(Je,{values:Object.keys(It),transform(ol){return b(It[ol])}})}}m(),h.addPropertyType("animationName",Object.keys(n.keyframes??De));const g=new Set(["css",...h.keys(),...d.keys()]),p=rt($=>g.has($)||Zk($)),v=$=>Array.isArray($)?$.reduce((q,Z,pe)=>{const Je=d.breakpoints[pe];return Z!=null&&(q[Je]=Z),q},{}):$,y=EC({utility:h,normalize:v}),x=PC({conditions:d,isValidProperty:p}),b=hh({transform:h.transform,conditions:d,normalize:y}),C=kC({css:b,conditions:d,normalize:y,layers:l}),k=NC({cva:C});function E(){const $={};for(const[q,Z]of c.cssVarMap.entries()){const pe=Object.fromEntries(Z);if(Object.keys(pe).length===0)continue;const Je=q==="base"?i:d.resolve(q),vt=Je.startsWith("@"),It=b(x({[Je]:vt?{[i]:pe}:pe}));Jn($,It)}return l.wrap("tokens",$)}function I(){const $=Object.fromEntries(Object.entries(n.keyframes??De).map(([Z,pe])=>[`@keyframes ${Z}`,pe])),q=Object.assign({},$,b(x(o)));return l.wrap("base",q)}function R($){return Vn($,p)}function _(){const $=OC({preflight:a});return l.wrap("reset",$)}const A=YC(c),T=($,q)=>A.get($)?.value||q;T.var=($,q)=>A.get($)?.variable||q;function S($,q){return n.recipes?.[$]??q}function N($,q){return n.slotRecipes?.[$]??q}function D($){return Object.hasOwnProperty.call(n.recipes??De,$)}function z($){return Object.hasOwnProperty.call(n.slotRecipes??De,$)}function W($){return D($)||z($)}const J=[_(),I(),E()],ee={layerStyles:Sa(n.layerStyles??De),textStyles:Sa(n.textStyles??De),animationStyles:Sa(n.animationStyles??De),tokens:Nh(c,Object.keys(n.tokens??De),($,q)=>!$.extensions.conditions&&!q.includes("colorPalette")),semanticTokens:Nh(c,Object.keys(n.semanticTokens??De),$=>!!$.extensions.conditions),keyframes:Ah(n.keyframes??De),breakpoints:Ah(n.breakpoints??De)};return{$$chakra:!0,_config:t,_global:J,breakpoints:u,tokens:c,conditions:d,utility:h,token:T,properties:g,layers:l,isValidProperty:p,splitCssProps:R,normalizeValue:v,getTokenCss:E,getGlobalCss:I,getPreflightCss:_,css:b,cva:C,sva:k,getRecipe:S,getSlotRecipe:N,hasRecipe:W,isRecipe:D,isSlotRecipe:z,query:ee}}function YC(e){const t=new Map;return e.allTokens.forEach(n=>{const{cssVar:r,virtual:o,conditions:i}=n.extensions,s=i||o?r.ref:n.value;t.set(n.name,{value:s,variable:r.ref})}),t}const Th=e=>_e(e)&&"value"in e,Sa=e=>({list(){return Object.keys(Yd(e,Th))},search(t){return this.list().filter(n=>n.includes(t))}}),Nh=(e,t,n)=>({categoryKeys:t,list(r){return Array.from(e.categoryMap.get(r)?.entries()??[]).reduce((o,[i,s])=>(n(s,i)&&o.push(i),o),[])},search(r,o){return this.list(r).filter(i=>i.includes(o))}}),Ah=e=>({list(){return Object.keys(e)},search(t){return this.list().filter(n=>n.includes(t))}}),XC={sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},wa="var(--chakra-empty,/*!*/ /*!*/)",QC=_k({"*":{fontFeatureSettings:'"cv11"',"--ring-inset":wa,"--ring-offset-width":"0px","--ring-offset-color":"#fff","--ring-color":"rgba(66, 153, 225, 0.6)","--ring-offset-shadow":"0 0 #0000","--ring-shadow":"0 0 #0000",...Object.fromEntries(["brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"].map(e=>[`--${e}`,wa])),...Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(e=>[`--backdrop-${e}`,wa])),"--global-font-mono":"fonts.mono","--global-font-body":"fonts.body","--global-color-border":"colors.border"},html:{color:"fg",bg:"bg",lineHeight:"1.5",colorPalette:"gray"},"*::placeholder, *[data-placeholder]":{color:"fg.muted/80"},"*::selection":{bg:"colorPalette.emphasized/80"}}),JC=Lk({"fill.muted":{value:{background:"colorPalette.muted",color:"colorPalette.fg"}},"fill.subtle":{value:{background:"colorPalette.subtle",color:"colorPalette.fg"}},"fill.surface":{value:{background:"colorPalette.subtle",color:"colorPalette.fg",boxShadow:"0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.muted"}},"fill.solid":{value:{background:"colorPalette.solid",color:"colorPalette.contrast"}},"outline.subtle":{value:{color:"colorPalette.fg",boxShadow:"inset 0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.subtle"}},"outline.solid":{value:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg"}},"indicator.bottom":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",bottom:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.top":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",top:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.start":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineStart:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.end":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineEnd:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},disabled:{value:{opacity:"0.5",cursor:"not-allowed"}},none:{value:{}}}),ZC=Fk({"slide-fade-in":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-from-bottom, fade-in"},"&[data-placement^=bottom]":{animationName:"slide-from-top, fade-in"},"&[data-placement^=left]":{animationName:"slide-from-right, fade-in"},"&[data-placement^=right]":{animationName:"slide-from-left, fade-in"}}},"slide-fade-out":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-to-bottom, fade-out"},"&[data-placement^=bottom]":{animationName:"slide-to-top, fade-out"},"&[data-placement^=left]":{animationName:"slide-to-right, fade-out"},"&[data-placement^=right]":{animationName:"slide-to-left, fade-out"}}},"scale-fade-in":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-in, fade-in"}},"scale-fade-out":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-out, fade-out"}}}),Ea=fe({className:"chakra-badge",base:{display:"inline-flex",alignItems:"center",borderRadius:"l2",gap:"1",fontWeight:"medium",fontVariantNumeric:"tabular-nums",whiteSpace:"nowrap",userSelect:"none"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},outline:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},plain:{color:"colorPalette.fg"}},size:{xs:{textStyle:"2xs",px:"1",minH:"4"},sm:{textStyle:"xs",px:"1.5",minH:"5"},md:{textStyle:"sm",px:"2",minH:"6"},lg:{textStyle:"sm",px:"2.5",minH:"7"}}},defaultVariants:{variant:"subtle",size:"sm"}}),eS=fe({className:"chakra-button",base:{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",borderRadius:"l2",whiteSpace:"nowrap",verticalAlign:"middle",borderWidth:"1px",borderColor:"transparent",cursor:"button",flexShrink:"0",outline:"0",lineHeight:"1.2",isolation:"isolate",fontWeight:"medium",transitionProperty:"common",transitionDuration:"moderate",focusVisibleRing:"outside",_disabled:{layerStyle:"disabled"},_icon:{flexShrink:"0"}},variants:{size:{"2xs":{h:"6",minW:"6",textStyle:"xs",px:"2",gap:"1",_icon:{width:"3.5",height:"3.5"}},xs:{h:"8",minW:"8",textStyle:"xs",px:"2.5",gap:"1",_icon:{width:"4",height:"4"}},sm:{h:"9",minW:"9",px:"3.5",textStyle:"sm",gap:"2",_icon:{width:"4",height:"4"}},md:{h:"10",minW:"10",textStyle:"sm",px:"4",gap:"2",_icon:{width:"5",height:"5"}},lg:{h:"11",minW:"11",textStyle:"md",px:"5",gap:"3",_icon:{width:"5",height:"5"}},xl:{h:"12",minW:"12",textStyle:"md",px:"5",gap:"2.5",_icon:{width:"5",height:"5"}},"2xl":{h:"16",minW:"16",textStyle:"lg",px:"7",gap:"3",_icon:{width:"6",height:"6"}}},variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"transparent",_hover:{bg:"colorPalette.solid/90"},_expanded:{bg:"colorPalette.solid/90"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"transparent",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},outline:{borderWidth:"1px",borderColor:"colorPalette.muted",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},ghost:{bg:"transparent",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},plain:{color:"colorPalette.fg"}}},defaultVariants:{size:"md",variant:"solid"}}),we=fe({className:"chakra-checkmark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"l1",cursor:"checkbox",focusVisibleRing:"outside",_icon:{boxSize:"full"},_invalid:{colorPalette:"red",borderColor:"border.error"},_disabled:{opacity:"0.5",cursor:"disabled"}},variants:{size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5",p:"0.5"},lg:{boxSize:"6",p:"0.5"}},variant:{solid:{borderColor:"border.emphasized","&:is([data-state=checked], [data-state=indeterminate])":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},outline:{borderColor:"border","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg",borderColor:"colorPalette.solid"}},subtle:{bg:"colorPalette.muted",borderColor:"colorPalette.muted","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},plain:{"&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},inverted:{borderColor:"border",color:"colorPalette.fg","&:is([data-state=checked], [data-state=indeterminate])":{borderColor:"colorPalette.solid"}}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}}),{variants:tS,defaultVariants:nS}=Ea,rS=fe({className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:tS,defaultVariants:nS}),_h=fe({className:"color-swatch",base:{boxSize:"var(--swatch-size)",shadow:"inset 0 0 0 1px rgba(0, 0, 0, 0.1)","--checker-size":"8px","--checker-bg":"colors.bg","--checker-fg":"colors.bg.emphasized",background:"linear-gradient(var(--color), var(--color)), repeating-conic-gradient(var(--checker-fg) 0%, var(--checker-fg) 25%, var(--checker-bg) 0%, var(--checker-bg) 50%) 0% 50% / var(--checker-size) var(--checker-size) !important",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},variants:{size:{"2xs":{"--swatch-size":"sizes.3.5"},xs:{"--swatch-size":"sizes.4"},sm:{"--swatch-size":"sizes.4.5"},md:{"--swatch-size":"sizes.5"},lg:{"--swatch-size":"sizes.6"},xl:{"--swatch-size":"sizes.7"},"2xl":{"--swatch-size":"sizes.8"},inherit:{"--swatch-size":"inherit"},full:{"--swatch-size":"100%"}},shape:{square:{borderRadius:"none"},circle:{borderRadius:"full"},rounded:{borderRadius:"l1"}}},defaultVariants:{size:"md",shape:"rounded"}}),oS=fe({className:"chakra-container",base:{position:"relative",maxWidth:"8xl",w:"100%",mx:"auto",px:{base:"4",md:"6",lg:"8"}},variants:{centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}},fluid:{true:{maxWidth:"full"}}}}),iS=fe({className:"chakra-heading",base:{fontFamily:"heading",fontWeight:"semibold"},variants:{size:{xs:{textStyle:"xs"},sm:{textStyle:"sm"},md:{textStyle:"md"},lg:{textStyle:"lg"},xl:{textStyle:"xl"},"2xl":{textStyle:"2xl"},"3xl":{textStyle:"3xl"},"4xl":{textStyle:"4xl"},"5xl":{textStyle:"5xl"},"6xl":{textStyle:"6xl"},"7xl":{textStyle:"7xl"}}},defaultVariants:{size:"xl"}}),sS=fe({className:"chakra-icon",base:{display:"inline-block",lineHeight:"1em",flexShrink:"0",color:"currentcolor",verticalAlign:"middle"},variants:{size:{inherit:{},xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"},xl:{boxSize:"7"},"2xl":{boxSize:"8"}}},defaultVariants:{size:"inherit"}}),he=fe({className:"chakra-input",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},height:"var(--input-height)",minW:"var(--input-height)","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{"2xs":{textStyle:"xs",px:"2","--input-height":"sizes.7"},xs:{textStyle:"xs",px:"2","--input-height":"sizes.8"},sm:{textStyle:"sm",px:"2.5","--input-height":"sizes.9"},md:{textStyle:"sm",px:"3","--input-height":"sizes.10"},lg:{textStyle:"md",px:"4","--input-height":"sizes.11"},xl:{textStyle:"md",px:"4.5","--input-height":"sizes.12"},"2xl":{textStyle:"lg",px:"5","--input-height":"sizes.16"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}}}},defaultVariants:{size:"md",variant:"outline"}}),aS=fe({className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:he.variants.size,variant:{outline:{borderWidth:"1px",borderColor:"border",bg:"bg.muted"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.emphasized"},flushed:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}},defaultVariants:{size:"md",variant:"outline"}}),lS=fe({className:"chakra-kbd",base:{display:"inline-flex",alignItems:"center",fontWeight:"medium",fontFamily:"mono",flexShrink:"0",whiteSpace:"nowrap",wordSpacing:"-0.5em",userSelect:"none",px:"1",borderRadius:"l2"},variants:{variant:{raised:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderWidth:"1px",borderBottomWidth:"2px",borderColor:"colorPalette.muted"},outline:{borderWidth:"1px",color:"colorPalette.fg"},subtle:{bg:"colorPalette.muted",color:"colorPalette.fg"},plain:{color:"colorPalette.fg"}},size:{sm:{textStyle:"xs",height:"4.5"},md:{textStyle:"sm",height:"5"},lg:{textStyle:"md",height:"6"}}},defaultVariants:{size:"md",variant:"raised"}}),cS=fe({className:"chakra-link",base:{display:"inline-flex",alignItems:"center",outline:"none",gap:"1.5",cursor:"pointer",borderRadius:"l1",focusRing:"outside"},variants:{variant:{underline:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"},plain:{color:"colorPalette.fg",_hover:{textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"}}}},defaultVariants:{variant:"plain"}}),uS=fe({className:"chakra-mark",base:{bg:"transparent",color:"inherit",whiteSpace:"nowrap"},variants:{variant:{subtle:{bg:"colorPalette.subtle",color:"inherit"},solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},text:{fontWeight:"medium"},plain:{}}}}),Ee=fe({className:"chakra-radiomark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,verticalAlign:"top",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"full",cursor:"radio",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing",outlineOffset:"2px"},_invalid:{colorPalette:"red",borderColor:"red.500"},_disabled:{opacity:"0.5",cursor:"disabled"},"& .dot":{height:"100%",width:"100%",borderRadius:"full",bg:"currentColor",scale:"0.4"}},variants:{variant:{solid:{borderWidth:"1px",borderColor:"border.emphasized",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},subtle:{borderWidth:"1px",bg:"colorPalette.muted",borderColor:"colorPalette.muted",color:"transparent",_checked:{color:"colorPalette.fg"}},outline:{borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.fg",borderColor:"colorPalette.solid"},"& .dot":{scale:"0.6"}},inverted:{bg:"bg",borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.solid",borderColor:"currentcolor"}}},size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}}),dS=fe({className:"chakra-separator",base:{display:"block",borderColor:"border"},variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{borderInlineStartWidth:"var(--separator-thickness)"},horizontal:{borderTopWidth:"var(--separator-thickness)"}},size:{xs:{"--separator-thickness":"0.5px"},sm:{"--separator-thickness":"1px"},md:{"--separator-thickness":"2px"},lg:{"--separator-thickness":"3px"}}},defaultVariants:{size:"sm",variant:"solid",orientation:"horizontal"}}),hS=fe({className:"chakra-skeleton",base:{},variants:{loading:{true:{borderRadius:"l2",boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none",flexShrink:"0","&::before, &::after, *":{visibility:"hidden"}},false:{background:"unset",animation:"fade-in var(--fade-duration, 0.1s) ease-out !important"}},variant:{pulse:{background:"bg.emphasized",animation:"pulse",animationDuration:"var(--duration, 1.2s)"},shine:{"--animate-from":"200%","--animate-to":"-200%","--start-color":"colors.bg.muted","--end-color":"colors.bg.emphasized",backgroundImage:"linear-gradient(270deg,var(--start-color),var(--end-color),var(--end-color),var(--start-color))",backgroundSize:"400% 100%",animation:"bg-position var(--duration, 5s) ease-in-out infinite"},none:{animation:"none"}}},defaultVariants:{variant:"pulse",loading:!0}}),fS=fe({className:"chakra-skip-nav",base:{display:"inline-flex",bg:"bg.panel",padding:"2.5",borderRadius:"l2",fontWeight:"semibold",focusVisibleRing:"outside",textStyle:"sm",userSelect:"none",border:"0",height:"1px",width:"1px",margin:"-1px",outline:"0",overflow:"hidden",position:"absolute",clip:"rect(0 0 0 0)",_focusVisible:{clip:"auto",width:"auto",height:"auto",position:"fixed",top:"6",insetStart:"6"}}}),gS=fe({className:"chakra-spinner",base:{display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderWidth:"2px",borderRadius:"full",width:"var(--spinner-size)",height:"var(--spinner-size)",animation:"spin",animationDuration:"slowest","--spinner-track-color":"transparent",borderBottomColor:"var(--spinner-track-color)",borderInlineStartColor:"var(--spinner-track-color)"},variants:{size:{inherit:{"--spinner-size":"1em"},xs:{"--spinner-size":"sizes.3"},sm:{"--spinner-size":"sizes.4"},md:{"--spinner-size":"sizes.5"},lg:{"--spinner-size":"sizes.8"},xl:{"--spinner-size":"sizes.10"}}},defaultVariants:{size:"md"}}),pS=fe({className:"chakra-textarea",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{xs:{textStyle:"xs",px:"2",py:"1.5",scrollPaddingBottom:"1.5"},sm:{textStyle:"sm",px:"2.5",py:"2",scrollPaddingBottom:"2"},md:{textStyle:"sm",px:"3",py:"2",scrollPaddingBottom:"2"},lg:{textStyle:"md",px:"4",py:"3",scrollPaddingBottom:"3"},xl:{textStyle:"md",px:"4.5",py:"3.5",scrollPaddingBottom:"3.5"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}}}},defaultVariants:{size:"md",variant:"outline"}}),mS={badge:Ea,button:eS,code:rS,container:oS,heading:iS,input:he,inputAddon:aS,kbd:lS,link:cS,mark:uS,separator:dS,skeleton:hS,skipNavLink:fS,spinner:gS,textarea:pS,icon:sS,checkmark:we,radiomark:Ee,colorSwatch:_h},vS=ma.colors({bg:{DEFAULT:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},emphasized:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},inverted:{value:{_light:"{colors.black}",_dark:"{colors.white}"}},panel:{value:{_light:"{colors.white}",_dark:"{colors.gray.950}"}},error:{value:{_light:"{colors.red.50}",_dark:"{colors.red.950}"}},warning:{value:{_light:"{colors.orange.50}",_dark:"{colors.orange.950}"}},success:{value:{_light:"{colors.green.50}",_dark:"{colors.green.950}"}},info:{value:{_light:"{colors.blue.50}",_dark:"{colors.blue.950}"}}},fg:{DEFAULT:{value:{_light:"{colors.black}",_dark:"{colors.gray.50}"}},muted:{value:{_light:"{colors.gray.600}",_dark:"{colors.gray.400}"}},subtle:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.500}"}},inverted:{value:{_light:"{colors.gray.50}",_dark:"{colors.black}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.300}"}},success:{value:{_light:"{colors.green.600}",_dark:"{colors.green.300}"}},info:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.300}"}}},border:{DEFAULT:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},inverted:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}},success:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}},info:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},gray:{contrast:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},fg:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},subtle:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},muted:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},solid:{value:{_light:"{colors.gray.900}",_dark:"{colors.white}"}},focusRing:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.400}"}}},red:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.red.700}",_dark:"{colors.red.300}"}},subtle:{value:{_light:"{colors.red.100}",_dark:"{colors.red.900}"}},muted:{value:{_light:"{colors.red.200}",_dark:"{colors.red.800}"}},emphasized:{value:{_light:"{colors.red.300}",_dark:"{colors.red.700}"}},solid:{value:{_light:"{colors.red.600}",_dark:"{colors.red.600}"}},focusRing:{value:{_light:"{colors.red.500}",_dark:"{colors.red.500}"}}},orange:{contrast:{value:{_light:"white",_dark:"black"}},fg:{value:{_light:"{colors.orange.700}",_dark:"{colors.orange.300}"}},subtle:{value:{_light:"{colors.orange.100}",_dark:"{colors.orange.900}"}},muted:{value:{_light:"{colors.orange.200}",_dark:"{colors.orange.800}"}},emphasized:{value:{_light:"{colors.orange.300}",_dark:"{colors.orange.700}"}},solid:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.500}"}},focusRing:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.500}"}}},green:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.green.700}",_dark:"{colors.green.300}"}},subtle:{value:{_light:"{colors.green.100}",_dark:"{colors.green.900}"}},muted:{value:{_light:"{colors.green.200}",_dark:"{colors.green.800}"}},emphasized:{value:{_light:"{colors.green.300}",_dark:"{colors.green.700}"}},solid:{value:{_light:"{colors.green.600}",_dark:"{colors.green.600}"}},focusRing:{value:{_light:"{colors.green.500}",_dark:"{colors.green.500}"}}},blue:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.blue.700}",_dark:"{colors.blue.300}"}},subtle:{value:{_light:"{colors.blue.100}",_dark:"{colors.blue.900}"}},muted:{value:{_light:"{colors.blue.200}",_dark:"{colors.blue.800}"}},emphasized:{value:{_light:"{colors.blue.300}",_dark:"{colors.blue.700}"}},solid:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.600}"}},focusRing:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.500}"}}},yellow:{contrast:{value:{_light:"black",_dark:"black"}},fg:{value:{_light:"{colors.yellow.800}",_dark:"{colors.yellow.300}"}},subtle:{value:{_light:"{colors.yellow.100}",_dark:"{colors.yellow.900}"}},muted:{value:{_light:"{colors.yellow.200}",_dark:"{colors.yellow.800}"}},emphasized:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.700}"}},solid:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.300}"}},focusRing:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}}},teal:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.teal.700}",_dark:"{colors.teal.300}"}},subtle:{value:{_light:"{colors.teal.100}",_dark:"{colors.teal.900}"}},muted:{value:{_light:"{colors.teal.200}",_dark:"{colors.teal.800}"}},emphasized:{value:{_light:"{colors.teal.300}",_dark:"{colors.teal.700}"}},solid:{value:{_light:"{colors.teal.600}",_dark:"{colors.teal.600}"}},focusRing:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.500}"}}},purple:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.purple.700}",_dark:"{colors.purple.300}"}},subtle:{value:{_light:"{colors.purple.100}",_dark:"{colors.purple.900}"}},muted:{value:{_light:"{colors.purple.200}",_dark:"{colors.purple.800}"}},emphasized:{value:{_light:"{colors.purple.300}",_dark:"{colors.purple.700}"}},solid:{value:{_light:"{colors.purple.600}",_dark:"{colors.purple.600}"}},focusRing:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.500}"}}},pink:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.pink.700}",_dark:"{colors.pink.300}"}},subtle:{value:{_light:"{colors.pink.100}",_dark:"{colors.pink.900}"}},muted:{value:{_light:"{colors.pink.200}",_dark:"{colors.pink.800}"}},emphasized:{value:{_light:"{colors.pink.300}",_dark:"{colors.pink.700}"}},solid:{value:{_light:"{colors.pink.600}",_dark:"{colors.pink.600}"}},focusRing:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.500}"}}},cyan:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.cyan.700}",_dark:"{colors.cyan.300}"}},subtle:{value:{_light:"{colors.cyan.100}",_dark:"{colors.cyan.900}"}},muted:{value:{_light:"{colors.cyan.200}",_dark:"{colors.cyan.800}"}},emphasized:{value:{_light:"{colors.cyan.300}",_dark:"{colors.cyan.700}"}},solid:{value:{_light:"{colors.cyan.600}",_dark:"{colors.cyan.600}"}},focusRing:{value:{_light:"{colors.cyan.500}",_dark:"{colors.cyan.500}"}}}}),bS=ma.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}}),yS=ma.shadows({xs:{value:{_light:"0px 1px 2px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/20}",_dark:"0px 1px 1px {black/64}, 0px 0px 1px inset {colors.gray.300/20}"}},sm:{value:{_light:"0px 2px 4px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 2px 4px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},md:{value:{_light:"0px 4px 8px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 4px 8px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},lg:{value:{_light:"0px 8px 16px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 8px 16px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},xl:{value:{_light:"0px 16px 24px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 16px 24px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},"2xl":{value:{_light:"0px 24px 40px {colors.gray.900/16}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 24px 40px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},inner:{value:{_light:"inset 0 2px 4px 0 {black/5}",_dark:"inset 0 2px 4px 0 black"}},inset:{value:{_light:"inset 0 0 0 1px {black/5}",_dark:"inset 0 0 0 1px {colors.gray.300/5}"}}}),xS=du.extendWith("itemBody"),kS=j("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),CS=j("alert").parts("title","description","root","indicator","content"),SS=j("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),wS=j("blockquote").parts("root","icon","content","caption"),ES=j("card").parts("root","header","body","footer","title","description"),OS=j("checkbox-card",["root","control","label","description","addon","indicator","content"]),PS=j("data-list").parts("root","item","itemLabel","itemValue"),IS=Xs.extendWith("header","body","footer","backdrop"),RS=Xs.extendWith("header","body","footer","backdrop"),TS=Zu.extendWith("textarea"),NS=j("empty-state",["root","content","indicator","title","description"]),AS=td.extendWith("requiredIndicator"),_S=rd.extendWith("content"),VS=od.extendWith("itemContent","dropzoneContent","fileText"),FS=j("list").parts("root","item","indicator"),LS=dd.extendWith("itemCommand"),DS=j("select").parts("root","field","indicator"),zS=Id.extendWith("header","body","footer"),Vh=ca.extendWith("itemAddon","itemIndicator"),MS=Vh.extendWith("itemContent","itemDescription"),jS=Td.extendWith("itemIndicator"),$S=_d.extendWith("indicatorGroup"),BS=Xx.extendWith("indicatorGroup","empty"),WS=Dd.extendWith("markerIndicator"),HS=j("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),US=j("status").parts("root","indicator"),GS=j("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),qS=zd.extendWith("indicator"),KS=j("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),YS=j("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),XS=j("tabs").parts("root","trigger","list","content","contentGroup","indicator"),QS=j("tag").parts("root","label","closeTrigger","startElement","endElement"),JS=j("timeline").parts("root","item","content","separator","indicator","connector","title","description"),ZS=fx.extendWith("channelText"),ew=j("code-block",["root","content","title","header","footer","control","overlay","code","codeText","copyTrigger","copyIndicator","collapseTrigger","collapseIndicator","collapseText"]);ku.extendWith("valueText");const tw=w1,nw=B({className:"chakra-accordion",slots:xS.keys(),base:{root:{width:"full","--accordion-radius":"radii.l2"},item:{overflowAnchor:"none"},itemTrigger:{display:"flex",alignItems:"center",textAlign:"start",width:"full",outline:"0",gap:"3",fontWeight:"medium",borderRadius:"var(--accordion-radius)",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{layerStyle:"disabled"}},itemBody:{pt:"var(--accordion-padding-y)",pb:"calc(var(--accordion-padding-y) * 2)"},itemContent:{overflow:"hidden",borderRadius:"var(--accordion-radius)",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}},itemIndicator:{transition:"rotate 0.2s",transformOrigin:"center",color:"fg.subtle",_open:{rotate:"180deg"},_icon:{width:"1.2em",height:"1.2em"}}},variants:{variant:{outline:{item:{borderBottomWidth:"1px"}},subtle:{itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{borderRadius:"var(--accordion-radius)",_open:{bg:"colorPalette.subtle"}}},enclosed:{root:{borderWidth:"1px",borderRadius:"var(--accordion-radius)",divideY:"1px",overflow:"hidden"},itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{_open:{bg:"bg.subtle"}}},plain:{}},size:{sm:{root:{"--accordion-padding-x":"spacing.3","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"sm",py:"var(--accordion-padding-y)"}},md:{root:{"--accordion-padding-x":"spacing.4","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"md",py:"var(--accordion-padding-y)"}},lg:{root:{"--accordion-padding-x":"spacing.4.5","--accordion-padding-y":"spacing.2.5"},itemTrigger:{textStyle:"lg",py:"var(--accordion-padding-y)"}}}},defaultVariants:{size:"md",variant:"outline"}}),rw=B({className:"chakra-action-bar",slots:kS.keys(),base:{positioner:{position:"fixed",display:"flex",justifyContent:"center",pointerEvents:"none",insetInline:"0",top:"unset",bottom:"calc(env(safe-area-inset-bottom) + 20px)"},content:{bg:"bg.panel",shadow:"md",display:"flex",alignItems:"center",gap:"3",borderRadius:"l3",py:"2.5",px:"3",pointerEvents:"auto",translate:"calc(-1 * var(--scrollbar-width) / 2) 0px",_open:{animationName:"slide-from-bottom, fade-in",animationDuration:"moderate"},_closed:{animationName:"slide-to-bottom, fade-out",animationDuration:"faster"}},separator:{width:"1px",height:"5",bg:"border"},selectionTrigger:{display:"inline-flex",alignItems:"center",gap:"2",alignSelf:"stretch",textStyle:"sm",px:"4",py:"1",borderRadius:"l2",borderWidth:"1px",borderStyle:"dashed"}}}),ow=B({slots:CS.keys(),className:"chakra-alert",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",borderRadius:"l3"},title:{fontWeight:"medium"},description:{display:"inline"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",width:"1em",height:"1em",_icon:{boxSize:"full"}},content:{display:"flex",flex:"1",gap:"1"}},variants:{status:{info:{root:{colorPalette:"blue"}},warning:{root:{colorPalette:"orange"}},success:{root:{colorPalette:"green"}},error:{root:{colorPalette:"red"}},neutral:{root:{colorPalette:"gray"}}},inline:{true:{content:{display:"inline-flex",flexDirection:"row",alignItems:"center"}},false:{content:{display:"flex",flexDirection:"column"}}},variant:{subtle:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg"}},surface:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"},indicator:{color:"colorPalette.contrast"}}},size:{sm:{root:{gap:"2",px:"3",py:"3",textStyle:"xs"},indicator:{textStyle:"lg"}},md:{root:{gap:"3",px:"4",py:"4",textStyle:"sm"},indicator:{textStyle:"xl"}},lg:{root:{gap:"3",px:"4",py:"4",textStyle:"md"},indicator:{textStyle:"2xl"}}}},defaultVariants:{status:"info",variant:"subtle",size:"md",inline:!1}}),iw=B({slots:gu.keys(),className:"chakra-avatar",base:{root:{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:"medium",position:"relative",verticalAlign:"top",flexShrink:"0",userSelect:"none",width:"var(--avatar-size)",height:"var(--avatar-size)",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)","&[data-group-item]":{borderWidth:"2px",borderColor:"bg"}},image:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"var(--avatar-radius)"},fallback:{lineHeight:"1",textTransform:"uppercase",fontWeight:"medium",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)"}},variants:{size:{full:{root:{"--avatar-size":"100%","--avatar-font-size":"100%"}},"2xs":{root:{"--avatar-font-size":"fontSizes.2xs","--avatar-size":"sizes.6"}},xs:{root:{"--avatar-font-size":"fontSizes.xs","--avatar-size":"sizes.8"}},sm:{root:{"--avatar-font-size":"fontSizes.sm","--avatar-size":"sizes.9"}},md:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.10"}},lg:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.11"}},xl:{root:{"--avatar-font-size":"fontSizes.lg","--avatar-size":"sizes.12"}},"2xl":{root:{"--avatar-font-size":"fontSizes.xl","--avatar-size":"sizes.16"}}},variant:{solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},subtle:{root:{bg:"colorPalette.muted",color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",borderWidth:"1px",borderColor:"colorPalette.muted"}}},shape:{square:{},rounded:{root:{"--avatar-radius":"radii.l3"}},full:{root:{"--avatar-radius":"radii.full"}}},borderless:{true:{root:{"&[data-group-item]":{borderWidth:"0px"}}}}},defaultVariants:{size:"md",shape:"full",variant:"subtle"}}),sw=B({className:"chakra-blockquote",slots:wS.keys(),base:{root:{position:"relative",display:"flex",flexDirection:"column",gap:"2"},caption:{textStyle:"sm",color:"fg.muted"},icon:{boxSize:"5"}},variants:{justify:{start:{root:{alignItems:"flex-start",textAlign:"start"}},center:{root:{alignItems:"center",textAlign:"center"}},end:{root:{alignItems:"flex-end",textAlign:"end"}}},variant:{subtle:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.muted"},icon:{color:"colorPalette.fg"}},solid:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.solid"},icon:{color:"colorPalette.solid"}},plain:{root:{paddingX:"5"},icon:{color:"colorPalette.solid"}}}},defaultVariants:{variant:"subtle",justify:"start"}}),aw=B({className:"chakra-breadcrumb",slots:SS.keys(),base:{list:{display:"flex",alignItems:"center",wordBreak:"break-word",color:"fg.muted",listStyle:"none"},link:{outline:"0",textDecoration:"none",borderRadius:"l1",focusRing:"outside",display:"inline-flex",alignItems:"center",gap:"2"},item:{display:"inline-flex",alignItems:"center"},separator:{color:"fg.muted",opacity:"0.8",_icon:{boxSize:"1em"},_rtl:{rotate:"180deg"}},ellipsis:{display:"inline-flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"1em"}}},variants:{variant:{underline:{link:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"0.2em",textDecorationColor:"colorPalette.muted"},currentLink:{color:"colorPalette.fg"}},plain:{link:{color:"fg.muted",_hover:{color:"fg"}},currentLink:{color:"fg"}}},size:{sm:{list:{gap:"1",textStyle:"xs"}},md:{list:{gap:"1.5",textStyle:"sm"}},lg:{list:{gap:"2",textStyle:"md"}}}},defaultVariants:{variant:"plain",size:"md"}}),lw=B({className:"chakra-card",slots:ES.keys(),base:{root:{display:"flex",flexDirection:"column",position:"relative",minWidth:"0",wordWrap:"break-word",borderRadius:"l3",color:"fg",textAlign:"start"},title:{fontWeight:"semibold"},description:{color:"fg.muted",fontSize:"sm"},header:{paddingInline:"var(--card-padding)",paddingTop:"var(--card-padding)",display:"flex",flexDirection:"column",gap:"1.5"},body:{padding:"var(--card-padding)",flex:"1",display:"flex",flexDirection:"column"},footer:{display:"flex",alignItems:"center",gap:"2",paddingInline:"var(--card-padding)",paddingBottom:"var(--card-padding)"}},variants:{size:{sm:{root:{"--card-padding":"spacing.4"},title:{textStyle:"md"}},md:{root:{"--card-padding":"spacing.6"},title:{textStyle:"lg"}},lg:{root:{"--card-padding":"spacing.7"},title:{textStyle:"xl"}}},variant:{elevated:{root:{bg:"bg.panel",boxShadow:"md"}},outline:{root:{bg:"bg.panel",borderWidth:"1px",borderColor:"border"}},subtle:{root:{bg:"bg.muted"}}}},defaultVariants:{variant:"outline",size:"md"}}),cw=B({slots:hx.keys(),className:"chakra-checkbox",base:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:we.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:we.variants?.size?.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:we.variants?.size?.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:we.variants?.size?.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:we.variants?.size?.lg}},variant:{outline:{control:we.variants?.variant?.outline},solid:{control:we.variants?.variant?.solid},subtle:{control:we.variants?.variant?.subtle}}},defaultVariants:{variant:"solid",size:"md"}}),uw=B({slots:OS.keys(),className:"chakra-checkbox-card",base:{root:{display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",flex:"1",focusVisibleRing:"outside",_disabled:{opacity:"0.8"},_invalid:{outline:"2px solid",outlineColor:"border.error"}},control:{display:"inline-flex",flex:"1",position:"relative",borderRadius:"inherit",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"},label:{fontWeight:"medium",display:"flex",alignItems:"center",gap:"2",flex:"1",_disabled:{opacity:"0.5"}},description:{opacity:"0.64",textStyle:"sm",_disabled:{opacity:"0.5"}},addon:{_disabled:{opacity:"0.5"}},indicator:we.base,content:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"}},variants:{size:{sm:{root:{textStyle:"sm"},control:{padding:"3",gap:"1.5"},addon:{px:"3",py:"1.5",borderTopWidth:"1px"},indicator:we.variants?.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:we.variants?.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:we.variants?.size.lg}},variant:{surface:{root:{borderWidth:"1px",borderColor:"border",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"},_disabled:{bg:"bg.muted"}},indicator:we.variants?.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:we.variants?.variant.plain},outline:{root:{borderWidth:"1px",borderColor:"border",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},indicator:we.variants?.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:we.variants?.variant.inverted}},justify:{start:{root:{"--checkbox-card-justify":"flex-start"}},end:{root:{"--checkbox-card-justify":"flex-end"}},center:{root:{"--checkbox-card-justify":"center"}}},align:{start:{root:{"--checkbox-card-align":"flex-start"},content:{textAlign:"start"}},end:{root:{"--checkbox-card-align":"flex-end"},content:{textAlign:"end"}},center:{root:{"--checkbox-card-align":"center"},content:{textAlign:"center"}}},orientation:{vertical:{control:{flexDirection:"column"}},horizontal:{control:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}}),dw=B({slots:ew.keys(),className:"code-block",base:{root:{colorPalette:"gray",rounded:"var(--code-block-radius)",overflow:"hidden",bg:"bg",color:"fg",borderWidth:"1px","--code-block-max-height":"320px","--code-block-bg":"colors.bg","--code-block-fg":"colors.fg","--code-block-obscured-opacity":"0.5","--code-block-obscured-blur":"1px","--code-block-line-number-width":"sizes.3","--code-block-line-number-margin":"spacing.4","--code-block-highlight-bg":"{colors.teal.focusRing/20}","--code-block-highlight-border":"colors.teal.focusRing","--code-block-highlight-added-bg":"{colors.green.focusRing/20}","--code-block-highlight-added-border":"colors.green.focusRing","--code-block-highlight-removed-bg":"{colors.red.focusRing/20}","--code-block-highlight-removed-border":"colors.red.focusRing"},header:{display:"flex",alignItems:"center",gap:"2",position:"relative",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)",mb:"calc(var(--code-block-padding) / 2 * -1)"},title:{display:"inline-flex",alignItems:"center",gap:"1.5",flex:"1",color:"fg.muted"},control:{gap:"1.5",display:"inline-flex",alignItems:"center"},footer:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)"},content:{position:"relative",colorScheme:"dark",overflowX:"auto",overflowY:"hidden",borderBottomRadius:"var(--code-block-radius)",maxHeight:"var(--code-block-max-height)","& ::selection":{bg:"blue.500/40"},_expanded:{maxHeight:"unset"}},overlay:{"--bg":"{colors.black/50}",display:"flex",alignItems:"flex-end",justifyContent:"center",padding:"4",bgImage:"linear-gradient(0deg,var(--bg) 25%,transparent 100%)",color:"white",minH:"5rem",pos:"absolute",bottom:"0",insetInline:"0",zIndex:"1",fontWeight:"medium",_expanded:{display:"none"}},code:{fontFamily:"mono",lineHeight:"tall",whiteSpace:"pre",counterReset:"line 0"},codeText:{px:"var(--code-block-padding)",py:"var(--code-block-padding)",position:"relative",display:"block",width:"100%","&[data-has-focused]":{"& [data-line]:not([data-focused])":{transitionProperty:"opacity, filter",transitionDuration:"moderate",transitionTimingFunction:"ease-in-out",opacity:"var(--code-block-obscured-opacity)",filter:"blur(var(--code-block-obscured-blur))"},"&:hover":{"--code-block-obscured-opacity":"1","--code-block-obscured-blur":"0px"}},"&[data-has-line-numbers][data-plaintext]":{paddingInlineStart:"calc(var(--code-block-line-number-width) + var(--code-block-line-number-margin) + var(--code-block-padding))"},"& [data-line]":{position:"relative","--highlight-bg":"var(--code-block-highlight-bg)","--highlight-border":"var(--code-block-highlight-border)","&[data-highlight], &[data-diff]":{display:"inline-block",width:"full","&:after":{content:"''",display:"block",position:"absolute",insetStart:"calc(var(--code-block-padding) * -1)",insetEnd:"0px",width:"calc(100% + var(--code-block-padding) * 2)",height:"100%",bg:"var(--highlight-bg)",borderStartWidth:"2px",borderStartColor:"var(--highlight-border)"}},"&[data-diff='added']":{"--highlight-bg":"var(--code-block-highlight-added-bg)","--highlight-border":"var(--code-block-highlight-added-border)"},"&[data-diff='removed']":{"--highlight-bg":"var(--code-block-highlight-removed-bg)","--highlight-border":"var(--code-block-highlight-removed-border)"}},"&[data-word-wrap]":{"&[data-plaintext], & [data-line]":{whiteSpace:"pre-wrap",wordBreak:"break-all"}},"&[data-has-line-numbers]":{"--content":"counter(line)","& [data-line]:before":{content:"var(--content)",counterIncrement:"line",width:"var(--code-block-line-number-width)",marginRight:"var(--code-block-line-number-margin)",display:"inline-block",textAlign:"end",userSelect:"none",whiteSpace:"nowrap",opacity:.4},"& [data-diff='added']:before":{content:"'+'"},"& [data-diff='removed']:before":{content:"'-'"}}}},variants:{size:{sm:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.md","--code-block-header-height":"sizes.8"},title:{textStyle:"xs"},code:{fontSize:"xs"}},md:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.lg","--code-block-header-height":"sizes.10"},title:{textStyle:"xs"},code:{fontSize:"sm"}},lg:{root:{"--code-block-padding":"spacing.5","--code-block-radius":"radii.xl","--code-block-header-height":"sizes.12"},title:{textStyle:"sm"},code:{fontSize:"sm"}}}},defaultVariants:{size:"md"}}),hw=B({slots:Sc.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}),fw=B({className:"colorPicker",slots:ZS.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5"},label:{color:"fg",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},valueText:{textAlign:"start"},control:{display:"flex",alignItems:"center",flexDirection:"row",gap:"2",position:"relative"},swatchTrigger:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"row",flexShrink:"0",gap:"2",textStyle:"sm",minH:"var(--input-height)",minW:"var(--input-height)",px:"1",rounded:"l2",_disabled:{opacity:"0.5"},"--focus-color":"colors.colorPalette.focusRing","&:focus-visible":{borderColor:"var(--focus-color)",outline:"1px solid var(--focus-color)"},"&[data-fit-content]":{"--input-height":"unset",px:"0",border:"0"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l3",boxShadow:"lg",width:"64",p:"4",gap:"3",zIndex:"dropdown",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},area:{height:"180px",borderRadius:"l2",overflow:"hidden"},areaThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",focusVisibleRing:"mixed",focusRingColor:"white"},areaBackground:{height:"full"},channelSlider:{borderRadius:"l2",flex:"1"},channelSliderTrack:{height:"var(--slider-height)",borderRadius:"inherit",boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"},channelText:{textStyle:"xs",color:"fg.muted",fontWeight:"medium",textTransform:"capitalize"},swatchGroup:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"2"},swatch:{..._h.base,borderRadius:"l1"},swatchIndicator:{color:"white",rounded:"full"},channelSliderThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",transform:"translate(-50%, -50%)",focusVisibleRing:"outside",focusRingOffset:"1px"},channelInput:{...he.base,"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}},formatSelect:{textStyle:"xs",textTransform:"uppercase",borderWidth:"1px",minH:"6",focusRing:"inside",rounded:"l2"},transparencyGrid:{borderRadius:"l2"},view:{display:"flex",flexDirection:"column",gap:"2"}},variants:{size:{"2xs":{channelInput:he.variants?.size?.["2xs"],swatch:{"--swatch-size":"sizes.4.5"},trigger:{"--input-height":"sizes.7"},area:{"--thumb-size":"sizes.3"},channelSlider:{"--slider-height":"sizes.3","--thumb-size":"sizes.3"}},xs:{channelInput:he.variants?.size?.xs,swatch:{"--swatch-size":"sizes.5"},trigger:{"--input-height":"sizes.8"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},sm:{channelInput:he.variants?.size?.sm,swatch:{"--swatch-size":"sizes.6"},trigger:{"--input-height":"sizes.9"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},md:{channelInput:he.variants?.size?.md,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.10"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},lg:{channelInput:he.variants?.size?.lg,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.11"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},xl:{channelInput:he.variants?.size?.xl,swatch:{"--swatch-size":"sizes.8"},trigger:{"--input-height":"sizes.12"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},"2xl":{channelInput:he.variants?.size?.["2xl"],swatch:{"--swatch-size":"sizes.10"},trigger:{"--input-height":"sizes.16"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}}},variant:{outline:{channelInput:he.variants?.variant?.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:he.variants?.variant?.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}}),gw=B({className:"chakra-combobox",slots:BS.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},input:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"bg.panel",width:"full",minH:"var(--combobox-input-height)",px:"var(--combobox-input-padding-x)","--input-height":"var(--combobox-input-height)",borderRadius:"l2",outline:0,userSelect:"none",textAlign:"start",_placeholderShown:{color:"fg.muted"},_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center","--input-height":"var(--combobox-input-height)"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"},control:{pos:"relative"},indicatorGroup:{display:"flex",alignItems:"center",justifyContent:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--combobox-input-padding-x)",_icon:{boxSize:"var(--combobox-indicator-size)"},"[data-disabled] &":{opacity:.5}},content:{background:"bg.panel",display:"flex",flexDirection:"column",zIndex:"dropdown",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"0s"},"&[data-empty]:not(:has([data-scope=combobox][data-part=empty]))":{opacity:0}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{boxSize:"var(--combobox-indicator-size)"}},empty:{py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{pb:"var(--combobox-item-padding-y)",_last:{pb:"0"}},itemGroupLabel:{fontWeight:"medium",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"}},variants:{variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},indicatorGroup:{px:"0"}}},size:{xs:{root:{"--combobox-input-height":"sizes.8","--combobox-input-padding-x":"spacing.2","--combobox-indicator-size":"sizes.3.5"},input:{textStyle:"xs"},content:{"--combobox-item-padding-x":"spacing.1.5","--combobox-item-padding-y":"spacing.1","--combobox-indicator-size":"sizes.3.5",p:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"}},sm:{root:{"--combobox-input-height":"sizes.9","--combobox-input-padding-x":"spacing.2.5","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"}},md:{root:{"--combobox-input-height":"sizes.10","--combobox-input-padding-x":"spacing.3","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{textStyle:"sm",gap:"2"}},lg:{root:{"--combobox-input-height":"sizes.12","--combobox-input-padding-x":"spacing.4","--combobox-indicator-size":"sizes.5"},input:{textStyle:"md"},content:{"--combobox-item-padding-y":"spacing.2","--combobox-item-padding-x":"spacing.3","--combobox-indicator-size":"sizes.5",p:"1.5",textStyle:"md"},trigger:{textStyle:"md",py:"3",gap:"2"}}}},defaultVariants:{size:"md",variant:"outline"}}),pw=B({slots:PS.keys(),className:"chakra-data-list",base:{itemLabel:{display:"flex",alignItems:"center",gap:"1"},itemValue:{display:"flex",minWidth:"0",flex:"1"}},variants:{orientation:{horizontal:{root:{display:"flex",flexDirection:"column"},item:{display:"inline-flex",alignItems:"center",gap:"4"},itemLabel:{minWidth:"120px"}},vertical:{root:{display:"flex",flexDirection:"column"},item:{display:"flex",flexDirection:"column",gap:"1"}}},size:{sm:{root:{gap:"3"},item:{textStyle:"xs"}},md:{root:{gap:"4"},item:{textStyle:"sm"}},lg:{root:{gap:"5"},item:{textStyle:"md"}}},variant:{subtle:{itemLabel:{color:"fg.muted"}},bold:{itemLabel:{fontWeight:"medium"},itemValue:{color:"fg.muted"}}}},defaultVariants:{size:"md",orientation:"vertical",variant:"subtle"}}),mw=B({slots:IS.keys(),className:"chakra-dialog",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",left:0,top:0,w:"100dvw",h:"100dvh",zIndex:"var(--z-index)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100dvw",height:"100dvh",position:"fixed",left:0,top:0,"--dialog-z-index":"zIndex.modal",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",justifyContent:"center",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,borderRadius:"l3",textStyle:"sm",my:"var(--dialog-margin, var(--dialog-base-margin))","--dialog-z-index":"zIndex.modal",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"moderate"},_closed:{animationDuration:"faster"}},header:{display:"flex",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{flex:"1",px:"6",pt:"2",pb:"6"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"2",insetEnd:"2"}},variants:{placement:{center:{positioner:{alignItems:"center"},content:{"--dialog-base-margin":"auto",mx:"auto"}},top:{positioner:{alignItems:"flex-start"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}},bottom:{positioner:{alignItems:"flex-end"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}}},scrollBehavior:{inside:{positioner:{overflow:"hidden"},content:{maxH:"calc(100% - 7.5rem)"},body:{overflow:"auto"}},outside:{positioner:{overflow:"auto",pointerEvents:"auto"}}},size:{xs:{content:{maxW:"sm"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},cover:{positioner:{padding:"10"},content:{width:"100%",height:"100%","--dialog-margin":"0"}},full:{content:{maxW:"100dvw",minH:"100dvh","--dialog-margin":"0",borderRadius:"0"}}},motionPreset:{scale:{content:{_open:{animationName:"scale-in, fade-in"},_closed:{animationName:"scale-out, fade-out"}}},"slide-in-bottom":{content:{_open:{animationName:"slide-from-bottom, fade-in"},_closed:{animationName:"slide-to-bottom, fade-out"}}},"slide-in-top":{content:{_open:{animationName:"slide-from-top, fade-in"},_closed:{animationName:"slide-to-top, fade-out"}}},"slide-in-left":{content:{_open:{animationName:"slide-from-left, fade-in"},_closed:{animationName:"slide-to-left, fade-out"}}},"slide-in-right":{content:{_open:{animationName:"slide-from-right, fade-in"},_closed:{animationName:"slide-to-right, fade-out"}}},none:{}}},defaultVariants:{size:"md",scrollBehavior:"outside",placement:"top",motionPreset:"scale"}}),vw=B({slots:RS.keys(),className:"chakra-drawer",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",insetInlineStart:0,top:0,w:"100vw",h:"100dvh",zIndex:"overlay",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100vw",height:"100dvh",position:"fixed",insetInlineStart:0,top:0,zIndex:"modal",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,zIndex:"modal",textStyle:"sm",maxH:"100dvh",color:"inherit",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"slowest",animationTimingFunction:"ease-in-smooth"},_closed:{animationDuration:"slower",animationTimingFunction:"ease-in-smooth"}},header:{display:"flex",alignItems:"center",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{px:"6",py:"2",flex:"1",overflow:"auto"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{flex:"1",textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"3",insetEnd:"2"}},variants:{size:{xs:{content:{maxW:"xs"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},full:{content:{maxW:"100vw",h:"100dvh"}}},placement:{start:{positioner:{justifyContent:"flex-start",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-left-full, fade-in",_rtl:"slide-from-right-full, fade-in"}},_closed:{animationName:{base:"slide-to-left-full, fade-out",_rtl:"slide-to-right-full, fade-out"}}}},end:{positioner:{justifyContent:"flex-end",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-right-full, fade-in",_rtl:"slide-from-left-full, fade-in"}},_closed:{animationName:{base:"slide-to-right-full, fade-out",_rtl:"slide-to-left-full, fade-out"}}}},top:{positioner:{justifyContent:"stretch",alignItems:"flex-start"},content:{maxW:"100%",_open:{animationName:"slide-from-top-full, fade-in"},_closed:{animationName:"slide-to-top-full, fade-out"}}},bottom:{positioner:{justifyContent:"stretch",alignItems:"flex-end"},content:{maxW:"100%",_open:{animationName:"slide-from-bottom-full, fade-in"},_closed:{animationName:"slide-to-bottom-full, fade-out"}}}},contained:{true:{positioner:{padding:"4"},content:{borderRadius:"l3"}}}},defaultVariants:{size:"xs",placement:"end"}}),Fh=Zn({fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"}),bw=B({slots:TS.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:{...Fh,py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"moderate",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}},input:{...Fh,outline:"0",py:"1",px:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",focusVisibleRing:"inside",focusRingWidth:"2px",_placeholder:{opacity:.6}},control:{display:"inline-flex",alignItems:"center",gap:"1.5"}},variants:{size:{sm:{root:{textStyle:"sm"},preview:{minH:"8"},input:{minH:"8"}},md:{root:{textStyle:"sm"},preview:{minH:"9"},input:{minH:"9"}},lg:{root:{textStyle:"md"},preview:{minH:"10"},input:{minH:"10"}}}},defaultVariants:{size:"md"}}),yw=B({slots:NS.keys(),className:"chakra-empty-state",base:{root:{width:"full"},content:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:"fg.subtle",_icon:{boxSize:"1em"}},title:{fontWeight:"semibold"},description:{textStyle:"sm",color:"fg.muted"}},variants:{size:{sm:{root:{px:"4",py:"6"},title:{textStyle:"md"},content:{gap:"4"},indicator:{textStyle:"2xl"}},md:{root:{px:"8",py:"12"},title:{textStyle:"lg"},content:{gap:"6"},indicator:{textStyle:"4xl"}},lg:{root:{px:"12",py:"16"},title:{textStyle:"xl"},content:{gap:"8"},indicator:{textStyle:"6xl"}}}},defaultVariants:{size:"md"}}),xw=B({className:"chakra-field",slots:AS.keys(),base:{requiredIndicator:{color:"fg.error",lineHeight:"1"},root:{display:"flex",width:"100%",position:"relative",gap:"1.5"},label:{display:"flex",alignItems:"center",textAlign:"start",textStyle:"sm",fontWeight:"medium",gap:"1",userSelect:"none",_disabled:{opacity:"0.5"}},errorText:{display:"inline-flex",alignItems:"center",fontWeight:"medium",gap:"1",color:"fg.error",textStyle:"xs"},helperText:{color:"fg.muted",textStyle:"xs"}},variants:{orientation:{vertical:{root:{flexDirection:"column",alignItems:"flex-start"}},horizontal:{root:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},label:{flex:"0 0 var(--field-label-width, 80px)"}}}},defaultVariants:{orientation:"vertical"}}),kw=B({className:"fieldset",slots:_S.keys(),base:{root:{display:"flex",flexDirection:"column",width:"full"},content:{display:"flex",flexDirection:"column",width:"full"},legend:{color:"fg",fontWeight:"medium",_disabled:{opacity:"0.5"}},helperText:{color:"fg.muted",textStyle:"sm"},errorText:{display:"inline-flex",alignItems:"center",color:"fg.error",gap:"2",fontWeight:"medium",textStyle:"sm"}},variants:{size:{sm:{root:{spaceY:"2"},content:{gap:"1.5"},legend:{textStyle:"sm"}},md:{root:{spaceY:"4"},content:{gap:"4"},legend:{textStyle:"sm"}},lg:{root:{spaceY:"6"},content:{gap:"4"},legend:{textStyle:"md"}}}},defaultVariants:{size:"md"}}),Cw=B({className:"chakra-file-upload",slots:VS.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"4",width:"100%",alignItems:"flex-start"},label:{fontWeight:"medium",textStyle:"sm"},dropzone:{background:"bg",borderRadius:"l3",borderWidth:"2px",borderStyle:"dashed",display:"flex",alignItems:"center",flexDirection:"column",gap:"4",justifyContent:"center",minHeight:"2xs",px:"3",py:"2",transition:"backgrounds",focusVisibleRing:"outside",_hover:{bg:"bg.subtle"},_dragging:{bg:"colorPalette.subtle",borderStyle:"solid",borderColor:"colorPalette.solid"}},dropzoneContent:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:"1",textStyle:"sm"},item:{pos:"relative",textStyle:"sm",animationName:"fade-in",animationDuration:"moderate",background:"bg",borderRadius:"l2",borderWidth:"1px",width:"100%",display:"flex",alignItems:"center",gap:"3",p:"4"},itemGroup:{width:"100%",display:"flex",flexDirection:"column",gap:"3",_empty:{display:"none"}},itemName:{color:"fg",fontWeight:"medium",lineClamp:"1"},itemContent:{display:"flex",flexDirection:"column",gap:"0.5",flex:"1"},itemSizeText:{color:"fg.muted",textStyle:"xs"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start",boxSize:"5",p:"2px",color:"fg.muted",cursor:"button"},itemPreview:{color:"fg.muted",_icon:{boxSize:"4.5"}}},defaultVariants:{}}),Sw=B({className:"chakra-hover-card",slots:id.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--hovercard-bg":"colors.bg.panel",bg:"var(--hovercard-bg)",boxShadow:"lg",maxWidth:"80",borderRadius:"l3",zIndex:"popover",transformOrigin:"var(--transform-origin)",outline:"0",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--hovercard-bg)"},arrowTip:{borderTopWidth:"0.5px",borderInlineStartWidth:"0.5px"}},variants:{size:{xs:{content:{padding:"3"}},sm:{content:{padding:"4"}},md:{content:{padding:"5"}},lg:{content:{padding:"6"}}}},defaultVariants:{size:"md"}}),ww=B({className:"chakra-list",slots:FS.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"var(--list-gap)","& :where(ul, ol)":{marginTop:"var(--list-gap)"}},item:{whiteSpace:"normal",display:"list-item"},indicator:{marginEnd:"2",minHeight:"1lh",flexShrink:0,display:"inline-block",verticalAlign:"middle"}},variants:{variant:{marker:{root:{listStyle:"revert"},item:{_marker:{color:"fg.subtle"}}},plain:{item:{alignItems:"flex-start",display:"inline-flex"}}},align:{center:{item:{alignItems:"center"}},start:{item:{alignItems:"flex-start"}},end:{item:{alignItems:"flex-end"}}}},defaultVariants:{variant:"marker"}}),Ew=B({className:"chakra-listbox",slots:tw.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},content:{display:"flex",maxH:"96",p:"1",gap:"1",textStyle:"sm",outline:"none",scrollPadding:"1",_horizontal:{flexDirection:"row",overflowX:"auto"},_vertical:{flexDirection:"column",overflowY:"auto"},"--listbox-item-padding-x":"spacing.2","--listbox-item-padding-y":"spacing.1.5"},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"pointer",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)",_highlighted:{outline:"2px solid",outlineColor:"border.emphasized"},_disabled:{pointerEvents:"none",opacity:"0.5"}},empty:{py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{mt:"1.5",_first:{mt:"0"}},itemGroupLabel:{py:"1.5",px:"2",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"4"}}},variants:{variant:{subtle:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_hover:{bg:"bg.emphasized/60"},_selected:{bg:"bg.muted"}}},solid:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_selected:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}},plain:{}}},defaultVariants:{variant:"subtle"}}),Ow=B({className:"chakra-menu",slots:LS.keys(),base:{content:{outline:0,bg:"bg.panel",boxShadow:"lg",color:"fg",maxHeight:"var(--available-height)","--menu-z-index":"zIndex.dropdown",zIndex:"calc(var(--menu-z-index) + var(--layer-index, 0))",borderRadius:"l2",overflow:"hidden",overflowY:"auto",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},item:{textDecoration:"none",color:"fg",userSelect:"none",borderRadius:"l1",width:"100%",display:"flex",cursor:"menuitem",alignItems:"center",textAlign:"start",position:"relative",flex:"0 0 auto",outline:0,_disabled:{layerStyle:"disabled"},"&[data-type]":{ps:"8"}},itemText:{flex:"1"},itemIndicator:{position:"absolute",insetStart:"2",transform:"translateY(-50%)",top:"50%"},itemGroupLabel:{px:"2",py:"1.5",fontWeight:"semibold",textStyle:"sm"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},itemCommand:{opacity:"0.6",textStyle:"xs",ms:"auto",ps:"4",letterSpacing:"widest",fontFamily:"inherit"},separator:{height:"1px",bg:"bg.muted",my:"1",mx:"-1"}},variants:{variant:{subtle:{item:{_highlighted:{bg:"bg.emphasized/60"}}},solid:{item:{_highlighted:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}}},size:{sm:{content:{minW:"8rem",padding:"1",scrollPadding:"1"},item:{gap:"1",textStyle:"xs",py:"1",px:"1.5"}},md:{content:{minW:"8rem",padding:"1.5",scrollPadding:"1.5"},item:{gap:"2",textStyle:"sm",py:"1.5",px:"2"}}}},defaultVariants:{size:"md",variant:"subtle"}}),li=B({className:"chakra-select",slots:$S.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},trigger:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"full",minH:"var(--select-trigger-height)","--input-height":"var(--select-trigger-height)",px:"var(--select-trigger-padding-x)",borderRadius:"l2",userSelect:"none",textAlign:"start",focusVisibleRing:"inside",_placeholderShown:{color:"fg.muted/80"},_disabled:{layerStyle:"disabled"},_invalid:{borderColor:"border.error"}},indicatorGroup:{display:"flex",alignItems:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--select-trigger-padding-x)",pointerEvents:"none"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:{base:"fg.muted",_disabled:"fg.subtle",_invalid:"fg.error"}},content:{background:"bg.panel",display:"flex",flexDirection:"column",zIndex:"dropdown",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"fastest"}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{width:"4",height:"4"}},control:{pos:"relative"},itemText:{flex:"1"},itemGroup:{_first:{mt:"0"}},itemGroupLabel:{py:"1",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"}},variants:{variant:{outline:{trigger:{bg:"transparent",borderWidth:"1px",borderColor:"border",_expanded:{borderColor:"border.emphasized"}}},subtle:{trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}},size:{xs:{root:{"--select-trigger-height":"sizes.8","--select-trigger-padding-x":"spacing.2"},content:{p:"1",gap:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"},item:{py:"1",px:"2"},itemGroupLabel:{py:"1",px:"2"},indicator:{_icon:{width:"3.5",height:"3.5"}}},sm:{root:{"--select-trigger-height":"sizes.9","--select-trigger-padding-x":"spacing.2.5"},content:{p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"},indicator:{_icon:{width:"4",height:"4"}},item:{py:"1",px:"1.5"},itemGroup:{mt:"1"},itemGroupLabel:{py:"1",px:"1.5"}},md:{root:{"--select-trigger-height":"sizes.10","--select-trigger-padding-x":"spacing.3"},content:{p:"1",textStyle:"sm"},itemGroup:{mt:"1.5"},item:{py:"1.5",px:"2"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},itemGroupLabel:{py:"1.5",px:"2"},trigger:{textStyle:"sm",gap:"2"},indicator:{_icon:{width:"4",height:"4"}}},lg:{root:{"--select-trigger-height":"sizes.12","--select-trigger-padding-x":"spacing.4"},content:{p:"1.5",textStyle:"md"},itemGroup:{mt:"2"},item:{py:"2",px:"3"},itemGroupLabel:{py:"2",px:"3"},trigger:{textStyle:"md",py:"3",gap:"2"},indicator:{_icon:{width:"5",height:"5"}}}}},defaultVariants:{size:"md",variant:"outline"}}),Pw=B({className:"chakra-native-select",slots:DS.keys(),base:{root:{height:"fit-content",display:"flex",width:"100%",position:"relative"},field:{width:"100%",minWidth:"0",outline:"0",appearance:"none",borderRadius:"l2","--error-color":"colors.border.error","--input-height":"var(--select-field-height)",height:"var(--select-field-height)",_disabled:{layerStyle:"disabled"},_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"},focusVisibleRing:"inside",lineHeight:"normal","& > option, & > optgroup":{bg:"bg"}},indicator:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)",height:"100%",color:"fg.muted",_disabled:{opacity:"0.5"},_invalid:{color:"fg.error"},_icon:{width:"1em",height:"1em"}}},variants:{variant:{outline:{field:li.variants?.variant.outline.trigger},subtle:{field:li.variants?.variant.subtle.trigger},plain:{field:{bg:"transparent",color:"fg",focusRingWidth:"2px"}}},size:{xs:{root:{"--select-field-height":"sizes.8"},field:{textStyle:"xs",ps:"2",pe:"6"},indicator:{textStyle:"sm",insetEnd:"1.5"}},sm:{root:{"--select-field-height":"sizes.9"},field:{textStyle:"sm",ps:"2.5",pe:"8"},indicator:{textStyle:"md",insetEnd:"2"}},md:{root:{"--select-field-height":"sizes.10"},field:{textStyle:"sm",ps:"3",pe:"8"},indicator:{textStyle:"lg",insetEnd:"2"}},lg:{root:{"--select-field-height":"sizes.11"},field:{textStyle:"md",ps:"4",pe:"8"},indicator:{textStyle:"xl",insetEnd:"3"}},xl:{root:{"--select-field-height":"sizes.12"},field:{textStyle:"md",ps:"4.5",pe:"10"},indicator:{textStyle:"xl",insetEnd:"3"}}}},defaultVariants:li.defaultVariants});function Oa(e,t){const n={};for(const r in e){const o=t(r,e[r]);n[o[0]]=o[1]}return n}const Lh=Zn({display:"flex",justifyContent:"center",alignItems:"center",flex:"1",userSelect:"none",cursor:"button",lineHeight:"1",color:"fg.muted","--stepper-base-radius":"radii.l1","--stepper-radius":"calc(var(--stepper-base-radius) + 1px)",_icon:{boxSize:"1em"},_disabled:{opacity:"0.5"},_hover:{bg:"bg.muted"},_active:{bg:"bg.emphasized"}}),Iw=B({className:"chakra-number-input",slots:Cd.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:{...he.base,verticalAlign:"top",pe:"calc(var(--stepper-width) + 0.5rem)"},control:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",width:"var(--stepper-width)",height:"calc(100% - 2px)",zIndex:"1",borderStartWidth:"1px",divideY:"1px"},incrementTrigger:{...Lh,borderTopEndRadius:"var(--stepper-radius)"},decrementTrigger:{...Lh,borderBottomEndRadius:"var(--stepper-radius)"},valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:he.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:he.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:he.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:he.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:Oa(he.variants.variant,(e,t)=>[e,{input:t}])},defaultVariants:{size:"md",variant:"outline"}}),{variants:Dh,defaultVariants:Rw}=he,Tw=B({className:"chakra-pin-input",slots:Pd.keys(),base:{input:{...he.base,textAlign:"center",width:"var(--input-height)"},control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:Oa(Dh.size,(e,t)=>[e,{input:{...t,px:"1"}}]),variant:Oa(Dh.variant,(e,t)=>[e,{input:t}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:Rw}),Nw=B({className:"chakra-popover",slots:zS.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--popover-bg":"colors.bg.panel",bg:"var(--popover-bg)",boxShadow:"lg","--popover-size":"sizes.xs","--popover-mobile-size":"calc(100dvw - 1rem)",width:{base:"min(var(--popover-mobile-size), var(--popover-size))",sm:"var(--popover-size)"},borderRadius:"l3","--popover-z-index":"zIndex.popover",zIndex:"calc(var(--popover-z-index) + var(--layer-index, 0))",outline:"0",transformOrigin:"var(--transform-origin)",maxHeight:"var(--available-height)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},header:{paddingInline:"var(--popover-padding)",paddingTop:"var(--popover-padding)"},body:{padding:"var(--popover-padding)",flex:"1"},footer:{display:"flex",alignItems:"center",paddingInline:"var(--popover-padding)",paddingBottom:"var(--popover-padding)"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--popover-bg)"},arrowTip:{borderTopWidth:"1px",borderInlineStartWidth:"1px"}},variants:{size:{xs:{content:{"--popover-padding":"spacing.3"}},sm:{content:{"--popover-padding":"spacing.4"}},md:{content:{"--popover-padding":"spacing.5"}},lg:{content:{"--popover-padding":"spacing.6"}}}},defaultVariants:{size:"md"}}),Aw=B({slots:la.keys(),className:"chakra-progress",base:{root:{textStyle:"sm",position:"relative"},track:{overflow:"hidden",position:"relative"},range:{display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"width, height",transitionDuration:"slow",height:"100%",bgColor:"var(--track-color)",_indeterminate:{"--animate-from-x":"-40%","--animate-to-x":"100%",position:"absolute",willChange:"left",minWidth:"50%",animation:"position 1s ease infinite normal none running",backgroundImage:"linear-gradient(to right, transparent 0%, var(--track-color) 50%, transparent 100%)"}},label:{display:"inline-flex",fontWeight:"medium",alignItems:"center",gap:"1"},valueText:{textStyle:"xs",lineHeight:"1",fontWeight:"medium"}},variants:{variant:{outline:{track:{shadow:"inset",bgColor:"bg.muted"},range:{bgColor:"colorPalette.solid"}},subtle:{track:{bgColor:"colorPalette.muted"},range:{bgColor:"colorPalette.solid/72"}}},shape:{square:{},rounded:{track:{borderRadius:"l1"}},full:{track:{borderRadius:"full"}}},striped:{true:{range:{backgroundImage:"linear-gradient(45deg, var(--stripe-color) 25%, transparent 25%, transparent 50%, var(--stripe-color) 50%, var(--stripe-color) 75%, transparent 75%, transparent)",backgroundSize:"var(--stripe-size) var(--stripe-size)","--stripe-size":"1rem","--stripe-color":{_light:"rgba(255, 255, 255, 0.3)",_dark:"rgba(0, 0, 0, 0.3)"}}}},animated:{true:{range:{"--animate-from":"var(--stripe-size)",animation:"bg-position 1s linear infinite"}}},size:{xs:{track:{h:"1.5"}},sm:{track:{h:"2"}},md:{track:{h:"2.5"}},lg:{track:{h:"3"}},xl:{track:{h:"4"}}}},defaultVariants:{variant:"outline",size:"md",shape:"rounded"}}),_w=B({className:"chakra-progress-circle",slots:la.keys(),base:{root:{display:"inline-flex",textStyle:"sm",position:"relative"},circle:{_indeterminate:{animation:"spin 2s linear infinite"}},circleTrack:{"--track-color":"colors.colorPalette.muted",stroke:"var(--track-color)"},circleRange:{stroke:"colorPalette.solid",transitionProperty:"stroke-dashoffset, stroke-dasharray",transitionDuration:"0.6s",_indeterminate:{animation:"circular-progress 1.5s linear infinite"}},label:{display:"inline-flex"},valueText:{lineHeight:"1",fontWeight:"medium",letterSpacing:"tight",fontVariantNumeric:"tabular-nums"}},variants:{size:{xs:{circle:{"--size":"24px","--thickness":"4px"},valueText:{textStyle:"2xs"}},sm:{circle:{"--size":"32px","--thickness":"5px"},valueText:{textStyle:"2xs"}},md:{circle:{"--size":"40px","--thickness":"6px"},valueText:{textStyle:"xs"}},lg:{circle:{"--size":"48px","--thickness":"7px"},valueText:{textStyle:"sm"}},xl:{circle:{"--size":"64px","--thickness":"8px"},valueText:{textStyle:"sm"}}}},defaultVariants:{size:"md"}}),Vw=B({slots:Rd.keys(),className:"chakra-qr-code",base:{root:{position:"relative",width:"fit-content","--qr-code-overlay-size":"calc(var(--qr-code-size) / 3)"},frame:{width:"var(--qr-code-size)",height:"var(--qr-code-size)",fill:"currentColor"},overlay:{display:"flex",alignItems:"center",justifyContent:"center",width:"var(--qr-code-overlay-size)",height:"var(--qr-code-overlay-size)",padding:"1",bg:"bg",rounded:"l1"}},variants:{size:{"2xs":{root:{"--qr-code-size":"40px"}},xs:{root:{"--qr-code-size":"64px"}},sm:{root:{"--qr-code-size":"80px"}},md:{root:{"--qr-code-size":"120px"}},lg:{root:{"--qr-code-size":"160px"}},xl:{root:{"--qr-code-size":"200px"}},"2xl":{root:{"--qr-code-size":"240px"}},full:{root:{"--qr-code-size":"100%"}}}},defaultVariants:{size:"md"}}),Fw=B({className:"chakra-radio-card",slots:MS.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",isolation:"isolate"},item:{flex:"1",display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",_focus:{bg:"colorPalette.muted/20"},_disabled:{opacity:"0.8",borderColor:"border.disabled"},_checked:{zIndex:"1"}},label:{display:"inline-flex",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},itemText:{fontWeight:"medium",flex:"1"},itemDescription:{opacity:"0.64",textStyle:"sm"},itemControl:{display:"inline-flex",flex:"1",pos:"relative",rounded:"inherit",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)",_disabled:{bg:"bg.muted"}},itemIndicator:Ee.base,itemAddon:{roundedBottom:"inherit",_disabled:{color:"fg.muted"}},itemContent:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)"}},variants:{size:{sm:{item:{textStyle:"sm"},itemControl:{padding:"3",gap:"1.5"},itemAddon:{px:"3",py:"1.5",borderTopWidth:"1px"},itemIndicator:Ee.variants?.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:Ee.variants?.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:Ee.variants?.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:Ee.variants?.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:Ee.variants?.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:Ee.variants?.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemIndicator:Ee.variants?.variant.inverted}},justify:{start:{item:{"--radio-card-justify":"flex-start"}},end:{item:{"--radio-card-justify":"flex-end"}},center:{item:{"--radio-card-justify":"center"}}},align:{start:{item:{"--radio-card-align":"flex-start"},itemControl:{textAlign:"start"}},end:{item:{"--radio-card-align":"flex-end"},itemControl:{textAlign:"end"}},center:{item:{"--radio-card-align":"center"},itemControl:{textAlign:"center"}}},orientation:{vertical:{itemControl:{flexDirection:"column"}},horizontal:{itemControl:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}}),Lw=B({className:"chakra-radio-group",slots:Vh.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:Ee.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:Ee.variants?.variant?.outline},subtle:{itemControl:Ee.variants?.variant?.subtle},solid:{itemControl:Ee.variants?.variant?.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:Ee.variants?.size?.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:Ee.variants?.size?.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:Ee.variants?.size?.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:Ee.variants?.size?.lg}}},defaultVariants:{size:"md",variant:"solid"}}),Dw=B({className:"chakra-rating-group",slots:jS.keys(),base:{root:{display:"inline-flex"},control:{display:"inline-flex",alignItems:"center"},item:{display:"inline-flex",alignItems:"center",justifyContent:"center",userSelect:"none"},itemIndicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"1em",height:"1em",position:"relative","--clip-path":{base:"inset(0 50% 0 0)",_rtl:"inset(0 0 0 50%)"},_icon:{stroke:"currentColor",width:"100%",height:"100%",display:"inline-block",flexShrink:0,position:"absolute",left:0,top:0},"& [data-bg]":{color:"bg.emphasized"},"& [data-fg]":{color:"transparent"},"&[data-highlighted]:not([data-half])":{"& [data-fg]":{color:"colorPalette.solid"}},"&[data-half]":{"& [data-fg]":{color:"colorPalette.solid",clipPath:"var(--clip-path)"}}}},variants:{size:{xs:{item:{textStyle:"sm"}},sm:{item:{textStyle:"md"}},md:{item:{textStyle:"xl"}},lg:{item:{textStyle:"2xl"}}}},defaultVariants:{size:"md"}}),zw=B({className:"chakra-scroll-area",slots:Nd.keys(),base:{root:{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",overflow:"hidden","--scrollbar-margin":"2px","--scrollbar-click-area":"calc(var(--scrollbar-size) + calc(var(--scrollbar-margin) * 2))"},viewport:{display:"flex",flexDirection:"column",height:"100%",width:"100%",borderRadius:"inherit",WebkitOverflowScrolling:"touch",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},content:{minWidth:"100%"},scrollbar:{display:"flex",userSelect:"none",touchAction:"none",borderRadius:"full",colorPalette:"gray",transition:"opacity 150ms 300ms",position:"relative",margin:"var(--scrollbar-margin)","&:not([data-overflow-x], [data-overflow-y])":{display:"none"},bg:"{colors.colorPalette.solid/10}","--thumb-bg":"{colors.colorPalette.solid/25}","&:is(:hover, :active)":{"--thumb-bg":"{colors.colorPalette.solid/50}"},_before:{content:'""',position:"absolute"},_vertical:{width:"var(--scrollbar-size)",flexDirection:"column","&::before":{width:"var(--scrollbar-click-area)",height:"100%",insetInlineStart:"calc(var(--scrollbar-margin) * -1)"}},_horizontal:{height:"var(--scrollbar-size)",flexDirection:"row","&::before":{height:"var(--scrollbar-click-area)",width:"100%",top:"calc(var(--scrollbar-margin) * -1)"}}},thumb:{borderRadius:"inherit",bg:"var(--thumb-bg)",transition:"backgrounds",_vertical:{width:"full"},_horizontal:{height:"full"}},corner:{bg:"bg.muted",margin:"var(--scrollbar-margin)",opacity:0,transition:"opacity 150ms 300ms","&[data-hover]":{transitionDelay:"0ms",opacity:1}}},variants:{variant:{hover:{scrollbar:{opacity:"0","&[data-hover], &[data-scrolling]":{opacity:"1",transitionDuration:"faster",transitionDelay:"0ms"}}},always:{scrollbar:{opacity:"1"}}},size:{xs:{root:{"--scrollbar-size":"sizes.1"}},sm:{root:{"--scrollbar-size":"sizes.1.5"}},md:{root:{"--scrollbar-size":"sizes.2"}},lg:{root:{"--scrollbar-size":"sizes.3"}}}},defaultVariants:{size:"md",variant:"hover"}}),Mw=B({className:"chakra-segment-group",slots:Ad.keys(),base:{root:{"--segment-radius":"radii.l2",borderRadius:"l2",display:"inline-flex",boxShadow:"inset",minW:"max-content",textAlign:"center",position:"relative",isolation:"isolate",bg:"bg.muted",_vertical:{flexDirection:"column"}},item:{display:"flex",alignItems:"center",justifyContent:"center",userSelect:"none",fontSize:"sm",position:"relative",color:"fg",borderRadius:"var(--segment-radius)",_disabled:{opacity:"0.5"},"&:has(input:focus-visible)":{focusRing:"outside"},_before:{content:'""',position:"absolute",bg:"border",transition:"opacity 0.2s"},_horizontal:{_before:{insetInlineStart:0,insetBlock:"1.5",width:"1px"}},_vertical:{_before:{insetBlockStart:0,insetInline:"1.5",height:"1px"}},"& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type":{_before:{opacity:"0"}},"&[data-state=checked][data-ssr]":{shadow:"sm",bg:"bg",borderRadius:"var(--segment-radius)"}},indicator:{shadow:"sm",pos:"absolute",bg:{_light:"bg",_dark:"bg.emphasized"},width:"var(--width)",height:"var(--height)",top:"var(--top)",left:"var(--left)",zIndex:-1,borderRadius:"var(--segment-radius)"}},variants:{size:{xs:{item:{textStyle:"xs",px:"3",gap:"1",height:"6"}},sm:{item:{textStyle:"sm",px:"4",gap:"2",height:"8"}},md:{item:{textStyle:"sm",px:"4",gap:"2",height:"10"}},lg:{item:{textStyle:"md",px:"4.5",gap:"3",height:"11"}}}},defaultVariants:{size:"md"}}),jw=B({className:"chakra-slider",slots:WS.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",textStyle:"sm",position:"relative",isolation:"isolate",touchAction:"none"},label:{fontWeight:"medium",textStyle:"sm"},control:{display:"inline-flex",alignItems:"center",position:"relative"},track:{overflow:"hidden",borderRadius:"full",flex:"1"},range:{width:"inherit",height:"inherit",_disabled:{bg:"border.emphasized!"}},markerGroup:{position:"absolute!",zIndex:"1"},marker:{"--marker-bg":{base:"white",_underValue:"colors.bg"},display:"flex",alignItems:"center",gap:"calc(var(--slider-thumb-size) / 2)",color:"fg.muted",textStyle:"xs"},markerIndicator:{width:"var(--slider-marker-size)",height:"var(--slider-marker-size)",borderRadius:"full",bg:"var(--marker-bg)"},thumb:{width:"var(--slider-thumb-size)",height:"var(--slider-thumb-size)",display:"flex",alignItems:"center",justifyContent:"center",outline:0,zIndex:"2",borderRadius:"full",_focusVisible:{ring:"2px",ringColor:"colorPalette.focusRing",ringOffset:"2px",ringOffsetColor:"bg"}}},variants:{size:{sm:{root:{"--slider-thumb-size":"sizes.4","--slider-track-size":"sizes.1.5","--slider-marker-center":"6px","--slider-marker-size":"sizes.1","--slider-marker-inset":"3px"}},md:{root:{"--slider-thumb-size":"sizes.5","--slider-track-size":"sizes.2","--slider-marker-center":"8px","--slider-marker-size":"sizes.1","--slider-marker-inset":"4px"}},lg:{root:{"--slider-thumb-size":"sizes.6","--slider-track-size":"sizes.2.5","--slider-marker-center":"9px","--slider-marker-size":"sizes.1.5","--slider-marker-inset":"5px"}}},variant:{outline:{track:{shadow:"inset",bg:"bg.emphasized/72"},range:{bg:"colorPalette.solid"},thumb:{borderWidth:"2px",borderColor:"colorPalette.solid",bg:"bg",_disabled:{bg:"border.emphasized",borderColor:"border.emphasized"}}},solid:{track:{bg:"colorPalette.subtle",_disabled:{bg:"bg.muted"}},range:{bg:"colorPalette.solid"},thumb:{bg:"colorPalette.solid",_disabled:{bg:"border.emphasized"}}}},orientation:{vertical:{root:{display:"inline-flex"},control:{flexDirection:"column",height:"100%",minWidth:"var(--slider-thumb-size)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{marginEnd:"4"}},track:{width:"var(--slider-track-size)"},thumb:{left:"50%",translate:"-50% 0"},markerGroup:{insetStart:"var(--slider-marker-center)",insetBlock:"var(--slider-marker-inset)"},marker:{flexDirection:"row"}},horizontal:{control:{flexDirection:"row",width:"100%",minHeight:"var(--slider-thumb-size)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{marginBottom:"4"}},track:{height:"var(--slider-track-size)"},thumb:{top:"50%",translate:"0 -50%"},markerGroup:{top:"var(--slider-marker-center)",insetInline:"var(--slider-marker-inset)"},marker:{flexDirection:"column"}}}},defaultVariants:{size:"md",variant:"outline",orientation:"horizontal"}}),$w=B({className:"chakra-stat",slots:HS.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",position:"relative",flex:"1"},label:{display:"inline-flex",gap:"1.5",alignItems:"center",color:"fg.muted",textStyle:"sm"},helpText:{color:"fg.muted",textStyle:"xs"},valueUnit:{color:"fg.muted",textStyle:"xs",fontWeight:"initial",letterSpacing:"initial"},valueText:{verticalAlign:"baseline",fontWeight:"semibold",letterSpacing:"tight",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums",display:"inline-flex",gap:"1"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",marginEnd:1,"& :where(svg)":{w:"1em",h:"1em"},"&[data-type=up]":{color:"fg.success"},"&[data-type=down]":{color:"fg.error"}}},variants:{size:{sm:{valueText:{textStyle:"xl"}},md:{valueText:{textStyle:"2xl"}},lg:{valueText:{textStyle:"3xl"}}}},defaultVariants:{size:"md"}}),Bw=B({className:"chakra-status",slots:US.keys(),base:{root:{display:"inline-flex",alignItems:"center",gap:"2"},indicator:{width:"0.64em",height:"0.64em",flexShrink:0,borderRadius:"full",forcedColorAdjust:"none",bg:"colorPalette.solid"}},variants:{size:{sm:{root:{textStyle:"xs"}},md:{root:{textStyle:"sm"}},lg:{root:{textStyle:"md"}}}},defaultVariants:{size:"md"}}),Ww=B({className:"chakra-steps",slots:GS.keys(),base:{root:{display:"flex",width:"full"},list:{display:"flex",justifyContent:"space-between","--steps-gutter":"spacing.3","--steps-thickness":"2px"},title:{fontWeight:"medium",color:"fg"},description:{color:"fg.muted"},separator:{bg:"border",flex:"1"},indicator:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0",borderRadius:"full",fontWeight:"medium",width:"var(--steps-size)",height:"var(--steps-size)",_icon:{flexShrink:"0",width:"var(--steps-icon-size)",height:"var(--steps-icon-size)"}},item:{position:"relative",display:"flex",gap:"3",flex:"1 0 0","&:last-of-type":{flex:"initial","& [data-part=separator]":{display:"none"}}},trigger:{display:"flex",alignItems:"center",gap:"3",textAlign:"start",focusVisibleRing:"outside",borderRadius:"l2"},content:{focusVisibleRing:"outside"}},variants:{orientation:{vertical:{root:{flexDirection:"row",height:"100%"},list:{flexDirection:"column",alignItems:"flex-start"},separator:{position:"absolute",width:"var(--steps-thickness)",height:"100%",maxHeight:"calc(100% - var(--steps-size) - var(--steps-gutter) * 2)",top:"calc(var(--steps-size) + var(--steps-gutter))",insetStart:"calc(var(--steps-size) / 2 - 1px)"},item:{alignItems:"flex-start"}},horizontal:{root:{flexDirection:"column",width:"100%"},list:{flexDirection:"row",alignItems:"center"},separator:{width:"100%",height:"var(--steps-thickness)",marginX:"var(--steps-gutter)"},item:{alignItems:"center"}}},variant:{solid:{indicator:{_incomplete:{borderWidth:"var(--steps-thickness)"},_current:{bg:"colorPalette.muted",borderWidth:"var(--steps-thickness)",borderColor:"colorPalette.solid",color:"colorPalette.fg"},_complete:{bg:"colorPalette.solid",borderColor:"colorPalette.solid",color:"colorPalette.contrast"}},separator:{_complete:{bg:"colorPalette.solid"}}},subtle:{indicator:{_incomplete:{bg:"bg.muted"},_current:{bg:"colorPalette.muted",color:"colorPalette.fg"},_complete:{bg:"colorPalette.emphasized",color:"colorPalette.fg"}},separator:{_complete:{bg:"colorPalette.emphasized"}}}},size:{xs:{root:{gap:"2.5"},list:{"--steps-size":"sizes.6","--steps-icon-size":"sizes.3.5",textStyle:"xs"},title:{textStyle:"sm"}},sm:{root:{gap:"3"},list:{"--steps-size":"sizes.8","--steps-icon-size":"sizes.4",textStyle:"xs"},title:{textStyle:"sm"}},md:{root:{gap:"4"},list:{"--steps-size":"sizes.10","--steps-icon-size":"sizes.4",textStyle:"sm"},title:{textStyle:"sm"}},lg:{root:{gap:"6"},list:{"--steps-size":"sizes.11","--steps-icon-size":"sizes.5",textStyle:"md"},title:{textStyle:"md"}}}},defaultVariants:{size:"md",variant:"solid",orientation:"horizontal"}}),Hw=B({slots:qS.keys(),className:"chakra-switch",base:{root:{display:"inline-flex",gap:"2.5",alignItems:"center",position:"relative",verticalAlign:"middle","--switch-diff":"calc(var(--switch-width) - var(--switch-height))","--switch-x":{base:"var(--switch-diff)",_rtl:"calc(var(--switch-diff) * -1)"}},label:{lineHeight:"1",userSelect:"none",fontSize:"sm",fontWeight:"medium",_disabled:{opacity:"0.5"}},indicator:{position:"absolute",height:"var(--switch-height)",width:"var(--switch-height)",fontSize:"var(--switch-indicator-font-size)",fontWeight:"medium",flexShrink:0,userSelect:"none",display:"grid",placeContent:"center",transition:"inset-inline-start 0.12s ease",insetInlineStart:"calc(var(--switch-x) - 2px)",_checked:{insetInlineStart:"2px"}},control:{display:"inline-flex",gap:"0.5rem",flexShrink:0,justifyContent:"flex-start",cursor:"switch",borderRadius:"full",position:"relative",width:"var(--switch-width)",height:"var(--switch-height)",transition:"backgrounds",_disabled:{opacity:"0.5",cursor:"not-allowed"},_invalid:{outline:"2px solid",outlineColor:"border.error",outlineOffset:"2px"}},thumb:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transitionProperty:"translate",transitionDuration:"fast",borderRadius:"inherit",_checked:{translate:"var(--switch-x) 0"}}},variants:{variant:{solid:{control:{borderRadius:"full",bg:"bg.emphasized",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}},thumb:{bg:"white",width:"var(--switch-height)",height:"var(--switch-height)",scale:"0.8",boxShadow:"sm",_checked:{bg:"colorPalette.contrast"}}},raised:{control:{borderRadius:"full",height:"calc(var(--switch-height) / 2)",bg:"bg.muted",boxShadow:"inset",_checked:{bg:"colorPalette.solid/60"}},thumb:{width:"var(--switch-height)",height:"var(--switch-height)",position:"relative",top:"calc(var(--switch-height) * -0.25)",bg:"white",boxShadow:"xs",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}}}},size:{xs:{root:{"--switch-width":"sizes.6","--switch-height":"sizes.3","--switch-indicator-font-size":"fontSizes.xs"}},sm:{root:{"--switch-width":"sizes.8","--switch-height":"sizes.4","--switch-indicator-font-size":"fontSizes.xs"}},md:{root:{"--switch-width":"sizes.10","--switch-height":"sizes.5","--switch-indicator-font-size":"fontSizes.sm"}},lg:{root:{"--switch-width":"sizes.12","--switch-height":"sizes.6","--switch-indicator-font-size":"fontSizes.md"}}}},defaultVariants:{variant:"solid",size:"md"}}),Uw=B({className:"chakra-table",slots:KS.keys(),base:{root:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full",textAlign:"start",verticalAlign:"top"},row:{_selected:{bg:"colorPalette.subtle"}},cell:{textAlign:"start",alignItems:"center"},columnHeader:{fontWeight:"medium",textAlign:"start",color:"fg"},caption:{fontWeight:"medium",textStyle:"xs"},footer:{fontWeight:"medium"}},variants:{interactive:{true:{body:{"& tr":{_hover:{bg:"colorPalette.subtle"}}}}},stickyHeader:{true:{header:{"& :where(tr)":{top:"var(--table-sticky-offset, 0)",position:"sticky",zIndex:1}}}},striped:{true:{row:{"&:nth-of-type(odd) td":{bg:"bg.muted"}}}},showColumnBorder:{true:{columnHeader:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}},cell:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}}}},variant:{line:{columnHeader:{borderBottomWidth:"1px"},cell:{borderBottomWidth:"1px"},row:{bg:"bg"}},outline:{root:{boxShadow:"0 0 0 1px {colors.border}",overflow:"hidden"},columnHeader:{borderBottomWidth:"1px"},header:{bg:"bg.muted"},row:{"&:not(:last-of-type)":{borderBottomWidth:"1px"}},footer:{borderTopWidth:"1px"}}},size:{sm:{root:{textStyle:"sm"},columnHeader:{px:"2",py:"2"},cell:{px:"2",py:"2"}},md:{root:{textStyle:"sm"},columnHeader:{px:"3",py:"3"},cell:{px:"3",py:"3"}},lg:{root:{textStyle:"md"},columnHeader:{px:"4",py:"3"},cell:{px:"4",py:"3"}}}},defaultVariants:{variant:"line",size:"md"}}),Gw=B({slots:XS.keys(),className:"chakra-tabs",base:{root:{"--tabs-trigger-radius":"radii.l2",position:"relative",_horizontal:{display:"block"},_vertical:{display:"flex"}},list:{display:"inline-flex",position:"relative",isolation:"isolate","--tabs-indicator-shadow":"shadows.xs","--tabs-indicator-bg":"colors.bg",minH:"var(--tabs-height)",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},trigger:{outline:"0",minW:"var(--tabs-height)",height:"var(--tabs-height)",display:"flex",alignItems:"center",fontWeight:"medium",position:"relative",cursor:"button",gap:"2",_focusVisible:{zIndex:1,outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{cursor:"not-allowed",opacity:.5}},content:{focusVisibleRing:"inside",_horizontal:{width:"100%",pt:"var(--tabs-content-padding)"},_vertical:{height:"100%",ps:"var(--tabs-content-padding)"}},indicator:{width:"var(--width)",height:"var(--height)",borderRadius:"var(--tabs-indicator-radius)",bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",zIndex:-1}},variants:{fitted:{true:{list:{display:"flex"},trigger:{flex:1,textAlign:"center",justifyContent:"center"}}},justify:{start:{list:{justifyContent:"flex-start"}},center:{list:{justifyContent:"center"}},end:{list:{justifyContent:"flex-end"}}},size:{sm:{root:{"--tabs-height":"sizes.9","--tabs-content-padding":"spacing.3"},trigger:{py:"1",px:"3",textStyle:"sm"}},md:{root:{"--tabs-height":"sizes.10","--tabs-content-padding":"spacing.4"},trigger:{py:"2",px:"4",textStyle:"sm"}},lg:{root:{"--tabs-height":"sizes.11","--tabs-content-padding":"spacing.4.5"},trigger:{py:"2",px:"4.5",textStyle:"md"}}},variant:{line:{list:{display:"flex",borderColor:"border",_horizontal:{borderBottomWidth:"1px"},_vertical:{borderEndWidth:"1px"}},trigger:{color:"fg.muted",_disabled:{_active:{bg:"initial"}},_selected:{color:"fg",_horizontal:{layerStyle:"indicator.bottom","--indicator-offset-y":"-1px","--indicator-color":"colors.colorPalette.solid"},_vertical:{layerStyle:"indicator.end","--indicator-offset-x":"-1px"}}}},subtle:{trigger:{borderRadius:"var(--tabs-trigger-radius)",color:"fg.muted",_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}},enclosed:{list:{bg:"bg.muted",padding:"1",borderRadius:"l3",minH:"calc(var(--tabs-height) - 4px)"},trigger:{justifyContent:"center",color:"fg.muted",borderRadius:"var(--tabs-trigger-radius)",_selected:{bg:"bg",color:"colorPalette.fg",shadow:"xs"}}},outline:{list:{"--line-thickness":"1px","--line-offset":"calc(var(--line-thickness) * -1)",borderColor:"border",display:"flex",_horizontal:{_before:{content:'""',position:"absolute",bottom:"0px",width:"100%",borderBottomWidth:"var(--line-thickness)",borderBottomColor:"border"}},_vertical:{_before:{content:'""',position:"absolute",insetInline:"var(--line-offset)",height:"calc(100% - calc(var(--line-thickness) * 2))",borderEndWidth:"var(--line-thickness)",borderEndColor:"border"}}},trigger:{color:"fg.muted",borderWidth:"1px",borderColor:"transparent",_selected:{bg:"currentBg",color:"colorPalette.fg"},_horizontal:{borderTopRadius:"var(--tabs-trigger-radius)",marginBottom:"var(--line-offset)",marginEnd:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderBottomColor:"transparent"}},_vertical:{borderStartRadius:"var(--tabs-trigger-radius)",marginEnd:"var(--line-offset)",marginBottom:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderEndColor:"transparent"}}}},plain:{trigger:{color:"fg.muted",_selected:{color:"colorPalette.fg"},borderRadius:"var(--tabs-trigger-radius)","&[data-selected][data-ssr]":{bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",borderRadius:"var(--tabs-indicator-radius)"}}}}},defaultVariants:{size:"md",variant:"line"}}),ci=Ea.variants?.variant,qw=B({slots:QS.keys(),className:"chakra-tag",base:{root:{display:"inline-flex",alignItems:"center",verticalAlign:"top",maxWidth:"100%",userSelect:"none",borderRadius:"l2",focusVisibleRing:"outside"},label:{lineClamp:"1"},closeTrigger:{display:"flex",alignItems:"center",justifyContent:"center",outline:"0",borderRadius:"l1",color:"currentColor",focusVisibleRing:"inside",focusRingWidth:"2px"},startElement:{flexShrink:0,boxSize:"var(--tag-element-size)",ms:"var(--tag-element-offset)","&:has([data-scope=avatar])":{boxSize:"var(--tag-avatar-size)",ms:"calc(var(--tag-element-offset) * 1.5)"},_icon:{boxSize:"100%"}},endElement:{flexShrink:0,boxSize:"var(--tag-element-size)",me:"var(--tag-element-offset)",_icon:{boxSize:"100%"},"&:has(button)":{ms:"calc(var(--tag-element-offset) * -1)"}}},variants:{size:{sm:{root:{px:"1.5",minH:"4.5",gap:"1","--tag-avatar-size":"spacing.3","--tag-element-size":"spacing.3","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},md:{root:{px:"1.5",minH:"5",gap:"1","--tag-avatar-size":"spacing.3.5","--tag-element-size":"spacing.3.5","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},lg:{root:{px:"2",minH:"6",gap:"1.5","--tag-avatar-size":"spacing.4.5","--tag-element-size":"spacing.4","--tag-element-offset":"-3px"},label:{textStyle:"sm"}},xl:{root:{px:"2.5",minH:"8",gap:"1.5","--tag-avatar-size":"spacing.6","--tag-element-size":"spacing.4.5","--tag-element-offset":"-4px"},label:{textStyle:"sm"}}},variant:{subtle:{root:ci?.subtle},solid:{root:ci?.solid},outline:{root:ci?.outline},surface:{root:ci?.surface}}},defaultVariants:{size:"md",variant:"surface"}}),Kw=B({slots:JS.keys(),className:"chakra-timeline",base:{root:{display:"flex",flexDirection:"column",width:"full","--timeline-thickness":"1px","--timeline-gutter":"4px"},item:{display:"flex",position:"relative",alignItems:"flex-start",flexShrink:0,gap:"4",_last:{"& :where(.chakra-timeline__separator)":{display:"none"}}},separator:{position:"absolute",borderStartWidth:"var(--timeline-thickness)",ms:"calc(-1 * var(--timeline-thickness) / 2)",insetInlineStart:"calc(var(--timeline-indicator-size) / 2)",insetBlock:"0",borderColor:"border"},indicator:{outline:"2px solid {colors.bg}",position:"relative",flexShrink:"0",boxSize:"var(--timeline-indicator-size)",fontSize:"var(--timeline-font-size)",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"full",fontWeight:"medium"},connector:{alignSelf:"stretch",position:"relative"},content:{pb:"6",display:"flex",flexDirection:"column",width:"full",gap:"2"},title:{display:"flex",fontWeight:"medium",flexWrap:"wrap",gap:"1.5",alignItems:"center",mt:"var(--timeline-margin)"},description:{color:"fg.muted",textStyle:"xs"}},variants:{variant:{subtle:{indicator:{bg:"colorPalette.muted"}},solid:{indicator:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},outline:{indicator:{bg:"currentBg",borderWidth:"1px",borderColor:"colorPalette.muted"}},plain:{}},size:{sm:{root:{"--timeline-indicator-size":"sizes.4","--timeline-font-size":"fontSizes.2xs"},title:{textStyle:"xs"}},md:{root:{"--timeline-indicator-size":"sizes.5","--timeline-font-size":"fontSizes.xs"},title:{textStyle:"sm"}},lg:{root:{"--timeline-indicator-size":"sizes.6","--timeline-font-size":"fontSizes.xs"},title:{mt:"0.5",textStyle:"sm"}},xl:{root:{"--timeline-indicator-size":"sizes.8","--timeline-font-size":"fontSizes.sm"},title:{mt:"1.5",textStyle:"sm"}}}},defaultVariants:{size:"md",variant:"solid"}}),Yw=B({slots:YS.keys(),className:"chakra-toast",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",gap:"3",py:"4",ps:"4",pe:"6",borderRadius:"l2",translate:"var(--x) var(--y)",scale:"var(--scale)",zIndex:"var(--z-index)",height:"var(--height)",opacity:"var(--opacity)",willChange:"translate, opacity, scale",transition:"translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",transitionTimingFunction:"cubic-bezier(0.21, 1.02, 0.73, 1)",_closed:{transition:"translate 400ms, scale 400ms, opacity 200ms",transitionTimingFunction:"cubic-bezier(0.06, 0.71, 0.55, 1)"},bg:"bg.panel",color:"fg",boxShadow:"xl","--toast-trigger-bg":"colors.bg.muted","&[data-type=warning]":{bg:"orange.solid",color:"orange.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=success]":{bg:"green.solid",color:"green.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=error]":{bg:"red.solid",color:"red.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"}},title:{fontWeight:"medium",textStyle:"sm",marginEnd:"2"},description:{display:"inline",textStyle:"sm",opacity:"0.8"},indicator:{flexShrink:"0",boxSize:"5"},actionTrigger:{textStyle:"sm",fontWeight:"medium",height:"8",px:"3",borderRadius:"l2",alignSelf:"center",borderWidth:"1px",borderColor:"var(--toast-border-color, inherit)",transition:"background 200ms",_hover:{bg:"var(--toast-trigger-bg)"}},closeTrigger:{position:"absolute",top:"1",insetEnd:"1",padding:"1",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"{currentColor/60}",borderRadius:"l2",textStyle:"md",transition:"background 200ms",_icon:{boxSize:"1em"}}}}),Xw=B({slots:Md.keys(),className:"chakra-tooltip",base:{content:{"--tooltip-bg":"colors.bg.inverted",bg:"var(--tooltip-bg)",color:"fg.inverted",px:"2.5",py:"1",borderRadius:"l2",fontWeight:"medium",textStyle:"xs",boxShadow:"md",maxW:"xs",zIndex:"tooltip",transformOrigin:"var(--transform-origin)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"fast"}},arrow:{"--arrow-size":"sizes.2","--arrow-background":"var(--tooltip-bg)"},arrowTip:{borderTopWidth:"1px",borderInlineStartWidth:"1px",borderColor:"var(--tooltip-bg)"}}}),zh=Zn({display:"flex",alignItems:"center",gap:"var(--tree-item-gap)",rounded:"l2",userSelect:"none",position:"relative","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-icon-offset":"calc(var(--tree-icon-size) * var(--tree-depth) * 0.5)","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset) + var(--tree-icon-offset))",ps:"var(--tree-offset)",pe:"var(--tree-padding-inline)",py:"var(--tree-padding-block)",focusVisibleRing:"inside",focusRingColor:"border.emphasized",focusRingWidth:"2px","&:hover, &:focus-visible":{bg:"bg.muted"},_disabled:{layerStyle:"disabled"}}),Mh=Zn({flex:"1"}),jh=Zn({_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}),$h=Zn({_selected:{layerStyle:"fill.solid"}}),Qw=B({slots:ld.keys(),className:"chakra-tree-view",base:{root:{width:"full",display:"flex",flexDirection:"column",gap:"2"},tree:{display:"flex",flexDirection:"column","--tree-item-gap":"spacing.2",_icon:{boxSize:"var(--tree-icon-size)"}},label:{fontWeight:"medium",textStyle:"sm"},branch:{position:"relative"},branchContent:{position:"relative"},branchIndentGuide:{height:"100%",width:"1px",bg:"border",position:"absolute","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset))","--tree-icon-offset":"calc(var(--tree-icon-size) * 0.5 * var(--depth))",insetInlineStart:"calc(var(--tree-offset) + var(--tree-icon-offset))",zIndex:"1"},branchIndicator:{color:"fg.muted",transformOrigin:"center",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_open:{transform:"rotate(90deg)"}},branchTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center"},branchControl:zh,item:zh,itemText:Mh,branchText:Mh,nodeCheckbox:{display:"inline-flex"}},variants:{size:{md:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1.5","--tree-icon-size":"spacing.4"}},sm:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}},xs:{tree:{textStyle:"xs","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.2","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}}},variant:{subtle:{branchControl:jh,item:jh},solid:{branchControl:$h,item:$h}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}}),Jw={accordion:nw,actionBar:rw,alert:ow,avatar:iw,blockquote:sw,breadcrumb:aw,card:lw,checkbox:cw,checkboxCard:uw,codeBlock:dw,collapsible:hw,dataList:pw,dialog:mw,drawer:vw,editable:bw,emptyState:yw,field:xw,fieldset:kw,fileUpload:Cw,hoverCard:Sw,list:ww,listbox:Ew,menu:Ow,nativeSelect:Pw,numberInput:Iw,pinInput:Tw,popover:Nw,progress:Aw,progressCircle:_w,radioCard:Fw,radioGroup:Lw,ratingGroup:Dw,scrollArea:zw,segmentGroup:Mw,select:li,combobox:gw,slider:jw,stat:$w,steps:Ww,switch:Hw,table:Uw,tabs:Gw,tag:qw,toast:Yw,tooltip:Xw,status:Bw,timeline:Kw,colorPicker:fw,qrCode:Vw,treeView:Qw},Zw=Vk({"2xs":{value:{fontSize:"2xs",lineHeight:"0.75rem"}},xs:{value:{fontSize:"xs",lineHeight:"1rem"}},sm:{value:{fontSize:"sm",lineHeight:"1.25rem"}},md:{value:{fontSize:"md",lineHeight:"1.5rem"}},lg:{value:{fontSize:"lg",lineHeight:"1.75rem"}},xl:{value:{fontSize:"xl",lineHeight:"1.875rem"}},"2xl":{value:{fontSize:"2xl",lineHeight:"2rem"}},"3xl":{value:{fontSize:"3xl",lineHeight:"2.375rem"}},"4xl":{value:{fontSize:"4xl",lineHeight:"2.75rem",letterSpacing:"-0.025em"}},"5xl":{value:{fontSize:"5xl",lineHeight:"3.75rem",letterSpacing:"-0.025em"}},"6xl":{value:{fontSize:"6xl",lineHeight:"4.5rem",letterSpacing:"-0.025em"}},"7xl":{value:{fontSize:"7xl",lineHeight:"5.75rem",letterSpacing:"-0.025em"}},none:{value:{}},label:{value:{fontSize:"sm",lineHeight:"1.25rem",fontWeight:"medium"}}}),eE=de.animations({spin:{value:"spin 1s linear infinite"},ping:{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"},pulse:{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"},bounce:{value:"bounce 1s infinite"}}),tE=de.aspectRatios({square:{value:"1 / 1"},landscape:{value:"4 / 3"},portrait:{value:"3 / 4"},wide:{value:"16 / 9"},ultrawide:{value:"18 / 5"},golden:{value:"1.618 / 1"}}),nE=de.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}}),rE=de.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}}),oE=de.colors({transparent:{value:"transparent"},current:{value:"currentColor"},black:{value:"#09090B"},white:{value:"#FFFFFF"},whiteAlpha:{50:{value:"rgba(255, 255, 255, 0.04)"},100:{value:"rgba(255, 255, 255, 0.06)"},200:{value:"rgba(255, 255, 255, 0.08)"},300:{value:"rgba(255, 255, 255, 0.16)"},400:{value:"rgba(255, 255, 255, 0.24)"},500:{value:"rgba(255, 255, 255, 0.36)"},600:{value:"rgba(255, 255, 255, 0.48)"},700:{value:"rgba(255, 255, 255, 0.64)"},800:{value:"rgba(255, 255, 255, 0.80)"},900:{value:"rgba(255, 255, 255, 0.92)"},950:{value:"rgba(255, 255, 255, 0.95)"}},blackAlpha:{50:{value:"rgba(0, 0, 0, 0.04)"},100:{value:"rgba(0, 0, 0, 0.06)"},200:{value:"rgba(0, 0, 0, 0.08)"},300:{value:"rgba(0, 0, 0, 0.16)"},400:{value:"rgba(0, 0, 0, 0.24)"},500:{value:"rgba(0, 0, 0, 0.36)"},600:{value:"rgba(0, 0, 0, 0.48)"},700:{value:"rgba(0, 0, 0, 0.64)"},800:{value:"rgba(0, 0, 0, 0.80)"},900:{value:"rgba(0, 0, 0, 0.92)"},950:{value:"rgba(0, 0, 0, 0.95)"}},gray:{50:{value:"#fafafa"},100:{value:"#f4f4f5"},200:{value:"#e4e4e7"},300:{value:"#d4d4d8"},400:{value:"#a1a1aa"},500:{value:"#71717a"},600:{value:"#52525b"},700:{value:"#3f3f46"},800:{value:"#27272a"},900:{value:"#18181b"},950:{value:"#111111"}},red:{50:{value:"#fef2f2"},100:{value:"#fee2e2"},200:{value:"#fecaca"},300:{value:"#fca5a5"},400:{value:"#f87171"},500:{value:"#ef4444"},600:{value:"#dc2626"},700:{value:"#991919"},800:{value:"#511111"},900:{value:"#300c0c"},950:{value:"#1f0808"}},orange:{50:{value:"#fff7ed"},100:{value:"#ffedd5"},200:{value:"#fed7aa"},300:{value:"#fdba74"},400:{value:"#fb923c"},500:{value:"#f97316"},600:{value:"#ea580c"},700:{value:"#92310a"},800:{value:"#6c2710"},900:{value:"#3b1106"},950:{value:"#220a04"}},yellow:{50:{value:"#fefce8"},100:{value:"#fef9c3"},200:{value:"#fef08a"},300:{value:"#fde047"},400:{value:"#facc15"},500:{value:"#eab308"},600:{value:"#ca8a04"},700:{value:"#845209"},800:{value:"#713f12"},900:{value:"#422006"},950:{value:"#281304"}},green:{50:{value:"#f0fdf4"},100:{value:"#dcfce7"},200:{value:"#bbf7d0"},300:{value:"#86efac"},400:{value:"#4ade80"},500:{value:"#22c55e"},600:{value:"#16a34a"},700:{value:"#116932"},800:{value:"#124a28"},900:{value:"#042713"},950:{value:"#03190c"}},teal:{50:{value:"#f0fdfa"},100:{value:"#ccfbf1"},200:{value:"#99f6e4"},300:{value:"#5eead4"},400:{value:"#2dd4bf"},500:{value:"#14b8a6"},600:{value:"#0d9488"},700:{value:"#0c5d56"},800:{value:"#114240"},900:{value:"#032726"},950:{value:"#021716"}},blue:{50:{value:"#eff6ff"},100:{value:"#dbeafe"},200:{value:"#bfdbfe"},300:{value:"#a3cfff"},400:{value:"#60a5fa"},500:{value:"#3b82f6"},600:{value:"#2563eb"},700:{value:"#173da6"},800:{value:"#1a3478"},900:{value:"#14204a"},950:{value:"#0c142e"}},cyan:{50:{value:"#ecfeff"},100:{value:"#cffafe"},200:{value:"#a5f3fc"},300:{value:"#67e8f9"},400:{value:"#22d3ee"},500:{value:"#06b6d4"},600:{value:"#0891b2"},700:{value:"#0c5c72"},800:{value:"#134152"},900:{value:"#072a38"},950:{value:"#051b24"}},purple:{50:{value:"#faf5ff"},100:{value:"#f3e8ff"},200:{value:"#e9d5ff"},300:{value:"#d8b4fe"},400:{value:"#c084fc"},500:{value:"#a855f7"},600:{value:"#9333ea"},700:{value:"#641ba3"},800:{value:"#4a1772"},900:{value:"#2f0553"},950:{value:"#1a032e"}},pink:{50:{value:"#fdf2f8"},100:{value:"#fce7f3"},200:{value:"#fbcfe8"},300:{value:"#f9a8d4"},400:{value:"#f472b6"},500:{value:"#ec4899"},600:{value:"#db2777"},700:{value:"#a41752"},800:{value:"#6d0e34"},900:{value:"#45061f"},950:{value:"#2c0514"}}}),iE=de.cursor({button:{value:"pointer"},checkbox:{value:"default"},disabled:{value:"not-allowed"},menuitem:{value:"default"},option:{value:"default"},radio:{value:"default"},slider:{value:"default"},switch:{value:"pointer"}}),sE=de.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),aE=de.easings({"ease-in":{value:"cubic-bezier(0.42, 0, 1, 1)"},"ease-out":{value:"cubic-bezier(0, 0, 0.58, 1)"},"ease-in-out":{value:"cubic-bezier(0.42, 0, 0.58, 1)"},"ease-in-smooth":{value:"cubic-bezier(0.32, 0.72, 0, 1)"}}),lE=de.fontSizes({"2xs":{value:"0.625rem"},xs:{value:"0.75rem"},sm:{value:"0.875rem"},md:{value:"1rem"},lg:{value:"1.125rem"},xl:{value:"1.25rem"},"2xl":{value:"1.5rem"},"3xl":{value:"1.875rem"},"4xl":{value:"2.25rem"},"5xl":{value:"3rem"},"6xl":{value:"3.75rem"},"7xl":{value:"4.5rem"},"8xl":{value:"6rem"},"9xl":{value:"8rem"}}),cE=de.fontWeights({thin:{value:"100"},extralight:{value:"200"},light:{value:"300"},normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},extrabold:{value:"800"},black:{value:"900"}}),Bh='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',uE=de.fonts({heading:{value:`Inter, ${Bh}`},body:{value:`Inter, ${Bh}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}}),dE=Ak({spin:{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},pulse:{"50%":{opacity:"0.5"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}},"bg-position":{from:{backgroundPosition:"var(--animate-from, 1rem) 0"},to:{backgroundPosition:"var(--animate-to, 0) 0"}},position:{from:{insetInlineStart:"var(--animate-from-x)",insetBlockStart:"var(--animate-from-y)"},to:{insetInlineStart:"var(--animate-to-x)",insetBlockStart:"var(--animate-to-y)"}},"circular-progress":{"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100%"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260%"}},"expand-height":{from:{height:"0"},to:{height:"var(--height)"}},"collapse-height":{from:{height:"var(--height)"},to:{height:"0"}},"expand-width":{from:{width:"0"},to:{width:"var(--width)"}},"collapse-width":{from:{height:"var(--width)"},to:{height:"0"}},"fade-in":{from:{opacity:0},to:{opacity:1}},"fade-out":{from:{opacity:1},to:{opacity:0}},"slide-from-left-full":{from:{translate:"-100% 0"},to:{translate:"0 0"}},"slide-from-right-full":{from:{translate:"100% 0"},to:{translate:"0 0"}},"slide-from-top-full":{from:{translate:"0 -100%"},to:{translate:"0 0"}},"slide-from-bottom-full":{from:{translate:"0 100%"},to:{translate:"0 0"}},"slide-to-left-full":{from:{translate:"0 0"},to:{translate:"-100% 0"}},"slide-to-right-full":{from:{translate:"0 0"},to:{translate:"100% 0"}},"slide-to-top-full":{from:{translate:"0 0"},to:{translate:"0 -100%"}},"slide-to-bottom-full":{from:{translate:"0 0"},to:{translate:"0 100%"}},"slide-from-top":{"0%":{translate:"0 -0.5rem"},to:{translate:"0"}},"slide-from-bottom":{"0%":{translate:"0 0.5rem"},to:{translate:"0"}},"slide-from-left":{"0%":{translate:"-0.5rem 0"},to:{translate:"0"}},"slide-from-right":{"0%":{translate:"0.5rem 0"},to:{translate:"0"}},"slide-to-top":{"0%":{translate:"0"},to:{translate:"0 -0.5rem"}},"slide-to-bottom":{"0%":{translate:"0"},to:{translate:"0 0.5rem"}},"slide-to-left":{"0%":{translate:"0"},to:{translate:"-0.5rem 0"}},"slide-to-right":{"0%":{translate:"0"},to:{translate:"0.5rem 0"}},"scale-in":{from:{scale:"0.95"},to:{scale:"1"}},"scale-out":{from:{scale:"1"},to:{scale:"0.95"}}}),hE=de.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}}),fE=de.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}}),gE=de.radii({none:{value:"0"},"2xs":{value:"0.0625rem"},xs:{value:"0.125rem"},sm:{value:"0.25rem"},md:{value:"0.375rem"},lg:{value:"0.5rem"},xl:{value:"0.75rem"},"2xl":{value:"1rem"},"3xl":{value:"1.5rem"},"4xl":{value:"2rem"},full:{value:"9999px"}}),Wh=de.spacing({.5:{value:"0.125rem"},1:{value:"0.25rem"},1.5:{value:"0.375rem"},2:{value:"0.5rem"},2.5:{value:"0.625rem"},3:{value:"0.75rem"},3.5:{value:"0.875rem"},4:{value:"1rem"},4.5:{value:"1.125rem"},5:{value:"1.25rem"},6:{value:"1.5rem"},7:{value:"1.75rem"},8:{value:"2rem"},9:{value:"2.25rem"},10:{value:"2.5rem"},11:{value:"2.75rem"},12:{value:"3rem"},14:{value:"3.5rem"},16:{value:"4rem"},20:{value:"5rem"},24:{value:"6rem"},28:{value:"7rem"},32:{value:"8rem"},36:{value:"9rem"},40:{value:"10rem"},44:{value:"11rem"},48:{value:"12rem"},52:{value:"13rem"},56:{value:"14rem"},60:{value:"15rem"},64:{value:"16rem"},72:{value:"18rem"},80:{value:"20rem"},96:{value:"24rem"}}),pE=de.sizes({"3xs":{value:"14rem"},"2xs":{value:"16rem"},xs:{value:"20rem"},sm:{value:"24rem"},md:{value:"28rem"},lg:{value:"32rem"},xl:{value:"36rem"},"2xl":{value:"42rem"},"3xl":{value:"48rem"},"4xl":{value:"56rem"},"5xl":{value:"64rem"},"6xl":{value:"72rem"},"7xl":{value:"80rem"},"8xl":{value:"90rem"}}),mE=de.sizes({max:{value:"max-content"},min:{value:"min-content"},fit:{value:"fit-content"},prose:{value:"60ch"},full:{value:"100%"},dvh:{value:"100dvh"},svh:{value:"100svh"},lvh:{value:"100lvh"},dvw:{value:"100dvw"},svw:{value:"100svw"},lvw:{value:"100lvw"},vw:{value:"100vw"},vh:{value:"100vh"}}),vE=de.sizes({"1/2":{value:"50%"},"1/3":{value:"33.333333%"},"2/3":{value:"66.666667%"},"1/4":{value:"25%"},"3/4":{value:"75%"},"1/5":{value:"20%"},"2/5":{value:"40%"},"3/5":{value:"60%"},"4/5":{value:"80%"},"1/6":{value:"16.666667%"},"2/6":{value:"33.333333%"},"3/6":{value:"50%"},"4/6":{value:"66.666667%"},"5/6":{value:"83.333333%"},"1/12":{value:"8.333333%"},"2/12":{value:"16.666667%"},"3/12":{value:"25%"},"4/12":{value:"33.333333%"},"5/12":{value:"41.666667%"},"6/12":{value:"50%"},"7/12":{value:"58.333333%"},"8/12":{value:"66.666667%"},"9/12":{value:"75%"},"10/12":{value:"83.333333%"},"11/12":{value:"91.666667%"}}),bE=de.sizes({...pE,...Wh,...vE,...mE}),yE=de.zIndex({hide:{value:-1},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipNav:{value:1600},toast:{value:1700},tooltip:{value:1800},max:{value:2147483647}}),xE=va({preflight:!0,cssVarsPrefix:"chakra",cssVarsRoot:":where(html, .chakra-theme)",globalCss:QC,theme:{breakpoints:XC,keyframes:dE,tokens:{aspectRatios:tE,animations:eE,blurs:nE,borders:rE,colors:oE,durations:sE,easings:aE,fonts:uE,fontSizes:lE,fontWeights:cE,letterSpacings:hE,lineHeights:fE,radii:gE,spacing:Wh,sizes:bE,zIndex:yE,cursor:iE},semanticTokens:{colors:vS,shadows:yS,radii:bS},recipes:mS,slotRecipes:Jw,textStyles:Zw,layerStyles:JC,animationStyles:ZC}}),Hh=Hd(Hk,xE);Rh(Hh);function kE(e){const{key:t,recipe:n}=e,r=lo();return P.useMemo(()=>{const o=n||(t!=null?r.getSlotRecipe(t):{});return r.sva(structuredClone(o))},[t,n,r])}const CE=e=>e.charAt(0).toUpperCase()+e.slice(1),ui=e=>{const{key:t,recipe:n}=e,r=CE(t||n.className||"Component"),[o,i]=_n({name:`${r}StylesContext`,errorMessage:`use${r}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${r}.Root />" `}),[s,a]=_n({name:`${r}ClassNameContext`,errorMessage:`use${r}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${r}.Root />" `,strict:!1}),[l,c]=_n({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`,defaultValue:{}});function u(g){const{unstyled:p,...v}=g,y=kE({key:t,recipe:v.recipe||n}),[x,b]=P.useMemo(()=>y.splitVariantProps(v),[v,y]);return{styles:P.useMemo(()=>p?Nm:y(x),[p,x,y]),classNames:y.classNameMap,props:b}}function d(g,p={}){const{defaultProps:v}=p,y=x=>{const b=c(),C=P.useMemo(()=>mr(v,b,x),[b,x]),{styles:k,classNames:E,props:I}=u(C);return f.jsx(o,{value:k,children:f.jsx(s,{value:E,children:f.jsx(g,{...I})})})};return y.displayName=g.displayName||g.name,y}return{StylesProvider:o,ClassNamesProvider:s,PropsProvider:l,usePropsContext:c,useRecipeResult:u,withProvider:(g,p,v)=>{const{defaultProps:y,...x}=v??{},b=ve(g,{},x),C=P.forwardRef((k,E)=>{const I=c(),R=P.useMemo(()=>mr(y??{},I,k),[I,k]),{styles:_,props:A,classNames:T}=u(R),S=T[p],N=f.jsx(o,{value:_,children:f.jsx(s,{value:T,children:f.jsx(b,{ref:E,...A,css:[_[p],R.css],className:Ge(R.className,S)})})});return v?.wrapElement?.(N,R)??N});return C.displayName=g.displayName||g.name,C},withContext:(g,p,v)=>{const y=ve(g,{},v),x=P.forwardRef((b,C)=>{const{unstyled:k,...E}=b,I=i(),_=a()?.[p];return f.jsx(y,{...E,css:[!k&&p?I[p]:void 0,b.css],ref:C,className:Ge(b.className,_)})});return x.displayName=g.displayName||g.name,x},withRootProvider:d,useStyles:i,useClassNames:a}},Uh=ve("div",{base:{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},variants:{axis:{horizontal:{insetStart:"50%",translate:"-50%",_rtl:{translate:"50%"}},vertical:{top:"50%",translate:"0 -50%"},both:{insetStart:"50%",top:"50%",translate:"-50% -50%",_rtl:{translate:"50% -50%"}}}},defaultVariants:{axis:"both"}});Uh.displayName="AbsoluteCenter";const SE=e=>f.jsx(ve.svg,{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",...e,children:f.jsx("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11.0026 16L6.75999 11.7574L8.17421 10.3431L11.0026 13.1716L16.6595 7.51472L18.0737 8.92893L11.0026 16Z"})}),Gh=e=>f.jsx(ve.svg,{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",...e,children:f.jsx("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z"})}),qh=e=>f.jsx(ve.svg,{viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",...e,children:f.jsx("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z"})}),wE=e=>f.jsx(ve.svg,{viewBox:"0 0 24 24",fill:"currentColor",...e,children:f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7071 6.70711C19.0976 6.31658 19.0976 5.68342 18.7071 5.29289C18.3166 4.90237 17.6834 4.90237 17.2929 5.29289L12 10.5858L6.70711 5.29289C6.31658 4.90237 5.68342 4.90237 5.29289 5.29289C4.90237 5.68342 4.90237 6.31658 5.29289 6.70711L10.5858 12L5.29289 17.2929C4.90237 17.6834 4.90237 18.3166 5.29289 18.7071C5.68342 19.0976 6.31658 19.0976 6.70711 18.7071L12 13.4142L17.2929 18.7071C17.6834 19.0976 18.3166 19.0976 18.7071 18.7071C19.0976 18.3166 19.0976 17.6834 18.7071 17.2929L13.4142 12L18.7071 6.70711Z"})}),[EE,OE]=_n({name:"AlertStatusContext",hookName:"useAlertStatusContext",providerName:"<Alert />"}),{withProvider:PE,withContext:Pa,useStyles:IE}=ui({key:"alert"}),RE=PE("div","root",{forwardAsChild:!0,wrapElement(e,t){return f.jsx(EE,{value:{status:t.status||"info"},children:e})}}),Kh=Pa("div","title"),TE=Pa("div","description"),NE=Pa("div","content"),AE={info:qh,warning:Gh,success:SE,error:Gh,neutral:qh},_E=P.forwardRef(function(t,n){const r=OE(),o=IE(),i=typeof r.status=="string"?AE[r.status]:P.Fragment,{children:s=f.jsx(i,{}),...a}=t;return f.jsx(ve.span,{ref:n,...a,css:[o.indicator,t.css],children:s})}),VE=e=>e?"":void 0,{withContext:FE}=Nt({key:"badge"}),Yh=FE("span"),{withContext:LE}=Nt({key:"spinner"}),DE=LE("span"),zE=O.forwardRef(function(t,n){const{spinner:r=f.jsx(DE,{size:"inherit",borderWidth:"0.125em",color:"inherit"}),spinnerPlacement:o="start",children:i,text:s,visible:a=!0,...l}=t;return a?s?f.jsxs(No,{ref:n,display:"contents",...l,children:[o==="start"&&r,s,o==="end"&&r]}):r?f.jsxs(No,{ref:n,display:"contents",...l,children:[f.jsx(Uh,{display:"inline-flex",children:r}),f.jsx(No,{visibility:"hidden",display:"contents",children:i})]}):f.jsx(No,{ref:n,display:"contents",...l,children:i}):i}),{useRecipeResult:ME,usePropsContext:jE}=Nt({key:"button"}),Ie=P.forwardRef(function(t,n){const r=jE(),o=P.useMemo(()=>mr(r,t),[r,t]),i=ME(o),{loading:s,loadingText:a,children:l,spinner:c,spinnerPlacement:u,...d}=i.props;return f.jsx(ve.button,{type:"button",ref:n,...d,"data-loading":VE(s),disabled:s||d.disabled,className:Ge(i.className,o.className),css:[i.styles,o.css],children:!o.asChild&&s?f.jsx(zE,{spinner:c,text:a,spinnerPlacement:u,children:l}):l})}),St=P.forwardRef(function(t,n){return f.jsx(Ie,{px:"0",py:"0",_icon:{fontSize:"1.2em"},ref:n,...t})}),dn=O.forwardRef(function(t,n){return f.jsx(St,{variant:"ghost","aria-label":"Close",ref:n,...t,children:t.children??f.jsx(wE,{})})}),Xh=ve("div",{base:{display:"flex",alignItems:"center",justifyContent:"center"},variants:{inline:{true:{display:"inline-flex"}}}});Xh.displayName="Center";const{withContext:$E}=Nt({key:"code"}),BE=$E("code");function WE(e){const{gap:t,direction:n}=e,r={column:{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},"column-reverse":{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},row:{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0},"row-reverse":{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0}};return{"&":Wd(n,o=>r[o])}}function HE(e){return P.Children.toArray(e).filter(t=>P.isValidElement(t))}const Qh=P.forwardRef(function(t,n){const{direction:r="column",align:o,justify:i,gap:s="0.5rem",wrap:a,children:l,separator:c,className:u,...d}=t,h=P.useMemo(()=>WE({gap:s,direction:r}),[s,r]),m=P.useMemo(()=>P.isValidElement(c)?HE(l).map((g,p,v)=>{const y=typeof g.key<"u"?g.key:p,x=c,b=P.cloneElement(x,{css:[h,x.props.css]});return f.jsxs(P.Fragment,{children:[g,p===v.length-1?null:b]},y)}):l,[l,c,h]);return f.jsx(ve.div,{ref:n,display:"flex",alignItems:o,justifyContent:i,flexDirection:r,flexWrap:a,gap:c?void 0:s,className:Ge("chakra-stack",u),...d,children:m})}),{withRootProvider:Jh,withContext:pt}=ui({key:"dialog"});Jh(m1,{defaultProps:{unmountOnExit:!0,lazyMount:!0}});const hn=Jh(p1,{defaultProps:{unmountOnExit:!0,lazyMount:!0}});pt(Ju,"trigger",{forwardAsChild:!0});const fn=pt(Hu,"positioner",{forwardAsChild:!0}),gn=pt(Bu,"content",{forwardAsChild:!0});pt(Wu,"description",{forwardAsChild:!0});const pn=pt(Qu,"title",{forwardAsChild:!0}),mn=pt($u,"closeTrigger",{forwardAsChild:!0}),vn=P.forwardRef(function(t,n){const r=Mt();return f.jsx(ve.button,{...t,ref:n,onClick:()=>r.setOpen(!1)})}),bn=pt(ju,"backdrop",{forwardAsChild:!0}),yn=pt("div","body"),xn=pt("div","footer"),kn=pt("div","header");function UE(e){const{each:t,fallback:n,children:r}=e;return t?.length===0?n||null:t?.map(r)}const di=P.forwardRef(function(t,n){const{direction:r,align:o,justify:i,wrap:s,basis:a,grow:l,shrink:c,inline:u,...d}=t;return f.jsx(ve.div,{ref:n,...d,css:{display:u?"inline-flex":"flex",flexDirection:r,alignItems:o,justifyContent:i,flexWrap:s,flexBasis:a,flexGrow:l,flexShrink:c,...t.css}})}),{withContext:GE}=Nt({key:"input"}),qE=GE(ed),{withContext:KE}=Nt({key:"link"}),jr=KE("a"),{withProvider:YE,withContext:Zh}=ui({key:"list"}),ef=YE("ul","root",{defaultProps:{role:"list"}}),tf=Zh("li","item");Zh("span","indicator");const XE=P.forwardRef(function(t,n){return f.jsx(Qh,{align:"center",...t,direction:"row",ref:n})}),hi=P.forwardRef(function(t,n){return f.jsx(Qh,{align:"center",...t,direction:"column",ref:n})}),{StylesProvider:QE,ClassNamesProvider:JE,useRecipeResult:ZE,withContext:wt}=ui({key:"table"}),nf=P.forwardRef(function({native:t,...n},r){const{styles:o,props:i,classNames:s}=ZE(n),a=P.useMemo(()=>t?{...o.root,"& thead":o.header,"& tbody":o.body,"& tfoot":o.footer,"& thead th":o.columnHeader,"& tr":o.row,"& td":o.cell,"& caption":o.caption}:o.root,[o,t]);return f.jsx(JE,{value:s,children:f.jsx(QE,{value:o,children:f.jsx(ve.table,{ref:r,...i,css:[a,n.css],className:Ge(s?.root,n.className)})})})}),fi=wt("tr","row");ve("div",{base:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflow:"auto",maxWidth:"100%"}});const rf=wt("thead","header");wt("tfoot","footer");const ke=wt("th","columnHeader"),Ce=wt("td","cell");wt("caption","caption",{defaultProps:{captionSide:"bottom"}});const of=wt("tbody","body");wt("colgroup"),wt("col");const{withContext:e2}=Nt({key:"textarea"}),sf=e2(nd);var rr=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},t2={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},n2=class{#e=t2;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},Cn=new n2;function r2(e){setTimeout(e,0)}var Sn=typeof window>"u"||"Deno"in globalThis;function Ne(){}function o2(e,t){return typeof e=="function"?e(t):e}function Ia(e){return typeof e=="number"&&e>=0&&e!==1/0}function af(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Bt(e,t){return typeof e=="function"?e(t):e}function Qe(e,t){return typeof e=="function"?e(t):e}function lf(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Ra(s,t.options))return!1}else if(!$r(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function cf(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(wn(t.options.mutationKey)!==wn(i))return!1}else if(!$r(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Ra(e,t){return(t?.queryKeyHashFn||wn)(e)}function wn(e){return JSON.stringify(e,(t,n)=>Ta(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function $r(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>$r(e[n],t[n])):!1}var i2=Object.prototype.hasOwnProperty;function uf(e,t){if(e===t)return e;const n=df(e)&&df(t);if(!n&&!(Ta(e)&&Ta(t)))return t;const o=(n?e:Object.keys(e)).length,i=n?t:Object.keys(t),s=i.length,a=n?new Array(s):{};let l=0;for(let c=0;c<s;c++){const u=n?c:i[c],d=e[u],h=t[u];if(d===h){a[u]=d,(n?c<o:i2.call(e,u))&&l++;continue}if(d===null||h===null||typeof d!="object"||typeof h!="object"){a[u]=h;continue}const m=uf(d,h);a[u]=m,m===d&&l++}return o===s&&l===o?e:a}function gi(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function df(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ta(e){if(!hf(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!hf(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function hf(e){return Object.prototype.toString.call(e)==="[object Object]"}function s2(e){return new Promise(t=>{Cn.setTimeout(t,e)})}function Na(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?uf(e,t):t}function a2(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function l2(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Aa=Symbol();function ff(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Aa?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function gf(e,t){return typeof e=="function"?e(...t):!!e}var c2=class extends rr{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!Sn&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},_a=new c2;function Va(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}var u2=r2;function d2(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=u2;const i=a=>{t?e.push(a):o(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var ge=d2(),h2=class extends rr{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!Sn&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},pi=new h2;function f2(e){return Math.min(1e3*2**e,3e4)}function pf(e){return(e??"online")==="online"?pi.isOnline():!0}var Fa=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function mf(e){let t=!1,n=0,r;const o=Va(),i=()=>o.status!=="pending",s=p=>{if(!i()){const v=new Fa(p);h(v),e.onCancel?.(v)}},a=()=>{t=!0},l=()=>{t=!1},c=()=>_a.isFocused()&&(e.networkMode==="always"||pi.isOnline())&&e.canRun(),u=()=>pf(e.networkMode)&&e.canRun(),d=p=>{i()||(r?.(),o.resolve(p))},h=p=>{i()||(r?.(),o.reject(p))},m=()=>new Promise(p=>{r=v=>{(i()||c())&&p(v)},e.onPause?.()}).then(()=>{r=void 0,i()||e.onContinue?.()}),g=()=>{if(i())return;let p;const v=n===0?e.initialPromise:void 0;try{p=v??e.fn()}catch(y){p=Promise.reject(y)}Promise.resolve(p).then(d).catch(y=>{if(i())return;const x=e.retry??(Sn?0:3),b=e.retryDelay??f2,C=typeof b=="function"?b(n,y):b,k=x===!0||typeof x=="number"&&n<x||typeof x=="function"&&x(n,y);if(t||!k){h(y);return}n++,e.onFail?.(n,y),s2(C).then(()=>c()?void 0:m()).then(()=>{t?h(y):g()})})};return{promise:o,status:()=>o.status,cancel:s,continue:()=>(r?.(),o),cancelRetry:a,continueRetry:l,canStart:u,start:()=>(u()?g():m().then(g),o)}}var vf=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ia(this.gcTime)&&(this.#e=Cn.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Sn?1/0:300*1e3))}clearGcTimeout(){this.#e&&(Cn.clearTimeout(this.#e),this.#e=void 0)}},g2=class extends vf{#e;#t;#n;#o;#r;#s;#a;constructor(e){super(),this.#a=!1,this.#s=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#o=e.client,this.#n=this.#o.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=yf(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#s,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=yf(this.options);t.data!==void 0&&(this.setData(t.data,{updatedAt:t.dataUpdatedAt,manual:!0}),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=Na(this.state.data,e,this.options);return this.#i({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#i({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(Ne).catch(Ne):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>Qe(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Aa||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Bt(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!af(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#a?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const a=this.observers.find(l=>l.options.queryFn);a&&this.setOptions(a.options)}const n=new AbortController,r=a=>{Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(this.#a=!0,n.signal)})},o=()=>{const a=ff(this.options,t),c=(()=>{const u={client:this.#o,queryKey:this.queryKey,meta:this.meta};return r(u),u})();return this.#a=!1,this.options.persister?this.options.persister(a,c,this):a(c)},s=(()=>{const a={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#o,state:this.state,fetchFn:o};return r(a),a})();this.options.behavior?.onFetch(s,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==s.fetchOptions?.meta)&&this.#i({type:"fetch",meta:s.fetchOptions?.meta}),this.#r=mf({initialPromise:t?.initialPromise,fn:s.fetchFn,onCancel:a=>{a instanceof Fa&&a.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(a,l)=>{this.#i({type:"failed",failureCount:a,error:l})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0});try{const a=await this.#r.start();if(a===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(a),this.#n.config.onSuccess?.(a,this),this.#n.config.onSettled?.(a,this.state.error,this),a}catch(a){if(a instanceof Fa){if(a.silent)return this.#r.promise;if(a.revert){if(this.state.data===void 0)throw a;return this.state.data}}throw this.#i({type:"error",error:a}),this.#n.config.onError?.(a,this),this.#n.config.onSettled?.(this.state.data,a,this),a}finally{this.scheduleGc()}}#i(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...bf(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?r:void 0,r;case"error":const o=e.error;return{...n,error:o,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),ge.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function bf(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:pf(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function yf(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var p2=class extends rr{constructor(e,t){super(),this.options=t,this.#e=e,this.#i=null,this.#a=Va(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#o=void 0;#r;#s;#a;#i;#p;#h;#f;#c;#u;#l;#g=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),xf(this.#t,this.options)?this.#d():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return La(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return La(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#k(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Qe(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#C(),this.#t.setOptions(this.options),t._defaulted&&!gi(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const r=this.hasListeners();r&&kf(this.#t,n,this.options,t)&&this.#d(),this.updateResult(),r&&(this.#t!==n||Qe(this.options.enabled,this.#t)!==Qe(t.enabled,this.#t)||Bt(this.options.staleTime,this.#t)!==Bt(t.staleTime,this.#t))&&this.#m();const o=this.#v();r&&(this.#t!==n||Qe(this.options.enabled,this.#t)!==Qe(t.enabled,this.#t)||o!==this.#l)&&this.#b(o)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return v2(this,n)&&(this.#o=n,this.#s=this.options,this.#r=this.#t.state),n}getCurrentResult(){return this.#o}trackResult(e,t){return new Proxy(e,{get:(n,r)=>(this.trackProp(r),t?.(r),r==="promise"&&!this.options.experimental_prefetchInRender&&this.#a.status==="pending"&&this.#a.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(n,r))})}trackProp(e){this.#g.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#o))}#d(e){this.#C();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Ne)),t}#m(){this.#x();const e=Bt(this.options.staleTime,this.#t);if(Sn||this.#o.isStale||!Ia(e))return;const n=af(this.#o.dataUpdatedAt,e)+1;this.#c=Cn.setTimeout(()=>{this.#o.isStale||this.updateResult()},n)}#v(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#b(e){this.#k(),this.#l=e,!(Sn||Qe(this.options.enabled,this.#t)===!1||!Ia(this.#l)||this.#l===0)&&(this.#u=Cn.setInterval(()=>{(this.options.refetchIntervalInBackground||_a.isFocused())&&this.#d()},this.#l))}#y(){this.#m(),this.#b(this.#v())}#x(){this.#c&&(Cn.clearTimeout(this.#c),this.#c=void 0)}#k(){this.#u&&(Cn.clearInterval(this.#u),this.#u=void 0)}createResult(e,t){const n=this.#t,r=this.options,o=this.#o,i=this.#r,s=this.#s,l=e!==n?e.state:this.#n,{state:c}=e;let u={...c},d=!1,h;if(t._optimisticResults){const R=this.hasListeners(),_=!R&&xf(e,t),A=R&&kf(e,n,t,r);(_||A)&&(u={...u,...bf(c.data,e.options)}),t._optimisticResults==="isRestoring"&&(u.fetchStatus="idle")}let{error:m,errorUpdatedAt:g,status:p}=u;h=u.data;let v=!1;if(t.placeholderData!==void 0&&h===void 0&&p==="pending"){let R;o?.isPlaceholderData&&t.placeholderData===s?.placeholderData?(R=o.data,v=!0):R=typeof t.placeholderData=="function"?t.placeholderData(this.#f?.state.data,this.#f):t.placeholderData,R!==void 0&&(p="success",h=Na(o?.data,R,t),d=!0)}if(t.select&&h!==void 0&&!v)if(o&&h===i?.data&&t.select===this.#p)h=this.#h;else try{this.#p=t.select,h=t.select(h),h=Na(o?.data,h,t),this.#h=h,this.#i=null}catch(R){this.#i=R}this.#i&&(m=this.#i,h=this.#h,g=Date.now(),p="error");const y=u.fetchStatus==="fetching",x=p==="pending",b=p==="error",C=x&&y,k=h!==void 0,I={status:p,fetchStatus:u.fetchStatus,isPending:x,isSuccess:p==="success",isError:b,isInitialLoading:C,isLoading:C,data:h,dataUpdatedAt:u.dataUpdatedAt,error:m,errorUpdatedAt:g,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>l.dataUpdateCount||u.errorUpdateCount>l.errorUpdateCount,isFetching:y,isRefetching:y&&!x,isLoadingError:b&&!k,isPaused:u.fetchStatus==="paused",isPlaceholderData:d,isRefetchError:b&&k,isStale:Da(e,t),refetch:this.refetch,promise:this.#a,isEnabled:Qe(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const R=T=>{I.status==="error"?T.reject(I.error):I.data!==void 0&&T.resolve(I.data)},_=()=>{const T=this.#a=I.promise=Va();R(T)},A=this.#a;switch(A.status){case"pending":e.queryHash===n.queryHash&&R(A);break;case"fulfilled":(I.status==="error"||I.data!==A.value)&&_();break;case"rejected":(I.status!=="error"||I.error!==A.reason)&&_();break}}return I}updateResult(){const e=this.#o,t=this.createResult(this.#t,this.options);if(this.#r=this.#t.state,this.#s=this.options,this.#r.data!==void 0&&(this.#f=this.#t),gi(t,e))return;this.#o=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:r}=this.options,o=typeof r=="function"?r():r;if(o==="all"||!o&&!this.#g.size)return!0;const i=new Set(o??this.#g);return this.options.throwOnError&&i.add("error"),Object.keys(this.#o).some(s=>{const a=s;return this.#o[a]!==e[a]&&i.has(a)})};this.#S({listeners:n()})}#C(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#S(e){ge.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#o)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function m2(e,t){return Qe(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function xf(e,t){return m2(e,t)||e.state.data!==void 0&&La(e,t,t.refetchOnMount)}function La(e,t,n){if(Qe(t.enabled,e)!==!1&&Bt(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Da(e,t)}return!1}function kf(e,t,n,r){return(e!==t||Qe(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Da(e,n)}function Da(e,t){return Qe(t.enabled,e)!==!1&&e.isStaleByTime(Bt(t.staleTime,e))}function v2(e,t){return!gi(e.getCurrentResult(),t)}function Cf(e){return{onFetch:(t,n)=>{const r=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],s=t.state.data?.pageParams||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let u=!1;const d=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},h=ff(t.options,t.fetchOptions),m=async(g,p,v)=>{if(u)return Promise.reject();if(p==null&&g.pages.length)return Promise.resolve(g);const x=(()=>{const E={client:t.client,queryKey:t.queryKey,pageParam:p,direction:v?"backward":"forward",meta:t.options.meta};return d(E),E})(),b=await h(x),{maxPages:C}=t.options,k=v?l2:a2;return{pages:k(g.pages,b,C),pageParams:k(g.pageParams,p,C)}};if(o&&i.length){const g=o==="backward",p=g?b2:Sf,v={pages:i,pageParams:s},y=p(r,v);a=await m(v,y,g)}else{const g=e??i.length;do{const p=l===0?s[0]??r.initialPageParam:Sf(r,a);if(l>0&&p==null)break;a=await m(a,p),l++}while(l<g)}return a};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function Sf(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function b2(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var y2=class extends vf{#e;#t;#n;#o;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||wf(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#o?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#r({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#o=mf({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(i,s)=>{this.#r({type:"failed",failureCount:i,error:s})},onPause:()=>{this.#r({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",o=!this.#o.canStart();try{if(r)t();else{this.#r({type:"pending",variables:e,isPaused:o}),await this.#n.config.onMutate?.(e,this,n);const s=await this.options.onMutate?.(e,n);s!==this.state.context&&this.#r({type:"pending",context:s,variables:e,isPaused:o})}const i=await this.#o.start();return await this.#n.config.onSuccess?.(i,e,this.state.context,this,n),await this.options.onSuccess?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(i,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(i,null,e,this.state.context,n),this.#r({type:"success",data:i}),i}catch(i){try{throw await this.#n.config.onError?.(i,e,this.state.context,this,n),await this.options.onError?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,i,e,this.state.context,n),i}finally{this.#r({type:"error",error:i})}}finally{this.#n.runNext(this)}}#r(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),ge.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function wf(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var x2=class extends rr{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){const r=new y2({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);const t=mi(e);if(typeof t=="string"){const n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=mi(e);if(typeof t=="string"){const n=this.#t.get(t);if(n)if(n.length>1){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=mi(e);if(typeof t=="string"){const r=this.#t.get(t)?.find(o=>o.state.status==="pending");return!r||r===e}else return!0}runNext(e){const t=mi(e);return typeof t=="string"?this.#t.get(t)?.find(r=>r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){ge.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>cf(t,n))}findAll(e={}){return this.getAll().filter(t=>cf(e,t))}notify(e){ge.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return ge.batch(()=>Promise.all(e.map(t=>t.continue().catch(Ne))))}};function mi(e){return e.options.scope?.id}var k2=class extends rr{#e;#t=void 0;#n;#o;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#e.defaultMutationOptions(e),gi(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&wn(t.mutationKey)!==wn(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#r(),this.#s(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#r(),this.#s()}mutate(e,t){return this.#o=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#r(){const e=this.#n?.state??wf();this.#t={...e,isPending:e.status==="pending",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset}}#s(e){ge.batch(()=>{if(this.#o&&this.hasListeners()){const t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};e?.type==="success"?(this.#o.onSuccess?.(e.data,t,n,r),this.#o.onSettled?.(e.data,null,t,n,r)):e?.type==="error"&&(this.#o.onError?.(e.error,t,n,r),this.#o.onSettled?.(void 0,e.error,t,n,r))}this.listeners.forEach(t=>{t(this.#t)})})}},C2=class extends rr{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const r=t.queryKey,o=t.queryHash??Ra(r,t);let i=this.get(o);return i||(i=new g2({client:e,queryKey:r,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(i)),i}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){ge.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>lf(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>lf(e,n)):t}notify(e){ge.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){ge.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){ge.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},S2=class{#e;#t;#n;#o;#r;#s;#a;#i;constructor(e={}){this.#e=e.queryCache||new C2,this.#t=e.mutationCache||new x2,this.#n=e.defaultOptions||{},this.#o=new Map,this.#r=new Map,this.#s=0}mount(){this.#s++,this.#s===1&&(this.#a=_a.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=pi.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#s--,this.#s===0&&(this.#a?.(),this.#a=void 0,this.#i?.(),this.#i=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Bt(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,s=o2(t,i);if(s!==void 0)return this.#e.build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return ge.batch(()=>this.#e.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;ge.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#e;return ge.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=ge.batch(()=>this.#e.findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Ne).catch(Ne)}invalidateQueries(e,t={}){return ge.batch(()=>(this.#e.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=ge.batch(()=>this.#e.findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(Ne)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Ne)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(Bt(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ne).catch(Ne)}fetchInfiniteQuery(e){return e.behavior=Cf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ne).catch(Ne)}ensureInfiniteQueryData(e){return e.behavior=Cf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return pi.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#o.set(wn(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#o.values()],n={};return t.forEach(r=>{$r(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#r.set(wn(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{$r(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Ra(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Aa&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Ef=O.createContext(void 0),Of=e=>{const t=O.useContext(Ef);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},w2=({client:e,children:t})=>(O.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),f.jsx(Ef.Provider,{value:e,children:t})),Pf=O.createContext(!1),E2=()=>O.useContext(Pf);Pf.Provider;function O2(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var P2=O.createContext(O2()),I2=()=>O.useContext(P2),R2=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},T2=e=>{O.useEffect(()=>{e.clearReset()},[e])},N2=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(o&&e.data===void 0||gf(n,[e.error,r])),A2=e=>{if(e.suspense){const n=o=>o==="static"?o:Math.max(o??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...o)=>n(r(...o)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},_2=(e,t)=>e.isLoading&&e.isFetching&&!t,V2=(e,t)=>e?.suspense&&t.isPending,If=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function F2(e,t,n){const r=E2(),o=I2(),i=Of(),s=i.defaultQueryOptions(e);i.getDefaultOptions().queries?._experimental_beforeQuery?.(s),s._optimisticResults=r?"isRestoring":"optimistic",A2(s),R2(s,o),T2(o);const a=!i.getQueryCache().get(s.queryHash),[l]=O.useState(()=>new t(i,s)),c=l.getOptimisticResult(s),u=!r&&e.subscribed!==!1;if(O.useSyncExternalStore(O.useCallback(d=>{const h=u?l.subscribe(ge.batchCalls(d)):Ne;return l.updateResult(),h},[l,u]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),O.useEffect(()=>{l.setOptions(s)},[s,l]),V2(s,c))throw If(s,l,o);if(N2({result:c,errorResetBoundary:o,throwOnError:s.throwOnError,query:i.getQueryCache().get(s.queryHash),suspense:s.suspense}))throw c.error;return i.getDefaultOptions().queries?._experimental_afterQuery?.(s,c),s.experimental_prefetchInRender&&!Sn&&_2(c,r)&&(a?If(s,l,o):i.getQueryCache().get(s.queryHash)?.promise)?.catch(Ne).finally(()=>{l.updateResult()}),s.notifyOnChangeProps?c:l.trackResult(c)}function Rf(e,t){return F2(e,p2)}function En(e,t){const n=Of(),[r]=O.useState(()=>new k2(n,e));O.useEffect(()=>{r.setOptions(e)},[r,e]);const o=O.useSyncExternalStore(O.useCallback(s=>r.subscribe(ge.batchCalls(s)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),i=O.useCallback((s,a)=>{r.mutate(s,a).catch(Ne)},[r]);if(o.error&&gf(r.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:i,mutateAsync:o.mutate}}function Tf(e,t){return function(){return e.apply(t,arguments)}}const{toString:L2}=Object.prototype,{getPrototypeOf:za}=Object,{iterator:vi,toStringTag:Nf}=Symbol,bi=(e=>t=>{const n=L2.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ot=e=>(e=e.toLowerCase(),t=>bi(t)===e),yi=e=>t=>typeof t===e,{isArray:or}=Array,ir=yi("undefined");function Br(e){return e!==null&&!ir(e)&&e.constructor!==null&&!ir(e.constructor)&&ze(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Af=ot("ArrayBuffer");function D2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Af(e.buffer),t}const z2=yi("string"),ze=yi("function"),_f=yi("number"),Wr=e=>e!==null&&typeof e=="object",M2=e=>e===!0||e===!1,xi=e=>{if(bi(e)!=="object")return!1;const t=za(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Nf in e)&&!(vi in e)},j2=e=>{if(!Wr(e)||Br(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},$2=ot("Date"),B2=ot("File"),W2=ot("Blob"),H2=ot("FileList"),U2=e=>Wr(e)&&ze(e.pipe),G2=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ze(e.append)&&((t=bi(e))==="formdata"||t==="object"&&ze(e.toString)&&e.toString()==="[object FormData]"))},q2=ot("URLSearchParams"),[K2,Y2,X2,Q2]=["ReadableStream","Request","Response","Headers"].map(ot),J2=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Hr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),or(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Br(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let a;for(r=0;r<s;r++)a=i[r],t.call(null,e[a],a,e)}}function Vf(e,t){if(Br(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const On=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:globalThis,Ff=e=>!ir(e)&&e!==On;function Ma(){const{caseless:e,skipUndefined:t}=Ff(this)&&this||{},n={},r=(o,i)=>{const s=e&&Vf(n,i)||i;xi(n[s])&&xi(o)?n[s]=Ma(n[s],o):xi(o)?n[s]=Ma({},o):or(o)?n[s]=o.slice():(!t||!ir(o))&&(n[s]=o)};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Hr(arguments[o],r);return n}const Z2=(e,t,n,{allOwnKeys:r}={})=>(Hr(t,(o,i)=>{n&&ze(o)?e[i]=Tf(o,n):e[i]=o},{allOwnKeys:r}),e),eO=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),tO=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},nO=(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&za(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},rO=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},oO=e=>{if(!e)return null;if(or(e))return e;let t=e.length;if(!_f(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},iO=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&za(Uint8Array)),sO=(e,t)=>{const r=(e&&e[vi]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},aO=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},lO=ot("HTMLFormElement"),cO=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Lf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),uO=ot("RegExp"),Df=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Hr(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},dO=e=>{Df(e,(t,n)=>{if(ze(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ze(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},hO=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return or(e)?r(e):r(String(e).split(t)),n},fO=()=>{},gO=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function pO(e){return!!(e&&ze(e.append)&&e[Nf]==="FormData"&&e[vi])}const mO=e=>{const t=new Array(10),n=(r,o)=>{if(Wr(r)){if(t.indexOf(r)>=0)return;if(Br(r))return r;if(!("toJSON"in r)){t[o]=r;const i=or(r)?[]:{};return Hr(r,(s,a)=>{const l=n(s,o+1);!ir(l)&&(i[a]=l)}),t[o]=void 0,i}}return r};return n(e,0)},vO=ot("AsyncFunction"),bO=e=>e&&(Wr(e)||ze(e))&&ze(e.then)&&ze(e.catch),zf=((e,t)=>e?setImmediate:t?((n,r)=>(On.addEventListener("message",({source:o,data:i})=>{o===On&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),On.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ze(On.postMessage)),yO=typeof queueMicrotask<"u"?queueMicrotask.bind(On):typeof process<"u"&&process.nextTick||zf,w={isArray:or,isArrayBuffer:Af,isBuffer:Br,isFormData:G2,isArrayBufferView:D2,isString:z2,isNumber:_f,isBoolean:M2,isObject:Wr,isPlainObject:xi,isEmptyObject:j2,isReadableStream:K2,isRequest:Y2,isResponse:X2,isHeaders:Q2,isUndefined:ir,isDate:$2,isFile:B2,isBlob:W2,isRegExp:uO,isFunction:ze,isStream:U2,isURLSearchParams:q2,isTypedArray:iO,isFileList:H2,forEach:Hr,merge:Ma,extend:Z2,trim:J2,stripBOM:eO,inherits:tO,toFlatObject:nO,kindOf:bi,kindOfTest:ot,endsWith:rO,toArray:oO,forEachEntry:sO,matchAll:aO,isHTMLForm:lO,hasOwnProperty:Lf,hasOwnProp:Lf,reduceDescriptors:Df,freezeMethods:dO,toObjectSet:hO,toCamelCase:cO,noop:fO,toFiniteNumber:gO,findKey:Vf,global:On,isContextDefined:Ff,isSpecCompliantForm:pO,toJSONObject:mO,isAsyncFn:vO,isThenable:bO,setImmediate:zf,asap:yO,isIterable:e=>e!=null&&ze(e[vi])};function H(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}w.inherits(H,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:w.toJSONObject(this.config),code:this.code,status:this.status}}});const Mf=H.prototype,jf={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{jf[e]={value:e}}),Object.defineProperties(H,jf),Object.defineProperty(Mf,"isAxiosError",{value:!0}),H.from=(e,t,n,r,o,i)=>{const s=Object.create(Mf);w.toFlatObject(e,s,function(u){return u!==Error.prototype},c=>c!=="isAxiosError");const a=e&&e.message?e.message:"Error",l=t==null&&e?e.code:t;return H.call(s,a,l,n,r,o),e&&s.cause==null&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};const xO=null;function ja(e){return w.isPlainObject(e)||w.isArray(e)}function $f(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function Bf(e,t,n){return e?e.concat(t).map(function(o,i){return o=$f(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function kO(e){return w.isArray(e)&&!e.some(ja)}const CO=w.toFlatObject(w,{},null,function(t){return/^is[A-Z]/.test(t)});function ki(e,t,n){if(!w.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=w.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,v){return!w.isUndefined(v[p])});const r=n.metaTokens,o=n.visitor||u,i=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&w.isSpecCompliantForm(t);if(!w.isFunction(o))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(w.isDate(g))return g.toISOString();if(w.isBoolean(g))return g.toString();if(!l&&w.isBlob(g))throw new H("Blob is not supported. Use a Buffer instead.");return w.isArrayBuffer(g)||w.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,p,v){let y=g;if(g&&!v&&typeof g=="object"){if(w.endsWith(p,"{}"))p=r?p:p.slice(0,-2),g=JSON.stringify(g);else if(w.isArray(g)&&kO(g)||(w.isFileList(g)||w.endsWith(p,"[]"))&&(y=w.toArray(g)))return p=$f(p),y.forEach(function(b,C){!(w.isUndefined(b)||b===null)&&t.append(s===!0?Bf([p],C,i):s===null?p:p+"[]",c(b))}),!1}return ja(g)?!0:(t.append(Bf(v,p,i),c(g)),!1)}const d=[],h=Object.assign(CO,{defaultVisitor:u,convertValue:c,isVisitable:ja});function m(g,p){if(!w.isUndefined(g)){if(d.indexOf(g)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(g),w.forEach(g,function(y,x){(!(w.isUndefined(y)||y===null)&&o.call(t,y,w.isString(x)?x.trim():x,p,h))===!0&&m(y,p?p.concat(x):[x])}),d.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Wf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function $a(e,t){this._pairs=[],e&&ki(e,this,t)}const Hf=$a.prototype;Hf.append=function(t,n){this._pairs.push([t,n])},Hf.toString=function(t){const n=t?function(r){return t.call(this,r,Wf)}:Wf;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function SO(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Uf(e,t,n){if(!t)return e;const r=n&&n.encode||SO;w.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(t,n):i=w.isURLSearchParams(t)?t.toString():new $a(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Gf{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){w.forEach(this.handlers,function(r){r!==null&&t(r)})}}const qf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},wO={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:$a,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Ba=typeof window<"u"&&typeof document<"u",Wa=typeof navigator=="object"&&navigator||void 0,EO=Ba&&(!Wa||["ReactNative","NativeScript","NS"].indexOf(Wa.product)<0),OO=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",PO=Ba&&window.location.href||"http://localhost",Re={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ba,hasStandardBrowserEnv:EO,hasStandardBrowserWebWorkerEnv:OO,navigator:Wa,origin:PO},Symbol.toStringTag,{value:"Module"})),...wO};function IO(e,t){return ki(e,new Re.classes.URLSearchParams,{visitor:function(n,r,o,i){return Re.isNode&&w.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function RO(e){return w.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function TO(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function Kf(e){function t(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),l=i>=n.length;return s=!s&&w.isArray(o)?o.length:s,l?(w.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!w.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&w.isArray(o[s])&&(o[s]=TO(o[s])),!a)}if(w.isFormData(e)&&w.isFunction(e.entries)){const n={};return w.forEachEntry(e,(r,o)=>{t(RO(r),o,n,0)}),n}return null}function NO(e,t,n){if(w.isString(e))try{return(t||JSON.parse)(e),w.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ur={transitional:qf,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=w.isObject(t);if(i&&w.isHTMLForm(t)&&(t=new FormData(t)),w.isFormData(t))return o?JSON.stringify(Kf(t)):t;if(w.isArrayBuffer(t)||w.isBuffer(t)||w.isStream(t)||w.isFile(t)||w.isBlob(t)||w.isReadableStream(t))return t;if(w.isArrayBufferView(t))return t.buffer;if(w.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return IO(t,this.formSerializer).toString();if((a=w.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ki(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),NO(t)):t}],transformResponse:[function(t){const n=this.transitional||Ur.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(w.isResponse(t)||w.isReadableStream(t))return t;if(t&&w.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(a){if(s)throw a.name==="SyntaxError"?H.from(a,H.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Re.classes.FormData,Blob:Re.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch"],e=>{Ur.headers[e]={}});const AO=w.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),_O=e=>{const t={};let n,r,o;return e&&e.split(`
-`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&AO[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Yf=Symbol("internals");function Gr(e){return e&&String(e).trim().toLowerCase()}function Ci(e){return e===!1||e==null?e:w.isArray(e)?e.map(Ci):String(e)}function VO(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const FO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ha(e,t,n,r,o){if(w.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!w.isString(t)){if(w.isString(r))return t.indexOf(r)!==-1;if(w.isRegExp(r))return r.test(t)}}function LO(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function DO(e,t){const n=w.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}let Me=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(a,l,c){const u=Gr(l);if(!u)throw new Error("header name must be a non-empty string");const d=w.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=Ci(a))}const s=(a,l)=>w.forEach(a,(c,u)=>i(c,u,l));if(w.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(w.isString(t)&&(t=t.trim())&&!FO(t))s(_O(t),n);else if(w.isObject(t)&&w.isIterable(t)){let a={},l,c;for(const u of t){if(!w.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?w.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}s(a,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=Gr(t),t){const r=w.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return VO(o);if(w.isFunction(n))return n.call(this,o,r);if(w.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Gr(t),t){const r=w.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ha(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=Gr(s),s){const a=w.findKey(r,s);a&&(!n||Ha(r,r[a],a,n))&&(delete r[a],o=!0)}}return w.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Ha(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return w.forEach(this,(o,i)=>{const s=w.findKey(r,i);if(s){n[s]=Ci(o),delete n[i];return}const a=t?LO(i):String(i).trim();a!==i&&delete n[i],n[a]=Ci(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return w.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&w.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
-`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Yf]=this[Yf]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Gr(s);r[a]||(DO(o,s),r[a]=!0)}return w.isArray(t)?t.forEach(i):i(t),this}};Me.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),w.reduceDescriptors(Me.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),w.freezeMethods(Me);function Ua(e,t){const n=this||Ur,r=t||n,o=Me.from(r.headers);let i=r.data;return w.forEach(e,function(a){i=a.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Xf(e){return!!(e&&e.__CANCEL__)}function sr(e,t,n){H.call(this,e??"canceled",H.ERR_CANCELED,t,n),this.name="CanceledError"}w.inherits(sr,H,{__CANCEL__:!0});function Qf(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new H("Request failed with status code "+n.status,[H.ERR_BAD_REQUEST,H.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function zO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function MO(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[i];s||(s=c),n[o]=l,r[o]=c;let d=i,h=0;for(;d!==o;)h+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-s<t)return;const m=u&&c-u;return m?Math.round(h*1e3/m):void 0}}function jO(e,t){let n=0,r=1e3/t,o,i;const s=(c,u=Date.now())=>{n=u,o=null,i&&(clearTimeout(i),i=null),e(...c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?s(c,u):(o=c,i||(i=setTimeout(()=>{i=null,s(o)},r-d)))},()=>o&&s(o)]}const Si=(e,t,n=3)=>{let r=0;const o=MO(50,250);return jO(i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,l=s-r,c=o(l),u=s<=a;r=s;const d={loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-s)/c:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},Jf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Zf=e=>(...t)=>w.asap(()=>e(...t)),$O=Re.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Re.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Re.origin),Re.navigator&&/(msie|trident)/i.test(Re.navigator.userAgent)):()=>!0,BO=Re.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];w.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),w.isString(r)&&s.push("path="+r),w.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function WO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function HO(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function eg(e,t,n){let r=!WO(t);return e&&(r||n==!1)?HO(e,t):t}const tg=e=>e instanceof Me?{...e}:e;function Pn(e,t){t=t||{};const n={};function r(c,u,d,h){return w.isPlainObject(c)&&w.isPlainObject(u)?w.merge.call({caseless:h},c,u):w.isPlainObject(u)?w.merge({},u):w.isArray(u)?u.slice():u}function o(c,u,d,h){if(w.isUndefined(u)){if(!w.isUndefined(c))return r(void 0,c,d,h)}else return r(c,u,d,h)}function i(c,u){if(!w.isUndefined(u))return r(void 0,u)}function s(c,u){if(w.isUndefined(u)){if(!w.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,u,d)=>o(tg(c),tg(u),d,!0)};return w.forEach(Object.keys({...e,...t}),function(u){const d=l[u]||o,h=d(e[u],t[u],u);w.isUndefined(h)&&d!==a||(n[u]=h)}),n}const ng=e=>{const t=Pn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=Me.from(s),t.url=Uf(eg(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),w.isFormData(n)){if(Re.hasStandardBrowserEnv||Re.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(w.isFunction(n.getHeaders)){const l=n.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([u,d])=>{c.includes(u.toLowerCase())&&s.set(u,d)})}}if(Re.hasStandardBrowserEnv&&(r&&w.isFunction(r)&&(r=r(t)),r||r!==!1&&$O(t.url))){const l=o&&i&&BO.read(i);l&&s.set(o,l)}return t},UO=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=ng(e);let i=o.data;const s=Me.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=o,u,d,h,m,g;function p(){m&&m(),g&&g(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(o.method.toUpperCase(),o.url,!0),v.timeout=o.timeout;function y(){if(!v)return;const b=Me.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),k={data:!a||a==="text"||a==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:b,config:e,request:v};Qf(function(I){n(I),p()},function(I){r(I),p()},k),v=null}"onloadend"in v?v.onloadend=y:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(y)},v.onabort=function(){v&&(r(new H("Request aborted",H.ECONNABORTED,e,v)),v=null)},v.onerror=function(C){const k=C&&C.message?C.message:"Network Error",E=new H(k,H.ERR_NETWORK,e,v);E.event=C||null,r(E),v=null},v.ontimeout=function(){let C=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const k=o.transitional||qf;o.timeoutErrorMessage&&(C=o.timeoutErrorMessage),r(new H(C,k.clarifyTimeoutError?H.ETIMEDOUT:H.ECONNABORTED,e,v)),v=null},i===void 0&&s.setContentType(null),"setRequestHeader"in v&&w.forEach(s.toJSON(),function(C,k){v.setRequestHeader(k,C)}),w.isUndefined(o.withCredentials)||(v.withCredentials=!!o.withCredentials),a&&a!=="json"&&(v.responseType=o.responseType),c&&([h,g]=Si(c,!0),v.addEventListener("progress",h)),l&&v.upload&&([d,m]=Si(l),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",m)),(o.cancelToken||o.signal)&&(u=b=>{v&&(r(!b||b.type?new sr(null,e,v):b),v.abort(),v=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const x=zO(o.url);if(x&&Re.protocols.indexOf(x)===-1){r(new H("Unsupported protocol "+x+":",H.ERR_BAD_REQUEST,e));return}v.send(i||null)})},GO=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(c){if(!o){o=!0,a();const u=c instanceof Error?c:this.reason;r.abort(u instanceof H?u:new sr(u instanceof Error?u.message:u))}};let s=t&&setTimeout(()=>{s=null,i(new H(`timeout ${t} of ms exceeded`,H.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i));const{signal:l}=r;return l.unsubscribe=()=>w.asap(a),l}},qO=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},KO=async function*(e,t){for await(const n of YO(e))yield*qO(n,t)},YO=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},rg=(e,t,n,r)=>{const o=KO(e,t);let i=0,s,a=l=>{s||(s=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await o.next();if(c){a(),l.close();return}let d=u.byteLength;if(n){let h=i+=d;n(h)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),o.return()}},{highWaterMark:2})},og=64*1024,{isFunction:wi}=w,XO=(({Request:e,Response:t})=>({Request:e,Response:t}))(w.global),{ReadableStream:ig,TextEncoder:sg}=w.global,ag=(e,...t)=>{try{return!!e(...t)}catch{return!1}},QO=e=>{e=w.merge.call({skipUndefined:!0},XO,e);const{fetch:t,Request:n,Response:r}=e,o=t?wi(t):typeof fetch=="function",i=wi(n),s=wi(r);if(!o)return!1;const a=o&&wi(ig),l=o&&(typeof sg=="function"?(g=>p=>g.encode(p))(new sg):async g=>new Uint8Array(await new n(g).arrayBuffer())),c=i&&a&&ag(()=>{let g=!1;const p=new n(Re.origin,{body:new ig,method:"POST",get duplex(){return g=!0,"half"}}).headers.has("Content-Type");return g&&!p}),u=s&&a&&ag(()=>w.isReadableStream(new r("").body)),d={stream:u&&(g=>g.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!d[g]&&(d[g]=(p,v)=>{let y=p&&p[g];if(y)return y.call(p);throw new H(`Response type '${g}' is not supported`,H.ERR_NOT_SUPPORT,v)})});const h=async g=>{if(g==null)return 0;if(w.isBlob(g))return g.size;if(w.isSpecCompliantForm(g))return(await new n(Re.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(w.isArrayBufferView(g)||w.isArrayBuffer(g))return g.byteLength;if(w.isURLSearchParams(g)&&(g=g+""),w.isString(g))return(await l(g)).byteLength},m=async(g,p)=>{const v=w.toFiniteNumber(g.getContentLength());return v??h(p)};return async g=>{let{url:p,method:v,data:y,signal:x,cancelToken:b,timeout:C,onDownloadProgress:k,onUploadProgress:E,responseType:I,headers:R,withCredentials:_="same-origin",fetchOptions:A}=ng(g),T=t||fetch;I=I?(I+"").toLowerCase():"text";let S=GO([x,b&&b.toAbortSignal()],C),N=null;const D=S&&S.unsubscribe&&(()=>{S.unsubscribe()});let z;try{if(E&&c&&v!=="get"&&v!=="head"&&(z=await m(R,y))!==0){let Z=new n(p,{method:"POST",body:y,duplex:"half"}),pe;if(w.isFormData(y)&&(pe=Z.headers.get("content-type"))&&R.setContentType(pe),Z.body){const[Je,vt]=Jf(z,Si(Zf(E)));y=rg(Z.body,og,Je,vt)}}w.isString(_)||(_=_?"include":"omit");const W=i&&"credentials"in n.prototype,J={...A,signal:S,method:v.toUpperCase(),headers:R.normalize().toJSON(),body:y,duplex:"half",credentials:W?_:void 0};N=i&&new n(p,J);let ee=await(i?T(N,A):T(p,J));const $=u&&(I==="stream"||I==="response");if(u&&(k||$&&D)){const Z={};["status","statusText","headers"].forEach(It=>{Z[It]=ee[It]});const pe=w.toFiniteNumber(ee.headers.get("content-length")),[Je,vt]=k&&Jf(pe,Si(Zf(k),!0))||[];ee=new r(rg(ee.body,og,Je,()=>{vt&&vt(),D&&D()}),Z)}I=I||"text";let q=await d[w.findKey(d,I)||"text"](ee,g);return!$&&D&&D(),await new Promise((Z,pe)=>{Qf(Z,pe,{data:q,headers:Me.from(ee.headers),status:ee.status,statusText:ee.statusText,config:g,request:N})})}catch(W){throw D&&D(),W&&W.name==="TypeError"&&/Load failed|fetch/i.test(W.message)?Object.assign(new H("Network Error",H.ERR_NETWORK,g,N),{cause:W.cause||W}):H.from(W,W&&W.code,g,N)}}},JO=new Map,lg=e=>{let t=e?e.env:{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let s=i.length,a=s,l,c,u=JO;for(;a--;)l=i[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:QO(t)),u=c;return c};lg();const Ga={http:xO,xhr:UO,fetch:{get:lg}};w.forEach(Ga,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const cg=e=>`- ${e}`,ZO=e=>w.isFunction(e)||e===null||e===!1,ug={getAdapter:(e,t)=>{e=w.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let s=0;s<n;s++){r=e[s];let a;if(o=r,!ZO(r)&&(o=Ga[(a=String(r)).toLowerCase()],o===void 0))throw new H(`Unknown adapter '${a}'`);if(o&&(w.isFunction(o)||(o=o.get(t))))break;i[a||"#"+s]=o}if(!o){const s=Object.entries(i).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=n?s.length>1?`since :
-`+s.map(cg).join(`
-`):" "+cg(s[0]):"as no adapter specified";throw new H("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Ga};function qa(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new sr(null,e)}function dg(e){return qa(e),e.headers=Me.from(e.headers),e.data=Ua.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ug.getAdapter(e.adapter||Ur.adapter,e)(e).then(function(r){return qa(e),r.data=Ua.call(e,e.transformResponse,r),r.headers=Me.from(r.headers),r},function(r){return Xf(r)||(qa(e),r&&r.response&&(r.response.data=Ua.call(e,e.transformResponse,r.response),r.response.headers=Me.from(r.response.headers))),Promise.reject(r)})}const hg="1.12.2",Ei={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ei[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const fg={};Ei.transitional=function(t,n,r){function o(i,s){return"[Axios v"+hg+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(t===!1)throw new H(o(s," has been removed"+(n?" in "+n:"")),H.ERR_DEPRECATED);return n&&!fg[s]&&(fg[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,a):!0}},Ei.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function eP(e,t,n){if(typeof e!="object")throw new H("options must be an object",H.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const a=e[i],l=a===void 0||s(a,i,e);if(l!==!0)throw new H("option "+i+" must be "+l,H.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new H("Unknown option "+i,H.ERR_BAD_OPTION)}}const Oi={assertOptions:eP,validators:Ei},mt=Oi.validators;let In=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Gf,response:new Gf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
-`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Pn(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Oi.assertOptions(r,{silentJSONParsing:mt.transitional(mt.boolean),forcedJSONParsing:mt.transitional(mt.boolean),clarifyTimeoutError:mt.transitional(mt.boolean)},!1),o!=null&&(w.isFunction(o)?n.paramsSerializer={serialize:o}:Oi.assertOptions(o,{encode:mt.function,serialize:mt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Oi.assertOptions(n,{baseUrl:mt.spelling("baseURL"),withXsrfToken:mt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&w.merge(i.common,i[n.method]);i&&w.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=Me.concat(s,i);const a=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(l=l&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,h;if(!l){const g=[dg.bind(this),void 0];for(g.unshift(...a),g.push(...c),h=g.length,u=Promise.resolve(n);d<h;)u=u.then(g[d++],g[d++]);return u}h=a.length;let m=n;for(;d<h;){const g=a[d++],p=a[d++];try{m=g(m)}catch(v){p.call(this,v);break}}try{u=dg.call(this,m)}catch(g){return Promise.reject(g)}for(d=0,h=c.length;d<h;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=Pn(this.defaults,t);const n=eg(t.baseURL,t.url,t.allowAbsoluteUrls);return Uf(n,t.params,t.paramsSerializer)}};w.forEach(["delete","get","head","options"],function(t){In.prototype[t]=function(n,r){return this.request(Pn(r||{},{method:t,url:n,data:(r||{}).data}))}}),w.forEach(["post","put","patch"],function(t){function n(r){return function(i,s,a){return this.request(Pn(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}In.prototype[t]=n(),In.prototype[t+"Form"]=n(!0)});let tP=class fp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,a){r.reason||(r.reason=new sr(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new fp(function(o){t=o}),cancel:t}}};function nP(e){return function(n){return e.apply(null,n)}}function rP(e){return w.isObject(e)&&e.isAxiosError===!0}const Ka={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ka).forEach(([e,t])=>{Ka[t]=e});function gg(e){const t=new In(e),n=Tf(In.prototype.request,t);return w.extend(n,In.prototype,t,{allOwnKeys:!0}),w.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return gg(Pn(e,o))},n}const le=gg(Ur);le.Axios=In,le.CanceledError=sr,le.CancelToken=tP,le.isCancel=Xf,le.VERSION=hg,le.toFormData=ki,le.AxiosError=H,le.Cancel=le.CanceledError,le.all=function(t){return Promise.all(t)},le.spread=nP,le.isAxiosError=rP,le.mergeConfig=Pn,le.AxiosHeaders=Me,le.formToJSON=e=>Kf(w.isHTMLForm(e)?new FormData(e):e),le.getAdapter=ug.getAdapter,le.HttpStatusCode=Ka,le.default=le;const{Axios:pT,AxiosError:mT,CanceledError:vT,isCancel:bT,CancelToken:yT,VERSION:xT,all:kT,Cancel:CT,isAxiosError:ST,spread:wT,toFormData:ET,AxiosHeaders:OT,HttpStatusCode:PT,formToJSON:IT,getAdapter:RT,mergeConfig:TT}=le;var oP=(e,t,n,r,o,i,s,a)=>{let l=document.documentElement,c=["light","dark"];function u(m){(Array.isArray(e)?e:[e]).forEach(g=>{let p=g==="class",v=p&&i?o.map(y=>i[y]||y):o;p?(l.classList.remove(...v),l.classList.add(i&&i[m]?i[m]:m)):l.setAttribute(g,m)}),d(m)}function d(m){a&&c.includes(m)&&(l.style.colorScheme=m)}function h(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)u(r);else try{let m=localStorage.getItem(t)||n,g=s&&m==="system"?h():m;u(g)}catch{}},pg=["light","dark"],mg="(prefers-color-scheme: dark)",iP=typeof window>"u",vg=O.createContext(void 0),sP=e=>O.useContext(vg)?O.createElement(O.Fragment,null,e.children):O.createElement(lP,{...e}),aP=["light","dark"],lP=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:o="theme",themes:i=aP,defaultTheme:s=n?"system":"light",attribute:a="data-theme",value:l,children:c,nonce:u,scriptProps:d})=>{let[h,m]=O.useState(()=>uP(o,s)),[g,p]=O.useState(()=>h==="system"?Ya():h),v=l?Object.values(l):i,y=O.useCallback(k=>{let E=k;if(!E)return;k==="system"&&n&&(E=Ya());let I=l?l[E]:E,R=t?dP(u):null,_=document.documentElement,A=T=>{T==="class"?(_.classList.remove(...v),I&&_.classList.add(I)):T.startsWith("data-")&&(I?_.setAttribute(T,I):_.removeAttribute(T))};if(Array.isArray(a)?a.forEach(A):A(a),r){let T=pg.includes(s)?s:null,S=pg.includes(E)?E:T;_.style.colorScheme=S}R?.()},[u]),x=O.useCallback(k=>{let E=typeof k=="function"?k(h):k;m(E);try{localStorage.setItem(o,E)}catch{}},[h]),b=O.useCallback(k=>{let E=Ya(k);p(E),h==="system"&&n&&!e&&y("system")},[h,e]);O.useEffect(()=>{let k=window.matchMedia(mg);return k.addListener(b),b(k),()=>k.removeListener(b)},[b]),O.useEffect(()=>{let k=E=>{E.key===o&&(E.newValue?m(E.newValue):x(s))};return window.addEventListener("storage",k),()=>window.removeEventListener("storage",k)},[x]),O.useEffect(()=>{y(e??h)},[e,h]);let C=O.useMemo(()=>({theme:h,setTheme:x,forcedTheme:e,resolvedTheme:h==="system"?g:h,themes:n?[...i,"system"]:i,systemTheme:n?g:void 0}),[h,x,e,g,n,i]);return O.createElement(vg.Provider,{value:C},O.createElement(cP,{forcedTheme:e,storageKey:o,attribute:a,enableSystem:n,enableColorScheme:r,defaultTheme:s,value:l,themes:i,nonce:u,scriptProps:d}),c)},cP=O.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,themes:a,nonce:l,scriptProps:c})=>{let u=JSON.stringify([n,t,i,e,a,s,r,o]).slice(1,-1);return O.createElement("script",{...c,suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(${oP.toString()})(${u})`}})}),uP=(e,t)=>{if(iP)return;let n;try{n=localStorage.getItem(e)||void 0}catch{}return n||t},dP=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},Ya=e=>(e||(e=window.matchMedia(mg)),e.matches?"dark":"light");const hP=e=>f.jsx(sP,{attribute:"class",disableTransitionOnChange:!0,...e});/**
- * @remix-run/router v1.23.0
+)+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),yC=uh("width"),xC=uh("height"),dh=e=>({isMin:vh(e.minMax,e.maxMin,e.min),isMax:vh(e.maxMin,e.minMax,e.max)}),{isMin:Sa,isMax:hh}=dh(yC),{isMin:Ea,isMax:fh}=dh(xC),gh=/print/i,ph=/^print$/i,kC=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,CC=/(\d)/,$r=Number.MAX_VALUE,wC={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function mh(e){const t=kC.exec(e)||(Sa(e)||Ea(e)?CC.exec(e):null);if(!t)return $r;if(t[0]==="0")return 0;const n=parseFloat(t[1]),r=t[2];return n*(wC[r]||1)}function vh(e,t,n){return r=>e.test(r)||!t.test(r)&&n.test(r)}function SC(e,t){const n=gh.test(e),r=ph.test(e),o=gh.test(t),i=ph.test(t);return n&&o?!r&&i?1:r&&!i?-1:e.localeCompare(t):n?1:o?-1:null}const EC=rt((e,t)=>{const n=SC(e,t);if(n!==null)return n;const r=Sa(e)||Ea(e),o=hh(e)||fh(e),i=Sa(t)||Ea(t),s=hh(t)||fh(t);if(r&&s)return-1;if(o&&i)return 1;const a=mh(e),l=mh(t);return a===$r&&l===$r?e.localeCompare(t):a===$r?1:l===$r?-1:a!==l?a>l?o?-1:1:o?1:-1:e.localeCompare(t)});function bh(e){return e.sort(([t],[n])=>EC(t,n))}function yh(e){const t=[],n=[],r={};for(const[s,a]of Object.entries(e))s.startsWith("@media")?t.push([s,a]):s.startsWith("@container")?n.push([s,a]):_e(a)?r[s]=yh(a):r[s]=a;const o=bh(t),i=bh(n);return{...r,...Object.fromEntries(o),...Object.fromEntries(i)}}const xh=/\s*!(important)?/i,OC=e=>lt(e)?xh.test(e):!1,PC=e=>lt(e)?e.replace(xh,"").trim():e;function kh(e){const{transform:t,conditions:n,normalize:r}=e,o=TC(e);return rt(function(...s){const a=o(...s),l=r(a),c=Object.create(null);return gt(l,(u,h)=>{const d=OC(u);if(u==null)return;const[m,...f]=n.sort(h).map(n.resolve);d&&(u=PC(u));let p=t(m,u)??Object.create(null);p=gt(p,v=>lt(v)&&d?`${v} !important`:v,{getKey:v=>n.expandAtRule(v)}),RC(c,f.flat(),p)}),yh(c)})}function RC(e,t,n){let r=e;for(const o of t)o&&(r[o]||(r[o]=Object.create(null)),r=r[o]);er(r,n)}function IC(...e){return e.filter(t=>_e(t)&&Object.keys(yr(t)).length>0)}function TC(e){function t(n){const r=IC(...n);return r.length===1?r:r.map(o=>e.normalize(o))}return rt(function(...r){return er({},...t(r))})}const Ch=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});function NC(e){const{css:t,conditions:n,normalize:r,layers:o}=e;function i(a={}){const{base:l,variants:c,defaultVariants:u,compoundVariants:h}=Ch(a),d=kh({conditions:n,normalize:r,transform(y,x){return c[y]?.[x]}}),m=(y={})=>{const x=r({...u,...yr(y)});let w={...l};er(w,d(x));const k=s(h,x);return o.wrap("recipes",t(w,k))},f=Object.keys(c),p=y=>{const x=Qd(y,["recipe"]),[w,k]=Ln(x,f);return f.includes("colorPalette")||(w.colorPalette=y.colorPalette||u.colorPalette),f.includes("orientation")&&(k.orientation=y.orientation),[w,k]},v=Object.fromEntries(Object.entries(c).map(([y,x])=>[y,Object.keys(x)]));return Object.assign(y=>t(m(y)),{className:a.className,__cva__:!0,variantMap:v,variantKeys:f,raw:m,config:a,splitVariantProps:p,merge(y){return i(AC(e)(this,y))}})}function s(a,l){let c={};return a.forEach(u=>{Object.entries(u).every(([d,m])=>d==="css"?!0:(Array.isArray(m)?m:[m]).some(p=>l[d]===p))&&(c=t(c,u.css))}),c}return i}function AC(e){const{css:t}=e;return function(r,o){const i=Ch(o.config),s=Wl(r.variantKeys,Object.keys(o.variants)),a=t(r.base,i.base),l=Object.fromEntries(s.map(d=>[d,t(r.config.variants[d],i.variants[d])])),c=er(r.config.defaultVariants,i.defaultVariants),u=[...r.compoundVariants,...i.compoundVariants];return{className:Ge(r.className,o.className),base:a,variants:l,defaultVariants:c,compoundVariants:u}}}const _C={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},wh={reset:0,base:1,tokens:2,recipes:3};function VC(e){const t=e.layers??_C,r=Object.values(t).sort((o,i)=>wh[o]-wh[i]);return{names:r,atRule:`@layer ${r.join(", ")};`,wrap(o,i){return e.disableLayers?i:{[`@layer ${t[o]}`]:i}}}}function FC(e){const{utility:t,normalize:n}=e,{hasShorthand:r,resolveShorthand:o}=t;return function(i){return gt(i,n,{stop:s=>Array.isArray(s),getKey:r?o:void 0})}}function LC(e){const{preflight:t}=e;if(!t)return{};const{scope:n="",level:r="parent"}=_e(t)?t:{};let o="";n&&r==="parent"?o=`${n} `:n&&r==="element"&&(o=`&${n}`);const i={"*":{margin:"0px",padding:"0px",font:"inherit",wordWrap:"break-word",WebkitTapHighlightColor:"transparent"},"*, *::before, *::after, *::backdrop":{boxSizing:"border-box",borderWidth:"0px",borderStyle:"solid",borderColor:"var(--global-color-border, currentColor)"},hr:{height:"0px",color:"inherit",borderTopWidth:"1px"},body:{minHeight:"100dvh",position:"relative"},img:{borderStyle:"none"},"img, svg, video, canvas, audio, iframe, embed, object":{display:"block",verticalAlign:"middle"},iframe:{border:"none"},"img, video":{maxWidth:"100%",height:"auto"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"ol, ul":{listStyle:"none"},"code, kbd, pre, samp":{fontSize:"1em"},"button, [type='button'], [type='reset'], [type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},"button, input, optgroup, select, textarea":{color:"inherit"},"button, select":{textTransform:"none"},table:{textIndent:"0px",borderColor:"inherit",borderCollapse:"collapse"},"*::placeholder":{opacity:"unset",color:"#9ca3af",userSelect:"none"},textarea:{resize:"vertical"},summary:{display:"list-item"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},dialog:{padding:"0px"},a:{color:"inherit",textDecoration:"inherit"},"abbr:where([title])":{textDecoration:"underline dotted"},"b, strong":{fontWeight:"bolder"},"code, kbd, samp, pre":{fontSize:"1em","--font-mono-fallback":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",fontFamily:"var(--global-font-mono, var(--font-mono-fallback))"},'input[type="text"], input[type="email"], input[type="search"], input[type="password"]':{WebkitAppearance:"none",MozAppearance:"none"},"input[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration, ::-webkit-search-cancel-button":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},'input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button':{height:"auto"},"input[type='number']":{MozAppearance:"textfield"},":-moz-ui-invalid":{boxShadow:"none"},":-moz-focusring":{outline:"auto"},"[hidden]:where(:not([hidden='until-found']))":{display:"none !important"}},s={[n||"html"]:{lineHeight:1.5,"--font-fallback":"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'",WebkitTextSizeAdjust:"100%",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility",touchAction:"manipulation",MozTabSize:"4",tabSize:"4",fontFamily:"var(--global-font-body, var(--font-fallback))"}};if(r==="element"){const a=Object.entries(i).reduce((l,[c,u])=>(l[c]={[o]:u},l),{});Object.assign(s,a)}else o?s[o]=i:Object.assign(s,i);return s}function DC(e){const{conditions:t,isValidProperty:n}=e;return function(o){return gt(o,i=>i,{getKey:(i,s)=>_e(s)&&!t.has(i)&&!n(i)?zC(i).map(a=>"&"+a).join(", "):i})}}function zC(e){const t=[];let n=0,r="",o=!1;for(let i=0;i<e.length;i++){const s=e[i];if(s==="\\"&&!o){o=!0,r+=s;continue}if(o){o=!1,r+=s;continue}s==="("?n++:s===")"&&n--,s===","&&n===0?(t.push(r.trim()),r=""):r+=s}return r&&t.push(r.trim()),t}const MC=(e={})=>{const t=o=>({base:e.base?.[o]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?jC(e.compoundVariants,o):[]}),r=(e.slots??[]).map(o=>[o,t(o)]);for(const[o,i]of Object.entries(e.variants??{}))for(const[s,a]of Object.entries(i))r.forEach(([l,c])=>{var u;(u=c.variants)[o]??(u[o]={}),c.variants[o][s]=a[l]??{}});return Object.fromEntries(r)},jC=(e,t)=>e.filter(n=>n.css[t]).map(n=>({...n,css:n.css[t]}));function $C(e){const{cva:t}=e;return function(r={}){const o=Object.entries(MC(r)).map(([h,d])=>[h,t(d)]);function i(h){const d=o.map(([m,f])=>[m,f(h)]);return Object.fromEntries(d)}const s=r.variants??{},a=Object.keys(s);function l(h){const d=Qd(h,["recipe"]),[m,f]=Ln(d,a);return a.includes("colorPalette")||(m.colorPalette=h.colorPalette||r.defaultVariants?.colorPalette),a.includes("orientation")&&(f.orientation=h.orientation),[m,f]}const c=Object.fromEntries(Object.entries(s).map(([h,d])=>[h,Object.keys(d)]));let u={};return r.className&&(u=Object.fromEntries(r.slots.map(h=>[h,`${r.className}__${h}`]))),Object.assign(i,{variantMap:c,variantKeys:a,splitVariantProps:l,classNameMap:u})}}const BC=()=>e=>Array.from(new Set(e)),WC=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,HC=function(e,t){return t?e==="\0"?"�":e==="-"&&e.length===1?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},Sh=e=>(e+"").replace(WC,HC),Eh=(e,t)=>{let n="",r=0,o="char",i="",s="";const a=[];for(;r<e.length;){const l=e[r];if(l==="{"){const u=e.indexOf("}",r);if(u===-1)break;const h=e.slice(r+1,u),d=t(h);n+=d??h,r=u+1;continue}if(o==="token"&&l===","){e[r]===""&&r++,o="fallback",a.push(o);const u=t(i);u?.endsWith(")")&&(n+=u.slice(0,-1)),i="",s="";continue}if(o==="fallback"&&s+l===", var("){const d=UC(e.slice(r+1))+r+1,m=e.slice(r+1,d);if(d===-1)break;n+=", var("+m+")",r=d+1,o=a.pop()??o,s="";continue}if(o==="token"||o==="fallback"){if(r++,l===")"){o=a.pop()??o??"char",s+=l;const u=i&&(t(i)??Sh(i));if(s){if(s=s.slice(1).trim(),!s.startsWith("token(")&&s.endsWith(")")&&(s=s.slice(0,-1)),s.includes("token(")){const d=Eh(s,t);d&&(s=d.slice(0,-1))}else if(s){const d=t(s);d&&(s=d)}}const h=n.at(-1);s?h?.trim()?n+=u.slice(0,-1)+(", "+s+")"):n+=s:n+=u||")",i="",s="",o="char";continue}o==="token"&&(i+=l),o==="fallback"&&(s+=l);continue}const c=e.indexOf("token(",r);if(c!==-1){const u=c+6;n+=e.slice(r,c),r=u,o="token",a.push(o);continue}n+=l,r++}return n},UC=e=>{let t=0;const n=["("];for(;t<e.length;){const r=e[t];if(r==="(")n.push(r);else if(r===")"&&(n.pop(),n.length===0))return t;t++}return t};function Oh(e){const t={};return e.forEach((n,r)=>{n instanceof Map?t[r]=Object.fromEntries(n):t[r]=n}),t}const Ph=/({([^}]*)})/g,GC=/[{}]/g,qC=/\w+\.\w+/,Rh=e=>{if(!lt(e))return[];const t=e.match(Ph);return t?t.map(n=>n.replace(GC,"")).map(n=>n.trim()):[]},KC=e=>Ph.test(e);function Ih(e){if(!e.extensions?.references)return e.extensions?.cssVar?.ref??e.value;const t=e.extensions.references??{};return e.value=Object.keys(t).reduce((n,r)=>{const o=t[r];if(o.extensions.conditions)return n;const i=Ih(o);return n.replace(`{${r}}`,i)},e.value),delete e.extensions.references,e.value}function Th(e){return _e(e)&&e.reference?e.reference:String(e)}const ui=(e,...t)=>t.map(Th).join(` ${e} `).replace(/calc/g,""),Nh=(...e)=>`calc(${ui("+",...e)})`,Ah=(...e)=>`calc(${ui("-",...e)})`,Oa=(...e)=>`calc(${ui("*",...e)})`,_h=(...e)=>`calc(${ui("/",...e)})`,Vh=e=>{const t=Th(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:Oa(t,-1)},or=Object.assign(e=>({add:(...t)=>or(Nh(e,...t)),subtract:(...t)=>or(Ah(e,...t)),multiply:(...t)=>or(Oa(e,...t)),divide:(...t)=>or(_h(e,...t)),negate:()=>or(Vh(e)),toString:()=>e.toString()}),{add:Nh,subtract:Ah,multiply:Oa,divide:_h,negate:Vh}),YC={enforce:"pre",transform(e){const{prefix:t,allTokens:n,formatCssVar:r,formatTokenName:o,registerToken:i}=e;n.filter(({extensions:a})=>a.category==="spacing").forEach(a=>{const l=a.path.slice(),c=r(l,t);if(lt(a.value)&&a.value==="0rem")return;const u=structuredClone(a);Object.assign(u.extensions,{negative:!0,prop:`-${a.extensions.prop}`,originalPath:l}),u.value=or.negate(c.ref);const h=u.path[u.path.length-1];h!=null&&(u.path[u.path.length-1]=`-${h}`),u.path&&(u.name=o(u.path)),i(u)})}},XC=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),QC=[YC,{enforce:"post",transform(e){const{allTokens:t,registerToken:n,formatTokenName:r}=e,o=t.filter(({extensions:a})=>a.category==="colors"),i=new Map,s=new Map;o.forEach(a=>{const{colorPalette:l}=a.extensions;l&&(l.keys.forEach(c=>{i.set(r(c),c)}),l.roots.forEach(c=>{const u=r(c),h=s.get(u)||[];if(h.push(a),s.set(u,h),a.extensions.default&&c.length===1){const d=l.keys[0]?.filter(Boolean);if(!d.length)return;const m=c.concat(d);i.set(r(m),[])}}))}),i.forEach(a=>{const l=["colors","colorPalette",...a].filter(Boolean),c=r(l),u=r(l.slice(1));n({name:c,value:c,originalValue:c,path:l,extensions:{condition:"base",originalPath:l,category:"colors",prop:u,virtual:!0}},"pre")})}},{enforce:"post",transform(e){e.allTokens.filter(n=>XC.has(n.extensions.category)&&!n.extensions.negative).forEach(n=>{Object.assign(n.extensions,{pixelValue:lh(n.value)})})}},{enforce:"post",transform(e){e.allTokens=e.allTokens.filter(t=>t.value!=="")}}],JC=[{type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,t){const{prefix:n,formatCssVar:r}=t,{negative:o,originalPath:i}=e.extensions,s=o?i:e.path;return{cssVar:r(s.filter(Boolean),n)}}},{enforce:"post",type:"value",name:"tokens/conditionals",transform(e,t){const{prefix:n,formatCssVar:r}=t,o=Rh(e.value);return o.length&&o.forEach(i=>{const s=r(i.split("."),n);e.value=e.value.replace(`{${s.ref}}`,s)}),e.value}},{type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match(e){return e.extensions.category==="colors"&&!e.extensions.virtual},transform(e,t){let n=e.path.slice();if(n.pop(),n.shift(),n.length===0){const a=[...e.path];a.shift(),n=a}if(n.length===0)return{};const r=n.reduce((a,l,c,u)=>{const h=u.slice(0,c+1);return a.push(h),a},[]),o=n[0],i=t.formatTokenName(n),s=e.path.slice(e.path.indexOf(o)+1).reduce((a,l,c,u)=>(a.push(u.slice(c)),a),[]);return s.length===0&&s.push([""]),{colorPalette:{value:i,roots:r,keys:s}}}}],Fh=e=>_e(e)&&Object.prototype.hasOwnProperty.call(e,"value");function ZC(e){return e?{breakpoints:Jd(e,t=>({value:t})),sizes:Object.fromEntries(Object.entries(e).map(([t,n])=>[`breakpoint-${t}`,{value:n}]))}:{breakpoints:{},sizes:{}}}function ew(e){const{prefix:t="",tokens:n={},semanticTokens:r={},breakpoints:o={}}=e,i=L=>L.join("."),s=(L,F)=>th(L.join("-"),{prefix:F}),a=[],l=new Map,c=new Map,u=new Map,h=new Map,d=new Map,m=new Map,f=new Map,p=new Map,v=[];function b(L,F){a.push(L),l.set(L.name,L),F&&p.forEach(K=>{K.enforce===F&&q(K,L)})}const y=ZC(o),x=yr({...n,breakpoints:y.breakpoints,sizes:{...n.sizes,...y.sizes}});function w(){gt(x,(L,F)=>{const K=F.includes("DEFAULT");F=Lh(F);const ie=F[0],me=i(F),Oe=lt(L)?{value:L}:L,Vt={value:Oe.value,originalValue:Oe.value,name:me,path:F,extensions:{condition:"base",originalPath:F,category:ie,prop:i(F.slice(1))}};K&&(Vt.extensions.default=!0),b(Vt)},{stop:Fh}),gt(r,(L,F)=>{const K=F.includes("DEFAULT");F=Dh(Lh(F));const ie=F[0],me=i(F),Oe=lt(L.value)?{value:{base:L.value}}:L,Vt={value:Oe.value.base||"",originalValue:Oe.value.base||"",name:me,path:F,extensions:{originalPath:F,category:ie,conditions:Oe.value,condition:"base",prop:i(F.slice(1))}};K&&(Vt.extensions.default=!0),b(Vt)},{stop:Fh})}function k(L){return l.get(L)}function O(L){const{condition:F}=L.extensions;F&&(c.has(F)||c.set(F,new Set),c.get(F).add(L))}function R(L){const{category:F,prop:K}=L.extensions;F&&(f.has(F)||f.set(F,new Map),f.get(F).set(K,L))}function I(L){const{condition:F,negative:K,virtual:ie,cssVar:me}=L.extensions;K||ie||!F||!me||(u.has(F)||u.set(F,new Map),u.get(F).set(me.var,L.value))}function N(L){const{category:F,prop:K,cssVar:ie,negative:me}=L.extensions;if(!F)return;m.has(F)||m.set(F,new Map);const Oe=me?L.extensions.conditions?L.originalValue:L.value:ie.ref;m.get(F).set(K,Oe),d.set([F,K].join("."),Oe)}function A(L){const{colorPalette:F,virtual:K,default:ie}=L.extensions;!F||K||F.roots.forEach(me=>{const Oe=i(me);h.has(Oe)||h.set(Oe,new Map);const Vt=nw([...L.path],[...me]),Wi=i(Vt),gl=k(Wi);if(!gl||!gl.extensions.cssVar)return;const{var:mT}=gl.extensions.cssVar;if(h.get(Oe).set(mT,L.extensions.cssVar.ref),ie&&me.length===1){const vT=i(["colors","colorPalette"]),bp=k(vT);if(!bp)return;const bT=i(L.path),yp=k(bT);if(!yp)return;const xp=F.keys[0]?.filter(Boolean);if(!xp.length)return;const pl=i(me.concat(xp));h.has(pl)||h.set(pl,new Map),h.get(pl).set(bp.extensions.cssVar.var,yp.extensions.cssVar.ref)}})}let T={};function S(){a.forEach(L=>{O(L),R(L),I(L),N(L),A(L)}),T=Oh(m)}const _=(L,F)=>{if(!L||typeof L!="string")return{invalid:!0,value:L};const[K,ie]=L.split("/");if(!K||!ie)return{invalid:!0,value:K};const me=F(K),Oe=k(`opacity.${ie}`)?.value;if(!Oe&&isNaN(Number(ie)))return{invalid:!0,value:K};const Vt=Oe?Number(Oe)*100+"%":`${ie}%`,Wi=me??K;return{invalid:!1,color:Wi,value:`color-mix(in srgb, ${Wi} ${Vt}, transparent)`}},D=rt((L,F)=>d.get(L)??F),z=rt(L=>T[L]||null),W=rt(L=>Eh(L,F=>{if(!F)return;if(F.includes("/")){const ie=_(F,me=>D(me));if(ie.invalid)throw new Error("Invalid color mix at "+F+": "+ie.value);return ie.value}const K=D(F);return K||(qC.test(F)?Sh(F):F)})),J={prefix:t,allTokens:a,tokenMap:l,registerToken:b,getByName:k,formatTokenName:i,formatCssVar:s,flatMap:d,cssVarMap:u,categoryMap:f,colorPaletteMap:h,getVar:D,getCategoryValues:z,expandReferenceInValue:W};function ee(...L){L.forEach(F=>{p.set(F.name,F)})}function $(...L){v.push(...L)}function q(L,F){if(F.extensions.references||cs(L.match)&&!L.match(F))return;const ie=(me=>L.transform(me,J))(F);switch(!0){case L.type==="extensions":Object.assign(F.extensions,ie);break;case L.type==="value":F.value=ie;break;default:F[L.type]=ie;break}}function Z(L){v.forEach(F=>{F.enforce===L&&F.transform(J)})}function pe(L){p.forEach(F=>{F.enforce===L&&a.forEach(K=>{q(F,K)})})}function Je(){a.forEach(L=>{const F=tw(L);!F||F.length===0||F.forEach(K=>{b(K)})})}function yt(L){return Rh(L).map(K=>k(K)).filter(Boolean)}function _t(){a.forEach(L=>{if(!KC(L.value))return;const F=yt(L.value);L.extensions.references=F.reduce((K,ie)=>(K[ie.name]=ie,K),{})})}function fl(){a.forEach(L=>{Ih(L)})}function pT(){Z("pre"),pe("pre"),Je(),_t(),fl(),Z("post"),pe("post"),S()}return w(),ee(...JC),$(...QC),pT(),J}function Lh(e){return e[0]==="DEFAULT"?e:e.filter(t=>t!=="DEFAULT")}function Dh(e){return e.filter(t=>t!=="base")}function tw(e){if(!e.extensions.conditions)return;const{conditions:t}=e.extensions,n=[];return gt(t,(r,o)=>{const i=Dh(o);if(!i.length)return;const s=structuredClone(e);s.value=r,s.extensions.condition=i.join(":"),n.push(s)}),n}function nw(e,t){const n=e.findIndex((r,o)=>t.every((i,s)=>e[o+s]===i));return n===-1||(e.splice(n,t.length),e.splice(n,0,"colorPalette")),e}BC()(["aspectRatios","zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","cursor","borders","borderWidths","borderStyles","durations","easings","animations","blurs","gradients","breakpoints","assets"]);function _T(e){return e}function rw(e){return Object.fromEntries(Object.entries(e).map(([t,n])=>[t,n]))}function ow(e){const t=rw(e.config),n=e.tokens,r=new Map,o=new Map;function i(I,N){t[I]=N,s(I,N)}const s=(I,N)=>{const A=p(N);A&&(o.set(I,A),h(I,N))},a=()=>{for(const[I,N]of Object.entries(t))N&&s(I,N)},l=()=>{for(const[I,N]of Object.entries(t)){const{shorthand:A}=N??{};if(!A)continue;(Array.isArray(A)?A:[A]).forEach(S=>r.set(S,I))}},c=()=>{const I=Oh(n.colorPaletteMap);i("colorPalette",{values:Object.keys(I),transform:rt(N=>I[N])})},u=new Map,h=(I,N)=>{if(!N)return;const A=p(N,S=>`type:Tokens["${S}"]`);if(typeof A=="object"&&A.type){u.set(I,new Set([`type:${A.type}`]));return}if(A){const S=new Set(Object.keys(A));u.set(I,S)}const T=u.get(I)??new Set;N.property&&u.set(I,T.add(`CssProperties["${N.property}"]`))},d=()=>{for(const[I,N]of Object.entries(t))N&&h(I,N)},m=(I,N)=>{const A=u.get(I)??new Set;u.set(I,new Set([...A,...N]))},f=()=>{const I=new Map;for(const[N,A]of u.entries()){if(A.size===0){I.set(N,["string"]);continue}const T=Array.from(A).map(S=>S.startsWith("CssProperties")?S:S.startsWith("type:")?S.replace("type:",""):JSON.stringify(S));I.set(N,T)}return I},p=(I,N)=>{const{values:A}=I,T=S=>{const _=N?.(S);return _?{[_]:_}:void 0};return lt(A)?T?.(A)??n.getCategoryValues(A)??{}:Array.isArray(A)?A.reduce((S,_)=>(S[_]=_,S),{}):cs(A)?A(N?T:n.getCategoryValues):A},v=rt((I,N)=>({[I]:I.startsWith("--")?n.getVar(N,N):N})),b=Object.assign(n.getVar,{raw:I=>n.getByName(I)}),y=rt((I,N)=>{const A=k(I);lt(N)&&!N.includes("_EMO_")&&(N=n.expandReferenceInValue(N));const T=t[A];if(!T)return v(A,N);const S=o.get(A)?.[N];if(!T.transform)return v(I,S??N);const _=D=>Mk(D,b);return T.transform(S??N,{raw:N,token:b,utils:{colorMix:_}})});function x(){l(),c(),a(),d()}x();const w=r.size>0,k=rt(I=>r.get(I)??I);return{keys:()=>[...Array.from(r.keys()),...Object.keys(t)],hasShorthand:w,transform:y,shorthands:r,resolveShorthand:k,register:i,getTypes:f,addPropertyType:m}}const De={};function zh(...e){const t=Zd(...e),{theme:n={},utilities:r={},globalCss:o={},cssVarsRoot:i=":where(:root, :host)",cssVarsPrefix:s="chakra",preflight:a}=t,l=VC(t),c=ew({breakpoints:n.breakpoints,tokens:n.tokens,semanticTokens:n.semanticTokens,prefix:s}),u=gC(n.breakpoints??De),h=bC({conditions:t.conditions??De,breakpoints:u}),d=ow({config:r,tokens:c});function m(){const{textStyles:$,layerStyles:q,animationStyles:Z}=n,pe=yr({textStyle:$,layerStyle:q,animationStyle:Z});for(const[Je,yt]of Object.entries(pe)){const _t=oh(yt??De,Mh);d.register(Je,{values:Object.keys(_t),transform(fl){return x(_t[fl])}})}}m(),d.addPropertyType("animationName",Object.keys(n.keyframes??De));const f=new Set(["css",...d.keys(),...h.keys()]),p=rt($=>f.has($)||cC($)),v=$=>Array.isArray($)?$.reduce((q,Z,pe)=>{const Je=h.breakpoints[pe];return Z!=null&&(q[Je]=Z),q},{}):$,b=FC({utility:d,normalize:v}),y=DC({conditions:h,isValidProperty:p}),x=kh({transform:d.transform,conditions:h,normalize:b}),w=NC({css:x,conditions:h,normalize:b,layers:l}),k=$C({cva:w});function O(){const $={};for(const[q,Z]of c.cssVarMap.entries()){const pe=Object.fromEntries(Z);if(Object.keys(pe).length===0)continue;const Je=q==="base"?i:h.resolve(q),yt=Je.startsWith("@"),_t=x(y({[Je]:yt?{[i]:pe}:pe}));er($,_t)}return l.wrap("tokens",$)}function R(){const $=Object.fromEntries(Object.entries(n.keyframes??De).map(([Z,pe])=>[`@keyframes ${Z}`,pe])),q=Object.assign({},$,x(y(o)));return l.wrap("base",q)}function I($){return Ln($,p)}function N(){const $=LC({preflight:a});return l.wrap("reset",$)}const A=iw(c),T=($,q)=>A.get($)?.value||q;T.var=($,q)=>A.get($)?.variable||q;function S($,q){return n.recipes?.[$]??q}function _($,q){return n.slotRecipes?.[$]??q}function D($){return Object.hasOwnProperty.call(n.recipes??De,$)}function z($){return Object.hasOwnProperty.call(n.slotRecipes??De,$)}function W($){return D($)||z($)}const J=[N(),R(),O()],ee={layerStyles:Pa(n.layerStyles??De),textStyles:Pa(n.textStyles??De),animationStyles:Pa(n.animationStyles??De),tokens:jh(c,Object.keys(n.tokens??De),($,q)=>!$.extensions.conditions&&!q.includes("colorPalette")),semanticTokens:jh(c,Object.keys(n.semanticTokens??De),$=>!!$.extensions.conditions),keyframes:$h(n.keyframes??De),breakpoints:$h(n.breakpoints??De)};return{$$chakra:!0,_config:t,_global:J,breakpoints:u,tokens:c,conditions:h,utility:d,token:T,properties:f,layers:l,isValidProperty:p,splitCssProps:I,normalizeValue:v,getTokenCss:O,getGlobalCss:R,getPreflightCss:N,css:x,cva:w,sva:k,getRecipe:S,getSlotRecipe:_,hasRecipe:W,isRecipe:D,isSlotRecipe:z,query:ee}}function iw(e){const t=new Map;return e.allTokens.forEach(n=>{const{cssVar:r,virtual:o,conditions:i}=n.extensions,s=i||o?r.ref:n.value;t.set(n.name,{value:s,variable:r.ref})}),t}const Mh=e=>_e(e)&&"value"in e,Pa=e=>({list(){return Object.keys(oh(e,Mh))},search(t){return this.list().filter(n=>n.includes(t))}}),jh=(e,t,n)=>({categoryKeys:t,list(r){return Array.from(e.categoryMap.get(r)?.entries()??[]).reduce((o,[i,s])=>(n(s,i)&&o.push(i),o),[])},search(r,o){return this.list(r).filter(i=>i.includes(o))}}),$h=e=>({list(){return Object.keys(e)},search(t){return this.list().filter(n=>n.includes(t))}}),sw={sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Ra="var(--chakra-empty,/*!*/ /*!*/)",aw=Wk({"*":{fontFeatureSettings:'"cv11"',"--ring-inset":Ra,"--ring-offset-width":"0px","--ring-offset-color":"#fff","--ring-color":"rgba(66, 153, 225, 0.6)","--ring-offset-shadow":"0 0 #0000","--ring-shadow":"0 0 #0000",...Object.fromEntries(["brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"].map(e=>[`--${e}`,Ra])),...Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(e=>[`--backdrop-${e}`,Ra])),"--global-font-mono":"fonts.mono","--global-font-body":"fonts.body","--global-color-border":"colors.border"},html:{color:"fg",bg:"bg",lineHeight:"1.5",colorPalette:"gray"},"*::placeholder, *[data-placeholder]":{color:"fg.muted/80"},"*::selection":{bg:"colorPalette.emphasized/80"}}),lw=Gk({"fill.muted":{value:{background:"colorPalette.muted",color:"colorPalette.fg"}},"fill.subtle":{value:{background:"colorPalette.subtle",color:"colorPalette.fg"}},"fill.surface":{value:{background:"colorPalette.subtle",color:"colorPalette.fg",boxShadow:"0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.muted"}},"fill.solid":{value:{background:"colorPalette.solid",color:"colorPalette.contrast"}},"outline.subtle":{value:{color:"colorPalette.fg",boxShadow:"inset 0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.subtle"}},"outline.solid":{value:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg"}},"indicator.bottom":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",bottom:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.top":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",top:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.start":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineStart:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.end":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineEnd:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},disabled:{value:{opacity:"0.5",cursor:"not-allowed"}},none:{value:{}}}),cw=Uk({"slide-fade-in":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-from-bottom, fade-in"},"&[data-placement^=bottom]":{animationName:"slide-from-top, fade-in"},"&[data-placement^=left]":{animationName:"slide-from-right, fade-in"},"&[data-placement^=right]":{animationName:"slide-from-left, fade-in"}}},"slide-fade-out":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-to-bottom, fade-out"},"&[data-placement^=bottom]":{animationName:"slide-to-top, fade-out"},"&[data-placement^=left]":{animationName:"slide-to-right, fade-out"},"&[data-placement^=right]":{animationName:"slide-to-left, fade-out"}}},"scale-fade-in":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-in, fade-in"}},"scale-fade-out":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-out, fade-out"}}}),Ia=fe({className:"chakra-badge",base:{display:"inline-flex",alignItems:"center",borderRadius:"l2",gap:"1",fontWeight:"medium",fontVariantNumeric:"tabular-nums",whiteSpace:"nowrap",userSelect:"none"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},outline:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},plain:{color:"colorPalette.fg"}},size:{xs:{textStyle:"2xs",px:"1",minH:"4"},sm:{textStyle:"xs",px:"1.5",minH:"5"},md:{textStyle:"sm",px:"2",minH:"6"},lg:{textStyle:"sm",px:"2.5",minH:"7"}}},defaultVariants:{variant:"subtle",size:"sm"}}),uw=fe({className:"chakra-button",base:{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",borderRadius:"l2",whiteSpace:"nowrap",verticalAlign:"middle",borderWidth:"1px",borderColor:"transparent",cursor:"button",flexShrink:"0",outline:"0",lineHeight:"1.2",isolation:"isolate",fontWeight:"medium",transitionProperty:"common",transitionDuration:"moderate",focusVisibleRing:"outside",_disabled:{layerStyle:"disabled"},_icon:{flexShrink:"0"}},variants:{size:{"2xs":{h:"6",minW:"6",textStyle:"xs",px:"2",gap:"1",_icon:{width:"3.5",height:"3.5"}},xs:{h:"8",minW:"8",textStyle:"xs",px:"2.5",gap:"1",_icon:{width:"4",height:"4"}},sm:{h:"9",minW:"9",px:"3.5",textStyle:"sm",gap:"2",_icon:{width:"4",height:"4"}},md:{h:"10",minW:"10",textStyle:"sm",px:"4",gap:"2",_icon:{width:"5",height:"5"}},lg:{h:"11",minW:"11",textStyle:"md",px:"5",gap:"3",_icon:{width:"5",height:"5"}},xl:{h:"12",minW:"12",textStyle:"md",px:"5",gap:"2.5",_icon:{width:"5",height:"5"}},"2xl":{h:"16",minW:"16",textStyle:"lg",px:"7",gap:"3",_icon:{width:"6",height:"6"}}},variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"transparent",_hover:{bg:"colorPalette.solid/90"},_expanded:{bg:"colorPalette.solid/90"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"transparent",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},outline:{borderWidth:"1px",borderColor:"colorPalette.muted",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},ghost:{bg:"transparent",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},plain:{color:"colorPalette.fg"}}},defaultVariants:{size:"md",variant:"solid"}}),Se=fe({className:"chakra-checkmark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"l1",cursor:"checkbox",focusVisibleRing:"outside",_icon:{boxSize:"full"},_invalid:{colorPalette:"red",borderColor:"border.error"},_disabled:{opacity:"0.5",cursor:"disabled"}},variants:{size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5",p:"0.5"},lg:{boxSize:"6",p:"0.5"}},variant:{solid:{borderColor:"border.emphasized","&:is([data-state=checked], [data-state=indeterminate])":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},outline:{borderColor:"border","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg",borderColor:"colorPalette.solid"}},subtle:{bg:"colorPalette.muted",borderColor:"colorPalette.muted","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},plain:{"&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},inverted:{borderColor:"border",color:"colorPalette.fg","&:is([data-state=checked], [data-state=indeterminate])":{borderColor:"colorPalette.solid"}}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}}),{variants:dw,defaultVariants:hw}=Ia,fw=fe({className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:dw,defaultVariants:hw}),Bh=fe({className:"color-swatch",base:{boxSize:"var(--swatch-size)",shadow:"inset 0 0 0 1px rgba(0, 0, 0, 0.1)","--checker-size":"8px","--checker-bg":"colors.bg","--checker-fg":"colors.bg.emphasized",background:"linear-gradient(var(--color), var(--color)), repeating-conic-gradient(var(--checker-fg) 0%, var(--checker-fg) 25%, var(--checker-bg) 0%, var(--checker-bg) 50%) 0% 50% / var(--checker-size) var(--checker-size) !important",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},variants:{size:{"2xs":{"--swatch-size":"sizes.3.5"},xs:{"--swatch-size":"sizes.4"},sm:{"--swatch-size":"sizes.4.5"},md:{"--swatch-size":"sizes.5"},lg:{"--swatch-size":"sizes.6"},xl:{"--swatch-size":"sizes.7"},"2xl":{"--swatch-size":"sizes.8"},inherit:{"--swatch-size":"inherit"},full:{"--swatch-size":"100%"}},shape:{square:{borderRadius:"none"},circle:{borderRadius:"full"},rounded:{borderRadius:"l1"}}},defaultVariants:{size:"md",shape:"rounded"}}),gw=fe({className:"chakra-container",base:{position:"relative",maxWidth:"8xl",w:"100%",mx:"auto",px:{base:"4",md:"6",lg:"8"}},variants:{centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}},fluid:{true:{maxWidth:"full"}}}}),pw=fe({className:"chakra-heading",base:{fontFamily:"heading",fontWeight:"semibold"},variants:{size:{xs:{textStyle:"xs"},sm:{textStyle:"sm"},md:{textStyle:"md"},lg:{textStyle:"lg"},xl:{textStyle:"xl"},"2xl":{textStyle:"2xl"},"3xl":{textStyle:"3xl"},"4xl":{textStyle:"4xl"},"5xl":{textStyle:"5xl"},"6xl":{textStyle:"6xl"},"7xl":{textStyle:"7xl"}}},defaultVariants:{size:"xl"}}),mw=fe({className:"chakra-icon",base:{display:"inline-block",lineHeight:"1em",flexShrink:"0",color:"currentcolor",verticalAlign:"middle"},variants:{size:{inherit:{},xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"},xl:{boxSize:"7"},"2xl":{boxSize:"8"}}},defaultVariants:{size:"inherit"}}),he=fe({className:"chakra-input",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},height:"var(--input-height)",minW:"var(--input-height)","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{"2xs":{textStyle:"xs",px:"2","--input-height":"sizes.7"},xs:{textStyle:"xs",px:"2","--input-height":"sizes.8"},sm:{textStyle:"sm",px:"2.5","--input-height":"sizes.9"},md:{textStyle:"sm",px:"3","--input-height":"sizes.10"},lg:{textStyle:"md",px:"4","--input-height":"sizes.11"},xl:{textStyle:"md",px:"4.5","--input-height":"sizes.12"},"2xl":{textStyle:"lg",px:"5","--input-height":"sizes.16"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}}}},defaultVariants:{size:"md",variant:"outline"}}),vw=fe({className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:he.variants.size,variant:{outline:{borderWidth:"1px",borderColor:"border",bg:"bg.muted"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.emphasized"},flushed:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}},defaultVariants:{size:"md",variant:"outline"}}),bw=fe({className:"chakra-kbd",base:{display:"inline-flex",alignItems:"center",fontWeight:"medium",fontFamily:"mono",flexShrink:"0",whiteSpace:"nowrap",wordSpacing:"-0.5em",userSelect:"none",px:"1",borderRadius:"l2"},variants:{variant:{raised:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderWidth:"1px",borderBottomWidth:"2px",borderColor:"colorPalette.muted"},outline:{borderWidth:"1px",color:"colorPalette.fg"},subtle:{bg:"colorPalette.muted",color:"colorPalette.fg"},plain:{color:"colorPalette.fg"}},size:{sm:{textStyle:"xs",height:"4.5"},md:{textStyle:"sm",height:"5"},lg:{textStyle:"md",height:"6"}}},defaultVariants:{size:"md",variant:"raised"}}),yw=fe({className:"chakra-link",base:{display:"inline-flex",alignItems:"center",outline:"none",gap:"1.5",cursor:"pointer",borderRadius:"l1",focusRing:"outside"},variants:{variant:{underline:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"},plain:{color:"colorPalette.fg",_hover:{textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"}}}},defaultVariants:{variant:"plain"}}),xw=fe({className:"chakra-mark",base:{bg:"transparent",color:"inherit",whiteSpace:"nowrap"},variants:{variant:{subtle:{bg:"colorPalette.subtle",color:"inherit"},solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},text:{fontWeight:"medium"},plain:{}}}}),Ee=fe({className:"chakra-radiomark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,verticalAlign:"top",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"full",cursor:"radio",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing",outlineOffset:"2px"},_invalid:{colorPalette:"red",borderColor:"red.500"},_disabled:{opacity:"0.5",cursor:"disabled"},"& .dot":{height:"100%",width:"100%",borderRadius:"full",bg:"currentColor",scale:"0.4"}},variants:{variant:{solid:{borderWidth:"1px",borderColor:"border.emphasized",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},subtle:{borderWidth:"1px",bg:"colorPalette.muted",borderColor:"colorPalette.muted",color:"transparent",_checked:{color:"colorPalette.fg"}},outline:{borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.fg",borderColor:"colorPalette.solid"},"& .dot":{scale:"0.6"}},inverted:{bg:"bg",borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.solid",borderColor:"currentcolor"}}},size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}}),kw=fe({className:"chakra-separator",base:{display:"block",borderColor:"border"},variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{borderInlineStartWidth:"var(--separator-thickness)"},horizontal:{borderTopWidth:"var(--separator-thickness)"}},size:{xs:{"--separator-thickness":"0.5px"},sm:{"--separator-thickness":"1px"},md:{"--separator-thickness":"2px"},lg:{"--separator-thickness":"3px"}}},defaultVariants:{size:"sm",variant:"solid",orientation:"horizontal"}}),Cw=fe({className:"chakra-skeleton",base:{},variants:{loading:{true:{borderRadius:"l2",boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none",flexShrink:"0","&::before, &::after, *":{visibility:"hidden"}},false:{background:"unset",animation:"fade-in var(--fade-duration, 0.1s) ease-out !important"}},variant:{pulse:{background:"bg.emphasized",animation:"pulse",animationDuration:"var(--duration, 1.2s)"},shine:{"--animate-from":"200%","--animate-to":"-200%","--start-color":"colors.bg.muted","--end-color":"colors.bg.emphasized",backgroundImage:"linear-gradient(270deg,var(--start-color),var(--end-color),var(--end-color),var(--start-color))",backgroundSize:"400% 100%",animation:"bg-position var(--duration, 5s) ease-in-out infinite"},none:{animation:"none"}}},defaultVariants:{variant:"pulse",loading:!0}}),ww=fe({className:"chakra-skip-nav",base:{display:"inline-flex",bg:"bg.panel",padding:"2.5",borderRadius:"l2",fontWeight:"semibold",focusVisibleRing:"outside",textStyle:"sm",userSelect:"none",border:"0",height:"1px",width:"1px",margin:"-1px",outline:"0",overflow:"hidden",position:"absolute",clip:"rect(0 0 0 0)",_focusVisible:{clip:"auto",width:"auto",height:"auto",position:"fixed",top:"6",insetStart:"6"}}}),Sw=fe({className:"chakra-spinner",base:{display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderWidth:"2px",borderRadius:"full",width:"var(--spinner-size)",height:"var(--spinner-size)",animation:"spin",animationDuration:"slowest","--spinner-track-color":"transparent",borderBottomColor:"var(--spinner-track-color)",borderInlineStartColor:"var(--spinner-track-color)"},variants:{size:{inherit:{"--spinner-size":"1em"},xs:{"--spinner-size":"sizes.3"},sm:{"--spinner-size":"sizes.4"},md:{"--spinner-size":"sizes.5"},lg:{"--spinner-size":"sizes.8"},xl:{"--spinner-size":"sizes.10"}}},defaultVariants:{size:"md"}}),Ew=fe({className:"chakra-textarea",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{xs:{textStyle:"xs",px:"2",py:"1.5",scrollPaddingBottom:"1.5"},sm:{textStyle:"sm",px:"2.5",py:"2",scrollPaddingBottom:"2"},md:{textStyle:"sm",px:"3",py:"2",scrollPaddingBottom:"2"},lg:{textStyle:"md",px:"4",py:"3",scrollPaddingBottom:"3"},xl:{textStyle:"md",px:"4.5",py:"3.5",scrollPaddingBottom:"3.5"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}}}},defaultVariants:{size:"md",variant:"outline"}}),Ow={badge:Ia,button:uw,code:fw,container:gw,heading:pw,input:he,inputAddon:vw,kbd:bw,link:yw,mark:xw,separator:kw,skeleton:Cw,skipNavLink:ww,spinner:Sw,textarea:Ew,icon:mw,checkmark:Se,radiomark:Ee,colorSwatch:Bh},Pw=xa.colors({bg:{DEFAULT:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},emphasized:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},inverted:{value:{_light:"{colors.black}",_dark:"{colors.white}"}},panel:{value:{_light:"{colors.white}",_dark:"{colors.gray.950}"}},error:{value:{_light:"{colors.red.50}",_dark:"{colors.red.950}"}},warning:{value:{_light:"{colors.orange.50}",_dark:"{colors.orange.950}"}},success:{value:{_light:"{colors.green.50}",_dark:"{colors.green.950}"}},info:{value:{_light:"{colors.blue.50}",_dark:"{colors.blue.950}"}}},fg:{DEFAULT:{value:{_light:"{colors.black}",_dark:"{colors.gray.50}"}},muted:{value:{_light:"{colors.gray.600}",_dark:"{colors.gray.400}"}},subtle:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.500}"}},inverted:{value:{_light:"{colors.gray.50}",_dark:"{colors.black}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.300}"}},success:{value:{_light:"{colors.green.600}",_dark:"{colors.green.300}"}},info:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.300}"}}},border:{DEFAULT:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},inverted:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}},success:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}},info:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},gray:{contrast:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},fg:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},subtle:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},muted:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},solid:{value:{_light:"{colors.gray.900}",_dark:"{colors.white}"}},focusRing:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.400}"}}},red:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.red.700}",_dark:"{colors.red.300}"}},subtle:{value:{_light:"{colors.red.100}",_dark:"{colors.red.900}"}},muted:{value:{_light:"{colors.red.200}",_dark:"{colors.red.800}"}},emphasized:{value:{_light:"{colors.red.300}",_dark:"{colors.red.700}"}},solid:{value:{_light:"{colors.red.600}",_dark:"{colors.red.600}"}},focusRing:{value:{_light:"{colors.red.500}",_dark:"{colors.red.500}"}}},orange:{contrast:{value:{_light:"white",_dark:"black"}},fg:{value:{_light:"{colors.orange.700}",_dark:"{colors.orange.300}"}},subtle:{value:{_light:"{colors.orange.100}",_dark:"{colors.orange.900}"}},muted:{value:{_light:"{colors.orange.200}",_dark:"{colors.orange.800}"}},emphasized:{value:{_light:"{colors.orange.300}",_dark:"{colors.orange.700}"}},solid:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.500}"}},focusRing:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.500}"}}},green:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.green.700}",_dark:"{colors.green.300}"}},subtle:{value:{_light:"{colors.green.100}",_dark:"{colors.green.900}"}},muted:{value:{_light:"{colors.green.200}",_dark:"{colors.green.800}"}},emphasized:{value:{_light:"{colors.green.300}",_dark:"{colors.green.700}"}},solid:{value:{_light:"{colors.green.600}",_dark:"{colors.green.600}"}},focusRing:{value:{_light:"{colors.green.500}",_dark:"{colors.green.500}"}}},blue:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.blue.700}",_dark:"{colors.blue.300}"}},subtle:{value:{_light:"{colors.blue.100}",_dark:"{colors.blue.900}"}},muted:{value:{_light:"{colors.blue.200}",_dark:"{colors.blue.800}"}},emphasized:{value:{_light:"{colors.blue.300}",_dark:"{colors.blue.700}"}},solid:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.600}"}},focusRing:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.500}"}}},yellow:{contrast:{value:{_light:"black",_dark:"black"}},fg:{value:{_light:"{colors.yellow.800}",_dark:"{colors.yellow.300}"}},subtle:{value:{_light:"{colors.yellow.100}",_dark:"{colors.yellow.900}"}},muted:{value:{_light:"{colors.yellow.200}",_dark:"{colors.yellow.800}"}},emphasized:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.700}"}},solid:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.300}"}},focusRing:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}}},teal:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.teal.700}",_dark:"{colors.teal.300}"}},subtle:{value:{_light:"{colors.teal.100}",_dark:"{colors.teal.900}"}},muted:{value:{_light:"{colors.teal.200}",_dark:"{colors.teal.800}"}},emphasized:{value:{_light:"{colors.teal.300}",_dark:"{colors.teal.700}"}},solid:{value:{_light:"{colors.teal.600}",_dark:"{colors.teal.600}"}},focusRing:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.500}"}}},purple:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.purple.700}",_dark:"{colors.purple.300}"}},subtle:{value:{_light:"{colors.purple.100}",_dark:"{colors.purple.900}"}},muted:{value:{_light:"{colors.purple.200}",_dark:"{colors.purple.800}"}},emphasized:{value:{_light:"{colors.purple.300}",_dark:"{colors.purple.700}"}},solid:{value:{_light:"{colors.purple.600}",_dark:"{colors.purple.600}"}},focusRing:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.500}"}}},pink:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.pink.700}",_dark:"{colors.pink.300}"}},subtle:{value:{_light:"{colors.pink.100}",_dark:"{colors.pink.900}"}},muted:{value:{_light:"{colors.pink.200}",_dark:"{colors.pink.800}"}},emphasized:{value:{_light:"{colors.pink.300}",_dark:"{colors.pink.700}"}},solid:{value:{_light:"{colors.pink.600}",_dark:"{colors.pink.600}"}},focusRing:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.500}"}}},cyan:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.cyan.700}",_dark:"{colors.cyan.300}"}},subtle:{value:{_light:"{colors.cyan.100}",_dark:"{colors.cyan.900}"}},muted:{value:{_light:"{colors.cyan.200}",_dark:"{colors.cyan.800}"}},emphasized:{value:{_light:"{colors.cyan.300}",_dark:"{colors.cyan.700}"}},solid:{value:{_light:"{colors.cyan.600}",_dark:"{colors.cyan.600}"}},focusRing:{value:{_light:"{colors.cyan.500}",_dark:"{colors.cyan.500}"}}}}),Rw=xa.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}}),Iw=xa.shadows({xs:{value:{_light:"0px 1px 2px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/20}",_dark:"0px 1px 1px {black/64}, 0px 0px 1px inset {colors.gray.300/20}"}},sm:{value:{_light:"0px 2px 4px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 2px 4px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},md:{value:{_light:"0px 4px 8px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 4px 8px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},lg:{value:{_light:"0px 8px 16px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 8px 16px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},xl:{value:{_light:"0px 16px 24px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 16px 24px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},"2xl":{value:{_light:"0px 24px 40px {colors.gray.900/16}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 24px 40px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},inner:{value:{_light:"inset 0 2px 4px 0 {black/5}",_dark:"inset 0 2px 4px 0 black"}},inset:{value:{_light:"inset 0 0 0 1px {black/5}",_dark:"inset 0 0 0 1px {colors.gray.300/5}"}}}),Tw=xu.extendWith("itemBody"),Nw=j("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),Aw=j("alert").parts("title","description","root","indicator","content"),_w=j("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),Vw=j("blockquote").parts("root","icon","content","caption"),Fw=j("card").parts("root","header","body","footer","title","description"),Lw=j("checkbox-card",["root","control","label","description","addon","indicator","content"]),Dw=j("data-list").parts("root","item","itemLabel","itemValue"),zw=ea.extendWith("header","body","footer","backdrop"),Mw=ea.extendWith("header","body","footer","backdrop"),jw=ld.extendWith("textarea"),$w=j("empty-state",["root","content","indicator","title","description"]),Bw=ud.extendWith("requiredIndicator"),Ww=hd.extendWith("content"),Hw=fd.extendWith("itemContent","dropzoneContent","fileText"),Uw=j("list").parts("root","item","indicator"),Gw=xd.extendWith("itemCommand"),qw=j("select").parts("root","field","indicator"),Kw=Dd.extendWith("header","body","footer"),Wh=fa.extendWith("itemAddon","itemIndicator"),Yw=Wh.extendWith("itemContent","itemDescription"),Xw=Md.extendWith("itemIndicator"),Qw=Bd.extendWith("indicatorGroup"),Jw=s1.extendWith("indicatorGroup","empty"),Zw=Gd.extendWith("markerIndicator"),eS=j("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),tS=j("status").parts("root","indicator"),nS=j("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),rS=qd.extendWith("indicator"),oS=j("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),iS=j("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),sS=j("tabs").parts("root","trigger","list","content","contentGroup","indicator"),aS=j("tag").parts("root","label","closeTrigger","startElement","endElement"),lS=j("timeline").parts("root","item","content","separator","indicator","connector","title","description"),cS=wx.extendWith("channelText"),uS=j("code-block",["root","content","title","header","footer","control","overlay","code","codeText","copyTrigger","copyIndicator","collapseTrigger","collapseIndicator","collapseText"]);Tu.extendWith("valueText");const dS=V1,hS=B({className:"chakra-accordion",slots:Tw.keys(),base:{root:{width:"full","--accordion-radius":"radii.l2"},item:{overflowAnchor:"none"},itemTrigger:{display:"flex",alignItems:"center",textAlign:"start",width:"full",outline:"0",gap:"3",fontWeight:"medium",borderRadius:"var(--accordion-radius)",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{layerStyle:"disabled"}},itemBody:{pt:"var(--accordion-padding-y)",pb:"calc(var(--accordion-padding-y) * 2)"},itemContent:{overflow:"hidden",borderRadius:"var(--accordion-radius)",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}},itemIndicator:{transition:"rotate 0.2s",transformOrigin:"center",color:"fg.subtle",_open:{rotate:"180deg"},_icon:{width:"1.2em",height:"1.2em"}}},variants:{variant:{outline:{item:{borderBottomWidth:"1px"}},subtle:{itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{borderRadius:"var(--accordion-radius)",_open:{bg:"colorPalette.subtle"}}},enclosed:{root:{borderWidth:"1px",borderRadius:"var(--accordion-radius)",divideY:"1px",overflow:"hidden"},itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{_open:{bg:"bg.subtle"}}},plain:{}},size:{sm:{root:{"--accordion-padding-x":"spacing.3","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"sm",py:"var(--accordion-padding-y)"}},md:{root:{"--accordion-padding-x":"spacing.4","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"md",py:"var(--accordion-padding-y)"}},lg:{root:{"--accordion-padding-x":"spacing.4.5","--accordion-padding-y":"spacing.2.5"},itemTrigger:{textStyle:"lg",py:"var(--accordion-padding-y)"}}}},defaultVariants:{size:"md",variant:"outline"}}),fS=B({className:"chakra-action-bar",slots:Nw.keys(),base:{positioner:{position:"fixed",display:"flex",justifyContent:"center",pointerEvents:"none",insetInline:"0",top:"unset",bottom:"calc(env(safe-area-inset-bottom) + 20px)"},content:{bg:"bg.panel",shadow:"md",display:"flex",alignItems:"center",gap:"3",borderRadius:"l3",py:"2.5",px:"3",pointerEvents:"auto",translate:"calc(-1 * var(--scrollbar-width) / 2) 0px",_open:{animationName:"slide-from-bottom, fade-in",animationDuration:"moderate"},_closed:{animationName:"slide-to-bottom, fade-out",animationDuration:"faster"}},separator:{width:"1px",height:"5",bg:"border"},selectionTrigger:{display:"inline-flex",alignItems:"center",gap:"2",alignSelf:"stretch",textStyle:"sm",px:"4",py:"1",borderRadius:"l2",borderWidth:"1px",borderStyle:"dashed"}}}),gS=B({slots:Aw.keys(),className:"chakra-alert",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",borderRadius:"l3"},title:{fontWeight:"medium"},description:{display:"inline"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",width:"1em",height:"1em",_icon:{boxSize:"full"}},content:{display:"flex",flex:"1",gap:"1"}},variants:{status:{info:{root:{colorPalette:"blue"}},warning:{root:{colorPalette:"orange"}},success:{root:{colorPalette:"green"}},error:{root:{colorPalette:"red"}},neutral:{root:{colorPalette:"gray"}}},inline:{true:{content:{display:"inline-flex",flexDirection:"row",alignItems:"center"}},false:{content:{display:"flex",flexDirection:"column"}}},variant:{subtle:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg"}},surface:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"},indicator:{color:"colorPalette.contrast"}}},size:{sm:{root:{gap:"2",px:"3",py:"3",textStyle:"xs"},indicator:{textStyle:"lg"}},md:{root:{gap:"3",px:"4",py:"4",textStyle:"sm"},indicator:{textStyle:"xl"}},lg:{root:{gap:"3",px:"4",py:"4",textStyle:"md"},indicator:{textStyle:"2xl"}}}},defaultVariants:{status:"info",variant:"subtle",size:"md",inline:!1}}),pS=B({slots:wu.keys(),className:"chakra-avatar",base:{root:{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:"medium",position:"relative",verticalAlign:"top",flexShrink:"0",userSelect:"none",width:"var(--avatar-size)",height:"var(--avatar-size)",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)","&[data-group-item]":{borderWidth:"2px",borderColor:"bg"}},image:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"var(--avatar-radius)"},fallback:{lineHeight:"1",textTransform:"uppercase",fontWeight:"medium",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)"}},variants:{size:{full:{root:{"--avatar-size":"100%","--avatar-font-size":"100%"}},"2xs":{root:{"--avatar-font-size":"fontSizes.2xs","--avatar-size":"sizes.6"}},xs:{root:{"--avatar-font-size":"fontSizes.xs","--avatar-size":"sizes.8"}},sm:{root:{"--avatar-font-size":"fontSizes.sm","--avatar-size":"sizes.9"}},md:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.10"}},lg:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.11"}},xl:{root:{"--avatar-font-size":"fontSizes.lg","--avatar-size":"sizes.12"}},"2xl":{root:{"--avatar-font-size":"fontSizes.xl","--avatar-size":"sizes.16"}}},variant:{solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},subtle:{root:{bg:"colorPalette.muted",color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",borderWidth:"1px",borderColor:"colorPalette.muted"}}},shape:{square:{},rounded:{root:{"--avatar-radius":"radii.l3"}},full:{root:{"--avatar-radius":"radii.full"}}},borderless:{true:{root:{"&[data-group-item]":{borderWidth:"0px"}}}}},defaultVariants:{size:"md",shape:"full",variant:"subtle"}}),mS=B({className:"chakra-blockquote",slots:Vw.keys(),base:{root:{position:"relative",display:"flex",flexDirection:"column",gap:"2"},caption:{textStyle:"sm",color:"fg.muted"},icon:{boxSize:"5"}},variants:{justify:{start:{root:{alignItems:"flex-start",textAlign:"start"}},center:{root:{alignItems:"center",textAlign:"center"}},end:{root:{alignItems:"flex-end",textAlign:"end"}}},variant:{subtle:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.muted"},icon:{color:"colorPalette.fg"}},solid:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.solid"},icon:{color:"colorPalette.solid"}},plain:{root:{paddingX:"5"},icon:{color:"colorPalette.solid"}}}},defaultVariants:{variant:"subtle",justify:"start"}}),vS=B({className:"chakra-breadcrumb",slots:_w.keys(),base:{list:{display:"flex",alignItems:"center",wordBreak:"break-word",color:"fg.muted",listStyle:"none"},link:{outline:"0",textDecoration:"none",borderRadius:"l1",focusRing:"outside",display:"inline-flex",alignItems:"center",gap:"2"},item:{display:"inline-flex",alignItems:"center"},separator:{color:"fg.muted",opacity:"0.8",_icon:{boxSize:"1em"},_rtl:{rotate:"180deg"}},ellipsis:{display:"inline-flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"1em"}}},variants:{variant:{underline:{link:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"0.2em",textDecorationColor:"colorPalette.muted"},currentLink:{color:"colorPalette.fg"}},plain:{link:{color:"fg.muted",_hover:{color:"fg"}},currentLink:{color:"fg"}}},size:{sm:{list:{gap:"1",textStyle:"xs"}},md:{list:{gap:"1.5",textStyle:"sm"}},lg:{list:{gap:"2",textStyle:"md"}}}},defaultVariants:{variant:"plain",size:"md"}}),bS=B({className:"chakra-card",slots:Fw.keys(),base:{root:{display:"flex",flexDirection:"column",position:"relative",minWidth:"0",wordWrap:"break-word",borderRadius:"l3",color:"fg",textAlign:"start"},title:{fontWeight:"semibold"},description:{color:"fg.muted",fontSize:"sm"},header:{paddingInline:"var(--card-padding)",paddingTop:"var(--card-padding)",display:"flex",flexDirection:"column",gap:"1.5"},body:{padding:"var(--card-padding)",flex:"1",display:"flex",flexDirection:"column"},footer:{display:"flex",alignItems:"center",gap:"2",paddingInline:"var(--card-padding)",paddingBottom:"var(--card-padding)"}},variants:{size:{sm:{root:{"--card-padding":"spacing.4"},title:{textStyle:"md"}},md:{root:{"--card-padding":"spacing.6"},title:{textStyle:"lg"}},lg:{root:{"--card-padding":"spacing.7"},title:{textStyle:"xl"}}},variant:{elevated:{root:{bg:"bg.panel",boxShadow:"md"}},outline:{root:{bg:"bg.panel",borderWidth:"1px",borderColor:"border"}},subtle:{root:{bg:"bg.muted"}}}},defaultVariants:{variant:"outline",size:"md"}}),yS=B({slots:Cx.keys(),className:"chakra-checkbox",base:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:Se.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:Se.variants?.size?.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:Se.variants?.size?.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:Se.variants?.size?.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:Se.variants?.size?.lg}},variant:{outline:{control:Se.variants?.variant?.outline},solid:{control:Se.variants?.variant?.solid},subtle:{control:Se.variants?.variant?.subtle}}},defaultVariants:{variant:"solid",size:"md"}}),xS=B({slots:Lw.keys(),className:"chakra-checkbox-card",base:{root:{display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",flex:"1",focusVisibleRing:"outside",_disabled:{opacity:"0.8"},_invalid:{outline:"2px solid",outlineColor:"border.error"}},control:{display:"inline-flex",flex:"1",position:"relative",borderRadius:"inherit",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"},label:{fontWeight:"medium",display:"flex",alignItems:"center",gap:"2",flex:"1",_disabled:{opacity:"0.5"}},description:{opacity:"0.64",textStyle:"sm",_disabled:{opacity:"0.5"}},addon:{_disabled:{opacity:"0.5"}},indicator:Se.base,content:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"}},variants:{size:{sm:{root:{textStyle:"sm"},control:{padding:"3",gap:"1.5"},addon:{px:"3",py:"1.5",borderTopWidth:"1px"},indicator:Se.variants?.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:Se.variants?.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:Se.variants?.size.lg}},variant:{surface:{root:{borderWidth:"1px",borderColor:"border",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"},_disabled:{bg:"bg.muted"}},indicator:Se.variants?.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:Se.variants?.variant.plain},outline:{root:{borderWidth:"1px",borderColor:"border",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},indicator:Se.variants?.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:Se.variants?.variant.inverted}},justify:{start:{root:{"--checkbox-card-justify":"flex-start"}},end:{root:{"--checkbox-card-justify":"flex-end"}},center:{root:{"--checkbox-card-justify":"center"}}},align:{start:{root:{"--checkbox-card-align":"flex-start"},content:{textAlign:"start"}},end:{root:{"--checkbox-card-align":"flex-end"},content:{textAlign:"end"}},center:{root:{"--checkbox-card-align":"center"},content:{textAlign:"center"}}},orientation:{vertical:{control:{flexDirection:"column"}},horizontal:{control:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}}),kS=B({slots:uS.keys(),className:"code-block",base:{root:{colorPalette:"gray",rounded:"var(--code-block-radius)",overflow:"hidden",bg:"bg",color:"fg",borderWidth:"1px","--code-block-max-height":"320px","--code-block-bg":"colors.bg","--code-block-fg":"colors.fg","--code-block-obscured-opacity":"0.5","--code-block-obscured-blur":"1px","--code-block-line-number-width":"sizes.3","--code-block-line-number-margin":"spacing.4","--code-block-highlight-bg":"{colors.teal.focusRing/20}","--code-block-highlight-border":"colors.teal.focusRing","--code-block-highlight-added-bg":"{colors.green.focusRing/20}","--code-block-highlight-added-border":"colors.green.focusRing","--code-block-highlight-removed-bg":"{colors.red.focusRing/20}","--code-block-highlight-removed-border":"colors.red.focusRing"},header:{display:"flex",alignItems:"center",gap:"2",position:"relative",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)",mb:"calc(var(--code-block-padding) / 2 * -1)"},title:{display:"inline-flex",alignItems:"center",gap:"1.5",flex:"1",color:"fg.muted"},control:{gap:"1.5",display:"inline-flex",alignItems:"center"},footer:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)"},content:{position:"relative",colorScheme:"dark",overflowX:"auto",overflowY:"hidden",borderBottomRadius:"var(--code-block-radius)",maxHeight:"var(--code-block-max-height)","& ::selection":{bg:"blue.500/40"},_expanded:{maxHeight:"unset"}},overlay:{"--bg":"{colors.black/50}",display:"flex",alignItems:"flex-end",justifyContent:"center",padding:"4",bgImage:"linear-gradient(0deg,var(--bg) 25%,transparent 100%)",color:"white",minH:"5rem",pos:"absolute",bottom:"0",insetInline:"0",zIndex:"1",fontWeight:"medium",_expanded:{display:"none"}},code:{fontFamily:"mono",lineHeight:"tall",whiteSpace:"pre",counterReset:"line 0"},codeText:{px:"var(--code-block-padding)",py:"var(--code-block-padding)",position:"relative",display:"block",width:"100%","&[data-has-focused]":{"& [data-line]:not([data-focused])":{transitionProperty:"opacity, filter",transitionDuration:"moderate",transitionTimingFunction:"ease-in-out",opacity:"var(--code-block-obscured-opacity)",filter:"blur(var(--code-block-obscured-blur))"},"&:hover":{"--code-block-obscured-opacity":"1","--code-block-obscured-blur":"0px"}},"&[data-has-line-numbers][data-plaintext]":{paddingInlineStart:"calc(var(--code-block-line-number-width) + var(--code-block-line-number-margin) + var(--code-block-padding))"},"& [data-line]":{position:"relative","--highlight-bg":"var(--code-block-highlight-bg)","--highlight-border":"var(--code-block-highlight-border)","&[data-highlight], &[data-diff]":{display:"inline-block",width:"full","&:after":{content:"''",display:"block",position:"absolute",insetStart:"calc(var(--code-block-padding) * -1)",insetEnd:"0px",width:"calc(100% + var(--code-block-padding) * 2)",height:"100%",bg:"var(--highlight-bg)",borderStartWidth:"2px",borderStartColor:"var(--highlight-border)"}},"&[data-diff='added']":{"--highlight-bg":"var(--code-block-highlight-added-bg)","--highlight-border":"var(--code-block-highlight-added-border)"},"&[data-diff='removed']":{"--highlight-bg":"var(--code-block-highlight-removed-bg)","--highlight-border":"var(--code-block-highlight-removed-border)"}},"&[data-word-wrap]":{"&[data-plaintext], & [data-line]":{whiteSpace:"pre-wrap",wordBreak:"break-all"}},"&[data-has-line-numbers]":{"--content":"counter(line)","& [data-line]:before":{content:"var(--content)",counterIncrement:"line",width:"var(--code-block-line-number-width)",marginRight:"var(--code-block-line-number-margin)",display:"inline-block",textAlign:"end",userSelect:"none",whiteSpace:"nowrap",opacity:.4},"& [data-diff='added']:before":{content:"'+'"},"& [data-diff='removed']:before":{content:"'-'"}}}},variants:{size:{sm:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.md","--code-block-header-height":"sizes.8"},title:{textStyle:"xs"},code:{fontSize:"xs"}},md:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.lg","--code-block-header-height":"sizes.10"},title:{textStyle:"xs"},code:{fontSize:"sm"}},lg:{root:{"--code-block-padding":"spacing.5","--code-block-radius":"radii.xl","--code-block-header-height":"sizes.12"},title:{textStyle:"sm"},code:{fontSize:"sm"}}}},defaultVariants:{size:"md"}}),CS=B({slots:Ac.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}),wS=B({className:"colorPicker",slots:cS.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5"},label:{color:"fg",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},valueText:{textAlign:"start"},control:{display:"flex",alignItems:"center",flexDirection:"row",gap:"2",position:"relative"},swatchTrigger:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"row",flexShrink:"0",gap:"2",textStyle:"sm",minH:"var(--input-height)",minW:"var(--input-height)",px:"1",rounded:"l2",_disabled:{opacity:"0.5"},"--focus-color":"colors.colorPalette.focusRing","&:focus-visible":{borderColor:"var(--focus-color)",outline:"1px solid var(--focus-color)"},"&[data-fit-content]":{"--input-height":"unset",px:"0",border:"0"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l3",boxShadow:"lg",width:"64",p:"4",gap:"3",zIndex:"dropdown",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},area:{height:"180px",borderRadius:"l2",overflow:"hidden"},areaThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",focusVisibleRing:"mixed",focusRingColor:"white"},areaBackground:{height:"full"},channelSlider:{borderRadius:"l2",flex:"1"},channelSliderTrack:{height:"var(--slider-height)",borderRadius:"inherit",boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"},channelText:{textStyle:"xs",color:"fg.muted",fontWeight:"medium",textTransform:"capitalize"},swatchGroup:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"2"},swatch:{...Bh.base,borderRadius:"l1"},swatchIndicator:{color:"white",rounded:"full"},channelSliderThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",transform:"translate(-50%, -50%)",focusVisibleRing:"outside",focusRingOffset:"1px"},channelInput:{...he.base,"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}},formatSelect:{textStyle:"xs",textTransform:"uppercase",borderWidth:"1px",minH:"6",focusRing:"inside",rounded:"l2"},transparencyGrid:{borderRadius:"l2"},view:{display:"flex",flexDirection:"column",gap:"2"}},variants:{size:{"2xs":{channelInput:he.variants?.size?.["2xs"],swatch:{"--swatch-size":"sizes.4.5"},trigger:{"--input-height":"sizes.7"},area:{"--thumb-size":"sizes.3"},channelSlider:{"--slider-height":"sizes.3","--thumb-size":"sizes.3"}},xs:{channelInput:he.variants?.size?.xs,swatch:{"--swatch-size":"sizes.5"},trigger:{"--input-height":"sizes.8"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},sm:{channelInput:he.variants?.size?.sm,swatch:{"--swatch-size":"sizes.6"},trigger:{"--input-height":"sizes.9"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},md:{channelInput:he.variants?.size?.md,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.10"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},lg:{channelInput:he.variants?.size?.lg,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.11"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},xl:{channelInput:he.variants?.size?.xl,swatch:{"--swatch-size":"sizes.8"},trigger:{"--input-height":"sizes.12"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},"2xl":{channelInput:he.variants?.size?.["2xl"],swatch:{"--swatch-size":"sizes.10"},trigger:{"--input-height":"sizes.16"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}}},variant:{outline:{channelInput:he.variants?.variant?.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:he.variants?.variant?.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}}),SS=B({className:"chakra-combobox",slots:Jw.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},input:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"bg.panel",width:"full",minH:"var(--combobox-input-height)",px:"var(--combobox-input-padding-x)","--input-height":"var(--combobox-input-height)",borderRadius:"l2",outline:0,userSelect:"none",textAlign:"start",_placeholderShown:{color:"fg.muted"},_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center","--input-height":"var(--combobox-input-height)"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"},control:{pos:"relative"},indicatorGroup:{display:"flex",alignItems:"center",justifyContent:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--combobox-input-padding-x)",_icon:{boxSize:"var(--combobox-indicator-size)"},"[data-disabled] &":{opacity:.5}},content:{background:"bg.panel",display:"flex",flexDirection:"column",zIndex:"dropdown",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"0s"},"&[data-empty]:not(:has([data-scope=combobox][data-part=empty]))":{opacity:0}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{boxSize:"var(--combobox-indicator-size)"}},empty:{py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{pb:"var(--combobox-item-padding-y)",_last:{pb:"0"}},itemGroupLabel:{fontWeight:"medium",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"}},variants:{variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},indicatorGroup:{px:"0"}}},size:{xs:{root:{"--combobox-input-height":"sizes.8","--combobox-input-padding-x":"spacing.2","--combobox-indicator-size":"sizes.3.5"},input:{textStyle:"xs"},content:{"--combobox-item-padding-x":"spacing.1.5","--combobox-item-padding-y":"spacing.1","--combobox-indicator-size":"sizes.3.5",p:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"}},sm:{root:{"--combobox-input-height":"sizes.9","--combobox-input-padding-x":"spacing.2.5","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"}},md:{root:{"--combobox-input-height":"sizes.10","--combobox-input-padding-x":"spacing.3","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{textStyle:"sm",gap:"2"}},lg:{root:{"--combobox-input-height":"sizes.12","--combobox-input-padding-x":"spacing.4","--combobox-indicator-size":"sizes.5"},input:{textStyle:"md"},content:{"--combobox-item-padding-y":"spacing.2","--combobox-item-padding-x":"spacing.3","--combobox-indicator-size":"sizes.5",p:"1.5",textStyle:"md"},trigger:{textStyle:"md",py:"3",gap:"2"}}}},defaultVariants:{size:"md",variant:"outline"}}),ES=B({slots:Dw.keys(),className:"chakra-data-list",base:{itemLabel:{display:"flex",alignItems:"center",gap:"1"},itemValue:{display:"flex",minWidth:"0",flex:"1"}},variants:{orientation:{horizontal:{root:{display:"flex",flexDirection:"column"},item:{display:"inline-flex",alignItems:"center",gap:"4"},itemLabel:{minWidth:"120px"}},vertical:{root:{display:"flex",flexDirection:"column"},item:{display:"flex",flexDirection:"column",gap:"1"}}},size:{sm:{root:{gap:"3"},item:{textStyle:"xs"}},md:{root:{gap:"4"},item:{textStyle:"sm"}},lg:{root:{gap:"5"},item:{textStyle:"md"}}},variant:{subtle:{itemLabel:{color:"fg.muted"}},bold:{itemLabel:{fontWeight:"medium"},itemValue:{color:"fg.muted"}}}},defaultVariants:{size:"md",orientation:"vertical",variant:"subtle"}}),OS=B({slots:zw.keys(),className:"chakra-dialog",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",left:0,top:0,w:"100dvw",h:"100dvh",zIndex:"var(--z-index)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100dvw",height:"100dvh",position:"fixed",left:0,top:0,"--dialog-z-index":"zIndex.modal",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",justifyContent:"center",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,borderRadius:"l3",textStyle:"sm",my:"var(--dialog-margin, var(--dialog-base-margin))","--dialog-z-index":"zIndex.modal",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"moderate"},_closed:{animationDuration:"faster"}},header:{display:"flex",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{flex:"1",px:"6",pt:"2",pb:"6"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"2",insetEnd:"2"}},variants:{placement:{center:{positioner:{alignItems:"center"},content:{"--dialog-base-margin":"auto",mx:"auto"}},top:{positioner:{alignItems:"flex-start"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}},bottom:{positioner:{alignItems:"flex-end"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}}},scrollBehavior:{inside:{positioner:{overflow:"hidden"},content:{maxH:"calc(100% - 7.5rem)"},body:{overflow:"auto"}},outside:{positioner:{overflow:"auto",pointerEvents:"auto"}}},size:{xs:{content:{maxW:"sm"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},cover:{positioner:{padding:"10"},content:{width:"100%",height:"100%","--dialog-margin":"0"}},full:{content:{maxW:"100dvw",minH:"100dvh","--dialog-margin":"0",borderRadius:"0"}}},motionPreset:{scale:{content:{_open:{animationName:"scale-in, fade-in"},_closed:{animationName:"scale-out, fade-out"}}},"slide-in-bottom":{content:{_open:{animationName:"slide-from-bottom, fade-in"},_closed:{animationName:"slide-to-bottom, fade-out"}}},"slide-in-top":{content:{_open:{animationName:"slide-from-top, fade-in"},_closed:{animationName:"slide-to-top, fade-out"}}},"slide-in-left":{content:{_open:{animationName:"slide-from-left, fade-in"},_closed:{animationName:"slide-to-left, fade-out"}}},"slide-in-right":{content:{_open:{animationName:"slide-from-right, fade-in"},_closed:{animationName:"slide-to-right, fade-out"}}},none:{}}},defaultVariants:{size:"md",scrollBehavior:"outside",placement:"top",motionPreset:"scale"}}),PS=B({slots:Mw.keys(),className:"chakra-drawer",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",insetInlineStart:0,top:0,w:"100vw",h:"100dvh",zIndex:"overlay",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100vw",height:"100dvh",position:"fixed",insetInlineStart:0,top:0,zIndex:"modal",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,zIndex:"modal",textStyle:"sm",maxH:"100dvh",color:"inherit",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"slowest",animationTimingFunction:"ease-in-smooth"},_closed:{animationDuration:"slower",animationTimingFunction:"ease-in-smooth"}},header:{display:"flex",alignItems:"center",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{px:"6",py:"2",flex:"1",overflow:"auto"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{flex:"1",textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"3",insetEnd:"2"}},variants:{size:{xs:{content:{maxW:"xs"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},full:{content:{maxW:"100vw",h:"100dvh"}}},placement:{start:{positioner:{justifyContent:"flex-start",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-left-full, fade-in",_rtl:"slide-from-right-full, fade-in"}},_closed:{animationName:{base:"slide-to-left-full, fade-out",_rtl:"slide-to-right-full, fade-out"}}}},end:{positioner:{justifyContent:"flex-end",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-right-full, fade-in",_rtl:"slide-from-left-full, fade-in"}},_closed:{animationName:{base:"slide-to-right-full, fade-out",_rtl:"slide-to-left-full, fade-out"}}}},top:{positioner:{justifyContent:"stretch",alignItems:"flex-start"},content:{maxW:"100%",_open:{animationName:"slide-from-top-full, fade-in"},_closed:{animationName:"slide-to-top-full, fade-out"}}},bottom:{positioner:{justifyContent:"stretch",alignItems:"flex-end"},content:{maxW:"100%",_open:{animationName:"slide-from-bottom-full, fade-in"},_closed:{animationName:"slide-to-bottom-full, fade-out"}}}},contained:{true:{positioner:{padding:"4"},content:{borderRadius:"l3"}}}},defaultVariants:{size:"xs",placement:"end"}}),Hh=tr({fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"}),RS=B({slots:jw.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:{...Hh,py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"moderate",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}},input:{...Hh,outline:"0",py:"1",px:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",focusVisibleRing:"inside",focusRingWidth:"2px",_placeholder:{opacity:.6}},control:{display:"inline-flex",alignItems:"center",gap:"1.5"}},variants:{size:{sm:{root:{textStyle:"sm"},preview:{minH:"8"},input:{minH:"8"}},md:{root:{textStyle:"sm"},preview:{minH:"9"},input:{minH:"9"}},lg:{root:{textStyle:"md"},preview:{minH:"10"},input:{minH:"10"}}}},defaultVariants:{size:"md"}}),IS=B({slots:$w.keys(),className:"chakra-empty-state",base:{root:{width:"full"},content:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:"fg.subtle",_icon:{boxSize:"1em"}},title:{fontWeight:"semibold"},description:{textStyle:"sm",color:"fg.muted"}},variants:{size:{sm:{root:{px:"4",py:"6"},title:{textStyle:"md"},content:{gap:"4"},indicator:{textStyle:"2xl"}},md:{root:{px:"8",py:"12"},title:{textStyle:"lg"},content:{gap:"6"},indicator:{textStyle:"4xl"}},lg:{root:{px:"12",py:"16"},title:{textStyle:"xl"},content:{gap:"8"},indicator:{textStyle:"6xl"}}}},defaultVariants:{size:"md"}}),TS=B({className:"chakra-field",slots:Bw.keys(),base:{requiredIndicator:{color:"fg.error",lineHeight:"1"},root:{display:"flex",width:"100%",position:"relative",gap:"1.5"},label:{display:"flex",alignItems:"center",textAlign:"start",textStyle:"sm",fontWeight:"medium",gap:"1",userSelect:"none",_disabled:{opacity:"0.5"}},errorText:{display:"inline-flex",alignItems:"center",fontWeight:"medium",gap:"1",color:"fg.error",textStyle:"xs"},helperText:{color:"fg.muted",textStyle:"xs"}},variants:{orientation:{vertical:{root:{flexDirection:"column",alignItems:"flex-start"}},horizontal:{root:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},label:{flex:"0 0 var(--field-label-width, 80px)"}}}},defaultVariants:{orientation:"vertical"}}),NS=B({className:"fieldset",slots:Ww.keys(),base:{root:{display:"flex",flexDirection:"column",width:"full"},content:{display:"flex",flexDirection:"column",width:"full"},legend:{color:"fg",fontWeight:"medium",_disabled:{opacity:"0.5"}},helperText:{color:"fg.muted",textStyle:"sm"},errorText:{display:"inline-flex",alignItems:"center",color:"fg.error",gap:"2",fontWeight:"medium",textStyle:"sm"}},variants:{size:{sm:{root:{spaceY:"2"},content:{gap:"1.5"},legend:{textStyle:"sm"}},md:{root:{spaceY:"4"},content:{gap:"4"},legend:{textStyle:"sm"}},lg:{root:{spaceY:"6"},content:{gap:"4"},legend:{textStyle:"md"}}}},defaultVariants:{size:"md"}}),AS=B({className:"chakra-file-upload",slots:Hw.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"4",width:"100%",alignItems:"flex-start"},label:{fontWeight:"medium",textStyle:"sm"},dropzone:{background:"bg",borderRadius:"l3",borderWidth:"2px",borderStyle:"dashed",display:"flex",alignItems:"center",flexDirection:"column",gap:"4",justifyContent:"center",minHeight:"2xs",px:"3",py:"2",transition:"backgrounds",focusVisibleRing:"outside",_hover:{bg:"bg.subtle"},_dragging:{bg:"colorPalette.subtle",borderStyle:"solid",borderColor:"colorPalette.solid"}},dropzoneContent:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:"1",textStyle:"sm"},item:{pos:"relative",textStyle:"sm",animationName:"fade-in",animationDuration:"moderate",background:"bg",borderRadius:"l2",borderWidth:"1px",width:"100%",display:"flex",alignItems:"center",gap:"3",p:"4"},itemGroup:{width:"100%",display:"flex",flexDirection:"column",gap:"3",_empty:{display:"none"}},itemName:{color:"fg",fontWeight:"medium",lineClamp:"1"},itemContent:{display:"flex",flexDirection:"column",gap:"0.5",flex:"1"},itemSizeText:{color:"fg.muted",textStyle:"xs"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start",boxSize:"5",p:"2px",color:"fg.muted",cursor:"button"},itemPreview:{color:"fg.muted",_icon:{boxSize:"4.5"}}},defaultVariants:{}}),_S=B({className:"chakra-hover-card",slots:gd.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--hovercard-bg":"colors.bg.panel",bg:"var(--hovercard-bg)",boxShadow:"lg",maxWidth:"80",borderRadius:"l3",zIndex:"popover",transformOrigin:"var(--transform-origin)",outline:"0",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--hovercard-bg)"},arrowTip:{borderTopWidth:"0.5px",borderInlineStartWidth:"0.5px"}},variants:{size:{xs:{content:{padding:"3"}},sm:{content:{padding:"4"}},md:{content:{padding:"5"}},lg:{content:{padding:"6"}}}},defaultVariants:{size:"md"}}),VS=B({className:"chakra-list",slots:Uw.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"var(--list-gap)","& :where(ul, ol)":{marginTop:"var(--list-gap)"}},item:{whiteSpace:"normal",display:"list-item"},indicator:{marginEnd:"2",minHeight:"1lh",flexShrink:0,display:"inline-block",verticalAlign:"middle"}},variants:{variant:{marker:{root:{listStyle:"revert"},item:{_marker:{color:"fg.subtle"}}},plain:{item:{alignItems:"flex-start",display:"inline-flex"}}},align:{center:{item:{alignItems:"center"}},start:{item:{alignItems:"flex-start"}},end:{item:{alignItems:"flex-end"}}}},defaultVariants:{variant:"marker"}}),FS=B({className:"chakra-listbox",slots:dS.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},content:{display:"flex",maxH:"96",p:"1",gap:"1",textStyle:"sm",outline:"none",scrollPadding:"1",_horizontal:{flexDirection:"row",overflowX:"auto"},_vertical:{flexDirection:"column",overflowY:"auto"},"--listbox-item-padding-x":"spacing.2","--listbox-item-padding-y":"spacing.1.5"},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"pointer",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)",_highlighted:{outline:"2px solid",outlineColor:"border.emphasized"},_disabled:{pointerEvents:"none",opacity:"0.5"}},empty:{py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{mt:"1.5",_first:{mt:"0"}},itemGroupLabel:{py:"1.5",px:"2",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"4"}}},variants:{variant:{subtle:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_hover:{bg:"bg.emphasized/60"},_selected:{bg:"bg.muted"}}},solid:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_selected:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}},plain:{}}},defaultVariants:{variant:"subtle"}}),LS=B({className:"chakra-menu",slots:Gw.keys(),base:{content:{outline:0,bg:"bg.panel",boxShadow:"lg",color:"fg",maxHeight:"var(--available-height)","--menu-z-index":"zIndex.dropdown",zIndex:"calc(var(--menu-z-index) + var(--layer-index, 0))",borderRadius:"l2",overflow:"hidden",overflowY:"auto",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},item:{textDecoration:"none",color:"fg",userSelect:"none",borderRadius:"l1",width:"100%",display:"flex",cursor:"menuitem",alignItems:"center",textAlign:"start",position:"relative",flex:"0 0 auto",outline:0,_disabled:{layerStyle:"disabled"},"&[data-type]":{ps:"8"}},itemText:{flex:"1"},itemIndicator:{position:"absolute",insetStart:"2",transform:"translateY(-50%)",top:"50%"},itemGroupLabel:{px:"2",py:"1.5",fontWeight:"semibold",textStyle:"sm"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},itemCommand:{opacity:"0.6",textStyle:"xs",ms:"auto",ps:"4",letterSpacing:"widest",fontFamily:"inherit"},separator:{height:"1px",bg:"bg.muted",my:"1",mx:"-1"}},variants:{variant:{subtle:{item:{_highlighted:{bg:"bg.emphasized/60"}}},solid:{item:{_highlighted:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}}},size:{sm:{content:{minW:"8rem",padding:"1",scrollPadding:"1"},item:{gap:"1",textStyle:"xs",py:"1",px:"1.5"}},md:{content:{minW:"8rem",padding:"1.5",scrollPadding:"1.5"},item:{gap:"2",textStyle:"sm",py:"1.5",px:"2"}}}},defaultVariants:{size:"md",variant:"subtle"}}),di=B({className:"chakra-select",slots:Qw.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},trigger:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"full",minH:"var(--select-trigger-height)","--input-height":"var(--select-trigger-height)",px:"var(--select-trigger-padding-x)",borderRadius:"l2",userSelect:"none",textAlign:"start",focusVisibleRing:"inside",_placeholderShown:{color:"fg.muted/80"},_disabled:{layerStyle:"disabled"},_invalid:{borderColor:"border.error"}},indicatorGroup:{display:"flex",alignItems:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--select-trigger-padding-x)",pointerEvents:"none"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:{base:"fg.muted",_disabled:"fg.subtle",_invalid:"fg.error"}},content:{background:"bg.panel",display:"flex",flexDirection:"column",zIndex:"dropdown",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"fastest"}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{width:"4",height:"4"}},control:{pos:"relative"},itemText:{flex:"1"},itemGroup:{_first:{mt:"0"}},itemGroupLabel:{py:"1",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"}},variants:{variant:{outline:{trigger:{bg:"transparent",borderWidth:"1px",borderColor:"border",_expanded:{borderColor:"border.emphasized"}}},subtle:{trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}},size:{xs:{root:{"--select-trigger-height":"sizes.8","--select-trigger-padding-x":"spacing.2"},content:{p:"1",gap:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"},item:{py:"1",px:"2"},itemGroupLabel:{py:"1",px:"2"},indicator:{_icon:{width:"3.5",height:"3.5"}}},sm:{root:{"--select-trigger-height":"sizes.9","--select-trigger-padding-x":"spacing.2.5"},content:{p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"},indicator:{_icon:{width:"4",height:"4"}},item:{py:"1",px:"1.5"},itemGroup:{mt:"1"},itemGroupLabel:{py:"1",px:"1.5"}},md:{root:{"--select-trigger-height":"sizes.10","--select-trigger-padding-x":"spacing.3"},content:{p:"1",textStyle:"sm"},itemGroup:{mt:"1.5"},item:{py:"1.5",px:"2"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},itemGroupLabel:{py:"1.5",px:"2"},trigger:{textStyle:"sm",gap:"2"},indicator:{_icon:{width:"4",height:"4"}}},lg:{root:{"--select-trigger-height":"sizes.12","--select-trigger-padding-x":"spacing.4"},content:{p:"1.5",textStyle:"md"},itemGroup:{mt:"2"},item:{py:"2",px:"3"},itemGroupLabel:{py:"2",px:"3"},trigger:{textStyle:"md",py:"3",gap:"2"},indicator:{_icon:{width:"5",height:"5"}}}}},defaultVariants:{size:"md",variant:"outline"}}),DS=B({className:"chakra-native-select",slots:qw.keys(),base:{root:{height:"fit-content",display:"flex",width:"100%",position:"relative"},field:{width:"100%",minWidth:"0",outline:"0",appearance:"none",borderRadius:"l2","--error-color":"colors.border.error","--input-height":"var(--select-field-height)",height:"var(--select-field-height)",_disabled:{layerStyle:"disabled"},_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"},focusVisibleRing:"inside",lineHeight:"normal","& > option, & > optgroup":{bg:"bg"}},indicator:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)",height:"100%",color:"fg.muted",_disabled:{opacity:"0.5"},_invalid:{color:"fg.error"},_icon:{width:"1em",height:"1em"}}},variants:{variant:{outline:{field:di.variants?.variant.outline.trigger},subtle:{field:di.variants?.variant.subtle.trigger},plain:{field:{bg:"transparent",color:"fg",focusRingWidth:"2px"}}},size:{xs:{root:{"--select-field-height":"sizes.8"},field:{textStyle:"xs",ps:"2",pe:"6"},indicator:{textStyle:"sm",insetEnd:"1.5"}},sm:{root:{"--select-field-height":"sizes.9"},field:{textStyle:"sm",ps:"2.5",pe:"8"},indicator:{textStyle:"md",insetEnd:"2"}},md:{root:{"--select-field-height":"sizes.10"},field:{textStyle:"sm",ps:"3",pe:"8"},indicator:{textStyle:"lg",insetEnd:"2"}},lg:{root:{"--select-field-height":"sizes.11"},field:{textStyle:"md",ps:"4",pe:"8"},indicator:{textStyle:"xl",insetEnd:"3"}},xl:{root:{"--select-field-height":"sizes.12"},field:{textStyle:"md",ps:"4.5",pe:"10"},indicator:{textStyle:"xl",insetEnd:"3"}}}},defaultVariants:di.defaultVariants});function Ta(e,t){const n={};for(const r in e){const o=t(r,e[r]);n[o[0]]=o[1]}return n}const Uh=tr({display:"flex",justifyContent:"center",alignItems:"center",flex:"1",userSelect:"none",cursor:"button",lineHeight:"1",color:"fg.muted","--stepper-base-radius":"radii.l1","--stepper-radius":"calc(var(--stepper-base-radius) + 1px)",_icon:{boxSize:"1em"},_disabled:{opacity:"0.5"},_hover:{bg:"bg.muted"},_active:{bg:"bg.emphasized"}}),zS=B({className:"chakra-number-input",slots:Nd.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:{...he.base,verticalAlign:"top",pe:"calc(var(--stepper-width) + 0.5rem)"},control:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",width:"var(--stepper-width)",height:"calc(100% - 2px)",zIndex:"1",borderStartWidth:"1px",divideY:"1px"},incrementTrigger:{...Uh,borderTopEndRadius:"var(--stepper-radius)"},decrementTrigger:{...Uh,borderBottomEndRadius:"var(--stepper-radius)"},valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:he.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:he.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:he.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:he.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:Ta(he.variants.variant,(e,t)=>[e,{input:t}])},defaultVariants:{size:"md",variant:"outline"}}),{variants:Gh,defaultVariants:MS}=he,jS=B({className:"chakra-pin-input",slots:Ld.keys(),base:{input:{...he.base,textAlign:"center",width:"var(--input-height)"},control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:Ta(Gh.size,(e,t)=>[e,{input:{...t,px:"1"}}]),variant:Ta(Gh.variant,(e,t)=>[e,{input:t}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:MS}),$S=B({className:"chakra-popover",slots:Kw.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--popover-bg":"colors.bg.panel",bg:"var(--popover-bg)",boxShadow:"lg","--popover-size":"sizes.xs","--popover-mobile-size":"calc(100dvw - 1rem)",width:{base:"min(var(--popover-mobile-size), var(--popover-size))",sm:"var(--popover-size)"},borderRadius:"l3","--popover-z-index":"zIndex.popover",zIndex:"calc(var(--popover-z-index) + var(--layer-index, 0))",outline:"0",transformOrigin:"var(--transform-origin)",maxHeight:"var(--available-height)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},header:{paddingInline:"var(--popover-padding)",paddingTop:"var(--popover-padding)"},body:{padding:"var(--popover-padding)",flex:"1"},footer:{display:"flex",alignItems:"center",paddingInline:"var(--popover-padding)",paddingBottom:"var(--popover-padding)"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--popover-bg)"},arrowTip:{borderTopWidth:"1px",borderInlineStartWidth:"1px"}},variants:{size:{xs:{content:{"--popover-padding":"spacing.3"}},sm:{content:{"--popover-padding":"spacing.4"}},md:{content:{"--popover-padding":"spacing.5"}},lg:{content:{"--popover-padding":"spacing.6"}}}},defaultVariants:{size:"md"}}),BS=B({slots:ha.keys(),className:"chakra-progress",base:{root:{textStyle:"sm",position:"relative"},track:{overflow:"hidden",position:"relative"},range:{display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"width, height",transitionDuration:"slow",height:"100%",bgColor:"var(--track-color)",_indeterminate:{"--animate-from-x":"-40%","--animate-to-x":"100%",position:"absolute",willChange:"left",minWidth:"50%",animation:"position 1s ease infinite normal none running",backgroundImage:"linear-gradient(to right, transparent 0%, var(--track-color) 50%, transparent 100%)"}},label:{display:"inline-flex",fontWeight:"medium",alignItems:"center",gap:"1"},valueText:{textStyle:"xs",lineHeight:"1",fontWeight:"medium"}},variants:{variant:{outline:{track:{shadow:"inset",bgColor:"bg.muted"},range:{bgColor:"colorPalette.solid"}},subtle:{track:{bgColor:"colorPalette.muted"},range:{bgColor:"colorPalette.solid/72"}}},shape:{square:{},rounded:{track:{borderRadius:"l1"}},full:{track:{borderRadius:"full"}}},striped:{true:{range:{backgroundImage:"linear-gradient(45deg, var(--stripe-color) 25%, transparent 25%, transparent 50%, var(--stripe-color) 50%, var(--stripe-color) 75%, transparent 75%, transparent)",backgroundSize:"var(--stripe-size) var(--stripe-size)","--stripe-size":"1rem","--stripe-color":{_light:"rgba(255, 255, 255, 0.3)",_dark:"rgba(0, 0, 0, 0.3)"}}}},animated:{true:{range:{"--animate-from":"var(--stripe-size)",animation:"bg-position 1s linear infinite"}}},size:{xs:{track:{h:"1.5"}},sm:{track:{h:"2"}},md:{track:{h:"2.5"}},lg:{track:{h:"3"}},xl:{track:{h:"4"}}}},defaultVariants:{variant:"outline",size:"md",shape:"rounded"}}),WS=B({className:"chakra-progress-circle",slots:ha.keys(),base:{root:{display:"inline-flex",textStyle:"sm",position:"relative"},circle:{_indeterminate:{animation:"spin 2s linear infinite"}},circleTrack:{"--track-color":"colors.colorPalette.muted",stroke:"var(--track-color)"},circleRange:{stroke:"colorPalette.solid",transitionProperty:"stroke-dashoffset, stroke-dasharray",transitionDuration:"0.6s",_indeterminate:{animation:"circular-progress 1.5s linear infinite"}},label:{display:"inline-flex"},valueText:{lineHeight:"1",fontWeight:"medium",letterSpacing:"tight",fontVariantNumeric:"tabular-nums"}},variants:{size:{xs:{circle:{"--size":"24px","--thickness":"4px"},valueText:{textStyle:"2xs"}},sm:{circle:{"--size":"32px","--thickness":"5px"},valueText:{textStyle:"2xs"}},md:{circle:{"--size":"40px","--thickness":"6px"},valueText:{textStyle:"xs"}},lg:{circle:{"--size":"48px","--thickness":"7px"},valueText:{textStyle:"sm"}},xl:{circle:{"--size":"64px","--thickness":"8px"},valueText:{textStyle:"sm"}}}},defaultVariants:{size:"md"}}),HS=B({slots:zd.keys(),className:"chakra-qr-code",base:{root:{position:"relative",width:"fit-content","--qr-code-overlay-size":"calc(var(--qr-code-size) / 3)"},frame:{width:"var(--qr-code-size)",height:"var(--qr-code-size)",fill:"currentColor"},overlay:{display:"flex",alignItems:"center",justifyContent:"center",width:"var(--qr-code-overlay-size)",height:"var(--qr-code-overlay-size)",padding:"1",bg:"bg",rounded:"l1"}},variants:{size:{"2xs":{root:{"--qr-code-size":"40px"}},xs:{root:{"--qr-code-size":"64px"}},sm:{root:{"--qr-code-size":"80px"}},md:{root:{"--qr-code-size":"120px"}},lg:{root:{"--qr-code-size":"160px"}},xl:{root:{"--qr-code-size":"200px"}},"2xl":{root:{"--qr-code-size":"240px"}},full:{root:{"--qr-code-size":"100%"}}}},defaultVariants:{size:"md"}}),US=B({className:"chakra-radio-card",slots:Yw.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",isolation:"isolate"},item:{flex:"1",display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",_focus:{bg:"colorPalette.muted/20"},_disabled:{opacity:"0.8",borderColor:"border.disabled"},_checked:{zIndex:"1"}},label:{display:"inline-flex",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},itemText:{fontWeight:"medium",flex:"1"},itemDescription:{opacity:"0.64",textStyle:"sm"},itemControl:{display:"inline-flex",flex:"1",pos:"relative",rounded:"inherit",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)",_disabled:{bg:"bg.muted"}},itemIndicator:Ee.base,itemAddon:{roundedBottom:"inherit",_disabled:{color:"fg.muted"}},itemContent:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)"}},variants:{size:{sm:{item:{textStyle:"sm"},itemControl:{padding:"3",gap:"1.5"},itemAddon:{px:"3",py:"1.5",borderTopWidth:"1px"},itemIndicator:Ee.variants?.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:Ee.variants?.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:Ee.variants?.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:Ee.variants?.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:Ee.variants?.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:Ee.variants?.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemIndicator:Ee.variants?.variant.inverted}},justify:{start:{item:{"--radio-card-justify":"flex-start"}},end:{item:{"--radio-card-justify":"flex-end"}},center:{item:{"--radio-card-justify":"center"}}},align:{start:{item:{"--radio-card-align":"flex-start"},itemControl:{textAlign:"start"}},end:{item:{"--radio-card-align":"flex-end"},itemControl:{textAlign:"end"}},center:{item:{"--radio-card-align":"center"},itemControl:{textAlign:"center"}}},orientation:{vertical:{itemControl:{flexDirection:"column"}},horizontal:{itemControl:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}}),GS=B({className:"chakra-radio-group",slots:Wh.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:Ee.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:Ee.variants?.variant?.outline},subtle:{itemControl:Ee.variants?.variant?.subtle},solid:{itemControl:Ee.variants?.variant?.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:Ee.variants?.size?.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:Ee.variants?.size?.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:Ee.variants?.size?.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:Ee.variants?.size?.lg}}},defaultVariants:{size:"md",variant:"solid"}}),qS=B({className:"chakra-rating-group",slots:Xw.keys(),base:{root:{display:"inline-flex"},control:{display:"inline-flex",alignItems:"center"},item:{display:"inline-flex",alignItems:"center",justifyContent:"center",userSelect:"none"},itemIndicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"1em",height:"1em",position:"relative","--clip-path":{base:"inset(0 50% 0 0)",_rtl:"inset(0 0 0 50%)"},_icon:{stroke:"currentColor",width:"100%",height:"100%",display:"inline-block",flexShrink:0,position:"absolute",left:0,top:0},"& [data-bg]":{color:"bg.emphasized"},"& [data-fg]":{color:"transparent"},"&[data-highlighted]:not([data-half])":{"& [data-fg]":{color:"colorPalette.solid"}},"&[data-half]":{"& [data-fg]":{color:"colorPalette.solid",clipPath:"var(--clip-path)"}}}},variants:{size:{xs:{item:{textStyle:"sm"}},sm:{item:{textStyle:"md"}},md:{item:{textStyle:"xl"}},lg:{item:{textStyle:"2xl"}}}},defaultVariants:{size:"md"}}),KS=B({className:"chakra-scroll-area",slots:jd.keys(),base:{root:{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",overflow:"hidden","--scrollbar-margin":"2px","--scrollbar-click-area":"calc(var(--scrollbar-size) + calc(var(--scrollbar-margin) * 2))"},viewport:{display:"flex",flexDirection:"column",height:"100%",width:"100%",borderRadius:"inherit",WebkitOverflowScrolling:"touch",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},content:{minWidth:"100%"},scrollbar:{display:"flex",userSelect:"none",touchAction:"none",borderRadius:"full",colorPalette:"gray",transition:"opacity 150ms 300ms",position:"relative",margin:"var(--scrollbar-margin)","&:not([data-overflow-x], [data-overflow-y])":{display:"none"},bg:"{colors.colorPalette.solid/10}","--thumb-bg":"{colors.colorPalette.solid/25}","&:is(:hover, :active)":{"--thumb-bg":"{colors.colorPalette.solid/50}"},_before:{content:'""',position:"absolute"},_vertical:{width:"var(--scrollbar-size)",flexDirection:"column","&::before":{width:"var(--scrollbar-click-area)",height:"100%",insetInlineStart:"calc(var(--scrollbar-margin) * -1)"}},_horizontal:{height:"var(--scrollbar-size)",flexDirection:"row","&::before":{height:"var(--scrollbar-click-area)",width:"100%",top:"calc(var(--scrollbar-margin) * -1)"}}},thumb:{borderRadius:"inherit",bg:"var(--thumb-bg)",transition:"backgrounds",_vertical:{width:"full"},_horizontal:{height:"full"}},corner:{bg:"bg.muted",margin:"var(--scrollbar-margin)",opacity:0,transition:"opacity 150ms 300ms","&[data-hover]":{transitionDelay:"0ms",opacity:1}}},variants:{variant:{hover:{scrollbar:{opacity:"0","&[data-hover], &[data-scrolling]":{opacity:"1",transitionDuration:"faster",transitionDelay:"0ms"}}},always:{scrollbar:{opacity:"1"}}},size:{xs:{root:{"--scrollbar-size":"sizes.1"}},sm:{root:{"--scrollbar-size":"sizes.1.5"}},md:{root:{"--scrollbar-size":"sizes.2"}},lg:{root:{"--scrollbar-size":"sizes.3"}}}},defaultVariants:{size:"md",variant:"hover"}}),YS=B({className:"chakra-segment-group",slots:$d.keys(),base:{root:{"--segment-radius":"radii.l2",borderRadius:"l2",display:"inline-flex",boxShadow:"inset",minW:"max-content",textAlign:"center",position:"relative",isolation:"isolate",bg:"bg.muted",_vertical:{flexDirection:"column"}},item:{display:"flex",alignItems:"center",justifyContent:"center",userSelect:"none",fontSize:"sm",position:"relative",color:"fg",borderRadius:"var(--segment-radius)",_disabled:{opacity:"0.5"},"&:has(input:focus-visible)":{focusRing:"outside"},_before:{content:'""',position:"absolute",bg:"border",transition:"opacity 0.2s"},_horizontal:{_before:{insetInlineStart:0,insetBlock:"1.5",width:"1px"}},_vertical:{_before:{insetBlockStart:0,insetInline:"1.5",height:"1px"}},"& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type":{_before:{opacity:"0"}},"&[data-state=checked][data-ssr]":{shadow:"sm",bg:"bg",borderRadius:"var(--segment-radius)"}},indicator:{shadow:"sm",pos:"absolute",bg:{_light:"bg",_dark:"bg.emphasized"},width:"var(--width)",height:"var(--height)",top:"var(--top)",left:"var(--left)",zIndex:-1,borderRadius:"var(--segment-radius)"}},variants:{size:{xs:{item:{textStyle:"xs",px:"3",gap:"1",height:"6"}},sm:{item:{textStyle:"sm",px:"4",gap:"2",height:"8"}},md:{item:{textStyle:"sm",px:"4",gap:"2",height:"10"}},lg:{item:{textStyle:"md",px:"4.5",gap:"3",height:"11"}}}},defaultVariants:{size:"md"}}),XS=B({className:"chakra-slider",slots:Zw.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",textStyle:"sm",position:"relative",isolation:"isolate",touchAction:"none"},label:{fontWeight:"medium",textStyle:"sm"},control:{display:"inline-flex",alignItems:"center",position:"relative"},track:{overflow:"hidden",borderRadius:"full",flex:"1"},range:{width:"inherit",height:"inherit",_disabled:{bg:"border.emphasized!"}},markerGroup:{position:"absolute!",zIndex:"1"},marker:{"--marker-bg":{base:"white",_underValue:"colors.bg"},display:"flex",alignItems:"center",gap:"calc(var(--slider-thumb-size) / 2)",color:"fg.muted",textStyle:"xs"},markerIndicator:{width:"var(--slider-marker-size)",height:"var(--slider-marker-size)",borderRadius:"full",bg:"var(--marker-bg)"},thumb:{width:"var(--slider-thumb-size)",height:"var(--slider-thumb-size)",display:"flex",alignItems:"center",justifyContent:"center",outline:0,zIndex:"2",borderRadius:"full",_focusVisible:{ring:"2px",ringColor:"colorPalette.focusRing",ringOffset:"2px",ringOffsetColor:"bg"}}},variants:{size:{sm:{root:{"--slider-thumb-size":"sizes.4","--slider-track-size":"sizes.1.5","--slider-marker-center":"6px","--slider-marker-size":"sizes.1","--slider-marker-inset":"3px"}},md:{root:{"--slider-thumb-size":"sizes.5","--slider-track-size":"sizes.2","--slider-marker-center":"8px","--slider-marker-size":"sizes.1","--slider-marker-inset":"4px"}},lg:{root:{"--slider-thumb-size":"sizes.6","--slider-track-size":"sizes.2.5","--slider-marker-center":"9px","--slider-marker-size":"sizes.1.5","--slider-marker-inset":"5px"}}},variant:{outline:{track:{shadow:"inset",bg:"bg.emphasized/72"},range:{bg:"colorPalette.solid"},thumb:{borderWidth:"2px",borderColor:"colorPalette.solid",bg:"bg",_disabled:{bg:"border.emphasized",borderColor:"border.emphasized"}}},solid:{track:{bg:"colorPalette.subtle",_disabled:{bg:"bg.muted"}},range:{bg:"colorPalette.solid"},thumb:{bg:"colorPalette.solid",_disabled:{bg:"border.emphasized"}}}},orientation:{vertical:{root:{display:"inline-flex"},control:{flexDirection:"column",height:"100%",minWidth:"var(--slider-thumb-size)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{marginEnd:"4"}},track:{width:"var(--slider-track-size)"},thumb:{left:"50%",translate:"-50% 0"},markerGroup:{insetStart:"var(--slider-marker-center)",insetBlock:"var(--slider-marker-inset)"},marker:{flexDirection:"row"}},horizontal:{control:{flexDirection:"row",width:"100%",minHeight:"var(--slider-thumb-size)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{marginBottom:"4"}},track:{height:"var(--slider-track-size)"},thumb:{top:"50%",translate:"0 -50%"},markerGroup:{top:"var(--slider-marker-center)",insetInline:"var(--slider-marker-inset)"},marker:{flexDirection:"column"}}}},defaultVariants:{size:"md",variant:"outline",orientation:"horizontal"}}),QS=B({className:"chakra-stat",slots:eS.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",position:"relative",flex:"1"},label:{display:"inline-flex",gap:"1.5",alignItems:"center",color:"fg.muted",textStyle:"sm"},helpText:{color:"fg.muted",textStyle:"xs"},valueUnit:{color:"fg.muted",textStyle:"xs",fontWeight:"initial",letterSpacing:"initial"},valueText:{verticalAlign:"baseline",fontWeight:"semibold",letterSpacing:"tight",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums",display:"inline-flex",gap:"1"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",marginEnd:1,"& :where(svg)":{w:"1em",h:"1em"},"&[data-type=up]":{color:"fg.success"},"&[data-type=down]":{color:"fg.error"}}},variants:{size:{sm:{valueText:{textStyle:"xl"}},md:{valueText:{textStyle:"2xl"}},lg:{valueText:{textStyle:"3xl"}}}},defaultVariants:{size:"md"}}),JS=B({className:"chakra-status",slots:tS.keys(),base:{root:{display:"inline-flex",alignItems:"center",gap:"2"},indicator:{width:"0.64em",height:"0.64em",flexShrink:0,borderRadius:"full",forcedColorAdjust:"none",bg:"colorPalette.solid"}},variants:{size:{sm:{root:{textStyle:"xs"}},md:{root:{textStyle:"sm"}},lg:{root:{textStyle:"md"}}}},defaultVariants:{size:"md"}}),ZS=B({className:"chakra-steps",slots:nS.keys(),base:{root:{display:"flex",width:"full"},list:{display:"flex",justifyContent:"space-between","--steps-gutter":"spacing.3","--steps-thickness":"2px"},title:{fontWeight:"medium",color:"fg"},description:{color:"fg.muted"},separator:{bg:"border",flex:"1"},indicator:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0",borderRadius:"full",fontWeight:"medium",width:"var(--steps-size)",height:"var(--steps-size)",_icon:{flexShrink:"0",width:"var(--steps-icon-size)",height:"var(--steps-icon-size)"}},item:{position:"relative",display:"flex",gap:"3",flex:"1 0 0","&:last-of-type":{flex:"initial","& [data-part=separator]":{display:"none"}}},trigger:{display:"flex",alignItems:"center",gap:"3",textAlign:"start",focusVisibleRing:"outside",borderRadius:"l2"},content:{focusVisibleRing:"outside"}},variants:{orientation:{vertical:{root:{flexDirection:"row",height:"100%"},list:{flexDirection:"column",alignItems:"flex-start"},separator:{position:"absolute",width:"var(--steps-thickness)",height:"100%",maxHeight:"calc(100% - var(--steps-size) - var(--steps-gutter) * 2)",top:"calc(var(--steps-size) + var(--steps-gutter))",insetStart:"calc(var(--steps-size) / 2 - 1px)"},item:{alignItems:"flex-start"}},horizontal:{root:{flexDirection:"column",width:"100%"},list:{flexDirection:"row",alignItems:"center"},separator:{width:"100%",height:"var(--steps-thickness)",marginX:"var(--steps-gutter)"},item:{alignItems:"center"}}},variant:{solid:{indicator:{_incomplete:{borderWidth:"var(--steps-thickness)"},_current:{bg:"colorPalette.muted",borderWidth:"var(--steps-thickness)",borderColor:"colorPalette.solid",color:"colorPalette.fg"},_complete:{bg:"colorPalette.solid",borderColor:"colorPalette.solid",color:"colorPalette.contrast"}},separator:{_complete:{bg:"colorPalette.solid"}}},subtle:{indicator:{_incomplete:{bg:"bg.muted"},_current:{bg:"colorPalette.muted",color:"colorPalette.fg"},_complete:{bg:"colorPalette.emphasized",color:"colorPalette.fg"}},separator:{_complete:{bg:"colorPalette.emphasized"}}}},size:{xs:{root:{gap:"2.5"},list:{"--steps-size":"sizes.6","--steps-icon-size":"sizes.3.5",textStyle:"xs"},title:{textStyle:"sm"}},sm:{root:{gap:"3"},list:{"--steps-size":"sizes.8","--steps-icon-size":"sizes.4",textStyle:"xs"},title:{textStyle:"sm"}},md:{root:{gap:"4"},list:{"--steps-size":"sizes.10","--steps-icon-size":"sizes.4",textStyle:"sm"},title:{textStyle:"sm"}},lg:{root:{gap:"6"},list:{"--steps-size":"sizes.11","--steps-icon-size":"sizes.5",textStyle:"md"},title:{textStyle:"md"}}}},defaultVariants:{size:"md",variant:"solid",orientation:"horizontal"}}),eE=B({slots:rS.keys(),className:"chakra-switch",base:{root:{display:"inline-flex",gap:"2.5",alignItems:"center",position:"relative",verticalAlign:"middle","--switch-diff":"calc(var(--switch-width) - var(--switch-height))","--switch-x":{base:"var(--switch-diff)",_rtl:"calc(var(--switch-diff) * -1)"}},label:{lineHeight:"1",userSelect:"none",fontSize:"sm",fontWeight:"medium",_disabled:{opacity:"0.5"}},indicator:{position:"absolute",height:"var(--switch-height)",width:"var(--switch-height)",fontSize:"var(--switch-indicator-font-size)",fontWeight:"medium",flexShrink:0,userSelect:"none",display:"grid",placeContent:"center",transition:"inset-inline-start 0.12s ease",insetInlineStart:"calc(var(--switch-x) - 2px)",_checked:{insetInlineStart:"2px"}},control:{display:"inline-flex",gap:"0.5rem",flexShrink:0,justifyContent:"flex-start",cursor:"switch",borderRadius:"full",position:"relative",width:"var(--switch-width)",height:"var(--switch-height)",transition:"backgrounds",_disabled:{opacity:"0.5",cursor:"not-allowed"},_invalid:{outline:"2px solid",outlineColor:"border.error",outlineOffset:"2px"}},thumb:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transitionProperty:"translate",transitionDuration:"fast",borderRadius:"inherit",_checked:{translate:"var(--switch-x) 0"}}},variants:{variant:{solid:{control:{borderRadius:"full",bg:"bg.emphasized",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}},thumb:{bg:"white",width:"var(--switch-height)",height:"var(--switch-height)",scale:"0.8",boxShadow:"sm",_checked:{bg:"colorPalette.contrast"}}},raised:{control:{borderRadius:"full",height:"calc(var(--switch-height) / 2)",bg:"bg.muted",boxShadow:"inset",_checked:{bg:"colorPalette.solid/60"}},thumb:{width:"var(--switch-height)",height:"var(--switch-height)",position:"relative",top:"calc(var(--switch-height) * -0.25)",bg:"white",boxShadow:"xs",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}}}},size:{xs:{root:{"--switch-width":"sizes.6","--switch-height":"sizes.3","--switch-indicator-font-size":"fontSizes.xs"}},sm:{root:{"--switch-width":"sizes.8","--switch-height":"sizes.4","--switch-indicator-font-size":"fontSizes.xs"}},md:{root:{"--switch-width":"sizes.10","--switch-height":"sizes.5","--switch-indicator-font-size":"fontSizes.sm"}},lg:{root:{"--switch-width":"sizes.12","--switch-height":"sizes.6","--switch-indicator-font-size":"fontSizes.md"}}}},defaultVariants:{variant:"solid",size:"md"}}),tE=B({className:"chakra-table",slots:oS.keys(),base:{root:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full",textAlign:"start",verticalAlign:"top"},row:{_selected:{bg:"colorPalette.subtle"}},cell:{textAlign:"start",alignItems:"center"},columnHeader:{fontWeight:"medium",textAlign:"start",color:"fg"},caption:{fontWeight:"medium",textStyle:"xs"},footer:{fontWeight:"medium"}},variants:{interactive:{true:{body:{"& tr":{_hover:{bg:"colorPalette.subtle"}}}}},stickyHeader:{true:{header:{"& :where(tr)":{top:"var(--table-sticky-offset, 0)",position:"sticky",zIndex:1}}}},striped:{true:{row:{"&:nth-of-type(odd) td":{bg:"bg.muted"}}}},showColumnBorder:{true:{columnHeader:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}},cell:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}}}},variant:{line:{columnHeader:{borderBottomWidth:"1px"},cell:{borderBottomWidth:"1px"},row:{bg:"bg"}},outline:{root:{boxShadow:"0 0 0 1px {colors.border}",overflow:"hidden"},columnHeader:{borderBottomWidth:"1px"},header:{bg:"bg.muted"},row:{"&:not(:last-of-type)":{borderBottomWidth:"1px"}},footer:{borderTopWidth:"1px"}}},size:{sm:{root:{textStyle:"sm"},columnHeader:{px:"2",py:"2"},cell:{px:"2",py:"2"}},md:{root:{textStyle:"sm"},columnHeader:{px:"3",py:"3"},cell:{px:"3",py:"3"}},lg:{root:{textStyle:"md"},columnHeader:{px:"4",py:"3"},cell:{px:"4",py:"3"}}}},defaultVariants:{variant:"line",size:"md"}}),nE=B({slots:sS.keys(),className:"chakra-tabs",base:{root:{"--tabs-trigger-radius":"radii.l2",position:"relative",_horizontal:{display:"block"},_vertical:{display:"flex"}},list:{display:"inline-flex",position:"relative",isolation:"isolate","--tabs-indicator-shadow":"shadows.xs","--tabs-indicator-bg":"colors.bg",minH:"var(--tabs-height)",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},trigger:{outline:"0",minW:"var(--tabs-height)",height:"var(--tabs-height)",display:"flex",alignItems:"center",fontWeight:"medium",position:"relative",cursor:"button",gap:"2",_focusVisible:{zIndex:1,outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{cursor:"not-allowed",opacity:.5}},content:{focusVisibleRing:"inside",_horizontal:{width:"100%",pt:"var(--tabs-content-padding)"},_vertical:{height:"100%",ps:"var(--tabs-content-padding)"}},indicator:{width:"var(--width)",height:"var(--height)",borderRadius:"var(--tabs-indicator-radius)",bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",zIndex:-1}},variants:{fitted:{true:{list:{display:"flex"},trigger:{flex:1,textAlign:"center",justifyContent:"center"}}},justify:{start:{list:{justifyContent:"flex-start"}},center:{list:{justifyContent:"center"}},end:{list:{justifyContent:"flex-end"}}},size:{sm:{root:{"--tabs-height":"sizes.9","--tabs-content-padding":"spacing.3"},trigger:{py:"1",px:"3",textStyle:"sm"}},md:{root:{"--tabs-height":"sizes.10","--tabs-content-padding":"spacing.4"},trigger:{py:"2",px:"4",textStyle:"sm"}},lg:{root:{"--tabs-height":"sizes.11","--tabs-content-padding":"spacing.4.5"},trigger:{py:"2",px:"4.5",textStyle:"md"}}},variant:{line:{list:{display:"flex",borderColor:"border",_horizontal:{borderBottomWidth:"1px"},_vertical:{borderEndWidth:"1px"}},trigger:{color:"fg.muted",_disabled:{_active:{bg:"initial"}},_selected:{color:"fg",_horizontal:{layerStyle:"indicator.bottom","--indicator-offset-y":"-1px","--indicator-color":"colors.colorPalette.solid"},_vertical:{layerStyle:"indicator.end","--indicator-offset-x":"-1px"}}}},subtle:{trigger:{borderRadius:"var(--tabs-trigger-radius)",color:"fg.muted",_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}},enclosed:{list:{bg:"bg.muted",padding:"1",borderRadius:"l3",minH:"calc(var(--tabs-height) - 4px)"},trigger:{justifyContent:"center",color:"fg.muted",borderRadius:"var(--tabs-trigger-radius)",_selected:{bg:"bg",color:"colorPalette.fg",shadow:"xs"}}},outline:{list:{"--line-thickness":"1px","--line-offset":"calc(var(--line-thickness) * -1)",borderColor:"border",display:"flex",_horizontal:{_before:{content:'""',position:"absolute",bottom:"0px",width:"100%",borderBottomWidth:"var(--line-thickness)",borderBottomColor:"border"}},_vertical:{_before:{content:'""',position:"absolute",insetInline:"var(--line-offset)",height:"calc(100% - calc(var(--line-thickness) * 2))",borderEndWidth:"var(--line-thickness)",borderEndColor:"border"}}},trigger:{color:"fg.muted",borderWidth:"1px",borderColor:"transparent",_selected:{bg:"currentBg",color:"colorPalette.fg"},_horizontal:{borderTopRadius:"var(--tabs-trigger-radius)",marginBottom:"var(--line-offset)",marginEnd:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderBottomColor:"transparent"}},_vertical:{borderStartRadius:"var(--tabs-trigger-radius)",marginEnd:"var(--line-offset)",marginBottom:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderEndColor:"transparent"}}}},plain:{trigger:{color:"fg.muted",_selected:{color:"colorPalette.fg"},borderRadius:"var(--tabs-trigger-radius)","&[data-selected][data-ssr]":{bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",borderRadius:"var(--tabs-indicator-radius)"}}}}},defaultVariants:{size:"md",variant:"line"}}),hi=Ia.variants?.variant,rE=B({slots:aS.keys(),className:"chakra-tag",base:{root:{display:"inline-flex",alignItems:"center",verticalAlign:"top",maxWidth:"100%",userSelect:"none",borderRadius:"l2",focusVisibleRing:"outside"},label:{lineClamp:"1"},closeTrigger:{display:"flex",alignItems:"center",justifyContent:"center",outline:"0",borderRadius:"l1",color:"currentColor",focusVisibleRing:"inside",focusRingWidth:"2px"},startElement:{flexShrink:0,boxSize:"var(--tag-element-size)",ms:"var(--tag-element-offset)","&:has([data-scope=avatar])":{boxSize:"var(--tag-avatar-size)",ms:"calc(var(--tag-element-offset) * 1.5)"},_icon:{boxSize:"100%"}},endElement:{flexShrink:0,boxSize:"var(--tag-element-size)",me:"var(--tag-element-offset)",_icon:{boxSize:"100%"},"&:has(button)":{ms:"calc(var(--tag-element-offset) * -1)"}}},variants:{size:{sm:{root:{px:"1.5",minH:"4.5",gap:"1","--tag-avatar-size":"spacing.3","--tag-element-size":"spacing.3","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},md:{root:{px:"1.5",minH:"5",gap:"1","--tag-avatar-size":"spacing.3.5","--tag-element-size":"spacing.3.5","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},lg:{root:{px:"2",minH:"6",gap:"1.5","--tag-avatar-size":"spacing.4.5","--tag-element-size":"spacing.4","--tag-element-offset":"-3px"},label:{textStyle:"sm"}},xl:{root:{px:"2.5",minH:"8",gap:"1.5","--tag-avatar-size":"spacing.6","--tag-element-size":"spacing.4.5","--tag-element-offset":"-4px"},label:{textStyle:"sm"}}},variant:{subtle:{root:hi?.subtle},solid:{root:hi?.solid},outline:{root:hi?.outline},surface:{root:hi?.surface}}},defaultVariants:{size:"md",variant:"surface"}}),oE=B({slots:lS.keys(),className:"chakra-timeline",base:{root:{display:"flex",flexDirection:"column",width:"full","--timeline-thickness":"1px","--timeline-gutter":"4px"},item:{display:"flex",position:"relative",alignItems:"flex-start",flexShrink:0,gap:"4",_last:{"& :where(.chakra-timeline__separator)":{display:"none"}}},separator:{position:"absolute",borderStartWidth:"var(--timeline-thickness)",ms:"calc(-1 * var(--timeline-thickness) / 2)",insetInlineStart:"calc(var(--timeline-indicator-size) / 2)",insetBlock:"0",borderColor:"border"},indicator:{outline:"2px solid {colors.bg}",position:"relative",flexShrink:"0",boxSize:"var(--timeline-indicator-size)",fontSize:"var(--timeline-font-size)",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"full",fontWeight:"medium"},connector:{alignSelf:"stretch",position:"relative"},content:{pb:"6",display:"flex",flexDirection:"column",width:"full",gap:"2"},title:{display:"flex",fontWeight:"medium",flexWrap:"wrap",gap:"1.5",alignItems:"center",mt:"var(--timeline-margin)"},description:{color:"fg.muted",textStyle:"xs"}},variants:{variant:{subtle:{indicator:{bg:"colorPalette.muted"}},solid:{indicator:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},outline:{indicator:{bg:"currentBg",borderWidth:"1px",borderColor:"colorPalette.muted"}},plain:{}},size:{sm:{root:{"--timeline-indicator-size":"sizes.4","--timeline-font-size":"fontSizes.2xs"},title:{textStyle:"xs"}},md:{root:{"--timeline-indicator-size":"sizes.5","--timeline-font-size":"fontSizes.xs"},title:{textStyle:"sm"}},lg:{root:{"--timeline-indicator-size":"sizes.6","--timeline-font-size":"fontSizes.xs"},title:{mt:"0.5",textStyle:"sm"}},xl:{root:{"--timeline-indicator-size":"sizes.8","--timeline-font-size":"fontSizes.sm"},title:{mt:"1.5",textStyle:"sm"}}}},defaultVariants:{size:"md",variant:"solid"}}),iE=B({slots:iS.keys(),className:"chakra-toast",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",gap:"3",py:"4",ps:"4",pe:"6",borderRadius:"l2",translate:"var(--x) var(--y)",scale:"var(--scale)",zIndex:"var(--z-index)",height:"var(--height)",opacity:"var(--opacity)",willChange:"translate, opacity, scale",transition:"translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",transitionTimingFunction:"cubic-bezier(0.21, 1.02, 0.73, 1)",_closed:{transition:"translate 400ms, scale 400ms, opacity 200ms",transitionTimingFunction:"cubic-bezier(0.06, 0.71, 0.55, 1)"},bg:"bg.panel",color:"fg",boxShadow:"xl","--toast-trigger-bg":"colors.bg.muted","&[data-type=warning]":{bg:"orange.solid",color:"orange.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=success]":{bg:"green.solid",color:"green.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=error]":{bg:"red.solid",color:"red.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"}},title:{fontWeight:"medium",textStyle:"sm",marginEnd:"2"},description:{display:"inline",textStyle:"sm",opacity:"0.8"},indicator:{flexShrink:"0",boxSize:"5"},actionTrigger:{textStyle:"sm",fontWeight:"medium",height:"8",px:"3",borderRadius:"l2",alignSelf:"center",borderWidth:"1px",borderColor:"var(--toast-border-color, inherit)",transition:"background 200ms",_hover:{bg:"var(--toast-trigger-bg)"}},closeTrigger:{position:"absolute",top:"1",insetEnd:"1",padding:"1",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"{currentColor/60}",borderRadius:"l2",textStyle:"md",transition:"background 200ms",_icon:{boxSize:"1em"}}}}),sE=B({slots:Kd.keys(),className:"chakra-tooltip",base:{content:{"--tooltip-bg":"colors.bg.inverted",bg:"var(--tooltip-bg)",color:"fg.inverted",px:"2.5",py:"1",borderRadius:"l2",fontWeight:"medium",textStyle:"xs",boxShadow:"md",maxW:"xs",zIndex:"tooltip",transformOrigin:"var(--transform-origin)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"fast"}},arrow:{"--arrow-size":"sizes.2","--arrow-background":"var(--tooltip-bg)"},arrowTip:{borderTopWidth:"1px",borderInlineStartWidth:"1px",borderColor:"var(--tooltip-bg)"}}}),qh=tr({display:"flex",alignItems:"center",gap:"var(--tree-item-gap)",rounded:"l2",userSelect:"none",position:"relative","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-icon-offset":"calc(var(--tree-icon-size) * var(--tree-depth) * 0.5)","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset) + var(--tree-icon-offset))",ps:"var(--tree-offset)",pe:"var(--tree-padding-inline)",py:"var(--tree-padding-block)",focusVisibleRing:"inside",focusRingColor:"border.emphasized",focusRingWidth:"2px","&:hover, &:focus-visible":{bg:"bg.muted"},_disabled:{layerStyle:"disabled"}}),Kh=tr({flex:"1"}),Yh=tr({_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}),Xh=tr({_selected:{layerStyle:"fill.solid"}}),aE=B({slots:vd.keys(),className:"chakra-tree-view",base:{root:{width:"full",display:"flex",flexDirection:"column",gap:"2"},tree:{display:"flex",flexDirection:"column","--tree-item-gap":"spacing.2",_icon:{boxSize:"var(--tree-icon-size)"}},label:{fontWeight:"medium",textStyle:"sm"},branch:{position:"relative"},branchContent:{position:"relative"},branchIndentGuide:{height:"100%",width:"1px",bg:"border",position:"absolute","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset))","--tree-icon-offset":"calc(var(--tree-icon-size) * 0.5 * var(--depth))",insetInlineStart:"calc(var(--tree-offset) + var(--tree-icon-offset))",zIndex:"1"},branchIndicator:{color:"fg.muted",transformOrigin:"center",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_open:{transform:"rotate(90deg)"}},branchTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center"},branchControl:qh,item:qh,itemText:Kh,branchText:Kh,nodeCheckbox:{display:"inline-flex"}},variants:{size:{md:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1.5","--tree-icon-size":"spacing.4"}},sm:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}},xs:{tree:{textStyle:"xs","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.2","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}}},variant:{subtle:{branchControl:Yh,item:Yh},solid:{branchControl:Xh,item:Xh}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}}),lE={accordion:hS,actionBar:fS,alert:gS,avatar:pS,blockquote:mS,breadcrumb:vS,card:bS,checkbox:yS,checkboxCard:xS,codeBlock:kS,collapsible:CS,dataList:ES,dialog:OS,drawer:PS,editable:RS,emptyState:IS,field:TS,fieldset:NS,fileUpload:AS,hoverCard:_S,list:VS,listbox:FS,menu:LS,nativeSelect:DS,numberInput:zS,pinInput:jS,popover:$S,progress:BS,progressCircle:WS,radioCard:US,radioGroup:GS,ratingGroup:qS,scrollArea:KS,segmentGroup:YS,select:di,combobox:SS,slider:XS,stat:QS,steps:ZS,switch:eE,table:tE,tabs:nE,tag:rE,toast:iE,tooltip:sE,status:JS,timeline:oE,colorPicker:wS,qrCode:HS,treeView:aE},cE=Hk({"2xs":{value:{fontSize:"2xs",lineHeight:"0.75rem"}},xs:{value:{fontSize:"xs",lineHeight:"1rem"}},sm:{value:{fontSize:"sm",lineHeight:"1.25rem"}},md:{value:{fontSize:"md",lineHeight:"1.5rem"}},lg:{value:{fontSize:"lg",lineHeight:"1.75rem"}},xl:{value:{fontSize:"xl",lineHeight:"1.875rem"}},"2xl":{value:{fontSize:"2xl",lineHeight:"2rem"}},"3xl":{value:{fontSize:"3xl",lineHeight:"2.375rem"}},"4xl":{value:{fontSize:"4xl",lineHeight:"2.75rem",letterSpacing:"-0.025em"}},"5xl":{value:{fontSize:"5xl",lineHeight:"3.75rem",letterSpacing:"-0.025em"}},"6xl":{value:{fontSize:"6xl",lineHeight:"4.5rem",letterSpacing:"-0.025em"}},"7xl":{value:{fontSize:"7xl",lineHeight:"5.75rem",letterSpacing:"-0.025em"}},none:{value:{}},label:{value:{fontSize:"sm",lineHeight:"1.25rem",fontWeight:"medium"}}}),uE=de.animations({spin:{value:"spin 1s linear infinite"},ping:{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"},pulse:{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"},bounce:{value:"bounce 1s infinite"}}),dE=de.aspectRatios({square:{value:"1 / 1"},landscape:{value:"4 / 3"},portrait:{value:"3 / 4"},wide:{value:"16 / 9"},ultrawide:{value:"18 / 5"},golden:{value:"1.618 / 1"}}),hE=de.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}}),fE=de.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}}),gE=de.colors({transparent:{value:"transparent"},current:{value:"currentColor"},black:{value:"#09090B"},white:{value:"#FFFFFF"},whiteAlpha:{50:{value:"rgba(255, 255, 255, 0.04)"},100:{value:"rgba(255, 255, 255, 0.06)"},200:{value:"rgba(255, 255, 255, 0.08)"},300:{value:"rgba(255, 255, 255, 0.16)"},400:{value:"rgba(255, 255, 255, 0.24)"},500:{value:"rgba(255, 255, 255, 0.36)"},600:{value:"rgba(255, 255, 255, 0.48)"},700:{value:"rgba(255, 255, 255, 0.64)"},800:{value:"rgba(255, 255, 255, 0.80)"},900:{value:"rgba(255, 255, 255, 0.92)"},950:{value:"rgba(255, 255, 255, 0.95)"}},blackAlpha:{50:{value:"rgba(0, 0, 0, 0.04)"},100:{value:"rgba(0, 0, 0, 0.06)"},200:{value:"rgba(0, 0, 0, 0.08)"},300:{value:"rgba(0, 0, 0, 0.16)"},400:{value:"rgba(0, 0, 0, 0.24)"},500:{value:"rgba(0, 0, 0, 0.36)"},600:{value:"rgba(0, 0, 0, 0.48)"},700:{value:"rgba(0, 0, 0, 0.64)"},800:{value:"rgba(0, 0, 0, 0.80)"},900:{value:"rgba(0, 0, 0, 0.92)"},950:{value:"rgba(0, 0, 0, 0.95)"}},gray:{50:{value:"#fafafa"},100:{value:"#f4f4f5"},200:{value:"#e4e4e7"},300:{value:"#d4d4d8"},400:{value:"#a1a1aa"},500:{value:"#71717a"},600:{value:"#52525b"},700:{value:"#3f3f46"},800:{value:"#27272a"},900:{value:"#18181b"},950:{value:"#111111"}},red:{50:{value:"#fef2f2"},100:{value:"#fee2e2"},200:{value:"#fecaca"},300:{value:"#fca5a5"},400:{value:"#f87171"},500:{value:"#ef4444"},600:{value:"#dc2626"},700:{value:"#991919"},800:{value:"#511111"},900:{value:"#300c0c"},950:{value:"#1f0808"}},orange:{50:{value:"#fff7ed"},100:{value:"#ffedd5"},200:{value:"#fed7aa"},300:{value:"#fdba74"},400:{value:"#fb923c"},500:{value:"#f97316"},600:{value:"#ea580c"},700:{value:"#92310a"},800:{value:"#6c2710"},900:{value:"#3b1106"},950:{value:"#220a04"}},yellow:{50:{value:"#fefce8"},100:{value:"#fef9c3"},200:{value:"#fef08a"},300:{value:"#fde047"},400:{value:"#facc15"},500:{value:"#eab308"},600:{value:"#ca8a04"},700:{value:"#845209"},800:{value:"#713f12"},900:{value:"#422006"},950:{value:"#281304"}},green:{50:{value:"#f0fdf4"},100:{value:"#dcfce7"},200:{value:"#bbf7d0"},300:{value:"#86efac"},400:{value:"#4ade80"},500:{value:"#22c55e"},600:{value:"#16a34a"},700:{value:"#116932"},800:{value:"#124a28"},900:{value:"#042713"},950:{value:"#03190c"}},teal:{50:{value:"#f0fdfa"},100:{value:"#ccfbf1"},200:{value:"#99f6e4"},300:{value:"#5eead4"},400:{value:"#2dd4bf"},500:{value:"#14b8a6"},600:{value:"#0d9488"},700:{value:"#0c5d56"},800:{value:"#114240"},900:{value:"#032726"},950:{value:"#021716"}},blue:{50:{value:"#eff6ff"},100:{value:"#dbeafe"},200:{value:"#bfdbfe"},300:{value:"#a3cfff"},400:{value:"#60a5fa"},500:{value:"#3b82f6"},600:{value:"#2563eb"},700:{value:"#173da6"},800:{value:"#1a3478"},900:{value:"#14204a"},950:{value:"#0c142e"}},cyan:{50:{value:"#ecfeff"},100:{value:"#cffafe"},200:{value:"#a5f3fc"},300:{value:"#67e8f9"},400:{value:"#22d3ee"},500:{value:"#06b6d4"},600:{value:"#0891b2"},700:{value:"#0c5c72"},800:{value:"#134152"},900:{value:"#072a38"},950:{value:"#051b24"}},purple:{50:{value:"#faf5ff"},100:{value:"#f3e8ff"},200:{value:"#e9d5ff"},300:{value:"#d8b4fe"},400:{value:"#c084fc"},500:{value:"#a855f7"},600:{value:"#9333ea"},700:{value:"#641ba3"},800:{value:"#4a1772"},900:{value:"#2f0553"},950:{value:"#1a032e"}},pink:{50:{value:"#fdf2f8"},100:{value:"#fce7f3"},200:{value:"#fbcfe8"},300:{value:"#f9a8d4"},400:{value:"#f472b6"},500:{value:"#ec4899"},600:{value:"#db2777"},700:{value:"#a41752"},800:{value:"#6d0e34"},900:{value:"#45061f"},950:{value:"#2c0514"}}}),pE=de.cursor({button:{value:"pointer"},checkbox:{value:"default"},disabled:{value:"not-allowed"},menuitem:{value:"default"},option:{value:"default"},radio:{value:"default"},slider:{value:"default"},switch:{value:"pointer"}}),mE=de.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),vE=de.easings({"ease-in":{value:"cubic-bezier(0.42, 0, 1, 1)"},"ease-out":{value:"cubic-bezier(0, 0, 0.58, 1)"},"ease-in-out":{value:"cubic-bezier(0.42, 0, 0.58, 1)"},"ease-in-smooth":{value:"cubic-bezier(0.32, 0.72, 0, 1)"}}),bE=de.fontSizes({"2xs":{value:"0.625rem"},xs:{value:"0.75rem"},sm:{value:"0.875rem"},md:{value:"1rem"},lg:{value:"1.125rem"},xl:{value:"1.25rem"},"2xl":{value:"1.5rem"},"3xl":{value:"1.875rem"},"4xl":{value:"2.25rem"},"5xl":{value:"3rem"},"6xl":{value:"3.75rem"},"7xl":{value:"4.5rem"},"8xl":{value:"6rem"},"9xl":{value:"8rem"}}),yE=de.fontWeights({thin:{value:"100"},extralight:{value:"200"},light:{value:"300"},normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},extrabold:{value:"800"},black:{value:"900"}}),Qh='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',xE=de.fonts({heading:{value:`Inter, ${Qh}`},body:{value:`Inter, ${Qh}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}}),kE=Bk({spin:{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},pulse:{"50%":{opacity:"0.5"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}},"bg-position":{from:{backgroundPosition:"var(--animate-from, 1rem) 0"},to:{backgroundPosition:"var(--animate-to, 0) 0"}},position:{from:{insetInlineStart:"var(--animate-from-x)",insetBlockStart:"var(--animate-from-y)"},to:{insetInlineStart:"var(--animate-to-x)",insetBlockStart:"var(--animate-to-y)"}},"circular-progress":{"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100%"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260%"}},"expand-height":{from:{height:"0"},to:{height:"var(--height)"}},"collapse-height":{from:{height:"var(--height)"},to:{height:"0"}},"expand-width":{from:{width:"0"},to:{width:"var(--width)"}},"collapse-width":{from:{height:"var(--width)"},to:{height:"0"}},"fade-in":{from:{opacity:0},to:{opacity:1}},"fade-out":{from:{opacity:1},to:{opacity:0}},"slide-from-left-full":{from:{translate:"-100% 0"},to:{translate:"0 0"}},"slide-from-right-full":{from:{translate:"100% 0"},to:{translate:"0 0"}},"slide-from-top-full":{from:{translate:"0 -100%"},to:{translate:"0 0"}},"slide-from-bottom-full":{from:{translate:"0 100%"},to:{translate:"0 0"}},"slide-to-left-full":{from:{translate:"0 0"},to:{translate:"-100% 0"}},"slide-to-right-full":{from:{translate:"0 0"},to:{translate:"100% 0"}},"slide-to-top-full":{from:{translate:"0 0"},to:{translate:"0 -100%"}},"slide-to-bottom-full":{from:{translate:"0 0"},to:{translate:"0 100%"}},"slide-from-top":{"0%":{translate:"0 -0.5rem"},to:{translate:"0"}},"slide-from-bottom":{"0%":{translate:"0 0.5rem"},to:{translate:"0"}},"slide-from-left":{"0%":{translate:"-0.5rem 0"},to:{translate:"0"}},"slide-from-right":{"0%":{translate:"0.5rem 0"},to:{translate:"0"}},"slide-to-top":{"0%":{translate:"0"},to:{translate:"0 -0.5rem"}},"slide-to-bottom":{"0%":{translate:"0"},to:{translate:"0 0.5rem"}},"slide-to-left":{"0%":{translate:"0"},to:{translate:"-0.5rem 0"}},"slide-to-right":{"0%":{translate:"0"},to:{translate:"0.5rem 0"}},"scale-in":{from:{scale:"0.95"},to:{scale:"1"}},"scale-out":{from:{scale:"1"},to:{scale:"0.95"}}}),CE=de.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}}),wE=de.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}}),SE=de.radii({none:{value:"0"},"2xs":{value:"0.0625rem"},xs:{value:"0.125rem"},sm:{value:"0.25rem"},md:{value:"0.375rem"},lg:{value:"0.5rem"},xl:{value:"0.75rem"},"2xl":{value:"1rem"},"3xl":{value:"1.5rem"},"4xl":{value:"2rem"},full:{value:"9999px"}}),Jh=de.spacing({.5:{value:"0.125rem"},1:{value:"0.25rem"},1.5:{value:"0.375rem"},2:{value:"0.5rem"},2.5:{value:"0.625rem"},3:{value:"0.75rem"},3.5:{value:"0.875rem"},4:{value:"1rem"},4.5:{value:"1.125rem"},5:{value:"1.25rem"},6:{value:"1.5rem"},7:{value:"1.75rem"},8:{value:"2rem"},9:{value:"2.25rem"},10:{value:"2.5rem"},11:{value:"2.75rem"},12:{value:"3rem"},14:{value:"3.5rem"},16:{value:"4rem"},20:{value:"5rem"},24:{value:"6rem"},28:{value:"7rem"},32:{value:"8rem"},36:{value:"9rem"},40:{value:"10rem"},44:{value:"11rem"},48:{value:"12rem"},52:{value:"13rem"},56:{value:"14rem"},60:{value:"15rem"},64:{value:"16rem"},72:{value:"18rem"},80:{value:"20rem"},96:{value:"24rem"}}),EE=de.sizes({"3xs":{value:"14rem"},"2xs":{value:"16rem"},xs:{value:"20rem"},sm:{value:"24rem"},md:{value:"28rem"},lg:{value:"32rem"},xl:{value:"36rem"},"2xl":{value:"42rem"},"3xl":{value:"48rem"},"4xl":{value:"56rem"},"5xl":{value:"64rem"},"6xl":{value:"72rem"},"7xl":{value:"80rem"},"8xl":{value:"90rem"}}),OE=de.sizes({max:{value:"max-content"},min:{value:"min-content"},fit:{value:"fit-content"},prose:{value:"60ch"},full:{value:"100%"},dvh:{value:"100dvh"},svh:{value:"100svh"},lvh:{value:"100lvh"},dvw:{value:"100dvw"},svw:{value:"100svw"},lvw:{value:"100lvw"},vw:{value:"100vw"},vh:{value:"100vh"}}),PE=de.sizes({"1/2":{value:"50%"},"1/3":{value:"33.333333%"},"2/3":{value:"66.666667%"},"1/4":{value:"25%"},"3/4":{value:"75%"},"1/5":{value:"20%"},"2/5":{value:"40%"},"3/5":{value:"60%"},"4/5":{value:"80%"},"1/6":{value:"16.666667%"},"2/6":{value:"33.333333%"},"3/6":{value:"50%"},"4/6":{value:"66.666667%"},"5/6":{value:"83.333333%"},"1/12":{value:"8.333333%"},"2/12":{value:"16.666667%"},"3/12":{value:"25%"},"4/12":{value:"33.333333%"},"5/12":{value:"41.666667%"},"6/12":{value:"50%"},"7/12":{value:"58.333333%"},"8/12":{value:"66.666667%"},"9/12":{value:"75%"},"10/12":{value:"83.333333%"},"11/12":{value:"91.666667%"}}),RE=de.sizes({...EE,...Jh,...PE,...OE}),IE=de.zIndex({hide:{value:-1},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipNav:{value:1600},toast:{value:1700},tooltip:{value:1800},max:{value:2147483647}}),TE=ka({preflight:!0,cssVarsPrefix:"chakra",cssVarsRoot:":where(html, .chakra-theme)",globalCss:aw,theme:{breakpoints:sw,keyframes:kE,tokens:{aspectRatios:dE,animations:uE,blurs:hE,borders:fE,colors:gE,durations:mE,easings:vE,fonts:xE,fontSizes:bE,fontWeights:yE,letterSpacings:CE,lineHeights:wE,radii:SE,spacing:Jh,sizes:RE,zIndex:IE,cursor:pE},semanticTokens:{colors:Pw,shadows:Iw,radii:Rw},recipes:Ow,slotRecipes:lE,textStyles:cE,layerStyles:lw,animationStyles:cw}}),Zh=Zd(eC,TE);zh(Zh);function NE(e){const{key:t,recipe:n}=e,r=ho();return P.useMemo(()=>{const o=n||(t!=null?r.getSlotRecipe(t):{});return r.sva(structuredClone(o))},[t,n,r])}const AE=e=>e.charAt(0).toUpperCase()+e.slice(1),fi=e=>{const{key:t,recipe:n}=e,r=AE(t||n.className||"Component"),[o,i]=Fn({name:`${r}StylesContext`,errorMessage:`use${r}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${r}.Root />" `}),[s,a]=Fn({name:`${r}ClassNameContext`,errorMessage:`use${r}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${r}.Root />" `,strict:!1}),[l,c]=Fn({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`,defaultValue:{}});function u(f){const{unstyled:p,...v}=f,b=NE({key:t,recipe:v.recipe||n}),[y,x]=P.useMemo(()=>b.splitVariantProps(v),[v,b]);return{styles:P.useMemo(()=>p?$m:b(y),[p,y,b]),classNames:b.classNameMap,props:x}}function h(f,p={}){const{defaultProps:v}=p,b=y=>{const x=c(),w=P.useMemo(()=>br(v,x,y),[x,y]),{styles:k,classNames:O,props:R}=u(w);return g.jsx(o,{value:k,children:g.jsx(s,{value:O,children:g.jsx(f,{...R})})})};return b.displayName=f.displayName||f.name,b}return{StylesProvider:o,ClassNamesProvider:s,PropsProvider:l,usePropsContext:c,useRecipeResult:u,withProvider:(f,p,v)=>{const{defaultProps:b,...y}=v??{},x=ve(f,{},y),w=P.forwardRef((k,O)=>{const R=c(),I=P.useMemo(()=>br(b??{},R,k),[R,k]),{styles:N,props:A,classNames:T}=u(I),S=T[p],_=g.jsx(o,{value:N,children:g.jsx(s,{value:T,children:g.jsx(x,{ref:O,...A,css:[N[p],I.css],className:Ge(I.className,S)})})});return v?.wrapElement?.(_,I)??_});return w.displayName=f.displayName||f.name,w},withContext:(f,p,v)=>{const b=ve(f,{},v),y=P.forwardRef((x,w)=>{const{unstyled:k,...O}=x,R=i(),N=a()?.[p];return g.jsx(b,{...O,css:[!k&&p?R[p]:void 0,x.css],ref:w,className:Ge(x.className,N)})});return y.displayName=f.displayName||f.name,y},withRootProvider:h,useStyles:i,useClassNames:a}},ef=ve("div",{base:{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},variants:{axis:{horizontal:{insetStart:"50%",translate:"-50%",_rtl:{translate:"50%"}},vertical:{top:"50%",translate:"0 -50%"},both:{insetStart:"50%",top:"50%",translate:"-50% -50%",_rtl:{translate:"50% -50%"}}}},defaultVariants:{axis:"both"}});ef.displayName="AbsoluteCenter";const _E=e=>g.jsx(ve.svg,{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11.0026 16L6.75999 11.7574L8.17421 10.3431L11.0026 13.1716L16.6595 7.51472L18.0737 8.92893L11.0026 16Z"})}),tf=e=>g.jsx(ve.svg,{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 24 24",...e,children:g.jsx("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z"})}),nf=e=>g.jsx(ve.svg,{viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:"0",...e,children:g.jsx("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z"})}),VE=e=>g.jsx(ve.svg,{viewBox:"0 0 24 24",fill:"currentColor",...e,children:g.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7071 6.70711C19.0976 6.31658 19.0976 5.68342 18.7071 5.29289C18.3166 4.90237 17.6834 4.90237 17.2929 5.29289L12 10.5858L6.70711 5.29289C6.31658 4.90237 5.68342 4.90237 5.29289 5.29289C4.90237 5.68342 4.90237 6.31658 5.29289 6.70711L10.5858 12L5.29289 17.2929C4.90237 17.6834 4.90237 18.3166 5.29289 18.7071C5.68342 19.0976 6.31658 19.0976 6.70711 18.7071L12 13.4142L17.2929 18.7071C17.6834 19.0976 18.3166 19.0976 18.7071 18.7071C19.0976 18.3166 19.0976 17.6834 18.7071 17.2929L13.4142 12L18.7071 6.70711Z"})}),[FE,LE]=Fn({name:"AlertStatusContext",hookName:"useAlertStatusContext",providerName:"<Alert />"}),{withProvider:DE,withContext:Na,useStyles:zE}=fi({key:"alert"}),ME=DE("div","root",{forwardAsChild:!0,wrapElement(e,t){return g.jsx(FE,{value:{status:t.status||"info"},children:e})}}),rf=Na("div","title"),jE=Na("div","description"),$E=Na("div","content"),BE={info:nf,warning:tf,success:_E,error:tf,neutral:nf},WE=P.forwardRef(function(t,n){const r=LE(),o=zE(),i=typeof r.status=="string"?BE[r.status]:P.Fragment,{children:s=g.jsx(i,{}),...a}=t;return g.jsx(ve.span,{ref:n,...a,css:[o.indicator,t.css],children:s})}),HE=e=>e?"":void 0,{withContext:UE}=Lt({key:"badge"}),of=UE("span"),{withContext:GE}=Lt({key:"spinner"}),qE=GE("span"),KE=C.forwardRef(function(t,n){const{spinner:r=g.jsx(qE,{size:"inherit",borderWidth:"0.125em",color:"inherit"}),spinnerPlacement:o="start",children:i,text:s,visible:a=!0,...l}=t;return a?s?g.jsxs(Vo,{ref:n,display:"contents",...l,children:[o==="start"&&r,s,o==="end"&&r]}):r?g.jsxs(Vo,{ref:n,display:"contents",...l,children:[g.jsx(ef,{display:"inline-flex",children:r}),g.jsx(Vo,{visibility:"hidden",display:"contents",children:i})]}):g.jsx(Vo,{ref:n,display:"contents",...l,children:i}):i}),{useRecipeResult:YE,usePropsContext:XE}=Lt({key:"button"}),Re=P.forwardRef(function(t,n){const r=XE(),o=P.useMemo(()=>br(r,t),[r,t]),i=YE(o),{loading:s,loadingText:a,children:l,spinner:c,spinnerPlacement:u,...h}=i.props;return g.jsx(ve.button,{type:"button",ref:n,...h,"data-loading":HE(s),disabled:s||h.disabled,className:Ge(i.className,o.className),css:[i.styles,o.css],children:!o.asChild&&s?g.jsx(KE,{spinner:c,text:a,spinnerPlacement:u,children:l}):l})}),Et=P.forwardRef(function(t,n){return g.jsx(Re,{px:"0",py:"0",_icon:{fontSize:"1.2em"},ref:n,...t})}),fn=C.forwardRef(function(t,n){return g.jsx(Et,{variant:"ghost","aria-label":"Close",ref:n,...t,children:t.children??g.jsx(VE,{})})}),sf=ve("div",{base:{display:"flex",alignItems:"center",justifyContent:"center"},variants:{inline:{true:{display:"inline-flex"}}}});sf.displayName="Center";const{withContext:QE}=Lt({key:"code"}),JE=QE("code");function ZE(e){const{gap:t,direction:n}=e,r={column:{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},"column-reverse":{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},row:{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0},"row-reverse":{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0}};return{"&":Jd(n,o=>r[o])}}function e2(e){return P.Children.toArray(e).filter(t=>P.isValidElement(t))}const af=P.forwardRef(function(t,n){const{direction:r="column",align:o,justify:i,gap:s="0.5rem",wrap:a,children:l,separator:c,className:u,...h}=t,d=P.useMemo(()=>ZE({gap:s,direction:r}),[s,r]),m=P.useMemo(()=>P.isValidElement(c)?e2(l).map((f,p,v)=>{const b=typeof f.key<"u"?f.key:p,y=c,x=P.cloneElement(y,{css:[d,y.props.css]});return g.jsxs(P.Fragment,{children:[f,p===v.length-1?null:x]},b)}):l,[l,c,d]);return g.jsx(ve.div,{ref:n,display:"flex",alignItems:o,justifyContent:i,flexDirection:r,flexWrap:a,gap:c?void 0:s,className:Ge("chakra-stack",u),...h,children:m})}),{withRootProvider:lf,withContext:pt}=fi({key:"dialog"});lf(O1,{defaultProps:{unmountOnExit:!0,lazyMount:!0}});const gn=lf(E1,{defaultProps:{unmountOnExit:!0,lazyMount:!0}});pt(ad,"trigger",{forwardAsChild:!0});const pn=pt(Zu,"positioner",{forwardAsChild:!0}),mn=pt(Qu,"content",{forwardAsChild:!0});pt(Ju,"description",{forwardAsChild:!0});const vn=pt(sd,"title",{forwardAsChild:!0}),bn=pt(Xu,"closeTrigger",{forwardAsChild:!0}),yn=P.forwardRef(function(t,n){const r=Ht();return g.jsx(ve.button,{...t,ref:n,onClick:()=>r.setOpen(!1)})}),xn=pt(Yu,"backdrop",{forwardAsChild:!0}),kn=pt("div","body"),Cn=pt("div","footer"),wn=pt("div","header");function t2(e){const{each:t,fallback:n,children:r}=e;return t?.length===0?n||null:t?.map(r)}const gi=P.forwardRef(function(t,n){const{direction:r,align:o,justify:i,wrap:s,basis:a,grow:l,shrink:c,inline:u,...h}=t;return g.jsx(ve.div,{ref:n,...h,css:{display:u?"inline-flex":"flex",flexDirection:r,alignItems:o,justifyContent:i,flexWrap:s,flexBasis:a,flexGrow:l,flexShrink:c,...t.css}})}),{withContext:n2}=Lt({key:"input"}),r2=n2(cd),{withContext:o2}=Lt({key:"link"}),Br=o2("a"),{withProvider:i2,withContext:cf}=fi({key:"list"}),uf=i2("ul","root",{defaultProps:{role:"list"}}),df=cf("li","item");cf("span","indicator");const s2=P.forwardRef(function(t,n){return g.jsx(af,{align:"center",...t,direction:"row",ref:n})}),pi=P.forwardRef(function(t,n){return g.jsx(af,{align:"center",...t,direction:"column",ref:n})}),{StylesProvider:a2,ClassNamesProvider:l2,useRecipeResult:c2,withContext:Ot}=fi({key:"table"}),hf=P.forwardRef(function({native:t,...n},r){const{styles:o,props:i,classNames:s}=c2(n),a=P.useMemo(()=>t?{...o.root,"& thead":o.header,"& tbody":o.body,"& tfoot":o.footer,"& thead th":o.columnHeader,"& tr":o.row,"& td":o.cell,"& caption":o.caption}:o.root,[o,t]);return g.jsx(l2,{value:s,children:g.jsx(a2,{value:o,children:g.jsx(ve.table,{ref:r,...i,css:[a,n.css],className:Ge(s?.root,n.className)})})})}),mi=Ot("tr","row");ve("div",{base:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflow:"auto",maxWidth:"100%"}});const ff=Ot("thead","header");Ot("tfoot","footer");const ke=Ot("th","columnHeader"),Ce=Ot("td","cell");Ot("caption","caption",{defaultProps:{captionSide:"bottom"}});const gf=Ot("tbody","body");Ot("colgroup"),Ot("col");const{withContext:u2}=Lt({key:"textarea"}),pf=u2(dd);var ir=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},d2={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},h2=class{#e=d2;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},Sn=new h2;function f2(e){setTimeout(e,0)}var En=typeof window>"u"||"Deno"in globalThis;function Ne(){}function g2(e,t){return typeof e=="function"?e(t):e}function Aa(e){return typeof e=="number"&&e>=0&&e!==1/0}function mf(e,t){return Math.max(e+(t||0)-Date.now(),0)}function qt(e,t){return typeof e=="function"?e(t):e}function Qe(e,t){return typeof e=="function"?e(t):e}function vf(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==_a(s,t.options))return!1}else if(!Wr(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function bf(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(On(t.options.mutationKey)!==On(i))return!1}else if(!Wr(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function _a(e,t){return(t?.queryKeyHashFn||On)(e)}function On(e){return JSON.stringify(e,(t,n)=>Va(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Wr(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Wr(e[n],t[n])):!1}var p2=Object.prototype.hasOwnProperty;function yf(e,t){if(e===t)return e;const n=xf(e)&&xf(t);if(!n&&!(Va(e)&&Va(t)))return t;const o=(n?e:Object.keys(e)).length,i=n?t:Object.keys(t),s=i.length,a=n?new Array(s):{};let l=0;for(let c=0;c<s;c++){const u=n?c:i[c],h=e[u],d=t[u];if(h===d){a[u]=h,(n?c<o:p2.call(e,u))&&l++;continue}if(h===null||d===null||typeof h!="object"||typeof d!="object"){a[u]=d;continue}const m=yf(h,d);a[u]=m,m===h&&l++}return o===s&&l===o?e:a}function vi(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function xf(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Va(e){if(!kf(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!kf(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function kf(e){return Object.prototype.toString.call(e)==="[object Object]"}function m2(e){return new Promise(t=>{Sn.setTimeout(t,e)})}function Fa(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?yf(e,t):t}function v2(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function b2(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var La=Symbol();function Cf(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===La?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function wf(e,t){return typeof e=="function"?e(...t):!!e}var y2=class extends ir{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!En&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Da=new y2;function za(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}var x2=f2;function k2(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=x2;const i=a=>{t?e.push(a):o(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var ge=k2(),C2=class extends ir{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!En&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},bi=new C2;function w2(e){return Math.min(1e3*2**e,3e4)}function Sf(e){return(e??"online")==="online"?bi.isOnline():!0}var Ma=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Ef(e){let t=!1,n=0,r;const o=za(),i=()=>o.status!=="pending",s=p=>{if(!i()){const v=new Ma(p);d(v),e.onCancel?.(v)}},a=()=>{t=!0},l=()=>{t=!1},c=()=>Da.isFocused()&&(e.networkMode==="always"||bi.isOnline())&&e.canRun(),u=()=>Sf(e.networkMode)&&e.canRun(),h=p=>{i()||(r?.(),o.resolve(p))},d=p=>{i()||(r?.(),o.reject(p))},m=()=>new Promise(p=>{r=v=>{(i()||c())&&p(v)},e.onPause?.()}).then(()=>{r=void 0,i()||e.onContinue?.()}),f=()=>{if(i())return;let p;const v=n===0?e.initialPromise:void 0;try{p=v??e.fn()}catch(b){p=Promise.reject(b)}Promise.resolve(p).then(h).catch(b=>{if(i())return;const y=e.retry??(En?0:3),x=e.retryDelay??w2,w=typeof x=="function"?x(n,b):x,k=y===!0||typeof y=="number"&&n<y||typeof y=="function"&&y(n,b);if(t||!k){d(b);return}n++,e.onFail?.(n,b),m2(w).then(()=>c()?void 0:m()).then(()=>{t?d(b):f()})})};return{promise:o,status:()=>o.status,cancel:s,continue:()=>(r?.(),o),cancelRetry:a,continueRetry:l,canStart:u,start:()=>(u()?f():m().then(f),o)}}var Of=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Aa(this.gcTime)&&(this.#e=Sn.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(En?1/0:300*1e3))}clearGcTimeout(){this.#e&&(Sn.clearTimeout(this.#e),this.#e=void 0)}},S2=class extends Of{#e;#t;#n;#o;#r;#s;#a;constructor(e){super(),this.#a=!1,this.#s=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#o=e.client,this.#n=this.#o.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=Rf(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#s,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=Rf(this.options);t.data!==void 0&&(this.setData(t.data,{updatedAt:t.dataUpdatedAt,manual:!0}),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=Fa(this.state.data,e,this.options);return this.#i({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#i({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(Ne).catch(Ne):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>Qe(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===La||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>qt(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!mf(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#a?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const a=this.observers.find(l=>l.options.queryFn);a&&this.setOptions(a.options)}const n=new AbortController,r=a=>{Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(this.#a=!0,n.signal)})},o=()=>{const a=Cf(this.options,t),c=(()=>{const u={client:this.#o,queryKey:this.queryKey,meta:this.meta};return r(u),u})();return this.#a=!1,this.options.persister?this.options.persister(a,c,this):a(c)},s=(()=>{const a={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#o,state:this.state,fetchFn:o};return r(a),a})();this.options.behavior?.onFetch(s,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==s.fetchOptions?.meta)&&this.#i({type:"fetch",meta:s.fetchOptions?.meta}),this.#r=Ef({initialPromise:t?.initialPromise,fn:s.fetchFn,onCancel:a=>{a instanceof Ma&&a.revert&&this.setState({...this.#t,fetchStatus:"idle"}),n.abort()},onFail:(a,l)=>{this.#i({type:"failed",failureCount:a,error:l})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0});try{const a=await this.#r.start();if(a===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(a),this.#n.config.onSuccess?.(a,this),this.#n.config.onSettled?.(a,this.state.error,this),a}catch(a){if(a instanceof Ma){if(a.silent)return this.#r.promise;if(a.revert){if(this.state.data===void 0)throw a;return this.state.data}}throw this.#i({type:"error",error:a}),this.#n.config.onError?.(a,this),this.#n.config.onSettled?.(this.state.data,a,this),a}finally{this.scheduleGc()}}#i(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...Pf(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?r:void 0,r;case"error":const o=e.error;return{...n,error:o,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),ge.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function Pf(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Sf(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Rf(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var E2=class extends ir{constructor(e,t){super(),this.options=t,this.#e=e,this.#i=null,this.#a=za(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#o=void 0;#r;#s;#a;#i;#p;#h;#f;#c;#u;#l;#g=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),If(this.#t,this.options)?this.#d():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ja(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ja(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#k(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Qe(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#C(),this.#t.setOptions(this.options),t._defaulted&&!vi(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const r=this.hasListeners();r&&Tf(this.#t,n,this.options,t)&&this.#d(),this.updateResult(),r&&(this.#t!==n||Qe(this.options.enabled,this.#t)!==Qe(t.enabled,this.#t)||qt(this.options.staleTime,this.#t)!==qt(t.staleTime,this.#t))&&this.#m();const o=this.#v();r&&(this.#t!==n||Qe(this.options.enabled,this.#t)!==Qe(t.enabled,this.#t)||o!==this.#l)&&this.#b(o)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return P2(this,n)&&(this.#o=n,this.#s=this.options,this.#r=this.#t.state),n}getCurrentResult(){return this.#o}trackResult(e,t){return new Proxy(e,{get:(n,r)=>(this.trackProp(r),t?.(r),r==="promise"&&!this.options.experimental_prefetchInRender&&this.#a.status==="pending"&&this.#a.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(n,r))})}trackProp(e){this.#g.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#o))}#d(e){this.#C();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Ne)),t}#m(){this.#x();const e=qt(this.options.staleTime,this.#t);if(En||this.#o.isStale||!Aa(e))return;const n=mf(this.#o.dataUpdatedAt,e)+1;this.#c=Sn.setTimeout(()=>{this.#o.isStale||this.updateResult()},n)}#v(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#b(e){this.#k(),this.#l=e,!(En||Qe(this.options.enabled,this.#t)===!1||!Aa(this.#l)||this.#l===0)&&(this.#u=Sn.setInterval(()=>{(this.options.refetchIntervalInBackground||Da.isFocused())&&this.#d()},this.#l))}#y(){this.#m(),this.#b(this.#v())}#x(){this.#c&&(Sn.clearTimeout(this.#c),this.#c=void 0)}#k(){this.#u&&(Sn.clearInterval(this.#u),this.#u=void 0)}createResult(e,t){const n=this.#t,r=this.options,o=this.#o,i=this.#r,s=this.#s,l=e!==n?e.state:this.#n,{state:c}=e;let u={...c},h=!1,d;if(t._optimisticResults){const I=this.hasListeners(),N=!I&&If(e,t),A=I&&Tf(e,n,t,r);(N||A)&&(u={...u,...Pf(c.data,e.options)}),t._optimisticResults==="isRestoring"&&(u.fetchStatus="idle")}let{error:m,errorUpdatedAt:f,status:p}=u;d=u.data;let v=!1;if(t.placeholderData!==void 0&&d===void 0&&p==="pending"){let I;o?.isPlaceholderData&&t.placeholderData===s?.placeholderData?(I=o.data,v=!0):I=typeof t.placeholderData=="function"?t.placeholderData(this.#f?.state.data,this.#f):t.placeholderData,I!==void 0&&(p="success",d=Fa(o?.data,I,t),h=!0)}if(t.select&&d!==void 0&&!v)if(o&&d===i?.data&&t.select===this.#p)d=this.#h;else try{this.#p=t.select,d=t.select(d),d=Fa(o?.data,d,t),this.#h=d,this.#i=null}catch(I){this.#i=I}this.#i&&(m=this.#i,d=this.#h,f=Date.now(),p="error");const b=u.fetchStatus==="fetching",y=p==="pending",x=p==="error",w=y&&b,k=d!==void 0,R={status:p,fetchStatus:u.fetchStatus,isPending:y,isSuccess:p==="success",isError:x,isInitialLoading:w,isLoading:w,data:d,dataUpdatedAt:u.dataUpdatedAt,error:m,errorUpdatedAt:f,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>l.dataUpdateCount||u.errorUpdateCount>l.errorUpdateCount,isFetching:b,isRefetching:b&&!y,isLoadingError:x&&!k,isPaused:u.fetchStatus==="paused",isPlaceholderData:h,isRefetchError:x&&k,isStale:$a(e,t),refetch:this.refetch,promise:this.#a,isEnabled:Qe(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const I=T=>{R.status==="error"?T.reject(R.error):R.data!==void 0&&T.resolve(R.data)},N=()=>{const T=this.#a=R.promise=za();I(T)},A=this.#a;switch(A.status){case"pending":e.queryHash===n.queryHash&&I(A);break;case"fulfilled":(R.status==="error"||R.data!==A.value)&&N();break;case"rejected":(R.status!=="error"||R.error!==A.reason)&&N();break}}return R}updateResult(){const e=this.#o,t=this.createResult(this.#t,this.options);if(this.#r=this.#t.state,this.#s=this.options,this.#r.data!==void 0&&(this.#f=this.#t),vi(t,e))return;this.#o=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:r}=this.options,o=typeof r=="function"?r():r;if(o==="all"||!o&&!this.#g.size)return!0;const i=new Set(o??this.#g);return this.options.throwOnError&&i.add("error"),Object.keys(this.#o).some(s=>{const a=s;return this.#o[a]!==e[a]&&i.has(a)})};this.#w({listeners:n()})}#C(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#w(e){ge.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#o)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function O2(e,t){return Qe(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function If(e,t){return O2(e,t)||e.state.data!==void 0&&ja(e,t,t.refetchOnMount)}function ja(e,t,n){if(Qe(t.enabled,e)!==!1&&qt(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&$a(e,t)}return!1}function Tf(e,t,n,r){return(e!==t||Qe(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&$a(e,n)}function $a(e,t){return Qe(t.enabled,e)!==!1&&e.isStaleByTime(qt(t.staleTime,e))}function P2(e,t){return!vi(e.getCurrentResult(),t)}function Nf(e){return{onFetch:(t,n)=>{const r=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],s=t.state.data?.pageParams||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let u=!1;const h=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},d=Cf(t.options,t.fetchOptions),m=async(f,p,v)=>{if(u)return Promise.reject();if(p==null&&f.pages.length)return Promise.resolve(f);const y=(()=>{const O={client:t.client,queryKey:t.queryKey,pageParam:p,direction:v?"backward":"forward",meta:t.options.meta};return h(O),O})(),x=await d(y),{maxPages:w}=t.options,k=v?b2:v2;return{pages:k(f.pages,x,w),pageParams:k(f.pageParams,p,w)}};if(o&&i.length){const f=o==="backward",p=f?R2:Af,v={pages:i,pageParams:s},b=p(r,v);a=await m(v,b,f)}else{const f=e??i.length;do{const p=l===0?s[0]??r.initialPageParam:Af(r,a);if(l>0&&p==null)break;a=await m(a,p),l++}while(l<f)}return a};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function Af(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function R2(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var I2=class extends Of{#e;#t;#n;#o;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||_f(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#o?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#r({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#o=Ef({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(i,s)=>{this.#r({type:"failed",failureCount:i,error:s})},onPause:()=>{this.#r({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",o=!this.#o.canStart();try{if(r)t();else{this.#r({type:"pending",variables:e,isPaused:o}),await this.#n.config.onMutate?.(e,this,n);const s=await this.options.onMutate?.(e,n);s!==this.state.context&&this.#r({type:"pending",context:s,variables:e,isPaused:o})}const i=await this.#o.start();return await this.#n.config.onSuccess?.(i,e,this.state.context,this,n),await this.options.onSuccess?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(i,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(i,null,e,this.state.context,n),this.#r({type:"success",data:i}),i}catch(i){try{throw await this.#n.config.onError?.(i,e,this.state.context,this,n),await this.options.onError?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,i,e,this.state.context,n),i}finally{this.#r({type:"error",error:i})}}finally{this.#n.runNext(this)}}#r(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),ge.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function _f(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var T2=class extends ir{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){const r=new I2({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);const t=yi(e);if(typeof t=="string"){const n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=yi(e);if(typeof t=="string"){const n=this.#t.get(t);if(n)if(n.length>1){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=yi(e);if(typeof t=="string"){const r=this.#t.get(t)?.find(o=>o.state.status==="pending");return!r||r===e}else return!0}runNext(e){const t=yi(e);return typeof t=="string"?this.#t.get(t)?.find(r=>r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){ge.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>bf(t,n))}findAll(e={}){return this.getAll().filter(t=>bf(e,t))}notify(e){ge.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return ge.batch(()=>Promise.all(e.map(t=>t.continue().catch(Ne))))}};function yi(e){return e.options.scope?.id}var N2=class extends ir{#e;#t=void 0;#n;#o;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#e.defaultMutationOptions(e),vi(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&On(t.mutationKey)!==On(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#r(),this.#s(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#r(),this.#s()}mutate(e,t){return this.#o=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#r(){const e=this.#n?.state??_f();this.#t={...e,isPending:e.status==="pending",isSuccess:e.status==="success",isError:e.status==="error",isIdle:e.status==="idle",mutate:this.mutate,reset:this.reset}}#s(e){ge.batch(()=>{if(this.#o&&this.hasListeners()){const t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};e?.type==="success"?(this.#o.onSuccess?.(e.data,t,n,r),this.#o.onSettled?.(e.data,null,t,n,r)):e?.type==="error"&&(this.#o.onError?.(e.error,t,n,r),this.#o.onSettled?.(void 0,e.error,t,n,r))}this.listeners.forEach(t=>{t(this.#t)})})}},A2=class extends ir{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const r=t.queryKey,o=t.queryHash??_a(r,t);let i=this.get(o);return i||(i=new S2({client:e,queryKey:r,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(i)),i}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){ge.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>vf(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>vf(e,n)):t}notify(e){ge.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){ge.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){ge.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},_2=class{#e;#t;#n;#o;#r;#s;#a;#i;constructor(e={}){this.#e=e.queryCache||new A2,this.#t=e.mutationCache||new T2,this.#n=e.defaultOptions||{},this.#o=new Map,this.#r=new Map,this.#s=0}mount(){this.#s++,this.#s===1&&(this.#a=Da.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=bi.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#s--,this.#s===0&&(this.#a?.(),this.#a=void 0,this.#i?.(),this.#i=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(qt(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,s=g2(t,i);if(s!==void 0)return this.#e.build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return ge.batch(()=>this.#e.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;ge.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#e;return ge.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=ge.batch(()=>this.#e.findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Ne).catch(Ne)}invalidateQueries(e,t={}){return ge.batch(()=>(this.#e.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=ge.batch(()=>this.#e.findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(Ne)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Ne)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(qt(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ne).catch(Ne)}fetchInfiniteQuery(e){return e.behavior=Nf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ne).catch(Ne)}ensureInfiniteQueryData(e){return e.behavior=Nf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return bi.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#o.set(On(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#o.values()],n={};return t.forEach(r=>{Wr(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#r.set(On(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{Wr(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=_a(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===La&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Vf=C.createContext(void 0),Ff=e=>{const t=C.useContext(Vf);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},V2=({client:e,children:t})=>(C.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),g.jsx(Vf.Provider,{value:e,children:t})),Lf=C.createContext(!1),F2=()=>C.useContext(Lf);Lf.Provider;function L2(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var D2=C.createContext(L2()),z2=()=>C.useContext(D2),M2=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},j2=e=>{C.useEffect(()=>{e.clearReset()},[e])},$2=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(o&&e.data===void 0||wf(n,[e.error,r])),B2=e=>{if(e.suspense){const n=o=>o==="static"?o:Math.max(o??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...o)=>n(r(...o)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},W2=(e,t)=>e.isLoading&&e.isFetching&&!t,H2=(e,t)=>e?.suspense&&t.isPending,Df=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function U2(e,t,n){const r=F2(),o=z2(),i=Ff(),s=i.defaultQueryOptions(e);i.getDefaultOptions().queries?._experimental_beforeQuery?.(s),s._optimisticResults=r?"isRestoring":"optimistic",B2(s),M2(s,o),j2(o);const a=!i.getQueryCache().get(s.queryHash),[l]=C.useState(()=>new t(i,s)),c=l.getOptimisticResult(s),u=!r&&e.subscribed!==!1;if(C.useSyncExternalStore(C.useCallback(h=>{const d=u?l.subscribe(ge.batchCalls(h)):Ne;return l.updateResult(),d},[l,u]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),C.useEffect(()=>{l.setOptions(s)},[s,l]),H2(s,c))throw Df(s,l,o);if($2({result:c,errorResetBoundary:o,throwOnError:s.throwOnError,query:i.getQueryCache().get(s.queryHash),suspense:s.suspense}))throw c.error;return i.getDefaultOptions().queries?._experimental_afterQuery?.(s,c),s.experimental_prefetchInRender&&!En&&W2(c,r)&&(a?Df(s,l,o):i.getQueryCache().get(s.queryHash)?.promise)?.catch(Ne).finally(()=>{l.updateResult()}),s.notifyOnChangeProps?c:l.trackResult(c)}function zf(e,t){return U2(e,E2)}function Pn(e,t){const n=Ff(),[r]=C.useState(()=>new N2(n,e));C.useEffect(()=>{r.setOptions(e)},[r,e]);const o=C.useSyncExternalStore(C.useCallback(s=>r.subscribe(ge.batchCalls(s)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),i=C.useCallback((s,a)=>{r.mutate(s,a).catch(Ne)},[r]);if(o.error&&wf(r.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:i,mutateAsync:o.mutate}}function Mf(e,t){return function(){return e.apply(t,arguments)}}const{toString:G2}=Object.prototype,{getPrototypeOf:Ba}=Object,{iterator:xi,toStringTag:jf}=Symbol,ki=(e=>t=>{const n=G2.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ot=e=>(e=e.toLowerCase(),t=>ki(t)===e),Ci=e=>t=>typeof t===e,{isArray:sr}=Array,ar=Ci("undefined");function Hr(e){return e!==null&&!ar(e)&&e.constructor!==null&&!ar(e.constructor)&&ze(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $f=ot("ArrayBuffer");function q2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&$f(e.buffer),t}const K2=Ci("string"),ze=Ci("function"),Bf=Ci("number"),Ur=e=>e!==null&&typeof e=="object",Y2=e=>e===!0||e===!1,wi=e=>{if(ki(e)!=="object")return!1;const t=Ba(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(jf in e)&&!(xi in e)},X2=e=>{if(!Ur(e)||Hr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Q2=ot("Date"),J2=ot("File"),Z2=ot("Blob"),eO=ot("FileList"),tO=e=>Ur(e)&&ze(e.pipe),nO=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ze(e.append)&&((t=ki(e))==="formdata"||t==="object"&&ze(e.toString)&&e.toString()==="[object FormData]"))},rO=ot("URLSearchParams"),[oO,iO,sO,aO]=["ReadableStream","Request","Response","Headers"].map(ot),lO=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Gr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),sr(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Hr(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let a;for(r=0;r<s;r++)a=i[r],t.call(null,e[a],a,e)}}function Wf(e,t){if(Hr(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Rn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:globalThis,Hf=e=>!ar(e)&&e!==Rn;function Wa(){const{caseless:e,skipUndefined:t}=Hf(this)&&this||{},n={},r=(o,i)=>{const s=e&&Wf(n,i)||i;wi(n[s])&&wi(o)?n[s]=Wa(n[s],o):wi(o)?n[s]=Wa({},o):sr(o)?n[s]=o.slice():(!t||!ar(o))&&(n[s]=o)};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Gr(arguments[o],r);return n}const cO=(e,t,n,{allOwnKeys:r}={})=>(Gr(t,(o,i)=>{n&&ze(o)?e[i]=Mf(o,n):e[i]=o},{allOwnKeys:r}),e),uO=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),dO=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},hO=(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Ba(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},fO=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},gO=e=>{if(!e)return null;if(sr(e))return e;let t=e.length;if(!Bf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},pO=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ba(Uint8Array)),mO=(e,t)=>{const r=(e&&e[xi]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},vO=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},bO=ot("HTMLFormElement"),yO=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Uf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),xO=ot("RegExp"),Gf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Gr(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},kO=e=>{Gf(e,(t,n)=>{if(ze(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ze(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},CO=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return sr(e)?r(e):r(String(e).split(t)),n},wO=()=>{},SO=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function EO(e){return!!(e&&ze(e.append)&&e[jf]==="FormData"&&e[xi])}const OO=e=>{const t=new Array(10),n=(r,o)=>{if(Ur(r)){if(t.indexOf(r)>=0)return;if(Hr(r))return r;if(!("toJSON"in r)){t[o]=r;const i=sr(r)?[]:{};return Gr(r,(s,a)=>{const l=n(s,o+1);!ar(l)&&(i[a]=l)}),t[o]=void 0,i}}return r};return n(e,0)},PO=ot("AsyncFunction"),RO=e=>e&&(Ur(e)||ze(e))&&ze(e.then)&&ze(e.catch),qf=((e,t)=>e?setImmediate:t?((n,r)=>(Rn.addEventListener("message",({source:o,data:i})=>{o===Rn&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Rn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ze(Rn.postMessage)),IO=typeof queueMicrotask<"u"?queueMicrotask.bind(Rn):typeof process<"u"&&process.nextTick||qf,E={isArray:sr,isArrayBuffer:$f,isBuffer:Hr,isFormData:nO,isArrayBufferView:q2,isString:K2,isNumber:Bf,isBoolean:Y2,isObject:Ur,isPlainObject:wi,isEmptyObject:X2,isReadableStream:oO,isRequest:iO,isResponse:sO,isHeaders:aO,isUndefined:ar,isDate:Q2,isFile:J2,isBlob:Z2,isRegExp:xO,isFunction:ze,isStream:tO,isURLSearchParams:rO,isTypedArray:pO,isFileList:eO,forEach:Gr,merge:Wa,extend:cO,trim:lO,stripBOM:uO,inherits:dO,toFlatObject:hO,kindOf:ki,kindOfTest:ot,endsWith:fO,toArray:gO,forEachEntry:mO,matchAll:vO,isHTMLForm:bO,hasOwnProperty:Uf,hasOwnProp:Uf,reduceDescriptors:Gf,freezeMethods:kO,toObjectSet:CO,toCamelCase:yO,noop:wO,toFiniteNumber:SO,findKey:Wf,global:Rn,isContextDefined:Hf,isSpecCompliantForm:EO,toJSONObject:OO,isAsyncFn:PO,isThenable:RO,setImmediate:qf,asap:IO,isIterable:e=>e!=null&&ze(e[xi])};function H(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}E.inherits(H,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:E.toJSONObject(this.config),code:this.code,status:this.status}}});const Kf=H.prototype,Yf={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Yf[e]={value:e}}),Object.defineProperties(H,Yf),Object.defineProperty(Kf,"isAxiosError",{value:!0}),H.from=(e,t,n,r,o,i)=>{const s=Object.create(Kf);E.toFlatObject(e,s,function(u){return u!==Error.prototype},c=>c!=="isAxiosError");const a=e&&e.message?e.message:"Error",l=t==null&&e?e.code:t;return H.call(s,a,l,n,r,o),e&&s.cause==null&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};const TO=null;function Ha(e){return E.isPlainObject(e)||E.isArray(e)}function Xf(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function Qf(e,t,n){return e?e.concat(t).map(function(o,i){return o=Xf(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function NO(e){return E.isArray(e)&&!e.some(Ha)}const AO=E.toFlatObject(E,{},null,function(t){return/^is[A-Z]/.test(t)});function Si(e,t,n){if(!E.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=E.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,v){return!E.isUndefined(v[p])});const r=n.metaTokens,o=n.visitor||u,i=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&E.isSpecCompliantForm(t);if(!E.isFunction(o))throw new TypeError("visitor must be a function");function c(f){if(f===null)return"";if(E.isDate(f))return f.toISOString();if(E.isBoolean(f))return f.toString();if(!l&&E.isBlob(f))throw new H("Blob is not supported. Use a Buffer instead.");return E.isArrayBuffer(f)||E.isTypedArray(f)?l&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function u(f,p,v){let b=f;if(f&&!v&&typeof f=="object"){if(E.endsWith(p,"{}"))p=r?p:p.slice(0,-2),f=JSON.stringify(f);else if(E.isArray(f)&&NO(f)||(E.isFileList(f)||E.endsWith(p,"[]"))&&(b=E.toArray(f)))return p=Xf(p),b.forEach(function(x,w){!(E.isUndefined(x)||x===null)&&t.append(s===!0?Qf([p],w,i):s===null?p:p+"[]",c(x))}),!1}return Ha(f)?!0:(t.append(Qf(v,p,i),c(f)),!1)}const h=[],d=Object.assign(AO,{defaultVisitor:u,convertValue:c,isVisitable:Ha});function m(f,p){if(!E.isUndefined(f)){if(h.indexOf(f)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(f),E.forEach(f,function(b,y){(!(E.isUndefined(b)||b===null)&&o.call(t,b,E.isString(y)?y.trim():y,p,d))===!0&&m(b,p?p.concat(y):[y])}),h.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Jf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ua(e,t){this._pairs=[],e&&Si(e,this,t)}const Zf=Ua.prototype;Zf.append=function(t,n){this._pairs.push([t,n])},Zf.toString=function(t){const n=t?function(r){return t.call(this,r,Jf)}:Jf;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function _O(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function eg(e,t,n){if(!t)return e;const r=n&&n.encode||_O;E.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(t,n):i=E.isURLSearchParams(t)?t.toString():new Ua(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class tg{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){E.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ng={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},VO={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Ua,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Ga=typeof window<"u"&&typeof document<"u",qa=typeof navigator=="object"&&navigator||void 0,FO=Ga&&(!qa||["ReactNative","NativeScript","NS"].indexOf(qa.product)<0),LO=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",DO=Ga&&window.location.href||"http://localhost",Ie={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ga,hasStandardBrowserEnv:FO,hasStandardBrowserWebWorkerEnv:LO,navigator:qa,origin:DO},Symbol.toStringTag,{value:"Module"})),...VO};function zO(e,t){return Si(e,new Ie.classes.URLSearchParams,{visitor:function(n,r,o,i){return Ie.isNode&&E.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function MO(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function jO(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function rg(e){function t(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),l=i>=n.length;return s=!s&&E.isArray(o)?o.length:s,l?(E.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!E.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&E.isArray(o[s])&&(o[s]=jO(o[s])),!a)}if(E.isFormData(e)&&E.isFunction(e.entries)){const n={};return E.forEachEntry(e,(r,o)=>{t(MO(r),o,n,0)}),n}return null}function $O(e,t,n){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const qr={transitional:ng,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=E.isObject(t);if(i&&E.isHTMLForm(t)&&(t=new FormData(t)),E.isFormData(t))return o?JSON.stringify(rg(t)):t;if(E.isArrayBuffer(t)||E.isBuffer(t)||E.isStream(t)||E.isFile(t)||E.isBlob(t)||E.isReadableStream(t))return t;if(E.isArrayBufferView(t))return t.buffer;if(E.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return zO(t,this.formSerializer).toString();if((a=E.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Si(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),$O(t)):t}],transformResponse:[function(t){const n=this.transitional||qr.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(E.isResponse(t)||E.isReadableStream(t))return t;if(t&&E.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(a){if(s)throw a.name==="SyntaxError"?H.from(a,H.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ie.classes.FormData,Blob:Ie.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};E.forEach(["delete","get","head","post","put","patch"],e=>{qr.headers[e]={}});const BO=E.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),WO=e=>{const t={};let n,r,o;return e&&e.split(`
+`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&BO[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},og=Symbol("internals");function Kr(e){return e&&String(e).trim().toLowerCase()}function Ei(e){return e===!1||e==null?e:E.isArray(e)?e.map(Ei):String(e)}function HO(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const UO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ka(e,t,n,r,o){if(E.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!E.isString(t)){if(E.isString(r))return t.indexOf(r)!==-1;if(E.isRegExp(r))return r.test(t)}}function GO(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function qO(e,t){const n=E.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}let Me=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(a,l,c){const u=Kr(l);if(!u)throw new Error("header name must be a non-empty string");const h=E.findKey(o,u);(!h||o[h]===void 0||c===!0||c===void 0&&o[h]!==!1)&&(o[h||l]=Ei(a))}const s=(a,l)=>E.forEach(a,(c,u)=>i(c,u,l));if(E.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(E.isString(t)&&(t=t.trim())&&!UO(t))s(WO(t),n);else if(E.isObject(t)&&E.isIterable(t)){let a={},l,c;for(const u of t){if(!E.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?E.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}s(a,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=Kr(t),t){const r=E.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return HO(o);if(E.isFunction(n))return n.call(this,o,r);if(E.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Kr(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ka(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=Kr(s),s){const a=E.findKey(r,s);a&&(!n||Ka(r,r[a],a,n))&&(delete r[a],o=!0)}}return E.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Ka(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return E.forEach(this,(o,i)=>{const s=E.findKey(r,i);if(s){n[s]=Ei(o),delete n[i];return}const a=t?GO(i):String(i).trim();a!==i&&delete n[i],n[a]=Ei(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return E.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&E.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
+`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[og]=this[og]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Kr(s);r[a]||(qO(o,s),r[a]=!0)}return E.isArray(t)?t.forEach(i):i(t),this}};Me.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),E.reduceDescriptors(Me.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),E.freezeMethods(Me);function Ya(e,t){const n=this||qr,r=t||n,o=Me.from(r.headers);let i=r.data;return E.forEach(e,function(a){i=a.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ig(e){return!!(e&&e.__CANCEL__)}function lr(e,t,n){H.call(this,e??"canceled",H.ERR_CANCELED,t,n),this.name="CanceledError"}E.inherits(lr,H,{__CANCEL__:!0});function sg(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new H("Request failed with status code "+n.status,[H.ERR_BAD_REQUEST,H.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function KO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function YO(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[i];s||(s=c),n[o]=l,r[o]=c;let h=i,d=0;for(;h!==o;)d+=n[h++],h=h%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-s<t)return;const m=u&&c-u;return m?Math.round(d*1e3/m):void 0}}function XO(e,t){let n=0,r=1e3/t,o,i;const s=(c,u=Date.now())=>{n=u,o=null,i&&(clearTimeout(i),i=null),e(...c)};return[(...c)=>{const u=Date.now(),h=u-n;h>=r?s(c,u):(o=c,i||(i=setTimeout(()=>{i=null,s(o)},r-h)))},()=>o&&s(o)]}const Oi=(e,t,n=3)=>{let r=0;const o=YO(50,250);return XO(i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,l=s-r,c=o(l),u=s<=a;r=s;const h={loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-s)/c:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(h)},n)},ag=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},lg=e=>(...t)=>E.asap(()=>e(...t)),QO=Ie.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ie.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ie.origin),Ie.navigator&&/(msie|trident)/i.test(Ie.navigator.userAgent)):()=>!0,JO=Ie.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];E.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),E.isString(r)&&s.push("path="+r),E.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ZO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function eP(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function cg(e,t,n){let r=!ZO(t);return e&&(r||n==!1)?eP(e,t):t}const ug=e=>e instanceof Me?{...e}:e;function In(e,t){t=t||{};const n={};function r(c,u,h,d){return E.isPlainObject(c)&&E.isPlainObject(u)?E.merge.call({caseless:d},c,u):E.isPlainObject(u)?E.merge({},u):E.isArray(u)?u.slice():u}function o(c,u,h,d){if(E.isUndefined(u)){if(!E.isUndefined(c))return r(void 0,c,h,d)}else return r(c,u,h,d)}function i(c,u){if(!E.isUndefined(u))return r(void 0,u)}function s(c,u){if(E.isUndefined(u)){if(!E.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,h){if(h in t)return r(c,u);if(h in e)return r(void 0,c)}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,u,h)=>o(ug(c),ug(u),h,!0)};return E.forEach(Object.keys({...e,...t}),function(u){const h=l[u]||o,d=h(e[u],t[u],u);E.isUndefined(d)&&h!==a||(n[u]=d)}),n}const dg=e=>{const t=In({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=Me.from(s),t.url=eg(cg(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),E.isFormData(n)){if(Ie.hasStandardBrowserEnv||Ie.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(E.isFunction(n.getHeaders)){const l=n.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([u,h])=>{c.includes(u.toLowerCase())&&s.set(u,h)})}}if(Ie.hasStandardBrowserEnv&&(r&&E.isFunction(r)&&(r=r(t)),r||r!==!1&&QO(t.url))){const l=o&&i&&JO.read(i);l&&s.set(o,l)}return t},tP=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=dg(e);let i=o.data;const s=Me.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=o,u,h,d,m,f;function p(){m&&m(),f&&f(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(o.method.toUpperCase(),o.url,!0),v.timeout=o.timeout;function b(){if(!v)return;const x=Me.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),k={data:!a||a==="text"||a==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:x,config:e,request:v};sg(function(R){n(R),p()},function(R){r(R),p()},k),v=null}"onloadend"in v?v.onloadend=b:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(b)},v.onabort=function(){v&&(r(new H("Request aborted",H.ECONNABORTED,e,v)),v=null)},v.onerror=function(w){const k=w&&w.message?w.message:"Network Error",O=new H(k,H.ERR_NETWORK,e,v);O.event=w||null,r(O),v=null},v.ontimeout=function(){let w=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const k=o.transitional||ng;o.timeoutErrorMessage&&(w=o.timeoutErrorMessage),r(new H(w,k.clarifyTimeoutError?H.ETIMEDOUT:H.ECONNABORTED,e,v)),v=null},i===void 0&&s.setContentType(null),"setRequestHeader"in v&&E.forEach(s.toJSON(),function(w,k){v.setRequestHeader(k,w)}),E.isUndefined(o.withCredentials)||(v.withCredentials=!!o.withCredentials),a&&a!=="json"&&(v.responseType=o.responseType),c&&([d,f]=Oi(c,!0),v.addEventListener("progress",d)),l&&v.upload&&([h,m]=Oi(l),v.upload.addEventListener("progress",h),v.upload.addEventListener("loadend",m)),(o.cancelToken||o.signal)&&(u=x=>{v&&(r(!x||x.type?new lr(null,e,v):x),v.abort(),v=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const y=KO(o.url);if(y&&Ie.protocols.indexOf(y)===-1){r(new H("Unsupported protocol "+y+":",H.ERR_BAD_REQUEST,e));return}v.send(i||null)})},nP=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(c){if(!o){o=!0,a();const u=c instanceof Error?c:this.reason;r.abort(u instanceof H?u:new lr(u instanceof Error?u.message:u))}};let s=t&&setTimeout(()=>{s=null,i(new H(`timeout ${t} of ms exceeded`,H.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i));const{signal:l}=r;return l.unsubscribe=()=>E.asap(a),l}},rP=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},oP=async function*(e,t){for await(const n of iP(e))yield*rP(n,t)},iP=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},hg=(e,t,n,r)=>{const o=oP(e,t);let i=0,s,a=l=>{s||(s=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await o.next();if(c){a(),l.close();return}let h=u.byteLength;if(n){let d=i+=h;n(d)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),o.return()}},{highWaterMark:2})},fg=64*1024,{isFunction:Pi}=E,sP=(({Request:e,Response:t})=>({Request:e,Response:t}))(E.global),{ReadableStream:gg,TextEncoder:pg}=E.global,mg=(e,...t)=>{try{return!!e(...t)}catch{return!1}},aP=e=>{e=E.merge.call({skipUndefined:!0},sP,e);const{fetch:t,Request:n,Response:r}=e,o=t?Pi(t):typeof fetch=="function",i=Pi(n),s=Pi(r);if(!o)return!1;const a=o&&Pi(gg),l=o&&(typeof pg=="function"?(f=>p=>f.encode(p))(new pg):async f=>new Uint8Array(await new n(f).arrayBuffer())),c=i&&a&&mg(()=>{let f=!1;const p=new n(Ie.origin,{body:new gg,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return f&&!p}),u=s&&a&&mg(()=>E.isReadableStream(new r("").body)),h={stream:u&&(f=>f.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!h[f]&&(h[f]=(p,v)=>{let b=p&&p[f];if(b)return b.call(p);throw new H(`Response type '${f}' is not supported`,H.ERR_NOT_SUPPORT,v)})});const d=async f=>{if(f==null)return 0;if(E.isBlob(f))return f.size;if(E.isSpecCompliantForm(f))return(await new n(Ie.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(E.isArrayBufferView(f)||E.isArrayBuffer(f))return f.byteLength;if(E.isURLSearchParams(f)&&(f=f+""),E.isString(f))return(await l(f)).byteLength},m=async(f,p)=>{const v=E.toFiniteNumber(f.getContentLength());return v??d(p)};return async f=>{let{url:p,method:v,data:b,signal:y,cancelToken:x,timeout:w,onDownloadProgress:k,onUploadProgress:O,responseType:R,headers:I,withCredentials:N="same-origin",fetchOptions:A}=dg(f),T=t||fetch;R=R?(R+"").toLowerCase():"text";let S=nP([y,x&&x.toAbortSignal()],w),_=null;const D=S&&S.unsubscribe&&(()=>{S.unsubscribe()});let z;try{if(O&&c&&v!=="get"&&v!=="head"&&(z=await m(I,b))!==0){let Z=new n(p,{method:"POST",body:b,duplex:"half"}),pe;if(E.isFormData(b)&&(pe=Z.headers.get("content-type"))&&I.setContentType(pe),Z.body){const[Je,yt]=ag(z,Oi(lg(O)));b=hg(Z.body,fg,Je,yt)}}E.isString(N)||(N=N?"include":"omit");const W=i&&"credentials"in n.prototype,J={...A,signal:S,method:v.toUpperCase(),headers:I.normalize().toJSON(),body:b,duplex:"half",credentials:W?N:void 0};_=i&&new n(p,J);let ee=await(i?T(_,A):T(p,J));const $=u&&(R==="stream"||R==="response");if(u&&(k||$&&D)){const Z={};["status","statusText","headers"].forEach(_t=>{Z[_t]=ee[_t]});const pe=E.toFiniteNumber(ee.headers.get("content-length")),[Je,yt]=k&&ag(pe,Oi(lg(k),!0))||[];ee=new r(hg(ee.body,fg,Je,()=>{yt&&yt(),D&&D()}),Z)}R=R||"text";let q=await h[E.findKey(h,R)||"text"](ee,f);return!$&&D&&D(),await new Promise((Z,pe)=>{sg(Z,pe,{data:q,headers:Me.from(ee.headers),status:ee.status,statusText:ee.statusText,config:f,request:_})})}catch(W){throw D&&D(),W&&W.name==="TypeError"&&/Load failed|fetch/i.test(W.message)?Object.assign(new H("Network Error",H.ERR_NETWORK,f,_),{cause:W.cause||W}):H.from(W,W&&W.code,f,_)}}},lP=new Map,vg=e=>{let t=e?e.env:{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let s=i.length,a=s,l,c,u=lP;for(;a--;)l=i[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:aP(t)),u=c;return c};vg();const Xa={http:TO,xhr:tP,fetch:{get:vg}};E.forEach(Xa,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bg=e=>`- ${e}`,cP=e=>E.isFunction(e)||e===null||e===!1,yg={getAdapter:(e,t)=>{e=E.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let s=0;s<n;s++){r=e[s];let a;if(o=r,!cP(r)&&(o=Xa[(a=String(r)).toLowerCase()],o===void 0))throw new H(`Unknown adapter '${a}'`);if(o&&(E.isFunction(o)||(o=o.get(t))))break;i[a||"#"+s]=o}if(!o){const s=Object.entries(i).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=n?s.length>1?`since :
+`+s.map(bg).join(`
+`):" "+bg(s[0]):"as no adapter specified";throw new H("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Xa};function Qa(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lr(null,e)}function xg(e){return Qa(e),e.headers=Me.from(e.headers),e.data=Ya.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),yg.getAdapter(e.adapter||qr.adapter,e)(e).then(function(r){return Qa(e),r.data=Ya.call(e,e.transformResponse,r),r.headers=Me.from(r.headers),r},function(r){return ig(r)||(Qa(e),r&&r.response&&(r.response.data=Ya.call(e,e.transformResponse,r.response),r.response.headers=Me.from(r.response.headers))),Promise.reject(r)})}const kg="1.12.2",Ri={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ri[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Cg={};Ri.transitional=function(t,n,r){function o(i,s){return"[Axios v"+kg+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(t===!1)throw new H(o(s," has been removed"+(n?" in "+n:"")),H.ERR_DEPRECATED);return n&&!Cg[s]&&(Cg[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,a):!0}},Ri.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function uP(e,t,n){if(typeof e!="object")throw new H("options must be an object",H.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const a=e[i],l=a===void 0||s(a,i,e);if(l!==!0)throw new H("option "+i+" must be "+l,H.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new H("Unknown option "+i,H.ERR_BAD_OPTION)}}const Ii={assertOptions:uP,validators:Ri},mt=Ii.validators;let Tn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new tg,response:new tg}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
+`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=In(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Ii.assertOptions(r,{silentJSONParsing:mt.transitional(mt.boolean),forcedJSONParsing:mt.transitional(mt.boolean),clarifyTimeoutError:mt.transitional(mt.boolean)},!1),o!=null&&(E.isFunction(o)?n.paramsSerializer={serialize:o}:Ii.assertOptions(o,{encode:mt.function,serialize:mt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ii.assertOptions(n,{baseUrl:mt.spelling("baseURL"),withXsrfToken:mt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&E.merge(i.common,i[n.method]);i&&E.forEach(["delete","get","head","post","put","patch","common"],f=>{delete i[f]}),n.headers=Me.concat(s,i);const a=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(l=l&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,h=0,d;if(!l){const f=[xg.bind(this),void 0];for(f.unshift(...a),f.push(...c),d=f.length,u=Promise.resolve(n);h<d;)u=u.then(f[h++],f[h++]);return u}d=a.length;let m=n;for(;h<d;){const f=a[h++],p=a[h++];try{m=f(m)}catch(v){p.call(this,v);break}}try{u=xg.call(this,m)}catch(f){return Promise.reject(f)}for(h=0,d=c.length;h<d;)u=u.then(c[h++],c[h++]);return u}getUri(t){t=In(this.defaults,t);const n=cg(t.baseURL,t.url,t.allowAbsoluteUrls);return eg(n,t.params,t.paramsSerializer)}};E.forEach(["delete","get","head","options"],function(t){Tn.prototype[t]=function(n,r){return this.request(In(r||{},{method:t,url:n,data:(r||{}).data}))}}),E.forEach(["post","put","patch"],function(t){function n(r){return function(i,s,a){return this.request(In(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Tn.prototype[t]=n(),Tn.prototype[t+"Form"]=n(!0)});let dP=class wp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,a){r.reason||(r.reason=new lr(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new wp(function(o){t=o}),cancel:t}}};function hP(e){return function(n){return e.apply(null,n)}}function fP(e){return E.isObject(e)&&e.isAxiosError===!0}const Ja={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ja).forEach(([e,t])=>{Ja[t]=e});function wg(e){const t=new Tn(e),n=Mf(Tn.prototype.request,t);return E.extend(n,Tn.prototype,t,{allOwnKeys:!0}),E.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return wg(In(e,o))},n}const ce=wg(qr);ce.Axios=Tn,ce.CanceledError=lr,ce.CancelToken=dP,ce.isCancel=ig,ce.VERSION=kg,ce.toFormData=Si,ce.AxiosError=H,ce.Cancel=ce.CanceledError,ce.all=function(t){return Promise.all(t)},ce.spread=hP,ce.isAxiosError=fP,ce.mergeConfig=In,ce.AxiosHeaders=Me,ce.formToJSON=e=>rg(E.isHTMLForm(e)?new FormData(e):e),ce.getAdapter=yg.getAdapter,ce.HttpStatusCode=Ja,ce.default=ce;const{Axios:HT,AxiosError:UT,CanceledError:GT,isCancel:qT,CancelToken:KT,VERSION:YT,all:XT,Cancel:QT,isAxiosError:JT,spread:ZT,toFormData:e5,AxiosHeaders:t5,HttpStatusCode:n5,formToJSON:r5,getAdapter:o5,mergeConfig:i5}=ce;var gP=(e,t,n,r,o,i,s,a)=>{let l=document.documentElement,c=["light","dark"];function u(m){(Array.isArray(e)?e:[e]).forEach(f=>{let p=f==="class",v=p&&i?o.map(b=>i[b]||b):o;p?(l.classList.remove(...v),l.classList.add(i&&i[m]?i[m]:m)):l.setAttribute(f,m)}),h(m)}function h(m){a&&c.includes(m)&&(l.style.colorScheme=m)}function d(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)u(r);else try{let m=localStorage.getItem(t)||n,f=s&&m==="system"?d():m;u(f)}catch{}},Sg=["light","dark"],Eg="(prefers-color-scheme: dark)",pP=typeof window>"u",Og=C.createContext(void 0),mP=e=>C.useContext(Og)?C.createElement(C.Fragment,null,e.children):C.createElement(bP,{...e}),vP=["light","dark"],bP=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:o="theme",themes:i=vP,defaultTheme:s=n?"system":"light",attribute:a="data-theme",value:l,children:c,nonce:u,scriptProps:h})=>{let[d,m]=C.useState(()=>xP(o,s)),[f,p]=C.useState(()=>d==="system"?Za():d),v=l?Object.values(l):i,b=C.useCallback(k=>{let O=k;if(!O)return;k==="system"&&n&&(O=Za());let R=l?l[O]:O,I=t?kP(u):null,N=document.documentElement,A=T=>{T==="class"?(N.classList.remove(...v),R&&N.classList.add(R)):T.startsWith("data-")&&(R?N.setAttribute(T,R):N.removeAttribute(T))};if(Array.isArray(a)?a.forEach(A):A(a),r){let T=Sg.includes(s)?s:null,S=Sg.includes(O)?O:T;N.style.colorScheme=S}I?.()},[u]),y=C.useCallback(k=>{let O=typeof k=="function"?k(d):k;m(O);try{localStorage.setItem(o,O)}catch{}},[d]),x=C.useCallback(k=>{let O=Za(k);p(O),d==="system"&&n&&!e&&b("system")},[d,e]);C.useEffect(()=>{let k=window.matchMedia(Eg);return k.addListener(x),x(k),()=>k.removeListener(x)},[x]),C.useEffect(()=>{let k=O=>{O.key===o&&(O.newValue?m(O.newValue):y(s))};return window.addEventListener("storage",k),()=>window.removeEventListener("storage",k)},[y]),C.useEffect(()=>{b(e??d)},[e,d]);let w=C.useMemo(()=>({theme:d,setTheme:y,forcedTheme:e,resolvedTheme:d==="system"?f:d,themes:n?[...i,"system"]:i,systemTheme:n?f:void 0}),[d,y,e,f,n,i]);return C.createElement(Og.Provider,{value:w},C.createElement(yP,{forcedTheme:e,storageKey:o,attribute:a,enableSystem:n,enableColorScheme:r,defaultTheme:s,value:l,themes:i,nonce:u,scriptProps:h}),c)},yP=C.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,themes:a,nonce:l,scriptProps:c})=>{let u=JSON.stringify([n,t,i,e,a,s,r,o]).slice(1,-1);return C.createElement("script",{...c,suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(${gP.toString()})(${u})`}})}),xP=(e,t)=>{if(pP)return;let n;try{n=localStorage.getItem(e)||void 0}catch{}return n||t},kP=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},Za=e=>(e||(e=window.matchMedia(Eg)),e.matches?"dark":"light");const CP=e=>g.jsx(mP,{attribute:"class",disableTransitionOnChange:!0,...e});/**
+ * react-router v7.9.1
  *
  * Copyright (c) Remix Software Inc.
  *
@@ -35,25 +35,9 @@
  * LICENSE.md file in the root directory of this source tree.
  *
  * @license MIT
- */function qr(){return qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qr.apply(this,arguments)}var Wt;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Wt||(Wt={}));const bg="popstate";function fP(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return Xa("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Pi(o)}return pP(t,n,null,e)}function ce(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function yg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function gP(){return Math.random().toString(36).substr(2,8)}function xg(e,t){return{usr:e.state,key:e.key,idx:t}}function Xa(e,t,n,r){return n===void 0&&(n=null),qr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ar(t):t,{state:n,key:t&&t.key||r||gP()})}function Pi(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function ar(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function pP(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=Wt.Pop,l=null,c=u();c==null&&(c=0,s.replaceState(qr({},s.state,{idx:c}),""));function u(){return(s.state||{idx:null}).idx}function d(){a=Wt.Pop;let v=u(),y=v==null?null:v-c;c=v,l&&l({action:a,location:p.location,delta:y})}function h(v,y){a=Wt.Push;let x=Xa(p.location,v,y);c=u()+1;let b=xg(x,c),C=p.createHref(x);try{s.pushState(b,"",C)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;o.location.assign(C)}i&&l&&l({action:a,location:p.location,delta:1})}function m(v,y){a=Wt.Replace;let x=Xa(p.location,v,y);c=u();let b=xg(x,c),C=p.createHref(x);s.replaceState(b,"",C),i&&l&&l({action:a,location:p.location,delta:0})}function g(v){let y=o.location.origin!=="null"?o.location.origin:o.location.href,x=typeof v=="string"?v:Pi(v);return x=x.replace(/ $/,"%20"),ce(y,"No window.location.(origin|href) available to create URL for href: "+x),new URL(x,y)}let p={get action(){return a},get location(){return e(o,s)},listen(v){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(bg,d),l=v,()=>{o.removeEventListener(bg,d),l=null}},createHref(v){return t(o,v)},createURL:g,encodeLocation(v){let y=g(v);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:h,replace:m,go(v){return s.go(v)}};return p}var kg;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(kg||(kg={}));function mP(e,t,n){return n===void 0&&(n="/"),vP(e,t,n)}function vP(e,t,n,r){let o=typeof t=="string"?ar(t):t,i=lr(o.pathname||"/",n);if(i==null)return null;let s=Cg(e);bP(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let c=RP(i);a=PP(s[l],c)}return a}function Cg(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(ce(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=Ht([r,l.relativePath]),u=n.concat(l);i.children&&i.children.length>0&&(ce(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Cg(i.children,t,u,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:EP(c,i.index),routesMeta:u})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of Sg(i.path))o(i,s,l)}),t}function Sg(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=Sg(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function bP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:OP(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const yP=/^:[\w-]+$/,xP=3,kP=2,CP=1,SP=10,wP=-2,wg=e=>e==="*";function EP(e,t){let n=e.split("/"),r=n.length;return n.some(wg)&&(r+=wP),t&&(r+=kP),n.filter(o=>!wg(o)).reduce((o,i)=>o+(yP.test(i)?xP:i===""?CP:SP),r)}function OP(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function PP(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],c=a===r.length-1,u=i==="/"?t:t.slice(i.length)||"/",d=Qa({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},u),h=l.route;if(!d)return null;Object.assign(o,d.params),s.push({params:o,pathname:Ht([i,d.pathname]),pathnameBase:_P(Ht([i,d.pathnameBase])),route:h}),d.pathnameBase!=="/"&&(i=Ht([i,d.pathnameBase]))}return s}function Qa(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=IP(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((c,u,d)=>{let{paramName:h,isOptional:m}=u;if(h==="*"){let p=a[d]||"";s=i.slice(0,i.length-p.length).replace(/(.)\/+$/,"$1")}const g=a[d];return m&&!g?c[h]=void 0:c[h]=(g||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:s,pattern:e}}function IP(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),yg(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function RP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return yg(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function lr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function TP(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?ar(e):e;return{pathname:n?n.startsWith("/")?n:NP(n,t):t,search:VP(r),hash:FP(o)}}function NP(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Ja(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function AP(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Eg(e,t){let n=AP(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Og(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=ar(e):(o=qr({},e),ce(!o.pathname||!o.pathname.includes("?"),Ja("?","pathname","search",o)),ce(!o.pathname||!o.pathname.includes("#"),Ja("#","pathname","hash",o)),ce(!o.search||!o.search.includes("#"),Ja("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),d-=1;o.pathname=h.join("/")}a=d>=0?t[d]:"/"}let l=TP(o,a),c=s&&s!=="/"&&s.endsWith("/"),u=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const Ht=e=>e.join("/").replace(/\/\/+/g,"/"),_P=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),VP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,FP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function LP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Pg=["post","put","patch","delete"];new Set(Pg);const DP=["get",...Pg];new Set(DP);/**
- * React Router v6.30.1
- *
- * Copyright (c) Remix Software Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE.md file in the root directory of this source tree.
- *
- * @license MIT
- */function Kr(){return Kr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kr.apply(this,arguments)}const Ii=O.createContext(null),Ig=O.createContext(null),Ut=O.createContext(null),Ri=O.createContext(null),Rn=O.createContext({outlet:null,matches:[],isDataRoute:!1}),Rg=O.createContext(null);function zP(e,t){let{relative:n}=t===void 0?{}:t;Yr()||ce(!1);let{basename:r,navigator:o}=O.useContext(Ut),{hash:i,pathname:s,search:a}=Ti(e,{relative:n}),l=s;return r!=="/"&&(l=s==="/"?r:Ht([r,s])),o.createHref({pathname:l,search:a,hash:i})}function Yr(){return O.useContext(Ri)!=null}function Xr(){return Yr()||ce(!1),O.useContext(Ri).location}function Tg(e){O.useContext(Ut).static||O.useLayoutEffect(e)}function MP(){let{isDataRoute:e}=O.useContext(Rn);return e?JP():jP()}function jP(){Yr()||ce(!1);let e=O.useContext(Ii),{basename:t,future:n,navigator:r}=O.useContext(Ut),{matches:o}=O.useContext(Rn),{pathname:i}=Xr(),s=JSON.stringify(Eg(o,n.v7_relativeSplatPath)),a=O.useRef(!1);return Tg(()=>{a.current=!0}),O.useCallback(function(c,u){if(u===void 0&&(u={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let d=Og(c,JSON.parse(s),i,u.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Ht([t,d.pathname])),(u.replace?r.replace:r.push)(d,u.state,u)},[t,r,s,i,e])}function Ti(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=O.useContext(Ut),{matches:o}=O.useContext(Rn),{pathname:i}=Xr(),s=JSON.stringify(Eg(o,r.v7_relativeSplatPath));return O.useMemo(()=>Og(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function $P(e,t){return BP(e,t)}function BP(e,t,n,r){Yr()||ce(!1);let{navigator:o}=O.useContext(Ut),{matches:i}=O.useContext(Rn),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let c=Xr(),u;if(t){var d;let v=typeof t=="string"?ar(t):t;l==="/"||(d=v.pathname)!=null&&d.startsWith(l)||ce(!1),u=v}else u=c;let h=u.pathname||"/",m=h;if(l!=="/"){let v=l.replace(/^\//,"").split("/");m="/"+h.replace(/^\//,"").split("/").slice(v.length).join("/")}let g=mP(e,{pathname:m}),p=qP(g&&g.map(v=>Object.assign({},v,{params:Object.assign({},a,v.params),pathname:Ht([l,o.encodeLocation?o.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:Ht([l,o.encodeLocation?o.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,n,r);return t&&p?O.createElement(Ri.Provider,{value:{location:Kr({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Wt.Pop}},p):p}function WP(){let e=QP(),t=LP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return O.createElement(O.Fragment,null,O.createElement("h2",null,"Unexpected Application Error!"),O.createElement("h3",{style:{fontStyle:"italic"}},t),n?O.createElement("pre",{style:o},n):null,null)}const HP=O.createElement(WP,null);class UP extends O.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?O.createElement(Rn.Provider,{value:this.props.routeContext},O.createElement(Rg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function GP(e){let{routeContext:t,match:n,children:r}=e,o=O.useContext(Ii);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),O.createElement(Rn.Provider,{value:t},r)}function qP(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let u=s.findIndex(d=>d.route.id&&a?.[d.route.id]!==void 0);u>=0||ce(!1),s=s.slice(0,Math.min(s.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u<s.length;u++){let d=s[u];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(c=u),d.route.id){let{loaderData:h,errors:m}=n,g=d.route.loader&&h[d.route.id]===void 0&&(!m||m[d.route.id]===void 0);if(d.route.lazy||g){l=!0,c>=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((u,d,h)=>{let m,g=!1,p=null,v=null;n&&(m=a&&d.route.id?a[d.route.id]:void 0,p=d.route.errorElement||HP,l&&(c<0&&h===0?(ZP("route-fallback"),g=!0,v=null):c===h&&(g=!0,v=d.route.hydrateFallbackElement||null)));let y=t.concat(s.slice(0,h+1)),x=()=>{let b;return m?b=p:g?b=v:d.route.Component?b=O.createElement(d.route.Component,null):d.route.element?b=d.route.element:b=u,O.createElement(GP,{match:d,routeContext:{outlet:u,matches:y,isDataRoute:n!=null},children:b})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?O.createElement(UP,{location:n.location,revalidation:n.revalidation,component:p,error:m,children:x(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):x()},null)}var Ng=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(Ng||{}),Ag=(function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e})(Ag||{});function KP(e){let t=O.useContext(Ii);return t||ce(!1),t}function YP(e){let t=O.useContext(Ig);return t||ce(!1),t}function XP(e){let t=O.useContext(Rn);return t||ce(!1),t}function _g(e){let t=XP(),n=t.matches[t.matches.length-1];return n.route.id||ce(!1),n.route.id}function QP(){var e;let t=O.useContext(Rg),n=YP(),r=_g();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function JP(){let{router:e}=KP(Ng.UseNavigateStable),t=_g(Ag.UseNavigateStable),n=O.useRef(!1);return Tg(()=>{n.current=!0}),O.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Kr({fromRouteId:t},i)))},[e,t])}const Vg={};function ZP(e,t,n){Vg[e]||(Vg[e]=!0)}function eI(e,t){e?.v7_startTransition,e?.v7_relativeSplatPath}function Za(e){ce(!1)}function tI(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Wt.Pop,navigator:i,static:s=!1,future:a}=e;Yr()&&ce(!1);let l=t.replace(/^\/*/,"/"),c=O.useMemo(()=>({basename:l,navigator:i,static:s,future:Kr({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=ar(r));let{pathname:u="/",search:d="",hash:h="",state:m=null,key:g="default"}=r,p=O.useMemo(()=>{let v=lr(u,l);return v==null?null:{location:{pathname:v,search:d,hash:h,state:m,key:g},navigationType:o}},[l,u,d,h,m,g,o]);return p==null?null:O.createElement(Ut.Provider,{value:c},O.createElement(Ri.Provider,{children:n,value:p}))}function nI(e){let{children:t,location:n}=e;return $P(el(t),n)}new Promise(()=>{});function el(e,t){t===void 0&&(t=[]);let n=[];return O.Children.forEach(e,(r,o)=>{if(!O.isValidElement(r))return;let i=[...t,o];if(r.type===O.Fragment){n.push.apply(n,el(r.props.children,i));return}r.type!==Za&&ce(!1),!r.props.index||!r.props.children||ce(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=el(r.props.children,i)),n.push(s)}),n}/**
- * React Router DOM v6.30.1
- *
- * Copyright (c) Remix Software Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE.md file in the root directory of this source tree.
- *
- * @license MIT
- */function Ni(){return Ni=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ni.apply(this,arguments)}function Fg(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function rI(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function oI(e,t){return e.button===0&&(!t||t==="_self")&&!rI(e)}const iI=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],sI=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],aI="6";try{window.__reactRouterVersion=aI}catch{}const lI=O.createContext({isTransitioning:!1}),Lg=O["startTransition"];function cI(e){let{basename:t,children:n,future:r,window:o}=e,i=O.useRef();i.current==null&&(i.current=fP({window:o,v5Compat:!0}));let s=i.current,[a,l]=O.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},u=O.useCallback(d=>{c&&Lg?Lg(()=>l(d)):l(d)},[l,c]);return O.useLayoutEffect(()=>s.listen(u),[s,u]),O.useEffect(()=>eI(r),[r]),O.createElement(tI,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const uI=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",dI=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Dg=O.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:c,preventScrollReset:u,viewTransition:d}=t,h=Fg(t,iI),{basename:m}=O.useContext(Ut),g,p=!1;if(typeof c=="string"&&dI.test(c)&&(g=c,uI))try{let b=new URL(window.location.href),C=c.startsWith("//")?new URL(b.protocol+c):new URL(c),k=lr(C.pathname,m);C.origin===b.origin&&k!=null?c=k+C.search+C.hash:p=!0}catch{}let v=zP(c,{relative:o}),y=gI(c,{replace:s,state:a,target:l,preventScrollReset:u,relative:o,viewTransition:d});function x(b){r&&r(b),b.defaultPrevented||y(b)}return O.createElement("a",Ni({},h,{href:g||v,onClick:p||i?r:x,ref:n,target:l}))}),hI=O.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:o=!1,className:i="",end:s=!1,style:a,to:l,viewTransition:c,children:u}=t,d=Fg(t,sI),h=Ti(l,{relative:d.relative}),m=Xr(),g=O.useContext(Ig),{navigator:p,basename:v}=O.useContext(Ut),y=g!=null&&pI(h)&&c===!0,x=p.encodeLocation?p.encodeLocation(h).pathname:h.pathname,b=m.pathname,C=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;o||(b=b.toLowerCase(),C=C?C.toLowerCase():null,x=x.toLowerCase()),C&&v&&(C=lr(C,v)||C);const k=x!=="/"&&x.endsWith("/")?x.length-1:x.length;let E=b===x||!s&&b.startsWith(x)&&b.charAt(k)==="/",I=C!=null&&(C===x||!s&&C.startsWith(x)&&C.charAt(x.length)==="/"),R={isActive:E,isPending:I,isTransitioning:y},_=E?r:void 0,A;typeof i=="function"?A=i(R):A=[i,E?"active":null,I?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let T=typeof a=="function"?a(R):a;return O.createElement(Dg,Ni({},d,{"aria-current":_,className:A,ref:n,style:T,to:l,viewTransition:c}),typeof u=="function"?u(R):u)});var tl;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(tl||(tl={}));var zg;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(zg||(zg={}));function fI(e){let t=O.useContext(Ii);return t||ce(!1),t}function gI(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,viewTransition:a}=t===void 0?{}:t,l=MP(),c=Xr(),u=Ti(e,{relative:s});return O.useCallback(d=>{if(oI(d,n)){d.preventDefault();let h=r!==void 0?r:Pi(c)===Pi(u);l(e,{replace:h,state:o,preventScrollReset:i,relative:s,viewTransition:a})}},[c,l,u,r,o,n,e,i,s,a])}function pI(e,t){t===void 0&&(t={});let n=O.useContext(lI);n==null&&ce(!1);let{basename:r}=fI(tl.useViewTransitionState),o=Ti(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=lr(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=lr(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Qa(o.pathname,s)!=null||Qa(o.pathname,i)!=null}const mI="UiServiceWorker",vI=e=>[mI],bI="UiServiceJobs",yI=e=>[bI];class Mg{_fns;constructor(){this._fns=[]}eject(t){const n=this._fns.indexOf(t);n!==-1&&(this._fns=[...this._fns.slice(0,n),...this._fns.slice(n+1)])}use(t){this._fns=[...this._fns,t]}}const Et={BASE:"",CREDENTIALS:"include",ENCODE_PATH:void 0,HEADERS:void 0,PASSWORD:void 0,TOKEN:void 0,USERNAME:void 0,VERSION:"0.1.0",WITH_CREDENTIALS:!1,interceptors:{request:new Mg,response:new Mg}};class jg extends Error{url;status;statusText;body;request;constructor(t,n,r){super(r),this.name="ApiError",this.url=n.url,this.status=n.status,this.statusText=n.statusText,this.body=n.body,this.request=t}}class xI extends Error{constructor(t){super(t),this.name="CancelError"}get isCancelled(){return!0}}class kI{_isResolved;_isRejected;_isCancelled;cancelHandlers;promise;_resolve;_reject;constructor(t){this._isResolved=!1,this._isRejected=!1,this._isCancelled=!1,this.cancelHandlers=[],this.promise=new Promise((n,r)=>{this._resolve=n,this._reject=r;const o=a=>{this._isResolved||this._isRejected||this._isCancelled||(this._isResolved=!0,this._resolve&&this._resolve(a))},i=a=>{this._isResolved||this._isRejected||this._isCancelled||(this._isRejected=!0,this._reject&&this._reject(a))},s=a=>{this._isResolved||this._isRejected||this._isCancelled||this.cancelHandlers.push(a)};return Object.defineProperty(s,"isResolved",{get:()=>this._isResolved}),Object.defineProperty(s,"isRejected",{get:()=>this._isRejected}),Object.defineProperty(s,"isCancelled",{get:()=>this._isCancelled}),t(o,i,s)})}get[Symbol.toStringTag](){return"Cancellable Promise"}then(t,n){return this.promise.then(t,n)}catch(t){return this.promise.catch(t)}finally(t){return this.promise.finally(t)}cancel(){if(!(this._isResolved||this._isRejected||this._isCancelled)){if(this._isCancelled=!0,this.cancelHandlers.length)try{for(const t of this.cancelHandlers)t()}catch(t){console.warn("Cancellation threw an error",t);return}this.cancelHandlers.length=0,this._reject&&this._reject(new xI("Request aborted"))}}get isCancelled(){return this._isCancelled}}const Ai=e=>typeof e=="string",nl=e=>Ai(e)&&e!=="",$g=e=>e instanceof Blob,CI=e=>e instanceof FormData,Bg=e=>e>=200&&e<300,SI=e=>{try{return btoa(e)}catch{return Buffer.from(e).toString("base64")}},wI=e=>{const t=[],n=(o,i)=>{t.push(`${encodeURIComponent(o)}=${encodeURIComponent(String(i))}`)},r=(o,i)=>{i!=null&&(i instanceof Date?n(o,i.toISOString()):Array.isArray(i)?i.forEach(s=>r(o,s)):typeof i=="object"?Object.entries(i).forEach(([s,a])=>r(`${o}[${s}]`,a)):n(o,i))};return Object.entries(e).forEach(([o,i])=>r(o,i)),t.length?`?${t.join("&")}`:""},EI=(e,t)=>{const n=encodeURI,r=t.url.replace("{api-version}",e.VERSION).replace(/{(.*?)}/g,(i,s)=>t.path?.hasOwnProperty(s)?n(String(t.path[s])):i),o=e.BASE+r;return t.query?o+wI(t.query):o},OI=e=>{if(e.formData){const t=new FormData,n=(r,o)=>{Ai(o)||$g(o)?t.append(r,o):t.append(r,JSON.stringify(o))};return Object.entries(e.formData).filter(([,r])=>r!=null).forEach(([r,o])=>{Array.isArray(o)?o.forEach(i=>n(r,i)):n(r,o)}),t}},_i=async(e,t)=>t,PI=async(e,t)=>{const[n,r,o,i]=await Promise.all([_i(t,e.TOKEN),_i(t,e.USERNAME),_i(t,e.PASSWORD),_i(t,e.HEADERS)]),s=Object.entries({Accept:"application/json",...i,...t.headers}).filter(([,a])=>a!=null).reduce((a,[l,c])=>({...a,[l]:String(c)}),{});if(nl(n)&&(s.Authorization=`Bearer ${n}`),nl(r)&&nl(o)){const a=SI(`${r}:${o}`);s.Authorization=`Basic ${a}`}return t.body!==void 0?t.mediaType?s["Content-Type"]=t.mediaType:$g(t.body)?s["Content-Type"]=t.body.type||"application/octet-stream":Ai(t.body)?s["Content-Type"]="text/plain":CI(t.body)||(s["Content-Type"]="application/json"):t.formData!==void 0&&t.mediaType&&(s["Content-Type"]=t.mediaType),s},II=e=>{if(e.body)return e.body},RI=async(e,t,n,r,o,i,s,a)=>{const l=new AbortController;let c={data:r??o,headers:i,method:t.method,signal:l.signal,url:n,withCredentials:e.WITH_CREDENTIALS};s(()=>l.abort());for(const u of e.interceptors.request._fns)c=await u(c);try{return await a.request(c)}catch(u){const d=u;if(d.response)return d.response;throw u}},TI=(e,t)=>{if(t){const n=e.headers[t];if(Ai(n))return n}},NI=e=>{if(e.status!==204)return e.data},AI=(e,t)=>{const r={400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"Im a teapot",421:"Misdirected Request",422:"Unprocessable Content",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required",...e.errors}[t.status];if(r)throw new jg(e,t,r);if(!t.ok){const o=t.status??"unknown",i=t.statusText??"unknown",s=(()=>{try{return JSON.stringify(t.body,null,2)}catch{return}})();throw new jg(e,t,`Generic Error: status: ${o}; status text: ${i}; body: ${s}`)}},Ot=(e,t,n=le)=>new kI(async(r,o,i)=>{try{const s=EI(e,t),a=OI(t),l=II(t),c=await PI(e,t);if(!i.isCancelled){let u=await RI(e,t,s,l,a,c,i,n);for(const p of e.interceptors.response._fns)u=await p(u);const d=NI(u),h=TI(u,t.responseHeader);let m=d;t.responseTransformer&&Bg(u.status)&&(m=await t.responseTransformer(d));const g={url:s,ok:Bg(u.status),status:u.status,statusText:u.statusText,body:h??m};AI(t,g),r(g.body)}}catch(s){o(s)}});class Pt{static worker(){return Ot(Et,{method:"GET",url:"/edge_worker/ui/worker"})}static jobs(){return Ot(Et,{method:"GET",url:"/edge_worker/ui/jobs"})}static requestWorkerMaintenance(t){return Ot(Et,{method:"POST",url:"/edge_worker/ui/worker/{worker_name}/maintenance",path:{worker_name:t.workerName},body:t.requestBody,mediaType:"application/json",errors:{422:"Validation Error"}})}static updateWorkerMaintenance(t){return Ot(Et,{method:"PATCH",url:"/edge_worker/ui/worker/{worker_name}/maintenance",path:{worker_name:t.workerName},body:t.requestBody,mediaType:"application/json",errors:{422:"Validation Error"}})}static exitWorkerMaintenance(t){return Ot(Et,{method:"DELETE",url:"/edge_worker/ui/worker/{worker_name}/maintenance",path:{worker_name:t.workerName},errors:{422:"Validation Error"}})}static requestWorkerShutdown(t){return Ot(Et,{method:"POST",url:"/edge_worker/ui/worker/{worker_name}/shutdown",path:{worker_name:t.workerName},errors:{422:"Validation Error"}})}static deleteWorker(t){return Ot(Et,{method:"DELETE",url:"/edge_worker/ui/worker/{worker_name}",path:{worker_name:t.workerName},errors:{422:"Validation Error"}})}static addWorkerQueue(t){return Ot(Et,{method:"PUT",url:"/edge_worker/ui/worker/{worker_name}/queues/{queue_name}",path:{worker_name:t.workerName,queue_name:t.queueName},errors:{422:"Validation Error"}})}static removeWorkerQueue(t){return Ot(Et,{method:"DELETE",url:"/edge_worker/ui/worker/{worker_name}/queues/{queue_name}",path:{worker_name:t.workerName,queue_name:t.queueName},errors:{422:"Validation Error"}})}}const _I=(e,t)=>Rf({queryKey:vI(),queryFn:()=>Pt.worker(),...t}),VI=(e,t)=>Rf({queryKey:yI(),queryFn:()=>Pt.jobs(),...t}),FI=e=>En({mutationFn:({requestBody:t,workerName:n})=>Pt.requestWorkerMaintenance({requestBody:t,workerName:n}),...e}),LI=e=>En({mutationFn:({workerName:t})=>Pt.requestWorkerShutdown({workerName:t}),...e}),DI=e=>En({mutationFn:({queueName:t,workerName:n})=>Pt.addWorkerQueue({queueName:t,workerName:n}),...e}),zI=e=>En({mutationFn:({requestBody:t,workerName:n})=>Pt.updateWorkerMaintenance({requestBody:t,workerName:n}),...e}),MI=e=>En({mutationFn:({workerName:t})=>Pt.exitWorkerMaintenance({workerName:t}),...e}),jI=e=>En({mutationFn:({workerName:t})=>Pt.deleteWorker({workerName:t}),...e}),$I=e=>En({mutationFn:({queueName:t,workerName:n})=>Pt.removeWorkerQueue({queueName:t,workerName:n}),...e});function Vi(e){const t=new Date(e);if(!Number.isNaN(t.valueOf()))return t;const n=String(e).match(/\d+/g);if(n==null||n.length<=2)return t;{const[r,o,...i]=n.map(l=>parseInt(l)),s=[r,o-1,...i];return new Date(Date.UTC(...s))}}const Qr=(e,t,n)=>{const r=e!==1?t+"s":t;return e+" "+r+" "+n};function rl(){return rl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rl.apply(null,arguments)}const Jr=60,Zr=Jr*60,cr=Zr*24,Fi=cr*7,Wg=cr*30,Hg=cr*365,BI=()=>Date.now();function Li({date:e,formatter:t,component:n="time",live:r=!0,minPeriod:o=0,maxPeriod:i=Fi,title:s,now:a=BI,...l}){const[c,u]=P.useState(a());P.useEffect(()=>{if(!r)return;const I=(()=>{const R=Vi(e).valueOf();if(!R)return console.warn("[react-timeago] Invalid Date provided"),0;const _=Math.round(Math.abs(c-R)/1e3),A=_<Jr?1e3:_<Zr?1e3*Jr:_<cr?1e3*Zr:1e3*Fi,T=Math.min(Math.max(A,o*1e3),i*1e3);return T?setTimeout(()=>{u(a())},T):0})();return()=>{I&&clearTimeout(I)}},[e,r,i,o,a,c]),P.useEffect(()=>{u(a())},[e]);const d=n,h=Vi(e).valueOf();if(!h)return null;const m=Math.round(Math.abs(c-h)/1e3),g=h<c?"ago":"from now",[p,v]=m<Jr?[Math.round(m),"second"]:m<Zr?[Math.round(m/Jr),"minute"]:m<cr?[Math.round(m/Zr),"hour"]:m<Fi?[Math.round(m/cr),"day"]:m<Wg?[Math.round(m/Fi),"week"]:m<Hg?[Math.round(m/Wg),"month"]:[Math.round(m/Hg),"year"],y=typeof s>"u"?typeof e=="string"?e:Vi(e).toISOString().substring(0,16).replace("T"," "):s,x=d==="time"?{...l,dateTime:Vi(e).toISOString()}:l,b=(E=E,I=I,R=R,_=h,A=Qr,T=T)=>Qr(E,I,R),C=t||Qr;let k;try{k=C(p,v,g,h,b,a),k||(k=Qr(p,v,g,h,b,a))}catch(E){console.error("[react-timeago] Formatter threw an error:",E),k=Qr(p,v,g)}return O.createElement(d,rl({},x,{title:y}),k)}var Ug={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Gg=P.createContext&&P.createContext(Ug),WI=["attr","size","title"];function HI(e,t){if(e==null)return{};var n=UI(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function UI(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Di(){return Di=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Di.apply(this,arguments)}function qg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function zi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?qg(Object(n),!0).forEach(function(r){GI(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function GI(e,t,n){return t=qI(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qI(e){var t=KI(e,"string");return typeof t=="symbol"?t:t+""}function KI(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Kg(e){return e&&e.map((t,n)=>P.createElement(t.tag,zi({key:n},t.attr),Kg(t.child)))}function re(e){return t=>P.createElement(YI,Di({attr:zi({},e.attr)},t),Kg(e.child))}function YI(e){var t=n=>{var{attr:r,size:o,title:i}=e,s=HI(e,WI),a=o||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),P.createElement("svg",Di({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:l,style:zi(zi({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),i&&P.createElement("title",null,i),e.children)};return Gg!==void 0?P.createElement(Gg.Consumer,null,n=>t(n)):t(Ug)}function XI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 10v4h4"},child:[]},{tag:"path",attr:{d:"m11 14 1.535-1.605a5 5 0 0 1 8 1.5"},child:[]},{tag:"path",attr:{d:"M16 2v4"},child:[]},{tag:"path",attr:{d:"m21 18-1.535 1.605a5 5 0 0 1-8-1.5"},child:[]},{tag:"path",attr:{d:"M21 22v-4h-4"},child:[]},{tag:"path",attr:{d:"M21 8.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4.3"},child:[]},{tag:"path",attr:{d:"M3 10h4"},child:[]},{tag:"path",attr:{d:"M8 2v4"},child:[]}]})(e)}function QI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20 6 9 17l-5-5"},child:[]}]})(e)}function Yg(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.1 2.182a10 10 0 0 1 3.8 0"},child:[]},{tag:"path",attr:{d:"M13.9 21.818a10 10 0 0 1-3.8 0"},child:[]},{tag:"path",attr:{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7"},child:[]},{tag:"path",attr:{d:"M2.182 13.9a10 10 0 0 1 0-3.8"},child:[]},{tag:"path",attr:{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69"},child:[]},{tag:"path",attr:{d:"M21.818 10.1a10 10 0 0 1 0 3.8"},child:[]},{tag:"path",attr:{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69"},child:[]},{tag:"path",attr:{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7"},child:[]}]})(e)}function JI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 2a10 10 0 0 1 7.38 16.75"},child:[]},{tag:"path",attr:{d:"m16 12-4-4-4 4"},child:[]},{tag:"path",attr:{d:"M12 16V8"},child:[]},{tag:"path",attr:{d:"M2.5 8.875a10 10 0 0 0-.5 3"},child:[]},{tag:"path",attr:{d:"M2.83 16a10 10 0 0 0 2.43 3.4"},child:[]},{tag:"path",attr:{d:"M4.636 5.235a10 10 0 0 1 .891-.857"},child:[]},{tag:"path",attr:{d:"M8.644 21.42a10 10 0 0 0 7.631-.38"},child:[]}]})(e)}function ZI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M15 3h6v6"},child:[]},{tag:"path",attr:{d:"M10 14 21 3"},child:[]},{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"},child:[]}]})(e)}function Xg(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 12H3"},child:[]},{tag:"path",attr:{d:"M16 6H3"},child:[]},{tag:"path",attr:{d:"M16 18H3"},child:[]},{tag:"path",attr:{d:"M21 12h-6"},child:[]}]})(e)}function Qg(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 12H3"},child:[]},{tag:"path",attr:{d:"M16 6H3"},child:[]},{tag:"path",attr:{d:"M16 18H3"},child:[]},{tag:"path",attr:{d:"M18 9v6"},child:[]},{tag:"path",attr:{d:"M21 12h-6"},child:[]}]})(e)}function eR(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"m15 14 5-5-5-5"},child:[]},{tag:"path",attr:{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13"},child:[]}]})(e)}function tR(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 6 6 18"},child:[]},{tag:"path",attr:{d:"m6 6 12 12"},child:[]}]})(e)}const nR=P.forwardRef((e,t)=>f.jsx(St,{"aria-label":"Close",ref:t,variant:"ghost",...e,children:e.children??f.jsx(tR,{})})),rR=P.forwardRef((e,t)=>{const{children:n,closable:r,endElement:o,icon:i,onClose:s,startElement:a,title:l,...c}=e;return f.jsxs(RE,{ref:t,...c,alignItems:"center",children:[a??f.jsx(_E,{children:i}),n?f.jsxs(NE,{children:[f.jsx(Kh,{children:l}),f.jsx(TE,{children:n})]}):f.jsx(Kh,{flex:"1",children:l}),o,r?f.jsx(nR,{alignSelf:"flex-start",insetEnd:"-2",onClick:s,pos:"relative",size:"sm",top:"-2"}):void 0]})});/*!
+ */var Pg="popstate";function wP(e={}){function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return el("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Yr(o)}return EP(t,n,null,e)}function le(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function vt(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function SP(){return Math.random().toString(36).substring(2,10)}function Rg(e,t){return{usr:e.state,key:e.key,idx:t}}function el(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?cr(t):t,state:n,key:t&&t.key||r||SP()}}function Yr({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function cr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function EP(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a="POP",l=null,c=u();c==null&&(c=0,s.replaceState({...s.state,idx:c},""));function u(){return(s.state||{idx:null}).idx}function h(){a="POP";let v=u(),b=v==null?null:v-c;c=v,l&&l({action:a,location:p.location,delta:b})}function d(v,b){a="PUSH";let y=el(p.location,v,b);c=u()+1;let x=Rg(y,c),w=p.createHref(y);try{s.pushState(x,"",w)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;o.location.assign(w)}i&&l&&l({action:a,location:p.location,delta:1})}function m(v,b){a="REPLACE";let y=el(p.location,v,b);c=u();let x=Rg(y,c),w=p.createHref(y);s.replaceState(x,"",w),i&&l&&l({action:a,location:p.location,delta:0})}function f(v){return OP(v)}let p={get action(){return a},get location(){return e(o,s)},listen(v){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Pg,h),l=v,()=>{o.removeEventListener(Pg,h),l=null}},createHref(v){return t(o,v)},createURL:f,encodeLocation(v){let b=f(v);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:d,replace:m,go(v){return s.go(v)}};return p}function OP(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),le(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Yr(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function Ig(e,t,n="/"){return PP(e,t,n,!1)}function PP(e,t,n,r){let o=typeof t=="string"?cr(t):t,i=Pt(o.pathname||"/",n);if(i==null)return null;let s=Tg(e);RP(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let c=MP(i);a=DP(s[l],c,r)}return a}function Tg(e,t=[],n=[],r="",o=!1){let i=(s,a,l=o,c)=>{let u={relativePath:c===void 0?s.path||"":c,caseSensitive:s.caseSensitive===!0,childrenIndex:a,route:s};if(u.relativePath.startsWith("/")){if(!u.relativePath.startsWith(r)&&l)return;le(u.relativePath.startsWith(r),`Absolute route path "${u.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),u.relativePath=u.relativePath.slice(r.length)}let h=Rt([r,u.relativePath]),d=n.concat(u);s.children&&s.children.length>0&&(le(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),Tg(s.children,t,d,h,l)),!(s.path==null&&!s.index)&&t.push({path:h,score:FP(h,s.index),routesMeta:d})};return e.forEach((s,a)=>{if(s.path===""||!s.path?.includes("?"))i(s,a);else for(let l of Ng(s.path))i(s,a,!0,l)}),t}function Ng(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=Ng(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function RP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:LP(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var IP=/^:[\w-]+$/,TP=3,NP=2,AP=1,_P=10,VP=-2,Ag=e=>e==="*";function FP(e,t){let n=e.split("/"),r=n.length;return n.some(Ag)&&(r+=VP),t&&(r+=NP),n.filter(o=>!Ag(o)).reduce((o,i)=>o+(IP.test(i)?TP:i===""?AP:_P),r)}function LP(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function DP(e,t,n=!1){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],c=a===r.length-1,u=i==="/"?t:t.slice(i.length)||"/",h=Ti({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},u),d=l.route;if(!h&&c&&n&&!r[r.length-1].route.index&&(h=Ti({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!h)return null;Object.assign(o,h.params),s.push({params:o,pathname:Rt([i,h.pathname]),pathnameBase:WP(Rt([i,h.pathnameBase])),route:d}),h.pathnameBase!=="/"&&(i=Rt([i,h.pathnameBase]))}return s}function Ti(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=zP(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((c,{paramName:u,isOptional:h},d)=>{if(u==="*"){let f=a[d]||"";s=i.slice(0,i.length-f.length).replace(/(.)\/+$/,"$1")}const m=a[d];return h&&!m?c[u]=void 0:c[u]=(m||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:s,pattern:e}}function zP(e,t=!1,n=!0){vt(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function MP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return vt(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Pt(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function jP(e,t="/"){let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?cr(e):e;return{pathname:n?n.startsWith("/")?n:$P(n,t):t,search:HP(r),hash:UP(o)}}function $P(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function tl(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function BP(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function _g(e){let t=BP(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Vg(e,t,n,r=!1){let o;typeof e=="string"?o=cr(e):(o={...e},le(!o.pathname||!o.pathname.includes("?"),tl("?","pathname","search",o)),le(!o.pathname||!o.pathname.includes("#"),tl("#","pathname","hash",o)),le(!o.search||!o.search.includes("#"),tl("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let h=t.length-1;if(!r&&s.startsWith("..")){let d=s.split("/");for(;d[0]==="..";)d.shift(),h-=1;o.pathname=d.join("/")}a=h>=0?t[h]:"/"}let l=jP(o,a),c=s&&s!=="/"&&s.endsWith("/"),u=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}var Rt=e=>e.join("/").replace(/\/\/+/g,"/"),WP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),HP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,UP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function GP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Fg=["POST","PUT","PATCH","DELETE"];new Set(Fg);var qP=["GET",...Fg];new Set(qP);var ur=C.createContext(null);ur.displayName="DataRouter";var Ni=C.createContext(null);Ni.displayName="DataRouterState",C.createContext(!1);var Lg=C.createContext({isTransitioning:!1});Lg.displayName="ViewTransition";var KP=C.createContext(new Map);KP.displayName="Fetchers";var YP=C.createContext(null);YP.displayName="Await";var bt=C.createContext(null);bt.displayName="Navigation";var Xr=C.createContext(null);Xr.displayName="Location";var It=C.createContext({outlet:null,matches:[],isDataRoute:!1});It.displayName="Route";var nl=C.createContext(null);nl.displayName="RouteError";function XP(e,{relative:t}={}){le(Qr(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=C.useContext(bt),{hash:o,pathname:i,search:s}=Jr(e,{relative:t}),a=i;return n!=="/"&&(a=i==="/"?n:Rt([n,i])),r.createHref({pathname:a,search:s,hash:o})}function Qr(){return C.useContext(Xr)!=null}function Nn(){return le(Qr(),"useLocation() may be used only in the context of a <Router> component."),C.useContext(Xr).location}var Dg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function zg(e){C.useContext(bt).static||C.useLayoutEffect(e)}function QP(){let{isDataRoute:e}=C.useContext(It);return e?uR():JP()}function JP(){le(Qr(),"useNavigate() may be used only in the context of a <Router> component.");let e=C.useContext(ur),{basename:t,navigator:n}=C.useContext(bt),{matches:r}=C.useContext(It),{pathname:o}=Nn(),i=JSON.stringify(_g(r)),s=C.useRef(!1);return zg(()=>{s.current=!0}),C.useCallback((l,c={})=>{if(vt(s.current,Dg),!s.current)return;if(typeof l=="number"){n.go(l);return}let u=Vg(l,JSON.parse(i),o,c.relative==="path");e==null&&t!=="/"&&(u.pathname=u.pathname==="/"?t:Rt([t,u.pathname])),(c.replace?n.replace:n.push)(u,c.state,c)},[t,n,i,o,e])}C.createContext(null);function Jr(e,{relative:t}={}){let{matches:n}=C.useContext(It),{pathname:r}=Nn(),o=JSON.stringify(_g(n));return C.useMemo(()=>Vg(e,JSON.parse(o),r,t==="path"),[e,o,r,t])}function ZP(e,t){return Mg(e,t)}function Mg(e,t,n,r,o){le(Qr(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=C.useContext(bt),{matches:s}=C.useContext(It),a=s[s.length-1],l=a?a.params:{},c=a?a.pathname:"/",u=a?a.pathnameBase:"/",h=a&&a.route;{let y=h&&h.path||"";$g(c,!h||y.endsWith("*")||y.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${y}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
+
+Please change the parent <Route path="${y}"> to <Route path="${y==="/"?"*":`${y}/*`}">.`)}let d=Nn(),m;if(t){let y=typeof t=="string"?cr(t):t;le(u==="/"||y.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${y.pathname}" was given in the \`location\` prop.`),m=y}else m=d;let f=m.pathname||"/",p=f;if(u!=="/"){let y=u.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(y.length).join("/")}let v=Ig(e,{pathname:p});vt(h||v!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),vt(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=oR(v&&v.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:Rt([u,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?u:Rt([u,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),s,n,r,o);return t&&b?C.createElement(Xr.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...m},navigationType:"POP"}},b):b}function eR(){let e=cR(),t=GP(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=C.createElement(C.Fragment,null,C.createElement("p",null,"💿 Hey developer 👋"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:i},"ErrorBoundary")," or"," ",C.createElement("code",{style:i},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:o},n):null,s)}var tR=C.createElement(eR,null),nR=class extends C.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.unstable_onError?this.props.unstable_onError(e,t):console.error("React Router caught the following error during render",e)}render(){return this.state.error!==void 0?C.createElement(It.Provider,{value:this.props.routeContext},C.createElement(nl.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function rR({routeContext:e,match:t,children:n}){let r=C.useContext(ur);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),C.createElement(It.Provider,{value:e},n)}function oR(e,t=[],n=null,r=null,o=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,s=n?.errors;if(s!=null){let c=i.findIndex(u=>u.route.id&&s?.[u.route.id]!==void 0);le(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),i=i.slice(0,Math.min(i.length,c+1))}let a=!1,l=-1;if(n)for(let c=0;c<i.length;c++){let u=i[c];if((u.route.HydrateFallback||u.route.hydrateFallbackElement)&&(l=c),u.route.id){let{loaderData:h,errors:d}=n,m=u.route.loader&&!h.hasOwnProperty(u.route.id)&&(!d||d[u.route.id]===void 0);if(u.route.lazy||m){a=!0,l>=0?i=i.slice(0,l+1):i=[i[0]];break}}}return i.reduceRight((c,u,h)=>{let d,m=!1,f=null,p=null;n&&(d=s&&u.route.id?s[u.route.id]:void 0,f=u.route.errorElement||tR,a&&(l<0&&h===0?($g("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),m=!0,p=null):l===h&&(m=!0,p=u.route.hydrateFallbackElement||null)));let v=t.concat(i.slice(0,h+1)),b=()=>{let y;return d?y=f:m?y=p:u.route.Component?y=C.createElement(u.route.Component,null):u.route.element?y=u.route.element:y=c,C.createElement(rR,{match:u,routeContext:{outlet:c,matches:v,isDataRoute:n!=null},children:y})};return n&&(u.route.ErrorBoundary||u.route.errorElement||h===0)?C.createElement(nR,{location:n.location,revalidation:n.revalidation,component:f,error:d,children:b(),routeContext:{outlet:null,matches:v,isDataRoute:!0},unstable_onError:r}):b()},null)}function rl(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function iR(e){let t=C.useContext(ur);return le(t,rl(e)),t}function sR(e){let t=C.useContext(Ni);return le(t,rl(e)),t}function aR(e){let t=C.useContext(It);return le(t,rl(e)),t}function ol(e){let t=aR(e),n=t.matches[t.matches.length-1];return le(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function lR(){return ol("useRouteId")}function cR(){let e=C.useContext(nl),t=sR("useRouteError"),n=ol("useRouteError");return e!==void 0?e:t.errors?.[n]}function uR(){let{router:e}=iR("useNavigate"),t=ol("useNavigate"),n=C.useRef(!1);return zg(()=>{n.current=!0}),C.useCallback(async(o,i={})=>{vt(n.current,Dg),n.current&&(typeof o=="number"?e.navigate(o):await e.navigate(o,{fromRouteId:t,...i}))},[e,t])}var jg={};function $g(e,t,n){!t&&!jg[e]&&(jg[e]=!0,vt(!1,n))}C.memo(dR);function dR({routes:e,future:t,state:n,unstable_onError:r}){return Mg(e,void 0,n,r,t)}function il(e){le(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function hR({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:i=!1}){le(!Qr(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),a=C.useMemo(()=>({basename:s,navigator:o,static:i,future:{}}),[s,o,i]);typeof n=="string"&&(n=cr(n));let{pathname:l="/",search:c="",hash:u="",state:h=null,key:d="default"}=n,m=C.useMemo(()=>{let f=Pt(l,s);return f==null?null:{location:{pathname:f,search:c,hash:u,state:h,key:d},navigationType:r}},[s,l,c,u,h,d,r]);return vt(m!=null,`<Router basename="${s}"> is not able to match the URL "${l}${c}${u}" because it does not start with the basename, so the <Router> won't render anything.`),m==null?null:C.createElement(bt.Provider,{value:a},C.createElement(Xr.Provider,{children:t,value:m}))}function fR({children:e,location:t}){return ZP(sl(e),t)}function sl(e,t=[]){let n=[];return C.Children.forEach(e,(r,o)=>{if(!C.isValidElement(r))return;let i=[...t,o];if(r.type===C.Fragment){n.push.apply(n,sl(r.props.children,i));return}le(r.type===il,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),le(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=sl(r.props.children,i)),n.push(s)}),n}var Ai="get",_i="application/x-www-form-urlencoded";function Vi(e){return e!=null&&typeof e.tagName=="string"}function gR(e){return Vi(e)&&e.tagName.toLowerCase()==="button"}function pR(e){return Vi(e)&&e.tagName.toLowerCase()==="form"}function mR(e){return Vi(e)&&e.tagName.toLowerCase()==="input"}function vR(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function bR(e,t){return e.button===0&&(!t||t==="_self")&&!vR(e)}var Fi=null;function yR(){if(Fi===null)try{new FormData(document.createElement("form"),0),Fi=!1}catch{Fi=!0}return Fi}var xR=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function al(e){return e!=null&&!xR.has(e)?(vt(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${_i}"`),null):e}function kR(e,t){let n,r,o,i,s;if(pR(e)){let a=e.getAttribute("action");r=a?Pt(a,t):null,n=e.getAttribute("method")||Ai,o=al(e.getAttribute("enctype"))||_i,i=new FormData(e)}else if(gR(e)||mR(e)&&(e.type==="submit"||e.type==="image")){let a=e.form;if(a==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||a.getAttribute("action");if(r=l?Pt(l,t):null,n=e.getAttribute("formmethod")||a.getAttribute("method")||Ai,o=al(e.getAttribute("formenctype"))||al(a.getAttribute("enctype"))||_i,i=new FormData(a,e),!yR()){let{name:c,type:u,value:h}=e;if(u==="image"){let d=c?`${c}.`:"";i.append(`${d}x`,"0"),i.append(`${d}y`,"0")}else c&&i.append(c,h)}}else{if(Vi(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Ai,r=null,o=_i,s=e}return i&&o==="text/plain"&&(s=i,i=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:i,body:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ll(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function CR(e,t,n){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname=`_root.${n}`:t&&Pt(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${n}`,r}async function wR(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function SR(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function ER(e,t,n){let r=await Promise.all(e.map(async o=>{let i=t.routes[o.route.id];if(i){let s=await wR(i,n);return s.links?s.links():[]}return[]}));return IR(r.flat(1).filter(SR).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Bg(e,t,n,r,o,i){let s=(l,c)=>n[c]?l.route.id!==n[c].route.id:!0,a=(l,c)=>n[c].pathname!==l.pathname||n[c].route.path?.endsWith("*")&&n[c].params["*"]!==l.params["*"];return i==="assets"?t.filter((l,c)=>s(l,c)||a(l,c)):i==="data"?t.filter((l,c)=>{let u=r.routes[l.route.id];if(!u||!u.hasLoader)return!1;if(s(l,c)||a(l,c))return!0;if(l.route.shouldRevalidate){let h=l.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:l.params,defaultShouldRevalidate:!0});if(typeof h=="boolean")return h}return!0}):[]}function OR(e,t,{includeHydrateFallback:n}={}){return PR(e.map(r=>{let o=t.routes[r.route.id];if(!o)return[];let i=[o.module];return o.clientActionModule&&(i=i.concat(o.clientActionModule)),o.clientLoaderModule&&(i=i.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(i=i.concat(o.hydrateFallbackModule)),o.imports&&(i=i.concat(o.imports)),i}).flat(1))}function PR(e){return[...new Set(e)]}function RR(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function IR(e,t){let n=new Set;return new Set(t),e.reduce((r,o)=>{let i=JSON.stringify(RR(o));return n.has(i)||(n.add(i),r.push({key:i,link:o})),r},[])}function Wg(){let e=C.useContext(ur);return ll(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function TR(){let e=C.useContext(Ni);return ll(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var cl=C.createContext(void 0);cl.displayName="FrameworkContext";function Hg(){let e=C.useContext(cl);return ll(e,"You must render this element inside a <HydratedRouter> element"),e}function NR(e,t){let n=C.useContext(cl),[r,o]=C.useState(!1),[i,s]=C.useState(!1),{onFocus:a,onBlur:l,onMouseEnter:c,onMouseLeave:u,onTouchStart:h}=t,d=C.useRef(null);C.useEffect(()=>{if(e==="render"&&s(!0),e==="viewport"){let p=b=>{b.forEach(y=>{s(y.isIntersecting)})},v=new IntersectionObserver(p,{threshold:.5});return d.current&&v.observe(d.current),()=>{v.disconnect()}}},[e]),C.useEffect(()=>{if(r){let p=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(p)}}},[r]);let m=()=>{o(!0)},f=()=>{o(!1),s(!1)};return n?e!=="intent"?[i,d,{}]:[i,d,{onFocus:Zr(a,m),onBlur:Zr(l,f),onMouseEnter:Zr(c,m),onMouseLeave:Zr(u,f),onTouchStart:Zr(h,m)}]:[!1,d,{}]}function Zr(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function AR({page:e,...t}){let{router:n}=Wg(),r=C.useMemo(()=>Ig(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?C.createElement(VR,{page:e,matches:r,...t}):null}function _R(e){let{manifest:t,routeModules:n}=Hg(),[r,o]=C.useState([]);return C.useEffect(()=>{let i=!1;return ER(e,t,n).then(s=>{i||o(s)}),()=>{i=!0}},[e,t,n]),r}function VR({page:e,matches:t,...n}){let r=Nn(),{manifest:o,routeModules:i}=Hg(),{basename:s}=Wg(),{loaderData:a,matches:l}=TR(),c=C.useMemo(()=>Bg(e,t,l,o,r,"data"),[e,t,l,o,r]),u=C.useMemo(()=>Bg(e,t,l,o,r,"assets"),[e,t,l,o,r]),h=C.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let f=new Set,p=!1;if(t.forEach(b=>{let y=o.routes[b.route.id];!y||!y.hasLoader||(!c.some(x=>x.route.id===b.route.id)&&b.route.id in a&&i[b.route.id]?.shouldRevalidate||y.hasClientLoader?p=!0:f.add(b.route.id))}),f.size===0)return[];let v=CR(e,s,"data");return p&&f.size>0&&v.searchParams.set("_routes",t.filter(b=>f.has(b.route.id)).map(b=>b.route.id).join(",")),[v.pathname+v.search]},[s,a,r,o,c,t,e,i]),d=C.useMemo(()=>OR(u,o),[u,o]),m=_R(u);return C.createElement(C.Fragment,null,h.map(f=>C.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...n})),d.map(f=>C.createElement("link",{key:f,rel:"modulepreload",href:f,...n})),m.map(({key:f,link:p})=>C.createElement("link",{key:f,nonce:n.nonce,...p})))}function FR(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var Ug=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Ug&&(window.__reactRouterVersion="7.9.1")}catch{}function LR({basename:e,children:t,window:n}){let r=C.useRef();r.current==null&&(r.current=wP({window:n,v5Compat:!0}));let o=r.current,[i,s]=C.useState({action:o.action,location:o.location}),a=C.useCallback(l=>{C.startTransition(()=>s(l))},[s]);return C.useLayoutEffect(()=>o.listen(a),[o,a]),C.createElement(hR,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:o})}var Gg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ul=C.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:o,reloadDocument:i,replace:s,state:a,target:l,to:c,preventScrollReset:u,viewTransition:h,...d},m){let{basename:f}=C.useContext(bt),p=typeof c=="string"&&Gg.test(c),v,b=!1;if(typeof c=="string"&&p&&(v=c,Ug))try{let N=new URL(window.location.href),A=c.startsWith("//")?new URL(N.protocol+c):new URL(c),T=Pt(A.pathname,f);A.origin===N.origin&&T!=null?c=T+A.search+A.hash:b=!0}catch{vt(!1,`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let y=XP(c,{relative:o}),[x,w,k]=NR(r,d),O=MR(c,{replace:s,state:a,target:l,preventScrollReset:u,relative:o,viewTransition:h});function R(N){t&&t(N),N.defaultPrevented||O(N)}let I=C.createElement("a",{...d,...k,href:v||y,onClick:b||i?t:R,ref:FR(m,w),target:l,"data-discover":!p&&n==="render"?"true":void 0});return x&&!p?C.createElement(C.Fragment,null,I,C.createElement(AR,{page:y})):I});ul.displayName="Link";var qg=C.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:o=!1,style:i,to:s,viewTransition:a,children:l,...c},u){let h=Jr(s,{relative:c.relative}),d=Nn(),m=C.useContext(Ni),{navigator:f,basename:p}=C.useContext(bt),v=m!=null&&HR(h)&&a===!0,b=f.encodeLocation?f.encodeLocation(h).pathname:h.pathname,y=d.pathname,x=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;n||(y=y.toLowerCase(),x=x?x.toLowerCase():null,b=b.toLowerCase()),x&&p&&(x=Pt(x,p)||x);const w=b!=="/"&&b.endsWith("/")?b.length-1:b.length;let k=y===b||!o&&y.startsWith(b)&&y.charAt(w)==="/",O=x!=null&&(x===b||!o&&x.startsWith(b)&&x.charAt(b.length)==="/"),R={isActive:k,isPending:O,isTransitioning:v},I=k?t:void 0,N;typeof r=="function"?N=r(R):N=[r,k?"active":null,O?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let A=typeof i=="function"?i(R):i;return C.createElement(ul,{...c,"aria-current":I,className:N,ref:u,style:A,to:s,viewTransition:a},typeof l=="function"?l(R):l)});qg.displayName="NavLink";var DR=C.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:o,state:i,method:s=Ai,action:a,onSubmit:l,relative:c,preventScrollReset:u,viewTransition:h,...d},m)=>{let f=BR(),p=WR(a,{relative:c}),v=s.toLowerCase()==="get"?"get":"post",b=typeof a=="string"&&Gg.test(a),y=x=>{if(l&&l(x),x.defaultPrevented)return;x.preventDefault();let w=x.nativeEvent.submitter,k=w?.getAttribute("formmethod")||s;f(w||x.currentTarget,{fetcherKey:t,method:k,navigate:n,replace:o,state:i,relative:c,preventScrollReset:u,viewTransition:h})};return C.createElement("form",{ref:m,method:v,action:p,onSubmit:r?l:y,...d,"data-discover":!b&&e==="render"?"true":void 0})});DR.displayName="Form";function zR(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Kg(e){let t=C.useContext(ur);return le(t,zR(e)),t}function MR(e,{target:t,replace:n,state:r,preventScrollReset:o,relative:i,viewTransition:s}={}){let a=QP(),l=Nn(),c=Jr(e,{relative:i});return C.useCallback(u=>{if(bR(u,t)){u.preventDefault();let h=n!==void 0?n:Yr(l)===Yr(c);a(e,{replace:h,state:r,preventScrollReset:o,relative:i,viewTransition:s})}},[l,a,c,n,r,t,e,o,i,s])}var jR=0,$R=()=>`__${String(++jR)}__`;function BR(){let{router:e}=Kg("useSubmit"),{basename:t}=C.useContext(bt),n=lR();return C.useCallback(async(r,o={})=>{let{action:i,method:s,encType:a,formData:l,body:c}=kR(r,t);if(o.navigate===!1){let u=o.fetcherKey||$R();await e.fetch(u,n,o.action||i,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||s,formEncType:o.encType||a,flushSync:o.flushSync})}else await e.navigate(o.action||i,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||s,formEncType:o.encType||a,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[e,t,n])}function WR(e,{relative:t}={}){let{basename:n}=C.useContext(bt),r=C.useContext(It);le(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),i={...Jr(e||".",{relative:t})},s=Nn();if(e==null){i.search=s.search;let a=new URLSearchParams(i.search),l=a.getAll("index");if(l.some(u=>u==="")){a.delete("index"),l.filter(h=>h).forEach(h=>a.append("index",h));let u=a.toString();i.search=u?`?${u}`:""}}return(!e||e===".")&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(i.pathname=i.pathname==="/"?n:Rt([n,i.pathname])),Yr(i)}function HR(e,{relative:t}={}){let n=C.useContext(Lg);le(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Kg("useViewTransitionState"),o=Jr(e,{relative:t});if(!n.isTransitioning)return!1;let i=Pt(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=Pt(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Ti(o.pathname,s)!=null||Ti(o.pathname,i)!=null}const UR="UiServiceWorker",GR=e=>[UR],qR="UiServiceJobs",KR=e=>[qR];class Yg{_fns;constructor(){this._fns=[]}eject(t){const n=this._fns.indexOf(t);n!==-1&&(this._fns=[...this._fns.slice(0,n),...this._fns.slice(n+1)])}use(t){this._fns=[...this._fns,t]}}const Tt={BASE:"",CREDENTIALS:"include",ENCODE_PATH:void 0,HEADERS:void 0,PASSWORD:void 0,TOKEN:void 0,USERNAME:void 0,VERSION:"0.1.0",WITH_CREDENTIALS:!1,interceptors:{request:new Yg,response:new Yg}};class Xg extends Error{url;status;statusText;body;request;constructor(t,n,r){super(r),this.name="ApiError",this.url=n.url,this.status=n.status,this.statusText=n.statusText,this.body=n.body,this.request=t}}class YR extends Error{constructor(t){super(t),this.name="CancelError"}get isCancelled(){return!0}}class XR{_isResolved;_isRejected;_isCancelled;cancelHandlers;promise;_resolve;_reject;constructor(t){this._isResolved=!1,this._isRejected=!1,this._isCancelled=!1,this.cancelHandlers=[],this.promise=new Promise((n,r)=>{this._resolve=n,this._reject=r;const o=a=>{this._isResolved||this._isRejected||this._isCancelled||(this._isResolved=!0,this._resolve&&this._resolve(a))},i=a=>{this._isResolved||this._isRejected||this._isCancelled||(this._isRejected=!0,this._reject&&this._reject(a))},s=a=>{this._isResolved||this._isRejected||this._isCancelled||this.cancelHandlers.push(a)};return Object.defineProperty(s,"isResolved",{get:()=>this._isResolved}),Object.defineProperty(s,"isRejected",{get:()=>this._isRejected}),Object.defineProperty(s,"isCancelled",{get:()=>this._isCancelled}),t(o,i,s)})}get[Symbol.toStringTag](){return"Cancellable Promise"}then(t,n){return this.promise.then(t,n)}catch(t){return this.promise.catch(t)}finally(t){return this.promise.finally(t)}cancel(){if(!(this._isResolved||this._isRejected||this._isCancelled)){if(this._isCancelled=!0,this.cancelHandlers.length)try{for(const t of this.cancelHandlers)t()}catch(t){console.warn("Cancellation threw an error",t);return}this.cancelHandlers.length=0,this._reject&&this._reject(new YR("Request aborted"))}}get isCancelled(){return this._isCancelled}}const Li=e=>typeof e=="string",dl=e=>Li(e)&&e!=="",Qg=e=>e instanceof Blob,QR=e=>e instanceof FormData,Jg=e=>e>=200&&e<300,JR=e=>{try{return btoa(e)}catch{return Buffer.from(e).toString("base64")}},ZR=e=>{const t=[],n=(o,i)=>{t.push(`${encodeURIComponent(o)}=${encodeURIComponent(String(i))}`)},r=(o,i)=>{i!=null&&(i instanceof Date?n(o,i.toISOString()):Array.isArray(i)?i.forEach(s=>r(o,s)):typeof i=="object"?Object.entries(i).forEach(([s,a])=>r(`${o}[${s}]`,a)):n(o,i))};return Object.entries(e).forEach(([o,i])=>r(o,i)),t.length?`?${t.join("&")}`:""},eI=(e,t)=>{const n=encodeURI,r=t.url.replace("{api-version}",e.VERSION).replace(/{(.*?)}/g,(i,s)=>t.path?.hasOwnProperty(s)?n(String(t.path[s])):i),o=e.BASE+r;return t.query?o+ZR(t.query):o},tI=e=>{if(e.formData){const t=new FormData,n=(r,o)=>{Li(o)||Qg(o)?t.append(r,o):t.append(r,JSON.stringify(o))};return Object.entries(e.formData).filter(([,r])=>r!=null).forEach(([r,o])=>{Array.isArray(o)?o.forEach(i=>n(r,i)):n(r,o)}),t}},Di=async(e,t)=>t,nI=async(e,t)=>{const[n,r,o,i]=await Promise.all([Di(t,e.TOKEN),Di(t,e.USERNAME),Di(t,e.PASSWORD),Di(t,e.HEADERS)]),s=Object.entries({Accept:"application/json",...i,...t.headers}).filter(([,a])=>a!=null).reduce((a,[l,c])=>({...a,[l]:String(c)}),{});if(dl(n)&&(s.Authorization=`Bearer ${n}`),dl(r)&&dl(o)){const a=JR(`${r}:${o}`);s.Authorization=`Basic ${a}`}return t.body!==void 0?t.mediaType?s["Content-Type"]=t.mediaType:Qg(t.body)?s["Content-Type"]=t.body.type||"application/octet-stream":Li(t.body)?s["Content-Type"]="text/plain":QR(t.body)||(s["Content-Type"]="application/json"):t.formData!==void 0&&t.mediaType&&(s["Content-Type"]=t.mediaType),s},rI=e=>{if(e.body)return e.body},oI=async(e,t,n,r,o,i,s,a)=>{const l=new AbortController;let c={data:r??o,headers:i,method:t.method,signal:l.signal,url:n,withCredentials:e.WITH_CREDENTIALS};s(()=>l.abort());for(const u of e.interceptors.request._fns)c=await u(c);try{return await a.request(c)}catch(u){const h=u;if(h.response)return h.response;throw u}},iI=(e,t)=>{if(t){const n=e.headers[t];if(Li(n))return n}},sI=e=>{if(e.status!==204)return e.data},aI=(e,t)=>{const r={400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"Im a teapot",421:"Misdirected Request",422:"Unprocessable Content",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required",...e.errors}[t.status];if(r)throw new Xg(e,t,r);if(!t.ok){const o=t.status??"unknown",i=t.statusText??"unknown",s=(()=>{try{return JSON.stringify(t.body,null,2)}catch{return}})();throw new Xg(e,t,`Generic Error: status: ${o}; status text: ${i}; body: ${s}`)}},Nt=(e,t,n=ce)=>new XR(async(r,o,i)=>{try{const s=eI(e,t),a=tI(t),l=rI(t),c=await nI(e,t);if(!i.isCancelled){let u=await oI(e,t,s,l,a,c,i,n);for(const p of e.interceptors.response._fns)u=await p(u);const h=sI(u),d=iI(u,t.responseHeader);let m=h;t.responseTransformer&&Jg(u.status)&&(m=await t.responseTransformer(h));const f={url:s,ok:Jg(u.status),status:u.status,statusText:u.statusText,body:d??m};aI(t,f),r(f.body)}}catch(s){o(s)}});class At{static worker(){return Nt(Tt,{method:"GET",url:"/edge_worker/ui/worker"})}static jobs(){return Nt(Tt,{method:"GET",url:"/edge_worker/ui/jobs"})}static requestWorkerMaintenance(t){return Nt(Tt,{method:"POST",url:"/edge_worker/ui/worker/{worker_name}/maintenance",path:{worker_name:t.workerName},body:t.requestBody,mediaType:"application/json",errors:{422:"Validation Error"}})}static updateWorkerMaintenance(t){return Nt(Tt,{method:"PATCH",url:"/edge_worker/ui/worker/{worker_name}/maintenance",path:{worker_name:t.workerName},body:t.requestBody,mediaType:"application/json",errors:{422:"Validation Error"}})}static exitWorkerMaintenance(t){return Nt(Tt,{method:"DELETE",url:"/edge_worker/ui/worker/{worker_name}/maintenance",path:{worker_name:t.workerName},errors:{422:"Validation Error"}})}static requestWorkerShutdown(t){return Nt(Tt,{method:"POST",url:"/edge_worker/ui/worker/{worker_name}/shutdown",path:{worker_name:t.workerName},errors:{422:"Validation Error"}})}static deleteWorker(t){return Nt(Tt,{method:"DELETE",url:"/edge_worker/ui/worker/{worker_name}",path:{worker_name:t.workerName},errors:{422:"Validation Error"}})}static addWorkerQueue(t){return Nt(Tt,{method:"PUT",url:"/edge_worker/ui/worker/{worker_name}/queues/{queue_name}",path:{worker_name:t.workerName,queue_name:t.queueName},errors:{422:"Validation Error"}})}static removeWorkerQueue(t){return Nt(Tt,{method:"DELETE",url:"/edge_worker/ui/worker/{worker_name}/queues/{queue_name}",path:{worker_name:t.workerName,queue_name:t.queueName},errors:{422:"Validation Error"}})}}const lI=(e,t)=>zf({queryKey:GR(),queryFn:()=>At.worker(),...t}),cI=(e,t)=>zf({queryKey:KR(),queryFn:()=>At.jobs(),...t}),uI=e=>Pn({mutationFn:({requestBody:t,workerName:n})=>At.requestWorkerMaintenance({requestBody:t,workerName:n}),...e}),dI=e=>Pn({mutationFn:({workerName:t})=>At.requestWorkerShutdown({workerName:t}),...e}),hI=e=>Pn({mutationFn:({queueName:t,workerName:n})=>At.addWorkerQueue({queueName:t,workerName:n}),...e}),fI=e=>Pn({mutationFn:({requestBody:t,workerName:n})=>At.updateWorkerMaintenance({requestBody:t,workerName:n}),...e}),gI=e=>Pn({mutationFn:({workerName:t})=>At.exitWorkerMaintenance({workerName:t}),...e}),pI=e=>Pn({mutationFn:({workerName:t})=>At.deleteWorker({workerName:t}),...e}),mI=e=>Pn({mutationFn:({queueName:t,workerName:n})=>At.removeWorkerQueue({queueName:t,workerName:n}),...e});function zi(e){const t=new Date(e);if(!Number.isNaN(t.valueOf()))return t;const n=String(e).match(/\d+/g);if(n==null||n.length<=2)return t;{const[r,o,...i]=n.map(l=>parseInt(l)),s=[r,o-1,...i];return new Date(Date.UTC(...s))}}const eo=(e,t,n)=>{const r=e!==1?t+"s":t;return e+" "+r+" "+n};function hl(){return hl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hl.apply(null,arguments)}const to=60,no=to*60,dr=no*24,Mi=dr*7,Zg=dr*30,ep=dr*365,vI=()=>Date.now();function ji({date:e,formatter:t,component:n="time",live:r=!0,minPeriod:o=0,maxPeriod:i=Mi,title:s,now:a=vI,...l}){const[c,u]=P.useState(a());P.useEffect(()=>{if(!r)return;const R=(()=>{const I=zi(e).valueOf();if(!I)return console.warn("[react-timeago] Invalid Date provided"),0;const N=Math.round(Math.abs(c-I)/1e3),A=N<to?1e3:N<no?1e3*to:N<dr?1e3*no:1e3*Mi,T=Math.min(Math.max(A,o*1e3),i*1e3);return T?setTimeout(()=>{u(a())},T):0})();return()=>{R&&clearTimeout(R)}},[e,r,i,o,a,c]),P.useEffect(()=>{u(a())},[e]);const h=n,d=zi(e).valueOf();if(!d)return null;const m=Math.round(Math.abs(c-d)/1e3),f=d<c?"ago":"from now",[p,v]=m<to?[Math.round(m),"second"]:m<no?[Math.round(m/to),"minute"]:m<dr?[Math.round(m/no),"hour"]:m<Mi?[Math.round(m/dr),"day"]:m<Zg?[Math.round(m/Mi),"week"]:m<ep?[Math.round(m/Zg),"month"]:[Math.round(m/ep),"year"],b=typeof s>"u"?typeof e=="string"?e:zi(e).toISOString().substring(0,16).replace("T"," "):s,y=h==="time"?{...l,dateTime:zi(e).toISOString()}:l,x=(O=O,R=R,I=I,N=d,A=eo,T=T)=>eo(O,R,I),w=t||eo;let k;try{k=w(p,v,f,d,x,a),k||(k=eo(p,v,f,d,x,a))}catch(O){console.error("[react-timeago] Formatter threw an error:",O),k=eo(p,v,f)}return C.createElement(h,hl({},y,{title:b}),k)}var tp={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},np=P.createContext&&P.createContext(tp),bI=["attr","size","title"];function yI(e,t){if(e==null)return{};var n=xI(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xI(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function $i(){return $i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$i.apply(this,arguments)}function rp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Bi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rp(Object(n),!0).forEach(function(r){kI(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function kI(e,t,n){return t=CI(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function CI(e){var t=wI(e,"string");return typeof t=="symbol"?t:t+""}function wI(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function op(e){return e&&e.map((t,n)=>P.createElement(t.tag,Bi({key:n},t.attr),op(t.child)))}function re(e){return t=>P.createElement(SI,$i({attr:Bi({},e.attr)},t),op(e.child))}function SI(e){var t=n=>{var{attr:r,size:o,title:i}=e,s=yI(e,bI),a=o||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),P.createElement("svg",$i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:l,style:Bi(Bi({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),i&&P.createElement("title",null,i),e.children)};return np!==void 0?P.createElement(np.Consumer,null,n=>t(n)):t(tp)}function EI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 10v4h4"},child:[]},{tag:"path",attr:{d:"m11 14 1.535-1.605a5 5 0 0 1 8 1.5"},child:[]},{tag:"path",attr:{d:"M16 2v4"},child:[]},{tag:"path",attr:{d:"m21 18-1.535 1.605a5 5 0 0 1-8-1.5"},child:[]},{tag:"path",attr:{d:"M21 22v-4h-4"},child:[]},{tag:"path",attr:{d:"M21 8.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4.3"},child:[]},{tag:"path",attr:{d:"M3 10h4"},child:[]},{tag:"path",attr:{d:"M8 2v4"},child:[]}]})(e)}function OI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20 6 9 17l-5-5"},child:[]}]})(e)}function ip(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.1 2.182a10 10 0 0 1 3.8 0"},child:[]},{tag:"path",attr:{d:"M13.9 21.818a10 10 0 0 1-3.8 0"},child:[]},{tag:"path",attr:{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7"},child:[]},{tag:"path",attr:{d:"M2.182 13.9a10 10 0 0 1 0-3.8"},child:[]},{tag:"path",attr:{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69"},child:[]},{tag:"path",attr:{d:"M21.818 10.1a10 10 0 0 1 0 3.8"},child:[]},{tag:"path",attr:{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69"},child:[]},{tag:"path",attr:{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7"},child:[]}]})(e)}function PI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 2a10 10 0 0 1 7.38 16.75"},child:[]},{tag:"path",attr:{d:"m16 12-4-4-4 4"},child:[]},{tag:"path",attr:{d:"M12 16V8"},child:[]},{tag:"path",attr:{d:"M2.5 8.875a10 10 0 0 0-.5 3"},child:[]},{tag:"path",attr:{d:"M2.83 16a10 10 0 0 0 2.43 3.4"},child:[]},{tag:"path",attr:{d:"M4.636 5.235a10 10 0 0 1 .891-.857"},child:[]},{tag:"path",attr:{d:"M8.644 21.42a10 10 0 0 0 7.631-.38"},child:[]}]})(e)}function RI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M15 3h6v6"},child:[]},{tag:"path",attr:{d:"M10 14 21 3"},child:[]},{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"},child:[]}]})(e)}function sp(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 12H3"},child:[]},{tag:"path",attr:{d:"M16 6H3"},child:[]},{tag:"path",attr:{d:"M16 18H3"},child:[]},{tag:"path",attr:{d:"M21 12h-6"},child:[]}]})(e)}function ap(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 12H3"},child:[]},{tag:"path",attr:{d:"M16 6H3"},child:[]},{tag:"path",attr:{d:"M16 18H3"},child:[]},{tag:"path",attr:{d:"M18 9v6"},child:[]},{tag:"path",attr:{d:"M21 12h-6"},child:[]}]})(e)}function II(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"m15 14 5-5-5-5"},child:[]},{tag:"path",attr:{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13"},child:[]}]})(e)}function TI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 6 6 18"},child:[]},{tag:"path",attr:{d:"m6 6 12 12"},child:[]}]})(e)}const NI=P.forwardRef((e,t)=>g.jsx(Et,{"aria-label":"Close",ref:t,variant:"ghost",...e,children:e.children??g.jsx(TI,{})})),AI=P.forwardRef((e,t)=>{const{children:n,closable:r,endElement:o,icon:i,onClose:s,startElement:a,title:l,...c}=e;return g.jsxs(ME,{ref:t,...c,alignItems:"center",children:[a??g.jsx(WE,{children:i}),n?g.jsxs($E,{children:[g.jsx(rf,{children:l}),g.jsx(jE,{children:n})]}):g.jsx(rf,{flex:"1",children:l}),o,r?g.jsx(NI,{alignSelf:"flex-start",insetEnd:"-2",onClick:s,pos:"relative",size:"sm",top:"-2"}):void 0]})});/*!
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -70,7 +54,7 @@
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- */const oR=Ek({pauseOnPageIdle:!0,placement:"bottom-end"});/*!
+ */const _I=Fk({pauseOnPageIdle:!0,placement:"bottom-end"});/*!
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -87,7 +71,7 @@
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- */const iR=({block:e="start",inline:t="nearest"})=>{const[n,r]=P.useState(()=>window.location.hash);return P.useEffect(()=>{const o=()=>r(window.location.hash);return window.addEventListener("hashchange",o),()=>window.removeEventListener("hashchange",o)},[]),P.useEffect(()=>{if(n){const o=document.getElementById(n.slice(1));o&&o.scrollIntoView({behavior:"auto",block:e,inline:t})}},[n,e,t]),null},Jg=({error:e})=>{const t=e;if(!t)return;const n=t.body?.detail;let r;return n!==void 0&&(typeof n=="string"?r=n:Array.isArray(n)?r=n.map(o=>`${o.loc.join(".")} ${o.msg}`):r=Object.keys(n).map(o=>`${o}: ${n[o]}`)),f.jsx(rR,{status:"error",children:f.jsxs(XE,{align:"start",flexDirection:"column",gap:2,mt:-1,children:[t.status," ",t.message,r===t.message?void 0:f.jsx(Le,{whiteSpace:"preserve",wordBreak:"break-all",children:r})]})})};function Zg(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"22 12 18 12 15 21 9 3 6 12 2 12"},child:[]}]})(e)}function sR(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"7",y1:"7",x2:"17",y2:"17"},child:[]},{tag:"polyline",attr:{points:"17 7 17 17 7 17"},child:[]}]})(e)}function aR(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"},child:[]},{tag:"line",attr:{x1:"16",y1:"2",x2:"16",y2:"6"},child:[]},{tag:"line",attr:{x1:"8",y1:"2",x2:"8",y2:"6"},child:[]},{tag:"line",attr:{x1:"3",y1:"10",x2:"21",y2:"10"},child:[]}]})(e)}function lR(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"},child:[]},{tag:"path",attr:{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"},child:[]}]})(e)}function cR(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"17 1 21 5 17 9"},child:[]},{tag:"path",attr:{d:"M3 11V9a4 4 0 0 1 4-4h14"},child:[]},{tag:"polyline",attr:{points:"7 23 3 19 7 15"},child:[]},{tag:"path",attr:{d:"M21 13v2a4 4 0 0 1-4 4H3"},child:[]}]})(e)}function uR(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"5 4 15 12 5 20 5 4"},child:[]},{tag:"line",attr:{x1:"19",y1:"5",x2:"19",y2:"19"},child:[]}]})(e)}function dR(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"4.93",y1:"4.93",x2:"19.07",y2:"19.07"},child:[]}]})(e)}function ep(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"7"},child:[]},{tag:"polyline",attr:{points:"12 9 12 12 13.5 13.5"},child:[]},{tag:"path",attr:{d:"M16.51 17.35l-.35 3.83a2 2 0 0 1-2 1.82H9.83a2 2 0 0 1-2-1.82l-.35-3.83m.01-10.7l.35-3.83A2 2 0 0 1 9.83 1h4.35a2 2 0 0 1 2 1.82l.35 3.83"},child:[]}]})(e)}function hR(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"},child:[]},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"},child:[]}]})(e)}function fR(e){return re({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm104,56H40a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Zm0,64H40a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Zm112-24a8,8,0,0,1-3.76,6.78l-64,40A8,8,0,0,1,168,200V120a8,8,0,0,1,12.24-6.78l64,40A8,8,0,0,1,248,160Zm-23.09,0L184,134.43v51.14Z"},child:[]}]})(e)}const gR=({state:e,...t})=>{switch(e){case"deferred":return f.jsx(ep,{...t});case"failed":return f.jsx(hR,{...t});case"queued":return f.jsx(fR,{...t});case"removed":return f.jsx(dR,{...t});case"restarting":return f.jsx(cR,{...t});case"running":return f.jsx(Zg,{...t});case"scheduled":return f.jsx(aR,{...t});case"skipped":return f.jsx(uR,{...t});case"success":return f.jsx(QI,{...t});case"up_for_reschedule":return f.jsx(XI,{...t});case"up_for_retry":return f.jsx(eR,{...t});case"upstream_failed":return f.jsx(JI,{...t});default:return f.jsx(Yg,{...t})}},pR=O.forwardRef(({children:e,state:t,...n},r)=>f.jsxs(Yh,{borderRadius:"full",colorPalette:t===null?"none":t,fontSize:"sm",px:e===void 0?1:2,py:1,ref:r,variant:"solid",...n,children:[t===void 0?void 0:f.jsx(gR,{state:t}),e]}));/*!
+ */const VI=({block:e="start",inline:t="nearest"})=>{const[n,r]=P.useState(()=>window.location.hash);return P.useEffect(()=>{const o=()=>r(window.location.hash);return window.addEventListener("hashchange",o),()=>window.removeEventListener("hashchange",o)},[]),P.useEffect(()=>{if(n){const o=document.getElementById(n.slice(1));o&&o.scrollIntoView({behavior:"auto",block:e,inline:t})}},[n,e,t]),null},lp=({error:e})=>{const t=e;if(!t)return;const n=t.body?.detail;let r;return n!==void 0&&(typeof n=="string"?r=n:Array.isArray(n)?r=n.map(o=>`${o.loc.join(".")} ${o.msg}`):r=Object.keys(n).map(o=>`${o}: ${n[o]}`)),g.jsx(AI,{status:"error",children:g.jsxs(s2,{align:"start",flexDirection:"column",gap:2,mt:-1,children:[t.status," ",t.message,r===t.message?void 0:g.jsx(Le,{whiteSpace:"preserve",wordBreak:"break-all",children:r})]})})};function cp(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"22 12 18 12 15 21 9 3 6 12 2 12"},child:[]}]})(e)}function FI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"7",y1:"7",x2:"17",y2:"17"},child:[]},{tag:"polyline",attr:{points:"17 7 17 17 7 17"},child:[]}]})(e)}function LI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"},child:[]},{tag:"line",attr:{x1:"16",y1:"2",x2:"16",y2:"6"},child:[]},{tag:"line",attr:{x1:"8",y1:"2",x2:"8",y2:"6"},child:[]},{tag:"line",attr:{x1:"3",y1:"10",x2:"21",y2:"10"},child:[]}]})(e)}function DI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"},child:[]},{tag:"path",attr:{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"},child:[]}]})(e)}function zI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"17 1 21 5 17 9"},child:[]},{tag:"path",attr:{d:"M3 11V9a4 4 0 0 1 4-4h14"},child:[]},{tag:"polyline",attr:{points:"7 23 3 19 7 15"},child:[]},{tag:"path",attr:{d:"M21 13v2a4 4 0 0 1-4 4H3"},child:[]}]})(e)}function MI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"5 4 15 12 5 20 5 4"},child:[]},{tag:"line",attr:{x1:"19",y1:"5",x2:"19",y2:"19"},child:[]}]})(e)}function jI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"4.93",y1:"4.93",x2:"19.07",y2:"19.07"},child:[]}]})(e)}function up(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"7"},child:[]},{tag:"polyline",attr:{points:"12 9 12 12 13.5 13.5"},child:[]},{tag:"path",attr:{d:"M16.51 17.35l-.35 3.83a2 2 0 0 1-2 1.82H9.83a2 2 0 0 1-2-1.82l-.35-3.83m.01-10.7l.35-3.83A2 2 0 0 1 9.83 1h4.35a2 2 0 0 1 2 1.82l.35 3.83"},child:[]}]})(e)}function $I(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"},child:[]},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"},child:[]}]})(e)}function BI(e){return re({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm104,56H40a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Zm0,64H40a8,8,0,0,0,0,16h96a8,8,0,0,0,0-16Zm112-24a8,8,0,0,1-3.76,6.78l-64,40A8,8,0,0,1,168,200V120a8,8,0,0,1,12.24-6.78l64,40A8,8,0,0,1,248,160Zm-23.09,0L184,134.43v51.14Z"},child:[]}]})(e)}const WI=({state:e,...t})=>{switch(e){case"deferred":return g.jsx(up,{...t});case"failed":return g.jsx($I,{...t});case"queued":return g.jsx(BI,{...t});case"removed":return g.jsx(jI,{...t});case"restarting":return g.jsx(zI,{...t});case"running":return g.jsx(cp,{...t});case"scheduled":return g.jsx(LI,{...t});case"skipped":return g.jsx(MI,{...t});case"success":return g.jsx(OI,{...t});case"up_for_reschedule":return g.jsx(EI,{...t});case"up_for_retry":return g.jsx(II,{...t});case"upstream_failed":return g.jsx(PI,{...t});default:return g.jsx(ip,{...t})}},HI=C.forwardRef(({children:e,state:t,...n},r)=>g.jsxs(of,{borderRadius:"full",colorPalette:t===null?"none":t,fontSize:"sm",px:e===void 0?1:2,py:1,ref:r,variant:"solid",...n,children:[t===void 0?void 0:g.jsx(WI,{state:t}),e]}));/*!
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -104,7 +88,7 @@
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- */const tp=5e3;/*!
+ */const dp=5e3;/*!
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -121,7 +105,7 @@
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- */const mR=e=>{const[t,n]=P.useState(0);return P.useEffect(()=>{if(!e.current)return;const r=new ResizeObserver(o=>{for(const i of o)n(i.contentRect.width)});return r.observe(e.current),()=>{r.disconnect()}},[e]),t};/*!
+ */const UI=e=>{const[t,n]=P.useState(0);return P.useEffect(()=>{if(!e.current)return;const r=new ResizeObserver(o=>{for(const i of o)n(i.contentRect.width)});return r.observe(e.current),()=>{r.disconnect()}},[e]),t};/*!
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -138,7 +122,7 @@
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- */const np="token",vR=()=>{const e=document.cookie.split(";");for(const t of e){const[n,r]=t.split("=");if(n?.trim()==="_token"&&r!==void 0)return localStorage.setItem(np,r),document.cookie="_token=; expires=Sat, 01 Jan 2000 00:00:00 UTC; path=/;",r}},bR=e=>{const t=localStorage.getItem(np)??vR();return t!==void 0&&(e.headers.Authorization=`Bearer ${t}`),e},yR=()=>{const{data:e,error:t}=VI(void 0,{enabled:!0,refetchInterval:tp});return e?.jobs&&e.jobs.length>0?f.jsx(br,{p:2,children:f.jsxs(nf,{size:"sm",interactive:!0,stickyHeader:!0,striped:!0,children:[f.jsx(rf,{children:f.jsxs(fi,{children:[f.jsx(ke,{children:"Dag ID"}),f.jsx(ke,{children:"Run ID"}),f.jsx(ke,{children:"Task ID"}),f.jsx(ke,{children:"Map Index"}),f.jsx(ke,{children:"Try Number"}),f.jsx(ke,{children:"State"}),f.jsx(ke,{children:"Queue"}),f.jsx(ke,{children:"Queued DTTM"}),f.jsx(ke,{children:"Edge Worker"}),f.jsx(ke,{children:"Last Update"})]})}),f.jsx(of,{children:e.jobs.map(n=>f.jsxs(fi,{children:[f.jsx(Ce,{children:f.jsx(jr,{href:`../dags/${n.dag_id}`,children:n.dag_id})}),f.jsx(Ce,{children:f.jsx(jr,{href:`../dags/${n.dag_id}/runs/${n.run_id}`,children:n.run_id})}),f.jsx(Ce,{children:n.map_index>=0?f.jsx(jr,{href:`../dags/${n.dag_id}/runs/${n.run_id}/tasks/${n.task_id}/mapped/${n.map_index}?try_number=${n.try_number}`,children:n.task_id}):f.jsx(jr,{href:`../dags/${n.dag_id}/runs/${n.run_id}/tasks/${n.task_id}?try_number=${n.try_number}`,children:n.task_id})}),f.jsx(Ce,{children:n.map_index>=0?n.map_index:"-"}),f.jsx(Ce,{children:n.try_number}),f.jsx(Ce,{children:f.jsx(pR,{state:n.state,children:n.state})}),f.jsx(Ce,{children:n.queue}),f.jsx(Ce,{children:n.queued_dttm?f.jsx(Li,{date:n.queued_dttm,live:!1}):void 0}),f.jsx(Ce,{children:f.jsx(Dg,{to:`/plugin/edge_worker#${n.edge_worker}`,children:n.edge_worker})}),f.jsx(Ce,{children:n.last_update?f.jsx(Li,{date:n.last_update,live:!1}):void 0})]},`${n.dag_id}.${n.run_id}.${n.task_id}.${n.map_index}.${n.try_number}`))})]})}):e?f.jsx(Le,{as:"div",pl:4,pt:1,children:"Currently no jobs running. Start a Dag and then all active jobs should show up here. Note that after some (configurable) time, jobs are purged from the list."}):t?f.jsx(Le,{as:"div",pl:4,pt:1,children:f.jsx(Jg,{error:t})}):f.jsx(Le,{as:"div",pl:4,pt:1,children:"Loading..."})},xR=({onQueueUpdate:e,workerName:t})=>{const{onClose:n,onOpen:r,open:o}=Jt(),[i,s]=P.useState(""),a=DI({onError:c=>{e({description:`Unable to add queue to worker ${t}: ${c}`,title:"Add Queue Failed",type:"error"})},onSuccess:()=>{e({description:`Queue "${i}" was added to worker ${t}.`,title:"Queue Added",type:"success"}),n(),s("")}}),l=()=>{if(!i.trim()){e({description:"Please enter a queue name.",title:"Invalid Input",type:"error"});return}a.mutate({queueName:i.trim(),workerName:t})};return f.jsxs(f.Fragment,{children:[f.jsx(St,{size:"sm",variant:"ghost",onClick:r,"aria-label":"Add Queue",title:"Add Queue",colorPalette:"success",children:f.jsx(Qg,{})}),f.jsx(hn,{onOpenChange:n,open:o,size:"md",children:f.jsxs(an,{children:[f.jsx(bn,{}),f.jsx(fn,{children:f.jsxs(gn,{children:[f.jsx(kn,{children:f.jsxs(pn,{children:["Add Queue to ",t]})}),f.jsx(yn,{children:f.jsxs(hi,{gap:4,align:"stretch",children:[f.jsx(Le,{children:"Enter the name of the queue to add to this worker:"}),f.jsx(qE,{placeholder:"Queue name",value:i,onChange:c=>s(c.target.value),onKeyDown:c=>{c.key==="Enter"&&l()}})]})}),f.jsxs(xn,{children:[f.jsx(vn,{asChild:!0,children:f.jsx(Ie,{variant:"outline",children:"Cancel"})}),f.jsxs(Ie,{onClick:l,colorPalette:"success",loading:a.isPending,loadingText:"Adding queue...",disabled:!i.trim(),children:[f.jsx(Qg,{}),"Add Queue"]})]}),f.jsx(mn,{asChild:!0,children:f.jsx(dn,{size:"sm"})})]})})]})})]})},kR=({onEditComment:e,workerName:t})=>{const{onClose:n,onOpen:r,open:o}=Jt(),[i,s]=P.useState(""),a=zI({onError:c=>{e({description:`Unable to update comments for worker ${t}: ${c}`,title:"Updating Comments failed",type:"error"})},onSuccess:()=>{e({description:`Worker maintenance comments for ${t} were updated.`,title:"Maintenance Comments updated",type:"success"}),n()}}),l=()=>{a.mutate({requestBody:{maintenance_comment:i},workerName:t})};return f.jsxs(f.Fragment,{children:[f.jsx(St,{size:"sm",variant:"ghost","aria-label":"Edit Comments",title:"Edit Comments",onClick:r,colorPalette:"warning",children:f.jsx(lR,{})}),f.jsx(hn,{onOpenChange:n,open:o,size:"md",children:f.jsxs(an,{children:[f.jsx(bn,{}),f.jsx(fn,{children:f.jsxs(gn,{children:[f.jsx(kn,{children:f.jsxs(pn,{children:["Edit maintenance comments for worker ",t]})}),f.jsx(yn,{children:f.jsx(sf,{placeholder:"Change maintenance comment (required)",value:i,onChange:c=>s(c.target.value),required:!0,maxLength:1024,size:"sm"})}),f.jsxs(xn,{children:[f.jsx(vn,{asChild:!0,children:f.jsx(Ie,{variant:"outline",children:"Cancel"})}),f.jsx(Ie,{onClick:l,disabled:!i.trim(),children:"Update Comments"})]}),f.jsx(mn,{asChild:!0,children:f.jsx(dn,{size:"sm"})})]})})]})})]})};function rp(e){return re({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.42 15.17 17.25 21A2.652 2.652 0 0 0 21 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 1 1-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 0 0 4.486-6.336l-3.276 3.277a3.004 3.004 0 0 1-2.25-2.25l3.276-3.276a4.5 4.5 0 0 0-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437 1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008Z"},child:[]}]})(e)}function CR(e){return re({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75a4.5 4.5 0 0 1-4.884 4.484c-1.076-.091-2.264.071-2.95.904l-7.152 8.684a2.548 2.548 0 1 1-3.586-3.586l8.684-7.152c.833-.686.995-1.874.904-2.95a4.5 4.5 0 0 1 6.336-4.486l-3.276 3.276a3.004 3.004 0 0 0 2.25 2.25l3.276-3.276c.256.565.398 1.192.398 1.852Z"},child:[]},{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.867 19.125h.008v.008h-.008v-.008Z"},child:[]}]})(e)}const SR=({onEnterMaintenance:e,workerName:t})=>{const{onClose:n,onOpen:r,open:o}=Jt(),[i,s]=P.useState(""),a=FI({onError:c=>{e({description:`Unable to set worker ${t} to maintenance mode: ${c}`,title:"Setting Maintenance Mode failed",type:"error"})},onSuccess:()=>{e({description:`Worker ${t} was requested to be in maintenance mode.`,title:"Maintenance Mode activated",type:"success"})}}),l=()=>{a.mutate({requestBody:{maintenance_comment:i},workerName:t})};return f.jsxs(f.Fragment,{children:[f.jsx(St,{size:"sm",variant:"ghost","aria-label":"Enter Maintenance",title:"Enter Maintenance",onClick:r,colorPalette:"warning",children:f.jsx(rp,{})}),f.jsx(hn,{onOpenChange:n,open:o,size:"md",children:f.jsxs(an,{children:[f.jsx(bn,{}),f.jsx(fn,{children:f.jsxs(gn,{children:[f.jsx(kn,{children:f.jsxs(pn,{children:["Set maintenance for worker ",t]})}),f.jsx(yn,{children:f.jsx(sf,{placeholder:"Enter maintenance comment (required)",value:i,onChange:c=>s(c.target.value),required:!0,maxLength:1024,size:"sm"})}),f.jsxs(xn,{children:[f.jsx(vn,{asChild:!0,children:f.jsx(Ie,{variant:"outline",children:"Cancel"})}),f.jsx(Ie,{onClick:l,disabled:!i.trim(),children:"Confirm Maintenance"})]}),f.jsx(mn,{asChild:!0,children:f.jsx(dn,{size:"sm"})})]})})]})})]})};function wR(e){return re({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M215.469 332.802l29.863 29.864L352 256 245.332 149.333l-29.863 29.865 55.469 55.469H64v42.666h205.864l-54.395 55.469zM405.334 64H106.666C83.198 64 64 83.198 64 106.666V192h42.666v-85.333h298.668v298.668H106.666V320H64v85.334C64 428.802 83.198 448 106.666 448h298.668C428.802 448 448 428.802 448 405.334V106.666C448 83.198 428.802 64 405.334 64z"},child:[]}]})(e)}const ER=({onExitMaintenance:e,workerName:t})=>{const{onClose:n,onOpen:r,open:o}=Jt(),i=MI({onError:a=>{e({description:`Unable to exit ${t} from maintenance mode: ${a}`,title:"Exit Maintenance Mode failed",type:"error"})},onSuccess:()=>{e({description:`Worker ${t} was requested to exit maintenance mode.`,title:"Maintenance Mode deactivated",type:"success"}),n()}}),s=()=>{i.mutate({workerName:t})};return f.jsxs(f.Fragment,{children:[f.jsx(St,{size:"sm",variant:"ghost",onClick:r,"aria-label":"Exit Maintenance",title:"Exit Maintenance",colorPalette:"warning",children:f.jsx(wR,{})}),f.jsx(hn,{onOpenChange:n,open:o,size:"md",children:f.jsxs(an,{children:[f.jsx(bn,{}),f.jsx(fn,{children:f.jsxs(gn,{children:[f.jsx(kn,{children:f.jsxs(pn,{children:["Exit maintenance for worker ",t]})}),f.jsx(yn,{children:f.jsxs(Le,{children:["Are you sure you want to exit maintenance mode for worker ",t,"?"]})}),f.jsxs(xn,{children:[f.jsx(vn,{asChild:!0,children:f.jsx(Ie,{variant:"outline",children:"No"})}),f.jsx(Ie,{onClick:s,children:"Yes"})]}),f.jsx(mn,{asChild:!0,children:f.jsx(dn,{size:"sm"})})]})})]})})]})},OR=({onQueueUpdate:e,worker:t})=>{const{onClose:n,onOpen:r,open:o}=Jt(),[i,s]=P.useState(""),a=$I({onError:u=>{e({description:`Unable to remove queue from worker ${t.worker_name}: ${u}`,title:"Remove Queue Failed",type:"error"})},onSuccess:()=>{e({description:`Queue "${i}" was removed from worker ${t.worker_name}.`,title:"Queue Removed",type:"success"}),n(),s("")}}),l=()=>{if(!i){e({description:"Please select a queue to remove.",title:"Invalid Selection",type:"error"});return}a.mutate({queueName:i,workerName:t.worker_name})},c=t.queues||[];return c.length===0?null:f.jsxs(f.Fragment,{children:[f.jsx(St,{size:"sm",variant:"ghost",onClick:r,"aria-label":"Remove Queue",title:"Remove Queue",colorPalette:"danger",children:f.jsx(Xg,{})}),f.jsx(hn,{onOpenChange:n,open:o,size:"md",children:f.jsxs(an,{children:[f.jsx(bn,{}),f.jsx(fn,{children:f.jsxs(gn,{children:[f.jsx(kn,{children:f.jsxs(pn,{children:["Remove Queue from ",t.worker_name]})}),f.jsx(yn,{children:f.jsxs(hi,{gap:4,align:"stretch",children:[f.jsx(Le,{children:"Select a queue to remove from this worker:"}),f.jsx(hi,{gap:2,align:"stretch",children:f.jsx(UE,{each:c,children:u=>f.jsx(Ie,{variant:i===u?"solid":"outline",colorPalette:i===u?"blue":"gray",onClick:()=>s(u),justifyContent:"flex-start",children:u},u)})})]})}),f.jsxs(xn,{children:[f.jsx(vn,{asChild:!0,children:f.jsx(Ie,{variant:"outline",children:"Cancel"})}),f.jsxs(Ie,{onClick:l,colorPalette:"danger",loading:a.isPending,loadingText:"Removing queue...",disabled:!i,children:[f.jsx(Xg,{}),"Remove Queue"]})]}),f.jsx(mn,{asChild:!0,children:f.jsx(dn,{size:"sm"})})]})})]})})]})};function op(e){return re({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M170.5 51.6L151.5 80l145 0-19-28.4c-1.5-2.2-4-3.6-6.7-3.6l-93.7 0c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80 368 80l48 0 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-8 0 0 304c0 44.2-35.8 80-80 80l-224 0c-44.2 0-80-35.8-80-80l0-304-8 0c-13.3 0-24-10.7-24-24S10.7 80 24 80l8 0 48 0 13.8 0 36.7-55.1C140.9 9.4 158.4 0 177.1 0l93.7 0c18.7 0 36.2 9.4 46.6 24.9zM80 128l0 304c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32l0-304L80 128zm80 64l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16z"},child:[]}]})(e)}const ip=({onDelete:e,workerName:t})=>{const{onClose:n,onOpen:r,open:o}=Jt(),i=jI({onError:a=>{e({description:`Unable to delete worker ${t}: ${a}`,title:"Delete Worker Failed",type:"error"})},onSuccess:()=>{e({description:`Worker ${t} has been deleted from the system.`,title:"Worker Deleted",type:"success"}),n()}}),s=()=>{i.mutate({workerName:t})};return f.jsxs(f.Fragment,{children:[f.jsx(St,{size:"sm",variant:"ghost",onClick:r,"aria-label":"Delete Worker",title:"Delete Worker",colorPalette:"danger",children:f.jsx(op,{})}),f.jsx(hn,{onOpenChange:n,open:o,size:"md",children:f.jsxs(an,{children:[f.jsx(bn,{}),f.jsx(fn,{children:f.jsxs(gn,{children:[f.jsx(kn,{children:f.jsxs(pn,{children:["Delete worker ",t]})}),f.jsxs(yn,{children:[f.jsxs(Le,{children:["Are you sure you want to delete worker ",t,"?"]}),f.jsx(Le,{fontSize:"sm",color:"red.500",mt:2,children:"This will permanently remove the worker record from the system. This action cannot be undone."})]}),f.jsxs(xn,{children:[f.jsx(vn,{asChild:!0,children:f.jsx(Ie,{variant:"outline",children:"Cancel"})}),f.jsxs(Ie,{onClick:s,colorPalette:"danger",loading:i.isPending,loadingText:"Deleting...",children:[f.jsx(op,{style:{marginRight:"8px"}}),"Delete Worker"]})]}),f.jsx(mn,{asChild:!0,children:f.jsx(dn,{size:"sm"})})]})})]})})]})};function sp(e){return re({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M400 54.1c63 45 104 118.6 104 201.9 0 136.8-110.8 247.7-247.5 248C120 504.3 8.2 393 8 256.4 7.9 173.1 48.9 99.3 111.8 54.2c11.7-8.3 28-4.8 35 7.7L162.6 90c5.9 10.5 3.1 23.8-6.6 31-41.5 30.8-68 79.6-68 134.9-.1 92.3 74.5 168.1 168 168.1 91.6 0 168.6-74.2 168-169.1-.3-51.8-24.7-101.8-68.1-134-9.7-7.2-12.4-20.5-6.5-30.9l15.8-28.1c7-12.4 23.2-16.1 34.8-7.8zM296 264V24c0-13.3-10.7-24-24-24h-32c-13.3 0-24 10.7-24 24v240c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24z"},child:[]}]})(e)}const ap=({onShutdown:e,workerName:t})=>{const{onClose:n,onOpen:r,open:o}=Jt(),i=LI({onError:a=>{e({description:`Unable to request shutdown for worker ${t}: ${a}`,title:"Shutdown Request Failed",type:"error"})},onSuccess:()=>{e({description:`Worker ${t} was requested to shutdown.`,title:"Shutdown Request Sent",type:"success"}),n()}}),s=()=>{i.mutate({workerName:t})};return f.jsxs(f.Fragment,{children:[f.jsx(St,{size:"sm",variant:"ghost",onClick:r,"aria-label":"Shutdown Worker",title:"Shutdown Worker",colorPalette:"danger",children:f.jsx(sp,{})}),f.jsx(hn,{onOpenChange:n,open:o,size:"md",children:f.jsxs(an,{children:[f.jsx(bn,{}),f.jsx(fn,{children:f.jsxs(gn,{children:[f.jsx(kn,{children:f.jsxs(pn,{children:["Shutdown worker ",t]})}),f.jsxs(yn,{children:[f.jsxs(Le,{children:["Are you sure you want to request shutdown for worker ",t,"?"]}),f.jsx(Le,{fontSize:"sm",color:"red.500",mt:2,children:"This stops the worker on the remote edge. You can't restart it from the UI — you need to start it remotely instead."})]}),f.jsxs(xn,{children:[f.jsx(vn,{asChild:!0,children:f.jsx(Ie,{variant:"outline",children:"Cancel"})}),f.jsxs(Ie,{onClick:s,colorPalette:"danger",loading:i.isPending,loadingText:"Shutting down...",children:[f.jsx(sp,{style:{marginRight:"8px"}}),"Shutdown Worker"]})]}),f.jsx(mn,{asChild:!0,children:f.jsx(dn,{size:"sm"})})]})})]})})]})},PR=({onOperations:e,worker:t})=>{const n=t.worker_name,r=t.state,o=i=>{oR.create(i),e()};return r==="idle"||r==="running"?f.jsxs(di,{justifyContent:"end",gap:2,children:[f.jsx(xR,{onQueueUpdate:o,workerName:n}),f.jsx(OR,{onQueueUpdate:o,worker:t}),f.jsx(SR,{onEnterMaintenance:o,workerName:n}),f.jsx(ap,{onShutdown:o,workerName:n})]}):r==="maintenance pending"||r==="maintenance mode"||r==="maintenance request"||r==="offline maintenance"?f.jsxs(hi,{gap:2,align:"stretch",children:[f.jsx(br,{fontSize:"sm",whiteSpace:"pre-wrap",children:t.maintenance_comments||"No comment"}),f.jsxs(di,{justifyContent:"end",gap:2,children:[f.jsx(kR,{onEditComment:o,workerName:n}),f.jsx(ER,{onExitMaintenance:o,workerName:n}),r==="offline maintenance"?f.jsx(ip,{onDelete:o,workerName:n}):f.jsx(ap,{onShutdown:o,workerName:n})]})]}):r==="offline"||r==="unknown"?f.jsx(di,{justifyContent:"end",children:f.jsx(ip,{onDelete:o,workerName:n})}):null};function IR(e){return re({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m22 3.41-.12-1.26-1.2.4a13.84 13.84 0 0 1-6.41.64 11.87 11.87 0 0 0-6.68.9A7.23 7.23 0 0 0 3.3 9.5a9 9 0 0 0 .39 4.58 16.6 16.6 0 0 1 1.18-2.2 9.85 9.85 0 0 1 4.07-3.43 11.16 11.16 0 0 1 5.06-1A12.08 12.08 0 0 0 9.34 9.2a9.48 9.48 0 0 0-1.86 1.53 11.38 11.38 0 0 0-1.39 1.91 16.39 16.39 0 0 0-1.57 4.54A26.42 26.42 0 0 0 4 22h2a30.69 30.69 0 0 1 .59-4.32 9.25 9.25 0 0 0 4.52 1.11 11 11 0 0 0 4.28-.87C23 14.67 22 3.86 22 3.41z"},child:[]}]})(e)}function RR(e){return re({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M93.72 183.25C49.49 198.05 16 233.1 16 288c0 66 54 112 120 112h184.37m147.45-22.26C485.24 363.3 496 341.61 496 312c0-59.82-53-85.76-96-88-8.89-89.54-71-144-144-144-26.16 0-48.79 6.93-67.6 18.14"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M448 448 64 64"},child:[]}]})(e)}function TR(e){return re({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12.0001 18C12.7144 18 13.3704 18.2497 13.8856 18.6665L12.0001 21L10.1145 18.6665C10.6297 18.2497 11.2857 18 12.0001 18ZM2.80766 1.39343L20.4853 19.0711L19.0711 20.4853L13.8913 15.3042C13.2967 15.1069 12.6609 15 12.0001 15C10.5719 15 9.26024 15.499 8.22998 16.3322L6.97363 14.7759C8.24961 13.7442 9.84925 13.0969 11.5964 13.01L9.00025 10.414C7.55273 10.8234 6.22651 11.5217 5.0878 12.4426L3.83099 10.8868C4.89946 10.0226 6.10763 9.32438 7.41633 8.83118L5.13168 6.5451C3.98878 7.08913 2.92058 7.76472 1.94666 8.55228L0.689453 6.99674C1.60358 6.25747 2.59156 5.60589 3.64058 5.05479L1.39345 2.80765L2.80766 1.39343ZM14.5004 10.2854L12.2165 8.00243L12 8C15.0947 8 17.9369 9.08141 20.1693 10.8869L18.9123 12.4426C17.6438 11.4167 16.1427 10.6672 14.5004 10.2854ZM12.0001 3.00003C16.2849 3.00003 20.22 4.49719 23.3109 6.99691L22.0534 8.55228C19.3061 6.33062 15.8085 5.00003 12.0001 5.00003C11.122 5.00003 10.2604 5.07077 9.42075 5.20685L7.72455 3.51088C9.09498 3.17702 10.5268 3.00003 12.0001 3.00003Z"},child:[]}]})(e)}const NR=({state:e,...t})=>{switch(e){case"starting":return f.jsx(ep,{...t});case"running":return f.jsx(Zg,{...t});case"idle":return f.jsx(IR,{...t});case"shutdown request":case"terminating":return f.jsx(sR,{...t});case"offline":return f.jsx(RR,{...t});case"unknown":return f.jsx(TR,{...t});case"maintenance request":case"maintenance pending":case"maintenance exit":return f.jsx(CR,{...t});case"maintenance mode":case"offline maintenance":return f.jsx(rp,{...t});default:return f.jsx(Yg,{...t})}},AR=e=>{switch(e){case"starting":case"maintenance request":case"maintenance exit":return"yellow";case"running":return"green";case"idle":return"teal";case"shutdown request":case"terminating":return"purple";case"offline":case"offline maintenance":return"black";case"unknown":return"red";case"maintenance mode":case"maintenance pending":return"orange";default:return"gray"}},_R=e=>{switch(e){case"starting":return"Edge Worker is in initialization.";case"running":return"Edge Worker is actively running a task.";case"idle":return"Edge Worker is active and waiting for a task.";case"shutdown request":return"Request to shutdown Edge Worker is issued. It will be picked-up on the next heartbeat, tasks will drain and then worker will terminate.";case"terminating":return"Edge Worker is completing work (draining running tasks) and stopping.";case"offline":return"Edge Worker was shut down.";case"unknown":return"No heartbeat signal from worker for some time, Edge Worker probably down or got disconnected.";case"maintenance request":return"Worker was requested to enter maintenance mode. Once worker receives this message it will pause fetching tasks and drain tasks.";case"maintenance pending":return"Edge Worker received the request for maintenance, waiting for tasks to finish. Once tasks are finished will move to 'maintenance mode'.";case"maintenance mode":return"Edge Worker is in maintenance mode. It is online but pauses fetching tasks.";case"maintenance exit":return"Request Worker is requested to exit maintenance mode. Once the worker receives this state it will un-pause and fetch new tasks.";case"offline maintenance":return"Worker was shut down in maintenance mode. It will be in maintenance mode when restarted.";default:return}},VR=O.forwardRef(({children:e,state:t,...n},r)=>f.jsxs(Yh,{borderRadius:"full",colorPalette:AR(t),fontSize:"sm",px:e===void 0?1:2,py:1,ref:r,title:_R(t),variant:"solid",...n,children:[t===void 0?void 0:f.jsx(NR,{state:t}),e]})),FR=()=>{const{data:e,error:t,refetch:n}=_I(void 0,{enabled:!0,refetchInterval:tp});return e?.workers&&e.workers.length>0?f.jsxs(br,{p:2,children:[f.jsxs(nf,{size:"sm",interactive:!0,stickyHeader:!0,striped:!0,children:[f.jsx(rf,{children:f.jsxs(fi,{children:[f.jsx(ke,{children:"Worker Name"}),f.jsx(ke,{children:"State"}),f.jsx(ke,{children:"Queues"}),f.jsx(ke,{children:"First Online"}),f.jsx(ke,{children:"Last Heartbeat"}),f.jsx(ke,{children:"Active Jobs"}),f.jsx(ke,{children:"System Information"}),f.jsx(ke,{children:"Operations"})]})}),f.jsx(of,{children:e.workers.map(r=>f.jsxs(fi,{id:r.worker_name,children:[f.jsx(Ce,{children:r.worker_name}),f.jsx(Ce,{children:f.jsx(VR,{state:r.state,children:r.state})}),f.jsx(Ce,{children:r.queues?f.jsx(ef,{children:r.queues.map(o=>f.jsx(tf,{children:o},o))}):"(all queues)"}),f.jsx(Ce,{children:r.first_online?f.jsx(Li,{date:r.first_online,live:!1}):void 0}),f.jsx(Ce,{children:r.last_heartbeat?f.jsx(Li,{date:r.last_heartbeat,live:!1}):void 0}),f.jsx(Ce,{children:r.jobs_active}),f.jsx(Ce,{children:r.sysinfo?f.jsx(ef,{children:Object.entries(r.sysinfo).map(([o,i])=>f.jsxs(tf,{children:[o,": ",i]},o))}):"N/A"}),f.jsx(Ce,{children:f.jsx(PR,{worker:r,onOperations:n})})]},r.worker_name))})]}),f.jsx(iR,{})]}):e?f.jsxs(Le,{as:"div",pl:4,pt:1,children:["No known workers. Start one via ",f.jsx(BE,{children:"airflow edge worker [...]"}),". See"," ",f.jsxs(jr,{target:"_blank",variant:"underline",color:"fg.info",href:"https://airflow.apache.org/docs/apache-airflow-providers-edge3/stable/deployment.html",children:["Edge Worker Deployment docs ",f.jsx(ZI,{})]})," ","how to deploy a new worker."]}):t?f.jsx(Le,{as:"div",pl:4,pt:1,children:f.jsx(Jg,{error:t})}):f.jsx(Le,{as:"div",pl:4,pt:1,children:"Loading..."})},LR=({tabs:e})=>{const t=P.useRef(null),n=mR(t);return f.jsx(di,{alignItems:"center",borderBottomWidth:1,mb:2,ref:t,children:e.map(({icon:r,label:o,value:i})=>f.jsx(hI,{end:!0,title:o,to:{pathname:i},children:({isActive:s})=>f.jsx(Xh,{borderBottomColor:"border.info",borderBottomWidth:s?3:0,color:s?"fg":"fg.muted",fontWeight:"bold",height:"40px",mb:"-2px",pb:s?0:"3px",px:4,transition:"all 0.2s ease",children:n>600||!r?o:r})},i))})},DR=()=>{const e=[{label:"Edge Worker",value:"plugin/edge_worker"},{label:"Edge Jobs",value:"plugin/edge_jobs"}];return f.jsx(br,{p:2,children:f.jsxs(cI,{children:[f.jsx(LR,{tabs:e}),f.jsxs(nI,{children:[f.jsx(Za,{path:"plugin/edge_worker",element:f.jsx(FR,{})}),f.jsx(Za,{path:"plugin/edge_jobs",element:f.jsx(yR,{})})]})]})})};/*!
+ */const hp="token",GI=()=>{const e=document.cookie.split(";");for(const t of e){const[n,r]=t.split("=");if(n?.trim()==="_token"&&r!==void 0)return localStorage.setItem(hp,r),document.cookie="_token=; expires=Sat, 01 Jan 2000 00:00:00 UTC; path=/;",r}},qI=e=>{const t=localStorage.getItem(hp)??GI();return t!==void 0&&(e.headers.Authorization=`Bearer ${t}`),e},KI=()=>{const{data:e,error:t}=cI(void 0,{enabled:!0,refetchInterval:dp});return e?.jobs&&e.jobs.length>0?g.jsx(xr,{p:2,children:g.jsxs(hf,{size:"sm",interactive:!0,stickyHeader:!0,striped:!0,children:[g.jsx(ff,{children:g.jsxs(mi,{children:[g.jsx(ke,{children:"Dag ID"}),g.jsx(ke,{children:"Run ID"}),g.jsx(ke,{children:"Task ID"}),g.jsx(ke,{children:"Map Index"}),g.jsx(ke,{children:"Try Number"}),g.jsx(ke,{children:"State"}),g.jsx(ke,{children:"Queue"}),g.jsx(ke,{children:"Queued DTTM"}),g.jsx(ke,{children:"Edge Worker"}),g.jsx(ke,{children:"Last Update"})]})}),g.jsx(gf,{children:e.jobs.map(n=>g.jsxs(mi,{children:[g.jsx(Ce,{children:g.jsx(Br,{href:`../dags/${n.dag_id}`,children:n.dag_id})}),g.jsx(Ce,{children:g.jsx(Br,{href:`../dags/${n.dag_id}/runs/${n.run_id}`,children:n.run_id})}),g.jsx(Ce,{children:n.map_index>=0?g.jsx(Br,{href:`../dags/${n.dag_id}/runs/${n.run_id}/tasks/${n.task_id}/mapped/${n.map_index}?try_number=${n.try_number}`,children:n.task_id}):g.jsx(Br,{href:`../dags/${n.dag_id}/runs/${n.run_id}/tasks/${n.task_id}?try_number=${n.try_number}`,children:n.task_id})}),g.jsx(Ce,{children:n.map_index>=0?n.map_index:"-"}),g.jsx(Ce,{children:n.try_number}),g.jsx(Ce,{children:g.jsx(HI,{state:n.state,children:n.state})}),g.jsx(Ce,{children:n.queue}),g.jsx(Ce,{children:n.queued_dttm?g.jsx(ji,{date:n.queued_dttm,live:!1}):void 0}),g.jsx(Ce,{children:g.jsx(ul,{to:`/plugin/edge_worker#${n.edge_worker}`,children:n.edge_worker})}),g.jsx(Ce,{children:n.last_update?g.jsx(ji,{date:n.last_update,live:!1}):void 0})]},`${n.dag_id}.${n.run_id}.${n.task_id}.${n.map_index}.${n.try_number}`))})]})}):e?g.jsx(Le,{as:"div",pl:4,pt:1,children:"Currently no jobs running. Start a Dag and then all active jobs should show up here. Note that after some (configurable) time, jobs are purged from the list."}):t?g.jsx(Le,{as:"div",pl:4,pt:1,children:g.jsx(lp,{error:t})}):g.jsx(Le,{as:"div",pl:4,pt:1,children:"Loading..."})},YI=({onQueueUpdate:e,workerName:t})=>{const{onClose:n,onOpen:r,open:o}=en(),[i,s]=P.useState(""),a=hI({onError:c=>{e({description:`Unable to add queue to worker ${t}: ${c}`,title:"Add Queue Failed",type:"error"})},onSuccess:()=>{e({description:`Queue "${i}" was added to worker ${t}.`,title:"Queue Added",type:"success"}),n(),s("")}}),l=()=>{if(!i.trim()){e({description:"Please enter a queue name.",title:"Invalid Input",type:"error"});return}a.mutate({queueName:i.trim(),workerName:t})};return g.jsxs(g.Fragment,{children:[g.jsx(Et,{size:"sm",variant:"ghost",onClick:r,"aria-label":"Add Queue",title:"Add Queue",colorPalette:"success",children:g.jsx(ap,{})}),g.jsx(gn,{onOpenChange:n,open:o,size:"md",children:g.jsxs(cn,{children:[g.jsx(xn,{}),g.jsx(pn,{children:g.jsxs(mn,{children:[g.jsx(wn,{children:g.jsxs(vn,{children:["Add Queue to ",t]})}),g.jsx(kn,{children:g.jsxs(pi,{gap:4,align:"stretch",children:[g.jsx(Le,{children:"Enter the name of the queue to add to this worker:"}),g.jsx(r2,{placeholder:"Queue name",value:i,onChange:c=>s(c.target.value),onKeyDown:c=>{c.key==="Enter"&&l()}})]})}),g.jsxs(Cn,{children:[g.jsx(yn,{asChild:!0,children:g.jsx(Re,{variant:"outline",children:"Cancel"})}),g.jsxs(Re,{onClick:l,colorPalette:"success",loading:a.isPending,loadingText:"Adding queue...",disabled:!i.trim(),children:[g.jsx(ap,{}),"Add Queue"]})]}),g.jsx(bn,{asChild:!0,children:g.jsx(fn,{size:"sm"})})]})})]})})]})},XI=({onEditComment:e,workerName:t})=>{const{onClose:n,onOpen:r,open:o}=en(),[i,s]=P.useState(""),a=fI({onError:c=>{e({description:`Unable to update comments for worker ${t}: ${c}`,title:"Updating Comments failed",type:"error"})},onSuccess:()=>{e({description:`Worker maintenance comments for ${t} were updated.`,title:"Maintenance Comments updated",type:"success"}),n()}}),l=()=>{a.mutate({requestBody:{maintenance_comment:i},workerName:t})};return g.jsxs(g.Fragment,{children:[g.jsx(Et,{size:"sm",variant:"ghost","aria-label":"Edit Comments",title:"Edit Comments",onClick:r,colorPalette:"warning",children:g.jsx(DI,{})}),g.jsx(gn,{onOpenChange:n,open:o,size:"md",children:g.jsxs(cn,{children:[g.jsx(xn,{}),g.jsx(pn,{children:g.jsxs(mn,{children:[g.jsx(wn,{children:g.jsxs(vn,{children:["Edit maintenance comments for worker ",t]})}),g.jsx(kn,{children:g.jsx(pf,{placeholder:"Change maintenance comment (required)",value:i,onChange:c=>s(c.target.value),required:!0,maxLength:1024,size:"sm"})}),g.jsxs(Cn,{children:[g.jsx(yn,{asChild:!0,children:g.jsx(Re,{variant:"outline",children:"Cancel"})}),g.jsx(Re,{onClick:l,disabled:!i.trim(),children:"Update Comments"})]}),g.jsx(bn,{asChild:!0,children:g.jsx(fn,{size:"sm"})})]})})]})})]})};function fp(e){return re({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.42 15.17 17.25 21A2.652 2.652 0 0 0 21 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 1 1-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 0 0 4.486-6.336l-3.276 3.277a3.004 3.004 0 0 1-2.25-2.25l3.276-3.276a4.5 4.5 0 0 0-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437 1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008Z"},child:[]}]})(e)}function QI(e){return re({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75a4.5 4.5 0 0 1-4.884 4.484c-1.076-.091-2.264.071-2.95.904l-7.152 8.684a2.548 2.548 0 1 1-3.586-3.586l8.684-7.152c.833-.686.995-1.874.904-2.95a4.5 4.5 0 0 1 6.336-4.486l-3.276 3.276a3.004 3.004 0 0 0 2.25 2.25l3.276-3.276c.256.565.398 1.192.398 1.852Z"},child:[]},{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.867 19.125h.008v.008h-.008v-.008Z"},child:[]}]})(e)}const JI=({onEnterMaintenance:e,workerName:t})=>{const{onClose:n,onOpen:r,open:o}=en(),[i,s]=P.useState(""),a=uI({onError:c=>{e({description:`Unable to set worker ${t} to maintenance mode: ${c}`,title:"Setting Maintenance Mode failed",type:"error"})},onSuccess:()=>{e({description:`Worker ${t} was requested to be in maintenance mode.`,title:"Maintenance Mode activated",type:"success"})}}),l=()=>{a.mutate({requestBody:{maintenance_comment:i},workerName:t})};return g.jsxs(g.Fragment,{children:[g.jsx(Et,{size:"sm",variant:"ghost","aria-label":"Enter Maintenance",title:"Enter Maintenance",onClick:r,colorPalette:"warning",children:g.jsx(fp,{})}),g.jsx(gn,{onOpenChange:n,open:o,size:"md",children:g.jsxs(cn,{children:[g.jsx(xn,{}),g.jsx(pn,{children:g.jsxs(mn,{children:[g.jsx(wn,{children:g.jsxs(vn,{children:["Set maintenance for worker ",t]})}),g.jsx(kn,{children:g.jsx(pf,{placeholder:"Enter maintenance comment (required)",value:i,onChange:c=>s(c.target.value),required:!0,maxLength:1024,size:"sm"})}),g.jsxs(Cn,{children:[g.jsx(yn,{asChild:!0,children:g.jsx(Re,{variant:"outline",children:"Cancel"})}),g.jsx(Re,{onClick:l,disabled:!i.trim(),children:"Confirm Maintenance"})]}),g.jsx(bn,{asChild:!0,children:g.jsx(fn,{size:"sm"})})]})})]})})]})};function ZI(e){return re({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M215.469 332.802l29.863 29.864L352 256 245.332 149.333l-29.863 29.865 55.469 55.469H64v42.666h205.864l-54.395 55.469zM405.334 64H106.666C83.198 64 64 83.198 64 106.666V192h42.666v-85.333h298.668v298.668H106.666V320H64v85.334C64 428.802 83.198 448 106.666 448h298.668C428.802 448 448 428.802 448 405.334V106.666C448 83.198 428.802 64 405.334 64z"},child:[]}]})(e)}const eT=({onExitMaintenance:e,workerName:t})=>{const{onClose:n,onOpen:r,open:o}=en(),i=gI({onError:a=>{e({description:`Unable to exit ${t} from maintenance mode: ${a}`,title:"Exit Maintenance Mode failed",type:"error"})},onSuccess:()=>{e({description:`Worker ${t} was requested to exit maintenance mode.`,title:"Maintenance Mode deactivated",type:"success"}),n()}}),s=()=>{i.mutate({workerName:t})};return g.jsxs(g.Fragment,{children:[g.jsx(Et,{size:"sm",variant:"ghost",onClick:r,"aria-label":"Exit Maintenance",title:"Exit Maintenance",colorPalette:"warning",children:g.jsx(ZI,{})}),g.jsx(gn,{onOpenChange:n,open:o,size:"md",children:g.jsxs(cn,{children:[g.jsx(xn,{}),g.jsx(pn,{children:g.jsxs(mn,{children:[g.jsx(wn,{children:g.jsxs(vn,{children:["Exit maintenance for worker ",t]})}),g.jsx(kn,{children:g.jsxs(Le,{children:["Are you sure you want to exit maintenance mode for worker ",t,"?"]})}),g.jsxs(Cn,{children:[g.jsx(yn,{asChild:!0,children:g.jsx(Re,{variant:"outline",children:"No"})}),g.jsx(Re,{onClick:s,children:"Yes"})]}),g.jsx(bn,{asChild:!0,children:g.jsx(fn,{size:"sm"})})]})})]})})]})},tT=({onQueueUpdate:e,worker:t})=>{const{onClose:n,onOpen:r,open:o}=en(),[i,s]=P.useState(""),a=mI({onError:u=>{e({description:`Unable to remove queue from worker ${t.worker_name}: ${u}`,title:"Remove Queue Failed",type:"error"})},onSuccess:()=>{e({description:`Queue "${i}" was removed from worker ${t.worker_name}.`,title:"Queue Removed",type:"success"}),n(),s("")}}),l=()=>{if(!i){e({description:"Please select a queue to remove.",title:"Invalid Selection",type:"error"});return}a.mutate({queueName:i,workerName:t.worker_name})},c=t.queues||[];return c.length===0?null:g.jsxs(g.Fragment,{children:[g.jsx(Et,{size:"sm",variant:"ghost",onClick:r,"aria-label":"Remove Queue",title:"Remove Queue",colorPalette:"danger",children:g.jsx(sp,{})}),g.jsx(gn,{onOpenChange:n,open:o,size:"md",children:g.jsxs(cn,{children:[g.jsx(xn,{}),g.jsx(pn,{children:g.jsxs(mn,{children:[g.jsx(wn,{children:g.jsxs(vn,{children:["Remove Queue from ",t.worker_name]})}),g.jsx(kn,{children:g.jsxs(pi,{gap:4,align:"stretch",children:[g.jsx(Le,{children:"Select a queue to remove from this worker:"}),g.jsx(pi,{gap:2,align:"stretch",children:g.jsx(t2,{each:c,children:u=>g.jsx(Re,{variant:i===u?"solid":"outline",colorPalette:i===u?"blue":"gray",onClick:()=>s(u),justifyContent:"flex-start",children:u},u)})})]})}),g.jsxs(Cn,{children:[g.jsx(yn,{asChild:!0,children:g.jsx(Re,{variant:"outline",children:"Cancel"})}),g.jsxs(Re,{onClick:l,colorPalette:"danger",loading:a.isPending,loadingText:"Removing queue...",disabled:!i,children:[g.jsx(sp,{}),"Remove Queue"]})]}),g.jsx(bn,{asChild:!0,children:g.jsx(fn,{size:"sm"})})]})})]})})]})};function gp(e){return re({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M170.5 51.6L151.5 80l145 0-19-28.4c-1.5-2.2-4-3.6-6.7-3.6l-93.7 0c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80 368 80l48 0 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-8 0 0 304c0 44.2-35.8 80-80 80l-224 0c-44.2 0-80-35.8-80-80l0-304-8 0c-13.3 0-24-10.7-24-24S10.7 80 24 80l8 0 48 0 13.8 0 36.7-55.1C140.9 9.4 158.4 0 177.1 0l93.7 0c18.7 0 36.2 9.4 46.6 24.9zM80 128l0 304c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32l0-304L80 128zm80 64l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16z"},child:[]}]})(e)}const pp=({onDelete:e,workerName:t})=>{const{onClose:n,onOpen:r,open:o}=en(),i=pI({onError:a=>{e({description:`Unable to delete worker ${t}: ${a}`,title:"Delete Worker Failed",type:"error"})},onSuccess:()=>{e({description:`Worker ${t} has been deleted from the system.`,title:"Worker Deleted",type:"success"}),n()}}),s=()=>{i.mutate({workerName:t})};return g.jsxs(g.Fragment,{children:[g.jsx(Et,{size:"sm",variant:"ghost",onClick:r,"aria-label":"Delete Worker",title:"Delete Worker",colorPalette:"danger",children:g.jsx(gp,{})}),g.jsx(gn,{onOpenChange:n,open:o,size:"md",children:g.jsxs(cn,{children:[g.jsx(xn,{}),g.jsx(pn,{children:g.jsxs(mn,{children:[g.jsx(wn,{children:g.jsxs(vn,{children:["Delete worker ",t]})}),g.jsxs(kn,{children:[g.jsxs(Le,{children:["Are you sure you want to delete worker ",t,"?"]}),g.jsx(Le,{fontSize:"sm",color:"red.500",mt:2,children:"This will permanently remove the worker record from the system. This action cannot be undone."})]}),g.jsxs(Cn,{children:[g.jsx(yn,{asChild:!0,children:g.jsx(Re,{variant:"outline",children:"Cancel"})}),g.jsxs(Re,{onClick:s,colorPalette:"danger",loading:i.isPending,loadingText:"Deleting...",children:[g.jsx(gp,{style:{marginRight:"8px"}}),"Delete Worker"]})]}),g.jsx(bn,{asChild:!0,children:g.jsx(fn,{size:"sm"})})]})})]})})]})};function mp(e){return re({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M400 54.1c63 45 104 118.6 104 201.9 0 136.8-110.8 247.7-247.5 248C120 504.3 8.2 393 8 256.4 7.9 173.1 48.9 99.3 111.8 54.2c11.7-8.3 28-4.8 35 7.7L162.6 90c5.9 10.5 3.1 23.8-6.6 31-41.5 30.8-68 79.6-68 134.9-.1 92.3 74.5 168.1 168 168.1 91.6 0 168.6-74.2 168-169.1-.3-51.8-24.7-101.8-68.1-134-9.7-7.2-12.4-20.5-6.5-30.9l15.8-28.1c7-12.4 23.2-16.1 34.8-7.8zM296 264V24c0-13.3-10.7-24-24-24h-32c-13.3 0-24 10.7-24 24v240c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24z"},child:[]}]})(e)}const vp=({onShutdown:e,workerName:t})=>{const{onClose:n,onOpen:r,open:o}=en(),i=dI({onError:a=>{e({description:`Unable to request shutdown for worker ${t}: ${a}`,title:"Shutdown Request Failed",type:"error"})},onSuccess:()=>{e({description:`Worker ${t} was requested to shutdown.`,title:"Shutdown Request Sent",type:"success"}),n()}}),s=()=>{i.mutate({workerName:t})};return g.jsxs(g.Fragment,{children:[g.jsx(Et,{size:"sm",variant:"ghost",onClick:r,"aria-label":"Shutdown Worker",title:"Shutdown Worker",colorPalette:"danger",children:g.jsx(mp,{})}),g.jsx(gn,{onOpenChange:n,open:o,size:"md",children:g.jsxs(cn,{children:[g.jsx(xn,{}),g.jsx(pn,{children:g.jsxs(mn,{children:[g.jsx(wn,{children:g.jsxs(vn,{children:["Shutdown worker ",t]})}),g.jsxs(kn,{children:[g.jsxs(Le,{children:["Are you sure you want to request shutdown for worker ",t,"?"]}),g.jsx(Le,{fontSize:"sm",color:"red.500",mt:2,children:"This stops the worker on the remote edge. You can't restart it from the UI — you need to start it remotely instead."})]}),g.jsxs(Cn,{children:[g.jsx(yn,{asChild:!0,children:g.jsx(Re,{variant:"outline",children:"Cancel"})}),g.jsxs(Re,{onClick:s,colorPalette:"danger",loading:i.isPending,loadingText:"Shutting down...",children:[g.jsx(mp,{style:{marginRight:"8px"}}),"Shutdown Worker"]})]}),g.jsx(bn,{asChild:!0,children:g.jsx(fn,{size:"sm"})})]})})]})})]})},nT=({onOperations:e,worker:t})=>{const n=t.worker_name,r=t.state,o=i=>{_I.create(i),e()};return r==="idle"||r==="running"?g.jsxs(gi,{justifyContent:"end",gap:2,children:[g.jsx(YI,{onQueueUpdate:o,workerName:n}),g.jsx(tT,{onQueueUpdate:o,worker:t}),g.jsx(JI,{onEnterMaintenance:o,workerName:n}),g.jsx(vp,{onShutdown:o,workerName:n})]}):r==="maintenance pending"||r==="maintenance mode"||r==="maintenance request"||r==="offline maintenance"?g.jsxs(pi,{gap:2,align:"stretch",children:[g.jsx(xr,{fontSize:"sm",whiteSpace:"pre-wrap",children:t.maintenance_comments||"No comment"}),g.jsxs(gi,{justifyContent:"end",gap:2,children:[g.jsx(XI,{onEditComment:o,workerName:n}),g.jsx(eT,{onExitMaintenance:o,workerName:n}),r==="offline maintenance"?g.jsx(pp,{onDelete:o,workerName:n}):g.jsx(vp,{onShutdown:o,workerName:n})]})]}):r==="offline"||r==="unknown"?g.jsx(gi,{justifyContent:"end",children:g.jsx(pp,{onDelete:o,workerName:n})}):null};function rT(e){return re({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m22 3.41-.12-1.26-1.2.4a13.84 13.84 0 0 1-6.41.64 11.87 11.87 0 0 0-6.68.9A7.23 7.23 0 0 0 3.3 9.5a9 9 0 0 0 .39 4.58 16.6 16.6 0 0 1 1.18-2.2 9.85 9.85 0 0 1 4.07-3.43 11.16 11.16 0 0 1 5.06-1A12.08 12.08 0 0 0 9.34 9.2a9.48 9.48 0 0 0-1.86 1.53 11.38 11.38 0 0 0-1.39 1.91 16.39 16.39 0 0 0-1.57 4.54A26.42 26.42 0 0 0 4 22h2a30.69 30.69 0 0 1 .59-4.32 9.25 9.25 0 0 0 4.52 1.11 11 11 0 0 0 4.28-.87C23 14.67 22 3.86 22 3.41z"},child:[]}]})(e)}function oT(e){return re({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M93.72 183.25C49.49 198.05 16 233.1 16 288c0 66 54 112 120 112h184.37m147.45-22.26C485.24 363.3 496 341.61 496 312c0-59.82-53-85.76-96-88-8.89-89.54-71-144-144-144-26.16 0-48.79 6.93-67.6 18.14"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M448 448 64 64"},child:[]}]})(e)}function iT(e){return re({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12.0001 18C12.7144 18 13.3704 18.2497 13.8856 18.6665L12.0001 21L10.1145 18.6665C10.6297 18.2497 11.2857 18 12.0001 18ZM2.80766 1.39343L20.4853 19.0711L19.0711 20.4853L13.8913 15.3042C13.2967 15.1069 12.6609 15 12.0001 15C10.5719 15 9.26024 15.499 8.22998 16.3322L6.97363 14.7759C8.24961 13.7442 9.84925 13.0969 11.5964 13.01L9.00025 10.414C7.55273 10.8234 6.22651 11.5217 5.0878 12.4426L3.83099 10.8868C4.89946 10.0226 6.10763 9.32438 7.41633 8.83118L5.13168 6.5451C3.98878 7.08913 2.92058 7.76472 1.94666 8.55228L0.689453 6.99674C1.60358 6.25747 2.59156 5.60589 3.64058 5.05479L1.39345 2.80765L2.80766 1.39343ZM14.5004 10.2854L12.2165 8.00243L12 8C15.0947 8 17.9369 9.08141 20.1693 10.8869L18.9123 12.4426C17.6438 11.4167 16.1427 10.6672 14.5004 10.2854ZM12.0001 3.00003C16.2849 3.00003 20.22 4.49719 23.3109 6.99691L22.0534 8.55228C19.3061 6.33062 15.8085 5.00003 12.0001 5.00003C11.122 5.00003 10.2604 5.07077 9.42075 5.20685L7.72455 3.51088C9.09498 3.17702 10.5268 3.00003 12.0001 3.00003Z"},child:[]}]})(e)}const sT=({state:e,...t})=>{switch(e){case"starting":return g.jsx(up,{...t});case"running":return g.jsx(cp,{...t});case"idle":return g.jsx(rT,{...t});case"shutdown request":case"terminating":return g.jsx(FI,{...t});case"offline":return g.jsx(oT,{...t});case"unknown":return g.jsx(iT,{...t});case"maintenance request":case"maintenance pending":case"maintenance exit":return g.jsx(QI,{...t});case"maintenance mode":case"offline maintenance":return g.jsx(fp,{...t});default:return g.jsx(ip,{...t})}},aT=e=>{switch(e){case"starting":case"maintenance request":case"maintenance exit":return"yellow";case"running":return"green";case"idle":return"teal";case"shutdown request":case"terminating":return"purple";case"offline":case"offline maintenance":return"black";case"unknown":return"red";case"maintenance mode":case"maintenance pending":return"orange";default:return"gray"}},lT=e=>{switch(e){case"starting":return"Edge Worker is in initialization.";case"running":return"Edge Worker is actively running a task.";case"idle":return"Edge Worker is active and waiting for a task.";case"shutdown request":return"Request to shutdown Edge Worker is issued. It will be picked-up on the next heartbeat, tasks will drain and then worker will terminate.";case"terminating":return"Edge Worker is completing work (draining running tasks) and stopping.";case"offline":return"Edge Worker was shut down.";case"unknown":return"No heartbeat signal from worker for some time, Edge Worker probably down or got disconnected.";case"maintenance request":return"Worker was requested to enter maintenance mode. Once worker receives this message it will pause fetching tasks and drain tasks.";case"maintenance pending":return"Edge Worker received the request for maintenance, waiting for tasks to finish. Once tasks are finished will move to 'maintenance mode'.";case"maintenance mode":return"Edge Worker is in maintenance mode. It is online but pauses fetching tasks.";case"maintenance exit":return"Request Worker is requested to exit maintenance mode. Once the worker receives this state it will un-pause and fetch new tasks.";case"offline maintenance":return"Worker was shut down in maintenance mode. It will be in maintenance mode when restarted.";default:return}},cT=C.forwardRef(({children:e,state:t,...n},r)=>g.jsxs(of,{borderRadius:"full",colorPalette:aT(t),fontSize:"sm",px:e===void 0?1:2,py:1,ref:r,title:lT(t),variant:"solid",...n,children:[t===void 0?void 0:g.jsx(sT,{state:t}),e]})),uT=()=>{const{data:e,error:t,refetch:n}=lI(void 0,{enabled:!0,refetchInterval:dp});return e?.workers&&e.workers.length>0?g.jsxs(xr,{p:2,children:[g.jsxs(hf,{size:"sm",interactive:!0,stickyHeader:!0,striped:!0,children:[g.jsx(ff,{children:g.jsxs(mi,{children:[g.jsx(ke,{children:"Worker Name"}),g.jsx(ke,{children:"State"}),g.jsx(ke,{children:"Queues"}),g.jsx(ke,{children:"First Online"}),g.jsx(ke,{children:"Last Heartbeat"}),g.jsx(ke,{children:"Active Jobs"}),g.jsx(ke,{children:"System Information"}),g.jsx(ke,{children:"Operations"})]})}),g.jsx(gf,{children:e.workers.map(r=>g.jsxs(mi,{id:r.worker_name,children:[g.jsx(Ce,{children:r.worker_name}),g.jsx(Ce,{children:g.jsx(cT,{state:r.state,children:r.state})}),g.jsx(Ce,{children:r.queues?g.jsx(uf,{children:r.queues.map(o=>g.jsx(df,{children:o},o))}):"(all queues)"}),g.jsx(Ce,{children:r.first_online?g.jsx(ji,{date:r.first_online,live:!1}):void 0}),g.jsx(Ce,{children:r.last_heartbeat?g.jsx(ji,{date:r.last_heartbeat,live:!1}):void 0}),g.jsx(Ce,{children:r.jobs_active}),g.jsx(Ce,{children:r.sysinfo?g.jsx(uf,{children:Object.entries(r.sysinfo).map(([o,i])=>g.jsxs(df,{children:[o,": ",i]},o))}):"N/A"}),g.jsx(Ce,{children:g.jsx(nT,{worker:r,onOperations:n})})]},r.worker_name))})]}),g.jsx(VI,{})]}):e?g.jsxs(Le,{as:"div",pl:4,pt:1,children:["No known workers. Start one via ",g.jsx(JE,{children:"airflow edge worker [...]"}),". See"," ",g.jsxs(Br,{target:"_blank",variant:"underline",color:"fg.info",href:"https://airflow.apache.org/docs/apache-airflow-providers-edge3/stable/deployment.html",children:["Edge Worker Deployment docs ",g.jsx(RI,{})]})," ","how to deploy a new worker."]}):t?g.jsx(Le,{as:"div",pl:4,pt:1,children:g.jsx(lp,{error:t})}):g.jsx(Le,{as:"div",pl:4,pt:1,children:"Loading..."})},dT=({tabs:e})=>{const t=P.useRef(null),n=UI(t);return g.jsx(gi,{alignItems:"center",borderBottomWidth:1,mb:2,ref:t,children:e.map(({icon:r,label:o,value:i})=>g.jsx(qg,{end:!0,title:o,to:{pathname:i},children:({isActive:s})=>g.jsx(sf,{borderBottomColor:"border.info",borderBottomWidth:s?3:0,color:s?"fg":"fg.muted",fontWeight:"bold",height:"40px",mb:"-2px",pb:s?0:"3px",px:4,transition:"all 0.2s ease",children:n>600||!r?o:r})},i))})},hT=()=>{const e=[{label:"Edge Worker",value:"plugin/edge_worker"},{label:"Edge Jobs",value:"plugin/edge_jobs"}];return g.jsx(xr,{p:2,children:g.jsxs(LR,{children:[g.jsx(dT,{tabs:e}),g.jsxs(fR,{children:[g.jsx(il,{path:"plugin/edge_worker",element:g.jsx(uT,{})}),g.jsx(il,{path:"plugin/edge_jobs",element:g.jsx(KI,{})})]})]})})};/*!
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -155,4 +139,4 @@
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- */const U=(e,t="white")=>({solid:{value:`{colors.${e}.600}`},contrast:{value:{_light:"white",_dark:t}},fg:{value:{_light:`{colors.${e}.800}`,_dark:`{colors.${e}.200}`}},muted:{value:{_light:`{colors.${e}.200}`,_dark:`{colors.${e}.800}`}},subtle:{value:{_light:`{colors.${e}.100}`,_dark:`{colors.${e}.900}`}},emphasized:{value:{_light:`{colors.${e}.300}`,_dark:`{colors.${e}.700}`}},focusRing:{value:{_light:`{colors.${e}.800}`,_dark:`{colors.${e}.200}`}}}),zR=va({theme:{tokens:{colors:{black:{value:"oklch(0.23185 0.0323 266.44)"},brand:{50:{value:"oklch(0.98 0.006 248.717)"},100:{value:"oklch(0.962 0.012 249.460)"},200:{value:"oklch(0.923 0.023 255.082)"},300:{value:"oklch(0.865 0.039 252.420)"},400:{value:"oklch(0.705 0.066 256.378)"},500:{value:"oklch(0.575 0.08 257.759)"},600:{value:"oklch(0.469 0.084 257.657)"},700:{value:"oklch(0.399 0.084 257.850)"},800:{value:"oklch(0.324 0.072 260.329)"},900:{value:"oklch(0.259 0.062 265.566)"},950:{value:"oklch(0.179 0.05 265.487)"}},gray:{50:{value:"oklch(0.985 0.004 253)"},100:{value:"oklch(0.955 0.006 253)"},200:{value:"oklch(0.915 0.01 253)"},300:{value:"oklch(0.85 0.016 253)"},400:{value:"oklch(0.75 0.025 252)"},500:{value:"oklch(0.63, 0.04, 252)"},600:{value:"oklch(0.45 0.055 251)"},700:{value:"oklch(0.35 0.045 251)"},800:{value:"oklch(0.28 0.035 251)"},900:{value:"oklch(0.18 0.03 251)"},950:{value:"oklch(0.11 0.025 251)"}},red:{50:{value:"oklch(0.971 0.013 17.38)"},100:{value:"oklch(0.936 0.032 17.717)"},200:{value:"oklch(0.885 0.062 18.334)"},300:{value:"oklch(0.808 0.114 19.571)"},400:{value:"oklch(0.704 0.191 22.216)"},500:{value:"oklch(0.637 0.237 25.331)"},600:{value:"oklch(0.577 0.245 27.325)"},700:{value:"oklch(0.505 0.213 27.518)"},800:{value:"oklch(0.444 0.177 26.899)"},900:{value:"oklch(0.396 0.141 25.723)"},950:{value:"oklch(0.258 0.092 26.042)"}},orange:{50:{value:"oklch(0.982 0.013 83.915)"},100:{value:"oklch(0.961 0.033 82.320)"},200:{value:"oklch(0.918 0.065 79.975)"},300:{value:"oklch(0.857 0.118 76.815)"},400:{value:"oklch(0.7492 0.1439 62.081)"},500:{value:"oklch(0.6462 0.1979 43.792)"},600:{value:"oklch(0.5902 0.198 35.93)"},700:{value:"oklch(0.553 0.184 41.777)"},800:{value:"oklch(0.469 0.144 45.164)"},900:{value:"oklch(0.414 0.110 48.717)"},950:{value:"oklch(0.271 0.069 52.345)"}},amber:{50:{value:"oklch(0.987 0.022 95.277)"},100:{value:"oklch(0.962 0.059 95.617)"},200:{value:"oklch(0.924 0.12 95.746)"},300:{value:"oklch(0.879 0.169 91.605)"},400:{value:"oklch(0.828 0.189 84.429)"},500:{value:"oklch(0.769 0.188 70.08)"},600:{value:"oklch(0.666 0.179 58.318)"},700:{value:"oklch(0.555 0.163 48.998)"},800:{value:"oklch(0.473 0.137 46.201)"},900:{value:"oklch(0.414 0.112 45.904)"},950:{value:"oklch(0.279 0.077 45.635)"}},yellow:{50:{value:"oklch(0.987 0.026 102.212)"},100:{value:"oklch(0.973 0.071 103.193)"},200:{value:"oklch(0.945 0.129 101.54)"},300:{value:"oklch(0.905 0.182 98.111)"},400:{value:"oklch(0.852 0.199 91.936)"},500:{value:"oklch(0.795 0.184 86.047)"},600:{value:"oklch(0.681 0.162 75.834)"},700:{value:"oklch(0.554 0.135 66.442)"},800:{value:"oklch(0.476 0.114 61.907)"},900:{value:"oklch(0.421 0.095 57.708)"},950:{value:"oklch(0.286 0.066 53.813)"}},lime:{50:{value:"oklch(0.986 0.031 120.757)"},100:{value:"oklch(0.967 0.067 122.328)"},200:{value:"oklch(0.938 0.127 124.321)"},300:{value:"oklch(0.897 0.196 126.665)"},400:{value:"oklch(0.841 0.238 128.85)"},500:{value:"oklch(0.768 0.233 130.85)"},600:{value:"oklch(0.648 0.2 131.684)"},700:{value:"oklch(0.532 0.157 131.589)"},800:{value:"oklch(0.453 0.124 130.933)"},900:{value:"oklch(0.405 0.101 131.063)"},950:{value:"oklch(0.274 0.072 132.109)"}},green:{50:{value:"oklch(0.982 0.018 155.826)"},100:{value:"oklch(0.962 0.044 156.743)"},200:{value:"oklch(0.925 0.084 155.995)"},300:{value:"oklch(0.75 0.18 153.0)"},400:{value:"oklch(0.625 0.209 150.0)"},500:{value:"oklch(0.528 0.219 149.579)"},600:{value:"oklch(0.47 0.20 149.0)"},700:{value:"oklch(0.40 0.16 149.5)"},800:{value:"oklch(0.448 0.119 151.328)"},900:{value:"oklch(0.393 0.095 152.535)"},950:{value:"oklch(0.266 0.065 152.934)"}},emerald:{50:{value:"oklch(0.979 0.021 166.113)"},100:{value:"oklch(0.95 0.052 163.051)"},200:{value:"oklch(0.905 0.093 164.15)"},300:{value:"oklch(0.845 0.143 164.978)"},400:{value:"oklch(0.765 0.177 163.223)"},500:{value:"oklch(0.696 0.17 162.48)"},600:{value:"oklch(0.596 0.145 163.225)"},700:{value:"oklch(0.508 0.118 165.612)"},800:{value:"oklch(0.432 0.095 166.913)"},900:{value:"oklch(0.378 0.077 168.94)"},950:{value:"oklch(0.262 0.051 172.552)"}},teal:{50:{value:"oklch(0.984 0.014 180.72)"},100:{value:"oklch(0.953 0.051 180.801)"},200:{value:"oklch(0.91 0.096 180.426)"},300:{value:"oklch(0.855 0.138 181.071)"},400:{value:"oklch(0.777 0.152 181.912)"},500:{value:"oklch(0.704 0.14 182.503)"},600:{value:"oklch(0.6 0.118 184.704)"},700:{value:"oklch(0.511 0.096 186.391)"},800:{value:"oklch(0.437 0.078 188.216)"},900:{value:"oklch(0.386 0.063 188.416)"},950:{value:"oklch(0.277 0.046 192.524)"}},cyan:{50:{value:"oklch(0.984 0.019 200.873)"},100:{value:"oklch(0.956 0.045 203.388)"},200:{value:"oklch(0.917 0.08 205.041)"},300:{value:"oklch(0.865 0.127 207.078)"},400:{value:"oklch(0.789 0.154 211.53)"},500:{value:"oklch(0.715 0.143 215.221)"},600:{value:"oklch(0.609 0.126 221.723)"},700:{value:"oklch(0.52 0.105 223.128)"},800:{value:"oklch(0.45 0.085 224.283)"},900:{value:"oklch(0.398 0.07 227.392)"},950:{value:"oklch(0.302 0.056 229.695)"}},sky:{50:{value:"oklch(0.977 0.013 236.62)"},100:{value:"oklch(0.951 0.026 236.824)"},200:{value:"oklch(0.901 0.058 230.902)"},300:{value:"oklch(0.828 0.111 230.318)"},400:{value:"oklch(0.746 0.16 232.661)"},500:{value:"oklch(0.685 0.169 237.323)"},600:{value:"oklch(0.588 0.158 241.966)"},700:{value:"oklch(0.5 0.134 242.749)"},800:{value:"oklch(0.443 0.11 240.79)"},900:{value:"oklch(0.391 0.09 240.876)"},950:{value:"oklch(0.293 0.066 243.157)"}},blue:{50:{value:"oklch(0.97 0.014 254.604)"},100:{value:"oklch(0.932 0.032 255.585)"},200:{value:"oklch(0.882 0.059 254.128)"},300:{value:"oklch(0.809 0.105 251.813)"},400:{value:"oklch(0.707 0.165 254.624)"},500:{value:"oklch(0.623 0.214 259.815)"},600:{value:"oklch(0.546 0.245 262.881)"},700:{value:"oklch(0.488 0.243 264.376)"},800:{value:"oklch(0.424 0.199 265.638)"},900:{value:"oklch(0.379 0.146 265.522)"},950:{value:"oklch(0.282 0.091 267.935)"}},indigo:{50:{value:"oklch(0.962 0.018 272.314)"},100:{value:"oklch(0.93 0.034 272.788)"},200:{value:"oklch(0.87 0.065 274.039)"},300:{value:"oklch(0.785 0.115 274.713)"},400:{value:"oklch(0.673 0.182 276.935)"},500:{value:"oklch(0.585 0.233 277.117)"},600:{value:"oklch(0.511 0.262 276.966)"},700:{value:"oklch(0.457 0.24 277.023)"},800:{value:"oklch(0.398 0.195 277.366)"},900:{value:"oklch(0.359 0.144 278.697)"},950:{value:"oklch(0.257 0.09 281.288)"}},violet:{50:{value:"oklch(0.969 0.016 293.756)"},100:{value:"oklch(0.943 0.029 294.588)"},200:{value:"oklch(0.894 0.057 293.283)"},300:{value:"oklch(0.811 0.111 293.571)"},400:{value:"oklch(0.702 0.183 293.541)"},500:{value:"oklch(0.606 0.25 292.717)"},600:{value:"oklch(0.541 0.281 293.009)"},700:{value:"oklch(0.491 0.27 292.581)"},800:{value:"oklch(0.432 0.232 292.759)"},900:{value:"oklch(0.38 0.189 293.745)"},950:{value:"oklch(0.283 0.141 291.089)"}},purple:{50:{value:"oklch(0.977 0.014 308.299)"},100:{value:"oklch(0.946 0.033 307.174)"},200:{value:"oklch(0.902 0.063 306.703)"},300:{value:"oklch(0.827 0.119 306.383)"},400:{value:"oklch(0.714 0.203 305.504)"},500:{value:"oklch(0.627 0.265 303.9)"},600:{value:"oklch(0.558 0.288 302.321)"},700:{value:"oklch(0.496 0.265 301.924)"},800:{value:"oklch(0.438 0.218 303.724)"},900:{value:"oklch(0.381 0.176 304.987)"},950:{value:"oklch(0.291 0.149 302.717)"}},fuchsia:{50:{value:"oklch(0.977 0.017 320.058)"},100:{value:"oklch(0.952 0.037 318.852)"},200:{value:"oklch(0.903 0.076 319.62)"},300:{value:"oklch(0.833 0.145 321.434)"},400:{value:"oklch(0.74 0.238 322.16)"},500:{value:"oklch(0.667 0.295 322.15)"},600:{value:"oklch(0.591 0.293 322.896)"},700:{value:"oklch(0.518 0.253 323.949)"},800:{value:"oklch(0.452 0.211 324.591)"},900:{value:"oklch(0.401 0.17 325.612)"},950:{value:"oklch(0.293 0.136 325.661)"}},pink:{50:{value:"oklch(0.971 0.014 343.198)"},100:{value:"oklch(0.948 0.028 342.258)"},200:{value:"oklch(0.899 0.061 343.231)"},300:{value:"oklch(0.823 0.12 346.018)"},400:{value:"oklch(0.718 0.202 349.761)"},500:{value:"oklch(0.656 0.241 354.308)"},600:{value:"oklch(0.592 0.249 0.584)"},700:{value:"oklch(0.525 0.223 3.958)"},800:{value:"oklch(0.459 0.187 3.815)"},900:{value:"oklch(0.408 0.153 2.432)"},950:{value:"oklch(0.284 0.109 3.907)"}},rose:{50:{value:"oklch(0.969 0.015 12.422)"},100:{value:"oklch(0.941 0.03 12.58)"},200:{value:"oklch(0.892 0.058 10.001)"},300:{value:"oklch(0.81 0.117 11.638)"},400:{value:"oklch(0.712 0.194 13.428)"},500:{value:"oklch(0.645 0.246 16.439)"},600:{value:"oklch(0.586 0.253 17.585)"},700:{value:"oklch(0.514 0.222 16.935)"},800:{value:"oklch(0.455 0.188 13.697)"},900:{value:"oklch(0.41 0.159 10.272)"},950:{value:"oklch(0.271 0.105 12.094)"}},slate:{50:{value:"oklch(0.984 0.003 247.858)"},100:{value:"oklch(0.968 0.007 247.896)"},200:{value:"oklch(0.929 0.013 255.508)"},300:{value:"oklch(0.869 0.022 252.894)"},400:{value:"oklch(0.704 0.04 256.788)"},500:{value:"oklch(0.554 0.046 257.417)"},600:{value:"oklch(0.446 0.043 257.281)"},700:{value:"oklch(0.372 0.044 257.287)"},800:{value:"oklch(0.279 0.041 260.031)"},900:{value:"oklch(0.208 0.042 265.755)"},950:{value:"oklch(0.129 0.042 264.695)"}},zinc:{50:{value:"oklch(0.985 0 0)"},100:{value:"oklch(0.967 0.001 286.375)"},200:{value:"oklch(0.92 0.004 286.32)"},300:{value:"oklch(0.871 0.006 286.286)"},400:{value:"oklch(0.705 0.015 286.067)"},500:{value:"oklch(0.552 0.016 285.938)"},600:{value:"oklch(0.442 0.017 285.786)"},700:{value:"oklch(0.37 0.013 285.805)"},800:{value:"oklch(0.274 0.006 286.033)"},900:{value:"oklch(0.21 0.006 285.885)"},950:{value:"oklch(0.141 0.005 285.823)"}},neutral:{50:{value:"oklch(0.985 0 0)"},100:{value:"oklch(0.97 0 0)"},200:{value:"oklch(0.922 0 0)"},300:{value:"oklch(0.87 0 0)"},400:{value:"oklch(0.708 0 0)"},500:{value:"oklch(0.556 0 0)"},600:{value:"oklch(0.439 0 0)"},700:{value:"oklch(0.371 0 0)"},800:{value:"oklch(0.269 0 0)"},900:{value:"oklch(0.205 0 0)"},950:{value:"oklch(0.145 0 0)"}},stone:{50:{value:"oklch(0.985 0.001 106.423)"},100:{value:"oklch(0.97 0.001 106.424)"},200:{value:"oklch(0.923 0.003 48.717)"},300:{value:"oklch(0.869 0.005 56.366)"},400:{value:"oklch(0.709 0.01 56.259)"},500:{value:"oklch(0.553 0.013 58.071)"},600:{value:"oklch(0.444 0.011 73.639)"},700:{value:"oklch(0.374 0.01 67.558)"},800:{value:"oklch(0.268 0.007 34.298)"},900:{value:"oklch(0.216 0.006 56.043)"},950:{value:"oklch(0.147 0.004 49.25)"}}}},semanticTokens:{colors:{brand:U("brand"),danger:U("red"),info:U("blue"),warning:U("amber"),error:U("red"),active:U("blue"),success:U("green"),failed:U("red"),queued:U("stone"),skipped:U("pink"),up_for_reschedule:U("sky"),up_for_retry:U("yellow"),upstream_failed:U("orange"),running:U("cyan"),restarting:U("violet"),deferred:U("purple"),scheduled:U("zinc"),none:U("gray"),removed:U("slate"),red:U("red"),orange:U("orange"),amber:U("amber"),yellow:U("yellow"),lime:U("lime"),green:U("green"),emerald:U("emerald"),teal:U("teal"),cyan:U("cyan"),sky:U("sky"),blue:U("blue"),indigo:U("indigo"),violet:U("violet"),purple:U("purple"),fuchsia:U("fuchsia"),pink:U("pink"),rose:U("rose"),slate:U("slate"),gray:U("gray"),zinc:U("zinc"),neutral:U("neutral"),stone:U("stone")}}}}),MR=Rh(Hh,zR);return()=>{le.interceptors.request.use(bR);const e=new S2({defaultOptions:{queries:{staleTime:1/0}}});return f.jsx(bm,{value:MR,children:f.jsx(w2,{client:e,children:f.jsx(hP,{children:f.jsx(DR,{})})})})}}));
+ */const U=(e,t="white")=>({solid:{value:`{colors.${e}.600}`},contrast:{value:{_light:"white",_dark:t}},fg:{value:{_light:`{colors.${e}.800}`,_dark:`{colors.${e}.200}`}},muted:{value:{_light:`{colors.${e}.200}`,_dark:`{colors.${e}.800}`}},subtle:{value:{_light:`{colors.${e}.100}`,_dark:`{colors.${e}.900}`}},emphasized:{value:{_light:`{colors.${e}.300}`,_dark:`{colors.${e}.700}`}},focusRing:{value:{_light:`{colors.${e}.800}`,_dark:`{colors.${e}.200}`}}}),fT=ka({theme:{tokens:{colors:{black:{value:"oklch(0.23185 0.0323 266.44)"},brand:{50:{value:"oklch(0.98 0.006 248.717)"},100:{value:"oklch(0.962 0.012 249.460)"},200:{value:"oklch(0.923 0.023 255.082)"},300:{value:"oklch(0.865 0.039 252.420)"},400:{value:"oklch(0.705 0.066 256.378)"},500:{value:"oklch(0.575 0.08 257.759)"},600:{value:"oklch(0.469 0.084 257.657)"},700:{value:"oklch(0.399 0.084 257.850)"},800:{value:"oklch(0.324 0.072 260.329)"},900:{value:"oklch(0.259 0.062 265.566)"},950:{value:"oklch(0.179 0.05 265.487)"}},gray:{50:{value:"oklch(0.985 0.004 253)"},100:{value:"oklch(0.955 0.006 253)"},200:{value:"oklch(0.915 0.01 253)"},300:{value:"oklch(0.85 0.016 253)"},400:{value:"oklch(0.75 0.025 252)"},500:{value:"oklch(0.63, 0.04, 252)"},600:{value:"oklch(0.45 0.055 251)"},700:{value:"oklch(0.35 0.045 251)"},800:{value:"oklch(0.28 0.035 251)"},900:{value:"oklch(0.18 0.03 251)"},950:{value:"oklch(0.11 0.025 251)"}},red:{50:{value:"oklch(0.971 0.013 17.38)"},100:{value:"oklch(0.936 0.032 17.717)"},200:{value:"oklch(0.885 0.062 18.334)"},300:{value:"oklch(0.808 0.114 19.571)"},400:{value:"oklch(0.704 0.191 22.216)"},500:{value:"oklch(0.637 0.237 25.331)"},600:{value:"oklch(0.577 0.245 27.325)"},700:{value:"oklch(0.505 0.213 27.518)"},800:{value:"oklch(0.444 0.177 26.899)"},900:{value:"oklch(0.396 0.141 25.723)"},950:{value:"oklch(0.258 0.092 26.042)"}},orange:{50:{value:"oklch(0.982 0.013 83.915)"},100:{value:"oklch(0.961 0.033 82.320)"},200:{value:"oklch(0.918 0.065 79.975)"},300:{value:"oklch(0.857 0.118 76.815)"},400:{value:"oklch(0.7492 0.1439 62.081)"},500:{value:"oklch(0.6462 0.1979 43.792)"},600:{value:"oklch(0.5902 0.198 35.93)"},700:{value:"oklch(0.553 0.184 41.777)"},800:{value:"oklch(0.469 0.144 45.164)"},900:{value:"oklch(0.414 0.110 48.717)"},950:{value:"oklch(0.271 0.069 52.345)"}},amber:{50:{value:"oklch(0.987 0.022 95.277)"},100:{value:"oklch(0.962 0.059 95.617)"},200:{value:"oklch(0.924 0.12 95.746)"},300:{value:"oklch(0.879 0.169 91.605)"},400:{value:"oklch(0.828 0.189 84.429)"},500:{value:"oklch(0.769 0.188 70.08)"},600:{value:"oklch(0.666 0.179 58.318)"},700:{value:"oklch(0.555 0.163 48.998)"},800:{value:"oklch(0.473 0.137 46.201)"},900:{value:"oklch(0.414 0.112 45.904)"},950:{value:"oklch(0.279 0.077 45.635)"}},yellow:{50:{value:"oklch(0.987 0.026 102.212)"},100:{value:"oklch(0.973 0.071 103.193)"},200:{value:"oklch(0.945 0.129 101.54)"},300:{value:"oklch(0.905 0.182 98.111)"},400:{value:"oklch(0.852 0.199 91.936)"},500:{value:"oklch(0.795 0.184 86.047)"},600:{value:"oklch(0.681 0.162 75.834)"},700:{value:"oklch(0.554 0.135 66.442)"},800:{value:"oklch(0.476 0.114 61.907)"},900:{value:"oklch(0.421 0.095 57.708)"},950:{value:"oklch(0.286 0.066 53.813)"}},lime:{50:{value:"oklch(0.986 0.031 120.757)"},100:{value:"oklch(0.967 0.067 122.328)"},200:{value:"oklch(0.938 0.127 124.321)"},300:{value:"oklch(0.897 0.196 126.665)"},400:{value:"oklch(0.841 0.238 128.85)"},500:{value:"oklch(0.768 0.233 130.85)"},600:{value:"oklch(0.648 0.2 131.684)"},700:{value:"oklch(0.532 0.157 131.589)"},800:{value:"oklch(0.453 0.124 130.933)"},900:{value:"oklch(0.405 0.101 131.063)"},950:{value:"oklch(0.274 0.072 132.109)"}},green:{50:{value:"oklch(0.982 0.018 155.826)"},100:{value:"oklch(0.962 0.044 156.743)"},200:{value:"oklch(0.925 0.084 155.995)"},300:{value:"oklch(0.75 0.18 153.0)"},400:{value:"oklch(0.625 0.209 150.0)"},500:{value:"oklch(0.528 0.219 149.579)"},600:{value:"oklch(0.47 0.20 149.0)"},700:{value:"oklch(0.40 0.16 149.5)"},800:{value:"oklch(0.448 0.119 151.328)"},900:{value:"oklch(0.393 0.095 152.535)"},950:{value:"oklch(0.266 0.065 152.934)"}},emerald:{50:{value:"oklch(0.979 0.021 166.113)"},100:{value:"oklch(0.95 0.052 163.051)"},200:{value:"oklch(0.905 0.093 164.15)"},300:{value:"oklch(0.845 0.143 164.978)"},400:{value:"oklch(0.765 0.177 163.223)"},500:{value:"oklch(0.696 0.17 162.48)"},600:{value:"oklch(0.596 0.145 163.225)"},700:{value:"oklch(0.508 0.118 165.612)"},800:{value:"oklch(0.432 0.095 166.913)"},900:{value:"oklch(0.378 0.077 168.94)"},950:{value:"oklch(0.262 0.051 172.552)"}},teal:{50:{value:"oklch(0.984 0.014 180.72)"},100:{value:"oklch(0.953 0.051 180.801)"},200:{value:"oklch(0.91 0.096 180.426)"},300:{value:"oklch(0.855 0.138 181.071)"},400:{value:"oklch(0.777 0.152 181.912)"},500:{value:"oklch(0.704 0.14 182.503)"},600:{value:"oklch(0.6 0.118 184.704)"},700:{value:"oklch(0.511 0.096 186.391)"},800:{value:"oklch(0.437 0.078 188.216)"},900:{value:"oklch(0.386 0.063 188.416)"},950:{value:"oklch(0.277 0.046 192.524)"}},cyan:{50:{value:"oklch(0.984 0.019 200.873)"},100:{value:"oklch(0.956 0.045 203.388)"},200:{value:"oklch(0.917 0.08 205.041)"},300:{value:"oklch(0.865 0.127 207.078)"},400:{value:"oklch(0.789 0.154 211.53)"},500:{value:"oklch(0.715 0.143 215.221)"},600:{value:"oklch(0.609 0.126 221.723)"},700:{value:"oklch(0.52 0.105 223.128)"},800:{value:"oklch(0.45 0.085 224.283)"},900:{value:"oklch(0.398 0.07 227.392)"},950:{value:"oklch(0.302 0.056 229.695)"}},sky:{50:{value:"oklch(0.977 0.013 236.62)"},100:{value:"oklch(0.951 0.026 236.824)"},200:{value:"oklch(0.901 0.058 230.902)"},300:{value:"oklch(0.828 0.111 230.318)"},400:{value:"oklch(0.746 0.16 232.661)"},500:{value:"oklch(0.685 0.169 237.323)"},600:{value:"oklch(0.588 0.158 241.966)"},700:{value:"oklch(0.5 0.134 242.749)"},800:{value:"oklch(0.443 0.11 240.79)"},900:{value:"oklch(0.391 0.09 240.876)"},950:{value:"oklch(0.293 0.066 243.157)"}},blue:{50:{value:"oklch(0.97 0.014 254.604)"},100:{value:"oklch(0.932 0.032 255.585)"},200:{value:"oklch(0.882 0.059 254.128)"},300:{value:"oklch(0.809 0.105 251.813)"},400:{value:"oklch(0.707 0.165 254.624)"},500:{value:"oklch(0.623 0.214 259.815)"},600:{value:"oklch(0.546 0.245 262.881)"},700:{value:"oklch(0.488 0.243 264.376)"},800:{value:"oklch(0.424 0.199 265.638)"},900:{value:"oklch(0.379 0.146 265.522)"},950:{value:"oklch(0.282 0.091 267.935)"}},indigo:{50:{value:"oklch(0.962 0.018 272.314)"},100:{value:"oklch(0.93 0.034 272.788)"},200:{value:"oklch(0.87 0.065 274.039)"},300:{value:"oklch(0.785 0.115 274.713)"},400:{value:"oklch(0.673 0.182 276.935)"},500:{value:"oklch(0.585 0.233 277.117)"},600:{value:"oklch(0.511 0.262 276.966)"},700:{value:"oklch(0.457 0.24 277.023)"},800:{value:"oklch(0.398 0.195 277.366)"},900:{value:"oklch(0.359 0.144 278.697)"},950:{value:"oklch(0.257 0.09 281.288)"}},violet:{50:{value:"oklch(0.969 0.016 293.756)"},100:{value:"oklch(0.943 0.029 294.588)"},200:{value:"oklch(0.894 0.057 293.283)"},300:{value:"oklch(0.811 0.111 293.571)"},400:{value:"oklch(0.702 0.183 293.541)"},500:{value:"oklch(0.606 0.25 292.717)"},600:{value:"oklch(0.541 0.281 293.009)"},700:{value:"oklch(0.491 0.27 292.581)"},800:{value:"oklch(0.432 0.232 292.759)"},900:{value:"oklch(0.38 0.189 293.745)"},950:{value:"oklch(0.283 0.141 291.089)"}},purple:{50:{value:"oklch(0.977 0.014 308.299)"},100:{value:"oklch(0.946 0.033 307.174)"},200:{value:"oklch(0.902 0.063 306.703)"},300:{value:"oklch(0.827 0.119 306.383)"},400:{value:"oklch(0.714 0.203 305.504)"},500:{value:"oklch(0.627 0.265 303.9)"},600:{value:"oklch(0.558 0.288 302.321)"},700:{value:"oklch(0.496 0.265 301.924)"},800:{value:"oklch(0.438 0.218 303.724)"},900:{value:"oklch(0.381 0.176 304.987)"},950:{value:"oklch(0.291 0.149 302.717)"}},fuchsia:{50:{value:"oklch(0.977 0.017 320.058)"},100:{value:"oklch(0.952 0.037 318.852)"},200:{value:"oklch(0.903 0.076 319.62)"},300:{value:"oklch(0.833 0.145 321.434)"},400:{value:"oklch(0.74 0.238 322.16)"},500:{value:"oklch(0.667 0.295 322.15)"},600:{value:"oklch(0.591 0.293 322.896)"},700:{value:"oklch(0.518 0.253 323.949)"},800:{value:"oklch(0.452 0.211 324.591)"},900:{value:"oklch(0.401 0.17 325.612)"},950:{value:"oklch(0.293 0.136 325.661)"}},pink:{50:{value:"oklch(0.971 0.014 343.198)"},100:{value:"oklch(0.948 0.028 342.258)"},200:{value:"oklch(0.899 0.061 343.231)"},300:{value:"oklch(0.823 0.12 346.018)"},400:{value:"oklch(0.718 0.202 349.761)"},500:{value:"oklch(0.656 0.241 354.308)"},600:{value:"oklch(0.592 0.249 0.584)"},700:{value:"oklch(0.525 0.223 3.958)"},800:{value:"oklch(0.459 0.187 3.815)"},900:{value:"oklch(0.408 0.153 2.432)"},950:{value:"oklch(0.284 0.109 3.907)"}},rose:{50:{value:"oklch(0.969 0.015 12.422)"},100:{value:"oklch(0.941 0.03 12.58)"},200:{value:"oklch(0.892 0.058 10.001)"},300:{value:"oklch(0.81 0.117 11.638)"},400:{value:"oklch(0.712 0.194 13.428)"},500:{value:"oklch(0.645 0.246 16.439)"},600:{value:"oklch(0.586 0.253 17.585)"},700:{value:"oklch(0.514 0.222 16.935)"},800:{value:"oklch(0.455 0.188 13.697)"},900:{value:"oklch(0.41 0.159 10.272)"},950:{value:"oklch(0.271 0.105 12.094)"}},slate:{50:{value:"oklch(0.984 0.003 247.858)"},100:{value:"oklch(0.968 0.007 247.896)"},200:{value:"oklch(0.929 0.013 255.508)"},300:{value:"oklch(0.869 0.022 252.894)"},400:{value:"oklch(0.704 0.04 256.788)"},500:{value:"oklch(0.554 0.046 257.417)"},600:{value:"oklch(0.446 0.043 257.281)"},700:{value:"oklch(0.372 0.044 257.287)"},800:{value:"oklch(0.279 0.041 260.031)"},900:{value:"oklch(0.208 0.042 265.755)"},950:{value:"oklch(0.129 0.042 264.695)"}},zinc:{50:{value:"oklch(0.985 0 0)"},100:{value:"oklch(0.967 0.001 286.375)"},200:{value:"oklch(0.92 0.004 286.32)"},300:{value:"oklch(0.871 0.006 286.286)"},400:{value:"oklch(0.705 0.015 286.067)"},500:{value:"oklch(0.552 0.016 285.938)"},600:{value:"oklch(0.442 0.017 285.786)"},700:{value:"oklch(0.37 0.013 285.805)"},800:{value:"oklch(0.274 0.006 286.033)"},900:{value:"oklch(0.21 0.006 285.885)"},950:{value:"oklch(0.141 0.005 285.823)"}},neutral:{50:{value:"oklch(0.985 0 0)"},100:{value:"oklch(0.97 0 0)"},200:{value:"oklch(0.922 0 0)"},300:{value:"oklch(0.87 0 0)"},400:{value:"oklch(0.708 0 0)"},500:{value:"oklch(0.556 0 0)"},600:{value:"oklch(0.439 0 0)"},700:{value:"oklch(0.371 0 0)"},800:{value:"oklch(0.269 0 0)"},900:{value:"oklch(0.205 0 0)"},950:{value:"oklch(0.145 0 0)"}},stone:{50:{value:"oklch(0.985 0.001 106.423)"},100:{value:"oklch(0.97 0.001 106.424)"},200:{value:"oklch(0.923 0.003 48.717)"},300:{value:"oklch(0.869 0.005 56.366)"},400:{value:"oklch(0.709 0.01 56.259)"},500:{value:"oklch(0.553 0.013 58.071)"},600:{value:"oklch(0.444 0.011 73.639)"},700:{value:"oklch(0.374 0.01 67.558)"},800:{value:"oklch(0.268 0.007 34.298)"},900:{value:"oklch(0.216 0.006 56.043)"},950:{value:"oklch(0.147 0.004 49.25)"}}}},semanticTokens:{colors:{brand:U("brand"),danger:U("red"),info:U("blue"),warning:U("amber"),error:U("red"),active:U("blue"),success:U("green"),failed:U("red"),queued:U("stone"),skipped:U("pink"),up_for_reschedule:U("sky"),up_for_retry:U("yellow"),upstream_failed:U("orange"),running:U("cyan"),restarting:U("violet"),deferred:U("purple"),scheduled:U("zinc"),none:U("gray"),removed:U("slate"),red:U("red"),orange:U("orange"),amber:U("amber"),yellow:U("yellow"),lime:U("lime"),green:U("green"),emerald:U("emerald"),teal:U("teal"),cyan:U("cyan"),sky:U("sky"),blue:U("blue"),indigo:U("indigo"),violet:U("violet"),purple:U("purple"),fuchsia:U("fuchsia"),pink:U("pink"),rose:U("rose"),slate:U("slate"),gray:U("gray"),zinc:U("zinc"),neutral:U("neutral"),stone:U("stone")}}}}),gT=zh(Zh,fT);return()=>{ce.interceptors.request.use(qI);const e=new _2({defaultOptions:{queries:{staleTime:1/0}}});return g.jsx(Rm,{value:gT,children:g.jsx(V2,{client:e,children:g.jsx(CP,{children:g.jsx(hT,{})})})})}}));
diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/services.gen.ts b/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/services.gen.ts
index 5871630d1d436..45fe4554830cf 100644
--- a/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/services.gen.ts
+++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/services.gen.ts
@@ -47,7 +47,7 @@ export class JobsService {
      * @param data.mapIndex For dynamically mapped tasks the mapping number, -1 if the task is not mapped.
      * @param data.state State of the assigned task under execution.
      * @param data.authorization JWT Authorization Token
-     * @returns unknown Successful Response
+     * @returns null Successful Response
      * @throws ApiError
      */
     public static state(data: StateData): CancelablePromise<StateResponse> {
@@ -122,7 +122,7 @@ export class LogsService {
      * @param data.mapIndex For dynamically mapped tasks the mapping number, -1 if the task is not mapped.
      * @param data.authorization JWT Authorization Token
      * @param data.requestBody
-     * @returns unknown Successful Response
+     * @returns null Successful Response
      * @throws ApiError
      */
     public static pushLogs(data: PushLogsData): CancelablePromise<PushLogsResponse> {
@@ -218,7 +218,7 @@ export class WorkerService {
      * @param data.workerName Hostname or instance name of the worker
      * @param data.authorization JWT Authorization Token
      * @param data.requestBody
-     * @returns unknown Successful Response
+     * @returns null Successful Response
      * @throws ApiError
      */
     public static updateQueues(data: UpdateQueuesData): CancelablePromise<UpdateQueuesResponse> {
@@ -292,7 +292,7 @@ export class UiService {
      * @param data The data for the request.
      * @param data.workerName
      * @param data.requestBody
-     * @returns unknown Successful Response
+     * @returns null Successful Response
      * @throws ApiError
      */
     public static requestWorkerMaintenance(data: RequestWorkerMaintenanceData): CancelablePromise<RequestWorkerMaintenanceResponse> {
@@ -316,7 +316,7 @@ export class UiService {
      * @param data The data for the request.
      * @param data.workerName
      * @param data.requestBody
-     * @returns unknown Successful Response
+     * @returns null Successful Response
      * @throws ApiError
      */
     public static updateWorkerMaintenance(data: UpdateWorkerMaintenanceData): CancelablePromise<UpdateWorkerMaintenanceResponse> {
@@ -339,7 +339,7 @@ export class UiService {
      * Exit a worker from maintenance mode.
      * @param data The data for the request.
      * @param data.workerName
-     * @returns unknown Successful Response
+     * @returns null Successful Response
      * @throws ApiError
      */
     public static exitWorkerMaintenance(data: ExitWorkerMaintenanceData): CancelablePromise<ExitWorkerMaintenanceResponse> {
@@ -360,7 +360,7 @@ export class UiService {
      * Request shutdown of a worker.
      * @param data The data for the request.
      * @param data.workerName
-     * @returns unknown Successful Response
+     * @returns null Successful Response
      * @throws ApiError
      */
     public static requestWorkerShutdown(data: RequestWorkerShutdownData): CancelablePromise<RequestWorkerShutdownResponse> {
@@ -381,7 +381,7 @@ export class UiService {
      * Delete a worker record from the system.
      * @param data The data for the request.
      * @param data.workerName
-     * @returns unknown Successful Response
+     * @returns null Successful Response
      * @throws ApiError
      */
     public static deleteWorker(data: DeleteWorkerData): CancelablePromise<DeleteWorkerResponse> {
@@ -403,7 +403,7 @@ export class UiService {
      * @param data The data for the request.
      * @param data.workerName
      * @param data.queueName
-     * @returns unknown Successful Response
+     * @returns null Successful Response
      * @throws ApiError
      */
     public static addWorkerQueue(data: AddWorkerQueueData): CancelablePromise<AddWorkerQueueResponse> {
@@ -426,7 +426,7 @@ export class UiService {
      * @param data The data for the request.
      * @param data.workerName
      * @param data.queueName
-     * @returns unknown Successful Response
+     * @returns null Successful Response
      * @throws ApiError
      */
     public static removeWorkerQueue(data: RemoveWorkerQueueData): CancelablePromise<RemoveWorkerQueueResponse> {
diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/types.gen.ts b/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/types.gen.ts
index 483da4e148446..9630cebd4f8c1 100644
--- a/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/types.gen.ts
+++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/types.gen.ts
@@ -359,7 +359,7 @@ export type StateData = {
     tryNumber: number;
 };
 
-export type StateResponse = unknown;
+export type StateResponse = null;
 
 export type LogfilePathData = {
     /**
@@ -418,7 +418,7 @@ export type PushLogsData = {
     tryNumber: number;
 };
 
-export type PushLogsResponse = unknown;
+export type PushLogsResponse = null;
 
 export type RegisterData = {
     /**
@@ -460,7 +460,7 @@ export type UpdateQueuesData = {
     workerName: string;
 };
 
-export type UpdateQueuesResponse = unknown;
+export type UpdateQueuesResponse = null;
 
 export type HealthResponse = {
     [key: string]: (string);
@@ -475,46 +475,46 @@ export type RequestWorkerMaintenanceData = {
     workerName: string;
 };
 
-export type RequestWorkerMaintenanceResponse = unknown;
+export type RequestWorkerMaintenanceResponse = null;
 
 export type UpdateWorkerMaintenanceData = {
     requestBody: MaintenanceRequest;
     workerName: string;
 };
 
-export type UpdateWorkerMaintenanceResponse = unknown;
+export type UpdateWorkerMaintenanceResponse = null;
 
 export type ExitWorkerMaintenanceData = {
     workerName: string;
 };
 
-export type ExitWorkerMaintenanceResponse = unknown;
+export type ExitWorkerMaintenanceResponse = null;
 
 export type RequestWorkerShutdownData = {
     workerName: string;
 };
 
-export type RequestWorkerShutdownResponse = unknown;
+export type RequestWorkerShutdownResponse = null;
 
 export type DeleteWorkerData = {
     workerName: string;
 };
 
-export type DeleteWorkerResponse = unknown;
+export type DeleteWorkerResponse = null;
 
 export type AddWorkerQueueData = {
     queueName: string;
     workerName: string;
 };
 
-export type AddWorkerQueueResponse = unknown;
+export type AddWorkerQueueResponse = null;
 
 export type RemoveWorkerQueueData = {
     queueName: string;
     workerName: string;
 };
 
-export type RemoveWorkerQueueResponse = unknown;
+export type RemoveWorkerQueueResponse = null;
 
 export type $OpenApiTs = {
     '/edge_worker/v1/jobs/fetch/{worker_name}': {
@@ -547,7 +547,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: unknown;
+                200: null;
                 /**
                  * Bad Request
                  */
@@ -593,7 +593,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: unknown;
+                200: null;
                 /**
                  * Bad Request
                  */
@@ -660,7 +660,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: unknown;
+                200: null;
                 /**
                  * Bad Request
                  */
@@ -715,7 +715,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: unknown;
+                200: null;
                 /**
                  * Validation Error
                  */
@@ -728,7 +728,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: unknown;
+                200: null;
                 /**
                  * Validation Error
                  */
@@ -741,7 +741,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: unknown;
+                200: null;
                 /**
                  * Validation Error
                  */
@@ -756,7 +756,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: unknown;
+                200: null;
                 /**
                  * Validation Error
                  */
@@ -771,7 +771,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: unknown;
+                200: null;
                 /**
                  * Validation Error
                  */
@@ -786,7 +786,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: unknown;
+                200: null;
                 /**
                  * Validation Error
                  */
@@ -799,7 +799,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: unknown;
+                200: null;
                 /**
                  * Validation Error
                  */
diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/www/package.json b/providers/edge3/src/airflow/providers/edge3/plugins/www/package.json
index 842d12d467074..bd4be8dc59169 100644
--- a/providers/edge3/src/airflow/providers/edge3/plugins/www/package.json
+++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/package.json
@@ -32,45 +32,45 @@
     "coverage": "vitest run --coverage"
   },
   "dependencies": {
-    "@chakra-ui/react": "^3.20.0",
+    "@chakra-ui/react": "^3.27.0",
     "@emotion/react": "^11.14.0",
-    "@tanstack/react-query": "^5.75.1",
-    "axios": "^1.12.0",
+    "@tanstack/react-query": "^5.90.2",
+    "axios": "^1.12.2",
     "next-themes": "^0.4.6",
     "react": "^19.1.1",
     "react-dom": "^19.1.1",
     "react-icons": "^5.5.0",
-    "react-router-dom": "^6.30.0",
+    "react-router-dom": "^7.9.1",
     "react-timeago": "^8.3.0"
   },
   "devDependencies": {
     "@7nohe/openapi-react-query-codegen": "^1.6.2",
-    "@eslint/compat": "^1.2.9",
-    "@eslint/js": "^9.25.1",
-    "@stylistic/eslint-plugin": "^2.13.0",
-    "@testing-library/jest-dom": "^6.6.3",
+    "@eslint/compat": "^1.4.0",
+    "@eslint/js": "^9.36.0",
+    "@stylistic/eslint-plugin": "^5.4.0",
+    "@testing-library/jest-dom": "^6.8.0",
     "@testing-library/react": "^16.3.0",
-    "@trivago/prettier-plugin-sort-imports": "^4.3.0",
-    "@types/node": "^22.15.3",
-    "@types/react": "^18.3.19",
-    "@types/react-dom": "^18.3.5",
-    "@vitejs/plugin-react-swc": "^4.0.1",
+    "@trivago/prettier-plugin-sort-imports": "^5.2.2",
+    "@types/node": "^24.5.2",
+    "@types/react": "^19.1.13",
+    "@types/react-dom": "^19.1.9",
+    "@vitejs/plugin-react-swc": "^4.1.0",
     "@vitest/coverage-v8": "^3.2.4",
-    "eslint": "^9.25.1",
+    "eslint": "^9.36.0",
     "eslint-config-prettier": "^10.1.2",
     "eslint-plugin-jsx-a11y": "^6.10.2",
     "eslint-plugin-perfectionist": "^4.12.3",
     "eslint-plugin-prettier": "^5.2.6",
     "eslint-plugin-react": "^7.37.5",
     "eslint-plugin-react-hooks": "^5.2.0",
-    "eslint-plugin-react-refresh": "^0.4.20",
-    "eslint-plugin-unicorn": "^55.0.0",
-    "globals": "^15.15.0",
-    "happy-dom": "^17.4.6",
+    "eslint-plugin-react-refresh": "^0.4.21",
+    "eslint-plugin-unicorn": "^61.0.2",
+    "globals": "^16.4.0",
+    "happy-dom": "^18.0.1",
     "prettier": "^3.5.3",
     "typescript": "~5.8.3",
-    "typescript-eslint": "^8.31.1",
-    "vite": "^7.1.5",
+    "typescript-eslint": "^8.44.1",
+    "vite": "^7.1.7",
     "vite-plugin-css-injected-by-js": "^3.5.2",
     "vite-plugin-dts": "^4.5.4",
     "vitest": "^3.2.4"
diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/www/pnpm-lock.yaml b/providers/edge3/src/airflow/providers/edge3/plugins/www/pnpm-lock.yaml
index c905ec06ac799..571ee62c557d6 100644
--- a/providers/edge3/src/airflow/providers/edge3/plugins/www/pnpm-lock.yaml
+++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/pnpm-lock.yaml
@@ -9,17 +9,17 @@ importers:
   .:
     dependencies:
       '@chakra-ui/react':
-        specifier: ^3.20.0
-        version: 3.24.2(@emotion/react@11.14.0(@types/react@18.3.23)(react@19.1.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
+        specifier: ^3.27.0
+        version: 3.27.0(@emotion/react@11.14.0(@types/react@19.1.13)(react@19.1.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
       '@emotion/react':
         specifier: ^11.14.0
-        version: 11.14.0(@types/react@18.3.23)(react@19.1.1)
+        version: 11.14.0(@types/react@19.1.13)(react@19.1.1)
       '@tanstack/react-query':
-        specifier: ^5.75.1
-        version: 5.85.5(react@19.1.1)
+        specifier: ^5.90.2
+        version: 5.90.2(react@19.1.1)
       axios:
-        specifier: ^1.12.0
-        version: 1.12.0
+        specifier: ^1.12.2
+        version: 1.12.2
       next-themes:
         specifier: ^0.4.6
         version: 0.4.6(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
@@ -33,8 +33,8 @@ importers:
         specifier: ^5.5.0
         version: 5.5.0(react@19.1.1)
       react-router-dom:
-        specifier: ^6.30.0
-        version: 6.30.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
+        specifier: ^7.9.1
+        version: 7.9.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
       react-timeago:
         specifier: ^8.3.0
         version: 8.3.0(react@19.1.1)
@@ -43,71 +43,71 @@ importers:
         specifier: ^1.6.2
         version: 1.6.2(commander@12.1.0)(glob@10.4.5)(magicast@0.3.5)(ts-morph@22.0.0)(typescript@5.8.3)
       '@eslint/compat':
-        specifier: ^1.2.9
-        version: 1.3.2(eslint@9.33.0(jiti@1.21.7))
+        specifier: ^1.4.0
+        version: 1.4.0(eslint@9.36.0(jiti@1.21.7))
       '@eslint/js':
-        specifier: ^9.25.1
-        version: 9.33.0
+        specifier: ^9.36.0
+        version: 9.36.0
       '@stylistic/eslint-plugin':
-        specifier: ^2.13.0
-        version: 2.13.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)
+        specifier: ^5.4.0
+        version: 5.4.0(eslint@9.36.0(jiti@1.21.7))
       '@testing-library/jest-dom':
-        specifier: ^6.6.3
-        version: 6.7.0
+        specifier: ^6.8.0
+        version: 6.8.0
       '@testing-library/react':
         specifier: ^16.3.0
-        version: 16.3.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.7(@types/react@18.3.23))(@types/react@18.3.23)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
+        version: 16.3.0(@testing-library/dom@10.4.0)(@types/react-dom@19.1.9(@types/react@19.1.13))(@types/react@19.1.13)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
       '@trivago/prettier-plugin-sort-imports':
-        specifier: ^4.3.0
-        version: 4.3.0(prettier@3.6.2)
+        specifier: ^5.2.2
+        version: 5.2.2(prettier@3.6.2)
       '@types/node':
-        specifier: ^22.15.3
-        version: 22.17.2
+        specifier: ^24.5.2
+        version: 24.5.2
       '@types/react':
-        specifier: ^18.3.19
-        version: 18.3.23
+        specifier: ^19.1.13
+        version: 19.1.13
       '@types/react-dom':
-        specifier: ^18.3.5
-        version: 18.3.7(@types/react@18.3.23)
+        specifier: ^19.1.9
+        version: 19.1.9(@types/react@19.1.13)
       '@vitejs/plugin-react-swc':
-        specifier: ^4.0.1
-        version: 4.0.1(@swc/helpers@0.5.17)(vite@7.1.5(@types/node@22.17.2)(jiti@1.21.7))
+        specifier: ^4.1.0
+        version: 4.1.0(@swc/helpers@0.5.17)(vite@7.1.7(@types/node@24.5.2)(jiti@1.21.7))
       '@vitest/coverage-v8':
         specifier: ^3.2.4
-        version: 3.2.4(vitest@3.2.4(@types/node@22.17.2)(happy-dom@17.6.3)(jiti@1.21.7))
+        version: 3.2.4(vitest@3.2.4(@types/node@24.5.2)(happy-dom@18.0.1)(jiti@1.21.7))
       eslint:
-        specifier: ^9.25.1
-        version: 9.33.0(jiti@1.21.7)
+        specifier: ^9.36.0
+        version: 9.36.0(jiti@1.21.7)
       eslint-config-prettier:
         specifier: ^10.1.2
-        version: 10.1.8(eslint@9.33.0(jiti@1.21.7))
+        version: 10.1.8(eslint@9.36.0(jiti@1.21.7))
       eslint-plugin-jsx-a11y:
         specifier: ^6.10.2
-        version: 6.10.2(eslint@9.33.0(jiti@1.21.7))
+        version: 6.10.2(eslint@9.36.0(jiti@1.21.7))
       eslint-plugin-perfectionist:
         specifier: ^4.12.3
-        version: 4.15.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)
+        version: 4.15.0(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)
       eslint-plugin-prettier:
         specifier: ^5.2.6
-        version: 5.5.4(eslint-config-prettier@10.1.8(eslint@9.33.0(jiti@1.21.7)))(eslint@9.33.0(jiti@1.21.7))(prettier@3.6.2)
+        version: 5.5.4(eslint-config-prettier@10.1.8(eslint@9.36.0(jiti@1.21.7)))(eslint@9.36.0(jiti@1.21.7))(prettier@3.6.2)
       eslint-plugin-react:
         specifier: ^7.37.5
-        version: 7.37.5(eslint@9.33.0(jiti@1.21.7))
+        version: 7.37.5(eslint@9.36.0(jiti@1.21.7))
       eslint-plugin-react-hooks:
         specifier: ^5.2.0
-        version: 5.2.0(eslint@9.33.0(jiti@1.21.7))
+        version: 5.2.0(eslint@9.36.0(jiti@1.21.7))
       eslint-plugin-react-refresh:
-        specifier: ^0.4.20
-        version: 0.4.20(eslint@9.33.0(jiti@1.21.7))
+        specifier: ^0.4.21
+        version: 0.4.21(eslint@9.36.0(jiti@1.21.7))
       eslint-plugin-unicorn:
-        specifier: ^55.0.0
-        version: 55.0.0(eslint@9.33.0(jiti@1.21.7))
+        specifier: ^61.0.2
+        version: 61.0.2(eslint@9.36.0(jiti@1.21.7))
       globals:
-        specifier: ^15.15.0
-        version: 15.15.0
+        specifier: ^16.4.0
+        version: 16.4.0
       happy-dom:
-        specifier: ^17.4.6
-        version: 17.6.3
+        specifier: ^18.0.1
+        version: 18.0.1
       prettier:
         specifier: ^3.5.3
         version: 3.6.2
@@ -115,20 +115,20 @@ importers:
         specifier: ~5.8.3
         version: 5.8.3
       typescript-eslint:
-        specifier: ^8.31.1
-        version: 8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)
+        specifier: ^8.44.1
+        version: 8.44.1(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)
       vite:
-        specifier: ^7.1.5
-        version: 7.1.5(@types/node@22.17.2)(jiti@1.21.7)
+        specifier: ^7.1.7
+        version: 7.1.7(@types/node@24.5.2)(jiti@1.21.7)
       vite-plugin-css-injected-by-js:
         specifier: ^3.5.2
-        version: 3.5.2(vite@7.1.5(@types/node@22.17.2)(jiti@1.21.7))
+        version: 3.5.2(vite@7.1.7(@types/node@24.5.2)(jiti@1.21.7))
       vite-plugin-dts:
         specifier: ^4.5.4
-        version: 4.5.4(@types/node@22.17.2)(rollup@4.50.1)(typescript@5.8.3)(vite@7.1.5(@types/node@22.17.2)(jiti@1.21.7))
+        version: 4.5.4(@types/node@24.5.2)(rollup@4.52.2)(typescript@5.8.3)(vite@7.1.7(@types/node@24.5.2)(jiti@1.21.7))
       vitest:
         specifier: ^3.2.4
-        version: 3.2.4(@types/node@22.17.2)(happy-dom@17.6.3)(jiti@1.21.7)
+        version: 3.2.4(@types/node@24.5.2)(happy-dom@18.0.1)(jiti@1.21.7)
 
 packages:
 
@@ -153,8 +153,8 @@ packages:
     resolution: {integrity: sha512-9K6xOqeevacvweLGik6LnZCb1fBtCOSIWQs8d096XGeqoLKC33UVMGz9+77Gw44KvbH4pKcQPWo4ZpxkXYj05w==}
     engines: {node: '>= 16'}
 
-  '@ark-ui/react@5.18.2':
-    resolution: {integrity: sha512-vM2cuKSIe4mCDfqMc4RggsmiulXbicTjpZLf1IUXSHcUluMVn+z2k1minKI4X+Z7XSoKH0To7asxS0nJ1UPODA==}
+  '@ark-ui/react@5.25.0':
+    resolution: {integrity: sha512-+r91hfLQNmGbM37rvwu6Ppy7Xaa1Dww80spn49xHhiS8ZCYQbZyPNzgOEVoSjURiroLkLdQdh869OscfczkAyA==}
     peerDependencies:
       react: '>=18.0.0'
       react-dom: '>=18.0.0'
@@ -163,38 +163,18 @@ packages:
     resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==}
     engines: {node: '>=6.9.0'}
 
-  '@babel/generator@7.17.7':
-    resolution: {integrity: sha512-oLcVCTeIFadUoArDTwpluncplrYBmTCCZZgXCbgNGvOBBiSDDK3eWO4b/+eOTli5tKv1lg+a5/NAXg+nTcei1w==}
-    engines: {node: '>=6.9.0'}
-
   '@babel/generator@7.28.3':
     resolution: {integrity: sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==}
     engines: {node: '>=6.9.0'}
 
-  '@babel/helper-environment-visitor@7.24.7':
-    resolution: {integrity: sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==}
-    engines: {node: '>=6.9.0'}
-
-  '@babel/helper-function-name@7.24.7':
-    resolution: {integrity: sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA==}
-    engines: {node: '>=6.9.0'}
-
   '@babel/helper-globals@7.28.0':
     resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==}
     engines: {node: '>=6.9.0'}
 
-  '@babel/helper-hoist-variables@7.24.7':
-    resolution: {integrity: sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ==}
-    engines: {node: '>=6.9.0'}
-
   '@babel/helper-module-imports@7.27.1':
     resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==}
     engines: {node: '>=6.9.0'}
 
-  '@babel/helper-split-export-declaration@7.24.7':
-    resolution: {integrity: sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==}
-    engines: {node: '>=6.9.0'}
-
   '@babel/helper-string-parser@7.27.1':
     resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==}
     engines: {node: '>=6.9.0'}
@@ -203,8 +183,8 @@ packages:
     resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==}
     engines: {node: '>=6.9.0'}
 
-  '@babel/parser@7.28.3':
-    resolution: {integrity: sha512-7+Ey1mAgYqFAx2h0RuoxcQT5+MlG3GTV0TQrgr7/ZliKsm/MNDxVVutlWaziMq7wJNAz8MTqz55XLpWvva6StA==}
+  '@babel/parser@7.28.4':
+    resolution: {integrity: sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==}
     engines: {node: '>=6.0.0'}
     hasBin: true
 
@@ -220,28 +200,20 @@ packages:
     resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==}
     engines: {node: '>=6.9.0'}
 
-  '@babel/traverse@7.23.2':
-    resolution: {integrity: sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==}
-    engines: {node: '>=6.9.0'}
-
-  '@babel/traverse@7.28.3':
-    resolution: {integrity: sha512-7w4kZYHneL3A6NP2nxzHvT3HCZ7puDZZjFMqDpBPECub79sTtSO5CGXDkKrTQq8ksAwfD/XI2MRFX23njdDaIQ==}
-    engines: {node: '>=6.9.0'}
-
-  '@babel/types@7.17.0':
-    resolution: {integrity: sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==}
+  '@babel/traverse@7.28.4':
+    resolution: {integrity: sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==}
     engines: {node: '>=6.9.0'}
 
-  '@babel/types@7.28.2':
-    resolution: {integrity: sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==}
+  '@babel/types@7.28.4':
+    resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==}
     engines: {node: '>=6.9.0'}
 
   '@bcoe/v8-coverage@1.0.2':
     resolution: {integrity: sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==}
     engines: {node: '>=18'}
 
-  '@chakra-ui/react@3.24.2':
-    resolution: {integrity: sha512-FT+WR7WVZOTA+9m5adRrtxPuVh4Y45EsUIX8JimRut3e1U6j6Ddkas9kdUcvy90tkIMhRvvZXq3smDH9buVGtw==}
+  '@chakra-ui/react@3.27.0':
+    resolution: {integrity: sha512-M1WTAErI2cYM/PB4h5Kf5CCAg70g3HCzVvTEhcf5ty8QrG6QybPf3RdWSpBlIy7qpjuEnQYpHLxM0jnFLArBgA==}
     peerDependencies:
       '@emotion/react': '>=11'
       react: '>=18'
@@ -256,8 +228,8 @@ packages:
   '@emotion/hash@0.9.2':
     resolution: {integrity: sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==}
 
-  '@emotion/is-prop-valid@1.3.1':
-    resolution: {integrity: sha512-/ACwoqx7XQi9knQs/G0qKvv5teDMhD7bXYns9N/wM8ah8iNb8jZ2uNO0YOgiq2o2poIvVtJS2YALasQuMSQ7Kw==}
+  '@emotion/is-prop-valid@1.4.0':
+    resolution: {integrity: sha512-QgD4fyscGcbbKwJmqNvUMSE02OsHUa+lAWKdEUIJKgqe5IwRSKd7+KhibEWdaKwgjLj0DRSHA9biAIqGBk05lw==}
 
   '@emotion/memoize@0.9.0':
     resolution: {integrity: sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ==}
@@ -291,158 +263,158 @@ packages:
   '@emotion/weak-memoize@0.4.0':
     resolution: {integrity: sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg==}
 
-  '@esbuild/aix-ppc64@0.25.9':
-    resolution: {integrity: sha512-OaGtL73Jck6pBKjNIe24BnFE6agGl+6KxDtTfHhy1HmhthfKouEcOhqpSL64K4/0WCtbKFLOdzD/44cJ4k9opA==}
+  '@esbuild/aix-ppc64@0.25.10':
+    resolution: {integrity: sha512-0NFWnA+7l41irNuaSVlLfgNT12caWJVLzp5eAVhZ0z1qpxbockccEt3s+149rE64VUI3Ml2zt8Nv5JVc4QXTsw==}
     engines: {node: '>=18'}
     cpu: [ppc64]
     os: [aix]
 
-  '@esbuild/android-arm64@0.25.9':
-    resolution: {integrity: sha512-IDrddSmpSv51ftWslJMvl3Q2ZT98fUSL2/rlUXuVqRXHCs5EUF1/f+jbjF5+NG9UffUDMCiTyh8iec7u8RlTLg==}
+  '@esbuild/android-arm64@0.25.10':
+    resolution: {integrity: sha512-LSQa7eDahypv/VO6WKohZGPSJDq5OVOo3UoFR1E4t4Gj1W7zEQMUhI+lo81H+DtB+kP+tDgBp+M4oNCwp6kffg==}
     engines: {node: '>=18'}
     cpu: [arm64]
     os: [android]
 
-  '@esbuild/android-arm@0.25.9':
-    resolution: {integrity: sha512-5WNI1DaMtxQ7t7B6xa572XMXpHAaI/9Hnhk8lcxF4zVN4xstUgTlvuGDorBguKEnZO70qwEcLpfifMLoxiPqHQ==}
+  '@esbuild/android-arm@0.25.10':
+    resolution: {integrity: sha512-dQAxF1dW1C3zpeCDc5KqIYuZ1tgAdRXNoZP7vkBIRtKZPYe2xVr/d3SkirklCHudW1B45tGiUlz2pUWDfbDD4w==}
     engines: {node: '>=18'}
     cpu: [arm]
     os: [android]
 
-  '@esbuild/android-x64@0.25.9':
-    resolution: {integrity: sha512-I853iMZ1hWZdNllhVZKm34f4wErd4lMyeV7BLzEExGEIZYsOzqDWDf+y082izYUE8gtJnYHdeDpN/6tUdwvfiw==}
+  '@esbuild/android-x64@0.25.10':
+    resolution: {integrity: sha512-MiC9CWdPrfhibcXwr39p9ha1x0lZJ9KaVfvzA0Wxwz9ETX4v5CHfF09bx935nHlhi+MxhA63dKRRQLiVgSUtEg==}
     engines: {node: '>=18'}
     cpu: [x64]
     os: [android]
 
-  '@esbuild/darwin-arm64@0.25.9':
-    resolution: {integrity: sha512-XIpIDMAjOELi/9PB30vEbVMs3GV1v2zkkPnuyRRURbhqjyzIINwj+nbQATh4H9GxUgH1kFsEyQMxwiLFKUS6Rg==}
+  '@esbuild/darwin-arm64@0.25.10':
+    resolution: {integrity: sha512-JC74bdXcQEpW9KkV326WpZZjLguSZ3DfS8wrrvPMHgQOIEIG/sPXEN/V8IssoJhbefLRcRqw6RQH2NnpdprtMA==}
     engines: {node: '>=18'}
     cpu: [arm64]
     os: [darwin]
 
-  '@esbuild/darwin-x64@0.25.9':
-    resolution: {integrity: sha512-jhHfBzjYTA1IQu8VyrjCX4ApJDnH+ez+IYVEoJHeqJm9VhG9Dh2BYaJritkYK3vMaXrf7Ogr/0MQ8/MeIefsPQ==}
+  '@esbuild/darwin-x64@0.25.10':
+    resolution: {integrity: sha512-tguWg1olF6DGqzws97pKZ8G2L7Ig1vjDmGTwcTuYHbuU6TTjJe5FXbgs5C1BBzHbJ2bo1m3WkQDbWO2PvamRcg==}
     engines: {node: '>=18'}
     cpu: [x64]
     os: [darwin]
 
-  '@esbuild/freebsd-arm64@0.25.9':
-    resolution: {integrity: sha512-z93DmbnY6fX9+KdD4Ue/H6sYs+bhFQJNCPZsi4XWJoYblUqT06MQUdBCpcSfuiN72AbqeBFu5LVQTjfXDE2A6Q==}
+  '@esbuild/freebsd-arm64@0.25.10':
+    resolution: {integrity: sha512-3ZioSQSg1HT2N05YxeJWYR+Libe3bREVSdWhEEgExWaDtyFbbXWb49QgPvFH8u03vUPX10JhJPcz7s9t9+boWg==}
     engines: {node: '>=18'}
     cpu: [arm64]
     os: [freebsd]
 
-  '@esbuild/freebsd-x64@0.25.9':
-    resolution: {integrity: sha512-mrKX6H/vOyo5v71YfXWJxLVxgy1kyt1MQaD8wZJgJfG4gq4DpQGpgTB74e5yBeQdyMTbgxp0YtNj7NuHN0PoZg==}
+  '@esbuild/freebsd-x64@0.25.10':
+    resolution: {integrity: sha512-LLgJfHJk014Aa4anGDbh8bmI5Lk+QidDmGzuC2D+vP7mv/GeSN+H39zOf7pN5N8p059FcOfs2bVlrRr4SK9WxA==}
     engines: {node: '>=18'}
     cpu: [x64]
     os: [freebsd]
 
-  '@esbuild/linux-arm64@0.25.9':
-    resolution: {integrity: sha512-BlB7bIcLT3G26urh5Dmse7fiLmLXnRlopw4s8DalgZ8ef79Jj4aUcYbk90g8iCa2467HX8SAIidbL7gsqXHdRw==}
+  '@esbuild/linux-arm64@0.25.10':
+    resolution: {integrity: sha512-5luJWN6YKBsawd5f9i4+c+geYiVEw20FVW5x0v1kEMWNq8UctFjDiMATBxLvmmHA4bf7F6hTRaJgtghFr9iziQ==}
     engines: {node: '>=18'}
     cpu: [arm64]
     os: [linux]
 
-  '@esbuild/linux-arm@0.25.9':
-    resolution: {integrity: sha512-HBU2Xv78SMgaydBmdor38lg8YDnFKSARg1Q6AT0/y2ezUAKiZvc211RDFHlEZRFNRVhcMamiToo7bDx3VEOYQw==}
+  '@esbuild/linux-arm@0.25.10':
+    resolution: {integrity: sha512-oR31GtBTFYCqEBALI9r6WxoU/ZofZl962pouZRTEYECvNF/dtXKku8YXcJkhgK/beU+zedXfIzHijSRapJY3vg==}
     engines: {node: '>=18'}
     cpu: [arm]
     os: [linux]
 
-  '@esbuild/linux-ia32@0.25.9':
-    resolution: {integrity: sha512-e7S3MOJPZGp2QW6AK6+Ly81rC7oOSerQ+P8L0ta4FhVi+/j/v2yZzx5CqqDaWjtPFfYz21Vi1S0auHrap3Ma3A==}
+  '@esbuild/linux-ia32@0.25.10':
+    resolution: {integrity: sha512-NrSCx2Kim3EnnWgS4Txn0QGt0Xipoumb6z6sUtl5bOEZIVKhzfyp/Lyw4C1DIYvzeW/5mWYPBFJU3a/8Yr75DQ==}
     engines: {node: '>=18'}
     cpu: [ia32]
     os: [linux]
 
-  '@esbuild/linux-loong64@0.25.9':
-    resolution: {integrity: sha512-Sbe10Bnn0oUAB2AalYztvGcK+o6YFFA/9829PhOCUS9vkJElXGdphz0A3DbMdP8gmKkqPmPcMJmJOrI3VYB1JQ==}
+  '@esbuild/linux-loong64@0.25.10':
+    resolution: {integrity: sha512-xoSphrd4AZda8+rUDDfD9J6FUMjrkTz8itpTITM4/xgerAZZcFW7Dv+sun7333IfKxGG8gAq+3NbfEMJfiY+Eg==}
     engines: {node: '>=18'}
     cpu: [loong64]
     os: [linux]
 
-  '@esbuild/linux-mips64el@0.25.9':
-    resolution: {integrity: sha512-YcM5br0mVyZw2jcQeLIkhWtKPeVfAerES5PvOzaDxVtIyZ2NUBZKNLjC5z3/fUlDgT6w89VsxP2qzNipOaaDyA==}
+  '@esbuild/linux-mips64el@0.25.10':
+    resolution: {integrity: sha512-ab6eiuCwoMmYDyTnyptoKkVS3k8fy/1Uvq7Dj5czXI6DF2GqD2ToInBI0SHOp5/X1BdZ26RKc5+qjQNGRBelRA==}
     engines: {node: '>=18'}
     cpu: [mips64el]
     os: [linux]
 
-  '@esbuild/linux-ppc64@0.25.9':
-    resolution: {integrity: sha512-++0HQvasdo20JytyDpFvQtNrEsAgNG2CY1CLMwGXfFTKGBGQT3bOeLSYE2l1fYdvML5KUuwn9Z8L1EWe2tzs1w==}
+  '@esbuild/linux-ppc64@0.25.10':
+    resolution: {integrity: sha512-NLinzzOgZQsGpsTkEbdJTCanwA5/wozN9dSgEl12haXJBzMTpssebuXR42bthOF3z7zXFWH1AmvWunUCkBE4EA==}
     engines: {node: '>=18'}
     cpu: [ppc64]
     os: [linux]
 
-  '@esbuild/linux-riscv64@0.25.9':
-    resolution: {integrity: sha512-uNIBa279Y3fkjV+2cUjx36xkx7eSjb8IvnL01eXUKXez/CBHNRw5ekCGMPM0BcmqBxBcdgUWuUXmVWwm4CH9kg==}
+  '@esbuild/linux-riscv64@0.25.10':
+    resolution: {integrity: sha512-FE557XdZDrtX8NMIeA8LBJX3dC2M8VGXwfrQWU7LB5SLOajfJIxmSdyL/gU1m64Zs9CBKvm4UAuBp5aJ8OgnrA==}
     engines: {node: '>=18'}
     cpu: [riscv64]
     os: [linux]
 
-  '@esbuild/linux-s390x@0.25.9':
-    resolution: {integrity: sha512-Mfiphvp3MjC/lctb+7D287Xw1DGzqJPb/J2aHHcHxflUo+8tmN/6d4k6I2yFR7BVo5/g7x2Monq4+Yew0EHRIA==}
+  '@esbuild/linux-s390x@0.25.10':
+    resolution: {integrity: sha512-3BBSbgzuB9ajLoVZk0mGu+EHlBwkusRmeNYdqmznmMc9zGASFjSsxgkNsqmXugpPk00gJ0JNKh/97nxmjctdew==}
     engines: {node: '>=18'}
     cpu: [s390x]
     os: [linux]
 
-  '@esbuild/linux-x64@0.25.9':
-    resolution: {integrity: sha512-iSwByxzRe48YVkmpbgoxVzn76BXjlYFXC7NvLYq+b+kDjyyk30J0JY47DIn8z1MO3K0oSl9fZoRmZPQI4Hklzg==}
+  '@esbuild/linux-x64@0.25.10':
+    resolution: {integrity: sha512-QSX81KhFoZGwenVyPoberggdW1nrQZSvfVDAIUXr3WqLRZGZqWk/P4T8p2SP+de2Sr5HPcvjhcJzEiulKgnxtA==}
     engines: {node: '>=18'}
     cpu: [x64]
     os: [linux]
 
-  '@esbuild/netbsd-arm64@0.25.9':
-    resolution: {integrity: sha512-9jNJl6FqaUG+COdQMjSCGW4QiMHH88xWbvZ+kRVblZsWrkXlABuGdFJ1E9L7HK+T0Yqd4akKNa/lO0+jDxQD4Q==}
+  '@esbuild/netbsd-arm64@0.25.10':
+    resolution: {integrity: sha512-AKQM3gfYfSW8XRk8DdMCzaLUFB15dTrZfnX8WXQoOUpUBQ+NaAFCP1kPS/ykbbGYz7rxn0WS48/81l9hFl3u4A==}
     engines: {node: '>=18'}
     cpu: [arm64]
     os: [netbsd]
 
-  '@esbuild/netbsd-x64@0.25.9':
-    resolution: {integrity: sha512-RLLdkflmqRG8KanPGOU7Rpg829ZHu8nFy5Pqdi9U01VYtG9Y0zOG6Vr2z4/S+/3zIyOxiK6cCeYNWOFR9QP87g==}
+  '@esbuild/netbsd-x64@0.25.10':
+    resolution: {integrity: sha512-7RTytDPGU6fek/hWuN9qQpeGPBZFfB4zZgcz2VK2Z5VpdUxEI8JKYsg3JfO0n/Z1E/6l05n0unDCNc4HnhQGig==}
     engines: {node: '>=18'}
     cpu: [x64]
     os: [netbsd]
 
-  '@esbuild/openbsd-arm64@0.25.9':
-    resolution: {integrity: sha512-YaFBlPGeDasft5IIM+CQAhJAqS3St3nJzDEgsgFixcfZeyGPCd6eJBWzke5piZuZ7CtL656eOSYKk4Ls2C0FRQ==}
+  '@esbuild/openbsd-arm64@0.25.10':
+    resolution: {integrity: sha512-5Se0VM9Wtq797YFn+dLimf2Zx6McttsH2olUBsDml+lm0GOCRVebRWUvDtkY4BWYv/3NgzS8b/UM3jQNh5hYyw==}
     engines: {node: '>=18'}
     cpu: [arm64]
     os: [openbsd]
 
-  '@esbuild/openbsd-x64@0.25.9':
-    resolution: {integrity: sha512-1MkgTCuvMGWuqVtAvkpkXFmtL8XhWy+j4jaSO2wxfJtilVCi0ZE37b8uOdMItIHz4I6z1bWWtEX4CJwcKYLcuA==}
+  '@esbuild/openbsd-x64@0.25.10':
+    resolution: {integrity: sha512-XkA4frq1TLj4bEMB+2HnI0+4RnjbuGZfet2gs/LNs5Hc7D89ZQBHQ0gL2ND6Lzu1+QVkjp3x1gIcPKzRNP8bXw==}
     engines: {node: '>=18'}
     cpu: [x64]
     os: [openbsd]
 
-  '@esbuild/openharmony-arm64@0.25.9':
-    resolution: {integrity: sha512-4Xd0xNiMVXKh6Fa7HEJQbrpP3m3DDn43jKxMjxLLRjWnRsfxjORYJlXPO4JNcXtOyfajXorRKY9NkOpTHptErg==}
+  '@esbuild/openharmony-arm64@0.25.10':
+    resolution: {integrity: sha512-AVTSBhTX8Y/Fz6OmIVBip9tJzZEUcY8WLh7I59+upa5/GPhh2/aM6bvOMQySspnCCHvFi79kMtdJS1w0DXAeag==}
     engines: {node: '>=18'}
     cpu: [arm64]
     os: [openharmony]
 
-  '@esbuild/sunos-x64@0.25.9':
-    resolution: {integrity: sha512-WjH4s6hzo00nNezhp3wFIAfmGZ8U7KtrJNlFMRKxiI9mxEK1scOMAaa9i4crUtu+tBr+0IN6JCuAcSBJZfnphw==}
+  '@esbuild/sunos-x64@0.25.10':
+    resolution: {integrity: sha512-fswk3XT0Uf2pGJmOpDB7yknqhVkJQkAQOcW/ccVOtfx05LkbWOaRAtn5SaqXypeKQra1QaEa841PgrSL9ubSPQ==}
     engines: {node: '>=18'}
     cpu: [x64]
     os: [sunos]
 
-  '@esbuild/win32-arm64@0.25.9':
-    resolution: {integrity: sha512-mGFrVJHmZiRqmP8xFOc6b84/7xa5y5YvR1x8djzXpJBSv/UsNK6aqec+6JDjConTgvvQefdGhFDAs2DLAds6gQ==}
+  '@esbuild/win32-arm64@0.25.10':
+    resolution: {integrity: sha512-ah+9b59KDTSfpaCg6VdJoOQvKjI33nTaQr4UluQwW7aEwZQsbMCfTmfEO4VyewOxx4RaDT/xCy9ra2GPWmO7Kw==}
     engines: {node: '>=18'}
     cpu: [arm64]
     os: [win32]
 
-  '@esbuild/win32-ia32@0.25.9':
-    resolution: {integrity: sha512-b33gLVU2k11nVx1OhX3C8QQP6UHQK4ZtN56oFWvVXvz2VkDoe6fbG8TOgHFxEvqeqohmRnIHe5A1+HADk4OQww==}
+  '@esbuild/win32-ia32@0.25.10':
+    resolution: {integrity: sha512-QHPDbKkrGO8/cz9LKVnJU22HOi4pxZnZhhA2HYHez5Pz4JeffhDjf85E57Oyco163GnzNCVkZK0b/n4Y0UHcSw==}
     engines: {node: '>=18'}
     cpu: [ia32]
     os: [win32]
 
-  '@esbuild/win32-x64@0.25.9':
-    resolution: {integrity: sha512-PPOl1mi6lpLNQxnGoyAfschAodRFYXJ+9fs6WHXz7CSWKbOqiMZsubC+BQsVKuul+3vKLuwTHsS2c2y9EoKwxQ==}
+  '@esbuild/win32-x64@0.25.10':
+    resolution: {integrity: sha512-9KpxSVFCu0iK1owoez6aC/s/EdUQLDN3adTxGCqxMVhrPDj6bt5dbrHDXUuq+Bs2vATFBBrQS5vdQ/Ed2P+nbw==}
     engines: {node: '>=18'}
     cpu: [x64]
     os: [win32]
@@ -453,12 +425,18 @@ packages:
     peerDependencies:
       eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
 
+  '@eslint-community/eslint-utils@4.9.0':
+    resolution: {integrity: sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==}
+    engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+    peerDependencies:
+      eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
+
   '@eslint-community/regexpp@4.12.1':
     resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==}
     engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
 
-  '@eslint/compat@1.3.2':
-    resolution: {integrity: sha512-jRNwzTbd6p2Rw4sZ1CgWRS8YMtqG15YyZf7zvb6gY2rB2u6n+2Z+ELW0GtL0fQgyl0pr4Y/BzBfng/BdsereRA==}
+  '@eslint/compat@1.4.0':
+    resolution: {integrity: sha512-DEzm5dKeDBPm3r08Ixli/0cmxr8LkRdwxMRUIJBlSCpAwSrvFEJpVBzV+66JhDxiaqKxnRzCXhtiMiczF7Hglg==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
     peerDependencies:
       eslint: ^8.40 || 9
@@ -478,12 +456,16 @@ packages:
     resolution: {integrity: sha512-78Md3/Rrxh83gCxoUc0EiciuOHsIITzLy53m3d9UyiW8y9Dj2D29FeETqyKA+BRK76tnTp6RXWb3pCay8Oyomg==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
 
+  '@eslint/core@0.16.0':
+    resolution: {integrity: sha512-nmC8/totwobIiFcGkDza3GIKfAw1+hLiYVrh3I1nIomQ8PEr5cxg34jnkmGawul/ep52wGRAcyeDCNtWKSOj4Q==}
+    engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
   '@eslint/eslintrc@3.3.1':
     resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
 
-  '@eslint/js@9.33.0':
-    resolution: {integrity: sha512-5K1/mKhWaMfreBGJTwval43JJmkip0RmM+3+IuqupeSKNC/Th2Kc7ucaq5ovTSra/OOKB9c58CGSz3QMVbWt0A==}
+  '@eslint/js@9.36.0':
+    resolution: {integrity: sha512-uhCbYtYynH30iZErszX78U+nR3pJU3RHGQ57NXy5QupD4SBVwDeU8TNBy+MjMngc1UyIW9noKqsRqfjQTBU2dw==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
 
   '@eslint/object-schema@2.1.6':
@@ -497,8 +479,8 @@ packages:
   '@floating-ui/core@1.7.3':
     resolution: {integrity: sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==}
 
-  '@floating-ui/dom@1.7.2':
-    resolution: {integrity: sha512-7cfaOQuCS27HD7DX+6ib2OrnW+b4ZBwDNnCcT0uTyidcmyWb03FnQqJybDBoCnpdxwBSfA94UAYlRCt7mV+TbA==}
+  '@floating-ui/dom@1.7.4':
+    resolution: {integrity: sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA==}
 
   '@floating-ui/utils@0.2.10':
     resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}
@@ -514,27 +496,23 @@ packages:
     resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==}
     engines: {node: '>=18.18.0'}
 
-  '@humanfs/node@0.16.6':
-    resolution: {integrity: sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==}
+  '@humanfs/node@0.16.7':
+    resolution: {integrity: sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==}
     engines: {node: '>=18.18.0'}
 
   '@humanwhocodes/module-importer@1.0.1':
     resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}
     engines: {node: '>=12.22'}
 
-  '@humanwhocodes/retry@0.3.1':
-    resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==}
-    engines: {node: '>=18.18'}
-
   '@humanwhocodes/retry@0.4.3':
     resolution: {integrity: sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==}
     engines: {node: '>=18.18'}
 
-  '@internationalized/date@3.8.2':
-    resolution: {integrity: sha512-/wENk7CbvLbkUvX1tu0mwq49CVkkWpkXubGel6birjRPyo6uQ4nQpnq5xZu823zRCwwn82zgHrvgF1vZyvmVgA==}
+  '@internationalized/date@3.9.0':
+    resolution: {integrity: sha512-yaN3brAnHRD+4KyyOsJyk49XUvj2wtbNACSqg0bz3u8t2VuzhC8Q5dfRnrSxjnnbDb+ienBnkn1TzQfE154vyg==}
 
-  '@internationalized/number@3.6.3':
-    resolution: {integrity: sha512-p+Zh1sb6EfrfVaS86jlHGQ9HA66fJhV9x5LiE5vCbZtXEHAuhcmUZUdZ4WrFpUBfNalr2OkAJI5AcKEQF+Lebw==}
+  '@internationalized/number@3.6.5':
+    resolution: {integrity: sha512-6hY4Kl4HPBvtfS62asS/R22JzNNy8vi/Ssev7x6EobfCp+9QIB2hKvI2EtbdJ0VSQacxVNtqhE/NmF/NZ0gm6g==}
 
   '@isaacs/balanced-match@4.0.1':
     resolution: {integrity: sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==}
@@ -562,8 +540,8 @@ packages:
   '@jridgewell/sourcemap-codec@1.5.5':
     resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
 
-  '@jridgewell/trace-mapping@0.3.30':
-    resolution: {integrity: sha512-GQ7Nw5G2lTu/BtHTKfXhKHok2WGetd4XYcVKGx00SjAk8GMwgJM3zr6zORiPGuOE+/vkc90KtTosSSvaCjKb2Q==}
+  '@jridgewell/trace-mapping@0.3.31':
+    resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
 
   '@jsdevtools/ono@7.1.3':
     resolution: {integrity: sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==}
@@ -604,12 +582,8 @@ packages:
     resolution: {integrity: sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==}
     engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
 
-  '@remix-run/router@1.23.0':
-    resolution: {integrity: sha512-O3rHJzAQKamUz1fvE0Qaw0xSFqsA/yafi2iqeE0pvdFtCO1viYx8QL6f3Ln/aCCTLxs68SLf0KPM9eSeM8yBnA==}
-    engines: {node: '>=14.0.0'}
-
-  '@rolldown/pluginutils@1.0.0-beta.32':
-    resolution: {integrity: sha512-QReCdvxiUZAPkvp1xpAg62IeNzykOFA6syH2CnClif4YmALN1XKpB39XneL80008UbtMShthSVDKmrx05N1q/g==}
+  '@rolldown/pluginutils@1.0.0-beta.35':
+    resolution: {integrity: sha512-slYrCpoxJUqzFDDNlvrOYRazQUNRvWPjXA17dAOISY3rDMxX6k8K4cj2H+hEYMHF81HO3uNd5rHVigAWRM5dSg==}
 
   '@rollup/pluginutils@5.2.0':
     resolution: {integrity: sha512-qWJ2ZTbmumwiLFomfzTyt5Kng4hwPi9rwCYN4SHb6eaRU1KNO4ccxINHr/VhH4GgPlt1XfSTLX2LBTme8ne4Zw==}
@@ -620,108 +594,113 @@ packages:
       rollup:
         optional: true
 
-  '@rollup/rollup-android-arm-eabi@4.50.1':
-    resolution: {integrity: sha512-HJXwzoZN4eYTdD8bVV22DN8gsPCAj3V20NHKOs8ezfXanGpmVPR7kalUHd+Y31IJp9stdB87VKPFbsGY3H/2ag==}
+  '@rollup/rollup-android-arm-eabi@4.52.2':
+    resolution: {integrity: sha512-o3pcKzJgSGt4d74lSZ+OCnHwkKBeAbFDmbEm5gg70eA8VkyCuC/zV9TwBnmw6VjDlRdF4Pshfb+WE9E6XY1PoQ==}
     cpu: [arm]
     os: [android]
 
-  '@rollup/rollup-android-arm64@4.50.1':
-    resolution: {integrity: sha512-PZlsJVcjHfcH53mOImyt3bc97Ep3FJDXRpk9sMdGX0qgLmY0EIWxCag6EigerGhLVuL8lDVYNnSo8qnTElO4xw==}
+  '@rollup/rollup-android-arm64@4.52.2':
+    resolution: {integrity: sha512-cqFSWO5tX2vhC9hJTK8WAiPIm4Q8q/cU8j2HQA0L3E1uXvBYbOZMhE2oFL8n2pKB5sOCHY6bBuHaRwG7TkfJyw==}
     cpu: [arm64]
     os: [android]
 
-  '@rollup/rollup-darwin-arm64@4.50.1':
-    resolution: {integrity: sha512-xc6i2AuWh++oGi4ylOFPmzJOEeAa2lJeGUGb4MudOtgfyyjr4UPNK+eEWTPLvmPJIY/pgw6ssFIox23SyrkkJw==}
+  '@rollup/rollup-darwin-arm64@4.52.2':
+    resolution: {integrity: sha512-vngduywkkv8Fkh3wIZf5nFPXzWsNsVu1kvtLETWxTFf/5opZmflgVSeLgdHR56RQh71xhPhWoOkEBvbehwTlVA==}
     cpu: [arm64]
     os: [darwin]
 
-  '@rollup/rollup-darwin-x64@4.50.1':
-    resolution: {integrity: sha512-2ofU89lEpDYhdLAbRdeyz/kX3Y2lpYc6ShRnDjY35bZhd2ipuDMDi6ZTQ9NIag94K28nFMofdnKeHR7BT0CATw==}
+  '@rollup/rollup-darwin-x64@4.52.2':
+    resolution: {integrity: sha512-h11KikYrUCYTrDj6h939hhMNlqU2fo/X4NB0OZcys3fya49o1hmFaczAiJWVAFgrM1NCP6RrO7lQKeVYSKBPSQ==}
     cpu: [x64]
     os: [darwin]
 
-  '@rollup/rollup-freebsd-arm64@4.50.1':
-    resolution: {integrity: sha512-wOsE6H2u6PxsHY/BeFHA4VGQN3KUJFZp7QJBmDYI983fgxq5Th8FDkVuERb2l9vDMs1D5XhOrhBrnqcEY6l8ZA==}
+  '@rollup/rollup-freebsd-arm64@4.52.2':
+    resolution: {integrity: sha512-/eg4CI61ZUkLXxMHyVlmlGrSQZ34xqWlZNW43IAU4RmdzWEx0mQJ2mN/Cx4IHLVZFL6UBGAh+/GXhgvGb+nVxw==}
     cpu: [arm64]
     os: [freebsd]
 
-  '@rollup/rollup-freebsd-x64@4.50.1':
-    resolution: {integrity: sha512-A/xeqaHTlKbQggxCqispFAcNjycpUEHP52mwMQZUNqDUJFFYtPHCXS1VAG29uMlDzIVr+i00tSFWFLivMcoIBQ==}
+  '@rollup/rollup-freebsd-x64@4.52.2':
+    resolution: {integrity: sha512-QOWgFH5X9+p+S1NAfOqc0z8qEpJIoUHf7OWjNUGOeW18Mx22lAUOiA9b6r2/vpzLdfxi/f+VWsYjUOMCcYh0Ng==}
     cpu: [x64]
     os: [freebsd]
 
-  '@rollup/rollup-linux-arm-gnueabihf@4.50.1':
-    resolution: {integrity: sha512-54v4okehwl5TaSIkpp97rAHGp7t3ghinRd/vyC1iXqXMfjYUTm7TfYmCzXDoHUPTTf36L8pr0E7YsD3CfB3ZDg==}
+  '@rollup/rollup-linux-arm-gnueabihf@4.52.2':
+    resolution: {integrity: sha512-kDWSPafToDd8LcBYd1t5jw7bD5Ojcu12S3uT372e5HKPzQt532vW+rGFFOaiR0opxePyUkHrwz8iWYEyH1IIQA==}
     cpu: [arm]
     os: [linux]
 
-  '@rollup/rollup-linux-arm-musleabihf@4.50.1':
-    resolution: {integrity: sha512-p/LaFyajPN/0PUHjv8TNyxLiA7RwmDoVY3flXHPSzqrGcIp/c2FjwPPP5++u87DGHtw+5kSH5bCJz0mvXngYxw==}
+  '@rollup/rollup-linux-arm-musleabihf@4.52.2':
+    resolution: {integrity: sha512-gKm7Mk9wCv6/rkzwCiUC4KnevYhlf8ztBrDRT9g/u//1fZLapSRc+eDZj2Eu2wpJ+0RzUKgtNijnVIB4ZxyL+w==}
     cpu: [arm]
     os: [linux]
 
-  '@rollup/rollup-linux-arm64-gnu@4.50.1':
-    resolution: {integrity: sha512-2AbMhFFkTo6Ptna1zO7kAXXDLi7H9fGTbVaIq2AAYO7yzcAsuTNWPHhb2aTA6GPiP+JXh85Y8CiS54iZoj4opw==}
+  '@rollup/rollup-linux-arm64-gnu@4.52.2':
+    resolution: {integrity: sha512-66lA8vnj5mB/rtDNwPgrrKUOtCLVQypkyDa2gMfOefXK6rcZAxKLO9Fy3GkW8VkPnENv9hBkNOFfGLf6rNKGUg==}
     cpu: [arm64]
     os: [linux]
 
-  '@rollup/rollup-linux-arm64-musl@4.50.1':
-    resolution: {integrity: sha512-Cgef+5aZwuvesQNw9eX7g19FfKX5/pQRIyhoXLCiBOrWopjo7ycfB292TX9MDcDijiuIJlx1IzJz3IoCPfqs9w==}
+  '@rollup/rollup-linux-arm64-musl@4.52.2':
+    resolution: {integrity: sha512-s+OPucLNdJHvuZHuIz2WwncJ+SfWHFEmlC5nKMUgAelUeBUnlB4wt7rXWiyG4Zn07uY2Dd+SGyVa9oyLkVGOjA==}
     cpu: [arm64]
     os: [linux]
 
-  '@rollup/rollup-linux-loongarch64-gnu@4.50.1':
-    resolution: {integrity: sha512-RPhTwWMzpYYrHrJAS7CmpdtHNKtt2Ueo+BlLBjfZEhYBhK00OsEqM08/7f+eohiF6poe0YRDDd8nAvwtE/Y62Q==}
+  '@rollup/rollup-linux-loong64-gnu@4.52.2':
+    resolution: {integrity: sha512-8wTRM3+gVMDLLDdaT6tKmOE3lJyRy9NpJUS/ZRWmLCmOPIJhVyXwjBo+XbrrwtV33Em1/eCTd5TuGJm4+DmYjw==}
     cpu: [loong64]
     os: [linux]
 
-  '@rollup/rollup-linux-ppc64-gnu@4.50.1':
-    resolution: {integrity: sha512-eSGMVQw9iekut62O7eBdbiccRguuDgiPMsw++BVUg+1K7WjZXHOg/YOT9SWMzPZA+w98G+Fa1VqJgHZOHHnY0Q==}
+  '@rollup/rollup-linux-ppc64-gnu@4.52.2':
+    resolution: {integrity: sha512-6yqEfgJ1anIeuP2P/zhtfBlDpXUb80t8DpbYwXQ3bQd95JMvUaqiX+fKqYqUwZXqdJDd8xdilNtsHM2N0cFm6A==}
     cpu: [ppc64]
     os: [linux]
 
-  '@rollup/rollup-linux-riscv64-gnu@4.50.1':
-    resolution: {integrity: sha512-S208ojx8a4ciIPrLgazF6AgdcNJzQE4+S9rsmOmDJkusvctii+ZvEuIC4v/xFqzbuP8yDjn73oBlNDgF6YGSXQ==}
+  '@rollup/rollup-linux-riscv64-gnu@4.52.2':
+    resolution: {integrity: sha512-sshYUiYVSEI2B6dp4jMncwxbrUqRdNApF2c3bhtLAU0qA8Lrri0p0NauOsTWh3yCCCDyBOjESHMExonp7Nzc0w==}
     cpu: [riscv64]
     os: [linux]
 
-  '@rollup/rollup-linux-riscv64-musl@4.50.1':
-    resolution: {integrity: sha512-3Ag8Ls1ggqkGUvSZWYcdgFwriy2lWo+0QlYgEFra/5JGtAd6C5Hw59oojx1DeqcA2Wds2ayRgvJ4qxVTzCHgzg==}
+  '@rollup/rollup-linux-riscv64-musl@4.52.2':
+    resolution: {integrity: sha512-duBLgd+3pqC4MMwBrKkFxaZerUxZcYApQVC5SdbF5/e/589GwVvlRUnyqMFbM8iUSb1BaoX/3fRL7hB9m2Pj8Q==}
     cpu: [riscv64]
     os: [linux]
 
-  '@rollup/rollup-linux-s390x-gnu@4.50.1':
-    resolution: {integrity: sha512-t9YrKfaxCYe7l7ldFERE1BRg/4TATxIg+YieHQ966jwvo7ddHJxPj9cNFWLAzhkVsbBvNA4qTbPVNsZKBO4NSg==}
+  '@rollup/rollup-linux-s390x-gnu@4.52.2':
+    resolution: {integrity: sha512-tzhYJJidDUVGMgVyE+PmxENPHlvvqm1KILjjZhB8/xHYqAGeizh3GBGf9u6WdJpZrz1aCpIIHG0LgJgH9rVjHQ==}
     cpu: [s390x]
     os: [linux]
 
-  '@rollup/rollup-linux-x64-gnu@4.50.1':
-    resolution: {integrity: sha512-MCgtFB2+SVNuQmmjHf+wfI4CMxy3Tk8XjA5Z//A0AKD7QXUYFMQcns91K6dEHBvZPCnhJSyDWLApk40Iq/H3tA==}
+  '@rollup/rollup-linux-x64-gnu@4.52.2':
+    resolution: {integrity: sha512-opH8GSUuVcCSSyHHcl5hELrmnk4waZoVpgn/4FDao9iyE4WpQhyWJ5ryl5M3ocp4qkRuHfyXnGqg8M9oKCEKRA==}
     cpu: [x64]
     os: [linux]
 
-  '@rollup/rollup-linux-x64-musl@4.50.1':
-    resolution: {integrity: sha512-nEvqG+0jeRmqaUMuwzlfMKwcIVffy/9KGbAGyoa26iu6eSngAYQ512bMXuqqPrlTyfqdlB9FVINs93j534UJrg==}
+  '@rollup/rollup-linux-x64-musl@4.52.2':
+    resolution: {integrity: sha512-LSeBHnGli1pPKVJ79ZVJgeZWWZXkEe/5o8kcn23M8eMKCUANejchJbF/JqzM4RRjOJfNRhKJk8FuqL1GKjF5oQ==}
     cpu: [x64]
     os: [linux]
 
-  '@rollup/rollup-openharmony-arm64@4.50.1':
-    resolution: {integrity: sha512-RDsLm+phmT3MJd9SNxA9MNuEAO/J2fhW8GXk62G/B4G7sLVumNFbRwDL6v5NrESb48k+QMqdGbHgEtfU0LCpbA==}
+  '@rollup/rollup-openharmony-arm64@4.52.2':
+    resolution: {integrity: sha512-uPj7MQ6/s+/GOpolavm6BPo+6CbhbKYyZHUDvZ/SmJM7pfDBgdGisFX3bY/CBDMg2ZO4utfhlApkSfZ92yXw7Q==}
     cpu: [arm64]
     os: [openharmony]
 
-  '@rollup/rollup-win32-arm64-msvc@4.50.1':
-    resolution: {integrity: sha512-hpZB/TImk2FlAFAIsoElM3tLzq57uxnGYwplg6WDyAxbYczSi8O2eQ+H2Lx74504rwKtZ3N2g4bCUkiamzS6TQ==}
+  '@rollup/rollup-win32-arm64-msvc@4.52.2':
+    resolution: {integrity: sha512-Z9MUCrSgIaUeeHAiNkm3cQyst2UhzjPraR3gYYfOjAuZI7tcFRTOD+4cHLPoS/3qinchth+V56vtqz1Tv+6KPA==}
     cpu: [arm64]
     os: [win32]
 
-  '@rollup/rollup-win32-ia32-msvc@4.50.1':
-    resolution: {integrity: sha512-SXjv8JlbzKM0fTJidX4eVsH+Wmnp0/WcD8gJxIZyR6Gay5Qcsmdbi9zVtnbkGPG8v2vMR1AD06lGWy5FLMcG7A==}
+  '@rollup/rollup-win32-ia32-msvc@4.52.2':
+    resolution: {integrity: sha512-+GnYBmpjldD3XQd+HMejo+0gJGwYIOfFeoBQv32xF/RUIvccUz20/V6Otdv+57NE70D5pa8W/jVGDoGq0oON4A==}
     cpu: [ia32]
     os: [win32]
 
-  '@rollup/rollup-win32-x64-msvc@4.50.1':
-    resolution: {integrity: sha512-StxAO/8ts62KZVRAm4JZYq9+NqNsV7RvimNK+YM7ry//zebEH6meuugqW/P5OFUCjyQgui+9fUxT6d5NShvMvA==}
+  '@rollup/rollup-win32-x64-gnu@4.52.2':
+    resolution: {integrity: sha512-ApXFKluSB6kDQkAqZOKXBjiaqdF1BlKi+/eqnYe9Ee7U2K3pUDKsIyr8EYm/QDHTJIM+4X+lI0gJc3TTRhd+dA==}
+    cpu: [x64]
+    os: [win32]
+
+  '@rollup/rollup-win32-x64-msvc@4.52.2':
+    resolution: {integrity: sha512-ARz+Bs8kY6FtitYM96PqPEVvPXqEZmPZsSkXvyX19YzDqkCaIlhCieLLMI5hxO9SRZ2XtCtm8wxhy0iJ2jxNfw==}
     cpu: [x64]
     os: [win32]
 
@@ -747,11 +726,11 @@ packages:
   '@rushstack/ts-command-line@5.0.2':
     resolution: {integrity: sha512-+AkJDbu1GFMPIU8Sb7TLVXDv/Q7Mkvx+wAjEl8XiXVVq+p1FmWW6M3LYpJMmoHNckSofeMecgWg5lfMwNAAsEQ==}
 
-  '@stylistic/eslint-plugin@2.13.0':
-    resolution: {integrity: sha512-RnO1SaiCFHn666wNz2QfZEFxvmiNRqhzaMXHXxXXKt+MEP7aajlPxUSMIQpKAaJfverpovEYqjBOXDq6dDcaOQ==}
+  '@stylistic/eslint-plugin@5.4.0':
+    resolution: {integrity: sha512-UG8hdElzuBDzIbjG1QDwnYH0MQ73YLXDFHgZzB4Zh/YJfnw8XNsloVtytqzx0I2Qky9THSdpTmi8Vjn/pf/Lew==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
     peerDependencies:
-      eslint: '>=8.40.0'
+      eslint: '>=9.0.0'
 
   '@swc/core-darwin-arm64@1.13.5':
     resolution: {integrity: sha512-lKNv7SujeXvKn16gvQqUQI5DdyY8v7xcoO3k06/FJbHJS90zEwZdQiMNRiqpYw/orU543tPaWgz7cIYWhbopiQ==}
@@ -831,11 +810,11 @@ packages:
   '@swc/types@0.1.25':
     resolution: {integrity: sha512-iAoY/qRhNH8a/hBvm3zKj9qQ4oc2+3w1unPJa2XvTK3XjeLXtzcCingVPw/9e5mn1+0yPqxcBGp9Jf0pkfMb1g==}
 
-  '@tanstack/query-core@5.85.5':
-    resolution: {integrity: sha512-KO0WTob4JEApv69iYp1eGvfMSUkgw//IpMnq+//cORBzXf0smyRwPLrUvEe5qtAEGjwZTXrjxg+oJNP/C00t6w==}
+  '@tanstack/query-core@5.90.2':
+    resolution: {integrity: sha512-k/TcR3YalnzibscALLwxeiLUub6jN5EDLwKDiO7q5f4ICEoptJ+n9+7vcEFy5/x/i6Q+Lb/tXrsKCggf5uQJXQ==}
 
-  '@tanstack/react-query@5.85.5':
-    resolution: {integrity: sha512-/X4EFNcnPiSs8wM2v+b6DqS5mmGeuJQvxBglmDxl6ZQb5V26ouD2SJYAcC3VjbNwqhY2zjxVD15rDA5nGbMn3A==}
+  '@tanstack/react-query@5.90.2':
+    resolution: {integrity: sha512-CLABiR+h5PYfOWr/z+vWFt5VsOA2ekQeRQBFSKlcoW6Ndx/f8rfyVmq4LbgOM4GG2qtxAxjLYLOpCNTYm4uKzw==}
     peerDependencies:
       react: ^18 || ^19
 
@@ -843,8 +822,8 @@ packages:
     resolution: {integrity: sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==}
     engines: {node: '>=18'}
 
-  '@testing-library/jest-dom@6.7.0':
-    resolution: {integrity: sha512-RI2e97YZ7MRa+vxP4UUnMuMFL2buSsf0ollxUbTgrbPLKhMn8KVTx7raS6DYjC7v1NDVrioOvaShxsguLNISCA==}
+  '@testing-library/jest-dom@6.8.0':
+    resolution: {integrity: sha512-WgXcWzVM6idy5JaftTVC8Vs83NKRmGJz4Hqs4oyOuO2J4r/y79vvKZsb+CaGyCSEbUPI6OsewfPd0G1A0/TUZQ==}
     engines: {node: '>=14', npm: '>=6', yarn: '>=1'}
 
   '@testing-library/react@16.3.0':
@@ -862,14 +841,21 @@ packages:
       '@types/react-dom':
         optional: true
 
-  '@trivago/prettier-plugin-sort-imports@4.3.0':
-    resolution: {integrity: sha512-r3n0onD3BTOVUNPhR4lhVK4/pABGpbA7bW3eumZnYdKaHkf1qEC+Mag6DPbGNuuh0eG8AaYj+YqmVHSiGslaTQ==}
+  '@trivago/prettier-plugin-sort-imports@5.2.2':
+    resolution: {integrity: sha512-fYDQA9e6yTNmA13TLVSA+WMQRc5Bn/c0EUBditUHNfMMxN7M82c38b1kEggVE3pLpZ0FwkwJkUEKMiOi52JXFA==}
+    engines: {node: '>18.12'}
     peerDependencies:
       '@vue/compiler-sfc': 3.x
       prettier: 2.x - 3.x
+      prettier-plugin-svelte: 3.x
+      svelte: 4.x || 5.x
     peerDependenciesMeta:
       '@vue/compiler-sfc':
         optional: true
+      prettier-plugin-svelte:
+        optional: true
+      svelte:
+        optional: true
 
   '@ts-morph/common@0.23.0':
     resolution: {integrity: sha512-m7Lllj9n/S6sOkCkRftpM7L24uvmfXQFedlW/4hENcuJH1HHm9u5EgxZb9uVjQSCGrbBWBkOGgcTxNg36r6ywA==}
@@ -892,36 +878,36 @@ packages:
   '@types/json-schema@7.0.15':
     resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
 
-  '@types/node@22.17.2':
-    resolution: {integrity: sha512-gL6z5N9Jm9mhY+U2KXZpteb+09zyffliRkZyZOHODGATyC5B1Jt/7TzuuiLkFsSUMLbS1OLmlj/E+/3KF4Q/4w==}
+  '@types/node@20.19.17':
+    resolution: {integrity: sha512-gfehUI8N1z92kygssiuWvLiwcbOB3IRktR6hTDgJlXMYh5OvkPSRmgfoBUmfZt+vhwJtX7v1Yw4KvvAf7c5QKQ==}
 
-  '@types/normalize-package-data@2.4.4':
-    resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==}
+  '@types/node@24.5.2':
+    resolution: {integrity: sha512-FYxk1I7wPv3K2XBaoyH2cTnocQEu8AOZ60hPbsyukMPLv5/5qr7V1i8PLHdl6Zf87I+xZXFvPCXYjiTFq+YSDQ==}
 
   '@types/parse-json@4.0.2':
     resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==}
 
-  '@types/prop-types@15.7.15':
-    resolution: {integrity: sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==}
-
-  '@types/react-dom@18.3.7':
-    resolution: {integrity: sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==}
+  '@types/react-dom@19.1.9':
+    resolution: {integrity: sha512-qXRuZaOsAdXKFyOhRBg6Lqqc0yay13vN7KrIg4L7N4aaHN68ma9OK3NE1BoDFgFOTfM7zg+3/8+2n8rLUH3OKQ==}
     peerDependencies:
-      '@types/react': ^18.0.0
+      '@types/react': ^19.0.0
+
+  '@types/react@19.1.13':
+    resolution: {integrity: sha512-hHkbU/eoO3EG5/MZkuFSKmYqPbSVk5byPFa3e7y/8TybHiLMACgI8seVYlicwk7H5K/rI2px9xrQp/C+AUDTiQ==}
 
-  '@types/react@18.3.23':
-    resolution: {integrity: sha512-/LDXMQh55EzZQ0uVAZmKKhfENivEvWz6E+EYzh+/MCjMhNsotd+ZHhBGIjFDTi6+fz0OhQQQLbTgdQIxxCsC0w==}
+  '@types/whatwg-mimetype@3.0.2':
+    resolution: {integrity: sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA==}
 
-  '@typescript-eslint/eslint-plugin@8.40.0':
-    resolution: {integrity: sha512-w/EboPlBwnmOBtRbiOvzjD+wdiZdgFeo17lkltrtn7X37vagKKWJABvyfsJXTlHe6XBzugmYgd4A4nW+k8Mixw==}
+  '@typescript-eslint/eslint-plugin@8.44.1':
+    resolution: {integrity: sha512-molgphGqOBT7t4YKCSkbasmu1tb1MgrZ2szGzHbclF7PNmOkSTQVHy+2jXOSnxvR3+Xe1yySHFZoqMpz3TfQsw==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
     peerDependencies:
-      '@typescript-eslint/parser': ^8.40.0
+      '@typescript-eslint/parser': ^8.44.1
       eslint: ^8.57.0 || ^9.0.0
       typescript: '>=4.8.4 <6.0.0'
 
-  '@typescript-eslint/parser@8.40.0':
-    resolution: {integrity: sha512-jCNyAuXx8dr5KJMkecGmZ8KI61KBUhkCob+SD+C+I5+Y1FWI2Y3QmY4/cxMCC5WAsZqoEtEETVhUiUMIGCf6Bw==}
+  '@typescript-eslint/parser@8.44.1':
+    resolution: {integrity: sha512-EHrrEsyhOhxYt8MTg4zTF+DJMuNBzWwgvvOYNj/zm1vnaD/IC5zCXFehZv94Piqa2cRFfXrTFxIvO95L7Qc/cw==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
     peerDependencies:
       eslint: ^8.57.0 || ^9.0.0
@@ -933,18 +919,34 @@ packages:
     peerDependencies:
       typescript: '>=4.8.4 <6.0.0'
 
+  '@typescript-eslint/project-service@8.44.1':
+    resolution: {integrity: sha512-ycSa60eGg8GWAkVsKV4E6Nz33h+HjTXbsDT4FILyL8Obk5/mx4tbvCNsLf9zret3ipSumAOG89UcCs/KRaKYrA==}
+    engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+    peerDependencies:
+      typescript: '>=4.8.4 <6.0.0'
+
   '@typescript-eslint/scope-manager@8.40.0':
     resolution: {integrity: sha512-y9ObStCcdCiZKzwqsE8CcpyuVMwRouJbbSrNuThDpv16dFAj429IkM6LNb1dZ2m7hK5fHyzNcErZf7CEeKXR4w==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
 
+  '@typescript-eslint/scope-manager@8.44.1':
+    resolution: {integrity: sha512-NdhWHgmynpSvyhchGLXh+w12OMT308Gm25JoRIyTZqEbApiBiQHD/8xgb6LqCWCFcxFtWwaVdFsLPQI3jvhywg==}
+    engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
   '@typescript-eslint/tsconfig-utils@8.40.0':
     resolution: {integrity: sha512-jtMytmUaG9d/9kqSl/W3E3xaWESo4hFDxAIHGVW/WKKtQhesnRIJSAJO6XckluuJ6KDB5woD1EiqknriCtAmcw==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
     peerDependencies:
       typescript: '>=4.8.4 <6.0.0'
 
-  '@typescript-eslint/type-utils@8.40.0':
-    resolution: {integrity: sha512-eE60cK4KzAc6ZrzlJnflXdrMqOBaugeukWICO2rB0KNvwdIMaEaYiywwHMzA1qFpTxrLhN9Lp4E/00EgWcD3Ow==}
+  '@typescript-eslint/tsconfig-utils@8.44.1':
+    resolution: {integrity: sha512-B5OyACouEjuIvof3o86lRMvyDsFwZm+4fBOqFHccIctYgBjqR3qT39FBYGN87khcgf0ExpdCBeGKpKRhSFTjKQ==}
+    engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+    peerDependencies:
+      typescript: '>=4.8.4 <6.0.0'
+
+  '@typescript-eslint/type-utils@8.44.1':
+    resolution: {integrity: sha512-KdEerZqHWXsRNKjF9NYswNISnFzXfXNDfPxoTh7tqohU/PRIbwTmsjGK6V9/RTYWau7NZvfo52lgVk+sJh0K3g==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
     peerDependencies:
       eslint: ^8.57.0 || ^9.0.0
@@ -954,12 +956,22 @@ packages:
     resolution: {integrity: sha512-ETdbFlgbAmXHyFPwqUIYrfc12ArvpBhEVgGAxVYSwli26dn8Ko+lIo4Su9vI9ykTZdJn+vJprs/0eZU0YMAEQg==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
 
+  '@typescript-eslint/types@8.44.1':
+    resolution: {integrity: sha512-Lk7uj7y9uQUOEguiDIDLYLJOrYHQa7oBiURYVFqIpGxclAFQ78f6VUOM8lI2XEuNOKNB7XuvM2+2cMXAoq4ALQ==}
+    engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
   '@typescript-eslint/typescript-estree@8.40.0':
     resolution: {integrity: sha512-k1z9+GJReVVOkc1WfVKs1vBrR5MIKKbdAjDTPvIK3L8De6KbFfPFt6BKpdkdk7rZS2GtC/m6yI5MYX+UsuvVYQ==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
     peerDependencies:
       typescript: '>=4.8.4 <6.0.0'
 
+  '@typescript-eslint/typescript-estree@8.44.1':
+    resolution: {integrity: sha512-qnQJ+mVa7szevdEyvfItbO5Vo+GfZ4/GZWWDRRLjrxYPkhM+6zYB2vRYwCsoJLzqFCdZT4mEqyJoyzkunsZ96A==}
+    engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+    peerDependencies:
+      typescript: '>=4.8.4 <6.0.0'
+
   '@typescript-eslint/utils@8.40.0':
     resolution: {integrity: sha512-Cgzi2MXSZyAUOY+BFwGs17s7ad/7L+gKt6Y8rAVVWS+7o6wrjeFN4nVfTpbE25MNcxyJ+iYUXflbs2xR9h4UBg==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -967,12 +979,23 @@ packages:
       eslint: ^8.57.0 || ^9.0.0
       typescript: '>=4.8.4 <6.0.0'
 
+  '@typescript-eslint/utils@8.44.1':
+    resolution: {integrity: sha512-DpX5Fp6edTlocMCwA+mHY8Mra+pPjRZ0TfHkXI8QFelIKcbADQz1LUPNtzOFUriBB2UYqw4Pi9+xV4w9ZczHFg==}
+    engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+    peerDependencies:
+      eslint: ^8.57.0 || ^9.0.0
+      typescript: '>=4.8.4 <6.0.0'
+
   '@typescript-eslint/visitor-keys@8.40.0':
     resolution: {integrity: sha512-8CZ47QwalyRjsypfwnbI3hKy5gJDPmrkLjkgMxhi0+DZZ2QNx2naS6/hWoVYUHU7LU2zleF68V9miaVZvhFfTA==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
 
-  '@vitejs/plugin-react-swc@4.0.1':
-    resolution: {integrity: sha512-NQhPjysi5duItyrMd5JWZFf2vNOuSMyw+EoZyTBDzk+DkfYD8WNrsUs09sELV2cr1P15nufsN25hsUBt4CKF9Q==}
+  '@typescript-eslint/visitor-keys@8.44.1':
+    resolution: {integrity: sha512-576+u0QD+Jp3tZzvfRfxon0EA2lzcDt3lhUbsC6Lgzy9x2VR4E+JUiNyGHi5T8vk0TV+fpJ5GLG1JsJuWCaKhw==}
+    engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+  '@vitejs/plugin-react-swc@4.1.0':
+    resolution: {integrity: sha512-Ff690TUck0Anlh7wdIcnsVMhofeEVgm44Y4OYdeeEEPSKyZHzDI9gfVBvySEhDfXtBp8tLCbfsVKPWEMEjq8/g==}
     engines: {node: ^20.19.0 || >=22.12.0}
     peerDependencies:
       vite: ^4 || ^5 || ^6 || ^7
@@ -1044,218 +1067,219 @@ packages:
   '@vue/shared@3.5.18':
     resolution: {integrity: sha512-cZy8Dq+uuIXbxCZpuLd2GJdeSO/lIzIspC2WtkqIpje5QyFbvLaI5wZtdUjLHjGZrlVX6GilejatWwVYYRc8tA==}
 
-  '@zag-js/accordion@1.21.0':
-    resolution: {integrity: sha512-YuuQs72AmA52Hn30l3Q8KyFDb75g9glFV7AZkUq8V52vtUsdz2PfJye1FPD06M2dnnhHjEbdTQch6Qwwe5ApBA==}
+  '@zag-js/accordion@1.24.1':
+    resolution: {integrity: sha512-JOlmXjO+1tTlyeZ93S+chIlV8uDr8fodj3/XCjLFHc/G116O8cN18KG0Ug9pImy1vT2Kkwb9Ag9QOTyUAXM3PA==}
 
-  '@zag-js/anatomy@1.21.0':
-    resolution: {integrity: sha512-wL5mmewTR8FJd91ZbfwiXpoMJbaQr1F1fFDel5BJgQukScNzd53HS5zhYb15eqJIOR6tlk/itPiJkxPp/+HdcQ==}
+  '@zag-js/anatomy@1.24.1':
+    resolution: {integrity: sha512-mRkpetNjnjgvdyEX880AOjhMhcgdRMLjOM+aEgoDRnhultC4im+nriNoCShJLeVpwsRrEQCU7YVXO4mZaqWUMg==}
 
-  '@zag-js/angle-slider@1.21.0':
-    resolution: {integrity: sha512-1d4VgxYv4LQL8PtjkYqvPlx7DsZpG0CaB1woOhPZSva7jmo0WKvTAUZf2pbk9ajTm+iA4C3xHRbVRM6s2Vy/lg==}
+  '@zag-js/angle-slider@1.24.1':
+    resolution: {integrity: sha512-pcWIpVZDMbujMK0nFaKa0wd7uGkP4E5D7x8cmvoiKMT4E1vZpg2kZeN9qmdnhum9ye7nb80IPKhcDl9C0JuSLw==}
 
-  '@zag-js/aria-hidden@1.21.0':
-    resolution: {integrity: sha512-x78v+v/rNYoCFHeHK343kapdevywctNUEmPGdiH2BT3BI7uXZtv270WkD9OgdEOuEKuu18vbZ9TGYO9FGG8Ijw==}
+  '@zag-js/aria-hidden@1.24.1':
+    resolution: {integrity: sha512-R/a80ZjITZi4rotN7Q9+RTCYCdmJZf3rZi9bObczbR7h5j5GSsjikByUjksWAYzPvFxQxBWTs4GqlCI9dU2f9A==}
 
-  '@zag-js/auto-resize@1.21.0':
-    resolution: {integrity: sha512-bQZUC5tP5SFdVcZ8vTA2tQy4B/YphwJaKCkG0Y6lHscpcPcZK7+kgBJaRj4XQuon7aKmgECLlD/da5PNNAdOJg==}
+  '@zag-js/async-list@1.24.1':
+    resolution: {integrity: sha512-EZE3wORLOhMtT1tiDA0kTHrtY7XNkOoNyn5jCs8Ec1GfqIHSRzQB+2jt+wPIBwUhDcgQksXgOy91s/i9XfQe1g==}
 
-  '@zag-js/avatar@1.21.0':
-    resolution: {integrity: sha512-bRkEaoSbJ8Dae246cc0ShmXLBWDcJIcI1KoncST4ClYwCqyMIj4s/zgr1+XUlyz3imz6n1RhTeT2jKcBqFGC6Q==}
+  '@zag-js/auto-resize@1.24.1':
+    resolution: {integrity: sha512-OH1VTeObddMiN2PUK+7SpkPV8Znlkdq+10odmbbe9K2MZPh352RNcPYytIZTWT0X4/4czhn2MTU6IhZ2lZp2hw==}
 
-  '@zag-js/carousel@1.21.0':
-    resolution: {integrity: sha512-MpGLu6xVyPGDk5OupyTFywb85xrqCEs8qR0FpOH5eyNp3lvx/iLVNMcI+KTk5YTlZWQmDCyT86wBLMlf6SfTvw==}
+  '@zag-js/avatar@1.24.1':
+    resolution: {integrity: sha512-zYGUdkxsMoN8OAFYYCZBrsQx++kjWEBdYZew4en9g8vw7yonNjzywtfF/Vd3Dv6mUZ2r5JtaltbK/qp4aBdZvg==}
 
-  '@zag-js/checkbox@1.21.0':
-    resolution: {integrity: sha512-lY9DYOvz0Cbdi3jxudv/nj9cpaGk784RiookL7QHr1u/Z/sUSNj5gUNpsIkSzZmT054Tu0t0jhtTt8vScq8DmQ==}
+  '@zag-js/carousel@1.24.1':
+    resolution: {integrity: sha512-7WGlFtF4JoIK4kduiFgucdTe9eD+884d9BF9Sh308MlpiL0KZnO3l3Pyq58yi4R0KUTy7zILLGSsUesifVAuEA==}
 
-  '@zag-js/clipboard@1.21.0':
-    resolution: {integrity: sha512-hJl4o8itwvVW3Wz5Zd/OQjR2OhXKdjHqIUuvPGbKcKEWxk6X9SDISslmCH9FbKVGVDgM6q5UypaYwwJZ1SsONQ==}
+  '@zag-js/checkbox@1.24.1':
+    resolution: {integrity: sha512-eU/RKaO44Tgt1iTGg26M2nUd12p+gTuq2rNjqVuPfN3dvRzYNi5rGKk6yTQI2T4DH4D+fDMz6gUneiBuGcVoJA==}
 
-  '@zag-js/collapsible@1.21.0':
-    resolution: {integrity: sha512-6vdZyZauYdiedlh6hcsYDF5Q5eC/vWstbP88PzeCFSxV5hKCJKxENOTd6d4OXJuYeWGkUABdgOl5MLIZVHrYCA==}
+  '@zag-js/clipboard@1.24.1':
+    resolution: {integrity: sha512-GfmjjiEDS9NB6Wo/ThbbzO10BgOYzTSeG00a/pJ5QpvSgvOCz+oLV5NBQHOd8XjOw0e0GQEyfsif0i6wQExSIQ==}
 
-  '@zag-js/collection@1.21.0':
-    resolution: {integrity: sha512-wJYmazXIFnr4/azWI9yeYrK3rB1d0KoaUMhOkrmGnwfp3c0U6rrUL54RuCMeyZ9WmzIUBhjZ5zc+385nsXwlPA==}
+  '@zag-js/collapsible@1.24.1':
+    resolution: {integrity: sha512-U6AP4nE6jwMC3kirFQmOL9i3CSfp8mJqb+Gv3opbClpjqCa8hn9v4PNiimKmd0Qr3kynuVRpAshaUaLeg33YiA==}
 
-  '@zag-js/color-picker@1.21.0':
-    resolution: {integrity: sha512-vovzxNdINPloc5SCBBwZX1/qQnvpGAs++82GUDBGdrdai/ayBYUMkP6Hd0OiStkEDunECpfDv4Qff3kobUIgpg==}
+  '@zag-js/collection@1.24.1':
+    resolution: {integrity: sha512-aWNDI0iZ5Wb8vCZLJWPjRQOK5/B2wvhhR1+pYaScxZfWy2das2DVKam8tnR0p1GrRfBi/kZNaCXtvM1ZNPjlOQ==}
 
-  '@zag-js/color-utils@1.21.0':
-    resolution: {integrity: sha512-phUCKXeDvgnSUdLtjF6oE7HRmFEqNPkKOH2Nkhlnt9Hi8uxW9xhG3Haix7DaBhCN2DLRZqpsULpCA5eYV+S8IA==}
+  '@zag-js/color-picker@1.24.1':
+    resolution: {integrity: sha512-vLW11JrySJR5fGeXXdmlCJuNm7yE0Tsx/SjkX0WBnrPC4PYaGfiwF7LT59bs5XsQp65kEaIca6mw/J0Bouc8Sw==}
 
-  '@zag-js/combobox@1.21.0':
-    resolution: {integrity: sha512-aVEbcRk2JilDhGJjAmmO1YI4B8lNOeqgDxsbdWDDcgivHOzo1b5Rt+5kfyodXVOlzQAPkdq04b5/xLR9eurnJw==}
+  '@zag-js/color-utils@1.24.1':
+    resolution: {integrity: sha512-8KPTa3I9+WbDLrYPH5knEYMW3CjAC20ikosdrgYshGTFIPuqinAnsxD7H0fZO4I+jSjuhtIyNQuvgwJar9A2rg==}
 
-  '@zag-js/core@1.21.0':
-    resolution: {integrity: sha512-ERQklS65W2wZD7Xvm/w/7u1nL5ZcTwK6Ppwat8EfAidBGGUB6YoZLW9Vu3I04g5SPhRmDmuIXhkTqKgIbXUUYg==}
+  '@zag-js/combobox@1.24.1':
+    resolution: {integrity: sha512-BhjQOL/Ssr5lQLPCyEersCqOqllFlNuR8nvQOgl1u8Y0EaZR+ZPQbgXum6kE5AuH3SlcY9+1kDK1ZLswOagL1Q==}
 
-  '@zag-js/date-picker@1.21.0':
-    resolution: {integrity: sha512-pfZXvjuF89NfV6CTc4BayPEAujysJ5vRSVFArsDbz5oKB8j5PCRtvHEHo0WWwgF7Jr40CTmiG68wzuDMCdXq3A==}
+  '@zag-js/core@1.24.1':
+    resolution: {integrity: sha512-0e7QdxBaY9PMHQfDY/Xu/7MKyRxNsriNscpkZI7L4MHMGPmxdfedGBpteI3gFfqWsdJ5NvvpqxdLUwkbYk5Q5A==}
+
+  '@zag-js/date-picker@1.24.1':
+    resolution: {integrity: sha512-8jLv074sGJQw4L+5YTDv7l2bwb1x9E7YhvklCffhf/7OzW7RB/ELkljFhmjueuJp7W/sD4xhJyigjp/mDEg1XA==}
     peerDependencies:
       '@internationalized/date': '>=3.0.0'
 
-  '@zag-js/date-utils@1.21.0':
-    resolution: {integrity: sha512-4H0Z/zQFfpTL45rUZg3tH4lJQmsV6PDTml/ptj9I8/1Mxel5eOwBdmDfQ7owm47H7MjgUvm7CqvYT9987b0KXA==}
+  '@zag-js/date-utils@1.24.1':
+    resolution: {integrity: sha512-Rgll6P4Imq479WxH3uMvwQri4o4lF2cxWX2Hka/W7Nhv1DhPBnmfBw30INyWPXzx5agEVzKdGX/br8MU5DV33Q==}
     peerDependencies:
       '@internationalized/date': '>=3.0.0'
 
-  '@zag-js/dialog@1.21.0':
-    resolution: {integrity: sha512-nAKoCnpd40UeprYl2JazDZVL3r5uHD1L4dUEeY9GlO4CINYBvt7jntVJn1xLGm1tyc4S+kFUSgI1y1DXlS+8KQ==}
+  '@zag-js/dialog@1.24.1':
+    resolution: {integrity: sha512-ITzOoXBC92vIkhNvxM0GMMKwboLLk7hSU9dsplk/X9bpX+fQywgc6d5O4I7WHCMmgUWI5y3/aWjqsWATWwufWg==}
 
-  '@zag-js/dismissable@1.21.0':
-    resolution: {integrity: sha512-+BewcHUJvNCRWZ4lbUqABW6EwJRM2hxf65OPcN9XCMFCAoHbezdqHXYgtU7LRvYUJyxbvLPNeUrww3D6vcyhmA==}
+  '@zag-js/dismissable@1.24.1':
+    resolution: {integrity: sha512-Oca+nbwaqHGt0rmkKfmpExwL+kVYLbVi6fxhzHP1WBrip//IUThoTrPH/gqB51o1DT1z/VNE+8BhWhsHSgkQfw==}
 
-  '@zag-js/dom-query@1.21.0':
-    resolution: {integrity: sha512-P7Aeb1hfd5GtmTO1u0HkyVUrhFYgm94NxJhqufF2W+xByz/XspDcdy0l5pHFGsK9Urvh69S4tCx5YVh0MhZYgQ==}
+  '@zag-js/dom-query@1.24.1':
+    resolution: {integrity: sha512-ww3tS5hrB2s6ywGtjMjSOajP19CnQOH0IAGgzjE+lbvDD+ZroXWn9O3Z/v2kTfKNwZFQ4TOb8oSymuSRQsFOYg==}
 
-  '@zag-js/editable@1.21.0':
-    resolution: {integrity: sha512-28QivG0KU8OCgsldxi6rVLuqr36cNiuy1vTEzcoc61Ue6B1D4rCBAQaAJedl5r1ki+Vzrjl3uP1ApoUwV3S/JA==}
+  '@zag-js/editable@1.24.1':
+    resolution: {integrity: sha512-SV8X7jd95ZAx4VnlhoEcbAiW8jhoGkPf7L0JFB2KWX+NFacEVCKGQpDjZpdzD6j7C10750v3blbkjr6iyzeIqw==}
 
-  '@zag-js/file-upload@1.21.0':
-    resolution: {integrity: sha512-uH55bwFKcftpUYACyHT/8xB2bJdDqe3NM3JNCEYplxvn4scvDEzr2jpyVEmqUeOfrdNnyTuthNnL2hJjm4e+4A==}
+  '@zag-js/file-upload@1.24.1':
+    resolution: {integrity: sha512-Un0+qDlkoC93pf7/Nvq9DBVKR6PBKybbNE/En/PC4XLJybK448bY85UuEdBPgXEoR6hIGA3t8NdeHZ+PUoZXIw==}
 
-  '@zag-js/file-utils@1.21.0':
-    resolution: {integrity: sha512-gEWmz2ryuJMyAq3kg13TTmh5wR4Ft7d4Lb81ZeHiPpI/IwW67QrpBN0AKw3FBTmAuYBpK/dEc5iyETNPPrPTvg==}
+  '@zag-js/file-utils@1.24.1':
+    resolution: {integrity: sha512-ydMct0iyd4uPxf+NP4gfyPq1gJlvW29WWIm5ez9El9L+z5tDBhXYNc73s2kSdDBKXkO4fp6Mwoqbz/wZOw99/Q==}
 
-  '@zag-js/floating-panel@1.21.0':
-    resolution: {integrity: sha512-PVszFoJ53Iqmx+JD7WQFydRpp6spZFP1bCuBaHSoI044Z57UJ+rAkSlOGpoRHwpSROO9FPIpeqoTgy/kOCNmOA==}
+  '@zag-js/floating-panel@1.24.1':
+    resolution: {integrity: sha512-qVVtnKCQE2C//0q7utRvpfRKsZedL8gnSqwHDX4ie8nKmLLSLn6jDGuAzxrscsGPHEjCOru9NlTHlAAMtB3ybQ==}
 
-  '@zag-js/focus-trap@1.21.0':
-    resolution: {integrity: sha512-O00KOYOVPWWv/eATfeZxRTEvUTLv+eHJH6ynqOAvQ7RXmsECst4QlL9UJwStrTKn/r2gxhj+UZMwHMEwTGNeVg==}
+  '@zag-js/focus-trap@1.24.1':
+    resolution: {integrity: sha512-cpgYWWaiKx9eycm4Mahv6Dng5+CbDiTtyz/gnbZUv6sqcM4b9N+UqdmBdWYPLHV4gZYrzuO+X4P1C/Ew/rA+xg==}
 
-  '@zag-js/focus-visible@1.21.0':
-    resolution: {integrity: sha512-FNA7H4hyoQRBKpDkJWlBrFeyJpVphATgjvjhNXatCrrfa4F7VZiGnu3RGhEcnaw4b3bNkFnYLdRd+9XX7JHuoA==}
+  '@zag-js/focus-visible@1.24.1':
+    resolution: {integrity: sha512-HzUf8cRl5tbIil6rVe24CxC3s1pdFGpfYSt5NyaFoFd0HuWhobp+De1kVUvlLU0DDUU6Kgw6DB1w8APEPzb8gg==}
 
-  '@zag-js/highlight-word@1.21.0':
-    resolution: {integrity: sha512-bJIwPtcAMfEP6c5R/a3ZQG1V5FvYBP9onMVwKranAWPqOUj1/Y6lQ2gV/K4s7sw3VnpoXmy+5VxwfOPU/QWU5Q==}
+  '@zag-js/highlight-word@1.24.1':
+    resolution: {integrity: sha512-paDF/sWKDMMclpCzrG60vD4/AFQ3EOu2lzQxl7S21uD/B8Rir4w1CkxK/9+cm1Bu7mj4mkR4t+VJxycEZ7YuIw==}
 
-  '@zag-js/hover-card@1.21.0':
-    resolution: {integrity: sha512-G4+/lnc4ATU7BVHlnQ77fNC1b2k9dcbIeaBPMcdnc+g+CtqNhNTBM+rMb2OpSE9IOuFwqld5EK1v4tW8+6qOwQ==}
+  '@zag-js/hover-card@1.24.1':
+    resolution: {integrity: sha512-zXTcLEb8YOFoEjDMsMcxqidRDN2fY0C94j+XdZYj5eZtKBIgbyCyAjvZrEu9yyPqqrXCNwYU0fTFjac3t9IV4g==}
 
-  '@zag-js/i18n-utils@1.21.0':
-    resolution: {integrity: sha512-5E+vVsL6zcfaLlSGSnB3olXIEzmZ4C5L53+jSnx8LqmIcuTEc8I8mvBhcpTiDVHKrH6jG3jHE+6BvdyJ9SWQiA==}
+  '@zag-js/i18n-utils@1.24.1':
+    resolution: {integrity: sha512-dI9M73FTJcE40s/TPBLLKsypmBoMNe5NoRSBW64PWdmn0fCq65qcAUMgwQ0MVenh4oofoDYyffl8pIStr8T1tA==}
 
-  '@zag-js/interact-outside@1.21.0':
-    resolution: {integrity: sha512-Yo4lojJYJZ4fjavOz+VbdpZlcDFAOlrOX+rKss3BNKfaffmhCklx/8Zej7WFStPCAv8AOzZ+fE4EhH/w+uPXEw==}
+  '@zag-js/interact-outside@1.24.1':
+    resolution: {integrity: sha512-xKyGT295WVrlJaOPCVBrundlXqL4YEvl36SHNSi7EZs/AYpzxR/aBtnFCRN1/7nWvdqvfGs7ya0kl/ly0H7VBg==}
 
-  '@zag-js/json-tree-utils@1.21.0':
-    resolution: {integrity: sha512-OSyIxdWUVWD44hCvSgR+hP0q9nJOejS1VI9P4dbphQfcLNVvntAfwrb1os0DUR++UKBHyhAYwKVuVdThYbkJYQ==}
+  '@zag-js/json-tree-utils@1.24.1':
+    resolution: {integrity: sha512-TWVg+Y4fLr9o0YaB3OnX4xmV91Te/vzRwnNKntsz3GIWJ5fLNngg4hm3E+eaYnJIlKMHrvJv4T/UB4IGYUF+EQ==}
 
-  '@zag-js/listbox@1.21.0':
-    resolution: {integrity: sha512-XByByVOj4MA/ELcHgtkiS+jP5b2C2wXHmpCeCUp2jYKx3ZiL8al9y7yYLVBEDHRXsAR44UAQuJPIjDsCgtgkJg==}
+  '@zag-js/listbox@1.24.1':
+    resolution: {integrity: sha512-fTJ125SWVZ+NxgkT6s8LWpdJQMeADk9Lm+Ur1pi0mZnRCmuHI3nwPkg1dfqynjVyrKs6P8wBmUxt3hlr2cc6TQ==}
 
-  '@zag-js/live-region@1.21.0':
-    resolution: {integrity: sha512-buHwgHkW95c8gYtk53AEmjS8r72AtDFRfD3l3OgMsBE/dnYYgM3bfpiZL3pP0IBK+WPKDJxS8TMj7Q7pBiQebQ==}
+  '@zag-js/live-region@1.24.1':
+    resolution: {integrity: sha512-A/55dOyRhfdgVtCBP05Uf2UGz/58H0TMWP69GdVYM4uADtfCLNPy6yxHAt9p334qJsWicg/YWSzBdEAVTThNag==}
 
-  '@zag-js/menu@1.21.0':
-    resolution: {integrity: sha512-usD3MQTobKlzplY3j9IZxiq6cGHUZ/N8qmmi+EKvo0xpsEimhyE+FHr9XHqmFfGsxcH/yvyuFkvEjaUrF3qsqQ==}
+  '@zag-js/menu@1.24.1':
+    resolution: {integrity: sha512-XPNQbkIxSbNuYNLLQZlgXbj6Ptn2XHT5BXkUSw2hSbIg35S7Lq8gckiZVtxmUiX8zbv7krTBSD7zThSnwx1TOA==}
 
-  '@zag-js/number-input@1.21.0':
-    resolution: {integrity: sha512-77Z2tTI+PcOCaoxNoteXfLaZA0zxObrOxqAjTgwapM88kn9oGNU4Ln6AYMJqdIDZJtQWdLBGjJwi3R8h8irpNQ==}
+  '@zag-js/number-input@1.24.1':
+    resolution: {integrity: sha512-F5nX0VvuRmSxddJ8byHYp4OSHLU1C5Fv1rT4L1AnSXud8q6C+zCy4Vy8772pUKNobZf0q8Ru4SgnOe5TQcvRpg==}
 
-  '@zag-js/pagination@1.21.0':
-    resolution: {integrity: sha512-d3zXD17CTSsA3o+5oJB1CujEoYNph58/DHFwVFDRgH5lB5K1vBxgas+JxJ2++uhouI8BH5fz7w7X3Wr6kXEHIw==}
+  '@zag-js/pagination@1.24.1':
+    resolution: {integrity: sha512-IO9Q5SiYmk00pjJAD18qFjOkpN1qb9iSeuX6A9Bdo8sMBFSigI6c7tGo1MPYGENma3b+aX7LbUpt8hYFufqUow==}
 
-  '@zag-js/password-input@1.21.0':
-    resolution: {integrity: sha512-paiZbGEBlkoas08qwrpQVUuZXG8efgti/u464eZR6x7drv6PVc9igWxfqFJXL378I/cEUjj5MvYdk9yMbLJcHg==}
+  '@zag-js/password-input@1.24.1':
+    resolution: {integrity: sha512-TWgTRNsaAZ6IE1QmCQKhPY6uSRPDGjgdxGSpG7wOuYsbxHw/hD3v5sUAhAo9teIL0wV8COZIh6hyG2UAAgT2kg==}
 
-  '@zag-js/pin-input@1.21.0':
-    resolution: {integrity: sha512-Ut3tZ4rDhjopTTdMcNm3BIpTlAu3NR1Uw1w+WM5NTh5C7Vn+GZAL5dP1dahB/t29yqhTZY4ssMxZfDofBpfMHw==}
+  '@zag-js/pin-input@1.24.1':
+    resolution: {integrity: sha512-ytJK/1ekU06VmOpe7KdSkIQ3If+fffrA/EpbktZBuRepsz80QHB64+X6QQ6H1lEMbLWPNZ0TuFPaYhFfqH7cTQ==}
 
-  '@zag-js/popover@1.21.0':
-    resolution: {integrity: sha512-crDELtzKZo0hSXA1N8LFrleq/9QlSGRlUNNb0DoUW0/gFFBG3wsrLayn2gWHweeM9HBG60ZnZnBW//pXaS32sg==}
+  '@zag-js/popover@1.24.1':
+    resolution: {integrity: sha512-auNy7/5/VMeNUYbKfcvSz7OHkbrUWdODtA6gB/d/weAxvEHyMSk0+Ms4c5lmN8KDChrBAPJs4CfKSPv1U4I4zw==}
 
-  '@zag-js/popper@1.21.0':
-    resolution: {integrity: sha512-PWLF6kY4f88CBM+nGebPJMB3DsXcj8NDuiLdljrGL4j1x18t1dhNY1IIdNDBueJCF0VL0uJrGwcxMZg6FGReSA==}
+  '@zag-js/popper@1.24.1':
+    resolution: {integrity: sha512-VWbOjBy/haIDmXhwfyMT1rRcQhSfYmPX67YzQwLA7863kXkoTH1r9fR+1f9uq3VuXQLhw2Cg/lkSzlkg9TIp+g==}
 
-  '@zag-js/presence@1.21.0':
-    resolution: {integrity: sha512-Fz7nhaoYbfbV6c8ovCnv75HaCD5yvU7NUxtR20wUYBPPx5nvdOViUsU+4ih/HXUcBHsQUW6teIfkf9Gb7xbCgQ==}
+  '@zag-js/presence@1.24.1':
+    resolution: {integrity: sha512-MMcw4iOsGdSGM3hmvd0gcMuk1X9rE/xE3Ndm113vc+lkhk93COiuJPz1ZpyBb8l1CIJwlZ5nnRpx4Lx8Do6aNQ==}
 
-  '@zag-js/progress@1.21.0':
-    resolution: {integrity: sha512-AMZsoURX2jotI2KrODE4jw7e9FPslKIZCO/guh11D6A9gvSM3ECRe2gKdAcLjP+UKxayS8MkNPhD51bAYCfkbQ==}
+  '@zag-js/progress@1.24.1':
+    resolution: {integrity: sha512-ocp6zkl5Y3sVMzPVIRLZtqtDfMkc365JYIrOUsdUqwJMvZJhSP1IbsbtIJS1ycOaHfLdK27E//GVyjxA7SHGhw==}
 
-  '@zag-js/qr-code@1.21.0':
-    resolution: {integrity: sha512-mCe8qp+F9ZKS9Py/CkXmfAGMc9h86UM9NkXOWwU880az885Y0Ld8UaHmyWO3AAJDWPYBkTJKq+tEqNTCKx1dyw==}
+  '@zag-js/qr-code@1.24.1':
+    resolution: {integrity: sha512-Hy722PNwLs1tnXFQkTqtrEILypZcUDiC8YdvGn57mmmvPGtZdAzhs4G8ghoP9ahJ02ztREjIt8Qnmct344fALA==}
 
-  '@zag-js/radio-group@1.21.0':
-    resolution: {integrity: sha512-TCb3RjiNhgFWzwHUns9S+z6rNyXng2kexFPmD1ycyEO1efHAb83J5aZv5ShGX/05YCZpwVMf3WsyGEV8p8c/1g==}
+  '@zag-js/radio-group@1.24.1':
+    resolution: {integrity: sha512-49S+nmaZzjf98206VeevmfTNTf+WjLveKCOGz5SVWPX3R8maZJgka1ZlIDuWlnRK1JfL+4Ls10/ZxAk3HrI7sg==}
 
-  '@zag-js/rating-group@1.21.0':
-    resolution: {integrity: sha512-TBjSGfHT06Ehj3lBACVB3pOnxmb+jvJQgBQUZtFYFMae+gtuKItwx9qleH24vuyqKT/DI3amQhbvpi+bUK9CVA==}
+  '@zag-js/rating-group@1.24.1':
+    resolution: {integrity: sha512-EGGObQDmulon5N9s5ElGZv9yQmky10s7ps7wyVgW1+vJTsWr8gaoFMJwf6nbXOsUjqW8iDuzsF68Rel9CgjxIQ==}
 
-  '@zag-js/react@1.21.0':
-    resolution: {integrity: sha512-yTqpMJ2c6Sf/KqXmyq3yJg1W/VZhYn1YNBRKWYJYT/kUDnoOpyqIBbmwka0dZi/hnWdhK1pzV0UUa7oV4IWa/A==}
+  '@zag-js/react@1.24.1':
+    resolution: {integrity: sha512-oiaiuR7FKVHOEJtzoYZ2QBQ5+J/j086eebhLCIWkh2ie6QBJM73LHsMUxfZp2D2G1is8EoyUhrH3v2MPMlYMXg==}
     peerDependencies:
       react: '>=18.0.0'
       react-dom: '>=18.0.0'
 
-  '@zag-js/rect-utils@1.21.0':
-    resolution: {integrity: sha512-ulzlyupj7QnM5NdAHSy2uKscVanjApxcC5/FRu+ooUZRaK1A8BMqep6r7lsVB8qTz0l1ssjLqCJPGNzP3PB3ug==}
+  '@zag-js/rect-utils@1.24.1':
+    resolution: {integrity: sha512-6JkVq71feW9Yyt7Pynyf199ugDFVgRT+jPpg2ECRHgY2oHvn5atBP3PA1uM2cx7ZydiajnBgk4n1ePnGYD2xNw==}
 
-  '@zag-js/remove-scroll@1.21.0':
-    resolution: {integrity: sha512-wsXEM7rUJnJrTmcCHsahtLfxaas/enHOakAB98n5YZelcoFFbE+iR91brb1yUbccfryvepozOac+EIWuO8/2aw==}
+  '@zag-js/remove-scroll@1.24.1':
+    resolution: {integrity: sha512-SAK3ZsnDUcJve5q3OHsMjrl0JOW9sv1fGbBFXyyid9Uu8s79LMh7EZw2na5jXDNzdMWmk1Euu82OaZSlLl9Kew==}
 
-  '@zag-js/scroll-snap@1.21.0':
-    resolution: {integrity: sha512-H/8bQql4DjYFVpBG6j/EyUsdboCxyGjRzOg9SN8bA2aXNDBPh+/oLwnCWCqagd4A1VO6JxmuFmbcM2wW9Khmhw==}
+  '@zag-js/scroll-area@1.24.1':
+    resolution: {integrity: sha512-eRZKs6Yyl8Zp+YkIxzr1QsgRDDsNMxXshwpIzt/L5xK+EV34mv760FOkX/unG/WxQ1Z0gBogPm9ZY53/m4bhJA==}
 
-  '@zag-js/select@1.21.0':
-    resolution: {integrity: sha512-wVxPzw9lmtCDWTPP0h6P8r7QL93VsyajwV0EPFKoa8HH4XWzl5QBuShXIzmD8dxbHA5HIdAZNYAC5BQCSW37Xw==}
+  '@zag-js/scroll-snap@1.24.1':
+    resolution: {integrity: sha512-Co/NlccX4XDg6OzQeRgv8bANbsCkMog1FZ0BveN8+2Mso/svOLVkB6UGswWZk/DyqY8DlxvfZAdPltmQpu5h8w==}
 
-  '@zag-js/signature-pad@1.21.0':
-    resolution: {integrity: sha512-LUXHsMPXLNSaWBJ4WWY+ZSFpAbbPHfUAGOVh22bOIJWMRchcs4Cch42tFgg/sB8cREfc3G/CS5e2gIBqMigcEQ==}
+  '@zag-js/select@1.24.1':
+    resolution: {integrity: sha512-boU5m3Qd//EGe1M2i4a2SbCXQpcPP9Ewe6DvjEpOhxP+dwdbZzDrtRBdZ4ByhMJ+1bT5B6TqsfvsQHhAI0LunA==}
 
-  '@zag-js/slider@1.21.0':
-    resolution: {integrity: sha512-dmH2j8Iu079UZf36TzfPBOYb2jGbvXHcV8x3zYiRWs4ccJDaSNBZieCWCY0/Nm5wI8l+ue/Buc1kcbpIytuWHQ==}
+  '@zag-js/signature-pad@1.24.1':
+    resolution: {integrity: sha512-CRTcefUGMwdhxqmB8yGkHU3gweMfXw0CCoMc0LhMmla12hMJOBi+mpMVaBJnQHYGSG8uFUh2IKdPbe2Vtp4T3Q==}
 
-  '@zag-js/splitter@1.21.0':
-    resolution: {integrity: sha512-blsSe3UrhEYieLF2fuO7UM0t2rQxFTeLYMSjuxFspdYZz47VnEKtVypgQUZnQX5dyttyV49vl1g7+AbBBlk6bA==}
+  '@zag-js/slider@1.24.1':
+    resolution: {integrity: sha512-HClZBKcT+9tihZArRNRj35YOIUbztCcyYzggYYIrK4+OFD0RLYihA+yBO4hxs7xZVenzma9i0pc6q/Vo4z2tvA==}
 
-  '@zag-js/steps@1.21.0':
-    resolution: {integrity: sha512-w0nzJBgYe/A04pNZN1mv1hRT44MVwwRf9VvlBFIS1CxVpUOGkDoVrzRb/CX1zpOhMdtF8w7+FfgT6Q3/oVJ4+A==}
+  '@zag-js/splitter@1.24.1':
+    resolution: {integrity: sha512-UUqiCD0T8kfgm/vRTY1QrPlrpxbzxqZ+8QvysUchnibmStetkHnuzAXC4ZD9jlJbToqzE4p1eLOiWGaVXRdB/Q==}
 
-  '@zag-js/store@1.21.0':
-    resolution: {integrity: sha512-UCAuYWui3+VYfp8KdECXuM+L8tKzQYyNz+7KrRPHyZ37wgHjz4M+QNj/QP5GgDStLJaF3UgbuLYwbXSQ/3WcWw==}
+  '@zag-js/steps@1.24.1':
+    resolution: {integrity: sha512-njL1SMKef0JfYzw5KUhpeVuzOtgBjSxVUwDrPR9s095WUCUiOYlxzqummg3VBY8IDuT/pS/K6LDSY11YCRzeNw==}
 
-  '@zag-js/switch@1.21.0':
-    resolution: {integrity: sha512-erQ05qU9UUTOKkq77X+fTBOnng75ZFugcbcx4HWkACs9aUQmh9JoRF/1+HzFvRf8SyfuEdiSP25Q+ozmiOUmXQ==}
+  '@zag-js/store@1.24.1':
+    resolution: {integrity: sha512-iVl+NX2CcxEDLL3hrj31mqSqBZYBqHEBqa/Z7FwKVoTImMQ1AabMF5XPreTtB8KFbaVJlNlM6D5qngDPpVj/xw==}
 
-  '@zag-js/tabs@1.21.0':
-    resolution: {integrity: sha512-ecRS8F5M6QCAln4ob8waySRmSPozbOZ5dq1GGmaVExBwbrOA4C3ZbrHU3Dhmmx8vUji+rOSRifyhHwCTY0PTqQ==}
+  '@zag-js/switch@1.24.1':
+    resolution: {integrity: sha512-RI2bG2AtsQ4ci8T7RA3XVSjd9urpNQXIwEatpa8cw9GCWFI421rt4Xcab5jy/IOu6VzXl6pwh11/cWAC/PBYCw==}
 
-  '@zag-js/tags-input@1.21.0':
-    resolution: {integrity: sha512-i/3PvNMhUloVi2DO+CRAEHtosu/Xmjcuj7Q3wY1acTORkoyXJrynmKmUcjF2D5ySHuey+Q07ADztlpa9ZHjr8Q==}
+  '@zag-js/tabs@1.24.1':
+    resolution: {integrity: sha512-RjdW4opxhvCWTwHoCqq+lfNCthiyPu376hto6j4Ybl/UN3UFTV4zfTbwbMbAH7dyqj8m1nkKxidLaO0Yhx3zZA==}
 
-  '@zag-js/time-picker@1.21.0':
-    resolution: {integrity: sha512-GIBgfHfo2pYnl9MD0fVNaJ6UE63dOs+T0DFPhBf3DazNR9r4qhK0QXQLRQyH57KD+kcjKiJNgMGRKsKbX88aEw==}
-    peerDependencies:
-      '@internationalized/date': '>=3.0.0'
+  '@zag-js/tags-input@1.24.1':
+    resolution: {integrity: sha512-HY1ebBZE2j3/fuzfKw4z/44S9WWe50auMWLlFg47j6zVBcyNdXEeMO1OvvfyfQFJOcvOKXGxW8Hi4MXGxLWqmA==}
 
-  '@zag-js/timer@1.21.0':
-    resolution: {integrity: sha512-vFohY91xnJVV6iSkT6tESLIrFssZsE02LbnXjHEnEVajC0jXLExvIu70t+5CWmP08e2yfp7E+G9WI1cDyzS/SQ==}
+  '@zag-js/timer@1.24.1':
+    resolution: {integrity: sha512-cjD8+I8CgSugsj5DI+kqzgvuQ2vYeArRdjO3iSjB4AjR+j08W8NKZvr7aawhYq636vrE9LeJGbxxZ3DBV12ELw==}
 
-  '@zag-js/toast@1.21.0':
-    resolution: {integrity: sha512-DMvdLMQFGGwNxRjnzEsszocBWreQ+4spvQTrolra9pp7PuklodnIIuxRNNQ7bQVd1wH/pQPkEwXTbusb4NMBgw==}
+  '@zag-js/toast@1.24.1':
+    resolution: {integrity: sha512-gmHv65EYdypfMoF9WYIp7Y8z6XN5tebXEdjIWF8bJBaqW5zPn2VLdUYpfXv7wrHW2YtSTnF/xtgIhJ7MIX7HxA==}
 
-  '@zag-js/toggle-group@1.21.0':
-    resolution: {integrity: sha512-zUxLj0sXCUixI3C7lMEekQc8jQlFd0Y70a3/MO5xC/sem3pucPS30rulcvp7b3d9TLJk8YVofpvAjdRPDyb9XA==}
+  '@zag-js/toggle-group@1.24.1':
+    resolution: {integrity: sha512-GVBay9XzmXjp1GgAmHUMpeYq3iMMevH+n0TyC0NcRe00prAEL9S4/q9pVy0P33PIOa20dxcvQ/Q3Tf+n5PFQcg==}
 
-  '@zag-js/toggle@1.21.0':
-    resolution: {integrity: sha512-+toPS8gviWYDAatyuFOWooHts5LP368UYsubedxZAgyz+qE6Mo8j282k2iGvmzrM22WcplRXVzgZ0JYUFVPtbQ==}
+  '@zag-js/toggle@1.24.1':
+    resolution: {integrity: sha512-dMN9Q4XFqr7jPlUZsLCFdUc1rtW88FzUaXcFVaeNCy8y8XGc+MG9AJJqjBiBL9EUeeR+LIp8yUIhJQEEDBm0kw==}
 
-  '@zag-js/tooltip@1.21.0':
-    resolution: {integrity: sha512-X7t93MPvB0T82HT9QRlfh+Ts8QwAeouSDmaCCrF5/tdIsMTuzEzGqWtaPbXTDfMGrsG2umlIiIVSraWDe6aAIQ==}
+  '@zag-js/tooltip@1.24.1':
+    resolution: {integrity: sha512-gdD5C9AF6JD8LC6mxXzUGWjnHqY3MS7ZvtNx/nuNGJAqKCD32dPT73fuv0up1UVh1yJhX4IrXg3H6q52Pm+jPw==}
 
-  '@zag-js/tour@1.21.0':
-    resolution: {integrity: sha512-441Az3byK0vP2zL67p4z5m7s/0B7uHicLdvS0rKjoI+2gZ9Qd8yGuzTSfMJY2lWn+407iswN/koY7Kz5K0srFg==}
+  '@zag-js/tour@1.24.1':
+    resolution: {integrity: sha512-e+UR8xauKyRhE6tA8gRsR1GuOn1QGjj2YAmtRC8lIb5tD+QrGCPy0jX2xBeR7M7eY1IPSSyi0gCUGE2CbaRK8Q==}
 
-  '@zag-js/tree-view@1.21.0':
-    resolution: {integrity: sha512-gMjmy+sdZsLm75pwLH8M5qCOnsXA2KIGt0lKcfL/qAhYqDVaXm6xnx43JhJxSvVvqPqDuP1W8R5vUkBtEXV5Ig==}
+  '@zag-js/tree-view@1.24.1':
+    resolution: {integrity: sha512-HXCoqW6j2RunFxaIVRevgRTrRUEP05lpdOvc1Smzne7sC2mczwIqN68Vei6e83gRhXSF80v6Fc4TcHdPiW6wJA==}
 
-  '@zag-js/types@1.21.0':
-    resolution: {integrity: sha512-ozT8aTeqCKsPYQDqIgkjkJnXBEADvV8nj8ZuXUzm7RhIN9EqeqpQyOdA7GdYrrDY5bgmdzyzmJu+e/2PbWg/ng==}
+  '@zag-js/types@1.24.1':
+    resolution: {integrity: sha512-XyINtxe5JK7A+RtTmBdCQElNoElDiTw6NSWpjKZGRAXXGU9HIZ9JIFeaS77uq1aVs0JhAOFwqJiPs2NJzaYHLA==}
 
-  '@zag-js/utils@1.21.0':
-    resolution: {integrity: sha512-yI/CZizbk387TdkDCy9Uc4l53uaeQuWAIJESrmAwwq6yMNbHZ2dm5+1NHdZr/guES5TgyJa/BYJsNJeCsCfesg==}
+  '@zag-js/utils@1.24.1':
+    resolution: {integrity: sha512-4nU9lfFlLLW/4T+/HaP+HdHYFeWvacxSVcccv0JSf+ZTC110IldV48kZELP+wFg9xDL/jCPPjlRtO1K64EIwgA==}
 
   acorn-jsx@5.3.2:
     resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
@@ -1385,8 +1409,8 @@ packages:
     resolution: {integrity: sha512-Xm7bpRXnDSX2YE2YFfBk2FnF0ep6tmG7xPh8iHee8MIcrgq762Nkce856dYtJYLkuIoYZvGfTs/PbZhideTcEg==}
     engines: {node: '>=4'}
 
-  axios@1.12.0:
-    resolution: {integrity: sha512-oXTDccv8PcfjZmPGlWsPSwtOJCZ/b6W5jAMCNcfwJbCzDckwG0jrYJFaWH1yvivfCXjVzV/SPDEhMB3Q+DSurg==}
+  axios@1.12.2:
+    resolution: {integrity: sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==}
 
   axobject-query@4.1.0:
     resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==}
@@ -1399,6 +1423,10 @@ packages:
   balanced-match@1.0.2:
     resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
 
+  baseline-browser-mapping@2.8.6:
+    resolution: {integrity: sha512-wrH5NNqren/QMtKUEEJf7z86YjfqW/2uw3IL3/xpqZUC95SSVIFXYQeeGjL6FT/X68IROu6RMehZQS5foy2BXw==}
+    hasBin: true
+
   binary-extensions@2.3.0:
     resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}
     engines: {node: '>=8'}
@@ -1413,14 +1441,14 @@ packages:
     resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
     engines: {node: '>=8'}
 
-  browserslist@4.25.3:
-    resolution: {integrity: sha512-cDGv1kkDI4/0e5yON9yM5G/0A5u8sf5TnmdX5C9qHzI9PPu++sQ9zjm1k9NiOrf3riY4OkK0zSGqfvJyJsgCBQ==}
+  browserslist@4.26.2:
+    resolution: {integrity: sha512-ECFzp6uFOSB+dcZ5BK/IBaGWssbSYBHvuMeMt3MMFyhI0Z8SqGgEkBLARgpRH3hutIgPVsALcMwbDrJqPxQ65A==}
     engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
     hasBin: true
 
-  builtin-modules@3.3.0:
-    resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==}
-    engines: {node: '>=6'}
+  builtin-modules@5.0.0:
+    resolution: {integrity: sha512-bkXY9WsVpY7CvMhKSR6pZilZu9Ln5WDrKVBUXf2S443etkmEO4V58heTecXcUIsNsi4Rx8JUO4NfX1IcQl4deg==}
+    engines: {node: '>=18.20'}
 
   c12@1.11.1:
     resolution: {integrity: sha512-KDU0TvSvVdaYcQKQ6iPHATGz/7p/KiVjPg4vQrB6Jg/wX9R0yl5RZxWm9IoZqaIHD2+6PZd81+KMGwRr/lRIUg==}
@@ -1454,8 +1482,8 @@ packages:
     resolution: {integrity: sha512-8WB3Jcas3swSvjIeA2yvCJ+Miyz5l1ZmB6HFb9R1317dt9LCQoswg/BGrmAmkWVEszSrrg4RwmO46qIm2OEnSA==}
     engines: {node: '>=16'}
 
-  caniuse-lite@1.0.30001735:
-    resolution: {integrity: sha512-EV/laoX7Wq2J9TQlyIXRxTJqIw4sxfXS4OYgudGxBYRuTv0q7AM6yMEpU/Vo1I94thg9U6EZ2NfZx9GJq83u7w==}
+  caniuse-lite@1.0.30001743:
+    resolution: {integrity: sha512-e6Ojr7RV14Un7dz6ASD0aZDmQPT/A+eZU+nuTNfjqmRrmkmQlnTNWH0SKmqagx9PeW87UVqapSurtAXifmtdmw==}
 
   chai@5.3.3:
     resolution: {integrity: sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==}
@@ -1465,6 +1493,9 @@ packages:
     resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
     engines: {node: '>=10'}
 
+  change-case@5.4.4:
+    resolution: {integrity: sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w==}
+
   check-error@2.1.1:
     resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==}
     engines: {node: '>= 16'}
@@ -1525,8 +1556,12 @@ packages:
   convert-source-map@1.9.0:
     resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==}
 
-  core-js-compat@3.45.0:
-    resolution: {integrity: sha512-gRoVMBawZg0OnxaVv3zpqLLxaHmsubEGyTnqdpI/CEBvX4JadI1dMSHxagThprYRtSVbuQxvi6iUatdPxohHpA==}
+  cookie@1.0.2:
+    resolution: {integrity: sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==}
+    engines: {node: '>=18'}
+
+  core-js-compat@3.45.1:
+    resolution: {integrity: sha512-tqTt5T4PzsMIZ430XGviK4vzYSoeNJ6CXODi6c/voxOT6IZqBht5/EKaSNnYiEjjRYxjVz7DQIsOsY0XNi8PIA==}
 
   cosmiconfig@7.1.0:
     resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==}
@@ -1569,6 +1604,15 @@ packages:
       supports-color:
         optional: true
 
+  debug@4.4.3:
+    resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==}
+    engines: {node: '>=6.0'}
+    peerDependencies:
+      supports-color: '*'
+    peerDependenciesMeta:
+      supports-color:
+        optional: true
+
   deep-eql@5.0.2:
     resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==}
     engines: {node: '>=6'}
@@ -1619,8 +1663,8 @@ packages:
   eastasianwidth@0.2.0:
     resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
 
-  electron-to-chromium@1.5.207:
-    resolution: {integrity: sha512-mryFrrL/GXDTmAtIVMVf+eIXM09BBPlO5IQ7lUyKmK8d+A4VpRGG+M3ofoVef6qyF8s60rJei8ymlJxjUA8Faw==}
+  electron-to-chromium@1.5.223:
+    resolution: {integrity: sha512-qKm55ic6nbEmagFlTFczML33rF90aU+WtrJ9MdTCThrcvDNdUHN4p6QfVN78U06ZmguqXIyMPyYhw2TrbDUwPQ==}
 
   emoji-regex@8.0.0:
     resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
@@ -1670,8 +1714,8 @@ packages:
     resolution: {integrity: sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==}
     engines: {node: '>= 0.4'}
 
-  esbuild@0.25.9:
-    resolution: {integrity: sha512-CRbODhYyQx3qp7ZEwzxOk4JBqmD/seJrzPa/cGjY1VtIn5E09Oi9/dB4JwctnfZ8Q8iT7rioVv5k/FNT/uf54g==}
+  esbuild@0.25.10:
+    resolution: {integrity: sha512-9RiGKvCwaqxO2owP61uQ4BgNborAQskMR6QusfWzQqv7AZOg5oGehdY2pRJMTKuwxd1IDBP4rSbI5lHzU7SMsQ==}
     engines: {node: '>=18'}
     hasBin: true
 
@@ -1725,8 +1769,8 @@ packages:
     peerDependencies:
       eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0
 
-  eslint-plugin-react-refresh@0.4.20:
-    resolution: {integrity: sha512-XpbHQ2q5gUF8BGOX4dHe+71qoirYMhApEPZ7sfhF/dNnOF1UXnCMGZf79SFTBO7Bz5YEIT4TMieSlJBWhP9WBA==}
+  eslint-plugin-react-refresh@0.4.21:
+    resolution: {integrity: sha512-MWDWTtNC4voTcWDxXbdmBNe8b/TxfxRFUL6hXgKWJjN9c1AagYEmpiFWBWzDw+5H3SulWUe1pJKTnoSdmk88UA==}
     peerDependencies:
       eslint: '>=8.40'
 
@@ -1736,11 +1780,11 @@ packages:
     peerDependencies:
       eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7
 
-  eslint-plugin-unicorn@55.0.0:
-    resolution: {integrity: sha512-n3AKiVpY2/uDcGrS3+QsYDkjPfaOrNrsfQxU9nt5nitd9KuvVXrfAvgCO9DYPSfap+Gqjw9EOrXIsBp5tlHZjA==}
-    engines: {node: '>=18.18'}
+  eslint-plugin-unicorn@61.0.2:
+    resolution: {integrity: sha512-zLihukvneYT7f74GNbVJXfWIiNQmkc/a9vYBTE4qPkQZswolWNdu+Wsp9sIXno1JOzdn6OUwLPd19ekXVkahRA==}
+    engines: {node: ^20.10.0 || >=21.0.0}
     peerDependencies:
-      eslint: '>=8.56.0'
+      eslint: '>=9.29.0'
 
   eslint-scope@8.4.0:
     resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==}
@@ -1754,8 +1798,8 @@ packages:
     resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
 
-  eslint@9.33.0:
-    resolution: {integrity: sha512-TS9bTNIryDzStCpJN93aC5VRSW3uTx9sClUn4B87pwiCaJh220otoI0X8mJKr+VcPtniMdN8GKjlwgWGUv5ZKA==}
+  eslint@9.36.0:
+    resolution: {integrity: sha512-hB4FIzXovouYzwzECDcUkJ4OcfOEkXTv2zRY6B9bkwjx/cprAq0uvm1nl7zvQ0/TsUk0zQiN4uPfJpB9m+rPMQ==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
     hasBin: true
     peerDependencies:
@@ -1839,9 +1883,9 @@ packages:
   find-root@1.1.0:
     resolution: {integrity: sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==}
 
-  find-up@4.1.0:
-    resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}
-    engines: {node: '>=8'}
+  find-up-simple@1.0.1:
+    resolution: {integrity: sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==}
+    engines: {node: '>=18'}
 
   find-up@5.0.0:
     resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}
@@ -1926,16 +1970,12 @@ packages:
     resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==}
     hasBin: true
 
-  globals@11.12.0:
-    resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==}
-    engines: {node: '>=4'}
-
   globals@14.0.0:
     resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
     engines: {node: '>=18'}
 
-  globals@15.15.0:
-    resolution: {integrity: sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==}
+  globals@16.4.0:
+    resolution: {integrity: sha512-ob/2LcVVaVGCYN+r14cnwnoDPUufjiYgSqRhiFD0Q1iI4Odora5RE8Iv1D24hAz5oMophRGkGz+yuvQmmUMnMw==}
     engines: {node: '>=18'}
 
   globalthis@1.0.4:
@@ -1957,8 +1997,8 @@ packages:
     engines: {node: '>=0.4.7'}
     hasBin: true
 
-  happy-dom@17.6.3:
-    resolution: {integrity: sha512-UVIHeVhxmxedbWPCfgS55Jg2rDfwf2BCKeylcPSqazLz5w3Kri7Q4xdBJubsr/+VUzFLh0VjIvh13RaDA2/Xug==}
+  happy-dom@18.0.1:
+    resolution: {integrity: sha512-qn+rKOW7KWpVTtgIUi6RVmTBZJSe2k0Db0vh1f7CWrWclkkc7/Q+FrOfkZIb2eiErLyqu5AXEzE7XthO9JVxRA==}
     engines: {node: '>=20.0.0'}
 
   has-bigints@1.1.0:
@@ -1995,9 +2035,6 @@ packages:
   hoist-non-react-statics@3.3.2:
     resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==}
 
-  hosted-git-info@2.8.9:
-    resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==}
-
   html-escaper@2.0.2:
     resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==}
 
@@ -2025,6 +2062,10 @@ packages:
     resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==}
     engines: {node: '>=8'}
 
+  indent-string@5.0.0:
+    resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==}
+    engines: {node: '>=12'}
+
   internal-slot@1.1.0:
     resolution: {integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==}
     engines: {node: '>= 0.4'}
@@ -2052,9 +2093,9 @@ packages:
     resolution: {integrity: sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==}
     engines: {node: '>= 0.4'}
 
-  is-builtin-module@3.2.1:
-    resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==}
-    engines: {node: '>=6'}
+  is-builtin-module@5.0.0:
+    resolution: {integrity: sha512-f4RqJKBUe5rQkJ2eJEJBXSticB3hGbN9j0yxxMQFqIW89Jp9WYFtzfTcRlstDKVUTRzSOTLKRfO9vIztenwtxA==}
+    engines: {node: '>=18.20'}
 
   is-callable@1.2.7:
     resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==}
@@ -2193,13 +2234,9 @@ packages:
     resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}
     hasBin: true
 
-  jsesc@0.5.0:
-    resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==}
-    hasBin: true
-
-  jsesc@2.5.2:
-    resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==}
-    engines: {node: '>=4'}
+  jsesc@3.0.2:
+    resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==}
+    engines: {node: '>=6'}
     hasBin: true
 
   jsesc@3.1.0:
@@ -2253,10 +2290,6 @@ packages:
     resolution: {integrity: sha512-WunYko2W1NcdfAFpuLUoucsgULmgDBRkdxHxWQ7mK0cQqwPiy8E1enjuRBrhLtZkB5iScJ1XIPdhVEFK8aOLSg==}
     engines: {node: '>=14'}
 
-  locate-path@5.0.0:
-    resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}
-    engines: {node: '>=8'}
-
   locate-path@6.0.0:
     resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}
     engines: {node: '>=10'}
@@ -2395,11 +2428,8 @@ packages:
   node-fetch-native@1.6.7:
     resolution: {integrity: sha512-g9yhqoedzIUm0nTnTqAQvueMPVOuIY16bqgAJJC8XOOubYFNwz6IER9qs0Gq2Xd0+CecCKFjtdDTMA4u4xG06Q==}
 
-  node-releases@2.0.19:
-    resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==}
-
-  normalize-package-data@2.5.0:
-    resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==}
+  node-releases@2.0.21:
+    resolution: {integrity: sha512-5b0pgg78U3hwXkCM8Z9b2FJdPZlr9Psr9V2gQPESdGHqbntyFJKFW4r5TeWGFzafGY3hzs1JC62VEQMbl1JFkw==}
 
   normalize-path@3.0.0:
     resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
@@ -2449,26 +2479,14 @@ packages:
     resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==}
     engines: {node: '>= 0.4'}
 
-  p-limit@2.3.0:
-    resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==}
-    engines: {node: '>=6'}
-
   p-limit@3.1.0:
     resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}
     engines: {node: '>=10'}
 
-  p-locate@4.1.0:
-    resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==}
-    engines: {node: '>=8'}
-
   p-locate@5.0.0:
     resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==}
     engines: {node: '>=10'}
 
-  p-try@2.2.0:
-    resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==}
-    engines: {node: '>=6'}
-
   package-json-from-dist@1.0.1:
     resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}
 
@@ -2605,18 +2623,22 @@ packages:
   react-is@17.0.2:
     resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==}
 
-  react-router-dom@6.30.1:
-    resolution: {integrity: sha512-llKsgOkZdbPU1Eg3zK8lCn+sjD9wMRZZPuzmdWWX5SUs8OFkN5HnFVC0u5KMeMaC9aoancFI/KoLuKPqN+hxHw==}
-    engines: {node: '>=14.0.0'}
+  react-router-dom@7.9.1:
+    resolution: {integrity: sha512-U9WBQssBE9B1vmRjo9qTM7YRzfZ3lUxESIZnsf4VjR/lXYz9MHjvOxHzr/aUm4efpktbVOrF09rL/y4VHa8RMw==}
+    engines: {node: '>=20.0.0'}
     peerDependencies:
-      react: '>=16.8'
-      react-dom: '>=16.8'
+      react: '>=18'
+      react-dom: '>=18'
 
-  react-router@6.30.1:
-    resolution: {integrity: sha512-X1m21aEmxGXqENEPG3T6u0Th7g0aS4ZmoNynhbs+Cn+q+QGTLt+d5IQ2bHAXKzKcxGJjxACpVbnYQSCRcfxHlQ==}
-    engines: {node: '>=14.0.0'}
+  react-router@7.9.1:
+    resolution: {integrity: sha512-pfAByjcTpX55mqSDGwGnY9vDCpxqBLASg0BMNAuMmpSGESo/TaOUG6BllhAtAkCGx8Rnohik/XtaqiYUJtgW2g==}
+    engines: {node: '>=20.0.0'}
     peerDependencies:
-      react: '>=16.8'
+      react: '>=18'
+      react-dom: '>=18'
+    peerDependenciesMeta:
+      react-dom:
+        optional: true
 
   react-timeago@8.3.0:
     resolution: {integrity: sha512-BeR0hj/5qqTc2+zxzBSQZMky6MmqwOtKseU3CSmcjKR5uXerej2QY34v2d+cdz11PoeVfAdWLX+qjM/UdZkUUg==}
@@ -2627,14 +2649,6 @@ packages:
     resolution: {integrity: sha512-w8nqGImo45dmMIfljjMwOGtbmC/mk4CMYhWIicdSflH91J9TyCyczcPFXJzrZ/ZXcgGRFeP6BU0BEJTw6tZdfQ==}
     engines: {node: '>=0.10.0'}
 
-  read-pkg-up@7.0.1:
-    resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==}
-    engines: {node: '>=8'}
-
-  read-pkg@5.2.0:
-    resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==}
-    engines: {node: '>=8'}
-
   readdirp@3.6.0:
     resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
     engines: {node: '>=8.10.0'}
@@ -2655,8 +2669,8 @@ packages:
     resolution: {integrity: sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==}
     engines: {node: '>= 0.4'}
 
-  regjsparser@0.10.0:
-    resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==}
+  regjsparser@0.12.0:
+    resolution: {integrity: sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==}
     hasBin: true
 
   require-from-string@2.0.2:
@@ -2680,8 +2694,8 @@ packages:
     resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}
     engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
 
-  rollup@4.50.1:
-    resolution: {integrity: sha512-78E9voJHwnXQMiQdiqswVLZwJIzdBKJ1GdI5Zx6XwoFKUIk09/sSrr+05QFzvYb8q6Y9pPV45zzDuYa3907TZA==}
+  rollup@4.52.2:
+    resolution: {integrity: sha512-I25/2QgoROE1vYV+NQ1En9T9UFB9Cmfm2CJ83zZOlaDpvz29wGQSZXWKw7MiNXau7wYgB/T9fVIdIuEQ+KbiiA==}
     engines: {node: '>=18.0.0', npm: '>=8.0.0'}
     hasBin: true
 
@@ -2703,10 +2717,6 @@ packages:
   scheduler@0.26.0:
     resolution: {integrity: sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==}
 
-  semver@5.7.2:
-    resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==}
-    hasBin: true
-
   semver@6.3.1:
     resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
     hasBin: true
@@ -2721,6 +2731,9 @@ packages:
     engines: {node: '>=10'}
     hasBin: true
 
+  set-cookie-parser@2.7.1:
+    resolution: {integrity: sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==}
+
   set-function-length@1.2.2:
     resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
     engines: {node: '>= 0.4'}
@@ -2776,18 +2789,6 @@ packages:
     resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}
     engines: {node: '>=0.10.0'}
 
-  spdx-correct@3.2.0:
-    resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==}
-
-  spdx-exceptions@2.5.0:
-    resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==}
-
-  spdx-expression-parse@3.0.1:
-    resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==}
-
-  spdx-license-ids@3.0.22:
-    resolution: {integrity: sha512-4PRT4nh1EImPbt2jASOKHX7PB7I+e4IWNLvkKFDxNhJlfjbYlleYQh285Z/3mPTHSAK/AvdMmw5BNNuYH8ShgQ==}
-
   sprintf-js@1.0.3:
     resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==}
 
@@ -2848,6 +2849,10 @@ packages:
     resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==}
     engines: {node: '>=8'}
 
+  strip-indent@4.1.0:
+    resolution: {integrity: sha512-OA95x+JPmL7kc7zCu+e+TeYxEiaIyndRx0OrBcK2QPPH09oAndr2ALvymxWA+Lx1PYYvFUm4O63pRkdJAaW96w==}
+    engines: {node: '>=12'}
+
   strip-json-comments@3.1.1:
     resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
     engines: {node: '>=8'}
@@ -2904,10 +2909,6 @@ packages:
     resolution: {integrity: sha512-t2T/WLB2WRgZ9EpE4jgPJ9w+i66UZfDc8wHh0xrwiRNN+UwH98GIJkTeZqX9rg0i0ptwzqW+uYeIF0T4F8LR7A==}
     engines: {node: '>=14.0.0'}
 
-  to-fast-properties@2.0.0:
-    resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}
-    engines: {node: '>=4'}
-
   to-regex-range@5.0.1:
     resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
     engines: {node: '>=8.0'}
@@ -2928,14 +2929,6 @@ packages:
     resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}
     engines: {node: '>= 0.8.0'}
 
-  type-fest@0.6.0:
-    resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==}
-    engines: {node: '>=8'}
-
-  type-fest@0.8.1:
-    resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==}
-    engines: {node: '>=8'}
-
   typed-array-buffer@1.0.3:
     resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==}
     engines: {node: '>= 0.4'}
@@ -2952,8 +2945,8 @@ packages:
     resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==}
     engines: {node: '>= 0.4'}
 
-  typescript-eslint@8.40.0:
-    resolution: {integrity: sha512-Xvd2l+ZmFDPEt4oj1QEXzA4A2uUK6opvKu3eGN9aGjB8au02lIVcLyi375w94hHyejTOmzIU77L8ol2sRg9n7Q==}
+  typescript-eslint@8.44.1:
+    resolution: {integrity: sha512-0ws8uWGrUVTjEeN2OM4K1pLKHK/4NiNP/vz6ns+LjT/6sqpaYzIVFajZb1fj/IDwpsrrHb3Jy0Qm5u9CPcKaeg==}
     engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
     peerDependencies:
       eslint: ^8.57.0 || ^9.0.0
@@ -2984,6 +2977,9 @@ packages:
   undici-types@6.21.0:
     resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
 
+  undici-types@7.12.0:
+    resolution: {integrity: sha512-goOacqME2GYyOZZfb5Lgtu+1IDmAlAEu5xnD3+xTzS10hT0vzpf0SPjkXwAw9Jm+4n/mQGDP3LO8CPbYROeBfQ==}
+
   universalify@2.0.1:
     resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==}
     engines: {node: '>= 10.0.0'}
@@ -3000,9 +2996,6 @@ packages:
   uri-js@4.4.1:
     resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
 
-  validate-npm-package-license@3.0.4:
-    resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==}
-
   vite-node@3.2.4:
     resolution: {integrity: sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==}
     engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
@@ -3022,8 +3015,8 @@ packages:
       vite:
         optional: true
 
-  vite@7.1.5:
-    resolution: {integrity: sha512-4cKBO9wR75r0BeIWWWId9XK9Lj6La5X846Zw9dFfzMRw38IlTk2iCcUt6hsyiDRcPidc55ZParFYDXi0nXOeLQ==}
+  vite@7.1.7:
+    resolution: {integrity: sha512-VbA8ScMvAISJNJVbRDTJdCwqQoAareR/wutevKanhR2/1EkoXVZVkkORaYm/tNVCjP/UDTKtcw3bAkwOUdedmA==}
     engines: {node: ^20.19.0 || >=22.12.0}
     hasBin: true
     peerDependencies:
@@ -3093,10 +3086,6 @@ packages:
   vscode-uri@3.1.0:
     resolution: {integrity: sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==}
 
-  webidl-conversions@7.0.0:
-    resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==}
-    engines: {node: '>=12'}
-
   whatwg-mimetype@3.0.0:
     resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==}
     engines: {node: '>=12'}
@@ -3170,7 +3159,7 @@ snapshots:
   '@ampproject/remapping@2.3.0':
     dependencies:
       '@jridgewell/gen-mapping': 0.3.13
-      '@jridgewell/trace-mapping': 0.3.30
+      '@jridgewell/trace-mapping': 0.3.31
 
   '@apidevtools/json-schema-ref-parser@11.6.4':
     dependencies:
@@ -3178,67 +3167,68 @@ snapshots:
       '@types/json-schema': 7.0.15
       js-yaml: 4.1.0
 
-  '@ark-ui/react@5.18.2(react-dom@19.1.1(react@19.1.1))(react@19.1.1)':
-    dependencies:
-      '@internationalized/date': 3.8.2
-      '@zag-js/accordion': 1.21.0
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/angle-slider': 1.21.0
-      '@zag-js/auto-resize': 1.21.0
-      '@zag-js/avatar': 1.21.0
-      '@zag-js/carousel': 1.21.0
-      '@zag-js/checkbox': 1.21.0
-      '@zag-js/clipboard': 1.21.0
-      '@zag-js/collapsible': 1.21.0
-      '@zag-js/collection': 1.21.0
-      '@zag-js/color-picker': 1.21.0
-      '@zag-js/color-utils': 1.21.0
-      '@zag-js/combobox': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/date-picker': 1.21.0(@internationalized/date@3.8.2)
-      '@zag-js/date-utils': 1.21.0(@internationalized/date@3.8.2)
-      '@zag-js/dialog': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/editable': 1.21.0
-      '@zag-js/file-upload': 1.21.0
-      '@zag-js/file-utils': 1.21.0
-      '@zag-js/floating-panel': 1.21.0
-      '@zag-js/focus-trap': 1.21.0
-      '@zag-js/highlight-word': 1.21.0
-      '@zag-js/hover-card': 1.21.0
-      '@zag-js/i18n-utils': 1.21.0
-      '@zag-js/json-tree-utils': 1.21.0
-      '@zag-js/listbox': 1.21.0
-      '@zag-js/menu': 1.21.0
-      '@zag-js/number-input': 1.21.0
-      '@zag-js/pagination': 1.21.0
-      '@zag-js/password-input': 1.21.0
-      '@zag-js/pin-input': 1.21.0
-      '@zag-js/popover': 1.21.0
-      '@zag-js/presence': 1.21.0
-      '@zag-js/progress': 1.21.0
-      '@zag-js/qr-code': 1.21.0
-      '@zag-js/radio-group': 1.21.0
-      '@zag-js/rating-group': 1.21.0
-      '@zag-js/react': 1.21.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
-      '@zag-js/select': 1.21.0
-      '@zag-js/signature-pad': 1.21.0
-      '@zag-js/slider': 1.21.0
-      '@zag-js/splitter': 1.21.0
-      '@zag-js/steps': 1.21.0
-      '@zag-js/switch': 1.21.0
-      '@zag-js/tabs': 1.21.0
-      '@zag-js/tags-input': 1.21.0
-      '@zag-js/time-picker': 1.21.0(@internationalized/date@3.8.2)
-      '@zag-js/timer': 1.21.0
-      '@zag-js/toast': 1.21.0
-      '@zag-js/toggle': 1.21.0
-      '@zag-js/toggle-group': 1.21.0
-      '@zag-js/tooltip': 1.21.0
-      '@zag-js/tour': 1.21.0
-      '@zag-js/tree-view': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+  '@ark-ui/react@5.25.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)':
+    dependencies:
+      '@internationalized/date': 3.9.0
+      '@zag-js/accordion': 1.24.1
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/angle-slider': 1.24.1
+      '@zag-js/async-list': 1.24.1
+      '@zag-js/auto-resize': 1.24.1
+      '@zag-js/avatar': 1.24.1
+      '@zag-js/carousel': 1.24.1
+      '@zag-js/checkbox': 1.24.1
+      '@zag-js/clipboard': 1.24.1
+      '@zag-js/collapsible': 1.24.1
+      '@zag-js/collection': 1.24.1
+      '@zag-js/color-picker': 1.24.1
+      '@zag-js/color-utils': 1.24.1
+      '@zag-js/combobox': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/date-picker': 1.24.1(@internationalized/date@3.9.0)
+      '@zag-js/date-utils': 1.24.1(@internationalized/date@3.9.0)
+      '@zag-js/dialog': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/editable': 1.24.1
+      '@zag-js/file-upload': 1.24.1
+      '@zag-js/file-utils': 1.24.1
+      '@zag-js/floating-panel': 1.24.1
+      '@zag-js/focus-trap': 1.24.1
+      '@zag-js/highlight-word': 1.24.1
+      '@zag-js/hover-card': 1.24.1
+      '@zag-js/i18n-utils': 1.24.1
+      '@zag-js/json-tree-utils': 1.24.1
+      '@zag-js/listbox': 1.24.1
+      '@zag-js/menu': 1.24.1
+      '@zag-js/number-input': 1.24.1
+      '@zag-js/pagination': 1.24.1
+      '@zag-js/password-input': 1.24.1
+      '@zag-js/pin-input': 1.24.1
+      '@zag-js/popover': 1.24.1
+      '@zag-js/presence': 1.24.1
+      '@zag-js/progress': 1.24.1
+      '@zag-js/qr-code': 1.24.1
+      '@zag-js/radio-group': 1.24.1
+      '@zag-js/rating-group': 1.24.1
+      '@zag-js/react': 1.24.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
+      '@zag-js/scroll-area': 1.24.1
+      '@zag-js/select': 1.24.1
+      '@zag-js/signature-pad': 1.24.1
+      '@zag-js/slider': 1.24.1
+      '@zag-js/splitter': 1.24.1
+      '@zag-js/steps': 1.24.1
+      '@zag-js/switch': 1.24.1
+      '@zag-js/tabs': 1.24.1
+      '@zag-js/tags-input': 1.24.1
+      '@zag-js/timer': 1.24.1
+      '@zag-js/toast': 1.24.1
+      '@zag-js/toggle': 1.24.1
+      '@zag-js/toggle-group': 1.24.1
+      '@zag-js/tooltip': 1.24.1
+      '@zag-js/tour': 1.24.1
+      '@zag-js/tree-view': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
       react: 19.1.1
       react-dom: 19.1.1(react@19.1.1)
 
@@ -3248,53 +3238,30 @@ snapshots:
       js-tokens: 4.0.0
       picocolors: 1.1.1
 
-  '@babel/generator@7.17.7':
-    dependencies:
-      '@babel/types': 7.17.0
-      jsesc: 2.5.2
-      source-map: 0.5.7
-
   '@babel/generator@7.28.3':
     dependencies:
-      '@babel/parser': 7.28.3
-      '@babel/types': 7.28.2
+      '@babel/parser': 7.28.4
+      '@babel/types': 7.28.4
       '@jridgewell/gen-mapping': 0.3.13
-      '@jridgewell/trace-mapping': 0.3.30
+      '@jridgewell/trace-mapping': 0.3.31
       jsesc: 3.1.0
 
-  '@babel/helper-environment-visitor@7.24.7':
-    dependencies:
-      '@babel/types': 7.28.2
-
-  '@babel/helper-function-name@7.24.7':
-    dependencies:
-      '@babel/template': 7.27.2
-      '@babel/types': 7.28.2
-
   '@babel/helper-globals@7.28.0': {}
 
-  '@babel/helper-hoist-variables@7.24.7':
-    dependencies:
-      '@babel/types': 7.28.2
-
   '@babel/helper-module-imports@7.27.1':
     dependencies:
-      '@babel/traverse': 7.28.3
-      '@babel/types': 7.28.2
+      '@babel/traverse': 7.28.4
+      '@babel/types': 7.28.4
     transitivePeerDependencies:
       - supports-color
 
-  '@babel/helper-split-export-declaration@7.24.7':
-    dependencies:
-      '@babel/types': 7.28.2
-
   '@babel/helper-string-parser@7.27.1': {}
 
   '@babel/helper-validator-identifier@7.27.1': {}
 
-  '@babel/parser@7.28.3':
+  '@babel/parser@7.28.4':
     dependencies:
-      '@babel/types': 7.28.2
+      '@babel/types': 7.28.4
 
   '@babel/runtime@7.28.3': {}
 
@@ -3303,53 +3270,33 @@ snapshots:
   '@babel/template@7.27.2':
     dependencies:
       '@babel/code-frame': 7.27.1
-      '@babel/parser': 7.28.3
-      '@babel/types': 7.28.2
+      '@babel/parser': 7.28.4
+      '@babel/types': 7.28.4
 
-  '@babel/traverse@7.23.2':
-    dependencies:
-      '@babel/code-frame': 7.27.1
-      '@babel/generator': 7.28.3
-      '@babel/helper-environment-visitor': 7.24.7
-      '@babel/helper-function-name': 7.24.7
-      '@babel/helper-hoist-variables': 7.24.7
-      '@babel/helper-split-export-declaration': 7.24.7
-      '@babel/parser': 7.28.3
-      '@babel/types': 7.28.2
-      debug: 4.4.1
-      globals: 11.12.0
-    transitivePeerDependencies:
-      - supports-color
-
-  '@babel/traverse@7.28.3':
+  '@babel/traverse@7.28.4':
     dependencies:
       '@babel/code-frame': 7.27.1
       '@babel/generator': 7.28.3
       '@babel/helper-globals': 7.28.0
-      '@babel/parser': 7.28.3
+      '@babel/parser': 7.28.4
       '@babel/template': 7.27.2
-      '@babel/types': 7.28.2
-      debug: 4.4.1
+      '@babel/types': 7.28.4
+      debug: 4.4.3
     transitivePeerDependencies:
       - supports-color
 
-  '@babel/types@7.17.0':
-    dependencies:
-      '@babel/helper-validator-identifier': 7.27.1
-      to-fast-properties: 2.0.0
-
-  '@babel/types@7.28.2':
+  '@babel/types@7.28.4':
     dependencies:
       '@babel/helper-string-parser': 7.27.1
       '@babel/helper-validator-identifier': 7.27.1
 
   '@bcoe/v8-coverage@1.0.2': {}
 
-  '@chakra-ui/react@3.24.2(@emotion/react@11.14.0(@types/react@18.3.23)(react@19.1.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1)':
+  '@chakra-ui/react@3.27.0(@emotion/react@11.14.0(@types/react@19.1.13)(react@19.1.1))(react-dom@19.1.1(react@19.1.1))(react@19.1.1)':
     dependencies:
-      '@ark-ui/react': 5.18.2(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
-      '@emotion/is-prop-valid': 1.3.1
-      '@emotion/react': 11.14.0(@types/react@18.3.23)(react@19.1.1)
+      '@ark-ui/react': 5.25.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
+      '@emotion/is-prop-valid': 1.4.0
+      '@emotion/react': 11.14.0(@types/react@19.1.13)(react@19.1.1)
       '@emotion/serialize': 1.3.3
       '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@19.1.1)
       '@emotion/utils': 1.4.2
@@ -3385,13 +3332,13 @@ snapshots:
 
   '@emotion/hash@0.9.2': {}
 
-  '@emotion/is-prop-valid@1.3.1':
+  '@emotion/is-prop-valid@1.4.0':
     dependencies:
       '@emotion/memoize': 0.9.0
 
   '@emotion/memoize@0.9.0': {}
 
-  '@emotion/react@11.14.0(@types/react@18.3.23)(react@19.1.1)':
+  '@emotion/react@11.14.0(@types/react@19.1.13)(react@19.1.1)':
     dependencies:
       '@babel/runtime': 7.28.3
       '@emotion/babel-plugin': 11.13.5
@@ -3403,7 +3350,7 @@ snapshots:
       hoist-non-react-statics: 3.3.2
       react: 19.1.1
     optionalDependencies:
-      '@types/react': 18.3.23
+      '@types/react': 19.1.13
     transitivePeerDependencies:
       - supports-color
 
@@ -3427,99 +3374,106 @@ snapshots:
 
   '@emotion/weak-memoize@0.4.0': {}
 
-  '@esbuild/aix-ppc64@0.25.9':
+  '@esbuild/aix-ppc64@0.25.10':
     optional: true
 
-  '@esbuild/android-arm64@0.25.9':
+  '@esbuild/android-arm64@0.25.10':
     optional: true
 
-  '@esbuild/android-arm@0.25.9':
+  '@esbuild/android-arm@0.25.10':
     optional: true
 
-  '@esbuild/android-x64@0.25.9':
+  '@esbuild/android-x64@0.25.10':
     optional: true
 
-  '@esbuild/darwin-arm64@0.25.9':
+  '@esbuild/darwin-arm64@0.25.10':
     optional: true
 
-  '@esbuild/darwin-x64@0.25.9':
+  '@esbuild/darwin-x64@0.25.10':
     optional: true
 
-  '@esbuild/freebsd-arm64@0.25.9':
+  '@esbuild/freebsd-arm64@0.25.10':
     optional: true
 
-  '@esbuild/freebsd-x64@0.25.9':
+  '@esbuild/freebsd-x64@0.25.10':
     optional: true
 
-  '@esbuild/linux-arm64@0.25.9':
+  '@esbuild/linux-arm64@0.25.10':
     optional: true
 
-  '@esbuild/linux-arm@0.25.9':
+  '@esbuild/linux-arm@0.25.10':
     optional: true
 
-  '@esbuild/linux-ia32@0.25.9':
+  '@esbuild/linux-ia32@0.25.10':
     optional: true
 
-  '@esbuild/linux-loong64@0.25.9':
+  '@esbuild/linux-loong64@0.25.10':
     optional: true
 
-  '@esbuild/linux-mips64el@0.25.9':
+  '@esbuild/linux-mips64el@0.25.10':
     optional: true
 
-  '@esbuild/linux-ppc64@0.25.9':
+  '@esbuild/linux-ppc64@0.25.10':
     optional: true
 
-  '@esbuild/linux-riscv64@0.25.9':
+  '@esbuild/linux-riscv64@0.25.10':
     optional: true
 
-  '@esbuild/linux-s390x@0.25.9':
+  '@esbuild/linux-s390x@0.25.10':
     optional: true
 
-  '@esbuild/linux-x64@0.25.9':
+  '@esbuild/linux-x64@0.25.10':
     optional: true
 
-  '@esbuild/netbsd-arm64@0.25.9':
+  '@esbuild/netbsd-arm64@0.25.10':
     optional: true
 
-  '@esbuild/netbsd-x64@0.25.9':
+  '@esbuild/netbsd-x64@0.25.10':
     optional: true
 
-  '@esbuild/openbsd-arm64@0.25.9':
+  '@esbuild/openbsd-arm64@0.25.10':
     optional: true
 
-  '@esbuild/openbsd-x64@0.25.9':
+  '@esbuild/openbsd-x64@0.25.10':
     optional: true
 
-  '@esbuild/openharmony-arm64@0.25.9':
+  '@esbuild/openharmony-arm64@0.25.10':
     optional: true
 
-  '@esbuild/sunos-x64@0.25.9':
+  '@esbuild/sunos-x64@0.25.10':
     optional: true
 
-  '@esbuild/win32-arm64@0.25.9':
+  '@esbuild/win32-arm64@0.25.10':
     optional: true
 
-  '@esbuild/win32-ia32@0.25.9':
+  '@esbuild/win32-ia32@0.25.10':
     optional: true
 
-  '@esbuild/win32-x64@0.25.9':
+  '@esbuild/win32-x64@0.25.10':
     optional: true
 
-  '@eslint-community/eslint-utils@4.7.0(eslint@9.33.0(jiti@1.21.7))':
+  '@eslint-community/eslint-utils@4.7.0(eslint@9.36.0(jiti@1.21.7))':
     dependencies:
-      eslint: 9.33.0(jiti@1.21.7)
+      eslint: 9.36.0(jiti@1.21.7)
+      eslint-visitor-keys: 3.4.3
+
+  '@eslint-community/eslint-utils@4.9.0(eslint@9.36.0(jiti@1.21.7))':
+    dependencies:
+      eslint: 9.36.0(jiti@1.21.7)
       eslint-visitor-keys: 3.4.3
 
   '@eslint-community/regexpp@4.12.1': {}
 
-  '@eslint/compat@1.3.2(eslint@9.33.0(jiti@1.21.7))':
+  '@eslint/compat@1.4.0(eslint@9.36.0(jiti@1.21.7))':
+    dependencies:
+      '@eslint/core': 0.16.0
     optionalDependencies:
-      eslint: 9.33.0(jiti@1.21.7)
+      eslint: 9.36.0(jiti@1.21.7)
 
   '@eslint/config-array@0.21.0':
     dependencies:
       '@eslint/object-schema': 2.1.6
-      debug: 4.4.1
+      debug: 4.4.3
       minimatch: 3.1.2
     transitivePeerDependencies:
       - supports-color
@@ -3530,10 +3484,14 @@ snapshots:
     dependencies:
       '@types/json-schema': 7.0.15
 
+  '@eslint/core@0.16.0':
+    dependencies:
+      '@types/json-schema': 7.0.15
+
   '@eslint/eslintrc@3.3.1':
     dependencies:
       ajv: 6.12.6
-      debug: 4.4.1
+      debug: 4.4.3
       espree: 10.4.0
       globals: 14.0.0
       ignore: 5.3.2
@@ -3544,7 +3502,7 @@ snapshots:
     transitivePeerDependencies:
       - supports-color
 
-  '@eslint/js@9.33.0': {}
+  '@eslint/js@9.36.0': {}
 
   '@eslint/object-schema@2.1.6': {}
 
@@ -3557,7 +3515,7 @@ snapshots:
     dependencies:
       '@floating-ui/utils': 0.2.10
 
-  '@floating-ui/dom@1.7.2':
+  '@floating-ui/dom@1.7.4':
     dependencies:
       '@floating-ui/core': 1.7.3
       '@floating-ui/utils': 0.2.10
@@ -3577,22 +3535,20 @@ snapshots:
 
   '@humanfs/core@0.19.1': {}
 
-  '@humanfs/node@0.16.6':
+  '@humanfs/node@0.16.7':
     dependencies:
       '@humanfs/core': 0.19.1
-      '@humanwhocodes/retry': 0.3.1
+      '@humanwhocodes/retry': 0.4.3
 
   '@humanwhocodes/module-importer@1.0.1': {}
 
-  '@humanwhocodes/retry@0.3.1': {}
-
   '@humanwhocodes/retry@0.4.3': {}
 
-  '@internationalized/date@3.8.2':
+  '@internationalized/date@3.9.0':
     dependencies:
       '@swc/helpers': 0.5.17
 
-  '@internationalized/number@3.6.3':
+  '@internationalized/number@3.6.5':
     dependencies:
       '@swc/helpers': 0.5.17
 
@@ -3616,36 +3572,36 @@ snapshots:
   '@jridgewell/gen-mapping@0.3.13':
     dependencies:
       '@jridgewell/sourcemap-codec': 1.5.5
-      '@jridgewell/trace-mapping': 0.3.30
+      '@jridgewell/trace-mapping': 0.3.31
 
   '@jridgewell/resolve-uri@3.1.2': {}
 
   '@jridgewell/sourcemap-codec@1.5.5': {}
 
-  '@jridgewell/trace-mapping@0.3.30':
+  '@jridgewell/trace-mapping@0.3.31':
     dependencies:
       '@jridgewell/resolve-uri': 3.1.2
       '@jridgewell/sourcemap-codec': 1.5.5
 
   '@jsdevtools/ono@7.1.3': {}
 
-  '@microsoft/api-extractor-model@7.30.7(@types/node@22.17.2)':
+  '@microsoft/api-extractor-model@7.30.7(@types/node@24.5.2)':
     dependencies:
       '@microsoft/tsdoc': 0.15.1
       '@microsoft/tsdoc-config': 0.17.1
-      '@rushstack/node-core-library': 5.14.0(@types/node@22.17.2)
+      '@rushstack/node-core-library': 5.14.0(@types/node@24.5.2)
     transitivePeerDependencies:
       - '@types/node'
 
-  '@microsoft/api-extractor@7.52.10(@types/node@22.17.2)':
+  '@microsoft/api-extractor@7.52.10(@types/node@24.5.2)':
     dependencies:
-      '@microsoft/api-extractor-model': 7.30.7(@types/node@22.17.2)
+      '@microsoft/api-extractor-model': 7.30.7(@types/node@24.5.2)
       '@microsoft/tsdoc': 0.15.1
       '@microsoft/tsdoc-config': 0.17.1
-      '@rushstack/node-core-library': 5.14.0(@types/node@22.17.2)
+      '@rushstack/node-core-library': 5.14.0(@types/node@24.5.2)
       '@rushstack/rig-package': 0.5.3
-      '@rushstack/terminal': 0.15.4(@types/node@22.17.2)
-      '@rushstack/ts-command-line': 5.0.2(@types/node@22.17.2)
+      '@rushstack/terminal': 0.15.4(@types/node@24.5.2)
+      '@rushstack/ts-command-line': 5.0.2(@types/node@24.5.2)
       lodash: 4.17.21
       minimatch: 10.0.3
       resolve: 1.22.10
@@ -3683,82 +3639,83 @@ snapshots:
 
   '@pkgr/core@0.2.9': {}
 
-  '@remix-run/router@1.23.0': {}
-
-  '@rolldown/pluginutils@1.0.0-beta.32': {}
+  '@rolldown/pluginutils@1.0.0-beta.35': {}
 
-  '@rollup/pluginutils@5.2.0(rollup@4.50.1)':
+  '@rollup/pluginutils@5.2.0(rollup@4.52.2)':
     dependencies:
       '@types/estree': 1.0.8
       estree-walker: 2.0.2
       picomatch: 4.0.3
     optionalDependencies:
-      rollup: 4.50.1
+      rollup: 4.52.2
 
-  '@rollup/rollup-android-arm-eabi@4.50.1':
+  '@rollup/rollup-android-arm-eabi@4.52.2':
     optional: true
 
-  '@rollup/rollup-android-arm64@4.50.1':
+  '@rollup/rollup-android-arm64@4.52.2':
     optional: true
 
-  '@rollup/rollup-darwin-arm64@4.50.1':
+  '@rollup/rollup-darwin-arm64@4.52.2':
     optional: true
 
-  '@rollup/rollup-darwin-x64@4.50.1':
+  '@rollup/rollup-darwin-x64@4.52.2':
     optional: true
 
-  '@rollup/rollup-freebsd-arm64@4.50.1':
+  '@rollup/rollup-freebsd-arm64@4.52.2':
     optional: true
 
-  '@rollup/rollup-freebsd-x64@4.50.1':
+  '@rollup/rollup-freebsd-x64@4.52.2':
     optional: true
 
-  '@rollup/rollup-linux-arm-gnueabihf@4.50.1':
+  '@rollup/rollup-linux-arm-gnueabihf@4.52.2':
     optional: true
 
-  '@rollup/rollup-linux-arm-musleabihf@4.50.1':
+  '@rollup/rollup-linux-arm-musleabihf@4.52.2':
     optional: true
 
-  '@rollup/rollup-linux-arm64-gnu@4.50.1':
+  '@rollup/rollup-linux-arm64-gnu@4.52.2':
     optional: true
 
-  '@rollup/rollup-linux-arm64-musl@4.50.1':
+  '@rollup/rollup-linux-arm64-musl@4.52.2':
     optional: true
 
-  '@rollup/rollup-linux-loongarch64-gnu@4.50.1':
+  '@rollup/rollup-linux-loong64-gnu@4.52.2':
     optional: true
 
-  '@rollup/rollup-linux-ppc64-gnu@4.50.1':
+  '@rollup/rollup-linux-ppc64-gnu@4.52.2':
     optional: true
 
-  '@rollup/rollup-linux-riscv64-gnu@4.50.1':
+  '@rollup/rollup-linux-riscv64-gnu@4.52.2':
     optional: true
 
-  '@rollup/rollup-linux-riscv64-musl@4.50.1':
+  '@rollup/rollup-linux-riscv64-musl@4.52.2':
     optional: true
 
-  '@rollup/rollup-linux-s390x-gnu@4.50.1':
+  '@rollup/rollup-linux-s390x-gnu@4.52.2':
     optional: true
 
-  '@rollup/rollup-linux-x64-gnu@4.50.1':
+  '@rollup/rollup-linux-x64-gnu@4.52.2':
     optional: true
 
-  '@rollup/rollup-linux-x64-musl@4.50.1':
+  '@rollup/rollup-linux-x64-musl@4.52.2':
     optional: true
 
-  '@rollup/rollup-openharmony-arm64@4.50.1':
+  '@rollup/rollup-openharmony-arm64@4.52.2':
     optional: true
 
-  '@rollup/rollup-win32-arm64-msvc@4.50.1':
+  '@rollup/rollup-win32-arm64-msvc@4.52.2':
     optional: true
 
-  '@rollup/rollup-win32-ia32-msvc@4.50.1':
+  '@rollup/rollup-win32-ia32-msvc@4.52.2':
     optional: true
 
-  '@rollup/rollup-win32-x64-msvc@4.50.1':
+  '@rollup/rollup-win32-x64-gnu@4.52.2':
     optional: true
 
-  '@rushstack/node-core-library@5.14.0(@types/node@22.17.2)':
+  '@rollup/rollup-win32-x64-msvc@4.52.2':
+    optional: true
+
+  '@rushstack/node-core-library@5.14.0(@types/node@24.5.2)':
     dependencies:
       ajv: 8.13.0
       ajv-draft-04: 1.0.0(ajv@8.13.0)
@@ -3769,40 +3726,38 @@ snapshots:
       resolve: 1.22.10
       semver: 7.5.4
     optionalDependencies:
-      '@types/node': 22.17.2
+      '@types/node': 24.5.2
 
   '@rushstack/rig-package@0.5.3':
     dependencies:
       resolve: 1.22.10
       strip-json-comments: 3.1.1
 
-  '@rushstack/terminal@0.15.4(@types/node@22.17.2)':
+  '@rushstack/terminal@0.15.4(@types/node@24.5.2)':
     dependencies:
-      '@rushstack/node-core-library': 5.14.0(@types/node@22.17.2)
+      '@rushstack/node-core-library': 5.14.0(@types/node@24.5.2)
       supports-color: 8.1.1
     optionalDependencies:
-      '@types/node': 22.17.2
+      '@types/node': 24.5.2
 
-  '@rushstack/ts-command-line@5.0.2(@types/node@22.17.2)':
+  '@rushstack/ts-command-line@5.0.2(@types/node@24.5.2)':
     dependencies:
-      '@rushstack/terminal': 0.15.4(@types/node@22.17.2)
+      '@rushstack/terminal': 0.15.4(@types/node@24.5.2)
       '@types/argparse': 1.0.38
       argparse: 1.0.10
       string-argv: 0.3.2
     transitivePeerDependencies:
       - '@types/node'
 
-  '@stylistic/eslint-plugin@2.13.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)':
+  '@stylistic/eslint-plugin@5.4.0(eslint@9.36.0(jiti@1.21.7))':
     dependencies:
-      '@typescript-eslint/utils': 8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)
-      eslint: 9.33.0(jiti@1.21.7)
+      '@eslint-community/eslint-utils': 4.9.0(eslint@9.36.0(jiti@1.21.7))
+      '@typescript-eslint/types': 8.44.1
+      eslint: 9.36.0(jiti@1.21.7)
       eslint-visitor-keys: 4.2.1
       espree: 10.4.0
       estraverse: 5.3.0
       picomatch: 4.0.3
-    transitivePeerDependencies:
-      - supports-color
-      - typescript
 
   '@swc/core-darwin-arm64@1.13.5':
     optional: true
@@ -3861,11 +3816,11 @@ snapshots:
     dependencies:
       '@swc/counter': 0.1.3
 
-  '@tanstack/query-core@5.85.5': {}
+  '@tanstack/query-core@5.90.2': {}
 
-  '@tanstack/react-query@5.85.5(react@19.1.1)':
+  '@tanstack/react-query@5.90.2(react@19.1.1)':
     dependencies:
-      '@tanstack/query-core': 5.85.5
+      '@tanstack/query-core': 5.90.2
       react: 19.1.1
 
   '@testing-library/dom@10.4.0':
@@ -3879,7 +3834,7 @@ snapshots:
       lz-string: 1.5.0
       pretty-format: 27.5.1
 
-  '@testing-library/jest-dom@6.7.0':
+  '@testing-library/jest-dom@6.8.0':
     dependencies:
       '@adobe/css-tools': 4.4.4
       aria-query: 5.3.2
@@ -3888,22 +3843,22 @@ snapshots:
       picocolors: 1.1.1
       redent: 3.0.0
 
-  '@testing-library/react@16.3.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.7(@types/react@18.3.23))(@types/react@18.3.23)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)':
+  '@testing-library/react@16.3.0(@testing-library/dom@10.4.0)(@types/react-dom@19.1.9(@types/react@19.1.13))(@types/react@19.1.13)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)':
     dependencies:
       '@babel/runtime': 7.28.3
       '@testing-library/dom': 10.4.0
       react: 19.1.1
       react-dom: 19.1.1(react@19.1.1)
     optionalDependencies:
-      '@types/react': 18.3.23
-      '@types/react-dom': 18.3.7(@types/react@18.3.23)
+      '@types/react': 19.1.13
+      '@types/react-dom': 19.1.9(@types/react@19.1.13)
 
-  '@trivago/prettier-plugin-sort-imports@4.3.0(prettier@3.6.2)':
+  '@trivago/prettier-plugin-sort-imports@5.2.2(prettier@3.6.2)':
     dependencies:
-      '@babel/generator': 7.17.7
-      '@babel/parser': 7.28.3
-      '@babel/traverse': 7.23.2
-      '@babel/types': 7.17.0
+      '@babel/generator': 7.28.3
+      '@babel/parser': 7.28.4
+      '@babel/traverse': 7.28.4
+      '@babel/types': 7.28.4
       javascript-natural-sort: 0.7.1
       lodash: 4.17.21
       prettier: 3.6.2
@@ -3931,34 +3886,35 @@ snapshots:
 
   '@types/json-schema@7.0.15': {}
 
-  '@types/node@22.17.2':
+  '@types/node@20.19.17':
     dependencies:
       undici-types: 6.21.0
 
-  '@types/normalize-package-data@2.4.4': {}
+  '@types/node@24.5.2':
+    dependencies:
+      undici-types: 7.12.0
 
   '@types/parse-json@4.0.2': {}
 
-  '@types/prop-types@15.7.15': {}
-
-  '@types/react-dom@18.3.7(@types/react@18.3.23)':
+  '@types/react-dom@19.1.9(@types/react@19.1.13)':
     dependencies:
-      '@types/react': 18.3.23
+      '@types/react': 19.1.13
 
-  '@types/react@18.3.23':
+  '@types/react@19.1.13':
     dependencies:
-      '@types/prop-types': 15.7.15
       csstype: 3.1.3
 
-  '@typescript-eslint/eslint-plugin@8.40.0(@typescript-eslint/parser@8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3))(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)':
+  '@types/whatwg-mimetype@3.0.2': {}
+
+  '@typescript-eslint/eslint-plugin@8.44.1(@typescript-eslint/parser@8.44.1(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3))(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)':
     dependencies:
       '@eslint-community/regexpp': 4.12.1
-      '@typescript-eslint/parser': 8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)
-      '@typescript-eslint/scope-manager': 8.40.0
-      '@typescript-eslint/type-utils': 8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)
-      '@typescript-eslint/utils': 8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)
-      '@typescript-eslint/visitor-keys': 8.40.0
-      eslint: 9.33.0(jiti@1.21.7)
+      '@typescript-eslint/parser': 8.44.1(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)
+      '@typescript-eslint/scope-manager': 8.44.1
+      '@typescript-eslint/type-utils': 8.44.1(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)
+      '@typescript-eslint/utils': 8.44.1(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)
+      '@typescript-eslint/visitor-keys': 8.44.1
+      eslint: 9.36.0(jiti@1.21.7)
       graphemer: 1.4.0
       ignore: 7.0.5
       natural-compare: 1.4.0
@@ -3967,14 +3923,14 @@ snapshots:
     transitivePeerDependencies:
       - supports-color
 
-  '@typescript-eslint/parser@8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)':
+  '@typescript-eslint/parser@8.44.1(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)':
     dependencies:
-      '@typescript-eslint/scope-manager': 8.40.0
-      '@typescript-eslint/types': 8.40.0
-      '@typescript-eslint/typescript-estree': 8.40.0(typescript@5.8.3)
-      '@typescript-eslint/visitor-keys': 8.40.0
-      debug: 4.4.1
-      eslint: 9.33.0(jiti@1.21.7)
+      '@typescript-eslint/scope-manager': 8.44.1
+      '@typescript-eslint/types': 8.44.1
+      '@typescript-eslint/typescript-estree': 8.44.1(typescript@5.8.3)
+      '@typescript-eslint/visitor-keys': 8.44.1
+      debug: 4.4.3
+      eslint: 9.36.0(jiti@1.21.7)
       typescript: 5.8.3
     transitivePeerDependencies:
       - supports-color
@@ -3988,22 +3944,40 @@ snapshots:
     transitivePeerDependencies:
       - supports-color
 
+  '@typescript-eslint/project-service@8.44.1(typescript@5.8.3)':
+    dependencies:
+      '@typescript-eslint/tsconfig-utils': 8.44.1(typescript@5.8.3)
+      '@typescript-eslint/types': 8.44.1
+      debug: 4.4.3
+      typescript: 5.8.3
+    transitivePeerDependencies:
+      - supports-color
+
   '@typescript-eslint/scope-manager@8.40.0':
     dependencies:
       '@typescript-eslint/types': 8.40.0
       '@typescript-eslint/visitor-keys': 8.40.0
 
+  '@typescript-eslint/scope-manager@8.44.1':
+    dependencies:
+      '@typescript-eslint/types': 8.44.1
+      '@typescript-eslint/visitor-keys': 8.44.1
+
   '@typescript-eslint/tsconfig-utils@8.40.0(typescript@5.8.3)':
     dependencies:
       typescript: 5.8.3
 
-  '@typescript-eslint/type-utils@8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)':
+  '@typescript-eslint/tsconfig-utils@8.44.1(typescript@5.8.3)':
     dependencies:
-      '@typescript-eslint/types': 8.40.0
-      '@typescript-eslint/typescript-estree': 8.40.0(typescript@5.8.3)
-      '@typescript-eslint/utils': 8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)
-      debug: 4.4.1
-      eslint: 9.33.0(jiti@1.21.7)
+      typescript: 5.8.3
+
+  '@typescript-eslint/type-utils@8.44.1(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)':
+    dependencies:
+      '@typescript-eslint/types': 8.44.1
+      '@typescript-eslint/typescript-estree': 8.44.1(typescript@5.8.3)
+      '@typescript-eslint/utils': 8.44.1(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)
+      debug: 4.4.3
+      eslint: 9.36.0(jiti@1.21.7)
       ts-api-utils: 2.1.0(typescript@5.8.3)
       typescript: 5.8.3
     transitivePeerDependencies:
@@ -4011,6 +3985,8 @@ snapshots:
 
   '@typescript-eslint/types@8.40.0': {}
 
+  '@typescript-eslint/types@8.44.1': {}
+
   '@typescript-eslint/typescript-estree@8.40.0(typescript@5.8.3)':
     dependencies:
       '@typescript-eslint/project-service': 8.40.0(typescript@5.8.3)
@@ -4027,13 +4003,40 @@ snapshots:
     transitivePeerDependencies:
       - supports-color
 
-  '@typescript-eslint/utils@8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)':
+  '@typescript-eslint/typescript-estree@8.44.1(typescript@5.8.3)':
     dependencies:
-      '@eslint-community/eslint-utils': 4.7.0(eslint@9.33.0(jiti@1.21.7))
+      '@typescript-eslint/project-service': 8.44.1(typescript@5.8.3)
+      '@typescript-eslint/tsconfig-utils': 8.44.1(typescript@5.8.3)
+      '@typescript-eslint/types': 8.44.1
+      '@typescript-eslint/visitor-keys': 8.44.1
+      debug: 4.4.3
+      fast-glob: 3.3.3
+      is-glob: 4.0.3
+      minimatch: 9.0.5
+      semver: 7.7.2
+      ts-api-utils: 2.1.0(typescript@5.8.3)
+      typescript: 5.8.3
+    transitivePeerDependencies:
+      - supports-color
+
+  '@typescript-eslint/utils@8.40.0(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)':
+    dependencies:
+      '@eslint-community/eslint-utils': 4.7.0(eslint@9.36.0(jiti@1.21.7))
       '@typescript-eslint/scope-manager': 8.40.0
       '@typescript-eslint/types': 8.40.0
       '@typescript-eslint/typescript-estree': 8.40.0(typescript@5.8.3)
-      eslint: 9.33.0(jiti@1.21.7)
+      eslint: 9.36.0(jiti@1.21.7)
+      typescript: 5.8.3
+    transitivePeerDependencies:
+      - supports-color
+
+  '@typescript-eslint/utils@8.44.1(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)':
+    dependencies:
+      '@eslint-community/eslint-utils': 4.9.0(eslint@9.36.0(jiti@1.21.7))
+      '@typescript-eslint/scope-manager': 8.44.1
+      '@typescript-eslint/types': 8.44.1
+      '@typescript-eslint/typescript-estree': 8.44.1(typescript@5.8.3)
+      eslint: 9.36.0(jiti@1.21.7)
       typescript: 5.8.3
     transitivePeerDependencies:
       - supports-color
@@ -4043,15 +4046,20 @@ snapshots:
       '@typescript-eslint/types': 8.40.0
       eslint-visitor-keys: 4.2.1
 
-  '@vitejs/plugin-react-swc@4.0.1(@swc/helpers@0.5.17)(vite@7.1.5(@types/node@22.17.2)(jiti@1.21.7))':
+  '@typescript-eslint/visitor-keys@8.44.1':
     dependencies:
-      '@rolldown/pluginutils': 1.0.0-beta.32
+      '@typescript-eslint/types': 8.44.1
+      eslint-visitor-keys: 4.2.1
+
+  '@vitejs/plugin-react-swc@4.1.0(@swc/helpers@0.5.17)(vite@7.1.7(@types/node@24.5.2)(jiti@1.21.7))':
+    dependencies:
+      '@rolldown/pluginutils': 1.0.0-beta.35
       '@swc/core': 1.13.5(@swc/helpers@0.5.17)
-      vite: 7.1.5(@types/node@22.17.2)(jiti@1.21.7)
+      vite: 7.1.7(@types/node@24.5.2)(jiti@1.21.7)
     transitivePeerDependencies:
       - '@swc/helpers'
 
-  '@vitest/coverage-v8@3.2.4(vitest@3.2.4(@types/node@22.17.2)(happy-dom@17.6.3)(jiti@1.21.7))':
+  '@vitest/coverage-v8@3.2.4(vitest@3.2.4(@types/node@24.5.2)(happy-dom@18.0.1)(jiti@1.21.7))':
     dependencies:
       '@ampproject/remapping': 2.3.0
       '@bcoe/v8-coverage': 1.0.2
@@ -4066,7 +4074,7 @@ snapshots:
       std-env: 3.9.0
       test-exclude: 7.0.1
       tinyrainbow: 2.0.0
-      vitest: 3.2.4(@types/node@22.17.2)(happy-dom@17.6.3)(jiti@1.21.7)
+      vitest: 3.2.4(@types/node@24.5.2)(happy-dom@18.0.1)(jiti@1.21.7)
     transitivePeerDependencies:
       - supports-color
 
@@ -4078,13 +4086,13 @@ snapshots:
       chai: 5.3.3
       tinyrainbow: 2.0.0
 
-  '@vitest/mocker@3.2.4(vite@7.1.5(@types/node@22.17.2)(jiti@1.21.7))':
+  '@vitest/mocker@3.2.4(vite@7.1.7(@types/node@24.5.2)(jiti@1.21.7))':
     dependencies:
       '@vitest/spy': 3.2.4
       estree-walker: 3.0.3
       magic-string: 0.30.19
     optionalDependencies:
-      vite: 7.1.5(@types/node@22.17.2)(jiti@1.21.7)
+      vite: 7.1.7(@types/node@24.5.2)(jiti@1.21.7)
 
   '@vitest/pretty-format@3.2.4':
     dependencies:
@@ -4126,7 +4134,7 @@ snapshots:
 
   '@vue/compiler-core@3.5.18':
     dependencies:
-      '@babel/parser': 7.28.3
+      '@babel/parser': 7.28.4
       '@vue/shared': 3.5.18
       entities: 4.5.0
       estree-walker: 2.0.2
@@ -4157,506 +4165,506 @@ snapshots:
 
   '@vue/shared@3.5.18': {}
 
-  '@zag-js/accordion@1.21.0':
+  '@zag-js/accordion@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/anatomy@1.21.0': {}
+  '@zag-js/anatomy@1.24.1': {}
 
-  '@zag-js/angle-slider@1.21.0':
+  '@zag-js/angle-slider@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/rect-utils': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/rect-utils': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/aria-hidden@1.21.0': {}
+  '@zag-js/aria-hidden@1.24.1': {}
+
+  '@zag-js/async-list@1.24.1':
+    dependencies:
+      '@zag-js/core': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/auto-resize@1.21.0':
+  '@zag-js/auto-resize@1.24.1':
     dependencies:
-      '@zag-js/dom-query': 1.21.0
+      '@zag-js/dom-query': 1.24.1
 
-  '@zag-js/avatar@1.21.0':
+  '@zag-js/avatar@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/carousel@1.21.0':
+  '@zag-js/carousel@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/scroll-snap': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/scroll-snap': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/checkbox@1.21.0':
+  '@zag-js/checkbox@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/focus-visible': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/focus-visible': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/clipboard@1.21.0':
+  '@zag-js/clipboard@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/collapsible@1.21.0':
+  '@zag-js/collapsible@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/collection@1.21.0':
+  '@zag-js/collection@1.24.1':
     dependencies:
-      '@zag-js/utils': 1.21.0
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/color-picker@1.21.0':
+  '@zag-js/color-picker@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/color-utils': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dismissable': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/popper': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/color-utils': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dismissable': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/popper': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/color-utils@1.21.0':
+  '@zag-js/color-utils@1.24.1':
     dependencies:
-      '@zag-js/utils': 1.21.0
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/combobox@1.21.0':
+  '@zag-js/combobox@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/aria-hidden': 1.21.0
-      '@zag-js/collection': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dismissable': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/popper': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/aria-hidden': 1.24.1
+      '@zag-js/collection': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dismissable': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/popper': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/core@1.21.0':
+  '@zag-js/core@1.24.1':
     dependencies:
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/date-picker@1.21.0(@internationalized/date@3.8.2)':
+  '@zag-js/date-picker@1.24.1(@internationalized/date@3.9.0)':
     dependencies:
-      '@internationalized/date': 3.8.2
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/date-utils': 1.21.0(@internationalized/date@3.8.2)
-      '@zag-js/dismissable': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/live-region': 1.21.0
-      '@zag-js/popper': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@internationalized/date': 3.9.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/date-utils': 1.24.1(@internationalized/date@3.9.0)
+      '@zag-js/dismissable': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/live-region': 1.24.1
+      '@zag-js/popper': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/date-utils@1.21.0(@internationalized/date@3.8.2)':
+  '@zag-js/date-utils@1.24.1(@internationalized/date@3.9.0)':
     dependencies:
-      '@internationalized/date': 3.8.2
+      '@internationalized/date': 3.9.0
 
-  '@zag-js/dialog@1.21.0':
+  '@zag-js/dialog@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/aria-hidden': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dismissable': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/focus-trap': 1.21.0
-      '@zag-js/remove-scroll': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/aria-hidden': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dismissable': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/focus-trap': 1.24.1
+      '@zag-js/remove-scroll': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/dismissable@1.21.0':
+  '@zag-js/dismissable@1.24.1':
     dependencies:
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/interact-outside': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/interact-outside': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/dom-query@1.21.0':
+  '@zag-js/dom-query@1.24.1':
     dependencies:
-      '@zag-js/types': 1.21.0
+      '@zag-js/types': 1.24.1
 
-  '@zag-js/editable@1.21.0':
+  '@zag-js/editable@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/interact-outside': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/interact-outside': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/file-upload@1.21.0':
+  '@zag-js/file-upload@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/file-utils': 1.21.0
-      '@zag-js/i18n-utils': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/file-utils': 1.24.1
+      '@zag-js/i18n-utils': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/file-utils@1.21.0':
+  '@zag-js/file-utils@1.24.1':
     dependencies:
-      '@zag-js/i18n-utils': 1.21.0
+      '@zag-js/i18n-utils': 1.24.1
 
-  '@zag-js/floating-panel@1.21.0':
+  '@zag-js/floating-panel@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dismissable': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/popper': 1.21.0
-      '@zag-js/rect-utils': 1.21.0
-      '@zag-js/store': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/popper': 1.24.1
+      '@zag-js/rect-utils': 1.24.1
+      '@zag-js/store': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/focus-trap@1.21.0':
+  '@zag-js/focus-trap@1.24.1':
     dependencies:
-      '@zag-js/dom-query': 1.21.0
+      '@zag-js/dom-query': 1.24.1
 
-  '@zag-js/focus-visible@1.21.0':
+  '@zag-js/focus-visible@1.24.1':
     dependencies:
-      '@zag-js/dom-query': 1.21.0
+      '@zag-js/dom-query': 1.24.1
 
-  '@zag-js/highlight-word@1.21.0': {}
+  '@zag-js/highlight-word@1.24.1': {}
 
-  '@zag-js/hover-card@1.21.0':
+  '@zag-js/hover-card@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dismissable': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/popper': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dismissable': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/popper': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/i18n-utils@1.21.0':
+  '@zag-js/i18n-utils@1.24.1':
     dependencies:
-      '@zag-js/dom-query': 1.21.0
+      '@zag-js/dom-query': 1.24.1
 
-  '@zag-js/interact-outside@1.21.0':
+  '@zag-js/interact-outside@1.24.1':
     dependencies:
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/json-tree-utils@1.21.0': {}
+  '@zag-js/json-tree-utils@1.24.1': {}
 
-  '@zag-js/listbox@1.21.0':
+  '@zag-js/listbox@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/collection': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/focus-visible': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/collection': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/focus-visible': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/live-region@1.21.0': {}
+  '@zag-js/live-region@1.24.1': {}
 
-  '@zag-js/menu@1.21.0':
+  '@zag-js/menu@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dismissable': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/popper': 1.21.0
-      '@zag-js/rect-utils': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dismissable': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/popper': 1.24.1
+      '@zag-js/rect-utils': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/number-input@1.21.0':
+  '@zag-js/number-input@1.24.1':
     dependencies:
-      '@internationalized/number': 3.6.3
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@internationalized/number': 3.6.5
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/pagination@1.21.0':
+  '@zag-js/pagination@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/password-input@1.21.0':
+  '@zag-js/password-input@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/pin-input@1.21.0':
+  '@zag-js/pin-input@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/popover@1.21.0':
+  '@zag-js/popover@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/aria-hidden': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dismissable': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/focus-trap': 1.21.0
-      '@zag-js/popper': 1.21.0
-      '@zag-js/remove-scroll': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/aria-hidden': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dismissable': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/focus-trap': 1.24.1
+      '@zag-js/popper': 1.24.1
+      '@zag-js/remove-scroll': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/popper@1.21.0':
+  '@zag-js/popper@1.24.1':
     dependencies:
-      '@floating-ui/dom': 1.7.2
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@floating-ui/dom': 1.7.4
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/presence@1.21.0':
+  '@zag-js/presence@1.24.1':
     dependencies:
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
 
-  '@zag-js/progress@1.21.0':
+  '@zag-js/progress@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/qr-code@1.21.0':
+  '@zag-js/qr-code@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
       proxy-memoize: 3.0.1
       uqr: 0.1.2
 
-  '@zag-js/radio-group@1.21.0':
+  '@zag-js/radio-group@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/focus-visible': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/focus-visible': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/rating-group@1.21.0':
+  '@zag-js/rating-group@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/react@1.21.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)':
+  '@zag-js/react@1.24.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1)':
     dependencies:
-      '@zag-js/core': 1.21.0
-      '@zag-js/store': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/core': 1.24.1
+      '@zag-js/store': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
       react: 19.1.1
       react-dom: 19.1.1(react@19.1.1)
 
-  '@zag-js/rect-utils@1.21.0': {}
+  '@zag-js/rect-utils@1.24.1': {}
 
-  '@zag-js/remove-scroll@1.21.0':
+  '@zag-js/remove-scroll@1.24.1':
     dependencies:
-      '@zag-js/dom-query': 1.21.0
+      '@zag-js/dom-query': 1.24.1
 
-  '@zag-js/scroll-snap@1.21.0':
+  '@zag-js/scroll-area@1.24.1':
     dependencies:
-      '@zag-js/dom-query': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/select@1.21.0':
+  '@zag-js/scroll-snap@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/collection': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dismissable': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/popper': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/dom-query': 1.24.1
 
-  '@zag-js/signature-pad@1.21.0':
+  '@zag-js/select@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/collection': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dismissable': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/popper': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
+
+  '@zag-js/signature-pad@1.24.1':
+    dependencies:
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
       perfect-freehand: 1.2.2
 
-  '@zag-js/slider@1.21.0':
+  '@zag-js/slider@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/splitter@1.21.0':
+  '@zag-js/splitter@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/steps@1.21.0':
+  '@zag-js/steps@1.24.1':
     dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
 
-  '@zag-js/store@1.21.0':
+  '@zag-js/store@1.24.1':
     dependencies:
       proxy-compare: 3.0.1
 
-  '@zag-js/switch@1.21.0':
-    dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/focus-visible': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
-
-  '@zag-js/tabs@1.21.0':
-    dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
-
-  '@zag-js/tags-input@1.21.0':
-    dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/auto-resize': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/interact-outside': 1.21.0
-      '@zag-js/live-region': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
-
-  '@zag-js/time-picker@1.21.0(@internationalized/date@3.8.2)':
-    dependencies:
-      '@internationalized/date': 3.8.2
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dismissable': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/popper': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
-
-  '@zag-js/timer@1.21.0':
-    dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
-
-  '@zag-js/toast@1.21.0':
-    dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dismissable': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
-
-  '@zag-js/toggle-group@1.21.0':
-    dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
-
-  '@zag-js/toggle@1.21.0':
-    dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
-
-  '@zag-js/tooltip@1.21.0':
-    dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/focus-visible': 1.21.0
-      '@zag-js/popper': 1.21.0
-      '@zag-js/store': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
-
-  '@zag-js/tour@1.21.0':
-    dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dismissable': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/focus-trap': 1.21.0
-      '@zag-js/interact-outside': 1.21.0
-      '@zag-js/popper': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
-
-  '@zag-js/tree-view@1.21.0':
-    dependencies:
-      '@zag-js/anatomy': 1.21.0
-      '@zag-js/collection': 1.21.0
-      '@zag-js/core': 1.21.0
-      '@zag-js/dom-query': 1.21.0
-      '@zag-js/types': 1.21.0
-      '@zag-js/utils': 1.21.0
-
-  '@zag-js/types@1.21.0':
+  '@zag-js/switch@1.24.1':
+    dependencies:
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/focus-visible': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
+
+  '@zag-js/tabs@1.24.1':
+    dependencies:
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
+
+  '@zag-js/tags-input@1.24.1':
+    dependencies:
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/auto-resize': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/interact-outside': 1.24.1
+      '@zag-js/live-region': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
+
+  '@zag-js/timer@1.24.1':
+    dependencies:
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
+
+  '@zag-js/toast@1.24.1':
+    dependencies:
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dismissable': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
+
+  '@zag-js/toggle-group@1.24.1':
+    dependencies:
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
+
+  '@zag-js/toggle@1.24.1':
+    dependencies:
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
+
+  '@zag-js/tooltip@1.24.1':
+    dependencies:
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/focus-visible': 1.24.1
+      '@zag-js/popper': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
+
+  '@zag-js/tour@1.24.1':
+    dependencies:
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dismissable': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/focus-trap': 1.24.1
+      '@zag-js/interact-outside': 1.24.1
+      '@zag-js/popper': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
+
+  '@zag-js/tree-view@1.24.1':
+    dependencies:
+      '@zag-js/anatomy': 1.24.1
+      '@zag-js/collection': 1.24.1
+      '@zag-js/core': 1.24.1
+      '@zag-js/dom-query': 1.24.1
+      '@zag-js/types': 1.24.1
+      '@zag-js/utils': 1.24.1
+
+  '@zag-js/types@1.24.1':
     dependencies:
       csstype: 3.1.3
 
-  '@zag-js/utils@1.21.0': {}
+  '@zag-js/utils@1.24.1': {}
 
   acorn-jsx@5.3.2(acorn@8.15.0):
     dependencies:
@@ -4787,7 +4795,7 @@ snapshots:
 
   ast-v8-to-istanbul@0.3.5:
     dependencies:
-      '@jridgewell/trace-mapping': 0.3.30
+      '@jridgewell/trace-mapping': 0.3.31
       estree-walker: 3.0.3
       js-tokens: 9.0.1
 
@@ -4801,7 +4809,7 @@ snapshots:
 
   axe-core@4.10.3: {}
 
-  axios@1.12.0:
+  axios@1.12.2:
     dependencies:
       follow-redirects: 1.15.11
       form-data: 4.0.4
@@ -4819,6 +4827,8 @@ snapshots:
 
   balanced-match@1.0.2: {}
 
+  baseline-browser-mapping@2.8.6: {}
+
   binary-extensions@2.3.0: {}
 
   brace-expansion@1.1.12:
@@ -4834,14 +4844,15 @@ snapshots:
     dependencies:
       fill-range: 7.1.1
 
-  browserslist@4.25.3:
+  browserslist@4.26.2:
     dependencies:
-      caniuse-lite: 1.0.30001735
-      electron-to-chromium: 1.5.207
-      node-releases: 2.0.19
-      update-browserslist-db: 1.1.3(browserslist@4.25.3)
+      baseline-browser-mapping: 2.8.6
+      caniuse-lite: 1.0.30001743
+      electron-to-chromium: 1.5.223
+      node-releases: 2.0.21
+      update-browserslist-db: 1.1.3(browserslist@4.26.2)
 
-  builtin-modules@3.3.0: {}
+  builtin-modules@5.0.0: {}
 
   c12@1.11.1(magicast@0.3.5):
     dependencies:
@@ -4883,7 +4894,7 @@ snapshots:
 
   camelcase@8.0.0: {}
 
-  caniuse-lite@1.0.30001735: {}
+  caniuse-lite@1.0.30001743: {}
 
   chai@5.3.3:
     dependencies:
@@ -4898,6 +4909,8 @@ snapshots:
       ansi-styles: 4.3.0
       supports-color: 7.2.0
 
+  change-case@5.4.4: {}
+
   check-error@2.1.1: {}
 
   chokidar@3.6.0:
@@ -4950,9 +4963,11 @@ snapshots:
 
   convert-source-map@1.9.0: {}
 
-  core-js-compat@3.45.0:
+  cookie@1.0.2: {}
+
+  core-js-compat@3.45.1:
     dependencies:
-      browserslist: 4.25.3
+      browserslist: 4.26.2
 
   cosmiconfig@7.1.0:
     dependencies:
@@ -4998,6 +5013,10 @@ snapshots:
     dependencies:
       ms: 2.1.3
 
+  debug@4.4.3:
+    dependencies:
+      ms: 2.1.3
+
   deep-eql@5.0.2: {}
 
   deep-is@0.1.4: {}
@@ -5040,7 +5059,7 @@ snapshots:
 
   eastasianwidth@0.2.0: {}
 
-  electron-to-chromium@1.5.207: {}
+  electron-to-chromium@1.5.223: {}
 
   emoji-regex@8.0.0: {}
 
@@ -5155,34 +5174,34 @@ snapshots:
       is-date-object: 1.1.0
       is-symbol: 1.1.1
 
-  esbuild@0.25.9:
+  esbuild@0.25.10:
     optionalDependencies:
-      '@esbuild/aix-ppc64': 0.25.9
-      '@esbuild/android-arm': 0.25.9
-      '@esbuild/android-arm64': 0.25.9
-      '@esbuild/android-x64': 0.25.9
-      '@esbuild/darwin-arm64': 0.25.9
-      '@esbuild/darwin-x64': 0.25.9
-      '@esbuild/freebsd-arm64': 0.25.9
-      '@esbuild/freebsd-x64': 0.25.9
-      '@esbuild/linux-arm': 0.25.9
-      '@esbuild/linux-arm64': 0.25.9
-      '@esbuild/linux-ia32': 0.25.9
-      '@esbuild/linux-loong64': 0.25.9
-      '@esbuild/linux-mips64el': 0.25.9
-      '@esbuild/linux-ppc64': 0.25.9
-      '@esbuild/linux-riscv64': 0.25.9
-      '@esbuild/linux-s390x': 0.25.9
-      '@esbuild/linux-x64': 0.25.9
-      '@esbuild/netbsd-arm64': 0.25.9
-      '@esbuild/netbsd-x64': 0.25.9
-      '@esbuild/openbsd-arm64': 0.25.9
-      '@esbuild/openbsd-x64': 0.25.9
-      '@esbuild/openharmony-arm64': 0.25.9
-      '@esbuild/sunos-x64': 0.25.9
-      '@esbuild/win32-arm64': 0.25.9
-      '@esbuild/win32-ia32': 0.25.9
-      '@esbuild/win32-x64': 0.25.9
+      '@esbuild/aix-ppc64': 0.25.10
+      '@esbuild/android-arm': 0.25.10
+      '@esbuild/android-arm64': 0.25.10
+      '@esbuild/android-x64': 0.25.10
+      '@esbuild/darwin-arm64': 0.25.10
+      '@esbuild/darwin-x64': 0.25.10
+      '@esbuild/freebsd-arm64': 0.25.10
+      '@esbuild/freebsd-x64': 0.25.10
+      '@esbuild/linux-arm': 0.25.10
+      '@esbuild/linux-arm64': 0.25.10
+      '@esbuild/linux-ia32': 0.25.10
+      '@esbuild/linux-loong64': 0.25.10
+      '@esbuild/linux-mips64el': 0.25.10
+      '@esbuild/linux-ppc64': 0.25.10
+      '@esbuild/linux-riscv64': 0.25.10
+      '@esbuild/linux-s390x': 0.25.10
+      '@esbuild/linux-x64': 0.25.10
+      '@esbuild/netbsd-arm64': 0.25.10
+      '@esbuild/netbsd-x64': 0.25.10
+      '@esbuild/openbsd-arm64': 0.25.10
+      '@esbuild/openbsd-x64': 0.25.10
+      '@esbuild/openharmony-arm64': 0.25.10
+      '@esbuild/sunos-x64': 0.25.10
+      '@esbuild/win32-arm64': 0.25.10
+      '@esbuild/win32-ia32': 0.25.10
+      '@esbuild/win32-x64': 0.25.10
 
   escalade@3.2.0: {}
 
@@ -5190,11 +5209,11 @@ snapshots:
 
   escape-string-regexp@4.0.0: {}
 
-  eslint-config-prettier@10.1.8(eslint@9.33.0(jiti@1.21.7)):
+  eslint-config-prettier@10.1.8(eslint@9.36.0(jiti@1.21.7)):
     dependencies:
-      eslint: 9.33.0(jiti@1.21.7)
+      eslint: 9.36.0(jiti@1.21.7)
 
-  eslint-plugin-jsx-a11y@6.10.2(eslint@9.33.0(jiti@1.21.7)):
+  eslint-plugin-jsx-a11y@6.10.2(eslint@9.36.0(jiti@1.21.7)):
     dependencies:
       aria-query: 5.3.2
       array-includes: 3.1.9
@@ -5204,7 +5223,7 @@ snapshots:
       axobject-query: 4.1.0
       damerau-levenshtein: 1.0.8
       emoji-regex: 9.2.2
-      eslint: 9.33.0(jiti@1.21.7)
+      eslint: 9.36.0(jiti@1.21.7)
       hasown: 2.0.2
       jsx-ast-utils: 3.3.5
       language-tags: 1.0.9
@@ -5213,34 +5232,34 @@ snapshots:
       safe-regex-test: 1.1.0
       string.prototype.includes: 2.0.1
 
-  eslint-plugin-perfectionist@4.15.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3):
+  eslint-plugin-perfectionist@4.15.0(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3):
     dependencies:
       '@typescript-eslint/types': 8.40.0
-      '@typescript-eslint/utils': 8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)
-      eslint: 9.33.0(jiti@1.21.7)
+      '@typescript-eslint/utils': 8.40.0(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)
+      eslint: 9.36.0(jiti@1.21.7)
       natural-orderby: 5.0.0
     transitivePeerDependencies:
       - supports-color
       - typescript
 
-  eslint-plugin-prettier@5.5.4(eslint-config-prettier@10.1.8(eslint@9.33.0(jiti@1.21.7)))(eslint@9.33.0(jiti@1.21.7))(prettier@3.6.2):
+  eslint-plugin-prettier@5.5.4(eslint-config-prettier@10.1.8(eslint@9.36.0(jiti@1.21.7)))(eslint@9.36.0(jiti@1.21.7))(prettier@3.6.2):
     dependencies:
-      eslint: 9.33.0(jiti@1.21.7)
+      eslint: 9.36.0(jiti@1.21.7)
       prettier: 3.6.2
       prettier-linter-helpers: 1.0.0
       synckit: 0.11.11
     optionalDependencies:
-      eslint-config-prettier: 10.1.8(eslint@9.33.0(jiti@1.21.7))
+      eslint-config-prettier: 10.1.8(eslint@9.36.0(jiti@1.21.7))
 
-  eslint-plugin-react-hooks@5.2.0(eslint@9.33.0(jiti@1.21.7)):
+  eslint-plugin-react-hooks@5.2.0(eslint@9.36.0(jiti@1.21.7)):
     dependencies:
-      eslint: 9.33.0(jiti@1.21.7)
+      eslint: 9.36.0(jiti@1.21.7)
 
-  eslint-plugin-react-refresh@0.4.20(eslint@9.33.0(jiti@1.21.7)):
+  eslint-plugin-react-refresh@0.4.21(eslint@9.36.0(jiti@1.21.7)):
     dependencies:
-      eslint: 9.33.0(jiti@1.21.7)
+      eslint: 9.36.0(jiti@1.21.7)
 
-  eslint-plugin-react@7.37.5(eslint@9.33.0(jiti@1.21.7)):
+  eslint-plugin-react@7.37.5(eslint@9.36.0(jiti@1.21.7)):
     dependencies:
       array-includes: 3.1.9
       array.prototype.findlast: 1.2.5
@@ -5248,7 +5267,7 @@ snapshots:
       array.prototype.tosorted: 1.1.4
       doctrine: 2.1.0
       es-iterator-helpers: 1.2.1
-      eslint: 9.33.0(jiti@1.21.7)
+      eslint: 9.36.0(jiti@1.21.7)
       estraverse: 5.3.0
       hasown: 2.0.2
       jsx-ast-utils: 3.3.5
@@ -5262,25 +5281,27 @@ snapshots:
       string.prototype.matchall: 4.0.12
       string.prototype.repeat: 1.0.0
 
-  eslint-plugin-unicorn@55.0.0(eslint@9.33.0(jiti@1.21.7)):
+  eslint-plugin-unicorn@61.0.2(eslint@9.36.0(jiti@1.21.7)):
     dependencies:
       '@babel/helper-validator-identifier': 7.27.1
-      '@eslint-community/eslint-utils': 4.7.0(eslint@9.33.0(jiti@1.21.7))
+      '@eslint-community/eslint-utils': 4.9.0(eslint@9.36.0(jiti@1.21.7))
+      '@eslint/plugin-kit': 0.3.5
+      change-case: 5.4.4
       ci-info: 4.3.0
       clean-regexp: 1.0.0
-      core-js-compat: 3.45.0
-      eslint: 9.33.0(jiti@1.21.7)
+      core-js-compat: 3.45.1
+      eslint: 9.36.0(jiti@1.21.7)
       esquery: 1.6.0
-      globals: 15.15.0
-      indent-string: 4.0.0
-      is-builtin-module: 3.2.1
+      find-up-simple: 1.0.1
+      globals: 16.4.0
+      indent-string: 5.0.0
+      is-builtin-module: 5.0.0
       jsesc: 3.1.0
       pluralize: 8.0.0
-      read-pkg-up: 7.0.1
       regexp-tree: 0.1.27
-      regjsparser: 0.10.0
+      regjsparser: 0.12.0
       semver: 7.7.2
-      strip-indent: 3.0.0
+      strip-indent: 4.1.0
 
   eslint-scope@8.4.0:
     dependencies:
@@ -5291,17 +5312,17 @@ snapshots:
 
   eslint-visitor-keys@4.2.1: {}
 
-  eslint@9.33.0(jiti@1.21.7):
+  eslint@9.36.0(jiti@1.21.7):
     dependencies:
-      '@eslint-community/eslint-utils': 4.7.0(eslint@9.33.0(jiti@1.21.7))
+      '@eslint-community/eslint-utils': 4.9.0(eslint@9.36.0(jiti@1.21.7))
       '@eslint-community/regexpp': 4.12.1
       '@eslint/config-array': 0.21.0
       '@eslint/config-helpers': 0.3.1
       '@eslint/core': 0.15.2
       '@eslint/eslintrc': 3.3.1
-      '@eslint/js': 9.33.0
+      '@eslint/js': 9.36.0
       '@eslint/plugin-kit': 0.3.5
-      '@humanfs/node': 0.16.6
+      '@humanfs/node': 0.16.7
       '@humanwhocodes/module-importer': 1.0.1
       '@humanwhocodes/retry': 0.4.3
       '@types/estree': 1.0.8
@@ -5309,7 +5330,7 @@ snapshots:
       ajv: 6.12.6
       chalk: 4.1.2
       cross-spawn: 7.0.6
-      debug: 4.4.1
+      debug: 4.4.3
       escape-string-regexp: 4.0.0
       eslint-scope: 8.4.0
       eslint-visitor-keys: 4.2.1
@@ -5397,10 +5418,7 @@ snapshots:
 
   find-root@1.1.0: {}
 
-  find-up@4.1.0:
-    dependencies:
-      locate-path: 5.0.0
-      path-exists: 4.0.0
+  find-up-simple@1.0.1: {}
 
   find-up@5.0.0:
     dependencies:
@@ -5510,11 +5528,9 @@ snapshots:
       package-json-from-dist: 1.0.1
       path-scurry: 1.11.1
 
-  globals@11.12.0: {}
-
   globals@14.0.0: {}
 
-  globals@15.15.0: {}
+  globals@16.4.0: {}
 
   globalthis@1.0.4:
     dependencies:
@@ -5536,9 +5552,10 @@ snapshots:
     optionalDependencies:
       uglify-js: 3.19.3
 
-  happy-dom@17.6.3:
+  happy-dom@18.0.1:
     dependencies:
-      webidl-conversions: 7.0.0
+      '@types/node': 20.19.17
+      '@types/whatwg-mimetype': 3.0.2
       whatwg-mimetype: 3.0.0
 
   has-bigints@1.1.0: {}
@@ -5569,8 +5586,6 @@ snapshots:
     dependencies:
       react-is: 16.13.1
 
-  hosted-git-info@2.8.9: {}
-
   html-escaper@2.0.2: {}
 
   ignore@5.3.2: {}
@@ -5588,6 +5603,8 @@ snapshots:
 
   indent-string@4.0.0: {}
 
+  indent-string@5.0.0: {}
+
   internal-slot@1.1.0:
     dependencies:
       es-errors: 1.3.0
@@ -5623,9 +5640,9 @@ snapshots:
       call-bound: 1.0.4
       has-tostringtag: 1.0.2
 
-  is-builtin-module@3.2.1:
+  is-builtin-module@5.0.0:
     dependencies:
-      builtin-modules: 3.3.0
+      builtin-modules: 5.0.0
 
   is-callable@1.2.7: {}
 
@@ -5727,7 +5744,7 @@ snapshots:
 
   istanbul-lib-source-maps@5.0.6:
     dependencies:
-      '@jridgewell/trace-mapping': 0.3.30
+      '@jridgewell/trace-mapping': 0.3.31
       debug: 4.4.1
       istanbul-lib-coverage: 3.2.2
     transitivePeerDependencies:
@@ -5767,9 +5784,7 @@ snapshots:
     dependencies:
       argparse: 2.0.1
 
-  jsesc@0.5.0: {}
-
-  jsesc@2.5.2: {}
+  jsesc@3.0.2: {}
 
   jsesc@3.1.0: {}
 
@@ -5821,10 +5836,6 @@ snapshots:
       pkg-types: 2.2.0
       quansync: 0.2.11
 
-  locate-path@5.0.0:
-    dependencies:
-      p-locate: 4.1.0
-
   locate-path@6.0.0:
     dependencies:
       p-locate: 5.0.0
@@ -5857,8 +5868,8 @@ snapshots:
 
   magicast@0.3.5:
     dependencies:
-      '@babel/parser': 7.28.3
-      '@babel/types': 7.28.2
+      '@babel/parser': 7.28.4
+      '@babel/types': 7.28.4
       source-map-js: 1.2.1
 
   make-dir@4.0.0:
@@ -5939,14 +5950,7 @@ snapshots:
 
   node-fetch-native@1.6.7: {}
 
-  node-releases@2.0.19: {}
-
-  normalize-package-data@2.5.0:
-    dependencies:
-      hosted-git-info: 2.8.9
-      resolve: 1.22.10
-      semver: 5.7.2
-      validate-npm-package-license: 3.0.4
+  node-releases@2.0.21: {}
 
   normalize-path@3.0.0: {}
 
@@ -6012,24 +6016,14 @@ snapshots:
       object-keys: 1.1.1
       safe-push-apply: 1.0.0
 
-  p-limit@2.3.0:
-    dependencies:
-      p-try: 2.2.0
-
   p-limit@3.1.0:
     dependencies:
       yocto-queue: 0.1.0
 
-  p-locate@4.1.0:
-    dependencies:
-      p-limit: 2.3.0
-
   p-locate@5.0.0:
     dependencies:
       p-limit: 3.1.0
 
-  p-try@2.2.0: {}
-
   package-json-from-dist@1.0.1: {}
 
   parent-module@1.0.1:
@@ -6148,17 +6142,19 @@ snapshots:
 
   react-is@17.0.2: {}
 
-  react-router-dom@6.30.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1):
+  react-router-dom@7.9.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1):
     dependencies:
-      '@remix-run/router': 1.23.0
       react: 19.1.1
       react-dom: 19.1.1(react@19.1.1)
-      react-router: 6.30.1(react@19.1.1)
+      react-router: 7.9.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
 
-  react-router@6.30.1(react@19.1.1):
+  react-router@7.9.1(react-dom@19.1.1(react@19.1.1))(react@19.1.1):
     dependencies:
-      '@remix-run/router': 1.23.0
+      cookie: 1.0.2
       react: 19.1.1
+      set-cookie-parser: 2.7.1
+    optionalDependencies:
+      react-dom: 19.1.1(react@19.1.1)
 
   react-timeago@8.3.0(react@19.1.1):
     dependencies:
@@ -6166,19 +6162,6 @@ snapshots:
 
   react@19.1.1: {}
 
-  read-pkg-up@7.0.1:
-    dependencies:
-      find-up: 4.1.0
-      read-pkg: 5.2.0
-      type-fest: 0.8.1
-
-  read-pkg@5.2.0:
-    dependencies:
-      '@types/normalize-package-data': 2.4.4
-      normalize-package-data: 2.5.0
-      parse-json: 5.2.0
-      type-fest: 0.6.0
-
   readdirp@3.6.0:
     dependencies:
       picomatch: 2.3.1
@@ -6210,9 +6193,9 @@ snapshots:
       gopd: 1.2.0
       set-function-name: 2.0.2
 
-  regjsparser@0.10.0:
+  regjsparser@0.12.0:
     dependencies:
-      jsesc: 0.5.0
+      jsesc: 3.0.2
 
   require-from-string@2.0.2: {}
 
@@ -6232,31 +6215,32 @@ snapshots:
 
   reusify@1.1.0: {}
 
-  rollup@4.50.1:
+  rollup@4.52.2:
     dependencies:
       '@types/estree': 1.0.8
     optionalDependencies:
-      '@rollup/rollup-android-arm-eabi': 4.50.1
-      '@rollup/rollup-android-arm64': 4.50.1
-      '@rollup/rollup-darwin-arm64': 4.50.1
-      '@rollup/rollup-darwin-x64': 4.50.1
-      '@rollup/rollup-freebsd-arm64': 4.50.1
-      '@rollup/rollup-freebsd-x64': 4.50.1
-      '@rollup/rollup-linux-arm-gnueabihf': 4.50.1
-      '@rollup/rollup-linux-arm-musleabihf': 4.50.1
-      '@rollup/rollup-linux-arm64-gnu': 4.50.1
-      '@rollup/rollup-linux-arm64-musl': 4.50.1
-      '@rollup/rollup-linux-loongarch64-gnu': 4.50.1
-      '@rollup/rollup-linux-ppc64-gnu': 4.50.1
-      '@rollup/rollup-linux-riscv64-gnu': 4.50.1
-      '@rollup/rollup-linux-riscv64-musl': 4.50.1
-      '@rollup/rollup-linux-s390x-gnu': 4.50.1
-      '@rollup/rollup-linux-x64-gnu': 4.50.1
-      '@rollup/rollup-linux-x64-musl': 4.50.1
-      '@rollup/rollup-openharmony-arm64': 4.50.1
-      '@rollup/rollup-win32-arm64-msvc': 4.50.1
-      '@rollup/rollup-win32-ia32-msvc': 4.50.1
-      '@rollup/rollup-win32-x64-msvc': 4.50.1
+      '@rollup/rollup-android-arm-eabi': 4.52.2
+      '@rollup/rollup-android-arm64': 4.52.2
+      '@rollup/rollup-darwin-arm64': 4.52.2
+      '@rollup/rollup-darwin-x64': 4.52.2
+      '@rollup/rollup-freebsd-arm64': 4.52.2
+      '@rollup/rollup-freebsd-x64': 4.52.2
+      '@rollup/rollup-linux-arm-gnueabihf': 4.52.2
+      '@rollup/rollup-linux-arm-musleabihf': 4.52.2
+      '@rollup/rollup-linux-arm64-gnu': 4.52.2
+      '@rollup/rollup-linux-arm64-musl': 4.52.2
+      '@rollup/rollup-linux-loong64-gnu': 4.52.2
+      '@rollup/rollup-linux-ppc64-gnu': 4.52.2
+      '@rollup/rollup-linux-riscv64-gnu': 4.52.2
+      '@rollup/rollup-linux-riscv64-musl': 4.52.2
+      '@rollup/rollup-linux-s390x-gnu': 4.52.2
+      '@rollup/rollup-linux-x64-gnu': 4.52.2
+      '@rollup/rollup-linux-x64-musl': 4.52.2
+      '@rollup/rollup-openharmony-arm64': 4.52.2
+      '@rollup/rollup-win32-arm64-msvc': 4.52.2
+      '@rollup/rollup-win32-ia32-msvc': 4.52.2
+      '@rollup/rollup-win32-x64-gnu': 4.52.2
+      '@rollup/rollup-win32-x64-msvc': 4.52.2
       fsevents: 2.3.3
 
   run-parallel@1.2.0:
@@ -6284,8 +6268,6 @@ snapshots:
 
   scheduler@0.26.0: {}
 
-  semver@5.7.2: {}
-
   semver@6.3.1: {}
 
   semver@7.5.4:
@@ -6294,6 +6276,8 @@ snapshots:
 
   semver@7.7.2: {}
 
+  set-cookie-parser@2.7.1: {}
+
   set-function-length@1.2.2:
     dependencies:
       define-data-property: 1.1.4
@@ -6360,20 +6344,6 @@ snapshots:
 
   source-map@0.6.1: {}
 
-  spdx-correct@3.2.0:
-    dependencies:
-      spdx-expression-parse: 3.0.1
-      spdx-license-ids: 3.0.22
-
-  spdx-exceptions@2.5.0: {}
-
-  spdx-expression-parse@3.0.1:
-    dependencies:
-      spdx-exceptions: 2.5.0
-      spdx-license-ids: 3.0.22
-
-  spdx-license-ids@3.0.22: {}
-
   sprintf-js@1.0.3: {}
 
   stackback@0.0.2: {}
@@ -6461,6 +6431,8 @@ snapshots:
     dependencies:
       min-indent: 1.0.1
 
+  strip-indent@4.1.0: {}
+
   strip-json-comments@3.1.1: {}
 
   strip-literal@3.0.0:
@@ -6513,8 +6485,6 @@ snapshots:
 
   tinyspy@4.0.3: {}
 
-  to-fast-properties@2.0.0: {}
-
   to-regex-range@5.0.1:
     dependencies:
       is-number: 7.0.0
@@ -6534,10 +6504,6 @@ snapshots:
     dependencies:
       prelude-ls: 1.2.1
 
-  type-fest@0.6.0: {}
-
-  type-fest@0.8.1: {}
-
   typed-array-buffer@1.0.3:
     dependencies:
       call-bound: 1.0.4
@@ -6571,13 +6537,13 @@ snapshots:
       possible-typed-array-names: 1.1.0
       reflect.getprototypeof: 1.0.10
 
-  typescript-eslint@8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3):
+  typescript-eslint@8.44.1(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3):
     dependencies:
-      '@typescript-eslint/eslint-plugin': 8.40.0(@typescript-eslint/parser@8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3))(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)
-      '@typescript-eslint/parser': 8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)
-      '@typescript-eslint/typescript-estree': 8.40.0(typescript@5.8.3)
-      '@typescript-eslint/utils': 8.40.0(eslint@9.33.0(jiti@1.21.7))(typescript@5.8.3)
-      eslint: 9.33.0(jiti@1.21.7)
+      '@typescript-eslint/eslint-plugin': 8.44.1(@typescript-eslint/parser@8.44.1(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3))(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)
+      '@typescript-eslint/parser': 8.44.1(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)
+      '@typescript-eslint/typescript-estree': 8.44.1(typescript@5.8.3)
+      '@typescript-eslint/utils': 8.44.1(eslint@9.36.0(jiti@1.21.7))(typescript@5.8.3)
+      eslint: 9.36.0(jiti@1.21.7)
       typescript: 5.8.3
     transitivePeerDependencies:
       - supports-color
@@ -6600,11 +6566,13 @@ snapshots:
 
   undici-types@6.21.0: {}
 
+  undici-types@7.12.0: {}
+
   universalify@2.0.1: {}
 
-  update-browserslist-db@1.1.3(browserslist@4.25.3):
+  update-browserslist-db@1.1.3(browserslist@4.26.2):
     dependencies:
-      browserslist: 4.25.3
+      browserslist: 4.26.2
       escalade: 3.2.0
       picocolors: 1.1.1
 
@@ -6614,18 +6582,13 @@ snapshots:
     dependencies:
       punycode: 2.3.1
 
-  validate-npm-package-license@3.0.4:
-    dependencies:
-      spdx-correct: 3.2.0
-      spdx-expression-parse: 3.0.1
-
-  vite-node@3.2.4(@types/node@22.17.2)(jiti@1.21.7):
+  vite-node@3.2.4(@types/node@24.5.2)(jiti@1.21.7):
     dependencies:
       cac: 6.7.14
       debug: 4.4.1
       es-module-lexer: 1.7.0
       pathe: 2.0.3
-      vite: 7.1.5(@types/node@22.17.2)(jiti@1.21.7)
+      vite: 7.1.7(@types/node@24.5.2)(jiti@1.21.7)
     transitivePeerDependencies:
       - '@types/node'
       - jiti
@@ -6640,14 +6603,14 @@ snapshots:
       - tsx
       - yaml
 
-  vite-plugin-css-injected-by-js@3.5.2(vite@7.1.5(@types/node@22.17.2)(jiti@1.21.7)):
+  vite-plugin-css-injected-by-js@3.5.2(vite@7.1.7(@types/node@24.5.2)(jiti@1.21.7)):
     dependencies:
-      vite: 7.1.5(@types/node@22.17.2)(jiti@1.21.7)
+      vite: 7.1.7(@types/node@24.5.2)(jiti@1.21.7)
 
-  vite-plugin-dts@4.5.4(@types/node@22.17.2)(rollup@4.50.1)(typescript@5.8.3)(vite@7.1.5(@types/node@22.17.2)(jiti@1.21.7)):
+  vite-plugin-dts@4.5.4(@types/node@24.5.2)(rollup@4.52.2)(typescript@5.8.3)(vite@7.1.7(@types/node@24.5.2)(jiti@1.21.7)):
     dependencies:
-      '@microsoft/api-extractor': 7.52.10(@types/node@22.17.2)
-      '@rollup/pluginutils': 5.2.0(rollup@4.50.1)
+      '@microsoft/api-extractor': 7.52.10(@types/node@24.5.2)
+      '@rollup/pluginutils': 5.2.0(rollup@4.52.2)
       '@volar/typescript': 2.4.23
       '@vue/language-core': 2.2.0(typescript@5.8.3)
       compare-versions: 6.1.1
@@ -6657,30 +6620,30 @@ snapshots:
       magic-string: 0.30.17
       typescript: 5.8.3
     optionalDependencies:
-      vite: 7.1.5(@types/node@22.17.2)(jiti@1.21.7)
+      vite: 7.1.7(@types/node@24.5.2)(jiti@1.21.7)
     transitivePeerDependencies:
       - '@types/node'
       - rollup
       - supports-color
 
-  vite@7.1.5(@types/node@22.17.2)(jiti@1.21.7):
+  vite@7.1.7(@types/node@24.5.2)(jiti@1.21.7):
     dependencies:
-      esbuild: 0.25.9
+      esbuild: 0.25.10
       fdir: 6.5.0(picomatch@4.0.3)
       picomatch: 4.0.3
       postcss: 8.5.6
-      rollup: 4.50.1
+      rollup: 4.52.2
       tinyglobby: 0.2.15
     optionalDependencies:
-      '@types/node': 22.17.2
+      '@types/node': 24.5.2
       fsevents: 2.3.3
       jiti: 1.21.7
 
-  vitest@3.2.4(@types/node@22.17.2)(happy-dom@17.6.3)(jiti@1.21.7):
+  vitest@3.2.4(@types/node@24.5.2)(happy-dom@18.0.1)(jiti@1.21.7):
     dependencies:
       '@types/chai': 5.2.2
       '@vitest/expect': 3.2.4
-      '@vitest/mocker': 3.2.4(vite@7.1.5(@types/node@22.17.2)(jiti@1.21.7))
+      '@vitest/mocker': 3.2.4(vite@7.1.7(@types/node@24.5.2)(jiti@1.21.7))
       '@vitest/pretty-format': 3.2.4
       '@vitest/runner': 3.2.4
       '@vitest/snapshot': 3.2.4
@@ -6698,12 +6661,12 @@ snapshots:
       tinyglobby: 0.2.15
       tinypool: 1.1.1
       tinyrainbow: 2.0.0
-      vite: 7.1.5(@types/node@22.17.2)(jiti@1.21.7)
-      vite-node: 3.2.4(@types/node@22.17.2)(jiti@1.21.7)
+      vite: 7.1.7(@types/node@24.5.2)(jiti@1.21.7)
+      vite-node: 3.2.4(@types/node@24.5.2)(jiti@1.21.7)
       why-is-node-running: 2.3.0
     optionalDependencies:
-      '@types/node': 22.17.2
-      happy-dom: 17.6.3
+      '@types/node': 24.5.2
+      happy-dom: 18.0.1
     transitivePeerDependencies:
       - jiti
       - less
@@ -6720,8 +6683,6 @@ snapshots:
 
   vscode-uri@3.1.0: {}
 
-  webidl-conversions@7.0.0: {}
-
   whatwg-mimetype@3.0.0: {}
 
   which-boxed-primitive@1.1.1:
diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/www/src/components/ui/Alert.tsx b/providers/edge3/src/airflow/providers/edge3/plugins/www/src/components/ui/Alert.tsx
index 345745111ec30..6eb4c6ee9d701 100644
--- a/providers/edge3/src/airflow/providers/edge3/plugins/www/src/components/ui/Alert.tsx
+++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/src/components/ui/Alert.tsx
@@ -16,7 +16,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-
 /* eslint-disable no-extra-boolean-cast */
 import { Alert as ChakraAlert } from "@chakra-ui/react";
 import { forwardRef } from "react";
diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/www/src/theme.ts b/providers/edge3/src/airflow/providers/edge3/plugins/www/src/theme.ts
index 868a8bc0d64bd..53191d0d49ca3 100644
--- a/providers/edge3/src/airflow/providers/edge3/plugins/www/src/theme.ts
+++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/src/theme.ts
@@ -16,7 +16,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-
 /* eslint-disable perfectionist/sort-objects */
 import { createSystem, defaultConfig, defineConfig } from "@chakra-ui/react";
 import type { CSSProperties } from "react";
diff --git a/providers/edge3/www-hash.txt b/providers/edge3/www-hash.txt
index b28aea1f88455..226220127aaf2 100644
--- a/providers/edge3/www-hash.txt
+++ b/providers/edge3/www-hash.txt
@@ -1 +1 @@
-382569154dafbbe782a0cf77cf393070e729314e73d5a93f6156a242fa0e530c
+3fc258d3b6f86b7020a7b09b4ecbd3a71d95b35a85253aa2a3c8d3cdde4ed23f

From bf473ff6f8bb3472329cb6365e950abe6b403520 Mon Sep 17 00:00:00 2001
From: Jens Scheffler <jscheffl@apache.org>
Date: Wed, 24 Sep 2025 22:44:44 +0200
Subject: [PATCH 2/2] Fix problems by generated code from outdated fastapi

---
 .../edge3/openapi/v2-edge-generated.yaml      | 40 +++++--------------
 .../edge3/plugins/www/dist/main.umd.cjs       |  4 +-
 .../www/openapi-gen/requests/services.gen.ts  | 20 +++++-----
 .../www/openapi-gen/requests/types.gen.ts     | 40 +++++++++----------
 providers/edge3/www-hash.txt                  |  2 +-
 5 files changed, 43 insertions(+), 63 deletions(-)

diff --git a/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml b/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml
index abfb61f1a54be..c88465279b645 100644
--- a/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml
+++ b/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml
@@ -142,9 +142,7 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema:
-                type: 'null'
-                title: Response State
+              schema: {}
         '400':
           content:
             application/json:
@@ -319,9 +317,7 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema:
-                type: 'null'
-                title: Response Push Logs
+              schema: {}
         '400':
           content:
             application/json:
@@ -514,9 +510,7 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema:
-                type: 'null'
-                title: Response Update Queues
+              schema: {}
         '400':
           content:
             application/json:
@@ -614,9 +608,7 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema:
-                type: 'null'
-                title: Response Request Worker Maintenance
+              schema: {}
         '422':
           description: Validation Error
           content:
@@ -650,9 +642,7 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema:
-                type: 'null'
-                title: Response Update Worker Maintenance
+              schema: {}
         '422':
           description: Validation Error
           content:
@@ -680,9 +670,7 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema:
-                type: 'null'
-                title: Response Exit Worker Maintenance
+              schema: {}
         '422':
           description: Validation Error
           content:
@@ -711,9 +699,7 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema:
-                type: 'null'
-                title: Response Request Worker Shutdown
+              schema: {}
         '422':
           description: Validation Error
           content:
@@ -742,9 +728,7 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema:
-                type: 'null'
-                title: Response Delete Worker
+              schema: {}
         '422':
           description: Validation Error
           content:
@@ -779,9 +763,7 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema:
-                type: 'null'
-                title: Response Add Worker Queue
+              schema: {}
         '422':
           description: Validation Error
           content:
@@ -815,9 +797,7 @@ paths:
           description: Successful Response
           content:
             application/json:
-              schema:
-                type: 'null'
-                title: Response Remove Worker Queue
+              schema: {}
         '422':
           description: Validation Error
           content:
diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/www/dist/main.umd.cjs b/providers/edge3/src/airflow/providers/edge3/plugins/www/dist/main.umd.cjs
index 8b7bfaadd0b76..8677681e23078 100644
--- a/providers/edge3/src/airflow/providers/edge3/plugins/www/dist/main.umd.cjs
+++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/dist/main.umd.cjs
@@ -27,7 +27,7 @@
 `+s.map(bg).join(`
 `):" "+bg(s[0]):"as no adapter specified";throw new H("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Xa};function Qa(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lr(null,e)}function xg(e){return Qa(e),e.headers=Me.from(e.headers),e.data=Ya.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),yg.getAdapter(e.adapter||qr.adapter,e)(e).then(function(r){return Qa(e),r.data=Ya.call(e,e.transformResponse,r),r.headers=Me.from(r.headers),r},function(r){return ig(r)||(Qa(e),r&&r.response&&(r.response.data=Ya.call(e,e.transformResponse,r.response),r.response.headers=Me.from(r.response.headers))),Promise.reject(r)})}const kg="1.12.2",Ri={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ri[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Cg={};Ri.transitional=function(t,n,r){function o(i,s){return"[Axios v"+kg+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(t===!1)throw new H(o(s," has been removed"+(n?" in "+n:"")),H.ERR_DEPRECATED);return n&&!Cg[s]&&(Cg[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,a):!0}},Ri.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function uP(e,t,n){if(typeof e!="object")throw new H("options must be an object",H.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const a=e[i],l=a===void 0||s(a,i,e);if(l!==!0)throw new H("option "+i+" must be "+l,H.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new H("Unknown option "+i,H.ERR_BAD_OPTION)}}const Ii={assertOptions:uP,validators:Ri},mt=Ii.validators;let Tn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new tg,response:new tg}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
 `+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=In(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Ii.assertOptions(r,{silentJSONParsing:mt.transitional(mt.boolean),forcedJSONParsing:mt.transitional(mt.boolean),clarifyTimeoutError:mt.transitional(mt.boolean)},!1),o!=null&&(E.isFunction(o)?n.paramsSerializer={serialize:o}:Ii.assertOptions(o,{encode:mt.function,serialize:mt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ii.assertOptions(n,{baseUrl:mt.spelling("baseURL"),withXsrfToken:mt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&E.merge(i.common,i[n.method]);i&&E.forEach(["delete","get","head","post","put","patch","common"],f=>{delete i[f]}),n.headers=Me.concat(s,i);const a=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(l=l&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,h=0,d;if(!l){const f=[xg.bind(this),void 0];for(f.unshift(...a),f.push(...c),d=f.length,u=Promise.resolve(n);h<d;)u=u.then(f[h++],f[h++]);return u}d=a.length;let m=n;for(;h<d;){const f=a[h++],p=a[h++];try{m=f(m)}catch(v){p.call(this,v);break}}try{u=xg.call(this,m)}catch(f){return Promise.reject(f)}for(h=0,d=c.length;h<d;)u=u.then(c[h++],c[h++]);return u}getUri(t){t=In(this.defaults,t);const n=cg(t.baseURL,t.url,t.allowAbsoluteUrls);return eg(n,t.params,t.paramsSerializer)}};E.forEach(["delete","get","head","options"],function(t){Tn.prototype[t]=function(n,r){return this.request(In(r||{},{method:t,url:n,data:(r||{}).data}))}}),E.forEach(["post","put","patch"],function(t){function n(r){return function(i,s,a){return this.request(In(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Tn.prototype[t]=n(),Tn.prototype[t+"Form"]=n(!0)});let dP=class wp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,a){r.reason||(r.reason=new lr(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new wp(function(o){t=o}),cancel:t}}};function hP(e){return function(n){return e.apply(null,n)}}function fP(e){return E.isObject(e)&&e.isAxiosError===!0}const Ja={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ja).forEach(([e,t])=>{Ja[t]=e});function wg(e){const t=new Tn(e),n=Mf(Tn.prototype.request,t);return E.extend(n,Tn.prototype,t,{allOwnKeys:!0}),E.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return wg(In(e,o))},n}const ce=wg(qr);ce.Axios=Tn,ce.CanceledError=lr,ce.CancelToken=dP,ce.isCancel=ig,ce.VERSION=kg,ce.toFormData=Si,ce.AxiosError=H,ce.Cancel=ce.CanceledError,ce.all=function(t){return Promise.all(t)},ce.spread=hP,ce.isAxiosError=fP,ce.mergeConfig=In,ce.AxiosHeaders=Me,ce.formToJSON=e=>rg(E.isHTMLForm(e)?new FormData(e):e),ce.getAdapter=yg.getAdapter,ce.HttpStatusCode=Ja,ce.default=ce;const{Axios:HT,AxiosError:UT,CanceledError:GT,isCancel:qT,CancelToken:KT,VERSION:YT,all:XT,Cancel:QT,isAxiosError:JT,spread:ZT,toFormData:e5,AxiosHeaders:t5,HttpStatusCode:n5,formToJSON:r5,getAdapter:o5,mergeConfig:i5}=ce;var gP=(e,t,n,r,o,i,s,a)=>{let l=document.documentElement,c=["light","dark"];function u(m){(Array.isArray(e)?e:[e]).forEach(f=>{let p=f==="class",v=p&&i?o.map(b=>i[b]||b):o;p?(l.classList.remove(...v),l.classList.add(i&&i[m]?i[m]:m)):l.setAttribute(f,m)}),h(m)}function h(m){a&&c.includes(m)&&(l.style.colorScheme=m)}function d(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)u(r);else try{let m=localStorage.getItem(t)||n,f=s&&m==="system"?d():m;u(f)}catch{}},Sg=["light","dark"],Eg="(prefers-color-scheme: dark)",pP=typeof window>"u",Og=C.createContext(void 0),mP=e=>C.useContext(Og)?C.createElement(C.Fragment,null,e.children):C.createElement(bP,{...e}),vP=["light","dark"],bP=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:o="theme",themes:i=vP,defaultTheme:s=n?"system":"light",attribute:a="data-theme",value:l,children:c,nonce:u,scriptProps:h})=>{let[d,m]=C.useState(()=>xP(o,s)),[f,p]=C.useState(()=>d==="system"?Za():d),v=l?Object.values(l):i,b=C.useCallback(k=>{let O=k;if(!O)return;k==="system"&&n&&(O=Za());let R=l?l[O]:O,I=t?kP(u):null,N=document.documentElement,A=T=>{T==="class"?(N.classList.remove(...v),R&&N.classList.add(R)):T.startsWith("data-")&&(R?N.setAttribute(T,R):N.removeAttribute(T))};if(Array.isArray(a)?a.forEach(A):A(a),r){let T=Sg.includes(s)?s:null,S=Sg.includes(O)?O:T;N.style.colorScheme=S}I?.()},[u]),y=C.useCallback(k=>{let O=typeof k=="function"?k(d):k;m(O);try{localStorage.setItem(o,O)}catch{}},[d]),x=C.useCallback(k=>{let O=Za(k);p(O),d==="system"&&n&&!e&&b("system")},[d,e]);C.useEffect(()=>{let k=window.matchMedia(Eg);return k.addListener(x),x(k),()=>k.removeListener(x)},[x]),C.useEffect(()=>{let k=O=>{O.key===o&&(O.newValue?m(O.newValue):y(s))};return window.addEventListener("storage",k),()=>window.removeEventListener("storage",k)},[y]),C.useEffect(()=>{b(e??d)},[e,d]);let w=C.useMemo(()=>({theme:d,setTheme:y,forcedTheme:e,resolvedTheme:d==="system"?f:d,themes:n?[...i,"system"]:i,systemTheme:n?f:void 0}),[d,y,e,f,n,i]);return C.createElement(Og.Provider,{value:w},C.createElement(yP,{forcedTheme:e,storageKey:o,attribute:a,enableSystem:n,enableColorScheme:r,defaultTheme:s,value:l,themes:i,nonce:u,scriptProps:h}),c)},yP=C.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,themes:a,nonce:l,scriptProps:c})=>{let u=JSON.stringify([n,t,i,e,a,s,r,o]).slice(1,-1);return C.createElement("script",{...c,suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(${gP.toString()})(${u})`}})}),xP=(e,t)=>{if(pP)return;let n;try{n=localStorage.getItem(e)||void 0}catch{}return n||t},kP=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},Za=e=>(e||(e=window.matchMedia(Eg)),e.matches?"dark":"light");const CP=e=>g.jsx(mP,{attribute:"class",disableTransitionOnChange:!0,...e});/**
- * react-router v7.9.1
+ * react-router v7.9.2
  *
  * Copyright (c) Remix Software Inc.
  *
@@ -37,7 +37,7 @@
  * @license MIT
  */var Pg="popstate";function wP(e={}){function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return el("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Yr(o)}return EP(t,n,null,e)}function le(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function vt(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function SP(){return Math.random().toString(36).substring(2,10)}function Rg(e,t){return{usr:e.state,key:e.key,idx:t}}function el(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?cr(t):t,state:n,key:t&&t.key||r||SP()}}function Yr({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function cr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function EP(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a="POP",l=null,c=u();c==null&&(c=0,s.replaceState({...s.state,idx:c},""));function u(){return(s.state||{idx:null}).idx}function h(){a="POP";let v=u(),b=v==null?null:v-c;c=v,l&&l({action:a,location:p.location,delta:b})}function d(v,b){a="PUSH";let y=el(p.location,v,b);c=u()+1;let x=Rg(y,c),w=p.createHref(y);try{s.pushState(x,"",w)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;o.location.assign(w)}i&&l&&l({action:a,location:p.location,delta:1})}function m(v,b){a="REPLACE";let y=el(p.location,v,b);c=u();let x=Rg(y,c),w=p.createHref(y);s.replaceState(x,"",w),i&&l&&l({action:a,location:p.location,delta:0})}function f(v){return OP(v)}let p={get action(){return a},get location(){return e(o,s)},listen(v){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Pg,h),l=v,()=>{o.removeEventListener(Pg,h),l=null}},createHref(v){return t(o,v)},createURL:f,encodeLocation(v){let b=f(v);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:d,replace:m,go(v){return s.go(v)}};return p}function OP(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),le(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Yr(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function Ig(e,t,n="/"){return PP(e,t,n,!1)}function PP(e,t,n,r){let o=typeof t=="string"?cr(t):t,i=Pt(o.pathname||"/",n);if(i==null)return null;let s=Tg(e);RP(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let c=MP(i);a=DP(s[l],c,r)}return a}function Tg(e,t=[],n=[],r="",o=!1){let i=(s,a,l=o,c)=>{let u={relativePath:c===void 0?s.path||"":c,caseSensitive:s.caseSensitive===!0,childrenIndex:a,route:s};if(u.relativePath.startsWith("/")){if(!u.relativePath.startsWith(r)&&l)return;le(u.relativePath.startsWith(r),`Absolute route path "${u.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),u.relativePath=u.relativePath.slice(r.length)}let h=Rt([r,u.relativePath]),d=n.concat(u);s.children&&s.children.length>0&&(le(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${h}".`),Tg(s.children,t,d,h,l)),!(s.path==null&&!s.index)&&t.push({path:h,score:FP(h,s.index),routesMeta:d})};return e.forEach((s,a)=>{if(s.path===""||!s.path?.includes("?"))i(s,a);else for(let l of Ng(s.path))i(s,a,!0,l)}),t}function Ng(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=Ng(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function RP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:LP(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var IP=/^:[\w-]+$/,TP=3,NP=2,AP=1,_P=10,VP=-2,Ag=e=>e==="*";function FP(e,t){let n=e.split("/"),r=n.length;return n.some(Ag)&&(r+=VP),t&&(r+=NP),n.filter(o=>!Ag(o)).reduce((o,i)=>o+(IP.test(i)?TP:i===""?AP:_P),r)}function LP(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function DP(e,t,n=!1){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],c=a===r.length-1,u=i==="/"?t:t.slice(i.length)||"/",h=Ti({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},u),d=l.route;if(!h&&c&&n&&!r[r.length-1].route.index&&(h=Ti({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!h)return null;Object.assign(o,h.params),s.push({params:o,pathname:Rt([i,h.pathname]),pathnameBase:WP(Rt([i,h.pathnameBase])),route:d}),h.pathnameBase!=="/"&&(i=Rt([i,h.pathnameBase]))}return s}function Ti(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=zP(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((c,{paramName:u,isOptional:h},d)=>{if(u==="*"){let f=a[d]||"";s=i.slice(0,i.length-f.length).replace(/(.)\/+$/,"$1")}const m=a[d];return h&&!m?c[u]=void 0:c[u]=(m||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:s,pattern:e}}function zP(e,t=!1,n=!0){vt(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function MP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return vt(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Pt(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function jP(e,t="/"){let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?cr(e):e;return{pathname:n?n.startsWith("/")?n:$P(n,t):t,search:HP(r),hash:UP(o)}}function $P(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function tl(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function BP(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function _g(e){let t=BP(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Vg(e,t,n,r=!1){let o;typeof e=="string"?o=cr(e):(o={...e},le(!o.pathname||!o.pathname.includes("?"),tl("?","pathname","search",o)),le(!o.pathname||!o.pathname.includes("#"),tl("#","pathname","hash",o)),le(!o.search||!o.search.includes("#"),tl("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let h=t.length-1;if(!r&&s.startsWith("..")){let d=s.split("/");for(;d[0]==="..";)d.shift(),h-=1;o.pathname=d.join("/")}a=h>=0?t[h]:"/"}let l=jP(o,a),c=s&&s!=="/"&&s.endsWith("/"),u=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}var Rt=e=>e.join("/").replace(/\/\/+/g,"/"),WP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),HP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,UP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function GP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Fg=["POST","PUT","PATCH","DELETE"];new Set(Fg);var qP=["GET",...Fg];new Set(qP);var ur=C.createContext(null);ur.displayName="DataRouter";var Ni=C.createContext(null);Ni.displayName="DataRouterState",C.createContext(!1);var Lg=C.createContext({isTransitioning:!1});Lg.displayName="ViewTransition";var KP=C.createContext(new Map);KP.displayName="Fetchers";var YP=C.createContext(null);YP.displayName="Await";var bt=C.createContext(null);bt.displayName="Navigation";var Xr=C.createContext(null);Xr.displayName="Location";var It=C.createContext({outlet:null,matches:[],isDataRoute:!1});It.displayName="Route";var nl=C.createContext(null);nl.displayName="RouteError";function XP(e,{relative:t}={}){le(Qr(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=C.useContext(bt),{hash:o,pathname:i,search:s}=Jr(e,{relative:t}),a=i;return n!=="/"&&(a=i==="/"?n:Rt([n,i])),r.createHref({pathname:a,search:s,hash:o})}function Qr(){return C.useContext(Xr)!=null}function Nn(){return le(Qr(),"useLocation() may be used only in the context of a <Router> component."),C.useContext(Xr).location}var Dg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function zg(e){C.useContext(bt).static||C.useLayoutEffect(e)}function QP(){let{isDataRoute:e}=C.useContext(It);return e?uR():JP()}function JP(){le(Qr(),"useNavigate() may be used only in the context of a <Router> component.");let e=C.useContext(ur),{basename:t,navigator:n}=C.useContext(bt),{matches:r}=C.useContext(It),{pathname:o}=Nn(),i=JSON.stringify(_g(r)),s=C.useRef(!1);return zg(()=>{s.current=!0}),C.useCallback((l,c={})=>{if(vt(s.current,Dg),!s.current)return;if(typeof l=="number"){n.go(l);return}let u=Vg(l,JSON.parse(i),o,c.relative==="path");e==null&&t!=="/"&&(u.pathname=u.pathname==="/"?t:Rt([t,u.pathname])),(c.replace?n.replace:n.push)(u,c.state,c)},[t,n,i,o,e])}C.createContext(null);function Jr(e,{relative:t}={}){let{matches:n}=C.useContext(It),{pathname:r}=Nn(),o=JSON.stringify(_g(n));return C.useMemo(()=>Vg(e,JSON.parse(o),r,t==="path"),[e,o,r,t])}function ZP(e,t){return Mg(e,t)}function Mg(e,t,n,r,o){le(Qr(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=C.useContext(bt),{matches:s}=C.useContext(It),a=s[s.length-1],l=a?a.params:{},c=a?a.pathname:"/",u=a?a.pathnameBase:"/",h=a&&a.route;{let y=h&&h.path||"";$g(c,!h||y.endsWith("*")||y.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${y}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
 
-Please change the parent <Route path="${y}"> to <Route path="${y==="/"?"*":`${y}/*`}">.`)}let d=Nn(),m;if(t){let y=typeof t=="string"?cr(t):t;le(u==="/"||y.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${y.pathname}" was given in the \`location\` prop.`),m=y}else m=d;let f=m.pathname||"/",p=f;if(u!=="/"){let y=u.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(y.length).join("/")}let v=Ig(e,{pathname:p});vt(h||v!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),vt(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=oR(v&&v.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:Rt([u,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?u:Rt([u,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),s,n,r,o);return t&&b?C.createElement(Xr.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...m},navigationType:"POP"}},b):b}function eR(){let e=cR(),t=GP(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=C.createElement(C.Fragment,null,C.createElement("p",null,"💿 Hey developer 👋"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:i},"ErrorBoundary")," or"," ",C.createElement("code",{style:i},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:o},n):null,s)}var tR=C.createElement(eR,null),nR=class extends C.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.unstable_onError?this.props.unstable_onError(e,t):console.error("React Router caught the following error during render",e)}render(){return this.state.error!==void 0?C.createElement(It.Provider,{value:this.props.routeContext},C.createElement(nl.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function rR({routeContext:e,match:t,children:n}){let r=C.useContext(ur);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),C.createElement(It.Provider,{value:e},n)}function oR(e,t=[],n=null,r=null,o=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,s=n?.errors;if(s!=null){let c=i.findIndex(u=>u.route.id&&s?.[u.route.id]!==void 0);le(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),i=i.slice(0,Math.min(i.length,c+1))}let a=!1,l=-1;if(n)for(let c=0;c<i.length;c++){let u=i[c];if((u.route.HydrateFallback||u.route.hydrateFallbackElement)&&(l=c),u.route.id){let{loaderData:h,errors:d}=n,m=u.route.loader&&!h.hasOwnProperty(u.route.id)&&(!d||d[u.route.id]===void 0);if(u.route.lazy||m){a=!0,l>=0?i=i.slice(0,l+1):i=[i[0]];break}}}return i.reduceRight((c,u,h)=>{let d,m=!1,f=null,p=null;n&&(d=s&&u.route.id?s[u.route.id]:void 0,f=u.route.errorElement||tR,a&&(l<0&&h===0?($g("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),m=!0,p=null):l===h&&(m=!0,p=u.route.hydrateFallbackElement||null)));let v=t.concat(i.slice(0,h+1)),b=()=>{let y;return d?y=f:m?y=p:u.route.Component?y=C.createElement(u.route.Component,null):u.route.element?y=u.route.element:y=c,C.createElement(rR,{match:u,routeContext:{outlet:c,matches:v,isDataRoute:n!=null},children:y})};return n&&(u.route.ErrorBoundary||u.route.errorElement||h===0)?C.createElement(nR,{location:n.location,revalidation:n.revalidation,component:f,error:d,children:b(),routeContext:{outlet:null,matches:v,isDataRoute:!0},unstable_onError:r}):b()},null)}function rl(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function iR(e){let t=C.useContext(ur);return le(t,rl(e)),t}function sR(e){let t=C.useContext(Ni);return le(t,rl(e)),t}function aR(e){let t=C.useContext(It);return le(t,rl(e)),t}function ol(e){let t=aR(e),n=t.matches[t.matches.length-1];return le(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function lR(){return ol("useRouteId")}function cR(){let e=C.useContext(nl),t=sR("useRouteError"),n=ol("useRouteError");return e!==void 0?e:t.errors?.[n]}function uR(){let{router:e}=iR("useNavigate"),t=ol("useNavigate"),n=C.useRef(!1);return zg(()=>{n.current=!0}),C.useCallback(async(o,i={})=>{vt(n.current,Dg),n.current&&(typeof o=="number"?e.navigate(o):await e.navigate(o,{fromRouteId:t,...i}))},[e,t])}var jg={};function $g(e,t,n){!t&&!jg[e]&&(jg[e]=!0,vt(!1,n))}C.memo(dR);function dR({routes:e,future:t,state:n,unstable_onError:r}){return Mg(e,void 0,n,r,t)}function il(e){le(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function hR({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:i=!1}){le(!Qr(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),a=C.useMemo(()=>({basename:s,navigator:o,static:i,future:{}}),[s,o,i]);typeof n=="string"&&(n=cr(n));let{pathname:l="/",search:c="",hash:u="",state:h=null,key:d="default"}=n,m=C.useMemo(()=>{let f=Pt(l,s);return f==null?null:{location:{pathname:f,search:c,hash:u,state:h,key:d},navigationType:r}},[s,l,c,u,h,d,r]);return vt(m!=null,`<Router basename="${s}"> is not able to match the URL "${l}${c}${u}" because it does not start with the basename, so the <Router> won't render anything.`),m==null?null:C.createElement(bt.Provider,{value:a},C.createElement(Xr.Provider,{children:t,value:m}))}function fR({children:e,location:t}){return ZP(sl(e),t)}function sl(e,t=[]){let n=[];return C.Children.forEach(e,(r,o)=>{if(!C.isValidElement(r))return;let i=[...t,o];if(r.type===C.Fragment){n.push.apply(n,sl(r.props.children,i));return}le(r.type===il,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),le(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=sl(r.props.children,i)),n.push(s)}),n}var Ai="get",_i="application/x-www-form-urlencoded";function Vi(e){return e!=null&&typeof e.tagName=="string"}function gR(e){return Vi(e)&&e.tagName.toLowerCase()==="button"}function pR(e){return Vi(e)&&e.tagName.toLowerCase()==="form"}function mR(e){return Vi(e)&&e.tagName.toLowerCase()==="input"}function vR(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function bR(e,t){return e.button===0&&(!t||t==="_self")&&!vR(e)}var Fi=null;function yR(){if(Fi===null)try{new FormData(document.createElement("form"),0),Fi=!1}catch{Fi=!0}return Fi}var xR=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function al(e){return e!=null&&!xR.has(e)?(vt(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${_i}"`),null):e}function kR(e,t){let n,r,o,i,s;if(pR(e)){let a=e.getAttribute("action");r=a?Pt(a,t):null,n=e.getAttribute("method")||Ai,o=al(e.getAttribute("enctype"))||_i,i=new FormData(e)}else if(gR(e)||mR(e)&&(e.type==="submit"||e.type==="image")){let a=e.form;if(a==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||a.getAttribute("action");if(r=l?Pt(l,t):null,n=e.getAttribute("formmethod")||a.getAttribute("method")||Ai,o=al(e.getAttribute("formenctype"))||al(a.getAttribute("enctype"))||_i,i=new FormData(a,e),!yR()){let{name:c,type:u,value:h}=e;if(u==="image"){let d=c?`${c}.`:"";i.append(`${d}x`,"0"),i.append(`${d}y`,"0")}else c&&i.append(c,h)}}else{if(Vi(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Ai,r=null,o=_i,s=e}return i&&o==="text/plain"&&(s=i,i=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:i,body:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ll(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function CR(e,t,n){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname=`_root.${n}`:t&&Pt(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${n}`,r}async function wR(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function SR(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function ER(e,t,n){let r=await Promise.all(e.map(async o=>{let i=t.routes[o.route.id];if(i){let s=await wR(i,n);return s.links?s.links():[]}return[]}));return IR(r.flat(1).filter(SR).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Bg(e,t,n,r,o,i){let s=(l,c)=>n[c]?l.route.id!==n[c].route.id:!0,a=(l,c)=>n[c].pathname!==l.pathname||n[c].route.path?.endsWith("*")&&n[c].params["*"]!==l.params["*"];return i==="assets"?t.filter((l,c)=>s(l,c)||a(l,c)):i==="data"?t.filter((l,c)=>{let u=r.routes[l.route.id];if(!u||!u.hasLoader)return!1;if(s(l,c)||a(l,c))return!0;if(l.route.shouldRevalidate){let h=l.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:l.params,defaultShouldRevalidate:!0});if(typeof h=="boolean")return h}return!0}):[]}function OR(e,t,{includeHydrateFallback:n}={}){return PR(e.map(r=>{let o=t.routes[r.route.id];if(!o)return[];let i=[o.module];return o.clientActionModule&&(i=i.concat(o.clientActionModule)),o.clientLoaderModule&&(i=i.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(i=i.concat(o.hydrateFallbackModule)),o.imports&&(i=i.concat(o.imports)),i}).flat(1))}function PR(e){return[...new Set(e)]}function RR(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function IR(e,t){let n=new Set;return new Set(t),e.reduce((r,o)=>{let i=JSON.stringify(RR(o));return n.has(i)||(n.add(i),r.push({key:i,link:o})),r},[])}function Wg(){let e=C.useContext(ur);return ll(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function TR(){let e=C.useContext(Ni);return ll(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var cl=C.createContext(void 0);cl.displayName="FrameworkContext";function Hg(){let e=C.useContext(cl);return ll(e,"You must render this element inside a <HydratedRouter> element"),e}function NR(e,t){let n=C.useContext(cl),[r,o]=C.useState(!1),[i,s]=C.useState(!1),{onFocus:a,onBlur:l,onMouseEnter:c,onMouseLeave:u,onTouchStart:h}=t,d=C.useRef(null);C.useEffect(()=>{if(e==="render"&&s(!0),e==="viewport"){let p=b=>{b.forEach(y=>{s(y.isIntersecting)})},v=new IntersectionObserver(p,{threshold:.5});return d.current&&v.observe(d.current),()=>{v.disconnect()}}},[e]),C.useEffect(()=>{if(r){let p=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(p)}}},[r]);let m=()=>{o(!0)},f=()=>{o(!1),s(!1)};return n?e!=="intent"?[i,d,{}]:[i,d,{onFocus:Zr(a,m),onBlur:Zr(l,f),onMouseEnter:Zr(c,m),onMouseLeave:Zr(u,f),onTouchStart:Zr(h,m)}]:[!1,d,{}]}function Zr(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function AR({page:e,...t}){let{router:n}=Wg(),r=C.useMemo(()=>Ig(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?C.createElement(VR,{page:e,matches:r,...t}):null}function _R(e){let{manifest:t,routeModules:n}=Hg(),[r,o]=C.useState([]);return C.useEffect(()=>{let i=!1;return ER(e,t,n).then(s=>{i||o(s)}),()=>{i=!0}},[e,t,n]),r}function VR({page:e,matches:t,...n}){let r=Nn(),{manifest:o,routeModules:i}=Hg(),{basename:s}=Wg(),{loaderData:a,matches:l}=TR(),c=C.useMemo(()=>Bg(e,t,l,o,r,"data"),[e,t,l,o,r]),u=C.useMemo(()=>Bg(e,t,l,o,r,"assets"),[e,t,l,o,r]),h=C.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let f=new Set,p=!1;if(t.forEach(b=>{let y=o.routes[b.route.id];!y||!y.hasLoader||(!c.some(x=>x.route.id===b.route.id)&&b.route.id in a&&i[b.route.id]?.shouldRevalidate||y.hasClientLoader?p=!0:f.add(b.route.id))}),f.size===0)return[];let v=CR(e,s,"data");return p&&f.size>0&&v.searchParams.set("_routes",t.filter(b=>f.has(b.route.id)).map(b=>b.route.id).join(",")),[v.pathname+v.search]},[s,a,r,o,c,t,e,i]),d=C.useMemo(()=>OR(u,o),[u,o]),m=_R(u);return C.createElement(C.Fragment,null,h.map(f=>C.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...n})),d.map(f=>C.createElement("link",{key:f,rel:"modulepreload",href:f,...n})),m.map(({key:f,link:p})=>C.createElement("link",{key:f,nonce:n.nonce,...p})))}function FR(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var Ug=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Ug&&(window.__reactRouterVersion="7.9.1")}catch{}function LR({basename:e,children:t,window:n}){let r=C.useRef();r.current==null&&(r.current=wP({window:n,v5Compat:!0}));let o=r.current,[i,s]=C.useState({action:o.action,location:o.location}),a=C.useCallback(l=>{C.startTransition(()=>s(l))},[s]);return C.useLayoutEffect(()=>o.listen(a),[o,a]),C.createElement(hR,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:o})}var Gg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ul=C.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:o,reloadDocument:i,replace:s,state:a,target:l,to:c,preventScrollReset:u,viewTransition:h,...d},m){let{basename:f}=C.useContext(bt),p=typeof c=="string"&&Gg.test(c),v,b=!1;if(typeof c=="string"&&p&&(v=c,Ug))try{let N=new URL(window.location.href),A=c.startsWith("//")?new URL(N.protocol+c):new URL(c),T=Pt(A.pathname,f);A.origin===N.origin&&T!=null?c=T+A.search+A.hash:b=!0}catch{vt(!1,`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let y=XP(c,{relative:o}),[x,w,k]=NR(r,d),O=MR(c,{replace:s,state:a,target:l,preventScrollReset:u,relative:o,viewTransition:h});function R(N){t&&t(N),N.defaultPrevented||O(N)}let I=C.createElement("a",{...d,...k,href:v||y,onClick:b||i?t:R,ref:FR(m,w),target:l,"data-discover":!p&&n==="render"?"true":void 0});return x&&!p?C.createElement(C.Fragment,null,I,C.createElement(AR,{page:y})):I});ul.displayName="Link";var qg=C.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:o=!1,style:i,to:s,viewTransition:a,children:l,...c},u){let h=Jr(s,{relative:c.relative}),d=Nn(),m=C.useContext(Ni),{navigator:f,basename:p}=C.useContext(bt),v=m!=null&&HR(h)&&a===!0,b=f.encodeLocation?f.encodeLocation(h).pathname:h.pathname,y=d.pathname,x=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;n||(y=y.toLowerCase(),x=x?x.toLowerCase():null,b=b.toLowerCase()),x&&p&&(x=Pt(x,p)||x);const w=b!=="/"&&b.endsWith("/")?b.length-1:b.length;let k=y===b||!o&&y.startsWith(b)&&y.charAt(w)==="/",O=x!=null&&(x===b||!o&&x.startsWith(b)&&x.charAt(b.length)==="/"),R={isActive:k,isPending:O,isTransitioning:v},I=k?t:void 0,N;typeof r=="function"?N=r(R):N=[r,k?"active":null,O?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let A=typeof i=="function"?i(R):i;return C.createElement(ul,{...c,"aria-current":I,className:N,ref:u,style:A,to:s,viewTransition:a},typeof l=="function"?l(R):l)});qg.displayName="NavLink";var DR=C.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:o,state:i,method:s=Ai,action:a,onSubmit:l,relative:c,preventScrollReset:u,viewTransition:h,...d},m)=>{let f=BR(),p=WR(a,{relative:c}),v=s.toLowerCase()==="get"?"get":"post",b=typeof a=="string"&&Gg.test(a),y=x=>{if(l&&l(x),x.defaultPrevented)return;x.preventDefault();let w=x.nativeEvent.submitter,k=w?.getAttribute("formmethod")||s;f(w||x.currentTarget,{fetcherKey:t,method:k,navigate:n,replace:o,state:i,relative:c,preventScrollReset:u,viewTransition:h})};return C.createElement("form",{ref:m,method:v,action:p,onSubmit:r?l:y,...d,"data-discover":!b&&e==="render"?"true":void 0})});DR.displayName="Form";function zR(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Kg(e){let t=C.useContext(ur);return le(t,zR(e)),t}function MR(e,{target:t,replace:n,state:r,preventScrollReset:o,relative:i,viewTransition:s}={}){let a=QP(),l=Nn(),c=Jr(e,{relative:i});return C.useCallback(u=>{if(bR(u,t)){u.preventDefault();let h=n!==void 0?n:Yr(l)===Yr(c);a(e,{replace:h,state:r,preventScrollReset:o,relative:i,viewTransition:s})}},[l,a,c,n,r,t,e,o,i,s])}var jR=0,$R=()=>`__${String(++jR)}__`;function BR(){let{router:e}=Kg("useSubmit"),{basename:t}=C.useContext(bt),n=lR();return C.useCallback(async(r,o={})=>{let{action:i,method:s,encType:a,formData:l,body:c}=kR(r,t);if(o.navigate===!1){let u=o.fetcherKey||$R();await e.fetch(u,n,o.action||i,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||s,formEncType:o.encType||a,flushSync:o.flushSync})}else await e.navigate(o.action||i,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||s,formEncType:o.encType||a,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[e,t,n])}function WR(e,{relative:t}={}){let{basename:n}=C.useContext(bt),r=C.useContext(It);le(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),i={...Jr(e||".",{relative:t})},s=Nn();if(e==null){i.search=s.search;let a=new URLSearchParams(i.search),l=a.getAll("index");if(l.some(u=>u==="")){a.delete("index"),l.filter(h=>h).forEach(h=>a.append("index",h));let u=a.toString();i.search=u?`?${u}`:""}}return(!e||e===".")&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(i.pathname=i.pathname==="/"?n:Rt([n,i.pathname])),Yr(i)}function HR(e,{relative:t}={}){let n=C.useContext(Lg);le(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Kg("useViewTransitionState"),o=Jr(e,{relative:t});if(!n.isTransitioning)return!1;let i=Pt(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=Pt(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Ti(o.pathname,s)!=null||Ti(o.pathname,i)!=null}const UR="UiServiceWorker",GR=e=>[UR],qR="UiServiceJobs",KR=e=>[qR];class Yg{_fns;constructor(){this._fns=[]}eject(t){const n=this._fns.indexOf(t);n!==-1&&(this._fns=[...this._fns.slice(0,n),...this._fns.slice(n+1)])}use(t){this._fns=[...this._fns,t]}}const Tt={BASE:"",CREDENTIALS:"include",ENCODE_PATH:void 0,HEADERS:void 0,PASSWORD:void 0,TOKEN:void 0,USERNAME:void 0,VERSION:"0.1.0",WITH_CREDENTIALS:!1,interceptors:{request:new Yg,response:new Yg}};class Xg extends Error{url;status;statusText;body;request;constructor(t,n,r){super(r),this.name="ApiError",this.url=n.url,this.status=n.status,this.statusText=n.statusText,this.body=n.body,this.request=t}}class YR extends Error{constructor(t){super(t),this.name="CancelError"}get isCancelled(){return!0}}class XR{_isResolved;_isRejected;_isCancelled;cancelHandlers;promise;_resolve;_reject;constructor(t){this._isResolved=!1,this._isRejected=!1,this._isCancelled=!1,this.cancelHandlers=[],this.promise=new Promise((n,r)=>{this._resolve=n,this._reject=r;const o=a=>{this._isResolved||this._isRejected||this._isCancelled||(this._isResolved=!0,this._resolve&&this._resolve(a))},i=a=>{this._isResolved||this._isRejected||this._isCancelled||(this._isRejected=!0,this._reject&&this._reject(a))},s=a=>{this._isResolved||this._isRejected||this._isCancelled||this.cancelHandlers.push(a)};return Object.defineProperty(s,"isResolved",{get:()=>this._isResolved}),Object.defineProperty(s,"isRejected",{get:()=>this._isRejected}),Object.defineProperty(s,"isCancelled",{get:()=>this._isCancelled}),t(o,i,s)})}get[Symbol.toStringTag](){return"Cancellable Promise"}then(t,n){return this.promise.then(t,n)}catch(t){return this.promise.catch(t)}finally(t){return this.promise.finally(t)}cancel(){if(!(this._isResolved||this._isRejected||this._isCancelled)){if(this._isCancelled=!0,this.cancelHandlers.length)try{for(const t of this.cancelHandlers)t()}catch(t){console.warn("Cancellation threw an error",t);return}this.cancelHandlers.length=0,this._reject&&this._reject(new YR("Request aborted"))}}get isCancelled(){return this._isCancelled}}const Li=e=>typeof e=="string",dl=e=>Li(e)&&e!=="",Qg=e=>e instanceof Blob,QR=e=>e instanceof FormData,Jg=e=>e>=200&&e<300,JR=e=>{try{return btoa(e)}catch{return Buffer.from(e).toString("base64")}},ZR=e=>{const t=[],n=(o,i)=>{t.push(`${encodeURIComponent(o)}=${encodeURIComponent(String(i))}`)},r=(o,i)=>{i!=null&&(i instanceof Date?n(o,i.toISOString()):Array.isArray(i)?i.forEach(s=>r(o,s)):typeof i=="object"?Object.entries(i).forEach(([s,a])=>r(`${o}[${s}]`,a)):n(o,i))};return Object.entries(e).forEach(([o,i])=>r(o,i)),t.length?`?${t.join("&")}`:""},eI=(e,t)=>{const n=encodeURI,r=t.url.replace("{api-version}",e.VERSION).replace(/{(.*?)}/g,(i,s)=>t.path?.hasOwnProperty(s)?n(String(t.path[s])):i),o=e.BASE+r;return t.query?o+ZR(t.query):o},tI=e=>{if(e.formData){const t=new FormData,n=(r,o)=>{Li(o)||Qg(o)?t.append(r,o):t.append(r,JSON.stringify(o))};return Object.entries(e.formData).filter(([,r])=>r!=null).forEach(([r,o])=>{Array.isArray(o)?o.forEach(i=>n(r,i)):n(r,o)}),t}},Di=async(e,t)=>t,nI=async(e,t)=>{const[n,r,o,i]=await Promise.all([Di(t,e.TOKEN),Di(t,e.USERNAME),Di(t,e.PASSWORD),Di(t,e.HEADERS)]),s=Object.entries({Accept:"application/json",...i,...t.headers}).filter(([,a])=>a!=null).reduce((a,[l,c])=>({...a,[l]:String(c)}),{});if(dl(n)&&(s.Authorization=`Bearer ${n}`),dl(r)&&dl(o)){const a=JR(`${r}:${o}`);s.Authorization=`Basic ${a}`}return t.body!==void 0?t.mediaType?s["Content-Type"]=t.mediaType:Qg(t.body)?s["Content-Type"]=t.body.type||"application/octet-stream":Li(t.body)?s["Content-Type"]="text/plain":QR(t.body)||(s["Content-Type"]="application/json"):t.formData!==void 0&&t.mediaType&&(s["Content-Type"]=t.mediaType),s},rI=e=>{if(e.body)return e.body},oI=async(e,t,n,r,o,i,s,a)=>{const l=new AbortController;let c={data:r??o,headers:i,method:t.method,signal:l.signal,url:n,withCredentials:e.WITH_CREDENTIALS};s(()=>l.abort());for(const u of e.interceptors.request._fns)c=await u(c);try{return await a.request(c)}catch(u){const h=u;if(h.response)return h.response;throw u}},iI=(e,t)=>{if(t){const n=e.headers[t];if(Li(n))return n}},sI=e=>{if(e.status!==204)return e.data},aI=(e,t)=>{const r={400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"Im a teapot",421:"Misdirected Request",422:"Unprocessable Content",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required",...e.errors}[t.status];if(r)throw new Xg(e,t,r);if(!t.ok){const o=t.status??"unknown",i=t.statusText??"unknown",s=(()=>{try{return JSON.stringify(t.body,null,2)}catch{return}})();throw new Xg(e,t,`Generic Error: status: ${o}; status text: ${i}; body: ${s}`)}},Nt=(e,t,n=ce)=>new XR(async(r,o,i)=>{try{const s=eI(e,t),a=tI(t),l=rI(t),c=await nI(e,t);if(!i.isCancelled){let u=await oI(e,t,s,l,a,c,i,n);for(const p of e.interceptors.response._fns)u=await p(u);const h=sI(u),d=iI(u,t.responseHeader);let m=h;t.responseTransformer&&Jg(u.status)&&(m=await t.responseTransformer(h));const f={url:s,ok:Jg(u.status),status:u.status,statusText:u.statusText,body:d??m};aI(t,f),r(f.body)}}catch(s){o(s)}});class At{static worker(){return Nt(Tt,{method:"GET",url:"/edge_worker/ui/worker"})}static jobs(){return Nt(Tt,{method:"GET",url:"/edge_worker/ui/jobs"})}static requestWorkerMaintenance(t){return Nt(Tt,{method:"POST",url:"/edge_worker/ui/worker/{worker_name}/maintenance",path:{worker_name:t.workerName},body:t.requestBody,mediaType:"application/json",errors:{422:"Validation Error"}})}static updateWorkerMaintenance(t){return Nt(Tt,{method:"PATCH",url:"/edge_worker/ui/worker/{worker_name}/maintenance",path:{worker_name:t.workerName},body:t.requestBody,mediaType:"application/json",errors:{422:"Validation Error"}})}static exitWorkerMaintenance(t){return Nt(Tt,{method:"DELETE",url:"/edge_worker/ui/worker/{worker_name}/maintenance",path:{worker_name:t.workerName},errors:{422:"Validation Error"}})}static requestWorkerShutdown(t){return Nt(Tt,{method:"POST",url:"/edge_worker/ui/worker/{worker_name}/shutdown",path:{worker_name:t.workerName},errors:{422:"Validation Error"}})}static deleteWorker(t){return Nt(Tt,{method:"DELETE",url:"/edge_worker/ui/worker/{worker_name}",path:{worker_name:t.workerName},errors:{422:"Validation Error"}})}static addWorkerQueue(t){return Nt(Tt,{method:"PUT",url:"/edge_worker/ui/worker/{worker_name}/queues/{queue_name}",path:{worker_name:t.workerName,queue_name:t.queueName},errors:{422:"Validation Error"}})}static removeWorkerQueue(t){return Nt(Tt,{method:"DELETE",url:"/edge_worker/ui/worker/{worker_name}/queues/{queue_name}",path:{worker_name:t.workerName,queue_name:t.queueName},errors:{422:"Validation Error"}})}}const lI=(e,t)=>zf({queryKey:GR(),queryFn:()=>At.worker(),...t}),cI=(e,t)=>zf({queryKey:KR(),queryFn:()=>At.jobs(),...t}),uI=e=>Pn({mutationFn:({requestBody:t,workerName:n})=>At.requestWorkerMaintenance({requestBody:t,workerName:n}),...e}),dI=e=>Pn({mutationFn:({workerName:t})=>At.requestWorkerShutdown({workerName:t}),...e}),hI=e=>Pn({mutationFn:({queueName:t,workerName:n})=>At.addWorkerQueue({queueName:t,workerName:n}),...e}),fI=e=>Pn({mutationFn:({requestBody:t,workerName:n})=>At.updateWorkerMaintenance({requestBody:t,workerName:n}),...e}),gI=e=>Pn({mutationFn:({workerName:t})=>At.exitWorkerMaintenance({workerName:t}),...e}),pI=e=>Pn({mutationFn:({workerName:t})=>At.deleteWorker({workerName:t}),...e}),mI=e=>Pn({mutationFn:({queueName:t,workerName:n})=>At.removeWorkerQueue({queueName:t,workerName:n}),...e});function zi(e){const t=new Date(e);if(!Number.isNaN(t.valueOf()))return t;const n=String(e).match(/\d+/g);if(n==null||n.length<=2)return t;{const[r,o,...i]=n.map(l=>parseInt(l)),s=[r,o-1,...i];return new Date(Date.UTC(...s))}}const eo=(e,t,n)=>{const r=e!==1?t+"s":t;return e+" "+r+" "+n};function hl(){return hl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hl.apply(null,arguments)}const to=60,no=to*60,dr=no*24,Mi=dr*7,Zg=dr*30,ep=dr*365,vI=()=>Date.now();function ji({date:e,formatter:t,component:n="time",live:r=!0,minPeriod:o=0,maxPeriod:i=Mi,title:s,now:a=vI,...l}){const[c,u]=P.useState(a());P.useEffect(()=>{if(!r)return;const R=(()=>{const I=zi(e).valueOf();if(!I)return console.warn("[react-timeago] Invalid Date provided"),0;const N=Math.round(Math.abs(c-I)/1e3),A=N<to?1e3:N<no?1e3*to:N<dr?1e3*no:1e3*Mi,T=Math.min(Math.max(A,o*1e3),i*1e3);return T?setTimeout(()=>{u(a())},T):0})();return()=>{R&&clearTimeout(R)}},[e,r,i,o,a,c]),P.useEffect(()=>{u(a())},[e]);const h=n,d=zi(e).valueOf();if(!d)return null;const m=Math.round(Math.abs(c-d)/1e3),f=d<c?"ago":"from now",[p,v]=m<to?[Math.round(m),"second"]:m<no?[Math.round(m/to),"minute"]:m<dr?[Math.round(m/no),"hour"]:m<Mi?[Math.round(m/dr),"day"]:m<Zg?[Math.round(m/Mi),"week"]:m<ep?[Math.round(m/Zg),"month"]:[Math.round(m/ep),"year"],b=typeof s>"u"?typeof e=="string"?e:zi(e).toISOString().substring(0,16).replace("T"," "):s,y=h==="time"?{...l,dateTime:zi(e).toISOString()}:l,x=(O=O,R=R,I=I,N=d,A=eo,T=T)=>eo(O,R,I),w=t||eo;let k;try{k=w(p,v,f,d,x,a),k||(k=eo(p,v,f,d,x,a))}catch(O){console.error("[react-timeago] Formatter threw an error:",O),k=eo(p,v,f)}return C.createElement(h,hl({},y,{title:b}),k)}var tp={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},np=P.createContext&&P.createContext(tp),bI=["attr","size","title"];function yI(e,t){if(e==null)return{};var n=xI(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xI(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function $i(){return $i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$i.apply(this,arguments)}function rp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Bi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rp(Object(n),!0).forEach(function(r){kI(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function kI(e,t,n){return t=CI(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function CI(e){var t=wI(e,"string");return typeof t=="symbol"?t:t+""}function wI(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function op(e){return e&&e.map((t,n)=>P.createElement(t.tag,Bi({key:n},t.attr),op(t.child)))}function re(e){return t=>P.createElement(SI,$i({attr:Bi({},e.attr)},t),op(e.child))}function SI(e){var t=n=>{var{attr:r,size:o,title:i}=e,s=yI(e,bI),a=o||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),P.createElement("svg",$i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:l,style:Bi(Bi({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),i&&P.createElement("title",null,i),e.children)};return np!==void 0?P.createElement(np.Consumer,null,n=>t(n)):t(tp)}function EI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 10v4h4"},child:[]},{tag:"path",attr:{d:"m11 14 1.535-1.605a5 5 0 0 1 8 1.5"},child:[]},{tag:"path",attr:{d:"M16 2v4"},child:[]},{tag:"path",attr:{d:"m21 18-1.535 1.605a5 5 0 0 1-8-1.5"},child:[]},{tag:"path",attr:{d:"M21 22v-4h-4"},child:[]},{tag:"path",attr:{d:"M21 8.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4.3"},child:[]},{tag:"path",attr:{d:"M3 10h4"},child:[]},{tag:"path",attr:{d:"M8 2v4"},child:[]}]})(e)}function OI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20 6 9 17l-5-5"},child:[]}]})(e)}function ip(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.1 2.182a10 10 0 0 1 3.8 0"},child:[]},{tag:"path",attr:{d:"M13.9 21.818a10 10 0 0 1-3.8 0"},child:[]},{tag:"path",attr:{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7"},child:[]},{tag:"path",attr:{d:"M2.182 13.9a10 10 0 0 1 0-3.8"},child:[]},{tag:"path",attr:{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69"},child:[]},{tag:"path",attr:{d:"M21.818 10.1a10 10 0 0 1 0 3.8"},child:[]},{tag:"path",attr:{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69"},child:[]},{tag:"path",attr:{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7"},child:[]}]})(e)}function PI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 2a10 10 0 0 1 7.38 16.75"},child:[]},{tag:"path",attr:{d:"m16 12-4-4-4 4"},child:[]},{tag:"path",attr:{d:"M12 16V8"},child:[]},{tag:"path",attr:{d:"M2.5 8.875a10 10 0 0 0-.5 3"},child:[]},{tag:"path",attr:{d:"M2.83 16a10 10 0 0 0 2.43 3.4"},child:[]},{tag:"path",attr:{d:"M4.636 5.235a10 10 0 0 1 .891-.857"},child:[]},{tag:"path",attr:{d:"M8.644 21.42a10 10 0 0 0 7.631-.38"},child:[]}]})(e)}function RI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M15 3h6v6"},child:[]},{tag:"path",attr:{d:"M10 14 21 3"},child:[]},{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"},child:[]}]})(e)}function sp(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 12H3"},child:[]},{tag:"path",attr:{d:"M16 6H3"},child:[]},{tag:"path",attr:{d:"M16 18H3"},child:[]},{tag:"path",attr:{d:"M21 12h-6"},child:[]}]})(e)}function ap(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 12H3"},child:[]},{tag:"path",attr:{d:"M16 6H3"},child:[]},{tag:"path",attr:{d:"M16 18H3"},child:[]},{tag:"path",attr:{d:"M18 9v6"},child:[]},{tag:"path",attr:{d:"M21 12h-6"},child:[]}]})(e)}function II(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"m15 14 5-5-5-5"},child:[]},{tag:"path",attr:{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13"},child:[]}]})(e)}function TI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 6 6 18"},child:[]},{tag:"path",attr:{d:"m6 6 12 12"},child:[]}]})(e)}const NI=P.forwardRef((e,t)=>g.jsx(Et,{"aria-label":"Close",ref:t,variant:"ghost",...e,children:e.children??g.jsx(TI,{})})),AI=P.forwardRef((e,t)=>{const{children:n,closable:r,endElement:o,icon:i,onClose:s,startElement:a,title:l,...c}=e;return g.jsxs(ME,{ref:t,...c,alignItems:"center",children:[a??g.jsx(WE,{children:i}),n?g.jsxs($E,{children:[g.jsx(rf,{children:l}),g.jsx(jE,{children:n})]}):g.jsx(rf,{flex:"1",children:l}),o,r?g.jsx(NI,{alignSelf:"flex-start",insetEnd:"-2",onClick:s,pos:"relative",size:"sm",top:"-2"}):void 0]})});/*!
+Please change the parent <Route path="${y}"> to <Route path="${y==="/"?"*":`${y}/*`}">.`)}let d=Nn(),m;if(t){let y=typeof t=="string"?cr(t):t;le(u==="/"||y.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${y.pathname}" was given in the \`location\` prop.`),m=y}else m=d;let f=m.pathname||"/",p=f;if(u!=="/"){let y=u.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(y.length).join("/")}let v=Ig(e,{pathname:p});vt(h||v!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),vt(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=oR(v&&v.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:Rt([u,i.encodeLocation?i.encodeLocation(y.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?u:Rt([u,i.encodeLocation?i.encodeLocation(y.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathnameBase])})),s,n,r,o);return t&&b?C.createElement(Xr.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...m},navigationType:"POP"}},b):b}function eR(){let e=cR(),t=GP(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=C.createElement(C.Fragment,null,C.createElement("p",null,"💿 Hey developer 👋"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:i},"ErrorBoundary")," or"," ",C.createElement("code",{style:i},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:o},n):null,s)}var tR=C.createElement(eR,null),nR=class extends C.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.unstable_onError?this.props.unstable_onError(e,t):console.error("React Router caught the following error during render",e)}render(){return this.state.error!==void 0?C.createElement(It.Provider,{value:this.props.routeContext},C.createElement(nl.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function rR({routeContext:e,match:t,children:n}){let r=C.useContext(ur);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),C.createElement(It.Provider,{value:e},n)}function oR(e,t=[],n=null,r=null,o=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,s=n?.errors;if(s!=null){let c=i.findIndex(u=>u.route.id&&s?.[u.route.id]!==void 0);le(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),i=i.slice(0,Math.min(i.length,c+1))}let a=!1,l=-1;if(n)for(let c=0;c<i.length;c++){let u=i[c];if((u.route.HydrateFallback||u.route.hydrateFallbackElement)&&(l=c),u.route.id){let{loaderData:h,errors:d}=n,m=u.route.loader&&!h.hasOwnProperty(u.route.id)&&(!d||d[u.route.id]===void 0);if(u.route.lazy||m){a=!0,l>=0?i=i.slice(0,l+1):i=[i[0]];break}}}return i.reduceRight((c,u,h)=>{let d,m=!1,f=null,p=null;n&&(d=s&&u.route.id?s[u.route.id]:void 0,f=u.route.errorElement||tR,a&&(l<0&&h===0?($g("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),m=!0,p=null):l===h&&(m=!0,p=u.route.hydrateFallbackElement||null)));let v=t.concat(i.slice(0,h+1)),b=()=>{let y;return d?y=f:m?y=p:u.route.Component?y=C.createElement(u.route.Component,null):u.route.element?y=u.route.element:y=c,C.createElement(rR,{match:u,routeContext:{outlet:c,matches:v,isDataRoute:n!=null},children:y})};return n&&(u.route.ErrorBoundary||u.route.errorElement||h===0)?C.createElement(nR,{location:n.location,revalidation:n.revalidation,component:f,error:d,children:b(),routeContext:{outlet:null,matches:v,isDataRoute:!0},unstable_onError:r}):b()},null)}function rl(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function iR(e){let t=C.useContext(ur);return le(t,rl(e)),t}function sR(e){let t=C.useContext(Ni);return le(t,rl(e)),t}function aR(e){let t=C.useContext(It);return le(t,rl(e)),t}function ol(e){let t=aR(e),n=t.matches[t.matches.length-1];return le(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function lR(){return ol("useRouteId")}function cR(){let e=C.useContext(nl),t=sR("useRouteError"),n=ol("useRouteError");return e!==void 0?e:t.errors?.[n]}function uR(){let{router:e}=iR("useNavigate"),t=ol("useNavigate"),n=C.useRef(!1);return zg(()=>{n.current=!0}),C.useCallback(async(o,i={})=>{vt(n.current,Dg),n.current&&(typeof o=="number"?e.navigate(o):await e.navigate(o,{fromRouteId:t,...i}))},[e,t])}var jg={};function $g(e,t,n){!t&&!jg[e]&&(jg[e]=!0,vt(!1,n))}C.memo(dR);function dR({routes:e,future:t,state:n,unstable_onError:r}){return Mg(e,void 0,n,r,t)}function il(e){le(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function hR({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:i=!1}){le(!Qr(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),a=C.useMemo(()=>({basename:s,navigator:o,static:i,future:{}}),[s,o,i]);typeof n=="string"&&(n=cr(n));let{pathname:l="/",search:c="",hash:u="",state:h=null,key:d="default"}=n,m=C.useMemo(()=>{let f=Pt(l,s);return f==null?null:{location:{pathname:f,search:c,hash:u,state:h,key:d},navigationType:r}},[s,l,c,u,h,d,r]);return vt(m!=null,`<Router basename="${s}"> is not able to match the URL "${l}${c}${u}" because it does not start with the basename, so the <Router> won't render anything.`),m==null?null:C.createElement(bt.Provider,{value:a},C.createElement(Xr.Provider,{children:t,value:m}))}function fR({children:e,location:t}){return ZP(sl(e),t)}function sl(e,t=[]){let n=[];return C.Children.forEach(e,(r,o)=>{if(!C.isValidElement(r))return;let i=[...t,o];if(r.type===C.Fragment){n.push.apply(n,sl(r.props.children,i));return}le(r.type===il,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),le(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=sl(r.props.children,i)),n.push(s)}),n}var Ai="get",_i="application/x-www-form-urlencoded";function Vi(e){return e!=null&&typeof e.tagName=="string"}function gR(e){return Vi(e)&&e.tagName.toLowerCase()==="button"}function pR(e){return Vi(e)&&e.tagName.toLowerCase()==="form"}function mR(e){return Vi(e)&&e.tagName.toLowerCase()==="input"}function vR(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function bR(e,t){return e.button===0&&(!t||t==="_self")&&!vR(e)}var Fi=null;function yR(){if(Fi===null)try{new FormData(document.createElement("form"),0),Fi=!1}catch{Fi=!0}return Fi}var xR=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function al(e){return e!=null&&!xR.has(e)?(vt(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${_i}"`),null):e}function kR(e,t){let n,r,o,i,s;if(pR(e)){let a=e.getAttribute("action");r=a?Pt(a,t):null,n=e.getAttribute("method")||Ai,o=al(e.getAttribute("enctype"))||_i,i=new FormData(e)}else if(gR(e)||mR(e)&&(e.type==="submit"||e.type==="image")){let a=e.form;if(a==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||a.getAttribute("action");if(r=l?Pt(l,t):null,n=e.getAttribute("formmethod")||a.getAttribute("method")||Ai,o=al(e.getAttribute("formenctype"))||al(a.getAttribute("enctype"))||_i,i=new FormData(a,e),!yR()){let{name:c,type:u,value:h}=e;if(u==="image"){let d=c?`${c}.`:"";i.append(`${d}x`,"0"),i.append(`${d}y`,"0")}else c&&i.append(c,h)}}else{if(Vi(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Ai,r=null,o=_i,s=e}return i&&o==="text/plain"&&(s=i,i=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:i,body:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ll(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function CR(e,t,n){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname==="/"?r.pathname=`_root.${n}`:t&&Pt(r.pathname,t)==="/"?r.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${n}`,r}async function wR(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function SR(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function ER(e,t,n){let r=await Promise.all(e.map(async o=>{let i=t.routes[o.route.id];if(i){let s=await wR(i,n);return s.links?s.links():[]}return[]}));return IR(r.flat(1).filter(SR).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Bg(e,t,n,r,o,i){let s=(l,c)=>n[c]?l.route.id!==n[c].route.id:!0,a=(l,c)=>n[c].pathname!==l.pathname||n[c].route.path?.endsWith("*")&&n[c].params["*"]!==l.params["*"];return i==="assets"?t.filter((l,c)=>s(l,c)||a(l,c)):i==="data"?t.filter((l,c)=>{let u=r.routes[l.route.id];if(!u||!u.hasLoader)return!1;if(s(l,c)||a(l,c))return!0;if(l.route.shouldRevalidate){let h=l.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:l.params,defaultShouldRevalidate:!0});if(typeof h=="boolean")return h}return!0}):[]}function OR(e,t,{includeHydrateFallback:n}={}){return PR(e.map(r=>{let o=t.routes[r.route.id];if(!o)return[];let i=[o.module];return o.clientActionModule&&(i=i.concat(o.clientActionModule)),o.clientLoaderModule&&(i=i.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(i=i.concat(o.hydrateFallbackModule)),o.imports&&(i=i.concat(o.imports)),i}).flat(1))}function PR(e){return[...new Set(e)]}function RR(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function IR(e,t){let n=new Set;return new Set(t),e.reduce((r,o)=>{let i=JSON.stringify(RR(o));return n.has(i)||(n.add(i),r.push({key:i,link:o})),r},[])}function Wg(){let e=C.useContext(ur);return ll(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function TR(){let e=C.useContext(Ni);return ll(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var cl=C.createContext(void 0);cl.displayName="FrameworkContext";function Hg(){let e=C.useContext(cl);return ll(e,"You must render this element inside a <HydratedRouter> element"),e}function NR(e,t){let n=C.useContext(cl),[r,o]=C.useState(!1),[i,s]=C.useState(!1),{onFocus:a,onBlur:l,onMouseEnter:c,onMouseLeave:u,onTouchStart:h}=t,d=C.useRef(null);C.useEffect(()=>{if(e==="render"&&s(!0),e==="viewport"){let p=b=>{b.forEach(y=>{s(y.isIntersecting)})},v=new IntersectionObserver(p,{threshold:.5});return d.current&&v.observe(d.current),()=>{v.disconnect()}}},[e]),C.useEffect(()=>{if(r){let p=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(p)}}},[r]);let m=()=>{o(!0)},f=()=>{o(!1),s(!1)};return n?e!=="intent"?[i,d,{}]:[i,d,{onFocus:Zr(a,m),onBlur:Zr(l,f),onMouseEnter:Zr(c,m),onMouseLeave:Zr(u,f),onTouchStart:Zr(h,m)}]:[!1,d,{}]}function Zr(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function AR({page:e,...t}){let{router:n}=Wg(),r=C.useMemo(()=>Ig(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?C.createElement(VR,{page:e,matches:r,...t}):null}function _R(e){let{manifest:t,routeModules:n}=Hg(),[r,o]=C.useState([]);return C.useEffect(()=>{let i=!1;return ER(e,t,n).then(s=>{i||o(s)}),()=>{i=!0}},[e,t,n]),r}function VR({page:e,matches:t,...n}){let r=Nn(),{manifest:o,routeModules:i}=Hg(),{basename:s}=Wg(),{loaderData:a,matches:l}=TR(),c=C.useMemo(()=>Bg(e,t,l,o,r,"data"),[e,t,l,o,r]),u=C.useMemo(()=>Bg(e,t,l,o,r,"assets"),[e,t,l,o,r]),h=C.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let f=new Set,p=!1;if(t.forEach(b=>{let y=o.routes[b.route.id];!y||!y.hasLoader||(!c.some(x=>x.route.id===b.route.id)&&b.route.id in a&&i[b.route.id]?.shouldRevalidate||y.hasClientLoader?p=!0:f.add(b.route.id))}),f.size===0)return[];let v=CR(e,s,"data");return p&&f.size>0&&v.searchParams.set("_routes",t.filter(b=>f.has(b.route.id)).map(b=>b.route.id).join(",")),[v.pathname+v.search]},[s,a,r,o,c,t,e,i]),d=C.useMemo(()=>OR(u,o),[u,o]),m=_R(u);return C.createElement(C.Fragment,null,h.map(f=>C.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...n})),d.map(f=>C.createElement("link",{key:f,rel:"modulepreload",href:f,...n})),m.map(({key:f,link:p})=>C.createElement("link",{key:f,nonce:n.nonce,...p})))}function FR(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var Ug=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Ug&&(window.__reactRouterVersion="7.9.2")}catch{}function LR({basename:e,children:t,window:n}){let r=C.useRef();r.current==null&&(r.current=wP({window:n,v5Compat:!0}));let o=r.current,[i,s]=C.useState({action:o.action,location:o.location}),a=C.useCallback(l=>{C.startTransition(()=>s(l))},[s]);return C.useLayoutEffect(()=>o.listen(a),[o,a]),C.createElement(hR,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:o})}var Gg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ul=C.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:o,reloadDocument:i,replace:s,state:a,target:l,to:c,preventScrollReset:u,viewTransition:h,...d},m){let{basename:f}=C.useContext(bt),p=typeof c=="string"&&Gg.test(c),v,b=!1;if(typeof c=="string"&&p&&(v=c,Ug))try{let N=new URL(window.location.href),A=c.startsWith("//")?new URL(N.protocol+c):new URL(c),T=Pt(A.pathname,f);A.origin===N.origin&&T!=null?c=T+A.search+A.hash:b=!0}catch{vt(!1,`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let y=XP(c,{relative:o}),[x,w,k]=NR(r,d),O=MR(c,{replace:s,state:a,target:l,preventScrollReset:u,relative:o,viewTransition:h});function R(N){t&&t(N),N.defaultPrevented||O(N)}let I=C.createElement("a",{...d,...k,href:v||y,onClick:b||i?t:R,ref:FR(m,w),target:l,"data-discover":!p&&n==="render"?"true":void 0});return x&&!p?C.createElement(C.Fragment,null,I,C.createElement(AR,{page:y})):I});ul.displayName="Link";var qg=C.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:o=!1,style:i,to:s,viewTransition:a,children:l,...c},u){let h=Jr(s,{relative:c.relative}),d=Nn(),m=C.useContext(Ni),{navigator:f,basename:p}=C.useContext(bt),v=m!=null&&HR(h)&&a===!0,b=f.encodeLocation?f.encodeLocation(h).pathname:h.pathname,y=d.pathname,x=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;n||(y=y.toLowerCase(),x=x?x.toLowerCase():null,b=b.toLowerCase()),x&&p&&(x=Pt(x,p)||x);const w=b!=="/"&&b.endsWith("/")?b.length-1:b.length;let k=y===b||!o&&y.startsWith(b)&&y.charAt(w)==="/",O=x!=null&&(x===b||!o&&x.startsWith(b)&&x.charAt(b.length)==="/"),R={isActive:k,isPending:O,isTransitioning:v},I=k?t:void 0,N;typeof r=="function"?N=r(R):N=[r,k?"active":null,O?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let A=typeof i=="function"?i(R):i;return C.createElement(ul,{...c,"aria-current":I,className:N,ref:u,style:A,to:s,viewTransition:a},typeof l=="function"?l(R):l)});qg.displayName="NavLink";var DR=C.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:o,state:i,method:s=Ai,action:a,onSubmit:l,relative:c,preventScrollReset:u,viewTransition:h,...d},m)=>{let f=BR(),p=WR(a,{relative:c}),v=s.toLowerCase()==="get"?"get":"post",b=typeof a=="string"&&Gg.test(a),y=x=>{if(l&&l(x),x.defaultPrevented)return;x.preventDefault();let w=x.nativeEvent.submitter,k=w?.getAttribute("formmethod")||s;f(w||x.currentTarget,{fetcherKey:t,method:k,navigate:n,replace:o,state:i,relative:c,preventScrollReset:u,viewTransition:h})};return C.createElement("form",{ref:m,method:v,action:p,onSubmit:r?l:y,...d,"data-discover":!b&&e==="render"?"true":void 0})});DR.displayName="Form";function zR(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Kg(e){let t=C.useContext(ur);return le(t,zR(e)),t}function MR(e,{target:t,replace:n,state:r,preventScrollReset:o,relative:i,viewTransition:s}={}){let a=QP(),l=Nn(),c=Jr(e,{relative:i});return C.useCallback(u=>{if(bR(u,t)){u.preventDefault();let h=n!==void 0?n:Yr(l)===Yr(c);a(e,{replace:h,state:r,preventScrollReset:o,relative:i,viewTransition:s})}},[l,a,c,n,r,t,e,o,i,s])}var jR=0,$R=()=>`__${String(++jR)}__`;function BR(){let{router:e}=Kg("useSubmit"),{basename:t}=C.useContext(bt),n=lR();return C.useCallback(async(r,o={})=>{let{action:i,method:s,encType:a,formData:l,body:c}=kR(r,t);if(o.navigate===!1){let u=o.fetcherKey||$R();await e.fetch(u,n,o.action||i,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||s,formEncType:o.encType||a,flushSync:o.flushSync})}else await e.navigate(o.action||i,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||s,formEncType:o.encType||a,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[e,t,n])}function WR(e,{relative:t}={}){let{basename:n}=C.useContext(bt),r=C.useContext(It);le(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),i={...Jr(e||".",{relative:t})},s=Nn();if(e==null){i.search=s.search;let a=new URLSearchParams(i.search),l=a.getAll("index");if(l.some(u=>u==="")){a.delete("index"),l.filter(h=>h).forEach(h=>a.append("index",h));let u=a.toString();i.search=u?`?${u}`:""}}return(!e||e===".")&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(i.pathname=i.pathname==="/"?n:Rt([n,i.pathname])),Yr(i)}function HR(e,{relative:t}={}){let n=C.useContext(Lg);le(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Kg("useViewTransitionState"),o=Jr(e,{relative:t});if(!n.isTransitioning)return!1;let i=Pt(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=Pt(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Ti(o.pathname,s)!=null||Ti(o.pathname,i)!=null}const UR="UiServiceWorker",GR=e=>[UR],qR="UiServiceJobs",KR=e=>[qR];class Yg{_fns;constructor(){this._fns=[]}eject(t){const n=this._fns.indexOf(t);n!==-1&&(this._fns=[...this._fns.slice(0,n),...this._fns.slice(n+1)])}use(t){this._fns=[...this._fns,t]}}const Tt={BASE:"",CREDENTIALS:"include",ENCODE_PATH:void 0,HEADERS:void 0,PASSWORD:void 0,TOKEN:void 0,USERNAME:void 0,VERSION:"0.1.0",WITH_CREDENTIALS:!1,interceptors:{request:new Yg,response:new Yg}};class Xg extends Error{url;status;statusText;body;request;constructor(t,n,r){super(r),this.name="ApiError",this.url=n.url,this.status=n.status,this.statusText=n.statusText,this.body=n.body,this.request=t}}class YR extends Error{constructor(t){super(t),this.name="CancelError"}get isCancelled(){return!0}}class XR{_isResolved;_isRejected;_isCancelled;cancelHandlers;promise;_resolve;_reject;constructor(t){this._isResolved=!1,this._isRejected=!1,this._isCancelled=!1,this.cancelHandlers=[],this.promise=new Promise((n,r)=>{this._resolve=n,this._reject=r;const o=a=>{this._isResolved||this._isRejected||this._isCancelled||(this._isResolved=!0,this._resolve&&this._resolve(a))},i=a=>{this._isResolved||this._isRejected||this._isCancelled||(this._isRejected=!0,this._reject&&this._reject(a))},s=a=>{this._isResolved||this._isRejected||this._isCancelled||this.cancelHandlers.push(a)};return Object.defineProperty(s,"isResolved",{get:()=>this._isResolved}),Object.defineProperty(s,"isRejected",{get:()=>this._isRejected}),Object.defineProperty(s,"isCancelled",{get:()=>this._isCancelled}),t(o,i,s)})}get[Symbol.toStringTag](){return"Cancellable Promise"}then(t,n){return this.promise.then(t,n)}catch(t){return this.promise.catch(t)}finally(t){return this.promise.finally(t)}cancel(){if(!(this._isResolved||this._isRejected||this._isCancelled)){if(this._isCancelled=!0,this.cancelHandlers.length)try{for(const t of this.cancelHandlers)t()}catch(t){console.warn("Cancellation threw an error",t);return}this.cancelHandlers.length=0,this._reject&&this._reject(new YR("Request aborted"))}}get isCancelled(){return this._isCancelled}}const Li=e=>typeof e=="string",dl=e=>Li(e)&&e!=="",Qg=e=>e instanceof Blob,QR=e=>e instanceof FormData,Jg=e=>e>=200&&e<300,JR=e=>{try{return btoa(e)}catch{return Buffer.from(e).toString("base64")}},ZR=e=>{const t=[],n=(o,i)=>{t.push(`${encodeURIComponent(o)}=${encodeURIComponent(String(i))}`)},r=(o,i)=>{i!=null&&(i instanceof Date?n(o,i.toISOString()):Array.isArray(i)?i.forEach(s=>r(o,s)):typeof i=="object"?Object.entries(i).forEach(([s,a])=>r(`${o}[${s}]`,a)):n(o,i))};return Object.entries(e).forEach(([o,i])=>r(o,i)),t.length?`?${t.join("&")}`:""},eI=(e,t)=>{const n=encodeURI,r=t.url.replace("{api-version}",e.VERSION).replace(/{(.*?)}/g,(i,s)=>t.path?.hasOwnProperty(s)?n(String(t.path[s])):i),o=e.BASE+r;return t.query?o+ZR(t.query):o},tI=e=>{if(e.formData){const t=new FormData,n=(r,o)=>{Li(o)||Qg(o)?t.append(r,o):t.append(r,JSON.stringify(o))};return Object.entries(e.formData).filter(([,r])=>r!=null).forEach(([r,o])=>{Array.isArray(o)?o.forEach(i=>n(r,i)):n(r,o)}),t}},Di=async(e,t)=>t,nI=async(e,t)=>{const[n,r,o,i]=await Promise.all([Di(t,e.TOKEN),Di(t,e.USERNAME),Di(t,e.PASSWORD),Di(t,e.HEADERS)]),s=Object.entries({Accept:"application/json",...i,...t.headers}).filter(([,a])=>a!=null).reduce((a,[l,c])=>({...a,[l]:String(c)}),{});if(dl(n)&&(s.Authorization=`Bearer ${n}`),dl(r)&&dl(o)){const a=JR(`${r}:${o}`);s.Authorization=`Basic ${a}`}return t.body!==void 0?t.mediaType?s["Content-Type"]=t.mediaType:Qg(t.body)?s["Content-Type"]=t.body.type||"application/octet-stream":Li(t.body)?s["Content-Type"]="text/plain":QR(t.body)||(s["Content-Type"]="application/json"):t.formData!==void 0&&t.mediaType&&(s["Content-Type"]=t.mediaType),s},rI=e=>{if(e.body)return e.body},oI=async(e,t,n,r,o,i,s,a)=>{const l=new AbortController;let c={data:r??o,headers:i,method:t.method,signal:l.signal,url:n,withCredentials:e.WITH_CREDENTIALS};s(()=>l.abort());for(const u of e.interceptors.request._fns)c=await u(c);try{return await a.request(c)}catch(u){const h=u;if(h.response)return h.response;throw u}},iI=(e,t)=>{if(t){const n=e.headers[t];if(Li(n))return n}},sI=e=>{if(e.status!==204)return e.data},aI=(e,t)=>{const r={400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"Im a teapot",421:"Misdirected Request",422:"Unprocessable Content",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required",...e.errors}[t.status];if(r)throw new Xg(e,t,r);if(!t.ok){const o=t.status??"unknown",i=t.statusText??"unknown",s=(()=>{try{return JSON.stringify(t.body,null,2)}catch{return}})();throw new Xg(e,t,`Generic Error: status: ${o}; status text: ${i}; body: ${s}`)}},Nt=(e,t,n=ce)=>new XR(async(r,o,i)=>{try{const s=eI(e,t),a=tI(t),l=rI(t),c=await nI(e,t);if(!i.isCancelled){let u=await oI(e,t,s,l,a,c,i,n);for(const p of e.interceptors.response._fns)u=await p(u);const h=sI(u),d=iI(u,t.responseHeader);let m=h;t.responseTransformer&&Jg(u.status)&&(m=await t.responseTransformer(h));const f={url:s,ok:Jg(u.status),status:u.status,statusText:u.statusText,body:d??m};aI(t,f),r(f.body)}}catch(s){o(s)}});class At{static worker(){return Nt(Tt,{method:"GET",url:"/edge_worker/ui/worker"})}static jobs(){return Nt(Tt,{method:"GET",url:"/edge_worker/ui/jobs"})}static requestWorkerMaintenance(t){return Nt(Tt,{method:"POST",url:"/edge_worker/ui/worker/{worker_name}/maintenance",path:{worker_name:t.workerName},body:t.requestBody,mediaType:"application/json",errors:{422:"Validation Error"}})}static updateWorkerMaintenance(t){return Nt(Tt,{method:"PATCH",url:"/edge_worker/ui/worker/{worker_name}/maintenance",path:{worker_name:t.workerName},body:t.requestBody,mediaType:"application/json",errors:{422:"Validation Error"}})}static exitWorkerMaintenance(t){return Nt(Tt,{method:"DELETE",url:"/edge_worker/ui/worker/{worker_name}/maintenance",path:{worker_name:t.workerName},errors:{422:"Validation Error"}})}static requestWorkerShutdown(t){return Nt(Tt,{method:"POST",url:"/edge_worker/ui/worker/{worker_name}/shutdown",path:{worker_name:t.workerName},errors:{422:"Validation Error"}})}static deleteWorker(t){return Nt(Tt,{method:"DELETE",url:"/edge_worker/ui/worker/{worker_name}",path:{worker_name:t.workerName},errors:{422:"Validation Error"}})}static addWorkerQueue(t){return Nt(Tt,{method:"PUT",url:"/edge_worker/ui/worker/{worker_name}/queues/{queue_name}",path:{worker_name:t.workerName,queue_name:t.queueName},errors:{422:"Validation Error"}})}static removeWorkerQueue(t){return Nt(Tt,{method:"DELETE",url:"/edge_worker/ui/worker/{worker_name}/queues/{queue_name}",path:{worker_name:t.workerName,queue_name:t.queueName},errors:{422:"Validation Error"}})}}const lI=(e,t)=>zf({queryKey:GR(),queryFn:()=>At.worker(),...t}),cI=(e,t)=>zf({queryKey:KR(),queryFn:()=>At.jobs(),...t}),uI=e=>Pn({mutationFn:({requestBody:t,workerName:n})=>At.requestWorkerMaintenance({requestBody:t,workerName:n}),...e}),dI=e=>Pn({mutationFn:({workerName:t})=>At.requestWorkerShutdown({workerName:t}),...e}),hI=e=>Pn({mutationFn:({queueName:t,workerName:n})=>At.addWorkerQueue({queueName:t,workerName:n}),...e}),fI=e=>Pn({mutationFn:({requestBody:t,workerName:n})=>At.updateWorkerMaintenance({requestBody:t,workerName:n}),...e}),gI=e=>Pn({mutationFn:({workerName:t})=>At.exitWorkerMaintenance({workerName:t}),...e}),pI=e=>Pn({mutationFn:({workerName:t})=>At.deleteWorker({workerName:t}),...e}),mI=e=>Pn({mutationFn:({queueName:t,workerName:n})=>At.removeWorkerQueue({queueName:t,workerName:n}),...e});function zi(e){const t=new Date(e);if(!Number.isNaN(t.valueOf()))return t;const n=String(e).match(/\d+/g);if(n==null||n.length<=2)return t;{const[r,o,...i]=n.map(l=>parseInt(l)),s=[r,o-1,...i];return new Date(Date.UTC(...s))}}const eo=(e,t,n)=>{const r=e!==1?t+"s":t;return e+" "+r+" "+n};function hl(){return hl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hl.apply(null,arguments)}const to=60,no=to*60,dr=no*24,Mi=dr*7,Zg=dr*30,ep=dr*365,vI=()=>Date.now();function ji({date:e,formatter:t,component:n="time",live:r=!0,minPeriod:o=0,maxPeriod:i=Mi,title:s,now:a=vI,...l}){const[c,u]=P.useState(a());P.useEffect(()=>{if(!r)return;const R=(()=>{const I=zi(e).valueOf();if(!I)return console.warn("[react-timeago] Invalid Date provided"),0;const N=Math.round(Math.abs(c-I)/1e3),A=N<to?1e3:N<no?1e3*to:N<dr?1e3*no:1e3*Mi,T=Math.min(Math.max(A,o*1e3),i*1e3);return T?setTimeout(()=>{u(a())},T):0})();return()=>{R&&clearTimeout(R)}},[e,r,i,o,a,c]),P.useEffect(()=>{u(a())},[e]);const h=n,d=zi(e).valueOf();if(!d)return null;const m=Math.round(Math.abs(c-d)/1e3),f=d<c?"ago":"from now",[p,v]=m<to?[Math.round(m),"second"]:m<no?[Math.round(m/to),"minute"]:m<dr?[Math.round(m/no),"hour"]:m<Mi?[Math.round(m/dr),"day"]:m<Zg?[Math.round(m/Mi),"week"]:m<ep?[Math.round(m/Zg),"month"]:[Math.round(m/ep),"year"],b=typeof s>"u"?typeof e=="string"?e:zi(e).toISOString().substring(0,16).replace("T"," "):s,y=h==="time"?{...l,dateTime:zi(e).toISOString()}:l,x=(O=O,R=R,I=I,N=d,A=eo,T=T)=>eo(O,R,I),w=t||eo;let k;try{k=w(p,v,f,d,x,a),k||(k=eo(p,v,f,d,x,a))}catch(O){console.error("[react-timeago] Formatter threw an error:",O),k=eo(p,v,f)}return C.createElement(h,hl({},y,{title:b}),k)}var tp={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},np=P.createContext&&P.createContext(tp),bI=["attr","size","title"];function yI(e,t){if(e==null)return{};var n=xI(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xI(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function $i(){return $i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$i.apply(this,arguments)}function rp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Bi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rp(Object(n),!0).forEach(function(r){kI(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function kI(e,t,n){return t=CI(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function CI(e){var t=wI(e,"string");return typeof t=="symbol"?t:t+""}function wI(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function op(e){return e&&e.map((t,n)=>P.createElement(t.tag,Bi({key:n},t.attr),op(t.child)))}function re(e){return t=>P.createElement(SI,$i({attr:Bi({},e.attr)},t),op(e.child))}function SI(e){var t=n=>{var{attr:r,size:o,title:i}=e,s=yI(e,bI),a=o||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),P.createElement("svg",$i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:l,style:Bi(Bi({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),i&&P.createElement("title",null,i),e.children)};return np!==void 0?P.createElement(np.Consumer,null,n=>t(n)):t(tp)}function EI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 10v4h4"},child:[]},{tag:"path",attr:{d:"m11 14 1.535-1.605a5 5 0 0 1 8 1.5"},child:[]},{tag:"path",attr:{d:"M16 2v4"},child:[]},{tag:"path",attr:{d:"m21 18-1.535 1.605a5 5 0 0 1-8-1.5"},child:[]},{tag:"path",attr:{d:"M21 22v-4h-4"},child:[]},{tag:"path",attr:{d:"M21 8.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h4.3"},child:[]},{tag:"path",attr:{d:"M3 10h4"},child:[]},{tag:"path",attr:{d:"M8 2v4"},child:[]}]})(e)}function OI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20 6 9 17l-5-5"},child:[]}]})(e)}function ip(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.1 2.182a10 10 0 0 1 3.8 0"},child:[]},{tag:"path",attr:{d:"M13.9 21.818a10 10 0 0 1-3.8 0"},child:[]},{tag:"path",attr:{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7"},child:[]},{tag:"path",attr:{d:"M2.182 13.9a10 10 0 0 1 0-3.8"},child:[]},{tag:"path",attr:{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69"},child:[]},{tag:"path",attr:{d:"M21.818 10.1a10 10 0 0 1 0 3.8"},child:[]},{tag:"path",attr:{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69"},child:[]},{tag:"path",attr:{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7"},child:[]}]})(e)}function PI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 2a10 10 0 0 1 7.38 16.75"},child:[]},{tag:"path",attr:{d:"m16 12-4-4-4 4"},child:[]},{tag:"path",attr:{d:"M12 16V8"},child:[]},{tag:"path",attr:{d:"M2.5 8.875a10 10 0 0 0-.5 3"},child:[]},{tag:"path",attr:{d:"M2.83 16a10 10 0 0 0 2.43 3.4"},child:[]},{tag:"path",attr:{d:"M4.636 5.235a10 10 0 0 1 .891-.857"},child:[]},{tag:"path",attr:{d:"M8.644 21.42a10 10 0 0 0 7.631-.38"},child:[]}]})(e)}function RI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M15 3h6v6"},child:[]},{tag:"path",attr:{d:"M10 14 21 3"},child:[]},{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"},child:[]}]})(e)}function sp(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 12H3"},child:[]},{tag:"path",attr:{d:"M16 6H3"},child:[]},{tag:"path",attr:{d:"M16 18H3"},child:[]},{tag:"path",attr:{d:"M21 12h-6"},child:[]}]})(e)}function ap(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 12H3"},child:[]},{tag:"path",attr:{d:"M16 6H3"},child:[]},{tag:"path",attr:{d:"M16 18H3"},child:[]},{tag:"path",attr:{d:"M18 9v6"},child:[]},{tag:"path",attr:{d:"M21 12h-6"},child:[]}]})(e)}function II(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"m15 14 5-5-5-5"},child:[]},{tag:"path",attr:{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13"},child:[]}]})(e)}function TI(e){return re({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 6 6 18"},child:[]},{tag:"path",attr:{d:"m6 6 12 12"},child:[]}]})(e)}const NI=P.forwardRef((e,t)=>g.jsx(Et,{"aria-label":"Close",ref:t,variant:"ghost",...e,children:e.children??g.jsx(TI,{})})),AI=P.forwardRef((e,t)=>{const{children:n,closable:r,endElement:o,icon:i,onClose:s,startElement:a,title:l,...c}=e;return g.jsxs(ME,{ref:t,...c,alignItems:"center",children:[a??g.jsx(WE,{children:i}),n?g.jsxs($E,{children:[g.jsx(rf,{children:l}),g.jsx(jE,{children:n})]}):g.jsx(rf,{flex:"1",children:l}),o,r?g.jsx(NI,{alignSelf:"flex-start",insetEnd:"-2",onClick:s,pos:"relative",size:"sm",top:"-2"}):void 0]})});/*!
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/services.gen.ts b/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/services.gen.ts
index 45fe4554830cf..5871630d1d436 100644
--- a/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/services.gen.ts
+++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/services.gen.ts
@@ -47,7 +47,7 @@ export class JobsService {
      * @param data.mapIndex For dynamically mapped tasks the mapping number, -1 if the task is not mapped.
      * @param data.state State of the assigned task under execution.
      * @param data.authorization JWT Authorization Token
-     * @returns null Successful Response
+     * @returns unknown Successful Response
      * @throws ApiError
      */
     public static state(data: StateData): CancelablePromise<StateResponse> {
@@ -122,7 +122,7 @@ export class LogsService {
      * @param data.mapIndex For dynamically mapped tasks the mapping number, -1 if the task is not mapped.
      * @param data.authorization JWT Authorization Token
      * @param data.requestBody
-     * @returns null Successful Response
+     * @returns unknown Successful Response
      * @throws ApiError
      */
     public static pushLogs(data: PushLogsData): CancelablePromise<PushLogsResponse> {
@@ -218,7 +218,7 @@ export class WorkerService {
      * @param data.workerName Hostname or instance name of the worker
      * @param data.authorization JWT Authorization Token
      * @param data.requestBody
-     * @returns null Successful Response
+     * @returns unknown Successful Response
      * @throws ApiError
      */
     public static updateQueues(data: UpdateQueuesData): CancelablePromise<UpdateQueuesResponse> {
@@ -292,7 +292,7 @@ export class UiService {
      * @param data The data for the request.
      * @param data.workerName
      * @param data.requestBody
-     * @returns null Successful Response
+     * @returns unknown Successful Response
      * @throws ApiError
      */
     public static requestWorkerMaintenance(data: RequestWorkerMaintenanceData): CancelablePromise<RequestWorkerMaintenanceResponse> {
@@ -316,7 +316,7 @@ export class UiService {
      * @param data The data for the request.
      * @param data.workerName
      * @param data.requestBody
-     * @returns null Successful Response
+     * @returns unknown Successful Response
      * @throws ApiError
      */
     public static updateWorkerMaintenance(data: UpdateWorkerMaintenanceData): CancelablePromise<UpdateWorkerMaintenanceResponse> {
@@ -339,7 +339,7 @@ export class UiService {
      * Exit a worker from maintenance mode.
      * @param data The data for the request.
      * @param data.workerName
-     * @returns null Successful Response
+     * @returns unknown Successful Response
      * @throws ApiError
      */
     public static exitWorkerMaintenance(data: ExitWorkerMaintenanceData): CancelablePromise<ExitWorkerMaintenanceResponse> {
@@ -360,7 +360,7 @@ export class UiService {
      * Request shutdown of a worker.
      * @param data The data for the request.
      * @param data.workerName
-     * @returns null Successful Response
+     * @returns unknown Successful Response
      * @throws ApiError
      */
     public static requestWorkerShutdown(data: RequestWorkerShutdownData): CancelablePromise<RequestWorkerShutdownResponse> {
@@ -381,7 +381,7 @@ export class UiService {
      * Delete a worker record from the system.
      * @param data The data for the request.
      * @param data.workerName
-     * @returns null Successful Response
+     * @returns unknown Successful Response
      * @throws ApiError
      */
     public static deleteWorker(data: DeleteWorkerData): CancelablePromise<DeleteWorkerResponse> {
@@ -403,7 +403,7 @@ export class UiService {
      * @param data The data for the request.
      * @param data.workerName
      * @param data.queueName
-     * @returns null Successful Response
+     * @returns unknown Successful Response
      * @throws ApiError
      */
     public static addWorkerQueue(data: AddWorkerQueueData): CancelablePromise<AddWorkerQueueResponse> {
@@ -426,7 +426,7 @@ export class UiService {
      * @param data The data for the request.
      * @param data.workerName
      * @param data.queueName
-     * @returns null Successful Response
+     * @returns unknown Successful Response
      * @throws ApiError
      */
     public static removeWorkerQueue(data: RemoveWorkerQueueData): CancelablePromise<RemoveWorkerQueueResponse> {
diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/types.gen.ts b/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/types.gen.ts
index 9630cebd4f8c1..483da4e148446 100644
--- a/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/types.gen.ts
+++ b/providers/edge3/src/airflow/providers/edge3/plugins/www/openapi-gen/requests/types.gen.ts
@@ -359,7 +359,7 @@ export type StateData = {
     tryNumber: number;
 };
 
-export type StateResponse = null;
+export type StateResponse = unknown;
 
 export type LogfilePathData = {
     /**
@@ -418,7 +418,7 @@ export type PushLogsData = {
     tryNumber: number;
 };
 
-export type PushLogsResponse = null;
+export type PushLogsResponse = unknown;
 
 export type RegisterData = {
     /**
@@ -460,7 +460,7 @@ export type UpdateQueuesData = {
     workerName: string;
 };
 
-export type UpdateQueuesResponse = null;
+export type UpdateQueuesResponse = unknown;
 
 export type HealthResponse = {
     [key: string]: (string);
@@ -475,46 +475,46 @@ export type RequestWorkerMaintenanceData = {
     workerName: string;
 };
 
-export type RequestWorkerMaintenanceResponse = null;
+export type RequestWorkerMaintenanceResponse = unknown;
 
 export type UpdateWorkerMaintenanceData = {
     requestBody: MaintenanceRequest;
     workerName: string;
 };
 
-export type UpdateWorkerMaintenanceResponse = null;
+export type UpdateWorkerMaintenanceResponse = unknown;
 
 export type ExitWorkerMaintenanceData = {
     workerName: string;
 };
 
-export type ExitWorkerMaintenanceResponse = null;
+export type ExitWorkerMaintenanceResponse = unknown;
 
 export type RequestWorkerShutdownData = {
     workerName: string;
 };
 
-export type RequestWorkerShutdownResponse = null;
+export type RequestWorkerShutdownResponse = unknown;
 
 export type DeleteWorkerData = {
     workerName: string;
 };
 
-export type DeleteWorkerResponse = null;
+export type DeleteWorkerResponse = unknown;
 
 export type AddWorkerQueueData = {
     queueName: string;
     workerName: string;
 };
 
-export type AddWorkerQueueResponse = null;
+export type AddWorkerQueueResponse = unknown;
 
 export type RemoveWorkerQueueData = {
     queueName: string;
     workerName: string;
 };
 
-export type RemoveWorkerQueueResponse = null;
+export type RemoveWorkerQueueResponse = unknown;
 
 export type $OpenApiTs = {
     '/edge_worker/v1/jobs/fetch/{worker_name}': {
@@ -547,7 +547,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: null;
+                200: unknown;
                 /**
                  * Bad Request
                  */
@@ -593,7 +593,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: null;
+                200: unknown;
                 /**
                  * Bad Request
                  */
@@ -660,7 +660,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: null;
+                200: unknown;
                 /**
                  * Bad Request
                  */
@@ -715,7 +715,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: null;
+                200: unknown;
                 /**
                  * Validation Error
                  */
@@ -728,7 +728,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: null;
+                200: unknown;
                 /**
                  * Validation Error
                  */
@@ -741,7 +741,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: null;
+                200: unknown;
                 /**
                  * Validation Error
                  */
@@ -756,7 +756,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: null;
+                200: unknown;
                 /**
                  * Validation Error
                  */
@@ -771,7 +771,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: null;
+                200: unknown;
                 /**
                  * Validation Error
                  */
@@ -786,7 +786,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: null;
+                200: unknown;
                 /**
                  * Validation Error
                  */
@@ -799,7 +799,7 @@ export type $OpenApiTs = {
                 /**
                  * Successful Response
                  */
-                200: null;
+                200: unknown;
                 /**
                  * Validation Error
                  */
diff --git a/providers/edge3/www-hash.txt b/providers/edge3/www-hash.txt
index 226220127aaf2..7d7c111098a29 100644
--- a/providers/edge3/www-hash.txt
+++ b/providers/edge3/www-hash.txt
@@ -1 +1 @@
-3fc258d3b6f86b7020a7b09b4ecbd3a71d95b35a85253aa2a3c8d3cdde4ed23f
+719ccadaebac924011168dd33e1a46f7128362bfdd487ac43cefba7c365d717b
