adminizer 4.6.0-build.209 → 4.6.0-build.211

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/assets/{RelationDialogStack-ETpzjqa5.js → RelationDialogStack-CJ8JvUDg.js} +99 -99
  2. package/assets/{add-CvqQD6Pa.js → add-COpwiOsy.js} +1 -1
  3. package/assets/{add-group-DImyJrfv.js → add-group-Bjq2R0iV.js} +1 -1
  4. package/assets/{add-user-DfjWpDnG.js → add-user-ChZGses8.js} +1 -1
  5. package/assets/{app-layout-CCFuoBGb.js → app-layout-mT3oXgd7.js} +1 -1
  6. package/assets/app.js +26 -26
  7. package/assets/{catalog-DEzNeE3X.js → catalog-RUS5EBuy.js} +1 -1
  8. package/assets/dashboard-5NZ3QseL.js +3 -0
  9. package/assets/del-modal-CF3OUMvW.js +1 -0
  10. package/assets/{form-CP8HwSIz.js → form-Cb-Rvm4q.js} +1 -1
  11. package/assets/form-WqY1RtmV.js +1 -0
  12. package/assets/{history-BNV1oHho.js → history-B_8v8I3J.js} +1 -1
  13. package/assets/{home-B2sL7cw4.js → home-C_xUaJoJ.js} +2 -2
  14. package/assets/{list-B94jmpgr.js → list-CDFtsuUr.js} +1 -1
  15. package/assets/{list-table-a2bIPh90.js → list-table-PLHaED_1.js} +1 -1
  16. package/assets/login-puJIq5NA.js +1 -0
  17. package/assets/manifest.json +56 -56
  18. package/assets/{media-manager-CpMXDZ5y.js → media-manager-cxqvQCCY.js} +4 -4
  19. package/assets/module-BDXazYdM.js +1 -0
  20. package/assets/notification-Deuf56Yd.js +27 -0
  21. package/assets/{welcome-CFZVe2KA.js → welcome-BerxxdCf.js} +1 -1
  22. package/controllers/login.js +1 -1
  23. package/helpers/inertiaAutHelper.js +6 -0
  24. package/helpers/inertiaMenuHelper.d.ts +4 -1
  25. package/helpers/inertiaMenuHelper.js +18 -2
  26. package/index.d.ts +1 -0
  27. package/index.js +1 -0
  28. package/lib/Adminizer.d.ts +3 -0
  29. package/lib/Adminizer.js +6 -0
  30. package/package.json +1 -1
  31. package/system/bindInertia.js +30 -1
  32. package/translations/ar.json +96 -67
  33. package/translations/cn.json +96 -67
  34. package/translations/de.json +30 -1
  35. package/translations/en.json +185 -156
  36. package/translations/es.json +96 -67
  37. package/translations/fr.json +96 -67
  38. package/translations/hi.json +96 -67
  39. package/translations/jp.json +96 -67
  40. package/translations/ko.json +96 -67
  41. package/translations/pt.json +96 -67
  42. package/translations/ru.json +40 -60
  43. package/translations/ua.json +96 -67
  44. package/translations/uz.json +30 -1
  45. package/translations/vi.json +96 -67
  46. package/assets/dashboard-DRt3eLcx.js +0 -3
  47. package/assets/del-modal-TaroxmfE.js +0 -1
  48. package/assets/form-D9_qsBQO.js +0 -1
  49. package/assets/login-BfN1lJT1.js +0 -1
  50. package/assets/module-CPe8opSY.js +0 -1
  51. package/assets/notification-BjbG79fu.js +0 -27
package/assets/app.js CHANGED
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./add-group-DImyJrfv.js","./app-layout-CCFuoBGb.js","./app-shell-DbPu3ZPM.js","./handsontable-PxYdjN8c.js","./jsoneditor-De1FvcYu.js","./monaco-BhBYtg3d.js","./app-sidebar-DEpxtufv.js","./nav-main-CroFjRVi.js","./material-icon-BXxpxGAd.js","./app-sidebar-header-BeiWUuCC.js","./breadcrumbs-CZZirDj8.js","./nav-user-DIuv8mfu.js","./user-info-DtBK5Kh8.js","./user-menu-content-bdKtg5yV.js","./theme-switcher-2tPEnSJf.js","./icon-BTIjB9Wk.js","./RelationDialogStack-ETpzjqa5.js","./dynamic-controls-k61T9W2P.js","./input-error-CSrUHo1P.js","./RelationDialogStack-DV8OITPR.css","./add-group-form-B7c4coU-.js","./add-user-DfjWpDnG.js","./add-user-form-BXSGx38D.js","./add-CvqQD6Pa.js","./catalog-DEzNeE3X.js","./del-modal-TaroxmfE.js","./catalog-D4n6dpGl.css","./dashboard-DRt3eLcx.js","./dashboard-BOltB2Hq.css","./form-CP8HwSIz.js","./form-D9_qsBQO.js","./history-BNV1oHho.js","./home-B2sL7cw4.js","./init-user-CsEDYKZe.js","./list-B94jmpgr.js","./list-table-a2bIPh90.js","./pagination-render-40Bk8JSz.js","./login-BfN1lJT1.js","./module-CPe8opSY.js","./notification-BjbG79fu.js","./tabs-DTgMEGE8.js","./register-C2TFSMX0.js","./welcome-CFZVe2KA.js"])))=>i.map(i=>d[i]);
2
- import{a as see,c as GH,b as xa,s as Ma,d as ga,i as Mi,h as SF,m as $j,e as lee,f as dee,z as uee,v as hee,_ as vn}from"./jsoneditor-De1FvcYu.js";import{r as p,e as ke,a as Kd,b as CF,c as pee,R as xP,d as ur,F as Ca,f as Na,g as La,h as Ea,i as Ia,j as Aa,k as Ta,l as Ra,m as $a,n as ja,o as Pa,p as Oa,q as Da,s as za,t as qa,u as Ha,v as Va,w as Ba,x as Fa,y as Ua,z as Ga,A as Wa,B as Za,C as Xa,D as Ka,E as Ya,G as Qa,H as Ja,I as eo,J as to,K as no,L as ao,M as oo,N as ro,O as io,P as co,Q as so,S as lo,T as uo,U as ho,V as po,W as fo,X as yo,Y as mo,Z as vo,_ as ko,$ as go,a0 as Mo,a1 as xo,a2 as bo,a3 as wo,a4 as _o,a5 as So,a6 as Co,a7 as No,a8 as Lo,a9 as Eo,aa as Io,ab as Ao,ac as To,ad as Ro,ae as $o,af as jo,ag as Po,ah as Oo,ai as Do,aj as zo,ak as qo,al as Ho,am as Vo,an as Bo,ao as Fo,ap as Yd,aq as Qd,ar as Jd,as as fee,at as yee,au as mee,av as vee,aw as kee,ax as gee,ay as Mee,az as xee}from"./handsontable-PxYdjN8c.js";import{F as bee}from"./monaco-BhBYtg3d.js";var a$={exports:{}},e2={};/**
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./add-group-Bjq2R0iV.js","./app-layout-mT3oXgd7.js","./app-shell-DbPu3ZPM.js","./handsontable-PxYdjN8c.js","./jsoneditor-De1FvcYu.js","./monaco-BhBYtg3d.js","./app-sidebar-DEpxtufv.js","./nav-main-CroFjRVi.js","./material-icon-BXxpxGAd.js","./app-sidebar-header-BeiWUuCC.js","./breadcrumbs-CZZirDj8.js","./nav-user-DIuv8mfu.js","./user-info-DtBK5Kh8.js","./user-menu-content-bdKtg5yV.js","./theme-switcher-2tPEnSJf.js","./icon-BTIjB9Wk.js","./RelationDialogStack-CJ8JvUDg.js","./dynamic-controls-k61T9W2P.js","./input-error-CSrUHo1P.js","./RelationDialogStack-DV8OITPR.css","./add-group-form-B7c4coU-.js","./add-user-ChZGses8.js","./add-user-form-BXSGx38D.js","./add-COpwiOsy.js","./catalog-RUS5EBuy.js","./del-modal-CF3OUMvW.js","./catalog-D4n6dpGl.css","./dashboard-5NZ3QseL.js","./dashboard-BOltB2Hq.css","./form-Cb-Rvm4q.js","./form-WqY1RtmV.js","./history-B_8v8I3J.js","./home-C_xUaJoJ.js","./init-user-CsEDYKZe.js","./list-CDFtsuUr.js","./list-table-PLHaED_1.js","./pagination-render-40Bk8JSz.js","./login-puJIq5NA.js","./module-BDXazYdM.js","./notification-Deuf56Yd.js","./tabs-DTgMEGE8.js","./register-C2TFSMX0.js","./welcome-BerxxdCf.js"])))=>i.map(i=>d[i]);
2
+ import{a as see,c as GH,b as xa,s as Ma,d as ga,i as Mi,h as SF,m as jj,e as lee,f as dee,z as uee,v as hee,_ as vn}from"./jsoneditor-De1FvcYu.js";import{r as p,e as ke,a as Kd,b as CF,c as pee,R as bP,d as ur,F as Ca,f as Na,g as La,h as Ea,i as Ia,j as Aa,k as Ta,l as Ra,m as $a,n as ja,o as Pa,p as Oa,q as Da,s as za,t as qa,u as Ha,v as Va,w as Ba,x as Fa,y as Ua,z as Ga,A as Wa,B as Za,C as Xa,D as Ka,E as Ya,G as Qa,H as Ja,I as eo,J as to,K as no,L as ao,M as oo,N as ro,O as io,P as co,Q as so,S as lo,T as uo,U as ho,V as po,W as fo,X as yo,Y as mo,Z as vo,_ as ko,$ as go,a0 as Mo,a1 as xo,a2 as bo,a3 as wo,a4 as _o,a5 as So,a6 as Co,a7 as No,a8 as Lo,a9 as Eo,aa as Io,ab as Ao,ac as To,ad as Ro,ae as $o,af as jo,ag as Po,ah as Oo,ai as Do,aj as zo,ak as qo,al as Ho,am as Vo,an as Bo,ao as Fo,ap as Yd,aq as Qd,ar as Jd,as as fee,at as yee,au as mee,av as vee,aw as kee,ax as gee,ay as Mee,az as xee}from"./handsontable-PxYdjN8c.js";import{F as bee}from"./monaco-BhBYtg3d.js";var o$={exports:{}},e2={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.js
5
5
  *
@@ -7,15 +7,15 @@ import{a as see,c as GH,b as xa,s as Ma,d as ga,i as Mi,h as SF,m as $j,e as lee
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var WH;function wee(){if(WH)return e2;WH=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function a(o,i,s){var l=null;if(s!==void 0&&(l=""+s),i.key!==void 0&&(l=""+i.key),"key"in i){s={};for(var h in i)h!=="key"&&(s[h]=i[h])}else s=i;return i=s.ref,{$$typeof:e,type:o,key:l,ref:i!==void 0?i:null,props:s}}return e2.Fragment=t,e2.jsx=a,e2.jsxs=a,e2}var ZH;function _ee(){return ZH||(ZH=1,a$.exports=wee()),a$.exports}var M=_ee(),o$,XH;function eu(){return XH||(XH=1,o$=TypeError),o$}const See={},Cee=Object.freeze(Object.defineProperty({__proto__:null,default:See},Symbol.toStringTag,{value:"Module"})),Nee=see(Cee);var r$,KH;function dA(){if(KH)return r$;KH=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=e&&t&&typeof t.get=="function"?t.get:null,o=e&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=i&&s&&typeof s.get=="function"?s.get:null,h=i&&Set.prototype.forEach,f=typeof WeakMap=="function"&&WeakMap.prototype,y=f?WeakMap.prototype.has:null,k=typeof WeakSet=="function"&&WeakSet.prototype,m=k?WeakSet.prototype.has:null,x=typeof WeakRef=="function"&&WeakRef.prototype,S=x?WeakRef.prototype.deref:null,b=Boolean.prototype.valueOf,w=Object.prototype.toString,_=Function.prototype.toString,N=String.prototype.match,L=String.prototype.slice,I=String.prototype.replace,P=String.prototype.toUpperCase,D=String.prototype.toLowerCase,j=RegExp.prototype.test,A=Array.prototype.concat,$=Array.prototype.join,B=Array.prototype.slice,Z=Math.floor,q=typeof BigInt=="function"?BigInt.prototype.valueOf:null,V=Object.getOwnPropertySymbols,F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,J=typeof Symbol=="function"&&typeof Symbol.iterator=="object",oe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===J||!0)?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,O=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(W){return W.__proto__}:null);function R(W,ae){if(W===1/0||W===-1/0||W!==W||W&&W>-1e3&&W<1e3||j.call(/e/,ae))return ae;var Ue=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof W=="number"){var Ge=W<0?-Z(-W):Z(W);if(Ge!==W){var rt=String(Ge),Oe=L.call(ae,rt.length+1);return I.call(rt,Ue,"$&_")+"."+I.call(I.call(Oe,/([0-9]{3})/g,"$&_"),/_$/,"")}}return I.call(ae,Ue,"$&_")}var G=Nee,K=G.custom,Me=$e(K)?K:null,X={__proto__:null,double:'"',single:"'"},ne={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};r$=function W(ae,Ue,Ge,rt){var Oe=Ue||{};if(tt(Oe,"quoteStyle")&&!tt(X,Oe.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(tt(Oe,"maxStringLength")&&(typeof Oe.maxStringLength=="number"?Oe.maxStringLength<0&&Oe.maxStringLength!==1/0:Oe.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var dn=tt(Oe,"customInspect")?Oe.customInspect:!0;if(typeof dn!="boolean"&&dn!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(tt(Oe,"indent")&&Oe.indent!==null&&Oe.indent!==" "&&!(parseInt(Oe.indent,10)===Oe.indent&&Oe.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(tt(Oe,"numericSeparator")&&typeof Oe.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Kt=Oe.numericSeparator;if(typeof ae>"u")return"undefined";if(ae===null)return"null";if(typeof ae=="boolean")return ae?"true":"false";if(typeof ae=="string")return Ne(ae,Oe);if(typeof ae=="number"){if(ae===0)return 1/0/ae>0?"0":"-0";var Ie=String(ae);return Kt?R(ae,Ie):Ie}if(typeof ae=="bigint"){var nt=String(ae)+"n";return Kt?R(ae,nt):nt}var Tt=typeof Oe.depth>"u"?5:Oe.depth;if(typeof Ge>"u"&&(Ge=0),Ge>=Tt&&Tt>0&&typeof ae=="object")return pe(ae)?"[Array]":"[Object]";var Et=Yn(Oe,Ge);if(typeof rt>"u")rt=[];else if(Ut(rt,ae)>=0)return"[Circular]";function zt(fr,Xo,uu){if(Xo&&(rt=B.call(rt),rt.push(Xo)),uu){var yr={depth:Oe.depth};return tt(Oe,"quoteStyle")&&(yr.quoteStyle=Oe.quoteStyle),W(fr,yr,Ge+1,rt)}return W(fr,Oe,Ge+1,rt)}if(typeof ae=="function"&&!me(ae)){var xt=Ye(ae),nn=ln(ae,zt);return"[Function"+(xt?": "+xt:" (anonymous)")+"]"+(nn.length>0?" { "+$.call(nn,", ")+" }":"")}if($e(ae)){var Wo=J?I.call(String(ae),/^(Symbol\(.*\))_[^)]*$/,"$1"):F.call(ae);return typeof ae=="object"&&!J?Je(Wo):Wo}if(De(ae)){for(var qt="<"+D.call(String(ae.nodeName)),Yt=ae.attributes||[],ua=0;ua<Yt.length;ua++)qt+=" "+Yt[ua].name+"="+de(ce(Yt[ua].value),"double",Oe);return qt+=">",ae.childNodes&&ae.childNodes.length&&(qt+="..."),qt+="</"+D.call(String(ae.nodeName))+">",qt}if(pe(ae)){if(ae.length===0)return"[]";var yn=ln(ae,zt);return Et&&!tn(yn)?"["+Gt(yn,Et)+"]":"[ "+$.call(yn,", ")+" ]"}if(ge(ae)){var Oi=ln(ae,zt);return!("cause"in Error.prototype)&&"cause"in ae&&!T.call(ae,"cause")?"{ ["+String(ae)+"] "+$.call(A.call("[cause]: "+zt(ae.cause),Oi),", ")+" }":Oi.length===0?"["+String(ae)+"]":"{ ["+String(ae)+"] "+$.call(Oi,", ")+" }"}if(typeof ae=="object"&&dn){if(Me&&typeof ae[Me]=="function"&&G)return G(ae,{depth:Tt-Ge});if(dn!=="symbol"&&typeof ae.inspect=="function")return ae.inspect()}if(At(ae)){var lu=[];return o&&o.call(ae,function(fr,Xo){lu.push(zt(Xo,ae,!0)+" => "+zt(fr,ae))}),lt("Map",a.call(ae),lu,Et)}if(qe(ae)){var ha=[];return h&&h.call(ae,function(fr){ha.push(zt(fr,ae))}),lt("Set",l.call(ae),ha,Et)}if(Mt(ae))return jt("WeakMap");if(we(ae))return jt("WeakSet");if(Lt(ae))return jt("WeakRef");if(se(ae))return Je(zt(Number(ae)));if(st(ae))return Je(zt(q.call(ae)));if(Ee(ae))return Je(b.call(ae));if(fe(ae))return Je(zt(String(ae)));if(typeof window<"u"&&ae===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ae===globalThis||typeof GH<"u"&&ae===GH)return"{ [object globalThis] }";if(!ve(ae)&&!me(ae)){var Pt=ln(ae,zt),an=O?O(ae)===Object.prototype:ae instanceof Object||ae.constructor===Object,Zo=ae instanceof Object?"":"null prototype",K1=!an&&oe&&Object(ae)===ae&&oe in ae?L.call(ot(ae),8,-1):Zo?"Object":"",XA=an||typeof ae.constructor!="function"?"":ae.constructor.name?ae.constructor.name+" ":"",du=XA+(K1||Zo?"["+$.call(A.call([],K1||[],Zo||[]),": ")+"] ":"");return Pt.length===0?du+"{}":Et?du+"{"+Gt(Pt,Et)+"}":du+"{ "+$.call(Pt,", ")+" }"}return String(ae)};function de(W,ae,Ue){var Ge=Ue.quoteStyle||ae,rt=X[Ge];return rt+W+rt}function ce(W){return I.call(String(W),/"/g,"&quot;")}function ye(W){return!oe||!(typeof W=="object"&&(oe in W||typeof W[oe]<"u"))}function pe(W){return ot(W)==="[object Array]"&&ye(W)}function ve(W){return ot(W)==="[object Date]"&&ye(W)}function me(W){return ot(W)==="[object RegExp]"&&ye(W)}function ge(W){return ot(W)==="[object Error]"&&ye(W)}function fe(W){return ot(W)==="[object String]"&&ye(W)}function se(W){return ot(W)==="[object Number]"&&ye(W)}function Ee(W){return ot(W)==="[object Boolean]"&&ye(W)}function $e(W){if(J)return W&&typeof W=="object"&&W instanceof Symbol;if(typeof W=="symbol")return!0;if(!W||typeof W!="object"||!F)return!1;try{return F.call(W),!0}catch{}return!1}function st(W){if(!W||typeof W!="object"||!q)return!1;try{return q.call(W),!0}catch{}return!1}var Ve=Object.prototype.hasOwnProperty||function(W){return W in this};function tt(W,ae){return Ve.call(W,ae)}function ot(W){return w.call(W)}function Ye(W){if(W.name)return W.name;var ae=N.call(_.call(W),/^function\s*([\w$]+)/);return ae?ae[1]:null}function Ut(W,ae){if(W.indexOf)return W.indexOf(ae);for(var Ue=0,Ge=W.length;Ue<Ge;Ue++)if(W[Ue]===ae)return Ue;return-1}function At(W){if(!a||!W||typeof W!="object")return!1;try{a.call(W);try{l.call(W)}catch{return!0}return W instanceof Map}catch{}return!1}function Mt(W){if(!y||!W||typeof W!="object")return!1;try{y.call(W,y);try{m.call(W,m)}catch{return!0}return W instanceof WeakMap}catch{}return!1}function Lt(W){if(!S||!W||typeof W!="object")return!1;try{return S.call(W),!0}catch{}return!1}function qe(W){if(!l||!W||typeof W!="object")return!1;try{l.call(W);try{a.call(W)}catch{return!0}return W instanceof Set}catch{}return!1}function we(W){if(!m||!W||typeof W!="object")return!1;try{m.call(W,m);try{y.call(W,y)}catch{return!0}return W instanceof WeakSet}catch{}return!1}function De(W){return!W||typeof W!="object"?!1:typeof HTMLElement<"u"&&W instanceof HTMLElement?!0:typeof W.nodeName=="string"&&typeof W.getAttribute=="function"}function Ne(W,ae){if(W.length>ae.maxStringLength){var Ue=W.length-ae.maxStringLength,Ge="... "+Ue+" more character"+(Ue>1?"s":"");return Ne(L.call(W,0,ae.maxStringLength),ae)+Ge}var rt=ne[ae.quoteStyle||"single"];rt.lastIndex=0;var Oe=I.call(I.call(W,rt,"\\$1"),/[\x00-\x1f]/g,Te);return de(Oe,"single",ae)}function Te(W){var ae=W.charCodeAt(0),Ue={8:"b",9:"t",10:"n",12:"f",13:"r"}[ae];return Ue?"\\"+Ue:"\\x"+(ae<16?"0":"")+P.call(ae.toString(16))}function Je(W){return"Object("+W+")"}function jt(W){return W+" { ? }"}function lt(W,ae,Ue,Ge){var rt=Ge?Gt(Ue,Ge):$.call(Ue,", ");return W+" ("+ae+") {"+rt+"}"}function tn(W){for(var ae=0;ae<W.length;ae++)if(Ut(W[ae],`
11
- `)>=0)return!1;return!0}function Yn(W,ae){var Ue;if(W.indent===" ")Ue=" ";else if(typeof W.indent=="number"&&W.indent>0)Ue=$.call(Array(W.indent+1)," ");else return null;return{base:Ue,prev:$.call(Array(ae+1),Ue)}}function Gt(W,ae){if(W.length===0)return"";var Ue=`
12
- `+ae.prev+ae.base;return Ue+$.call(W,","+Ue)+`
13
- `+ae.prev}function ln(W,ae){var Ue=pe(W),Ge=[];if(Ue){Ge.length=W.length;for(var rt=0;rt<W.length;rt++)Ge[rt]=tt(W,rt)?ae(W[rt],W):""}var Oe=typeof V=="function"?V(W):[],dn;if(J){dn={};for(var Kt=0;Kt<Oe.length;Kt++)dn["$"+Oe[Kt]]=Oe[Kt]}for(var Ie in W)tt(W,Ie)&&(Ue&&String(Number(Ie))===Ie&&Ie<W.length||J&&dn["$"+Ie]instanceof Symbol||(j.call(/[^\w$]/,Ie)?Ge.push(ae(Ie,W)+": "+ae(W[Ie],W)):Ge.push(Ie+": "+ae(W[Ie],W))));if(typeof V=="function")for(var nt=0;nt<Oe.length;nt++)T.call(W,Oe[nt])&&Ge.push("["+ae(Oe[nt])+"]: "+ae(W[Oe[nt]],W));return Ge}return r$}var i$,YH;function Lee(){if(YH)return i$;YH=1;var e=dA(),t=eu(),a=function(h,f,y){for(var k=h,m;(m=k.next)!=null;k=m)if(m.key===f)return k.next=m.next,y||(m.next=h.next,h.next=m),m},o=function(h,f){if(h){var y=a(h,f);return y&&y.value}},i=function(h,f,y){var k=a(h,f);k?k.value=y:h.next={key:f,next:h.next,value:y}},s=function(h,f){return h?!!a(h,f):!1},l=function(h,f){if(h)return a(h,f,!0)};return i$=function(){var f,y={assert:function(k){if(!y.has(k))throw new t("Side channel does not contain "+e(k))},delete:function(k){var m=f&&f.next,x=l(f,k);return x&&m&&m===x&&(f=void 0),!!x},get:function(k){return o(f,k)},has:function(k){return s(f,k)},set:function(k,m){f||(f={next:void 0}),i(f,k,m)}};return y},i$}var c$,QH;function NF(){return QH||(QH=1,c$=Object),c$}var s$,JH;function Eee(){return JH||(JH=1,s$=Error),s$}var l$,eV;function Iee(){return eV||(eV=1,l$=EvalError),l$}var d$,tV;function Aee(){return tV||(tV=1,d$=RangeError),d$}var u$,nV;function Tee(){return nV||(nV=1,u$=ReferenceError),u$}var h$,aV;function Ree(){return aV||(aV=1,h$=SyntaxError),h$}var p$,oV;function $ee(){return oV||(oV=1,p$=URIError),p$}var f$,rV;function jee(){return rV||(rV=1,f$=Math.abs),f$}var y$,iV;function Pee(){return iV||(iV=1,y$=Math.floor),y$}var m$,cV;function Oee(){return cV||(cV=1,m$=Math.max),m$}var v$,sV;function Dee(){return sV||(sV=1,v$=Math.min),v$}var k$,lV;function zee(){return lV||(lV=1,k$=Math.pow),k$}var g$,dV;function qee(){return dV||(dV=1,g$=Math.round),g$}var M$,uV;function Hee(){return uV||(uV=1,M$=Number.isNaN||function(t){return t!==t}),M$}var x$,hV;function Vee(){if(hV)return x$;hV=1;var e=Hee();return x$=function(a){return e(a)||a===0?a:a<0?-1:1},x$}var b$,pV;function Bee(){return pV||(pV=1,b$=Object.getOwnPropertyDescriptor),b$}var w$,fV;function LF(){if(fV)return w$;fV=1;var e=Bee();if(e)try{e([],"length")}catch{e=null}return w$=e,w$}var _$,yV;function Fee(){if(yV)return _$;yV=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return _$=e,_$}var S$,mV;function Uee(){return mV||(mV=1,S$=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},a=Symbol("test"),o=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;t[a]=i;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var l=Object.getOwnPropertySymbols(t);if(l.length!==1||l[0]!==a||!Object.prototype.propertyIsEnumerable.call(t,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(t,a);if(h.value!==i||h.enumerable!==!0)return!1}return!0}),S$}var C$,vV;function Gee(){if(vV)return C$;vV=1;var e=typeof Symbol<"u"&&Symbol,t=Uee();return C$=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},C$}var N$,kV;function EF(){return kV||(kV=1,N$=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),N$}var L$,gV;function IF(){if(gV)return L$;gV=1;var e=NF();return L$=e.getPrototypeOf||null,L$}var E$,MV;function Wee(){if(MV)return E$;MV=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,a=Math.max,o="[object Function]",i=function(f,y){for(var k=[],m=0;m<f.length;m+=1)k[m]=f[m];for(var x=0;x<y.length;x+=1)k[x+f.length]=y[x];return k},s=function(f,y){for(var k=[],m=y,x=0;m<f.length;m+=1,x+=1)k[x]=f[m];return k},l=function(h,f){for(var y="",k=0;k<h.length;k+=1)y+=h[k],k+1<h.length&&(y+=f);return y};return E$=function(f){var y=this;if(typeof y!="function"||t.apply(y)!==o)throw new TypeError(e+y);for(var k=s(arguments,1),m,x=function(){if(this instanceof m){var N=y.apply(this,i(k,arguments));return Object(N)===N?N:this}return y.apply(f,i(k,arguments))},S=a(0,y.length-k.length),b=[],w=0;w<S;w++)b[w]="$"+w;if(m=Function("binder","return function ("+l(b,",")+"){ return binder.apply(this,arguments); }")(x),y.prototype){var _=function(){};_.prototype=y.prototype,m.prototype=new _,_.prototype=null}return m},E$}var I$,xV;function uA(){if(xV)return I$;xV=1;var e=Wee();return I$=Function.prototype.bind||e,I$}var A$,bV;function bP(){return bV||(bV=1,A$=Function.prototype.call),A$}var T$,wV;function AF(){return wV||(wV=1,T$=Function.prototype.apply),T$}var R$,_V;function Zee(){return _V||(_V=1,R$=typeof Reflect<"u"&&Reflect&&Reflect.apply),R$}var $$,SV;function Xee(){if(SV)return $$;SV=1;var e=uA(),t=AF(),a=bP(),o=Zee();return $$=o||e.call(a,t),$$}var j$,CV;function TF(){if(CV)return j$;CV=1;var e=uA(),t=eu(),a=bP(),o=Xee();return j$=function(s){if(s.length<1||typeof s[0]!="function")throw new t("a function is required");return o(e,a,s)},j$}var P$,NV;function Kee(){if(NV)return P$;NV=1;var e=TF(),t=LF(),a;try{a=[].__proto__===Array.prototype}catch(l){if(!l||typeof l!="object"||!("code"in l)||l.code!=="ERR_PROTO_ACCESS")throw l}var o=!!a&&t&&t(Object.prototype,"__proto__"),i=Object,s=i.getPrototypeOf;return P$=o&&typeof o.get=="function"?e([o.get]):typeof s=="function"?function(h){return s(h==null?h:i(h))}:!1,P$}var O$,LV;function Yee(){if(LV)return O$;LV=1;var e=EF(),t=IF(),a=Kee();return O$=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:a?function(i){return a(i)}:null,O$}var D$,EV;function Qee(){if(EV)return D$;EV=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,a=uA();return D$=a.call(e,t),D$}var z$,IV;function wP(){if(IV)return z$;IV=1;var e,t=NF(),a=Eee(),o=Iee(),i=Aee(),s=Tee(),l=Ree(),h=eu(),f=$ee(),y=jee(),k=Pee(),m=Oee(),x=Dee(),S=zee(),b=qee(),w=Vee(),_=Function,N=function(me){try{return _('"use strict"; return ('+me+").constructor;")()}catch{}},L=LF(),I=Fee(),P=function(){throw new h},D=L?(function(){try{return arguments.callee,P}catch{try{return L(arguments,"callee").get}catch{return P}}})():P,j=Gee()(),A=Yee(),$=IF(),B=EF(),Z=AF(),q=bP(),V={},F=typeof Uint8Array>"u"||!A?e:A(Uint8Array),J={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":j&&A?A([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":V,"%AsyncGenerator%":V,"%AsyncGeneratorFunction%":V,"%AsyncIteratorPrototype%":V,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":V,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":j&&A?A(A([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!j||!A?e:A(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":L,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!j||!A?e:A(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":j&&A?A(""[Symbol.iterator]()):e,"%Symbol%":j?Symbol:e,"%SyntaxError%":l,"%ThrowTypeError%":D,"%TypedArray%":F,"%TypeError%":h,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":q,"%Function.prototype.apply%":Z,"%Object.defineProperty%":I,"%Object.getPrototypeOf%":$,"%Math.abs%":y,"%Math.floor%":k,"%Math.max%":m,"%Math.min%":x,"%Math.pow%":S,"%Math.round%":b,"%Math.sign%":w,"%Reflect.getPrototypeOf%":B};if(A)try{null.error}catch(me){var oe=A(A(me));J["%Error.prototype%"]=oe}var T=function me(ge){var fe;if(ge==="%AsyncFunction%")fe=N("async function () {}");else if(ge==="%GeneratorFunction%")fe=N("function* () {}");else if(ge==="%AsyncGeneratorFunction%")fe=N("async function* () {}");else if(ge==="%AsyncGenerator%"){var se=me("%AsyncGeneratorFunction%");se&&(fe=se.prototype)}else if(ge==="%AsyncIteratorPrototype%"){var Ee=me("%AsyncGenerator%");Ee&&A&&(fe=A(Ee.prototype))}return J[ge]=fe,fe},O={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},R=uA(),G=Qee(),K=R.call(q,Array.prototype.concat),Me=R.call(Z,Array.prototype.splice),X=R.call(q,String.prototype.replace),ne=R.call(q,String.prototype.slice),de=R.call(q,RegExp.prototype.exec),ce=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ye=/\\(\\)?/g,pe=function(ge){var fe=ne(ge,0,1),se=ne(ge,-1);if(fe==="%"&&se!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(se==="%"&&fe!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var Ee=[];return X(ge,ce,function($e,st,Ve,tt){Ee[Ee.length]=Ve?X(tt,ye,"$1"):st||$e}),Ee},ve=function(ge,fe){var se=ge,Ee;if(G(O,se)&&(Ee=O[se],se="%"+Ee[0]+"%"),G(J,se)){var $e=J[se];if($e===V&&($e=T(se)),typeof $e>"u"&&!fe)throw new h("intrinsic "+ge+" exists, but is not available. Please file an issue!");return{alias:Ee,name:se,value:$e}}throw new l("intrinsic "+ge+" does not exist!")};return z$=function(ge,fe){if(typeof ge!="string"||ge.length===0)throw new h("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof fe!="boolean")throw new h('"allowMissing" argument must be a boolean');if(de(/^%?[^%]*%?$/,ge)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var se=pe(ge),Ee=se.length>0?se[0]:"",$e=ve("%"+Ee+"%",fe),st=$e.name,Ve=$e.value,tt=!1,ot=$e.alias;ot&&(Ee=ot[0],Me(se,K([0,1],ot)));for(var Ye=1,Ut=!0;Ye<se.length;Ye+=1){var At=se[Ye],Mt=ne(At,0,1),Lt=ne(At,-1);if((Mt==='"'||Mt==="'"||Mt==="`"||Lt==='"'||Lt==="'"||Lt==="`")&&Mt!==Lt)throw new l("property names with quotes must have matching quotes");if((At==="constructor"||!Ut)&&(tt=!0),Ee+="."+At,st="%"+Ee+"%",G(J,st))Ve=J[st];else if(Ve!=null){if(!(At in Ve)){if(!fe)throw new h("base intrinsic for "+ge+" exists, but the property is not available.");return}if(L&&Ye+1>=se.length){var qe=L(Ve,At);Ut=!!qe,Ut&&"get"in qe&&!("originalValue"in qe.get)?Ve=qe.get:Ve=Ve[At]}else Ut=G(Ve,At),Ve=Ve[At];Ut&&!tt&&(J[st]=Ve)}}return Ve},z$}var q$,AV;function RF(){if(AV)return q$;AV=1;var e=wP(),t=TF(),a=t([e("%String.prototype.indexOf%")]);return q$=function(i,s){var l=e(i,!!s);return typeof l=="function"&&a(i,".prototype.")>-1?t([l]):l},q$}var H$,TV;function $F(){if(TV)return H$;TV=1;var e=wP(),t=RF(),a=dA(),o=eu(),i=e("%Map%",!0),s=t("Map.prototype.get",!0),l=t("Map.prototype.set",!0),h=t("Map.prototype.has",!0),f=t("Map.prototype.delete",!0),y=t("Map.prototype.size",!0);return H$=!!i&&function(){var m,x={assert:function(S){if(!x.has(S))throw new o("Side channel does not contain "+a(S))},delete:function(S){if(m){var b=f(m,S);return y(m)===0&&(m=void 0),b}return!1},get:function(S){if(m)return s(m,S)},has:function(S){return m?h(m,S):!1},set:function(S,b){m||(m=new i),l(m,S,b)}};return x},H$}var V$,RV;function Jee(){if(RV)return V$;RV=1;var e=wP(),t=RF(),a=dA(),o=$F(),i=eu(),s=e("%WeakMap%",!0),l=t("WeakMap.prototype.get",!0),h=t("WeakMap.prototype.set",!0),f=t("WeakMap.prototype.has",!0),y=t("WeakMap.prototype.delete",!0);return V$=s?function(){var m,x,S={assert:function(b){if(!S.has(b))throw new i("Side channel does not contain "+a(b))},delete:function(b){if(s&&b&&(typeof b=="object"||typeof b=="function")){if(m)return y(m,b)}else if(o&&x)return x.delete(b);return!1},get:function(b){return s&&b&&(typeof b=="object"||typeof b=="function")&&m?l(m,b):x&&x.get(b)},has:function(b){return s&&b&&(typeof b=="object"||typeof b=="function")&&m?f(m,b):!!x&&x.has(b)},set:function(b,w){s&&b&&(typeof b=="object"||typeof b=="function")?(m||(m=new s),h(m,b,w)):o&&(x||(x=o()),x.set(b,w))}};return S}:o,V$}var B$,$V;function jF(){if($V)return B$;$V=1;var e=eu(),t=dA(),a=Lee(),o=$F(),i=Jee(),s=i||o||a;return B$=function(){var h,f={assert:function(y){if(!f.has(y))throw new e("Side channel does not contain "+t(y))},delete:function(y){return!!h&&h.delete(y)},get:function(y){return h&&h.get(y)},has:function(y){return!!h&&h.has(y)},set:function(y,k){h||(h=s()),h.set(y,k)}};return f},B$}var F$,jV;function _P(){if(jV)return F$;jV=1;var e=String.prototype.replace,t=/%20/g,a={RFC1738:"RFC1738",RFC3986:"RFC3986"};return F$={default:a.RFC3986,formatters:{RFC1738:function(o){return e.call(o,t,"+")},RFC3986:function(o){return String(o)}},RFC1738:a.RFC1738,RFC3986:a.RFC3986},F$}var U$,PV;function PF(){if(PV)return U$;PV=1;var e=_P(),t=jF(),a=Object.prototype.hasOwnProperty,o=Array.isArray,i=t(),s=function(A,$){return i.set(A,$),A},l=function(A){return i.has(A)},h=function(A){return i.get(A)},f=function(A,$){i.set(A,$)},y=(function(){for(var j=[],A=0;A<256;++A)j[j.length]="%"+((A<16?"0":"")+A.toString(16)).toUpperCase();return j})(),k=function(A){for(;A.length>1;){var $=A.pop(),B=$.obj[$.prop];if(o(B)){for(var Z=[],q=0;q<B.length;++q)typeof B[q]<"u"&&(Z[Z.length]=B[q]);$.obj[$.prop]=Z}}},m=function(A,$){for(var B=$&&$.plainObjects?{__proto__:null}:{},Z=0;Z<A.length;++Z)typeof A[Z]<"u"&&(B[Z]=A[Z]);return B},x=function j(A,$,B){if(!$)return A;if(typeof $!="object"&&typeof $!="function"){if(o(A)){var Z=A.length;if(B&&typeof B.arrayLimit=="number"&&Z>B.arrayLimit)return s(m(A.concat($),B),Z);A[Z]=$}else if(A&&typeof A=="object")if(l(A)){var q=h(A)+1;A[q]=$,f(A,q)}else{if(B&&B.strictMerge)return[A,$];(B&&(B.plainObjects||B.allowPrototypes)||!a.call(Object.prototype,$))&&(A[$]=!0)}else return[A,$];return A}if(!A||typeof A!="object"){if(l($)){for(var V=Object.keys($),F=B&&B.plainObjects?{__proto__:null,0:A}:{0:A},J=0;J<V.length;J++){var oe=parseInt(V[J],10);F[oe+1]=$[V[J]]}return s(F,h($)+1)}var T=[A].concat($);return B&&typeof B.arrayLimit=="number"&&T.length>B.arrayLimit?s(m(T,B),T.length-1):T}var O=A;return o(A)&&!o($)&&(O=m(A,B)),o(A)&&o($)?($.forEach(function(R,G){if(a.call(A,G)){var K=A[G];K&&typeof K=="object"&&R&&typeof R=="object"?A[G]=j(K,R,B):A[A.length]=R}else A[G]=R}),A):Object.keys($).reduce(function(R,G){var K=$[G];if(a.call(R,G)?R[G]=j(R[G],K,B):R[G]=K,l($)&&!l(R)&&s(R,h($)),l(R)){var Me=parseInt(G,10);String(Me)===G&&Me>=0&&Me>h(R)&&f(R,Me)}return R},O)},S=function(A,$){return Object.keys($).reduce(function(B,Z){return B[Z]=$[Z],B},A)},b=function(j,A,$){var B=j.replace(/\+/g," ");if($==="iso-8859-1")return B.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(B)}catch{return B}},w=1024,_=function(A,$,B,Z,q){if(A.length===0)return A;var V=A;if(typeof A=="symbol"?V=Symbol.prototype.toString.call(A):typeof A!="string"&&(V=String(A)),B==="iso-8859-1")return escape(V).replace(/%u[0-9a-f]{4}/gi,function(G){return"%26%23"+parseInt(G.slice(2),16)+"%3B"});for(var F="",J=0;J<V.length;J+=w){for(var oe=V.length>=w?V.slice(J,J+w):V,T=[],O=0;O<oe.length;++O){var R=oe.charCodeAt(O);if(R===45||R===46||R===95||R===126||R>=48&&R<=57||R>=65&&R<=90||R>=97&&R<=122||q===e.RFC1738&&(R===40||R===41)){T[T.length]=oe.charAt(O);continue}if(R<128){T[T.length]=y[R];continue}if(R<2048){T[T.length]=y[192|R>>6]+y[128|R&63];continue}if(R<55296||R>=57344){T[T.length]=y[224|R>>12]+y[128|R>>6&63]+y[128|R&63];continue}O+=1,R=65536+((R&1023)<<10|oe.charCodeAt(O)&1023),T[T.length]=y[240|R>>18]+y[128|R>>12&63]+y[128|R>>6&63]+y[128|R&63]}F+=T.join("")}return F},N=function(A){for(var $=[{obj:{o:A},prop:"o"}],B=[],Z=0;Z<$.length;++Z)for(var q=$[Z],V=q.obj[q.prop],F=Object.keys(V),J=0;J<F.length;++J){var oe=F[J],T=V[oe];typeof T=="object"&&T!==null&&B.indexOf(T)===-1&&($[$.length]={obj:V,prop:oe},B[B.length]=T)}return k($),A},L=function(A){return Object.prototype.toString.call(A)==="[object RegExp]"},I=function(A){return!A||typeof A!="object"?!1:!!(A.constructor&&A.constructor.isBuffer&&A.constructor.isBuffer(A))},P=function(A,$,B,Z){if(l(A)){var q=h(A)+1;return A[q]=$,f(A,q),A}var V=[].concat(A,$);return V.length>B?s(m(V,{plainObjects:Z}),V.length-1):V},D=function(A,$){if(o(A)){for(var B=[],Z=0;Z<A.length;Z+=1)B[B.length]=$(A[Z]);return B}return $(A)};return U$={arrayToObject:m,assign:S,combine:P,compact:N,decode:b,encode:_,isBuffer:I,isOverflow:l,isRegExp:L,markOverflow:s,maybeMap:D,merge:x},U$}var G$,OV;function ete(){if(OV)return G$;OV=1;var e=jF(),t=PF(),a=_P(),o=Object.prototype.hasOwnProperty,i={brackets:function(_){return _+"[]"},comma:"comma",indices:function(_,N){return _+"["+N+"]"},repeat:function(_){return _}},s=Array.isArray,l=Array.prototype.push,h=function(w,_){l.apply(w,s(_)?_:[_])},f=Date.prototype.toISOString,y=a.default,k={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:t.encode,encodeValuesOnly:!1,filter:void 0,format:y,formatter:a.formatters[y],indices:!1,serializeDate:function(_){return f.call(_)},skipNulls:!1,strictNullHandling:!1},m=function(_){return typeof _=="string"||typeof _=="number"||typeof _=="boolean"||typeof _=="symbol"||typeof _=="bigint"},x={},S=function w(_,N,L,I,P,D,j,A,$,B,Z,q,V,F,J,oe,T,O){for(var R=_,G=O,K=0,Me=!1;(G=G.get(x))!==void 0&&!Me;){var X=G.get(_);if(K+=1,typeof X<"u"){if(X===K)throw new RangeError("Cyclic object value");Me=!0}typeof G.get(x)>"u"&&(K=0)}if(typeof B=="function"?R=B(N,R):R instanceof Date?R=V(R):L==="comma"&&s(R)&&(R=t.maybeMap(R,function(st){return st instanceof Date?V(st):st})),R===null){if(D)return $&&!oe?$(N,k.encoder,T,"key",F):N;R=""}if(m(R)||t.isBuffer(R)){if($){var ne=oe?N:$(N,k.encoder,T,"key",F);return[J(ne)+"="+J($(R,k.encoder,T,"value",F))]}return[J(N)+"="+J(String(R))]}var de=[];if(typeof R>"u")return de;var ce;if(L==="comma"&&s(R))oe&&$&&(R=t.maybeMap(R,$)),ce=[{value:R.length>0?R.join(",")||null:void 0}];else if(s(B))ce=B;else{var ye=Object.keys(R);ce=Z?ye.sort(Z):ye}var pe=A?String(N).replace(/\./g,"%2E"):String(N),ve=I&&s(R)&&R.length===1?pe+"[]":pe;if(P&&s(R)&&R.length===0)return ve+"[]";for(var me=0;me<ce.length;++me){var ge=ce[me],fe=typeof ge=="object"&&ge&&typeof ge.value<"u"?ge.value:R[ge];if(!(j&&fe===null)){var se=q&&A?String(ge).replace(/\./g,"%2E"):String(ge),Ee=s(R)?typeof L=="function"?L(ve,se):ve:ve+(q?"."+se:"["+se+"]");O.set(_,K);var $e=e();$e.set(x,O),h(de,w(fe,Ee,L,I,P,D,j,A,L==="comma"&&oe&&s(R)?null:$,B,Z,q,V,F,J,oe,T,$e))}}return de},b=function(_){if(!_)return k;if(typeof _.allowEmptyArrays<"u"&&typeof _.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof _.encodeDotInKeys<"u"&&typeof _.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(_.encoder!==null&&typeof _.encoder<"u"&&typeof _.encoder!="function")throw new TypeError("Encoder has to be a function.");var N=_.charset||k.charset;if(typeof _.charset<"u"&&_.charset!=="utf-8"&&_.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var L=a.default;if(typeof _.format<"u"){if(!o.call(a.formatters,_.format))throw new TypeError("Unknown format option provided.");L=_.format}var I=a.formatters[L],P=k.filter;(typeof _.filter=="function"||s(_.filter))&&(P=_.filter);var D;if(_.arrayFormat in i?D=_.arrayFormat:"indices"in _?D=_.indices?"indices":"repeat":D=k.arrayFormat,"commaRoundTrip"in _&&typeof _.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var j=typeof _.allowDots>"u"?_.encodeDotInKeys===!0?!0:k.allowDots:!!_.allowDots;return{addQueryPrefix:typeof _.addQueryPrefix=="boolean"?_.addQueryPrefix:k.addQueryPrefix,allowDots:j,allowEmptyArrays:typeof _.allowEmptyArrays=="boolean"?!!_.allowEmptyArrays:k.allowEmptyArrays,arrayFormat:D,charset:N,charsetSentinel:typeof _.charsetSentinel=="boolean"?_.charsetSentinel:k.charsetSentinel,commaRoundTrip:!!_.commaRoundTrip,delimiter:typeof _.delimiter>"u"?k.delimiter:_.delimiter,encode:typeof _.encode=="boolean"?_.encode:k.encode,encodeDotInKeys:typeof _.encodeDotInKeys=="boolean"?_.encodeDotInKeys:k.encodeDotInKeys,encoder:typeof _.encoder=="function"?_.encoder:k.encoder,encodeValuesOnly:typeof _.encodeValuesOnly=="boolean"?_.encodeValuesOnly:k.encodeValuesOnly,filter:P,format:L,formatter:I,serializeDate:typeof _.serializeDate=="function"?_.serializeDate:k.serializeDate,skipNulls:typeof _.skipNulls=="boolean"?_.skipNulls:k.skipNulls,sort:typeof _.sort=="function"?_.sort:null,strictNullHandling:typeof _.strictNullHandling=="boolean"?_.strictNullHandling:k.strictNullHandling}};return G$=function(w,_){var N=w,L=b(_),I,P;typeof L.filter=="function"?(P=L.filter,N=P("",N)):s(L.filter)&&(P=L.filter,I=P);var D=[];if(typeof N!="object"||N===null)return"";var j=i[L.arrayFormat],A=j==="comma"&&L.commaRoundTrip;I||(I=Object.keys(N)),L.sort&&I.sort(L.sort);for(var $=e(),B=0;B<I.length;++B){var Z=I[B],q=N[Z];L.skipNulls&&q===null||h(D,S(q,Z,j,A,L.allowEmptyArrays,L.strictNullHandling,L.skipNulls,L.encodeDotInKeys,L.encode?L.encoder:null,L.filter,L.sort,L.allowDots,L.serializeDate,L.format,L.formatter,L.encodeValuesOnly,L.charset,$))}var V=D.join(L.delimiter),F=L.addQueryPrefix===!0?"?":"";return L.charsetSentinel&&(L.charset==="iso-8859-1"?F+="utf8=%26%2310003%3B&":F+="utf8=%E2%9C%93&"),V.length>0?F+V:""},G$}var W$,DV;function tte(){if(DV)return W$;DV=1;var e=PF(),t=Object.prototype.hasOwnProperty,a=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(S){return S.replace(/&#(\d+);/g,function(b,w){return String.fromCharCode(parseInt(w,10))})},s=function(S,b,w){if(S&&typeof S=="string"&&b.comma&&S.indexOf(",")>-1)return S.split(",");if(b.throwOnLimitExceeded&&w>=b.arrayLimit)throw new RangeError("Array limit exceeded. Only "+b.arrayLimit+" element"+(b.arrayLimit===1?"":"s")+" allowed in an array.");return S},l="utf8=%26%2310003%3B",h="utf8=%E2%9C%93",f=function(b,w){var _={__proto__:null},N=w.ignoreQueryPrefix?b.replace(/^\?/,""):b;N=N.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var L=w.parameterLimit===1/0?void 0:w.parameterLimit,I=N.split(w.delimiter,w.throwOnLimitExceeded?L+1:L);if(w.throwOnLimitExceeded&&I.length>L)throw new RangeError("Parameter limit exceeded. Only "+L+" parameter"+(L===1?"":"s")+" allowed.");var P=-1,D,j=w.charset;if(w.charsetSentinel)for(D=0;D<I.length;++D)I[D].indexOf("utf8=")===0&&(I[D]===h?j="utf-8":I[D]===l&&(j="iso-8859-1"),P=D,D=I.length);for(D=0;D<I.length;++D)if(D!==P){var A=I[D],$=A.indexOf("]="),B=$===-1?A.indexOf("="):$+1,Z,q;if(B===-1?(Z=w.decoder(A,o.decoder,j,"key"),q=w.strictNullHandling?null:""):(Z=w.decoder(A.slice(0,B),o.decoder,j,"key"),Z!==null&&(q=e.maybeMap(s(A.slice(B+1),w,a(_[Z])?_[Z].length:0),function(F){return w.decoder(F,o.decoder,j,"value")}))),q&&w.interpretNumericEntities&&j==="iso-8859-1"&&(q=i(String(q))),A.indexOf("[]=")>-1&&(q=a(q)?[q]:q),w.comma&&a(q)&&q.length>w.arrayLimit){if(w.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+w.arrayLimit+" element"+(w.arrayLimit===1?"":"s")+" allowed in an array.");q=e.combine([],q,w.arrayLimit,w.plainObjects)}if(Z!==null){var V=t.call(_,Z);V&&(w.duplicates==="combine"||A.indexOf("[]=")>-1)?_[Z]=e.combine(_[Z],q,w.arrayLimit,w.plainObjects):(!V||w.duplicates==="last")&&(_[Z]=q)}}return _},y=function(S,b,w,_){var N=0;if(S.length>0&&S[S.length-1]==="[]"){var L=S.slice(0,-1).join("");N=Array.isArray(b)&&b[L]?b[L].length:0}for(var I=_?b:s(b,w,N),P=S.length-1;P>=0;--P){var D,j=S[P];if(j==="[]"&&w.parseArrays)e.isOverflow(I)?D=I:D=w.allowEmptyArrays&&(I===""||w.strictNullHandling&&I===null)?[]:e.combine([],I,w.arrayLimit,w.plainObjects);else{D=w.plainObjects?{__proto__:null}:{};var A=j.charAt(0)==="["&&j.charAt(j.length-1)==="]"?j.slice(1,-1):j,$=w.decodeDotInKeys?A.replace(/%2E/g,"."):A,B=parseInt($,10),Z=!isNaN(B)&&j!==$&&String(B)===$&&B>=0&&w.parseArrays;if(!w.parseArrays&&$==="")D={0:I};else if(Z&&B<w.arrayLimit)D=[],D[B]=I;else{if(Z&&w.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+w.arrayLimit+" element"+(w.arrayLimit===1?"":"s")+" allowed in an array.");Z?(D[B]=I,e.markOverflow(D,B)):$!=="__proto__"&&(D[$]=I)}}I=D}return I},k=function(b,w){var _=w.allowDots?b.replace(/\.([^.[]+)/g,"[$1]"):b;if(w.depth<=0)return!w.plainObjects&&t.call(Object.prototype,_)&&!w.allowPrototypes?void 0:[_];var N=/(\[[^[\]]*])/,L=/(\[[^[\]]*])/g,I=N.exec(_),P=I?_.slice(0,I.index):_,D=[];if(P){if(!w.plainObjects&&t.call(Object.prototype,P)&&!w.allowPrototypes)return;D[D.length]=P}for(var j=0;(I=L.exec(_))!==null&&j<w.depth;){j+=1;var A=I[1].slice(1,-1);if(!w.plainObjects&&t.call(Object.prototype,A)&&!w.allowPrototypes)return;D[D.length]=I[1]}if(I){if(w.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+w.depth+" and strictDepth is true");D[D.length]="["+_.slice(I.index)+"]"}return D},m=function(b,w,_,N){if(b){var L=k(b,_);if(L)return y(L,w,_,N)}},x=function(b){if(!b)return o;if(typeof b.allowEmptyArrays<"u"&&typeof b.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof b.decodeDotInKeys<"u"&&typeof b.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(b.decoder!==null&&typeof b.decoder<"u"&&typeof b.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof b.charset<"u"&&b.charset!=="utf-8"&&b.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof b.throwOnLimitExceeded<"u"&&typeof b.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var w=typeof b.charset>"u"?o.charset:b.charset,_=typeof b.duplicates>"u"?o.duplicates:b.duplicates;if(_!=="combine"&&_!=="first"&&_!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var N=typeof b.allowDots>"u"?b.decodeDotInKeys===!0?!0:o.allowDots:!!b.allowDots;return{allowDots:N,allowEmptyArrays:typeof b.allowEmptyArrays=="boolean"?!!b.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:typeof b.allowPrototypes=="boolean"?b.allowPrototypes:o.allowPrototypes,allowSparse:typeof b.allowSparse=="boolean"?b.allowSparse:o.allowSparse,arrayLimit:typeof b.arrayLimit=="number"?b.arrayLimit:o.arrayLimit,charset:w,charsetSentinel:typeof b.charsetSentinel=="boolean"?b.charsetSentinel:o.charsetSentinel,comma:typeof b.comma=="boolean"?b.comma:o.comma,decodeDotInKeys:typeof b.decodeDotInKeys=="boolean"?b.decodeDotInKeys:o.decodeDotInKeys,decoder:typeof b.decoder=="function"?b.decoder:o.decoder,delimiter:typeof b.delimiter=="string"||e.isRegExp(b.delimiter)?b.delimiter:o.delimiter,depth:typeof b.depth=="number"||b.depth===!1?+b.depth:o.depth,duplicates:_,ignoreQueryPrefix:b.ignoreQueryPrefix===!0,interpretNumericEntities:typeof b.interpretNumericEntities=="boolean"?b.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:typeof b.parameterLimit=="number"?b.parameterLimit:o.parameterLimit,parseArrays:b.parseArrays!==!1,plainObjects:typeof b.plainObjects=="boolean"?b.plainObjects:o.plainObjects,strictDepth:typeof b.strictDepth=="boolean"?!!b.strictDepth:o.strictDepth,strictMerge:typeof b.strictMerge=="boolean"?!!b.strictMerge:o.strictMerge,strictNullHandling:typeof b.strictNullHandling=="boolean"?b.strictNullHandling:o.strictNullHandling,throwOnLimitExceeded:typeof b.throwOnLimitExceeded=="boolean"?b.throwOnLimitExceeded:!1}};return W$=function(S,b){var w=x(b);if(S===""||S===null||typeof S>"u")return w.plainObjects?{__proto__:null}:{};for(var _=typeof S=="string"?f(S,w):S,N=w.plainObjects?{__proto__:null}:{},L=Object.keys(_),I=0;I<L.length;++I){var P=L[I],D=m(P,_[P],w,typeof S=="string");N=e.merge(N,D,w)}return w.allowSparse===!0?N:e.compact(N)},W$}var Z$,zV;function nte(){if(zV)return Z$;zV=1;var e=ete(),t=tte(),a=_P();return Z$={formats:a,parse:t,stringify:e},Z$}var qV=nte();function OF(e,t){return function(){return e.apply(t,arguments)}}const{toString:ate}=Object.prototype,{getPrototypeOf:SP}=Object,{iterator:hA,toStringTag:DF}=Symbol,pA=(e=>t=>{const a=ate.call(t);return e[a]||(e[a]=a.slice(8,-1).toLowerCase())})(Object.create(null)),Uo=e=>(e=e.toLowerCase(),t=>pA(t)===e),fA=e=>t=>typeof t===e,{isArray:tu}=Array,Fd=fA("undefined");function L2(e){return e!==null&&!Fd(e)&&e.constructor!==null&&!Fd(e.constructor)&&Tn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const zF=Uo("ArrayBuffer");function ote(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&zF(e.buffer),t}const rte=fA("string"),Tn=fA("function"),qF=fA("number"),E2=e=>e!==null&&typeof e=="object",ite=e=>e===!0||e===!1,Nh=e=>{if(pA(e)!=="object")return!1;const t=SP(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(DF in e)&&!(hA in e)},cte=e=>{if(!E2(e)||L2(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},ste=Uo("Date"),lte=Uo("File"),dte=e=>!!(e&&typeof e.uri<"u"),ute=e=>e&&typeof e.getParts<"u",hte=Uo("Blob"),pte=Uo("FileList"),fte=e=>E2(e)&&Tn(e.pipe);function yte(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const HV=yte(),VV=typeof HV.FormData<"u"?HV.FormData:void 0,mte=e=>{let t;return e&&(VV&&e instanceof VV||Tn(e.append)&&((t=pA(e))==="formdata"||t==="object"&&Tn(e.toString)&&e.toString()==="[object FormData]"))},vte=Uo("URLSearchParams"),[kte,gte,Mte,xte]=["ReadableStream","Request","Response","Headers"].map(Uo),bte=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function I2(e,t,{allOwnKeys:a=!1}={}){if(e===null||typeof e>"u")return;let o,i;if(typeof e!="object"&&(e=[e]),tu(e))for(o=0,i=e.length;o<i;o++)t.call(null,e[o],o,e);else{if(L2(e))return;const s=a?Object.getOwnPropertyNames(e):Object.keys(e),l=s.length;let h;for(o=0;o<l;o++)h=s[o],t.call(null,e[h],h,e)}}function HF(e,t){if(L2(e))return null;t=t.toLowerCase();const a=Object.keys(e);let o=a.length,i;for(;o-- >0;)if(i=a[o],t===i.toLowerCase())return i;return null}const $1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,VF=e=>!Fd(e)&&e!==$1;function jj(){const{caseless:e,skipUndefined:t}=VF(this)&&this||{},a={},o=(i,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const l=e&&HF(a,s)||s;Nh(a[l])&&Nh(i)?a[l]=jj(a[l],i):Nh(i)?a[l]=jj({},i):tu(i)?a[l]=i.slice():(!t||!Fd(i))&&(a[l]=i)};for(let i=0,s=arguments.length;i<s;i++)arguments[i]&&I2(arguments[i],o);return a}const wte=(e,t,a,{allOwnKeys:o}={})=>(I2(t,(i,s)=>{a&&Tn(i)?Object.defineProperty(e,s,{value:OF(i,a),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:o}),e),_te=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ste=(e,t,a,o)=>{e.prototype=Object.create(t.prototype,o),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),a&&Object.assign(e.prototype,a)},Cte=(e,t,a,o)=>{let i,s,l;const h={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)l=i[s],(!o||o(l,e,t))&&!h[l]&&(t[l]=e[l],h[l]=!0);e=a!==!1&&SP(e)}while(e&&(!a||a(e,t))&&e!==Object.prototype);return t},Nte=(e,t,a)=>{e=String(e),(a===void 0||a>e.length)&&(a=e.length),a-=t.length;const o=e.indexOf(t,a);return o!==-1&&o===a},Lte=e=>{if(!e)return null;if(tu(e))return e;let t=e.length;if(!qF(t))return null;const a=new Array(t);for(;t-- >0;)a[t]=e[t];return a},Ete=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&SP(Uint8Array)),Ite=(e,t)=>{const o=(e&&e[hA]).call(e);let i;for(;(i=o.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},Ate=(e,t)=>{let a;const o=[];for(;(a=e.exec(t))!==null;)o.push(a);return o},Tte=Uo("HTMLFormElement"),Rte=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,i){return o.toUpperCase()+i}),BV=(({hasOwnProperty:e})=>(t,a)=>e.call(t,a))(Object.prototype),$te=Uo("RegExp"),BF=(e,t)=>{const a=Object.getOwnPropertyDescriptors(e),o={};I2(a,(i,s)=>{let l;(l=t(i,s,e))!==!1&&(o[s]=l||i)}),Object.defineProperties(e,o)},jte=e=>{BF(e,(t,a)=>{if(Tn(e)&&["arguments","caller","callee"].indexOf(a)!==-1)return!1;const o=e[a];if(Tn(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+a+"'")})}})},Pte=(e,t)=>{const a={},o=i=>{i.forEach(s=>{a[s]=!0})};return tu(e)?o(e):o(String(e).split(t)),a},Ote=()=>{},Dte=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function zte(e){return!!(e&&Tn(e.append)&&e[DF]==="FormData"&&e[hA])}const qte=e=>{const t=new Array(10),a=(o,i)=>{if(E2(o)){if(t.indexOf(o)>=0)return;if(L2(o))return o;if(!("toJSON"in o)){t[i]=o;const s=tu(o)?[]:{};return I2(o,(l,h)=>{const f=a(l,i+1);!Fd(f)&&(s[h]=f)}),t[i]=void 0,s}}return o};return a(e,0)},Hte=Uo("AsyncFunction"),Vte=e=>e&&(E2(e)||Tn(e))&&Tn(e.then)&&Tn(e.catch),FF=((e,t)=>e?setImmediate:t?((a,o)=>($1.addEventListener("message",({source:i,data:s})=>{i===$1&&s===a&&o.length&&o.shift()()},!1),i=>{o.push(i),$1.postMessage(a,"*")}))(`axios@${Math.random()}`,[]):a=>setTimeout(a))(typeof setImmediate=="function",Tn($1.postMessage)),Bte=typeof queueMicrotask<"u"?queueMicrotask.bind($1):typeof process<"u"&&process.nextTick||FF,Fte=e=>e!=null&&Tn(e[hA]),re={isArray:tu,isArrayBuffer:zF,isBuffer:L2,isFormData:mte,isArrayBufferView:ote,isString:rte,isNumber:qF,isBoolean:ite,isObject:E2,isPlainObject:Nh,isEmptyObject:cte,isReadableStream:kte,isRequest:gte,isResponse:Mte,isHeaders:xte,isUndefined:Fd,isDate:ste,isFile:lte,isReactNativeBlob:dte,isReactNative:ute,isBlob:hte,isRegExp:$te,isFunction:Tn,isStream:fte,isURLSearchParams:vte,isTypedArray:Ete,isFileList:pte,forEach:I2,merge:jj,extend:wte,trim:bte,stripBOM:_te,inherits:Ste,toFlatObject:Cte,kindOf:pA,kindOfTest:Uo,endsWith:Nte,toArray:Lte,forEachEntry:Ite,matchAll:Ate,isHTMLForm:Tte,hasOwnProperty:BV,hasOwnProp:BV,reduceDescriptors:BF,freezeMethods:jte,toObjectSet:Pte,toCamelCase:Rte,noop:Ote,toFiniteNumber:Dte,findKey:HF,global:$1,isContextDefined:VF,isSpecCompliantForm:zte,toJSONObject:qte,isAsyncFn:Hte,isThenable:Vte,setImmediate:FF,asap:Bte,isIterable:Fte};let Pe=class UF extends Error{static from(t,a,o,i,s,l){const h=new UF(t.message,a||t.code,o,i,s);return h.cause=t,h.name=t.name,t.status!=null&&h.status==null&&(h.status=t.status),l&&Object.assign(h,l),h}constructor(t,a,o,i,s){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,a&&(this.code=a),o&&(this.config=o),i&&(this.request=i),s&&(this.response=s,this.status=s.status)}toJSON(){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:re.toJSONObject(this.config),code:this.code,status:this.status}}};Pe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Pe.ERR_BAD_OPTION="ERR_BAD_OPTION";Pe.ECONNABORTED="ECONNABORTED";Pe.ETIMEDOUT="ETIMEDOUT";Pe.ERR_NETWORK="ERR_NETWORK";Pe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Pe.ERR_DEPRECATED="ERR_DEPRECATED";Pe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Pe.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Pe.ERR_CANCELED="ERR_CANCELED";Pe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Pe.ERR_INVALID_URL="ERR_INVALID_URL";const Ute=null;function Pj(e){return re.isPlainObject(e)||re.isArray(e)}function GF(e){return re.endsWith(e,"[]")?e.slice(0,-2):e}function X$(e,t,a){return e?e.concat(t).map(function(i,s){return i=GF(i),!a&&s?"["+i+"]":i}).join(a?".":""):t}function Gte(e){return re.isArray(e)&&!e.some(Pj)}const Wte=re.toFlatObject(re,{},null,function(t){return/^is[A-Z]/.test(t)});function yA(e,t,a){if(!re.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,a=re.toFlatObject(a,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,_){return!re.isUndefined(_[w])});const o=a.metaTokens,i=a.visitor||k,s=a.dots,l=a.indexes,f=(a.Blob||typeof Blob<"u"&&Blob)&&re.isSpecCompliantForm(t);if(!re.isFunction(i))throw new TypeError("visitor must be a function");function y(b){if(b===null)return"";if(re.isDate(b))return b.toISOString();if(re.isBoolean(b))return b.toString();if(!f&&re.isBlob(b))throw new Pe("Blob is not supported. Use a Buffer instead.");return re.isArrayBuffer(b)||re.isTypedArray(b)?f&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function k(b,w,_){let N=b;if(re.isReactNative(t)&&re.isReactNativeBlob(b))return t.append(X$(_,w,s),y(b)),!1;if(b&&!_&&typeof b=="object"){if(re.endsWith(w,"{}"))w=o?w:w.slice(0,-2),b=JSON.stringify(b);else if(re.isArray(b)&&Gte(b)||(re.isFileList(b)||re.endsWith(w,"[]"))&&(N=re.toArray(b)))return w=GF(w),N.forEach(function(I,P){!(re.isUndefined(I)||I===null)&&t.append(l===!0?X$([w],P,s):l===null?w:w+"[]",y(I))}),!1}return Pj(b)?!0:(t.append(X$(_,w,s),y(b)),!1)}const m=[],x=Object.assign(Wte,{defaultVisitor:k,convertValue:y,isVisitable:Pj});function S(b,w){if(!re.isUndefined(b)){if(m.indexOf(b)!==-1)throw Error("Circular reference detected in "+w.join("."));m.push(b),re.forEach(b,function(N,L){(!(re.isUndefined(N)||N===null)&&i.call(t,N,re.isString(L)?L.trim():L,w,x))===!0&&S(N,w?w.concat(L):[L])}),m.pop()}}if(!re.isObject(e))throw new TypeError("data must be an object");return S(e),t}function FV(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function CP(e,t){this._pairs=[],e&&yA(e,this,t)}const WF=CP.prototype;WF.append=function(t,a){this._pairs.push([t,a])};WF.toString=function(t){const a=t?function(o){return t.call(this,o,FV)}:FV;return this._pairs.map(function(i){return a(i[0])+"="+a(i[1])},"").join("&")};function Zte(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ZF(e,t,a){if(!t)return e;const o=a&&a.encode||Zte,i=re.isFunction(a)?{serialize:a}:a,s=i&&i.serialize;let l;if(s?l=s(t,i):l=re.isURLSearchParams(t)?t.toString():new CP(t,i).toString(o),l){const h=e.indexOf("#");h!==-1&&(e=e.slice(0,h)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class UV{constructor(){this.handlers=[]}use(t,a,o){return this.handlers.push({fulfilled:t,rejected:a,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){re.forEach(this.handlers,function(o){o!==null&&t(o)})}}const NP={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Xte=typeof URLSearchParams<"u"?URLSearchParams:CP,Kte=typeof FormData<"u"?FormData:null,Yte=typeof Blob<"u"?Blob:null,Qte={isBrowser:!0,classes:{URLSearchParams:Xte,FormData:Kte,Blob:Yte},protocols:["http","https","file","blob","url","data"]},LP=typeof window<"u"&&typeof document<"u",Oj=typeof navigator=="object"&&navigator||void 0,Jte=LP&&(!Oj||["ReactNative","NativeScript","NS"].indexOf(Oj.product)<0),ene=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",tne=LP&&window.location.href||"http://localhost",nne=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:LP,hasStandardBrowserEnv:Jte,hasStandardBrowserWebWorkerEnv:ene,navigator:Oj,origin:tne},Symbol.toStringTag,{value:"Module"})),un={...nne,...Qte};function ane(e,t){return yA(e,new un.classes.URLSearchParams,{visitor:function(a,o,i,s){return un.isNode&&re.isBuffer(a)?(this.append(o,a.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function one(e){return re.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function rne(e){const t={},a=Object.keys(e);let o;const i=a.length;let s;for(o=0;o<i;o++)s=a[o],t[s]=e[s];return t}function XF(e){function t(a,o,i,s){let l=a[s++];if(l==="__proto__")return!0;const h=Number.isFinite(+l),f=s>=a.length;return l=!l&&re.isArray(i)?i.length:l,f?(re.hasOwnProp(i,l)?i[l]=[i[l],o]:i[l]=o,!h):((!i[l]||!re.isObject(i[l]))&&(i[l]=[]),t(a,o,i[l],s)&&re.isArray(i[l])&&(i[l]=rne(i[l])),!h)}if(re.isFormData(e)&&re.isFunction(e.entries)){const a={};return re.forEachEntry(e,(o,i)=>{t(one(o),i,a,0)}),a}return null}function ine(e,t,a){if(re.isString(e))try{return(t||JSON.parse)(e),re.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(a||JSON.stringify)(e)}const A2={transitional:NP,adapter:["xhr","http","fetch"],transformRequest:[function(t,a){const o=a.getContentType()||"",i=o.indexOf("application/json")>-1,s=re.isObject(t);if(s&&re.isHTMLForm(t)&&(t=new FormData(t)),re.isFormData(t))return i?JSON.stringify(XF(t)):t;if(re.isArrayBuffer(t)||re.isBuffer(t)||re.isStream(t)||re.isFile(t)||re.isBlob(t)||re.isReadableStream(t))return t;if(re.isArrayBufferView(t))return t.buffer;if(re.isURLSearchParams(t))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let h;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return ane(t,this.formSerializer).toString();if((h=re.isFileList(t))||o.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return yA(h?{"files[]":t}:t,f&&new f,this.formSerializer)}}return s||i?(a.setContentType("application/json",!1),ine(t)):t}],transformResponse:[function(t){const a=this.transitional||A2.transitional,o=a&&a.forcedJSONParsing,i=this.responseType==="json";if(re.isResponse(t)||re.isReadableStream(t))return t;if(t&&re.isString(t)&&(o&&!this.responseType||i)){const l=!(a&&a.silentJSONParsing)&&i;try{return JSON.parse(t,this.parseReviver)}catch(h){if(l)throw h.name==="SyntaxError"?Pe.from(h,Pe.ERR_BAD_RESPONSE,this,null,this.response):h}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:un.classes.FormData,Blob:un.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};re.forEach(["delete","get","head","post","put","patch"],e=>{A2.headers[e]={}});const cne=re.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"]),sne=e=>{const t={};let a,o,i;return e&&e.split(`
14
- `).forEach(function(l){i=l.indexOf(":"),a=l.substring(0,i).trim().toLowerCase(),o=l.substring(i+1).trim(),!(!a||t[a]&&cne[a])&&(a==="set-cookie"?t[a]?t[a].push(o):t[a]=[o]:t[a]=t[a]?t[a]+", "+o:o)}),t},GV=Symbol("internals");function t2(e){return e&&String(e).trim().toLowerCase()}function Lh(e){return e===!1||e==null?e:re.isArray(e)?e.map(Lh):String(e)}function lne(e){const t=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=a.exec(e);)t[o[1]]=o[2];return t}const dne=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function K$(e,t,a,o,i){if(re.isFunction(o))return o.call(this,t,a);if(i&&(t=a),!!re.isString(t)){if(re.isString(o))return t.indexOf(o)!==-1;if(re.isRegExp(o))return o.test(t)}}function une(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,a,o)=>a.toUpperCase()+o)}function hne(e,t){const a=re.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+a,{value:function(i,s,l){return this[o].call(this,t,i,s,l)},configurable:!0})})}let Rn=class{constructor(t){t&&this.set(t)}set(t,a,o){const i=this;function s(h,f,y){const k=t2(f);if(!k)throw new Error("header name must be a non-empty string");const m=re.findKey(i,k);(!m||i[m]===void 0||y===!0||y===void 0&&i[m]!==!1)&&(i[m||f]=Lh(h))}const l=(h,f)=>re.forEach(h,(y,k)=>s(y,k,f));if(re.isPlainObject(t)||t instanceof this.constructor)l(t,a);else if(re.isString(t)&&(t=t.trim())&&!dne(t))l(sne(t),a);else if(re.isObject(t)&&re.isIterable(t)){let h={},f,y;for(const k of t){if(!re.isArray(k))throw TypeError("Object iterator must return a key-value pair");h[y=k[0]]=(f=h[y])?re.isArray(f)?[...f,k[1]]:[f,k[1]]:k[1]}l(h,a)}else t!=null&&s(a,t,o);return this}get(t,a){if(t=t2(t),t){const o=re.findKey(this,t);if(o){const i=this[o];if(!a)return i;if(a===!0)return lne(i);if(re.isFunction(a))return a.call(this,i,o);if(re.isRegExp(a))return a.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,a){if(t=t2(t),t){const o=re.findKey(this,t);return!!(o&&this[o]!==void 0&&(!a||K$(this,this[o],o,a)))}return!1}delete(t,a){const o=this;let i=!1;function s(l){if(l=t2(l),l){const h=re.findKey(o,l);h&&(!a||K$(o,o[h],h,a))&&(delete o[h],i=!0)}}return re.isArray(t)?t.forEach(s):s(t),i}clear(t){const a=Object.keys(this);let o=a.length,i=!1;for(;o--;){const s=a[o];(!t||K$(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const a=this,o={};return re.forEach(this,(i,s)=>{const l=re.findKey(o,s);if(l){a[l]=Lh(i),delete a[s];return}const h=t?une(s):String(s).trim();h!==s&&delete a[s],a[h]=Lh(i),o[h]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const a=Object.create(null);return re.forEach(this,(o,i)=>{o!=null&&o!==!1&&(a[i]=t&&re.isArray(o)?o.join(", "):o)}),a}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,a])=>t+": "+a).join(`
15
- `)}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,...a){const o=new this(t);return a.forEach(i=>o.set(i)),o}static accessor(t){const o=(this[GV]=this[GV]={accessors:{}}).accessors,i=this.prototype;function s(l){const h=t2(l);o[h]||(hne(i,l),o[h]=!0)}return re.isArray(t)?t.forEach(s):s(t),this}};Rn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);re.reduceDescriptors(Rn.prototype,({value:e},t)=>{let a=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[a]=o}}});re.freezeMethods(Rn);function Y$(e,t){const a=this||A2,o=t||a,i=Rn.from(o.headers);let s=o.data;return re.forEach(e,function(h){s=h.call(a,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function KF(e){return!!(e&&e.__CANCEL__)}let T2=class extends Pe{constructor(t,a,o){super(t??"canceled",Pe.ERR_CANCELED,a,o),this.name="CanceledError",this.__CANCEL__=!0}};function YF(e,t,a){const o=a.config.validateStatus;!a.status||!o||o(a.status)?e(a):t(new Pe("Request failed with status code "+a.status,[Pe.ERR_BAD_REQUEST,Pe.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))}function pne(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fne(e,t){e=e||10;const a=new Array(e),o=new Array(e);let i=0,s=0,l;return t=t!==void 0?t:1e3,function(f){const y=Date.now(),k=o[s];l||(l=y),a[i]=f,o[i]=y;let m=s,x=0;for(;m!==i;)x+=a[m++],m=m%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),y-l<t)return;const S=k&&y-k;return S?Math.round(x*1e3/S):void 0}}function yne(e,t){let a=0,o=1e3/t,i,s;const l=(y,k=Date.now())=>{a=k,i=null,s&&(clearTimeout(s),s=null),e(...y)};return[(...y)=>{const k=Date.now(),m=k-a;m>=o?l(y,k):(i=y,s||(s=setTimeout(()=>{s=null,l(i)},o-m)))},()=>i&&l(i)]}const BI=(e,t,a=3)=>{let o=0;const i=fne(50,250);return yne(s=>{const l=s.loaded,h=s.lengthComputable?s.total:void 0,f=l-o,y=i(f),k=l<=h;o=l;const m={loaded:l,total:h,progress:h?l/h:void 0,bytes:f,rate:y||void 0,estimated:y&&h&&k?(h-l)/y:void 0,event:s,lengthComputable:h!=null,[t?"download":"upload"]:!0};e(m)},a)},WV=(e,t)=>{const a=e!=null;return[o=>t[0]({lengthComputable:a,total:e,loaded:o}),t[1]]},ZV=e=>(...t)=>re.asap(()=>e(...t)),mne=un.hasStandardBrowserEnv?((e,t)=>a=>(a=new URL(a,un.origin),e.protocol===a.protocol&&e.host===a.host&&(t||e.port===a.port)))(new URL(un.origin),un.navigator&&/(msie|trident)/i.test(un.navigator.userAgent)):()=>!0,vne=un.hasStandardBrowserEnv?{write(e,t,a,o,i,s,l){if(typeof document>"u")return;const h=[`${e}=${encodeURIComponent(t)}`];re.isNumber(a)&&h.push(`expires=${new Date(a).toUTCString()}`),re.isString(o)&&h.push(`path=${o}`),re.isString(i)&&h.push(`domain=${i}`),s===!0&&h.push("secure"),re.isString(l)&&h.push(`SameSite=${l}`),document.cookie=h.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function kne(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gne(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function QF(e,t,a){let o=!kne(t);return e&&(o||a==!1)?gne(e,t):t}const XV=e=>e instanceof Rn?{...e}:e;function D1(e,t){t=t||{};const a={};function o(y,k,m,x){return re.isPlainObject(y)&&re.isPlainObject(k)?re.merge.call({caseless:x},y,k):re.isPlainObject(k)?re.merge({},k):re.isArray(k)?k.slice():k}function i(y,k,m,x){if(re.isUndefined(k)){if(!re.isUndefined(y))return o(void 0,y,m,x)}else return o(y,k,m,x)}function s(y,k){if(!re.isUndefined(k))return o(void 0,k)}function l(y,k){if(re.isUndefined(k)){if(!re.isUndefined(y))return o(void 0,y)}else return o(void 0,k)}function h(y,k,m){if(m in t)return o(y,k);if(m in e)return o(void 0,y)}const f={url:s,method:s,data:s,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:h,headers:(y,k,m)=>i(XV(y),XV(k),m,!0)};return re.forEach(Object.keys({...e,...t}),function(k){if(k==="__proto__"||k==="constructor"||k==="prototype")return;const m=re.hasOwnProp(f,k)?f[k]:i,x=m(e[k],t[k],k);re.isUndefined(x)&&m!==h||(a[k]=x)}),a}const JF=e=>{const t=D1({},e);let{data:a,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:l,auth:h}=t;if(t.headers=l=Rn.from(l),t.url=ZF(QF(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),h&&l.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),re.isFormData(a)){if(un.hasStandardBrowserEnv||un.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if(re.isFunction(a.getHeaders)){const f=a.getHeaders(),y=["content-type","content-length"];Object.entries(f).forEach(([k,m])=>{y.includes(k.toLowerCase())&&l.set(k,m)})}}if(un.hasStandardBrowserEnv&&(o&&re.isFunction(o)&&(o=o(t)),o||o!==!1&&mne(t.url))){const f=i&&s&&vne.read(s);f&&l.set(i,f)}return t},Mne=typeof XMLHttpRequest<"u",xne=Mne&&function(e){return new Promise(function(a,o){const i=JF(e);let s=i.data;const l=Rn.from(i.headers).normalize();let{responseType:h,onUploadProgress:f,onDownloadProgress:y}=i,k,m,x,S,b;function w(){S&&S(),b&&b(),i.cancelToken&&i.cancelToken.unsubscribe(k),i.signal&&i.signal.removeEventListener("abort",k)}let _=new XMLHttpRequest;_.open(i.method.toUpperCase(),i.url,!0),_.timeout=i.timeout;function N(){if(!_)return;const I=Rn.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),D={data:!h||h==="text"||h==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:I,config:e,request:_};YF(function(A){a(A),w()},function(A){o(A),w()},D),_=null}"onloadend"in _?_.onloadend=N:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(N)},_.onabort=function(){_&&(o(new Pe("Request aborted",Pe.ECONNABORTED,e,_)),_=null)},_.onerror=function(P){const D=P&&P.message?P.message:"Network Error",j=new Pe(D,Pe.ERR_NETWORK,e,_);j.event=P||null,o(j),_=null},_.ontimeout=function(){let P=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const D=i.transitional||NP;i.timeoutErrorMessage&&(P=i.timeoutErrorMessage),o(new Pe(P,D.clarifyTimeoutError?Pe.ETIMEDOUT:Pe.ECONNABORTED,e,_)),_=null},s===void 0&&l.setContentType(null),"setRequestHeader"in _&&re.forEach(l.toJSON(),function(P,D){_.setRequestHeader(D,P)}),re.isUndefined(i.withCredentials)||(_.withCredentials=!!i.withCredentials),h&&h!=="json"&&(_.responseType=i.responseType),y&&([x,b]=BI(y,!0),_.addEventListener("progress",x)),f&&_.upload&&([m,S]=BI(f),_.upload.addEventListener("progress",m),_.upload.addEventListener("loadend",S)),(i.cancelToken||i.signal)&&(k=I=>{_&&(o(!I||I.type?new T2(null,e,_):I),_.abort(),_=null)},i.cancelToken&&i.cancelToken.subscribe(k),i.signal&&(i.signal.aborted?k():i.signal.addEventListener("abort",k)));const L=pne(i.url);if(L&&un.protocols.indexOf(L)===-1){o(new Pe("Unsupported protocol "+L+":",Pe.ERR_BAD_REQUEST,e));return}_.send(s||null)})},bne=(e,t)=>{const{length:a}=e=e?e.filter(Boolean):[];if(t||a){let o=new AbortController,i;const s=function(y){if(!i){i=!0,h();const k=y instanceof Error?y:this.reason;o.abort(k instanceof Pe?k:new T2(k instanceof Error?k.message:k))}};let l=t&&setTimeout(()=>{l=null,s(new Pe(`timeout of ${t}ms exceeded`,Pe.ETIMEDOUT))},t);const h=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(y=>{y.unsubscribe?y.unsubscribe(s):y.removeEventListener("abort",s)}),e=null)};e.forEach(y=>y.addEventListener("abort",s));const{signal:f}=o;return f.unsubscribe=()=>re.asap(h),f}},wne=function*(e,t){let a=e.byteLength;if(a<t){yield e;return}let o=0,i;for(;o<a;)i=o+t,yield e.slice(o,i),o=i},_ne=async function*(e,t){for await(const a of Sne(e))yield*wne(a,t)},Sne=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:a,value:o}=await t.read();if(a)break;yield o}}finally{await t.cancel()}},KV=(e,t,a,o)=>{const i=_ne(e,t);let s=0,l,h=f=>{l||(l=!0,o&&o(f))};return new ReadableStream({async pull(f){try{const{done:y,value:k}=await i.next();if(y){h(),f.close();return}let m=k.byteLength;if(a){let x=s+=m;a(x)}f.enqueue(new Uint8Array(k))}catch(y){throw h(y),y}},cancel(f){return h(f),i.return()}},{highWaterMark:2})},YV=64*1024,{isFunction:ph}=re,Cne=(({Request:e,Response:t})=>({Request:e,Response:t}))(re.global),{ReadableStream:QV,TextEncoder:JV}=re.global,eB=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Nne=e=>{e=re.merge.call({skipUndefined:!0},Cne,e);const{fetch:t,Request:a,Response:o}=e,i=t?ph(t):typeof fetch=="function",s=ph(a),l=ph(o);if(!i)return!1;const h=i&&ph(QV),f=i&&(typeof JV=="function"?(b=>w=>b.encode(w))(new JV):async b=>new Uint8Array(await new a(b).arrayBuffer())),y=s&&h&&eB(()=>{let b=!1;const w=new a(un.origin,{body:new QV,method:"POST",get duplex(){return b=!0,"half"}}).headers.has("Content-Type");return b&&!w}),k=l&&h&&eB(()=>re.isReadableStream(new o("").body)),m={stream:k&&(b=>b.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!m[b]&&(m[b]=(w,_)=>{let N=w&&w[b];if(N)return N.call(w);throw new Pe(`Response type '${b}' is not supported`,Pe.ERR_NOT_SUPPORT,_)})});const x=async b=>{if(b==null)return 0;if(re.isBlob(b))return b.size;if(re.isSpecCompliantForm(b))return(await new a(un.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(re.isArrayBufferView(b)||re.isArrayBuffer(b))return b.byteLength;if(re.isURLSearchParams(b)&&(b=b+""),re.isString(b))return(await f(b)).byteLength},S=async(b,w)=>{const _=re.toFiniteNumber(b.getContentLength());return _??x(w)};return async b=>{let{url:w,method:_,data:N,signal:L,cancelToken:I,timeout:P,onDownloadProgress:D,onUploadProgress:j,responseType:A,headers:$,withCredentials:B="same-origin",fetchOptions:Z}=JF(b),q=t||fetch;A=A?(A+"").toLowerCase():"text";let V=bne([L,I&&I.toAbortSignal()],P),F=null;const J=V&&V.unsubscribe&&(()=>{V.unsubscribe()});let oe;try{if(j&&y&&_!=="get"&&_!=="head"&&(oe=await S($,N))!==0){let Me=new a(w,{method:"POST",body:N,duplex:"half"}),X;if(re.isFormData(N)&&(X=Me.headers.get("content-type"))&&$.setContentType(X),Me.body){const[ne,de]=WV(oe,BI(ZV(j)));N=KV(Me.body,YV,ne,de)}}re.isString(B)||(B=B?"include":"omit");const T=s&&"credentials"in a.prototype,O={...Z,signal:V,method:_.toUpperCase(),headers:$.normalize().toJSON(),body:N,duplex:"half",credentials:T?B:void 0};F=s&&new a(w,O);let R=await(s?q(F,Z):q(w,O));const G=k&&(A==="stream"||A==="response");if(k&&(D||G&&J)){const Me={};["status","statusText","headers"].forEach(ce=>{Me[ce]=R[ce]});const X=re.toFiniteNumber(R.headers.get("content-length")),[ne,de]=D&&WV(X,BI(ZV(D),!0))||[];R=new o(KV(R.body,YV,ne,()=>{de&&de(),J&&J()}),Me)}A=A||"text";let K=await m[re.findKey(m,A)||"text"](R,b);return!G&&J&&J(),await new Promise((Me,X)=>{YF(Me,X,{data:K,headers:Rn.from(R.headers),status:R.status,statusText:R.statusText,config:b,request:F})})}catch(T){throw J&&J(),T&&T.name==="TypeError"&&/Load failed|fetch/i.test(T.message)?Object.assign(new Pe("Network Error",Pe.ERR_NETWORK,b,F,T&&T.response),{cause:T.cause||T}):Pe.from(T,T&&T.code,b,F,T&&T.response)}}},Lne=new Map,eU=e=>{let t=e&&e.env||{};const{fetch:a,Request:o,Response:i}=t,s=[o,i,a];let l=s.length,h=l,f,y,k=Lne;for(;h--;)f=s[h],y=k.get(f),y===void 0&&k.set(f,y=h?new Map:Nne(t)),k=y;return y};eU();const EP={http:Ute,xhr:xne,fetch:{get:eU}};re.forEach(EP,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const tB=e=>`- ${e}`,Ene=e=>re.isFunction(e)||e===null||e===!1;function Ine(e,t){e=re.isArray(e)?e:[e];const{length:a}=e;let o,i;const s={};for(let l=0;l<a;l++){o=e[l];let h;if(i=o,!Ene(o)&&(i=EP[(h=String(o)).toLowerCase()],i===void 0))throw new Pe(`Unknown adapter '${h}'`);if(i&&(re.isFunction(i)||(i=i.get(t))))break;s[h||"#"+l]=i}if(!i){const l=Object.entries(s).map(([f,y])=>`adapter ${f} `+(y===!1?"is not supported by the environment":"is not available in the build"));let h=a?l.length>1?`since :
10
+ */var WH;function wee(){if(WH)return e2;WH=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function a(o,i,s){var l=null;if(s!==void 0&&(l=""+s),i.key!==void 0&&(l=""+i.key),"key"in i){s={};for(var h in i)h!=="key"&&(s[h]=i[h])}else s=i;return i=s.ref,{$$typeof:e,type:o,key:l,ref:i!==void 0?i:null,props:s}}return e2.Fragment=t,e2.jsx=a,e2.jsxs=a,e2}var ZH;function _ee(){return ZH||(ZH=1,o$.exports=wee()),o$.exports}var M=_ee(),r$,XH;function eu(){return XH||(XH=1,r$=TypeError),r$}const See={},Cee=Object.freeze(Object.defineProperty({__proto__:null,default:See},Symbol.toStringTag,{value:"Module"})),Nee=see(Cee);var i$,KH;function dA(){if(KH)return i$;KH=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=e&&t&&typeof t.get=="function"?t.get:null,o=e&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=i&&s&&typeof s.get=="function"?s.get:null,h=i&&Set.prototype.forEach,f=typeof WeakMap=="function"&&WeakMap.prototype,y=f?WeakMap.prototype.has:null,k=typeof WeakSet=="function"&&WeakSet.prototype,m=k?WeakSet.prototype.has:null,x=typeof WeakRef=="function"&&WeakRef.prototype,S=x?WeakRef.prototype.deref:null,b=Boolean.prototype.valueOf,w=Object.prototype.toString,_=Function.prototype.toString,N=String.prototype.match,L=String.prototype.slice,I=String.prototype.replace,O=String.prototype.toUpperCase,D=String.prototype.toLowerCase,P=RegExp.prototype.test,A=Array.prototype.concat,j=Array.prototype.join,V=Array.prototype.slice,K=Math.floor,q=typeof BigInt=="function"?BigInt.prototype.valueOf:null,B=Object.getOwnPropertySymbols,F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,J=typeof Symbol=="function"&&typeof Symbol.iterator=="object",pe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===J||!0)?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,$=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Z){return Z.__proto__}:null);function T(Z,ae){if(Z===1/0||Z===-1/0||Z!==Z||Z&&Z>-1e3&&Z<1e3||P.call(/e/,ae))return ae;var Ue=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof Z=="number"){var Ge=Z<0?-K(-Z):K(Z);if(Ge!==Z){var rt=String(Ge),Oe=L.call(ae,rt.length+1);return I.call(rt,Ue,"$&_")+"."+I.call(I.call(Oe,/([0-9]{3})/g,"$&_"),/_$/,"")}}return I.call(ae,Ue,"$&_")}var G=Nee,W=G.custom,Me=$e(W)?W:null,X={__proto__:null,double:'"',single:"'"},ne={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};i$=function Z(ae,Ue,Ge,rt){var Oe=Ue||{};if(tt(Oe,"quoteStyle")&&!tt(X,Oe.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(tt(Oe,"maxStringLength")&&(typeof Oe.maxStringLength=="number"?Oe.maxStringLength<0&&Oe.maxStringLength!==1/0:Oe.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var dn=tt(Oe,"customInspect")?Oe.customInspect:!0;if(typeof dn!="boolean"&&dn!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(tt(Oe,"indent")&&Oe.indent!==null&&Oe.indent!==" "&&!(parseInt(Oe.indent,10)===Oe.indent&&Oe.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(tt(Oe,"numericSeparator")&&typeof Oe.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Kt=Oe.numericSeparator;if(typeof ae>"u")return"undefined";if(ae===null)return"null";if(typeof ae=="boolean")return ae?"true":"false";if(typeof ae=="string")return Ne(ae,Oe);if(typeof ae=="number"){if(ae===0)return 1/0/ae>0?"0":"-0";var Ie=String(ae);return Kt?T(ae,Ie):Ie}if(typeof ae=="bigint"){var nt=String(ae)+"n";return Kt?T(ae,nt):nt}var Tt=typeof Oe.depth>"u"?5:Oe.depth;if(typeof Ge>"u"&&(Ge=0),Ge>=Tt&&Tt>0&&typeof ae=="object")return he(ae)?"[Array]":"[Object]";var Et=Yn(Oe,Ge);if(typeof rt>"u")rt=[];else if(Ut(rt,ae)>=0)return"[Circular]";function zt(fr,Xo,uu){if(Xo&&(rt=V.call(rt),rt.push(Xo)),uu){var yr={depth:Oe.depth};return tt(Oe,"quoteStyle")&&(yr.quoteStyle=Oe.quoteStyle),Z(fr,yr,Ge+1,rt)}return Z(fr,Oe,Ge+1,rt)}if(typeof ae=="function"&&!me(ae)){var xt=Ye(ae),nn=ln(ae,zt);return"[Function"+(xt?": "+xt:" (anonymous)")+"]"+(nn.length>0?" { "+j.call(nn,", ")+" }":"")}if($e(ae)){var Wo=J?I.call(String(ae),/^(Symbol\(.*\))_[^)]*$/,"$1"):F.call(ae);return typeof ae=="object"&&!J?Je(Wo):Wo}if(De(ae)){for(var qt="<"+D.call(String(ae.nodeName)),Yt=ae.attributes||[],ua=0;ua<Yt.length;ua++)qt+=" "+Yt[ua].name+"="+le(ie(Yt[ua].value),"double",Oe);return qt+=">",ae.childNodes&&ae.childNodes.length&&(qt+="..."),qt+="</"+D.call(String(ae.nodeName))+">",qt}if(he(ae)){if(ae.length===0)return"[]";var yn=ln(ae,zt);return Et&&!tn(yn)?"["+Gt(yn,Et)+"]":"[ "+j.call(yn,", ")+" ]"}if(ge(ae)){var Oi=ln(ae,zt);return!("cause"in Error.prototype)&&"cause"in ae&&!R.call(ae,"cause")?"{ ["+String(ae)+"] "+j.call(A.call("[cause]: "+zt(ae.cause),Oi),", ")+" }":Oi.length===0?"["+String(ae)+"]":"{ ["+String(ae)+"] "+j.call(Oi,", ")+" }"}if(typeof ae=="object"&&dn){if(Me&&typeof ae[Me]=="function"&&G)return G(ae,{depth:Tt-Ge});if(dn!=="symbol"&&typeof ae.inspect=="function")return ae.inspect()}if(At(ae)){var lu=[];return o&&o.call(ae,function(fr,Xo){lu.push(zt(Xo,ae,!0)+" => "+zt(fr,ae))}),lt("Map",a.call(ae),lu,Et)}if(qe(ae)){var ha=[];return h&&h.call(ae,function(fr){ha.push(zt(fr,ae))}),lt("Set",l.call(ae),ha,Et)}if(Mt(ae))return jt("WeakMap");if(we(ae))return jt("WeakSet");if(Lt(ae))return jt("WeakRef");if(ce(ae))return Je(zt(Number(ae)));if(st(ae))return Je(zt(q.call(ae)));if(Ee(ae))return Je(b.call(ae));if(fe(ae))return Je(zt(String(ae)));if(typeof window<"u"&&ae===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ae===globalThis||typeof GH<"u"&&ae===GH)return"{ [object globalThis] }";if(!ve(ae)&&!me(ae)){var Pt=ln(ae,zt),an=$?$(ae)===Object.prototype:ae instanceof Object||ae.constructor===Object,Zo=ae instanceof Object?"":"null prototype",K1=!an&&pe&&Object(ae)===ae&&pe in ae?L.call(ot(ae),8,-1):Zo?"Object":"",KA=an||typeof ae.constructor!="function"?"":ae.constructor.name?ae.constructor.name+" ":"",du=KA+(K1||Zo?"["+j.call(A.call([],K1||[],Zo||[]),": ")+"] ":"");return Pt.length===0?du+"{}":Et?du+"{"+Gt(Pt,Et)+"}":du+"{ "+j.call(Pt,", ")+" }"}return String(ae)};function le(Z,ae,Ue){var Ge=Ue.quoteStyle||ae,rt=X[Ge];return rt+Z+rt}function ie(Z){return I.call(String(Z),/"/g,"&quot;")}function ye(Z){return!pe||!(typeof Z=="object"&&(pe in Z||typeof Z[pe]<"u"))}function he(Z){return ot(Z)==="[object Array]"&&ye(Z)}function ve(Z){return ot(Z)==="[object Date]"&&ye(Z)}function me(Z){return ot(Z)==="[object RegExp]"&&ye(Z)}function ge(Z){return ot(Z)==="[object Error]"&&ye(Z)}function fe(Z){return ot(Z)==="[object String]"&&ye(Z)}function ce(Z){return ot(Z)==="[object Number]"&&ye(Z)}function Ee(Z){return ot(Z)==="[object Boolean]"&&ye(Z)}function $e(Z){if(J)return Z&&typeof Z=="object"&&Z instanceof Symbol;if(typeof Z=="symbol")return!0;if(!Z||typeof Z!="object"||!F)return!1;try{return F.call(Z),!0}catch{}return!1}function st(Z){if(!Z||typeof Z!="object"||!q)return!1;try{return q.call(Z),!0}catch{}return!1}var Ve=Object.prototype.hasOwnProperty||function(Z){return Z in this};function tt(Z,ae){return Ve.call(Z,ae)}function ot(Z){return w.call(Z)}function Ye(Z){if(Z.name)return Z.name;var ae=N.call(_.call(Z),/^function\s*([\w$]+)/);return ae?ae[1]:null}function Ut(Z,ae){if(Z.indexOf)return Z.indexOf(ae);for(var Ue=0,Ge=Z.length;Ue<Ge;Ue++)if(Z[Ue]===ae)return Ue;return-1}function At(Z){if(!a||!Z||typeof Z!="object")return!1;try{a.call(Z);try{l.call(Z)}catch{return!0}return Z instanceof Map}catch{}return!1}function Mt(Z){if(!y||!Z||typeof Z!="object")return!1;try{y.call(Z,y);try{m.call(Z,m)}catch{return!0}return Z instanceof WeakMap}catch{}return!1}function Lt(Z){if(!S||!Z||typeof Z!="object")return!1;try{return S.call(Z),!0}catch{}return!1}function qe(Z){if(!l||!Z||typeof Z!="object")return!1;try{l.call(Z);try{a.call(Z)}catch{return!0}return Z instanceof Set}catch{}return!1}function we(Z){if(!m||!Z||typeof Z!="object")return!1;try{m.call(Z,m);try{y.call(Z,y)}catch{return!0}return Z instanceof WeakSet}catch{}return!1}function De(Z){return!Z||typeof Z!="object"?!1:typeof HTMLElement<"u"&&Z instanceof HTMLElement?!0:typeof Z.nodeName=="string"&&typeof Z.getAttribute=="function"}function Ne(Z,ae){if(Z.length>ae.maxStringLength){var Ue=Z.length-ae.maxStringLength,Ge="... "+Ue+" more character"+(Ue>1?"s":"");return Ne(L.call(Z,0,ae.maxStringLength),ae)+Ge}var rt=ne[ae.quoteStyle||"single"];rt.lastIndex=0;var Oe=I.call(I.call(Z,rt,"\\$1"),/[\x00-\x1f]/g,Te);return le(Oe,"single",ae)}function Te(Z){var ae=Z.charCodeAt(0),Ue={8:"b",9:"t",10:"n",12:"f",13:"r"}[ae];return Ue?"\\"+Ue:"\\x"+(ae<16?"0":"")+O.call(ae.toString(16))}function Je(Z){return"Object("+Z+")"}function jt(Z){return Z+" { ? }"}function lt(Z,ae,Ue,Ge){var rt=Ge?Gt(Ue,Ge):j.call(Ue,", ");return Z+" ("+ae+") {"+rt+"}"}function tn(Z){for(var ae=0;ae<Z.length;ae++)if(Ut(Z[ae],`
11
+ `)>=0)return!1;return!0}function Yn(Z,ae){var Ue;if(Z.indent===" ")Ue=" ";else if(typeof Z.indent=="number"&&Z.indent>0)Ue=j.call(Array(Z.indent+1)," ");else return null;return{base:Ue,prev:j.call(Array(ae+1),Ue)}}function Gt(Z,ae){if(Z.length===0)return"";var Ue=`
12
+ `+ae.prev+ae.base;return Ue+j.call(Z,","+Ue)+`
13
+ `+ae.prev}function ln(Z,ae){var Ue=he(Z),Ge=[];if(Ue){Ge.length=Z.length;for(var rt=0;rt<Z.length;rt++)Ge[rt]=tt(Z,rt)?ae(Z[rt],Z):""}var Oe=typeof B=="function"?B(Z):[],dn;if(J){dn={};for(var Kt=0;Kt<Oe.length;Kt++)dn["$"+Oe[Kt]]=Oe[Kt]}for(var Ie in Z)tt(Z,Ie)&&(Ue&&String(Number(Ie))===Ie&&Ie<Z.length||J&&dn["$"+Ie]instanceof Symbol||(P.call(/[^\w$]/,Ie)?Ge.push(ae(Ie,Z)+": "+ae(Z[Ie],Z)):Ge.push(Ie+": "+ae(Z[Ie],Z))));if(typeof B=="function")for(var nt=0;nt<Oe.length;nt++)R.call(Z,Oe[nt])&&Ge.push("["+ae(Oe[nt])+"]: "+ae(Z[Oe[nt]],Z));return Ge}return i$}var c$,YH;function Lee(){if(YH)return c$;YH=1;var e=dA(),t=eu(),a=function(h,f,y){for(var k=h,m;(m=k.next)!=null;k=m)if(m.key===f)return k.next=m.next,y||(m.next=h.next,h.next=m),m},o=function(h,f){if(h){var y=a(h,f);return y&&y.value}},i=function(h,f,y){var k=a(h,f);k?k.value=y:h.next={key:f,next:h.next,value:y}},s=function(h,f){return h?!!a(h,f):!1},l=function(h,f){if(h)return a(h,f,!0)};return c$=function(){var f,y={assert:function(k){if(!y.has(k))throw new t("Side channel does not contain "+e(k))},delete:function(k){var m=f&&f.next,x=l(f,k);return x&&m&&m===x&&(f=void 0),!!x},get:function(k){return o(f,k)},has:function(k){return s(f,k)},set:function(k,m){f||(f={next:void 0}),i(f,k,m)}};return y},c$}var s$,QH;function NF(){return QH||(QH=1,s$=Object),s$}var l$,JH;function Eee(){return JH||(JH=1,l$=Error),l$}var d$,eV;function Iee(){return eV||(eV=1,d$=EvalError),d$}var u$,tV;function Aee(){return tV||(tV=1,u$=RangeError),u$}var h$,nV;function Tee(){return nV||(nV=1,h$=ReferenceError),h$}var p$,aV;function Ree(){return aV||(aV=1,p$=SyntaxError),p$}var f$,oV;function $ee(){return oV||(oV=1,f$=URIError),f$}var y$,rV;function jee(){return rV||(rV=1,y$=Math.abs),y$}var m$,iV;function Pee(){return iV||(iV=1,m$=Math.floor),m$}var v$,cV;function Oee(){return cV||(cV=1,v$=Math.max),v$}var k$,sV;function Dee(){return sV||(sV=1,k$=Math.min),k$}var g$,lV;function zee(){return lV||(lV=1,g$=Math.pow),g$}var M$,dV;function qee(){return dV||(dV=1,M$=Math.round),M$}var x$,uV;function Hee(){return uV||(uV=1,x$=Number.isNaN||function(t){return t!==t}),x$}var b$,hV;function Vee(){if(hV)return b$;hV=1;var e=Hee();return b$=function(a){return e(a)||a===0?a:a<0?-1:1},b$}var w$,pV;function Bee(){return pV||(pV=1,w$=Object.getOwnPropertyDescriptor),w$}var _$,fV;function LF(){if(fV)return _$;fV=1;var e=Bee();if(e)try{e([],"length")}catch{e=null}return _$=e,_$}var S$,yV;function Fee(){if(yV)return S$;yV=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return S$=e,S$}var C$,mV;function Uee(){return mV||(mV=1,C$=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},a=Symbol("test"),o=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;t[a]=i;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var l=Object.getOwnPropertySymbols(t);if(l.length!==1||l[0]!==a||!Object.prototype.propertyIsEnumerable.call(t,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(t,a);if(h.value!==i||h.enumerable!==!0)return!1}return!0}),C$}var N$,vV;function Gee(){if(vV)return N$;vV=1;var e=typeof Symbol<"u"&&Symbol,t=Uee();return N$=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},N$}var L$,kV;function EF(){return kV||(kV=1,L$=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),L$}var E$,gV;function IF(){if(gV)return E$;gV=1;var e=NF();return E$=e.getPrototypeOf||null,E$}var I$,MV;function Wee(){if(MV)return I$;MV=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,a=Math.max,o="[object Function]",i=function(f,y){for(var k=[],m=0;m<f.length;m+=1)k[m]=f[m];for(var x=0;x<y.length;x+=1)k[x+f.length]=y[x];return k},s=function(f,y){for(var k=[],m=y,x=0;m<f.length;m+=1,x+=1)k[x]=f[m];return k},l=function(h,f){for(var y="",k=0;k<h.length;k+=1)y+=h[k],k+1<h.length&&(y+=f);return y};return I$=function(f){var y=this;if(typeof y!="function"||t.apply(y)!==o)throw new TypeError(e+y);for(var k=s(arguments,1),m,x=function(){if(this instanceof m){var N=y.apply(this,i(k,arguments));return Object(N)===N?N:this}return y.apply(f,i(k,arguments))},S=a(0,y.length-k.length),b=[],w=0;w<S;w++)b[w]="$"+w;if(m=Function("binder","return function ("+l(b,",")+"){ return binder.apply(this,arguments); }")(x),y.prototype){var _=function(){};_.prototype=y.prototype,m.prototype=new _,_.prototype=null}return m},I$}var A$,xV;function uA(){if(xV)return A$;xV=1;var e=Wee();return A$=Function.prototype.bind||e,A$}var T$,bV;function wP(){return bV||(bV=1,T$=Function.prototype.call),T$}var R$,wV;function AF(){return wV||(wV=1,R$=Function.prototype.apply),R$}var $$,_V;function Zee(){return _V||(_V=1,$$=typeof Reflect<"u"&&Reflect&&Reflect.apply),$$}var j$,SV;function Xee(){if(SV)return j$;SV=1;var e=uA(),t=AF(),a=wP(),o=Zee();return j$=o||e.call(a,t),j$}var P$,CV;function TF(){if(CV)return P$;CV=1;var e=uA(),t=eu(),a=wP(),o=Xee();return P$=function(s){if(s.length<1||typeof s[0]!="function")throw new t("a function is required");return o(e,a,s)},P$}var O$,NV;function Kee(){if(NV)return O$;NV=1;var e=TF(),t=LF(),a;try{a=[].__proto__===Array.prototype}catch(l){if(!l||typeof l!="object"||!("code"in l)||l.code!=="ERR_PROTO_ACCESS")throw l}var o=!!a&&t&&t(Object.prototype,"__proto__"),i=Object,s=i.getPrototypeOf;return O$=o&&typeof o.get=="function"?e([o.get]):typeof s=="function"?function(h){return s(h==null?h:i(h))}:!1,O$}var D$,LV;function Yee(){if(LV)return D$;LV=1;var e=EF(),t=IF(),a=Kee();return D$=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:a?function(i){return a(i)}:null,D$}var z$,EV;function Qee(){if(EV)return z$;EV=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,a=uA();return z$=a.call(e,t),z$}var q$,IV;function _P(){if(IV)return q$;IV=1;var e,t=NF(),a=Eee(),o=Iee(),i=Aee(),s=Tee(),l=Ree(),h=eu(),f=$ee(),y=jee(),k=Pee(),m=Oee(),x=Dee(),S=zee(),b=qee(),w=Vee(),_=Function,N=function(me){try{return _('"use strict"; return ('+me+").constructor;")()}catch{}},L=LF(),I=Fee(),O=function(){throw new h},D=L?(function(){try{return arguments.callee,O}catch{try{return L(arguments,"callee").get}catch{return O}}})():O,P=Gee()(),A=Yee(),j=IF(),V=EF(),K=AF(),q=wP(),B={},F=typeof Uint8Array>"u"||!A?e:A(Uint8Array),J={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":P&&A?A([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&A?A(A([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!P||!A?e:A(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":L,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!P||!A?e:A(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&A?A(""[Symbol.iterator]()):e,"%Symbol%":P?Symbol:e,"%SyntaxError%":l,"%ThrowTypeError%":D,"%TypedArray%":F,"%TypeError%":h,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":f,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":q,"%Function.prototype.apply%":K,"%Object.defineProperty%":I,"%Object.getPrototypeOf%":j,"%Math.abs%":y,"%Math.floor%":k,"%Math.max%":m,"%Math.min%":x,"%Math.pow%":S,"%Math.round%":b,"%Math.sign%":w,"%Reflect.getPrototypeOf%":V};if(A)try{null.error}catch(me){var pe=A(A(me));J["%Error.prototype%"]=pe}var R=function me(ge){var fe;if(ge==="%AsyncFunction%")fe=N("async function () {}");else if(ge==="%GeneratorFunction%")fe=N("function* () {}");else if(ge==="%AsyncGeneratorFunction%")fe=N("async function* () {}");else if(ge==="%AsyncGenerator%"){var ce=me("%AsyncGeneratorFunction%");ce&&(fe=ce.prototype)}else if(ge==="%AsyncIteratorPrototype%"){var Ee=me("%AsyncGenerator%");Ee&&A&&(fe=A(Ee.prototype))}return J[ge]=fe,fe},$={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},T=uA(),G=Qee(),W=T.call(q,Array.prototype.concat),Me=T.call(K,Array.prototype.splice),X=T.call(q,String.prototype.replace),ne=T.call(q,String.prototype.slice),le=T.call(q,RegExp.prototype.exec),ie=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ye=/\\(\\)?/g,he=function(ge){var fe=ne(ge,0,1),ce=ne(ge,-1);if(fe==="%"&&ce!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(ce==="%"&&fe!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var Ee=[];return X(ge,ie,function($e,st,Ve,tt){Ee[Ee.length]=Ve?X(tt,ye,"$1"):st||$e}),Ee},ve=function(ge,fe){var ce=ge,Ee;if(G($,ce)&&(Ee=$[ce],ce="%"+Ee[0]+"%"),G(J,ce)){var $e=J[ce];if($e===B&&($e=R(ce)),typeof $e>"u"&&!fe)throw new h("intrinsic "+ge+" exists, but is not available. Please file an issue!");return{alias:Ee,name:ce,value:$e}}throw new l("intrinsic "+ge+" does not exist!")};return q$=function(ge,fe){if(typeof ge!="string"||ge.length===0)throw new h("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof fe!="boolean")throw new h('"allowMissing" argument must be a boolean');if(le(/^%?[^%]*%?$/,ge)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ce=he(ge),Ee=ce.length>0?ce[0]:"",$e=ve("%"+Ee+"%",fe),st=$e.name,Ve=$e.value,tt=!1,ot=$e.alias;ot&&(Ee=ot[0],Me(ce,W([0,1],ot)));for(var Ye=1,Ut=!0;Ye<ce.length;Ye+=1){var At=ce[Ye],Mt=ne(At,0,1),Lt=ne(At,-1);if((Mt==='"'||Mt==="'"||Mt==="`"||Lt==='"'||Lt==="'"||Lt==="`")&&Mt!==Lt)throw new l("property names with quotes must have matching quotes");if((At==="constructor"||!Ut)&&(tt=!0),Ee+="."+At,st="%"+Ee+"%",G(J,st))Ve=J[st];else if(Ve!=null){if(!(At in Ve)){if(!fe)throw new h("base intrinsic for "+ge+" exists, but the property is not available.");return}if(L&&Ye+1>=ce.length){var qe=L(Ve,At);Ut=!!qe,Ut&&"get"in qe&&!("originalValue"in qe.get)?Ve=qe.get:Ve=Ve[At]}else Ut=G(Ve,At),Ve=Ve[At];Ut&&!tt&&(J[st]=Ve)}}return Ve},q$}var H$,AV;function RF(){if(AV)return H$;AV=1;var e=_P(),t=TF(),a=t([e("%String.prototype.indexOf%")]);return H$=function(i,s){var l=e(i,!!s);return typeof l=="function"&&a(i,".prototype.")>-1?t([l]):l},H$}var V$,TV;function $F(){if(TV)return V$;TV=1;var e=_P(),t=RF(),a=dA(),o=eu(),i=e("%Map%",!0),s=t("Map.prototype.get",!0),l=t("Map.prototype.set",!0),h=t("Map.prototype.has",!0),f=t("Map.prototype.delete",!0),y=t("Map.prototype.size",!0);return V$=!!i&&function(){var m,x={assert:function(S){if(!x.has(S))throw new o("Side channel does not contain "+a(S))},delete:function(S){if(m){var b=f(m,S);return y(m)===0&&(m=void 0),b}return!1},get:function(S){if(m)return s(m,S)},has:function(S){return m?h(m,S):!1},set:function(S,b){m||(m=new i),l(m,S,b)}};return x},V$}var B$,RV;function Jee(){if(RV)return B$;RV=1;var e=_P(),t=RF(),a=dA(),o=$F(),i=eu(),s=e("%WeakMap%",!0),l=t("WeakMap.prototype.get",!0),h=t("WeakMap.prototype.set",!0),f=t("WeakMap.prototype.has",!0),y=t("WeakMap.prototype.delete",!0);return B$=s?function(){var m,x,S={assert:function(b){if(!S.has(b))throw new i("Side channel does not contain "+a(b))},delete:function(b){if(s&&b&&(typeof b=="object"||typeof b=="function")){if(m)return y(m,b)}else if(o&&x)return x.delete(b);return!1},get:function(b){return s&&b&&(typeof b=="object"||typeof b=="function")&&m?l(m,b):x&&x.get(b)},has:function(b){return s&&b&&(typeof b=="object"||typeof b=="function")&&m?f(m,b):!!x&&x.has(b)},set:function(b,w){s&&b&&(typeof b=="object"||typeof b=="function")?(m||(m=new s),h(m,b,w)):o&&(x||(x=o()),x.set(b,w))}};return S}:o,B$}var F$,$V;function jF(){if($V)return F$;$V=1;var e=eu(),t=dA(),a=Lee(),o=$F(),i=Jee(),s=i||o||a;return F$=function(){var h,f={assert:function(y){if(!f.has(y))throw new e("Side channel does not contain "+t(y))},delete:function(y){return!!h&&h.delete(y)},get:function(y){return h&&h.get(y)},has:function(y){return!!h&&h.has(y)},set:function(y,k){h||(h=s()),h.set(y,k)}};return f},F$}var U$,jV;function SP(){if(jV)return U$;jV=1;var e=String.prototype.replace,t=/%20/g,a={RFC1738:"RFC1738",RFC3986:"RFC3986"};return U$={default:a.RFC3986,formatters:{RFC1738:function(o){return e.call(o,t,"+")},RFC3986:function(o){return String(o)}},RFC1738:a.RFC1738,RFC3986:a.RFC3986},U$}var G$,PV;function PF(){if(PV)return G$;PV=1;var e=SP(),t=jF(),a=Object.prototype.hasOwnProperty,o=Array.isArray,i=t(),s=function(A,j){return i.set(A,j),A},l=function(A){return i.has(A)},h=function(A){return i.get(A)},f=function(A,j){i.set(A,j)},y=(function(){for(var P=[],A=0;A<256;++A)P[P.length]="%"+((A<16?"0":"")+A.toString(16)).toUpperCase();return P})(),k=function(A){for(;A.length>1;){var j=A.pop(),V=j.obj[j.prop];if(o(V)){for(var K=[],q=0;q<V.length;++q)typeof V[q]<"u"&&(K[K.length]=V[q]);j.obj[j.prop]=K}}},m=function(A,j){for(var V=j&&j.plainObjects?{__proto__:null}:{},K=0;K<A.length;++K)typeof A[K]<"u"&&(V[K]=A[K]);return V},x=function P(A,j,V){if(!j)return A;if(typeof j!="object"&&typeof j!="function"){if(o(A)){var K=A.length;if(V&&typeof V.arrayLimit=="number"&&K>V.arrayLimit)return s(m(A.concat(j),V),K);A[K]=j}else if(A&&typeof A=="object")if(l(A)){var q=h(A)+1;A[q]=j,f(A,q)}else{if(V&&V.strictMerge)return[A,j];(V&&(V.plainObjects||V.allowPrototypes)||!a.call(Object.prototype,j))&&(A[j]=!0)}else return[A,j];return A}if(!A||typeof A!="object"){if(l(j)){for(var B=Object.keys(j),F=V&&V.plainObjects?{__proto__:null,0:A}:{0:A},J=0;J<B.length;J++){var pe=parseInt(B[J],10);F[pe+1]=j[B[J]]}return s(F,h(j)+1)}var R=[A].concat(j);return V&&typeof V.arrayLimit=="number"&&R.length>V.arrayLimit?s(m(R,V),R.length-1):R}var $=A;return o(A)&&!o(j)&&($=m(A,V)),o(A)&&o(j)?(j.forEach(function(T,G){if(a.call(A,G)){var W=A[G];W&&typeof W=="object"&&T&&typeof T=="object"?A[G]=P(W,T,V):A[A.length]=T}else A[G]=T}),A):Object.keys(j).reduce(function(T,G){var W=j[G];if(a.call(T,G)?T[G]=P(T[G],W,V):T[G]=W,l(j)&&!l(T)&&s(T,h(j)),l(T)){var Me=parseInt(G,10);String(Me)===G&&Me>=0&&Me>h(T)&&f(T,Me)}return T},$)},S=function(A,j){return Object.keys(j).reduce(function(V,K){return V[K]=j[K],V},A)},b=function(P,A,j){var V=P.replace(/\+/g," ");if(j==="iso-8859-1")return V.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(V)}catch{return V}},w=1024,_=function(A,j,V,K,q){if(A.length===0)return A;var B=A;if(typeof A=="symbol"?B=Symbol.prototype.toString.call(A):typeof A!="string"&&(B=String(A)),V==="iso-8859-1")return escape(B).replace(/%u[0-9a-f]{4}/gi,function(G){return"%26%23"+parseInt(G.slice(2),16)+"%3B"});for(var F="",J=0;J<B.length;J+=w){for(var pe=B.length>=w?B.slice(J,J+w):B,R=[],$=0;$<pe.length;++$){var T=pe.charCodeAt($);if(T===45||T===46||T===95||T===126||T>=48&&T<=57||T>=65&&T<=90||T>=97&&T<=122||q===e.RFC1738&&(T===40||T===41)){R[R.length]=pe.charAt($);continue}if(T<128){R[R.length]=y[T];continue}if(T<2048){R[R.length]=y[192|T>>6]+y[128|T&63];continue}if(T<55296||T>=57344){R[R.length]=y[224|T>>12]+y[128|T>>6&63]+y[128|T&63];continue}$+=1,T=65536+((T&1023)<<10|pe.charCodeAt($)&1023),R[R.length]=y[240|T>>18]+y[128|T>>12&63]+y[128|T>>6&63]+y[128|T&63]}F+=R.join("")}return F},N=function(A){for(var j=[{obj:{o:A},prop:"o"}],V=[],K=0;K<j.length;++K)for(var q=j[K],B=q.obj[q.prop],F=Object.keys(B),J=0;J<F.length;++J){var pe=F[J],R=B[pe];typeof R=="object"&&R!==null&&V.indexOf(R)===-1&&(j[j.length]={obj:B,prop:pe},V[V.length]=R)}return k(j),A},L=function(A){return Object.prototype.toString.call(A)==="[object RegExp]"},I=function(A){return!A||typeof A!="object"?!1:!!(A.constructor&&A.constructor.isBuffer&&A.constructor.isBuffer(A))},O=function(A,j,V,K){if(l(A)){var q=h(A)+1;return A[q]=j,f(A,q),A}var B=[].concat(A,j);return B.length>V?s(m(B,{plainObjects:K}),B.length-1):B},D=function(A,j){if(o(A)){for(var V=[],K=0;K<A.length;K+=1)V[V.length]=j(A[K]);return V}return j(A)};return G$={arrayToObject:m,assign:S,combine:O,compact:N,decode:b,encode:_,isBuffer:I,isOverflow:l,isRegExp:L,markOverflow:s,maybeMap:D,merge:x},G$}var W$,OV;function ete(){if(OV)return W$;OV=1;var e=jF(),t=PF(),a=SP(),o=Object.prototype.hasOwnProperty,i={brackets:function(_){return _+"[]"},comma:"comma",indices:function(_,N){return _+"["+N+"]"},repeat:function(_){return _}},s=Array.isArray,l=Array.prototype.push,h=function(w,_){l.apply(w,s(_)?_:[_])},f=Date.prototype.toISOString,y=a.default,k={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:t.encode,encodeValuesOnly:!1,filter:void 0,format:y,formatter:a.formatters[y],indices:!1,serializeDate:function(_){return f.call(_)},skipNulls:!1,strictNullHandling:!1},m=function(_){return typeof _=="string"||typeof _=="number"||typeof _=="boolean"||typeof _=="symbol"||typeof _=="bigint"},x={},S=function w(_,N,L,I,O,D,P,A,j,V,K,q,B,F,J,pe,R,$){for(var T=_,G=$,W=0,Me=!1;(G=G.get(x))!==void 0&&!Me;){var X=G.get(_);if(W+=1,typeof X<"u"){if(X===W)throw new RangeError("Cyclic object value");Me=!0}typeof G.get(x)>"u"&&(W=0)}if(typeof V=="function"?T=V(N,T):T instanceof Date?T=B(T):L==="comma"&&s(T)&&(T=t.maybeMap(T,function(st){return st instanceof Date?B(st):st})),T===null){if(D)return j&&!pe?j(N,k.encoder,R,"key",F):N;T=""}if(m(T)||t.isBuffer(T)){if(j){var ne=pe?N:j(N,k.encoder,R,"key",F);return[J(ne)+"="+J(j(T,k.encoder,R,"value",F))]}return[J(N)+"="+J(String(T))]}var le=[];if(typeof T>"u")return le;var ie;if(L==="comma"&&s(T))pe&&j&&(T=t.maybeMap(T,j)),ie=[{value:T.length>0?T.join(",")||null:void 0}];else if(s(V))ie=V;else{var ye=Object.keys(T);ie=K?ye.sort(K):ye}var he=A?String(N).replace(/\./g,"%2E"):String(N),ve=I&&s(T)&&T.length===1?he+"[]":he;if(O&&s(T)&&T.length===0)return ve+"[]";for(var me=0;me<ie.length;++me){var ge=ie[me],fe=typeof ge=="object"&&ge&&typeof ge.value<"u"?ge.value:T[ge];if(!(P&&fe===null)){var ce=q&&A?String(ge).replace(/\./g,"%2E"):String(ge),Ee=s(T)?typeof L=="function"?L(ve,ce):ve:ve+(q?"."+ce:"["+ce+"]");$.set(_,W);var $e=e();$e.set(x,$),h(le,w(fe,Ee,L,I,O,D,P,A,L==="comma"&&pe&&s(T)?null:j,V,K,q,B,F,J,pe,R,$e))}}return le},b=function(_){if(!_)return k;if(typeof _.allowEmptyArrays<"u"&&typeof _.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof _.encodeDotInKeys<"u"&&typeof _.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(_.encoder!==null&&typeof _.encoder<"u"&&typeof _.encoder!="function")throw new TypeError("Encoder has to be a function.");var N=_.charset||k.charset;if(typeof _.charset<"u"&&_.charset!=="utf-8"&&_.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var L=a.default;if(typeof _.format<"u"){if(!o.call(a.formatters,_.format))throw new TypeError("Unknown format option provided.");L=_.format}var I=a.formatters[L],O=k.filter;(typeof _.filter=="function"||s(_.filter))&&(O=_.filter);var D;if(_.arrayFormat in i?D=_.arrayFormat:"indices"in _?D=_.indices?"indices":"repeat":D=k.arrayFormat,"commaRoundTrip"in _&&typeof _.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var P=typeof _.allowDots>"u"?_.encodeDotInKeys===!0?!0:k.allowDots:!!_.allowDots;return{addQueryPrefix:typeof _.addQueryPrefix=="boolean"?_.addQueryPrefix:k.addQueryPrefix,allowDots:P,allowEmptyArrays:typeof _.allowEmptyArrays=="boolean"?!!_.allowEmptyArrays:k.allowEmptyArrays,arrayFormat:D,charset:N,charsetSentinel:typeof _.charsetSentinel=="boolean"?_.charsetSentinel:k.charsetSentinel,commaRoundTrip:!!_.commaRoundTrip,delimiter:typeof _.delimiter>"u"?k.delimiter:_.delimiter,encode:typeof _.encode=="boolean"?_.encode:k.encode,encodeDotInKeys:typeof _.encodeDotInKeys=="boolean"?_.encodeDotInKeys:k.encodeDotInKeys,encoder:typeof _.encoder=="function"?_.encoder:k.encoder,encodeValuesOnly:typeof _.encodeValuesOnly=="boolean"?_.encodeValuesOnly:k.encodeValuesOnly,filter:O,format:L,formatter:I,serializeDate:typeof _.serializeDate=="function"?_.serializeDate:k.serializeDate,skipNulls:typeof _.skipNulls=="boolean"?_.skipNulls:k.skipNulls,sort:typeof _.sort=="function"?_.sort:null,strictNullHandling:typeof _.strictNullHandling=="boolean"?_.strictNullHandling:k.strictNullHandling}};return W$=function(w,_){var N=w,L=b(_),I,O;typeof L.filter=="function"?(O=L.filter,N=O("",N)):s(L.filter)&&(O=L.filter,I=O);var D=[];if(typeof N!="object"||N===null)return"";var P=i[L.arrayFormat],A=P==="comma"&&L.commaRoundTrip;I||(I=Object.keys(N)),L.sort&&I.sort(L.sort);for(var j=e(),V=0;V<I.length;++V){var K=I[V],q=N[K];L.skipNulls&&q===null||h(D,S(q,K,P,A,L.allowEmptyArrays,L.strictNullHandling,L.skipNulls,L.encodeDotInKeys,L.encode?L.encoder:null,L.filter,L.sort,L.allowDots,L.serializeDate,L.format,L.formatter,L.encodeValuesOnly,L.charset,j))}var B=D.join(L.delimiter),F=L.addQueryPrefix===!0?"?":"";return L.charsetSentinel&&(L.charset==="iso-8859-1"?F+="utf8=%26%2310003%3B&":F+="utf8=%E2%9C%93&"),B.length>0?F+B:""},W$}var Z$,DV;function tte(){if(DV)return Z$;DV=1;var e=PF(),t=Object.prototype.hasOwnProperty,a=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(S){return S.replace(/&#(\d+);/g,function(b,w){return String.fromCharCode(parseInt(w,10))})},s=function(S,b,w){if(S&&typeof S=="string"&&b.comma&&S.indexOf(",")>-1)return S.split(",");if(b.throwOnLimitExceeded&&w>=b.arrayLimit)throw new RangeError("Array limit exceeded. Only "+b.arrayLimit+" element"+(b.arrayLimit===1?"":"s")+" allowed in an array.");return S},l="utf8=%26%2310003%3B",h="utf8=%E2%9C%93",f=function(b,w){var _={__proto__:null},N=w.ignoreQueryPrefix?b.replace(/^\?/,""):b;N=N.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var L=w.parameterLimit===1/0?void 0:w.parameterLimit,I=N.split(w.delimiter,w.throwOnLimitExceeded?L+1:L);if(w.throwOnLimitExceeded&&I.length>L)throw new RangeError("Parameter limit exceeded. Only "+L+" parameter"+(L===1?"":"s")+" allowed.");var O=-1,D,P=w.charset;if(w.charsetSentinel)for(D=0;D<I.length;++D)I[D].indexOf("utf8=")===0&&(I[D]===h?P="utf-8":I[D]===l&&(P="iso-8859-1"),O=D,D=I.length);for(D=0;D<I.length;++D)if(D!==O){var A=I[D],j=A.indexOf("]="),V=j===-1?A.indexOf("="):j+1,K,q;if(V===-1?(K=w.decoder(A,o.decoder,P,"key"),q=w.strictNullHandling?null:""):(K=w.decoder(A.slice(0,V),o.decoder,P,"key"),K!==null&&(q=e.maybeMap(s(A.slice(V+1),w,a(_[K])?_[K].length:0),function(F){return w.decoder(F,o.decoder,P,"value")}))),q&&w.interpretNumericEntities&&P==="iso-8859-1"&&(q=i(String(q))),A.indexOf("[]=")>-1&&(q=a(q)?[q]:q),w.comma&&a(q)&&q.length>w.arrayLimit){if(w.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+w.arrayLimit+" element"+(w.arrayLimit===1?"":"s")+" allowed in an array.");q=e.combine([],q,w.arrayLimit,w.plainObjects)}if(K!==null){var B=t.call(_,K);B&&(w.duplicates==="combine"||A.indexOf("[]=")>-1)?_[K]=e.combine(_[K],q,w.arrayLimit,w.plainObjects):(!B||w.duplicates==="last")&&(_[K]=q)}}return _},y=function(S,b,w,_){var N=0;if(S.length>0&&S[S.length-1]==="[]"){var L=S.slice(0,-1).join("");N=Array.isArray(b)&&b[L]?b[L].length:0}for(var I=_?b:s(b,w,N),O=S.length-1;O>=0;--O){var D,P=S[O];if(P==="[]"&&w.parseArrays)e.isOverflow(I)?D=I:D=w.allowEmptyArrays&&(I===""||w.strictNullHandling&&I===null)?[]:e.combine([],I,w.arrayLimit,w.plainObjects);else{D=w.plainObjects?{__proto__:null}:{};var A=P.charAt(0)==="["&&P.charAt(P.length-1)==="]"?P.slice(1,-1):P,j=w.decodeDotInKeys?A.replace(/%2E/g,"."):A,V=parseInt(j,10),K=!isNaN(V)&&P!==j&&String(V)===j&&V>=0&&w.parseArrays;if(!w.parseArrays&&j==="")D={0:I};else if(K&&V<w.arrayLimit)D=[],D[V]=I;else{if(K&&w.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+w.arrayLimit+" element"+(w.arrayLimit===1?"":"s")+" allowed in an array.");K?(D[V]=I,e.markOverflow(D,V)):j!=="__proto__"&&(D[j]=I)}}I=D}return I},k=function(b,w){var _=w.allowDots?b.replace(/\.([^.[]+)/g,"[$1]"):b;if(w.depth<=0)return!w.plainObjects&&t.call(Object.prototype,_)&&!w.allowPrototypes?void 0:[_];var N=/(\[[^[\]]*])/,L=/(\[[^[\]]*])/g,I=N.exec(_),O=I?_.slice(0,I.index):_,D=[];if(O){if(!w.plainObjects&&t.call(Object.prototype,O)&&!w.allowPrototypes)return;D[D.length]=O}for(var P=0;(I=L.exec(_))!==null&&P<w.depth;){P+=1;var A=I[1].slice(1,-1);if(!w.plainObjects&&t.call(Object.prototype,A)&&!w.allowPrototypes)return;D[D.length]=I[1]}if(I){if(w.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+w.depth+" and strictDepth is true");D[D.length]="["+_.slice(I.index)+"]"}return D},m=function(b,w,_,N){if(b){var L=k(b,_);if(L)return y(L,w,_,N)}},x=function(b){if(!b)return o;if(typeof b.allowEmptyArrays<"u"&&typeof b.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof b.decodeDotInKeys<"u"&&typeof b.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(b.decoder!==null&&typeof b.decoder<"u"&&typeof b.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof b.charset<"u"&&b.charset!=="utf-8"&&b.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof b.throwOnLimitExceeded<"u"&&typeof b.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var w=typeof b.charset>"u"?o.charset:b.charset,_=typeof b.duplicates>"u"?o.duplicates:b.duplicates;if(_!=="combine"&&_!=="first"&&_!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var N=typeof b.allowDots>"u"?b.decodeDotInKeys===!0?!0:o.allowDots:!!b.allowDots;return{allowDots:N,allowEmptyArrays:typeof b.allowEmptyArrays=="boolean"?!!b.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:typeof b.allowPrototypes=="boolean"?b.allowPrototypes:o.allowPrototypes,allowSparse:typeof b.allowSparse=="boolean"?b.allowSparse:o.allowSparse,arrayLimit:typeof b.arrayLimit=="number"?b.arrayLimit:o.arrayLimit,charset:w,charsetSentinel:typeof b.charsetSentinel=="boolean"?b.charsetSentinel:o.charsetSentinel,comma:typeof b.comma=="boolean"?b.comma:o.comma,decodeDotInKeys:typeof b.decodeDotInKeys=="boolean"?b.decodeDotInKeys:o.decodeDotInKeys,decoder:typeof b.decoder=="function"?b.decoder:o.decoder,delimiter:typeof b.delimiter=="string"||e.isRegExp(b.delimiter)?b.delimiter:o.delimiter,depth:typeof b.depth=="number"||b.depth===!1?+b.depth:o.depth,duplicates:_,ignoreQueryPrefix:b.ignoreQueryPrefix===!0,interpretNumericEntities:typeof b.interpretNumericEntities=="boolean"?b.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:typeof b.parameterLimit=="number"?b.parameterLimit:o.parameterLimit,parseArrays:b.parseArrays!==!1,plainObjects:typeof b.plainObjects=="boolean"?b.plainObjects:o.plainObjects,strictDepth:typeof b.strictDepth=="boolean"?!!b.strictDepth:o.strictDepth,strictMerge:typeof b.strictMerge=="boolean"?!!b.strictMerge:o.strictMerge,strictNullHandling:typeof b.strictNullHandling=="boolean"?b.strictNullHandling:o.strictNullHandling,throwOnLimitExceeded:typeof b.throwOnLimitExceeded=="boolean"?b.throwOnLimitExceeded:!1}};return Z$=function(S,b){var w=x(b);if(S===""||S===null||typeof S>"u")return w.plainObjects?{__proto__:null}:{};for(var _=typeof S=="string"?f(S,w):S,N=w.plainObjects?{__proto__:null}:{},L=Object.keys(_),I=0;I<L.length;++I){var O=L[I],D=m(O,_[O],w,typeof S=="string");N=e.merge(N,D,w)}return w.allowSparse===!0?N:e.compact(N)},Z$}var X$,zV;function nte(){if(zV)return X$;zV=1;var e=ete(),t=tte(),a=SP();return X$={formats:a,parse:t,stringify:e},X$}var qV=nte();function OF(e,t){return function(){return e.apply(t,arguments)}}const{toString:ate}=Object.prototype,{getPrototypeOf:CP}=Object,{iterator:hA,toStringTag:DF}=Symbol,pA=(e=>t=>{const a=ate.call(t);return e[a]||(e[a]=a.slice(8,-1).toLowerCase())})(Object.create(null)),Uo=e=>(e=e.toLowerCase(),t=>pA(t)===e),fA=e=>t=>typeof t===e,{isArray:tu}=Array,Fd=fA("undefined");function L2(e){return e!==null&&!Fd(e)&&e.constructor!==null&&!Fd(e.constructor)&&Tn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const zF=Uo("ArrayBuffer");function ote(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&zF(e.buffer),t}const rte=fA("string"),Tn=fA("function"),qF=fA("number"),E2=e=>e!==null&&typeof e=="object",ite=e=>e===!0||e===!1,Nh=e=>{if(pA(e)!=="object")return!1;const t=CP(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(DF in e)&&!(hA in e)},cte=e=>{if(!E2(e)||L2(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},ste=Uo("Date"),lte=Uo("File"),dte=e=>!!(e&&typeof e.uri<"u"),ute=e=>e&&typeof e.getParts<"u",hte=Uo("Blob"),pte=Uo("FileList"),fte=e=>E2(e)&&Tn(e.pipe);function yte(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const HV=yte(),VV=typeof HV.FormData<"u"?HV.FormData:void 0,mte=e=>{let t;return e&&(VV&&e instanceof VV||Tn(e.append)&&((t=pA(e))==="formdata"||t==="object"&&Tn(e.toString)&&e.toString()==="[object FormData]"))},vte=Uo("URLSearchParams"),[kte,gte,Mte,xte]=["ReadableStream","Request","Response","Headers"].map(Uo),bte=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function I2(e,t,{allOwnKeys:a=!1}={}){if(e===null||typeof e>"u")return;let o,i;if(typeof e!="object"&&(e=[e]),tu(e))for(o=0,i=e.length;o<i;o++)t.call(null,e[o],o,e);else{if(L2(e))return;const s=a?Object.getOwnPropertyNames(e):Object.keys(e),l=s.length;let h;for(o=0;o<l;o++)h=s[o],t.call(null,e[h],h,e)}}function HF(e,t){if(L2(e))return null;t=t.toLowerCase();const a=Object.keys(e);let o=a.length,i;for(;o-- >0;)if(i=a[o],t===i.toLowerCase())return i;return null}const $1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,VF=e=>!Fd(e)&&e!==$1;function Pj(){const{caseless:e,skipUndefined:t}=VF(this)&&this||{},a={},o=(i,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const l=e&&HF(a,s)||s;Nh(a[l])&&Nh(i)?a[l]=Pj(a[l],i):Nh(i)?a[l]=Pj({},i):tu(i)?a[l]=i.slice():(!t||!Fd(i))&&(a[l]=i)};for(let i=0,s=arguments.length;i<s;i++)arguments[i]&&I2(arguments[i],o);return a}const wte=(e,t,a,{allOwnKeys:o}={})=>(I2(t,(i,s)=>{a&&Tn(i)?Object.defineProperty(e,s,{value:OF(i,a),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:o}),e),_te=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ste=(e,t,a,o)=>{e.prototype=Object.create(t.prototype,o),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),a&&Object.assign(e.prototype,a)},Cte=(e,t,a,o)=>{let i,s,l;const h={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)l=i[s],(!o||o(l,e,t))&&!h[l]&&(t[l]=e[l],h[l]=!0);e=a!==!1&&CP(e)}while(e&&(!a||a(e,t))&&e!==Object.prototype);return t},Nte=(e,t,a)=>{e=String(e),(a===void 0||a>e.length)&&(a=e.length),a-=t.length;const o=e.indexOf(t,a);return o!==-1&&o===a},Lte=e=>{if(!e)return null;if(tu(e))return e;let t=e.length;if(!qF(t))return null;const a=new Array(t);for(;t-- >0;)a[t]=e[t];return a},Ete=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&CP(Uint8Array)),Ite=(e,t)=>{const o=(e&&e[hA]).call(e);let i;for(;(i=o.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},Ate=(e,t)=>{let a;const o=[];for(;(a=e.exec(t))!==null;)o.push(a);return o},Tte=Uo("HTMLFormElement"),Rte=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,o,i){return o.toUpperCase()+i}),BV=(({hasOwnProperty:e})=>(t,a)=>e.call(t,a))(Object.prototype),$te=Uo("RegExp"),BF=(e,t)=>{const a=Object.getOwnPropertyDescriptors(e),o={};I2(a,(i,s)=>{let l;(l=t(i,s,e))!==!1&&(o[s]=l||i)}),Object.defineProperties(e,o)},jte=e=>{BF(e,(t,a)=>{if(Tn(e)&&["arguments","caller","callee"].indexOf(a)!==-1)return!1;const o=e[a];if(Tn(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+a+"'")})}})},Pte=(e,t)=>{const a={},o=i=>{i.forEach(s=>{a[s]=!0})};return tu(e)?o(e):o(String(e).split(t)),a},Ote=()=>{},Dte=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function zte(e){return!!(e&&Tn(e.append)&&e[DF]==="FormData"&&e[hA])}const qte=e=>{const t=new Array(10),a=(o,i)=>{if(E2(o)){if(t.indexOf(o)>=0)return;if(L2(o))return o;if(!("toJSON"in o)){t[i]=o;const s=tu(o)?[]:{};return I2(o,(l,h)=>{const f=a(l,i+1);!Fd(f)&&(s[h]=f)}),t[i]=void 0,s}}return o};return a(e,0)},Hte=Uo("AsyncFunction"),Vte=e=>e&&(E2(e)||Tn(e))&&Tn(e.then)&&Tn(e.catch),FF=((e,t)=>e?setImmediate:t?((a,o)=>($1.addEventListener("message",({source:i,data:s})=>{i===$1&&s===a&&o.length&&o.shift()()},!1),i=>{o.push(i),$1.postMessage(a,"*")}))(`axios@${Math.random()}`,[]):a=>setTimeout(a))(typeof setImmediate=="function",Tn($1.postMessage)),Bte=typeof queueMicrotask<"u"?queueMicrotask.bind($1):typeof process<"u"&&process.nextTick||FF,Fte=e=>e!=null&&Tn(e[hA]),oe={isArray:tu,isArrayBuffer:zF,isBuffer:L2,isFormData:mte,isArrayBufferView:ote,isString:rte,isNumber:qF,isBoolean:ite,isObject:E2,isPlainObject:Nh,isEmptyObject:cte,isReadableStream:kte,isRequest:gte,isResponse:Mte,isHeaders:xte,isUndefined:Fd,isDate:ste,isFile:lte,isReactNativeBlob:dte,isReactNative:ute,isBlob:hte,isRegExp:$te,isFunction:Tn,isStream:fte,isURLSearchParams:vte,isTypedArray:Ete,isFileList:pte,forEach:I2,merge:Pj,extend:wte,trim:bte,stripBOM:_te,inherits:Ste,toFlatObject:Cte,kindOf:pA,kindOfTest:Uo,endsWith:Nte,toArray:Lte,forEachEntry:Ite,matchAll:Ate,isHTMLForm:Tte,hasOwnProperty:BV,hasOwnProp:BV,reduceDescriptors:BF,freezeMethods:jte,toObjectSet:Pte,toCamelCase:Rte,noop:Ote,toFiniteNumber:Dte,findKey:HF,global:$1,isContextDefined:VF,isSpecCompliantForm:zte,toJSONObject:qte,isAsyncFn:Hte,isThenable:Vte,setImmediate:FF,asap:Bte,isIterable:Fte};let Pe=class UF extends Error{static from(t,a,o,i,s,l){const h=new UF(t.message,a||t.code,o,i,s);return h.cause=t,h.name=t.name,t.status!=null&&h.status==null&&(h.status=t.status),l&&Object.assign(h,l),h}constructor(t,a,o,i,s){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,a&&(this.code=a),o&&(this.config=o),i&&(this.request=i),s&&(this.response=s,this.status=s.status)}toJSON(){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:oe.toJSONObject(this.config),code:this.code,status:this.status}}};Pe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Pe.ERR_BAD_OPTION="ERR_BAD_OPTION";Pe.ECONNABORTED="ECONNABORTED";Pe.ETIMEDOUT="ETIMEDOUT";Pe.ERR_NETWORK="ERR_NETWORK";Pe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Pe.ERR_DEPRECATED="ERR_DEPRECATED";Pe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Pe.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Pe.ERR_CANCELED="ERR_CANCELED";Pe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Pe.ERR_INVALID_URL="ERR_INVALID_URL";const Ute=null;function Oj(e){return oe.isPlainObject(e)||oe.isArray(e)}function GF(e){return oe.endsWith(e,"[]")?e.slice(0,-2):e}function K$(e,t,a){return e?e.concat(t).map(function(i,s){return i=GF(i),!a&&s?"["+i+"]":i}).join(a?".":""):t}function Gte(e){return oe.isArray(e)&&!e.some(Oj)}const Wte=oe.toFlatObject(oe,{},null,function(t){return/^is[A-Z]/.test(t)});function yA(e,t,a){if(!oe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,a=oe.toFlatObject(a,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,_){return!oe.isUndefined(_[w])});const o=a.metaTokens,i=a.visitor||k,s=a.dots,l=a.indexes,f=(a.Blob||typeof Blob<"u"&&Blob)&&oe.isSpecCompliantForm(t);if(!oe.isFunction(i))throw new TypeError("visitor must be a function");function y(b){if(b===null)return"";if(oe.isDate(b))return b.toISOString();if(oe.isBoolean(b))return b.toString();if(!f&&oe.isBlob(b))throw new Pe("Blob is not supported. Use a Buffer instead.");return oe.isArrayBuffer(b)||oe.isTypedArray(b)?f&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function k(b,w,_){let N=b;if(oe.isReactNative(t)&&oe.isReactNativeBlob(b))return t.append(K$(_,w,s),y(b)),!1;if(b&&!_&&typeof b=="object"){if(oe.endsWith(w,"{}"))w=o?w:w.slice(0,-2),b=JSON.stringify(b);else if(oe.isArray(b)&&Gte(b)||(oe.isFileList(b)||oe.endsWith(w,"[]"))&&(N=oe.toArray(b)))return w=GF(w),N.forEach(function(I,O){!(oe.isUndefined(I)||I===null)&&t.append(l===!0?K$([w],O,s):l===null?w:w+"[]",y(I))}),!1}return Oj(b)?!0:(t.append(K$(_,w,s),y(b)),!1)}const m=[],x=Object.assign(Wte,{defaultVisitor:k,convertValue:y,isVisitable:Oj});function S(b,w){if(!oe.isUndefined(b)){if(m.indexOf(b)!==-1)throw Error("Circular reference detected in "+w.join("."));m.push(b),oe.forEach(b,function(N,L){(!(oe.isUndefined(N)||N===null)&&i.call(t,N,oe.isString(L)?L.trim():L,w,x))===!0&&S(N,w?w.concat(L):[L])}),m.pop()}}if(!oe.isObject(e))throw new TypeError("data must be an object");return S(e),t}function FV(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function NP(e,t){this._pairs=[],e&&yA(e,this,t)}const WF=NP.prototype;WF.append=function(t,a){this._pairs.push([t,a])};WF.toString=function(t){const a=t?function(o){return t.call(this,o,FV)}:FV;return this._pairs.map(function(i){return a(i[0])+"="+a(i[1])},"").join("&")};function Zte(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ZF(e,t,a){if(!t)return e;const o=a&&a.encode||Zte,i=oe.isFunction(a)?{serialize:a}:a,s=i&&i.serialize;let l;if(s?l=s(t,i):l=oe.isURLSearchParams(t)?t.toString():new NP(t,i).toString(o),l){const h=e.indexOf("#");h!==-1&&(e=e.slice(0,h)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class UV{constructor(){this.handlers=[]}use(t,a,o){return this.handlers.push({fulfilled:t,rejected:a,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){oe.forEach(this.handlers,function(o){o!==null&&t(o)})}}const LP={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Xte=typeof URLSearchParams<"u"?URLSearchParams:NP,Kte=typeof FormData<"u"?FormData:null,Yte=typeof Blob<"u"?Blob:null,Qte={isBrowser:!0,classes:{URLSearchParams:Xte,FormData:Kte,Blob:Yte},protocols:["http","https","file","blob","url","data"]},EP=typeof window<"u"&&typeof document<"u",Dj=typeof navigator=="object"&&navigator||void 0,Jte=EP&&(!Dj||["ReactNative","NativeScript","NS"].indexOf(Dj.product)<0),ene=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",tne=EP&&window.location.href||"http://localhost",nne=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:EP,hasStandardBrowserEnv:Jte,hasStandardBrowserWebWorkerEnv:ene,navigator:Dj,origin:tne},Symbol.toStringTag,{value:"Module"})),un={...nne,...Qte};function ane(e,t){return yA(e,new un.classes.URLSearchParams,{visitor:function(a,o,i,s){return un.isNode&&oe.isBuffer(a)?(this.append(o,a.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function one(e){return oe.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function rne(e){const t={},a=Object.keys(e);let o;const i=a.length;let s;for(o=0;o<i;o++)s=a[o],t[s]=e[s];return t}function XF(e){function t(a,o,i,s){let l=a[s++];if(l==="__proto__")return!0;const h=Number.isFinite(+l),f=s>=a.length;return l=!l&&oe.isArray(i)?i.length:l,f?(oe.hasOwnProp(i,l)?i[l]=[i[l],o]:i[l]=o,!h):((!i[l]||!oe.isObject(i[l]))&&(i[l]=[]),t(a,o,i[l],s)&&oe.isArray(i[l])&&(i[l]=rne(i[l])),!h)}if(oe.isFormData(e)&&oe.isFunction(e.entries)){const a={};return oe.forEachEntry(e,(o,i)=>{t(one(o),i,a,0)}),a}return null}function ine(e,t,a){if(oe.isString(e))try{return(t||JSON.parse)(e),oe.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(a||JSON.stringify)(e)}const A2={transitional:LP,adapter:["xhr","http","fetch"],transformRequest:[function(t,a){const o=a.getContentType()||"",i=o.indexOf("application/json")>-1,s=oe.isObject(t);if(s&&oe.isHTMLForm(t)&&(t=new FormData(t)),oe.isFormData(t))return i?JSON.stringify(XF(t)):t;if(oe.isArrayBuffer(t)||oe.isBuffer(t)||oe.isStream(t)||oe.isFile(t)||oe.isBlob(t)||oe.isReadableStream(t))return t;if(oe.isArrayBufferView(t))return t.buffer;if(oe.isURLSearchParams(t))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let h;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return ane(t,this.formSerializer).toString();if((h=oe.isFileList(t))||o.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return yA(h?{"files[]":t}:t,f&&new f,this.formSerializer)}}return s||i?(a.setContentType("application/json",!1),ine(t)):t}],transformResponse:[function(t){const a=this.transitional||A2.transitional,o=a&&a.forcedJSONParsing,i=this.responseType==="json";if(oe.isResponse(t)||oe.isReadableStream(t))return t;if(t&&oe.isString(t)&&(o&&!this.responseType||i)){const l=!(a&&a.silentJSONParsing)&&i;try{return JSON.parse(t,this.parseReviver)}catch(h){if(l)throw h.name==="SyntaxError"?Pe.from(h,Pe.ERR_BAD_RESPONSE,this,null,this.response):h}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:un.classes.FormData,Blob:un.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};oe.forEach(["delete","get","head","post","put","patch"],e=>{A2.headers[e]={}});const cne=oe.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"]),sne=e=>{const t={};let a,o,i;return e&&e.split(`
14
+ `).forEach(function(l){i=l.indexOf(":"),a=l.substring(0,i).trim().toLowerCase(),o=l.substring(i+1).trim(),!(!a||t[a]&&cne[a])&&(a==="set-cookie"?t[a]?t[a].push(o):t[a]=[o]:t[a]=t[a]?t[a]+", "+o:o)}),t},GV=Symbol("internals");function t2(e){return e&&String(e).trim().toLowerCase()}function Lh(e){return e===!1||e==null?e:oe.isArray(e)?e.map(Lh):String(e)}function lne(e){const t=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=a.exec(e);)t[o[1]]=o[2];return t}const dne=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Y$(e,t,a,o,i){if(oe.isFunction(o))return o.call(this,t,a);if(i&&(t=a),!!oe.isString(t)){if(oe.isString(o))return t.indexOf(o)!==-1;if(oe.isRegExp(o))return o.test(t)}}function une(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,a,o)=>a.toUpperCase()+o)}function hne(e,t){const a=oe.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+a,{value:function(i,s,l){return this[o].call(this,t,i,s,l)},configurable:!0})})}let Rn=class{constructor(t){t&&this.set(t)}set(t,a,o){const i=this;function s(h,f,y){const k=t2(f);if(!k)throw new Error("header name must be a non-empty string");const m=oe.findKey(i,k);(!m||i[m]===void 0||y===!0||y===void 0&&i[m]!==!1)&&(i[m||f]=Lh(h))}const l=(h,f)=>oe.forEach(h,(y,k)=>s(y,k,f));if(oe.isPlainObject(t)||t instanceof this.constructor)l(t,a);else if(oe.isString(t)&&(t=t.trim())&&!dne(t))l(sne(t),a);else if(oe.isObject(t)&&oe.isIterable(t)){let h={},f,y;for(const k of t){if(!oe.isArray(k))throw TypeError("Object iterator must return a key-value pair");h[y=k[0]]=(f=h[y])?oe.isArray(f)?[...f,k[1]]:[f,k[1]]:k[1]}l(h,a)}else t!=null&&s(a,t,o);return this}get(t,a){if(t=t2(t),t){const o=oe.findKey(this,t);if(o){const i=this[o];if(!a)return i;if(a===!0)return lne(i);if(oe.isFunction(a))return a.call(this,i,o);if(oe.isRegExp(a))return a.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,a){if(t=t2(t),t){const o=oe.findKey(this,t);return!!(o&&this[o]!==void 0&&(!a||Y$(this,this[o],o,a)))}return!1}delete(t,a){const o=this;let i=!1;function s(l){if(l=t2(l),l){const h=oe.findKey(o,l);h&&(!a||Y$(o,o[h],h,a))&&(delete o[h],i=!0)}}return oe.isArray(t)?t.forEach(s):s(t),i}clear(t){const a=Object.keys(this);let o=a.length,i=!1;for(;o--;){const s=a[o];(!t||Y$(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const a=this,o={};return oe.forEach(this,(i,s)=>{const l=oe.findKey(o,s);if(l){a[l]=Lh(i),delete a[s];return}const h=t?une(s):String(s).trim();h!==s&&delete a[s],a[h]=Lh(i),o[h]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const a=Object.create(null);return oe.forEach(this,(o,i)=>{o!=null&&o!==!1&&(a[i]=t&&oe.isArray(o)?o.join(", "):o)}),a}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,a])=>t+": "+a).join(`
15
+ `)}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,...a){const o=new this(t);return a.forEach(i=>o.set(i)),o}static accessor(t){const o=(this[GV]=this[GV]={accessors:{}}).accessors,i=this.prototype;function s(l){const h=t2(l);o[h]||(hne(i,l),o[h]=!0)}return oe.isArray(t)?t.forEach(s):s(t),this}};Rn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);oe.reduceDescriptors(Rn.prototype,({value:e},t)=>{let a=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[a]=o}}});oe.freezeMethods(Rn);function Q$(e,t){const a=this||A2,o=t||a,i=Rn.from(o.headers);let s=o.data;return oe.forEach(e,function(h){s=h.call(a,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function KF(e){return!!(e&&e.__CANCEL__)}let T2=class extends Pe{constructor(t,a,o){super(t??"canceled",Pe.ERR_CANCELED,a,o),this.name="CanceledError",this.__CANCEL__=!0}};function YF(e,t,a){const o=a.config.validateStatus;!a.status||!o||o(a.status)?e(a):t(new Pe("Request failed with status code "+a.status,[Pe.ERR_BAD_REQUEST,Pe.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))}function pne(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fne(e,t){e=e||10;const a=new Array(e),o=new Array(e);let i=0,s=0,l;return t=t!==void 0?t:1e3,function(f){const y=Date.now(),k=o[s];l||(l=y),a[i]=f,o[i]=y;let m=s,x=0;for(;m!==i;)x+=a[m++],m=m%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),y-l<t)return;const S=k&&y-k;return S?Math.round(x*1e3/S):void 0}}function yne(e,t){let a=0,o=1e3/t,i,s;const l=(y,k=Date.now())=>{a=k,i=null,s&&(clearTimeout(s),s=null),e(...y)};return[(...y)=>{const k=Date.now(),m=k-a;m>=o?l(y,k):(i=y,s||(s=setTimeout(()=>{s=null,l(i)},o-m)))},()=>i&&l(i)]}const BI=(e,t,a=3)=>{let o=0;const i=fne(50,250);return yne(s=>{const l=s.loaded,h=s.lengthComputable?s.total:void 0,f=l-o,y=i(f),k=l<=h;o=l;const m={loaded:l,total:h,progress:h?l/h:void 0,bytes:f,rate:y||void 0,estimated:y&&h&&k?(h-l)/y:void 0,event:s,lengthComputable:h!=null,[t?"download":"upload"]:!0};e(m)},a)},WV=(e,t)=>{const a=e!=null;return[o=>t[0]({lengthComputable:a,total:e,loaded:o}),t[1]]},ZV=e=>(...t)=>oe.asap(()=>e(...t)),mne=un.hasStandardBrowserEnv?((e,t)=>a=>(a=new URL(a,un.origin),e.protocol===a.protocol&&e.host===a.host&&(t||e.port===a.port)))(new URL(un.origin),un.navigator&&/(msie|trident)/i.test(un.navigator.userAgent)):()=>!0,vne=un.hasStandardBrowserEnv?{write(e,t,a,o,i,s,l){if(typeof document>"u")return;const h=[`${e}=${encodeURIComponent(t)}`];oe.isNumber(a)&&h.push(`expires=${new Date(a).toUTCString()}`),oe.isString(o)&&h.push(`path=${o}`),oe.isString(i)&&h.push(`domain=${i}`),s===!0&&h.push("secure"),oe.isString(l)&&h.push(`SameSite=${l}`),document.cookie=h.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function kne(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gne(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function QF(e,t,a){let o=!kne(t);return e&&(o||a==!1)?gne(e,t):t}const XV=e=>e instanceof Rn?{...e}:e;function D1(e,t){t=t||{};const a={};function o(y,k,m,x){return oe.isPlainObject(y)&&oe.isPlainObject(k)?oe.merge.call({caseless:x},y,k):oe.isPlainObject(k)?oe.merge({},k):oe.isArray(k)?k.slice():k}function i(y,k,m,x){if(oe.isUndefined(k)){if(!oe.isUndefined(y))return o(void 0,y,m,x)}else return o(y,k,m,x)}function s(y,k){if(!oe.isUndefined(k))return o(void 0,k)}function l(y,k){if(oe.isUndefined(k)){if(!oe.isUndefined(y))return o(void 0,y)}else return o(void 0,k)}function h(y,k,m){if(m in t)return o(y,k);if(m in e)return o(void 0,y)}const f={url:s,method:s,data:s,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:h,headers:(y,k,m)=>i(XV(y),XV(k),m,!0)};return oe.forEach(Object.keys({...e,...t}),function(k){if(k==="__proto__"||k==="constructor"||k==="prototype")return;const m=oe.hasOwnProp(f,k)?f[k]:i,x=m(e[k],t[k],k);oe.isUndefined(x)&&m!==h||(a[k]=x)}),a}const JF=e=>{const t=D1({},e);let{data:a,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:l,auth:h}=t;if(t.headers=l=Rn.from(l),t.url=ZF(QF(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),h&&l.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),oe.isFormData(a)){if(un.hasStandardBrowserEnv||un.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if(oe.isFunction(a.getHeaders)){const f=a.getHeaders(),y=["content-type","content-length"];Object.entries(f).forEach(([k,m])=>{y.includes(k.toLowerCase())&&l.set(k,m)})}}if(un.hasStandardBrowserEnv&&(o&&oe.isFunction(o)&&(o=o(t)),o||o!==!1&&mne(t.url))){const f=i&&s&&vne.read(s);f&&l.set(i,f)}return t},Mne=typeof XMLHttpRequest<"u",xne=Mne&&function(e){return new Promise(function(a,o){const i=JF(e);let s=i.data;const l=Rn.from(i.headers).normalize();let{responseType:h,onUploadProgress:f,onDownloadProgress:y}=i,k,m,x,S,b;function w(){S&&S(),b&&b(),i.cancelToken&&i.cancelToken.unsubscribe(k),i.signal&&i.signal.removeEventListener("abort",k)}let _=new XMLHttpRequest;_.open(i.method.toUpperCase(),i.url,!0),_.timeout=i.timeout;function N(){if(!_)return;const I=Rn.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),D={data:!h||h==="text"||h==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:I,config:e,request:_};YF(function(A){a(A),w()},function(A){o(A),w()},D),_=null}"onloadend"in _?_.onloadend=N:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(N)},_.onabort=function(){_&&(o(new Pe("Request aborted",Pe.ECONNABORTED,e,_)),_=null)},_.onerror=function(O){const D=O&&O.message?O.message:"Network Error",P=new Pe(D,Pe.ERR_NETWORK,e,_);P.event=O||null,o(P),_=null},_.ontimeout=function(){let O=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const D=i.transitional||LP;i.timeoutErrorMessage&&(O=i.timeoutErrorMessage),o(new Pe(O,D.clarifyTimeoutError?Pe.ETIMEDOUT:Pe.ECONNABORTED,e,_)),_=null},s===void 0&&l.setContentType(null),"setRequestHeader"in _&&oe.forEach(l.toJSON(),function(O,D){_.setRequestHeader(D,O)}),oe.isUndefined(i.withCredentials)||(_.withCredentials=!!i.withCredentials),h&&h!=="json"&&(_.responseType=i.responseType),y&&([x,b]=BI(y,!0),_.addEventListener("progress",x)),f&&_.upload&&([m,S]=BI(f),_.upload.addEventListener("progress",m),_.upload.addEventListener("loadend",S)),(i.cancelToken||i.signal)&&(k=I=>{_&&(o(!I||I.type?new T2(null,e,_):I),_.abort(),_=null)},i.cancelToken&&i.cancelToken.subscribe(k),i.signal&&(i.signal.aborted?k():i.signal.addEventListener("abort",k)));const L=pne(i.url);if(L&&un.protocols.indexOf(L)===-1){o(new Pe("Unsupported protocol "+L+":",Pe.ERR_BAD_REQUEST,e));return}_.send(s||null)})},bne=(e,t)=>{const{length:a}=e=e?e.filter(Boolean):[];if(t||a){let o=new AbortController,i;const s=function(y){if(!i){i=!0,h();const k=y instanceof Error?y:this.reason;o.abort(k instanceof Pe?k:new T2(k instanceof Error?k.message:k))}};let l=t&&setTimeout(()=>{l=null,s(new Pe(`timeout of ${t}ms exceeded`,Pe.ETIMEDOUT))},t);const h=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(y=>{y.unsubscribe?y.unsubscribe(s):y.removeEventListener("abort",s)}),e=null)};e.forEach(y=>y.addEventListener("abort",s));const{signal:f}=o;return f.unsubscribe=()=>oe.asap(h),f}},wne=function*(e,t){let a=e.byteLength;if(a<t){yield e;return}let o=0,i;for(;o<a;)i=o+t,yield e.slice(o,i),o=i},_ne=async function*(e,t){for await(const a of Sne(e))yield*wne(a,t)},Sne=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:a,value:o}=await t.read();if(a)break;yield o}}finally{await t.cancel()}},KV=(e,t,a,o)=>{const i=_ne(e,t);let s=0,l,h=f=>{l||(l=!0,o&&o(f))};return new ReadableStream({async pull(f){try{const{done:y,value:k}=await i.next();if(y){h(),f.close();return}let m=k.byteLength;if(a){let x=s+=m;a(x)}f.enqueue(new Uint8Array(k))}catch(y){throw h(y),y}},cancel(f){return h(f),i.return()}},{highWaterMark:2})},YV=64*1024,{isFunction:ph}=oe,Cne=(({Request:e,Response:t})=>({Request:e,Response:t}))(oe.global),{ReadableStream:QV,TextEncoder:JV}=oe.global,eB=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Nne=e=>{e=oe.merge.call({skipUndefined:!0},Cne,e);const{fetch:t,Request:a,Response:o}=e,i=t?ph(t):typeof fetch=="function",s=ph(a),l=ph(o);if(!i)return!1;const h=i&&ph(QV),f=i&&(typeof JV=="function"?(b=>w=>b.encode(w))(new JV):async b=>new Uint8Array(await new a(b).arrayBuffer())),y=s&&h&&eB(()=>{let b=!1;const w=new a(un.origin,{body:new QV,method:"POST",get duplex(){return b=!0,"half"}}).headers.has("Content-Type");return b&&!w}),k=l&&h&&eB(()=>oe.isReadableStream(new o("").body)),m={stream:k&&(b=>b.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!m[b]&&(m[b]=(w,_)=>{let N=w&&w[b];if(N)return N.call(w);throw new Pe(`Response type '${b}' is not supported`,Pe.ERR_NOT_SUPPORT,_)})});const x=async b=>{if(b==null)return 0;if(oe.isBlob(b))return b.size;if(oe.isSpecCompliantForm(b))return(await new a(un.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(oe.isArrayBufferView(b)||oe.isArrayBuffer(b))return b.byteLength;if(oe.isURLSearchParams(b)&&(b=b+""),oe.isString(b))return(await f(b)).byteLength},S=async(b,w)=>{const _=oe.toFiniteNumber(b.getContentLength());return _??x(w)};return async b=>{let{url:w,method:_,data:N,signal:L,cancelToken:I,timeout:O,onDownloadProgress:D,onUploadProgress:P,responseType:A,headers:j,withCredentials:V="same-origin",fetchOptions:K}=JF(b),q=t||fetch;A=A?(A+"").toLowerCase():"text";let B=bne([L,I&&I.toAbortSignal()],O),F=null;const J=B&&B.unsubscribe&&(()=>{B.unsubscribe()});let pe;try{if(P&&y&&_!=="get"&&_!=="head"&&(pe=await S(j,N))!==0){let Me=new a(w,{method:"POST",body:N,duplex:"half"}),X;if(oe.isFormData(N)&&(X=Me.headers.get("content-type"))&&j.setContentType(X),Me.body){const[ne,le]=WV(pe,BI(ZV(P)));N=KV(Me.body,YV,ne,le)}}oe.isString(V)||(V=V?"include":"omit");const R=s&&"credentials"in a.prototype,$={...K,signal:B,method:_.toUpperCase(),headers:j.normalize().toJSON(),body:N,duplex:"half",credentials:R?V:void 0};F=s&&new a(w,$);let T=await(s?q(F,K):q(w,$));const G=k&&(A==="stream"||A==="response");if(k&&(D||G&&J)){const Me={};["status","statusText","headers"].forEach(ie=>{Me[ie]=T[ie]});const X=oe.toFiniteNumber(T.headers.get("content-length")),[ne,le]=D&&WV(X,BI(ZV(D),!0))||[];T=new o(KV(T.body,YV,ne,()=>{le&&le(),J&&J()}),Me)}A=A||"text";let W=await m[oe.findKey(m,A)||"text"](T,b);return!G&&J&&J(),await new Promise((Me,X)=>{YF(Me,X,{data:W,headers:Rn.from(T.headers),status:T.status,statusText:T.statusText,config:b,request:F})})}catch(R){throw J&&J(),R&&R.name==="TypeError"&&/Load failed|fetch/i.test(R.message)?Object.assign(new Pe("Network Error",Pe.ERR_NETWORK,b,F,R&&R.response),{cause:R.cause||R}):Pe.from(R,R&&R.code,b,F,R&&R.response)}}},Lne=new Map,eU=e=>{let t=e&&e.env||{};const{fetch:a,Request:o,Response:i}=t,s=[o,i,a];let l=s.length,h=l,f,y,k=Lne;for(;h--;)f=s[h],y=k.get(f),y===void 0&&k.set(f,y=h?new Map:Nne(t)),k=y;return y};eU();const IP={http:Ute,xhr:xne,fetch:{get:eU}};oe.forEach(IP,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const tB=e=>`- ${e}`,Ene=e=>oe.isFunction(e)||e===null||e===!1;function Ine(e,t){e=oe.isArray(e)?e:[e];const{length:a}=e;let o,i;const s={};for(let l=0;l<a;l++){o=e[l];let h;if(i=o,!Ene(o)&&(i=IP[(h=String(o)).toLowerCase()],i===void 0))throw new Pe(`Unknown adapter '${h}'`);if(i&&(oe.isFunction(i)||(i=i.get(t))))break;s[h||"#"+l]=i}if(!i){const l=Object.entries(s).map(([f,y])=>`adapter ${f} `+(y===!1?"is not supported by the environment":"is not available in the build"));let h=a?l.length>1?`since :
16
16
  `+l.map(tB).join(`
17
- `):" "+tB(l[0]):"as no adapter specified";throw new Pe("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return i}const tU={getAdapter:Ine,adapters:EP};function Q$(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new T2(null,e)}function nB(e){return Q$(e),e.headers=Rn.from(e.headers),e.data=Y$.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tU.getAdapter(e.adapter||A2.adapter,e)(e).then(function(o){return Q$(e),o.data=Y$.call(e,e.transformResponse,o),o.headers=Rn.from(o.headers),o},function(o){return KF(o)||(Q$(e),o&&o.response&&(o.response.data=Y$.call(e,e.transformResponse,o.response),o.response.headers=Rn.from(o.response.headers))),Promise.reject(o)})}const nU="1.13.6",mA={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mA[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const aB={};mA.transitional=function(t,a,o){function i(s,l){return"[Axios v"+nU+"] Transitional option '"+s+"'"+l+(o?". "+o:"")}return(s,l,h)=>{if(t===!1)throw new Pe(i(l," has been removed"+(a?" in "+a:"")),Pe.ERR_DEPRECATED);return a&&!aB[l]&&(aB[l]=!0,console.warn(i(l," has been deprecated since v"+a+" and will be removed in the near future"))),t?t(s,l,h):!0}};mA.spelling=function(t){return(a,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function Ane(e,t,a){if(typeof e!="object")throw new Pe("options must be an object",Pe.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let i=o.length;for(;i-- >0;){const s=o[i],l=t[s];if(l){const h=e[s],f=h===void 0||l(h,s,e);if(f!==!0)throw new Pe("option "+s+" must be "+f,Pe.ERR_BAD_OPTION_VALUE);continue}if(a!==!0)throw new Pe("Unknown option "+s,Pe.ERR_BAD_OPTION)}}const Eh={assertOptions:Ane,validators:mA},sa=Eh.validators;let P1=class{constructor(t){this.defaults=t||{},this.interceptors={request:new UV,response:new UV}}async request(t,a){try{return await this._request(t,a)}catch(o){if(o instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{o.stack?s&&!String(o.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(o.stack+=`
18
- `+s):o.stack=s}catch{}}throw o}}_request(t,a){typeof t=="string"?(a=a||{},a.url=t):a=t||{},a=D1(this.defaults,a);const{transitional:o,paramsSerializer:i,headers:s}=a;o!==void 0&&Eh.assertOptions(o,{silentJSONParsing:sa.transitional(sa.boolean),forcedJSONParsing:sa.transitional(sa.boolean),clarifyTimeoutError:sa.transitional(sa.boolean),legacyInterceptorReqResOrdering:sa.transitional(sa.boolean)},!1),i!=null&&(re.isFunction(i)?a.paramsSerializer={serialize:i}:Eh.assertOptions(i,{encode:sa.function,serialize:sa.function},!0)),a.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?a.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:a.allowAbsoluteUrls=!0),Eh.assertOptions(a,{baseUrl:sa.spelling("baseURL"),withXsrfToken:sa.spelling("withXSRFToken")},!0),a.method=(a.method||this.defaults.method||"get").toLowerCase();let l=s&&re.merge(s.common,s[a.method]);s&&re.forEach(["delete","get","head","post","put","patch","common"],b=>{delete s[b]}),a.headers=Rn.concat(l,s);const h=[];let f=!0;this.interceptors.request.forEach(function(w){if(typeof w.runWhen=="function"&&w.runWhen(a)===!1)return;f=f&&w.synchronous;const _=a.transitional||NP;_&&_.legacyInterceptorReqResOrdering?h.unshift(w.fulfilled,w.rejected):h.push(w.fulfilled,w.rejected)});const y=[];this.interceptors.response.forEach(function(w){y.push(w.fulfilled,w.rejected)});let k,m=0,x;if(!f){const b=[nB.bind(this),void 0];for(b.unshift(...h),b.push(...y),x=b.length,k=Promise.resolve(a);m<x;)k=k.then(b[m++],b[m++]);return k}x=h.length;let S=a;for(;m<x;){const b=h[m++],w=h[m++];try{S=b(S)}catch(_){w.call(this,_);break}}try{k=nB.call(this,S)}catch(b){return Promise.reject(b)}for(m=0,x=y.length;m<x;)k=k.then(y[m++],y[m++]);return k}getUri(t){t=D1(this.defaults,t);const a=QF(t.baseURL,t.url,t.allowAbsoluteUrls);return ZF(a,t.params,t.paramsSerializer)}};re.forEach(["delete","get","head","options"],function(t){P1.prototype[t]=function(a,o){return this.request(D1(o||{},{method:t,url:a,data:(o||{}).data}))}});re.forEach(["post","put","patch"],function(t){function a(o){return function(s,l,h){return this.request(D1(h||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:s,data:l}))}}P1.prototype[t]=a(),P1.prototype[t+"Form"]=a(!0)});let Tne=class aU{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let a;this.promise=new Promise(function(s){a=s});const o=this;this.promise.then(i=>{if(!o._listeners)return;let s=o._listeners.length;for(;s-- >0;)o._listeners[s](i);o._listeners=null}),this.promise.then=i=>{let s;const l=new Promise(h=>{o.subscribe(h),s=h}).then(i);return l.cancel=function(){o.unsubscribe(s)},l},t(function(s,l,h){o.reason||(o.reason=new T2(s,l,h),a(o.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 a=this._listeners.indexOf(t);a!==-1&&this._listeners.splice(a,1)}toAbortSignal(){const t=new AbortController,a=o=>{t.abort(o)};return this.subscribe(a),t.signal.unsubscribe=()=>this.unsubscribe(a),t.signal}static source(){let t;return{token:new aU(function(i){t=i}),cancel:t}}};function Rne(e){return function(a){return e.apply(null,a)}}function $ne(e){return re.isObject(e)&&e.isAxiosError===!0}const Dj={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Dj).forEach(([e,t])=>{Dj[t]=e});function oU(e){const t=new P1(e),a=OF(P1.prototype.request,t);return re.extend(a,P1.prototype,t,{allOwnKeys:!0}),re.extend(a,t,null,{allOwnKeys:!0}),a.create=function(i){return oU(D1(e,i))},a}const Nt=oU(A2);Nt.Axios=P1;Nt.CanceledError=T2;Nt.CancelToken=Tne;Nt.isCancel=KF;Nt.VERSION=nU;Nt.toFormData=yA;Nt.AxiosError=Pe;Nt.Cancel=Nt.CanceledError;Nt.all=function(t){return Promise.all(t)};Nt.spread=Rne;Nt.isAxiosError=$ne;Nt.mergeConfig=D1;Nt.AxiosHeaders=Rn;Nt.formToJSON=e=>XF(re.isHTMLForm(e)?new FormData(e):e);Nt.getAdapter=tU.getAdapter;Nt.HttpStatusCode=Dj;Nt.default=Nt;const{Axios:ZHe,AxiosError:XHe,CanceledError:KHe,isCancel:rU,CancelToken:YHe,VERSION:QHe,all:JHe,Cancel:eVe,isAxiosError:iU,spread:tVe,toFormData:nVe,AxiosHeaders:aVe,HttpStatusCode:oVe,formToJSON:rVe,getAdapter:iVe,mergeConfig:jne}=Nt;var Pne=class{constructor(e){this.config={},this.defaults=e}extend(e){return e&&(this.defaults={...this.defaults,...e}),this}replace(e){this.config=e}get(e){return SF(this.config,e)?xa(this.config,e):xa(this.defaults,e)}set(e,t){typeof e=="string"?Ma(this.config,e,t):Object.entries(e).forEach(([a,o])=>{Ma(this.config,a,o)})}},_i=new Pne({form:{recentlySuccessfulDuration:2e3,forceIndicesArrayFormatInFormData:!0,withAllErrors:!1},future:{preserveEqualProps:!1,useDataInertiaHeadAttribute:!1,useDialogForErrorModal:!1,useScriptElementForInitialPage:!1},prefetch:{cacheFor:3e4,hoverDelay:75}});function x2(e,t){let a;return function(...o){clearTimeout(a),a=setTimeout(()=>e.apply(this,o),t)}}function Kn(e,t){return document.dispatchEvent(new CustomEvent(`inertia:${e}`,t))}var oB=e=>Kn("before",{cancelable:!0,detail:{visit:e}}),One=e=>Kn("error",{detail:{errors:e}}),Dne=e=>Kn("exception",{cancelable:!0,detail:{exception:e}}),zne=e=>Kn("finish",{detail:{visit:e}}),qne=e=>Kn("invalid",{cancelable:!0,detail:{response:e}}),Hne=e=>Kn("beforeUpdate",{detail:{page:e}}),p2=e=>Kn("navigate",{detail:{page:e}}),Vne=e=>Kn("progress",{detail:{progress:e}}),Bne=e=>Kn("start",{detail:{visit:e}}),Fne=e=>Kn("success",{detail:{page:e}}),Une=(e,t)=>Kn("prefetched",{detail:{fetchedAt:Date.now(),response:e.data,visit:t}}),Gne=e=>Kn("prefetching",{detail:{visit:e}}),FI=e=>Kn("flash",{detail:{flash:e}}),Mn=class{static set(e,t){typeof window<"u"&&window.sessionStorage.setItem(e,JSON.stringify(t))}static get(e){if(typeof window<"u")return JSON.parse(window.sessionStorage.getItem(e)||"null")}static merge(e,t){const a=this.get(e);a===null?this.set(e,t):this.set(e,{...a,...t})}static remove(e){typeof window<"u"&&window.sessionStorage.removeItem(e)}static removeNested(e,t){const a=this.get(e);a!==null&&(delete a[t],this.set(e,a))}static exists(e){try{return this.get(e)!==null}catch{return!1}}static clear(){typeof window<"u"&&window.sessionStorage.clear()}};Mn.locationVisitKey="inertiaLocationVisit";var Wne=async e=>{if(typeof window>"u")throw new Error("Unable to encrypt history");const t=cU(),a=await sU(),o=await Jne(a);if(!o)throw new Error("Unable to encrypt history");return await Xne(t,o,e)},Ud={key:"historyKey",iv:"historyIv"},Zne=async e=>{const t=cU(),a=await sU();if(!a)throw new Error("Unable to decrypt history");return await Kne(t,a,e)},Xne=async(e,t,a)=>{if(typeof window>"u")throw new Error("Unable to encrypt history");if(typeof window.crypto.subtle>"u")return console.warn("Encryption is not supported in this environment. SSL is required."),Promise.resolve(a);const o=new TextEncoder,i=JSON.stringify(a),s=new Uint8Array(i.length*3),l=o.encodeInto(i,s);return window.crypto.subtle.encrypt({name:"AES-GCM",iv:e},t,s.subarray(0,l.written))},Kne=async(e,t,a)=>{if(typeof window.crypto.subtle>"u")return console.warn("Decryption is not supported in this environment. SSL is required."),Promise.resolve(a);const o=await window.crypto.subtle.decrypt({name:"AES-GCM",iv:e},t,a);return JSON.parse(new TextDecoder().decode(o))},cU=()=>{const e=Mn.get(Ud.iv);if(e)return new Uint8Array(e);const t=window.crypto.getRandomValues(new Uint8Array(12));return Mn.set(Ud.iv,Array.from(t)),t},Yne=async()=>typeof window.crypto.subtle>"u"?(console.warn("Encryption is not supported in this environment. SSL is required."),Promise.resolve(null)):window.crypto.subtle.generateKey({name:"AES-GCM",length:256},!0,["encrypt","decrypt"]),Qne=async e=>{if(typeof window.crypto.subtle>"u")return console.warn("Encryption is not supported in this environment. SSL is required."),Promise.resolve();const t=await window.crypto.subtle.exportKey("raw",e);Mn.set(Ud.key,Array.from(new Uint8Array(t)))},Jne=async e=>{if(e)return e;const t=await Yne();return t?(await Qne(t),t):null},sU=async()=>{const e=Mn.get(Ud.key);return e?await window.crypto.subtle.importKey("raw",new Uint8Array(e),{name:"AES-GCM",length:256},!0,["encrypt","decrypt"]):null},lU=(e,t,a)=>{if(e===t)return!0;for(const o in e)if(!a.includes(o)&&e[o]!==t[o]&&!eae(e[o],t[o]))return!1;for(const o in t)if(!a.includes(o)&&!(o in e))return!1;return!0},eae=(e,t)=>{switch(typeof e){case"object":return lU(e,t,[]);case"function":return e.toString()===t.toString();default:return e===t}},tae={ms:1,s:1e3,m:1e3*60,h:1e3*60*60,d:1e3*60*60*24},rB=e=>{if(typeof e=="number")return e;for(const[t,a]of Object.entries(tae))if(e.endsWith(t))return parseFloat(e)*a;return parseInt(e)},nae=class{constructor(){this.cached=[],this.inFlightRequests=[],this.removalTimers=[],this.currentUseId=null}add(e,t,{cacheFor:a,cacheTags:o}){if(this.findInFlight(e))return Promise.resolve();const s=this.findCached(e);if(!e.fresh&&s&&s.staleTimestamp>Date.now())return Promise.resolve();const[l,h]=this.extractStaleValues(a),f=new Promise((y,k)=>{t({...e,onCancel:()=>{this.remove(e),e.onCancel(),k()},onError:m=>{this.remove(e),e.onError(m),k()},onPrefetching(m){e.onPrefetching(m)},onPrefetched(m,x){e.onPrefetched(m,x)},onPrefetchResponse(m){y(m)},onPrefetchError(m){ar.removeFromInFlight(e),k(m)}})}).then(y=>{this.remove(e);const k=y.getPageResponse();be.mergeOncePropsIntoResponse(k),this.cached.push({params:{...e},staleTimestamp:Date.now()+l,expiresAt:Date.now()+h,response:f,singleUse:h===0,timestamp:Date.now(),inFlight:!1,tags:Array.isArray(o)?o:[o]});const m=this.getShortestOncePropTtl(k);return this.scheduleForRemoval(e,m?Math.min(h,m):h),this.removeFromInFlight(e),y.handlePrefetch(),y});return this.inFlightRequests.push({params:{...e},response:f,staleTimestamp:null,inFlight:!0}),f}removeAll(){this.cached=[],this.removalTimers.forEach(e=>{clearTimeout(e.timer)}),this.removalTimers=[]}removeByTags(e){this.cached=this.cached.filter(t=>!t.tags.some(a=>e.includes(a)))}remove(e){this.cached=this.cached.filter(t=>!this.paramsAreEqual(t.params,e)),this.clearTimer(e)}removeFromInFlight(e){this.inFlightRequests=this.inFlightRequests.filter(t=>!this.paramsAreEqual(t.params,e))}extractStaleValues(e){const[t,a]=this.cacheForToStaleAndExpires(e);return[rB(t),rB(a)]}cacheForToStaleAndExpires(e){if(!Array.isArray(e))return[e,e];switch(e.length){case 0:return[0,0];case 1:return[e[0],e[0]];default:return[e[0],e[1]]}}clearTimer(e){const t=this.removalTimers.find(a=>this.paramsAreEqual(a.params,e));t&&(clearTimeout(t.timer),this.removalTimers=this.removalTimers.filter(a=>a!==t))}scheduleForRemoval(e,t){if(!(typeof window>"u")&&(this.clearTimer(e),t>0)){const a=window.setTimeout(()=>this.remove(e),t);this.removalTimers.push({params:e,timer:a})}}get(e){return this.findCached(e)||this.findInFlight(e)}use(e,t){const a=`${t.url.pathname}-${Date.now()}-${Math.random().toString(36).substring(7)}`;return this.currentUseId=a,e.response.then(o=>{if(this.currentUseId===a)return o.mergeParams({...t,onPrefetched:()=>{}}),this.removeSingleUseItems(t),o.handle()})}removeSingleUseItems(e){this.cached=this.cached.filter(t=>this.paramsAreEqual(t.params,e)?!t.singleUse:!0)}findCached(e){return this.cached.find(t=>this.paramsAreEqual(t.params,e))||null}findInFlight(e){return this.inFlightRequests.find(t=>this.paramsAreEqual(t.params,e))||null}withoutPurposePrefetchHeader(e){const t=ga(e);return t.headers.Purpose==="prefetch"&&delete t.headers.Purpose,t}paramsAreEqual(e,t){return lU(this.withoutPurposePrefetchHeader(e),this.withoutPurposePrefetchHeader(t),["showProgress","replace","prefetch","preserveScroll","preserveState","onBefore","onBeforeUpdate","onStart","onProgress","onFinish","onCancel","onSuccess","onError","onFlash","onPrefetched","onCancelToken","onPrefetching","async","viewTransition"])}updateCachedOncePropsFromCurrentPage(){this.cached.forEach(e=>{e.response.then(t=>{const a=t.getPageResponse();be.mergeOncePropsIntoResponse(a,{force:!0});for(const[l,h]of Object.entries(a.deferredProps??{})){const f=h.filter(y=>a.props[y]===void 0);f.length>0?a.deferredProps[l]=f:delete a.deferredProps[l]}const o=this.getShortestOncePropTtl(a);if(o===null)return;const i=e.expiresAt-Date.now(),s=Math.min(i,o);s>0?this.scheduleForRemoval(e.params,s):this.remove(e.params)})})}getShortestOncePropTtl(e){const t=Object.values(e.onceProps??{}).map(a=>a.expiresAt).filter(a=>!!a);return t.length===0?null:Math.min(...t)-Date.now()}},ar=new nae,J$=e=>{if(e.offsetParent===null)return!1;const t=e.getBoundingClientRect(),a=t.top<window.innerHeight&&t.bottom>=0,o=t.left<window.innerWidth&&t.right>=0;return a&&o},aae=e=>{const t=l=>{const h=window.getComputedStyle(l);return["scroll","overlay"].includes(h.overflowY)?!0:h.overflowY!=="auto"?!1:["visible","clip"].includes(h.overflowX)?!0:o(h.maxHeight,l.style.height)||i(l,"height")},a=l=>{const h=window.getComputedStyle(l);return["scroll","overlay"].includes(h.overflowX)?!0:h.overflowX!=="auto"?!1:["visible","clip"].includes(h.overflowY)?!0:o(h.maxWidth,l.style.width)||i(l,"width")},o=(l,h)=>!!(l&&l!=="none"&&l!=="0px"||h&&h!=="auto"&&h!=="0"),i=(l,h)=>{const f=l.parentElement;if(!f)return!1;const y=window.getComputedStyle(f);if(["flex","inline-flex"].includes(y.display)){const k=["column","column-reverse"].includes(y.flexDirection);return h==="height"?k:!k}return["grid","inline-grid"].includes(y.display)};let s=e==null?void 0:e.parentElement;for(;s;){const l=t(s)||a(s);if(window.getComputedStyle(s).display!=="contents"&&l)return s;s=s.parentElement}return null},dU=(e,t)=>{if(!t)return e.filter(s=>J$(s));const a=e.indexOf(t),o=[],i=[];for(let s=a;s>=0;s--){const l=e[s];if(J$(l))o.push(l);else break}for(let s=a+1;s<e.length;s++){const l=e[s];if(J$(l))i.push(l);else break}return[...o.reverse(),...i]},f2=(e,t=1)=>{window.requestAnimationFrame(()=>{t>1?f2(e,t-1):e()})},oae=(e,t=!1)=>{if(typeof window>"u")return null;if(!t){const o=document.getElementById(e);if(o!=null&&o.dataset.page)return JSON.parse(o.dataset.page)}const a=document.querySelector(`script[data-page="${e}"][type="application/json"]`);return a!=null&&a.textContent?JSON.parse(a.textContent):null},d2=typeof window>"u",rae=!d2&&/Firefox/i.test(window.navigator.userAgent),En=class{static save(){et.saveScrollPositions(this.getScrollRegions())}static getScrollRegions(){return Array.from(this.regions()).map(t=>({top:t.scrollTop,left:t.scrollLeft}))}static regions(){return document.querySelectorAll("[scroll-region]")}static scrollToTop(){if(rae&&getComputedStyle(document.documentElement).scrollBehavior==="smooth")return f2(()=>window.scrollTo(0,0),2);window.scrollTo(0,0)}static reset(){(d2?null:window.location.hash)||this.scrollToTop(),this.regions().forEach(a=>{typeof a.scrollTo=="function"?a.scrollTo(0,0):(a.scrollTop=0,a.scrollLeft=0)}),this.save(),this.scrollToAnchor()}static scrollToAnchor(){const t=d2?null:window.location.hash;t&&setTimeout(()=>{const a=document.getElementById(t.slice(1));a?a.scrollIntoView():this.scrollToTop()})}static restore(t){d2||window.requestAnimationFrame(()=>{this.restoreDocument(),this.restoreScrollRegions(t)})}static restoreScrollRegions(t){d2||this.regions().forEach((a,o)=>{const i=t[o];i&&(typeof a.scrollTo=="function"?a.scrollTo(i.left,i.top):(a.scrollTop=i.top,a.scrollLeft=i.left))})}static restoreDocument(){const t=et.getDocumentScrollPosition();window.scrollTo(t.left,t.top)}static onScroll(t){const a=t.target;typeof a.hasAttribute=="function"&&a.hasAttribute("scroll-region")&&this.save()}static onWindowScroll(){et.saveDocumentScrollPosition({top:window.scrollY,left:window.scrollX})}},IP=e=>typeof File<"u"&&e instanceof File||e instanceof Blob||typeof FileList<"u"&&e instanceof FileList&&e.length>0;function zj(e){return IP(e)||e instanceof FormData&&Array.from(e.values()).some(t=>zj(t))||typeof e=="object"&&e!==null&&Object.values(e).some(t=>zj(t))}var qj=e=>e instanceof FormData;function uU(e,t=new FormData,a=null,o="brackets"){e=e||{};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&pU(t,hU(a,i,"indices"),e[i],o);return t}function hU(e,t,a){return e?a==="brackets"?`${e}[]`:`${e}[${t}]`:t}function pU(e,t,a,o){if(Array.isArray(a))return Array.from(a.keys()).forEach(i=>pU(e,hU(t,i.toString(),o),a[i],o));if(a instanceof Date)return e.append(t,a.toISOString());if(a instanceof File)return e.append(t,a,a.name);if(a instanceof Blob)return e.append(t,a);if(typeof a=="boolean")return e.append(t,a?"1":"0");if(typeof a=="string")return e.append(t,a);if(typeof a=="number")return e.append(t,`${a}`);if(a==null)return e.append(t,"");uU(a,e,t,o)}function la(e){return new URL(e.toString(),typeof window>"u"?void 0:window.location.toString())}var iae=(e,t,a,o,i)=>{let s=typeof e=="string"?la(e):e;if((zj(t)||o)&&!qj(t)&&(_i.get("form.forceIndicesArrayFormatInFormData")&&(i="indices"),t=uU(t,new FormData,null,i)),qj(t))return[s,t];const[l,h]=AP(a,s,t,i);return[la(l),h]};function AP(e,t,a,o="brackets"){const i=e==="get"&&!qj(a)&&Object.keys(a).length>0,s=fU(t.toString()),l=s||t.toString().startsWith("/")||t.toString()==="",h=!l&&!t.toString().startsWith("#")&&!t.toString().startsWith("?"),f=/^[.]{1,2}([/]|$)/.test(t.toString()),y=t.toString().includes("?")||i,k=t.toString().includes("#"),m=new URL(t.toString(),typeof window>"u"?"http://localhost":window.location.toString());if(i){const x=/\[\d+\]/.test(decodeURIComponent(m.search)),S={ignoreQueryPrefix:!0,allowSparse:!0};m.search=qV.stringify({...qV.parse(m.search,S),...a},{encodeValuesOnly:!0,arrayFormat:x?"indices":o})}return[[s?`${m.protocol}//${m.host}`:"",l?m.pathname:"",h?m.pathname.substring(f?0:1):"",y?m.search:"",k?m.hash:""].join(""),i?{}:a]}function UI(e){return e=new URL(e.href),e.hash="",e}var iB=(e,t)=>{e.hash&&!t.hash&&UI(e).href===t.href&&(t.hash=e.hash)},GI=(e,t)=>UI(e).href===UI(t).href,cae=(e,t)=>e.origin===t.origin&&e.pathname===t.pathname;function zr(e){return e!==null&&typeof e=="object"&&e!==void 0&&"url"in e&&"method"in e}function fU(e){return/^([a-z][a-z0-9+.-]*:)?\/\/[^/]/i.test(e)}function sae(e,t){const a=typeof e=="string"?la(e):e;return t?`${a.protocol}//${a.host}${a.pathname}${a.search}${a.hash}`:`${a.pathname}${a.search}${a.hash}`}var lae=class{constructor(){this.componentId={},this.listeners=[],this.isFirstPageLoad=!0,this.cleared=!1,this.pendingDeferredProps=null,this.historyQuotaExceeded=!1}init({initialPage:e,swapComponent:t,resolveComponent:a,onFlash:o}){return this.page={...e,flash:e.flash??{}},this.swapComponent=t,this.resolveComponent=a,this.onFlashCallback=o,or.on("historyQuotaExceeded",()=>{this.historyQuotaExceeded=!0}),this}set(e,{replace:t=!1,preserveScroll:a=!1,preserveState:o=!1,viewTransition:i=!1}={}){Object.keys(e.deferredProps||{}).length&&(this.pendingDeferredProps={deferredProps:e.deferredProps,component:e.component,url:e.url},e.initialDeferredProps===void 0&&(e.initialDeferredProps=e.deferredProps)),this.componentId={};const s=this.componentId;return e.clearHistory&&et.clear(),this.resolve(e.component).then(l=>{if(s!==this.componentId)return;e.rememberedState??(e.rememberedState={});const h=typeof window>"u",f=h?new URL(e.url):window.location,y=!h&&a?En.getScrollRegions():[];t=t||GI(la(e.url),f);const k={...e,flash:{}};return new Promise(m=>t?et.replaceState(k,m):et.pushState(k,m)).then(()=>{const m=!this.isTheSame(e);if(!m&&Object.keys(e.props.errors||{}).length>0&&(i=!1),this.page=e,this.cleared=!1,this.hasOnceProps()&&ar.updateCachedOncePropsFromCurrentPage(),m&&this.fireEventsFor("newComponent"),this.isFirstPageLoad&&this.fireEventsFor("firstLoad"),this.isFirstPageLoad=!1,this.historyQuotaExceeded){this.historyQuotaExceeded=!1;return}return this.swap({component:l,page:e,preserveState:o,viewTransition:i}).then(()=>{a?window.requestAnimationFrame(()=>En.restoreScrollRegions(y)):En.reset(),this.pendingDeferredProps&&this.pendingDeferredProps.component===e.component&&this.pendingDeferredProps.url===e.url&&or.fireInternalEvent("loadDeferredProps",this.pendingDeferredProps.deferredProps),this.pendingDeferredProps=null,t||p2(e)})})})}setQuietly(e,{preserveState:t=!1}={}){return this.resolve(e.component).then(a=>(this.page=e,this.cleared=!1,et.setCurrent(e),this.swap({component:a,page:e,preserveState:t,viewTransition:!1})))}clear(){this.cleared=!0}isCleared(){return this.cleared}get(){return this.page}getWithoutFlashData(){return{...this.page,flash:{}}}hasOnceProps(){return Object.keys(this.page.onceProps??{}).length>0}merge(e){this.page={...this.page,...e}}setFlash(e){var t;this.page={...this.page,flash:e},(t=this.onFlashCallback)==null||t.call(this,e)}setUrlHash(e){this.page.url.includes(e)||(this.page.url+=e)}remember(e){this.page.rememberedState=e}swap({component:e,page:t,preserveState:a,viewTransition:o}){const i=()=>this.swapComponent({component:e,page:t,preserveState:a});if(!o||!(document!=null&&document.startViewTransition))return i();const s=typeof o=="boolean"?()=>null:o;return new Promise(l=>{const h=document.startViewTransition(()=>i().then(l));s(h)})}resolve(e){return Promise.resolve(this.resolveComponent(e))}isTheSame(e){return this.page.component===e.component}on(e,t){return this.listeners.push({event:e,callback:t}),()=>{this.listeners=this.listeners.filter(a=>a.event!==e&&a.callback!==t)}}fireEventsFor(e){this.listeners.filter(t=>t.event===e).forEach(t=>t.callback())}mergeOncePropsIntoResponse(e,{force:t=!1}={}){Object.entries(e.onceProps??{}).forEach(([a,o])=>{var s;const i=(s=this.page.onceProps)==null?void 0:s[a];i!==void 0&&(t||e.props[o.prop]===void 0)&&(e.props[o.prop]=this.page.props[i.prop],e.onceProps[a].expiresAt=i.expiresAt)})}},be=new lae,vA=class{constructor(){this.items=[],this.processingPromise=null}add(e){return this.items.push(e),this.process()}process(){return this.processingPromise??(this.processingPromise=this.processNext().finally(()=>{this.processingPromise=null})),this.processingPromise}processNext(){const e=this.items.shift();return e?Promise.resolve(e()).then(()=>this.processNext()):Promise.resolve()}},Dd=typeof window>"u",n2=new vA,cB=!Dd&&/CriOS/.test(window.navigator.userAgent),dae=class{constructor(){this.rememberedState="rememberedState",this.scrollRegions="scrollRegions",this.preserveUrl=!1,this.current={},this.initialState=null}remember(t,a){var o;this.replaceState({...be.getWithoutFlashData(),rememberedState:{...((o=be.get())==null?void 0:o.rememberedState)??{},[a]:t}})}restore(t){var a,o,i,s;if(!Dd)return((a=this.current[this.rememberedState])==null?void 0:a[t])!==void 0?(o=this.current[this.rememberedState])==null?void 0:o[t]:(s=(i=this.initialState)==null?void 0:i[this.rememberedState])==null?void 0:s[t]}pushState(t,a=null){if(!Dd){if(this.preserveUrl){a&&a();return}this.current=t,n2.add(()=>this.getPageData(t).then(o=>{const i=()=>this.doPushState({page:o},t.url).then(()=>a==null?void 0:a());return cB?new Promise(s=>{setTimeout(()=>i().then(s))}):i()}))}}clonePageProps(t){try{return structuredClone(t.props),t}catch{return{...t,props:ga(t.props)}}}getPageData(t){const a=this.clonePageProps(t);return new Promise(o=>t.encryptHistory?Wne(a).then(o):o(a))}processQueue(){return n2.process()}decrypt(t=null){var o;if(Dd)return Promise.resolve(t??be.get());const a=t??((o=window.history.state)==null?void 0:o.page);return this.decryptPageData(a).then(i=>{if(!i)throw new Error("Unable to decrypt history");return this.initialState===null?this.initialState=i??void 0:this.current=i??{},i})}decryptPageData(t){return t instanceof ArrayBuffer?Zne(t):Promise.resolve(t)}saveScrollPositions(t){n2.add(()=>Promise.resolve().then(()=>{var a;if((a=window.history.state)!=null&&a.page&&!Mi(this.getScrollRegions(),t))return this.doReplaceState({page:window.history.state.page,scrollRegions:t})}))}saveDocumentScrollPosition(t){n2.add(()=>Promise.resolve().then(()=>{var a;if((a=window.history.state)!=null&&a.page&&!Mi(this.getDocumentScrollPosition(),t))return this.doReplaceState({page:window.history.state.page,documentScrollPosition:t})}))}getScrollRegions(){var t;return((t=window.history.state)==null?void 0:t.scrollRegions)||[]}getDocumentScrollPosition(){var t;return((t=window.history.state)==null?void 0:t.documentScrollPosition)||{top:0,left:0}}replaceState(t,a=null){if(Mi(this.current,t)){a&&a();return}const{flash:o,...i}=t;if(be.merge(i),!Dd){if(this.preserveUrl){a&&a();return}this.current=t,n2.add(()=>this.getPageData(t).then(s=>{const l=()=>this.doReplaceState({page:s},t.url).then(()=>a==null?void 0:a());return cB?new Promise(h=>{setTimeout(()=>l().then(h))}):l()}))}}isHistoryThrottleError(t){return t instanceof Error&&t.name==="SecurityError"&&(t.message.includes("history.pushState")||t.message.includes("history.replaceState"))}isQuotaExceededError(t){return t instanceof Error&&t.name==="QuotaExceededError"}withThrottleProtection(t){return Promise.resolve().then(()=>{try{return t()}catch(a){if(!this.isHistoryThrottleError(a))throw a;console.error(a.message)}})}doReplaceState(t,a){return this.withThrottleProtection(()=>{var o,i;window.history.replaceState({...t,scrollRegions:t.scrollRegions??((o=window.history.state)==null?void 0:o.scrollRegions),documentScrollPosition:t.documentScrollPosition??((i=window.history.state)==null?void 0:i.documentScrollPosition)},"",a)})}doPushState(t,a){return this.withThrottleProtection(()=>{try{window.history.pushState(t,"",a)}catch(o){if(!this.isQuotaExceededError(o))throw o;or.fireInternalEvent("historyQuotaExceeded",a)}})}getState(t,a){var o;return((o=this.current)==null?void 0:o[t])??a}deleteState(t){this.current[t]!==void 0&&(delete this.current[t],this.replaceState(this.current))}clearInitialState(t){this.initialState&&this.initialState[t]!==void 0&&delete this.initialState[t]}browserHasHistoryEntry(){var t;return!Dd&&!!((t=window.history.state)!=null&&t.page)}clear(){Mn.remove(Ud.key),Mn.remove(Ud.iv)}setCurrent(t){this.current=t}isValidState(t){return!!t.page}getAllState(){return this.current}};typeof window<"u"&&window.history.scrollRestoration&&(window.history.scrollRestoration="manual");var et=new dae,uae=class{constructor(){this.internalListeners=[]}init(){typeof window<"u"&&(window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),window.addEventListener("pageshow",this.handlePageshowEvent.bind(this)),window.addEventListener("scroll",x2(En.onWindowScroll.bind(En),100),!0)),typeof document<"u"&&document.addEventListener("scroll",x2(En.onScroll.bind(En),100),!0)}onGlobalEvent(e,t){const a=(o=>{const i=t(o);o.cancelable&&!o.defaultPrevented&&i===!1&&o.preventDefault()});return this.registerListener(`inertia:${e}`,a)}on(e,t){return this.internalListeners.push({event:e,listener:t}),()=>{this.internalListeners=this.internalListeners.filter(a=>a.listener!==t)}}onMissingHistoryItem(){be.clear(),this.fireInternalEvent("missingHistoryItem")}fireInternalEvent(e,...t){this.internalListeners.filter(a=>a.event===e).forEach(a=>a.listener(...t))}registerListener(e,t){return document.addEventListener(e,t),()=>document.removeEventListener(e,t)}handlePageshowEvent(e){e.persisted&&et.decrypt().catch(()=>this.onMissingHistoryItem())}handlePopstateEvent(e){const t=e.state||null;if(t===null){const a=la(be.get().url);a.hash=window.location.hash,et.replaceState({...be.getWithoutFlashData(),url:a.href}),En.reset();return}if(!et.isValidState(t))return this.onMissingHistoryItem();et.decrypt(t.page).then(a=>{if(be.get().version!==a.version){this.onMissingHistoryItem();return}ut.cancelAll({prefetch:!1}),be.setQuietly(a,{preserveState:!1}).then(()=>{En.restore(et.getScrollRegions()),p2(be.get());const o={},i=be.get().props;for(const[s,l]of Object.entries(a.initialDeferredProps??a.deferredProps??{})){const h=l.filter(f=>i[f]===void 0);h.length>0&&(o[s]=h)}Object.keys(o).length>0&&this.fireInternalEvent("loadDeferredProps",o)})}).catch(()=>{this.onMissingHistoryItem()})}},or=new uae,hae=class{constructor(){this.type=this.resolveType()}resolveType(){return typeof window>"u"?"navigate":window.performance&&window.performance.getEntriesByType&&window.performance.getEntriesByType("navigation").length>0?window.performance.getEntriesByType("navigation")[0].type:"navigate"}get(){return this.type}isBackForward(){return this.type==="back_forward"}isReload(){return this.type==="reload"}},ej=new hae,pae=class{static handle(){this.clearRememberedStateOnReload(),[this.handleBackForward,this.handleLocation,this.handleDefault].find(t=>t.bind(this)())}static clearRememberedStateOnReload(){ej.isReload()&&(et.deleteState(et.rememberedState),et.clearInitialState(et.rememberedState))}static handleBackForward(){if(!ej.isBackForward()||!et.browserHasHistoryEntry())return!1;const e=et.getScrollRegions();return et.decrypt().then(t=>{be.set(t,{preserveScroll:!0,preserveState:!0}).then(()=>{En.restore(e),p2(be.get())})}).catch(()=>{or.onMissingHistoryItem()}),!0}static handleLocation(){if(!Mn.exists(Mn.locationVisitKey))return!1;const e=Mn.get(Mn.locationVisitKey)||{};return Mn.remove(Mn.locationVisitKey),typeof window<"u"&&be.setUrlHash(window.location.hash),et.decrypt(be.get()).then(()=>{const t=et.getState(et.rememberedState,{}),a=et.getScrollRegions();be.remember(t),be.set(be.get(),{preserveScroll:e.preserveScroll,preserveState:!0}).then(()=>{e.preserveScroll&&En.restore(a),p2(be.get())})}).catch(()=>{or.onMissingHistoryItem()}),!0}static handleDefault(){typeof window<"u"&&be.setUrlHash(window.location.hash),be.set(be.get(),{preserveScroll:!0,preserveState:!0}).then(()=>{ej.isReload()?En.restore(et.getScrollRegions()):En.scrollToAnchor();const e=be.get();p2(e);const t=e.flash;Object.keys(t).length>0&&queueMicrotask(()=>FI(t))})}},fae=class{constructor(e,t,a){this.id=null,this.throttle=!1,this.keepAlive=!1,this.cbCount=0,this.keepAlive=a.keepAlive??!1,this.cb=t,this.interval=e,(a.autoStart??!0)&&this.start()}stop(){this.id&&clearInterval(this.id)}start(){typeof window>"u"||(this.stop(),this.id=window.setInterval(()=>{(!this.throttle||this.cbCount%10===0)&&this.cb(),this.throttle&&this.cbCount++},this.interval))}isInBackground(e){this.throttle=this.keepAlive?!1:e,this.throttle&&(this.cbCount=0)}},yae=class{constructor(){this.polls=[],this.setupVisibilityListener()}add(e,t,a){const o=new fae(e,t,a);return this.polls.push(o),{stop:()=>o.stop(),start:()=>o.start()}}clear(){this.polls.forEach(e=>e.stop()),this.polls=[]}setupVisibilityListener(){typeof document>"u"||document.addEventListener("visibilitychange",()=>{this.polls.forEach(e=>e.isInBackground(document.hidden))},!1)}},mae=new yae,Hj=class Ih{constructor(t){if(this.callbacks=[],!t.prefetch)this.params=t;else{const a={onBefore:this.wrapCallback(t,"onBefore"),onBeforeUpdate:this.wrapCallback(t,"onBeforeUpdate"),onStart:this.wrapCallback(t,"onStart"),onProgress:this.wrapCallback(t,"onProgress"),onFinish:this.wrapCallback(t,"onFinish"),onCancel:this.wrapCallback(t,"onCancel"),onSuccess:this.wrapCallback(t,"onSuccess"),onError:this.wrapCallback(t,"onError"),onFlash:this.wrapCallback(t,"onFlash"),onCancelToken:this.wrapCallback(t,"onCancelToken"),onPrefetched:this.wrapCallback(t,"onPrefetched"),onPrefetching:this.wrapCallback(t,"onPrefetching")};this.params={...t,...a,onPrefetchResponse:t.onPrefetchResponse||(()=>{}),onPrefetchError:t.onPrefetchError||(()=>{})}}}static create(t){return new Ih(t)}data(){return this.params.method==="get"?null:this.params.data}queryParams(){return this.params.method==="get"?this.params.data:{}}isPartial(){return this.params.only.length>0||this.params.except.length>0||this.params.reset.length>0}isPrefetch(){return this.params.prefetch===!0}isDeferredPropsRequest(){return this.params.deferredProps===!0}onCancelToken(t){this.params.onCancelToken({cancel:t})}markAsFinished(){this.params.completed=!0,this.params.cancelled=!1,this.params.interrupted=!1}markAsCancelled({cancelled:t=!0,interrupted:a=!1}){this.params.onCancel(),this.params.completed=!1,this.params.cancelled=t,this.params.interrupted=a}wasCancelledAtAll(){return this.params.cancelled||this.params.interrupted}onFinish(){this.params.onFinish(this.params)}onStart(){this.params.onStart(this.params)}onPrefetching(){this.params.onPrefetching(this.params)}onPrefetchResponse(t){this.params.onPrefetchResponse&&this.params.onPrefetchResponse(t)}onPrefetchError(t){this.params.onPrefetchError&&this.params.onPrefetchError(t)}all(){return this.params}headers(){const t={...this.params.headers};this.isPartial()&&(t["X-Inertia-Partial-Component"]=be.get().component);const a=this.params.only.concat(this.params.reset);return a.length>0&&(t["X-Inertia-Partial-Data"]=a.join(",")),this.params.except.length>0&&(t["X-Inertia-Partial-Except"]=this.params.except.join(",")),this.params.reset.length>0&&(t["X-Inertia-Reset"]=this.params.reset.join(",")),this.params.errorBag&&this.params.errorBag.length>0&&(t["X-Inertia-Error-Bag"]=this.params.errorBag),t}setPreserveOptions(t){this.params.preserveScroll=Ih.resolvePreserveOption(this.params.preserveScroll,t),this.params.preserveState=Ih.resolvePreserveOption(this.params.preserveState,t)}runCallbacks(){this.callbacks.forEach(({name:t,args:a})=>{this.params[t](...a)})}merge(t){this.params={...this.params,...t}}wrapCallback(t,a){return(...o)=>{this.recordCallback(a,o),t[a](...o)}}recordCallback(t,a){this.callbacks.push({name:t,args:a})}static resolvePreserveOption(t,a){return typeof t=="function"?t(a):t==="errors"?Object.keys(a.props.errors||{}).length>0:t}},yU={modal:null,listener:null,createIframeAndPage(e){typeof e=="object"&&(e=`All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.<hr>${JSON.stringify(e)}`);const t=document.createElement("html");t.innerHTML=e,t.querySelectorAll("a").forEach(o=>o.setAttribute("target","_top"));const a=document.createElement("iframe");return a.style.backgroundColor="white",a.style.borderRadius="5px",a.style.width="100%",a.style.height="100%",{iframe:a,page:t}},show(e){const{iframe:t,page:a}=this.createIframeAndPage(e);if(this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",()=>this.hide()),this.modal.appendChild(t),document.body.prepend(this.modal),document.body.style.overflow="hidden",!t.contentWindow)throw new Error("iframe not yet ready.");t.contentWindow.document.open(),t.contentWindow.document.write(a.outerHTML),t.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape(e){e.keyCode===27&&this.hide()}},vae={show(e){const{iframe:t,page:a}=yU.createIframeAndPage(e);t.style.boxSizing="border-box",t.style.display="block";const o=document.createElement("dialog");o.id="inertia-error-dialog",Object.assign(o.style,{width:"calc(100vw - 100px)",height:"calc(100vh - 100px)",padding:"0",margin:"auto",border:"none",backgroundColor:"transparent"});const i=document.createElement("style");if(i.textContent=`
17
+ `):" "+tB(l[0]):"as no adapter specified";throw new Pe("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return i}const tU={getAdapter:Ine,adapters:IP};function J$(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new T2(null,e)}function nB(e){return J$(e),e.headers=Rn.from(e.headers),e.data=Q$.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tU.getAdapter(e.adapter||A2.adapter,e)(e).then(function(o){return J$(e),o.data=Q$.call(e,e.transformResponse,o),o.headers=Rn.from(o.headers),o},function(o){return KF(o)||(J$(e),o&&o.response&&(o.response.data=Q$.call(e,e.transformResponse,o.response),o.response.headers=Rn.from(o.response.headers))),Promise.reject(o)})}const nU="1.13.6",mA={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mA[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const aB={};mA.transitional=function(t,a,o){function i(s,l){return"[Axios v"+nU+"] Transitional option '"+s+"'"+l+(o?". "+o:"")}return(s,l,h)=>{if(t===!1)throw new Pe(i(l," has been removed"+(a?" in "+a:"")),Pe.ERR_DEPRECATED);return a&&!aB[l]&&(aB[l]=!0,console.warn(i(l," has been deprecated since v"+a+" and will be removed in the near future"))),t?t(s,l,h):!0}};mA.spelling=function(t){return(a,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function Ane(e,t,a){if(typeof e!="object")throw new Pe("options must be an object",Pe.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let i=o.length;for(;i-- >0;){const s=o[i],l=t[s];if(l){const h=e[s],f=h===void 0||l(h,s,e);if(f!==!0)throw new Pe("option "+s+" must be "+f,Pe.ERR_BAD_OPTION_VALUE);continue}if(a!==!0)throw new Pe("Unknown option "+s,Pe.ERR_BAD_OPTION)}}const Eh={assertOptions:Ane,validators:mA},sa=Eh.validators;let P1=class{constructor(t){this.defaults=t||{},this.interceptors={request:new UV,response:new UV}}async request(t,a){try{return await this._request(t,a)}catch(o){if(o instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{o.stack?s&&!String(o.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(o.stack+=`
18
+ `+s):o.stack=s}catch{}}throw o}}_request(t,a){typeof t=="string"?(a=a||{},a.url=t):a=t||{},a=D1(this.defaults,a);const{transitional:o,paramsSerializer:i,headers:s}=a;o!==void 0&&Eh.assertOptions(o,{silentJSONParsing:sa.transitional(sa.boolean),forcedJSONParsing:sa.transitional(sa.boolean),clarifyTimeoutError:sa.transitional(sa.boolean),legacyInterceptorReqResOrdering:sa.transitional(sa.boolean)},!1),i!=null&&(oe.isFunction(i)?a.paramsSerializer={serialize:i}:Eh.assertOptions(i,{encode:sa.function,serialize:sa.function},!0)),a.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?a.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:a.allowAbsoluteUrls=!0),Eh.assertOptions(a,{baseUrl:sa.spelling("baseURL"),withXsrfToken:sa.spelling("withXSRFToken")},!0),a.method=(a.method||this.defaults.method||"get").toLowerCase();let l=s&&oe.merge(s.common,s[a.method]);s&&oe.forEach(["delete","get","head","post","put","patch","common"],b=>{delete s[b]}),a.headers=Rn.concat(l,s);const h=[];let f=!0;this.interceptors.request.forEach(function(w){if(typeof w.runWhen=="function"&&w.runWhen(a)===!1)return;f=f&&w.synchronous;const _=a.transitional||LP;_&&_.legacyInterceptorReqResOrdering?h.unshift(w.fulfilled,w.rejected):h.push(w.fulfilled,w.rejected)});const y=[];this.interceptors.response.forEach(function(w){y.push(w.fulfilled,w.rejected)});let k,m=0,x;if(!f){const b=[nB.bind(this),void 0];for(b.unshift(...h),b.push(...y),x=b.length,k=Promise.resolve(a);m<x;)k=k.then(b[m++],b[m++]);return k}x=h.length;let S=a;for(;m<x;){const b=h[m++],w=h[m++];try{S=b(S)}catch(_){w.call(this,_);break}}try{k=nB.call(this,S)}catch(b){return Promise.reject(b)}for(m=0,x=y.length;m<x;)k=k.then(y[m++],y[m++]);return k}getUri(t){t=D1(this.defaults,t);const a=QF(t.baseURL,t.url,t.allowAbsoluteUrls);return ZF(a,t.params,t.paramsSerializer)}};oe.forEach(["delete","get","head","options"],function(t){P1.prototype[t]=function(a,o){return this.request(D1(o||{},{method:t,url:a,data:(o||{}).data}))}});oe.forEach(["post","put","patch"],function(t){function a(o){return function(s,l,h){return this.request(D1(h||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:s,data:l}))}}P1.prototype[t]=a(),P1.prototype[t+"Form"]=a(!0)});let Tne=class aU{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let a;this.promise=new Promise(function(s){a=s});const o=this;this.promise.then(i=>{if(!o._listeners)return;let s=o._listeners.length;for(;s-- >0;)o._listeners[s](i);o._listeners=null}),this.promise.then=i=>{let s;const l=new Promise(h=>{o.subscribe(h),s=h}).then(i);return l.cancel=function(){o.unsubscribe(s)},l},t(function(s,l,h){o.reason||(o.reason=new T2(s,l,h),a(o.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 a=this._listeners.indexOf(t);a!==-1&&this._listeners.splice(a,1)}toAbortSignal(){const t=new AbortController,a=o=>{t.abort(o)};return this.subscribe(a),t.signal.unsubscribe=()=>this.unsubscribe(a),t.signal}static source(){let t;return{token:new aU(function(i){t=i}),cancel:t}}};function Rne(e){return function(a){return e.apply(null,a)}}function $ne(e){return oe.isObject(e)&&e.isAxiosError===!0}const zj={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(zj).forEach(([e,t])=>{zj[t]=e});function oU(e){const t=new P1(e),a=OF(P1.prototype.request,t);return oe.extend(a,P1.prototype,t,{allOwnKeys:!0}),oe.extend(a,t,null,{allOwnKeys:!0}),a.create=function(i){return oU(D1(e,i))},a}const Nt=oU(A2);Nt.Axios=P1;Nt.CanceledError=T2;Nt.CancelToken=Tne;Nt.isCancel=KF;Nt.VERSION=nU;Nt.toFormData=yA;Nt.AxiosError=Pe;Nt.Cancel=Nt.CanceledError;Nt.all=function(t){return Promise.all(t)};Nt.spread=Rne;Nt.isAxiosError=$ne;Nt.mergeConfig=D1;Nt.AxiosHeaders=Rn;Nt.formToJSON=e=>XF(oe.isHTMLForm(e)?new FormData(e):e);Nt.getAdapter=tU.getAdapter;Nt.HttpStatusCode=zj;Nt.default=Nt;const{Axios:ZHe,AxiosError:XHe,CanceledError:KHe,isCancel:rU,CancelToken:YHe,VERSION:QHe,all:JHe,Cancel:eVe,isAxiosError:iU,spread:tVe,toFormData:nVe,AxiosHeaders:aVe,HttpStatusCode:oVe,formToJSON:rVe,getAdapter:iVe,mergeConfig:jne}=Nt;var Pne=class{constructor(e){this.config={},this.defaults=e}extend(e){return e&&(this.defaults={...this.defaults,...e}),this}replace(e){this.config=e}get(e){return SF(this.config,e)?xa(this.config,e):xa(this.defaults,e)}set(e,t){typeof e=="string"?Ma(this.config,e,t):Object.entries(e).forEach(([a,o])=>{Ma(this.config,a,o)})}},_i=new Pne({form:{recentlySuccessfulDuration:2e3,forceIndicesArrayFormatInFormData:!0,withAllErrors:!1},future:{preserveEqualProps:!1,useDataInertiaHeadAttribute:!1,useDialogForErrorModal:!1,useScriptElementForInitialPage:!1},prefetch:{cacheFor:3e4,hoverDelay:75}});function x2(e,t){let a;return function(...o){clearTimeout(a),a=setTimeout(()=>e.apply(this,o),t)}}function Kn(e,t){return document.dispatchEvent(new CustomEvent(`inertia:${e}`,t))}var oB=e=>Kn("before",{cancelable:!0,detail:{visit:e}}),One=e=>Kn("error",{detail:{errors:e}}),Dne=e=>Kn("exception",{cancelable:!0,detail:{exception:e}}),zne=e=>Kn("finish",{detail:{visit:e}}),qne=e=>Kn("invalid",{cancelable:!0,detail:{response:e}}),Hne=e=>Kn("beforeUpdate",{detail:{page:e}}),p2=e=>Kn("navigate",{detail:{page:e}}),Vne=e=>Kn("progress",{detail:{progress:e}}),Bne=e=>Kn("start",{detail:{visit:e}}),Fne=e=>Kn("success",{detail:{page:e}}),Une=(e,t)=>Kn("prefetched",{detail:{fetchedAt:Date.now(),response:e.data,visit:t}}),Gne=e=>Kn("prefetching",{detail:{visit:e}}),FI=e=>Kn("flash",{detail:{flash:e}}),Mn=class{static set(e,t){typeof window<"u"&&window.sessionStorage.setItem(e,JSON.stringify(t))}static get(e){if(typeof window<"u")return JSON.parse(window.sessionStorage.getItem(e)||"null")}static merge(e,t){const a=this.get(e);a===null?this.set(e,t):this.set(e,{...a,...t})}static remove(e){typeof window<"u"&&window.sessionStorage.removeItem(e)}static removeNested(e,t){const a=this.get(e);a!==null&&(delete a[t],this.set(e,a))}static exists(e){try{return this.get(e)!==null}catch{return!1}}static clear(){typeof window<"u"&&window.sessionStorage.clear()}};Mn.locationVisitKey="inertiaLocationVisit";var Wne=async e=>{if(typeof window>"u")throw new Error("Unable to encrypt history");const t=cU(),a=await sU(),o=await Jne(a);if(!o)throw new Error("Unable to encrypt history");return await Xne(t,o,e)},Ud={key:"historyKey",iv:"historyIv"},Zne=async e=>{const t=cU(),a=await sU();if(!a)throw new Error("Unable to decrypt history");return await Kne(t,a,e)},Xne=async(e,t,a)=>{if(typeof window>"u")throw new Error("Unable to encrypt history");if(typeof window.crypto.subtle>"u")return console.warn("Encryption is not supported in this environment. SSL is required."),Promise.resolve(a);const o=new TextEncoder,i=JSON.stringify(a),s=new Uint8Array(i.length*3),l=o.encodeInto(i,s);return window.crypto.subtle.encrypt({name:"AES-GCM",iv:e},t,s.subarray(0,l.written))},Kne=async(e,t,a)=>{if(typeof window.crypto.subtle>"u")return console.warn("Decryption is not supported in this environment. SSL is required."),Promise.resolve(a);const o=await window.crypto.subtle.decrypt({name:"AES-GCM",iv:e},t,a);return JSON.parse(new TextDecoder().decode(o))},cU=()=>{const e=Mn.get(Ud.iv);if(e)return new Uint8Array(e);const t=window.crypto.getRandomValues(new Uint8Array(12));return Mn.set(Ud.iv,Array.from(t)),t},Yne=async()=>typeof window.crypto.subtle>"u"?(console.warn("Encryption is not supported in this environment. SSL is required."),Promise.resolve(null)):window.crypto.subtle.generateKey({name:"AES-GCM",length:256},!0,["encrypt","decrypt"]),Qne=async e=>{if(typeof window.crypto.subtle>"u")return console.warn("Encryption is not supported in this environment. SSL is required."),Promise.resolve();const t=await window.crypto.subtle.exportKey("raw",e);Mn.set(Ud.key,Array.from(new Uint8Array(t)))},Jne=async e=>{if(e)return e;const t=await Yne();return t?(await Qne(t),t):null},sU=async()=>{const e=Mn.get(Ud.key);return e?await window.crypto.subtle.importKey("raw",new Uint8Array(e),{name:"AES-GCM",length:256},!0,["encrypt","decrypt"]):null},lU=(e,t,a)=>{if(e===t)return!0;for(const o in e)if(!a.includes(o)&&e[o]!==t[o]&&!eae(e[o],t[o]))return!1;for(const o in t)if(!a.includes(o)&&!(o in e))return!1;return!0},eae=(e,t)=>{switch(typeof e){case"object":return lU(e,t,[]);case"function":return e.toString()===t.toString();default:return e===t}},tae={ms:1,s:1e3,m:1e3*60,h:1e3*60*60,d:1e3*60*60*24},rB=e=>{if(typeof e=="number")return e;for(const[t,a]of Object.entries(tae))if(e.endsWith(t))return parseFloat(e)*a;return parseInt(e)},nae=class{constructor(){this.cached=[],this.inFlightRequests=[],this.removalTimers=[],this.currentUseId=null}add(e,t,{cacheFor:a,cacheTags:o}){if(this.findInFlight(e))return Promise.resolve();const s=this.findCached(e);if(!e.fresh&&s&&s.staleTimestamp>Date.now())return Promise.resolve();const[l,h]=this.extractStaleValues(a),f=new Promise((y,k)=>{t({...e,onCancel:()=>{this.remove(e),e.onCancel(),k()},onError:m=>{this.remove(e),e.onError(m),k()},onPrefetching(m){e.onPrefetching(m)},onPrefetched(m,x){e.onPrefetched(m,x)},onPrefetchResponse(m){y(m)},onPrefetchError(m){ar.removeFromInFlight(e),k(m)}})}).then(y=>{this.remove(e);const k=y.getPageResponse();be.mergeOncePropsIntoResponse(k),this.cached.push({params:{...e},staleTimestamp:Date.now()+l,expiresAt:Date.now()+h,response:f,singleUse:h===0,timestamp:Date.now(),inFlight:!1,tags:Array.isArray(o)?o:[o]});const m=this.getShortestOncePropTtl(k);return this.scheduleForRemoval(e,m?Math.min(h,m):h),this.removeFromInFlight(e),y.handlePrefetch(),y});return this.inFlightRequests.push({params:{...e},response:f,staleTimestamp:null,inFlight:!0}),f}removeAll(){this.cached=[],this.removalTimers.forEach(e=>{clearTimeout(e.timer)}),this.removalTimers=[]}removeByTags(e){this.cached=this.cached.filter(t=>!t.tags.some(a=>e.includes(a)))}remove(e){this.cached=this.cached.filter(t=>!this.paramsAreEqual(t.params,e)),this.clearTimer(e)}removeFromInFlight(e){this.inFlightRequests=this.inFlightRequests.filter(t=>!this.paramsAreEqual(t.params,e))}extractStaleValues(e){const[t,a]=this.cacheForToStaleAndExpires(e);return[rB(t),rB(a)]}cacheForToStaleAndExpires(e){if(!Array.isArray(e))return[e,e];switch(e.length){case 0:return[0,0];case 1:return[e[0],e[0]];default:return[e[0],e[1]]}}clearTimer(e){const t=this.removalTimers.find(a=>this.paramsAreEqual(a.params,e));t&&(clearTimeout(t.timer),this.removalTimers=this.removalTimers.filter(a=>a!==t))}scheduleForRemoval(e,t){if(!(typeof window>"u")&&(this.clearTimer(e),t>0)){const a=window.setTimeout(()=>this.remove(e),t);this.removalTimers.push({params:e,timer:a})}}get(e){return this.findCached(e)||this.findInFlight(e)}use(e,t){const a=`${t.url.pathname}-${Date.now()}-${Math.random().toString(36).substring(7)}`;return this.currentUseId=a,e.response.then(o=>{if(this.currentUseId===a)return o.mergeParams({...t,onPrefetched:()=>{}}),this.removeSingleUseItems(t),o.handle()})}removeSingleUseItems(e){this.cached=this.cached.filter(t=>this.paramsAreEqual(t.params,e)?!t.singleUse:!0)}findCached(e){return this.cached.find(t=>this.paramsAreEqual(t.params,e))||null}findInFlight(e){return this.inFlightRequests.find(t=>this.paramsAreEqual(t.params,e))||null}withoutPurposePrefetchHeader(e){const t=ga(e);return t.headers.Purpose==="prefetch"&&delete t.headers.Purpose,t}paramsAreEqual(e,t){return lU(this.withoutPurposePrefetchHeader(e),this.withoutPurposePrefetchHeader(t),["showProgress","replace","prefetch","preserveScroll","preserveState","onBefore","onBeforeUpdate","onStart","onProgress","onFinish","onCancel","onSuccess","onError","onFlash","onPrefetched","onCancelToken","onPrefetching","async","viewTransition"])}updateCachedOncePropsFromCurrentPage(){this.cached.forEach(e=>{e.response.then(t=>{const a=t.getPageResponse();be.mergeOncePropsIntoResponse(a,{force:!0});for(const[l,h]of Object.entries(a.deferredProps??{})){const f=h.filter(y=>a.props[y]===void 0);f.length>0?a.deferredProps[l]=f:delete a.deferredProps[l]}const o=this.getShortestOncePropTtl(a);if(o===null)return;const i=e.expiresAt-Date.now(),s=Math.min(i,o);s>0?this.scheduleForRemoval(e.params,s):this.remove(e.params)})})}getShortestOncePropTtl(e){const t=Object.values(e.onceProps??{}).map(a=>a.expiresAt).filter(a=>!!a);return t.length===0?null:Math.min(...t)-Date.now()}},ar=new nae,ej=e=>{if(e.offsetParent===null)return!1;const t=e.getBoundingClientRect(),a=t.top<window.innerHeight&&t.bottom>=0,o=t.left<window.innerWidth&&t.right>=0;return a&&o},aae=e=>{const t=l=>{const h=window.getComputedStyle(l);return["scroll","overlay"].includes(h.overflowY)?!0:h.overflowY!=="auto"?!1:["visible","clip"].includes(h.overflowX)?!0:o(h.maxHeight,l.style.height)||i(l,"height")},a=l=>{const h=window.getComputedStyle(l);return["scroll","overlay"].includes(h.overflowX)?!0:h.overflowX!=="auto"?!1:["visible","clip"].includes(h.overflowY)?!0:o(h.maxWidth,l.style.width)||i(l,"width")},o=(l,h)=>!!(l&&l!=="none"&&l!=="0px"||h&&h!=="auto"&&h!=="0"),i=(l,h)=>{const f=l.parentElement;if(!f)return!1;const y=window.getComputedStyle(f);if(["flex","inline-flex"].includes(y.display)){const k=["column","column-reverse"].includes(y.flexDirection);return h==="height"?k:!k}return["grid","inline-grid"].includes(y.display)};let s=e==null?void 0:e.parentElement;for(;s;){const l=t(s)||a(s);if(window.getComputedStyle(s).display!=="contents"&&l)return s;s=s.parentElement}return null},dU=(e,t)=>{if(!t)return e.filter(s=>ej(s));const a=e.indexOf(t),o=[],i=[];for(let s=a;s>=0;s--){const l=e[s];if(ej(l))o.push(l);else break}for(let s=a+1;s<e.length;s++){const l=e[s];if(ej(l))i.push(l);else break}return[...o.reverse(),...i]},f2=(e,t=1)=>{window.requestAnimationFrame(()=>{t>1?f2(e,t-1):e()})},oae=(e,t=!1)=>{if(typeof window>"u")return null;if(!t){const o=document.getElementById(e);if(o!=null&&o.dataset.page)return JSON.parse(o.dataset.page)}const a=document.querySelector(`script[data-page="${e}"][type="application/json"]`);return a!=null&&a.textContent?JSON.parse(a.textContent):null},d2=typeof window>"u",rae=!d2&&/Firefox/i.test(window.navigator.userAgent),En=class{static save(){et.saveScrollPositions(this.getScrollRegions())}static getScrollRegions(){return Array.from(this.regions()).map(t=>({top:t.scrollTop,left:t.scrollLeft}))}static regions(){return document.querySelectorAll("[scroll-region]")}static scrollToTop(){if(rae&&getComputedStyle(document.documentElement).scrollBehavior==="smooth")return f2(()=>window.scrollTo(0,0),2);window.scrollTo(0,0)}static reset(){(d2?null:window.location.hash)||this.scrollToTop(),this.regions().forEach(a=>{typeof a.scrollTo=="function"?a.scrollTo(0,0):(a.scrollTop=0,a.scrollLeft=0)}),this.save(),this.scrollToAnchor()}static scrollToAnchor(){const t=d2?null:window.location.hash;t&&setTimeout(()=>{const a=document.getElementById(t.slice(1));a?a.scrollIntoView():this.scrollToTop()})}static restore(t){d2||window.requestAnimationFrame(()=>{this.restoreDocument(),this.restoreScrollRegions(t)})}static restoreScrollRegions(t){d2||this.regions().forEach((a,o)=>{const i=t[o];i&&(typeof a.scrollTo=="function"?a.scrollTo(i.left,i.top):(a.scrollTop=i.top,a.scrollLeft=i.left))})}static restoreDocument(){const t=et.getDocumentScrollPosition();window.scrollTo(t.left,t.top)}static onScroll(t){const a=t.target;typeof a.hasAttribute=="function"&&a.hasAttribute("scroll-region")&&this.save()}static onWindowScroll(){et.saveDocumentScrollPosition({top:window.scrollY,left:window.scrollX})}},AP=e=>typeof File<"u"&&e instanceof File||e instanceof Blob||typeof FileList<"u"&&e instanceof FileList&&e.length>0;function qj(e){return AP(e)||e instanceof FormData&&Array.from(e.values()).some(t=>qj(t))||typeof e=="object"&&e!==null&&Object.values(e).some(t=>qj(t))}var Hj=e=>e instanceof FormData;function uU(e,t=new FormData,a=null,o="brackets"){e=e||{};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&pU(t,hU(a,i,"indices"),e[i],o);return t}function hU(e,t,a){return e?a==="brackets"?`${e}[]`:`${e}[${t}]`:t}function pU(e,t,a,o){if(Array.isArray(a))return Array.from(a.keys()).forEach(i=>pU(e,hU(t,i.toString(),o),a[i],o));if(a instanceof Date)return e.append(t,a.toISOString());if(a instanceof File)return e.append(t,a,a.name);if(a instanceof Blob)return e.append(t,a);if(typeof a=="boolean")return e.append(t,a?"1":"0");if(typeof a=="string")return e.append(t,a);if(typeof a=="number")return e.append(t,`${a}`);if(a==null)return e.append(t,"");uU(a,e,t,o)}function la(e){return new URL(e.toString(),typeof window>"u"?void 0:window.location.toString())}var iae=(e,t,a,o,i)=>{let s=typeof e=="string"?la(e):e;if((qj(t)||o)&&!Hj(t)&&(_i.get("form.forceIndicesArrayFormatInFormData")&&(i="indices"),t=uU(t,new FormData,null,i)),Hj(t))return[s,t];const[l,h]=TP(a,s,t,i);return[la(l),h]};function TP(e,t,a,o="brackets"){const i=e==="get"&&!Hj(a)&&Object.keys(a).length>0,s=fU(t.toString()),l=s||t.toString().startsWith("/")||t.toString()==="",h=!l&&!t.toString().startsWith("#")&&!t.toString().startsWith("?"),f=/^[.]{1,2}([/]|$)/.test(t.toString()),y=t.toString().includes("?")||i,k=t.toString().includes("#"),m=new URL(t.toString(),typeof window>"u"?"http://localhost":window.location.toString());if(i){const x=/\[\d+\]/.test(decodeURIComponent(m.search)),S={ignoreQueryPrefix:!0,allowSparse:!0};m.search=qV.stringify({...qV.parse(m.search,S),...a},{encodeValuesOnly:!0,arrayFormat:x?"indices":o})}return[[s?`${m.protocol}//${m.host}`:"",l?m.pathname:"",h?m.pathname.substring(f?0:1):"",y?m.search:"",k?m.hash:""].join(""),i?{}:a]}function UI(e){return e=new URL(e.href),e.hash="",e}var iB=(e,t)=>{e.hash&&!t.hash&&UI(e).href===t.href&&(t.hash=e.hash)},GI=(e,t)=>UI(e).href===UI(t).href,cae=(e,t)=>e.origin===t.origin&&e.pathname===t.pathname;function zr(e){return e!==null&&typeof e=="object"&&e!==void 0&&"url"in e&&"method"in e}function fU(e){return/^([a-z][a-z0-9+.-]*:)?\/\/[^/]/i.test(e)}function sae(e,t){const a=typeof e=="string"?la(e):e;return t?`${a.protocol}//${a.host}${a.pathname}${a.search}${a.hash}`:`${a.pathname}${a.search}${a.hash}`}var lae=class{constructor(){this.componentId={},this.listeners=[],this.isFirstPageLoad=!0,this.cleared=!1,this.pendingDeferredProps=null,this.historyQuotaExceeded=!1}init({initialPage:e,swapComponent:t,resolveComponent:a,onFlash:o}){return this.page={...e,flash:e.flash??{}},this.swapComponent=t,this.resolveComponent=a,this.onFlashCallback=o,or.on("historyQuotaExceeded",()=>{this.historyQuotaExceeded=!0}),this}set(e,{replace:t=!1,preserveScroll:a=!1,preserveState:o=!1,viewTransition:i=!1}={}){Object.keys(e.deferredProps||{}).length&&(this.pendingDeferredProps={deferredProps:e.deferredProps,component:e.component,url:e.url},e.initialDeferredProps===void 0&&(e.initialDeferredProps=e.deferredProps)),this.componentId={};const s=this.componentId;return e.clearHistory&&et.clear(),this.resolve(e.component).then(l=>{if(s!==this.componentId)return;e.rememberedState??(e.rememberedState={});const h=typeof window>"u",f=h?new URL(e.url):window.location,y=!h&&a?En.getScrollRegions():[];t=t||GI(la(e.url),f);const k={...e,flash:{}};return new Promise(m=>t?et.replaceState(k,m):et.pushState(k,m)).then(()=>{const m=!this.isTheSame(e);if(!m&&Object.keys(e.props.errors||{}).length>0&&(i=!1),this.page=e,this.cleared=!1,this.hasOnceProps()&&ar.updateCachedOncePropsFromCurrentPage(),m&&this.fireEventsFor("newComponent"),this.isFirstPageLoad&&this.fireEventsFor("firstLoad"),this.isFirstPageLoad=!1,this.historyQuotaExceeded){this.historyQuotaExceeded=!1;return}return this.swap({component:l,page:e,preserveState:o,viewTransition:i}).then(()=>{a?window.requestAnimationFrame(()=>En.restoreScrollRegions(y)):En.reset(),this.pendingDeferredProps&&this.pendingDeferredProps.component===e.component&&this.pendingDeferredProps.url===e.url&&or.fireInternalEvent("loadDeferredProps",this.pendingDeferredProps.deferredProps),this.pendingDeferredProps=null,t||p2(e)})})})}setQuietly(e,{preserveState:t=!1}={}){return this.resolve(e.component).then(a=>(this.page=e,this.cleared=!1,et.setCurrent(e),this.swap({component:a,page:e,preserveState:t,viewTransition:!1})))}clear(){this.cleared=!0}isCleared(){return this.cleared}get(){return this.page}getWithoutFlashData(){return{...this.page,flash:{}}}hasOnceProps(){return Object.keys(this.page.onceProps??{}).length>0}merge(e){this.page={...this.page,...e}}setFlash(e){var t;this.page={...this.page,flash:e},(t=this.onFlashCallback)==null||t.call(this,e)}setUrlHash(e){this.page.url.includes(e)||(this.page.url+=e)}remember(e){this.page.rememberedState=e}swap({component:e,page:t,preserveState:a,viewTransition:o}){const i=()=>this.swapComponent({component:e,page:t,preserveState:a});if(!o||!(document!=null&&document.startViewTransition))return i();const s=typeof o=="boolean"?()=>null:o;return new Promise(l=>{const h=document.startViewTransition(()=>i().then(l));s(h)})}resolve(e){return Promise.resolve(this.resolveComponent(e))}isTheSame(e){return this.page.component===e.component}on(e,t){return this.listeners.push({event:e,callback:t}),()=>{this.listeners=this.listeners.filter(a=>a.event!==e&&a.callback!==t)}}fireEventsFor(e){this.listeners.filter(t=>t.event===e).forEach(t=>t.callback())}mergeOncePropsIntoResponse(e,{force:t=!1}={}){Object.entries(e.onceProps??{}).forEach(([a,o])=>{var s;const i=(s=this.page.onceProps)==null?void 0:s[a];i!==void 0&&(t||e.props[o.prop]===void 0)&&(e.props[o.prop]=this.page.props[i.prop],e.onceProps[a].expiresAt=i.expiresAt)})}},be=new lae,vA=class{constructor(){this.items=[],this.processingPromise=null}add(e){return this.items.push(e),this.process()}process(){return this.processingPromise??(this.processingPromise=this.processNext().finally(()=>{this.processingPromise=null})),this.processingPromise}processNext(){const e=this.items.shift();return e?Promise.resolve(e()).then(()=>this.processNext()):Promise.resolve()}},Dd=typeof window>"u",n2=new vA,cB=!Dd&&/CriOS/.test(window.navigator.userAgent),dae=class{constructor(){this.rememberedState="rememberedState",this.scrollRegions="scrollRegions",this.preserveUrl=!1,this.current={},this.initialState=null}remember(t,a){var o;this.replaceState({...be.getWithoutFlashData(),rememberedState:{...((o=be.get())==null?void 0:o.rememberedState)??{},[a]:t}})}restore(t){var a,o,i,s;if(!Dd)return((a=this.current[this.rememberedState])==null?void 0:a[t])!==void 0?(o=this.current[this.rememberedState])==null?void 0:o[t]:(s=(i=this.initialState)==null?void 0:i[this.rememberedState])==null?void 0:s[t]}pushState(t,a=null){if(!Dd){if(this.preserveUrl){a&&a();return}this.current=t,n2.add(()=>this.getPageData(t).then(o=>{const i=()=>this.doPushState({page:o},t.url).then(()=>a==null?void 0:a());return cB?new Promise(s=>{setTimeout(()=>i().then(s))}):i()}))}}clonePageProps(t){try{return structuredClone(t.props),t}catch{return{...t,props:ga(t.props)}}}getPageData(t){const a=this.clonePageProps(t);return new Promise(o=>t.encryptHistory?Wne(a).then(o):o(a))}processQueue(){return n2.process()}decrypt(t=null){var o;if(Dd)return Promise.resolve(t??be.get());const a=t??((o=window.history.state)==null?void 0:o.page);return this.decryptPageData(a).then(i=>{if(!i)throw new Error("Unable to decrypt history");return this.initialState===null?this.initialState=i??void 0:this.current=i??{},i})}decryptPageData(t){return t instanceof ArrayBuffer?Zne(t):Promise.resolve(t)}saveScrollPositions(t){n2.add(()=>Promise.resolve().then(()=>{var a;if((a=window.history.state)!=null&&a.page&&!Mi(this.getScrollRegions(),t))return this.doReplaceState({page:window.history.state.page,scrollRegions:t})}))}saveDocumentScrollPosition(t){n2.add(()=>Promise.resolve().then(()=>{var a;if((a=window.history.state)!=null&&a.page&&!Mi(this.getDocumentScrollPosition(),t))return this.doReplaceState({page:window.history.state.page,documentScrollPosition:t})}))}getScrollRegions(){var t;return((t=window.history.state)==null?void 0:t.scrollRegions)||[]}getDocumentScrollPosition(){var t;return((t=window.history.state)==null?void 0:t.documentScrollPosition)||{top:0,left:0}}replaceState(t,a=null){if(Mi(this.current,t)){a&&a();return}const{flash:o,...i}=t;if(be.merge(i),!Dd){if(this.preserveUrl){a&&a();return}this.current=t,n2.add(()=>this.getPageData(t).then(s=>{const l=()=>this.doReplaceState({page:s},t.url).then(()=>a==null?void 0:a());return cB?new Promise(h=>{setTimeout(()=>l().then(h))}):l()}))}}isHistoryThrottleError(t){return t instanceof Error&&t.name==="SecurityError"&&(t.message.includes("history.pushState")||t.message.includes("history.replaceState"))}isQuotaExceededError(t){return t instanceof Error&&t.name==="QuotaExceededError"}withThrottleProtection(t){return Promise.resolve().then(()=>{try{return t()}catch(a){if(!this.isHistoryThrottleError(a))throw a;console.error(a.message)}})}doReplaceState(t,a){return this.withThrottleProtection(()=>{var o,i;window.history.replaceState({...t,scrollRegions:t.scrollRegions??((o=window.history.state)==null?void 0:o.scrollRegions),documentScrollPosition:t.documentScrollPosition??((i=window.history.state)==null?void 0:i.documentScrollPosition)},"",a)})}doPushState(t,a){return this.withThrottleProtection(()=>{try{window.history.pushState(t,"",a)}catch(o){if(!this.isQuotaExceededError(o))throw o;or.fireInternalEvent("historyQuotaExceeded",a)}})}getState(t,a){var o;return((o=this.current)==null?void 0:o[t])??a}deleteState(t){this.current[t]!==void 0&&(delete this.current[t],this.replaceState(this.current))}clearInitialState(t){this.initialState&&this.initialState[t]!==void 0&&delete this.initialState[t]}browserHasHistoryEntry(){var t;return!Dd&&!!((t=window.history.state)!=null&&t.page)}clear(){Mn.remove(Ud.key),Mn.remove(Ud.iv)}setCurrent(t){this.current=t}isValidState(t){return!!t.page}getAllState(){return this.current}};typeof window<"u"&&window.history.scrollRestoration&&(window.history.scrollRestoration="manual");var et=new dae,uae=class{constructor(){this.internalListeners=[]}init(){typeof window<"u"&&(window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),window.addEventListener("pageshow",this.handlePageshowEvent.bind(this)),window.addEventListener("scroll",x2(En.onWindowScroll.bind(En),100),!0)),typeof document<"u"&&document.addEventListener("scroll",x2(En.onScroll.bind(En),100),!0)}onGlobalEvent(e,t){const a=(o=>{const i=t(o);o.cancelable&&!o.defaultPrevented&&i===!1&&o.preventDefault()});return this.registerListener(`inertia:${e}`,a)}on(e,t){return this.internalListeners.push({event:e,listener:t}),()=>{this.internalListeners=this.internalListeners.filter(a=>a.listener!==t)}}onMissingHistoryItem(){be.clear(),this.fireInternalEvent("missingHistoryItem")}fireInternalEvent(e,...t){this.internalListeners.filter(a=>a.event===e).forEach(a=>a.listener(...t))}registerListener(e,t){return document.addEventListener(e,t),()=>document.removeEventListener(e,t)}handlePageshowEvent(e){e.persisted&&et.decrypt().catch(()=>this.onMissingHistoryItem())}handlePopstateEvent(e){const t=e.state||null;if(t===null){const a=la(be.get().url);a.hash=window.location.hash,et.replaceState({...be.getWithoutFlashData(),url:a.href}),En.reset();return}if(!et.isValidState(t))return this.onMissingHistoryItem();et.decrypt(t.page).then(a=>{if(be.get().version!==a.version){this.onMissingHistoryItem();return}ut.cancelAll({prefetch:!1}),be.setQuietly(a,{preserveState:!1}).then(()=>{En.restore(et.getScrollRegions()),p2(be.get());const o={},i=be.get().props;for(const[s,l]of Object.entries(a.initialDeferredProps??a.deferredProps??{})){const h=l.filter(f=>i[f]===void 0);h.length>0&&(o[s]=h)}Object.keys(o).length>0&&this.fireInternalEvent("loadDeferredProps",o)})}).catch(()=>{this.onMissingHistoryItem()})}},or=new uae,hae=class{constructor(){this.type=this.resolveType()}resolveType(){return typeof window>"u"?"navigate":window.performance&&window.performance.getEntriesByType&&window.performance.getEntriesByType("navigation").length>0?window.performance.getEntriesByType("navigation")[0].type:"navigate"}get(){return this.type}isBackForward(){return this.type==="back_forward"}isReload(){return this.type==="reload"}},tj=new hae,pae=class{static handle(){this.clearRememberedStateOnReload(),[this.handleBackForward,this.handleLocation,this.handleDefault].find(t=>t.bind(this)())}static clearRememberedStateOnReload(){tj.isReload()&&(et.deleteState(et.rememberedState),et.clearInitialState(et.rememberedState))}static handleBackForward(){if(!tj.isBackForward()||!et.browserHasHistoryEntry())return!1;const e=et.getScrollRegions();return et.decrypt().then(t=>{be.set(t,{preserveScroll:!0,preserveState:!0}).then(()=>{En.restore(e),p2(be.get())})}).catch(()=>{or.onMissingHistoryItem()}),!0}static handleLocation(){if(!Mn.exists(Mn.locationVisitKey))return!1;const e=Mn.get(Mn.locationVisitKey)||{};return Mn.remove(Mn.locationVisitKey),typeof window<"u"&&be.setUrlHash(window.location.hash),et.decrypt(be.get()).then(()=>{const t=et.getState(et.rememberedState,{}),a=et.getScrollRegions();be.remember(t),be.set(be.get(),{preserveScroll:e.preserveScroll,preserveState:!0}).then(()=>{e.preserveScroll&&En.restore(a),p2(be.get())})}).catch(()=>{or.onMissingHistoryItem()}),!0}static handleDefault(){typeof window<"u"&&be.setUrlHash(window.location.hash),be.set(be.get(),{preserveScroll:!0,preserveState:!0}).then(()=>{tj.isReload()?En.restore(et.getScrollRegions()):En.scrollToAnchor();const e=be.get();p2(e);const t=e.flash;Object.keys(t).length>0&&queueMicrotask(()=>FI(t))})}},fae=class{constructor(e,t,a){this.id=null,this.throttle=!1,this.keepAlive=!1,this.cbCount=0,this.keepAlive=a.keepAlive??!1,this.cb=t,this.interval=e,(a.autoStart??!0)&&this.start()}stop(){this.id&&clearInterval(this.id)}start(){typeof window>"u"||(this.stop(),this.id=window.setInterval(()=>{(!this.throttle||this.cbCount%10===0)&&this.cb(),this.throttle&&this.cbCount++},this.interval))}isInBackground(e){this.throttle=this.keepAlive?!1:e,this.throttle&&(this.cbCount=0)}},yae=class{constructor(){this.polls=[],this.setupVisibilityListener()}add(e,t,a){const o=new fae(e,t,a);return this.polls.push(o),{stop:()=>o.stop(),start:()=>o.start()}}clear(){this.polls.forEach(e=>e.stop()),this.polls=[]}setupVisibilityListener(){typeof document>"u"||document.addEventListener("visibilitychange",()=>{this.polls.forEach(e=>e.isInBackground(document.hidden))},!1)}},mae=new yae,Vj=class Ih{constructor(t){if(this.callbacks=[],!t.prefetch)this.params=t;else{const a={onBefore:this.wrapCallback(t,"onBefore"),onBeforeUpdate:this.wrapCallback(t,"onBeforeUpdate"),onStart:this.wrapCallback(t,"onStart"),onProgress:this.wrapCallback(t,"onProgress"),onFinish:this.wrapCallback(t,"onFinish"),onCancel:this.wrapCallback(t,"onCancel"),onSuccess:this.wrapCallback(t,"onSuccess"),onError:this.wrapCallback(t,"onError"),onFlash:this.wrapCallback(t,"onFlash"),onCancelToken:this.wrapCallback(t,"onCancelToken"),onPrefetched:this.wrapCallback(t,"onPrefetched"),onPrefetching:this.wrapCallback(t,"onPrefetching")};this.params={...t,...a,onPrefetchResponse:t.onPrefetchResponse||(()=>{}),onPrefetchError:t.onPrefetchError||(()=>{})}}}static create(t){return new Ih(t)}data(){return this.params.method==="get"?null:this.params.data}queryParams(){return this.params.method==="get"?this.params.data:{}}isPartial(){return this.params.only.length>0||this.params.except.length>0||this.params.reset.length>0}isPrefetch(){return this.params.prefetch===!0}isDeferredPropsRequest(){return this.params.deferredProps===!0}onCancelToken(t){this.params.onCancelToken({cancel:t})}markAsFinished(){this.params.completed=!0,this.params.cancelled=!1,this.params.interrupted=!1}markAsCancelled({cancelled:t=!0,interrupted:a=!1}){this.params.onCancel(),this.params.completed=!1,this.params.cancelled=t,this.params.interrupted=a}wasCancelledAtAll(){return this.params.cancelled||this.params.interrupted}onFinish(){this.params.onFinish(this.params)}onStart(){this.params.onStart(this.params)}onPrefetching(){this.params.onPrefetching(this.params)}onPrefetchResponse(t){this.params.onPrefetchResponse&&this.params.onPrefetchResponse(t)}onPrefetchError(t){this.params.onPrefetchError&&this.params.onPrefetchError(t)}all(){return this.params}headers(){const t={...this.params.headers};this.isPartial()&&(t["X-Inertia-Partial-Component"]=be.get().component);const a=this.params.only.concat(this.params.reset);return a.length>0&&(t["X-Inertia-Partial-Data"]=a.join(",")),this.params.except.length>0&&(t["X-Inertia-Partial-Except"]=this.params.except.join(",")),this.params.reset.length>0&&(t["X-Inertia-Reset"]=this.params.reset.join(",")),this.params.errorBag&&this.params.errorBag.length>0&&(t["X-Inertia-Error-Bag"]=this.params.errorBag),t}setPreserveOptions(t){this.params.preserveScroll=Ih.resolvePreserveOption(this.params.preserveScroll,t),this.params.preserveState=Ih.resolvePreserveOption(this.params.preserveState,t)}runCallbacks(){this.callbacks.forEach(({name:t,args:a})=>{this.params[t](...a)})}merge(t){this.params={...this.params,...t}}wrapCallback(t,a){return(...o)=>{this.recordCallback(a,o),t[a](...o)}}recordCallback(t,a){this.callbacks.push({name:t,args:a})}static resolvePreserveOption(t,a){return typeof t=="function"?t(a):t==="errors"?Object.keys(a.props.errors||{}).length>0:t}},yU={modal:null,listener:null,createIframeAndPage(e){typeof e=="object"&&(e=`All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.<hr>${JSON.stringify(e)}`);const t=document.createElement("html");t.innerHTML=e,t.querySelectorAll("a").forEach(o=>o.setAttribute("target","_top"));const a=document.createElement("iframe");return a.style.backgroundColor="white",a.style.borderRadius="5px",a.style.width="100%",a.style.height="100%",{iframe:a,page:t}},show(e){const{iframe:t,page:a}=this.createIframeAndPage(e);if(this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",()=>this.hide()),this.modal.appendChild(t),document.body.prepend(this.modal),document.body.style.overflow="hidden",!t.contentWindow)throw new Error("iframe not yet ready.");t.contentWindow.document.open(),t.contentWindow.document.write(a.outerHTML),t.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape(e){e.keyCode===27&&this.hide()}},vae={show(e){const{iframe:t,page:a}=yU.createIframeAndPage(e);t.style.boxSizing="border-box",t.style.display="block";const o=document.createElement("dialog");o.id="inertia-error-dialog",Object.assign(o.style,{width:"calc(100vw - 100px)",height:"calc(100vh - 100px)",padding:"0",margin:"auto",border:"none",backgroundColor:"transparent"});const i=document.createElement("style");if(i.textContent=`
19
19
  dialog#inertia-error-dialog::backdrop {
20
20
  background-color: rgba(0, 0, 0, 0.6);
21
21
  }
@@ -23,7 +23,7 @@ import{a as see,c as GH,b as xa,s as Ma,d as ga,i as Mi,h as SF,m as $j,e as lee
23
23
  dialog#inertia-error-dialog:focus {
24
24
  outline: none;
25
25
  }
26
- `,document.head.appendChild(i),o.addEventListener("click",s=>{s.target===o&&o.close()}),o.addEventListener("close",()=>{i.remove(),o.remove()}),o.appendChild(t),document.body.prepend(o),o.showModal(),o.focus(),!t.contentWindow)throw new Error("iframe not yet ready.");t.contentWindow.document.open(),t.contentWindow.document.write(a.outerHTML),t.contentWindow.document.close()}},kae=new vA,sB=class mU{constructor(t,a,o){this.requestParams=t,this.response=a,this.originatingPage=o,this.wasPrefetched=!1}static create(t,a,o){return new mU(t,a,o)}async handlePrefetch(){GI(this.requestParams.all().url,window.location)&&this.handle()}async handle(){return kae.add(()=>this.process())}async process(){if(this.requestParams.all().prefetch)return this.wasPrefetched=!0,this.requestParams.all().prefetch=!1,this.requestParams.all().onPrefetched(this.response,this.requestParams.all()),Une(this.response,this.requestParams.all()),Promise.resolve();if(this.requestParams.runCallbacks(),!this.isInertiaResponse())return this.handleNonInertiaResponse();await et.processQueue(),et.preserveUrl=this.requestParams.all().preserveUrl;const t=be.get().flash;await this.setPage();const a=be.get().props.errors||{};if(Object.keys(a).length>0){const i=this.getScopedErrors(a);return One(i),this.requestParams.all().onError(i)}ut.flushByCacheTags(this.requestParams.all().invalidateCacheTags||[]),this.wasPrefetched||ut.flush(be.get().url);const{flash:o}=be.get();Object.keys(o).length>0&&(!this.requestParams.isPartial()||!Mi(o,t))&&(FI(o),this.requestParams.all().onFlash(o)),Fne(be.get()),await this.requestParams.all().onSuccess(be.get()),et.preserveUrl=!1}mergeParams(t){this.requestParams.merge(t)}getPageResponse(){const t=this.getDataFromResponse(this.response.data);return typeof t=="object"?this.response.data={...t,flash:t.flash??{}}:this.response.data=t}async handleNonInertiaResponse(){if(this.isLocationVisit()){const a=la(this.getHeader("x-inertia-location"));return iB(this.requestParams.all().url,a),this.locationVisit(a)}const t={...this.response,data:this.getDataFromResponse(this.response.data)};if(qne(t))return _i.get("future.useDialogForErrorModal")?vae.show(t.data):yU.show(t.data)}isInertiaResponse(){return this.hasHeader("x-inertia")}hasStatus(t){return this.response.status===t}getHeader(t){return this.response.headers[t]}hasHeader(t){return this.getHeader(t)!==void 0}isLocationVisit(){return this.hasStatus(409)&&this.hasHeader("x-inertia-location")}locationVisit(t){try{if(Mn.set(Mn.locationVisitKey,{preserveScroll:this.requestParams.all().preserveScroll===!0}),typeof window>"u")return;GI(window.location,t)?window.location.reload():window.location.href=t.href}catch{return!1}}async setPage(){const t=this.getPageResponse();return this.shouldSetPage(t)?(this.mergeProps(t),be.mergeOncePropsIntoResponse(t),this.preserveEqualProps(t),await this.setRememberedState(t),this.requestParams.setPreserveOptions(t),t.url=et.preserveUrl?be.get().url:this.pageUrl(t),this.requestParams.all().onBeforeUpdate(t),Hne(t),be.set(t,{replace:this.requestParams.all().replace,preserveScroll:this.requestParams.all().preserveScroll,preserveState:this.requestParams.all().preserveState,viewTransition:this.requestParams.all().viewTransition})):Promise.resolve()}getDataFromResponse(t){if(typeof t!="string")return t;try{return JSON.parse(t)}catch{return t}}shouldSetPage(t){if(!this.requestParams.all().async||this.originatingPage.component!==t.component)return!0;if(this.originatingPage.component!==be.get().component)return!1;const a=la(this.originatingPage.url),o=la(be.get().url);return a.origin===o.origin&&a.pathname===o.pathname}pageUrl(t){const a=la(t.url);return iB(this.requestParams.all().url,a),a.pathname+a.search+a.hash}preserveEqualProps(t){if(t.component!==be.get().component||_i.get("future.preserveEqualProps")!==!0)return;const a=be.get().props;Object.entries(t.props).forEach(([o,i])=>{Mi(i,a[o])&&(t.props[o]=a[o])})}mergeProps(t){if(!this.requestParams.isPartial()||t.component!==be.get().component)return;const a=t.mergeProps||[],o=t.prependProps||[],i=t.deepMergeProps||[],s=t.matchPropsOn||[],l=(f,y)=>{const k=xa(be.get().props,f),m=xa(t.props,f);if(Array.isArray(m)){const x=this.mergeOrMatchItems(k||[],m,f,s,y);Ma(t.props,f,x)}else if(typeof m=="object"&&m!==null){const x={...k||{},...m};Ma(t.props,f,x)}};if(a.forEach(f=>l(f,!0)),o.forEach(f=>l(f,!1)),i.forEach(f=>{const y=be.get().props[f],k=t.props[f],m=(x,S,b)=>Array.isArray(S)?this.mergeOrMatchItems(x,S,b,s):typeof S=="object"&&S!==null?Object.keys(S).reduce((w,_)=>(w[_]=m(x?x[_]:void 0,S[_],`${b}.${_}`),w),{...x}):S;t.props[f]=m(y,k,f)}),t.props={...be.get().props,...t.props},this.requestParams.isDeferredPropsRequest()){const f=be.get().props.errors;f&&Object.keys(f).length>0&&(t.props.errors=f)}be.get().scrollProps&&(t.scrollProps={...be.get().scrollProps||{},...t.scrollProps||{}}),be.hasOnceProps()&&(t.onceProps={...be.get().onceProps||{},...t.onceProps||{}}),t.flash={...be.get().flash,...this.requestParams.isDeferredPropsRequest()?{}:t.flash};const h=be.get().initialDeferredProps;h&&Object.keys(h).length>0&&(t.initialDeferredProps=h)}mergeOrMatchItems(t,a,o,i,s=!0){const l=Array.isArray(t)?t:[],h=i.find(k=>k.split(".").slice(0,-1).join(".")===o);if(!h)return s?[...l,...a]:[...a,...l];const f=h.split(".").pop()||"",y=new Map;return a.forEach(k=>{this.hasUniqueProperty(k,f)&&y.set(k[f],k)}),s?this.appendWithMatching(l,a,y,f):this.prependWithMatching(l,a,y,f)}appendWithMatching(t,a,o,i){const s=t.map(h=>this.hasUniqueProperty(h,i)&&o.has(h[i])?o.get(h[i]):h),l=a.filter(h=>this.hasUniqueProperty(h,i)?!t.some(f=>this.hasUniqueProperty(f,i)&&f[i]===h[i]):!0);return[...s,...l]}prependWithMatching(t,a,o,i){const s=t.filter(l=>this.hasUniqueProperty(l,i)?!o.has(l[i]):!0);return[...a,...s]}hasUniqueProperty(t,a){return t&&typeof t=="object"&&a in t}async setRememberedState(t){const a=await et.getState(et.rememberedState,{});this.requestParams.all().preserveState&&a&&t.component===be.get().component&&(t.rememberedState=a)}getScopedErrors(t){return this.requestParams.all().errorBag?t[this.requestParams.all().errorBag||""]||{}:t}},lB=class vU{constructor(t,a){this.page=a,this.requestHasFinished=!1,this.requestParams=Hj.create(t),this.cancelToken=new AbortController}static create(t,a){return new vU(t,a)}isPrefetch(){return this.requestParams.isPrefetch()}async send(){this.requestParams.onCancelToken(()=>this.cancel({cancelled:!0})),Bne(this.requestParams.all()),this.requestParams.onStart(),this.requestParams.all().prefetch&&(this.requestParams.onPrefetching(),Gne(this.requestParams.all()));const t=this.requestParams.all().prefetch;return Nt({method:this.requestParams.all().method,url:UI(this.requestParams.all().url).href,data:this.requestParams.data(),params:this.requestParams.queryParams(),signal:this.cancelToken.signal,headers:this.getHeaders(),onUploadProgress:this.onProgress.bind(this),responseType:"text"}).then(a=>(this.response=sB.create(this.requestParams,a,this.page),this.response.handle())).catch(a=>a!=null&&a.response?(this.response=sB.create(this.requestParams,a.response,this.page),this.response.handle()):Promise.reject(a)).catch(a=>{if(!Nt.isCancel(a)&&Dne(a))return t&&this.requestParams.onPrefetchError(a),Promise.reject(a)}).finally(()=>{this.finish(),t&&this.response&&this.requestParams.onPrefetchResponse(this.response)})}finish(){this.requestParams.wasCancelledAtAll()||(this.requestParams.markAsFinished(),this.fireFinishEvents())}fireFinishEvents(){this.requestHasFinished||(this.requestHasFinished=!0,zne(this.requestParams.all()),this.requestParams.onFinish())}cancel({cancelled:t=!1,interrupted:a=!1}){this.requestHasFinished||(this.cancelToken.abort(),this.requestParams.markAsCancelled({cancelled:t,interrupted:a}),this.fireFinishEvents())}onProgress(t){this.requestParams.data()instanceof FormData&&(t.percentage=t.progress?Math.round(t.progress*100):0,Vne(t),this.requestParams.all().onProgress(t))}getHeaders(){const t={...this.requestParams.headers(),Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0},a=be.get();a.version&&(t["X-Inertia-Version"]=a.version);const o=Object.entries(a.onceProps||{}).filter(([,i])=>a.props[i.prop]===void 0?!1:!i.expiresAt||i.expiresAt>Date.now()).map(([i])=>i);return o.length>0&&(t["X-Inertia-Except-Once-Props"]=o.join(",")),t}},dB=class{constructor({maxConcurrent:e,interruptible:t}){this.requests=[],this.maxConcurrent=e,this.interruptible=t}send(e){this.requests.push(e),e.send().then(()=>{this.requests=this.requests.filter(t=>t!==e)})}interruptInFlight(){this.cancel({interrupted:!0},!1)}cancelInFlight({prefetch:e=!0}={}){this.requests.filter(t=>e||!t.isPrefetch()).forEach(t=>t.cancel({cancelled:!0}))}cancel({cancelled:e=!1,interrupted:t=!1}={},a=!1){if(!a&&!this.shouldCancel())return;const o=this.requests.shift();o==null||o.cancel({cancelled:e,interrupted:t})}shouldCancel(){return this.interruptible&&this.requests.length>=this.maxConcurrent}},gae=class{constructor(){this.syncRequestStream=new dB({maxConcurrent:1,interruptible:!0}),this.asyncRequestStream=new dB({maxConcurrent:1/0,interruptible:!1}),this.clientVisitQueue=new vA}init({initialPage:t,resolveComponent:a,swapComponent:o,onFlash:i}){be.init({initialPage:t,resolveComponent:a,swapComponent:o,onFlash:i}),pae.handle(),or.init(),or.on("missingHistoryItem",()=>{typeof window<"u"&&this.visit(window.location.href,{preserveState:!0,preserveScroll:!0,replace:!0})}),or.on("loadDeferredProps",s=>{this.loadDeferredProps(s)}),or.on("historyQuotaExceeded",s=>{window.location.href=s})}get(t,a={},o={}){return this.visit(t,{...o,method:"get",data:a})}post(t,a={},o={}){return this.visit(t,{preserveState:!0,...o,method:"post",data:a})}put(t,a={},o={}){return this.visit(t,{preserveState:!0,...o,method:"put",data:a})}patch(t,a={},o={}){return this.visit(t,{preserveState:!0,...o,method:"patch",data:a})}delete(t,a={}){return this.visit(t,{preserveState:!0,...a,method:"delete"})}reload(t={}){return this.doReload(t)}doReload(t={}){if(!(typeof window>"u"))return this.visit(window.location.href,{...t,preserveScroll:!0,preserveState:!0,async:!0,headers:{...t.headers||{},"Cache-Control":"no-cache"}})}remember(t,a="default"){et.remember(t,a)}restore(t="default"){return et.restore(t)}on(t,a){return typeof window>"u"?()=>{}:or.onGlobalEvent(t,a)}cancel(){this.syncRequestStream.cancelInFlight()}cancelAll({async:t=!0,prefetch:a=!0,sync:o=!0}={}){t&&this.asyncRequestStream.cancelInFlight({prefetch:a}),o&&this.syncRequestStream.cancelInFlight()}poll(t,a={},o={}){return mae.add(t,()=>this.reload(a),{autoStart:o.autoStart??!0,keepAlive:o.keepAlive??!1})}visit(t,a={}){const o=this.getPendingVisit(t,{...a,showProgress:a.showProgress??!a.async}),i=this.getVisitEvents(a);if(i.onBefore(o)===!1||!oB(o))return;const s=la(be.get().url);(o.only.length>0||o.except.length>0||o.reset.length>0?cae(o.url,s):GI(o.url,s))||this.asyncRequestStream.cancelInFlight({prefetch:!1}),o.async||this.syncRequestStream.interruptInFlight(),!be.isCleared()&&!o.preserveUrl&&En.save();const f={...o,...i},y=ar.get(f);y?(xn.reveal(y.inFlight),ar.use(y,f)):(xn.reveal(!0),(o.async?this.asyncRequestStream:this.syncRequestStream).send(lB.create(f,be.get())))}getCached(t,a={}){return ar.findCached(this.getPrefetchParams(t,a))}flush(t,a={}){ar.remove(this.getPrefetchParams(t,a))}flushAll(){ar.removeAll()}flushByCacheTags(t){ar.removeByTags(Array.isArray(t)?t:[t])}getPrefetching(t,a={}){return ar.findInFlight(this.getPrefetchParams(t,a))}prefetch(t,a={},o={}){if((a.method??(zr(t)?t.method:"get"))!=="get")throw new Error("Prefetch requests must use the GET method");const s=this.getPendingVisit(t,{...a,async:!0,showProgress:!1,prefetch:!0,viewTransition:!1}),l=s.url.origin+s.url.pathname+s.url.search,h=window.location.origin+window.location.pathname+window.location.search;if(l===h)return;const f=this.getVisitEvents(a);if(f.onBefore(s)===!1||!oB(s))return;xn.hide(),this.asyncRequestStream.interruptInFlight();const y={...s,...f};new Promise(m=>{const x=()=>{be.get()?m():setTimeout(x,50)};x()}).then(()=>{ar.add(y,m=>{this.asyncRequestStream.send(lB.create(m,be.get()))},{cacheFor:_i.get("prefetch.cacheFor"),cacheTags:[],...o})})}clearHistory(){et.clear()}decryptHistory(){return et.decrypt()}resolveComponent(t){return be.resolve(t)}replace(t){this.clientVisit(t,{replace:!0})}replaceProp(t,a,o){this.replace({preserveScroll:!0,preserveState:!0,props(i){const s=typeof a=="function"?a(xa(i,t),i):a;return Ma(ga(i),t,s)},...o||{}})}appendToProp(t,a,o){this.replaceProp(t,(i,s)=>{const l=typeof a=="function"?a(i,s):a;return Array.isArray(i)||(i=i!==void 0?[i]:[]),[...i,l]},o)}prependToProp(t,a,o){this.replaceProp(t,(i,s)=>{const l=typeof a=="function"?a(i,s):a;return Array.isArray(i)||(i=i!==void 0?[i]:[]),[l,...i]},o)}push(t){this.clientVisit(t)}flash(t,a){const o=be.get().flash;let i;if(typeof t=="function")i=t(o);else if(typeof t=="string")i={...o,[t]:a};else if(t&&Object.keys(t).length)i={...o,...t};else return;be.setFlash(i),Object.keys(i).length&&FI(i)}clientVisit(t,{replace:a=!1}={}){this.clientVisitQueue.add(()=>this.performClientVisit(t,{replace:a}))}performClientVisit(t,{replace:a=!1}={}){const o=be.get(),i=typeof t.props=="function"?Object.fromEntries(Object.values(o.onceProps??{}).map(_=>[_.prop,o.props[_.prop]])):{},s=typeof t.props=="function"?t.props(o.props,i):t.props??o.props,l=typeof t.flash=="function"?t.flash(o.flash):t.flash,{viewTransition:h,onError:f,onFinish:y,onFlash:k,onSuccess:m,...x}=t,S={...o,...x,flash:l??{},props:s},b=Hj.resolvePreserveOption(t.preserveScroll??!1,S),w=Hj.resolvePreserveOption(t.preserveState??!1,S);return be.set(S,{replace:a,preserveScroll:b,preserveState:w,viewTransition:h}).then(()=>{const _=be.get().flash;Object.keys(_).length>0&&(FI(_),k==null||k(_));const N=be.get().props.errors||{};if(Object.keys(N).length===0){m==null||m(be.get());return}const L=t.errorBag?N[t.errorBag||""]||{}:N;f==null||f(L)}).finally(()=>y==null?void 0:y(t))}getPrefetchParams(t,a){return{...this.getPendingVisit(t,{...a,async:!0,showProgress:!1,prefetch:!0,viewTransition:!1}),...this.getVisitEvents(a)}}getPendingVisit(t,a,o={}){if(zr(t)){const k=t;t=k.url,a.method=a.method??k.method}const i=_i.get("visitOptions"),s=i?i(t.toString(),ga(a))||{}:{},l={method:"get",data:{},replace:!1,preserveScroll:!1,preserveState:!1,only:[],except:[],headers:{},errorBag:"",forceFormData:!1,queryStringArrayFormat:"brackets",async:!1,showProgress:!0,fresh:!1,reset:[],preserveUrl:!1,prefetch:!1,invalidateCacheTags:[],viewTransition:!1,...a,...s},[h,f]=iae(t,l.data,l.method,l.forceFormData,l.queryStringArrayFormat),y={cancelled:!1,completed:!1,interrupted:!1,...l,...o,url:h,data:f};return y.prefetch&&(y.headers.Purpose="prefetch"),y}getVisitEvents(t){return{onCancelToken:t.onCancelToken||(()=>{}),onBefore:t.onBefore||(()=>{}),onBeforeUpdate:t.onBeforeUpdate||(()=>{}),onStart:t.onStart||(()=>{}),onProgress:t.onProgress||(()=>{}),onFinish:t.onFinish||(()=>{}),onCancel:t.onCancel||(()=>{}),onSuccess:t.onSuccess||(()=>{}),onError:t.onError||(()=>{}),onFlash:t.onFlash||(()=>{}),onPrefetched:t.onPrefetched||(()=>{}),onPrefetching:t.onPrefetching||(()=>{})}}loadDeferredProps(t){t&&Object.entries(t).forEach(([a,o])=>{this.doReload({only:o,deferredProps:!0})})}},Ah=class{static createWayfinderCallback(...e){return()=>e.length===1?zr(e[0])?e[0]:e[0]():{method:typeof e[0]=="function"?e[0]():e[0],url:typeof e[1]=="function"?e[1]():e[1]}}static parseUseFormArguments(...e){return e.length===0?{rememberKey:null,data:{},precognitionEndpoint:null}:e.length===1?{rememberKey:null,data:e[0],precognitionEndpoint:null}:e.length===2?typeof e[0]=="string"?{rememberKey:e[0],data:e[1],precognitionEndpoint:null}:{rememberKey:null,data:e[1],precognitionEndpoint:this.createWayfinderCallback(e[0])}:{rememberKey:null,data:e[2],precognitionEndpoint:this.createWayfinderCallback(e[0],e[1])}}static parseSubmitArguments(e,t){return e.length===3||e.length===2&&typeof e[0]=="string"?{method:e[0],url:e[1],options:e[2]??{}}:zr(e[0])?{...e[0],options:e[1]??{}}:{...t(),options:e[0]??{}}}static mergeHeadersForValidation(e,t,a){const o=i=>(i.headers={...a??{},...i.headers??{}},i);return e&&typeof e=="object"&&!("target"in e)?e=o(e):t&&typeof t=="object"?t=o(t):typeof e=="string"?t=o(t??{}):e=o(e??{}),[e,t]}};function Mae(e){if(!e.includes("."))return e;const t=a=>a.startsWith("[")&&a.endsWith("]")?a:a.split(".").reduce((o,i,s)=>s===0?i:`${o}[${i}]`);return e.replace(/\\\./g,"__ESCAPED_DOT__").split(/(\[[^\]]*\])/).filter(Boolean).map(t).join("").replace(/__ESCAPED_DOT__/g,".")}function xae(e){const t=[],a=/([^\[\]]+)|\[(\d*)\]/g;let o;for(;(o=a.exec(e))!==null;)o[1]!==void 0?t.push(o[1]):o[2]!==void 0&&t.push(o[2]===""?"":Number(o[2]));return t}function bae(e,t,a){let o=e;for(let i=0;i<t.length-1;i++)t[i]in o||(o[t[i]]={}),o=o[t[i]];o[t[t.length-1]]=a}function wae(e){const t=Object.keys(e),a=t.filter(o=>/^\d+$/.test(o)).map(Number).sort((o,i)=>o-i);return t.length===a.length&&a.length>0&&a[0]===0&&a.every((o,i)=>o===i)}function Th(e){if(Array.isArray(e))return e.map(Th);if(typeof e!="object"||e===null||IP(e))return e;if(wae(e)){const a=[];for(let o=0;o<Object.keys(e).length;o++)a[o]=Th(e[o]);return a}const t={};for(const a in e)t[a]=Th(e[a]);return t}function uB(e){const t={};for(const[a,o]of e.entries()){if(o instanceof File&&o.size===0&&o.name==="")continue;const i=xae(Mae(a));if(i[i.length-1]===""){const s=i.slice(0,-1),l=xa(t,s);if(Array.isArray(l))l.push(o);else if(l&&typeof l=="object"&&!IP(l)){const h=Object.keys(l).filter(f=>/^\d+$/.test(f)).map(Number).sort((f,y)=>f-y);Ma(t,s,h.length>0?[...h.map(f=>l[f]),o]:[o])}else Ma(t,s,[o]);continue}bae(t,i.map(String),o)}return Th(t)}var tj={preferredAttribute(){return _i.get("future.useDataInertiaHeadAttribute")?"data-inertia":"inertia"},buildDOMElement(e){const t=document.createElement("template");t.innerHTML=e;const a=t.content.firstChild;if(!e.startsWith("<script "))return a;const o=document.createElement("script");return o.innerHTML=a.innerHTML,a.getAttributeNames().forEach(i=>{o.setAttribute(i,a.getAttribute(i)||"")}),o},isInertiaManagedElement(e){return e.nodeType===Node.ELEMENT_NODE&&e.getAttribute(this.preferredAttribute())!==null},findMatchingElementIndex(e,t){const a=this.preferredAttribute(),o=e.getAttribute(a);return o!==null?t.findIndex(i=>i.getAttribute(a)===o):-1},update:x2(function(e){const t=e.map(o=>this.buildDOMElement(o));Array.from(document.head.childNodes).filter(o=>this.isInertiaManagedElement(o)).forEach(o=>{var l,h;const i=this.findMatchingElementIndex(o,t);if(i===-1){(l=o==null?void 0:o.parentNode)==null||l.removeChild(o);return}const s=t.splice(i,1)[0];s&&!o.isEqualNode(s)&&((h=o==null?void 0:o.parentNode)==null||h.replaceChild(s,o))}),t.forEach(o=>document.head.appendChild(o))},1)};function _ae(e,t,a){const o={};let i=0;function s(){const m=i+=1;return o[m]=[],m.toString()}function l(m){m===null||Object.keys(o).indexOf(m)===-1||(delete o[m],k())}function h(m){Object.keys(o).indexOf(m)===-1&&(o[m]=[])}function f(m,x=[]){m!==null&&Object.keys(o).indexOf(m)>-1&&(o[m]=x),k()}function y(){const m=t(""),x=tj.preferredAttribute(),S={...m?{title:`<title ${x}="">${m}</title>`}:{}},b=Object.values(o).reduce((w,_)=>w.concat(_),[]).reduce((w,_)=>{if(_.indexOf("<")===-1)return w;if(_.indexOf("<title ")===0){const L=_.match(/(<title [^>]+>)(.*?)(<\/title>)/);return w.title=L?`${L[1]}${t(L[2])}${L[3]}`:_,w}const N=_.match(x==="inertia"?/ inertia="[^"]+"/:/ data-inertia="[^"]+"/);return N?w[N[0]]=_:w[Object.keys(w).length]=_,w},S);return Object.values(b)}function k(){e?a(y()):tj.update(y())}return k(),{forceUpdate:k,createProvider:function(){const m=s();return{preferredAttribute:tj.preferredAttribute,reconnect:()=>h(m),update:x=>f(m,x),disconnect:()=>l(m)}}}}var Sae="X-Inertia-Infinite-Scroll-Merge-Intent",Cae=e=>{const t=()=>{var L;const N=(L=be.get().scrollProps)==null?void 0:L[e.getPropName()];if(N)return N;throw new Error(`The page object does not contain a scroll prop named "${e.getPropName()}".`)},a={component:null,loading:!1,previousPage:null,nextPage:null,lastLoadedPage:null,requestCount:0},o=()=>{const N=t();a.component=be.get().component,a.loading=!1,a.previousPage=N.previousPage,a.nextPage=N.nextPage,a.lastLoadedPage=N.currentPage,a.requestCount=0},i=()=>`inertia:infinite-scroll-data:${e.getPropName()}`;if(typeof window<"u"){o();const N=ut.restore(i());N&&typeof N=="object"&&N.lastLoadedPage===t().currentPage&&(a.previousPage=N.previousPage,a.nextPage=N.nextPage,a.lastLoadedPage=N.lastLoadedPage,a.requestCount=N.requestCount||0)}const s=ut.on("success",N=>{var L;a.component===N.detail.page.component&&t().reset&&(o(),(L=e.onReset)==null||L.call(e))}),l=N=>N==="next"?"nextPage":"previousPage",h=N=>{const L=l(N);return a[L]},f=N=>{const L=t(),I=l(N);a.lastLoadedPage=L.currentPage,a[I]=L[I],a.requestCount+=1,ut.remember({previousPage:a.previousPage,nextPage:a.nextPage,lastLoadedPage:a.lastLoadedPage,requestCount:a.requestCount},i())},y=()=>t().pageName,k=()=>a.requestCount,m=(N,L={})=>{const I=h(N);a.loading||I===null||(a.loading=!0,ut.reload({...L,data:{[y()]:I},only:[e.getPropName()],preserveUrl:!0,headers:{[Sae]:N==="previous"?"prepend":"append",...L.headers},onBefore:P=>{var D;N==="next"?e.onBeforeNextRequest():e.onBeforePreviousRequest(),(D=L.onBefore)==null||D.call(L,P)},onBeforeUpdate:P=>{var D;e.onBeforeUpdate(),(D=L.onBeforeUpdate)==null||D.call(L,P)},onSuccess:P=>{var D;f(N),(D=L.onSuccess)==null||D.call(L,P)},onFinish:P=>{var D;a.loading=!1,N==="next"?e.onCompleteNextRequest(a.lastLoadedPage):e.onCompletePreviousRequest(a.lastLoadedPage),(D=L.onFinish)==null||D.call(L,P)}}))};return{getLastLoadedPage:()=>a.lastLoadedPage,getPageName:y,getRequestCount:k,hasPrevious:()=>!!a.previousPage,hasNext:()=>!!a.nextPage,fetchNext:N=>m("next",N),fetchPrevious:N=>m("previous",N),removeEventListener:s}},Nae=()=>{const e=[];return{new:(o,i={})=>{const s=new IntersectionObserver(l=>{for(const h of l)h.isIntersecting&&o(h)},i);return e.push(s),s},flushAll:()=>{e.forEach(o=>o.disconnect()),e.length=0}}},Rh="infiniteScrollPage",nj="infiniteScrollIgnore",kU=e=>e.dataset[Rh],Lae=e=>{const t=Nae();let a,o,i,s,l=!1;const h=()=>{s=new MutationObserver(A=>{A.forEach($=>{$.addedNodes.forEach(B=>{B.nodeType===Node.ELEMENT_NODE&&x.add(B)})}),P()}),s.observe(e.getItemsElement(),{childList:!0}),a=t.new(A=>e.onItemIntersected(A.target));const j={root:e.getScrollableParent(),rootMargin:`${Math.max(1,e.getTriggerMargin())}px`};o=t.new(e.onPreviousTriggered,j),i=t.new(e.onNextTriggered,j)},f=()=>{l&&y();const j=e.getStartElement(),A=e.getEndElement();j&&e.shouldFetchPrevious()&&o.observe(j),A&&e.shouldFetchNext()&&i.observe(A),l=!0},y=()=>{l&&(o.disconnect(),i.disconnect(),l=!1)},k=()=>{l&&f()},m=()=>{y(),t.flushAll(),s==null||s.disconnect()},x=new Set,S=j=>!(Rh in j.dataset)&&!(nj in j.dataset),b=()=>{Array.from(x).forEach(j=>{S(j)&&(j.dataset[nj]="true"),a.observe(j)}),x.clear()},w=j=>Array.from(j.querySelectorAll(":scope > *:not([data-infinite-scroll-page]):not([data-infinite-scroll-ignore])"));let _=!1;const N=j=>{!_&&(_=!0,D())||(w(e.getItemsElement()).forEach(A=>{S(A)&&(A.dataset[Rh]=(j==null?void 0:j.toString())||"1"),a.observe(A)}),I())},L=()=>`inertia:infinite-scroll-elements:${e.getPropName()}`,I=()=>{const j={},A=e.getItemsElement().childNodes;for(let $=0;$<A.length;$++){const B=A[$];if(B.nodeType!==Node.ELEMENT_NODE)continue;const Z=kU(B);typeof Z>"u"||(Z in j?j[Z].to=$:j[Z]={from:$,to:$})}ut.remember(j,L())},P=x2(I,250),D=()=>{const j=ut.restore(L());if(!j||typeof j!="object")return!1;const A=e.getItemsElement().childNodes;for(let $=0;$<A.length;$++){const B=A[$];if(B.nodeType!==Node.ELEMENT_NODE)continue;const Z=B;let q;for(const[V,F]of Object.entries(j))if($>=F.from&&$<=F.to){q=V;break}if(q)Z.dataset[Rh]=q;else if(S(Z))Z.dataset[nj]="true";else continue;a.observe(Z)}return!0};return{setupObservers:h,enableTriggers:f,disableTriggers:y,refreshTriggers:k,flushAll:m,processManuallyAddedElements:b,processServerLoadedElements:N}},Eae=new vA,Rd,hi,fh=null,Iae=e=>{let t=!0;const a=i=>{Eae.add(()=>new Promise(s=>{if(!t)return Rd=hi=null,s();if(!Rd||!hi){const f=be.get().url;Rd=la(f),hi=la(f),fh=fU(f)}const l=e.getPageName(),h=hi.searchParams;i==="1"?h.delete(l):h.set(l,i),setTimeout(()=>s())})).finally(()=>{t&&Rd&&hi&&Rd.href!==hi.href&&fh!==null&&ut.replace({url:sae(hi,fh),preserveScroll:!0,preserveState:!0}),Rd=hi=fh=null})};return{onItemIntersected:x2(i=>{var k;const s=e.getItemsElement();if(!t||e.shouldPreserveUrl()||!i||!s)return;const l=new Map,h=[...s.children];dU(h,i).forEach(m=>{const x=kU(m)??"1";l.has(x)?l.set(x,l.get(x)+1):l.set(x,1)});const y=(k=Array.from(l.entries()).sort((m,x)=>x[1]-m[1])[0])==null?void 0:k[0];y!==void 0&&a(y)},250),cancel:()=>t=!1}},Aae=e=>({createCallbacks:()=>{let a,o=null,i=0;return{captureScrollPosition:()=>{const h=e.getScrollableParent(),f=e.getItemsElement();a=(h==null?void 0:h.scrollTop)||window.scrollY;const y=dU([...f.children]);if(y.length>0){o=y[0];const k=(h==null?void 0:h.getBoundingClientRect())||{top:0},m=h?k.top:0;i=o.getBoundingClientRect().top-m}},restoreScrollPosition:()=>{if(!o)return;let h=0,f=!1;const y=()=>{if(h++,f||h>10)return!1;const k=e.getScrollableParent(),m=(k==null?void 0:k.getBoundingClientRect())||{top:0},x=k?m.top:0,w=o.getBoundingClientRect().top-x-i;if(w===0){window.requestAnimationFrame(y);return}k?k.scrollTo({top:a+w}):window.scrollTo(0,window.scrollY+w),f=!0};window.requestAnimationFrame(y)}}}});function Tae(e){const t=Iae({...e,getPageName:()=>i.getPageName()}),a=Aae(e),o=Lae({...e,onItemIntersected:t.onItemIntersected,onPreviousTriggered:()=>i.fetchPrevious(),onNextTriggered:()=>i.fetchNext()}),i=Cae({...e,onBeforeUpdate:o.processManuallyAddedElements,onCompletePreviousRequest:y=>{e.onCompletePreviousRequest(),f2(()=>o.processServerLoadedElements(y),2)},onCompleteNextRequest:y=>{e.onCompleteNextRequest(),f2(()=>o.processServerLoadedElements(y),2)},onReset:e.onDataReset}),s=y=>{const{captureScrollPosition:k,restoreScrollPosition:m}=a.createCallbacks(),x=y.onBeforeUpdate||(()=>{}),S=y.onSuccess||(()=>{});return y.onBeforeUpdate=b=>{x(b),k()},y.onSuccess=b=>{S(b),m()},y},l=i.fetchNext;i.fetchNext=(y={})=>{e.inReverseMode()&&(y=s(y)),l(y)};const h=i.fetchPrevious;i.fetchPrevious=(y={})=>{e.inReverseMode()||(y=s(y)),h(y)};const f=ut.on("success",()=>f2(o.refreshTriggers,2));return{dataManager:i,elementManager:o,flush:()=>{f(),i.removeEventListener(),o.flushAll(),t.cancel()}}}function gU(e){return e.target instanceof HTMLElement&&e.target.isContentEditable||e.defaultPrevented}function yh(e){const t=e.currentTarget.tagName.toLowerCase()==="a";return!(gU(e)||t&&e.altKey||t&&e.ctrlKey||t&&e.metaKey||t&&e.shiftKey||t&&"button"in e&&e.button!==0)}function hB(e){const t=e.currentTarget.tagName.toLowerCase()==="button";return!gU(e)&&(e.key==="Enter"||t&&e.key===" ")}var Xt="nprogress",In,en={minimum:.08,easing:"linear",positionUsing:"translate3d",speed:200,trickle:!0,trickleSpeed:200,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",color:"#29d",includeCSS:!0,template:['<div class="bar" role="bar">','<div class="peg"></div>',"</div>",'<div class="spinner" role="spinner">','<div class="spinner-icon"></div>',"</div>"].join("")},Si=null,Rae=e=>{Object.assign(en,e),en.includeCSS&&zae(en.color),In=document.createElement("div"),In.id=Xt,In.innerHTML=en.template},kA=e=>{const t=MU();e=SU(e,en.minimum,1),Si=e===1?null:e;const a=jae(!t),o=a.querySelector(en.barSelector),i=en.speed,s=en.easing;a.offsetWidth,Dae(l=>{const h=en.positionUsing==="translate3d"?{transition:`all ${i}ms ${s}`,transform:`translate3d(${$h(e)}%,0,0)`}:en.positionUsing==="translate"?{transition:`all ${i}ms ${s}`,transform:`translate(${$h(e)}%,0)`}:{marginLeft:`${$h(e)}%`};for(const f in h)o.style[f]=h[f];if(e!==1)return setTimeout(l,i);a.style.transition="none",a.style.opacity="1",a.offsetWidth,setTimeout(()=>{a.style.transition=`all ${i}ms linear`,a.style.opacity="0",setTimeout(()=>{_U(),a.style.transition="",a.style.opacity="",l()},i)},i)})},MU=()=>typeof Si=="number",xU=()=>{Si||kA(0);const e=function(){setTimeout(function(){Si&&(bU(),e())},en.trickleSpeed)};en.trickle&&e()},$ae=e=>{!e&&!Si||(bU(.3+.5*Math.random()),kA(1))},bU=e=>{const t=Si;if(t===null)return xU();if(!(t>1))return e=typeof e=="number"?e:(()=>{const a={.1:[0,.2],.04:[.2,.5],.02:[.5,.8],.005:[.8,.99]};for(const o in a)if(t>=a[o][0]&&t<a[o][1])return parseFloat(o);return 0})(),kA(SU(t+e,0,.994))},jae=e=>{var i;if(Pae())return document.getElementById(Xt);document.documentElement.classList.add(`${Xt}-busy`);const t=In.querySelector(en.barSelector),a=e?"-100":$h(Si||0),o=wU();return t.style.transition="all 0 linear",t.style.transform=`translate3d(${a}%,0,0)`,en.showSpinner||(i=In.querySelector(en.spinnerSelector))==null||i.remove(),o!==document.body&&o.classList.add(`${Xt}-custom-parent`),o.appendChild(In),In},wU=()=>Oae(en.parent)?en.parent:document.querySelector(en.parent),_U=()=>{document.documentElement.classList.remove(`${Xt}-busy`),wU().classList.remove(`${Xt}-custom-parent`),In==null||In.remove()},Pae=()=>document.getElementById(Xt)!==null,Oae=e=>typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string";function SU(e,t,a){return e<t?t:e>a?a:e}var $h=e=>(-1+e)*100,Dae=(()=>{const e=[],t=()=>{const a=e.shift();a&&a(t)};return a=>{e.push(a),e.length===1&&t()}})(),zae=e=>{const t=document.createElement("style");t.textContent=`
26
+ `,document.head.appendChild(i),o.addEventListener("click",s=>{s.target===o&&o.close()}),o.addEventListener("close",()=>{i.remove(),o.remove()}),o.appendChild(t),document.body.prepend(o),o.showModal(),o.focus(),!t.contentWindow)throw new Error("iframe not yet ready.");t.contentWindow.document.open(),t.contentWindow.document.write(a.outerHTML),t.contentWindow.document.close()}},kae=new vA,sB=class mU{constructor(t,a,o){this.requestParams=t,this.response=a,this.originatingPage=o,this.wasPrefetched=!1}static create(t,a,o){return new mU(t,a,o)}async handlePrefetch(){GI(this.requestParams.all().url,window.location)&&this.handle()}async handle(){return kae.add(()=>this.process())}async process(){if(this.requestParams.all().prefetch)return this.wasPrefetched=!0,this.requestParams.all().prefetch=!1,this.requestParams.all().onPrefetched(this.response,this.requestParams.all()),Une(this.response,this.requestParams.all()),Promise.resolve();if(this.requestParams.runCallbacks(),!this.isInertiaResponse())return this.handleNonInertiaResponse();await et.processQueue(),et.preserveUrl=this.requestParams.all().preserveUrl;const t=be.get().flash;await this.setPage();const a=be.get().props.errors||{};if(Object.keys(a).length>0){const i=this.getScopedErrors(a);return One(i),this.requestParams.all().onError(i)}ut.flushByCacheTags(this.requestParams.all().invalidateCacheTags||[]),this.wasPrefetched||ut.flush(be.get().url);const{flash:o}=be.get();Object.keys(o).length>0&&(!this.requestParams.isPartial()||!Mi(o,t))&&(FI(o),this.requestParams.all().onFlash(o)),Fne(be.get()),await this.requestParams.all().onSuccess(be.get()),et.preserveUrl=!1}mergeParams(t){this.requestParams.merge(t)}getPageResponse(){const t=this.getDataFromResponse(this.response.data);return typeof t=="object"?this.response.data={...t,flash:t.flash??{}}:this.response.data=t}async handleNonInertiaResponse(){if(this.isLocationVisit()){const a=la(this.getHeader("x-inertia-location"));return iB(this.requestParams.all().url,a),this.locationVisit(a)}const t={...this.response,data:this.getDataFromResponse(this.response.data)};if(qne(t))return _i.get("future.useDialogForErrorModal")?vae.show(t.data):yU.show(t.data)}isInertiaResponse(){return this.hasHeader("x-inertia")}hasStatus(t){return this.response.status===t}getHeader(t){return this.response.headers[t]}hasHeader(t){return this.getHeader(t)!==void 0}isLocationVisit(){return this.hasStatus(409)&&this.hasHeader("x-inertia-location")}locationVisit(t){try{if(Mn.set(Mn.locationVisitKey,{preserveScroll:this.requestParams.all().preserveScroll===!0}),typeof window>"u")return;GI(window.location,t)?window.location.reload():window.location.href=t.href}catch{return!1}}async setPage(){const t=this.getPageResponse();return this.shouldSetPage(t)?(this.mergeProps(t),be.mergeOncePropsIntoResponse(t),this.preserveEqualProps(t),await this.setRememberedState(t),this.requestParams.setPreserveOptions(t),t.url=et.preserveUrl?be.get().url:this.pageUrl(t),this.requestParams.all().onBeforeUpdate(t),Hne(t),be.set(t,{replace:this.requestParams.all().replace,preserveScroll:this.requestParams.all().preserveScroll,preserveState:this.requestParams.all().preserveState,viewTransition:this.requestParams.all().viewTransition})):Promise.resolve()}getDataFromResponse(t){if(typeof t!="string")return t;try{return JSON.parse(t)}catch{return t}}shouldSetPage(t){if(!this.requestParams.all().async||this.originatingPage.component!==t.component)return!0;if(this.originatingPage.component!==be.get().component)return!1;const a=la(this.originatingPage.url),o=la(be.get().url);return a.origin===o.origin&&a.pathname===o.pathname}pageUrl(t){const a=la(t.url);return iB(this.requestParams.all().url,a),a.pathname+a.search+a.hash}preserveEqualProps(t){if(t.component!==be.get().component||_i.get("future.preserveEqualProps")!==!0)return;const a=be.get().props;Object.entries(t.props).forEach(([o,i])=>{Mi(i,a[o])&&(t.props[o]=a[o])})}mergeProps(t){if(!this.requestParams.isPartial()||t.component!==be.get().component)return;const a=t.mergeProps||[],o=t.prependProps||[],i=t.deepMergeProps||[],s=t.matchPropsOn||[],l=(f,y)=>{const k=xa(be.get().props,f),m=xa(t.props,f);if(Array.isArray(m)){const x=this.mergeOrMatchItems(k||[],m,f,s,y);Ma(t.props,f,x)}else if(typeof m=="object"&&m!==null){const x={...k||{},...m};Ma(t.props,f,x)}};if(a.forEach(f=>l(f,!0)),o.forEach(f=>l(f,!1)),i.forEach(f=>{const y=be.get().props[f],k=t.props[f],m=(x,S,b)=>Array.isArray(S)?this.mergeOrMatchItems(x,S,b,s):typeof S=="object"&&S!==null?Object.keys(S).reduce((w,_)=>(w[_]=m(x?x[_]:void 0,S[_],`${b}.${_}`),w),{...x}):S;t.props[f]=m(y,k,f)}),t.props={...be.get().props,...t.props},this.requestParams.isDeferredPropsRequest()){const f=be.get().props.errors;f&&Object.keys(f).length>0&&(t.props.errors=f)}be.get().scrollProps&&(t.scrollProps={...be.get().scrollProps||{},...t.scrollProps||{}}),be.hasOnceProps()&&(t.onceProps={...be.get().onceProps||{},...t.onceProps||{}}),t.flash={...be.get().flash,...this.requestParams.isDeferredPropsRequest()?{}:t.flash};const h=be.get().initialDeferredProps;h&&Object.keys(h).length>0&&(t.initialDeferredProps=h)}mergeOrMatchItems(t,a,o,i,s=!0){const l=Array.isArray(t)?t:[],h=i.find(k=>k.split(".").slice(0,-1).join(".")===o);if(!h)return s?[...l,...a]:[...a,...l];const f=h.split(".").pop()||"",y=new Map;return a.forEach(k=>{this.hasUniqueProperty(k,f)&&y.set(k[f],k)}),s?this.appendWithMatching(l,a,y,f):this.prependWithMatching(l,a,y,f)}appendWithMatching(t,a,o,i){const s=t.map(h=>this.hasUniqueProperty(h,i)&&o.has(h[i])?o.get(h[i]):h),l=a.filter(h=>this.hasUniqueProperty(h,i)?!t.some(f=>this.hasUniqueProperty(f,i)&&f[i]===h[i]):!0);return[...s,...l]}prependWithMatching(t,a,o,i){const s=t.filter(l=>this.hasUniqueProperty(l,i)?!o.has(l[i]):!0);return[...a,...s]}hasUniqueProperty(t,a){return t&&typeof t=="object"&&a in t}async setRememberedState(t){const a=await et.getState(et.rememberedState,{});this.requestParams.all().preserveState&&a&&t.component===be.get().component&&(t.rememberedState=a)}getScopedErrors(t){return this.requestParams.all().errorBag?t[this.requestParams.all().errorBag||""]||{}:t}},lB=class vU{constructor(t,a){this.page=a,this.requestHasFinished=!1,this.requestParams=Vj.create(t),this.cancelToken=new AbortController}static create(t,a){return new vU(t,a)}isPrefetch(){return this.requestParams.isPrefetch()}async send(){this.requestParams.onCancelToken(()=>this.cancel({cancelled:!0})),Bne(this.requestParams.all()),this.requestParams.onStart(),this.requestParams.all().prefetch&&(this.requestParams.onPrefetching(),Gne(this.requestParams.all()));const t=this.requestParams.all().prefetch;return Nt({method:this.requestParams.all().method,url:UI(this.requestParams.all().url).href,data:this.requestParams.data(),params:this.requestParams.queryParams(),signal:this.cancelToken.signal,headers:this.getHeaders(),onUploadProgress:this.onProgress.bind(this),responseType:"text"}).then(a=>(this.response=sB.create(this.requestParams,a,this.page),this.response.handle())).catch(a=>a!=null&&a.response?(this.response=sB.create(this.requestParams,a.response,this.page),this.response.handle()):Promise.reject(a)).catch(a=>{if(!Nt.isCancel(a)&&Dne(a))return t&&this.requestParams.onPrefetchError(a),Promise.reject(a)}).finally(()=>{this.finish(),t&&this.response&&this.requestParams.onPrefetchResponse(this.response)})}finish(){this.requestParams.wasCancelledAtAll()||(this.requestParams.markAsFinished(),this.fireFinishEvents())}fireFinishEvents(){this.requestHasFinished||(this.requestHasFinished=!0,zne(this.requestParams.all()),this.requestParams.onFinish())}cancel({cancelled:t=!1,interrupted:a=!1}){this.requestHasFinished||(this.cancelToken.abort(),this.requestParams.markAsCancelled({cancelled:t,interrupted:a}),this.fireFinishEvents())}onProgress(t){this.requestParams.data()instanceof FormData&&(t.percentage=t.progress?Math.round(t.progress*100):0,Vne(t),this.requestParams.all().onProgress(t))}getHeaders(){const t={...this.requestParams.headers(),Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0},a=be.get();a.version&&(t["X-Inertia-Version"]=a.version);const o=Object.entries(a.onceProps||{}).filter(([,i])=>a.props[i.prop]===void 0?!1:!i.expiresAt||i.expiresAt>Date.now()).map(([i])=>i);return o.length>0&&(t["X-Inertia-Except-Once-Props"]=o.join(",")),t}},dB=class{constructor({maxConcurrent:e,interruptible:t}){this.requests=[],this.maxConcurrent=e,this.interruptible=t}send(e){this.requests.push(e),e.send().then(()=>{this.requests=this.requests.filter(t=>t!==e)})}interruptInFlight(){this.cancel({interrupted:!0},!1)}cancelInFlight({prefetch:e=!0}={}){this.requests.filter(t=>e||!t.isPrefetch()).forEach(t=>t.cancel({cancelled:!0}))}cancel({cancelled:e=!1,interrupted:t=!1}={},a=!1){if(!a&&!this.shouldCancel())return;const o=this.requests.shift();o==null||o.cancel({cancelled:e,interrupted:t})}shouldCancel(){return this.interruptible&&this.requests.length>=this.maxConcurrent}},gae=class{constructor(){this.syncRequestStream=new dB({maxConcurrent:1,interruptible:!0}),this.asyncRequestStream=new dB({maxConcurrent:1/0,interruptible:!1}),this.clientVisitQueue=new vA}init({initialPage:t,resolveComponent:a,swapComponent:o,onFlash:i}){be.init({initialPage:t,resolveComponent:a,swapComponent:o,onFlash:i}),pae.handle(),or.init(),or.on("missingHistoryItem",()=>{typeof window<"u"&&this.visit(window.location.href,{preserveState:!0,preserveScroll:!0,replace:!0})}),or.on("loadDeferredProps",s=>{this.loadDeferredProps(s)}),or.on("historyQuotaExceeded",s=>{window.location.href=s})}get(t,a={},o={}){return this.visit(t,{...o,method:"get",data:a})}post(t,a={},o={}){return this.visit(t,{preserveState:!0,...o,method:"post",data:a})}put(t,a={},o={}){return this.visit(t,{preserveState:!0,...o,method:"put",data:a})}patch(t,a={},o={}){return this.visit(t,{preserveState:!0,...o,method:"patch",data:a})}delete(t,a={}){return this.visit(t,{preserveState:!0,...a,method:"delete"})}reload(t={}){return this.doReload(t)}doReload(t={}){if(!(typeof window>"u"))return this.visit(window.location.href,{...t,preserveScroll:!0,preserveState:!0,async:!0,headers:{...t.headers||{},"Cache-Control":"no-cache"}})}remember(t,a="default"){et.remember(t,a)}restore(t="default"){return et.restore(t)}on(t,a){return typeof window>"u"?()=>{}:or.onGlobalEvent(t,a)}cancel(){this.syncRequestStream.cancelInFlight()}cancelAll({async:t=!0,prefetch:a=!0,sync:o=!0}={}){t&&this.asyncRequestStream.cancelInFlight({prefetch:a}),o&&this.syncRequestStream.cancelInFlight()}poll(t,a={},o={}){return mae.add(t,()=>this.reload(a),{autoStart:o.autoStart??!0,keepAlive:o.keepAlive??!1})}visit(t,a={}){const o=this.getPendingVisit(t,{...a,showProgress:a.showProgress??!a.async}),i=this.getVisitEvents(a);if(i.onBefore(o)===!1||!oB(o))return;const s=la(be.get().url);(o.only.length>0||o.except.length>0||o.reset.length>0?cae(o.url,s):GI(o.url,s))||this.asyncRequestStream.cancelInFlight({prefetch:!1}),o.async||this.syncRequestStream.interruptInFlight(),!be.isCleared()&&!o.preserveUrl&&En.save();const f={...o,...i},y=ar.get(f);y?(xn.reveal(y.inFlight),ar.use(y,f)):(xn.reveal(!0),(o.async?this.asyncRequestStream:this.syncRequestStream).send(lB.create(f,be.get())))}getCached(t,a={}){return ar.findCached(this.getPrefetchParams(t,a))}flush(t,a={}){ar.remove(this.getPrefetchParams(t,a))}flushAll(){ar.removeAll()}flushByCacheTags(t){ar.removeByTags(Array.isArray(t)?t:[t])}getPrefetching(t,a={}){return ar.findInFlight(this.getPrefetchParams(t,a))}prefetch(t,a={},o={}){if((a.method??(zr(t)?t.method:"get"))!=="get")throw new Error("Prefetch requests must use the GET method");const s=this.getPendingVisit(t,{...a,async:!0,showProgress:!1,prefetch:!0,viewTransition:!1}),l=s.url.origin+s.url.pathname+s.url.search,h=window.location.origin+window.location.pathname+window.location.search;if(l===h)return;const f=this.getVisitEvents(a);if(f.onBefore(s)===!1||!oB(s))return;xn.hide(),this.asyncRequestStream.interruptInFlight();const y={...s,...f};new Promise(m=>{const x=()=>{be.get()?m():setTimeout(x,50)};x()}).then(()=>{ar.add(y,m=>{this.asyncRequestStream.send(lB.create(m,be.get()))},{cacheFor:_i.get("prefetch.cacheFor"),cacheTags:[],...o})})}clearHistory(){et.clear()}decryptHistory(){return et.decrypt()}resolveComponent(t){return be.resolve(t)}replace(t){this.clientVisit(t,{replace:!0})}replaceProp(t,a,o){this.replace({preserveScroll:!0,preserveState:!0,props(i){const s=typeof a=="function"?a(xa(i,t),i):a;return Ma(ga(i),t,s)},...o||{}})}appendToProp(t,a,o){this.replaceProp(t,(i,s)=>{const l=typeof a=="function"?a(i,s):a;return Array.isArray(i)||(i=i!==void 0?[i]:[]),[...i,l]},o)}prependToProp(t,a,o){this.replaceProp(t,(i,s)=>{const l=typeof a=="function"?a(i,s):a;return Array.isArray(i)||(i=i!==void 0?[i]:[]),[l,...i]},o)}push(t){this.clientVisit(t)}flash(t,a){const o=be.get().flash;let i;if(typeof t=="function")i=t(o);else if(typeof t=="string")i={...o,[t]:a};else if(t&&Object.keys(t).length)i={...o,...t};else return;be.setFlash(i),Object.keys(i).length&&FI(i)}clientVisit(t,{replace:a=!1}={}){this.clientVisitQueue.add(()=>this.performClientVisit(t,{replace:a}))}performClientVisit(t,{replace:a=!1}={}){const o=be.get(),i=typeof t.props=="function"?Object.fromEntries(Object.values(o.onceProps??{}).map(_=>[_.prop,o.props[_.prop]])):{},s=typeof t.props=="function"?t.props(o.props,i):t.props??o.props,l=typeof t.flash=="function"?t.flash(o.flash):t.flash,{viewTransition:h,onError:f,onFinish:y,onFlash:k,onSuccess:m,...x}=t,S={...o,...x,flash:l??{},props:s},b=Vj.resolvePreserveOption(t.preserveScroll??!1,S),w=Vj.resolvePreserveOption(t.preserveState??!1,S);return be.set(S,{replace:a,preserveScroll:b,preserveState:w,viewTransition:h}).then(()=>{const _=be.get().flash;Object.keys(_).length>0&&(FI(_),k==null||k(_));const N=be.get().props.errors||{};if(Object.keys(N).length===0){m==null||m(be.get());return}const L=t.errorBag?N[t.errorBag||""]||{}:N;f==null||f(L)}).finally(()=>y==null?void 0:y(t))}getPrefetchParams(t,a){return{...this.getPendingVisit(t,{...a,async:!0,showProgress:!1,prefetch:!0,viewTransition:!1}),...this.getVisitEvents(a)}}getPendingVisit(t,a,o={}){if(zr(t)){const k=t;t=k.url,a.method=a.method??k.method}const i=_i.get("visitOptions"),s=i?i(t.toString(),ga(a))||{}:{},l={method:"get",data:{},replace:!1,preserveScroll:!1,preserveState:!1,only:[],except:[],headers:{},errorBag:"",forceFormData:!1,queryStringArrayFormat:"brackets",async:!1,showProgress:!0,fresh:!1,reset:[],preserveUrl:!1,prefetch:!1,invalidateCacheTags:[],viewTransition:!1,...a,...s},[h,f]=iae(t,l.data,l.method,l.forceFormData,l.queryStringArrayFormat),y={cancelled:!1,completed:!1,interrupted:!1,...l,...o,url:h,data:f};return y.prefetch&&(y.headers.Purpose="prefetch"),y}getVisitEvents(t){return{onCancelToken:t.onCancelToken||(()=>{}),onBefore:t.onBefore||(()=>{}),onBeforeUpdate:t.onBeforeUpdate||(()=>{}),onStart:t.onStart||(()=>{}),onProgress:t.onProgress||(()=>{}),onFinish:t.onFinish||(()=>{}),onCancel:t.onCancel||(()=>{}),onSuccess:t.onSuccess||(()=>{}),onError:t.onError||(()=>{}),onFlash:t.onFlash||(()=>{}),onPrefetched:t.onPrefetched||(()=>{}),onPrefetching:t.onPrefetching||(()=>{})}}loadDeferredProps(t){t&&Object.entries(t).forEach(([a,o])=>{this.doReload({only:o,deferredProps:!0})})}},Ah=class{static createWayfinderCallback(...e){return()=>e.length===1?zr(e[0])?e[0]:e[0]():{method:typeof e[0]=="function"?e[0]():e[0],url:typeof e[1]=="function"?e[1]():e[1]}}static parseUseFormArguments(...e){return e.length===0?{rememberKey:null,data:{},precognitionEndpoint:null}:e.length===1?{rememberKey:null,data:e[0],precognitionEndpoint:null}:e.length===2?typeof e[0]=="string"?{rememberKey:e[0],data:e[1],precognitionEndpoint:null}:{rememberKey:null,data:e[1],precognitionEndpoint:this.createWayfinderCallback(e[0])}:{rememberKey:null,data:e[2],precognitionEndpoint:this.createWayfinderCallback(e[0],e[1])}}static parseSubmitArguments(e,t){return e.length===3||e.length===2&&typeof e[0]=="string"?{method:e[0],url:e[1],options:e[2]??{}}:zr(e[0])?{...e[0],options:e[1]??{}}:{...t(),options:e[0]??{}}}static mergeHeadersForValidation(e,t,a){const o=i=>(i.headers={...a??{},...i.headers??{}},i);return e&&typeof e=="object"&&!("target"in e)?e=o(e):t&&typeof t=="object"?t=o(t):typeof e=="string"?t=o(t??{}):e=o(e??{}),[e,t]}};function Mae(e){if(!e.includes("."))return e;const t=a=>a.startsWith("[")&&a.endsWith("]")?a:a.split(".").reduce((o,i,s)=>s===0?i:`${o}[${i}]`);return e.replace(/\\\./g,"__ESCAPED_DOT__").split(/(\[[^\]]*\])/).filter(Boolean).map(t).join("").replace(/__ESCAPED_DOT__/g,".")}function xae(e){const t=[],a=/([^\[\]]+)|\[(\d*)\]/g;let o;for(;(o=a.exec(e))!==null;)o[1]!==void 0?t.push(o[1]):o[2]!==void 0&&t.push(o[2]===""?"":Number(o[2]));return t}function bae(e,t,a){let o=e;for(let i=0;i<t.length-1;i++)t[i]in o||(o[t[i]]={}),o=o[t[i]];o[t[t.length-1]]=a}function wae(e){const t=Object.keys(e),a=t.filter(o=>/^\d+$/.test(o)).map(Number).sort((o,i)=>o-i);return t.length===a.length&&a.length>0&&a[0]===0&&a.every((o,i)=>o===i)}function Th(e){if(Array.isArray(e))return e.map(Th);if(typeof e!="object"||e===null||AP(e))return e;if(wae(e)){const a=[];for(let o=0;o<Object.keys(e).length;o++)a[o]=Th(e[o]);return a}const t={};for(const a in e)t[a]=Th(e[a]);return t}function uB(e){const t={};for(const[a,o]of e.entries()){if(o instanceof File&&o.size===0&&o.name==="")continue;const i=xae(Mae(a));if(i[i.length-1]===""){const s=i.slice(0,-1),l=xa(t,s);if(Array.isArray(l))l.push(o);else if(l&&typeof l=="object"&&!AP(l)){const h=Object.keys(l).filter(f=>/^\d+$/.test(f)).map(Number).sort((f,y)=>f-y);Ma(t,s,h.length>0?[...h.map(f=>l[f]),o]:[o])}else Ma(t,s,[o]);continue}bae(t,i.map(String),o)}return Th(t)}var nj={preferredAttribute(){return _i.get("future.useDataInertiaHeadAttribute")?"data-inertia":"inertia"},buildDOMElement(e){const t=document.createElement("template");t.innerHTML=e;const a=t.content.firstChild;if(!e.startsWith("<script "))return a;const o=document.createElement("script");return o.innerHTML=a.innerHTML,a.getAttributeNames().forEach(i=>{o.setAttribute(i,a.getAttribute(i)||"")}),o},isInertiaManagedElement(e){return e.nodeType===Node.ELEMENT_NODE&&e.getAttribute(this.preferredAttribute())!==null},findMatchingElementIndex(e,t){const a=this.preferredAttribute(),o=e.getAttribute(a);return o!==null?t.findIndex(i=>i.getAttribute(a)===o):-1},update:x2(function(e){const t=e.map(o=>this.buildDOMElement(o));Array.from(document.head.childNodes).filter(o=>this.isInertiaManagedElement(o)).forEach(o=>{var l,h;const i=this.findMatchingElementIndex(o,t);if(i===-1){(l=o==null?void 0:o.parentNode)==null||l.removeChild(o);return}const s=t.splice(i,1)[0];s&&!o.isEqualNode(s)&&((h=o==null?void 0:o.parentNode)==null||h.replaceChild(s,o))}),t.forEach(o=>document.head.appendChild(o))},1)};function _ae(e,t,a){const o={};let i=0;function s(){const m=i+=1;return o[m]=[],m.toString()}function l(m){m===null||Object.keys(o).indexOf(m)===-1||(delete o[m],k())}function h(m){Object.keys(o).indexOf(m)===-1&&(o[m]=[])}function f(m,x=[]){m!==null&&Object.keys(o).indexOf(m)>-1&&(o[m]=x),k()}function y(){const m=t(""),x=nj.preferredAttribute(),S={...m?{title:`<title ${x}="">${m}</title>`}:{}},b=Object.values(o).reduce((w,_)=>w.concat(_),[]).reduce((w,_)=>{if(_.indexOf("<")===-1)return w;if(_.indexOf("<title ")===0){const L=_.match(/(<title [^>]+>)(.*?)(<\/title>)/);return w.title=L?`${L[1]}${t(L[2])}${L[3]}`:_,w}const N=_.match(x==="inertia"?/ inertia="[^"]+"/:/ data-inertia="[^"]+"/);return N?w[N[0]]=_:w[Object.keys(w).length]=_,w},S);return Object.values(b)}function k(){e?a(y()):nj.update(y())}return k(),{forceUpdate:k,createProvider:function(){const m=s();return{preferredAttribute:nj.preferredAttribute,reconnect:()=>h(m),update:x=>f(m,x),disconnect:()=>l(m)}}}}var Sae="X-Inertia-Infinite-Scroll-Merge-Intent",Cae=e=>{const t=()=>{var L;const N=(L=be.get().scrollProps)==null?void 0:L[e.getPropName()];if(N)return N;throw new Error(`The page object does not contain a scroll prop named "${e.getPropName()}".`)},a={component:null,loading:!1,previousPage:null,nextPage:null,lastLoadedPage:null,requestCount:0},o=()=>{const N=t();a.component=be.get().component,a.loading=!1,a.previousPage=N.previousPage,a.nextPage=N.nextPage,a.lastLoadedPage=N.currentPage,a.requestCount=0},i=()=>`inertia:infinite-scroll-data:${e.getPropName()}`;if(typeof window<"u"){o();const N=ut.restore(i());N&&typeof N=="object"&&N.lastLoadedPage===t().currentPage&&(a.previousPage=N.previousPage,a.nextPage=N.nextPage,a.lastLoadedPage=N.lastLoadedPage,a.requestCount=N.requestCount||0)}const s=ut.on("success",N=>{var L;a.component===N.detail.page.component&&t().reset&&(o(),(L=e.onReset)==null||L.call(e))}),l=N=>N==="next"?"nextPage":"previousPage",h=N=>{const L=l(N);return a[L]},f=N=>{const L=t(),I=l(N);a.lastLoadedPage=L.currentPage,a[I]=L[I],a.requestCount+=1,ut.remember({previousPage:a.previousPage,nextPage:a.nextPage,lastLoadedPage:a.lastLoadedPage,requestCount:a.requestCount},i())},y=()=>t().pageName,k=()=>a.requestCount,m=(N,L={})=>{const I=h(N);a.loading||I===null||(a.loading=!0,ut.reload({...L,data:{[y()]:I},only:[e.getPropName()],preserveUrl:!0,headers:{[Sae]:N==="previous"?"prepend":"append",...L.headers},onBefore:O=>{var D;N==="next"?e.onBeforeNextRequest():e.onBeforePreviousRequest(),(D=L.onBefore)==null||D.call(L,O)},onBeforeUpdate:O=>{var D;e.onBeforeUpdate(),(D=L.onBeforeUpdate)==null||D.call(L,O)},onSuccess:O=>{var D;f(N),(D=L.onSuccess)==null||D.call(L,O)},onFinish:O=>{var D;a.loading=!1,N==="next"?e.onCompleteNextRequest(a.lastLoadedPage):e.onCompletePreviousRequest(a.lastLoadedPage),(D=L.onFinish)==null||D.call(L,O)}}))};return{getLastLoadedPage:()=>a.lastLoadedPage,getPageName:y,getRequestCount:k,hasPrevious:()=>!!a.previousPage,hasNext:()=>!!a.nextPage,fetchNext:N=>m("next",N),fetchPrevious:N=>m("previous",N),removeEventListener:s}},Nae=()=>{const e=[];return{new:(o,i={})=>{const s=new IntersectionObserver(l=>{for(const h of l)h.isIntersecting&&o(h)},i);return e.push(s),s},flushAll:()=>{e.forEach(o=>o.disconnect()),e.length=0}}},Rh="infiniteScrollPage",aj="infiniteScrollIgnore",kU=e=>e.dataset[Rh],Lae=e=>{const t=Nae();let a,o,i,s,l=!1;const h=()=>{s=new MutationObserver(A=>{A.forEach(j=>{j.addedNodes.forEach(V=>{V.nodeType===Node.ELEMENT_NODE&&x.add(V)})}),O()}),s.observe(e.getItemsElement(),{childList:!0}),a=t.new(A=>e.onItemIntersected(A.target));const P={root:e.getScrollableParent(),rootMargin:`${Math.max(1,e.getTriggerMargin())}px`};o=t.new(e.onPreviousTriggered,P),i=t.new(e.onNextTriggered,P)},f=()=>{l&&y();const P=e.getStartElement(),A=e.getEndElement();P&&e.shouldFetchPrevious()&&o.observe(P),A&&e.shouldFetchNext()&&i.observe(A),l=!0},y=()=>{l&&(o.disconnect(),i.disconnect(),l=!1)},k=()=>{l&&f()},m=()=>{y(),t.flushAll(),s==null||s.disconnect()},x=new Set,S=P=>!(Rh in P.dataset)&&!(aj in P.dataset),b=()=>{Array.from(x).forEach(P=>{S(P)&&(P.dataset[aj]="true"),a.observe(P)}),x.clear()},w=P=>Array.from(P.querySelectorAll(":scope > *:not([data-infinite-scroll-page]):not([data-infinite-scroll-ignore])"));let _=!1;const N=P=>{!_&&(_=!0,D())||(w(e.getItemsElement()).forEach(A=>{S(A)&&(A.dataset[Rh]=(P==null?void 0:P.toString())||"1"),a.observe(A)}),I())},L=()=>`inertia:infinite-scroll-elements:${e.getPropName()}`,I=()=>{const P={},A=e.getItemsElement().childNodes;for(let j=0;j<A.length;j++){const V=A[j];if(V.nodeType!==Node.ELEMENT_NODE)continue;const K=kU(V);typeof K>"u"||(K in P?P[K].to=j:P[K]={from:j,to:j})}ut.remember(P,L())},O=x2(I,250),D=()=>{const P=ut.restore(L());if(!P||typeof P!="object")return!1;const A=e.getItemsElement().childNodes;for(let j=0;j<A.length;j++){const V=A[j];if(V.nodeType!==Node.ELEMENT_NODE)continue;const K=V;let q;for(const[B,F]of Object.entries(P))if(j>=F.from&&j<=F.to){q=B;break}if(q)K.dataset[Rh]=q;else if(S(K))K.dataset[aj]="true";else continue;a.observe(K)}return!0};return{setupObservers:h,enableTriggers:f,disableTriggers:y,refreshTriggers:k,flushAll:m,processManuallyAddedElements:b,processServerLoadedElements:N}},Eae=new vA,Rd,hi,fh=null,Iae=e=>{let t=!0;const a=i=>{Eae.add(()=>new Promise(s=>{if(!t)return Rd=hi=null,s();if(!Rd||!hi){const f=be.get().url;Rd=la(f),hi=la(f),fh=fU(f)}const l=e.getPageName(),h=hi.searchParams;i==="1"?h.delete(l):h.set(l,i),setTimeout(()=>s())})).finally(()=>{t&&Rd&&hi&&Rd.href!==hi.href&&fh!==null&&ut.replace({url:sae(hi,fh),preserveScroll:!0,preserveState:!0}),Rd=hi=fh=null})};return{onItemIntersected:x2(i=>{var k;const s=e.getItemsElement();if(!t||e.shouldPreserveUrl()||!i||!s)return;const l=new Map,h=[...s.children];dU(h,i).forEach(m=>{const x=kU(m)??"1";l.has(x)?l.set(x,l.get(x)+1):l.set(x,1)});const y=(k=Array.from(l.entries()).sort((m,x)=>x[1]-m[1])[0])==null?void 0:k[0];y!==void 0&&a(y)},250),cancel:()=>t=!1}},Aae=e=>({createCallbacks:()=>{let a,o=null,i=0;return{captureScrollPosition:()=>{const h=e.getScrollableParent(),f=e.getItemsElement();a=(h==null?void 0:h.scrollTop)||window.scrollY;const y=dU([...f.children]);if(y.length>0){o=y[0];const k=(h==null?void 0:h.getBoundingClientRect())||{top:0},m=h?k.top:0;i=o.getBoundingClientRect().top-m}},restoreScrollPosition:()=>{if(!o)return;let h=0,f=!1;const y=()=>{if(h++,f||h>10)return!1;const k=e.getScrollableParent(),m=(k==null?void 0:k.getBoundingClientRect())||{top:0},x=k?m.top:0,w=o.getBoundingClientRect().top-x-i;if(w===0){window.requestAnimationFrame(y);return}k?k.scrollTo({top:a+w}):window.scrollTo(0,window.scrollY+w),f=!0};window.requestAnimationFrame(y)}}}});function Tae(e){const t=Iae({...e,getPageName:()=>i.getPageName()}),a=Aae(e),o=Lae({...e,onItemIntersected:t.onItemIntersected,onPreviousTriggered:()=>i.fetchPrevious(),onNextTriggered:()=>i.fetchNext()}),i=Cae({...e,onBeforeUpdate:o.processManuallyAddedElements,onCompletePreviousRequest:y=>{e.onCompletePreviousRequest(),f2(()=>o.processServerLoadedElements(y),2)},onCompleteNextRequest:y=>{e.onCompleteNextRequest(),f2(()=>o.processServerLoadedElements(y),2)},onReset:e.onDataReset}),s=y=>{const{captureScrollPosition:k,restoreScrollPosition:m}=a.createCallbacks(),x=y.onBeforeUpdate||(()=>{}),S=y.onSuccess||(()=>{});return y.onBeforeUpdate=b=>{x(b),k()},y.onSuccess=b=>{S(b),m()},y},l=i.fetchNext;i.fetchNext=(y={})=>{e.inReverseMode()&&(y=s(y)),l(y)};const h=i.fetchPrevious;i.fetchPrevious=(y={})=>{e.inReverseMode()||(y=s(y)),h(y)};const f=ut.on("success",()=>f2(o.refreshTriggers,2));return{dataManager:i,elementManager:o,flush:()=>{f(),i.removeEventListener(),o.flushAll(),t.cancel()}}}function gU(e){return e.target instanceof HTMLElement&&e.target.isContentEditable||e.defaultPrevented}function yh(e){const t=e.currentTarget.tagName.toLowerCase()==="a";return!(gU(e)||t&&e.altKey||t&&e.ctrlKey||t&&e.metaKey||t&&e.shiftKey||t&&"button"in e&&e.button!==0)}function hB(e){const t=e.currentTarget.tagName.toLowerCase()==="button";return!gU(e)&&(e.key==="Enter"||t&&e.key===" ")}var Xt="nprogress",In,en={minimum:.08,easing:"linear",positionUsing:"translate3d",speed:200,trickle:!0,trickleSpeed:200,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",color:"#29d",includeCSS:!0,template:['<div class="bar" role="bar">','<div class="peg"></div>',"</div>",'<div class="spinner" role="spinner">','<div class="spinner-icon"></div>',"</div>"].join("")},Si=null,Rae=e=>{Object.assign(en,e),en.includeCSS&&zae(en.color),In=document.createElement("div"),In.id=Xt,In.innerHTML=en.template},kA=e=>{const t=MU();e=SU(e,en.minimum,1),Si=e===1?null:e;const a=jae(!t),o=a.querySelector(en.barSelector),i=en.speed,s=en.easing;a.offsetWidth,Dae(l=>{const h=en.positionUsing==="translate3d"?{transition:`all ${i}ms ${s}`,transform:`translate3d(${$h(e)}%,0,0)`}:en.positionUsing==="translate"?{transition:`all ${i}ms ${s}`,transform:`translate(${$h(e)}%,0)`}:{marginLeft:`${$h(e)}%`};for(const f in h)o.style[f]=h[f];if(e!==1)return setTimeout(l,i);a.style.transition="none",a.style.opacity="1",a.offsetWidth,setTimeout(()=>{a.style.transition=`all ${i}ms linear`,a.style.opacity="0",setTimeout(()=>{_U(),a.style.transition="",a.style.opacity="",l()},i)},i)})},MU=()=>typeof Si=="number",xU=()=>{Si||kA(0);const e=function(){setTimeout(function(){Si&&(bU(),e())},en.trickleSpeed)};en.trickle&&e()},$ae=e=>{!e&&!Si||(bU(.3+.5*Math.random()),kA(1))},bU=e=>{const t=Si;if(t===null)return xU();if(!(t>1))return e=typeof e=="number"?e:(()=>{const a={.1:[0,.2],.04:[.2,.5],.02:[.5,.8],.005:[.8,.99]};for(const o in a)if(t>=a[o][0]&&t<a[o][1])return parseFloat(o);return 0})(),kA(SU(t+e,0,.994))},jae=e=>{var i;if(Pae())return document.getElementById(Xt);document.documentElement.classList.add(`${Xt}-busy`);const t=In.querySelector(en.barSelector),a=e?"-100":$h(Si||0),o=wU();return t.style.transition="all 0 linear",t.style.transform=`translate3d(${a}%,0,0)`,en.showSpinner||(i=In.querySelector(en.spinnerSelector))==null||i.remove(),o!==document.body&&o.classList.add(`${Xt}-custom-parent`),o.appendChild(In),In},wU=()=>Oae(en.parent)?en.parent:document.querySelector(en.parent),_U=()=>{document.documentElement.classList.remove(`${Xt}-busy`),wU().classList.remove(`${Xt}-custom-parent`),In==null||In.remove()},Pae=()=>document.getElementById(Xt)!==null,Oae=e=>typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string";function SU(e,t,a){return e<t?t:e>a?a:e}var $h=e=>(-1+e)*100,Dae=(()=>{const e=[],t=()=>{const a=e.shift();a&&a(t)};return a=>{e.push(a),e.length===1&&t()}})(),zae=e=>{const t=document.createElement("style");t.textContent=`
27
27
  #${Xt} {
28
28
  pointer-events: none;
29
29
  }
@@ -87,8 +87,8 @@ import{a as see,c as GH,b as xa,s as Ma,d as ga,i as Mi,h as SF,m as $j,e as lee
87
87
  0% { transform: rotate(0deg); }
88
88
  100% { transform: rotate(360deg); }
89
89
  }
90
- `,document.head.appendChild(t)},qae=()=>{In&&(In.style.display="")},Hae=()=>{In&&(In.style.display="none")},va={configure:Rae,isStarted:MU,done:$ae,set:kA,remove:_U,start:xU,status:Si,show:qae,hide:Hae},Vae=class{constructor(){this.hideCount=0}start(){va.start()}reveal(e=!1){this.hideCount=Math.max(0,this.hideCount-1),(e||this.hideCount===0)&&va.show()}hide(){this.hideCount++,va.hide()}set(e){va.set(Math.max(0,Math.min(1,e)))}finish(){va.done()}reset(){va.set(0)}remove(){va.done(),va.remove()}isStarted(){return va.isStarted()}getStatus(){return va.status}},xn=new Vae;xn.reveal;xn.hide;function Bae(e){document.addEventListener("inertia:start",t=>Fae(t,e)),document.addEventListener("inertia:progress",Uae)}function Fae(e,t){e.detail.visit.showProgress||xn.hide();const a=setTimeout(()=>xn.start(),t);document.addEventListener("inertia:finish",o=>Gae(o,a),{once:!0})}function Uae(e){var t;xn.isStarted()&&((t=e.detail.progress)!=null&&t.percentage)&&xn.set(Math.max(xn.getStatus(),e.detail.progress.percentage/100*.9))}function Gae(e,t){clearTimeout(t),xn.isStarted()&&(e.detail.visit.completed?xn.finish():e.detail.visit.interrupted?xn.reset():e.detail.visit.cancelled&&xn.remove())}function Wae({delay:e=250,color:t="#29d",includeCSS:a=!0,showSpinner:o=!1}={}){Bae(e),va.configure({showSpinner:o,includeCSS:a,color:t})}var CU=Symbol("FormComponentReset");function Vj(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement}function Zae(e,t){const a=e.value,o=e.checked;switch(e.type.toLowerCase()){case"checkbox":e.checked=t.includes(e.value);break;case"radio":e.checked=t[0]===e.value;break;case"file":e.value="";break;case"button":case"submit":case"reset":case"image":break;default:e.value=t[0]!==null&&t[0]!==void 0?String(t[0]):""}return e.value!==a||e.checked!==o}function Xae(e,t){const a=e.value,o=Array.from(e.selectedOptions).map(l=>l.value);if(e.multiple){const l=t.map(h=>String(h));Array.from(e.options).forEach(h=>{h.selected=l.includes(h.value)})}else e.value=t[0]!==void 0?String(t[0]):"";const i=Array.from(e.selectedOptions).map(l=>l.value);return e.multiple?JSON.stringify(o.sort())!==JSON.stringify(i.sort()):e.value!==a}function aj(e,t){if(e.disabled){if(e instanceof HTMLInputElement){const a=e.value,o=e.checked;switch(e.type.toLowerCase()){case"checkbox":case"radio":return e.checked=e.defaultChecked,e.checked!==o;case"file":return e.value="",a!=="";case"button":case"submit":case"reset":case"image":return!1;default:return e.value=e.defaultValue,e.value!==a}}else if(e instanceof HTMLSelectElement){const a=Array.from(e.selectedOptions).map(i=>i.value);Array.from(e.options).forEach(i=>{i.selected=i.defaultSelected});const o=Array.from(e.selectedOptions).map(i=>i.value);return JSON.stringify(a.sort())!==JSON.stringify(o.sort())}else if(e instanceof HTMLTextAreaElement){const a=e.value;return e.value=e.defaultValue,e.value!==a}return!1}if(e instanceof HTMLInputElement)return Zae(e,t);if(e instanceof HTMLSelectElement)return Xae(e,t);if(e instanceof HTMLTextAreaElement){const a=e.value;return e.value=t[0]!==void 0?String(t[0]):"",e.value!==a}return!1}function Kae(e,t){let a=!1;return e instanceof RadioNodeList||e instanceof HTMLCollection?Array.from(e).forEach((o,i)=>{if(o instanceof Element&&Vj(o))if(o instanceof HTMLInputElement&&["checkbox","radio"].includes(o.type.toLowerCase()))aj(o,t)&&(a=!0);else{const s=t[i]!==void 0?[t[i]]:[t[0]??null].filter(Boolean);aj(o,s)&&(a=!0)}}):Vj(e)&&(a=aj(e,t)),a}function Yae(e,t,a){if(!e)return;const o=!a||a.length===0;if(o){const s=new FormData(e),l=Array.from(e.elements).map(h=>Vj(h)?h.name:"").filter(Boolean);a=[...new Set([...t.keys(),...s.keys(),...l])]}let i=!1;a.forEach(s=>{const l=e.elements.namedItem(s);l&&Kae(l,t.getAll(s))&&(i=!0)}),i&&o&&e.dispatchEvent(new CustomEvent("reset",{bubbles:!0,cancelable:!0,detail:{[CU]:!0}}))}var ut=new gae;/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
91
- * @license MIT */let b2=Nt.create(),NU=(e,t)=>`${e.method}:${e.baseURL??t.defaults.baseURL??""}${e.url}`,LU=e=>e.status===204&&e.headers["precognition-success"]==="true";const WI={},gi={get:(e,t={},a={})=>o2(a2("get",e,t,a)),post:(e,t={},a={})=>o2(a2("post",e,t,a)),patch:(e,t={},a={})=>o2(a2("patch",e,t,a)),put:(e,t={},a={})=>o2(a2("put",e,t,a)),delete:(e,t={},a={})=>o2(a2("delete",e,t,a)),use(e){return b2=e,gi},axios(){return b2},fingerprintRequestsUsing(e){return NU=e===null?()=>null:e,gi},determineSuccessUsing(e){return LU=e,gi}},a2=(e,t,a,o)=>({url:t,method:e,...o,...["get","delete"].includes(e)?{params:$j({},a,o==null?void 0:o.params)}:{data:$j({},a,o==null?void 0:o.data)}}),o2=(e={})=>{const t=[Qae,eoe,toe].reduce((a,o)=>o(a),e);return(t.onBefore??(()=>!0))()===!1?Promise.resolve(null):((t.onStart??(()=>null))(),b2.request(t).then(async a=>{t.precognitive&&pB(a);const o=a.status;let i=a;return t.precognitive&&t.onPrecognitionSuccess&&LU(i)&&(i=await Promise.resolve(t.onPrecognitionSuccess(i)??i)),t.onSuccess&&Jae(o)&&(i=await Promise.resolve(t.onSuccess(i)??i)),(fB(t,o)??(l=>l))(i)??i},a=>noe(a)?Promise.reject(a):(t.precognitive&&pB(a.response),(fB(t,a.response.status)??((i,s)=>Promise.reject(s)))(a.response,a))).finally(t.onFinish??(()=>null)))},Qae=e=>{const t=e.only??e.validate;return{...e,timeout:e.timeout??b2.defaults.timeout??3e4,precognitive:e.precognitive!==!1,fingerprint:typeof e.fingerprint>"u"?NU(e,b2):e.fingerprint,headers:{...e.headers,"Content-Type":aoe(e),...e.precognitive!==!1?{Precognition:!0}:{},...t?{"Precognition-Validate-Only":Array.from(t).join()}:{}}}},Jae=e=>e>=200&&e<300,eoe=e=>{var t;return typeof e.fingerprint!="string"||((t=WI[e.fingerprint])==null||t.abort(),delete WI[e.fingerprint]),e},toe=e=>typeof e.fingerprint!="string"||e.signal||e.cancelToken||!e.precognitive?e:(WI[e.fingerprint]=new AbortController,{...e,signal:WI[e.fingerprint].signal}),pB=e=>{var t;if(((t=e.headers)==null?void 0:t.precognition)!=="true")throw Error("Did not receive a Precognition response. Ensure you have the Precognition middleware in place for the route.")},noe=e=>{var t;return!iU(e)||typeof((t=e.response)==null?void 0:t.status)!="number"||rU(e)},fB=(e,t)=>({401:e.onUnauthorized,403:e.onForbidden,404:e.onNotFound,409:e.onConflict,422:e.onValidationError,423:e.onLocked})[t],aoe=e=>{var t,a,o;return((t=e.headers)==null?void 0:t["Content-Type"])??((a=e.headers)==null?void 0:a["Content-type"])??((o=e.headers)==null?void 0:o["content-type"])??(EU(e.data)?"multipart/form-data":"application/json")},EU=e=>TP(e)||typeof e=="object"&&e!==null&&Object.values(e).some(t=>EU(t)),TP=e=>typeof File<"u"&&e instanceof File||e instanceof Blob||typeof FileList<"u"&&e instanceof FileList&&e.length>0,ooe=(e,t)=>{if(!e.includes("*"))return[e];const a=e.split(".");let o=[""];for(const i of a)if(i==="*"){const s=[];for(const l of o){const h=l?xa(t,l):t;if(Array.isArray(h))for(let f=0;f<h.length;f++)s.push(l?`${l}.${f}`:String(f));else if(h!==null&&typeof h=="object")for(const f of Object.keys(h))s.push(l?`${l}.${f}`:f)}o=s}else o=o.map(s=>s?`${s}.${i}`:i);return o},roe=(e,t)=>t.includes("*")?new RegExp("^"+t.replace(/\./g,"\\.").replace(/\*/g,"[^.]+")+"$").test(e):e===t,yB=(e,t)=>Object.fromEntries(Object.entries(e).filter(([a])=>!t.some(o=>roe(a,o)))),ioe=(e,t={})=>{const a={errorsChanged:[],touchedChanged:[],validatingChanged:[],validatedChanged:[]};let o=!1,i=!1;const s=q=>q!==i?(i=q,a.validatingChanged):[];let l=[];const h=q=>{const V=[...new Set(q)];return l.length!==V.length||!V.every(F=>l.includes(F))?(l=V,a.validatedChanged):[]},f=()=>l.filter(q=>typeof m[q]>"u");let y=[];const k=q=>{const V=[...new Set(q)];return y.length!==V.length||!V.every(F=>y.includes(F))?(y=V,a.touchedChanged):[]};let m={};const x=q=>{const V=soe(q);return Mi(m,V)?[]:(m=V,a.errorsChanged)},S=q=>{const V={...m};return delete V[y2(q)],x(V)},b=()=>Object.keys(m).length>0;let w=1500;const _=q=>{w=q,j.cancel(),j=D()};let N=t,L=null,I=[],P=null;const D=()=>lee(q=>{e({get:(V,F={},J={})=>gi.get(V,B(F),A(J,q,F)),post:(V,F={},J={})=>gi.post(V,B(F),A(J,q,F)),patch:(V,F={},J={})=>gi.patch(V,B(F),A(J,q,F)),put:(V,F={},J={})=>gi.put(V,B(F),A(J,q,F)),delete:(V,F={},J={})=>gi.delete(V,B(F),A(J,q,F))}).catch(V=>{var F;return rU(V)||iU(V)&&((F=V.response)==null?void 0:F.status)===422?null:Promise.reject(V)})},w,{leading:!0,trailing:!0});let j=D();const A=(q,V,F={})=>{const J={...q,...V},oe=Array.from(J.only??J.validate??y);return{...V,...jne(q,V),only:oe,timeout:J.timeout??5e3,onValidationError:(T,O)=>([...h([...l,...oe]),...x($j(yB({...m},oe),T.data.errors))].forEach(R=>R()),J.onValidationError?J.onValidationError(T,O):Promise.reject(O)),onSuccess:T=>(h([...l,...oe]).forEach(O=>O()),J.onSuccess?J.onSuccess(T):T),onPrecognitionSuccess:T=>([...h([...l,...oe]),...x(yB({...m},oe))].forEach(O=>O()),J.onPrecognitionSuccess?J.onPrecognitionSuccess(T):T),onBefore:()=>{const T=y.some(G=>G.includes("*")),O=T?[...new Set(y.flatMap(G=>ooe(G,F)))]:y;return J.onBeforeValidation&&J.onBeforeValidation({data:F,touched:O},{data:N,touched:I})===!1||(J.onBefore||(()=>!0))()===!1?!1:(T&&k(O).forEach(G=>G()),P=y,L=F,!0)},onStart:()=>{s(!0).forEach(T=>T()),(J.onStart??(()=>null))()},onFinish:()=>{s(!1).forEach(T=>T()),I=P,N=L,P=L=null,(J.onFinish??(()=>null))()}}},$=(q,V,F)=>{if(typeof q>"u"){const J=Array.from((F==null?void 0:F.only)??(F==null?void 0:F.validate)??[]);k([...y,...J]).forEach(oe=>oe()),j(F??{});return}if(TP(V)&&!o){console.warn('Precognition file validation is not active. Call the "validateFiles" function on your form to enable it.');return}q=y2(q),(q.includes("*")||xa(N,q)!==V)&&(k([q,...y]).forEach(J=>J()),j(F??{}))},B=q=>o===!1?Bj(q):q,Z={touched:()=>y,validate(q,V,F){return typeof q=="object"&&!("target"in q)&&(F=q,q=V=void 0),$(q,V,F),Z},touch(q){const V=Array.isArray(q)?q:[y2(q)];return k([...y,...V]).forEach(F=>F()),Z},validating:()=>i,valid:f,errors:()=>m,hasErrors:b,setErrors(q){return x(q).forEach(V=>V()),Z},forgetError(q){return S(q).forEach(V=>V()),Z},defaults(q){return t=q,N=q,Z},reset(...q){if(q.length===0)k([]).forEach(V=>V());else{const V=[...y];q.forEach(F=>{V.includes(F)&&V.splice(V.indexOf(F),1),Ma(N,F,xa(t,F))}),k(V).forEach(F=>F())}return Z},setTimeout(q){return _(q),Z},on(q,V){return a[q].push(V),Z},validateFiles(){return o=!0,Z},withoutFileValidation(){return o=!1,Z}};return Z},coe=e=>Object.keys(e).reduce((t,a)=>({...t,[a]:Array.isArray(e[a])?e[a][0]:e[a]}),{}),soe=e=>Object.keys(e).reduce((t,a)=>({...t,[a]:typeof e[a]=="string"?[e[a]]:e[a]}),{}),y2=e=>typeof e!="string"?e.target.name:e,Bj=e=>{const t={...e};return Object.keys(t).forEach(a=>{const o=t[a];if(o!==null){if(TP(o)){delete t[a];return}if(Array.isArray(o)){t[a]=Object.values(Bj({...o}));return}if(typeof o=="object"){t[a]=Bj(t[a]);return}}}),t};var IU=p.createContext(null);IU.displayName="InertiaHeadContext";var Fj=IU,AU=p.createContext(null);AU.displayName="InertiaPageContext";var ZI=AU,Uj=!0,mB=!1,vB=async()=>{Uj=!1};function XI({children:e,initialPage:t,initialComponent:a,resolveComponent:o,titleCallback:i,onHeadUpdate:s}){const[l,h]=p.useState({component:a||null,page:{...t,flash:t.flash??{}},key:null}),f=p.useMemo(()=>_ae(typeof window>"u",i||(k=>k),s||(()=>{})),[]);if(mB||(ut.init({initialPage:t,resolveComponent:o,swapComponent:async k=>vB(k),onFlash:k=>{h(m=>({...m,page:{...m.page,flash:k}}))}}),mB=!0),p.useEffect(()=>{vB=async({component:k,page:m,preserveState:x})=>{if(Uj){Uj=!1;return}Kd.flushSync(()=>h(S=>({component:k,page:m,key:x?S.key:Date.now()})))},ut.on("navigate",()=>f.forceUpdate())},[]),!l.component)return p.createElement(Fj.Provider,{value:f},p.createElement(ZI.Provider,{value:l.page},null));const y=e||(({Component:k,props:m,key:x})=>{const S=p.createElement(k,{key:x,...m});return typeof k.layout=="function"?k.layout(S):Array.isArray(k.layout)?k.layout.concat(S).reverse().reduce((b,w)=>p.createElement(w,{children:b,...m})):S});return p.createElement(Fj.Provider,{value:f},p.createElement(ZI.Provider,{value:l.page},y({Component:l.component,key:l.key,props:l.page.props})))}XI.displayName="Inertia";async function loe({id:e="app",resolve:t,setup:a,title:o,progress:i={},page:s,render:l,defaults:h={}}){z1.replace(h);const f=typeof window>"u",y=z1.get("future.useScriptElementForInitialPage"),k=s||oae(e,y),m=b=>Promise.resolve(t(b)).then(w=>w.default||w);let x=[];const S=await Promise.all([m(k.component),ut.decryptHistory().catch(()=>{})]).then(([b])=>{const w={initialPage:k,initialComponent:b,resolveComponent:m,titleCallback:o};return a(f?{el:null,App:XI,props:{...w,onHeadUpdate:L=>x=L}}:{el:document.getElementById(e),App:XI,props:w})});if(!f&&i&&Wae(i),f&&l){const w=await l(y?p.createElement(p.Fragment,null,p.createElement("script",{"data-page":e,type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(k).replace(/\//g,"\\/")}}),p.createElement("div",{id:e},S)):p.createElement("div",{id:e,"data-page":JSON.stringify(k)},S));return{head:x,body:w}}}function doe(e,t){typeof window>"u"?p.useEffect(e,t):p.useLayoutEffect(e,t)}var TU=typeof ke.use=="function";function RP(){const e=TU?ke.use(ZI):ke.useContext(ZI);if(!e)throw new Error("usePage must be used within the Inertia component");return e}var kB=e=>(e=new URL(e.href),e.hash="",e),uoe=(e,t)=>kB(e).href===kB(t).href,RU=({children:e,data:t,fallback:a})=>{if(!t)throw new Error("`<Deferred>` requires a `data` prop to be a string or array of strings");const[o,i]=p.useState(!1),s=RP().props,l=p.useMemo(()=>Array.isArray(t)?t:[t],[t]);p.useEffect(()=>{const f=qU.on("start",y=>{const k=y.detail.visit.only.length>0||y.detail.visit.except.length>0,m=y.detail.visit.only.find(x=>l.includes(x));uoe(y.detail.visit.url,window.location)&&(!k||m)&&i(!1)});return()=>{f()}},[]),p.useEffect(()=>{i(l.every(f=>s[f]!==void 0))},[s,l]);const h=p.useMemo(()=>l.every(f=>s[f]!==void 0),[l,s]);return o&&h?typeof e=="function"?e():e:typeof a=="function"?a():a};RU.displayName="InertiaDeferred";var hoe=RU;function Gj(e,t,a){const[o,i]=p.useState(()=>{const s=ut.restore(t);return s!==void 0?s:e});return p.useEffect(()=>{const s=a==null?void 0:a.current;if(s&&s.length>0&&typeof o=="object"&&o!==null){const l={...o};s.forEach(h=>delete l[h]),ut.remember(l,t)}else ut.remember(o,t)},[o,t]),[o,i]}function $U(...e){const t=p.useRef(!1),a=Ah.parseUseFormArguments(...e),{rememberKey:o,data:i}=a,s=p.useRef(a.precognitionEndpoint),[l,h]=p.useState(typeof i=="function"?ga(i()):ga(i)),f=p.useRef(null),y=p.useRef(void 0),k=p.useRef([]),[m,x]=o?Gj(l,`${o}:data`,k):p.useState(l),[S,b]=o?Gj({},`${o}:errors`):p.useState({}),[w,_]=p.useState(!1),[N,L]=p.useState(!1),[I,P]=p.useState(null),[D,j]=p.useState(!1),[A,$]=p.useState(!1),B=p.useRef(we=>we),Z=p.useMemo(()=>!Mi(m,l),[m,l]),q=p.useRef(null),[V,F]=p.useState(!1),[J,oe]=p.useState([]),[T,O]=p.useState([]),R=p.useRef(null);p.useEffect(()=>(t.current=!0,()=>{t.current=!1}),[]);const G=p.useRef(!1),K=p.useCallback((...we)=>{const{method:De,url:Ne,options:Te}=Ah.parseSubmitArguments(we,s.current);G.current=!1;const Je={...Te,onCancelToken:lt=>{if(f.current=lt,Te.onCancelToken)return Te.onCancelToken(lt)},onBefore:lt=>{if(j(!1),$(!1),clearTimeout(y.current),Te.onBefore)return Te.onBefore(lt)},onStart:lt=>{if(L(!0),Te.onStart)return Te.onStart(lt)},onProgress:lt=>{if(P(lt||null),Te.onProgress)return Te.onProgress(lt)},onSuccess:async lt=>{t.current&&(L(!1),P(null),b({}),_(!1),j(!0),$(!0),y.current=setTimeout(()=>{t.current&&$(!1)},z1.get("form.recentlySuccessfulDuration")));const tn=Te.onSuccess?await Te.onSuccess(lt):null;return t.current&&!G.current&&x(Yn=>(h(ga(Yn)),Yn)),tn},onError:lt=>{var tn;if(t.current&&(L(!1),P(null),b(lt),_(Object.keys(lt).length>0),(tn=q.current)==null||tn.setErrors(lt)),Te.onError)return Te.onError(lt)},onCancel:()=>{if(t.current&&(L(!1),P(null)),Te.onCancel)return Te.onCancel()},onFinish:lt=>{if(t.current&&(L(!1),P(null)),f.current=null,Te.onFinish)return Te.onFinish(lt)}},jt=B.current(m);De==="delete"?ut.delete(Ne,{...Je,data:jt}):ut[De](Ne,jt,Je)},[m,b,B]),Me=p.useCallback((we,De)=>{x(typeof we=="string"?Ne=>Ma(ga(Ne),we,De):typeof we=="function"?Ne=>we(Ne):we)},[x]),[X,ne]=p.useState(!1),de=p.useRef(m);p.useEffect(()=>{de.current=m});const ce=p.useCallback((we,De)=>{var Te;G.current=!0;let Ne={};typeof we>"u"?(Ne={...de.current},h(de.current),ne(!0)):h(Je=>(Ne=typeof we=="string"?Ma(ga(Je),we,De):Object.assign(ga(Je),we),Ne)),(Te=q.current)==null||Te.defaults(Ne)},[h]);doe(()=>{X&&(Z&&h(m),ne(!1))},[X]);const ye=p.useCallback((...we)=>{var De;we.length===0?x(l):x(Ne=>we.filter(Te=>SF(l,Te)).reduce((Te,Je)=>Ma(Te,Je,xa(l,Je)),{...Ne})),(De=q.current)==null||De.reset(...we)},[x,l]),pe=p.useCallback((we,De)=>{b(Ne=>{var Je;const Te={...Ne,...typeof we=="string"?{[we]:De}:we};return _(Object.keys(Te).length>0),(Je=q.current)==null||Je.setErrors(Te),Te})},[b,_]),ve=p.useCallback((...we)=>{b(De=>{const Ne=Object.keys(De).reduce((Te,Je)=>({...Te,...we.length>0&&!we.includes(Je)?{[Je]:De[Je]}:{}}),{});return _(Object.keys(Ne).length>0),q.current&&(we.length===0?q.current.setErrors({}):we.forEach(q.current.forgetError)),Ne})},[b,_]),me=p.useCallback((...we)=>{ye(...we),ve(...we)},[ye,ve]),ge=we=>(De,Ne={})=>{K(we,De,Ne)},fe=p.useCallback(ge("get"),[K]),se=p.useCallback(ge("post"),[K]),Ee=p.useCallback(ge("put"),[K]),$e=p.useCallback(ge("patch"),[K]),st=p.useCallback(ge("delete"),[K]),Ve=p.useCallback(()=>{f.current&&f.current.cancel()},[]),tt=p.useCallback(we=>{B.current=we},[]),ot={data:m,setData:Me,isDirty:Z,errors:S,hasErrors:w,processing:N,progress:I,wasSuccessful:D,recentlySuccessful:A,transform:tt,setDefaults:ce,reset:ye,setError:pe,clearErrors:ve,resetAndClearErrors:me,submit:K,get:fe,post:se,put:Ee,patch:$e,delete:st,cancel:Ve,dontRemember:(...we)=>(k.current=we,ot)},Ye=(we,De)=>(De(we),we),Ut=p.useCallback(we=>T.includes(we),[T]),At=p.useCallback(we=>we in S,[S]),Mt=p.useCallback(we=>typeof we=="string"?J.includes(we):J.length>0,[J]),Lt=(we,De)=>{if(typeof we=="object"&&!("target"in we)&&(De=we,we=void 0),we===void 0)q.current.validate(De);else{const Ne=y2(we),Te=de.current,Je=B.current(Te);q.current.validate(Ne,xa(Je,Ne),De)}return ot},qe=(...we)=>{if(s.current=Ah.createWayfinderCallback(...we),!q.current){const Ne=ioe(Te=>{const{method:Je,url:jt}=s.current(),lt=de.current,tn=B.current(lt);return Te[Je](jt,tn)},ga(l));q.current=Ne,Ne.on("validatingChanged",()=>{F(Ne.validating())}).on("validatedChanged",()=>{O(Ne.valid())}).on("touchedChanged",()=>{oe(Ne.touched())}).on("errorsChanged",()=>{const Te=R.current??z1.get("form.withAllErrors")?Ne.errors():coe(Ne.errors());b(Te),_(Object.keys(Te).length>0),O(Ne.valid())})}const De=Object.assign(ot,{validating:V,validator:()=>q.current,valid:Ut,invalid:At,touched:Mt,withoutFileValidation:()=>Ye(De,()=>{var Ne;return(Ne=q.current)==null?void 0:Ne.withoutFileValidation()}),touch:(Ne,...Te)=>{var Je,jt,lt;return Array.isArray(Ne)?(Je=q.current)==null||Je.touch(Ne):typeof Ne=="string"?(jt=q.current)==null||jt.touch([Ne,...Te]):(lt=q.current)==null||lt.touch(Ne),De},withAllErrors:()=>Ye(De,()=>R.current=!0),setValidationTimeout:Ne=>Ye(De,()=>{var Te;return(Te=q.current)==null?void 0:Te.setTimeout(Ne)}),validateFiles:()=>Ye(De,()=>{var Ne;return(Ne=q.current)==null?void 0:Ne.validateFiles()}),validate:Lt,setErrors:Ne=>Ye(De,()=>ot.setError(Ne)),forgetError:Ne=>Ye(De,()=>ot.clearErrors(y2(Ne)))});return De};return ot.withPrecognition=qe,s.current?ot.withPrecognition(s.current):ot}var poe=e=>{typeof ke.startTransition=="function"?ke.startTransition(e):setTimeout(e,0)},$r=()=>{},jU=p.createContext(void 0),PU=p.forwardRef(({action:e="",method:t="get",headers:a={},queryStringArrayFormat:o="brackets",errorBag:i=null,showProgress:s=!0,transform:l=V=>V,options:h={},onStart:f=$r,onProgress:y=$r,onFinish:k=$r,onBefore:m=$r,onCancel:x=$r,onSuccess:S=$r,onError:b=$r,onCancelToken:w=$r,onSubmitComplete:_=$r,disableWhileProcessing:N=!1,resetOnError:L=!1,resetOnSuccess:I=!1,setDefaultsOnSuccess:P=!1,invalidateCacheTags:D=[],validateFiles:j=!1,validationTimeout:A=1500,withAllErrors:$=null,children:B,...Z},q)=>{const V=()=>{const[fe,se]=Me();return l(se)},F=$U({}).withPrecognition(()=>oe,()=>Me()[0]).setValidationTimeout(A);j&&F.validateFiles(),($??_i.get("form.withAllErrors"))&&F.withAllErrors(),F.transform(V);const J=p.useRef(void 0),oe=p.useMemo(()=>zr(e)?e.method:t.toLowerCase(),[e,t]),[T,O]=p.useState(!1),R=p.useRef(new FormData),G=fe=>new FormData(J.current,fe),K=fe=>uB(G(fe)),Me=fe=>AP(oe,zr(e)?e.url:e,K(fe),o),X=fe=>{var se;fe.type==="reset"&&((se=fe.detail)!=null&&se[CU])&&fe.preventDefault(),poe(()=>O(fe.type==="reset"?!1:!Mi(K(),uB(R.current))))},ne=(...fe)=>(F.clearErrors(...fe),F);p.useEffect(()=>{R.current=G(),F.setDefaults(K());const fe=["input","change","reset"];return fe.forEach(se=>J.current.addEventListener(se,X)),()=>{fe.forEach(se=>{var Ee;return(Ee=J.current)==null?void 0:Ee.removeEventListener(se,X)})}},[]),p.useEffect(()=>{F.setValidationTimeout(A)},[A]),p.useEffect(()=>{j?F.validateFiles():F.withoutFileValidation()},[j]);const de=(...fe)=>{J.current&&Yae(J.current,R.current,fe),F.reset(...fe)},ce=(...fe)=>{ne(...fe),de(...fe)},ye=fe=>{fe&&(fe===!0?de():fe.length>0&&de(...fe))},pe=fe=>{const[se,Ee]=Me(fe);if((fe==null?void 0:fe.getAttribute("formtarget"))==="_blank"&&oe==="get"){window.open(se,"_blank");return}const st={headers:a,queryStringArrayFormat:o,errorBag:i,showProgress:s,invalidateCacheTags:D,onCancelToken:w,onBefore:m,onStart:f,onProgress:y,onFinish:k,onCancel:x,onSuccess:(...Ve)=>{S(...Ve),_({reset:de,defaults:ve}),ye(I),P===!0&&ve()},onError(...Ve){b(...Ve),ye(L)},...h};F.transform(()=>l(Ee)),F.submit(oe,se,st),F.transform(V)},ve=()=>{R.current=G(),O(!1)},me={errors:F.errors,hasErrors:F.hasErrors,processing:F.processing,progress:F.progress,wasSuccessful:F.wasSuccessful,recentlySuccessful:F.recentlySuccessful,isDirty:T,clearErrors:ne,resetAndClearErrors:ce,setError:F.setError,reset:de,submit:pe,defaults:ve,getData:K,getFormData:G,validator:()=>F.validator(),validating:F.validating,valid:F.valid,invalid:F.invalid,validate:(fe,se)=>F.validate(...Ah.mergeHeadersForValidation(fe,se,a)),touch:F.touch,touched:F.touched};p.useImperativeHandle(q,()=>me,[F,T,pe]);const ge=p.createElement("form",{...Z,ref:J,action:zr(e)?e.url:e,method:oe,onSubmit:fe=>{fe.preventDefault(),pe(fe.nativeEvent.submitter)},inert:N&&F.processing&&(TU?!0:"true")},typeof B=="function"?B(me):B);return p.createElement(jU.Provider,{value:me},ge)});PU.displayName="InertiaForm";function foe(){return p.useContext(jU)}var yoe=PU,moe=function({children:e,title:t}){const a=p.useContext(Fj),o=p.useMemo(()=>a.createProvider(),[a]),i=typeof window>"u";p.useEffect(()=>(o.reconnect(),o.update(m(e)),()=>{o.disconnect()}),[o,e,t]);function s(x){return typeof x.type=="string"&&["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].indexOf(x.type)>-1}function l(x){const S=Object.keys(x.props).reduce((b,w)=>{if(["head-key","children","dangerouslySetInnerHTML"].includes(w))return b;const _=String(x.props[w]);return _===""?b+` ${w}`:b+` ${w}="${dee(_)}"`},"");return`<${String(x.type)}${S}>`}function h(x){const{children:S}=x.props;return typeof S=="string"?S:Array.isArray(S)?S.reduce((b,w)=>b+f(w),""):""}function f(x){let S=l(x);return x.props.children&&(S+=h(x)),x.props.dangerouslySetInnerHTML&&(S+=x.props.dangerouslySetInnerHTML.__html),s(x)||(S+=`</${String(x.type)}>`),S}function y(x){return ke.cloneElement(x,{[o.preferredAttribute()]:x.props["head-key"]!==void 0?x.props["head-key"]:""})}function k(x){return f(y(x))}function m(x){const S=ke.Children.toArray(x).filter(b=>b).map(b=>k(b));return t&&!S.find(b=>b.startsWith("<title"))&&S.push(`<title ${o.preferredAttribute()}>${t}</title>`),S}return i&&o.update(m(e)),null},voe=moe,oj=(e,t)=>e?e&&typeof e=="object"&&"current"in e?e.current:typeof e=="string"?document.querySelector(e):t:t,mh=(e,t,a=null)=>e?typeof e=="function"?e(t):e:a,OU=p.forwardRef(({data:e,buffer:t=0,as:a="div",manual:o=!1,manualAfter:i=0,preserveUrl:s=!1,reverse:l=!1,autoScroll:h,children:f,startElement:y,endElement:k,itemsElement:m,previous:x,next:S,loading:b,onlyNext:w=!1,onlyPrevious:_=!1,...N},L)=>{const[I,P]=p.useState(null),D=p.useCallback(qe=>P(qe),[]),[j,A]=p.useState(null),$=p.useCallback(qe=>A(qe),[]),[B,Z]=p.useState(null),q=p.useCallback(qe=>Z(qe),[]),[V,F]=p.useState(!1),[J,oe]=p.useState(!1),[T,O]=p.useState(0),[R,G]=p.useState(!1),[K,Me]=p.useState(!1),[X,ne]=p.useState(null),[de,ce]=p.useState(null),[ye,pe]=p.useState(null);p.useEffect(()=>{const qe=y?oj(y,I):I;ne(qe)},[y,I]),p.useEffect(()=>{const qe=k?oj(k,j):j;ce(qe)},[k,j]),p.useEffect(()=>{const qe=m?oj(m,B):B;pe(qe)},[m,B]);const ve=p.useMemo(()=>aae(ye),[ye]),me=p.useRef({buffer:t,onlyNext:w,onlyPrevious:_,reverse:l,preserveUrl:s});me.current={buffer:t,onlyNext:w,onlyPrevious:_,reverse:l,preserveUrl:s};const[ge,fe]=p.useState(null),se=p.useMemo(()=>ge==null?void 0:ge.dataManager,[ge]),Ee=p.useMemo(()=>ge==null?void 0:ge.elementManager,[ge]),$e=p.useCallback(()=>{ve?ve.scrollTo({top:ve.scrollHeight,behavior:"instant"}):window.scrollTo({top:document.body.scrollHeight,behavior:"instant"})},[ve]);p.useEffect(()=>{if(!ye)return;function qe(){O(we.dataManager.getRequestCount()),G(we.dataManager.hasPrevious()),Me(we.dataManager.hasNext())}const we=Tae({getPropName:()=>e,inReverseMode:()=>me.current.reverse,shouldFetchNext:()=>!me.current.onlyPrevious,shouldFetchPrevious:()=>!me.current.onlyNext,shouldPreserveUrl:()=>me.current.preserveUrl,getTriggerMargin:()=>me.current.buffer,getStartElement:()=>X,getEndElement:()=>de,getItemsElement:()=>ye,getScrollableParent:()=>ve,onBeforePreviousRequest:()=>F(!0),onBeforeNextRequest:()=>oe(!0),onCompletePreviousRequest:()=>{F(!1),qe()},onCompleteNextRequest:()=>{oe(!1),qe()},onDataReset:qe});fe(we);const{dataManager:De,elementManager:Ne}=we;return qe(),Ne.setupObservers(),Ne.processServerLoadedElements(De.getLastLoadedPage()),Ve&&Ne.enableTriggers(),()=>{we.flush(),fe(null)}},[e,ye,X,de,ve]);const st=p.useMemo(()=>o||i>0&&T>=i,[o,i,T]),Ve=p.useMemo(()=>!st,[st]);p.useEffect(()=>{Ve?Ee==null||Ee.enableTriggers():Ee==null||Ee.disableTriggers()},[Ve,w,_,X,de]),p.useEffect(()=>{(h!==void 0?h:l)&&$e()},[ve]),p.useImperativeHandle(L,()=>({fetchNext:(se==null?void 0:se.fetchNext)||(()=>{}),fetchPrevious:(se==null?void 0:se.fetchPrevious)||(()=>{}),hasPrevious:(se==null?void 0:se.hasPrevious)||(()=>!1),hasNext:(se==null?void 0:se.hasNext)||(()=>!1)}),[se]);const tt=Ve&&!w,ot=Ve&&!_,Ye={loadingPrevious:V,loadingNext:J,hasPrevious:R,hasNext:K},Ut={loading:V,fetch:(se==null?void 0:se.fetchPrevious)??(()=>{}),autoMode:tt,manualMode:!tt,hasMore:R,...Ye},At={loading:J,fetch:(se==null?void 0:se.fetchNext)??(()=>{}),autoMode:ot,manualMode:!ot,hasMore:K,...Ye},Mt={loading:V||J,loadingPrevious:V,loadingNext:J},Lt=[];return y||Lt.push(p.createElement("div",{ref:D},mh(x,Ut,V?mh(b,Ut):null))),Lt.push(p.createElement(a,{...N,ref:q},typeof f=="function"?f(Mt):f)),k||Lt.push(p.createElement("div",{ref:$},mh(S,At,J?mh(b,At):null))),p.createElement(ke.Fragment,{},...l?[...Lt].reverse():Lt)});OU.displayName="InertiaInfiniteScroll";var koe=OU,ma=()=>{},DU=p.forwardRef(({children:e,as:t="a",data:a={},href:o="",method:i="get",preserveScroll:s=!1,preserveState:l=null,preserveUrl:h=!1,replace:f=!1,only:y=[],except:k=[],headers:m={},queryStringArrayFormat:x="brackets",async:S=!1,onClick:b=ma,onCancelToken:w=ma,onBefore:_=ma,onStart:N=ma,onProgress:L=ma,onFinish:I=ma,onCancel:P=ma,onSuccess:D=ma,onError:j=ma,onPrefetching:A=ma,onPrefetched:$=ma,prefetch:B=!1,cacheFor:Z=0,cacheTags:q=[],viewTransition:V=!1,...F},J)=>{const[oe,T]=p.useState(0),O=p.useRef(void 0),R=p.useMemo(()=>zr(o)?o.method:i.toLowerCase(),[o,i]),G=p.useMemo(()=>typeof t!="string"||t.toLowerCase()!=="a"?t:R!=="get"?"button":t.toLowerCase(),[t,R]),K=p.useMemo(()=>AP(R,zr(o)?o.url:o,a,x),[o,R,a,x]),Me=p.useMemo(()=>K[0],[K]),X=p.useMemo(()=>K[1],[K]),ne=p.useMemo(()=>({data:X,method:R,preserveScroll:s,preserveState:l??R!=="get",preserveUrl:h,replace:f,only:y,except:k,headers:m,async:S}),[X,R,s,l,h,f,y,k,m,S]),de=p.useMemo(()=>({...ne,viewTransition:V,onCancelToken:w,onBefore:_,onStart(se){T(Ee=>Ee+1),N(se)},onProgress:L,onFinish(se){T(Ee=>Ee-1),I(se)},onCancel:P,onSuccess:D,onError:j}),[ne,V,w,_,N,L,I,P,D,j]),ce=p.useMemo(()=>B===!0?["hover"]:B===!1?[]:Array.isArray(B)?B:[B],Array.isArray(B)?B:[B]),ye=p.useMemo(()=>Z!==0?Z:ce.length===1&&ce[0]==="click"?0:z1.get("prefetch.cacheFor"),[Z,ce]),pe=p.useMemo(()=>()=>{ut.prefetch(Me,{...ne,onPrefetching:A,onPrefetched:$},{cacheFor:ye,cacheTags:q})},[Me,ne,A,$,ye,q]);p.useEffect(()=>()=>{clearTimeout(O.current)},[]),p.useEffect(()=>{ce.includes("mount")&&setTimeout(()=>pe())},ce);const ve={onClick:se=>{b(se),yh(se)&&(se.preventDefault(),ut.visit(Me,de))}},me={onMouseEnter:()=>{O.current=window.setTimeout(()=>{pe()},z1.get("prefetch.hoverDelay"))},onMouseLeave:()=>{clearTimeout(O.current)},onClick:ve.onClick},ge={onMouseDown:se=>{yh(se)&&(se.preventDefault(),pe())},onKeyDown:se=>{hB(se)&&(se.preventDefault(),pe())},onMouseUp:se=>{yh(se)&&(se.preventDefault(),ut.visit(Me,de))},onKeyUp:se=>{hB(se)&&(se.preventDefault(),ut.visit(Me,de))},onClick:se=>{b(se),yh(se)&&se.preventDefault()}},fe=p.useMemo(()=>G==="button"?{type:"button"}:G==="a"||typeof G!="string"?{href:Me}:{},[G,Me]);return p.createElement(G,{...F,...fe,ref:J,...ce.includes("hover")?me:ce.includes("click")?ge:ve,"data-loading":oe>0?"":void 0},e)});DU.displayName="InertiaLink";var goe=DU;function Moe(e,t={},a={keepAlive:!1,autoStart:!0}){const o=p.useRef(ut.poll(e,t,{...a,autoStart:!1}));return p.useEffect(()=>((a.autoStart??!0)&&o.current.start(),()=>o.current.stop()),[]),{stop:o.current.stop,start:o.current.start}}function xoe(e={}){const t=typeof window>"u"?null:ut.getCached(window.location.pathname,e),a=typeof window>"u"?null:ut.getPrefetching(window.location.pathname,e),[o,i]=p.useState((t==null?void 0:t.staleTimestamp)||null),[s,l]=p.useState(a!==null),[h,f]=p.useState(t!==null);return p.useEffect(()=>{const y=ut.on("prefetching",m=>{m.detail.visit.url.pathname===window.location.pathname&&l(!0)}),k=ut.on("prefetched",m=>{m.detail.visit.url.pathname===window.location.pathname&&(l(!1),f(!0),i(m.detail.fetchedAt))});return()=>{k(),y()}},[]),{lastUpdatedAt:o,isPrefetching:s,isPrefetched:h,flush:()=>ut.flush(window.location.pathname,e)}}var zU=({children:e,data:t,params:a,buffer:o,as:i,always:s,fallback:l})=>{s=s??!1,i=i??"div",l=l??null;const h=RP().props,f=p.useMemo(()=>t?Array.isArray(t)?t:[t]:[],[t]),[y,k]=p.useState(()=>f.length>0&&f.every(D=>h[D]!==void 0)),[m,x]=p.useState(!1),S=p.useRef(!1),b=p.useRef(null),w=p.useRef(null),_=p.useRef(()=>({}));p.useEffect(()=>{f.length>0&&k(f.every(D=>h[D]!==void 0))},[h,f]);const N=p.useCallback(()=>{const D={...a};return t&&(D.only=Array.isArray(t)?t:[t]),D},[a,t]);_.current=N;const L=()=>{var D;(D=w.current)==null||D.disconnect(),w.current=new IntersectionObserver(j=>{if(!j[0].isIntersecting||S.current||!s&&y)return;S.current=!0,x(!0);const A=_.current();ut.reload({...A,onStart:$=>{var B;S.current=!0,x(!0),(B=A.onStart)==null||B.call(A,$)},onFinish:$=>{var B,Z;k(!0),S.current=!1,x(!1),(B=A.onFinish)==null||B.call(A,$),s||(Z=w.current)==null||Z.disconnect()}})},{rootMargin:`${o||0}px`}),w.current.observe(b.current)};p.useEffect(()=>{if(b.current&&!(y&&!s))return L(),()=>{var D;(D=w.current)==null||D.disconnect()}},[s,y,o]);const I=()=>typeof e=="function"?e({fetching:m}):e,P=()=>typeof l=="function"?l():l;return s||!y?p.createElement(i,{props:null,ref:b},y?I():P()):y?I():null};zU.displayName="InertiaWhenVisible";var boe=zU,woe=xn,qU=ut,z1=_i.extend();const HU=Object.freeze(Object.defineProperty({__proto__:null,App:XI,Deferred:hoe,Form:yoe,Head:voe,InfiniteScroll:koe,Link:goe,WhenVisible:boe,config:z1,createInertiaApp:loe,progress:woe,router:qU,useForm:$U,useFormContext:foe,usePage:RP,usePoll:Moe,usePrefetch:xoe,useRemember:Gj},Symbol.toStringTag,{value:"Module"}));var rj={exports:{}},r2={},ij={exports:{}},cj={};/**
90
+ `,document.head.appendChild(t)},qae=()=>{In&&(In.style.display="")},Hae=()=>{In&&(In.style.display="none")},va={configure:Rae,isStarted:MU,done:$ae,set:kA,remove:_U,start:xU,status:Si,show:qae,hide:Hae},Vae=class{constructor(){this.hideCount=0}start(){va.start()}reveal(e=!1){this.hideCount=Math.max(0,this.hideCount-1),(e||this.hideCount===0)&&va.show()}hide(){this.hideCount++,va.hide()}set(e){va.set(Math.max(0,Math.min(1,e)))}finish(){va.done()}reset(){va.set(0)}remove(){va.done(),va.remove()}isStarted(){return va.isStarted()}getStatus(){return va.status}},xn=new Vae;xn.reveal;xn.hide;function Bae(e){document.addEventListener("inertia:start",t=>Fae(t,e)),document.addEventListener("inertia:progress",Uae)}function Fae(e,t){e.detail.visit.showProgress||xn.hide();const a=setTimeout(()=>xn.start(),t);document.addEventListener("inertia:finish",o=>Gae(o,a),{once:!0})}function Uae(e){var t;xn.isStarted()&&((t=e.detail.progress)!=null&&t.percentage)&&xn.set(Math.max(xn.getStatus(),e.detail.progress.percentage/100*.9))}function Gae(e,t){clearTimeout(t),xn.isStarted()&&(e.detail.visit.completed?xn.finish():e.detail.visit.interrupted?xn.reset():e.detail.visit.cancelled&&xn.remove())}function Wae({delay:e=250,color:t="#29d",includeCSS:a=!0,showSpinner:o=!1}={}){Bae(e),va.configure({showSpinner:o,includeCSS:a,color:t})}var CU=Symbol("FormComponentReset");function Bj(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement}function Zae(e,t){const a=e.value,o=e.checked;switch(e.type.toLowerCase()){case"checkbox":e.checked=t.includes(e.value);break;case"radio":e.checked=t[0]===e.value;break;case"file":e.value="";break;case"button":case"submit":case"reset":case"image":break;default:e.value=t[0]!==null&&t[0]!==void 0?String(t[0]):""}return e.value!==a||e.checked!==o}function Xae(e,t){const a=e.value,o=Array.from(e.selectedOptions).map(l=>l.value);if(e.multiple){const l=t.map(h=>String(h));Array.from(e.options).forEach(h=>{h.selected=l.includes(h.value)})}else e.value=t[0]!==void 0?String(t[0]):"";const i=Array.from(e.selectedOptions).map(l=>l.value);return e.multiple?JSON.stringify(o.sort())!==JSON.stringify(i.sort()):e.value!==a}function oj(e,t){if(e.disabled){if(e instanceof HTMLInputElement){const a=e.value,o=e.checked;switch(e.type.toLowerCase()){case"checkbox":case"radio":return e.checked=e.defaultChecked,e.checked!==o;case"file":return e.value="",a!=="";case"button":case"submit":case"reset":case"image":return!1;default:return e.value=e.defaultValue,e.value!==a}}else if(e instanceof HTMLSelectElement){const a=Array.from(e.selectedOptions).map(i=>i.value);Array.from(e.options).forEach(i=>{i.selected=i.defaultSelected});const o=Array.from(e.selectedOptions).map(i=>i.value);return JSON.stringify(a.sort())!==JSON.stringify(o.sort())}else if(e instanceof HTMLTextAreaElement){const a=e.value;return e.value=e.defaultValue,e.value!==a}return!1}if(e instanceof HTMLInputElement)return Zae(e,t);if(e instanceof HTMLSelectElement)return Xae(e,t);if(e instanceof HTMLTextAreaElement){const a=e.value;return e.value=t[0]!==void 0?String(t[0]):"",e.value!==a}return!1}function Kae(e,t){let a=!1;return e instanceof RadioNodeList||e instanceof HTMLCollection?Array.from(e).forEach((o,i)=>{if(o instanceof Element&&Bj(o))if(o instanceof HTMLInputElement&&["checkbox","radio"].includes(o.type.toLowerCase()))oj(o,t)&&(a=!0);else{const s=t[i]!==void 0?[t[i]]:[t[0]??null].filter(Boolean);oj(o,s)&&(a=!0)}}):Bj(e)&&(a=oj(e,t)),a}function Yae(e,t,a){if(!e)return;const o=!a||a.length===0;if(o){const s=new FormData(e),l=Array.from(e.elements).map(h=>Bj(h)?h.name:"").filter(Boolean);a=[...new Set([...t.keys(),...s.keys(),...l])]}let i=!1;a.forEach(s=>{const l=e.elements.namedItem(s);l&&Kae(l,t.getAll(s))&&(i=!0)}),i&&o&&e.dispatchEvent(new CustomEvent("reset",{bubbles:!0,cancelable:!0,detail:{[CU]:!0}}))}var ut=new gae;/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
91
+ * @license MIT */let b2=Nt.create(),NU=(e,t)=>`${e.method}:${e.baseURL??t.defaults.baseURL??""}${e.url}`,LU=e=>e.status===204&&e.headers["precognition-success"]==="true";const WI={},gi={get:(e,t={},a={})=>o2(a2("get",e,t,a)),post:(e,t={},a={})=>o2(a2("post",e,t,a)),patch:(e,t={},a={})=>o2(a2("patch",e,t,a)),put:(e,t={},a={})=>o2(a2("put",e,t,a)),delete:(e,t={},a={})=>o2(a2("delete",e,t,a)),use(e){return b2=e,gi},axios(){return b2},fingerprintRequestsUsing(e){return NU=e===null?()=>null:e,gi},determineSuccessUsing(e){return LU=e,gi}},a2=(e,t,a,o)=>({url:t,method:e,...o,...["get","delete"].includes(e)?{params:jj({},a,o==null?void 0:o.params)}:{data:jj({},a,o==null?void 0:o.data)}}),o2=(e={})=>{const t=[Qae,eoe,toe].reduce((a,o)=>o(a),e);return(t.onBefore??(()=>!0))()===!1?Promise.resolve(null):((t.onStart??(()=>null))(),b2.request(t).then(async a=>{t.precognitive&&pB(a);const o=a.status;let i=a;return t.precognitive&&t.onPrecognitionSuccess&&LU(i)&&(i=await Promise.resolve(t.onPrecognitionSuccess(i)??i)),t.onSuccess&&Jae(o)&&(i=await Promise.resolve(t.onSuccess(i)??i)),(fB(t,o)??(l=>l))(i)??i},a=>noe(a)?Promise.reject(a):(t.precognitive&&pB(a.response),(fB(t,a.response.status)??((i,s)=>Promise.reject(s)))(a.response,a))).finally(t.onFinish??(()=>null)))},Qae=e=>{const t=e.only??e.validate;return{...e,timeout:e.timeout??b2.defaults.timeout??3e4,precognitive:e.precognitive!==!1,fingerprint:typeof e.fingerprint>"u"?NU(e,b2):e.fingerprint,headers:{...e.headers,"Content-Type":aoe(e),...e.precognitive!==!1?{Precognition:!0}:{},...t?{"Precognition-Validate-Only":Array.from(t).join()}:{}}}},Jae=e=>e>=200&&e<300,eoe=e=>{var t;return typeof e.fingerprint!="string"||((t=WI[e.fingerprint])==null||t.abort(),delete WI[e.fingerprint]),e},toe=e=>typeof e.fingerprint!="string"||e.signal||e.cancelToken||!e.precognitive?e:(WI[e.fingerprint]=new AbortController,{...e,signal:WI[e.fingerprint].signal}),pB=e=>{var t;if(((t=e.headers)==null?void 0:t.precognition)!=="true")throw Error("Did not receive a Precognition response. Ensure you have the Precognition middleware in place for the route.")},noe=e=>{var t;return!iU(e)||typeof((t=e.response)==null?void 0:t.status)!="number"||rU(e)},fB=(e,t)=>({401:e.onUnauthorized,403:e.onForbidden,404:e.onNotFound,409:e.onConflict,422:e.onValidationError,423:e.onLocked})[t],aoe=e=>{var t,a,o;return((t=e.headers)==null?void 0:t["Content-Type"])??((a=e.headers)==null?void 0:a["Content-type"])??((o=e.headers)==null?void 0:o["content-type"])??(EU(e.data)?"multipart/form-data":"application/json")},EU=e=>RP(e)||typeof e=="object"&&e!==null&&Object.values(e).some(t=>EU(t)),RP=e=>typeof File<"u"&&e instanceof File||e instanceof Blob||typeof FileList<"u"&&e instanceof FileList&&e.length>0,ooe=(e,t)=>{if(!e.includes("*"))return[e];const a=e.split(".");let o=[""];for(const i of a)if(i==="*"){const s=[];for(const l of o){const h=l?xa(t,l):t;if(Array.isArray(h))for(let f=0;f<h.length;f++)s.push(l?`${l}.${f}`:String(f));else if(h!==null&&typeof h=="object")for(const f of Object.keys(h))s.push(l?`${l}.${f}`:f)}o=s}else o=o.map(s=>s?`${s}.${i}`:i);return o},roe=(e,t)=>t.includes("*")?new RegExp("^"+t.replace(/\./g,"\\.").replace(/\*/g,"[^.]+")+"$").test(e):e===t,yB=(e,t)=>Object.fromEntries(Object.entries(e).filter(([a])=>!t.some(o=>roe(a,o)))),ioe=(e,t={})=>{const a={errorsChanged:[],touchedChanged:[],validatingChanged:[],validatedChanged:[]};let o=!1,i=!1;const s=q=>q!==i?(i=q,a.validatingChanged):[];let l=[];const h=q=>{const B=[...new Set(q)];return l.length!==B.length||!B.every(F=>l.includes(F))?(l=B,a.validatedChanged):[]},f=()=>l.filter(q=>typeof m[q]>"u");let y=[];const k=q=>{const B=[...new Set(q)];return y.length!==B.length||!B.every(F=>y.includes(F))?(y=B,a.touchedChanged):[]};let m={};const x=q=>{const B=soe(q);return Mi(m,B)?[]:(m=B,a.errorsChanged)},S=q=>{const B={...m};return delete B[y2(q)],x(B)},b=()=>Object.keys(m).length>0;let w=1500;const _=q=>{w=q,P.cancel(),P=D()};let N=t,L=null,I=[],O=null;const D=()=>lee(q=>{e({get:(B,F={},J={})=>gi.get(B,V(F),A(J,q,F)),post:(B,F={},J={})=>gi.post(B,V(F),A(J,q,F)),patch:(B,F={},J={})=>gi.patch(B,V(F),A(J,q,F)),put:(B,F={},J={})=>gi.put(B,V(F),A(J,q,F)),delete:(B,F={},J={})=>gi.delete(B,V(F),A(J,q,F))}).catch(B=>{var F;return rU(B)||iU(B)&&((F=B.response)==null?void 0:F.status)===422?null:Promise.reject(B)})},w,{leading:!0,trailing:!0});let P=D();const A=(q,B,F={})=>{const J={...q,...B},pe=Array.from(J.only??J.validate??y);return{...B,...jne(q,B),only:pe,timeout:J.timeout??5e3,onValidationError:(R,$)=>([...h([...l,...pe]),...x(jj(yB({...m},pe),R.data.errors))].forEach(T=>T()),J.onValidationError?J.onValidationError(R,$):Promise.reject($)),onSuccess:R=>(h([...l,...pe]).forEach($=>$()),J.onSuccess?J.onSuccess(R):R),onPrecognitionSuccess:R=>([...h([...l,...pe]),...x(yB({...m},pe))].forEach($=>$()),J.onPrecognitionSuccess?J.onPrecognitionSuccess(R):R),onBefore:()=>{const R=y.some(G=>G.includes("*")),$=R?[...new Set(y.flatMap(G=>ooe(G,F)))]:y;return J.onBeforeValidation&&J.onBeforeValidation({data:F,touched:$},{data:N,touched:I})===!1||(J.onBefore||(()=>!0))()===!1?!1:(R&&k($).forEach(G=>G()),O=y,L=F,!0)},onStart:()=>{s(!0).forEach(R=>R()),(J.onStart??(()=>null))()},onFinish:()=>{s(!1).forEach(R=>R()),I=O,N=L,O=L=null,(J.onFinish??(()=>null))()}}},j=(q,B,F)=>{if(typeof q>"u"){const J=Array.from((F==null?void 0:F.only)??(F==null?void 0:F.validate)??[]);k([...y,...J]).forEach(pe=>pe()),P(F??{});return}if(RP(B)&&!o){console.warn('Precognition file validation is not active. Call the "validateFiles" function on your form to enable it.');return}q=y2(q),(q.includes("*")||xa(N,q)!==B)&&(k([q,...y]).forEach(J=>J()),P(F??{}))},V=q=>o===!1?Fj(q):q,K={touched:()=>y,validate(q,B,F){return typeof q=="object"&&!("target"in q)&&(F=q,q=B=void 0),j(q,B,F),K},touch(q){const B=Array.isArray(q)?q:[y2(q)];return k([...y,...B]).forEach(F=>F()),K},validating:()=>i,valid:f,errors:()=>m,hasErrors:b,setErrors(q){return x(q).forEach(B=>B()),K},forgetError(q){return S(q).forEach(B=>B()),K},defaults(q){return t=q,N=q,K},reset(...q){if(q.length===0)k([]).forEach(B=>B());else{const B=[...y];q.forEach(F=>{B.includes(F)&&B.splice(B.indexOf(F),1),Ma(N,F,xa(t,F))}),k(B).forEach(F=>F())}return K},setTimeout(q){return _(q),K},on(q,B){return a[q].push(B),K},validateFiles(){return o=!0,K},withoutFileValidation(){return o=!1,K}};return K},coe=e=>Object.keys(e).reduce((t,a)=>({...t,[a]:Array.isArray(e[a])?e[a][0]:e[a]}),{}),soe=e=>Object.keys(e).reduce((t,a)=>({...t,[a]:typeof e[a]=="string"?[e[a]]:e[a]}),{}),y2=e=>typeof e!="string"?e.target.name:e,Fj=e=>{const t={...e};return Object.keys(t).forEach(a=>{const o=t[a];if(o!==null){if(RP(o)){delete t[a];return}if(Array.isArray(o)){t[a]=Object.values(Fj({...o}));return}if(typeof o=="object"){t[a]=Fj(t[a]);return}}}),t};var IU=p.createContext(null);IU.displayName="InertiaHeadContext";var Uj=IU,AU=p.createContext(null);AU.displayName="InertiaPageContext";var ZI=AU,Gj=!0,mB=!1,vB=async()=>{Gj=!1};function XI({children:e,initialPage:t,initialComponent:a,resolveComponent:o,titleCallback:i,onHeadUpdate:s}){const[l,h]=p.useState({component:a||null,page:{...t,flash:t.flash??{}},key:null}),f=p.useMemo(()=>_ae(typeof window>"u",i||(k=>k),s||(()=>{})),[]);if(mB||(ut.init({initialPage:t,resolveComponent:o,swapComponent:async k=>vB(k),onFlash:k=>{h(m=>({...m,page:{...m.page,flash:k}}))}}),mB=!0),p.useEffect(()=>{vB=async({component:k,page:m,preserveState:x})=>{if(Gj){Gj=!1;return}Kd.flushSync(()=>h(S=>({component:k,page:m,key:x?S.key:Date.now()})))},ut.on("navigate",()=>f.forceUpdate())},[]),!l.component)return p.createElement(Uj.Provider,{value:f},p.createElement(ZI.Provider,{value:l.page},null));const y=e||(({Component:k,props:m,key:x})=>{const S=p.createElement(k,{key:x,...m});return typeof k.layout=="function"?k.layout(S):Array.isArray(k.layout)?k.layout.concat(S).reverse().reduce((b,w)=>p.createElement(w,{children:b,...m})):S});return p.createElement(Uj.Provider,{value:f},p.createElement(ZI.Provider,{value:l.page},y({Component:l.component,key:l.key,props:l.page.props})))}XI.displayName="Inertia";async function loe({id:e="app",resolve:t,setup:a,title:o,progress:i={},page:s,render:l,defaults:h={}}){z1.replace(h);const f=typeof window>"u",y=z1.get("future.useScriptElementForInitialPage"),k=s||oae(e,y),m=b=>Promise.resolve(t(b)).then(w=>w.default||w);let x=[];const S=await Promise.all([m(k.component),ut.decryptHistory().catch(()=>{})]).then(([b])=>{const w={initialPage:k,initialComponent:b,resolveComponent:m,titleCallback:o};return a(f?{el:null,App:XI,props:{...w,onHeadUpdate:L=>x=L}}:{el:document.getElementById(e),App:XI,props:w})});if(!f&&i&&Wae(i),f&&l){const w=await l(y?p.createElement(p.Fragment,null,p.createElement("script",{"data-page":e,type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(k).replace(/\//g,"\\/")}}),p.createElement("div",{id:e},S)):p.createElement("div",{id:e,"data-page":JSON.stringify(k)},S));return{head:x,body:w}}}function doe(e,t){typeof window>"u"?p.useEffect(e,t):p.useLayoutEffect(e,t)}var TU=typeof ke.use=="function";function gA(){const e=TU?ke.use(ZI):ke.useContext(ZI);if(!e)throw new Error("usePage must be used within the Inertia component");return e}var kB=e=>(e=new URL(e.href),e.hash="",e),uoe=(e,t)=>kB(e).href===kB(t).href,RU=({children:e,data:t,fallback:a})=>{if(!t)throw new Error("`<Deferred>` requires a `data` prop to be a string or array of strings");const[o,i]=p.useState(!1),s=gA().props,l=p.useMemo(()=>Array.isArray(t)?t:[t],[t]);p.useEffect(()=>{const f=qU.on("start",y=>{const k=y.detail.visit.only.length>0||y.detail.visit.except.length>0,m=y.detail.visit.only.find(x=>l.includes(x));uoe(y.detail.visit.url,window.location)&&(!k||m)&&i(!1)});return()=>{f()}},[]),p.useEffect(()=>{i(l.every(f=>s[f]!==void 0))},[s,l]);const h=p.useMemo(()=>l.every(f=>s[f]!==void 0),[l,s]);return o&&h?typeof e=="function"?e():e:typeof a=="function"?a():a};RU.displayName="InertiaDeferred";var hoe=RU;function Wj(e,t,a){const[o,i]=p.useState(()=>{const s=ut.restore(t);return s!==void 0?s:e});return p.useEffect(()=>{const s=a==null?void 0:a.current;if(s&&s.length>0&&typeof o=="object"&&o!==null){const l={...o};s.forEach(h=>delete l[h]),ut.remember(l,t)}else ut.remember(o,t)},[o,t]),[o,i]}function $U(...e){const t=p.useRef(!1),a=Ah.parseUseFormArguments(...e),{rememberKey:o,data:i}=a,s=p.useRef(a.precognitionEndpoint),[l,h]=p.useState(typeof i=="function"?ga(i()):ga(i)),f=p.useRef(null),y=p.useRef(void 0),k=p.useRef([]),[m,x]=o?Wj(l,`${o}:data`,k):p.useState(l),[S,b]=o?Wj({},`${o}:errors`):p.useState({}),[w,_]=p.useState(!1),[N,L]=p.useState(!1),[I,O]=p.useState(null),[D,P]=p.useState(!1),[A,j]=p.useState(!1),V=p.useRef(we=>we),K=p.useMemo(()=>!Mi(m,l),[m,l]),q=p.useRef(null),[B,F]=p.useState(!1),[J,pe]=p.useState([]),[R,$]=p.useState([]),T=p.useRef(null);p.useEffect(()=>(t.current=!0,()=>{t.current=!1}),[]);const G=p.useRef(!1),W=p.useCallback((...we)=>{const{method:De,url:Ne,options:Te}=Ah.parseSubmitArguments(we,s.current);G.current=!1;const Je={...Te,onCancelToken:lt=>{if(f.current=lt,Te.onCancelToken)return Te.onCancelToken(lt)},onBefore:lt=>{if(P(!1),j(!1),clearTimeout(y.current),Te.onBefore)return Te.onBefore(lt)},onStart:lt=>{if(L(!0),Te.onStart)return Te.onStart(lt)},onProgress:lt=>{if(O(lt||null),Te.onProgress)return Te.onProgress(lt)},onSuccess:async lt=>{t.current&&(L(!1),O(null),b({}),_(!1),P(!0),j(!0),y.current=setTimeout(()=>{t.current&&j(!1)},z1.get("form.recentlySuccessfulDuration")));const tn=Te.onSuccess?await Te.onSuccess(lt):null;return t.current&&!G.current&&x(Yn=>(h(ga(Yn)),Yn)),tn},onError:lt=>{var tn;if(t.current&&(L(!1),O(null),b(lt),_(Object.keys(lt).length>0),(tn=q.current)==null||tn.setErrors(lt)),Te.onError)return Te.onError(lt)},onCancel:()=>{if(t.current&&(L(!1),O(null)),Te.onCancel)return Te.onCancel()},onFinish:lt=>{if(t.current&&(L(!1),O(null)),f.current=null,Te.onFinish)return Te.onFinish(lt)}},jt=V.current(m);De==="delete"?ut.delete(Ne,{...Je,data:jt}):ut[De](Ne,jt,Je)},[m,b,V]),Me=p.useCallback((we,De)=>{x(typeof we=="string"?Ne=>Ma(ga(Ne),we,De):typeof we=="function"?Ne=>we(Ne):we)},[x]),[X,ne]=p.useState(!1),le=p.useRef(m);p.useEffect(()=>{le.current=m});const ie=p.useCallback((we,De)=>{var Te;G.current=!0;let Ne={};typeof we>"u"?(Ne={...le.current},h(le.current),ne(!0)):h(Je=>(Ne=typeof we=="string"?Ma(ga(Je),we,De):Object.assign(ga(Je),we),Ne)),(Te=q.current)==null||Te.defaults(Ne)},[h]);doe(()=>{X&&(K&&h(m),ne(!1))},[X]);const ye=p.useCallback((...we)=>{var De;we.length===0?x(l):x(Ne=>we.filter(Te=>SF(l,Te)).reduce((Te,Je)=>Ma(Te,Je,xa(l,Je)),{...Ne})),(De=q.current)==null||De.reset(...we)},[x,l]),he=p.useCallback((we,De)=>{b(Ne=>{var Je;const Te={...Ne,...typeof we=="string"?{[we]:De}:we};return _(Object.keys(Te).length>0),(Je=q.current)==null||Je.setErrors(Te),Te})},[b,_]),ve=p.useCallback((...we)=>{b(De=>{const Ne=Object.keys(De).reduce((Te,Je)=>({...Te,...we.length>0&&!we.includes(Je)?{[Je]:De[Je]}:{}}),{});return _(Object.keys(Ne).length>0),q.current&&(we.length===0?q.current.setErrors({}):we.forEach(q.current.forgetError)),Ne})},[b,_]),me=p.useCallback((...we)=>{ye(...we),ve(...we)},[ye,ve]),ge=we=>(De,Ne={})=>{W(we,De,Ne)},fe=p.useCallback(ge("get"),[W]),ce=p.useCallback(ge("post"),[W]),Ee=p.useCallback(ge("put"),[W]),$e=p.useCallback(ge("patch"),[W]),st=p.useCallback(ge("delete"),[W]),Ve=p.useCallback(()=>{f.current&&f.current.cancel()},[]),tt=p.useCallback(we=>{V.current=we},[]),ot={data:m,setData:Me,isDirty:K,errors:S,hasErrors:w,processing:N,progress:I,wasSuccessful:D,recentlySuccessful:A,transform:tt,setDefaults:ie,reset:ye,setError:he,clearErrors:ve,resetAndClearErrors:me,submit:W,get:fe,post:ce,put:Ee,patch:$e,delete:st,cancel:Ve,dontRemember:(...we)=>(k.current=we,ot)},Ye=(we,De)=>(De(we),we),Ut=p.useCallback(we=>R.includes(we),[R]),At=p.useCallback(we=>we in S,[S]),Mt=p.useCallback(we=>typeof we=="string"?J.includes(we):J.length>0,[J]),Lt=(we,De)=>{if(typeof we=="object"&&!("target"in we)&&(De=we,we=void 0),we===void 0)q.current.validate(De);else{const Ne=y2(we),Te=le.current,Je=V.current(Te);q.current.validate(Ne,xa(Je,Ne),De)}return ot},qe=(...we)=>{if(s.current=Ah.createWayfinderCallback(...we),!q.current){const Ne=ioe(Te=>{const{method:Je,url:jt}=s.current(),lt=le.current,tn=V.current(lt);return Te[Je](jt,tn)},ga(l));q.current=Ne,Ne.on("validatingChanged",()=>{F(Ne.validating())}).on("validatedChanged",()=>{$(Ne.valid())}).on("touchedChanged",()=>{pe(Ne.touched())}).on("errorsChanged",()=>{const Te=T.current??z1.get("form.withAllErrors")?Ne.errors():coe(Ne.errors());b(Te),_(Object.keys(Te).length>0),$(Ne.valid())})}const De=Object.assign(ot,{validating:B,validator:()=>q.current,valid:Ut,invalid:At,touched:Mt,withoutFileValidation:()=>Ye(De,()=>{var Ne;return(Ne=q.current)==null?void 0:Ne.withoutFileValidation()}),touch:(Ne,...Te)=>{var Je,jt,lt;return Array.isArray(Ne)?(Je=q.current)==null||Je.touch(Ne):typeof Ne=="string"?(jt=q.current)==null||jt.touch([Ne,...Te]):(lt=q.current)==null||lt.touch(Ne),De},withAllErrors:()=>Ye(De,()=>T.current=!0),setValidationTimeout:Ne=>Ye(De,()=>{var Te;return(Te=q.current)==null?void 0:Te.setTimeout(Ne)}),validateFiles:()=>Ye(De,()=>{var Ne;return(Ne=q.current)==null?void 0:Ne.validateFiles()}),validate:Lt,setErrors:Ne=>Ye(De,()=>ot.setError(Ne)),forgetError:Ne=>Ye(De,()=>ot.clearErrors(y2(Ne)))});return De};return ot.withPrecognition=qe,s.current?ot.withPrecognition(s.current):ot}var poe=e=>{typeof ke.startTransition=="function"?ke.startTransition(e):setTimeout(e,0)},$r=()=>{},jU=p.createContext(void 0),PU=p.forwardRef(({action:e="",method:t="get",headers:a={},queryStringArrayFormat:o="brackets",errorBag:i=null,showProgress:s=!0,transform:l=B=>B,options:h={},onStart:f=$r,onProgress:y=$r,onFinish:k=$r,onBefore:m=$r,onCancel:x=$r,onSuccess:S=$r,onError:b=$r,onCancelToken:w=$r,onSubmitComplete:_=$r,disableWhileProcessing:N=!1,resetOnError:L=!1,resetOnSuccess:I=!1,setDefaultsOnSuccess:O=!1,invalidateCacheTags:D=[],validateFiles:P=!1,validationTimeout:A=1500,withAllErrors:j=null,children:V,...K},q)=>{const B=()=>{const[fe,ce]=Me();return l(ce)},F=$U({}).withPrecognition(()=>pe,()=>Me()[0]).setValidationTimeout(A);P&&F.validateFiles(),(j??_i.get("form.withAllErrors"))&&F.withAllErrors(),F.transform(B);const J=p.useRef(void 0),pe=p.useMemo(()=>zr(e)?e.method:t.toLowerCase(),[e,t]),[R,$]=p.useState(!1),T=p.useRef(new FormData),G=fe=>new FormData(J.current,fe),W=fe=>uB(G(fe)),Me=fe=>TP(pe,zr(e)?e.url:e,W(fe),o),X=fe=>{var ce;fe.type==="reset"&&((ce=fe.detail)!=null&&ce[CU])&&fe.preventDefault(),poe(()=>$(fe.type==="reset"?!1:!Mi(W(),uB(T.current))))},ne=(...fe)=>(F.clearErrors(...fe),F);p.useEffect(()=>{T.current=G(),F.setDefaults(W());const fe=["input","change","reset"];return fe.forEach(ce=>J.current.addEventListener(ce,X)),()=>{fe.forEach(ce=>{var Ee;return(Ee=J.current)==null?void 0:Ee.removeEventListener(ce,X)})}},[]),p.useEffect(()=>{F.setValidationTimeout(A)},[A]),p.useEffect(()=>{P?F.validateFiles():F.withoutFileValidation()},[P]);const le=(...fe)=>{J.current&&Yae(J.current,T.current,fe),F.reset(...fe)},ie=(...fe)=>{ne(...fe),le(...fe)},ye=fe=>{fe&&(fe===!0?le():fe.length>0&&le(...fe))},he=fe=>{const[ce,Ee]=Me(fe);if((fe==null?void 0:fe.getAttribute("formtarget"))==="_blank"&&pe==="get"){window.open(ce,"_blank");return}const st={headers:a,queryStringArrayFormat:o,errorBag:i,showProgress:s,invalidateCacheTags:D,onCancelToken:w,onBefore:m,onStart:f,onProgress:y,onFinish:k,onCancel:x,onSuccess:(...Ve)=>{S(...Ve),_({reset:le,defaults:ve}),ye(I),O===!0&&ve()},onError(...Ve){b(...Ve),ye(L)},...h};F.transform(()=>l(Ee)),F.submit(pe,ce,st),F.transform(B)},ve=()=>{T.current=G(),$(!1)},me={errors:F.errors,hasErrors:F.hasErrors,processing:F.processing,progress:F.progress,wasSuccessful:F.wasSuccessful,recentlySuccessful:F.recentlySuccessful,isDirty:R,clearErrors:ne,resetAndClearErrors:ie,setError:F.setError,reset:le,submit:he,defaults:ve,getData:W,getFormData:G,validator:()=>F.validator(),validating:F.validating,valid:F.valid,invalid:F.invalid,validate:(fe,ce)=>F.validate(...Ah.mergeHeadersForValidation(fe,ce,a)),touch:F.touch,touched:F.touched};p.useImperativeHandle(q,()=>me,[F,R,he]);const ge=p.createElement("form",{...K,ref:J,action:zr(e)?e.url:e,method:pe,onSubmit:fe=>{fe.preventDefault(),he(fe.nativeEvent.submitter)},inert:N&&F.processing&&(TU?!0:"true")},typeof V=="function"?V(me):V);return p.createElement(jU.Provider,{value:me},ge)});PU.displayName="InertiaForm";function foe(){return p.useContext(jU)}var yoe=PU,moe=function({children:e,title:t}){const a=p.useContext(Uj),o=p.useMemo(()=>a.createProvider(),[a]),i=typeof window>"u";p.useEffect(()=>(o.reconnect(),o.update(m(e)),()=>{o.disconnect()}),[o,e,t]);function s(x){return typeof x.type=="string"&&["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].indexOf(x.type)>-1}function l(x){const S=Object.keys(x.props).reduce((b,w)=>{if(["head-key","children","dangerouslySetInnerHTML"].includes(w))return b;const _=String(x.props[w]);return _===""?b+` ${w}`:b+` ${w}="${dee(_)}"`},"");return`<${String(x.type)}${S}>`}function h(x){const{children:S}=x.props;return typeof S=="string"?S:Array.isArray(S)?S.reduce((b,w)=>b+f(w),""):""}function f(x){let S=l(x);return x.props.children&&(S+=h(x)),x.props.dangerouslySetInnerHTML&&(S+=x.props.dangerouslySetInnerHTML.__html),s(x)||(S+=`</${String(x.type)}>`),S}function y(x){return ke.cloneElement(x,{[o.preferredAttribute()]:x.props["head-key"]!==void 0?x.props["head-key"]:""})}function k(x){return f(y(x))}function m(x){const S=ke.Children.toArray(x).filter(b=>b).map(b=>k(b));return t&&!S.find(b=>b.startsWith("<title"))&&S.push(`<title ${o.preferredAttribute()}>${t}</title>`),S}return i&&o.update(m(e)),null},voe=moe,rj=(e,t)=>e?e&&typeof e=="object"&&"current"in e?e.current:typeof e=="string"?document.querySelector(e):t:t,mh=(e,t,a=null)=>e?typeof e=="function"?e(t):e:a,OU=p.forwardRef(({data:e,buffer:t=0,as:a="div",manual:o=!1,manualAfter:i=0,preserveUrl:s=!1,reverse:l=!1,autoScroll:h,children:f,startElement:y,endElement:k,itemsElement:m,previous:x,next:S,loading:b,onlyNext:w=!1,onlyPrevious:_=!1,...N},L)=>{const[I,O]=p.useState(null),D=p.useCallback(qe=>O(qe),[]),[P,A]=p.useState(null),j=p.useCallback(qe=>A(qe),[]),[V,K]=p.useState(null),q=p.useCallback(qe=>K(qe),[]),[B,F]=p.useState(!1),[J,pe]=p.useState(!1),[R,$]=p.useState(0),[T,G]=p.useState(!1),[W,Me]=p.useState(!1),[X,ne]=p.useState(null),[le,ie]=p.useState(null),[ye,he]=p.useState(null);p.useEffect(()=>{const qe=y?rj(y,I):I;ne(qe)},[y,I]),p.useEffect(()=>{const qe=k?rj(k,P):P;ie(qe)},[k,P]),p.useEffect(()=>{const qe=m?rj(m,V):V;he(qe)},[m,V]);const ve=p.useMemo(()=>aae(ye),[ye]),me=p.useRef({buffer:t,onlyNext:w,onlyPrevious:_,reverse:l,preserveUrl:s});me.current={buffer:t,onlyNext:w,onlyPrevious:_,reverse:l,preserveUrl:s};const[ge,fe]=p.useState(null),ce=p.useMemo(()=>ge==null?void 0:ge.dataManager,[ge]),Ee=p.useMemo(()=>ge==null?void 0:ge.elementManager,[ge]),$e=p.useCallback(()=>{ve?ve.scrollTo({top:ve.scrollHeight,behavior:"instant"}):window.scrollTo({top:document.body.scrollHeight,behavior:"instant"})},[ve]);p.useEffect(()=>{if(!ye)return;function qe(){$(we.dataManager.getRequestCount()),G(we.dataManager.hasPrevious()),Me(we.dataManager.hasNext())}const we=Tae({getPropName:()=>e,inReverseMode:()=>me.current.reverse,shouldFetchNext:()=>!me.current.onlyPrevious,shouldFetchPrevious:()=>!me.current.onlyNext,shouldPreserveUrl:()=>me.current.preserveUrl,getTriggerMargin:()=>me.current.buffer,getStartElement:()=>X,getEndElement:()=>le,getItemsElement:()=>ye,getScrollableParent:()=>ve,onBeforePreviousRequest:()=>F(!0),onBeforeNextRequest:()=>pe(!0),onCompletePreviousRequest:()=>{F(!1),qe()},onCompleteNextRequest:()=>{pe(!1),qe()},onDataReset:qe});fe(we);const{dataManager:De,elementManager:Ne}=we;return qe(),Ne.setupObservers(),Ne.processServerLoadedElements(De.getLastLoadedPage()),Ve&&Ne.enableTriggers(),()=>{we.flush(),fe(null)}},[e,ye,X,le,ve]);const st=p.useMemo(()=>o||i>0&&R>=i,[o,i,R]),Ve=p.useMemo(()=>!st,[st]);p.useEffect(()=>{Ve?Ee==null||Ee.enableTriggers():Ee==null||Ee.disableTriggers()},[Ve,w,_,X,le]),p.useEffect(()=>{(h!==void 0?h:l)&&$e()},[ve]),p.useImperativeHandle(L,()=>({fetchNext:(ce==null?void 0:ce.fetchNext)||(()=>{}),fetchPrevious:(ce==null?void 0:ce.fetchPrevious)||(()=>{}),hasPrevious:(ce==null?void 0:ce.hasPrevious)||(()=>!1),hasNext:(ce==null?void 0:ce.hasNext)||(()=>!1)}),[ce]);const tt=Ve&&!w,ot=Ve&&!_,Ye={loadingPrevious:B,loadingNext:J,hasPrevious:T,hasNext:W},Ut={loading:B,fetch:(ce==null?void 0:ce.fetchPrevious)??(()=>{}),autoMode:tt,manualMode:!tt,hasMore:T,...Ye},At={loading:J,fetch:(ce==null?void 0:ce.fetchNext)??(()=>{}),autoMode:ot,manualMode:!ot,hasMore:W,...Ye},Mt={loading:B||J,loadingPrevious:B,loadingNext:J},Lt=[];return y||Lt.push(p.createElement("div",{ref:D},mh(x,Ut,B?mh(b,Ut):null))),Lt.push(p.createElement(a,{...N,ref:q},typeof f=="function"?f(Mt):f)),k||Lt.push(p.createElement("div",{ref:j},mh(S,At,J?mh(b,At):null))),p.createElement(ke.Fragment,{},...l?[...Lt].reverse():Lt)});OU.displayName="InertiaInfiniteScroll";var koe=OU,ma=()=>{},DU=p.forwardRef(({children:e,as:t="a",data:a={},href:o="",method:i="get",preserveScroll:s=!1,preserveState:l=null,preserveUrl:h=!1,replace:f=!1,only:y=[],except:k=[],headers:m={},queryStringArrayFormat:x="brackets",async:S=!1,onClick:b=ma,onCancelToken:w=ma,onBefore:_=ma,onStart:N=ma,onProgress:L=ma,onFinish:I=ma,onCancel:O=ma,onSuccess:D=ma,onError:P=ma,onPrefetching:A=ma,onPrefetched:j=ma,prefetch:V=!1,cacheFor:K=0,cacheTags:q=[],viewTransition:B=!1,...F},J)=>{const[pe,R]=p.useState(0),$=p.useRef(void 0),T=p.useMemo(()=>zr(o)?o.method:i.toLowerCase(),[o,i]),G=p.useMemo(()=>typeof t!="string"||t.toLowerCase()!=="a"?t:T!=="get"?"button":t.toLowerCase(),[t,T]),W=p.useMemo(()=>TP(T,zr(o)?o.url:o,a,x),[o,T,a,x]),Me=p.useMemo(()=>W[0],[W]),X=p.useMemo(()=>W[1],[W]),ne=p.useMemo(()=>({data:X,method:T,preserveScroll:s,preserveState:l??T!=="get",preserveUrl:h,replace:f,only:y,except:k,headers:m,async:S}),[X,T,s,l,h,f,y,k,m,S]),le=p.useMemo(()=>({...ne,viewTransition:B,onCancelToken:w,onBefore:_,onStart(ce){R(Ee=>Ee+1),N(ce)},onProgress:L,onFinish(ce){R(Ee=>Ee-1),I(ce)},onCancel:O,onSuccess:D,onError:P}),[ne,B,w,_,N,L,I,O,D,P]),ie=p.useMemo(()=>V===!0?["hover"]:V===!1?[]:Array.isArray(V)?V:[V],Array.isArray(V)?V:[V]),ye=p.useMemo(()=>K!==0?K:ie.length===1&&ie[0]==="click"?0:z1.get("prefetch.cacheFor"),[K,ie]),he=p.useMemo(()=>()=>{ut.prefetch(Me,{...ne,onPrefetching:A,onPrefetched:j},{cacheFor:ye,cacheTags:q})},[Me,ne,A,j,ye,q]);p.useEffect(()=>()=>{clearTimeout($.current)},[]),p.useEffect(()=>{ie.includes("mount")&&setTimeout(()=>he())},ie);const ve={onClick:ce=>{b(ce),yh(ce)&&(ce.preventDefault(),ut.visit(Me,le))}},me={onMouseEnter:()=>{$.current=window.setTimeout(()=>{he()},z1.get("prefetch.hoverDelay"))},onMouseLeave:()=>{clearTimeout($.current)},onClick:ve.onClick},ge={onMouseDown:ce=>{yh(ce)&&(ce.preventDefault(),he())},onKeyDown:ce=>{hB(ce)&&(ce.preventDefault(),he())},onMouseUp:ce=>{yh(ce)&&(ce.preventDefault(),ut.visit(Me,le))},onKeyUp:ce=>{hB(ce)&&(ce.preventDefault(),ut.visit(Me,le))},onClick:ce=>{b(ce),yh(ce)&&ce.preventDefault()}},fe=p.useMemo(()=>G==="button"?{type:"button"}:G==="a"||typeof G!="string"?{href:Me}:{},[G,Me]);return p.createElement(G,{...F,...fe,ref:J,...ie.includes("hover")?me:ie.includes("click")?ge:ve,"data-loading":pe>0?"":void 0},e)});DU.displayName="InertiaLink";var goe=DU;function Moe(e,t={},a={keepAlive:!1,autoStart:!0}){const o=p.useRef(ut.poll(e,t,{...a,autoStart:!1}));return p.useEffect(()=>((a.autoStart??!0)&&o.current.start(),()=>o.current.stop()),[]),{stop:o.current.stop,start:o.current.start}}function xoe(e={}){const t=typeof window>"u"?null:ut.getCached(window.location.pathname,e),a=typeof window>"u"?null:ut.getPrefetching(window.location.pathname,e),[o,i]=p.useState((t==null?void 0:t.staleTimestamp)||null),[s,l]=p.useState(a!==null),[h,f]=p.useState(t!==null);return p.useEffect(()=>{const y=ut.on("prefetching",m=>{m.detail.visit.url.pathname===window.location.pathname&&l(!0)}),k=ut.on("prefetched",m=>{m.detail.visit.url.pathname===window.location.pathname&&(l(!1),f(!0),i(m.detail.fetchedAt))});return()=>{k(),y()}},[]),{lastUpdatedAt:o,isPrefetching:s,isPrefetched:h,flush:()=>ut.flush(window.location.pathname,e)}}var zU=({children:e,data:t,params:a,buffer:o,as:i,always:s,fallback:l})=>{s=s??!1,i=i??"div",l=l??null;const h=gA().props,f=p.useMemo(()=>t?Array.isArray(t)?t:[t]:[],[t]),[y,k]=p.useState(()=>f.length>0&&f.every(D=>h[D]!==void 0)),[m,x]=p.useState(!1),S=p.useRef(!1),b=p.useRef(null),w=p.useRef(null),_=p.useRef(()=>({}));p.useEffect(()=>{f.length>0&&k(f.every(D=>h[D]!==void 0))},[h,f]);const N=p.useCallback(()=>{const D={...a};return t&&(D.only=Array.isArray(t)?t:[t]),D},[a,t]);_.current=N;const L=()=>{var D;(D=w.current)==null||D.disconnect(),w.current=new IntersectionObserver(P=>{if(!P[0].isIntersecting||S.current||!s&&y)return;S.current=!0,x(!0);const A=_.current();ut.reload({...A,onStart:j=>{var V;S.current=!0,x(!0),(V=A.onStart)==null||V.call(A,j)},onFinish:j=>{var V,K;k(!0),S.current=!1,x(!1),(V=A.onFinish)==null||V.call(A,j),s||(K=w.current)==null||K.disconnect()}})},{rootMargin:`${o||0}px`}),w.current.observe(b.current)};p.useEffect(()=>{if(b.current&&!(y&&!s))return L(),()=>{var D;(D=w.current)==null||D.disconnect()}},[s,y,o]);const I=()=>typeof e=="function"?e({fetching:m}):e,O=()=>typeof l=="function"?l():l;return s||!y?p.createElement(i,{props:null,ref:b},y?I():O()):y?I():null};zU.displayName="InertiaWhenVisible";var boe=zU,woe=xn,qU=ut,z1=_i.extend();const HU=Object.freeze(Object.defineProperty({__proto__:null,App:XI,Deferred:hoe,Form:yoe,Head:voe,InfiniteScroll:koe,Link:goe,WhenVisible:boe,config:z1,createInertiaApp:loe,progress:woe,router:qU,useForm:$U,useFormContext:foe,usePage:gA,usePoll:Moe,usePrefetch:xoe,useRemember:Wj},Symbol.toStringTag,{value:"Module"}));var ij={exports:{}},r2={},cj={exports:{}},sj={};/**
92
92
  * @license React
93
93
  * scheduler.production.js
94
94
  *
@@ -96,7 +96,7 @@ import{a as see,c as GH,b as xa,s as Ma,d as ga,i as Mi,h as SF,m as $j,e as lee
96
96
  *
97
97
  * This source code is licensed under the MIT license found in the
98
98
  * LICENSE file in the root directory of this source tree.
99
- */var gB;function _oe(){return gB||(gB=1,(function(e){function t(T,O){var R=T.length;T.push(O);e:for(;0<R;){var G=R-1>>>1,K=T[G];if(0<i(K,O))T[G]=O,T[R]=K,R=G;else break e}}function a(T){return T.length===0?null:T[0]}function o(T){if(T.length===0)return null;var O=T[0],R=T.pop();if(R!==O){T[0]=R;e:for(var G=0,K=T.length,Me=K>>>1;G<Me;){var X=2*(G+1)-1,ne=T[X],de=X+1,ce=T[de];if(0>i(ne,R))de<K&&0>i(ce,ne)?(T[G]=ce,T[de]=R,G=de):(T[G]=ne,T[X]=R,G=X);else if(de<K&&0>i(ce,R))T[G]=ce,T[de]=R,G=de;else break e}}return O}function i(T,O){var R=T.sortIndex-O.sortIndex;return R!==0?R:T.id-O.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,h=l.now();e.unstable_now=function(){return l.now()-h}}var f=[],y=[],k=1,m=null,x=3,S=!1,b=!1,w=!1,_=!1,N=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function P(T){for(var O=a(y);O!==null;){if(O.callback===null)o(y);else if(O.startTime<=T)o(y),O.sortIndex=O.expirationTime,t(f,O);else break;O=a(y)}}function D(T){if(w=!1,P(T),!b)if(a(f)!==null)b=!0,j||(j=!0,V());else{var O=a(y);O!==null&&oe(D,O.startTime-T)}}var j=!1,A=-1,$=5,B=-1;function Z(){return _?!0:!(e.unstable_now()-B<$)}function q(){if(_=!1,j){var T=e.unstable_now();B=T;var O=!0;try{e:{b=!1,w&&(w=!1,L(A),A=-1),S=!0;var R=x;try{t:{for(P(T),m=a(f);m!==null&&!(m.expirationTime>T&&Z());){var G=m.callback;if(typeof G=="function"){m.callback=null,x=m.priorityLevel;var K=G(m.expirationTime<=T);if(T=e.unstable_now(),typeof K=="function"){m.callback=K,P(T),O=!0;break t}m===a(f)&&o(f),P(T)}else o(f);m=a(f)}if(m!==null)O=!0;else{var Me=a(y);Me!==null&&oe(D,Me.startTime-T),O=!1}}break e}finally{m=null,x=R,S=!1}O=void 0}}finally{O?V():j=!1}}}var V;if(typeof I=="function")V=function(){I(q)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,J=F.port2;F.port1.onmessage=q,V=function(){J.postMessage(null)}}else V=function(){N(q,0)};function oe(T,O){A=N(function(){T(e.unstable_now())},O)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_next=function(T){switch(x){case 1:case 2:case 3:var O=3;break;default:O=x}var R=x;x=O;try{return T()}finally{x=R}},e.unstable_requestPaint=function(){_=!0},e.unstable_runWithPriority=function(T,O){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var R=x;x=T;try{return O()}finally{x=R}},e.unstable_scheduleCallback=function(T,O,R){var G=e.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?G+R:G):R=G,T){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=R+K,T={id:k++,callback:O,priorityLevel:T,startTime:R,expirationTime:K,sortIndex:-1},R>G?(T.sortIndex=R,t(y,T),a(f)===null&&T===a(y)&&(w?(L(A),A=-1):w=!0,oe(D,R-G))):(T.sortIndex=K,t(f,T),b||S||(b=!0,j||(j=!0,V()))),T},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(T){var O=x;return function(){var R=x;x=O;try{return T.apply(this,arguments)}finally{x=R}}}})(cj)),cj}var MB;function Soe(){return MB||(MB=1,ij.exports=_oe()),ij.exports}/**
99
+ */var gB;function _oe(){return gB||(gB=1,(function(e){function t(R,$){var T=R.length;R.push($);e:for(;0<T;){var G=T-1>>>1,W=R[G];if(0<i(W,$))R[G]=$,R[T]=W,T=G;else break e}}function a(R){return R.length===0?null:R[0]}function o(R){if(R.length===0)return null;var $=R[0],T=R.pop();if(T!==$){R[0]=T;e:for(var G=0,W=R.length,Me=W>>>1;G<Me;){var X=2*(G+1)-1,ne=R[X],le=X+1,ie=R[le];if(0>i(ne,T))le<W&&0>i(ie,ne)?(R[G]=ie,R[le]=T,G=le):(R[G]=ne,R[X]=T,G=X);else if(le<W&&0>i(ie,T))R[G]=ie,R[le]=T,G=le;else break e}}return $}function i(R,$){var T=R.sortIndex-$.sortIndex;return T!==0?T:R.id-$.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,h=l.now();e.unstable_now=function(){return l.now()-h}}var f=[],y=[],k=1,m=null,x=3,S=!1,b=!1,w=!1,_=!1,N=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null;function O(R){for(var $=a(y);$!==null;){if($.callback===null)o(y);else if($.startTime<=R)o(y),$.sortIndex=$.expirationTime,t(f,$);else break;$=a(y)}}function D(R){if(w=!1,O(R),!b)if(a(f)!==null)b=!0,P||(P=!0,B());else{var $=a(y);$!==null&&pe(D,$.startTime-R)}}var P=!1,A=-1,j=5,V=-1;function K(){return _?!0:!(e.unstable_now()-V<j)}function q(){if(_=!1,P){var R=e.unstable_now();V=R;var $=!0;try{e:{b=!1,w&&(w=!1,L(A),A=-1),S=!0;var T=x;try{t:{for(O(R),m=a(f);m!==null&&!(m.expirationTime>R&&K());){var G=m.callback;if(typeof G=="function"){m.callback=null,x=m.priorityLevel;var W=G(m.expirationTime<=R);if(R=e.unstable_now(),typeof W=="function"){m.callback=W,O(R),$=!0;break t}m===a(f)&&o(f),O(R)}else o(f);m=a(f)}if(m!==null)$=!0;else{var Me=a(y);Me!==null&&pe(D,Me.startTime-R),$=!1}}break e}finally{m=null,x=T,S=!1}$=void 0}}finally{$?B():P=!1}}}var B;if(typeof I=="function")B=function(){I(q)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,J=F.port2;F.port1.onmessage=q,B=function(){J.postMessage(null)}}else B=function(){N(q,0)};function pe(R,$){A=N(function(){R(e.unstable_now())},$)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(R){R.callback=null},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_next=function(R){switch(x){case 1:case 2:case 3:var $=3;break;default:$=x}var T=x;x=$;try{return R()}finally{x=T}},e.unstable_requestPaint=function(){_=!0},e.unstable_runWithPriority=function(R,$){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var T=x;x=R;try{return $()}finally{x=T}},e.unstable_scheduleCallback=function(R,$,T){var G=e.unstable_now();switch(typeof T=="object"&&T!==null?(T=T.delay,T=typeof T=="number"&&0<T?G+T:G):T=G,R){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=T+W,R={id:k++,callback:$,priorityLevel:R,startTime:T,expirationTime:W,sortIndex:-1},T>G?(R.sortIndex=T,t(y,R),a(f)===null&&R===a(y)&&(w?(L(A),A=-1):w=!0,pe(D,T-G))):(R.sortIndex=W,t(f,R),b||S||(b=!0,P||(P=!0,B()))),R},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(R){var $=x;return function(){var T=x;x=$;try{return R.apply(this,arguments)}finally{x=T}}}})(sj)),sj}var MB;function Soe(){return MB||(MB=1,cj.exports=_oe()),cj.exports}/**
100
100
  * @license React
101
101
  * react-dom-client.production.js
102
102
  *
@@ -104,15 +104,15 @@ import{a as see,c as GH,b as xa,s as Ma,d as ga,i as Mi,h as SF,m as $j,e as lee
104
104
  *
105
105
  * This source code is licensed under the MIT license found in the
106
106
  * LICENSE file in the root directory of this source tree.
107
- */var xB;function Coe(){if(xB)return r2;xB=1;var e=Soe(),t=CF(),a=pee();function o(n){var r="https://react.dev/errors/"+n;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)r+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function s(n){var r=n,c=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,(r.flags&4098)!==0&&(c=r.return),n=r.return;while(n)}return r.tag===3?c:null}function l(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function h(n){if(n.tag===31){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function f(n){if(s(n)!==n)throw Error(o(188))}function y(n){var r=n.alternate;if(!r){if(r=s(n),r===null)throw Error(o(188));return r!==n?null:n}for(var c=n,u=r;;){var v=c.return;if(v===null)break;var g=v.alternate;if(g===null){if(u=v.return,u!==null){c=u;continue}break}if(v.child===g.child){for(g=v.child;g;){if(g===c)return f(v),n;if(g===u)return f(v),r;g=g.sibling}throw Error(o(188))}if(c.return!==u.return)c=v,u=g;else{for(var C=!1,E=v.child;E;){if(E===c){C=!0,c=v,u=g;break}if(E===u){C=!0,u=v,c=g;break}E=E.sibling}if(!C){for(E=g.child;E;){if(E===c){C=!0,c=g,u=v;break}if(E===u){C=!0,u=g,c=v;break}E=E.sibling}if(!C)throw Error(o(189))}}if(c.alternate!==u)throw Error(o(190))}if(c.tag!==3)throw Error(o(188));return c.stateNode.current===c?n:r}function k(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n;for(n=n.child;n!==null;){if(r=k(n),r!==null)return r;n=n.sibling}return null}var m=Object.assign,x=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),I=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),B=Symbol.for("react.activity"),Z=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function V(n){return n===null||typeof n!="object"?null:(n=q&&n[q]||n["@@iterator"],typeof n=="function"?n:null)}var F=Symbol.for("react.client.reference");function J(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===F?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case w:return"Fragment";case N:return"Profiler";case _:return"StrictMode";case D:return"Suspense";case j:return"SuspenseList";case B:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case b:return"Portal";case I:return n.displayName||"Context";case L:return(n._context.displayName||"Context")+".Consumer";case P:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case A:return r=n.displayName||null,r!==null?r:J(n.type)||"Memo";case $:r=n._payload,n=n._init;try{return J(n(r))}catch{}}return null}var oe=Array.isArray,T=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R={pending:!1,data:null,method:null,action:null},G=[],K=-1;function Me(n){return{current:n}}function X(n){0>K||(n.current=G[K],G[K]=null,K--)}function ne(n,r){K++,G[K]=n.current,n.current=r}var de=Me(null),ce=Me(null),ye=Me(null),pe=Me(null);function ve(n,r){switch(ne(ye,r),ne(ce,n),ne(de,null),r.nodeType){case 9:case 11:n=(n=r.documentElement)&&(n=n.namespaceURI)?yH(n):0;break;default:if(n=r.tagName,r=r.namespaceURI)r=yH(r),n=mH(r,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}X(de),ne(de,n)}function me(){X(de),X(ce),X(ye)}function ge(n){n.memoizedState!==null&&ne(pe,n);var r=de.current,c=mH(r,n.type);r!==c&&(ne(ce,n),ne(de,c))}function fe(n){ce.current===n&&(X(de),X(ce)),pe.current===n&&(X(pe),Ku._currentValue=R)}var se,Ee;function $e(n){if(se===void 0)try{throw Error()}catch(c){var r=c.stack.trim().match(/\n( *(at )?)/);se=r&&r[1]||"",Ee=-1<c.stack.indexOf(`
107
+ */var xB;function Coe(){if(xB)return r2;xB=1;var e=Soe(),t=CF(),a=pee();function o(n){var r="https://react.dev/errors/"+n;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)r+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function s(n){var r=n,c=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,(r.flags&4098)!==0&&(c=r.return),n=r.return;while(n)}return r.tag===3?c:null}function l(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function h(n){if(n.tag===31){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function f(n){if(s(n)!==n)throw Error(o(188))}function y(n){var r=n.alternate;if(!r){if(r=s(n),r===null)throw Error(o(188));return r!==n?null:n}for(var c=n,u=r;;){var v=c.return;if(v===null)break;var g=v.alternate;if(g===null){if(u=v.return,u!==null){c=u;continue}break}if(v.child===g.child){for(g=v.child;g;){if(g===c)return f(v),n;if(g===u)return f(v),r;g=g.sibling}throw Error(o(188))}if(c.return!==u.return)c=v,u=g;else{for(var C=!1,E=v.child;E;){if(E===c){C=!0,c=v,u=g;break}if(E===u){C=!0,u=v,c=g;break}E=E.sibling}if(!C){for(E=g.child;E;){if(E===c){C=!0,c=g,u=v;break}if(E===u){C=!0,u=g,c=v;break}E=E.sibling}if(!C)throw Error(o(189))}}if(c.alternate!==u)throw Error(o(190))}if(c.tag!==3)throw Error(o(188));return c.stateNode.current===c?n:r}function k(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n;for(n=n.child;n!==null;){if(r=k(n),r!==null)return r;n=n.sibling}return null}var m=Object.assign,x=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),I=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),V=Symbol.for("react.activity"),K=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function B(n){return n===null||typeof n!="object"?null:(n=q&&n[q]||n["@@iterator"],typeof n=="function"?n:null)}var F=Symbol.for("react.client.reference");function J(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===F?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case w:return"Fragment";case N:return"Profiler";case _:return"StrictMode";case D:return"Suspense";case P:return"SuspenseList";case V:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case b:return"Portal";case I:return n.displayName||"Context";case L:return(n._context.displayName||"Context")+".Consumer";case O:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case A:return r=n.displayName||null,r!==null?r:J(n.type)||"Memo";case j:r=n._payload,n=n._init;try{return J(n(r))}catch{}}return null}var pe=Array.isArray,R=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T={pending:!1,data:null,method:null,action:null},G=[],W=-1;function Me(n){return{current:n}}function X(n){0>W||(n.current=G[W],G[W]=null,W--)}function ne(n,r){W++,G[W]=n.current,n.current=r}var le=Me(null),ie=Me(null),ye=Me(null),he=Me(null);function ve(n,r){switch(ne(ye,r),ne(ie,n),ne(le,null),r.nodeType){case 9:case 11:n=(n=r.documentElement)&&(n=n.namespaceURI)?yH(n):0;break;default:if(n=r.tagName,r=r.namespaceURI)r=yH(r),n=mH(r,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}X(le),ne(le,n)}function me(){X(le),X(ie),X(ye)}function ge(n){n.memoizedState!==null&&ne(he,n);var r=le.current,c=mH(r,n.type);r!==c&&(ne(ie,n),ne(le,c))}function fe(n){ie.current===n&&(X(le),X(ie)),he.current===n&&(X(he),Ku._currentValue=T)}var ce,Ee;function $e(n){if(ce===void 0)try{throw Error()}catch(c){var r=c.stack.trim().match(/\n( *(at )?)/);ce=r&&r[1]||"",Ee=-1<c.stack.indexOf(`
108
108
  at`)?" (<anonymous>)":-1<c.stack.indexOf("@")?"@unknown:0:0":""}return`
109
- `+se+n+Ee}var st=!1;function Ve(n,r){if(!n||st)return"";st=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(r){var he=function(){throw Error()};if(Object.defineProperty(he.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(he,[])}catch(ie){var te=ie}Reflect.construct(n,[],he)}else{try{he.call()}catch(ie){te=ie}n.call(he.prototype)}}else{try{throw Error()}catch(ie){te=ie}(he=n())&&typeof he.catch=="function"&&he.catch(function(){})}}catch(ie){if(ie&&te&&typeof ie.stack=="string")return[ie.stack,te.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=u.DetermineComponentFrameRoot(),C=g[0],E=g[1];if(C&&E){var z=C.split(`
109
+ `+ce+n+Ee}var st=!1;function Ve(n,r){if(!n||st)return"";st=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(r){var ue=function(){throw Error()};if(Object.defineProperty(ue.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ue,[])}catch(re){var te=re}Reflect.construct(n,[],ue)}else{try{ue.call()}catch(re){te=re}n.call(ue.prototype)}}else{try{throw Error()}catch(re){te=re}(ue=n())&&typeof ue.catch=="function"&&ue.catch(function(){})}}catch(re){if(re&&te&&typeof re.stack=="string")return[re.stack,te.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=u.DetermineComponentFrameRoot(),C=g[0],E=g[1];if(C&&E){var z=C.split(`
110
110
  `),Q=E.split(`
111
- `);for(v=u=0;u<z.length&&!z[u].includes("DetermineComponentFrameRoot");)u++;for(;v<Q.length&&!Q[v].includes("DetermineComponentFrameRoot");)v++;if(u===z.length||v===Q.length)for(u=z.length-1,v=Q.length-1;1<=u&&0<=v&&z[u]!==Q[v];)v--;for(;1<=u&&0<=v;u--,v--)if(z[u]!==Q[v]){if(u!==1||v!==1)do if(u--,v--,0>v||z[u]!==Q[v]){var le=`
112
- `+z[u].replace(" at new "," at ");return n.displayName&&le.includes("<anonymous>")&&(le=le.replace("<anonymous>",n.displayName)),le}while(1<=u&&0<=v);break}}}finally{st=!1,Error.prepareStackTrace=c}return(c=n?n.displayName||n.name:"")?$e(c):""}function tt(n,r){switch(n.tag){case 26:case 27:case 5:return $e(n.type);case 16:return $e("Lazy");case 13:return n.child!==r&&r!==null?$e("Suspense Fallback"):$e("Suspense");case 19:return $e("SuspenseList");case 0:case 15:return Ve(n.type,!1);case 11:return Ve(n.type.render,!1);case 1:return Ve(n.type,!0);case 31:return $e("Activity");default:return""}}function ot(n){try{var r="",c=null;do r+=tt(n,c),c=n,n=n.return;while(n);return r}catch(u){return`
111
+ `);for(v=u=0;u<z.length&&!z[u].includes("DetermineComponentFrameRoot");)u++;for(;v<Q.length&&!Q[v].includes("DetermineComponentFrameRoot");)v++;if(u===z.length||v===Q.length)for(u=z.length-1,v=Q.length-1;1<=u&&0<=v&&z[u]!==Q[v];)v--;for(;1<=u&&0<=v;u--,v--)if(z[u]!==Q[v]){if(u!==1||v!==1)do if(u--,v--,0>v||z[u]!==Q[v]){var se=`
112
+ `+z[u].replace(" at new "," at ");return n.displayName&&se.includes("<anonymous>")&&(se=se.replace("<anonymous>",n.displayName)),se}while(1<=u&&0<=v);break}}}finally{st=!1,Error.prepareStackTrace=c}return(c=n?n.displayName||n.name:"")?$e(c):""}function tt(n,r){switch(n.tag){case 26:case 27:case 5:return $e(n.type);case 16:return $e("Lazy");case 13:return n.child!==r&&r!==null?$e("Suspense Fallback"):$e("Suspense");case 19:return $e("SuspenseList");case 0:case 15:return Ve(n.type,!1);case 11:return Ve(n.type.render,!1);case 1:return Ve(n.type,!0);case 31:return $e("Activity");default:return""}}function ot(n){try{var r="",c=null;do r+=tt(n,c),c=n,n=n.return;while(n);return r}catch(u){return`
113
113
  Error generating stack: `+u.message+`
114
- `+u.stack}}var Ye=Object.prototype.hasOwnProperty,Ut=e.unstable_scheduleCallback,At=e.unstable_cancelCallback,Mt=e.unstable_shouldYield,Lt=e.unstable_requestPaint,qe=e.unstable_now,we=e.unstable_getCurrentPriorityLevel,De=e.unstable_ImmediatePriority,Ne=e.unstable_UserBlockingPriority,Te=e.unstable_NormalPriority,Je=e.unstable_LowPriority,jt=e.unstable_IdlePriority,lt=e.log,tn=e.unstable_setDisableYieldValue,Yn=null,Gt=null;function ln(n){if(typeof lt=="function"&&tn(n),Gt&&typeof Gt.setStrictMode=="function")try{Gt.setStrictMode(Yn,n)}catch{}}var W=Math.clz32?Math.clz32:Ge,ae=Math.log,Ue=Math.LN2;function Ge(n){return n>>>=0,n===0?32:31-(ae(n)/Ue|0)|0}var rt=256,Oe=262144,dn=4194304;function Kt(n){var r=n&42;if(r!==0)return r;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function Ie(n,r,c){var u=n.pendingLanes;if(u===0)return 0;var v=0,g=n.suspendedLanes,C=n.pingedLanes;n=n.warmLanes;var E=u&134217727;return E!==0?(u=E&~g,u!==0?v=Kt(u):(C&=E,C!==0?v=Kt(C):c||(c=E&~n,c!==0&&(v=Kt(c))))):(E=u&~g,E!==0?v=Kt(E):C!==0?v=Kt(C):c||(c=u&~n,c!==0&&(v=Kt(c)))),v===0?0:r!==0&&r!==v&&(r&g)===0&&(g=v&-v,c=r&-r,g>=c||g===32&&(c&4194048)!==0)?r:v}function nt(n,r){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&r)===0}function Tt(n,r){switch(n){case 1:case 2:case 4:case 8:case 64:return r+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Et(){var n=dn;return dn<<=1,(dn&62914560)===0&&(dn=4194304),n}function zt(n){for(var r=[],c=0;31>c;c++)r.push(n);return r}function xt(n,r){n.pendingLanes|=r,r!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function nn(n,r,c,u,v,g){var C=n.pendingLanes;n.pendingLanes=c,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=c,n.entangledLanes&=c,n.errorRecoveryDisabledLanes&=c,n.shellSuspendCounter=0;var E=n.entanglements,z=n.expirationTimes,Q=n.hiddenUpdates;for(c=C&~c;0<c;){var le=31-W(c),he=1<<le;E[le]=0,z[le]=-1;var te=Q[le];if(te!==null)for(Q[le]=null,le=0;le<te.length;le++){var ie=te[le];ie!==null&&(ie.lane&=-536870913)}c&=~he}u!==0&&Wo(n,u,0),g!==0&&v===0&&n.tag!==0&&(n.suspendedLanes|=g&~(C&~r))}function Wo(n,r,c){n.pendingLanes|=r,n.suspendedLanes&=~r;var u=31-W(r);n.entangledLanes|=r,n.entanglements[u]=n.entanglements[u]|1073741824|c&261930}function qt(n,r){var c=n.entangledLanes|=r;for(n=n.entanglements;c;){var u=31-W(c),v=1<<u;v&r|n[u]&r&&(n[u]|=r),c&=~v}}function Yt(n,r){var c=r&-r;return c=(c&42)!==0?1:ua(c),(c&(n.suspendedLanes|r))!==0?0:c}function ua(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function yn(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Oi(){var n=O.p;return n!==0?n:(n=window.event,n===void 0?32:zH(n.type))}function lu(n,r){var c=O.p;try{return O.p=n,r()}finally{O.p=c}}var ha=Math.random().toString(36).slice(2),Pt="__reactFiber$"+ha,an="__reactProps$"+ha,Zo="__reactContainer$"+ha,K1="__reactEvents$"+ha,XA="__reactListeners$"+ha,du="__reactHandles$"+ha,fr="__reactResources$"+ha,Xo="__reactMarker$"+ha;function uu(n){delete n[Pt],delete n[an],delete n[K1],delete n[XA],delete n[du]}function yr(n){var r=n[Pt];if(r)return r;for(var c=n.parentNode;c;){if(r=c[Zo]||c[Pt]){if(c=r.alternate,r.child!==null||c!==null&&c.child!==null)for(n=wH(n);n!==null;){if(c=n[Pt])return c;n=wH(n)}return r}n=c,c=n.parentNode}return null}function Y1(n){if(n=n[Pt]||n[Zo]){var r=n.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return n}return null}function hu(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n.stateNode;throw Error(o(33))}function Q1(n){var r=n[fr];return r||(r=n[fr]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Qt(n){n[Xo]=!0}var aD=new Set,oD={};function Di(n,r){J1(n,r),J1(n+"Capture",r)}function J1(n,r){for(oD[n]=r,n=0;n<r.length;n++)aD.add(r[n])}var JY=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),rD={},iD={};function eQ(n){return Ye.call(iD,n)?!0:Ye.call(rD,n)?!1:JY.test(n)?iD[n]=!0:(rD[n]=!0,!1)}function t0(n,r,c){if(eQ(r))if(c===null)n.removeAttribute(r);else{switch(typeof c){case"undefined":case"function":case"symbol":n.removeAttribute(r);return;case"boolean":var u=r.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){n.removeAttribute(r);return}}n.setAttribute(r,""+c)}}function n0(n,r,c){if(c===null)n.removeAttribute(r);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(r);return}n.setAttribute(r,""+c)}}function mr(n,r,c,u){if(u===null)n.removeAttribute(c);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(c);return}n.setAttributeNS(r,c,""+u)}}function Qn(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function cD(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function tQ(n,r,c){var u=Object.getOwnPropertyDescriptor(n.constructor.prototype,r);if(!n.hasOwnProperty(r)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var v=u.get,g=u.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return v.call(this)},set:function(C){c=""+C,g.call(this,C)}}),Object.defineProperty(n,r,{enumerable:u.enumerable}),{getValue:function(){return c},setValue:function(C){c=""+C},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function KA(n){if(!n._valueTracker){var r=cD(n)?"checked":"value";n._valueTracker=tQ(n,r,""+n[r])}}function sD(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var c=r.getValue(),u="";return n&&(u=cD(n)?n.checked?"true":"false":n.value),n=u,n!==c?(r.setValue(n),!0):!1}function a0(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var nQ=/[\n"\\]/g;function Jn(n){return n.replace(nQ,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function YA(n,r,c,u,v,g,C,E){n.name="",C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?n.type=C:n.removeAttribute("type"),r!=null?C==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=""+Qn(r)):n.value!==""+Qn(r)&&(n.value=""+Qn(r)):C!=="submit"&&C!=="reset"||n.removeAttribute("value"),r!=null?QA(n,C,Qn(r)):c!=null?QA(n,C,Qn(c)):u!=null&&n.removeAttribute("value"),v==null&&g!=null&&(n.defaultChecked=!!g),v!=null&&(n.checked=v&&typeof v!="function"&&typeof v!="symbol"),E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?n.name=""+Qn(E):n.removeAttribute("name")}function lD(n,r,c,u,v,g,C,E){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(n.type=g),r!=null||c!=null){if(!(g!=="submit"&&g!=="reset"||r!=null)){KA(n);return}c=c!=null?""+Qn(c):"",r=r!=null?""+Qn(r):c,E||r===n.value||(n.value=r),n.defaultValue=r}u=u??v,u=typeof u!="function"&&typeof u!="symbol"&&!!u,n.checked=E?n.checked:!!u,n.defaultChecked=!!u,C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"&&(n.name=C),KA(n)}function QA(n,r,c){r==="number"&&a0(n.ownerDocument)===n||n.defaultValue===""+c||(n.defaultValue=""+c)}function ed(n,r,c,u){if(n=n.options,r){r={};for(var v=0;v<c.length;v++)r["$"+c[v]]=!0;for(c=0;c<n.length;c++)v=r.hasOwnProperty("$"+n[c].value),n[c].selected!==v&&(n[c].selected=v),v&&u&&(n[c].defaultSelected=!0)}else{for(c=""+Qn(c),r=null,v=0;v<n.length;v++){if(n[v].value===c){n[v].selected=!0,u&&(n[v].defaultSelected=!0);return}r!==null||n[v].disabled||(r=n[v])}r!==null&&(r.selected=!0)}}function dD(n,r,c){if(r!=null&&(r=""+Qn(r),r!==n.value&&(n.value=r),c==null)){n.defaultValue!==r&&(n.defaultValue=r);return}n.defaultValue=c!=null?""+Qn(c):""}function uD(n,r,c,u){if(r==null){if(u!=null){if(c!=null)throw Error(o(92));if(oe(u)){if(1<u.length)throw Error(o(93));u=u[0]}c=u}c==null&&(c=""),r=c}c=Qn(r),n.defaultValue=c,u=n.textContent,u===c&&u!==""&&u!==null&&(n.value=u),KA(n)}function td(n,r){if(r){var c=n.firstChild;if(c&&c===n.lastChild&&c.nodeType===3){c.nodeValue=r;return}}n.textContent=r}var aQ=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function hD(n,r,c){var u=r.indexOf("--")===0;c==null||typeof c=="boolean"||c===""?u?n.setProperty(r,""):r==="float"?n.cssFloat="":n[r]="":u?n.setProperty(r,c):typeof c!="number"||c===0||aQ.has(r)?r==="float"?n.cssFloat=c:n[r]=(""+c).trim():n[r]=c+"px"}function pD(n,r,c){if(r!=null&&typeof r!="object")throw Error(o(62));if(n=n.style,c!=null){for(var u in c)!c.hasOwnProperty(u)||r!=null&&r.hasOwnProperty(u)||(u.indexOf("--")===0?n.setProperty(u,""):u==="float"?n.cssFloat="":n[u]="");for(var v in r)u=r[v],r.hasOwnProperty(v)&&c[v]!==u&&hD(n,v,u)}else for(var g in r)r.hasOwnProperty(g)&&hD(n,g,r[g])}function JA(n){if(n.indexOf("-")===-1)return!1;switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var oQ=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),rQ=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function o0(n){return rQ.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function vr(){}var eT=null;function tT(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var nd=null,ad=null;function fD(n){var r=Y1(n);if(r&&(n=r.stateNode)){var c=n[an]||null;e:switch(n=r.stateNode,r.type){case"input":if(YA(n,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name),r=c.name,c.type==="radio"&&r!=null){for(c=n;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll('input[name="'+Jn(""+r)+'"][type="radio"]'),r=0;r<c.length;r++){var u=c[r];if(u!==n&&u.form===n.form){var v=u[an]||null;if(!v)throw Error(o(90));YA(u,v.value,v.defaultValue,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name)}}for(r=0;r<c.length;r++)u=c[r],u.form===n.form&&sD(u)}break e;case"textarea":dD(n,c.value,c.defaultValue);break e;case"select":r=c.value,r!=null&&ed(n,!!c.multiple,r,!1)}}}var nT=!1;function yD(n,r,c){if(nT)return n(r,c);nT=!0;try{var u=n(r);return u}finally{if(nT=!1,(nd!==null||ad!==null)&&(U0(),nd&&(r=nd,n=ad,ad=nd=null,fD(r),n)))for(r=0;r<n.length;r++)fD(n[r])}}function pu(n,r){var c=n.stateNode;if(c===null)return null;var u=c[an]||null;if(u===null)return null;c=u[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(n=n.type,u=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!u;break e;default:n=!1}if(n)return null;if(c&&typeof c!="function")throw Error(o(231,r,typeof c));return c}var kr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),aT=!1;if(kr)try{var fu={};Object.defineProperty(fu,"passive",{get:function(){aT=!0}}),window.addEventListener("test",fu,fu),window.removeEventListener("test",fu,fu)}catch{aT=!1}var Br=null,oT=null,r0=null;function mD(){if(r0)return r0;var n,r=oT,c=r.length,u,v="value"in Br?Br.value:Br.textContent,g=v.length;for(n=0;n<c&&r[n]===v[n];n++);var C=c-n;for(u=1;u<=C&&r[c-u]===v[g-u];u++);return r0=v.slice(n,1<u?1-u:void 0)}function i0(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function c0(){return!0}function vD(){return!1}function wn(n){function r(c,u,v,g,C){this._reactName=c,this._targetInst=v,this.type=u,this.nativeEvent=g,this.target=C,this.currentTarget=null;for(var E in n)n.hasOwnProperty(E)&&(c=n[E],this[E]=c?c(g):g[E]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?c0:vD,this.isPropagationStopped=vD,this}return m(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=c0)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=c0)},persist:function(){},isPersistent:c0}),r}var zi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},s0=wn(zi),yu=m({},zi,{view:0,detail:0}),iQ=wn(yu),rT,iT,mu,l0=m({},yu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sT,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==mu&&(mu&&n.type==="mousemove"?(rT=n.screenX-mu.screenX,iT=n.screenY-mu.screenY):iT=rT=0,mu=n),rT)},movementY:function(n){return"movementY"in n?n.movementY:iT}}),kD=wn(l0),cQ=m({},l0,{dataTransfer:0}),sQ=wn(cQ),lQ=m({},yu,{relatedTarget:0}),cT=wn(lQ),dQ=m({},zi,{animationName:0,elapsedTime:0,pseudoElement:0}),uQ=wn(dQ),hQ=m({},zi,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),pQ=wn(hQ),fQ=m({},zi,{data:0}),gD=wn(fQ),yQ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mQ={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},vQ={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kQ(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=vQ[n])?!!r[n]:!1}function sT(){return kQ}var gQ=m({},yu,{key:function(n){if(n.key){var r=yQ[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=i0(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?mQ[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sT,charCode:function(n){return n.type==="keypress"?i0(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?i0(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),MQ=wn(gQ),xQ=m({},l0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),MD=wn(xQ),bQ=m({},yu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sT}),wQ=wn(bQ),_Q=m({},zi,{propertyName:0,elapsedTime:0,pseudoElement:0}),SQ=wn(_Q),CQ=m({},l0,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),NQ=wn(CQ),LQ=m({},zi,{newState:0,oldState:0}),EQ=wn(LQ),IQ=[9,13,27,32],lT=kr&&"CompositionEvent"in window,vu=null;kr&&"documentMode"in document&&(vu=document.documentMode);var AQ=kr&&"TextEvent"in window&&!vu,xD=kr&&(!lT||vu&&8<vu&&11>=vu),bD=" ",wD=!1;function _D(n,r){switch(n){case"keyup":return IQ.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function SD(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var od=!1;function TQ(n,r){switch(n){case"compositionend":return SD(r);case"keypress":return r.which!==32?null:(wD=!0,bD);case"textInput":return n=r.data,n===bD&&wD?null:n;default:return null}}function RQ(n,r){if(od)return n==="compositionend"||!lT&&_D(n,r)?(n=mD(),r0=oT=Br=null,od=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return xD&&r.locale!=="ko"?null:r.data;default:return null}}var $Q={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function CD(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!$Q[n.type]:r==="textarea"}function ND(n,r,c,u){nd?ad?ad.push(u):ad=[u]:nd=u,r=Q0(r,"onChange"),0<r.length&&(c=new s0("onChange","change",null,c,u),n.push({event:c,listeners:r}))}var ku=null,gu=null;function jQ(n){lH(n,0)}function d0(n){var r=hu(n);if(sD(r))return n}function LD(n,r){if(n==="change")return r}var ED=!1;if(kr){var dT;if(kr){var uT="oninput"in document;if(!uT){var ID=document.createElement("div");ID.setAttribute("oninput","return;"),uT=typeof ID.oninput=="function"}dT=uT}else dT=!1;ED=dT&&(!document.documentMode||9<document.documentMode)}function AD(){ku&&(ku.detachEvent("onpropertychange",TD),gu=ku=null)}function TD(n){if(n.propertyName==="value"&&d0(gu)){var r=[];ND(r,gu,n,tT(n)),yD(jQ,r)}}function PQ(n,r,c){n==="focusin"?(AD(),ku=r,gu=c,ku.attachEvent("onpropertychange",TD)):n==="focusout"&&AD()}function OQ(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return d0(gu)}function DQ(n,r){if(n==="click")return d0(r)}function zQ(n,r){if(n==="input"||n==="change")return d0(r)}function qQ(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var Dn=typeof Object.is=="function"?Object.is:qQ;function Mu(n,r){if(Dn(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var c=Object.keys(n),u=Object.keys(r);if(c.length!==u.length)return!1;for(u=0;u<c.length;u++){var v=c[u];if(!Ye.call(r,v)||!Dn(n[v],r[v]))return!1}return!0}function RD(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function $D(n,r){var c=RD(n);n=0;for(var u;c;){if(c.nodeType===3){if(u=n+c.textContent.length,n<=r&&u>=r)return{node:c,offset:r-n};n=u}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=RD(c)}}function jD(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?jD(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function PD(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var r=a0(n.document);r instanceof n.HTMLIFrameElement;){try{var c=typeof r.contentWindow.location.href=="string"}catch{c=!1}if(c)n=r.contentWindow;else break;r=a0(n.document)}return r}function hT(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}var HQ=kr&&"documentMode"in document&&11>=document.documentMode,rd=null,pT=null,xu=null,fT=!1;function OD(n,r,c){var u=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;fT||rd==null||rd!==a0(u)||(u=rd,"selectionStart"in u&&hT(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),xu&&Mu(xu,u)||(xu=u,u=Q0(pT,"onSelect"),0<u.length&&(r=new s0("onSelect","select",null,r,c),n.push({event:r,listeners:u}),r.target=rd)))}function qi(n,r){var c={};return c[n.toLowerCase()]=r.toLowerCase(),c["Webkit"+n]="webkit"+r,c["Moz"+n]="moz"+r,c}var id={animationend:qi("Animation","AnimationEnd"),animationiteration:qi("Animation","AnimationIteration"),animationstart:qi("Animation","AnimationStart"),transitionrun:qi("Transition","TransitionRun"),transitionstart:qi("Transition","TransitionStart"),transitioncancel:qi("Transition","TransitionCancel"),transitionend:qi("Transition","TransitionEnd")},yT={},DD={};kr&&(DD=document.createElement("div").style,"AnimationEvent"in window||(delete id.animationend.animation,delete id.animationiteration.animation,delete id.animationstart.animation),"TransitionEvent"in window||delete id.transitionend.transition);function Hi(n){if(yT[n])return yT[n];if(!id[n])return n;var r=id[n],c;for(c in r)if(r.hasOwnProperty(c)&&c in DD)return yT[n]=r[c];return n}var zD=Hi("animationend"),qD=Hi("animationiteration"),HD=Hi("animationstart"),VQ=Hi("transitionrun"),BQ=Hi("transitionstart"),FQ=Hi("transitioncancel"),VD=Hi("transitionend"),BD=new Map,mT="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");mT.push("scrollEnd");function pa(n,r){BD.set(n,r),Di(r,[n])}var u0=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},ea=[],cd=0,vT=0;function h0(){for(var n=cd,r=vT=cd=0;r<n;){var c=ea[r];ea[r++]=null;var u=ea[r];ea[r++]=null;var v=ea[r];ea[r++]=null;var g=ea[r];if(ea[r++]=null,u!==null&&v!==null){var C=u.pending;C===null?v.next=v:(v.next=C.next,C.next=v),u.pending=v}g!==0&&FD(c,v,g)}}function p0(n,r,c,u){ea[cd++]=n,ea[cd++]=r,ea[cd++]=c,ea[cd++]=u,vT|=u,n.lanes|=u,n=n.alternate,n!==null&&(n.lanes|=u)}function kT(n,r,c,u){return p0(n,r,c,u),f0(n)}function Vi(n,r){return p0(n,null,null,r),f0(n)}function FD(n,r,c){n.lanes|=c;var u=n.alternate;u!==null&&(u.lanes|=c);for(var v=!1,g=n.return;g!==null;)g.childLanes|=c,u=g.alternate,u!==null&&(u.childLanes|=c),g.tag===22&&(n=g.stateNode,n===null||n._visibility&1||(v=!0)),n=g,g=g.return;return n.tag===3?(g=n.stateNode,v&&r!==null&&(v=31-W(c),n=g.hiddenUpdates,u=n[v],u===null?n[v]=[r]:u.push(r),r.lane=c|536870912),g):null}function f0(n){if(50<Bu)throw Bu=0,NR=null,Error(o(185));for(var r=n.return;r!==null;)n=r,r=n.return;return n.tag===3?n.stateNode:null}var sd={};function UQ(n,r,c,u){this.tag=n,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zn(n,r,c,u){return new UQ(n,r,c,u)}function gT(n){return n=n.prototype,!(!n||!n.isReactComponent)}function gr(n,r){var c=n.alternate;return c===null?(c=zn(n.tag,r,n.key,n.mode),c.elementType=n.elementType,c.type=n.type,c.stateNode=n.stateNode,c.alternate=n,n.alternate=c):(c.pendingProps=r,c.type=n.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=n.flags&65011712,c.childLanes=n.childLanes,c.lanes=n.lanes,c.child=n.child,c.memoizedProps=n.memoizedProps,c.memoizedState=n.memoizedState,c.updateQueue=n.updateQueue,r=n.dependencies,c.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},c.sibling=n.sibling,c.index=n.index,c.ref=n.ref,c.refCleanup=n.refCleanup,c}function UD(n,r){n.flags&=65011714;var c=n.alternate;return c===null?(n.childLanes=0,n.lanes=r,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=c.childLanes,n.lanes=c.lanes,n.child=c.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=c.memoizedProps,n.memoizedState=c.memoizedState,n.updateQueue=c.updateQueue,n.type=c.type,r=c.dependencies,n.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),n}function y0(n,r,c,u,v,g){var C=0;if(u=n,typeof n=="function")gT(n)&&(C=1);else if(typeof n=="string")C=KJ(n,c,de.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case B:return n=zn(31,c,r,v),n.elementType=B,n.lanes=g,n;case w:return Bi(c.children,v,g,r);case _:C=8,v|=24;break;case N:return n=zn(12,c,r,v|2),n.elementType=N,n.lanes=g,n;case D:return n=zn(13,c,r,v),n.elementType=D,n.lanes=g,n;case j:return n=zn(19,c,r,v),n.elementType=j,n.lanes=g,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case I:C=10;break e;case L:C=9;break e;case P:C=11;break e;case A:C=14;break e;case $:C=16,u=null;break e}C=29,c=Error(o(130,n===null?"null":typeof n,"")),u=null}return r=zn(C,c,r,v),r.elementType=n,r.type=u,r.lanes=g,r}function Bi(n,r,c,u){return n=zn(7,n,u,r),n.lanes=c,n}function MT(n,r,c){return n=zn(6,n,null,r),n.lanes=c,n}function GD(n){var r=zn(18,null,null,0);return r.stateNode=n,r}function xT(n,r,c){return r=zn(4,n.children!==null?n.children:[],n.key,r),r.lanes=c,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}var WD=new WeakMap;function ta(n,r){if(typeof n=="object"&&n!==null){var c=WD.get(n);return c!==void 0?c:(r={value:n,source:r,stack:ot(r)},WD.set(n,r),r)}return{value:n,source:r,stack:ot(r)}}var ld=[],dd=0,m0=null,bu=0,na=[],aa=0,Fr=null,Ko=1,Yo="";function Mr(n,r){ld[dd++]=bu,ld[dd++]=m0,m0=n,bu=r}function ZD(n,r,c){na[aa++]=Ko,na[aa++]=Yo,na[aa++]=Fr,Fr=n;var u=Ko;n=Yo;var v=32-W(u)-1;u&=~(1<<v),c+=1;var g=32-W(r)+v;if(30<g){var C=v-v%5;g=(u&(1<<C)-1).toString(32),u>>=C,v-=C,Ko=1<<32-W(r)+v|c<<v|u,Yo=g+n}else Ko=1<<g|c<<v|u,Yo=n}function bT(n){n.return!==null&&(Mr(n,1),ZD(n,1,0))}function wT(n){for(;n===m0;)m0=ld[--dd],ld[dd]=null,bu=ld[--dd],ld[dd]=null;for(;n===Fr;)Fr=na[--aa],na[aa]=null,Yo=na[--aa],na[aa]=null,Ko=na[--aa],na[aa]=null}function XD(n,r){na[aa++]=Ko,na[aa++]=Yo,na[aa++]=Fr,Ko=r.id,Yo=r.overflow,Fr=n}var on=null,wt=null,Qe=!1,Ur=null,oa=!1,_T=Error(o(519));function Gr(n){var r=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw wu(ta(r,n)),_T}function KD(n){var r=n.stateNode,c=n.type,u=n.memoizedProps;switch(r[Pt]=n,r[an]=u,c){case"dialog":Ze("cancel",r),Ze("close",r);break;case"iframe":case"object":case"embed":Ze("load",r);break;case"video":case"audio":for(c=0;c<Uu.length;c++)Ze(Uu[c],r);break;case"source":Ze("error",r);break;case"img":case"image":case"link":Ze("error",r),Ze("load",r);break;case"details":Ze("toggle",r);break;case"input":Ze("invalid",r),lD(r,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"select":Ze("invalid",r);break;case"textarea":Ze("invalid",r),uD(r,u.value,u.defaultValue,u.children)}c=u.children,typeof c!="string"&&typeof c!="number"&&typeof c!="bigint"||r.textContent===""+c||u.suppressHydrationWarning===!0||pH(r.textContent,c)?(u.popover!=null&&(Ze("beforetoggle",r),Ze("toggle",r)),u.onScroll!=null&&Ze("scroll",r),u.onScrollEnd!=null&&Ze("scrollend",r),u.onClick!=null&&(r.onclick=vr),r=!0):r=!1,r||Gr(n,!0)}function YD(n){for(on=n.return;on;)switch(on.tag){case 5:case 31:case 13:oa=!1;return;case 27:case 3:oa=!0;return;default:on=on.return}}function ud(n){if(n!==on)return!1;if(!Qe)return YD(n),Qe=!0,!1;var r=n.tag,c;if((c=r!==3&&r!==27)&&((c=r===5)&&(c=n.type,c=!(c!=="form"&&c!=="button")||VR(n.type,n.memoizedProps)),c=!c),c&&wt&&Gr(n),YD(n),r===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));wt=bH(n)}else if(r===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));wt=bH(n)}else r===27?(r=wt,ii(n.type)?(n=WR,WR=null,wt=n):wt=r):wt=on?ia(n.stateNode.nextSibling):null;return!0}function Fi(){wt=on=null,Qe=!1}function ST(){var n=Ur;return n!==null&&(Nn===null?Nn=n:Nn.push.apply(Nn,n),Ur=null),n}function wu(n){Ur===null?Ur=[n]:Ur.push(n)}var CT=Me(null),Ui=null,xr=null;function Wr(n,r,c){ne(CT,r._currentValue),r._currentValue=c}function br(n){n._currentValue=CT.current,X(CT)}function NT(n,r,c){for(;n!==null;){var u=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),n===c)break;n=n.return}}function LT(n,r,c,u){var v=n.child;for(v!==null&&(v.return=n);v!==null;){var g=v.dependencies;if(g!==null){var C=v.child;g=g.firstContext;e:for(;g!==null;){var E=g;g=v;for(var z=0;z<r.length;z++)if(E.context===r[z]){g.lanes|=c,E=g.alternate,E!==null&&(E.lanes|=c),NT(g.return,c,n),u||(C=null);break e}g=E.next}}else if(v.tag===18){if(C=v.return,C===null)throw Error(o(341));C.lanes|=c,g=C.alternate,g!==null&&(g.lanes|=c),NT(C,c,n),C=null}else C=v.child;if(C!==null)C.return=v;else for(C=v;C!==null;){if(C===n){C=null;break}if(v=C.sibling,v!==null){v.return=C.return,C=v;break}C=C.return}v=C}}function hd(n,r,c,u){n=null;for(var v=r,g=!1;v!==null;){if(!g){if((v.flags&524288)!==0)g=!0;else if((v.flags&262144)!==0)break}if(v.tag===10){var C=v.alternate;if(C===null)throw Error(o(387));if(C=C.memoizedProps,C!==null){var E=v.type;Dn(v.pendingProps.value,C.value)||(n!==null?n.push(E):n=[E])}}else if(v===pe.current){if(C=v.alternate,C===null)throw Error(o(387));C.memoizedState.memoizedState!==v.memoizedState.memoizedState&&(n!==null?n.push(Ku):n=[Ku])}v=v.return}n!==null&&LT(r,n,c,u),r.flags|=262144}function v0(n){for(n=n.firstContext;n!==null;){if(!Dn(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Gi(n){Ui=n,xr=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function rn(n){return QD(Ui,n)}function k0(n,r){return Ui===null&&Gi(n),QD(n,r)}function QD(n,r){var c=r._currentValue;if(r={context:r,memoizedValue:c,next:null},xr===null){if(n===null)throw Error(o(308));xr=r,n.dependencies={lanes:0,firstContext:r},n.flags|=524288}else xr=xr.next=r;return c}var GQ=typeof AbortController<"u"?AbortController:function(){var n=[],r=this.signal={aborted:!1,addEventListener:function(c,u){n.push(u)}};this.abort=function(){r.aborted=!0,n.forEach(function(c){return c()})}},WQ=e.unstable_scheduleCallback,ZQ=e.unstable_NormalPriority,Ht={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ET(){return{controller:new GQ,data:new Map,refCount:0}}function _u(n){n.refCount--,n.refCount===0&&WQ(ZQ,function(){n.controller.abort()})}var Su=null,IT=0,pd=0,fd=null;function XQ(n,r){if(Su===null){var c=Su=[];IT=0,pd=RR(),fd={status:"pending",value:void 0,then:function(u){c.push(u)}}}return IT++,r.then(JD,JD),r}function JD(){if(--IT===0&&Su!==null){fd!==null&&(fd.status="fulfilled");var n=Su;Su=null,pd=0,fd=null;for(var r=0;r<n.length;r++)(0,n[r])()}}function KQ(n,r){var c=[],u={status:"pending",value:null,reason:null,then:function(v){c.push(v)}};return n.then(function(){u.status="fulfilled",u.value=r;for(var v=0;v<c.length;v++)(0,c[v])(r)},function(v){for(u.status="rejected",u.reason=v,v=0;v<c.length;v++)(0,c[v])(void 0)}),u}var ez=T.S;T.S=function(n,r){Oq=qe(),typeof r=="object"&&r!==null&&typeof r.then=="function"&&XQ(n,r),ez!==null&&ez(n,r)};var Wi=Me(null);function AT(){var n=Wi.current;return n!==null?n:gt.pooledCache}function g0(n,r){r===null?ne(Wi,Wi.current):ne(Wi,r.pool)}function tz(){var n=AT();return n===null?null:{parent:Ht._currentValue,pool:n}}var yd=Error(o(460)),TT=Error(o(474)),M0=Error(o(542)),x0={then:function(){}};function nz(n){return n=n.status,n==="fulfilled"||n==="rejected"}function az(n,r,c){switch(c=n[c],c===void 0?n.push(r):c!==r&&(r.then(vr,vr),r=c),r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,rz(n),n;default:if(typeof r.status=="string")r.then(vr,vr);else{if(n=gt,n!==null&&100<n.shellSuspendCounter)throw Error(o(482));n=r,n.status="pending",n.then(function(u){if(r.status==="pending"){var v=r;v.status="fulfilled",v.value=u}},function(u){if(r.status==="pending"){var v=r;v.status="rejected",v.reason=u}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,rz(n),n}throw Xi=r,yd}}function Zi(n){try{var r=n._init;return r(n._payload)}catch(c){throw c!==null&&typeof c=="object"&&typeof c.then=="function"?(Xi=c,yd):c}}var Xi=null;function oz(){if(Xi===null)throw Error(o(459));var n=Xi;return Xi=null,n}function rz(n){if(n===yd||n===M0)throw Error(o(483))}var md=null,Cu=0;function b0(n){var r=Cu;return Cu+=1,md===null&&(md=[]),az(md,n,r)}function Nu(n,r){r=r.props.ref,n.ref=r!==void 0?r:null}function w0(n,r){throw r.$$typeof===x?Error(o(525)):(n=Object.prototype.toString.call(r),Error(o(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n)))}function iz(n){function r(U,H){if(n){var Y=U.deletions;Y===null?(U.deletions=[H],U.flags|=16):Y.push(H)}}function c(U,H){if(!n)return null;for(;H!==null;)r(U,H),H=H.sibling;return null}function u(U){for(var H=new Map;U!==null;)U.key!==null?H.set(U.key,U):H.set(U.index,U),U=U.sibling;return H}function v(U,H){return U=gr(U,H),U.index=0,U.sibling=null,U}function g(U,H,Y){return U.index=Y,n?(Y=U.alternate,Y!==null?(Y=Y.index,Y<H?(U.flags|=67108866,H):Y):(U.flags|=67108866,H)):(U.flags|=1048576,H)}function C(U){return n&&U.alternate===null&&(U.flags|=67108866),U}function E(U,H,Y,ue){return H===null||H.tag!==6?(H=MT(Y,U.mode,ue),H.return=U,H):(H=v(H,Y),H.return=U,H)}function z(U,H,Y,ue){var Ae=Y.type;return Ae===w?le(U,H,Y.props.children,ue,Y.key):H!==null&&(H.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===$&&Zi(Ae)===H.type)?(H=v(H,Y.props),Nu(H,Y),H.return=U,H):(H=y0(Y.type,Y.key,Y.props,null,U.mode,ue),Nu(H,Y),H.return=U,H)}function Q(U,H,Y,ue){return H===null||H.tag!==4||H.stateNode.containerInfo!==Y.containerInfo||H.stateNode.implementation!==Y.implementation?(H=xT(Y,U.mode,ue),H.return=U,H):(H=v(H,Y.children||[]),H.return=U,H)}function le(U,H,Y,ue,Ae){return H===null||H.tag!==7?(H=Bi(Y,U.mode,ue,Ae),H.return=U,H):(H=v(H,Y),H.return=U,H)}function he(U,H,Y){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=MT(""+H,U.mode,Y),H.return=U,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case S:return Y=y0(H.type,H.key,H.props,null,U.mode,Y),Nu(Y,H),Y.return=U,Y;case b:return H=xT(H,U.mode,Y),H.return=U,H;case $:return H=Zi(H),he(U,H,Y)}if(oe(H)||V(H))return H=Bi(H,U.mode,Y,null),H.return=U,H;if(typeof H.then=="function")return he(U,b0(H),Y);if(H.$$typeof===I)return he(U,k0(U,H),Y);w0(U,H)}return null}function te(U,H,Y,ue){var Ae=H!==null?H.key:null;if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return Ae!==null?null:E(U,H,""+Y,ue);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case S:return Y.key===Ae?z(U,H,Y,ue):null;case b:return Y.key===Ae?Q(U,H,Y,ue):null;case $:return Y=Zi(Y),te(U,H,Y,ue)}if(oe(Y)||V(Y))return Ae!==null?null:le(U,H,Y,ue,null);if(typeof Y.then=="function")return te(U,H,b0(Y),ue);if(Y.$$typeof===I)return te(U,H,k0(U,Y),ue);w0(U,Y)}return null}function ie(U,H,Y,ue,Ae){if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return U=U.get(Y)||null,E(H,U,""+ue,Ae);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case S:return U=U.get(ue.key===null?Y:ue.key)||null,z(H,U,ue,Ae);case b:return U=U.get(ue.key===null?Y:ue.key)||null,Q(H,U,ue,Ae);case $:return ue=Zi(ue),ie(U,H,Y,ue,Ae)}if(oe(ue)||V(ue))return U=U.get(Y)||null,le(H,U,ue,Ae,null);if(typeof ue.then=="function")return ie(U,H,Y,b0(ue),Ae);if(ue.$$typeof===I)return ie(U,H,Y,k0(H,ue),Ae);w0(H,ue)}return null}function _e(U,H,Y,ue){for(var Ae=null,it=null,Le=H,Be=H=0,Ke=null;Le!==null&&Be<Y.length;Be++){Le.index>Be?(Ke=Le,Le=null):Ke=Le.sibling;var ct=te(U,Le,Y[Be],ue);if(ct===null){Le===null&&(Le=Ke);break}n&&Le&&ct.alternate===null&&r(U,Le),H=g(ct,H,Be),it===null?Ae=ct:it.sibling=ct,it=ct,Le=Ke}if(Be===Y.length)return c(U,Le),Qe&&Mr(U,Be),Ae;if(Le===null){for(;Be<Y.length;Be++)Le=he(U,Y[Be],ue),Le!==null&&(H=g(Le,H,Be),it===null?Ae=Le:it.sibling=Le,it=Le);return Qe&&Mr(U,Be),Ae}for(Le=u(Le);Be<Y.length;Be++)Ke=ie(Le,U,Be,Y[Be],ue),Ke!==null&&(n&&Ke.alternate!==null&&Le.delete(Ke.key===null?Be:Ke.key),H=g(Ke,H,Be),it===null?Ae=Ke:it.sibling=Ke,it=Ke);return n&&Le.forEach(function(ui){return r(U,ui)}),Qe&&Mr(U,Be),Ae}function Re(U,H,Y,ue){if(Y==null)throw Error(o(151));for(var Ae=null,it=null,Le=H,Be=H=0,Ke=null,ct=Y.next();Le!==null&&!ct.done;Be++,ct=Y.next()){Le.index>Be?(Ke=Le,Le=null):Ke=Le.sibling;var ui=te(U,Le,ct.value,ue);if(ui===null){Le===null&&(Le=Ke);break}n&&Le&&ui.alternate===null&&r(U,Le),H=g(ui,H,Be),it===null?Ae=ui:it.sibling=ui,it=ui,Le=Ke}if(ct.done)return c(U,Le),Qe&&Mr(U,Be),Ae;if(Le===null){for(;!ct.done;Be++,ct=Y.next())ct=he(U,ct.value,ue),ct!==null&&(H=g(ct,H,Be),it===null?Ae=ct:it.sibling=ct,it=ct);return Qe&&Mr(U,Be),Ae}for(Le=u(Le);!ct.done;Be++,ct=Y.next())ct=ie(Le,U,Be,ct.value,ue),ct!==null&&(n&&ct.alternate!==null&&Le.delete(ct.key===null?Be:ct.key),H=g(ct,H,Be),it===null?Ae=ct:it.sibling=ct,it=ct);return n&&Le.forEach(function(cee){return r(U,cee)}),Qe&&Mr(U,Be),Ae}function vt(U,H,Y,ue){if(typeof Y=="object"&&Y!==null&&Y.type===w&&Y.key===null&&(Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case S:e:{for(var Ae=Y.key;H!==null;){if(H.key===Ae){if(Ae=Y.type,Ae===w){if(H.tag===7){c(U,H.sibling),ue=v(H,Y.props.children),ue.return=U,U=ue;break e}}else if(H.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===$&&Zi(Ae)===H.type){c(U,H.sibling),ue=v(H,Y.props),Nu(ue,Y),ue.return=U,U=ue;break e}c(U,H);break}else r(U,H);H=H.sibling}Y.type===w?(ue=Bi(Y.props.children,U.mode,ue,Y.key),ue.return=U,U=ue):(ue=y0(Y.type,Y.key,Y.props,null,U.mode,ue),Nu(ue,Y),ue.return=U,U=ue)}return C(U);case b:e:{for(Ae=Y.key;H!==null;){if(H.key===Ae)if(H.tag===4&&H.stateNode.containerInfo===Y.containerInfo&&H.stateNode.implementation===Y.implementation){c(U,H.sibling),ue=v(H,Y.children||[]),ue.return=U,U=ue;break e}else{c(U,H);break}else r(U,H);H=H.sibling}ue=xT(Y,U.mode,ue),ue.return=U,U=ue}return C(U);case $:return Y=Zi(Y),vt(U,H,Y,ue)}if(oe(Y))return _e(U,H,Y,ue);if(V(Y)){if(Ae=V(Y),typeof Ae!="function")throw Error(o(150));return Y=Ae.call(Y),Re(U,H,Y,ue)}if(typeof Y.then=="function")return vt(U,H,b0(Y),ue);if(Y.$$typeof===I)return vt(U,H,k0(U,Y),ue);w0(U,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint"?(Y=""+Y,H!==null&&H.tag===6?(c(U,H.sibling),ue=v(H,Y),ue.return=U,U=ue):(c(U,H),ue=MT(Y,U.mode,ue),ue.return=U,U=ue),C(U)):c(U,H)}return function(U,H,Y,ue){try{Cu=0;var Ae=vt(U,H,Y,ue);return md=null,Ae}catch(Le){if(Le===yd||Le===M0)throw Le;var it=zn(29,Le,null,U.mode);return it.lanes=ue,it.return=U,it}finally{}}}var Ki=iz(!0),cz=iz(!1),Zr=!1;function RT(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $T(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Xr(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Kr(n,r,c){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,(dt&2)!==0){var v=u.pending;return v===null?r.next=r:(r.next=v.next,v.next=r),u.pending=r,r=f0(n),FD(n,null,c),r}return p0(n,u,r,c),f0(n)}function Lu(n,r,c){if(r=r.updateQueue,r!==null&&(r=r.shared,(c&4194048)!==0)){var u=r.lanes;u&=n.pendingLanes,c|=u,r.lanes=c,qt(n,c)}}function jT(n,r){var c=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,c===u)){var v=null,g=null;if(c=c.firstBaseUpdate,c!==null){do{var C={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};g===null?v=g=C:g=g.next=C,c=c.next}while(c!==null);g===null?v=g=r:g=g.next=r}else v=g=r;c={baseState:u.baseState,firstBaseUpdate:v,lastBaseUpdate:g,shared:u.shared,callbacks:u.callbacks},n.updateQueue=c;return}n=c.lastBaseUpdate,n===null?c.firstBaseUpdate=r:n.next=r,c.lastBaseUpdate=r}var PT=!1;function Eu(){if(PT){var n=fd;if(n!==null)throw n}}function Iu(n,r,c,u){PT=!1;var v=n.updateQueue;Zr=!1;var g=v.firstBaseUpdate,C=v.lastBaseUpdate,E=v.shared.pending;if(E!==null){v.shared.pending=null;var z=E,Q=z.next;z.next=null,C===null?g=Q:C.next=Q,C=z;var le=n.alternate;le!==null&&(le=le.updateQueue,E=le.lastBaseUpdate,E!==C&&(E===null?le.firstBaseUpdate=Q:E.next=Q,le.lastBaseUpdate=z))}if(g!==null){var he=v.baseState;C=0,le=Q=z=null,E=g;do{var te=E.lane&-536870913,ie=te!==E.lane;if(ie?(Xe&te)===te:(u&te)===te){te!==0&&te===pd&&(PT=!0),le!==null&&(le=le.next={lane:0,tag:E.tag,payload:E.payload,callback:null,next:null});e:{var _e=n,Re=E;te=r;var vt=c;switch(Re.tag){case 1:if(_e=Re.payload,typeof _e=="function"){he=_e.call(vt,he,te);break e}he=_e;break e;case 3:_e.flags=_e.flags&-65537|128;case 0:if(_e=Re.payload,te=typeof _e=="function"?_e.call(vt,he,te):_e,te==null)break e;he=m({},he,te);break e;case 2:Zr=!0}}te=E.callback,te!==null&&(n.flags|=64,ie&&(n.flags|=8192),ie=v.callbacks,ie===null?v.callbacks=[te]:ie.push(te))}else ie={lane:te,tag:E.tag,payload:E.payload,callback:E.callback,next:null},le===null?(Q=le=ie,z=he):le=le.next=ie,C|=te;if(E=E.next,E===null){if(E=v.shared.pending,E===null)break;ie=E,E=ie.next,ie.next=null,v.lastBaseUpdate=ie,v.shared.pending=null}}while(!0);le===null&&(z=he),v.baseState=z,v.firstBaseUpdate=Q,v.lastBaseUpdate=le,g===null&&(v.shared.lanes=0),ti|=C,n.lanes=C,n.memoizedState=he}}function sz(n,r){if(typeof n!="function")throw Error(o(191,n));n.call(r)}function lz(n,r){var c=n.callbacks;if(c!==null)for(n.callbacks=null,n=0;n<c.length;n++)sz(c[n],r)}var vd=Me(null),_0=Me(0);function dz(n,r){n=Ar,ne(_0,n),ne(vd,r),Ar=n|r.baseLanes}function OT(){ne(_0,Ar),ne(vd,vd.current)}function DT(){Ar=_0.current,X(vd),X(_0)}var qn=Me(null),ra=null;function Yr(n){var r=n.alternate;ne(Ot,Ot.current&1),ne(qn,n),ra===null&&(r===null||vd.current!==null||r.memoizedState!==null)&&(ra=n)}function zT(n){ne(Ot,Ot.current),ne(qn,n),ra===null&&(ra=n)}function uz(n){n.tag===22?(ne(Ot,Ot.current),ne(qn,n),ra===null&&(ra=n)):Qr()}function Qr(){ne(Ot,Ot.current),ne(qn,qn.current)}function Hn(n){X(qn),ra===n&&(ra=null),X(Ot)}var Ot=Me(0);function S0(n){for(var r=n;r!==null;){if(r.tag===13){var c=r.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||UR(c)||GR(c)))return r}else if(r.tag===19&&(r.memoizedProps.revealOrder==="forwards"||r.memoizedProps.revealOrder==="backwards"||r.memoizedProps.revealOrder==="unstable_legacy-backwards"||r.memoizedProps.revealOrder==="together")){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var wr=0,He=null,yt=null,Vt=null,C0=!1,kd=!1,Yi=!1,N0=0,Au=0,gd=null,YQ=0;function Rt(){throw Error(o(321))}function qT(n,r){if(r===null)return!1;for(var c=0;c<r.length&&c<n.length;c++)if(!Dn(n[c],r[c]))return!1;return!0}function HT(n,r,c,u,v,g){return wr=g,He=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,T.H=n===null||n.memoizedState===null?Zz:nR,Yi=!1,g=c(u,v),Yi=!1,kd&&(g=pz(r,c,u,v)),hz(n),g}function hz(n){T.H=$u;var r=yt!==null&&yt.next!==null;if(wr=0,Vt=yt=He=null,C0=!1,Au=0,gd=null,r)throw Error(o(300));n===null||Bt||(n=n.dependencies,n!==null&&v0(n)&&(Bt=!0))}function pz(n,r,c,u){He=n;var v=0;do{if(kd&&(gd=null),Au=0,kd=!1,25<=v)throw Error(o(301));if(v+=1,Vt=yt=null,n.updateQueue!=null){var g=n.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}T.H=Xz,g=r(c,u)}while(kd);return g}function QQ(){var n=T.H,r=n.useState()[0];return r=typeof r.then=="function"?Tu(r):r,n=n.useState()[0],(yt!==null?yt.memoizedState:null)!==n&&(He.flags|=1024),r}function VT(){var n=N0!==0;return N0=0,n}function BT(n,r,c){r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c}function FT(n){if(C0){for(n=n.memoizedState;n!==null;){var r=n.queue;r!==null&&(r.pending=null),n=n.next}C0=!1}wr=0,Vt=yt=He=null,kd=!1,Au=N0=0,gd=null}function mn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Vt===null?He.memoizedState=Vt=n:Vt=Vt.next=n,Vt}function Dt(){if(yt===null){var n=He.alternate;n=n!==null?n.memoizedState:null}else n=yt.next;var r=Vt===null?He.memoizedState:Vt.next;if(r!==null)Vt=r,yt=n;else{if(n===null)throw He.alternate===null?Error(o(467)):Error(o(310));yt=n,n={memoizedState:yt.memoizedState,baseState:yt.baseState,baseQueue:yt.baseQueue,queue:yt.queue,next:null},Vt===null?He.memoizedState=Vt=n:Vt=Vt.next=n}return Vt}function L0(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Tu(n){var r=Au;return Au+=1,gd===null&&(gd=[]),n=az(gd,n,r),r=He,(Vt===null?r.memoizedState:Vt.next)===null&&(r=r.alternate,T.H=r===null||r.memoizedState===null?Zz:nR),n}function E0(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Tu(n);if(n.$$typeof===I)return rn(n)}throw Error(o(438,String(n)))}function UT(n){var r=null,c=He.updateQueue;if(c!==null&&(r=c.memoCache),r==null){var u=He.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(r={data:u.data.map(function(v){return v.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),c===null&&(c=L0(),He.updateQueue=c),c.memoCache=r,c=r.data[r.index],c===void 0)for(c=r.data[r.index]=Array(n),u=0;u<n;u++)c[u]=Z;return r.index++,c}function _r(n,r){return typeof r=="function"?r(n):r}function I0(n){var r=Dt();return GT(r,yt,n)}function GT(n,r,c){var u=n.queue;if(u===null)throw Error(o(311));u.lastRenderedReducer=c;var v=n.baseQueue,g=u.pending;if(g!==null){if(v!==null){var C=v.next;v.next=g.next,g.next=C}r.baseQueue=v=g,u.pending=null}if(g=n.baseState,v===null)n.memoizedState=g;else{r=v.next;var E=C=null,z=null,Q=r,le=!1;do{var he=Q.lane&-536870913;if(he!==Q.lane?(Xe&he)===he:(wr&he)===he){var te=Q.revertLane;if(te===0)z!==null&&(z=z.next={lane:0,revertLane:0,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null}),he===pd&&(le=!0);else if((wr&te)===te){Q=Q.next,te===pd&&(le=!0);continue}else he={lane:0,revertLane:Q.revertLane,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},z===null?(E=z=he,C=g):z=z.next=he,He.lanes|=te,ti|=te;he=Q.action,Yi&&c(g,he),g=Q.hasEagerState?Q.eagerState:c(g,he)}else te={lane:he,revertLane:Q.revertLane,gesture:Q.gesture,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},z===null?(E=z=te,C=g):z=z.next=te,He.lanes|=he,ti|=he;Q=Q.next}while(Q!==null&&Q!==r);if(z===null?C=g:z.next=E,!Dn(g,n.memoizedState)&&(Bt=!0,le&&(c=fd,c!==null)))throw c;n.memoizedState=g,n.baseState=C,n.baseQueue=z,u.lastRenderedState=g}return v===null&&(u.lanes=0),[n.memoizedState,u.dispatch]}function WT(n){var r=Dt(),c=r.queue;if(c===null)throw Error(o(311));c.lastRenderedReducer=n;var u=c.dispatch,v=c.pending,g=r.memoizedState;if(v!==null){c.pending=null;var C=v=v.next;do g=n(g,C.action),C=C.next;while(C!==v);Dn(g,r.memoizedState)||(Bt=!0),r.memoizedState=g,r.baseQueue===null&&(r.baseState=g),c.lastRenderedState=g}return[g,u]}function fz(n,r,c){var u=He,v=Dt(),g=Qe;if(g){if(c===void 0)throw Error(o(407));c=c()}else c=r();var C=!Dn((yt||v).memoizedState,c);if(C&&(v.memoizedState=c,Bt=!0),v=v.queue,KT(vz.bind(null,u,v,n),[n]),v.getSnapshot!==r||C||Vt!==null&&Vt.memoizedState.tag&1){if(u.flags|=2048,Md(9,{destroy:void 0},mz.bind(null,u,v,c,r),null),gt===null)throw Error(o(349));g||(wr&127)!==0||yz(u,r,c)}return c}function yz(n,r,c){n.flags|=16384,n={getSnapshot:r,value:c},r=He.updateQueue,r===null?(r=L0(),He.updateQueue=r,r.stores=[n]):(c=r.stores,c===null?r.stores=[n]:c.push(n))}function mz(n,r,c,u){r.value=c,r.getSnapshot=u,kz(r)&&gz(n)}function vz(n,r,c){return c(function(){kz(r)&&gz(n)})}function kz(n){var r=n.getSnapshot;n=n.value;try{var c=r();return!Dn(n,c)}catch{return!0}}function gz(n){var r=Vi(n,2);r!==null&&Ln(r,n,2)}function ZT(n){var r=mn();if(typeof n=="function"){var c=n;if(n=c(),Yi){ln(!0);try{c()}finally{ln(!1)}}}return r.memoizedState=r.baseState=n,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_r,lastRenderedState:n},r}function Mz(n,r,c,u){return n.baseState=c,GT(n,yt,typeof u=="function"?u:_r)}function JQ(n,r,c,u,v){if(R0(n))throw Error(o(485));if(n=r.action,n!==null){var g={payload:v,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(C){g.listeners.push(C)}};T.T!==null?c(!0):g.isTransition=!1,u(g),c=r.pending,c===null?(g.next=r.pending=g,xz(r,g)):(g.next=c.next,r.pending=c.next=g)}}function xz(n,r){var c=r.action,u=r.payload,v=n.state;if(r.isTransition){var g=T.T,C={};T.T=C;try{var E=c(v,u),z=T.S;z!==null&&z(C,E),bz(n,r,E)}catch(Q){XT(n,r,Q)}finally{g!==null&&C.types!==null&&(g.types=C.types),T.T=g}}else try{g=c(v,u),bz(n,r,g)}catch(Q){XT(n,r,Q)}}function bz(n,r,c){c!==null&&typeof c=="object"&&typeof c.then=="function"?c.then(function(u){wz(n,r,u)},function(u){return XT(n,r,u)}):wz(n,r,c)}function wz(n,r,c){r.status="fulfilled",r.value=c,_z(r),n.state=c,r=n.pending,r!==null&&(c=r.next,c===r?n.pending=null:(c=c.next,r.next=c,xz(n,c)))}function XT(n,r,c){var u=n.pending;if(n.pending=null,u!==null){u=u.next;do r.status="rejected",r.reason=c,_z(r),r=r.next;while(r!==u)}n.action=null}function _z(n){n=n.listeners;for(var r=0;r<n.length;r++)(0,n[r])()}function Sz(n,r){return r}function Cz(n,r){if(Qe){var c=gt.formState;if(c!==null){e:{var u=He;if(Qe){if(wt){t:{for(var v=wt,g=oa;v.nodeType!==8;){if(!g){v=null;break t}if(v=ia(v.nextSibling),v===null){v=null;break t}}g=v.data,v=g==="F!"||g==="F"?v:null}if(v){wt=ia(v.nextSibling),u=v.data==="F!";break e}}Gr(u)}u=!1}u&&(r=c[0])}}return c=mn(),c.memoizedState=c.baseState=r,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sz,lastRenderedState:r},c.queue=u,c=Uz.bind(null,He,u),u.dispatch=c,u=ZT(!1),g=tR.bind(null,He,!1,u.queue),u=mn(),v={state:r,dispatch:null,action:n,pending:null},u.queue=v,c=JQ.bind(null,He,v,g,c),v.dispatch=c,u.memoizedState=n,[r,c,!1]}function Nz(n){var r=Dt();return Lz(r,yt,n)}function Lz(n,r,c){if(r=GT(n,r,Sz)[0],n=I0(_r)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var u=Tu(r)}catch(C){throw C===yd?M0:C}else u=r;r=Dt();var v=r.queue,g=v.dispatch;return c!==r.memoizedState&&(He.flags|=2048,Md(9,{destroy:void 0},eJ.bind(null,v,c),null)),[u,g,n]}function eJ(n,r){n.action=r}function Ez(n){var r=Dt(),c=yt;if(c!==null)return Lz(r,c,n);Dt(),r=r.memoizedState,c=Dt();var u=c.queue.dispatch;return c.memoizedState=n,[r,u,!1]}function Md(n,r,c,u){return n={tag:n,create:c,deps:u,inst:r,next:null},r=He.updateQueue,r===null&&(r=L0(),He.updateQueue=r),c=r.lastEffect,c===null?r.lastEffect=n.next=n:(u=c.next,c.next=n,n.next=u,r.lastEffect=n),n}function Iz(){return Dt().memoizedState}function A0(n,r,c,u){var v=mn();He.flags|=n,v.memoizedState=Md(1|r,{destroy:void 0},c,u===void 0?null:u)}function T0(n,r,c,u){var v=Dt();u=u===void 0?null:u;var g=v.memoizedState.inst;yt!==null&&u!==null&&qT(u,yt.memoizedState.deps)?v.memoizedState=Md(r,g,c,u):(He.flags|=n,v.memoizedState=Md(1|r,g,c,u))}function Az(n,r){A0(8390656,8,n,r)}function KT(n,r){T0(2048,8,n,r)}function tJ(n){He.flags|=4;var r=He.updateQueue;if(r===null)r=L0(),He.updateQueue=r,r.events=[n];else{var c=r.events;c===null?r.events=[n]:c.push(n)}}function Tz(n){var r=Dt().memoizedState;return tJ({ref:r,nextImpl:n}),function(){if((dt&2)!==0)throw Error(o(440));return r.impl.apply(void 0,arguments)}}function Rz(n,r){return T0(4,2,n,r)}function $z(n,r){return T0(4,4,n,r)}function jz(n,r){if(typeof r=="function"){n=n();var c=r(n);return function(){typeof c=="function"?c():r(null)}}if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function Pz(n,r,c){c=c!=null?c.concat([n]):null,T0(4,4,jz.bind(null,r,n),c)}function YT(){}function Oz(n,r){var c=Dt();r=r===void 0?null:r;var u=c.memoizedState;return r!==null&&qT(r,u[1])?u[0]:(c.memoizedState=[n,r],n)}function Dz(n,r){var c=Dt();r=r===void 0?null:r;var u=c.memoizedState;if(r!==null&&qT(r,u[1]))return u[0];if(u=n(),Yi){ln(!0);try{n()}finally{ln(!1)}}return c.memoizedState=[u,r],u}function QT(n,r,c){return c===void 0||(wr&1073741824)!==0&&(Xe&261930)===0?n.memoizedState=r:(n.memoizedState=c,n=zq(),He.lanes|=n,ti|=n,c)}function zz(n,r,c,u){return Dn(c,r)?c:vd.current!==null?(n=QT(n,c,u),Dn(n,r)||(Bt=!0),n):(wr&42)===0||(wr&1073741824)!==0&&(Xe&261930)===0?(Bt=!0,n.memoizedState=c):(n=zq(),He.lanes|=n,ti|=n,r)}function qz(n,r,c,u,v){var g=O.p;O.p=g!==0&&8>g?g:8;var C=T.T,E={};T.T=E,tR(n,!1,r,c);try{var z=v(),Q=T.S;if(Q!==null&&Q(E,z),z!==null&&typeof z=="object"&&typeof z.then=="function"){var le=KQ(z,u);Ru(n,r,le,Fn(n))}else Ru(n,r,u,Fn(n))}catch(he){Ru(n,r,{then:function(){},status:"rejected",reason:he},Fn())}finally{O.p=g,C!==null&&E.types!==null&&(C.types=E.types),T.T=C}}function nJ(){}function JT(n,r,c,u){if(n.tag!==5)throw Error(o(476));var v=Hz(n).queue;qz(n,v,r,R,c===null?nJ:function(){return Vz(n),c(u)})}function Hz(n){var r=n.memoizedState;if(r!==null)return r;r={memoizedState:R,baseState:R,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_r,lastRenderedState:R},next:null};var c={};return r.next={memoizedState:c,baseState:c,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_r,lastRenderedState:c},next:null},n.memoizedState=r,n=n.alternate,n!==null&&(n.memoizedState=r),r}function Vz(n){var r=Hz(n);r.next===null&&(r=n.alternate.memoizedState),Ru(n,r.next.queue,{},Fn())}function eR(){return rn(Ku)}function Bz(){return Dt().memoizedState}function Fz(){return Dt().memoizedState}function aJ(n){for(var r=n.return;r!==null;){switch(r.tag){case 24:case 3:var c=Fn();n=Xr(c);var u=Kr(r,n,c);u!==null&&(Ln(u,r,c),Lu(u,r,c)),r={cache:ET()},n.payload=r;return}r=r.return}}function oJ(n,r,c){var u=Fn();c={lane:u,revertLane:0,gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},R0(n)?Gz(r,c):(c=kT(n,r,c,u),c!==null&&(Ln(c,n,u),Wz(c,r,u)))}function Uz(n,r,c){var u=Fn();Ru(n,r,c,u)}function Ru(n,r,c,u){var v={lane:u,revertLane:0,gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null};if(R0(n))Gz(r,v);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=r.lastRenderedReducer,g!==null))try{var C=r.lastRenderedState,E=g(C,c);if(v.hasEagerState=!0,v.eagerState=E,Dn(E,C))return p0(n,r,v,0),gt===null&&h0(),!1}catch{}finally{}if(c=kT(n,r,v,u),c!==null)return Ln(c,n,u),Wz(c,r,u),!0}return!1}function tR(n,r,c,u){if(u={lane:2,revertLane:RR(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},R0(n)){if(r)throw Error(o(479))}else r=kT(n,c,u,2),r!==null&&Ln(r,n,2)}function R0(n){var r=n.alternate;return n===He||r!==null&&r===He}function Gz(n,r){kd=C0=!0;var c=n.pending;c===null?r.next=r:(r.next=c.next,c.next=r),n.pending=r}function Wz(n,r,c){if((c&4194048)!==0){var u=r.lanes;u&=n.pendingLanes,c|=u,r.lanes=c,qt(n,c)}}var $u={readContext:rn,use:E0,useCallback:Rt,useContext:Rt,useEffect:Rt,useImperativeHandle:Rt,useLayoutEffect:Rt,useInsertionEffect:Rt,useMemo:Rt,useReducer:Rt,useRef:Rt,useState:Rt,useDebugValue:Rt,useDeferredValue:Rt,useTransition:Rt,useSyncExternalStore:Rt,useId:Rt,useHostTransitionStatus:Rt,useFormState:Rt,useActionState:Rt,useOptimistic:Rt,useMemoCache:Rt,useCacheRefresh:Rt};$u.useEffectEvent=Rt;var Zz={readContext:rn,use:E0,useCallback:function(n,r){return mn().memoizedState=[n,r===void 0?null:r],n},useContext:rn,useEffect:Az,useImperativeHandle:function(n,r,c){c=c!=null?c.concat([n]):null,A0(4194308,4,jz.bind(null,r,n),c)},useLayoutEffect:function(n,r){return A0(4194308,4,n,r)},useInsertionEffect:function(n,r){A0(4,2,n,r)},useMemo:function(n,r){var c=mn();r=r===void 0?null:r;var u=n();if(Yi){ln(!0);try{n()}finally{ln(!1)}}return c.memoizedState=[u,r],u},useReducer:function(n,r,c){var u=mn();if(c!==void 0){var v=c(r);if(Yi){ln(!0);try{c(r)}finally{ln(!1)}}}else v=r;return u.memoizedState=u.baseState=v,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:v},u.queue=n,n=n.dispatch=oJ.bind(null,He,n),[u.memoizedState,n]},useRef:function(n){var r=mn();return n={current:n},r.memoizedState=n},useState:function(n){n=ZT(n);var r=n.queue,c=Uz.bind(null,He,r);return r.dispatch=c,[n.memoizedState,c]},useDebugValue:YT,useDeferredValue:function(n,r){var c=mn();return QT(c,n,r)},useTransition:function(){var n=ZT(!1);return n=qz.bind(null,He,n.queue,!0,!1),mn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,r,c){var u=He,v=mn();if(Qe){if(c===void 0)throw Error(o(407));c=c()}else{if(c=r(),gt===null)throw Error(o(349));(Xe&127)!==0||yz(u,r,c)}v.memoizedState=c;var g={value:c,getSnapshot:r};return v.queue=g,Az(vz.bind(null,u,g,n),[n]),u.flags|=2048,Md(9,{destroy:void 0},mz.bind(null,u,g,c,r),null),c},useId:function(){var n=mn(),r=gt.identifierPrefix;if(Qe){var c=Yo,u=Ko;c=(u&~(1<<32-W(u)-1)).toString(32)+c,r="_"+r+"R_"+c,c=N0++,0<c&&(r+="H"+c.toString(32)),r+="_"}else c=YQ++,r="_"+r+"r_"+c.toString(32)+"_";return n.memoizedState=r},useHostTransitionStatus:eR,useFormState:Cz,useActionState:Cz,useOptimistic:function(n){var r=mn();r.memoizedState=r.baseState=n;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=c,r=tR.bind(null,He,!0,c),c.dispatch=r,[n,r]},useMemoCache:UT,useCacheRefresh:function(){return mn().memoizedState=aJ.bind(null,He)},useEffectEvent:function(n){var r=mn(),c={impl:n};return r.memoizedState=c,function(){if((dt&2)!==0)throw Error(o(440));return c.impl.apply(void 0,arguments)}}},nR={readContext:rn,use:E0,useCallback:Oz,useContext:rn,useEffect:KT,useImperativeHandle:Pz,useInsertionEffect:Rz,useLayoutEffect:$z,useMemo:Dz,useReducer:I0,useRef:Iz,useState:function(){return I0(_r)},useDebugValue:YT,useDeferredValue:function(n,r){var c=Dt();return zz(c,yt.memoizedState,n,r)},useTransition:function(){var n=I0(_r)[0],r=Dt().memoizedState;return[typeof n=="boolean"?n:Tu(n),r]},useSyncExternalStore:fz,useId:Bz,useHostTransitionStatus:eR,useFormState:Nz,useActionState:Nz,useOptimistic:function(n,r){var c=Dt();return Mz(c,yt,n,r)},useMemoCache:UT,useCacheRefresh:Fz};nR.useEffectEvent=Tz;var Xz={readContext:rn,use:E0,useCallback:Oz,useContext:rn,useEffect:KT,useImperativeHandle:Pz,useInsertionEffect:Rz,useLayoutEffect:$z,useMemo:Dz,useReducer:WT,useRef:Iz,useState:function(){return WT(_r)},useDebugValue:YT,useDeferredValue:function(n,r){var c=Dt();return yt===null?QT(c,n,r):zz(c,yt.memoizedState,n,r)},useTransition:function(){var n=WT(_r)[0],r=Dt().memoizedState;return[typeof n=="boolean"?n:Tu(n),r]},useSyncExternalStore:fz,useId:Bz,useHostTransitionStatus:eR,useFormState:Ez,useActionState:Ez,useOptimistic:function(n,r){var c=Dt();return yt!==null?Mz(c,yt,n,r):(c.baseState=n,[n,c.queue.dispatch])},useMemoCache:UT,useCacheRefresh:Fz};Xz.useEffectEvent=Tz;function aR(n,r,c,u){r=n.memoizedState,c=c(u,r),c=c==null?r:m({},r,c),n.memoizedState=c,n.lanes===0&&(n.updateQueue.baseState=c)}var oR={enqueueSetState:function(n,r,c){n=n._reactInternals;var u=Fn(),v=Xr(u);v.payload=r,c!=null&&(v.callback=c),r=Kr(n,v,u),r!==null&&(Ln(r,n,u),Lu(r,n,u))},enqueueReplaceState:function(n,r,c){n=n._reactInternals;var u=Fn(),v=Xr(u);v.tag=1,v.payload=r,c!=null&&(v.callback=c),r=Kr(n,v,u),r!==null&&(Ln(r,n,u),Lu(r,n,u))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var c=Fn(),u=Xr(c);u.tag=2,r!=null&&(u.callback=r),r=Kr(n,u,c),r!==null&&(Ln(r,n,c),Lu(r,n,c))}};function Kz(n,r,c,u,v,g,C){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,g,C):r.prototype&&r.prototype.isPureReactComponent?!Mu(c,u)||!Mu(v,g):!0}function Yz(n,r,c,u){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(c,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(c,u),r.state!==n&&oR.enqueueReplaceState(r,r.state,null)}function Qi(n,r){var c=r;if("ref"in r){c={};for(var u in r)u!=="ref"&&(c[u]=r[u])}if(n=n.defaultProps){c===r&&(c=m({},c));for(var v in n)c[v]===void 0&&(c[v]=n[v])}return c}function Qz(n){u0(n)}function Jz(n){console.error(n)}function eq(n){u0(n)}function $0(n,r){try{var c=n.onUncaughtError;c(r.value,{componentStack:r.stack})}catch(u){setTimeout(function(){throw u})}}function tq(n,r,c){try{var u=n.onCaughtError;u(c.value,{componentStack:c.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(v){setTimeout(function(){throw v})}}function rR(n,r,c){return c=Xr(c),c.tag=3,c.payload={element:null},c.callback=function(){$0(n,r)},c}function nq(n){return n=Xr(n),n.tag=3,n}function aq(n,r,c,u){var v=c.type.getDerivedStateFromError;if(typeof v=="function"){var g=u.value;n.payload=function(){return v(g)},n.callback=function(){tq(r,c,u)}}var C=c.stateNode;C!==null&&typeof C.componentDidCatch=="function"&&(n.callback=function(){tq(r,c,u),typeof v!="function"&&(ni===null?ni=new Set([this]):ni.add(this));var E=u.stack;this.componentDidCatch(u.value,{componentStack:E!==null?E:""})})}function rJ(n,r,c,u,v){if(c.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(r=c.alternate,r!==null&&hd(r,c,v,!0),c=qn.current,c!==null){switch(c.tag){case 31:case 13:return ra===null?G0():c.alternate===null&&$t===0&&($t=3),c.flags&=-257,c.flags|=65536,c.lanes=v,u===x0?c.flags|=16384:(r=c.updateQueue,r===null?c.updateQueue=new Set([u]):r.add(u),IR(n,u,v)),!1;case 22:return c.flags|=65536,u===x0?c.flags|=16384:(r=c.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([u])},c.updateQueue=r):(c=r.retryQueue,c===null?r.retryQueue=new Set([u]):c.add(u)),IR(n,u,v)),!1}throw Error(o(435,c.tag))}return IR(n,u,v),G0(),!1}if(Qe)return r=qn.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=v,u!==_T&&(n=Error(o(422),{cause:u}),wu(ta(n,c)))):(u!==_T&&(r=Error(o(423),{cause:u}),wu(ta(r,c))),n=n.current.alternate,n.flags|=65536,v&=-v,n.lanes|=v,u=ta(u,c),v=rR(n.stateNode,u,v),jT(n,v),$t!==4&&($t=2)),!1;var g=Error(o(520),{cause:u});if(g=ta(g,c),Vu===null?Vu=[g]:Vu.push(g),$t!==4&&($t=2),r===null)return!0;u=ta(u,c),c=r;do{switch(c.tag){case 3:return c.flags|=65536,n=v&-v,c.lanes|=n,n=rR(c.stateNode,u,n),jT(c,n),!1;case 1:if(r=c.type,g=c.stateNode,(c.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(ni===null||!ni.has(g))))return c.flags|=65536,v&=-v,c.lanes|=v,v=nq(v),aq(v,n,c,u),jT(c,v),!1}c=c.return}while(c!==null);return!1}var iR=Error(o(461)),Bt=!1;function cn(n,r,c,u){r.child=n===null?cz(r,null,c,u):Ki(r,n.child,c,u)}function oq(n,r,c,u,v){c=c.render;var g=r.ref;if("ref"in u){var C={};for(var E in u)E!=="ref"&&(C[E]=u[E])}else C=u;return Gi(r),u=HT(n,r,c,C,g,v),E=VT(),n!==null&&!Bt?(BT(n,r,v),Sr(n,r,v)):(Qe&&E&&bT(r),r.flags|=1,cn(n,r,u,v),r.child)}function rq(n,r,c,u,v){if(n===null){var g=c.type;return typeof g=="function"&&!gT(g)&&g.defaultProps===void 0&&c.compare===null?(r.tag=15,r.type=g,iq(n,r,g,u,v)):(n=y0(c.type,null,u,r,r.mode,v),n.ref=r.ref,n.return=r,r.child=n)}if(g=n.child,!fR(n,v)){var C=g.memoizedProps;if(c=c.compare,c=c!==null?c:Mu,c(C,u)&&n.ref===r.ref)return Sr(n,r,v)}return r.flags|=1,n=gr(g,u),n.ref=r.ref,n.return=r,r.child=n}function iq(n,r,c,u,v){if(n!==null){var g=n.memoizedProps;if(Mu(g,u)&&n.ref===r.ref)if(Bt=!1,r.pendingProps=u=g,fR(n,v))(n.flags&131072)!==0&&(Bt=!0);else return r.lanes=n.lanes,Sr(n,r,v)}return cR(n,r,c,u,v)}function cq(n,r,c,u){var v=u.children,g=n!==null?n.memoizedState:null;if(n===null&&r.stateNode===null&&(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((r.flags&128)!==0){if(g=g!==null?g.baseLanes|c:c,n!==null){for(u=r.child=n.child,v=0;u!==null;)v=v|u.lanes|u.childLanes,u=u.sibling;u=v&~g}else u=0,r.child=null;return sq(n,r,g,c,u)}if((c&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},n!==null&&g0(r,g!==null?g.cachePool:null),g!==null?dz(r,g):OT(),uz(r);else return u=r.lanes=536870912,sq(n,r,g!==null?g.baseLanes|c:c,c,u)}else g!==null?(g0(r,g.cachePool),dz(r,g),Qr(),r.memoizedState=null):(n!==null&&g0(r,null),OT(),Qr());return cn(n,r,v,c),r.child}function ju(n,r){return n!==null&&n.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function sq(n,r,c,u,v){var g=AT();return g=g===null?null:{parent:Ht._currentValue,pool:g},r.memoizedState={baseLanes:c,cachePool:g},n!==null&&g0(r,null),OT(),uz(r),n!==null&&hd(n,r,u,!0),r.childLanes=v,null}function j0(n,r){return r=O0({mode:r.mode,children:r.children},n.mode),r.ref=n.ref,n.child=r,r.return=n,r}function lq(n,r,c){return Ki(r,n.child,null,c),n=j0(r,r.pendingProps),n.flags|=2,Hn(r),r.memoizedState=null,n}function iJ(n,r,c){var u=r.pendingProps,v=(r.flags&128)!==0;if(r.flags&=-129,n===null){if(Qe){if(u.mode==="hidden")return n=j0(r,u),r.lanes=536870912,ju(null,n);if(zT(r),(n=wt)?(n=xH(n,oa),n=n!==null&&n.data==="&"?n:null,n!==null&&(r.memoizedState={dehydrated:n,treeContext:Fr!==null?{id:Ko,overflow:Yo}:null,retryLane:536870912,hydrationErrors:null},c=GD(n),c.return=r,r.child=c,on=r,wt=null)):n=null,n===null)throw Gr(r);return r.lanes=536870912,null}return j0(r,u)}var g=n.memoizedState;if(g!==null){var C=g.dehydrated;if(zT(r),v)if(r.flags&256)r.flags&=-257,r=lq(n,r,c);else if(r.memoizedState!==null)r.child=n.child,r.flags|=128,r=null;else throw Error(o(558));else if(Bt||hd(n,r,c,!1),v=(c&n.childLanes)!==0,Bt||v){if(u=gt,u!==null&&(C=Yt(u,c),C!==0&&C!==g.retryLane))throw g.retryLane=C,Vi(n,C),Ln(u,n,C),iR;G0(),r=lq(n,r,c)}else n=g.treeContext,wt=ia(C.nextSibling),on=r,Qe=!0,Ur=null,oa=!1,n!==null&&XD(r,n),r=j0(r,u),r.flags|=4096;return r}return n=gr(n.child,{mode:u.mode,children:u.children}),n.ref=r.ref,r.child=n,n.return=r,n}function P0(n,r){var c=r.ref;if(c===null)n!==null&&n.ref!==null&&(r.flags|=4194816);else{if(typeof c!="function"&&typeof c!="object")throw Error(o(284));(n===null||n.ref!==c)&&(r.flags|=4194816)}}function cR(n,r,c,u,v){return Gi(r),c=HT(n,r,c,u,void 0,v),u=VT(),n!==null&&!Bt?(BT(n,r,v),Sr(n,r,v)):(Qe&&u&&bT(r),r.flags|=1,cn(n,r,c,v),r.child)}function dq(n,r,c,u,v,g){return Gi(r),r.updateQueue=null,c=pz(r,u,c,v),hz(n),u=VT(),n!==null&&!Bt?(BT(n,r,g),Sr(n,r,g)):(Qe&&u&&bT(r),r.flags|=1,cn(n,r,c,g),r.child)}function uq(n,r,c,u,v){if(Gi(r),r.stateNode===null){var g=sd,C=c.contextType;typeof C=="object"&&C!==null&&(g=rn(C)),g=new c(u,g),r.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=oR,r.stateNode=g,g._reactInternals=r,g=r.stateNode,g.props=u,g.state=r.memoizedState,g.refs={},RT(r),C=c.contextType,g.context=typeof C=="object"&&C!==null?rn(C):sd,g.state=r.memoizedState,C=c.getDerivedStateFromProps,typeof C=="function"&&(aR(r,c,C,u),g.state=r.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(C=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),C!==g.state&&oR.enqueueReplaceState(g,g.state,null),Iu(r,u,g,v),Eu(),g.state=r.memoizedState),typeof g.componentDidMount=="function"&&(r.flags|=4194308),u=!0}else if(n===null){g=r.stateNode;var E=r.memoizedProps,z=Qi(c,E);g.props=z;var Q=g.context,le=c.contextType;C=sd,typeof le=="object"&&le!==null&&(C=rn(le));var he=c.getDerivedStateFromProps;le=typeof he=="function"||typeof g.getSnapshotBeforeUpdate=="function",E=r.pendingProps!==E,le||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(E||Q!==C)&&Yz(r,g,u,C),Zr=!1;var te=r.memoizedState;g.state=te,Iu(r,u,g,v),Eu(),Q=r.memoizedState,E||te!==Q||Zr?(typeof he=="function"&&(aR(r,c,he,u),Q=r.memoizedState),(z=Zr||Kz(r,c,z,u,te,Q,C))?(le||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(r.flags|=4194308)):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=Q),g.props=u,g.state=Q,g.context=C,u=z):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{g=r.stateNode,$T(n,r),C=r.memoizedProps,le=Qi(c,C),g.props=le,he=r.pendingProps,te=g.context,Q=c.contextType,z=sd,typeof Q=="object"&&Q!==null&&(z=rn(Q)),E=c.getDerivedStateFromProps,(Q=typeof E=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(C!==he||te!==z)&&Yz(r,g,u,z),Zr=!1,te=r.memoizedState,g.state=te,Iu(r,u,g,v),Eu();var ie=r.memoizedState;C!==he||te!==ie||Zr||n!==null&&n.dependencies!==null&&v0(n.dependencies)?(typeof E=="function"&&(aR(r,c,E,u),ie=r.memoizedState),(le=Zr||Kz(r,c,le,u,te,ie,z)||n!==null&&n.dependencies!==null&&v0(n.dependencies))?(Q||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(u,ie,z),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(u,ie,z)),typeof g.componentDidUpdate=="function"&&(r.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof g.componentDidUpdate!="function"||C===n.memoizedProps&&te===n.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&te===n.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=ie),g.props=u,g.state=ie,g.context=z,u=le):(typeof g.componentDidUpdate!="function"||C===n.memoizedProps&&te===n.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&te===n.memoizedState||(r.flags|=1024),u=!1)}return g=u,P0(n,r),u=(r.flags&128)!==0,g||u?(g=r.stateNode,c=u&&typeof c.getDerivedStateFromError!="function"?null:g.render(),r.flags|=1,n!==null&&u?(r.child=Ki(r,n.child,null,v),r.child=Ki(r,null,c,v)):cn(n,r,c,v),r.memoizedState=g.state,n=r.child):n=Sr(n,r,v),n}function hq(n,r,c,u){return Fi(),r.flags|=256,cn(n,r,c,u),r.child}var sR={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function lR(n){return{baseLanes:n,cachePool:tz()}}function dR(n,r,c){return n=n!==null?n.childLanes&~c:0,r&&(n|=Bn),n}function pq(n,r,c){var u=r.pendingProps,v=!1,g=(r.flags&128)!==0,C;if((C=g)||(C=n!==null&&n.memoizedState===null?!1:(Ot.current&2)!==0),C&&(v=!0,r.flags&=-129),C=(r.flags&32)!==0,r.flags&=-33,n===null){if(Qe){if(v?Yr(r):Qr(),(n=wt)?(n=xH(n,oa),n=n!==null&&n.data!=="&"?n:null,n!==null&&(r.memoizedState={dehydrated:n,treeContext:Fr!==null?{id:Ko,overflow:Yo}:null,retryLane:536870912,hydrationErrors:null},c=GD(n),c.return=r,r.child=c,on=r,wt=null)):n=null,n===null)throw Gr(r);return GR(n)?r.lanes=32:r.lanes=536870912,null}var E=u.children;return u=u.fallback,v?(Qr(),v=r.mode,E=O0({mode:"hidden",children:E},v),u=Bi(u,v,c,null),E.return=r,u.return=r,E.sibling=u,r.child=E,u=r.child,u.memoizedState=lR(c),u.childLanes=dR(n,C,c),r.memoizedState=sR,ju(null,u)):(Yr(r),uR(r,E))}var z=n.memoizedState;if(z!==null&&(E=z.dehydrated,E!==null)){if(g)r.flags&256?(Yr(r),r.flags&=-257,r=hR(n,r,c)):r.memoizedState!==null?(Qr(),r.child=n.child,r.flags|=128,r=null):(Qr(),E=u.fallback,v=r.mode,u=O0({mode:"visible",children:u.children},v),E=Bi(E,v,c,null),E.flags|=2,u.return=r,E.return=r,u.sibling=E,r.child=u,Ki(r,n.child,null,c),u=r.child,u.memoizedState=lR(c),u.childLanes=dR(n,C,c),r.memoizedState=sR,r=ju(null,u));else if(Yr(r),GR(E)){if(C=E.nextSibling&&E.nextSibling.dataset,C)var Q=C.dgst;C=Q,u=Error(o(419)),u.stack="",u.digest=C,wu({value:u,source:null,stack:null}),r=hR(n,r,c)}else if(Bt||hd(n,r,c,!1),C=(c&n.childLanes)!==0,Bt||C){if(C=gt,C!==null&&(u=Yt(C,c),u!==0&&u!==z.retryLane))throw z.retryLane=u,Vi(n,u),Ln(C,n,u),iR;UR(E)||G0(),r=hR(n,r,c)}else UR(E)?(r.flags|=192,r.child=n.child,r=null):(n=z.treeContext,wt=ia(E.nextSibling),on=r,Qe=!0,Ur=null,oa=!1,n!==null&&XD(r,n),r=uR(r,u.children),r.flags|=4096);return r}return v?(Qr(),E=u.fallback,v=r.mode,z=n.child,Q=z.sibling,u=gr(z,{mode:"hidden",children:u.children}),u.subtreeFlags=z.subtreeFlags&65011712,Q!==null?E=gr(Q,E):(E=Bi(E,v,c,null),E.flags|=2),E.return=r,u.return=r,u.sibling=E,r.child=u,ju(null,u),u=r.child,E=n.child.memoizedState,E===null?E=lR(c):(v=E.cachePool,v!==null?(z=Ht._currentValue,v=v.parent!==z?{parent:z,pool:z}:v):v=tz(),E={baseLanes:E.baseLanes|c,cachePool:v}),u.memoizedState=E,u.childLanes=dR(n,C,c),r.memoizedState=sR,ju(n.child,u)):(Yr(r),c=n.child,n=c.sibling,c=gr(c,{mode:"visible",children:u.children}),c.return=r,c.sibling=null,n!==null&&(C=r.deletions,C===null?(r.deletions=[n],r.flags|=16):C.push(n)),r.child=c,r.memoizedState=null,c)}function uR(n,r){return r=O0({mode:"visible",children:r},n.mode),r.return=n,n.child=r}function O0(n,r){return n=zn(22,n,null,r),n.lanes=0,n}function hR(n,r,c){return Ki(r,n.child,null,c),n=uR(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function fq(n,r,c){n.lanes|=r;var u=n.alternate;u!==null&&(u.lanes|=r),NT(n.return,r,c)}function pR(n,r,c,u,v,g){var C=n.memoizedState;C===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:c,tailMode:v,treeForkCount:g}:(C.isBackwards=r,C.rendering=null,C.renderingStartTime=0,C.last=u,C.tail=c,C.tailMode=v,C.treeForkCount=g)}function yq(n,r,c){var u=r.pendingProps,v=u.revealOrder,g=u.tail;u=u.children;var C=Ot.current,E=(C&2)!==0;if(E?(C=C&1|2,r.flags|=128):C&=1,ne(Ot,C),cn(n,r,u,c),u=Qe?bu:0,!E&&n!==null&&(n.flags&128)!==0)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&fq(n,c,r);else if(n.tag===19)fq(n,c,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(v){case"forwards":for(c=r.child,v=null;c!==null;)n=c.alternate,n!==null&&S0(n)===null&&(v=c),c=c.sibling;c=v,c===null?(v=r.child,r.child=null):(v=c.sibling,c.sibling=null),pR(r,!1,v,c,g,u);break;case"backwards":case"unstable_legacy-backwards":for(c=null,v=r.child,r.child=null;v!==null;){if(n=v.alternate,n!==null&&S0(n)===null){r.child=v;break}n=v.sibling,v.sibling=c,c=v,v=n}pR(r,!0,c,null,g,u);break;case"together":pR(r,!1,null,null,void 0,u);break;default:r.memoizedState=null}return r.child}function Sr(n,r,c){if(n!==null&&(r.dependencies=n.dependencies),ti|=r.lanes,(c&r.childLanes)===0)if(n!==null){if(hd(n,r,c,!1),(c&r.childLanes)===0)return null}else return null;if(n!==null&&r.child!==n.child)throw Error(o(153));if(r.child!==null){for(n=r.child,c=gr(n,n.pendingProps),r.child=c,c.return=r;n.sibling!==null;)n=n.sibling,c=c.sibling=gr(n,n.pendingProps),c.return=r;c.sibling=null}return r.child}function fR(n,r){return(n.lanes&r)!==0?!0:(n=n.dependencies,!!(n!==null&&v0(n)))}function cJ(n,r,c){switch(r.tag){case 3:ve(r,r.stateNode.containerInfo),Wr(r,Ht,n.memoizedState.cache),Fi();break;case 27:case 5:ge(r);break;case 4:ve(r,r.stateNode.containerInfo);break;case 10:Wr(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,zT(r),null;break;case 13:var u=r.memoizedState;if(u!==null)return u.dehydrated!==null?(Yr(r),r.flags|=128,null):(c&r.child.childLanes)!==0?pq(n,r,c):(Yr(r),n=Sr(n,r,c),n!==null?n.sibling:null);Yr(r);break;case 19:var v=(n.flags&128)!==0;if(u=(c&r.childLanes)!==0,u||(hd(n,r,c,!1),u=(c&r.childLanes)!==0),v){if(u)return yq(n,r,c);r.flags|=128}if(v=r.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),ne(Ot,Ot.current),u)break;return null;case 22:return r.lanes=0,cq(n,r,c,r.pendingProps);case 24:Wr(r,Ht,n.memoizedState.cache)}return Sr(n,r,c)}function mq(n,r,c){if(n!==null)if(n.memoizedProps!==r.pendingProps)Bt=!0;else{if(!fR(n,c)&&(r.flags&128)===0)return Bt=!1,cJ(n,r,c);Bt=(n.flags&131072)!==0}else Bt=!1,Qe&&(r.flags&1048576)!==0&&ZD(r,bu,r.index);switch(r.lanes=0,r.tag){case 16:e:{var u=r.pendingProps;if(n=Zi(r.elementType),r.type=n,typeof n=="function")gT(n)?(u=Qi(n,u),r.tag=1,r=uq(null,r,n,u,c)):(r.tag=0,r=cR(null,r,n,u,c));else{if(n!=null){var v=n.$$typeof;if(v===P){r.tag=11,r=oq(null,r,n,u,c);break e}else if(v===A){r.tag=14,r=rq(null,r,n,u,c);break e}}throw r=J(n)||n,Error(o(306,r,""))}}return r;case 0:return cR(n,r,r.type,r.pendingProps,c);case 1:return u=r.type,v=Qi(u,r.pendingProps),uq(n,r,u,v,c);case 3:e:{if(ve(r,r.stateNode.containerInfo),n===null)throw Error(o(387));u=r.pendingProps;var g=r.memoizedState;v=g.element,$T(n,r),Iu(r,u,null,c);var C=r.memoizedState;if(u=C.cache,Wr(r,Ht,u),u!==g.cache&&LT(r,[Ht],c,!0),Eu(),u=C.element,g.isDehydrated)if(g={element:u,isDehydrated:!1,cache:C.cache},r.updateQueue.baseState=g,r.memoizedState=g,r.flags&256){r=hq(n,r,u,c);break e}else if(u!==v){v=ta(Error(o(424)),r),wu(v),r=hq(n,r,u,c);break e}else{switch(n=r.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(wt=ia(n.firstChild),on=r,Qe=!0,Ur=null,oa=!0,c=cz(r,null,u,c),r.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling}else{if(Fi(),u===v){r=Sr(n,r,c);break e}cn(n,r,u,c)}r=r.child}return r;case 26:return P0(n,r),n===null?(c=NH(r.type,null,r.pendingProps,null))?r.memoizedState=c:Qe||(c=r.type,n=r.pendingProps,u=J0(ye.current).createElement(c),u[Pt]=r,u[an]=n,sn(u,c,n),Qt(u),r.stateNode=u):r.memoizedState=NH(r.type,n.memoizedProps,r.pendingProps,n.memoizedState),null;case 27:return ge(r),n===null&&Qe&&(u=r.stateNode=_H(r.type,r.pendingProps,ye.current),on=r,oa=!0,v=wt,ii(r.type)?(WR=v,wt=ia(u.firstChild)):wt=v),cn(n,r,r.pendingProps.children,c),P0(n,r),n===null&&(r.flags|=4194304),r.child;case 5:return n===null&&Qe&&((v=u=wt)&&(u=OJ(u,r.type,r.pendingProps,oa),u!==null?(r.stateNode=u,on=r,wt=ia(u.firstChild),oa=!1,v=!0):v=!1),v||Gr(r)),ge(r),v=r.type,g=r.pendingProps,C=n!==null?n.memoizedProps:null,u=g.children,VR(v,g)?u=null:C!==null&&VR(v,C)&&(r.flags|=32),r.memoizedState!==null&&(v=HT(n,r,QQ,null,null,c),Ku._currentValue=v),P0(n,r),cn(n,r,u,c),r.child;case 6:return n===null&&Qe&&((n=c=wt)&&(c=DJ(c,r.pendingProps,oa),c!==null?(r.stateNode=c,on=r,wt=null,n=!0):n=!1),n||Gr(r)),null;case 13:return pq(n,r,c);case 4:return ve(r,r.stateNode.containerInfo),u=r.pendingProps,n===null?r.child=Ki(r,null,u,c):cn(n,r,u,c),r.child;case 11:return oq(n,r,r.type,r.pendingProps,c);case 7:return cn(n,r,r.pendingProps,c),r.child;case 8:return cn(n,r,r.pendingProps.children,c),r.child;case 12:return cn(n,r,r.pendingProps.children,c),r.child;case 10:return u=r.pendingProps,Wr(r,r.type,u.value),cn(n,r,u.children,c),r.child;case 9:return v=r.type._context,u=r.pendingProps.children,Gi(r),v=rn(v),u=u(v),r.flags|=1,cn(n,r,u,c),r.child;case 14:return rq(n,r,r.type,r.pendingProps,c);case 15:return iq(n,r,r.type,r.pendingProps,c);case 19:return yq(n,r,c);case 31:return iJ(n,r,c);case 22:return cq(n,r,c,r.pendingProps);case 24:return Gi(r),u=rn(Ht),n===null?(v=AT(),v===null&&(v=gt,g=ET(),v.pooledCache=g,g.refCount++,g!==null&&(v.pooledCacheLanes|=c),v=g),r.memoizedState={parent:u,cache:v},RT(r),Wr(r,Ht,v)):((n.lanes&c)!==0&&($T(n,r),Iu(r,null,null,c),Eu()),v=n.memoizedState,g=r.memoizedState,v.parent!==u?(v={parent:u,cache:u},r.memoizedState=v,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=v),Wr(r,Ht,u)):(u=g.cache,Wr(r,Ht,u),u!==v.cache&&LT(r,[Ht],c,!0))),cn(n,r,r.pendingProps.children,c),r.child;case 29:throw r.pendingProps}throw Error(o(156,r.tag))}function Cr(n){n.flags|=4}function yR(n,r,c,u,v){if((r=(n.mode&32)!==0)&&(r=!1),r){if(n.flags|=16777216,(v&335544128)===v)if(n.stateNode.complete)n.flags|=8192;else if(Bq())n.flags|=8192;else throw Xi=x0,TT}else n.flags&=-16777217}function vq(n,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!TH(r))if(Bq())n.flags|=8192;else throw Xi=x0,TT}function D0(n,r){r!==null&&(n.flags|=4),n.flags&16384&&(r=n.tag!==22?Et():536870912,n.lanes|=r,_d|=r)}function Pu(n,r){if(!Qe)switch(n.tailMode){case"hidden":r=n.tail;for(var c=null;r!==null;)r.alternate!==null&&(c=r),r=r.sibling;c===null?n.tail=null:c.sibling=null;break;case"collapsed":c=n.tail;for(var u=null;c!==null;)c.alternate!==null&&(u=c),c=c.sibling;u===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:u.sibling=null}}function _t(n){var r=n.alternate!==null&&n.alternate.child===n.child,c=0,u=0;if(r)for(var v=n.child;v!==null;)c|=v.lanes|v.childLanes,u|=v.subtreeFlags&65011712,u|=v.flags&65011712,v.return=n,v=v.sibling;else for(v=n.child;v!==null;)c|=v.lanes|v.childLanes,u|=v.subtreeFlags,u|=v.flags,v.return=n,v=v.sibling;return n.subtreeFlags|=u,n.childLanes=c,r}function sJ(n,r,c){var u=r.pendingProps;switch(wT(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _t(r),null;case 1:return _t(r),null;case 3:return c=r.stateNode,u=null,n!==null&&(u=n.memoizedState.cache),r.memoizedState.cache!==u&&(r.flags|=2048),br(Ht),me(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(n===null||n.child===null)&&(ud(r)?Cr(r):n===null||n.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,ST())),_t(r),null;case 26:var v=r.type,g=r.memoizedState;return n===null?(Cr(r),g!==null?(_t(r),vq(r,g)):(_t(r),yR(r,v,null,u,c))):g?g!==n.memoizedState?(Cr(r),_t(r),vq(r,g)):(_t(r),r.flags&=-16777217):(n=n.memoizedProps,n!==u&&Cr(r),_t(r),yR(r,v,n,u,c)),null;case 27:if(fe(r),c=ye.current,v=r.type,n!==null&&r.stateNode!=null)n.memoizedProps!==u&&Cr(r);else{if(!u){if(r.stateNode===null)throw Error(o(166));return _t(r),null}n=de.current,ud(r)?KD(r):(n=_H(v,u,c),r.stateNode=n,Cr(r))}return _t(r),null;case 5:if(fe(r),v=r.type,n!==null&&r.stateNode!=null)n.memoizedProps!==u&&Cr(r);else{if(!u){if(r.stateNode===null)throw Error(o(166));return _t(r),null}if(g=de.current,ud(r))KD(r);else{var C=J0(ye.current);switch(g){case 1:g=C.createElementNS("http://www.w3.org/2000/svg",v);break;case 2:g=C.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;default:switch(v){case"svg":g=C.createElementNS("http://www.w3.org/2000/svg",v);break;case"math":g=C.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;case"script":g=C.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof u.is=="string"?C.createElement("select",{is:u.is}):C.createElement("select"),u.multiple?g.multiple=!0:u.size&&(g.size=u.size);break;default:g=typeof u.is=="string"?C.createElement(v,{is:u.is}):C.createElement(v)}}g[Pt]=r,g[an]=u;e:for(C=r.child;C!==null;){if(C.tag===5||C.tag===6)g.appendChild(C.stateNode);else if(C.tag!==4&&C.tag!==27&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===r)break e;for(;C.sibling===null;){if(C.return===null||C.return===r)break e;C=C.return}C.sibling.return=C.return,C=C.sibling}r.stateNode=g;e:switch(sn(g,v,u),v){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&Cr(r)}}return _t(r),yR(r,r.type,n===null?null:n.memoizedProps,r.pendingProps,c),null;case 6:if(n&&r.stateNode!=null)n.memoizedProps!==u&&Cr(r);else{if(typeof u!="string"&&r.stateNode===null)throw Error(o(166));if(n=ye.current,ud(r)){if(n=r.stateNode,c=r.memoizedProps,u=null,v=on,v!==null)switch(v.tag){case 27:case 5:u=v.memoizedProps}n[Pt]=r,n=!!(n.nodeValue===c||u!==null&&u.suppressHydrationWarning===!0||pH(n.nodeValue,c)),n||Gr(r,!0)}else n=J0(n).createTextNode(u),n[Pt]=r,r.stateNode=n}return _t(r),null;case 31:if(c=r.memoizedState,n===null||n.memoizedState!==null){if(u=ud(r),c!==null){if(n===null){if(!u)throw Error(o(318));if(n=r.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(557));n[Pt]=r}else Fi(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;_t(r),n=!1}else c=ST(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=c),n=!0;if(!n)return r.flags&256?(Hn(r),r):(Hn(r),null);if((r.flags&128)!==0)throw Error(o(558))}return _t(r),null;case 13:if(u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(v=ud(r),u!==null&&u.dehydrated!==null){if(n===null){if(!v)throw Error(o(318));if(v=r.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(o(317));v[Pt]=r}else Fi(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;_t(r),v=!1}else v=ST(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=v),v=!0;if(!v)return r.flags&256?(Hn(r),r):(Hn(r),null)}return Hn(r),(r.flags&128)!==0?(r.lanes=c,r):(c=u!==null,n=n!==null&&n.memoizedState!==null,c&&(u=r.child,v=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(v=u.alternate.memoizedState.cachePool.pool),g=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(g=u.memoizedState.cachePool.pool),g!==v&&(u.flags|=2048)),c!==n&&c&&(r.child.flags|=8192),D0(r,r.updateQueue),_t(r),null);case 4:return me(),n===null&&OR(r.stateNode.containerInfo),_t(r),null;case 10:return br(r.type),_t(r),null;case 19:if(X(Ot),u=r.memoizedState,u===null)return _t(r),null;if(v=(r.flags&128)!==0,g=u.rendering,g===null)if(v)Pu(u,!1);else{if($t!==0||n!==null&&(n.flags&128)!==0)for(n=r.child;n!==null;){if(g=S0(n),g!==null){for(r.flags|=128,Pu(u,!1),n=g.updateQueue,r.updateQueue=n,D0(r,n),r.subtreeFlags=0,n=c,c=r.child;c!==null;)UD(c,n),c=c.sibling;return ne(Ot,Ot.current&1|2),Qe&&Mr(r,u.treeForkCount),r.child}n=n.sibling}u.tail!==null&&qe()>B0&&(r.flags|=128,v=!0,Pu(u,!1),r.lanes=4194304)}else{if(!v)if(n=S0(g),n!==null){if(r.flags|=128,v=!0,n=n.updateQueue,r.updateQueue=n,D0(r,n),Pu(u,!0),u.tail===null&&u.tailMode==="hidden"&&!g.alternate&&!Qe)return _t(r),null}else 2*qe()-u.renderingStartTime>B0&&c!==536870912&&(r.flags|=128,v=!0,Pu(u,!1),r.lanes=4194304);u.isBackwards?(g.sibling=r.child,r.child=g):(n=u.last,n!==null?n.sibling=g:r.child=g,u.last=g)}return u.tail!==null?(n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=qe(),n.sibling=null,c=Ot.current,ne(Ot,v?c&1|2:c&1),Qe&&Mr(r,u.treeForkCount),n):(_t(r),null);case 22:case 23:return Hn(r),DT(),u=r.memoizedState!==null,n!==null?n.memoizedState!==null!==u&&(r.flags|=8192):u&&(r.flags|=8192),u?(c&536870912)!==0&&(r.flags&128)===0&&(_t(r),r.subtreeFlags&6&&(r.flags|=8192)):_t(r),c=r.updateQueue,c!==null&&D0(r,c.retryQueue),c=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(c=n.memoizedState.cachePool.pool),u=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),u!==c&&(r.flags|=2048),n!==null&&X(Wi),null;case 24:return c=null,n!==null&&(c=n.memoizedState.cache),r.memoizedState.cache!==c&&(r.flags|=2048),br(Ht),_t(r),null;case 25:return null;case 30:return null}throw Error(o(156,r.tag))}function lJ(n,r){switch(wT(r),r.tag){case 1:return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return br(Ht),me(),n=r.flags,(n&65536)!==0&&(n&128)===0?(r.flags=n&-65537|128,r):null;case 26:case 27:case 5:return fe(r),null;case 31:if(r.memoizedState!==null){if(Hn(r),r.alternate===null)throw Error(o(340));Fi()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 13:if(Hn(r),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(o(340));Fi()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return X(Ot),null;case 4:return me(),null;case 10:return br(r.type),null;case 22:case 23:return Hn(r),DT(),n!==null&&X(Wi),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 24:return br(Ht),null;case 25:return null;default:return null}}function kq(n,r){switch(wT(r),r.tag){case 3:br(Ht),me();break;case 26:case 27:case 5:fe(r);break;case 4:me();break;case 31:r.memoizedState!==null&&Hn(r);break;case 13:Hn(r);break;case 19:X(Ot);break;case 10:br(r.type);break;case 22:case 23:Hn(r),DT(),n!==null&&X(Wi);break;case 24:br(Ht)}}function Ou(n,r){try{var c=r.updateQueue,u=c!==null?c.lastEffect:null;if(u!==null){var v=u.next;c=v;do{if((c.tag&n)===n){u=void 0;var g=c.create,C=c.inst;u=g(),C.destroy=u}c=c.next}while(c!==v)}}catch(E){pt(r,r.return,E)}}function Jr(n,r,c){try{var u=r.updateQueue,v=u!==null?u.lastEffect:null;if(v!==null){var g=v.next;u=g;do{if((u.tag&n)===n){var C=u.inst,E=C.destroy;if(E!==void 0){C.destroy=void 0,v=r;var z=c,Q=E;try{Q()}catch(le){pt(v,z,le)}}}u=u.next}while(u!==g)}}catch(le){pt(r,r.return,le)}}function gq(n){var r=n.updateQueue;if(r!==null){var c=n.stateNode;try{lz(r,c)}catch(u){pt(n,n.return,u)}}}function Mq(n,r,c){c.props=Qi(n.type,n.memoizedProps),c.state=n.memoizedState;try{c.componentWillUnmount()}catch(u){pt(n,r,u)}}function Du(n,r){try{var c=n.ref;if(c!==null){switch(n.tag){case 26:case 27:case 5:var u=n.stateNode;break;case 30:u=n.stateNode;break;default:u=n.stateNode}typeof c=="function"?n.refCleanup=c(u):c.current=u}}catch(v){pt(n,r,v)}}function Qo(n,r){var c=n.ref,u=n.refCleanup;if(c!==null)if(typeof u=="function")try{u()}catch(v){pt(n,r,v)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof c=="function")try{c(null)}catch(v){pt(n,r,v)}else c.current=null}function xq(n){var r=n.type,c=n.memoizedProps,u=n.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":c.autoFocus&&u.focus();break e;case"img":c.src?u.src=c.src:c.srcSet&&(u.srcset=c.srcSet)}}catch(v){pt(n,n.return,v)}}function mR(n,r,c){try{var u=n.stateNode;AJ(u,n.type,c,r),u[an]=r}catch(v){pt(n,n.return,v)}}function bq(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&ii(n.type)||n.tag===4}function vR(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||bq(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&ii(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function kR(n,r,c){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?(c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c).insertBefore(n,r):(r=c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c,r.appendChild(n),c=c._reactRootContainer,c!=null||r.onclick!==null||(r.onclick=vr));else if(u!==4&&(u===27&&ii(n.type)&&(c=n.stateNode,r=null),n=n.child,n!==null))for(kR(n,r,c),n=n.sibling;n!==null;)kR(n,r,c),n=n.sibling}function z0(n,r,c){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?c.insertBefore(n,r):c.appendChild(n);else if(u!==4&&(u===27&&ii(n.type)&&(c=n.stateNode),n=n.child,n!==null))for(z0(n,r,c),n=n.sibling;n!==null;)z0(n,r,c),n=n.sibling}function wq(n){var r=n.stateNode,c=n.memoizedProps;try{for(var u=n.type,v=r.attributes;v.length;)r.removeAttributeNode(v[0]);sn(r,u,c),r[Pt]=n,r[an]=c}catch(g){pt(n,n.return,g)}}var Nr=!1,Ft=!1,gR=!1,_q=typeof WeakSet=="function"?WeakSet:Set,Jt=null;function dJ(n,r){if(n=n.containerInfo,qR=ih,n=PD(n),hT(n)){if("selectionStart"in n)var c={start:n.selectionStart,end:n.selectionEnd};else e:{c=(c=n.ownerDocument)&&c.defaultView||window;var u=c.getSelection&&c.getSelection();if(u&&u.rangeCount!==0){c=u.anchorNode;var v=u.anchorOffset,g=u.focusNode;u=u.focusOffset;try{c.nodeType,g.nodeType}catch{c=null;break e}var C=0,E=-1,z=-1,Q=0,le=0,he=n,te=null;t:for(;;){for(var ie;he!==c||v!==0&&he.nodeType!==3||(E=C+v),he!==g||u!==0&&he.nodeType!==3||(z=C+u),he.nodeType===3&&(C+=he.nodeValue.length),(ie=he.firstChild)!==null;)te=he,he=ie;for(;;){if(he===n)break t;if(te===c&&++Q===v&&(E=C),te===g&&++le===u&&(z=C),(ie=he.nextSibling)!==null)break;he=te,te=he.parentNode}he=ie}c=E===-1||z===-1?null:{start:E,end:z}}else c=null}c=c||{start:0,end:0}}else c=null;for(HR={focusedElem:n,selectionRange:c},ih=!1,Jt=r;Jt!==null;)if(r=Jt,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Jt=n;else for(;Jt!==null;){switch(r=Jt,g=r.alternate,n=r.flags,r.tag){case 0:if((n&4)!==0&&(n=r.updateQueue,n=n!==null?n.events:null,n!==null))for(c=0;c<n.length;c++)v=n[c],v.ref.impl=v.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&g!==null){n=void 0,c=r,v=g.memoizedProps,g=g.memoizedState,u=c.stateNode;try{var _e=Qi(c.type,v);n=u.getSnapshotBeforeUpdate(_e,g),u.__reactInternalSnapshotBeforeUpdate=n}catch(Re){pt(c,c.return,Re)}}break;case 3:if((n&1024)!==0){if(n=r.stateNode.containerInfo,c=n.nodeType,c===9)FR(n);else if(c===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":FR(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(o(163))}if(n=r.sibling,n!==null){n.return=r.return,Jt=n;break}Jt=r.return}}function Sq(n,r,c){var u=c.flags;switch(c.tag){case 0:case 11:case 15:Er(n,c),u&4&&Ou(5,c);break;case 1:if(Er(n,c),u&4)if(n=c.stateNode,r===null)try{n.componentDidMount()}catch(C){pt(c,c.return,C)}else{var v=Qi(c.type,r.memoizedProps);r=r.memoizedState;try{n.componentDidUpdate(v,r,n.__reactInternalSnapshotBeforeUpdate)}catch(C){pt(c,c.return,C)}}u&64&&gq(c),u&512&&Du(c,c.return);break;case 3:if(Er(n,c),u&64&&(n=c.updateQueue,n!==null)){if(r=null,c.child!==null)switch(c.child.tag){case 27:case 5:r=c.child.stateNode;break;case 1:r=c.child.stateNode}try{lz(n,r)}catch(C){pt(c,c.return,C)}}break;case 27:r===null&&u&4&&wq(c);case 26:case 5:Er(n,c),r===null&&u&4&&xq(c),u&512&&Du(c,c.return);break;case 12:Er(n,c);break;case 31:Er(n,c),u&4&&Lq(n,c);break;case 13:Er(n,c),u&4&&Eq(n,c),u&64&&(n=c.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(c=gJ.bind(null,c),zJ(n,c))));break;case 22:if(u=c.memoizedState!==null||Nr,!u){r=r!==null&&r.memoizedState!==null||Ft,v=Nr;var g=Ft;Nr=u,(Ft=r)&&!g?Ir(n,c,(c.subtreeFlags&8772)!==0):Er(n,c),Nr=v,Ft=g}break;case 30:break;default:Er(n,c)}}function Cq(n){var r=n.alternate;r!==null&&(n.alternate=null,Cq(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&uu(r)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Ct=null,_n=!1;function Lr(n,r,c){for(c=c.child;c!==null;)Nq(n,r,c),c=c.sibling}function Nq(n,r,c){if(Gt&&typeof Gt.onCommitFiberUnmount=="function")try{Gt.onCommitFiberUnmount(Yn,c)}catch{}switch(c.tag){case 26:Ft||Qo(c,r),Lr(n,r,c),c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:Ft||Qo(c,r);var u=Ct,v=_n;ii(c.type)&&(Ct=c.stateNode,_n=!1),Lr(n,r,c),Wu(c.stateNode),Ct=u,_n=v;break;case 5:Ft||Qo(c,r);case 6:if(u=Ct,v=_n,Ct=null,Lr(n,r,c),Ct=u,_n=v,Ct!==null)if(_n)try{(Ct.nodeType===9?Ct.body:Ct.nodeName==="HTML"?Ct.ownerDocument.body:Ct).removeChild(c.stateNode)}catch(g){pt(c,r,g)}else try{Ct.removeChild(c.stateNode)}catch(g){pt(c,r,g)}break;case 18:Ct!==null&&(_n?(n=Ct,gH(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,c.stateNode),Td(n)):gH(Ct,c.stateNode));break;case 4:u=Ct,v=_n,Ct=c.stateNode.containerInfo,_n=!0,Lr(n,r,c),Ct=u,_n=v;break;case 0:case 11:case 14:case 15:Jr(2,c,r),Ft||Jr(4,c,r),Lr(n,r,c);break;case 1:Ft||(Qo(c,r),u=c.stateNode,typeof u.componentWillUnmount=="function"&&Mq(c,r,u)),Lr(n,r,c);break;case 21:Lr(n,r,c);break;case 22:Ft=(u=Ft)||c.memoizedState!==null,Lr(n,r,c),Ft=u;break;default:Lr(n,r,c)}}function Lq(n,r){if(r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{Td(n)}catch(c){pt(r,r.return,c)}}}function Eq(n,r){if(r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Td(n)}catch(c){pt(r,r.return,c)}}function uJ(n){switch(n.tag){case 31:case 13:case 19:var r=n.stateNode;return r===null&&(r=n.stateNode=new _q),r;case 22:return n=n.stateNode,r=n._retryCache,r===null&&(r=n._retryCache=new _q),r;default:throw Error(o(435,n.tag))}}function q0(n,r){var c=uJ(n);r.forEach(function(u){if(!c.has(u)){c.add(u);var v=MJ.bind(null,n,u);u.then(v,v)}})}function Sn(n,r){var c=r.deletions;if(c!==null)for(var u=0;u<c.length;u++){var v=c[u],g=n,C=r,E=C;e:for(;E!==null;){switch(E.tag){case 27:if(ii(E.type)){Ct=E.stateNode,_n=!1;break e}break;case 5:Ct=E.stateNode,_n=!1;break e;case 3:case 4:Ct=E.stateNode.containerInfo,_n=!0;break e}E=E.return}if(Ct===null)throw Error(o(160));Nq(g,C,v),Ct=null,_n=!1,g=v.alternate,g!==null&&(g.return=null),v.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)Iq(r,n),r=r.sibling}var fa=null;function Iq(n,r){var c=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Sn(r,n),Cn(n),u&4&&(Jr(3,n,n.return),Ou(3,n),Jr(5,n,n.return));break;case 1:Sn(r,n),Cn(n),u&512&&(Ft||c===null||Qo(c,c.return)),u&64&&Nr&&(n=n.updateQueue,n!==null&&(u=n.callbacks,u!==null&&(c=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=c===null?u:c.concat(u))));break;case 26:var v=fa;if(Sn(r,n),Cn(n),u&512&&(Ft||c===null||Qo(c,c.return)),u&4){var g=c!==null?c.memoizedState:null;if(u=n.memoizedState,c===null)if(u===null)if(n.stateNode===null){e:{u=n.type,c=n.memoizedProps,v=v.ownerDocument||v;t:switch(u){case"title":g=v.getElementsByTagName("title")[0],(!g||g[Xo]||g[Pt]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=v.createElement(u),v.head.insertBefore(g,v.querySelector("head > title"))),sn(g,u,c),g[Pt]=n,Qt(g),u=g;break e;case"link":var C=IH("link","href",v).get(u+(c.href||""));if(C){for(var E=0;E<C.length;E++)if(g=C[E],g.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&g.getAttribute("rel")===(c.rel==null?null:c.rel)&&g.getAttribute("title")===(c.title==null?null:c.title)&&g.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){C.splice(E,1);break t}}g=v.createElement(u),sn(g,u,c),v.head.appendChild(g);break;case"meta":if(C=IH("meta","content",v).get(u+(c.content||""))){for(E=0;E<C.length;E++)if(g=C[E],g.getAttribute("content")===(c.content==null?null:""+c.content)&&g.getAttribute("name")===(c.name==null?null:c.name)&&g.getAttribute("property")===(c.property==null?null:c.property)&&g.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&g.getAttribute("charset")===(c.charSet==null?null:c.charSet)){C.splice(E,1);break t}}g=v.createElement(u),sn(g,u,c),v.head.appendChild(g);break;default:throw Error(o(468,u))}g[Pt]=n,Qt(g),u=g}n.stateNode=u}else AH(v,n.type,n.stateNode);else n.stateNode=EH(v,u,n.memoizedProps);else g!==u?(g===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):g.count--,u===null?AH(v,n.type,n.stateNode):EH(v,u,n.memoizedProps)):u===null&&n.stateNode!==null&&mR(n,n.memoizedProps,c.memoizedProps)}break;case 27:Sn(r,n),Cn(n),u&512&&(Ft||c===null||Qo(c,c.return)),c!==null&&u&4&&mR(n,n.memoizedProps,c.memoizedProps);break;case 5:if(Sn(r,n),Cn(n),u&512&&(Ft||c===null||Qo(c,c.return)),n.flags&32){v=n.stateNode;try{td(v,"")}catch(_e){pt(n,n.return,_e)}}u&4&&n.stateNode!=null&&(v=n.memoizedProps,mR(n,v,c!==null?c.memoizedProps:v)),u&1024&&(gR=!0);break;case 6:if(Sn(r,n),Cn(n),u&4){if(n.stateNode===null)throw Error(o(162));u=n.memoizedProps,c=n.stateNode;try{c.nodeValue=u}catch(_e){pt(n,n.return,_e)}}break;case 3:if(nh=null,v=fa,fa=eh(r.containerInfo),Sn(r,n),fa=v,Cn(n),u&4&&c!==null&&c.memoizedState.isDehydrated)try{Td(r.containerInfo)}catch(_e){pt(n,n.return,_e)}gR&&(gR=!1,Aq(n));break;case 4:u=fa,fa=eh(n.stateNode.containerInfo),Sn(r,n),Cn(n),fa=u;break;case 12:Sn(r,n),Cn(n);break;case 31:Sn(r,n),Cn(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,q0(n,u)));break;case 13:Sn(r,n),Cn(n),n.child.flags&8192&&n.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(V0=qe()),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,q0(n,u)));break;case 22:v=n.memoizedState!==null;var z=c!==null&&c.memoizedState!==null,Q=Nr,le=Ft;if(Nr=Q||v,Ft=le||z,Sn(r,n),Ft=le,Nr=Q,Cn(n),u&8192)e:for(r=n.stateNode,r._visibility=v?r._visibility&-2:r._visibility|1,v&&(c===null||z||Nr||Ft||Ji(n)),c=null,r=n;;){if(r.tag===5||r.tag===26){if(c===null){z=c=r;try{if(g=z.stateNode,v)C=g.style,typeof C.setProperty=="function"?C.setProperty("display","none","important"):C.display="none";else{E=z.stateNode;var he=z.memoizedProps.style,te=he!=null&&he.hasOwnProperty("display")?he.display:null;E.style.display=te==null||typeof te=="boolean"?"":(""+te).trim()}}catch(_e){pt(z,z.return,_e)}}}else if(r.tag===6){if(c===null){z=r;try{z.stateNode.nodeValue=v?"":z.memoizedProps}catch(_e){pt(z,z.return,_e)}}}else if(r.tag===18){if(c===null){z=r;try{var ie=z.stateNode;v?MH(ie,!0):MH(z.stateNode,!1)}catch(_e){pt(z,z.return,_e)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===n)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break e;for(;r.sibling===null;){if(r.return===null||r.return===n)break e;c===r&&(c=null),r=r.return}c===r&&(c=null),r.sibling.return=r.return,r=r.sibling}u&4&&(u=n.updateQueue,u!==null&&(c=u.retryQueue,c!==null&&(u.retryQueue=null,q0(n,c))));break;case 19:Sn(r,n),Cn(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,q0(n,u)));break;case 30:break;case 21:break;default:Sn(r,n),Cn(n)}}function Cn(n){var r=n.flags;if(r&2){try{for(var c,u=n.return;u!==null;){if(bq(u)){c=u;break}u=u.return}if(c==null)throw Error(o(160));switch(c.tag){case 27:var v=c.stateNode,g=vR(n);z0(n,g,v);break;case 5:var C=c.stateNode;c.flags&32&&(td(C,""),c.flags&=-33);var E=vR(n);z0(n,E,C);break;case 3:case 4:var z=c.stateNode.containerInfo,Q=vR(n);kR(n,Q,z);break;default:throw Error(o(161))}}catch(le){pt(n,n.return,le)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Aq(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var r=n;Aq(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),n=n.sibling}}function Er(n,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)Sq(n,r.alternate,r),r=r.sibling}function Ji(n){for(n=n.child;n!==null;){var r=n;switch(r.tag){case 0:case 11:case 14:case 15:Jr(4,r,r.return),Ji(r);break;case 1:Qo(r,r.return);var c=r.stateNode;typeof c.componentWillUnmount=="function"&&Mq(r,r.return,c),Ji(r);break;case 27:Wu(r.stateNode);case 26:case 5:Qo(r,r.return),Ji(r);break;case 22:r.memoizedState===null&&Ji(r);break;case 30:Ji(r);break;default:Ji(r)}n=n.sibling}}function Ir(n,r,c){for(c=c&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var u=r.alternate,v=n,g=r,C=g.flags;switch(g.tag){case 0:case 11:case 15:Ir(v,g,c),Ou(4,g);break;case 1:if(Ir(v,g,c),u=g,v=u.stateNode,typeof v.componentDidMount=="function")try{v.componentDidMount()}catch(Q){pt(u,u.return,Q)}if(u=g,v=u.updateQueue,v!==null){var E=u.stateNode;try{var z=v.shared.hiddenCallbacks;if(z!==null)for(v.shared.hiddenCallbacks=null,v=0;v<z.length;v++)sz(z[v],E)}catch(Q){pt(u,u.return,Q)}}c&&C&64&&gq(g),Du(g,g.return);break;case 27:wq(g);case 26:case 5:Ir(v,g,c),c&&u===null&&C&4&&xq(g),Du(g,g.return);break;case 12:Ir(v,g,c);break;case 31:Ir(v,g,c),c&&C&4&&Lq(v,g);break;case 13:Ir(v,g,c),c&&C&4&&Eq(v,g);break;case 22:g.memoizedState===null&&Ir(v,g,c),Du(g,g.return);break;case 30:break;default:Ir(v,g,c)}r=r.sibling}}function MR(n,r){var c=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(c=n.memoizedState.cachePool.pool),n=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(n=r.memoizedState.cachePool.pool),n!==c&&(n!=null&&n.refCount++,c!=null&&_u(c))}function xR(n,r){n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&_u(n))}function ya(n,r,c,u){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)Tq(n,r,c,u),r=r.sibling}function Tq(n,r,c,u){var v=r.flags;switch(r.tag){case 0:case 11:case 15:ya(n,r,c,u),v&2048&&Ou(9,r);break;case 1:ya(n,r,c,u);break;case 3:ya(n,r,c,u),v&2048&&(n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&_u(n)));break;case 12:if(v&2048){ya(n,r,c,u),n=r.stateNode;try{var g=r.memoizedProps,C=g.id,E=g.onPostCommit;typeof E=="function"&&E(C,r.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(z){pt(r,r.return,z)}}else ya(n,r,c,u);break;case 31:ya(n,r,c,u);break;case 13:ya(n,r,c,u);break;case 23:break;case 22:g=r.stateNode,C=r.alternate,r.memoizedState!==null?g._visibility&2?ya(n,r,c,u):zu(n,r):g._visibility&2?ya(n,r,c,u):(g._visibility|=2,xd(n,r,c,u,(r.subtreeFlags&10256)!==0||!1)),v&2048&&MR(C,r);break;case 24:ya(n,r,c,u),v&2048&&xR(r.alternate,r);break;default:ya(n,r,c,u)}}function xd(n,r,c,u,v){for(v=v&&((r.subtreeFlags&10256)!==0||!1),r=r.child;r!==null;){var g=n,C=r,E=c,z=u,Q=C.flags;switch(C.tag){case 0:case 11:case 15:xd(g,C,E,z,v),Ou(8,C);break;case 23:break;case 22:var le=C.stateNode;C.memoizedState!==null?le._visibility&2?xd(g,C,E,z,v):zu(g,C):(le._visibility|=2,xd(g,C,E,z,v)),v&&Q&2048&&MR(C.alternate,C);break;case 24:xd(g,C,E,z,v),v&&Q&2048&&xR(C.alternate,C);break;default:xd(g,C,E,z,v)}r=r.sibling}}function zu(n,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var c=n,u=r,v=u.flags;switch(u.tag){case 22:zu(c,u),v&2048&&MR(u.alternate,u);break;case 24:zu(c,u),v&2048&&xR(u.alternate,u);break;default:zu(c,u)}r=r.sibling}}var qu=8192;function bd(n,r,c){if(n.subtreeFlags&qu)for(n=n.child;n!==null;)Rq(n,r,c),n=n.sibling}function Rq(n,r,c){switch(n.tag){case 26:bd(n,r,c),n.flags&qu&&n.memoizedState!==null&&YJ(c,fa,n.memoizedState,n.memoizedProps);break;case 5:bd(n,r,c);break;case 3:case 4:var u=fa;fa=eh(n.stateNode.containerInfo),bd(n,r,c),fa=u;break;case 22:n.memoizedState===null&&(u=n.alternate,u!==null&&u.memoizedState!==null?(u=qu,qu=16777216,bd(n,r,c),qu=u):bd(n,r,c));break;default:bd(n,r,c)}}function $q(n){var r=n.alternate;if(r!==null&&(n=r.child,n!==null)){r.child=null;do r=n.sibling,n.sibling=null,n=r;while(n!==null)}}function Hu(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var c=0;c<r.length;c++){var u=r[c];Jt=u,Pq(u,n)}$q(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)jq(n),n=n.sibling}function jq(n){switch(n.tag){case 0:case 11:case 15:Hu(n),n.flags&2048&&Jr(9,n,n.return);break;case 3:Hu(n);break;case 12:Hu(n);break;case 22:var r=n.stateNode;n.memoizedState!==null&&r._visibility&2&&(n.return===null||n.return.tag!==13)?(r._visibility&=-3,H0(n)):Hu(n);break;default:Hu(n)}}function H0(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var c=0;c<r.length;c++){var u=r[c];Jt=u,Pq(u,n)}$q(n)}for(n=n.child;n!==null;){switch(r=n,r.tag){case 0:case 11:case 15:Jr(8,r,r.return),H0(r);break;case 22:c=r.stateNode,c._visibility&2&&(c._visibility&=-3,H0(r));break;default:H0(r)}n=n.sibling}}function Pq(n,r){for(;Jt!==null;){var c=Jt;switch(c.tag){case 0:case 11:case 15:Jr(8,c,r);break;case 23:case 22:if(c.memoizedState!==null&&c.memoizedState.cachePool!==null){var u=c.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:_u(c.memoizedState.cache)}if(u=c.child,u!==null)u.return=c,Jt=u;else e:for(c=n;Jt!==null;){u=Jt;var v=u.sibling,g=u.return;if(Cq(u),u===c){Jt=null;break e}if(v!==null){v.return=g,Jt=v;break e}Jt=g}}}var hJ={getCacheForType:function(n){var r=rn(Ht),c=r.data.get(n);return c===void 0&&(c=n(),r.data.set(n,c)),c},cacheSignal:function(){return rn(Ht).controller.signal}},pJ=typeof WeakMap=="function"?WeakMap:Map,dt=0,gt=null,We=null,Xe=0,ht=0,Vn=null,ei=!1,wd=!1,bR=!1,Ar=0,$t=0,ti=0,ec=0,wR=0,Bn=0,_d=0,Vu=null,Nn=null,_R=!1,V0=0,Oq=0,B0=1/0,F0=null,ni=null,Wt=0,ai=null,Sd=null,Tr=0,SR=0,CR=null,Dq=null,Bu=0,NR=null;function Fn(){return(dt&2)!==0&&Xe!==0?Xe&-Xe:T.T!==null?RR():Oi()}function zq(){if(Bn===0)if((Xe&536870912)===0||Qe){var n=Oe;Oe<<=1,(Oe&3932160)===0&&(Oe=262144),Bn=n}else Bn=536870912;return n=qn.current,n!==null&&(n.flags|=32),Bn}function Ln(n,r,c){(n===gt&&(ht===2||ht===9)||n.cancelPendingCommit!==null)&&(Cd(n,0),oi(n,Xe,Bn,!1)),xt(n,c),((dt&2)===0||n!==gt)&&(n===gt&&((dt&2)===0&&(ec|=c),$t===4&&oi(n,Xe,Bn,!1)),Jo(n))}function qq(n,r,c){if((dt&6)!==0)throw Error(o(327));var u=!c&&(r&127)===0&&(r&n.expiredLanes)===0||nt(n,r),v=u?mJ(n,r):ER(n,r,!0),g=u;do{if(v===0){wd&&!u&&oi(n,r,0,!1);break}else{if(c=n.current.alternate,g&&!fJ(c)){v=ER(n,r,!1),g=!1;continue}if(v===2){if(g=r,n.errorRecoveryDisabledLanes&g)var C=0;else C=n.pendingLanes&-536870913,C=C!==0?C:C&536870912?536870912:0;if(C!==0){r=C;e:{var E=n;v=Vu;var z=E.current.memoizedState.isDehydrated;if(z&&(Cd(E,C).flags|=256),C=ER(E,C,!1),C!==2){if(bR&&!z){E.errorRecoveryDisabledLanes|=g,ec|=g,v=4;break e}g=Nn,Nn=v,g!==null&&(Nn===null?Nn=g:Nn.push.apply(Nn,g))}v=C}if(g=!1,v!==2)continue}}if(v===1){Cd(n,0),oi(n,r,0,!0);break}e:{switch(u=n,g=v,g){case 0:case 1:throw Error(o(345));case 4:if((r&4194048)!==r)break;case 6:oi(u,r,Bn,!ei);break e;case 2:Nn=null;break;case 3:case 5:break;default:throw Error(o(329))}if((r&62914560)===r&&(v=V0+300-qe(),10<v)){if(oi(u,r,Bn,!ei),Ie(u,0,!0)!==0)break e;Tr=r,u.timeoutHandle=vH(Hq.bind(null,u,c,Nn,F0,_R,r,Bn,ec,_d,ei,g,"Throttled",-0,0),v);break e}Hq(u,c,Nn,F0,_R,r,Bn,ec,_d,ei,g,null,-0,0)}}break}while(!0);Jo(n)}function Hq(n,r,c,u,v,g,C,E,z,Q,le,he,te,ie){if(n.timeoutHandle=-1,he=r.subtreeFlags,he&8192||(he&16785408)===16785408){he={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:vr},Rq(r,g,he);var _e=(g&62914560)===g?V0-qe():(g&4194048)===g?Oq-qe():0;if(_e=QJ(he,_e),_e!==null){Tr=g,n.cancelPendingCommit=_e(Xq.bind(null,n,r,g,c,u,v,C,E,z,le,he,null,te,ie)),oi(n,g,C,!Q);return}}Xq(n,r,g,c,u,v,C,E,z)}function fJ(n){for(var r=n;;){var c=r.tag;if((c===0||c===11||c===15)&&r.flags&16384&&(c=r.updateQueue,c!==null&&(c=c.stores,c!==null)))for(var u=0;u<c.length;u++){var v=c[u],g=v.getSnapshot;v=v.value;try{if(!Dn(g(),v))return!1}catch{return!1}}if(c=r.child,r.subtreeFlags&16384&&c!==null)c.return=r,r=c;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function oi(n,r,c,u){r&=~wR,r&=~ec,n.suspendedLanes|=r,n.pingedLanes&=~r,u&&(n.warmLanes|=r),u=n.expirationTimes;for(var v=r;0<v;){var g=31-W(v),C=1<<g;u[g]=-1,v&=~C}c!==0&&Wo(n,c,r)}function U0(){return(dt&6)===0?(Fu(0),!1):!0}function LR(){if(We!==null){if(ht===0)var n=We.return;else n=We,xr=Ui=null,FT(n),md=null,Cu=0,n=We;for(;n!==null;)kq(n.alternate,n),n=n.return;We=null}}function Cd(n,r){var c=n.timeoutHandle;c!==-1&&(n.timeoutHandle=-1,$J(c)),c=n.cancelPendingCommit,c!==null&&(n.cancelPendingCommit=null,c()),Tr=0,LR(),gt=n,We=c=gr(n.current,null),Xe=r,ht=0,Vn=null,ei=!1,wd=nt(n,r),bR=!1,_d=Bn=wR=ec=ti=$t=0,Nn=Vu=null,_R=!1,(r&8)!==0&&(r|=r&32);var u=n.entangledLanes;if(u!==0)for(n=n.entanglements,u&=r;0<u;){var v=31-W(u),g=1<<v;r|=n[v],u&=~g}return Ar=r,h0(),c}function Vq(n,r){He=null,T.H=$u,r===yd||r===M0?(r=oz(),ht=3):r===TT?(r=oz(),ht=4):ht=r===iR?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,Vn=r,We===null&&($t=1,$0(n,ta(r,n.current)))}function Bq(){var n=qn.current;return n===null?!0:(Xe&4194048)===Xe?ra===null:(Xe&62914560)===Xe||(Xe&536870912)!==0?n===ra:!1}function Fq(){var n=T.H;return T.H=$u,n===null?$u:n}function Uq(){var n=T.A;return T.A=hJ,n}function G0(){$t=4,ei||(Xe&4194048)!==Xe&&qn.current!==null||(wd=!0),(ti&134217727)===0&&(ec&134217727)===0||gt===null||oi(gt,Xe,Bn,!1)}function ER(n,r,c){var u=dt;dt|=2;var v=Fq(),g=Uq();(gt!==n||Xe!==r)&&(F0=null,Cd(n,r)),r=!1;var C=$t;e:do try{if(ht!==0&&We!==null){var E=We,z=Vn;switch(ht){case 8:LR(),C=6;break e;case 3:case 2:case 9:case 6:qn.current===null&&(r=!0);var Q=ht;if(ht=0,Vn=null,Nd(n,E,z,Q),c&&wd){C=0;break e}break;default:Q=ht,ht=0,Vn=null,Nd(n,E,z,Q)}}yJ(),C=$t;break}catch(le){Vq(n,le)}while(!0);return r&&n.shellSuspendCounter++,xr=Ui=null,dt=u,T.H=v,T.A=g,We===null&&(gt=null,Xe=0,h0()),C}function yJ(){for(;We!==null;)Gq(We)}function mJ(n,r){var c=dt;dt|=2;var u=Fq(),v=Uq();gt!==n||Xe!==r?(F0=null,B0=qe()+500,Cd(n,r)):wd=nt(n,r);e:do try{if(ht!==0&&We!==null){r=We;var g=Vn;t:switch(ht){case 1:ht=0,Vn=null,Nd(n,r,g,1);break;case 2:case 9:if(nz(g)){ht=0,Vn=null,Wq(r);break}r=function(){ht!==2&&ht!==9||gt!==n||(ht=7),Jo(n)},g.then(r,r);break e;case 3:ht=7;break e;case 4:ht=5;break e;case 7:nz(g)?(ht=0,Vn=null,Wq(r)):(ht=0,Vn=null,Nd(n,r,g,7));break;case 5:var C=null;switch(We.tag){case 26:C=We.memoizedState;case 5:case 27:var E=We;if(C?TH(C):E.stateNode.complete){ht=0,Vn=null;var z=E.sibling;if(z!==null)We=z;else{var Q=E.return;Q!==null?(We=Q,W0(Q)):We=null}break t}}ht=0,Vn=null,Nd(n,r,g,5);break;case 6:ht=0,Vn=null,Nd(n,r,g,6);break;case 8:LR(),$t=6;break e;default:throw Error(o(462))}}vJ();break}catch(le){Vq(n,le)}while(!0);return xr=Ui=null,T.H=u,T.A=v,dt=c,We!==null?0:(gt=null,Xe=0,h0(),$t)}function vJ(){for(;We!==null&&!Mt();)Gq(We)}function Gq(n){var r=mq(n.alternate,n,Ar);n.memoizedProps=n.pendingProps,r===null?W0(n):We=r}function Wq(n){var r=n,c=r.alternate;switch(r.tag){case 15:case 0:r=dq(c,r,r.pendingProps,r.type,void 0,Xe);break;case 11:r=dq(c,r,r.pendingProps,r.type.render,r.ref,Xe);break;case 5:FT(r);default:kq(c,r),r=We=UD(r,Ar),r=mq(c,r,Ar)}n.memoizedProps=n.pendingProps,r===null?W0(n):We=r}function Nd(n,r,c,u){xr=Ui=null,FT(r),md=null,Cu=0;var v=r.return;try{if(rJ(n,v,r,c,Xe)){$t=1,$0(n,ta(c,n.current)),We=null;return}}catch(g){if(v!==null)throw We=v,g;$t=1,$0(n,ta(c,n.current)),We=null;return}r.flags&32768?(Qe||u===1?n=!0:wd||(Xe&536870912)!==0?n=!1:(ei=n=!0,(u===2||u===9||u===3||u===6)&&(u=qn.current,u!==null&&u.tag===13&&(u.flags|=16384))),Zq(r,n)):W0(r)}function W0(n){var r=n;do{if((r.flags&32768)!==0){Zq(r,ei);return}n=r.return;var c=sJ(r.alternate,r,Ar);if(c!==null){We=c;return}if(r=r.sibling,r!==null){We=r;return}We=r=n}while(r!==null);$t===0&&($t=5)}function Zq(n,r){do{var c=lJ(n.alternate,n);if(c!==null){c.flags&=32767,We=c;return}if(c=n.return,c!==null&&(c.flags|=32768,c.subtreeFlags=0,c.deletions=null),!r&&(n=n.sibling,n!==null)){We=n;return}We=n=c}while(n!==null);$t=6,We=null}function Xq(n,r,c,u,v,g,C,E,z){n.cancelPendingCommit=null;do Z0();while(Wt!==0);if((dt&6)!==0)throw Error(o(327));if(r!==null){if(r===n.current)throw Error(o(177));if(g=r.lanes|r.childLanes,g|=vT,nn(n,c,g,C,E,z),n===gt&&(We=gt=null,Xe=0),Sd=r,ai=n,Tr=c,SR=g,CR=v,Dq=u,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,xJ(Te,function(){return eH(),null})):(n.callbackNode=null,n.callbackPriority=0),u=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||u){u=T.T,T.T=null,v=O.p,O.p=2,C=dt,dt|=4;try{dJ(n,r,c)}finally{dt=C,O.p=v,T.T=u}}Wt=1,Kq(),Yq(),Qq()}}function Kq(){if(Wt===1){Wt=0;var n=ai,r=Sd,c=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||c){c=T.T,T.T=null;var u=O.p;O.p=2;var v=dt;dt|=4;try{Iq(r,n);var g=HR,C=PD(n.containerInfo),E=g.focusedElem,z=g.selectionRange;if(C!==E&&E&&E.ownerDocument&&jD(E.ownerDocument.documentElement,E)){if(z!==null&&hT(E)){var Q=z.start,le=z.end;if(le===void 0&&(le=Q),"selectionStart"in E)E.selectionStart=Q,E.selectionEnd=Math.min(le,E.value.length);else{var he=E.ownerDocument||document,te=he&&he.defaultView||window;if(te.getSelection){var ie=te.getSelection(),_e=E.textContent.length,Re=Math.min(z.start,_e),vt=z.end===void 0?Re:Math.min(z.end,_e);!ie.extend&&Re>vt&&(C=vt,vt=Re,Re=C);var U=$D(E,Re),H=$D(E,vt);if(U&&H&&(ie.rangeCount!==1||ie.anchorNode!==U.node||ie.anchorOffset!==U.offset||ie.focusNode!==H.node||ie.focusOffset!==H.offset)){var Y=he.createRange();Y.setStart(U.node,U.offset),ie.removeAllRanges(),Re>vt?(ie.addRange(Y),ie.extend(H.node,H.offset)):(Y.setEnd(H.node,H.offset),ie.addRange(Y))}}}}for(he=[],ie=E;ie=ie.parentNode;)ie.nodeType===1&&he.push({element:ie,left:ie.scrollLeft,top:ie.scrollTop});for(typeof E.focus=="function"&&E.focus(),E=0;E<he.length;E++){var ue=he[E];ue.element.scrollLeft=ue.left,ue.element.scrollTop=ue.top}}ih=!!qR,HR=qR=null}finally{dt=v,O.p=u,T.T=c}}n.current=r,Wt=2}}function Yq(){if(Wt===2){Wt=0;var n=ai,r=Sd,c=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||c){c=T.T,T.T=null;var u=O.p;O.p=2;var v=dt;dt|=4;try{Sq(n,r.alternate,r)}finally{dt=v,O.p=u,T.T=c}}Wt=3}}function Qq(){if(Wt===4||Wt===3){Wt=0,Lt();var n=ai,r=Sd,c=Tr,u=Dq;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?Wt=5:(Wt=0,Sd=ai=null,Jq(n,n.pendingLanes));var v=n.pendingLanes;if(v===0&&(ni=null),yn(c),r=r.stateNode,Gt&&typeof Gt.onCommitFiberRoot=="function")try{Gt.onCommitFiberRoot(Yn,r,void 0,(r.current.flags&128)===128)}catch{}if(u!==null){r=T.T,v=O.p,O.p=2,T.T=null;try{for(var g=n.onRecoverableError,C=0;C<u.length;C++){var E=u[C];g(E.value,{componentStack:E.stack})}}finally{T.T=r,O.p=v}}(Tr&3)!==0&&Z0(),Jo(n),v=n.pendingLanes,(c&261930)!==0&&(v&42)!==0?n===NR?Bu++:(Bu=0,NR=n):Bu=0,Fu(0)}}function Jq(n,r){(n.pooledCacheLanes&=r)===0&&(r=n.pooledCache,r!=null&&(n.pooledCache=null,_u(r)))}function Z0(){return Kq(),Yq(),Qq(),eH()}function eH(){if(Wt!==5)return!1;var n=ai,r=SR;SR=0;var c=yn(Tr),u=T.T,v=O.p;try{O.p=32>c?32:c,T.T=null,c=CR,CR=null;var g=ai,C=Tr;if(Wt=0,Sd=ai=null,Tr=0,(dt&6)!==0)throw Error(o(331));var E=dt;if(dt|=4,jq(g.current),Tq(g,g.current,C,c),dt=E,Fu(0,!1),Gt&&typeof Gt.onPostCommitFiberRoot=="function")try{Gt.onPostCommitFiberRoot(Yn,g)}catch{}return!0}finally{O.p=v,T.T=u,Jq(n,r)}}function tH(n,r,c){r=ta(c,r),r=rR(n.stateNode,r,2),n=Kr(n,r,2),n!==null&&(xt(n,2),Jo(n))}function pt(n,r,c){if(n.tag===3)tH(n,n,c);else for(;r!==null;){if(r.tag===3){tH(r,n,c);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(ni===null||!ni.has(u))){n=ta(c,n),c=nq(2),u=Kr(r,c,2),u!==null&&(aq(c,u,r,n),xt(u,2),Jo(u));break}}r=r.return}}function IR(n,r,c){var u=n.pingCache;if(u===null){u=n.pingCache=new pJ;var v=new Set;u.set(r,v)}else v=u.get(r),v===void 0&&(v=new Set,u.set(r,v));v.has(c)||(bR=!0,v.add(c),n=kJ.bind(null,n,r,c),r.then(n,n))}function kJ(n,r,c){var u=n.pingCache;u!==null&&u.delete(r),n.pingedLanes|=n.suspendedLanes&c,n.warmLanes&=~c,gt===n&&(Xe&c)===c&&($t===4||$t===3&&(Xe&62914560)===Xe&&300>qe()-V0?(dt&2)===0&&Cd(n,0):wR|=c,_d===Xe&&(_d=0)),Jo(n)}function nH(n,r){r===0&&(r=Et()),n=Vi(n,r),n!==null&&(xt(n,r),Jo(n))}function gJ(n){var r=n.memoizedState,c=0;r!==null&&(c=r.retryLane),nH(n,c)}function MJ(n,r){var c=0;switch(n.tag){case 31:case 13:var u=n.stateNode,v=n.memoizedState;v!==null&&(c=v.retryLane);break;case 19:u=n.stateNode;break;case 22:u=n.stateNode._retryCache;break;default:throw Error(o(314))}u!==null&&u.delete(r),nH(n,c)}function xJ(n,r){return Ut(n,r)}var X0=null,Ld=null,AR=!1,K0=!1,TR=!1,ri=0;function Jo(n){n!==Ld&&n.next===null&&(Ld===null?X0=Ld=n:Ld=Ld.next=n),K0=!0,AR||(AR=!0,wJ())}function Fu(n,r){if(!TR&&K0){TR=!0;do for(var c=!1,u=X0;u!==null;){if(n!==0){var v=u.pendingLanes;if(v===0)var g=0;else{var C=u.suspendedLanes,E=u.pingedLanes;g=(1<<31-W(42|n)+1)-1,g&=v&~(C&~E),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(c=!0,iH(u,g))}else g=Xe,g=Ie(u,u===gt?g:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(g&3)===0||nt(u,g)||(c=!0,iH(u,g));u=u.next}while(c);TR=!1}}function bJ(){aH()}function aH(){K0=AR=!1;var n=0;ri!==0&&RJ()&&(n=ri);for(var r=qe(),c=null,u=X0;u!==null;){var v=u.next,g=oH(u,r);g===0?(u.next=null,c===null?X0=v:c.next=v,v===null&&(Ld=c)):(c=u,(n!==0||(g&3)!==0)&&(K0=!0)),u=v}Wt!==0&&Wt!==5||Fu(n),ri!==0&&(ri=0)}function oH(n,r){for(var c=n.suspendedLanes,u=n.pingedLanes,v=n.expirationTimes,g=n.pendingLanes&-62914561;0<g;){var C=31-W(g),E=1<<C,z=v[C];z===-1?((E&c)===0||(E&u)!==0)&&(v[C]=Tt(E,r)):z<=r&&(n.expiredLanes|=E),g&=~E}if(r=gt,c=Xe,c=Ie(n,n===r?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u=n.callbackNode,c===0||n===r&&(ht===2||ht===9)||n.cancelPendingCommit!==null)return u!==null&&u!==null&&At(u),n.callbackNode=null,n.callbackPriority=0;if((c&3)===0||nt(n,c)){if(r=c&-c,r===n.callbackPriority)return r;switch(u!==null&&At(u),yn(c)){case 2:case 8:c=Ne;break;case 32:c=Te;break;case 268435456:c=jt;break;default:c=Te}return u=rH.bind(null,n),c=Ut(c,u),n.callbackPriority=r,n.callbackNode=c,r}return u!==null&&u!==null&&At(u),n.callbackPriority=2,n.callbackNode=null,2}function rH(n,r){if(Wt!==0&&Wt!==5)return n.callbackNode=null,n.callbackPriority=0,null;var c=n.callbackNode;if(Z0()&&n.callbackNode!==c)return null;var u=Xe;return u=Ie(n,n===gt?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u===0?null:(qq(n,u,r),oH(n,qe()),n.callbackNode!=null&&n.callbackNode===c?rH.bind(null,n):null)}function iH(n,r){if(Z0())return null;qq(n,r,!0)}function wJ(){jJ(function(){(dt&6)!==0?Ut(De,bJ):aH()})}function RR(){if(ri===0){var n=pd;n===0&&(n=rt,rt<<=1,(rt&261888)===0&&(rt=256)),ri=n}return ri}function cH(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:o0(""+n)}function sH(n,r){var c=r.ownerDocument.createElement("input");return c.name=r.name,c.value=r.value,n.id&&c.setAttribute("form",n.id),r.parentNode.insertBefore(c,r),n=new FormData(n),c.parentNode.removeChild(c),n}function _J(n,r,c,u,v){if(r==="submit"&&c&&c.stateNode===v){var g=cH((v[an]||null).action),C=u.submitter;C&&(r=(r=C[an]||null)?cH(r.formAction):C.getAttribute("formAction"),r!==null&&(g=r,C=null));var E=new s0("action","action",null,u,v);n.push({event:E,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(ri!==0){var z=C?sH(v,C):new FormData(v);JT(c,{pending:!0,data:z,method:v.method,action:g},null,z)}}else typeof g=="function"&&(E.preventDefault(),z=C?sH(v,C):new FormData(v),JT(c,{pending:!0,data:z,method:v.method,action:g},g,z))},currentTarget:v}]})}}for(var $R=0;$R<mT.length;$R++){var jR=mT[$R],SJ=jR.toLowerCase(),CJ=jR[0].toUpperCase()+jR.slice(1);pa(SJ,"on"+CJ)}pa(zD,"onAnimationEnd"),pa(qD,"onAnimationIteration"),pa(HD,"onAnimationStart"),pa("dblclick","onDoubleClick"),pa("focusin","onFocus"),pa("focusout","onBlur"),pa(VQ,"onTransitionRun"),pa(BQ,"onTransitionStart"),pa(FQ,"onTransitionCancel"),pa(VD,"onTransitionEnd"),J1("onMouseEnter",["mouseout","mouseover"]),J1("onMouseLeave",["mouseout","mouseover"]),J1("onPointerEnter",["pointerout","pointerover"]),J1("onPointerLeave",["pointerout","pointerover"]),Di("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Di("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Di("onBeforeInput",["compositionend","keypress","textInput","paste"]),Di("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Di("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Di("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Uu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),NJ=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Uu));function lH(n,r){r=(r&4)!==0;for(var c=0;c<n.length;c++){var u=n[c],v=u.event;u=u.listeners;e:{var g=void 0;if(r)for(var C=u.length-1;0<=C;C--){var E=u[C],z=E.instance,Q=E.currentTarget;if(E=E.listener,z!==g&&v.isPropagationStopped())break e;g=E,v.currentTarget=Q;try{g(v)}catch(le){u0(le)}v.currentTarget=null,g=z}else for(C=0;C<u.length;C++){if(E=u[C],z=E.instance,Q=E.currentTarget,E=E.listener,z!==g&&v.isPropagationStopped())break e;g=E,v.currentTarget=Q;try{g(v)}catch(le){u0(le)}v.currentTarget=null,g=z}}}}function Ze(n,r){var c=r[K1];c===void 0&&(c=r[K1]=new Set);var u=n+"__bubble";c.has(u)||(dH(r,n,2,!1),c.add(u))}function PR(n,r,c){var u=0;r&&(u|=4),dH(c,n,u,r)}var Y0="_reactListening"+Math.random().toString(36).slice(2);function OR(n){if(!n[Y0]){n[Y0]=!0,aD.forEach(function(c){c!=="selectionchange"&&(NJ.has(c)||PR(c,!1,n),PR(c,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[Y0]||(r[Y0]=!0,PR("selectionchange",!1,r))}}function dH(n,r,c,u){switch(zH(r)){case 2:var v=tee;break;case 8:v=nee;break;default:v=QR}c=v.bind(null,r,c,n),v=void 0,!aT||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(v=!0),u?v!==void 0?n.addEventListener(r,c,{capture:!0,passive:v}):n.addEventListener(r,c,!0):v!==void 0?n.addEventListener(r,c,{passive:v}):n.addEventListener(r,c,!1)}function DR(n,r,c,u,v){var g=u;if((r&1)===0&&(r&2)===0&&u!==null)e:for(;;){if(u===null)return;var C=u.tag;if(C===3||C===4){var E=u.stateNode.containerInfo;if(E===v)break;if(C===4)for(C=u.return;C!==null;){var z=C.tag;if((z===3||z===4)&&C.stateNode.containerInfo===v)return;C=C.return}for(;E!==null;){if(C=yr(E),C===null)return;if(z=C.tag,z===5||z===6||z===26||z===27){u=g=C;continue e}E=E.parentNode}}u=u.return}yD(function(){var Q=g,le=tT(c),he=[];e:{var te=BD.get(n);if(te!==void 0){var ie=s0,_e=n;switch(n){case"keypress":if(i0(c)===0)break e;case"keydown":case"keyup":ie=MQ;break;case"focusin":_e="focus",ie=cT;break;case"focusout":_e="blur",ie=cT;break;case"beforeblur":case"afterblur":ie=cT;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ie=kD;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ie=sQ;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ie=wQ;break;case zD:case qD:case HD:ie=uQ;break;case VD:ie=SQ;break;case"scroll":case"scrollend":ie=iQ;break;case"wheel":ie=NQ;break;case"copy":case"cut":case"paste":ie=pQ;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ie=MD;break;case"toggle":case"beforetoggle":ie=EQ}var Re=(r&4)!==0,vt=!Re&&(n==="scroll"||n==="scrollend"),U=Re?te!==null?te+"Capture":null:te;Re=[];for(var H=Q,Y;H!==null;){var ue=H;if(Y=ue.stateNode,ue=ue.tag,ue!==5&&ue!==26&&ue!==27||Y===null||U===null||(ue=pu(H,U),ue!=null&&Re.push(Gu(H,ue,Y))),vt)break;H=H.return}0<Re.length&&(te=new ie(te,_e,null,c,le),he.push({event:te,listeners:Re}))}}if((r&7)===0){e:{if(te=n==="mouseover"||n==="pointerover",ie=n==="mouseout"||n==="pointerout",te&&c!==eT&&(_e=c.relatedTarget||c.fromElement)&&(yr(_e)||_e[Zo]))break e;if((ie||te)&&(te=le.window===le?le:(te=le.ownerDocument)?te.defaultView||te.parentWindow:window,ie?(_e=c.relatedTarget||c.toElement,ie=Q,_e=_e?yr(_e):null,_e!==null&&(vt=s(_e),Re=_e.tag,_e!==vt||Re!==5&&Re!==27&&Re!==6)&&(_e=null)):(ie=null,_e=Q),ie!==_e)){if(Re=kD,ue="onMouseLeave",U="onMouseEnter",H="mouse",(n==="pointerout"||n==="pointerover")&&(Re=MD,ue="onPointerLeave",U="onPointerEnter",H="pointer"),vt=ie==null?te:hu(ie),Y=_e==null?te:hu(_e),te=new Re(ue,H+"leave",ie,c,le),te.target=vt,te.relatedTarget=Y,ue=null,yr(le)===Q&&(Re=new Re(U,H+"enter",_e,c,le),Re.target=Y,Re.relatedTarget=vt,ue=Re),vt=ue,ie&&_e)t:{for(Re=LJ,U=ie,H=_e,Y=0,ue=U;ue;ue=Re(ue))Y++;ue=0;for(var Ae=H;Ae;Ae=Re(Ae))ue++;for(;0<Y-ue;)U=Re(U),Y--;for(;0<ue-Y;)H=Re(H),ue--;for(;Y--;){if(U===H||H!==null&&U===H.alternate){Re=U;break t}U=Re(U),H=Re(H)}Re=null}else Re=null;ie!==null&&uH(he,te,ie,Re,!1),_e!==null&&vt!==null&&uH(he,vt,_e,Re,!0)}}e:{if(te=Q?hu(Q):window,ie=te.nodeName&&te.nodeName.toLowerCase(),ie==="select"||ie==="input"&&te.type==="file")var it=LD;else if(CD(te))if(ED)it=zQ;else{it=OQ;var Le=PQ}else ie=te.nodeName,!ie||ie.toLowerCase()!=="input"||te.type!=="checkbox"&&te.type!=="radio"?Q&&JA(Q.elementType)&&(it=LD):it=DQ;if(it&&(it=it(n,Q))){ND(he,it,c,le);break e}Le&&Le(n,te,Q),n==="focusout"&&Q&&te.type==="number"&&Q.memoizedProps.value!=null&&QA(te,"number",te.value)}switch(Le=Q?hu(Q):window,n){case"focusin":(CD(Le)||Le.contentEditable==="true")&&(rd=Le,pT=Q,xu=null);break;case"focusout":xu=pT=rd=null;break;case"mousedown":fT=!0;break;case"contextmenu":case"mouseup":case"dragend":fT=!1,OD(he,c,le);break;case"selectionchange":if(HQ)break;case"keydown":case"keyup":OD(he,c,le)}var Be;if(lT)e:{switch(n){case"compositionstart":var Ke="onCompositionStart";break e;case"compositionend":Ke="onCompositionEnd";break e;case"compositionupdate":Ke="onCompositionUpdate";break e}Ke=void 0}else od?_D(n,c)&&(Ke="onCompositionEnd"):n==="keydown"&&c.keyCode===229&&(Ke="onCompositionStart");Ke&&(xD&&c.locale!=="ko"&&(od||Ke!=="onCompositionStart"?Ke==="onCompositionEnd"&&od&&(Be=mD()):(Br=le,oT="value"in Br?Br.value:Br.textContent,od=!0)),Le=Q0(Q,Ke),0<Le.length&&(Ke=new gD(Ke,n,null,c,le),he.push({event:Ke,listeners:Le}),Be?Ke.data=Be:(Be=SD(c),Be!==null&&(Ke.data=Be)))),(Be=AQ?TQ(n,c):RQ(n,c))&&(Ke=Q0(Q,"onBeforeInput"),0<Ke.length&&(Le=new gD("onBeforeInput","beforeinput",null,c,le),he.push({event:Le,listeners:Ke}),Le.data=Be)),_J(he,n,Q,c,le)}lH(he,r)})}function Gu(n,r,c){return{instance:n,listener:r,currentTarget:c}}function Q0(n,r){for(var c=r+"Capture",u=[];n!==null;){var v=n,g=v.stateNode;if(v=v.tag,v!==5&&v!==26&&v!==27||g===null||(v=pu(n,c),v!=null&&u.unshift(Gu(n,v,g)),v=pu(n,r),v!=null&&u.push(Gu(n,v,g))),n.tag===3)return u;n=n.return}return[]}function LJ(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function uH(n,r,c,u,v){for(var g=r._reactName,C=[];c!==null&&c!==u;){var E=c,z=E.alternate,Q=E.stateNode;if(E=E.tag,z!==null&&z===u)break;E!==5&&E!==26&&E!==27||Q===null||(z=Q,v?(Q=pu(c,g),Q!=null&&C.unshift(Gu(c,Q,z))):v||(Q=pu(c,g),Q!=null&&C.push(Gu(c,Q,z)))),c=c.return}C.length!==0&&n.push({event:r,listeners:C})}var EJ=/\r\n?/g,IJ=/\u0000|\uFFFD/g;function hH(n){return(typeof n=="string"?n:""+n).replace(EJ,`
115
- `).replace(IJ,"")}function pH(n,r){return r=hH(r),hH(n)===r}function mt(n,r,c,u,v,g){switch(c){case"children":typeof u=="string"?r==="body"||r==="textarea"&&u===""||td(n,u):(typeof u=="number"||typeof u=="bigint")&&r!=="body"&&td(n,""+u);break;case"className":n0(n,"class",u);break;case"tabIndex":n0(n,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":n0(n,c,u);break;case"style":pD(n,u,g);break;case"data":if(r!=="object"){n0(n,"data",u);break}case"src":case"href":if(u===""&&(r!=="a"||c!=="href")){n.removeAttribute(c);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(c);break}u=o0(""+u),n.setAttribute(c,u);break;case"action":case"formAction":if(typeof u=="function"){n.setAttribute(c,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof g=="function"&&(c==="formAction"?(r!=="input"&&mt(n,r,"name",v.name,v,null),mt(n,r,"formEncType",v.formEncType,v,null),mt(n,r,"formMethod",v.formMethod,v,null),mt(n,r,"formTarget",v.formTarget,v,null)):(mt(n,r,"encType",v.encType,v,null),mt(n,r,"method",v.method,v,null),mt(n,r,"target",v.target,v,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(c);break}u=o0(""+u),n.setAttribute(c,u);break;case"onClick":u!=null&&(n.onclick=vr);break;case"onScroll":u!=null&&Ze("scroll",n);break;case"onScrollEnd":u!=null&&Ze("scrollend",n);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(o(61));if(c=u.__html,c!=null){if(v.children!=null)throw Error(o(60));n.innerHTML=c}}break;case"multiple":n.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":n.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){n.removeAttribute("xlink:href");break}c=o0(""+u),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",c);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(c,""+u):n.removeAttribute(c);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(c,""):n.removeAttribute(c);break;case"capture":case"download":u===!0?n.setAttribute(c,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(c,u):n.removeAttribute(c);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?n.setAttribute(c,u):n.removeAttribute(c);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?n.removeAttribute(c):n.setAttribute(c,u);break;case"popover":Ze("beforetoggle",n),Ze("toggle",n),t0(n,"popover",u);break;case"xlinkActuate":mr(n,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":mr(n,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":mr(n,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":mr(n,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":mr(n,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":mr(n,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":mr(n,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":mr(n,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":mr(n,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":t0(n,"is",u);break;case"innerText":case"textContent":break;default:(!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(c=oQ.get(c)||c,t0(n,c,u))}}function zR(n,r,c,u,v,g){switch(c){case"style":pD(n,u,g);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(o(61));if(c=u.__html,c!=null){if(v.children!=null)throw Error(o(60));n.innerHTML=c}}break;case"children":typeof u=="string"?td(n,u):(typeof u=="number"||typeof u=="bigint")&&td(n,""+u);break;case"onScroll":u!=null&&Ze("scroll",n);break;case"onScrollEnd":u!=null&&Ze("scrollend",n);break;case"onClick":u!=null&&(n.onclick=vr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!oD.hasOwnProperty(c))e:{if(c[0]==="o"&&c[1]==="n"&&(v=c.endsWith("Capture"),r=c.slice(2,v?c.length-7:void 0),g=n[an]||null,g=g!=null?g[c]:null,typeof g=="function"&&n.removeEventListener(r,g,v),typeof u=="function")){typeof g!="function"&&g!==null&&(c in n?n[c]=null:n.hasAttribute(c)&&n.removeAttribute(c)),n.addEventListener(r,u,v);break e}c in n?n[c]=u:u===!0?n.setAttribute(c,""):t0(n,c,u)}}}function sn(n,r,c){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ze("error",n),Ze("load",n);var u=!1,v=!1,g;for(g in c)if(c.hasOwnProperty(g)){var C=c[g];if(C!=null)switch(g){case"src":u=!0;break;case"srcSet":v=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,r));default:mt(n,r,g,C,c,null)}}v&&mt(n,r,"srcSet",c.srcSet,c,null),u&&mt(n,r,"src",c.src,c,null);return;case"input":Ze("invalid",n);var E=g=C=v=null,z=null,Q=null;for(u in c)if(c.hasOwnProperty(u)){var le=c[u];if(le!=null)switch(u){case"name":v=le;break;case"type":C=le;break;case"checked":z=le;break;case"defaultChecked":Q=le;break;case"value":g=le;break;case"defaultValue":E=le;break;case"children":case"dangerouslySetInnerHTML":if(le!=null)throw Error(o(137,r));break;default:mt(n,r,u,le,c,null)}}lD(n,g,E,z,Q,C,v,!1);return;case"select":Ze("invalid",n),u=C=g=null;for(v in c)if(c.hasOwnProperty(v)&&(E=c[v],E!=null))switch(v){case"value":g=E;break;case"defaultValue":C=E;break;case"multiple":u=E;default:mt(n,r,v,E,c,null)}r=g,c=C,n.multiple=!!u,r!=null?ed(n,!!u,r,!1):c!=null&&ed(n,!!u,c,!0);return;case"textarea":Ze("invalid",n),g=v=u=null;for(C in c)if(c.hasOwnProperty(C)&&(E=c[C],E!=null))switch(C){case"value":u=E;break;case"defaultValue":v=E;break;case"children":g=E;break;case"dangerouslySetInnerHTML":if(E!=null)throw Error(o(91));break;default:mt(n,r,C,E,c,null)}uD(n,u,v,g);return;case"option":for(z in c)if(c.hasOwnProperty(z)&&(u=c[z],u!=null))switch(z){case"selected":n.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:mt(n,r,z,u,c,null)}return;case"dialog":Ze("beforetoggle",n),Ze("toggle",n),Ze("cancel",n),Ze("close",n);break;case"iframe":case"object":Ze("load",n);break;case"video":case"audio":for(u=0;u<Uu.length;u++)Ze(Uu[u],n);break;case"image":Ze("error",n),Ze("load",n);break;case"details":Ze("toggle",n);break;case"embed":case"source":case"link":Ze("error",n),Ze("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Q in c)if(c.hasOwnProperty(Q)&&(u=c[Q],u!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,r));default:mt(n,r,Q,u,c,null)}return;default:if(JA(r)){for(le in c)c.hasOwnProperty(le)&&(u=c[le],u!==void 0&&zR(n,r,le,u,c,void 0));return}}for(E in c)c.hasOwnProperty(E)&&(u=c[E],u!=null&&mt(n,r,E,u,c,null))}function AJ(n,r,c,u){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var v=null,g=null,C=null,E=null,z=null,Q=null,le=null;for(ie in c){var he=c[ie];if(c.hasOwnProperty(ie)&&he!=null)switch(ie){case"checked":break;case"value":break;case"defaultValue":z=he;default:u.hasOwnProperty(ie)||mt(n,r,ie,null,u,he)}}for(var te in u){var ie=u[te];if(he=c[te],u.hasOwnProperty(te)&&(ie!=null||he!=null))switch(te){case"type":g=ie;break;case"name":v=ie;break;case"checked":Q=ie;break;case"defaultChecked":le=ie;break;case"value":C=ie;break;case"defaultValue":E=ie;break;case"children":case"dangerouslySetInnerHTML":if(ie!=null)throw Error(o(137,r));break;default:ie!==he&&mt(n,r,te,ie,u,he)}}YA(n,C,E,z,Q,le,g,v);return;case"select":ie=C=E=te=null;for(g in c)if(z=c[g],c.hasOwnProperty(g)&&z!=null)switch(g){case"value":break;case"multiple":ie=z;default:u.hasOwnProperty(g)||mt(n,r,g,null,u,z)}for(v in u)if(g=u[v],z=c[v],u.hasOwnProperty(v)&&(g!=null||z!=null))switch(v){case"value":te=g;break;case"defaultValue":E=g;break;case"multiple":C=g;default:g!==z&&mt(n,r,v,g,u,z)}r=E,c=C,u=ie,te!=null?ed(n,!!c,te,!1):!!u!=!!c&&(r!=null?ed(n,!!c,r,!0):ed(n,!!c,c?[]:"",!1));return;case"textarea":ie=te=null;for(E in c)if(v=c[E],c.hasOwnProperty(E)&&v!=null&&!u.hasOwnProperty(E))switch(E){case"value":break;case"children":break;default:mt(n,r,E,null,u,v)}for(C in u)if(v=u[C],g=c[C],u.hasOwnProperty(C)&&(v!=null||g!=null))switch(C){case"value":te=v;break;case"defaultValue":ie=v;break;case"children":break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(o(91));break;default:v!==g&&mt(n,r,C,v,u,g)}dD(n,te,ie);return;case"option":for(var _e in c)if(te=c[_e],c.hasOwnProperty(_e)&&te!=null&&!u.hasOwnProperty(_e))switch(_e){case"selected":n.selected=!1;break;default:mt(n,r,_e,null,u,te)}for(z in u)if(te=u[z],ie=c[z],u.hasOwnProperty(z)&&te!==ie&&(te!=null||ie!=null))switch(z){case"selected":n.selected=te&&typeof te!="function"&&typeof te!="symbol";break;default:mt(n,r,z,te,u,ie)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Re in c)te=c[Re],c.hasOwnProperty(Re)&&te!=null&&!u.hasOwnProperty(Re)&&mt(n,r,Re,null,u,te);for(Q in u)if(te=u[Q],ie=c[Q],u.hasOwnProperty(Q)&&te!==ie&&(te!=null||ie!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(o(137,r));break;default:mt(n,r,Q,te,u,ie)}return;default:if(JA(r)){for(var vt in c)te=c[vt],c.hasOwnProperty(vt)&&te!==void 0&&!u.hasOwnProperty(vt)&&zR(n,r,vt,void 0,u,te);for(le in u)te=u[le],ie=c[le],!u.hasOwnProperty(le)||te===ie||te===void 0&&ie===void 0||zR(n,r,le,te,u,ie);return}}for(var U in c)te=c[U],c.hasOwnProperty(U)&&te!=null&&!u.hasOwnProperty(U)&&mt(n,r,U,null,u,te);for(he in u)te=u[he],ie=c[he],!u.hasOwnProperty(he)||te===ie||te==null&&ie==null||mt(n,r,he,te,u,ie)}function fH(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function TJ(){if(typeof performance.getEntriesByType=="function"){for(var n=0,r=0,c=performance.getEntriesByType("resource"),u=0;u<c.length;u++){var v=c[u],g=v.transferSize,C=v.initiatorType,E=v.duration;if(g&&E&&fH(C)){for(C=0,E=v.responseEnd,u+=1;u<c.length;u++){var z=c[u],Q=z.startTime;if(Q>E)break;var le=z.transferSize,he=z.initiatorType;le&&fH(he)&&(z=z.responseEnd,C+=le*(z<E?1:(E-Q)/(z-Q)))}if(--u,r+=8*(g+C)/(v.duration/1e3),n++,10<n)break}}if(0<n)return r/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var qR=null,HR=null;function J0(n){return n.nodeType===9?n:n.ownerDocument}function yH(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function mH(n,r){if(n===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&r==="foreignObject"?0:n}function VR(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.children=="bigint"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var BR=null;function RJ(){var n=window.event;return n&&n.type==="popstate"?n===BR?!1:(BR=n,!0):(BR=null,!1)}var vH=typeof setTimeout=="function"?setTimeout:void 0,$J=typeof clearTimeout=="function"?clearTimeout:void 0,kH=typeof Promise=="function"?Promise:void 0,jJ=typeof queueMicrotask=="function"?queueMicrotask:typeof kH<"u"?function(n){return kH.resolve(null).then(n).catch(PJ)}:vH;function PJ(n){setTimeout(function(){throw n})}function ii(n){return n==="head"}function gH(n,r){var c=r,u=0;do{var v=c.nextSibling;if(n.removeChild(c),v&&v.nodeType===8)if(c=v.data,c==="/$"||c==="/&"){if(u===0){n.removeChild(v),Td(r);return}u--}else if(c==="$"||c==="$?"||c==="$~"||c==="$!"||c==="&")u++;else if(c==="html")Wu(n.ownerDocument.documentElement);else if(c==="head"){c=n.ownerDocument.head,Wu(c);for(var g=c.firstChild;g;){var C=g.nextSibling,E=g.nodeName;g[Xo]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&g.rel.toLowerCase()==="stylesheet"||c.removeChild(g),g=C}}else c==="body"&&Wu(n.ownerDocument.body);c=v}while(c);Td(r)}function MH(n,r){var c=n;n=0;do{var u=c.nextSibling;if(c.nodeType===1?r?(c._stashedDisplay=c.style.display,c.style.display="none"):(c.style.display=c._stashedDisplay||"",c.getAttribute("style")===""&&c.removeAttribute("style")):c.nodeType===3&&(r?(c._stashedText=c.nodeValue,c.nodeValue=""):c.nodeValue=c._stashedText||""),u&&u.nodeType===8)if(c=u.data,c==="/$"){if(n===0)break;n--}else c!=="$"&&c!=="$?"&&c!=="$~"&&c!=="$!"||n++;c=u}while(c)}function FR(n){var r=n.firstChild;for(r&&r.nodeType===10&&(r=r.nextSibling);r;){var c=r;switch(r=r.nextSibling,c.nodeName){case"HTML":case"HEAD":case"BODY":FR(c),uu(c);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(c.rel.toLowerCase()==="stylesheet")continue}n.removeChild(c)}}function OJ(n,r,c,u){for(;n.nodeType===1;){var v=c;if(n.nodeName.toLowerCase()!==r.toLowerCase()){if(!u&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(u){if(!n[Xo])switch(r){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(g=n.getAttribute("rel"),g==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(g!==v.rel||n.getAttribute("href")!==(v.href==null||v.href===""?null:v.href)||n.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin)||n.getAttribute("title")!==(v.title==null?null:v.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(g=n.getAttribute("src"),(g!==(v.src==null?null:v.src)||n.getAttribute("type")!==(v.type==null?null:v.type)||n.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin))&&g&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(r==="input"&&n.type==="hidden"){var g=v.name==null?null:""+v.name;if(v.type==="hidden"&&n.getAttribute("name")===g)return n}else return n;if(n=ia(n.nextSibling),n===null)break}return null}function DJ(n,r,c){if(r==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!c||(n=ia(n.nextSibling),n===null))return null;return n}function xH(n,r){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!r||(n=ia(n.nextSibling),n===null))return null;return n}function UR(n){return n.data==="$?"||n.data==="$~"}function GR(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function zJ(n,r){var c=n.ownerDocument;if(n.data==="$~")n._reactRetry=r;else if(n.data!=="$?"||c.readyState!=="loading")r();else{var u=function(){r(),c.removeEventListener("DOMContentLoaded",u)};c.addEventListener("DOMContentLoaded",u),n._reactRetry=u}}function ia(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"||r==="F!"||r==="F")break;if(r==="/$"||r==="/&")return null}}return n}var WR=null;function bH(n){n=n.nextSibling;for(var r=0;n;){if(n.nodeType===8){var c=n.data;if(c==="/$"||c==="/&"){if(r===0)return ia(n.nextSibling);r--}else c!=="$"&&c!=="$!"&&c!=="$?"&&c!=="$~"&&c!=="&"||r++}n=n.nextSibling}return null}function wH(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var c=n.data;if(c==="$"||c==="$!"||c==="$?"||c==="$~"||c==="&"){if(r===0)return n;r--}else c!=="/$"&&c!=="/&"||r++}n=n.previousSibling}return null}function _H(n,r,c){switch(r=J0(c),n){case"html":if(n=r.documentElement,!n)throw Error(o(452));return n;case"head":if(n=r.head,!n)throw Error(o(453));return n;case"body":if(n=r.body,!n)throw Error(o(454));return n;default:throw Error(o(451))}}function Wu(n){for(var r=n.attributes;r.length;)n.removeAttributeNode(r[0]);uu(n)}var ca=new Map,SH=new Set;function eh(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var Rr=O.d;O.d={f:qJ,r:HJ,D:VJ,C:BJ,L:FJ,m:UJ,X:WJ,S:GJ,M:ZJ};function qJ(){var n=Rr.f(),r=U0();return n||r}function HJ(n){var r=Y1(n);r!==null&&r.tag===5&&r.type==="form"?Vz(r):Rr.r(n)}var Ed=typeof document>"u"?null:document;function CH(n,r,c){var u=Ed;if(u&&typeof r=="string"&&r){var v=Jn(r);v='link[rel="'+n+'"][href="'+v+'"]',typeof c=="string"&&(v+='[crossorigin="'+c+'"]'),SH.has(v)||(SH.add(v),n={rel:n,crossOrigin:c,href:r},u.querySelector(v)===null&&(r=u.createElement("link"),sn(r,"link",n),Qt(r),u.head.appendChild(r)))}}function VJ(n){Rr.D(n),CH("dns-prefetch",n,null)}function BJ(n,r){Rr.C(n,r),CH("preconnect",n,r)}function FJ(n,r,c){Rr.L(n,r,c);var u=Ed;if(u&&n&&r){var v='link[rel="preload"][as="'+Jn(r)+'"]';r==="image"&&c&&c.imageSrcSet?(v+='[imagesrcset="'+Jn(c.imageSrcSet)+'"]',typeof c.imageSizes=="string"&&(v+='[imagesizes="'+Jn(c.imageSizes)+'"]')):v+='[href="'+Jn(n)+'"]';var g=v;switch(r){case"style":g=Id(n);break;case"script":g=Ad(n)}ca.has(g)||(n=m({rel:"preload",href:r==="image"&&c&&c.imageSrcSet?void 0:n,as:r},c),ca.set(g,n),u.querySelector(v)!==null||r==="style"&&u.querySelector(Zu(g))||r==="script"&&u.querySelector(Xu(g))||(r=u.createElement("link"),sn(r,"link",n),Qt(r),u.head.appendChild(r)))}}function UJ(n,r){Rr.m(n,r);var c=Ed;if(c&&n){var u=r&&typeof r.as=="string"?r.as:"script",v='link[rel="modulepreload"][as="'+Jn(u)+'"][href="'+Jn(n)+'"]',g=v;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Ad(n)}if(!ca.has(g)&&(n=m({rel:"modulepreload",href:n},r),ca.set(g,n),c.querySelector(v)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c.querySelector(Xu(g)))return}u=c.createElement("link"),sn(u,"link",n),Qt(u),c.head.appendChild(u)}}}function GJ(n,r,c){Rr.S(n,r,c);var u=Ed;if(u&&n){var v=Q1(u).hoistableStyles,g=Id(n);r=r||"default";var C=v.get(g);if(!C){var E={loading:0,preload:null};if(C=u.querySelector(Zu(g)))E.loading=5;else{n=m({rel:"stylesheet",href:n,"data-precedence":r},c),(c=ca.get(g))&&ZR(n,c);var z=C=u.createElement("link");Qt(z),sn(z,"link",n),z._p=new Promise(function(Q,le){z.onload=Q,z.onerror=le}),z.addEventListener("load",function(){E.loading|=1}),z.addEventListener("error",function(){E.loading|=2}),E.loading|=4,th(C,r,u)}C={type:"stylesheet",instance:C,count:1,state:E},v.set(g,C)}}}function WJ(n,r){Rr.X(n,r);var c=Ed;if(c&&n){var u=Q1(c).hoistableScripts,v=Ad(n),g=u.get(v);g||(g=c.querySelector(Xu(v)),g||(n=m({src:n,async:!0},r),(r=ca.get(v))&&XR(n,r),g=c.createElement("script"),Qt(g),sn(g,"link",n),c.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},u.set(v,g))}}function ZJ(n,r){Rr.M(n,r);var c=Ed;if(c&&n){var u=Q1(c).hoistableScripts,v=Ad(n),g=u.get(v);g||(g=c.querySelector(Xu(v)),g||(n=m({src:n,async:!0,type:"module"},r),(r=ca.get(v))&&XR(n,r),g=c.createElement("script"),Qt(g),sn(g,"link",n),c.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},u.set(v,g))}}function NH(n,r,c,u){var v=(v=ye.current)?eh(v):null;if(!v)throw Error(o(446));switch(n){case"meta":case"title":return null;case"style":return typeof c.precedence=="string"&&typeof c.href=="string"?(r=Id(c.href),c=Q1(v).hoistableStyles,u=c.get(r),u||(u={type:"style",instance:null,count:0,state:null},c.set(r,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(c.rel==="stylesheet"&&typeof c.href=="string"&&typeof c.precedence=="string"){n=Id(c.href);var g=Q1(v).hoistableStyles,C=g.get(n);if(C||(v=v.ownerDocument||v,C={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(n,C),(g=v.querySelector(Zu(n)))&&!g._p&&(C.instance=g,C.state.loading=5),ca.has(n)||(c={rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},ca.set(n,c),g||XJ(v,n,c,C.state))),r&&u===null)throw Error(o(528,""));return C}if(r&&u!==null)throw Error(o(529,""));return null;case"script":return r=c.async,c=c.src,typeof c=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=Ad(c),c=Q1(v).hoistableScripts,u=c.get(r),u||(u={type:"script",instance:null,count:0,state:null},c.set(r,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,n))}}function Id(n){return'href="'+Jn(n)+'"'}function Zu(n){return'link[rel="stylesheet"]['+n+"]"}function LH(n){return m({},n,{"data-precedence":n.precedence,precedence:null})}function XJ(n,r,c,u){n.querySelector('link[rel="preload"][as="style"]['+r+"]")?u.loading=1:(r=n.createElement("link"),u.preload=r,r.addEventListener("load",function(){return u.loading|=1}),r.addEventListener("error",function(){return u.loading|=2}),sn(r,"link",c),Qt(r),n.head.appendChild(r))}function Ad(n){return'[src="'+Jn(n)+'"]'}function Xu(n){return"script[async]"+n}function EH(n,r,c){if(r.count++,r.instance===null)switch(r.type){case"style":var u=n.querySelector('style[data-href~="'+Jn(c.href)+'"]');if(u)return r.instance=u,Qt(u),u;var v=m({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});return u=(n.ownerDocument||n).createElement("style"),Qt(u),sn(u,"style",v),th(u,c.precedence,n),r.instance=u;case"stylesheet":v=Id(c.href);var g=n.querySelector(Zu(v));if(g)return r.state.loading|=4,r.instance=g,Qt(g),g;u=LH(c),(v=ca.get(v))&&ZR(u,v),g=(n.ownerDocument||n).createElement("link"),Qt(g);var C=g;return C._p=new Promise(function(E,z){C.onload=E,C.onerror=z}),sn(g,"link",u),r.state.loading|=4,th(g,c.precedence,n),r.instance=g;case"script":return g=Ad(c.src),(v=n.querySelector(Xu(g)))?(r.instance=v,Qt(v),v):(u=c,(v=ca.get(g))&&(u=m({},c),XR(u,v)),n=n.ownerDocument||n,v=n.createElement("script"),Qt(v),sn(v,"link",u),n.head.appendChild(v),r.instance=v);case"void":return null;default:throw Error(o(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(u=r.instance,r.state.loading|=4,th(u,c.precedence,n));return r.instance}function th(n,r,c){for(var u=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=u.length?u[u.length-1]:null,g=v,C=0;C<u.length;C++){var E=u[C];if(E.dataset.precedence===r)g=E;else if(g!==v)break}g?g.parentNode.insertBefore(n,g.nextSibling):(r=c.nodeType===9?c.head:c,r.insertBefore(n,r.firstChild))}function ZR(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.title==null&&(n.title=r.title)}function XR(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.integrity==null&&(n.integrity=r.integrity)}var nh=null;function IH(n,r,c){if(nh===null){var u=new Map,v=nh=new Map;v.set(c,u)}else v=nh,u=v.get(c),u||(u=new Map,v.set(c,u));if(u.has(n))return u;for(u.set(n,null),c=c.getElementsByTagName(n),v=0;v<c.length;v++){var g=c[v];if(!(g[Xo]||g[Pt]||n==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var C=g.getAttribute(r)||"";C=n+C;var E=u.get(C);E?E.push(g):u.set(C,[g])}}return u}function AH(n,r,c){n=n.ownerDocument||n,n.head.insertBefore(c,r==="title"?n.querySelector("head > title"):null)}function KJ(n,r,c){if(c===1||r.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof r.precedence!="string"||typeof r.href!="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!="string"||typeof r.href!="string"||r.href===""||r.onLoad||r.onError)break;switch(r.rel){case"stylesheet":return n=r.disabled,typeof r.precedence=="string"&&n==null;default:return!0}case"script":if(r.async&&typeof r.async!="function"&&typeof r.async!="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src=="string")return!0}return!1}function TH(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function YJ(n,r,c,u){if(c.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(c.state.loading&4)===0){if(c.instance===null){var v=Id(u.href),g=r.querySelector(Zu(v));if(g){r=g._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(n.count++,n=ah.bind(n),r.then(n,n)),c.state.loading|=4,c.instance=g,Qt(g);return}g=r.ownerDocument||r,u=LH(u),(v=ca.get(v))&&ZR(u,v),g=g.createElement("link"),Qt(g);var C=g;C._p=new Promise(function(E,z){C.onload=E,C.onerror=z}),sn(g,"link",u),c.instance=g}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(c,r),(r=c.state.preload)&&(c.state.loading&3)===0&&(n.count++,c=ah.bind(n),r.addEventListener("load",c),r.addEventListener("error",c))}}var KR=0;function QJ(n,r){return n.stylesheets&&n.count===0&&rh(n,n.stylesheets),0<n.count||0<n.imgCount?function(c){var u=setTimeout(function(){if(n.stylesheets&&rh(n,n.stylesheets),n.unsuspend){var g=n.unsuspend;n.unsuspend=null,g()}},6e4+r);0<n.imgBytes&&KR===0&&(KR=62500*TJ());var v=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&rh(n,n.stylesheets),n.unsuspend)){var g=n.unsuspend;n.unsuspend=null,g()}},(n.imgBytes>KR?50:800)+r);return n.unsuspend=c,function(){n.unsuspend=null,clearTimeout(u),clearTimeout(v)}}:null}function ah(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)rh(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var oh=null;function rh(n,r){n.stylesheets=null,n.unsuspend!==null&&(n.count++,oh=new Map,r.forEach(JJ,n),oh=null,ah.call(n))}function JJ(n,r){if(!(r.state.loading&4)){var c=oh.get(n);if(c)var u=c.get(null);else{c=new Map,oh.set(n,c);for(var v=n.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<v.length;g++){var C=v[g];(C.nodeName==="LINK"||C.getAttribute("media")!=="not all")&&(c.set(C.dataset.precedence,C),u=C)}u&&c.set(null,u)}v=r.instance,C=v.getAttribute("data-precedence"),g=c.get(C)||u,g===u&&c.set(null,v),c.set(C,v),this.count++,u=ah.bind(this),v.addEventListener("load",u),v.addEventListener("error",u),g?g.parentNode.insertBefore(v,g.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(v,n.firstChild)),r.state.loading|=4}}var Ku={$$typeof:I,Provider:null,Consumer:null,_currentValue:R,_currentValue2:R,_threadCount:0};function eee(n,r,c,u,v,g,C,E,z){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=zt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zt(0),this.hiddenUpdates=zt(null),this.identifierPrefix=u,this.onUncaughtError=v,this.onCaughtError=g,this.onRecoverableError=C,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map}function RH(n,r,c,u,v,g,C,E,z,Q,le,he){return n=new eee(n,r,c,C,z,Q,le,he,E),r=1,g===!0&&(r|=24),g=zn(3,null,null,r),n.current=g,g.stateNode=n,r=ET(),r.refCount++,n.pooledCache=r,r.refCount++,g.memoizedState={element:u,isDehydrated:c,cache:r},RT(g),n}function $H(n){return n?(n=sd,n):sd}function jH(n,r,c,u,v,g){v=$H(v),u.context===null?u.context=v:u.pendingContext=v,u=Xr(r),u.payload={element:c},g=g===void 0?null:g,g!==null&&(u.callback=g),c=Kr(n,u,r),c!==null&&(Ln(c,n,r),Lu(c,n,r))}function PH(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var c=n.retryLane;n.retryLane=c!==0&&c<r?c:r}}function YR(n,r){PH(n,r),(n=n.alternate)&&PH(n,r)}function OH(n){if(n.tag===13||n.tag===31){var r=Vi(n,67108864);r!==null&&Ln(r,n,67108864),YR(n,67108864)}}function DH(n){if(n.tag===13||n.tag===31){var r=Fn();r=ua(r);var c=Vi(n,r);c!==null&&Ln(c,n,r),YR(n,r)}}var ih=!0;function tee(n,r,c,u){var v=T.T;T.T=null;var g=O.p;try{O.p=2,QR(n,r,c,u)}finally{O.p=g,T.T=v}}function nee(n,r,c,u){var v=T.T;T.T=null;var g=O.p;try{O.p=8,QR(n,r,c,u)}finally{O.p=g,T.T=v}}function QR(n,r,c,u){if(ih){var v=JR(u);if(v===null)DR(n,r,u,ch,c),qH(n,u);else if(oee(v,n,r,c,u))u.stopPropagation();else if(qH(n,u),r&4&&-1<aee.indexOf(n)){for(;v!==null;){var g=Y1(v);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var C=Kt(g.pendingLanes);if(C!==0){var E=g;for(E.pendingLanes|=2,E.entangledLanes|=2;C;){var z=1<<31-W(C);E.entanglements[1]|=z,C&=~z}Jo(g),(dt&6)===0&&(B0=qe()+500,Fu(0))}}break;case 31:case 13:E=Vi(g,2),E!==null&&Ln(E,g,2),U0(),YR(g,2)}if(g=JR(u),g===null&&DR(n,r,u,ch,c),g===v)break;v=g}v!==null&&u.stopPropagation()}else DR(n,r,u,null,c)}}function JR(n){return n=tT(n),e$(n)}var ch=null;function e$(n){if(ch=null,n=yr(n),n!==null){var r=s(n);if(r===null)n=null;else{var c=r.tag;if(c===13){if(n=l(r),n!==null)return n;n=null}else if(c===31){if(n=h(r),n!==null)return n;n=null}else if(c===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null)}}return ch=n,null}function zH(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(we()){case De:return 2;case Ne:return 8;case Te:case Je:return 32;case jt:return 268435456;default:return 32}default:return 32}}var t$=!1,ci=null,si=null,li=null,Yu=new Map,Qu=new Map,di=[],aee="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function qH(n,r){switch(n){case"focusin":case"focusout":ci=null;break;case"dragenter":case"dragleave":si=null;break;case"mouseover":case"mouseout":li=null;break;case"pointerover":case"pointerout":Yu.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qu.delete(r.pointerId)}}function Ju(n,r,c,u,v,g){return n===null||n.nativeEvent!==g?(n={blockedOn:r,domEventName:c,eventSystemFlags:u,nativeEvent:g,targetContainers:[v]},r!==null&&(r=Y1(r),r!==null&&OH(r)),n):(n.eventSystemFlags|=u,r=n.targetContainers,v!==null&&r.indexOf(v)===-1&&r.push(v),n)}function oee(n,r,c,u,v){switch(r){case"focusin":return ci=Ju(ci,n,r,c,u,v),!0;case"dragenter":return si=Ju(si,n,r,c,u,v),!0;case"mouseover":return li=Ju(li,n,r,c,u,v),!0;case"pointerover":var g=v.pointerId;return Yu.set(g,Ju(Yu.get(g)||null,n,r,c,u,v)),!0;case"gotpointercapture":return g=v.pointerId,Qu.set(g,Ju(Qu.get(g)||null,n,r,c,u,v)),!0}return!1}function HH(n){var r=yr(n.target);if(r!==null){var c=s(r);if(c!==null){if(r=c.tag,r===13){if(r=l(c),r!==null){n.blockedOn=r,lu(n.priority,function(){DH(c)});return}}else if(r===31){if(r=h(c),r!==null){n.blockedOn=r,lu(n.priority,function(){DH(c)});return}}else if(r===3&&c.stateNode.current.memoizedState.isDehydrated){n.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}n.blockedOn=null}function sh(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var c=JR(n.nativeEvent);if(c===null){c=n.nativeEvent;var u=new c.constructor(c.type,c);eT=u,c.target.dispatchEvent(u),eT=null}else return r=Y1(c),r!==null&&OH(r),n.blockedOn=c,!1;r.shift()}return!0}function VH(n,r,c){sh(n)&&c.delete(r)}function ree(){t$=!1,ci!==null&&sh(ci)&&(ci=null),si!==null&&sh(si)&&(si=null),li!==null&&sh(li)&&(li=null),Yu.forEach(VH),Qu.forEach(VH)}function lh(n,r){n.blockedOn===r&&(n.blockedOn=null,t$||(t$=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,ree)))}var dh=null;function BH(n){dh!==n&&(dh=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){dh===n&&(dh=null);for(var r=0;r<n.length;r+=3){var c=n[r],u=n[r+1],v=n[r+2];if(typeof u!="function"){if(e$(u||c)===null)continue;break}var g=Y1(c);g!==null&&(n.splice(r,3),r-=3,JT(g,{pending:!0,data:v,method:c.method,action:u},u,v))}}))}function Td(n){function r(z){return lh(z,n)}ci!==null&&lh(ci,n),si!==null&&lh(si,n),li!==null&&lh(li,n),Yu.forEach(r),Qu.forEach(r);for(var c=0;c<di.length;c++){var u=di[c];u.blockedOn===n&&(u.blockedOn=null)}for(;0<di.length&&(c=di[0],c.blockedOn===null);)HH(c),c.blockedOn===null&&di.shift();if(c=(n.ownerDocument||n).$$reactFormReplay,c!=null)for(u=0;u<c.length;u+=3){var v=c[u],g=c[u+1],C=v[an]||null;if(typeof g=="function")C||BH(c);else if(C){var E=null;if(g&&g.hasAttribute("formAction")){if(v=g,C=g[an]||null)E=C.formAction;else if(e$(v)!==null)continue}else E=C.action;typeof E=="function"?c[u+1]=E:(c.splice(u,3),u-=3),BH(c)}}}function FH(){function n(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(C){return v=C})},focusReset:"manual",scroll:"manual"})}function r(){v!==null&&(v(),v=null),u||setTimeout(c,20)}function c(){if(!u&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,v=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",r),navigation.addEventListener("navigateerror",r),setTimeout(c,100),function(){u=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",r),navigation.removeEventListener("navigateerror",r),v!==null&&(v(),v=null)}}}function n$(n){this._internalRoot=n}uh.prototype.render=n$.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(o(409));var c=r.current,u=Fn();jH(c,u,n,r,null,null)},uh.prototype.unmount=n$.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;jH(n.current,2,null,n,null,null),U0(),r[Zo]=null}};function uh(n){this._internalRoot=n}uh.prototype.unstable_scheduleHydration=function(n){if(n){var r=Oi();n={blockedOn:null,target:n,priority:r};for(var c=0;c<di.length&&r!==0&&r<di[c].priority;c++);di.splice(c,0,n),c===0&&HH(n)}};var UH=t.version;if(UH!=="19.2.4")throw Error(o(527,UH,"19.2.4"));O.findDOMNode=function(n){var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(o(188)):(n=Object.keys(n).join(","),Error(o(268,n)));return n=y(r),n=n!==null?k(n):null,n=n===null?null:n.stateNode,n};var iee={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:T,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var hh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!hh.isDisabled&&hh.supportsFiber)try{Yn=hh.inject(iee),Gt=hh}catch{}}return r2.createRoot=function(n,r){if(!i(n))throw Error(o(299));var c=!1,u="",v=Qz,g=Jz,C=eq;return r!=null&&(r.unstable_strictMode===!0&&(c=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onUncaughtError!==void 0&&(v=r.onUncaughtError),r.onCaughtError!==void 0&&(g=r.onCaughtError),r.onRecoverableError!==void 0&&(C=r.onRecoverableError)),r=RH(n,1,!1,null,null,c,u,null,v,g,C,FH),n[Zo]=r.current,OR(n),new n$(r)},r2.hydrateRoot=function(n,r,c){if(!i(n))throw Error(o(299));var u=!1,v="",g=Qz,C=Jz,E=eq,z=null;return c!=null&&(c.unstable_strictMode===!0&&(u=!0),c.identifierPrefix!==void 0&&(v=c.identifierPrefix),c.onUncaughtError!==void 0&&(g=c.onUncaughtError),c.onCaughtError!==void 0&&(C=c.onCaughtError),c.onRecoverableError!==void 0&&(E=c.onRecoverableError),c.formState!==void 0&&(z=c.formState)),r=RH(n,1,!0,r,c??null,u,v,z,g,C,E,FH),r.context=$H(null),c=r.current,u=Fn(),u=ua(u),v=Xr(u),v.callback=null,Kr(c,v,u),c=u,r.current.lanes=c,xt(r,c),Jo(r),n[Zo]=r.current,OR(n),new uh(r)},r2.version="19.2.4",r2}var bB;function Noe(){if(bB)return rj.exports;bB=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),rj.exports=Coe(),rj.exports}var Loe=Noe();function Eoe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l);h.displayName=s+"Context";const f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,Ioe(i,...t)]}function Ioe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function Zn(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...a)=>{var o;return(o=t.current)==null?void 0:o.call(t,...a)},[])}var St=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{};function wB(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function kt(...e){return t=>{let a=!1;const o=e.map(i=>{const s=wB(i,t);return!a&&typeof s=="function"&&(a=!0),s});if(a)return()=>{for(let i=0;i<o.length;i++){const s=o[i];typeof s=="function"?s():wB(e[i],null)}}}}function ze(...e){return p.useCallback(kt(...e),e)}var Aoe=Symbol.for("react.lazy"),KI=xP[" use ".trim().toString()];function Toe(e){return typeof e=="object"&&e!==null&&"then"in e}function VU(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Aoe&&"_payload"in e&&Toe(e._payload)}function BU(e){const t=Roe(e),a=p.forwardRef((o,i)=>{let{children:s,...l}=o;VU(s)&&typeof KI=="function"&&(s=KI(s._payload));const h=p.Children.toArray(s),f=h.find(joe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}var Ii=BU("Slot");function Roe(e){const t=p.forwardRef((a,o)=>{let{children:i,...s}=a;if(VU(i)&&typeof KI=="function"&&(i=KI(i._payload)),p.isValidElement(i)){const l=Ooe(i),h=Poe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var $oe=Symbol("radix.slottable");function joe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===$oe}function Poe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function Ooe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var Doe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],jn=Doe.reduce((e,t)=>{const a=BU(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),sj={exports:{}},lj={};/**
114
+ `+u.stack}}var Ye=Object.prototype.hasOwnProperty,Ut=e.unstable_scheduleCallback,At=e.unstable_cancelCallback,Mt=e.unstable_shouldYield,Lt=e.unstable_requestPaint,qe=e.unstable_now,we=e.unstable_getCurrentPriorityLevel,De=e.unstable_ImmediatePriority,Ne=e.unstable_UserBlockingPriority,Te=e.unstable_NormalPriority,Je=e.unstable_LowPriority,jt=e.unstable_IdlePriority,lt=e.log,tn=e.unstable_setDisableYieldValue,Yn=null,Gt=null;function ln(n){if(typeof lt=="function"&&tn(n),Gt&&typeof Gt.setStrictMode=="function")try{Gt.setStrictMode(Yn,n)}catch{}}var Z=Math.clz32?Math.clz32:Ge,ae=Math.log,Ue=Math.LN2;function Ge(n){return n>>>=0,n===0?32:31-(ae(n)/Ue|0)|0}var rt=256,Oe=262144,dn=4194304;function Kt(n){var r=n&42;if(r!==0)return r;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function Ie(n,r,c){var u=n.pendingLanes;if(u===0)return 0;var v=0,g=n.suspendedLanes,C=n.pingedLanes;n=n.warmLanes;var E=u&134217727;return E!==0?(u=E&~g,u!==0?v=Kt(u):(C&=E,C!==0?v=Kt(C):c||(c=E&~n,c!==0&&(v=Kt(c))))):(E=u&~g,E!==0?v=Kt(E):C!==0?v=Kt(C):c||(c=u&~n,c!==0&&(v=Kt(c)))),v===0?0:r!==0&&r!==v&&(r&g)===0&&(g=v&-v,c=r&-r,g>=c||g===32&&(c&4194048)!==0)?r:v}function nt(n,r){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&r)===0}function Tt(n,r){switch(n){case 1:case 2:case 4:case 8:case 64:return r+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Et(){var n=dn;return dn<<=1,(dn&62914560)===0&&(dn=4194304),n}function zt(n){for(var r=[],c=0;31>c;c++)r.push(n);return r}function xt(n,r){n.pendingLanes|=r,r!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function nn(n,r,c,u,v,g){var C=n.pendingLanes;n.pendingLanes=c,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=c,n.entangledLanes&=c,n.errorRecoveryDisabledLanes&=c,n.shellSuspendCounter=0;var E=n.entanglements,z=n.expirationTimes,Q=n.hiddenUpdates;for(c=C&~c;0<c;){var se=31-Z(c),ue=1<<se;E[se]=0,z[se]=-1;var te=Q[se];if(te!==null)for(Q[se]=null,se=0;se<te.length;se++){var re=te[se];re!==null&&(re.lane&=-536870913)}c&=~ue}u!==0&&Wo(n,u,0),g!==0&&v===0&&n.tag!==0&&(n.suspendedLanes|=g&~(C&~r))}function Wo(n,r,c){n.pendingLanes|=r,n.suspendedLanes&=~r;var u=31-Z(r);n.entangledLanes|=r,n.entanglements[u]=n.entanglements[u]|1073741824|c&261930}function qt(n,r){var c=n.entangledLanes|=r;for(n=n.entanglements;c;){var u=31-Z(c),v=1<<u;v&r|n[u]&r&&(n[u]|=r),c&=~v}}function Yt(n,r){var c=r&-r;return c=(c&42)!==0?1:ua(c),(c&(n.suspendedLanes|r))!==0?0:c}function ua(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function yn(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Oi(){var n=$.p;return n!==0?n:(n=window.event,n===void 0?32:zH(n.type))}function lu(n,r){var c=$.p;try{return $.p=n,r()}finally{$.p=c}}var ha=Math.random().toString(36).slice(2),Pt="__reactFiber$"+ha,an="__reactProps$"+ha,Zo="__reactContainer$"+ha,K1="__reactEvents$"+ha,KA="__reactListeners$"+ha,du="__reactHandles$"+ha,fr="__reactResources$"+ha,Xo="__reactMarker$"+ha;function uu(n){delete n[Pt],delete n[an],delete n[K1],delete n[KA],delete n[du]}function yr(n){var r=n[Pt];if(r)return r;for(var c=n.parentNode;c;){if(r=c[Zo]||c[Pt]){if(c=r.alternate,r.child!==null||c!==null&&c.child!==null)for(n=wH(n);n!==null;){if(c=n[Pt])return c;n=wH(n)}return r}n=c,c=n.parentNode}return null}function Y1(n){if(n=n[Pt]||n[Zo]){var r=n.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return n}return null}function hu(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n.stateNode;throw Error(o(33))}function Q1(n){var r=n[fr];return r||(r=n[fr]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Qt(n){n[Xo]=!0}var aD=new Set,oD={};function Di(n,r){J1(n,r),J1(n+"Capture",r)}function J1(n,r){for(oD[n]=r,n=0;n<r.length;n++)aD.add(r[n])}var JY=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),rD={},iD={};function eQ(n){return Ye.call(iD,n)?!0:Ye.call(rD,n)?!1:JY.test(n)?iD[n]=!0:(rD[n]=!0,!1)}function t0(n,r,c){if(eQ(r))if(c===null)n.removeAttribute(r);else{switch(typeof c){case"undefined":case"function":case"symbol":n.removeAttribute(r);return;case"boolean":var u=r.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){n.removeAttribute(r);return}}n.setAttribute(r,""+c)}}function n0(n,r,c){if(c===null)n.removeAttribute(r);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(r);return}n.setAttribute(r,""+c)}}function mr(n,r,c,u){if(u===null)n.removeAttribute(c);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(c);return}n.setAttributeNS(r,c,""+u)}}function Qn(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function cD(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function tQ(n,r,c){var u=Object.getOwnPropertyDescriptor(n.constructor.prototype,r);if(!n.hasOwnProperty(r)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var v=u.get,g=u.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return v.call(this)},set:function(C){c=""+C,g.call(this,C)}}),Object.defineProperty(n,r,{enumerable:u.enumerable}),{getValue:function(){return c},setValue:function(C){c=""+C},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function YA(n){if(!n._valueTracker){var r=cD(n)?"checked":"value";n._valueTracker=tQ(n,r,""+n[r])}}function sD(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var c=r.getValue(),u="";return n&&(u=cD(n)?n.checked?"true":"false":n.value),n=u,n!==c?(r.setValue(n),!0):!1}function a0(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var nQ=/[\n"\\]/g;function Jn(n){return n.replace(nQ,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function QA(n,r,c,u,v,g,C,E){n.name="",C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?n.type=C:n.removeAttribute("type"),r!=null?C==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=""+Qn(r)):n.value!==""+Qn(r)&&(n.value=""+Qn(r)):C!=="submit"&&C!=="reset"||n.removeAttribute("value"),r!=null?JA(n,C,Qn(r)):c!=null?JA(n,C,Qn(c)):u!=null&&n.removeAttribute("value"),v==null&&g!=null&&(n.defaultChecked=!!g),v!=null&&(n.checked=v&&typeof v!="function"&&typeof v!="symbol"),E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?n.name=""+Qn(E):n.removeAttribute("name")}function lD(n,r,c,u,v,g,C,E){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(n.type=g),r!=null||c!=null){if(!(g!=="submit"&&g!=="reset"||r!=null)){YA(n);return}c=c!=null?""+Qn(c):"",r=r!=null?""+Qn(r):c,E||r===n.value||(n.value=r),n.defaultValue=r}u=u??v,u=typeof u!="function"&&typeof u!="symbol"&&!!u,n.checked=E?n.checked:!!u,n.defaultChecked=!!u,C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"&&(n.name=C),YA(n)}function JA(n,r,c){r==="number"&&a0(n.ownerDocument)===n||n.defaultValue===""+c||(n.defaultValue=""+c)}function ed(n,r,c,u){if(n=n.options,r){r={};for(var v=0;v<c.length;v++)r["$"+c[v]]=!0;for(c=0;c<n.length;c++)v=r.hasOwnProperty("$"+n[c].value),n[c].selected!==v&&(n[c].selected=v),v&&u&&(n[c].defaultSelected=!0)}else{for(c=""+Qn(c),r=null,v=0;v<n.length;v++){if(n[v].value===c){n[v].selected=!0,u&&(n[v].defaultSelected=!0);return}r!==null||n[v].disabled||(r=n[v])}r!==null&&(r.selected=!0)}}function dD(n,r,c){if(r!=null&&(r=""+Qn(r),r!==n.value&&(n.value=r),c==null)){n.defaultValue!==r&&(n.defaultValue=r);return}n.defaultValue=c!=null?""+Qn(c):""}function uD(n,r,c,u){if(r==null){if(u!=null){if(c!=null)throw Error(o(92));if(pe(u)){if(1<u.length)throw Error(o(93));u=u[0]}c=u}c==null&&(c=""),r=c}c=Qn(r),n.defaultValue=c,u=n.textContent,u===c&&u!==""&&u!==null&&(n.value=u),YA(n)}function td(n,r){if(r){var c=n.firstChild;if(c&&c===n.lastChild&&c.nodeType===3){c.nodeValue=r;return}}n.textContent=r}var aQ=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function hD(n,r,c){var u=r.indexOf("--")===0;c==null||typeof c=="boolean"||c===""?u?n.setProperty(r,""):r==="float"?n.cssFloat="":n[r]="":u?n.setProperty(r,c):typeof c!="number"||c===0||aQ.has(r)?r==="float"?n.cssFloat=c:n[r]=(""+c).trim():n[r]=c+"px"}function pD(n,r,c){if(r!=null&&typeof r!="object")throw Error(o(62));if(n=n.style,c!=null){for(var u in c)!c.hasOwnProperty(u)||r!=null&&r.hasOwnProperty(u)||(u.indexOf("--")===0?n.setProperty(u,""):u==="float"?n.cssFloat="":n[u]="");for(var v in r)u=r[v],r.hasOwnProperty(v)&&c[v]!==u&&hD(n,v,u)}else for(var g in r)r.hasOwnProperty(g)&&hD(n,g,r[g])}function eT(n){if(n.indexOf("-")===-1)return!1;switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var oQ=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),rQ=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function o0(n){return rQ.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function vr(){}var tT=null;function nT(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var nd=null,ad=null;function fD(n){var r=Y1(n);if(r&&(n=r.stateNode)){var c=n[an]||null;e:switch(n=r.stateNode,r.type){case"input":if(QA(n,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name),r=c.name,c.type==="radio"&&r!=null){for(c=n;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll('input[name="'+Jn(""+r)+'"][type="radio"]'),r=0;r<c.length;r++){var u=c[r];if(u!==n&&u.form===n.form){var v=u[an]||null;if(!v)throw Error(o(90));QA(u,v.value,v.defaultValue,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name)}}for(r=0;r<c.length;r++)u=c[r],u.form===n.form&&sD(u)}break e;case"textarea":dD(n,c.value,c.defaultValue);break e;case"select":r=c.value,r!=null&&ed(n,!!c.multiple,r,!1)}}}var aT=!1;function yD(n,r,c){if(aT)return n(r,c);aT=!0;try{var u=n(r);return u}finally{if(aT=!1,(nd!==null||ad!==null)&&(U0(),nd&&(r=nd,n=ad,ad=nd=null,fD(r),n)))for(r=0;r<n.length;r++)fD(n[r])}}function pu(n,r){var c=n.stateNode;if(c===null)return null;var u=c[an]||null;if(u===null)return null;c=u[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(n=n.type,u=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!u;break e;default:n=!1}if(n)return null;if(c&&typeof c!="function")throw Error(o(231,r,typeof c));return c}var kr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),oT=!1;if(kr)try{var fu={};Object.defineProperty(fu,"passive",{get:function(){oT=!0}}),window.addEventListener("test",fu,fu),window.removeEventListener("test",fu,fu)}catch{oT=!1}var Br=null,rT=null,r0=null;function mD(){if(r0)return r0;var n,r=rT,c=r.length,u,v="value"in Br?Br.value:Br.textContent,g=v.length;for(n=0;n<c&&r[n]===v[n];n++);var C=c-n;for(u=1;u<=C&&r[c-u]===v[g-u];u++);return r0=v.slice(n,1<u?1-u:void 0)}function i0(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function c0(){return!0}function vD(){return!1}function wn(n){function r(c,u,v,g,C){this._reactName=c,this._targetInst=v,this.type=u,this.nativeEvent=g,this.target=C,this.currentTarget=null;for(var E in n)n.hasOwnProperty(E)&&(c=n[E],this[E]=c?c(g):g[E]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?c0:vD,this.isPropagationStopped=vD,this}return m(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=c0)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=c0)},persist:function(){},isPersistent:c0}),r}var zi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},s0=wn(zi),yu=m({},zi,{view:0,detail:0}),iQ=wn(yu),iT,cT,mu,l0=m({},yu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lT,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==mu&&(mu&&n.type==="mousemove"?(iT=n.screenX-mu.screenX,cT=n.screenY-mu.screenY):cT=iT=0,mu=n),iT)},movementY:function(n){return"movementY"in n?n.movementY:cT}}),kD=wn(l0),cQ=m({},l0,{dataTransfer:0}),sQ=wn(cQ),lQ=m({},yu,{relatedTarget:0}),sT=wn(lQ),dQ=m({},zi,{animationName:0,elapsedTime:0,pseudoElement:0}),uQ=wn(dQ),hQ=m({},zi,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),pQ=wn(hQ),fQ=m({},zi,{data:0}),gD=wn(fQ),yQ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mQ={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},vQ={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kQ(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=vQ[n])?!!r[n]:!1}function lT(){return kQ}var gQ=m({},yu,{key:function(n){if(n.key){var r=yQ[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=i0(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?mQ[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lT,charCode:function(n){return n.type==="keypress"?i0(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?i0(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),MQ=wn(gQ),xQ=m({},l0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),MD=wn(xQ),bQ=m({},yu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lT}),wQ=wn(bQ),_Q=m({},zi,{propertyName:0,elapsedTime:0,pseudoElement:0}),SQ=wn(_Q),CQ=m({},l0,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),NQ=wn(CQ),LQ=m({},zi,{newState:0,oldState:0}),EQ=wn(LQ),IQ=[9,13,27,32],dT=kr&&"CompositionEvent"in window,vu=null;kr&&"documentMode"in document&&(vu=document.documentMode);var AQ=kr&&"TextEvent"in window&&!vu,xD=kr&&(!dT||vu&&8<vu&&11>=vu),bD=" ",wD=!1;function _D(n,r){switch(n){case"keyup":return IQ.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function SD(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var od=!1;function TQ(n,r){switch(n){case"compositionend":return SD(r);case"keypress":return r.which!==32?null:(wD=!0,bD);case"textInput":return n=r.data,n===bD&&wD?null:n;default:return null}}function RQ(n,r){if(od)return n==="compositionend"||!dT&&_D(n,r)?(n=mD(),r0=rT=Br=null,od=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return xD&&r.locale!=="ko"?null:r.data;default:return null}}var $Q={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function CD(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!$Q[n.type]:r==="textarea"}function ND(n,r,c,u){nd?ad?ad.push(u):ad=[u]:nd=u,r=Q0(r,"onChange"),0<r.length&&(c=new s0("onChange","change",null,c,u),n.push({event:c,listeners:r}))}var ku=null,gu=null;function jQ(n){lH(n,0)}function d0(n){var r=hu(n);if(sD(r))return n}function LD(n,r){if(n==="change")return r}var ED=!1;if(kr){var uT;if(kr){var hT="oninput"in document;if(!hT){var ID=document.createElement("div");ID.setAttribute("oninput","return;"),hT=typeof ID.oninput=="function"}uT=hT}else uT=!1;ED=uT&&(!document.documentMode||9<document.documentMode)}function AD(){ku&&(ku.detachEvent("onpropertychange",TD),gu=ku=null)}function TD(n){if(n.propertyName==="value"&&d0(gu)){var r=[];ND(r,gu,n,nT(n)),yD(jQ,r)}}function PQ(n,r,c){n==="focusin"?(AD(),ku=r,gu=c,ku.attachEvent("onpropertychange",TD)):n==="focusout"&&AD()}function OQ(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return d0(gu)}function DQ(n,r){if(n==="click")return d0(r)}function zQ(n,r){if(n==="input"||n==="change")return d0(r)}function qQ(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var Dn=typeof Object.is=="function"?Object.is:qQ;function Mu(n,r){if(Dn(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var c=Object.keys(n),u=Object.keys(r);if(c.length!==u.length)return!1;for(u=0;u<c.length;u++){var v=c[u];if(!Ye.call(r,v)||!Dn(n[v],r[v]))return!1}return!0}function RD(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function $D(n,r){var c=RD(n);n=0;for(var u;c;){if(c.nodeType===3){if(u=n+c.textContent.length,n<=r&&u>=r)return{node:c,offset:r-n};n=u}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=RD(c)}}function jD(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?jD(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function PD(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var r=a0(n.document);r instanceof n.HTMLIFrameElement;){try{var c=typeof r.contentWindow.location.href=="string"}catch{c=!1}if(c)n=r.contentWindow;else break;r=a0(n.document)}return r}function pT(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}var HQ=kr&&"documentMode"in document&&11>=document.documentMode,rd=null,fT=null,xu=null,yT=!1;function OD(n,r,c){var u=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;yT||rd==null||rd!==a0(u)||(u=rd,"selectionStart"in u&&pT(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),xu&&Mu(xu,u)||(xu=u,u=Q0(fT,"onSelect"),0<u.length&&(r=new s0("onSelect","select",null,r,c),n.push({event:r,listeners:u}),r.target=rd)))}function qi(n,r){var c={};return c[n.toLowerCase()]=r.toLowerCase(),c["Webkit"+n]="webkit"+r,c["Moz"+n]="moz"+r,c}var id={animationend:qi("Animation","AnimationEnd"),animationiteration:qi("Animation","AnimationIteration"),animationstart:qi("Animation","AnimationStart"),transitionrun:qi("Transition","TransitionRun"),transitionstart:qi("Transition","TransitionStart"),transitioncancel:qi("Transition","TransitionCancel"),transitionend:qi("Transition","TransitionEnd")},mT={},DD={};kr&&(DD=document.createElement("div").style,"AnimationEvent"in window||(delete id.animationend.animation,delete id.animationiteration.animation,delete id.animationstart.animation),"TransitionEvent"in window||delete id.transitionend.transition);function Hi(n){if(mT[n])return mT[n];if(!id[n])return n;var r=id[n],c;for(c in r)if(r.hasOwnProperty(c)&&c in DD)return mT[n]=r[c];return n}var zD=Hi("animationend"),qD=Hi("animationiteration"),HD=Hi("animationstart"),VQ=Hi("transitionrun"),BQ=Hi("transitionstart"),FQ=Hi("transitioncancel"),VD=Hi("transitionend"),BD=new Map,vT="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");vT.push("scrollEnd");function pa(n,r){BD.set(n,r),Di(r,[n])}var u0=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},ea=[],cd=0,kT=0;function h0(){for(var n=cd,r=kT=cd=0;r<n;){var c=ea[r];ea[r++]=null;var u=ea[r];ea[r++]=null;var v=ea[r];ea[r++]=null;var g=ea[r];if(ea[r++]=null,u!==null&&v!==null){var C=u.pending;C===null?v.next=v:(v.next=C.next,C.next=v),u.pending=v}g!==0&&FD(c,v,g)}}function p0(n,r,c,u){ea[cd++]=n,ea[cd++]=r,ea[cd++]=c,ea[cd++]=u,kT|=u,n.lanes|=u,n=n.alternate,n!==null&&(n.lanes|=u)}function gT(n,r,c,u){return p0(n,r,c,u),f0(n)}function Vi(n,r){return p0(n,null,null,r),f0(n)}function FD(n,r,c){n.lanes|=c;var u=n.alternate;u!==null&&(u.lanes|=c);for(var v=!1,g=n.return;g!==null;)g.childLanes|=c,u=g.alternate,u!==null&&(u.childLanes|=c),g.tag===22&&(n=g.stateNode,n===null||n._visibility&1||(v=!0)),n=g,g=g.return;return n.tag===3?(g=n.stateNode,v&&r!==null&&(v=31-Z(c),n=g.hiddenUpdates,u=n[v],u===null?n[v]=[r]:u.push(r),r.lane=c|536870912),g):null}function f0(n){if(50<Bu)throw Bu=0,LR=null,Error(o(185));for(var r=n.return;r!==null;)n=r,r=n.return;return n.tag===3?n.stateNode:null}var sd={};function UQ(n,r,c,u){this.tag=n,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zn(n,r,c,u){return new UQ(n,r,c,u)}function MT(n){return n=n.prototype,!(!n||!n.isReactComponent)}function gr(n,r){var c=n.alternate;return c===null?(c=zn(n.tag,r,n.key,n.mode),c.elementType=n.elementType,c.type=n.type,c.stateNode=n.stateNode,c.alternate=n,n.alternate=c):(c.pendingProps=r,c.type=n.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=n.flags&65011712,c.childLanes=n.childLanes,c.lanes=n.lanes,c.child=n.child,c.memoizedProps=n.memoizedProps,c.memoizedState=n.memoizedState,c.updateQueue=n.updateQueue,r=n.dependencies,c.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},c.sibling=n.sibling,c.index=n.index,c.ref=n.ref,c.refCleanup=n.refCleanup,c}function UD(n,r){n.flags&=65011714;var c=n.alternate;return c===null?(n.childLanes=0,n.lanes=r,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=c.childLanes,n.lanes=c.lanes,n.child=c.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=c.memoizedProps,n.memoizedState=c.memoizedState,n.updateQueue=c.updateQueue,n.type=c.type,r=c.dependencies,n.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),n}function y0(n,r,c,u,v,g){var C=0;if(u=n,typeof n=="function")MT(n)&&(C=1);else if(typeof n=="string")C=KJ(n,c,le.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case V:return n=zn(31,c,r,v),n.elementType=V,n.lanes=g,n;case w:return Bi(c.children,v,g,r);case _:C=8,v|=24;break;case N:return n=zn(12,c,r,v|2),n.elementType=N,n.lanes=g,n;case D:return n=zn(13,c,r,v),n.elementType=D,n.lanes=g,n;case P:return n=zn(19,c,r,v),n.elementType=P,n.lanes=g,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case I:C=10;break e;case L:C=9;break e;case O:C=11;break e;case A:C=14;break e;case j:C=16,u=null;break e}C=29,c=Error(o(130,n===null?"null":typeof n,"")),u=null}return r=zn(C,c,r,v),r.elementType=n,r.type=u,r.lanes=g,r}function Bi(n,r,c,u){return n=zn(7,n,u,r),n.lanes=c,n}function xT(n,r,c){return n=zn(6,n,null,r),n.lanes=c,n}function GD(n){var r=zn(18,null,null,0);return r.stateNode=n,r}function bT(n,r,c){return r=zn(4,n.children!==null?n.children:[],n.key,r),r.lanes=c,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}var WD=new WeakMap;function ta(n,r){if(typeof n=="object"&&n!==null){var c=WD.get(n);return c!==void 0?c:(r={value:n,source:r,stack:ot(r)},WD.set(n,r),r)}return{value:n,source:r,stack:ot(r)}}var ld=[],dd=0,m0=null,bu=0,na=[],aa=0,Fr=null,Ko=1,Yo="";function Mr(n,r){ld[dd++]=bu,ld[dd++]=m0,m0=n,bu=r}function ZD(n,r,c){na[aa++]=Ko,na[aa++]=Yo,na[aa++]=Fr,Fr=n;var u=Ko;n=Yo;var v=32-Z(u)-1;u&=~(1<<v),c+=1;var g=32-Z(r)+v;if(30<g){var C=v-v%5;g=(u&(1<<C)-1).toString(32),u>>=C,v-=C,Ko=1<<32-Z(r)+v|c<<v|u,Yo=g+n}else Ko=1<<g|c<<v|u,Yo=n}function wT(n){n.return!==null&&(Mr(n,1),ZD(n,1,0))}function _T(n){for(;n===m0;)m0=ld[--dd],ld[dd]=null,bu=ld[--dd],ld[dd]=null;for(;n===Fr;)Fr=na[--aa],na[aa]=null,Yo=na[--aa],na[aa]=null,Ko=na[--aa],na[aa]=null}function XD(n,r){na[aa++]=Ko,na[aa++]=Yo,na[aa++]=Fr,Ko=r.id,Yo=r.overflow,Fr=n}var on=null,wt=null,Qe=!1,Ur=null,oa=!1,ST=Error(o(519));function Gr(n){var r=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw wu(ta(r,n)),ST}function KD(n){var r=n.stateNode,c=n.type,u=n.memoizedProps;switch(r[Pt]=n,r[an]=u,c){case"dialog":Ze("cancel",r),Ze("close",r);break;case"iframe":case"object":case"embed":Ze("load",r);break;case"video":case"audio":for(c=0;c<Uu.length;c++)Ze(Uu[c],r);break;case"source":Ze("error",r);break;case"img":case"image":case"link":Ze("error",r),Ze("load",r);break;case"details":Ze("toggle",r);break;case"input":Ze("invalid",r),lD(r,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"select":Ze("invalid",r);break;case"textarea":Ze("invalid",r),uD(r,u.value,u.defaultValue,u.children)}c=u.children,typeof c!="string"&&typeof c!="number"&&typeof c!="bigint"||r.textContent===""+c||u.suppressHydrationWarning===!0||pH(r.textContent,c)?(u.popover!=null&&(Ze("beforetoggle",r),Ze("toggle",r)),u.onScroll!=null&&Ze("scroll",r),u.onScrollEnd!=null&&Ze("scrollend",r),u.onClick!=null&&(r.onclick=vr),r=!0):r=!1,r||Gr(n,!0)}function YD(n){for(on=n.return;on;)switch(on.tag){case 5:case 31:case 13:oa=!1;return;case 27:case 3:oa=!0;return;default:on=on.return}}function ud(n){if(n!==on)return!1;if(!Qe)return YD(n),Qe=!0,!1;var r=n.tag,c;if((c=r!==3&&r!==27)&&((c=r===5)&&(c=n.type,c=!(c!=="form"&&c!=="button")||BR(n.type,n.memoizedProps)),c=!c),c&&wt&&Gr(n),YD(n),r===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));wt=bH(n)}else if(r===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));wt=bH(n)}else r===27?(r=wt,ii(n.type)?(n=ZR,ZR=null,wt=n):wt=r):wt=on?ia(n.stateNode.nextSibling):null;return!0}function Fi(){wt=on=null,Qe=!1}function CT(){var n=Ur;return n!==null&&(Nn===null?Nn=n:Nn.push.apply(Nn,n),Ur=null),n}function wu(n){Ur===null?Ur=[n]:Ur.push(n)}var NT=Me(null),Ui=null,xr=null;function Wr(n,r,c){ne(NT,r._currentValue),r._currentValue=c}function br(n){n._currentValue=NT.current,X(NT)}function LT(n,r,c){for(;n!==null;){var u=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),n===c)break;n=n.return}}function ET(n,r,c,u){var v=n.child;for(v!==null&&(v.return=n);v!==null;){var g=v.dependencies;if(g!==null){var C=v.child;g=g.firstContext;e:for(;g!==null;){var E=g;g=v;for(var z=0;z<r.length;z++)if(E.context===r[z]){g.lanes|=c,E=g.alternate,E!==null&&(E.lanes|=c),LT(g.return,c,n),u||(C=null);break e}g=E.next}}else if(v.tag===18){if(C=v.return,C===null)throw Error(o(341));C.lanes|=c,g=C.alternate,g!==null&&(g.lanes|=c),LT(C,c,n),C=null}else C=v.child;if(C!==null)C.return=v;else for(C=v;C!==null;){if(C===n){C=null;break}if(v=C.sibling,v!==null){v.return=C.return,C=v;break}C=C.return}v=C}}function hd(n,r,c,u){n=null;for(var v=r,g=!1;v!==null;){if(!g){if((v.flags&524288)!==0)g=!0;else if((v.flags&262144)!==0)break}if(v.tag===10){var C=v.alternate;if(C===null)throw Error(o(387));if(C=C.memoizedProps,C!==null){var E=v.type;Dn(v.pendingProps.value,C.value)||(n!==null?n.push(E):n=[E])}}else if(v===he.current){if(C=v.alternate,C===null)throw Error(o(387));C.memoizedState.memoizedState!==v.memoizedState.memoizedState&&(n!==null?n.push(Ku):n=[Ku])}v=v.return}n!==null&&ET(r,n,c,u),r.flags|=262144}function v0(n){for(n=n.firstContext;n!==null;){if(!Dn(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Gi(n){Ui=n,xr=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function rn(n){return QD(Ui,n)}function k0(n,r){return Ui===null&&Gi(n),QD(n,r)}function QD(n,r){var c=r._currentValue;if(r={context:r,memoizedValue:c,next:null},xr===null){if(n===null)throw Error(o(308));xr=r,n.dependencies={lanes:0,firstContext:r},n.flags|=524288}else xr=xr.next=r;return c}var GQ=typeof AbortController<"u"?AbortController:function(){var n=[],r=this.signal={aborted:!1,addEventListener:function(c,u){n.push(u)}};this.abort=function(){r.aborted=!0,n.forEach(function(c){return c()})}},WQ=e.unstable_scheduleCallback,ZQ=e.unstable_NormalPriority,Ht={$$typeof:I,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function IT(){return{controller:new GQ,data:new Map,refCount:0}}function _u(n){n.refCount--,n.refCount===0&&WQ(ZQ,function(){n.controller.abort()})}var Su=null,AT=0,pd=0,fd=null;function XQ(n,r){if(Su===null){var c=Su=[];AT=0,pd=$R(),fd={status:"pending",value:void 0,then:function(u){c.push(u)}}}return AT++,r.then(JD,JD),r}function JD(){if(--AT===0&&Su!==null){fd!==null&&(fd.status="fulfilled");var n=Su;Su=null,pd=0,fd=null;for(var r=0;r<n.length;r++)(0,n[r])()}}function KQ(n,r){var c=[],u={status:"pending",value:null,reason:null,then:function(v){c.push(v)}};return n.then(function(){u.status="fulfilled",u.value=r;for(var v=0;v<c.length;v++)(0,c[v])(r)},function(v){for(u.status="rejected",u.reason=v,v=0;v<c.length;v++)(0,c[v])(void 0)}),u}var ez=R.S;R.S=function(n,r){Oq=qe(),typeof r=="object"&&r!==null&&typeof r.then=="function"&&XQ(n,r),ez!==null&&ez(n,r)};var Wi=Me(null);function TT(){var n=Wi.current;return n!==null?n:gt.pooledCache}function g0(n,r){r===null?ne(Wi,Wi.current):ne(Wi,r.pool)}function tz(){var n=TT();return n===null?null:{parent:Ht._currentValue,pool:n}}var yd=Error(o(460)),RT=Error(o(474)),M0=Error(o(542)),x0={then:function(){}};function nz(n){return n=n.status,n==="fulfilled"||n==="rejected"}function az(n,r,c){switch(c=n[c],c===void 0?n.push(r):c!==r&&(r.then(vr,vr),r=c),r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,rz(n),n;default:if(typeof r.status=="string")r.then(vr,vr);else{if(n=gt,n!==null&&100<n.shellSuspendCounter)throw Error(o(482));n=r,n.status="pending",n.then(function(u){if(r.status==="pending"){var v=r;v.status="fulfilled",v.value=u}},function(u){if(r.status==="pending"){var v=r;v.status="rejected",v.reason=u}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,rz(n),n}throw Xi=r,yd}}function Zi(n){try{var r=n._init;return r(n._payload)}catch(c){throw c!==null&&typeof c=="object"&&typeof c.then=="function"?(Xi=c,yd):c}}var Xi=null;function oz(){if(Xi===null)throw Error(o(459));var n=Xi;return Xi=null,n}function rz(n){if(n===yd||n===M0)throw Error(o(483))}var md=null,Cu=0;function b0(n){var r=Cu;return Cu+=1,md===null&&(md=[]),az(md,n,r)}function Nu(n,r){r=r.props.ref,n.ref=r!==void 0?r:null}function w0(n,r){throw r.$$typeof===x?Error(o(525)):(n=Object.prototype.toString.call(r),Error(o(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n)))}function iz(n){function r(U,H){if(n){var Y=U.deletions;Y===null?(U.deletions=[H],U.flags|=16):Y.push(H)}}function c(U,H){if(!n)return null;for(;H!==null;)r(U,H),H=H.sibling;return null}function u(U){for(var H=new Map;U!==null;)U.key!==null?H.set(U.key,U):H.set(U.index,U),U=U.sibling;return H}function v(U,H){return U=gr(U,H),U.index=0,U.sibling=null,U}function g(U,H,Y){return U.index=Y,n?(Y=U.alternate,Y!==null?(Y=Y.index,Y<H?(U.flags|=67108866,H):Y):(U.flags|=67108866,H)):(U.flags|=1048576,H)}function C(U){return n&&U.alternate===null&&(U.flags|=67108866),U}function E(U,H,Y,de){return H===null||H.tag!==6?(H=xT(Y,U.mode,de),H.return=U,H):(H=v(H,Y),H.return=U,H)}function z(U,H,Y,de){var Ae=Y.type;return Ae===w?se(U,H,Y.props.children,de,Y.key):H!==null&&(H.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===j&&Zi(Ae)===H.type)?(H=v(H,Y.props),Nu(H,Y),H.return=U,H):(H=y0(Y.type,Y.key,Y.props,null,U.mode,de),Nu(H,Y),H.return=U,H)}function Q(U,H,Y,de){return H===null||H.tag!==4||H.stateNode.containerInfo!==Y.containerInfo||H.stateNode.implementation!==Y.implementation?(H=bT(Y,U.mode,de),H.return=U,H):(H=v(H,Y.children||[]),H.return=U,H)}function se(U,H,Y,de,Ae){return H===null||H.tag!==7?(H=Bi(Y,U.mode,de,Ae),H.return=U,H):(H=v(H,Y),H.return=U,H)}function ue(U,H,Y){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=xT(""+H,U.mode,Y),H.return=U,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case S:return Y=y0(H.type,H.key,H.props,null,U.mode,Y),Nu(Y,H),Y.return=U,Y;case b:return H=bT(H,U.mode,Y),H.return=U,H;case j:return H=Zi(H),ue(U,H,Y)}if(pe(H)||B(H))return H=Bi(H,U.mode,Y,null),H.return=U,H;if(typeof H.then=="function")return ue(U,b0(H),Y);if(H.$$typeof===I)return ue(U,k0(U,H),Y);w0(U,H)}return null}function te(U,H,Y,de){var Ae=H!==null?H.key:null;if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return Ae!==null?null:E(U,H,""+Y,de);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case S:return Y.key===Ae?z(U,H,Y,de):null;case b:return Y.key===Ae?Q(U,H,Y,de):null;case j:return Y=Zi(Y),te(U,H,Y,de)}if(pe(Y)||B(Y))return Ae!==null?null:se(U,H,Y,de,null);if(typeof Y.then=="function")return te(U,H,b0(Y),de);if(Y.$$typeof===I)return te(U,H,k0(U,Y),de);w0(U,Y)}return null}function re(U,H,Y,de,Ae){if(typeof de=="string"&&de!==""||typeof de=="number"||typeof de=="bigint")return U=U.get(Y)||null,E(H,U,""+de,Ae);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case S:return U=U.get(de.key===null?Y:de.key)||null,z(H,U,de,Ae);case b:return U=U.get(de.key===null?Y:de.key)||null,Q(H,U,de,Ae);case j:return de=Zi(de),re(U,H,Y,de,Ae)}if(pe(de)||B(de))return U=U.get(Y)||null,se(H,U,de,Ae,null);if(typeof de.then=="function")return re(U,H,Y,b0(de),Ae);if(de.$$typeof===I)return re(U,H,Y,k0(H,de),Ae);w0(H,de)}return null}function _e(U,H,Y,de){for(var Ae=null,it=null,Le=H,Be=H=0,Ke=null;Le!==null&&Be<Y.length;Be++){Le.index>Be?(Ke=Le,Le=null):Ke=Le.sibling;var ct=te(U,Le,Y[Be],de);if(ct===null){Le===null&&(Le=Ke);break}n&&Le&&ct.alternate===null&&r(U,Le),H=g(ct,H,Be),it===null?Ae=ct:it.sibling=ct,it=ct,Le=Ke}if(Be===Y.length)return c(U,Le),Qe&&Mr(U,Be),Ae;if(Le===null){for(;Be<Y.length;Be++)Le=ue(U,Y[Be],de),Le!==null&&(H=g(Le,H,Be),it===null?Ae=Le:it.sibling=Le,it=Le);return Qe&&Mr(U,Be),Ae}for(Le=u(Le);Be<Y.length;Be++)Ke=re(Le,U,Be,Y[Be],de),Ke!==null&&(n&&Ke.alternate!==null&&Le.delete(Ke.key===null?Be:Ke.key),H=g(Ke,H,Be),it===null?Ae=Ke:it.sibling=Ke,it=Ke);return n&&Le.forEach(function(ui){return r(U,ui)}),Qe&&Mr(U,Be),Ae}function Re(U,H,Y,de){if(Y==null)throw Error(o(151));for(var Ae=null,it=null,Le=H,Be=H=0,Ke=null,ct=Y.next();Le!==null&&!ct.done;Be++,ct=Y.next()){Le.index>Be?(Ke=Le,Le=null):Ke=Le.sibling;var ui=te(U,Le,ct.value,de);if(ui===null){Le===null&&(Le=Ke);break}n&&Le&&ui.alternate===null&&r(U,Le),H=g(ui,H,Be),it===null?Ae=ui:it.sibling=ui,it=ui,Le=Ke}if(ct.done)return c(U,Le),Qe&&Mr(U,Be),Ae;if(Le===null){for(;!ct.done;Be++,ct=Y.next())ct=ue(U,ct.value,de),ct!==null&&(H=g(ct,H,Be),it===null?Ae=ct:it.sibling=ct,it=ct);return Qe&&Mr(U,Be),Ae}for(Le=u(Le);!ct.done;Be++,ct=Y.next())ct=re(Le,U,Be,ct.value,de),ct!==null&&(n&&ct.alternate!==null&&Le.delete(ct.key===null?Be:ct.key),H=g(ct,H,Be),it===null?Ae=ct:it.sibling=ct,it=ct);return n&&Le.forEach(function(cee){return r(U,cee)}),Qe&&Mr(U,Be),Ae}function vt(U,H,Y,de){if(typeof Y=="object"&&Y!==null&&Y.type===w&&Y.key===null&&(Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case S:e:{for(var Ae=Y.key;H!==null;){if(H.key===Ae){if(Ae=Y.type,Ae===w){if(H.tag===7){c(U,H.sibling),de=v(H,Y.props.children),de.return=U,U=de;break e}}else if(H.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===j&&Zi(Ae)===H.type){c(U,H.sibling),de=v(H,Y.props),Nu(de,Y),de.return=U,U=de;break e}c(U,H);break}else r(U,H);H=H.sibling}Y.type===w?(de=Bi(Y.props.children,U.mode,de,Y.key),de.return=U,U=de):(de=y0(Y.type,Y.key,Y.props,null,U.mode,de),Nu(de,Y),de.return=U,U=de)}return C(U);case b:e:{for(Ae=Y.key;H!==null;){if(H.key===Ae)if(H.tag===4&&H.stateNode.containerInfo===Y.containerInfo&&H.stateNode.implementation===Y.implementation){c(U,H.sibling),de=v(H,Y.children||[]),de.return=U,U=de;break e}else{c(U,H);break}else r(U,H);H=H.sibling}de=bT(Y,U.mode,de),de.return=U,U=de}return C(U);case j:return Y=Zi(Y),vt(U,H,Y,de)}if(pe(Y))return _e(U,H,Y,de);if(B(Y)){if(Ae=B(Y),typeof Ae!="function")throw Error(o(150));return Y=Ae.call(Y),Re(U,H,Y,de)}if(typeof Y.then=="function")return vt(U,H,b0(Y),de);if(Y.$$typeof===I)return vt(U,H,k0(U,Y),de);w0(U,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint"?(Y=""+Y,H!==null&&H.tag===6?(c(U,H.sibling),de=v(H,Y),de.return=U,U=de):(c(U,H),de=xT(Y,U.mode,de),de.return=U,U=de),C(U)):c(U,H)}return function(U,H,Y,de){try{Cu=0;var Ae=vt(U,H,Y,de);return md=null,Ae}catch(Le){if(Le===yd||Le===M0)throw Le;var it=zn(29,Le,null,U.mode);return it.lanes=de,it.return=U,it}finally{}}}var Ki=iz(!0),cz=iz(!1),Zr=!1;function $T(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function jT(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Xr(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Kr(n,r,c){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,(dt&2)!==0){var v=u.pending;return v===null?r.next=r:(r.next=v.next,v.next=r),u.pending=r,r=f0(n),FD(n,null,c),r}return p0(n,u,r,c),f0(n)}function Lu(n,r,c){if(r=r.updateQueue,r!==null&&(r=r.shared,(c&4194048)!==0)){var u=r.lanes;u&=n.pendingLanes,c|=u,r.lanes=c,qt(n,c)}}function PT(n,r){var c=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,c===u)){var v=null,g=null;if(c=c.firstBaseUpdate,c!==null){do{var C={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};g===null?v=g=C:g=g.next=C,c=c.next}while(c!==null);g===null?v=g=r:g=g.next=r}else v=g=r;c={baseState:u.baseState,firstBaseUpdate:v,lastBaseUpdate:g,shared:u.shared,callbacks:u.callbacks},n.updateQueue=c;return}n=c.lastBaseUpdate,n===null?c.firstBaseUpdate=r:n.next=r,c.lastBaseUpdate=r}var OT=!1;function Eu(){if(OT){var n=fd;if(n!==null)throw n}}function Iu(n,r,c,u){OT=!1;var v=n.updateQueue;Zr=!1;var g=v.firstBaseUpdate,C=v.lastBaseUpdate,E=v.shared.pending;if(E!==null){v.shared.pending=null;var z=E,Q=z.next;z.next=null,C===null?g=Q:C.next=Q,C=z;var se=n.alternate;se!==null&&(se=se.updateQueue,E=se.lastBaseUpdate,E!==C&&(E===null?se.firstBaseUpdate=Q:E.next=Q,se.lastBaseUpdate=z))}if(g!==null){var ue=v.baseState;C=0,se=Q=z=null,E=g;do{var te=E.lane&-536870913,re=te!==E.lane;if(re?(Xe&te)===te:(u&te)===te){te!==0&&te===pd&&(OT=!0),se!==null&&(se=se.next={lane:0,tag:E.tag,payload:E.payload,callback:null,next:null});e:{var _e=n,Re=E;te=r;var vt=c;switch(Re.tag){case 1:if(_e=Re.payload,typeof _e=="function"){ue=_e.call(vt,ue,te);break e}ue=_e;break e;case 3:_e.flags=_e.flags&-65537|128;case 0:if(_e=Re.payload,te=typeof _e=="function"?_e.call(vt,ue,te):_e,te==null)break e;ue=m({},ue,te);break e;case 2:Zr=!0}}te=E.callback,te!==null&&(n.flags|=64,re&&(n.flags|=8192),re=v.callbacks,re===null?v.callbacks=[te]:re.push(te))}else re={lane:te,tag:E.tag,payload:E.payload,callback:E.callback,next:null},se===null?(Q=se=re,z=ue):se=se.next=re,C|=te;if(E=E.next,E===null){if(E=v.shared.pending,E===null)break;re=E,E=re.next,re.next=null,v.lastBaseUpdate=re,v.shared.pending=null}}while(!0);se===null&&(z=ue),v.baseState=z,v.firstBaseUpdate=Q,v.lastBaseUpdate=se,g===null&&(v.shared.lanes=0),ti|=C,n.lanes=C,n.memoizedState=ue}}function sz(n,r){if(typeof n!="function")throw Error(o(191,n));n.call(r)}function lz(n,r){var c=n.callbacks;if(c!==null)for(n.callbacks=null,n=0;n<c.length;n++)sz(c[n],r)}var vd=Me(null),_0=Me(0);function dz(n,r){n=Ar,ne(_0,n),ne(vd,r),Ar=n|r.baseLanes}function DT(){ne(_0,Ar),ne(vd,vd.current)}function zT(){Ar=_0.current,X(vd),X(_0)}var qn=Me(null),ra=null;function Yr(n){var r=n.alternate;ne(Ot,Ot.current&1),ne(qn,n),ra===null&&(r===null||vd.current!==null||r.memoizedState!==null)&&(ra=n)}function qT(n){ne(Ot,Ot.current),ne(qn,n),ra===null&&(ra=n)}function uz(n){n.tag===22?(ne(Ot,Ot.current),ne(qn,n),ra===null&&(ra=n)):Qr()}function Qr(){ne(Ot,Ot.current),ne(qn,qn.current)}function Hn(n){X(qn),ra===n&&(ra=null),X(Ot)}var Ot=Me(0);function S0(n){for(var r=n;r!==null;){if(r.tag===13){var c=r.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||GR(c)||WR(c)))return r}else if(r.tag===19&&(r.memoizedProps.revealOrder==="forwards"||r.memoizedProps.revealOrder==="backwards"||r.memoizedProps.revealOrder==="unstable_legacy-backwards"||r.memoizedProps.revealOrder==="together")){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var wr=0,He=null,yt=null,Vt=null,C0=!1,kd=!1,Yi=!1,N0=0,Au=0,gd=null,YQ=0;function Rt(){throw Error(o(321))}function HT(n,r){if(r===null)return!1;for(var c=0;c<r.length&&c<n.length;c++)if(!Dn(n[c],r[c]))return!1;return!0}function VT(n,r,c,u,v,g){return wr=g,He=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,R.H=n===null||n.memoizedState===null?Zz:aR,Yi=!1,g=c(u,v),Yi=!1,kd&&(g=pz(r,c,u,v)),hz(n),g}function hz(n){R.H=$u;var r=yt!==null&&yt.next!==null;if(wr=0,Vt=yt=He=null,C0=!1,Au=0,gd=null,r)throw Error(o(300));n===null||Bt||(n=n.dependencies,n!==null&&v0(n)&&(Bt=!0))}function pz(n,r,c,u){He=n;var v=0;do{if(kd&&(gd=null),Au=0,kd=!1,25<=v)throw Error(o(301));if(v+=1,Vt=yt=null,n.updateQueue!=null){var g=n.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}R.H=Xz,g=r(c,u)}while(kd);return g}function QQ(){var n=R.H,r=n.useState()[0];return r=typeof r.then=="function"?Tu(r):r,n=n.useState()[0],(yt!==null?yt.memoizedState:null)!==n&&(He.flags|=1024),r}function BT(){var n=N0!==0;return N0=0,n}function FT(n,r,c){r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c}function UT(n){if(C0){for(n=n.memoizedState;n!==null;){var r=n.queue;r!==null&&(r.pending=null),n=n.next}C0=!1}wr=0,Vt=yt=He=null,kd=!1,Au=N0=0,gd=null}function mn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Vt===null?He.memoizedState=Vt=n:Vt=Vt.next=n,Vt}function Dt(){if(yt===null){var n=He.alternate;n=n!==null?n.memoizedState:null}else n=yt.next;var r=Vt===null?He.memoizedState:Vt.next;if(r!==null)Vt=r,yt=n;else{if(n===null)throw He.alternate===null?Error(o(467)):Error(o(310));yt=n,n={memoizedState:yt.memoizedState,baseState:yt.baseState,baseQueue:yt.baseQueue,queue:yt.queue,next:null},Vt===null?He.memoizedState=Vt=n:Vt=Vt.next=n}return Vt}function L0(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Tu(n){var r=Au;return Au+=1,gd===null&&(gd=[]),n=az(gd,n,r),r=He,(Vt===null?r.memoizedState:Vt.next)===null&&(r=r.alternate,R.H=r===null||r.memoizedState===null?Zz:aR),n}function E0(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Tu(n);if(n.$$typeof===I)return rn(n)}throw Error(o(438,String(n)))}function GT(n){var r=null,c=He.updateQueue;if(c!==null&&(r=c.memoCache),r==null){var u=He.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(r={data:u.data.map(function(v){return v.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),c===null&&(c=L0(),He.updateQueue=c),c.memoCache=r,c=r.data[r.index],c===void 0)for(c=r.data[r.index]=Array(n),u=0;u<n;u++)c[u]=K;return r.index++,c}function _r(n,r){return typeof r=="function"?r(n):r}function I0(n){var r=Dt();return WT(r,yt,n)}function WT(n,r,c){var u=n.queue;if(u===null)throw Error(o(311));u.lastRenderedReducer=c;var v=n.baseQueue,g=u.pending;if(g!==null){if(v!==null){var C=v.next;v.next=g.next,g.next=C}r.baseQueue=v=g,u.pending=null}if(g=n.baseState,v===null)n.memoizedState=g;else{r=v.next;var E=C=null,z=null,Q=r,se=!1;do{var ue=Q.lane&-536870913;if(ue!==Q.lane?(Xe&ue)===ue:(wr&ue)===ue){var te=Q.revertLane;if(te===0)z!==null&&(z=z.next={lane:0,revertLane:0,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null}),ue===pd&&(se=!0);else if((wr&te)===te){Q=Q.next,te===pd&&(se=!0);continue}else ue={lane:0,revertLane:Q.revertLane,gesture:null,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},z===null?(E=z=ue,C=g):z=z.next=ue,He.lanes|=te,ti|=te;ue=Q.action,Yi&&c(g,ue),g=Q.hasEagerState?Q.eagerState:c(g,ue)}else te={lane:ue,revertLane:Q.revertLane,gesture:Q.gesture,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null},z===null?(E=z=te,C=g):z=z.next=te,He.lanes|=ue,ti|=ue;Q=Q.next}while(Q!==null&&Q!==r);if(z===null?C=g:z.next=E,!Dn(g,n.memoizedState)&&(Bt=!0,se&&(c=fd,c!==null)))throw c;n.memoizedState=g,n.baseState=C,n.baseQueue=z,u.lastRenderedState=g}return v===null&&(u.lanes=0),[n.memoizedState,u.dispatch]}function ZT(n){var r=Dt(),c=r.queue;if(c===null)throw Error(o(311));c.lastRenderedReducer=n;var u=c.dispatch,v=c.pending,g=r.memoizedState;if(v!==null){c.pending=null;var C=v=v.next;do g=n(g,C.action),C=C.next;while(C!==v);Dn(g,r.memoizedState)||(Bt=!0),r.memoizedState=g,r.baseQueue===null&&(r.baseState=g),c.lastRenderedState=g}return[g,u]}function fz(n,r,c){var u=He,v=Dt(),g=Qe;if(g){if(c===void 0)throw Error(o(407));c=c()}else c=r();var C=!Dn((yt||v).memoizedState,c);if(C&&(v.memoizedState=c,Bt=!0),v=v.queue,YT(vz.bind(null,u,v,n),[n]),v.getSnapshot!==r||C||Vt!==null&&Vt.memoizedState.tag&1){if(u.flags|=2048,Md(9,{destroy:void 0},mz.bind(null,u,v,c,r),null),gt===null)throw Error(o(349));g||(wr&127)!==0||yz(u,r,c)}return c}function yz(n,r,c){n.flags|=16384,n={getSnapshot:r,value:c},r=He.updateQueue,r===null?(r=L0(),He.updateQueue=r,r.stores=[n]):(c=r.stores,c===null?r.stores=[n]:c.push(n))}function mz(n,r,c,u){r.value=c,r.getSnapshot=u,kz(r)&&gz(n)}function vz(n,r,c){return c(function(){kz(r)&&gz(n)})}function kz(n){var r=n.getSnapshot;n=n.value;try{var c=r();return!Dn(n,c)}catch{return!0}}function gz(n){var r=Vi(n,2);r!==null&&Ln(r,n,2)}function XT(n){var r=mn();if(typeof n=="function"){var c=n;if(n=c(),Yi){ln(!0);try{c()}finally{ln(!1)}}}return r.memoizedState=r.baseState=n,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_r,lastRenderedState:n},r}function Mz(n,r,c,u){return n.baseState=c,WT(n,yt,typeof u=="function"?u:_r)}function JQ(n,r,c,u,v){if(R0(n))throw Error(o(485));if(n=r.action,n!==null){var g={payload:v,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(C){g.listeners.push(C)}};R.T!==null?c(!0):g.isTransition=!1,u(g),c=r.pending,c===null?(g.next=r.pending=g,xz(r,g)):(g.next=c.next,r.pending=c.next=g)}}function xz(n,r){var c=r.action,u=r.payload,v=n.state;if(r.isTransition){var g=R.T,C={};R.T=C;try{var E=c(v,u),z=R.S;z!==null&&z(C,E),bz(n,r,E)}catch(Q){KT(n,r,Q)}finally{g!==null&&C.types!==null&&(g.types=C.types),R.T=g}}else try{g=c(v,u),bz(n,r,g)}catch(Q){KT(n,r,Q)}}function bz(n,r,c){c!==null&&typeof c=="object"&&typeof c.then=="function"?c.then(function(u){wz(n,r,u)},function(u){return KT(n,r,u)}):wz(n,r,c)}function wz(n,r,c){r.status="fulfilled",r.value=c,_z(r),n.state=c,r=n.pending,r!==null&&(c=r.next,c===r?n.pending=null:(c=c.next,r.next=c,xz(n,c)))}function KT(n,r,c){var u=n.pending;if(n.pending=null,u!==null){u=u.next;do r.status="rejected",r.reason=c,_z(r),r=r.next;while(r!==u)}n.action=null}function _z(n){n=n.listeners;for(var r=0;r<n.length;r++)(0,n[r])()}function Sz(n,r){return r}function Cz(n,r){if(Qe){var c=gt.formState;if(c!==null){e:{var u=He;if(Qe){if(wt){t:{for(var v=wt,g=oa;v.nodeType!==8;){if(!g){v=null;break t}if(v=ia(v.nextSibling),v===null){v=null;break t}}g=v.data,v=g==="F!"||g==="F"?v:null}if(v){wt=ia(v.nextSibling),u=v.data==="F!";break e}}Gr(u)}u=!1}u&&(r=c[0])}}return c=mn(),c.memoizedState=c.baseState=r,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sz,lastRenderedState:r},c.queue=u,c=Uz.bind(null,He,u),u.dispatch=c,u=XT(!1),g=nR.bind(null,He,!1,u.queue),u=mn(),v={state:r,dispatch:null,action:n,pending:null},u.queue=v,c=JQ.bind(null,He,v,g,c),v.dispatch=c,u.memoizedState=n,[r,c,!1]}function Nz(n){var r=Dt();return Lz(r,yt,n)}function Lz(n,r,c){if(r=WT(n,r,Sz)[0],n=I0(_r)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var u=Tu(r)}catch(C){throw C===yd?M0:C}else u=r;r=Dt();var v=r.queue,g=v.dispatch;return c!==r.memoizedState&&(He.flags|=2048,Md(9,{destroy:void 0},eJ.bind(null,v,c),null)),[u,g,n]}function eJ(n,r){n.action=r}function Ez(n){var r=Dt(),c=yt;if(c!==null)return Lz(r,c,n);Dt(),r=r.memoizedState,c=Dt();var u=c.queue.dispatch;return c.memoizedState=n,[r,u,!1]}function Md(n,r,c,u){return n={tag:n,create:c,deps:u,inst:r,next:null},r=He.updateQueue,r===null&&(r=L0(),He.updateQueue=r),c=r.lastEffect,c===null?r.lastEffect=n.next=n:(u=c.next,c.next=n,n.next=u,r.lastEffect=n),n}function Iz(){return Dt().memoizedState}function A0(n,r,c,u){var v=mn();He.flags|=n,v.memoizedState=Md(1|r,{destroy:void 0},c,u===void 0?null:u)}function T0(n,r,c,u){var v=Dt();u=u===void 0?null:u;var g=v.memoizedState.inst;yt!==null&&u!==null&&HT(u,yt.memoizedState.deps)?v.memoizedState=Md(r,g,c,u):(He.flags|=n,v.memoizedState=Md(1|r,g,c,u))}function Az(n,r){A0(8390656,8,n,r)}function YT(n,r){T0(2048,8,n,r)}function tJ(n){He.flags|=4;var r=He.updateQueue;if(r===null)r=L0(),He.updateQueue=r,r.events=[n];else{var c=r.events;c===null?r.events=[n]:c.push(n)}}function Tz(n){var r=Dt().memoizedState;return tJ({ref:r,nextImpl:n}),function(){if((dt&2)!==0)throw Error(o(440));return r.impl.apply(void 0,arguments)}}function Rz(n,r){return T0(4,2,n,r)}function $z(n,r){return T0(4,4,n,r)}function jz(n,r){if(typeof r=="function"){n=n();var c=r(n);return function(){typeof c=="function"?c():r(null)}}if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function Pz(n,r,c){c=c!=null?c.concat([n]):null,T0(4,4,jz.bind(null,r,n),c)}function QT(){}function Oz(n,r){var c=Dt();r=r===void 0?null:r;var u=c.memoizedState;return r!==null&&HT(r,u[1])?u[0]:(c.memoizedState=[n,r],n)}function Dz(n,r){var c=Dt();r=r===void 0?null:r;var u=c.memoizedState;if(r!==null&&HT(r,u[1]))return u[0];if(u=n(),Yi){ln(!0);try{n()}finally{ln(!1)}}return c.memoizedState=[u,r],u}function JT(n,r,c){return c===void 0||(wr&1073741824)!==0&&(Xe&261930)===0?n.memoizedState=r:(n.memoizedState=c,n=zq(),He.lanes|=n,ti|=n,c)}function zz(n,r,c,u){return Dn(c,r)?c:vd.current!==null?(n=JT(n,c,u),Dn(n,r)||(Bt=!0),n):(wr&42)===0||(wr&1073741824)!==0&&(Xe&261930)===0?(Bt=!0,n.memoizedState=c):(n=zq(),He.lanes|=n,ti|=n,r)}function qz(n,r,c,u,v){var g=$.p;$.p=g!==0&&8>g?g:8;var C=R.T,E={};R.T=E,nR(n,!1,r,c);try{var z=v(),Q=R.S;if(Q!==null&&Q(E,z),z!==null&&typeof z=="object"&&typeof z.then=="function"){var se=KQ(z,u);Ru(n,r,se,Fn(n))}else Ru(n,r,u,Fn(n))}catch(ue){Ru(n,r,{then:function(){},status:"rejected",reason:ue},Fn())}finally{$.p=g,C!==null&&E.types!==null&&(C.types=E.types),R.T=C}}function nJ(){}function eR(n,r,c,u){if(n.tag!==5)throw Error(o(476));var v=Hz(n).queue;qz(n,v,r,T,c===null?nJ:function(){return Vz(n),c(u)})}function Hz(n){var r=n.memoizedState;if(r!==null)return r;r={memoizedState:T,baseState:T,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_r,lastRenderedState:T},next:null};var c={};return r.next={memoizedState:c,baseState:c,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_r,lastRenderedState:c},next:null},n.memoizedState=r,n=n.alternate,n!==null&&(n.memoizedState=r),r}function Vz(n){var r=Hz(n);r.next===null&&(r=n.alternate.memoizedState),Ru(n,r.next.queue,{},Fn())}function tR(){return rn(Ku)}function Bz(){return Dt().memoizedState}function Fz(){return Dt().memoizedState}function aJ(n){for(var r=n.return;r!==null;){switch(r.tag){case 24:case 3:var c=Fn();n=Xr(c);var u=Kr(r,n,c);u!==null&&(Ln(u,r,c),Lu(u,r,c)),r={cache:IT()},n.payload=r;return}r=r.return}}function oJ(n,r,c){var u=Fn();c={lane:u,revertLane:0,gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},R0(n)?Gz(r,c):(c=gT(n,r,c,u),c!==null&&(Ln(c,n,u),Wz(c,r,u)))}function Uz(n,r,c){var u=Fn();Ru(n,r,c,u)}function Ru(n,r,c,u){var v={lane:u,revertLane:0,gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null};if(R0(n))Gz(r,v);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=r.lastRenderedReducer,g!==null))try{var C=r.lastRenderedState,E=g(C,c);if(v.hasEagerState=!0,v.eagerState=E,Dn(E,C))return p0(n,r,v,0),gt===null&&h0(),!1}catch{}finally{}if(c=gT(n,r,v,u),c!==null)return Ln(c,n,u),Wz(c,r,u),!0}return!1}function nR(n,r,c,u){if(u={lane:2,revertLane:$R(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},R0(n)){if(r)throw Error(o(479))}else r=gT(n,c,u,2),r!==null&&Ln(r,n,2)}function R0(n){var r=n.alternate;return n===He||r!==null&&r===He}function Gz(n,r){kd=C0=!0;var c=n.pending;c===null?r.next=r:(r.next=c.next,c.next=r),n.pending=r}function Wz(n,r,c){if((c&4194048)!==0){var u=r.lanes;u&=n.pendingLanes,c|=u,r.lanes=c,qt(n,c)}}var $u={readContext:rn,use:E0,useCallback:Rt,useContext:Rt,useEffect:Rt,useImperativeHandle:Rt,useLayoutEffect:Rt,useInsertionEffect:Rt,useMemo:Rt,useReducer:Rt,useRef:Rt,useState:Rt,useDebugValue:Rt,useDeferredValue:Rt,useTransition:Rt,useSyncExternalStore:Rt,useId:Rt,useHostTransitionStatus:Rt,useFormState:Rt,useActionState:Rt,useOptimistic:Rt,useMemoCache:Rt,useCacheRefresh:Rt};$u.useEffectEvent=Rt;var Zz={readContext:rn,use:E0,useCallback:function(n,r){return mn().memoizedState=[n,r===void 0?null:r],n},useContext:rn,useEffect:Az,useImperativeHandle:function(n,r,c){c=c!=null?c.concat([n]):null,A0(4194308,4,jz.bind(null,r,n),c)},useLayoutEffect:function(n,r){return A0(4194308,4,n,r)},useInsertionEffect:function(n,r){A0(4,2,n,r)},useMemo:function(n,r){var c=mn();r=r===void 0?null:r;var u=n();if(Yi){ln(!0);try{n()}finally{ln(!1)}}return c.memoizedState=[u,r],u},useReducer:function(n,r,c){var u=mn();if(c!==void 0){var v=c(r);if(Yi){ln(!0);try{c(r)}finally{ln(!1)}}}else v=r;return u.memoizedState=u.baseState=v,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:v},u.queue=n,n=n.dispatch=oJ.bind(null,He,n),[u.memoizedState,n]},useRef:function(n){var r=mn();return n={current:n},r.memoizedState=n},useState:function(n){n=XT(n);var r=n.queue,c=Uz.bind(null,He,r);return r.dispatch=c,[n.memoizedState,c]},useDebugValue:QT,useDeferredValue:function(n,r){var c=mn();return JT(c,n,r)},useTransition:function(){var n=XT(!1);return n=qz.bind(null,He,n.queue,!0,!1),mn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,r,c){var u=He,v=mn();if(Qe){if(c===void 0)throw Error(o(407));c=c()}else{if(c=r(),gt===null)throw Error(o(349));(Xe&127)!==0||yz(u,r,c)}v.memoizedState=c;var g={value:c,getSnapshot:r};return v.queue=g,Az(vz.bind(null,u,g,n),[n]),u.flags|=2048,Md(9,{destroy:void 0},mz.bind(null,u,g,c,r),null),c},useId:function(){var n=mn(),r=gt.identifierPrefix;if(Qe){var c=Yo,u=Ko;c=(u&~(1<<32-Z(u)-1)).toString(32)+c,r="_"+r+"R_"+c,c=N0++,0<c&&(r+="H"+c.toString(32)),r+="_"}else c=YQ++,r="_"+r+"r_"+c.toString(32)+"_";return n.memoizedState=r},useHostTransitionStatus:tR,useFormState:Cz,useActionState:Cz,useOptimistic:function(n){var r=mn();r.memoizedState=r.baseState=n;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=c,r=nR.bind(null,He,!0,c),c.dispatch=r,[n,r]},useMemoCache:GT,useCacheRefresh:function(){return mn().memoizedState=aJ.bind(null,He)},useEffectEvent:function(n){var r=mn(),c={impl:n};return r.memoizedState=c,function(){if((dt&2)!==0)throw Error(o(440));return c.impl.apply(void 0,arguments)}}},aR={readContext:rn,use:E0,useCallback:Oz,useContext:rn,useEffect:YT,useImperativeHandle:Pz,useInsertionEffect:Rz,useLayoutEffect:$z,useMemo:Dz,useReducer:I0,useRef:Iz,useState:function(){return I0(_r)},useDebugValue:QT,useDeferredValue:function(n,r){var c=Dt();return zz(c,yt.memoizedState,n,r)},useTransition:function(){var n=I0(_r)[0],r=Dt().memoizedState;return[typeof n=="boolean"?n:Tu(n),r]},useSyncExternalStore:fz,useId:Bz,useHostTransitionStatus:tR,useFormState:Nz,useActionState:Nz,useOptimistic:function(n,r){var c=Dt();return Mz(c,yt,n,r)},useMemoCache:GT,useCacheRefresh:Fz};aR.useEffectEvent=Tz;var Xz={readContext:rn,use:E0,useCallback:Oz,useContext:rn,useEffect:YT,useImperativeHandle:Pz,useInsertionEffect:Rz,useLayoutEffect:$z,useMemo:Dz,useReducer:ZT,useRef:Iz,useState:function(){return ZT(_r)},useDebugValue:QT,useDeferredValue:function(n,r){var c=Dt();return yt===null?JT(c,n,r):zz(c,yt.memoizedState,n,r)},useTransition:function(){var n=ZT(_r)[0],r=Dt().memoizedState;return[typeof n=="boolean"?n:Tu(n),r]},useSyncExternalStore:fz,useId:Bz,useHostTransitionStatus:tR,useFormState:Ez,useActionState:Ez,useOptimistic:function(n,r){var c=Dt();return yt!==null?Mz(c,yt,n,r):(c.baseState=n,[n,c.queue.dispatch])},useMemoCache:GT,useCacheRefresh:Fz};Xz.useEffectEvent=Tz;function oR(n,r,c,u){r=n.memoizedState,c=c(u,r),c=c==null?r:m({},r,c),n.memoizedState=c,n.lanes===0&&(n.updateQueue.baseState=c)}var rR={enqueueSetState:function(n,r,c){n=n._reactInternals;var u=Fn(),v=Xr(u);v.payload=r,c!=null&&(v.callback=c),r=Kr(n,v,u),r!==null&&(Ln(r,n,u),Lu(r,n,u))},enqueueReplaceState:function(n,r,c){n=n._reactInternals;var u=Fn(),v=Xr(u);v.tag=1,v.payload=r,c!=null&&(v.callback=c),r=Kr(n,v,u),r!==null&&(Ln(r,n,u),Lu(r,n,u))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var c=Fn(),u=Xr(c);u.tag=2,r!=null&&(u.callback=r),r=Kr(n,u,c),r!==null&&(Ln(r,n,c),Lu(r,n,c))}};function Kz(n,r,c,u,v,g,C){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,g,C):r.prototype&&r.prototype.isPureReactComponent?!Mu(c,u)||!Mu(v,g):!0}function Yz(n,r,c,u){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(c,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(c,u),r.state!==n&&rR.enqueueReplaceState(r,r.state,null)}function Qi(n,r){var c=r;if("ref"in r){c={};for(var u in r)u!=="ref"&&(c[u]=r[u])}if(n=n.defaultProps){c===r&&(c=m({},c));for(var v in n)c[v]===void 0&&(c[v]=n[v])}return c}function Qz(n){u0(n)}function Jz(n){console.error(n)}function eq(n){u0(n)}function $0(n,r){try{var c=n.onUncaughtError;c(r.value,{componentStack:r.stack})}catch(u){setTimeout(function(){throw u})}}function tq(n,r,c){try{var u=n.onCaughtError;u(c.value,{componentStack:c.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(v){setTimeout(function(){throw v})}}function iR(n,r,c){return c=Xr(c),c.tag=3,c.payload={element:null},c.callback=function(){$0(n,r)},c}function nq(n){return n=Xr(n),n.tag=3,n}function aq(n,r,c,u){var v=c.type.getDerivedStateFromError;if(typeof v=="function"){var g=u.value;n.payload=function(){return v(g)},n.callback=function(){tq(r,c,u)}}var C=c.stateNode;C!==null&&typeof C.componentDidCatch=="function"&&(n.callback=function(){tq(r,c,u),typeof v!="function"&&(ni===null?ni=new Set([this]):ni.add(this));var E=u.stack;this.componentDidCatch(u.value,{componentStack:E!==null?E:""})})}function rJ(n,r,c,u,v){if(c.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(r=c.alternate,r!==null&&hd(r,c,v,!0),c=qn.current,c!==null){switch(c.tag){case 31:case 13:return ra===null?G0():c.alternate===null&&$t===0&&($t=3),c.flags&=-257,c.flags|=65536,c.lanes=v,u===x0?c.flags|=16384:(r=c.updateQueue,r===null?c.updateQueue=new Set([u]):r.add(u),AR(n,u,v)),!1;case 22:return c.flags|=65536,u===x0?c.flags|=16384:(r=c.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([u])},c.updateQueue=r):(c=r.retryQueue,c===null?r.retryQueue=new Set([u]):c.add(u)),AR(n,u,v)),!1}throw Error(o(435,c.tag))}return AR(n,u,v),G0(),!1}if(Qe)return r=qn.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=v,u!==ST&&(n=Error(o(422),{cause:u}),wu(ta(n,c)))):(u!==ST&&(r=Error(o(423),{cause:u}),wu(ta(r,c))),n=n.current.alternate,n.flags|=65536,v&=-v,n.lanes|=v,u=ta(u,c),v=iR(n.stateNode,u,v),PT(n,v),$t!==4&&($t=2)),!1;var g=Error(o(520),{cause:u});if(g=ta(g,c),Vu===null?Vu=[g]:Vu.push(g),$t!==4&&($t=2),r===null)return!0;u=ta(u,c),c=r;do{switch(c.tag){case 3:return c.flags|=65536,n=v&-v,c.lanes|=n,n=iR(c.stateNode,u,n),PT(c,n),!1;case 1:if(r=c.type,g=c.stateNode,(c.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(ni===null||!ni.has(g))))return c.flags|=65536,v&=-v,c.lanes|=v,v=nq(v),aq(v,n,c,u),PT(c,v),!1}c=c.return}while(c!==null);return!1}var cR=Error(o(461)),Bt=!1;function cn(n,r,c,u){r.child=n===null?cz(r,null,c,u):Ki(r,n.child,c,u)}function oq(n,r,c,u,v){c=c.render;var g=r.ref;if("ref"in u){var C={};for(var E in u)E!=="ref"&&(C[E]=u[E])}else C=u;return Gi(r),u=VT(n,r,c,C,g,v),E=BT(),n!==null&&!Bt?(FT(n,r,v),Sr(n,r,v)):(Qe&&E&&wT(r),r.flags|=1,cn(n,r,u,v),r.child)}function rq(n,r,c,u,v){if(n===null){var g=c.type;return typeof g=="function"&&!MT(g)&&g.defaultProps===void 0&&c.compare===null?(r.tag=15,r.type=g,iq(n,r,g,u,v)):(n=y0(c.type,null,u,r,r.mode,v),n.ref=r.ref,n.return=r,r.child=n)}if(g=n.child,!yR(n,v)){var C=g.memoizedProps;if(c=c.compare,c=c!==null?c:Mu,c(C,u)&&n.ref===r.ref)return Sr(n,r,v)}return r.flags|=1,n=gr(g,u),n.ref=r.ref,n.return=r,r.child=n}function iq(n,r,c,u,v){if(n!==null){var g=n.memoizedProps;if(Mu(g,u)&&n.ref===r.ref)if(Bt=!1,r.pendingProps=u=g,yR(n,v))(n.flags&131072)!==0&&(Bt=!0);else return r.lanes=n.lanes,Sr(n,r,v)}return sR(n,r,c,u,v)}function cq(n,r,c,u){var v=u.children,g=n!==null?n.memoizedState:null;if(n===null&&r.stateNode===null&&(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((r.flags&128)!==0){if(g=g!==null?g.baseLanes|c:c,n!==null){for(u=r.child=n.child,v=0;u!==null;)v=v|u.lanes|u.childLanes,u=u.sibling;u=v&~g}else u=0,r.child=null;return sq(n,r,g,c,u)}if((c&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},n!==null&&g0(r,g!==null?g.cachePool:null),g!==null?dz(r,g):DT(),uz(r);else return u=r.lanes=536870912,sq(n,r,g!==null?g.baseLanes|c:c,c,u)}else g!==null?(g0(r,g.cachePool),dz(r,g),Qr(),r.memoizedState=null):(n!==null&&g0(r,null),DT(),Qr());return cn(n,r,v,c),r.child}function ju(n,r){return n!==null&&n.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function sq(n,r,c,u,v){var g=TT();return g=g===null?null:{parent:Ht._currentValue,pool:g},r.memoizedState={baseLanes:c,cachePool:g},n!==null&&g0(r,null),DT(),uz(r),n!==null&&hd(n,r,u,!0),r.childLanes=v,null}function j0(n,r){return r=O0({mode:r.mode,children:r.children},n.mode),r.ref=n.ref,n.child=r,r.return=n,r}function lq(n,r,c){return Ki(r,n.child,null,c),n=j0(r,r.pendingProps),n.flags|=2,Hn(r),r.memoizedState=null,n}function iJ(n,r,c){var u=r.pendingProps,v=(r.flags&128)!==0;if(r.flags&=-129,n===null){if(Qe){if(u.mode==="hidden")return n=j0(r,u),r.lanes=536870912,ju(null,n);if(qT(r),(n=wt)?(n=xH(n,oa),n=n!==null&&n.data==="&"?n:null,n!==null&&(r.memoizedState={dehydrated:n,treeContext:Fr!==null?{id:Ko,overflow:Yo}:null,retryLane:536870912,hydrationErrors:null},c=GD(n),c.return=r,r.child=c,on=r,wt=null)):n=null,n===null)throw Gr(r);return r.lanes=536870912,null}return j0(r,u)}var g=n.memoizedState;if(g!==null){var C=g.dehydrated;if(qT(r),v)if(r.flags&256)r.flags&=-257,r=lq(n,r,c);else if(r.memoizedState!==null)r.child=n.child,r.flags|=128,r=null;else throw Error(o(558));else if(Bt||hd(n,r,c,!1),v=(c&n.childLanes)!==0,Bt||v){if(u=gt,u!==null&&(C=Yt(u,c),C!==0&&C!==g.retryLane))throw g.retryLane=C,Vi(n,C),Ln(u,n,C),cR;G0(),r=lq(n,r,c)}else n=g.treeContext,wt=ia(C.nextSibling),on=r,Qe=!0,Ur=null,oa=!1,n!==null&&XD(r,n),r=j0(r,u),r.flags|=4096;return r}return n=gr(n.child,{mode:u.mode,children:u.children}),n.ref=r.ref,r.child=n,n.return=r,n}function P0(n,r){var c=r.ref;if(c===null)n!==null&&n.ref!==null&&(r.flags|=4194816);else{if(typeof c!="function"&&typeof c!="object")throw Error(o(284));(n===null||n.ref!==c)&&(r.flags|=4194816)}}function sR(n,r,c,u,v){return Gi(r),c=VT(n,r,c,u,void 0,v),u=BT(),n!==null&&!Bt?(FT(n,r,v),Sr(n,r,v)):(Qe&&u&&wT(r),r.flags|=1,cn(n,r,c,v),r.child)}function dq(n,r,c,u,v,g){return Gi(r),r.updateQueue=null,c=pz(r,u,c,v),hz(n),u=BT(),n!==null&&!Bt?(FT(n,r,g),Sr(n,r,g)):(Qe&&u&&wT(r),r.flags|=1,cn(n,r,c,g),r.child)}function uq(n,r,c,u,v){if(Gi(r),r.stateNode===null){var g=sd,C=c.contextType;typeof C=="object"&&C!==null&&(g=rn(C)),g=new c(u,g),r.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=rR,r.stateNode=g,g._reactInternals=r,g=r.stateNode,g.props=u,g.state=r.memoizedState,g.refs={},$T(r),C=c.contextType,g.context=typeof C=="object"&&C!==null?rn(C):sd,g.state=r.memoizedState,C=c.getDerivedStateFromProps,typeof C=="function"&&(oR(r,c,C,u),g.state=r.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(C=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),C!==g.state&&rR.enqueueReplaceState(g,g.state,null),Iu(r,u,g,v),Eu(),g.state=r.memoizedState),typeof g.componentDidMount=="function"&&(r.flags|=4194308),u=!0}else if(n===null){g=r.stateNode;var E=r.memoizedProps,z=Qi(c,E);g.props=z;var Q=g.context,se=c.contextType;C=sd,typeof se=="object"&&se!==null&&(C=rn(se));var ue=c.getDerivedStateFromProps;se=typeof ue=="function"||typeof g.getSnapshotBeforeUpdate=="function",E=r.pendingProps!==E,se||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(E||Q!==C)&&Yz(r,g,u,C),Zr=!1;var te=r.memoizedState;g.state=te,Iu(r,u,g,v),Eu(),Q=r.memoizedState,E||te!==Q||Zr?(typeof ue=="function"&&(oR(r,c,ue,u),Q=r.memoizedState),(z=Zr||Kz(r,c,z,u,te,Q,C))?(se||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(r.flags|=4194308)):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=Q),g.props=u,g.state=Q,g.context=C,u=z):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{g=r.stateNode,jT(n,r),C=r.memoizedProps,se=Qi(c,C),g.props=se,ue=r.pendingProps,te=g.context,Q=c.contextType,z=sd,typeof Q=="object"&&Q!==null&&(z=rn(Q)),E=c.getDerivedStateFromProps,(Q=typeof E=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(C!==ue||te!==z)&&Yz(r,g,u,z),Zr=!1,te=r.memoizedState,g.state=te,Iu(r,u,g,v),Eu();var re=r.memoizedState;C!==ue||te!==re||Zr||n!==null&&n.dependencies!==null&&v0(n.dependencies)?(typeof E=="function"&&(oR(r,c,E,u),re=r.memoizedState),(se=Zr||Kz(r,c,se,u,te,re,z)||n!==null&&n.dependencies!==null&&v0(n.dependencies))?(Q||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(u,re,z),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(u,re,z)),typeof g.componentDidUpdate=="function"&&(r.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof g.componentDidUpdate!="function"||C===n.memoizedProps&&te===n.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&te===n.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=re),g.props=u,g.state=re,g.context=z,u=se):(typeof g.componentDidUpdate!="function"||C===n.memoizedProps&&te===n.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&te===n.memoizedState||(r.flags|=1024),u=!1)}return g=u,P0(n,r),u=(r.flags&128)!==0,g||u?(g=r.stateNode,c=u&&typeof c.getDerivedStateFromError!="function"?null:g.render(),r.flags|=1,n!==null&&u?(r.child=Ki(r,n.child,null,v),r.child=Ki(r,null,c,v)):cn(n,r,c,v),r.memoizedState=g.state,n=r.child):n=Sr(n,r,v),n}function hq(n,r,c,u){return Fi(),r.flags|=256,cn(n,r,c,u),r.child}var lR={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function dR(n){return{baseLanes:n,cachePool:tz()}}function uR(n,r,c){return n=n!==null?n.childLanes&~c:0,r&&(n|=Bn),n}function pq(n,r,c){var u=r.pendingProps,v=!1,g=(r.flags&128)!==0,C;if((C=g)||(C=n!==null&&n.memoizedState===null?!1:(Ot.current&2)!==0),C&&(v=!0,r.flags&=-129),C=(r.flags&32)!==0,r.flags&=-33,n===null){if(Qe){if(v?Yr(r):Qr(),(n=wt)?(n=xH(n,oa),n=n!==null&&n.data!=="&"?n:null,n!==null&&(r.memoizedState={dehydrated:n,treeContext:Fr!==null?{id:Ko,overflow:Yo}:null,retryLane:536870912,hydrationErrors:null},c=GD(n),c.return=r,r.child=c,on=r,wt=null)):n=null,n===null)throw Gr(r);return WR(n)?r.lanes=32:r.lanes=536870912,null}var E=u.children;return u=u.fallback,v?(Qr(),v=r.mode,E=O0({mode:"hidden",children:E},v),u=Bi(u,v,c,null),E.return=r,u.return=r,E.sibling=u,r.child=E,u=r.child,u.memoizedState=dR(c),u.childLanes=uR(n,C,c),r.memoizedState=lR,ju(null,u)):(Yr(r),hR(r,E))}var z=n.memoizedState;if(z!==null&&(E=z.dehydrated,E!==null)){if(g)r.flags&256?(Yr(r),r.flags&=-257,r=pR(n,r,c)):r.memoizedState!==null?(Qr(),r.child=n.child,r.flags|=128,r=null):(Qr(),E=u.fallback,v=r.mode,u=O0({mode:"visible",children:u.children},v),E=Bi(E,v,c,null),E.flags|=2,u.return=r,E.return=r,u.sibling=E,r.child=u,Ki(r,n.child,null,c),u=r.child,u.memoizedState=dR(c),u.childLanes=uR(n,C,c),r.memoizedState=lR,r=ju(null,u));else if(Yr(r),WR(E)){if(C=E.nextSibling&&E.nextSibling.dataset,C)var Q=C.dgst;C=Q,u=Error(o(419)),u.stack="",u.digest=C,wu({value:u,source:null,stack:null}),r=pR(n,r,c)}else if(Bt||hd(n,r,c,!1),C=(c&n.childLanes)!==0,Bt||C){if(C=gt,C!==null&&(u=Yt(C,c),u!==0&&u!==z.retryLane))throw z.retryLane=u,Vi(n,u),Ln(C,n,u),cR;GR(E)||G0(),r=pR(n,r,c)}else GR(E)?(r.flags|=192,r.child=n.child,r=null):(n=z.treeContext,wt=ia(E.nextSibling),on=r,Qe=!0,Ur=null,oa=!1,n!==null&&XD(r,n),r=hR(r,u.children),r.flags|=4096);return r}return v?(Qr(),E=u.fallback,v=r.mode,z=n.child,Q=z.sibling,u=gr(z,{mode:"hidden",children:u.children}),u.subtreeFlags=z.subtreeFlags&65011712,Q!==null?E=gr(Q,E):(E=Bi(E,v,c,null),E.flags|=2),E.return=r,u.return=r,u.sibling=E,r.child=u,ju(null,u),u=r.child,E=n.child.memoizedState,E===null?E=dR(c):(v=E.cachePool,v!==null?(z=Ht._currentValue,v=v.parent!==z?{parent:z,pool:z}:v):v=tz(),E={baseLanes:E.baseLanes|c,cachePool:v}),u.memoizedState=E,u.childLanes=uR(n,C,c),r.memoizedState=lR,ju(n.child,u)):(Yr(r),c=n.child,n=c.sibling,c=gr(c,{mode:"visible",children:u.children}),c.return=r,c.sibling=null,n!==null&&(C=r.deletions,C===null?(r.deletions=[n],r.flags|=16):C.push(n)),r.child=c,r.memoizedState=null,c)}function hR(n,r){return r=O0({mode:"visible",children:r},n.mode),r.return=n,n.child=r}function O0(n,r){return n=zn(22,n,null,r),n.lanes=0,n}function pR(n,r,c){return Ki(r,n.child,null,c),n=hR(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function fq(n,r,c){n.lanes|=r;var u=n.alternate;u!==null&&(u.lanes|=r),LT(n.return,r,c)}function fR(n,r,c,u,v,g){var C=n.memoizedState;C===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:c,tailMode:v,treeForkCount:g}:(C.isBackwards=r,C.rendering=null,C.renderingStartTime=0,C.last=u,C.tail=c,C.tailMode=v,C.treeForkCount=g)}function yq(n,r,c){var u=r.pendingProps,v=u.revealOrder,g=u.tail;u=u.children;var C=Ot.current,E=(C&2)!==0;if(E?(C=C&1|2,r.flags|=128):C&=1,ne(Ot,C),cn(n,r,u,c),u=Qe?bu:0,!E&&n!==null&&(n.flags&128)!==0)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&fq(n,c,r);else if(n.tag===19)fq(n,c,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(v){case"forwards":for(c=r.child,v=null;c!==null;)n=c.alternate,n!==null&&S0(n)===null&&(v=c),c=c.sibling;c=v,c===null?(v=r.child,r.child=null):(v=c.sibling,c.sibling=null),fR(r,!1,v,c,g,u);break;case"backwards":case"unstable_legacy-backwards":for(c=null,v=r.child,r.child=null;v!==null;){if(n=v.alternate,n!==null&&S0(n)===null){r.child=v;break}n=v.sibling,v.sibling=c,c=v,v=n}fR(r,!0,c,null,g,u);break;case"together":fR(r,!1,null,null,void 0,u);break;default:r.memoizedState=null}return r.child}function Sr(n,r,c){if(n!==null&&(r.dependencies=n.dependencies),ti|=r.lanes,(c&r.childLanes)===0)if(n!==null){if(hd(n,r,c,!1),(c&r.childLanes)===0)return null}else return null;if(n!==null&&r.child!==n.child)throw Error(o(153));if(r.child!==null){for(n=r.child,c=gr(n,n.pendingProps),r.child=c,c.return=r;n.sibling!==null;)n=n.sibling,c=c.sibling=gr(n,n.pendingProps),c.return=r;c.sibling=null}return r.child}function yR(n,r){return(n.lanes&r)!==0?!0:(n=n.dependencies,!!(n!==null&&v0(n)))}function cJ(n,r,c){switch(r.tag){case 3:ve(r,r.stateNode.containerInfo),Wr(r,Ht,n.memoizedState.cache),Fi();break;case 27:case 5:ge(r);break;case 4:ve(r,r.stateNode.containerInfo);break;case 10:Wr(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,qT(r),null;break;case 13:var u=r.memoizedState;if(u!==null)return u.dehydrated!==null?(Yr(r),r.flags|=128,null):(c&r.child.childLanes)!==0?pq(n,r,c):(Yr(r),n=Sr(n,r,c),n!==null?n.sibling:null);Yr(r);break;case 19:var v=(n.flags&128)!==0;if(u=(c&r.childLanes)!==0,u||(hd(n,r,c,!1),u=(c&r.childLanes)!==0),v){if(u)return yq(n,r,c);r.flags|=128}if(v=r.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),ne(Ot,Ot.current),u)break;return null;case 22:return r.lanes=0,cq(n,r,c,r.pendingProps);case 24:Wr(r,Ht,n.memoizedState.cache)}return Sr(n,r,c)}function mq(n,r,c){if(n!==null)if(n.memoizedProps!==r.pendingProps)Bt=!0;else{if(!yR(n,c)&&(r.flags&128)===0)return Bt=!1,cJ(n,r,c);Bt=(n.flags&131072)!==0}else Bt=!1,Qe&&(r.flags&1048576)!==0&&ZD(r,bu,r.index);switch(r.lanes=0,r.tag){case 16:e:{var u=r.pendingProps;if(n=Zi(r.elementType),r.type=n,typeof n=="function")MT(n)?(u=Qi(n,u),r.tag=1,r=uq(null,r,n,u,c)):(r.tag=0,r=sR(null,r,n,u,c));else{if(n!=null){var v=n.$$typeof;if(v===O){r.tag=11,r=oq(null,r,n,u,c);break e}else if(v===A){r.tag=14,r=rq(null,r,n,u,c);break e}}throw r=J(n)||n,Error(o(306,r,""))}}return r;case 0:return sR(n,r,r.type,r.pendingProps,c);case 1:return u=r.type,v=Qi(u,r.pendingProps),uq(n,r,u,v,c);case 3:e:{if(ve(r,r.stateNode.containerInfo),n===null)throw Error(o(387));u=r.pendingProps;var g=r.memoizedState;v=g.element,jT(n,r),Iu(r,u,null,c);var C=r.memoizedState;if(u=C.cache,Wr(r,Ht,u),u!==g.cache&&ET(r,[Ht],c,!0),Eu(),u=C.element,g.isDehydrated)if(g={element:u,isDehydrated:!1,cache:C.cache},r.updateQueue.baseState=g,r.memoizedState=g,r.flags&256){r=hq(n,r,u,c);break e}else if(u!==v){v=ta(Error(o(424)),r),wu(v),r=hq(n,r,u,c);break e}else{switch(n=r.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(wt=ia(n.firstChild),on=r,Qe=!0,Ur=null,oa=!0,c=cz(r,null,u,c),r.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling}else{if(Fi(),u===v){r=Sr(n,r,c);break e}cn(n,r,u,c)}r=r.child}return r;case 26:return P0(n,r),n===null?(c=NH(r.type,null,r.pendingProps,null))?r.memoizedState=c:Qe||(c=r.type,n=r.pendingProps,u=J0(ye.current).createElement(c),u[Pt]=r,u[an]=n,sn(u,c,n),Qt(u),r.stateNode=u):r.memoizedState=NH(r.type,n.memoizedProps,r.pendingProps,n.memoizedState),null;case 27:return ge(r),n===null&&Qe&&(u=r.stateNode=_H(r.type,r.pendingProps,ye.current),on=r,oa=!0,v=wt,ii(r.type)?(ZR=v,wt=ia(u.firstChild)):wt=v),cn(n,r,r.pendingProps.children,c),P0(n,r),n===null&&(r.flags|=4194304),r.child;case 5:return n===null&&Qe&&((v=u=wt)&&(u=OJ(u,r.type,r.pendingProps,oa),u!==null?(r.stateNode=u,on=r,wt=ia(u.firstChild),oa=!1,v=!0):v=!1),v||Gr(r)),ge(r),v=r.type,g=r.pendingProps,C=n!==null?n.memoizedProps:null,u=g.children,BR(v,g)?u=null:C!==null&&BR(v,C)&&(r.flags|=32),r.memoizedState!==null&&(v=VT(n,r,QQ,null,null,c),Ku._currentValue=v),P0(n,r),cn(n,r,u,c),r.child;case 6:return n===null&&Qe&&((n=c=wt)&&(c=DJ(c,r.pendingProps,oa),c!==null?(r.stateNode=c,on=r,wt=null,n=!0):n=!1),n||Gr(r)),null;case 13:return pq(n,r,c);case 4:return ve(r,r.stateNode.containerInfo),u=r.pendingProps,n===null?r.child=Ki(r,null,u,c):cn(n,r,u,c),r.child;case 11:return oq(n,r,r.type,r.pendingProps,c);case 7:return cn(n,r,r.pendingProps,c),r.child;case 8:return cn(n,r,r.pendingProps.children,c),r.child;case 12:return cn(n,r,r.pendingProps.children,c),r.child;case 10:return u=r.pendingProps,Wr(r,r.type,u.value),cn(n,r,u.children,c),r.child;case 9:return v=r.type._context,u=r.pendingProps.children,Gi(r),v=rn(v),u=u(v),r.flags|=1,cn(n,r,u,c),r.child;case 14:return rq(n,r,r.type,r.pendingProps,c);case 15:return iq(n,r,r.type,r.pendingProps,c);case 19:return yq(n,r,c);case 31:return iJ(n,r,c);case 22:return cq(n,r,c,r.pendingProps);case 24:return Gi(r),u=rn(Ht),n===null?(v=TT(),v===null&&(v=gt,g=IT(),v.pooledCache=g,g.refCount++,g!==null&&(v.pooledCacheLanes|=c),v=g),r.memoizedState={parent:u,cache:v},$T(r),Wr(r,Ht,v)):((n.lanes&c)!==0&&(jT(n,r),Iu(r,null,null,c),Eu()),v=n.memoizedState,g=r.memoizedState,v.parent!==u?(v={parent:u,cache:u},r.memoizedState=v,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=v),Wr(r,Ht,u)):(u=g.cache,Wr(r,Ht,u),u!==v.cache&&ET(r,[Ht],c,!0))),cn(n,r,r.pendingProps.children,c),r.child;case 29:throw r.pendingProps}throw Error(o(156,r.tag))}function Cr(n){n.flags|=4}function mR(n,r,c,u,v){if((r=(n.mode&32)!==0)&&(r=!1),r){if(n.flags|=16777216,(v&335544128)===v)if(n.stateNode.complete)n.flags|=8192;else if(Bq())n.flags|=8192;else throw Xi=x0,RT}else n.flags&=-16777217}function vq(n,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!TH(r))if(Bq())n.flags|=8192;else throw Xi=x0,RT}function D0(n,r){r!==null&&(n.flags|=4),n.flags&16384&&(r=n.tag!==22?Et():536870912,n.lanes|=r,_d|=r)}function Pu(n,r){if(!Qe)switch(n.tailMode){case"hidden":r=n.tail;for(var c=null;r!==null;)r.alternate!==null&&(c=r),r=r.sibling;c===null?n.tail=null:c.sibling=null;break;case"collapsed":c=n.tail;for(var u=null;c!==null;)c.alternate!==null&&(u=c),c=c.sibling;u===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:u.sibling=null}}function _t(n){var r=n.alternate!==null&&n.alternate.child===n.child,c=0,u=0;if(r)for(var v=n.child;v!==null;)c|=v.lanes|v.childLanes,u|=v.subtreeFlags&65011712,u|=v.flags&65011712,v.return=n,v=v.sibling;else for(v=n.child;v!==null;)c|=v.lanes|v.childLanes,u|=v.subtreeFlags,u|=v.flags,v.return=n,v=v.sibling;return n.subtreeFlags|=u,n.childLanes=c,r}function sJ(n,r,c){var u=r.pendingProps;switch(_T(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _t(r),null;case 1:return _t(r),null;case 3:return c=r.stateNode,u=null,n!==null&&(u=n.memoizedState.cache),r.memoizedState.cache!==u&&(r.flags|=2048),br(Ht),me(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(n===null||n.child===null)&&(ud(r)?Cr(r):n===null||n.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,CT())),_t(r),null;case 26:var v=r.type,g=r.memoizedState;return n===null?(Cr(r),g!==null?(_t(r),vq(r,g)):(_t(r),mR(r,v,null,u,c))):g?g!==n.memoizedState?(Cr(r),_t(r),vq(r,g)):(_t(r),r.flags&=-16777217):(n=n.memoizedProps,n!==u&&Cr(r),_t(r),mR(r,v,n,u,c)),null;case 27:if(fe(r),c=ye.current,v=r.type,n!==null&&r.stateNode!=null)n.memoizedProps!==u&&Cr(r);else{if(!u){if(r.stateNode===null)throw Error(o(166));return _t(r),null}n=le.current,ud(r)?KD(r):(n=_H(v,u,c),r.stateNode=n,Cr(r))}return _t(r),null;case 5:if(fe(r),v=r.type,n!==null&&r.stateNode!=null)n.memoizedProps!==u&&Cr(r);else{if(!u){if(r.stateNode===null)throw Error(o(166));return _t(r),null}if(g=le.current,ud(r))KD(r);else{var C=J0(ye.current);switch(g){case 1:g=C.createElementNS("http://www.w3.org/2000/svg",v);break;case 2:g=C.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;default:switch(v){case"svg":g=C.createElementNS("http://www.w3.org/2000/svg",v);break;case"math":g=C.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;case"script":g=C.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof u.is=="string"?C.createElement("select",{is:u.is}):C.createElement("select"),u.multiple?g.multiple=!0:u.size&&(g.size=u.size);break;default:g=typeof u.is=="string"?C.createElement(v,{is:u.is}):C.createElement(v)}}g[Pt]=r,g[an]=u;e:for(C=r.child;C!==null;){if(C.tag===5||C.tag===6)g.appendChild(C.stateNode);else if(C.tag!==4&&C.tag!==27&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===r)break e;for(;C.sibling===null;){if(C.return===null||C.return===r)break e;C=C.return}C.sibling.return=C.return,C=C.sibling}r.stateNode=g;e:switch(sn(g,v,u),v){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&Cr(r)}}return _t(r),mR(r,r.type,n===null?null:n.memoizedProps,r.pendingProps,c),null;case 6:if(n&&r.stateNode!=null)n.memoizedProps!==u&&Cr(r);else{if(typeof u!="string"&&r.stateNode===null)throw Error(o(166));if(n=ye.current,ud(r)){if(n=r.stateNode,c=r.memoizedProps,u=null,v=on,v!==null)switch(v.tag){case 27:case 5:u=v.memoizedProps}n[Pt]=r,n=!!(n.nodeValue===c||u!==null&&u.suppressHydrationWarning===!0||pH(n.nodeValue,c)),n||Gr(r,!0)}else n=J0(n).createTextNode(u),n[Pt]=r,r.stateNode=n}return _t(r),null;case 31:if(c=r.memoizedState,n===null||n.memoizedState!==null){if(u=ud(r),c!==null){if(n===null){if(!u)throw Error(o(318));if(n=r.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(557));n[Pt]=r}else Fi(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;_t(r),n=!1}else c=CT(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=c),n=!0;if(!n)return r.flags&256?(Hn(r),r):(Hn(r),null);if((r.flags&128)!==0)throw Error(o(558))}return _t(r),null;case 13:if(u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(v=ud(r),u!==null&&u.dehydrated!==null){if(n===null){if(!v)throw Error(o(318));if(v=r.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(o(317));v[Pt]=r}else Fi(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;_t(r),v=!1}else v=CT(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=v),v=!0;if(!v)return r.flags&256?(Hn(r),r):(Hn(r),null)}return Hn(r),(r.flags&128)!==0?(r.lanes=c,r):(c=u!==null,n=n!==null&&n.memoizedState!==null,c&&(u=r.child,v=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(v=u.alternate.memoizedState.cachePool.pool),g=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(g=u.memoizedState.cachePool.pool),g!==v&&(u.flags|=2048)),c!==n&&c&&(r.child.flags|=8192),D0(r,r.updateQueue),_t(r),null);case 4:return me(),n===null&&DR(r.stateNode.containerInfo),_t(r),null;case 10:return br(r.type),_t(r),null;case 19:if(X(Ot),u=r.memoizedState,u===null)return _t(r),null;if(v=(r.flags&128)!==0,g=u.rendering,g===null)if(v)Pu(u,!1);else{if($t!==0||n!==null&&(n.flags&128)!==0)for(n=r.child;n!==null;){if(g=S0(n),g!==null){for(r.flags|=128,Pu(u,!1),n=g.updateQueue,r.updateQueue=n,D0(r,n),r.subtreeFlags=0,n=c,c=r.child;c!==null;)UD(c,n),c=c.sibling;return ne(Ot,Ot.current&1|2),Qe&&Mr(r,u.treeForkCount),r.child}n=n.sibling}u.tail!==null&&qe()>B0&&(r.flags|=128,v=!0,Pu(u,!1),r.lanes=4194304)}else{if(!v)if(n=S0(g),n!==null){if(r.flags|=128,v=!0,n=n.updateQueue,r.updateQueue=n,D0(r,n),Pu(u,!0),u.tail===null&&u.tailMode==="hidden"&&!g.alternate&&!Qe)return _t(r),null}else 2*qe()-u.renderingStartTime>B0&&c!==536870912&&(r.flags|=128,v=!0,Pu(u,!1),r.lanes=4194304);u.isBackwards?(g.sibling=r.child,r.child=g):(n=u.last,n!==null?n.sibling=g:r.child=g,u.last=g)}return u.tail!==null?(n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=qe(),n.sibling=null,c=Ot.current,ne(Ot,v?c&1|2:c&1),Qe&&Mr(r,u.treeForkCount),n):(_t(r),null);case 22:case 23:return Hn(r),zT(),u=r.memoizedState!==null,n!==null?n.memoizedState!==null!==u&&(r.flags|=8192):u&&(r.flags|=8192),u?(c&536870912)!==0&&(r.flags&128)===0&&(_t(r),r.subtreeFlags&6&&(r.flags|=8192)):_t(r),c=r.updateQueue,c!==null&&D0(r,c.retryQueue),c=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(c=n.memoizedState.cachePool.pool),u=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),u!==c&&(r.flags|=2048),n!==null&&X(Wi),null;case 24:return c=null,n!==null&&(c=n.memoizedState.cache),r.memoizedState.cache!==c&&(r.flags|=2048),br(Ht),_t(r),null;case 25:return null;case 30:return null}throw Error(o(156,r.tag))}function lJ(n,r){switch(_T(r),r.tag){case 1:return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return br(Ht),me(),n=r.flags,(n&65536)!==0&&(n&128)===0?(r.flags=n&-65537|128,r):null;case 26:case 27:case 5:return fe(r),null;case 31:if(r.memoizedState!==null){if(Hn(r),r.alternate===null)throw Error(o(340));Fi()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 13:if(Hn(r),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(o(340));Fi()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return X(Ot),null;case 4:return me(),null;case 10:return br(r.type),null;case 22:case 23:return Hn(r),zT(),n!==null&&X(Wi),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 24:return br(Ht),null;case 25:return null;default:return null}}function kq(n,r){switch(_T(r),r.tag){case 3:br(Ht),me();break;case 26:case 27:case 5:fe(r);break;case 4:me();break;case 31:r.memoizedState!==null&&Hn(r);break;case 13:Hn(r);break;case 19:X(Ot);break;case 10:br(r.type);break;case 22:case 23:Hn(r),zT(),n!==null&&X(Wi);break;case 24:br(Ht)}}function Ou(n,r){try{var c=r.updateQueue,u=c!==null?c.lastEffect:null;if(u!==null){var v=u.next;c=v;do{if((c.tag&n)===n){u=void 0;var g=c.create,C=c.inst;u=g(),C.destroy=u}c=c.next}while(c!==v)}}catch(E){pt(r,r.return,E)}}function Jr(n,r,c){try{var u=r.updateQueue,v=u!==null?u.lastEffect:null;if(v!==null){var g=v.next;u=g;do{if((u.tag&n)===n){var C=u.inst,E=C.destroy;if(E!==void 0){C.destroy=void 0,v=r;var z=c,Q=E;try{Q()}catch(se){pt(v,z,se)}}}u=u.next}while(u!==g)}}catch(se){pt(r,r.return,se)}}function gq(n){var r=n.updateQueue;if(r!==null){var c=n.stateNode;try{lz(r,c)}catch(u){pt(n,n.return,u)}}}function Mq(n,r,c){c.props=Qi(n.type,n.memoizedProps),c.state=n.memoizedState;try{c.componentWillUnmount()}catch(u){pt(n,r,u)}}function Du(n,r){try{var c=n.ref;if(c!==null){switch(n.tag){case 26:case 27:case 5:var u=n.stateNode;break;case 30:u=n.stateNode;break;default:u=n.stateNode}typeof c=="function"?n.refCleanup=c(u):c.current=u}}catch(v){pt(n,r,v)}}function Qo(n,r){var c=n.ref,u=n.refCleanup;if(c!==null)if(typeof u=="function")try{u()}catch(v){pt(n,r,v)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof c=="function")try{c(null)}catch(v){pt(n,r,v)}else c.current=null}function xq(n){var r=n.type,c=n.memoizedProps,u=n.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":c.autoFocus&&u.focus();break e;case"img":c.src?u.src=c.src:c.srcSet&&(u.srcset=c.srcSet)}}catch(v){pt(n,n.return,v)}}function vR(n,r,c){try{var u=n.stateNode;AJ(u,n.type,c,r),u[an]=r}catch(v){pt(n,n.return,v)}}function bq(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&ii(n.type)||n.tag===4}function kR(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||bq(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&ii(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function gR(n,r,c){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?(c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c).insertBefore(n,r):(r=c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c,r.appendChild(n),c=c._reactRootContainer,c!=null||r.onclick!==null||(r.onclick=vr));else if(u!==4&&(u===27&&ii(n.type)&&(c=n.stateNode,r=null),n=n.child,n!==null))for(gR(n,r,c),n=n.sibling;n!==null;)gR(n,r,c),n=n.sibling}function z0(n,r,c){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?c.insertBefore(n,r):c.appendChild(n);else if(u!==4&&(u===27&&ii(n.type)&&(c=n.stateNode),n=n.child,n!==null))for(z0(n,r,c),n=n.sibling;n!==null;)z0(n,r,c),n=n.sibling}function wq(n){var r=n.stateNode,c=n.memoizedProps;try{for(var u=n.type,v=r.attributes;v.length;)r.removeAttributeNode(v[0]);sn(r,u,c),r[Pt]=n,r[an]=c}catch(g){pt(n,n.return,g)}}var Nr=!1,Ft=!1,MR=!1,_q=typeof WeakSet=="function"?WeakSet:Set,Jt=null;function dJ(n,r){if(n=n.containerInfo,HR=ih,n=PD(n),pT(n)){if("selectionStart"in n)var c={start:n.selectionStart,end:n.selectionEnd};else e:{c=(c=n.ownerDocument)&&c.defaultView||window;var u=c.getSelection&&c.getSelection();if(u&&u.rangeCount!==0){c=u.anchorNode;var v=u.anchorOffset,g=u.focusNode;u=u.focusOffset;try{c.nodeType,g.nodeType}catch{c=null;break e}var C=0,E=-1,z=-1,Q=0,se=0,ue=n,te=null;t:for(;;){for(var re;ue!==c||v!==0&&ue.nodeType!==3||(E=C+v),ue!==g||u!==0&&ue.nodeType!==3||(z=C+u),ue.nodeType===3&&(C+=ue.nodeValue.length),(re=ue.firstChild)!==null;)te=ue,ue=re;for(;;){if(ue===n)break t;if(te===c&&++Q===v&&(E=C),te===g&&++se===u&&(z=C),(re=ue.nextSibling)!==null)break;ue=te,te=ue.parentNode}ue=re}c=E===-1||z===-1?null:{start:E,end:z}}else c=null}c=c||{start:0,end:0}}else c=null;for(VR={focusedElem:n,selectionRange:c},ih=!1,Jt=r;Jt!==null;)if(r=Jt,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Jt=n;else for(;Jt!==null;){switch(r=Jt,g=r.alternate,n=r.flags,r.tag){case 0:if((n&4)!==0&&(n=r.updateQueue,n=n!==null?n.events:null,n!==null))for(c=0;c<n.length;c++)v=n[c],v.ref.impl=v.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&g!==null){n=void 0,c=r,v=g.memoizedProps,g=g.memoizedState,u=c.stateNode;try{var _e=Qi(c.type,v);n=u.getSnapshotBeforeUpdate(_e,g),u.__reactInternalSnapshotBeforeUpdate=n}catch(Re){pt(c,c.return,Re)}}break;case 3:if((n&1024)!==0){if(n=r.stateNode.containerInfo,c=n.nodeType,c===9)UR(n);else if(c===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":UR(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(o(163))}if(n=r.sibling,n!==null){n.return=r.return,Jt=n;break}Jt=r.return}}function Sq(n,r,c){var u=c.flags;switch(c.tag){case 0:case 11:case 15:Er(n,c),u&4&&Ou(5,c);break;case 1:if(Er(n,c),u&4)if(n=c.stateNode,r===null)try{n.componentDidMount()}catch(C){pt(c,c.return,C)}else{var v=Qi(c.type,r.memoizedProps);r=r.memoizedState;try{n.componentDidUpdate(v,r,n.__reactInternalSnapshotBeforeUpdate)}catch(C){pt(c,c.return,C)}}u&64&&gq(c),u&512&&Du(c,c.return);break;case 3:if(Er(n,c),u&64&&(n=c.updateQueue,n!==null)){if(r=null,c.child!==null)switch(c.child.tag){case 27:case 5:r=c.child.stateNode;break;case 1:r=c.child.stateNode}try{lz(n,r)}catch(C){pt(c,c.return,C)}}break;case 27:r===null&&u&4&&wq(c);case 26:case 5:Er(n,c),r===null&&u&4&&xq(c),u&512&&Du(c,c.return);break;case 12:Er(n,c);break;case 31:Er(n,c),u&4&&Lq(n,c);break;case 13:Er(n,c),u&4&&Eq(n,c),u&64&&(n=c.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(c=gJ.bind(null,c),zJ(n,c))));break;case 22:if(u=c.memoizedState!==null||Nr,!u){r=r!==null&&r.memoizedState!==null||Ft,v=Nr;var g=Ft;Nr=u,(Ft=r)&&!g?Ir(n,c,(c.subtreeFlags&8772)!==0):Er(n,c),Nr=v,Ft=g}break;case 30:break;default:Er(n,c)}}function Cq(n){var r=n.alternate;r!==null&&(n.alternate=null,Cq(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&uu(r)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Ct=null,_n=!1;function Lr(n,r,c){for(c=c.child;c!==null;)Nq(n,r,c),c=c.sibling}function Nq(n,r,c){if(Gt&&typeof Gt.onCommitFiberUnmount=="function")try{Gt.onCommitFiberUnmount(Yn,c)}catch{}switch(c.tag){case 26:Ft||Qo(c,r),Lr(n,r,c),c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:Ft||Qo(c,r);var u=Ct,v=_n;ii(c.type)&&(Ct=c.stateNode,_n=!1),Lr(n,r,c),Wu(c.stateNode),Ct=u,_n=v;break;case 5:Ft||Qo(c,r);case 6:if(u=Ct,v=_n,Ct=null,Lr(n,r,c),Ct=u,_n=v,Ct!==null)if(_n)try{(Ct.nodeType===9?Ct.body:Ct.nodeName==="HTML"?Ct.ownerDocument.body:Ct).removeChild(c.stateNode)}catch(g){pt(c,r,g)}else try{Ct.removeChild(c.stateNode)}catch(g){pt(c,r,g)}break;case 18:Ct!==null&&(_n?(n=Ct,gH(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,c.stateNode),Td(n)):gH(Ct,c.stateNode));break;case 4:u=Ct,v=_n,Ct=c.stateNode.containerInfo,_n=!0,Lr(n,r,c),Ct=u,_n=v;break;case 0:case 11:case 14:case 15:Jr(2,c,r),Ft||Jr(4,c,r),Lr(n,r,c);break;case 1:Ft||(Qo(c,r),u=c.stateNode,typeof u.componentWillUnmount=="function"&&Mq(c,r,u)),Lr(n,r,c);break;case 21:Lr(n,r,c);break;case 22:Ft=(u=Ft)||c.memoizedState!==null,Lr(n,r,c),Ft=u;break;default:Lr(n,r,c)}}function Lq(n,r){if(r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{Td(n)}catch(c){pt(r,r.return,c)}}}function Eq(n,r){if(r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Td(n)}catch(c){pt(r,r.return,c)}}function uJ(n){switch(n.tag){case 31:case 13:case 19:var r=n.stateNode;return r===null&&(r=n.stateNode=new _q),r;case 22:return n=n.stateNode,r=n._retryCache,r===null&&(r=n._retryCache=new _q),r;default:throw Error(o(435,n.tag))}}function q0(n,r){var c=uJ(n);r.forEach(function(u){if(!c.has(u)){c.add(u);var v=MJ.bind(null,n,u);u.then(v,v)}})}function Sn(n,r){var c=r.deletions;if(c!==null)for(var u=0;u<c.length;u++){var v=c[u],g=n,C=r,E=C;e:for(;E!==null;){switch(E.tag){case 27:if(ii(E.type)){Ct=E.stateNode,_n=!1;break e}break;case 5:Ct=E.stateNode,_n=!1;break e;case 3:case 4:Ct=E.stateNode.containerInfo,_n=!0;break e}E=E.return}if(Ct===null)throw Error(o(160));Nq(g,C,v),Ct=null,_n=!1,g=v.alternate,g!==null&&(g.return=null),v.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)Iq(r,n),r=r.sibling}var fa=null;function Iq(n,r){var c=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Sn(r,n),Cn(n),u&4&&(Jr(3,n,n.return),Ou(3,n),Jr(5,n,n.return));break;case 1:Sn(r,n),Cn(n),u&512&&(Ft||c===null||Qo(c,c.return)),u&64&&Nr&&(n=n.updateQueue,n!==null&&(u=n.callbacks,u!==null&&(c=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=c===null?u:c.concat(u))));break;case 26:var v=fa;if(Sn(r,n),Cn(n),u&512&&(Ft||c===null||Qo(c,c.return)),u&4){var g=c!==null?c.memoizedState:null;if(u=n.memoizedState,c===null)if(u===null)if(n.stateNode===null){e:{u=n.type,c=n.memoizedProps,v=v.ownerDocument||v;t:switch(u){case"title":g=v.getElementsByTagName("title")[0],(!g||g[Xo]||g[Pt]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=v.createElement(u),v.head.insertBefore(g,v.querySelector("head > title"))),sn(g,u,c),g[Pt]=n,Qt(g),u=g;break e;case"link":var C=IH("link","href",v).get(u+(c.href||""));if(C){for(var E=0;E<C.length;E++)if(g=C[E],g.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&g.getAttribute("rel")===(c.rel==null?null:c.rel)&&g.getAttribute("title")===(c.title==null?null:c.title)&&g.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){C.splice(E,1);break t}}g=v.createElement(u),sn(g,u,c),v.head.appendChild(g);break;case"meta":if(C=IH("meta","content",v).get(u+(c.content||""))){for(E=0;E<C.length;E++)if(g=C[E],g.getAttribute("content")===(c.content==null?null:""+c.content)&&g.getAttribute("name")===(c.name==null?null:c.name)&&g.getAttribute("property")===(c.property==null?null:c.property)&&g.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&g.getAttribute("charset")===(c.charSet==null?null:c.charSet)){C.splice(E,1);break t}}g=v.createElement(u),sn(g,u,c),v.head.appendChild(g);break;default:throw Error(o(468,u))}g[Pt]=n,Qt(g),u=g}n.stateNode=u}else AH(v,n.type,n.stateNode);else n.stateNode=EH(v,u,n.memoizedProps);else g!==u?(g===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):g.count--,u===null?AH(v,n.type,n.stateNode):EH(v,u,n.memoizedProps)):u===null&&n.stateNode!==null&&vR(n,n.memoizedProps,c.memoizedProps)}break;case 27:Sn(r,n),Cn(n),u&512&&(Ft||c===null||Qo(c,c.return)),c!==null&&u&4&&vR(n,n.memoizedProps,c.memoizedProps);break;case 5:if(Sn(r,n),Cn(n),u&512&&(Ft||c===null||Qo(c,c.return)),n.flags&32){v=n.stateNode;try{td(v,"")}catch(_e){pt(n,n.return,_e)}}u&4&&n.stateNode!=null&&(v=n.memoizedProps,vR(n,v,c!==null?c.memoizedProps:v)),u&1024&&(MR=!0);break;case 6:if(Sn(r,n),Cn(n),u&4){if(n.stateNode===null)throw Error(o(162));u=n.memoizedProps,c=n.stateNode;try{c.nodeValue=u}catch(_e){pt(n,n.return,_e)}}break;case 3:if(nh=null,v=fa,fa=eh(r.containerInfo),Sn(r,n),fa=v,Cn(n),u&4&&c!==null&&c.memoizedState.isDehydrated)try{Td(r.containerInfo)}catch(_e){pt(n,n.return,_e)}MR&&(MR=!1,Aq(n));break;case 4:u=fa,fa=eh(n.stateNode.containerInfo),Sn(r,n),Cn(n),fa=u;break;case 12:Sn(r,n),Cn(n);break;case 31:Sn(r,n),Cn(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,q0(n,u)));break;case 13:Sn(r,n),Cn(n),n.child.flags&8192&&n.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(V0=qe()),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,q0(n,u)));break;case 22:v=n.memoizedState!==null;var z=c!==null&&c.memoizedState!==null,Q=Nr,se=Ft;if(Nr=Q||v,Ft=se||z,Sn(r,n),Ft=se,Nr=Q,Cn(n),u&8192)e:for(r=n.stateNode,r._visibility=v?r._visibility&-2:r._visibility|1,v&&(c===null||z||Nr||Ft||Ji(n)),c=null,r=n;;){if(r.tag===5||r.tag===26){if(c===null){z=c=r;try{if(g=z.stateNode,v)C=g.style,typeof C.setProperty=="function"?C.setProperty("display","none","important"):C.display="none";else{E=z.stateNode;var ue=z.memoizedProps.style,te=ue!=null&&ue.hasOwnProperty("display")?ue.display:null;E.style.display=te==null||typeof te=="boolean"?"":(""+te).trim()}}catch(_e){pt(z,z.return,_e)}}}else if(r.tag===6){if(c===null){z=r;try{z.stateNode.nodeValue=v?"":z.memoizedProps}catch(_e){pt(z,z.return,_e)}}}else if(r.tag===18){if(c===null){z=r;try{var re=z.stateNode;v?MH(re,!0):MH(z.stateNode,!1)}catch(_e){pt(z,z.return,_e)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===n)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break e;for(;r.sibling===null;){if(r.return===null||r.return===n)break e;c===r&&(c=null),r=r.return}c===r&&(c=null),r.sibling.return=r.return,r=r.sibling}u&4&&(u=n.updateQueue,u!==null&&(c=u.retryQueue,c!==null&&(u.retryQueue=null,q0(n,c))));break;case 19:Sn(r,n),Cn(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,q0(n,u)));break;case 30:break;case 21:break;default:Sn(r,n),Cn(n)}}function Cn(n){var r=n.flags;if(r&2){try{for(var c,u=n.return;u!==null;){if(bq(u)){c=u;break}u=u.return}if(c==null)throw Error(o(160));switch(c.tag){case 27:var v=c.stateNode,g=kR(n);z0(n,g,v);break;case 5:var C=c.stateNode;c.flags&32&&(td(C,""),c.flags&=-33);var E=kR(n);z0(n,E,C);break;case 3:case 4:var z=c.stateNode.containerInfo,Q=kR(n);gR(n,Q,z);break;default:throw Error(o(161))}}catch(se){pt(n,n.return,se)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Aq(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var r=n;Aq(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),n=n.sibling}}function Er(n,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)Sq(n,r.alternate,r),r=r.sibling}function Ji(n){for(n=n.child;n!==null;){var r=n;switch(r.tag){case 0:case 11:case 14:case 15:Jr(4,r,r.return),Ji(r);break;case 1:Qo(r,r.return);var c=r.stateNode;typeof c.componentWillUnmount=="function"&&Mq(r,r.return,c),Ji(r);break;case 27:Wu(r.stateNode);case 26:case 5:Qo(r,r.return),Ji(r);break;case 22:r.memoizedState===null&&Ji(r);break;case 30:Ji(r);break;default:Ji(r)}n=n.sibling}}function Ir(n,r,c){for(c=c&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var u=r.alternate,v=n,g=r,C=g.flags;switch(g.tag){case 0:case 11:case 15:Ir(v,g,c),Ou(4,g);break;case 1:if(Ir(v,g,c),u=g,v=u.stateNode,typeof v.componentDidMount=="function")try{v.componentDidMount()}catch(Q){pt(u,u.return,Q)}if(u=g,v=u.updateQueue,v!==null){var E=u.stateNode;try{var z=v.shared.hiddenCallbacks;if(z!==null)for(v.shared.hiddenCallbacks=null,v=0;v<z.length;v++)sz(z[v],E)}catch(Q){pt(u,u.return,Q)}}c&&C&64&&gq(g),Du(g,g.return);break;case 27:wq(g);case 26:case 5:Ir(v,g,c),c&&u===null&&C&4&&xq(g),Du(g,g.return);break;case 12:Ir(v,g,c);break;case 31:Ir(v,g,c),c&&C&4&&Lq(v,g);break;case 13:Ir(v,g,c),c&&C&4&&Eq(v,g);break;case 22:g.memoizedState===null&&Ir(v,g,c),Du(g,g.return);break;case 30:break;default:Ir(v,g,c)}r=r.sibling}}function xR(n,r){var c=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(c=n.memoizedState.cachePool.pool),n=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(n=r.memoizedState.cachePool.pool),n!==c&&(n!=null&&n.refCount++,c!=null&&_u(c))}function bR(n,r){n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&_u(n))}function ya(n,r,c,u){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)Tq(n,r,c,u),r=r.sibling}function Tq(n,r,c,u){var v=r.flags;switch(r.tag){case 0:case 11:case 15:ya(n,r,c,u),v&2048&&Ou(9,r);break;case 1:ya(n,r,c,u);break;case 3:ya(n,r,c,u),v&2048&&(n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&_u(n)));break;case 12:if(v&2048){ya(n,r,c,u),n=r.stateNode;try{var g=r.memoizedProps,C=g.id,E=g.onPostCommit;typeof E=="function"&&E(C,r.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(z){pt(r,r.return,z)}}else ya(n,r,c,u);break;case 31:ya(n,r,c,u);break;case 13:ya(n,r,c,u);break;case 23:break;case 22:g=r.stateNode,C=r.alternate,r.memoizedState!==null?g._visibility&2?ya(n,r,c,u):zu(n,r):g._visibility&2?ya(n,r,c,u):(g._visibility|=2,xd(n,r,c,u,(r.subtreeFlags&10256)!==0||!1)),v&2048&&xR(C,r);break;case 24:ya(n,r,c,u),v&2048&&bR(r.alternate,r);break;default:ya(n,r,c,u)}}function xd(n,r,c,u,v){for(v=v&&((r.subtreeFlags&10256)!==0||!1),r=r.child;r!==null;){var g=n,C=r,E=c,z=u,Q=C.flags;switch(C.tag){case 0:case 11:case 15:xd(g,C,E,z,v),Ou(8,C);break;case 23:break;case 22:var se=C.stateNode;C.memoizedState!==null?se._visibility&2?xd(g,C,E,z,v):zu(g,C):(se._visibility|=2,xd(g,C,E,z,v)),v&&Q&2048&&xR(C.alternate,C);break;case 24:xd(g,C,E,z,v),v&&Q&2048&&bR(C.alternate,C);break;default:xd(g,C,E,z,v)}r=r.sibling}}function zu(n,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var c=n,u=r,v=u.flags;switch(u.tag){case 22:zu(c,u),v&2048&&xR(u.alternate,u);break;case 24:zu(c,u),v&2048&&bR(u.alternate,u);break;default:zu(c,u)}r=r.sibling}}var qu=8192;function bd(n,r,c){if(n.subtreeFlags&qu)for(n=n.child;n!==null;)Rq(n,r,c),n=n.sibling}function Rq(n,r,c){switch(n.tag){case 26:bd(n,r,c),n.flags&qu&&n.memoizedState!==null&&YJ(c,fa,n.memoizedState,n.memoizedProps);break;case 5:bd(n,r,c);break;case 3:case 4:var u=fa;fa=eh(n.stateNode.containerInfo),bd(n,r,c),fa=u;break;case 22:n.memoizedState===null&&(u=n.alternate,u!==null&&u.memoizedState!==null?(u=qu,qu=16777216,bd(n,r,c),qu=u):bd(n,r,c));break;default:bd(n,r,c)}}function $q(n){var r=n.alternate;if(r!==null&&(n=r.child,n!==null)){r.child=null;do r=n.sibling,n.sibling=null,n=r;while(n!==null)}}function Hu(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var c=0;c<r.length;c++){var u=r[c];Jt=u,Pq(u,n)}$q(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)jq(n),n=n.sibling}function jq(n){switch(n.tag){case 0:case 11:case 15:Hu(n),n.flags&2048&&Jr(9,n,n.return);break;case 3:Hu(n);break;case 12:Hu(n);break;case 22:var r=n.stateNode;n.memoizedState!==null&&r._visibility&2&&(n.return===null||n.return.tag!==13)?(r._visibility&=-3,H0(n)):Hu(n);break;default:Hu(n)}}function H0(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var c=0;c<r.length;c++){var u=r[c];Jt=u,Pq(u,n)}$q(n)}for(n=n.child;n!==null;){switch(r=n,r.tag){case 0:case 11:case 15:Jr(8,r,r.return),H0(r);break;case 22:c=r.stateNode,c._visibility&2&&(c._visibility&=-3,H0(r));break;default:H0(r)}n=n.sibling}}function Pq(n,r){for(;Jt!==null;){var c=Jt;switch(c.tag){case 0:case 11:case 15:Jr(8,c,r);break;case 23:case 22:if(c.memoizedState!==null&&c.memoizedState.cachePool!==null){var u=c.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:_u(c.memoizedState.cache)}if(u=c.child,u!==null)u.return=c,Jt=u;else e:for(c=n;Jt!==null;){u=Jt;var v=u.sibling,g=u.return;if(Cq(u),u===c){Jt=null;break e}if(v!==null){v.return=g,Jt=v;break e}Jt=g}}}var hJ={getCacheForType:function(n){var r=rn(Ht),c=r.data.get(n);return c===void 0&&(c=n(),r.data.set(n,c)),c},cacheSignal:function(){return rn(Ht).controller.signal}},pJ=typeof WeakMap=="function"?WeakMap:Map,dt=0,gt=null,We=null,Xe=0,ht=0,Vn=null,ei=!1,wd=!1,wR=!1,Ar=0,$t=0,ti=0,ec=0,_R=0,Bn=0,_d=0,Vu=null,Nn=null,SR=!1,V0=0,Oq=0,B0=1/0,F0=null,ni=null,Wt=0,ai=null,Sd=null,Tr=0,CR=0,NR=null,Dq=null,Bu=0,LR=null;function Fn(){return(dt&2)!==0&&Xe!==0?Xe&-Xe:R.T!==null?$R():Oi()}function zq(){if(Bn===0)if((Xe&536870912)===0||Qe){var n=Oe;Oe<<=1,(Oe&3932160)===0&&(Oe=262144),Bn=n}else Bn=536870912;return n=qn.current,n!==null&&(n.flags|=32),Bn}function Ln(n,r,c){(n===gt&&(ht===2||ht===9)||n.cancelPendingCommit!==null)&&(Cd(n,0),oi(n,Xe,Bn,!1)),xt(n,c),((dt&2)===0||n!==gt)&&(n===gt&&((dt&2)===0&&(ec|=c),$t===4&&oi(n,Xe,Bn,!1)),Jo(n))}function qq(n,r,c){if((dt&6)!==0)throw Error(o(327));var u=!c&&(r&127)===0&&(r&n.expiredLanes)===0||nt(n,r),v=u?mJ(n,r):IR(n,r,!0),g=u;do{if(v===0){wd&&!u&&oi(n,r,0,!1);break}else{if(c=n.current.alternate,g&&!fJ(c)){v=IR(n,r,!1),g=!1;continue}if(v===2){if(g=r,n.errorRecoveryDisabledLanes&g)var C=0;else C=n.pendingLanes&-536870913,C=C!==0?C:C&536870912?536870912:0;if(C!==0){r=C;e:{var E=n;v=Vu;var z=E.current.memoizedState.isDehydrated;if(z&&(Cd(E,C).flags|=256),C=IR(E,C,!1),C!==2){if(wR&&!z){E.errorRecoveryDisabledLanes|=g,ec|=g,v=4;break e}g=Nn,Nn=v,g!==null&&(Nn===null?Nn=g:Nn.push.apply(Nn,g))}v=C}if(g=!1,v!==2)continue}}if(v===1){Cd(n,0),oi(n,r,0,!0);break}e:{switch(u=n,g=v,g){case 0:case 1:throw Error(o(345));case 4:if((r&4194048)!==r)break;case 6:oi(u,r,Bn,!ei);break e;case 2:Nn=null;break;case 3:case 5:break;default:throw Error(o(329))}if((r&62914560)===r&&(v=V0+300-qe(),10<v)){if(oi(u,r,Bn,!ei),Ie(u,0,!0)!==0)break e;Tr=r,u.timeoutHandle=vH(Hq.bind(null,u,c,Nn,F0,SR,r,Bn,ec,_d,ei,g,"Throttled",-0,0),v);break e}Hq(u,c,Nn,F0,SR,r,Bn,ec,_d,ei,g,null,-0,0)}}break}while(!0);Jo(n)}function Hq(n,r,c,u,v,g,C,E,z,Q,se,ue,te,re){if(n.timeoutHandle=-1,ue=r.subtreeFlags,ue&8192||(ue&16785408)===16785408){ue={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:vr},Rq(r,g,ue);var _e=(g&62914560)===g?V0-qe():(g&4194048)===g?Oq-qe():0;if(_e=QJ(ue,_e),_e!==null){Tr=g,n.cancelPendingCommit=_e(Xq.bind(null,n,r,g,c,u,v,C,E,z,se,ue,null,te,re)),oi(n,g,C,!Q);return}}Xq(n,r,g,c,u,v,C,E,z)}function fJ(n){for(var r=n;;){var c=r.tag;if((c===0||c===11||c===15)&&r.flags&16384&&(c=r.updateQueue,c!==null&&(c=c.stores,c!==null)))for(var u=0;u<c.length;u++){var v=c[u],g=v.getSnapshot;v=v.value;try{if(!Dn(g(),v))return!1}catch{return!1}}if(c=r.child,r.subtreeFlags&16384&&c!==null)c.return=r,r=c;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function oi(n,r,c,u){r&=~_R,r&=~ec,n.suspendedLanes|=r,n.pingedLanes&=~r,u&&(n.warmLanes|=r),u=n.expirationTimes;for(var v=r;0<v;){var g=31-Z(v),C=1<<g;u[g]=-1,v&=~C}c!==0&&Wo(n,c,r)}function U0(){return(dt&6)===0?(Fu(0),!1):!0}function ER(){if(We!==null){if(ht===0)var n=We.return;else n=We,xr=Ui=null,UT(n),md=null,Cu=0,n=We;for(;n!==null;)kq(n.alternate,n),n=n.return;We=null}}function Cd(n,r){var c=n.timeoutHandle;c!==-1&&(n.timeoutHandle=-1,$J(c)),c=n.cancelPendingCommit,c!==null&&(n.cancelPendingCommit=null,c()),Tr=0,ER(),gt=n,We=c=gr(n.current,null),Xe=r,ht=0,Vn=null,ei=!1,wd=nt(n,r),wR=!1,_d=Bn=_R=ec=ti=$t=0,Nn=Vu=null,SR=!1,(r&8)!==0&&(r|=r&32);var u=n.entangledLanes;if(u!==0)for(n=n.entanglements,u&=r;0<u;){var v=31-Z(u),g=1<<v;r|=n[v],u&=~g}return Ar=r,h0(),c}function Vq(n,r){He=null,R.H=$u,r===yd||r===M0?(r=oz(),ht=3):r===RT?(r=oz(),ht=4):ht=r===cR?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,Vn=r,We===null&&($t=1,$0(n,ta(r,n.current)))}function Bq(){var n=qn.current;return n===null?!0:(Xe&4194048)===Xe?ra===null:(Xe&62914560)===Xe||(Xe&536870912)!==0?n===ra:!1}function Fq(){var n=R.H;return R.H=$u,n===null?$u:n}function Uq(){var n=R.A;return R.A=hJ,n}function G0(){$t=4,ei||(Xe&4194048)!==Xe&&qn.current!==null||(wd=!0),(ti&134217727)===0&&(ec&134217727)===0||gt===null||oi(gt,Xe,Bn,!1)}function IR(n,r,c){var u=dt;dt|=2;var v=Fq(),g=Uq();(gt!==n||Xe!==r)&&(F0=null,Cd(n,r)),r=!1;var C=$t;e:do try{if(ht!==0&&We!==null){var E=We,z=Vn;switch(ht){case 8:ER(),C=6;break e;case 3:case 2:case 9:case 6:qn.current===null&&(r=!0);var Q=ht;if(ht=0,Vn=null,Nd(n,E,z,Q),c&&wd){C=0;break e}break;default:Q=ht,ht=0,Vn=null,Nd(n,E,z,Q)}}yJ(),C=$t;break}catch(se){Vq(n,se)}while(!0);return r&&n.shellSuspendCounter++,xr=Ui=null,dt=u,R.H=v,R.A=g,We===null&&(gt=null,Xe=0,h0()),C}function yJ(){for(;We!==null;)Gq(We)}function mJ(n,r){var c=dt;dt|=2;var u=Fq(),v=Uq();gt!==n||Xe!==r?(F0=null,B0=qe()+500,Cd(n,r)):wd=nt(n,r);e:do try{if(ht!==0&&We!==null){r=We;var g=Vn;t:switch(ht){case 1:ht=0,Vn=null,Nd(n,r,g,1);break;case 2:case 9:if(nz(g)){ht=0,Vn=null,Wq(r);break}r=function(){ht!==2&&ht!==9||gt!==n||(ht=7),Jo(n)},g.then(r,r);break e;case 3:ht=7;break e;case 4:ht=5;break e;case 7:nz(g)?(ht=0,Vn=null,Wq(r)):(ht=0,Vn=null,Nd(n,r,g,7));break;case 5:var C=null;switch(We.tag){case 26:C=We.memoizedState;case 5:case 27:var E=We;if(C?TH(C):E.stateNode.complete){ht=0,Vn=null;var z=E.sibling;if(z!==null)We=z;else{var Q=E.return;Q!==null?(We=Q,W0(Q)):We=null}break t}}ht=0,Vn=null,Nd(n,r,g,5);break;case 6:ht=0,Vn=null,Nd(n,r,g,6);break;case 8:ER(),$t=6;break e;default:throw Error(o(462))}}vJ();break}catch(se){Vq(n,se)}while(!0);return xr=Ui=null,R.H=u,R.A=v,dt=c,We!==null?0:(gt=null,Xe=0,h0(),$t)}function vJ(){for(;We!==null&&!Mt();)Gq(We)}function Gq(n){var r=mq(n.alternate,n,Ar);n.memoizedProps=n.pendingProps,r===null?W0(n):We=r}function Wq(n){var r=n,c=r.alternate;switch(r.tag){case 15:case 0:r=dq(c,r,r.pendingProps,r.type,void 0,Xe);break;case 11:r=dq(c,r,r.pendingProps,r.type.render,r.ref,Xe);break;case 5:UT(r);default:kq(c,r),r=We=UD(r,Ar),r=mq(c,r,Ar)}n.memoizedProps=n.pendingProps,r===null?W0(n):We=r}function Nd(n,r,c,u){xr=Ui=null,UT(r),md=null,Cu=0;var v=r.return;try{if(rJ(n,v,r,c,Xe)){$t=1,$0(n,ta(c,n.current)),We=null;return}}catch(g){if(v!==null)throw We=v,g;$t=1,$0(n,ta(c,n.current)),We=null;return}r.flags&32768?(Qe||u===1?n=!0:wd||(Xe&536870912)!==0?n=!1:(ei=n=!0,(u===2||u===9||u===3||u===6)&&(u=qn.current,u!==null&&u.tag===13&&(u.flags|=16384))),Zq(r,n)):W0(r)}function W0(n){var r=n;do{if((r.flags&32768)!==0){Zq(r,ei);return}n=r.return;var c=sJ(r.alternate,r,Ar);if(c!==null){We=c;return}if(r=r.sibling,r!==null){We=r;return}We=r=n}while(r!==null);$t===0&&($t=5)}function Zq(n,r){do{var c=lJ(n.alternate,n);if(c!==null){c.flags&=32767,We=c;return}if(c=n.return,c!==null&&(c.flags|=32768,c.subtreeFlags=0,c.deletions=null),!r&&(n=n.sibling,n!==null)){We=n;return}We=n=c}while(n!==null);$t=6,We=null}function Xq(n,r,c,u,v,g,C,E,z){n.cancelPendingCommit=null;do Z0();while(Wt!==0);if((dt&6)!==0)throw Error(o(327));if(r!==null){if(r===n.current)throw Error(o(177));if(g=r.lanes|r.childLanes,g|=kT,nn(n,c,g,C,E,z),n===gt&&(We=gt=null,Xe=0),Sd=r,ai=n,Tr=c,CR=g,NR=v,Dq=u,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,xJ(Te,function(){return eH(),null})):(n.callbackNode=null,n.callbackPriority=0),u=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||u){u=R.T,R.T=null,v=$.p,$.p=2,C=dt,dt|=4;try{dJ(n,r,c)}finally{dt=C,$.p=v,R.T=u}}Wt=1,Kq(),Yq(),Qq()}}function Kq(){if(Wt===1){Wt=0;var n=ai,r=Sd,c=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||c){c=R.T,R.T=null;var u=$.p;$.p=2;var v=dt;dt|=4;try{Iq(r,n);var g=VR,C=PD(n.containerInfo),E=g.focusedElem,z=g.selectionRange;if(C!==E&&E&&E.ownerDocument&&jD(E.ownerDocument.documentElement,E)){if(z!==null&&pT(E)){var Q=z.start,se=z.end;if(se===void 0&&(se=Q),"selectionStart"in E)E.selectionStart=Q,E.selectionEnd=Math.min(se,E.value.length);else{var ue=E.ownerDocument||document,te=ue&&ue.defaultView||window;if(te.getSelection){var re=te.getSelection(),_e=E.textContent.length,Re=Math.min(z.start,_e),vt=z.end===void 0?Re:Math.min(z.end,_e);!re.extend&&Re>vt&&(C=vt,vt=Re,Re=C);var U=$D(E,Re),H=$D(E,vt);if(U&&H&&(re.rangeCount!==1||re.anchorNode!==U.node||re.anchorOffset!==U.offset||re.focusNode!==H.node||re.focusOffset!==H.offset)){var Y=ue.createRange();Y.setStart(U.node,U.offset),re.removeAllRanges(),Re>vt?(re.addRange(Y),re.extend(H.node,H.offset)):(Y.setEnd(H.node,H.offset),re.addRange(Y))}}}}for(ue=[],re=E;re=re.parentNode;)re.nodeType===1&&ue.push({element:re,left:re.scrollLeft,top:re.scrollTop});for(typeof E.focus=="function"&&E.focus(),E=0;E<ue.length;E++){var de=ue[E];de.element.scrollLeft=de.left,de.element.scrollTop=de.top}}ih=!!HR,VR=HR=null}finally{dt=v,$.p=u,R.T=c}}n.current=r,Wt=2}}function Yq(){if(Wt===2){Wt=0;var n=ai,r=Sd,c=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||c){c=R.T,R.T=null;var u=$.p;$.p=2;var v=dt;dt|=4;try{Sq(n,r.alternate,r)}finally{dt=v,$.p=u,R.T=c}}Wt=3}}function Qq(){if(Wt===4||Wt===3){Wt=0,Lt();var n=ai,r=Sd,c=Tr,u=Dq;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?Wt=5:(Wt=0,Sd=ai=null,Jq(n,n.pendingLanes));var v=n.pendingLanes;if(v===0&&(ni=null),yn(c),r=r.stateNode,Gt&&typeof Gt.onCommitFiberRoot=="function")try{Gt.onCommitFiberRoot(Yn,r,void 0,(r.current.flags&128)===128)}catch{}if(u!==null){r=R.T,v=$.p,$.p=2,R.T=null;try{for(var g=n.onRecoverableError,C=0;C<u.length;C++){var E=u[C];g(E.value,{componentStack:E.stack})}}finally{R.T=r,$.p=v}}(Tr&3)!==0&&Z0(),Jo(n),v=n.pendingLanes,(c&261930)!==0&&(v&42)!==0?n===LR?Bu++:(Bu=0,LR=n):Bu=0,Fu(0)}}function Jq(n,r){(n.pooledCacheLanes&=r)===0&&(r=n.pooledCache,r!=null&&(n.pooledCache=null,_u(r)))}function Z0(){return Kq(),Yq(),Qq(),eH()}function eH(){if(Wt!==5)return!1;var n=ai,r=CR;CR=0;var c=yn(Tr),u=R.T,v=$.p;try{$.p=32>c?32:c,R.T=null,c=NR,NR=null;var g=ai,C=Tr;if(Wt=0,Sd=ai=null,Tr=0,(dt&6)!==0)throw Error(o(331));var E=dt;if(dt|=4,jq(g.current),Tq(g,g.current,C,c),dt=E,Fu(0,!1),Gt&&typeof Gt.onPostCommitFiberRoot=="function")try{Gt.onPostCommitFiberRoot(Yn,g)}catch{}return!0}finally{$.p=v,R.T=u,Jq(n,r)}}function tH(n,r,c){r=ta(c,r),r=iR(n.stateNode,r,2),n=Kr(n,r,2),n!==null&&(xt(n,2),Jo(n))}function pt(n,r,c){if(n.tag===3)tH(n,n,c);else for(;r!==null;){if(r.tag===3){tH(r,n,c);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(ni===null||!ni.has(u))){n=ta(c,n),c=nq(2),u=Kr(r,c,2),u!==null&&(aq(c,u,r,n),xt(u,2),Jo(u));break}}r=r.return}}function AR(n,r,c){var u=n.pingCache;if(u===null){u=n.pingCache=new pJ;var v=new Set;u.set(r,v)}else v=u.get(r),v===void 0&&(v=new Set,u.set(r,v));v.has(c)||(wR=!0,v.add(c),n=kJ.bind(null,n,r,c),r.then(n,n))}function kJ(n,r,c){var u=n.pingCache;u!==null&&u.delete(r),n.pingedLanes|=n.suspendedLanes&c,n.warmLanes&=~c,gt===n&&(Xe&c)===c&&($t===4||$t===3&&(Xe&62914560)===Xe&&300>qe()-V0?(dt&2)===0&&Cd(n,0):_R|=c,_d===Xe&&(_d=0)),Jo(n)}function nH(n,r){r===0&&(r=Et()),n=Vi(n,r),n!==null&&(xt(n,r),Jo(n))}function gJ(n){var r=n.memoizedState,c=0;r!==null&&(c=r.retryLane),nH(n,c)}function MJ(n,r){var c=0;switch(n.tag){case 31:case 13:var u=n.stateNode,v=n.memoizedState;v!==null&&(c=v.retryLane);break;case 19:u=n.stateNode;break;case 22:u=n.stateNode._retryCache;break;default:throw Error(o(314))}u!==null&&u.delete(r),nH(n,c)}function xJ(n,r){return Ut(n,r)}var X0=null,Ld=null,TR=!1,K0=!1,RR=!1,ri=0;function Jo(n){n!==Ld&&n.next===null&&(Ld===null?X0=Ld=n:Ld=Ld.next=n),K0=!0,TR||(TR=!0,wJ())}function Fu(n,r){if(!RR&&K0){RR=!0;do for(var c=!1,u=X0;u!==null;){if(n!==0){var v=u.pendingLanes;if(v===0)var g=0;else{var C=u.suspendedLanes,E=u.pingedLanes;g=(1<<31-Z(42|n)+1)-1,g&=v&~(C&~E),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(c=!0,iH(u,g))}else g=Xe,g=Ie(u,u===gt?g:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(g&3)===0||nt(u,g)||(c=!0,iH(u,g));u=u.next}while(c);RR=!1}}function bJ(){aH()}function aH(){K0=TR=!1;var n=0;ri!==0&&RJ()&&(n=ri);for(var r=qe(),c=null,u=X0;u!==null;){var v=u.next,g=oH(u,r);g===0?(u.next=null,c===null?X0=v:c.next=v,v===null&&(Ld=c)):(c=u,(n!==0||(g&3)!==0)&&(K0=!0)),u=v}Wt!==0&&Wt!==5||Fu(n),ri!==0&&(ri=0)}function oH(n,r){for(var c=n.suspendedLanes,u=n.pingedLanes,v=n.expirationTimes,g=n.pendingLanes&-62914561;0<g;){var C=31-Z(g),E=1<<C,z=v[C];z===-1?((E&c)===0||(E&u)!==0)&&(v[C]=Tt(E,r)):z<=r&&(n.expiredLanes|=E),g&=~E}if(r=gt,c=Xe,c=Ie(n,n===r?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u=n.callbackNode,c===0||n===r&&(ht===2||ht===9)||n.cancelPendingCommit!==null)return u!==null&&u!==null&&At(u),n.callbackNode=null,n.callbackPriority=0;if((c&3)===0||nt(n,c)){if(r=c&-c,r===n.callbackPriority)return r;switch(u!==null&&At(u),yn(c)){case 2:case 8:c=Ne;break;case 32:c=Te;break;case 268435456:c=jt;break;default:c=Te}return u=rH.bind(null,n),c=Ut(c,u),n.callbackPriority=r,n.callbackNode=c,r}return u!==null&&u!==null&&At(u),n.callbackPriority=2,n.callbackNode=null,2}function rH(n,r){if(Wt!==0&&Wt!==5)return n.callbackNode=null,n.callbackPriority=0,null;var c=n.callbackNode;if(Z0()&&n.callbackNode!==c)return null;var u=Xe;return u=Ie(n,n===gt?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u===0?null:(qq(n,u,r),oH(n,qe()),n.callbackNode!=null&&n.callbackNode===c?rH.bind(null,n):null)}function iH(n,r){if(Z0())return null;qq(n,r,!0)}function wJ(){jJ(function(){(dt&6)!==0?Ut(De,bJ):aH()})}function $R(){if(ri===0){var n=pd;n===0&&(n=rt,rt<<=1,(rt&261888)===0&&(rt=256)),ri=n}return ri}function cH(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:o0(""+n)}function sH(n,r){var c=r.ownerDocument.createElement("input");return c.name=r.name,c.value=r.value,n.id&&c.setAttribute("form",n.id),r.parentNode.insertBefore(c,r),n=new FormData(n),c.parentNode.removeChild(c),n}function _J(n,r,c,u,v){if(r==="submit"&&c&&c.stateNode===v){var g=cH((v[an]||null).action),C=u.submitter;C&&(r=(r=C[an]||null)?cH(r.formAction):C.getAttribute("formAction"),r!==null&&(g=r,C=null));var E=new s0("action","action",null,u,v);n.push({event:E,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(ri!==0){var z=C?sH(v,C):new FormData(v);eR(c,{pending:!0,data:z,method:v.method,action:g},null,z)}}else typeof g=="function"&&(E.preventDefault(),z=C?sH(v,C):new FormData(v),eR(c,{pending:!0,data:z,method:v.method,action:g},g,z))},currentTarget:v}]})}}for(var jR=0;jR<vT.length;jR++){var PR=vT[jR],SJ=PR.toLowerCase(),CJ=PR[0].toUpperCase()+PR.slice(1);pa(SJ,"on"+CJ)}pa(zD,"onAnimationEnd"),pa(qD,"onAnimationIteration"),pa(HD,"onAnimationStart"),pa("dblclick","onDoubleClick"),pa("focusin","onFocus"),pa("focusout","onBlur"),pa(VQ,"onTransitionRun"),pa(BQ,"onTransitionStart"),pa(FQ,"onTransitionCancel"),pa(VD,"onTransitionEnd"),J1("onMouseEnter",["mouseout","mouseover"]),J1("onMouseLeave",["mouseout","mouseover"]),J1("onPointerEnter",["pointerout","pointerover"]),J1("onPointerLeave",["pointerout","pointerover"]),Di("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Di("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Di("onBeforeInput",["compositionend","keypress","textInput","paste"]),Di("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Di("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Di("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Uu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),NJ=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Uu));function lH(n,r){r=(r&4)!==0;for(var c=0;c<n.length;c++){var u=n[c],v=u.event;u=u.listeners;e:{var g=void 0;if(r)for(var C=u.length-1;0<=C;C--){var E=u[C],z=E.instance,Q=E.currentTarget;if(E=E.listener,z!==g&&v.isPropagationStopped())break e;g=E,v.currentTarget=Q;try{g(v)}catch(se){u0(se)}v.currentTarget=null,g=z}else for(C=0;C<u.length;C++){if(E=u[C],z=E.instance,Q=E.currentTarget,E=E.listener,z!==g&&v.isPropagationStopped())break e;g=E,v.currentTarget=Q;try{g(v)}catch(se){u0(se)}v.currentTarget=null,g=z}}}}function Ze(n,r){var c=r[K1];c===void 0&&(c=r[K1]=new Set);var u=n+"__bubble";c.has(u)||(dH(r,n,2,!1),c.add(u))}function OR(n,r,c){var u=0;r&&(u|=4),dH(c,n,u,r)}var Y0="_reactListening"+Math.random().toString(36).slice(2);function DR(n){if(!n[Y0]){n[Y0]=!0,aD.forEach(function(c){c!=="selectionchange"&&(NJ.has(c)||OR(c,!1,n),OR(c,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[Y0]||(r[Y0]=!0,OR("selectionchange",!1,r))}}function dH(n,r,c,u){switch(zH(r)){case 2:var v=tee;break;case 8:v=nee;break;default:v=JR}c=v.bind(null,r,c,n),v=void 0,!oT||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(v=!0),u?v!==void 0?n.addEventListener(r,c,{capture:!0,passive:v}):n.addEventListener(r,c,!0):v!==void 0?n.addEventListener(r,c,{passive:v}):n.addEventListener(r,c,!1)}function zR(n,r,c,u,v){var g=u;if((r&1)===0&&(r&2)===0&&u!==null)e:for(;;){if(u===null)return;var C=u.tag;if(C===3||C===4){var E=u.stateNode.containerInfo;if(E===v)break;if(C===4)for(C=u.return;C!==null;){var z=C.tag;if((z===3||z===4)&&C.stateNode.containerInfo===v)return;C=C.return}for(;E!==null;){if(C=yr(E),C===null)return;if(z=C.tag,z===5||z===6||z===26||z===27){u=g=C;continue e}E=E.parentNode}}u=u.return}yD(function(){var Q=g,se=nT(c),ue=[];e:{var te=BD.get(n);if(te!==void 0){var re=s0,_e=n;switch(n){case"keypress":if(i0(c)===0)break e;case"keydown":case"keyup":re=MQ;break;case"focusin":_e="focus",re=sT;break;case"focusout":_e="blur",re=sT;break;case"beforeblur":case"afterblur":re=sT;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":re=kD;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":re=sQ;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":re=wQ;break;case zD:case qD:case HD:re=uQ;break;case VD:re=SQ;break;case"scroll":case"scrollend":re=iQ;break;case"wheel":re=NQ;break;case"copy":case"cut":case"paste":re=pQ;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":re=MD;break;case"toggle":case"beforetoggle":re=EQ}var Re=(r&4)!==0,vt=!Re&&(n==="scroll"||n==="scrollend"),U=Re?te!==null?te+"Capture":null:te;Re=[];for(var H=Q,Y;H!==null;){var de=H;if(Y=de.stateNode,de=de.tag,de!==5&&de!==26&&de!==27||Y===null||U===null||(de=pu(H,U),de!=null&&Re.push(Gu(H,de,Y))),vt)break;H=H.return}0<Re.length&&(te=new re(te,_e,null,c,se),ue.push({event:te,listeners:Re}))}}if((r&7)===0){e:{if(te=n==="mouseover"||n==="pointerover",re=n==="mouseout"||n==="pointerout",te&&c!==tT&&(_e=c.relatedTarget||c.fromElement)&&(yr(_e)||_e[Zo]))break e;if((re||te)&&(te=se.window===se?se:(te=se.ownerDocument)?te.defaultView||te.parentWindow:window,re?(_e=c.relatedTarget||c.toElement,re=Q,_e=_e?yr(_e):null,_e!==null&&(vt=s(_e),Re=_e.tag,_e!==vt||Re!==5&&Re!==27&&Re!==6)&&(_e=null)):(re=null,_e=Q),re!==_e)){if(Re=kD,de="onMouseLeave",U="onMouseEnter",H="mouse",(n==="pointerout"||n==="pointerover")&&(Re=MD,de="onPointerLeave",U="onPointerEnter",H="pointer"),vt=re==null?te:hu(re),Y=_e==null?te:hu(_e),te=new Re(de,H+"leave",re,c,se),te.target=vt,te.relatedTarget=Y,de=null,yr(se)===Q&&(Re=new Re(U,H+"enter",_e,c,se),Re.target=Y,Re.relatedTarget=vt,de=Re),vt=de,re&&_e)t:{for(Re=LJ,U=re,H=_e,Y=0,de=U;de;de=Re(de))Y++;de=0;for(var Ae=H;Ae;Ae=Re(Ae))de++;for(;0<Y-de;)U=Re(U),Y--;for(;0<de-Y;)H=Re(H),de--;for(;Y--;){if(U===H||H!==null&&U===H.alternate){Re=U;break t}U=Re(U),H=Re(H)}Re=null}else Re=null;re!==null&&uH(ue,te,re,Re,!1),_e!==null&&vt!==null&&uH(ue,vt,_e,Re,!0)}}e:{if(te=Q?hu(Q):window,re=te.nodeName&&te.nodeName.toLowerCase(),re==="select"||re==="input"&&te.type==="file")var it=LD;else if(CD(te))if(ED)it=zQ;else{it=OQ;var Le=PQ}else re=te.nodeName,!re||re.toLowerCase()!=="input"||te.type!=="checkbox"&&te.type!=="radio"?Q&&eT(Q.elementType)&&(it=LD):it=DQ;if(it&&(it=it(n,Q))){ND(ue,it,c,se);break e}Le&&Le(n,te,Q),n==="focusout"&&Q&&te.type==="number"&&Q.memoizedProps.value!=null&&JA(te,"number",te.value)}switch(Le=Q?hu(Q):window,n){case"focusin":(CD(Le)||Le.contentEditable==="true")&&(rd=Le,fT=Q,xu=null);break;case"focusout":xu=fT=rd=null;break;case"mousedown":yT=!0;break;case"contextmenu":case"mouseup":case"dragend":yT=!1,OD(ue,c,se);break;case"selectionchange":if(HQ)break;case"keydown":case"keyup":OD(ue,c,se)}var Be;if(dT)e:{switch(n){case"compositionstart":var Ke="onCompositionStart";break e;case"compositionend":Ke="onCompositionEnd";break e;case"compositionupdate":Ke="onCompositionUpdate";break e}Ke=void 0}else od?_D(n,c)&&(Ke="onCompositionEnd"):n==="keydown"&&c.keyCode===229&&(Ke="onCompositionStart");Ke&&(xD&&c.locale!=="ko"&&(od||Ke!=="onCompositionStart"?Ke==="onCompositionEnd"&&od&&(Be=mD()):(Br=se,rT="value"in Br?Br.value:Br.textContent,od=!0)),Le=Q0(Q,Ke),0<Le.length&&(Ke=new gD(Ke,n,null,c,se),ue.push({event:Ke,listeners:Le}),Be?Ke.data=Be:(Be=SD(c),Be!==null&&(Ke.data=Be)))),(Be=AQ?TQ(n,c):RQ(n,c))&&(Ke=Q0(Q,"onBeforeInput"),0<Ke.length&&(Le=new gD("onBeforeInput","beforeinput",null,c,se),ue.push({event:Le,listeners:Ke}),Le.data=Be)),_J(ue,n,Q,c,se)}lH(ue,r)})}function Gu(n,r,c){return{instance:n,listener:r,currentTarget:c}}function Q0(n,r){for(var c=r+"Capture",u=[];n!==null;){var v=n,g=v.stateNode;if(v=v.tag,v!==5&&v!==26&&v!==27||g===null||(v=pu(n,c),v!=null&&u.unshift(Gu(n,v,g)),v=pu(n,r),v!=null&&u.push(Gu(n,v,g))),n.tag===3)return u;n=n.return}return[]}function LJ(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function uH(n,r,c,u,v){for(var g=r._reactName,C=[];c!==null&&c!==u;){var E=c,z=E.alternate,Q=E.stateNode;if(E=E.tag,z!==null&&z===u)break;E!==5&&E!==26&&E!==27||Q===null||(z=Q,v?(Q=pu(c,g),Q!=null&&C.unshift(Gu(c,Q,z))):v||(Q=pu(c,g),Q!=null&&C.push(Gu(c,Q,z)))),c=c.return}C.length!==0&&n.push({event:r,listeners:C})}var EJ=/\r\n?/g,IJ=/\u0000|\uFFFD/g;function hH(n){return(typeof n=="string"?n:""+n).replace(EJ,`
115
+ `).replace(IJ,"")}function pH(n,r){return r=hH(r),hH(n)===r}function mt(n,r,c,u,v,g){switch(c){case"children":typeof u=="string"?r==="body"||r==="textarea"&&u===""||td(n,u):(typeof u=="number"||typeof u=="bigint")&&r!=="body"&&td(n,""+u);break;case"className":n0(n,"class",u);break;case"tabIndex":n0(n,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":n0(n,c,u);break;case"style":pD(n,u,g);break;case"data":if(r!=="object"){n0(n,"data",u);break}case"src":case"href":if(u===""&&(r!=="a"||c!=="href")){n.removeAttribute(c);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(c);break}u=o0(""+u),n.setAttribute(c,u);break;case"action":case"formAction":if(typeof u=="function"){n.setAttribute(c,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof g=="function"&&(c==="formAction"?(r!=="input"&&mt(n,r,"name",v.name,v,null),mt(n,r,"formEncType",v.formEncType,v,null),mt(n,r,"formMethod",v.formMethod,v,null),mt(n,r,"formTarget",v.formTarget,v,null)):(mt(n,r,"encType",v.encType,v,null),mt(n,r,"method",v.method,v,null),mt(n,r,"target",v.target,v,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(c);break}u=o0(""+u),n.setAttribute(c,u);break;case"onClick":u!=null&&(n.onclick=vr);break;case"onScroll":u!=null&&Ze("scroll",n);break;case"onScrollEnd":u!=null&&Ze("scrollend",n);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(o(61));if(c=u.__html,c!=null){if(v.children!=null)throw Error(o(60));n.innerHTML=c}}break;case"multiple":n.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":n.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){n.removeAttribute("xlink:href");break}c=o0(""+u),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",c);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(c,""+u):n.removeAttribute(c);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(c,""):n.removeAttribute(c);break;case"capture":case"download":u===!0?n.setAttribute(c,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(c,u):n.removeAttribute(c);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?n.setAttribute(c,u):n.removeAttribute(c);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?n.removeAttribute(c):n.setAttribute(c,u);break;case"popover":Ze("beforetoggle",n),Ze("toggle",n),t0(n,"popover",u);break;case"xlinkActuate":mr(n,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":mr(n,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":mr(n,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":mr(n,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":mr(n,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":mr(n,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":mr(n,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":mr(n,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":mr(n,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":t0(n,"is",u);break;case"innerText":case"textContent":break;default:(!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(c=oQ.get(c)||c,t0(n,c,u))}}function qR(n,r,c,u,v,g){switch(c){case"style":pD(n,u,g);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(o(61));if(c=u.__html,c!=null){if(v.children!=null)throw Error(o(60));n.innerHTML=c}}break;case"children":typeof u=="string"?td(n,u):(typeof u=="number"||typeof u=="bigint")&&td(n,""+u);break;case"onScroll":u!=null&&Ze("scroll",n);break;case"onScrollEnd":u!=null&&Ze("scrollend",n);break;case"onClick":u!=null&&(n.onclick=vr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!oD.hasOwnProperty(c))e:{if(c[0]==="o"&&c[1]==="n"&&(v=c.endsWith("Capture"),r=c.slice(2,v?c.length-7:void 0),g=n[an]||null,g=g!=null?g[c]:null,typeof g=="function"&&n.removeEventListener(r,g,v),typeof u=="function")){typeof g!="function"&&g!==null&&(c in n?n[c]=null:n.hasAttribute(c)&&n.removeAttribute(c)),n.addEventListener(r,u,v);break e}c in n?n[c]=u:u===!0?n.setAttribute(c,""):t0(n,c,u)}}}function sn(n,r,c){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ze("error",n),Ze("load",n);var u=!1,v=!1,g;for(g in c)if(c.hasOwnProperty(g)){var C=c[g];if(C!=null)switch(g){case"src":u=!0;break;case"srcSet":v=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,r));default:mt(n,r,g,C,c,null)}}v&&mt(n,r,"srcSet",c.srcSet,c,null),u&&mt(n,r,"src",c.src,c,null);return;case"input":Ze("invalid",n);var E=g=C=v=null,z=null,Q=null;for(u in c)if(c.hasOwnProperty(u)){var se=c[u];if(se!=null)switch(u){case"name":v=se;break;case"type":C=se;break;case"checked":z=se;break;case"defaultChecked":Q=se;break;case"value":g=se;break;case"defaultValue":E=se;break;case"children":case"dangerouslySetInnerHTML":if(se!=null)throw Error(o(137,r));break;default:mt(n,r,u,se,c,null)}}lD(n,g,E,z,Q,C,v,!1);return;case"select":Ze("invalid",n),u=C=g=null;for(v in c)if(c.hasOwnProperty(v)&&(E=c[v],E!=null))switch(v){case"value":g=E;break;case"defaultValue":C=E;break;case"multiple":u=E;default:mt(n,r,v,E,c,null)}r=g,c=C,n.multiple=!!u,r!=null?ed(n,!!u,r,!1):c!=null&&ed(n,!!u,c,!0);return;case"textarea":Ze("invalid",n),g=v=u=null;for(C in c)if(c.hasOwnProperty(C)&&(E=c[C],E!=null))switch(C){case"value":u=E;break;case"defaultValue":v=E;break;case"children":g=E;break;case"dangerouslySetInnerHTML":if(E!=null)throw Error(o(91));break;default:mt(n,r,C,E,c,null)}uD(n,u,v,g);return;case"option":for(z in c)if(c.hasOwnProperty(z)&&(u=c[z],u!=null))switch(z){case"selected":n.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:mt(n,r,z,u,c,null)}return;case"dialog":Ze("beforetoggle",n),Ze("toggle",n),Ze("cancel",n),Ze("close",n);break;case"iframe":case"object":Ze("load",n);break;case"video":case"audio":for(u=0;u<Uu.length;u++)Ze(Uu[u],n);break;case"image":Ze("error",n),Ze("load",n);break;case"details":Ze("toggle",n);break;case"embed":case"source":case"link":Ze("error",n),Ze("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Q in c)if(c.hasOwnProperty(Q)&&(u=c[Q],u!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,r));default:mt(n,r,Q,u,c,null)}return;default:if(eT(r)){for(se in c)c.hasOwnProperty(se)&&(u=c[se],u!==void 0&&qR(n,r,se,u,c,void 0));return}}for(E in c)c.hasOwnProperty(E)&&(u=c[E],u!=null&&mt(n,r,E,u,c,null))}function AJ(n,r,c,u){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var v=null,g=null,C=null,E=null,z=null,Q=null,se=null;for(re in c){var ue=c[re];if(c.hasOwnProperty(re)&&ue!=null)switch(re){case"checked":break;case"value":break;case"defaultValue":z=ue;default:u.hasOwnProperty(re)||mt(n,r,re,null,u,ue)}}for(var te in u){var re=u[te];if(ue=c[te],u.hasOwnProperty(te)&&(re!=null||ue!=null))switch(te){case"type":g=re;break;case"name":v=re;break;case"checked":Q=re;break;case"defaultChecked":se=re;break;case"value":C=re;break;case"defaultValue":E=re;break;case"children":case"dangerouslySetInnerHTML":if(re!=null)throw Error(o(137,r));break;default:re!==ue&&mt(n,r,te,re,u,ue)}}QA(n,C,E,z,Q,se,g,v);return;case"select":re=C=E=te=null;for(g in c)if(z=c[g],c.hasOwnProperty(g)&&z!=null)switch(g){case"value":break;case"multiple":re=z;default:u.hasOwnProperty(g)||mt(n,r,g,null,u,z)}for(v in u)if(g=u[v],z=c[v],u.hasOwnProperty(v)&&(g!=null||z!=null))switch(v){case"value":te=g;break;case"defaultValue":E=g;break;case"multiple":C=g;default:g!==z&&mt(n,r,v,g,u,z)}r=E,c=C,u=re,te!=null?ed(n,!!c,te,!1):!!u!=!!c&&(r!=null?ed(n,!!c,r,!0):ed(n,!!c,c?[]:"",!1));return;case"textarea":re=te=null;for(E in c)if(v=c[E],c.hasOwnProperty(E)&&v!=null&&!u.hasOwnProperty(E))switch(E){case"value":break;case"children":break;default:mt(n,r,E,null,u,v)}for(C in u)if(v=u[C],g=c[C],u.hasOwnProperty(C)&&(v!=null||g!=null))switch(C){case"value":te=v;break;case"defaultValue":re=v;break;case"children":break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(o(91));break;default:v!==g&&mt(n,r,C,v,u,g)}dD(n,te,re);return;case"option":for(var _e in c)if(te=c[_e],c.hasOwnProperty(_e)&&te!=null&&!u.hasOwnProperty(_e))switch(_e){case"selected":n.selected=!1;break;default:mt(n,r,_e,null,u,te)}for(z in u)if(te=u[z],re=c[z],u.hasOwnProperty(z)&&te!==re&&(te!=null||re!=null))switch(z){case"selected":n.selected=te&&typeof te!="function"&&typeof te!="symbol";break;default:mt(n,r,z,te,u,re)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Re in c)te=c[Re],c.hasOwnProperty(Re)&&te!=null&&!u.hasOwnProperty(Re)&&mt(n,r,Re,null,u,te);for(Q in u)if(te=u[Q],re=c[Q],u.hasOwnProperty(Q)&&te!==re&&(te!=null||re!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(o(137,r));break;default:mt(n,r,Q,te,u,re)}return;default:if(eT(r)){for(var vt in c)te=c[vt],c.hasOwnProperty(vt)&&te!==void 0&&!u.hasOwnProperty(vt)&&qR(n,r,vt,void 0,u,te);for(se in u)te=u[se],re=c[se],!u.hasOwnProperty(se)||te===re||te===void 0&&re===void 0||qR(n,r,se,te,u,re);return}}for(var U in c)te=c[U],c.hasOwnProperty(U)&&te!=null&&!u.hasOwnProperty(U)&&mt(n,r,U,null,u,te);for(ue in u)te=u[ue],re=c[ue],!u.hasOwnProperty(ue)||te===re||te==null&&re==null||mt(n,r,ue,te,u,re)}function fH(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function TJ(){if(typeof performance.getEntriesByType=="function"){for(var n=0,r=0,c=performance.getEntriesByType("resource"),u=0;u<c.length;u++){var v=c[u],g=v.transferSize,C=v.initiatorType,E=v.duration;if(g&&E&&fH(C)){for(C=0,E=v.responseEnd,u+=1;u<c.length;u++){var z=c[u],Q=z.startTime;if(Q>E)break;var se=z.transferSize,ue=z.initiatorType;se&&fH(ue)&&(z=z.responseEnd,C+=se*(z<E?1:(E-Q)/(z-Q)))}if(--u,r+=8*(g+C)/(v.duration/1e3),n++,10<n)break}}if(0<n)return r/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var HR=null,VR=null;function J0(n){return n.nodeType===9?n:n.ownerDocument}function yH(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function mH(n,r){if(n===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&r==="foreignObject"?0:n}function BR(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.children=="bigint"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var FR=null;function RJ(){var n=window.event;return n&&n.type==="popstate"?n===FR?!1:(FR=n,!0):(FR=null,!1)}var vH=typeof setTimeout=="function"?setTimeout:void 0,$J=typeof clearTimeout=="function"?clearTimeout:void 0,kH=typeof Promise=="function"?Promise:void 0,jJ=typeof queueMicrotask=="function"?queueMicrotask:typeof kH<"u"?function(n){return kH.resolve(null).then(n).catch(PJ)}:vH;function PJ(n){setTimeout(function(){throw n})}function ii(n){return n==="head"}function gH(n,r){var c=r,u=0;do{var v=c.nextSibling;if(n.removeChild(c),v&&v.nodeType===8)if(c=v.data,c==="/$"||c==="/&"){if(u===0){n.removeChild(v),Td(r);return}u--}else if(c==="$"||c==="$?"||c==="$~"||c==="$!"||c==="&")u++;else if(c==="html")Wu(n.ownerDocument.documentElement);else if(c==="head"){c=n.ownerDocument.head,Wu(c);for(var g=c.firstChild;g;){var C=g.nextSibling,E=g.nodeName;g[Xo]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&g.rel.toLowerCase()==="stylesheet"||c.removeChild(g),g=C}}else c==="body"&&Wu(n.ownerDocument.body);c=v}while(c);Td(r)}function MH(n,r){var c=n;n=0;do{var u=c.nextSibling;if(c.nodeType===1?r?(c._stashedDisplay=c.style.display,c.style.display="none"):(c.style.display=c._stashedDisplay||"",c.getAttribute("style")===""&&c.removeAttribute("style")):c.nodeType===3&&(r?(c._stashedText=c.nodeValue,c.nodeValue=""):c.nodeValue=c._stashedText||""),u&&u.nodeType===8)if(c=u.data,c==="/$"){if(n===0)break;n--}else c!=="$"&&c!=="$?"&&c!=="$~"&&c!=="$!"||n++;c=u}while(c)}function UR(n){var r=n.firstChild;for(r&&r.nodeType===10&&(r=r.nextSibling);r;){var c=r;switch(r=r.nextSibling,c.nodeName){case"HTML":case"HEAD":case"BODY":UR(c),uu(c);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(c.rel.toLowerCase()==="stylesheet")continue}n.removeChild(c)}}function OJ(n,r,c,u){for(;n.nodeType===1;){var v=c;if(n.nodeName.toLowerCase()!==r.toLowerCase()){if(!u&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(u){if(!n[Xo])switch(r){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(g=n.getAttribute("rel"),g==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(g!==v.rel||n.getAttribute("href")!==(v.href==null||v.href===""?null:v.href)||n.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin)||n.getAttribute("title")!==(v.title==null?null:v.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(g=n.getAttribute("src"),(g!==(v.src==null?null:v.src)||n.getAttribute("type")!==(v.type==null?null:v.type)||n.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin))&&g&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(r==="input"&&n.type==="hidden"){var g=v.name==null?null:""+v.name;if(v.type==="hidden"&&n.getAttribute("name")===g)return n}else return n;if(n=ia(n.nextSibling),n===null)break}return null}function DJ(n,r,c){if(r==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!c||(n=ia(n.nextSibling),n===null))return null;return n}function xH(n,r){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!r||(n=ia(n.nextSibling),n===null))return null;return n}function GR(n){return n.data==="$?"||n.data==="$~"}function WR(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function zJ(n,r){var c=n.ownerDocument;if(n.data==="$~")n._reactRetry=r;else if(n.data!=="$?"||c.readyState!=="loading")r();else{var u=function(){r(),c.removeEventListener("DOMContentLoaded",u)};c.addEventListener("DOMContentLoaded",u),n._reactRetry=u}}function ia(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"||r==="F!"||r==="F")break;if(r==="/$"||r==="/&")return null}}return n}var ZR=null;function bH(n){n=n.nextSibling;for(var r=0;n;){if(n.nodeType===8){var c=n.data;if(c==="/$"||c==="/&"){if(r===0)return ia(n.nextSibling);r--}else c!=="$"&&c!=="$!"&&c!=="$?"&&c!=="$~"&&c!=="&"||r++}n=n.nextSibling}return null}function wH(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var c=n.data;if(c==="$"||c==="$!"||c==="$?"||c==="$~"||c==="&"){if(r===0)return n;r--}else c!=="/$"&&c!=="/&"||r++}n=n.previousSibling}return null}function _H(n,r,c){switch(r=J0(c),n){case"html":if(n=r.documentElement,!n)throw Error(o(452));return n;case"head":if(n=r.head,!n)throw Error(o(453));return n;case"body":if(n=r.body,!n)throw Error(o(454));return n;default:throw Error(o(451))}}function Wu(n){for(var r=n.attributes;r.length;)n.removeAttributeNode(r[0]);uu(n)}var ca=new Map,SH=new Set;function eh(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var Rr=$.d;$.d={f:qJ,r:HJ,D:VJ,C:BJ,L:FJ,m:UJ,X:WJ,S:GJ,M:ZJ};function qJ(){var n=Rr.f(),r=U0();return n||r}function HJ(n){var r=Y1(n);r!==null&&r.tag===5&&r.type==="form"?Vz(r):Rr.r(n)}var Ed=typeof document>"u"?null:document;function CH(n,r,c){var u=Ed;if(u&&typeof r=="string"&&r){var v=Jn(r);v='link[rel="'+n+'"][href="'+v+'"]',typeof c=="string"&&(v+='[crossorigin="'+c+'"]'),SH.has(v)||(SH.add(v),n={rel:n,crossOrigin:c,href:r},u.querySelector(v)===null&&(r=u.createElement("link"),sn(r,"link",n),Qt(r),u.head.appendChild(r)))}}function VJ(n){Rr.D(n),CH("dns-prefetch",n,null)}function BJ(n,r){Rr.C(n,r),CH("preconnect",n,r)}function FJ(n,r,c){Rr.L(n,r,c);var u=Ed;if(u&&n&&r){var v='link[rel="preload"][as="'+Jn(r)+'"]';r==="image"&&c&&c.imageSrcSet?(v+='[imagesrcset="'+Jn(c.imageSrcSet)+'"]',typeof c.imageSizes=="string"&&(v+='[imagesizes="'+Jn(c.imageSizes)+'"]')):v+='[href="'+Jn(n)+'"]';var g=v;switch(r){case"style":g=Id(n);break;case"script":g=Ad(n)}ca.has(g)||(n=m({rel:"preload",href:r==="image"&&c&&c.imageSrcSet?void 0:n,as:r},c),ca.set(g,n),u.querySelector(v)!==null||r==="style"&&u.querySelector(Zu(g))||r==="script"&&u.querySelector(Xu(g))||(r=u.createElement("link"),sn(r,"link",n),Qt(r),u.head.appendChild(r)))}}function UJ(n,r){Rr.m(n,r);var c=Ed;if(c&&n){var u=r&&typeof r.as=="string"?r.as:"script",v='link[rel="modulepreload"][as="'+Jn(u)+'"][href="'+Jn(n)+'"]',g=v;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Ad(n)}if(!ca.has(g)&&(n=m({rel:"modulepreload",href:n},r),ca.set(g,n),c.querySelector(v)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c.querySelector(Xu(g)))return}u=c.createElement("link"),sn(u,"link",n),Qt(u),c.head.appendChild(u)}}}function GJ(n,r,c){Rr.S(n,r,c);var u=Ed;if(u&&n){var v=Q1(u).hoistableStyles,g=Id(n);r=r||"default";var C=v.get(g);if(!C){var E={loading:0,preload:null};if(C=u.querySelector(Zu(g)))E.loading=5;else{n=m({rel:"stylesheet",href:n,"data-precedence":r},c),(c=ca.get(g))&&XR(n,c);var z=C=u.createElement("link");Qt(z),sn(z,"link",n),z._p=new Promise(function(Q,se){z.onload=Q,z.onerror=se}),z.addEventListener("load",function(){E.loading|=1}),z.addEventListener("error",function(){E.loading|=2}),E.loading|=4,th(C,r,u)}C={type:"stylesheet",instance:C,count:1,state:E},v.set(g,C)}}}function WJ(n,r){Rr.X(n,r);var c=Ed;if(c&&n){var u=Q1(c).hoistableScripts,v=Ad(n),g=u.get(v);g||(g=c.querySelector(Xu(v)),g||(n=m({src:n,async:!0},r),(r=ca.get(v))&&KR(n,r),g=c.createElement("script"),Qt(g),sn(g,"link",n),c.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},u.set(v,g))}}function ZJ(n,r){Rr.M(n,r);var c=Ed;if(c&&n){var u=Q1(c).hoistableScripts,v=Ad(n),g=u.get(v);g||(g=c.querySelector(Xu(v)),g||(n=m({src:n,async:!0,type:"module"},r),(r=ca.get(v))&&KR(n,r),g=c.createElement("script"),Qt(g),sn(g,"link",n),c.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},u.set(v,g))}}function NH(n,r,c,u){var v=(v=ye.current)?eh(v):null;if(!v)throw Error(o(446));switch(n){case"meta":case"title":return null;case"style":return typeof c.precedence=="string"&&typeof c.href=="string"?(r=Id(c.href),c=Q1(v).hoistableStyles,u=c.get(r),u||(u={type:"style",instance:null,count:0,state:null},c.set(r,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(c.rel==="stylesheet"&&typeof c.href=="string"&&typeof c.precedence=="string"){n=Id(c.href);var g=Q1(v).hoistableStyles,C=g.get(n);if(C||(v=v.ownerDocument||v,C={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(n,C),(g=v.querySelector(Zu(n)))&&!g._p&&(C.instance=g,C.state.loading=5),ca.has(n)||(c={rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},ca.set(n,c),g||XJ(v,n,c,C.state))),r&&u===null)throw Error(o(528,""));return C}if(r&&u!==null)throw Error(o(529,""));return null;case"script":return r=c.async,c=c.src,typeof c=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=Ad(c),c=Q1(v).hoistableScripts,u=c.get(r),u||(u={type:"script",instance:null,count:0,state:null},c.set(r,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,n))}}function Id(n){return'href="'+Jn(n)+'"'}function Zu(n){return'link[rel="stylesheet"]['+n+"]"}function LH(n){return m({},n,{"data-precedence":n.precedence,precedence:null})}function XJ(n,r,c,u){n.querySelector('link[rel="preload"][as="style"]['+r+"]")?u.loading=1:(r=n.createElement("link"),u.preload=r,r.addEventListener("load",function(){return u.loading|=1}),r.addEventListener("error",function(){return u.loading|=2}),sn(r,"link",c),Qt(r),n.head.appendChild(r))}function Ad(n){return'[src="'+Jn(n)+'"]'}function Xu(n){return"script[async]"+n}function EH(n,r,c){if(r.count++,r.instance===null)switch(r.type){case"style":var u=n.querySelector('style[data-href~="'+Jn(c.href)+'"]');if(u)return r.instance=u,Qt(u),u;var v=m({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});return u=(n.ownerDocument||n).createElement("style"),Qt(u),sn(u,"style",v),th(u,c.precedence,n),r.instance=u;case"stylesheet":v=Id(c.href);var g=n.querySelector(Zu(v));if(g)return r.state.loading|=4,r.instance=g,Qt(g),g;u=LH(c),(v=ca.get(v))&&XR(u,v),g=(n.ownerDocument||n).createElement("link"),Qt(g);var C=g;return C._p=new Promise(function(E,z){C.onload=E,C.onerror=z}),sn(g,"link",u),r.state.loading|=4,th(g,c.precedence,n),r.instance=g;case"script":return g=Ad(c.src),(v=n.querySelector(Xu(g)))?(r.instance=v,Qt(v),v):(u=c,(v=ca.get(g))&&(u=m({},c),KR(u,v)),n=n.ownerDocument||n,v=n.createElement("script"),Qt(v),sn(v,"link",u),n.head.appendChild(v),r.instance=v);case"void":return null;default:throw Error(o(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(u=r.instance,r.state.loading|=4,th(u,c.precedence,n));return r.instance}function th(n,r,c){for(var u=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=u.length?u[u.length-1]:null,g=v,C=0;C<u.length;C++){var E=u[C];if(E.dataset.precedence===r)g=E;else if(g!==v)break}g?g.parentNode.insertBefore(n,g.nextSibling):(r=c.nodeType===9?c.head:c,r.insertBefore(n,r.firstChild))}function XR(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.title==null&&(n.title=r.title)}function KR(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.integrity==null&&(n.integrity=r.integrity)}var nh=null;function IH(n,r,c){if(nh===null){var u=new Map,v=nh=new Map;v.set(c,u)}else v=nh,u=v.get(c),u||(u=new Map,v.set(c,u));if(u.has(n))return u;for(u.set(n,null),c=c.getElementsByTagName(n),v=0;v<c.length;v++){var g=c[v];if(!(g[Xo]||g[Pt]||n==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var C=g.getAttribute(r)||"";C=n+C;var E=u.get(C);E?E.push(g):u.set(C,[g])}}return u}function AH(n,r,c){n=n.ownerDocument||n,n.head.insertBefore(c,r==="title"?n.querySelector("head > title"):null)}function KJ(n,r,c){if(c===1||r.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof r.precedence!="string"||typeof r.href!="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!="string"||typeof r.href!="string"||r.href===""||r.onLoad||r.onError)break;switch(r.rel){case"stylesheet":return n=r.disabled,typeof r.precedence=="string"&&n==null;default:return!0}case"script":if(r.async&&typeof r.async!="function"&&typeof r.async!="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src=="string")return!0}return!1}function TH(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function YJ(n,r,c,u){if(c.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(c.state.loading&4)===0){if(c.instance===null){var v=Id(u.href),g=r.querySelector(Zu(v));if(g){r=g._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(n.count++,n=ah.bind(n),r.then(n,n)),c.state.loading|=4,c.instance=g,Qt(g);return}g=r.ownerDocument||r,u=LH(u),(v=ca.get(v))&&XR(u,v),g=g.createElement("link"),Qt(g);var C=g;C._p=new Promise(function(E,z){C.onload=E,C.onerror=z}),sn(g,"link",u),c.instance=g}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(c,r),(r=c.state.preload)&&(c.state.loading&3)===0&&(n.count++,c=ah.bind(n),r.addEventListener("load",c),r.addEventListener("error",c))}}var YR=0;function QJ(n,r){return n.stylesheets&&n.count===0&&rh(n,n.stylesheets),0<n.count||0<n.imgCount?function(c){var u=setTimeout(function(){if(n.stylesheets&&rh(n,n.stylesheets),n.unsuspend){var g=n.unsuspend;n.unsuspend=null,g()}},6e4+r);0<n.imgBytes&&YR===0&&(YR=62500*TJ());var v=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&rh(n,n.stylesheets),n.unsuspend)){var g=n.unsuspend;n.unsuspend=null,g()}},(n.imgBytes>YR?50:800)+r);return n.unsuspend=c,function(){n.unsuspend=null,clearTimeout(u),clearTimeout(v)}}:null}function ah(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)rh(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var oh=null;function rh(n,r){n.stylesheets=null,n.unsuspend!==null&&(n.count++,oh=new Map,r.forEach(JJ,n),oh=null,ah.call(n))}function JJ(n,r){if(!(r.state.loading&4)){var c=oh.get(n);if(c)var u=c.get(null);else{c=new Map,oh.set(n,c);for(var v=n.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<v.length;g++){var C=v[g];(C.nodeName==="LINK"||C.getAttribute("media")!=="not all")&&(c.set(C.dataset.precedence,C),u=C)}u&&c.set(null,u)}v=r.instance,C=v.getAttribute("data-precedence"),g=c.get(C)||u,g===u&&c.set(null,v),c.set(C,v),this.count++,u=ah.bind(this),v.addEventListener("load",u),v.addEventListener("error",u),g?g.parentNode.insertBefore(v,g.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(v,n.firstChild)),r.state.loading|=4}}var Ku={$$typeof:I,Provider:null,Consumer:null,_currentValue:T,_currentValue2:T,_threadCount:0};function eee(n,r,c,u,v,g,C,E,z){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=zt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zt(0),this.hiddenUpdates=zt(null),this.identifierPrefix=u,this.onUncaughtError=v,this.onCaughtError=g,this.onRecoverableError=C,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map}function RH(n,r,c,u,v,g,C,E,z,Q,se,ue){return n=new eee(n,r,c,C,z,Q,se,ue,E),r=1,g===!0&&(r|=24),g=zn(3,null,null,r),n.current=g,g.stateNode=n,r=IT(),r.refCount++,n.pooledCache=r,r.refCount++,g.memoizedState={element:u,isDehydrated:c,cache:r},$T(g),n}function $H(n){return n?(n=sd,n):sd}function jH(n,r,c,u,v,g){v=$H(v),u.context===null?u.context=v:u.pendingContext=v,u=Xr(r),u.payload={element:c},g=g===void 0?null:g,g!==null&&(u.callback=g),c=Kr(n,u,r),c!==null&&(Ln(c,n,r),Lu(c,n,r))}function PH(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var c=n.retryLane;n.retryLane=c!==0&&c<r?c:r}}function QR(n,r){PH(n,r),(n=n.alternate)&&PH(n,r)}function OH(n){if(n.tag===13||n.tag===31){var r=Vi(n,67108864);r!==null&&Ln(r,n,67108864),QR(n,67108864)}}function DH(n){if(n.tag===13||n.tag===31){var r=Fn();r=ua(r);var c=Vi(n,r);c!==null&&Ln(c,n,r),QR(n,r)}}var ih=!0;function tee(n,r,c,u){var v=R.T;R.T=null;var g=$.p;try{$.p=2,JR(n,r,c,u)}finally{$.p=g,R.T=v}}function nee(n,r,c,u){var v=R.T;R.T=null;var g=$.p;try{$.p=8,JR(n,r,c,u)}finally{$.p=g,R.T=v}}function JR(n,r,c,u){if(ih){var v=e$(u);if(v===null)zR(n,r,u,ch,c),qH(n,u);else if(oee(v,n,r,c,u))u.stopPropagation();else if(qH(n,u),r&4&&-1<aee.indexOf(n)){for(;v!==null;){var g=Y1(v);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var C=Kt(g.pendingLanes);if(C!==0){var E=g;for(E.pendingLanes|=2,E.entangledLanes|=2;C;){var z=1<<31-Z(C);E.entanglements[1]|=z,C&=~z}Jo(g),(dt&6)===0&&(B0=qe()+500,Fu(0))}}break;case 31:case 13:E=Vi(g,2),E!==null&&Ln(E,g,2),U0(),QR(g,2)}if(g=e$(u),g===null&&zR(n,r,u,ch,c),g===v)break;v=g}v!==null&&u.stopPropagation()}else zR(n,r,u,null,c)}}function e$(n){return n=nT(n),t$(n)}var ch=null;function t$(n){if(ch=null,n=yr(n),n!==null){var r=s(n);if(r===null)n=null;else{var c=r.tag;if(c===13){if(n=l(r),n!==null)return n;n=null}else if(c===31){if(n=h(r),n!==null)return n;n=null}else if(c===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null)}}return ch=n,null}function zH(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(we()){case De:return 2;case Ne:return 8;case Te:case Je:return 32;case jt:return 268435456;default:return 32}default:return 32}}var n$=!1,ci=null,si=null,li=null,Yu=new Map,Qu=new Map,di=[],aee="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function qH(n,r){switch(n){case"focusin":case"focusout":ci=null;break;case"dragenter":case"dragleave":si=null;break;case"mouseover":case"mouseout":li=null;break;case"pointerover":case"pointerout":Yu.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qu.delete(r.pointerId)}}function Ju(n,r,c,u,v,g){return n===null||n.nativeEvent!==g?(n={blockedOn:r,domEventName:c,eventSystemFlags:u,nativeEvent:g,targetContainers:[v]},r!==null&&(r=Y1(r),r!==null&&OH(r)),n):(n.eventSystemFlags|=u,r=n.targetContainers,v!==null&&r.indexOf(v)===-1&&r.push(v),n)}function oee(n,r,c,u,v){switch(r){case"focusin":return ci=Ju(ci,n,r,c,u,v),!0;case"dragenter":return si=Ju(si,n,r,c,u,v),!0;case"mouseover":return li=Ju(li,n,r,c,u,v),!0;case"pointerover":var g=v.pointerId;return Yu.set(g,Ju(Yu.get(g)||null,n,r,c,u,v)),!0;case"gotpointercapture":return g=v.pointerId,Qu.set(g,Ju(Qu.get(g)||null,n,r,c,u,v)),!0}return!1}function HH(n){var r=yr(n.target);if(r!==null){var c=s(r);if(c!==null){if(r=c.tag,r===13){if(r=l(c),r!==null){n.blockedOn=r,lu(n.priority,function(){DH(c)});return}}else if(r===31){if(r=h(c),r!==null){n.blockedOn=r,lu(n.priority,function(){DH(c)});return}}else if(r===3&&c.stateNode.current.memoizedState.isDehydrated){n.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}n.blockedOn=null}function sh(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var c=e$(n.nativeEvent);if(c===null){c=n.nativeEvent;var u=new c.constructor(c.type,c);tT=u,c.target.dispatchEvent(u),tT=null}else return r=Y1(c),r!==null&&OH(r),n.blockedOn=c,!1;r.shift()}return!0}function VH(n,r,c){sh(n)&&c.delete(r)}function ree(){n$=!1,ci!==null&&sh(ci)&&(ci=null),si!==null&&sh(si)&&(si=null),li!==null&&sh(li)&&(li=null),Yu.forEach(VH),Qu.forEach(VH)}function lh(n,r){n.blockedOn===r&&(n.blockedOn=null,n$||(n$=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,ree)))}var dh=null;function BH(n){dh!==n&&(dh=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){dh===n&&(dh=null);for(var r=0;r<n.length;r+=3){var c=n[r],u=n[r+1],v=n[r+2];if(typeof u!="function"){if(t$(u||c)===null)continue;break}var g=Y1(c);g!==null&&(n.splice(r,3),r-=3,eR(g,{pending:!0,data:v,method:c.method,action:u},u,v))}}))}function Td(n){function r(z){return lh(z,n)}ci!==null&&lh(ci,n),si!==null&&lh(si,n),li!==null&&lh(li,n),Yu.forEach(r),Qu.forEach(r);for(var c=0;c<di.length;c++){var u=di[c];u.blockedOn===n&&(u.blockedOn=null)}for(;0<di.length&&(c=di[0],c.blockedOn===null);)HH(c),c.blockedOn===null&&di.shift();if(c=(n.ownerDocument||n).$$reactFormReplay,c!=null)for(u=0;u<c.length;u+=3){var v=c[u],g=c[u+1],C=v[an]||null;if(typeof g=="function")C||BH(c);else if(C){var E=null;if(g&&g.hasAttribute("formAction")){if(v=g,C=g[an]||null)E=C.formAction;else if(t$(v)!==null)continue}else E=C.action;typeof E=="function"?c[u+1]=E:(c.splice(u,3),u-=3),BH(c)}}}function FH(){function n(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(C){return v=C})},focusReset:"manual",scroll:"manual"})}function r(){v!==null&&(v(),v=null),u||setTimeout(c,20)}function c(){if(!u&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,v=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",r),navigation.addEventListener("navigateerror",r),setTimeout(c,100),function(){u=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",r),navigation.removeEventListener("navigateerror",r),v!==null&&(v(),v=null)}}}function a$(n){this._internalRoot=n}uh.prototype.render=a$.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(o(409));var c=r.current,u=Fn();jH(c,u,n,r,null,null)},uh.prototype.unmount=a$.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;jH(n.current,2,null,n,null,null),U0(),r[Zo]=null}};function uh(n){this._internalRoot=n}uh.prototype.unstable_scheduleHydration=function(n){if(n){var r=Oi();n={blockedOn:null,target:n,priority:r};for(var c=0;c<di.length&&r!==0&&r<di[c].priority;c++);di.splice(c,0,n),c===0&&HH(n)}};var UH=t.version;if(UH!=="19.2.4")throw Error(o(527,UH,"19.2.4"));$.findDOMNode=function(n){var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(o(188)):(n=Object.keys(n).join(","),Error(o(268,n)));return n=y(r),n=n!==null?k(n):null,n=n===null?null:n.stateNode,n};var iee={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var hh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!hh.isDisabled&&hh.supportsFiber)try{Yn=hh.inject(iee),Gt=hh}catch{}}return r2.createRoot=function(n,r){if(!i(n))throw Error(o(299));var c=!1,u="",v=Qz,g=Jz,C=eq;return r!=null&&(r.unstable_strictMode===!0&&(c=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onUncaughtError!==void 0&&(v=r.onUncaughtError),r.onCaughtError!==void 0&&(g=r.onCaughtError),r.onRecoverableError!==void 0&&(C=r.onRecoverableError)),r=RH(n,1,!1,null,null,c,u,null,v,g,C,FH),n[Zo]=r.current,DR(n),new a$(r)},r2.hydrateRoot=function(n,r,c){if(!i(n))throw Error(o(299));var u=!1,v="",g=Qz,C=Jz,E=eq,z=null;return c!=null&&(c.unstable_strictMode===!0&&(u=!0),c.identifierPrefix!==void 0&&(v=c.identifierPrefix),c.onUncaughtError!==void 0&&(g=c.onUncaughtError),c.onCaughtError!==void 0&&(C=c.onCaughtError),c.onRecoverableError!==void 0&&(E=c.onRecoverableError),c.formState!==void 0&&(z=c.formState)),r=RH(n,1,!0,r,c??null,u,v,z,g,C,E,FH),r.context=$H(null),c=r.current,u=Fn(),u=ua(u),v=Xr(u),v.callback=null,Kr(c,v,u),c=u,r.current.lanes=c,xt(r,c),Jo(r),n[Zo]=r.current,DR(n),new uh(r)},r2.version="19.2.4",r2}var bB;function Noe(){if(bB)return ij.exports;bB=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),ij.exports=Coe(),ij.exports}var Loe=Noe();function Eoe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l);h.displayName=s+"Context";const f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,Ioe(i,...t)]}function Ioe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function Zn(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...a)=>{var o;return(o=t.current)==null?void 0:o.call(t,...a)},[])}var St=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{};function wB(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function kt(...e){return t=>{let a=!1;const o=e.map(i=>{const s=wB(i,t);return!a&&typeof s=="function"&&(a=!0),s});if(a)return()=>{for(let i=0;i<o.length;i++){const s=o[i];typeof s=="function"?s():wB(e[i],null)}}}}function ze(...e){return p.useCallback(kt(...e),e)}var Aoe=Symbol.for("react.lazy"),KI=bP[" use ".trim().toString()];function Toe(e){return typeof e=="object"&&e!==null&&"then"in e}function VU(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Aoe&&"_payload"in e&&Toe(e._payload)}function BU(e){const t=Roe(e),a=p.forwardRef((o,i)=>{let{children:s,...l}=o;VU(s)&&typeof KI=="function"&&(s=KI(s._payload));const h=p.Children.toArray(s),f=h.find(joe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}var Ii=BU("Slot");function Roe(e){const t=p.forwardRef((a,o)=>{let{children:i,...s}=a;if(VU(i)&&typeof KI=="function"&&(i=KI(i._payload)),p.isValidElement(i)){const l=Ooe(i),h=Poe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var $oe=Symbol("radix.slottable");function joe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===$oe}function Poe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function Ooe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var Doe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],jn=Doe.reduce((e,t)=>{const a=BU(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),lj={exports:{}},dj={};/**
116
116
  * @license React
117
117
  * use-sync-external-store-shim.production.js
118
118
  *
@@ -120,7 +120,7 @@ Error generating stack: `+u.message+`
120
120
  *
121
121
  * This source code is licensed under the MIT license found in the
122
122
  * LICENSE file in the root directory of this source tree.
123
- */var _B;function zoe(){if(_B)return lj;_B=1;var e=CF();function t(m,x){return m===x&&(m!==0||1/m===1/x)||m!==m&&x!==x}var a=typeof Object.is=="function"?Object.is:t,o=e.useState,i=e.useEffect,s=e.useLayoutEffect,l=e.useDebugValue;function h(m,x){var S=x(),b=o({inst:{value:S,getSnapshot:x}}),w=b[0].inst,_=b[1];return s(function(){w.value=S,w.getSnapshot=x,f(w)&&_({inst:w})},[m,S,x]),i(function(){return f(w)&&_({inst:w}),m(function(){f(w)&&_({inst:w})})},[m]),l(S),S}function f(m){var x=m.getSnapshot;m=m.value;try{var S=x();return!a(m,S)}catch{return!0}}function y(m,x){return x()}var k=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?y:h;return lj.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:k,lj}var SB;function qoe(){return SB||(SB=1,sj.exports=zoe()),sj.exports}var Hoe=qoe();function Voe(){return Hoe.useSyncExternalStore(Boe,()=>!0,()=>!1)}function Boe(){return()=>{}}var $P="Avatar",[Foe]=Eoe($P),[Uoe,FU]=Foe($P),UU=p.forwardRef((e,t)=>{const{__scopeAvatar:a,...o}=e,[i,s]=p.useState("idle");return M.jsx(Uoe,{scope:a,imageLoadingStatus:i,onImageLoadingStatusChange:s,children:M.jsx(jn.span,{...o,ref:t})})});UU.displayName=$P;var GU="AvatarImage",WU=p.forwardRef((e,t)=>{const{__scopeAvatar:a,src:o,onLoadingStatusChange:i=()=>{},...s}=e,l=FU(GU,a),h=Goe(o,s),f=Zn(y=>{i(y),l.onImageLoadingStatusChange(y)});return St(()=>{h!=="idle"&&f(h)},[h,f]),h==="loaded"?M.jsx(jn.img,{...s,ref:t,src:o}):null});WU.displayName=GU;var ZU="AvatarFallback",XU=p.forwardRef((e,t)=>{const{__scopeAvatar:a,delayMs:o,...i}=e,s=FU(ZU,a),[l,h]=p.useState(o===void 0);return p.useEffect(()=>{if(o!==void 0){const f=window.setTimeout(()=>h(!0),o);return()=>window.clearTimeout(f)}},[o]),l&&s.imageLoadingStatus!=="loaded"?M.jsx(jn.span,{...i,ref:t}):null});XU.displayName=ZU;function CB(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function Goe(e,{referrerPolicy:t,crossOrigin:a}){const o=Voe(),i=p.useRef(null),s=o?(i.current||(i.current=new window.Image),i.current):null,[l,h]=p.useState(()=>CB(s,e));return St(()=>{h(CB(s,e))},[s,e]),St(()=>{const f=m=>()=>{h(m)};if(!s)return;const y=f("loaded"),k=f("error");return s.addEventListener("load",y),s.addEventListener("error",k),t&&(s.referrerPolicy=t),typeof a=="string"&&(s.crossOrigin=a),()=>{s.removeEventListener("load",y),s.removeEventListener("error",k)}},[s,a,t]),l}var Woe=UU,Zoe=WU,Xoe=XU;function KU(e){var t,a,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(a=KU(e[t]))&&(o&&(o+=" "),o+=a)}else for(a in e)e[a]&&(o&&(o+=" "),o+=a);return o}function YU(){for(var e,t,a=0,o="",i=arguments.length;a<i;a++)(e=arguments[a])&&(t=KU(e))&&(o&&(o+=" "),o+=t);return o}const Koe=(e,t)=>{const a=new Array(e.length+t.length);for(let o=0;o<e.length;o++)a[o]=e[o];for(let o=0;o<t.length;o++)a[e.length+o]=t[o];return a},Yoe=(e,t)=>({classGroupId:e,validator:t}),QU=(e=new Map,t=null,a)=>({nextPart:e,validators:t,classGroupId:a}),YI="-",NB=[],Qoe="arbitrary..",Joe=e=>{const t=tre(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return ere(l);const h=l.split(YI),f=h[0]===""&&h.length>1?1:0;return JU(h,f,t)},getConflictingClassGroupIds:(l,h)=>{if(h){const f=o[l],y=a[l];return f?y?Koe(y,f):f:y||NB}return a[l]||NB}}},JU=(e,t,a)=>{if(e.length-t===0)return a.classGroupId;const i=e[t],s=a.nextPart.get(i);if(s){const y=JU(e,t+1,s);if(y)return y}const l=a.validators;if(l===null)return;const h=t===0?e.join(YI):e.slice(t).join(YI),f=l.length;for(let y=0;y<f;y++){const k=l[y];if(k.validator(h))return k.classGroupId}},ere=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),a=t.indexOf(":"),o=t.slice(0,a);return o?Qoe+o:void 0})(),tre=e=>{const{theme:t,classGroups:a}=e;return nre(a,t)},nre=(e,t)=>{const a=QU();for(const o in e){const i=e[o];jP(i,a,o,t)}return a},jP=(e,t,a,o)=>{const i=e.length;for(let s=0;s<i;s++){const l=e[s];are(l,t,a,o)}},are=(e,t,a,o)=>{if(typeof e=="string"){ore(e,t,a);return}if(typeof e=="function"){rre(e,t,a,o);return}ire(e,t,a,o)},ore=(e,t,a)=>{const o=e===""?t:eG(t,e);o.classGroupId=a},rre=(e,t,a,o)=>{if(cre(e)){jP(e(o),t,a,o);return}t.validators===null&&(t.validators=[]),t.validators.push(Yoe(a,e))},ire=(e,t,a,o)=>{const i=Object.entries(e),s=i.length;for(let l=0;l<s;l++){const[h,f]=i[l];jP(f,eG(t,h),a,o)}},eG=(e,t)=>{let a=e;const o=t.split(YI),i=o.length;for(let s=0;s<i;s++){const l=o[s];let h=a.nextPart.get(l);h||(h=QU(),a.nextPart.set(l,h)),a=h}return a},cre=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,sre=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=Object.create(null),o=Object.create(null);const i=(s,l)=>{a[s]=l,t++,t>e&&(t=0,o=a,a=Object.create(null))};return{get(s){let l=a[s];if(l!==void 0)return l;if((l=o[s])!==void 0)return i(s,l),l},set(s,l){s in a?a[s]=l:i(s,l)}}},Wj="!",LB=":",lre=[],EB=(e,t,a,o,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:a,maybePostfixModifierPosition:o,isExternal:i}),dre=e=>{const{prefix:t,experimentalParseClassName:a}=e;let o=i=>{const s=[];let l=0,h=0,f=0,y;const k=i.length;for(let w=0;w<k;w++){const _=i[w];if(l===0&&h===0){if(_===LB){s.push(i.slice(f,w)),f=w+1;continue}if(_==="/"){y=w;continue}}_==="["?l++:_==="]"?l--:_==="("?h++:_===")"&&h--}const m=s.length===0?i:i.slice(f);let x=m,S=!1;m.endsWith(Wj)?(x=m.slice(0,-1),S=!0):m.startsWith(Wj)&&(x=m.slice(1),S=!0);const b=y&&y>f?y-f:void 0;return EB(s,S,x,b)};if(t){const i=t+LB,s=o;o=l=>l.startsWith(i)?s(l.slice(i.length)):EB(lre,!1,l,void 0,!0)}if(a){const i=o;o=s=>a({className:s,parseClassName:i})}return o},ure=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((a,o)=>{t.set(a,1e6+o)}),a=>{const o=[];let i=[];for(let s=0;s<a.length;s++){const l=a[s],h=l[0]==="[",f=t.has(l);h||f?(i.length>0&&(i.sort(),o.push(...i),i=[]),o.push(l)):i.push(l)}return i.length>0&&(i.sort(),o.push(...i)),o}},hre=e=>({cache:sre(e.cacheSize),parseClassName:dre(e),sortModifiers:ure(e),...Joe(e)}),pre=/\s+/,fre=(e,t)=>{const{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:i,sortModifiers:s}=t,l=[],h=e.trim().split(pre);let f="";for(let y=h.length-1;y>=0;y-=1){const k=h[y],{isExternal:m,modifiers:x,hasImportantModifier:S,baseClassName:b,maybePostfixModifierPosition:w}=a(k);if(m){f=k+(f.length>0?" "+f:f);continue}let _=!!w,N=o(_?b.substring(0,w):b);if(!N){if(!_){f=k+(f.length>0?" "+f:f);continue}if(N=o(b),!N){f=k+(f.length>0?" "+f:f);continue}_=!1}const L=x.length===0?"":x.length===1?x[0]:s(x).join(":"),I=S?L+Wj:L,P=I+N;if(l.indexOf(P)>-1)continue;l.push(P);const D=i(N,_);for(let j=0;j<D.length;++j){const A=D[j];l.push(I+A)}f=k+(f.length>0?" "+f:f)}return f},yre=(...e)=>{let t=0,a,o,i="";for(;t<e.length;)(a=e[t++])&&(o=tG(a))&&(i&&(i+=" "),i+=o);return i},tG=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=tG(e[o]))&&(a&&(a+=" "),a+=t);return a},mre=(e,...t)=>{let a,o,i,s;const l=f=>{const y=t.reduce((k,m)=>m(k),e());return a=hre(y),o=a.cache.get,i=a.cache.set,s=h,h(f)},h=f=>{const y=o(f);if(y)return y;const k=fre(f,a);return i(f,k),k};return s=l,(...f)=>s(yre(...f))},vre=[],Zt=e=>{const t=a=>a[e]||vre;return t.isThemeGetter=!0,t},nG=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,aG=/^\((?:(\w[\w-]*):)?(.+)\)$/i,kre=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,gre=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mre=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,xre=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,bre=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,wre=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pi=e=>kre.test(e),Fe=e=>!!e&&!Number.isNaN(Number(e)),fi=e=>!!e&&Number.isInteger(Number(e)),dj=e=>e.endsWith("%")&&Fe(e.slice(0,-1)),jr=e=>gre.test(e),oG=()=>!0,_re=e=>Mre.test(e)&&!xre.test(e),PP=()=>!1,Sre=e=>bre.test(e),Cre=e=>wre.test(e),Nre=e=>!Se(e)&&!Ce(e),Lre=e=>Ai(e,cG,PP),Se=e=>nG.test(e),tc=e=>Ai(e,sG,_re),IB=e=>Ai(e,Pre,Fe),Ere=e=>Ai(e,dG,oG),Ire=e=>Ai(e,lG,PP),AB=e=>Ai(e,rG,PP),Are=e=>Ai(e,iG,Cre),vh=e=>Ai(e,uG,Sre),Ce=e=>aG.test(e),i2=e=>G1(e,sG),Tre=e=>G1(e,lG),TB=e=>G1(e,rG),Rre=e=>G1(e,cG),$re=e=>G1(e,iG),kh=e=>G1(e,uG,!0),jre=e=>G1(e,dG,!0),Ai=(e,t,a)=>{const o=nG.exec(e);return o?o[1]?t(o[1]):a(o[2]):!1},G1=(e,t,a=!1)=>{const o=aG.exec(e);return o?o[1]?t(o[1]):a:!1},rG=e=>e==="position"||e==="percentage",iG=e=>e==="image"||e==="url",cG=e=>e==="length"||e==="size"||e==="bg-size",sG=e=>e==="length",Pre=e=>e==="number",lG=e=>e==="family-name",dG=e=>e==="number"||e==="weight",uG=e=>e==="shadow",Ore=()=>{const e=Zt("color"),t=Zt("font"),a=Zt("text"),o=Zt("font-weight"),i=Zt("tracking"),s=Zt("leading"),l=Zt("breakpoint"),h=Zt("container"),f=Zt("spacing"),y=Zt("radius"),k=Zt("shadow"),m=Zt("inset-shadow"),x=Zt("text-shadow"),S=Zt("drop-shadow"),b=Zt("blur"),w=Zt("perspective"),_=Zt("aspect"),N=Zt("ease"),L=Zt("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],D=()=>[...P(),Ce,Se],j=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto","contain","none"],$=()=>[Ce,Se,f],B=()=>[pi,"full","auto",...$()],Z=()=>[fi,"none","subgrid",Ce,Se],q=()=>["auto",{span:["full",fi,Ce,Se]},fi,Ce,Se],V=()=>[fi,"auto",Ce,Se],F=()=>["auto","min","max","fr",Ce,Se],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],oe=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...$()],O=()=>[pi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...$()],R=()=>[pi,"screen","full","dvw","lvw","svw","min","max","fit",...$()],G=()=>[pi,"screen","full","lh","dvh","lvh","svh","min","max","fit",...$()],K=()=>[e,Ce,Se],Me=()=>[...P(),TB,AB,{position:[Ce,Se]}],X=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ne=()=>["auto","cover","contain",Rre,Lre,{size:[Ce,Se]}],de=()=>[dj,i2,tc],ce=()=>["","none","full",y,Ce,Se],ye=()=>["",Fe,i2,tc],pe=()=>["solid","dashed","dotted","double"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>[Fe,dj,TB,AB],ge=()=>["","none",b,Ce,Se],fe=()=>["none",Fe,Ce,Se],se=()=>["none",Fe,Ce,Se],Ee=()=>[Fe,Ce,Se],$e=()=>[pi,"full",...$()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[jr],breakpoint:[jr],color:[oG],container:[jr],"drop-shadow":[jr],ease:["in","out","in-out"],font:[Nre],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[jr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[jr],shadow:[jr],spacing:["px",Fe],text:[jr],"text-shadow":[jr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",pi,Se,Ce,_]}],container:["container"],columns:[{columns:[Fe,Se,Ce,h]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:D()}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:B()}],"inset-x":[{"inset-x":B()}],"inset-y":[{"inset-y":B()}],start:[{"inset-s":B(),start:B()}],end:[{"inset-e":B(),end:B()}],"inset-bs":[{"inset-bs":B()}],"inset-be":[{"inset-be":B()}],top:[{top:B()}],right:[{right:B()}],bottom:[{bottom:B()}],left:[{left:B()}],visibility:["visible","invisible","collapse"],z:[{z:[fi,"auto",Ce,Se]}],basis:[{basis:[pi,"full","auto",h,...$()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Fe,pi,"auto","initial","none",Se]}],grow:[{grow:["",Fe,Ce,Se]}],shrink:[{shrink:["",Fe,Ce,Se]}],order:[{order:[fi,"first","last","none",Ce,Se]}],"grid-cols":[{"grid-cols":Z()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":Z()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:$()}],"gap-x":[{"gap-x":$()}],"gap-y":[{"gap-y":$()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...oe(),"normal"]}],"justify-self":[{"justify-self":["auto",...oe()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...oe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...oe(),{baseline:["","last"]}]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...oe(),"baseline"]}],"place-self":[{"place-self":["auto",...oe()]}],p:[{p:$()}],px:[{px:$()}],py:[{py:$()}],ps:[{ps:$()}],pe:[{pe:$()}],pbs:[{pbs:$()}],pbe:[{pbe:$()}],pt:[{pt:$()}],pr:[{pr:$()}],pb:[{pb:$()}],pl:[{pl:$()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":$()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":$()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],"inline-size":[{inline:["auto",...R()]}],"min-inline-size":[{"min-inline":["auto",...R()]}],"max-inline-size":[{"max-inline":["none",...R()]}],"block-size":[{block:["auto",...G()]}],"min-block-size":[{"min-block":["auto",...G()]}],"max-block-size":[{"max-block":["none",...G()]}],w:[{w:[h,"screen",...O()]}],"min-w":[{"min-w":[h,"screen","none",...O()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[l]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",a,i2,tc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,jre,Ere]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",dj,Se]}],"font-family":[{font:[Tre,Ire,t]}],"font-features":[{"font-features":[Se]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,Ce,Se]}],"line-clamp":[{"line-clamp":[Fe,"none",Ce,IB]}],leading:[{leading:[s,...$()]}],"list-image":[{"list-image":["none",Ce,Se]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ce,Se]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:K()}],"text-color":[{text:K()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Fe,"from-font","auto",Ce,tc]}],"text-decoration-color":[{decoration:K()}],"underline-offset":[{"underline-offset":[Fe,"auto",Ce,Se]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ce,Se]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ce,Se]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Me()}],"bg-repeat":[{bg:X()}],"bg-size":[{bg:ne()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},fi,Ce,Se],radial:["",Ce,Se],conic:[fi,Ce,Se]},$re,Are]}],"bg-color":[{bg:K()}],"gradient-from-pos":[{from:de()}],"gradient-via-pos":[{via:de()}],"gradient-to-pos":[{to:de()}],"gradient-from":[{from:K()}],"gradient-via":[{via:K()}],"gradient-to":[{to:K()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:ye()}],"border-w-x":[{"border-x":ye()}],"border-w-y":[{"border-y":ye()}],"border-w-s":[{"border-s":ye()}],"border-w-e":[{"border-e":ye()}],"border-w-bs":[{"border-bs":ye()}],"border-w-be":[{"border-be":ye()}],"border-w-t":[{"border-t":ye()}],"border-w-r":[{"border-r":ye()}],"border-w-b":[{"border-b":ye()}],"border-w-l":[{"border-l":ye()}],"divide-x":[{"divide-x":ye()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ye()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...pe(),"hidden","none"]}],"divide-style":[{divide:[...pe(),"hidden","none"]}],"border-color":[{border:K()}],"border-color-x":[{"border-x":K()}],"border-color-y":[{"border-y":K()}],"border-color-s":[{"border-s":K()}],"border-color-e":[{"border-e":K()}],"border-color-bs":[{"border-bs":K()}],"border-color-be":[{"border-be":K()}],"border-color-t":[{"border-t":K()}],"border-color-r":[{"border-r":K()}],"border-color-b":[{"border-b":K()}],"border-color-l":[{"border-l":K()}],"divide-color":[{divide:K()}],"outline-style":[{outline:[...pe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Fe,Ce,Se]}],"outline-w":[{outline:["",Fe,i2,tc]}],"outline-color":[{outline:K()}],shadow:[{shadow:["","none",k,kh,vh]}],"shadow-color":[{shadow:K()}],"inset-shadow":[{"inset-shadow":["none",m,kh,vh]}],"inset-shadow-color":[{"inset-shadow":K()}],"ring-w":[{ring:ye()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:K()}],"ring-offset-w":[{"ring-offset":[Fe,tc]}],"ring-offset-color":[{"ring-offset":K()}],"inset-ring-w":[{"inset-ring":ye()}],"inset-ring-color":[{"inset-ring":K()}],"text-shadow":[{"text-shadow":["none",x,kh,vh]}],"text-shadow-color":[{"text-shadow":K()}],opacity:[{opacity:[Fe,Ce,Se]}],"mix-blend":[{"mix-blend":[...ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Fe]}],"mask-image-linear-from-pos":[{"mask-linear-from":me()}],"mask-image-linear-to-pos":[{"mask-linear-to":me()}],"mask-image-linear-from-color":[{"mask-linear-from":K()}],"mask-image-linear-to-color":[{"mask-linear-to":K()}],"mask-image-t-from-pos":[{"mask-t-from":me()}],"mask-image-t-to-pos":[{"mask-t-to":me()}],"mask-image-t-from-color":[{"mask-t-from":K()}],"mask-image-t-to-color":[{"mask-t-to":K()}],"mask-image-r-from-pos":[{"mask-r-from":me()}],"mask-image-r-to-pos":[{"mask-r-to":me()}],"mask-image-r-from-color":[{"mask-r-from":K()}],"mask-image-r-to-color":[{"mask-r-to":K()}],"mask-image-b-from-pos":[{"mask-b-from":me()}],"mask-image-b-to-pos":[{"mask-b-to":me()}],"mask-image-b-from-color":[{"mask-b-from":K()}],"mask-image-b-to-color":[{"mask-b-to":K()}],"mask-image-l-from-pos":[{"mask-l-from":me()}],"mask-image-l-to-pos":[{"mask-l-to":me()}],"mask-image-l-from-color":[{"mask-l-from":K()}],"mask-image-l-to-color":[{"mask-l-to":K()}],"mask-image-x-from-pos":[{"mask-x-from":me()}],"mask-image-x-to-pos":[{"mask-x-to":me()}],"mask-image-x-from-color":[{"mask-x-from":K()}],"mask-image-x-to-color":[{"mask-x-to":K()}],"mask-image-y-from-pos":[{"mask-y-from":me()}],"mask-image-y-to-pos":[{"mask-y-to":me()}],"mask-image-y-from-color":[{"mask-y-from":K()}],"mask-image-y-to-color":[{"mask-y-to":K()}],"mask-image-radial":[{"mask-radial":[Ce,Se]}],"mask-image-radial-from-pos":[{"mask-radial-from":me()}],"mask-image-radial-to-pos":[{"mask-radial-to":me()}],"mask-image-radial-from-color":[{"mask-radial-from":K()}],"mask-image-radial-to-color":[{"mask-radial-to":K()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":P()}],"mask-image-conic-pos":[{"mask-conic":[Fe]}],"mask-image-conic-from-pos":[{"mask-conic-from":me()}],"mask-image-conic-to-pos":[{"mask-conic-to":me()}],"mask-image-conic-from-color":[{"mask-conic-from":K()}],"mask-image-conic-to-color":[{"mask-conic-to":K()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Me()}],"mask-repeat":[{mask:X()}],"mask-size":[{mask:ne()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ce,Se]}],filter:[{filter:["","none",Ce,Se]}],blur:[{blur:ge()}],brightness:[{brightness:[Fe,Ce,Se]}],contrast:[{contrast:[Fe,Ce,Se]}],"drop-shadow":[{"drop-shadow":["","none",S,kh,vh]}],"drop-shadow-color":[{"drop-shadow":K()}],grayscale:[{grayscale:["",Fe,Ce,Se]}],"hue-rotate":[{"hue-rotate":[Fe,Ce,Se]}],invert:[{invert:["",Fe,Ce,Se]}],saturate:[{saturate:[Fe,Ce,Se]}],sepia:[{sepia:["",Fe,Ce,Se]}],"backdrop-filter":[{"backdrop-filter":["","none",Ce,Se]}],"backdrop-blur":[{"backdrop-blur":ge()}],"backdrop-brightness":[{"backdrop-brightness":[Fe,Ce,Se]}],"backdrop-contrast":[{"backdrop-contrast":[Fe,Ce,Se]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Fe,Ce,Se]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Fe,Ce,Se]}],"backdrop-invert":[{"backdrop-invert":["",Fe,Ce,Se]}],"backdrop-opacity":[{"backdrop-opacity":[Fe,Ce,Se]}],"backdrop-saturate":[{"backdrop-saturate":[Fe,Ce,Se]}],"backdrop-sepia":[{"backdrop-sepia":["",Fe,Ce,Se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":$()}],"border-spacing-x":[{"border-spacing-x":$()}],"border-spacing-y":[{"border-spacing-y":$()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ce,Se]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Fe,"initial",Ce,Se]}],ease:[{ease:["linear","initial",N,Ce,Se]}],delay:[{delay:[Fe,Ce,Se]}],animate:[{animate:["none",L,Ce,Se]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,Ce,Se]}],"perspective-origin":[{"perspective-origin":D()}],rotate:[{rotate:fe()}],"rotate-x":[{"rotate-x":fe()}],"rotate-y":[{"rotate-y":fe()}],"rotate-z":[{"rotate-z":fe()}],scale:[{scale:se()}],"scale-x":[{"scale-x":se()}],"scale-y":[{"scale-y":se()}],"scale-z":[{"scale-z":se()}],"scale-3d":["scale-3d"],skew:[{skew:Ee()}],"skew-x":[{"skew-x":Ee()}],"skew-y":[{"skew-y":Ee()}],transform:[{transform:[Ce,Se,"","none","gpu","cpu"]}],"transform-origin":[{origin:D()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:$e()}],"translate-x":[{"translate-x":$e()}],"translate-y":[{"translate-y":$e()}],"translate-z":[{"translate-z":$e()}],"translate-none":["translate-none"],accent:[{accent:K()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:K()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ce,Se]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mbs":[{"scroll-mbs":$()}],"scroll-mbe":[{"scroll-mbe":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pbs":[{"scroll-pbs":$()}],"scroll-pbe":[{"scroll-pbe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ce,Se]}],fill:[{fill:["none",...K()]}],"stroke-w":[{stroke:[Fe,i2,tc,IB]}],stroke:[{stroke:["none",...K()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Dre=mre(Ore);function ee(...e){return Dre(YU(e))}function dVe(e){return e.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/<iframe\b[^<]*(?:(?!<\/iframe>)<[^<]*)*<\/iframe>/gi,"").replace(/<embed\b[^<]*(?:(?!<\/embed>)<[^<]*)*<\/embed>/gi,"").replace(/<object\b[^<]*(?:(?!<\/object>)<[^<]*)*<\/object>/gi,"").replace(/ on\w+="[^"]*"/g,"").replace(/ on\w+='[^']*'/g,"").replace(/ on\w+=[^ >]+/g,"").replace(/href="javascript:[^"]*"/gi,'href="#"').replace(/href='javascript:[^']*'/gi,'href="#"')}function zre({className:e,...t}){return M.jsx(Woe,{"data-slot":"avatar",className:ee("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...t})}function qre({className:e,...t}){return M.jsx(Zoe,{"data-slot":"avatar-image",className:ee("aspect-square size-full",e),...t})}function Hre({className:e,...t}){return M.jsx(Xoe,{"data-slot":"avatar-fallback",className:ee("bg-muted flex size-full items-center justify-center rounded-full",e),...t})}const RB=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,$B=YU,gA=(e,t)=>a=>{var o;if((t==null?void 0:t.variants)==null)return $B(e,a==null?void 0:a.class,a==null?void 0:a.className);const{variants:i,defaultVariants:s}=t,l=Object.keys(i).map(y=>{const k=a==null?void 0:a[y],m=s==null?void 0:s[y];if(k===null)return null;const x=RB(k)||RB(m);return i[y][x]}),h=a&&Object.entries(a).reduce((y,k)=>{let[m,x]=k;return x===void 0||(y[m]=x),y},{}),f=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((y,k)=>{let{class:m,className:x,...S}=k;return Object.entries(S).every(b=>{let[w,_]=b;return Array.isArray(_)?_.includes({...s,...h}[w]):{...s,...h}[w]===_})?[...y,m,x]:y},[]);return $B(e,l,f,a==null?void 0:a.class,a==null?void 0:a.className)},Vre=gA("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function Bre({className:e,variant:t,asChild:a=!1,...o}){const i=a?Ii:"span";return M.jsx(i,{"data-slot":"badge",className:ee(Vre({variant:t}),e),...o})}/**
123
+ */var _B;function zoe(){if(_B)return dj;_B=1;var e=CF();function t(m,x){return m===x&&(m!==0||1/m===1/x)||m!==m&&x!==x}var a=typeof Object.is=="function"?Object.is:t,o=e.useState,i=e.useEffect,s=e.useLayoutEffect,l=e.useDebugValue;function h(m,x){var S=x(),b=o({inst:{value:S,getSnapshot:x}}),w=b[0].inst,_=b[1];return s(function(){w.value=S,w.getSnapshot=x,f(w)&&_({inst:w})},[m,S,x]),i(function(){return f(w)&&_({inst:w}),m(function(){f(w)&&_({inst:w})})},[m]),l(S),S}function f(m){var x=m.getSnapshot;m=m.value;try{var S=x();return!a(m,S)}catch{return!0}}function y(m,x){return x()}var k=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?y:h;return dj.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:k,dj}var SB;function qoe(){return SB||(SB=1,lj.exports=zoe()),lj.exports}var Hoe=qoe();function Voe(){return Hoe.useSyncExternalStore(Boe,()=>!0,()=>!1)}function Boe(){return()=>{}}var $P="Avatar",[Foe]=Eoe($P),[Uoe,FU]=Foe($P),UU=p.forwardRef((e,t)=>{const{__scopeAvatar:a,...o}=e,[i,s]=p.useState("idle");return M.jsx(Uoe,{scope:a,imageLoadingStatus:i,onImageLoadingStatusChange:s,children:M.jsx(jn.span,{...o,ref:t})})});UU.displayName=$P;var GU="AvatarImage",WU=p.forwardRef((e,t)=>{const{__scopeAvatar:a,src:o,onLoadingStatusChange:i=()=>{},...s}=e,l=FU(GU,a),h=Goe(o,s),f=Zn(y=>{i(y),l.onImageLoadingStatusChange(y)});return St(()=>{h!=="idle"&&f(h)},[h,f]),h==="loaded"?M.jsx(jn.img,{...s,ref:t,src:o}):null});WU.displayName=GU;var ZU="AvatarFallback",XU=p.forwardRef((e,t)=>{const{__scopeAvatar:a,delayMs:o,...i}=e,s=FU(ZU,a),[l,h]=p.useState(o===void 0);return p.useEffect(()=>{if(o!==void 0){const f=window.setTimeout(()=>h(!0),o);return()=>window.clearTimeout(f)}},[o]),l&&s.imageLoadingStatus!=="loaded"?M.jsx(jn.span,{...i,ref:t}):null});XU.displayName=ZU;function CB(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function Goe(e,{referrerPolicy:t,crossOrigin:a}){const o=Voe(),i=p.useRef(null),s=o?(i.current||(i.current=new window.Image),i.current):null,[l,h]=p.useState(()=>CB(s,e));return St(()=>{h(CB(s,e))},[s,e]),St(()=>{const f=m=>()=>{h(m)};if(!s)return;const y=f("loaded"),k=f("error");return s.addEventListener("load",y),s.addEventListener("error",k),t&&(s.referrerPolicy=t),typeof a=="string"&&(s.crossOrigin=a),()=>{s.removeEventListener("load",y),s.removeEventListener("error",k)}},[s,a,t]),l}var Woe=UU,Zoe=WU,Xoe=XU;function KU(e){var t,a,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(a=KU(e[t]))&&(o&&(o+=" "),o+=a)}else for(a in e)e[a]&&(o&&(o+=" "),o+=a);return o}function YU(){for(var e,t,a=0,o="",i=arguments.length;a<i;a++)(e=arguments[a])&&(t=KU(e))&&(o&&(o+=" "),o+=t);return o}const Koe=(e,t)=>{const a=new Array(e.length+t.length);for(let o=0;o<e.length;o++)a[o]=e[o];for(let o=0;o<t.length;o++)a[e.length+o]=t[o];return a},Yoe=(e,t)=>({classGroupId:e,validator:t}),QU=(e=new Map,t=null,a)=>({nextPart:e,validators:t,classGroupId:a}),YI="-",NB=[],Qoe="arbitrary..",Joe=e=>{const t=tre(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return ere(l);const h=l.split(YI),f=h[0]===""&&h.length>1?1:0;return JU(h,f,t)},getConflictingClassGroupIds:(l,h)=>{if(h){const f=o[l],y=a[l];return f?y?Koe(y,f):f:y||NB}return a[l]||NB}}},JU=(e,t,a)=>{if(e.length-t===0)return a.classGroupId;const i=e[t],s=a.nextPart.get(i);if(s){const y=JU(e,t+1,s);if(y)return y}const l=a.validators;if(l===null)return;const h=t===0?e.join(YI):e.slice(t).join(YI),f=l.length;for(let y=0;y<f;y++){const k=l[y];if(k.validator(h))return k.classGroupId}},ere=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),a=t.indexOf(":"),o=t.slice(0,a);return o?Qoe+o:void 0})(),tre=e=>{const{theme:t,classGroups:a}=e;return nre(a,t)},nre=(e,t)=>{const a=QU();for(const o in e){const i=e[o];jP(i,a,o,t)}return a},jP=(e,t,a,o)=>{const i=e.length;for(let s=0;s<i;s++){const l=e[s];are(l,t,a,o)}},are=(e,t,a,o)=>{if(typeof e=="string"){ore(e,t,a);return}if(typeof e=="function"){rre(e,t,a,o);return}ire(e,t,a,o)},ore=(e,t,a)=>{const o=e===""?t:eG(t,e);o.classGroupId=a},rre=(e,t,a,o)=>{if(cre(e)){jP(e(o),t,a,o);return}t.validators===null&&(t.validators=[]),t.validators.push(Yoe(a,e))},ire=(e,t,a,o)=>{const i=Object.entries(e),s=i.length;for(let l=0;l<s;l++){const[h,f]=i[l];jP(f,eG(t,h),a,o)}},eG=(e,t)=>{let a=e;const o=t.split(YI),i=o.length;for(let s=0;s<i;s++){const l=o[s];let h=a.nextPart.get(l);h||(h=QU(),a.nextPart.set(l,h)),a=h}return a},cre=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,sre=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=Object.create(null),o=Object.create(null);const i=(s,l)=>{a[s]=l,t++,t>e&&(t=0,o=a,a=Object.create(null))};return{get(s){let l=a[s];if(l!==void 0)return l;if((l=o[s])!==void 0)return i(s,l),l},set(s,l){s in a?a[s]=l:i(s,l)}}},Zj="!",LB=":",lre=[],EB=(e,t,a,o,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:a,maybePostfixModifierPosition:o,isExternal:i}),dre=e=>{const{prefix:t,experimentalParseClassName:a}=e;let o=i=>{const s=[];let l=0,h=0,f=0,y;const k=i.length;for(let w=0;w<k;w++){const _=i[w];if(l===0&&h===0){if(_===LB){s.push(i.slice(f,w)),f=w+1;continue}if(_==="/"){y=w;continue}}_==="["?l++:_==="]"?l--:_==="("?h++:_===")"&&h--}const m=s.length===0?i:i.slice(f);let x=m,S=!1;m.endsWith(Zj)?(x=m.slice(0,-1),S=!0):m.startsWith(Zj)&&(x=m.slice(1),S=!0);const b=y&&y>f?y-f:void 0;return EB(s,S,x,b)};if(t){const i=t+LB,s=o;o=l=>l.startsWith(i)?s(l.slice(i.length)):EB(lre,!1,l,void 0,!0)}if(a){const i=o;o=s=>a({className:s,parseClassName:i})}return o},ure=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((a,o)=>{t.set(a,1e6+o)}),a=>{const o=[];let i=[];for(let s=0;s<a.length;s++){const l=a[s],h=l[0]==="[",f=t.has(l);h||f?(i.length>0&&(i.sort(),o.push(...i),i=[]),o.push(l)):i.push(l)}return i.length>0&&(i.sort(),o.push(...i)),o}},hre=e=>({cache:sre(e.cacheSize),parseClassName:dre(e),sortModifiers:ure(e),...Joe(e)}),pre=/\s+/,fre=(e,t)=>{const{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:i,sortModifiers:s}=t,l=[],h=e.trim().split(pre);let f="";for(let y=h.length-1;y>=0;y-=1){const k=h[y],{isExternal:m,modifiers:x,hasImportantModifier:S,baseClassName:b,maybePostfixModifierPosition:w}=a(k);if(m){f=k+(f.length>0?" "+f:f);continue}let _=!!w,N=o(_?b.substring(0,w):b);if(!N){if(!_){f=k+(f.length>0?" "+f:f);continue}if(N=o(b),!N){f=k+(f.length>0?" "+f:f);continue}_=!1}const L=x.length===0?"":x.length===1?x[0]:s(x).join(":"),I=S?L+Zj:L,O=I+N;if(l.indexOf(O)>-1)continue;l.push(O);const D=i(N,_);for(let P=0;P<D.length;++P){const A=D[P];l.push(I+A)}f=k+(f.length>0?" "+f:f)}return f},yre=(...e)=>{let t=0,a,o,i="";for(;t<e.length;)(a=e[t++])&&(o=tG(a))&&(i&&(i+=" "),i+=o);return i},tG=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=tG(e[o]))&&(a&&(a+=" "),a+=t);return a},mre=(e,...t)=>{let a,o,i,s;const l=f=>{const y=t.reduce((k,m)=>m(k),e());return a=hre(y),o=a.cache.get,i=a.cache.set,s=h,h(f)},h=f=>{const y=o(f);if(y)return y;const k=fre(f,a);return i(f,k),k};return s=l,(...f)=>s(yre(...f))},vre=[],Zt=e=>{const t=a=>a[e]||vre;return t.isThemeGetter=!0,t},nG=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,aG=/^\((?:(\w[\w-]*):)?(.+)\)$/i,kre=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,gre=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mre=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,xre=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,bre=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,wre=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pi=e=>kre.test(e),Fe=e=>!!e&&!Number.isNaN(Number(e)),fi=e=>!!e&&Number.isInteger(Number(e)),uj=e=>e.endsWith("%")&&Fe(e.slice(0,-1)),jr=e=>gre.test(e),oG=()=>!0,_re=e=>Mre.test(e)&&!xre.test(e),PP=()=>!1,Sre=e=>bre.test(e),Cre=e=>wre.test(e),Nre=e=>!Se(e)&&!Ce(e),Lre=e=>Ai(e,cG,PP),Se=e=>nG.test(e),tc=e=>Ai(e,sG,_re),IB=e=>Ai(e,Pre,Fe),Ere=e=>Ai(e,dG,oG),Ire=e=>Ai(e,lG,PP),AB=e=>Ai(e,rG,PP),Are=e=>Ai(e,iG,Cre),vh=e=>Ai(e,uG,Sre),Ce=e=>aG.test(e),i2=e=>G1(e,sG),Tre=e=>G1(e,lG),TB=e=>G1(e,rG),Rre=e=>G1(e,cG),$re=e=>G1(e,iG),kh=e=>G1(e,uG,!0),jre=e=>G1(e,dG,!0),Ai=(e,t,a)=>{const o=nG.exec(e);return o?o[1]?t(o[1]):a(o[2]):!1},G1=(e,t,a=!1)=>{const o=aG.exec(e);return o?o[1]?t(o[1]):a:!1},rG=e=>e==="position"||e==="percentage",iG=e=>e==="image"||e==="url",cG=e=>e==="length"||e==="size"||e==="bg-size",sG=e=>e==="length",Pre=e=>e==="number",lG=e=>e==="family-name",dG=e=>e==="number"||e==="weight",uG=e=>e==="shadow",Ore=()=>{const e=Zt("color"),t=Zt("font"),a=Zt("text"),o=Zt("font-weight"),i=Zt("tracking"),s=Zt("leading"),l=Zt("breakpoint"),h=Zt("container"),f=Zt("spacing"),y=Zt("radius"),k=Zt("shadow"),m=Zt("inset-shadow"),x=Zt("text-shadow"),S=Zt("drop-shadow"),b=Zt("blur"),w=Zt("perspective"),_=Zt("aspect"),N=Zt("ease"),L=Zt("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],D=()=>[...O(),Ce,Se],P=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto","contain","none"],j=()=>[Ce,Se,f],V=()=>[pi,"full","auto",...j()],K=()=>[fi,"none","subgrid",Ce,Se],q=()=>["auto",{span:["full",fi,Ce,Se]},fi,Ce,Se],B=()=>[fi,"auto",Ce,Se],F=()=>["auto","min","max","fr",Ce,Se],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],pe=()=>["start","end","center","stretch","center-safe","end-safe"],R=()=>["auto",...j()],$=()=>[pi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...j()],T=()=>[pi,"screen","full","dvw","lvw","svw","min","max","fit",...j()],G=()=>[pi,"screen","full","lh","dvh","lvh","svh","min","max","fit",...j()],W=()=>[e,Ce,Se],Me=()=>[...O(),TB,AB,{position:[Ce,Se]}],X=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ne=()=>["auto","cover","contain",Rre,Lre,{size:[Ce,Se]}],le=()=>[uj,i2,tc],ie=()=>["","none","full",y,Ce,Se],ye=()=>["",Fe,i2,tc],he=()=>["solid","dashed","dotted","double"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>[Fe,uj,TB,AB],ge=()=>["","none",b,Ce,Se],fe=()=>["none",Fe,Ce,Se],ce=()=>["none",Fe,Ce,Se],Ee=()=>[Fe,Ce,Se],$e=()=>[pi,"full",...j()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[jr],breakpoint:[jr],color:[oG],container:[jr],"drop-shadow":[jr],ease:["in","out","in-out"],font:[Nre],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[jr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[jr],shadow:[jr],spacing:["px",Fe],text:[jr],"text-shadow":[jr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",pi,Se,Ce,_]}],container:["container"],columns:[{columns:[Fe,Se,Ce,h]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:D()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{"inset-s":V(),start:V()}],end:[{"inset-e":V(),end:V()}],"inset-bs":[{"inset-bs":V()}],"inset-be":[{"inset-be":V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[fi,"auto",Ce,Se]}],basis:[{basis:[pi,"full","auto",h,...j()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Fe,pi,"auto","initial","none",Se]}],grow:[{grow:["",Fe,Ce,Se]}],shrink:[{shrink:["",Fe,Ce,Se]}],order:[{order:[fi,"first","last","none",Ce,Se]}],"grid-cols":[{"grid-cols":K()}],"col-start-end":[{col:q()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":K()}],"row-start-end":[{row:q()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:j()}],"gap-x":[{"gap-x":j()}],"gap-y":[{"gap-y":j()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...pe(),"normal"]}],"justify-self":[{"justify-self":["auto",...pe()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...pe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...pe(),{baseline:["","last"]}]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...pe(),"baseline"]}],"place-self":[{"place-self":["auto",...pe()]}],p:[{p:j()}],px:[{px:j()}],py:[{py:j()}],ps:[{ps:j()}],pe:[{pe:j()}],pbs:[{pbs:j()}],pbe:[{pbe:j()}],pt:[{pt:j()}],pr:[{pr:j()}],pb:[{pb:j()}],pl:[{pl:j()}],m:[{m:R()}],mx:[{mx:R()}],my:[{my:R()}],ms:[{ms:R()}],me:[{me:R()}],mbs:[{mbs:R()}],mbe:[{mbe:R()}],mt:[{mt:R()}],mr:[{mr:R()}],mb:[{mb:R()}],ml:[{ml:R()}],"space-x":[{"space-x":j()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":j()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],"inline-size":[{inline:["auto",...T()]}],"min-inline-size":[{"min-inline":["auto",...T()]}],"max-inline-size":[{"max-inline":["none",...T()]}],"block-size":[{block:["auto",...G()]}],"min-block-size":[{"min-block":["auto",...G()]}],"max-block-size":[{"max-block":["none",...G()]}],w:[{w:[h,"screen",...$()]}],"min-w":[{"min-w":[h,"screen","none",...$()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[l]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",a,i2,tc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,jre,Ere]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",uj,Se]}],"font-family":[{font:[Tre,Ire,t]}],"font-features":[{"font-features":[Se]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,Ce,Se]}],"line-clamp":[{"line-clamp":[Fe,"none",Ce,IB]}],leading:[{leading:[s,...j()]}],"list-image":[{"list-image":["none",Ce,Se]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ce,Se]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:W()}],"text-color":[{text:W()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:[Fe,"from-font","auto",Ce,tc]}],"text-decoration-color":[{decoration:W()}],"underline-offset":[{"underline-offset":[Fe,"auto",Ce,Se]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ce,Se]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ce,Se]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Me()}],"bg-repeat":[{bg:X()}],"bg-size":[{bg:ne()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},fi,Ce,Se],radial:["",Ce,Se],conic:[fi,Ce,Se]},$re,Are]}],"bg-color":[{bg:W()}],"gradient-from-pos":[{from:le()}],"gradient-via-pos":[{via:le()}],"gradient-to-pos":[{to:le()}],"gradient-from":[{from:W()}],"gradient-via":[{via:W()}],"gradient-to":[{to:W()}],rounded:[{rounded:ie()}],"rounded-s":[{"rounded-s":ie()}],"rounded-e":[{"rounded-e":ie()}],"rounded-t":[{"rounded-t":ie()}],"rounded-r":[{"rounded-r":ie()}],"rounded-b":[{"rounded-b":ie()}],"rounded-l":[{"rounded-l":ie()}],"rounded-ss":[{"rounded-ss":ie()}],"rounded-se":[{"rounded-se":ie()}],"rounded-ee":[{"rounded-ee":ie()}],"rounded-es":[{"rounded-es":ie()}],"rounded-tl":[{"rounded-tl":ie()}],"rounded-tr":[{"rounded-tr":ie()}],"rounded-br":[{"rounded-br":ie()}],"rounded-bl":[{"rounded-bl":ie()}],"border-w":[{border:ye()}],"border-w-x":[{"border-x":ye()}],"border-w-y":[{"border-y":ye()}],"border-w-s":[{"border-s":ye()}],"border-w-e":[{"border-e":ye()}],"border-w-bs":[{"border-bs":ye()}],"border-w-be":[{"border-be":ye()}],"border-w-t":[{"border-t":ye()}],"border-w-r":[{"border-r":ye()}],"border-w-b":[{"border-b":ye()}],"border-w-l":[{"border-l":ye()}],"divide-x":[{"divide-x":ye()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ye()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...he(),"hidden","none"]}],"divide-style":[{divide:[...he(),"hidden","none"]}],"border-color":[{border:W()}],"border-color-x":[{"border-x":W()}],"border-color-y":[{"border-y":W()}],"border-color-s":[{"border-s":W()}],"border-color-e":[{"border-e":W()}],"border-color-bs":[{"border-bs":W()}],"border-color-be":[{"border-be":W()}],"border-color-t":[{"border-t":W()}],"border-color-r":[{"border-r":W()}],"border-color-b":[{"border-b":W()}],"border-color-l":[{"border-l":W()}],"divide-color":[{divide:W()}],"outline-style":[{outline:[...he(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Fe,Ce,Se]}],"outline-w":[{outline:["",Fe,i2,tc]}],"outline-color":[{outline:W()}],shadow:[{shadow:["","none",k,kh,vh]}],"shadow-color":[{shadow:W()}],"inset-shadow":[{"inset-shadow":["none",m,kh,vh]}],"inset-shadow-color":[{"inset-shadow":W()}],"ring-w":[{ring:ye()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:W()}],"ring-offset-w":[{"ring-offset":[Fe,tc]}],"ring-offset-color":[{"ring-offset":W()}],"inset-ring-w":[{"inset-ring":ye()}],"inset-ring-color":[{"inset-ring":W()}],"text-shadow":[{"text-shadow":["none",x,kh,vh]}],"text-shadow-color":[{"text-shadow":W()}],opacity:[{opacity:[Fe,Ce,Se]}],"mix-blend":[{"mix-blend":[...ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Fe]}],"mask-image-linear-from-pos":[{"mask-linear-from":me()}],"mask-image-linear-to-pos":[{"mask-linear-to":me()}],"mask-image-linear-from-color":[{"mask-linear-from":W()}],"mask-image-linear-to-color":[{"mask-linear-to":W()}],"mask-image-t-from-pos":[{"mask-t-from":me()}],"mask-image-t-to-pos":[{"mask-t-to":me()}],"mask-image-t-from-color":[{"mask-t-from":W()}],"mask-image-t-to-color":[{"mask-t-to":W()}],"mask-image-r-from-pos":[{"mask-r-from":me()}],"mask-image-r-to-pos":[{"mask-r-to":me()}],"mask-image-r-from-color":[{"mask-r-from":W()}],"mask-image-r-to-color":[{"mask-r-to":W()}],"mask-image-b-from-pos":[{"mask-b-from":me()}],"mask-image-b-to-pos":[{"mask-b-to":me()}],"mask-image-b-from-color":[{"mask-b-from":W()}],"mask-image-b-to-color":[{"mask-b-to":W()}],"mask-image-l-from-pos":[{"mask-l-from":me()}],"mask-image-l-to-pos":[{"mask-l-to":me()}],"mask-image-l-from-color":[{"mask-l-from":W()}],"mask-image-l-to-color":[{"mask-l-to":W()}],"mask-image-x-from-pos":[{"mask-x-from":me()}],"mask-image-x-to-pos":[{"mask-x-to":me()}],"mask-image-x-from-color":[{"mask-x-from":W()}],"mask-image-x-to-color":[{"mask-x-to":W()}],"mask-image-y-from-pos":[{"mask-y-from":me()}],"mask-image-y-to-pos":[{"mask-y-to":me()}],"mask-image-y-from-color":[{"mask-y-from":W()}],"mask-image-y-to-color":[{"mask-y-to":W()}],"mask-image-radial":[{"mask-radial":[Ce,Se]}],"mask-image-radial-from-pos":[{"mask-radial-from":me()}],"mask-image-radial-to-pos":[{"mask-radial-to":me()}],"mask-image-radial-from-color":[{"mask-radial-from":W()}],"mask-image-radial-to-color":[{"mask-radial-to":W()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[Fe]}],"mask-image-conic-from-pos":[{"mask-conic-from":me()}],"mask-image-conic-to-pos":[{"mask-conic-to":me()}],"mask-image-conic-from-color":[{"mask-conic-from":W()}],"mask-image-conic-to-color":[{"mask-conic-to":W()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Me()}],"mask-repeat":[{mask:X()}],"mask-size":[{mask:ne()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ce,Se]}],filter:[{filter:["","none",Ce,Se]}],blur:[{blur:ge()}],brightness:[{brightness:[Fe,Ce,Se]}],contrast:[{contrast:[Fe,Ce,Se]}],"drop-shadow":[{"drop-shadow":["","none",S,kh,vh]}],"drop-shadow-color":[{"drop-shadow":W()}],grayscale:[{grayscale:["",Fe,Ce,Se]}],"hue-rotate":[{"hue-rotate":[Fe,Ce,Se]}],invert:[{invert:["",Fe,Ce,Se]}],saturate:[{saturate:[Fe,Ce,Se]}],sepia:[{sepia:["",Fe,Ce,Se]}],"backdrop-filter":[{"backdrop-filter":["","none",Ce,Se]}],"backdrop-blur":[{"backdrop-blur":ge()}],"backdrop-brightness":[{"backdrop-brightness":[Fe,Ce,Se]}],"backdrop-contrast":[{"backdrop-contrast":[Fe,Ce,Se]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Fe,Ce,Se]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Fe,Ce,Se]}],"backdrop-invert":[{"backdrop-invert":["",Fe,Ce,Se]}],"backdrop-opacity":[{"backdrop-opacity":[Fe,Ce,Se]}],"backdrop-saturate":[{"backdrop-saturate":[Fe,Ce,Se]}],"backdrop-sepia":[{"backdrop-sepia":["",Fe,Ce,Se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":j()}],"border-spacing-x":[{"border-spacing-x":j()}],"border-spacing-y":[{"border-spacing-y":j()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ce,Se]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Fe,"initial",Ce,Se]}],ease:[{ease:["linear","initial",N,Ce,Se]}],delay:[{delay:[Fe,Ce,Se]}],animate:[{animate:["none",L,Ce,Se]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,Ce,Se]}],"perspective-origin":[{"perspective-origin":D()}],rotate:[{rotate:fe()}],"rotate-x":[{"rotate-x":fe()}],"rotate-y":[{"rotate-y":fe()}],"rotate-z":[{"rotate-z":fe()}],scale:[{scale:ce()}],"scale-x":[{"scale-x":ce()}],"scale-y":[{"scale-y":ce()}],"scale-z":[{"scale-z":ce()}],"scale-3d":["scale-3d"],skew:[{skew:Ee()}],"skew-x":[{"skew-x":Ee()}],"skew-y":[{"skew-y":Ee()}],transform:[{transform:[Ce,Se,"","none","gpu","cpu"]}],"transform-origin":[{origin:D()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:$e()}],"translate-x":[{"translate-x":$e()}],"translate-y":[{"translate-y":$e()}],"translate-z":[{"translate-z":$e()}],"translate-none":["translate-none"],accent:[{accent:W()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:W()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ce,Se]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mbs":[{"scroll-mbs":j()}],"scroll-mbe":[{"scroll-mbe":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pbs":[{"scroll-pbs":j()}],"scroll-pbe":[{"scroll-pbe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ce,Se]}],fill:[{fill:["none",...W()]}],"stroke-w":[{stroke:[Fe,i2,tc,IB]}],stroke:[{stroke:["none",...W()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Dre=mre(Ore);function ee(...e){return Dre(YU(e))}function dVe(e){return e.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/<iframe\b[^<]*(?:(?!<\/iframe>)<[^<]*)*<\/iframe>/gi,"").replace(/<embed\b[^<]*(?:(?!<\/embed>)<[^<]*)*<\/embed>/gi,"").replace(/<object\b[^<]*(?:(?!<\/object>)<[^<]*)*<\/object>/gi,"").replace(/ on\w+="[^"]*"/g,"").replace(/ on\w+='[^']*'/g,"").replace(/ on\w+=[^ >]+/g,"").replace(/href="javascript:[^"]*"/gi,'href="#"').replace(/href='javascript:[^']*'/gi,'href="#"')}function zre({className:e,...t}){return M.jsx(Woe,{"data-slot":"avatar",className:ee("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...t})}function qre({className:e,...t}){return M.jsx(Zoe,{"data-slot":"avatar-image",className:ee("aspect-square size-full",e),...t})}function Hre({className:e,...t}){return M.jsx(Xoe,{"data-slot":"avatar-fallback",className:ee("bg-muted flex size-full items-center justify-center rounded-full",e),...t})}const RB=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,$B=YU,MA=(e,t)=>a=>{var o;if((t==null?void 0:t.variants)==null)return $B(e,a==null?void 0:a.class,a==null?void 0:a.className);const{variants:i,defaultVariants:s}=t,l=Object.keys(i).map(y=>{const k=a==null?void 0:a[y],m=s==null?void 0:s[y];if(k===null)return null;const x=RB(k)||RB(m);return i[y][x]}),h=a&&Object.entries(a).reduce((y,k)=>{let[m,x]=k;return x===void 0||(y[m]=x),y},{}),f=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((y,k)=>{let{class:m,className:x,...S}=k;return Object.entries(S).every(b=>{let[w,_]=b;return Array.isArray(_)?_.includes({...s,...h}[w]):{...s,...h}[w]===_})?[...y,m,x]:y},[]);return $B(e,l,f,a==null?void 0:a.class,a==null?void 0:a.className)},Vre=MA("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function Bre({className:e,variant:t,asChild:a=!1,...o}){const i=a?Ii:"span";return M.jsx(i,{"data-slot":"badge",className:ee(Vre({variant:t}),e),...o})}/**
124
124
  * @license lucide-react v0.485.0 - ISC
125
125
  *
126
126
  * This source code is licensed under the ISC license.
@@ -7960,7 +7960,7 @@ Error generating stack: `+u.message+`
7960
7960
  *
7961
7961
  * This source code is licensed under the ISC license.
7962
7962
  * See the LICENSE file in the root directory of this source tree.
7963
- */const F_e=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:jh,AArrowDownIcon:jh,AArrowUp:Ph,AArrowUpIcon:Ph,ALargeSmall:Oh,ALargeSmallIcon:Oh,Accessibility:Dh,AccessibilityIcon:Dh,Activity:zh,ActivityIcon:zh,ActivitySquare:kl,ActivitySquareIcon:kl,AirVent:qh,AirVentIcon:qh,Airplay:Hh,AirplayIcon:Hh,AlarmCheck:ac,AlarmCheckIcon:ac,AlarmClock:Bh,AlarmClockCheck:ac,AlarmClockCheckIcon:ac,AlarmClockIcon:Bh,AlarmClockMinus:oc,AlarmClockMinusIcon:oc,AlarmClockOff:Vh,AlarmClockOffIcon:Vh,AlarmClockPlus:rc,AlarmClockPlusIcon:rc,AlarmMinus:oc,AlarmMinusIcon:oc,AlarmPlus:rc,AlarmPlusIcon:rc,AlarmSmoke:Fh,AlarmSmokeIcon:Fh,Album:Uh,AlbumIcon:Uh,AlertCircle:Tc,AlertCircleIcon:Tc,AlertOctagon:Xs,AlertOctagonIcon:Xs,AlertTriangle:M1,AlertTriangleIcon:M1,AlignCenter:Xh,AlignCenterHorizontal:Gh,AlignCenterHorizontalIcon:Gh,AlignCenterIcon:Xh,AlignCenterVertical:Wh,AlignCenterVerticalIcon:Wh,AlignEndHorizontal:Zh,AlignEndHorizontalIcon:Zh,AlignEndVertical:Kh,AlignEndVerticalIcon:Kh,AlignHorizontalDistributeCenter:Yh,AlignHorizontalDistributeCenterIcon:Yh,AlignHorizontalDistributeEnd:Qh,AlignHorizontalDistributeEndIcon:Qh,AlignHorizontalDistributeStart:Jh,AlignHorizontalDistributeStartIcon:Jh,AlignHorizontalJustifyCenter:ep,AlignHorizontalJustifyCenterIcon:ep,AlignHorizontalJustifyEnd:tp,AlignHorizontalJustifyEndIcon:tp,AlignHorizontalJustifyStart:np,AlignHorizontalJustifyStartIcon:np,AlignHorizontalSpaceAround:ap,AlignHorizontalSpaceAroundIcon:ap,AlignHorizontalSpaceBetween:op,AlignHorizontalSpaceBetweenIcon:op,AlignJustify:rp,AlignJustifyIcon:rp,AlignLeft:ip,AlignLeftIcon:ip,AlignRight:cp,AlignRightIcon:cp,AlignStartHorizontal:sp,AlignStartHorizontalIcon:sp,AlignStartVertical:lp,AlignStartVerticalIcon:lp,AlignVerticalDistributeCenter:dp,AlignVerticalDistributeCenterIcon:dp,AlignVerticalDistributeEnd:up,AlignVerticalDistributeEndIcon:up,AlignVerticalDistributeStart:hp,AlignVerticalDistributeStartIcon:hp,AlignVerticalJustifyCenter:pp,AlignVerticalJustifyCenterIcon:pp,AlignVerticalJustifyEnd:fp,AlignVerticalJustifyEndIcon:fp,AlignVerticalJustifyStart:yp,AlignVerticalJustifyStartIcon:yp,AlignVerticalSpaceAround:mp,AlignVerticalSpaceAroundIcon:mp,AlignVerticalSpaceBetween:vp,AlignVerticalSpaceBetweenIcon:vp,Ambulance:kp,AmbulanceIcon:kp,Ampersand:gp,AmpersandIcon:gp,Ampersands:Mp,AmpersandsIcon:Mp,Amphora:bp,AmphoraIcon:bp,Anchor:xp,AnchorIcon:xp,Angry:wp,AngryIcon:wp,Annoyed:Sp,AnnoyedIcon:Sp,Antenna:_p,AntennaIcon:_p,Anvil:Cp,AnvilIcon:Cp,Aperture:Np,ApertureIcon:Np,AppWindow:Ep,AppWindowIcon:Ep,AppWindowMac:Lp,AppWindowMacIcon:Lp,Apple:Ap,AppleIcon:Ap,Archive:$p,ArchiveIcon:$p,ArchiveRestore:Ip,ArchiveRestoreIcon:Ip,ArchiveX:Tp,ArchiveXIcon:Tp,AreaChart:gc,AreaChartIcon:gc,Armchair:Rp,ArmchairIcon:Rp,ArrowBigDown:Pp,ArrowBigDownDash:jp,ArrowBigDownDashIcon:jp,ArrowBigDownIcon:Pp,ArrowBigLeft:Dp,ArrowBigLeftDash:Op,ArrowBigLeftDashIcon:Op,ArrowBigLeftIcon:Dp,ArrowBigRight:qp,ArrowBigRightDash:zp,ArrowBigRightDashIcon:zp,ArrowBigRightIcon:qp,ArrowBigUp:Vp,ArrowBigUpDash:Hp,ArrowBigUpDashIcon:Hp,ArrowBigUpIcon:Vp,ArrowDown:Qp,ArrowDown01:Bp,ArrowDown01Icon:Bp,ArrowDown10:Fp,ArrowDown10Icon:Fp,ArrowDownAZ:ic,ArrowDownAZIcon:ic,ArrowDownAz:ic,ArrowDownAzIcon:ic,ArrowDownCircle:Rc,ArrowDownCircleIcon:Rc,ArrowDownFromLine:Up,ArrowDownFromLineIcon:Up,ArrowDownIcon:Qp,ArrowDownLeft:Gp,ArrowDownLeftFromCircle:jc,ArrowDownLeftFromCircleIcon:jc,ArrowDownLeftFromSquare:wl,ArrowDownLeftFromSquareIcon:wl,ArrowDownLeftIcon:Gp,ArrowDownLeftSquare:gl,ArrowDownLeftSquareIcon:gl,ArrowDownNarrowWide:Wp,ArrowDownNarrowWideIcon:Wp,ArrowDownRight:Zp,ArrowDownRightFromCircle:Pc,ArrowDownRightFromCircleIcon:Pc,ArrowDownRightFromSquare:_l,ArrowDownRightFromSquareIcon:_l,ArrowDownRightIcon:Zp,ArrowDownRightSquare:Ml,ArrowDownRightSquareIcon:Ml,ArrowDownSquare:bl,ArrowDownSquareIcon:bl,ArrowDownToDot:Yp,ArrowDownToDotIcon:Yp,ArrowDownToLine:Xp,ArrowDownToLineIcon:Xp,ArrowDownUp:Kp,ArrowDownUpIcon:Kp,ArrowDownWideNarrow:cc,ArrowDownWideNarrowIcon:cc,ArrowDownZA:sc,ArrowDownZAIcon:sc,ArrowDownZa:sc,ArrowDownZaIcon:sc,ArrowLeft:nf,ArrowLeftCircle:$c,ArrowLeftCircleIcon:$c,ArrowLeftFromLine:Jp,ArrowLeftFromLineIcon:Jp,ArrowLeftIcon:nf,ArrowLeftRight:ef,ArrowLeftRightIcon:ef,ArrowLeftSquare:xl,ArrowLeftSquareIcon:xl,ArrowLeftToLine:tf,ArrowLeftToLineIcon:tf,ArrowRight:cf,ArrowRightCircle:qc,ArrowRightCircleIcon:qc,ArrowRightFromLine:af,ArrowRightFromLineIcon:af,ArrowRightIcon:cf,ArrowRightLeft:of,ArrowRightLeftIcon:of,ArrowRightSquare:Nl,ArrowRightSquareIcon:Nl,ArrowRightToLine:rf,ArrowRightToLineIcon:rf,ArrowUp:vf,ArrowUp01:sf,ArrowUp01Icon:sf,ArrowUp10:lf,ArrowUp10Icon:lf,ArrowUpAZ:lc,ArrowUpAZIcon:lc,ArrowUpAz:lc,ArrowUpAzIcon:lc,ArrowUpCircle:zc,ArrowUpCircleIcon:zc,ArrowUpDown:uf,ArrowUpDownIcon:uf,ArrowUpFromDot:df,ArrowUpFromDotIcon:df,ArrowUpFromLine:hf,ArrowUpFromLineIcon:hf,ArrowUpIcon:vf,ArrowUpLeft:pf,ArrowUpLeftFromCircle:Oc,ArrowUpLeftFromCircleIcon:Oc,ArrowUpLeftFromSquare:Sl,ArrowUpLeftFromSquareIcon:Sl,ArrowUpLeftIcon:pf,ArrowUpLeftSquare:Ll,ArrowUpLeftSquareIcon:Ll,ArrowUpNarrowWide:dc,ArrowUpNarrowWideIcon:dc,ArrowUpRight:ff,ArrowUpRightFromCircle:Dc,ArrowUpRightFromCircleIcon:Dc,ArrowUpRightFromSquare:Cl,ArrowUpRightFromSquareIcon:Cl,ArrowUpRightIcon:ff,ArrowUpRightSquare:El,ArrowUpRightSquareIcon:El,ArrowUpSquare:Il,ArrowUpSquareIcon:Il,ArrowUpToLine:yf,ArrowUpToLineIcon:yf,ArrowUpWideNarrow:mf,ArrowUpWideNarrowIcon:mf,ArrowUpZA:uc,ArrowUpZAIcon:uc,ArrowUpZa:uc,ArrowUpZaIcon:uc,ArrowsUpFromLine:kf,ArrowsUpFromLineIcon:kf,Asterisk:Mf,AsteriskIcon:Mf,AsteriskSquare:Al,AsteriskSquareIcon:Al,AtSign:gf,AtSignIcon:gf,Atom:xf,AtomIcon:xf,AudioLines:bf,AudioLinesIcon:bf,AudioWaveform:wf,AudioWaveformIcon:wf,Award:_f,AwardIcon:_f,Axe:Sf,AxeIcon:Sf,Axis3D:hc,Axis3DIcon:hc,Axis3d:hc,Axis3dIcon:hc,Baby:Cf,BabyIcon:Cf,Backpack:Nf,BackpackIcon:Nf,Badge:Bf,BadgeAlert:Lf,BadgeAlertIcon:Lf,BadgeCent:Ef,BadgeCentIcon:Ef,BadgeCheck:pc,BadgeCheckIcon:pc,BadgeDollarSign:If,BadgeDollarSignIcon:If,BadgeEuro:Af,BadgeEuroIcon:Af,BadgeHelp:Tf,BadgeHelpIcon:Tf,BadgeIcon:Bf,BadgeIndianRupee:Rf,BadgeIndianRupeeIcon:Rf,BadgeInfo:$f,BadgeInfoIcon:$f,BadgeJapaneseYen:jf,BadgeJapaneseYenIcon:jf,BadgeMinus:Pf,BadgeMinusIcon:Pf,BadgePercent:Of,BadgePercentIcon:Of,BadgePlus:Df,BadgePlusIcon:Df,BadgePoundSterling:zf,BadgePoundSterlingIcon:zf,BadgeRussianRuble:qf,BadgeRussianRubleIcon:qf,BadgeSwissFranc:Hf,BadgeSwissFrancIcon:Hf,BadgeX:Vf,BadgeXIcon:Vf,BaggageClaim:Ff,BaggageClaimIcon:Ff,Ban:Uf,BanIcon:Uf,Banana:Gf,BananaIcon:Gf,Bandage:Wf,BandageIcon:Wf,Banknote:Kf,BanknoteArrowDown:Zf,BanknoteArrowDownIcon:Zf,BanknoteIcon:Kf,BarChart:Nc,BarChart2:Lc,BarChart2Icon:Lc,BarChart3:Sc,BarChart3Icon:Sc,BarChart4:_c,BarChart4Icon:_c,BarChartBig:wc,BarChartBigIcon:wc,BarChartHorizontal:xc,BarChartHorizontalBig:Mc,BarChartHorizontalBigIcon:Mc,BarChartHorizontalIcon:xc,BarChartIcon:Nc,Barcode:Xf,BarcodeIcon:Xf,Baseline:Yf,BaselineIcon:Yf,Bath:Qf,BathIcon:Qf,Battery:ry,BatteryCharging:Jf,BatteryChargingIcon:Jf,BatteryFull:ey,BatteryFullIcon:ey,BatteryIcon:ry,BatteryLow:ty,BatteryLowIcon:ty,BatteryMedium:ny,BatteryMediumIcon:ny,BatteryPlus:ay,BatteryPlusIcon:ay,BatteryWarning:oy,BatteryWarningIcon:oy,Beaker:iy,BeakerIcon:iy,Bean:sy,BeanIcon:sy,BeanOff:cy,BeanOffIcon:cy,Bed:uy,BedDouble:ly,BedDoubleIcon:ly,BedIcon:uy,BedSingle:dy,BedSingleIcon:dy,Beef:hy,BeefIcon:hy,Beer:fy,BeerIcon:fy,BeerOff:py,BeerOffIcon:py,Bell:xy,BellDot:yy,BellDotIcon:yy,BellElectric:my,BellElectricIcon:my,BellIcon:xy,BellMinus:vy,BellMinusIcon:vy,BellOff:ky,BellOffIcon:ky,BellPlus:gy,BellPlusIcon:gy,BellRing:My,BellRingIcon:My,BetweenHorizonalEnd:yc,BetweenHorizonalEndIcon:yc,BetweenHorizonalStart:fc,BetweenHorizonalStartIcon:fc,BetweenHorizontalEnd:yc,BetweenHorizontalEndIcon:yc,BetweenHorizontalStart:fc,BetweenHorizontalStartIcon:fc,BetweenVerticalEnd:by,BetweenVerticalEndIcon:by,BetweenVerticalStart:wy,BetweenVerticalStartIcon:wy,BicepsFlexed:_y,BicepsFlexedIcon:_y,Bike:Sy,BikeIcon:Sy,Binary:Cy,BinaryIcon:Cy,Binoculars:Ly,BinocularsIcon:Ly,Biohazard:Ny,BiohazardIcon:Ny,Bird:Ey,BirdIcon:Ey,Bitcoin:Iy,BitcoinIcon:Iy,Blend:Ty,BlendIcon:Ty,Blinds:Ay,BlindsIcon:Ay,Blocks:Ry,BlocksIcon:Ry,Bluetooth:Oy,BluetoothConnected:$y,BluetoothConnectedIcon:$y,BluetoothIcon:Oy,BluetoothOff:jy,BluetoothOffIcon:jy,BluetoothSearching:Py,BluetoothSearchingIcon:Py,Bold:Dy,BoldIcon:Dy,Bolt:qy,BoltIcon:qy,Bomb:zy,BombIcon:zy,Bone:Vy,BoneIcon:Vy,Book:dm,BookA:Hy,BookAIcon:Hy,BookAudio:By,BookAudioIcon:By,BookCheck:Fy,BookCheckIcon:Fy,BookCopy:Uy,BookCopyIcon:Uy,BookDashed:mc,BookDashedIcon:mc,BookDown:Gy,BookDownIcon:Gy,BookHeadphones:Zy,BookHeadphonesIcon:Zy,BookHeart:Wy,BookHeartIcon:Wy,BookIcon:dm,BookImage:Ky,BookImageIcon:Ky,BookKey:Xy,BookKeyIcon:Xy,BookLock:Qy,BookLockIcon:Qy,BookMarked:Yy,BookMarkedIcon:Yy,BookMinus:Jy,BookMinusIcon:Jy,BookOpen:nm,BookOpenCheck:em,BookOpenCheckIcon:em,BookOpenIcon:nm,BookOpenText:tm,BookOpenTextIcon:tm,BookPlus:am,BookPlusIcon:am,BookTemplate:mc,BookTemplateIcon:mc,BookText:om,BookTextIcon:om,BookType:rm,BookTypeIcon:rm,BookUp:cm,BookUp2:im,BookUp2Icon:im,BookUpIcon:cm,BookUser:sm,BookUserIcon:sm,BookX:lm,BookXIcon:lm,Bookmark:ym,BookmarkCheck:um,BookmarkCheckIcon:um,BookmarkIcon:ym,BookmarkMinus:hm,BookmarkMinusIcon:hm,BookmarkPlus:pm,BookmarkPlusIcon:pm,BookmarkX:fm,BookmarkXIcon:fm,BoomBox:vm,BoomBoxIcon:vm,Bot:gm,BotIcon:gm,BotMessageSquare:mm,BotMessageSquareIcon:mm,BotOff:km,BotOffIcon:km,Box:Mm,BoxIcon:Mm,BoxSelect:Vl,BoxSelectIcon:Vl,Boxes:xm,BoxesIcon:xm,Braces:vc,BracesIcon:vc,Brackets:wm,BracketsIcon:wm,Brain:Cm,BrainCircuit:bm,BrainCircuitIcon:bm,BrainCog:_m,BrainCogIcon:_m,BrainIcon:Cm,BrickWall:Sm,BrickWallIcon:Sm,Briefcase:Im,BriefcaseBusiness:Nm,BriefcaseBusinessIcon:Nm,BriefcaseConveyorBelt:Em,BriefcaseConveyorBeltIcon:Em,BriefcaseIcon:Im,BriefcaseMedical:Lm,BriefcaseMedicalIcon:Lm,BringToFront:Am,BringToFrontIcon:Am,Brush:Rm,BrushIcon:Rm,Bug:jm,BugIcon:jm,BugOff:Tm,BugOffIcon:Tm,BugPlay:$m,BugPlayIcon:$m,Building:Om,Building2:Pm,Building2Icon:Pm,BuildingIcon:Om,Bus:zm,BusFront:Dm,BusFrontIcon:Dm,BusIcon:zm,Cable:Bm,CableCar:qm,CableCarIcon:qm,CableIcon:Bm,Cake:Vm,CakeIcon:Vm,CakeSlice:Hm,CakeSliceIcon:Hm,Calculator:Fm,CalculatorIcon:Fm,Calendar:uv,Calendar1:Gm,Calendar1Icon:Gm,CalendarArrowDown:Wm,CalendarArrowDownIcon:Wm,CalendarArrowUp:Um,CalendarArrowUpIcon:Um,CalendarCheck:Zm,CalendarCheck2:Xm,CalendarCheck2Icon:Xm,CalendarCheckIcon:Zm,CalendarClock:Km,CalendarClockIcon:Km,CalendarCog:Ym,CalendarCogIcon:Ym,CalendarDays:Qm,CalendarDaysIcon:Qm,CalendarFold:Jm,CalendarFoldIcon:Jm,CalendarHeart:ev,CalendarHeartIcon:ev,CalendarIcon:uv,CalendarMinus:nv,CalendarMinus2:tv,CalendarMinus2Icon:tv,CalendarMinusIcon:nv,CalendarOff:av,CalendarOffIcon:av,CalendarPlus:rv,CalendarPlus2:ov,CalendarPlus2Icon:ov,CalendarPlusIcon:rv,CalendarRange:iv,CalendarRangeIcon:iv,CalendarSearch:cv,CalendarSearchIcon:cv,CalendarSync:sv,CalendarSyncIcon:sv,CalendarX:dv,CalendarX2:lv,CalendarX2Icon:lv,CalendarXIcon:dv,Camera:pv,CameraIcon:pv,CameraOff:hv,CameraOffIcon:hv,CandlestickChart:bc,CandlestickChartIcon:bc,Candy:mv,CandyCane:fv,CandyCaneIcon:fv,CandyIcon:mv,CandyOff:yv,CandyOffIcon:yv,Cannabis:vv,CannabisIcon:vv,Captions:kc,CaptionsIcon:kc,CaptionsOff:kv,CaptionsOffIcon:kv,Car:xv,CarFront:gv,CarFrontIcon:gv,CarIcon:xv,CarTaxiFront:Mv,CarTaxiFrontIcon:Mv,Caravan:bv,CaravanIcon:bv,Carrot:wv,CarrotIcon:wv,CaseLower:_v,CaseLowerIcon:_v,CaseSensitive:Sv,CaseSensitiveIcon:Sv,CaseUpper:Cv,CaseUpperIcon:Cv,CassetteTape:Nv,CassetteTapeIcon:Nv,Cast:Lv,CastIcon:Lv,Castle:Ev,CastleIcon:Ev,Cat:Iv,CatIcon:Iv,Cctv:Av,CctvIcon:Av,ChartArea:gc,ChartAreaIcon:gc,ChartBar:xc,ChartBarBig:Mc,ChartBarBigIcon:Mc,ChartBarDecreasing:Tv,ChartBarDecreasingIcon:Tv,ChartBarIcon:xc,ChartBarIncreasing:Rv,ChartBarIncreasingIcon:Rv,ChartBarStacked:$v,ChartBarStackedIcon:$v,ChartCandlestick:bc,ChartCandlestickIcon:bc,ChartColumn:Sc,ChartColumnBig:wc,ChartColumnBigIcon:wc,ChartColumnDecreasing:jv,ChartColumnDecreasingIcon:jv,ChartColumnIcon:Sc,ChartColumnIncreasing:_c,ChartColumnIncreasingIcon:_c,ChartColumnStacked:Pv,ChartColumnStackedIcon:Pv,ChartGantt:Ov,ChartGanttIcon:Ov,ChartLine:Cc,ChartLineIcon:Cc,ChartNetwork:Dv,ChartNetworkIcon:Dv,ChartNoAxesColumn:Lc,ChartNoAxesColumnDecreasing:zv,ChartNoAxesColumnDecreasingIcon:zv,ChartNoAxesColumnIcon:Lc,ChartNoAxesColumnIncreasing:Nc,ChartNoAxesColumnIncreasingIcon:Nc,ChartNoAxesCombined:qv,ChartNoAxesCombinedIcon:qv,ChartNoAxesGantt:Ec,ChartNoAxesGanttIcon:Ec,ChartPie:Ic,ChartPieIcon:Ic,ChartScatter:Ac,ChartScatterIcon:Ac,ChartSpline:Hv,ChartSplineIcon:Hv,Check:sr,CheckCheck:Vv,CheckCheckIcon:Vv,CheckCircle:Hc,CheckCircle2:Vc,CheckCircle2Icon:Vc,CheckCircleIcon:Hc,CheckIcon:sr,CheckSquare:Rl,CheckSquare2:$l,CheckSquare2Icon:$l,CheckSquareIcon:Rl,ChefHat:Bv,ChefHatIcon:Bv,Cherry:Fv,CherryIcon:Fv,ChevronDown:xi,ChevronDownCircle:Bc,ChevronDownCircleIcon:Bc,ChevronDownIcon:xi,ChevronDownSquare:jl,ChevronDownSquareIcon:jl,ChevronFirst:Uv,ChevronFirstIcon:Uv,ChevronLast:Gv,ChevronLastIcon:Gv,ChevronLeft:Hd,ChevronLeftCircle:Fc,ChevronLeftCircleIcon:Fc,ChevronLeftIcon:Hd,ChevronLeftSquare:Pl,ChevronLeftSquareIcon:Pl,ChevronRight:lr,ChevronRightCircle:Uc,ChevronRightCircleIcon:Uc,ChevronRightIcon:lr,ChevronRightSquare:Ol,ChevronRightSquareIcon:Ol,ChevronUp:m2,ChevronUpCircle:Gc,ChevronUpCircleIcon:Gc,ChevronUpIcon:m2,ChevronUpSquare:Dl,ChevronUpSquareIcon:Dl,ChevronsDown:Zv,ChevronsDownIcon:Zv,ChevronsDownUp:Wv,ChevronsDownUpIcon:Wv,ChevronsLeft:Yv,ChevronsLeftIcon:Yv,ChevronsLeftRight:Kv,ChevronsLeftRightEllipsis:Xv,ChevronsLeftRightEllipsisIcon:Xv,ChevronsLeftRightIcon:Kv,ChevronsRight:Jv,ChevronsRightIcon:Jv,ChevronsRightLeft:Qv,ChevronsRightLeftIcon:Qv,ChevronsUp:t4,ChevronsUpDown:e4,ChevronsUpDownIcon:e4,ChevronsUpIcon:t4,Chrome:n4,ChromeIcon:n4,Church:a4,ChurchIcon:a4,Cigarette:r4,CigaretteIcon:r4,CigaretteOff:o4,CigaretteOffIcon:o4,Circle:O1,CircleAlert:Tc,CircleAlertIcon:Tc,CircleArrowDown:Rc,CircleArrowDownIcon:Rc,CircleArrowLeft:$c,CircleArrowLeftIcon:$c,CircleArrowOutDownLeft:jc,CircleArrowOutDownLeftIcon:jc,CircleArrowOutDownRight:Pc,CircleArrowOutDownRightIcon:Pc,CircleArrowOutUpLeft:Oc,CircleArrowOutUpLeftIcon:Oc,CircleArrowOutUpRight:Dc,CircleArrowOutUpRightIcon:Dc,CircleArrowRight:qc,CircleArrowRightIcon:qc,CircleArrowUp:zc,CircleArrowUpIcon:zc,CircleCheck:Vc,CircleCheckBig:Hc,CircleCheckBigIcon:Hc,CircleCheckIcon:Vc,CircleChevronDown:Bc,CircleChevronDownIcon:Bc,CircleChevronLeft:Fc,CircleChevronLeftIcon:Fc,CircleChevronRight:Uc,CircleChevronRightIcon:Uc,CircleChevronUp:Gc,CircleChevronUpIcon:Gc,CircleDashed:i4,CircleDashedIcon:i4,CircleDivide:Wc,CircleDivideIcon:Wc,CircleDollarSign:c4,CircleDollarSignIcon:c4,CircleDot:l4,CircleDotDashed:s4,CircleDotDashedIcon:s4,CircleDotIcon:l4,CircleEllipsis:d4,CircleEllipsisIcon:d4,CircleEqual:u4,CircleEqualIcon:u4,CircleFadingArrowUp:h4,CircleFadingArrowUpIcon:h4,CircleFadingPlus:p4,CircleFadingPlusIcon:p4,CircleGauge:Zc,CircleGaugeIcon:Zc,CircleHelp:Kc,CircleHelpIcon:Kc,CircleIcon:O1,CircleMinus:Xc,CircleMinusIcon:Xc,CircleOff:f4,CircleOffIcon:f4,CircleParking:Qc,CircleParkingIcon:Qc,CircleParkingOff:Yc,CircleParkingOffIcon:Yc,CirclePause:Jc,CirclePauseIcon:Jc,CirclePercent:es,CirclePercentIcon:es,CirclePlay:ts,CirclePlayIcon:ts,CirclePlus:ns,CirclePlusIcon:ns,CirclePower:as,CirclePowerIcon:as,CircleSlash:y4,CircleSlash2:os,CircleSlash2Icon:os,CircleSlashIcon:y4,CircleSlashed:os,CircleSlashedIcon:os,CircleSmall:m4,CircleSmallIcon:m4,CircleStop:rs,CircleStopIcon:rs,CircleUser:cs,CircleUserIcon:cs,CircleUserRound:is,CircleUserRoundIcon:is,CircleX:Or,CircleXIcon:Or,CircuitBoard:v4,CircuitBoardIcon:v4,Citrus:k4,CitrusIcon:k4,Clapperboard:g4,ClapperboardIcon:g4,Clipboard:L4,ClipboardCheck:M4,ClipboardCheckIcon:M4,ClipboardCopy:x4,ClipboardCopyIcon:x4,ClipboardEdit:ls,ClipboardEditIcon:ls,ClipboardIcon:L4,ClipboardList:b4,ClipboardListIcon:b4,ClipboardMinus:w4,ClipboardMinusIcon:w4,ClipboardPaste:_4,ClipboardPasteIcon:_4,ClipboardPen:ls,ClipboardPenIcon:ls,ClipboardPenLine:ss,ClipboardPenLineIcon:ss,ClipboardPlus:S4,ClipboardPlusIcon:S4,ClipboardSignature:ss,ClipboardSignatureIcon:ss,ClipboardType:C4,ClipboardTypeIcon:C4,ClipboardX:N4,ClipboardXIcon:N4,Clock:U4,Clock1:E4,Clock10:I4,Clock10Icon:I4,Clock11:A4,Clock11Icon:A4,Clock12:T4,Clock12Icon:T4,Clock1Icon:E4,Clock2:R4,Clock2Icon:R4,Clock3:$4,Clock3Icon:$4,Clock4:j4,Clock4Icon:j4,Clock5:P4,Clock5Icon:P4,Clock6:O4,Clock6Icon:O4,Clock7:D4,Clock7Icon:D4,Clock8:z4,Clock8Icon:z4,Clock9:q4,Clock9Icon:q4,ClockAlert:H4,ClockAlertIcon:H4,ClockArrowDown:V4,ClockArrowDownIcon:V4,ClockArrowUp:B4,ClockArrowUpIcon:B4,ClockFading:F4,ClockFadingIcon:F4,ClockIcon:U4,Cloud:ik,CloudAlert:G4,CloudAlertIcon:G4,CloudCog:W4,CloudCogIcon:W4,CloudDownload:ds,CloudDownloadIcon:ds,CloudDrizzle:Z4,CloudDrizzleIcon:Z4,CloudFog:X4,CloudFogIcon:X4,CloudHail:Y4,CloudHailIcon:Y4,CloudIcon:ik,CloudLightning:K4,CloudLightningIcon:K4,CloudMoon:J4,CloudMoonIcon:J4,CloudMoonRain:Q4,CloudMoonRainIcon:Q4,CloudOff:ek,CloudOffIcon:ek,CloudRain:tk,CloudRainIcon:tk,CloudRainWind:nk,CloudRainWindIcon:nk,CloudSnow:ak,CloudSnowIcon:ak,CloudSun:ok,CloudSunIcon:ok,CloudSunRain:rk,CloudSunRainIcon:rk,CloudUpload:us,CloudUploadIcon:us,Cloudy:ck,CloudyIcon:ck,Clover:sk,CloverIcon:sk,Club:lk,ClubIcon:lk,Code:dk,Code2:hs,Code2Icon:hs,CodeIcon:dk,CodeSquare:zl,CodeSquareIcon:zl,CodeXml:hs,CodeXmlIcon:hs,Codepen:uk,CodepenIcon:uk,Codesandbox:hk,CodesandboxIcon:hk,Coffee:pk,CoffeeIcon:pk,Cog:fk,CogIcon:fk,Coins:yk,CoinsIcon:yk,Columns:ps,Columns2:ps,Columns2Icon:ps,Columns3:fs,Columns3Icon:fs,Columns4:mk,Columns4Icon:mk,ColumnsIcon:ps,Combine:vk,CombineIcon:vk,Command:kk,CommandIcon:kk,Compass:gk,CompassIcon:gk,Component:Mk,ComponentIcon:Mk,Computer:xk,ComputerIcon:xk,ConciergeBell:bk,ConciergeBellIcon:bk,Cone:wk,ConeIcon:wk,Construction:_k,ConstructionIcon:_k,Contact:Sk,Contact2:ys,Contact2Icon:ys,ContactIcon:Sk,ContactRound:ys,ContactRoundIcon:ys,Container:Ck,ContainerIcon:Ck,Contrast:Nk,ContrastIcon:Nk,Cookie:Lk,CookieIcon:Lk,CookingPot:Ek,CookingPotIcon:Ek,Copy:jk,CopyCheck:Ik,CopyCheckIcon:Ik,CopyIcon:jk,CopyMinus:Ak,CopyMinusIcon:Ak,CopyPlus:Tk,CopyPlusIcon:Tk,CopySlash:Rk,CopySlashIcon:Rk,CopyX:$k,CopyXIcon:$k,Copyleft:Ok,CopyleftIcon:Ok,Copyright:Pk,CopyrightIcon:Pk,CornerDownLeft:Dk,CornerDownLeftIcon:Dk,CornerDownRight:zk,CornerDownRightIcon:zk,CornerLeftDown:qk,CornerLeftDownIcon:qk,CornerLeftUp:Hk,CornerLeftUpIcon:Hk,CornerRightDown:Vk,CornerRightDownIcon:Vk,CornerRightUp:Bk,CornerRightUpIcon:Bk,CornerUpLeft:Fk,CornerUpLeftIcon:Fk,CornerUpRight:Uk,CornerUpRightIcon:Uk,Cpu:Gk,CpuIcon:Gk,CreativeCommons:Wk,CreativeCommonsIcon:Wk,CreditCard:Zk,CreditCardIcon:Zk,Croissant:Xk,CroissantIcon:Xk,Crop:Kk,CropIcon:Kk,Cross:Yk,CrossIcon:Yk,Crosshair:Qk,CrosshairIcon:Qk,Crown:Jk,CrownIcon:Jk,Cuboid:eg,CuboidIcon:eg,CupSoda:tg,CupSodaIcon:tg,CurlyBraces:vc,CurlyBracesIcon:vc,Currency:ng,CurrencyIcon:ng,Cylinder:ag,CylinderIcon:ag,Dam:og,DamIcon:og,Database:sg,DatabaseBackup:rg,DatabaseBackupIcon:rg,DatabaseIcon:sg,DatabaseZap:ig,DatabaseZapIcon:ig,Delete:cg,DeleteIcon:cg,Dessert:lg,DessertIcon:lg,Diameter:dg,DiameterIcon:dg,Diamond:pg,DiamondIcon:pg,DiamondMinus:ug,DiamondMinusIcon:ug,DiamondPercent:ms,DiamondPercentIcon:ms,DiamondPlus:hg,DiamondPlusIcon:hg,Dice1:fg,Dice1Icon:fg,Dice2:yg,Dice2Icon:yg,Dice3:mg,Dice3Icon:mg,Dice4:vg,Dice4Icon:vg,Dice5:kg,Dice5Icon:kg,Dice6:gg,Dice6Icon:gg,Dices:Mg,DicesIcon:Mg,Diff:xg,DiffIcon:xg,Disc:Sg,Disc2:wg,Disc2Icon:wg,Disc3:bg,Disc3Icon:bg,DiscAlbum:_g,DiscAlbumIcon:_g,DiscIcon:Sg,Divide:Cg,DivideCircle:Wc,DivideCircleIcon:Wc,DivideIcon:Cg,DivideSquare:Bl,DivideSquareIcon:Bl,Dna:Lg,DnaIcon:Lg,DnaOff:Ng,DnaOffIcon:Ng,Dock:Eg,DockIcon:Eg,Dog:Ig,DogIcon:Ig,DollarSign:Ag,DollarSignIcon:Ag,Donut:Tg,DonutIcon:Tg,DoorClosed:Rg,DoorClosedIcon:Rg,DoorOpen:$g,DoorOpenIcon:$g,Dot:jg,DotIcon:jg,DotSquare:Fl,DotSquareIcon:Fl,Download:Og,DownloadCloud:ds,DownloadCloudIcon:ds,DownloadIcon:Og,DraftingCompass:Pg,DraftingCompassIcon:Pg,Drama:Dg,DramaIcon:Dg,Dribbble:zg,DribbbleIcon:zg,Drill:qg,DrillIcon:qg,Droplet:Vg,DropletIcon:Vg,DropletOff:Hg,DropletOffIcon:Hg,Droplets:Fg,DropletsIcon:Fg,Drum:Ug,DrumIcon:Ug,Drumstick:Bg,DrumstickIcon:Bg,Dumbbell:Gg,DumbbellIcon:Gg,Ear:Zg,EarIcon:Zg,EarOff:Wg,EarOffIcon:Wg,Earth:vs,EarthIcon:vs,EarthLock:Xg,EarthLockIcon:Xg,Eclipse:Kg,EclipseIcon:Kg,Edit:Un,Edit2:cl,Edit2Icon:cl,Edit3:il,Edit3Icon:il,EditIcon:Un,Egg:Jg,EggFried:Yg,EggFriedIcon:Yg,EggIcon:Jg,EggOff:Qg,EggOffIcon:Qg,Ellipsis:Dr,EllipsisIcon:Dr,EllipsisVertical:ks,EllipsisVerticalIcon:ks,Equal:n5,EqualApproximately:e5,EqualApproximatelyIcon:e5,EqualIcon:n5,EqualNot:t5,EqualNotIcon:t5,EqualSquare:Gl,EqualSquareIcon:Gl,Eraser:a5,EraserIcon:a5,EthernetPort:o5,EthernetPortIcon:o5,Euro:r5,EuroIcon:r5,Expand:i5,ExpandIcon:i5,ExternalLink:v2,ExternalLinkIcon:v2,Eye:l5,EyeClosed:c5,EyeClosedIcon:c5,EyeIcon:l5,EyeOff:s5,EyeOffIcon:s5,Facebook:d5,FacebookIcon:d5,Factory:u5,FactoryIcon:u5,Fan:h5,FanIcon:h5,FastForward:p5,FastForwardIcon:p5,Feather:f5,FeatherIcon:f5,Fence:y5,FenceIcon:y5,FerrisWheel:m5,FerrisWheelIcon:m5,Figma:v5,FigmaIcon:v5,File:p3,FileArchive:k5,FileArchiveIcon:k5,FileAudio:M5,FileAudio2:g5,FileAudio2Icon:g5,FileAudioIcon:M5,FileAxis3D:gs,FileAxis3DIcon:gs,FileAxis3d:gs,FileAxis3dIcon:gs,FileBadge:b5,FileBadge2:x5,FileBadge2Icon:x5,FileBadgeIcon:b5,FileBarChart:Ms,FileBarChart2:xs,FileBarChart2Icon:xs,FileBarChartIcon:Ms,FileBox:w5,FileBoxIcon:w5,FileChartColumn:xs,FileChartColumnIcon:xs,FileChartColumnIncreasing:Ms,FileChartColumnIncreasingIcon:Ms,FileChartLine:ws,FileChartLineIcon:ws,FileChartPie:bs,FileChartPieIcon:bs,FileCheck:S5,FileCheck2:_5,FileCheck2Icon:_5,FileCheckIcon:S5,FileClock:C5,FileClockIcon:C5,FileCode:L5,FileCode2:N5,FileCode2Icon:N5,FileCodeIcon:L5,FileCog:_s,FileCog2:_s,FileCog2Icon:_s,FileCogIcon:_s,FileDiff:E5,FileDiffIcon:E5,FileDigit:I5,FileDigitIcon:I5,FileDown:A5,FileDownIcon:A5,FileEdit:Cs,FileEditIcon:Cs,FileHeart:T5,FileHeartIcon:T5,FileIcon:p3,FileImage:R5,FileImageIcon:R5,FileInput:$5,FileInputIcon:$5,FileJson:P5,FileJson2:j5,FileJson2Icon:j5,FileJsonIcon:P5,FileKey:D5,FileKey2:O5,FileKey2Icon:O5,FileKeyIcon:D5,FileLineChart:ws,FileLineChartIcon:ws,FileLock:q5,FileLock2:z5,FileLock2Icon:z5,FileLockIcon:q5,FileMinus:V5,FileMinus2:H5,FileMinus2Icon:H5,FileMinusIcon:V5,FileMusic:B5,FileMusicIcon:B5,FileOutput:F5,FileOutputIcon:F5,FilePen:Cs,FilePenIcon:Cs,FilePenLine:Ss,FilePenLineIcon:Ss,FilePieChart:bs,FilePieChartIcon:bs,FilePlus:G5,FilePlus2:U5,FilePlus2Icon:U5,FilePlusIcon:G5,FileQuestion:Z5,FileQuestionIcon:Z5,FileScan:W5,FileScanIcon:W5,FileSearch:K5,FileSearch2:X5,FileSearch2Icon:X5,FileSearchIcon:K5,FileSignature:Ss,FileSignatureIcon:Ss,FileSliders:Y5,FileSlidersIcon:Y5,FileSpreadsheet:J5,FileSpreadsheetIcon:J5,FileStack:Q5,FileStackIcon:Q5,FileSymlink:e3,FileSymlinkIcon:e3,FileTerminal:t3,FileTerminalIcon:t3,FileText:n3,FileTextIcon:n3,FileType:o3,FileType2:a3,FileType2Icon:a3,FileTypeIcon:o3,FileUp:r3,FileUpIcon:r3,FileUser:i3,FileUserIcon:i3,FileVideo:s3,FileVideo2:c3,FileVideo2Icon:c3,FileVideoIcon:s3,FileVolume:d3,FileVolume2:l3,FileVolume2Icon:l3,FileVolumeIcon:d3,FileWarning:u3,FileWarningIcon:u3,FileX:h3,FileX2:f3,FileX2Icon:f3,FileXIcon:h3,Files:y3,FilesIcon:y3,Film:m3,FilmIcon:m3,Filter:Is,FilterIcon:Is,FilterX:Es,FilterXIcon:Es,Fingerprint:v3,FingerprintIcon:v3,FireExtinguisher:k3,FireExtinguisherIcon:k3,Fish:x3,FishIcon:x3,FishOff:g3,FishOffIcon:g3,FishSymbol:M3,FishSymbolIcon:M3,Flag:S3,FlagIcon:S3,FlagOff:b3,FlagOffIcon:b3,FlagTriangleLeft:w3,FlagTriangleLeftIcon:w3,FlagTriangleRight:_3,FlagTriangleRightIcon:_3,Flame:N3,FlameIcon:N3,FlameKindling:C3,FlameKindlingIcon:C3,Flashlight:E3,FlashlightIcon:E3,FlashlightOff:L3,FlashlightOffIcon:L3,FlaskConical:A3,FlaskConicalIcon:A3,FlaskConicalOff:I3,FlaskConicalOffIcon:I3,FlaskRound:T3,FlaskRoundIcon:T3,FlipHorizontal:$3,FlipHorizontal2:R3,FlipHorizontal2Icon:R3,FlipHorizontalIcon:$3,FlipVertical:P3,FlipVertical2:j3,FlipVertical2Icon:j3,FlipVerticalIcon:P3,Flower:D3,Flower2:O3,Flower2Icon:O3,FlowerIcon:D3,Focus:z3,FocusIcon:z3,FoldHorizontal:q3,FoldHorizontalIcon:q3,FoldVertical:H3,FoldVerticalIcon:H3,Folder:y6,FolderArchive:V3,FolderArchiveIcon:V3,FolderCheck:B3,FolderCheckIcon:B3,FolderClock:U3,FolderClockIcon:U3,FolderClosed:F3,FolderClosedIcon:F3,FolderCode:G3,FolderCodeIcon:G3,FolderCog:Ns,FolderCog2:Ns,FolderCog2Icon:Ns,FolderCogIcon:Ns,FolderDot:W3,FolderDotIcon:W3,FolderDown:Z3,FolderDownIcon:Z3,FolderEdit:Ls,FolderEditIcon:Ls,FolderGit:Q3,FolderGit2:X3,FolderGit2Icon:X3,FolderGitIcon:Q3,FolderHeart:K3,FolderHeartIcon:K3,FolderIcon:y6,FolderInput:Y3,FolderInputIcon:Y3,FolderKanban:J3,FolderKanbanIcon:J3,FolderKey:e6,FolderKeyIcon:e6,FolderLock:t6,FolderLockIcon:t6,FolderMinus:a6,FolderMinusIcon:a6,FolderOpen:o6,FolderOpenDot:n6,FolderOpenDotIcon:n6,FolderOpenIcon:o6,FolderOutput:r6,FolderOutputIcon:r6,FolderPen:Ls,FolderPenIcon:Ls,FolderPlus:i6,FolderPlusIcon:i6,FolderRoot:c6,FolderRootIcon:c6,FolderSearch:l6,FolderSearch2:s6,FolderSearch2Icon:s6,FolderSearchIcon:l6,FolderSymlink:d6,FolderSymlinkIcon:d6,FolderSync:u6,FolderSyncIcon:u6,FolderTree:h6,FolderTreeIcon:h6,FolderUp:f6,FolderUpIcon:f6,FolderX:p6,FolderXIcon:p6,Folders:m6,FoldersIcon:m6,Footprints:v6,FootprintsIcon:v6,ForkKnife:A1,ForkKnifeCrossed:I1,ForkKnifeCrossedIcon:I1,ForkKnifeIcon:A1,Forklift:k6,ForkliftIcon:k6,FormInput:ll,FormInputIcon:ll,Forward:g6,ForwardIcon:g6,Frame:M6,FrameIcon:M6,Framer:x6,FramerIcon:x6,Frown:b6,FrownIcon:b6,Fuel:w6,FuelIcon:w6,Fullscreen:_6,FullscreenIcon:_6,FunctionSquare:Ul,FunctionSquareIcon:Ul,Funnel:Is,FunnelIcon:Is,FunnelPlus:S6,FunnelPlusIcon:S6,FunnelX:Es,FunnelXIcon:Es,GalleryHorizontal:N6,GalleryHorizontalEnd:C6,GalleryHorizontalEndIcon:C6,GalleryHorizontalIcon:N6,GalleryThumbnails:L6,GalleryThumbnailsIcon:L6,GalleryVertical:I6,GalleryVerticalEnd:E6,GalleryVerticalEndIcon:E6,GalleryVerticalIcon:I6,Gamepad:T6,Gamepad2:A6,Gamepad2Icon:A6,GamepadIcon:T6,GanttChart:Ec,GanttChartIcon:Ec,GanttChartSquare:nr,GanttChartSquareIcon:nr,Gauge:R6,GaugeCircle:Zc,GaugeCircleIcon:Zc,GaugeIcon:R6,Gavel:j6,GavelIcon:j6,Gem:$6,GemIcon:$6,Ghost:P6,GhostIcon:P6,Gift:D6,GiftIcon:D6,GitBranch:z6,GitBranchIcon:z6,GitBranchPlus:O6,GitBranchPlusIcon:O6,GitCommit:As,GitCommitHorizontal:As,GitCommitHorizontalIcon:As,GitCommitIcon:As,GitCommitVertical:q6,GitCommitVerticalIcon:q6,GitCompare:V6,GitCompareArrows:H6,GitCompareArrowsIcon:H6,GitCompareIcon:V6,GitFork:B6,GitForkIcon:B6,GitGraph:F6,GitGraphIcon:F6,GitMerge:U6,GitMergeIcon:U6,GitPullRequest:Y6,GitPullRequestArrow:G6,GitPullRequestArrowIcon:G6,GitPullRequestClosed:W6,GitPullRequestClosedIcon:W6,GitPullRequestCreate:X6,GitPullRequestCreateArrow:Z6,GitPullRequestCreateArrowIcon:Z6,GitPullRequestCreateIcon:X6,GitPullRequestDraft:K6,GitPullRequestDraftIcon:K6,GitPullRequestIcon:Y6,Github:Q6,GithubIcon:Q6,Gitlab:J6,GitlabIcon:J6,GlassWater:e8,GlassWaterIcon:e8,Glasses:t8,GlassesIcon:t8,Globe:a8,Globe2:vs,Globe2Icon:vs,GlobeIcon:a8,GlobeLock:n8,GlobeLockIcon:n8,Goal:r8,GoalIcon:r8,Grab:o8,GrabIcon:o8,GraduationCap:i8,GraduationCapIcon:i8,Grape:c8,GrapeIcon:c8,Grid:tr,Grid2X2:js,Grid2X2Check:Ts,Grid2X2CheckIcon:Ts,Grid2X2Icon:js,Grid2X2Plus:Rs,Grid2X2PlusIcon:Rs,Grid2X2X:$s,Grid2X2XIcon:$s,Grid2x2:js,Grid2x2Check:Ts,Grid2x2CheckIcon:Ts,Grid2x2Icon:js,Grid2x2Plus:Rs,Grid2x2PlusIcon:Rs,Grid2x2X:$s,Grid2x2XIcon:$s,Grid3X3:tr,Grid3X3Icon:tr,Grid3x3:tr,Grid3x3Icon:tr,GridIcon:tr,Grip:d8,GripHorizontal:s8,GripHorizontalIcon:s8,GripIcon:d8,GripVertical:l8,GripVerticalIcon:l8,Group:u8,GroupIcon:u8,Guitar:h8,GuitarIcon:h8,Ham:p8,HamIcon:p8,Hammer:f8,HammerIcon:f8,Hand:g8,HandCoins:y8,HandCoinsIcon:y8,HandHeart:m8,HandHeartIcon:m8,HandHelping:Ps,HandHelpingIcon:Ps,HandIcon:g8,HandMetal:v8,HandMetalIcon:v8,HandPlatter:k8,HandPlatterIcon:k8,Handshake:M8,HandshakeIcon:M8,HardDrive:w8,HardDriveDownload:x8,HardDriveDownloadIcon:x8,HardDriveIcon:w8,HardDriveUpload:b8,HardDriveUploadIcon:b8,HardHat:_8,HardHatIcon:_8,Hash:S8,HashIcon:S8,Haze:C8,HazeIcon:C8,HdmiPort:N8,HdmiPortIcon:N8,Heading:$8,Heading1:L8,Heading1Icon:L8,Heading2:E8,Heading2Icon:E8,Heading3:I8,Heading3Icon:I8,Heading4:T8,Heading4Icon:T8,Heading5:A8,Heading5Icon:A8,Heading6:R8,Heading6Icon:R8,HeadingIcon:$8,HeadphoneOff:j8,HeadphoneOffIcon:j8,Headphones:P8,HeadphonesIcon:P8,Headset:O8,HeadsetIcon:O8,Heart:V8,HeartCrack:D8,HeartCrackIcon:D8,HeartHandshake:z8,HeartHandshakeIcon:z8,HeartIcon:V8,HeartOff:q8,HeartOffIcon:q8,HeartPulse:H8,HeartPulseIcon:H8,Heater:B8,HeaterIcon:B8,HelpCircle:Kc,HelpCircleIcon:Kc,HelpingHand:Ps,HelpingHandIcon:Ps,Hexagon:F8,HexagonIcon:F8,Highlighter:U8,HighlighterIcon:U8,History:G8,HistoryIcon:G8,Home:Os,HomeIcon:Os,Hop:Z8,HopIcon:Z8,HopOff:W8,HopOffIcon:W8,Hospital:X8,HospitalIcon:X8,Hotel:Q8,HotelIcon:Q8,Hourglass:K8,HourglassIcon:K8,House:Os,HouseIcon:Os,HousePlug:Y8,HousePlugIcon:Y8,HousePlus:J8,HousePlusIcon:J8,HouseWifi:eM,HouseWifiIcon:eM,IceCream:zs,IceCream2:Ds,IceCream2Icon:Ds,IceCreamBowl:Ds,IceCreamBowlIcon:Ds,IceCreamCone:zs,IceCreamConeIcon:zs,IceCreamIcon:zs,Icon:pG,IdCard:tM,IdCardIcon:tM,Image:lM,ImageDown:nM,ImageDownIcon:nM,ImageIcon:lM,ImageMinus:aM,ImageMinusIcon:aM,ImageOff:oM,ImageOffIcon:oM,ImagePlay:rM,ImagePlayIcon:rM,ImagePlus:iM,ImagePlusIcon:iM,ImageUp:cM,ImageUpIcon:cM,ImageUpscale:sM,ImageUpscaleIcon:sM,Images:dM,ImagesIcon:dM,Import:uM,ImportIcon:uM,Inbox:hM,InboxIcon:hM,Indent:Hs,IndentDecrease:qs,IndentDecreaseIcon:qs,IndentIcon:Hs,IndentIncrease:Hs,IndentIncreaseIcon:Hs,IndianRupee:pM,IndianRupeeIcon:pM,Infinity:fM,InfinityIcon:fM,Info:yM,InfoIcon:yM,Inspect:Ql,InspectIcon:Ql,InspectionPanel:mM,InspectionPanelIcon:mM,Instagram:vM,InstagramIcon:vM,Italic:kM,ItalicIcon:kM,IterationCcw:gM,IterationCcwIcon:gM,IterationCw:MM,IterationCwIcon:MM,JapaneseYen:xM,JapaneseYenIcon:xM,Joystick:bM,JoystickIcon:bM,Kanban:wM,KanbanIcon:wM,KanbanSquare:Wl,KanbanSquareDashed:ql,KanbanSquareDashedIcon:ql,KanbanSquareIcon:Wl,Key:CM,KeyIcon:CM,KeyRound:_M,KeyRoundIcon:_M,KeySquare:SM,KeySquareIcon:SM,Keyboard:EM,KeyboardIcon:EM,KeyboardMusic:NM,KeyboardMusicIcon:NM,KeyboardOff:LM,KeyboardOffIcon:LM,Lamp:jM,LampCeiling:IM,LampCeilingIcon:IM,LampDesk:AM,LampDeskIcon:AM,LampFloor:TM,LampFloorIcon:TM,LampIcon:jM,LampWallDown:RM,LampWallDownIcon:RM,LampWallUp:$M,LampWallUpIcon:$M,LandPlot:PM,LandPlotIcon:PM,Landmark:OM,LandmarkIcon:OM,Languages:zM,LanguagesIcon:zM,Laptop:qM,Laptop2:Vs,Laptop2Icon:Vs,LaptopIcon:qM,LaptopMinimal:Vs,LaptopMinimalCheck:DM,LaptopMinimalCheckIcon:DM,LaptopMinimalIcon:Vs,Lasso:VM,LassoIcon:VM,LassoSelect:HM,LassoSelectIcon:HM,Laugh:BM,LaughIcon:BM,Layers:Bs,Layers2:FM,Layers2Icon:FM,Layers3:Bs,Layers3Icon:Bs,LayersIcon:Bs,Layout:rl,LayoutDashboard:UM,LayoutDashboardIcon:UM,LayoutGrid:GM,LayoutGridIcon:GM,LayoutIcon:rl,LayoutList:WM,LayoutListIcon:WM,LayoutPanelLeft:ZM,LayoutPanelLeftIcon:ZM,LayoutPanelTop:XM,LayoutPanelTopIcon:XM,LayoutTemplate:KM,LayoutTemplateIcon:KM,Leaf:YM,LeafIcon:YM,LeafyGreen:QM,LeafyGreenIcon:QM,Lectern:JM,LecternIcon:JM,LetterText:ex,LetterTextIcon:ex,Library:ax,LibraryBig:tx,LibraryBigIcon:tx,LibraryIcon:ax,LibrarySquare:Zl,LibrarySquareIcon:Zl,LifeBuoy:nx,LifeBuoyIcon:nx,Ligature:ox,LigatureIcon:ox,Lightbulb:ix,LightbulbIcon:ix,LightbulbOff:rx,LightbulbOffIcon:rx,LineChart:Cc,LineChartIcon:Cc,Link:sx,Link2:lx,Link2Icon:lx,Link2Off:cx,Link2OffIcon:cx,LinkIcon:sx,Linkedin:dx,LinkedinIcon:dx,List:Nx,ListCheck:ux,ListCheckIcon:ux,ListChecks:hx,ListChecksIcon:hx,ListCollapse:fx,ListCollapseIcon:fx,ListEnd:px,ListEndIcon:px,ListFilter:mx,ListFilterIcon:mx,ListFilterPlus:yx,ListFilterPlusIcon:yx,ListIcon:Nx,ListMinus:vx,ListMinusIcon:vx,ListMusic:kx,ListMusicIcon:kx,ListOrdered:gx,ListOrderedIcon:gx,ListPlus:Mx,ListPlusIcon:Mx,ListRestart:xx,ListRestartIcon:xx,ListStart:bx,ListStartIcon:bx,ListTodo:wx,ListTodoIcon:wx,ListTree:_x,ListTreeIcon:_x,ListVideo:Sx,ListVideoIcon:Sx,ListX:Cx,ListXIcon:Cx,Loader:Ex,Loader2:Fs,Loader2Icon:Fs,LoaderCircle:Fs,LoaderCircleIcon:Fs,LoaderIcon:Ex,LoaderPinwheel:Lx,LoaderPinwheelIcon:Lx,Locate:Tx,LocateFixed:Ix,LocateFixedIcon:Ix,LocateIcon:Tx,LocateOff:Ax,LocateOffIcon:Ax,Lock:$x,LockIcon:$x,LockKeyhole:Rx,LockKeyholeIcon:Rx,LockKeyholeOpen:Us,LockKeyholeOpenIcon:Us,LockOpen:Gs,LockOpenIcon:Gs,LogIn:jx,LogInIcon:jx,LogOut:Px,LogOutIcon:Px,Logs:Ox,LogsIcon:Ox,Lollipop:Dx,LollipopIcon:Dx,LucideAArrowDown:jh,LucideAArrowUp:Ph,LucideALargeSmall:Oh,LucideAccessibility:Dh,LucideActivity:zh,LucideActivitySquare:kl,LucideAirVent:qh,LucideAirplay:Hh,LucideAlarmCheck:ac,LucideAlarmClock:Bh,LucideAlarmClockCheck:ac,LucideAlarmClockMinus:oc,LucideAlarmClockOff:Vh,LucideAlarmClockPlus:rc,LucideAlarmMinus:oc,LucideAlarmPlus:rc,LucideAlarmSmoke:Fh,LucideAlbum:Uh,LucideAlertCircle:Tc,LucideAlertOctagon:Xs,LucideAlertTriangle:M1,LucideAlignCenter:Xh,LucideAlignCenterHorizontal:Gh,LucideAlignCenterVertical:Wh,LucideAlignEndHorizontal:Zh,LucideAlignEndVertical:Kh,LucideAlignHorizontalDistributeCenter:Yh,LucideAlignHorizontalDistributeEnd:Qh,LucideAlignHorizontalDistributeStart:Jh,LucideAlignHorizontalJustifyCenter:ep,LucideAlignHorizontalJustifyEnd:tp,LucideAlignHorizontalJustifyStart:np,LucideAlignHorizontalSpaceAround:ap,LucideAlignHorizontalSpaceBetween:op,LucideAlignJustify:rp,LucideAlignLeft:ip,LucideAlignRight:cp,LucideAlignStartHorizontal:sp,LucideAlignStartVertical:lp,LucideAlignVerticalDistributeCenter:dp,LucideAlignVerticalDistributeEnd:up,LucideAlignVerticalDistributeStart:hp,LucideAlignVerticalJustifyCenter:pp,LucideAlignVerticalJustifyEnd:fp,LucideAlignVerticalJustifyStart:yp,LucideAlignVerticalSpaceAround:mp,LucideAlignVerticalSpaceBetween:vp,LucideAmbulance:kp,LucideAmpersand:gp,LucideAmpersands:Mp,LucideAmphora:bp,LucideAnchor:xp,LucideAngry:wp,LucideAnnoyed:Sp,LucideAntenna:_p,LucideAnvil:Cp,LucideAperture:Np,LucideAppWindow:Ep,LucideAppWindowMac:Lp,LucideApple:Ap,LucideArchive:$p,LucideArchiveRestore:Ip,LucideArchiveX:Tp,LucideAreaChart:gc,LucideArmchair:Rp,LucideArrowBigDown:Pp,LucideArrowBigDownDash:jp,LucideArrowBigLeft:Dp,LucideArrowBigLeftDash:Op,LucideArrowBigRight:qp,LucideArrowBigRightDash:zp,LucideArrowBigUp:Vp,LucideArrowBigUpDash:Hp,LucideArrowDown:Qp,LucideArrowDown01:Bp,LucideArrowDown10:Fp,LucideArrowDownAZ:ic,LucideArrowDownAz:ic,LucideArrowDownCircle:Rc,LucideArrowDownFromLine:Up,LucideArrowDownLeft:Gp,LucideArrowDownLeftFromCircle:jc,LucideArrowDownLeftFromSquare:wl,LucideArrowDownLeftSquare:gl,LucideArrowDownNarrowWide:Wp,LucideArrowDownRight:Zp,LucideArrowDownRightFromCircle:Pc,LucideArrowDownRightFromSquare:_l,LucideArrowDownRightSquare:Ml,LucideArrowDownSquare:bl,LucideArrowDownToDot:Yp,LucideArrowDownToLine:Xp,LucideArrowDownUp:Kp,LucideArrowDownWideNarrow:cc,LucideArrowDownZA:sc,LucideArrowDownZa:sc,LucideArrowLeft:nf,LucideArrowLeftCircle:$c,LucideArrowLeftFromLine:Jp,LucideArrowLeftRight:ef,LucideArrowLeftSquare:xl,LucideArrowLeftToLine:tf,LucideArrowRight:cf,LucideArrowRightCircle:qc,LucideArrowRightFromLine:af,LucideArrowRightLeft:of,LucideArrowRightSquare:Nl,LucideArrowRightToLine:rf,LucideArrowUp:vf,LucideArrowUp01:sf,LucideArrowUp10:lf,LucideArrowUpAZ:lc,LucideArrowUpAz:lc,LucideArrowUpCircle:zc,LucideArrowUpDown:uf,LucideArrowUpFromDot:df,LucideArrowUpFromLine:hf,LucideArrowUpLeft:pf,LucideArrowUpLeftFromCircle:Oc,LucideArrowUpLeftFromSquare:Sl,LucideArrowUpLeftSquare:Ll,LucideArrowUpNarrowWide:dc,LucideArrowUpRight:ff,LucideArrowUpRightFromCircle:Dc,LucideArrowUpRightFromSquare:Cl,LucideArrowUpRightSquare:El,LucideArrowUpSquare:Il,LucideArrowUpToLine:yf,LucideArrowUpWideNarrow:mf,LucideArrowUpZA:uc,LucideArrowUpZa:uc,LucideArrowsUpFromLine:kf,LucideAsterisk:Mf,LucideAsteriskSquare:Al,LucideAtSign:gf,LucideAtom:xf,LucideAudioLines:bf,LucideAudioWaveform:wf,LucideAward:_f,LucideAxe:Sf,LucideAxis3D:hc,LucideAxis3d:hc,LucideBaby:Cf,LucideBackpack:Nf,LucideBadge:Bf,LucideBadgeAlert:Lf,LucideBadgeCent:Ef,LucideBadgeCheck:pc,LucideBadgeDollarSign:If,LucideBadgeEuro:Af,LucideBadgeHelp:Tf,LucideBadgeIndianRupee:Rf,LucideBadgeInfo:$f,LucideBadgeJapaneseYen:jf,LucideBadgeMinus:Pf,LucideBadgePercent:Of,LucideBadgePlus:Df,LucideBadgePoundSterling:zf,LucideBadgeRussianRuble:qf,LucideBadgeSwissFranc:Hf,LucideBadgeX:Vf,LucideBaggageClaim:Ff,LucideBan:Uf,LucideBanana:Gf,LucideBandage:Wf,LucideBanknote:Kf,LucideBanknoteArrowDown:Zf,LucideBarChart:Nc,LucideBarChart2:Lc,LucideBarChart3:Sc,LucideBarChart4:_c,LucideBarChartBig:wc,LucideBarChartHorizontal:xc,LucideBarChartHorizontalBig:Mc,LucideBarcode:Xf,LucideBaseline:Yf,LucideBath:Qf,LucideBattery:ry,LucideBatteryCharging:Jf,LucideBatteryFull:ey,LucideBatteryLow:ty,LucideBatteryMedium:ny,LucideBatteryPlus:ay,LucideBatteryWarning:oy,LucideBeaker:iy,LucideBean:sy,LucideBeanOff:cy,LucideBed:uy,LucideBedDouble:ly,LucideBedSingle:dy,LucideBeef:hy,LucideBeer:fy,LucideBeerOff:py,LucideBell:xy,LucideBellDot:yy,LucideBellElectric:my,LucideBellMinus:vy,LucideBellOff:ky,LucideBellPlus:gy,LucideBellRing:My,LucideBetweenHorizonalEnd:yc,LucideBetweenHorizonalStart:fc,LucideBetweenHorizontalEnd:yc,LucideBetweenHorizontalStart:fc,LucideBetweenVerticalEnd:by,LucideBetweenVerticalStart:wy,LucideBicepsFlexed:_y,LucideBike:Sy,LucideBinary:Cy,LucideBinoculars:Ly,LucideBiohazard:Ny,LucideBird:Ey,LucideBitcoin:Iy,LucideBlend:Ty,LucideBlinds:Ay,LucideBlocks:Ry,LucideBluetooth:Oy,LucideBluetoothConnected:$y,LucideBluetoothOff:jy,LucideBluetoothSearching:Py,LucideBold:Dy,LucideBolt:qy,LucideBomb:zy,LucideBone:Vy,LucideBook:dm,LucideBookA:Hy,LucideBookAudio:By,LucideBookCheck:Fy,LucideBookCopy:Uy,LucideBookDashed:mc,LucideBookDown:Gy,LucideBookHeadphones:Zy,LucideBookHeart:Wy,LucideBookImage:Ky,LucideBookKey:Xy,LucideBookLock:Qy,LucideBookMarked:Yy,LucideBookMinus:Jy,LucideBookOpen:nm,LucideBookOpenCheck:em,LucideBookOpenText:tm,LucideBookPlus:am,LucideBookTemplate:mc,LucideBookText:om,LucideBookType:rm,LucideBookUp:cm,LucideBookUp2:im,LucideBookUser:sm,LucideBookX:lm,LucideBookmark:ym,LucideBookmarkCheck:um,LucideBookmarkMinus:hm,LucideBookmarkPlus:pm,LucideBookmarkX:fm,LucideBoomBox:vm,LucideBot:gm,LucideBotMessageSquare:mm,LucideBotOff:km,LucideBox:Mm,LucideBoxSelect:Vl,LucideBoxes:xm,LucideBraces:vc,LucideBrackets:wm,LucideBrain:Cm,LucideBrainCircuit:bm,LucideBrainCog:_m,LucideBrickWall:Sm,LucideBriefcase:Im,LucideBriefcaseBusiness:Nm,LucideBriefcaseConveyorBelt:Em,LucideBriefcaseMedical:Lm,LucideBringToFront:Am,LucideBrush:Rm,LucideBug:jm,LucideBugOff:Tm,LucideBugPlay:$m,LucideBuilding:Om,LucideBuilding2:Pm,LucideBus:zm,LucideBusFront:Dm,LucideCable:Bm,LucideCableCar:qm,LucideCake:Vm,LucideCakeSlice:Hm,LucideCalculator:Fm,LucideCalendar:uv,LucideCalendar1:Gm,LucideCalendarArrowDown:Wm,LucideCalendarArrowUp:Um,LucideCalendarCheck:Zm,LucideCalendarCheck2:Xm,LucideCalendarClock:Km,LucideCalendarCog:Ym,LucideCalendarDays:Qm,LucideCalendarFold:Jm,LucideCalendarHeart:ev,LucideCalendarMinus:nv,LucideCalendarMinus2:tv,LucideCalendarOff:av,LucideCalendarPlus:rv,LucideCalendarPlus2:ov,LucideCalendarRange:iv,LucideCalendarSearch:cv,LucideCalendarSync:sv,LucideCalendarX:dv,LucideCalendarX2:lv,LucideCamera:pv,LucideCameraOff:hv,LucideCandlestickChart:bc,LucideCandy:mv,LucideCandyCane:fv,LucideCandyOff:yv,LucideCannabis:vv,LucideCaptions:kc,LucideCaptionsOff:kv,LucideCar:xv,LucideCarFront:gv,LucideCarTaxiFront:Mv,LucideCaravan:bv,LucideCarrot:wv,LucideCaseLower:_v,LucideCaseSensitive:Sv,LucideCaseUpper:Cv,LucideCassetteTape:Nv,LucideCast:Lv,LucideCastle:Ev,LucideCat:Iv,LucideCctv:Av,LucideChartArea:gc,LucideChartBar:xc,LucideChartBarBig:Mc,LucideChartBarDecreasing:Tv,LucideChartBarIncreasing:Rv,LucideChartBarStacked:$v,LucideChartCandlestick:bc,LucideChartColumn:Sc,LucideChartColumnBig:wc,LucideChartColumnDecreasing:jv,LucideChartColumnIncreasing:_c,LucideChartColumnStacked:Pv,LucideChartGantt:Ov,LucideChartLine:Cc,LucideChartNetwork:Dv,LucideChartNoAxesColumn:Lc,LucideChartNoAxesColumnDecreasing:zv,LucideChartNoAxesColumnIncreasing:Nc,LucideChartNoAxesCombined:qv,LucideChartNoAxesGantt:Ec,LucideChartPie:Ic,LucideChartScatter:Ac,LucideChartSpline:Hv,LucideCheck:sr,LucideCheckCheck:Vv,LucideCheckCircle:Hc,LucideCheckCircle2:Vc,LucideCheckSquare:Rl,LucideCheckSquare2:$l,LucideChefHat:Bv,LucideCherry:Fv,LucideChevronDown:xi,LucideChevronDownCircle:Bc,LucideChevronDownSquare:jl,LucideChevronFirst:Uv,LucideChevronLast:Gv,LucideChevronLeft:Hd,LucideChevronLeftCircle:Fc,LucideChevronLeftSquare:Pl,LucideChevronRight:lr,LucideChevronRightCircle:Uc,LucideChevronRightSquare:Ol,LucideChevronUp:m2,LucideChevronUpCircle:Gc,LucideChevronUpSquare:Dl,LucideChevronsDown:Zv,LucideChevronsDownUp:Wv,LucideChevronsLeft:Yv,LucideChevronsLeftRight:Kv,LucideChevronsLeftRightEllipsis:Xv,LucideChevronsRight:Jv,LucideChevronsRightLeft:Qv,LucideChevronsUp:t4,LucideChevronsUpDown:e4,LucideChrome:n4,LucideChurch:a4,LucideCigarette:r4,LucideCigaretteOff:o4,LucideCircle:O1,LucideCircleAlert:Tc,LucideCircleArrowDown:Rc,LucideCircleArrowLeft:$c,LucideCircleArrowOutDownLeft:jc,LucideCircleArrowOutDownRight:Pc,LucideCircleArrowOutUpLeft:Oc,LucideCircleArrowOutUpRight:Dc,LucideCircleArrowRight:qc,LucideCircleArrowUp:zc,LucideCircleCheck:Vc,LucideCircleCheckBig:Hc,LucideCircleChevronDown:Bc,LucideCircleChevronLeft:Fc,LucideCircleChevronRight:Uc,LucideCircleChevronUp:Gc,LucideCircleDashed:i4,LucideCircleDivide:Wc,LucideCircleDollarSign:c4,LucideCircleDot:l4,LucideCircleDotDashed:s4,LucideCircleEllipsis:d4,LucideCircleEqual:u4,LucideCircleFadingArrowUp:h4,LucideCircleFadingPlus:p4,LucideCircleGauge:Zc,LucideCircleHelp:Kc,LucideCircleMinus:Xc,LucideCircleOff:f4,LucideCircleParking:Qc,LucideCircleParkingOff:Yc,LucideCirclePause:Jc,LucideCirclePercent:es,LucideCirclePlay:ts,LucideCirclePlus:ns,LucideCirclePower:as,LucideCircleSlash:y4,LucideCircleSlash2:os,LucideCircleSlashed:os,LucideCircleSmall:m4,LucideCircleStop:rs,LucideCircleUser:cs,LucideCircleUserRound:is,LucideCircleX:Or,LucideCircuitBoard:v4,LucideCitrus:k4,LucideClapperboard:g4,LucideClipboard:L4,LucideClipboardCheck:M4,LucideClipboardCopy:x4,LucideClipboardEdit:ls,LucideClipboardList:b4,LucideClipboardMinus:w4,LucideClipboardPaste:_4,LucideClipboardPen:ls,LucideClipboardPenLine:ss,LucideClipboardPlus:S4,LucideClipboardSignature:ss,LucideClipboardType:C4,LucideClipboardX:N4,LucideClock:U4,LucideClock1:E4,LucideClock10:I4,LucideClock11:A4,LucideClock12:T4,LucideClock2:R4,LucideClock3:$4,LucideClock4:j4,LucideClock5:P4,LucideClock6:O4,LucideClock7:D4,LucideClock8:z4,LucideClock9:q4,LucideClockAlert:H4,LucideClockArrowDown:V4,LucideClockArrowUp:B4,LucideClockFading:F4,LucideCloud:ik,LucideCloudAlert:G4,LucideCloudCog:W4,LucideCloudDownload:ds,LucideCloudDrizzle:Z4,LucideCloudFog:X4,LucideCloudHail:Y4,LucideCloudLightning:K4,LucideCloudMoon:J4,LucideCloudMoonRain:Q4,LucideCloudOff:ek,LucideCloudRain:tk,LucideCloudRainWind:nk,LucideCloudSnow:ak,LucideCloudSun:ok,LucideCloudSunRain:rk,LucideCloudUpload:us,LucideCloudy:ck,LucideClover:sk,LucideClub:lk,LucideCode:dk,LucideCode2:hs,LucideCodeSquare:zl,LucideCodeXml:hs,LucideCodepen:uk,LucideCodesandbox:hk,LucideCoffee:pk,LucideCog:fk,LucideCoins:yk,LucideColumns:ps,LucideColumns2:ps,LucideColumns3:fs,LucideColumns4:mk,LucideCombine:vk,LucideCommand:kk,LucideCompass:gk,LucideComponent:Mk,LucideComputer:xk,LucideConciergeBell:bk,LucideCone:wk,LucideConstruction:_k,LucideContact:Sk,LucideContact2:ys,LucideContactRound:ys,LucideContainer:Ck,LucideContrast:Nk,LucideCookie:Lk,LucideCookingPot:Ek,LucideCopy:jk,LucideCopyCheck:Ik,LucideCopyMinus:Ak,LucideCopyPlus:Tk,LucideCopySlash:Rk,LucideCopyX:$k,LucideCopyleft:Ok,LucideCopyright:Pk,LucideCornerDownLeft:Dk,LucideCornerDownRight:zk,LucideCornerLeftDown:qk,LucideCornerLeftUp:Hk,LucideCornerRightDown:Vk,LucideCornerRightUp:Bk,LucideCornerUpLeft:Fk,LucideCornerUpRight:Uk,LucideCpu:Gk,LucideCreativeCommons:Wk,LucideCreditCard:Zk,LucideCroissant:Xk,LucideCrop:Kk,LucideCross:Yk,LucideCrosshair:Qk,LucideCrown:Jk,LucideCuboid:eg,LucideCupSoda:tg,LucideCurlyBraces:vc,LucideCurrency:ng,LucideCylinder:ag,LucideDam:og,LucideDatabase:sg,LucideDatabaseBackup:rg,LucideDatabaseZap:ig,LucideDelete:cg,LucideDessert:lg,LucideDiameter:dg,LucideDiamond:pg,LucideDiamondMinus:ug,LucideDiamondPercent:ms,LucideDiamondPlus:hg,LucideDice1:fg,LucideDice2:yg,LucideDice3:mg,LucideDice4:vg,LucideDice5:kg,LucideDice6:gg,LucideDices:Mg,LucideDiff:xg,LucideDisc:Sg,LucideDisc2:wg,LucideDisc3:bg,LucideDiscAlbum:_g,LucideDivide:Cg,LucideDivideCircle:Wc,LucideDivideSquare:Bl,LucideDna:Lg,LucideDnaOff:Ng,LucideDock:Eg,LucideDog:Ig,LucideDollarSign:Ag,LucideDonut:Tg,LucideDoorClosed:Rg,LucideDoorOpen:$g,LucideDot:jg,LucideDotSquare:Fl,LucideDownload:Og,LucideDownloadCloud:ds,LucideDraftingCompass:Pg,LucideDrama:Dg,LucideDribbble:zg,LucideDrill:qg,LucideDroplet:Vg,LucideDropletOff:Hg,LucideDroplets:Fg,LucideDrum:Ug,LucideDrumstick:Bg,LucideDumbbell:Gg,LucideEar:Zg,LucideEarOff:Wg,LucideEarth:vs,LucideEarthLock:Xg,LucideEclipse:Kg,LucideEdit:Un,LucideEdit2:cl,LucideEdit3:il,LucideEgg:Jg,LucideEggFried:Yg,LucideEggOff:Qg,LucideEllipsis:Dr,LucideEllipsisVertical:ks,LucideEqual:n5,LucideEqualApproximately:e5,LucideEqualNot:t5,LucideEqualSquare:Gl,LucideEraser:a5,LucideEthernetPort:o5,LucideEuro:r5,LucideExpand:i5,LucideExternalLink:v2,LucideEye:l5,LucideEyeClosed:c5,LucideEyeOff:s5,LucideFacebook:d5,LucideFactory:u5,LucideFan:h5,LucideFastForward:p5,LucideFeather:f5,LucideFence:y5,LucideFerrisWheel:m5,LucideFigma:v5,LucideFile:p3,LucideFileArchive:k5,LucideFileAudio:M5,LucideFileAudio2:g5,LucideFileAxis3D:gs,LucideFileAxis3d:gs,LucideFileBadge:b5,LucideFileBadge2:x5,LucideFileBarChart:Ms,LucideFileBarChart2:xs,LucideFileBox:w5,LucideFileChartColumn:xs,LucideFileChartColumnIncreasing:Ms,LucideFileChartLine:ws,LucideFileChartPie:bs,LucideFileCheck:S5,LucideFileCheck2:_5,LucideFileClock:C5,LucideFileCode:L5,LucideFileCode2:N5,LucideFileCog:_s,LucideFileCog2:_s,LucideFileDiff:E5,LucideFileDigit:I5,LucideFileDown:A5,LucideFileEdit:Cs,LucideFileHeart:T5,LucideFileImage:R5,LucideFileInput:$5,LucideFileJson:P5,LucideFileJson2:j5,LucideFileKey:D5,LucideFileKey2:O5,LucideFileLineChart:ws,LucideFileLock:q5,LucideFileLock2:z5,LucideFileMinus:V5,LucideFileMinus2:H5,LucideFileMusic:B5,LucideFileOutput:F5,LucideFilePen:Cs,LucideFilePenLine:Ss,LucideFilePieChart:bs,LucideFilePlus:G5,LucideFilePlus2:U5,LucideFileQuestion:Z5,LucideFileScan:W5,LucideFileSearch:K5,LucideFileSearch2:X5,LucideFileSignature:Ss,LucideFileSliders:Y5,LucideFileSpreadsheet:J5,LucideFileStack:Q5,LucideFileSymlink:e3,LucideFileTerminal:t3,LucideFileText:n3,LucideFileType:o3,LucideFileType2:a3,LucideFileUp:r3,LucideFileUser:i3,LucideFileVideo:s3,LucideFileVideo2:c3,LucideFileVolume:d3,LucideFileVolume2:l3,LucideFileWarning:u3,LucideFileX:h3,LucideFileX2:f3,LucideFiles:y3,LucideFilm:m3,LucideFilter:Is,LucideFilterX:Es,LucideFingerprint:v3,LucideFireExtinguisher:k3,LucideFish:x3,LucideFishOff:g3,LucideFishSymbol:M3,LucideFlag:S3,LucideFlagOff:b3,LucideFlagTriangleLeft:w3,LucideFlagTriangleRight:_3,LucideFlame:N3,LucideFlameKindling:C3,LucideFlashlight:E3,LucideFlashlightOff:L3,LucideFlaskConical:A3,LucideFlaskConicalOff:I3,LucideFlaskRound:T3,LucideFlipHorizontal:$3,LucideFlipHorizontal2:R3,LucideFlipVertical:P3,LucideFlipVertical2:j3,LucideFlower:D3,LucideFlower2:O3,LucideFocus:z3,LucideFoldHorizontal:q3,LucideFoldVertical:H3,LucideFolder:y6,LucideFolderArchive:V3,LucideFolderCheck:B3,LucideFolderClock:U3,LucideFolderClosed:F3,LucideFolderCode:G3,LucideFolderCog:Ns,LucideFolderCog2:Ns,LucideFolderDot:W3,LucideFolderDown:Z3,LucideFolderEdit:Ls,LucideFolderGit:Q3,LucideFolderGit2:X3,LucideFolderHeart:K3,LucideFolderInput:Y3,LucideFolderKanban:J3,LucideFolderKey:e6,LucideFolderLock:t6,LucideFolderMinus:a6,LucideFolderOpen:o6,LucideFolderOpenDot:n6,LucideFolderOutput:r6,LucideFolderPen:Ls,LucideFolderPlus:i6,LucideFolderRoot:c6,LucideFolderSearch:l6,LucideFolderSearch2:s6,LucideFolderSymlink:d6,LucideFolderSync:u6,LucideFolderTree:h6,LucideFolderUp:f6,LucideFolderX:p6,LucideFolders:m6,LucideFootprints:v6,LucideForkKnife:A1,LucideForkKnifeCrossed:I1,LucideForklift:k6,LucideFormInput:ll,LucideForward:g6,LucideFrame:M6,LucideFramer:x6,LucideFrown:b6,LucideFuel:w6,LucideFullscreen:_6,LucideFunctionSquare:Ul,LucideFunnel:Is,LucideFunnelPlus:S6,LucideFunnelX:Es,LucideGalleryHorizontal:N6,LucideGalleryHorizontalEnd:C6,LucideGalleryThumbnails:L6,LucideGalleryVertical:I6,LucideGalleryVerticalEnd:E6,LucideGamepad:T6,LucideGamepad2:A6,LucideGanttChart:Ec,LucideGanttChartSquare:nr,LucideGauge:R6,LucideGaugeCircle:Zc,LucideGavel:j6,LucideGem:$6,LucideGhost:P6,LucideGift:D6,LucideGitBranch:z6,LucideGitBranchPlus:O6,LucideGitCommit:As,LucideGitCommitHorizontal:As,LucideGitCommitVertical:q6,LucideGitCompare:V6,LucideGitCompareArrows:H6,LucideGitFork:B6,LucideGitGraph:F6,LucideGitMerge:U6,LucideGitPullRequest:Y6,LucideGitPullRequestArrow:G6,LucideGitPullRequestClosed:W6,LucideGitPullRequestCreate:X6,LucideGitPullRequestCreateArrow:Z6,LucideGitPullRequestDraft:K6,LucideGithub:Q6,LucideGitlab:J6,LucideGlassWater:e8,LucideGlasses:t8,LucideGlobe:a8,LucideGlobe2:vs,LucideGlobeLock:n8,LucideGoal:r8,LucideGrab:o8,LucideGraduationCap:i8,LucideGrape:c8,LucideGrid:tr,LucideGrid2X2:js,LucideGrid2X2Check:Ts,LucideGrid2X2Plus:Rs,LucideGrid2X2X:$s,LucideGrid2x2:js,LucideGrid2x2Check:Ts,LucideGrid2x2Plus:Rs,LucideGrid2x2X:$s,LucideGrid3X3:tr,LucideGrid3x3:tr,LucideGrip:d8,LucideGripHorizontal:s8,LucideGripVertical:l8,LucideGroup:u8,LucideGuitar:h8,LucideHam:p8,LucideHammer:f8,LucideHand:g8,LucideHandCoins:y8,LucideHandHeart:m8,LucideHandHelping:Ps,LucideHandMetal:v8,LucideHandPlatter:k8,LucideHandshake:M8,LucideHardDrive:w8,LucideHardDriveDownload:x8,LucideHardDriveUpload:b8,LucideHardHat:_8,LucideHash:S8,LucideHaze:C8,LucideHdmiPort:N8,LucideHeading:$8,LucideHeading1:L8,LucideHeading2:E8,LucideHeading3:I8,LucideHeading4:T8,LucideHeading5:A8,LucideHeading6:R8,LucideHeadphoneOff:j8,LucideHeadphones:P8,LucideHeadset:O8,LucideHeart:V8,LucideHeartCrack:D8,LucideHeartHandshake:z8,LucideHeartOff:q8,LucideHeartPulse:H8,LucideHeater:B8,LucideHelpCircle:Kc,LucideHelpingHand:Ps,LucideHexagon:F8,LucideHighlighter:U8,LucideHistory:G8,LucideHome:Os,LucideHop:Z8,LucideHopOff:W8,LucideHospital:X8,LucideHotel:Q8,LucideHourglass:K8,LucideHouse:Os,LucideHousePlug:Y8,LucideHousePlus:J8,LucideHouseWifi:eM,LucideIceCream:zs,LucideIceCream2:Ds,LucideIceCreamBowl:Ds,LucideIceCreamCone:zs,LucideIdCard:tM,LucideImage:lM,LucideImageDown:nM,LucideImageMinus:aM,LucideImageOff:oM,LucideImagePlay:rM,LucideImagePlus:iM,LucideImageUp:cM,LucideImageUpscale:sM,LucideImages:dM,LucideImport:uM,LucideInbox:hM,LucideIndent:Hs,LucideIndentDecrease:qs,LucideIndentIncrease:Hs,LucideIndianRupee:pM,LucideInfinity:fM,LucideInfo:yM,LucideInspect:Ql,LucideInspectionPanel:mM,LucideInstagram:vM,LucideItalic:kM,LucideIterationCcw:gM,LucideIterationCw:MM,LucideJapaneseYen:xM,LucideJoystick:bM,LucideKanban:wM,LucideKanbanSquare:Wl,LucideKanbanSquareDashed:ql,LucideKey:CM,LucideKeyRound:_M,LucideKeySquare:SM,LucideKeyboard:EM,LucideKeyboardMusic:NM,LucideKeyboardOff:LM,LucideLamp:jM,LucideLampCeiling:IM,LucideLampDesk:AM,LucideLampFloor:TM,LucideLampWallDown:RM,LucideLampWallUp:$M,LucideLandPlot:PM,LucideLandmark:OM,LucideLanguages:zM,LucideLaptop:qM,LucideLaptop2:Vs,LucideLaptopMinimal:Vs,LucideLaptopMinimalCheck:DM,LucideLasso:VM,LucideLassoSelect:HM,LucideLaugh:BM,LucideLayers:Bs,LucideLayers2:FM,LucideLayers3:Bs,LucideLayout:rl,LucideLayoutDashboard:UM,LucideLayoutGrid:GM,LucideLayoutList:WM,LucideLayoutPanelLeft:ZM,LucideLayoutPanelTop:XM,LucideLayoutTemplate:KM,LucideLeaf:YM,LucideLeafyGreen:QM,LucideLectern:JM,LucideLetterText:ex,LucideLibrary:ax,LucideLibraryBig:tx,LucideLibrarySquare:Zl,LucideLifeBuoy:nx,LucideLigature:ox,LucideLightbulb:ix,LucideLightbulbOff:rx,LucideLineChart:Cc,LucideLink:sx,LucideLink2:lx,LucideLink2Off:cx,LucideLinkedin:dx,LucideList:Nx,LucideListCheck:ux,LucideListChecks:hx,LucideListCollapse:fx,LucideListEnd:px,LucideListFilter:mx,LucideListFilterPlus:yx,LucideListMinus:vx,LucideListMusic:kx,LucideListOrdered:gx,LucideListPlus:Mx,LucideListRestart:xx,LucideListStart:bx,LucideListTodo:wx,LucideListTree:_x,LucideListVideo:Sx,LucideListX:Cx,LucideLoader:Ex,LucideLoader2:Fs,LucideLoaderCircle:Fs,LucideLoaderPinwheel:Lx,LucideLocate:Tx,LucideLocateFixed:Ix,LucideLocateOff:Ax,LucideLock:$x,LucideLockKeyhole:Rx,LucideLockKeyholeOpen:Us,LucideLockOpen:Gs,LucideLogIn:jx,LucideLogOut:Px,LucideLogs:Ox,LucideLollipop:Dx,LucideLuggage:zx,LucideMSquare:Xl,LucideMagnet:qx,LucideMail:Xx,LucideMailCheck:Hx,LucideMailMinus:Vx,LucideMailOpen:Bx,LucideMailPlus:Fx,LucideMailQuestion:Ux,LucideMailSearch:Gx,LucideMailWarning:Wx,LucideMailX:Zx,LucideMailbox:Kx,LucideMails:Yx,LucideMap:ub,LucideMapPin:sb,LucideMapPinCheck:Jx,LucideMapPinCheckInside:Qx,LucideMapPinHouse:eb,LucideMapPinMinus:ab,LucideMapPinMinusInside:tb,LucideMapPinOff:nb,LucideMapPinPlus:rb,LucideMapPinPlusInside:ob,LucideMapPinX:cb,LucideMapPinXInside:ib,LucideMapPinned:lb,LucideMapPlus:db,LucideMars:pb,LucideMarsStroke:hb,LucideMartini:fb,LucideMaximize:mb,LucideMaximize2:yb,LucideMedal:vb,LucideMegaphone:Mb,LucideMegaphoneOff:kb,LucideMeh:gb,LucideMemoryStick:xb,LucideMenu:bb,LucideMenuSquare:Kl,LucideMerge:wb,LucideMessageCircle:$b,LucideMessageCircleCode:_b,LucideMessageCircleDashed:Sb,LucideMessageCircleHeart:Cb,LucideMessageCircleMore:Nb,LucideMessageCircleOff:Lb,LucideMessageCirclePlus:Ib,LucideMessageCircleQuestion:Eb,LucideMessageCircleReply:Ab,LucideMessageCircleWarning:Tb,LucideMessageCircleX:Rb,LucideMessageSquare:Xb,LucideMessageSquareCode:jb,LucideMessageSquareDashed:Pb,LucideMessageSquareDiff:Ob,LucideMessageSquareDot:Db,LucideMessageSquareHeart:zb,LucideMessageSquareLock:qb,LucideMessageSquareMore:Hb,LucideMessageSquareOff:Vb,LucideMessageSquarePlus:Bb,LucideMessageSquareQuote:Fb,LucideMessageSquareReply:Ub,LucideMessageSquareShare:Gb,LucideMessageSquareText:Wb,LucideMessageSquareWarning:Zb,LucideMessageSquareX:Kb,LucideMessagesSquare:Yb,LucideMic:Jb,LucideMic2:Ws,LucideMicOff:Qb,LucideMicVocal:Ws,LucideMicrochip:e7,LucideMicroscope:t7,LucideMicrowave:n7,LucideMilestone:a7,LucideMilk:r7,LucideMilkOff:o7,LucideMinimize:c7,LucideMinimize2:i7,LucideMinus:s7,LucideMinusCircle:Xc,LucideMinusSquare:Yl,LucideMonitor:x7,LucideMonitorCheck:l7,LucideMonitorCog:d7,LucideMonitorDot:u7,LucideMonitorDown:h7,LucideMonitorOff:p7,LucideMonitorPause:f7,LucideMonitorPlay:y7,LucideMonitorSmartphone:m7,LucideMonitorSpeaker:v7,LucideMonitorStop:k7,LucideMonitorUp:M7,LucideMonitorX:g7,LucideMoon:w7,LucideMoonStar:b7,LucideMoreHorizontal:Dr,LucideMoreVertical:ks,LucideMountain:N7,LucideMountainSnow:_7,LucideMouse:A7,LucideMouseOff:S7,LucideMousePointer:I7,LucideMousePointer2:C7,LucideMousePointerBan:L7,LucideMousePointerClick:E7,LucideMousePointerSquareDashed:Hl,LucideMove:G7,LucideMove3D:Zs,LucideMove3d:Zs,LucideMoveDiagonal:R7,LucideMoveDiagonal2:T7,LucideMoveDown:P7,LucideMoveDownLeft:$7,LucideMoveDownRight:j7,LucideMoveHorizontal:O7,LucideMoveLeft:D7,LucideMoveRight:z7,LucideMoveUp:V7,LucideMoveUpLeft:q7,LucideMoveUpRight:H7,LucideMoveVertical:B7,LucideMusic:Z7,LucideMusic2:F7,LucideMusic3:U7,LucideMusic4:W7,LucideNavigation:Q7,LucideNavigation2:K7,LucideNavigation2Off:X7,LucideNavigationOff:Y7,LucideNetwork:J7,LucideNewspaper:ew,LucideNfc:tw,LucideNonBinary:nw,LucideNotebook:iw,LucideNotebookPen:aw,LucideNotebookTabs:ow,LucideNotebookText:rw,LucideNotepadText:cw,LucideNotepadTextDashed:sw,LucideNut:dw,LucideNutOff:lw,LucideOctagon:hw,LucideOctagonAlert:Xs,LucideOctagonMinus:uw,LucideOctagonPause:Ks,LucideOctagonX:Ys,LucideOmega:pw,LucideOption:yw,LucideOrbit:fw,LucideOrigami:mw,LucideOutdent:qs,LucidePackage:_w,LucidePackage2:vw,LucidePackageCheck:kw,LucidePackageMinus:gw,LucidePackageOpen:Mw,LucidePackagePlus:xw,LucidePackageSearch:bw,LucidePackageX:ww,LucidePaintBucket:Sw,LucidePaintRoller:Cw,LucidePaintbrush:Nw,LucidePaintbrush2:Qs,LucidePaintbrushVertical:Qs,LucidePalette:Lw,LucidePalmtree:g1,LucidePanelBottom:Aw,LucidePanelBottomClose:Ew,LucidePanelBottomDashed:Js,LucidePanelBottomInactive:Js,LucidePanelBottomOpen:Iw,LucidePanelLeft:vi,LucidePanelLeftClose:el,LucidePanelLeftDashed:tl,LucidePanelLeftInactive:tl,LucidePanelLeftOpen:nl,LucidePanelRight:Rw,LucidePanelRightClose:Tw,LucidePanelRightDashed:al,LucidePanelRightInactive:al,LucidePanelRightOpen:jw,LucidePanelTop:Ow,LucidePanelTopClose:$w,LucidePanelTopDashed:ol,LucidePanelTopInactive:ol,LucidePanelTopOpen:Pw,LucidePanelsLeftBottom:Dw,LucidePanelsLeftRight:fs,LucidePanelsRightBottom:zw,LucidePanelsTopBottom:hl,LucidePanelsTopLeft:rl,LucidePaperclip:qw,LucideParentheses:Hw,LucideParkingCircle:Qc,LucideParkingCircleOff:Yc,LucideParkingMeter:Vw,LucideParkingSquare:e1,LucideParkingSquareOff:Jl,LucidePartyPopper:Bw,LucidePause:Fw,LucidePauseCircle:Jc,LucidePauseOctagon:Ks,LucidePawPrint:Uw,LucidePcCase:Gw,LucidePen:cl,LucidePenBox:Un,LucidePenLine:il,LucidePenOff:Ww,LucidePenSquare:Un,LucidePenTool:Zw,LucidePencil:Qw,LucidePencilLine:Xw,LucidePencilOff:Yw,LucidePencilRuler:Kw,LucidePentagon:Jw,LucidePercent:e9,LucidePercentCircle:es,LucidePercentDiamond:ms,LucidePercentSquare:t1,LucidePersonStanding:t9,LucidePhilippinePeso:n9,LucidePhone:l9,LucidePhoneCall:a9,LucidePhoneForwarded:o9,LucidePhoneIncoming:r9,LucidePhoneMissed:i9,LucidePhoneOff:c9,LucidePhoneOutgoing:s9,LucidePi:h9,LucidePiSquare:n1,LucidePiano:d9,LucidePickaxe:u9,LucidePictureInPicture:f9,LucidePictureInPicture2:p9,LucidePieChart:Ic,LucidePiggyBank:y9,LucidePilcrow:k9,LucidePilcrowLeft:m9,LucidePilcrowRight:v9,LucidePilcrowSquare:a1,LucidePill:M9,LucidePillBottle:g9,LucidePin:x9,LucidePinOff:b9,LucidePipette:w9,LucidePizza:_9,LucidePlane:N9,LucidePlaneLanding:S9,LucidePlaneTakeoff:C9,LucidePlay:L9,LucidePlayCircle:ts,LucidePlaySquare:o1,LucidePlug:I9,LucidePlug2:E9,LucidePlugZap:sl,LucidePlugZap2:sl,LucidePlus:k2,LucidePlusCircle:ns,LucidePlusSquare:r1,LucidePocket:T9,LucidePocketKnife:A9,LucidePodcast:R9,LucidePointer:j9,LucidePointerOff:$9,LucidePopcorn:P9,LucidePopsicle:O9,LucidePoundSterling:D9,LucidePower:H9,LucidePowerCircle:as,LucidePowerOff:z9,LucidePowerSquare:i1,LucidePresentation:q9,LucidePrinter:B9,LucidePrinterCheck:V9,LucideProjector:F9,LucideProportions:U9,LucidePuzzle:G9,LucidePyramid:W9,LucideQrCode:Z9,LucideQuote:X9,LucideRabbit:K9,LucideRadar:Y9,LucideRadiation:Q9,LucideRadical:e_,LucideRadio:n_,LucideRadioReceiver:J9,LucideRadioTower:t_,LucideRadius:a_,LucideRailSymbol:o_,LucideRainbow:r_,LucideRat:i_,LucideRatio:c_,LucideReceipt:m_,LucideReceiptCent:s_,LucideReceiptEuro:l_,LucideReceiptIndianRupee:d_,LucideReceiptJapaneseYen:u_,LucideReceiptPoundSterling:h_,LucideReceiptRussianRuble:p_,LucideReceiptSwissFranc:f_,LucideReceiptText:y_,LucideRectangleEllipsis:ll,LucideRectangleHorizontal:v_,LucideRectangleVertical:k_,LucideRecycle:g_,LucideRedo:b_,LucideRedo2:M_,LucideRedoDot:x_,LucideRefreshCcw:__,LucideRefreshCcwDot:w_,LucideRefreshCw:N_,LucideRefreshCwOff:S_,LucideRefrigerator:C_,LucideRegex:L_,LucideRemoveFormatting:I_,LucideRepeat:T_,LucideRepeat1:E_,LucideRepeat2:A_,LucideReplace:$_,LucideReplaceAll:R_,LucideReply:P_,LucideReplyAll:j_,LucideRewind:O_,LucideRibbon:D_,LucideRocket:z_,LucideRockingChair:q_,LucideRollerCoaster:H_,LucideRotate3D:dl,LucideRotate3d:dl,LucideRotateCcw:B_,LucideRotateCcwSquare:V_,LucideRotateCw:U_,LucideRotateCwSquare:F_,LucideRoute:Z_,LucideRouteOff:G_,LucideRouter:W_,LucideRows:ul,LucideRows2:ul,LucideRows3:hl,LucideRows4:X_,LucideRss:K_,LucideRuler:Y_,LucideRussianRuble:Q_,LucideSailboat:J_,LucideSalad:tS,LucideSandwich:eS,LucideSatellite:nS,LucideSatelliteDish:aS,LucideSaudiRiyal:oS,LucideSave:cS,LucideSaveAll:iS,LucideSaveOff:rS,LucideScale:sS,LucideScale3D:pl,LucideScale3d:pl,LucideScaling:lS,LucideScan:kS,LucideScanBarcode:dS,LucideScanEye:uS,LucideScanFace:hS,LucideScanHeart:pS,LucideScanLine:fS,LucideScanQrCode:yS,LucideScanSearch:mS,LucideScanText:vS,LucideScatterChart:Ac,LucideSchool:MS,LucideSchool2:b1,LucideScissors:xS,LucideScissorsLineDashed:gS,LucideScissorsSquare:c1,LucideScissorsSquareDashedBottom:Tl,LucideScreenShare:wS,LucideScreenShareOff:bS,LucideScroll:SS,LucideScrollText:_S,LucideSearch:g2,LucideSearchCheck:CS,LucideSearchCode:NS,LucideSearchSlash:ES,LucideSearchX:LS,LucideSection:IS,LucideSend:TS,LucideSendHorizonal:fl,LucideSendHorizontal:fl,LucideSendToBack:AS,LucideSeparatorHorizontal:RS,LucideSeparatorVertical:$S,LucideServer:DS,LucideServerCog:jS,LucideServerCrash:PS,LucideServerOff:OS,LucideSettings:qS,LucideSettings2:zS,LucideShapes:HS,LucideShare:BS,LucideShare2:VS,LucideSheet:FS,LucideShell:US,LucideShield:nC,LucideShieldAlert:GS,LucideShieldBan:ZS,LucideShieldCheck:WS,LucideShieldClose:yl,LucideShieldEllipsis:XS,LucideShieldHalf:KS,LucideShieldMinus:YS,LucideShieldOff:QS,LucideShieldPlus:JS,LucideShieldQuestion:eC,LucideShieldUser:tC,LucideShieldX:yl,LucideShip:oC,LucideShipWheel:aC,LucideShirt:rC,LucideShoppingBag:iC,LucideShoppingBasket:cC,LucideShoppingCart:sC,LucideShovel:lC,LucideShowerHead:dC,LucideShrimp:uC,LucideShrink:hC,LucideShrub:pC,LucideShuffle:fC,LucideSidebar:vi,LucideSidebarClose:el,LucideSidebarOpen:nl,LucideSigma:yC,LucideSigmaSquare:s1,LucideSignal:MC,LucideSignalHigh:mC,LucideSignalLow:kC,LucideSignalMedium:vC,LucideSignalZero:gC,LucideSignature:xC,LucideSignpost:wC,LucideSignpostBig:bC,LucideSiren:_C,LucideSkipBack:SC,LucideSkipForward:CC,LucideSkull:NC,LucideSlack:LC,LucideSlash:EC,LucideSlashSquare:l1,LucideSlice:IC,LucideSliders:ml,LucideSlidersHorizontal:AC,LucideSlidersVertical:ml,LucideSmartphone:$C,LucideSmartphoneCharging:TC,LucideSmartphoneNfc:RC,LucideSmile:PC,LucideSmilePlus:jC,LucideSnail:OC,LucideSnowflake:DC,LucideSofa:zC,LucideSortAsc:dc,LucideSortDesc:cc,LucideSoup:qC,LucideSpace:HC,LucideSpade:VC,LucideSparkle:BC,LucideSparkles:vl,LucideSpeaker:FC,LucideSpeech:UC,LucideSpellCheck:WC,LucideSpellCheck2:GC,LucideSpline:XC,LucideSplit:ZC,LucideSplitSquareHorizontal:u1,LucideSplitSquareVertical:d1,LucideSprayCan:KC,LucideSprout:YC,LucideSquare:oN,LucideSquareActivity:kl,LucideSquareArrowDown:bl,LucideSquareArrowDownLeft:gl,LucideSquareArrowDownRight:Ml,LucideSquareArrowLeft:xl,LucideSquareArrowOutDownLeft:wl,LucideSquareArrowOutDownRight:_l,LucideSquareArrowOutUpLeft:Sl,LucideSquareArrowOutUpRight:Cl,LucideSquareArrowRight:Nl,LucideSquareArrowUp:Il,LucideSquareArrowUpLeft:Ll,LucideSquareArrowUpRight:El,LucideSquareAsterisk:Al,LucideSquareBottomDashedScissors:Tl,LucideSquareChartGantt:nr,LucideSquareCheck:$l,LucideSquareCheckBig:Rl,LucideSquareChevronDown:jl,LucideSquareChevronLeft:Pl,LucideSquareChevronRight:Ol,LucideSquareChevronUp:Dl,LucideSquareCode:zl,LucideSquareDashed:Vl,LucideSquareDashedBottom:QC,LucideSquareDashedBottomCode:JC,LucideSquareDashedKanban:ql,LucideSquareDashedMousePointer:Hl,LucideSquareDivide:Bl,LucideSquareDot:Fl,LucideSquareEqual:Gl,LucideSquareFunction:Ul,LucideSquareGanttChart:nr,LucideSquareKanban:Wl,LucideSquareLibrary:Zl,LucideSquareM:Xl,LucideSquareMenu:Kl,LucideSquareMinus:Yl,LucideSquareMousePointer:Ql,LucideSquareParking:e1,LucideSquareParkingOff:Jl,LucideSquarePen:Un,LucideSquarePercent:t1,LucideSquarePi:n1,LucideSquarePilcrow:a1,LucideSquarePlay:o1,LucideSquarePlus:r1,LucideSquarePower:i1,LucideSquareRadical:eN,LucideSquareRoundCorner:tN,LucideSquareScissors:c1,LucideSquareSigma:s1,LucideSquareSlash:l1,LucideSquareSplitHorizontal:u1,LucideSquareSplitVertical:d1,LucideSquareSquare:nN,LucideSquareStack:aN,LucideSquareTerminal:h1,LucideSquareUser:f1,LucideSquareUserRound:p1,LucideSquareX:y1,LucideSquircle:rN,LucideSquirrel:cN,LucideStamp:iN,LucideStar:dN,LucideStarHalf:sN,LucideStarOff:lN,LucideStars:vl,LucideStepBack:uN,LucideStepForward:hN,LucideStethoscope:pN,LucideSticker:fN,LucideStickyNote:yN,LucideStopCircle:rs,LucideStore:mN,LucideStretchHorizontal:vN,LucideStretchVertical:kN,LucideStrikethrough:gN,LucideSubscript:MN,LucideSubtitles:kc,LucideSun:SN,LucideSunDim:xN,LucideSunMedium:bN,LucideSunMoon:wN,LucideSunSnow:_N,LucideSunrise:CN,LucideSunset:NN,LucideSuperscript:LN,LucideSwatchBook:EN,LucideSwissFranc:IN,LucideSwitchCamera:AN,LucideSword:TN,LucideSwords:RN,LucideSyringe:$N,LucideTable:VN,LucideTable2:jN,LucideTableCellsMerge:PN,LucideTableCellsSplit:ON,LucideTableColumnsSplit:DN,LucideTableOfContents:zN,LucideTableProperties:qN,LucideTableRowsSplit:HN,LucideTablet:FN,LucideTabletSmartphone:BN,LucideTablets:UN,LucideTag:GN,LucideTags:WN,LucideTally1:ZN,LucideTally2:XN,LucideTally3:KN,LucideTally4:YN,LucideTally5:QN,LucideTangent:JN,LucideTarget:eL,LucideTelescope:tL,LucideTent:aL,LucideTentTree:nL,LucideTerminal:oL,LucideTerminalSquare:h1,LucideTestTube:iL,LucideTestTube2:m1,LucideTestTubeDiagonal:m1,LucideTestTubes:rL,LucideText:uL,LucideTextCursor:sL,LucideTextCursorInput:cL,LucideTextQuote:lL,LucideTextSearch:dL,LucideTextSelect:v1,LucideTextSelection:v1,LucideTheater:hL,LucideThermometer:yL,LucideThermometerSnowflake:pL,LucideThermometerSun:fL,LucideThumbsDown:mL,LucideThumbsUp:vL,LucideTicket:_L,LucideTicketCheck:kL,LucideTicketMinus:gL,LucideTicketPercent:ML,LucideTicketPlus:xL,LucideTicketSlash:bL,LucideTicketX:wL,LucideTickets:CL,LucideTicketsPlane:SL,LucideTimer:EL,LucideTimerOff:LL,LucideTimerReset:NL,LucideToggleLeft:AL,LucideToggleRight:IL,LucideToilet:TL,LucideTornado:RL,LucideTorus:$L,LucideTouchpad:PL,LucideTouchpadOff:jL,LucideTowerControl:OL,LucideToyBrick:DL,LucideTractor:zL,LucideTrafficCone:qL,LucideTrain:k1,LucideTrainFront:VL,LucideTrainFrontTunnel:HL,LucideTrainTrack:BL,LucideTramFront:k1,LucideTransgender:FL,LucideTrash:GL,LucideTrash2:UL,LucideTreeDeciduous:WL,LucideTreePalm:g1,LucideTreePine:ZL,LucideTrees:XL,LucideTrello:KL,LucideTrendingDown:YL,LucideTrendingUp:JL,LucideTrendingUpDown:QL,LucideTriangle:nE,LucideTriangleAlert:M1,LucideTriangleDashed:eE,LucideTriangleRight:tE,LucideTrophy:aE,LucideTruck:oE,LucideTurtle:rE,LucideTv:cE,LucideTv2:x1,LucideTvMinimal:x1,LucideTvMinimalPlay:iE,LucideTwitch:sE,LucideTwitter:lE,LucideType:hE,LucideTypeOutline:dE,LucideUmbrella:pE,LucideUmbrellaOff:uE,LucideUnderline:fE,LucideUndo:vE,LucideUndo2:yE,LucideUndoDot:mE,LucideUnfoldHorizontal:kE,LucideUnfoldVertical:gE,LucideUngroup:ME,LucideUniversity:b1,LucideUnlink:bE,LucideUnlink2:xE,LucideUnlock:Gs,LucideUnlockKeyhole:Us,LucideUnplug:_E,LucideUpload:wE,LucideUploadCloud:us,LucideUsb:CE,LucideUser:jE,LucideUser2:L1,LucideUserCheck:SE,LucideUserCheck2:w1,LucideUserCircle:cs,LucideUserCircle2:is,LucideUserCog:NE,LucideUserCog2:_1,LucideUserMinus:LE,LucideUserMinus2:S1,LucideUserPen:EE,LucideUserPlus:IE,LucideUserPlus2:C1,LucideUserRound:L1,LucideUserRoundCheck:w1,LucideUserRoundCog:_1,LucideUserRoundMinus:S1,LucideUserRoundPen:AE,LucideUserRoundPlus:C1,LucideUserRoundSearch:TE,LucideUserRoundX:N1,LucideUserSearch:RE,LucideUserSquare:f1,LucideUserSquare2:p1,LucideUserX:$E,LucideUserX2:N1,LucideUsers:PE,LucideUsers2:E1,LucideUsersRound:E1,LucideUtensils:A1,LucideUtensilsCrossed:I1,LucideUtilityPole:OE,LucideVariable:DE,LucideVault:zE,LucideVegan:qE,LucideVenetianMask:HE,LucideVenus:FE,LucideVenusAndMars:VE,LucideVerified:pc,LucideVibrate:UE,LucideVibrateOff:BE,LucideVideo:WE,LucideVideoOff:GE,LucideVideotape:ZE,LucideView:XE,LucideVoicemail:KE,LucideVolleyball:QE,LucideVolume:aI,LucideVolume1:YE,LucideVolume2:JE,LucideVolumeOff:eI,LucideVolumeX:tI,LucideVote:nI,LucideWallet:rI,LucideWallet2:T1,LucideWalletCards:oI,LucideWalletMinimal:T1,LucideWallpaper:iI,LucideWand:cI,LucideWand2:ki,LucideWandSparkles:ki,LucideWarehouse:sI,LucideWashingMachine:lI,LucideWatch:dI,LucideWaves:hI,LucideWavesLadder:uI,LucideWaypoints:pI,LucideWebcam:fI,LucideWebhook:yI,LucideWebhookOff:mI,LucideWeight:vI,LucideWheat:kI,LucideWheatOff:gI,LucideWholeWord:MI,LucideWifi:SI,LucideWifiHigh:xI,LucideWifiLow:bI,LucideWifiOff:_I,LucideWifiZero:wI,LucideWind:NI,LucideWindArrowDown:CI,LucideWine:EI,LucideWineOff:LI,LucideWorkflow:II,LucideWorm:AI,LucideWrapText:TI,LucideWrench:RI,LucideX:bi,LucideXCircle:Or,LucideXOctagon:Ys,LucideXSquare:y1,LucideYoutube:$I,LucideZap:PI,LucideZapOff:jI,LucideZoomIn:OI,LucideZoomOut:DI,Luggage:zx,LuggageIcon:zx,MSquare:Xl,MSquareIcon:Xl,Magnet:qx,MagnetIcon:qx,Mail:Xx,MailCheck:Hx,MailCheckIcon:Hx,MailIcon:Xx,MailMinus:Vx,MailMinusIcon:Vx,MailOpen:Bx,MailOpenIcon:Bx,MailPlus:Fx,MailPlusIcon:Fx,MailQuestion:Ux,MailQuestionIcon:Ux,MailSearch:Gx,MailSearchIcon:Gx,MailWarning:Wx,MailWarningIcon:Wx,MailX:Zx,MailXIcon:Zx,Mailbox:Kx,MailboxIcon:Kx,Mails:Yx,MailsIcon:Yx,Map:ub,MapIcon:ub,MapPin:sb,MapPinCheck:Jx,MapPinCheckIcon:Jx,MapPinCheckInside:Qx,MapPinCheckInsideIcon:Qx,MapPinHouse:eb,MapPinHouseIcon:eb,MapPinIcon:sb,MapPinMinus:ab,MapPinMinusIcon:ab,MapPinMinusInside:tb,MapPinMinusInsideIcon:tb,MapPinOff:nb,MapPinOffIcon:nb,MapPinPlus:rb,MapPinPlusIcon:rb,MapPinPlusInside:ob,MapPinPlusInsideIcon:ob,MapPinX:cb,MapPinXIcon:cb,MapPinXInside:ib,MapPinXInsideIcon:ib,MapPinned:lb,MapPinnedIcon:lb,MapPlus:db,MapPlusIcon:db,Mars:pb,MarsIcon:pb,MarsStroke:hb,MarsStrokeIcon:hb,Martini:fb,MartiniIcon:fb,Maximize:mb,Maximize2:yb,Maximize2Icon:yb,MaximizeIcon:mb,Medal:vb,MedalIcon:vb,Megaphone:Mb,MegaphoneIcon:Mb,MegaphoneOff:kb,MegaphoneOffIcon:kb,Meh:gb,MehIcon:gb,MemoryStick:xb,MemoryStickIcon:xb,Menu:bb,MenuIcon:bb,MenuSquare:Kl,MenuSquareIcon:Kl,Merge:wb,MergeIcon:wb,MessageCircle:$b,MessageCircleCode:_b,MessageCircleCodeIcon:_b,MessageCircleDashed:Sb,MessageCircleDashedIcon:Sb,MessageCircleHeart:Cb,MessageCircleHeartIcon:Cb,MessageCircleIcon:$b,MessageCircleMore:Nb,MessageCircleMoreIcon:Nb,MessageCircleOff:Lb,MessageCircleOffIcon:Lb,MessageCirclePlus:Ib,MessageCirclePlusIcon:Ib,MessageCircleQuestion:Eb,MessageCircleQuestionIcon:Eb,MessageCircleReply:Ab,MessageCircleReplyIcon:Ab,MessageCircleWarning:Tb,MessageCircleWarningIcon:Tb,MessageCircleX:Rb,MessageCircleXIcon:Rb,MessageSquare:Xb,MessageSquareCode:jb,MessageSquareCodeIcon:jb,MessageSquareDashed:Pb,MessageSquareDashedIcon:Pb,MessageSquareDiff:Ob,MessageSquareDiffIcon:Ob,MessageSquareDot:Db,MessageSquareDotIcon:Db,MessageSquareHeart:zb,MessageSquareHeartIcon:zb,MessageSquareIcon:Xb,MessageSquareLock:qb,MessageSquareLockIcon:qb,MessageSquareMore:Hb,MessageSquareMoreIcon:Hb,MessageSquareOff:Vb,MessageSquareOffIcon:Vb,MessageSquarePlus:Bb,MessageSquarePlusIcon:Bb,MessageSquareQuote:Fb,MessageSquareQuoteIcon:Fb,MessageSquareReply:Ub,MessageSquareReplyIcon:Ub,MessageSquareShare:Gb,MessageSquareShareIcon:Gb,MessageSquareText:Wb,MessageSquareTextIcon:Wb,MessageSquareWarning:Zb,MessageSquareWarningIcon:Zb,MessageSquareX:Kb,MessageSquareXIcon:Kb,MessagesSquare:Yb,MessagesSquareIcon:Yb,Mic:Jb,Mic2:Ws,Mic2Icon:Ws,MicIcon:Jb,MicOff:Qb,MicOffIcon:Qb,MicVocal:Ws,MicVocalIcon:Ws,Microchip:e7,MicrochipIcon:e7,Microscope:t7,MicroscopeIcon:t7,Microwave:n7,MicrowaveIcon:n7,Milestone:a7,MilestoneIcon:a7,Milk:r7,MilkIcon:r7,MilkOff:o7,MilkOffIcon:o7,Minimize:c7,Minimize2:i7,Minimize2Icon:i7,MinimizeIcon:c7,Minus:s7,MinusCircle:Xc,MinusCircleIcon:Xc,MinusIcon:s7,MinusSquare:Yl,MinusSquareIcon:Yl,Monitor:x7,MonitorCheck:l7,MonitorCheckIcon:l7,MonitorCog:d7,MonitorCogIcon:d7,MonitorDot:u7,MonitorDotIcon:u7,MonitorDown:h7,MonitorDownIcon:h7,MonitorIcon:x7,MonitorOff:p7,MonitorOffIcon:p7,MonitorPause:f7,MonitorPauseIcon:f7,MonitorPlay:y7,MonitorPlayIcon:y7,MonitorSmartphone:m7,MonitorSmartphoneIcon:m7,MonitorSpeaker:v7,MonitorSpeakerIcon:v7,MonitorStop:k7,MonitorStopIcon:k7,MonitorUp:M7,MonitorUpIcon:M7,MonitorX:g7,MonitorXIcon:g7,Moon:w7,MoonIcon:w7,MoonStar:b7,MoonStarIcon:b7,MoreHorizontal:Dr,MoreHorizontalIcon:Dr,MoreVertical:ks,MoreVerticalIcon:ks,Mountain:N7,MountainIcon:N7,MountainSnow:_7,MountainSnowIcon:_7,Mouse:A7,MouseIcon:A7,MouseOff:S7,MouseOffIcon:S7,MousePointer:I7,MousePointer2:C7,MousePointer2Icon:C7,MousePointerBan:L7,MousePointerBanIcon:L7,MousePointerClick:E7,MousePointerClickIcon:E7,MousePointerIcon:I7,MousePointerSquareDashed:Hl,MousePointerSquareDashedIcon:Hl,Move:G7,Move3D:Zs,Move3DIcon:Zs,Move3d:Zs,Move3dIcon:Zs,MoveDiagonal:R7,MoveDiagonal2:T7,MoveDiagonal2Icon:T7,MoveDiagonalIcon:R7,MoveDown:P7,MoveDownIcon:P7,MoveDownLeft:$7,MoveDownLeftIcon:$7,MoveDownRight:j7,MoveDownRightIcon:j7,MoveHorizontal:O7,MoveHorizontalIcon:O7,MoveIcon:G7,MoveLeft:D7,MoveLeftIcon:D7,MoveRight:z7,MoveRightIcon:z7,MoveUp:V7,MoveUpIcon:V7,MoveUpLeft:q7,MoveUpLeftIcon:q7,MoveUpRight:H7,MoveUpRightIcon:H7,MoveVertical:B7,MoveVerticalIcon:B7,Music:Z7,Music2:F7,Music2Icon:F7,Music3:U7,Music3Icon:U7,Music4:W7,Music4Icon:W7,MusicIcon:Z7,Navigation:Q7,Navigation2:K7,Navigation2Icon:K7,Navigation2Off:X7,Navigation2OffIcon:X7,NavigationIcon:Q7,NavigationOff:Y7,NavigationOffIcon:Y7,Network:J7,NetworkIcon:J7,Newspaper:ew,NewspaperIcon:ew,Nfc:tw,NfcIcon:tw,NonBinary:nw,NonBinaryIcon:nw,Notebook:iw,NotebookIcon:iw,NotebookPen:aw,NotebookPenIcon:aw,NotebookTabs:ow,NotebookTabsIcon:ow,NotebookText:rw,NotebookTextIcon:rw,NotepadText:cw,NotepadTextDashed:sw,NotepadTextDashedIcon:sw,NotepadTextIcon:cw,Nut:dw,NutIcon:dw,NutOff:lw,NutOffIcon:lw,Octagon:hw,OctagonAlert:Xs,OctagonAlertIcon:Xs,OctagonIcon:hw,OctagonMinus:uw,OctagonMinusIcon:uw,OctagonPause:Ks,OctagonPauseIcon:Ks,OctagonX:Ys,OctagonXIcon:Ys,Omega:pw,OmegaIcon:pw,Option:yw,OptionIcon:yw,Orbit:fw,OrbitIcon:fw,Origami:mw,OrigamiIcon:mw,Outdent:qs,OutdentIcon:qs,Package:_w,Package2:vw,Package2Icon:vw,PackageCheck:kw,PackageCheckIcon:kw,PackageIcon:_w,PackageMinus:gw,PackageMinusIcon:gw,PackageOpen:Mw,PackageOpenIcon:Mw,PackagePlus:xw,PackagePlusIcon:xw,PackageSearch:bw,PackageSearchIcon:bw,PackageX:ww,PackageXIcon:ww,PaintBucket:Sw,PaintBucketIcon:Sw,PaintRoller:Cw,PaintRollerIcon:Cw,Paintbrush:Nw,Paintbrush2:Qs,Paintbrush2Icon:Qs,PaintbrushIcon:Nw,PaintbrushVertical:Qs,PaintbrushVerticalIcon:Qs,Palette:Lw,PaletteIcon:Lw,Palmtree:g1,PalmtreeIcon:g1,PanelBottom:Aw,PanelBottomClose:Ew,PanelBottomCloseIcon:Ew,PanelBottomDashed:Js,PanelBottomDashedIcon:Js,PanelBottomIcon:Aw,PanelBottomInactive:Js,PanelBottomInactiveIcon:Js,PanelBottomOpen:Iw,PanelBottomOpenIcon:Iw,PanelLeft:vi,PanelLeftClose:el,PanelLeftCloseIcon:el,PanelLeftDashed:tl,PanelLeftDashedIcon:tl,PanelLeftIcon:vi,PanelLeftInactive:tl,PanelLeftInactiveIcon:tl,PanelLeftOpen:nl,PanelLeftOpenIcon:nl,PanelRight:Rw,PanelRightClose:Tw,PanelRightCloseIcon:Tw,PanelRightDashed:al,PanelRightDashedIcon:al,PanelRightIcon:Rw,PanelRightInactive:al,PanelRightInactiveIcon:al,PanelRightOpen:jw,PanelRightOpenIcon:jw,PanelTop:Ow,PanelTopClose:$w,PanelTopCloseIcon:$w,PanelTopDashed:ol,PanelTopDashedIcon:ol,PanelTopIcon:Ow,PanelTopInactive:ol,PanelTopInactiveIcon:ol,PanelTopOpen:Pw,PanelTopOpenIcon:Pw,PanelsLeftBottom:Dw,PanelsLeftBottomIcon:Dw,PanelsLeftRight:fs,PanelsLeftRightIcon:fs,PanelsRightBottom:zw,PanelsRightBottomIcon:zw,PanelsTopBottom:hl,PanelsTopBottomIcon:hl,PanelsTopLeft:rl,PanelsTopLeftIcon:rl,Paperclip:qw,PaperclipIcon:qw,Parentheses:Hw,ParenthesesIcon:Hw,ParkingCircle:Qc,ParkingCircleIcon:Qc,ParkingCircleOff:Yc,ParkingCircleOffIcon:Yc,ParkingMeter:Vw,ParkingMeterIcon:Vw,ParkingSquare:e1,ParkingSquareIcon:e1,ParkingSquareOff:Jl,ParkingSquareOffIcon:Jl,PartyPopper:Bw,PartyPopperIcon:Bw,Pause:Fw,PauseCircle:Jc,PauseCircleIcon:Jc,PauseIcon:Fw,PauseOctagon:Ks,PauseOctagonIcon:Ks,PawPrint:Uw,PawPrintIcon:Uw,PcCase:Gw,PcCaseIcon:Gw,Pen:cl,PenBox:Un,PenBoxIcon:Un,PenIcon:cl,PenLine:il,PenLineIcon:il,PenOff:Ww,PenOffIcon:Ww,PenSquare:Un,PenSquareIcon:Un,PenTool:Zw,PenToolIcon:Zw,Pencil:Qw,PencilIcon:Qw,PencilLine:Xw,PencilLineIcon:Xw,PencilOff:Yw,PencilOffIcon:Yw,PencilRuler:Kw,PencilRulerIcon:Kw,Pentagon:Jw,PentagonIcon:Jw,Percent:e9,PercentCircle:es,PercentCircleIcon:es,PercentDiamond:ms,PercentDiamondIcon:ms,PercentIcon:e9,PercentSquare:t1,PercentSquareIcon:t1,PersonStanding:t9,PersonStandingIcon:t9,PhilippinePeso:n9,PhilippinePesoIcon:n9,Phone:l9,PhoneCall:a9,PhoneCallIcon:a9,PhoneForwarded:o9,PhoneForwardedIcon:o9,PhoneIcon:l9,PhoneIncoming:r9,PhoneIncomingIcon:r9,PhoneMissed:i9,PhoneMissedIcon:i9,PhoneOff:c9,PhoneOffIcon:c9,PhoneOutgoing:s9,PhoneOutgoingIcon:s9,Pi:h9,PiIcon:h9,PiSquare:n1,PiSquareIcon:n1,Piano:d9,PianoIcon:d9,Pickaxe:u9,PickaxeIcon:u9,PictureInPicture:f9,PictureInPicture2:p9,PictureInPicture2Icon:p9,PictureInPictureIcon:f9,PieChart:Ic,PieChartIcon:Ic,PiggyBank:y9,PiggyBankIcon:y9,Pilcrow:k9,PilcrowIcon:k9,PilcrowLeft:m9,PilcrowLeftIcon:m9,PilcrowRight:v9,PilcrowRightIcon:v9,PilcrowSquare:a1,PilcrowSquareIcon:a1,Pill:M9,PillBottle:g9,PillBottleIcon:g9,PillIcon:M9,Pin:x9,PinIcon:x9,PinOff:b9,PinOffIcon:b9,Pipette:w9,PipetteIcon:w9,Pizza:_9,PizzaIcon:_9,Plane:N9,PlaneIcon:N9,PlaneLanding:S9,PlaneLandingIcon:S9,PlaneTakeoff:C9,PlaneTakeoffIcon:C9,Play:L9,PlayCircle:ts,PlayCircleIcon:ts,PlayIcon:L9,PlaySquare:o1,PlaySquareIcon:o1,Plug:I9,Plug2:E9,Plug2Icon:E9,PlugIcon:I9,PlugZap:sl,PlugZap2:sl,PlugZap2Icon:sl,PlugZapIcon:sl,Plus:k2,PlusCircle:ns,PlusCircleIcon:ns,PlusIcon:k2,PlusSquare:r1,PlusSquareIcon:r1,Pocket:T9,PocketIcon:T9,PocketKnife:A9,PocketKnifeIcon:A9,Podcast:R9,PodcastIcon:R9,Pointer:j9,PointerIcon:j9,PointerOff:$9,PointerOffIcon:$9,Popcorn:P9,PopcornIcon:P9,Popsicle:O9,PopsicleIcon:O9,PoundSterling:D9,PoundSterlingIcon:D9,Power:H9,PowerCircle:as,PowerCircleIcon:as,PowerIcon:H9,PowerOff:z9,PowerOffIcon:z9,PowerSquare:i1,PowerSquareIcon:i1,Presentation:q9,PresentationIcon:q9,Printer:B9,PrinterCheck:V9,PrinterCheckIcon:V9,PrinterIcon:B9,Projector:F9,ProjectorIcon:F9,Proportions:U9,ProportionsIcon:U9,Puzzle:G9,PuzzleIcon:G9,Pyramid:W9,PyramidIcon:W9,QrCode:Z9,QrCodeIcon:Z9,Quote:X9,QuoteIcon:X9,Rabbit:K9,RabbitIcon:K9,Radar:Y9,RadarIcon:Y9,Radiation:Q9,RadiationIcon:Q9,Radical:e_,RadicalIcon:e_,Radio:n_,RadioIcon:n_,RadioReceiver:J9,RadioReceiverIcon:J9,RadioTower:t_,RadioTowerIcon:t_,Radius:a_,RadiusIcon:a_,RailSymbol:o_,RailSymbolIcon:o_,Rainbow:r_,RainbowIcon:r_,Rat:i_,RatIcon:i_,Ratio:c_,RatioIcon:c_,Receipt:m_,ReceiptCent:s_,ReceiptCentIcon:s_,ReceiptEuro:l_,ReceiptEuroIcon:l_,ReceiptIcon:m_,ReceiptIndianRupee:d_,ReceiptIndianRupeeIcon:d_,ReceiptJapaneseYen:u_,ReceiptJapaneseYenIcon:u_,ReceiptPoundSterling:h_,ReceiptPoundSterlingIcon:h_,ReceiptRussianRuble:p_,ReceiptRussianRubleIcon:p_,ReceiptSwissFranc:f_,ReceiptSwissFrancIcon:f_,ReceiptText:y_,ReceiptTextIcon:y_,RectangleEllipsis:ll,RectangleEllipsisIcon:ll,RectangleHorizontal:v_,RectangleHorizontalIcon:v_,RectangleVertical:k_,RectangleVerticalIcon:k_,Recycle:g_,RecycleIcon:g_,Redo:b_,Redo2:M_,Redo2Icon:M_,RedoDot:x_,RedoDotIcon:x_,RedoIcon:b_,RefreshCcw:__,RefreshCcwDot:w_,RefreshCcwDotIcon:w_,RefreshCcwIcon:__,RefreshCw:N_,RefreshCwIcon:N_,RefreshCwOff:S_,RefreshCwOffIcon:S_,Refrigerator:C_,RefrigeratorIcon:C_,Regex:L_,RegexIcon:L_,RemoveFormatting:I_,RemoveFormattingIcon:I_,Repeat:T_,Repeat1:E_,Repeat1Icon:E_,Repeat2:A_,Repeat2Icon:A_,RepeatIcon:T_,Replace:$_,ReplaceAll:R_,ReplaceAllIcon:R_,ReplaceIcon:$_,Reply:P_,ReplyAll:j_,ReplyAllIcon:j_,ReplyIcon:P_,Rewind:O_,RewindIcon:O_,Ribbon:D_,RibbonIcon:D_,Rocket:z_,RocketIcon:z_,RockingChair:q_,RockingChairIcon:q_,RollerCoaster:H_,RollerCoasterIcon:H_,Rotate3D:dl,Rotate3DIcon:dl,Rotate3d:dl,Rotate3dIcon:dl,RotateCcw:B_,RotateCcwIcon:B_,RotateCcwSquare:V_,RotateCcwSquareIcon:V_,RotateCw:U_,RotateCwIcon:U_,RotateCwSquare:F_,RotateCwSquareIcon:F_,Route:Z_,RouteIcon:Z_,RouteOff:G_,RouteOffIcon:G_,Router:W_,RouterIcon:W_,Rows:ul,Rows2:ul,Rows2Icon:ul,Rows3:hl,Rows3Icon:hl,Rows4:X_,Rows4Icon:X_,RowsIcon:ul,Rss:K_,RssIcon:K_,Ruler:Y_,RulerIcon:Y_,RussianRuble:Q_,RussianRubleIcon:Q_,Sailboat:J_,SailboatIcon:J_,Salad:tS,SaladIcon:tS,Sandwich:eS,SandwichIcon:eS,Satellite:nS,SatelliteDish:aS,SatelliteDishIcon:aS,SatelliteIcon:nS,SaudiRiyal:oS,SaudiRiyalIcon:oS,Save:cS,SaveAll:iS,SaveAllIcon:iS,SaveIcon:cS,SaveOff:rS,SaveOffIcon:rS,Scale:sS,Scale3D:pl,Scale3DIcon:pl,Scale3d:pl,Scale3dIcon:pl,ScaleIcon:sS,Scaling:lS,ScalingIcon:lS,Scan:kS,ScanBarcode:dS,ScanBarcodeIcon:dS,ScanEye:uS,ScanEyeIcon:uS,ScanFace:hS,ScanFaceIcon:hS,ScanHeart:pS,ScanHeartIcon:pS,ScanIcon:kS,ScanLine:fS,ScanLineIcon:fS,ScanQrCode:yS,ScanQrCodeIcon:yS,ScanSearch:mS,ScanSearchIcon:mS,ScanText:vS,ScanTextIcon:vS,ScatterChart:Ac,ScatterChartIcon:Ac,School:MS,School2:b1,School2Icon:b1,SchoolIcon:MS,Scissors:xS,ScissorsIcon:xS,ScissorsLineDashed:gS,ScissorsLineDashedIcon:gS,ScissorsSquare:c1,ScissorsSquareDashedBottom:Tl,ScissorsSquareDashedBottomIcon:Tl,ScissorsSquareIcon:c1,ScreenShare:wS,ScreenShareIcon:wS,ScreenShareOff:bS,ScreenShareOffIcon:bS,Scroll:SS,ScrollIcon:SS,ScrollText:_S,ScrollTextIcon:_S,Search:g2,SearchCheck:CS,SearchCheckIcon:CS,SearchCode:NS,SearchCodeIcon:NS,SearchIcon:g2,SearchSlash:ES,SearchSlashIcon:ES,SearchX:LS,SearchXIcon:LS,Section:IS,SectionIcon:IS,Send:TS,SendHorizonal:fl,SendHorizonalIcon:fl,SendHorizontal:fl,SendHorizontalIcon:fl,SendIcon:TS,SendToBack:AS,SendToBackIcon:AS,SeparatorHorizontal:RS,SeparatorHorizontalIcon:RS,SeparatorVertical:$S,SeparatorVerticalIcon:$S,Server:DS,ServerCog:jS,ServerCogIcon:jS,ServerCrash:PS,ServerCrashIcon:PS,ServerIcon:DS,ServerOff:OS,ServerOffIcon:OS,Settings:qS,Settings2:zS,Settings2Icon:zS,SettingsIcon:qS,Shapes:HS,ShapesIcon:HS,Share:BS,Share2:VS,Share2Icon:VS,ShareIcon:BS,Sheet:FS,SheetIcon:FS,Shell:US,ShellIcon:US,Shield:nC,ShieldAlert:GS,ShieldAlertIcon:GS,ShieldBan:ZS,ShieldBanIcon:ZS,ShieldCheck:WS,ShieldCheckIcon:WS,ShieldClose:yl,ShieldCloseIcon:yl,ShieldEllipsis:XS,ShieldEllipsisIcon:XS,ShieldHalf:KS,ShieldHalfIcon:KS,ShieldIcon:nC,ShieldMinus:YS,ShieldMinusIcon:YS,ShieldOff:QS,ShieldOffIcon:QS,ShieldPlus:JS,ShieldPlusIcon:JS,ShieldQuestion:eC,ShieldQuestionIcon:eC,ShieldUser:tC,ShieldUserIcon:tC,ShieldX:yl,ShieldXIcon:yl,Ship:oC,ShipIcon:oC,ShipWheel:aC,ShipWheelIcon:aC,Shirt:rC,ShirtIcon:rC,ShoppingBag:iC,ShoppingBagIcon:iC,ShoppingBasket:cC,ShoppingBasketIcon:cC,ShoppingCart:sC,ShoppingCartIcon:sC,Shovel:lC,ShovelIcon:lC,ShowerHead:dC,ShowerHeadIcon:dC,Shrimp:uC,ShrimpIcon:uC,Shrink:hC,ShrinkIcon:hC,Shrub:pC,ShrubIcon:pC,Shuffle:fC,ShuffleIcon:fC,Sidebar:vi,SidebarClose:el,SidebarCloseIcon:el,SidebarIcon:vi,SidebarOpen:nl,SidebarOpenIcon:nl,Sigma:yC,SigmaIcon:yC,SigmaSquare:s1,SigmaSquareIcon:s1,Signal:MC,SignalHigh:mC,SignalHighIcon:mC,SignalIcon:MC,SignalLow:kC,SignalLowIcon:kC,SignalMedium:vC,SignalMediumIcon:vC,SignalZero:gC,SignalZeroIcon:gC,Signature:xC,SignatureIcon:xC,Signpost:wC,SignpostBig:bC,SignpostBigIcon:bC,SignpostIcon:wC,Siren:_C,SirenIcon:_C,SkipBack:SC,SkipBackIcon:SC,SkipForward:CC,SkipForwardIcon:CC,Skull:NC,SkullIcon:NC,Slack:LC,SlackIcon:LC,Slash:EC,SlashIcon:EC,SlashSquare:l1,SlashSquareIcon:l1,Slice:IC,SliceIcon:IC,Sliders:ml,SlidersHorizontal:AC,SlidersHorizontalIcon:AC,SlidersIcon:ml,SlidersVertical:ml,SlidersVerticalIcon:ml,Smartphone:$C,SmartphoneCharging:TC,SmartphoneChargingIcon:TC,SmartphoneIcon:$C,SmartphoneNfc:RC,SmartphoneNfcIcon:RC,Smile:PC,SmileIcon:PC,SmilePlus:jC,SmilePlusIcon:jC,Snail:OC,SnailIcon:OC,Snowflake:DC,SnowflakeIcon:DC,Sofa:zC,SofaIcon:zC,SortAsc:dc,SortAscIcon:dc,SortDesc:cc,SortDescIcon:cc,Soup:qC,SoupIcon:qC,Space:HC,SpaceIcon:HC,Spade:VC,SpadeIcon:VC,Sparkle:BC,SparkleIcon:BC,Sparkles:vl,SparklesIcon:vl,Speaker:FC,SpeakerIcon:FC,Speech:UC,SpeechIcon:UC,SpellCheck:WC,SpellCheck2:GC,SpellCheck2Icon:GC,SpellCheckIcon:WC,Spline:XC,SplineIcon:XC,Split:ZC,SplitIcon:ZC,SplitSquareHorizontal:u1,SplitSquareHorizontalIcon:u1,SplitSquareVertical:d1,SplitSquareVerticalIcon:d1,SprayCan:KC,SprayCanIcon:KC,Sprout:YC,SproutIcon:YC,Square:oN,SquareActivity:kl,SquareActivityIcon:kl,SquareArrowDown:bl,SquareArrowDownIcon:bl,SquareArrowDownLeft:gl,SquareArrowDownLeftIcon:gl,SquareArrowDownRight:Ml,SquareArrowDownRightIcon:Ml,SquareArrowLeft:xl,SquareArrowLeftIcon:xl,SquareArrowOutDownLeft:wl,SquareArrowOutDownLeftIcon:wl,SquareArrowOutDownRight:_l,SquareArrowOutDownRightIcon:_l,SquareArrowOutUpLeft:Sl,SquareArrowOutUpLeftIcon:Sl,SquareArrowOutUpRight:Cl,SquareArrowOutUpRightIcon:Cl,SquareArrowRight:Nl,SquareArrowRightIcon:Nl,SquareArrowUp:Il,SquareArrowUpIcon:Il,SquareArrowUpLeft:Ll,SquareArrowUpLeftIcon:Ll,SquareArrowUpRight:El,SquareArrowUpRightIcon:El,SquareAsterisk:Al,SquareAsteriskIcon:Al,SquareBottomDashedScissors:Tl,SquareBottomDashedScissorsIcon:Tl,SquareChartGantt:nr,SquareChartGanttIcon:nr,SquareCheck:$l,SquareCheckBig:Rl,SquareCheckBigIcon:Rl,SquareCheckIcon:$l,SquareChevronDown:jl,SquareChevronDownIcon:jl,SquareChevronLeft:Pl,SquareChevronLeftIcon:Pl,SquareChevronRight:Ol,SquareChevronRightIcon:Ol,SquareChevronUp:Dl,SquareChevronUpIcon:Dl,SquareCode:zl,SquareCodeIcon:zl,SquareDashed:Vl,SquareDashedBottom:QC,SquareDashedBottomCode:JC,SquareDashedBottomCodeIcon:JC,SquareDashedBottomIcon:QC,SquareDashedIcon:Vl,SquareDashedKanban:ql,SquareDashedKanbanIcon:ql,SquareDashedMousePointer:Hl,SquareDashedMousePointerIcon:Hl,SquareDivide:Bl,SquareDivideIcon:Bl,SquareDot:Fl,SquareDotIcon:Fl,SquareEqual:Gl,SquareEqualIcon:Gl,SquareFunction:Ul,SquareFunctionIcon:Ul,SquareGanttChart:nr,SquareGanttChartIcon:nr,SquareIcon:oN,SquareKanban:Wl,SquareKanbanIcon:Wl,SquareLibrary:Zl,SquareLibraryIcon:Zl,SquareM:Xl,SquareMIcon:Xl,SquareMenu:Kl,SquareMenuIcon:Kl,SquareMinus:Yl,SquareMinusIcon:Yl,SquareMousePointer:Ql,SquareMousePointerIcon:Ql,SquareParking:e1,SquareParkingIcon:e1,SquareParkingOff:Jl,SquareParkingOffIcon:Jl,SquarePen:Un,SquarePenIcon:Un,SquarePercent:t1,SquarePercentIcon:t1,SquarePi:n1,SquarePiIcon:n1,SquarePilcrow:a1,SquarePilcrowIcon:a1,SquarePlay:o1,SquarePlayIcon:o1,SquarePlus:r1,SquarePlusIcon:r1,SquarePower:i1,SquarePowerIcon:i1,SquareRadical:eN,SquareRadicalIcon:eN,SquareRoundCorner:tN,SquareRoundCornerIcon:tN,SquareScissors:c1,SquareScissorsIcon:c1,SquareSigma:s1,SquareSigmaIcon:s1,SquareSlash:l1,SquareSlashIcon:l1,SquareSplitHorizontal:u1,SquareSplitHorizontalIcon:u1,SquareSplitVertical:d1,SquareSplitVerticalIcon:d1,SquareSquare:nN,SquareSquareIcon:nN,SquareStack:aN,SquareStackIcon:aN,SquareTerminal:h1,SquareTerminalIcon:h1,SquareUser:f1,SquareUserIcon:f1,SquareUserRound:p1,SquareUserRoundIcon:p1,SquareX:y1,SquareXIcon:y1,Squircle:rN,SquircleIcon:rN,Squirrel:cN,SquirrelIcon:cN,Stamp:iN,StampIcon:iN,Star:dN,StarHalf:sN,StarHalfIcon:sN,StarIcon:dN,StarOff:lN,StarOffIcon:lN,Stars:vl,StarsIcon:vl,StepBack:uN,StepBackIcon:uN,StepForward:hN,StepForwardIcon:hN,Stethoscope:pN,StethoscopeIcon:pN,Sticker:fN,StickerIcon:fN,StickyNote:yN,StickyNoteIcon:yN,StopCircle:rs,StopCircleIcon:rs,Store:mN,StoreIcon:mN,StretchHorizontal:vN,StretchHorizontalIcon:vN,StretchVertical:kN,StretchVerticalIcon:kN,Strikethrough:gN,StrikethroughIcon:gN,Subscript:MN,SubscriptIcon:MN,Subtitles:kc,SubtitlesIcon:kc,Sun:SN,SunDim:xN,SunDimIcon:xN,SunIcon:SN,SunMedium:bN,SunMediumIcon:bN,SunMoon:wN,SunMoonIcon:wN,SunSnow:_N,SunSnowIcon:_N,Sunrise:CN,SunriseIcon:CN,Sunset:NN,SunsetIcon:NN,Superscript:LN,SuperscriptIcon:LN,SwatchBook:EN,SwatchBookIcon:EN,SwissFranc:IN,SwissFrancIcon:IN,SwitchCamera:AN,SwitchCameraIcon:AN,Sword:TN,SwordIcon:TN,Swords:RN,SwordsIcon:RN,Syringe:$N,SyringeIcon:$N,Table:VN,Table2:jN,Table2Icon:jN,TableCellsMerge:PN,TableCellsMergeIcon:PN,TableCellsSplit:ON,TableCellsSplitIcon:ON,TableColumnsSplit:DN,TableColumnsSplitIcon:DN,TableIcon:VN,TableOfContents:zN,TableOfContentsIcon:zN,TableProperties:qN,TablePropertiesIcon:qN,TableRowsSplit:HN,TableRowsSplitIcon:HN,Tablet:FN,TabletIcon:FN,TabletSmartphone:BN,TabletSmartphoneIcon:BN,Tablets:UN,TabletsIcon:UN,Tag:GN,TagIcon:GN,Tags:WN,TagsIcon:WN,Tally1:ZN,Tally1Icon:ZN,Tally2:XN,Tally2Icon:XN,Tally3:KN,Tally3Icon:KN,Tally4:YN,Tally4Icon:YN,Tally5:QN,Tally5Icon:QN,Tangent:JN,TangentIcon:JN,Target:eL,TargetIcon:eL,Telescope:tL,TelescopeIcon:tL,Tent:aL,TentIcon:aL,TentTree:nL,TentTreeIcon:nL,Terminal:oL,TerminalIcon:oL,TerminalSquare:h1,TerminalSquareIcon:h1,TestTube:iL,TestTube2:m1,TestTube2Icon:m1,TestTubeDiagonal:m1,TestTubeDiagonalIcon:m1,TestTubeIcon:iL,TestTubes:rL,TestTubesIcon:rL,Text:uL,TextCursor:sL,TextCursorIcon:sL,TextCursorInput:cL,TextCursorInputIcon:cL,TextIcon:uL,TextQuote:lL,TextQuoteIcon:lL,TextSearch:dL,TextSearchIcon:dL,TextSelect:v1,TextSelectIcon:v1,TextSelection:v1,TextSelectionIcon:v1,Theater:hL,TheaterIcon:hL,Thermometer:yL,ThermometerIcon:yL,ThermometerSnowflake:pL,ThermometerSnowflakeIcon:pL,ThermometerSun:fL,ThermometerSunIcon:fL,ThumbsDown:mL,ThumbsDownIcon:mL,ThumbsUp:vL,ThumbsUpIcon:vL,Ticket:_L,TicketCheck:kL,TicketCheckIcon:kL,TicketIcon:_L,TicketMinus:gL,TicketMinusIcon:gL,TicketPercent:ML,TicketPercentIcon:ML,TicketPlus:xL,TicketPlusIcon:xL,TicketSlash:bL,TicketSlashIcon:bL,TicketX:wL,TicketXIcon:wL,Tickets:CL,TicketsIcon:CL,TicketsPlane:SL,TicketsPlaneIcon:SL,Timer:EL,TimerIcon:EL,TimerOff:LL,TimerOffIcon:LL,TimerReset:NL,TimerResetIcon:NL,ToggleLeft:AL,ToggleLeftIcon:AL,ToggleRight:IL,ToggleRightIcon:IL,Toilet:TL,ToiletIcon:TL,Tornado:RL,TornadoIcon:RL,Torus:$L,TorusIcon:$L,Touchpad:PL,TouchpadIcon:PL,TouchpadOff:jL,TouchpadOffIcon:jL,TowerControl:OL,TowerControlIcon:OL,ToyBrick:DL,ToyBrickIcon:DL,Tractor:zL,TractorIcon:zL,TrafficCone:qL,TrafficConeIcon:qL,Train:k1,TrainFront:VL,TrainFrontIcon:VL,TrainFrontTunnel:HL,TrainFrontTunnelIcon:HL,TrainIcon:k1,TrainTrack:BL,TrainTrackIcon:BL,TramFront:k1,TramFrontIcon:k1,Transgender:FL,TransgenderIcon:FL,Trash:GL,Trash2:UL,Trash2Icon:UL,TrashIcon:GL,TreeDeciduous:WL,TreeDeciduousIcon:WL,TreePalm:g1,TreePalmIcon:g1,TreePine:ZL,TreePineIcon:ZL,Trees:XL,TreesIcon:XL,Trello:KL,TrelloIcon:KL,TrendingDown:YL,TrendingDownIcon:YL,TrendingUp:JL,TrendingUpDown:QL,TrendingUpDownIcon:QL,TrendingUpIcon:JL,Triangle:nE,TriangleAlert:M1,TriangleAlertIcon:M1,TriangleDashed:eE,TriangleDashedIcon:eE,TriangleIcon:nE,TriangleRight:tE,TriangleRightIcon:tE,Trophy:aE,TrophyIcon:aE,Truck:oE,TruckIcon:oE,Turtle:rE,TurtleIcon:rE,Tv:cE,Tv2:x1,Tv2Icon:x1,TvIcon:cE,TvMinimal:x1,TvMinimalIcon:x1,TvMinimalPlay:iE,TvMinimalPlayIcon:iE,Twitch:sE,TwitchIcon:sE,Twitter:lE,TwitterIcon:lE,Type:hE,TypeIcon:hE,TypeOutline:dE,TypeOutlineIcon:dE,Umbrella:pE,UmbrellaIcon:pE,UmbrellaOff:uE,UmbrellaOffIcon:uE,Underline:fE,UnderlineIcon:fE,Undo:vE,Undo2:yE,Undo2Icon:yE,UndoDot:mE,UndoDotIcon:mE,UndoIcon:vE,UnfoldHorizontal:kE,UnfoldHorizontalIcon:kE,UnfoldVertical:gE,UnfoldVerticalIcon:gE,Ungroup:ME,UngroupIcon:ME,University:b1,UniversityIcon:b1,Unlink:bE,Unlink2:xE,Unlink2Icon:xE,UnlinkIcon:bE,Unlock:Gs,UnlockIcon:Gs,UnlockKeyhole:Us,UnlockKeyholeIcon:Us,Unplug:_E,UnplugIcon:_E,Upload:wE,UploadCloud:us,UploadCloudIcon:us,UploadIcon:wE,Usb:CE,UsbIcon:CE,User:jE,User2:L1,User2Icon:L1,UserCheck:SE,UserCheck2:w1,UserCheck2Icon:w1,UserCheckIcon:SE,UserCircle:cs,UserCircle2:is,UserCircle2Icon:is,UserCircleIcon:cs,UserCog:NE,UserCog2:_1,UserCog2Icon:_1,UserCogIcon:NE,UserIcon:jE,UserMinus:LE,UserMinus2:S1,UserMinus2Icon:S1,UserMinusIcon:LE,UserPen:EE,UserPenIcon:EE,UserPlus:IE,UserPlus2:C1,UserPlus2Icon:C1,UserPlusIcon:IE,UserRound:L1,UserRoundCheck:w1,UserRoundCheckIcon:w1,UserRoundCog:_1,UserRoundCogIcon:_1,UserRoundIcon:L1,UserRoundMinus:S1,UserRoundMinusIcon:S1,UserRoundPen:AE,UserRoundPenIcon:AE,UserRoundPlus:C1,UserRoundPlusIcon:C1,UserRoundSearch:TE,UserRoundSearchIcon:TE,UserRoundX:N1,UserRoundXIcon:N1,UserSearch:RE,UserSearchIcon:RE,UserSquare:f1,UserSquare2:p1,UserSquare2Icon:p1,UserSquareIcon:f1,UserX:$E,UserX2:N1,UserX2Icon:N1,UserXIcon:$E,Users:PE,Users2:E1,Users2Icon:E1,UsersIcon:PE,UsersRound:E1,UsersRoundIcon:E1,Utensils:A1,UtensilsCrossed:I1,UtensilsCrossedIcon:I1,UtensilsIcon:A1,UtilityPole:OE,UtilityPoleIcon:OE,Variable:DE,VariableIcon:DE,Vault:zE,VaultIcon:zE,Vegan:qE,VeganIcon:qE,VenetianMask:HE,VenetianMaskIcon:HE,Venus:FE,VenusAndMars:VE,VenusAndMarsIcon:VE,VenusIcon:FE,Verified:pc,VerifiedIcon:pc,Vibrate:UE,VibrateIcon:UE,VibrateOff:BE,VibrateOffIcon:BE,Video:WE,VideoIcon:WE,VideoOff:GE,VideoOffIcon:GE,Videotape:ZE,VideotapeIcon:ZE,View:XE,ViewIcon:XE,Voicemail:KE,VoicemailIcon:KE,Volleyball:QE,VolleyballIcon:QE,Volume:aI,Volume1:YE,Volume1Icon:YE,Volume2:JE,Volume2Icon:JE,VolumeIcon:aI,VolumeOff:eI,VolumeOffIcon:eI,VolumeX:tI,VolumeXIcon:tI,Vote:nI,VoteIcon:nI,Wallet:rI,Wallet2:T1,Wallet2Icon:T1,WalletCards:oI,WalletCardsIcon:oI,WalletIcon:rI,WalletMinimal:T1,WalletMinimalIcon:T1,Wallpaper:iI,WallpaperIcon:iI,Wand:cI,Wand2:ki,Wand2Icon:ki,WandIcon:cI,WandSparkles:ki,WandSparklesIcon:ki,Warehouse:sI,WarehouseIcon:sI,WashingMachine:lI,WashingMachineIcon:lI,Watch:dI,WatchIcon:dI,Waves:hI,WavesIcon:hI,WavesLadder:uI,WavesLadderIcon:uI,Waypoints:pI,WaypointsIcon:pI,Webcam:fI,WebcamIcon:fI,Webhook:yI,WebhookIcon:yI,WebhookOff:mI,WebhookOffIcon:mI,Weight:vI,WeightIcon:vI,Wheat:kI,WheatIcon:kI,WheatOff:gI,WheatOffIcon:gI,WholeWord:MI,WholeWordIcon:MI,Wifi:SI,WifiHigh:xI,WifiHighIcon:xI,WifiIcon:SI,WifiLow:bI,WifiLowIcon:bI,WifiOff:_I,WifiOffIcon:_I,WifiZero:wI,WifiZeroIcon:wI,Wind:NI,WindArrowDown:CI,WindArrowDownIcon:CI,WindIcon:NI,Wine:EI,WineIcon:EI,WineOff:LI,WineOffIcon:LI,Workflow:II,WorkflowIcon:II,Worm:AI,WormIcon:AI,WrapText:TI,WrapTextIcon:TI,Wrench:RI,WrenchIcon:RI,X:bi,XCircle:Or,XCircleIcon:Or,XIcon:bi,XOctagon:Ys,XOctagonIcon:Ys,XSquare:y1,XSquareIcon:y1,Youtube:$I,YoutubeIcon:$I,Zap:PI,ZapIcon:PI,ZapOff:jI,ZapOffIcon:jI,ZoomIn:OI,ZoomInIcon:OI,ZoomOut:DI,ZoomOutIcon:DI,createLucideIcon:d,icons:B_e},Symbol.toStringTag,{value:"Module"}));function U_e({...e}){return M.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...e})}function G_e({className:e,...t}){return M.jsx("ol",{"data-slot":"breadcrumb-list",className:ee("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",e),...t})}function W_e({className:e,...t}){return M.jsx("li",{"data-slot":"breadcrumb-item",className:ee("inline-flex items-center gap-1.5",e),...t})}function Z_e({asChild:e,className:t,...a}){const o=e?Ii:"a";return M.jsx(o,{"data-slot":"breadcrumb-link",className:ee("hover:text-foreground transition-colors",t),...a})}function X_e({className:e,...t}){return M.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:ee("text-foreground font-normal",e),...t})}function K_e({children:e,className:t,...a}){return M.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:ee("[&>svg]:size-3.5",t),...a,children:e??M.jsx(lr,{})})}function Y_e({className:e,...t}){return M.jsxs("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:ee("flex size-9 items-center justify-center",e),...t,children:[M.jsx(Dr,{className:"size-4"}),M.jsx("span",{className:"sr-only",children:"More"})]})}const QI=gA("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive cursor-pointer",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/80 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",green:"bg-chart-2 text-primary-foreground shadow-xs hover:bg-chart-2/90",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9",list:"h-8 px-2 py-2 has-[>svg]:px-2"}},defaultVariants:{variant:"default",size:"default"}});function MA({className:e,variant:t,size:a,asChild:o=!1,...i}){const s=o?Ii:"button";return M.jsx(s,{"data-slot":"button",className:ee(QI({variant:t,size:a,className:e})),...i})}function at(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function Xn(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function gn(e,t){const a=at(e);return isNaN(t)?Xn(e,NaN):(t&&a.setDate(a.getDate()+t),a)}function ba(e,t){const a=at(e);if(isNaN(t))return Xn(e,NaN);if(!t)return a;const o=a.getDate(),i=Xn(e,a.getTime());i.setMonth(a.getMonth()+t+1,0);const s=i.getDate();return o>=s?i:(a.setFullYear(i.getFullYear(),i.getMonth(),o),a)}const OP=6048e5,Q_e=864e5;let J_e={};function R2(){return J_e}function hr(e,t){var h,f,y,k;const a=R2(),o=(t==null?void 0:t.weekStartsOn)??((f=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:f.weekStartsOn)??a.weekStartsOn??((k=(y=a.locale)==null?void 0:y.options)==null?void 0:k.weekStartsOn)??0,i=at(e),s=i.getDay(),l=(s<o?7:0)+s-o;return i.setDate(i.getDate()-l),i.setHours(0,0,0,0),i}function q1(e){return hr(e,{weekStartsOn:1})}function fG(e){const t=at(e),a=t.getFullYear(),o=Xn(e,0);o.setFullYear(a+1,0,4),o.setHours(0,0,0,0);const i=q1(o),s=Xn(e,0);s.setFullYear(a,0,4),s.setHours(0,0,0,0);const l=q1(s);return t.getTime()>=i.getTime()?a+1:t.getTime()>=l.getTime()?a:a-1}function Gd(e){const t=at(e);return t.setHours(0,0,0,0),t}function JI(e){const t=at(e),a=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return a.setUTCFullYear(t.getFullYear()),+e-+a}function ir(e,t){const a=Gd(e),o=Gd(t),i=+a-JI(a),s=+o-JI(o);return Math.round((i-s)/Q_e)}function eSe(e){const t=fG(e),a=Xn(e,0);return a.setFullYear(t,0,4),a.setHours(0,0,0,0),q1(a)}function Zj(e,t){const a=t*7;return gn(e,a)}function tSe(e,t){return ba(e,t*12)}function nSe(e){let t;return e.forEach(function(a){const o=at(a);(t===void 0||t<o||isNaN(Number(o)))&&(t=o)}),t||new Date(NaN)}function aSe(e){let t;return e.forEach(a=>{const o=at(a);(!t||t>o||isNaN(+o))&&(t=o)}),t||new Date(NaN)}function An(e,t){const a=Gd(e),o=Gd(t);return+a==+o}function DP(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function oSe(e){if(!DP(e)&&typeof e!="number")return!1;const t=at(e);return!isNaN(Number(t))}function w2(e,t){const a=at(e),o=at(t),i=a.getFullYear()-o.getFullYear(),s=a.getMonth()-o.getMonth();return i*12+s}function rSe(e,t,a){const o=hr(e,a),i=hr(t,a),s=+o-JI(o),l=+i-JI(i);return Math.round((s-l)/OP)}function zP(e){const t=at(e),a=t.getMonth();return t.setFullYear(t.getFullYear(),a+1,0),t.setHours(23,59,59,999),t}function $n(e){const t=at(e);return t.setDate(1),t.setHours(0,0,0,0),t}function yG(e){const t=at(e),a=Xn(e,0);return a.setFullYear(t.getFullYear(),0,1),a.setHours(0,0,0,0),a}function qP(e,t){var h,f,y,k;const a=R2(),o=(t==null?void 0:t.weekStartsOn)??((f=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:f.weekStartsOn)??a.weekStartsOn??((k=(y=a.locale)==null?void 0:y.options)==null?void 0:k.weekStartsOn)??0,i=at(e),s=i.getDay(),l=(s<o?-7:0)+6-(s-o);return i.setDate(i.getDate()+l),i.setHours(23,59,59,999),i}function mG(e){return qP(e,{weekStartsOn:1})}const iSe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},cSe=(e,t,a)=>{let o;const i=iSe[e];return typeof i=="string"?o=i:t===1?o=i.one:o=i.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+o:o+" ago":o};function uj(e){return(t={})=>{const a=t.width?String(t.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}const sSe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},lSe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dSe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},uSe={date:uj({formats:sSe,defaultWidth:"full"}),time:uj({formats:lSe,defaultWidth:"full"}),dateTime:uj({formats:dSe,defaultWidth:"full"})},hSe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},pSe=(e,t,a,o)=>hSe[e];function c2(e){return(t,a)=>{const o=a!=null&&a.context?String(a.context):"standalone";let i;if(o==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,h=a!=null&&a.width?String(a.width):l;i=e.formattingValues[h]||e.formattingValues[l]}else{const l=e.defaultWidth,h=a!=null&&a.width?String(a.width):e.defaultWidth;i=e.values[h]||e.values[l]}const s=e.argumentCallback?e.argumentCallback(t):t;return i[s]}}const fSe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ySe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},mSe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},vSe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},kSe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},gSe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},MSe=(e,t)=>{const a=Number(e),o=a%100;if(o>20||o<10)switch(o%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},xSe={ordinalNumber:MSe,era:c2({values:fSe,defaultWidth:"wide"}),quarter:c2({values:ySe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:c2({values:mSe,defaultWidth:"wide"}),day:c2({values:vSe,defaultWidth:"wide"}),dayPeriod:c2({values:kSe,defaultWidth:"wide",formattingValues:gSe,defaultFormattingWidth:"wide"})};function s2(e){return(t,a={})=>{const o=a.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],s=t.match(i);if(!s)return null;const l=s[0],h=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(h)?wSe(h,m=>m.test(l)):bSe(h,m=>m.test(l));let y;y=e.valueCallback?e.valueCallback(f):f,y=a.valueCallback?a.valueCallback(y):y;const k=t.slice(l.length);return{value:y,rest:k}}}function bSe(e,t){for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return a}function wSe(e,t){for(let a=0;a<e.length;a++)if(t(e[a]))return a}function _Se(e){return(t,a={})=>{const o=t.match(e.matchPattern);if(!o)return null;const i=o[0],s=t.match(e.parsePattern);if(!s)return null;let l=e.valueCallback?e.valueCallback(s[0]):s[0];l=a.valueCallback?a.valueCallback(l):l;const h=t.slice(i.length);return{value:l,rest:h}}}const SSe=/^(\d+)(th|st|nd|rd)?/i,CSe=/\d+/i,NSe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},LSe={any:[/^b/i,/^(a|c)/i]},ESe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ISe={any:[/1/i,/2/i,/3/i,/4/i]},ASe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},TSe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},RSe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},$Se={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},jSe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},PSe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},OSe={ordinalNumber:_Se({matchPattern:SSe,parsePattern:CSe,valueCallback:e=>parseInt(e,10)}),era:s2({matchPatterns:NSe,defaultMatchWidth:"wide",parsePatterns:LSe,defaultParseWidth:"any"}),quarter:s2({matchPatterns:ESe,defaultMatchWidth:"wide",parsePatterns:ISe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s2({matchPatterns:ASe,defaultMatchWidth:"wide",parsePatterns:TSe,defaultParseWidth:"any"}),day:s2({matchPatterns:RSe,defaultMatchWidth:"wide",parsePatterns:$Se,defaultParseWidth:"any"}),dayPeriod:s2({matchPatterns:jSe,defaultMatchWidth:"any",parsePatterns:PSe,defaultParseWidth:"any"})},vG={code:"en-US",formatDistance:cSe,formatLong:uSe,formatRelative:pSe,localize:xSe,match:OSe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function DSe(e){const t=at(e);return ir(t,yG(t))+1}function kG(e){const t=at(e),a=+q1(t)-+eSe(t);return Math.round(a/OP)+1}function gG(e,t){var k,m,x,S;const a=at(e),o=a.getFullYear(),i=R2(),s=(t==null?void 0:t.firstWeekContainsDate)??((m=(k=t==null?void 0:t.locale)==null?void 0:k.options)==null?void 0:m.firstWeekContainsDate)??i.firstWeekContainsDate??((S=(x=i.locale)==null?void 0:x.options)==null?void 0:S.firstWeekContainsDate)??1,l=Xn(e,0);l.setFullYear(o+1,0,s),l.setHours(0,0,0,0);const h=hr(l,t),f=Xn(e,0);f.setFullYear(o,0,s),f.setHours(0,0,0,0);const y=hr(f,t);return a.getTime()>=h.getTime()?o+1:a.getTime()>=y.getTime()?o:o-1}function zSe(e,t){var h,f,y,k;const a=R2(),o=(t==null?void 0:t.firstWeekContainsDate)??((f=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:f.firstWeekContainsDate)??a.firstWeekContainsDate??((k=(y=a.locale)==null?void 0:y.options)==null?void 0:k.firstWeekContainsDate)??1,i=gG(e,t),s=Xn(e,0);return s.setFullYear(i,0,o),s.setHours(0,0,0,0),hr(s,t)}function MG(e,t){const a=at(e),o=+hr(a,t)-+zSe(a,t);return Math.round(o/OP)+1}function ft(e,t){const a=e<0?"-":"",o=Math.abs(e).toString().padStart(t,"0");return a+o}const yi={y(e,t){const a=e.getFullYear(),o=a>0?a:1-a;return ft(t==="yy"?o%100:o,t.length)},M(e,t){const a=e.getMonth();return t==="M"?String(a+1):ft(a+1,2)},d(e,t){return ft(e.getDate(),t.length)},a(e,t){const a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h(e,t){return ft(e.getHours()%12||12,t.length)},H(e,t){return ft(e.getHours(),t.length)},m(e,t){return ft(e.getMinutes(),t.length)},s(e,t){return ft(e.getSeconds(),t.length)},S(e,t){const a=t.length,o=e.getMilliseconds(),i=Math.trunc(o*Math.pow(10,a-3));return ft(i,t.length)}},$d={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},PB={G:function(e,t,a){const o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return a.era(o,{width:"abbreviated"});case"GGGGG":return a.era(o,{width:"narrow"});case"GGGG":default:return a.era(o,{width:"wide"})}},y:function(e,t,a){if(t==="yo"){const o=e.getFullYear(),i=o>0?o:1-o;return a.ordinalNumber(i,{unit:"year"})}return yi.y(e,t)},Y:function(e,t,a,o){const i=gG(e,o),s=i>0?i:1-i;if(t==="YY"){const l=s%100;return ft(l,2)}return t==="Yo"?a.ordinalNumber(s,{unit:"year"}):ft(s,t.length)},R:function(e,t){const a=fG(e);return ft(a,t.length)},u:function(e,t){const a=e.getFullYear();return ft(a,t.length)},Q:function(e,t,a){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return ft(o,2);case"Qo":return a.ordinalNumber(o,{unit:"quarter"});case"QQQ":return a.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,a){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return ft(o,2);case"qo":return a.ordinalNumber(o,{unit:"quarter"});case"qqq":return a.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,a){const o=e.getMonth();switch(t){case"M":case"MM":return yi.M(e,t);case"Mo":return a.ordinalNumber(o+1,{unit:"month"});case"MMM":return a.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,a){const o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return ft(o+1,2);case"Lo":return a.ordinalNumber(o+1,{unit:"month"});case"LLL":return a.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,a,o){const i=MG(e,o);return t==="wo"?a.ordinalNumber(i,{unit:"week"}):ft(i,t.length)},I:function(e,t,a){const o=kG(e);return t==="Io"?a.ordinalNumber(o,{unit:"week"}):ft(o,t.length)},d:function(e,t,a){return t==="do"?a.ordinalNumber(e.getDate(),{unit:"date"}):yi.d(e,t)},D:function(e,t,a){const o=DSe(e);return t==="Do"?a.ordinalNumber(o,{unit:"dayOfYear"}):ft(o,t.length)},E:function(e,t,a){const o=e.getDay();switch(t){case"E":case"EE":case"EEE":return a.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(o,{width:"short",context:"formatting"});case"EEEE":default:return a.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,a,o){const i=e.getDay(),s=(i-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return ft(s,2);case"eo":return a.ordinalNumber(s,{unit:"day"});case"eee":return a.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(i,{width:"short",context:"formatting"});case"eeee":default:return a.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,a,o){const i=e.getDay(),s=(i-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return ft(s,t.length);case"co":return a.ordinalNumber(s,{unit:"day"});case"ccc":return a.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(i,{width:"narrow",context:"standalone"});case"cccccc":return a.day(i,{width:"short",context:"standalone"});case"cccc":default:return a.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,a){const o=e.getDay(),i=o===0?7:o;switch(t){case"i":return String(i);case"ii":return ft(i,t.length);case"io":return a.ordinalNumber(i,{unit:"day"});case"iii":return a.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(o,{width:"short",context:"formatting"});case"iiii":default:return a.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,a){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,a){const o=e.getHours();let i;switch(o===12?i=$d.noon:o===0?i=$d.midnight:i=o/12>=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,a){const o=e.getHours();let i;switch(o>=17?i=$d.evening:o>=12?i=$d.afternoon:o>=4?i=$d.morning:i=$d.night,t){case"B":case"BB":case"BBB":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,a){if(t==="ho"){let o=e.getHours()%12;return o===0&&(o=12),a.ordinalNumber(o,{unit:"hour"})}return yi.h(e,t)},H:function(e,t,a){return t==="Ho"?a.ordinalNumber(e.getHours(),{unit:"hour"}):yi.H(e,t)},K:function(e,t,a){const o=e.getHours()%12;return t==="Ko"?a.ordinalNumber(o,{unit:"hour"}):ft(o,t.length)},k:function(e,t,a){let o=e.getHours();return o===0&&(o=24),t==="ko"?a.ordinalNumber(o,{unit:"hour"}):ft(o,t.length)},m:function(e,t,a){return t==="mo"?a.ordinalNumber(e.getMinutes(),{unit:"minute"}):yi.m(e,t)},s:function(e,t,a){return t==="so"?a.ordinalNumber(e.getSeconds(),{unit:"second"}):yi.s(e,t)},S:function(e,t){return yi.S(e,t)},X:function(e,t,a){const o=e.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return DB(o);case"XXXX":case"XX":return R1(o);case"XXXXX":case"XXX":default:return R1(o,":")}},x:function(e,t,a){const o=e.getTimezoneOffset();switch(t){case"x":return DB(o);case"xxxx":case"xx":return R1(o);case"xxxxx":case"xxx":default:return R1(o,":")}},O:function(e,t,a){const o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+OB(o,":");case"OOOO":default:return"GMT"+R1(o,":")}},z:function(e,t,a){const o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+OB(o,":");case"zzzz":default:return"GMT"+R1(o,":")}},t:function(e,t,a){const o=Math.trunc(e.getTime()/1e3);return ft(o,t.length)},T:function(e,t,a){const o=e.getTime();return ft(o,t.length)}};function OB(e,t=""){const a=e>0?"-":"+",o=Math.abs(e),i=Math.trunc(o/60),s=o%60;return s===0?a+String(i):a+String(i)+t+ft(s,2)}function DB(e,t){return e%60===0?(e>0?"-":"+")+ft(Math.abs(e)/60,2):R1(e,t)}function R1(e,t=""){const a=e>0?"-":"+",o=Math.abs(e),i=ft(Math.trunc(o/60),2),s=ft(o%60,2);return a+i+t+s}const zB=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},xG=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},qSe=(e,t)=>{const a=e.match(/(P+)(p+)?/)||[],o=a[1],i=a[2];if(!i)return zB(e,t);let s;switch(o){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;case"PPPP":default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",zB(o,t)).replace("{{time}}",xG(i,t))},HSe={p:xG,P:qSe},VSe=/^D+$/,BSe=/^Y+$/,FSe=["D","DD","YY","YYYY"];function USe(e){return VSe.test(e)}function GSe(e){return BSe.test(e)}function WSe(e,t,a){const o=ZSe(e,t,a);if(console.warn(o),FSe.includes(e))throw new RangeError(o)}function ZSe(e,t,a){const o=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const XSe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,KSe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,YSe=/^'([^]*?)'?$/,QSe=/''/g,JSe=/[a-zA-Z]/;function W1(e,t,a){var k,m,x,S,b,w,_,N;const o=R2(),i=(a==null?void 0:a.locale)??o.locale??vG,s=(a==null?void 0:a.firstWeekContainsDate)??((m=(k=a==null?void 0:a.locale)==null?void 0:k.options)==null?void 0:m.firstWeekContainsDate)??o.firstWeekContainsDate??((S=(x=o.locale)==null?void 0:x.options)==null?void 0:S.firstWeekContainsDate)??1,l=(a==null?void 0:a.weekStartsOn)??((w=(b=a==null?void 0:a.locale)==null?void 0:b.options)==null?void 0:w.weekStartsOn)??o.weekStartsOn??((N=(_=o.locale)==null?void 0:_.options)==null?void 0:N.weekStartsOn)??0,h=at(e);if(!oSe(h))throw new RangeError("Invalid time value");let f=t.match(KSe).map(L=>{const I=L[0];if(I==="p"||I==="P"){const P=HSe[I];return P(L,i.formatLong)}return L}).join("").match(XSe).map(L=>{if(L==="''")return{isToken:!1,value:"'"};const I=L[0];if(I==="'")return{isToken:!1,value:eCe(L)};if(PB[I])return{isToken:!0,value:L};if(I.match(JSe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+I+"`");return{isToken:!1,value:L}});i.localize.preprocessor&&(f=i.localize.preprocessor(h,f));const y={firstWeekContainsDate:s,weekStartsOn:l,locale:i};return f.map(L=>{if(!L.isToken)return L.value;const I=L.value;(!(a!=null&&a.useAdditionalWeekYearTokens)&&GSe(I)||!(a!=null&&a.useAdditionalDayOfYearTokens)&&USe(I))&&WSe(I,t,String(e));const P=PB[I[0]];return P(h,I,i.localize,y)}).join("")}function eCe(e){const t=e.match(YSe);return t?t[1].replace(QSe,"'"):e}function tCe(e){const t=at(e),a=t.getFullYear(),o=t.getMonth(),i=Xn(e,0);return i.setFullYear(a,o+1,0),i.setHours(0,0,0,0),i.getDate()}function nCe(e){return Math.trunc(+at(e)/1e3)}function aCe(e){const t=at(e),a=t.getMonth();return t.setFullYear(t.getFullYear(),a+1,0),t.setHours(0,0,0,0),t}function oCe(e,t){return rSe(aCe(e),$n(e),t)+1}function Xj(e,t){const a=at(e),o=at(t);return a.getTime()>o.getTime()}function bG(e,t){const a=at(e),o=at(t);return+a<+o}function HP(e,t){const a=at(e),o=at(t);return a.getFullYear()===o.getFullYear()&&a.getMonth()===o.getMonth()}function rCe(e,t){const a=at(e),o=at(t);return a.getFullYear()===o.getFullYear()}function hj(e,t){return gn(e,-t)}function pj(e,t){const a=at(e),o=a.getFullYear(),i=a.getDate(),s=Xn(e,0);s.setFullYear(o,t,15),s.setHours(0,0,0,0);const l=tCe(s);return a.setMonth(t,Math.min(i,l)),a}function qB(e,t){const a=at(e);return isNaN(+a)?Xn(e,NaN):(a.setFullYear(t),a)}var je=function(){return je=Object.assign||function(t){for(var a,o=1,i=arguments.length;o<i;o++){a=arguments[o];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(t[s]=a[s])}return t},je.apply(this,arguments)};function iCe(e,t){var a={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(a[o[i]]=e[o[i]]);return a}function wG(e,t,a){for(var o=0,i=t.length,s;o<i;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}function $2(e){return e.mode==="multiple"}function j2(e){return e.mode==="range"}function xA(e){return e.mode==="single"}var cCe={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function sCe(e,t){return W1(e,"LLLL y",t)}function lCe(e,t){return W1(e,"d",t)}function dCe(e,t){return W1(e,"LLLL",t)}function uCe(e){return"".concat(e)}function hCe(e,t){return W1(e,"cccccc",t)}function pCe(e,t){return W1(e,"yyyy",t)}var fCe=Object.freeze({__proto__:null,formatCaption:sCe,formatDay:lCe,formatMonthCaption:dCe,formatWeekNumber:uCe,formatWeekdayName:hCe,formatYearCaption:pCe}),yCe=function(e,t,a){return W1(e,"do MMMM (EEEE)",a)},mCe=function(){return"Month: "},vCe=function(){return"Go to next month"},kCe=function(){return"Go to previous month"},gCe=function(e,t){return W1(e,"cccc",t)},MCe=function(e){return"Week n. ".concat(e)},xCe=function(){return"Year: "},bCe=Object.freeze({__proto__:null,labelDay:yCe,labelMonthDropdown:mCe,labelNext:vCe,labelPrevious:kCe,labelWeekNumber:MCe,labelWeekday:gCe,labelYearDropdown:xCe});function wCe(){var e="buttons",t=cCe,a=vG,o={},i={},s=1,l={},h=new Date;return{captionLayout:e,classNames:t,formatters:fCe,labels:bCe,locale:a,modifiersClassNames:o,modifiers:i,numberOfMonths:s,styles:l,today:h,mode:"default"}}function _Ce(e){var t=e.fromYear,a=e.toYear,o=e.fromMonth,i=e.toMonth,s=e.fromDate,l=e.toDate;return o?s=$n(o):t&&(s=new Date(t,0,1)),i?l=zP(i):a&&(l=new Date(a,11,31)),{fromDate:s?Gd(s):void 0,toDate:l?Gd(l):void 0}}var _G=p.createContext(void 0);function SCe(e){var t,a=e.initialProps,o=wCe(),i=_Ce(a),s=i.fromDate,l=i.toDate,h=(t=a.captionLayout)!==null&&t!==void 0?t:o.captionLayout;h!=="buttons"&&(!s||!l)&&(h="buttons");var f;(xA(a)||$2(a)||j2(a))&&(f=a.onSelect);var y=je(je(je({},o),a),{captionLayout:h,classNames:je(je({},o.classNames),a.classNames),components:je({},a.components),formatters:je(je({},o.formatters),a.formatters),fromDate:s,labels:je(je({},o.labels),a.labels),mode:a.mode||o.mode,modifiers:je(je({},o.modifiers),a.modifiers),modifiersClassNames:je(je({},o.modifiersClassNames),a.modifiersClassNames),onSelect:f,styles:je(je({},o.styles),a.styles),toDate:l});return M.jsx(_G.Provider,{value:y,children:e.children})}function bt(){var e=p.useContext(_G);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function SG(e){var t=bt(),a=t.locale,o=t.classNames,i=t.styles,s=t.formatters.formatCaption;return M.jsx("div",{className:o.caption_label,style:i.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:s(e.displayMonth,{locale:a})})}function CCe(e){return M.jsx("svg",je({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:M.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function CG(e){var t,a,o=e.onChange,i=e.value,s=e.children,l=e.caption,h=e.className,f=e.style,y=bt(),k=(a=(t=y.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&a!==void 0?a:CCe;return M.jsxs("div",{className:h,style:f,children:[M.jsx("span",{className:y.classNames.vhidden,children:e["aria-label"]}),M.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:y.classNames.dropdown,style:y.styles.dropdown,value:i,onChange:o,children:s}),M.jsxs("div",{className:y.classNames.caption_label,style:y.styles.caption_label,"aria-hidden":"true",children:[l,M.jsx(k,{className:y.classNames.dropdown_icon,style:y.styles.dropdown_icon})]})]})}function NCe(e){var t,a=bt(),o=a.fromDate,i=a.toDate,s=a.styles,l=a.locale,h=a.formatters.formatMonthCaption,f=a.classNames,y=a.components,k=a.labels.labelMonthDropdown;if(!o)return M.jsx(M.Fragment,{});if(!i)return M.jsx(M.Fragment,{});var m=[];if(rCe(o,i))for(var x=$n(o),S=o.getMonth();S<=i.getMonth();S++)m.push(pj(x,S));else for(var x=$n(new Date),S=0;S<=11;S++)m.push(pj(x,S));var b=function(_){var N=Number(_.target.value),L=pj($n(e.displayMonth),N);e.onChange(L)},w=(t=y==null?void 0:y.Dropdown)!==null&&t!==void 0?t:CG;return M.jsx(w,{name:"months","aria-label":k(),className:f.dropdown_month,style:s.dropdown_month,onChange:b,value:e.displayMonth.getMonth(),caption:h(e.displayMonth,{locale:l}),children:m.map(function(_){return M.jsx("option",{value:_.getMonth(),children:h(_,{locale:l})},_.getMonth())})})}function LCe(e){var t,a=e.displayMonth,o=bt(),i=o.fromDate,s=o.toDate,l=o.locale,h=o.styles,f=o.classNames,y=o.components,k=o.formatters.formatYearCaption,m=o.labels.labelYearDropdown,x=[];if(!i)return M.jsx(M.Fragment,{});if(!s)return M.jsx(M.Fragment,{});for(var S=i.getFullYear(),b=s.getFullYear(),w=S;w<=b;w++)x.push(qB(yG(new Date),w));var _=function(L){var I=qB($n(a),Number(L.target.value));e.onChange(I)},N=(t=y==null?void 0:y.Dropdown)!==null&&t!==void 0?t:CG;return M.jsx(N,{name:"years","aria-label":m(),className:f.dropdown_year,style:h.dropdown_year,onChange:_,value:a.getFullYear(),caption:k(a,{locale:l}),children:x.map(function(L){return M.jsx("option",{value:L.getFullYear(),children:k(L,{locale:l})},L.getFullYear())})})}function ECe(e,t){var a=p.useState(e),o=a[0],i=a[1],s=t===void 0?o:t;return[s,i]}function ICe(e){var t=e.month,a=e.defaultMonth,o=e.today,i=t||a||o||new Date,s=e.toDate,l=e.fromDate,h=e.numberOfMonths,f=h===void 0?1:h;if(s&&w2(s,i)<0){var y=-1*(f-1);i=ba(s,y)}return l&&w2(i,l)<0&&(i=l),$n(i)}function ACe(){var e=bt(),t=ICe(e),a=ECe(t,e.month),o=a[0],i=a[1],s=function(l){var h;if(!e.disableNavigation){var f=$n(l);i(f),(h=e.onMonthChange)===null||h===void 0||h.call(e,f)}};return[o,s]}function TCe(e,t){for(var a=t.reverseMonths,o=t.numberOfMonths,i=$n(e),s=$n(ba(i,o)),l=w2(s,i),h=[],f=0;f<l;f++){var y=ba(i,f);h.push(y)}return a&&(h=h.reverse()),h}function RCe(e,t){if(!t.disableNavigation){var a=t.toDate,o=t.pagedNavigation,i=t.numberOfMonths,s=i===void 0?1:i,l=o?s:1,h=$n(e);if(!a)return ba(h,l);var f=w2(a,e);if(!(f<s))return ba(h,l)}}function $Ce(e,t){if(!t.disableNavigation){var a=t.fromDate,o=t.pagedNavigation,i=t.numberOfMonths,s=i===void 0?1:i,l=o?s:1,h=$n(e);if(!a)return ba(h,-l);var f=w2(h,a);if(!(f<=0))return ba(h,-l)}}var NG=p.createContext(void 0);function jCe(e){var t=bt(),a=ACe(),o=a[0],i=a[1],s=TCe(o,t),l=RCe(o,t),h=$Ce(o,t),f=function(m){return s.some(function(x){return HP(m,x)})},y=function(m,x){f(m)||(x&&bG(m,x)?i(ba(m,1+t.numberOfMonths*-1)):i(m))},k={currentMonth:o,displayMonths:s,goToMonth:i,goToDate:y,previousMonth:h,nextMonth:l,isDateDisplayed:f};return M.jsx(NG.Provider,{value:k,children:e.children})}function P2(){var e=p.useContext(NG);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function HB(e){var t,a=bt(),o=a.classNames,i=a.styles,s=a.components,l=P2().goToMonth,h=function(k){l(ba(k,e.displayIndex?-e.displayIndex:0))},f=(t=s==null?void 0:s.CaptionLabel)!==null&&t!==void 0?t:SG,y=M.jsx(f,{id:e.id,displayMonth:e.displayMonth});return M.jsxs("div",{className:o.caption_dropdowns,style:i.caption_dropdowns,children:[M.jsx("div",{className:o.vhidden,children:y}),M.jsx(NCe,{onChange:h,displayMonth:e.displayMonth}),M.jsx(LCe,{onChange:h,displayMonth:e.displayMonth})]})}function PCe(e){return M.jsx("svg",je({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:M.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function OCe(e){return M.jsx("svg",je({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:M.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var eA=p.forwardRef(function(e,t){var a=bt(),o=a.classNames,i=a.styles,s=[o.button_reset,o.button];e.className&&s.push(e.className);var l=s.join(" "),h=je(je({},i.button_reset),i.button);return e.style&&Object.assign(h,e.style),M.jsx("button",je({},e,{ref:t,type:"button",className:l,style:h}))});function DCe(e){var t,a,o=bt(),i=o.dir,s=o.locale,l=o.classNames,h=o.styles,f=o.labels,y=f.labelPrevious,k=f.labelNext,m=o.components;if(!e.nextMonth&&!e.previousMonth)return M.jsx(M.Fragment,{});var x=y(e.previousMonth,{locale:s}),S=[l.nav_button,l.nav_button_previous].join(" "),b=k(e.nextMonth,{locale:s}),w=[l.nav_button,l.nav_button_next].join(" "),_=(t=m==null?void 0:m.IconRight)!==null&&t!==void 0?t:OCe,N=(a=m==null?void 0:m.IconLeft)!==null&&a!==void 0?a:PCe;return M.jsxs("div",{className:l.nav,style:h.nav,children:[!e.hidePrevious&&M.jsx(eA,{name:"previous-month","aria-label":x,className:S,style:h.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:i==="rtl"?M.jsx(_,{className:l.nav_icon,style:h.nav_icon}):M.jsx(N,{className:l.nav_icon,style:h.nav_icon})}),!e.hideNext&&M.jsx(eA,{name:"next-month","aria-label":b,className:w,style:h.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:i==="rtl"?M.jsx(N,{className:l.nav_icon,style:h.nav_icon}):M.jsx(_,{className:l.nav_icon,style:h.nav_icon})})]})}function VB(e){var t=bt().numberOfMonths,a=P2(),o=a.previousMonth,i=a.nextMonth,s=a.goToMonth,l=a.displayMonths,h=l.findIndex(function(b){return HP(e.displayMonth,b)}),f=h===0,y=h===l.length-1,k=t>1&&(f||!y),m=t>1&&(y||!f),x=function(){o&&s(o)},S=function(){i&&s(i)};return M.jsx(DCe,{displayMonth:e.displayMonth,hideNext:k,hidePrevious:m,nextMonth:i,previousMonth:o,onPreviousClick:x,onNextClick:S})}function zCe(e){var t,a=bt(),o=a.classNames,i=a.disableNavigation,s=a.styles,l=a.captionLayout,h=a.components,f=(t=h==null?void 0:h.CaptionLabel)!==null&&t!==void 0?t:SG,y;return i?y=M.jsx(f,{id:e.id,displayMonth:e.displayMonth}):l==="dropdown"?y=M.jsx(HB,{displayMonth:e.displayMonth,id:e.id}):l==="dropdown-buttons"?y=M.jsxs(M.Fragment,{children:[M.jsx(HB,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),M.jsx(VB,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):y=M.jsxs(M.Fragment,{children:[M.jsx(f,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),M.jsx(VB,{displayMonth:e.displayMonth,id:e.id})]}),M.jsx("div",{className:o.caption,style:s.caption,children:y})}function qCe(e){var t=bt(),a=t.footer,o=t.styles,i=t.classNames.tfoot;return a?M.jsx("tfoot",{className:i,style:o.tfoot,children:M.jsx("tr",{children:M.jsx("td",{colSpan:8,children:a})})}):M.jsx(M.Fragment,{})}function HCe(e,t,a){for(var o=a?q1(new Date):hr(new Date,{locale:e,weekStartsOn:t}),i=[],s=0;s<7;s++){var l=gn(o,s);i.push(l)}return i}function VCe(){var e=bt(),t=e.classNames,a=e.styles,o=e.showWeekNumber,i=e.locale,s=e.weekStartsOn,l=e.ISOWeek,h=e.formatters.formatWeekdayName,f=e.labels.labelWeekday,y=HCe(i,s,l);return M.jsxs("tr",{style:a.head_row,className:t.head_row,children:[o&&M.jsx("td",{style:a.head_cell,className:t.head_cell}),y.map(function(k,m){return M.jsx("th",{scope:"col",className:t.head_cell,style:a.head_cell,"aria-label":f(k,{locale:i}),children:h(k,{locale:i})},m)})]})}function BCe(){var e,t=bt(),a=t.classNames,o=t.styles,i=t.components,s=(e=i==null?void 0:i.HeadRow)!==null&&e!==void 0?e:VCe;return M.jsx("thead",{style:o.head,className:a.head,children:M.jsx(s,{})})}function FCe(e){var t=bt(),a=t.locale,o=t.formatters.formatDay;return M.jsx(M.Fragment,{children:o(e.date,{locale:a})})}var VP=p.createContext(void 0);function UCe(e){if(!$2(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return M.jsx(VP.Provider,{value:t,children:e.children})}return M.jsx(GCe,{initialProps:e.initialProps,children:e.children})}function GCe(e){var t=e.initialProps,a=e.children,o=t.selected,i=t.min,s=t.max,l=function(y,k,m){var x,S;(x=t.onDayClick)===null||x===void 0||x.call(t,y,k,m);var b=!!(k.selected&&i&&(o==null?void 0:o.length)===i);if(!b){var w=!!(!k.selected&&s&&(o==null?void 0:o.length)===s);if(!w){var _=o?wG([],o):[];if(k.selected){var N=_.findIndex(function(L){return An(y,L)});_.splice(N,1)}else _.push(y);(S=t.onSelect)===null||S===void 0||S.call(t,_,y,k,m)}}},h={disabled:[]};o&&h.disabled.push(function(y){var k=s&&o.length>s-1,m=o.some(function(x){return An(x,y)});return!!(k&&!m)});var f={selected:o,onDayClick:l,modifiers:h};return M.jsx(VP.Provider,{value:f,children:a})}function BP(){var e=p.useContext(VP);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function WCe(e,t){var a=t||{},o=a.from,i=a.to;return o&&i?An(i,e)&&An(o,e)?void 0:An(i,e)?{from:i,to:void 0}:An(o,e)?void 0:Xj(o,e)?{from:e,to:i}:{from:o,to:e}:i?Xj(e,i)?{from:i,to:e}:{from:e,to:i}:o?bG(e,o)?{from:e,to:o}:{from:o,to:e}:{from:e,to:void 0}}var FP=p.createContext(void 0);function ZCe(e){if(!j2(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return M.jsx(FP.Provider,{value:t,children:e.children})}return M.jsx(XCe,{initialProps:e.initialProps,children:e.children})}function XCe(e){var t=e.initialProps,a=e.children,o=t.selected,i=o||{},s=i.from,l=i.to,h=t.min,f=t.max,y=function(S,b,w){var _,N;(_=t.onDayClick)===null||_===void 0||_.call(t,S,b,w);var L=WCe(S,o);(N=t.onSelect)===null||N===void 0||N.call(t,L,S,b,w)},k={range_start:[],range_end:[],range_middle:[],disabled:[]};if(s?(k.range_start=[s],l?(k.range_end=[l],An(s,l)||(k.range_middle=[{after:s,before:l}])):k.range_end=[s]):l&&(k.range_start=[l],k.range_end=[l]),h&&(s&&!l&&k.disabled.push({after:hj(s,h-1),before:gn(s,h-1)}),s&&l&&k.disabled.push({after:s,before:gn(s,h-1)}),!s&&l&&k.disabled.push({after:hj(l,h-1),before:gn(l,h-1)})),f){if(s&&!l&&(k.disabled.push({before:gn(s,-f+1)}),k.disabled.push({after:gn(s,f-1)})),s&&l){var m=ir(l,s)+1,x=f-m;k.disabled.push({before:hj(s,x)}),k.disabled.push({after:gn(l,x)})}!s&&l&&(k.disabled.push({before:gn(l,-f+1)}),k.disabled.push({after:gn(l,f-1)}))}return M.jsx(FP.Provider,{value:{selected:o,onDayClick:y,modifiers:k},children:a})}function UP(){var e=p.useContext(FP);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function zI(e){return Array.isArray(e)?wG([],e):e!==void 0?[e]:[]}function KCe(e){var t={};return Object.entries(e).forEach(function(a){var o=a[0],i=a[1];t[o]=zI(i)}),t}var wa;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(wa||(wa={}));var YCe=wa.Selected,Pr=wa.Disabled,QCe=wa.Hidden,JCe=wa.Today,fj=wa.RangeEnd,yj=wa.RangeMiddle,mj=wa.RangeStart,eNe=wa.Outside;function tNe(e,t,a){var o,i=(o={},o[YCe]=zI(e.selected),o[Pr]=zI(e.disabled),o[QCe]=zI(e.hidden),o[JCe]=[e.today],o[fj]=[],o[yj]=[],o[mj]=[],o[eNe]=[],o);return e.fromDate&&i[Pr].push({before:e.fromDate}),e.toDate&&i[Pr].push({after:e.toDate}),$2(e)?i[Pr]=i[Pr].concat(t.modifiers[Pr]):j2(e)&&(i[Pr]=i[Pr].concat(a.modifiers[Pr]),i[mj]=a.modifiers[mj],i[yj]=a.modifiers[yj],i[fj]=a.modifiers[fj]),i}var LG=p.createContext(void 0);function nNe(e){var t=bt(),a=BP(),o=UP(),i=tNe(t,a,o),s=KCe(t.modifiers),l=je(je({},i),s);return M.jsx(LG.Provider,{value:l,children:e.children})}function EG(){var e=p.useContext(LG);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function aNe(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function oNe(e){return!!(e&&typeof e=="object"&&"from"in e)}function rNe(e){return!!(e&&typeof e=="object"&&"after"in e)}function iNe(e){return!!(e&&typeof e=="object"&&"before"in e)}function cNe(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function sNe(e,t){var a,o=t.from,i=t.to;if(o&&i){var s=ir(i,o)<0;s&&(a=[i,o],o=a[0],i=a[1]);var l=ir(e,o)>=0&&ir(i,e)>=0;return l}return i?An(i,e):o?An(o,e):!1}function lNe(e){return DP(e)}function dNe(e){return Array.isArray(e)&&e.every(DP)}function uNe(e,t){return t.some(function(a){if(typeof a=="boolean")return a;if(lNe(a))return An(e,a);if(dNe(a))return a.includes(e);if(oNe(a))return sNe(e,a);if(cNe(a))return a.dayOfWeek.includes(e.getDay());if(aNe(a)){var o=ir(a.before,e),i=ir(a.after,e),s=o>0,l=i<0,h=Xj(a.before,a.after);return h?l&&s:s||l}return rNe(a)?ir(e,a.after)>0:iNe(a)?ir(a.before,e)>0:typeof a=="function"?a(e):!1})}function GP(e,t,a){var o=Object.keys(t).reduce(function(s,l){var h=t[l];return uNe(e,h)&&s.push(l),s},[]),i={};return o.forEach(function(s){return i[s]=!0}),a&&!HP(e,a)&&(i.outside=!0),i}function hNe(e,t){for(var a=$n(e[0]),o=zP(e[e.length-1]),i,s,l=a;l<=o;){var h=GP(l,t),f=!h.disabled&&!h.hidden;if(!f){l=gn(l,1);continue}if(h.selected)return l;h.today&&!s&&(s=l),i||(i=l),l=gn(l,1)}return s||i}var pNe=365;function IG(e,t){var a=t.moveBy,o=t.direction,i=t.context,s=t.modifiers,l=t.retry,h=l===void 0?{count:0,lastFocused:e}:l,f=i.weekStartsOn,y=i.fromDate,k=i.toDate,m=i.locale,x={day:gn,week:Zj,month:ba,year:tSe,startOfWeek:function(_){return i.ISOWeek?q1(_):hr(_,{locale:m,weekStartsOn:f})},endOfWeek:function(_){return i.ISOWeek?mG(_):qP(_,{locale:m,weekStartsOn:f})}},S=x[a](e,o==="after"?1:-1);o==="before"&&y?S=nSe([y,S]):o==="after"&&k&&(S=aSe([k,S]));var b=!0;if(s){var w=GP(S,s);b=!w.disabled&&!w.hidden}return b?S:h.count>pNe?h.lastFocused:IG(S,{moveBy:a,direction:o,context:i,modifiers:s,retry:je(je({},h),{count:h.count+1})})}var AG=p.createContext(void 0);function fNe(e){var t=P2(),a=EG(),o=p.useState(),i=o[0],s=o[1],l=p.useState(),h=l[0],f=l[1],y=hNe(t.displayMonths,a),k=i??(h&&t.isDateDisplayed(h))?h:y,m=function(){f(i),s(void 0)},x=function(_){s(_)},S=bt(),b=function(_,N){if(i){var L=IG(i,{moveBy:_,direction:N,context:S,modifiers:a});An(i,L)||(t.goToDate(L,i),x(L))}},w={focusedDay:i,focusTarget:k,blur:m,focus:x,focusDayAfter:function(){return b("day","after")},focusDayBefore:function(){return b("day","before")},focusWeekAfter:function(){return b("week","after")},focusWeekBefore:function(){return b("week","before")},focusMonthBefore:function(){return b("month","before")},focusMonthAfter:function(){return b("month","after")},focusYearBefore:function(){return b("year","before")},focusYearAfter:function(){return b("year","after")},focusStartOfWeek:function(){return b("startOfWeek","before")},focusEndOfWeek:function(){return b("endOfWeek","after")}};return M.jsx(AG.Provider,{value:w,children:e.children})}function WP(){var e=p.useContext(AG);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function yNe(e,t){var a=EG(),o=GP(e,a,t);return o}var ZP=p.createContext(void 0);function mNe(e){if(!xA(e.initialProps)){var t={selected:void 0};return M.jsx(ZP.Provider,{value:t,children:e.children})}return M.jsx(vNe,{initialProps:e.initialProps,children:e.children})}function vNe(e){var t=e.initialProps,a=e.children,o=function(s,l,h){var f,y,k;if((f=t.onDayClick)===null||f===void 0||f.call(t,s,l,h),l.selected&&!t.required){(y=t.onSelect)===null||y===void 0||y.call(t,void 0,s,l,h);return}(k=t.onSelect)===null||k===void 0||k.call(t,s,s,l,h)},i={selected:t.selected,onDayClick:o};return M.jsx(ZP.Provider,{value:i,children:a})}function TG(){var e=p.useContext(ZP);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function kNe(e,t){var a=bt(),o=TG(),i=BP(),s=UP(),l=WP(),h=l.focusDayAfter,f=l.focusDayBefore,y=l.focusWeekAfter,k=l.focusWeekBefore,m=l.blur,x=l.focus,S=l.focusMonthBefore,b=l.focusMonthAfter,w=l.focusYearBefore,_=l.focusYearAfter,N=l.focusStartOfWeek,L=l.focusEndOfWeek,I=function(O){var R,G,K,Me;xA(a)?(R=o.onDayClick)===null||R===void 0||R.call(o,e,t,O):$2(a)?(G=i.onDayClick)===null||G===void 0||G.call(i,e,t,O):j2(a)?(K=s.onDayClick)===null||K===void 0||K.call(s,e,t,O):(Me=a.onDayClick)===null||Me===void 0||Me.call(a,e,t,O)},P=function(O){var R;x(e),(R=a.onDayFocus)===null||R===void 0||R.call(a,e,t,O)},D=function(O){var R;m(),(R=a.onDayBlur)===null||R===void 0||R.call(a,e,t,O)},j=function(O){var R;(R=a.onDayMouseEnter)===null||R===void 0||R.call(a,e,t,O)},A=function(O){var R;(R=a.onDayMouseLeave)===null||R===void 0||R.call(a,e,t,O)},$=function(O){var R;(R=a.onDayPointerEnter)===null||R===void 0||R.call(a,e,t,O)},B=function(O){var R;(R=a.onDayPointerLeave)===null||R===void 0||R.call(a,e,t,O)},Z=function(O){var R;(R=a.onDayTouchCancel)===null||R===void 0||R.call(a,e,t,O)},q=function(O){var R;(R=a.onDayTouchEnd)===null||R===void 0||R.call(a,e,t,O)},V=function(O){var R;(R=a.onDayTouchMove)===null||R===void 0||R.call(a,e,t,O)},F=function(O){var R;(R=a.onDayTouchStart)===null||R===void 0||R.call(a,e,t,O)},J=function(O){var R;(R=a.onDayKeyUp)===null||R===void 0||R.call(a,e,t,O)},oe=function(O){var R;switch(O.key){case"ArrowLeft":O.preventDefault(),O.stopPropagation(),a.dir==="rtl"?h():f();break;case"ArrowRight":O.preventDefault(),O.stopPropagation(),a.dir==="rtl"?f():h();break;case"ArrowDown":O.preventDefault(),O.stopPropagation(),y();break;case"ArrowUp":O.preventDefault(),O.stopPropagation(),k();break;case"PageUp":O.preventDefault(),O.stopPropagation(),O.shiftKey?w():S();break;case"PageDown":O.preventDefault(),O.stopPropagation(),O.shiftKey?_():b();break;case"Home":O.preventDefault(),O.stopPropagation(),N();break;case"End":O.preventDefault(),O.stopPropagation(),L();break}(R=a.onDayKeyDown)===null||R===void 0||R.call(a,e,t,O)},T={onClick:I,onFocus:P,onBlur:D,onKeyDown:oe,onKeyUp:J,onMouseEnter:j,onMouseLeave:A,onPointerEnter:$,onPointerLeave:B,onTouchCancel:Z,onTouchEnd:q,onTouchMove:V,onTouchStart:F};return T}function gNe(){var e=bt(),t=TG(),a=BP(),o=UP(),i=xA(e)?t.selected:$2(e)?a.selected:j2(e)?o.selected:void 0;return i}function MNe(e){return Object.values(wa).includes(e)}function xNe(e,t){var a=[e.classNames.day];return Object.keys(t).forEach(function(o){var i=e.modifiersClassNames[o];if(i)a.push(i);else if(MNe(o)){var s=e.classNames["day_".concat(o)];s&&a.push(s)}}),a}function bNe(e,t){var a=je({},e.styles.day);return Object.keys(t).forEach(function(o){var i;a=je(je({},a),(i=e.modifiersStyles)===null||i===void 0?void 0:i[o])}),a}function wNe(e,t,a){var o,i,s,l=bt(),h=WP(),f=yNe(e,t),y=kNe(e,f),k=gNe(),m=!!(l.onDayClick||l.mode!=="default");p.useEffect(function(){var j;f.outside||h.focusedDay&&m&&An(h.focusedDay,e)&&((j=a.current)===null||j===void 0||j.focus())},[h.focusedDay,e,a,m,f.outside]);var x=xNe(l,f).join(" "),S=bNe(l,f),b=!!(f.outside&&!l.showOutsideDays||f.hidden),w=(s=(i=l.components)===null||i===void 0?void 0:i.DayContent)!==null&&s!==void 0?s:FCe,_=M.jsx(w,{date:e,displayMonth:t,activeModifiers:f}),N={style:S,className:x,children:_,role:"gridcell"},L=h.focusTarget&&An(h.focusTarget,e)&&!f.outside,I=h.focusedDay&&An(h.focusedDay,e),P=je(je(je({},N),(o={disabled:f.disabled,role:"gridcell"},o["aria-selected"]=f.selected,o.tabIndex=I||L?0:-1,o)),y),D={isButton:m,isHidden:b,activeModifiers:f,selectedDays:k,buttonProps:P,divProps:N};return D}function _Ne(e){var t=p.useRef(null),a=wNe(e.date,e.displayMonth,t);return a.isHidden?M.jsx("div",{role:"gridcell"}):a.isButton?M.jsx(eA,je({name:"day",ref:t},a.buttonProps)):M.jsx("div",je({},a.divProps))}function SNe(e){var t=e.number,a=e.dates,o=bt(),i=o.onWeekNumberClick,s=o.styles,l=o.classNames,h=o.locale,f=o.labels.labelWeekNumber,y=o.formatters.formatWeekNumber,k=y(Number(t),{locale:h});if(!i)return M.jsx("span",{className:l.weeknumber,style:s.weeknumber,children:k});var m=f(Number(t),{locale:h}),x=function(S){i(t,a,S)};return M.jsx(eA,{name:"week-number","aria-label":m,className:l.weeknumber,style:s.weeknumber,onClick:x,children:k})}function CNe(e){var t,a,o=bt(),i=o.styles,s=o.classNames,l=o.showWeekNumber,h=o.components,f=(t=h==null?void 0:h.Day)!==null&&t!==void 0?t:_Ne,y=(a=h==null?void 0:h.WeekNumber)!==null&&a!==void 0?a:SNe,k;return l&&(k=M.jsx("td",{className:s.cell,style:i.cell,children:M.jsx(y,{number:e.weekNumber,dates:e.dates})})),M.jsxs("tr",{className:s.row,style:i.row,children:[k,e.dates.map(function(m){return M.jsx("td",{className:s.cell,style:i.cell,role:"presentation",children:M.jsx(f,{displayMonth:e.displayMonth,date:m})},nCe(m))})]})}function BB(e,t,a){for(var o=a!=null&&a.ISOWeek?mG(t):qP(t,a),i=a!=null&&a.ISOWeek?q1(e):hr(e,a),s=ir(o,i),l=[],h=0;h<=s;h++)l.push(gn(i,h));var f=l.reduce(function(y,k){var m=a!=null&&a.ISOWeek?kG(k):MG(k,a),x=y.find(function(S){return S.weekNumber===m});return x?(x.dates.push(k),y):(y.push({weekNumber:m,dates:[k]}),y)},[]);return f}function NNe(e,t){var a=BB($n(e),zP(e),t);if(t!=null&&t.useFixedWeeks){var o=oCe(e,t);if(o<6){var i=a[a.length-1],s=i.dates[i.dates.length-1],l=Zj(s,6-o),h=BB(Zj(s,1),l,t);a.push.apply(a,h)}}return a}function LNe(e){var t,a,o,i=bt(),s=i.locale,l=i.classNames,h=i.styles,f=i.hideHead,y=i.fixedWeeks,k=i.components,m=i.weekStartsOn,x=i.firstWeekContainsDate,S=i.ISOWeek,b=NNe(e.displayMonth,{useFixedWeeks:!!y,ISOWeek:S,locale:s,weekStartsOn:m,firstWeekContainsDate:x}),w=(t=k==null?void 0:k.Head)!==null&&t!==void 0?t:BCe,_=(a=k==null?void 0:k.Row)!==null&&a!==void 0?a:CNe,N=(o=k==null?void 0:k.Footer)!==null&&o!==void 0?o:qCe;return M.jsxs("table",{id:e.id,className:l.table,style:h.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!f&&M.jsx(w,{}),M.jsx("tbody",{className:l.tbody,style:h.tbody,children:b.map(function(L){return M.jsx(_,{displayMonth:e.displayMonth,dates:L.dates,weekNumber:L.weekNumber},L.weekNumber)})}),M.jsx(N,{displayMonth:e.displayMonth})]})}function ENe(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var INe=ENe()?p.useLayoutEffect:p.useEffect,vj=!1,ANe=0;function FB(){return"react-day-picker-".concat(++ANe)}function TNe(e){var t,a=e??(vj?FB():null),o=p.useState(a),i=o[0],s=o[1];return INe(function(){i===null&&s(FB())},[]),p.useEffect(function(){vj===!1&&(vj=!0)},[]),(t=e??i)!==null&&t!==void 0?t:void 0}function RNe(e){var t,a,o=bt(),i=o.dir,s=o.classNames,l=o.styles,h=o.components,f=P2().displayMonths,y=TNe(o.id?"".concat(o.id,"-").concat(e.displayIndex):void 0),k=o.id?"".concat(o.id,"-grid-").concat(e.displayIndex):void 0,m=[s.month],x=l.month,S=e.displayIndex===0,b=e.displayIndex===f.length-1,w=!S&&!b;i==="rtl"&&(t=[S,b],b=t[0],S=t[1]),S&&(m.push(s.caption_start),x=je(je({},x),l.caption_start)),b&&(m.push(s.caption_end),x=je(je({},x),l.caption_end)),w&&(m.push(s.caption_between),x=je(je({},x),l.caption_between));var _=(a=h==null?void 0:h.Caption)!==null&&a!==void 0?a:zCe;return M.jsxs("div",{className:m.join(" "),style:x,children:[M.jsx(_,{id:y,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),M.jsx(LNe,{id:k,"aria-labelledby":y,displayMonth:e.displayMonth})]},e.displayIndex)}function $Ne(e){var t=bt(),a=t.classNames,o=t.styles;return M.jsx("div",{className:a.months,style:o.months,children:e.children})}function jNe(e){var t,a,o=e.initialProps,i=bt(),s=WP(),l=P2(),h=p.useState(!1),f=h[0],y=h[1];p.useEffect(function(){i.initialFocus&&s.focusTarget&&(f||(s.focus(s.focusTarget),y(!0)))},[i.initialFocus,f,s.focus,s.focusTarget,s]);var k=[i.classNames.root,i.className];i.numberOfMonths>1&&k.push(i.classNames.multiple_months),i.showWeekNumber&&k.push(i.classNames.with_weeknumber);var m=je(je({},i.styles.root),i.style),x=Object.keys(o).filter(function(b){return b.startsWith("data-")}).reduce(function(b,w){var _;return je(je({},b),(_={},_[w]=o[w],_))},{}),S=(a=(t=o.components)===null||t===void 0?void 0:t.Months)!==null&&a!==void 0?a:$Ne;return M.jsx("div",je({className:k.join(" "),style:m,dir:i.dir,id:i.id,nonce:o.nonce,title:o.title,lang:o.lang},x,{children:M.jsx(S,{children:l.displayMonths.map(function(b,w){return M.jsx(RNe,{displayIndex:w,displayMonth:b},w)})})}))}function PNe(e){var t=e.children,a=iCe(e,["children"]);return M.jsx(SCe,{initialProps:a,children:M.jsx(jCe,{children:M.jsx(mNe,{initialProps:a,children:M.jsx(UCe,{initialProps:a,children:M.jsx(ZCe,{initialProps:a,children:M.jsx(nNe,{children:M.jsx(fNe,{children:t})})})})})})})}function ONe(e){return M.jsx(PNe,je({},e,{children:M.jsx(jNe,{initialProps:e})}))}function DNe({className:e,classNames:t,showOutsideDays:a=!0,...o}){return M.jsx(ONe,{showOutsideDays:a,className:ee("p-3",e),classNames:{months:"flex flex-col sm:flex-row gap-2",month:"flex flex-col gap-4",caption:"flex justify-center pt-1 relative items-center w-full",caption_label:"text-sm font-medium",nav:"flex items-center gap-1",nav_button:ee(QI({variant:"outline"}),"size-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-x-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:ee("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-range-end)]:rounded-r-md",o.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:ee(QI({variant:"ghost"}),"size-8 p-0 font-normal aria-selected:opacity-100 cursor-pointer"),day_range_start:"day-range-start aria-selected:bg-primary aria-selected:text-primary-foreground",day_range_end:"day-range-end aria-selected:bg-primary aria-selected:text-primary-foreground",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},components:{IconLeft:({className:i,...s})=>M.jsx(Hd,{className:ee("size-4",i),...s}),IconRight:({className:i,...s})=>M.jsx(lr,{className:ee("size-4",i),...s})},...o})}function zNe({className:e,...t}){return M.jsx("div",{"data-slot":"card",className:ee("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function qNe({className:e,...t}){return M.jsx("div",{"data-slot":"card-header",className:ee("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function HNe({className:e,...t}){return M.jsx("div",{"data-slot":"card-title",className:ee("leading-none font-semibold",e),...t})}function VNe({className:e,...t}){return M.jsx("div",{"data-slot":"card-description",className:ee("text-muted-foreground text-sm",e),...t})}function BNe({className:e,...t}){return M.jsx("div",{"data-slot":"card-action",className:ee("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...t})}function FNe({className:e,...t}){return M.jsx("div",{"data-slot":"card-content",className:ee("px-6",e),...t})}function UNe({className:e,...t}){return M.jsx("div",{"data-slot":"card-footer",className:ee("flex items-center px-6 [.border-t]:pt-6",e),...t})}function GNe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,WNe(i,...t)]}function WNe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function xe(e,t,{checkForDefaultPrevented:a=!0}={}){return function(i){if(e==null||e(i),a===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}var ZNe=xP[" useInsertionEffect ".trim().toString()]||St;function bn({prop:e,defaultProp:t,onChange:a=()=>{},caller:o}){const[i,s,l]=XNe({defaultProp:t,onChange:a}),h=e!==void 0,f=h?e:i;{const k=p.useRef(e!==void 0);p.useEffect(()=>{const m=k.current;m!==h&&console.warn(`${o} is changing from ${m?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),k.current=h},[h,o])}const y=p.useCallback(k=>{var m;if(h){const x=KNe(k)?k(e):k;x!==e&&((m=l.current)==null||m.call(l,x))}else s(k)},[h,e,s,l]);return[f,y]}function XNe({defaultProp:e,onChange:t}){const[a,o]=p.useState(e),i=p.useRef(a),s=p.useRef(t);return ZNe(()=>{s.current=t},[t]),p.useEffect(()=>{var l;i.current!==a&&((l=s.current)==null||l.call(s,a),i.current=a)},[a,i]),[a,o,s]}function KNe(e){return typeof e=="function"}function bA(e){const t=p.useRef({value:e,previous:e});return p.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function wA(e){const[t,a]=p.useState(void 0);return St(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let l,h;if("borderBoxSize"in s){const f=s.borderBoxSize,y=Array.isArray(f)?f[0]:f;l=y.inlineSize,h=y.blockSize}else l=e.offsetWidth,h=e.offsetHeight;a({width:l,height:h})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else a(void 0)},[e]),t}function YNe(e,t){return p.useReducer((a,o)=>t[a][o]??a,e)}var Pn=e=>{const{present:t,children:a}=e,o=QNe(t),i=typeof a=="function"?a({present:o.isPresent}):p.Children.only(a),s=ze(o.ref,JNe(i));return typeof a=="function"||o.isPresent?p.cloneElement(i,{ref:s}):null};Pn.displayName="Presence";function QNe(e){const[t,a]=p.useState(),o=p.useRef(null),i=p.useRef(e),s=p.useRef("none"),l=e?"mounted":"unmounted",[h,f]=YNe(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const y=gh(o.current);s.current=h==="mounted"?y:"none"},[h]),St(()=>{const y=o.current,k=i.current;if(k!==e){const x=s.current,S=gh(y);e?f("MOUNT"):S==="none"||(y==null?void 0:y.display)==="none"?f("UNMOUNT"):f(k&&x!==S?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,f]),St(()=>{if(t){let y;const k=t.ownerDocument.defaultView??window,m=S=>{const w=gh(o.current).includes(CSS.escape(S.animationName));if(S.target===t&&w&&(f("ANIMATION_END"),!i.current)){const _=t.style.animationFillMode;t.style.animationFillMode="forwards",y=k.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=_)})}},x=S=>{S.target===t&&(s.current=gh(o.current))};return t.addEventListener("animationstart",x),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{k.clearTimeout(y),t.removeEventListener("animationstart",x),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:p.useCallback(y=>{o.current=y?getComputedStyle(y):null,a(y)},[])}}function gh(e){return(e==null?void 0:e.animationName)||"none"}function JNe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}function eLe(e){const t=tLe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(aLe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function tLe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=rLe(i),h=oLe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var nLe=Symbol("radix.slottable");function aLe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===nLe}function oLe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function rLe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var iLe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],XP=iLe.reduce((e,t)=>{const a=eLe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),_A="Checkbox",[cLe]=GNe(_A),[sLe,KP]=cLe(_A);function lLe(e){const{__scopeCheckbox:t,checked:a,children:o,defaultChecked:i,disabled:s,form:l,name:h,onCheckedChange:f,required:y,value:k="on",internal_do_not_use_render:m}=e,[x,S]=bn({prop:a,defaultProp:i??!1,onChange:f,caller:_A}),[b,w]=p.useState(null),[_,N]=p.useState(null),L=p.useRef(!1),I=b?!!l||!!b.closest("form"):!0,P={checked:x,disabled:s,setChecked:S,control:b,setControl:w,name:h,form:l,value:k,hasConsumerStoppedPropagationRef:L,required:y,defaultChecked:wi(i)?!1:i,isFormControl:I,bubbleInput:_,setBubbleInput:N};return M.jsx(sLe,{scope:t,...P,children:dLe(m)?m(P):o})}var RG="CheckboxTrigger",$G=p.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:a,...o},i)=>{const{control:s,value:l,disabled:h,checked:f,required:y,setControl:k,setChecked:m,hasConsumerStoppedPropagationRef:x,isFormControl:S,bubbleInput:b}=KP(RG,e),w=ze(i,k),_=p.useRef(f);return p.useEffect(()=>{const N=s==null?void 0:s.form;if(N){const L=()=>m(_.current);return N.addEventListener("reset",L),()=>N.removeEventListener("reset",L)}},[s,m]),M.jsx(XP.button,{type:"button",role:"checkbox","aria-checked":wi(f)?"mixed":f,"aria-required":y,"data-state":qG(f),"data-disabled":h?"":void 0,disabled:h,value:l,...o,ref:w,onKeyDown:xe(t,N=>{N.key==="Enter"&&N.preventDefault()}),onClick:xe(a,N=>{m(L=>wi(L)?!0:!L),b&&S&&(x.current=N.isPropagationStopped(),x.current||N.stopPropagation())})})});$G.displayName=RG;var jG=p.forwardRef((e,t)=>{const{__scopeCheckbox:a,name:o,checked:i,defaultChecked:s,required:l,disabled:h,value:f,onCheckedChange:y,form:k,...m}=e;return M.jsx(lLe,{__scopeCheckbox:a,checked:i,defaultChecked:s,disabled:h,required:l,onCheckedChange:y,name:o,form:k,value:f,internal_do_not_use_render:({isFormControl:x})=>M.jsxs(M.Fragment,{children:[M.jsx($G,{...m,ref:t,__scopeCheckbox:a}),x&&M.jsx(zG,{__scopeCheckbox:a})]})})});jG.displayName=_A;var PG="CheckboxIndicator",OG=p.forwardRef((e,t)=>{const{__scopeCheckbox:a,forceMount:o,...i}=e,s=KP(PG,a);return M.jsx(Pn,{present:o||wi(s.checked)||s.checked===!0,children:M.jsx(XP.span,{"data-state":qG(s.checked),"data-disabled":s.disabled?"":void 0,...i,ref:t,style:{pointerEvents:"none",...e.style}})})});OG.displayName=PG;var DG="CheckboxBubbleInput",zG=p.forwardRef(({__scopeCheckbox:e,...t},a)=>{const{control:o,hasConsumerStoppedPropagationRef:i,checked:s,defaultChecked:l,required:h,disabled:f,name:y,value:k,form:m,bubbleInput:x,setBubbleInput:S}=KP(DG,e),b=ze(a,S),w=bA(s),_=wA(o);p.useEffect(()=>{const L=x;if(!L)return;const I=window.HTMLInputElement.prototype,D=Object.getOwnPropertyDescriptor(I,"checked").set,j=!i.current;if(w!==s&&D){const A=new Event("click",{bubbles:j});L.indeterminate=wi(s),D.call(L,wi(s)?!1:s),L.dispatchEvent(A)}},[x,w,s,i]);const N=p.useRef(wi(s)?!1:s);return M.jsx(XP.input,{type:"checkbox","aria-hidden":!0,defaultChecked:l??N.current,required:h,disabled:f,name:y,value:k,form:m,...t,tabIndex:-1,ref:b,style:{...t.style,..._,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});zG.displayName=DG;function dLe(e){return typeof e=="function"}function wi(e){return e==="indeterminate"}function qG(e){return wi(e)?"indeterminate":e?"checked":"unchecked"}function uLe({className:e,...t}){return M.jsx(jG,{"data-slot":"checkbox",className:ee("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:M.jsx(OG,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:M.jsx(sr,{className:"size-3.5"})})})}function hLe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,pLe(i,...t)]}function pLe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function fLe(e){const t=yLe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(vLe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function yLe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=gLe(i),h=kLe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var mLe=Symbol("radix.slottable");function vLe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===mLe}function kLe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function gLe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var MLe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],YP=MLe.reduce((e,t)=>{const a=fLe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),xLe=xP[" useId ".trim().toString()]||(()=>{}),bLe=0;function It(e){const[t,a]=p.useState(xLe());return St(()=>{a(o=>o??String(bLe++))},[e]),e||(t?`radix-${t}`:"")}var SA="Collapsible",[wLe]=hLe(SA),[_Le,QP]=wLe(SA),HG=p.forwardRef((e,t)=>{const{__scopeCollapsible:a,open:o,defaultOpen:i,disabled:s,onOpenChange:l,...h}=e,[f,y]=bn({prop:o,defaultProp:i??!1,onChange:l,caller:SA});return M.jsx(_Le,{scope:a,disabled:s,contentId:It(),open:f,onOpenToggle:p.useCallback(()=>y(k=>!k),[y]),children:M.jsx(YP.div,{"data-state":eO(f),"data-disabled":s?"":void 0,...h,ref:t})})});HG.displayName=SA;var VG="CollapsibleTrigger",BG=p.forwardRef((e,t)=>{const{__scopeCollapsible:a,...o}=e,i=QP(VG,a);return M.jsx(YP.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":eO(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...o,ref:t,onClick:xe(e.onClick,i.onOpenToggle)})});BG.displayName=VG;var JP="CollapsibleContent",FG=p.forwardRef((e,t)=>{const{forceMount:a,...o}=e,i=QP(JP,e.__scopeCollapsible);return M.jsx(Pn,{present:a||i.open,children:({present:s})=>M.jsx(SLe,{...o,ref:t,present:s})})});FG.displayName=JP;var SLe=p.forwardRef((e,t)=>{const{__scopeCollapsible:a,present:o,children:i,...s}=e,l=QP(JP,a),[h,f]=p.useState(o),y=p.useRef(null),k=ze(t,y),m=p.useRef(0),x=m.current,S=p.useRef(0),b=S.current,w=l.open||h,_=p.useRef(w),N=p.useRef(void 0);return p.useEffect(()=>{const L=requestAnimationFrame(()=>_.current=!1);return()=>cancelAnimationFrame(L)},[]),St(()=>{const L=y.current;if(L){N.current=N.current||{transitionDuration:L.style.transitionDuration,animationName:L.style.animationName},L.style.transitionDuration="0s",L.style.animationName="none";const I=L.getBoundingClientRect();m.current=I.height,S.current=I.width,_.current||(L.style.transitionDuration=N.current.transitionDuration,L.style.animationName=N.current.animationName),f(o)}},[l.open,o]),M.jsx(YP.div,{"data-state":eO(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!w,...s,ref:k,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:w&&i})});function eO(e){return e?"open":"closed"}var CLe=HG;function NLe({...e}){return M.jsx(CLe,{"data-slot":"collapsible",...e})}function LLe({...e}){return M.jsx(BG,{"data-slot":"collapsible-trigger",...e})}function ELe({...e}){return M.jsx(FG,{"data-slot":"collapsible-content",...e})}var UB=1,ILe=.9,ALe=.8,TLe=.17,kj=.1,gj=.999,RLe=.9999,$Le=.99,jLe=/[\\\/_+.#"@\[\(\{&]/,PLe=/[\\\/_+.#"@\[\(\{&]/g,OLe=/[\s-]/,UG=/[\s-]/g;function Kj(e,t,a,o,i,s,l){if(s===t.length)return i===e.length?UB:$Le;var h=`${i},${s}`;if(l[h]!==void 0)return l[h];for(var f=o.charAt(s),y=a.indexOf(f,i),k=0,m,x,S,b;y>=0;)m=Kj(e,t,a,o,y+1,s+1,l),m>k&&(y===i?m*=UB:jLe.test(e.charAt(y-1))?(m*=ALe,S=e.slice(i,y-1).match(PLe),S&&i>0&&(m*=Math.pow(gj,S.length))):OLe.test(e.charAt(y-1))?(m*=ILe,b=e.slice(i,y-1).match(UG),b&&i>0&&(m*=Math.pow(gj,b.length))):(m*=TLe,i>0&&(m*=Math.pow(gj,y-i))),e.charAt(y)!==t.charAt(s)&&(m*=RLe)),(m<kj&&a.charAt(y-1)===o.charAt(s+1)||o.charAt(s+1)===o.charAt(s)&&a.charAt(y-1)!==o.charAt(s))&&(x=Kj(e,t,a,o,y+1,s+2,l),x*kj>m&&(m=x*kj)),m>k&&(k=m),y=a.indexOf(f,y+1);return l[h]=k,k}function GB(e){return e.toLowerCase().replace(UG," ")}function DLe(e,t,a){return e=a&&a.length>0?`${e+" "+a.join(" ")}`:e,Kj(e,t,GB(e),GB(t),0,0,{})}function zLe(e,t){const a=p.createContext(t),o=s=>{const{children:l,...h}=s,f=p.useMemo(()=>h,Object.values(h));return M.jsx(a.Provider,{value:f,children:l})};o.displayName=e+"Provider";function i(s){const l=p.useContext(a);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[o,i]}function qLe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,HLe(i,...t)]}function HLe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function VLe(e){const t=BLe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(ULe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function BLe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=WLe(i),h=GLe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var FLe=Symbol("radix.slottable");function ULe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===FLe}function GLe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function WLe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var ZLe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],GG=ZLe.reduce((e,t)=>{const a=VLe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function XLe(e,t){e&&Kd.flushSync(()=>e.dispatchEvent(t))}function KLe(e,t=globalThis==null?void 0:globalThis.document){const a=Zn(e);p.useEffect(()=>{const o=i=>{i.key==="Escape"&&a(i)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[a,t])}var YLe="DismissableLayer",Yj="dismissableLayer.update",QLe="dismissableLayer.pointerDownOutside",JLe="dismissableLayer.focusOutside",WB,WG=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),nu=p.forwardRef((e,t)=>{const{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:l,onDismiss:h,...f}=e,y=p.useContext(WG),[k,m]=p.useState(null),x=(k==null?void 0:k.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,S]=p.useState({}),b=ze(t,A=>m(A)),w=Array.from(y.layers),[_]=[...y.layersWithOutsidePointerEventsDisabled].slice(-1),N=w.indexOf(_),L=k?w.indexOf(k):-1,I=y.layersWithOutsidePointerEventsDisabled.size>0,P=L>=N,D=nEe(A=>{const $=A.target,B=[...y.branches].some(Z=>Z.contains($));!P||B||(i==null||i(A),l==null||l(A),A.defaultPrevented||h==null||h())},x),j=aEe(A=>{const $=A.target;[...y.branches].some(Z=>Z.contains($))||(s==null||s(A),l==null||l(A),A.defaultPrevented||h==null||h())},x);return KLe(A=>{L===y.layers.size-1&&(o==null||o(A),!A.defaultPrevented&&h&&(A.preventDefault(),h()))},x),p.useEffect(()=>{if(k)return a&&(y.layersWithOutsidePointerEventsDisabled.size===0&&(WB=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),y.layersWithOutsidePointerEventsDisabled.add(k)),y.layers.add(k),ZB(),()=>{a&&y.layersWithOutsidePointerEventsDisabled.size===1&&(x.body.style.pointerEvents=WB)}},[k,x,a,y]),p.useEffect(()=>()=>{k&&(y.layers.delete(k),y.layersWithOutsidePointerEventsDisabled.delete(k),ZB())},[k,y]),p.useEffect(()=>{const A=()=>S({});return document.addEventListener(Yj,A),()=>document.removeEventListener(Yj,A)},[]),M.jsx(GG.div,{...f,ref:b,style:{pointerEvents:I?P?"auto":"none":void 0,...e.style},onFocusCapture:xe(e.onFocusCapture,j.onFocusCapture),onBlurCapture:xe(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:xe(e.onPointerDownCapture,D.onPointerDownCapture)})});nu.displayName=YLe;var eEe="DismissableLayerBranch",tEe=p.forwardRef((e,t)=>{const a=p.useContext(WG),o=p.useRef(null),i=ze(t,o);return p.useEffect(()=>{const s=o.current;if(s)return a.branches.add(s),()=>{a.branches.delete(s)}},[a.branches]),M.jsx(GG.div,{...e,ref:i})});tEe.displayName=eEe;function nEe(e,t=globalThis==null?void 0:globalThis.document){const a=Zn(e),o=p.useRef(!1),i=p.useRef(()=>{});return p.useEffect(()=>{const s=h=>{if(h.target&&!o.current){let f=function(){ZG(QLe,a,y,{discrete:!0})};const y={originalEvent:h};h.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=f,t.addEventListener("click",i.current,{once:!0})):f()}else t.removeEventListener("click",i.current);o.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,a]),{onPointerDownCapture:()=>o.current=!0}}function aEe(e,t=globalThis==null?void 0:globalThis.document){const a=Zn(e),o=p.useRef(!1);return p.useEffect(()=>{const i=s=>{s.target&&!o.current&&ZG(JLe,a,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,a]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function ZB(){const e=new CustomEvent(Yj);document.dispatchEvent(e)}function ZG(e,t,a,{discrete:o}){const i=a.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});t&&i.addEventListener(e,t,{once:!0}),o?XLe(i,s):i.dispatchEvent(s)}function oEe(e){const t=rEe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(cEe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function rEe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=lEe(i),h=sEe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var iEe=Symbol("radix.slottable");function cEe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===iEe}function sEe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function lEe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var dEe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],uEe=dEe.reduce((e,t)=>{const a=oEe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),Mj="focusScope.autoFocusOnMount",xj="focusScope.autoFocusOnUnmount",XB={bubbles:!1,cancelable:!0},hEe="FocusScope",O2=p.forwardRef((e,t)=>{const{loop:a=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...l}=e,[h,f]=p.useState(null),y=Zn(i),k=Zn(s),m=p.useRef(null),x=ze(t,w=>f(w)),S=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(o){let w=function(I){if(S.paused||!h)return;const P=I.target;h.contains(P)?m.current=P:mi(m.current,{select:!0})},_=function(I){if(S.paused||!h)return;const P=I.relatedTarget;P!==null&&(h.contains(P)||mi(m.current,{select:!0}))},N=function(I){if(document.activeElement===document.body)for(const D of I)D.removedNodes.length>0&&mi(h)};document.addEventListener("focusin",w),document.addEventListener("focusout",_);const L=new MutationObserver(N);return h&&L.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",_),L.disconnect()}}},[o,h,S.paused]),p.useEffect(()=>{if(h){YB.add(S);const w=document.activeElement;if(!h.contains(w)){const N=new CustomEvent(Mj,XB);h.addEventListener(Mj,y),h.dispatchEvent(N),N.defaultPrevented||(pEe(kEe(XG(h)),{select:!0}),document.activeElement===w&&mi(h))}return()=>{h.removeEventListener(Mj,y),setTimeout(()=>{const N=new CustomEvent(xj,XB);h.addEventListener(xj,k),h.dispatchEvent(N),N.defaultPrevented||mi(w??document.body,{select:!0}),h.removeEventListener(xj,k),YB.remove(S)},0)}}},[h,y,k,S]);const b=p.useCallback(w=>{if(!a&&!o||S.paused)return;const _=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,N=document.activeElement;if(_&&N){const L=w.currentTarget,[I,P]=fEe(L);I&&P?!w.shiftKey&&N===P?(w.preventDefault(),a&&mi(I,{select:!0})):w.shiftKey&&N===I&&(w.preventDefault(),a&&mi(P,{select:!0})):N===L&&w.preventDefault()}},[a,o,S.paused]);return M.jsx(uEe.div,{tabIndex:-1,...l,ref:x,onKeyDown:b})});O2.displayName=hEe;function pEe(e,{select:t=!1}={}){const a=document.activeElement;for(const o of e)if(mi(o,{select:t}),document.activeElement!==a)return}function fEe(e){const t=XG(e),a=KB(t,e),o=KB(t.reverse(),e);return[a,o]}function XG(e){const t=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const i=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||i?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)t.push(a.currentNode);return t}function KB(e,t){for(const a of e)if(!yEe(a,{upTo:t}))return a}function yEe(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function mEe(e){return e instanceof HTMLInputElement&&"select"in e}function mi(e,{select:t=!1}={}){if(e&&e.focus){const a=document.activeElement;e.focus({preventScroll:!0}),e!==a&&mEe(e)&&t&&e.select()}}var YB=vEe();function vEe(){let e=[];return{add(t){const a=e[0];t!==a&&(a==null||a.pause()),e=QB(e,t),e.unshift(t)},remove(t){var a;e=QB(e,t),(a=e[0])==null||a.resume()}}}function QB(e,t){const a=[...e],o=a.indexOf(t);return o!==-1&&a.splice(o,1),a}function kEe(e){return e.filter(t=>t.tagName!=="A")}function KG(e){const t=gEe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(xEe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function gEe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=wEe(i),h=bEe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var MEe=Symbol("radix.slottable");function xEe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===MEe}function bEe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function wEe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var _Ee=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],au=_Ee.reduce((e,t)=>{const a=KG(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),SEe="Portal",YG=p.forwardRef((e,t)=>{var h;const{container:a,...o}=e,[i,s]=p.useState(!1);St(()=>s(!0),[]);const l=a||i&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return l?ur.createPortal(M.jsx(au.div,{...o,ref:t}),l):null});YG.displayName=SEe;var bj=0;function CA(){p.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??JB()),document.body.insertAdjacentElement("beforeend",e[1]??JB()),bj++,()=>{bj===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),bj--}},[])}function JB(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var rr=function(){return rr=Object.assign||function(t){for(var a,o=1,i=arguments.length;o<i;o++){a=arguments[o];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(t[s]=a[s])}return t},rr.apply(this,arguments)};function QG(e,t){var a={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(a[o[i]]=e[o[i]]);return a}function CEe(e,t,a){if(a||arguments.length===2)for(var o=0,i=t.length,s;o<i;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}var qI="right-scroll-bar-position",HI="width-before-scroll-bar",NEe="with-scroll-bars-hidden",LEe="--removed-body-scroll-bar-size";function wj(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function EEe(e,t){var a=p.useState(function(){return{value:e,callback:t,facade:{get current(){return a.value},set current(o){var i=a.value;i!==o&&(a.value=o,a.callback(o,i))}}}})[0];return a.callback=t,a.facade}var IEe=typeof window<"u"?p.useLayoutEffect:p.useEffect,eF=new WeakMap;function AEe(e,t){var a=EEe(null,function(o){return e.forEach(function(i){return wj(i,o)})});return IEe(function(){var o=eF.get(a);if(o){var i=new Set(o),s=new Set(e),l=a.current;i.forEach(function(h){s.has(h)||wj(h,null)}),s.forEach(function(h){i.has(h)||wj(h,l)})}eF.set(a,e)},[e]),a}function TEe(e){return e}function REe(e,t){t===void 0&&(t=TEe);var a=[],o=!1,i={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:e},useMedium:function(s){var l=t(s,o);return a.push(l),function(){a=a.filter(function(h){return h!==l})}},assignSyncMedium:function(s){for(o=!0;a.length;){var l=a;a=[],l.forEach(s)}a={push:function(h){return s(h)},filter:function(){return a}}},assignMedium:function(s){o=!0;var l=[];if(a.length){var h=a;a=[],h.forEach(s),l=a}var f=function(){var k=l;l=[],k.forEach(s)},y=function(){return Promise.resolve().then(f)};y(),a={push:function(k){l.push(k),y()},filter:function(k){return l=l.filter(k),a}}}};return i}function $Ee(e){e===void 0&&(e={});var t=REe(null);return t.options=rr({async:!0,ssr:!1},e),t}var JG=function(e){var t=e.sideCar,a=QG(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return p.createElement(o,rr({},a))};JG.isSideCarExport=!0;function jEe(e,t){return e.useMedium(t),JG}var eW=$Ee(),_j=function(){},NA=p.forwardRef(function(e,t){var a=p.useRef(null),o=p.useState({onScrollCapture:_j,onWheelCapture:_j,onTouchMoveCapture:_j}),i=o[0],s=o[1],l=e.forwardProps,h=e.children,f=e.className,y=e.removeScrollBar,k=e.enabled,m=e.shards,x=e.sideCar,S=e.noRelative,b=e.noIsolation,w=e.inert,_=e.allowPinchZoom,N=e.as,L=N===void 0?"div":N,I=e.gapMode,P=QG(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=x,j=AEe([a,t]),A=rr(rr({},P),i);return p.createElement(p.Fragment,null,k&&p.createElement(D,{sideCar:eW,removeScrollBar:y,shards:m,noRelative:S,noIsolation:b,inert:w,setCallbacks:s,allowPinchZoom:!!_,lockRef:a,gapMode:I}),l?p.cloneElement(p.Children.only(h),rr(rr({},A),{ref:j})):p.createElement(L,rr({},A,{className:f,ref:j}),h))});NA.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};NA.classNames={fullWidth:HI,zeroRight:qI};var PEe=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function OEe(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=PEe();return t&&e.setAttribute("nonce",t),e}function DEe(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function zEe(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var qEe=function(){var e=0,t=null;return{add:function(a){e==0&&(t=OEe())&&(DEe(t,a),zEe(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},HEe=function(){var e=qEe();return function(t,a){p.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&a])}},tW=function(){var e=HEe(),t=function(a){var o=a.styles,i=a.dynamic;return e(o,i),null};return t},VEe={left:0,top:0,right:0,gap:0},Sj=function(e){return parseInt(e||"",10)||0},BEe=function(e){var t=window.getComputedStyle(document.body),a=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[Sj(a),Sj(o),Sj(i)]},FEe=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return VEe;var t=BEe(e),a=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-a+t[2]-t[0])}},UEe=tW(),Vd="data-scroll-locked",GEe=function(e,t,a,o){var i=e.left,s=e.top,l=e.right,h=e.gap;return a===void 0&&(a="margin"),`
7963
+ */const F_e=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:jh,AArrowDownIcon:jh,AArrowUp:Ph,AArrowUpIcon:Ph,ALargeSmall:Oh,ALargeSmallIcon:Oh,Accessibility:Dh,AccessibilityIcon:Dh,Activity:zh,ActivityIcon:zh,ActivitySquare:kl,ActivitySquareIcon:kl,AirVent:qh,AirVentIcon:qh,Airplay:Hh,AirplayIcon:Hh,AlarmCheck:ac,AlarmCheckIcon:ac,AlarmClock:Bh,AlarmClockCheck:ac,AlarmClockCheckIcon:ac,AlarmClockIcon:Bh,AlarmClockMinus:oc,AlarmClockMinusIcon:oc,AlarmClockOff:Vh,AlarmClockOffIcon:Vh,AlarmClockPlus:rc,AlarmClockPlusIcon:rc,AlarmMinus:oc,AlarmMinusIcon:oc,AlarmPlus:rc,AlarmPlusIcon:rc,AlarmSmoke:Fh,AlarmSmokeIcon:Fh,Album:Uh,AlbumIcon:Uh,AlertCircle:Tc,AlertCircleIcon:Tc,AlertOctagon:Xs,AlertOctagonIcon:Xs,AlertTriangle:M1,AlertTriangleIcon:M1,AlignCenter:Xh,AlignCenterHorizontal:Gh,AlignCenterHorizontalIcon:Gh,AlignCenterIcon:Xh,AlignCenterVertical:Wh,AlignCenterVerticalIcon:Wh,AlignEndHorizontal:Zh,AlignEndHorizontalIcon:Zh,AlignEndVertical:Kh,AlignEndVerticalIcon:Kh,AlignHorizontalDistributeCenter:Yh,AlignHorizontalDistributeCenterIcon:Yh,AlignHorizontalDistributeEnd:Qh,AlignHorizontalDistributeEndIcon:Qh,AlignHorizontalDistributeStart:Jh,AlignHorizontalDistributeStartIcon:Jh,AlignHorizontalJustifyCenter:ep,AlignHorizontalJustifyCenterIcon:ep,AlignHorizontalJustifyEnd:tp,AlignHorizontalJustifyEndIcon:tp,AlignHorizontalJustifyStart:np,AlignHorizontalJustifyStartIcon:np,AlignHorizontalSpaceAround:ap,AlignHorizontalSpaceAroundIcon:ap,AlignHorizontalSpaceBetween:op,AlignHorizontalSpaceBetweenIcon:op,AlignJustify:rp,AlignJustifyIcon:rp,AlignLeft:ip,AlignLeftIcon:ip,AlignRight:cp,AlignRightIcon:cp,AlignStartHorizontal:sp,AlignStartHorizontalIcon:sp,AlignStartVertical:lp,AlignStartVerticalIcon:lp,AlignVerticalDistributeCenter:dp,AlignVerticalDistributeCenterIcon:dp,AlignVerticalDistributeEnd:up,AlignVerticalDistributeEndIcon:up,AlignVerticalDistributeStart:hp,AlignVerticalDistributeStartIcon:hp,AlignVerticalJustifyCenter:pp,AlignVerticalJustifyCenterIcon:pp,AlignVerticalJustifyEnd:fp,AlignVerticalJustifyEndIcon:fp,AlignVerticalJustifyStart:yp,AlignVerticalJustifyStartIcon:yp,AlignVerticalSpaceAround:mp,AlignVerticalSpaceAroundIcon:mp,AlignVerticalSpaceBetween:vp,AlignVerticalSpaceBetweenIcon:vp,Ambulance:kp,AmbulanceIcon:kp,Ampersand:gp,AmpersandIcon:gp,Ampersands:Mp,AmpersandsIcon:Mp,Amphora:bp,AmphoraIcon:bp,Anchor:xp,AnchorIcon:xp,Angry:wp,AngryIcon:wp,Annoyed:Sp,AnnoyedIcon:Sp,Antenna:_p,AntennaIcon:_p,Anvil:Cp,AnvilIcon:Cp,Aperture:Np,ApertureIcon:Np,AppWindow:Ep,AppWindowIcon:Ep,AppWindowMac:Lp,AppWindowMacIcon:Lp,Apple:Ap,AppleIcon:Ap,Archive:$p,ArchiveIcon:$p,ArchiveRestore:Ip,ArchiveRestoreIcon:Ip,ArchiveX:Tp,ArchiveXIcon:Tp,AreaChart:gc,AreaChartIcon:gc,Armchair:Rp,ArmchairIcon:Rp,ArrowBigDown:Pp,ArrowBigDownDash:jp,ArrowBigDownDashIcon:jp,ArrowBigDownIcon:Pp,ArrowBigLeft:Dp,ArrowBigLeftDash:Op,ArrowBigLeftDashIcon:Op,ArrowBigLeftIcon:Dp,ArrowBigRight:qp,ArrowBigRightDash:zp,ArrowBigRightDashIcon:zp,ArrowBigRightIcon:qp,ArrowBigUp:Vp,ArrowBigUpDash:Hp,ArrowBigUpDashIcon:Hp,ArrowBigUpIcon:Vp,ArrowDown:Qp,ArrowDown01:Bp,ArrowDown01Icon:Bp,ArrowDown10:Fp,ArrowDown10Icon:Fp,ArrowDownAZ:ic,ArrowDownAZIcon:ic,ArrowDownAz:ic,ArrowDownAzIcon:ic,ArrowDownCircle:Rc,ArrowDownCircleIcon:Rc,ArrowDownFromLine:Up,ArrowDownFromLineIcon:Up,ArrowDownIcon:Qp,ArrowDownLeft:Gp,ArrowDownLeftFromCircle:jc,ArrowDownLeftFromCircleIcon:jc,ArrowDownLeftFromSquare:wl,ArrowDownLeftFromSquareIcon:wl,ArrowDownLeftIcon:Gp,ArrowDownLeftSquare:gl,ArrowDownLeftSquareIcon:gl,ArrowDownNarrowWide:Wp,ArrowDownNarrowWideIcon:Wp,ArrowDownRight:Zp,ArrowDownRightFromCircle:Pc,ArrowDownRightFromCircleIcon:Pc,ArrowDownRightFromSquare:_l,ArrowDownRightFromSquareIcon:_l,ArrowDownRightIcon:Zp,ArrowDownRightSquare:Ml,ArrowDownRightSquareIcon:Ml,ArrowDownSquare:bl,ArrowDownSquareIcon:bl,ArrowDownToDot:Yp,ArrowDownToDotIcon:Yp,ArrowDownToLine:Xp,ArrowDownToLineIcon:Xp,ArrowDownUp:Kp,ArrowDownUpIcon:Kp,ArrowDownWideNarrow:cc,ArrowDownWideNarrowIcon:cc,ArrowDownZA:sc,ArrowDownZAIcon:sc,ArrowDownZa:sc,ArrowDownZaIcon:sc,ArrowLeft:nf,ArrowLeftCircle:$c,ArrowLeftCircleIcon:$c,ArrowLeftFromLine:Jp,ArrowLeftFromLineIcon:Jp,ArrowLeftIcon:nf,ArrowLeftRight:ef,ArrowLeftRightIcon:ef,ArrowLeftSquare:xl,ArrowLeftSquareIcon:xl,ArrowLeftToLine:tf,ArrowLeftToLineIcon:tf,ArrowRight:cf,ArrowRightCircle:qc,ArrowRightCircleIcon:qc,ArrowRightFromLine:af,ArrowRightFromLineIcon:af,ArrowRightIcon:cf,ArrowRightLeft:of,ArrowRightLeftIcon:of,ArrowRightSquare:Nl,ArrowRightSquareIcon:Nl,ArrowRightToLine:rf,ArrowRightToLineIcon:rf,ArrowUp:vf,ArrowUp01:sf,ArrowUp01Icon:sf,ArrowUp10:lf,ArrowUp10Icon:lf,ArrowUpAZ:lc,ArrowUpAZIcon:lc,ArrowUpAz:lc,ArrowUpAzIcon:lc,ArrowUpCircle:zc,ArrowUpCircleIcon:zc,ArrowUpDown:uf,ArrowUpDownIcon:uf,ArrowUpFromDot:df,ArrowUpFromDotIcon:df,ArrowUpFromLine:hf,ArrowUpFromLineIcon:hf,ArrowUpIcon:vf,ArrowUpLeft:pf,ArrowUpLeftFromCircle:Oc,ArrowUpLeftFromCircleIcon:Oc,ArrowUpLeftFromSquare:Sl,ArrowUpLeftFromSquareIcon:Sl,ArrowUpLeftIcon:pf,ArrowUpLeftSquare:Ll,ArrowUpLeftSquareIcon:Ll,ArrowUpNarrowWide:dc,ArrowUpNarrowWideIcon:dc,ArrowUpRight:ff,ArrowUpRightFromCircle:Dc,ArrowUpRightFromCircleIcon:Dc,ArrowUpRightFromSquare:Cl,ArrowUpRightFromSquareIcon:Cl,ArrowUpRightIcon:ff,ArrowUpRightSquare:El,ArrowUpRightSquareIcon:El,ArrowUpSquare:Il,ArrowUpSquareIcon:Il,ArrowUpToLine:yf,ArrowUpToLineIcon:yf,ArrowUpWideNarrow:mf,ArrowUpWideNarrowIcon:mf,ArrowUpZA:uc,ArrowUpZAIcon:uc,ArrowUpZa:uc,ArrowUpZaIcon:uc,ArrowsUpFromLine:kf,ArrowsUpFromLineIcon:kf,Asterisk:Mf,AsteriskIcon:Mf,AsteriskSquare:Al,AsteriskSquareIcon:Al,AtSign:gf,AtSignIcon:gf,Atom:xf,AtomIcon:xf,AudioLines:bf,AudioLinesIcon:bf,AudioWaveform:wf,AudioWaveformIcon:wf,Award:_f,AwardIcon:_f,Axe:Sf,AxeIcon:Sf,Axis3D:hc,Axis3DIcon:hc,Axis3d:hc,Axis3dIcon:hc,Baby:Cf,BabyIcon:Cf,Backpack:Nf,BackpackIcon:Nf,Badge:Bf,BadgeAlert:Lf,BadgeAlertIcon:Lf,BadgeCent:Ef,BadgeCentIcon:Ef,BadgeCheck:pc,BadgeCheckIcon:pc,BadgeDollarSign:If,BadgeDollarSignIcon:If,BadgeEuro:Af,BadgeEuroIcon:Af,BadgeHelp:Tf,BadgeHelpIcon:Tf,BadgeIcon:Bf,BadgeIndianRupee:Rf,BadgeIndianRupeeIcon:Rf,BadgeInfo:$f,BadgeInfoIcon:$f,BadgeJapaneseYen:jf,BadgeJapaneseYenIcon:jf,BadgeMinus:Pf,BadgeMinusIcon:Pf,BadgePercent:Of,BadgePercentIcon:Of,BadgePlus:Df,BadgePlusIcon:Df,BadgePoundSterling:zf,BadgePoundSterlingIcon:zf,BadgeRussianRuble:qf,BadgeRussianRubleIcon:qf,BadgeSwissFranc:Hf,BadgeSwissFrancIcon:Hf,BadgeX:Vf,BadgeXIcon:Vf,BaggageClaim:Ff,BaggageClaimIcon:Ff,Ban:Uf,BanIcon:Uf,Banana:Gf,BananaIcon:Gf,Bandage:Wf,BandageIcon:Wf,Banknote:Kf,BanknoteArrowDown:Zf,BanknoteArrowDownIcon:Zf,BanknoteIcon:Kf,BarChart:Nc,BarChart2:Lc,BarChart2Icon:Lc,BarChart3:Sc,BarChart3Icon:Sc,BarChart4:_c,BarChart4Icon:_c,BarChartBig:wc,BarChartBigIcon:wc,BarChartHorizontal:xc,BarChartHorizontalBig:Mc,BarChartHorizontalBigIcon:Mc,BarChartHorizontalIcon:xc,BarChartIcon:Nc,Barcode:Xf,BarcodeIcon:Xf,Baseline:Yf,BaselineIcon:Yf,Bath:Qf,BathIcon:Qf,Battery:ry,BatteryCharging:Jf,BatteryChargingIcon:Jf,BatteryFull:ey,BatteryFullIcon:ey,BatteryIcon:ry,BatteryLow:ty,BatteryLowIcon:ty,BatteryMedium:ny,BatteryMediumIcon:ny,BatteryPlus:ay,BatteryPlusIcon:ay,BatteryWarning:oy,BatteryWarningIcon:oy,Beaker:iy,BeakerIcon:iy,Bean:sy,BeanIcon:sy,BeanOff:cy,BeanOffIcon:cy,Bed:uy,BedDouble:ly,BedDoubleIcon:ly,BedIcon:uy,BedSingle:dy,BedSingleIcon:dy,Beef:hy,BeefIcon:hy,Beer:fy,BeerIcon:fy,BeerOff:py,BeerOffIcon:py,Bell:xy,BellDot:yy,BellDotIcon:yy,BellElectric:my,BellElectricIcon:my,BellIcon:xy,BellMinus:vy,BellMinusIcon:vy,BellOff:ky,BellOffIcon:ky,BellPlus:gy,BellPlusIcon:gy,BellRing:My,BellRingIcon:My,BetweenHorizonalEnd:yc,BetweenHorizonalEndIcon:yc,BetweenHorizonalStart:fc,BetweenHorizonalStartIcon:fc,BetweenHorizontalEnd:yc,BetweenHorizontalEndIcon:yc,BetweenHorizontalStart:fc,BetweenHorizontalStartIcon:fc,BetweenVerticalEnd:by,BetweenVerticalEndIcon:by,BetweenVerticalStart:wy,BetweenVerticalStartIcon:wy,BicepsFlexed:_y,BicepsFlexedIcon:_y,Bike:Sy,BikeIcon:Sy,Binary:Cy,BinaryIcon:Cy,Binoculars:Ly,BinocularsIcon:Ly,Biohazard:Ny,BiohazardIcon:Ny,Bird:Ey,BirdIcon:Ey,Bitcoin:Iy,BitcoinIcon:Iy,Blend:Ty,BlendIcon:Ty,Blinds:Ay,BlindsIcon:Ay,Blocks:Ry,BlocksIcon:Ry,Bluetooth:Oy,BluetoothConnected:$y,BluetoothConnectedIcon:$y,BluetoothIcon:Oy,BluetoothOff:jy,BluetoothOffIcon:jy,BluetoothSearching:Py,BluetoothSearchingIcon:Py,Bold:Dy,BoldIcon:Dy,Bolt:qy,BoltIcon:qy,Bomb:zy,BombIcon:zy,Bone:Vy,BoneIcon:Vy,Book:dm,BookA:Hy,BookAIcon:Hy,BookAudio:By,BookAudioIcon:By,BookCheck:Fy,BookCheckIcon:Fy,BookCopy:Uy,BookCopyIcon:Uy,BookDashed:mc,BookDashedIcon:mc,BookDown:Gy,BookDownIcon:Gy,BookHeadphones:Zy,BookHeadphonesIcon:Zy,BookHeart:Wy,BookHeartIcon:Wy,BookIcon:dm,BookImage:Ky,BookImageIcon:Ky,BookKey:Xy,BookKeyIcon:Xy,BookLock:Qy,BookLockIcon:Qy,BookMarked:Yy,BookMarkedIcon:Yy,BookMinus:Jy,BookMinusIcon:Jy,BookOpen:nm,BookOpenCheck:em,BookOpenCheckIcon:em,BookOpenIcon:nm,BookOpenText:tm,BookOpenTextIcon:tm,BookPlus:am,BookPlusIcon:am,BookTemplate:mc,BookTemplateIcon:mc,BookText:om,BookTextIcon:om,BookType:rm,BookTypeIcon:rm,BookUp:cm,BookUp2:im,BookUp2Icon:im,BookUpIcon:cm,BookUser:sm,BookUserIcon:sm,BookX:lm,BookXIcon:lm,Bookmark:ym,BookmarkCheck:um,BookmarkCheckIcon:um,BookmarkIcon:ym,BookmarkMinus:hm,BookmarkMinusIcon:hm,BookmarkPlus:pm,BookmarkPlusIcon:pm,BookmarkX:fm,BookmarkXIcon:fm,BoomBox:vm,BoomBoxIcon:vm,Bot:gm,BotIcon:gm,BotMessageSquare:mm,BotMessageSquareIcon:mm,BotOff:km,BotOffIcon:km,Box:Mm,BoxIcon:Mm,BoxSelect:Vl,BoxSelectIcon:Vl,Boxes:xm,BoxesIcon:xm,Braces:vc,BracesIcon:vc,Brackets:wm,BracketsIcon:wm,Brain:Cm,BrainCircuit:bm,BrainCircuitIcon:bm,BrainCog:_m,BrainCogIcon:_m,BrainIcon:Cm,BrickWall:Sm,BrickWallIcon:Sm,Briefcase:Im,BriefcaseBusiness:Nm,BriefcaseBusinessIcon:Nm,BriefcaseConveyorBelt:Em,BriefcaseConveyorBeltIcon:Em,BriefcaseIcon:Im,BriefcaseMedical:Lm,BriefcaseMedicalIcon:Lm,BringToFront:Am,BringToFrontIcon:Am,Brush:Rm,BrushIcon:Rm,Bug:jm,BugIcon:jm,BugOff:Tm,BugOffIcon:Tm,BugPlay:$m,BugPlayIcon:$m,Building:Om,Building2:Pm,Building2Icon:Pm,BuildingIcon:Om,Bus:zm,BusFront:Dm,BusFrontIcon:Dm,BusIcon:zm,Cable:Bm,CableCar:qm,CableCarIcon:qm,CableIcon:Bm,Cake:Vm,CakeIcon:Vm,CakeSlice:Hm,CakeSliceIcon:Hm,Calculator:Fm,CalculatorIcon:Fm,Calendar:uv,Calendar1:Gm,Calendar1Icon:Gm,CalendarArrowDown:Wm,CalendarArrowDownIcon:Wm,CalendarArrowUp:Um,CalendarArrowUpIcon:Um,CalendarCheck:Zm,CalendarCheck2:Xm,CalendarCheck2Icon:Xm,CalendarCheckIcon:Zm,CalendarClock:Km,CalendarClockIcon:Km,CalendarCog:Ym,CalendarCogIcon:Ym,CalendarDays:Qm,CalendarDaysIcon:Qm,CalendarFold:Jm,CalendarFoldIcon:Jm,CalendarHeart:ev,CalendarHeartIcon:ev,CalendarIcon:uv,CalendarMinus:nv,CalendarMinus2:tv,CalendarMinus2Icon:tv,CalendarMinusIcon:nv,CalendarOff:av,CalendarOffIcon:av,CalendarPlus:rv,CalendarPlus2:ov,CalendarPlus2Icon:ov,CalendarPlusIcon:rv,CalendarRange:iv,CalendarRangeIcon:iv,CalendarSearch:cv,CalendarSearchIcon:cv,CalendarSync:sv,CalendarSyncIcon:sv,CalendarX:dv,CalendarX2:lv,CalendarX2Icon:lv,CalendarXIcon:dv,Camera:pv,CameraIcon:pv,CameraOff:hv,CameraOffIcon:hv,CandlestickChart:bc,CandlestickChartIcon:bc,Candy:mv,CandyCane:fv,CandyCaneIcon:fv,CandyIcon:mv,CandyOff:yv,CandyOffIcon:yv,Cannabis:vv,CannabisIcon:vv,Captions:kc,CaptionsIcon:kc,CaptionsOff:kv,CaptionsOffIcon:kv,Car:xv,CarFront:gv,CarFrontIcon:gv,CarIcon:xv,CarTaxiFront:Mv,CarTaxiFrontIcon:Mv,Caravan:bv,CaravanIcon:bv,Carrot:wv,CarrotIcon:wv,CaseLower:_v,CaseLowerIcon:_v,CaseSensitive:Sv,CaseSensitiveIcon:Sv,CaseUpper:Cv,CaseUpperIcon:Cv,CassetteTape:Nv,CassetteTapeIcon:Nv,Cast:Lv,CastIcon:Lv,Castle:Ev,CastleIcon:Ev,Cat:Iv,CatIcon:Iv,Cctv:Av,CctvIcon:Av,ChartArea:gc,ChartAreaIcon:gc,ChartBar:xc,ChartBarBig:Mc,ChartBarBigIcon:Mc,ChartBarDecreasing:Tv,ChartBarDecreasingIcon:Tv,ChartBarIcon:xc,ChartBarIncreasing:Rv,ChartBarIncreasingIcon:Rv,ChartBarStacked:$v,ChartBarStackedIcon:$v,ChartCandlestick:bc,ChartCandlestickIcon:bc,ChartColumn:Sc,ChartColumnBig:wc,ChartColumnBigIcon:wc,ChartColumnDecreasing:jv,ChartColumnDecreasingIcon:jv,ChartColumnIcon:Sc,ChartColumnIncreasing:_c,ChartColumnIncreasingIcon:_c,ChartColumnStacked:Pv,ChartColumnStackedIcon:Pv,ChartGantt:Ov,ChartGanttIcon:Ov,ChartLine:Cc,ChartLineIcon:Cc,ChartNetwork:Dv,ChartNetworkIcon:Dv,ChartNoAxesColumn:Lc,ChartNoAxesColumnDecreasing:zv,ChartNoAxesColumnDecreasingIcon:zv,ChartNoAxesColumnIcon:Lc,ChartNoAxesColumnIncreasing:Nc,ChartNoAxesColumnIncreasingIcon:Nc,ChartNoAxesCombined:qv,ChartNoAxesCombinedIcon:qv,ChartNoAxesGantt:Ec,ChartNoAxesGanttIcon:Ec,ChartPie:Ic,ChartPieIcon:Ic,ChartScatter:Ac,ChartScatterIcon:Ac,ChartSpline:Hv,ChartSplineIcon:Hv,Check:sr,CheckCheck:Vv,CheckCheckIcon:Vv,CheckCircle:Hc,CheckCircle2:Vc,CheckCircle2Icon:Vc,CheckCircleIcon:Hc,CheckIcon:sr,CheckSquare:Rl,CheckSquare2:$l,CheckSquare2Icon:$l,CheckSquareIcon:Rl,ChefHat:Bv,ChefHatIcon:Bv,Cherry:Fv,CherryIcon:Fv,ChevronDown:xi,ChevronDownCircle:Bc,ChevronDownCircleIcon:Bc,ChevronDownIcon:xi,ChevronDownSquare:jl,ChevronDownSquareIcon:jl,ChevronFirst:Uv,ChevronFirstIcon:Uv,ChevronLast:Gv,ChevronLastIcon:Gv,ChevronLeft:Hd,ChevronLeftCircle:Fc,ChevronLeftCircleIcon:Fc,ChevronLeftIcon:Hd,ChevronLeftSquare:Pl,ChevronLeftSquareIcon:Pl,ChevronRight:lr,ChevronRightCircle:Uc,ChevronRightCircleIcon:Uc,ChevronRightIcon:lr,ChevronRightSquare:Ol,ChevronRightSquareIcon:Ol,ChevronUp:m2,ChevronUpCircle:Gc,ChevronUpCircleIcon:Gc,ChevronUpIcon:m2,ChevronUpSquare:Dl,ChevronUpSquareIcon:Dl,ChevronsDown:Zv,ChevronsDownIcon:Zv,ChevronsDownUp:Wv,ChevronsDownUpIcon:Wv,ChevronsLeft:Yv,ChevronsLeftIcon:Yv,ChevronsLeftRight:Kv,ChevronsLeftRightEllipsis:Xv,ChevronsLeftRightEllipsisIcon:Xv,ChevronsLeftRightIcon:Kv,ChevronsRight:Jv,ChevronsRightIcon:Jv,ChevronsRightLeft:Qv,ChevronsRightLeftIcon:Qv,ChevronsUp:t4,ChevronsUpDown:e4,ChevronsUpDownIcon:e4,ChevronsUpIcon:t4,Chrome:n4,ChromeIcon:n4,Church:a4,ChurchIcon:a4,Cigarette:r4,CigaretteIcon:r4,CigaretteOff:o4,CigaretteOffIcon:o4,Circle:O1,CircleAlert:Tc,CircleAlertIcon:Tc,CircleArrowDown:Rc,CircleArrowDownIcon:Rc,CircleArrowLeft:$c,CircleArrowLeftIcon:$c,CircleArrowOutDownLeft:jc,CircleArrowOutDownLeftIcon:jc,CircleArrowOutDownRight:Pc,CircleArrowOutDownRightIcon:Pc,CircleArrowOutUpLeft:Oc,CircleArrowOutUpLeftIcon:Oc,CircleArrowOutUpRight:Dc,CircleArrowOutUpRightIcon:Dc,CircleArrowRight:qc,CircleArrowRightIcon:qc,CircleArrowUp:zc,CircleArrowUpIcon:zc,CircleCheck:Vc,CircleCheckBig:Hc,CircleCheckBigIcon:Hc,CircleCheckIcon:Vc,CircleChevronDown:Bc,CircleChevronDownIcon:Bc,CircleChevronLeft:Fc,CircleChevronLeftIcon:Fc,CircleChevronRight:Uc,CircleChevronRightIcon:Uc,CircleChevronUp:Gc,CircleChevronUpIcon:Gc,CircleDashed:i4,CircleDashedIcon:i4,CircleDivide:Wc,CircleDivideIcon:Wc,CircleDollarSign:c4,CircleDollarSignIcon:c4,CircleDot:l4,CircleDotDashed:s4,CircleDotDashedIcon:s4,CircleDotIcon:l4,CircleEllipsis:d4,CircleEllipsisIcon:d4,CircleEqual:u4,CircleEqualIcon:u4,CircleFadingArrowUp:h4,CircleFadingArrowUpIcon:h4,CircleFadingPlus:p4,CircleFadingPlusIcon:p4,CircleGauge:Zc,CircleGaugeIcon:Zc,CircleHelp:Kc,CircleHelpIcon:Kc,CircleIcon:O1,CircleMinus:Xc,CircleMinusIcon:Xc,CircleOff:f4,CircleOffIcon:f4,CircleParking:Qc,CircleParkingIcon:Qc,CircleParkingOff:Yc,CircleParkingOffIcon:Yc,CirclePause:Jc,CirclePauseIcon:Jc,CirclePercent:es,CirclePercentIcon:es,CirclePlay:ts,CirclePlayIcon:ts,CirclePlus:ns,CirclePlusIcon:ns,CirclePower:as,CirclePowerIcon:as,CircleSlash:y4,CircleSlash2:os,CircleSlash2Icon:os,CircleSlashIcon:y4,CircleSlashed:os,CircleSlashedIcon:os,CircleSmall:m4,CircleSmallIcon:m4,CircleStop:rs,CircleStopIcon:rs,CircleUser:cs,CircleUserIcon:cs,CircleUserRound:is,CircleUserRoundIcon:is,CircleX:Or,CircleXIcon:Or,CircuitBoard:v4,CircuitBoardIcon:v4,Citrus:k4,CitrusIcon:k4,Clapperboard:g4,ClapperboardIcon:g4,Clipboard:L4,ClipboardCheck:M4,ClipboardCheckIcon:M4,ClipboardCopy:x4,ClipboardCopyIcon:x4,ClipboardEdit:ls,ClipboardEditIcon:ls,ClipboardIcon:L4,ClipboardList:b4,ClipboardListIcon:b4,ClipboardMinus:w4,ClipboardMinusIcon:w4,ClipboardPaste:_4,ClipboardPasteIcon:_4,ClipboardPen:ls,ClipboardPenIcon:ls,ClipboardPenLine:ss,ClipboardPenLineIcon:ss,ClipboardPlus:S4,ClipboardPlusIcon:S4,ClipboardSignature:ss,ClipboardSignatureIcon:ss,ClipboardType:C4,ClipboardTypeIcon:C4,ClipboardX:N4,ClipboardXIcon:N4,Clock:U4,Clock1:E4,Clock10:I4,Clock10Icon:I4,Clock11:A4,Clock11Icon:A4,Clock12:T4,Clock12Icon:T4,Clock1Icon:E4,Clock2:R4,Clock2Icon:R4,Clock3:$4,Clock3Icon:$4,Clock4:j4,Clock4Icon:j4,Clock5:P4,Clock5Icon:P4,Clock6:O4,Clock6Icon:O4,Clock7:D4,Clock7Icon:D4,Clock8:z4,Clock8Icon:z4,Clock9:q4,Clock9Icon:q4,ClockAlert:H4,ClockAlertIcon:H4,ClockArrowDown:V4,ClockArrowDownIcon:V4,ClockArrowUp:B4,ClockArrowUpIcon:B4,ClockFading:F4,ClockFadingIcon:F4,ClockIcon:U4,Cloud:ik,CloudAlert:G4,CloudAlertIcon:G4,CloudCog:W4,CloudCogIcon:W4,CloudDownload:ds,CloudDownloadIcon:ds,CloudDrizzle:Z4,CloudDrizzleIcon:Z4,CloudFog:X4,CloudFogIcon:X4,CloudHail:Y4,CloudHailIcon:Y4,CloudIcon:ik,CloudLightning:K4,CloudLightningIcon:K4,CloudMoon:J4,CloudMoonIcon:J4,CloudMoonRain:Q4,CloudMoonRainIcon:Q4,CloudOff:ek,CloudOffIcon:ek,CloudRain:tk,CloudRainIcon:tk,CloudRainWind:nk,CloudRainWindIcon:nk,CloudSnow:ak,CloudSnowIcon:ak,CloudSun:ok,CloudSunIcon:ok,CloudSunRain:rk,CloudSunRainIcon:rk,CloudUpload:us,CloudUploadIcon:us,Cloudy:ck,CloudyIcon:ck,Clover:sk,CloverIcon:sk,Club:lk,ClubIcon:lk,Code:dk,Code2:hs,Code2Icon:hs,CodeIcon:dk,CodeSquare:zl,CodeSquareIcon:zl,CodeXml:hs,CodeXmlIcon:hs,Codepen:uk,CodepenIcon:uk,Codesandbox:hk,CodesandboxIcon:hk,Coffee:pk,CoffeeIcon:pk,Cog:fk,CogIcon:fk,Coins:yk,CoinsIcon:yk,Columns:ps,Columns2:ps,Columns2Icon:ps,Columns3:fs,Columns3Icon:fs,Columns4:mk,Columns4Icon:mk,ColumnsIcon:ps,Combine:vk,CombineIcon:vk,Command:kk,CommandIcon:kk,Compass:gk,CompassIcon:gk,Component:Mk,ComponentIcon:Mk,Computer:xk,ComputerIcon:xk,ConciergeBell:bk,ConciergeBellIcon:bk,Cone:wk,ConeIcon:wk,Construction:_k,ConstructionIcon:_k,Contact:Sk,Contact2:ys,Contact2Icon:ys,ContactIcon:Sk,ContactRound:ys,ContactRoundIcon:ys,Container:Ck,ContainerIcon:Ck,Contrast:Nk,ContrastIcon:Nk,Cookie:Lk,CookieIcon:Lk,CookingPot:Ek,CookingPotIcon:Ek,Copy:jk,CopyCheck:Ik,CopyCheckIcon:Ik,CopyIcon:jk,CopyMinus:Ak,CopyMinusIcon:Ak,CopyPlus:Tk,CopyPlusIcon:Tk,CopySlash:Rk,CopySlashIcon:Rk,CopyX:$k,CopyXIcon:$k,Copyleft:Ok,CopyleftIcon:Ok,Copyright:Pk,CopyrightIcon:Pk,CornerDownLeft:Dk,CornerDownLeftIcon:Dk,CornerDownRight:zk,CornerDownRightIcon:zk,CornerLeftDown:qk,CornerLeftDownIcon:qk,CornerLeftUp:Hk,CornerLeftUpIcon:Hk,CornerRightDown:Vk,CornerRightDownIcon:Vk,CornerRightUp:Bk,CornerRightUpIcon:Bk,CornerUpLeft:Fk,CornerUpLeftIcon:Fk,CornerUpRight:Uk,CornerUpRightIcon:Uk,Cpu:Gk,CpuIcon:Gk,CreativeCommons:Wk,CreativeCommonsIcon:Wk,CreditCard:Zk,CreditCardIcon:Zk,Croissant:Xk,CroissantIcon:Xk,Crop:Kk,CropIcon:Kk,Cross:Yk,CrossIcon:Yk,Crosshair:Qk,CrosshairIcon:Qk,Crown:Jk,CrownIcon:Jk,Cuboid:eg,CuboidIcon:eg,CupSoda:tg,CupSodaIcon:tg,CurlyBraces:vc,CurlyBracesIcon:vc,Currency:ng,CurrencyIcon:ng,Cylinder:ag,CylinderIcon:ag,Dam:og,DamIcon:og,Database:sg,DatabaseBackup:rg,DatabaseBackupIcon:rg,DatabaseIcon:sg,DatabaseZap:ig,DatabaseZapIcon:ig,Delete:cg,DeleteIcon:cg,Dessert:lg,DessertIcon:lg,Diameter:dg,DiameterIcon:dg,Diamond:pg,DiamondIcon:pg,DiamondMinus:ug,DiamondMinusIcon:ug,DiamondPercent:ms,DiamondPercentIcon:ms,DiamondPlus:hg,DiamondPlusIcon:hg,Dice1:fg,Dice1Icon:fg,Dice2:yg,Dice2Icon:yg,Dice3:mg,Dice3Icon:mg,Dice4:vg,Dice4Icon:vg,Dice5:kg,Dice5Icon:kg,Dice6:gg,Dice6Icon:gg,Dices:Mg,DicesIcon:Mg,Diff:xg,DiffIcon:xg,Disc:Sg,Disc2:wg,Disc2Icon:wg,Disc3:bg,Disc3Icon:bg,DiscAlbum:_g,DiscAlbumIcon:_g,DiscIcon:Sg,Divide:Cg,DivideCircle:Wc,DivideCircleIcon:Wc,DivideIcon:Cg,DivideSquare:Bl,DivideSquareIcon:Bl,Dna:Lg,DnaIcon:Lg,DnaOff:Ng,DnaOffIcon:Ng,Dock:Eg,DockIcon:Eg,Dog:Ig,DogIcon:Ig,DollarSign:Ag,DollarSignIcon:Ag,Donut:Tg,DonutIcon:Tg,DoorClosed:Rg,DoorClosedIcon:Rg,DoorOpen:$g,DoorOpenIcon:$g,Dot:jg,DotIcon:jg,DotSquare:Fl,DotSquareIcon:Fl,Download:Og,DownloadCloud:ds,DownloadCloudIcon:ds,DownloadIcon:Og,DraftingCompass:Pg,DraftingCompassIcon:Pg,Drama:Dg,DramaIcon:Dg,Dribbble:zg,DribbbleIcon:zg,Drill:qg,DrillIcon:qg,Droplet:Vg,DropletIcon:Vg,DropletOff:Hg,DropletOffIcon:Hg,Droplets:Fg,DropletsIcon:Fg,Drum:Ug,DrumIcon:Ug,Drumstick:Bg,DrumstickIcon:Bg,Dumbbell:Gg,DumbbellIcon:Gg,Ear:Zg,EarIcon:Zg,EarOff:Wg,EarOffIcon:Wg,Earth:vs,EarthIcon:vs,EarthLock:Xg,EarthLockIcon:Xg,Eclipse:Kg,EclipseIcon:Kg,Edit:Un,Edit2:cl,Edit2Icon:cl,Edit3:il,Edit3Icon:il,EditIcon:Un,Egg:Jg,EggFried:Yg,EggFriedIcon:Yg,EggIcon:Jg,EggOff:Qg,EggOffIcon:Qg,Ellipsis:Dr,EllipsisIcon:Dr,EllipsisVertical:ks,EllipsisVerticalIcon:ks,Equal:n5,EqualApproximately:e5,EqualApproximatelyIcon:e5,EqualIcon:n5,EqualNot:t5,EqualNotIcon:t5,EqualSquare:Gl,EqualSquareIcon:Gl,Eraser:a5,EraserIcon:a5,EthernetPort:o5,EthernetPortIcon:o5,Euro:r5,EuroIcon:r5,Expand:i5,ExpandIcon:i5,ExternalLink:v2,ExternalLinkIcon:v2,Eye:l5,EyeClosed:c5,EyeClosedIcon:c5,EyeIcon:l5,EyeOff:s5,EyeOffIcon:s5,Facebook:d5,FacebookIcon:d5,Factory:u5,FactoryIcon:u5,Fan:h5,FanIcon:h5,FastForward:p5,FastForwardIcon:p5,Feather:f5,FeatherIcon:f5,Fence:y5,FenceIcon:y5,FerrisWheel:m5,FerrisWheelIcon:m5,Figma:v5,FigmaIcon:v5,File:p3,FileArchive:k5,FileArchiveIcon:k5,FileAudio:M5,FileAudio2:g5,FileAudio2Icon:g5,FileAudioIcon:M5,FileAxis3D:gs,FileAxis3DIcon:gs,FileAxis3d:gs,FileAxis3dIcon:gs,FileBadge:b5,FileBadge2:x5,FileBadge2Icon:x5,FileBadgeIcon:b5,FileBarChart:Ms,FileBarChart2:xs,FileBarChart2Icon:xs,FileBarChartIcon:Ms,FileBox:w5,FileBoxIcon:w5,FileChartColumn:xs,FileChartColumnIcon:xs,FileChartColumnIncreasing:Ms,FileChartColumnIncreasingIcon:Ms,FileChartLine:ws,FileChartLineIcon:ws,FileChartPie:bs,FileChartPieIcon:bs,FileCheck:S5,FileCheck2:_5,FileCheck2Icon:_5,FileCheckIcon:S5,FileClock:C5,FileClockIcon:C5,FileCode:L5,FileCode2:N5,FileCode2Icon:N5,FileCodeIcon:L5,FileCog:_s,FileCog2:_s,FileCog2Icon:_s,FileCogIcon:_s,FileDiff:E5,FileDiffIcon:E5,FileDigit:I5,FileDigitIcon:I5,FileDown:A5,FileDownIcon:A5,FileEdit:Cs,FileEditIcon:Cs,FileHeart:T5,FileHeartIcon:T5,FileIcon:p3,FileImage:R5,FileImageIcon:R5,FileInput:$5,FileInputIcon:$5,FileJson:P5,FileJson2:j5,FileJson2Icon:j5,FileJsonIcon:P5,FileKey:D5,FileKey2:O5,FileKey2Icon:O5,FileKeyIcon:D5,FileLineChart:ws,FileLineChartIcon:ws,FileLock:q5,FileLock2:z5,FileLock2Icon:z5,FileLockIcon:q5,FileMinus:V5,FileMinus2:H5,FileMinus2Icon:H5,FileMinusIcon:V5,FileMusic:B5,FileMusicIcon:B5,FileOutput:F5,FileOutputIcon:F5,FilePen:Cs,FilePenIcon:Cs,FilePenLine:Ss,FilePenLineIcon:Ss,FilePieChart:bs,FilePieChartIcon:bs,FilePlus:G5,FilePlus2:U5,FilePlus2Icon:U5,FilePlusIcon:G5,FileQuestion:Z5,FileQuestionIcon:Z5,FileScan:W5,FileScanIcon:W5,FileSearch:K5,FileSearch2:X5,FileSearch2Icon:X5,FileSearchIcon:K5,FileSignature:Ss,FileSignatureIcon:Ss,FileSliders:Y5,FileSlidersIcon:Y5,FileSpreadsheet:J5,FileSpreadsheetIcon:J5,FileStack:Q5,FileStackIcon:Q5,FileSymlink:e3,FileSymlinkIcon:e3,FileTerminal:t3,FileTerminalIcon:t3,FileText:n3,FileTextIcon:n3,FileType:o3,FileType2:a3,FileType2Icon:a3,FileTypeIcon:o3,FileUp:r3,FileUpIcon:r3,FileUser:i3,FileUserIcon:i3,FileVideo:s3,FileVideo2:c3,FileVideo2Icon:c3,FileVideoIcon:s3,FileVolume:d3,FileVolume2:l3,FileVolume2Icon:l3,FileVolumeIcon:d3,FileWarning:u3,FileWarningIcon:u3,FileX:h3,FileX2:f3,FileX2Icon:f3,FileXIcon:h3,Files:y3,FilesIcon:y3,Film:m3,FilmIcon:m3,Filter:Is,FilterIcon:Is,FilterX:Es,FilterXIcon:Es,Fingerprint:v3,FingerprintIcon:v3,FireExtinguisher:k3,FireExtinguisherIcon:k3,Fish:x3,FishIcon:x3,FishOff:g3,FishOffIcon:g3,FishSymbol:M3,FishSymbolIcon:M3,Flag:S3,FlagIcon:S3,FlagOff:b3,FlagOffIcon:b3,FlagTriangleLeft:w3,FlagTriangleLeftIcon:w3,FlagTriangleRight:_3,FlagTriangleRightIcon:_3,Flame:N3,FlameIcon:N3,FlameKindling:C3,FlameKindlingIcon:C3,Flashlight:E3,FlashlightIcon:E3,FlashlightOff:L3,FlashlightOffIcon:L3,FlaskConical:A3,FlaskConicalIcon:A3,FlaskConicalOff:I3,FlaskConicalOffIcon:I3,FlaskRound:T3,FlaskRoundIcon:T3,FlipHorizontal:$3,FlipHorizontal2:R3,FlipHorizontal2Icon:R3,FlipHorizontalIcon:$3,FlipVertical:P3,FlipVertical2:j3,FlipVertical2Icon:j3,FlipVerticalIcon:P3,Flower:D3,Flower2:O3,Flower2Icon:O3,FlowerIcon:D3,Focus:z3,FocusIcon:z3,FoldHorizontal:q3,FoldHorizontalIcon:q3,FoldVertical:H3,FoldVerticalIcon:H3,Folder:y6,FolderArchive:V3,FolderArchiveIcon:V3,FolderCheck:B3,FolderCheckIcon:B3,FolderClock:U3,FolderClockIcon:U3,FolderClosed:F3,FolderClosedIcon:F3,FolderCode:G3,FolderCodeIcon:G3,FolderCog:Ns,FolderCog2:Ns,FolderCog2Icon:Ns,FolderCogIcon:Ns,FolderDot:W3,FolderDotIcon:W3,FolderDown:Z3,FolderDownIcon:Z3,FolderEdit:Ls,FolderEditIcon:Ls,FolderGit:Q3,FolderGit2:X3,FolderGit2Icon:X3,FolderGitIcon:Q3,FolderHeart:K3,FolderHeartIcon:K3,FolderIcon:y6,FolderInput:Y3,FolderInputIcon:Y3,FolderKanban:J3,FolderKanbanIcon:J3,FolderKey:e6,FolderKeyIcon:e6,FolderLock:t6,FolderLockIcon:t6,FolderMinus:a6,FolderMinusIcon:a6,FolderOpen:o6,FolderOpenDot:n6,FolderOpenDotIcon:n6,FolderOpenIcon:o6,FolderOutput:r6,FolderOutputIcon:r6,FolderPen:Ls,FolderPenIcon:Ls,FolderPlus:i6,FolderPlusIcon:i6,FolderRoot:c6,FolderRootIcon:c6,FolderSearch:l6,FolderSearch2:s6,FolderSearch2Icon:s6,FolderSearchIcon:l6,FolderSymlink:d6,FolderSymlinkIcon:d6,FolderSync:u6,FolderSyncIcon:u6,FolderTree:h6,FolderTreeIcon:h6,FolderUp:f6,FolderUpIcon:f6,FolderX:p6,FolderXIcon:p6,Folders:m6,FoldersIcon:m6,Footprints:v6,FootprintsIcon:v6,ForkKnife:A1,ForkKnifeCrossed:I1,ForkKnifeCrossedIcon:I1,ForkKnifeIcon:A1,Forklift:k6,ForkliftIcon:k6,FormInput:ll,FormInputIcon:ll,Forward:g6,ForwardIcon:g6,Frame:M6,FrameIcon:M6,Framer:x6,FramerIcon:x6,Frown:b6,FrownIcon:b6,Fuel:w6,FuelIcon:w6,Fullscreen:_6,FullscreenIcon:_6,FunctionSquare:Ul,FunctionSquareIcon:Ul,Funnel:Is,FunnelIcon:Is,FunnelPlus:S6,FunnelPlusIcon:S6,FunnelX:Es,FunnelXIcon:Es,GalleryHorizontal:N6,GalleryHorizontalEnd:C6,GalleryHorizontalEndIcon:C6,GalleryHorizontalIcon:N6,GalleryThumbnails:L6,GalleryThumbnailsIcon:L6,GalleryVertical:I6,GalleryVerticalEnd:E6,GalleryVerticalEndIcon:E6,GalleryVerticalIcon:I6,Gamepad:T6,Gamepad2:A6,Gamepad2Icon:A6,GamepadIcon:T6,GanttChart:Ec,GanttChartIcon:Ec,GanttChartSquare:nr,GanttChartSquareIcon:nr,Gauge:R6,GaugeCircle:Zc,GaugeCircleIcon:Zc,GaugeIcon:R6,Gavel:j6,GavelIcon:j6,Gem:$6,GemIcon:$6,Ghost:P6,GhostIcon:P6,Gift:D6,GiftIcon:D6,GitBranch:z6,GitBranchIcon:z6,GitBranchPlus:O6,GitBranchPlusIcon:O6,GitCommit:As,GitCommitHorizontal:As,GitCommitHorizontalIcon:As,GitCommitIcon:As,GitCommitVertical:q6,GitCommitVerticalIcon:q6,GitCompare:V6,GitCompareArrows:H6,GitCompareArrowsIcon:H6,GitCompareIcon:V6,GitFork:B6,GitForkIcon:B6,GitGraph:F6,GitGraphIcon:F6,GitMerge:U6,GitMergeIcon:U6,GitPullRequest:Y6,GitPullRequestArrow:G6,GitPullRequestArrowIcon:G6,GitPullRequestClosed:W6,GitPullRequestClosedIcon:W6,GitPullRequestCreate:X6,GitPullRequestCreateArrow:Z6,GitPullRequestCreateArrowIcon:Z6,GitPullRequestCreateIcon:X6,GitPullRequestDraft:K6,GitPullRequestDraftIcon:K6,GitPullRequestIcon:Y6,Github:Q6,GithubIcon:Q6,Gitlab:J6,GitlabIcon:J6,GlassWater:e8,GlassWaterIcon:e8,Glasses:t8,GlassesIcon:t8,Globe:a8,Globe2:vs,Globe2Icon:vs,GlobeIcon:a8,GlobeLock:n8,GlobeLockIcon:n8,Goal:r8,GoalIcon:r8,Grab:o8,GrabIcon:o8,GraduationCap:i8,GraduationCapIcon:i8,Grape:c8,GrapeIcon:c8,Grid:tr,Grid2X2:js,Grid2X2Check:Ts,Grid2X2CheckIcon:Ts,Grid2X2Icon:js,Grid2X2Plus:Rs,Grid2X2PlusIcon:Rs,Grid2X2X:$s,Grid2X2XIcon:$s,Grid2x2:js,Grid2x2Check:Ts,Grid2x2CheckIcon:Ts,Grid2x2Icon:js,Grid2x2Plus:Rs,Grid2x2PlusIcon:Rs,Grid2x2X:$s,Grid2x2XIcon:$s,Grid3X3:tr,Grid3X3Icon:tr,Grid3x3:tr,Grid3x3Icon:tr,GridIcon:tr,Grip:d8,GripHorizontal:s8,GripHorizontalIcon:s8,GripIcon:d8,GripVertical:l8,GripVerticalIcon:l8,Group:u8,GroupIcon:u8,Guitar:h8,GuitarIcon:h8,Ham:p8,HamIcon:p8,Hammer:f8,HammerIcon:f8,Hand:g8,HandCoins:y8,HandCoinsIcon:y8,HandHeart:m8,HandHeartIcon:m8,HandHelping:Ps,HandHelpingIcon:Ps,HandIcon:g8,HandMetal:v8,HandMetalIcon:v8,HandPlatter:k8,HandPlatterIcon:k8,Handshake:M8,HandshakeIcon:M8,HardDrive:w8,HardDriveDownload:x8,HardDriveDownloadIcon:x8,HardDriveIcon:w8,HardDriveUpload:b8,HardDriveUploadIcon:b8,HardHat:_8,HardHatIcon:_8,Hash:S8,HashIcon:S8,Haze:C8,HazeIcon:C8,HdmiPort:N8,HdmiPortIcon:N8,Heading:$8,Heading1:L8,Heading1Icon:L8,Heading2:E8,Heading2Icon:E8,Heading3:I8,Heading3Icon:I8,Heading4:T8,Heading4Icon:T8,Heading5:A8,Heading5Icon:A8,Heading6:R8,Heading6Icon:R8,HeadingIcon:$8,HeadphoneOff:j8,HeadphoneOffIcon:j8,Headphones:P8,HeadphonesIcon:P8,Headset:O8,HeadsetIcon:O8,Heart:V8,HeartCrack:D8,HeartCrackIcon:D8,HeartHandshake:z8,HeartHandshakeIcon:z8,HeartIcon:V8,HeartOff:q8,HeartOffIcon:q8,HeartPulse:H8,HeartPulseIcon:H8,Heater:B8,HeaterIcon:B8,HelpCircle:Kc,HelpCircleIcon:Kc,HelpingHand:Ps,HelpingHandIcon:Ps,Hexagon:F8,HexagonIcon:F8,Highlighter:U8,HighlighterIcon:U8,History:G8,HistoryIcon:G8,Home:Os,HomeIcon:Os,Hop:Z8,HopIcon:Z8,HopOff:W8,HopOffIcon:W8,Hospital:X8,HospitalIcon:X8,Hotel:Q8,HotelIcon:Q8,Hourglass:K8,HourglassIcon:K8,House:Os,HouseIcon:Os,HousePlug:Y8,HousePlugIcon:Y8,HousePlus:J8,HousePlusIcon:J8,HouseWifi:eM,HouseWifiIcon:eM,IceCream:zs,IceCream2:Ds,IceCream2Icon:Ds,IceCreamBowl:Ds,IceCreamBowlIcon:Ds,IceCreamCone:zs,IceCreamConeIcon:zs,IceCreamIcon:zs,Icon:pG,IdCard:tM,IdCardIcon:tM,Image:lM,ImageDown:nM,ImageDownIcon:nM,ImageIcon:lM,ImageMinus:aM,ImageMinusIcon:aM,ImageOff:oM,ImageOffIcon:oM,ImagePlay:rM,ImagePlayIcon:rM,ImagePlus:iM,ImagePlusIcon:iM,ImageUp:cM,ImageUpIcon:cM,ImageUpscale:sM,ImageUpscaleIcon:sM,Images:dM,ImagesIcon:dM,Import:uM,ImportIcon:uM,Inbox:hM,InboxIcon:hM,Indent:Hs,IndentDecrease:qs,IndentDecreaseIcon:qs,IndentIcon:Hs,IndentIncrease:Hs,IndentIncreaseIcon:Hs,IndianRupee:pM,IndianRupeeIcon:pM,Infinity:fM,InfinityIcon:fM,Info:yM,InfoIcon:yM,Inspect:Ql,InspectIcon:Ql,InspectionPanel:mM,InspectionPanelIcon:mM,Instagram:vM,InstagramIcon:vM,Italic:kM,ItalicIcon:kM,IterationCcw:gM,IterationCcwIcon:gM,IterationCw:MM,IterationCwIcon:MM,JapaneseYen:xM,JapaneseYenIcon:xM,Joystick:bM,JoystickIcon:bM,Kanban:wM,KanbanIcon:wM,KanbanSquare:Wl,KanbanSquareDashed:ql,KanbanSquareDashedIcon:ql,KanbanSquareIcon:Wl,Key:CM,KeyIcon:CM,KeyRound:_M,KeyRoundIcon:_M,KeySquare:SM,KeySquareIcon:SM,Keyboard:EM,KeyboardIcon:EM,KeyboardMusic:NM,KeyboardMusicIcon:NM,KeyboardOff:LM,KeyboardOffIcon:LM,Lamp:jM,LampCeiling:IM,LampCeilingIcon:IM,LampDesk:AM,LampDeskIcon:AM,LampFloor:TM,LampFloorIcon:TM,LampIcon:jM,LampWallDown:RM,LampWallDownIcon:RM,LampWallUp:$M,LampWallUpIcon:$M,LandPlot:PM,LandPlotIcon:PM,Landmark:OM,LandmarkIcon:OM,Languages:zM,LanguagesIcon:zM,Laptop:qM,Laptop2:Vs,Laptop2Icon:Vs,LaptopIcon:qM,LaptopMinimal:Vs,LaptopMinimalCheck:DM,LaptopMinimalCheckIcon:DM,LaptopMinimalIcon:Vs,Lasso:VM,LassoIcon:VM,LassoSelect:HM,LassoSelectIcon:HM,Laugh:BM,LaughIcon:BM,Layers:Bs,Layers2:FM,Layers2Icon:FM,Layers3:Bs,Layers3Icon:Bs,LayersIcon:Bs,Layout:rl,LayoutDashboard:UM,LayoutDashboardIcon:UM,LayoutGrid:GM,LayoutGridIcon:GM,LayoutIcon:rl,LayoutList:WM,LayoutListIcon:WM,LayoutPanelLeft:ZM,LayoutPanelLeftIcon:ZM,LayoutPanelTop:XM,LayoutPanelTopIcon:XM,LayoutTemplate:KM,LayoutTemplateIcon:KM,Leaf:YM,LeafIcon:YM,LeafyGreen:QM,LeafyGreenIcon:QM,Lectern:JM,LecternIcon:JM,LetterText:ex,LetterTextIcon:ex,Library:ax,LibraryBig:tx,LibraryBigIcon:tx,LibraryIcon:ax,LibrarySquare:Zl,LibrarySquareIcon:Zl,LifeBuoy:nx,LifeBuoyIcon:nx,Ligature:ox,LigatureIcon:ox,Lightbulb:ix,LightbulbIcon:ix,LightbulbOff:rx,LightbulbOffIcon:rx,LineChart:Cc,LineChartIcon:Cc,Link:sx,Link2:lx,Link2Icon:lx,Link2Off:cx,Link2OffIcon:cx,LinkIcon:sx,Linkedin:dx,LinkedinIcon:dx,List:Nx,ListCheck:ux,ListCheckIcon:ux,ListChecks:hx,ListChecksIcon:hx,ListCollapse:fx,ListCollapseIcon:fx,ListEnd:px,ListEndIcon:px,ListFilter:mx,ListFilterIcon:mx,ListFilterPlus:yx,ListFilterPlusIcon:yx,ListIcon:Nx,ListMinus:vx,ListMinusIcon:vx,ListMusic:kx,ListMusicIcon:kx,ListOrdered:gx,ListOrderedIcon:gx,ListPlus:Mx,ListPlusIcon:Mx,ListRestart:xx,ListRestartIcon:xx,ListStart:bx,ListStartIcon:bx,ListTodo:wx,ListTodoIcon:wx,ListTree:_x,ListTreeIcon:_x,ListVideo:Sx,ListVideoIcon:Sx,ListX:Cx,ListXIcon:Cx,Loader:Ex,Loader2:Fs,Loader2Icon:Fs,LoaderCircle:Fs,LoaderCircleIcon:Fs,LoaderIcon:Ex,LoaderPinwheel:Lx,LoaderPinwheelIcon:Lx,Locate:Tx,LocateFixed:Ix,LocateFixedIcon:Ix,LocateIcon:Tx,LocateOff:Ax,LocateOffIcon:Ax,Lock:$x,LockIcon:$x,LockKeyhole:Rx,LockKeyholeIcon:Rx,LockKeyholeOpen:Us,LockKeyholeOpenIcon:Us,LockOpen:Gs,LockOpenIcon:Gs,LogIn:jx,LogInIcon:jx,LogOut:Px,LogOutIcon:Px,Logs:Ox,LogsIcon:Ox,Lollipop:Dx,LollipopIcon:Dx,LucideAArrowDown:jh,LucideAArrowUp:Ph,LucideALargeSmall:Oh,LucideAccessibility:Dh,LucideActivity:zh,LucideActivitySquare:kl,LucideAirVent:qh,LucideAirplay:Hh,LucideAlarmCheck:ac,LucideAlarmClock:Bh,LucideAlarmClockCheck:ac,LucideAlarmClockMinus:oc,LucideAlarmClockOff:Vh,LucideAlarmClockPlus:rc,LucideAlarmMinus:oc,LucideAlarmPlus:rc,LucideAlarmSmoke:Fh,LucideAlbum:Uh,LucideAlertCircle:Tc,LucideAlertOctagon:Xs,LucideAlertTriangle:M1,LucideAlignCenter:Xh,LucideAlignCenterHorizontal:Gh,LucideAlignCenterVertical:Wh,LucideAlignEndHorizontal:Zh,LucideAlignEndVertical:Kh,LucideAlignHorizontalDistributeCenter:Yh,LucideAlignHorizontalDistributeEnd:Qh,LucideAlignHorizontalDistributeStart:Jh,LucideAlignHorizontalJustifyCenter:ep,LucideAlignHorizontalJustifyEnd:tp,LucideAlignHorizontalJustifyStart:np,LucideAlignHorizontalSpaceAround:ap,LucideAlignHorizontalSpaceBetween:op,LucideAlignJustify:rp,LucideAlignLeft:ip,LucideAlignRight:cp,LucideAlignStartHorizontal:sp,LucideAlignStartVertical:lp,LucideAlignVerticalDistributeCenter:dp,LucideAlignVerticalDistributeEnd:up,LucideAlignVerticalDistributeStart:hp,LucideAlignVerticalJustifyCenter:pp,LucideAlignVerticalJustifyEnd:fp,LucideAlignVerticalJustifyStart:yp,LucideAlignVerticalSpaceAround:mp,LucideAlignVerticalSpaceBetween:vp,LucideAmbulance:kp,LucideAmpersand:gp,LucideAmpersands:Mp,LucideAmphora:bp,LucideAnchor:xp,LucideAngry:wp,LucideAnnoyed:Sp,LucideAntenna:_p,LucideAnvil:Cp,LucideAperture:Np,LucideAppWindow:Ep,LucideAppWindowMac:Lp,LucideApple:Ap,LucideArchive:$p,LucideArchiveRestore:Ip,LucideArchiveX:Tp,LucideAreaChart:gc,LucideArmchair:Rp,LucideArrowBigDown:Pp,LucideArrowBigDownDash:jp,LucideArrowBigLeft:Dp,LucideArrowBigLeftDash:Op,LucideArrowBigRight:qp,LucideArrowBigRightDash:zp,LucideArrowBigUp:Vp,LucideArrowBigUpDash:Hp,LucideArrowDown:Qp,LucideArrowDown01:Bp,LucideArrowDown10:Fp,LucideArrowDownAZ:ic,LucideArrowDownAz:ic,LucideArrowDownCircle:Rc,LucideArrowDownFromLine:Up,LucideArrowDownLeft:Gp,LucideArrowDownLeftFromCircle:jc,LucideArrowDownLeftFromSquare:wl,LucideArrowDownLeftSquare:gl,LucideArrowDownNarrowWide:Wp,LucideArrowDownRight:Zp,LucideArrowDownRightFromCircle:Pc,LucideArrowDownRightFromSquare:_l,LucideArrowDownRightSquare:Ml,LucideArrowDownSquare:bl,LucideArrowDownToDot:Yp,LucideArrowDownToLine:Xp,LucideArrowDownUp:Kp,LucideArrowDownWideNarrow:cc,LucideArrowDownZA:sc,LucideArrowDownZa:sc,LucideArrowLeft:nf,LucideArrowLeftCircle:$c,LucideArrowLeftFromLine:Jp,LucideArrowLeftRight:ef,LucideArrowLeftSquare:xl,LucideArrowLeftToLine:tf,LucideArrowRight:cf,LucideArrowRightCircle:qc,LucideArrowRightFromLine:af,LucideArrowRightLeft:of,LucideArrowRightSquare:Nl,LucideArrowRightToLine:rf,LucideArrowUp:vf,LucideArrowUp01:sf,LucideArrowUp10:lf,LucideArrowUpAZ:lc,LucideArrowUpAz:lc,LucideArrowUpCircle:zc,LucideArrowUpDown:uf,LucideArrowUpFromDot:df,LucideArrowUpFromLine:hf,LucideArrowUpLeft:pf,LucideArrowUpLeftFromCircle:Oc,LucideArrowUpLeftFromSquare:Sl,LucideArrowUpLeftSquare:Ll,LucideArrowUpNarrowWide:dc,LucideArrowUpRight:ff,LucideArrowUpRightFromCircle:Dc,LucideArrowUpRightFromSquare:Cl,LucideArrowUpRightSquare:El,LucideArrowUpSquare:Il,LucideArrowUpToLine:yf,LucideArrowUpWideNarrow:mf,LucideArrowUpZA:uc,LucideArrowUpZa:uc,LucideArrowsUpFromLine:kf,LucideAsterisk:Mf,LucideAsteriskSquare:Al,LucideAtSign:gf,LucideAtom:xf,LucideAudioLines:bf,LucideAudioWaveform:wf,LucideAward:_f,LucideAxe:Sf,LucideAxis3D:hc,LucideAxis3d:hc,LucideBaby:Cf,LucideBackpack:Nf,LucideBadge:Bf,LucideBadgeAlert:Lf,LucideBadgeCent:Ef,LucideBadgeCheck:pc,LucideBadgeDollarSign:If,LucideBadgeEuro:Af,LucideBadgeHelp:Tf,LucideBadgeIndianRupee:Rf,LucideBadgeInfo:$f,LucideBadgeJapaneseYen:jf,LucideBadgeMinus:Pf,LucideBadgePercent:Of,LucideBadgePlus:Df,LucideBadgePoundSterling:zf,LucideBadgeRussianRuble:qf,LucideBadgeSwissFranc:Hf,LucideBadgeX:Vf,LucideBaggageClaim:Ff,LucideBan:Uf,LucideBanana:Gf,LucideBandage:Wf,LucideBanknote:Kf,LucideBanknoteArrowDown:Zf,LucideBarChart:Nc,LucideBarChart2:Lc,LucideBarChart3:Sc,LucideBarChart4:_c,LucideBarChartBig:wc,LucideBarChartHorizontal:xc,LucideBarChartHorizontalBig:Mc,LucideBarcode:Xf,LucideBaseline:Yf,LucideBath:Qf,LucideBattery:ry,LucideBatteryCharging:Jf,LucideBatteryFull:ey,LucideBatteryLow:ty,LucideBatteryMedium:ny,LucideBatteryPlus:ay,LucideBatteryWarning:oy,LucideBeaker:iy,LucideBean:sy,LucideBeanOff:cy,LucideBed:uy,LucideBedDouble:ly,LucideBedSingle:dy,LucideBeef:hy,LucideBeer:fy,LucideBeerOff:py,LucideBell:xy,LucideBellDot:yy,LucideBellElectric:my,LucideBellMinus:vy,LucideBellOff:ky,LucideBellPlus:gy,LucideBellRing:My,LucideBetweenHorizonalEnd:yc,LucideBetweenHorizonalStart:fc,LucideBetweenHorizontalEnd:yc,LucideBetweenHorizontalStart:fc,LucideBetweenVerticalEnd:by,LucideBetweenVerticalStart:wy,LucideBicepsFlexed:_y,LucideBike:Sy,LucideBinary:Cy,LucideBinoculars:Ly,LucideBiohazard:Ny,LucideBird:Ey,LucideBitcoin:Iy,LucideBlend:Ty,LucideBlinds:Ay,LucideBlocks:Ry,LucideBluetooth:Oy,LucideBluetoothConnected:$y,LucideBluetoothOff:jy,LucideBluetoothSearching:Py,LucideBold:Dy,LucideBolt:qy,LucideBomb:zy,LucideBone:Vy,LucideBook:dm,LucideBookA:Hy,LucideBookAudio:By,LucideBookCheck:Fy,LucideBookCopy:Uy,LucideBookDashed:mc,LucideBookDown:Gy,LucideBookHeadphones:Zy,LucideBookHeart:Wy,LucideBookImage:Ky,LucideBookKey:Xy,LucideBookLock:Qy,LucideBookMarked:Yy,LucideBookMinus:Jy,LucideBookOpen:nm,LucideBookOpenCheck:em,LucideBookOpenText:tm,LucideBookPlus:am,LucideBookTemplate:mc,LucideBookText:om,LucideBookType:rm,LucideBookUp:cm,LucideBookUp2:im,LucideBookUser:sm,LucideBookX:lm,LucideBookmark:ym,LucideBookmarkCheck:um,LucideBookmarkMinus:hm,LucideBookmarkPlus:pm,LucideBookmarkX:fm,LucideBoomBox:vm,LucideBot:gm,LucideBotMessageSquare:mm,LucideBotOff:km,LucideBox:Mm,LucideBoxSelect:Vl,LucideBoxes:xm,LucideBraces:vc,LucideBrackets:wm,LucideBrain:Cm,LucideBrainCircuit:bm,LucideBrainCog:_m,LucideBrickWall:Sm,LucideBriefcase:Im,LucideBriefcaseBusiness:Nm,LucideBriefcaseConveyorBelt:Em,LucideBriefcaseMedical:Lm,LucideBringToFront:Am,LucideBrush:Rm,LucideBug:jm,LucideBugOff:Tm,LucideBugPlay:$m,LucideBuilding:Om,LucideBuilding2:Pm,LucideBus:zm,LucideBusFront:Dm,LucideCable:Bm,LucideCableCar:qm,LucideCake:Vm,LucideCakeSlice:Hm,LucideCalculator:Fm,LucideCalendar:uv,LucideCalendar1:Gm,LucideCalendarArrowDown:Wm,LucideCalendarArrowUp:Um,LucideCalendarCheck:Zm,LucideCalendarCheck2:Xm,LucideCalendarClock:Km,LucideCalendarCog:Ym,LucideCalendarDays:Qm,LucideCalendarFold:Jm,LucideCalendarHeart:ev,LucideCalendarMinus:nv,LucideCalendarMinus2:tv,LucideCalendarOff:av,LucideCalendarPlus:rv,LucideCalendarPlus2:ov,LucideCalendarRange:iv,LucideCalendarSearch:cv,LucideCalendarSync:sv,LucideCalendarX:dv,LucideCalendarX2:lv,LucideCamera:pv,LucideCameraOff:hv,LucideCandlestickChart:bc,LucideCandy:mv,LucideCandyCane:fv,LucideCandyOff:yv,LucideCannabis:vv,LucideCaptions:kc,LucideCaptionsOff:kv,LucideCar:xv,LucideCarFront:gv,LucideCarTaxiFront:Mv,LucideCaravan:bv,LucideCarrot:wv,LucideCaseLower:_v,LucideCaseSensitive:Sv,LucideCaseUpper:Cv,LucideCassetteTape:Nv,LucideCast:Lv,LucideCastle:Ev,LucideCat:Iv,LucideCctv:Av,LucideChartArea:gc,LucideChartBar:xc,LucideChartBarBig:Mc,LucideChartBarDecreasing:Tv,LucideChartBarIncreasing:Rv,LucideChartBarStacked:$v,LucideChartCandlestick:bc,LucideChartColumn:Sc,LucideChartColumnBig:wc,LucideChartColumnDecreasing:jv,LucideChartColumnIncreasing:_c,LucideChartColumnStacked:Pv,LucideChartGantt:Ov,LucideChartLine:Cc,LucideChartNetwork:Dv,LucideChartNoAxesColumn:Lc,LucideChartNoAxesColumnDecreasing:zv,LucideChartNoAxesColumnIncreasing:Nc,LucideChartNoAxesCombined:qv,LucideChartNoAxesGantt:Ec,LucideChartPie:Ic,LucideChartScatter:Ac,LucideChartSpline:Hv,LucideCheck:sr,LucideCheckCheck:Vv,LucideCheckCircle:Hc,LucideCheckCircle2:Vc,LucideCheckSquare:Rl,LucideCheckSquare2:$l,LucideChefHat:Bv,LucideCherry:Fv,LucideChevronDown:xi,LucideChevronDownCircle:Bc,LucideChevronDownSquare:jl,LucideChevronFirst:Uv,LucideChevronLast:Gv,LucideChevronLeft:Hd,LucideChevronLeftCircle:Fc,LucideChevronLeftSquare:Pl,LucideChevronRight:lr,LucideChevronRightCircle:Uc,LucideChevronRightSquare:Ol,LucideChevronUp:m2,LucideChevronUpCircle:Gc,LucideChevronUpSquare:Dl,LucideChevronsDown:Zv,LucideChevronsDownUp:Wv,LucideChevronsLeft:Yv,LucideChevronsLeftRight:Kv,LucideChevronsLeftRightEllipsis:Xv,LucideChevronsRight:Jv,LucideChevronsRightLeft:Qv,LucideChevronsUp:t4,LucideChevronsUpDown:e4,LucideChrome:n4,LucideChurch:a4,LucideCigarette:r4,LucideCigaretteOff:o4,LucideCircle:O1,LucideCircleAlert:Tc,LucideCircleArrowDown:Rc,LucideCircleArrowLeft:$c,LucideCircleArrowOutDownLeft:jc,LucideCircleArrowOutDownRight:Pc,LucideCircleArrowOutUpLeft:Oc,LucideCircleArrowOutUpRight:Dc,LucideCircleArrowRight:qc,LucideCircleArrowUp:zc,LucideCircleCheck:Vc,LucideCircleCheckBig:Hc,LucideCircleChevronDown:Bc,LucideCircleChevronLeft:Fc,LucideCircleChevronRight:Uc,LucideCircleChevronUp:Gc,LucideCircleDashed:i4,LucideCircleDivide:Wc,LucideCircleDollarSign:c4,LucideCircleDot:l4,LucideCircleDotDashed:s4,LucideCircleEllipsis:d4,LucideCircleEqual:u4,LucideCircleFadingArrowUp:h4,LucideCircleFadingPlus:p4,LucideCircleGauge:Zc,LucideCircleHelp:Kc,LucideCircleMinus:Xc,LucideCircleOff:f4,LucideCircleParking:Qc,LucideCircleParkingOff:Yc,LucideCirclePause:Jc,LucideCirclePercent:es,LucideCirclePlay:ts,LucideCirclePlus:ns,LucideCirclePower:as,LucideCircleSlash:y4,LucideCircleSlash2:os,LucideCircleSlashed:os,LucideCircleSmall:m4,LucideCircleStop:rs,LucideCircleUser:cs,LucideCircleUserRound:is,LucideCircleX:Or,LucideCircuitBoard:v4,LucideCitrus:k4,LucideClapperboard:g4,LucideClipboard:L4,LucideClipboardCheck:M4,LucideClipboardCopy:x4,LucideClipboardEdit:ls,LucideClipboardList:b4,LucideClipboardMinus:w4,LucideClipboardPaste:_4,LucideClipboardPen:ls,LucideClipboardPenLine:ss,LucideClipboardPlus:S4,LucideClipboardSignature:ss,LucideClipboardType:C4,LucideClipboardX:N4,LucideClock:U4,LucideClock1:E4,LucideClock10:I4,LucideClock11:A4,LucideClock12:T4,LucideClock2:R4,LucideClock3:$4,LucideClock4:j4,LucideClock5:P4,LucideClock6:O4,LucideClock7:D4,LucideClock8:z4,LucideClock9:q4,LucideClockAlert:H4,LucideClockArrowDown:V4,LucideClockArrowUp:B4,LucideClockFading:F4,LucideCloud:ik,LucideCloudAlert:G4,LucideCloudCog:W4,LucideCloudDownload:ds,LucideCloudDrizzle:Z4,LucideCloudFog:X4,LucideCloudHail:Y4,LucideCloudLightning:K4,LucideCloudMoon:J4,LucideCloudMoonRain:Q4,LucideCloudOff:ek,LucideCloudRain:tk,LucideCloudRainWind:nk,LucideCloudSnow:ak,LucideCloudSun:ok,LucideCloudSunRain:rk,LucideCloudUpload:us,LucideCloudy:ck,LucideClover:sk,LucideClub:lk,LucideCode:dk,LucideCode2:hs,LucideCodeSquare:zl,LucideCodeXml:hs,LucideCodepen:uk,LucideCodesandbox:hk,LucideCoffee:pk,LucideCog:fk,LucideCoins:yk,LucideColumns:ps,LucideColumns2:ps,LucideColumns3:fs,LucideColumns4:mk,LucideCombine:vk,LucideCommand:kk,LucideCompass:gk,LucideComponent:Mk,LucideComputer:xk,LucideConciergeBell:bk,LucideCone:wk,LucideConstruction:_k,LucideContact:Sk,LucideContact2:ys,LucideContactRound:ys,LucideContainer:Ck,LucideContrast:Nk,LucideCookie:Lk,LucideCookingPot:Ek,LucideCopy:jk,LucideCopyCheck:Ik,LucideCopyMinus:Ak,LucideCopyPlus:Tk,LucideCopySlash:Rk,LucideCopyX:$k,LucideCopyleft:Ok,LucideCopyright:Pk,LucideCornerDownLeft:Dk,LucideCornerDownRight:zk,LucideCornerLeftDown:qk,LucideCornerLeftUp:Hk,LucideCornerRightDown:Vk,LucideCornerRightUp:Bk,LucideCornerUpLeft:Fk,LucideCornerUpRight:Uk,LucideCpu:Gk,LucideCreativeCommons:Wk,LucideCreditCard:Zk,LucideCroissant:Xk,LucideCrop:Kk,LucideCross:Yk,LucideCrosshair:Qk,LucideCrown:Jk,LucideCuboid:eg,LucideCupSoda:tg,LucideCurlyBraces:vc,LucideCurrency:ng,LucideCylinder:ag,LucideDam:og,LucideDatabase:sg,LucideDatabaseBackup:rg,LucideDatabaseZap:ig,LucideDelete:cg,LucideDessert:lg,LucideDiameter:dg,LucideDiamond:pg,LucideDiamondMinus:ug,LucideDiamondPercent:ms,LucideDiamondPlus:hg,LucideDice1:fg,LucideDice2:yg,LucideDice3:mg,LucideDice4:vg,LucideDice5:kg,LucideDice6:gg,LucideDices:Mg,LucideDiff:xg,LucideDisc:Sg,LucideDisc2:wg,LucideDisc3:bg,LucideDiscAlbum:_g,LucideDivide:Cg,LucideDivideCircle:Wc,LucideDivideSquare:Bl,LucideDna:Lg,LucideDnaOff:Ng,LucideDock:Eg,LucideDog:Ig,LucideDollarSign:Ag,LucideDonut:Tg,LucideDoorClosed:Rg,LucideDoorOpen:$g,LucideDot:jg,LucideDotSquare:Fl,LucideDownload:Og,LucideDownloadCloud:ds,LucideDraftingCompass:Pg,LucideDrama:Dg,LucideDribbble:zg,LucideDrill:qg,LucideDroplet:Vg,LucideDropletOff:Hg,LucideDroplets:Fg,LucideDrum:Ug,LucideDrumstick:Bg,LucideDumbbell:Gg,LucideEar:Zg,LucideEarOff:Wg,LucideEarth:vs,LucideEarthLock:Xg,LucideEclipse:Kg,LucideEdit:Un,LucideEdit2:cl,LucideEdit3:il,LucideEgg:Jg,LucideEggFried:Yg,LucideEggOff:Qg,LucideEllipsis:Dr,LucideEllipsisVertical:ks,LucideEqual:n5,LucideEqualApproximately:e5,LucideEqualNot:t5,LucideEqualSquare:Gl,LucideEraser:a5,LucideEthernetPort:o5,LucideEuro:r5,LucideExpand:i5,LucideExternalLink:v2,LucideEye:l5,LucideEyeClosed:c5,LucideEyeOff:s5,LucideFacebook:d5,LucideFactory:u5,LucideFan:h5,LucideFastForward:p5,LucideFeather:f5,LucideFence:y5,LucideFerrisWheel:m5,LucideFigma:v5,LucideFile:p3,LucideFileArchive:k5,LucideFileAudio:M5,LucideFileAudio2:g5,LucideFileAxis3D:gs,LucideFileAxis3d:gs,LucideFileBadge:b5,LucideFileBadge2:x5,LucideFileBarChart:Ms,LucideFileBarChart2:xs,LucideFileBox:w5,LucideFileChartColumn:xs,LucideFileChartColumnIncreasing:Ms,LucideFileChartLine:ws,LucideFileChartPie:bs,LucideFileCheck:S5,LucideFileCheck2:_5,LucideFileClock:C5,LucideFileCode:L5,LucideFileCode2:N5,LucideFileCog:_s,LucideFileCog2:_s,LucideFileDiff:E5,LucideFileDigit:I5,LucideFileDown:A5,LucideFileEdit:Cs,LucideFileHeart:T5,LucideFileImage:R5,LucideFileInput:$5,LucideFileJson:P5,LucideFileJson2:j5,LucideFileKey:D5,LucideFileKey2:O5,LucideFileLineChart:ws,LucideFileLock:q5,LucideFileLock2:z5,LucideFileMinus:V5,LucideFileMinus2:H5,LucideFileMusic:B5,LucideFileOutput:F5,LucideFilePen:Cs,LucideFilePenLine:Ss,LucideFilePieChart:bs,LucideFilePlus:G5,LucideFilePlus2:U5,LucideFileQuestion:Z5,LucideFileScan:W5,LucideFileSearch:K5,LucideFileSearch2:X5,LucideFileSignature:Ss,LucideFileSliders:Y5,LucideFileSpreadsheet:J5,LucideFileStack:Q5,LucideFileSymlink:e3,LucideFileTerminal:t3,LucideFileText:n3,LucideFileType:o3,LucideFileType2:a3,LucideFileUp:r3,LucideFileUser:i3,LucideFileVideo:s3,LucideFileVideo2:c3,LucideFileVolume:d3,LucideFileVolume2:l3,LucideFileWarning:u3,LucideFileX:h3,LucideFileX2:f3,LucideFiles:y3,LucideFilm:m3,LucideFilter:Is,LucideFilterX:Es,LucideFingerprint:v3,LucideFireExtinguisher:k3,LucideFish:x3,LucideFishOff:g3,LucideFishSymbol:M3,LucideFlag:S3,LucideFlagOff:b3,LucideFlagTriangleLeft:w3,LucideFlagTriangleRight:_3,LucideFlame:N3,LucideFlameKindling:C3,LucideFlashlight:E3,LucideFlashlightOff:L3,LucideFlaskConical:A3,LucideFlaskConicalOff:I3,LucideFlaskRound:T3,LucideFlipHorizontal:$3,LucideFlipHorizontal2:R3,LucideFlipVertical:P3,LucideFlipVertical2:j3,LucideFlower:D3,LucideFlower2:O3,LucideFocus:z3,LucideFoldHorizontal:q3,LucideFoldVertical:H3,LucideFolder:y6,LucideFolderArchive:V3,LucideFolderCheck:B3,LucideFolderClock:U3,LucideFolderClosed:F3,LucideFolderCode:G3,LucideFolderCog:Ns,LucideFolderCog2:Ns,LucideFolderDot:W3,LucideFolderDown:Z3,LucideFolderEdit:Ls,LucideFolderGit:Q3,LucideFolderGit2:X3,LucideFolderHeart:K3,LucideFolderInput:Y3,LucideFolderKanban:J3,LucideFolderKey:e6,LucideFolderLock:t6,LucideFolderMinus:a6,LucideFolderOpen:o6,LucideFolderOpenDot:n6,LucideFolderOutput:r6,LucideFolderPen:Ls,LucideFolderPlus:i6,LucideFolderRoot:c6,LucideFolderSearch:l6,LucideFolderSearch2:s6,LucideFolderSymlink:d6,LucideFolderSync:u6,LucideFolderTree:h6,LucideFolderUp:f6,LucideFolderX:p6,LucideFolders:m6,LucideFootprints:v6,LucideForkKnife:A1,LucideForkKnifeCrossed:I1,LucideForklift:k6,LucideFormInput:ll,LucideForward:g6,LucideFrame:M6,LucideFramer:x6,LucideFrown:b6,LucideFuel:w6,LucideFullscreen:_6,LucideFunctionSquare:Ul,LucideFunnel:Is,LucideFunnelPlus:S6,LucideFunnelX:Es,LucideGalleryHorizontal:N6,LucideGalleryHorizontalEnd:C6,LucideGalleryThumbnails:L6,LucideGalleryVertical:I6,LucideGalleryVerticalEnd:E6,LucideGamepad:T6,LucideGamepad2:A6,LucideGanttChart:Ec,LucideGanttChartSquare:nr,LucideGauge:R6,LucideGaugeCircle:Zc,LucideGavel:j6,LucideGem:$6,LucideGhost:P6,LucideGift:D6,LucideGitBranch:z6,LucideGitBranchPlus:O6,LucideGitCommit:As,LucideGitCommitHorizontal:As,LucideGitCommitVertical:q6,LucideGitCompare:V6,LucideGitCompareArrows:H6,LucideGitFork:B6,LucideGitGraph:F6,LucideGitMerge:U6,LucideGitPullRequest:Y6,LucideGitPullRequestArrow:G6,LucideGitPullRequestClosed:W6,LucideGitPullRequestCreate:X6,LucideGitPullRequestCreateArrow:Z6,LucideGitPullRequestDraft:K6,LucideGithub:Q6,LucideGitlab:J6,LucideGlassWater:e8,LucideGlasses:t8,LucideGlobe:a8,LucideGlobe2:vs,LucideGlobeLock:n8,LucideGoal:r8,LucideGrab:o8,LucideGraduationCap:i8,LucideGrape:c8,LucideGrid:tr,LucideGrid2X2:js,LucideGrid2X2Check:Ts,LucideGrid2X2Plus:Rs,LucideGrid2X2X:$s,LucideGrid2x2:js,LucideGrid2x2Check:Ts,LucideGrid2x2Plus:Rs,LucideGrid2x2X:$s,LucideGrid3X3:tr,LucideGrid3x3:tr,LucideGrip:d8,LucideGripHorizontal:s8,LucideGripVertical:l8,LucideGroup:u8,LucideGuitar:h8,LucideHam:p8,LucideHammer:f8,LucideHand:g8,LucideHandCoins:y8,LucideHandHeart:m8,LucideHandHelping:Ps,LucideHandMetal:v8,LucideHandPlatter:k8,LucideHandshake:M8,LucideHardDrive:w8,LucideHardDriveDownload:x8,LucideHardDriveUpload:b8,LucideHardHat:_8,LucideHash:S8,LucideHaze:C8,LucideHdmiPort:N8,LucideHeading:$8,LucideHeading1:L8,LucideHeading2:E8,LucideHeading3:I8,LucideHeading4:T8,LucideHeading5:A8,LucideHeading6:R8,LucideHeadphoneOff:j8,LucideHeadphones:P8,LucideHeadset:O8,LucideHeart:V8,LucideHeartCrack:D8,LucideHeartHandshake:z8,LucideHeartOff:q8,LucideHeartPulse:H8,LucideHeater:B8,LucideHelpCircle:Kc,LucideHelpingHand:Ps,LucideHexagon:F8,LucideHighlighter:U8,LucideHistory:G8,LucideHome:Os,LucideHop:Z8,LucideHopOff:W8,LucideHospital:X8,LucideHotel:Q8,LucideHourglass:K8,LucideHouse:Os,LucideHousePlug:Y8,LucideHousePlus:J8,LucideHouseWifi:eM,LucideIceCream:zs,LucideIceCream2:Ds,LucideIceCreamBowl:Ds,LucideIceCreamCone:zs,LucideIdCard:tM,LucideImage:lM,LucideImageDown:nM,LucideImageMinus:aM,LucideImageOff:oM,LucideImagePlay:rM,LucideImagePlus:iM,LucideImageUp:cM,LucideImageUpscale:sM,LucideImages:dM,LucideImport:uM,LucideInbox:hM,LucideIndent:Hs,LucideIndentDecrease:qs,LucideIndentIncrease:Hs,LucideIndianRupee:pM,LucideInfinity:fM,LucideInfo:yM,LucideInspect:Ql,LucideInspectionPanel:mM,LucideInstagram:vM,LucideItalic:kM,LucideIterationCcw:gM,LucideIterationCw:MM,LucideJapaneseYen:xM,LucideJoystick:bM,LucideKanban:wM,LucideKanbanSquare:Wl,LucideKanbanSquareDashed:ql,LucideKey:CM,LucideKeyRound:_M,LucideKeySquare:SM,LucideKeyboard:EM,LucideKeyboardMusic:NM,LucideKeyboardOff:LM,LucideLamp:jM,LucideLampCeiling:IM,LucideLampDesk:AM,LucideLampFloor:TM,LucideLampWallDown:RM,LucideLampWallUp:$M,LucideLandPlot:PM,LucideLandmark:OM,LucideLanguages:zM,LucideLaptop:qM,LucideLaptop2:Vs,LucideLaptopMinimal:Vs,LucideLaptopMinimalCheck:DM,LucideLasso:VM,LucideLassoSelect:HM,LucideLaugh:BM,LucideLayers:Bs,LucideLayers2:FM,LucideLayers3:Bs,LucideLayout:rl,LucideLayoutDashboard:UM,LucideLayoutGrid:GM,LucideLayoutList:WM,LucideLayoutPanelLeft:ZM,LucideLayoutPanelTop:XM,LucideLayoutTemplate:KM,LucideLeaf:YM,LucideLeafyGreen:QM,LucideLectern:JM,LucideLetterText:ex,LucideLibrary:ax,LucideLibraryBig:tx,LucideLibrarySquare:Zl,LucideLifeBuoy:nx,LucideLigature:ox,LucideLightbulb:ix,LucideLightbulbOff:rx,LucideLineChart:Cc,LucideLink:sx,LucideLink2:lx,LucideLink2Off:cx,LucideLinkedin:dx,LucideList:Nx,LucideListCheck:ux,LucideListChecks:hx,LucideListCollapse:fx,LucideListEnd:px,LucideListFilter:mx,LucideListFilterPlus:yx,LucideListMinus:vx,LucideListMusic:kx,LucideListOrdered:gx,LucideListPlus:Mx,LucideListRestart:xx,LucideListStart:bx,LucideListTodo:wx,LucideListTree:_x,LucideListVideo:Sx,LucideListX:Cx,LucideLoader:Ex,LucideLoader2:Fs,LucideLoaderCircle:Fs,LucideLoaderPinwheel:Lx,LucideLocate:Tx,LucideLocateFixed:Ix,LucideLocateOff:Ax,LucideLock:$x,LucideLockKeyhole:Rx,LucideLockKeyholeOpen:Us,LucideLockOpen:Gs,LucideLogIn:jx,LucideLogOut:Px,LucideLogs:Ox,LucideLollipop:Dx,LucideLuggage:zx,LucideMSquare:Xl,LucideMagnet:qx,LucideMail:Xx,LucideMailCheck:Hx,LucideMailMinus:Vx,LucideMailOpen:Bx,LucideMailPlus:Fx,LucideMailQuestion:Ux,LucideMailSearch:Gx,LucideMailWarning:Wx,LucideMailX:Zx,LucideMailbox:Kx,LucideMails:Yx,LucideMap:ub,LucideMapPin:sb,LucideMapPinCheck:Jx,LucideMapPinCheckInside:Qx,LucideMapPinHouse:eb,LucideMapPinMinus:ab,LucideMapPinMinusInside:tb,LucideMapPinOff:nb,LucideMapPinPlus:rb,LucideMapPinPlusInside:ob,LucideMapPinX:cb,LucideMapPinXInside:ib,LucideMapPinned:lb,LucideMapPlus:db,LucideMars:pb,LucideMarsStroke:hb,LucideMartini:fb,LucideMaximize:mb,LucideMaximize2:yb,LucideMedal:vb,LucideMegaphone:Mb,LucideMegaphoneOff:kb,LucideMeh:gb,LucideMemoryStick:xb,LucideMenu:bb,LucideMenuSquare:Kl,LucideMerge:wb,LucideMessageCircle:$b,LucideMessageCircleCode:_b,LucideMessageCircleDashed:Sb,LucideMessageCircleHeart:Cb,LucideMessageCircleMore:Nb,LucideMessageCircleOff:Lb,LucideMessageCirclePlus:Ib,LucideMessageCircleQuestion:Eb,LucideMessageCircleReply:Ab,LucideMessageCircleWarning:Tb,LucideMessageCircleX:Rb,LucideMessageSquare:Xb,LucideMessageSquareCode:jb,LucideMessageSquareDashed:Pb,LucideMessageSquareDiff:Ob,LucideMessageSquareDot:Db,LucideMessageSquareHeart:zb,LucideMessageSquareLock:qb,LucideMessageSquareMore:Hb,LucideMessageSquareOff:Vb,LucideMessageSquarePlus:Bb,LucideMessageSquareQuote:Fb,LucideMessageSquareReply:Ub,LucideMessageSquareShare:Gb,LucideMessageSquareText:Wb,LucideMessageSquareWarning:Zb,LucideMessageSquareX:Kb,LucideMessagesSquare:Yb,LucideMic:Jb,LucideMic2:Ws,LucideMicOff:Qb,LucideMicVocal:Ws,LucideMicrochip:e7,LucideMicroscope:t7,LucideMicrowave:n7,LucideMilestone:a7,LucideMilk:r7,LucideMilkOff:o7,LucideMinimize:c7,LucideMinimize2:i7,LucideMinus:s7,LucideMinusCircle:Xc,LucideMinusSquare:Yl,LucideMonitor:x7,LucideMonitorCheck:l7,LucideMonitorCog:d7,LucideMonitorDot:u7,LucideMonitorDown:h7,LucideMonitorOff:p7,LucideMonitorPause:f7,LucideMonitorPlay:y7,LucideMonitorSmartphone:m7,LucideMonitorSpeaker:v7,LucideMonitorStop:k7,LucideMonitorUp:M7,LucideMonitorX:g7,LucideMoon:w7,LucideMoonStar:b7,LucideMoreHorizontal:Dr,LucideMoreVertical:ks,LucideMountain:N7,LucideMountainSnow:_7,LucideMouse:A7,LucideMouseOff:S7,LucideMousePointer:I7,LucideMousePointer2:C7,LucideMousePointerBan:L7,LucideMousePointerClick:E7,LucideMousePointerSquareDashed:Hl,LucideMove:G7,LucideMove3D:Zs,LucideMove3d:Zs,LucideMoveDiagonal:R7,LucideMoveDiagonal2:T7,LucideMoveDown:P7,LucideMoveDownLeft:$7,LucideMoveDownRight:j7,LucideMoveHorizontal:O7,LucideMoveLeft:D7,LucideMoveRight:z7,LucideMoveUp:V7,LucideMoveUpLeft:q7,LucideMoveUpRight:H7,LucideMoveVertical:B7,LucideMusic:Z7,LucideMusic2:F7,LucideMusic3:U7,LucideMusic4:W7,LucideNavigation:Q7,LucideNavigation2:K7,LucideNavigation2Off:X7,LucideNavigationOff:Y7,LucideNetwork:J7,LucideNewspaper:ew,LucideNfc:tw,LucideNonBinary:nw,LucideNotebook:iw,LucideNotebookPen:aw,LucideNotebookTabs:ow,LucideNotebookText:rw,LucideNotepadText:cw,LucideNotepadTextDashed:sw,LucideNut:dw,LucideNutOff:lw,LucideOctagon:hw,LucideOctagonAlert:Xs,LucideOctagonMinus:uw,LucideOctagonPause:Ks,LucideOctagonX:Ys,LucideOmega:pw,LucideOption:yw,LucideOrbit:fw,LucideOrigami:mw,LucideOutdent:qs,LucidePackage:_w,LucidePackage2:vw,LucidePackageCheck:kw,LucidePackageMinus:gw,LucidePackageOpen:Mw,LucidePackagePlus:xw,LucidePackageSearch:bw,LucidePackageX:ww,LucidePaintBucket:Sw,LucidePaintRoller:Cw,LucidePaintbrush:Nw,LucidePaintbrush2:Qs,LucidePaintbrushVertical:Qs,LucidePalette:Lw,LucidePalmtree:g1,LucidePanelBottom:Aw,LucidePanelBottomClose:Ew,LucidePanelBottomDashed:Js,LucidePanelBottomInactive:Js,LucidePanelBottomOpen:Iw,LucidePanelLeft:vi,LucidePanelLeftClose:el,LucidePanelLeftDashed:tl,LucidePanelLeftInactive:tl,LucidePanelLeftOpen:nl,LucidePanelRight:Rw,LucidePanelRightClose:Tw,LucidePanelRightDashed:al,LucidePanelRightInactive:al,LucidePanelRightOpen:jw,LucidePanelTop:Ow,LucidePanelTopClose:$w,LucidePanelTopDashed:ol,LucidePanelTopInactive:ol,LucidePanelTopOpen:Pw,LucidePanelsLeftBottom:Dw,LucidePanelsLeftRight:fs,LucidePanelsRightBottom:zw,LucidePanelsTopBottom:hl,LucidePanelsTopLeft:rl,LucidePaperclip:qw,LucideParentheses:Hw,LucideParkingCircle:Qc,LucideParkingCircleOff:Yc,LucideParkingMeter:Vw,LucideParkingSquare:e1,LucideParkingSquareOff:Jl,LucidePartyPopper:Bw,LucidePause:Fw,LucidePauseCircle:Jc,LucidePauseOctagon:Ks,LucidePawPrint:Uw,LucidePcCase:Gw,LucidePen:cl,LucidePenBox:Un,LucidePenLine:il,LucidePenOff:Ww,LucidePenSquare:Un,LucidePenTool:Zw,LucidePencil:Qw,LucidePencilLine:Xw,LucidePencilOff:Yw,LucidePencilRuler:Kw,LucidePentagon:Jw,LucidePercent:e9,LucidePercentCircle:es,LucidePercentDiamond:ms,LucidePercentSquare:t1,LucidePersonStanding:t9,LucidePhilippinePeso:n9,LucidePhone:l9,LucidePhoneCall:a9,LucidePhoneForwarded:o9,LucidePhoneIncoming:r9,LucidePhoneMissed:i9,LucidePhoneOff:c9,LucidePhoneOutgoing:s9,LucidePi:h9,LucidePiSquare:n1,LucidePiano:d9,LucidePickaxe:u9,LucidePictureInPicture:f9,LucidePictureInPicture2:p9,LucidePieChart:Ic,LucidePiggyBank:y9,LucidePilcrow:k9,LucidePilcrowLeft:m9,LucidePilcrowRight:v9,LucidePilcrowSquare:a1,LucidePill:M9,LucidePillBottle:g9,LucidePin:x9,LucidePinOff:b9,LucidePipette:w9,LucidePizza:_9,LucidePlane:N9,LucidePlaneLanding:S9,LucidePlaneTakeoff:C9,LucidePlay:L9,LucidePlayCircle:ts,LucidePlaySquare:o1,LucidePlug:I9,LucidePlug2:E9,LucidePlugZap:sl,LucidePlugZap2:sl,LucidePlus:k2,LucidePlusCircle:ns,LucidePlusSquare:r1,LucidePocket:T9,LucidePocketKnife:A9,LucidePodcast:R9,LucidePointer:j9,LucidePointerOff:$9,LucidePopcorn:P9,LucidePopsicle:O9,LucidePoundSterling:D9,LucidePower:H9,LucidePowerCircle:as,LucidePowerOff:z9,LucidePowerSquare:i1,LucidePresentation:q9,LucidePrinter:B9,LucidePrinterCheck:V9,LucideProjector:F9,LucideProportions:U9,LucidePuzzle:G9,LucidePyramid:W9,LucideQrCode:Z9,LucideQuote:X9,LucideRabbit:K9,LucideRadar:Y9,LucideRadiation:Q9,LucideRadical:e_,LucideRadio:n_,LucideRadioReceiver:J9,LucideRadioTower:t_,LucideRadius:a_,LucideRailSymbol:o_,LucideRainbow:r_,LucideRat:i_,LucideRatio:c_,LucideReceipt:m_,LucideReceiptCent:s_,LucideReceiptEuro:l_,LucideReceiptIndianRupee:d_,LucideReceiptJapaneseYen:u_,LucideReceiptPoundSterling:h_,LucideReceiptRussianRuble:p_,LucideReceiptSwissFranc:f_,LucideReceiptText:y_,LucideRectangleEllipsis:ll,LucideRectangleHorizontal:v_,LucideRectangleVertical:k_,LucideRecycle:g_,LucideRedo:b_,LucideRedo2:M_,LucideRedoDot:x_,LucideRefreshCcw:__,LucideRefreshCcwDot:w_,LucideRefreshCw:N_,LucideRefreshCwOff:S_,LucideRefrigerator:C_,LucideRegex:L_,LucideRemoveFormatting:I_,LucideRepeat:T_,LucideRepeat1:E_,LucideRepeat2:A_,LucideReplace:$_,LucideReplaceAll:R_,LucideReply:P_,LucideReplyAll:j_,LucideRewind:O_,LucideRibbon:D_,LucideRocket:z_,LucideRockingChair:q_,LucideRollerCoaster:H_,LucideRotate3D:dl,LucideRotate3d:dl,LucideRotateCcw:B_,LucideRotateCcwSquare:V_,LucideRotateCw:U_,LucideRotateCwSquare:F_,LucideRoute:Z_,LucideRouteOff:G_,LucideRouter:W_,LucideRows:ul,LucideRows2:ul,LucideRows3:hl,LucideRows4:X_,LucideRss:K_,LucideRuler:Y_,LucideRussianRuble:Q_,LucideSailboat:J_,LucideSalad:tS,LucideSandwich:eS,LucideSatellite:nS,LucideSatelliteDish:aS,LucideSaudiRiyal:oS,LucideSave:cS,LucideSaveAll:iS,LucideSaveOff:rS,LucideScale:sS,LucideScale3D:pl,LucideScale3d:pl,LucideScaling:lS,LucideScan:kS,LucideScanBarcode:dS,LucideScanEye:uS,LucideScanFace:hS,LucideScanHeart:pS,LucideScanLine:fS,LucideScanQrCode:yS,LucideScanSearch:mS,LucideScanText:vS,LucideScatterChart:Ac,LucideSchool:MS,LucideSchool2:b1,LucideScissors:xS,LucideScissorsLineDashed:gS,LucideScissorsSquare:c1,LucideScissorsSquareDashedBottom:Tl,LucideScreenShare:wS,LucideScreenShareOff:bS,LucideScroll:SS,LucideScrollText:_S,LucideSearch:g2,LucideSearchCheck:CS,LucideSearchCode:NS,LucideSearchSlash:ES,LucideSearchX:LS,LucideSection:IS,LucideSend:TS,LucideSendHorizonal:fl,LucideSendHorizontal:fl,LucideSendToBack:AS,LucideSeparatorHorizontal:RS,LucideSeparatorVertical:$S,LucideServer:DS,LucideServerCog:jS,LucideServerCrash:PS,LucideServerOff:OS,LucideSettings:qS,LucideSettings2:zS,LucideShapes:HS,LucideShare:BS,LucideShare2:VS,LucideSheet:FS,LucideShell:US,LucideShield:nC,LucideShieldAlert:GS,LucideShieldBan:ZS,LucideShieldCheck:WS,LucideShieldClose:yl,LucideShieldEllipsis:XS,LucideShieldHalf:KS,LucideShieldMinus:YS,LucideShieldOff:QS,LucideShieldPlus:JS,LucideShieldQuestion:eC,LucideShieldUser:tC,LucideShieldX:yl,LucideShip:oC,LucideShipWheel:aC,LucideShirt:rC,LucideShoppingBag:iC,LucideShoppingBasket:cC,LucideShoppingCart:sC,LucideShovel:lC,LucideShowerHead:dC,LucideShrimp:uC,LucideShrink:hC,LucideShrub:pC,LucideShuffle:fC,LucideSidebar:vi,LucideSidebarClose:el,LucideSidebarOpen:nl,LucideSigma:yC,LucideSigmaSquare:s1,LucideSignal:MC,LucideSignalHigh:mC,LucideSignalLow:kC,LucideSignalMedium:vC,LucideSignalZero:gC,LucideSignature:xC,LucideSignpost:wC,LucideSignpostBig:bC,LucideSiren:_C,LucideSkipBack:SC,LucideSkipForward:CC,LucideSkull:NC,LucideSlack:LC,LucideSlash:EC,LucideSlashSquare:l1,LucideSlice:IC,LucideSliders:ml,LucideSlidersHorizontal:AC,LucideSlidersVertical:ml,LucideSmartphone:$C,LucideSmartphoneCharging:TC,LucideSmartphoneNfc:RC,LucideSmile:PC,LucideSmilePlus:jC,LucideSnail:OC,LucideSnowflake:DC,LucideSofa:zC,LucideSortAsc:dc,LucideSortDesc:cc,LucideSoup:qC,LucideSpace:HC,LucideSpade:VC,LucideSparkle:BC,LucideSparkles:vl,LucideSpeaker:FC,LucideSpeech:UC,LucideSpellCheck:WC,LucideSpellCheck2:GC,LucideSpline:XC,LucideSplit:ZC,LucideSplitSquareHorizontal:u1,LucideSplitSquareVertical:d1,LucideSprayCan:KC,LucideSprout:YC,LucideSquare:oN,LucideSquareActivity:kl,LucideSquareArrowDown:bl,LucideSquareArrowDownLeft:gl,LucideSquareArrowDownRight:Ml,LucideSquareArrowLeft:xl,LucideSquareArrowOutDownLeft:wl,LucideSquareArrowOutDownRight:_l,LucideSquareArrowOutUpLeft:Sl,LucideSquareArrowOutUpRight:Cl,LucideSquareArrowRight:Nl,LucideSquareArrowUp:Il,LucideSquareArrowUpLeft:Ll,LucideSquareArrowUpRight:El,LucideSquareAsterisk:Al,LucideSquareBottomDashedScissors:Tl,LucideSquareChartGantt:nr,LucideSquareCheck:$l,LucideSquareCheckBig:Rl,LucideSquareChevronDown:jl,LucideSquareChevronLeft:Pl,LucideSquareChevronRight:Ol,LucideSquareChevronUp:Dl,LucideSquareCode:zl,LucideSquareDashed:Vl,LucideSquareDashedBottom:QC,LucideSquareDashedBottomCode:JC,LucideSquareDashedKanban:ql,LucideSquareDashedMousePointer:Hl,LucideSquareDivide:Bl,LucideSquareDot:Fl,LucideSquareEqual:Gl,LucideSquareFunction:Ul,LucideSquareGanttChart:nr,LucideSquareKanban:Wl,LucideSquareLibrary:Zl,LucideSquareM:Xl,LucideSquareMenu:Kl,LucideSquareMinus:Yl,LucideSquareMousePointer:Ql,LucideSquareParking:e1,LucideSquareParkingOff:Jl,LucideSquarePen:Un,LucideSquarePercent:t1,LucideSquarePi:n1,LucideSquarePilcrow:a1,LucideSquarePlay:o1,LucideSquarePlus:r1,LucideSquarePower:i1,LucideSquareRadical:eN,LucideSquareRoundCorner:tN,LucideSquareScissors:c1,LucideSquareSigma:s1,LucideSquareSlash:l1,LucideSquareSplitHorizontal:u1,LucideSquareSplitVertical:d1,LucideSquareSquare:nN,LucideSquareStack:aN,LucideSquareTerminal:h1,LucideSquareUser:f1,LucideSquareUserRound:p1,LucideSquareX:y1,LucideSquircle:rN,LucideSquirrel:cN,LucideStamp:iN,LucideStar:dN,LucideStarHalf:sN,LucideStarOff:lN,LucideStars:vl,LucideStepBack:uN,LucideStepForward:hN,LucideStethoscope:pN,LucideSticker:fN,LucideStickyNote:yN,LucideStopCircle:rs,LucideStore:mN,LucideStretchHorizontal:vN,LucideStretchVertical:kN,LucideStrikethrough:gN,LucideSubscript:MN,LucideSubtitles:kc,LucideSun:SN,LucideSunDim:xN,LucideSunMedium:bN,LucideSunMoon:wN,LucideSunSnow:_N,LucideSunrise:CN,LucideSunset:NN,LucideSuperscript:LN,LucideSwatchBook:EN,LucideSwissFranc:IN,LucideSwitchCamera:AN,LucideSword:TN,LucideSwords:RN,LucideSyringe:$N,LucideTable:VN,LucideTable2:jN,LucideTableCellsMerge:PN,LucideTableCellsSplit:ON,LucideTableColumnsSplit:DN,LucideTableOfContents:zN,LucideTableProperties:qN,LucideTableRowsSplit:HN,LucideTablet:FN,LucideTabletSmartphone:BN,LucideTablets:UN,LucideTag:GN,LucideTags:WN,LucideTally1:ZN,LucideTally2:XN,LucideTally3:KN,LucideTally4:YN,LucideTally5:QN,LucideTangent:JN,LucideTarget:eL,LucideTelescope:tL,LucideTent:aL,LucideTentTree:nL,LucideTerminal:oL,LucideTerminalSquare:h1,LucideTestTube:iL,LucideTestTube2:m1,LucideTestTubeDiagonal:m1,LucideTestTubes:rL,LucideText:uL,LucideTextCursor:sL,LucideTextCursorInput:cL,LucideTextQuote:lL,LucideTextSearch:dL,LucideTextSelect:v1,LucideTextSelection:v1,LucideTheater:hL,LucideThermometer:yL,LucideThermometerSnowflake:pL,LucideThermometerSun:fL,LucideThumbsDown:mL,LucideThumbsUp:vL,LucideTicket:_L,LucideTicketCheck:kL,LucideTicketMinus:gL,LucideTicketPercent:ML,LucideTicketPlus:xL,LucideTicketSlash:bL,LucideTicketX:wL,LucideTickets:CL,LucideTicketsPlane:SL,LucideTimer:EL,LucideTimerOff:LL,LucideTimerReset:NL,LucideToggleLeft:AL,LucideToggleRight:IL,LucideToilet:TL,LucideTornado:RL,LucideTorus:$L,LucideTouchpad:PL,LucideTouchpadOff:jL,LucideTowerControl:OL,LucideToyBrick:DL,LucideTractor:zL,LucideTrafficCone:qL,LucideTrain:k1,LucideTrainFront:VL,LucideTrainFrontTunnel:HL,LucideTrainTrack:BL,LucideTramFront:k1,LucideTransgender:FL,LucideTrash:GL,LucideTrash2:UL,LucideTreeDeciduous:WL,LucideTreePalm:g1,LucideTreePine:ZL,LucideTrees:XL,LucideTrello:KL,LucideTrendingDown:YL,LucideTrendingUp:JL,LucideTrendingUpDown:QL,LucideTriangle:nE,LucideTriangleAlert:M1,LucideTriangleDashed:eE,LucideTriangleRight:tE,LucideTrophy:aE,LucideTruck:oE,LucideTurtle:rE,LucideTv:cE,LucideTv2:x1,LucideTvMinimal:x1,LucideTvMinimalPlay:iE,LucideTwitch:sE,LucideTwitter:lE,LucideType:hE,LucideTypeOutline:dE,LucideUmbrella:pE,LucideUmbrellaOff:uE,LucideUnderline:fE,LucideUndo:vE,LucideUndo2:yE,LucideUndoDot:mE,LucideUnfoldHorizontal:kE,LucideUnfoldVertical:gE,LucideUngroup:ME,LucideUniversity:b1,LucideUnlink:bE,LucideUnlink2:xE,LucideUnlock:Gs,LucideUnlockKeyhole:Us,LucideUnplug:_E,LucideUpload:wE,LucideUploadCloud:us,LucideUsb:CE,LucideUser:jE,LucideUser2:L1,LucideUserCheck:SE,LucideUserCheck2:w1,LucideUserCircle:cs,LucideUserCircle2:is,LucideUserCog:NE,LucideUserCog2:_1,LucideUserMinus:LE,LucideUserMinus2:S1,LucideUserPen:EE,LucideUserPlus:IE,LucideUserPlus2:C1,LucideUserRound:L1,LucideUserRoundCheck:w1,LucideUserRoundCog:_1,LucideUserRoundMinus:S1,LucideUserRoundPen:AE,LucideUserRoundPlus:C1,LucideUserRoundSearch:TE,LucideUserRoundX:N1,LucideUserSearch:RE,LucideUserSquare:f1,LucideUserSquare2:p1,LucideUserX:$E,LucideUserX2:N1,LucideUsers:PE,LucideUsers2:E1,LucideUsersRound:E1,LucideUtensils:A1,LucideUtensilsCrossed:I1,LucideUtilityPole:OE,LucideVariable:DE,LucideVault:zE,LucideVegan:qE,LucideVenetianMask:HE,LucideVenus:FE,LucideVenusAndMars:VE,LucideVerified:pc,LucideVibrate:UE,LucideVibrateOff:BE,LucideVideo:WE,LucideVideoOff:GE,LucideVideotape:ZE,LucideView:XE,LucideVoicemail:KE,LucideVolleyball:QE,LucideVolume:aI,LucideVolume1:YE,LucideVolume2:JE,LucideVolumeOff:eI,LucideVolumeX:tI,LucideVote:nI,LucideWallet:rI,LucideWallet2:T1,LucideWalletCards:oI,LucideWalletMinimal:T1,LucideWallpaper:iI,LucideWand:cI,LucideWand2:ki,LucideWandSparkles:ki,LucideWarehouse:sI,LucideWashingMachine:lI,LucideWatch:dI,LucideWaves:hI,LucideWavesLadder:uI,LucideWaypoints:pI,LucideWebcam:fI,LucideWebhook:yI,LucideWebhookOff:mI,LucideWeight:vI,LucideWheat:kI,LucideWheatOff:gI,LucideWholeWord:MI,LucideWifi:SI,LucideWifiHigh:xI,LucideWifiLow:bI,LucideWifiOff:_I,LucideWifiZero:wI,LucideWind:NI,LucideWindArrowDown:CI,LucideWine:EI,LucideWineOff:LI,LucideWorkflow:II,LucideWorm:AI,LucideWrapText:TI,LucideWrench:RI,LucideX:bi,LucideXCircle:Or,LucideXOctagon:Ys,LucideXSquare:y1,LucideYoutube:$I,LucideZap:PI,LucideZapOff:jI,LucideZoomIn:OI,LucideZoomOut:DI,Luggage:zx,LuggageIcon:zx,MSquare:Xl,MSquareIcon:Xl,Magnet:qx,MagnetIcon:qx,Mail:Xx,MailCheck:Hx,MailCheckIcon:Hx,MailIcon:Xx,MailMinus:Vx,MailMinusIcon:Vx,MailOpen:Bx,MailOpenIcon:Bx,MailPlus:Fx,MailPlusIcon:Fx,MailQuestion:Ux,MailQuestionIcon:Ux,MailSearch:Gx,MailSearchIcon:Gx,MailWarning:Wx,MailWarningIcon:Wx,MailX:Zx,MailXIcon:Zx,Mailbox:Kx,MailboxIcon:Kx,Mails:Yx,MailsIcon:Yx,Map:ub,MapIcon:ub,MapPin:sb,MapPinCheck:Jx,MapPinCheckIcon:Jx,MapPinCheckInside:Qx,MapPinCheckInsideIcon:Qx,MapPinHouse:eb,MapPinHouseIcon:eb,MapPinIcon:sb,MapPinMinus:ab,MapPinMinusIcon:ab,MapPinMinusInside:tb,MapPinMinusInsideIcon:tb,MapPinOff:nb,MapPinOffIcon:nb,MapPinPlus:rb,MapPinPlusIcon:rb,MapPinPlusInside:ob,MapPinPlusInsideIcon:ob,MapPinX:cb,MapPinXIcon:cb,MapPinXInside:ib,MapPinXInsideIcon:ib,MapPinned:lb,MapPinnedIcon:lb,MapPlus:db,MapPlusIcon:db,Mars:pb,MarsIcon:pb,MarsStroke:hb,MarsStrokeIcon:hb,Martini:fb,MartiniIcon:fb,Maximize:mb,Maximize2:yb,Maximize2Icon:yb,MaximizeIcon:mb,Medal:vb,MedalIcon:vb,Megaphone:Mb,MegaphoneIcon:Mb,MegaphoneOff:kb,MegaphoneOffIcon:kb,Meh:gb,MehIcon:gb,MemoryStick:xb,MemoryStickIcon:xb,Menu:bb,MenuIcon:bb,MenuSquare:Kl,MenuSquareIcon:Kl,Merge:wb,MergeIcon:wb,MessageCircle:$b,MessageCircleCode:_b,MessageCircleCodeIcon:_b,MessageCircleDashed:Sb,MessageCircleDashedIcon:Sb,MessageCircleHeart:Cb,MessageCircleHeartIcon:Cb,MessageCircleIcon:$b,MessageCircleMore:Nb,MessageCircleMoreIcon:Nb,MessageCircleOff:Lb,MessageCircleOffIcon:Lb,MessageCirclePlus:Ib,MessageCirclePlusIcon:Ib,MessageCircleQuestion:Eb,MessageCircleQuestionIcon:Eb,MessageCircleReply:Ab,MessageCircleReplyIcon:Ab,MessageCircleWarning:Tb,MessageCircleWarningIcon:Tb,MessageCircleX:Rb,MessageCircleXIcon:Rb,MessageSquare:Xb,MessageSquareCode:jb,MessageSquareCodeIcon:jb,MessageSquareDashed:Pb,MessageSquareDashedIcon:Pb,MessageSquareDiff:Ob,MessageSquareDiffIcon:Ob,MessageSquareDot:Db,MessageSquareDotIcon:Db,MessageSquareHeart:zb,MessageSquareHeartIcon:zb,MessageSquareIcon:Xb,MessageSquareLock:qb,MessageSquareLockIcon:qb,MessageSquareMore:Hb,MessageSquareMoreIcon:Hb,MessageSquareOff:Vb,MessageSquareOffIcon:Vb,MessageSquarePlus:Bb,MessageSquarePlusIcon:Bb,MessageSquareQuote:Fb,MessageSquareQuoteIcon:Fb,MessageSquareReply:Ub,MessageSquareReplyIcon:Ub,MessageSquareShare:Gb,MessageSquareShareIcon:Gb,MessageSquareText:Wb,MessageSquareTextIcon:Wb,MessageSquareWarning:Zb,MessageSquareWarningIcon:Zb,MessageSquareX:Kb,MessageSquareXIcon:Kb,MessagesSquare:Yb,MessagesSquareIcon:Yb,Mic:Jb,Mic2:Ws,Mic2Icon:Ws,MicIcon:Jb,MicOff:Qb,MicOffIcon:Qb,MicVocal:Ws,MicVocalIcon:Ws,Microchip:e7,MicrochipIcon:e7,Microscope:t7,MicroscopeIcon:t7,Microwave:n7,MicrowaveIcon:n7,Milestone:a7,MilestoneIcon:a7,Milk:r7,MilkIcon:r7,MilkOff:o7,MilkOffIcon:o7,Minimize:c7,Minimize2:i7,Minimize2Icon:i7,MinimizeIcon:c7,Minus:s7,MinusCircle:Xc,MinusCircleIcon:Xc,MinusIcon:s7,MinusSquare:Yl,MinusSquareIcon:Yl,Monitor:x7,MonitorCheck:l7,MonitorCheckIcon:l7,MonitorCog:d7,MonitorCogIcon:d7,MonitorDot:u7,MonitorDotIcon:u7,MonitorDown:h7,MonitorDownIcon:h7,MonitorIcon:x7,MonitorOff:p7,MonitorOffIcon:p7,MonitorPause:f7,MonitorPauseIcon:f7,MonitorPlay:y7,MonitorPlayIcon:y7,MonitorSmartphone:m7,MonitorSmartphoneIcon:m7,MonitorSpeaker:v7,MonitorSpeakerIcon:v7,MonitorStop:k7,MonitorStopIcon:k7,MonitorUp:M7,MonitorUpIcon:M7,MonitorX:g7,MonitorXIcon:g7,Moon:w7,MoonIcon:w7,MoonStar:b7,MoonStarIcon:b7,MoreHorizontal:Dr,MoreHorizontalIcon:Dr,MoreVertical:ks,MoreVerticalIcon:ks,Mountain:N7,MountainIcon:N7,MountainSnow:_7,MountainSnowIcon:_7,Mouse:A7,MouseIcon:A7,MouseOff:S7,MouseOffIcon:S7,MousePointer:I7,MousePointer2:C7,MousePointer2Icon:C7,MousePointerBan:L7,MousePointerBanIcon:L7,MousePointerClick:E7,MousePointerClickIcon:E7,MousePointerIcon:I7,MousePointerSquareDashed:Hl,MousePointerSquareDashedIcon:Hl,Move:G7,Move3D:Zs,Move3DIcon:Zs,Move3d:Zs,Move3dIcon:Zs,MoveDiagonal:R7,MoveDiagonal2:T7,MoveDiagonal2Icon:T7,MoveDiagonalIcon:R7,MoveDown:P7,MoveDownIcon:P7,MoveDownLeft:$7,MoveDownLeftIcon:$7,MoveDownRight:j7,MoveDownRightIcon:j7,MoveHorizontal:O7,MoveHorizontalIcon:O7,MoveIcon:G7,MoveLeft:D7,MoveLeftIcon:D7,MoveRight:z7,MoveRightIcon:z7,MoveUp:V7,MoveUpIcon:V7,MoveUpLeft:q7,MoveUpLeftIcon:q7,MoveUpRight:H7,MoveUpRightIcon:H7,MoveVertical:B7,MoveVerticalIcon:B7,Music:Z7,Music2:F7,Music2Icon:F7,Music3:U7,Music3Icon:U7,Music4:W7,Music4Icon:W7,MusicIcon:Z7,Navigation:Q7,Navigation2:K7,Navigation2Icon:K7,Navigation2Off:X7,Navigation2OffIcon:X7,NavigationIcon:Q7,NavigationOff:Y7,NavigationOffIcon:Y7,Network:J7,NetworkIcon:J7,Newspaper:ew,NewspaperIcon:ew,Nfc:tw,NfcIcon:tw,NonBinary:nw,NonBinaryIcon:nw,Notebook:iw,NotebookIcon:iw,NotebookPen:aw,NotebookPenIcon:aw,NotebookTabs:ow,NotebookTabsIcon:ow,NotebookText:rw,NotebookTextIcon:rw,NotepadText:cw,NotepadTextDashed:sw,NotepadTextDashedIcon:sw,NotepadTextIcon:cw,Nut:dw,NutIcon:dw,NutOff:lw,NutOffIcon:lw,Octagon:hw,OctagonAlert:Xs,OctagonAlertIcon:Xs,OctagonIcon:hw,OctagonMinus:uw,OctagonMinusIcon:uw,OctagonPause:Ks,OctagonPauseIcon:Ks,OctagonX:Ys,OctagonXIcon:Ys,Omega:pw,OmegaIcon:pw,Option:yw,OptionIcon:yw,Orbit:fw,OrbitIcon:fw,Origami:mw,OrigamiIcon:mw,Outdent:qs,OutdentIcon:qs,Package:_w,Package2:vw,Package2Icon:vw,PackageCheck:kw,PackageCheckIcon:kw,PackageIcon:_w,PackageMinus:gw,PackageMinusIcon:gw,PackageOpen:Mw,PackageOpenIcon:Mw,PackagePlus:xw,PackagePlusIcon:xw,PackageSearch:bw,PackageSearchIcon:bw,PackageX:ww,PackageXIcon:ww,PaintBucket:Sw,PaintBucketIcon:Sw,PaintRoller:Cw,PaintRollerIcon:Cw,Paintbrush:Nw,Paintbrush2:Qs,Paintbrush2Icon:Qs,PaintbrushIcon:Nw,PaintbrushVertical:Qs,PaintbrushVerticalIcon:Qs,Palette:Lw,PaletteIcon:Lw,Palmtree:g1,PalmtreeIcon:g1,PanelBottom:Aw,PanelBottomClose:Ew,PanelBottomCloseIcon:Ew,PanelBottomDashed:Js,PanelBottomDashedIcon:Js,PanelBottomIcon:Aw,PanelBottomInactive:Js,PanelBottomInactiveIcon:Js,PanelBottomOpen:Iw,PanelBottomOpenIcon:Iw,PanelLeft:vi,PanelLeftClose:el,PanelLeftCloseIcon:el,PanelLeftDashed:tl,PanelLeftDashedIcon:tl,PanelLeftIcon:vi,PanelLeftInactive:tl,PanelLeftInactiveIcon:tl,PanelLeftOpen:nl,PanelLeftOpenIcon:nl,PanelRight:Rw,PanelRightClose:Tw,PanelRightCloseIcon:Tw,PanelRightDashed:al,PanelRightDashedIcon:al,PanelRightIcon:Rw,PanelRightInactive:al,PanelRightInactiveIcon:al,PanelRightOpen:jw,PanelRightOpenIcon:jw,PanelTop:Ow,PanelTopClose:$w,PanelTopCloseIcon:$w,PanelTopDashed:ol,PanelTopDashedIcon:ol,PanelTopIcon:Ow,PanelTopInactive:ol,PanelTopInactiveIcon:ol,PanelTopOpen:Pw,PanelTopOpenIcon:Pw,PanelsLeftBottom:Dw,PanelsLeftBottomIcon:Dw,PanelsLeftRight:fs,PanelsLeftRightIcon:fs,PanelsRightBottom:zw,PanelsRightBottomIcon:zw,PanelsTopBottom:hl,PanelsTopBottomIcon:hl,PanelsTopLeft:rl,PanelsTopLeftIcon:rl,Paperclip:qw,PaperclipIcon:qw,Parentheses:Hw,ParenthesesIcon:Hw,ParkingCircle:Qc,ParkingCircleIcon:Qc,ParkingCircleOff:Yc,ParkingCircleOffIcon:Yc,ParkingMeter:Vw,ParkingMeterIcon:Vw,ParkingSquare:e1,ParkingSquareIcon:e1,ParkingSquareOff:Jl,ParkingSquareOffIcon:Jl,PartyPopper:Bw,PartyPopperIcon:Bw,Pause:Fw,PauseCircle:Jc,PauseCircleIcon:Jc,PauseIcon:Fw,PauseOctagon:Ks,PauseOctagonIcon:Ks,PawPrint:Uw,PawPrintIcon:Uw,PcCase:Gw,PcCaseIcon:Gw,Pen:cl,PenBox:Un,PenBoxIcon:Un,PenIcon:cl,PenLine:il,PenLineIcon:il,PenOff:Ww,PenOffIcon:Ww,PenSquare:Un,PenSquareIcon:Un,PenTool:Zw,PenToolIcon:Zw,Pencil:Qw,PencilIcon:Qw,PencilLine:Xw,PencilLineIcon:Xw,PencilOff:Yw,PencilOffIcon:Yw,PencilRuler:Kw,PencilRulerIcon:Kw,Pentagon:Jw,PentagonIcon:Jw,Percent:e9,PercentCircle:es,PercentCircleIcon:es,PercentDiamond:ms,PercentDiamondIcon:ms,PercentIcon:e9,PercentSquare:t1,PercentSquareIcon:t1,PersonStanding:t9,PersonStandingIcon:t9,PhilippinePeso:n9,PhilippinePesoIcon:n9,Phone:l9,PhoneCall:a9,PhoneCallIcon:a9,PhoneForwarded:o9,PhoneForwardedIcon:o9,PhoneIcon:l9,PhoneIncoming:r9,PhoneIncomingIcon:r9,PhoneMissed:i9,PhoneMissedIcon:i9,PhoneOff:c9,PhoneOffIcon:c9,PhoneOutgoing:s9,PhoneOutgoingIcon:s9,Pi:h9,PiIcon:h9,PiSquare:n1,PiSquareIcon:n1,Piano:d9,PianoIcon:d9,Pickaxe:u9,PickaxeIcon:u9,PictureInPicture:f9,PictureInPicture2:p9,PictureInPicture2Icon:p9,PictureInPictureIcon:f9,PieChart:Ic,PieChartIcon:Ic,PiggyBank:y9,PiggyBankIcon:y9,Pilcrow:k9,PilcrowIcon:k9,PilcrowLeft:m9,PilcrowLeftIcon:m9,PilcrowRight:v9,PilcrowRightIcon:v9,PilcrowSquare:a1,PilcrowSquareIcon:a1,Pill:M9,PillBottle:g9,PillBottleIcon:g9,PillIcon:M9,Pin:x9,PinIcon:x9,PinOff:b9,PinOffIcon:b9,Pipette:w9,PipetteIcon:w9,Pizza:_9,PizzaIcon:_9,Plane:N9,PlaneIcon:N9,PlaneLanding:S9,PlaneLandingIcon:S9,PlaneTakeoff:C9,PlaneTakeoffIcon:C9,Play:L9,PlayCircle:ts,PlayCircleIcon:ts,PlayIcon:L9,PlaySquare:o1,PlaySquareIcon:o1,Plug:I9,Plug2:E9,Plug2Icon:E9,PlugIcon:I9,PlugZap:sl,PlugZap2:sl,PlugZap2Icon:sl,PlugZapIcon:sl,Plus:k2,PlusCircle:ns,PlusCircleIcon:ns,PlusIcon:k2,PlusSquare:r1,PlusSquareIcon:r1,Pocket:T9,PocketIcon:T9,PocketKnife:A9,PocketKnifeIcon:A9,Podcast:R9,PodcastIcon:R9,Pointer:j9,PointerIcon:j9,PointerOff:$9,PointerOffIcon:$9,Popcorn:P9,PopcornIcon:P9,Popsicle:O9,PopsicleIcon:O9,PoundSterling:D9,PoundSterlingIcon:D9,Power:H9,PowerCircle:as,PowerCircleIcon:as,PowerIcon:H9,PowerOff:z9,PowerOffIcon:z9,PowerSquare:i1,PowerSquareIcon:i1,Presentation:q9,PresentationIcon:q9,Printer:B9,PrinterCheck:V9,PrinterCheckIcon:V9,PrinterIcon:B9,Projector:F9,ProjectorIcon:F9,Proportions:U9,ProportionsIcon:U9,Puzzle:G9,PuzzleIcon:G9,Pyramid:W9,PyramidIcon:W9,QrCode:Z9,QrCodeIcon:Z9,Quote:X9,QuoteIcon:X9,Rabbit:K9,RabbitIcon:K9,Radar:Y9,RadarIcon:Y9,Radiation:Q9,RadiationIcon:Q9,Radical:e_,RadicalIcon:e_,Radio:n_,RadioIcon:n_,RadioReceiver:J9,RadioReceiverIcon:J9,RadioTower:t_,RadioTowerIcon:t_,Radius:a_,RadiusIcon:a_,RailSymbol:o_,RailSymbolIcon:o_,Rainbow:r_,RainbowIcon:r_,Rat:i_,RatIcon:i_,Ratio:c_,RatioIcon:c_,Receipt:m_,ReceiptCent:s_,ReceiptCentIcon:s_,ReceiptEuro:l_,ReceiptEuroIcon:l_,ReceiptIcon:m_,ReceiptIndianRupee:d_,ReceiptIndianRupeeIcon:d_,ReceiptJapaneseYen:u_,ReceiptJapaneseYenIcon:u_,ReceiptPoundSterling:h_,ReceiptPoundSterlingIcon:h_,ReceiptRussianRuble:p_,ReceiptRussianRubleIcon:p_,ReceiptSwissFranc:f_,ReceiptSwissFrancIcon:f_,ReceiptText:y_,ReceiptTextIcon:y_,RectangleEllipsis:ll,RectangleEllipsisIcon:ll,RectangleHorizontal:v_,RectangleHorizontalIcon:v_,RectangleVertical:k_,RectangleVerticalIcon:k_,Recycle:g_,RecycleIcon:g_,Redo:b_,Redo2:M_,Redo2Icon:M_,RedoDot:x_,RedoDotIcon:x_,RedoIcon:b_,RefreshCcw:__,RefreshCcwDot:w_,RefreshCcwDotIcon:w_,RefreshCcwIcon:__,RefreshCw:N_,RefreshCwIcon:N_,RefreshCwOff:S_,RefreshCwOffIcon:S_,Refrigerator:C_,RefrigeratorIcon:C_,Regex:L_,RegexIcon:L_,RemoveFormatting:I_,RemoveFormattingIcon:I_,Repeat:T_,Repeat1:E_,Repeat1Icon:E_,Repeat2:A_,Repeat2Icon:A_,RepeatIcon:T_,Replace:$_,ReplaceAll:R_,ReplaceAllIcon:R_,ReplaceIcon:$_,Reply:P_,ReplyAll:j_,ReplyAllIcon:j_,ReplyIcon:P_,Rewind:O_,RewindIcon:O_,Ribbon:D_,RibbonIcon:D_,Rocket:z_,RocketIcon:z_,RockingChair:q_,RockingChairIcon:q_,RollerCoaster:H_,RollerCoasterIcon:H_,Rotate3D:dl,Rotate3DIcon:dl,Rotate3d:dl,Rotate3dIcon:dl,RotateCcw:B_,RotateCcwIcon:B_,RotateCcwSquare:V_,RotateCcwSquareIcon:V_,RotateCw:U_,RotateCwIcon:U_,RotateCwSquare:F_,RotateCwSquareIcon:F_,Route:Z_,RouteIcon:Z_,RouteOff:G_,RouteOffIcon:G_,Router:W_,RouterIcon:W_,Rows:ul,Rows2:ul,Rows2Icon:ul,Rows3:hl,Rows3Icon:hl,Rows4:X_,Rows4Icon:X_,RowsIcon:ul,Rss:K_,RssIcon:K_,Ruler:Y_,RulerIcon:Y_,RussianRuble:Q_,RussianRubleIcon:Q_,Sailboat:J_,SailboatIcon:J_,Salad:tS,SaladIcon:tS,Sandwich:eS,SandwichIcon:eS,Satellite:nS,SatelliteDish:aS,SatelliteDishIcon:aS,SatelliteIcon:nS,SaudiRiyal:oS,SaudiRiyalIcon:oS,Save:cS,SaveAll:iS,SaveAllIcon:iS,SaveIcon:cS,SaveOff:rS,SaveOffIcon:rS,Scale:sS,Scale3D:pl,Scale3DIcon:pl,Scale3d:pl,Scale3dIcon:pl,ScaleIcon:sS,Scaling:lS,ScalingIcon:lS,Scan:kS,ScanBarcode:dS,ScanBarcodeIcon:dS,ScanEye:uS,ScanEyeIcon:uS,ScanFace:hS,ScanFaceIcon:hS,ScanHeart:pS,ScanHeartIcon:pS,ScanIcon:kS,ScanLine:fS,ScanLineIcon:fS,ScanQrCode:yS,ScanQrCodeIcon:yS,ScanSearch:mS,ScanSearchIcon:mS,ScanText:vS,ScanTextIcon:vS,ScatterChart:Ac,ScatterChartIcon:Ac,School:MS,School2:b1,School2Icon:b1,SchoolIcon:MS,Scissors:xS,ScissorsIcon:xS,ScissorsLineDashed:gS,ScissorsLineDashedIcon:gS,ScissorsSquare:c1,ScissorsSquareDashedBottom:Tl,ScissorsSquareDashedBottomIcon:Tl,ScissorsSquareIcon:c1,ScreenShare:wS,ScreenShareIcon:wS,ScreenShareOff:bS,ScreenShareOffIcon:bS,Scroll:SS,ScrollIcon:SS,ScrollText:_S,ScrollTextIcon:_S,Search:g2,SearchCheck:CS,SearchCheckIcon:CS,SearchCode:NS,SearchCodeIcon:NS,SearchIcon:g2,SearchSlash:ES,SearchSlashIcon:ES,SearchX:LS,SearchXIcon:LS,Section:IS,SectionIcon:IS,Send:TS,SendHorizonal:fl,SendHorizonalIcon:fl,SendHorizontal:fl,SendHorizontalIcon:fl,SendIcon:TS,SendToBack:AS,SendToBackIcon:AS,SeparatorHorizontal:RS,SeparatorHorizontalIcon:RS,SeparatorVertical:$S,SeparatorVerticalIcon:$S,Server:DS,ServerCog:jS,ServerCogIcon:jS,ServerCrash:PS,ServerCrashIcon:PS,ServerIcon:DS,ServerOff:OS,ServerOffIcon:OS,Settings:qS,Settings2:zS,Settings2Icon:zS,SettingsIcon:qS,Shapes:HS,ShapesIcon:HS,Share:BS,Share2:VS,Share2Icon:VS,ShareIcon:BS,Sheet:FS,SheetIcon:FS,Shell:US,ShellIcon:US,Shield:nC,ShieldAlert:GS,ShieldAlertIcon:GS,ShieldBan:ZS,ShieldBanIcon:ZS,ShieldCheck:WS,ShieldCheckIcon:WS,ShieldClose:yl,ShieldCloseIcon:yl,ShieldEllipsis:XS,ShieldEllipsisIcon:XS,ShieldHalf:KS,ShieldHalfIcon:KS,ShieldIcon:nC,ShieldMinus:YS,ShieldMinusIcon:YS,ShieldOff:QS,ShieldOffIcon:QS,ShieldPlus:JS,ShieldPlusIcon:JS,ShieldQuestion:eC,ShieldQuestionIcon:eC,ShieldUser:tC,ShieldUserIcon:tC,ShieldX:yl,ShieldXIcon:yl,Ship:oC,ShipIcon:oC,ShipWheel:aC,ShipWheelIcon:aC,Shirt:rC,ShirtIcon:rC,ShoppingBag:iC,ShoppingBagIcon:iC,ShoppingBasket:cC,ShoppingBasketIcon:cC,ShoppingCart:sC,ShoppingCartIcon:sC,Shovel:lC,ShovelIcon:lC,ShowerHead:dC,ShowerHeadIcon:dC,Shrimp:uC,ShrimpIcon:uC,Shrink:hC,ShrinkIcon:hC,Shrub:pC,ShrubIcon:pC,Shuffle:fC,ShuffleIcon:fC,Sidebar:vi,SidebarClose:el,SidebarCloseIcon:el,SidebarIcon:vi,SidebarOpen:nl,SidebarOpenIcon:nl,Sigma:yC,SigmaIcon:yC,SigmaSquare:s1,SigmaSquareIcon:s1,Signal:MC,SignalHigh:mC,SignalHighIcon:mC,SignalIcon:MC,SignalLow:kC,SignalLowIcon:kC,SignalMedium:vC,SignalMediumIcon:vC,SignalZero:gC,SignalZeroIcon:gC,Signature:xC,SignatureIcon:xC,Signpost:wC,SignpostBig:bC,SignpostBigIcon:bC,SignpostIcon:wC,Siren:_C,SirenIcon:_C,SkipBack:SC,SkipBackIcon:SC,SkipForward:CC,SkipForwardIcon:CC,Skull:NC,SkullIcon:NC,Slack:LC,SlackIcon:LC,Slash:EC,SlashIcon:EC,SlashSquare:l1,SlashSquareIcon:l1,Slice:IC,SliceIcon:IC,Sliders:ml,SlidersHorizontal:AC,SlidersHorizontalIcon:AC,SlidersIcon:ml,SlidersVertical:ml,SlidersVerticalIcon:ml,Smartphone:$C,SmartphoneCharging:TC,SmartphoneChargingIcon:TC,SmartphoneIcon:$C,SmartphoneNfc:RC,SmartphoneNfcIcon:RC,Smile:PC,SmileIcon:PC,SmilePlus:jC,SmilePlusIcon:jC,Snail:OC,SnailIcon:OC,Snowflake:DC,SnowflakeIcon:DC,Sofa:zC,SofaIcon:zC,SortAsc:dc,SortAscIcon:dc,SortDesc:cc,SortDescIcon:cc,Soup:qC,SoupIcon:qC,Space:HC,SpaceIcon:HC,Spade:VC,SpadeIcon:VC,Sparkle:BC,SparkleIcon:BC,Sparkles:vl,SparklesIcon:vl,Speaker:FC,SpeakerIcon:FC,Speech:UC,SpeechIcon:UC,SpellCheck:WC,SpellCheck2:GC,SpellCheck2Icon:GC,SpellCheckIcon:WC,Spline:XC,SplineIcon:XC,Split:ZC,SplitIcon:ZC,SplitSquareHorizontal:u1,SplitSquareHorizontalIcon:u1,SplitSquareVertical:d1,SplitSquareVerticalIcon:d1,SprayCan:KC,SprayCanIcon:KC,Sprout:YC,SproutIcon:YC,Square:oN,SquareActivity:kl,SquareActivityIcon:kl,SquareArrowDown:bl,SquareArrowDownIcon:bl,SquareArrowDownLeft:gl,SquareArrowDownLeftIcon:gl,SquareArrowDownRight:Ml,SquareArrowDownRightIcon:Ml,SquareArrowLeft:xl,SquareArrowLeftIcon:xl,SquareArrowOutDownLeft:wl,SquareArrowOutDownLeftIcon:wl,SquareArrowOutDownRight:_l,SquareArrowOutDownRightIcon:_l,SquareArrowOutUpLeft:Sl,SquareArrowOutUpLeftIcon:Sl,SquareArrowOutUpRight:Cl,SquareArrowOutUpRightIcon:Cl,SquareArrowRight:Nl,SquareArrowRightIcon:Nl,SquareArrowUp:Il,SquareArrowUpIcon:Il,SquareArrowUpLeft:Ll,SquareArrowUpLeftIcon:Ll,SquareArrowUpRight:El,SquareArrowUpRightIcon:El,SquareAsterisk:Al,SquareAsteriskIcon:Al,SquareBottomDashedScissors:Tl,SquareBottomDashedScissorsIcon:Tl,SquareChartGantt:nr,SquareChartGanttIcon:nr,SquareCheck:$l,SquareCheckBig:Rl,SquareCheckBigIcon:Rl,SquareCheckIcon:$l,SquareChevronDown:jl,SquareChevronDownIcon:jl,SquareChevronLeft:Pl,SquareChevronLeftIcon:Pl,SquareChevronRight:Ol,SquareChevronRightIcon:Ol,SquareChevronUp:Dl,SquareChevronUpIcon:Dl,SquareCode:zl,SquareCodeIcon:zl,SquareDashed:Vl,SquareDashedBottom:QC,SquareDashedBottomCode:JC,SquareDashedBottomCodeIcon:JC,SquareDashedBottomIcon:QC,SquareDashedIcon:Vl,SquareDashedKanban:ql,SquareDashedKanbanIcon:ql,SquareDashedMousePointer:Hl,SquareDashedMousePointerIcon:Hl,SquareDivide:Bl,SquareDivideIcon:Bl,SquareDot:Fl,SquareDotIcon:Fl,SquareEqual:Gl,SquareEqualIcon:Gl,SquareFunction:Ul,SquareFunctionIcon:Ul,SquareGanttChart:nr,SquareGanttChartIcon:nr,SquareIcon:oN,SquareKanban:Wl,SquareKanbanIcon:Wl,SquareLibrary:Zl,SquareLibraryIcon:Zl,SquareM:Xl,SquareMIcon:Xl,SquareMenu:Kl,SquareMenuIcon:Kl,SquareMinus:Yl,SquareMinusIcon:Yl,SquareMousePointer:Ql,SquareMousePointerIcon:Ql,SquareParking:e1,SquareParkingIcon:e1,SquareParkingOff:Jl,SquareParkingOffIcon:Jl,SquarePen:Un,SquarePenIcon:Un,SquarePercent:t1,SquarePercentIcon:t1,SquarePi:n1,SquarePiIcon:n1,SquarePilcrow:a1,SquarePilcrowIcon:a1,SquarePlay:o1,SquarePlayIcon:o1,SquarePlus:r1,SquarePlusIcon:r1,SquarePower:i1,SquarePowerIcon:i1,SquareRadical:eN,SquareRadicalIcon:eN,SquareRoundCorner:tN,SquareRoundCornerIcon:tN,SquareScissors:c1,SquareScissorsIcon:c1,SquareSigma:s1,SquareSigmaIcon:s1,SquareSlash:l1,SquareSlashIcon:l1,SquareSplitHorizontal:u1,SquareSplitHorizontalIcon:u1,SquareSplitVertical:d1,SquareSplitVerticalIcon:d1,SquareSquare:nN,SquareSquareIcon:nN,SquareStack:aN,SquareStackIcon:aN,SquareTerminal:h1,SquareTerminalIcon:h1,SquareUser:f1,SquareUserIcon:f1,SquareUserRound:p1,SquareUserRoundIcon:p1,SquareX:y1,SquareXIcon:y1,Squircle:rN,SquircleIcon:rN,Squirrel:cN,SquirrelIcon:cN,Stamp:iN,StampIcon:iN,Star:dN,StarHalf:sN,StarHalfIcon:sN,StarIcon:dN,StarOff:lN,StarOffIcon:lN,Stars:vl,StarsIcon:vl,StepBack:uN,StepBackIcon:uN,StepForward:hN,StepForwardIcon:hN,Stethoscope:pN,StethoscopeIcon:pN,Sticker:fN,StickerIcon:fN,StickyNote:yN,StickyNoteIcon:yN,StopCircle:rs,StopCircleIcon:rs,Store:mN,StoreIcon:mN,StretchHorizontal:vN,StretchHorizontalIcon:vN,StretchVertical:kN,StretchVerticalIcon:kN,Strikethrough:gN,StrikethroughIcon:gN,Subscript:MN,SubscriptIcon:MN,Subtitles:kc,SubtitlesIcon:kc,Sun:SN,SunDim:xN,SunDimIcon:xN,SunIcon:SN,SunMedium:bN,SunMediumIcon:bN,SunMoon:wN,SunMoonIcon:wN,SunSnow:_N,SunSnowIcon:_N,Sunrise:CN,SunriseIcon:CN,Sunset:NN,SunsetIcon:NN,Superscript:LN,SuperscriptIcon:LN,SwatchBook:EN,SwatchBookIcon:EN,SwissFranc:IN,SwissFrancIcon:IN,SwitchCamera:AN,SwitchCameraIcon:AN,Sword:TN,SwordIcon:TN,Swords:RN,SwordsIcon:RN,Syringe:$N,SyringeIcon:$N,Table:VN,Table2:jN,Table2Icon:jN,TableCellsMerge:PN,TableCellsMergeIcon:PN,TableCellsSplit:ON,TableCellsSplitIcon:ON,TableColumnsSplit:DN,TableColumnsSplitIcon:DN,TableIcon:VN,TableOfContents:zN,TableOfContentsIcon:zN,TableProperties:qN,TablePropertiesIcon:qN,TableRowsSplit:HN,TableRowsSplitIcon:HN,Tablet:FN,TabletIcon:FN,TabletSmartphone:BN,TabletSmartphoneIcon:BN,Tablets:UN,TabletsIcon:UN,Tag:GN,TagIcon:GN,Tags:WN,TagsIcon:WN,Tally1:ZN,Tally1Icon:ZN,Tally2:XN,Tally2Icon:XN,Tally3:KN,Tally3Icon:KN,Tally4:YN,Tally4Icon:YN,Tally5:QN,Tally5Icon:QN,Tangent:JN,TangentIcon:JN,Target:eL,TargetIcon:eL,Telescope:tL,TelescopeIcon:tL,Tent:aL,TentIcon:aL,TentTree:nL,TentTreeIcon:nL,Terminal:oL,TerminalIcon:oL,TerminalSquare:h1,TerminalSquareIcon:h1,TestTube:iL,TestTube2:m1,TestTube2Icon:m1,TestTubeDiagonal:m1,TestTubeDiagonalIcon:m1,TestTubeIcon:iL,TestTubes:rL,TestTubesIcon:rL,Text:uL,TextCursor:sL,TextCursorIcon:sL,TextCursorInput:cL,TextCursorInputIcon:cL,TextIcon:uL,TextQuote:lL,TextQuoteIcon:lL,TextSearch:dL,TextSearchIcon:dL,TextSelect:v1,TextSelectIcon:v1,TextSelection:v1,TextSelectionIcon:v1,Theater:hL,TheaterIcon:hL,Thermometer:yL,ThermometerIcon:yL,ThermometerSnowflake:pL,ThermometerSnowflakeIcon:pL,ThermometerSun:fL,ThermometerSunIcon:fL,ThumbsDown:mL,ThumbsDownIcon:mL,ThumbsUp:vL,ThumbsUpIcon:vL,Ticket:_L,TicketCheck:kL,TicketCheckIcon:kL,TicketIcon:_L,TicketMinus:gL,TicketMinusIcon:gL,TicketPercent:ML,TicketPercentIcon:ML,TicketPlus:xL,TicketPlusIcon:xL,TicketSlash:bL,TicketSlashIcon:bL,TicketX:wL,TicketXIcon:wL,Tickets:CL,TicketsIcon:CL,TicketsPlane:SL,TicketsPlaneIcon:SL,Timer:EL,TimerIcon:EL,TimerOff:LL,TimerOffIcon:LL,TimerReset:NL,TimerResetIcon:NL,ToggleLeft:AL,ToggleLeftIcon:AL,ToggleRight:IL,ToggleRightIcon:IL,Toilet:TL,ToiletIcon:TL,Tornado:RL,TornadoIcon:RL,Torus:$L,TorusIcon:$L,Touchpad:PL,TouchpadIcon:PL,TouchpadOff:jL,TouchpadOffIcon:jL,TowerControl:OL,TowerControlIcon:OL,ToyBrick:DL,ToyBrickIcon:DL,Tractor:zL,TractorIcon:zL,TrafficCone:qL,TrafficConeIcon:qL,Train:k1,TrainFront:VL,TrainFrontIcon:VL,TrainFrontTunnel:HL,TrainFrontTunnelIcon:HL,TrainIcon:k1,TrainTrack:BL,TrainTrackIcon:BL,TramFront:k1,TramFrontIcon:k1,Transgender:FL,TransgenderIcon:FL,Trash:GL,Trash2:UL,Trash2Icon:UL,TrashIcon:GL,TreeDeciduous:WL,TreeDeciduousIcon:WL,TreePalm:g1,TreePalmIcon:g1,TreePine:ZL,TreePineIcon:ZL,Trees:XL,TreesIcon:XL,Trello:KL,TrelloIcon:KL,TrendingDown:YL,TrendingDownIcon:YL,TrendingUp:JL,TrendingUpDown:QL,TrendingUpDownIcon:QL,TrendingUpIcon:JL,Triangle:nE,TriangleAlert:M1,TriangleAlertIcon:M1,TriangleDashed:eE,TriangleDashedIcon:eE,TriangleIcon:nE,TriangleRight:tE,TriangleRightIcon:tE,Trophy:aE,TrophyIcon:aE,Truck:oE,TruckIcon:oE,Turtle:rE,TurtleIcon:rE,Tv:cE,Tv2:x1,Tv2Icon:x1,TvIcon:cE,TvMinimal:x1,TvMinimalIcon:x1,TvMinimalPlay:iE,TvMinimalPlayIcon:iE,Twitch:sE,TwitchIcon:sE,Twitter:lE,TwitterIcon:lE,Type:hE,TypeIcon:hE,TypeOutline:dE,TypeOutlineIcon:dE,Umbrella:pE,UmbrellaIcon:pE,UmbrellaOff:uE,UmbrellaOffIcon:uE,Underline:fE,UnderlineIcon:fE,Undo:vE,Undo2:yE,Undo2Icon:yE,UndoDot:mE,UndoDotIcon:mE,UndoIcon:vE,UnfoldHorizontal:kE,UnfoldHorizontalIcon:kE,UnfoldVertical:gE,UnfoldVerticalIcon:gE,Ungroup:ME,UngroupIcon:ME,University:b1,UniversityIcon:b1,Unlink:bE,Unlink2:xE,Unlink2Icon:xE,UnlinkIcon:bE,Unlock:Gs,UnlockIcon:Gs,UnlockKeyhole:Us,UnlockKeyholeIcon:Us,Unplug:_E,UnplugIcon:_E,Upload:wE,UploadCloud:us,UploadCloudIcon:us,UploadIcon:wE,Usb:CE,UsbIcon:CE,User:jE,User2:L1,User2Icon:L1,UserCheck:SE,UserCheck2:w1,UserCheck2Icon:w1,UserCheckIcon:SE,UserCircle:cs,UserCircle2:is,UserCircle2Icon:is,UserCircleIcon:cs,UserCog:NE,UserCog2:_1,UserCog2Icon:_1,UserCogIcon:NE,UserIcon:jE,UserMinus:LE,UserMinus2:S1,UserMinus2Icon:S1,UserMinusIcon:LE,UserPen:EE,UserPenIcon:EE,UserPlus:IE,UserPlus2:C1,UserPlus2Icon:C1,UserPlusIcon:IE,UserRound:L1,UserRoundCheck:w1,UserRoundCheckIcon:w1,UserRoundCog:_1,UserRoundCogIcon:_1,UserRoundIcon:L1,UserRoundMinus:S1,UserRoundMinusIcon:S1,UserRoundPen:AE,UserRoundPenIcon:AE,UserRoundPlus:C1,UserRoundPlusIcon:C1,UserRoundSearch:TE,UserRoundSearchIcon:TE,UserRoundX:N1,UserRoundXIcon:N1,UserSearch:RE,UserSearchIcon:RE,UserSquare:f1,UserSquare2:p1,UserSquare2Icon:p1,UserSquareIcon:f1,UserX:$E,UserX2:N1,UserX2Icon:N1,UserXIcon:$E,Users:PE,Users2:E1,Users2Icon:E1,UsersIcon:PE,UsersRound:E1,UsersRoundIcon:E1,Utensils:A1,UtensilsCrossed:I1,UtensilsCrossedIcon:I1,UtensilsIcon:A1,UtilityPole:OE,UtilityPoleIcon:OE,Variable:DE,VariableIcon:DE,Vault:zE,VaultIcon:zE,Vegan:qE,VeganIcon:qE,VenetianMask:HE,VenetianMaskIcon:HE,Venus:FE,VenusAndMars:VE,VenusAndMarsIcon:VE,VenusIcon:FE,Verified:pc,VerifiedIcon:pc,Vibrate:UE,VibrateIcon:UE,VibrateOff:BE,VibrateOffIcon:BE,Video:WE,VideoIcon:WE,VideoOff:GE,VideoOffIcon:GE,Videotape:ZE,VideotapeIcon:ZE,View:XE,ViewIcon:XE,Voicemail:KE,VoicemailIcon:KE,Volleyball:QE,VolleyballIcon:QE,Volume:aI,Volume1:YE,Volume1Icon:YE,Volume2:JE,Volume2Icon:JE,VolumeIcon:aI,VolumeOff:eI,VolumeOffIcon:eI,VolumeX:tI,VolumeXIcon:tI,Vote:nI,VoteIcon:nI,Wallet:rI,Wallet2:T1,Wallet2Icon:T1,WalletCards:oI,WalletCardsIcon:oI,WalletIcon:rI,WalletMinimal:T1,WalletMinimalIcon:T1,Wallpaper:iI,WallpaperIcon:iI,Wand:cI,Wand2:ki,Wand2Icon:ki,WandIcon:cI,WandSparkles:ki,WandSparklesIcon:ki,Warehouse:sI,WarehouseIcon:sI,WashingMachine:lI,WashingMachineIcon:lI,Watch:dI,WatchIcon:dI,Waves:hI,WavesIcon:hI,WavesLadder:uI,WavesLadderIcon:uI,Waypoints:pI,WaypointsIcon:pI,Webcam:fI,WebcamIcon:fI,Webhook:yI,WebhookIcon:yI,WebhookOff:mI,WebhookOffIcon:mI,Weight:vI,WeightIcon:vI,Wheat:kI,WheatIcon:kI,WheatOff:gI,WheatOffIcon:gI,WholeWord:MI,WholeWordIcon:MI,Wifi:SI,WifiHigh:xI,WifiHighIcon:xI,WifiIcon:SI,WifiLow:bI,WifiLowIcon:bI,WifiOff:_I,WifiOffIcon:_I,WifiZero:wI,WifiZeroIcon:wI,Wind:NI,WindArrowDown:CI,WindArrowDownIcon:CI,WindIcon:NI,Wine:EI,WineIcon:EI,WineOff:LI,WineOffIcon:LI,Workflow:II,WorkflowIcon:II,Worm:AI,WormIcon:AI,WrapText:TI,WrapTextIcon:TI,Wrench:RI,WrenchIcon:RI,X:bi,XCircle:Or,XCircleIcon:Or,XIcon:bi,XOctagon:Ys,XOctagonIcon:Ys,XSquare:y1,XSquareIcon:y1,Youtube:$I,YoutubeIcon:$I,Zap:PI,ZapIcon:PI,ZapOff:jI,ZapOffIcon:jI,ZoomIn:OI,ZoomInIcon:OI,ZoomOut:DI,ZoomOutIcon:DI,createLucideIcon:d,icons:B_e},Symbol.toStringTag,{value:"Module"}));function U_e({...e}){return M.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...e})}function G_e({className:e,...t}){return M.jsx("ol",{"data-slot":"breadcrumb-list",className:ee("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",e),...t})}function W_e({className:e,...t}){return M.jsx("li",{"data-slot":"breadcrumb-item",className:ee("inline-flex items-center gap-1.5",e),...t})}function Z_e({asChild:e,className:t,...a}){const o=e?Ii:"a";return M.jsx(o,{"data-slot":"breadcrumb-link",className:ee("hover:text-foreground transition-colors",t),...a})}function X_e({className:e,...t}){return M.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:ee("text-foreground font-normal",e),...t})}function K_e({children:e,className:t,...a}){return M.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:ee("[&>svg]:size-3.5",t),...a,children:e??M.jsx(lr,{})})}function Y_e({className:e,...t}){return M.jsxs("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:ee("flex size-9 items-center justify-center",e),...t,children:[M.jsx(Dr,{className:"size-4"}),M.jsx("span",{className:"sr-only",children:"More"})]})}const QI=MA("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive cursor-pointer",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/80 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",green:"bg-chart-2 text-primary-foreground shadow-xs hover:bg-chart-2/90",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9",list:"h-8 px-2 py-2 has-[>svg]:px-2"}},defaultVariants:{variant:"default",size:"default"}});function xA({className:e,variant:t,size:a,asChild:o=!1,...i}){const s=o?Ii:"button";return M.jsx(s,{"data-slot":"button",className:ee(QI({variant:t,size:a,className:e})),...i})}function at(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function Xn(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function gn(e,t){const a=at(e);return isNaN(t)?Xn(e,NaN):(t&&a.setDate(a.getDate()+t),a)}function ba(e,t){const a=at(e);if(isNaN(t))return Xn(e,NaN);if(!t)return a;const o=a.getDate(),i=Xn(e,a.getTime());i.setMonth(a.getMonth()+t+1,0);const s=i.getDate();return o>=s?i:(a.setFullYear(i.getFullYear(),i.getMonth(),o),a)}const OP=6048e5,Q_e=864e5;let J_e={};function R2(){return J_e}function hr(e,t){var h,f,y,k;const a=R2(),o=(t==null?void 0:t.weekStartsOn)??((f=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:f.weekStartsOn)??a.weekStartsOn??((k=(y=a.locale)==null?void 0:y.options)==null?void 0:k.weekStartsOn)??0,i=at(e),s=i.getDay(),l=(s<o?7:0)+s-o;return i.setDate(i.getDate()-l),i.setHours(0,0,0,0),i}function q1(e){return hr(e,{weekStartsOn:1})}function fG(e){const t=at(e),a=t.getFullYear(),o=Xn(e,0);o.setFullYear(a+1,0,4),o.setHours(0,0,0,0);const i=q1(o),s=Xn(e,0);s.setFullYear(a,0,4),s.setHours(0,0,0,0);const l=q1(s);return t.getTime()>=i.getTime()?a+1:t.getTime()>=l.getTime()?a:a-1}function Gd(e){const t=at(e);return t.setHours(0,0,0,0),t}function JI(e){const t=at(e),a=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return a.setUTCFullYear(t.getFullYear()),+e-+a}function ir(e,t){const a=Gd(e),o=Gd(t),i=+a-JI(a),s=+o-JI(o);return Math.round((i-s)/Q_e)}function eSe(e){const t=fG(e),a=Xn(e,0);return a.setFullYear(t,0,4),a.setHours(0,0,0,0),q1(a)}function Xj(e,t){const a=t*7;return gn(e,a)}function tSe(e,t){return ba(e,t*12)}function nSe(e){let t;return e.forEach(function(a){const o=at(a);(t===void 0||t<o||isNaN(Number(o)))&&(t=o)}),t||new Date(NaN)}function aSe(e){let t;return e.forEach(a=>{const o=at(a);(!t||t>o||isNaN(+o))&&(t=o)}),t||new Date(NaN)}function An(e,t){const a=Gd(e),o=Gd(t);return+a==+o}function DP(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function oSe(e){if(!DP(e)&&typeof e!="number")return!1;const t=at(e);return!isNaN(Number(t))}function w2(e,t){const a=at(e),o=at(t),i=a.getFullYear()-o.getFullYear(),s=a.getMonth()-o.getMonth();return i*12+s}function rSe(e,t,a){const o=hr(e,a),i=hr(t,a),s=+o-JI(o),l=+i-JI(i);return Math.round((s-l)/OP)}function zP(e){const t=at(e),a=t.getMonth();return t.setFullYear(t.getFullYear(),a+1,0),t.setHours(23,59,59,999),t}function $n(e){const t=at(e);return t.setDate(1),t.setHours(0,0,0,0),t}function yG(e){const t=at(e),a=Xn(e,0);return a.setFullYear(t.getFullYear(),0,1),a.setHours(0,0,0,0),a}function qP(e,t){var h,f,y,k;const a=R2(),o=(t==null?void 0:t.weekStartsOn)??((f=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:f.weekStartsOn)??a.weekStartsOn??((k=(y=a.locale)==null?void 0:y.options)==null?void 0:k.weekStartsOn)??0,i=at(e),s=i.getDay(),l=(s<o?-7:0)+6-(s-o);return i.setDate(i.getDate()+l),i.setHours(23,59,59,999),i}function mG(e){return qP(e,{weekStartsOn:1})}const iSe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},cSe=(e,t,a)=>{let o;const i=iSe[e];return typeof i=="string"?o=i:t===1?o=i.one:o=i.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+o:o+" ago":o};function hj(e){return(t={})=>{const a=t.width?String(t.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}const sSe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},lSe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dSe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},uSe={date:hj({formats:sSe,defaultWidth:"full"}),time:hj({formats:lSe,defaultWidth:"full"}),dateTime:hj({formats:dSe,defaultWidth:"full"})},hSe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},pSe=(e,t,a,o)=>hSe[e];function c2(e){return(t,a)=>{const o=a!=null&&a.context?String(a.context):"standalone";let i;if(o==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,h=a!=null&&a.width?String(a.width):l;i=e.formattingValues[h]||e.formattingValues[l]}else{const l=e.defaultWidth,h=a!=null&&a.width?String(a.width):e.defaultWidth;i=e.values[h]||e.values[l]}const s=e.argumentCallback?e.argumentCallback(t):t;return i[s]}}const fSe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ySe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},mSe={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},vSe={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},kSe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},gSe={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},MSe=(e,t)=>{const a=Number(e),o=a%100;if(o>20||o<10)switch(o%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},xSe={ordinalNumber:MSe,era:c2({values:fSe,defaultWidth:"wide"}),quarter:c2({values:ySe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:c2({values:mSe,defaultWidth:"wide"}),day:c2({values:vSe,defaultWidth:"wide"}),dayPeriod:c2({values:kSe,defaultWidth:"wide",formattingValues:gSe,defaultFormattingWidth:"wide"})};function s2(e){return(t,a={})=>{const o=a.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],s=t.match(i);if(!s)return null;const l=s[0],h=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(h)?wSe(h,m=>m.test(l)):bSe(h,m=>m.test(l));let y;y=e.valueCallback?e.valueCallback(f):f,y=a.valueCallback?a.valueCallback(y):y;const k=t.slice(l.length);return{value:y,rest:k}}}function bSe(e,t){for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return a}function wSe(e,t){for(let a=0;a<e.length;a++)if(t(e[a]))return a}function _Se(e){return(t,a={})=>{const o=t.match(e.matchPattern);if(!o)return null;const i=o[0],s=t.match(e.parsePattern);if(!s)return null;let l=e.valueCallback?e.valueCallback(s[0]):s[0];l=a.valueCallback?a.valueCallback(l):l;const h=t.slice(i.length);return{value:l,rest:h}}}const SSe=/^(\d+)(th|st|nd|rd)?/i,CSe=/\d+/i,NSe={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},LSe={any:[/^b/i,/^(a|c)/i]},ESe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ISe={any:[/1/i,/2/i,/3/i,/4/i]},ASe={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},TSe={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},RSe={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},$Se={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},jSe={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},PSe={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},OSe={ordinalNumber:_Se({matchPattern:SSe,parsePattern:CSe,valueCallback:e=>parseInt(e,10)}),era:s2({matchPatterns:NSe,defaultMatchWidth:"wide",parsePatterns:LSe,defaultParseWidth:"any"}),quarter:s2({matchPatterns:ESe,defaultMatchWidth:"wide",parsePatterns:ISe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:s2({matchPatterns:ASe,defaultMatchWidth:"wide",parsePatterns:TSe,defaultParseWidth:"any"}),day:s2({matchPatterns:RSe,defaultMatchWidth:"wide",parsePatterns:$Se,defaultParseWidth:"any"}),dayPeriod:s2({matchPatterns:jSe,defaultMatchWidth:"any",parsePatterns:PSe,defaultParseWidth:"any"})},vG={code:"en-US",formatDistance:cSe,formatLong:uSe,formatRelative:pSe,localize:xSe,match:OSe,options:{weekStartsOn:0,firstWeekContainsDate:1}};function DSe(e){const t=at(e);return ir(t,yG(t))+1}function kG(e){const t=at(e),a=+q1(t)-+eSe(t);return Math.round(a/OP)+1}function gG(e,t){var k,m,x,S;const a=at(e),o=a.getFullYear(),i=R2(),s=(t==null?void 0:t.firstWeekContainsDate)??((m=(k=t==null?void 0:t.locale)==null?void 0:k.options)==null?void 0:m.firstWeekContainsDate)??i.firstWeekContainsDate??((S=(x=i.locale)==null?void 0:x.options)==null?void 0:S.firstWeekContainsDate)??1,l=Xn(e,0);l.setFullYear(o+1,0,s),l.setHours(0,0,0,0);const h=hr(l,t),f=Xn(e,0);f.setFullYear(o,0,s),f.setHours(0,0,0,0);const y=hr(f,t);return a.getTime()>=h.getTime()?o+1:a.getTime()>=y.getTime()?o:o-1}function zSe(e,t){var h,f,y,k;const a=R2(),o=(t==null?void 0:t.firstWeekContainsDate)??((f=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:f.firstWeekContainsDate)??a.firstWeekContainsDate??((k=(y=a.locale)==null?void 0:y.options)==null?void 0:k.firstWeekContainsDate)??1,i=gG(e,t),s=Xn(e,0);return s.setFullYear(i,0,o),s.setHours(0,0,0,0),hr(s,t)}function MG(e,t){const a=at(e),o=+hr(a,t)-+zSe(a,t);return Math.round(o/OP)+1}function ft(e,t){const a=e<0?"-":"",o=Math.abs(e).toString().padStart(t,"0");return a+o}const yi={y(e,t){const a=e.getFullYear(),o=a>0?a:1-a;return ft(t==="yy"?o%100:o,t.length)},M(e,t){const a=e.getMonth();return t==="M"?String(a+1):ft(a+1,2)},d(e,t){return ft(e.getDate(),t.length)},a(e,t){const a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h(e,t){return ft(e.getHours()%12||12,t.length)},H(e,t){return ft(e.getHours(),t.length)},m(e,t){return ft(e.getMinutes(),t.length)},s(e,t){return ft(e.getSeconds(),t.length)},S(e,t){const a=t.length,o=e.getMilliseconds(),i=Math.trunc(o*Math.pow(10,a-3));return ft(i,t.length)}},$d={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},PB={G:function(e,t,a){const o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return a.era(o,{width:"abbreviated"});case"GGGGG":return a.era(o,{width:"narrow"});case"GGGG":default:return a.era(o,{width:"wide"})}},y:function(e,t,a){if(t==="yo"){const o=e.getFullYear(),i=o>0?o:1-o;return a.ordinalNumber(i,{unit:"year"})}return yi.y(e,t)},Y:function(e,t,a,o){const i=gG(e,o),s=i>0?i:1-i;if(t==="YY"){const l=s%100;return ft(l,2)}return t==="Yo"?a.ordinalNumber(s,{unit:"year"}):ft(s,t.length)},R:function(e,t){const a=fG(e);return ft(a,t.length)},u:function(e,t){const a=e.getFullYear();return ft(a,t.length)},Q:function(e,t,a){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return ft(o,2);case"Qo":return a.ordinalNumber(o,{unit:"quarter"});case"QQQ":return a.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,a){const o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return ft(o,2);case"qo":return a.ordinalNumber(o,{unit:"quarter"});case"qqq":return a.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,a){const o=e.getMonth();switch(t){case"M":case"MM":return yi.M(e,t);case"Mo":return a.ordinalNumber(o+1,{unit:"month"});case"MMM":return a.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,a){const o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return ft(o+1,2);case"Lo":return a.ordinalNumber(o+1,{unit:"month"});case"LLL":return a.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,a,o){const i=MG(e,o);return t==="wo"?a.ordinalNumber(i,{unit:"week"}):ft(i,t.length)},I:function(e,t,a){const o=kG(e);return t==="Io"?a.ordinalNumber(o,{unit:"week"}):ft(o,t.length)},d:function(e,t,a){return t==="do"?a.ordinalNumber(e.getDate(),{unit:"date"}):yi.d(e,t)},D:function(e,t,a){const o=DSe(e);return t==="Do"?a.ordinalNumber(o,{unit:"dayOfYear"}):ft(o,t.length)},E:function(e,t,a){const o=e.getDay();switch(t){case"E":case"EE":case"EEE":return a.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(o,{width:"short",context:"formatting"});case"EEEE":default:return a.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,a,o){const i=e.getDay(),s=(i-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return ft(s,2);case"eo":return a.ordinalNumber(s,{unit:"day"});case"eee":return a.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(i,{width:"short",context:"formatting"});case"eeee":default:return a.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,a,o){const i=e.getDay(),s=(i-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return ft(s,t.length);case"co":return a.ordinalNumber(s,{unit:"day"});case"ccc":return a.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(i,{width:"narrow",context:"standalone"});case"cccccc":return a.day(i,{width:"short",context:"standalone"});case"cccc":default:return a.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,a){const o=e.getDay(),i=o===0?7:o;switch(t){case"i":return String(i);case"ii":return ft(i,t.length);case"io":return a.ordinalNumber(i,{unit:"day"});case"iii":return a.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(o,{width:"short",context:"formatting"});case"iiii":default:return a.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,a){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,a){const o=e.getHours();let i;switch(o===12?i=$d.noon:o===0?i=$d.midnight:i=o/12>=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,a){const o=e.getHours();let i;switch(o>=17?i=$d.evening:o>=12?i=$d.afternoon:o>=4?i=$d.morning:i=$d.night,t){case"B":case"BB":case"BBB":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,a){if(t==="ho"){let o=e.getHours()%12;return o===0&&(o=12),a.ordinalNumber(o,{unit:"hour"})}return yi.h(e,t)},H:function(e,t,a){return t==="Ho"?a.ordinalNumber(e.getHours(),{unit:"hour"}):yi.H(e,t)},K:function(e,t,a){const o=e.getHours()%12;return t==="Ko"?a.ordinalNumber(o,{unit:"hour"}):ft(o,t.length)},k:function(e,t,a){let o=e.getHours();return o===0&&(o=24),t==="ko"?a.ordinalNumber(o,{unit:"hour"}):ft(o,t.length)},m:function(e,t,a){return t==="mo"?a.ordinalNumber(e.getMinutes(),{unit:"minute"}):yi.m(e,t)},s:function(e,t,a){return t==="so"?a.ordinalNumber(e.getSeconds(),{unit:"second"}):yi.s(e,t)},S:function(e,t){return yi.S(e,t)},X:function(e,t,a){const o=e.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return DB(o);case"XXXX":case"XX":return R1(o);case"XXXXX":case"XXX":default:return R1(o,":")}},x:function(e,t,a){const o=e.getTimezoneOffset();switch(t){case"x":return DB(o);case"xxxx":case"xx":return R1(o);case"xxxxx":case"xxx":default:return R1(o,":")}},O:function(e,t,a){const o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+OB(o,":");case"OOOO":default:return"GMT"+R1(o,":")}},z:function(e,t,a){const o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+OB(o,":");case"zzzz":default:return"GMT"+R1(o,":")}},t:function(e,t,a){const o=Math.trunc(e.getTime()/1e3);return ft(o,t.length)},T:function(e,t,a){const o=e.getTime();return ft(o,t.length)}};function OB(e,t=""){const a=e>0?"-":"+",o=Math.abs(e),i=Math.trunc(o/60),s=o%60;return s===0?a+String(i):a+String(i)+t+ft(s,2)}function DB(e,t){return e%60===0?(e>0?"-":"+")+ft(Math.abs(e)/60,2):R1(e,t)}function R1(e,t=""){const a=e>0?"-":"+",o=Math.abs(e),i=ft(Math.trunc(o/60),2),s=ft(o%60,2);return a+i+t+s}const zB=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},xG=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},qSe=(e,t)=>{const a=e.match(/(P+)(p+)?/)||[],o=a[1],i=a[2];if(!i)return zB(e,t);let s;switch(o){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;case"PPPP":default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",zB(o,t)).replace("{{time}}",xG(i,t))},HSe={p:xG,P:qSe},VSe=/^D+$/,BSe=/^Y+$/,FSe=["D","DD","YY","YYYY"];function USe(e){return VSe.test(e)}function GSe(e){return BSe.test(e)}function WSe(e,t,a){const o=ZSe(e,t,a);if(console.warn(o),FSe.includes(e))throw new RangeError(o)}function ZSe(e,t,a){const o=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const XSe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,KSe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,YSe=/^'([^]*?)'?$/,QSe=/''/g,JSe=/[a-zA-Z]/;function W1(e,t,a){var k,m,x,S,b,w,_,N;const o=R2(),i=(a==null?void 0:a.locale)??o.locale??vG,s=(a==null?void 0:a.firstWeekContainsDate)??((m=(k=a==null?void 0:a.locale)==null?void 0:k.options)==null?void 0:m.firstWeekContainsDate)??o.firstWeekContainsDate??((S=(x=o.locale)==null?void 0:x.options)==null?void 0:S.firstWeekContainsDate)??1,l=(a==null?void 0:a.weekStartsOn)??((w=(b=a==null?void 0:a.locale)==null?void 0:b.options)==null?void 0:w.weekStartsOn)??o.weekStartsOn??((N=(_=o.locale)==null?void 0:_.options)==null?void 0:N.weekStartsOn)??0,h=at(e);if(!oSe(h))throw new RangeError("Invalid time value");let f=t.match(KSe).map(L=>{const I=L[0];if(I==="p"||I==="P"){const O=HSe[I];return O(L,i.formatLong)}return L}).join("").match(XSe).map(L=>{if(L==="''")return{isToken:!1,value:"'"};const I=L[0];if(I==="'")return{isToken:!1,value:eCe(L)};if(PB[I])return{isToken:!0,value:L};if(I.match(JSe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+I+"`");return{isToken:!1,value:L}});i.localize.preprocessor&&(f=i.localize.preprocessor(h,f));const y={firstWeekContainsDate:s,weekStartsOn:l,locale:i};return f.map(L=>{if(!L.isToken)return L.value;const I=L.value;(!(a!=null&&a.useAdditionalWeekYearTokens)&&GSe(I)||!(a!=null&&a.useAdditionalDayOfYearTokens)&&USe(I))&&WSe(I,t,String(e));const O=PB[I[0]];return O(h,I,i.localize,y)}).join("")}function eCe(e){const t=e.match(YSe);return t?t[1].replace(QSe,"'"):e}function tCe(e){const t=at(e),a=t.getFullYear(),o=t.getMonth(),i=Xn(e,0);return i.setFullYear(a,o+1,0),i.setHours(0,0,0,0),i.getDate()}function nCe(e){return Math.trunc(+at(e)/1e3)}function aCe(e){const t=at(e),a=t.getMonth();return t.setFullYear(t.getFullYear(),a+1,0),t.setHours(0,0,0,0),t}function oCe(e,t){return rSe(aCe(e),$n(e),t)+1}function Kj(e,t){const a=at(e),o=at(t);return a.getTime()>o.getTime()}function bG(e,t){const a=at(e),o=at(t);return+a<+o}function HP(e,t){const a=at(e),o=at(t);return a.getFullYear()===o.getFullYear()&&a.getMonth()===o.getMonth()}function rCe(e,t){const a=at(e),o=at(t);return a.getFullYear()===o.getFullYear()}function pj(e,t){return gn(e,-t)}function fj(e,t){const a=at(e),o=a.getFullYear(),i=a.getDate(),s=Xn(e,0);s.setFullYear(o,t,15),s.setHours(0,0,0,0);const l=tCe(s);return a.setMonth(t,Math.min(i,l)),a}function qB(e,t){const a=at(e);return isNaN(+a)?Xn(e,NaN):(a.setFullYear(t),a)}var je=function(){return je=Object.assign||function(t){for(var a,o=1,i=arguments.length;o<i;o++){a=arguments[o];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(t[s]=a[s])}return t},je.apply(this,arguments)};function iCe(e,t){var a={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(a[o[i]]=e[o[i]]);return a}function wG(e,t,a){for(var o=0,i=t.length,s;o<i;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}function $2(e){return e.mode==="multiple"}function j2(e){return e.mode==="range"}function bA(e){return e.mode==="single"}var cCe={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function sCe(e,t){return W1(e,"LLLL y",t)}function lCe(e,t){return W1(e,"d",t)}function dCe(e,t){return W1(e,"LLLL",t)}function uCe(e){return"".concat(e)}function hCe(e,t){return W1(e,"cccccc",t)}function pCe(e,t){return W1(e,"yyyy",t)}var fCe=Object.freeze({__proto__:null,formatCaption:sCe,formatDay:lCe,formatMonthCaption:dCe,formatWeekNumber:uCe,formatWeekdayName:hCe,formatYearCaption:pCe}),yCe=function(e,t,a){return W1(e,"do MMMM (EEEE)",a)},mCe=function(){return"Month: "},vCe=function(){return"Go to next month"},kCe=function(){return"Go to previous month"},gCe=function(e,t){return W1(e,"cccc",t)},MCe=function(e){return"Week n. ".concat(e)},xCe=function(){return"Year: "},bCe=Object.freeze({__proto__:null,labelDay:yCe,labelMonthDropdown:mCe,labelNext:vCe,labelPrevious:kCe,labelWeekNumber:MCe,labelWeekday:gCe,labelYearDropdown:xCe});function wCe(){var e="buttons",t=cCe,a=vG,o={},i={},s=1,l={},h=new Date;return{captionLayout:e,classNames:t,formatters:fCe,labels:bCe,locale:a,modifiersClassNames:o,modifiers:i,numberOfMonths:s,styles:l,today:h,mode:"default"}}function _Ce(e){var t=e.fromYear,a=e.toYear,o=e.fromMonth,i=e.toMonth,s=e.fromDate,l=e.toDate;return o?s=$n(o):t&&(s=new Date(t,0,1)),i?l=zP(i):a&&(l=new Date(a,11,31)),{fromDate:s?Gd(s):void 0,toDate:l?Gd(l):void 0}}var _G=p.createContext(void 0);function SCe(e){var t,a=e.initialProps,o=wCe(),i=_Ce(a),s=i.fromDate,l=i.toDate,h=(t=a.captionLayout)!==null&&t!==void 0?t:o.captionLayout;h!=="buttons"&&(!s||!l)&&(h="buttons");var f;(bA(a)||$2(a)||j2(a))&&(f=a.onSelect);var y=je(je(je({},o),a),{captionLayout:h,classNames:je(je({},o.classNames),a.classNames),components:je({},a.components),formatters:je(je({},o.formatters),a.formatters),fromDate:s,labels:je(je({},o.labels),a.labels),mode:a.mode||o.mode,modifiers:je(je({},o.modifiers),a.modifiers),modifiersClassNames:je(je({},o.modifiersClassNames),a.modifiersClassNames),onSelect:f,styles:je(je({},o.styles),a.styles),toDate:l});return M.jsx(_G.Provider,{value:y,children:e.children})}function bt(){var e=p.useContext(_G);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function SG(e){var t=bt(),a=t.locale,o=t.classNames,i=t.styles,s=t.formatters.formatCaption;return M.jsx("div",{className:o.caption_label,style:i.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:s(e.displayMonth,{locale:a})})}function CCe(e){return M.jsx("svg",je({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:M.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function CG(e){var t,a,o=e.onChange,i=e.value,s=e.children,l=e.caption,h=e.className,f=e.style,y=bt(),k=(a=(t=y.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&a!==void 0?a:CCe;return M.jsxs("div",{className:h,style:f,children:[M.jsx("span",{className:y.classNames.vhidden,children:e["aria-label"]}),M.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:y.classNames.dropdown,style:y.styles.dropdown,value:i,onChange:o,children:s}),M.jsxs("div",{className:y.classNames.caption_label,style:y.styles.caption_label,"aria-hidden":"true",children:[l,M.jsx(k,{className:y.classNames.dropdown_icon,style:y.styles.dropdown_icon})]})]})}function NCe(e){var t,a=bt(),o=a.fromDate,i=a.toDate,s=a.styles,l=a.locale,h=a.formatters.formatMonthCaption,f=a.classNames,y=a.components,k=a.labels.labelMonthDropdown;if(!o)return M.jsx(M.Fragment,{});if(!i)return M.jsx(M.Fragment,{});var m=[];if(rCe(o,i))for(var x=$n(o),S=o.getMonth();S<=i.getMonth();S++)m.push(fj(x,S));else for(var x=$n(new Date),S=0;S<=11;S++)m.push(fj(x,S));var b=function(_){var N=Number(_.target.value),L=fj($n(e.displayMonth),N);e.onChange(L)},w=(t=y==null?void 0:y.Dropdown)!==null&&t!==void 0?t:CG;return M.jsx(w,{name:"months","aria-label":k(),className:f.dropdown_month,style:s.dropdown_month,onChange:b,value:e.displayMonth.getMonth(),caption:h(e.displayMonth,{locale:l}),children:m.map(function(_){return M.jsx("option",{value:_.getMonth(),children:h(_,{locale:l})},_.getMonth())})})}function LCe(e){var t,a=e.displayMonth,o=bt(),i=o.fromDate,s=o.toDate,l=o.locale,h=o.styles,f=o.classNames,y=o.components,k=o.formatters.formatYearCaption,m=o.labels.labelYearDropdown,x=[];if(!i)return M.jsx(M.Fragment,{});if(!s)return M.jsx(M.Fragment,{});for(var S=i.getFullYear(),b=s.getFullYear(),w=S;w<=b;w++)x.push(qB(yG(new Date),w));var _=function(L){var I=qB($n(a),Number(L.target.value));e.onChange(I)},N=(t=y==null?void 0:y.Dropdown)!==null&&t!==void 0?t:CG;return M.jsx(N,{name:"years","aria-label":m(),className:f.dropdown_year,style:h.dropdown_year,onChange:_,value:a.getFullYear(),caption:k(a,{locale:l}),children:x.map(function(L){return M.jsx("option",{value:L.getFullYear(),children:k(L,{locale:l})},L.getFullYear())})})}function ECe(e,t){var a=p.useState(e),o=a[0],i=a[1],s=t===void 0?o:t;return[s,i]}function ICe(e){var t=e.month,a=e.defaultMonth,o=e.today,i=t||a||o||new Date,s=e.toDate,l=e.fromDate,h=e.numberOfMonths,f=h===void 0?1:h;if(s&&w2(s,i)<0){var y=-1*(f-1);i=ba(s,y)}return l&&w2(i,l)<0&&(i=l),$n(i)}function ACe(){var e=bt(),t=ICe(e),a=ECe(t,e.month),o=a[0],i=a[1],s=function(l){var h;if(!e.disableNavigation){var f=$n(l);i(f),(h=e.onMonthChange)===null||h===void 0||h.call(e,f)}};return[o,s]}function TCe(e,t){for(var a=t.reverseMonths,o=t.numberOfMonths,i=$n(e),s=$n(ba(i,o)),l=w2(s,i),h=[],f=0;f<l;f++){var y=ba(i,f);h.push(y)}return a&&(h=h.reverse()),h}function RCe(e,t){if(!t.disableNavigation){var a=t.toDate,o=t.pagedNavigation,i=t.numberOfMonths,s=i===void 0?1:i,l=o?s:1,h=$n(e);if(!a)return ba(h,l);var f=w2(a,e);if(!(f<s))return ba(h,l)}}function $Ce(e,t){if(!t.disableNavigation){var a=t.fromDate,o=t.pagedNavigation,i=t.numberOfMonths,s=i===void 0?1:i,l=o?s:1,h=$n(e);if(!a)return ba(h,-l);var f=w2(h,a);if(!(f<=0))return ba(h,-l)}}var NG=p.createContext(void 0);function jCe(e){var t=bt(),a=ACe(),o=a[0],i=a[1],s=TCe(o,t),l=RCe(o,t),h=$Ce(o,t),f=function(m){return s.some(function(x){return HP(m,x)})},y=function(m,x){f(m)||(x&&bG(m,x)?i(ba(m,1+t.numberOfMonths*-1)):i(m))},k={currentMonth:o,displayMonths:s,goToMonth:i,goToDate:y,previousMonth:h,nextMonth:l,isDateDisplayed:f};return M.jsx(NG.Provider,{value:k,children:e.children})}function P2(){var e=p.useContext(NG);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function HB(e){var t,a=bt(),o=a.classNames,i=a.styles,s=a.components,l=P2().goToMonth,h=function(k){l(ba(k,e.displayIndex?-e.displayIndex:0))},f=(t=s==null?void 0:s.CaptionLabel)!==null&&t!==void 0?t:SG,y=M.jsx(f,{id:e.id,displayMonth:e.displayMonth});return M.jsxs("div",{className:o.caption_dropdowns,style:i.caption_dropdowns,children:[M.jsx("div",{className:o.vhidden,children:y}),M.jsx(NCe,{onChange:h,displayMonth:e.displayMonth}),M.jsx(LCe,{onChange:h,displayMonth:e.displayMonth})]})}function PCe(e){return M.jsx("svg",je({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:M.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function OCe(e){return M.jsx("svg",je({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:M.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var eA=p.forwardRef(function(e,t){var a=bt(),o=a.classNames,i=a.styles,s=[o.button_reset,o.button];e.className&&s.push(e.className);var l=s.join(" "),h=je(je({},i.button_reset),i.button);return e.style&&Object.assign(h,e.style),M.jsx("button",je({},e,{ref:t,type:"button",className:l,style:h}))});function DCe(e){var t,a,o=bt(),i=o.dir,s=o.locale,l=o.classNames,h=o.styles,f=o.labels,y=f.labelPrevious,k=f.labelNext,m=o.components;if(!e.nextMonth&&!e.previousMonth)return M.jsx(M.Fragment,{});var x=y(e.previousMonth,{locale:s}),S=[l.nav_button,l.nav_button_previous].join(" "),b=k(e.nextMonth,{locale:s}),w=[l.nav_button,l.nav_button_next].join(" "),_=(t=m==null?void 0:m.IconRight)!==null&&t!==void 0?t:OCe,N=(a=m==null?void 0:m.IconLeft)!==null&&a!==void 0?a:PCe;return M.jsxs("div",{className:l.nav,style:h.nav,children:[!e.hidePrevious&&M.jsx(eA,{name:"previous-month","aria-label":x,className:S,style:h.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:i==="rtl"?M.jsx(_,{className:l.nav_icon,style:h.nav_icon}):M.jsx(N,{className:l.nav_icon,style:h.nav_icon})}),!e.hideNext&&M.jsx(eA,{name:"next-month","aria-label":b,className:w,style:h.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:i==="rtl"?M.jsx(N,{className:l.nav_icon,style:h.nav_icon}):M.jsx(_,{className:l.nav_icon,style:h.nav_icon})})]})}function VB(e){var t=bt().numberOfMonths,a=P2(),o=a.previousMonth,i=a.nextMonth,s=a.goToMonth,l=a.displayMonths,h=l.findIndex(function(b){return HP(e.displayMonth,b)}),f=h===0,y=h===l.length-1,k=t>1&&(f||!y),m=t>1&&(y||!f),x=function(){o&&s(o)},S=function(){i&&s(i)};return M.jsx(DCe,{displayMonth:e.displayMonth,hideNext:k,hidePrevious:m,nextMonth:i,previousMonth:o,onPreviousClick:x,onNextClick:S})}function zCe(e){var t,a=bt(),o=a.classNames,i=a.disableNavigation,s=a.styles,l=a.captionLayout,h=a.components,f=(t=h==null?void 0:h.CaptionLabel)!==null&&t!==void 0?t:SG,y;return i?y=M.jsx(f,{id:e.id,displayMonth:e.displayMonth}):l==="dropdown"?y=M.jsx(HB,{displayMonth:e.displayMonth,id:e.id}):l==="dropdown-buttons"?y=M.jsxs(M.Fragment,{children:[M.jsx(HB,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),M.jsx(VB,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):y=M.jsxs(M.Fragment,{children:[M.jsx(f,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),M.jsx(VB,{displayMonth:e.displayMonth,id:e.id})]}),M.jsx("div",{className:o.caption,style:s.caption,children:y})}function qCe(e){var t=bt(),a=t.footer,o=t.styles,i=t.classNames.tfoot;return a?M.jsx("tfoot",{className:i,style:o.tfoot,children:M.jsx("tr",{children:M.jsx("td",{colSpan:8,children:a})})}):M.jsx(M.Fragment,{})}function HCe(e,t,a){for(var o=a?q1(new Date):hr(new Date,{locale:e,weekStartsOn:t}),i=[],s=0;s<7;s++){var l=gn(o,s);i.push(l)}return i}function VCe(){var e=bt(),t=e.classNames,a=e.styles,o=e.showWeekNumber,i=e.locale,s=e.weekStartsOn,l=e.ISOWeek,h=e.formatters.formatWeekdayName,f=e.labels.labelWeekday,y=HCe(i,s,l);return M.jsxs("tr",{style:a.head_row,className:t.head_row,children:[o&&M.jsx("td",{style:a.head_cell,className:t.head_cell}),y.map(function(k,m){return M.jsx("th",{scope:"col",className:t.head_cell,style:a.head_cell,"aria-label":f(k,{locale:i}),children:h(k,{locale:i})},m)})]})}function BCe(){var e,t=bt(),a=t.classNames,o=t.styles,i=t.components,s=(e=i==null?void 0:i.HeadRow)!==null&&e!==void 0?e:VCe;return M.jsx("thead",{style:o.head,className:a.head,children:M.jsx(s,{})})}function FCe(e){var t=bt(),a=t.locale,o=t.formatters.formatDay;return M.jsx(M.Fragment,{children:o(e.date,{locale:a})})}var VP=p.createContext(void 0);function UCe(e){if(!$2(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return M.jsx(VP.Provider,{value:t,children:e.children})}return M.jsx(GCe,{initialProps:e.initialProps,children:e.children})}function GCe(e){var t=e.initialProps,a=e.children,o=t.selected,i=t.min,s=t.max,l=function(y,k,m){var x,S;(x=t.onDayClick)===null||x===void 0||x.call(t,y,k,m);var b=!!(k.selected&&i&&(o==null?void 0:o.length)===i);if(!b){var w=!!(!k.selected&&s&&(o==null?void 0:o.length)===s);if(!w){var _=o?wG([],o):[];if(k.selected){var N=_.findIndex(function(L){return An(y,L)});_.splice(N,1)}else _.push(y);(S=t.onSelect)===null||S===void 0||S.call(t,_,y,k,m)}}},h={disabled:[]};o&&h.disabled.push(function(y){var k=s&&o.length>s-1,m=o.some(function(x){return An(x,y)});return!!(k&&!m)});var f={selected:o,onDayClick:l,modifiers:h};return M.jsx(VP.Provider,{value:f,children:a})}function BP(){var e=p.useContext(VP);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function WCe(e,t){var a=t||{},o=a.from,i=a.to;return o&&i?An(i,e)&&An(o,e)?void 0:An(i,e)?{from:i,to:void 0}:An(o,e)?void 0:Kj(o,e)?{from:e,to:i}:{from:o,to:e}:i?Kj(e,i)?{from:i,to:e}:{from:e,to:i}:o?bG(e,o)?{from:e,to:o}:{from:o,to:e}:{from:e,to:void 0}}var FP=p.createContext(void 0);function ZCe(e){if(!j2(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return M.jsx(FP.Provider,{value:t,children:e.children})}return M.jsx(XCe,{initialProps:e.initialProps,children:e.children})}function XCe(e){var t=e.initialProps,a=e.children,o=t.selected,i=o||{},s=i.from,l=i.to,h=t.min,f=t.max,y=function(S,b,w){var _,N;(_=t.onDayClick)===null||_===void 0||_.call(t,S,b,w);var L=WCe(S,o);(N=t.onSelect)===null||N===void 0||N.call(t,L,S,b,w)},k={range_start:[],range_end:[],range_middle:[],disabled:[]};if(s?(k.range_start=[s],l?(k.range_end=[l],An(s,l)||(k.range_middle=[{after:s,before:l}])):k.range_end=[s]):l&&(k.range_start=[l],k.range_end=[l]),h&&(s&&!l&&k.disabled.push({after:pj(s,h-1),before:gn(s,h-1)}),s&&l&&k.disabled.push({after:s,before:gn(s,h-1)}),!s&&l&&k.disabled.push({after:pj(l,h-1),before:gn(l,h-1)})),f){if(s&&!l&&(k.disabled.push({before:gn(s,-f+1)}),k.disabled.push({after:gn(s,f-1)})),s&&l){var m=ir(l,s)+1,x=f-m;k.disabled.push({before:pj(s,x)}),k.disabled.push({after:gn(l,x)})}!s&&l&&(k.disabled.push({before:gn(l,-f+1)}),k.disabled.push({after:gn(l,f-1)}))}return M.jsx(FP.Provider,{value:{selected:o,onDayClick:y,modifiers:k},children:a})}function UP(){var e=p.useContext(FP);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function zI(e){return Array.isArray(e)?wG([],e):e!==void 0?[e]:[]}function KCe(e){var t={};return Object.entries(e).forEach(function(a){var o=a[0],i=a[1];t[o]=zI(i)}),t}var wa;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(wa||(wa={}));var YCe=wa.Selected,Pr=wa.Disabled,QCe=wa.Hidden,JCe=wa.Today,yj=wa.RangeEnd,mj=wa.RangeMiddle,vj=wa.RangeStart,eNe=wa.Outside;function tNe(e,t,a){var o,i=(o={},o[YCe]=zI(e.selected),o[Pr]=zI(e.disabled),o[QCe]=zI(e.hidden),o[JCe]=[e.today],o[yj]=[],o[mj]=[],o[vj]=[],o[eNe]=[],o);return e.fromDate&&i[Pr].push({before:e.fromDate}),e.toDate&&i[Pr].push({after:e.toDate}),$2(e)?i[Pr]=i[Pr].concat(t.modifiers[Pr]):j2(e)&&(i[Pr]=i[Pr].concat(a.modifiers[Pr]),i[vj]=a.modifiers[vj],i[mj]=a.modifiers[mj],i[yj]=a.modifiers[yj]),i}var LG=p.createContext(void 0);function nNe(e){var t=bt(),a=BP(),o=UP(),i=tNe(t,a,o),s=KCe(t.modifiers),l=je(je({},i),s);return M.jsx(LG.Provider,{value:l,children:e.children})}function EG(){var e=p.useContext(LG);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function aNe(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function oNe(e){return!!(e&&typeof e=="object"&&"from"in e)}function rNe(e){return!!(e&&typeof e=="object"&&"after"in e)}function iNe(e){return!!(e&&typeof e=="object"&&"before"in e)}function cNe(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function sNe(e,t){var a,o=t.from,i=t.to;if(o&&i){var s=ir(i,o)<0;s&&(a=[i,o],o=a[0],i=a[1]);var l=ir(e,o)>=0&&ir(i,e)>=0;return l}return i?An(i,e):o?An(o,e):!1}function lNe(e){return DP(e)}function dNe(e){return Array.isArray(e)&&e.every(DP)}function uNe(e,t){return t.some(function(a){if(typeof a=="boolean")return a;if(lNe(a))return An(e,a);if(dNe(a))return a.includes(e);if(oNe(a))return sNe(e,a);if(cNe(a))return a.dayOfWeek.includes(e.getDay());if(aNe(a)){var o=ir(a.before,e),i=ir(a.after,e),s=o>0,l=i<0,h=Kj(a.before,a.after);return h?l&&s:s||l}return rNe(a)?ir(e,a.after)>0:iNe(a)?ir(a.before,e)>0:typeof a=="function"?a(e):!1})}function GP(e,t,a){var o=Object.keys(t).reduce(function(s,l){var h=t[l];return uNe(e,h)&&s.push(l),s},[]),i={};return o.forEach(function(s){return i[s]=!0}),a&&!HP(e,a)&&(i.outside=!0),i}function hNe(e,t){for(var a=$n(e[0]),o=zP(e[e.length-1]),i,s,l=a;l<=o;){var h=GP(l,t),f=!h.disabled&&!h.hidden;if(!f){l=gn(l,1);continue}if(h.selected)return l;h.today&&!s&&(s=l),i||(i=l),l=gn(l,1)}return s||i}var pNe=365;function IG(e,t){var a=t.moveBy,o=t.direction,i=t.context,s=t.modifiers,l=t.retry,h=l===void 0?{count:0,lastFocused:e}:l,f=i.weekStartsOn,y=i.fromDate,k=i.toDate,m=i.locale,x={day:gn,week:Xj,month:ba,year:tSe,startOfWeek:function(_){return i.ISOWeek?q1(_):hr(_,{locale:m,weekStartsOn:f})},endOfWeek:function(_){return i.ISOWeek?mG(_):qP(_,{locale:m,weekStartsOn:f})}},S=x[a](e,o==="after"?1:-1);o==="before"&&y?S=nSe([y,S]):o==="after"&&k&&(S=aSe([k,S]));var b=!0;if(s){var w=GP(S,s);b=!w.disabled&&!w.hidden}return b?S:h.count>pNe?h.lastFocused:IG(S,{moveBy:a,direction:o,context:i,modifiers:s,retry:je(je({},h),{count:h.count+1})})}var AG=p.createContext(void 0);function fNe(e){var t=P2(),a=EG(),o=p.useState(),i=o[0],s=o[1],l=p.useState(),h=l[0],f=l[1],y=hNe(t.displayMonths,a),k=i??(h&&t.isDateDisplayed(h))?h:y,m=function(){f(i),s(void 0)},x=function(_){s(_)},S=bt(),b=function(_,N){if(i){var L=IG(i,{moveBy:_,direction:N,context:S,modifiers:a});An(i,L)||(t.goToDate(L,i),x(L))}},w={focusedDay:i,focusTarget:k,blur:m,focus:x,focusDayAfter:function(){return b("day","after")},focusDayBefore:function(){return b("day","before")},focusWeekAfter:function(){return b("week","after")},focusWeekBefore:function(){return b("week","before")},focusMonthBefore:function(){return b("month","before")},focusMonthAfter:function(){return b("month","after")},focusYearBefore:function(){return b("year","before")},focusYearAfter:function(){return b("year","after")},focusStartOfWeek:function(){return b("startOfWeek","before")},focusEndOfWeek:function(){return b("endOfWeek","after")}};return M.jsx(AG.Provider,{value:w,children:e.children})}function WP(){var e=p.useContext(AG);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function yNe(e,t){var a=EG(),o=GP(e,a,t);return o}var ZP=p.createContext(void 0);function mNe(e){if(!bA(e.initialProps)){var t={selected:void 0};return M.jsx(ZP.Provider,{value:t,children:e.children})}return M.jsx(vNe,{initialProps:e.initialProps,children:e.children})}function vNe(e){var t=e.initialProps,a=e.children,o=function(s,l,h){var f,y,k;if((f=t.onDayClick)===null||f===void 0||f.call(t,s,l,h),l.selected&&!t.required){(y=t.onSelect)===null||y===void 0||y.call(t,void 0,s,l,h);return}(k=t.onSelect)===null||k===void 0||k.call(t,s,s,l,h)},i={selected:t.selected,onDayClick:o};return M.jsx(ZP.Provider,{value:i,children:a})}function TG(){var e=p.useContext(ZP);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function kNe(e,t){var a=bt(),o=TG(),i=BP(),s=UP(),l=WP(),h=l.focusDayAfter,f=l.focusDayBefore,y=l.focusWeekAfter,k=l.focusWeekBefore,m=l.blur,x=l.focus,S=l.focusMonthBefore,b=l.focusMonthAfter,w=l.focusYearBefore,_=l.focusYearAfter,N=l.focusStartOfWeek,L=l.focusEndOfWeek,I=function($){var T,G,W,Me;bA(a)?(T=o.onDayClick)===null||T===void 0||T.call(o,e,t,$):$2(a)?(G=i.onDayClick)===null||G===void 0||G.call(i,e,t,$):j2(a)?(W=s.onDayClick)===null||W===void 0||W.call(s,e,t,$):(Me=a.onDayClick)===null||Me===void 0||Me.call(a,e,t,$)},O=function($){var T;x(e),(T=a.onDayFocus)===null||T===void 0||T.call(a,e,t,$)},D=function($){var T;m(),(T=a.onDayBlur)===null||T===void 0||T.call(a,e,t,$)},P=function($){var T;(T=a.onDayMouseEnter)===null||T===void 0||T.call(a,e,t,$)},A=function($){var T;(T=a.onDayMouseLeave)===null||T===void 0||T.call(a,e,t,$)},j=function($){var T;(T=a.onDayPointerEnter)===null||T===void 0||T.call(a,e,t,$)},V=function($){var T;(T=a.onDayPointerLeave)===null||T===void 0||T.call(a,e,t,$)},K=function($){var T;(T=a.onDayTouchCancel)===null||T===void 0||T.call(a,e,t,$)},q=function($){var T;(T=a.onDayTouchEnd)===null||T===void 0||T.call(a,e,t,$)},B=function($){var T;(T=a.onDayTouchMove)===null||T===void 0||T.call(a,e,t,$)},F=function($){var T;(T=a.onDayTouchStart)===null||T===void 0||T.call(a,e,t,$)},J=function($){var T;(T=a.onDayKeyUp)===null||T===void 0||T.call(a,e,t,$)},pe=function($){var T;switch($.key){case"ArrowLeft":$.preventDefault(),$.stopPropagation(),a.dir==="rtl"?h():f();break;case"ArrowRight":$.preventDefault(),$.stopPropagation(),a.dir==="rtl"?f():h();break;case"ArrowDown":$.preventDefault(),$.stopPropagation(),y();break;case"ArrowUp":$.preventDefault(),$.stopPropagation(),k();break;case"PageUp":$.preventDefault(),$.stopPropagation(),$.shiftKey?w():S();break;case"PageDown":$.preventDefault(),$.stopPropagation(),$.shiftKey?_():b();break;case"Home":$.preventDefault(),$.stopPropagation(),N();break;case"End":$.preventDefault(),$.stopPropagation(),L();break}(T=a.onDayKeyDown)===null||T===void 0||T.call(a,e,t,$)},R={onClick:I,onFocus:O,onBlur:D,onKeyDown:pe,onKeyUp:J,onMouseEnter:P,onMouseLeave:A,onPointerEnter:j,onPointerLeave:V,onTouchCancel:K,onTouchEnd:q,onTouchMove:B,onTouchStart:F};return R}function gNe(){var e=bt(),t=TG(),a=BP(),o=UP(),i=bA(e)?t.selected:$2(e)?a.selected:j2(e)?o.selected:void 0;return i}function MNe(e){return Object.values(wa).includes(e)}function xNe(e,t){var a=[e.classNames.day];return Object.keys(t).forEach(function(o){var i=e.modifiersClassNames[o];if(i)a.push(i);else if(MNe(o)){var s=e.classNames["day_".concat(o)];s&&a.push(s)}}),a}function bNe(e,t){var a=je({},e.styles.day);return Object.keys(t).forEach(function(o){var i;a=je(je({},a),(i=e.modifiersStyles)===null||i===void 0?void 0:i[o])}),a}function wNe(e,t,a){var o,i,s,l=bt(),h=WP(),f=yNe(e,t),y=kNe(e,f),k=gNe(),m=!!(l.onDayClick||l.mode!=="default");p.useEffect(function(){var P;f.outside||h.focusedDay&&m&&An(h.focusedDay,e)&&((P=a.current)===null||P===void 0||P.focus())},[h.focusedDay,e,a,m,f.outside]);var x=xNe(l,f).join(" "),S=bNe(l,f),b=!!(f.outside&&!l.showOutsideDays||f.hidden),w=(s=(i=l.components)===null||i===void 0?void 0:i.DayContent)!==null&&s!==void 0?s:FCe,_=M.jsx(w,{date:e,displayMonth:t,activeModifiers:f}),N={style:S,className:x,children:_,role:"gridcell"},L=h.focusTarget&&An(h.focusTarget,e)&&!f.outside,I=h.focusedDay&&An(h.focusedDay,e),O=je(je(je({},N),(o={disabled:f.disabled,role:"gridcell"},o["aria-selected"]=f.selected,o.tabIndex=I||L?0:-1,o)),y),D={isButton:m,isHidden:b,activeModifiers:f,selectedDays:k,buttonProps:O,divProps:N};return D}function _Ne(e){var t=p.useRef(null),a=wNe(e.date,e.displayMonth,t);return a.isHidden?M.jsx("div",{role:"gridcell"}):a.isButton?M.jsx(eA,je({name:"day",ref:t},a.buttonProps)):M.jsx("div",je({},a.divProps))}function SNe(e){var t=e.number,a=e.dates,o=bt(),i=o.onWeekNumberClick,s=o.styles,l=o.classNames,h=o.locale,f=o.labels.labelWeekNumber,y=o.formatters.formatWeekNumber,k=y(Number(t),{locale:h});if(!i)return M.jsx("span",{className:l.weeknumber,style:s.weeknumber,children:k});var m=f(Number(t),{locale:h}),x=function(S){i(t,a,S)};return M.jsx(eA,{name:"week-number","aria-label":m,className:l.weeknumber,style:s.weeknumber,onClick:x,children:k})}function CNe(e){var t,a,o=bt(),i=o.styles,s=o.classNames,l=o.showWeekNumber,h=o.components,f=(t=h==null?void 0:h.Day)!==null&&t!==void 0?t:_Ne,y=(a=h==null?void 0:h.WeekNumber)!==null&&a!==void 0?a:SNe,k;return l&&(k=M.jsx("td",{className:s.cell,style:i.cell,children:M.jsx(y,{number:e.weekNumber,dates:e.dates})})),M.jsxs("tr",{className:s.row,style:i.row,children:[k,e.dates.map(function(m){return M.jsx("td",{className:s.cell,style:i.cell,role:"presentation",children:M.jsx(f,{displayMonth:e.displayMonth,date:m})},nCe(m))})]})}function BB(e,t,a){for(var o=a!=null&&a.ISOWeek?mG(t):qP(t,a),i=a!=null&&a.ISOWeek?q1(e):hr(e,a),s=ir(o,i),l=[],h=0;h<=s;h++)l.push(gn(i,h));var f=l.reduce(function(y,k){var m=a!=null&&a.ISOWeek?kG(k):MG(k,a),x=y.find(function(S){return S.weekNumber===m});return x?(x.dates.push(k),y):(y.push({weekNumber:m,dates:[k]}),y)},[]);return f}function NNe(e,t){var a=BB($n(e),zP(e),t);if(t!=null&&t.useFixedWeeks){var o=oCe(e,t);if(o<6){var i=a[a.length-1],s=i.dates[i.dates.length-1],l=Xj(s,6-o),h=BB(Xj(s,1),l,t);a.push.apply(a,h)}}return a}function LNe(e){var t,a,o,i=bt(),s=i.locale,l=i.classNames,h=i.styles,f=i.hideHead,y=i.fixedWeeks,k=i.components,m=i.weekStartsOn,x=i.firstWeekContainsDate,S=i.ISOWeek,b=NNe(e.displayMonth,{useFixedWeeks:!!y,ISOWeek:S,locale:s,weekStartsOn:m,firstWeekContainsDate:x}),w=(t=k==null?void 0:k.Head)!==null&&t!==void 0?t:BCe,_=(a=k==null?void 0:k.Row)!==null&&a!==void 0?a:CNe,N=(o=k==null?void 0:k.Footer)!==null&&o!==void 0?o:qCe;return M.jsxs("table",{id:e.id,className:l.table,style:h.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!f&&M.jsx(w,{}),M.jsx("tbody",{className:l.tbody,style:h.tbody,children:b.map(function(L){return M.jsx(_,{displayMonth:e.displayMonth,dates:L.dates,weekNumber:L.weekNumber},L.weekNumber)})}),M.jsx(N,{displayMonth:e.displayMonth})]})}function ENe(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var INe=ENe()?p.useLayoutEffect:p.useEffect,kj=!1,ANe=0;function FB(){return"react-day-picker-".concat(++ANe)}function TNe(e){var t,a=e??(kj?FB():null),o=p.useState(a),i=o[0],s=o[1];return INe(function(){i===null&&s(FB())},[]),p.useEffect(function(){kj===!1&&(kj=!0)},[]),(t=e??i)!==null&&t!==void 0?t:void 0}function RNe(e){var t,a,o=bt(),i=o.dir,s=o.classNames,l=o.styles,h=o.components,f=P2().displayMonths,y=TNe(o.id?"".concat(o.id,"-").concat(e.displayIndex):void 0),k=o.id?"".concat(o.id,"-grid-").concat(e.displayIndex):void 0,m=[s.month],x=l.month,S=e.displayIndex===0,b=e.displayIndex===f.length-1,w=!S&&!b;i==="rtl"&&(t=[S,b],b=t[0],S=t[1]),S&&(m.push(s.caption_start),x=je(je({},x),l.caption_start)),b&&(m.push(s.caption_end),x=je(je({},x),l.caption_end)),w&&(m.push(s.caption_between),x=je(je({},x),l.caption_between));var _=(a=h==null?void 0:h.Caption)!==null&&a!==void 0?a:zCe;return M.jsxs("div",{className:m.join(" "),style:x,children:[M.jsx(_,{id:y,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),M.jsx(LNe,{id:k,"aria-labelledby":y,displayMonth:e.displayMonth})]},e.displayIndex)}function $Ne(e){var t=bt(),a=t.classNames,o=t.styles;return M.jsx("div",{className:a.months,style:o.months,children:e.children})}function jNe(e){var t,a,o=e.initialProps,i=bt(),s=WP(),l=P2(),h=p.useState(!1),f=h[0],y=h[1];p.useEffect(function(){i.initialFocus&&s.focusTarget&&(f||(s.focus(s.focusTarget),y(!0)))},[i.initialFocus,f,s.focus,s.focusTarget,s]);var k=[i.classNames.root,i.className];i.numberOfMonths>1&&k.push(i.classNames.multiple_months),i.showWeekNumber&&k.push(i.classNames.with_weeknumber);var m=je(je({},i.styles.root),i.style),x=Object.keys(o).filter(function(b){return b.startsWith("data-")}).reduce(function(b,w){var _;return je(je({},b),(_={},_[w]=o[w],_))},{}),S=(a=(t=o.components)===null||t===void 0?void 0:t.Months)!==null&&a!==void 0?a:$Ne;return M.jsx("div",je({className:k.join(" "),style:m,dir:i.dir,id:i.id,nonce:o.nonce,title:o.title,lang:o.lang},x,{children:M.jsx(S,{children:l.displayMonths.map(function(b,w){return M.jsx(RNe,{displayIndex:w,displayMonth:b},w)})})}))}function PNe(e){var t=e.children,a=iCe(e,["children"]);return M.jsx(SCe,{initialProps:a,children:M.jsx(jCe,{children:M.jsx(mNe,{initialProps:a,children:M.jsx(UCe,{initialProps:a,children:M.jsx(ZCe,{initialProps:a,children:M.jsx(nNe,{children:M.jsx(fNe,{children:t})})})})})})})}function ONe(e){return M.jsx(PNe,je({},e,{children:M.jsx(jNe,{initialProps:e})}))}function DNe({className:e,classNames:t,showOutsideDays:a=!0,...o}){return M.jsx(ONe,{showOutsideDays:a,className:ee("p-3",e),classNames:{months:"flex flex-col sm:flex-row gap-2",month:"flex flex-col gap-4",caption:"flex justify-center pt-1 relative items-center w-full",caption_label:"text-sm font-medium",nav:"flex items-center gap-1",nav_button:ee(QI({variant:"outline"}),"size-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-x-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:ee("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-range-end)]:rounded-r-md",o.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:ee(QI({variant:"ghost"}),"size-8 p-0 font-normal aria-selected:opacity-100 cursor-pointer"),day_range_start:"day-range-start aria-selected:bg-primary aria-selected:text-primary-foreground",day_range_end:"day-range-end aria-selected:bg-primary aria-selected:text-primary-foreground",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...t},components:{IconLeft:({className:i,...s})=>M.jsx(Hd,{className:ee("size-4",i),...s}),IconRight:({className:i,...s})=>M.jsx(lr,{className:ee("size-4",i),...s})},...o})}function zNe({className:e,...t}){return M.jsx("div",{"data-slot":"card",className:ee("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function qNe({className:e,...t}){return M.jsx("div",{"data-slot":"card-header",className:ee("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function HNe({className:e,...t}){return M.jsx("div",{"data-slot":"card-title",className:ee("leading-none font-semibold",e),...t})}function VNe({className:e,...t}){return M.jsx("div",{"data-slot":"card-description",className:ee("text-muted-foreground text-sm",e),...t})}function BNe({className:e,...t}){return M.jsx("div",{"data-slot":"card-action",className:ee("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...t})}function FNe({className:e,...t}){return M.jsx("div",{"data-slot":"card-content",className:ee("px-6",e),...t})}function UNe({className:e,...t}){return M.jsx("div",{"data-slot":"card-footer",className:ee("flex items-center px-6 [.border-t]:pt-6",e),...t})}function GNe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,WNe(i,...t)]}function WNe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function xe(e,t,{checkForDefaultPrevented:a=!0}={}){return function(i){if(e==null||e(i),a===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}var ZNe=bP[" useInsertionEffect ".trim().toString()]||St;function bn({prop:e,defaultProp:t,onChange:a=()=>{},caller:o}){const[i,s,l]=XNe({defaultProp:t,onChange:a}),h=e!==void 0,f=h?e:i;{const k=p.useRef(e!==void 0);p.useEffect(()=>{const m=k.current;m!==h&&console.warn(`${o} is changing from ${m?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),k.current=h},[h,o])}const y=p.useCallback(k=>{var m;if(h){const x=KNe(k)?k(e):k;x!==e&&((m=l.current)==null||m.call(l,x))}else s(k)},[h,e,s,l]);return[f,y]}function XNe({defaultProp:e,onChange:t}){const[a,o]=p.useState(e),i=p.useRef(a),s=p.useRef(t);return ZNe(()=>{s.current=t},[t]),p.useEffect(()=>{var l;i.current!==a&&((l=s.current)==null||l.call(s,a),i.current=a)},[a,i]),[a,o,s]}function KNe(e){return typeof e=="function"}function wA(e){const t=p.useRef({value:e,previous:e});return p.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function _A(e){const[t,a]=p.useState(void 0);return St(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let l,h;if("borderBoxSize"in s){const f=s.borderBoxSize,y=Array.isArray(f)?f[0]:f;l=y.inlineSize,h=y.blockSize}else l=e.offsetWidth,h=e.offsetHeight;a({width:l,height:h})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else a(void 0)},[e]),t}function YNe(e,t){return p.useReducer((a,o)=>t[a][o]??a,e)}var Pn=e=>{const{present:t,children:a}=e,o=QNe(t),i=typeof a=="function"?a({present:o.isPresent}):p.Children.only(a),s=ze(o.ref,JNe(i));return typeof a=="function"||o.isPresent?p.cloneElement(i,{ref:s}):null};Pn.displayName="Presence";function QNe(e){const[t,a]=p.useState(),o=p.useRef(null),i=p.useRef(e),s=p.useRef("none"),l=e?"mounted":"unmounted",[h,f]=YNe(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const y=gh(o.current);s.current=h==="mounted"?y:"none"},[h]),St(()=>{const y=o.current,k=i.current;if(k!==e){const x=s.current,S=gh(y);e?f("MOUNT"):S==="none"||(y==null?void 0:y.display)==="none"?f("UNMOUNT"):f(k&&x!==S?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,f]),St(()=>{if(t){let y;const k=t.ownerDocument.defaultView??window,m=S=>{const w=gh(o.current).includes(CSS.escape(S.animationName));if(S.target===t&&w&&(f("ANIMATION_END"),!i.current)){const _=t.style.animationFillMode;t.style.animationFillMode="forwards",y=k.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=_)})}},x=S=>{S.target===t&&(s.current=gh(o.current))};return t.addEventListener("animationstart",x),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{k.clearTimeout(y),t.removeEventListener("animationstart",x),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:p.useCallback(y=>{o.current=y?getComputedStyle(y):null,a(y)},[])}}function gh(e){return(e==null?void 0:e.animationName)||"none"}function JNe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}function eLe(e){const t=tLe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(aLe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function tLe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=rLe(i),h=oLe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var nLe=Symbol("radix.slottable");function aLe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===nLe}function oLe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function rLe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var iLe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],XP=iLe.reduce((e,t)=>{const a=eLe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),SA="Checkbox",[cLe]=GNe(SA),[sLe,KP]=cLe(SA);function lLe(e){const{__scopeCheckbox:t,checked:a,children:o,defaultChecked:i,disabled:s,form:l,name:h,onCheckedChange:f,required:y,value:k="on",internal_do_not_use_render:m}=e,[x,S]=bn({prop:a,defaultProp:i??!1,onChange:f,caller:SA}),[b,w]=p.useState(null),[_,N]=p.useState(null),L=p.useRef(!1),I=b?!!l||!!b.closest("form"):!0,O={checked:x,disabled:s,setChecked:S,control:b,setControl:w,name:h,form:l,value:k,hasConsumerStoppedPropagationRef:L,required:y,defaultChecked:wi(i)?!1:i,isFormControl:I,bubbleInput:_,setBubbleInput:N};return M.jsx(sLe,{scope:t,...O,children:dLe(m)?m(O):o})}var RG="CheckboxTrigger",$G=p.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:a,...o},i)=>{const{control:s,value:l,disabled:h,checked:f,required:y,setControl:k,setChecked:m,hasConsumerStoppedPropagationRef:x,isFormControl:S,bubbleInput:b}=KP(RG,e),w=ze(i,k),_=p.useRef(f);return p.useEffect(()=>{const N=s==null?void 0:s.form;if(N){const L=()=>m(_.current);return N.addEventListener("reset",L),()=>N.removeEventListener("reset",L)}},[s,m]),M.jsx(XP.button,{type:"button",role:"checkbox","aria-checked":wi(f)?"mixed":f,"aria-required":y,"data-state":qG(f),"data-disabled":h?"":void 0,disabled:h,value:l,...o,ref:w,onKeyDown:xe(t,N=>{N.key==="Enter"&&N.preventDefault()}),onClick:xe(a,N=>{m(L=>wi(L)?!0:!L),b&&S&&(x.current=N.isPropagationStopped(),x.current||N.stopPropagation())})})});$G.displayName=RG;var jG=p.forwardRef((e,t)=>{const{__scopeCheckbox:a,name:o,checked:i,defaultChecked:s,required:l,disabled:h,value:f,onCheckedChange:y,form:k,...m}=e;return M.jsx(lLe,{__scopeCheckbox:a,checked:i,defaultChecked:s,disabled:h,required:l,onCheckedChange:y,name:o,form:k,value:f,internal_do_not_use_render:({isFormControl:x})=>M.jsxs(M.Fragment,{children:[M.jsx($G,{...m,ref:t,__scopeCheckbox:a}),x&&M.jsx(zG,{__scopeCheckbox:a})]})})});jG.displayName=SA;var PG="CheckboxIndicator",OG=p.forwardRef((e,t)=>{const{__scopeCheckbox:a,forceMount:o,...i}=e,s=KP(PG,a);return M.jsx(Pn,{present:o||wi(s.checked)||s.checked===!0,children:M.jsx(XP.span,{"data-state":qG(s.checked),"data-disabled":s.disabled?"":void 0,...i,ref:t,style:{pointerEvents:"none",...e.style}})})});OG.displayName=PG;var DG="CheckboxBubbleInput",zG=p.forwardRef(({__scopeCheckbox:e,...t},a)=>{const{control:o,hasConsumerStoppedPropagationRef:i,checked:s,defaultChecked:l,required:h,disabled:f,name:y,value:k,form:m,bubbleInput:x,setBubbleInput:S}=KP(DG,e),b=ze(a,S),w=wA(s),_=_A(o);p.useEffect(()=>{const L=x;if(!L)return;const I=window.HTMLInputElement.prototype,D=Object.getOwnPropertyDescriptor(I,"checked").set,P=!i.current;if(w!==s&&D){const A=new Event("click",{bubbles:P});L.indeterminate=wi(s),D.call(L,wi(s)?!1:s),L.dispatchEvent(A)}},[x,w,s,i]);const N=p.useRef(wi(s)?!1:s);return M.jsx(XP.input,{type:"checkbox","aria-hidden":!0,defaultChecked:l??N.current,required:h,disabled:f,name:y,value:k,form:m,...t,tabIndex:-1,ref:b,style:{...t.style,..._,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});zG.displayName=DG;function dLe(e){return typeof e=="function"}function wi(e){return e==="indeterminate"}function qG(e){return wi(e)?"indeterminate":e?"checked":"unchecked"}function uLe({className:e,...t}){return M.jsx(jG,{"data-slot":"checkbox",className:ee("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:M.jsx(OG,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:M.jsx(sr,{className:"size-3.5"})})})}function hLe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,pLe(i,...t)]}function pLe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function fLe(e){const t=yLe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(vLe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function yLe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=gLe(i),h=kLe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var mLe=Symbol("radix.slottable");function vLe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===mLe}function kLe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function gLe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var MLe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],YP=MLe.reduce((e,t)=>{const a=fLe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),xLe=bP[" useId ".trim().toString()]||(()=>{}),bLe=0;function It(e){const[t,a]=p.useState(xLe());return St(()=>{a(o=>o??String(bLe++))},[e]),e||(t?`radix-${t}`:"")}var CA="Collapsible",[wLe]=hLe(CA),[_Le,QP]=wLe(CA),HG=p.forwardRef((e,t)=>{const{__scopeCollapsible:a,open:o,defaultOpen:i,disabled:s,onOpenChange:l,...h}=e,[f,y]=bn({prop:o,defaultProp:i??!1,onChange:l,caller:CA});return M.jsx(_Le,{scope:a,disabled:s,contentId:It(),open:f,onOpenToggle:p.useCallback(()=>y(k=>!k),[y]),children:M.jsx(YP.div,{"data-state":eO(f),"data-disabled":s?"":void 0,...h,ref:t})})});HG.displayName=CA;var VG="CollapsibleTrigger",BG=p.forwardRef((e,t)=>{const{__scopeCollapsible:a,...o}=e,i=QP(VG,a);return M.jsx(YP.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":eO(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...o,ref:t,onClick:xe(e.onClick,i.onOpenToggle)})});BG.displayName=VG;var JP="CollapsibleContent",FG=p.forwardRef((e,t)=>{const{forceMount:a,...o}=e,i=QP(JP,e.__scopeCollapsible);return M.jsx(Pn,{present:a||i.open,children:({present:s})=>M.jsx(SLe,{...o,ref:t,present:s})})});FG.displayName=JP;var SLe=p.forwardRef((e,t)=>{const{__scopeCollapsible:a,present:o,children:i,...s}=e,l=QP(JP,a),[h,f]=p.useState(o),y=p.useRef(null),k=ze(t,y),m=p.useRef(0),x=m.current,S=p.useRef(0),b=S.current,w=l.open||h,_=p.useRef(w),N=p.useRef(void 0);return p.useEffect(()=>{const L=requestAnimationFrame(()=>_.current=!1);return()=>cancelAnimationFrame(L)},[]),St(()=>{const L=y.current;if(L){N.current=N.current||{transitionDuration:L.style.transitionDuration,animationName:L.style.animationName},L.style.transitionDuration="0s",L.style.animationName="none";const I=L.getBoundingClientRect();m.current=I.height,S.current=I.width,_.current||(L.style.transitionDuration=N.current.transitionDuration,L.style.animationName=N.current.animationName),f(o)}},[l.open,o]),M.jsx(YP.div,{"data-state":eO(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!w,...s,ref:k,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:w&&i})});function eO(e){return e?"open":"closed"}var CLe=HG;function NLe({...e}){return M.jsx(CLe,{"data-slot":"collapsible",...e})}function LLe({...e}){return M.jsx(BG,{"data-slot":"collapsible-trigger",...e})}function ELe({...e}){return M.jsx(FG,{"data-slot":"collapsible-content",...e})}var UB=1,ILe=.9,ALe=.8,TLe=.17,gj=.1,Mj=.999,RLe=.9999,$Le=.99,jLe=/[\\\/_+.#"@\[\(\{&]/,PLe=/[\\\/_+.#"@\[\(\{&]/g,OLe=/[\s-]/,UG=/[\s-]/g;function Yj(e,t,a,o,i,s,l){if(s===t.length)return i===e.length?UB:$Le;var h=`${i},${s}`;if(l[h]!==void 0)return l[h];for(var f=o.charAt(s),y=a.indexOf(f,i),k=0,m,x,S,b;y>=0;)m=Yj(e,t,a,o,y+1,s+1,l),m>k&&(y===i?m*=UB:jLe.test(e.charAt(y-1))?(m*=ALe,S=e.slice(i,y-1).match(PLe),S&&i>0&&(m*=Math.pow(Mj,S.length))):OLe.test(e.charAt(y-1))?(m*=ILe,b=e.slice(i,y-1).match(UG),b&&i>0&&(m*=Math.pow(Mj,b.length))):(m*=TLe,i>0&&(m*=Math.pow(Mj,y-i))),e.charAt(y)!==t.charAt(s)&&(m*=RLe)),(m<gj&&a.charAt(y-1)===o.charAt(s+1)||o.charAt(s+1)===o.charAt(s)&&a.charAt(y-1)!==o.charAt(s))&&(x=Yj(e,t,a,o,y+1,s+2,l),x*gj>m&&(m=x*gj)),m>k&&(k=m),y=a.indexOf(f,y+1);return l[h]=k,k}function GB(e){return e.toLowerCase().replace(UG," ")}function DLe(e,t,a){return e=a&&a.length>0?`${e+" "+a.join(" ")}`:e,Yj(e,t,GB(e),GB(t),0,0,{})}function zLe(e,t){const a=p.createContext(t),o=s=>{const{children:l,...h}=s,f=p.useMemo(()=>h,Object.values(h));return M.jsx(a.Provider,{value:f,children:l})};o.displayName=e+"Provider";function i(s){const l=p.useContext(a);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[o,i]}function qLe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,HLe(i,...t)]}function HLe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function VLe(e){const t=BLe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(ULe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function BLe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=WLe(i),h=GLe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var FLe=Symbol("radix.slottable");function ULe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===FLe}function GLe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function WLe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var ZLe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],GG=ZLe.reduce((e,t)=>{const a=VLe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function XLe(e,t){e&&Kd.flushSync(()=>e.dispatchEvent(t))}function KLe(e,t=globalThis==null?void 0:globalThis.document){const a=Zn(e);p.useEffect(()=>{const o=i=>{i.key==="Escape"&&a(i)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[a,t])}var YLe="DismissableLayer",Qj="dismissableLayer.update",QLe="dismissableLayer.pointerDownOutside",JLe="dismissableLayer.focusOutside",WB,WG=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),nu=p.forwardRef((e,t)=>{const{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:l,onDismiss:h,...f}=e,y=p.useContext(WG),[k,m]=p.useState(null),x=(k==null?void 0:k.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,S]=p.useState({}),b=ze(t,A=>m(A)),w=Array.from(y.layers),[_]=[...y.layersWithOutsidePointerEventsDisabled].slice(-1),N=w.indexOf(_),L=k?w.indexOf(k):-1,I=y.layersWithOutsidePointerEventsDisabled.size>0,O=L>=N,D=nEe(A=>{const j=A.target,V=[...y.branches].some(K=>K.contains(j));!O||V||(i==null||i(A),l==null||l(A),A.defaultPrevented||h==null||h())},x),P=aEe(A=>{const j=A.target;[...y.branches].some(K=>K.contains(j))||(s==null||s(A),l==null||l(A),A.defaultPrevented||h==null||h())},x);return KLe(A=>{L===y.layers.size-1&&(o==null||o(A),!A.defaultPrevented&&h&&(A.preventDefault(),h()))},x),p.useEffect(()=>{if(k)return a&&(y.layersWithOutsidePointerEventsDisabled.size===0&&(WB=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),y.layersWithOutsidePointerEventsDisabled.add(k)),y.layers.add(k),ZB(),()=>{a&&y.layersWithOutsidePointerEventsDisabled.size===1&&(x.body.style.pointerEvents=WB)}},[k,x,a,y]),p.useEffect(()=>()=>{k&&(y.layers.delete(k),y.layersWithOutsidePointerEventsDisabled.delete(k),ZB())},[k,y]),p.useEffect(()=>{const A=()=>S({});return document.addEventListener(Qj,A),()=>document.removeEventListener(Qj,A)},[]),M.jsx(GG.div,{...f,ref:b,style:{pointerEvents:I?O?"auto":"none":void 0,...e.style},onFocusCapture:xe(e.onFocusCapture,P.onFocusCapture),onBlurCapture:xe(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:xe(e.onPointerDownCapture,D.onPointerDownCapture)})});nu.displayName=YLe;var eEe="DismissableLayerBranch",tEe=p.forwardRef((e,t)=>{const a=p.useContext(WG),o=p.useRef(null),i=ze(t,o);return p.useEffect(()=>{const s=o.current;if(s)return a.branches.add(s),()=>{a.branches.delete(s)}},[a.branches]),M.jsx(GG.div,{...e,ref:i})});tEe.displayName=eEe;function nEe(e,t=globalThis==null?void 0:globalThis.document){const a=Zn(e),o=p.useRef(!1),i=p.useRef(()=>{});return p.useEffect(()=>{const s=h=>{if(h.target&&!o.current){let f=function(){ZG(QLe,a,y,{discrete:!0})};const y={originalEvent:h};h.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=f,t.addEventListener("click",i.current,{once:!0})):f()}else t.removeEventListener("click",i.current);o.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,a]),{onPointerDownCapture:()=>o.current=!0}}function aEe(e,t=globalThis==null?void 0:globalThis.document){const a=Zn(e),o=p.useRef(!1);return p.useEffect(()=>{const i=s=>{s.target&&!o.current&&ZG(JLe,a,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,a]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function ZB(){const e=new CustomEvent(Qj);document.dispatchEvent(e)}function ZG(e,t,a,{discrete:o}){const i=a.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});t&&i.addEventListener(e,t,{once:!0}),o?XLe(i,s):i.dispatchEvent(s)}function oEe(e){const t=rEe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(cEe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function rEe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=lEe(i),h=sEe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var iEe=Symbol("radix.slottable");function cEe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===iEe}function sEe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function lEe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var dEe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],uEe=dEe.reduce((e,t)=>{const a=oEe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),xj="focusScope.autoFocusOnMount",bj="focusScope.autoFocusOnUnmount",XB={bubbles:!1,cancelable:!0},hEe="FocusScope",O2=p.forwardRef((e,t)=>{const{loop:a=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...l}=e,[h,f]=p.useState(null),y=Zn(i),k=Zn(s),m=p.useRef(null),x=ze(t,w=>f(w)),S=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(o){let w=function(I){if(S.paused||!h)return;const O=I.target;h.contains(O)?m.current=O:mi(m.current,{select:!0})},_=function(I){if(S.paused||!h)return;const O=I.relatedTarget;O!==null&&(h.contains(O)||mi(m.current,{select:!0}))},N=function(I){if(document.activeElement===document.body)for(const D of I)D.removedNodes.length>0&&mi(h)};document.addEventListener("focusin",w),document.addEventListener("focusout",_);const L=new MutationObserver(N);return h&&L.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",_),L.disconnect()}}},[o,h,S.paused]),p.useEffect(()=>{if(h){YB.add(S);const w=document.activeElement;if(!h.contains(w)){const N=new CustomEvent(xj,XB);h.addEventListener(xj,y),h.dispatchEvent(N),N.defaultPrevented||(pEe(kEe(XG(h)),{select:!0}),document.activeElement===w&&mi(h))}return()=>{h.removeEventListener(xj,y),setTimeout(()=>{const N=new CustomEvent(bj,XB);h.addEventListener(bj,k),h.dispatchEvent(N),N.defaultPrevented||mi(w??document.body,{select:!0}),h.removeEventListener(bj,k),YB.remove(S)},0)}}},[h,y,k,S]);const b=p.useCallback(w=>{if(!a&&!o||S.paused)return;const _=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,N=document.activeElement;if(_&&N){const L=w.currentTarget,[I,O]=fEe(L);I&&O?!w.shiftKey&&N===O?(w.preventDefault(),a&&mi(I,{select:!0})):w.shiftKey&&N===I&&(w.preventDefault(),a&&mi(O,{select:!0})):N===L&&w.preventDefault()}},[a,o,S.paused]);return M.jsx(uEe.div,{tabIndex:-1,...l,ref:x,onKeyDown:b})});O2.displayName=hEe;function pEe(e,{select:t=!1}={}){const a=document.activeElement;for(const o of e)if(mi(o,{select:t}),document.activeElement!==a)return}function fEe(e){const t=XG(e),a=KB(t,e),o=KB(t.reverse(),e);return[a,o]}function XG(e){const t=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const i=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||i?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)t.push(a.currentNode);return t}function KB(e,t){for(const a of e)if(!yEe(a,{upTo:t}))return a}function yEe(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function mEe(e){return e instanceof HTMLInputElement&&"select"in e}function mi(e,{select:t=!1}={}){if(e&&e.focus){const a=document.activeElement;e.focus({preventScroll:!0}),e!==a&&mEe(e)&&t&&e.select()}}var YB=vEe();function vEe(){let e=[];return{add(t){const a=e[0];t!==a&&(a==null||a.pause()),e=QB(e,t),e.unshift(t)},remove(t){var a;e=QB(e,t),(a=e[0])==null||a.resume()}}}function QB(e,t){const a=[...e],o=a.indexOf(t);return o!==-1&&a.splice(o,1),a}function kEe(e){return e.filter(t=>t.tagName!=="A")}function KG(e){const t=gEe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(xEe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function gEe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=wEe(i),h=bEe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var MEe=Symbol("radix.slottable");function xEe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===MEe}function bEe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function wEe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var _Ee=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],au=_Ee.reduce((e,t)=>{const a=KG(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),SEe="Portal",YG=p.forwardRef((e,t)=>{var h;const{container:a,...o}=e,[i,s]=p.useState(!1);St(()=>s(!0),[]);const l=a||i&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return l?ur.createPortal(M.jsx(au.div,{...o,ref:t}),l):null});YG.displayName=SEe;var wj=0;function NA(){p.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??JB()),document.body.insertAdjacentElement("beforeend",e[1]??JB()),wj++,()=>{wj===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),wj--}},[])}function JB(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var rr=function(){return rr=Object.assign||function(t){for(var a,o=1,i=arguments.length;o<i;o++){a=arguments[o];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(t[s]=a[s])}return t},rr.apply(this,arguments)};function QG(e,t){var a={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(a[o[i]]=e[o[i]]);return a}function CEe(e,t,a){if(a||arguments.length===2)for(var o=0,i=t.length,s;o<i;o++)(s||!(o in t))&&(s||(s=Array.prototype.slice.call(t,0,o)),s[o]=t[o]);return e.concat(s||Array.prototype.slice.call(t))}var qI="right-scroll-bar-position",HI="width-before-scroll-bar",NEe="with-scroll-bars-hidden",LEe="--removed-body-scroll-bar-size";function _j(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function EEe(e,t){var a=p.useState(function(){return{value:e,callback:t,facade:{get current(){return a.value},set current(o){var i=a.value;i!==o&&(a.value=o,a.callback(o,i))}}}})[0];return a.callback=t,a.facade}var IEe=typeof window<"u"?p.useLayoutEffect:p.useEffect,eF=new WeakMap;function AEe(e,t){var a=EEe(null,function(o){return e.forEach(function(i){return _j(i,o)})});return IEe(function(){var o=eF.get(a);if(o){var i=new Set(o),s=new Set(e),l=a.current;i.forEach(function(h){s.has(h)||_j(h,null)}),s.forEach(function(h){i.has(h)||_j(h,l)})}eF.set(a,e)},[e]),a}function TEe(e){return e}function REe(e,t){t===void 0&&(t=TEe);var a=[],o=!1,i={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:e},useMedium:function(s){var l=t(s,o);return a.push(l),function(){a=a.filter(function(h){return h!==l})}},assignSyncMedium:function(s){for(o=!0;a.length;){var l=a;a=[],l.forEach(s)}a={push:function(h){return s(h)},filter:function(){return a}}},assignMedium:function(s){o=!0;var l=[];if(a.length){var h=a;a=[],h.forEach(s),l=a}var f=function(){var k=l;l=[],k.forEach(s)},y=function(){return Promise.resolve().then(f)};y(),a={push:function(k){l.push(k),y()},filter:function(k){return l=l.filter(k),a}}}};return i}function $Ee(e){e===void 0&&(e={});var t=REe(null);return t.options=rr({async:!0,ssr:!1},e),t}var JG=function(e){var t=e.sideCar,a=QG(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return p.createElement(o,rr({},a))};JG.isSideCarExport=!0;function jEe(e,t){return e.useMedium(t),JG}var eW=$Ee(),Sj=function(){},LA=p.forwardRef(function(e,t){var a=p.useRef(null),o=p.useState({onScrollCapture:Sj,onWheelCapture:Sj,onTouchMoveCapture:Sj}),i=o[0],s=o[1],l=e.forwardProps,h=e.children,f=e.className,y=e.removeScrollBar,k=e.enabled,m=e.shards,x=e.sideCar,S=e.noRelative,b=e.noIsolation,w=e.inert,_=e.allowPinchZoom,N=e.as,L=N===void 0?"div":N,I=e.gapMode,O=QG(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=x,P=AEe([a,t]),A=rr(rr({},O),i);return p.createElement(p.Fragment,null,k&&p.createElement(D,{sideCar:eW,removeScrollBar:y,shards:m,noRelative:S,noIsolation:b,inert:w,setCallbacks:s,allowPinchZoom:!!_,lockRef:a,gapMode:I}),l?p.cloneElement(p.Children.only(h),rr(rr({},A),{ref:P})):p.createElement(L,rr({},A,{className:f,ref:P}),h))});LA.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};LA.classNames={fullWidth:HI,zeroRight:qI};var PEe=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function OEe(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=PEe();return t&&e.setAttribute("nonce",t),e}function DEe(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function zEe(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var qEe=function(){var e=0,t=null;return{add:function(a){e==0&&(t=OEe())&&(DEe(t,a),zEe(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},HEe=function(){var e=qEe();return function(t,a){p.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&a])}},tW=function(){var e=HEe(),t=function(a){var o=a.styles,i=a.dynamic;return e(o,i),null};return t},VEe={left:0,top:0,right:0,gap:0},Cj=function(e){return parseInt(e||"",10)||0},BEe=function(e){var t=window.getComputedStyle(document.body),a=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[Cj(a),Cj(o),Cj(i)]},FEe=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return VEe;var t=BEe(e),a=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-a+t[2]-t[0])}},UEe=tW(),Vd="data-scroll-locked",GEe=function(e,t,a,o){var i=e.left,s=e.top,l=e.right,h=e.gap;return a===void 0&&(a="margin"),`
7964
7964
  .`.concat(NEe,` {
7965
7965
  overflow: hidden `).concat(o,`;
7966
7966
  padding-right: `).concat(h,"px ").concat(o,`;
@@ -7997,14 +7997,14 @@ Error generating stack: `+u.message+`
7997
7997
  body[`).concat(Vd,`] {
7998
7998
  `).concat(LEe,": ").concat(h,`px;
7999
7999
  }
8000
- `)},tF=function(){var e=parseInt(document.body.getAttribute(Vd)||"0",10);return isFinite(e)?e:0},WEe=function(){p.useEffect(function(){return document.body.setAttribute(Vd,(tF()+1).toString()),function(){var e=tF()-1;e<=0?document.body.removeAttribute(Vd):document.body.setAttribute(Vd,e.toString())}},[])},ZEe=function(e){var t=e.noRelative,a=e.noImportant,o=e.gapMode,i=o===void 0?"margin":o;WEe();var s=p.useMemo(function(){return FEe(i)},[i]);return p.createElement(UEe,{styles:GEe(s,!t,i,a?"":"!important")})},Qj=!1;if(typeof window<"u")try{var Mh=Object.defineProperty({},"passive",{get:function(){return Qj=!0,!0}});window.addEventListener("test",Mh,Mh),window.removeEventListener("test",Mh,Mh)}catch{Qj=!1}var jd=Qj?{passive:!1}:!1,XEe=function(e){return e.tagName==="TEXTAREA"},nW=function(e,t){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[t]!=="hidden"&&!(a.overflowY===a.overflowX&&!XEe(e)&&a[t]==="visible")},KEe=function(e){return nW(e,"overflowY")},YEe=function(e){return nW(e,"overflowX")},nF=function(e,t){var a=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var i=aW(e,o);if(i){var s=oW(e,o),l=s[1],h=s[2];if(l>h)return!0}o=o.parentNode}while(o&&o!==a.body);return!1},QEe=function(e){var t=e.scrollTop,a=e.scrollHeight,o=e.clientHeight;return[t,a,o]},JEe=function(e){var t=e.scrollLeft,a=e.scrollWidth,o=e.clientWidth;return[t,a,o]},aW=function(e,t){return e==="v"?KEe(t):YEe(t)},oW=function(e,t){return e==="v"?QEe(t):JEe(t)},eIe=function(e,t){return e==="h"&&t==="rtl"?-1:1},tIe=function(e,t,a,o,i){var s=eIe(e,window.getComputedStyle(t).direction),l=s*o,h=a.target,f=t.contains(h),y=!1,k=l>0,m=0,x=0;do{if(!h)break;var S=oW(e,h),b=S[0],w=S[1],_=S[2],N=w-_-s*b;(b||N)&&aW(e,h)&&(m+=N,x+=b);var L=h.parentNode;h=L&&L.nodeType===Node.DOCUMENT_FRAGMENT_NODE?L.host:L}while(!f&&h!==document.body||f&&(t.contains(h)||t===h));return(k&&Math.abs(m)<1||!k&&Math.abs(x)<1)&&(y=!0),y},xh=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},aF=function(e){return[e.deltaX,e.deltaY]},oF=function(e){return e&&"current"in e?e.current:e},nIe=function(e,t){return e[0]===t[0]&&e[1]===t[1]},aIe=function(e){return`
8000
+ `)},tF=function(){var e=parseInt(document.body.getAttribute(Vd)||"0",10);return isFinite(e)?e:0},WEe=function(){p.useEffect(function(){return document.body.setAttribute(Vd,(tF()+1).toString()),function(){var e=tF()-1;e<=0?document.body.removeAttribute(Vd):document.body.setAttribute(Vd,e.toString())}},[])},ZEe=function(e){var t=e.noRelative,a=e.noImportant,o=e.gapMode,i=o===void 0?"margin":o;WEe();var s=p.useMemo(function(){return FEe(i)},[i]);return p.createElement(UEe,{styles:GEe(s,!t,i,a?"":"!important")})},Jj=!1;if(typeof window<"u")try{var Mh=Object.defineProperty({},"passive",{get:function(){return Jj=!0,!0}});window.addEventListener("test",Mh,Mh),window.removeEventListener("test",Mh,Mh)}catch{Jj=!1}var jd=Jj?{passive:!1}:!1,XEe=function(e){return e.tagName==="TEXTAREA"},nW=function(e,t){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[t]!=="hidden"&&!(a.overflowY===a.overflowX&&!XEe(e)&&a[t]==="visible")},KEe=function(e){return nW(e,"overflowY")},YEe=function(e){return nW(e,"overflowX")},nF=function(e,t){var a=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var i=aW(e,o);if(i){var s=oW(e,o),l=s[1],h=s[2];if(l>h)return!0}o=o.parentNode}while(o&&o!==a.body);return!1},QEe=function(e){var t=e.scrollTop,a=e.scrollHeight,o=e.clientHeight;return[t,a,o]},JEe=function(e){var t=e.scrollLeft,a=e.scrollWidth,o=e.clientWidth;return[t,a,o]},aW=function(e,t){return e==="v"?KEe(t):YEe(t)},oW=function(e,t){return e==="v"?QEe(t):JEe(t)},eIe=function(e,t){return e==="h"&&t==="rtl"?-1:1},tIe=function(e,t,a,o,i){var s=eIe(e,window.getComputedStyle(t).direction),l=s*o,h=a.target,f=t.contains(h),y=!1,k=l>0,m=0,x=0;do{if(!h)break;var S=oW(e,h),b=S[0],w=S[1],_=S[2],N=w-_-s*b;(b||N)&&aW(e,h)&&(m+=N,x+=b);var L=h.parentNode;h=L&&L.nodeType===Node.DOCUMENT_FRAGMENT_NODE?L.host:L}while(!f&&h!==document.body||f&&(t.contains(h)||t===h));return(k&&Math.abs(m)<1||!k&&Math.abs(x)<1)&&(y=!0),y},xh=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},aF=function(e){return[e.deltaX,e.deltaY]},oF=function(e){return e&&"current"in e?e.current:e},nIe=function(e,t){return e[0]===t[0]&&e[1]===t[1]},aIe=function(e){return`
8001
8001
  .block-interactivity-`.concat(e,` {pointer-events: none;}
8002
8002
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
8003
- `)},oIe=0,Pd=[];function rIe(e){var t=p.useRef([]),a=p.useRef([0,0]),o=p.useRef(),i=p.useState(oIe++)[0],s=p.useState(tW)[0],l=p.useRef(e);p.useEffect(function(){l.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var w=CEe([e.lockRef.current],(e.shards||[]).map(oF),!0).filter(Boolean);return w.forEach(function(_){return _.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),w.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var h=p.useCallback(function(w,_){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!l.current.allowPinchZoom;var N=xh(w),L=a.current,I="deltaX"in w?w.deltaX:L[0]-N[0],P="deltaY"in w?w.deltaY:L[1]-N[1],D,j=w.target,A=Math.abs(I)>Math.abs(P)?"h":"v";if("touches"in w&&A==="h"&&j.type==="range")return!1;var $=window.getSelection(),B=$&&$.anchorNode,Z=B?B===j||B.contains(j):!1;if(Z)return!1;var q=nF(A,j);if(!q)return!0;if(q?D=A:(D=A==="v"?"h":"v",q=nF(A,j)),!q)return!1;if(!o.current&&"changedTouches"in w&&(I||P)&&(o.current=D),!D)return!0;var V=o.current||D;return tIe(V,_,w,V==="h"?I:P)},[]),f=p.useCallback(function(w){var _=w;if(!(!Pd.length||Pd[Pd.length-1]!==s)){var N="deltaY"in _?aF(_):xh(_),L=t.current.filter(function(D){return D.name===_.type&&(D.target===_.target||_.target===D.shadowParent)&&nIe(D.delta,N)})[0];if(L&&L.should){_.cancelable&&_.preventDefault();return}if(!L){var I=(l.current.shards||[]).map(oF).filter(Boolean).filter(function(D){return D.contains(_.target)}),P=I.length>0?h(_,I[0]):!l.current.noIsolation;P&&_.cancelable&&_.preventDefault()}}},[]),y=p.useCallback(function(w,_,N,L){var I={name:w,delta:_,target:N,should:L,shadowParent:iIe(N)};t.current.push(I),setTimeout(function(){t.current=t.current.filter(function(P){return P!==I})},1)},[]),k=p.useCallback(function(w){a.current=xh(w),o.current=void 0},[]),m=p.useCallback(function(w){y(w.type,aF(w),w.target,h(w,e.lockRef.current))},[]),x=p.useCallback(function(w){y(w.type,xh(w),w.target,h(w,e.lockRef.current))},[]);p.useEffect(function(){return Pd.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:x}),document.addEventListener("wheel",f,jd),document.addEventListener("touchmove",f,jd),document.addEventListener("touchstart",k,jd),function(){Pd=Pd.filter(function(w){return w!==s}),document.removeEventListener("wheel",f,jd),document.removeEventListener("touchmove",f,jd),document.removeEventListener("touchstart",k,jd)}},[]);var S=e.removeScrollBar,b=e.inert;return p.createElement(p.Fragment,null,b?p.createElement(s,{styles:aIe(i)}):null,S?p.createElement(ZEe,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function iIe(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const cIe=jEe(eW,rIe);var D2=p.forwardRef(function(e,t){return p.createElement(NA,rr({},e,{ref:t,sideCar:cIe}))});D2.classNames=NA.classNames;var sIe=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Od=new WeakMap,bh=new WeakMap,wh={},Cj=0,rW=function(e){return e&&(e.host||rW(e.parentNode))},lIe=function(e,t){return t.map(function(a){if(e.contains(a))return a;var o=rW(a);return o&&e.contains(o)?o:(console.error("aria-hidden",a,"in not contained inside",e,". Doing nothing"),null)}).filter(function(a){return!!a})},dIe=function(e,t,a,o){var i=lIe(t,Array.isArray(e)?e:[e]);wh[a]||(wh[a]=new WeakMap);var s=wh[a],l=[],h=new Set,f=new Set(i),y=function(m){!m||h.has(m)||(h.add(m),y(m.parentNode))};i.forEach(y);var k=function(m){!m||f.has(m)||Array.prototype.forEach.call(m.children,function(x){if(h.has(x))k(x);else try{var S=x.getAttribute(o),b=S!==null&&S!=="false",w=(Od.get(x)||0)+1,_=(s.get(x)||0)+1;Od.set(x,w),s.set(x,_),l.push(x),w===1&&b&&bh.set(x,!0),_===1&&x.setAttribute(a,"true"),b||x.setAttribute(o,"true")}catch(N){console.error("aria-hidden: cannot operate on ",x,N)}})};return k(t),h.clear(),Cj++,function(){l.forEach(function(m){var x=Od.get(m)-1,S=s.get(m)-1;Od.set(m,x),s.set(m,S),x||(bh.has(m)||m.removeAttribute(o),bh.delete(m)),S||m.removeAttribute(a)}),Cj--,Cj||(Od=new WeakMap,Od=new WeakMap,bh=new WeakMap,wh={})}},LA=function(e,t,a){a===void 0&&(a="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=sIe(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live], script"))),dIe(o,i,a,"aria-hidden")):function(){return null}},EA="Dialog",[iW]=qLe(EA),[uIe,Go]=iW(EA),cW=e=>{const{__scopeDialog:t,children:a,open:o,defaultOpen:i,onOpenChange:s,modal:l=!0}=e,h=p.useRef(null),f=p.useRef(null),[y,k]=bn({prop:o,defaultProp:i??!1,onChange:s,caller:EA});return M.jsx(uIe,{scope:t,triggerRef:h,contentRef:f,contentId:It(),titleId:It(),descriptionId:It(),open:y,onOpenChange:k,onOpenToggle:p.useCallback(()=>k(m=>!m),[k]),modal:l,children:a})};cW.displayName=EA;var sW="DialogTrigger",lW=p.forwardRef((e,t)=>{const{__scopeDialog:a,...o}=e,i=Go(sW,a),s=ze(t,i.triggerRef);return M.jsx(au.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":aO(i.open),...o,ref:s,onClick:xe(e.onClick,i.onOpenToggle)})});lW.displayName=sW;var tO="DialogPortal",[hIe,dW]=iW(tO,{forceMount:void 0}),uW=e=>{const{__scopeDialog:t,forceMount:a,children:o,container:i}=e,s=Go(tO,t);return M.jsx(hIe,{scope:t,forceMount:a,children:p.Children.map(o,l=>M.jsx(Pn,{present:a||s.open,children:M.jsx(YG,{asChild:!0,container:i,children:l})}))})};uW.displayName=tO;var tA="DialogOverlay",hW=p.forwardRef((e,t)=>{const a=dW(tA,e.__scopeDialog),{forceMount:o=a.forceMount,...i}=e,s=Go(tA,e.__scopeDialog);return s.modal?M.jsx(Pn,{present:o||s.open,children:M.jsx(fIe,{...i,ref:t})}):null});hW.displayName=tA;var pIe=KG("DialogOverlay.RemoveScroll"),fIe=p.forwardRef((e,t)=>{const{__scopeDialog:a,...o}=e,i=Go(tA,a);return M.jsx(D2,{as:pIe,allowPinchZoom:!0,shards:[i.contentRef],children:M.jsx(au.div,{"data-state":aO(i.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),H1="DialogContent",pW=p.forwardRef((e,t)=>{const a=dW(H1,e.__scopeDialog),{forceMount:o=a.forceMount,...i}=e,s=Go(H1,e.__scopeDialog);return M.jsx(Pn,{present:o||s.open,children:s.modal?M.jsx(yIe,{...i,ref:t}):M.jsx(mIe,{...i,ref:t})})});pW.displayName=H1;var yIe=p.forwardRef((e,t)=>{const a=Go(H1,e.__scopeDialog),o=p.useRef(null),i=ze(t,a.contentRef,o);return p.useEffect(()=>{const s=o.current;if(s)return LA(s)},[]),M.jsx(fW,{...e,ref:i,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:xe(e.onCloseAutoFocus,s=>{var l;s.preventDefault(),(l=a.triggerRef.current)==null||l.focus()}),onPointerDownOutside:xe(e.onPointerDownOutside,s=>{const l=s.detail.originalEvent,h=l.button===0&&l.ctrlKey===!0;(l.button===2||h)&&s.preventDefault()}),onFocusOutside:xe(e.onFocusOutside,s=>s.preventDefault())})}),mIe=p.forwardRef((e,t)=>{const a=Go(H1,e.__scopeDialog),o=p.useRef(!1),i=p.useRef(!1);return M.jsx(fW,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var l,h;(l=e.onCloseAutoFocus)==null||l.call(e,s),s.defaultPrevented||(o.current||(h=a.triggerRef.current)==null||h.focus(),s.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:s=>{var f,y;(f=e.onInteractOutside)==null||f.call(e,s),s.defaultPrevented||(o.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const l=s.target;((y=a.triggerRef.current)==null?void 0:y.contains(l))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),fW=p.forwardRef((e,t)=>{const{__scopeDialog:a,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,...l}=e,h=Go(H1,a),f=p.useRef(null),y=ze(t,f);return CA(),M.jsxs(M.Fragment,{children:[M.jsx(O2,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:s,children:M.jsx(nu,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":aO(h.open),...l,ref:y,onDismiss:()=>h.onOpenChange(!1)})}),M.jsxs(M.Fragment,{children:[M.jsx(vIe,{titleId:h.titleId}),M.jsx(gIe,{contentRef:f,descriptionId:h.descriptionId})]})]})}),nO="DialogTitle",yW=p.forwardRef((e,t)=>{const{__scopeDialog:a,...o}=e,i=Go(nO,a);return M.jsx(au.h2,{id:i.titleId,...o,ref:t})});yW.displayName=nO;var mW="DialogDescription",vW=p.forwardRef((e,t)=>{const{__scopeDialog:a,...o}=e,i=Go(mW,a);return M.jsx(au.p,{id:i.descriptionId,...o,ref:t})});vW.displayName=mW;var kW="DialogClose",gW=p.forwardRef((e,t)=>{const{__scopeDialog:a,...o}=e,i=Go(kW,a);return M.jsx(au.button,{type:"button",...o,ref:t,onClick:xe(e.onClick,()=>i.onOpenChange(!1))})});gW.displayName=kW;function aO(e){return e?"open":"closed"}var MW="DialogTitleWarning",[uVe,xW]=zLe(MW,{contentName:H1,titleName:nO,docsSlug:"dialog"}),vIe=({titleId:e})=>{const t=xW(MW),a=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
8003
+ `)},oIe=0,Pd=[];function rIe(e){var t=p.useRef([]),a=p.useRef([0,0]),o=p.useRef(),i=p.useState(oIe++)[0],s=p.useState(tW)[0],l=p.useRef(e);p.useEffect(function(){l.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var w=CEe([e.lockRef.current],(e.shards||[]).map(oF),!0).filter(Boolean);return w.forEach(function(_){return _.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),w.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var h=p.useCallback(function(w,_){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!l.current.allowPinchZoom;var N=xh(w),L=a.current,I="deltaX"in w?w.deltaX:L[0]-N[0],O="deltaY"in w?w.deltaY:L[1]-N[1],D,P=w.target,A=Math.abs(I)>Math.abs(O)?"h":"v";if("touches"in w&&A==="h"&&P.type==="range")return!1;var j=window.getSelection(),V=j&&j.anchorNode,K=V?V===P||V.contains(P):!1;if(K)return!1;var q=nF(A,P);if(!q)return!0;if(q?D=A:(D=A==="v"?"h":"v",q=nF(A,P)),!q)return!1;if(!o.current&&"changedTouches"in w&&(I||O)&&(o.current=D),!D)return!0;var B=o.current||D;return tIe(B,_,w,B==="h"?I:O)},[]),f=p.useCallback(function(w){var _=w;if(!(!Pd.length||Pd[Pd.length-1]!==s)){var N="deltaY"in _?aF(_):xh(_),L=t.current.filter(function(D){return D.name===_.type&&(D.target===_.target||_.target===D.shadowParent)&&nIe(D.delta,N)})[0];if(L&&L.should){_.cancelable&&_.preventDefault();return}if(!L){var I=(l.current.shards||[]).map(oF).filter(Boolean).filter(function(D){return D.contains(_.target)}),O=I.length>0?h(_,I[0]):!l.current.noIsolation;O&&_.cancelable&&_.preventDefault()}}},[]),y=p.useCallback(function(w,_,N,L){var I={name:w,delta:_,target:N,should:L,shadowParent:iIe(N)};t.current.push(I),setTimeout(function(){t.current=t.current.filter(function(O){return O!==I})},1)},[]),k=p.useCallback(function(w){a.current=xh(w),o.current=void 0},[]),m=p.useCallback(function(w){y(w.type,aF(w),w.target,h(w,e.lockRef.current))},[]),x=p.useCallback(function(w){y(w.type,xh(w),w.target,h(w,e.lockRef.current))},[]);p.useEffect(function(){return Pd.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:x}),document.addEventListener("wheel",f,jd),document.addEventListener("touchmove",f,jd),document.addEventListener("touchstart",k,jd),function(){Pd=Pd.filter(function(w){return w!==s}),document.removeEventListener("wheel",f,jd),document.removeEventListener("touchmove",f,jd),document.removeEventListener("touchstart",k,jd)}},[]);var S=e.removeScrollBar,b=e.inert;return p.createElement(p.Fragment,null,b?p.createElement(s,{styles:aIe(i)}):null,S?p.createElement(ZEe,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function iIe(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const cIe=jEe(eW,rIe);var D2=p.forwardRef(function(e,t){return p.createElement(LA,rr({},e,{ref:t,sideCar:cIe}))});D2.classNames=LA.classNames;var sIe=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Od=new WeakMap,bh=new WeakMap,wh={},Nj=0,rW=function(e){return e&&(e.host||rW(e.parentNode))},lIe=function(e,t){return t.map(function(a){if(e.contains(a))return a;var o=rW(a);return o&&e.contains(o)?o:(console.error("aria-hidden",a,"in not contained inside",e,". Doing nothing"),null)}).filter(function(a){return!!a})},dIe=function(e,t,a,o){var i=lIe(t,Array.isArray(e)?e:[e]);wh[a]||(wh[a]=new WeakMap);var s=wh[a],l=[],h=new Set,f=new Set(i),y=function(m){!m||h.has(m)||(h.add(m),y(m.parentNode))};i.forEach(y);var k=function(m){!m||f.has(m)||Array.prototype.forEach.call(m.children,function(x){if(h.has(x))k(x);else try{var S=x.getAttribute(o),b=S!==null&&S!=="false",w=(Od.get(x)||0)+1,_=(s.get(x)||0)+1;Od.set(x,w),s.set(x,_),l.push(x),w===1&&b&&bh.set(x,!0),_===1&&x.setAttribute(a,"true"),b||x.setAttribute(o,"true")}catch(N){console.error("aria-hidden: cannot operate on ",x,N)}})};return k(t),h.clear(),Nj++,function(){l.forEach(function(m){var x=Od.get(m)-1,S=s.get(m)-1;Od.set(m,x),s.set(m,S),x||(bh.has(m)||m.removeAttribute(o),bh.delete(m)),S||m.removeAttribute(a)}),Nj--,Nj||(Od=new WeakMap,Od=new WeakMap,bh=new WeakMap,wh={})}},EA=function(e,t,a){a===void 0&&(a="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=sIe(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live], script"))),dIe(o,i,a,"aria-hidden")):function(){return null}},IA="Dialog",[iW]=qLe(IA),[uIe,Go]=iW(IA),cW=e=>{const{__scopeDialog:t,children:a,open:o,defaultOpen:i,onOpenChange:s,modal:l=!0}=e,h=p.useRef(null),f=p.useRef(null),[y,k]=bn({prop:o,defaultProp:i??!1,onChange:s,caller:IA});return M.jsx(uIe,{scope:t,triggerRef:h,contentRef:f,contentId:It(),titleId:It(),descriptionId:It(),open:y,onOpenChange:k,onOpenToggle:p.useCallback(()=>k(m=>!m),[k]),modal:l,children:a})};cW.displayName=IA;var sW="DialogTrigger",lW=p.forwardRef((e,t)=>{const{__scopeDialog:a,...o}=e,i=Go(sW,a),s=ze(t,i.triggerRef);return M.jsx(au.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":aO(i.open),...o,ref:s,onClick:xe(e.onClick,i.onOpenToggle)})});lW.displayName=sW;var tO="DialogPortal",[hIe,dW]=iW(tO,{forceMount:void 0}),uW=e=>{const{__scopeDialog:t,forceMount:a,children:o,container:i}=e,s=Go(tO,t);return M.jsx(hIe,{scope:t,forceMount:a,children:p.Children.map(o,l=>M.jsx(Pn,{present:a||s.open,children:M.jsx(YG,{asChild:!0,container:i,children:l})}))})};uW.displayName=tO;var tA="DialogOverlay",hW=p.forwardRef((e,t)=>{const a=dW(tA,e.__scopeDialog),{forceMount:o=a.forceMount,...i}=e,s=Go(tA,e.__scopeDialog);return s.modal?M.jsx(Pn,{present:o||s.open,children:M.jsx(fIe,{...i,ref:t})}):null});hW.displayName=tA;var pIe=KG("DialogOverlay.RemoveScroll"),fIe=p.forwardRef((e,t)=>{const{__scopeDialog:a,...o}=e,i=Go(tA,a);return M.jsx(D2,{as:pIe,allowPinchZoom:!0,shards:[i.contentRef],children:M.jsx(au.div,{"data-state":aO(i.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),H1="DialogContent",pW=p.forwardRef((e,t)=>{const a=dW(H1,e.__scopeDialog),{forceMount:o=a.forceMount,...i}=e,s=Go(H1,e.__scopeDialog);return M.jsx(Pn,{present:o||s.open,children:s.modal?M.jsx(yIe,{...i,ref:t}):M.jsx(mIe,{...i,ref:t})})});pW.displayName=H1;var yIe=p.forwardRef((e,t)=>{const a=Go(H1,e.__scopeDialog),o=p.useRef(null),i=ze(t,a.contentRef,o);return p.useEffect(()=>{const s=o.current;if(s)return EA(s)},[]),M.jsx(fW,{...e,ref:i,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:xe(e.onCloseAutoFocus,s=>{var l;s.preventDefault(),(l=a.triggerRef.current)==null||l.focus()}),onPointerDownOutside:xe(e.onPointerDownOutside,s=>{const l=s.detail.originalEvent,h=l.button===0&&l.ctrlKey===!0;(l.button===2||h)&&s.preventDefault()}),onFocusOutside:xe(e.onFocusOutside,s=>s.preventDefault())})}),mIe=p.forwardRef((e,t)=>{const a=Go(H1,e.__scopeDialog),o=p.useRef(!1),i=p.useRef(!1);return M.jsx(fW,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var l,h;(l=e.onCloseAutoFocus)==null||l.call(e,s),s.defaultPrevented||(o.current||(h=a.triggerRef.current)==null||h.focus(),s.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:s=>{var f,y;(f=e.onInteractOutside)==null||f.call(e,s),s.defaultPrevented||(o.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const l=s.target;((y=a.triggerRef.current)==null?void 0:y.contains(l))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),fW=p.forwardRef((e,t)=>{const{__scopeDialog:a,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,...l}=e,h=Go(H1,a),f=p.useRef(null),y=ze(t,f);return NA(),M.jsxs(M.Fragment,{children:[M.jsx(O2,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:s,children:M.jsx(nu,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":aO(h.open),...l,ref:y,onDismiss:()=>h.onOpenChange(!1)})}),M.jsxs(M.Fragment,{children:[M.jsx(vIe,{titleId:h.titleId}),M.jsx(gIe,{contentRef:f,descriptionId:h.descriptionId})]})]})}),nO="DialogTitle",yW=p.forwardRef((e,t)=>{const{__scopeDialog:a,...o}=e,i=Go(nO,a);return M.jsx(au.h2,{id:i.titleId,...o,ref:t})});yW.displayName=nO;var mW="DialogDescription",vW=p.forwardRef((e,t)=>{const{__scopeDialog:a,...o}=e,i=Go(mW,a);return M.jsx(au.p,{id:i.descriptionId,...o,ref:t})});vW.displayName=mW;var kW="DialogClose",gW=p.forwardRef((e,t)=>{const{__scopeDialog:a,...o}=e,i=Go(kW,a);return M.jsx(au.button,{type:"button",...o,ref:t,onClick:xe(e.onClick,()=>i.onOpenChange(!1))})});gW.displayName=kW;function aO(e){return e?"open":"closed"}var MW="DialogTitleWarning",[uVe,xW]=zLe(MW,{contentName:H1,titleName:nO,docsSlug:"dialog"}),vIe=({titleId:e})=>{const t=xW(MW),a=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
8004
8004
 
8005
8005
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
8006
8006
 
8007
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return p.useEffect(()=>{e&&(document.getElementById(e)||console.error(a))},[a,e]),null},kIe="DialogDescriptionWarning",gIe=({contentRef:e,descriptionId:t})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${xW(kIe).contentName}}.`;return p.useEffect(()=>{var s;const i=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},oO=cW,bW=lW,rO=uW,iO=hW,cO=pW,wW=yW,_W=vW,IA=gW,l2='[cmdk-group=""]',Nj='[cmdk-group-items=""]',MIe='[cmdk-group-heading=""]',SW='[cmdk-item=""]',rF=`${SW}:not([aria-disabled="true"])`,Jj="cmdk-item-select",zd="data-value",xIe=(e,t,a)=>DLe(e,t,a),CW=p.createContext(void 0),z2=()=>p.useContext(CW),NW=p.createContext(void 0),sO=()=>p.useContext(NW),LW=p.createContext(void 0),EW=p.forwardRef((e,t)=>{let a=qd(()=>{var X,ne;return{search:"",value:(ne=(X=e.value)!=null?X:e.defaultValue)!=null?ne:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),o=qd(()=>new Set),i=qd(()=>new Map),s=qd(()=>new Map),l=qd(()=>new Set),h=IW(e),{label:f,children:y,value:k,onValueChange:m,filter:x,shouldFilter:S,loop:b,disablePointerSelection:w=!1,vimBindings:_=!0,...N}=e,L=It(),I=It(),P=It(),D=p.useRef(null),j=TIe();V1(()=>{if(k!==void 0){let X=k.trim();a.current.value=X,A.emit()}},[k]),V1(()=>{j(6,F)},[]);let A=p.useMemo(()=>({subscribe:X=>(l.current.add(X),()=>l.current.delete(X)),snapshot:()=>a.current,setState:(X,ne,de)=>{var ce,ye,pe,ve;if(!Object.is(a.current[X],ne)){if(a.current[X]=ne,X==="search")V(),Z(),j(1,q);else if(X==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let me=document.getElementById(P);me?me.focus():(ce=document.getElementById(L))==null||ce.focus()}if(j(7,()=>{var me;a.current.selectedItemId=(me=J())==null?void 0:me.id,A.emit()}),de||j(5,F),((ye=h.current)==null?void 0:ye.value)!==void 0){let me=ne??"";(ve=(pe=h.current).onValueChange)==null||ve.call(pe,me);return}}A.emit()}},emit:()=>{l.current.forEach(X=>X())}}),[]),$=p.useMemo(()=>({value:(X,ne,de)=>{var ce;ne!==((ce=s.current.get(X))==null?void 0:ce.value)&&(s.current.set(X,{value:ne,keywords:de}),a.current.filtered.items.set(X,B(ne,de)),j(2,()=>{Z(),A.emit()}))},item:(X,ne)=>(o.current.add(X),ne&&(i.current.has(ne)?i.current.get(ne).add(X):i.current.set(ne,new Set([X]))),j(3,()=>{V(),Z(),a.current.value||q(),A.emit()}),()=>{s.current.delete(X),o.current.delete(X),a.current.filtered.items.delete(X);let de=J();j(4,()=>{V(),(de==null?void 0:de.getAttribute("id"))===X&&q(),A.emit()})}),group:X=>(i.current.has(X)||i.current.set(X,new Set),()=>{s.current.delete(X),i.current.delete(X)}),filter:()=>h.current.shouldFilter,label:f||e["aria-label"],getDisablePointerSelection:()=>h.current.disablePointerSelection,listId:L,inputId:P,labelId:I,listInnerRef:D}),[]);function B(X,ne){var de,ce;let ye=(ce=(de=h.current)==null?void 0:de.filter)!=null?ce:xIe;return X?ye(X,a.current.search,ne):0}function Z(){if(!a.current.search||h.current.shouldFilter===!1)return;let X=a.current.filtered.items,ne=[];a.current.filtered.groups.forEach(ce=>{let ye=i.current.get(ce),pe=0;ye.forEach(ve=>{let me=X.get(ve);pe=Math.max(me,pe)}),ne.push([ce,pe])});let de=D.current;oe().sort((ce,ye)=>{var pe,ve;let me=ce.getAttribute("id"),ge=ye.getAttribute("id");return((pe=X.get(ge))!=null?pe:0)-((ve=X.get(me))!=null?ve:0)}).forEach(ce=>{let ye=ce.closest(Nj);ye?ye.appendChild(ce.parentElement===ye?ce:ce.closest(`${Nj} > *`)):de.appendChild(ce.parentElement===de?ce:ce.closest(`${Nj} > *`))}),ne.sort((ce,ye)=>ye[1]-ce[1]).forEach(ce=>{var ye;let pe=(ye=D.current)==null?void 0:ye.querySelector(`${l2}[${zd}="${encodeURIComponent(ce[0])}"]`);pe==null||pe.parentElement.appendChild(pe)})}function q(){let X=oe().find(de=>de.getAttribute("aria-disabled")!=="true"),ne=X==null?void 0:X.getAttribute(zd);A.setState("value",ne||void 0)}function V(){var X,ne,de,ce;if(!a.current.search||h.current.shouldFilter===!1){a.current.filtered.count=o.current.size;return}a.current.filtered.groups=new Set;let ye=0;for(let pe of o.current){let ve=(ne=(X=s.current.get(pe))==null?void 0:X.value)!=null?ne:"",me=(ce=(de=s.current.get(pe))==null?void 0:de.keywords)!=null?ce:[],ge=B(ve,me);a.current.filtered.items.set(pe,ge),ge>0&&ye++}for(let[pe,ve]of i.current)for(let me of ve)if(a.current.filtered.items.get(me)>0){a.current.filtered.groups.add(pe);break}a.current.filtered.count=ye}function F(){var X,ne,de;let ce=J();ce&&(((X=ce.parentElement)==null?void 0:X.firstChild)===ce&&((de=(ne=ce.closest(l2))==null?void 0:ne.querySelector(MIe))==null||de.scrollIntoView({block:"nearest"})),ce.scrollIntoView({block:"nearest"}))}function J(){var X;return(X=D.current)==null?void 0:X.querySelector(`${SW}[aria-selected="true"]`)}function oe(){var X;return Array.from(((X=D.current)==null?void 0:X.querySelectorAll(rF))||[])}function T(X){let ne=oe()[X];ne&&A.setState("value",ne.getAttribute(zd))}function O(X){var ne;let de=J(),ce=oe(),ye=ce.findIndex(ve=>ve===de),pe=ce[ye+X];(ne=h.current)!=null&&ne.loop&&(pe=ye+X<0?ce[ce.length-1]:ye+X===ce.length?ce[0]:ce[ye+X]),pe&&A.setState("value",pe.getAttribute(zd))}function R(X){let ne=J(),de=ne==null?void 0:ne.closest(l2),ce;for(;de&&!ce;)de=X>0?IIe(de,l2):AIe(de,l2),ce=de==null?void 0:de.querySelector(rF);ce?A.setState("value",ce.getAttribute(zd)):O(X)}let G=()=>T(oe().length-1),K=X=>{X.preventDefault(),X.metaKey?G():X.altKey?R(1):O(1)},Me=X=>{X.preventDefault(),X.metaKey?T(0):X.altKey?R(-1):O(-1)};return p.createElement(jn.div,{ref:t,tabIndex:-1,...N,"cmdk-root":"",onKeyDown:X=>{var ne;(ne=N.onKeyDown)==null||ne.call(N,X);let de=X.nativeEvent.isComposing||X.keyCode===229;if(!(X.defaultPrevented||de))switch(X.key){case"n":case"j":{_&&X.ctrlKey&&K(X);break}case"ArrowDown":{K(X);break}case"p":case"k":{_&&X.ctrlKey&&Me(X);break}case"ArrowUp":{Me(X);break}case"Home":{X.preventDefault(),T(0);break}case"End":{X.preventDefault(),G();break}case"Enter":{X.preventDefault();let ce=J();if(ce){let ye=new Event(Jj);ce.dispatchEvent(ye)}}}}},p.createElement("label",{"cmdk-label":"",htmlFor:$.inputId,id:$.labelId,style:$Ie},f),AA(e,X=>p.createElement(NW.Provider,{value:A},p.createElement(CW.Provider,{value:$},X))))}),bIe=p.forwardRef((e,t)=>{var a,o;let i=It(),s=p.useRef(null),l=p.useContext(LW),h=z2(),f=IW(e),y=(o=(a=f.current)==null?void 0:a.forceMount)!=null?o:l==null?void 0:l.forceMount;V1(()=>{if(!y)return h.item(i,l==null?void 0:l.id)},[y]);let k=AW(i,s,[e.value,e.children,s],e.keywords),m=sO(),x=Ci(j=>j.value&&j.value===k.current),S=Ci(j=>y||h.filter()===!1?!0:j.search?j.filtered.items.get(i)>0:!0);p.useEffect(()=>{let j=s.current;if(!(!j||e.disabled))return j.addEventListener(Jj,b),()=>j.removeEventListener(Jj,b)},[S,e.onSelect,e.disabled]);function b(){var j,A;w(),(A=(j=f.current).onSelect)==null||A.call(j,k.current)}function w(){m.setState("value",k.current,!0)}if(!S)return null;let{disabled:_,value:N,onSelect:L,forceMount:I,keywords:P,...D}=e;return p.createElement(jn.div,{ref:kt(s,t),...D,id:i,"cmdk-item":"",role:"option","aria-disabled":!!_,"aria-selected":!!x,"data-disabled":!!_,"data-selected":!!x,onPointerMove:_||h.getDisablePointerSelection()?void 0:w,onClick:_?void 0:b},e.children)}),wIe=p.forwardRef((e,t)=>{let{heading:a,children:o,forceMount:i,...s}=e,l=It(),h=p.useRef(null),f=p.useRef(null),y=It(),k=z2(),m=Ci(S=>i||k.filter()===!1?!0:S.search?S.filtered.groups.has(l):!0);V1(()=>k.group(l),[]),AW(l,h,[e.value,e.heading,f]);let x=p.useMemo(()=>({id:l,forceMount:i}),[i]);return p.createElement(jn.div,{ref:kt(h,t),...s,"cmdk-group":"",role:"presentation",hidden:m?void 0:!0},a&&p.createElement("div",{ref:f,"cmdk-group-heading":"","aria-hidden":!0,id:y},a),AA(e,S=>p.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":a?y:void 0},p.createElement(LW.Provider,{value:x},S))))}),_Ie=p.forwardRef((e,t)=>{let{alwaysRender:a,...o}=e,i=p.useRef(null),s=Ci(l=>!l.search);return!a&&!s?null:p.createElement(jn.div,{ref:kt(i,t),...o,"cmdk-separator":"",role:"separator"})}),SIe=p.forwardRef((e,t)=>{let{onValueChange:a,...o}=e,i=e.value!=null,s=sO(),l=Ci(y=>y.search),h=Ci(y=>y.selectedItemId),f=z2();return p.useEffect(()=>{e.value!=null&&s.setState("search",e.value)},[e.value]),p.createElement(jn.input,{ref:t,...o,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":f.listId,"aria-labelledby":f.labelId,"aria-activedescendant":h,id:f.inputId,type:"text",value:i?e.value:l,onChange:y=>{i||s.setState("search",y.target.value),a==null||a(y.target.value)}})}),CIe=p.forwardRef((e,t)=>{let{children:a,label:o="Suggestions",...i}=e,s=p.useRef(null),l=p.useRef(null),h=Ci(y=>y.selectedItemId),f=z2();return p.useEffect(()=>{if(l.current&&s.current){let y=l.current,k=s.current,m,x=new ResizeObserver(()=>{m=requestAnimationFrame(()=>{let S=y.offsetHeight;k.style.setProperty("--cmdk-list-height",S.toFixed(1)+"px")})});return x.observe(y),()=>{cancelAnimationFrame(m),x.unobserve(y)}}},[]),p.createElement(jn.div,{ref:kt(s,t),...i,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":h,"aria-label":o,id:f.listId},AA(e,y=>p.createElement("div",{ref:kt(l,f.listInnerRef),"cmdk-list-sizer":""},y)))}),NIe=p.forwardRef((e,t)=>{let{open:a,onOpenChange:o,overlayClassName:i,contentClassName:s,container:l,...h}=e;return p.createElement(oO,{open:a,onOpenChange:o},p.createElement(rO,{container:l},p.createElement(iO,{"cmdk-overlay":"",className:i}),p.createElement(cO,{"aria-label":e.label,"cmdk-dialog":"",className:s},p.createElement(EW,{ref:t,...h}))))}),LIe=p.forwardRef((e,t)=>Ci(a=>a.filtered.count===0)?p.createElement(jn.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),EIe=p.forwardRef((e,t)=>{let{progress:a,children:o,label:i="Loading...",...s}=e;return p.createElement(jn.div,{ref:t,...s,"cmdk-loading":"",role:"progressbar","aria-valuenow":a,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},AA(e,l=>p.createElement("div",{"aria-hidden":!0},l)))}),Z1=Object.assign(EW,{List:CIe,Item:bIe,Input:SIe,Group:wIe,Separator:_Ie,Dialog:NIe,Empty:LIe,Loading:EIe});function IIe(e,t){let a=e.nextElementSibling;for(;a;){if(a.matches(t))return a;a=a.nextElementSibling}}function AIe(e,t){let a=e.previousElementSibling;for(;a;){if(a.matches(t))return a;a=a.previousElementSibling}}function IW(e){let t=p.useRef(e);return V1(()=>{t.current=e}),t}var V1=typeof window>"u"?p.useEffect:p.useLayoutEffect;function qd(e){let t=p.useRef();return t.current===void 0&&(t.current=e()),t}function Ci(e){let t=sO(),a=()=>e(t.snapshot());return p.useSyncExternalStore(t.subscribe,a,a)}function AW(e,t,a,o=[]){let i=p.useRef(),s=z2();return V1(()=>{var l;let h=(()=>{var y;for(let k of a){if(typeof k=="string")return k.trim();if(typeof k=="object"&&"current"in k)return k.current?(y=k.current.textContent)==null?void 0:y.trim():i.current}})(),f=o.map(y=>y.trim());s.value(e,h,f),(l=t.current)==null||l.setAttribute(zd,h),i.current=h}),i}var TIe=()=>{let[e,t]=p.useState(),a=qd(()=>new Map);return V1(()=>{a.current.forEach(o=>o()),a.current=new Map},[e]),(o,i)=>{a.current.set(o,i),t({})}};function RIe(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function AA({asChild:e,children:t},a){return e&&p.isValidElement(t)?p.cloneElement(RIe(t),{ref:t.ref},a(t.props.children)):a(t)}var $Ie={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function TW({...e}){return M.jsx(oO,{"data-slot":"dialog",...e})}function jIe({...e}){return M.jsx(bW,{"data-slot":"dialog-trigger",...e})}function RW({...e}){return M.jsx(rO,{"data-slot":"dialog-portal",...e})}function PIe({...e}){return M.jsx(IA,{"data-slot":"dialog-close",...e})}function $W({className:e,...t}){return M.jsx(iO,{"data-slot":"dialog-overlay",className:ee("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-[1010] bg-black/50",e),...t})}function jW({className:e,children:t,...a}){return M.jsxs(RW,{"data-slot":"dialog-portal",children:[M.jsx($W,{}),M.jsxs(cO,{"data-slot":"dialog-content",className:ee("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),...a,children:[t,M.jsxs(IA,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[M.jsx(bi,{}),M.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function PW({className:e,...t}){return M.jsx("div",{"data-slot":"dialog-header",className:ee("flex flex-col gap-2 text-center sm:text-left",e),...t})}function OIe({className:e,...t}){return M.jsx("div",{"data-slot":"dialog-footer",className:ee("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function OW({className:e,...t}){return M.jsx(wW,{"data-slot":"dialog-title",className:ee("text-lg leading-none font-semibold",e),...t})}function DW({className:e,...t}){return M.jsx(_W,{"data-slot":"dialog-description",className:ee("text-muted-foreground text-sm",e),...t})}function lO({className:e,...t}){return M.jsx(Z1,{"data-slot":"command",className:ee("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",e),...t})}function DIe({title:e="Command Palette",description:t="Search for a command to run...",children:a,...o}){return M.jsxs(TW,{...o,children:[M.jsxs(PW,{className:"sr-only",children:[M.jsx(OW,{children:e}),M.jsx(DW,{children:t})]}),M.jsx(jW,{className:"overflow-hidden p-0",children:M.jsx(lO,{className:"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:a})})]})}function zW({className:e,...t}){return M.jsxs("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[M.jsx(g2,{className:"size-4 shrink-0 opacity-50"}),M.jsx(Z1.Input,{"data-slot":"command-input",className:ee("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...t})]})}function qW({className:e,...t}){return M.jsx(Z1.List,{"data-slot":"command-list",className:ee("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",e),...t})}function HW({...e}){return M.jsx(Z1.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...e})}function VW({className:e,...t}){return M.jsx(Z1.Group,{"data-slot":"command-group",className:ee("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),...t})}function BW({className:e,...t}){return M.jsx(Z1.Separator,{"data-slot":"command-separator",className:ee("bg-border -mx-1 h-px",e),...t})}function FW({className:e,...t}){return M.jsx(Z1.Item,{"data-slot":"command-item",className:ee("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}function zIe({className:e,...t}){return M.jsx("span",{"data-slot":"command-shortcut",className:ee("text-muted-foreground ml-auto text-xs tracking-widest",e),...t})}function qIe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,HIe(i,...t)]}function HIe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function VIe(e){const t=BIe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(UIe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function BIe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=WIe(i),h=GIe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var FIe=Symbol("radix.slottable");function UIe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===FIe}function GIe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function WIe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var ZIe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],XIe=ZIe.reduce((e,t)=>{const a=VIe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function KIe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,YIe(i,...t)]}function YIe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function iF(e){const t=QIe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(eAe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function QIe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=nAe(i),h=tAe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var JIe=Symbol("radix.slottable");function eAe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===JIe}function tAe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function nAe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}function q2(e){const t=e+"CollectionProvider",[a,o]=KIe(t),[i,s]=a(t,{collectionRef:{current:null},itemMap:new Map}),l=w=>{const{scope:_,children:N}=w,L=ke.useRef(null),I=ke.useRef(new Map).current;return M.jsx(i,{scope:_,itemMap:I,collectionRef:L,children:N})};l.displayName=t;const h=e+"CollectionSlot",f=iF(h),y=ke.forwardRef((w,_)=>{const{scope:N,children:L}=w,I=s(h,N),P=ze(_,I.collectionRef);return M.jsx(f,{ref:P,children:L})});y.displayName=h;const k=e+"CollectionItemSlot",m="data-radix-collection-item",x=iF(k),S=ke.forwardRef((w,_)=>{const{scope:N,children:L,...I}=w,P=ke.useRef(null),D=ze(_,P),j=s(k,N);return ke.useEffect(()=>(j.itemMap.set(P,{ref:P,...I}),()=>void j.itemMap.delete(P))),M.jsx(x,{[m]:"",ref:D,children:L})});S.displayName=k;function b(w){const _=s(e+"CollectionConsumer",w);return ke.useCallback(()=>{const L=_.collectionRef.current;if(!L)return[];const I=Array.from(L.querySelectorAll(`[${m}]`));return Array.from(_.itemMap.values()).sort((j,A)=>I.indexOf(j.ref.current)-I.indexOf(A.ref.current))},[_.collectionRef,_.itemMap])}return[{Provider:l,Slot:y,ItemSlot:S},b,o]}function aAe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,oAe(i,...t)]}function oAe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}var rAe=p.createContext(void 0);function H2(e){const t=p.useContext(rAe);return e||t||"ltr"}const iAe=["top","right","bottom","left"],Ni=Math.min,Gn=Math.max,nA=Math.round,_h=Math.floor,dr=e=>({x:e,y:e}),cAe={left:"right",right:"left",bottom:"top",top:"bottom"};function eP(e,t,a){return Gn(e,Ni(t,a))}function qr(e,t){return typeof e=="function"?e(t):e}function Hr(e){return e.split("-")[0]}function ou(e){return e.split("-")[1]}function dO(e){return e==="x"?"y":"x"}function uO(e){return e==="y"?"height":"width"}function cr(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function hO(e){return dO(cr(e))}function sAe(e,t,a){a===void 0&&(a=!1);const o=ou(e),i=hO(e),s=uO(i);let l=i==="x"?o===(a?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=aA(l)),[l,aA(l)]}function lAe(e){const t=aA(e);return[tP(e),t,tP(t)]}function tP(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const cF=["left","right"],sF=["right","left"],dAe=["top","bottom"],uAe=["bottom","top"];function hAe(e,t,a){switch(e){case"top":case"bottom":return a?t?sF:cF:t?cF:sF;case"left":case"right":return t?dAe:uAe;default:return[]}}function pAe(e,t,a,o){const i=ou(e);let s=hAe(Hr(e),a==="start",o);return i&&(s=s.map(l=>l+"-"+i),t&&(s=s.concat(s.map(tP)))),s}function aA(e){const t=Hr(e);return cAe[t]+e.slice(t.length)}function fAe(e){return{top:0,right:0,bottom:0,left:0,...e}}function UW(e){return typeof e!="number"?fAe(e):{top:e,right:e,bottom:e,left:e}}function oA(e){const{x:t,y:a,width:o,height:i}=e;return{width:o,height:i,top:a,left:t,right:t+o,bottom:a+i,x:t,y:a}}function lF(e,t,a){let{reference:o,floating:i}=e;const s=cr(t),l=hO(t),h=uO(l),f=Hr(t),y=s==="y",k=o.x+o.width/2-i.width/2,m=o.y+o.height/2-i.height/2,x=o[h]/2-i[h]/2;let S;switch(f){case"top":S={x:k,y:o.y-i.height};break;case"bottom":S={x:k,y:o.y+o.height};break;case"right":S={x:o.x+o.width,y:m};break;case"left":S={x:o.x-i.width,y:m};break;default:S={x:o.x,y:o.y}}switch(ou(t)){case"start":S[l]-=x*(a&&y?-1:1);break;case"end":S[l]+=x*(a&&y?-1:1);break}return S}async function yAe(e,t){var a;t===void 0&&(t={});const{x:o,y:i,platform:s,rects:l,elements:h,strategy:f}=e,{boundary:y="clippingAncestors",rootBoundary:k="viewport",elementContext:m="floating",altBoundary:x=!1,padding:S=0}=qr(t,e),b=UW(S),_=h[x?m==="floating"?"reference":"floating":m],N=oA(await s.getClippingRect({element:(a=await(s.isElement==null?void 0:s.isElement(_)))==null||a?_:_.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(h.floating)),boundary:y,rootBoundary:k,strategy:f})),L=m==="floating"?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,I=await(s.getOffsetParent==null?void 0:s.getOffsetParent(h.floating)),P=await(s.isElement==null?void 0:s.isElement(I))?await(s.getScale==null?void 0:s.getScale(I))||{x:1,y:1}:{x:1,y:1},D=oA(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:L,offsetParent:I,strategy:f}):L);return{top:(N.top-D.top+b.top)/P.y,bottom:(D.bottom-N.bottom+b.bottom)/P.y,left:(N.left-D.left+b.left)/P.x,right:(D.right-N.right+b.right)/P.x}}const mAe=50,vAe=async(e,t,a)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:l}=a,h=l.detectOverflow?l:{...l,detectOverflow:yAe},f=await(l.isRTL==null?void 0:l.isRTL(t));let y=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:k,y:m}=lF(y,o,f),x=o,S=0;const b={};for(let w=0;w<s.length;w++){const _=s[w];if(!_)continue;const{name:N,fn:L}=_,{x:I,y:P,data:D,reset:j}=await L({x:k,y:m,initialPlacement:o,placement:x,strategy:i,middlewareData:b,rects:y,platform:h,elements:{reference:e,floating:t}});k=I??k,m=P??m,b[N]={...b[N],...D},j&&S<mAe&&(S++,typeof j=="object"&&(j.placement&&(x=j.placement),j.rects&&(y=j.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):j.rects),{x:k,y:m}=lF(y,x,f)),w=-1)}return{x:k,y:m,placement:x,strategy:i,middlewareData:b}},kAe=e=>({name:"arrow",options:e,async fn(t){const{x:a,y:o,placement:i,rects:s,platform:l,elements:h,middlewareData:f}=t,{element:y,padding:k=0}=qr(e,t)||{};if(y==null)return{};const m=UW(k),x={x:a,y:o},S=hO(i),b=uO(S),w=await l.getDimensions(y),_=S==="y",N=_?"top":"left",L=_?"bottom":"right",I=_?"clientHeight":"clientWidth",P=s.reference[b]+s.reference[S]-x[S]-s.floating[b],D=x[S]-s.reference[S],j=await(l.getOffsetParent==null?void 0:l.getOffsetParent(y));let A=j?j[I]:0;(!A||!await(l.isElement==null?void 0:l.isElement(j)))&&(A=h.floating[I]||s.floating[b]);const $=P/2-D/2,B=A/2-w[b]/2-1,Z=Ni(m[N],B),q=Ni(m[L],B),V=Z,F=A-w[b]-q,J=A/2-w[b]/2+$,oe=eP(V,J,F),T=!f.arrow&&ou(i)!=null&&J!==oe&&s.reference[b]/2-(J<V?Z:q)-w[b]/2<0,O=T?J<V?J-V:J-F:0;return{[S]:x[S]+O,data:{[S]:oe,centerOffset:J-oe-O,...T&&{alignmentOffset:O}},reset:T}}}),gAe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var a,o;const{placement:i,middlewareData:s,rects:l,initialPlacement:h,platform:f,elements:y}=t,{mainAxis:k=!0,crossAxis:m=!0,fallbackPlacements:x,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:w=!0,..._}=qr(e,t);if((a=s.arrow)!=null&&a.alignmentOffset)return{};const N=Hr(i),L=cr(h),I=Hr(h)===h,P=await(f.isRTL==null?void 0:f.isRTL(y.floating)),D=x||(I||!w?[aA(h)]:lAe(h)),j=b!=="none";!x&&j&&D.push(...pAe(h,w,b,P));const A=[h,...D],$=await f.detectOverflow(t,_),B=[];let Z=((o=s.flip)==null?void 0:o.overflows)||[];if(k&&B.push($[N]),m){const J=sAe(i,l,P);B.push($[J[0]],$[J[1]])}if(Z=[...Z,{placement:i,overflows:B}],!B.every(J=>J<=0)){var q,V;const J=(((q=s.flip)==null?void 0:q.index)||0)+1,oe=A[J];if(oe&&(!(m==="alignment"?L!==cr(oe):!1)||Z.every(R=>cr(R.placement)===L?R.overflows[0]>0:!0)))return{data:{index:J,overflows:Z},reset:{placement:oe}};let T=(V=Z.filter(O=>O.overflows[0]<=0).sort((O,R)=>O.overflows[1]-R.overflows[1])[0])==null?void 0:V.placement;if(!T)switch(S){case"bestFit":{var F;const O=(F=Z.filter(R=>{if(j){const G=cr(R.placement);return G===L||G==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(G=>G>0).reduce((G,K)=>G+K,0)]).sort((R,G)=>R[1]-G[1])[0])==null?void 0:F[0];O&&(T=O);break}case"initialPlacement":T=h;break}if(i!==T)return{reset:{placement:T}}}return{}}}};function dF(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function uF(e){return iAe.some(t=>e[t]>=0)}const MAe=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:a,platform:o}=t,{strategy:i="referenceHidden",...s}=qr(e,t);switch(i){case"referenceHidden":{const l=await o.detectOverflow(t,{...s,elementContext:"reference"}),h=dF(l,a.reference);return{data:{referenceHiddenOffsets:h,referenceHidden:uF(h)}}}case"escaped":{const l=await o.detectOverflow(t,{...s,altBoundary:!0}),h=dF(l,a.floating);return{data:{escapedOffsets:h,escaped:uF(h)}}}default:return{}}}}},GW=new Set(["left","top"]);async function xAe(e,t){const{placement:a,platform:o,elements:i}=e,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),l=Hr(a),h=ou(a),f=cr(a)==="y",y=GW.has(l)?-1:1,k=s&&f?-1:1,m=qr(t,e);let{mainAxis:x,crossAxis:S,alignmentAxis:b}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return h&&typeof b=="number"&&(S=h==="end"?b*-1:b),f?{x:S*k,y:x*y}:{x:x*y,y:S*k}}const bAe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var a,o;const{x:i,y:s,placement:l,middlewareData:h}=t,f=await xAe(t,e);return l===((a=h.offset)==null?void 0:a.placement)&&(o=h.arrow)!=null&&o.alignmentOffset?{}:{x:i+f.x,y:s+f.y,data:{...f,placement:l}}}}},wAe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:a,y:o,placement:i,platform:s}=t,{mainAxis:l=!0,crossAxis:h=!1,limiter:f={fn:N=>{let{x:L,y:I}=N;return{x:L,y:I}}},...y}=qr(e,t),k={x:a,y:o},m=await s.detectOverflow(t,y),x=cr(Hr(i)),S=dO(x);let b=k[S],w=k[x];if(l){const N=S==="y"?"top":"left",L=S==="y"?"bottom":"right",I=b+m[N],P=b-m[L];b=eP(I,b,P)}if(h){const N=x==="y"?"top":"left",L=x==="y"?"bottom":"right",I=w+m[N],P=w-m[L];w=eP(I,w,P)}const _=f.fn({...t,[S]:b,[x]:w});return{..._,data:{x:_.x-a,y:_.y-o,enabled:{[S]:l,[x]:h}}}}}},_Ae=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:a,y:o,placement:i,rects:s,middlewareData:l}=t,{offset:h=0,mainAxis:f=!0,crossAxis:y=!0}=qr(e,t),k={x:a,y:o},m=cr(i),x=dO(m);let S=k[x],b=k[m];const w=qr(h,t),_=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(f){const I=x==="y"?"height":"width",P=s.reference[x]-s.floating[I]+_.mainAxis,D=s.reference[x]+s.reference[I]-_.mainAxis;S<P?S=P:S>D&&(S=D)}if(y){var N,L;const I=x==="y"?"width":"height",P=GW.has(Hr(i)),D=s.reference[m]-s.floating[I]+(P&&((N=l.offset)==null?void 0:N[m])||0)+(P?0:_.crossAxis),j=s.reference[m]+s.reference[I]+(P?0:((L=l.offset)==null?void 0:L[m])||0)-(P?_.crossAxis:0);b<D?b=D:b>j&&(b=j)}return{[x]:S,[m]:b}}}},SAe=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var a,o;const{placement:i,rects:s,platform:l,elements:h}=t,{apply:f=()=>{},...y}=qr(e,t),k=await l.detectOverflow(t,y),m=Hr(i),x=ou(i),S=cr(i)==="y",{width:b,height:w}=s.floating;let _,N;m==="top"||m==="bottom"?(_=m,N=x===(await(l.isRTL==null?void 0:l.isRTL(h.floating))?"start":"end")?"left":"right"):(N=m,_=x==="end"?"top":"bottom");const L=w-k.top-k.bottom,I=b-k.left-k.right,P=Ni(w-k[_],L),D=Ni(b-k[N],I),j=!t.middlewareData.shift;let A=P,$=D;if((a=t.middlewareData.shift)!=null&&a.enabled.x&&($=I),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(A=L),j&&!x){const Z=Gn(k.left,0),q=Gn(k.right,0),V=Gn(k.top,0),F=Gn(k.bottom,0);S?$=b-2*(Z!==0||q!==0?Z+q:Gn(k.left,k.right)):A=w-2*(V!==0||F!==0?V+F:Gn(k.top,k.bottom))}await f({...t,availableWidth:$,availableHeight:A});const B=await l.getDimensions(h.floating);return b!==B.width||w!==B.height?{reset:{rects:!0}}:{}}}};function TA(){return typeof window<"u"}function ru(e){return WW(e)?(e.nodeName||"").toLowerCase():"#document"}function Wn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pr(e){var t;return(t=(WW(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function WW(e){return TA()?e instanceof Node||e instanceof Wn(e).Node:!1}function _a(e){return TA()?e instanceof Element||e instanceof Wn(e).Element:!1}function Vr(e){return TA()?e instanceof HTMLElement||e instanceof Wn(e).HTMLElement:!1}function hF(e){return!TA()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Wn(e).ShadowRoot}function V2(e){const{overflow:t,overflowX:a,overflowY:o,display:i}=Sa(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+a)&&i!=="inline"&&i!=="contents"}function CAe(e){return/^(table|td|th)$/.test(ru(e))}function RA(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const NAe=/transform|translate|scale|rotate|perspective|filter/,LAe=/paint|layout|strict|content/,nc=e=>!!e&&e!=="none";let Lj;function pO(e){const t=_a(e)?Sa(e):e;return nc(t.transform)||nc(t.translate)||nc(t.scale)||nc(t.rotate)||nc(t.perspective)||!fO()&&(nc(t.backdropFilter)||nc(t.filter))||NAe.test(t.willChange||"")||LAe.test(t.contain||"")}function EAe(e){let t=Li(e);for(;Vr(t)&&!Wd(t);){if(pO(t))return t;if(RA(t))return null;t=Li(t)}return null}function fO(){return Lj==null&&(Lj=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Lj}function Wd(e){return/^(html|body|#document)$/.test(ru(e))}function Sa(e){return Wn(e).getComputedStyle(e)}function $A(e){return _a(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Li(e){if(ru(e)==="html")return e;const t=e.assignedSlot||e.parentNode||hF(e)&&e.host||pr(e);return hF(t)?t.host:t}function ZW(e){const t=Li(e);return Wd(t)?e.ownerDocument?e.ownerDocument.body:e.body:Vr(t)&&V2(t)?t:ZW(t)}function _2(e,t,a){var o;t===void 0&&(t=[]),a===void 0&&(a=!0);const i=ZW(e),s=i===((o=e.ownerDocument)==null?void 0:o.body),l=Wn(i);if(s){const h=nP(l);return t.concat(l,l.visualViewport||[],V2(i)?i:[],h&&a?_2(h):[])}else return t.concat(i,_2(i,[],a))}function nP(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function XW(e){const t=Sa(e);let a=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=Vr(e),s=i?e.offsetWidth:a,l=i?e.offsetHeight:o,h=nA(a)!==s||nA(o)!==l;return h&&(a=s,o=l),{width:a,height:o,$:h}}function yO(e){return _a(e)?e:e.contextElement}function Bd(e){const t=yO(e);if(!Vr(t))return dr(1);const a=t.getBoundingClientRect(),{width:o,height:i,$:s}=XW(t);let l=(s?nA(a.width):a.width)/o,h=(s?nA(a.height):a.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!h||!Number.isFinite(h))&&(h=1),{x:l,y:h}}const IAe=dr(0);function KW(e){const t=Wn(e);return!fO()||!t.visualViewport?IAe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function AAe(e,t,a){return t===void 0&&(t=!1),!a||t&&a!==Wn(e)?!1:t}function B1(e,t,a,o){t===void 0&&(t=!1),a===void 0&&(a=!1);const i=e.getBoundingClientRect(),s=yO(e);let l=dr(1);t&&(o?_a(o)&&(l=Bd(o)):l=Bd(e));const h=AAe(s,a,o)?KW(s):dr(0);let f=(i.left+h.x)/l.x,y=(i.top+h.y)/l.y,k=i.width/l.x,m=i.height/l.y;if(s){const x=Wn(s),S=o&&_a(o)?Wn(o):o;let b=x,w=nP(b);for(;w&&o&&S!==b;){const _=Bd(w),N=w.getBoundingClientRect(),L=Sa(w),I=N.left+(w.clientLeft+parseFloat(L.paddingLeft))*_.x,P=N.top+(w.clientTop+parseFloat(L.paddingTop))*_.y;f*=_.x,y*=_.y,k*=_.x,m*=_.y,f+=I,y+=P,b=Wn(w),w=nP(b)}}return oA({width:k,height:m,x:f,y})}function jA(e,t){const a=$A(e).scrollLeft;return t?t.left+a:B1(pr(e)).left+a}function YW(e,t){const a=e.getBoundingClientRect(),o=a.left+t.scrollLeft-jA(e,a),i=a.top+t.scrollTop;return{x:o,y:i}}function TAe(e){let{elements:t,rect:a,offsetParent:o,strategy:i}=e;const s=i==="fixed",l=pr(o),h=t?RA(t.floating):!1;if(o===l||h&&s)return a;let f={scrollLeft:0,scrollTop:0},y=dr(1);const k=dr(0),m=Vr(o);if((m||!m&&!s)&&((ru(o)!=="body"||V2(l))&&(f=$A(o)),m)){const S=B1(o);y=Bd(o),k.x=S.x+o.clientLeft,k.y=S.y+o.clientTop}const x=l&&!m&&!s?YW(l,f):dr(0);return{width:a.width*y.x,height:a.height*y.y,x:a.x*y.x-f.scrollLeft*y.x+k.x+x.x,y:a.y*y.y-f.scrollTop*y.y+k.y+x.y}}function RAe(e){return Array.from(e.getClientRects())}function $Ae(e){const t=pr(e),a=$A(e),o=e.ownerDocument.body,i=Gn(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=Gn(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-a.scrollLeft+jA(e);const h=-a.scrollTop;return Sa(o).direction==="rtl"&&(l+=Gn(t.clientWidth,o.clientWidth)-i),{width:i,height:s,x:l,y:h}}const pF=25;function jAe(e,t){const a=Wn(e),o=pr(e),i=a.visualViewport;let s=o.clientWidth,l=o.clientHeight,h=0,f=0;if(i){s=i.width,l=i.height;const k=fO();(!k||k&&t==="fixed")&&(h=i.offsetLeft,f=i.offsetTop)}const y=jA(o);if(y<=0){const k=o.ownerDocument,m=k.body,x=getComputedStyle(m),S=k.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,b=Math.abs(o.clientWidth-m.clientWidth-S);b<=pF&&(s-=b)}else y<=pF&&(s+=y);return{width:s,height:l,x:h,y:f}}function PAe(e,t){const a=B1(e,!0,t==="fixed"),o=a.top+e.clientTop,i=a.left+e.clientLeft,s=Vr(e)?Bd(e):dr(1),l=e.clientWidth*s.x,h=e.clientHeight*s.y,f=i*s.x,y=o*s.y;return{width:l,height:h,x:f,y}}function fF(e,t,a){let o;if(t==="viewport")o=jAe(e,a);else if(t==="document")o=$Ae(pr(e));else if(_a(t))o=PAe(t,a);else{const i=KW(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return oA(o)}function QW(e,t){const a=Li(e);return a===t||!_a(a)||Wd(a)?!1:Sa(a).position==="fixed"||QW(a,t)}function OAe(e,t){const a=t.get(e);if(a)return a;let o=_2(e,[],!1).filter(h=>_a(h)&&ru(h)!=="body"),i=null;const s=Sa(e).position==="fixed";let l=s?Li(e):e;for(;_a(l)&&!Wd(l);){const h=Sa(l),f=pO(l);!f&&h.position==="fixed"&&(i=null),(s?!f&&!i:!f&&h.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||V2(l)&&!f&&QW(e,l))?o=o.filter(k=>k!==l):i=h,l=Li(l)}return t.set(e,o),o}function DAe(e){let{element:t,boundary:a,rootBoundary:o,strategy:i}=e;const l=[...a==="clippingAncestors"?RA(t)?[]:OAe(t,this._c):[].concat(a),o],h=fF(t,l[0],i);let f=h.top,y=h.right,k=h.bottom,m=h.left;for(let x=1;x<l.length;x++){const S=fF(t,l[x],i);f=Gn(S.top,f),y=Ni(S.right,y),k=Ni(S.bottom,k),m=Gn(S.left,m)}return{width:y-m,height:k-f,x:m,y:f}}function zAe(e){const{width:t,height:a}=XW(e);return{width:t,height:a}}function qAe(e,t,a){const o=Vr(t),i=pr(t),s=a==="fixed",l=B1(e,!0,s,t);let h={scrollLeft:0,scrollTop:0};const f=dr(0);function y(){f.x=jA(i)}if(o||!o&&!s)if((ru(t)!=="body"||V2(i))&&(h=$A(t)),o){const S=B1(t,!0,s,t);f.x=S.x+t.clientLeft,f.y=S.y+t.clientTop}else i&&y();s&&!o&&i&&y();const k=i&&!o&&!s?YW(i,h):dr(0),m=l.left+h.scrollLeft-f.x-k.x,x=l.top+h.scrollTop-f.y-k.y;return{x:m,y:x,width:l.width,height:l.height}}function Ej(e){return Sa(e).position==="static"}function yF(e,t){if(!Vr(e)||Sa(e).position==="fixed")return null;if(t)return t(e);let a=e.offsetParent;return pr(e)===a&&(a=a.ownerDocument.body),a}function JW(e,t){const a=Wn(e);if(RA(e))return a;if(!Vr(e)){let i=Li(e);for(;i&&!Wd(i);){if(_a(i)&&!Ej(i))return i;i=Li(i)}return a}let o=yF(e,t);for(;o&&CAe(o)&&Ej(o);)o=yF(o,t);return o&&Wd(o)&&Ej(o)&&!pO(o)?a:o||EAe(e)||a}const HAe=async function(e){const t=this.getOffsetParent||JW,a=this.getDimensions,o=await a(e.floating);return{reference:qAe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function VAe(e){return Sa(e).direction==="rtl"}const BAe={convertOffsetParentRelativeRectToViewportRelativeRect:TAe,getDocumentElement:pr,getClippingRect:DAe,getOffsetParent:JW,getElementRects:HAe,getClientRects:RAe,getDimensions:zAe,getScale:Bd,isElement:_a,isRTL:VAe};function eZ(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function FAe(e,t){let a=null,o;const i=pr(e);function s(){var h;clearTimeout(o),(h=a)==null||h.disconnect(),a=null}function l(h,f){h===void 0&&(h=!1),f===void 0&&(f=1),s();const y=e.getBoundingClientRect(),{left:k,top:m,width:x,height:S}=y;if(h||t(),!x||!S)return;const b=_h(m),w=_h(i.clientWidth-(k+x)),_=_h(i.clientHeight-(m+S)),N=_h(k),I={rootMargin:-b+"px "+-w+"px "+-_+"px "+-N+"px",threshold:Gn(0,Ni(1,f))||1};let P=!0;function D(j){const A=j[0].intersectionRatio;if(A!==f){if(!P)return l();A?l(!1,A):o=setTimeout(()=>{l(!1,1e-7)},1e3)}A===1&&!eZ(y,e.getBoundingClientRect())&&l(),P=!1}try{a=new IntersectionObserver(D,{...I,root:i.ownerDocument})}catch{a=new IntersectionObserver(D,I)}a.observe(e)}return l(!0),s}function UAe(e,t,a,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:f=!1}=o,y=yO(e),k=i||s?[...y?_2(y):[],...t?_2(t):[]]:[];k.forEach(N=>{i&&N.addEventListener("scroll",a,{passive:!0}),s&&N.addEventListener("resize",a)});const m=y&&h?FAe(y,a):null;let x=-1,S=null;l&&(S=new ResizeObserver(N=>{let[L]=N;L&&L.target===y&&S&&t&&(S.unobserve(t),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var I;(I=S)==null||I.observe(t)})),a()}),y&&!f&&S.observe(y),t&&S.observe(t));let b,w=f?B1(e):null;f&&_();function _(){const N=B1(e);w&&!eZ(w,N)&&a(),w=N,b=requestAnimationFrame(_)}return a(),()=>{var N;k.forEach(L=>{i&&L.removeEventListener("scroll",a),s&&L.removeEventListener("resize",a)}),m==null||m(),(N=S)==null||N.disconnect(),S=null,f&&cancelAnimationFrame(b)}}const GAe=bAe,WAe=wAe,ZAe=gAe,XAe=SAe,KAe=MAe,mF=kAe,YAe=_Ae,QAe=(e,t,a)=>{const o=new Map,i={platform:BAe,...a},s={...i.platform,_c:o};return vAe(e,t,{...i,platform:s})};var JAe=typeof document<"u",eTe=function(){},VI=JAe?p.useLayoutEffect:eTe;function rA(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let a,o,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(a=e.length,a!==t.length)return!1;for(o=a;o--!==0;)if(!rA(e[o],t[o]))return!1;return!0}if(i=Object.keys(e),a=i.length,a!==Object.keys(t).length)return!1;for(o=a;o--!==0;)if(!{}.hasOwnProperty.call(t,i[o]))return!1;for(o=a;o--!==0;){const s=i[o];if(!(s==="_owner"&&e.$$typeof)&&!rA(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function tZ(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vF(e,t){const a=tZ(e);return Math.round(t*a)/a}function Ij(e){const t=p.useRef(e);return VI(()=>{t.current=e}),t}function tTe(e){e===void 0&&(e={});const{placement:t="bottom",strategy:a="absolute",middleware:o=[],platform:i,elements:{reference:s,floating:l}={},transform:h=!0,whileElementsMounted:f,open:y}=e,[k,m]=p.useState({x:0,y:0,strategy:a,placement:t,middlewareData:{},isPositioned:!1}),[x,S]=p.useState(o);rA(x,o)||S(o);const[b,w]=p.useState(null),[_,N]=p.useState(null),L=p.useCallback(R=>{R!==j.current&&(j.current=R,w(R))},[]),I=p.useCallback(R=>{R!==A.current&&(A.current=R,N(R))},[]),P=s||b,D=l||_,j=p.useRef(null),A=p.useRef(null),$=p.useRef(k),B=f!=null,Z=Ij(f),q=Ij(i),V=Ij(y),F=p.useCallback(()=>{if(!j.current||!A.current)return;const R={placement:t,strategy:a,middleware:x};q.current&&(R.platform=q.current),QAe(j.current,A.current,R).then(G=>{const K={...G,isPositioned:V.current!==!1};J.current&&!rA($.current,K)&&($.current=K,Kd.flushSync(()=>{m(K)}))})},[x,t,a,q,V]);VI(()=>{y===!1&&$.current.isPositioned&&($.current.isPositioned=!1,m(R=>({...R,isPositioned:!1})))},[y]);const J=p.useRef(!1);VI(()=>(J.current=!0,()=>{J.current=!1}),[]),VI(()=>{if(P&&(j.current=P),D&&(A.current=D),P&&D){if(Z.current)return Z.current(P,D,F);F()}},[P,D,F,Z,B]);const oe=p.useMemo(()=>({reference:j,floating:A,setReference:L,setFloating:I}),[L,I]),T=p.useMemo(()=>({reference:P,floating:D}),[P,D]),O=p.useMemo(()=>{const R={position:a,left:0,top:0};if(!T.floating)return R;const G=vF(T.floating,k.x),K=vF(T.floating,k.y);return h?{...R,transform:"translate("+G+"px, "+K+"px)",...tZ(T.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:G,top:K}},[a,h,T.floating,k.x,k.y]);return p.useMemo(()=>({...k,update:F,refs:oe,elements:T,floatingStyles:O}),[k,F,oe,T,O])}const nTe=e=>{function t(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){const{element:o,padding:i}=typeof e=="function"?e(a):e;return o&&t(o)?o.current!=null?mF({element:o.current,padding:i}).fn(a):{}:o?mF({element:o,padding:i}).fn(a):{}}}},aTe=(e,t)=>{const a=GAe(e);return{name:a.name,fn:a.fn,options:[e,t]}},oTe=(e,t)=>{const a=WAe(e);return{name:a.name,fn:a.fn,options:[e,t]}},rTe=(e,t)=>({fn:YAe(e).fn,options:[e,t]}),iTe=(e,t)=>{const a=ZAe(e);return{name:a.name,fn:a.fn,options:[e,t]}},cTe=(e,t)=>{const a=XAe(e);return{name:a.name,fn:a.fn,options:[e,t]}},sTe=(e,t)=>{const a=KAe(e);return{name:a.name,fn:a.fn,options:[e,t]}},lTe=(e,t)=>{const a=nTe(e);return{name:a.name,fn:a.fn,options:[e,t]}};function dTe(e){const t=uTe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(pTe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function uTe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=yTe(i),h=fTe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var hTe=Symbol("radix.slottable");function pTe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===hTe}function fTe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function yTe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var mTe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vTe=mTe.reduce((e,t)=>{const a=dTe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),kTe="Arrow",nZ=p.forwardRef((e,t)=>{const{children:a,width:o=10,height:i=5,...s}=e;return M.jsx(vTe.svg,{...s,ref:t,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?a:M.jsx("polygon",{points:"0,0 30,0 15,10"})})});nZ.displayName=kTe;var gTe=nZ;function MTe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,xTe(i,...t)]}function xTe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function bTe(e){const t=wTe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(STe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function wTe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=NTe(i),h=CTe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var _Te=Symbol("radix.slottable");function STe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===_Te}function CTe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function NTe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var LTe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],aZ=LTe.reduce((e,t)=>{const a=bTe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),mO="Popper",[oZ,Ti]=MTe(mO),[ETe,rZ]=oZ(mO),iZ=e=>{const{__scopePopper:t,children:a}=e,[o,i]=p.useState(null);return M.jsx(ETe,{scope:t,anchor:o,onAnchorChange:i,children:a})};iZ.displayName=mO;var cZ="PopperAnchor",sZ=p.forwardRef((e,t)=>{const{__scopePopper:a,virtualRef:o,...i}=e,s=rZ(cZ,a),l=p.useRef(null),h=ze(t,l),f=p.useRef(null);return p.useEffect(()=>{const y=f.current;f.current=(o==null?void 0:o.current)||l.current,y!==f.current&&s.onAnchorChange(f.current)}),o?null:M.jsx(aZ.div,{...i,ref:h})});sZ.displayName=cZ;var vO="PopperContent",[ITe,ATe]=oZ(vO),lZ=p.forwardRef((e,t)=>{var pe,ve,me,ge,fe,se;const{__scopePopper:a,side:o="bottom",sideOffset:i=0,align:s="center",alignOffset:l=0,arrowPadding:h=0,avoidCollisions:f=!0,collisionBoundary:y=[],collisionPadding:k=0,sticky:m="partial",hideWhenDetached:x=!1,updatePositionStrategy:S="optimized",onPlaced:b,...w}=e,_=rZ(vO,a),[N,L]=p.useState(null),I=ze(t,Ee=>L(Ee)),[P,D]=p.useState(null),j=wA(P),A=(j==null?void 0:j.width)??0,$=(j==null?void 0:j.height)??0,B=o+(s!=="center"?"-"+s:""),Z=typeof k=="number"?k:{top:0,right:0,bottom:0,left:0,...k},q=Array.isArray(y)?y:[y],V=q.length>0,F={padding:Z,boundary:q.filter(RTe),altBoundary:V},{refs:J,floatingStyles:oe,placement:T,isPositioned:O,middlewareData:R}=tTe({strategy:"fixed",placement:B,whileElementsMounted:(...Ee)=>UAe(...Ee,{animationFrame:S==="always"}),elements:{reference:_.anchor},middleware:[aTe({mainAxis:i+$,alignmentAxis:l}),f&&oTe({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?rTe():void 0,...F}),f&&iTe({...F}),cTe({...F,apply:({elements:Ee,rects:$e,availableWidth:st,availableHeight:Ve})=>{const{width:tt,height:ot}=$e.reference,Ye=Ee.floating.style;Ye.setProperty("--radix-popper-available-width",`${st}px`),Ye.setProperty("--radix-popper-available-height",`${Ve}px`),Ye.setProperty("--radix-popper-anchor-width",`${tt}px`),Ye.setProperty("--radix-popper-anchor-height",`${ot}px`)}}),P&&lTe({element:P,padding:h}),$Te({arrowWidth:A,arrowHeight:$}),x&&sTe({strategy:"referenceHidden",...F})]}),[G,K]=hZ(T),Me=Zn(b);St(()=>{O&&(Me==null||Me())},[O,Me]);const X=(pe=R.arrow)==null?void 0:pe.x,ne=(ve=R.arrow)==null?void 0:ve.y,de=((me=R.arrow)==null?void 0:me.centerOffset)!==0,[ce,ye]=p.useState();return St(()=>{N&&ye(window.getComputedStyle(N).zIndex)},[N]),M.jsx("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...oe,transform:O?oe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[(ge=R.transformOrigin)==null?void 0:ge.x,(fe=R.transformOrigin)==null?void 0:fe.y].join(" "),...((se=R.hide)==null?void 0:se.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:M.jsx(ITe,{scope:a,placedSide:G,onArrowChange:D,arrowX:X,arrowY:ne,shouldHideArrow:de,children:M.jsx(aZ.div,{"data-side":G,"data-align":K,...w,ref:I,style:{...w.style,animation:O?void 0:"none"}})})})});lZ.displayName=vO;var dZ="PopperArrow",TTe={top:"bottom",right:"left",bottom:"top",left:"right"},uZ=p.forwardRef(function(t,a){const{__scopePopper:o,...i}=t,s=ATe(dZ,o),l=TTe[s.placedSide];return M.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:M.jsx(gTe,{...i,ref:a,style:{...i.style,display:"block"}})})});uZ.displayName=dZ;function RTe(e){return e!==null}var $Te=e=>({name:"transformOrigin",options:e,fn(t){var _,N,L;const{placement:a,rects:o,middlewareData:i}=t,l=((_=i.arrow)==null?void 0:_.centerOffset)!==0,h=l?0:e.arrowWidth,f=l?0:e.arrowHeight,[y,k]=hZ(a),m={start:"0%",center:"50%",end:"100%"}[k],x=(((N=i.arrow)==null?void 0:N.x)??0)+h/2,S=(((L=i.arrow)==null?void 0:L.y)??0)+f/2;let b="",w="";return y==="bottom"?(b=l?m:`${x}px`,w=`${-f}px`):y==="top"?(b=l?m:`${x}px`,w=`${o.floating.height+f}px`):y==="right"?(b=`${-f}px`,w=l?m:`${S}px`):y==="left"&&(b=`${o.floating.width+f}px`,w=l?m:`${S}px`),{data:{x:b,y:w}}}});function hZ(e){const[t,a="center"]=e.split("-");return[t,a]}var B2=iZ,F2=sZ,PA=lZ,OA=uZ;function pZ(e){const t=jTe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(OTe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function jTe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=zTe(i),h=DTe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var PTe=Symbol("radix.slottable");function OTe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===PTe}function DTe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function zTe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var qTe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],iu=qTe.reduce((e,t)=>{const a=pZ(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function HTe(e,t){e&&Kd.flushSync(()=>e.dispatchEvent(t))}var VTe="Portal",fZ=p.forwardRef((e,t)=>{var h;const{container:a,...o}=e,[i,s]=p.useState(!1);St(()=>s(!0),[]);const l=a||i&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return l?ur.createPortal(M.jsx(iu.div,{...o,ref:t}),l):null});fZ.displayName=VTe;function BTe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,FTe(i,...t)]}function FTe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function UTe(e){const t=GTe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(ZTe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function GTe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=KTe(i),h=XTe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var WTe=Symbol("radix.slottable");function ZTe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===WTe}function XTe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function KTe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var YTe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],yZ=YTe.reduce((e,t)=>{const a=UTe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),Aj="rovingFocusGroup.onEntryFocus",QTe={bubbles:!1,cancelable:!0},U2="RovingFocusGroup",[aP,mZ,JTe]=q2(U2),[eRe,DA]=BTe(U2,[JTe]),[tRe,nRe]=eRe(U2),vZ=p.forwardRef((e,t)=>M.jsx(aP.Provider,{scope:e.__scopeRovingFocusGroup,children:M.jsx(aP.Slot,{scope:e.__scopeRovingFocusGroup,children:M.jsx(aRe,{...e,ref:t})})}));vZ.displayName=U2;var aRe=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:a,orientation:o,loop:i=!1,dir:s,currentTabStopId:l,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:f,onEntryFocus:y,preventScrollOnEntryFocus:k=!1,...m}=e,x=p.useRef(null),S=ze(t,x),b=H2(s),[w,_]=bn({prop:l,defaultProp:h??null,onChange:f,caller:U2}),[N,L]=p.useState(!1),I=Zn(y),P=mZ(a),D=p.useRef(!1),[j,A]=p.useState(0);return p.useEffect(()=>{const $=x.current;if($)return $.addEventListener(Aj,I),()=>$.removeEventListener(Aj,I)},[I]),M.jsx(tRe,{scope:a,orientation:o,dir:b,loop:i,currentTabStopId:w,onItemFocus:p.useCallback($=>_($),[_]),onItemShiftTab:p.useCallback(()=>L(!0),[]),onFocusableItemAdd:p.useCallback(()=>A($=>$+1),[]),onFocusableItemRemove:p.useCallback(()=>A($=>$-1),[]),children:M.jsx(yZ.div,{tabIndex:N||j===0?-1:0,"data-orientation":o,...m,ref:S,style:{outline:"none",...e.style},onMouseDown:xe(e.onMouseDown,()=>{D.current=!0}),onFocus:xe(e.onFocus,$=>{const B=!D.current;if($.target===$.currentTarget&&B&&!N){const Z=new CustomEvent(Aj,QTe);if($.currentTarget.dispatchEvent(Z),!Z.defaultPrevented){const q=P().filter(T=>T.focusable),V=q.find(T=>T.active),F=q.find(T=>T.id===w),oe=[V,F,...q].filter(Boolean).map(T=>T.ref.current);MZ(oe,k)}}D.current=!1}),onBlur:xe(e.onBlur,()=>L(!1))})})}),kZ="RovingFocusGroupItem",gZ=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:a,focusable:o=!0,active:i=!1,tabStopId:s,children:l,...h}=e,f=It(),y=s||f,k=nRe(kZ,a),m=k.currentTabStopId===y,x=mZ(a),{onFocusableItemAdd:S,onFocusableItemRemove:b,currentTabStopId:w}=k;return p.useEffect(()=>{if(o)return S(),()=>b()},[o,S,b]),M.jsx(aP.ItemSlot,{scope:a,id:y,focusable:o,active:i,children:M.jsx(yZ.span,{tabIndex:m?0:-1,"data-orientation":k.orientation,...h,ref:t,onMouseDown:xe(e.onMouseDown,_=>{o?k.onItemFocus(y):_.preventDefault()}),onFocus:xe(e.onFocus,()=>k.onItemFocus(y)),onKeyDown:xe(e.onKeyDown,_=>{if(_.key==="Tab"&&_.shiftKey){k.onItemShiftTab();return}if(_.target!==_.currentTarget)return;const N=iRe(_,k.orientation,k.dir);if(N!==void 0){if(_.metaKey||_.ctrlKey||_.altKey||_.shiftKey)return;_.preventDefault();let I=x().filter(P=>P.focusable).map(P=>P.ref.current);if(N==="last")I.reverse();else if(N==="prev"||N==="next"){N==="prev"&&I.reverse();const P=I.indexOf(_.currentTarget);I=k.loop?cRe(I,P+1):I.slice(P+1)}setTimeout(()=>MZ(I))}}),children:typeof l=="function"?l({isCurrentTabStop:m,hasTabStop:w!=null}):l})})});gZ.displayName=kZ;var oRe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function rRe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function iRe(e,t,a){const o=rRe(e.key,a);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return oRe[o]}function MZ(e,t=!1){const a=document.activeElement;for(const o of e)if(o===a||(o.focus({preventScroll:t}),document.activeElement!==a))return}function cRe(e,t){return e.map((a,o)=>e[(t+o)%e.length])}var xZ=vZ,bZ=gZ,oP=["Enter"," "],sRe=["ArrowDown","PageUp","Home"],wZ=["ArrowUp","PageDown","End"],lRe=[...sRe,...wZ],dRe={ltr:[...oP,"ArrowRight"],rtl:[...oP,"ArrowLeft"]},uRe={ltr:["ArrowLeft"],rtl:["ArrowRight"]},G2="Menu",[S2,hRe,pRe]=q2(G2),[X1,W2]=aAe(G2,[pRe,Ti,DA]),Z2=Ti(),_Z=DA(),[SZ,Ri]=X1(G2),[fRe,X2]=X1(G2),CZ=e=>{const{__scopeMenu:t,open:a=!1,children:o,dir:i,onOpenChange:s,modal:l=!0}=e,h=Z2(t),[f,y]=p.useState(null),k=p.useRef(!1),m=Zn(s),x=H2(i);return p.useEffect(()=>{const S=()=>{k.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>k.current=!1;return document.addEventListener("keydown",S,{capture:!0}),()=>{document.removeEventListener("keydown",S,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),M.jsx(B2,{...h,children:M.jsx(SZ,{scope:t,open:a,onOpenChange:m,content:f,onContentChange:y,children:M.jsx(fRe,{scope:t,onClose:p.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:k,dir:x,modal:l,children:o})})})};CZ.displayName=G2;var yRe="MenuAnchor",kO=p.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e,i=Z2(a);return M.jsx(F2,{...i,...o,ref:t})});kO.displayName=yRe;var gO="MenuPortal",[mRe,NZ]=X1(gO,{forceMount:void 0}),LZ=e=>{const{__scopeMenu:t,forceMount:a,children:o,container:i}=e,s=Ri(gO,t);return M.jsx(mRe,{scope:t,forceMount:a,children:M.jsx(Pn,{present:a||s.open,children:M.jsx(fZ,{asChild:!0,container:i,children:o})})})};LZ.displayName=gO;var da="MenuContent",[vRe,MO]=X1(da),EZ=p.forwardRef((e,t)=>{const a=NZ(da,e.__scopeMenu),{forceMount:o=a.forceMount,...i}=e,s=Ri(da,e.__scopeMenu),l=X2(da,e.__scopeMenu);return M.jsx(S2.Provider,{scope:e.__scopeMenu,children:M.jsx(Pn,{present:o||s.open,children:M.jsx(S2.Slot,{scope:e.__scopeMenu,children:l.modal?M.jsx(kRe,{...i,ref:t}):M.jsx(gRe,{...i,ref:t})})})})}),kRe=p.forwardRef((e,t)=>{const a=Ri(da,e.__scopeMenu),o=p.useRef(null),i=ze(t,o);return p.useEffect(()=>{const s=o.current;if(s)return LA(s)},[]),M.jsx(xO,{...e,ref:i,trapFocus:a.open,disableOutsidePointerEvents:a.open,disableOutsideScroll:!0,onFocusOutside:xe(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>a.onOpenChange(!1)})}),gRe=p.forwardRef((e,t)=>{const a=Ri(da,e.__scopeMenu);return M.jsx(xO,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>a.onOpenChange(!1)})}),MRe=pZ("MenuContent.ScrollLock"),xO=p.forwardRef((e,t)=>{const{__scopeMenu:a,loop:o=!1,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:h,onEntryFocus:f,onEscapeKeyDown:y,onPointerDownOutside:k,onFocusOutside:m,onInteractOutside:x,onDismiss:S,disableOutsideScroll:b,...w}=e,_=Ri(da,a),N=X2(da,a),L=Z2(a),I=_Z(a),P=hRe(a),[D,j]=p.useState(null),A=p.useRef(null),$=ze(t,A,_.onContentChange),B=p.useRef(0),Z=p.useRef(""),q=p.useRef(0),V=p.useRef(null),F=p.useRef("right"),J=p.useRef(0),oe=b?D2:p.Fragment,T=b?{as:MRe,allowPinchZoom:!0}:void 0,O=G=>{var pe,ve;const K=Z.current+G,Me=P().filter(me=>!me.disabled),X=document.activeElement,ne=(pe=Me.find(me=>me.ref.current===X))==null?void 0:pe.textValue,de=Me.map(me=>me.textValue),ce=TRe(de,K,ne),ye=(ve=Me.find(me=>me.textValue===ce))==null?void 0:ve.ref.current;(function me(ge){Z.current=ge,window.clearTimeout(B.current),ge!==""&&(B.current=window.setTimeout(()=>me(""),1e3))})(K),ye&&setTimeout(()=>ye.focus())};p.useEffect(()=>()=>window.clearTimeout(B.current),[]),CA();const R=p.useCallback(G=>{var Me,X;return F.current===((Me=V.current)==null?void 0:Me.side)&&$Re(G,(X=V.current)==null?void 0:X.area)},[]);return M.jsx(vRe,{scope:a,searchRef:Z,onItemEnter:p.useCallback(G=>{R(G)&&G.preventDefault()},[R]),onItemLeave:p.useCallback(G=>{var K;R(G)||((K=A.current)==null||K.focus(),j(null))},[R]),onTriggerLeave:p.useCallback(G=>{R(G)&&G.preventDefault()},[R]),pointerGraceTimerRef:q,onPointerGraceIntentChange:p.useCallback(G=>{V.current=G},[]),children:M.jsx(oe,{...T,children:M.jsx(O2,{asChild:!0,trapped:i,onMountAutoFocus:xe(s,G=>{var K;G.preventDefault(),(K=A.current)==null||K.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:M.jsx(nu,{asChild:!0,disableOutsidePointerEvents:h,onEscapeKeyDown:y,onPointerDownOutside:k,onFocusOutside:m,onInteractOutside:x,onDismiss:S,children:M.jsx(xZ,{asChild:!0,...I,dir:N.dir,orientation:"vertical",loop:o,currentTabStopId:D,onCurrentTabStopIdChange:j,onEntryFocus:xe(f,G=>{N.isUsingKeyboardRef.current||G.preventDefault()}),preventScrollOnEntryFocus:!0,children:M.jsx(PA,{role:"menu","aria-orientation":"vertical","data-state":GZ(_.open),"data-radix-menu-content":"",dir:N.dir,...L,...w,ref:$,style:{outline:"none",...w.style},onKeyDown:xe(w.onKeyDown,G=>{const Me=G.target.closest("[data-radix-menu-content]")===G.currentTarget,X=G.ctrlKey||G.altKey||G.metaKey,ne=G.key.length===1;Me&&(G.key==="Tab"&&G.preventDefault(),!X&&ne&&O(G.key));const de=A.current;if(G.target!==de||!lRe.includes(G.key))return;G.preventDefault();const ye=P().filter(pe=>!pe.disabled).map(pe=>pe.ref.current);wZ.includes(G.key)&&ye.reverse(),IRe(ye)}),onBlur:xe(e.onBlur,G=>{G.currentTarget.contains(G.target)||(window.clearTimeout(B.current),Z.current="")}),onPointerMove:xe(e.onPointerMove,C2(G=>{const K=G.target,Me=J.current!==G.clientX;if(G.currentTarget.contains(K)&&Me){const X=G.clientX>J.current?"right":"left";F.current=X,J.current=G.clientX}}))})})})})})})});EZ.displayName=da;var xRe="MenuGroup",bO=p.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e;return M.jsx(iu.div,{role:"group",...o,ref:t})});bO.displayName=xRe;var bRe="MenuLabel",IZ=p.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e;return M.jsx(iu.div,{...o,ref:t})});IZ.displayName=bRe;var iA="MenuItem",kF="menu.itemSelect",zA=p.forwardRef((e,t)=>{const{disabled:a=!1,onSelect:o,...i}=e,s=p.useRef(null),l=X2(iA,e.__scopeMenu),h=MO(iA,e.__scopeMenu),f=ze(t,s),y=p.useRef(!1),k=()=>{const m=s.current;if(!a&&m){const x=new CustomEvent(kF,{bubbles:!0,cancelable:!0});m.addEventListener(kF,S=>o==null?void 0:o(S),{once:!0}),HTe(m,x),x.defaultPrevented?y.current=!1:l.onClose()}};return M.jsx(AZ,{...i,ref:f,disabled:a,onClick:xe(e.onClick,k),onPointerDown:m=>{var x;(x=e.onPointerDown)==null||x.call(e,m),y.current=!0},onPointerUp:xe(e.onPointerUp,m=>{var x;y.current||(x=m.currentTarget)==null||x.click()}),onKeyDown:xe(e.onKeyDown,m=>{const x=h.searchRef.current!=="";a||x&&m.key===" "||oP.includes(m.key)&&(m.currentTarget.click(),m.preventDefault())})})});zA.displayName=iA;var AZ=p.forwardRef((e,t)=>{const{__scopeMenu:a,disabled:o=!1,textValue:i,...s}=e,l=MO(iA,a),h=_Z(a),f=p.useRef(null),y=ze(t,f),[k,m]=p.useState(!1),[x,S]=p.useState("");return p.useEffect(()=>{const b=f.current;b&&S((b.textContent??"").trim())},[s.children]),M.jsx(S2.ItemSlot,{scope:a,disabled:o,textValue:i??x,children:M.jsx(bZ,{asChild:!0,...h,focusable:!o,children:M.jsx(iu.div,{role:"menuitem","data-highlighted":k?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...s,ref:y,onPointerMove:xe(e.onPointerMove,C2(b=>{o?l.onItemLeave(b):(l.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:xe(e.onPointerLeave,C2(b=>l.onItemLeave(b))),onFocus:xe(e.onFocus,()=>m(!0)),onBlur:xe(e.onBlur,()=>m(!1))})})})}),wRe="MenuCheckboxItem",TZ=p.forwardRef((e,t)=>{const{checked:a=!1,onCheckedChange:o,...i}=e;return M.jsx(OZ,{scope:e.__scopeMenu,checked:a,children:M.jsx(zA,{role:"menuitemcheckbox","aria-checked":cA(a)?"mixed":a,...i,ref:t,"data-state":SO(a),onSelect:xe(i.onSelect,()=>o==null?void 0:o(cA(a)?!0:!a),{checkForDefaultPrevented:!1})})})});TZ.displayName=wRe;var RZ="MenuRadioGroup",[_Re,SRe]=X1(RZ,{value:void 0,onValueChange:()=>{}}),$Z=p.forwardRef((e,t)=>{const{value:a,onValueChange:o,...i}=e,s=Zn(o);return M.jsx(_Re,{scope:e.__scopeMenu,value:a,onValueChange:s,children:M.jsx(bO,{...i,ref:t})})});$Z.displayName=RZ;var jZ="MenuRadioItem",PZ=p.forwardRef((e,t)=>{const{value:a,...o}=e,i=SRe(jZ,e.__scopeMenu),s=a===i.value;return M.jsx(OZ,{scope:e.__scopeMenu,checked:s,children:M.jsx(zA,{role:"menuitemradio","aria-checked":s,...o,ref:t,"data-state":SO(s),onSelect:xe(o.onSelect,()=>{var l;return(l=i.onValueChange)==null?void 0:l.call(i,a)},{checkForDefaultPrevented:!1})})})});PZ.displayName=jZ;var wO="MenuItemIndicator",[OZ,CRe]=X1(wO,{checked:!1}),DZ=p.forwardRef((e,t)=>{const{__scopeMenu:a,forceMount:o,...i}=e,s=CRe(wO,a);return M.jsx(Pn,{present:o||cA(s.checked)||s.checked===!0,children:M.jsx(iu.span,{...i,ref:t,"data-state":SO(s.checked)})})});DZ.displayName=wO;var NRe="MenuSeparator",zZ=p.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e;return M.jsx(iu.div,{role:"separator","aria-orientation":"horizontal",...o,ref:t})});zZ.displayName=NRe;var LRe="MenuArrow",qZ=p.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e,i=Z2(a);return M.jsx(OA,{...i,...o,ref:t})});qZ.displayName=LRe;var _O="MenuSub",[ERe,HZ]=X1(_O),VZ=e=>{const{__scopeMenu:t,children:a,open:o=!1,onOpenChange:i}=e,s=Ri(_O,t),l=Z2(t),[h,f]=p.useState(null),[y,k]=p.useState(null),m=Zn(i);return p.useEffect(()=>(s.open===!1&&m(!1),()=>m(!1)),[s.open,m]),M.jsx(B2,{...l,children:M.jsx(SZ,{scope:t,open:o,onOpenChange:m,content:y,onContentChange:k,children:M.jsx(ERe,{scope:t,contentId:It(),triggerId:It(),trigger:h,onTriggerChange:f,children:a})})})};VZ.displayName=_O;var u2="MenuSubTrigger",BZ=p.forwardRef((e,t)=>{const a=Ri(u2,e.__scopeMenu),o=X2(u2,e.__scopeMenu),i=HZ(u2,e.__scopeMenu),s=MO(u2,e.__scopeMenu),l=p.useRef(null),{pointerGraceTimerRef:h,onPointerGraceIntentChange:f}=s,y={__scopeMenu:e.__scopeMenu},k=p.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return p.useEffect(()=>k,[k]),p.useEffect(()=>{const m=h.current;return()=>{window.clearTimeout(m),f(null)}},[h,f]),M.jsx(kO,{asChild:!0,...y,children:M.jsx(AZ,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":i.contentId,"data-state":GZ(a.open),...e,ref:kt(t,i.onTriggerChange),onClick:m=>{var x;(x=e.onClick)==null||x.call(e,m),!(e.disabled||m.defaultPrevented)&&(m.currentTarget.focus(),a.open||a.onOpenChange(!0))},onPointerMove:xe(e.onPointerMove,C2(m=>{s.onItemEnter(m),!m.defaultPrevented&&!e.disabled&&!a.open&&!l.current&&(s.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{a.onOpenChange(!0),k()},100))})),onPointerLeave:xe(e.onPointerLeave,C2(m=>{var S,b;k();const x=(S=a.content)==null?void 0:S.getBoundingClientRect();if(x){const w=(b=a.content)==null?void 0:b.dataset.side,_=w==="right",N=_?-5:5,L=x[_?"left":"right"],I=x[_?"right":"left"];s.onPointerGraceIntentChange({area:[{x:m.clientX+N,y:m.clientY},{x:L,y:x.top},{x:I,y:x.top},{x:I,y:x.bottom},{x:L,y:x.bottom}],side:w}),window.clearTimeout(h.current),h.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(m),m.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:xe(e.onKeyDown,m=>{var S;const x=s.searchRef.current!=="";e.disabled||x&&m.key===" "||dRe[o.dir].includes(m.key)&&(a.onOpenChange(!0),(S=a.content)==null||S.focus(),m.preventDefault())})})})});BZ.displayName=u2;var FZ="MenuSubContent",UZ=p.forwardRef((e,t)=>{const a=NZ(da,e.__scopeMenu),{forceMount:o=a.forceMount,...i}=e,s=Ri(da,e.__scopeMenu),l=X2(da,e.__scopeMenu),h=HZ(FZ,e.__scopeMenu),f=p.useRef(null),y=ze(t,f);return M.jsx(S2.Provider,{scope:e.__scopeMenu,children:M.jsx(Pn,{present:o||s.open,children:M.jsx(S2.Slot,{scope:e.__scopeMenu,children:M.jsx(xO,{id:h.contentId,"aria-labelledby":h.triggerId,...i,ref:y,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:k=>{var m;l.isUsingKeyboardRef.current&&((m=f.current)==null||m.focus()),k.preventDefault()},onCloseAutoFocus:k=>k.preventDefault(),onFocusOutside:xe(e.onFocusOutside,k=>{k.target!==h.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:xe(e.onEscapeKeyDown,k=>{l.onClose(),k.preventDefault()}),onKeyDown:xe(e.onKeyDown,k=>{var S;const m=k.currentTarget.contains(k.target),x=uRe[l.dir].includes(k.key);m&&x&&(s.onOpenChange(!1),(S=h.trigger)==null||S.focus(),k.preventDefault())})})})})})});UZ.displayName=FZ;function GZ(e){return e?"open":"closed"}function cA(e){return e==="indeterminate"}function SO(e){return cA(e)?"indeterminate":e?"checked":"unchecked"}function IRe(e){const t=document.activeElement;for(const a of e)if(a===t||(a.focus(),document.activeElement!==t))return}function ARe(e,t){return e.map((a,o)=>e[(t+o)%e.length])}function TRe(e,t,a){const i=t.length>1&&Array.from(t).every(y=>y===t[0])?t[0]:t,s=a?e.indexOf(a):-1;let l=ARe(e,Math.max(s,0));i.length===1&&(l=l.filter(y=>y!==a));const f=l.find(y=>y.toLowerCase().startsWith(i.toLowerCase()));return f!==a?f:void 0}function RRe(e,t){const{x:a,y:o}=e;let i=!1;for(let s=0,l=t.length-1;s<t.length;l=s++){const h=t[s],f=t[l],y=h.x,k=h.y,m=f.x,x=f.y;k>o!=x>o&&a<(m-y)*(o-k)/(x-k)+y&&(i=!i)}return i}function $Re(e,t){if(!t)return!1;const a={x:e.clientX,y:e.clientY};return RRe(a,t)}function C2(e){return t=>t.pointerType==="mouse"?e(t):void 0}var CO=CZ,NO=kO,LO=LZ,EO=EZ,IO=bO,AO=IZ,TO=zA,RO=TZ,$O=$Z,jO=PZ,PO=DZ,OO=zZ,DO=qZ,zO=VZ,qO=BZ,HO=UZ,VO="ContextMenu",[jRe]=qIe(VO,[W2]),hn=W2(),[PRe,WZ]=jRe(VO),ZZ=e=>{const{__scopeContextMenu:t,children:a,onOpenChange:o,dir:i,modal:s=!0}=e,[l,h]=p.useState(!1),f=hn(t),y=Zn(o),k=p.useCallback(m=>{h(m),y(m)},[y]);return M.jsx(PRe,{scope:t,open:l,onOpenChange:k,modal:s,children:M.jsx(CO,{...f,dir:i,open:l,onOpenChange:k,modal:s,children:a})})};ZZ.displayName=VO;var XZ="ContextMenuTrigger",KZ=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,disabled:o=!1,...i}=e,s=WZ(XZ,a),l=hn(a),h=p.useRef({x:0,y:0}),f=p.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...h.current})}),y=p.useRef(0),k=p.useCallback(()=>window.clearTimeout(y.current),[]),m=x=>{h.current={x:x.clientX,y:x.clientY},s.onOpenChange(!0)};return p.useEffect(()=>k,[k]),p.useEffect(()=>void(o&&k()),[o,k]),M.jsxs(M.Fragment,{children:[M.jsx(NO,{...l,virtualRef:f}),M.jsx(XIe.span,{"data-state":s.open?"open":"closed","data-disabled":o?"":void 0,...i,ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:o?e.onContextMenu:xe(e.onContextMenu,x=>{k(),m(x),x.preventDefault()}),onPointerDown:o?e.onPointerDown:xe(e.onPointerDown,Sh(x=>{k(),y.current=window.setTimeout(()=>m(x),700)})),onPointerMove:o?e.onPointerMove:xe(e.onPointerMove,Sh(k)),onPointerCancel:o?e.onPointerCancel:xe(e.onPointerCancel,Sh(k)),onPointerUp:o?e.onPointerUp:xe(e.onPointerUp,Sh(k))})]})});KZ.displayName=XZ;var ORe="ContextMenuPortal",YZ=e=>{const{__scopeContextMenu:t,...a}=e,o=hn(t);return M.jsx(LO,{...o,...a})};YZ.displayName=ORe;var QZ="ContextMenuContent",JZ=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=WZ(QZ,a),s=hn(a),l=p.useRef(!1);return M.jsx(EO,{...s,...o,ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:h=>{var f;(f=e.onCloseAutoFocus)==null||f.call(e,h),!h.defaultPrevented&&l.current&&h.preventDefault(),l.current=!1},onInteractOutside:h=>{var f;(f=e.onInteractOutside)==null||f.call(e,h),!h.defaultPrevented&&!i.modal&&(l.current=!0)},style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});JZ.displayName=QZ;var DRe="ContextMenuGroup",eX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(IO,{...i,...o,ref:t})});eX.displayName=DRe;var zRe="ContextMenuLabel",tX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(AO,{...i,...o,ref:t})});tX.displayName=zRe;var qRe="ContextMenuItem",nX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(TO,{...i,...o,ref:t})});nX.displayName=qRe;var HRe="ContextMenuCheckboxItem",aX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(RO,{...i,...o,ref:t})});aX.displayName=HRe;var VRe="ContextMenuRadioGroup",oX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx($O,{...i,...o,ref:t})});oX.displayName=VRe;var BRe="ContextMenuRadioItem",rX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(jO,{...i,...o,ref:t})});rX.displayName=BRe;var FRe="ContextMenuItemIndicator",iX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(PO,{...i,...o,ref:t})});iX.displayName=FRe;var URe="ContextMenuSeparator",cX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(OO,{...i,...o,ref:t})});cX.displayName=URe;var GRe="ContextMenuArrow",WRe=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(DO,{...i,...o,ref:t})});WRe.displayName=GRe;var sX="ContextMenuSub",lX=e=>{const{__scopeContextMenu:t,children:a,onOpenChange:o,open:i,defaultOpen:s}=e,l=hn(t),[h,f]=bn({prop:i,defaultProp:s??!1,onChange:o,caller:sX});return M.jsx(zO,{...l,open:h,onOpenChange:f,children:a})};lX.displayName=sX;var ZRe="ContextMenuSubTrigger",dX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(qO,{...i,...o,ref:t})});dX.displayName=ZRe;var XRe="ContextMenuSubContent",uX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(HO,{...i,...o,ref:t,style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});uX.displayName=XRe;function Sh(e){return t=>t.pointerType!=="mouse"?e(t):void 0}var KRe=ZZ,YRe=KZ,hX=YZ,QRe=JZ,JRe=eX,e$e=tX,t$e=nX,n$e=aX,a$e=oX,o$e=rX,pX=iX,r$e=cX,i$e=lX,c$e=dX,s$e=uX;function l$e({...e}){return M.jsx(KRe,{"data-slot":"context-menu",...e})}function d$e({...e}){return M.jsx(YRe,{"data-slot":"context-menu-trigger",...e})}function u$e({...e}){return M.jsx(JRe,{"data-slot":"context-menu-group",...e})}function h$e({...e}){return M.jsx(hX,{"data-slot":"context-menu-portal",...e})}function p$e({...e}){return M.jsx(i$e,{"data-slot":"context-menu-sub",...e})}function f$e({...e}){return M.jsx(a$e,{"data-slot":"context-menu-radio-group",...e})}function y$e({className:e,inset:t,children:a,...o}){return M.jsxs(c$e,{"data-slot":"context-menu-sub-trigger","data-inset":t,className:ee("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o,children:[a,M.jsx(lr,{className:"ml-auto"})]})}function m$e({className:e,...t}){return M.jsx(s$e,{"data-slot":"context-menu-sub-content",className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",e),...t})}function v$e({className:e,...t}){return M.jsx(hX,{children:M.jsx(QRe,{"data-slot":"context-menu-content",className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...t})})}function k$e({className:e,inset:t,variant:a="default",...o}){return M.jsx(t$e,{"data-slot":"context-menu-item","data-inset":t,"data-variant":a,className:ee("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o})}function g$e({className:e,children:t,checked:a,...o}){return M.jsxs(n$e,{"data-slot":"context-menu-checkbox-item",className:ee("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:a,...o,children:[M.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:M.jsx(pX,{children:M.jsx(sr,{className:"size-4"})})}),t]})}function M$e({className:e,children:t,...a}){return M.jsxs(o$e,{"data-slot":"context-menu-radio-item",className:ee("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...a,children:[M.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:M.jsx(pX,{children:M.jsx(O1,{className:"size-2 fill-current"})})}),t]})}function x$e({className:e,inset:t,...a}){return M.jsx(e$e,{"data-slot":"context-menu-label","data-inset":t,className:ee("text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...a})}function b$e({className:e,...t}){return M.jsx(r$e,{"data-slot":"context-menu-separator",className:ee("bg-border -mx-1 my-1 h-px",e),...t})}function w$e({className:e,...t}){return M.jsx("span",{"data-slot":"context-menu-shortcut",className:ee("text-muted-foreground ml-auto text-xs tracking-widest",e),...t})}var _$e="Portal",fX=p.forwardRef((e,t)=>{var h;const{container:a,...o}=e,[i,s]=p.useState(!1);St(()=>s(!0),[]);const l=a||i&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return l?ur.createPortal(M.jsx(jn.div,{...o,ref:t}),l):null});fX.displayName=_$e;var yX=fX;const Ei=p.createContext({activeIndex:0,setActiveIndex:()=>{},totalDialogs:0,setTotalDialogs:()=>{},isOpen:!1,setIsOpen:()=>{},clickable:!1,shouldAnimate:!1,setShouldAnimate:()=>{},closeDialog:()=>{}}),mX=p.forwardRef(({children:e,className:t,open:a=!1,onOpenChange:o,clickable:i=!1,...s},l)=>{const[h,f]=p.useState(0),[y,k]=p.useState(a),[m,x]=p.useState(!1),[S,b]=p.useState(0),w=_=>{_===h&&(h>0?f(N=>N-1):k(!1))};return p.useImperativeHandle(l,()=>({open:()=>{k(!0)},close:()=>{k(!1),f(0)},closeAll:()=>{k(!1),f(0)},next:()=>{f(_=>_+1)},prev:()=>{f(_=>_>0?_-1:0)},goTo:_=>{_>=0&&_<S&&f(_)},closeCurrent:()=>w(h),isOpen:y,activeIndex:h,totalDialogs:S}),[h,S,y]),p.useEffect(()=>{const _=document.documentElement;return y?(_.style.overflow="hidden",x(!0)):_.style.overflow="",o==null||o(y),()=>{_.style.overflow=""}},[y,o]),M.jsx(Ei.Provider,{value:{activeIndex:h,setActiveIndex:f,totalDialogs:S,setTotalDialogs:b,isOpen:y,setIsOpen:k,clickable:i,shouldAnimate:m,setShouldAnimate:x,closeDialog:w},children:M.jsx("div",{className:t,...s,children:e})})});mX.displayName="DialogStack";const S$e=({children:e,className:t,onClick:a,asChild:o,...i})=>{const s=p.useContext(Ei);if(!s)throw new Error("DialogStackTrigger must be used within a DialogStack");const l=h=>{s.setIsOpen(!0),a==null||a(h)};return o&&p.isValidElement(e)?p.cloneElement(e,{onClick:l,className:ee(t,e.props.className),...i}):M.jsx("button",{onClick:l,className:ee("inline-flex items-center justify-center whitespace-nowrap rounded-md font-medium text-sm","ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2","focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50","bg-primary text-primary-foreground hover:bg-primary/90","h-10 px-4 py-2",t),...i,children:e})},C$e=({className:e,...t})=>{const a=p.useContext(Ei);if(!a)throw new Error("DialogStackOverlay must be used within a DialogStack");return a.isOpen?M.jsx("div",{className:ee("fixed inset-0 z-[1001] bg-black/80 backdrop-blur-sm","data-[state=closed]:animate-out data-[state=open]:animate-in","data-[state=closed]:fade-out-0 slide-in-from-right-1/2 data-[state=open]:fade-in-0",e),onClick:()=>{a.activeIndex===0?a.setIsOpen(!1):a.setActiveIndex(a.activeIndex-1)},...t}):null},N$e=({children:e,className:t,...a})=>{const o=p.useContext(Ei),i=p.Children.count(e),[s,l]=p.useState(i);if(p.useEffect(()=>{l(i)},[i]),!o)throw new Error("DialogStackBody must be used within a DialogStack");return o.isOpen?M.jsx(Ei.Provider,{value:{...o,totalDialogs:s,setTotalDialogs:l},children:M.jsx(yX,{children:M.jsx("div",{className:ee("pointer-events-none fixed z-[1002] w-full max-w-full md:max-w-[67%] right-0 top-0 md:top-[1vh]",t),...a,children:p.Children.map(e,(h,f)=>p.isValidElement(h)?p.cloneElement(h,{index:f}):h)})})}):null},L$e=({children:e,className:t,index:a=0,offset:o=20,...i})=>{const s=p.useContext(Ei),[l,h]=p.useState(!1),f=p.useRef(null),y=p.useRef(!1);if(!s)throw new Error("DialogStackContent must be used within a DialogStack");if(!s.isOpen)return null;const k=()=>{s.setIsOpen(!1),s.setActiveIndex(0)},m=()=>{if(y.current){y.current=!1;return}s.closeDialog(a)},x=()=>{y.current=!1,h(!0),f.current=setTimeout(()=>{y.current=!0,h(!1),k()},600)},S=()=>{f.current&&(clearTimeout(f.current),f.current=null),h(!1)},b=L=>{L.stopPropagation(),s.clickable&&s.activeIndex>a&&s.setActiveIndex(a??0)},w=a-s.activeIndex,_=w<0?`-${Math.abs(w)*o}px`:"0",N=a===0&&s.activeIndex===0&&s.shouldAnimate;return p.useEffect(()=>{if(N){const L=setTimeout(()=>{s.setShouldAnimate(!1)},200);return()=>clearTimeout(L)}},[N]),M.jsxs("div",{onClick:b,className:ee("h-[100vh] md:h-[98vh] w-full md:rounded-l-md border bg-background shadow-lg md:transition-all duration-200",N&&"animate-in slide-in-from-right-1/2",w<0&&"brightness-75 blur-[2px]",t),style:{top:0,marginLeft:`${_}`,marginTop:`${window.innerWidth>768?Math.abs(w)*10:0}px`,width:w<0?`calc(100% + ${Math.abs(w)*o}px)`:"100%",zIndex:w<0?50-Math.abs(s.activeIndex-(a??0)):1002,position:w?"absolute":"relative",opacity:w>0?0:1,pointerEvents:w>0?"none":"auto",cursor:s.clickable&&s.activeIndex>a?"pointer":"default"},...i,children:[M.jsx("div",{className:ee("h-full w-full overflow-y-auto p-6 transition-all duration-200",s.activeIndex!==a&&"pointer-events-none select-none"),children:e}),s.activeIndex===a&&M.jsx(yX,{children:M.jsx(MA,{variant:"ghost",className:ee("fixed z-[1100] top-4 right-4 p-1 size-8 transition-all",l&&"bg-destructive/20 scale-110"),onClick:m,onPointerDown:x,onPointerUp:S,onPointerLeave:S,onPointerCancel:S,"aria-label":"Close",title:s.totalDialogs>1?"Click to close, hold to close all":"Close",children:M.jsx(bi,{})})})]})},E$e=({children:e,className:t,...a})=>M.jsx("h2",{className:ee("font-semibold text-lg leading-none tracking-tight",t),...a,children:e}),I$e=({children:e,className:t,...a})=>M.jsx("p",{className:ee("text-muted-foreground text-sm",t),...a,children:e}),A$e=({className:e,...t})=>M.jsx("div",{className:ee("flex flex-col space-y-1.5 text-center sm:text-left",e),...t}),T$e=({children:e,className:t,...a})=>M.jsx("div",{className:ee("flex items-center justify-end space-x-2 pt-4",t),...a,children:e}),R$e=({children:e,className:t,asChild:a,...o})=>{const i=p.useContext(Ei);if(!i)throw new Error("DialogStackNext must be used within a DialogStack");const s=()=>{i.activeIndex<i.totalDialogs-1&&i.setActiveIndex(i.activeIndex+1)};return a&&p.isValidElement(e)?p.cloneElement(e,{onClick:s,className:ee(t,e.props.className),...o}):M.jsx("button",{type:"button",onClick:s,className:ee("inline-flex items-center justify-center whitespace-nowrap rounded-md font-medium text-sm ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",t),disabled:i.activeIndex>=i.totalDialogs-1,...o,children:e||"Next"})},$$e=({children:e,className:t,asChild:a,...o})=>{const i=p.useContext(Ei);if(!i)throw new Error("DialogStackPrevious must be used within a DialogStack");const s=()=>{i.activeIndex>0&&i.setActiveIndex(i.activeIndex-1)};return a&&p.isValidElement(e)?p.cloneElement(e,{onClick:s,className:ee(t,e.props.className),...o}):M.jsx("button",{type:"button",onClick:s,className:ee("inline-flex items-center justify-center whitespace-nowrap rounded-md font-medium text-sm ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",t),disabled:i.activeIndex<=0,...o,children:e||"Previous"})};function j$e(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,P$e(i,...t)]}function P$e(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function O$e(e){const t=D$e(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(q$e);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function D$e(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=V$e(i),h=H$e(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var z$e=Symbol("radix.slottable");function q$e(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===z$e}function H$e(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function V$e(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var B$e=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],F$e=B$e.reduce((e,t)=>{const a=O$e(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),qA="DropdownMenu",[U$e]=j$e(qA,[W2]),pn=W2(),[G$e,vX]=U$e(qA),kX=e=>{const{__scopeDropdownMenu:t,children:a,dir:o,open:i,defaultOpen:s,onOpenChange:l,modal:h=!0}=e,f=pn(t),y=p.useRef(null),[k,m]=bn({prop:i,defaultProp:s??!1,onChange:l,caller:qA});return M.jsx(G$e,{scope:t,triggerId:It(),triggerRef:y,contentId:It(),open:k,onOpenChange:m,onOpenToggle:p.useCallback(()=>m(x=>!x),[m]),modal:h,children:M.jsx(CO,{...f,open:k,onOpenChange:m,dir:o,modal:h,children:a})})};kX.displayName=qA;var gX="DropdownMenuTrigger",MX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,disabled:o=!1,...i}=e,s=vX(gX,a),l=pn(a);return M.jsx(NO,{asChild:!0,...l,children:M.jsx(F$e.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...i,ref:kt(t,s.triggerRef),onPointerDown:xe(e.onPointerDown,h=>{!o&&h.button===0&&h.ctrlKey===!1&&(s.onOpenToggle(),s.open||h.preventDefault())}),onKeyDown:xe(e.onKeyDown,h=>{o||(["Enter"," "].includes(h.key)&&s.onOpenToggle(),h.key==="ArrowDown"&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(h.key)&&h.preventDefault())})})})});MX.displayName=gX;var W$e="DropdownMenuPortal",xX=e=>{const{__scopeDropdownMenu:t,...a}=e,o=pn(t);return M.jsx(LO,{...o,...a})};xX.displayName=W$e;var bX="DropdownMenuContent",wX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=vX(bX,a),s=pn(a),l=p.useRef(!1);return M.jsx(EO,{id:i.contentId,"aria-labelledby":i.triggerId,...s,...o,ref:t,onCloseAutoFocus:xe(e.onCloseAutoFocus,h=>{var f;l.current||(f=i.triggerRef.current)==null||f.focus(),l.current=!1,h.preventDefault()}),onInteractOutside:xe(e.onInteractOutside,h=>{const f=h.detail.originalEvent,y=f.button===0&&f.ctrlKey===!0,k=f.button===2||y;(!i.modal||k)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});wX.displayName=bX;var Z$e="DropdownMenuGroup",_X=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(IO,{...i,...o,ref:t})});_X.displayName=Z$e;var X$e="DropdownMenuLabel",SX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(AO,{...i,...o,ref:t})});SX.displayName=X$e;var K$e="DropdownMenuItem",CX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(TO,{...i,...o,ref:t})});CX.displayName=K$e;var Y$e="DropdownMenuCheckboxItem",NX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(RO,{...i,...o,ref:t})});NX.displayName=Y$e;var Q$e="DropdownMenuRadioGroup",LX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx($O,{...i,...o,ref:t})});LX.displayName=Q$e;var J$e="DropdownMenuRadioItem",EX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(jO,{...i,...o,ref:t})});EX.displayName=J$e;var eje="DropdownMenuItemIndicator",IX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(PO,{...i,...o,ref:t})});IX.displayName=eje;var tje="DropdownMenuSeparator",AX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(OO,{...i,...o,ref:t})});AX.displayName=tje;var nje="DropdownMenuArrow",aje=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(DO,{...i,...o,ref:t})});aje.displayName=nje;var oje=e=>{const{__scopeDropdownMenu:t,children:a,open:o,onOpenChange:i,defaultOpen:s}=e,l=pn(t),[h,f]=bn({prop:o,defaultProp:s??!1,onChange:i,caller:"DropdownMenuSub"});return M.jsx(zO,{...l,open:h,onOpenChange:f,children:a})},rje="DropdownMenuSubTrigger",TX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(qO,{...i,...o,ref:t})});TX.displayName=rje;var ije="DropdownMenuSubContent",RX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(HO,{...i,...o,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});RX.displayName=ije;var cje=kX,sje=MX,$X=xX,lje=wX,dje=_X,uje=SX,hje=CX,pje=NX,fje=LX,yje=EX,jX=IX,mje=AX,vje=oje,kje=TX,gje=RX;function Mje({...e}){return M.jsx(cje,{"data-slot":"dropdown-menu",...e})}function xje({...e}){return M.jsx($X,{"data-slot":"dropdown-menu-portal",...e})}function bje({...e}){return M.jsx(sje,{"data-slot":"dropdown-menu-trigger",...e})}function wje({className:e,sideOffset:t=4,...a}){return M.jsx($X,{children:M.jsx(lje,{"data-slot":"dropdown-menu-content",sideOffset:t,className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...a})})}function _je({...e}){return M.jsx(dje,{"data-slot":"dropdown-menu-group",...e})}function Sje({className:e,inset:t,variant:a="default",...o}){return M.jsx(hje,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":a,className:ee("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o})}function Cje({className:e,children:t,checked:a,...o}){return M.jsxs(pje,{"data-slot":"dropdown-menu-checkbox-item",className:ee("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:a,...o,children:[M.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:M.jsx(jX,{children:M.jsx(sr,{className:"size-4"})})}),t]})}function Nje({...e}){return M.jsx(fje,{"data-slot":"dropdown-menu-radio-group",...e})}function Lje({className:e,children:t,...a}){return M.jsxs(yje,{"data-slot":"dropdown-menu-radio-item",className:ee("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...a,children:[M.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:M.jsx(jX,{children:M.jsx(O1,{className:"size-2 fill-current"})})}),t]})}function Eje({className:e,inset:t,...a}){return M.jsx(uje,{"data-slot":"dropdown-menu-label","data-inset":t,className:ee("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...a})}function Ije({className:e,...t}){return M.jsx(mje,{"data-slot":"dropdown-menu-separator",className:ee("bg-border -mx-1 my-1 h-px",e),...t})}function Aje({className:e,...t}){return M.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:ee("text-muted-foreground ml-auto text-xs tracking-widest",e),...t})}function Tje({...e}){return M.jsx(vje,{"data-slot":"dropdown-menu-sub",...e})}function Rje({className:e,inset:t,children:a,...o}){return M.jsxs(kje,{"data-slot":"dropdown-menu-sub-trigger","data-inset":t,className:ee("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",e),...o,children:[a,M.jsx(lr,{className:"ml-auto size-4"})]})}function $je({className:e,...t}){return M.jsx(gje,{"data-slot":"dropdown-menu-sub-content",className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",e),...t})}function PX({className:e,type:t,...a}){return M.jsx("input",{type:t,"data-slot":"input",className:ee("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[2px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:[&::-webkit-calendar-picker-indicator]:invert",e),...a})}var jje="Label",OX=p.forwardRef((e,t)=>M.jsx(jn.label,{...e,ref:t,onMouseDown:a=>{var i;a.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,a),!a.defaultPrevented&&a.detail>1&&a.preventDefault())}}));OX.displayName=jje;var Pje=OX;function Oje({className:e,...t}){return M.jsx(Pje,{"data-slot":"label",className:ee("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...t})}function Dje(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,zje(i,...t)]}function zje(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function qje(e){const t=Hje(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(Bje);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function Hje(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=Uje(i),h=Fje(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Vje=Symbol("radix.slottable");function Bje(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Vje}function Fje(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function Uje(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var Gje=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],DX=Gje.reduce((e,t)=>{const a=qje(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),K2="Menubar",[rP,Wje,Zje]=q2(K2),[zX]=Dje(K2,[Zje,DA]),fn=W2(),qX=DA(),[Xje,BO]=zX(K2),HX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,value:o,onValueChange:i,defaultValue:s,loop:l=!0,dir:h,...f}=e,y=H2(h),k=qX(a),[m,x]=bn({prop:o,onChange:i,defaultProp:s??"",caller:K2}),[S,b]=p.useState(null);return M.jsx(Xje,{scope:a,value:m,onMenuOpen:p.useCallback(w=>{x(w),b(w)},[x]),onMenuClose:p.useCallback(()=>x(""),[x]),onMenuToggle:p.useCallback(w=>{x(_=>_?"":w),b(w)},[x]),dir:y,loop:l,children:M.jsx(rP.Provider,{scope:a,children:M.jsx(rP.Slot,{scope:a,children:M.jsx(xZ,{asChild:!0,...k,orientation:"horizontal",loop:l,dir:y,currentTabStopId:S,onCurrentTabStopIdChange:b,children:M.jsx(DX.div,{role:"menubar",...f,ref:t})})})})})});HX.displayName=K2;var FO="MenubarMenu",[Kje,VX]=zX(FO),BX=e=>{const{__scopeMenubar:t,value:a,...o}=e,i=It(),s=a||i||"LEGACY_REACT_AUTO_VALUE",l=BO(FO,t),h=fn(t),f=p.useRef(null),y=p.useRef(!1),k=l.value===s;return p.useEffect(()=>{k||(y.current=!1)},[k]),M.jsx(Kje,{scope:t,value:s,triggerId:It(),triggerRef:f,contentId:It(),wasKeyboardTriggerOpenRef:y,children:M.jsx(CO,{...h,open:k,onOpenChange:m=>{m||l.onMenuClose()},modal:!1,dir:l.dir,...o})})};BX.displayName=FO;var iP="MenubarTrigger",FX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,disabled:o=!1,...i}=e,s=qX(a),l=fn(a),h=BO(iP,a),f=VX(iP,a),y=p.useRef(null),k=ze(t,y,f.triggerRef),[m,x]=p.useState(!1),S=h.value===f.value;return M.jsx(rP.ItemSlot,{scope:a,value:f.value,disabled:o,children:M.jsx(bZ,{asChild:!0,...s,focusable:!o,tabStopId:f.value,children:M.jsx(NO,{asChild:!0,...l,children:M.jsx(DX.button,{type:"button",role:"menuitem",id:f.triggerId,"aria-haspopup":"menu","aria-expanded":S,"aria-controls":S?f.contentId:void 0,"data-highlighted":m?"":void 0,"data-state":S?"open":"closed","data-disabled":o?"":void 0,disabled:o,...i,ref:k,onPointerDown:xe(e.onPointerDown,b=>{!o&&b.button===0&&b.ctrlKey===!1&&(h.onMenuOpen(f.value),S||b.preventDefault())}),onPointerEnter:xe(e.onPointerEnter,()=>{var w;!!h.value&&!S&&(h.onMenuOpen(f.value),(w=y.current)==null||w.focus())}),onKeyDown:xe(e.onKeyDown,b=>{o||(["Enter"," "].includes(b.key)&&h.onMenuToggle(f.value),b.key==="ArrowDown"&&h.onMenuOpen(f.value),["Enter"," ","ArrowDown"].includes(b.key)&&(f.wasKeyboardTriggerOpenRef.current=!0,b.preventDefault()))}),onFocus:xe(e.onFocus,()=>x(!0)),onBlur:xe(e.onBlur,()=>x(!1))})})})})});FX.displayName=iP;var Yje="MenubarPortal",UX=e=>{const{__scopeMenubar:t,...a}=e,o=fn(t);return M.jsx(LO,{...o,...a})};UX.displayName=Yje;var cP="MenubarContent",GX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,align:o="start",...i}=e,s=fn(a),l=BO(cP,a),h=VX(cP,a),f=Wje(a),y=p.useRef(!1);return M.jsx(EO,{id:h.contentId,"aria-labelledby":h.triggerId,"data-radix-menubar-content":"",...s,...i,ref:t,align:o,onCloseAutoFocus:xe(e.onCloseAutoFocus,k=>{var x;!!!l.value&&!y.current&&((x=h.triggerRef.current)==null||x.focus()),y.current=!1,k.preventDefault()}),onFocusOutside:xe(e.onFocusOutside,k=>{const m=k.target;f().some(S=>{var b;return(b=S.ref.current)==null?void 0:b.contains(m)})&&k.preventDefault()}),onInteractOutside:xe(e.onInteractOutside,()=>{y.current=!0}),onEntryFocus:k=>{h.wasKeyboardTriggerOpenRef.current||k.preventDefault()},onKeyDown:xe(e.onKeyDown,k=>{if(["ArrowRight","ArrowLeft"].includes(k.key)){const m=k.target,x=m.hasAttribute("data-radix-menubar-subtrigger"),S=m.closest("[data-radix-menubar-content]")!==k.currentTarget,w=(l.dir==="rtl"?"ArrowRight":"ArrowLeft")===k.key;if(!w&&x||S&&w)return;let L=f().filter(D=>!D.disabled).map(D=>D.value);w&&L.reverse();const I=L.indexOf(h.value);L=l.loop?dPe(L,I+1):L.slice(I+1);const[P]=L;P&&l.onMenuOpen(P)}},{checkForDefaultPrevented:!1}),style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});GX.displayName=cP;var Qje="MenubarGroup",WX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(IO,{...i,...o,ref:t})});WX.displayName=Qje;var Jje="MenubarLabel",ZX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(AO,{...i,...o,ref:t})});ZX.displayName=Jje;var ePe="MenubarItem",XX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(TO,{...i,...o,ref:t})});XX.displayName=ePe;var tPe="MenubarCheckboxItem",KX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(RO,{...i,...o,ref:t})});KX.displayName=tPe;var nPe="MenubarRadioGroup",YX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx($O,{...i,...o,ref:t})});YX.displayName=nPe;var aPe="MenubarRadioItem",QX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(jO,{...i,...o,ref:t})});QX.displayName=aPe;var oPe="MenubarItemIndicator",JX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(PO,{...i,...o,ref:t})});JX.displayName=oPe;var rPe="MenubarSeparator",eK=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(OO,{...i,...o,ref:t})});eK.displayName=rPe;var iPe="MenubarArrow",cPe=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(DO,{...i,...o,ref:t})});cPe.displayName=iPe;var tK="MenubarSub",nK=e=>{const{__scopeMenubar:t,children:a,open:o,onOpenChange:i,defaultOpen:s}=e,l=fn(t),[h,f]=bn({prop:o,defaultProp:s??!1,onChange:i,caller:tK});return M.jsx(zO,{...l,open:h,onOpenChange:f,children:a})};nK.displayName=tK;var sPe="MenubarSubTrigger",aK=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(qO,{"data-radix-menubar-subtrigger":"",...i,...o,ref:t})});aK.displayName=sPe;var lPe="MenubarSubContent",oK=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(HO,{...i,"data-radix-menubar-content":"",...o,ref:t,style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});oK.displayName=lPe;function dPe(e,t){return e.map((a,o)=>e[(t+o)%e.length])}var uPe=HX,hPe=BX,pPe=FX,fPe=UX,yPe=GX,mPe=WX,vPe=ZX,kPe=XX,gPe=KX,MPe=YX,xPe=QX,rK=JX,bPe=eK,wPe=nK,_Pe=aK,SPe=oK;function CPe({className:e,...t}){return M.jsx(uPe,{"data-slot":"menubar",className:ee("bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",e),...t})}function NPe({...e}){return M.jsx(hPe,{"data-slot":"menubar-menu",...e})}function LPe({...e}){return M.jsx(mPe,{"data-slot":"menubar-group",...e})}function iK({...e}){return M.jsx(fPe,{"data-slot":"menubar-portal",...e})}function EPe({...e}){return M.jsx(MPe,{"data-slot":"menubar-radio-group",...e})}function IPe({className:e,...t}){return M.jsx(pPe,{"data-slot":"menubar-trigger",className:ee("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",e),...t})}function APe({className:e,align:t="start",alignOffset:a=-4,sideOffset:o=8,...i}){return M.jsx(iK,{children:M.jsx(yPe,{"data-slot":"menubar-content",align:t,alignOffset:a,sideOffset:o,className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",e),...i})})}function TPe({className:e,inset:t,variant:a="default",...o}){return M.jsx(kPe,{"data-slot":"menubar-item","data-inset":t,"data-variant":a,className:ee("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o})}function RPe({className:e,children:t,checked:a,...o}){return M.jsxs(gPe,{"data-slot":"menubar-checkbox-item",className:ee("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:a,...o,children:[M.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:M.jsx(rK,{children:M.jsx(sr,{className:"size-4"})})}),t]})}function $Pe({className:e,children:t,...a}){return M.jsxs(xPe,{"data-slot":"menubar-radio-item",className:ee("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...a,children:[M.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:M.jsx(rK,{children:M.jsx(O1,{className:"size-2 fill-current"})})}),t]})}function jPe({className:e,inset:t,...a}){return M.jsx(vPe,{"data-slot":"menubar-label","data-inset":t,className:ee("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...a})}function PPe({className:e,...t}){return M.jsx(bPe,{"data-slot":"menubar-separator",className:ee("bg-border -mx-1 my-1 h-px",e),...t})}function OPe({className:e,...t}){return M.jsx("span",{"data-slot":"menubar-shortcut",className:ee("text-muted-foreground ml-auto text-xs tracking-widest",e),...t})}function DPe({...e}){return M.jsx(wPe,{"data-slot":"menubar-sub",...e})}function zPe({className:e,inset:t,children:a,...o}){return M.jsxs(_Pe,{"data-slot":"menubar-sub-trigger","data-inset":t,className:ee("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8",e),...o,children:[a,M.jsx(lr,{className:"ml-auto h-4 w-4"})]})}function qPe({className:e,...t}){return M.jsx(SPe,{"data-slot":"menubar-sub-content",className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",e),...t})}function HPe({className:e,...t}){return M.jsx("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination",className:ee("mx-auto flex w-full justify-center",e),...t})}function VPe({className:e,...t}){return M.jsx("ul",{"data-slot":"pagination-content",className:ee("flex flex-row items-center gap-1",e),...t})}function BPe({...e}){return M.jsx("li",{"data-slot":"pagination-item",...e})}function UO({className:e,isActive:t,size:a="icon",...o}){return M.jsx("a",{"aria-current":t?"page":void 0,"data-slot":"pagination-link","data-active":t,className:ee(QI({variant:t?"outline":"ghost",size:a}),e),...o})}function FPe({className:e,...t}){return M.jsxs(UO,{"aria-label":"Go to previous page",size:"default",className:ee("gap-1 px-2.5 sm:pl-2.5",e),...t,children:[M.jsx(Hd,{}),M.jsx("span",{className:"hidden sm:block",children:"Previous"})]})}function UPe({className:e,...t}){return M.jsxs(UO,{"aria-label":"Go to next page",size:"default",className:ee("gap-1 px-2.5 sm:pr-2.5",e),...t,children:[M.jsx("span",{className:"hidden sm:block",children:"Next"}),M.jsx(lr,{})]})}function GPe({className:e,...t}){return M.jsxs("span",{"aria-hidden":!0,"data-slot":"pagination-ellipsis",className:ee("flex size-9 items-center justify-center",e),...t,children:[M.jsx(Dr,{className:"size-4"}),M.jsx("span",{className:"sr-only",children:"More pages"})]})}function WPe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,ZPe(i,...t)]}function ZPe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function cK(e){const t=XPe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(YPe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function XPe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=JPe(i),h=QPe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var KPe=Symbol("radix.slottable");function YPe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===KPe}function QPe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function JPe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var eOe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],GO=eOe.reduce((e,t)=>{const a=cK(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),tOe="Portal",sK=p.forwardRef((e,t)=>{var h;const{container:a,...o}=e,[i,s]=p.useState(!1);St(()=>s(!0),[]);const l=a||i&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return l?ur.createPortal(M.jsx(GO.div,{...o,ref:t}),l):null});sK.displayName=tOe;var HA="Popover",[lK]=WPe(HA,[Ti]),Y2=Ti(),[nOe,$i]=lK(HA),dK=e=>{const{__scopePopover:t,children:a,open:o,defaultOpen:i,onOpenChange:s,modal:l=!1}=e,h=Y2(t),f=p.useRef(null),[y,k]=p.useState(!1),[m,x]=bn({prop:o,defaultProp:i??!1,onChange:s,caller:HA});return M.jsx(B2,{...h,children:M.jsx(nOe,{scope:t,contentId:It(),triggerRef:f,open:m,onOpenChange:x,onOpenToggle:p.useCallback(()=>x(S=>!S),[x]),hasCustomAnchor:y,onCustomAnchorAdd:p.useCallback(()=>k(!0),[]),onCustomAnchorRemove:p.useCallback(()=>k(!1),[]),modal:l,children:a})})};dK.displayName=HA;var uK="PopoverAnchor",hK=p.forwardRef((e,t)=>{const{__scopePopover:a,...o}=e,i=$i(uK,a),s=Y2(a),{onCustomAnchorAdd:l,onCustomAnchorRemove:h}=i;return p.useEffect(()=>(l(),()=>h()),[l,h]),M.jsx(F2,{...s,...o,ref:t})});hK.displayName=uK;var pK="PopoverTrigger",fK=p.forwardRef((e,t)=>{const{__scopePopover:a,...o}=e,i=$i(pK,a),s=Y2(a),l=ze(t,i.triggerRef),h=M.jsx(GO.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":gK(i.open),...o,ref:l,onClick:xe(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?h:M.jsx(F2,{asChild:!0,...s,children:h})});fK.displayName=pK;var WO="PopoverPortal",[aOe,oOe]=lK(WO,{forceMount:void 0}),yK=e=>{const{__scopePopover:t,forceMount:a,children:o,container:i}=e,s=$i(WO,t);return M.jsx(aOe,{scope:t,forceMount:a,children:M.jsx(Pn,{present:a||s.open,children:M.jsx(sK,{asChild:!0,container:i,children:o})})})};yK.displayName=WO;var Zd="PopoverContent",mK=p.forwardRef((e,t)=>{const a=oOe(Zd,e.__scopePopover),{forceMount:o=a.forceMount,...i}=e,s=$i(Zd,e.__scopePopover);return M.jsx(Pn,{present:o||s.open,children:s.modal?M.jsx(iOe,{...i,ref:t}):M.jsx(cOe,{...i,ref:t})})});mK.displayName=Zd;var rOe=cK("PopoverContent.RemoveScroll"),iOe=p.forwardRef((e,t)=>{const a=$i(Zd,e.__scopePopover),o=p.useRef(null),i=ze(t,o),s=p.useRef(!1);return p.useEffect(()=>{const l=o.current;if(l)return LA(l)},[]),M.jsx(D2,{as:rOe,allowPinchZoom:!0,children:M.jsx(vK,{...e,ref:i,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:xe(e.onCloseAutoFocus,l=>{var h;l.preventDefault(),s.current||(h=a.triggerRef.current)==null||h.focus()}),onPointerDownOutside:xe(e.onPointerDownOutside,l=>{const h=l.detail.originalEvent,f=h.button===0&&h.ctrlKey===!0,y=h.button===2||f;s.current=y},{checkForDefaultPrevented:!1}),onFocusOutside:xe(e.onFocusOutside,l=>l.preventDefault(),{checkForDefaultPrevented:!1})})})}),cOe=p.forwardRef((e,t)=>{const a=$i(Zd,e.__scopePopover),o=p.useRef(!1),i=p.useRef(!1);return M.jsx(vK,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var l,h;(l=e.onCloseAutoFocus)==null||l.call(e,s),s.defaultPrevented||(o.current||(h=a.triggerRef.current)==null||h.focus(),s.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:s=>{var f,y;(f=e.onInteractOutside)==null||f.call(e,s),s.defaultPrevented||(o.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const l=s.target;((y=a.triggerRef.current)==null?void 0:y.contains(l))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),vK=p.forwardRef((e,t)=>{const{__scopePopover:a,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:l,onEscapeKeyDown:h,onPointerDownOutside:f,onFocusOutside:y,onInteractOutside:k,...m}=e,x=$i(Zd,a),S=Y2(a);return CA(),M.jsx(O2,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:s,children:M.jsx(nu,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:k,onEscapeKeyDown:h,onPointerDownOutside:f,onFocusOutside:y,onDismiss:()=>x.onOpenChange(!1),children:M.jsx(PA,{"data-state":gK(x.open),role:"dialog",id:x.contentId,...S,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),kK="PopoverClose",sOe=p.forwardRef((e,t)=>{const{__scopePopover:a,...o}=e,i=$i(kK,a);return M.jsx(GO.button,{type:"button",...o,ref:t,onClick:xe(e.onClick,()=>i.onOpenChange(!1))})});sOe.displayName=kK;var lOe="PopoverArrow",dOe=p.forwardRef((e,t)=>{const{__scopePopover:a,...o}=e,i=Y2(a);return M.jsx(OA,{...i,...o,ref:t})});dOe.displayName=lOe;function gK(e){return e?"open":"closed"}var uOe=dK,hOe=hK,pOe=fK,fOe=yK,yOe=mK;function MK({...e}){return M.jsx(uOe,{"data-slot":"popover",...e})}function xK({...e}){return M.jsx(pOe,{"data-slot":"popover-trigger",...e})}function bK({className:e,align:t="center",sideOffset:a=4,...o}){return M.jsx(fOe,{children:M.jsx(yOe,{"data-slot":"popover-content",align:t,sideOffset:a,className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",e),...o})})}function mOe({...e}){return M.jsx(hOe,{"data-slot":"popover-anchor",...e})}function sA(e,[t,a]){return Math.min(a,Math.max(t,e))}function vOe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,kOe(i,...t)]}function kOe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function wK(e){const t=gOe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(xOe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function gOe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=wOe(i),h=bOe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var MOe=Symbol("radix.slottable");function xOe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===MOe}function bOe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function wOe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var _Oe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],On=_Oe.reduce((e,t)=>{const a=wK(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),SOe="Portal",_K=p.forwardRef((e,t)=>{var h;const{container:a,...o}=e,[i,s]=p.useState(!1);St(()=>s(!0),[]);const l=a||i&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return l?ur.createPortal(M.jsx(On.div,{...o,ref:t}),l):null});_K.displayName=SOe;function COe(e){const t=NOe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(EOe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function NOe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=AOe(i),h=IOe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var LOe=Symbol("radix.slottable");function EOe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===LOe}function IOe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function AOe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var TOe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ROe=TOe.reduce((e,t)=>{const a=COe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),SK=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),$Oe="VisuallyHidden",CK=p.forwardRef((e,t)=>M.jsx(ROe.span,{...e,ref:t,style:{...SK,...e.style}}));CK.displayName=$Oe;var jOe=CK,POe=[" ","Enter","ArrowUp","ArrowDown"],OOe=[" ","Enter"],F1="Select",[VA,BA,DOe]=q2(F1),[cu]=vOe(F1,[DOe,Ti]),FA=Ti(),[zOe,ji]=cu(F1),[qOe,HOe]=cu(F1),NK=e=>{const{__scopeSelect:t,children:a,open:o,defaultOpen:i,onOpenChange:s,value:l,defaultValue:h,onValueChange:f,dir:y,name:k,autoComplete:m,disabled:x,required:S,form:b}=e,w=FA(t),[_,N]=p.useState(null),[L,I]=p.useState(null),[P,D]=p.useState(!1),j=H2(y),[A,$]=bn({prop:o,defaultProp:i??!1,onChange:s,caller:F1}),[B,Z]=bn({prop:l,defaultProp:h,onChange:f,caller:F1}),q=p.useRef(null),V=_?b||!!_.closest("form"):!0,[F,J]=p.useState(new Set),oe=Array.from(F).map(T=>T.props.value).join(";");return M.jsx(B2,{...w,children:M.jsxs(zOe,{required:S,scope:t,trigger:_,onTriggerChange:N,valueNode:L,onValueNodeChange:I,valueNodeHasChildren:P,onValueNodeHasChildrenChange:D,contentId:It(),value:B,onValueChange:Z,open:A,onOpenChange:$,dir:j,triggerPointerDownPosRef:q,disabled:x,children:[M.jsx(VA.Provider,{scope:t,children:M.jsx(qOe,{scope:e.__scopeSelect,onNativeOptionAdd:p.useCallback(T=>{J(O=>new Set(O).add(T))},[]),onNativeOptionRemove:p.useCallback(T=>{J(O=>{const R=new Set(O);return R.delete(T),R})},[]),children:a})}),V?M.jsxs(QK,{"aria-hidden":!0,required:S,tabIndex:-1,name:k,autoComplete:m,value:B,onChange:T=>Z(T.target.value),disabled:x,form:b,children:[B===void 0?M.jsx("option",{value:""}):null,Array.from(F)]},oe):null]})})};NK.displayName=F1;var LK="SelectTrigger",EK=p.forwardRef((e,t)=>{const{__scopeSelect:a,disabled:o=!1,...i}=e,s=FA(a),l=ji(LK,a),h=l.disabled||o,f=ze(t,l.onTriggerChange),y=BA(a),k=p.useRef("touch"),[m,x,S]=eY(w=>{const _=y().filter(I=>!I.disabled),N=_.find(I=>I.value===l.value),L=tY(_,w,N);L!==void 0&&l.onValueChange(L.value)}),b=w=>{h||(l.onOpenChange(!0),S()),w&&(l.triggerPointerDownPosRef.current={x:Math.round(w.pageX),y:Math.round(w.pageY)})};return M.jsx(F2,{asChild:!0,...s,children:M.jsx(On.button,{type:"button",role:"combobox","aria-controls":l.contentId,"aria-expanded":l.open,"aria-required":l.required,"aria-autocomplete":"none",dir:l.dir,"data-state":l.open?"open":"closed",disabled:h,"data-disabled":h?"":void 0,"data-placeholder":JK(l.value)?"":void 0,...i,ref:f,onClick:xe(i.onClick,w=>{w.currentTarget.focus(),k.current!=="mouse"&&b(w)}),onPointerDown:xe(i.onPointerDown,w=>{k.current=w.pointerType;const _=w.target;_.hasPointerCapture(w.pointerId)&&_.releasePointerCapture(w.pointerId),w.button===0&&w.ctrlKey===!1&&w.pointerType==="mouse"&&(b(w),w.preventDefault())}),onKeyDown:xe(i.onKeyDown,w=>{const _=m.current!=="";!(w.ctrlKey||w.altKey||w.metaKey)&&w.key.length===1&&x(w.key),!(_&&w.key===" ")&&POe.includes(w.key)&&(b(),w.preventDefault())})})})});EK.displayName=LK;var IK="SelectValue",AK=p.forwardRef((e,t)=>{const{__scopeSelect:a,className:o,style:i,children:s,placeholder:l="",...h}=e,f=ji(IK,a),{onValueNodeHasChildrenChange:y}=f,k=s!==void 0,m=ze(t,f.onValueNodeChange);return St(()=>{y(k)},[y,k]),M.jsx(On.span,{...h,ref:m,style:{pointerEvents:"none"},children:JK(f.value)?M.jsx(M.Fragment,{children:l}):s})});AK.displayName=IK;var VOe="SelectIcon",TK=p.forwardRef((e,t)=>{const{__scopeSelect:a,children:o,...i}=e;return M.jsx(On.span,{"aria-hidden":!0,...i,ref:t,children:o||"▼"})});TK.displayName=VOe;var BOe="SelectPortal",RK=e=>M.jsx(_K,{asChild:!0,...e});RK.displayName=BOe;var U1="SelectContent",$K=p.forwardRef((e,t)=>{const a=ji(U1,e.__scopeSelect),[o,i]=p.useState();if(St(()=>{i(new DocumentFragment)},[]),!a.open){const s=o;return s?Kd.createPortal(M.jsx(jK,{scope:e.__scopeSelect,children:M.jsx(VA.Slot,{scope:e.__scopeSelect,children:M.jsx("div",{children:e.children})})}),s):null}return M.jsx(PK,{...e,ref:t})});$K.displayName=U1;var ka=10,[jK,Pi]=cu(U1),FOe="SelectContentImpl",UOe=wK("SelectContent.RemoveScroll"),PK=p.forwardRef((e,t)=>{const{__scopeSelect:a,position:o="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:s,onPointerDownOutside:l,side:h,sideOffset:f,align:y,alignOffset:k,arrowPadding:m,collisionBoundary:x,collisionPadding:S,sticky:b,hideWhenDetached:w,avoidCollisions:_,...N}=e,L=ji(U1,a),[I,P]=p.useState(null),[D,j]=p.useState(null),A=ze(t,pe=>P(pe)),[$,B]=p.useState(null),[Z,q]=p.useState(null),V=BA(a),[F,J]=p.useState(!1),oe=p.useRef(!1);p.useEffect(()=>{if(I)return LA(I)},[I]),CA();const T=p.useCallback(pe=>{const[ve,...me]=V().map(se=>se.ref.current),[ge]=me.slice(-1),fe=document.activeElement;for(const se of pe)if(se===fe||(se==null||se.scrollIntoView({block:"nearest"}),se===ve&&D&&(D.scrollTop=0),se===ge&&D&&(D.scrollTop=D.scrollHeight),se==null||se.focus(),document.activeElement!==fe))return},[V,D]),O=p.useCallback(()=>T([$,I]),[T,$,I]);p.useEffect(()=>{F&&O()},[F,O]);const{onOpenChange:R,triggerPointerDownPosRef:G}=L;p.useEffect(()=>{if(I){let pe={x:0,y:0};const ve=ge=>{var fe,se;pe={x:Math.abs(Math.round(ge.pageX)-(((fe=G.current)==null?void 0:fe.x)??0)),y:Math.abs(Math.round(ge.pageY)-(((se=G.current)==null?void 0:se.y)??0))}},me=ge=>{pe.x<=10&&pe.y<=10?ge.preventDefault():I.contains(ge.target)||R(!1),document.removeEventListener("pointermove",ve),G.current=null};return G.current!==null&&(document.addEventListener("pointermove",ve),document.addEventListener("pointerup",me,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ve),document.removeEventListener("pointerup",me,{capture:!0})}}},[I,R,G]),p.useEffect(()=>{const pe=()=>R(!1);return window.addEventListener("blur",pe),window.addEventListener("resize",pe),()=>{window.removeEventListener("blur",pe),window.removeEventListener("resize",pe)}},[R]);const[K,Me]=eY(pe=>{const ve=V().filter(fe=>!fe.disabled),me=ve.find(fe=>fe.ref.current===document.activeElement),ge=tY(ve,pe,me);ge&&setTimeout(()=>ge.ref.current.focus())}),X=p.useCallback((pe,ve,me)=>{const ge=!oe.current&&!me;(L.value!==void 0&&L.value===ve||ge)&&(B(pe),ge&&(oe.current=!0))},[L.value]),ne=p.useCallback(()=>I==null?void 0:I.focus(),[I]),de=p.useCallback((pe,ve,me)=>{const ge=!oe.current&&!me;(L.value!==void 0&&L.value===ve||ge)&&q(pe)},[L.value]),ce=o==="popper"?sP:OK,ye=ce===sP?{side:h,sideOffset:f,align:y,alignOffset:k,arrowPadding:m,collisionBoundary:x,collisionPadding:S,sticky:b,hideWhenDetached:w,avoidCollisions:_}:{};return M.jsx(jK,{scope:a,content:I,viewport:D,onViewportChange:j,itemRefCallback:X,selectedItem:$,onItemLeave:ne,itemTextRefCallback:de,focusSelectedItem:O,selectedItemText:Z,position:o,isPositioned:F,searchRef:K,children:M.jsx(D2,{as:UOe,allowPinchZoom:!0,children:M.jsx(O2,{asChild:!0,trapped:L.open,onMountAutoFocus:pe=>{pe.preventDefault()},onUnmountAutoFocus:xe(i,pe=>{var ve;(ve=L.trigger)==null||ve.focus({preventScroll:!0}),pe.preventDefault()}),children:M.jsx(nu,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:pe=>pe.preventDefault(),onDismiss:()=>L.onOpenChange(!1),children:M.jsx(ce,{role:"listbox",id:L.contentId,"data-state":L.open?"open":"closed",dir:L.dir,onContextMenu:pe=>pe.preventDefault(),...N,...ye,onPlaced:()=>J(!0),ref:A,style:{display:"flex",flexDirection:"column",outline:"none",...N.style},onKeyDown:xe(N.onKeyDown,pe=>{const ve=pe.ctrlKey||pe.altKey||pe.metaKey;if(pe.key==="Tab"&&pe.preventDefault(),!ve&&pe.key.length===1&&Me(pe.key),["ArrowUp","ArrowDown","Home","End"].includes(pe.key)){let ge=V().filter(fe=>!fe.disabled).map(fe=>fe.ref.current);if(["ArrowUp","End"].includes(pe.key)&&(ge=ge.slice().reverse()),["ArrowUp","ArrowDown"].includes(pe.key)){const fe=pe.target,se=ge.indexOf(fe);ge=ge.slice(se+1)}setTimeout(()=>T(ge)),pe.preventDefault()}})})})})})})});PK.displayName=FOe;var GOe="SelectItemAlignedPosition",OK=p.forwardRef((e,t)=>{const{__scopeSelect:a,onPlaced:o,...i}=e,s=ji(U1,a),l=Pi(U1,a),[h,f]=p.useState(null),[y,k]=p.useState(null),m=ze(t,A=>k(A)),x=BA(a),S=p.useRef(!1),b=p.useRef(!0),{viewport:w,selectedItem:_,selectedItemText:N,focusSelectedItem:L}=l,I=p.useCallback(()=>{if(s.trigger&&s.valueNode&&h&&y&&w&&_&&N){const A=s.trigger.getBoundingClientRect(),$=y.getBoundingClientRect(),B=s.valueNode.getBoundingClientRect(),Z=N.getBoundingClientRect();if(s.dir!=="rtl"){const fe=Z.left-$.left,se=B.left-fe,Ee=A.left-se,$e=A.width+Ee,st=Math.max($e,$.width),Ve=window.innerWidth-ka,tt=sA(se,[ka,Math.max(ka,Ve-st)]);h.style.minWidth=$e+"px",h.style.left=tt+"px"}else{const fe=$.right-Z.right,se=window.innerWidth-B.right-fe,Ee=window.innerWidth-A.right-se,$e=A.width+Ee,st=Math.max($e,$.width),Ve=window.innerWidth-ka,tt=sA(se,[ka,Math.max(ka,Ve-st)]);h.style.minWidth=$e+"px",h.style.right=tt+"px"}const q=x(),V=window.innerHeight-ka*2,F=w.scrollHeight,J=window.getComputedStyle(y),oe=parseInt(J.borderTopWidth,10),T=parseInt(J.paddingTop,10),O=parseInt(J.borderBottomWidth,10),R=parseInt(J.paddingBottom,10),G=oe+T+F+R+O,K=Math.min(_.offsetHeight*5,G),Me=window.getComputedStyle(w),X=parseInt(Me.paddingTop,10),ne=parseInt(Me.paddingBottom,10),de=A.top+A.height/2-ka,ce=V-de,ye=_.offsetHeight/2,pe=_.offsetTop+ye,ve=oe+T+pe,me=G-ve;if(ve<=de){const fe=q.length>0&&_===q[q.length-1].ref.current;h.style.bottom="0px";const se=y.clientHeight-w.offsetTop-w.offsetHeight,Ee=Math.max(ce,ye+(fe?ne:0)+se+O),$e=ve+Ee;h.style.height=$e+"px"}else{const fe=q.length>0&&_===q[0].ref.current;h.style.top="0px";const Ee=Math.max(de,oe+w.offsetTop+(fe?X:0)+ye)+me;h.style.height=Ee+"px",w.scrollTop=ve-de+w.offsetTop}h.style.margin=`${ka}px 0`,h.style.minHeight=K+"px",h.style.maxHeight=V+"px",o==null||o(),requestAnimationFrame(()=>S.current=!0)}},[x,s.trigger,s.valueNode,h,y,w,_,N,s.dir,o]);St(()=>I(),[I]);const[P,D]=p.useState();St(()=>{y&&D(window.getComputedStyle(y).zIndex)},[y]);const j=p.useCallback(A=>{A&&b.current===!0&&(I(),L==null||L(),b.current=!1)},[I,L]);return M.jsx(ZOe,{scope:a,contentWrapper:h,shouldExpandOnScrollRef:S,onScrollButtonChange:j,children:M.jsx("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P},children:M.jsx(On.div,{...i,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});OK.displayName=GOe;var WOe="SelectPopperPosition",sP=p.forwardRef((e,t)=>{const{__scopeSelect:a,align:o="start",collisionPadding:i=ka,...s}=e,l=FA(a);return M.jsx(PA,{...l,...s,ref:t,align:o,collisionPadding:i,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});sP.displayName=WOe;var[ZOe,ZO]=cu(U1,{}),lP="SelectViewport",DK=p.forwardRef((e,t)=>{const{__scopeSelect:a,nonce:o,...i}=e,s=Pi(lP,a),l=ZO(lP,a),h=ze(t,s.onViewportChange),f=p.useRef(0);return M.jsxs(M.Fragment,{children:[M.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),M.jsx(VA.Slot,{scope:a,children:M.jsx(On.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:h,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:xe(i.onScroll,y=>{const k=y.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:x}=l;if(x!=null&&x.current&&m){const S=Math.abs(f.current-k.scrollTop);if(S>0){const b=window.innerHeight-ka*2,w=parseFloat(m.style.minHeight),_=parseFloat(m.style.height),N=Math.max(w,_);if(N<b){const L=N+S,I=Math.min(b,L),P=L-I;m.style.height=I+"px",m.style.bottom==="0px"&&(k.scrollTop=P>0?P:0,m.style.justifyContent="flex-end")}}}f.current=k.scrollTop})})})]})});DK.displayName=lP;var zK="SelectGroup",[XOe,KOe]=cu(zK),qK=p.forwardRef((e,t)=>{const{__scopeSelect:a,...o}=e,i=It();return M.jsx(XOe,{scope:a,id:i,children:M.jsx(On.div,{role:"group","aria-labelledby":i,...o,ref:t})})});qK.displayName=zK;var HK="SelectLabel",VK=p.forwardRef((e,t)=>{const{__scopeSelect:a,...o}=e,i=KOe(HK,a);return M.jsx(On.div,{id:i.id,...o,ref:t})});VK.displayName=HK;var lA="SelectItem",[YOe,BK]=cu(lA),FK=p.forwardRef((e,t)=>{const{__scopeSelect:a,value:o,disabled:i=!1,textValue:s,...l}=e,h=ji(lA,a),f=Pi(lA,a),y=h.value===o,[k,m]=p.useState(s??""),[x,S]=p.useState(!1),b=ze(t,L=>{var I;return(I=f.itemRefCallback)==null?void 0:I.call(f,L,o,i)}),w=It(),_=p.useRef("touch"),N=()=>{i||(h.onValueChange(o),h.onOpenChange(!1))};if(o==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return M.jsx(YOe,{scope:a,value:o,disabled:i,textId:w,isSelected:y,onItemTextChange:p.useCallback(L=>{m(I=>I||((L==null?void 0:L.textContent)??"").trim())},[]),children:M.jsx(VA.ItemSlot,{scope:a,value:o,disabled:i,textValue:k,children:M.jsx(On.div,{role:"option","aria-labelledby":w,"data-highlighted":x?"":void 0,"aria-selected":y&&x,"data-state":y?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...l,ref:b,onFocus:xe(l.onFocus,()=>S(!0)),onBlur:xe(l.onBlur,()=>S(!1)),onClick:xe(l.onClick,()=>{_.current!=="mouse"&&N()}),onPointerUp:xe(l.onPointerUp,()=>{_.current==="mouse"&&N()}),onPointerDown:xe(l.onPointerDown,L=>{_.current=L.pointerType}),onPointerMove:xe(l.onPointerMove,L=>{var I;_.current=L.pointerType,i?(I=f.onItemLeave)==null||I.call(f):_.current==="mouse"&&L.currentTarget.focus({preventScroll:!0})}),onPointerLeave:xe(l.onPointerLeave,L=>{var I;L.currentTarget===document.activeElement&&((I=f.onItemLeave)==null||I.call(f))}),onKeyDown:xe(l.onKeyDown,L=>{var P;((P=f.searchRef)==null?void 0:P.current)!==""&&L.key===" "||(OOe.includes(L.key)&&N(),L.key===" "&&L.preventDefault())})})})})});FK.displayName=lA;var h2="SelectItemText",UK=p.forwardRef((e,t)=>{const{__scopeSelect:a,className:o,style:i,...s}=e,l=ji(h2,a),h=Pi(h2,a),f=BK(h2,a),y=HOe(h2,a),[k,m]=p.useState(null),x=ze(t,N=>m(N),f.onItemTextChange,N=>{var L;return(L=h.itemTextRefCallback)==null?void 0:L.call(h,N,f.value,f.disabled)}),S=k==null?void 0:k.textContent,b=p.useMemo(()=>M.jsx("option",{value:f.value,disabled:f.disabled,children:S},f.value),[f.disabled,f.value,S]),{onNativeOptionAdd:w,onNativeOptionRemove:_}=y;return St(()=>(w(b),()=>_(b)),[w,_,b]),M.jsxs(M.Fragment,{children:[M.jsx(On.span,{id:f.textId,...s,ref:x}),f.isSelected&&l.valueNode&&!l.valueNodeHasChildren?Kd.createPortal(s.children,l.valueNode):null]})});UK.displayName=h2;var GK="SelectItemIndicator",WK=p.forwardRef((e,t)=>{const{__scopeSelect:a,...o}=e;return BK(GK,a).isSelected?M.jsx(On.span,{"aria-hidden":!0,...o,ref:t}):null});WK.displayName=GK;var dP="SelectScrollUpButton",ZK=p.forwardRef((e,t)=>{const a=Pi(dP,e.__scopeSelect),o=ZO(dP,e.__scopeSelect),[i,s]=p.useState(!1),l=ze(t,o.onScrollButtonChange);return St(()=>{if(a.viewport&&a.isPositioned){let h=function(){const y=f.scrollTop>0;s(y)};const f=a.viewport;return h(),f.addEventListener("scroll",h),()=>f.removeEventListener("scroll",h)}},[a.viewport,a.isPositioned]),i?M.jsx(KK,{...e,ref:l,onAutoScroll:()=>{const{viewport:h,selectedItem:f}=a;h&&f&&(h.scrollTop=h.scrollTop-f.offsetHeight)}}):null});ZK.displayName=dP;var uP="SelectScrollDownButton",XK=p.forwardRef((e,t)=>{const a=Pi(uP,e.__scopeSelect),o=ZO(uP,e.__scopeSelect),[i,s]=p.useState(!1),l=ze(t,o.onScrollButtonChange);return St(()=>{if(a.viewport&&a.isPositioned){let h=function(){const y=f.scrollHeight-f.clientHeight,k=Math.ceil(f.scrollTop)<y;s(k)};const f=a.viewport;return h(),f.addEventListener("scroll",h),()=>f.removeEventListener("scroll",h)}},[a.viewport,a.isPositioned]),i?M.jsx(KK,{...e,ref:l,onAutoScroll:()=>{const{viewport:h,selectedItem:f}=a;h&&f&&(h.scrollTop=h.scrollTop+f.offsetHeight)}}):null});XK.displayName=uP;var KK=p.forwardRef((e,t)=>{const{__scopeSelect:a,onAutoScroll:o,...i}=e,s=Pi("SelectScrollButton",a),l=p.useRef(null),h=BA(a),f=p.useCallback(()=>{l.current!==null&&(window.clearInterval(l.current),l.current=null)},[]);return p.useEffect(()=>()=>f(),[f]),St(()=>{var k;const y=h().find(m=>m.ref.current===document.activeElement);(k=y==null?void 0:y.ref.current)==null||k.scrollIntoView({block:"nearest"})},[h]),M.jsx(On.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:xe(i.onPointerDown,()=>{l.current===null&&(l.current=window.setInterval(o,50))}),onPointerMove:xe(i.onPointerMove,()=>{var y;(y=s.onItemLeave)==null||y.call(s),l.current===null&&(l.current=window.setInterval(o,50))}),onPointerLeave:xe(i.onPointerLeave,()=>{f()})})}),QOe="SelectSeparator",YK=p.forwardRef((e,t)=>{const{__scopeSelect:a,...o}=e;return M.jsx(On.div,{"aria-hidden":!0,...o,ref:t})});YK.displayName=QOe;var hP="SelectArrow",JOe=p.forwardRef((e,t)=>{const{__scopeSelect:a,...o}=e,i=FA(a),s=ji(hP,a),l=Pi(hP,a);return s.open&&l.position==="popper"?M.jsx(OA,{...i,...o,ref:t}):null});JOe.displayName=hP;var eDe="SelectBubbleInput",QK=p.forwardRef(({__scopeSelect:e,value:t,...a},o)=>{const i=p.useRef(null),s=ze(o,i),l=bA(t);return p.useEffect(()=>{const h=i.current;if(!h)return;const f=window.HTMLSelectElement.prototype,k=Object.getOwnPropertyDescriptor(f,"value").set;if(l!==t&&k){const m=new Event("change",{bubbles:!0});k.call(h,t),h.dispatchEvent(m)}},[l,t]),M.jsx(On.select,{...a,style:{...SK,...a.style},ref:s,defaultValue:t})});QK.displayName=eDe;function JK(e){return e===""||e===void 0}function eY(e){const t=Zn(e),a=p.useRef(""),o=p.useRef(0),i=p.useCallback(l=>{const h=a.current+l;t(h),(function f(y){a.current=y,window.clearTimeout(o.current),y!==""&&(o.current=window.setTimeout(()=>f(""),1e3))})(h)},[t]),s=p.useCallback(()=>{a.current="",window.clearTimeout(o.current)},[]);return p.useEffect(()=>()=>window.clearTimeout(o.current),[]),[a,i,s]}function tY(e,t,a){const i=t.length>1&&Array.from(t).every(y=>y===t[0])?t[0]:t,s=a?e.indexOf(a):-1;let l=tDe(e,Math.max(s,0));i.length===1&&(l=l.filter(y=>y!==a));const f=l.find(y=>y.textValue.toLowerCase().startsWith(i.toLowerCase()));return f!==a?f:void 0}function tDe(e,t){return e.map((a,o)=>e[(t+o)%e.length])}var nDe=NK,aDe=EK,oDe=AK,rDe=TK,iDe=RK,cDe=$K,sDe=DK,lDe=qK,dDe=VK,uDe=FK,hDe=UK,pDe=WK,fDe=ZK,yDe=XK,mDe=YK;function vDe({...e}){return M.jsx(nDe,{"data-slot":"select",...e})}function kDe({...e}){return M.jsx(lDe,{"data-slot":"select-group",...e})}function gDe({...e}){return M.jsx(oDe,{"data-slot":"select-value",...e})}function MDe({className:e,size:t="default",children:a,...o}){return M.jsxs(aDe,{"data-slot":"select-trigger","data-size":t,className:ee("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[2px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o,children:[a,M.jsx(rDe,{asChild:!0,children:M.jsx(xi,{className:"size-4 opacity-50"})})]})}function xDe({className:e,children:t,position:a="popper",...o}){return M.jsx(iDe,{children:M.jsxs(cDe,{"data-slot":"select-content",className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:a,...o,children:[M.jsx(nY,{}),M.jsx(sDe,{className:ee("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),M.jsx(aY,{})]})})}function bDe({className:e,...t}){return M.jsx(dDe,{"data-slot":"select-label",className:ee("text-muted-foreground px-2 py-1.5 text-xs",e),...t})}function wDe({className:e,children:t,...a}){return M.jsxs(uDe,{"data-slot":"select-item",className:ee("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...a,children:[M.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:M.jsx(pDe,{children:M.jsx(sr,{className:"size-4"})})}),M.jsx(hDe,{children:t})]})}function _De({className:e,...t}){return M.jsx(mDe,{"data-slot":"select-separator",className:ee("bg-border pointer-events-none -mx-1 my-1 h-px",e),...t})}function nY({className:e,...t}){return M.jsx(fDe,{"data-slot":"select-scroll-up-button",className:ee("flex cursor-default items-center justify-center py-1",e),...t,children:M.jsx(m2,{className:"size-4"})})}function aY({className:e,...t}){return M.jsx(yDe,{"data-slot":"select-scroll-down-button",className:ee("flex cursor-default items-center justify-center py-1",e),...t,children:M.jsx(xi,{className:"size-4"})})}var SDe="Separator",gF="horizontal",CDe=["horizontal","vertical"],oY=p.forwardRef((e,t)=>{const{decorative:a,orientation:o=gF,...i}=e,s=NDe(o)?o:gF,h=a?{role:"none"}:{"aria-orientation":s==="vertical"?s:void 0,role:"separator"};return M.jsx(jn.div,{"data-orientation":s,...h,...i,ref:t})});oY.displayName=SDe;function NDe(e){return CDe.includes(e)}var LDe=oY;function XO({className:e,orientation:t="horizontal",decorative:a=!0,...o}){return M.jsx(LDe,{"data-slot":"separator-root",decorative:a,orientation:t,className:ee("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...o})}function rY({...e}){return M.jsx(oO,{"data-slot":"sheet",...e})}function EDe({...e}){return M.jsx(bW,{"data-slot":"sheet-trigger",...e})}function IDe({...e}){return M.jsx(IA,{"data-slot":"sheet-close",...e})}function ADe({...e}){return M.jsx(rO,{"data-slot":"sheet-portal",...e})}function TDe({className:e,...t}){return M.jsx(iO,{"data-slot":"sheet-overlay",className:ee("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-[1002] bg-black/50",e),...t})}function iY({className:e,children:t,side:a="right",...o}){return M.jsxs(ADe,{children:[M.jsx(TDe,{}),M.jsxs(cO,{"data-slot":"sheet-content",className:ee("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",a==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",a==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",a==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",a==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...o,children:[t,M.jsxs(IA,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[M.jsx(bi,{className:"size-4"}),M.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function cY({className:e,...t}){return M.jsx("div",{"data-slot":"sheet-header",className:ee("flex flex-col gap-1.5 p-4",e),...t})}function RDe({className:e,...t}){return M.jsx("div",{"data-slot":"sheet-footer",className:ee("mt-auto flex flex-col gap-2 p-4",e),...t})}function sY({className:e,...t}){return M.jsx(wW,{"data-slot":"sheet-title",className:ee("text-foreground font-semibold",e),...t})}function lY({className:e,...t}){return M.jsx(_W,{"data-slot":"sheet-description",className:ee("text-muted-foreground text-sm",e),...t})}const Tj=768;function $De(){const[e,t]=p.useState(void 0);return p.useEffect(()=>{const a=window.matchMedia(`(max-width: ${Tj-1}px)`),o=()=>{t(window.innerWidth<Tj)};return a.addEventListener("change",o),t(window.innerWidth<Tj),()=>a.removeEventListener("change",o)},[]),!!e}function pP({className:e,...t}){return M.jsx("div",{"data-slot":"skeleton",className:ee("bg-accent animate-pulse rounded-md",e),...t})}function jDe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,PDe(i,...t)]}function PDe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function ODe(e){const t=DDe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(qDe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function DDe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=VDe(i),h=HDe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var dY=Symbol("radix.slottable");function zDe(e){const t=({children:a})=>M.jsx(M.Fragment,{children:a});return t.displayName=`${e}.Slottable`,t.__radixId=dY,t}function qDe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===dY}function HDe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function VDe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var BDe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],uY=BDe.reduce((e,t)=>{const a=ODe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),FDe="Portal",hY=p.forwardRef((e,t)=>{var h;const{container:a,...o}=e,[i,s]=p.useState(!1);St(()=>s(!0),[]);const l=a||i&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return l?ur.createPortal(M.jsx(uY.div,{...o,ref:t}),l):null});hY.displayName=FDe;var[UA]=jDe("Tooltip",[Ti]),GA=Ti(),pY="TooltipProvider",UDe=700,fP="tooltip.open",[GDe,KO]=UA(pY),fY=e=>{const{__scopeTooltip:t,delayDuration:a=UDe,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:s}=e,l=p.useRef(!0),h=p.useRef(!1),f=p.useRef(0);return p.useEffect(()=>{const y=f.current;return()=>window.clearTimeout(y)},[]),M.jsx(GDe,{scope:t,isOpenDelayedRef:l,delayDuration:a,onOpen:p.useCallback(()=>{window.clearTimeout(f.current),l.current=!1},[]),onClose:p.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>l.current=!0,o)},[o]),isPointerInTransitRef:h,onPointerInTransitChange:p.useCallback(y=>{h.current=y},[]),disableHoverableContent:i,children:s})};fY.displayName=pY;var N2="Tooltip",[WDe,Q2]=UA(N2),yY=e=>{const{__scopeTooltip:t,children:a,open:o,defaultOpen:i,onOpenChange:s,disableHoverableContent:l,delayDuration:h}=e,f=KO(N2,e.__scopeTooltip),y=GA(t),[k,m]=p.useState(null),x=It(),S=p.useRef(0),b=l??f.disableHoverableContent,w=h??f.delayDuration,_=p.useRef(!1),[N,L]=bn({prop:o,defaultProp:i??!1,onChange:A=>{A?(f.onOpen(),document.dispatchEvent(new CustomEvent(fP))):f.onClose(),s==null||s(A)},caller:N2}),I=p.useMemo(()=>N?_.current?"delayed-open":"instant-open":"closed",[N]),P=p.useCallback(()=>{window.clearTimeout(S.current),S.current=0,_.current=!1,L(!0)},[L]),D=p.useCallback(()=>{window.clearTimeout(S.current),S.current=0,L(!1)},[L]),j=p.useCallback(()=>{window.clearTimeout(S.current),S.current=window.setTimeout(()=>{_.current=!0,L(!0),S.current=0},w)},[w,L]);return p.useEffect(()=>()=>{S.current&&(window.clearTimeout(S.current),S.current=0)},[]),M.jsx(B2,{...y,children:M.jsx(WDe,{scope:t,contentId:x,open:N,stateAttribute:I,trigger:k,onTriggerChange:m,onTriggerEnter:p.useCallback(()=>{f.isOpenDelayedRef.current?j():P()},[f.isOpenDelayedRef,j,P]),onTriggerLeave:p.useCallback(()=>{b?D():(window.clearTimeout(S.current),S.current=0)},[D,b]),onOpen:P,onClose:D,disableHoverableContent:b,children:a})})};yY.displayName=N2;var yP="TooltipTrigger",mY=p.forwardRef((e,t)=>{const{__scopeTooltip:a,...o}=e,i=Q2(yP,a),s=KO(yP,a),l=GA(a),h=p.useRef(null),f=ze(t,h,i.onTriggerChange),y=p.useRef(!1),k=p.useRef(!1),m=p.useCallback(()=>y.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),M.jsx(F2,{asChild:!0,...l,children:M.jsx(uY.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...o,ref:f,onPointerMove:xe(e.onPointerMove,x=>{x.pointerType!=="touch"&&!k.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),k.current=!0)}),onPointerLeave:xe(e.onPointerLeave,()=>{i.onTriggerLeave(),k.current=!1}),onPointerDown:xe(e.onPointerDown,()=>{i.open&&i.onClose(),y.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:xe(e.onFocus,()=>{y.current||i.onOpen()}),onBlur:xe(e.onBlur,i.onClose),onClick:xe(e.onClick,i.onClose)})})});mY.displayName=yP;var YO="TooltipPortal",[ZDe,XDe]=UA(YO,{forceMount:void 0}),vY=e=>{const{__scopeTooltip:t,forceMount:a,children:o,container:i}=e,s=Q2(YO,t);return M.jsx(ZDe,{scope:t,forceMount:a,children:M.jsx(Pn,{present:a||s.open,children:M.jsx(hY,{asChild:!0,container:i,children:o})})})};vY.displayName=YO;var Xd="TooltipContent",kY=p.forwardRef((e,t)=>{const a=XDe(Xd,e.__scopeTooltip),{forceMount:o=a.forceMount,side:i="top",...s}=e,l=Q2(Xd,e.__scopeTooltip);return M.jsx(Pn,{present:o||l.open,children:l.disableHoverableContent?M.jsx(gY,{side:i,...s,ref:t}):M.jsx(KDe,{side:i,...s,ref:t})})}),KDe=p.forwardRef((e,t)=>{const a=Q2(Xd,e.__scopeTooltip),o=KO(Xd,e.__scopeTooltip),i=p.useRef(null),s=ze(t,i),[l,h]=p.useState(null),{trigger:f,onClose:y}=a,k=i.current,{onPointerInTransitChange:m}=o,x=p.useCallback(()=>{h(null),m(!1)},[m]),S=p.useCallback((b,w)=>{const _=b.currentTarget,N={x:b.clientX,y:b.clientY},L=eze(N,_.getBoundingClientRect()),I=tze(N,L),P=nze(w.getBoundingClientRect()),D=oze([...I,...P]);h(D),m(!0)},[m]);return p.useEffect(()=>()=>x(),[x]),p.useEffect(()=>{if(f&&k){const b=_=>S(_,k),w=_=>S(_,f);return f.addEventListener("pointerleave",b),k.addEventListener("pointerleave",w),()=>{f.removeEventListener("pointerleave",b),k.removeEventListener("pointerleave",w)}}},[f,k,S,x]),p.useEffect(()=>{if(l){const b=w=>{const _=w.target,N={x:w.clientX,y:w.clientY},L=(f==null?void 0:f.contains(_))||(k==null?void 0:k.contains(_)),I=!aze(N,l);L?x():I&&(x(),y())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[f,k,l,y,x]),M.jsx(gY,{...e,ref:s})}),[YDe,QDe]=UA(N2,{isInside:!1}),JDe=zDe("TooltipContent"),gY=p.forwardRef((e,t)=>{const{__scopeTooltip:a,children:o,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:l,...h}=e,f=Q2(Xd,a),y=GA(a),{onClose:k}=f;return p.useEffect(()=>(document.addEventListener(fP,k),()=>document.removeEventListener(fP,k)),[k]),p.useEffect(()=>{if(f.trigger){const m=x=>{const S=x.target;S!=null&&S.contains(f.trigger)&&k()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[f.trigger,k]),M.jsx(nu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:m=>m.preventDefault(),onDismiss:k,children:M.jsxs(PA,{"data-state":f.stateAttribute,...y,...h,ref:t,style:{...h.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[M.jsx(JDe,{children:o}),M.jsx(YDe,{scope:a,isInside:!0,children:M.jsx(jOe,{id:f.contentId,role:"tooltip",children:i||o})})]})})});kY.displayName=Xd;var MY="TooltipArrow",xY=p.forwardRef((e,t)=>{const{__scopeTooltip:a,...o}=e,i=GA(a);return QDe(MY,a).isInside?null:M.jsx(OA,{...i,...o,ref:t})});xY.displayName=MY;function eze(e,t){const a=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(a,o,i,s)){case s:return"left";case i:return"right";case a:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function tze(e,t,a=5){const o=[];switch(t){case"top":o.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":o.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":o.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":o.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a});break}return o}function nze(e){const{top:t,right:a,bottom:o,left:i}=e;return[{x:i,y:t},{x:a,y:t},{x:a,y:o},{x:i,y:o}]}function aze(e,t){const{x:a,y:o}=e;let i=!1;for(let s=0,l=t.length-1;s<t.length;l=s++){const h=t[s],f=t[l],y=h.x,k=h.y,m=f.x,x=f.y;k>o!=x>o&&a<(m-y)*(o-k)/(x-k)+y&&(i=!i)}return i}function oze(e){const t=e.slice();return t.sort((a,o)=>a.x<o.x?-1:a.x>o.x?1:a.y<o.y?-1:a.y>o.y?1:0),rze(t)}function rze(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const i=e[o];for(;t.length>=2;){const s=t[t.length-1],l=t[t.length-2];if((s.x-l.x)*(i.y-l.y)>=(s.y-l.y)*(i.x-l.x))t.pop();else break}t.push(i)}t.pop();const a=[];for(let o=e.length-1;o>=0;o--){const i=e[o];for(;a.length>=2;){const s=a[a.length-1],l=a[a.length-2];if((s.x-l.x)*(i.y-l.y)>=(s.y-l.y)*(i.x-l.x))a.pop();else break}a.push(i)}return a.pop(),t.length===1&&a.length===1&&t[0].x===a[0].x&&t[0].y===a[0].y?t:t.concat(a)}var ize=fY,cze=yY,sze=mY,lze=vY,dze=kY,uze=xY;function QO({delayDuration:e=0,...t}){return M.jsx(ize,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function bY({...e}){return M.jsx(QO,{children:M.jsx(cze,{"data-slot":"tooltip",...e})})}function wY({...e}){return M.jsx(sze,{"data-slot":"tooltip-trigger",...e})}function _Y({className:e,sideOffset:t=0,children:a,...o}){return M.jsx(lze,{children:M.jsxs(dze,{"data-slot":"tooltip-content",sideOffset:t,className:ee("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",e),...o,children:[a,M.jsx(uze,{className:"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})})}const hze="sidebar_state",pze=3600*24*7,fze="16rem",yze="18rem",mze="3rem",vze="b",SY=p.createContext(null);function J2(){const e=p.useContext(SY);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function kze({defaultOpen:e=!0,open:t,onOpenChange:a,className:o,style:i,children:s,...l}){const h=$De(),[f,y]=p.useState(!1),[k,m]=p.useState(e),x=t??k,S=p.useCallback(N=>{const L=typeof N=="function"?N(x):N;a?a(L):m(L),document.cookie=`${hze}=${L}; path=/; max-age=${pze}`},[a,x]),b=p.useCallback(()=>h?y(N=>!N):S(N=>!N),[h,S,y]);p.useEffect(()=>{const N=L=>{L.key===vze&&(L.metaKey||L.ctrlKey)&&(L.preventDefault(),b())};return window.addEventListener("keydown",N),()=>window.removeEventListener("keydown",N)},[b]);const w=x?"expanded":"collapsed",_=p.useMemo(()=>({state:w,open:x,setOpen:S,isMobile:h,openMobile:f,setOpenMobile:y,toggleSidebar:b}),[w,x,S,h,f,y,b]);return M.jsx(SY.Provider,{value:_,children:M.jsx(QO,{delayDuration:0,children:M.jsx("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":fze,"--sidebar-width-icon":mze,...i},className:ee("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",o),...l,children:s})})})}function gze({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:o,children:i,...s}){const{isMobile:l,state:h,openMobile:f,setOpenMobile:y}=J2();return a==="none"?M.jsx("div",{"data-slot":"sidebar",className:ee("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",o),...s,children:i}):l?M.jsx(rY,{open:f,onOpenChange:y,...s,children:M.jsxs(iY,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden z-[1002]",style:{"--sidebar-width":yze},side:e,children:[M.jsxs(cY,{className:"sr-only",children:[M.jsx(sY,{children:"Sidebar"}),M.jsx(lY,{children:"Displays the mobile sidebar."})]}),M.jsx("div",{className:"flex h-full w-full flex-col",children:i})]})}):M.jsxs("div",{className:"group peer text-sidebar-foreground hidden md:block","data-state":h,"data-collapsible":h==="collapsed"?a:"","data-variant":t,"data-side":e,"data-slot":"sidebar",children:[M.jsx("div",{"data-slot":"sidebar-gap",className:ee("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),M.jsx("div",{"data-slot":"sidebar-container",className:ee("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...s,children:M.jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",children:i})})]})}function Mze({className:e,onClick:t,...a}){const{toggleSidebar:o}=J2();return M.jsxs(MA,{"data-sidebar":"trigger","data-slot":"sidebar-trigger",variant:"ghost",size:"icon",className:ee("size-7",e),onClick:i=>{t==null||t(i),o()},...a,children:[M.jsx(vi,{}),M.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}function xze({className:e,...t}){const{toggleSidebar:a}=J2();return M.jsx("button",{"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:a,title:"Toggle Sidebar",className:ee("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})}function bze({className:e,...t}){return M.jsx("main",{"data-slot":"sidebar-inset",className:ee("bg-background relative flex w-full flex-1 flex-col","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",e),...t})}function wze({className:e,...t}){return M.jsx(PX,{"data-slot":"sidebar-input","data-sidebar":"input",className:ee("bg-background h-8 w-full shadow-none",e),...t})}function _ze({className:e,...t}){return M.jsx("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:ee("flex flex-col gap-2 p-2",e),...t})}function Sze({className:e,...t}){return M.jsx("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:ee("flex flex-col gap-2 p-2",e),...t})}function Cze({className:e,...t}){return M.jsx(XO,{"data-slot":"sidebar-separator","data-sidebar":"separator",className:ee("bg-sidebar-border mx-2 w-auto",e),...t})}function Nze({className:e,...t}){return M.jsx("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:ee("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t})}function Lze({className:e,...t}){return M.jsx("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:ee("relative flex w-full min-w-0 flex-col p-2",e),...t})}function Eze({className:e,asChild:t=!1,...a}){const o=t?Ii:"div";return M.jsx(o,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:ee("text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...a})}function Ize({className:e,asChild:t=!1,...a}){const o=t?Ii:"button";return M.jsx(o,{"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:ee("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",e),...a})}function Aze({className:e,...t}){return M.jsx("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:ee("w-full text-sm",e),...t})}function Tze({className:e,...t}){return M.jsx("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:ee("flex w-full min-w-0 flex-col gap-1",e),...t})}function Rze({className:e,...t}){return M.jsx("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:ee("group/menu-item relative",e),...t})}const $ze=gA("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function jze({asChild:e=!1,isActive:t=!1,variant:a="default",size:o="default",tooltip:i,className:s,...l}){const h=e?Ii:"button",{isMobile:f,state:y}=J2(),k=M.jsx(h,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":o,"data-active":t,className:ee($ze({variant:a,size:o}),s),...l});return i?(typeof i=="string"&&(i={children:i}),M.jsxs(bY,{children:[M.jsx(wY,{asChild:!0,children:k}),M.jsx(_Y,{side:"right",align:"center",hidden:y!=="collapsed"||f,...i})]})):k}function Pze({className:e,asChild:t=!1,showOnHover:a=!1,...o}){const i=t?Ii:"button";return M.jsx(i,{"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:ee("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",e),...o})}function Oze({className:e,...t}){return M.jsx("div",{"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:ee("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t})}function Dze({className:e,showIcon:t=!1,...a}){const o=p.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return M.jsxs("div",{"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:ee("flex h-8 items-center gap-2 rounded-md px-2",e),...a,children:[t&&M.jsx(pP,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),M.jsx(pP,{className:"h-4 max-w-(--skeleton-width) flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})}function zze({className:e,...t}){return M.jsx("ul",{"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:ee("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t})}function qze({className:e,...t}){return M.jsx("li",{"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:ee("group/menu-sub-item relative",e),...t})}function Hze({asChild:e=!1,size:t="md",isActive:a=!1,className:o,...i}){const s=e?Ii:"a";return M.jsx(s,{"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:ee("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...i})}function Vze(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,Bze(i,...t)]}function Bze(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function Fze(e){const t=Uze(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(Wze);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function Uze(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=Xze(i),h=Zze(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Gze=Symbol("radix.slottable");function Wze(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Gze}function Zze(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function Xze(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var Kze=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],e0=Kze.reduce((e,t)=>{const a=Fze(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),CY=["PageUp","PageDown"],NY=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],LY={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},su="Slider",[mP,Yze,Qze]=q2(su),[EY]=Vze(su,[Qze]),[Jze,WA]=EY(su),IY=p.forwardRef((e,t)=>{const{name:a,min:o=0,max:i=100,step:s=1,orientation:l="horizontal",disabled:h=!1,minStepsBetweenThumbs:f=0,defaultValue:y=[o],value:k,onValueChange:m=()=>{},onValueCommit:x=()=>{},inverted:S=!1,form:b,...w}=e,_=p.useRef(new Set),N=p.useRef(0),I=l==="horizontal"?eqe:tqe,[P=[],D]=bn({prop:k,defaultProp:y,onChange:q=>{var F;(F=[..._.current][N.current])==null||F.focus(),m(q)}}),j=p.useRef(P);function A(q){const V=iqe(P,q);Z(q,V)}function $(q){Z(q,N.current)}function B(){const q=j.current[N.current];P[N.current]!==q&&x(P)}function Z(q,V,{commit:F}={commit:!1}){const J=dqe(s),oe=uqe(Math.round((q-o)/s)*s+o,J),T=sA(oe,[o,i]);D((O=[])=>{const R=oqe(O,T,V);if(lqe(R,f*s)){N.current=R.indexOf(T);const G=String(R)!==String(O);return G&&F&&x(R),G?R:O}else return O})}return M.jsx(Jze,{scope:e.__scopeSlider,name:a,disabled:h,min:o,max:i,valueIndexToChangeRef:N,thumbs:_.current,values:P,orientation:l,form:b,children:M.jsx(mP.Provider,{scope:e.__scopeSlider,children:M.jsx(mP.Slot,{scope:e.__scopeSlider,children:M.jsx(I,{"aria-disabled":h,"data-disabled":h?"":void 0,...w,ref:t,onPointerDown:xe(w.onPointerDown,()=>{h||(j.current=P)}),min:o,max:i,inverted:S,onSlideStart:h?void 0:A,onSlideMove:h?void 0:$,onSlideEnd:h?void 0:B,onHomeKeyDown:()=>!h&&Z(o,0,{commit:!0}),onEndKeyDown:()=>!h&&Z(i,P.length-1,{commit:!0}),onStepKeyDown:({event:q,direction:V})=>{if(!h){const oe=CY.includes(q.key)||q.shiftKey&&NY.includes(q.key)?10:1,T=N.current,O=P[T],R=s*oe*V;Z(O+R,T,{commit:!0})}}})})})})});IY.displayName=su;var[AY,TY]=EY(su,{startEdge:"left",endEdge:"right",size:"width",direction:1}),eqe=p.forwardRef((e,t)=>{const{min:a,max:o,dir:i,inverted:s,onSlideStart:l,onSlideMove:h,onSlideEnd:f,onStepKeyDown:y,...k}=e,[m,x]=p.useState(null),S=ze(t,I=>x(I)),b=p.useRef(void 0),w=H2(i),_=w==="ltr",N=_&&!s||!_&&s;function L(I){const P=b.current||m.getBoundingClientRect(),D=[0,P.width],A=JO(D,N?[a,o]:[o,a]);return b.current=P,A(I-P.left)}return M.jsx(AY,{scope:e.__scopeSlider,startEdge:N?"left":"right",endEdge:N?"right":"left",direction:N?1:-1,size:"width",children:M.jsx(RY,{dir:w,"data-orientation":"horizontal",...k,ref:S,style:{...k.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:I=>{const P=L(I.clientX);l==null||l(P)},onSlideMove:I=>{const P=L(I.clientX);h==null||h(P)},onSlideEnd:()=>{b.current=void 0,f==null||f()},onStepKeyDown:I=>{const D=LY[N?"from-left":"from-right"].includes(I.key);y==null||y({event:I,direction:D?-1:1})}})})}),tqe=p.forwardRef((e,t)=>{const{min:a,max:o,inverted:i,onSlideStart:s,onSlideMove:l,onSlideEnd:h,onStepKeyDown:f,...y}=e,k=p.useRef(null),m=ze(t,k),x=p.useRef(void 0),S=!i;function b(w){const _=x.current||k.current.getBoundingClientRect(),N=[0,_.height],I=JO(N,S?[o,a]:[a,o]);return x.current=_,I(w-_.top)}return M.jsx(AY,{scope:e.__scopeSlider,startEdge:S?"bottom":"top",endEdge:S?"top":"bottom",size:"height",direction:S?1:-1,children:M.jsx(RY,{"data-orientation":"vertical",...y,ref:m,style:{...y.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:w=>{const _=b(w.clientY);s==null||s(_)},onSlideMove:w=>{const _=b(w.clientY);l==null||l(_)},onSlideEnd:()=>{x.current=void 0,h==null||h()},onStepKeyDown:w=>{const N=LY[S?"from-bottom":"from-top"].includes(w.key);f==null||f({event:w,direction:N?-1:1})}})})}),RY=p.forwardRef((e,t)=>{const{__scopeSlider:a,onSlideStart:o,onSlideMove:i,onSlideEnd:s,onHomeKeyDown:l,onEndKeyDown:h,onStepKeyDown:f,...y}=e,k=WA(su,a);return M.jsx(e0.span,{...y,ref:t,onKeyDown:xe(e.onKeyDown,m=>{m.key==="Home"?(l(m),m.preventDefault()):m.key==="End"?(h(m),m.preventDefault()):CY.concat(NY).includes(m.key)&&(f(m),m.preventDefault())}),onPointerDown:xe(e.onPointerDown,m=>{const x=m.target;x.setPointerCapture(m.pointerId),m.preventDefault(),k.thumbs.has(x)?x.focus():o(m)}),onPointerMove:xe(e.onPointerMove,m=>{m.target.hasPointerCapture(m.pointerId)&&i(m)}),onPointerUp:xe(e.onPointerUp,m=>{const x=m.target;x.hasPointerCapture(m.pointerId)&&(x.releasePointerCapture(m.pointerId),s(m))})})}),$Y="SliderTrack",jY=p.forwardRef((e,t)=>{const{__scopeSlider:a,...o}=e,i=WA($Y,a);return M.jsx(e0.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...o,ref:t})});jY.displayName=$Y;var vP="SliderRange",PY=p.forwardRef((e,t)=>{const{__scopeSlider:a,...o}=e,i=WA(vP,a),s=TY(vP,a),l=p.useRef(null),h=ze(t,l),f=i.values.length,y=i.values.map(x=>zY(x,i.min,i.max)),k=f>1?Math.min(...y):0,m=100-Math.max(...y);return M.jsx(e0.span,{"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,...o,ref:h,style:{...e.style,[s.startEdge]:k+"%",[s.endEdge]:m+"%"}})});PY.displayName=vP;var kP="SliderThumb",OY=p.forwardRef((e,t)=>{const a=Yze(e.__scopeSlider),[o,i]=p.useState(null),s=ze(t,h=>i(h)),l=p.useMemo(()=>o?a().findIndex(h=>h.ref.current===o):-1,[a,o]);return M.jsx(nqe,{...e,ref:s,index:l})}),nqe=p.forwardRef((e,t)=>{const{__scopeSlider:a,index:o,name:i,...s}=e,l=WA(kP,a),h=TY(kP,a),[f,y]=p.useState(null),k=ze(t,L=>y(L)),m=f?l.form||!!f.closest("form"):!0,x=wA(f),S=l.values[o],b=S===void 0?0:zY(S,l.min,l.max),w=rqe(o,l.values.length),_=x==null?void 0:x[h.size],N=_?cqe(_,b,h.direction):0;return p.useEffect(()=>{if(f)return l.thumbs.add(f),()=>{l.thumbs.delete(f)}},[f,l.thumbs]),M.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[h.startEdge]:`calc(${b}% + ${N}px)`},children:[M.jsx(mP.ItemSlot,{scope:e.__scopeSlider,children:M.jsx(e0.span,{role:"slider","aria-label":e["aria-label"]||w,"aria-valuemin":l.min,"aria-valuenow":S,"aria-valuemax":l.max,"aria-orientation":l.orientation,"data-orientation":l.orientation,"data-disabled":l.disabled?"":void 0,tabIndex:l.disabled?void 0:0,...s,ref:k,style:S===void 0?{display:"none"}:e.style,onFocus:xe(e.onFocus,()=>{l.valueIndexToChangeRef.current=o})})}),m&&M.jsx(DY,{name:i??(l.name?l.name+(l.values.length>1?"[]":""):void 0),form:l.form,value:S},o)]})});OY.displayName=kP;var aqe="RadioBubbleInput",DY=p.forwardRef(({__scopeSlider:e,value:t,...a},o)=>{const i=p.useRef(null),s=ze(i,o),l=bA(t);return p.useEffect(()=>{const h=i.current;if(!h)return;const f=window.HTMLInputElement.prototype,k=Object.getOwnPropertyDescriptor(f,"value").set;if(l!==t&&k){const m=new Event("input",{bubbles:!0});k.call(h,t),h.dispatchEvent(m)}},[l,t]),M.jsx(e0.input,{style:{display:"none"},...a,ref:s,defaultValue:t})});DY.displayName=aqe;function oqe(e=[],t,a){const o=[...e];return o[a]=t,o.sort((i,s)=>i-s)}function zY(e,t,a){const s=100/(a-t)*(e-t);return sA(s,[0,100])}function rqe(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function iqe(e,t){if(e.length===1)return 0;const a=e.map(i=>Math.abs(i-t)),o=Math.min(...a);return a.indexOf(o)}function cqe(e,t,a){const o=e/2,s=JO([0,50],[0,o]);return(o-s(t)*a)*a}function sqe(e){return e.slice(0,-1).map((t,a)=>e[a+1]-t)}function lqe(e,t){if(t>0){const a=sqe(e);return Math.min(...a)>=t}return!0}function JO(e,t){return a=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const o=(t[1]-t[0])/(e[1]-e[0]);return t[0]+o*(a-e[0])}}function dqe(e){return(String(e).split(".")[1]||"").length}function uqe(e,t){const a=Math.pow(10,t);return Math.round(e*a)/a}var hqe=IY,pqe=jY,fqe=PY,yqe=OY;function mqe({className:e,defaultValue:t,value:a,min:o=0,max:i=100,id:s,...l}){const h=p.useMemo(()=>Array.isArray(a)?a:Array.isArray(t)?t:[o,i],[a,t,o,i]);return M.jsxs(hqe,{"data-slot":"slider",defaultValue:t,value:a,min:o,max:i,id:s,className:ee("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",e),...l,children:[M.jsx(pqe,{"data-slot":"slider-track",className:ee("bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),children:M.jsx(fqe,{"data-slot":"slider-range",className:ee("bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")})}),Array.from({length:h.length},(f,y)=>M.jsx(yqe,{"data-slot":"slider-thumb",className:"border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full border shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"},y))]})}var vqe=(e,t,a,o,i,s,l,h)=>{let f=document.documentElement,y=["light","dark"];function k(S){(Array.isArray(e)?e:[e]).forEach(b=>{let w=b==="class",_=w&&s?i.map(N=>s[N]||N):i;w?(f.classList.remove(..._),f.classList.add(s&&s[S]?s[S]:S)):f.setAttribute(b,S)}),m(S)}function m(S){h&&y.includes(S)&&(f.style.colorScheme=S)}function x(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(o)k(o);else try{let S=localStorage.getItem(t)||a,b=l&&S==="system"?x():S;k(b)}catch{}},kqe=p.createContext(void 0),gqe={setTheme:e=>{},themes:[]},Mqe=()=>{var e;return(e=p.useContext(kqe))!=null?e:gqe};p.memo(({forcedTheme:e,storageKey:t,attribute:a,enableSystem:o,enableColorScheme:i,defaultTheme:s,value:l,themes:h,nonce:f,scriptProps:y})=>{let k=JSON.stringify([a,t,s,e,h,l,o,i]).slice(1,-1);return p.createElement("script",{...y,suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(${vqe.toString()})(${k})`}})});function xqe(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}const bqe=e=>{switch(e){case"success":return Sqe;case"info":return Nqe;case"warning":return Cqe;case"error":return Lqe;default:return null}},wqe=Array(12).fill(0),_qe=({visible:e,className:t})=>ke.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},ke.createElement("div",{className:"sonner-spinner"},wqe.map((a,o)=>ke.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${o}`})))),Sqe=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ke.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Cqe=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ke.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Nqe=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ke.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Lqe=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ke.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Eqe=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},ke.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ke.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Iqe=()=>{const[e,t]=ke.useState(document.hidden);return ke.useEffect(()=>{const a=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",a),()=>window.removeEventListener("visibilitychange",a)},[]),e};let gP=1;class Aqe{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const a=this.subscribers.indexOf(t);this.subscribers.splice(a,1)}),this.publish=t=>{this.subscribers.forEach(a=>a(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var a;const{message:o,...i}=t,s=typeof(t==null?void 0:t.id)=="number"||((a=t.id)==null?void 0:a.length)>0?t.id:gP++,l=this.toasts.find(f=>f.id===s),h=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),l?this.toasts=this.toasts.map(f=>f.id===s?(this.publish({...f,...t,id:s,title:o}),{...f,...t,id:s,dismissible:h,title:o}):f):this.addToast({title:o,...i,dismissible:h,id:s}),s},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(a=>a({id:t,dismiss:!0})))):this.toasts.forEach(a=>{this.subscribers.forEach(o=>o({id:a.id,dismiss:!0}))}),t),this.message=(t,a)=>this.create({...a,message:t}),this.error=(t,a)=>this.create({...a,message:t,type:"error"}),this.success=(t,a)=>this.create({...a,type:"success",message:t}),this.info=(t,a)=>this.create({...a,type:"info",message:t}),this.warning=(t,a)=>this.create({...a,type:"warning",message:t}),this.loading=(t,a)=>this.create({...a,type:"loading",message:t}),this.promise=(t,a)=>{if(!a)return;let o;a.loading!==void 0&&(o=this.create({...a,promise:t,type:"loading",message:a.loading,description:typeof a.description!="function"?a.description:void 0}));const i=Promise.resolve(t instanceof Function?t():t);let s=o!==void 0,l;const h=i.then(async y=>{if(l=["resolve",y],ke.isValidElement(y))s=!1,this.create({id:o,type:"default",message:y});else if(Rqe(y)&&!y.ok){s=!1;const m=typeof a.error=="function"?await a.error(`HTTP error! status: ${y.status}`):a.error,x=typeof a.description=="function"?await a.description(`HTTP error! status: ${y.status}`):a.description,b=typeof m=="object"&&!ke.isValidElement(m)?m:{message:m};this.create({id:o,type:"error",description:x,...b})}else if(y instanceof Error){s=!1;const m=typeof a.error=="function"?await a.error(y):a.error,x=typeof a.description=="function"?await a.description(y):a.description,b=typeof m=="object"&&!ke.isValidElement(m)?m:{message:m};this.create({id:o,type:"error",description:x,...b})}else if(a.success!==void 0){s=!1;const m=typeof a.success=="function"?await a.success(y):a.success,x=typeof a.description=="function"?await a.description(y):a.description,b=typeof m=="object"&&!ke.isValidElement(m)?m:{message:m};this.create({id:o,type:"success",description:x,...b})}}).catch(async y=>{if(l=["reject",y],a.error!==void 0){s=!1;const k=typeof a.error=="function"?await a.error(y):a.error,m=typeof a.description=="function"?await a.description(y):a.description,S=typeof k=="object"&&!ke.isValidElement(k)?k:{message:k};this.create({id:o,type:"error",description:m,...S})}}).finally(()=>{s&&(this.dismiss(o),o=void 0),a.finally==null||a.finally.call(a)}),f=()=>new Promise((y,k)=>h.then(()=>l[0]==="reject"?k(l[1]):y(l[1])).catch(k));return typeof o!="string"&&typeof o!="number"?{unwrap:f}:Object.assign(o,{unwrap:f})},this.custom=(t,a)=>{const o=(a==null?void 0:a.id)||gP++;return this.create({jsx:t(o),id:o,...a}),o},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const kn=new Aqe,Tqe=(e,t)=>{const a=(t==null?void 0:t.id)||gP++;return kn.addToast({title:e,...t,id:a}),a},Rqe=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",$qe=Tqe,jqe=()=>kn.toasts,Pqe=()=>kn.getActiveToasts(),Oqe=Object.assign($qe,{success:kn.success,info:kn.info,warning:kn.warning,error:kn.error,custom:kn.custom,message:kn.message,promise:kn.promise,dismiss:kn.dismiss,loading:kn.loading},{getHistory:jqe,getToasts:Pqe});xqe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family: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;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Ch(e){return e.label!==void 0}const Dqe=3,zqe="24px",qqe="16px",MF=4e3,Hqe=356,Vqe=14,Bqe=45,Fqe=200;function er(...e){return e.filter(Boolean).join(" ")}function Uqe(e){const[t,a]=e.split("-"),o=[];return t&&o.push(t),a&&o.push(a),o}const Gqe=e=>{var t,a,o,i,s,l,h,f,y;const{invert:k,toast:m,unstyled:x,interacting:S,setHeights:b,visibleToasts:w,heights:_,index:N,toasts:L,expanded:I,removeToast:P,defaultRichColors:D,closeButton:j,style:A,cancelButtonStyle:$,actionButtonStyle:B,className:Z="",descriptionClassName:q="",duration:V,position:F,gap:J,expandByDefault:oe,classNames:T,icons:O,closeButtonAriaLabel:R="Close toast"}=e,[G,K]=ke.useState(null),[Me,X]=ke.useState(null),[ne,de]=ke.useState(!1),[ce,ye]=ke.useState(!1),[pe,ve]=ke.useState(!1),[me,ge]=ke.useState(!1),[fe,se]=ke.useState(!1),[Ee,$e]=ke.useState(0),[st,Ve]=ke.useState(0),tt=ke.useRef(m.duration||V||MF),ot=ke.useRef(null),Ye=ke.useRef(null),Ut=N===0,At=N+1<=w,Mt=m.type,Lt=m.dismissible!==!1,qe=m.className||"",we=m.descriptionClassName||"",De=ke.useMemo(()=>_.findIndex(Ie=>Ie.toastId===m.id)||0,[_,m.id]),Ne=ke.useMemo(()=>{var Ie;return(Ie=m.closeButton)!=null?Ie:j},[m.closeButton,j]),Te=ke.useMemo(()=>m.duration||V||MF,[m.duration,V]),Je=ke.useRef(0),jt=ke.useRef(0),lt=ke.useRef(0),tn=ke.useRef(null),[Yn,Gt]=F.split("-"),ln=ke.useMemo(()=>_.reduce((Ie,nt,Tt)=>Tt>=De?Ie:Ie+nt.height,0),[_,De]),W=Iqe(),ae=m.invert||k,Ue=Mt==="loading";jt.current=ke.useMemo(()=>De*J+ln,[De,ln]),ke.useEffect(()=>{tt.current=Te},[Te]),ke.useEffect(()=>{de(!0)},[]),ke.useEffect(()=>{const Ie=Ye.current;if(Ie){const nt=Ie.getBoundingClientRect().height;return Ve(nt),b(Tt=>[{toastId:m.id,height:nt,position:m.position},...Tt]),()=>b(Tt=>Tt.filter(Et=>Et.toastId!==m.id))}},[b,m.id]),ke.useLayoutEffect(()=>{if(!ne)return;const Ie=Ye.current,nt=Ie.style.height;Ie.style.height="auto";const Tt=Ie.getBoundingClientRect().height;Ie.style.height=nt,Ve(Tt),b(Et=>Et.find(xt=>xt.toastId===m.id)?Et.map(xt=>xt.toastId===m.id?{...xt,height:Tt}:xt):[{toastId:m.id,height:Tt,position:m.position},...Et])},[ne,m.title,m.description,b,m.id,m.jsx,m.action,m.cancel]);const Ge=ke.useCallback(()=>{ye(!0),$e(jt.current),b(Ie=>Ie.filter(nt=>nt.toastId!==m.id)),setTimeout(()=>{P(m)},Fqe)},[m,P,b,jt]);ke.useEffect(()=>{if(m.promise&&Mt==="loading"||m.duration===1/0||m.type==="loading")return;let Ie;return I||S||W?(()=>{if(lt.current<Je.current){const Et=new Date().getTime()-Je.current;tt.current=tt.current-Et}lt.current=new Date().getTime()})():(()=>{tt.current!==1/0&&(Je.current=new Date().getTime(),Ie=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),Ge()},tt.current))})(),()=>clearTimeout(Ie)},[I,S,m,Mt,W,Ge]),ke.useEffect(()=>{m.delete&&(Ge(),m.onDismiss==null||m.onDismiss.call(m,m))},[Ge,m.delete]);function rt(){var Ie;if(O!=null&&O.loading){var nt;return ke.createElement("div",{className:er(T==null?void 0:T.loader,m==null||(nt=m.classNames)==null?void 0:nt.loader,"sonner-loader"),"data-visible":Mt==="loading"},O.loading)}return ke.createElement(_qe,{className:er(T==null?void 0:T.loader,m==null||(Ie=m.classNames)==null?void 0:Ie.loader),visible:Mt==="loading"})}const Oe=m.icon||(O==null?void 0:O[Mt])||bqe(Mt);var dn,Kt;return ke.createElement("li",{tabIndex:0,ref:Ye,className:er(Z,qe,T==null?void 0:T.toast,m==null||(t=m.classNames)==null?void 0:t.toast,T==null?void 0:T.default,T==null?void 0:T[Mt],m==null||(a=m.classNames)==null?void 0:a[Mt]),"data-sonner-toast":"","data-rich-colors":(dn=m.richColors)!=null?dn:D,"data-styled":!(m.jsx||m.unstyled||x),"data-mounted":ne,"data-promise":!!m.promise,"data-swiped":fe,"data-removed":ce,"data-visible":At,"data-y-position":Yn,"data-x-position":Gt,"data-index":N,"data-front":Ut,"data-swiping":pe,"data-dismissible":Lt,"data-type":Mt,"data-invert":ae,"data-swipe-out":me,"data-swipe-direction":Me,"data-expanded":!!(I||oe&&ne),"data-testid":m.testId,style:{"--index":N,"--toasts-before":N,"--z-index":L.length-N,"--offset":`${ce?Ee:jt.current}px`,"--initial-height":oe?"auto":`${st}px`,...A,...m.style},onDragEnd:()=>{ve(!1),K(null),tn.current=null},onPointerDown:Ie=>{Ie.button!==2&&(Ue||!Lt||(ot.current=new Date,$e(jt.current),Ie.target.setPointerCapture(Ie.pointerId),Ie.target.tagName!=="BUTTON"&&(ve(!0),tn.current={x:Ie.clientX,y:Ie.clientY})))},onPointerUp:()=>{var Ie,nt,Tt;if(me||!Lt)return;tn.current=null;const Et=Number(((Ie=Ye.current)==null?void 0:Ie.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),zt=Number(((nt=Ye.current)==null?void 0:nt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),xt=new Date().getTime()-((Tt=ot.current)==null?void 0:Tt.getTime()),nn=G==="x"?Et:zt,Wo=Math.abs(nn)/xt;if(Math.abs(nn)>=Bqe||Wo>.11){$e(jt.current),m.onDismiss==null||m.onDismiss.call(m,m),X(G==="x"?Et>0?"right":"left":zt>0?"down":"up"),Ge(),ge(!0);return}else{var qt,Yt;(qt=Ye.current)==null||qt.style.setProperty("--swipe-amount-x","0px"),(Yt=Ye.current)==null||Yt.style.setProperty("--swipe-amount-y","0px")}se(!1),ve(!1),K(null)},onPointerMove:Ie=>{var nt,Tt,Et;if(!tn.current||!Lt||((nt=window.getSelection())==null?void 0:nt.toString().length)>0)return;const xt=Ie.clientY-tn.current.y,nn=Ie.clientX-tn.current.x;var Wo;const qt=(Wo=e.swipeDirections)!=null?Wo:Uqe(F);!G&&(Math.abs(nn)>1||Math.abs(xt)>1)&&K(Math.abs(nn)>Math.abs(xt)?"x":"y");let Yt={x:0,y:0};const ua=yn=>1/(1.5+Math.abs(yn)/20);if(G==="y"){if(qt.includes("top")||qt.includes("bottom"))if(qt.includes("top")&&xt<0||qt.includes("bottom")&&xt>0)Yt.y=xt;else{const yn=xt*ua(xt);Yt.y=Math.abs(yn)<Math.abs(xt)?yn:xt}}else if(G==="x"&&(qt.includes("left")||qt.includes("right")))if(qt.includes("left")&&nn<0||qt.includes("right")&&nn>0)Yt.x=nn;else{const yn=nn*ua(nn);Yt.x=Math.abs(yn)<Math.abs(nn)?yn:nn}(Math.abs(Yt.x)>0||Math.abs(Yt.y)>0)&&se(!0),(Tt=Ye.current)==null||Tt.style.setProperty("--swipe-amount-x",`${Yt.x}px`),(Et=Ye.current)==null||Et.style.setProperty("--swipe-amount-y",`${Yt.y}px`)}},Ne&&!m.jsx&&Mt!=="loading"?ke.createElement("button",{"aria-label":R,"data-disabled":Ue,"data-close-button":!0,onClick:Ue||!Lt?()=>{}:()=>{Ge(),m.onDismiss==null||m.onDismiss.call(m,m)},className:er(T==null?void 0:T.closeButton,m==null||(o=m.classNames)==null?void 0:o.closeButton)},(Kt=O==null?void 0:O.close)!=null?Kt:Eqe):null,(Mt||m.icon||m.promise)&&m.icon!==null&&((O==null?void 0:O[Mt])!==null||m.icon)?ke.createElement("div",{"data-icon":"",className:er(T==null?void 0:T.icon,m==null||(i=m.classNames)==null?void 0:i.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||rt():null,m.type!=="loading"?Oe:null):null,ke.createElement("div",{"data-content":"",className:er(T==null?void 0:T.content,m==null||(s=m.classNames)==null?void 0:s.content)},ke.createElement("div",{"data-title":"",className:er(T==null?void 0:T.title,m==null||(l=m.classNames)==null?void 0:l.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?ke.createElement("div",{"data-description":"",className:er(q,we,T==null?void 0:T.description,m==null||(h=m.classNames)==null?void 0:h.description)},typeof m.description=="function"?m.description():m.description):null),ke.isValidElement(m.cancel)?m.cancel:m.cancel&&Ch(m.cancel)?ke.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||$,onClick:Ie=>{Ch(m.cancel)&&Lt&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,Ie),Ge())},className:er(T==null?void 0:T.cancelButton,m==null||(f=m.classNames)==null?void 0:f.cancelButton)},m.cancel.label):null,ke.isValidElement(m.action)?m.action:m.action&&Ch(m.action)?ke.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||B,onClick:Ie=>{Ch(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,Ie),!Ie.defaultPrevented&&Ge())},className:er(T==null?void 0:T.actionButton,m==null||(y=m.classNames)==null?void 0:y.actionButton)},m.action.label):null)};function xF(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Wqe(e,t){const a={};return[e,t].forEach((o,i)=>{const s=i===1,l=s?"--mobile-offset":"--offset",h=s?qqe:zqe;function f(y){["top","right","bottom","left"].forEach(k=>{a[`${l}-${k}`]=typeof y=="number"?`${y}px`:y})}typeof o=="number"||typeof o=="string"?f(o):typeof o=="object"?["top","right","bottom","left"].forEach(y=>{o[y]===void 0?a[`${l}-${y}`]=h:a[`${l}-${y}`]=typeof o[y]=="number"?`${o[y]}px`:o[y]}):f(h)}),a}function Zqe(){const[e,t]=ke.useState([]);return ke.useEffect(()=>kn.subscribe(a=>{if(a.dismiss){setTimeout(()=>{ur.flushSync(()=>{t(o=>o.filter(i=>i.id!==a.id))})});return}setTimeout(()=>{ur.flushSync(()=>{t(o=>{const i=o.findIndex(s=>s.id===a.id);return i!==-1?[...o.slice(0,i),{...o[i],...a},...o.slice(i+1)]:[a,...o]})})})}),[]),{toasts:e}}const qY=ke.forwardRef(function(t,a){const{id:o,invert:i,position:s="bottom-right",hotkey:l=["altKey","KeyT"],expand:h,closeButton:f,className:y,offset:k,mobileOffset:m,theme:x="light",richColors:S,duration:b,style:w,visibleToasts:_=Dqe,toastOptions:N,dir:L=xF(),gap:I=Vqe,icons:P,containerAriaLabel:D="Notifications"}=t,[j,A]=ke.useState([]),$=ke.useMemo(()=>o?j.filter(ne=>ne.toasterId===o):j.filter(ne=>!ne.toasterId),[j,o]),B=ke.useMemo(()=>Array.from(new Set([s].concat($.filter(ne=>ne.position).map(ne=>ne.position)))),[$,s]),[Z,q]=ke.useState([]),[V,F]=ke.useState(!1),[J,oe]=ke.useState(!1),[T,O]=ke.useState(x!=="system"?x:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),R=ke.useRef(null),G=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),K=ke.useRef(null),Me=ke.useRef(!1),X=ke.useCallback(ne=>{A(de=>{var ce;return(ce=de.find(ye=>ye.id===ne.id))!=null&&ce.delete||kn.dismiss(ne.id),de.filter(({id:ye})=>ye!==ne.id)})},[]);return ke.useEffect(()=>kn.subscribe(ne=>{if(ne.dismiss){requestAnimationFrame(()=>{A(de=>de.map(ce=>ce.id===ne.id?{...ce,delete:!0}:ce))});return}setTimeout(()=>{ur.flushSync(()=>{A(de=>{const ce=de.findIndex(ye=>ye.id===ne.id);return ce!==-1?[...de.slice(0,ce),{...de[ce],...ne},...de.slice(ce+1)]:[ne,...de]})})})}),[j]),ke.useEffect(()=>{if(x!=="system"){O(x);return}if(x==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?O("dark"):O("light")),typeof window>"u")return;const ne=window.matchMedia("(prefers-color-scheme: dark)");try{ne.addEventListener("change",({matches:de})=>{O(de?"dark":"light")})}catch{ne.addListener(({matches:ce})=>{try{O(ce?"dark":"light")}catch(ye){console.error(ye)}})}},[x]),ke.useEffect(()=>{j.length<=1&&F(!1)},[j]),ke.useEffect(()=>{const ne=de=>{var ce;if(l.every(ve=>de[ve]||de.code===ve)){var pe;F(!0),(pe=R.current)==null||pe.focus()}de.code==="Escape"&&(document.activeElement===R.current||(ce=R.current)!=null&&ce.contains(document.activeElement))&&F(!1)};return document.addEventListener("keydown",ne),()=>document.removeEventListener("keydown",ne)},[l]),ke.useEffect(()=>{if(R.current)return()=>{K.current&&(K.current.focus({preventScroll:!0}),K.current=null,Me.current=!1)}},[R.current]),ke.createElement("section",{ref:a,"aria-label":`${D} ${G}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},B.map((ne,de)=>{var ce;const[ye,pe]=ne.split("-");return $.length?ke.createElement("ol",{key:ne,dir:L==="auto"?xF():L,tabIndex:-1,ref:R,className:y,"data-sonner-toaster":!0,"data-sonner-theme":T,"data-y-position":ye,"data-x-position":pe,style:{"--front-toast-height":`${((ce=Z[0])==null?void 0:ce.height)||0}px`,"--width":`${Hqe}px`,"--gap":`${I}px`,...w,...Wqe(k,m)},onBlur:ve=>{Me.current&&!ve.currentTarget.contains(ve.relatedTarget)&&(Me.current=!1,K.current&&(K.current.focus({preventScroll:!0}),K.current=null))},onFocus:ve=>{ve.target instanceof HTMLElement&&ve.target.dataset.dismissible==="false"||Me.current||(Me.current=!0,K.current=ve.relatedTarget)},onMouseEnter:()=>F(!0),onMouseMove:()=>F(!0),onMouseLeave:()=>{J||F(!1)},onDragEnd:()=>F(!1),onPointerDown:ve=>{ve.target instanceof HTMLElement&&ve.target.dataset.dismissible==="false"||oe(!0)},onPointerUp:()=>oe(!1)},$.filter(ve=>!ve.position&&de===0||ve.position===ne).map((ve,me)=>{var ge,fe;return ke.createElement(Gqe,{key:ve.id,icons:P,index:me,toast:ve,defaultRichColors:S,duration:(ge=N==null?void 0:N.duration)!=null?ge:b,className:N==null?void 0:N.className,descriptionClassName:N==null?void 0:N.descriptionClassName,invert:i,visibleToasts:_,closeButton:(fe=N==null?void 0:N.closeButton)!=null?fe:f,interacting:J,position:ne,style:N==null?void 0:N.style,unstyled:N==null?void 0:N.unstyled,classNames:N==null?void 0:N.classNames,cancelButtonStyle:N==null?void 0:N.cancelButtonStyle,actionButtonStyle:N==null?void 0:N.actionButtonStyle,closeButtonAriaLabel:N==null?void 0:N.closeButtonAriaLabel,removeToast:X,toasts:$.filter(se=>se.position==ve.position),heights:Z.filter(se=>se.position==ve.position),setHeights:q,expandByDefault:h,gap:I,expanded:V,swipeDirections:t.swipeDirections})})):null}))}),Xqe=Object.freeze(Object.defineProperty({__proto__:null,Toaster:qY,toast:Oqe,useSonner:Zqe},Symbol.toStringTag,{value:"Module"})),Kqe=({...e})=>{const{theme:t="system"}=Mqe();return M.jsx(qY,{theme:t,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})};function Yqe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,Qqe(i,...t)]}function Qqe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function Jqe(e){const t=eHe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(nHe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function eHe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=oHe(i),h=aHe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var tHe=Symbol("radix.slottable");function nHe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===tHe}function aHe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function oHe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var rHe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],HY=rHe.reduce((e,t)=>{const a=Jqe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),ZA="Switch",[iHe]=Yqe(ZA),[cHe,sHe]=iHe(ZA),VY=p.forwardRef((e,t)=>{const{__scopeSwitch:a,name:o,checked:i,defaultChecked:s,required:l,disabled:h,value:f="on",onCheckedChange:y,form:k,...m}=e,[x,S]=p.useState(null),b=ze(t,I=>S(I)),w=p.useRef(!1),_=x?k||!!x.closest("form"):!0,[N,L]=bn({prop:i,defaultProp:s??!1,onChange:y,caller:ZA});return M.jsxs(cHe,{scope:a,checked:N,disabled:h,children:[M.jsx(HY.button,{type:"button",role:"switch","aria-checked":N,"aria-required":l,"data-state":GY(N),"data-disabled":h?"":void 0,disabled:h,value:f,...m,ref:b,onClick:xe(e.onClick,I=>{L(P=>!P),_&&(w.current=I.isPropagationStopped(),w.current||I.stopPropagation())})}),_&&M.jsx(UY,{control:x,bubbles:!w.current,name:o,value:f,checked:N,required:l,disabled:h,form:k,style:{transform:"translateX(-100%)"}})]})});VY.displayName=ZA;var BY="SwitchThumb",FY=p.forwardRef((e,t)=>{const{__scopeSwitch:a,...o}=e,i=sHe(BY,a);return M.jsx(HY.span,{"data-state":GY(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:t})});FY.displayName=BY;var lHe="SwitchBubbleInput",UY=p.forwardRef(({__scopeSwitch:e,control:t,checked:a,bubbles:o=!0,...i},s)=>{const l=p.useRef(null),h=ze(l,s),f=bA(a),y=wA(t);return p.useEffect(()=>{const k=l.current;if(!k)return;const m=window.HTMLInputElement.prototype,S=Object.getOwnPropertyDescriptor(m,"checked").set;if(f!==a&&S){const b=new Event("click",{bubbles:o});S.call(k,a),k.dispatchEvent(b)}},[f,a,o]),M.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:a,...i,tabIndex:-1,ref:h,style:{...i.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});UY.displayName=lHe;function GY(e){return e?"checked":"unchecked"}var dHe=VY,uHe=FY;function hHe({className:e,...t}){return M.jsx(dHe,{"data-slot":"switch",className:ee("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:M.jsx(uHe,{"data-slot":"switch-thumb",className:ee("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")})})}function pHe({className:e,wrapperHeight:t,ref:a,...o}){return M.jsx("div",{"data-slot":"table-container",ref:a,className:ee("relative w-full overflow-x-auto",t),children:M.jsx("table",{"data-slot":"table",className:ee("w-full caption-bottom text-sm",e),...o})})}function fHe({className:e,...t}){return M.jsx("thead",{"data-slot":"table-header",className:ee("[&_tr]:border-b",e),...t})}function yHe({className:e,...t}){return M.jsx("tbody",{"data-slot":"table-body",className:ee("[&_tr:last-child]:border-0",e),...t})}function mHe({className:e,...t}){return M.jsx("tfoot",{"data-slot":"table-footer",className:ee("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",e),...t})}function vHe({className:e,...t}){return M.jsx("tr",{"data-slot":"table-row",className:ee("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",e),...t})}function kHe({className:e,...t}){return M.jsx("th",{"data-slot":"table-head",className:ee("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}function gHe({className:e,...t}){return M.jsx("td",{"data-slot":"table-cell",className:ee("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}function MHe({className:e,...t}){return M.jsx("caption",{"data-slot":"table-caption",className:ee("text-muted-foreground mt-4 text-sm",e),...t})}function xHe({className:e,...t}){return M.jsx("textarea",{"data-slot":"textarea",className:ee("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),...t})}const bHe=()=>typeof window>"u"?!1:window.matchMedia("(prefers-color-scheme: dark)").matches,wHe=(e,t,a=365)=>{if(typeof document>"u")return;const o=a*24*60*60;document.cookie=`${e}=${t};path=/;max-age=${o};SameSite=Lax`},M2=e=>{const t=e==="dark"||e==="system"&&bHe();document.documentElement.classList.toggle("dark",t)},WY=()=>typeof window>"u"?null:window.matchMedia("(prefers-color-scheme: dark)"),ZY=()=>{const e=localStorage.getItem("appearance");M2(e||"light")};function hVe(){var t;const e=localStorage.getItem("appearance")||"system";M2(e),(t=WY())==null||t.addEventListener("change",ZY)}function eD(){const[e,t]=p.useState("system"),[a,o]=p.useState(!1),i=p.useCallback(s=>{o(!0),t(s),localStorage.setItem("appearance",s),wHe("appearance",s),M2(s),setTimeout(()=>{o(!1),window.dispatchEvent(new Event("appearanceChanged"))},0)},[]);return p.useEffect(()=>{const s=localStorage.getItem("appearance");i(s||"system");const l=f=>{if(f.key==="appearance"){const y=f.newValue;t(y),M2(y)}},h=()=>{const f=localStorage.getItem("appearance");t(f),M2(f)};return window.addEventListener("storage",l),window.addEventListener("appearanceChanged",h),()=>{var f;window.removeEventListener("storage",l),window.removeEventListener("appearanceChanged",h),(f=WY())==null||f.removeEventListener("change",ZY)}},[i]),{appearance:e,updateAppearance:i,isThemeChanging:a}}const _He={errors:{}},j1=new Proxy(_He,{set(e,t,a){return t==="errors"&&(Object.keys(a).length===0?e.errors={}:e.errors={...e.errors,...a}),!0}}),bF=(e,t,a)=>{if(t)j1.errors={...j1.errors,[e]:{hasError:!0,message:a}};else{const{[e]:o,...i}=j1.errors;j1.errors=i}},pVe=e=>{var t;return(t=j1.errors[e])==null?void 0:t.message},fVe=()=>Object.values(j1.errors).some(e=>e.hasError),yVe=()=>{j1.errors={}};function MP(e){const t=p.useRef(null),a=p.useRef(null),o=p.useRef(e),{appearance:i}=eD(),[s,l]=p.useState("");return p.useEffect(()=>{l(i==="dark"?"jse-theme-dark":"")},[i]),p.useEffect(()=>{a.current&&a.current.updateProps({content:e.content?{json:e.content}:e.json?{json:e.json}:void 0})},[e.content]),p.useEffect(()=>{var y;const h=e.schema?uee({schema:e.schema}):void 0,f=e.content?{json:e.content}:e.json?{json:e.json}:void 0;if(a.current=hee({target:t.current,props:{...e,validator:h,content:f,onChange:(k,m,x)=>{var S;if(h){const w=k.json===void 0?["error"]:(S=x.contentErrors)==null?void 0:S.validationErrors;bF(e.name,!!(w!=null&&w.length),"Error validation JSON schema")}e.onChange&&e.onChange(k,m,x)}}}),a.current){const k=a.current.get(),m=a.current.validate(),x=!!((y=m==null?void 0:m.validationErrors)!=null&&y.length);e.onChange&&e.onChange(k,void 0,{contentErrors:m,patchResult:void 0,isUndo:!1,isRedo:!1,isValid:!x}),bF(e.name,x,"Error validation JSON schema")}return()=>{a.current&&(a.current.destroy(),a.current=null)}},[]),p.useEffect(()=>{if(a.current){const h=SHe(e,o.current);a.current.updateProps(h),o.current=e}},[e]),M.jsx("div",{className:`vanilla-jsoneditor-react ${s} ${e.disabled?"pointer-events-none opacity-50 cursor-not-allowed":""}`,ref:t})}function SHe(e,t){var o;const a={};for(const[i,s]of Object.entries(e))if(i==="content"){const l=s==null?void 0:s.json,h=(o=t[i])==null?void 0:o.json;JSON.stringify(l)!==JSON.stringify(h)&&(a[i]=s)}else s!==t[i]&&(a[i]=s);return a}const mVe=Object.freeze(Object.defineProperty({__proto__:null,default:MP},Symbol.toStringTag,{value:"Module"}));/**
8007
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return p.useEffect(()=>{e&&(document.getElementById(e)||console.error(a))},[a,e]),null},kIe="DialogDescriptionWarning",gIe=({contentRef:e,descriptionId:t})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${xW(kIe).contentName}}.`;return p.useEffect(()=>{var s;const i=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},oO=cW,bW=lW,rO=uW,iO=hW,cO=pW,wW=yW,_W=vW,AA=gW,l2='[cmdk-group=""]',Lj='[cmdk-group-items=""]',MIe='[cmdk-group-heading=""]',SW='[cmdk-item=""]',rF=`${SW}:not([aria-disabled="true"])`,eP="cmdk-item-select",zd="data-value",xIe=(e,t,a)=>DLe(e,t,a),CW=p.createContext(void 0),z2=()=>p.useContext(CW),NW=p.createContext(void 0),sO=()=>p.useContext(NW),LW=p.createContext(void 0),EW=p.forwardRef((e,t)=>{let a=qd(()=>{var X,ne;return{search:"",value:(ne=(X=e.value)!=null?X:e.defaultValue)!=null?ne:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),o=qd(()=>new Set),i=qd(()=>new Map),s=qd(()=>new Map),l=qd(()=>new Set),h=IW(e),{label:f,children:y,value:k,onValueChange:m,filter:x,shouldFilter:S,loop:b,disablePointerSelection:w=!1,vimBindings:_=!0,...N}=e,L=It(),I=It(),O=It(),D=p.useRef(null),P=TIe();V1(()=>{if(k!==void 0){let X=k.trim();a.current.value=X,A.emit()}},[k]),V1(()=>{P(6,F)},[]);let A=p.useMemo(()=>({subscribe:X=>(l.current.add(X),()=>l.current.delete(X)),snapshot:()=>a.current,setState:(X,ne,le)=>{var ie,ye,he,ve;if(!Object.is(a.current[X],ne)){if(a.current[X]=ne,X==="search")B(),K(),P(1,q);else if(X==="value"){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let me=document.getElementById(O);me?me.focus():(ie=document.getElementById(L))==null||ie.focus()}if(P(7,()=>{var me;a.current.selectedItemId=(me=J())==null?void 0:me.id,A.emit()}),le||P(5,F),((ye=h.current)==null?void 0:ye.value)!==void 0){let me=ne??"";(ve=(he=h.current).onValueChange)==null||ve.call(he,me);return}}A.emit()}},emit:()=>{l.current.forEach(X=>X())}}),[]),j=p.useMemo(()=>({value:(X,ne,le)=>{var ie;ne!==((ie=s.current.get(X))==null?void 0:ie.value)&&(s.current.set(X,{value:ne,keywords:le}),a.current.filtered.items.set(X,V(ne,le)),P(2,()=>{K(),A.emit()}))},item:(X,ne)=>(o.current.add(X),ne&&(i.current.has(ne)?i.current.get(ne).add(X):i.current.set(ne,new Set([X]))),P(3,()=>{B(),K(),a.current.value||q(),A.emit()}),()=>{s.current.delete(X),o.current.delete(X),a.current.filtered.items.delete(X);let le=J();P(4,()=>{B(),(le==null?void 0:le.getAttribute("id"))===X&&q(),A.emit()})}),group:X=>(i.current.has(X)||i.current.set(X,new Set),()=>{s.current.delete(X),i.current.delete(X)}),filter:()=>h.current.shouldFilter,label:f||e["aria-label"],getDisablePointerSelection:()=>h.current.disablePointerSelection,listId:L,inputId:O,labelId:I,listInnerRef:D}),[]);function V(X,ne){var le,ie;let ye=(ie=(le=h.current)==null?void 0:le.filter)!=null?ie:xIe;return X?ye(X,a.current.search,ne):0}function K(){if(!a.current.search||h.current.shouldFilter===!1)return;let X=a.current.filtered.items,ne=[];a.current.filtered.groups.forEach(ie=>{let ye=i.current.get(ie),he=0;ye.forEach(ve=>{let me=X.get(ve);he=Math.max(me,he)}),ne.push([ie,he])});let le=D.current;pe().sort((ie,ye)=>{var he,ve;let me=ie.getAttribute("id"),ge=ye.getAttribute("id");return((he=X.get(ge))!=null?he:0)-((ve=X.get(me))!=null?ve:0)}).forEach(ie=>{let ye=ie.closest(Lj);ye?ye.appendChild(ie.parentElement===ye?ie:ie.closest(`${Lj} > *`)):le.appendChild(ie.parentElement===le?ie:ie.closest(`${Lj} > *`))}),ne.sort((ie,ye)=>ye[1]-ie[1]).forEach(ie=>{var ye;let he=(ye=D.current)==null?void 0:ye.querySelector(`${l2}[${zd}="${encodeURIComponent(ie[0])}"]`);he==null||he.parentElement.appendChild(he)})}function q(){let X=pe().find(le=>le.getAttribute("aria-disabled")!=="true"),ne=X==null?void 0:X.getAttribute(zd);A.setState("value",ne||void 0)}function B(){var X,ne,le,ie;if(!a.current.search||h.current.shouldFilter===!1){a.current.filtered.count=o.current.size;return}a.current.filtered.groups=new Set;let ye=0;for(let he of o.current){let ve=(ne=(X=s.current.get(he))==null?void 0:X.value)!=null?ne:"",me=(ie=(le=s.current.get(he))==null?void 0:le.keywords)!=null?ie:[],ge=V(ve,me);a.current.filtered.items.set(he,ge),ge>0&&ye++}for(let[he,ve]of i.current)for(let me of ve)if(a.current.filtered.items.get(me)>0){a.current.filtered.groups.add(he);break}a.current.filtered.count=ye}function F(){var X,ne,le;let ie=J();ie&&(((X=ie.parentElement)==null?void 0:X.firstChild)===ie&&((le=(ne=ie.closest(l2))==null?void 0:ne.querySelector(MIe))==null||le.scrollIntoView({block:"nearest"})),ie.scrollIntoView({block:"nearest"}))}function J(){var X;return(X=D.current)==null?void 0:X.querySelector(`${SW}[aria-selected="true"]`)}function pe(){var X;return Array.from(((X=D.current)==null?void 0:X.querySelectorAll(rF))||[])}function R(X){let ne=pe()[X];ne&&A.setState("value",ne.getAttribute(zd))}function $(X){var ne;let le=J(),ie=pe(),ye=ie.findIndex(ve=>ve===le),he=ie[ye+X];(ne=h.current)!=null&&ne.loop&&(he=ye+X<0?ie[ie.length-1]:ye+X===ie.length?ie[0]:ie[ye+X]),he&&A.setState("value",he.getAttribute(zd))}function T(X){let ne=J(),le=ne==null?void 0:ne.closest(l2),ie;for(;le&&!ie;)le=X>0?IIe(le,l2):AIe(le,l2),ie=le==null?void 0:le.querySelector(rF);ie?A.setState("value",ie.getAttribute(zd)):$(X)}let G=()=>R(pe().length-1),W=X=>{X.preventDefault(),X.metaKey?G():X.altKey?T(1):$(1)},Me=X=>{X.preventDefault(),X.metaKey?R(0):X.altKey?T(-1):$(-1)};return p.createElement(jn.div,{ref:t,tabIndex:-1,...N,"cmdk-root":"",onKeyDown:X=>{var ne;(ne=N.onKeyDown)==null||ne.call(N,X);let le=X.nativeEvent.isComposing||X.keyCode===229;if(!(X.defaultPrevented||le))switch(X.key){case"n":case"j":{_&&X.ctrlKey&&W(X);break}case"ArrowDown":{W(X);break}case"p":case"k":{_&&X.ctrlKey&&Me(X);break}case"ArrowUp":{Me(X);break}case"Home":{X.preventDefault(),R(0);break}case"End":{X.preventDefault(),G();break}case"Enter":{X.preventDefault();let ie=J();if(ie){let ye=new Event(eP);ie.dispatchEvent(ye)}}}}},p.createElement("label",{"cmdk-label":"",htmlFor:j.inputId,id:j.labelId,style:$Ie},f),TA(e,X=>p.createElement(NW.Provider,{value:A},p.createElement(CW.Provider,{value:j},X))))}),bIe=p.forwardRef((e,t)=>{var a,o;let i=It(),s=p.useRef(null),l=p.useContext(LW),h=z2(),f=IW(e),y=(o=(a=f.current)==null?void 0:a.forceMount)!=null?o:l==null?void 0:l.forceMount;V1(()=>{if(!y)return h.item(i,l==null?void 0:l.id)},[y]);let k=AW(i,s,[e.value,e.children,s],e.keywords),m=sO(),x=Ci(P=>P.value&&P.value===k.current),S=Ci(P=>y||h.filter()===!1?!0:P.search?P.filtered.items.get(i)>0:!0);p.useEffect(()=>{let P=s.current;if(!(!P||e.disabled))return P.addEventListener(eP,b),()=>P.removeEventListener(eP,b)},[S,e.onSelect,e.disabled]);function b(){var P,A;w(),(A=(P=f.current).onSelect)==null||A.call(P,k.current)}function w(){m.setState("value",k.current,!0)}if(!S)return null;let{disabled:_,value:N,onSelect:L,forceMount:I,keywords:O,...D}=e;return p.createElement(jn.div,{ref:kt(s,t),...D,id:i,"cmdk-item":"",role:"option","aria-disabled":!!_,"aria-selected":!!x,"data-disabled":!!_,"data-selected":!!x,onPointerMove:_||h.getDisablePointerSelection()?void 0:w,onClick:_?void 0:b},e.children)}),wIe=p.forwardRef((e,t)=>{let{heading:a,children:o,forceMount:i,...s}=e,l=It(),h=p.useRef(null),f=p.useRef(null),y=It(),k=z2(),m=Ci(S=>i||k.filter()===!1?!0:S.search?S.filtered.groups.has(l):!0);V1(()=>k.group(l),[]),AW(l,h,[e.value,e.heading,f]);let x=p.useMemo(()=>({id:l,forceMount:i}),[i]);return p.createElement(jn.div,{ref:kt(h,t),...s,"cmdk-group":"",role:"presentation",hidden:m?void 0:!0},a&&p.createElement("div",{ref:f,"cmdk-group-heading":"","aria-hidden":!0,id:y},a),TA(e,S=>p.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":a?y:void 0},p.createElement(LW.Provider,{value:x},S))))}),_Ie=p.forwardRef((e,t)=>{let{alwaysRender:a,...o}=e,i=p.useRef(null),s=Ci(l=>!l.search);return!a&&!s?null:p.createElement(jn.div,{ref:kt(i,t),...o,"cmdk-separator":"",role:"separator"})}),SIe=p.forwardRef((e,t)=>{let{onValueChange:a,...o}=e,i=e.value!=null,s=sO(),l=Ci(y=>y.search),h=Ci(y=>y.selectedItemId),f=z2();return p.useEffect(()=>{e.value!=null&&s.setState("search",e.value)},[e.value]),p.createElement(jn.input,{ref:t,...o,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":f.listId,"aria-labelledby":f.labelId,"aria-activedescendant":h,id:f.inputId,type:"text",value:i?e.value:l,onChange:y=>{i||s.setState("search",y.target.value),a==null||a(y.target.value)}})}),CIe=p.forwardRef((e,t)=>{let{children:a,label:o="Suggestions",...i}=e,s=p.useRef(null),l=p.useRef(null),h=Ci(y=>y.selectedItemId),f=z2();return p.useEffect(()=>{if(l.current&&s.current){let y=l.current,k=s.current,m,x=new ResizeObserver(()=>{m=requestAnimationFrame(()=>{let S=y.offsetHeight;k.style.setProperty("--cmdk-list-height",S.toFixed(1)+"px")})});return x.observe(y),()=>{cancelAnimationFrame(m),x.unobserve(y)}}},[]),p.createElement(jn.div,{ref:kt(s,t),...i,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":h,"aria-label":o,id:f.listId},TA(e,y=>p.createElement("div",{ref:kt(l,f.listInnerRef),"cmdk-list-sizer":""},y)))}),NIe=p.forwardRef((e,t)=>{let{open:a,onOpenChange:o,overlayClassName:i,contentClassName:s,container:l,...h}=e;return p.createElement(oO,{open:a,onOpenChange:o},p.createElement(rO,{container:l},p.createElement(iO,{"cmdk-overlay":"",className:i}),p.createElement(cO,{"aria-label":e.label,"cmdk-dialog":"",className:s},p.createElement(EW,{ref:t,...h}))))}),LIe=p.forwardRef((e,t)=>Ci(a=>a.filtered.count===0)?p.createElement(jn.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),EIe=p.forwardRef((e,t)=>{let{progress:a,children:o,label:i="Loading...",...s}=e;return p.createElement(jn.div,{ref:t,...s,"cmdk-loading":"",role:"progressbar","aria-valuenow":a,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},TA(e,l=>p.createElement("div",{"aria-hidden":!0},l)))}),Z1=Object.assign(EW,{List:CIe,Item:bIe,Input:SIe,Group:wIe,Separator:_Ie,Dialog:NIe,Empty:LIe,Loading:EIe});function IIe(e,t){let a=e.nextElementSibling;for(;a;){if(a.matches(t))return a;a=a.nextElementSibling}}function AIe(e,t){let a=e.previousElementSibling;for(;a;){if(a.matches(t))return a;a=a.previousElementSibling}}function IW(e){let t=p.useRef(e);return V1(()=>{t.current=e}),t}var V1=typeof window>"u"?p.useEffect:p.useLayoutEffect;function qd(e){let t=p.useRef();return t.current===void 0&&(t.current=e()),t}function Ci(e){let t=sO(),a=()=>e(t.snapshot());return p.useSyncExternalStore(t.subscribe,a,a)}function AW(e,t,a,o=[]){let i=p.useRef(),s=z2();return V1(()=>{var l;let h=(()=>{var y;for(let k of a){if(typeof k=="string")return k.trim();if(typeof k=="object"&&"current"in k)return k.current?(y=k.current.textContent)==null?void 0:y.trim():i.current}})(),f=o.map(y=>y.trim());s.value(e,h,f),(l=t.current)==null||l.setAttribute(zd,h),i.current=h}),i}var TIe=()=>{let[e,t]=p.useState(),a=qd(()=>new Map);return V1(()=>{a.current.forEach(o=>o()),a.current=new Map},[e]),(o,i)=>{a.current.set(o,i),t({})}};function RIe(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function TA({asChild:e,children:t},a){return e&&p.isValidElement(t)?p.cloneElement(RIe(t),{ref:t.ref},a(t.props.children)):a(t)}var $Ie={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function TW({...e}){return M.jsx(oO,{"data-slot":"dialog",...e})}function jIe({...e}){return M.jsx(bW,{"data-slot":"dialog-trigger",...e})}function RW({...e}){return M.jsx(rO,{"data-slot":"dialog-portal",...e})}function PIe({...e}){return M.jsx(AA,{"data-slot":"dialog-close",...e})}function $W({className:e,...t}){return M.jsx(iO,{"data-slot":"dialog-overlay",className:ee("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-[1010] bg-black/50",e),...t})}function jW({className:e,children:t,...a}){return M.jsxs(RW,{"data-slot":"dialog-portal",children:[M.jsx($W,{}),M.jsxs(cO,{"data-slot":"dialog-content",className:ee("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),...a,children:[t,M.jsxs(AA,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[M.jsx(bi,{}),M.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function PW({className:e,...t}){return M.jsx("div",{"data-slot":"dialog-header",className:ee("flex flex-col gap-2 text-center sm:text-left",e),...t})}function OIe({className:e,...t}){return M.jsx("div",{"data-slot":"dialog-footer",className:ee("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function OW({className:e,...t}){return M.jsx(wW,{"data-slot":"dialog-title",className:ee("text-lg leading-none font-semibold",e),...t})}function DW({className:e,...t}){return M.jsx(_W,{"data-slot":"dialog-description",className:ee("text-muted-foreground text-sm",e),...t})}function lO({className:e,...t}){return M.jsx(Z1,{"data-slot":"command",className:ee("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",e),...t})}function DIe({title:e="Command Palette",description:t="Search for a command to run...",children:a,...o}){return M.jsxs(TW,{...o,children:[M.jsxs(PW,{className:"sr-only",children:[M.jsx(OW,{children:e}),M.jsx(DW,{children:t})]}),M.jsx(jW,{className:"overflow-hidden p-0",children:M.jsx(lO,{className:"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:a})})]})}function zW({className:e,...t}){return M.jsxs("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[M.jsx(g2,{className:"size-4 shrink-0 opacity-50"}),M.jsx(Z1.Input,{"data-slot":"command-input",className:ee("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...t})]})}function qW({className:e,...t}){return M.jsx(Z1.List,{"data-slot":"command-list",className:ee("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",e),...t})}function HW({...e}){return M.jsx(Z1.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...e})}function VW({className:e,...t}){return M.jsx(Z1.Group,{"data-slot":"command-group",className:ee("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",e),...t})}function BW({className:e,...t}){return M.jsx(Z1.Separator,{"data-slot":"command-separator",className:ee("bg-border -mx-1 h-px",e),...t})}function FW({className:e,...t}){return M.jsx(Z1.Item,{"data-slot":"command-item",className:ee("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}function zIe({className:e,...t}){return M.jsx("span",{"data-slot":"command-shortcut",className:ee("text-muted-foreground ml-auto text-xs tracking-widest",e),...t})}function qIe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,HIe(i,...t)]}function HIe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function VIe(e){const t=BIe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(UIe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function BIe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=WIe(i),h=GIe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var FIe=Symbol("radix.slottable");function UIe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===FIe}function GIe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function WIe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var ZIe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],XIe=ZIe.reduce((e,t)=>{const a=VIe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function KIe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,YIe(i,...t)]}function YIe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function iF(e){const t=QIe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(eAe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function QIe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=nAe(i),h=tAe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var JIe=Symbol("radix.slottable");function eAe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===JIe}function tAe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function nAe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}function q2(e){const t=e+"CollectionProvider",[a,o]=KIe(t),[i,s]=a(t,{collectionRef:{current:null},itemMap:new Map}),l=w=>{const{scope:_,children:N}=w,L=ke.useRef(null),I=ke.useRef(new Map).current;return M.jsx(i,{scope:_,itemMap:I,collectionRef:L,children:N})};l.displayName=t;const h=e+"CollectionSlot",f=iF(h),y=ke.forwardRef((w,_)=>{const{scope:N,children:L}=w,I=s(h,N),O=ze(_,I.collectionRef);return M.jsx(f,{ref:O,children:L})});y.displayName=h;const k=e+"CollectionItemSlot",m="data-radix-collection-item",x=iF(k),S=ke.forwardRef((w,_)=>{const{scope:N,children:L,...I}=w,O=ke.useRef(null),D=ze(_,O),P=s(k,N);return ke.useEffect(()=>(P.itemMap.set(O,{ref:O,...I}),()=>void P.itemMap.delete(O))),M.jsx(x,{[m]:"",ref:D,children:L})});S.displayName=k;function b(w){const _=s(e+"CollectionConsumer",w);return ke.useCallback(()=>{const L=_.collectionRef.current;if(!L)return[];const I=Array.from(L.querySelectorAll(`[${m}]`));return Array.from(_.itemMap.values()).sort((P,A)=>I.indexOf(P.ref.current)-I.indexOf(A.ref.current))},[_.collectionRef,_.itemMap])}return[{Provider:l,Slot:y,ItemSlot:S},b,o]}function aAe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,oAe(i,...t)]}function oAe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}var rAe=p.createContext(void 0);function H2(e){const t=p.useContext(rAe);return e||t||"ltr"}const iAe=["top","right","bottom","left"],Ni=Math.min,Gn=Math.max,nA=Math.round,_h=Math.floor,dr=e=>({x:e,y:e}),cAe={left:"right",right:"left",bottom:"top",top:"bottom"};function tP(e,t,a){return Gn(e,Ni(t,a))}function qr(e,t){return typeof e=="function"?e(t):e}function Hr(e){return e.split("-")[0]}function ou(e){return e.split("-")[1]}function dO(e){return e==="x"?"y":"x"}function uO(e){return e==="y"?"height":"width"}function cr(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function hO(e){return dO(cr(e))}function sAe(e,t,a){a===void 0&&(a=!1);const o=ou(e),i=hO(e),s=uO(i);let l=i==="x"?o===(a?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=aA(l)),[l,aA(l)]}function lAe(e){const t=aA(e);return[nP(e),t,nP(t)]}function nP(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const cF=["left","right"],sF=["right","left"],dAe=["top","bottom"],uAe=["bottom","top"];function hAe(e,t,a){switch(e){case"top":case"bottom":return a?t?sF:cF:t?cF:sF;case"left":case"right":return t?dAe:uAe;default:return[]}}function pAe(e,t,a,o){const i=ou(e);let s=hAe(Hr(e),a==="start",o);return i&&(s=s.map(l=>l+"-"+i),t&&(s=s.concat(s.map(nP)))),s}function aA(e){const t=Hr(e);return cAe[t]+e.slice(t.length)}function fAe(e){return{top:0,right:0,bottom:0,left:0,...e}}function UW(e){return typeof e!="number"?fAe(e):{top:e,right:e,bottom:e,left:e}}function oA(e){const{x:t,y:a,width:o,height:i}=e;return{width:o,height:i,top:a,left:t,right:t+o,bottom:a+i,x:t,y:a}}function lF(e,t,a){let{reference:o,floating:i}=e;const s=cr(t),l=hO(t),h=uO(l),f=Hr(t),y=s==="y",k=o.x+o.width/2-i.width/2,m=o.y+o.height/2-i.height/2,x=o[h]/2-i[h]/2;let S;switch(f){case"top":S={x:k,y:o.y-i.height};break;case"bottom":S={x:k,y:o.y+o.height};break;case"right":S={x:o.x+o.width,y:m};break;case"left":S={x:o.x-i.width,y:m};break;default:S={x:o.x,y:o.y}}switch(ou(t)){case"start":S[l]-=x*(a&&y?-1:1);break;case"end":S[l]+=x*(a&&y?-1:1);break}return S}async function yAe(e,t){var a;t===void 0&&(t={});const{x:o,y:i,platform:s,rects:l,elements:h,strategy:f}=e,{boundary:y="clippingAncestors",rootBoundary:k="viewport",elementContext:m="floating",altBoundary:x=!1,padding:S=0}=qr(t,e),b=UW(S),_=h[x?m==="floating"?"reference":"floating":m],N=oA(await s.getClippingRect({element:(a=await(s.isElement==null?void 0:s.isElement(_)))==null||a?_:_.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(h.floating)),boundary:y,rootBoundary:k,strategy:f})),L=m==="floating"?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,I=await(s.getOffsetParent==null?void 0:s.getOffsetParent(h.floating)),O=await(s.isElement==null?void 0:s.isElement(I))?await(s.getScale==null?void 0:s.getScale(I))||{x:1,y:1}:{x:1,y:1},D=oA(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:L,offsetParent:I,strategy:f}):L);return{top:(N.top-D.top+b.top)/O.y,bottom:(D.bottom-N.bottom+b.bottom)/O.y,left:(N.left-D.left+b.left)/O.x,right:(D.right-N.right+b.right)/O.x}}const mAe=50,vAe=async(e,t,a)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:l}=a,h=l.detectOverflow?l:{...l,detectOverflow:yAe},f=await(l.isRTL==null?void 0:l.isRTL(t));let y=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:k,y:m}=lF(y,o,f),x=o,S=0;const b={};for(let w=0;w<s.length;w++){const _=s[w];if(!_)continue;const{name:N,fn:L}=_,{x:I,y:O,data:D,reset:P}=await L({x:k,y:m,initialPlacement:o,placement:x,strategy:i,middlewareData:b,rects:y,platform:h,elements:{reference:e,floating:t}});k=I??k,m=O??m,b[N]={...b[N],...D},P&&S<mAe&&(S++,typeof P=="object"&&(P.placement&&(x=P.placement),P.rects&&(y=P.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):P.rects),{x:k,y:m}=lF(y,x,f)),w=-1)}return{x:k,y:m,placement:x,strategy:i,middlewareData:b}},kAe=e=>({name:"arrow",options:e,async fn(t){const{x:a,y:o,placement:i,rects:s,platform:l,elements:h,middlewareData:f}=t,{element:y,padding:k=0}=qr(e,t)||{};if(y==null)return{};const m=UW(k),x={x:a,y:o},S=hO(i),b=uO(S),w=await l.getDimensions(y),_=S==="y",N=_?"top":"left",L=_?"bottom":"right",I=_?"clientHeight":"clientWidth",O=s.reference[b]+s.reference[S]-x[S]-s.floating[b],D=x[S]-s.reference[S],P=await(l.getOffsetParent==null?void 0:l.getOffsetParent(y));let A=P?P[I]:0;(!A||!await(l.isElement==null?void 0:l.isElement(P)))&&(A=h.floating[I]||s.floating[b]);const j=O/2-D/2,V=A/2-w[b]/2-1,K=Ni(m[N],V),q=Ni(m[L],V),B=K,F=A-w[b]-q,J=A/2-w[b]/2+j,pe=tP(B,J,F),R=!f.arrow&&ou(i)!=null&&J!==pe&&s.reference[b]/2-(J<B?K:q)-w[b]/2<0,$=R?J<B?J-B:J-F:0;return{[S]:x[S]+$,data:{[S]:pe,centerOffset:J-pe-$,...R&&{alignmentOffset:$}},reset:R}}}),gAe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var a,o;const{placement:i,middlewareData:s,rects:l,initialPlacement:h,platform:f,elements:y}=t,{mainAxis:k=!0,crossAxis:m=!0,fallbackPlacements:x,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:w=!0,..._}=qr(e,t);if((a=s.arrow)!=null&&a.alignmentOffset)return{};const N=Hr(i),L=cr(h),I=Hr(h)===h,O=await(f.isRTL==null?void 0:f.isRTL(y.floating)),D=x||(I||!w?[aA(h)]:lAe(h)),P=b!=="none";!x&&P&&D.push(...pAe(h,w,b,O));const A=[h,...D],j=await f.detectOverflow(t,_),V=[];let K=((o=s.flip)==null?void 0:o.overflows)||[];if(k&&V.push(j[N]),m){const J=sAe(i,l,O);V.push(j[J[0]],j[J[1]])}if(K=[...K,{placement:i,overflows:V}],!V.every(J=>J<=0)){var q,B;const J=(((q=s.flip)==null?void 0:q.index)||0)+1,pe=A[J];if(pe&&(!(m==="alignment"?L!==cr(pe):!1)||K.every(T=>cr(T.placement)===L?T.overflows[0]>0:!0)))return{data:{index:J,overflows:K},reset:{placement:pe}};let R=(B=K.filter($=>$.overflows[0]<=0).sort(($,T)=>$.overflows[1]-T.overflows[1])[0])==null?void 0:B.placement;if(!R)switch(S){case"bestFit":{var F;const $=(F=K.filter(T=>{if(P){const G=cr(T.placement);return G===L||G==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(G=>G>0).reduce((G,W)=>G+W,0)]).sort((T,G)=>T[1]-G[1])[0])==null?void 0:F[0];$&&(R=$);break}case"initialPlacement":R=h;break}if(i!==R)return{reset:{placement:R}}}return{}}}};function dF(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function uF(e){return iAe.some(t=>e[t]>=0)}const MAe=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:a,platform:o}=t,{strategy:i="referenceHidden",...s}=qr(e,t);switch(i){case"referenceHidden":{const l=await o.detectOverflow(t,{...s,elementContext:"reference"}),h=dF(l,a.reference);return{data:{referenceHiddenOffsets:h,referenceHidden:uF(h)}}}case"escaped":{const l=await o.detectOverflow(t,{...s,altBoundary:!0}),h=dF(l,a.floating);return{data:{escapedOffsets:h,escaped:uF(h)}}}default:return{}}}}},GW=new Set(["left","top"]);async function xAe(e,t){const{placement:a,platform:o,elements:i}=e,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),l=Hr(a),h=ou(a),f=cr(a)==="y",y=GW.has(l)?-1:1,k=s&&f?-1:1,m=qr(t,e);let{mainAxis:x,crossAxis:S,alignmentAxis:b}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return h&&typeof b=="number"&&(S=h==="end"?b*-1:b),f?{x:S*k,y:x*y}:{x:x*y,y:S*k}}const bAe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var a,o;const{x:i,y:s,placement:l,middlewareData:h}=t,f=await xAe(t,e);return l===((a=h.offset)==null?void 0:a.placement)&&(o=h.arrow)!=null&&o.alignmentOffset?{}:{x:i+f.x,y:s+f.y,data:{...f,placement:l}}}}},wAe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:a,y:o,placement:i,platform:s}=t,{mainAxis:l=!0,crossAxis:h=!1,limiter:f={fn:N=>{let{x:L,y:I}=N;return{x:L,y:I}}},...y}=qr(e,t),k={x:a,y:o},m=await s.detectOverflow(t,y),x=cr(Hr(i)),S=dO(x);let b=k[S],w=k[x];if(l){const N=S==="y"?"top":"left",L=S==="y"?"bottom":"right",I=b+m[N],O=b-m[L];b=tP(I,b,O)}if(h){const N=x==="y"?"top":"left",L=x==="y"?"bottom":"right",I=w+m[N],O=w-m[L];w=tP(I,w,O)}const _=f.fn({...t,[S]:b,[x]:w});return{..._,data:{x:_.x-a,y:_.y-o,enabled:{[S]:l,[x]:h}}}}}},_Ae=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:a,y:o,placement:i,rects:s,middlewareData:l}=t,{offset:h=0,mainAxis:f=!0,crossAxis:y=!0}=qr(e,t),k={x:a,y:o},m=cr(i),x=dO(m);let S=k[x],b=k[m];const w=qr(h,t),_=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(f){const I=x==="y"?"height":"width",O=s.reference[x]-s.floating[I]+_.mainAxis,D=s.reference[x]+s.reference[I]-_.mainAxis;S<O?S=O:S>D&&(S=D)}if(y){var N,L;const I=x==="y"?"width":"height",O=GW.has(Hr(i)),D=s.reference[m]-s.floating[I]+(O&&((N=l.offset)==null?void 0:N[m])||0)+(O?0:_.crossAxis),P=s.reference[m]+s.reference[I]+(O?0:((L=l.offset)==null?void 0:L[m])||0)-(O?_.crossAxis:0);b<D?b=D:b>P&&(b=P)}return{[x]:S,[m]:b}}}},SAe=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var a,o;const{placement:i,rects:s,platform:l,elements:h}=t,{apply:f=()=>{},...y}=qr(e,t),k=await l.detectOverflow(t,y),m=Hr(i),x=ou(i),S=cr(i)==="y",{width:b,height:w}=s.floating;let _,N;m==="top"||m==="bottom"?(_=m,N=x===(await(l.isRTL==null?void 0:l.isRTL(h.floating))?"start":"end")?"left":"right"):(N=m,_=x==="end"?"top":"bottom");const L=w-k.top-k.bottom,I=b-k.left-k.right,O=Ni(w-k[_],L),D=Ni(b-k[N],I),P=!t.middlewareData.shift;let A=O,j=D;if((a=t.middlewareData.shift)!=null&&a.enabled.x&&(j=I),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(A=L),P&&!x){const K=Gn(k.left,0),q=Gn(k.right,0),B=Gn(k.top,0),F=Gn(k.bottom,0);S?j=b-2*(K!==0||q!==0?K+q:Gn(k.left,k.right)):A=w-2*(B!==0||F!==0?B+F:Gn(k.top,k.bottom))}await f({...t,availableWidth:j,availableHeight:A});const V=await l.getDimensions(h.floating);return b!==V.width||w!==V.height?{reset:{rects:!0}}:{}}}};function RA(){return typeof window<"u"}function ru(e){return WW(e)?(e.nodeName||"").toLowerCase():"#document"}function Wn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pr(e){var t;return(t=(WW(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function WW(e){return RA()?e instanceof Node||e instanceof Wn(e).Node:!1}function _a(e){return RA()?e instanceof Element||e instanceof Wn(e).Element:!1}function Vr(e){return RA()?e instanceof HTMLElement||e instanceof Wn(e).HTMLElement:!1}function hF(e){return!RA()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Wn(e).ShadowRoot}function V2(e){const{overflow:t,overflowX:a,overflowY:o,display:i}=Sa(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+a)&&i!=="inline"&&i!=="contents"}function CAe(e){return/^(table|td|th)$/.test(ru(e))}function $A(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const NAe=/transform|translate|scale|rotate|perspective|filter/,LAe=/paint|layout|strict|content/,nc=e=>!!e&&e!=="none";let Ej;function pO(e){const t=_a(e)?Sa(e):e;return nc(t.transform)||nc(t.translate)||nc(t.scale)||nc(t.rotate)||nc(t.perspective)||!fO()&&(nc(t.backdropFilter)||nc(t.filter))||NAe.test(t.willChange||"")||LAe.test(t.contain||"")}function EAe(e){let t=Li(e);for(;Vr(t)&&!Wd(t);){if(pO(t))return t;if($A(t))return null;t=Li(t)}return null}function fO(){return Ej==null&&(Ej=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ej}function Wd(e){return/^(html|body|#document)$/.test(ru(e))}function Sa(e){return Wn(e).getComputedStyle(e)}function jA(e){return _a(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Li(e){if(ru(e)==="html")return e;const t=e.assignedSlot||e.parentNode||hF(e)&&e.host||pr(e);return hF(t)?t.host:t}function ZW(e){const t=Li(e);return Wd(t)?e.ownerDocument?e.ownerDocument.body:e.body:Vr(t)&&V2(t)?t:ZW(t)}function _2(e,t,a){var o;t===void 0&&(t=[]),a===void 0&&(a=!0);const i=ZW(e),s=i===((o=e.ownerDocument)==null?void 0:o.body),l=Wn(i);if(s){const h=aP(l);return t.concat(l,l.visualViewport||[],V2(i)?i:[],h&&a?_2(h):[])}else return t.concat(i,_2(i,[],a))}function aP(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function XW(e){const t=Sa(e);let a=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=Vr(e),s=i?e.offsetWidth:a,l=i?e.offsetHeight:o,h=nA(a)!==s||nA(o)!==l;return h&&(a=s,o=l),{width:a,height:o,$:h}}function yO(e){return _a(e)?e:e.contextElement}function Bd(e){const t=yO(e);if(!Vr(t))return dr(1);const a=t.getBoundingClientRect(),{width:o,height:i,$:s}=XW(t);let l=(s?nA(a.width):a.width)/o,h=(s?nA(a.height):a.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!h||!Number.isFinite(h))&&(h=1),{x:l,y:h}}const IAe=dr(0);function KW(e){const t=Wn(e);return!fO()||!t.visualViewport?IAe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function AAe(e,t,a){return t===void 0&&(t=!1),!a||t&&a!==Wn(e)?!1:t}function B1(e,t,a,o){t===void 0&&(t=!1),a===void 0&&(a=!1);const i=e.getBoundingClientRect(),s=yO(e);let l=dr(1);t&&(o?_a(o)&&(l=Bd(o)):l=Bd(e));const h=AAe(s,a,o)?KW(s):dr(0);let f=(i.left+h.x)/l.x,y=(i.top+h.y)/l.y,k=i.width/l.x,m=i.height/l.y;if(s){const x=Wn(s),S=o&&_a(o)?Wn(o):o;let b=x,w=aP(b);for(;w&&o&&S!==b;){const _=Bd(w),N=w.getBoundingClientRect(),L=Sa(w),I=N.left+(w.clientLeft+parseFloat(L.paddingLeft))*_.x,O=N.top+(w.clientTop+parseFloat(L.paddingTop))*_.y;f*=_.x,y*=_.y,k*=_.x,m*=_.y,f+=I,y+=O,b=Wn(w),w=aP(b)}}return oA({width:k,height:m,x:f,y})}function PA(e,t){const a=jA(e).scrollLeft;return t?t.left+a:B1(pr(e)).left+a}function YW(e,t){const a=e.getBoundingClientRect(),o=a.left+t.scrollLeft-PA(e,a),i=a.top+t.scrollTop;return{x:o,y:i}}function TAe(e){let{elements:t,rect:a,offsetParent:o,strategy:i}=e;const s=i==="fixed",l=pr(o),h=t?$A(t.floating):!1;if(o===l||h&&s)return a;let f={scrollLeft:0,scrollTop:0},y=dr(1);const k=dr(0),m=Vr(o);if((m||!m&&!s)&&((ru(o)!=="body"||V2(l))&&(f=jA(o)),m)){const S=B1(o);y=Bd(o),k.x=S.x+o.clientLeft,k.y=S.y+o.clientTop}const x=l&&!m&&!s?YW(l,f):dr(0);return{width:a.width*y.x,height:a.height*y.y,x:a.x*y.x-f.scrollLeft*y.x+k.x+x.x,y:a.y*y.y-f.scrollTop*y.y+k.y+x.y}}function RAe(e){return Array.from(e.getClientRects())}function $Ae(e){const t=pr(e),a=jA(e),o=e.ownerDocument.body,i=Gn(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=Gn(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-a.scrollLeft+PA(e);const h=-a.scrollTop;return Sa(o).direction==="rtl"&&(l+=Gn(t.clientWidth,o.clientWidth)-i),{width:i,height:s,x:l,y:h}}const pF=25;function jAe(e,t){const a=Wn(e),o=pr(e),i=a.visualViewport;let s=o.clientWidth,l=o.clientHeight,h=0,f=0;if(i){s=i.width,l=i.height;const k=fO();(!k||k&&t==="fixed")&&(h=i.offsetLeft,f=i.offsetTop)}const y=PA(o);if(y<=0){const k=o.ownerDocument,m=k.body,x=getComputedStyle(m),S=k.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,b=Math.abs(o.clientWidth-m.clientWidth-S);b<=pF&&(s-=b)}else y<=pF&&(s+=y);return{width:s,height:l,x:h,y:f}}function PAe(e,t){const a=B1(e,!0,t==="fixed"),o=a.top+e.clientTop,i=a.left+e.clientLeft,s=Vr(e)?Bd(e):dr(1),l=e.clientWidth*s.x,h=e.clientHeight*s.y,f=i*s.x,y=o*s.y;return{width:l,height:h,x:f,y}}function fF(e,t,a){let o;if(t==="viewport")o=jAe(e,a);else if(t==="document")o=$Ae(pr(e));else if(_a(t))o=PAe(t,a);else{const i=KW(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return oA(o)}function QW(e,t){const a=Li(e);return a===t||!_a(a)||Wd(a)?!1:Sa(a).position==="fixed"||QW(a,t)}function OAe(e,t){const a=t.get(e);if(a)return a;let o=_2(e,[],!1).filter(h=>_a(h)&&ru(h)!=="body"),i=null;const s=Sa(e).position==="fixed";let l=s?Li(e):e;for(;_a(l)&&!Wd(l);){const h=Sa(l),f=pO(l);!f&&h.position==="fixed"&&(i=null),(s?!f&&!i:!f&&h.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||V2(l)&&!f&&QW(e,l))?o=o.filter(k=>k!==l):i=h,l=Li(l)}return t.set(e,o),o}function DAe(e){let{element:t,boundary:a,rootBoundary:o,strategy:i}=e;const l=[...a==="clippingAncestors"?$A(t)?[]:OAe(t,this._c):[].concat(a),o],h=fF(t,l[0],i);let f=h.top,y=h.right,k=h.bottom,m=h.left;for(let x=1;x<l.length;x++){const S=fF(t,l[x],i);f=Gn(S.top,f),y=Ni(S.right,y),k=Ni(S.bottom,k),m=Gn(S.left,m)}return{width:y-m,height:k-f,x:m,y:f}}function zAe(e){const{width:t,height:a}=XW(e);return{width:t,height:a}}function qAe(e,t,a){const o=Vr(t),i=pr(t),s=a==="fixed",l=B1(e,!0,s,t);let h={scrollLeft:0,scrollTop:0};const f=dr(0);function y(){f.x=PA(i)}if(o||!o&&!s)if((ru(t)!=="body"||V2(i))&&(h=jA(t)),o){const S=B1(t,!0,s,t);f.x=S.x+t.clientLeft,f.y=S.y+t.clientTop}else i&&y();s&&!o&&i&&y();const k=i&&!o&&!s?YW(i,h):dr(0),m=l.left+h.scrollLeft-f.x-k.x,x=l.top+h.scrollTop-f.y-k.y;return{x:m,y:x,width:l.width,height:l.height}}function Ij(e){return Sa(e).position==="static"}function yF(e,t){if(!Vr(e)||Sa(e).position==="fixed")return null;if(t)return t(e);let a=e.offsetParent;return pr(e)===a&&(a=a.ownerDocument.body),a}function JW(e,t){const a=Wn(e);if($A(e))return a;if(!Vr(e)){let i=Li(e);for(;i&&!Wd(i);){if(_a(i)&&!Ij(i))return i;i=Li(i)}return a}let o=yF(e,t);for(;o&&CAe(o)&&Ij(o);)o=yF(o,t);return o&&Wd(o)&&Ij(o)&&!pO(o)?a:o||EAe(e)||a}const HAe=async function(e){const t=this.getOffsetParent||JW,a=this.getDimensions,o=await a(e.floating);return{reference:qAe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function VAe(e){return Sa(e).direction==="rtl"}const BAe={convertOffsetParentRelativeRectToViewportRelativeRect:TAe,getDocumentElement:pr,getClippingRect:DAe,getOffsetParent:JW,getElementRects:HAe,getClientRects:RAe,getDimensions:zAe,getScale:Bd,isElement:_a,isRTL:VAe};function eZ(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function FAe(e,t){let a=null,o;const i=pr(e);function s(){var h;clearTimeout(o),(h=a)==null||h.disconnect(),a=null}function l(h,f){h===void 0&&(h=!1),f===void 0&&(f=1),s();const y=e.getBoundingClientRect(),{left:k,top:m,width:x,height:S}=y;if(h||t(),!x||!S)return;const b=_h(m),w=_h(i.clientWidth-(k+x)),_=_h(i.clientHeight-(m+S)),N=_h(k),I={rootMargin:-b+"px "+-w+"px "+-_+"px "+-N+"px",threshold:Gn(0,Ni(1,f))||1};let O=!0;function D(P){const A=P[0].intersectionRatio;if(A!==f){if(!O)return l();A?l(!1,A):o=setTimeout(()=>{l(!1,1e-7)},1e3)}A===1&&!eZ(y,e.getBoundingClientRect())&&l(),O=!1}try{a=new IntersectionObserver(D,{...I,root:i.ownerDocument})}catch{a=new IntersectionObserver(D,I)}a.observe(e)}return l(!0),s}function UAe(e,t,a,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:f=!1}=o,y=yO(e),k=i||s?[...y?_2(y):[],...t?_2(t):[]]:[];k.forEach(N=>{i&&N.addEventListener("scroll",a,{passive:!0}),s&&N.addEventListener("resize",a)});const m=y&&h?FAe(y,a):null;let x=-1,S=null;l&&(S=new ResizeObserver(N=>{let[L]=N;L&&L.target===y&&S&&t&&(S.unobserve(t),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var I;(I=S)==null||I.observe(t)})),a()}),y&&!f&&S.observe(y),t&&S.observe(t));let b,w=f?B1(e):null;f&&_();function _(){const N=B1(e);w&&!eZ(w,N)&&a(),w=N,b=requestAnimationFrame(_)}return a(),()=>{var N;k.forEach(L=>{i&&L.removeEventListener("scroll",a),s&&L.removeEventListener("resize",a)}),m==null||m(),(N=S)==null||N.disconnect(),S=null,f&&cancelAnimationFrame(b)}}const GAe=bAe,WAe=wAe,ZAe=gAe,XAe=SAe,KAe=MAe,mF=kAe,YAe=_Ae,QAe=(e,t,a)=>{const o=new Map,i={platform:BAe,...a},s={...i.platform,_c:o};return vAe(e,t,{...i,platform:s})};var JAe=typeof document<"u",eTe=function(){},VI=JAe?p.useLayoutEffect:eTe;function rA(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let a,o,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(a=e.length,a!==t.length)return!1;for(o=a;o--!==0;)if(!rA(e[o],t[o]))return!1;return!0}if(i=Object.keys(e),a=i.length,a!==Object.keys(t).length)return!1;for(o=a;o--!==0;)if(!{}.hasOwnProperty.call(t,i[o]))return!1;for(o=a;o--!==0;){const s=i[o];if(!(s==="_owner"&&e.$$typeof)&&!rA(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function tZ(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vF(e,t){const a=tZ(e);return Math.round(t*a)/a}function Aj(e){const t=p.useRef(e);return VI(()=>{t.current=e}),t}function tTe(e){e===void 0&&(e={});const{placement:t="bottom",strategy:a="absolute",middleware:o=[],platform:i,elements:{reference:s,floating:l}={},transform:h=!0,whileElementsMounted:f,open:y}=e,[k,m]=p.useState({x:0,y:0,strategy:a,placement:t,middlewareData:{},isPositioned:!1}),[x,S]=p.useState(o);rA(x,o)||S(o);const[b,w]=p.useState(null),[_,N]=p.useState(null),L=p.useCallback(T=>{T!==P.current&&(P.current=T,w(T))},[]),I=p.useCallback(T=>{T!==A.current&&(A.current=T,N(T))},[]),O=s||b,D=l||_,P=p.useRef(null),A=p.useRef(null),j=p.useRef(k),V=f!=null,K=Aj(f),q=Aj(i),B=Aj(y),F=p.useCallback(()=>{if(!P.current||!A.current)return;const T={placement:t,strategy:a,middleware:x};q.current&&(T.platform=q.current),QAe(P.current,A.current,T).then(G=>{const W={...G,isPositioned:B.current!==!1};J.current&&!rA(j.current,W)&&(j.current=W,Kd.flushSync(()=>{m(W)}))})},[x,t,a,q,B]);VI(()=>{y===!1&&j.current.isPositioned&&(j.current.isPositioned=!1,m(T=>({...T,isPositioned:!1})))},[y]);const J=p.useRef(!1);VI(()=>(J.current=!0,()=>{J.current=!1}),[]),VI(()=>{if(O&&(P.current=O),D&&(A.current=D),O&&D){if(K.current)return K.current(O,D,F);F()}},[O,D,F,K,V]);const pe=p.useMemo(()=>({reference:P,floating:A,setReference:L,setFloating:I}),[L,I]),R=p.useMemo(()=>({reference:O,floating:D}),[O,D]),$=p.useMemo(()=>{const T={position:a,left:0,top:0};if(!R.floating)return T;const G=vF(R.floating,k.x),W=vF(R.floating,k.y);return h?{...T,transform:"translate("+G+"px, "+W+"px)",...tZ(R.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:G,top:W}},[a,h,R.floating,k.x,k.y]);return p.useMemo(()=>({...k,update:F,refs:pe,elements:R,floatingStyles:$}),[k,F,pe,R,$])}const nTe=e=>{function t(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){const{element:o,padding:i}=typeof e=="function"?e(a):e;return o&&t(o)?o.current!=null?mF({element:o.current,padding:i}).fn(a):{}:o?mF({element:o,padding:i}).fn(a):{}}}},aTe=(e,t)=>{const a=GAe(e);return{name:a.name,fn:a.fn,options:[e,t]}},oTe=(e,t)=>{const a=WAe(e);return{name:a.name,fn:a.fn,options:[e,t]}},rTe=(e,t)=>({fn:YAe(e).fn,options:[e,t]}),iTe=(e,t)=>{const a=ZAe(e);return{name:a.name,fn:a.fn,options:[e,t]}},cTe=(e,t)=>{const a=XAe(e);return{name:a.name,fn:a.fn,options:[e,t]}},sTe=(e,t)=>{const a=KAe(e);return{name:a.name,fn:a.fn,options:[e,t]}},lTe=(e,t)=>{const a=nTe(e);return{name:a.name,fn:a.fn,options:[e,t]}};function dTe(e){const t=uTe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(pTe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function uTe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=yTe(i),h=fTe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var hTe=Symbol("radix.slottable");function pTe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===hTe}function fTe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function yTe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var mTe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vTe=mTe.reduce((e,t)=>{const a=dTe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),kTe="Arrow",nZ=p.forwardRef((e,t)=>{const{children:a,width:o=10,height:i=5,...s}=e;return M.jsx(vTe.svg,{...s,ref:t,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?a:M.jsx("polygon",{points:"0,0 30,0 15,10"})})});nZ.displayName=kTe;var gTe=nZ;function MTe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,xTe(i,...t)]}function xTe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function bTe(e){const t=wTe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(STe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function wTe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=NTe(i),h=CTe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var _Te=Symbol("radix.slottable");function STe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===_Te}function CTe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function NTe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var LTe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],aZ=LTe.reduce((e,t)=>{const a=bTe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),mO="Popper",[oZ,Ti]=MTe(mO),[ETe,rZ]=oZ(mO),iZ=e=>{const{__scopePopper:t,children:a}=e,[o,i]=p.useState(null);return M.jsx(ETe,{scope:t,anchor:o,onAnchorChange:i,children:a})};iZ.displayName=mO;var cZ="PopperAnchor",sZ=p.forwardRef((e,t)=>{const{__scopePopper:a,virtualRef:o,...i}=e,s=rZ(cZ,a),l=p.useRef(null),h=ze(t,l),f=p.useRef(null);return p.useEffect(()=>{const y=f.current;f.current=(o==null?void 0:o.current)||l.current,y!==f.current&&s.onAnchorChange(f.current)}),o?null:M.jsx(aZ.div,{...i,ref:h})});sZ.displayName=cZ;var vO="PopperContent",[ITe,ATe]=oZ(vO),lZ=p.forwardRef((e,t)=>{var he,ve,me,ge,fe,ce;const{__scopePopper:a,side:o="bottom",sideOffset:i=0,align:s="center",alignOffset:l=0,arrowPadding:h=0,avoidCollisions:f=!0,collisionBoundary:y=[],collisionPadding:k=0,sticky:m="partial",hideWhenDetached:x=!1,updatePositionStrategy:S="optimized",onPlaced:b,...w}=e,_=rZ(vO,a),[N,L]=p.useState(null),I=ze(t,Ee=>L(Ee)),[O,D]=p.useState(null),P=_A(O),A=(P==null?void 0:P.width)??0,j=(P==null?void 0:P.height)??0,V=o+(s!=="center"?"-"+s:""),K=typeof k=="number"?k:{top:0,right:0,bottom:0,left:0,...k},q=Array.isArray(y)?y:[y],B=q.length>0,F={padding:K,boundary:q.filter(RTe),altBoundary:B},{refs:J,floatingStyles:pe,placement:R,isPositioned:$,middlewareData:T}=tTe({strategy:"fixed",placement:V,whileElementsMounted:(...Ee)=>UAe(...Ee,{animationFrame:S==="always"}),elements:{reference:_.anchor},middleware:[aTe({mainAxis:i+j,alignmentAxis:l}),f&&oTe({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?rTe():void 0,...F}),f&&iTe({...F}),cTe({...F,apply:({elements:Ee,rects:$e,availableWidth:st,availableHeight:Ve})=>{const{width:tt,height:ot}=$e.reference,Ye=Ee.floating.style;Ye.setProperty("--radix-popper-available-width",`${st}px`),Ye.setProperty("--radix-popper-available-height",`${Ve}px`),Ye.setProperty("--radix-popper-anchor-width",`${tt}px`),Ye.setProperty("--radix-popper-anchor-height",`${ot}px`)}}),O&&lTe({element:O,padding:h}),$Te({arrowWidth:A,arrowHeight:j}),x&&sTe({strategy:"referenceHidden",...F})]}),[G,W]=hZ(R),Me=Zn(b);St(()=>{$&&(Me==null||Me())},[$,Me]);const X=(he=T.arrow)==null?void 0:he.x,ne=(ve=T.arrow)==null?void 0:ve.y,le=((me=T.arrow)==null?void 0:me.centerOffset)!==0,[ie,ye]=p.useState();return St(()=>{N&&ye(window.getComputedStyle(N).zIndex)},[N]),M.jsx("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...pe,transform:$?pe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ie,"--radix-popper-transform-origin":[(ge=T.transformOrigin)==null?void 0:ge.x,(fe=T.transformOrigin)==null?void 0:fe.y].join(" "),...((ce=T.hide)==null?void 0:ce.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:M.jsx(ITe,{scope:a,placedSide:G,onArrowChange:D,arrowX:X,arrowY:ne,shouldHideArrow:le,children:M.jsx(aZ.div,{"data-side":G,"data-align":W,...w,ref:I,style:{...w.style,animation:$?void 0:"none"}})})})});lZ.displayName=vO;var dZ="PopperArrow",TTe={top:"bottom",right:"left",bottom:"top",left:"right"},uZ=p.forwardRef(function(t,a){const{__scopePopper:o,...i}=t,s=ATe(dZ,o),l=TTe[s.placedSide];return M.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:M.jsx(gTe,{...i,ref:a,style:{...i.style,display:"block"}})})});uZ.displayName=dZ;function RTe(e){return e!==null}var $Te=e=>({name:"transformOrigin",options:e,fn(t){var _,N,L;const{placement:a,rects:o,middlewareData:i}=t,l=((_=i.arrow)==null?void 0:_.centerOffset)!==0,h=l?0:e.arrowWidth,f=l?0:e.arrowHeight,[y,k]=hZ(a),m={start:"0%",center:"50%",end:"100%"}[k],x=(((N=i.arrow)==null?void 0:N.x)??0)+h/2,S=(((L=i.arrow)==null?void 0:L.y)??0)+f/2;let b="",w="";return y==="bottom"?(b=l?m:`${x}px`,w=`${-f}px`):y==="top"?(b=l?m:`${x}px`,w=`${o.floating.height+f}px`):y==="right"?(b=`${-f}px`,w=l?m:`${S}px`):y==="left"&&(b=`${o.floating.width+f}px`,w=l?m:`${S}px`),{data:{x:b,y:w}}}});function hZ(e){const[t,a="center"]=e.split("-");return[t,a]}var B2=iZ,F2=sZ,OA=lZ,DA=uZ;function pZ(e){const t=jTe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(OTe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function jTe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=zTe(i),h=DTe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var PTe=Symbol("radix.slottable");function OTe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===PTe}function DTe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function zTe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var qTe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],iu=qTe.reduce((e,t)=>{const a=pZ(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function HTe(e,t){e&&Kd.flushSync(()=>e.dispatchEvent(t))}var VTe="Portal",fZ=p.forwardRef((e,t)=>{var h;const{container:a,...o}=e,[i,s]=p.useState(!1);St(()=>s(!0),[]);const l=a||i&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return l?ur.createPortal(M.jsx(iu.div,{...o,ref:t}),l):null});fZ.displayName=VTe;function BTe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,FTe(i,...t)]}function FTe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function UTe(e){const t=GTe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(ZTe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function GTe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=KTe(i),h=XTe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var WTe=Symbol("radix.slottable");function ZTe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===WTe}function XTe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function KTe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var YTe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],yZ=YTe.reduce((e,t)=>{const a=UTe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),Tj="rovingFocusGroup.onEntryFocus",QTe={bubbles:!1,cancelable:!0},U2="RovingFocusGroup",[oP,mZ,JTe]=q2(U2),[eRe,zA]=BTe(U2,[JTe]),[tRe,nRe]=eRe(U2),vZ=p.forwardRef((e,t)=>M.jsx(oP.Provider,{scope:e.__scopeRovingFocusGroup,children:M.jsx(oP.Slot,{scope:e.__scopeRovingFocusGroup,children:M.jsx(aRe,{...e,ref:t})})}));vZ.displayName=U2;var aRe=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:a,orientation:o,loop:i=!1,dir:s,currentTabStopId:l,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:f,onEntryFocus:y,preventScrollOnEntryFocus:k=!1,...m}=e,x=p.useRef(null),S=ze(t,x),b=H2(s),[w,_]=bn({prop:l,defaultProp:h??null,onChange:f,caller:U2}),[N,L]=p.useState(!1),I=Zn(y),O=mZ(a),D=p.useRef(!1),[P,A]=p.useState(0);return p.useEffect(()=>{const j=x.current;if(j)return j.addEventListener(Tj,I),()=>j.removeEventListener(Tj,I)},[I]),M.jsx(tRe,{scope:a,orientation:o,dir:b,loop:i,currentTabStopId:w,onItemFocus:p.useCallback(j=>_(j),[_]),onItemShiftTab:p.useCallback(()=>L(!0),[]),onFocusableItemAdd:p.useCallback(()=>A(j=>j+1),[]),onFocusableItemRemove:p.useCallback(()=>A(j=>j-1),[]),children:M.jsx(yZ.div,{tabIndex:N||P===0?-1:0,"data-orientation":o,...m,ref:S,style:{outline:"none",...e.style},onMouseDown:xe(e.onMouseDown,()=>{D.current=!0}),onFocus:xe(e.onFocus,j=>{const V=!D.current;if(j.target===j.currentTarget&&V&&!N){const K=new CustomEvent(Tj,QTe);if(j.currentTarget.dispatchEvent(K),!K.defaultPrevented){const q=O().filter(R=>R.focusable),B=q.find(R=>R.active),F=q.find(R=>R.id===w),pe=[B,F,...q].filter(Boolean).map(R=>R.ref.current);MZ(pe,k)}}D.current=!1}),onBlur:xe(e.onBlur,()=>L(!1))})})}),kZ="RovingFocusGroupItem",gZ=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:a,focusable:o=!0,active:i=!1,tabStopId:s,children:l,...h}=e,f=It(),y=s||f,k=nRe(kZ,a),m=k.currentTabStopId===y,x=mZ(a),{onFocusableItemAdd:S,onFocusableItemRemove:b,currentTabStopId:w}=k;return p.useEffect(()=>{if(o)return S(),()=>b()},[o,S,b]),M.jsx(oP.ItemSlot,{scope:a,id:y,focusable:o,active:i,children:M.jsx(yZ.span,{tabIndex:m?0:-1,"data-orientation":k.orientation,...h,ref:t,onMouseDown:xe(e.onMouseDown,_=>{o?k.onItemFocus(y):_.preventDefault()}),onFocus:xe(e.onFocus,()=>k.onItemFocus(y)),onKeyDown:xe(e.onKeyDown,_=>{if(_.key==="Tab"&&_.shiftKey){k.onItemShiftTab();return}if(_.target!==_.currentTarget)return;const N=iRe(_,k.orientation,k.dir);if(N!==void 0){if(_.metaKey||_.ctrlKey||_.altKey||_.shiftKey)return;_.preventDefault();let I=x().filter(O=>O.focusable).map(O=>O.ref.current);if(N==="last")I.reverse();else if(N==="prev"||N==="next"){N==="prev"&&I.reverse();const O=I.indexOf(_.currentTarget);I=k.loop?cRe(I,O+1):I.slice(O+1)}setTimeout(()=>MZ(I))}}),children:typeof l=="function"?l({isCurrentTabStop:m,hasTabStop:w!=null}):l})})});gZ.displayName=kZ;var oRe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function rRe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function iRe(e,t,a){const o=rRe(e.key,a);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return oRe[o]}function MZ(e,t=!1){const a=document.activeElement;for(const o of e)if(o===a||(o.focus({preventScroll:t}),document.activeElement!==a))return}function cRe(e,t){return e.map((a,o)=>e[(t+o)%e.length])}var xZ=vZ,bZ=gZ,rP=["Enter"," "],sRe=["ArrowDown","PageUp","Home"],wZ=["ArrowUp","PageDown","End"],lRe=[...sRe,...wZ],dRe={ltr:[...rP,"ArrowRight"],rtl:[...rP,"ArrowLeft"]},uRe={ltr:["ArrowLeft"],rtl:["ArrowRight"]},G2="Menu",[S2,hRe,pRe]=q2(G2),[X1,W2]=aAe(G2,[pRe,Ti,zA]),Z2=Ti(),_Z=zA(),[SZ,Ri]=X1(G2),[fRe,X2]=X1(G2),CZ=e=>{const{__scopeMenu:t,open:a=!1,children:o,dir:i,onOpenChange:s,modal:l=!0}=e,h=Z2(t),[f,y]=p.useState(null),k=p.useRef(!1),m=Zn(s),x=H2(i);return p.useEffect(()=>{const S=()=>{k.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>k.current=!1;return document.addEventListener("keydown",S,{capture:!0}),()=>{document.removeEventListener("keydown",S,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),M.jsx(B2,{...h,children:M.jsx(SZ,{scope:t,open:a,onOpenChange:m,content:f,onContentChange:y,children:M.jsx(fRe,{scope:t,onClose:p.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:k,dir:x,modal:l,children:o})})})};CZ.displayName=G2;var yRe="MenuAnchor",kO=p.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e,i=Z2(a);return M.jsx(F2,{...i,...o,ref:t})});kO.displayName=yRe;var gO="MenuPortal",[mRe,NZ]=X1(gO,{forceMount:void 0}),LZ=e=>{const{__scopeMenu:t,forceMount:a,children:o,container:i}=e,s=Ri(gO,t);return M.jsx(mRe,{scope:t,forceMount:a,children:M.jsx(Pn,{present:a||s.open,children:M.jsx(fZ,{asChild:!0,container:i,children:o})})})};LZ.displayName=gO;var da="MenuContent",[vRe,MO]=X1(da),EZ=p.forwardRef((e,t)=>{const a=NZ(da,e.__scopeMenu),{forceMount:o=a.forceMount,...i}=e,s=Ri(da,e.__scopeMenu),l=X2(da,e.__scopeMenu);return M.jsx(S2.Provider,{scope:e.__scopeMenu,children:M.jsx(Pn,{present:o||s.open,children:M.jsx(S2.Slot,{scope:e.__scopeMenu,children:l.modal?M.jsx(kRe,{...i,ref:t}):M.jsx(gRe,{...i,ref:t})})})})}),kRe=p.forwardRef((e,t)=>{const a=Ri(da,e.__scopeMenu),o=p.useRef(null),i=ze(t,o);return p.useEffect(()=>{const s=o.current;if(s)return EA(s)},[]),M.jsx(xO,{...e,ref:i,trapFocus:a.open,disableOutsidePointerEvents:a.open,disableOutsideScroll:!0,onFocusOutside:xe(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>a.onOpenChange(!1)})}),gRe=p.forwardRef((e,t)=>{const a=Ri(da,e.__scopeMenu);return M.jsx(xO,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>a.onOpenChange(!1)})}),MRe=pZ("MenuContent.ScrollLock"),xO=p.forwardRef((e,t)=>{const{__scopeMenu:a,loop:o=!1,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:h,onEntryFocus:f,onEscapeKeyDown:y,onPointerDownOutside:k,onFocusOutside:m,onInteractOutside:x,onDismiss:S,disableOutsideScroll:b,...w}=e,_=Ri(da,a),N=X2(da,a),L=Z2(a),I=_Z(a),O=hRe(a),[D,P]=p.useState(null),A=p.useRef(null),j=ze(t,A,_.onContentChange),V=p.useRef(0),K=p.useRef(""),q=p.useRef(0),B=p.useRef(null),F=p.useRef("right"),J=p.useRef(0),pe=b?D2:p.Fragment,R=b?{as:MRe,allowPinchZoom:!0}:void 0,$=G=>{var he,ve;const W=K.current+G,Me=O().filter(me=>!me.disabled),X=document.activeElement,ne=(he=Me.find(me=>me.ref.current===X))==null?void 0:he.textValue,le=Me.map(me=>me.textValue),ie=TRe(le,W,ne),ye=(ve=Me.find(me=>me.textValue===ie))==null?void 0:ve.ref.current;(function me(ge){K.current=ge,window.clearTimeout(V.current),ge!==""&&(V.current=window.setTimeout(()=>me(""),1e3))})(W),ye&&setTimeout(()=>ye.focus())};p.useEffect(()=>()=>window.clearTimeout(V.current),[]),NA();const T=p.useCallback(G=>{var Me,X;return F.current===((Me=B.current)==null?void 0:Me.side)&&$Re(G,(X=B.current)==null?void 0:X.area)},[]);return M.jsx(vRe,{scope:a,searchRef:K,onItemEnter:p.useCallback(G=>{T(G)&&G.preventDefault()},[T]),onItemLeave:p.useCallback(G=>{var W;T(G)||((W=A.current)==null||W.focus(),P(null))},[T]),onTriggerLeave:p.useCallback(G=>{T(G)&&G.preventDefault()},[T]),pointerGraceTimerRef:q,onPointerGraceIntentChange:p.useCallback(G=>{B.current=G},[]),children:M.jsx(pe,{...R,children:M.jsx(O2,{asChild:!0,trapped:i,onMountAutoFocus:xe(s,G=>{var W;G.preventDefault(),(W=A.current)==null||W.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:M.jsx(nu,{asChild:!0,disableOutsidePointerEvents:h,onEscapeKeyDown:y,onPointerDownOutside:k,onFocusOutside:m,onInteractOutside:x,onDismiss:S,children:M.jsx(xZ,{asChild:!0,...I,dir:N.dir,orientation:"vertical",loop:o,currentTabStopId:D,onCurrentTabStopIdChange:P,onEntryFocus:xe(f,G=>{N.isUsingKeyboardRef.current||G.preventDefault()}),preventScrollOnEntryFocus:!0,children:M.jsx(OA,{role:"menu","aria-orientation":"vertical","data-state":GZ(_.open),"data-radix-menu-content":"",dir:N.dir,...L,...w,ref:j,style:{outline:"none",...w.style},onKeyDown:xe(w.onKeyDown,G=>{const Me=G.target.closest("[data-radix-menu-content]")===G.currentTarget,X=G.ctrlKey||G.altKey||G.metaKey,ne=G.key.length===1;Me&&(G.key==="Tab"&&G.preventDefault(),!X&&ne&&$(G.key));const le=A.current;if(G.target!==le||!lRe.includes(G.key))return;G.preventDefault();const ye=O().filter(he=>!he.disabled).map(he=>he.ref.current);wZ.includes(G.key)&&ye.reverse(),IRe(ye)}),onBlur:xe(e.onBlur,G=>{G.currentTarget.contains(G.target)||(window.clearTimeout(V.current),K.current="")}),onPointerMove:xe(e.onPointerMove,C2(G=>{const W=G.target,Me=J.current!==G.clientX;if(G.currentTarget.contains(W)&&Me){const X=G.clientX>J.current?"right":"left";F.current=X,J.current=G.clientX}}))})})})})})})});EZ.displayName=da;var xRe="MenuGroup",bO=p.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e;return M.jsx(iu.div,{role:"group",...o,ref:t})});bO.displayName=xRe;var bRe="MenuLabel",IZ=p.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e;return M.jsx(iu.div,{...o,ref:t})});IZ.displayName=bRe;var iA="MenuItem",kF="menu.itemSelect",qA=p.forwardRef((e,t)=>{const{disabled:a=!1,onSelect:o,...i}=e,s=p.useRef(null),l=X2(iA,e.__scopeMenu),h=MO(iA,e.__scopeMenu),f=ze(t,s),y=p.useRef(!1),k=()=>{const m=s.current;if(!a&&m){const x=new CustomEvent(kF,{bubbles:!0,cancelable:!0});m.addEventListener(kF,S=>o==null?void 0:o(S),{once:!0}),HTe(m,x),x.defaultPrevented?y.current=!1:l.onClose()}};return M.jsx(AZ,{...i,ref:f,disabled:a,onClick:xe(e.onClick,k),onPointerDown:m=>{var x;(x=e.onPointerDown)==null||x.call(e,m),y.current=!0},onPointerUp:xe(e.onPointerUp,m=>{var x;y.current||(x=m.currentTarget)==null||x.click()}),onKeyDown:xe(e.onKeyDown,m=>{const x=h.searchRef.current!=="";a||x&&m.key===" "||rP.includes(m.key)&&(m.currentTarget.click(),m.preventDefault())})})});qA.displayName=iA;var AZ=p.forwardRef((e,t)=>{const{__scopeMenu:a,disabled:o=!1,textValue:i,...s}=e,l=MO(iA,a),h=_Z(a),f=p.useRef(null),y=ze(t,f),[k,m]=p.useState(!1),[x,S]=p.useState("");return p.useEffect(()=>{const b=f.current;b&&S((b.textContent??"").trim())},[s.children]),M.jsx(S2.ItemSlot,{scope:a,disabled:o,textValue:i??x,children:M.jsx(bZ,{asChild:!0,...h,focusable:!o,children:M.jsx(iu.div,{role:"menuitem","data-highlighted":k?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...s,ref:y,onPointerMove:xe(e.onPointerMove,C2(b=>{o?l.onItemLeave(b):(l.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:xe(e.onPointerLeave,C2(b=>l.onItemLeave(b))),onFocus:xe(e.onFocus,()=>m(!0)),onBlur:xe(e.onBlur,()=>m(!1))})})})}),wRe="MenuCheckboxItem",TZ=p.forwardRef((e,t)=>{const{checked:a=!1,onCheckedChange:o,...i}=e;return M.jsx(OZ,{scope:e.__scopeMenu,checked:a,children:M.jsx(qA,{role:"menuitemcheckbox","aria-checked":cA(a)?"mixed":a,...i,ref:t,"data-state":SO(a),onSelect:xe(i.onSelect,()=>o==null?void 0:o(cA(a)?!0:!a),{checkForDefaultPrevented:!1})})})});TZ.displayName=wRe;var RZ="MenuRadioGroup",[_Re,SRe]=X1(RZ,{value:void 0,onValueChange:()=>{}}),$Z=p.forwardRef((e,t)=>{const{value:a,onValueChange:o,...i}=e,s=Zn(o);return M.jsx(_Re,{scope:e.__scopeMenu,value:a,onValueChange:s,children:M.jsx(bO,{...i,ref:t})})});$Z.displayName=RZ;var jZ="MenuRadioItem",PZ=p.forwardRef((e,t)=>{const{value:a,...o}=e,i=SRe(jZ,e.__scopeMenu),s=a===i.value;return M.jsx(OZ,{scope:e.__scopeMenu,checked:s,children:M.jsx(qA,{role:"menuitemradio","aria-checked":s,...o,ref:t,"data-state":SO(s),onSelect:xe(o.onSelect,()=>{var l;return(l=i.onValueChange)==null?void 0:l.call(i,a)},{checkForDefaultPrevented:!1})})})});PZ.displayName=jZ;var wO="MenuItemIndicator",[OZ,CRe]=X1(wO,{checked:!1}),DZ=p.forwardRef((e,t)=>{const{__scopeMenu:a,forceMount:o,...i}=e,s=CRe(wO,a);return M.jsx(Pn,{present:o||cA(s.checked)||s.checked===!0,children:M.jsx(iu.span,{...i,ref:t,"data-state":SO(s.checked)})})});DZ.displayName=wO;var NRe="MenuSeparator",zZ=p.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e;return M.jsx(iu.div,{role:"separator","aria-orientation":"horizontal",...o,ref:t})});zZ.displayName=NRe;var LRe="MenuArrow",qZ=p.forwardRef((e,t)=>{const{__scopeMenu:a,...o}=e,i=Z2(a);return M.jsx(DA,{...i,...o,ref:t})});qZ.displayName=LRe;var _O="MenuSub",[ERe,HZ]=X1(_O),VZ=e=>{const{__scopeMenu:t,children:a,open:o=!1,onOpenChange:i}=e,s=Ri(_O,t),l=Z2(t),[h,f]=p.useState(null),[y,k]=p.useState(null),m=Zn(i);return p.useEffect(()=>(s.open===!1&&m(!1),()=>m(!1)),[s.open,m]),M.jsx(B2,{...l,children:M.jsx(SZ,{scope:t,open:o,onOpenChange:m,content:y,onContentChange:k,children:M.jsx(ERe,{scope:t,contentId:It(),triggerId:It(),trigger:h,onTriggerChange:f,children:a})})})};VZ.displayName=_O;var u2="MenuSubTrigger",BZ=p.forwardRef((e,t)=>{const a=Ri(u2,e.__scopeMenu),o=X2(u2,e.__scopeMenu),i=HZ(u2,e.__scopeMenu),s=MO(u2,e.__scopeMenu),l=p.useRef(null),{pointerGraceTimerRef:h,onPointerGraceIntentChange:f}=s,y={__scopeMenu:e.__scopeMenu},k=p.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return p.useEffect(()=>k,[k]),p.useEffect(()=>{const m=h.current;return()=>{window.clearTimeout(m),f(null)}},[h,f]),M.jsx(kO,{asChild:!0,...y,children:M.jsx(AZ,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":i.contentId,"data-state":GZ(a.open),...e,ref:kt(t,i.onTriggerChange),onClick:m=>{var x;(x=e.onClick)==null||x.call(e,m),!(e.disabled||m.defaultPrevented)&&(m.currentTarget.focus(),a.open||a.onOpenChange(!0))},onPointerMove:xe(e.onPointerMove,C2(m=>{s.onItemEnter(m),!m.defaultPrevented&&!e.disabled&&!a.open&&!l.current&&(s.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{a.onOpenChange(!0),k()},100))})),onPointerLeave:xe(e.onPointerLeave,C2(m=>{var S,b;k();const x=(S=a.content)==null?void 0:S.getBoundingClientRect();if(x){const w=(b=a.content)==null?void 0:b.dataset.side,_=w==="right",N=_?-5:5,L=x[_?"left":"right"],I=x[_?"right":"left"];s.onPointerGraceIntentChange({area:[{x:m.clientX+N,y:m.clientY},{x:L,y:x.top},{x:I,y:x.top},{x:I,y:x.bottom},{x:L,y:x.bottom}],side:w}),window.clearTimeout(h.current),h.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(m),m.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:xe(e.onKeyDown,m=>{var S;const x=s.searchRef.current!=="";e.disabled||x&&m.key===" "||dRe[o.dir].includes(m.key)&&(a.onOpenChange(!0),(S=a.content)==null||S.focus(),m.preventDefault())})})})});BZ.displayName=u2;var FZ="MenuSubContent",UZ=p.forwardRef((e,t)=>{const a=NZ(da,e.__scopeMenu),{forceMount:o=a.forceMount,...i}=e,s=Ri(da,e.__scopeMenu),l=X2(da,e.__scopeMenu),h=HZ(FZ,e.__scopeMenu),f=p.useRef(null),y=ze(t,f);return M.jsx(S2.Provider,{scope:e.__scopeMenu,children:M.jsx(Pn,{present:o||s.open,children:M.jsx(S2.Slot,{scope:e.__scopeMenu,children:M.jsx(xO,{id:h.contentId,"aria-labelledby":h.triggerId,...i,ref:y,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:k=>{var m;l.isUsingKeyboardRef.current&&((m=f.current)==null||m.focus()),k.preventDefault()},onCloseAutoFocus:k=>k.preventDefault(),onFocusOutside:xe(e.onFocusOutside,k=>{k.target!==h.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:xe(e.onEscapeKeyDown,k=>{l.onClose(),k.preventDefault()}),onKeyDown:xe(e.onKeyDown,k=>{var S;const m=k.currentTarget.contains(k.target),x=uRe[l.dir].includes(k.key);m&&x&&(s.onOpenChange(!1),(S=h.trigger)==null||S.focus(),k.preventDefault())})})})})})});UZ.displayName=FZ;function GZ(e){return e?"open":"closed"}function cA(e){return e==="indeterminate"}function SO(e){return cA(e)?"indeterminate":e?"checked":"unchecked"}function IRe(e){const t=document.activeElement;for(const a of e)if(a===t||(a.focus(),document.activeElement!==t))return}function ARe(e,t){return e.map((a,o)=>e[(t+o)%e.length])}function TRe(e,t,a){const i=t.length>1&&Array.from(t).every(y=>y===t[0])?t[0]:t,s=a?e.indexOf(a):-1;let l=ARe(e,Math.max(s,0));i.length===1&&(l=l.filter(y=>y!==a));const f=l.find(y=>y.toLowerCase().startsWith(i.toLowerCase()));return f!==a?f:void 0}function RRe(e,t){const{x:a,y:o}=e;let i=!1;for(let s=0,l=t.length-1;s<t.length;l=s++){const h=t[s],f=t[l],y=h.x,k=h.y,m=f.x,x=f.y;k>o!=x>o&&a<(m-y)*(o-k)/(x-k)+y&&(i=!i)}return i}function $Re(e,t){if(!t)return!1;const a={x:e.clientX,y:e.clientY};return RRe(a,t)}function C2(e){return t=>t.pointerType==="mouse"?e(t):void 0}var CO=CZ,NO=kO,LO=LZ,EO=EZ,IO=bO,AO=IZ,TO=qA,RO=TZ,$O=$Z,jO=PZ,PO=DZ,OO=zZ,DO=qZ,zO=VZ,qO=BZ,HO=UZ,VO="ContextMenu",[jRe]=qIe(VO,[W2]),hn=W2(),[PRe,WZ]=jRe(VO),ZZ=e=>{const{__scopeContextMenu:t,children:a,onOpenChange:o,dir:i,modal:s=!0}=e,[l,h]=p.useState(!1),f=hn(t),y=Zn(o),k=p.useCallback(m=>{h(m),y(m)},[y]);return M.jsx(PRe,{scope:t,open:l,onOpenChange:k,modal:s,children:M.jsx(CO,{...f,dir:i,open:l,onOpenChange:k,modal:s,children:a})})};ZZ.displayName=VO;var XZ="ContextMenuTrigger",KZ=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,disabled:o=!1,...i}=e,s=WZ(XZ,a),l=hn(a),h=p.useRef({x:0,y:0}),f=p.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...h.current})}),y=p.useRef(0),k=p.useCallback(()=>window.clearTimeout(y.current),[]),m=x=>{h.current={x:x.clientX,y:x.clientY},s.onOpenChange(!0)};return p.useEffect(()=>k,[k]),p.useEffect(()=>void(o&&k()),[o,k]),M.jsxs(M.Fragment,{children:[M.jsx(NO,{...l,virtualRef:f}),M.jsx(XIe.span,{"data-state":s.open?"open":"closed","data-disabled":o?"":void 0,...i,ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:o?e.onContextMenu:xe(e.onContextMenu,x=>{k(),m(x),x.preventDefault()}),onPointerDown:o?e.onPointerDown:xe(e.onPointerDown,Sh(x=>{k(),y.current=window.setTimeout(()=>m(x),700)})),onPointerMove:o?e.onPointerMove:xe(e.onPointerMove,Sh(k)),onPointerCancel:o?e.onPointerCancel:xe(e.onPointerCancel,Sh(k)),onPointerUp:o?e.onPointerUp:xe(e.onPointerUp,Sh(k))})]})});KZ.displayName=XZ;var ORe="ContextMenuPortal",YZ=e=>{const{__scopeContextMenu:t,...a}=e,o=hn(t);return M.jsx(LO,{...o,...a})};YZ.displayName=ORe;var QZ="ContextMenuContent",JZ=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=WZ(QZ,a),s=hn(a),l=p.useRef(!1);return M.jsx(EO,{...s,...o,ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:h=>{var f;(f=e.onCloseAutoFocus)==null||f.call(e,h),!h.defaultPrevented&&l.current&&h.preventDefault(),l.current=!1},onInteractOutside:h=>{var f;(f=e.onInteractOutside)==null||f.call(e,h),!h.defaultPrevented&&!i.modal&&(l.current=!0)},style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});JZ.displayName=QZ;var DRe="ContextMenuGroup",eX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(IO,{...i,...o,ref:t})});eX.displayName=DRe;var zRe="ContextMenuLabel",tX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(AO,{...i,...o,ref:t})});tX.displayName=zRe;var qRe="ContextMenuItem",nX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(TO,{...i,...o,ref:t})});nX.displayName=qRe;var HRe="ContextMenuCheckboxItem",aX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(RO,{...i,...o,ref:t})});aX.displayName=HRe;var VRe="ContextMenuRadioGroup",oX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx($O,{...i,...o,ref:t})});oX.displayName=VRe;var BRe="ContextMenuRadioItem",rX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(jO,{...i,...o,ref:t})});rX.displayName=BRe;var FRe="ContextMenuItemIndicator",iX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(PO,{...i,...o,ref:t})});iX.displayName=FRe;var URe="ContextMenuSeparator",cX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(OO,{...i,...o,ref:t})});cX.displayName=URe;var GRe="ContextMenuArrow",WRe=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(DO,{...i,...o,ref:t})});WRe.displayName=GRe;var sX="ContextMenuSub",lX=e=>{const{__scopeContextMenu:t,children:a,onOpenChange:o,open:i,defaultOpen:s}=e,l=hn(t),[h,f]=bn({prop:i,defaultProp:s??!1,onChange:o,caller:sX});return M.jsx(zO,{...l,open:h,onOpenChange:f,children:a})};lX.displayName=sX;var ZRe="ContextMenuSubTrigger",dX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(qO,{...i,...o,ref:t})});dX.displayName=ZRe;var XRe="ContextMenuSubContent",uX=p.forwardRef((e,t)=>{const{__scopeContextMenu:a,...o}=e,i=hn(a);return M.jsx(HO,{...i,...o,ref:t,style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});uX.displayName=XRe;function Sh(e){return t=>t.pointerType!=="mouse"?e(t):void 0}var KRe=ZZ,YRe=KZ,hX=YZ,QRe=JZ,JRe=eX,e$e=tX,t$e=nX,n$e=aX,a$e=oX,o$e=rX,pX=iX,r$e=cX,i$e=lX,c$e=dX,s$e=uX;function l$e({...e}){return M.jsx(KRe,{"data-slot":"context-menu",...e})}function d$e({...e}){return M.jsx(YRe,{"data-slot":"context-menu-trigger",...e})}function u$e({...e}){return M.jsx(JRe,{"data-slot":"context-menu-group",...e})}function h$e({...e}){return M.jsx(hX,{"data-slot":"context-menu-portal",...e})}function p$e({...e}){return M.jsx(i$e,{"data-slot":"context-menu-sub",...e})}function f$e({...e}){return M.jsx(a$e,{"data-slot":"context-menu-radio-group",...e})}function y$e({className:e,inset:t,children:a,...o}){return M.jsxs(c$e,{"data-slot":"context-menu-sub-trigger","data-inset":t,className:ee("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o,children:[a,M.jsx(lr,{className:"ml-auto"})]})}function m$e({className:e,...t}){return M.jsx(s$e,{"data-slot":"context-menu-sub-content",className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",e),...t})}function v$e({className:e,...t}){return M.jsx(hX,{children:M.jsx(QRe,{"data-slot":"context-menu-content",className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...t})})}function k$e({className:e,inset:t,variant:a="default",...o}){return M.jsx(t$e,{"data-slot":"context-menu-item","data-inset":t,"data-variant":a,className:ee("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o})}function g$e({className:e,children:t,checked:a,...o}){return M.jsxs(n$e,{"data-slot":"context-menu-checkbox-item",className:ee("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:a,...o,children:[M.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:M.jsx(pX,{children:M.jsx(sr,{className:"size-4"})})}),t]})}function M$e({className:e,children:t,...a}){return M.jsxs(o$e,{"data-slot":"context-menu-radio-item",className:ee("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...a,children:[M.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:M.jsx(pX,{children:M.jsx(O1,{className:"size-2 fill-current"})})}),t]})}function x$e({className:e,inset:t,...a}){return M.jsx(e$e,{"data-slot":"context-menu-label","data-inset":t,className:ee("text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...a})}function b$e({className:e,...t}){return M.jsx(r$e,{"data-slot":"context-menu-separator",className:ee("bg-border -mx-1 my-1 h-px",e),...t})}function w$e({className:e,...t}){return M.jsx("span",{"data-slot":"context-menu-shortcut",className:ee("text-muted-foreground ml-auto text-xs tracking-widest",e),...t})}var _$e="Portal",fX=p.forwardRef((e,t)=>{var h;const{container:a,...o}=e,[i,s]=p.useState(!1);St(()=>s(!0),[]);const l=a||i&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return l?ur.createPortal(M.jsx(jn.div,{...o,ref:t}),l):null});fX.displayName=_$e;var yX=fX;const Ei=p.createContext({activeIndex:0,setActiveIndex:()=>{},totalDialogs:0,setTotalDialogs:()=>{},isOpen:!1,setIsOpen:()=>{},clickable:!1,shouldAnimate:!1,setShouldAnimate:()=>{},closeDialog:()=>{}}),mX=p.forwardRef(({children:e,className:t,open:a=!1,onOpenChange:o,clickable:i=!1,...s},l)=>{const[h,f]=p.useState(0),[y,k]=p.useState(a),[m,x]=p.useState(!1),[S,b]=p.useState(0),w=_=>{_===h&&(h>0?f(N=>N-1):k(!1))};return p.useImperativeHandle(l,()=>({open:()=>{k(!0)},close:()=>{k(!1),f(0)},closeAll:()=>{k(!1),f(0)},next:()=>{f(_=>_+1)},prev:()=>{f(_=>_>0?_-1:0)},goTo:_=>{_>=0&&_<S&&f(_)},closeCurrent:()=>w(h),isOpen:y,activeIndex:h,totalDialogs:S}),[h,S,y]),p.useEffect(()=>{const _=document.documentElement;return y?(_.style.overflow="hidden",x(!0)):_.style.overflow="",o==null||o(y),()=>{_.style.overflow=""}},[y,o]),M.jsx(Ei.Provider,{value:{activeIndex:h,setActiveIndex:f,totalDialogs:S,setTotalDialogs:b,isOpen:y,setIsOpen:k,clickable:i,shouldAnimate:m,setShouldAnimate:x,closeDialog:w},children:M.jsx("div",{className:t,...s,children:e})})});mX.displayName="DialogStack";const S$e=({children:e,className:t,onClick:a,asChild:o,...i})=>{const s=p.useContext(Ei);if(!s)throw new Error("DialogStackTrigger must be used within a DialogStack");const l=h=>{s.setIsOpen(!0),a==null||a(h)};return o&&p.isValidElement(e)?p.cloneElement(e,{onClick:l,className:ee(t,e.props.className),...i}):M.jsx("button",{onClick:l,className:ee("inline-flex items-center justify-center whitespace-nowrap rounded-md font-medium text-sm","ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2","focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50","bg-primary text-primary-foreground hover:bg-primary/90","h-10 px-4 py-2",t),...i,children:e})},C$e=({className:e,...t})=>{const a=p.useContext(Ei);if(!a)throw new Error("DialogStackOverlay must be used within a DialogStack");return a.isOpen?M.jsx("div",{className:ee("fixed inset-0 z-[1001] bg-black/80 backdrop-blur-sm","data-[state=closed]:animate-out data-[state=open]:animate-in","data-[state=closed]:fade-out-0 slide-in-from-right-1/2 data-[state=open]:fade-in-0",e),onClick:()=>{a.activeIndex===0?a.setIsOpen(!1):a.setActiveIndex(a.activeIndex-1)},...t}):null},N$e=({children:e,className:t,...a})=>{const o=p.useContext(Ei),i=p.Children.count(e),[s,l]=p.useState(i);if(p.useEffect(()=>{l(i)},[i]),!o)throw new Error("DialogStackBody must be used within a DialogStack");return o.isOpen?M.jsx(Ei.Provider,{value:{...o,totalDialogs:s,setTotalDialogs:l},children:M.jsx(yX,{children:M.jsx("div",{className:ee("pointer-events-none fixed z-[1002] w-full max-w-full md:max-w-[67%] right-0 top-0 md:top-[1vh]",t),...a,children:p.Children.map(e,(h,f)=>p.isValidElement(h)?p.cloneElement(h,{index:f}):h)})})}):null},L$e=({children:e,className:t,index:a=0,offset:o=20,...i})=>{const s=p.useContext(Ei),[l,h]=p.useState(!1),f=p.useRef(null),y=p.useRef(!1);if(!s)throw new Error("DialogStackContent must be used within a DialogStack");if(!s.isOpen)return null;const k=()=>{s.setIsOpen(!1),s.setActiveIndex(0)},m=()=>{if(y.current){y.current=!1;return}s.closeDialog(a)},x=()=>{y.current=!1,h(!0),f.current=setTimeout(()=>{y.current=!0,h(!1),k()},600)},S=()=>{f.current&&(clearTimeout(f.current),f.current=null),h(!1)},b=L=>{L.stopPropagation(),s.clickable&&s.activeIndex>a&&s.setActiveIndex(a??0)},w=a-s.activeIndex,_=w<0?`-${Math.abs(w)*o}px`:"0",N=a===0&&s.activeIndex===0&&s.shouldAnimate;return p.useEffect(()=>{if(N){const L=setTimeout(()=>{s.setShouldAnimate(!1)},200);return()=>clearTimeout(L)}},[N]),M.jsxs("div",{onClick:b,className:ee("h-[100vh] md:h-[98vh] w-full md:rounded-l-md border bg-background shadow-lg md:transition-all duration-200",N&&"animate-in slide-in-from-right-1/2",w<0&&"brightness-75 blur-[2px]",t),style:{top:0,marginLeft:`${_}`,marginTop:`${window.innerWidth>768?Math.abs(w)*10:0}px`,width:w<0?`calc(100% + ${Math.abs(w)*o}px)`:"100%",zIndex:w<0?50-Math.abs(s.activeIndex-(a??0)):1002,position:w?"absolute":"relative",opacity:w>0?0:1,pointerEvents:w>0?"none":"auto",cursor:s.clickable&&s.activeIndex>a?"pointer":"default"},...i,children:[M.jsx("div",{className:ee("h-full w-full overflow-y-auto p-6 transition-all duration-200",s.activeIndex!==a&&"pointer-events-none select-none"),children:e}),s.activeIndex===a&&M.jsx(yX,{children:M.jsx(xA,{variant:"ghost",className:ee("fixed z-[1100] top-4 right-4 p-1 size-8 transition-all",l&&"bg-destructive/20 scale-110"),onClick:m,onPointerDown:x,onPointerUp:S,onPointerLeave:S,onPointerCancel:S,"aria-label":"Close",title:s.totalDialogs>1?"Click to close, hold to close all":"Close",children:M.jsx(bi,{})})})]})},E$e=({children:e,className:t,...a})=>M.jsx("h2",{className:ee("font-semibold text-lg leading-none tracking-tight",t),...a,children:e}),I$e=({children:e,className:t,...a})=>M.jsx("p",{className:ee("text-muted-foreground text-sm",t),...a,children:e}),A$e=({className:e,...t})=>M.jsx("div",{className:ee("flex flex-col space-y-1.5 text-center sm:text-left",e),...t}),T$e=({children:e,className:t,...a})=>M.jsx("div",{className:ee("flex items-center justify-end space-x-2 pt-4",t),...a,children:e}),R$e=({children:e,className:t,asChild:a,...o})=>{const i=p.useContext(Ei);if(!i)throw new Error("DialogStackNext must be used within a DialogStack");const s=()=>{i.activeIndex<i.totalDialogs-1&&i.setActiveIndex(i.activeIndex+1)};return a&&p.isValidElement(e)?p.cloneElement(e,{onClick:s,className:ee(t,e.props.className),...o}):M.jsx("button",{type:"button",onClick:s,className:ee("inline-flex items-center justify-center whitespace-nowrap rounded-md font-medium text-sm ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",t),disabled:i.activeIndex>=i.totalDialogs-1,...o,children:e||"Next"})},$$e=({children:e,className:t,asChild:a,...o})=>{const i=p.useContext(Ei);if(!i)throw new Error("DialogStackPrevious must be used within a DialogStack");const s=()=>{i.activeIndex>0&&i.setActiveIndex(i.activeIndex-1)};return a&&p.isValidElement(e)?p.cloneElement(e,{onClick:s,className:ee(t,e.props.className),...o}):M.jsx("button",{type:"button",onClick:s,className:ee("inline-flex items-center justify-center whitespace-nowrap rounded-md font-medium text-sm ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",t),disabled:i.activeIndex<=0,...o,children:e||"Previous"})};function j$e(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,P$e(i,...t)]}function P$e(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function O$e(e){const t=D$e(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(q$e);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function D$e(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=V$e(i),h=H$e(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var z$e=Symbol("radix.slottable");function q$e(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===z$e}function H$e(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function V$e(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var B$e=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],F$e=B$e.reduce((e,t)=>{const a=O$e(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),HA="DropdownMenu",[U$e]=j$e(HA,[W2]),pn=W2(),[G$e,vX]=U$e(HA),kX=e=>{const{__scopeDropdownMenu:t,children:a,dir:o,open:i,defaultOpen:s,onOpenChange:l,modal:h=!0}=e,f=pn(t),y=p.useRef(null),[k,m]=bn({prop:i,defaultProp:s??!1,onChange:l,caller:HA});return M.jsx(G$e,{scope:t,triggerId:It(),triggerRef:y,contentId:It(),open:k,onOpenChange:m,onOpenToggle:p.useCallback(()=>m(x=>!x),[m]),modal:h,children:M.jsx(CO,{...f,open:k,onOpenChange:m,dir:o,modal:h,children:a})})};kX.displayName=HA;var gX="DropdownMenuTrigger",MX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,disabled:o=!1,...i}=e,s=vX(gX,a),l=pn(a);return M.jsx(NO,{asChild:!0,...l,children:M.jsx(F$e.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...i,ref:kt(t,s.triggerRef),onPointerDown:xe(e.onPointerDown,h=>{!o&&h.button===0&&h.ctrlKey===!1&&(s.onOpenToggle(),s.open||h.preventDefault())}),onKeyDown:xe(e.onKeyDown,h=>{o||(["Enter"," "].includes(h.key)&&s.onOpenToggle(),h.key==="ArrowDown"&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(h.key)&&h.preventDefault())})})})});MX.displayName=gX;var W$e="DropdownMenuPortal",xX=e=>{const{__scopeDropdownMenu:t,...a}=e,o=pn(t);return M.jsx(LO,{...o,...a})};xX.displayName=W$e;var bX="DropdownMenuContent",wX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=vX(bX,a),s=pn(a),l=p.useRef(!1);return M.jsx(EO,{id:i.contentId,"aria-labelledby":i.triggerId,...s,...o,ref:t,onCloseAutoFocus:xe(e.onCloseAutoFocus,h=>{var f;l.current||(f=i.triggerRef.current)==null||f.focus(),l.current=!1,h.preventDefault()}),onInteractOutside:xe(e.onInteractOutside,h=>{const f=h.detail.originalEvent,y=f.button===0&&f.ctrlKey===!0,k=f.button===2||y;(!i.modal||k)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});wX.displayName=bX;var Z$e="DropdownMenuGroup",_X=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(IO,{...i,...o,ref:t})});_X.displayName=Z$e;var X$e="DropdownMenuLabel",SX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(AO,{...i,...o,ref:t})});SX.displayName=X$e;var K$e="DropdownMenuItem",CX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(TO,{...i,...o,ref:t})});CX.displayName=K$e;var Y$e="DropdownMenuCheckboxItem",NX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(RO,{...i,...o,ref:t})});NX.displayName=Y$e;var Q$e="DropdownMenuRadioGroup",LX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx($O,{...i,...o,ref:t})});LX.displayName=Q$e;var J$e="DropdownMenuRadioItem",EX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(jO,{...i,...o,ref:t})});EX.displayName=J$e;var eje="DropdownMenuItemIndicator",IX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(PO,{...i,...o,ref:t})});IX.displayName=eje;var tje="DropdownMenuSeparator",AX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(OO,{...i,...o,ref:t})});AX.displayName=tje;var nje="DropdownMenuArrow",aje=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(DO,{...i,...o,ref:t})});aje.displayName=nje;var oje=e=>{const{__scopeDropdownMenu:t,children:a,open:o,onOpenChange:i,defaultOpen:s}=e,l=pn(t),[h,f]=bn({prop:o,defaultProp:s??!1,onChange:i,caller:"DropdownMenuSub"});return M.jsx(zO,{...l,open:h,onOpenChange:f,children:a})},rje="DropdownMenuSubTrigger",TX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(qO,{...i,...o,ref:t})});TX.displayName=rje;var ije="DropdownMenuSubContent",RX=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:a,...o}=e,i=pn(a);return M.jsx(HO,{...i,...o,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});RX.displayName=ije;var cje=kX,sje=MX,$X=xX,lje=wX,dje=_X,uje=SX,hje=CX,pje=NX,fje=LX,yje=EX,jX=IX,mje=AX,vje=oje,kje=TX,gje=RX;function Mje({...e}){return M.jsx(cje,{"data-slot":"dropdown-menu",...e})}function xje({...e}){return M.jsx($X,{"data-slot":"dropdown-menu-portal",...e})}function bje({...e}){return M.jsx(sje,{"data-slot":"dropdown-menu-trigger",...e})}function wje({className:e,sideOffset:t=4,...a}){return M.jsx($X,{children:M.jsx(lje,{"data-slot":"dropdown-menu-content",sideOffset:t,className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...a})})}function _je({...e}){return M.jsx(dje,{"data-slot":"dropdown-menu-group",...e})}function Sje({className:e,inset:t,variant:a="default",...o}){return M.jsx(hje,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":a,className:ee("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o})}function Cje({className:e,children:t,checked:a,...o}){return M.jsxs(pje,{"data-slot":"dropdown-menu-checkbox-item",className:ee("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:a,...o,children:[M.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:M.jsx(jX,{children:M.jsx(sr,{className:"size-4"})})}),t]})}function Nje({...e}){return M.jsx(fje,{"data-slot":"dropdown-menu-radio-group",...e})}function Lje({className:e,children:t,...a}){return M.jsxs(yje,{"data-slot":"dropdown-menu-radio-item",className:ee("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...a,children:[M.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:M.jsx(jX,{children:M.jsx(O1,{className:"size-2 fill-current"})})}),t]})}function Eje({className:e,inset:t,...a}){return M.jsx(uje,{"data-slot":"dropdown-menu-label","data-inset":t,className:ee("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...a})}function Ije({className:e,...t}){return M.jsx(mje,{"data-slot":"dropdown-menu-separator",className:ee("bg-border -mx-1 my-1 h-px",e),...t})}function Aje({className:e,...t}){return M.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:ee("text-muted-foreground ml-auto text-xs tracking-widest",e),...t})}function Tje({...e}){return M.jsx(vje,{"data-slot":"dropdown-menu-sub",...e})}function Rje({className:e,inset:t,children:a,...o}){return M.jsxs(kje,{"data-slot":"dropdown-menu-sub-trigger","data-inset":t,className:ee("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",e),...o,children:[a,M.jsx(lr,{className:"ml-auto size-4"})]})}function $je({className:e,...t}){return M.jsx(gje,{"data-slot":"dropdown-menu-sub-content",className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",e),...t})}function PX({className:e,type:t,...a}){return M.jsx("input",{type:t,"data-slot":"input",className:ee("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[2px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:[&::-webkit-calendar-picker-indicator]:invert",e),...a})}var jje="Label",OX=p.forwardRef((e,t)=>M.jsx(jn.label,{...e,ref:t,onMouseDown:a=>{var i;a.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,a),!a.defaultPrevented&&a.detail>1&&a.preventDefault())}}));OX.displayName=jje;var Pje=OX;function Oje({className:e,...t}){return M.jsx(Pje,{"data-slot":"label",className:ee("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...t})}function Dje(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,zje(i,...t)]}function zje(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function qje(e){const t=Hje(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(Bje);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function Hje(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=Uje(i),h=Fje(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Vje=Symbol("radix.slottable");function Bje(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Vje}function Fje(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function Uje(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var Gje=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],DX=Gje.reduce((e,t)=>{const a=qje(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),K2="Menubar",[iP,Wje,Zje]=q2(K2),[zX]=Dje(K2,[Zje,zA]),fn=W2(),qX=zA(),[Xje,BO]=zX(K2),HX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,value:o,onValueChange:i,defaultValue:s,loop:l=!0,dir:h,...f}=e,y=H2(h),k=qX(a),[m,x]=bn({prop:o,onChange:i,defaultProp:s??"",caller:K2}),[S,b]=p.useState(null);return M.jsx(Xje,{scope:a,value:m,onMenuOpen:p.useCallback(w=>{x(w),b(w)},[x]),onMenuClose:p.useCallback(()=>x(""),[x]),onMenuToggle:p.useCallback(w=>{x(_=>_?"":w),b(w)},[x]),dir:y,loop:l,children:M.jsx(iP.Provider,{scope:a,children:M.jsx(iP.Slot,{scope:a,children:M.jsx(xZ,{asChild:!0,...k,orientation:"horizontal",loop:l,dir:y,currentTabStopId:S,onCurrentTabStopIdChange:b,children:M.jsx(DX.div,{role:"menubar",...f,ref:t})})})})})});HX.displayName=K2;var FO="MenubarMenu",[Kje,VX]=zX(FO),BX=e=>{const{__scopeMenubar:t,value:a,...o}=e,i=It(),s=a||i||"LEGACY_REACT_AUTO_VALUE",l=BO(FO,t),h=fn(t),f=p.useRef(null),y=p.useRef(!1),k=l.value===s;return p.useEffect(()=>{k||(y.current=!1)},[k]),M.jsx(Kje,{scope:t,value:s,triggerId:It(),triggerRef:f,contentId:It(),wasKeyboardTriggerOpenRef:y,children:M.jsx(CO,{...h,open:k,onOpenChange:m=>{m||l.onMenuClose()},modal:!1,dir:l.dir,...o})})};BX.displayName=FO;var cP="MenubarTrigger",FX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,disabled:o=!1,...i}=e,s=qX(a),l=fn(a),h=BO(cP,a),f=VX(cP,a),y=p.useRef(null),k=ze(t,y,f.triggerRef),[m,x]=p.useState(!1),S=h.value===f.value;return M.jsx(iP.ItemSlot,{scope:a,value:f.value,disabled:o,children:M.jsx(bZ,{asChild:!0,...s,focusable:!o,tabStopId:f.value,children:M.jsx(NO,{asChild:!0,...l,children:M.jsx(DX.button,{type:"button",role:"menuitem",id:f.triggerId,"aria-haspopup":"menu","aria-expanded":S,"aria-controls":S?f.contentId:void 0,"data-highlighted":m?"":void 0,"data-state":S?"open":"closed","data-disabled":o?"":void 0,disabled:o,...i,ref:k,onPointerDown:xe(e.onPointerDown,b=>{!o&&b.button===0&&b.ctrlKey===!1&&(h.onMenuOpen(f.value),S||b.preventDefault())}),onPointerEnter:xe(e.onPointerEnter,()=>{var w;!!h.value&&!S&&(h.onMenuOpen(f.value),(w=y.current)==null||w.focus())}),onKeyDown:xe(e.onKeyDown,b=>{o||(["Enter"," "].includes(b.key)&&h.onMenuToggle(f.value),b.key==="ArrowDown"&&h.onMenuOpen(f.value),["Enter"," ","ArrowDown"].includes(b.key)&&(f.wasKeyboardTriggerOpenRef.current=!0,b.preventDefault()))}),onFocus:xe(e.onFocus,()=>x(!0)),onBlur:xe(e.onBlur,()=>x(!1))})})})})});FX.displayName=cP;var Yje="MenubarPortal",UX=e=>{const{__scopeMenubar:t,...a}=e,o=fn(t);return M.jsx(LO,{...o,...a})};UX.displayName=Yje;var sP="MenubarContent",GX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,align:o="start",...i}=e,s=fn(a),l=BO(sP,a),h=VX(sP,a),f=Wje(a),y=p.useRef(!1);return M.jsx(EO,{id:h.contentId,"aria-labelledby":h.triggerId,"data-radix-menubar-content":"",...s,...i,ref:t,align:o,onCloseAutoFocus:xe(e.onCloseAutoFocus,k=>{var x;!!!l.value&&!y.current&&((x=h.triggerRef.current)==null||x.focus()),y.current=!1,k.preventDefault()}),onFocusOutside:xe(e.onFocusOutside,k=>{const m=k.target;f().some(S=>{var b;return(b=S.ref.current)==null?void 0:b.contains(m)})&&k.preventDefault()}),onInteractOutside:xe(e.onInteractOutside,()=>{y.current=!0}),onEntryFocus:k=>{h.wasKeyboardTriggerOpenRef.current||k.preventDefault()},onKeyDown:xe(e.onKeyDown,k=>{if(["ArrowRight","ArrowLeft"].includes(k.key)){const m=k.target,x=m.hasAttribute("data-radix-menubar-subtrigger"),S=m.closest("[data-radix-menubar-content]")!==k.currentTarget,w=(l.dir==="rtl"?"ArrowRight":"ArrowLeft")===k.key;if(!w&&x||S&&w)return;let L=f().filter(D=>!D.disabled).map(D=>D.value);w&&L.reverse();const I=L.indexOf(h.value);L=l.loop?dPe(L,I+1):L.slice(I+1);const[O]=L;O&&l.onMenuOpen(O)}},{checkForDefaultPrevented:!1}),style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});GX.displayName=sP;var Qje="MenubarGroup",WX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(IO,{...i,...o,ref:t})});WX.displayName=Qje;var Jje="MenubarLabel",ZX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(AO,{...i,...o,ref:t})});ZX.displayName=Jje;var ePe="MenubarItem",XX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(TO,{...i,...o,ref:t})});XX.displayName=ePe;var tPe="MenubarCheckboxItem",KX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(RO,{...i,...o,ref:t})});KX.displayName=tPe;var nPe="MenubarRadioGroup",YX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx($O,{...i,...o,ref:t})});YX.displayName=nPe;var aPe="MenubarRadioItem",QX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(jO,{...i,...o,ref:t})});QX.displayName=aPe;var oPe="MenubarItemIndicator",JX=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(PO,{...i,...o,ref:t})});JX.displayName=oPe;var rPe="MenubarSeparator",eK=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(OO,{...i,...o,ref:t})});eK.displayName=rPe;var iPe="MenubarArrow",cPe=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(DO,{...i,...o,ref:t})});cPe.displayName=iPe;var tK="MenubarSub",nK=e=>{const{__scopeMenubar:t,children:a,open:o,onOpenChange:i,defaultOpen:s}=e,l=fn(t),[h,f]=bn({prop:o,defaultProp:s??!1,onChange:i,caller:tK});return M.jsx(zO,{...l,open:h,onOpenChange:f,children:a})};nK.displayName=tK;var sPe="MenubarSubTrigger",aK=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(qO,{"data-radix-menubar-subtrigger":"",...i,...o,ref:t})});aK.displayName=sPe;var lPe="MenubarSubContent",oK=p.forwardRef((e,t)=>{const{__scopeMenubar:a,...o}=e,i=fn(a);return M.jsx(HO,{...i,"data-radix-menubar-content":"",...o,ref:t,style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});oK.displayName=lPe;function dPe(e,t){return e.map((a,o)=>e[(t+o)%e.length])}var uPe=HX,hPe=BX,pPe=FX,fPe=UX,yPe=GX,mPe=WX,vPe=ZX,kPe=XX,gPe=KX,MPe=YX,xPe=QX,rK=JX,bPe=eK,wPe=nK,_Pe=aK,SPe=oK;function CPe({className:e,...t}){return M.jsx(uPe,{"data-slot":"menubar",className:ee("bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",e),...t})}function NPe({...e}){return M.jsx(hPe,{"data-slot":"menubar-menu",...e})}function LPe({...e}){return M.jsx(mPe,{"data-slot":"menubar-group",...e})}function iK({...e}){return M.jsx(fPe,{"data-slot":"menubar-portal",...e})}function EPe({...e}){return M.jsx(MPe,{"data-slot":"menubar-radio-group",...e})}function IPe({className:e,...t}){return M.jsx(pPe,{"data-slot":"menubar-trigger",className:ee("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",e),...t})}function APe({className:e,align:t="start",alignOffset:a=-4,sideOffset:o=8,...i}){return M.jsx(iK,{children:M.jsx(yPe,{"data-slot":"menubar-content",align:t,alignOffset:a,sideOffset:o,className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",e),...i})})}function TPe({className:e,inset:t,variant:a="default",...o}){return M.jsx(kPe,{"data-slot":"menubar-item","data-inset":t,"data-variant":a,className:ee("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o})}function RPe({className:e,children:t,checked:a,...o}){return M.jsxs(gPe,{"data-slot":"menubar-checkbox-item",className:ee("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:a,...o,children:[M.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:M.jsx(rK,{children:M.jsx(sr,{className:"size-4"})})}),t]})}function $Pe({className:e,children:t,...a}){return M.jsxs(xPe,{"data-slot":"menubar-radio-item",className:ee("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...a,children:[M.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:M.jsx(rK,{children:M.jsx(O1,{className:"size-2 fill-current"})})}),t]})}function jPe({className:e,inset:t,...a}){return M.jsx(vPe,{"data-slot":"menubar-label","data-inset":t,className:ee("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...a})}function PPe({className:e,...t}){return M.jsx(bPe,{"data-slot":"menubar-separator",className:ee("bg-border -mx-1 my-1 h-px",e),...t})}function OPe({className:e,...t}){return M.jsx("span",{"data-slot":"menubar-shortcut",className:ee("text-muted-foreground ml-auto text-xs tracking-widest",e),...t})}function DPe({...e}){return M.jsx(wPe,{"data-slot":"menubar-sub",...e})}function zPe({className:e,inset:t,children:a,...o}){return M.jsxs(_Pe,{"data-slot":"menubar-sub-trigger","data-inset":t,className:ee("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8",e),...o,children:[a,M.jsx(lr,{className:"ml-auto h-4 w-4"})]})}function qPe({className:e,...t}){return M.jsx(SPe,{"data-slot":"menubar-sub-content",className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",e),...t})}function HPe({className:e,...t}){return M.jsx("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination",className:ee("mx-auto flex w-full justify-center",e),...t})}function VPe({className:e,...t}){return M.jsx("ul",{"data-slot":"pagination-content",className:ee("flex flex-row items-center gap-1",e),...t})}function BPe({...e}){return M.jsx("li",{"data-slot":"pagination-item",...e})}function UO({className:e,isActive:t,size:a="icon",...o}){return M.jsx("a",{"aria-current":t?"page":void 0,"data-slot":"pagination-link","data-active":t,className:ee(QI({variant:t?"outline":"ghost",size:a}),e),...o})}function FPe({className:e,...t}){return M.jsxs(UO,{"aria-label":"Go to previous page",size:"default",className:ee("gap-1 px-2.5 sm:pl-2.5",e),...t,children:[M.jsx(Hd,{}),M.jsx("span",{className:"hidden sm:block",children:"Previous"})]})}function UPe({className:e,...t}){return M.jsxs(UO,{"aria-label":"Go to next page",size:"default",className:ee("gap-1 px-2.5 sm:pr-2.5",e),...t,children:[M.jsx("span",{className:"hidden sm:block",children:"Next"}),M.jsx(lr,{})]})}function GPe({className:e,...t}){return M.jsxs("span",{"aria-hidden":!0,"data-slot":"pagination-ellipsis",className:ee("flex size-9 items-center justify-center",e),...t,children:[M.jsx(Dr,{className:"size-4"}),M.jsx("span",{className:"sr-only",children:"More pages"})]})}function WPe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,ZPe(i,...t)]}function ZPe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function cK(e){const t=XPe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(YPe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function XPe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=JPe(i),h=QPe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var KPe=Symbol("radix.slottable");function YPe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===KPe}function QPe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function JPe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var eOe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],GO=eOe.reduce((e,t)=>{const a=cK(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),tOe="Portal",sK=p.forwardRef((e,t)=>{var h;const{container:a,...o}=e,[i,s]=p.useState(!1);St(()=>s(!0),[]);const l=a||i&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return l?ur.createPortal(M.jsx(GO.div,{...o,ref:t}),l):null});sK.displayName=tOe;var VA="Popover",[lK]=WPe(VA,[Ti]),Y2=Ti(),[nOe,$i]=lK(VA),dK=e=>{const{__scopePopover:t,children:a,open:o,defaultOpen:i,onOpenChange:s,modal:l=!1}=e,h=Y2(t),f=p.useRef(null),[y,k]=p.useState(!1),[m,x]=bn({prop:o,defaultProp:i??!1,onChange:s,caller:VA});return M.jsx(B2,{...h,children:M.jsx(nOe,{scope:t,contentId:It(),triggerRef:f,open:m,onOpenChange:x,onOpenToggle:p.useCallback(()=>x(S=>!S),[x]),hasCustomAnchor:y,onCustomAnchorAdd:p.useCallback(()=>k(!0),[]),onCustomAnchorRemove:p.useCallback(()=>k(!1),[]),modal:l,children:a})})};dK.displayName=VA;var uK="PopoverAnchor",hK=p.forwardRef((e,t)=>{const{__scopePopover:a,...o}=e,i=$i(uK,a),s=Y2(a),{onCustomAnchorAdd:l,onCustomAnchorRemove:h}=i;return p.useEffect(()=>(l(),()=>h()),[l,h]),M.jsx(F2,{...s,...o,ref:t})});hK.displayName=uK;var pK="PopoverTrigger",fK=p.forwardRef((e,t)=>{const{__scopePopover:a,...o}=e,i=$i(pK,a),s=Y2(a),l=ze(t,i.triggerRef),h=M.jsx(GO.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":gK(i.open),...o,ref:l,onClick:xe(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?h:M.jsx(F2,{asChild:!0,...s,children:h})});fK.displayName=pK;var WO="PopoverPortal",[aOe,oOe]=lK(WO,{forceMount:void 0}),yK=e=>{const{__scopePopover:t,forceMount:a,children:o,container:i}=e,s=$i(WO,t);return M.jsx(aOe,{scope:t,forceMount:a,children:M.jsx(Pn,{present:a||s.open,children:M.jsx(sK,{asChild:!0,container:i,children:o})})})};yK.displayName=WO;var Zd="PopoverContent",mK=p.forwardRef((e,t)=>{const a=oOe(Zd,e.__scopePopover),{forceMount:o=a.forceMount,...i}=e,s=$i(Zd,e.__scopePopover);return M.jsx(Pn,{present:o||s.open,children:s.modal?M.jsx(iOe,{...i,ref:t}):M.jsx(cOe,{...i,ref:t})})});mK.displayName=Zd;var rOe=cK("PopoverContent.RemoveScroll"),iOe=p.forwardRef((e,t)=>{const a=$i(Zd,e.__scopePopover),o=p.useRef(null),i=ze(t,o),s=p.useRef(!1);return p.useEffect(()=>{const l=o.current;if(l)return EA(l)},[]),M.jsx(D2,{as:rOe,allowPinchZoom:!0,children:M.jsx(vK,{...e,ref:i,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:xe(e.onCloseAutoFocus,l=>{var h;l.preventDefault(),s.current||(h=a.triggerRef.current)==null||h.focus()}),onPointerDownOutside:xe(e.onPointerDownOutside,l=>{const h=l.detail.originalEvent,f=h.button===0&&h.ctrlKey===!0,y=h.button===2||f;s.current=y},{checkForDefaultPrevented:!1}),onFocusOutside:xe(e.onFocusOutside,l=>l.preventDefault(),{checkForDefaultPrevented:!1})})})}),cOe=p.forwardRef((e,t)=>{const a=$i(Zd,e.__scopePopover),o=p.useRef(!1),i=p.useRef(!1);return M.jsx(vK,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var l,h;(l=e.onCloseAutoFocus)==null||l.call(e,s),s.defaultPrevented||(o.current||(h=a.triggerRef.current)==null||h.focus(),s.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:s=>{var f,y;(f=e.onInteractOutside)==null||f.call(e,s),s.defaultPrevented||(o.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const l=s.target;((y=a.triggerRef.current)==null?void 0:y.contains(l))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),vK=p.forwardRef((e,t)=>{const{__scopePopover:a,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:l,onEscapeKeyDown:h,onPointerDownOutside:f,onFocusOutside:y,onInteractOutside:k,...m}=e,x=$i(Zd,a),S=Y2(a);return NA(),M.jsx(O2,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:s,children:M.jsx(nu,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:k,onEscapeKeyDown:h,onPointerDownOutside:f,onFocusOutside:y,onDismiss:()=>x.onOpenChange(!1),children:M.jsx(OA,{"data-state":gK(x.open),role:"dialog",id:x.contentId,...S,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),kK="PopoverClose",sOe=p.forwardRef((e,t)=>{const{__scopePopover:a,...o}=e,i=$i(kK,a);return M.jsx(GO.button,{type:"button",...o,ref:t,onClick:xe(e.onClick,()=>i.onOpenChange(!1))})});sOe.displayName=kK;var lOe="PopoverArrow",dOe=p.forwardRef((e,t)=>{const{__scopePopover:a,...o}=e,i=Y2(a);return M.jsx(DA,{...i,...o,ref:t})});dOe.displayName=lOe;function gK(e){return e?"open":"closed"}var uOe=dK,hOe=hK,pOe=fK,fOe=yK,yOe=mK;function MK({...e}){return M.jsx(uOe,{"data-slot":"popover",...e})}function xK({...e}){return M.jsx(pOe,{"data-slot":"popover-trigger",...e})}function bK({className:e,align:t="center",sideOffset:a=4,...o}){return M.jsx(fOe,{children:M.jsx(yOe,{"data-slot":"popover-content",align:t,sideOffset:a,className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",e),...o})})}function mOe({...e}){return M.jsx(hOe,{"data-slot":"popover-anchor",...e})}function sA(e,[t,a]){return Math.min(a,Math.max(t,e))}function vOe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,kOe(i,...t)]}function kOe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function wK(e){const t=gOe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(xOe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function gOe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=wOe(i),h=bOe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var MOe=Symbol("radix.slottable");function xOe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===MOe}function bOe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function wOe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var _Oe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],On=_Oe.reduce((e,t)=>{const a=wK(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),SOe="Portal",_K=p.forwardRef((e,t)=>{var h;const{container:a,...o}=e,[i,s]=p.useState(!1);St(()=>s(!0),[]);const l=a||i&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return l?ur.createPortal(M.jsx(On.div,{...o,ref:t}),l):null});_K.displayName=SOe;function COe(e){const t=NOe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(EOe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function NOe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=AOe(i),h=IOe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var LOe=Symbol("radix.slottable");function EOe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===LOe}function IOe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function AOe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var TOe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ROe=TOe.reduce((e,t)=>{const a=COe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),SK=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),$Oe="VisuallyHidden",CK=p.forwardRef((e,t)=>M.jsx(ROe.span,{...e,ref:t,style:{...SK,...e.style}}));CK.displayName=$Oe;var jOe=CK,POe=[" ","Enter","ArrowUp","ArrowDown"],OOe=[" ","Enter"],F1="Select",[BA,FA,DOe]=q2(F1),[cu]=vOe(F1,[DOe,Ti]),UA=Ti(),[zOe,ji]=cu(F1),[qOe,HOe]=cu(F1),NK=e=>{const{__scopeSelect:t,children:a,open:o,defaultOpen:i,onOpenChange:s,value:l,defaultValue:h,onValueChange:f,dir:y,name:k,autoComplete:m,disabled:x,required:S,form:b}=e,w=UA(t),[_,N]=p.useState(null),[L,I]=p.useState(null),[O,D]=p.useState(!1),P=H2(y),[A,j]=bn({prop:o,defaultProp:i??!1,onChange:s,caller:F1}),[V,K]=bn({prop:l,defaultProp:h,onChange:f,caller:F1}),q=p.useRef(null),B=_?b||!!_.closest("form"):!0,[F,J]=p.useState(new Set),pe=Array.from(F).map(R=>R.props.value).join(";");return M.jsx(B2,{...w,children:M.jsxs(zOe,{required:S,scope:t,trigger:_,onTriggerChange:N,valueNode:L,onValueNodeChange:I,valueNodeHasChildren:O,onValueNodeHasChildrenChange:D,contentId:It(),value:V,onValueChange:K,open:A,onOpenChange:j,dir:P,triggerPointerDownPosRef:q,disabled:x,children:[M.jsx(BA.Provider,{scope:t,children:M.jsx(qOe,{scope:e.__scopeSelect,onNativeOptionAdd:p.useCallback(R=>{J($=>new Set($).add(R))},[]),onNativeOptionRemove:p.useCallback(R=>{J($=>{const T=new Set($);return T.delete(R),T})},[]),children:a})}),B?M.jsxs(QK,{"aria-hidden":!0,required:S,tabIndex:-1,name:k,autoComplete:m,value:V,onChange:R=>K(R.target.value),disabled:x,form:b,children:[V===void 0?M.jsx("option",{value:""}):null,Array.from(F)]},pe):null]})})};NK.displayName=F1;var LK="SelectTrigger",EK=p.forwardRef((e,t)=>{const{__scopeSelect:a,disabled:o=!1,...i}=e,s=UA(a),l=ji(LK,a),h=l.disabled||o,f=ze(t,l.onTriggerChange),y=FA(a),k=p.useRef("touch"),[m,x,S]=eY(w=>{const _=y().filter(I=>!I.disabled),N=_.find(I=>I.value===l.value),L=tY(_,w,N);L!==void 0&&l.onValueChange(L.value)}),b=w=>{h||(l.onOpenChange(!0),S()),w&&(l.triggerPointerDownPosRef.current={x:Math.round(w.pageX),y:Math.round(w.pageY)})};return M.jsx(F2,{asChild:!0,...s,children:M.jsx(On.button,{type:"button",role:"combobox","aria-controls":l.contentId,"aria-expanded":l.open,"aria-required":l.required,"aria-autocomplete":"none",dir:l.dir,"data-state":l.open?"open":"closed",disabled:h,"data-disabled":h?"":void 0,"data-placeholder":JK(l.value)?"":void 0,...i,ref:f,onClick:xe(i.onClick,w=>{w.currentTarget.focus(),k.current!=="mouse"&&b(w)}),onPointerDown:xe(i.onPointerDown,w=>{k.current=w.pointerType;const _=w.target;_.hasPointerCapture(w.pointerId)&&_.releasePointerCapture(w.pointerId),w.button===0&&w.ctrlKey===!1&&w.pointerType==="mouse"&&(b(w),w.preventDefault())}),onKeyDown:xe(i.onKeyDown,w=>{const _=m.current!=="";!(w.ctrlKey||w.altKey||w.metaKey)&&w.key.length===1&&x(w.key),!(_&&w.key===" ")&&POe.includes(w.key)&&(b(),w.preventDefault())})})})});EK.displayName=LK;var IK="SelectValue",AK=p.forwardRef((e,t)=>{const{__scopeSelect:a,className:o,style:i,children:s,placeholder:l="",...h}=e,f=ji(IK,a),{onValueNodeHasChildrenChange:y}=f,k=s!==void 0,m=ze(t,f.onValueNodeChange);return St(()=>{y(k)},[y,k]),M.jsx(On.span,{...h,ref:m,style:{pointerEvents:"none"},children:JK(f.value)?M.jsx(M.Fragment,{children:l}):s})});AK.displayName=IK;var VOe="SelectIcon",TK=p.forwardRef((e,t)=>{const{__scopeSelect:a,children:o,...i}=e;return M.jsx(On.span,{"aria-hidden":!0,...i,ref:t,children:o||"▼"})});TK.displayName=VOe;var BOe="SelectPortal",RK=e=>M.jsx(_K,{asChild:!0,...e});RK.displayName=BOe;var U1="SelectContent",$K=p.forwardRef((e,t)=>{const a=ji(U1,e.__scopeSelect),[o,i]=p.useState();if(St(()=>{i(new DocumentFragment)},[]),!a.open){const s=o;return s?Kd.createPortal(M.jsx(jK,{scope:e.__scopeSelect,children:M.jsx(BA.Slot,{scope:e.__scopeSelect,children:M.jsx("div",{children:e.children})})}),s):null}return M.jsx(PK,{...e,ref:t})});$K.displayName=U1;var ka=10,[jK,Pi]=cu(U1),FOe="SelectContentImpl",UOe=wK("SelectContent.RemoveScroll"),PK=p.forwardRef((e,t)=>{const{__scopeSelect:a,position:o="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:s,onPointerDownOutside:l,side:h,sideOffset:f,align:y,alignOffset:k,arrowPadding:m,collisionBoundary:x,collisionPadding:S,sticky:b,hideWhenDetached:w,avoidCollisions:_,...N}=e,L=ji(U1,a),[I,O]=p.useState(null),[D,P]=p.useState(null),A=ze(t,he=>O(he)),[j,V]=p.useState(null),[K,q]=p.useState(null),B=FA(a),[F,J]=p.useState(!1),pe=p.useRef(!1);p.useEffect(()=>{if(I)return EA(I)},[I]),NA();const R=p.useCallback(he=>{const[ve,...me]=B().map(ce=>ce.ref.current),[ge]=me.slice(-1),fe=document.activeElement;for(const ce of he)if(ce===fe||(ce==null||ce.scrollIntoView({block:"nearest"}),ce===ve&&D&&(D.scrollTop=0),ce===ge&&D&&(D.scrollTop=D.scrollHeight),ce==null||ce.focus(),document.activeElement!==fe))return},[B,D]),$=p.useCallback(()=>R([j,I]),[R,j,I]);p.useEffect(()=>{F&&$()},[F,$]);const{onOpenChange:T,triggerPointerDownPosRef:G}=L;p.useEffect(()=>{if(I){let he={x:0,y:0};const ve=ge=>{var fe,ce;he={x:Math.abs(Math.round(ge.pageX)-(((fe=G.current)==null?void 0:fe.x)??0)),y:Math.abs(Math.round(ge.pageY)-(((ce=G.current)==null?void 0:ce.y)??0))}},me=ge=>{he.x<=10&&he.y<=10?ge.preventDefault():I.contains(ge.target)||T(!1),document.removeEventListener("pointermove",ve),G.current=null};return G.current!==null&&(document.addEventListener("pointermove",ve),document.addEventListener("pointerup",me,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ve),document.removeEventListener("pointerup",me,{capture:!0})}}},[I,T,G]),p.useEffect(()=>{const he=()=>T(!1);return window.addEventListener("blur",he),window.addEventListener("resize",he),()=>{window.removeEventListener("blur",he),window.removeEventListener("resize",he)}},[T]);const[W,Me]=eY(he=>{const ve=B().filter(fe=>!fe.disabled),me=ve.find(fe=>fe.ref.current===document.activeElement),ge=tY(ve,he,me);ge&&setTimeout(()=>ge.ref.current.focus())}),X=p.useCallback((he,ve,me)=>{const ge=!pe.current&&!me;(L.value!==void 0&&L.value===ve||ge)&&(V(he),ge&&(pe.current=!0))},[L.value]),ne=p.useCallback(()=>I==null?void 0:I.focus(),[I]),le=p.useCallback((he,ve,me)=>{const ge=!pe.current&&!me;(L.value!==void 0&&L.value===ve||ge)&&q(he)},[L.value]),ie=o==="popper"?lP:OK,ye=ie===lP?{side:h,sideOffset:f,align:y,alignOffset:k,arrowPadding:m,collisionBoundary:x,collisionPadding:S,sticky:b,hideWhenDetached:w,avoidCollisions:_}:{};return M.jsx(jK,{scope:a,content:I,viewport:D,onViewportChange:P,itemRefCallback:X,selectedItem:j,onItemLeave:ne,itemTextRefCallback:le,focusSelectedItem:$,selectedItemText:K,position:o,isPositioned:F,searchRef:W,children:M.jsx(D2,{as:UOe,allowPinchZoom:!0,children:M.jsx(O2,{asChild:!0,trapped:L.open,onMountAutoFocus:he=>{he.preventDefault()},onUnmountAutoFocus:xe(i,he=>{var ve;(ve=L.trigger)==null||ve.focus({preventScroll:!0}),he.preventDefault()}),children:M.jsx(nu,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:he=>he.preventDefault(),onDismiss:()=>L.onOpenChange(!1),children:M.jsx(ie,{role:"listbox",id:L.contentId,"data-state":L.open?"open":"closed",dir:L.dir,onContextMenu:he=>he.preventDefault(),...N,...ye,onPlaced:()=>J(!0),ref:A,style:{display:"flex",flexDirection:"column",outline:"none",...N.style},onKeyDown:xe(N.onKeyDown,he=>{const ve=he.ctrlKey||he.altKey||he.metaKey;if(he.key==="Tab"&&he.preventDefault(),!ve&&he.key.length===1&&Me(he.key),["ArrowUp","ArrowDown","Home","End"].includes(he.key)){let ge=B().filter(fe=>!fe.disabled).map(fe=>fe.ref.current);if(["ArrowUp","End"].includes(he.key)&&(ge=ge.slice().reverse()),["ArrowUp","ArrowDown"].includes(he.key)){const fe=he.target,ce=ge.indexOf(fe);ge=ge.slice(ce+1)}setTimeout(()=>R(ge)),he.preventDefault()}})})})})})})});PK.displayName=FOe;var GOe="SelectItemAlignedPosition",OK=p.forwardRef((e,t)=>{const{__scopeSelect:a,onPlaced:o,...i}=e,s=ji(U1,a),l=Pi(U1,a),[h,f]=p.useState(null),[y,k]=p.useState(null),m=ze(t,A=>k(A)),x=FA(a),S=p.useRef(!1),b=p.useRef(!0),{viewport:w,selectedItem:_,selectedItemText:N,focusSelectedItem:L}=l,I=p.useCallback(()=>{if(s.trigger&&s.valueNode&&h&&y&&w&&_&&N){const A=s.trigger.getBoundingClientRect(),j=y.getBoundingClientRect(),V=s.valueNode.getBoundingClientRect(),K=N.getBoundingClientRect();if(s.dir!=="rtl"){const fe=K.left-j.left,ce=V.left-fe,Ee=A.left-ce,$e=A.width+Ee,st=Math.max($e,j.width),Ve=window.innerWidth-ka,tt=sA(ce,[ka,Math.max(ka,Ve-st)]);h.style.minWidth=$e+"px",h.style.left=tt+"px"}else{const fe=j.right-K.right,ce=window.innerWidth-V.right-fe,Ee=window.innerWidth-A.right-ce,$e=A.width+Ee,st=Math.max($e,j.width),Ve=window.innerWidth-ka,tt=sA(ce,[ka,Math.max(ka,Ve-st)]);h.style.minWidth=$e+"px",h.style.right=tt+"px"}const q=x(),B=window.innerHeight-ka*2,F=w.scrollHeight,J=window.getComputedStyle(y),pe=parseInt(J.borderTopWidth,10),R=parseInt(J.paddingTop,10),$=parseInt(J.borderBottomWidth,10),T=parseInt(J.paddingBottom,10),G=pe+R+F+T+$,W=Math.min(_.offsetHeight*5,G),Me=window.getComputedStyle(w),X=parseInt(Me.paddingTop,10),ne=parseInt(Me.paddingBottom,10),le=A.top+A.height/2-ka,ie=B-le,ye=_.offsetHeight/2,he=_.offsetTop+ye,ve=pe+R+he,me=G-ve;if(ve<=le){const fe=q.length>0&&_===q[q.length-1].ref.current;h.style.bottom="0px";const ce=y.clientHeight-w.offsetTop-w.offsetHeight,Ee=Math.max(ie,ye+(fe?ne:0)+ce+$),$e=ve+Ee;h.style.height=$e+"px"}else{const fe=q.length>0&&_===q[0].ref.current;h.style.top="0px";const Ee=Math.max(le,pe+w.offsetTop+(fe?X:0)+ye)+me;h.style.height=Ee+"px",w.scrollTop=ve-le+w.offsetTop}h.style.margin=`${ka}px 0`,h.style.minHeight=W+"px",h.style.maxHeight=B+"px",o==null||o(),requestAnimationFrame(()=>S.current=!0)}},[x,s.trigger,s.valueNode,h,y,w,_,N,s.dir,o]);St(()=>I(),[I]);const[O,D]=p.useState();St(()=>{y&&D(window.getComputedStyle(y).zIndex)},[y]);const P=p.useCallback(A=>{A&&b.current===!0&&(I(),L==null||L(),b.current=!1)},[I,L]);return M.jsx(ZOe,{scope:a,contentWrapper:h,shouldExpandOnScrollRef:S,onScrollButtonChange:P,children:M.jsx("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O},children:M.jsx(On.div,{...i,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});OK.displayName=GOe;var WOe="SelectPopperPosition",lP=p.forwardRef((e,t)=>{const{__scopeSelect:a,align:o="start",collisionPadding:i=ka,...s}=e,l=UA(a);return M.jsx(OA,{...l,...s,ref:t,align:o,collisionPadding:i,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});lP.displayName=WOe;var[ZOe,ZO]=cu(U1,{}),dP="SelectViewport",DK=p.forwardRef((e,t)=>{const{__scopeSelect:a,nonce:o,...i}=e,s=Pi(dP,a),l=ZO(dP,a),h=ze(t,s.onViewportChange),f=p.useRef(0);return M.jsxs(M.Fragment,{children:[M.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),M.jsx(BA.Slot,{scope:a,children:M.jsx(On.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:h,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:xe(i.onScroll,y=>{const k=y.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:x}=l;if(x!=null&&x.current&&m){const S=Math.abs(f.current-k.scrollTop);if(S>0){const b=window.innerHeight-ka*2,w=parseFloat(m.style.minHeight),_=parseFloat(m.style.height),N=Math.max(w,_);if(N<b){const L=N+S,I=Math.min(b,L),O=L-I;m.style.height=I+"px",m.style.bottom==="0px"&&(k.scrollTop=O>0?O:0,m.style.justifyContent="flex-end")}}}f.current=k.scrollTop})})})]})});DK.displayName=dP;var zK="SelectGroup",[XOe,KOe]=cu(zK),qK=p.forwardRef((e,t)=>{const{__scopeSelect:a,...o}=e,i=It();return M.jsx(XOe,{scope:a,id:i,children:M.jsx(On.div,{role:"group","aria-labelledby":i,...o,ref:t})})});qK.displayName=zK;var HK="SelectLabel",VK=p.forwardRef((e,t)=>{const{__scopeSelect:a,...o}=e,i=KOe(HK,a);return M.jsx(On.div,{id:i.id,...o,ref:t})});VK.displayName=HK;var lA="SelectItem",[YOe,BK]=cu(lA),FK=p.forwardRef((e,t)=>{const{__scopeSelect:a,value:o,disabled:i=!1,textValue:s,...l}=e,h=ji(lA,a),f=Pi(lA,a),y=h.value===o,[k,m]=p.useState(s??""),[x,S]=p.useState(!1),b=ze(t,L=>{var I;return(I=f.itemRefCallback)==null?void 0:I.call(f,L,o,i)}),w=It(),_=p.useRef("touch"),N=()=>{i||(h.onValueChange(o),h.onOpenChange(!1))};if(o==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return M.jsx(YOe,{scope:a,value:o,disabled:i,textId:w,isSelected:y,onItemTextChange:p.useCallback(L=>{m(I=>I||((L==null?void 0:L.textContent)??"").trim())},[]),children:M.jsx(BA.ItemSlot,{scope:a,value:o,disabled:i,textValue:k,children:M.jsx(On.div,{role:"option","aria-labelledby":w,"data-highlighted":x?"":void 0,"aria-selected":y&&x,"data-state":y?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...l,ref:b,onFocus:xe(l.onFocus,()=>S(!0)),onBlur:xe(l.onBlur,()=>S(!1)),onClick:xe(l.onClick,()=>{_.current!=="mouse"&&N()}),onPointerUp:xe(l.onPointerUp,()=>{_.current==="mouse"&&N()}),onPointerDown:xe(l.onPointerDown,L=>{_.current=L.pointerType}),onPointerMove:xe(l.onPointerMove,L=>{var I;_.current=L.pointerType,i?(I=f.onItemLeave)==null||I.call(f):_.current==="mouse"&&L.currentTarget.focus({preventScroll:!0})}),onPointerLeave:xe(l.onPointerLeave,L=>{var I;L.currentTarget===document.activeElement&&((I=f.onItemLeave)==null||I.call(f))}),onKeyDown:xe(l.onKeyDown,L=>{var O;((O=f.searchRef)==null?void 0:O.current)!==""&&L.key===" "||(OOe.includes(L.key)&&N(),L.key===" "&&L.preventDefault())})})})})});FK.displayName=lA;var h2="SelectItemText",UK=p.forwardRef((e,t)=>{const{__scopeSelect:a,className:o,style:i,...s}=e,l=ji(h2,a),h=Pi(h2,a),f=BK(h2,a),y=HOe(h2,a),[k,m]=p.useState(null),x=ze(t,N=>m(N),f.onItemTextChange,N=>{var L;return(L=h.itemTextRefCallback)==null?void 0:L.call(h,N,f.value,f.disabled)}),S=k==null?void 0:k.textContent,b=p.useMemo(()=>M.jsx("option",{value:f.value,disabled:f.disabled,children:S},f.value),[f.disabled,f.value,S]),{onNativeOptionAdd:w,onNativeOptionRemove:_}=y;return St(()=>(w(b),()=>_(b)),[w,_,b]),M.jsxs(M.Fragment,{children:[M.jsx(On.span,{id:f.textId,...s,ref:x}),f.isSelected&&l.valueNode&&!l.valueNodeHasChildren?Kd.createPortal(s.children,l.valueNode):null]})});UK.displayName=h2;var GK="SelectItemIndicator",WK=p.forwardRef((e,t)=>{const{__scopeSelect:a,...o}=e;return BK(GK,a).isSelected?M.jsx(On.span,{"aria-hidden":!0,...o,ref:t}):null});WK.displayName=GK;var uP="SelectScrollUpButton",ZK=p.forwardRef((e,t)=>{const a=Pi(uP,e.__scopeSelect),o=ZO(uP,e.__scopeSelect),[i,s]=p.useState(!1),l=ze(t,o.onScrollButtonChange);return St(()=>{if(a.viewport&&a.isPositioned){let h=function(){const y=f.scrollTop>0;s(y)};const f=a.viewport;return h(),f.addEventListener("scroll",h),()=>f.removeEventListener("scroll",h)}},[a.viewport,a.isPositioned]),i?M.jsx(KK,{...e,ref:l,onAutoScroll:()=>{const{viewport:h,selectedItem:f}=a;h&&f&&(h.scrollTop=h.scrollTop-f.offsetHeight)}}):null});ZK.displayName=uP;var hP="SelectScrollDownButton",XK=p.forwardRef((e,t)=>{const a=Pi(hP,e.__scopeSelect),o=ZO(hP,e.__scopeSelect),[i,s]=p.useState(!1),l=ze(t,o.onScrollButtonChange);return St(()=>{if(a.viewport&&a.isPositioned){let h=function(){const y=f.scrollHeight-f.clientHeight,k=Math.ceil(f.scrollTop)<y;s(k)};const f=a.viewport;return h(),f.addEventListener("scroll",h),()=>f.removeEventListener("scroll",h)}},[a.viewport,a.isPositioned]),i?M.jsx(KK,{...e,ref:l,onAutoScroll:()=>{const{viewport:h,selectedItem:f}=a;h&&f&&(h.scrollTop=h.scrollTop+f.offsetHeight)}}):null});XK.displayName=hP;var KK=p.forwardRef((e,t)=>{const{__scopeSelect:a,onAutoScroll:o,...i}=e,s=Pi("SelectScrollButton",a),l=p.useRef(null),h=FA(a),f=p.useCallback(()=>{l.current!==null&&(window.clearInterval(l.current),l.current=null)},[]);return p.useEffect(()=>()=>f(),[f]),St(()=>{var k;const y=h().find(m=>m.ref.current===document.activeElement);(k=y==null?void 0:y.ref.current)==null||k.scrollIntoView({block:"nearest"})},[h]),M.jsx(On.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:xe(i.onPointerDown,()=>{l.current===null&&(l.current=window.setInterval(o,50))}),onPointerMove:xe(i.onPointerMove,()=>{var y;(y=s.onItemLeave)==null||y.call(s),l.current===null&&(l.current=window.setInterval(o,50))}),onPointerLeave:xe(i.onPointerLeave,()=>{f()})})}),QOe="SelectSeparator",YK=p.forwardRef((e,t)=>{const{__scopeSelect:a,...o}=e;return M.jsx(On.div,{"aria-hidden":!0,...o,ref:t})});YK.displayName=QOe;var pP="SelectArrow",JOe=p.forwardRef((e,t)=>{const{__scopeSelect:a,...o}=e,i=UA(a),s=ji(pP,a),l=Pi(pP,a);return s.open&&l.position==="popper"?M.jsx(DA,{...i,...o,ref:t}):null});JOe.displayName=pP;var eDe="SelectBubbleInput",QK=p.forwardRef(({__scopeSelect:e,value:t,...a},o)=>{const i=p.useRef(null),s=ze(o,i),l=wA(t);return p.useEffect(()=>{const h=i.current;if(!h)return;const f=window.HTMLSelectElement.prototype,k=Object.getOwnPropertyDescriptor(f,"value").set;if(l!==t&&k){const m=new Event("change",{bubbles:!0});k.call(h,t),h.dispatchEvent(m)}},[l,t]),M.jsx(On.select,{...a,style:{...SK,...a.style},ref:s,defaultValue:t})});QK.displayName=eDe;function JK(e){return e===""||e===void 0}function eY(e){const t=Zn(e),a=p.useRef(""),o=p.useRef(0),i=p.useCallback(l=>{const h=a.current+l;t(h),(function f(y){a.current=y,window.clearTimeout(o.current),y!==""&&(o.current=window.setTimeout(()=>f(""),1e3))})(h)},[t]),s=p.useCallback(()=>{a.current="",window.clearTimeout(o.current)},[]);return p.useEffect(()=>()=>window.clearTimeout(o.current),[]),[a,i,s]}function tY(e,t,a){const i=t.length>1&&Array.from(t).every(y=>y===t[0])?t[0]:t,s=a?e.indexOf(a):-1;let l=tDe(e,Math.max(s,0));i.length===1&&(l=l.filter(y=>y!==a));const f=l.find(y=>y.textValue.toLowerCase().startsWith(i.toLowerCase()));return f!==a?f:void 0}function tDe(e,t){return e.map((a,o)=>e[(t+o)%e.length])}var nDe=NK,aDe=EK,oDe=AK,rDe=TK,iDe=RK,cDe=$K,sDe=DK,lDe=qK,dDe=VK,uDe=FK,hDe=UK,pDe=WK,fDe=ZK,yDe=XK,mDe=YK;function vDe({...e}){return M.jsx(nDe,{"data-slot":"select",...e})}function kDe({...e}){return M.jsx(lDe,{"data-slot":"select-group",...e})}function gDe({...e}){return M.jsx(oDe,{"data-slot":"select-value",...e})}function MDe({className:e,size:t="default",children:a,...o}){return M.jsxs(aDe,{"data-slot":"select-trigger","data-size":t,className:ee("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[2px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o,children:[a,M.jsx(rDe,{asChild:!0,children:M.jsx(xi,{className:"size-4 opacity-50"})})]})}function xDe({className:e,children:t,position:a="popper",...o}){return M.jsx(iDe,{children:M.jsxs(cDe,{"data-slot":"select-content",className:ee("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:a,...o,children:[M.jsx(nY,{}),M.jsx(sDe,{className:ee("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),M.jsx(aY,{})]})})}function bDe({className:e,...t}){return M.jsx(dDe,{"data-slot":"select-label",className:ee("text-muted-foreground px-2 py-1.5 text-xs",e),...t})}function wDe({className:e,children:t,...a}){return M.jsxs(uDe,{"data-slot":"select-item",className:ee("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...a,children:[M.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:M.jsx(pDe,{children:M.jsx(sr,{className:"size-4"})})}),M.jsx(hDe,{children:t})]})}function _De({className:e,...t}){return M.jsx(mDe,{"data-slot":"select-separator",className:ee("bg-border pointer-events-none -mx-1 my-1 h-px",e),...t})}function nY({className:e,...t}){return M.jsx(fDe,{"data-slot":"select-scroll-up-button",className:ee("flex cursor-default items-center justify-center py-1",e),...t,children:M.jsx(m2,{className:"size-4"})})}function aY({className:e,...t}){return M.jsx(yDe,{"data-slot":"select-scroll-down-button",className:ee("flex cursor-default items-center justify-center py-1",e),...t,children:M.jsx(xi,{className:"size-4"})})}var SDe="Separator",gF="horizontal",CDe=["horizontal","vertical"],oY=p.forwardRef((e,t)=>{const{decorative:a,orientation:o=gF,...i}=e,s=NDe(o)?o:gF,h=a?{role:"none"}:{"aria-orientation":s==="vertical"?s:void 0,role:"separator"};return M.jsx(jn.div,{"data-orientation":s,...h,...i,ref:t})});oY.displayName=SDe;function NDe(e){return CDe.includes(e)}var LDe=oY;function XO({className:e,orientation:t="horizontal",decorative:a=!0,...o}){return M.jsx(LDe,{"data-slot":"separator-root",decorative:a,orientation:t,className:ee("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...o})}function rY({...e}){return M.jsx(oO,{"data-slot":"sheet",...e})}function EDe({...e}){return M.jsx(bW,{"data-slot":"sheet-trigger",...e})}function IDe({...e}){return M.jsx(AA,{"data-slot":"sheet-close",...e})}function ADe({...e}){return M.jsx(rO,{"data-slot":"sheet-portal",...e})}function TDe({className:e,...t}){return M.jsx(iO,{"data-slot":"sheet-overlay",className:ee("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-[1002] bg-black/50",e),...t})}function iY({className:e,children:t,side:a="right",...o}){return M.jsxs(ADe,{children:[M.jsx(TDe,{}),M.jsxs(cO,{"data-slot":"sheet-content",className:ee("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",a==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",a==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",a==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",a==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...o,children:[t,M.jsxs(AA,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[M.jsx(bi,{className:"size-4"}),M.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function cY({className:e,...t}){return M.jsx("div",{"data-slot":"sheet-header",className:ee("flex flex-col gap-1.5 p-4",e),...t})}function RDe({className:e,...t}){return M.jsx("div",{"data-slot":"sheet-footer",className:ee("mt-auto flex flex-col gap-2 p-4",e),...t})}function sY({className:e,...t}){return M.jsx(wW,{"data-slot":"sheet-title",className:ee("text-foreground font-semibold",e),...t})}function lY({className:e,...t}){return M.jsx(_W,{"data-slot":"sheet-description",className:ee("text-muted-foreground text-sm",e),...t})}const Rj=768;function $De(){const[e,t]=p.useState(void 0);return p.useEffect(()=>{const a=window.matchMedia(`(max-width: ${Rj-1}px)`),o=()=>{t(window.innerWidth<Rj)};return a.addEventListener("change",o),t(window.innerWidth<Rj),()=>a.removeEventListener("change",o)},[]),!!e}function fP({className:e,...t}){return M.jsx("div",{"data-slot":"skeleton",className:ee("bg-accent animate-pulse rounded-md",e),...t})}function jDe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,PDe(i,...t)]}function PDe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function ODe(e){const t=DDe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(qDe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function DDe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=VDe(i),h=HDe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var dY=Symbol("radix.slottable");function zDe(e){const t=({children:a})=>M.jsx(M.Fragment,{children:a});return t.displayName=`${e}.Slottable`,t.__radixId=dY,t}function qDe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===dY}function HDe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function VDe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var BDe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],uY=BDe.reduce((e,t)=>{const a=ODe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),FDe="Portal",hY=p.forwardRef((e,t)=>{var h;const{container:a,...o}=e,[i,s]=p.useState(!1);St(()=>s(!0),[]);const l=a||i&&((h=globalThis==null?void 0:globalThis.document)==null?void 0:h.body);return l?ur.createPortal(M.jsx(uY.div,{...o,ref:t}),l):null});hY.displayName=FDe;var[GA]=jDe("Tooltip",[Ti]),WA=Ti(),pY="TooltipProvider",UDe=700,yP="tooltip.open",[GDe,KO]=GA(pY),fY=e=>{const{__scopeTooltip:t,delayDuration:a=UDe,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:s}=e,l=p.useRef(!0),h=p.useRef(!1),f=p.useRef(0);return p.useEffect(()=>{const y=f.current;return()=>window.clearTimeout(y)},[]),M.jsx(GDe,{scope:t,isOpenDelayedRef:l,delayDuration:a,onOpen:p.useCallback(()=>{window.clearTimeout(f.current),l.current=!1},[]),onClose:p.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>l.current=!0,o)},[o]),isPointerInTransitRef:h,onPointerInTransitChange:p.useCallback(y=>{h.current=y},[]),disableHoverableContent:i,children:s})};fY.displayName=pY;var N2="Tooltip",[WDe,Q2]=GA(N2),yY=e=>{const{__scopeTooltip:t,children:a,open:o,defaultOpen:i,onOpenChange:s,disableHoverableContent:l,delayDuration:h}=e,f=KO(N2,e.__scopeTooltip),y=WA(t),[k,m]=p.useState(null),x=It(),S=p.useRef(0),b=l??f.disableHoverableContent,w=h??f.delayDuration,_=p.useRef(!1),[N,L]=bn({prop:o,defaultProp:i??!1,onChange:A=>{A?(f.onOpen(),document.dispatchEvent(new CustomEvent(yP))):f.onClose(),s==null||s(A)},caller:N2}),I=p.useMemo(()=>N?_.current?"delayed-open":"instant-open":"closed",[N]),O=p.useCallback(()=>{window.clearTimeout(S.current),S.current=0,_.current=!1,L(!0)},[L]),D=p.useCallback(()=>{window.clearTimeout(S.current),S.current=0,L(!1)},[L]),P=p.useCallback(()=>{window.clearTimeout(S.current),S.current=window.setTimeout(()=>{_.current=!0,L(!0),S.current=0},w)},[w,L]);return p.useEffect(()=>()=>{S.current&&(window.clearTimeout(S.current),S.current=0)},[]),M.jsx(B2,{...y,children:M.jsx(WDe,{scope:t,contentId:x,open:N,stateAttribute:I,trigger:k,onTriggerChange:m,onTriggerEnter:p.useCallback(()=>{f.isOpenDelayedRef.current?P():O()},[f.isOpenDelayedRef,P,O]),onTriggerLeave:p.useCallback(()=>{b?D():(window.clearTimeout(S.current),S.current=0)},[D,b]),onOpen:O,onClose:D,disableHoverableContent:b,children:a})})};yY.displayName=N2;var mP="TooltipTrigger",mY=p.forwardRef((e,t)=>{const{__scopeTooltip:a,...o}=e,i=Q2(mP,a),s=KO(mP,a),l=WA(a),h=p.useRef(null),f=ze(t,h,i.onTriggerChange),y=p.useRef(!1),k=p.useRef(!1),m=p.useCallback(()=>y.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),M.jsx(F2,{asChild:!0,...l,children:M.jsx(uY.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...o,ref:f,onPointerMove:xe(e.onPointerMove,x=>{x.pointerType!=="touch"&&!k.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),k.current=!0)}),onPointerLeave:xe(e.onPointerLeave,()=>{i.onTriggerLeave(),k.current=!1}),onPointerDown:xe(e.onPointerDown,()=>{i.open&&i.onClose(),y.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:xe(e.onFocus,()=>{y.current||i.onOpen()}),onBlur:xe(e.onBlur,i.onClose),onClick:xe(e.onClick,i.onClose)})})});mY.displayName=mP;var YO="TooltipPortal",[ZDe,XDe]=GA(YO,{forceMount:void 0}),vY=e=>{const{__scopeTooltip:t,forceMount:a,children:o,container:i}=e,s=Q2(YO,t);return M.jsx(ZDe,{scope:t,forceMount:a,children:M.jsx(Pn,{present:a||s.open,children:M.jsx(hY,{asChild:!0,container:i,children:o})})})};vY.displayName=YO;var Xd="TooltipContent",kY=p.forwardRef((e,t)=>{const a=XDe(Xd,e.__scopeTooltip),{forceMount:o=a.forceMount,side:i="top",...s}=e,l=Q2(Xd,e.__scopeTooltip);return M.jsx(Pn,{present:o||l.open,children:l.disableHoverableContent?M.jsx(gY,{side:i,...s,ref:t}):M.jsx(KDe,{side:i,...s,ref:t})})}),KDe=p.forwardRef((e,t)=>{const a=Q2(Xd,e.__scopeTooltip),o=KO(Xd,e.__scopeTooltip),i=p.useRef(null),s=ze(t,i),[l,h]=p.useState(null),{trigger:f,onClose:y}=a,k=i.current,{onPointerInTransitChange:m}=o,x=p.useCallback(()=>{h(null),m(!1)},[m]),S=p.useCallback((b,w)=>{const _=b.currentTarget,N={x:b.clientX,y:b.clientY},L=eze(N,_.getBoundingClientRect()),I=tze(N,L),O=nze(w.getBoundingClientRect()),D=oze([...I,...O]);h(D),m(!0)},[m]);return p.useEffect(()=>()=>x(),[x]),p.useEffect(()=>{if(f&&k){const b=_=>S(_,k),w=_=>S(_,f);return f.addEventListener("pointerleave",b),k.addEventListener("pointerleave",w),()=>{f.removeEventListener("pointerleave",b),k.removeEventListener("pointerleave",w)}}},[f,k,S,x]),p.useEffect(()=>{if(l){const b=w=>{const _=w.target,N={x:w.clientX,y:w.clientY},L=(f==null?void 0:f.contains(_))||(k==null?void 0:k.contains(_)),I=!aze(N,l);L?x():I&&(x(),y())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[f,k,l,y,x]),M.jsx(gY,{...e,ref:s})}),[YDe,QDe]=GA(N2,{isInside:!1}),JDe=zDe("TooltipContent"),gY=p.forwardRef((e,t)=>{const{__scopeTooltip:a,children:o,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:l,...h}=e,f=Q2(Xd,a),y=WA(a),{onClose:k}=f;return p.useEffect(()=>(document.addEventListener(yP,k),()=>document.removeEventListener(yP,k)),[k]),p.useEffect(()=>{if(f.trigger){const m=x=>{const S=x.target;S!=null&&S.contains(f.trigger)&&k()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[f.trigger,k]),M.jsx(nu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:m=>m.preventDefault(),onDismiss:k,children:M.jsxs(OA,{"data-state":f.stateAttribute,...y,...h,ref:t,style:{...h.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[M.jsx(JDe,{children:o}),M.jsx(YDe,{scope:a,isInside:!0,children:M.jsx(jOe,{id:f.contentId,role:"tooltip",children:i||o})})]})})});kY.displayName=Xd;var MY="TooltipArrow",xY=p.forwardRef((e,t)=>{const{__scopeTooltip:a,...o}=e,i=WA(a);return QDe(MY,a).isInside?null:M.jsx(DA,{...i,...o,ref:t})});xY.displayName=MY;function eze(e,t){const a=Math.abs(t.top-e.y),o=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(a,o,i,s)){case s:return"left";case i:return"right";case a:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function tze(e,t,a=5){const o=[];switch(t){case"top":o.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":o.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":o.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":o.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a});break}return o}function nze(e){const{top:t,right:a,bottom:o,left:i}=e;return[{x:i,y:t},{x:a,y:t},{x:a,y:o},{x:i,y:o}]}function aze(e,t){const{x:a,y:o}=e;let i=!1;for(let s=0,l=t.length-1;s<t.length;l=s++){const h=t[s],f=t[l],y=h.x,k=h.y,m=f.x,x=f.y;k>o!=x>o&&a<(m-y)*(o-k)/(x-k)+y&&(i=!i)}return i}function oze(e){const t=e.slice();return t.sort((a,o)=>a.x<o.x?-1:a.x>o.x?1:a.y<o.y?-1:a.y>o.y?1:0),rze(t)}function rze(e){if(e.length<=1)return e.slice();const t=[];for(let o=0;o<e.length;o++){const i=e[o];for(;t.length>=2;){const s=t[t.length-1],l=t[t.length-2];if((s.x-l.x)*(i.y-l.y)>=(s.y-l.y)*(i.x-l.x))t.pop();else break}t.push(i)}t.pop();const a=[];for(let o=e.length-1;o>=0;o--){const i=e[o];for(;a.length>=2;){const s=a[a.length-1],l=a[a.length-2];if((s.x-l.x)*(i.y-l.y)>=(s.y-l.y)*(i.x-l.x))a.pop();else break}a.push(i)}return a.pop(),t.length===1&&a.length===1&&t[0].x===a[0].x&&t[0].y===a[0].y?t:t.concat(a)}var ize=fY,cze=yY,sze=mY,lze=vY,dze=kY,uze=xY;function QO({delayDuration:e=0,...t}){return M.jsx(ize,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function bY({...e}){return M.jsx(QO,{children:M.jsx(cze,{"data-slot":"tooltip",...e})})}function wY({...e}){return M.jsx(sze,{"data-slot":"tooltip-trigger",...e})}function _Y({className:e,sideOffset:t=0,children:a,...o}){return M.jsx(lze,{children:M.jsxs(dze,{"data-slot":"tooltip-content",sideOffset:t,className:ee("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",e),...o,children:[a,M.jsx(uze,{className:"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})})}const hze="sidebar_state",pze=3600*24*7,fze="16rem",yze="18rem",mze="3rem",vze="b",SY=p.createContext(null);function J2(){const e=p.useContext(SY);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function kze({defaultOpen:e=!0,open:t,onOpenChange:a,className:o,style:i,children:s,...l}){const h=$De(),[f,y]=p.useState(!1),[k,m]=p.useState(e),x=t??k,S=p.useCallback(N=>{const L=typeof N=="function"?N(x):N;a?a(L):m(L),document.cookie=`${hze}=${L}; path=/; max-age=${pze}`},[a,x]),b=p.useCallback(()=>h?y(N=>!N):S(N=>!N),[h,S,y]);p.useEffect(()=>{const N=L=>{L.key===vze&&(L.metaKey||L.ctrlKey)&&(L.preventDefault(),b())};return window.addEventListener("keydown",N),()=>window.removeEventListener("keydown",N)},[b]);const w=x?"expanded":"collapsed",_=p.useMemo(()=>({state:w,open:x,setOpen:S,isMobile:h,openMobile:f,setOpenMobile:y,toggleSidebar:b}),[w,x,S,h,f,y,b]);return M.jsx(SY.Provider,{value:_,children:M.jsx(QO,{delayDuration:0,children:M.jsx("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":fze,"--sidebar-width-icon":mze,...i},className:ee("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",o),...l,children:s})})})}function gze({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:o,children:i,...s}){const{isMobile:l,state:h,openMobile:f,setOpenMobile:y}=J2();return a==="none"?M.jsx("div",{"data-slot":"sidebar",className:ee("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",o),...s,children:i}):l?M.jsx(rY,{open:f,onOpenChange:y,...s,children:M.jsxs(iY,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden z-[1002]",style:{"--sidebar-width":yze},side:e,children:[M.jsxs(cY,{className:"sr-only",children:[M.jsx(sY,{children:"Sidebar"}),M.jsx(lY,{children:"Displays the mobile sidebar."})]}),M.jsx("div",{className:"flex h-full w-full flex-col",children:i})]})}):M.jsxs("div",{className:"group peer text-sidebar-foreground hidden md:block","data-state":h,"data-collapsible":h==="collapsed"?a:"","data-variant":t,"data-side":e,"data-slot":"sidebar",children:[M.jsx("div",{"data-slot":"sidebar-gap",className:ee("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),M.jsx("div",{"data-slot":"sidebar-container",className:ee("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...s,children:M.jsx("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",children:i})})]})}function Mze({className:e,onClick:t,...a}){const{toggleSidebar:o}=J2();return M.jsxs(xA,{"data-sidebar":"trigger","data-slot":"sidebar-trigger",variant:"ghost",size:"icon",className:ee("size-7",e),onClick:i=>{t==null||t(i),o()},...a,children:[M.jsx(vi,{}),M.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})}function xze({className:e,...t}){const{toggleSidebar:a}=J2();return M.jsx("button",{"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:a,title:"Toggle Sidebar",className:ee("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})}function bze({className:e,...t}){return M.jsx("main",{"data-slot":"sidebar-inset",className:ee("bg-background relative flex w-full flex-1 flex-col","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",e),...t})}function wze({className:e,...t}){return M.jsx(PX,{"data-slot":"sidebar-input","data-sidebar":"input",className:ee("bg-background h-8 w-full shadow-none",e),...t})}function _ze({className:e,...t}){return M.jsx("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:ee("flex flex-col gap-2 p-2",e),...t})}function Sze({className:e,...t}){return M.jsx("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:ee("flex flex-col gap-2 p-2",e),...t})}function Cze({className:e,...t}){return M.jsx(XO,{"data-slot":"sidebar-separator","data-sidebar":"separator",className:ee("bg-sidebar-border mx-2 w-auto",e),...t})}function Nze({className:e,...t}){return M.jsx("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:ee("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t})}function Lze({className:e,...t}){return M.jsx("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:ee("relative flex w-full min-w-0 flex-col p-2",e),...t})}function Eze({className:e,asChild:t=!1,...a}){const o=t?Ii:"div";return M.jsx(o,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:ee("text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...a})}function Ize({className:e,asChild:t=!1,...a}){const o=t?Ii:"button";return M.jsx(o,{"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:ee("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",e),...a})}function Aze({className:e,...t}){return M.jsx("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:ee("w-full text-sm",e),...t})}function Tze({className:e,...t}){return M.jsx("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:ee("flex w-full min-w-0 flex-col gap-1",e),...t})}function Rze({className:e,...t}){return M.jsx("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:ee("group/menu-item relative",e),...t})}const $ze=MA("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function jze({asChild:e=!1,isActive:t=!1,variant:a="default",size:o="default",tooltip:i,className:s,...l}){const h=e?Ii:"button",{isMobile:f,state:y}=J2(),k=M.jsx(h,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":o,"data-active":t,className:ee($ze({variant:a,size:o}),s),...l});return i?(typeof i=="string"&&(i={children:i}),M.jsxs(bY,{children:[M.jsx(wY,{asChild:!0,children:k}),M.jsx(_Y,{side:"right",align:"center",hidden:y!=="collapsed"||f,...i})]})):k}function Pze({className:e,asChild:t=!1,showOnHover:a=!1,...o}){const i=t?Ii:"button";return M.jsx(i,{"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:ee("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",e),...o})}function Oze({className:e,...t}){return M.jsx("div",{"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:ee("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t})}function Dze({className:e,showIcon:t=!1,...a}){const o=p.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return M.jsxs("div",{"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:ee("flex h-8 items-center gap-2 rounded-md px-2",e),...a,children:[t&&M.jsx(fP,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),M.jsx(fP,{className:"h-4 max-w-(--skeleton-width) flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})}function zze({className:e,...t}){return M.jsx("ul",{"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:ee("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t})}function qze({className:e,...t}){return M.jsx("li",{"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:ee("group/menu-sub-item relative",e),...t})}function Hze({asChild:e=!1,size:t="md",isActive:a=!1,className:o,...i}){const s=e?Ii:"a";return M.jsx(s,{"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:ee("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...i})}function Vze(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,Bze(i,...t)]}function Bze(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function Fze(e){const t=Uze(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(Wze);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function Uze(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=Xze(i),h=Zze(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Gze=Symbol("radix.slottable");function Wze(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Gze}function Zze(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function Xze(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var Kze=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],e0=Kze.reduce((e,t)=>{const a=Fze(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),CY=["PageUp","PageDown"],NY=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],LY={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},su="Slider",[vP,Yze,Qze]=q2(su),[EY]=Vze(su,[Qze]),[Jze,ZA]=EY(su),IY=p.forwardRef((e,t)=>{const{name:a,min:o=0,max:i=100,step:s=1,orientation:l="horizontal",disabled:h=!1,minStepsBetweenThumbs:f=0,defaultValue:y=[o],value:k,onValueChange:m=()=>{},onValueCommit:x=()=>{},inverted:S=!1,form:b,...w}=e,_=p.useRef(new Set),N=p.useRef(0),I=l==="horizontal"?eqe:tqe,[O=[],D]=bn({prop:k,defaultProp:y,onChange:q=>{var F;(F=[..._.current][N.current])==null||F.focus(),m(q)}}),P=p.useRef(O);function A(q){const B=iqe(O,q);K(q,B)}function j(q){K(q,N.current)}function V(){const q=P.current[N.current];O[N.current]!==q&&x(O)}function K(q,B,{commit:F}={commit:!1}){const J=dqe(s),pe=uqe(Math.round((q-o)/s)*s+o,J),R=sA(pe,[o,i]);D(($=[])=>{const T=oqe($,R,B);if(lqe(T,f*s)){N.current=T.indexOf(R);const G=String(T)!==String($);return G&&F&&x(T),G?T:$}else return $})}return M.jsx(Jze,{scope:e.__scopeSlider,name:a,disabled:h,min:o,max:i,valueIndexToChangeRef:N,thumbs:_.current,values:O,orientation:l,form:b,children:M.jsx(vP.Provider,{scope:e.__scopeSlider,children:M.jsx(vP.Slot,{scope:e.__scopeSlider,children:M.jsx(I,{"aria-disabled":h,"data-disabled":h?"":void 0,...w,ref:t,onPointerDown:xe(w.onPointerDown,()=>{h||(P.current=O)}),min:o,max:i,inverted:S,onSlideStart:h?void 0:A,onSlideMove:h?void 0:j,onSlideEnd:h?void 0:V,onHomeKeyDown:()=>!h&&K(o,0,{commit:!0}),onEndKeyDown:()=>!h&&K(i,O.length-1,{commit:!0}),onStepKeyDown:({event:q,direction:B})=>{if(!h){const pe=CY.includes(q.key)||q.shiftKey&&NY.includes(q.key)?10:1,R=N.current,$=O[R],T=s*pe*B;K($+T,R,{commit:!0})}}})})})})});IY.displayName=su;var[AY,TY]=EY(su,{startEdge:"left",endEdge:"right",size:"width",direction:1}),eqe=p.forwardRef((e,t)=>{const{min:a,max:o,dir:i,inverted:s,onSlideStart:l,onSlideMove:h,onSlideEnd:f,onStepKeyDown:y,...k}=e,[m,x]=p.useState(null),S=ze(t,I=>x(I)),b=p.useRef(void 0),w=H2(i),_=w==="ltr",N=_&&!s||!_&&s;function L(I){const O=b.current||m.getBoundingClientRect(),D=[0,O.width],A=JO(D,N?[a,o]:[o,a]);return b.current=O,A(I-O.left)}return M.jsx(AY,{scope:e.__scopeSlider,startEdge:N?"left":"right",endEdge:N?"right":"left",direction:N?1:-1,size:"width",children:M.jsx(RY,{dir:w,"data-orientation":"horizontal",...k,ref:S,style:{...k.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:I=>{const O=L(I.clientX);l==null||l(O)},onSlideMove:I=>{const O=L(I.clientX);h==null||h(O)},onSlideEnd:()=>{b.current=void 0,f==null||f()},onStepKeyDown:I=>{const D=LY[N?"from-left":"from-right"].includes(I.key);y==null||y({event:I,direction:D?-1:1})}})})}),tqe=p.forwardRef((e,t)=>{const{min:a,max:o,inverted:i,onSlideStart:s,onSlideMove:l,onSlideEnd:h,onStepKeyDown:f,...y}=e,k=p.useRef(null),m=ze(t,k),x=p.useRef(void 0),S=!i;function b(w){const _=x.current||k.current.getBoundingClientRect(),N=[0,_.height],I=JO(N,S?[o,a]:[a,o]);return x.current=_,I(w-_.top)}return M.jsx(AY,{scope:e.__scopeSlider,startEdge:S?"bottom":"top",endEdge:S?"top":"bottom",size:"height",direction:S?1:-1,children:M.jsx(RY,{"data-orientation":"vertical",...y,ref:m,style:{...y.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:w=>{const _=b(w.clientY);s==null||s(_)},onSlideMove:w=>{const _=b(w.clientY);l==null||l(_)},onSlideEnd:()=>{x.current=void 0,h==null||h()},onStepKeyDown:w=>{const N=LY[S?"from-bottom":"from-top"].includes(w.key);f==null||f({event:w,direction:N?-1:1})}})})}),RY=p.forwardRef((e,t)=>{const{__scopeSlider:a,onSlideStart:o,onSlideMove:i,onSlideEnd:s,onHomeKeyDown:l,onEndKeyDown:h,onStepKeyDown:f,...y}=e,k=ZA(su,a);return M.jsx(e0.span,{...y,ref:t,onKeyDown:xe(e.onKeyDown,m=>{m.key==="Home"?(l(m),m.preventDefault()):m.key==="End"?(h(m),m.preventDefault()):CY.concat(NY).includes(m.key)&&(f(m),m.preventDefault())}),onPointerDown:xe(e.onPointerDown,m=>{const x=m.target;x.setPointerCapture(m.pointerId),m.preventDefault(),k.thumbs.has(x)?x.focus():o(m)}),onPointerMove:xe(e.onPointerMove,m=>{m.target.hasPointerCapture(m.pointerId)&&i(m)}),onPointerUp:xe(e.onPointerUp,m=>{const x=m.target;x.hasPointerCapture(m.pointerId)&&(x.releasePointerCapture(m.pointerId),s(m))})})}),$Y="SliderTrack",jY=p.forwardRef((e,t)=>{const{__scopeSlider:a,...o}=e,i=ZA($Y,a);return M.jsx(e0.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...o,ref:t})});jY.displayName=$Y;var kP="SliderRange",PY=p.forwardRef((e,t)=>{const{__scopeSlider:a,...o}=e,i=ZA(kP,a),s=TY(kP,a),l=p.useRef(null),h=ze(t,l),f=i.values.length,y=i.values.map(x=>zY(x,i.min,i.max)),k=f>1?Math.min(...y):0,m=100-Math.max(...y);return M.jsx(e0.span,{"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,...o,ref:h,style:{...e.style,[s.startEdge]:k+"%",[s.endEdge]:m+"%"}})});PY.displayName=kP;var gP="SliderThumb",OY=p.forwardRef((e,t)=>{const a=Yze(e.__scopeSlider),[o,i]=p.useState(null),s=ze(t,h=>i(h)),l=p.useMemo(()=>o?a().findIndex(h=>h.ref.current===o):-1,[a,o]);return M.jsx(nqe,{...e,ref:s,index:l})}),nqe=p.forwardRef((e,t)=>{const{__scopeSlider:a,index:o,name:i,...s}=e,l=ZA(gP,a),h=TY(gP,a),[f,y]=p.useState(null),k=ze(t,L=>y(L)),m=f?l.form||!!f.closest("form"):!0,x=_A(f),S=l.values[o],b=S===void 0?0:zY(S,l.min,l.max),w=rqe(o,l.values.length),_=x==null?void 0:x[h.size],N=_?cqe(_,b,h.direction):0;return p.useEffect(()=>{if(f)return l.thumbs.add(f),()=>{l.thumbs.delete(f)}},[f,l.thumbs]),M.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[h.startEdge]:`calc(${b}% + ${N}px)`},children:[M.jsx(vP.ItemSlot,{scope:e.__scopeSlider,children:M.jsx(e0.span,{role:"slider","aria-label":e["aria-label"]||w,"aria-valuemin":l.min,"aria-valuenow":S,"aria-valuemax":l.max,"aria-orientation":l.orientation,"data-orientation":l.orientation,"data-disabled":l.disabled?"":void 0,tabIndex:l.disabled?void 0:0,...s,ref:k,style:S===void 0?{display:"none"}:e.style,onFocus:xe(e.onFocus,()=>{l.valueIndexToChangeRef.current=o})})}),m&&M.jsx(DY,{name:i??(l.name?l.name+(l.values.length>1?"[]":""):void 0),form:l.form,value:S},o)]})});OY.displayName=gP;var aqe="RadioBubbleInput",DY=p.forwardRef(({__scopeSlider:e,value:t,...a},o)=>{const i=p.useRef(null),s=ze(i,o),l=wA(t);return p.useEffect(()=>{const h=i.current;if(!h)return;const f=window.HTMLInputElement.prototype,k=Object.getOwnPropertyDescriptor(f,"value").set;if(l!==t&&k){const m=new Event("input",{bubbles:!0});k.call(h,t),h.dispatchEvent(m)}},[l,t]),M.jsx(e0.input,{style:{display:"none"},...a,ref:s,defaultValue:t})});DY.displayName=aqe;function oqe(e=[],t,a){const o=[...e];return o[a]=t,o.sort((i,s)=>i-s)}function zY(e,t,a){const s=100/(a-t)*(e-t);return sA(s,[0,100])}function rqe(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function iqe(e,t){if(e.length===1)return 0;const a=e.map(i=>Math.abs(i-t)),o=Math.min(...a);return a.indexOf(o)}function cqe(e,t,a){const o=e/2,s=JO([0,50],[0,o]);return(o-s(t)*a)*a}function sqe(e){return e.slice(0,-1).map((t,a)=>e[a+1]-t)}function lqe(e,t){if(t>0){const a=sqe(e);return Math.min(...a)>=t}return!0}function JO(e,t){return a=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const o=(t[1]-t[0])/(e[1]-e[0]);return t[0]+o*(a-e[0])}}function dqe(e){return(String(e).split(".")[1]||"").length}function uqe(e,t){const a=Math.pow(10,t);return Math.round(e*a)/a}var hqe=IY,pqe=jY,fqe=PY,yqe=OY;function mqe({className:e,defaultValue:t,value:a,min:o=0,max:i=100,id:s,...l}){const h=p.useMemo(()=>Array.isArray(a)?a:Array.isArray(t)?t:[o,i],[a,t,o,i]);return M.jsxs(hqe,{"data-slot":"slider",defaultValue:t,value:a,min:o,max:i,id:s,className:ee("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",e),...l,children:[M.jsx(pqe,{"data-slot":"slider-track",className:ee("bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),children:M.jsx(fqe,{"data-slot":"slider-range",className:ee("bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")})}),Array.from({length:h.length},(f,y)=>M.jsx(yqe,{"data-slot":"slider-thumb",className:"border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full border shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"},y))]})}var vqe=(e,t,a,o,i,s,l,h)=>{let f=document.documentElement,y=["light","dark"];function k(S){(Array.isArray(e)?e:[e]).forEach(b=>{let w=b==="class",_=w&&s?i.map(N=>s[N]||N):i;w?(f.classList.remove(..._),f.classList.add(s&&s[S]?s[S]:S)):f.setAttribute(b,S)}),m(S)}function m(S){h&&y.includes(S)&&(f.style.colorScheme=S)}function x(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(o)k(o);else try{let S=localStorage.getItem(t)||a,b=l&&S==="system"?x():S;k(b)}catch{}},kqe=p.createContext(void 0),gqe={setTheme:e=>{},themes:[]},Mqe=()=>{var e;return(e=p.useContext(kqe))!=null?e:gqe};p.memo(({forcedTheme:e,storageKey:t,attribute:a,enableSystem:o,enableColorScheme:i,defaultTheme:s,value:l,themes:h,nonce:f,scriptProps:y})=>{let k=JSON.stringify([a,t,s,e,h,l,o,i]).slice(1,-1);return p.createElement("script",{...y,suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(${vqe.toString()})(${k})`}})});function xqe(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}const bqe=e=>{switch(e){case"success":return Sqe;case"info":return Nqe;case"warning":return Cqe;case"error":return Lqe;default:return null}},wqe=Array(12).fill(0),_qe=({visible:e,className:t})=>ke.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},ke.createElement("div",{className:"sonner-spinner"},wqe.map((a,o)=>ke.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${o}`})))),Sqe=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ke.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Cqe=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ke.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Nqe=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ke.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Lqe=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ke.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Eqe=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},ke.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ke.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Iqe=()=>{const[e,t]=ke.useState(document.hidden);return ke.useEffect(()=>{const a=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",a),()=>window.removeEventListener("visibilitychange",a)},[]),e};let MP=1;class Aqe{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const a=this.subscribers.indexOf(t);this.subscribers.splice(a,1)}),this.publish=t=>{this.subscribers.forEach(a=>a(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var a;const{message:o,...i}=t,s=typeof(t==null?void 0:t.id)=="number"||((a=t.id)==null?void 0:a.length)>0?t.id:MP++,l=this.toasts.find(f=>f.id===s),h=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),l?this.toasts=this.toasts.map(f=>f.id===s?(this.publish({...f,...t,id:s,title:o}),{...f,...t,id:s,dismissible:h,title:o}):f):this.addToast({title:o,...i,dismissible:h,id:s}),s},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(a=>a({id:t,dismiss:!0})))):this.toasts.forEach(a=>{this.subscribers.forEach(o=>o({id:a.id,dismiss:!0}))}),t),this.message=(t,a)=>this.create({...a,message:t}),this.error=(t,a)=>this.create({...a,message:t,type:"error"}),this.success=(t,a)=>this.create({...a,type:"success",message:t}),this.info=(t,a)=>this.create({...a,type:"info",message:t}),this.warning=(t,a)=>this.create({...a,type:"warning",message:t}),this.loading=(t,a)=>this.create({...a,type:"loading",message:t}),this.promise=(t,a)=>{if(!a)return;let o;a.loading!==void 0&&(o=this.create({...a,promise:t,type:"loading",message:a.loading,description:typeof a.description!="function"?a.description:void 0}));const i=Promise.resolve(t instanceof Function?t():t);let s=o!==void 0,l;const h=i.then(async y=>{if(l=["resolve",y],ke.isValidElement(y))s=!1,this.create({id:o,type:"default",message:y});else if(Rqe(y)&&!y.ok){s=!1;const m=typeof a.error=="function"?await a.error(`HTTP error! status: ${y.status}`):a.error,x=typeof a.description=="function"?await a.description(`HTTP error! status: ${y.status}`):a.description,b=typeof m=="object"&&!ke.isValidElement(m)?m:{message:m};this.create({id:o,type:"error",description:x,...b})}else if(y instanceof Error){s=!1;const m=typeof a.error=="function"?await a.error(y):a.error,x=typeof a.description=="function"?await a.description(y):a.description,b=typeof m=="object"&&!ke.isValidElement(m)?m:{message:m};this.create({id:o,type:"error",description:x,...b})}else if(a.success!==void 0){s=!1;const m=typeof a.success=="function"?await a.success(y):a.success,x=typeof a.description=="function"?await a.description(y):a.description,b=typeof m=="object"&&!ke.isValidElement(m)?m:{message:m};this.create({id:o,type:"success",description:x,...b})}}).catch(async y=>{if(l=["reject",y],a.error!==void 0){s=!1;const k=typeof a.error=="function"?await a.error(y):a.error,m=typeof a.description=="function"?await a.description(y):a.description,S=typeof k=="object"&&!ke.isValidElement(k)?k:{message:k};this.create({id:o,type:"error",description:m,...S})}}).finally(()=>{s&&(this.dismiss(o),o=void 0),a.finally==null||a.finally.call(a)}),f=()=>new Promise((y,k)=>h.then(()=>l[0]==="reject"?k(l[1]):y(l[1])).catch(k));return typeof o!="string"&&typeof o!="number"?{unwrap:f}:Object.assign(o,{unwrap:f})},this.custom=(t,a)=>{const o=(a==null?void 0:a.id)||MP++;return this.create({jsx:t(o),id:o,...a}),o},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const kn=new Aqe,Tqe=(e,t)=>{const a=(t==null?void 0:t.id)||MP++;return kn.addToast({title:e,...t,id:a}),a},Rqe=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",$qe=Tqe,jqe=()=>kn.toasts,Pqe=()=>kn.getActiveToasts(),Oqe=Object.assign($qe,{success:kn.success,info:kn.info,warning:kn.warning,error:kn.error,custom:kn.custom,message:kn.message,promise:kn.promise,dismiss:kn.dismiss,loading:kn.loading},{getHistory:jqe,getToasts:Pqe});xqe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family: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;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Ch(e){return e.label!==void 0}const Dqe=3,zqe="24px",qqe="16px",MF=4e3,Hqe=356,Vqe=14,Bqe=45,Fqe=200;function er(...e){return e.filter(Boolean).join(" ")}function Uqe(e){const[t,a]=e.split("-"),o=[];return t&&o.push(t),a&&o.push(a),o}const Gqe=e=>{var t,a,o,i,s,l,h,f,y;const{invert:k,toast:m,unstyled:x,interacting:S,setHeights:b,visibleToasts:w,heights:_,index:N,toasts:L,expanded:I,removeToast:O,defaultRichColors:D,closeButton:P,style:A,cancelButtonStyle:j,actionButtonStyle:V,className:K="",descriptionClassName:q="",duration:B,position:F,gap:J,expandByDefault:pe,classNames:R,icons:$,closeButtonAriaLabel:T="Close toast"}=e,[G,W]=ke.useState(null),[Me,X]=ke.useState(null),[ne,le]=ke.useState(!1),[ie,ye]=ke.useState(!1),[he,ve]=ke.useState(!1),[me,ge]=ke.useState(!1),[fe,ce]=ke.useState(!1),[Ee,$e]=ke.useState(0),[st,Ve]=ke.useState(0),tt=ke.useRef(m.duration||B||MF),ot=ke.useRef(null),Ye=ke.useRef(null),Ut=N===0,At=N+1<=w,Mt=m.type,Lt=m.dismissible!==!1,qe=m.className||"",we=m.descriptionClassName||"",De=ke.useMemo(()=>_.findIndex(Ie=>Ie.toastId===m.id)||0,[_,m.id]),Ne=ke.useMemo(()=>{var Ie;return(Ie=m.closeButton)!=null?Ie:P},[m.closeButton,P]),Te=ke.useMemo(()=>m.duration||B||MF,[m.duration,B]),Je=ke.useRef(0),jt=ke.useRef(0),lt=ke.useRef(0),tn=ke.useRef(null),[Yn,Gt]=F.split("-"),ln=ke.useMemo(()=>_.reduce((Ie,nt,Tt)=>Tt>=De?Ie:Ie+nt.height,0),[_,De]),Z=Iqe(),ae=m.invert||k,Ue=Mt==="loading";jt.current=ke.useMemo(()=>De*J+ln,[De,ln]),ke.useEffect(()=>{tt.current=Te},[Te]),ke.useEffect(()=>{le(!0)},[]),ke.useEffect(()=>{const Ie=Ye.current;if(Ie){const nt=Ie.getBoundingClientRect().height;return Ve(nt),b(Tt=>[{toastId:m.id,height:nt,position:m.position},...Tt]),()=>b(Tt=>Tt.filter(Et=>Et.toastId!==m.id))}},[b,m.id]),ke.useLayoutEffect(()=>{if(!ne)return;const Ie=Ye.current,nt=Ie.style.height;Ie.style.height="auto";const Tt=Ie.getBoundingClientRect().height;Ie.style.height=nt,Ve(Tt),b(Et=>Et.find(xt=>xt.toastId===m.id)?Et.map(xt=>xt.toastId===m.id?{...xt,height:Tt}:xt):[{toastId:m.id,height:Tt,position:m.position},...Et])},[ne,m.title,m.description,b,m.id,m.jsx,m.action,m.cancel]);const Ge=ke.useCallback(()=>{ye(!0),$e(jt.current),b(Ie=>Ie.filter(nt=>nt.toastId!==m.id)),setTimeout(()=>{O(m)},Fqe)},[m,O,b,jt]);ke.useEffect(()=>{if(m.promise&&Mt==="loading"||m.duration===1/0||m.type==="loading")return;let Ie;return I||S||Z?(()=>{if(lt.current<Je.current){const Et=new Date().getTime()-Je.current;tt.current=tt.current-Et}lt.current=new Date().getTime()})():(()=>{tt.current!==1/0&&(Je.current=new Date().getTime(),Ie=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),Ge()},tt.current))})(),()=>clearTimeout(Ie)},[I,S,m,Mt,Z,Ge]),ke.useEffect(()=>{m.delete&&(Ge(),m.onDismiss==null||m.onDismiss.call(m,m))},[Ge,m.delete]);function rt(){var Ie;if($!=null&&$.loading){var nt;return ke.createElement("div",{className:er(R==null?void 0:R.loader,m==null||(nt=m.classNames)==null?void 0:nt.loader,"sonner-loader"),"data-visible":Mt==="loading"},$.loading)}return ke.createElement(_qe,{className:er(R==null?void 0:R.loader,m==null||(Ie=m.classNames)==null?void 0:Ie.loader),visible:Mt==="loading"})}const Oe=m.icon||($==null?void 0:$[Mt])||bqe(Mt);var dn,Kt;return ke.createElement("li",{tabIndex:0,ref:Ye,className:er(K,qe,R==null?void 0:R.toast,m==null||(t=m.classNames)==null?void 0:t.toast,R==null?void 0:R.default,R==null?void 0:R[Mt],m==null||(a=m.classNames)==null?void 0:a[Mt]),"data-sonner-toast":"","data-rich-colors":(dn=m.richColors)!=null?dn:D,"data-styled":!(m.jsx||m.unstyled||x),"data-mounted":ne,"data-promise":!!m.promise,"data-swiped":fe,"data-removed":ie,"data-visible":At,"data-y-position":Yn,"data-x-position":Gt,"data-index":N,"data-front":Ut,"data-swiping":he,"data-dismissible":Lt,"data-type":Mt,"data-invert":ae,"data-swipe-out":me,"data-swipe-direction":Me,"data-expanded":!!(I||pe&&ne),"data-testid":m.testId,style:{"--index":N,"--toasts-before":N,"--z-index":L.length-N,"--offset":`${ie?Ee:jt.current}px`,"--initial-height":pe?"auto":`${st}px`,...A,...m.style},onDragEnd:()=>{ve(!1),W(null),tn.current=null},onPointerDown:Ie=>{Ie.button!==2&&(Ue||!Lt||(ot.current=new Date,$e(jt.current),Ie.target.setPointerCapture(Ie.pointerId),Ie.target.tagName!=="BUTTON"&&(ve(!0),tn.current={x:Ie.clientX,y:Ie.clientY})))},onPointerUp:()=>{var Ie,nt,Tt;if(me||!Lt)return;tn.current=null;const Et=Number(((Ie=Ye.current)==null?void 0:Ie.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),zt=Number(((nt=Ye.current)==null?void 0:nt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),xt=new Date().getTime()-((Tt=ot.current)==null?void 0:Tt.getTime()),nn=G==="x"?Et:zt,Wo=Math.abs(nn)/xt;if(Math.abs(nn)>=Bqe||Wo>.11){$e(jt.current),m.onDismiss==null||m.onDismiss.call(m,m),X(G==="x"?Et>0?"right":"left":zt>0?"down":"up"),Ge(),ge(!0);return}else{var qt,Yt;(qt=Ye.current)==null||qt.style.setProperty("--swipe-amount-x","0px"),(Yt=Ye.current)==null||Yt.style.setProperty("--swipe-amount-y","0px")}ce(!1),ve(!1),W(null)},onPointerMove:Ie=>{var nt,Tt,Et;if(!tn.current||!Lt||((nt=window.getSelection())==null?void 0:nt.toString().length)>0)return;const xt=Ie.clientY-tn.current.y,nn=Ie.clientX-tn.current.x;var Wo;const qt=(Wo=e.swipeDirections)!=null?Wo:Uqe(F);!G&&(Math.abs(nn)>1||Math.abs(xt)>1)&&W(Math.abs(nn)>Math.abs(xt)?"x":"y");let Yt={x:0,y:0};const ua=yn=>1/(1.5+Math.abs(yn)/20);if(G==="y"){if(qt.includes("top")||qt.includes("bottom"))if(qt.includes("top")&&xt<0||qt.includes("bottom")&&xt>0)Yt.y=xt;else{const yn=xt*ua(xt);Yt.y=Math.abs(yn)<Math.abs(xt)?yn:xt}}else if(G==="x"&&(qt.includes("left")||qt.includes("right")))if(qt.includes("left")&&nn<0||qt.includes("right")&&nn>0)Yt.x=nn;else{const yn=nn*ua(nn);Yt.x=Math.abs(yn)<Math.abs(nn)?yn:nn}(Math.abs(Yt.x)>0||Math.abs(Yt.y)>0)&&ce(!0),(Tt=Ye.current)==null||Tt.style.setProperty("--swipe-amount-x",`${Yt.x}px`),(Et=Ye.current)==null||Et.style.setProperty("--swipe-amount-y",`${Yt.y}px`)}},Ne&&!m.jsx&&Mt!=="loading"?ke.createElement("button",{"aria-label":T,"data-disabled":Ue,"data-close-button":!0,onClick:Ue||!Lt?()=>{}:()=>{Ge(),m.onDismiss==null||m.onDismiss.call(m,m)},className:er(R==null?void 0:R.closeButton,m==null||(o=m.classNames)==null?void 0:o.closeButton)},(Kt=$==null?void 0:$.close)!=null?Kt:Eqe):null,(Mt||m.icon||m.promise)&&m.icon!==null&&(($==null?void 0:$[Mt])!==null||m.icon)?ke.createElement("div",{"data-icon":"",className:er(R==null?void 0:R.icon,m==null||(i=m.classNames)==null?void 0:i.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||rt():null,m.type!=="loading"?Oe:null):null,ke.createElement("div",{"data-content":"",className:er(R==null?void 0:R.content,m==null||(s=m.classNames)==null?void 0:s.content)},ke.createElement("div",{"data-title":"",className:er(R==null?void 0:R.title,m==null||(l=m.classNames)==null?void 0:l.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?ke.createElement("div",{"data-description":"",className:er(q,we,R==null?void 0:R.description,m==null||(h=m.classNames)==null?void 0:h.description)},typeof m.description=="function"?m.description():m.description):null),ke.isValidElement(m.cancel)?m.cancel:m.cancel&&Ch(m.cancel)?ke.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||j,onClick:Ie=>{Ch(m.cancel)&&Lt&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,Ie),Ge())},className:er(R==null?void 0:R.cancelButton,m==null||(f=m.classNames)==null?void 0:f.cancelButton)},m.cancel.label):null,ke.isValidElement(m.action)?m.action:m.action&&Ch(m.action)?ke.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||V,onClick:Ie=>{Ch(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,Ie),!Ie.defaultPrevented&&Ge())},className:er(R==null?void 0:R.actionButton,m==null||(y=m.classNames)==null?void 0:y.actionButton)},m.action.label):null)};function xF(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Wqe(e,t){const a={};return[e,t].forEach((o,i)=>{const s=i===1,l=s?"--mobile-offset":"--offset",h=s?qqe:zqe;function f(y){["top","right","bottom","left"].forEach(k=>{a[`${l}-${k}`]=typeof y=="number"?`${y}px`:y})}typeof o=="number"||typeof o=="string"?f(o):typeof o=="object"?["top","right","bottom","left"].forEach(y=>{o[y]===void 0?a[`${l}-${y}`]=h:a[`${l}-${y}`]=typeof o[y]=="number"?`${o[y]}px`:o[y]}):f(h)}),a}function Zqe(){const[e,t]=ke.useState([]);return ke.useEffect(()=>kn.subscribe(a=>{if(a.dismiss){setTimeout(()=>{ur.flushSync(()=>{t(o=>o.filter(i=>i.id!==a.id))})});return}setTimeout(()=>{ur.flushSync(()=>{t(o=>{const i=o.findIndex(s=>s.id===a.id);return i!==-1?[...o.slice(0,i),{...o[i],...a},...o.slice(i+1)]:[a,...o]})})})}),[]),{toasts:e}}const qY=ke.forwardRef(function(t,a){const{id:o,invert:i,position:s="bottom-right",hotkey:l=["altKey","KeyT"],expand:h,closeButton:f,className:y,offset:k,mobileOffset:m,theme:x="light",richColors:S,duration:b,style:w,visibleToasts:_=Dqe,toastOptions:N,dir:L=xF(),gap:I=Vqe,icons:O,containerAriaLabel:D="Notifications"}=t,[P,A]=ke.useState([]),j=ke.useMemo(()=>o?P.filter(ne=>ne.toasterId===o):P.filter(ne=>!ne.toasterId),[P,o]),V=ke.useMemo(()=>Array.from(new Set([s].concat(j.filter(ne=>ne.position).map(ne=>ne.position)))),[j,s]),[K,q]=ke.useState([]),[B,F]=ke.useState(!1),[J,pe]=ke.useState(!1),[R,$]=ke.useState(x!=="system"?x:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),T=ke.useRef(null),G=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),W=ke.useRef(null),Me=ke.useRef(!1),X=ke.useCallback(ne=>{A(le=>{var ie;return(ie=le.find(ye=>ye.id===ne.id))!=null&&ie.delete||kn.dismiss(ne.id),le.filter(({id:ye})=>ye!==ne.id)})},[]);return ke.useEffect(()=>kn.subscribe(ne=>{if(ne.dismiss){requestAnimationFrame(()=>{A(le=>le.map(ie=>ie.id===ne.id?{...ie,delete:!0}:ie))});return}setTimeout(()=>{ur.flushSync(()=>{A(le=>{const ie=le.findIndex(ye=>ye.id===ne.id);return ie!==-1?[...le.slice(0,ie),{...le[ie],...ne},...le.slice(ie+1)]:[ne,...le]})})})}),[P]),ke.useEffect(()=>{if(x!=="system"){$(x);return}if(x==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;const ne=window.matchMedia("(prefers-color-scheme: dark)");try{ne.addEventListener("change",({matches:le})=>{$(le?"dark":"light")})}catch{ne.addListener(({matches:ie})=>{try{$(ie?"dark":"light")}catch(ye){console.error(ye)}})}},[x]),ke.useEffect(()=>{P.length<=1&&F(!1)},[P]),ke.useEffect(()=>{const ne=le=>{var ie;if(l.every(ve=>le[ve]||le.code===ve)){var he;F(!0),(he=T.current)==null||he.focus()}le.code==="Escape"&&(document.activeElement===T.current||(ie=T.current)!=null&&ie.contains(document.activeElement))&&F(!1)};return document.addEventListener("keydown",ne),()=>document.removeEventListener("keydown",ne)},[l]),ke.useEffect(()=>{if(T.current)return()=>{W.current&&(W.current.focus({preventScroll:!0}),W.current=null,Me.current=!1)}},[T.current]),ke.createElement("section",{ref:a,"aria-label":`${D} ${G}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},V.map((ne,le)=>{var ie;const[ye,he]=ne.split("-");return j.length?ke.createElement("ol",{key:ne,dir:L==="auto"?xF():L,tabIndex:-1,ref:T,className:y,"data-sonner-toaster":!0,"data-sonner-theme":R,"data-y-position":ye,"data-x-position":he,style:{"--front-toast-height":`${((ie=K[0])==null?void 0:ie.height)||0}px`,"--width":`${Hqe}px`,"--gap":`${I}px`,...w,...Wqe(k,m)},onBlur:ve=>{Me.current&&!ve.currentTarget.contains(ve.relatedTarget)&&(Me.current=!1,W.current&&(W.current.focus({preventScroll:!0}),W.current=null))},onFocus:ve=>{ve.target instanceof HTMLElement&&ve.target.dataset.dismissible==="false"||Me.current||(Me.current=!0,W.current=ve.relatedTarget)},onMouseEnter:()=>F(!0),onMouseMove:()=>F(!0),onMouseLeave:()=>{J||F(!1)},onDragEnd:()=>F(!1),onPointerDown:ve=>{ve.target instanceof HTMLElement&&ve.target.dataset.dismissible==="false"||pe(!0)},onPointerUp:()=>pe(!1)},j.filter(ve=>!ve.position&&le===0||ve.position===ne).map((ve,me)=>{var ge,fe;return ke.createElement(Gqe,{key:ve.id,icons:O,index:me,toast:ve,defaultRichColors:S,duration:(ge=N==null?void 0:N.duration)!=null?ge:b,className:N==null?void 0:N.className,descriptionClassName:N==null?void 0:N.descriptionClassName,invert:i,visibleToasts:_,closeButton:(fe=N==null?void 0:N.closeButton)!=null?fe:f,interacting:J,position:ne,style:N==null?void 0:N.style,unstyled:N==null?void 0:N.unstyled,classNames:N==null?void 0:N.classNames,cancelButtonStyle:N==null?void 0:N.cancelButtonStyle,actionButtonStyle:N==null?void 0:N.actionButtonStyle,closeButtonAriaLabel:N==null?void 0:N.closeButtonAriaLabel,removeToast:X,toasts:j.filter(ce=>ce.position==ve.position),heights:K.filter(ce=>ce.position==ve.position),setHeights:q,expandByDefault:h,gap:I,expanded:B,swipeDirections:t.swipeDirections})})):null}))}),Xqe=Object.freeze(Object.defineProperty({__proto__:null,Toaster:qY,toast:Oqe,useSonner:Zqe},Symbol.toStringTag,{value:"Module"})),Kqe=({...e})=>{const{theme:t="system"}=Mqe();return M.jsx(qY,{theme:t,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})};function Yqe(e,t=[]){let a=[];function o(s,l){const h=p.createContext(l),f=a.length;a=[...a,l];const y=m=>{var N;const{scope:x,children:S,...b}=m,w=((N=x==null?void 0:x[e])==null?void 0:N[f])||h,_=p.useMemo(()=>b,Object.values(b));return M.jsx(w.Provider,{value:_,children:S})};y.displayName=s+"Provider";function k(m,x){var w;const S=((w=x==null?void 0:x[e])==null?void 0:w[f])||h,b=p.useContext(S);if(b)return b;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[y,k]}const i=()=>{const s=a.map(l=>p.createContext(l));return function(h){const f=(h==null?void 0:h[e])||s;return p.useMemo(()=>({[`__scope${e}`]:{...h,[e]:f}}),[h,f])}};return i.scopeName=e,[o,Qqe(i,...t)]}function Qqe(...e){const t=e[0];if(e.length===1)return t;const a=()=>{const o=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const l=o.reduce((h,{useScope:f,scopeName:y})=>{const m=f(s)[`__scope${y}`];return{...h,...m}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return a.scopeName=t.scopeName,a}function Jqe(e){const t=eHe(e),a=p.forwardRef((o,i)=>{const{children:s,...l}=o,h=p.Children.toArray(s),f=h.find(nHe);if(f){const y=f.props.children,k=h.map(m=>m===f?p.Children.count(y)>1?p.Children.only(null):p.isValidElement(y)?y.props.children:null:m);return M.jsx(t,{...l,ref:i,children:p.isValidElement(y)?p.cloneElement(y,void 0,k):null})}return M.jsx(t,{...l,ref:i,children:s})});return a.displayName=`${e}.Slot`,a}function eHe(e){const t=p.forwardRef((a,o)=>{const{children:i,...s}=a;if(p.isValidElement(i)){const l=oHe(i),h=aHe(s,i.props);return i.type!==p.Fragment&&(h.ref=o?kt(o,l):l),p.cloneElement(i,h)}return p.Children.count(i)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var tHe=Symbol("radix.slottable");function nHe(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===tHe}function aHe(e,t){const a={...t};for(const o in t){const i=e[o],s=t[o];/^on[A-Z]/.test(o)?i&&s?a[o]=(...h)=>{const f=s(...h);return i(...h),f}:i&&(a[o]=i):o==="style"?a[o]={...i,...s}:o==="className"&&(a[o]=[i,s].filter(Boolean).join(" "))}return{...e,...a}}function oHe(e){var o,i;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,a=t&&"isReactWarning"in t&&t.isReactWarning;return a?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,a=t&&"isReactWarning"in t&&t.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var rHe=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],HY=rHe.reduce((e,t)=>{const a=Jqe(`Primitive.${t}`),o=p.forwardRef((i,s)=>{const{asChild:l,...h}=i,f=l?a:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),M.jsx(f,{...h,ref:s})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),XA="Switch",[iHe]=Yqe(XA),[cHe,sHe]=iHe(XA),VY=p.forwardRef((e,t)=>{const{__scopeSwitch:a,name:o,checked:i,defaultChecked:s,required:l,disabled:h,value:f="on",onCheckedChange:y,form:k,...m}=e,[x,S]=p.useState(null),b=ze(t,I=>S(I)),w=p.useRef(!1),_=x?k||!!x.closest("form"):!0,[N,L]=bn({prop:i,defaultProp:s??!1,onChange:y,caller:XA});return M.jsxs(cHe,{scope:a,checked:N,disabled:h,children:[M.jsx(HY.button,{type:"button",role:"switch","aria-checked":N,"aria-required":l,"data-state":GY(N),"data-disabled":h?"":void 0,disabled:h,value:f,...m,ref:b,onClick:xe(e.onClick,I=>{L(O=>!O),_&&(w.current=I.isPropagationStopped(),w.current||I.stopPropagation())})}),_&&M.jsx(UY,{control:x,bubbles:!w.current,name:o,value:f,checked:N,required:l,disabled:h,form:k,style:{transform:"translateX(-100%)"}})]})});VY.displayName=XA;var BY="SwitchThumb",FY=p.forwardRef((e,t)=>{const{__scopeSwitch:a,...o}=e,i=sHe(BY,a);return M.jsx(HY.span,{"data-state":GY(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:t})});FY.displayName=BY;var lHe="SwitchBubbleInput",UY=p.forwardRef(({__scopeSwitch:e,control:t,checked:a,bubbles:o=!0,...i},s)=>{const l=p.useRef(null),h=ze(l,s),f=wA(a),y=_A(t);return p.useEffect(()=>{const k=l.current;if(!k)return;const m=window.HTMLInputElement.prototype,S=Object.getOwnPropertyDescriptor(m,"checked").set;if(f!==a&&S){const b=new Event("click",{bubbles:o});S.call(k,a),k.dispatchEvent(b)}},[f,a,o]),M.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:a,...i,tabIndex:-1,ref:h,style:{...i.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});UY.displayName=lHe;function GY(e){return e?"checked":"unchecked"}var dHe=VY,uHe=FY;function hHe({className:e,...t}){return M.jsx(dHe,{"data-slot":"switch",className:ee("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:M.jsx(uHe,{"data-slot":"switch-thumb",className:ee("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")})})}function pHe({className:e,wrapperHeight:t,ref:a,...o}){return M.jsx("div",{"data-slot":"table-container",ref:a,className:ee("relative w-full overflow-x-auto",t),children:M.jsx("table",{"data-slot":"table",className:ee("w-full caption-bottom text-sm",e),...o})})}function fHe({className:e,...t}){return M.jsx("thead",{"data-slot":"table-header",className:ee("[&_tr]:border-b",e),...t})}function yHe({className:e,...t}){return M.jsx("tbody",{"data-slot":"table-body",className:ee("[&_tr:last-child]:border-0",e),...t})}function mHe({className:e,...t}){return M.jsx("tfoot",{"data-slot":"table-footer",className:ee("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0",e),...t})}function vHe({className:e,...t}){return M.jsx("tr",{"data-slot":"table-row",className:ee("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",e),...t})}function kHe({className:e,...t}){return M.jsx("th",{"data-slot":"table-head",className:ee("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}function gHe({className:e,...t}){return M.jsx("td",{"data-slot":"table-cell",className:ee("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t})}function MHe({className:e,...t}){return M.jsx("caption",{"data-slot":"table-caption",className:ee("text-muted-foreground mt-4 text-sm",e),...t})}function xHe({className:e,...t}){return M.jsx("textarea",{"data-slot":"textarea",className:ee("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),...t})}const bHe=()=>typeof window>"u"?!1:window.matchMedia("(prefers-color-scheme: dark)").matches,wHe=(e,t,a=365)=>{if(typeof document>"u")return;const o=a*24*60*60;document.cookie=`${e}=${t};path=/;max-age=${o};SameSite=Lax`},M2=e=>{const t=e==="dark"||e==="system"&&bHe();document.documentElement.classList.toggle("dark",t)},WY=()=>typeof window>"u"?null:window.matchMedia("(prefers-color-scheme: dark)"),ZY=()=>{const e=localStorage.getItem("appearance");M2(e||"light")};function hVe(){var t;const e=localStorage.getItem("appearance")||"system";M2(e),(t=WY())==null||t.addEventListener("change",ZY)}function eD(){const[e,t]=p.useState("system"),[a,o]=p.useState(!1),i=p.useCallback(s=>{o(!0),t(s),localStorage.setItem("appearance",s),wHe("appearance",s),M2(s),setTimeout(()=>{o(!1),window.dispatchEvent(new Event("appearanceChanged"))},0)},[]);return p.useEffect(()=>{const s=localStorage.getItem("appearance");i(s||"system");const l=f=>{if(f.key==="appearance"){const y=f.newValue;t(y),M2(y)}},h=()=>{const f=localStorage.getItem("appearance");t(f),M2(f)};return window.addEventListener("storage",l),window.addEventListener("appearanceChanged",h),()=>{var f;window.removeEventListener("storage",l),window.removeEventListener("appearanceChanged",h),(f=WY())==null||f.removeEventListener("change",ZY)}},[i]),{appearance:e,updateAppearance:i,isThemeChanging:a}}const _He={errors:{}},j1=new Proxy(_He,{set(e,t,a){return t==="errors"&&(Object.keys(a).length===0?e.errors={}:e.errors={...e.errors,...a}),!0}}),bF=(e,t,a)=>{if(t)j1.errors={...j1.errors,[e]:{hasError:!0,message:a}};else{const{[e]:o,...i}=j1.errors;j1.errors=i}},pVe=e=>{var t;return(t=j1.errors[e])==null?void 0:t.message},fVe=()=>Object.values(j1.errors).some(e=>e.hasError),yVe=()=>{j1.errors={}};function xP(e){const t=p.useRef(null),a=p.useRef(null),o=p.useRef(e),{appearance:i}=eD(),[s,l]=p.useState("");return p.useEffect(()=>{l(i==="dark"?"jse-theme-dark":"")},[i]),p.useEffect(()=>{a.current&&a.current.updateProps({content:e.content?{json:e.content}:e.json?{json:e.json}:void 0})},[e.content]),p.useEffect(()=>{var y;const h=e.schema?uee({schema:e.schema}):void 0,f=e.content?{json:e.content}:e.json?{json:e.json}:void 0;if(a.current=hee({target:t.current,props:{...e,validator:h,content:f,onChange:(k,m,x)=>{var S;if(h){const w=k.json===void 0?["error"]:(S=x.contentErrors)==null?void 0:S.validationErrors;bF(e.name,!!(w!=null&&w.length),"Error validation JSON schema")}e.onChange&&e.onChange(k,m,x)}}}),a.current){const k=a.current.get(),m=a.current.validate(),x=!!((y=m==null?void 0:m.validationErrors)!=null&&y.length);e.onChange&&e.onChange(k,void 0,{contentErrors:m,patchResult:void 0,isUndo:!1,isRedo:!1,isValid:!x}),bF(e.name,x,"Error validation JSON schema")}return()=>{a.current&&(a.current.destroy(),a.current=null)}},[]),p.useEffect(()=>{if(a.current){const h=SHe(e,o.current);a.current.updateProps(h),o.current=e}},[e]),M.jsx("div",{className:`vanilla-jsoneditor-react ${s} ${e.disabled?"pointer-events-none opacity-50 cursor-not-allowed":""}`,ref:t})}function SHe(e,t){var o;const a={};for(const[i,s]of Object.entries(e))if(i==="content"){const l=s==null?void 0:s.json,h=(o=t[i])==null?void 0:o.json;JSON.stringify(l)!==JSON.stringify(h)&&(a[i]=s)}else s!==t[i]&&(a[i]=s);return a}const mVe=Object.freeze(Object.defineProperty({__proto__:null,default:xP},Symbol.toStringTag,{value:"Module"}));/**
8008
8008
  * @preserve
8009
8009
  * Authors: Stefan Salzl
8010
8010
  * Last updated: Jan 08, 2018
@@ -8070,4 +8070,4 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8070
8070
  * Last updated: Mar 09, 2023
8071
8071
  *
8072
8072
  * Description: Definition file for Chinese - China language-country.
8073
- */const PHe={languageCode:"zh-CN",[Fo]:"上方插入行",[Bo]:"下方插入行",[Vo]:"左方插入列",[Ho]:"右方插入列",[qo]:["移除该行","移除多行"],[zo]:["移除该列","移除多列"],[Do]:"撤销",[Oo]:"恢复",[Po]:"只读",[jo]:"清空该列",[$o]:"对齐",[Ro]:"左对齐",[To]:"水平居中",[Ao]:"右对齐",[Io]:"两端对齐",[Eo]:"顶端对齐",[Lo]:"垂直居中",[No]:"底端对齐",[Co]:"冻结该列",[So]:"取消冻结",[_o]:"边框",[wo]:"上",[bo]:"右",[xo]:"下",[Mo]:"左",[go]:"移除边框",[ko]:"插入批注",[vo]:"编辑批注",[mo]:"删除批注",[yo]:"只读批注",[fo]:"合并",[po]:"取消合并",[ho]:"复制",[Jd]:"带标题的复制",[Qd]:"带标题组的复制",[Yd]:"仅复制标题",[uo]:"剪切",[lo]:"插入子行",[so]:"与母行分离",[co]:["隐藏该列","隐藏多列"],[io]:["显示该列","显示多列"],[ro]:["隐藏该行","隐藏多行"],[oo]:["显示该行","显示多行"],[ao]:"无",[no]:"为空",[to]:"不为空",[eo]:"等于",[Ja]:"不等于",[Qa]:"开头是",[Ya]:"结尾是",[Ka]:"包含",[Xa]:"不包含",[Za]:"大于",[Wa]:"大于或等于",[Ga]:"小于",[Ua]:"小于或等于",[Fa]:"在此范围",[Ba]:"不在此范围",[Va]:"之后",[Ha]:"之前",[qa]:"今天",[za]:"明天",[Da]:"昨天",[Oa]:"空白单元格",[Pa]:"按条件过滤",[ja]:"按值过滤",[$a]:"且",[Ra]:"或",[Ta]:"全选",[Aa]:"清除",[Ia]:"确认",[Ea]:"取消",[La]:"搜索",[Na]:"值",[Ca]:"第二值"};vee();const wF={de:CHe,en:Mee,es:NHe,fr:LHe,it:EHe,ja:IHe,ko:AHe,nl:THe,pl:RHe,pt:$He,ru:jHe,zh:PHe},OHe=document.documentElement.lang,XY=wF[OHe]??wF.en;kee(XY);const KY=({config:e,data:t=[],onChange:a,disabled:o})=>{const{appearance:i}=eD(),[s,l]=p.useState("ht-theme-main"),[h,f]=p.useState(!1),y=p.useCallback((m,x)=>{var b,w;if(x==="loadData")return;const S=(w=(b=k.current)==null?void 0:b.hotInstance)==null?void 0:w.getSourceData();a(S)},[]),k=p.useRef(null);return p.useEffect(()=>{const m=setTimeout(()=>{var x;(x=k.current)!=null&&x.hotInstance&&(k.current.hotInstance.loadData(t??[]),f(!0))},100);return()=>clearTimeout(m)},[t]),p.useEffect(()=>{l(i==="dark"?"ht-theme-main-dark":"ht-theme-main")},[i]),M.jsx("div",{style:{opacity:h?1:0},children:M.jsx(gee,{className:o?"pointer-events-none opacity-50":"",themeName:s,language:XY.languageCode,ref:k,...e,afterChange:y,children:e.columns.map(m=>M.jsx(xee,{data:m.data,...m},m.data))})})},vVe=Object.freeze(Object.defineProperty({__proto__:null,default:KY},Symbol.toStringTag,{value:"Module"})),DHe=()=>{const[e,t]=p.useState({width:typeof window<"u"?window.innerWidth:1024,height:typeof window<"u"?window.innerHeight:768});return p.useEffect(()=>{if(typeof window>"u")return;const a=()=>{t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[]),e},YY=({onChange:e,value:t,options:a,disabled:o})=>{const{appearance:i}=eD(),[s,l]=p.useState("light"),h=p.useRef(null),f=p.useRef(null),{width:y}=DHe(),k=y<768,m=y>=768&&y<1024,x=_=>{e(_)},S=_=>{h.current=_,b()},b=()=>{var N;if(!h.current)return;const _={minimap:{enabled:!k},fontSize:k?12:m?13:14,lineNumbers:k?"off":"on",lineDecorationsWidth:k?5:10,scrollBeyondLastLine:!k,wordWrap:k?"on":"bounded",renderWhitespace:k?"none":"selection",padding:{top:k?8:16,bottom:k?8:16}};h.current.updateOptions(_),(N=f.current)==null||N.classList.add("overflow-hidden"),setTimeout(()=>{var L,I;(L=h.current)==null||L.layout(),(I=f.current)==null||I.classList.remove("overflow-hidden")},100)};p.useEffect(()=>{l(i==="dark"?"vs-dark":"light")},[i]),p.useEffect(()=>{b()},[y]);const w=k?"300px":m?"400px":"500px";return M.jsx("div",{className:`border rounded-lg ${k?"p-1":"p-2"}`,ref:f,children:M.jsx(bee,{height:w,language:a.language,value:t,theme:s,options:{automaticLayout:!0,...k&&{wordWrap:"on"},minimap:{enabled:!k}},onChange:x,onMount:S,className:`transition-all duration-200 ease-in-out ${o?"pointer-events-none opacity-50 cursor-not-allowed":""}`})})},kVe=Object.freeze(Object.defineProperty({__proto__:null,default:YY},Symbol.toStringTag,{value:"Module"})),Rj=gA("m-1 flex items-center border rounded-sm px-1",{variants:{variant:{default:"border-foreground/10 text-foreground bg-card hover:bg-card/80",secondary:"border-foreground/10 bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",inverted:"inverted"}},defaultVariants:{variant:"default"}}),tD=p.forwardRef(({options:e,onValueChange:t,variant:a,processing:o,disabled:i,defaultValue:s=[],placeholder:l="",notFound:h="",search:f="",animation:y=0,maxCount:k=3,modalPopover:m=!1,asChild:x=!1,className:S,mode:b="multiple",onOpenItem:w,onAddNew:_,...N},L)=>{const[I,P]=p.useState(s),[D,j]=p.useState(!1),[A,$]=p.useState(!1);p.useEffect(()=>{s&&P(s)},[s]);const B=oe=>{if(oe.key==="Enter")j(!0);else if(oe.key==="Backspace"&&!oe.currentTarget.value){const T=[...I];T.pop(),P(T),t(T)}},Z=oe=>{let T;b==="single"?T=I.includes(oe)?[]:[oe]:T=I.includes(oe)?I.filter(O=>O!==oe):[...I,oe],P(T),t(T),b==="single"&&j(!1)},q=()=>{P([]),t([])},V=()=>{j(oe=>!oe)},F=()=>{const oe=I.slice(0,k);P(oe),t(oe)},J=()=>_?M.jsxs("div",{role:"button",className:ee("m-1 cursor-pointer",A?"animate-bounce":"",Rj({variant:a})),style:{animationDuration:`${y}s`},onClick:oe=>{oe.stopPropagation(),_()},children:[M.jsx(k2,{className:"mr-1 h-3.5 w-3.5"}),M.jsx("span",{children:"Add"})]}):null;return M.jsxs(MK,{open:D,onOpenChange:j,modal:m,children:[M.jsx(xK,{asChild:!0,children:M.jsx(MA,{ref:L,...N,onClick:V,disabled:i,className:ee("flex w-full p-1 rounded-md border-input border-1 min-h-10 h-auto items-center justify-between bg-inherit hover:bg-inherit [&_svg]:pointer-events-auto",S),children:I.length>0?M.jsxs("div",{className:"flex justify-between items-center w-full",children:[M.jsxs("div",{className:"flex flex-wrap items-center",children:[I.slice(0,k).map(oe=>{const T=e.find(R=>R.value===oe),O=T==null?void 0:T.icon;return M.jsxs("div",{className:ee(A?"animate-bounce":"",Rj({variant:a})),style:{animationDuration:`${y}s`},children:[O&&M.jsx(O,{className:"h-4 w-4 mr-2"}),T==null?void 0:T.label,w&&M.jsx(v2,{className:"ml-2 h-4 w-4 cursor-pointer text-muted-foreground hover:text-foreground",onClick:R=>{R.stopPropagation(),w(oe)}}),M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:R=>{R.stopPropagation(),o||Z(oe)}})]},oe)}),b==="multiple"&&I.length>k&&M.jsxs("div",{className:ee("bg-transparent text-foreground border-foreground/1 hover:bg-transparent",A?"animate-bounce":"",Rj({variant:a})),style:{animationDuration:`${y}s`},children:[`+ ${I.length-k} more`,M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:oe=>{oe.stopPropagation(),F()}})]}),J()]}),M.jsxs("div",{className:"flex items-center justify-between",children:[I.length>0&&M.jsxs(M.Fragment,{children:[M.jsx(bi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground",onClick:oe=>{oe.stopPropagation(),q()}}),M.jsx(XO,{orientation:"vertical",className:"flex min-h-6 h-full"})]}),M.jsx(xi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground"})]})]}):M.jsxs("div",{className:"flex items-center justify-between w-full mx-auto",children:[M.jsx("span",{className:"text-sm text-muted-foreground mx-3",children:l}),M.jsxs("div",{className:"flex items-center",children:[J(),M.jsx(xi,{className:"h-4 cursor-pointer text-muted-foreground mx-2"})]})]})})}),M.jsx(bK,{className:"w-auto p-0 z-[1003]",align:"start",onEscapeKeyDown:()=>j(!1),children:M.jsxs(lO,{children:[M.jsx(zW,{placeholder:f,onKeyDown:B}),M.jsxs(qW,{children:[M.jsx(HW,{children:h}),M.jsx(VW,{children:e.map(oe=>{const T=I.includes(oe.value);return M.jsxs(FW,{onSelect:()=>Z(oe.value),className:"cursor-pointer",children:[M.jsx("div",{className:ee("mr-2 flex h-5 w-5 items-center justify-center rounded border border-primary",T?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:M.jsx(sr,{className:"h-4 w-4 text-primary-foreground"})}),oe.icon&&M.jsx(oe.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),M.jsx("span",{children:oe.label})]},oe.value)})}),M.jsx(BW,{})]})]})}),y>0&&I.length>0&&b==="multiple"&&M.jsx(ki,{className:ee("cursor-pointer my-2 text-foreground bg-background w-3 h-3",A?"":"text-muted-foreground"),onClick:()=>$(!A)})]})});tD.displayName="MultiSelect";const gVe=Object.freeze(Object.defineProperty({__proto__:null,default:tD},Symbol.toStringTag,{value:"Module"}));function zHe(){window.UIComponents??(window.UIComponents={}),window.JSComponents??(window.JSComponents={}),window.axios=Nt,window.sonner=Xqe,Object.assign(window.UIComponents,{Avatar:zre,AvatarImage:qre,AvatarFallback:Hre,Badge:Bre,Breadcrumb:U_e,BreadcrumbList:G_e,BreadcrumbItem:W_e,BreadcrumbLink:Z_e,BreadcrumbPage:X_e,BreadcrumbSeparator:K_e,BreadcrumbEllipsis:Y_e,Button:MA,Calendar:DNe,Card:zNe,CardHeader:qNe,CardFooter:UNe,CardTitle:HNe,CardAction:BNe,CardDescription:VNe,CardContent:FNe,Checkbox:uLe,Collapsible:NLe,CollapsibleTrigger:LLe,CollapsibleContent:ELe,Command:lO,CommandDialog:DIe,CommandInput:zW,CommandList:qW,CommandEmpty:HW,CommandGroup:VW,CommandItem:FW,CommandShortcut:zIe,CommandSeparator:BW,ContextMenu:l$e,ContextMenuTrigger:d$e,ContextMenuContent:v$e,ContextMenuItem:k$e,ContextMenuCheckboxItem:g$e,ContextMenuRadioItem:M$e,ContextMenuLabel:x$e,ContextMenuSeparator:b$e,ContextMenuShortcut:w$e,ContextMenuGroup:u$e,ContextMenuPortal:h$e,ContextMenuSub:p$e,ContextMenuSubContent:m$e,ContextMenuSubTrigger:y$e,ContextMenuRadioGroup:f$e,Dialog:TW,DialogClose:PIe,DialogContent:jW,DialogDescription:DW,DialogFooter:OIe,DialogHeader:PW,DialogOverlay:$W,DialogPortal:RW,DialogTitle:OW,DialogTrigger:jIe,DialogStack:mX,DialogStackTrigger:S$e,DialogStackOverlay:C$e,DialogStackBody:N$e,DialogStackContent:L$e,DialogStackTitle:E$e,DialogStackDescription:I$e,DialogStackHeader:A$e,DialogStackFooter:T$e,DialogStackNext:R$e,DialogStackPrevious:$$e,DropdownMenu:Mje,DropdownMenuPortal:xje,DropdownMenuTrigger:bje,DropdownMenuContent:wje,DropdownMenuGroup:_je,DropdownMenuLabel:Eje,DropdownMenuItem:Sje,DropdownMenuCheckboxItem:Cje,DropdownMenuRadioGroup:Nje,DropdownMenuRadioItem:Lje,DropdownMenuSeparator:Ije,DropdownMenuShortcut:Aje,DropdownMenuSub:Tje,DropdownMenuSubTrigger:Rje,DropdownMenuSubContent:$je,Input:PX,Label:Oje,Menubar:CPe,MenubarPortal:iK,MenubarMenu:NPe,MenubarTrigger:IPe,MenubarContent:APe,MenubarGroup:LPe,MenubarSeparator:PPe,MenubarLabel:jPe,MenubarItem:TPe,MenubarShortcut:OPe,MenubarCheckboxItem:RPe,MenubarRadioGroup:EPe,MenubarRadioItem:$Pe,MenubarSub:DPe,MenubarSubTrigger:zPe,MenubarSubContent:qPe,Pagination:HPe,PaginationContent:VPe,PaginationLink:UO,PaginationItem:BPe,PaginationPrevious:FPe,PaginationNext:UPe,PaginationEllipsis:GPe,Popover:MK,PopoverTrigger:xK,PopoverContent:bK,PopoverAnchor:mOe,Select:vDe,SelectContent:xDe,SelectGroup:kDe,SelectItem:wDe,SelectLabel:bDe,SelectScrollDownButton:aY,SelectScrollUpButton:nY,SelectSeparator:_De,SelectTrigger:MDe,SelectValue:gDe,Separator:XO,Sheet:rY,SheetTrigger:EDe,SheetClose:IDe,SheetContent:iY,SheetHeader:cY,SheetFooter:RDe,SheetTitle:sY,SheetDescription:lY,Sidebar:gze,SidebarContent:Nze,SidebarFooter:Sze,SidebarGroup:Lze,SidebarGroupAction:Ize,SidebarGroupContent:Aze,SidebarGroupLabel:Eze,SidebarHeader:_ze,SidebarInput:wze,SidebarInset:bze,SidebarMenu:Tze,SidebarMenuAction:Pze,SidebarMenuBadge:Oze,SidebarMenuButton:jze,SidebarMenuItem:Rze,SidebarMenuSkeleton:Dze,SidebarMenuSub:zze,SidebarMenuSubButton:Hze,SidebarMenuSubItem:qze,SidebarProvider:kze,SidebarRail:xze,SidebarSeparator:Cze,SidebarTrigger:Mze,useSidebar:J2,Skeleton:pP,Slider:mqe,Toaster:Kqe,Switch:hHe,Table:pHe,TableHeader:fHe,TableBody:yHe,TableFooter:mHe,TableHead:kHe,TableRow:vHe,TableCell:gHe,TableCaption:MHe,Textarea:xHe,Tooltip:bY,TooltipTrigger:wY,TooltipContent:_Y,TooltipProvider:QO,VanillaJSONEditor:MP}),Object.assign(window.JSComponents,{VanillaJSONEditor:MP,HandsonTable:KY,MonacoEditor:YY,MultiSelect:tD})}const{createInertiaApp:qHe,router:QY}=HU;window.React=ke;window.ReactDOM=ur;window.InertiajsReact=HU;window.LucideReact=F_e;zHe();async function HHe(e,t){for(const a of Array.isArray(e)?e:[e]){const o=t[a];if(!(typeof o>"u"))return typeof o=="function"?o():o}throw new Error(`Page not found: ${e}`)}let nD=!1;QY.on("navigate",e=>{nD=!0});QY.on("finish",e=>{nD=!1});const _F=document.createElement.bind(document);document.createElement=function(e,t){const a=_F(e,t);return e.toLowerCase()==="iframe"&&nD?(console.warn("[Adminizer] Prevented iframe creation, forcing full page reload"),setTimeout(()=>{window.location.reload()},0),_F("div")):a};qHe({title:e=>`${e}`,resolve:e=>HHe(`./pages/${e}.tsx`,Object.assign({"./pages/add-group.tsx":()=>vn(()=>import("./add-group-DImyJrfv.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url),"./pages/add-user.tsx":()=>vn(()=>import("./add-user-DfjWpDnG.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,22]),import.meta.url),"./pages/add.tsx":()=>vn(()=>import("./add-CvqQD6Pa.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/catalog.tsx":()=>vn(()=>import("./catalog-DEzNeE3X.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,25,26]),import.meta.url),"./pages/dashboard.tsx":()=>vn(()=>import("./dashboard-DRt3eLcx.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,28]),import.meta.url),"./pages/form.tsx":()=>vn(()=>import("./form-CP8HwSIz.js"),__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30]),import.meta.url),"./pages/history.tsx":()=>vn(()=>import("./history-BNV1oHho.js"),__vite__mapDeps([31,3,4,16,15,5,17,18,19,1,2,6,7,8,9,10,11,12,13,14]),import.meta.url),"./pages/home.tsx":()=>vn(()=>import("./home-B2sL7cw4.js"),__vite__mapDeps([32,4,3,5]),import.meta.url),"./pages/init-user.tsx":()=>vn(()=>import("./init-user-CsEDYKZe.js"),__vite__mapDeps([33,3,4,18,5]),import.meta.url),"./pages/list.tsx":()=>vn(()=>import("./list-B94jmpgr.js"),__vite__mapDeps([34,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,35,25,36]),import.meta.url),"./pages/login.tsx":()=>vn(()=>import("./login-BfN1lJT1.js"),__vite__mapDeps([37,15,4,3,5,18]),import.meta.url),"./pages/module.tsx":()=>vn(()=>import("./module-CPe8opSY.js"),__vite__mapDeps([38,3,4,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/notification.tsx":()=>vn(()=>import("./notification-BjbG79fu.js"),__vite__mapDeps([39,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,40]),import.meta.url),"./pages/register.tsx":()=>vn(()=>import("./register-C2TFSMX0.js"),__vite__mapDeps([41,3,4,18,5]),import.meta.url),"./pages/welcome.tsx":()=>vn(()=>import("./welcome-CFZVe2KA.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url)})),setup({el:e,App:t,props:a}){Loe.createRoot(e).render(M.jsx(t,{...a}))},progress:{color:"#0f4898"}});export{MK as $,v$e as A,MA as B,lr as C,mX as D,l5 as E,k$e as F,zNe as G,qNe as H,PX as I,HNe as J,UNe as K,Fs as L,QO as M,bY as N,wY as O,k2 as P,_Y as Q,hHe as R,vDe as S,Kqe as T,S$e as U,E$e as V,hr as W,uj as X,c2 as Y,s2 as Z,_Se as _,s5 as a,G8 as a$,xK as a0,uv as a1,W1 as a2,bK as a3,DNe as a4,pHe as a5,fHe as a6,vHe as a7,kHe as a8,yHe as a9,ee as aA,OIe as aB,PIe as aC,vf as aD,Qp as aE,nf as aF,cf as aG,jIe as aH,Rs as aI,kt as aJ,H2 as aK,bn as aL,It as aM,xZ as aN,bZ as aO,xe as aP,Pn as aQ,DA as aR,D7 as aS,yM as aT,kze as aU,XHe as aV,Mje as aW,xy as aX,Sje as aY,Ije as aZ,Mze as a_,gHe as aa,vc as ab,TW as ac,jW as ad,PW as ae,OW as af,vG as ag,voe as ah,goe as ai,$U as aj,hVe as ak,jE as al,$x as am,bze as an,vl as ao,bi as ap,YU as aq,xHe as ar,DHe as as,eD as at,sb as au,F8 as av,v_ as aw,sr as ax,UL as ay,M1 as az,Oje as b,kVe as b$,gze as b0,_ze as b1,Tze as b2,Rze as b3,CPe as b4,NPe as b5,IPe as b6,jze as b7,e4 as b8,APe as b9,Eze as bA,Aze as bB,NLe as bC,ELe as bD,J2 as bE,$De as bF,wN as bG,w7 as bH,SN as bI,zre as bJ,qre as bK,Hre as bL,Eje as bM,Px as bN,dVe as bO,uf as bP,g2 as bQ,r1 as bR,__ as bS,HPe as bT,VPe as bU,BPe as bV,UO as bW,FPe as bX,UPe as bY,mVe as bZ,vVe as b_,DPe as ba,zPe as bb,qPe as bc,TPe as bd,Lze as be,HG as bf,LLe as bg,FG as bh,zze as bi,qze as bj,Hze as bk,Nze as bl,Sze as bm,U_e as bn,G_e as bo,W_e as bp,X_e as bq,Z_e as br,K_e as bs,tD as bt,mqe as bu,Un as bv,s7 as bw,yVe as bx,fVe as by,pVe as bz,MDe as c,gVe as c0,gDe as d,xDe as e,wDe as f,uLe as g,Nt as h,C$e as i,M as j,N$e as k,L$e as l,pP as m,Bre as n,Qw as o,Uf as p,kX as q,qU as r,bje as s,Oqe as t,RP as u,fc as v,wje as w,_je as x,l$e as y,d$e as z};
8073
+ */const PHe={languageCode:"zh-CN",[Fo]:"上方插入行",[Bo]:"下方插入行",[Vo]:"左方插入列",[Ho]:"右方插入列",[qo]:["移除该行","移除多行"],[zo]:["移除该列","移除多列"],[Do]:"撤销",[Oo]:"恢复",[Po]:"只读",[jo]:"清空该列",[$o]:"对齐",[Ro]:"左对齐",[To]:"水平居中",[Ao]:"右对齐",[Io]:"两端对齐",[Eo]:"顶端对齐",[Lo]:"垂直居中",[No]:"底端对齐",[Co]:"冻结该列",[So]:"取消冻结",[_o]:"边框",[wo]:"上",[bo]:"右",[xo]:"下",[Mo]:"左",[go]:"移除边框",[ko]:"插入批注",[vo]:"编辑批注",[mo]:"删除批注",[yo]:"只读批注",[fo]:"合并",[po]:"取消合并",[ho]:"复制",[Jd]:"带标题的复制",[Qd]:"带标题组的复制",[Yd]:"仅复制标题",[uo]:"剪切",[lo]:"插入子行",[so]:"与母行分离",[co]:["隐藏该列","隐藏多列"],[io]:["显示该列","显示多列"],[ro]:["隐藏该行","隐藏多行"],[oo]:["显示该行","显示多行"],[ao]:"无",[no]:"为空",[to]:"不为空",[eo]:"等于",[Ja]:"不等于",[Qa]:"开头是",[Ya]:"结尾是",[Ka]:"包含",[Xa]:"不包含",[Za]:"大于",[Wa]:"大于或等于",[Ga]:"小于",[Ua]:"小于或等于",[Fa]:"在此范围",[Ba]:"不在此范围",[Va]:"之后",[Ha]:"之前",[qa]:"今天",[za]:"明天",[Da]:"昨天",[Oa]:"空白单元格",[Pa]:"按条件过滤",[ja]:"按值过滤",[$a]:"且",[Ra]:"或",[Ta]:"全选",[Aa]:"清除",[Ia]:"确认",[Ea]:"取消",[La]:"搜索",[Na]:"值",[Ca]:"第二值"};vee();const wF={de:CHe,en:Mee,es:NHe,fr:LHe,it:EHe,ja:IHe,ko:AHe,nl:THe,pl:RHe,pt:$He,ru:jHe,zh:PHe},OHe=document.documentElement.lang,XY=wF[OHe]??wF.en;kee(XY);const KY=({config:e,data:t=[],onChange:a,disabled:o})=>{const{appearance:i}=eD(),[s,l]=p.useState("ht-theme-main"),[h,f]=p.useState(!1),y=p.useCallback((m,x)=>{var b,w;if(x==="loadData")return;const S=(w=(b=k.current)==null?void 0:b.hotInstance)==null?void 0:w.getSourceData();a(S)},[]),k=p.useRef(null);return p.useEffect(()=>{const m=setTimeout(()=>{var x;(x=k.current)!=null&&x.hotInstance&&(k.current.hotInstance.loadData(t??[]),f(!0))},100);return()=>clearTimeout(m)},[t]),p.useEffect(()=>{l(i==="dark"?"ht-theme-main-dark":"ht-theme-main")},[i]),M.jsx("div",{style:{opacity:h?1:0},children:M.jsx(gee,{className:o?"pointer-events-none opacity-50":"",themeName:s,language:XY.languageCode,ref:k,...e,afterChange:y,children:e.columns.map(m=>M.jsx(xee,{data:m.data,...m},m.data))})})},vVe=Object.freeze(Object.defineProperty({__proto__:null,default:KY},Symbol.toStringTag,{value:"Module"})),DHe=()=>{const[e,t]=p.useState({width:typeof window<"u"?window.innerWidth:1024,height:typeof window<"u"?window.innerHeight:768});return p.useEffect(()=>{if(typeof window>"u")return;const a=()=>{t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[]),e},YY=({onChange:e,value:t,options:a,disabled:o})=>{const{appearance:i}=eD(),[s,l]=p.useState("light"),h=p.useRef(null),f=p.useRef(null),{width:y}=DHe(),k=y<768,m=y>=768&&y<1024,x=_=>{e(_)},S=_=>{h.current=_,b()},b=()=>{var N;if(!h.current)return;const _={minimap:{enabled:!k},fontSize:k?12:m?13:14,lineNumbers:k?"off":"on",lineDecorationsWidth:k?5:10,scrollBeyondLastLine:!k,wordWrap:k?"on":"bounded",renderWhitespace:k?"none":"selection",padding:{top:k?8:16,bottom:k?8:16}};h.current.updateOptions(_),(N=f.current)==null||N.classList.add("overflow-hidden"),setTimeout(()=>{var L,I;(L=h.current)==null||L.layout(),(I=f.current)==null||I.classList.remove("overflow-hidden")},100)};p.useEffect(()=>{l(i==="dark"?"vs-dark":"light")},[i]),p.useEffect(()=>{b()},[y]);const w=k?"300px":m?"400px":"500px";return M.jsx("div",{className:`border rounded-lg ${k?"p-1":"p-2"}`,ref:f,children:M.jsx(bee,{height:w,language:a.language,value:t,theme:s,options:{automaticLayout:!0,...k&&{wordWrap:"on"},minimap:{enabled:!k}},onChange:x,onMount:S,className:`transition-all duration-200 ease-in-out ${o?"pointer-events-none opacity-50 cursor-not-allowed":""}`})})},kVe=Object.freeze(Object.defineProperty({__proto__:null,default:YY},Symbol.toStringTag,{value:"Module"})),$j=MA("m-1 flex items-center border rounded-sm px-1",{variants:{variant:{default:"border-foreground/10 text-foreground bg-card hover:bg-card/80",secondary:"border-foreground/10 bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",inverted:"inverted"}},defaultVariants:{variant:"default"}}),tD=p.forwardRef(({options:e,onValueChange:t,variant:a,processing:o,disabled:i,defaultValue:s=[],placeholder:l="",notFound:h="",search:f="",animation:y=0,maxCount:k=3,modalPopover:m=!1,asChild:x=!1,className:S,mode:b="multiple",onOpenItem:w,onAddNew:_,...N},L)=>{const O=gA().props.uiMessages||{},[D,P]=p.useState(s),[A,j]=p.useState(!1),[V,K]=p.useState(!1);p.useEffect(()=>{s&&P(s)},[s]);const q=$=>{if($.key==="Enter")j(!0);else if($.key==="Backspace"&&!$.currentTarget.value){const T=[...D];T.pop(),P(T),t(T)}},B=$=>{let T;b==="single"?T=D.includes($)?[]:[$]:T=D.includes($)?D.filter(G=>G!==$):[...D,$],P(T),t(T),b==="single"&&j(!1)},F=()=>{P([]),t([])},J=()=>{j($=>!$)},pe=()=>{const $=D.slice(0,k);P($),t($)},R=()=>_?M.jsxs("div",{role:"button",className:ee("m-1 cursor-pointer",V?"animate-bounce":"",$j({variant:a})),style:{animationDuration:`${y}s`},onClick:$=>{$.stopPropagation(),_()},children:[M.jsx(k2,{className:"mr-1 h-3.5 w-3.5"}),M.jsx("span",{children:O.Add||"Add"})]}):null;return M.jsxs(MK,{open:A,onOpenChange:j,modal:m,children:[M.jsx(xK,{asChild:!0,children:M.jsx(xA,{ref:L,...N,onClick:J,disabled:i,className:ee("flex w-full p-1 rounded-md border-input border-1 min-h-10 h-auto items-center justify-between bg-inherit hover:bg-inherit [&_svg]:pointer-events-auto",S),children:D.length>0?M.jsxs("div",{className:"flex justify-between items-center w-full",children:[M.jsxs("div",{className:"flex flex-wrap items-center",children:[D.slice(0,k).map($=>{const T=e.find(W=>W.value===$),G=T==null?void 0:T.icon;return M.jsxs("div",{className:ee(V?"animate-bounce":"",$j({variant:a})),style:{animationDuration:`${y}s`},children:[G&&M.jsx(G,{className:"h-4 w-4 mr-2"}),T==null?void 0:T.label,w&&M.jsx(v2,{className:"ml-2 h-4 w-4 cursor-pointer text-muted-foreground hover:text-foreground",onClick:W=>{W.stopPropagation(),w($)}}),M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:W=>{W.stopPropagation(),o||B($)}})]},$)}),b==="multiple"&&D.length>k&&M.jsxs("div",{className:ee("bg-transparent text-foreground border-foreground/1 hover:bg-transparent",V?"animate-bounce":"",$j({variant:a})),style:{animationDuration:`${y}s`},children:[`+ ${D.length-k} more`,M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:$=>{$.stopPropagation(),pe()}})]}),R()]}),M.jsxs("div",{className:"flex items-center justify-between",children:[D.length>0&&M.jsxs(M.Fragment,{children:[M.jsx(bi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground",onClick:$=>{$.stopPropagation(),F()}}),M.jsx(XO,{orientation:"vertical",className:"flex min-h-6 h-full"})]}),M.jsx(xi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground"})]})]}):M.jsxs("div",{className:"flex items-center justify-between w-full mx-auto",children:[M.jsx("span",{className:"text-sm text-muted-foreground mx-3",children:l}),M.jsxs("div",{className:"flex items-center",children:[R(),M.jsx(xi,{className:"h-4 cursor-pointer text-muted-foreground mx-2"})]})]})})}),M.jsx(bK,{className:"w-auto p-0 z-[1003]",align:"start",onEscapeKeyDown:()=>j(!1),children:M.jsxs(lO,{children:[M.jsx(zW,{placeholder:f,onKeyDown:q}),M.jsxs(qW,{children:[M.jsx(HW,{children:h}),M.jsx(VW,{children:e.map($=>{const T=D.includes($.value);return M.jsxs(FW,{onSelect:()=>B($.value),className:"cursor-pointer",children:[M.jsx("div",{className:ee("mr-2 flex h-5 w-5 items-center justify-center rounded border border-primary",T?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:M.jsx(sr,{className:"h-4 w-4 text-primary-foreground"})}),$.icon&&M.jsx($.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),M.jsx("span",{children:$.label})]},$.value)})}),M.jsx(BW,{})]})]})}),y>0&&D.length>0&&b==="multiple"&&M.jsx(ki,{className:ee("cursor-pointer my-2 text-foreground bg-background w-3 h-3",V?"":"text-muted-foreground"),onClick:()=>K(!V)})]})});tD.displayName="MultiSelect";const gVe=Object.freeze(Object.defineProperty({__proto__:null,default:tD},Symbol.toStringTag,{value:"Module"}));function zHe(){window.UIComponents??(window.UIComponents={}),window.JSComponents??(window.JSComponents={}),window.axios=Nt,window.sonner=Xqe,Object.assign(window.UIComponents,{Avatar:zre,AvatarImage:qre,AvatarFallback:Hre,Badge:Bre,Breadcrumb:U_e,BreadcrumbList:G_e,BreadcrumbItem:W_e,BreadcrumbLink:Z_e,BreadcrumbPage:X_e,BreadcrumbSeparator:K_e,BreadcrumbEllipsis:Y_e,Button:xA,Calendar:DNe,Card:zNe,CardHeader:qNe,CardFooter:UNe,CardTitle:HNe,CardAction:BNe,CardDescription:VNe,CardContent:FNe,Checkbox:uLe,Collapsible:NLe,CollapsibleTrigger:LLe,CollapsibleContent:ELe,Command:lO,CommandDialog:DIe,CommandInput:zW,CommandList:qW,CommandEmpty:HW,CommandGroup:VW,CommandItem:FW,CommandShortcut:zIe,CommandSeparator:BW,ContextMenu:l$e,ContextMenuTrigger:d$e,ContextMenuContent:v$e,ContextMenuItem:k$e,ContextMenuCheckboxItem:g$e,ContextMenuRadioItem:M$e,ContextMenuLabel:x$e,ContextMenuSeparator:b$e,ContextMenuShortcut:w$e,ContextMenuGroup:u$e,ContextMenuPortal:h$e,ContextMenuSub:p$e,ContextMenuSubContent:m$e,ContextMenuSubTrigger:y$e,ContextMenuRadioGroup:f$e,Dialog:TW,DialogClose:PIe,DialogContent:jW,DialogDescription:DW,DialogFooter:OIe,DialogHeader:PW,DialogOverlay:$W,DialogPortal:RW,DialogTitle:OW,DialogTrigger:jIe,DialogStack:mX,DialogStackTrigger:S$e,DialogStackOverlay:C$e,DialogStackBody:N$e,DialogStackContent:L$e,DialogStackTitle:E$e,DialogStackDescription:I$e,DialogStackHeader:A$e,DialogStackFooter:T$e,DialogStackNext:R$e,DialogStackPrevious:$$e,DropdownMenu:Mje,DropdownMenuPortal:xje,DropdownMenuTrigger:bje,DropdownMenuContent:wje,DropdownMenuGroup:_je,DropdownMenuLabel:Eje,DropdownMenuItem:Sje,DropdownMenuCheckboxItem:Cje,DropdownMenuRadioGroup:Nje,DropdownMenuRadioItem:Lje,DropdownMenuSeparator:Ije,DropdownMenuShortcut:Aje,DropdownMenuSub:Tje,DropdownMenuSubTrigger:Rje,DropdownMenuSubContent:$je,Input:PX,Label:Oje,Menubar:CPe,MenubarPortal:iK,MenubarMenu:NPe,MenubarTrigger:IPe,MenubarContent:APe,MenubarGroup:LPe,MenubarSeparator:PPe,MenubarLabel:jPe,MenubarItem:TPe,MenubarShortcut:OPe,MenubarCheckboxItem:RPe,MenubarRadioGroup:EPe,MenubarRadioItem:$Pe,MenubarSub:DPe,MenubarSubTrigger:zPe,MenubarSubContent:qPe,Pagination:HPe,PaginationContent:VPe,PaginationLink:UO,PaginationItem:BPe,PaginationPrevious:FPe,PaginationNext:UPe,PaginationEllipsis:GPe,Popover:MK,PopoverTrigger:xK,PopoverContent:bK,PopoverAnchor:mOe,Select:vDe,SelectContent:xDe,SelectGroup:kDe,SelectItem:wDe,SelectLabel:bDe,SelectScrollDownButton:aY,SelectScrollUpButton:nY,SelectSeparator:_De,SelectTrigger:MDe,SelectValue:gDe,Separator:XO,Sheet:rY,SheetTrigger:EDe,SheetClose:IDe,SheetContent:iY,SheetHeader:cY,SheetFooter:RDe,SheetTitle:sY,SheetDescription:lY,Sidebar:gze,SidebarContent:Nze,SidebarFooter:Sze,SidebarGroup:Lze,SidebarGroupAction:Ize,SidebarGroupContent:Aze,SidebarGroupLabel:Eze,SidebarHeader:_ze,SidebarInput:wze,SidebarInset:bze,SidebarMenu:Tze,SidebarMenuAction:Pze,SidebarMenuBadge:Oze,SidebarMenuButton:jze,SidebarMenuItem:Rze,SidebarMenuSkeleton:Dze,SidebarMenuSub:zze,SidebarMenuSubButton:Hze,SidebarMenuSubItem:qze,SidebarProvider:kze,SidebarRail:xze,SidebarSeparator:Cze,SidebarTrigger:Mze,useSidebar:J2,Skeleton:fP,Slider:mqe,Toaster:Kqe,Switch:hHe,Table:pHe,TableHeader:fHe,TableBody:yHe,TableFooter:mHe,TableHead:kHe,TableRow:vHe,TableCell:gHe,TableCaption:MHe,Textarea:xHe,Tooltip:bY,TooltipTrigger:wY,TooltipContent:_Y,TooltipProvider:QO,VanillaJSONEditor:xP}),Object.assign(window.JSComponents,{VanillaJSONEditor:xP,HandsonTable:KY,MonacoEditor:YY,MultiSelect:tD})}const{createInertiaApp:qHe,router:QY}=HU;window.React=ke;window.ReactDOM=ur;window.InertiajsReact=HU;window.LucideReact=F_e;zHe();async function HHe(e,t){for(const a of Array.isArray(e)?e:[e]){const o=t[a];if(!(typeof o>"u"))return typeof o=="function"?o():o}throw new Error(`Page not found: ${e}`)}let nD=!1;QY.on("navigate",e=>{nD=!0});QY.on("finish",e=>{nD=!1});const _F=document.createElement.bind(document);document.createElement=function(e,t){const a=_F(e,t);return e.toLowerCase()==="iframe"&&nD?(console.warn("[Adminizer] Prevented iframe creation, forcing full page reload"),setTimeout(()=>{window.location.reload()},0),_F("div")):a};qHe({title:e=>`${e}`,resolve:e=>HHe(`./pages/${e}.tsx`,Object.assign({"./pages/add-group.tsx":()=>vn(()=>import("./add-group-Bjq2R0iV.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url),"./pages/add-user.tsx":()=>vn(()=>import("./add-user-ChZGses8.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,22]),import.meta.url),"./pages/add.tsx":()=>vn(()=>import("./add-COpwiOsy.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/catalog.tsx":()=>vn(()=>import("./catalog-RUS5EBuy.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,25,26]),import.meta.url),"./pages/dashboard.tsx":()=>vn(()=>import("./dashboard-5NZ3QseL.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,28]),import.meta.url),"./pages/form.tsx":()=>vn(()=>import("./form-Cb-Rvm4q.js"),__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30]),import.meta.url),"./pages/history.tsx":()=>vn(()=>import("./history-B_8v8I3J.js"),__vite__mapDeps([31,3,4,16,15,5,17,18,19,1,2,6,7,8,9,10,11,12,13,14]),import.meta.url),"./pages/home.tsx":()=>vn(()=>import("./home-C_xUaJoJ.js"),__vite__mapDeps([32,4,3,5]),import.meta.url),"./pages/init-user.tsx":()=>vn(()=>import("./init-user-CsEDYKZe.js"),__vite__mapDeps([33,3,4,18,5]),import.meta.url),"./pages/list.tsx":()=>vn(()=>import("./list-CDFtsuUr.js"),__vite__mapDeps([34,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,35,25,36]),import.meta.url),"./pages/login.tsx":()=>vn(()=>import("./login-puJIq5NA.js"),__vite__mapDeps([37,15,4,3,5,18]),import.meta.url),"./pages/module.tsx":()=>vn(()=>import("./module-BDXazYdM.js"),__vite__mapDeps([38,3,4,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/notification.tsx":()=>vn(()=>import("./notification-Deuf56Yd.js"),__vite__mapDeps([39,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,40]),import.meta.url),"./pages/register.tsx":()=>vn(()=>import("./register-C2TFSMX0.js"),__vite__mapDeps([41,3,4,18,5]),import.meta.url),"./pages/welcome.tsx":()=>vn(()=>import("./welcome-BerxxdCf.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url)})),setup({el:e,App:t,props:a}){Loe.createRoot(e).render(M.jsx(t,{...a}))},progress:{color:"#0f4898"}});export{MK as $,v$e as A,xA as B,lr as C,mX as D,l5 as E,k$e as F,zNe as G,qNe as H,PX as I,HNe as J,UNe as K,Fs as L,QO as M,bY as N,wY as O,k2 as P,_Y as Q,hHe as R,vDe as S,Kqe as T,S$e as U,E$e as V,hr as W,hj as X,c2 as Y,s2 as Z,_Se as _,s5 as a,G8 as a$,xK as a0,uv as a1,W1 as a2,bK as a3,DNe as a4,pHe as a5,fHe as a6,vHe as a7,kHe as a8,yHe as a9,ee as aA,OIe as aB,PIe as aC,vf as aD,Qp as aE,nf as aF,cf as aG,jIe as aH,Rs as aI,kt as aJ,H2 as aK,bn as aL,It as aM,xZ as aN,bZ as aO,xe as aP,Pn as aQ,zA as aR,D7 as aS,yM as aT,kze as aU,XHe as aV,Mje as aW,xy as aX,Sje as aY,Ije as aZ,Mze as a_,gHe as aa,vc as ab,TW as ac,jW as ad,PW as ae,OW as af,vG as ag,voe as ah,goe as ai,$U as aj,hVe as ak,jE as al,$x as am,bze as an,vl as ao,bi as ap,YU as aq,xHe as ar,DHe as as,eD as at,sb as au,F8 as av,v_ as aw,sr as ax,UL as ay,M1 as az,Oje as b,kVe as b$,gze as b0,_ze as b1,Tze as b2,Rze as b3,CPe as b4,NPe as b5,IPe as b6,jze as b7,e4 as b8,APe as b9,Eze as bA,Aze as bB,NLe as bC,ELe as bD,J2 as bE,$De as bF,wN as bG,w7 as bH,SN as bI,zre as bJ,qre as bK,Hre as bL,Eje as bM,Px as bN,dVe as bO,uf as bP,g2 as bQ,r1 as bR,__ as bS,HPe as bT,VPe as bU,BPe as bV,UO as bW,FPe as bX,UPe as bY,mVe as bZ,vVe as b_,DPe as ba,zPe as bb,qPe as bc,TPe as bd,Lze as be,HG as bf,LLe as bg,FG as bh,zze as bi,qze as bj,Hze as bk,Nze as bl,Sze as bm,U_e as bn,G_e as bo,W_e as bp,X_e as bq,Z_e as br,K_e as bs,tD as bt,mqe as bu,Un as bv,s7 as bw,yVe as bx,fVe as by,pVe as bz,MDe as c,gVe as c0,gDe as d,xDe as e,wDe as f,uLe as g,Nt as h,C$e as i,M as j,N$e as k,L$e as l,fP as m,Bre as n,Qw as o,Uf as p,kX as q,qU as r,bje as s,Oqe as t,gA as u,fc as v,wje as w,_je as x,l$e as y,d$e as z};